@public-ui/visual-tests 5.0.0-beta.0 → 5.0.0-beta.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 (574) hide show
  1. package/README.md +1 -1
  2. package/app/dist/assets/Heading-Cynkalqu-chYyeXcT.js +2 -0
  3. package/app/dist/assets/Heading-Cynkalqu-chYyeXcT.js.map +1 -0
  4. package/app/dist/assets/access-and-short-key-CW0oxi_q-C-6NqTIe.js +2 -0
  5. package/app/dist/assets/access-and-short-key-CW0oxi_q-C-6NqTIe.js.map +1 -0
  6. package/app/dist/assets/api-B76-Osk1-CrtP2I0q.js +2 -0
  7. package/app/dist/assets/api-B76-Osk1-CrtP2I0q.js.map +1 -0
  8. package/app/dist/assets/aria-labelledby-DQov9uSv-BIVjIH_k.js +2 -0
  9. package/app/dist/assets/aria-labelledby-DQov9uSv-BIVjIH_k.js.map +1 -0
  10. package/app/dist/assets/base-BZCFxul4-Bow-6Lg_.js +2 -0
  11. package/app/dist/assets/base-BZCFxul4-Bow-6Lg_.js.map +1 -0
  12. package/app/dist/assets/base-BpgzOuy3-lCBdcOOR.js +2 -0
  13. package/app/dist/assets/base-BpgzOuy3-lCBdcOOR.js.map +1 -0
  14. package/app/dist/assets/base-CAiOx0qs-CntvdBFa.js +2 -0
  15. package/app/dist/assets/base-CAiOx0qs-CntvdBFa.js.map +1 -0
  16. package/app/dist/assets/base-DJ3lTPYp-CgzBtuYY.js +2 -0
  17. package/app/dist/assets/base-DJ3lTPYp-CgzBtuYY.js.map +1 -0
  18. package/app/dist/assets/base-web-component-D16FuHFf-ChXD-pbu.js +2 -0
  19. package/app/dist/assets/base-web-component-D16FuHFf-ChXD-pbu.js.map +1 -0
  20. package/app/dist/assets/base-web-component-E9cH8tf8-CCVg2sDB.js +2 -0
  21. package/app/dist/assets/base-web-component-E9cH8tf8-CCVg2sDB.js.map +1 -0
  22. package/app/dist/assets/base-web-component-aOhHFXxF-DSYYBBsI.js +2 -0
  23. package/app/dist/assets/base-web-component-aOhHFXxF-DSYYBBsI.js.map +1 -0
  24. package/app/dist/assets/behavior-ByyBa-o8-C0KPbkFz.js +2 -0
  25. package/app/dist/assets/behavior-ByyBa-o8-C0KPbkFz.js.map +1 -0
  26. package/app/dist/assets/behavior-DJQFXyfi-EpJr891G.js +2 -0
  27. package/app/dist/assets/behavior-DJQFXyfi-EpJr891G.js.map +1 -0
  28. package/app/dist/assets/behavior-DnTJtQBK-j53x3gyM.js +2 -0
  29. package/app/dist/assets/behavior-DnTJtQBK-j53x3gyM.js.map +1 -0
  30. package/app/dist/assets/color-CEoIhjJR-BMAvGhAm.js +2 -0
  31. package/app/dist/assets/color-CEoIhjJR-BMAvGhAm.js.map +1 -0
  32. package/app/dist/assets/component-BPL1Mikq-DaaFI_WK.js +2 -0
  33. package/app/dist/assets/component-BPL1Mikq-DaaFI_WK.js.map +1 -0
  34. package/app/dist/assets/component-C0ijstyp-Cca101sA.js +2 -0
  35. package/app/dist/assets/component-C0ijstyp-Cca101sA.js.map +1 -0
  36. package/app/dist/assets/component-C58IwTEf-BIe9YDM0.js +2 -0
  37. package/app/dist/assets/component-C58IwTEf-BIe9YDM0.js.map +1 -0
  38. package/app/dist/assets/component-CAEpgoSo-CELB5nRB.js +2 -0
  39. package/app/dist/assets/component-CAEpgoSo-CELB5nRB.js.map +1 -0
  40. package/app/dist/assets/component-CDyoNoJe-CCFkYPIX.js +2 -0
  41. package/app/dist/assets/component-CDyoNoJe-CCFkYPIX.js.map +1 -0
  42. package/app/dist/assets/component-CiTw4ODP-z4bjLa8Z.js +2 -0
  43. package/app/dist/assets/component-CiTw4ODP-z4bjLa8Z.js.map +1 -0
  44. package/app/dist/assets/component-DTV1Kuf1-D99NhyPo.js +4 -0
  45. package/app/dist/assets/component-DTV1Kuf1-D99NhyPo.js.map +1 -0
  46. package/app/dist/assets/component-DeFANBua-jdpBvUZ5.js +2 -0
  47. package/app/dist/assets/component-DeFANBua-jdpBvUZ5.js.map +1 -0
  48. package/app/dist/assets/component-S6ib3O8N-DID-vMYZ.js +2 -0
  49. package/app/dist/assets/component-S6ib3O8N-DID-vMYZ.js.map +1 -0
  50. package/app/dist/assets/component-XbTjo2nm-DgH6ihYL.js +2 -0
  51. package/app/dist/assets/component-XbTjo2nm-DgH6ihYL.js.map +1 -0
  52. package/app/dist/assets/contrast-Ujnfz49m-BFwMm0Yb.js +2 -0
  53. package/app/dist/assets/contrast-Ujnfz49m-BFwMm0Yb.js.map +1 -0
  54. package/app/dist/assets/controller-BdPVgWDs-DI-9gT8f.js +2 -0
  55. package/app/dist/assets/controller-BdPVgWDs-DI-9gT8f.js.map +1 -0
  56. package/app/dist/assets/dev.utils--eVyQ4zr-C6XyuO5q.js +2 -0
  57. package/app/dist/assets/dev.utils--eVyQ4zr-C6XyuO5q.js.map +1 -0
  58. package/app/dist/assets/devtools-8tROnrRr.js +14 -0
  59. package/app/dist/assets/devtools-8tROnrRr.js.map +1 -0
  60. package/app/dist/assets/disabled-Cu0e92-b-Vk0V06VP.js +2 -0
  61. package/app/dist/assets/disabled-Cu0e92-b-Vk0V06VP.js.map +1 -0
  62. package/app/dist/assets/element-focus-BYLFG-oz-CLHAEIwm.js +2 -0
  63. package/app/dist/assets/element-focus-BYLFG-oz-CLHAEIwm.js.map +1 -0
  64. package/app/dist/assets/element-interaction-C2pgnQ6t-Bn1oF4Zw.js +2 -0
  65. package/app/dist/assets/element-interaction-C2pgnQ6t-Bn1oF4Zw.js.map +1 -0
  66. package/app/dist/assets/field-control-DbmtKHc1-pBiBitmq.js +2 -0
  67. package/app/dist/assets/field-control-DbmtKHc1-pBiBitmq.js.map +1 -0
  68. package/app/dist/assets/group-CqAFhkgE-CmFH--_z.js +2 -0
  69. package/app/dist/assets/group-CqAFhkgE-CmFH--_z.js.map +1 -0
  70. package/app/dist/assets/has-closer-DOs1CXhp-PtZjMFSM.js +2 -0
  71. package/app/dist/assets/has-closer-DOs1CXhp-PtZjMFSM.js.map +1 -0
  72. package/app/dist/assets/href-DQbHtp6T-DeJIIfEX.js +2 -0
  73. package/app/dist/assets/href-DQbHtp6T-DeJIIfEX.js.map +1 -0
  74. package/app/dist/assets/i18n-Cf0DhAke-DAIv_cWm.js +2 -0
  75. package/app/dist/assets/i18n-Cf0DhAke-DAIv_cWm.js.map +1 -0
  76. package/app/dist/assets/id-BXwy9iRy-Dw6zLN82.js +2 -0
  77. package/app/dist/assets/id-BXwy9iRy-Dw6zLN82.js.map +1 -0
  78. package/app/dist/assets/index-BPUtVI5x.js +111 -0
  79. package/app/dist/assets/index-BPUtVI5x.js.map +1 -0
  80. package/app/dist/assets/index-Bsx5X6jK-BavJzGsr.js +19 -0
  81. package/app/dist/assets/index-Bsx5X6jK-BavJzGsr.js.map +1 -0
  82. package/app/dist/assets/index-qGYkSxLY.css +1 -0
  83. package/app/dist/assets/input-RvLnUp6C-Du3BtCId.js +2 -0
  84. package/app/dist/assets/input-RvLnUp6C-Du3BtCId.js.map +1 -0
  85. package/app/dist/assets/input-container-BpG3WHug-Czcw51mj.js +2 -0
  86. package/app/dist/assets/input-container-BpG3WHug-Czcw51mj.js.map +1 -0
  87. package/app/dist/assets/item-Cw_jdgc6-BpRgtJJA.js +2 -0
  88. package/app/dist/assets/item-Cw_jdgc6-BpRgtJJA.js.map +1 -0
  89. package/app/dist/assets/item-DMttg5uX-CSSwdWXT.js +2 -0
  90. package/app/dist/assets/item-DMttg5uX-CSSwdWXT.js.map +1 -0
  91. package/app/dist/assets/item-DibV9jD7-B7HU7_Am.js +2 -0
  92. package/app/dist/assets/item-DibV9jD7-B7HU7_Am.js.map +1 -0
  93. package/app/dist/assets/item-KqTsA-5a-BI-GIckq.js +2 -0
  94. package/app/dist/assets/item-KqTsA-5a-BI-GIckq.js.map +1 -0
  95. package/app/dist/assets/item-pool-C_4Isquh-DJcmr5UB.js +2 -0
  96. package/app/dist/assets/item-pool-C_4Isquh-DJcmr5UB.js.map +1 -0
  97. package/app/dist/assets/keyboard-Cc1-_wSt-WRjGq878.js +2 -0
  98. package/app/dist/assets/keyboard-Cc1-_wSt-WRjGq878.js.map +1 -0
  99. package/app/dist/assets/kol-abbr.entry-BkktJ9au.js +2 -0
  100. package/app/dist/assets/kol-abbr.entry-BkktJ9au.js.map +1 -0
  101. package/app/dist/assets/kol-accordion.entry-D9oO8NDX.js +2 -0
  102. package/app/dist/assets/kol-accordion.entry-D9oO8NDX.js.map +1 -0
  103. package/app/dist/assets/kol-alert.entry-oEeKTT3N.js +2 -0
  104. package/app/dist/assets/kol-alert.entry-oEeKTT3N.js.map +1 -0
  105. package/app/dist/assets/kol-avatar.entry-B8HIn1HE.js +2 -0
  106. package/app/dist/assets/kol-avatar.entry-B8HIn1HE.js.map +1 -0
  107. package/app/dist/assets/kol-badge.entry-DV-JeJZZ.js +2 -0
  108. package/app/dist/assets/kol-badge.entry-DV-JeJZZ.js.map +1 -0
  109. package/app/dist/assets/kol-breadcrumb.entry-BS1ZzExn.js +2 -0
  110. package/app/dist/assets/kol-breadcrumb.entry-BS1ZzExn.js.map +1 -0
  111. package/app/dist/assets/kol-button-link.entry-BuB5x5ju.js +2 -0
  112. package/app/dist/assets/kol-button-link.entry-BuB5x5ju.js.map +1 -0
  113. package/app/dist/assets/kol-button.entry-xqntmp0E.js +2 -0
  114. package/app/dist/assets/kol-button.entry-xqntmp0E.js.map +1 -0
  115. package/app/dist/assets/kol-card.entry-CRPkXC7P.js +2 -0
  116. package/app/dist/assets/kol-card.entry-CRPkXC7P.js.map +1 -0
  117. package/app/dist/assets/kol-combobox.entry-Boo19W9V.js +2 -0
  118. package/app/dist/assets/kol-combobox.entry-Boo19W9V.js.map +1 -0
  119. package/app/dist/assets/kol-details.entry-D1tgu53S.js +2 -0
  120. package/app/dist/assets/kol-details.entry-D1tgu53S.js.map +1 -0
  121. package/app/dist/assets/kol-dialog.entry-Cdhsh9T-.js +2 -0
  122. package/app/dist/assets/kol-dialog.entry-Cdhsh9T-.js.map +1 -0
  123. package/app/dist/assets/kol-drawer.entry-Bz2bnVYG.js +2 -0
  124. package/app/dist/assets/kol-drawer.entry-Bz2bnVYG.js.map +1 -0
  125. package/app/dist/assets/kol-form.entry-C02Qcjsl.js +2 -0
  126. package/app/dist/assets/kol-form.entry-C02Qcjsl.js.map +1 -0
  127. package/app/dist/assets/kol-heading.entry-DSRckQdt.js +2 -0
  128. package/app/dist/assets/kol-heading.entry-DSRckQdt.js.map +1 -0
  129. package/app/dist/assets/kol-icon.entry-DXk9zTZp.js +2 -0
  130. package/app/dist/assets/kol-icon.entry-DXk9zTZp.js.map +1 -0
  131. package/app/dist/assets/kol-image.entry-DsNF-Lkj.js +2 -0
  132. package/app/dist/assets/kol-image.entry-DsNF-Lkj.js.map +1 -0
  133. package/app/dist/assets/kol-input-checkbox.entry-DoW6beGD.js +2 -0
  134. package/app/dist/assets/kol-input-checkbox.entry-DoW6beGD.js.map +1 -0
  135. package/app/dist/assets/kol-input-color.entry-OPuk0n91.js +2 -0
  136. package/app/dist/assets/kol-input-color.entry-OPuk0n91.js.map +1 -0
  137. package/app/dist/assets/kol-input-date.entry-DuhVxukd.js +2 -0
  138. package/app/dist/assets/kol-input-date.entry-DuhVxukd.js.map +1 -0
  139. package/app/dist/assets/kol-input-email.entry-upx1GPQE.js +2 -0
  140. package/app/dist/assets/kol-input-email.entry-upx1GPQE.js.map +1 -0
  141. package/app/dist/assets/kol-input-file.entry-D_HxplUo.js +2 -0
  142. package/app/dist/assets/kol-input-file.entry-D_HxplUo.js.map +1 -0
  143. package/app/dist/assets/kol-input-number.entry-Bt5oPaLm.js +2 -0
  144. package/app/dist/assets/kol-input-number.entry-Bt5oPaLm.js.map +1 -0
  145. package/app/dist/assets/kol-input-password.entry-vxmCoPbk.js +2 -0
  146. package/app/dist/assets/kol-input-password.entry-vxmCoPbk.js.map +1 -0
  147. package/app/dist/assets/kol-input-radio.entry-B1H4IfwC.js +2 -0
  148. package/app/dist/assets/kol-input-radio.entry-B1H4IfwC.js.map +1 -0
  149. package/app/dist/assets/kol-input-range.entry-D7D3vHsT.js +2 -0
  150. package/app/dist/assets/kol-input-range.entry-D7D3vHsT.js.map +1 -0
  151. package/app/dist/assets/kol-input-text.entry-CaKbbxPJ.js +2 -0
  152. package/app/dist/assets/kol-input-text.entry-CaKbbxPJ.js.map +1 -0
  153. package/app/dist/assets/kol-kolibri.entry-DqijBG2e.js +2 -0
  154. package/app/dist/assets/kol-kolibri.entry-DqijBG2e.js.map +1 -0
  155. package/app/dist/assets/kol-link-button.entry-DThGhinp.js +2 -0
  156. package/app/dist/assets/kol-link-button.entry-DThGhinp.js.map +1 -0
  157. package/app/dist/assets/kol-link.entry-BcLmgTFq.js +2 -0
  158. package/app/dist/assets/kol-link.entry-BcLmgTFq.js.map +1 -0
  159. package/app/dist/assets/kol-meter.entry-FBAcjL_c.js +2 -0
  160. package/app/dist/assets/kol-meter.entry-FBAcjL_c.js.map +1 -0
  161. package/app/dist/assets/kol-modal.entry-D7S_zUJv.js +2 -0
  162. package/app/dist/assets/kol-modal.entry-D7S_zUJv.js.map +1 -0
  163. package/app/dist/assets/kol-nav.entry-YkQ12qE4.js +2 -0
  164. package/app/dist/assets/kol-nav.entry-YkQ12qE4.js.map +1 -0
  165. package/app/dist/assets/kol-pagination.entry-DNFx3Ubo.js +2 -0
  166. package/app/dist/assets/kol-pagination.entry-DNFx3Ubo.js.map +1 -0
  167. package/app/dist/assets/kol-popover-button.entry-Fq7E9Mj1.js +2 -0
  168. package/app/dist/assets/kol-popover-button.entry-Fq7E9Mj1.js.map +1 -0
  169. package/app/dist/assets/kol-progress.entry-EYqbHnbW.js +2 -0
  170. package/app/dist/assets/kol-progress.entry-EYqbHnbW.js.map +1 -0
  171. package/app/dist/assets/kol-quote.entry-CRtMeR6t.js +2 -0
  172. package/app/dist/assets/kol-quote.entry-CRtMeR6t.js.map +1 -0
  173. package/app/dist/assets/kol-select.entry-TNY3DN4B.js +2 -0
  174. package/app/dist/assets/kol-select.entry-TNY3DN4B.js.map +1 -0
  175. package/app/dist/assets/kol-single-select.entry-ACkTwf2w.js +2 -0
  176. package/app/dist/assets/kol-single-select.entry-ACkTwf2w.js.map +1 -0
  177. package/app/dist/assets/kol-skip-nav.entry-OeZ18xjQ.js +2 -0
  178. package/app/dist/assets/kol-skip-nav.entry-OeZ18xjQ.js.map +1 -0
  179. package/app/dist/assets/kol-spin.entry-BC4ELKNs.js +2 -0
  180. package/app/dist/assets/kol-spin.entry-BC4ELKNs.js.map +1 -0
  181. package/app/dist/assets/kol-split-button.entry-CU-hYYW6.js +2 -0
  182. package/app/dist/assets/kol-split-button.entry-CU-hYYW6.js.map +1 -0
  183. package/app/dist/assets/kol-table-stateful.entry-D7yfaIs0.js +2 -0
  184. package/app/dist/assets/kol-table-stateful.entry-D7yfaIs0.js.map +1 -0
  185. package/app/dist/assets/kol-table-stateless.entry-CKx6MI1g.js +2 -0
  186. package/app/dist/assets/kol-table-stateless.entry-CKx6MI1g.js.map +1 -0
  187. package/app/dist/assets/kol-tabs.entry-CI-ucONf.js +2 -0
  188. package/app/dist/assets/kol-tabs.entry-CI-ucONf.js.map +1 -0
  189. package/app/dist/assets/kol-textarea.entry-CpyjYfLS.js +2 -0
  190. package/app/dist/assets/kol-textarea.entry-CpyjYfLS.js.map +1 -0
  191. package/app/dist/assets/kol-toast-container.entry-DCrD7nd5.js +2 -0
  192. package/app/dist/assets/kol-toast-container.entry-DCrD7nd5.js.map +1 -0
  193. package/app/dist/assets/kol-toolbar.entry-DTDI1qEN.js +2 -0
  194. package/app/dist/assets/kol-toolbar.entry-DTDI1qEN.js.map +1 -0
  195. package/app/dist/assets/kol-tree-item.entry-B2vicTW6.js +2 -0
  196. package/app/dist/assets/kol-tree-item.entry-B2vicTW6.js.map +1 -0
  197. package/app/dist/assets/kol-tree.entry-BYFsZ05v.js +2 -0
  198. package/app/dist/assets/kol-tree.entry-BYFsZ05v.js.map +1 -0
  199. package/app/dist/assets/kol-version.entry-DaS9ABE7.js +2 -0
  200. package/app/dist/assets/kol-version.entry-DaS9ABE7.js.map +1 -0
  201. package/app/dist/assets/kolicons/kolicons.eot +0 -0
  202. package/app/dist/assets/kolicons/kolicons.ttf +0 -0
  203. package/app/dist/assets/kolicons/kolicons.woff +0 -0
  204. package/app/dist/assets/kolicons/kolicons.woff2 +0 -0
  205. package/app/dist/assets/kolicons/style.css +6 -6
  206. package/app/dist/assets/label-DEZIsnKw-B4rgtyfs.js +2 -0
  207. package/app/dist/assets/label-DEZIsnKw-B4rgtyfs.js.map +1 -0
  208. package/app/dist/assets/label-hints-C--ftrg_-D1FCPbpu.js +2 -0
  209. package/app/dist/assets/label-hints-C--ftrg_-D1FCPbpu.js.map +1 -0
  210. package/app/dist/assets/label-lang-segment-B8ayoizG-C_mpjSav.js +2 -0
  211. package/app/dist/assets/label-lang-segment-B8ayoizG-C_mpjSav.js.map +1 -0
  212. package/app/dist/assets/label-with-expert-slot-DXi27J4o-lGAjBlcx.js +2 -0
  213. package/app/dist/assets/label-with-expert-slot-DXi27J4o-lGAjBlcx.js.map +1 -0
  214. package/app/dist/assets/level-BV6M_zmM-DvX7B_rN.js +2 -0
  215. package/app/dist/assets/level-BV6M_zmM-DvX7B_rN.js.map +1 -0
  216. package/app/dist/assets/link-target-C9qzQAQg-BvIL9Hwz.js +2 -0
  217. package/app/dist/assets/link-target-C9qzQAQg-BvIL9Hwz.js.map +1 -0
  218. package/app/dist/assets/links-Dt0OhMXb-B7dHaIjJ.js +2 -0
  219. package/app/dist/assets/links-Dt0OhMXb-B7dHaIjJ.js.map +1 -0
  220. package/app/dist/assets/multiple-DQdOCIyW-BBqZrDSH.js +2 -0
  221. package/app/dist/assets/multiple-DQdOCIyW-BBqZrDSH.js.map +1 -0
  222. package/app/dist/assets/number-value-DtZloH4P-ZOsuu8WL.js +2 -0
  223. package/app/dist/assets/number-value-DtZloH4P-ZOsuu8WL.js.map +1 -0
  224. package/app/dist/assets/open-DaO7wXMr-CA2yE2g-.js +2 -0
  225. package/app/dist/assets/open-DaO7wXMr-CA2yE2g-.js.map +1 -0
  226. package/app/dist/assets/open-items-cache-C98FzYQ9-CKQNdR8J.js +2 -0
  227. package/app/dist/assets/open-items-cache-C98FzYQ9-CKQNdR8J.js.map +1 -0
  228. package/app/dist/assets/options-C8BsBGBl-CmOe6Dqa.js +2 -0
  229. package/app/dist/assets/options-C8BsBGBl-CmOe6Dqa.js.map +1 -0
  230. package/app/dist/assets/options-CKAHQbcF-CqI_P4js.js +2 -0
  231. package/app/dist/assets/options-CKAHQbcF-CqI_P4js.js.map +1 -0
  232. package/app/dist/assets/orientation-VvJMCd9m-AH9CHf4k.js +2 -0
  233. package/app/dist/assets/orientation-VvJMCd9m-AH9CHf4k.js.map +1 -0
  234. package/app/dist/assets/placeholder-7pbjAn-x-j_19u6oa.js +2 -0
  235. package/app/dist/assets/placeholder-7pbjAn-x-j_19u6oa.js.map +1 -0
  236. package/app/dist/assets/props-from-config-DVxNB2Lx-BdiB5OD2.js +2 -0
  237. package/app/dist/assets/props-from-config-DVxNB2Lx-BdiB5OD2.js.map +1 -0
  238. package/app/dist/assets/read-only-3XuQIAB8-wgrFMwin.js +2 -0
  239. package/app/dist/assets/read-only-3XuQIAB8-wgrFMwin.js.map +1 -0
  240. package/app/dist/assets/required-CNgdXJ8H-BdVzEBOE.js +2 -0
  241. package/app/dist/assets/required-CNgdXJ8H-BdVzEBOE.js.map +1 -0
  242. package/app/dist/assets/resolve-props-B1DQKjTD-Cr4RgwCX.js +2 -0
  243. package/app/dist/assets/resolve-props-B1DQKjTD-Cr4RgwCX.js.map +1 -0
  244. package/app/dist/assets/resolve-props-DOaJCd7Y-gnTdA89V.js +2 -0
  245. package/app/dist/assets/resolve-props-DOaJCd7Y-gnTdA89V.js.map +1 -0
  246. package/app/dist/assets/rows-DL1whQNh-CnHmmGMi.js +2 -0
  247. package/app/dist/assets/rows-DL1whQNh-CnHmmGMi.js.map +1 -0
  248. package/app/dist/assets/scroll-lock-CF_Z7MzO-BlwIX7pi.js +2 -0
  249. package/app/dist/assets/scroll-lock-CF_Z7MzO-BlwIX7pi.js.map +1 -0
  250. package/app/dist/assets/shared-state-sWI1upS8-C3Uuy6md.js +2 -0
  251. package/app/dist/assets/shared-state-sWI1upS8-C3Uuy6md.js.map +1 -0
  252. package/app/dist/assets/smart-button-BdA5-cUG-CDSy0CkY.js +2 -0
  253. package/app/dist/assets/smart-button-BdA5-cUG-CDSy0CkY.js.map +1 -0
  254. package/app/dist/assets/spell-check-B7J-eU5K--8XUVyrX.js +2 -0
  255. package/app/dist/assets/spell-check-B7J-eU5K--8XUVyrX.js.map +1 -0
  256. package/app/dist/assets/src-C2baLPDp-D24ewYAc.js +2 -0
  257. package/app/dist/assets/src-C2baLPDp-D24ewYAc.js.map +1 -0
  258. package/app/dist/assets/step-DmzcVFZB-B55XDGhc.js +2 -0
  259. package/app/dist/assets/step-DmzcVFZB-B55XDGhc.js.map +1 -0
  260. package/app/dist/assets/suggestions-BJxNFtkL-DO9a3kLO.js +2 -0
  261. package/app/dist/assets/suggestions-BJxNFtkL-DO9a3kLO.js.map +1 -0
  262. package/app/dist/assets/suggestions-BXp8OhOi-CYNxldHU.js +2 -0
  263. package/app/dist/assets/suggestions-BXp8OhOi-CYNxldHU.js.map +1 -0
  264. package/app/dist/assets/test-component.entry-D6GkPbu9.js +2 -0
  265. package/app/dist/assets/test-component.entry-D6GkPbu9.js.map +1 -0
  266. package/app/dist/assets/toggle-handler-D7oFDKvq-C6B5DtLx.js +2 -0
  267. package/app/dist/assets/toggle-handler-D7oFDKvq-C6B5DtLx.js.map +1 -0
  268. package/app/dist/assets/tslib.es6-QNbPBOk5-DpzS01Oy.js.map +1 -1
  269. package/app/dist/assets/unique-nav-labels-BOqpcYk4-Bi1m0Z9e.js +2 -0
  270. package/app/dist/assets/unique-nav-labels-BOqpcYk4-Bi1m0Z9e.js.map +1 -0
  271. package/app/dist/assets/unit-BFYz7QfA-Crsqcdvi.js +2 -0
  272. package/app/dist/assets/unit-BFYz7QfA-Crsqcdvi.js.map +1 -0
  273. package/app/dist/assets/validators-DPSQyOeQ-02LUxV0n.js +2 -0
  274. package/app/dist/assets/validators-DPSQyOeQ-02LUxV0n.js.map +1 -0
  275. package/app/dist/assets/value-string-Cmozozek-CI6OgFbT.js +2 -0
  276. package/app/dist/assets/value-string-Cmozozek-CI6OgFbT.js.map +1 -0
  277. package/app/dist/assets/width-D5-Licpp-D7xg8gYN.js +2 -0
  278. package/app/dist/assets/width-D5-Licpp-D7xg8gYN.js.map +1 -0
  279. package/app/dist/index.html +4 -3
  280. package/app/public/assets/kolicons/kolicons.eot +0 -0
  281. package/app/public/assets/kolicons/kolicons.ttf +0 -0
  282. package/app/public/assets/kolicons/kolicons.woff +0 -0
  283. package/app/public/assets/kolicons/kolicons.woff2 +0 -0
  284. package/app/public/assets/kolicons/style.css +6 -6
  285. package/app/src/react.main.tsx +36 -41
  286. package/package.json +6 -6
  287. package/src/index.js +22 -0
  288. package/tests/sample-app.routes.js +5 -12
  289. package/tests/theme-snapshots.spec.js +16 -0
  290. package/app/dist/assets/Heading-0teSdkFq-CMuY0cid.js +0 -2
  291. package/app/dist/assets/Heading-0teSdkFq-CMuY0cid.js.map +0 -1
  292. package/app/dist/assets/access-and-short-key-ijzCZfHm-Dx5Q-CAn.js +0 -2
  293. package/app/dist/assets/access-and-short-key-ijzCZfHm-Dx5Q-CAn.js.map +0 -1
  294. package/app/dist/assets/align-DsFuqEf5-Cb6nEQGD.js +0 -2
  295. package/app/dist/assets/align-DsFuqEf5-Cb6nEQGD.js.map +0 -1
  296. package/app/dist/assets/api-B9mpTRGa-C65h_d6o.js +0 -2
  297. package/app/dist/assets/api-B9mpTRGa-C65h_d6o.js.map +0 -1
  298. package/app/dist/assets/api-CvPkoAAG-D_O5wHv8.js +0 -2
  299. package/app/dist/assets/api-CvPkoAAG-D_O5wHv8.js.map +0 -1
  300. package/app/dist/assets/api-hAvZrw9X-B1QhGSWO.js +0 -2
  301. package/app/dist/assets/api-hAvZrw9X-B1QhGSWO.js.map +0 -1
  302. package/app/dist/assets/aria-labelledby-BRToXqsQ-DH-IWbv2.js +0 -2
  303. package/app/dist/assets/aria-labelledby-BRToXqsQ-DH-IWbv2.js.map +0 -1
  304. package/app/dist/assets/base-7FEvBJ3L-Nv0aAiKe.js +0 -2
  305. package/app/dist/assets/base-7FEvBJ3L-Nv0aAiKe.js.map +0 -1
  306. package/app/dist/assets/base-COT79ELt-VYAN5w_s.js +0 -2
  307. package/app/dist/assets/base-COT79ELt-VYAN5w_s.js.map +0 -1
  308. package/app/dist/assets/base-CsJWjTJl-rOEyfwPm.js +0 -2
  309. package/app/dist/assets/base-CsJWjTJl-rOEyfwPm.js.map +0 -1
  310. package/app/dist/assets/base-Df1bwC8d-DW9eavun.js +0 -2
  311. package/app/dist/assets/base-Df1bwC8d-DW9eavun.js.map +0 -1
  312. package/app/dist/assets/base-web-component-Bcoukts3-BoXf8W1j.js +0 -2
  313. package/app/dist/assets/base-web-component-Bcoukts3-BoXf8W1j.js.map +0 -1
  314. package/app/dist/assets/base-web-component-C1XSz7ML-DNjZwlvX.js +0 -2
  315. package/app/dist/assets/base-web-component-C1XSz7ML-DNjZwlvX.js.map +0 -1
  316. package/app/dist/assets/base-web-component-cTyj95G--D0ipKjM9.js +0 -2
  317. package/app/dist/assets/base-web-component-cTyj95G--D0ipKjM9.js.map +0 -1
  318. package/app/dist/assets/behavior-BMW-_4Oy-wRHfrIdy.js +0 -2
  319. package/app/dist/assets/behavior-BMW-_4Oy-wRHfrIdy.js.map +0 -1
  320. package/app/dist/assets/behavior-BlS6DO8T-Bhmwoqe1.js +0 -2
  321. package/app/dist/assets/behavior-BlS6DO8T-Bhmwoqe1.js.map +0 -1
  322. package/app/dist/assets/behavior-Zr6qAX7F-C4ERKiP6.js +0 -2
  323. package/app/dist/assets/behavior-Zr6qAX7F-C4ERKiP6.js.map +0 -1
  324. package/app/dist/assets/block-bem-DXqmf3Te-BPot92My.js +0 -2
  325. package/app/dist/assets/block-bem-DXqmf3Te-BPot92My.js.map +0 -1
  326. package/app/dist/assets/clsx-COFh-Vc8-DWAop4cA.js +0 -2
  327. package/app/dist/assets/clsx-COFh-Vc8-DWAop4cA.js.map +0 -1
  328. package/app/dist/assets/color-9CMp_pOq-UstuTNDH.js +0 -2
  329. package/app/dist/assets/color-9CMp_pOq-UstuTNDH.js.map +0 -1
  330. package/app/dist/assets/component-BkjWlzLc-DjG3bU8-.js +0 -2
  331. package/app/dist/assets/component-BkjWlzLc-DjG3bU8-.js.map +0 -1
  332. package/app/dist/assets/component-BmJGOcby-CDFgmfqn.js +0 -2
  333. package/app/dist/assets/component-BmJGOcby-CDFgmfqn.js.map +0 -1
  334. package/app/dist/assets/component-C9mkZ63L-Ci0flbKp.js +0 -2
  335. package/app/dist/assets/component-C9mkZ63L-Ci0flbKp.js.map +0 -1
  336. package/app/dist/assets/component-C_Te18y_-DY1plC-k.js +0 -2
  337. package/app/dist/assets/component-C_Te18y_-DY1plC-k.js.map +0 -1
  338. package/app/dist/assets/component-CySyXSru-1RYepdsc.js +0 -2
  339. package/app/dist/assets/component-CySyXSru-1RYepdsc.js.map +0 -1
  340. package/app/dist/assets/component-DHl33p9J-BQFYFZI1.js +0 -2
  341. package/app/dist/assets/component-DHl33p9J-BQFYFZI1.js.map +0 -1
  342. package/app/dist/assets/component-DeWynlzi-4vEivwpF.js +0 -2
  343. package/app/dist/assets/component-DeWynlzi-4vEivwpF.js.map +0 -1
  344. package/app/dist/assets/component-DqHI-AwD-CqS1Y0mR.js +0 -2
  345. package/app/dist/assets/component-DqHI-AwD-CqS1Y0mR.js.map +0 -1
  346. package/app/dist/assets/component-DxddScWx-CmFWSOcQ.js +0 -2
  347. package/app/dist/assets/component-DxddScWx-CmFWSOcQ.js.map +0 -1
  348. package/app/dist/assets/component-DzVHCXnG-DndFBZeJ.js +0 -2
  349. package/app/dist/assets/component-DzVHCXnG-DndFBZeJ.js.map +0 -1
  350. package/app/dist/assets/component-Ik_-HAMT-CjQrR3zy.js +0 -15
  351. package/app/dist/assets/component-Ik_-HAMT-CjQrR3zy.js.map +0 -1
  352. package/app/dist/assets/component-YhEwg1LK-BINcXJiw.js +0 -2
  353. package/app/dist/assets/component-YhEwg1LK-BINcXJiw.js.map +0 -1
  354. package/app/dist/assets/contrast-BK5uVXeb-Vgt4cgH4.js +0 -2
  355. package/app/dist/assets/contrast-BK5uVXeb-Vgt4cgH4.js.map +0 -1
  356. package/app/dist/assets/controller-Bf-CAo4Q-z6yLBJ6M.js +0 -2
  357. package/app/dist/assets/controller-Bf-CAo4Q-z6yLBJ6M.js.map +0 -1
  358. package/app/dist/assets/dev.utils-BgjegQC8-C6uVjv7d.js +0 -9
  359. package/app/dist/assets/dev.utils-BgjegQC8-C6uVjv7d.js.map +0 -1
  360. package/app/dist/assets/devtools-4nOArEGl-DiLIfZ5l.js +0 -14
  361. package/app/dist/assets/devtools-4nOArEGl-DiLIfZ5l.js.map +0 -1
  362. package/app/dist/assets/disabled-BaPgTuFO-CM8Gn0qq.js +0 -2
  363. package/app/dist/assets/disabled-BaPgTuFO-CM8Gn0qq.js.map +0 -1
  364. package/app/dist/assets/element-focus-Cp994Rrk-hni8gdPk.js +0 -2
  365. package/app/dist/assets/element-focus-Cp994Rrk-hni8gdPk.js.map +0 -1
  366. package/app/dist/assets/element-interaction-Cy9tx3Sx-BTUWCd5A.js +0 -2
  367. package/app/dist/assets/element-interaction-Cy9tx3Sx-BTUWCd5A.js.map +0 -1
  368. package/app/dist/assets/field-control-Brx62dJV-Cn6OiJkt.js +0 -2
  369. package/app/dist/assets/field-control-Brx62dJV-Cn6OiJkt.js.map +0 -1
  370. package/app/dist/assets/group-Ce5pMiZJ-C9olhQv9.js +0 -2
  371. package/app/dist/assets/group-Ce5pMiZJ-C9olhQv9.js.map +0 -1
  372. package/app/dist/assets/has-closer-C9L79ect-BQ_UqDUP.js +0 -2
  373. package/app/dist/assets/has-closer-C9L79ect-BQ_UqDUP.js.map +0 -1
  374. package/app/dist/assets/href-OaK1sDT5-CorwGf2q.js +0 -2
  375. package/app/dist/assets/href-OaK1sDT5-CorwGf2q.js.map +0 -1
  376. package/app/dist/assets/i18n-DRQl0u---DIaM-Y8-.js +0 -2
  377. package/app/dist/assets/i18n-DRQl0u---DIaM-Y8-.js.map +0 -1
  378. package/app/dist/assets/index-BMLr0uce.css +0 -1
  379. package/app/dist/assets/index-Ck7G1mGb.js +0 -147
  380. package/app/dist/assets/index-Ck7G1mGb.js.map +0 -1
  381. package/app/dist/assets/index-D5UV99lE-B5giV9YH.js +0 -21
  382. package/app/dist/assets/index-D5UV99lE-B5giV9YH.js.map +0 -1
  383. package/app/dist/assets/input-DjQorwQ5-BjohoKSR.js +0 -2
  384. package/app/dist/assets/input-DjQorwQ5-BjohoKSR.js.map +0 -1
  385. package/app/dist/assets/input-container-RSmfcRgK-CCldYPvF.js +0 -2
  386. package/app/dist/assets/input-container-RSmfcRgK-CCldYPvF.js.map +0 -1
  387. package/app/dist/assets/isArray-CcrBs4JM-DiEJ1b3e.js +0 -2
  388. package/app/dist/assets/isArray-CcrBs4JM-DiEJ1b3e.js.map +0 -1
  389. package/app/dist/assets/item-2cprk9ut-FY23ep53.js +0 -2
  390. package/app/dist/assets/item-2cprk9ut-FY23ep53.js.map +0 -1
  391. package/app/dist/assets/item-Bfk2xd-D-DgDWMFZq.js +0 -2
  392. package/app/dist/assets/item-Bfk2xd-D-DgDWMFZq.js.map +0 -1
  393. package/app/dist/assets/item-D9_O5WAR-BNov1J_o.js +0 -2
  394. package/app/dist/assets/item-D9_O5WAR-BNov1J_o.js.map +0 -1
  395. package/app/dist/assets/item-DMWn_IlJ-R3FrYaso.js +0 -2
  396. package/app/dist/assets/item-DMWn_IlJ-R3FrYaso.js.map +0 -1
  397. package/app/dist/assets/item-pool-BOxAYePG-7TsT6kC_.js +0 -2
  398. package/app/dist/assets/item-pool-BOxAYePG-7TsT6kC_.js.map +0 -1
  399. package/app/dist/assets/keyboard-Cnv7zP3N-Day-K4ic.js +0 -2
  400. package/app/dist/assets/keyboard-Cnv7zP3N-Day-K4ic.js.map +0 -1
  401. package/app/dist/assets/kol-abbr.entry-JZ5CsBd_.js +0 -2
  402. package/app/dist/assets/kol-abbr.entry-JZ5CsBd_.js.map +0 -1
  403. package/app/dist/assets/kol-accordion.entry-NKlYfz0Q.js +0 -2
  404. package/app/dist/assets/kol-accordion.entry-NKlYfz0Q.js.map +0 -1
  405. package/app/dist/assets/kol-alert.entry-CFqOIa_V.js +0 -2
  406. package/app/dist/assets/kol-alert.entry-CFqOIa_V.js.map +0 -1
  407. package/app/dist/assets/kol-avatar.entry-DNOWZ_d3.js +0 -2
  408. package/app/dist/assets/kol-avatar.entry-DNOWZ_d3.js.map +0 -1
  409. package/app/dist/assets/kol-badge.entry-BFwdaSFT.js +0 -2
  410. package/app/dist/assets/kol-badge.entry-BFwdaSFT.js.map +0 -1
  411. package/app/dist/assets/kol-breadcrumb.entry-B0e16ZZ_.js +0 -2
  412. package/app/dist/assets/kol-breadcrumb.entry-B0e16ZZ_.js.map +0 -1
  413. package/app/dist/assets/kol-button-link.entry-CbjmGAeL.js +0 -2
  414. package/app/dist/assets/kol-button-link.entry-CbjmGAeL.js.map +0 -1
  415. package/app/dist/assets/kol-button.entry-BeJZWbL4.js +0 -2
  416. package/app/dist/assets/kol-button.entry-BeJZWbL4.js.map +0 -1
  417. package/app/dist/assets/kol-card.entry-fvDkWYG1.js +0 -2
  418. package/app/dist/assets/kol-card.entry-fvDkWYG1.js.map +0 -1
  419. package/app/dist/assets/kol-click-button.entry-BhNZlGpc.js +0 -2
  420. package/app/dist/assets/kol-click-button.entry-BhNZlGpc.js.map +0 -1
  421. package/app/dist/assets/kol-combobox.entry-CYIaPnwK.js +0 -2
  422. package/app/dist/assets/kol-combobox.entry-CYIaPnwK.js.map +0 -1
  423. package/app/dist/assets/kol-details.entry-DyZ4I3up.js +0 -2
  424. package/app/dist/assets/kol-details.entry-DyZ4I3up.js.map +0 -1
  425. package/app/dist/assets/kol-dialog.entry-C0Vr7vsR.js +0 -2
  426. package/app/dist/assets/kol-dialog.entry-C0Vr7vsR.js.map +0 -1
  427. package/app/dist/assets/kol-drawer.entry-DhH5GtyV.js +0 -2
  428. package/app/dist/assets/kol-drawer.entry-DhH5GtyV.js.map +0 -1
  429. package/app/dist/assets/kol-form.entry-DOOepHft.js +0 -2
  430. package/app/dist/assets/kol-form.entry-DOOepHft.js.map +0 -1
  431. package/app/dist/assets/kol-heading.entry-BZSehGU3.js +0 -2
  432. package/app/dist/assets/kol-heading.entry-BZSehGU3.js.map +0 -1
  433. package/app/dist/assets/kol-icon.entry-D80ckHS_.js +0 -2
  434. package/app/dist/assets/kol-icon.entry-D80ckHS_.js.map +0 -1
  435. package/app/dist/assets/kol-image.entry-Dxsf1yRX.js +0 -2
  436. package/app/dist/assets/kol-image.entry-Dxsf1yRX.js.map +0 -1
  437. package/app/dist/assets/kol-input-checkbox.entry-DnB_lvGn.js +0 -2
  438. package/app/dist/assets/kol-input-checkbox.entry-DnB_lvGn.js.map +0 -1
  439. package/app/dist/assets/kol-input-color.entry-DnpQYm0f.js +0 -2
  440. package/app/dist/assets/kol-input-color.entry-DnpQYm0f.js.map +0 -1
  441. package/app/dist/assets/kol-input-date.entry-D1Hw5qR6.js +0 -2
  442. package/app/dist/assets/kol-input-date.entry-D1Hw5qR6.js.map +0 -1
  443. package/app/dist/assets/kol-input-email.entry-BUTmHT7w.js +0 -2
  444. package/app/dist/assets/kol-input-email.entry-BUTmHT7w.js.map +0 -1
  445. package/app/dist/assets/kol-input-file.entry-DmjAlAuX.js +0 -2
  446. package/app/dist/assets/kol-input-file.entry-DmjAlAuX.js.map +0 -1
  447. package/app/dist/assets/kol-input-number.entry-CL6UUDU4.js +0 -2
  448. package/app/dist/assets/kol-input-number.entry-CL6UUDU4.js.map +0 -1
  449. package/app/dist/assets/kol-input-password.entry-CTdhw2gq.js +0 -2
  450. package/app/dist/assets/kol-input-password.entry-CTdhw2gq.js.map +0 -1
  451. package/app/dist/assets/kol-input-radio.entry-DTYMTiqR.js +0 -2
  452. package/app/dist/assets/kol-input-radio.entry-DTYMTiqR.js.map +0 -1
  453. package/app/dist/assets/kol-input-range.entry-Dt0lcNFU.js +0 -2
  454. package/app/dist/assets/kol-input-range.entry-Dt0lcNFU.js.map +0 -1
  455. package/app/dist/assets/kol-input-text.entry-BLNHJ-5k.js +0 -2
  456. package/app/dist/assets/kol-input-text.entry-BLNHJ-5k.js.map +0 -1
  457. package/app/dist/assets/kol-kolibri.entry-CPzoeDlt.js +0 -2
  458. package/app/dist/assets/kol-kolibri.entry-CPzoeDlt.js.map +0 -1
  459. package/app/dist/assets/kol-link-button.entry-_KHvxjqW.js +0 -2
  460. package/app/dist/assets/kol-link-button.entry-_KHvxjqW.js.map +0 -1
  461. package/app/dist/assets/kol-link.entry-BXWQ9RQ_.js +0 -2
  462. package/app/dist/assets/kol-link.entry-BXWQ9RQ_.js.map +0 -1
  463. package/app/dist/assets/kol-meter.entry-Bx_FqfBi.js +0 -2
  464. package/app/dist/assets/kol-meter.entry-Bx_FqfBi.js.map +0 -1
  465. package/app/dist/assets/kol-modal.entry-DDHWI1_r.js +0 -2
  466. package/app/dist/assets/kol-modal.entry-DDHWI1_r.js.map +0 -1
  467. package/app/dist/assets/kol-nav.entry-DIXL_AGy.js +0 -2
  468. package/app/dist/assets/kol-nav.entry-DIXL_AGy.js.map +0 -1
  469. package/app/dist/assets/kol-pagination.entry-CocM14Ib.js +0 -2
  470. package/app/dist/assets/kol-pagination.entry-CocM14Ib.js.map +0 -1
  471. package/app/dist/assets/kol-popover-button.entry-DUq5jeMB.js +0 -2
  472. package/app/dist/assets/kol-popover-button.entry-DUq5jeMB.js.map +0 -1
  473. package/app/dist/assets/kol-progress.entry-udW5xTCF.js +0 -2
  474. package/app/dist/assets/kol-progress.entry-udW5xTCF.js.map +0 -1
  475. package/app/dist/assets/kol-quote.entry-6cjL0mWf.js +0 -2
  476. package/app/dist/assets/kol-quote.entry-6cjL0mWf.js.map +0 -1
  477. package/app/dist/assets/kol-select.entry-DFj2CNVz.js +0 -2
  478. package/app/dist/assets/kol-select.entry-DFj2CNVz.js.map +0 -1
  479. package/app/dist/assets/kol-single-select.entry-TjeV0XFI.js +0 -2
  480. package/app/dist/assets/kol-single-select.entry-TjeV0XFI.js.map +0 -1
  481. package/app/dist/assets/kol-skeleton.entry-EpmiJ9tl.js +0 -2
  482. package/app/dist/assets/kol-skeleton.entry-EpmiJ9tl.js.map +0 -1
  483. package/app/dist/assets/kol-skip-nav.entry-BaLesk6a.js +0 -2
  484. package/app/dist/assets/kol-skip-nav.entry-BaLesk6a.js.map +0 -1
  485. package/app/dist/assets/kol-spin.entry-CtzsioE8.js +0 -2
  486. package/app/dist/assets/kol-spin.entry-CtzsioE8.js.map +0 -1
  487. package/app/dist/assets/kol-split-button.entry-kuFnUmLj.js +0 -2
  488. package/app/dist/assets/kol-split-button.entry-kuFnUmLj.js.map +0 -1
  489. package/app/dist/assets/kol-table-stateful.entry-QRG_gNvK.js +0 -2
  490. package/app/dist/assets/kol-table-stateful.entry-QRG_gNvK.js.map +0 -1
  491. package/app/dist/assets/kol-table-stateless.entry-DNstVGcm.js +0 -2
  492. package/app/dist/assets/kol-table-stateless.entry-DNstVGcm.js.map +0 -1
  493. package/app/dist/assets/kol-tabs.entry-BBEJuyAJ.js +0 -2
  494. package/app/dist/assets/kol-tabs.entry-BBEJuyAJ.js.map +0 -1
  495. package/app/dist/assets/kol-textarea.entry-BPOJXYvh.js +0 -2
  496. package/app/dist/assets/kol-textarea.entry-BPOJXYvh.js.map +0 -1
  497. package/app/dist/assets/kol-toast-container.entry-DyLnEgu_.js +0 -2
  498. package/app/dist/assets/kol-toast-container.entry-DyLnEgu_.js.map +0 -1
  499. package/app/dist/assets/kol-toolbar.entry-ClbIsDs7.js +0 -2
  500. package/app/dist/assets/kol-toolbar.entry-ClbIsDs7.js.map +0 -1
  501. package/app/dist/assets/kol-tooltip-wc.entry-BfynRmIX.js +0 -2
  502. package/app/dist/assets/kol-tooltip-wc.entry-BfynRmIX.js.map +0 -1
  503. package/app/dist/assets/kol-tree-item.entry-b46TP0hp.js +0 -2
  504. package/app/dist/assets/kol-tree-item.entry-b46TP0hp.js.map +0 -1
  505. package/app/dist/assets/kol-tree.entry-C8zEz5Cs.js +0 -2
  506. package/app/dist/assets/kol-tree.entry-C8zEz5Cs.js.map +0 -1
  507. package/app/dist/assets/kol-version.entry-C1gjHPV1.js +0 -2
  508. package/app/dist/assets/kol-version.entry-C1gjHPV1.js.map +0 -1
  509. package/app/dist/assets/label-BNtqGdMQ-Ltq-dAGo.js +0 -2
  510. package/app/dist/assets/label-BNtqGdMQ-Ltq-dAGo.js.map +0 -1
  511. package/app/dist/assets/label-with-expert-slot-aAOUzLo3-CVk5HsfJ.js +0 -2
  512. package/app/dist/assets/label-with-expert-slot-aAOUzLo3-CVk5HsfJ.js.map +0 -1
  513. package/app/dist/assets/level-Df663c7y-DlyvKhkz.js +0 -2
  514. package/app/dist/assets/level-Df663c7y-DlyvKhkz.js.map +0 -1
  515. package/app/dist/assets/link-target-C7_smSbV-D3V9CuWd.js +0 -2
  516. package/app/dist/assets/link-target-C7_smSbV-D3V9CuWd.js.map +0 -1
  517. package/app/dist/assets/links-B0xbzBwU-DscmpwhT.js +0 -2
  518. package/app/dist/assets/links-B0xbzBwU-DscmpwhT.js.map +0 -1
  519. package/app/dist/assets/multiple-CYHm7rd3-DhK3w25V.js +0 -2
  520. package/app/dist/assets/multiple-CYHm7rd3-DhK3w25V.js.map +0 -1
  521. package/app/dist/assets/name-m3owaZxH-dpbqxpVh.js +0 -2
  522. package/app/dist/assets/name-m3owaZxH-dpbqxpVh.js.map +0 -1
  523. package/app/dist/assets/number-value-CMedWR58-DKMuUHft.js +0 -2
  524. package/app/dist/assets/number-value-CMedWR58-DKMuUHft.js.map +0 -1
  525. package/app/dist/assets/open-DCGNTmvC-CsLSyK6Z.js +0 -2
  526. package/app/dist/assets/open-DCGNTmvC-CsLSyK6Z.js.map +0 -1
  527. package/app/dist/assets/open-items-cache-D-kml1h6-Ce94d8eX.js +0 -2
  528. package/app/dist/assets/open-items-cache-D-kml1h6-Ce94d8eX.js.map +0 -1
  529. package/app/dist/assets/options-B0rBHetL-BwxiS_20.js +0 -2
  530. package/app/dist/assets/options-B0rBHetL-BwxiS_20.js.map +0 -1
  531. package/app/dist/assets/options-CR431ims-CVYAE7KQ.js +0 -2
  532. package/app/dist/assets/options-CR431ims-CVYAE7KQ.js.map +0 -1
  533. package/app/dist/assets/orientation-C9FRNmPD-BzA95gs3.js +0 -2
  534. package/app/dist/assets/orientation-C9FRNmPD-BzA95gs3.js.map +0 -1
  535. package/app/dist/assets/placeholder-Bwzvbwhh-BjYMwXef.js +0 -2
  536. package/app/dist/assets/placeholder-Bwzvbwhh-BjYMwXef.js.map +0 -1
  537. package/app/dist/assets/read-only-C5fDsZVK-gugboIAi.js +0 -2
  538. package/app/dist/assets/read-only-C5fDsZVK-gugboIAi.js.map +0 -1
  539. package/app/dist/assets/required-CC0212MQ-Q-Fsv_v2.js +0 -2
  540. package/app/dist/assets/required-CC0212MQ-Q-Fsv_v2.js.map +0 -1
  541. package/app/dist/assets/resolve-props-47S-r31C-AjTgsjqz.js +0 -2
  542. package/app/dist/assets/resolve-props-47S-r31C-AjTgsjqz.js.map +0 -1
  543. package/app/dist/assets/resolve-props-CnHCiXuG-DyCrHCTu.js +0 -2
  544. package/app/dist/assets/resolve-props-CnHCiXuG-DyCrHCTu.js.map +0 -1
  545. package/app/dist/assets/rows-CUHDEUm9-D1Iy-aI5.js +0 -2
  546. package/app/dist/assets/rows-CUHDEUm9-D1Iy-aI5.js.map +0 -1
  547. package/app/dist/assets/scroll-lock-DQGTnLvW-CHZYroT5.js +0 -2
  548. package/app/dist/assets/scroll-lock-DQGTnLvW-CHZYroT5.js.map +0 -1
  549. package/app/dist/assets/smart-button-BHM06d-t-BInrzpbW.js +0 -2
  550. package/app/dist/assets/smart-button-BHM06d-t-BInrzpbW.js.map +0 -1
  551. package/app/dist/assets/spell-check-DiSedaOR-GzfVevJt.js +0 -2
  552. package/app/dist/assets/spell-check-DiSedaOR-GzfVevJt.js.map +0 -1
  553. package/app/dist/assets/src-CsLEg--w-Bc76gCVE.js +0 -2
  554. package/app/dist/assets/src-CsLEg--w-Bc76gCVE.js.map +0 -1
  555. package/app/dist/assets/step-BxSThOke-C0oiX5A-.js +0 -2
  556. package/app/dist/assets/step-BxSThOke-C0oiX5A-.js.map +0 -1
  557. package/app/dist/assets/suggestions-B79TOsF_-BLNQdhG9.js +0 -2
  558. package/app/dist/assets/suggestions-B79TOsF_-BLNQdhG9.js.map +0 -1
  559. package/app/dist/assets/suggestions-C38q-5JU-DASLHvwN.js +0 -2
  560. package/app/dist/assets/suggestions-C38q-5JU-DASLHvwN.js.map +0 -1
  561. package/app/dist/assets/test-component.entry-s0IgMHC0.js +0 -2
  562. package/app/dist/assets/test-component.entry-s0IgMHC0.js.map +0 -1
  563. package/app/dist/assets/toggle-handler-CQ0FhBmD-sky0C-ei.js +0 -2
  564. package/app/dist/assets/toggle-handler-CQ0FhBmD-sky0C-ei.js.map +0 -1
  565. package/app/dist/assets/unique-nav-labels-Bh3w7dCH-DYLPy-Yb.js +0 -2
  566. package/app/dist/assets/unique-nav-labels-Bh3w7dCH-DYLPy-Yb.js.map +0 -1
  567. package/app/dist/assets/unit-BgjPEae--DlWfCq_H.js +0 -2
  568. package/app/dist/assets/unit-BgjPEae--DlWfCq_H.js.map +0 -1
  569. package/app/dist/assets/value-string-BDfywbme-BVDiGnre.js +0 -2
  570. package/app/dist/assets/value-string-BDfywbme-BVDiGnre.js.map +0 -1
  571. package/app/dist/assets/variant-PJN56KWi-BQrhLUy1.js +0 -2
  572. package/app/dist/assets/variant-PJN56KWi-BQrhLUy1.js.map +0 -1
  573. package/app/dist/assets/width-CAS8lhOU-BPWyZIIe.js +0 -2
  574. package/app/dist/assets/width-CAS8lhOU-BPWyZIIe.js.map +0 -1
@@ -0,0 +1,111 @@
1
+ import{B as e,L as t,V as n,a as r,i,k as a,l as o,o as s,s as c,t as l,v as u,z as d}from"./index-Bsx5X6jK-BavJzGsr.js";import{t as f}from"./shared-state-sWI1upS8-C3Uuy6md.js";var p=Object.create,m=Object.defineProperty,h=Object.getOwnPropertyDescriptor,g=Object.getOwnPropertyNames,_=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty,y=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),b=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=g(t),a=0,o=i.length,s;a<o;a++)s=i[a],!v.call(e,s)&&s!==n&&m(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=h(t,s))||r.enumerable});return e},x=(e,t,n)=>(n=e==null?{}:p(_(e)),b(t||!e||!e.__esModule||!v.call(e,`default`)?m(n,`default`,{value:e,enumerable:!0}):n,e));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var S=y((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function ee(e,t){return E(e.type,t,e.props)}function te(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ne(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var re=/\/+/g;function ie(e,t){return typeof e==`object`&&e&&e.key!=null?ne(``+e.key):t.toString(36)}function ae(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function oe(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,oe(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+ie(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(re,`$&/`)+`/`),oe(o,r,i,``,function(e){return e})):o!=null&&(te(o)&&(o=ee(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(re,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+ie(a,u),c+=oe(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+ie(a,u++),c+=oe(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return oe(ae(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function D(e,t,n){if(e==null)return e;var r=[],i=0;return oe(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function se(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ce=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},le={map:D,forEach:function(e,t,n){D(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return D(e,function(){t++}),t},toArray:function(e){return D(e,function(e){return e})||[]},only:function(e){if(!te(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=le,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=te,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:se}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,ce)}catch(e){ce(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.8`})),C=y(((e,t)=>{t.exports=S()})),w=x(C(),1),T=`modulepreload`,E=function(e,t){return new URL(e,t).href},ee={},te=function(e){return e.pathname.endsWith(`.css`)},ne=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},re=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=E(t,n);let r=s(t),i=te(r);return ne(ee,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:T,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{t.addEventListener(`load`,e),t.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${r}`)))})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},ie=f(`location`,()=>({subscribers:[]})),ae=e=>{ie.current=e,ie.subscribers.forEach(t=>{t(e)})},oe=(e,t=!0)=>(t&&typeof ie.current==`string`&&e(ie.current),ie.subscribers.push(e),()=>{let t=ie.subscribers.indexOf(e);t>=0&&ie.subscribers.splice(t,1)}),D=()=>{a.A11yUi=f(`themes`,()=>a.A11yUi)},se={"action-done":`Aktion abgeschlossen`,"action-running":`Aktion wird ausgeführt...`,"avatar-alt":`Avatar von {{name}}`,"character-counter-current":`{{current}} Zeichen`,"character-counter-current-of-max":`{{current}}/{{max}} Zeichen`,"character-counter-current-of-max-aria":`{{current}} von {{max}} Zeichen`,"character-counter-max-aria":`Zeichenlimit erreicht!`,"character-limit-exceeded":`Es sind {{over}} Zeichen zu viel.`,"character-limit-hint":`Es können bis zu {{limit}} Zeichen eingegeben werden.`,"character-limit-remaining":`Es sind noch {{remaining}} Zeichen verfügbar.`,"clear-search":`Suche löschen`,close:`Schließen`,"close-alert":`Benachrichtigung schließen`,"data-browse-text":`Datei auswählen`,"delete-selection":`Auswahl entfernen`,"entries-per-site":`Einträge pro Seite`,error:`Fehler`,"error-list":`Fehlerliste`,"error-list-message":`Bitte korrigieren Sie folgende Fehler:`,"filename-text":`Datei auswählen oder hier ablegen...`,"form-description":`Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.`,"hide-password":`Passwort verbergen`,info:`Hinweis`,"kolibri-logo":`Logo von KoliBri`,"live-value":`{{value}} {{unit}}`,"live-value-bounded":`{{value}} von {{max}} {{unit}}`,message:`Nachricht`,"meter-state-critical":`Kritisch`,"meter-state-optimum":`Optimal`,"meter-state-suboptimal":`Suboptimal`,"nav-maximize":`Navigation maximieren`,"nav-minimize":`Navigation minimieren`,new:`Neu`,"no-entries":`Es sind keine Einträge vorhanden.`,"no-results-message":`Keine Ergebnisse gefunden.`,"open-link-in-tab":`Öffnet in neuem Tab.`,page:`Seite`,"page-back":`Eine Seite zurück`,"page-first":`Direkt zur ersten Seite`,"page-last":`Direkt zur letzten Seite`,"page-next":`Eine Seite weiter`,pagination:`Paginierung`,"pagination-position-bottom":`unten`,"pagination-position-top":`oben`,progress:`Fortschritt`,readonly:`schreibgeschützt`,"show-password":`Passwort einblenden`,"show-suggestions":`Vorschläge anzeigen`,sort:`sortieren`,"split-button-dropdown-label-open":`Optionen anzeigen`,success:`Erfolg`,"table-data-loading":`Daten für Tabelle {{caption}} werden geladen.`,"table-data-loaded":`Daten für Tabelle {{caption}} wurden geladen.`,"table-pagination-label":`Paginierung für die Tabelle {{label}}`,"table-selection":`Auswahl`,"table-selection-all":`Alle auswählen`,"table-selection-indeterminate":`Alle auswählen bei teilweiser Auswahl`,"table-selection-none":`Alle abwählen`,"table-settings":`Tabellenkonfiguration`,"table-settings-apply":`Übernehmen`,"table-settings-cancel":`Abbrechen`,"table-settings-column-hidable":`Spalte "{{column}}" ausblenden.`,"table-settings-column-not-hidable":`Spalte "{{column}}" kann nicht ausgeblendet werden.`,"table-settings-column-width":`Breite von Spalte "{{column}}" in Pixel.`,"table-settings-error-all-invisible":`Mindestens eine Spalte muss sichtbar sein.`,"table-settings-move-down":`Spalte "{{column}}" nach unten verschieben.`,"table-settings-move-up":`Spalte "{{column}}" nach oben verschieben.`,"table-settings-not-move":`Spalte "{{column}}" kann nicht verschoben werden.`,"table-sort-order":`Priorität {{order}}`,"table-visible-range":`Einträge {{start}} bis {{end}} von {{total}}`,"toast-close-all":`Alle Benachrichtigungen schließen`,version:`Versionsnummer`,warning:`Warnung`},ce={"action-done":`Action done`,"action-running":`Action is running...`,"avatar-alt":`Avatar of {{name}}`,"character-counter-current":`{{current}} characters`,"character-counter-current-of-max":`{{current}}/{{max}} characters`,"character-counter-current-of-max-aria":`{{current}} of {{max}} characters`,"character-counter-max-aria":`Character limit reached!`,"character-limit-exceeded":`You have {{over}} characters too many.`,"character-limit-hint":`You can enter up to {{limit}} characters`,"character-limit-remaining":`You have {{remaining}} characters remaining.`,"clear-search":`Clear search`,close:`Close`,"close-alert":`Close notification`,"data-browse-text":`Browse`,"delete-selection":`Delete selection`,"entries-per-site":`Entries per page`,error:`Error`,"error-list":`Error list`,"error-list-message":`Please correct the following errors`,"filename-text":`Choose a file or drop it here...`,"form-description":`Form fields marked with an asterisk (*) are mandatory.`,"hide-password":`Hide password`,info:`Note`,"kolibri-logo":`KoliBri logo`,"live-value":`{{value}} {{unit}}`,"live-value-bounded":`{{value}} of {{max}} {{unit}}`,message:`Message`,"meter-state-critical":`Critical`,"meter-state-optimum":`Optimum`,"meter-state-suboptimal":`Suboptimal`,"nav-maximize":`Maximize navigation`,"nav-minimize":`Minimize navigation`,new:`New`,"no-entries":`No entries available.`,"no-results-message":`No results found.`,"open-link-in-tab":`Opens in new tab.`,page:`Page`,"page-back":`One page back`,"page-first":`Directly to the first page`,"page-last":`Directly to the last page`,"page-next":`One page further`,pagination:`Pagination`,"pagination-position-bottom":`bottom`,"pagination-position-top":`top`,progress:`Progress`,readonly:`read-only`,"show-password":`Show password`,"show-suggestions":`Show suggestions`,sort:`sort`,"split-button-dropdown-label-open":`Show options`,success:`Success`,"table-data-loading":`Data in table {{caption}} is loading.`,"table-data-loaded":`Data in table {{caption}} got loaded.`,"table-pagination-label":`Pagination for table {{label}}`,"table-selection":`Selection`,"table-selection-all":`Select all`,"table-selection-indeterminate":`Select all with partial selection`,"table-selection-none":`Deselect all`,"table-settings":`Table configuration`,"table-settings-apply":`Apply`,"table-settings-cancel":`Cancel`,"table-settings-column-hidable":`Hide column "{{column}}".`,"table-settings-column-not-hidable":`Column "{{column}}" cannot be hidden.`,"table-settings-column-width":`Width of column "{{column}}" in pixel.`,"table-settings-error-all-invisible":`At least one column must be visible.`,"table-settings-move-down":`Move column "{{column}}" down.`,"table-settings-move-up":`Move column "{{column}}" up.`,"table-settings-not-move":`Column "{{column}}" cannot be moved.`,"table-sort-order":`Priority {{order}}`,"table-visible-range":`Entries {{start}} to {{end}} of {{total}}`,"toast-close-all":`Close all notifications`,version:`Version number`,warning:`Warning`},le=e=>Object.keys(e).reduce((t,n)=>(t[`kol-${n}`]=e[n],t),{}),ue=new Set([e=>e(`en`,le(ce)),e=>e(`de`,le(se))]),de=function(e,t,n){return e.split(t).join(n)},fe=class{constructor(e){this.resourceMap=new Map,this.language=e??`de`}addTranslations(e){Array.isArray(e)?e=new Set(e):typeof e==`function`&&(e=new Set([e])),e!==void 0&&e.forEach(e=>e((e,t)=>{let n=this.resourceMap.get(e);return n||(n=new Map,this.resourceMap.set(e,n)),Object.entries(t).forEach(([e,t])=>{t&&n.set(e,t)}),e}))}setLanguage(e){this.language=e}translate(e,t){let n=this.resourceMap.get(this.language)?.get(e);return n?t?.placeholders&&Object.entries(t.placeholders).forEach(([e,t])=>{n=de(n,`{{${e}}}`,t)}):n=e,n}},pe=f(`i18n`,()=>({})),me=()=>pe.instance,he=(e,t)=>{let n=new fe(e);return n.addTranslations(ue),n.addTranslations(t),pe.instance=n,n},ge=`kol-abbr`,_e=`kol-accordion`,ve=`kol-alert`,ye=`kol-avatar`,be=`kol-badge`,xe=`kol-breadcrumb`,Se=`kol-button-link`,Ce=`kol-button`,we=`kol-card`,Te=`kol-combobox`,Ee=`kol-details`,De=`kol-dialog`,Oe=`kol-drawer`,ke=`kol-form`,Ae=`kol-heading`,je=`kol-icon`,Me=`kol-image`,Ne=`kol-input-checkbox`,Pe=`kol-input-color`,Fe=`kol-input-date`,Ie=`kol-input-email`,Le=`kol-input-file`,Re=`kol-input-number`,ze=`kol-input-password`,Be=`kol-input-radio`,Ve=`kol-input-range`,He=`kol-input`,Ue=`kol-input-text`,We=`kol-kolibri`,Ge=`kol-link-button`,Ke=`kol-link`,qe=`kol-meter`,Je=`kol-modal`,Ye=`kol-nav`,Xe=`kol-pagination`,Ze=`kol-popover-button`,Qe=`kol-progress`,$e=`kol-quote`,et=`kol-select`,tt=`kol-single-select`,nt=`kol-skip-nav`,rt=`kol-spin`,it=`kol-split-button`,at=`kol-table-stateful`,ot=`kol-table-stateless`,st=`kol-tabs`,ct=`kol-textarea`,lt=`kol-toast-container`,ut=`kol-toolbar`,dt=`kol-tree-item`,ft=`kol-tree`,pt=Object.freeze({__proto__:null,KolAbbrTag:ge,KolAccordionTag:_e,KolAlertTag:ve,KolAvatarTag:ye,KolBadgeTag:be,KolBreadcrumbTag:xe,KolButtonLinkTag:Se,KolButtonTag:Ce,KolCardTag:we,KolComboboxTag:Te,KolDetailsTag:Ee,KolDialogTag:De,KolDrawerTag:Oe,KolFormTag:ke,KolHeadingTag:Ae,KolIconTag:je,KolImageTag:Me,KolInputCheckboxTag:Ne,KolInputColorTag:Pe,KolInputDateTag:Fe,KolInputEmailTag:Ie,KolInputFileTag:Le,KolInputNumberTag:Re,KolInputPasswordTag:ze,KolInputRadioTag:Be,KolInputRangeTag:Ve,KolInputTag:He,KolInputTextTag:Ue,KolKolibriTag:We,KolLinkButtonTag:Ge,KolLinkTag:Ke,KolMeterTag:qe,KolModalTag:Je,KolNavTag:Ye,KolPaginationTag:Xe,KolPopoverButtonTag:Ze,KolProgressTag:Qe,KolQuoteTag:$e,KolSelectTag:et,KolSingleSelectTag:tt,KolSkipNavTag:nt,KolSpinTag:rt,KolSplitButtonTag:it,KolTableStatefulTag:at,KolTableStatelessTag:ot,KolTabsTag:st,KolTextareaTag:ct,KolToastContainerTag:lt,KolToolbarTag:ut,KolTreeItemTag:dt,KolTreeTag:ft,KolVersionTag:`kol-version`}),mt=f(`tag-transformer`,()=>({})),ht=e=>typeof customElements<`u`&&customElements.get(n(e))!==void 0,gt=t=>{mt.transformer&&s.warn(`The tag name transformer was already registered. Components already defined keep their current tag and will not resolve under the new one.`,{forceLog:!0}),Object.values(pt).some(e=>ht(e)||ht(t(e)))&&s.warn(`Components are already defined while the tag name transformer is registered. They keep their current tag and will not resolve under the transformed one.`,{forceLog:!0});let n=e=>e.startsWith(`kol-`)?t(e):e;return e(n),mt.transformer=n,n},_t=()=>mt.transformer,vt=f(`bootstrap`,()=>({})),yt=!1;D();var bt=async(e,n,r)=>{let i=typeof process<`u`?`production`:void 0;d(r?.environment||i||`production`),he(r?.translation?.name??`de`,r?.translations),r?.transformTagName&&gt(r.transformTagName);let a=await t(e,n,r);return yt=!0,vt.options=r,s.info(`Development mode active - Enhanced debugging features available`),a},xt=()=>yt,St=()=>vt.options,Ct,wt;function Tt(){return wt||(wt=1,Ct=function(e){return function(t,n){if(!t)return e;var r;typeof t==`string`?r=t:n=t;var i=e;return r&&(i+=`__`+r),i+(n?Object.keys(n).reduce(function(e,t){var r=n[t];return r&&(e+=` `+(typeof r==`boolean`?i+`--`+t:i+`--`+t+`_`+r)),e},``):``)}}),Ct}var Et=Tt(),Dt=u(Et);function Ot(){let e=new Map,t=(t,n,r)=>{try{return e.get(t)(n,r)}catch{return e.set(t,Dt(t)).get(t)(n,r)}};return t.forBlock=e=>{let n=(n,r)=>t(e,n,r);return n.forElement=n=>r=>t(e,n,r),n},t}var kt=Ot(),At;(function(e){e.blur=`blur`,e.cancel=`cancel`,e.change=`change`,e.changeHeaderCells=`changeheadercells`,e.changePage=`changepage`,e.changePageSize=`changepagesize`,e.click=`click`,e.close=`close`,e.create=`create`,e.error=`error`,e.focus=`focus`,e.input=`input`,e.keydown=`keydown`,e.load=`load`,e.mousedown=`mousedown`,e.reset=`reset`,e.select=`select`,e.selectionChange=`selectionchange`,e.sortChange=`sortchange`,e.sort=`sort`,e.submit=`submit`,e.toggle=`toggle`})(At||={});var jt={bubbles:!0,cancelable:!0,composed:!0};function Mt(e,t=null){return new CustomEvent(e,Object.assign(Object.assign({},jt),{detail:t}))}function Nt(e,t,n){return e.dispatchEvent(Mt(t,n))}function Pt(e,t=null,n){let r=Mt(e,t);return n&&(Object.defineProperty(r,"target",{value:n}),Object.defineProperty(r,"currentTarget",{value:n})),r}var Ft=f(`tooltips`,()=>({open:0})),It=()=>{Ft.open++},Lt=()=>{Ft.open=Math.max(0,Ft.open-1)},Rt=e=>{Ft.open>0&&e.preventDefault()};new l(`kol`,i,o);var zt=class e{constructor(e,t){this.document=e,this.options=t,this.toastContainerElement=this.document.createElement(n(lt)),this.document.body.prepend(this.toastContainerElement),this.options?.defaultVariant&&s.info(`ToasterService: Default variant is deprecated. Use 'card' variant for all toasts instead.`)}static getInstance(t,n){if(!xt())throw Error(`Toaster: Call KoliBri bootstrap/register method first.`);let r=this.instances.get(t);return r||(r=new e(t,n),this.instances.set(t,r)),r}dispose(){let e=this.toastContainerElement;e?(this.toastContainerElement=void 0,e.remove()):s.warn(`Toaster service is already disposed.`)}enqueue(e){if(this.toastContainerElement&&typeof this.toastContainerElement.enqueue==`function`)return this.toastContainerElement.enqueue(e)}closeAll(e=!1){this.toastContainerElement&&typeof this.toastContainerElement.closeAll==`function`&&this.toastContainerElement.closeAll(e)}};zt.instances=new Map;var Bt;(function(e){e[`Die Bundesregierung`]=`BReg`,e[`Bundesministerium der Finanzen`]=`BMF`,e[`Bundesministerium des Innern, für Bau und Heimat`]=`BMI`,e[`Auswärtiges Amt`]=`AA`,e[`Bundesministerium für Wirtschaft und Energie`]=`BMWi`,e[`Bundesministerium der Justiz und für Verbraucherschutz`]=`BMJV`,e[`Bundesministerium für Arbeit und Soziales`]=`BMAS`,e[`Bundesministerium der Verteidigung`]=`BMVg`,e[`Bundesministerium für Ernährung und Landwirtschaft`]=`BMEL`,e[`Bundesministerium für Familie, Senioren, Frauen und Jugend`]=`BMFSFJ`,e[`Bundesministerium für Gesundheit`]=`BMG`,e[`Bundesministerium für Verkehr und digitale Infrastruktur`]=`BMVI`,e[`Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit`]=`BMU`,e[`Bundesministerium für Bildung und Forschung`]=`BMBF`,e[`Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung`]=`BMZ`})(Bt||={}),Object.getOwnPropertyNames(Bt);var Vt;(function(e){e[`Beschaffungsamt des Bundesministeriums des Innern`]=`BeschA`,e[`Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr`]=`BAAINBw`,e[`Bundesamt für äußere Restitutionen`]=`BAR`,e[`Bundesamt für Bauwesen und Raumordnung`]=`BBR`,e[`Bundesamt für Bevölkerungsschutz und Katastrophenhilfe`]=`BBK`,e[`Bundesamt für Familie und zivilgesellschaftliche Aufgaben`]=`BAFzA`,e[`Bundesamt für Güterverkehr`]=`BAG`,e[`Bundesamt für Justiz`]=`BfJ`,e[`Bundesamt für Kartographie und Geodäsie`]=`BKG`,e[`Bundesamt für kerntechnische Entsorgungssicherheit`]=`BASE`,e[`Bundesamt für Migration und Flüchtlinge`]=`BAMF`,e[`Bundesamt für Sicherheit in der Informationstechnik`]=`BSI`,e[`Bundesamt für Verbraucherschutz und Lebensmittelsicherheit`]=`BVL`,e[`Bundesamt für Verfassungsschutz`]=`BfV`,e[`Bundesamt für Wirtschaft und Ausfuhrkontrolle`]=`BAFA`,e[`Bundesamt für zentrale Dienste und offene Vermögensfragen`]=`BADV`,e[`Bundesanstalt für Verwaltungsdienstleistungen`]=`BAV`,e.Bundesarchiv=`BArch`,e[`Bundesaufsichtsamt für Flugsicherung`]=`BAF`,e.Bundesausgleichsamt=`BAA`,e.Bundeskartellamt=`BKartA`,e.Bundeskriminalamt=`BKA`,e.Bundesnachrichtendienst=`BND`,e[`Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen`]=`BNetzA`,e.Bundespolizeipräsidium=`BPOLP`,e[`Bundesprüfstelle für jugendgefährdende Medien`]=`BPjM`,e.Bundessortenamt=`BSA`,e.Bundessprachenamt=`BSprA`,e[`Bundesamt für Soziale Sicherung`]=`BAS`,e.Bundesverwaltungsamt=`BVA`,e[`Bundeszentralamt für Steuern`]=`BZSt`,e[`Deutsches Patent- und Markenamt`]=`DPMA`,e[`Eisenbahn-Bundesamt`]=`EBA`,e.Generalzolldirektion=`GZD`,e[`Militärischer Abschirmdienst`]=`MAD`,e[`Zentrale Stelle für Informationstechnik im Sicherheitsbereich`]=`ZITiS`})(Vt||={}),Object.getOwnPropertyNames(Vt);var Ht;(function(e){e[`Informationstechnikzentrum Bund`]=`ITZBund`,e[`Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben`]=`BDBOS`,e[`Bundesanstalt für Landwirtschaft und Ernährung`]=`BLE`,e[`Bundesanstalt Technisches Hilfswerk`]=`THW`,e[`Bundesinstitut für Arzneimittel und Medizinprodukte`]=`BfArM`,e[`Bundesinstitut für Bevölkerungsforschung`]=`BiB`,e[`Bundesinstitut für Sportwissenschaft`]=`BISp`})(Ht||={}),Object.getOwnPropertyNames(Ht);var O=new Map;O.set(Bt[`Die Bundesregierung`],[`Die`,`Bundesregierung`]),O.set(Bt[`Bundesministerium der Finanzen`],[`Bundesministerium`,`der Finanzen`]),O.set(Bt[`Bundesministerium des Innern, für Bau und Heimat`],[`Bundesministerium`,`des Inneren, für Bau`,`und Heimat`]),O.set(Bt[`Auswärtiges Amt`],[`Auswärtiges Amt`]),O.set(Bt[`Bundesministerium für Wirtschaft und Energie`],[`Bundesministerium`,`für Wirtschaft`,`und Energie`]),O.set(Bt[`Bundesministerium der Justiz und für Verbraucherschutz`],[`Bundesministerium`,`der Justiz und`,`für Verbraucherschutz`]),O.set(Bt[`Bundesministerium für Arbeit und Soziales`],[`Bundesministerium`,`für Arbeit und Soziales`]),O.set(Bt[`Bundesministerium der Verteidigung`],[`Bundesministerium`,`der Verteidigung`]),O.set(Bt[`Bundesministerium für Bildung und Forschung`],[`Bundesministerium`,`für Bildung`,`und Forschung`]),O.set(Bt[`Bundesministerium für Ernährung und Landwirtschaft`],[`Bundesministerium`,`für Ernährung`,`und Landwirtschaft`]),O.set(Bt[`Bundesministerium für Familie, Senioren, Frauen und Jugend`],[`Bundesministerium`,`für Familie, Senioren, Frauen`,`und Jugend`]),O.set(Bt[`Bundesministerium für Gesundheit`],[`Bundesministerium`,`für Gesundheit`]),O.set(Bt[`Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit`],[`Bundesministerium`,`für Umwelt, Naturschutz`,`und nukleare Sicherheit`]),O.set(Bt[`Bundesministerium für Verkehr und digitale Infrastruktur`],[`Bundesministerium`,`für Verkehr und`,`digitale Infrastruktur`]),O.set(Bt[`Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung`],[`Bundesministerium`,`für wirtschaftliche Zusammenarbeit`,`und Entwicklung`]),O.set(Vt[`Beschaffungsamt des Bundesministeriums des Innern`],[`Beschaffungsamt`,`des Bundesministeriums`,`des Innern`]),O.set(Vt[`Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr`],[]),O.set(Vt[`Bundesamt für äußere Restitutionen`],[]),O.set(Vt[`Bundesamt für Bauwesen und Raumordnung`],[]),O.set(Vt[`Bundesamt für Bevölkerungsschutz und Katastrophenhilfe`],[`Bundesamt`,`für Bevölkerungsschutz`,`und Katastrophenhilfe`]),O.set(Vt[`Bundesamt für Familie und zivilgesellschaftliche Aufgaben`],[`Bundesamt`,`für Familie und`,`zivilgesellschaftliche Aufgaben`]),O.set(Vt[`Bundesamt für Güterverkehr`],[`Bundesamt`,`für Güterverkehr`]),O.set(Vt[`Bundesamt für Justiz`],[`Bundesamt für`,`Justiz`]),O.set(Vt[`Bundesamt für Kartographie und Geodäsie`],[`Bundesamt für`,`Kartographie und Geodäsie`]),O.set(Vt[`Bundesamt für kerntechnische Entsorgungssicherheit`],[`Bundesamt für`,`kerntechnische`,`Entsorgungssicherheit`]),O.set(Vt[`Bundesamt für Migration und Flüchtlinge`],[`Bundesamt`,`für Migration`,`und Flüchtlinge`]),O.set(Vt[`Bundesamt für Sicherheit in der Informationstechnik`],[`Bundesamt`,`für Sicherheit in der`,`Informationstechnik`]),O.set(Vt[`Bundesamt für Verbraucherschutz und Lebensmittelsicherheit`],[`Bundesamt für`,`Verbraucherschutz und`,`Lebensmittelsicherheit`]),O.set(Vt[`Bundesamt für Verfassungsschutz`],[`Bundesamt für`,`Verfassungsschutz`]),O.set(Vt[`Bundesamt für Wirtschaft und Ausfuhrkontrolle`],[`Bundesamt`,`für Wirtschaft`,`Ausfuhrkontrolle`]),O.set(Vt[`Bundesamt für zentrale Dienste und offene Vermögensfragen`],[`Bundesamt`,`für zentrale Dienste und`,`offene Vermögensfragen`]),O.set(Vt[`Bundesanstalt für Verwaltungsdienstleistungen`],[`Bundesanstalt`,`für Verwaltungsdienstleistungen`]),O.set(Vt.Bundesarchiv,[`Das`,`Bundesarchiv`]),O.set(Vt[`Bundesaufsichtsamt für Flugsicherung`],[`Bundesaufsichtsamt`,`für Flugsicherung`]),O.set(Vt.Bundesausgleichsamt,[`Bundesausgleichsamt`]),O.set(Vt.Bundeskartellamt,[`Bundeskartellamt`]),O.set(Vt.Bundeskriminalamt,[`Bundeskriminalamt`]),O.set(Vt.Bundesnachrichtendienst,[`Bundesnachrichtendienst`]),O.set(Vt[`Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen`],[`Bundesnetzagentur`]),O.set(Vt.Bundespolizeipräsidium,[`Bundespolizeipräsidium`]),O.set(Vt[`Bundesprüfstelle für jugendgefährdende Medien`],[`Bundesprüfstelle`,`für jugendgefährdende`,`Medien`]),O.set(Vt.Bundessortenamt,[`Bundessortenamt`]),O.set(Vt.Bundessprachenamt,[`Bundessprachenamt`]),O.set(Vt[`Bundesamt für Soziale Sicherung`],[`Bundesamt`,`für Soziale Sicherung`]),O.set(Vt.Bundesverwaltungsamt,[`Bundesverwaltungsamt`]),O.set(Vt[`Bundeszentralamt für Steuern`],[`Bundeszentralamt`,`für Steuern`]),O.set(Vt[`Deutsches Patent- und Markenamt`],[`Deutsches`,`Patent- und Markenamt`]),O.set(Vt[`Eisenbahn-Bundesamt`],[`Eisenbahn-Bundesamt`]),O.set(Vt.Generalzolldirektion,[`Generalzolldirektion`]),O.set(Vt[`Militärischer Abschirmdienst`],[`Bundesamt für den`,`Militärischen Abschirmdienst`]),O.set(Vt[`Zentrale Stelle für Informationstechnik im Sicherheitsbereich`],[`Zentrale Stelle`,`für Informationstechnik`,`im Sicherheitsbereich`]),O.set(Ht[`Informationstechnikzentrum Bund`],[`Informations`,`Technik`,`Zentrum Bund`]),O.set(Ht[`Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben`],[`Bundesanstalt`,`für den Digitalfunk der Behörden und`,`Organisationen mit Sicherheitsaufgaben`]),O.set(Ht[`Bundesanstalt für Landwirtschaft und Ernährung`],[`Bundesanstalt für`,`Landwirtschaft und Ernährung`]),O.set(Ht[`Bundesanstalt Technisches Hilfswerk`],[`Bundesanstalt`,`Technisches Hilfswerk`]),O.set(Ht[`Bundesinstitut für Arzneimittel und Medizinprodukte`],[`Bundesinstitut`,`für Arzneimittel`,`und Medizinprodukte`]),O.set(Ht[`Bundesinstitut für Bevölkerungsforschung`],[`Bundesinstitut`,`für Bevölkerungsforschung`]),O.set(Ht[`Bundesinstitut für Sportwissenschaft`],[`Bundesinstitut`,`für Sportwissenschaft`]);var Ut=`hydrated`,Wt={kolibriVersion:`5.0.0-beta.2`},Gt=(e=>(e.Undefined=`undefined`,e.Null=`null`,e.String=`string`,e.Number=`number`,e.SpecialNumber=`number`,e.Boolean=`boolean`,e.BigInt=`bigint`,e))(Gt||{}),Kt=(e=>(e.Array=`array`,e.Date=`date`,e.Map=`map`,e.Object=`object`,e.RegularExpression=`regexp`,e.Set=`set`,e.Channel=`channel`,e.Symbol=`symbol`,e))(Kt||{}),qt=`type`,Jt=`value`,Yt=`serialized:`;function Xt(e,t,n){let r=typeof HTMLElement<`u`?HTMLElement.prototype:null;for(;e&&e!==r;){let r=Object.getOwnPropertyDescriptor(e,t);if(r&&(!n||r.get))return r;e=Object.getPrototypeOf(e)}}var Zt,Qt=(e,t)=>{Object.entries(t.o.t??{}).map((([n,[r]])=>{if(31&r||32&r){let r=e[n],i=Xt(Object.getPrototypeOf(e),n,!0)||Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(e,n,{get(){return i.get.call(this)},set(e){i.set.call(this,e)},configurable:!0,enumerable:!0}),t.i.has(n)?e[n]=t.i.get(n):r!==void 0&&(e[n]=r)}}))},$t=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},en=(e,t)=>t in e,tn=(e,t)=>(0,console.error)(e,t),nn=new Map,rn=[],an=`s-id`,on=`sty-id`,sn=`c-id`,cn=`http://www.w3.org/1999/xlink`,ln=typeof window<`u`?window:{},un=ln.HTMLElement||class{},dn={u:0,p:``,jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)},fn=(()=>{var e;let t=!1;try{(e=ln.document)==null||e.addEventListener(`e`,null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),pn=(()=>{try{return!!ln.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync==`function`)}catch{}return!1})(),mn=!!pn&&!!ln.document&&Object.getOwnPropertyDescriptor(ln.document.adoptedStyleSheets,`length`).writable,hn=!1,gn=[],_n=[],vn=()=>ln.document?.hidden?setTimeout(xn,16):dn.raf(xn),yn=(e,t)=>n=>{e.push(n),hn||(hn=!0,t&&4&dn.u?Sn(xn):vn())},bn=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){tn(e)}e.length=0},xn=()=>{bn(gn),bn(_n),(hn=gn.length>0)&&vn()},Sn=e=>Promise.resolve(void 0).then(e),Cn=yn(_n,!0);function wn(){let e=this.attachShadow({mode:`open`});Zt===void 0&&(Zt=null),Zt&&(mn?e.adoptedStyleSheets.push(Zt):e.adoptedStyleSheets=[...e.adoptedStyleSheets,Zt])}var Tn=(e,t,n,r)=>{if(e[`s-ol`]&&e[`s-ol`].isConnected)return;let i=document.createTextNode(``);if(i[`s-nr`]=e,!t[`s-cr`]||!t[`s-cr`].parentNode)return;let a=t[`s-cr`].parentNode,o=En(a,`appendChild`);if(r!==void 0){i[`s-oo`]=r;let e=En(a,`childNodes`),t=[i];e.forEach((e=>{e[`s-nr`]&&t.push(e)})),t.sort(((e,t)=>!e[`s-oo`]||e[`s-oo`]<(t[`s-oo`]||0)?-1:+(!t[`s-oo`]||t[`s-oo`]<e[`s-oo`]))),t.forEach((e=>o.call(a,e)))}else o.call(a,i);e[`s-ol`]=i,e[`s-sh`]=t[`s-hn`]};function En(e,t){if(`__`+t in e){let n=e[`__`+t];return typeof n==`function`?n.bind(e):n}return typeof e[t]==`function`?e[t].bind(e):e[t]}var Dn=new WeakMap,On=(e,t,n)=>{let r=nn.get(e);pn&&n?(r||=new CSSStyleSheet,typeof r==`string`?r=t:r.replaceSync(t)):r=t,nn.set(e,r)},kn=(e,t,n)=>{let r=An(t,n),i=nn.get(r);if(!ln.document)return r;if(e=e.nodeType===11?e:ln.document,i){if(typeof i==`string`){let n,a=Dn.get(e=e.head||e);if(a||Dn.set(e,a=new Set),e.querySelector(`[${on}="${r}"]`))a.add(r);else if(!a.has(r)){n=ln.document.createElement(`style`),n.textContent=i;let o=dn.v??function(){return(ln.document.head?.querySelector(`meta[name="csp-nonce"]`))?.getAttribute(`content`)??void 0}();if(o!=null&&n.setAttribute(`nonce`,o),!(1&t.u)){if(e.nodeName===`HEAD`){let t=e.querySelectorAll(`link[rel=preconnect]`),r=t.length>0?t[t.length-1].nextSibling:e.querySelector(`style`);e.insertBefore(n,r?.parentNode===e?r:null)}else if(`host`in e){if(pn){let t=new(e.defaultView??e.ownerDocument.defaultView).CSSStyleSheet;t.replaceSync(i),mn?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{let t=e.querySelector(`style`);t?t.textContent=i+t.textContent:e.prepend(n)}}else e.append(n)}1&t.u&&e.insertBefore(n,null),4&t.u&&(n.textContent+=`slot-fb{display:contents}slot-fb[hidden]{display:none}`),a&&a.add(r)}}else{let t=Dn.get(e);if(t||Dn.set(e,t=new Set),!t.has(r)){let n=e.defaultView??e.ownerDocument.defaultView,a;if(i.constructor===n.CSSStyleSheet)a=i;else{a=new n.CSSStyleSheet;for(let e=0;e<i.cssRules.length;e++)a.insertRule(i.cssRules[e].cssText,e)}if(mn?e.adoptedStyleSheets.push(a):e.adoptedStyleSheets=[...e.adoptedStyleSheets,a],t.add(r),`host`in e){let t=e.querySelector(`[${on}="${r}"]`);t&&Cn((()=>t.remove()))}}}}return r},An=(e,t)=>`sc-`+(t&&32&e.u?e.m+`-`+t:e.m),jn=e=>(e=typeof e)==`object`||e===`function`,k=(e,t,...n)=>{typeof e==`string`&&(e=M(e));let r=null,i=null,a=!1,o=!1,s=[],c=t=>{for(let n=0;n<t.length;n++)if(r=t[n],Array.isArray(r))c(r);else if(r!=null&&typeof r!=`boolean`){if(a=typeof e!=`function`&&!jn(r))r=String(r);else if(typeof e!=`function`&&r.u===void 0){tn(`Invalid vNode child`);continue}a&&o?s[s.length-1].$+=r:s.push(a?Mn(null,r):r),o=a}};if(c(n),t){t.key&&(i=t.key);{let e=t.className||t.class;e&&(t.class=typeof e==`object`?Object.keys(e).filter((t=>e[t])).join(` `):e)}}if(typeof e==`function`)return e(t===null?{}:t,s,Nn);let l=Mn(e,null);return l.k=t,s.length>0&&(l.T=s),l.O=i,l},Mn=(e,t)=>({u:0,j:e,$:t??null,M:null,T:null,k:null,O:null}),A={},Nn={forEach:(e,t)=>e.map(Pn).forEach(t),map:(e,t)=>e.map(Pn).map(t).map(Fn)},Pn=e=>({vattrs:e.k,vchildren:e.T,vkey:e.O,vname:e.N,vtag:e.j,vtext:e.$}),Fn=e=>{if(typeof e.vtag==`function`){let t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),k(e.vtag,t,...e.vchildren||[])}let t=Mn(e.vtag,e.vtext);return t.k=e.vattrs,t.T=e.vchildren,t.O=e.vkey,t.N=e.vname,t},In=(e,t,n,r,i,a,o,s=[])=>{let c,l,u,d;if(a.nodeType===1){if(c=a.getAttribute(sn),c&&a!==i&&(l=c.split(`.`),l[0]===o||l[0]===`0`)){u=Rn({u:0,A:l[0],I:l[1],C:l[2],_:l[3],j:a.tagName.toLowerCase(),M:a,k:{class:a.className||``}}),t.push(u),a.removeAttribute(sn),e.T||(e.T=[]);let i=u.M.getAttribute(`s-sn`);typeof i==`string`&&(u.j===`slot-fb`&&zn(i,l[2],u,a,e,t,n,r,s),u.M[`s-sn`]=i,u.M.removeAttribute(`s-sn`)),u._!==void 0&&(e.T[u._]=u),e=u,r&&u.C===`0`&&(r[u._]=u.M)}if(a.shadowRoot)for(d=a.shadowRoot.childNodes.length-1;d>=0;d--)In(e,t,n,r,i,a.shadowRoot.childNodes[d],o,s);let f=a.__childNodes||a.childNodes;for(d=f.length-1;d>=0;d--)In(e,t,n,r,i,f[d],o,s)}else if(a.nodeType===8)l=a.nodeValue.split(`.`),(l[1]===o||l[1]===`0`)&&(c=l[0],u=Rn({A:l[1],I:l[2],C:l[3],_:l[4]||`0`,M:a,k:null,T:null,O:null,N:null,j:null,$:null}),c===`t`?(u.M=Vn(a,3),u.M&&u.M.nodeType===3&&(u.$=u.M.textContent,t.push(u),a.remove(),o===u.A&&(e.T||(e.T=[]),e.T[u._]=u),r&&u.C===`0`&&(r[u._]=u.M))):c===`c`?(u.M=Vn(a,8),u.M&&u.M.nodeType===8&&(t.push(u),a.remove())):u.A===o&&(c===`s`?zn(a[`s-sn`]=l[5]||``,l[2],u,a,e,t,n,r,s):c===`r`&&r&&a.remove()));else if(e&&e.j===`style`){let t=Mn(null,a.textContent);t.M=a,t._=`0`,e.T=[t]}return e},Ln=(e,t)=>{if(e.nodeType===1){let n=e[an]||e.getAttribute(an);n&&t.set(n,e);let r=0;if(e.shadowRoot)for(;r<e.shadowRoot.childNodes.length;r++)Ln(e.shadowRoot.childNodes[r],t);let i=e.__childNodes||e.childNodes;for(r=0;r<i.length;r++)Ln(i[r],t)}else if(e.nodeType===8){let n=e.nodeValue.split(`.`);n[0]===`o`&&(t.set(n[1]+`.`+n[2],e),e.nodeValue=``,e[`s-en`]=n[3])}},Rn=e=>({u:0,A:null,I:null,C:null,_:`0`,M:null,k:null,T:null,O:null,N:null,j:null,$:null,...e});function zn(e,t,n,r,i,a,o,s,c){r[`s-sr`]=!0,n.N=e||null,n.j=`slot`;let l=i?.M?i.M[`s-id`]||i.M.getAttribute(`s-id`):``;if(s&&ln.document){let a=n.M=ln.document.createElement(n.j);n.N&&n.M.setAttribute(`name`,e),i.M.shadowRoot&&l&&l!==n.A?En(i.M,`insertBefore`)(a,En(i.M,`children`)[0]):En(En(r,`parentNode`),`insertBefore`)(a,r),Bn(c,t,e,r,n.A),r.remove(),n.C===`0`&&(s[n._]=n.M)}else{let a=n.M,o=l&&l!==n.A&&i.M.shadowRoot;Bn(c,t,e,r,o?l:n.A),function(e){if(e.assignedElements||e.assignedNodes||!e[`s-sr`])return;let t=t=>function(e){let n=[],r=this[`s-sn`];e!=null&&e.flatten&&console.error(`
2
+ Flattening is not supported for Stencil non-shadow slots.
3
+ You can use \`.childNodes\` to nested slot fallback content.
4
+ If you have a particular use case, please open an issue on the Stencil repo.
5
+ `);let i=this[`s-cr`].parentElement;return(i.__childNodes?i.childNodes:(e=>{let t=[];for(let n=0;n<e.length;n++){let r=e[n][`s-nr`]||void 0;r&&r.isConnected&&t.push(r)}return t})(i.childNodes)).forEach((e=>{r===(e=>typeof e[`s-sn`]==`string`?e[`s-sn`]:e.nodeType===1&&e.getAttribute(`slot`)||void 0)(e)&&n.push(e)})),t?n.filter((e=>e.nodeType===1)):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}(r),o&&i.M.insertBefore(a,i.M.children[0])}a.push(n),o.push(n),i.T||=[],i.T[n._]=n}var Bn=(e,t,n,r,i)=>{let a=r.nextSibling;if(e[t]=e[t]||[],a&&!a.nodeValue?.startsWith(`s.`))do!a||(a.getAttribute&&a.getAttribute(`slot`)||a[`s-sn`])!==n&&(n!==``||a[`s-sn`]||a.getAttribute&&a.getAttribute(`slot`)||a.nodeType!==8&&a.nodeType!==3)||(a[`s-sn`]=n,e[t].push({slot:r,node:a,hostId:i})),a=a?.nextSibling;while(a&&!a.nodeValue?.startsWith(`s.`))},Vn=(e,t)=>{let n=e;do n=n.nextSibling;while(n&&(n.nodeType!==t||!n.nodeValue));return n},Hn=e=>{rn.length=0,rn.push(e)},Un=e=>{if(!e)return;let t=Object.keys(e);if(t.length===0)return;let n=!1;for(let r of t){if(n)break;for(let t of e[r])if(typeof t==`string`){n=!0;break}}if(!n)return e;let r={};for(let n of t)r[n]=e[n].map((e=>typeof e==`string`?{[e]:0}:e));return r},Wn=class e{static fromLocalValue(t){let n=t[qt],r=Jt in t?t[Jt]:void 0;switch(n){case`string`:case`boolean`:return r;case`bigint`:return BigInt(r);case`undefined`:return;case`null`:return null;case`number`:return r===`NaN`?NaN:r===`-0`?-0:r===`Infinity`?1/0:r===`-Infinity`?-1/0:r;case`array`:return r.map((t=>e.fromLocalValue(t)));case`date`:return new Date(r);case`map`:let t=new Map;for(let[n,i]of r){let r=typeof n==`object`&&n?e.fromLocalValue(n):n,a=e.fromLocalValue(i);t.set(r,a)}return t;case`object`:let i={};for(let[t,n]of r)i[t]=e.fromLocalValue(n);return i;case`regexp`:let{pattern:a,flags:o}=r;return new RegExp(a,o);case`set`:let s=new Set;for(let t of r)s.add(e.fromLocalValue(t));return s;case`symbol`:return Symbol(r);default:throw Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map((t=>e.fromLocalValue(t)))}static isLocalValueObject(e){if(typeof e!=`object`||!e||!e.hasOwnProperty(qt))return!1;let t=e[qt];return!!Object.values({...Gt,...Kt}).includes(t)&&(t===`null`||t===`undefined`||e.hasOwnProperty(Jt))}},Gn,Kn=(e,t)=>{return typeof e==`string`&&e.startsWith(Yt)?e=typeof(n=e)==`string`&&n.startsWith(Yt)?Wn.fromLocalValue(JSON.parse(function(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return new TextDecoder().decode(n)}(n.slice(11)))):n:e==null||jn(e)?e:4&t?e!==`false`&&(e===``||!!e):2&t?typeof e==`string`?parseFloat(e):typeof e==`number`?e:NaN:1&t?String(e):e;var n},qn=(e,t,n,r,i,a,o)=>{if(n===r)return;let s=en(e,t),c=t.toLowerCase();if(t===`class`){let t=e.classList,i=Qn(n),s=Qn(r);if((e[`s-si`]||e[`s-sc`])&&o){let n=e[`s-sc`]||e[`s-si`];s.push(n),i.forEach((e=>{e.startsWith(n)&&s.push(e)})),s=[...new Set(s)].filter((e=>e)),t.add(...s)}else{let n=i.filter((e=>e&&!s.includes(e)));if(o&&!(4&a)){let t=Zn(e);n=n.filter((e=>!t.includes(e)))}t.remove(...n),t.add(...s.filter((e=>e&&!i.includes(e))))}}else if(t===`style`){for(let t in n)r&&r[t]!=null||(t.includes(`-`)?e.style.removeProperty(t):e.style[t]=``);for(let t in r)n&&r[t]===n[t]||(t.includes(`-`)?e.style.setProperty(t,r[t]):e.style[t]=r[t])}else if(t!==`key`){if(t===`ref`)r&&pr(r,e);else if(e.__lookupSetter__(t)||t[0]!==`o`||t[1]!==`n`){if(t[0]===`a`&&t.startsWith(`attr:`)){let n=t.slice(5),i;{let t=$t(e);if(t&&t.o&&t.o.t){let e=t.o.t[n];e&&e[1]&&(i=e[1])}}i||=n.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),r==null||!1===r?!1===r&&e.getAttribute(i)!==``||e.removeAttribute(i):e.setAttribute(i,!0===r?``:r);return}if(t[0]===`p`&&t.startsWith(`prop:`)){let n=t.slice(5);try{e[n]=r}catch{}return}{let o=jn(r);if((s||o&&r!==null)&&!i)try{if(e.tagName.includes(`-`))e[t]!==r&&(e[t]=r);else{let i=r??``;t===`list`?s=!1:n!=null&&e[t]===i||(typeof e.__lookupSetter__(t)==`function`?e[t]=i:e.setAttribute(t,i))}}catch{}let l=!1;c!==(c=c.replace(/^xlink\:?/,``))&&(t=c,l=!0),r==null||!1===r?(!1!==r||e.getAttribute(t)===``||4&a&&!Yn(t))&&(l?e.removeAttributeNS(cn,t):e.removeAttribute(t)):(!s||4&a||i)&&!o&&e.nodeType===1&&(r=!0===r?``:r,l?e.setAttributeNS(cn,t,r):e.setAttribute(t,r))}}else if(t=t[2]===`-`?t.slice(3):en(ln,c)?c.slice(2):c[2]+t.slice(3),n||r){let i=t.endsWith($n);t=t.replace(er,``),n&&dn.rel(e,t,n,i),r&&dn.ael(e,t,r,i)}}},Jn=new Set([`draggable`,`contenteditable`,`spellcheck`]),Yn=e=>Jn.has(e)||e.startsWith(`aria-`),Xn=/\s/,Zn=e=>{let t=$t(e);if(!(t&&2&t.u))return[];let n=Qn(t.F?.k?.class);return n.push(Ut??`hydrated`),n},Qn=e=>(typeof e==`object`&&e&&`baseVal`in e&&(e=e.baseVal),e&&typeof e==`string`?e.split(Xn):[]),$n=`Capture`,er=RegExp($n+`$`),tr=(e,t,n,r)=>{let i=t.M.nodeType===11&&t.M.host?t.M.host:t.M,a=e&&e.k||{},o=t.k||{};for(let e of nr(Object.keys(a)))e in o||qn(i,e,a[e],void 0,n,t.u,r);for(let e of nr(Object.keys(o)))qn(i,e,a[e],o[e],n,t.u,r)};function nr(e){return e.includes(`ref`)?[...e.filter((e=>e!==`ref`)),`ref`]:e}var rr=!1,ir=!1,ar=[],or=[],sr=(e,t,n)=>{let r=t.T[n],i,a,o=0;if(r.$!=null)i=r.M=ln.document.createTextNode(r.$);else{if(ir||=r.j===`svg`,!ln.document)throw Error(`You are trying to render a Stencil component in an environment that doesn't support the DOM.`);if(i=r.M=ln.document.createElementNS(ir?`http://www.w3.org/2000/svg`:`http://www.w3.org/1999/xhtml`,r.j),ir&&r.j===`foreignObject`&&(ir=!1),tr(null,r,ir),r.T){let t=r.j===`template`?i.content:i;for(o=0;o<r.T.length;++o)a=sr(e,r,o),a&&t.appendChild(a)}r.j===`svg`?ir=!1:i.tagName===`foreignObject`&&(ir=!0)}return i[`s-hn`]=Gn,i},cr=(e,t,n,r,i,a)=>{let o,s=e;for(s.shadowRoot&&s.tagName===Gn&&(s=s.shadowRoot),n.j===`template`&&(s=s.content);i<=a;++i)r[i]&&(o=sr(null,n,i),o&&(r[i].M=o,mr(s,o,t)))},lr=(e,t,n)=>{for(let r=t;r<=n;++r){let t=e[r];if(t){let e=t.M;fr(t),e&&e.remove()}}},ur=(e,t,n=!1)=>e.j===t.j&&(n?(n&&!e.O&&t.O&&(e.O=t.O),!0):e.O===t.O),dr=(e,t,n=!1)=>{let r=t.M=e.M,i=e.T,a=t.T,o=t.j,s=t.$;s==null?(ir=o===`svg`||o!==`foreignObject`&&ir,o!==`slot`||rr||e.N!==t.N&&(t.M[`s-sn`]=t.N||``,(e=>{dn.u|=1;let t=e.closest(Gn.toLowerCase());if(t!=null){let n=Array.from(t.__childNodes||t.childNodes).find((e=>e[`s-cr`])),r=Array.from(e.__childNodes||e.childNodes);for(let e of n?r.reverse():r)e[`s-sh`]!=null&&(mr(t,e,n??null),e[`s-sh`]=void 0)}dn.u&=-2})(t.M.parentElement)),tr(e,t,ir,n),i!==null&&a!==null?((e,t,n,r,i=!1)=>{let a,o,s=0,c=0,l=0,u=0,d=t.length-1,f=t[0],p=t[d],m=r.length-1,h=r[0],g=r[m],_=n.j===`template`?e.content:e;for(;s<=d&&c<=m;)if(f==null)f=t[++s];else if(p==null)p=t[--d];else if(h==null)h=r[++c];else if(g==null)g=r[--m];else if(ur(f,h,i))dr(f,h,i),f=t[++s],h=r[++c];else if(ur(p,g,i))dr(p,g,i),p=t[--d],g=r[--m];else if(ur(f,g,i))dr(f,g,i),mr(_,f.M,p.M.nextSibling),f=t[++s],g=r[--m];else if(ur(p,h,i))dr(p,h,i),mr(_,p.M,f.M),p=t[--d],h=r[++c];else{for(l=-1,u=s;u<=d;++u)if(t[u]&&t[u].O!==null&&t[u].O===h.O){l=u;break}l>=0?(o=t[l],o.j===h.j?(dr(o,h,i),t[l]=void 0,a=o.M):a=sr(t&&t[c],n,c),h=r[++c]):(a=sr(t&&t[c],n,c),h=r[++c]),a&&mr(f.M.parentNode,a,f.M)}s>d?cr(e,r[m+1]==null?null:r[m+1].M,n,r,c,m):c>m&&lr(t,s,d)})(r,i,t,a,n):a===null?n||i===null?n&&i!==null&&a===null&&(t.T=i):lr(i,0,i.length-1):(e.$!==null&&(r.textContent=``),cr(r,null,t,a,0,a.length-1)),ir&&o===`svg`&&(ir=!1)):e.$!==s&&(r.data=s)},fr=e=>{e.k&&e.k.ref&&ar.push((()=>e.k.ref(null))),e.T&&e.T.map(fr)},pr=(e,t)=>{or.push((()=>e(t)))},mr=(e,t,n)=>e?.insertBefore(t,n),hr=(e,t,n=!1)=>{let r=e.$hostElement$,i=e.o,a=e.F||Mn(null,null);var o;let s=(o=t)&&o.j===A?t:k(null,null,t);if(Gn=r.tagName,i.U&&(s.k=s.k||{},i.U.forEach((([e,t])=>{s.k[t]=r[e]}))),n&&s.k)for(let e of Object.keys(s.k))r.hasAttribute(e)&&![`key`,`ref`,`style`,`class`].includes(e)&&(s.k[e]=r[e]);s.j=null,s.u|=4,e.F=s,s.M=a.M=r.shadowRoot||r,rr=!(!(1&i.u)||128&i.u),dr(a,s,n),ar.forEach((e=>e())),ar.length=0,or.forEach((e=>e())),or.length=0},gr=(e,t)=>{if(t&&!e.P&&t[`s-p`]){let n=t[`s-p`].push(new Promise((r=>e.P=()=>{t[`s-p`].splice(n-1,1),r()})))}},_r=(e,t)=>{if(e.u|=16,4&e.u)return void(e.u|=512);gr(e,e.q);let n=()=>vr(e,t);if(!t)return n();queueMicrotask((()=>{n()}))},vr=(e,t)=>{let n=e.$hostElement$,r=n;if(!r)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=Er(r,t?`componentWillLoad`:`componentWillUpdate`,void 0,n),i=yr(i,(()=>Er(r,`componentWillRender`,void 0,n))),yr(i,(()=>xr(e,r,t)))},yr=(e,t)=>br(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),br=e=>e instanceof Promise||e&&e.then&&typeof e.then==`function`,xr=async(e,t,n)=>{let r=e.$hostElement$,i=r[`s-rc`];n&&(e=>{let t=e.o,n=e.$hostElement$,r=t.u,i=kn(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.D);10&r&&(n[`s-sc`]=i,n.classList.add(i+`-h`))})(e),Sr(e,t,r,n),i&&(i.map((e=>e())),r[`s-rc`]=void 0);{let t=r[`s-p`]??[],n=()=>Cr(e);t.length===0?n():(Promise.all(t).then(n).catch(n),e.u|=4,t.length=0)}},Sr=(e,t,n,r)=>{try{t=t.render&&t.render(),e.u&=-17,e.u|=2,hr(e,t,r)}catch(t){tn(t,e.$hostElement$)}return null},Cr=e=>{let t=e.$hostElement$,n=t,r=e.q;Er(n,`componentDidRender`,void 0,t),64&e.u?Er(n,`componentDidUpdate`,void 0,t):(e.u|=64,Dr(t),Er(n,`componentDidLoad`,void 0,t),e.W(t),r||Tr()),e.P&&=(e.P(),void 0),512&e.u&&Sn((()=>_r(e,!1))),e.u&=-517},wr=e=>{{let t=$t(e),n=t?.$hostElement$?.isConnected;return n&&(18&t.u)==2&&_r(t,!1),n}},Tr=()=>{var e;Sn((()=>(e=>{let t=dn.ce(`appload`,{detail:{namespace:`kolibri`}});return e.dispatchEvent(t),t})(ln))),(e=dn.J)!=null&&e.size&&dn.J.clear()},Er=(e,t,n,r)=>{if(e&&e[t])try{return e[t](n)}catch(e){tn(e,r)}},Dr=e=>e.classList.add(Ut??`hydrated`),Or=(e,t,n,r)=>{let i=$t(e);if(!i)return;let a=e,o=i.i.get(t),s=i.u,c=a;if(n=Kn(n,r.t[t][0]),n!==o&&!(Number.isNaN(o)&&Number.isNaN(n))){if(i.i.set(t,n),r.V){let e=r.V[t];e&&e.map((e=>{try{let[[r,a]]=Object.entries(e);(128&s||1&a)&&(c?c[r](n,o,t):i.K.push((()=>{i.Y[r](n,o,t)})))}catch(e){tn(e,a)}}))}if(2&s){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,o,t)&&!(16&s))return;16&s||_r(i,!1)}}},kr=(e,t)=>{let n=e.prototype;{e.watchers&&!t.V&&(t.V=Un(e.watchers)),e.deserializers&&!t.Z&&(t.Z=e.deserializers),e.serializers&&!t.X&&(t.X=e.serializers);let r=Object.entries(t.t??{});r.map((([e,[r]])=>{if(31&r||32&r){let{get:i,set:a}=Xt(n,e)||{};i&&(t.t[e][0]|=2048),a&&(t.t[e][0]|=4096),Object.defineProperty(n,e,{get(){return i?i.apply(this):(t=e,$t(this).i.get(t));var t},configurable:!0,enumerable:!0}),Object.defineProperty(n,e,{set(n){let i=$t(this);if(i){if(a)return(32&r?this[e]:i.$hostElement$[e])===void 0&&i.i.get(e)&&(n=i.i.get(e)),a.apply(this,[Kn(n,r)]),void Or(this,e,n=32&r?this[e]:i.$hostElement$[e],t);Or(this,e,n,t)}}})}}));{let i=new Map;n.attributeChangedCallback=function(e,a,o){dn.jmp((()=>{let s=i.get(e),c=$t(this);if(this.hasOwnProperty(s),n.hasOwnProperty(s)&&typeof this[s]==`number`&&this[s]==o)return;if(s==null){let n=c?.u;if(c&&n&&!(8&n)&&o!==a){let r=this;(t.V?.[e])?.forEach((t=>{let[[i,s]]=Object.entries(t);r?.[i]!=null&&(128&n||1&s)&&r[i].call(r,o,a,e)}))}return}let l=r.find((([e])=>e===s)),u=l?l[1][0]:0,d=4&u;if(512&u&&8&u&&!jn(this[s])&&((f=this[s])==null||!1===f?null:!0===f?``:String(f))===o)return;var f;let p=d&&o===null&&this[s]===void 0;d&&(o=o!==null&&o!==`false`);let m=Object.getOwnPropertyDescriptor(n,s);p||o===this[s]||o==null&&this[s]==null||m.get&&!m.set||(this[s]=o)}))},e.observedAttributes=Array.from(new Set([...Object.keys(t.V??{}),...r.filter((([e,t])=>31&t[0])).map((([e,n])=>{var r;let a=n[1]||e;return i.set(a,e),512&n[0]&&((r=t.U)==null||r.push([e,a])),a}))]))}}return e},Ar=async(e,t,n)=>{let r;try{if(!(32&t.u)&&(t.u|=32,t.u&=-1025,r=e.constructor,customElements.whenDefined(e.localName).then((()=>t.u|=128)),r&&r.style)){let i;typeof r.style==`string`?i=r.style:typeof r.style!=`string`&&(t.D=(e=>rn.map((t=>t(e))).find((e=>!!e)))(e),t.D&&(i=r.style[t.D]));let a=An(n,t.D);nn.has(a)||On(a,i,!!(1&n.u))}let i=t.q,a=()=>_r(t,!0);i&&i[`s-rc`]?i[`s-rc`].push(a):a()}catch(n){tn(n,e),t.P&&=(t.P(),void 0),!t.W||1024&t.u||t.W(e)}},j=(e,t)=>{let n={u:t[0],m:t[1]};try{n.t=t[2],n.ee=t[3],n.V=Un(e.V),n.Z=e.Z,n.X=e.X,n.U=[],(e=>{if(!ln.document)return;let t=ln.document.querySelectorAll(`[${on}]`),n=0;for(;n<t.length;n++){let r=t[n].getAttribute(on);e.some((e=>{let t=`sc-`+e.m;return 1&e.u&&(r===t||32&e.u&&r.startsWith(t+`-`))}))&&On(r,t[n].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,`$1{`),!0)}})([n]);let r=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((e,t)=>{let n={u:0,$hostElement$:e,o:t,i:new Map,te:new Map};n.ne=new Promise((e=>n.W=e)),e[`s-p`]=[],e[`s-rc`]=[];let r=n;e.__stencil__getHostRef=()=>r,512&t.u&&Qt(e,n)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){let e=$t(this);if(!e)return;Mr(this,e,n.ee),this.__hasHostListenerAttached=!0}(e=>{if(!(1&dn.u)){let t=$t(e);if(!t)return;let n=t.o;if(1&t.u)Mr(e,t,n.ee),t!=null&&t.Y||(1024&t.u?setTimeout((()=>Ar(e,t,n)),1e3):t!=null&&t.ne&&t.ne.then((()=>{})));else{let r;if(t.u|=1,r=e.getAttribute(an),r){if(1&n.u){let t=kn(e.shadowRoot,n,e.getAttribute(`s-mode`));e.classList.remove(t+`-h`,t+`-s`)}((e,t,n,r)=>{var i;let a=e.shadowRoot,o=[],s=[],c=a?[]:null,l=Mn(t,null);l.M=e,!ln.document||dn.J&&dn.J.size||Ln(ln.document.body,dn.J=new Map),e[an]=n,e.removeAttribute(an),r.F=In(l,o,[],c,e,e,n,s);let u=0,d=o.length,f;for(;u<d;u++){f=o[u];let n=f.A+`.`+f.I,r=dn.J.get(n),i=f.M;if(a){if(f.j?.toString().includes(`-`)&&f.j!==`slot-fb`&&!f.M.shadowRoot){let e=$t(f.M);if(e){let t=An(e.o,f.M.getAttribute(`s-mode`)),n=ln.document.querySelector(`style[sty-id="${t}"]`);n&&c.unshift(n.cloneNode(!0))}}}else i[`s-hn`]=M(t).toUpperCase(),f.j===`slot`&&(i[`s-cr`]=e[`s-cr`]);f.j===`slot`&&(f.N=f.M[`s-sn`]||f.M.name||null,f.T?(f.u|=2,f.M.childNodes.length||f.T.forEach((e=>{f.M.appendChild(e.M)}))):f.u|=1),r&&r.isConnected&&(r.parentElement.shadowRoot&&r[`s-en`]===``&&r.parentNode.insertBefore(i,r.nextSibling),r.parentNode.removeChild(r),a||(i[`s-oo`]=parseInt(f.I))),r&&!r[`s-id`]&&dn.J.delete(n)}let p=[],m=s.length,h,g,_,v,y=0,b=0;for(;y<m;y++)if(h=s[y],h&&h.length)for(_=h.length,g=0;g<_;g++){if(v=h[g],p[v.hostId]||(p[v.hostId]=dn.J.get(v.hostId)),!p[v.hostId])continue;let e=p[v.hostId];e.shadowRoot&&v.node.parentElement!==e&&e.insertBefore(v.node,h[g-1]?.node?.nextSibling),e.shadowRoot&&a||(v.slot[`s-cr`]||(v.slot[`s-cr`]=e[`s-cr`],v.slot[`s-cr`]=!v.slot[`s-cr`]&&e.shadowRoot?e:(e.__childNodes||e.childNodes)[0]),Tn(v.node,v.slot,0,v.node[`s-oo`]||b),(i=v.node.parentElement)!=null&&i.shadowRoot&&v.node.getAttribute&&v.node.getAttribute(`slot`)&&v.node.removeAttribute(`slot`)),b=(v.node[`s-oo`]||b)+1}if(a&&!a.childNodes.length){let t=0,n=c.length;if(n){for(;t<n;t++){let e=c[t];e&&a.appendChild(e)}Array.from(e.childNodes).forEach((e=>{typeof e[`s-en`]!=`string`&&typeof e[`s-sn`]!=`string`&&(e.nodeType===1&&e.slot&&e.hidden?e.removeAttribute(`hidden`):e.nodeType!==8||e.nodeValue||e.parentNode.removeChild(e))}))}}r.$hostElement$=e})(e,n.m,r,t)}{let n=e;for(;n=n.parentNode||n.host;)if(n.nodeType===1&&n.hasAttribute(`s-id`)&&n[`s-p`]||n[`s-p`]){gr(t,t.q=n);break}}n.t&&Object.entries(n.t).map((([t,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(e,t)){let n=e[t];delete e[t],e[t]=n}})),Ar(e,t,n)}}})(this),r&&r.call(this)},disconnectedCallback(){(async e=>{if(!(1&dn.u)){let t=$t(e);t!=null&&t.oe&&(t.oe.map((e=>e())),t.oe=void 0)}Dn.has(e)&&Dn.delete(e),e.shadowRoot&&Dn.has(e.shadowRoot)&&Dn.delete(e.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!==`open`)throw Error(`Unable to re-use existing shadow root for ${n.m}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else wn.call(this,n)}}),Object.defineProperty(e,"is",{value:n.m,configurable:!0}),kr(e,n)}catch(t){return tn(t),e}},jr=(e,t)=>t,Mr=(e,t,n)=>{n&&ln.document&&n.map((([n,r,i])=>{let a=e,o=Nr(t,i),s=Pr(n);dn.ael(a,r,o,s),(t.oe=t.oe||[]).push((()=>dn.rel(a,r,o,s)))}))},Nr=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(t){tn(t,e.$hostElement$)}},Pr=e=>fn?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),Fr=void 0;function M(e){return Fr?Fr(e):e}function Ir(e){Fr&&console.warn(`
6
+ A tagTransformer has already been set.
7
+ Overwriting it may lead to error and unexpected results if your components have already been defined.
8
+ `),Fr=e}function Lr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}var Rr,zr,Br,Vr={exports:{}},Hr=Lr((Rr||(Rr=1,zr=Vr.exports,Br=function(){var e=function(){},t=`undefined`,n=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),r=[`trace`,`debug`,`info`,`warn`,`error`],i={},a=null;function o(e,t){var n=e[t];if(typeof n.bind==`function`)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch{return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function c(){for(var n=this.getLevel(),i=0;i<r.length;i++){var a=r[i];this[a]=i<n?e:this.methodFactory(a,n,this.name)}if(this.log=this.debug,typeof console===t&&n<this.levels.SILENT)return`No console available for logging`}function l(e){return function(){typeof console!==t&&(c.call(this),this[e].apply(this,arguments))}}function u(r,i,a){return function(r){return r===`debug`&&(r=`log`),typeof console!==t&&(r===`trace`&&n?s:console[r]===void 0?console.log===void 0?e:o(console,`log`):o(console,r))}(r)||l.apply(this,arguments)}function d(e,n){var o,s,l,d=this,f=`loglevel`;function p(){var e;if(typeof window!==t&&f){try{e=window.localStorage[f]}catch{}if(typeof e===t)try{var n=window.document.cookie,r=encodeURIComponent(f),i=n.indexOf(r+`=`);i!==-1&&(e=/^([^;]+)/.exec(n.slice(i+r.length+1))[1])}catch{}return d.levels[e]===void 0&&(e=void 0),e}}function m(e){var t=e;if(typeof t==`string`&&d.levels[t.toUpperCase()]!==void 0&&(t=d.levels[t.toUpperCase()]),typeof t==`number`&&t>=0&&t<=d.levels.SILENT)return t;throw TypeError(`log.setLevel() called with invalid level: `+e)}typeof e==`string`?f+=`:`+e:typeof e==`symbol`&&(f=void 0),d.name=e,d.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},d.methodFactory=n||u,d.getLevel=function(){return l??s??o},d.setLevel=function(e,n){return l=m(e),!1!==n&&function(e){var n=(r[e]||`silent`).toUpperCase();if(typeof window!==t&&f){try{window.localStorage[f]=n;return}catch{}try{window.document.cookie=encodeURIComponent(f)+`=`+n+`;`}catch{}}}(l),c.call(d)},d.setDefaultLevel=function(e){s=m(e),p()||d.setLevel(e,!1)},d.resetLevel=function(){l=null,function(){if(typeof window!==t&&f){try{window.localStorage.removeItem(f)}catch{}try{window.document.cookie=encodeURIComponent(f)+`=; expires=Thu, 01 Jan 1970 00:00:00 UTC`}catch{}}}(),c.call(d)},d.enableAll=function(e){d.setLevel(d.levels.TRACE,e)},d.disableAll=function(e){d.setLevel(d.levels.SILENT,e)},d.rebuild=function(){if(a!==d&&(o=m(a.getLevel())),c.call(d),a===d)for(var e in i)i[e].rebuild()},o=m(a?a.getLevel():`WARN`);var h=p();h!=null&&(l=m(h)),c.call(d)}(a=new d).getLogger=function(e){if(typeof e!=`symbol`&&typeof e!=`string`||e===``)throw TypeError(`You must supply a name when creating a logger.`);var t=i[e];return t||=i[e]=new d(e,a.methodFactory),t};var f=typeof window===t?void 0:window.log;return a.noConflict=function(){return typeof window!==t&&window.log===a&&(window.log=f),a},a.getLoggers=function(){return i},a.default=a,a},Vr.exports?Vr.exports=Br():zr.log=Br()),Vr.exports)),Ur={A11yUi:{CSS_STYLE_CACHE:new Map,FEATURES:{},IS_TEST_ENVIRONMENT:(()=>{let e={},t=e.NODE_ENV===`test`,n=`VITEST`in e,r=`JEST_WORKER_ID`in e,i=`PLAYWRIGHT_TEST_BASE_URL`in e,a=e.CI===`true`,o=e.TEST===`true`||e.IS_TEST===`true`,s=typeof navigator<`u`&&!0===navigator.webdriver,c=typeof navigator<`u`&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return t||n||r||i||a||o||s||c})(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,THEME_FEATURES:{},showAverageTimes:()=>{let e={};for(let[t,n]of Ur.A11yUi.PERFORMANCE_MEASURES.entries())e[t]=[n.totalTime/n.count,n.count];let t=Object.entries(e).sort(((e,t)=>t[1][0]-e[1][0]));return console.table(Object.fromEntries(t.map((([e,[t,n]])=>[e,{"avg (ms)":parseFloat(t.toFixed(2)),count:n}])))),e}}},Wr=!0,Gr=!1,Kr=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,qr=e=>{if(!(e=>typeof e==`string`&&Kr.test(e))(e))throw Error(`[Theming] The theme identifier "${typeof e==`string`?e:``}" (Type: ${typeof e}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},Jr=e=>e.replace(/\/\*[\s\S]*?\*\//g,``).replace(/\s*([{},;])\s*/g,`$1`).replace(/:\s+/g,`:`).replace(/\s+/g,` `).replace(/;\}/g,`}`).trim(),Yr=(e,t,n,r)=>{(r??={}).append=r.append??!1,qr(e),Wr&&!Gr&&(Gr=!0,Hr.warn(`[Theming] The theme process is locked. This means that the theme "${e}" should not be patched.\n\n import { register } from 'adopted-style-sheets';\n import { defineCustomElements } from '...';\n import { THEME } from '...';\n\n register(THEME, defineCustomElements)\n .then(() => {\n // run your app or website\n })\n .catch(console.warn);`));let i=Ur.A11yUi.THEMES.get(e);if(i||(i=new Map,Ur.A11yUi.THEMES.set(e,i)),r.append&&i.has(t)){let e=i.get(t);i.set(t,Jr(`${e}${n}`))}else i.set(t,Jr(n))},Xr=(e,t,n,r)=>(qr(e),typeof t==`object`&&t&&Object.getOwnPropertyNames(t).forEach((i=>{let a=t[i],o=i.toLowerCase(),s=typeof r?.transformTagName!=`function`||[`GLOBAL`,`PROPERTIES`].includes(i)?i:r.transformTagName(o);typeof a==`string`&&a.length>0&&Yr(e,s.toUpperCase(),a,n)})),e),Zr=e=>{if(e instanceof HTMLElement){if(typeof e.dataset.theme==`string`)return e;{let t=e.parentNode;for(;typeof ShadowRoot<`u`&&t instanceof ShadowRoot;)t=t.host;return Zr(t)}}return null},Qr=(e={})=>e.themeEncroachCss!==`false`&&e.themeReset!==`true`&&{mode:e.themeEncroachCssMode===`after`||e.themeEncroachCssMode===`before`?e.themeEncroachCssMode:`before`},$r=()=>typeof Ur.A11yUi.Theme==`object`&&Ur.A11yUi.Theme!==null&&typeof Ur.A11yUi.Theme.cache==`boolean`&&typeof Ur.A11yUi.Theme.encroachCss==`object`&&Ur.A11yUi.Theme.encroachCss!==null&&typeof Ur.A11yUi.Theme.encroachCss.mode==`string`&&typeof Ur.A11yUi.Theme.name==`string`,ei=e=>{if($r())return Ur.A11yUi.Theme;{let t={cache:!0,encroachCss:Qr(),loglevel:`silent`,mode:`csr`,name:null},n=Zr(e);return n instanceof HTMLElement&&(t.cache=n.dataset.themeCache!==`false`,t.encroachCss=Qr(n.dataset),t.loglevel=n.dataset.themeLoglevel===`debug`?n.dataset.themeLoglevel:`silent`,t.mode=n.dataset.themeMode===`ssr`?n.dataset.themeMode:`csr`,t.name=n.dataset.theme||null),t}},ti=()=>$r()?Ur.A11yUi.Theme.name:null,ni=(e,t)=>{let n=Ur.A11yUi.FEATURES[e];if(n!==void 0)return n;let r=(e=>ei(e).name)(t??null)??ti();if(r!==null){let t=Ur.A11yUi.THEME_FEATURES[r];if(t&&t[e]!==void 0)return t[e]}},ri=new Set,ii=new Map,ai=/--[^;]+/g,oi=/:/,si=typeof MutationObserver<`u`,ci=25,li=()=>{ci=Math.min(25+20*Math.log2(Ur.A11yUi.STYLING_TASK_QUEUE.size+1),250)},ui=(e,t)=>{let n=Ur.A11yUi.THEMES.get(e);if(n instanceof Map){let e=n.get(t);if(e!==void 0)return e}return``},di=(e,t,n,r)=>{let i=Ur.A11yUi.Theme?.loglevel===`debug`,a=i?performance.now():0;if((e=>{let t=e.firstChild;if(t instanceof HTMLStyleElement&&t.dataset.themingFallback===void 0)for(let t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&t.tagName===`STYLE`&&t.dataset.themingFallback===void 0))break;e.removeChild(t)}})(t),((e,t)=>{try{if(Ur.A11yUi.Theme?.mode===`ssr`)throw Error(`SSR`);e.adoptedStyleSheets=t.filter((e=>typeof e==`string`&&e.length>0)).map((e=>{let t=ii.get(e);return t||(t=new CSSStyleSheet,t.replaceSync(e),ii.set(e,t)),t}))}catch{for(let n=t.length-1;n>=0;n--){let r=t[n];if(typeof r!=`string`||r.length===0)continue;let i=t.length-1-n,a=document.createElement(`style`);switch(a.dataset.themingFallback=``,i){case 4:a.dataset.themingBaseA11y=``;break;case 3:a.dataset.themingBaseGlobal=``;break;case 2:a.dataset.themingBaseComponent=``;break;case 1:a.dataset.themingCustomGlobal=``;break;case 0:a.dataset.themingCustomComponent=``;break;default:a.dataset.themingUnknown=``}a.innerHTML=r,e.insertBefore(a,e.firstChild)}}})(t,n),bi(e),requestAnimationFrame(r),i){let t=performance.now()-a,n=Ur.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);n?(n.count+=1,n.totalTime+=t):Ur.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:t})}},fi=e=>{let t=Ur.A11yUi.STYLING_TASK_QUEUE.get(e);if(t){let{resetCss:n,themeDetails:r}=t;((e,t,n)=>{let r=t.name||`default`,i;try{if(e.shadowRoot===null)throw Error(`ShadowRoot is null`);i=e.shadowRoot}catch{i=e}let a=Ur.A11yUi.CSS_STYLE_CACHE.get(r)?.get(e.tagName);if(a)di(e,i,a,n);else{let a=ui(r,`PROPERTIES`),o=ui(r,`GLOBAL`),s=ui(r,e.tagName);!1===ri.has(r)&&((e,t)=>{let n=t.match(ai);if(Array.isArray(n)){n=n.filter((e=>oi.test(e)));let t=document.createElement(`style`);t.innerHTML=`.${e} {${n.join(`;`)}}`,document.querySelector(`head`)?.appendChild(t)}ri.add(e)})(r,o);let c=[a,o,s];if(((e,t,n)=>{if(!1===n||n?.mode!==`before`&&n?.mode!==`after`)return;let r=Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&e.tagName===`STYLE`)),i;try{i=Array.from(e.adoptedStyleSheets)}catch{i=[]}if(r.length!==0||i.length!==0){if(n.mode===`before`){let e=[...i.map((e=>Array.from(e.cssRules).map((e=>e.cssText)).join(``))),...r.map((e=>e.innerHTML))];t.unshift(...e)}else r.forEach((e=>t.push(e.innerHTML))),i.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join(``))))}})(i,c,t.encroachCss),!0===t.cache){let t=Ur.A11yUi.CSS_STYLE_CACHE.get(r);t||(t=new Map,Ur.A11yUi.CSS_STYLE_CACHE.set(r,t)),t.set(e.tagName,c)}di(e,i,c,n)}})(e,r,n)}},pi=(e,t=0)=>{if(t>=100)return;let n=setTimeout((()=>{clearTimeout(n),e.classList.contains(`hydrated`)?fi(e):pi(e,t+1)}),ci)},mi={attributes:!0,attributeFilter:[`class`],childList:!1,subtree:!1},hi={attributes:!0,attributeFilter:[],childList:!1,subtree:!1},gi=si?new MutationObserver(((e,t)=>{let n=[];for(let t of e){let e=t.target;e.classList.contains(`hydrated`)&&Ur.A11yUi.STYLING_TASK_QUEUE.has(e)&&(fi(e),n.push(e))}for(let e of n)t.observe(e,hi)})):null;gi&&(pi=e=>gi.observe(e,mi),li=()=>{});var _i=new Map,vi=(e,t)=>{if(t){let e=_i.get(t);if(e!==void 0)return e}let n=getComputedStyle(e).getPropertyValue(`--theme-visibility-delay`).trim(),r;if(n.endsWith(`ms`))r=parseFloat(n);else if(n.endsWith(`s`))r=1e3*parseFloat(n);else{let e=parseFloat(n);r=isNaN(e)?0:e}return t&&_i.set(t,r),r};Ur.A11yUi.IS_TEST_ENVIRONMENT&&(vi=()=>0);var yi=(e,t)=>{e.style.setProperty(`visibility`,t),e.dataset.themed=``},bi=e=>{Ur.A11yUi.STYLING_TASK_QUEUE.delete(e),li()},xi=(e,t)=>{((e,t)=>{let n=e.style.visibility||null,r=t.name||`default`;Ur.A11yUi.STYLING_TASK_QUEUE.set(e,{resetCss:()=>{let t=vi(e,r);t>0?setTimeout((()=>{yi(e,n)}),t):yi(e,n)},themeDetails:t}),t.mode!==`ssr`&&e.style.setProperty(`visibility`,`hidden`,`important`),pi(e)})(e,{...Ur.A11yUi.Theme,...t})},Si=class{Prefix;Key;Tag;createTheme=(e,t,n)=>((e,t,n)=>r=>r(e,t,{append:!1},n))(e,t,n);createTranslation=(e,t)=>((e,t)=>n=>n(e,t))(e,t);constructor(e,t,n){this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(n)}},Ci,wi;(function(e){e[e[`action-done`]=0]=`action-done`,e[e[`action-running`]=1]=`action-running`,e[e[`avatar-alt`]=2]=`avatar-alt`,e[e[`character-counter-current`]=3]=`character-counter-current`,e[e[`character-counter-current-of-max`]=4]=`character-counter-current-of-max`,e[e[`character-counter-current-of-max-aria`]=5]=`character-counter-current-of-max-aria`,e[e[`character-counter-max-aria`]=6]=`character-counter-max-aria`,e[e[`character-limit-exceeded`]=7]=`character-limit-exceeded`,e[e[`character-limit-hint`]=8]=`character-limit-hint`,e[e[`character-limit-remaining`]=9]=`character-limit-remaining`,e[e[`clear-search`]=10]=`clear-search`,e[e.close=11]=`close`,e[e[`close-alert`]=12]=`close-alert`,e[e[`data-browse-text`]=13]=`data-browse-text`,e[e[`delete-selection`]=14]=`delete-selection`,e[e[`entries-per-site`]=15]=`entries-per-site`,e[e.error=16]=`error`,e[e[`error-list`]=17]=`error-list`,e[e[`error-list-message`]=18]=`error-list-message`,e[e[`filename-text`]=19]=`filename-text`,e[e[`form-description`]=20]=`form-description`,e[e[`hide-password`]=21]=`hide-password`,e[e.info=22]=`info`,e[e[`kolibri-logo`]=23]=`kolibri-logo`,e[e[`live-value`]=24]=`live-value`,e[e[`live-value-bounded`]=25]=`live-value-bounded`,e[e.message=26]=`message`,e[e[`meter-state-critical`]=27]=`meter-state-critical`,e[e[`meter-state-optimum`]=28]=`meter-state-optimum`,e[e[`meter-state-suboptimal`]=29]=`meter-state-suboptimal`,e[e[`nav-maximize`]=30]=`nav-maximize`,e[e[`nav-minimize`]=31]=`nav-minimize`,e[e.new=32]=`new`,e[e[`no-entries`]=33]=`no-entries`,e[e[`no-results-message`]=34]=`no-results-message`,e[e[`open-link-in-tab`]=35]=`open-link-in-tab`,e[e.page=36]=`page`,e[e[`page-back`]=37]=`page-back`,e[e[`page-first`]=38]=`page-first`,e[e[`page-last`]=39]=`page-last`,e[e[`page-next`]=40]=`page-next`,e[e.pagination=41]=`pagination`,e[e[`pagination-position-bottom`]=42]=`pagination-position-bottom`,e[e[`pagination-position-top`]=43]=`pagination-position-top`,e[e.progress=44]=`progress`,e[e.readonly=45]=`readonly`,e[e[`show-password`]=46]=`show-password`,e[e[`show-suggestions`]=47]=`show-suggestions`,e[e.sort=48]=`sort`,e[e[`split-button-dropdown-label-open`]=49]=`split-button-dropdown-label-open`,e[e.success=50]=`success`,e[e[`table-data-loading`]=51]=`table-data-loading`,e[e[`table-data-loaded`]=52]=`table-data-loaded`,e[e[`table-pagination-label`]=53]=`table-pagination-label`,e[e[`table-selection`]=54]=`table-selection`,e[e[`table-selection-all`]=55]=`table-selection-all`,e[e[`table-selection-indeterminate`]=56]=`table-selection-indeterminate`,e[e[`table-selection-none`]=57]=`table-selection-none`,e[e[`table-settings`]=58]=`table-settings`,e[e[`table-settings-apply`]=59]=`table-settings-apply`,e[e[`table-settings-cancel`]=60]=`table-settings-cancel`,e[e[`table-settings-column-hidable`]=61]=`table-settings-column-hidable`,e[e[`table-settings-column-not-hidable`]=62]=`table-settings-column-not-hidable`,e[e[`table-settings-column-width`]=63]=`table-settings-column-width`,e[e[`table-settings-error-all-invisible`]=64]=`table-settings-error-all-invisible`,e[e[`table-settings-move-down`]=65]=`table-settings-move-down`,e[e[`table-settings-move-up`]=66]=`table-settings-move-up`,e[e[`table-settings-not-move`]=67]=`table-settings-not-move`,e[e[`table-sort-order`]=68]=`table-sort-order`,e[e[`table-visible-range`]=69]=`table-visible-range`,e[e[`toast-close-all`]=70]=`toast-close-all`,e[e.version=71]=`version`,e[e.warning=72]=`warning`})(Ci||={}),function(e){e[e.abbr=0]=`abbr`,e[e.accordion=1]=`accordion`,e[e.alert=2]=`alert`,e[e.avatar=3]=`avatar`,e[e.badge=4]=`badge`,e[e.breadcrumb=5]=`breadcrumb`,e[e.button=6]=`button`,e[e[`button-link`]=7]=`button-link`,e[e.card=8]=`card`,e[e.combobox=9]=`combobox`,e[e.details=10]=`details`,e[e.dialog=11]=`dialog`,e[e.drawer=12]=`drawer`,e[e.form=13]=`form`,e[e.heading=14]=`heading`,e[e.icon=15]=`icon`,e[e.image=16]=`image`,e[e[`input-checkbox`]=17]=`input-checkbox`,e[e[`input-color`]=18]=`input-color`,e[e[`input-date`]=19]=`input-date`,e[e[`input-email`]=20]=`input-email`,e[e[`input-file`]=21]=`input-file`,e[e[`input-number`]=22]=`input-number`,e[e[`input-password`]=23]=`input-password`,e[e[`input-radio`]=24]=`input-radio`,e[e[`input-range`]=25]=`input-range`,e[e[`input-text`]=26]=`input-text`,e[e.kolibri=27]=`kolibri`,e[e.link=28]=`link`,e[e[`link-button`]=29]=`link-button`,e[e.logo=30]=`logo`,e[e.meter=31]=`meter`,e[e.modal=32]=`modal`,e[e.nav=33]=`nav`,e[e.pagination=34]=`pagination`,e[e[`popover-button`]=35]=`popover-button`,e[e.progress=36]=`progress`,e[e.quote=37]=`quote`,e[e.select=38]=`select`,e[e[`single-select`]=39]=`single-select`,e[e[`skip-nav`]=40]=`skip-nav`,e[e.spin=41]=`spin`,e[e[`split-button`]=42]=`split-button`,e[e.symbol=43]=`symbol`,e[e.table=44]=`table`,e[e[`table-stateful`]=45]=`table-stateful`,e[e[`table-stateless`]=46]=`table-stateless`,e[e.tabs=47]=`tabs`,e[e.textarea=48]=`textarea`,e[e[`toast-container`]=49]=`toast-container`,e[e.toolbar=50]=`toolbar`,e[e.tooltip=51]=`tooltip`,e[e.tree=52]=`tree`,e[e[`tree-item`]=53]=`tree-item`,e[e.version=54]=`version`}(wi||={});var Ti=()=>typeof window<`u`?window:{},Ei=()=>{let e=Ti();return e&&e.document!==void 0?e.document:{}},Di=[`development`,`production`,`test`],Oi=`production`,ki=e=>{try{if(!Di.includes(e))throw Error(`Invalid NODE_ENV value: ${e}. Expected one of ${Di.join(`, `)}.`);Oi=e}catch{Oi=`production`}},Ai=()=>{try{return typeof process<`u`?`production`:void 0}catch{return}};ki((()=>{let e=Ai();return e&&Di.includes(e)?e:`production`})());var ji=!1,Mi=!1,Ni=()=>Oi===`development`,Pi=()=>Oi===`test`,Fi=()=>!0===ji,Ii=e=>{ji=!0===e},Li=()=>!0===Mi,Ri=e=>{Mi=!0===e},zi=e=>Array.isArray(e)?e:[e],Bi=e=>`%c${e}`,Vi=(e,t)=>typeof t==`string`&&t.length>0?`${Bi(e)} | ${t}`:Bi(e),Hi=(e,t)=>[Vi(e,t?.classifier),`color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000;${t?.overwriteStyle||``}`],Ui=e=>Ni()||!0===e,Wi=new class{constructor(e){this.label=e}debug(e,t){Ui(t?.forceLog)&&console.debug(...Hi(this.label,t),...zi(e))}info(e,t){Ui(t?.forceLog)&&console.info(...Hi(this.label,t),...zi(e))}trace(e,t){Ui(t?.forceLog)&&console.trace(...Hi(this.label,t),...zi(e))}warn(e,t){Ui(t?.forceLog)&&console.warn(...Hi(this.label,t),...zi(e))}error(e,t){console.error(...Hi(this.label,t),...zi(e))}throw(e,t){if(Ui(t?.forceLog))throw Error(...Hi(this.label,t),...zi(e))}}(`KoliBri`),Gi=new Set,Ki=e=>{!1===Gi.has(e)&&(Gi.add(e),Wi.debug([e],{classifier:`✋ a11y`,forceLog:!1,overwriteStyle:`; background-color: #09f`}))},qi=new Set,Ji=e=>{!1===qi.has(e)&&(qi.add(e),Wi.warn([e],{classifier:`🔥 deprecated`,forceLog:!1,overwriteStyle:`; background-color: #f00`}))},Yi=new Set,Xi=(e,t)=>{(!1===Yi.has(e)||t!=null&&t.force)&&(Yi.add(e),Wi.debug([e].concat(t?.details||[]),{classifier:`💻 dev`,forceLog:!!t?.force,overwriteStyle:`; background-color: #f09`}))},Zi=e=>{!1===Yi.has(e)&&(Yi.add(e),Wi.warn([e],{classifier:`⚠️ dev`,forceLog:!1,overwriteStyle:`; background-color: #f09`}))},Qi=new Set,$i=(e,t=!1)=>{!1===Qi.has(e)&&(Qi.add(e),Wi.debug([e+=!0===t?` ✅`:``],{classifier:`🌟 feature`,forceLog:!1,overwriteStyle:`; background-color: #309`}))};Xi(`We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!`);var ea=new Set,ta=e=>{!1===ea.has(e)&&(ea.add(e),Wi.debug([e],{classifier:`📑 ui/ux`,forceLog:!1,overwriteStyle:`; background-color: #060;`}))},na=e=>{typeof e==`string`&&e!==``||Ki(`Some structural elements, such as the nav tag, can be used multiple times on a webpage. To distinguish between similarly named structural elements, it is necessary to set an ARIA label.
9
+ - https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns`)},ra=(e,t=8)=>{t>7&&ta(`[${e}] Within navigation structures, it is recommended to use no more than 7 menu items.\n\nLink:\n- https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`)},ia,aa,oa,sa,ca=1/12.92;function la(e){return((e+.055)/1.055)**2.4}function ua(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return .2126*(t<=.03928?t*ca:la(t))+.7152*(n<=.03928?n*ca:la(n))+.0722*(r<=.03928?r*ca:la(r))}function da(e){var t=255;(e=e.replace(/^#/,``)).length===8&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),e.length===4&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var n=parseInt(e,16);return[n>>16,n>>8&255,255&n,t]}function fa(e,t){return function(e,t){return function(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}(ua(e),ua(t))}(da(e),da(t))}var pa=Lr(function(){if(sa)return oa;sa=1;var e=aa?ia:(aa=1,ia={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]});oa=function(n){var r,i,a=[],o=1;if(typeof n==`string`){if(n=n.toLowerCase(),e[n])a=e[n].slice(),i=`rgb`;else if(n===`transparent`)o=0,i=`rgb`,a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(n)){var s=n.slice(1);o=1,(u=s.length)<=4?(a=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],u===4&&(o=parseInt(s[3]+s[3],16)/255)):(a=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],u===8&&(o=parseInt(s[6]+s[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),i=`rgb`}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(n)){var c=r[1],l=c===`rgb`;i=s=c.replace(/a$/,``);var u=s===`cmyk`?4:s===`gray`?1:3;a=r[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,n){if(/%$/.test(e))return n===u?parseFloat(e)/100:s===`rgb`?255*parseFloat(e)/100:parseFloat(e);if(s[n]===`h`){if(/deg$/.test(e))return parseFloat(e);if(t[e]!==void 0)return t[e]}return parseFloat(e)})),c===s&&a.push(1),o=l||a[u]===void 0?1:a[u],a=a.slice(0,u)}else n.length>10&&/[0-9](?:\s|\/)/.test(n)&&(a=n.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),i=n.match(/([a-z])/gi).join(``).toLowerCase())}else isNaN(n)?Array.isArray(n)||n.length?(a=[n[0],n[1],n[2]],i=`rgb`,o=n.length===4?n[3]:1):n instanceof Object&&(n.r!=null||n.red!=null||n.R!=null?(i=`rgb`,a=[n.r||n.red||n.R||0,n.g||n.green||n.G||0,n.b||n.blue||n.B||0]):(i=`hsl`,a=[n.h||n.hue||n.H||0,n.s||n.saturation||n.S||0,n.l||n.lightness||n.L||n.b||n.brightness]),o=n.a||n.alpha||n.opacity||1,n.opacity!=null&&(o/=100)):(i=`rgb`,a=[n>>>16,(65280&n)>>>8,255&n]);return{space:i,values:a,alpha:o}};var t={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};return oa}()),ma={min:[0,0,0],max:[255,255,255]},ha={name:`hsl`,min:[0,0,0],max:[360,100,100],channel:[`hue`,`saturation`,`lightness`],alias:[`HSL`],rgb:function(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,c=e[2]/100,l=0;if(s===0)return[a=255*c,a,a];for(t=2*c-(n=c<.5?c*(1+s):c+s-c*s),i=[0,0,0];l<3;)(r=o+1/3*-(l-1))<0?r++:r>1&&r--,i[l++]=255*(a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t);return i}};ma.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,a=e[2]/255,o=Math.min(r,i,a),s=Math.max(r,i,a),c=s-o;return s===o?t=0:r===s?t=(i-a)/c:i===s?t=2+(a-r)/c:a===s&&(t=4+(r-i)/c),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s===o?0:n<=.5?c/(s+o):c/(2-s-o)),100*n]};var ga,_a={exports:{}},va=Lr(function(){if(ga)return _a.exports;function e(e){var n=t(e);return n.length==3?n.concat(255):(n[3]=Math.round(n[3]),n)}function t(e){return typeof e==`string`?((t=e=e.toLowerCase())==`red`?[255,0,0]:t==`green`?[0,255,0]:t==`blue`?[0,0,255]:t==`black`?[0,0,0]:t==`white`?[255,255,255]:t==`cyan`?[0,255,255]:t==`gray`||t==`grey`?[128,128,128]:t==`magenta`||t==`pink`?[255,0,255]:t==`yellow`?[255,255,0]:void 0)||function(e){var t=e.replace(/^#/,``),n=t.length;if(n==3||n==4){var i=r(t[0]),a=r(t[1]),o=r(t[2]),s=n==3?255:r(t[3]);return isNaN(i)||isNaN(a)||isNaN(o)||isNaN(s)?void 0:[i,a,o,s]}}(e)||function(e){var t=e.replace(/^#/,``),n=t.length;if(n==6||n==8){var i=r(t.slice(0,2)),a=r(t.slice(2,4)),o=r(t.slice(4,6)),s=n==6?255:r(t.slice(6,8));return isNaN(i)||isNaN(a)||isNaN(o)||isNaN(s)?void 0:[i,a,o,s]}}(e)||function(e){if(e.substr(0,4)==`rgb(`){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),n=i(t[0],!0),r=i(t[1],!0),a=i(t[2],!0);if(n!=-1&&r!=-1&&a!=-1)return[n,r,a,255]}}(e)||function(e){if(e.substr(0,5)==`rgba(`){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),n=i(t[0],!0),r=i(t[1],!0),a=i(t[2],!0),o=i(255*t[3]);if(n!=-1&&r!=-1&&a!=-1&&o!=-1)return[n,r,a,o]}}(e)||[0,0,0,255]:function(e){if(Object.prototype.toString.call(e)===`[object Object]`&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=i(e.r==null?e.red==null?0:e.red:e.r,!0),n=i(e.g==null?e.green==null?0:e.green:e.g,!0),r=i(e.b==null?e.blue==null?0:e.blue:e.b,!0),a=i(e.a==null?e.alpha==null?255:e.alpha:e.a,!0);if(t!=-1&&n!=-1&&r!=-1&&a!=-1)return[t,n,r,a]}}(e)||function(e){if(Array.isArray(e)&&(e.length==3||e.length==4)){var t=i(e[0],!0),n=i(e[1],!0),r=i(e[2],!0),a=i(e[3]==null?255:e[3],!0);if(t!=-1&&n!=-1&&r!=-1&&a!=-1)return[t,n,r,a]}}(e)||function(e){if(typeof e==`number`&&Math.floor(e)==e&&e<=4294967295&&e>=0)return[e>>16&255,e>>8&255,255&e,e>>24&255]}(e)||[0,0,0,255];var t}function n(e){var t=e.toString(16);return t.length==1?`0`+t:t}function r(e){return e.length==1?parseInt(e+e,16):parseInt(e,16)}function i(e,t){return typeof e!=`number`||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}return ga=1,_a.exports=e,_a.exports.arr=e,_a.exports.obj=function(e){var n=t(e);return{r:n[0],g:n[1],b:n[2],a:n.length==3?255:Math.round(n[3])}},_a.exports.css=function(e){var n=t(e);return n.length==3&&n.push(255),n[3]==255?`rgb(`+n[0]+`, `+n[1]+`, `+n[2]+`)`:n[3]==0?`rgba(`+n[0]+`, `+n[1]+`, `+n[2]+`, 0)`:`rgba(`+n[0]+`, `+n[1]+`, `+n[2]+`, `+String(n[3]/255).substr(1)+`)`},_a.exports.hex=function(e){var r=t(e);r.length==3&&r.push(255);var i=r[3]==255,a=n(r[0]),o=n(r[1]),s=n(r[2]),c=function(e,t,n,r){var i=[`ff`,`00`,`11`,`22`,`33`,`44`,`55`,`66`,`77`,`88`,`99`,`aa`,`bb`,`cc`,`dd`,`ee`];return i.indexOf(e)!=-1&&i.indexOf(t)!=-1&&i.indexOf(n)!=-1&&i.indexOf(r)!=-1}(a,o,s,r=n(Math.round(r[3])));return i?c?`#`+a.charAt(0)+o.charAt(0)+s.charAt(0):`#`+a+o+s:c?`#`+a.charAt(0)+o.charAt(0)+s.charAt(0)+r.charAt(0):`#`+a+o+s+r},_a.exports.num=function(e){var n=t(e);return n.length==3?n.push(255):n[3]=Math.round(n[3]),(n[3]<<24>>>0|n[0]<<16|n[1]<<8|n[2])>>>0},_a.exports}()),ya=/\[object Object\]/,ba=(e,t)=>{typeof e==`string`&&ya.test(e)||t()},xa=(e,t)=>{Fi()&&(Wi.debug([e,t]),Wi.debug(`↑ We propagate the (submit) event to this target.`)),Object.defineProperty(e,"target",{value:t,writable:!1})},Sa=(e,t,n,r={})=>{var i,a;e.nextHooks===void 0&&(e.nextHooks=new Map),e.nextState===void 0&&(e.nextState=new Map),e.nextHooks.get(t)instanceof Map==0&&e.nextHooks.set(t,new Map),typeof r.afterPatch==`function`&&((i=e.nextHooks.get(t))==null||i.set(`afterPatch`,r.afterPatch)),typeof r.beforePatch==`function`&&((a=e.nextHooks.get(t))==null||a.set(`beforePatch`,r.beforePatch)),e.nextState.set(t,n),(e=>{var t,n;(t=e.nextHooks)==null||t.forEach(((t,n)=>{let r=t.get(`beforePatch`);typeof r==`function`&&r(e.nextState?.get(n),e.nextState,e,n)})),e.nextState?.size>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,(n=e.nextHooks)==null||n.forEach(((t,n)=>{let r=t.get(`afterPatch`);typeof r==`function`&&r(e.state[n],e.state,e,n)}))),delete e.nextHooks})(e)};function Ca(e,t,n,r,i,a={}){if(Oi!==`production`||Ai()!==`production`){if(n(i))Sa(e,t,i,a.hooks);else if(i===void 0&&!0!==a.required&&n(a.defaultValue))Sa(e,t,a.defaultValue,a.hooks);else{let n=new Set(r);a.required||n.add(null),((e,t,n,r)=>{Xi(`[${e.constructor.name}] The property value: (${n}) for '${t}' is not valid. Allowed values are: ${Array.from(r).join(`, `)}`)})(e,t,i,n)}}else i===void 0?n(void 0)?Sa(e,t,void 0,a.hooks):!0!==a.required&&n(a.defaultValue)&&Sa(e,t,a.defaultValue,a.hooks):Sa(e,t,i,a.hooks)}var wa=e=>{try{return JSON.stringify(e).replace(/"/g,`'`)}catch{throw Wi.warn([`stringifyJson`,e]),Wi.error(`↑ The JSON could not be converted to a string. A stringifiable JSON is expected.`),Error()}},Ta=/^[{[]/,Ea=e=>{if(typeof e==`string`)try{return JSON.parse(e)}catch{if(Ta.test(e))try{return JSON.parse(e.replace(/'/g,`"`))}catch{Wi.warn([`parseJson`,e]),Wi.error(`↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (&#8216;).`)}}throw Error()},Da=(e,t)=>{if(!e)return;let n=new Set,r=[e],i=0;for(;i<r.length;){let e=r[i++];if(n.has(e))continue;if(n.add(e),t(e))return;let a=Array.from(e.children||[]);for(let e=0;e<a.length;e++)r.push(a[e]);if(e instanceof HTMLElement&&e.shadowRoot&&r.push(e.shadowRoot),e instanceof HTMLSlotElement){let t=e.assignedNodes({flatten:!0});for(let e=0;e<t.length;e++)t[e]instanceof Element&&r.push(t[e])}}},Oa=(e,t)=>((e,t)=>{let n=null;return Da(t,(t=>!!(t instanceof Element&&t.matches(e))&&(n=t,!0))),n})(e,t||Ei()),ka=(e,t)=>((e,t)=>{let n=[];return Da(t,(t=>(t instanceof Element&&t.matches(e)&&n.push(t),!1))),n})(e,t||Ei()),Aa=null,ja=()=>(Aa||={backgroundColor:`#00000000`,color:`#00000000`,domNode:Ei().body,level:`Fail`,score:1},Aa),Ma=/(\d+, ){3}0\)/,Na=(e,t=ja())=>{let n=getComputedStyle(e),r=Ma.test(n.backgroundColor)?t.backgroundColor:va.hex(n.backgroundColor),i=Ma.test(n.color)?t.color:va.hex(n.color),a=fa(r,i),o={backgroundColor:r,color:i,domNode:e,level:(s=a,s>=7?`AAA`:s>=4.5?`AA`:s>=3?`AA Large`:`Fail`),score:a};var s;return a<4.5&&Wi.error([`Color-Contrast-Error`,{backgroundColor:o.backgroundColor,color:o.color,level:o.level,score:o.score},o.domNode]),o},Pa=(e,t=ja())=>{t.domNode instanceof HTMLElement&&(t=Na(t.domNode,t));let n=t.domNode.querySelector(e);if(n===null){let n=t.domNode.querySelectorAll(`[class="hydrated"]`);for(let r=0;r<n.length&&(t.domNode=n[r],(t=Pa(e,t)).domNode===null);r++);return t}return Na(n,t)},Fa=class e{static queryHtmlElementColors(t,n,r=!1,i=!0){let a=null;if(!0===r||!1===e.executionLock){if(!1===r&&(e.cache.clear(),e.cache.set(n.domNode,n),e.executionLock=!0,!0===i&&Wi.debug(`[KoliBriUtils] Color contrast analysis started...`)),t===n.domNode)a=n;else{let r=new Set;if(n.domNode.shadowRoot){let e=n.domNode.shadowRoot.children;for(let t=0;t<e.length;t++)r.add(e[t])}let i=n.domNode;if(typeof i.assignedNodes==`function`){let e=i.assignedNodes();for(let t=0;t<e.length;t++)e[t]instanceof HTMLElement&&r.add(e[t])}let o=n.domNode.children;for(let e=0;e<o.length;e++)r.add(o[e]);let s=Array.from(r);for(let r=0;r<s.length;r++){let i=e.cache.get(s[r]);i===void 0&&(i=Na(s[r],n)),e.cache.set(s[r],i);let o=e.queryHtmlElementColors(t,i,!0,!1);if(o!==null){a=o;break}}}}else Wi.debug(`[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.`);return!1===r&&(!0===i&&Wi.debug(`[KoliBriUtils] Color contrast analysis finished (${e.cache.size} DOM elements are analysed).`),e.executionLock=!1,e.cache.clear()),a}};Fa.executionLock=!1,Fa.cache=new Map;var Ia=class{};Ia.getCssStyle=ui,Ia.patchTheme=(e,t,n,r)=>Xr(e,t,n,r),Ia.patchThemeTag=(e,t,n,r)=>Yr(e,t,n,r),Ia.querySelector=Oa,Ia.querySelectorAll=ka,Ia.stringifyJson=wa;var La=e=>typeof e==`object`&&!!e,Ra=(e,t=0)=>typeof e==`string`&&e.length>=t,za=e=>{if(typeof e!=`object`||!e)return Ra(e,1);for(let t in e)if(!1===Ra(t,1))return!1;return!0},Ba=new Event(`StateChange`),Va=(e,t)=>{var n;let r=(n=globalThis).KoliBriGlobals??(n.KoliBriGlobals={});return r[e]??(r[e]=t()),r[e]},Ha={"action-done":`Aktion abgeschlossen`,"action-running":`Aktion wird ausgeführt...`,"avatar-alt":`Avatar von {{name}}`,"character-counter-current":`{{current}} Zeichen`,"character-counter-current-of-max":`{{current}}/{{max}} Zeichen`,"character-counter-current-of-max-aria":`{{current}} von {{max}} Zeichen`,"character-counter-max-aria":`Zeichenlimit erreicht!`,"character-limit-exceeded":`Es sind {{over}} Zeichen zu viel.`,"character-limit-hint":`Es können bis zu {{limit}} Zeichen eingegeben werden.`,"character-limit-remaining":`Es sind noch {{remaining}} Zeichen verfügbar.`,"clear-search":`Suche löschen`,close:`Schließen`,"close-alert":`Benachrichtigung schließen`,"data-browse-text":`Datei auswählen`,"delete-selection":`Auswahl entfernen`,"entries-per-site":`Einträge pro Seite`,error:`Fehler`,"error-list":`Fehlerliste`,"error-list-message":`Bitte korrigieren Sie folgende Fehler:`,"filename-text":`Datei auswählen oder hier ablegen...`,"form-description":`Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.`,"hide-password":`Passwort verbergen`,info:`Hinweis`,"kolibri-logo":`Logo von KoliBri`,"live-value":`{{value}} {{unit}}`,"live-value-bounded":`{{value}} von {{max}} {{unit}}`,message:`Nachricht`,"meter-state-critical":`Kritisch`,"meter-state-optimum":`Optimal`,"meter-state-suboptimal":`Suboptimal`,"nav-maximize":`Navigation maximieren`,"nav-minimize":`Navigation minimieren`,new:`Neu`,"no-entries":`Es sind keine Einträge vorhanden.`,"no-results-message":`Keine Ergebnisse gefunden.`,"open-link-in-tab":`Öffnet in neuem Tab.`,page:`Seite`,"page-back":`Eine Seite zurück`,"page-first":`Direkt zur ersten Seite`,"page-last":`Direkt zur letzten Seite`,"page-next":`Eine Seite weiter`,pagination:`Paginierung`,"pagination-position-bottom":`unten`,"pagination-position-top":`oben`,progress:`Fortschritt`,readonly:`schreibgeschützt`,"show-password":`Passwort einblenden`,"show-suggestions":`Vorschläge anzeigen`,sort:`sortieren`,"split-button-dropdown-label-open":`Optionen anzeigen`,success:`Erfolg`,"table-data-loading":`Daten für Tabelle {{caption}} werden geladen.`,"table-data-loaded":`Daten für Tabelle {{caption}} wurden geladen.`,"table-pagination-label":`Paginierung für die Tabelle {{label}}`,"table-selection":`Auswahl`,"table-selection-all":`Alle auswählen`,"table-selection-indeterminate":`Alle auswählen bei teilweiser Auswahl`,"table-selection-none":`Alle abwählen`,"table-settings":`Tabellenkonfiguration`,"table-settings-apply":`Übernehmen`,"table-settings-cancel":`Abbrechen`,"table-settings-column-hidable":`Spalte "{{column}}" ausblenden.`,"table-settings-column-not-hidable":`Spalte "{{column}}" kann nicht ausgeblendet werden.`,"table-settings-column-width":`Breite von Spalte "{{column}}" in Pixel.`,"table-settings-error-all-invisible":`Mindestens eine Spalte muss sichtbar sein.`,"table-settings-move-down":`Spalte "{{column}}" nach unten verschieben.`,"table-settings-move-up":`Spalte "{{column}}" nach oben verschieben.`,"table-settings-not-move":`Spalte "{{column}}" kann nicht verschoben werden.`,"table-sort-order":`Priorität {{order}}`,"table-visible-range":`Einträge {{start}} bis {{end}} von {{total}}`,"toast-close-all":`Alle Benachrichtigungen schließen`,version:`Versionsnummer`,warning:`Warnung`},Ua={"action-done":`Action done`,"action-running":`Action is running...`,"avatar-alt":`Avatar of {{name}}`,"character-counter-current":`{{current}} characters`,"character-counter-current-of-max":`{{current}}/{{max}} characters`,"character-counter-current-of-max-aria":`{{current}} of {{max}} characters`,"character-counter-max-aria":`Character limit reached!`,"character-limit-exceeded":`You have {{over}} characters too many.`,"character-limit-hint":`You can enter up to {{limit}} characters`,"character-limit-remaining":`You have {{remaining}} characters remaining.`,"clear-search":`Clear search`,close:`Close`,"close-alert":`Close notification`,"data-browse-text":`Browse`,"delete-selection":`Delete selection`,"entries-per-site":`Entries per page`,error:`Error`,"error-list":`Error list`,"error-list-message":`Please correct the following errors`,"filename-text":`Choose a file or drop it here...`,"form-description":`Form fields marked with an asterisk (*) are mandatory.`,"hide-password":`Hide password`,info:`Note`,"kolibri-logo":`KoliBri logo`,"live-value":`{{value}} {{unit}}`,"live-value-bounded":`{{value}} of {{max}} {{unit}}`,message:`Message`,"meter-state-critical":`Critical`,"meter-state-optimum":`Optimum`,"meter-state-suboptimal":`Suboptimal`,"nav-maximize":`Maximize navigation`,"nav-minimize":`Minimize navigation`,new:`New`,"no-entries":`No entries available.`,"no-results-message":`No results found.`,"open-link-in-tab":`Opens in new tab.`,page:`Page`,"page-back":`One page back`,"page-first":`Directly to the first page`,"page-last":`Directly to the last page`,"page-next":`One page further`,pagination:`Pagination`,"pagination-position-bottom":`bottom`,"pagination-position-top":`top`,progress:`Progress`,readonly:`read-only`,"show-password":`Show password`,"show-suggestions":`Show suggestions`,sort:`sort`,"split-button-dropdown-label-open":`Show options`,success:`Success`,"table-data-loading":`Data in table {{caption}} is loading.`,"table-data-loaded":`Data in table {{caption}} got loaded.`,"table-pagination-label":`Pagination for table {{label}}`,"table-selection":`Selection`,"table-selection-all":`Select all`,"table-selection-indeterminate":`Select all with partial selection`,"table-selection-none":`Deselect all`,"table-settings":`Table configuration`,"table-settings-apply":`Apply`,"table-settings-cancel":`Cancel`,"table-settings-column-hidable":`Hide column "{{column}}".`,"table-settings-column-not-hidable":`Column "{{column}}" cannot be hidden.`,"table-settings-column-width":`Width of column "{{column}}" in pixel.`,"table-settings-error-all-invisible":`At least one column must be visible.`,"table-settings-move-down":`Move column "{{column}}" down.`,"table-settings-move-up":`Move column "{{column}}" up.`,"table-settings-not-move":`Column "{{column}}" cannot be moved.`,"table-sort-order":`Priority {{order}}`,"table-visible-range":`Entries {{start}} to {{end}} of {{total}}`,"toast-close-all":`Close all notifications`,version:`Version number`,warning:`Warning`},Wa=e=>Object.keys(e).reduce(((t,n)=>(t[`kol-${n}`]=e[n],t)),{}),Ga=new Set([e=>e(`en`,Wa(Ua)),e=>e(`de`,Wa(Ha))]),Ka=class{constructor(e){this.resourceMap=new Map,this.language=e??`de`}addTranslations(e){Array.isArray(e)?e=new Set(e):typeof e==`function`&&(e=new Set([e])),e!==void 0&&e.forEach((e=>e(((e,t)=>{let n=this.resourceMap.get(e);return n||(n=new Map,this.resourceMap.set(e,n)),Object.entries(t).forEach((([e,t])=>{t&&n.set(e,t)})),e}))))}setLanguage(e){this.language=e}translate(e,t){let n=this.resourceMap.get(this.language)?.get(e);return n?t!=null&&t.placeholders&&Object.entries(t.placeholders).forEach((([e,t])=>{var r=t;n=n.split(`{{${e}}}`).join(r)})):n=e,n}},qa=Va(`i18n`,(()=>({}))),Ja=()=>qa.instance,Ya=(e,t)=>{let n=new Ka(e);return n.addTranslations(Ga),n.addTranslations(t),qa.instance=n,n},Xa=`kol-form`,Za=`kol-toast-container`,Qa=`kol-tree-item`,$a=`kol-tree`;Object.freeze({__proto__:null,KolAbbrTag:`kol-abbr`,KolAccordionTag:`kol-accordion`,KolAlertTag:`kol-alert`,KolAvatarTag:`kol-avatar`,KolBadgeTag:`kol-badge`,KolBreadcrumbTag:`kol-breadcrumb`,KolButtonLinkTag:`kol-button-link`,KolButtonTag:`kol-button`,KolCardTag:`kol-card`,KolComboboxTag:`kol-combobox`,KolDetailsTag:`kol-details`,KolDialogTag:`kol-dialog`,KolDrawerTag:`kol-drawer`,KolFormTag:Xa,KolHeadingTag:`kol-heading`,KolIconTag:`kol-icon`,KolImageTag:`kol-image`,KolInputCheckboxTag:`kol-input-checkbox`,KolInputColorTag:`kol-input-color`,KolInputDateTag:`kol-input-date`,KolInputEmailTag:`kol-input-email`,KolInputFileTag:`kol-input-file`,KolInputNumberTag:`kol-input-number`,KolInputPasswordTag:`kol-input-password`,KolInputRadioTag:`kol-input-radio`,KolInputRangeTag:`kol-input-range`,KolInputTag:`kol-input`,KolInputTextTag:`kol-input-text`,KolKolibriTag:`kol-kolibri`,KolLinkButtonTag:`kol-link-button`,KolLinkTag:`kol-link`,KolMeterTag:`kol-meter`,KolModalTag:`kol-modal`,KolNavTag:`kol-nav`,KolPaginationTag:`kol-pagination`,KolPopoverButtonTag:`kol-popover-button`,KolProgressTag:`kol-progress`,KolQuoteTag:`kol-quote`,KolSelectTag:`kol-select`,KolSingleSelectTag:`kol-single-select`,KolSkipNavTag:`kol-skip-nav`,KolSpinTag:`kol-spin`,KolSplitButtonTag:`kol-split-button`,KolTableStatefulTag:`kol-table-stateful`,KolTableStatelessTag:`kol-table-stateless`,KolTabsTag:`kol-tabs`,KolTextareaTag:`kol-textarea`,KolToastContainerTag:Za,KolToolbarTag:`kol-toolbar`,KolTreeItemTag:Qa,KolTreeTag:$a,KolVersionTag:`kol-version`});var eo=()=>{Ur.A11yUi=Va(`themes`,(()=>Ur.A11yUi))};Va(`tag-transformer`,(()=>({})));var to=Va(`bootstrap`,(()=>({})));eo();var no=()=>to.options,ro=Va(`location`,(()=>({subscribers:[]}))),io=(e,t=!0)=>(t&&typeof ro.current==`string`&&e(ro.current),ro.subscribers.push(e),()=>{let t=ro.subscribers.indexOf(e);t>=0&&ro.subscribers.splice(t,1)}),ao,oo,so=Lr(oo?ao:(oo=1,ao=function(e){return function(t,n){if(!t)return e;var r;typeof t==`string`?r=t:n=t;var i=e;return r&&(i+=`__`+r),i+(n?Object.keys(n).reduce((function(e,t){var r=n[t];return r&&(e+=` `+(typeof r==`boolean`?i+`--`+t:i+`--`+t+`_`+r)),e}),``):``)}})),N=function(){let e=new Map,t=(t,n,r)=>{try{return e.get(t)(n,r)}catch{return e.set(t,so(t)).get(t)(n,r)}};return t.forBlock=e=>{let n=(n,r)=>t(e,n,r);return n.forElement=n=>r=>t(e,n,r),n},t}(),P;(function(e){e.blur=`blur`,e.cancel=`cancel`,e.change=`change`,e.changeHeaderCells=`changeheadercells`,e.changePage=`changepage`,e.changePageSize=`changepagesize`,e.click=`click`,e.close=`close`,e.create=`create`,e.error=`error`,e.focus=`focus`,e.input=`input`,e.keydown=`keydown`,e.load=`load`,e.mousedown=`mousedown`,e.reset=`reset`,e.select=`select`,e.selectionChange=`selectionchange`,e.sortChange=`sortchange`,e.sort=`sort`,e.submit=`submit`,e.toggle=`toggle`})(P||={});var co={bubbles:!0,cancelable:!0,composed:!0};function lo(e,t=null){return new CustomEvent(e,Object.assign(Object.assign({},co),{detail:t}))}function F(e,t,n){return e.dispatchEvent(lo(t,n))}function uo(e,t=null,n){let r=lo(e,t);return n&&(Object.defineProperty(r,"target",{value:n}),Object.defineProperty(r,"currentTarget",{value:n})),r}var fo=Va(`tooltips`,(()=>({open:0}))),po=()=>{fo.open++},mo=()=>{fo.open=Math.max(0,fo.open-1)},ho=e=>{fo.open>0&&e.preventDefault()};new Si(`kol`,Ci,wi);var go=(()=>{eo(),Hn((e=>{try{e.shadowRoot instanceof ShadowRoot&&xi(e,ei(e))}catch{}return`default`})),re(()=>import(`./devtools-8tROnrRr.js`).then((e=>{typeof e==`object`&&e&&typeof e.initialize==`function`&&e.initialize()})),[],import.meta.url).catch((e=>{Wi.error(e)}))}),_o;(function(e){e[`Die Bundesregierung`]=`BReg`,e[`Bundesministerium der Finanzen`]=`BMF`,e[`Bundesministerium des Innern, für Bau und Heimat`]=`BMI`,e[`Auswärtiges Amt`]=`AA`,e[`Bundesministerium für Wirtschaft und Energie`]=`BMWi`,e[`Bundesministerium der Justiz und für Verbraucherschutz`]=`BMJV`,e[`Bundesministerium für Arbeit und Soziales`]=`BMAS`,e[`Bundesministerium der Verteidigung`]=`BMVg`,e[`Bundesministerium für Ernährung und Landwirtschaft`]=`BMEL`,e[`Bundesministerium für Familie, Senioren, Frauen und Jugend`]=`BMFSFJ`,e[`Bundesministerium für Gesundheit`]=`BMG`,e[`Bundesministerium für Verkehr und digitale Infrastruktur`]=`BMVI`,e[`Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit`]=`BMU`,e[`Bundesministerium für Bildung und Forschung`]=`BMBF`,e[`Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung`]=`BMZ`})(_o||={}),Object.getOwnPropertyNames(_o);var I;(function(e){e[`Beschaffungsamt des Bundesministeriums des Innern`]=`BeschA`,e[`Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr`]=`BAAINBw`,e[`Bundesamt für äußere Restitutionen`]=`BAR`,e[`Bundesamt für Bauwesen und Raumordnung`]=`BBR`,e[`Bundesamt für Bevölkerungsschutz und Katastrophenhilfe`]=`BBK`,e[`Bundesamt für Familie und zivilgesellschaftliche Aufgaben`]=`BAFzA`,e[`Bundesamt für Güterverkehr`]=`BAG`,e[`Bundesamt für Justiz`]=`BfJ`,e[`Bundesamt für Kartographie und Geodäsie`]=`BKG`,e[`Bundesamt für kerntechnische Entsorgungssicherheit`]=`BASE`,e[`Bundesamt für Migration und Flüchtlinge`]=`BAMF`,e[`Bundesamt für Sicherheit in der Informationstechnik`]=`BSI`,e[`Bundesamt für Verbraucherschutz und Lebensmittelsicherheit`]=`BVL`,e[`Bundesamt für Verfassungsschutz`]=`BfV`,e[`Bundesamt für Wirtschaft und Ausfuhrkontrolle`]=`BAFA`,e[`Bundesamt für zentrale Dienste und offene Vermögensfragen`]=`BADV`,e[`Bundesanstalt für Verwaltungsdienstleistungen`]=`BAV`,e.Bundesarchiv=`BArch`,e[`Bundesaufsichtsamt für Flugsicherung`]=`BAF`,e.Bundesausgleichsamt=`BAA`,e.Bundeskartellamt=`BKartA`,e.Bundeskriminalamt=`BKA`,e.Bundesnachrichtendienst=`BND`,e[`Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen`]=`BNetzA`,e.Bundespolizeipräsidium=`BPOLP`,e[`Bundesprüfstelle für jugendgefährdende Medien`]=`BPjM`,e.Bundessortenamt=`BSA`,e.Bundessprachenamt=`BSprA`,e[`Bundesamt für Soziale Sicherung`]=`BAS`,e.Bundesverwaltungsamt=`BVA`,e[`Bundeszentralamt für Steuern`]=`BZSt`,e[`Deutsches Patent- und Markenamt`]=`DPMA`,e[`Eisenbahn-Bundesamt`]=`EBA`,e.Generalzolldirektion=`GZD`,e[`Militärischer Abschirmdienst`]=`MAD`,e[`Zentrale Stelle für Informationstechnik im Sicherheitsbereich`]=`ZITiS`})(I||={}),Object.getOwnPropertyNames(I);var vo;(function(e){e[`Informationstechnikzentrum Bund`]=`ITZBund`,e[`Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben`]=`BDBOS`,e[`Bundesanstalt für Landwirtschaft und Ernährung`]=`BLE`,e[`Bundesanstalt Technisches Hilfswerk`]=`THW`,e[`Bundesinstitut für Arzneimittel und Medizinprodukte`]=`BfArM`,e[`Bundesinstitut für Bevölkerungsforschung`]=`BiB`,e[`Bundesinstitut für Sportwissenschaft`]=`BISp`})(vo||={}),Object.getOwnPropertyNames(vo);var L=new Map;L.set(_o[`Die Bundesregierung`],[`Die`,`Bundesregierung`]),L.set(_o[`Bundesministerium der Finanzen`],[`Bundesministerium`,`der Finanzen`]),L.set(_o[`Bundesministerium des Innern, für Bau und Heimat`],[`Bundesministerium`,`des Inneren, für Bau`,`und Heimat`]),L.set(_o[`Auswärtiges Amt`],[`Auswärtiges Amt`]),L.set(_o[`Bundesministerium für Wirtschaft und Energie`],[`Bundesministerium`,`für Wirtschaft`,`und Energie`]),L.set(_o[`Bundesministerium der Justiz und für Verbraucherschutz`],[`Bundesministerium`,`der Justiz und`,`für Verbraucherschutz`]),L.set(_o[`Bundesministerium für Arbeit und Soziales`],[`Bundesministerium`,`für Arbeit und Soziales`]),L.set(_o[`Bundesministerium der Verteidigung`],[`Bundesministerium`,`der Verteidigung`]),L.set(_o[`Bundesministerium für Bildung und Forschung`],[`Bundesministerium`,`für Bildung`,`und Forschung`]),L.set(_o[`Bundesministerium für Ernährung und Landwirtschaft`],[`Bundesministerium`,`für Ernährung`,`und Landwirtschaft`]),L.set(_o[`Bundesministerium für Familie, Senioren, Frauen und Jugend`],[`Bundesministerium`,`für Familie, Senioren, Frauen`,`und Jugend`]),L.set(_o[`Bundesministerium für Gesundheit`],[`Bundesministerium`,`für Gesundheit`]),L.set(_o[`Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit`],[`Bundesministerium`,`für Umwelt, Naturschutz`,`und nukleare Sicherheit`]),L.set(_o[`Bundesministerium für Verkehr und digitale Infrastruktur`],[`Bundesministerium`,`für Verkehr und`,`digitale Infrastruktur`]),L.set(_o[`Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung`],[`Bundesministerium`,`für wirtschaftliche Zusammenarbeit`,`und Entwicklung`]),L.set(I[`Beschaffungsamt des Bundesministeriums des Innern`],[`Beschaffungsamt`,`des Bundesministeriums`,`des Innern`]),L.set(I[`Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr`],[]),L.set(I[`Bundesamt für äußere Restitutionen`],[]),L.set(I[`Bundesamt für Bauwesen und Raumordnung`],[]),L.set(I[`Bundesamt für Bevölkerungsschutz und Katastrophenhilfe`],[`Bundesamt`,`für Bevölkerungsschutz`,`und Katastrophenhilfe`]),L.set(I[`Bundesamt für Familie und zivilgesellschaftliche Aufgaben`],[`Bundesamt`,`für Familie und`,`zivilgesellschaftliche Aufgaben`]),L.set(I[`Bundesamt für Güterverkehr`],[`Bundesamt`,`für Güterverkehr`]),L.set(I[`Bundesamt für Justiz`],[`Bundesamt für`,`Justiz`]),L.set(I[`Bundesamt für Kartographie und Geodäsie`],[`Bundesamt für`,`Kartographie und Geodäsie`]),L.set(I[`Bundesamt für kerntechnische Entsorgungssicherheit`],[`Bundesamt für`,`kerntechnische`,`Entsorgungssicherheit`]),L.set(I[`Bundesamt für Migration und Flüchtlinge`],[`Bundesamt`,`für Migration`,`und Flüchtlinge`]),L.set(I[`Bundesamt für Sicherheit in der Informationstechnik`],[`Bundesamt`,`für Sicherheit in der`,`Informationstechnik`]),L.set(I[`Bundesamt für Verbraucherschutz und Lebensmittelsicherheit`],[`Bundesamt für`,`Verbraucherschutz und`,`Lebensmittelsicherheit`]),L.set(I[`Bundesamt für Verfassungsschutz`],[`Bundesamt für`,`Verfassungsschutz`]),L.set(I[`Bundesamt für Wirtschaft und Ausfuhrkontrolle`],[`Bundesamt`,`für Wirtschaft`,`Ausfuhrkontrolle`]),L.set(I[`Bundesamt für zentrale Dienste und offene Vermögensfragen`],[`Bundesamt`,`für zentrale Dienste und`,`offene Vermögensfragen`]),L.set(I[`Bundesanstalt für Verwaltungsdienstleistungen`],[`Bundesanstalt`,`für Verwaltungsdienstleistungen`]),L.set(I.Bundesarchiv,[`Das`,`Bundesarchiv`]),L.set(I[`Bundesaufsichtsamt für Flugsicherung`],[`Bundesaufsichtsamt`,`für Flugsicherung`]),L.set(I.Bundesausgleichsamt,[`Bundesausgleichsamt`]),L.set(I.Bundeskartellamt,[`Bundeskartellamt`]),L.set(I.Bundeskriminalamt,[`Bundeskriminalamt`]),L.set(I.Bundesnachrichtendienst,[`Bundesnachrichtendienst`]),L.set(I[`Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen`],[`Bundesnetzagentur`]),L.set(I.Bundespolizeipräsidium,[`Bundespolizeipräsidium`]),L.set(I[`Bundesprüfstelle für jugendgefährdende Medien`],[`Bundesprüfstelle`,`für jugendgefährdende`,`Medien`]),L.set(I.Bundessortenamt,[`Bundessortenamt`]),L.set(I.Bundessprachenamt,[`Bundessprachenamt`]),L.set(I[`Bundesamt für Soziale Sicherung`],[`Bundesamt`,`für Soziale Sicherung`]),L.set(I.Bundesverwaltungsamt,[`Bundesverwaltungsamt`]),L.set(I[`Bundeszentralamt für Steuern`],[`Bundeszentralamt`,`für Steuern`]),L.set(I[`Deutsches Patent- und Markenamt`],[`Deutsches`,`Patent- und Markenamt`]),L.set(I[`Eisenbahn-Bundesamt`],[`Eisenbahn-Bundesamt`]),L.set(I.Generalzolldirektion,[`Generalzolldirektion`]),L.set(I[`Militärischer Abschirmdienst`],[`Bundesamt für den`,`Militärischen Abschirmdienst`]),L.set(I[`Zentrale Stelle für Informationstechnik im Sicherheitsbereich`],[`Zentrale Stelle`,`für Informationstechnik`,`im Sicherheitsbereich`]),L.set(vo[`Informationstechnikzentrum Bund`],[`Informations`,`Technik`,`Zentrum Bund`]),L.set(vo[`Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben`],[`Bundesanstalt`,`für den Digitalfunk der Behörden und`,`Organisationen mit Sicherheitsaufgaben`]),L.set(vo[`Bundesanstalt für Landwirtschaft und Ernährung`],[`Bundesanstalt für`,`Landwirtschaft und Ernährung`]),L.set(vo[`Bundesanstalt Technisches Hilfswerk`],[`Bundesanstalt`,`Technisches Hilfswerk`]),L.set(vo[`Bundesinstitut für Arzneimittel und Medizinprodukte`],[`Bundesinstitut`,`für Arzneimittel`,`und Medizinprodukte`]),L.set(vo[`Bundesinstitut für Bevölkerungsforschung`],[`Bundesinstitut`,`für Bevölkerungsforschung`]),L.set(vo[`Bundesinstitut für Sportwissenschaft`],[`Bundesinstitut`,`für Sportwissenschaft`]),go();var yo=new Set([`children`,`localName`,`ref`,`style`,`className`]),bo=new WeakMap,xo=(e,t,n,r,i)=>{let a=i?.[t];a===void 0?(e[t]=n,n==null&&t in HTMLElement.prototype&&e.removeAttribute(t)):n!==r&&((e,t,n)=>{let r=bo.get(e);r===void 0&&bo.set(e,r=new Map);let i=r.get(t);n===void 0?i!==void 0&&(r.delete(t),e.removeEventListener(t,i)):i===void 0?(r.set(t,i={handleEvent:n}),e.addEventListener(t,i)):i.handleEvent=n})(e,a,n)},So=({react:e,tagName:t,elementClass:n,events:r,displayName:i})=>{let a=new Set(Object.keys(r??{})),o=e.forwardRef(((i,o)=>{let s=e.useRef(new Map),c=e.useRef(null),l={},u={};for(let[e,t]of Object.entries(i))yo.has(e)?l[e===`className`?`class`:e]=t:a.has(e)||e in n.prototype?u[e]=t:l[e]=t;return e.useLayoutEffect((()=>{if(c.current===null)return;let e=new Map;for(let t in u)xo(c.current,t,i[t],s.current.get(t),r),s.current.delete(t),e.set(t,i[t]);for(let[e,t]of s.current)xo(c.current,e,void 0,t,r);s.current=e})),e.useLayoutEffect((()=>{c.current?.removeAttribute(`defer-hydration`)}),[]),l.suppressHydrationWarning=!0,e.createElement(t,{...l,ref:e.useCallback((e=>{c.current=e,typeof o==`function`?o(e):o!==null&&(o.current=e)}),[o])})}));return o.displayName=i??n.name,o},Co=e=>e?e.split(/\s+/).filter(Boolean):[],wo=(e,t,n)=>{let r=new Set(Co(t)),i=new Set(Co(n)),a=[];for(let t of e)r.has(t)?(a.push(t),r.delete(t)):i.has(t)||a.push(t);for(let e of r)a.push(e);return a.join(` `)},To=typeof window<`u`?w.useLayoutEffect:w.useEffect,Eo=({defineCustomElement:e,tagName:t,transformTag:n,...r})=>{typeof e<`u`&&e();let i=n?n(t):t,a=So({...r,tagName:i}),o=w.forwardRef((e,t)=>{let{className:n,class:r,...i}=e,o=n??r??``,s=w.useRef(null),c=w.useRef(``);To(()=>{let e=s.current;e===null||o===c.current||(e.className=wo(Array.from(e.classList),o,c.current),c.current=o)});let l=w.useCallback(e=>{s.current=e,typeof t==`function`?t(e):t!=null&&(t.current=e)},[t]);return w.createElement(a,{...i,ref:l})});return o.displayName=r.displayName??i,o},Do=typeof global==`object`&&global&&global.Object===Object&&global,Oo=typeof self==`object`&&self&&self.Object===Object&&self,ko=Do||Oo||Function(`return this`)(),Ao=ko.Symbol,jo=Object.prototype,Mo=jo.hasOwnProperty,No=jo.toString,Po=Ao?Ao.toStringTag:void 0,Fo=Object.prototype.toString,Io=Ao?Ao.toStringTag:void 0;function Lo(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Io&&Io in Object(e)?function(e){var t=Mo.call(e,Po),n=e[Po];try{e[Po]=void 0;var r=!0}catch{}var i=No.call(e);return r&&(t?e[Po]=n:delete e[Po]),i}(e):function(e){return Fo.call(e)}(e)}function Ro(e){return typeof e==`object`&&!!e}var zo=Array.isArray;function Bo(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function Vo(e){if(!Bo(e))return!1;var t=Lo(e);return t==`[object Function]`||t==`[object GeneratorFunction]`||t==`[object AsyncFunction]`||t==`[object Proxy]`}var Ho,Uo=ko[`__core-js_shared__`],Wo=(Ho=/[^.]+$/.exec(Uo&&Uo.keys&&Uo.keys.IE_PROTO||``))?`Symbol(src)_1.`+Ho:``,Go=Function.prototype.toString;function Ko(e){if(e!=null){try{return Go.call(e)}catch{}try{return e+``}catch{}}return``}var qo=/^\[object .+?Constructor\]$/,Jo=RegExp(`^`+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function Yo(e,t){var n=function(e,t){return e?.[t]}(e,t);return function(e){return!(!Bo(e)||(t=e,Wo&&Wo in t))&&(Vo(e)?Jo:qo).test(Ko(e));var t}(n)?n:void 0}var Xo=Yo(ko,`WeakMap`),Zo=Object.create,Qo=function(){function e(){}return function(t){if(!Bo(t))return{};if(Zo)return Zo(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),$o=function(){try{var e=Yo(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),es=/^(?:0|[1-9]\d*)$/;function ts(e,t){var n=typeof e;return!!(t??=9007199254740991)&&(n==`number`||n!=`symbol`&&es.test(e))&&e>-1&&e%1==0&&e<t}function ns(e,t){return e===t||e!=e&&t!=t}var rs=Object.prototype.hasOwnProperty;function is(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=9007199254740991}var as=Object.prototype;function os(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||as)}function ss(e){return Ro(e)&&Lo(e)==`[object Arguments]`}var cs=Object.prototype,ls=cs.hasOwnProperty,us=cs.propertyIsEnumerable,ds=ss(function(){return arguments}())?ss:function(e){return Ro(e)&&ls.call(e,`callee`)&&!us.call(e,`callee`)},fs=typeof exports==`object`&&exports&&!exports.nodeType&&exports,ps=fs&&typeof module==`object`&&module&&!module.nodeType&&module,ms=ps&&ps.exports===fs?ko.Buffer:void 0,hs=(ms?ms.isBuffer:void 0)||function(){return!1},gs={};function _s(e){return function(t){return e(t)}}gs[`[object Float32Array]`]=gs[`[object Float64Array]`]=gs[`[object Int8Array]`]=gs[`[object Int16Array]`]=gs[`[object Int32Array]`]=gs[`[object Uint8Array]`]=gs[`[object Uint8ClampedArray]`]=gs[`[object Uint16Array]`]=gs[`[object Uint32Array]`]=!0,gs[`[object Arguments]`]=gs[`[object Array]`]=gs[`[object ArrayBuffer]`]=gs[`[object Boolean]`]=gs[`[object DataView]`]=gs[`[object Date]`]=gs[`[object Error]`]=gs[`[object Function]`]=gs[`[object Map]`]=gs[`[object Number]`]=gs[`[object Object]`]=gs[`[object RegExp]`]=gs[`[object Set]`]=gs[`[object String]`]=gs[`[object WeakMap]`]=!1;var vs=typeof exports==`object`&&exports&&!exports.nodeType&&exports,ys=vs&&typeof module==`object`&&module&&!module.nodeType&&module,bs=ys&&ys.exports===vs&&Do.process,xs=function(){try{return ys&&ys.require&&ys.require(`util`).types||bs&&bs.binding&&bs.binding(`util`)}catch{}}(),Ss=xs&&xs.isTypedArray,Cs=Ss?_s(Ss):function(e){return Ro(e)&&is(e.length)&&!!gs[Lo(e)]},ws=Object.prototype.hasOwnProperty;function Ts(e,t){return function(n){return e(t(n))}}var Es=Ts(Object.keys,Object),Ds=Object.prototype.hasOwnProperty;function Os(e){return(t=e)!=null&&is(t.length)&&!Vo(t)?function(e){var t=zo(e),n=!t&&ds(e),r=!t&&!n&&hs(e),i=!t&&!n&&!r&&Cs(e),a=t||n||r||i,o=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],s=o.length;for(var c in e)!ws.call(e,c)||a&&(c==`length`||r&&(c==`offset`||c==`parent`)||i&&(c==`buffer`||c==`byteLength`||c==`byteOffset`)||ts(c,s))||o.push(c);return o}(e):function(e){if(!os(e))return Es(e);var t=[];for(var n in Object(e))Ds.call(e,n)&&n!=`constructor`&&t.push(n);return t}(e);var t}var ks=Yo(Object,`create`),As=Object.prototype.hasOwnProperty,js=Object.prototype.hasOwnProperty;function Ms(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ns(e,t){for(var n=e.length;n--;)if(ns(e[n][0],t))return n;return-1}Ms.prototype.clear=function(){this.__data__=ks?ks(null):{},this.size=0},Ms.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t},Ms.prototype.get=function(e){var t=this.__data__;if(ks){var n=t[e];return n===`__lodash_hash_undefined__`?void 0:n}return As.call(t,e)?t[e]:void 0},Ms.prototype.has=function(e){var t=this.__data__;return ks?t[e]!==void 0:js.call(t,e)},Ms.prototype.set=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=ks&&t===void 0?`__lodash_hash_undefined__`:t,this};var Ps=Array.prototype.splice;function Fs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Fs.prototype.clear=function(){this.__data__=[],this.size=0},Fs.prototype.delete=function(e){var t=this.__data__,n=Ns(t,e);return!(n<0||(n==t.length-1?t.pop():Ps.call(t,n,1),--this.size,0))},Fs.prototype.get=function(e){var t=this.__data__,n=Ns(t,e);return n<0?void 0:t[n][1]},Fs.prototype.has=function(e){return Ns(this.__data__,e)>-1},Fs.prototype.set=function(e,t){var n=this.__data__,r=Ns(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var Is=Yo(ko,`Map`);function Ls(e,t){var n,r,i=e.__data__;return((r=typeof(n=t))==`string`||r==`number`||r==`symbol`||r==`boolean`?n!==`__proto__`:n===null)?i[typeof t==`string`?`string`:`hash`]:i.map}function Rs(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Rs.prototype.clear=function(){this.size=0,this.__data__={hash:new Ms,map:new(Is||Fs),string:new Ms}},Rs.prototype.delete=function(e){var t=Ls(this,e).delete(e);return this.size-=+!!t,t},Rs.prototype.get=function(e){return Ls(this,e).get(e)},Rs.prototype.has=function(e){return Ls(this,e).has(e)},Rs.prototype.set=function(e,t){var n=Ls(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};var zs=Ts(Object.getPrototypeOf,Object);function Bs(e){var t=this.__data__=new Fs(e);this.size=t.size}Bs.prototype.clear=function(){this.__data__=new Fs,this.size=0},Bs.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Bs.prototype.get=function(e){return this.__data__.get(e)},Bs.prototype.has=function(e){return this.__data__.has(e)},Bs.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Fs){var r=n.__data__;if(!Is||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Rs(r)}return n.set(e,t),this.size=n.size,this},typeof exports==`object`&&exports&&!exports.nodeType&&exports&&typeof module==`object`&&module&&!module.nodeType&&module;var Vs=Object.prototype.propertyIsEnumerable,Hs=Object.getOwnPropertySymbols,Us=Hs?function(e){return e==null?[]:(e=Object(e),function(t){for(var n=-1,r=t==null?0:t.length,i=0,a=[];++n<r;){var o=t[n];Vs.call(e,o)&&(a[i++]=o)}return a}(Hs(e)))}:function(){return[]},Ws=Yo(ko,`DataView`),Gs=Yo(ko,`Promise`),Ks=Yo(ko,`Set`),qs=`[object Map]`,Js=`[object Promise]`,Ys=`[object Set]`,Xs=`[object WeakMap]`,Zs=`[object DataView]`,Qs=Ko(Ws),$s=Ko(Is),ec=Ko(Gs),tc=Ko(Ks),nc=Ko(Xo),rc=Lo;(Ws&&rc(new Ws(new ArrayBuffer(1)))!=Zs||Is&&rc(new Is)!=qs||Gs&&rc(Gs.resolve())!=Js||Ks&&rc(new Ks)!=Ys||Xo&&rc(new Xo)!=Xs)&&(rc=function(e){var t=Lo(e),n=t==`[object Object]`?e.constructor:void 0,r=n?Ko(n):``;if(r)switch(r){case Qs:return Zs;case $s:return qs;case ec:return Js;case tc:return Ys;case nc:return Xs}return t});var ic=Object.prototype.hasOwnProperty,ac=ko.Uint8Array;function oc(e){var t=new e.constructor(e.byteLength);return new ac(t).set(new ac(e)),t}var sc=/\w*$/,cc=Ao?Ao.prototype:void 0,lc=cc?cc.valueOf:void 0,uc=xs&&xs.isMap,dc=uc?_s(uc):function(e){return Ro(e)&&rc(e)==`[object Map]`},fc=xs&&xs.isSet,pc=fc?_s(fc):function(e){return Ro(e)&&rc(e)==`[object Set]`},mc=`[object Arguments]`,hc=`[object Function]`,gc=`[object Object]`,_c={};function vc(e,t,n,r,i,a){var o;if(o!==void 0)return o;if(!Bo(e))return e;var s=zo(e);if(s)o=function(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&ic.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}(e);else{var c=rc(e),l=c==hc||c==`[object GeneratorFunction]`;if(hs(e))return e.slice();if(c==gc||c==mc||l&&!i)o=l?{}:function(e){return typeof e.constructor!=`function`||os(e)?{}:Qo(zs(e))}(e);else{if(!_c[c])return i?e:{};o=function(e,t){var n,r,i,a,o=e.constructor;switch(t){case`[object ArrayBuffer]`:return oc(e);case`[object Boolean]`:case`[object Date]`:return new o(+e);case`[object DataView]`:return a=oc((i=e).buffer),new i.constructor(a,i.byteOffset,i.byteLength);case`[object Float32Array]`:case`[object Float64Array]`:case`[object Int8Array]`:case`[object Int16Array]`:case`[object Int32Array]`:case`[object Uint8Array]`:case`[object Uint8ClampedArray]`:case`[object Uint16Array]`:case`[object Uint32Array]`:return function(e){var t=oc(e.buffer);return new e.constructor(t,e.byteOffset,e.length)}(e);case`[object Map]`:case`[object Set]`:return new o;case`[object Number]`:case`[object String]`:return new o(e);case`[object RegExp]`:return(r=new(n=e).constructor(n.source,sc.exec(n))).lastIndex=n.lastIndex,r;case`[object Symbol]`:return lc?Object(lc.call(e)):{}}}(e,c)}}a||=new Bs;var u=a.get(e);if(u)return u;a.set(e,o),pc(e)?e.forEach((function(r){o.add(vc(r,t,n,0,e,a))})):dc(e)&&e.forEach((function(r,i){o.set(i,vc(r,t,n,0,e,a))}));var d=s?void 0:function(e){return function(e,t,n){var r=Os(e);return zo(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,0,Us)}(e);return function(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&!1!==t(e[n],n););}(d||e,(function(r,i){d&&(r=e[i=r]),function(e,t,n){var r=e[t];rs.call(e,t)&&ns(r,n)&&(n!==void 0||t in e)||function(e,t,n){t==`__proto__`&&$o?$o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}(e,t,n)}(o,i,vc(r,t,n,0,e,a))})),o}function yc(e){return vc(e,5)}function R(e){if(typeof e==`string`)return e;if(typeof e==`number`||typeof e==`boolean`||typeof e==`bigint`)return String(e);throw TypeError(`Cannot convert ${typeof e} to string`)}function bc(e){if(typeof e==`string`)return e;if(typeof e==`number`||typeof e==`boolean`||typeof e==`bigint`)return String(e);if(Array.isArray(e)&&e.every(Uc))return e;throw TypeError(`Cannot convert ${typeof e} to a label`)}function xc(e){let t;try{t=Sc(e)}catch{throw Error(`Invalid integer: ${String(e)}`)}return Number.isInteger(t)?t:Math.round(t)}function Sc(e){if(typeof e==`number`&&!isNaN(e))return e;if(typeof e==`string`&&e.trim()!==``){let t=Number(e);if(!isNaN(t))return t}throw Error(`Invalid number: ${String(e)}`)}function Cc(e){if(typeof e==`number`&&!isNaN(e))return e;throw Error(`Invalid number: ${String(e)}`)}_c[mc]=_c[`[object Array]`]=_c[`[object ArrayBuffer]`]=_c[`[object DataView]`]=_c[`[object Boolean]`]=_c[`[object Date]`]=_c[`[object Float32Array]`]=_c[`[object Float64Array]`]=_c[`[object Int8Array]`]=_c[`[object Int16Array]`]=_c[`[object Int32Array]`]=_c[`[object Map]`]=_c[`[object Number]`]=_c[gc]=_c[`[object RegExp]`]=_c[`[object Set]`]=_c[`[object String]`]=_c[`[object Symbol]`]=_c[`[object Uint8Array]`]=_c[`[object Uint8ClampedArray]`]=_c[`[object Uint16Array]`]=_c[`[object Uint32Array]`]=!0,_c[`[object Error]`]=_c[hc]=_c[`[object WeakMap]`]=!1;var wc=/^[-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?$/;function Tc(e){return typeof e==`string`&&wc.test(e)&&Number.isFinite(Number(e))}function Ec(e){if(typeof e==`number`)return isNaN(e)?void 0:e;if(Tc(e))return parseFloat(e);throw Error(`Invalid number: ${e}`)}function Dc(e){if(typeof e==`boolean`)return e;if(typeof e==`string`){let t=e.toLowerCase();if(t===`true`||t===`false`)return t===`true`}throw Error(`Invalid boolean: ${String(e)}`)}function Oc(e,t){if(!0===e||e===`true`)return`true`;if(!1===e||e===`false`)return`false`;if(e===``)return``;throw Error(`Invalid ${t} value: expected a boolean, got ${JSON.stringify(e)}`)}function kc(e,t){return typeof e==`string`&&t.includes(e)}function Ac(e){if(La(e))return e;if(typeof e==`string`){let t=JSON.parse(e);if(La(t))return t}throw Error(`Invalid object: ${e}`)}function jc(e){if(La(e)&&Array.isArray(e))return e;if(typeof e==`string`){let t=JSON.parse(e);if(La(t)&&Array.isArray(t))return t}throw Error(`Invalid array: ${e}`)}function Mc(e){if(typeof e==`object`&&e)return e;throw Error(`Invalid on callbacks: expected object, got `+typeof e)}function Nc(e){try{return JSON.stringify(e)}catch{return`[unserializable]`}}function Pc(e,t,n){let r=n instanceof Error?` (${n.message})`:``;Zi(`The property value ${Nc(t)} for '${e}' is not valid${r}. The value is ignored.`)}function z(e,t,n,r=()=>!0,i){return{propName:e,getDefaultValue:Bo(t)?()=>yc(t):()=>t,normalize:n,validate:r,apply(n,r,a){var o;if(n!=null)try{let t=this.normalize(n);this.validate(t)?((o=i?.hints)==null||o.call(i,this.propName,t),r(t)):Pc(e,n)}catch(t){Pc(e,n,t)}else{if(a&&Zi(`The required property '_${e}' did not receive a value. ${t===void 0?`The property stays unset.`:`The default value is used instead.`}`),t===void 0)return void r(void 0);let n=this.getDefaultValue();if(!this.validate(n))throw Error(`Default value ${Nc(t)} is invalid for prop definition '${e}'.`);r(n)}}}}function Fc(e,t,n,r=()=>!0){return{propName:e,getDefaultValue:Bo(t)?()=>yc(t):()=>t,normalize:n,validate:r,apply(n,r,i){if(n!=null)try{let t=this.normalize(n,i);this.validate(t,i)?r(t):Pc(e,n)}catch(t){Pc(e,n,t)}else{if(t===void 0)return void r(void 0);let n=this.getDefaultValue();if(!this.validate(n,i))throw Error(`Default value ${Nc(t)} is invalid for prop definition '${e}' with dependencies ${Nc(i)}.`);r(n)}}}}function Ic(){return z(`on`,{},(e=>Mc(e)))}function Lc(e){var t;Array.isArray(e)&&e.raw&&(e=String.raw(...arguments));var n=pa(e);if(!n.space)return[];let r=n.space[0]===`h`?ha.min:ma.min,i=n.space[0]===`h`?ha.max:ma.max;return(t=[,,,])[0]=Math.min(Math.max(n.values[0],r[0]),i[0]),t[1]=Math.min(Math.max(n.values[1],r[1]),i[1]),t[2]=Math.min(Math.max(n.values[2],r[2]),i[2]),n.space[0]===`h`&&(t=ha.rgb(t)),t.push(Math.min(Math.max(n.alpha,0),1)),t}var Rc=/[a-zA-Z0-9äöüÄÖÜß]/g,zc=/^\d+$/;function Bc(e,t=1){return function(e){return typeof e==`string`&&e.match(Rc)?.length||0}(e)>=t}function Vc(e){return zc.test(e)}function Hc(e){return typeof e==`string`?e.trim():Array.isArray(e)?e.map((e=>e.text)).join(``).trim():``}function Uc(e){if(typeof e!=`object`||!e)return!1;let t=e;return!!Object.keys(t).every((e=>e===`text`||e===`lang`))&&typeof t.text==`string`&&(t.lang===void 0||typeof t.lang==`string`)}var Wc=e=>e.length>=2||Vc(e);function Gc(e){return typeof e==`string`?Wc(e):!!Array.isArray(e)&&e.length>0&&e.every(Uc)&&Wc(Hc(e))}var Kc=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i,qc=e=>typeof e==`object`&&!!e&&typeof e.backgroundColor==`string`&&typeof e.foregroundColor==`string`,Jc=e=>{let t=Lc(e);if(!Array.isArray(t)||t.length<3)throw Error(`Invalid KoliBri color: ${e}`);let[n,r,i]=t;return{red:n,green:r,blue:i}},Yc=z(`color`,Jc(`#003c78`),(e=>{if(typeof e==`string`&&Kc.test(e))return Jc(e);let t=qc(e)?e:typeof e==`string`?(e=>{if(e.startsWith(`{`))try{let t=JSON.parse(e);return qc(t)?t:void 0}catch{return}})(e):void 0;if(t)return Jc(t.foregroundColor);throw Error(`Invalid KoliBri color: expected a hex string or a color pair.`)})),Xc=new Set([`eager`,`lazy`]),Zc=z(`loading`,`lazy`,(e=>R(e)),(e=>Xc.has(e)));function Qc(e,t){return e<t.min?t.min:e>t.max?t.max:e}var $c=Fc(`value`,0,((e,t)=>Qc(Sc(e),t)),(e=>typeof e==`number`&&!isNaN(e))),el=Object.assign(Object.assign({},$c),{apply(e,t,n){$c.apply(e,(e=>t(Qc(e,n))),n)}}),tl=new Set([`blank`,`card`]),nl=z(`variant`,`blank`,(e=>R(e)),(e=>tl.has(e))),rl=new Set([`block`,`inline`]),il=z(`variant`,`inline`,(e=>R(e)),(e=>rl.has(e))),al=e=>{let t=``;if(typeof e==`string`||typeof e==`number`)t+=e;else if(typeof e==`object`&&e){if(Array.isArray(e)){for(let n of e)if(n){let e=al(n);e&&(t&&(t+=` `),t+=e)}}else for(let n in e)e[n]&&(t&&(t+=` `),t+=n)}return t},B=(...e)=>{let t=``;for(let n of e)if(n){let e=al(n);e&&(t&&(t+=` `),t+=e)}return t},ol=new Map;function sl(e){let t=ol.get(e);return t||(t=N.forBlock(e),ol.set(e,t)),t}var cl=(e,t)=>{let n=B(sl(e.block)(e.modifiers),e.class),r={};for(let[t,i]of Object.entries(e))t===`block`?r.class=n:t!==`class`&&t!==`component`&&t!==`modifiers`&&(r[t]=i);return k(e.component??`div`,Object.assign({},r),t)};function ll(e){let t={};for(let n of[...e.required??[],...e.optional??[]])t[n.propName]=n.getDefaultValue();return t}function ul(e,t){return Object.assign(Object.assign({},ll(e)),t)}function dl(){throw Error(`This behavior does not use component state.`)}var V=class extends un{constructor(){super(!1),this.rawProps={},this.renderProps={},this.requiredPropNames=new Set,this.renderPropsSeeded=!1,this.setState=(e,t)=>{this[e]=t},this.getState=e=>this[e],this.stateAccess={setState:this.setState,getState:this.getState}}seedRenderProps(){this.renderPropsSeeded||(this.renderPropsSeeded=!0,this.renderProps=ll(this.propsConfig),this.requiredPropNames=new Set((this.propsConfig.required??[]).map((e=>e.propName))))}isRequired(e){return this.seedRenderProps(),this.requiredPropNames.has(e)}setRawProp(e,t){this.rawProps[e]=t}getRawProp(e){return this.rawProps[e]}setRenderProp(e,t){this.seedRenderProps(),this.renderProps[e]=t}unsetRenderProp(e){this.seedRenderProps(),this.renderProps[e]=void 0}getRenderProp(e){return this.seedRenderProps(),this.renderProps[e]}};V.stateLess=Object.freeze({setState:dl,getState:dl});function fl(e,t){let n=typeof t==`string`?t:Array.isArray(t)?Hc(t):``;n!==``&&(!1===Bc(n,3)&&!1===Vc(n)&&Ki(`The heading or label ("${n}") is inaccessible. A label should consist of at least three readable characters.`),n.length>80&&ta(`A heading or label should not be longer than 80 characters.`))}var pl=z(`label`,void 0,bc,Gc,{hints:fl}),ml={optional:[pl]},hl=()=>k(cl,{block:`kol-abbr`,component:`abbr`},k(`slot`,null)),gl=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=ml,this._label=void 0}watchLabel(e){pl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}componentWillLoad(){this.watchLabel(this._label)}render(){return k(A,{key:`04ae432ca79eeb76039d0e301afec327968e26b6`},k(hl,{key:`5ea594d56eae0f50e090914906357178e3ddeefe`,label:this.getRenderProp(`label`)}))}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host > abbr { text-decoration: underline dashed; cursor: help; } }`}}},[545,`kol-abbr`,{_label:[1]},void 0,{_label:[{watchLabel:0}]}]),_l=gl,vl=function(){typeof customElements<`u`&&[`kol-abbr`].forEach((e=>{e===`kol-abbr`&&(customElements.get(M(e))||customElements.define(M(e),gl))}))};function yl(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function H(e,t,n,r){var i,a=arguments.length,o=a<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,n,o):i(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}var bl=[0,1,2,3,4,5,6],xl=z(`level`,0,(e=>xc(e)),(e=>bl.includes(e))),Sl=z(`disabled`,!1,Dc),Cl=z(`open`,!1,Dc),wl=1;function Tl(e){return function(e){return e>=wl&&e<=6}(e)?`h${e}`:`strong`}var El=(e,t)=>{var{class:n,level:r=wl}=e,i=yl(e,[`class`,`level`]);let a=Tl(r);return k(a,Object.assign({class:B(`kol-headline`,`kol-headline--${a}`,n)},i),t)},Dl=(e,t)=>{var{class:n}=e,r=yl(e,[`class`]);return k(`p`,Object.assign({class:B(`kol-headline kol-headline--group kol-headline--secondary`,n)},r),t)},Ol=(e,t)=>{var{secondaryHeadline:n,level:r=wl,class:i,HeadingGroupProps:a={},SecondaryHeadlineProps:o={}}=e,s=yl(e,[`secondaryHeadline`,`level`,`class`,`HeadingGroupProps`,`SecondaryHeadlineProps`]);let c=Object.assign({level:r},s);if(!n)return k(El,Object.assign({class:B(i,`kol-headline--single`)},c),t);let{class:l}=a,u=yl(a,[`class`]),d=Object.assign({class:B(`kol-heading-group`,l)},u);return k(`hgroup`,Object.assign({},d),k(El,Object.assign({class:B(i,`kol-headline--group`,`kol-headline--primary`)},c),t),k(Dl,Object.assign({},o),n))};function kl(e){return new Promise(((t,n)=>{let r,i=new MutationObserver((()=>{e.hasAttribute(`data-themed`)&&(r&&clearTimeout(r),i.disconnect(),t())}));if(i.observe(e,{attributes:!0,attributeFilter:[`data-themed`]}),e.hasAttribute(`data-themed`))return i.disconnect(),void t();r=setTimeout((()=>{i.disconnect(),n(Error(`Timeout waiting for data-themed attribute`))}),5e3)}))}async function Al(e,t){try{e.hasAttribute(`data-themed`)||await kl(e),await t()}catch{throw Error(`The interactive element inside the KoliBri web component could not be focused. Try calling the focus method on the web component after a short delay again.`)}}function jl(e){let t=e.getRootNode();return t instanceof ShadowRoot?t.activeElement===e:document.activeElement===e}function Ml(e){let t=function(e=document){let t=e.activeElement;for(;t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t}();if(!t||!e)return!1;let n=t;for(;n;){if(n===e)return!0;let t=n.getRootNode();n=t instanceof ShadowRoot?t.host:n.parentElement}return!1}var Nl={preventScroll:!0};async function Pl(e,t){if(!e)return;let n=t??{},{afterFocus:r}=n,i=yl(n,[`afterFocus`]),a=t&&(`behavior`in i||`block`in i||`inline`in i),o=0;do e&&e.focus(Nl),await new Promise((e=>requestAnimationFrame(e))),o++;while(!jl(e)&&o<10);let s=jl(e);if(a){let t=Object.assign(Object.assign({},i),{behavior:i.behavior});e.scrollIntoView(t)}r&&s&&(a&&i.behavior===`smooth`&&await function(e,t=2e3){return new Promise((n=>{let r,i,a=!1,o=()=>{a||(a=!0,clearTimeout(s),i?.(),i=void 0,r?.disconnect(),n())},s=setTimeout(o,t);if(typeof window<`u`&&`onscrollend`in window){let t=t=>{let n=t.target;n instanceof Node&&n.contains(e)&&o()};document.addEventListener(`scrollend`,t,{capture:!0}),i=()=>{document.removeEventListener(`scrollend`,t,{capture:!0})}}else typeof IntersectionObserver<`u`?(r=new IntersectionObserver((e=>{e.some((e=>e.isIntersecting))&&o()}),{threshold:0}),r.observe(e)):o()}))}(e),r())}async function Fl(e,t){try{e.hasAttribute(`data-themed`)||await kl(e),await t()}catch{throw Error(`The interactive element inside the KoliBri web component could not be clicked. Try calling the click method on the web component after a short delay again.`)}}function Il(e){if(!e)return!1;let t=e.getBoundingClientRect();return t.width>0&&t.height>0}async function Ll(e){let t=0;do e&&e.click(),await new Promise((e=>requestAnimationFrame(e))),t++;while(!Il(e)&&t<3)}function Rl(e){let t,n=e=>{t=e};return Object.defineProperty(n,"el",{get:()=>!0===e?.()?void 0:t,set:e=>{t=e}}),n}var zl=e=>e.preventDefault();function Bl(e){return(t,n,r)=>(r.value=async function(t){return e(this,t)},r)}function Vl(e){return Bl(((t,n)=>{let r=t[e]?.el;return r?Pl(r,n):Promise.resolve()}))}function U(e){return Bl(((t,n)=>{let r=t.host;return r?Al(r,(()=>{let r=t[e]?.el;return r?Pl(r,n):Promise.resolve()})):Promise.resolve()}))}function W(e){return t=t=>Fl(t.host,(()=>{let n=t[e].el;return n?Ll(n):Promise.resolve()})),(e,n,r)=>(r.value=async function(){return t(this)},r);var t}var Hl=N.forBlock(`kol-icon`)(`icon`),Ul=e=>{var{class:t,icons:n,label:r}=e,i=yl(e,[`class`,`icons`,`label`]);let a=r?.length>0;return k(cl,Object.assign({component:`i`},i,{"aria-hidden":a?void 0:`true`,"aria-label":a?r:void 0,block:`kol-icon`,class:B(Hl,n,t),role:a?`img`:`presentation`}))};function Wl(e){return typeof e==`string`||!zo(e)&&Ro(e)&&Lo(e)==`[object String]`}var Gl=e=>e===``,Kl=(e,t)=>e||t||``,ql=RegExp(`\0`,`g`),Jl=`�`,Yl={amp:`&`,apos:`'`,gt:`>`,lt:`<`,nbsp:`\xA0`,quot:`"`},Xl=e=>Number.isInteger(e)&&e>=32&&e<=1114111&&!(e>=55296&&e<=57343)?String.fromCodePoint(e):void 0,Zl="\\s!-/:-@\\[-^`{-~",Ql=`(^|[${Zl}])`,$l=`(?=$|[${Zl}])`,eu=`\\S(?:[\\s\\S]*\\S)?`,tu=/[ \t]{2,}\n/g,nu=RegExp(`~~(${eu})~~`,`g`),ru=RegExp(`\\*\\*(${eu})\\*\\*`,`g`),iu=/\*([^\s*](?:[^*]*[^\s*])?)\*/g,au=RegExp(`\\*\\*\\*(${eu})\\*\\*\\*`,`g`),ou=RegExp(`${Ql}__(${eu})__${$l}`,`g`),su=RegExp(`${Ql}_([^\\s_](?:[^_]*[^\\s_])?)_${$l}`,`g`),cu=RegExp(`${Ql}___(${eu})___${$l}`,`g`),lu=e=>{let t=[];return(e=>e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`))((e=>e.replace(/&#(\d+);/g,((e,t)=>Xl(Number.parseInt(t,10))??e)).replace(/&#x([0-9a-f]+);/gi,((e,t)=>Xl(Number.parseInt(t,16))??e)).replace(/&([a-z]+);/gi,((e,t)=>Yl[t.toLowerCase()]??e)))(e.replace(/\r\n?/g,`
10
+ `).replace(ql,Jl))).replace(/\\([\\`*_~[\]()#+\-.!>{}])/g,((e,n)=>(t.push(n),`<${t.length-1}>`))).split(/(`[^`]+`)/).map(((e,t)=>t%2==0?(e=>e.replace(tu,`<br>
11
+ `).replace(au,`<em><strong>$1</strong></em>`).replace(cu,`$1<em><strong>$2</strong></em>`).replace(nu,`<s>$1</s>`).replace(ru,`<strong>$1</strong>`).replace(ou,`$1<strong>$2</strong>`).replace(iu,`<em>$1</em>`).replace(su,`$1<em>$2</em>`))(e):`<code>${e.slice(1,-1)}</code>`)).join(``).replace(/<(\d+)>/g,((e,n)=>t[Number.parseInt(n,10)]??``))},uu=N.forBlock(`kol-span`);function du(e){return e!=null&&function(e){return typeof e==`object`&&!!e&&`icon`in e}(e)?e:Wl(e)&&e.length>0?{icon:e}:null}function fu(e){return Array.isArray(e)?k(`span`,null,e.map((e=>k(`span`,{lang:e.lang},e.text)))):k(jr,null,e)}var pu=(e,t)=>{let{allowMarkdown:n,badgeText:r,class:i,hideLabel:a=!1,icons:o,label:s}=e,c=yl(e,[`allowMarkdown`,`badgeText`,`class`,`hideLabel`,`icons`,`label`]),l=null,u=null,d=null,f=null;(function(e){return typeof e==`object`&&!!e&&!Array.isArray(e)})(o)?(l=du(o.top),u=du(o.left),d=du(o.right),f=du(o.bottom)):Wl(o)&&o.length>0&&(u={icon:o});let p=(e,t)=>e?k(Ul,{class:uu(`icon`,{[t]:!0}),icons:e.icon,label:e.label??``,style:e.style}):null,m=!Gl(s);return k(cl,Object.assign({component:`span`},c,{block:`kol-span`,modifiers:{"has-badge":!!r,"hide-label":!!a},class:i}),p(l,`top`),k(`span`,{class:uu(`container`)},p(u,`left`),m&&function(e,t,n,r){return t?null:Array.isArray(e)?k(`span`,{class:uu(`label`)},e.map((e=>k(`span`,{lang:e.lang},e.text)))):n?k(`span`,{class:B(uu(`label`),`md`),innerHTML:lu(e)}):k(`span`,{class:uu(`label`)},r?function(e,t){let n=t,[r,...i]=e.split(n);return i.length===0&&(n=t.toUpperCase(),[r,...i]=e.split(n)),i.length===0&&(n=t.toLowerCase(),[r,...i]=e.split(n)),k(jr,null,r,i.length?k(jr,null,k(`u`,null,n),i.join(n)):null)}(e,r):e)}(s,a,n,r),k(`span`,{"aria-hidden":m?`true`:void 0,class:uu(`slot`),hidden:m},t),Wl(r)&&r.length>0&&k(`kbd`,{"aria-hidden":`true`,class:`badge-text-hint`},r),p(d,`right`)),p(f,`bottom`))},mu=Ic(),hu={optional:[mu,Sl,xl,Cl],required:[pl]},gu=({block:e,contentClass:t,controlId:n,detailsOpen:r,disabled:i,expanded:a,handleToggle:o,headingId:s,icons:c,label:l,level:u,refHeadingButton:d,transitionMs:f},p)=>{let m=sl(e);return k(cl,{component:`details`,block:e,modifiers:{disabled:!0===i,open:!0===a},open:!0===r,style:{"--collapsible-transition-duration":`${f}ms`}},k(`summary`,{"aria-controls":n,"aria-disabled":!0===i?`true`:void 0,class:m(`heading`),id:s,onClick:o,onMouseDown:!0===i?zl:void 0,ref:d,tabIndex:!0===i?-1:void 0},k(Ol,{level:u??0},k(pu,{icons:c,label:l}))),k(`div`,{class:m(`wrapper`)},k(`div`,{class:m(`wrapper-animation`)},k(`div`,{"aria-hidden":!1===a?`true`:void 0,"aria-labelledby":s,class:B(m(`content`),t),id:n,role:`region`},p))))};function _u({getTransitionMs:e,setDetailsOpen:t,setExpanded:n}){let r,i,a=()=>{r?.(),r=void 0,clearTimeout(i),i=void 0};return{syncOpen(o,s){if(a(),o)return t(!0),void(s?r=function(e){if(typeof requestAnimationFrame==`function`){let t=requestAnimationFrame(e);return()=>cancelAnimationFrame(t)}let t=setTimeout(e,0);return()=>clearTimeout(t)}((()=>n(!0))):n(!0));n(!1),s?i=setTimeout((()=>t(!1)),e()):t(!1)},dispose:a}}function vu({getHost:e,getOn:t,isDisabled:n,isOpen:r,setOpen:i}){return a=>{if(a.preventDefault(),n())return;let o=!r();i(o),setTimeout((()=>{var n,r;let i=e();i&&(F(i,P.click,o),F(i,P.toggle,o));let s=t();(n=s.onClick)==null||n.call(s,a,o),(r=s.onToggle)==null||r.call(s,a,o)}),25)}}var yu=()=>{let e=Ti().KoliBri;return e===void 0&&(e={},Object.defineProperty(Ti(),"KoliBri",{value:e,writable:!1})),e},bu="\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | `--' | |) /_ ,--.--. `--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n`--' `--´ `---´ `--' `--' `------´ `--' `--'".replace(/ /g,`\xA0`),xu=()=>{(()=>{try{let e=Ei();if(!e||typeof e.querySelector!=`function`)return;let t=e.querySelector(`meta[name="kolibri"]`);if(t&&t.hasAttribute(`content`)){let e=t.getAttribute(`content`);typeof e==`string`&&(Ii(e.includes(`experimental-mode=true`)),Ri(e.includes(`color-contrast-analysis=true`)))}}catch{}})(),Wi.debug(`${bu}\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${Wt.kolibriVersion}\n\t`,{forceLog:!0})},Su=()=>{!0!==yu().adviceShown&&(Object.defineProperty(yu(),"adviceShown",{get:function(){return!0}}),Wi.debug(`
12
+ You are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:
13
+
14
+ Ticket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)
15
+ Email: kolibri@itzbund.de
16
+ `))},Cu=()=>Math.floor(16777215*Math.random()).toString(16);Pi()&&(Cu=()=>`nonce`);var wu=e=>`${e}-${Cu()}`,Tu=(e,t)=>{let n=e.lastIndexOf(`-`);if(n===-1)return`${e}-${t}`;let r=e.slice(n+1);return r===`nonce`||/^[0-9a-f]+$/.test(r)?`${e.slice(0,n)}-${t}-${r}`:`${e}-${t}`},Eu=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.accordionId=wu(`accordion`),this.controlId=Tu(this.accordionId,`control`),this.detailsOpen=!1,this.expanded=!1,this.headingId=Tu(this.accordionId,`heading`),this.transitionMs=300,this.ctaRef=Rl((()=>!0===this.getRenderProp(`disabled`))),this.hasLoaded=!1,this.openAnimation=_u({getTransitionMs:()=>this.transitionMs,setDetailsOpen:e=>this.detailsOpen=e,setExpanded:e=>this.expanded=e}),this.handleToggle=vu({getHost:()=>this.host,getOn:()=>this.getRenderProp(`on`),isDisabled:()=>!0===this.getRenderProp(`disabled`),isOpen:()=>!0===this.getRenderProp(`open`),setOpen:e=>this._open=e}),this.propsConfig=hu,this._disabled=!1,this._level=0,this._on=void 0,this._open=!1}watchDisabled(e){Sl.apply(e,(e=>this.setRenderProp(`disabled`,e)))}watchLabel(e){pl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchLevel(e){xl.apply(e,(e=>this.setRenderProp(`level`,e)))}watchOn(e){mu.apply(e,(e=>this.setRenderProp(`on`,e)))}watchOpen(e){Cl.apply(e,(e=>{this.setRenderProp(`open`,e),this.openAnimation.syncOpen(e,this.hasLoaded)}))}focus(e){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){this.transitionMs=ni(`collapsibleTransitionMs`,this.host)??300,this.watchDisabled(this._disabled),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchOpen(this._open)}componentDidLoad(){this.hasLoaded=!0}disconnectedCallback(){this.openAnimation.dispose()}render(){return k(A,{key:`6544e841d130bdd7c26e759fe0ac85953a8c84d6`},k(gu,{key:`28004d682b3f60355590ffe845d333a319e0ba72`,block:`kol-accordion`,controlId:this.controlId,detailsOpen:this.detailsOpen,disabled:this.getRenderProp(`disabled`),expanded:this.expanded,handleToggle:this.handleToggle,headingId:this.headingId,icons:this.getRenderProp(`open`)?`kolicon-chevron-down`:`kolicon-chevron-right`,label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),on:this.getRenderProp(`on`),open:this.getRenderProp(`open`),refHeadingButton:this.ctaRef,transitionMs:this.transitionMs},k(`slot`,{key:`f21842659c01bc85f4c9d07becc22d92e349a365`})))}get host(){return this}static get watchers(){return{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-accordion { } .kol-accordion__heading { display: flex; min-height: var(--a11y-min-size); } .kol-accordion__heading:not([aria-disabled=true]) { cursor: pointer; } .kol-accordion__heading { } .kol-accordion__heading::before { content: "​"; } .kol-accordion__heading { } .kol-accordion__heading > .kol-headline { display: flex; flex: 1; margin: 0; text-align: left; font-weight: 400; } .kol-accordion__heading > .kol-headline > .kol-span { flex: 1 0 100%; align-items: flex-start; } @media (prefers-reduced-motion) { .kol-accordion__wrapper-animation, .kol-accordion__wrapper { transition: none !important; } } .kol-accordion { } @media print { .kol-accordion:not(.kol-accordion--open) .kol-accordion__wrapper-animation { display: none; } } .kol-accordion__wrapper { transform: translateZ(0); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 0fr; transition: grid-template-rows var(--collapsible-transition-duration, 0.3s); } .kol-accordion__wrapper-animation { opacity: 0; transform: scaleY(0); transform-origin: top; min-height: 0; visibility: hidden; transition: transform var(--collapsible-transition-duration, 0.3s), opacity var(--collapsible-transition-duration, 0.3s), visibility var(--collapsible-transition-duration, 0.3s); } .kol-accordion--open .kol-accordion__wrapper { grid-template-rows: 1fr; } .kol-accordion--open .kol-accordion__wrapper-animation { opacity: 1; transform: scaleY(1); visibility: visible; } .kol-accordion--open:focus-within { position: relative; z-index: 100; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } }`}}},[801,`kol-accordion`,{_disabled:[4],_label:[1],_level:[2],_on:[16],_open:[1540],controlId:[32],detailsOpen:[32],expanded:[32],headingId:[32],transitionMs:[32],focus:[64],click:[64]},void 0,{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}]);H([U(`ctaRef`)],Eu.prototype,`focus`,null),H([W(`ctaRef`)],Eu.prototype,`click`,null);var Du=Eu,Ou=function(){typeof customElements<`u`&&[`kol-accordion`].forEach((e=>{e===`kol-accordion`&&(customElements.get(M(e))||customElements.define(M(e),Eu))}))},G=(e,t)=>(Ja()??Ya(`de`)).translate(e,t);Pi()&&(G=e=>e);var ku=z(`hasCloser`,!1,Dc),Au=/^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/,ju=e=>typeof e==`string`&&Au.test(e),Mu=Wc,Nu=e=>e===``||Gc(e),Pu=e=>e===``||Mu(e),Fu=[`left`,`right`,`top`,`bottom`],Iu=(e,t)=>{let n=``;return Array.isArray(e)&&e.forEach((e=>{n+=`kol-`+t+`--`+e+` `})),n},Lu=z(`accessKey`,``,R);function Ru(e,t){return z(e,t,(t=>{let n=R(t);if(kc(n,Fu))return n;throw Error(`Invalid ${e} value: ${n}`)}))}var zu=z(`ariaControls`,``,R),Bu=z(`ariaDescription`,``,R),Vu=z(`ariaExpanded`,``,(function(e){return Oc(e,`aria-expanded`)})),Hu=z(`customClass`,``,R,(function(e){return e===``||ju(e)})),Uu=z(`hideLabel`,!1,Dc),Wu=z(`inline`,!0,Dc),Gu=[`tab`,`treeitem`],Ku=z(`role`,``,(function(e){if(e===``)return``;if(kc(e,Gu))return e;throw Error(`Invalid role: expected one of ${Gu.join(`, `)}, got ${JSON.stringify(e)}`)})),qu=z(`shortKey`,``,R),Ju=z(`icons`,{},(function(e){if(!e||typeof e==`string`&&e===``)return{};if(typeof e==`string`&&/^[{[]/.test(e.trim()))return Ac(e);if(typeof e==`string`)return R(e);if(typeof e==`object`)return Ac(e);throw Error(`Invalid icons: `+typeof e)}),(function(e){return typeof e==`string`?e.length>0:typeof e==`object`&&!!e})),Yu=z(`tabIndex`,0,xc,void 0,{hints:(e,t)=>{typeof t==`number`&&t>0&&Ki(`Positive tabIndex values ("${t}") can disrupt the natural tab order. Use 0 for tabbable elements or rely on DOM order.`)}}),Xu=Ru(`tooltipAlign`,`right`),Zu=z(`variant`,[],(function(e){return Array.isArray(e)?e:typeof e==`string`?e.split(` `):[]}),(function(e){return e.length===0||e.every(ju)})),Qu=({description:e,descriptionId:t})=>e?k(`span`,{class:`visually-hidden`,id:t},e):null,$u=N.forBlock(`kol-tooltip`),ed=({label:e,badgeText:t,id:n,refFloating:r})=>k(`div`,{class:$u(`floating`),hidden:!e,ref:r},k(`div`,{class:$u(`arrow`)}),k(pu,{class:$u(`content`),badgeText:t,id:n,label:e})),td=z(`id`,``,R),nd=z(`label`,``,bc,Nu,{hints:fl}),rd=[`dialog`,`false`,`grid`,`listbox`,`menu`,`tree`,`true`],id=z(`ariaHasPopup`,``,(function(e){if(e===``)return``;if(kc(e,rd))return e;throw Error(`Invalid aria-haspopup value: expected one of ${rd.join(`, `)}, got ${JSON.stringify(e)}`)})),ad=z(`ariaSelected`,``,(function(e){return Oc(e,`aria-selected`)})),od=Ic(),sd=[`button`,`reset`,`submit`],cd=z(`type`,`button`,(function(e){let t=R(e);if(kc(t,sd))return t;throw Error(`Invalid button type: ${t}`)}),(e=>sd.includes(e))),ld=z(`name`,``,R),ud={required:[nd],optional:[Lu,zu,Bu,Vu,id,ad,od,cd,Hu,Sl,Uu,td,Wu,Ku,ld,qu,Ju,Yu,Xu,Zu]},dd=N.forBlock(`kol-button`),fd=dd(`interactive-element`),pd=dd(`text`),md=dd(`tooltip`),hd=e=>{let t=ul(ud,e),{accessKey:n,ariaControls:r,ariaDescription:i,ariaDescriptionId:a,ariaExpanded:o,ariaHasPopup:s,ariaSelected:c,class:l,customClass:u,disabled:d,handleBlur:f,handleClick:p,handleFocus:m,handleMouseDown:h,hideLabel:g,icons:_,id:v,inline:y,label:b,name:x,refButton:S,refTooltip:C,role:w,shortKey:T,tabIndex:E,type:ee,variant:te}=t,ne=yl(t,`accessKey.ariaControls.ariaDescription.ariaDescriptionId.ariaExpanded.ariaHasPopup.ariaSelected.class.customClass.disabled.handleBlur.handleClick.handleFocus.handleMouseDown.hideLabel.icons.id.inline.label.name.refButton.refTooltip.role.shortKey.tabIndex.type.variant.on.tooltipAlign`.split(`.`)),re=n||T,ie=Hc(b).length>0,ae=i.trim().length>0;return k(cl,Object.assign({block:`kol-button`,class:B(l,{[Iu(te,`button`)]:te.length>0,[u]:u.length>0}),modifiers:{disabled:d,"hide-label":g,inline:!0===y,standalone:!1===y}},ne),k(`button`,{ref:S,accessKey:n||void 0,"aria-controls":r||void 0,"aria-describedby":ae?a:void 0,"aria-expanded":o||void 0,"aria-haspopup":s||void 0,"aria-keyshortcuts":T||void 0,"aria-label":g&&ie?Hc(b):void 0,"aria-selected":c||void 0,class:fd,disabled:d,id:v||void 0,name:x||void 0,onBlur:f,onClick:p,onFocus:m,onMouseDown:h,role:w||void 0,tabIndex:E,type:ee},k(pu,{class:pd,badgeText:re,icons:_,hideLabel:g,label:b},k(`slot`,{name:`expert`,slot:`expert`}))),g&&ie&&k(`div`,{class:md},k(ed,{badgeText:re,label:b,refFloating:C})),ae&&k(Qu,{description:i,descriptionId:a}))},gd=N.forBlock(`kol-alert`)(`icon`),_d={error:{label:G(`kol-error`),icon:`kolicon-alert-error`},info:{label:G(`kol-info`),icon:`kolicon-alert-info`},warning:{label:G(`kol-warning`),icon:`kolicon-alert-warning`},success:{label:G(`kol-success`),icon:`kolicon-alert-success`},default:{label:G(`kol-message`),icon:`kolicon-alert-info`}},vd=({type:e=`default`})=>{let t=_d[e||`default`];return k(jr,null,k(`span`,{class:`visually-hidden`},t.label),k(Ul,{class:gd,label:``,icons:t.icon}))},yd=N.forBlock(`kol-alert`),bd=yd(`closer`),xd=yd(`content`),Sd=N.forBlock(`kol-close-button`)(),Cd=void 0,wd=(e,t)=>{let{alert:n,class:r,closerAriaDescriptionId:i,handleCloserClick:a,hasCloser:o,headingId:s,label:c,level:l,refCloserButton:u,refCloserTooltip:d,type:f,variant:p}=e,m=yl(e,[`alert`,`class`,`closerAriaDescriptionId`,`handleCloserClick`,`hasCloser`,`headingId`,`label`,`level`,`refCloserButton`,`refCloserTooltip`,`type`,`variant`]),h=G(`kol-close-alert`),g=Tl(l??0);return k(cl,Object.assign({block:`kol-alert`,class:r,modifiers:{hasCloser:!0===o,[`type-${f}`]:!0,[`variant-${p}`]:!0},role:n?`alert`:void 0},m),k(vd,{type:f}),!!c?.length&&k(g,{class:B(`kol-headline`,`kol-headline--${g}`,yd(`heading`,{[`h${l}`]:!0}),`kol-headline--single`),id:s},fu(c)),o&&k(hd,{accessKey:``,ariaControls:``,ariaDescription:Hc(c),ariaDescriptionId:i,ariaExpanded:Cd,ariaHasPopup:``,ariaSelected:Cd,class:B(bd,Sd),customClass:``,disabled:!1,handleBlur:()=>{},handleClick:a,handleFocus:()=>{},handleMouseDown:()=>{},hideLabel:!0,icons:{left:{icon:`kolicon-cross`}},id:``,inline:!1,label:h,name:``,on:{},refButton:u,refTooltip:d,role:Cd,shortKey:``,tabIndex:Cd,tooltipAlign:`top`,type:`button`,variant:[`normal`]}),k(`div`,{"aria-describedby":c?.length?s:void 0,class:xd},t))},Td=Ru(`align`,`top`),Ed=z(`badgeText`,``,R),Dd=Math.min,Od=Math.max,kd=Math.round,Ad=Math.floor,jd=e=>({x:e,y:e}),Md={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Nd(e,t,n){return Od(e,Dd(t,n))}function Pd(e,t){return typeof e==`function`?e(t):e}function Fd(e){return e.split(`-`)[0]}function Id(e){return e.split(`-`)[1]}function Ld(e){return e===`x`?`y`:`x`}function Rd(e){return e===`y`?`height`:`width`}function zd(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Bd(e){return Ld(zd(e))}function Vd(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Hd=[`left`,`right`],Ud=[`right`,`left`],Wd=[`top`,`bottom`],Gd=[`bottom`,`top`];function Kd(e){let t=Fd(e);return Md[t]+e.slice(t.length)}function qd(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:function(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}(e)}function Jd(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Yd(e,t,n){let{reference:r,floating:i}=e,a=zd(t),o=Bd(t),s=Rd(o),c=Fd(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=Id(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Xd(e,t){var n;t===void 0&&(t={});let{x:r,y:i,platform:a,rects:o,elements:s,strategy:c}=e,{boundary:l=`clippingAncestors`,rootBoundary:u=`viewport`,elementContext:d=`floating`,altBoundary:f=!1,padding:p=0}=Pd(t,e),m=qd(p),h=s[f?d===`floating`?`reference`:`floating`:d],g=Jd(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(h)))==null||n?h:h.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),_=d===`floating`?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),y=await(a.isElement==null?void 0:a.isElement(v))&&await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1},b=Jd(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:_,offsetParent:v,strategy:c}):_);return{top:(g.top-b.top+m.top)/y.y,bottom:(b.bottom-g.bottom+m.bottom)/y.y,left:(g.left-b.left+m.left)/y.x,right:(b.right-g.right+m.right)/y.x}}var Zd=new Set([`left`,`top`]);function Qd(){return typeof window<`u`}function $d(e){return nf(e)?(e.nodeName||``).toLowerCase():`#document`}function ef(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function tf(e){return((nf(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function nf(e){return!!Qd()&&(e instanceof Node||e instanceof ef(e).Node)}function rf(e){return!!Qd()&&(e instanceof Element||e instanceof ef(e).Element)}function af(e){return!!Qd()&&(e instanceof HTMLElement||e instanceof ef(e).HTMLElement)}function of(e){return!(!Qd()||typeof ShadowRoot>`u`)&&(e instanceof ShadowRoot||e instanceof ef(e).ShadowRoot)}function sf(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=_f(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function cf(e){return/^(table|td|th)$/.test($d(e))}function lf(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var uf=/transform|translate|scale|rotate|perspective|filter/,df=/paint|layout|strict|content/,ff=e=>!!e&&e!==`none`,pf;function mf(e){let t=rf(e)?_f(e):e;return ff(t.transform)||ff(t.translate)||ff(t.scale)||ff(t.rotate)||ff(t.perspective)||!hf()&&(ff(t.backdropFilter)||ff(t.filter))||uf.test(t.willChange||``)||df.test(t.contain||``)}function hf(){return pf??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),pf}function gf(e){return/^(html|body|#document)$/.test($d(e))}function _f(e){return ef(e).getComputedStyle(e)}function vf(e){return rf(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function yf(e){if($d(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||of(e)&&e.host||tf(e);return of(t)?t.host:t}function bf(e){let t=yf(e);return gf(t)?(e.ownerDocument||e).body:af(t)&&sf(t)?t:bf(t)}function xf(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=bf(e),i=r===e.ownerDocument?.body,a=ef(r);if(i){let e=Sf(a);return t.concat(a,a.visualViewport||[],sf(r)?r:[],e&&n?xf(e):[])}return t.concat(r,xf(r,[],n))}function Sf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Cf(e){let t=_f(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=af(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=kd(n)!==a||kd(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function wf(e){return rf(e)?e:e.contextElement}function Tf(e){let t=wf(e);if(!af(t))return jd(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Cf(t),o=(a?kd(n.width):n.width)/r,s=(a?kd(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}var Ef=jd(0);function Df(e){let t=ef(e);return hf()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ef}function Of(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=wf(e),o=jd(1);t&&(r?rf(r)&&(o=Tf(r)):o=Tf(e));let s=function(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===ef(e)}(a,n,r)?Df(a):jd(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=ef(a),t=rf(r)?ef(r):r,n=e,i=Sf(n);for(;i&&t!==n;){let e=Tf(i),t=i.getBoundingClientRect(),r=_f(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=ef(i),i=Sf(n)}}return Jd({width:u,height:d,x:c,y:l})}function kf(e,t){let n=vf(e).scrollLeft;return t?t.left+n:Of(tf(e)).left+n}function Af(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-kf(e,n),y:n.top+t.scrollTop}}function jf(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=function(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=ef(e),a=tf(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!hf()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(kf(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=25&&(s-=o)}return{width:s,height:c,x:l,y:u}}(e,n,t);else if(t===`document`)r=function(e){let t=vf(e),n=e.ownerDocument.body,r=Od(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Od(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+kf(e),o=-t.scrollTop;return _f(n).direction===`rtl`&&(a+=Od(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}(tf(e));else if(rf(t))r=function(e,t){let n=Of(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Tf(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}(t,n);else{let n=Df(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Jd(r)}function Mf(e,t,n){let r=af(t),i=tf(t),a=n===`fixed`,o=Of(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=jd(0);if((r||!a)&&(($d(t)!==`body`||sf(i))&&(s=vf(t)),r)){let e=Of(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=kf(i));let l=!i||r||a?jd(0):Af(i,s);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function Nf(e){return _f(e).position===`static`}function Pf(e,t){if(!af(e)||_f(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return tf(e)===n&&(n=n.ownerDocument.body),n}function Ff(e,t){let n=ef(e);if(lf(e))return n;if(!af(e)){let t=yf(e);for(;t&&!gf(t);){if(rf(t)&&!Nf(t))return t;t=yf(t)}return n}let r=Pf(e,t);for(;r&&cf(r)&&Nf(r);)r=Pf(r,t);return r&&gf(r)&&Nf(r)&&!mf(r)?n:r||function(e){let t=yf(e);for(;af(t)&&!gf(t);){if(mf(t))return t;if(lf(t))return null;t=yf(t)}return null}(e)||n}var If={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=tf(r),s=!!t&&lf(t.floating);if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=jd(1),u=jd(0),d=af(r);if((d||!a)&&(($d(r)!==`body`||sf(o))&&(c=vf(r)),d)){let e=Of(r);l=Tf(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=!o||d||a?jd(0):Af(o,c);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}},getDocumentElement:tf,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?lf(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=xf(e,[],!1).filter((e=>rf(e)&&$d(e)!==`body`)),i=null,a=_f(e).position===`fixed`,o=a?yf(e):e;for(;rf(o)&&!gf(o);){let e=_f(o),t=mf(o),n=i?i.position:a?`fixed`:``;t||n!==`fixed`&&(n!==`absolute`||e.position!==`static`)?i=e:r=r.filter((e=>e!==o)),o=yf(o)}return t.set(e,r),r}(t,this._c):[].concat(n),r],o=jf(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=jf(t,a[e],i);s=Od(n.top,s),c=Dd(n.right,c),l=Dd(n.bottom,l),u=Od(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}},getOffsetParent:Ff,getElementRects:async function(e){let t=this.getOffsetParent||Ff,n=this.getDimensions,r=await n(e.floating);return{reference:Mf(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=Cf(e);return{width:t,height:n}},getScale:Tf,isElement:rf,isRTL:function(e){return _f(e).direction===`rtl`}};function Lf(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Rf(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=wf(e),u=i||a?[...l?xf(l):[],...t?xf(t):[]]:[];u.forEach((e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)}));let d=l&&s?function(e,t,n){let r,i=null,a=tf(e);function o(){var e;clearTimeout(r),(e=i)==null||e.disconnect(),i=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m={rootMargin:-Ad(d)+`px `+-Ad(a.clientWidth-(u+f))+`px `+-Ad(a.clientHeight-(d+p))+`px `+-Ad(u)+`px`,threshold:Od(0,Dd(1,c))||1},h=!0;function g(t){let n=t[0].intersectionRatio;if(!Lf(l,e.getBoundingClientRect()))return s();if(n!==c){if(!h)return s();n?s(!1,n):r=setTimeout((()=>{s(!1,1e-7)}),1e3)}h=!1}try{i=new IntersectionObserver(g,{...m,root:a.ownerDocument})}catch{i=new IntersectionObserver(g,m)}i.observe(e)}let c=ef(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}(l,n,a):null,f,p=-1,m=null;o&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===l&&m&&t&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var e;(e=m)==null||e.observe(t)}))),n()})),l&&!c&&m.observe(l),t&&m.observe(t));let h=c?Of(e):null;return c&&function t(){let r=Of(e);h&&!Lf(h,r)&&n(),h=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)})),d?.(),(e=m)==null||e.disconnect(),m=null,c&&cancelAnimationFrame(f)}}var zf=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Pd(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=zd(i),p=Ld(f),m=u[p],h=u[f],g=(e,t)=>Nd(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},Bf=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Pd(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Fd(r),_=zd(o),v=Fd(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Kd(o)]:function(e){let t=Kd(e);return[Vd(e),t,Vd(t)]}(o)),x=p!==`none`;!d&&x&&b.push(...function(e,t,n,r){let i=Id(e),a=function(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Ud:Hd:t?Hd:Ud;case`left`:case`right`:return t?Wd:Gd;default:return[]}}(Fd(e),n===`start`,r);return i&&(a=a.map((e=>e+`-`+i)),t&&(a=a.concat(a.map(Vd)))),a}(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=function(e,t,n){n===void 0&&(n=!1);let r=Id(e),i=Bd(e),a=Rd(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Kd(o)),[o,Kd(o)]}(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every((e=>e<=0))){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===zd(t)||T.every((e=>zd(e.placement)!==_||e.overflows[0]>0))))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter((e=>{if(x){let t=zd(e.placement);return t===_||t===`y`}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},Vf=async({floatingElement:e,referenceElement:t,arrowElement:n,align:r=`top`})=>{var i,a;if(!Pi()){let o=[(a=n?.offsetHeight||10,a===void 0&&(a=0),{name:`offset`,options:a,async fn(e){var t;let{x:n,y:r,placement:i,middlewareData:o}=e,s=await async function(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Fd(n),s=Id(n),c=zd(n)===`y`,l=Zd.has(o)?-1:1,u=a&&c?-1:1,d=Pd(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?-1*m:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}(e,a);return i===o.offset?.placement&&(t=o.arrow)!=null&&t.alignmentOffset?{}:{x:n+s.x,y:r+s.y,data:{...s,placement:i}}}}),Bf(),zf()];n&&o.push((e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Pd(e,t)||{};if(l==null)return{};let d=qd(u),f={x:n,y:r},p=Bd(i),m=Rd(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;C&&await(o.isElement==null?void 0:o.isElement(S))||(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=Dd(d[_],T),ee=Dd(d[v],T),te=C-h[m]-ee,ne=C/2-h[m]/2+w,re=Nd(E,ne,te),ie=!c.arrow&&Id(i)!=null&&ne!==re&&a.reference[m]/2-(ne<E?E:ee)-h[m]/2<0,ae=ie?ne<E?ne-E:ne-te:0;return{[p]:f[p]+ae,data:{[p]:re,centerOffset:ne-re-ae,...ie&&{alignmentOffset:ae}},reset:ie}}}))({element:n}));let{x:s,y:c,middlewareData:l,placement:u}=await((e,t,n)=>{let r=new Map,i=n??{},a={...If,...i.platform,_c:r};return(async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Xd},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Yd(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<50&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=!0===x.rects?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Yd(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}})(e,t,{...i,platform:a})})(t,e,{placement:r,middleware:o,strategy:`fixed`});Object.assign(e.style,{left:`${s}px`,top:`${c}px`,visibility:`visible`}),n&&(l.arrow?.x?Object.assign(n.style,{left:`${l.arrow.x}px`,top:u===`bottom`?-n.offsetHeight/2+`px`:``,bottom:u===`top`?-n.offsetHeight/2+`px`:``}):(i=l.arrow)!=null&&i.y&&Object.assign(n.style,{left:u===`right`?-n.offsetWidth/2+`px`:``,right:u===`left`?-n.offsetWidth/2+`px`:``,top:`${l.arrow.y}px`}))}},Hf=new Set,Uf=null,Wf=class{constructor(e,t){this.setState=e.setState,this.getState=e.getState,this.renderProps=ll(t)}setRenderProp(e,t){this.renderProps[e]=t}getRenderProp(e){return this.renderProps[e]}},Gf={required:[pl],optional:[Td,Ed,td]},Kf=class extends Wf{constructor(e){super(e,Gf),this.hasFocusIn=!1,this.hasMouseIn=!1,this.isHiddenForCurrentVisit=!1,this.setTooltipElementRef=e=>{this.tooltipElement=e,this.tooltipElement&&this.addListeners(this.tooltipElement)},this.hideTooltipByEscape=e=>{e.key===`Escape`&&(e.stopPropagation(),e.preventDefault(),this.hideTooltip())},this.handleMouseEnter=()=>{let e=this.isNewVisit();this.hasMouseIn=!0,e&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleMouseLeave=()=>{this.hasMouseIn=!1,this.resetHideFlag(),this.showOrHideTooltip()},this.handleFocusIn=()=>{let e=this.isNewVisit();this.hasFocusIn=!0,e&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleFocusOut=()=>{this.hasFocusIn=!1,this.resetHideFlag(),this.showOrHideTooltip()}}componentWillLoad(e){this.watchLabel(e.label),this.watchAlign(e.align),this.watchBadgeText(e.badgeText),this.watchId(e.id)}watchLabel(e){pl.apply(e||void 0,(e=>{this.setRenderProp(`label`,e)}))}watchAlign(e){Td.apply(e,(e=>{this.setRenderProp(`align`,e)}))}watchBadgeText(e){Ed.apply(e,(e=>{this.setRenderProp(`badgeText`,e)}))}watchId(e){td.apply(e,(e=>{this.setRenderProp(`id`,e)}))}initContext(e){this.previousSibling=e}syncListeners(e,t,n=!1){e&&this.removeListeners(e),t&&(n&&(this.previousSibling=t),this.removeListeners(t),this.addListeners(t))}handleEventListeners(e){this.syncListeners(this.previousSibling,e.previousElementSibling,!0)}hideTooltip(){this.isHiddenForCurrentVisit=!0,this.tooltipElement&&(function(e){if(Hf.delete(e)&&Uf===e){Uf=null;for(let e of Hf)Uf=e;Uf&&Uf.style.setProperty(`z-index`,`1000`)}}(this.tooltipElement),mo(),this.tooltipElement.classList.remove(`show`),this.tooltipElement.classList.add(`hide`),this.tooltipElement.addEventListener(`animationend`,(()=>{var e;(e=this.tooltipElement)!=null&&e.classList.contains(`hide`)&&this.tooltipElement.style.removeProperty(`display`)}),{once:!0}),this.cleanupAutoPositioning&&=(this.cleanupAutoPositioning(),void 0)),Ei().removeEventListener(`keydown`,this.hideTooltipByEscape)}destroy(){clearTimeout(this.overFocusTimeout),this.previousSibling&&=(this.removeListeners(this.previousSibling),void 0),this.tooltipElement&&this.removeListeners(this.tooltipElement),this.cleanupAutoPositioning&&=(this.cleanupAutoPositioning(),void 0),Ei().removeEventListener(`keydown`,this.hideTooltipByEscape)}isNewVisit(){return!this.hasMouseIn&&!this.hasFocusIn}resetHideFlag(){this.isNewVisit()&&(this.isHiddenForCurrentVisit=!1)}async alignTooltip(){this.tooltipElement&&this.previousSibling&&await Vf({align:this.getRenderProp(`align`),arrowElement:this.tooltipElement.querySelector(`.kol-tooltip__arrow`),floatingElement:this.tooltipElement,referenceElement:this.previousSibling})}showTooltip(){var e;!this.isHiddenForCurrentVisit&&this.previousSibling&&this.tooltipElement&&(Uf!==(e=this.tooltipElement)&&(Uf&&Uf.style.setProperty(`z-index`,`999`),Hf.delete(e),Hf.add(e),e.style.setProperty(`z-index`,`1000`),Uf=e),po(),this.tooltipElement.classList.remove(`hide`),this.tooltipElement.classList.add(`show`),this.tooltipElement.style.setProperty(`display`,`block`),Ei().addEventListener(`keydown`,this.hideTooltipByEscape),this.cleanupAutoPositioning=Rf(this.previousSibling,this.tooltipElement,(()=>{this.alignTooltip()})))}showOrHideTooltip(){clearTimeout(this.overFocusTimeout),this.overFocusTimeout=setTimeout((()=>{this.hasMouseIn||this.hasFocusIn?this.showTooltip():this.hideTooltip()}),300)}addListeners(e){e.addEventListener(`mouseover`,this.handleMouseEnter),e.addEventListener(`mouseout`,this.handleMouseLeave),e.addEventListener(`focusin`,this.handleFocusIn),e.addEventListener(`focusout`,this.handleFocusOut)}removeListeners(e){e.removeEventListener(`mouseover`,this.handleMouseEnter),e.removeEventListener(`mouseout`,this.handleMouseLeave),e.removeEventListener(`focusin`,this.handleFocusIn),e.removeEventListener(`focusout`,this.handleFocusOut)}},qf=[`default`,`info`,`success`,`warning`,`error`],Jf=[`card`,`msg`],Yf=z(`alert`,!1,Dc),Xf=Ic(),Zf=z(`type`,`default`,(e=>{let t=R(e);if(qf.includes(t))return t;throw Error(`Invalid alert type: `+t)}),(()=>!0)),Qf=z(`variant`,`msg`,(e=>{let t=R(e);if(Jf.includes(t))return t;throw Error(`Invalid alert variant: `+t)}),(()=>!0)),$f={optional:[Xf,Yf,Zf,Qf,ku,pl,xl]},ep=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.headingId=wu(`alert-heading`),this.closerAriaDescriptionId=Cu(),this.showAlert=!1,this.translateCloseAlert=G(`kol-close-alert`),this.closerRef=Rl(),this.closerTooltipBehavior=new Kf(this.stateAccess),this.propsConfig=$f,this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=0,this._on=void 0,this._type=`default`,this._variant=`msg`,this.handleAlertTimeout=()=>{this.watchAlert(!1)},this.handleCloserClick=e=>{var t,n;e.stopPropagation(),this.closerTooltipBehavior.hideTooltip(),(n=(t=this.getRenderProp(`on`)).onClose)==null||n.call(t,new Event(`Close`)),this.host&&F(this.host,P.close)}}watchAlert(e){Yf.apply(e,(e=>{this.showAlert=e,this.syncAlertEffects(e)}))}watchHasCloser(e){ku.apply(e,(e=>this.setRenderProp(`hasCloser`,e)))}watchLabel(e){pl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchLevel(e){xl.apply(e,(e=>this.setRenderProp(`level`,e)))}watchOn(e){Xf.apply(e,(e=>this.setRenderProp(`on`,e)))}watchType(e){Zf.apply(e,(e=>this.setRenderProp(`type`,e)))}watchVariant(e){Qf.apply(e,(e=>this.setRenderProp(`variant`,e)))}componentWillLoad(){this.watchAlert(this._alert),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchType(this._type),this.watchVariant(this._variant),this.closerTooltipBehavior.componentWillLoad({label:this.translateCloseAlert})}componentDidRender(){this.closerRef.el&&this.closerTooltipBehavior.syncListeners(void 0,this.closerRef.el,!0)}disconnectedCallback(){this.closerTooltipBehavior.destroy(),this.syncAlertEffects(!1)}syncAlertEffects(e){if(clearTimeout(this.alertTimeout),e){if(typeof navigator<`u`&&typeof navigator.vibrate==`function`){let e=navigator.userActivation;if((e?.isActive||e?.hasBeenActive)&&matchMedia(`(any-pointer: coarse)`).matches)try{navigator.vibrate([100,75,100,75,100])}catch{}}this.alertTimeout=setTimeout((()=>this.handleAlertTimeout()),1e4)}}render(){return k(A,{key:`613785ed5e1057501182d6fb67c138e6bf260bf9`},k(wd,{key:`b12003c60e63f9ff70f9648907b5f07cfdc9408d`,alert:this.showAlert,handleCloserClick:this.handleCloserClick,closerAriaDescriptionId:this.closerAriaDescriptionId,hasCloser:this.getRenderProp(`hasCloser`),headingId:this.headingId,label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),refCloserButton:this.closerRef,refCloserTooltip:this.closerTooltipBehavior.setTooltipElementRef,type:this.getRenderProp(`type`),variant:this.getRenderProp(`variant`)},k(`slot`,{key:`166ac322d67d21325eb47dccd92080e44d9761dd`})))}get host(){return this}static get watchers(){return{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } }`}}},[801,`kol-alert`,{_alert:[4],_hasCloser:[4,`_has-closer`],_label:[1],_level:[2],_on:[16],_type:[1],_variant:[1],headingId:[32],closerAriaDescriptionId:[32],showAlert:[32]},void 0,{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}]),tp=ep,np=function(){typeof customElements<`u`&&[`kol-alert`].forEach((e=>{e===`kol-alert`&&(customElements.get(M(e))||customElements.define(M(e),ep))}))},rp=(e,t,n,r=1)=>{let i=[Math.max(Math.min(Math.round(t[0]+r*Math.max(1,t[0]/100)),255),0),Math.max(Math.min(Math.round(t[1]+r*Math.max(1,t[1]/100)),255),0),Math.max(Math.min(Math.round(t[2]+r*Math.max(1,t[2]/100)),255),0)],a=fa(va.hex(`rgba(${e.join(`,`)},1)`),va.hex(`rgba(${i.join(`,`)},1)`)),o=i[0]+i[1]+i[2];return o===0||o===765||a>n?{background:e,foreground:i,contrast:a}:rp(e,i,n,r)},ip=(e,t=7)=>{let n=[0,0,0,1],r=[255,255,255,1];typeof e==`string`?(n=Lc(e),r=n):typeof e==`object`&&e&&typeof e.background==`string`&&typeof e.foreground==`string`&&(n=Lc(e.background),r=typeof e.foreground==`string`?Lc(e.foreground):n);let i=((e,t,n)=>{let r=(299*e[0]+587*e[1]+114*e[2])/1e3>=128?-1:1,i=rp(e,t,n,r);if(i.contrast>=n)return i;let a=rp(e,t,n,-r);return a.contrast>i.contrast?a:i})([n[0],n[1],n[2]],[r[0],r[1],r[2]],t);return r=[...i.foreground,1],{background:va.hex(`rgba(${n.join(`,`)})`),foreground:va.hex(`rgba(${r.join(`,`)})`),contrast:i.contrast}},ap=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function op(e){return ap.test(e)}var sp=z(`color`,{backgroundColor:`#d3d3d3`,foregroundColor:`#3f3f3f`},(function(e){if(typeof e==`string`&&op(e)){let t=ip(e);return{backgroundColor:t.background,foregroundColor:t.foreground}}let t=typeof e==`string`?Ea(e):e;if(Array.isArray(t)){let[e,n]=t;if(typeof e==`string`&&typeof n==`string`&&op(e)&&op(n)){let t=ip({background:e,foreground:n});return{backgroundColor:t.background,foregroundColor:t.foreground}}}if(typeof t==`object`&&t){let e=t;if(typeof e.backgroundColor==`string`&&typeof e.foregroundColor==`string`&&op(e.backgroundColor)&&op(e.foregroundColor)){let t=ip({background:e.backgroundColor,foreground:e.foregroundColor});return{backgroundColor:t.background,foregroundColor:t.foreground}}}throw Error(`Invalid color ${e}`)}),(function(e){return op(e.foregroundColor)&&op(e.backgroundColor)})),cp=z(`label`,void 0,R,Mu,{hints:fl}),lp=z(`src`,``,R),up={optional:[sp,lp],required:[cp]},dp=N.forBlock(`kol-avatar`),fp=dp(`image`),pp=dp(`initials`),mp=e=>{let{color:t,initials:n,label:r,src:i}=ul(up,e);return k(cl,{"aria-label":G(`kol-avatar-alt`,{placeholders:{name:Hc(r)}}),block:`kol-avatar`,role:`img`,style:{backgroundColor:t.backgroundColor,color:t.foregroundColor}},i?k(`img`,{alt:``,"aria-hidden":`true`,class:fp,src:i}):k(`span`,{"aria-hidden":`true`,class:pp},n))},hp=e=>e.length===0?``:e[0].toUpperCase(),gp=e=>{let t=Hc(e),n=t.split(/\s+/),r=n[0],i=n[n.length-1];return n.length>=2&&r&&i?`${hp(r)}${hp(i)}`:hp(t)},_p=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.initials=``,this.propsConfig=up,this._color=void 0,this._src=void 0}watchColor(e){sp.apply(e,(e=>this.setRenderProp(`color`,e)))}watchLabel(e){cp.apply(e,(e=>{this.setRenderProp(`label`,e),this.setState(`initials`,gp(e))}),this.isRequired(`label`))}watchSrc(e){lp.apply(e,(e=>this.setRenderProp(`src`,e)))}componentWillLoad(){sp.apply(this._color,(e=>this.setRenderProp(`color`,e))),cp.apply(this._label,(e=>{this.setRenderProp(`label`,e),this.setState(`initials`,gp(e))}),this.isRequired(`label`)),lp.apply(this._src,(e=>this.setRenderProp(`src`,e)))}render(){return k(A,{key:`ded031cc2406d97bfd577d910b84d08ddd9b34e0`},k(mp,{key:`f0c6cdc76bce1233ff8b6c4bce7df8b8fa5275d6`,color:this.getRenderProp(`color`),label:this.getRenderProp(`label`),src:this.getRenderProp(`src`),initials:this.initials}))}static get watchers(){return{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @layer kol-component { :host { display: flex; width: calc(100 * 1rem / var(--kolibri-root-font-size, 16)); aspect-ratio: 1; align-items: center; justify-content: center; container-type: size; } .kol-avatar, .kol-avatar__image, .kol-avatar__initials { border-radius: 50%; } .kol-avatar { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; width: max(100cqw, 100cqh); height: max(100cqw, 100cqh); flex-shrink: 0; container-type: size; } .kol-avatar__initials { background-color: inherit; margin: auto; font-size: 40cqh; } }`}}},[545,`kol-avatar`,{_color:[1],_label:[1],_src:[1],initials:[32]},void 0,{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}]),vp=_p,yp=function(){typeof customElements<`u`&&[`kol-avatar`].forEach((e=>{e===`kol-avatar`&&(customElements.get(M(e))||customElements.define(M(e),_p))}))},bp=z(`smartButton`,{_label:``},(function(e){let t=typeof e==`string`?Ea(e):e;if(typeof t==`object`&&t)return t;throw Error(`Invalid smart button: `+typeof e)})),xp=N.forBlock(`kol-badge`),Sp=xp(`label`),Cp=xp(`smart-button`),wp=({color:e,icons:t,label:n,smartButton:r})=>k(cl,{block:`kol-badge`,modifiers:{"has-smart-button":r!==void 0},style:{backgroundColor:e.backgroundColor,color:e.foregroundColor}},k(pu,{class:Sp,id:r?.labelId,allowMarkdown:!0,icons:t,label:n}),r&&k(hd,Object.assign({},r.resolvedButton,{class:Cp,ariaDescriptionId:r.ariaDescriptionId,handleBlur:r.handleBlur,handleClick:r.handleClick,handleFocus:r.handleFocus,handleMouseDown:r.handleMouseDown,refButton:r.refSmartButton,refTooltip:r.refTooltip})),k(`br`,null));function Tp(e,t){var n,r,i;let a=ll(ud),o=e=>t=>{a[e]=t};return nd.apply(e._label,o(`label`)),Lu.apply(e._accessKey,o(`accessKey`)),zu.apply(e._ariaControls,o(`ariaControls`)),Bu.apply(e._ariaDescription,o(`ariaDescription`)),Vu.apply(e._ariaExpanded,o(`ariaExpanded`)),ad.apply(e._ariaSelected,o(`ariaSelected`)),od.apply(e._on,o(`on`)),cd.apply(e._type??`button`,o(`type`)),Hu.apply(e._customClass,o(`customClass`)),Sl.apply((n=e._disabled)!=null&&n,o(`disabled`)),Uu.apply((r=e._hideLabel)!=null&&r,o(`hideLabel`)),td.apply(e._id,o(`id`)),Wu.apply((i=e._inline)!=null&&i,o(`inline`)),Ku.apply(e._role,o(`role`)),ld.apply(e._name,o(`name`)),qu.apply(e._shortKey,o(`shortKey`)),Ju.apply(e._icons,o(`icons`)),Xu.apply(e._tooltipAlign??`top`,o(`tooltipAlign`)),typeof e._tabIndex==`number`?Yu.apply(e._tabIndex,o(`tabIndex`)):a.tabIndex=void 0,Zu.apply(e._variant??ni(`buttonVariantDefault`,t)??`normal`,o(`variant`)),a}var Ep={required:[nd],optional:[sp,bp,Ju]};$i(`[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).`);var Dp=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.labelId=wu(`badge-label`),this.ariaDescriptionId=Cu(),this.ctaRef=Rl(),this.tooltipBehavior=new Kf(this.stateAccess),this.propsConfig=Ep,this._color=`#000`,this._icons=void 0,this._smartButton=void 0,this.handleClick=e=>{e.stopPropagation(),this.tooltipBehavior.hideTooltip();let t=this.smartButtonProps?.on.onClick;typeof t==`function`&&(xa(e,this.ctaRef.el),t(e,void 0)),this.host&&F(this.host,P.click)},this.handleMouseDown=e=>{var t,n,r;(r=(t=this.smartButtonProps)==null?void 0:(n=t.on).onMouseDown)==null||r.call(n,e),this.host&&F(this.host,P.mousedown)},this.handleFocus=e=>{var t,n,r;(r=(t=this.smartButtonProps)==null?void 0:(n=t.on).onFocus)==null||r.call(n,e),this.host&&F(this.host,P.focus)},this.handleBlur=e=>{var t,n,r;(r=(t=this.smartButtonProps)==null?void 0:(n=t.on).onBlur)==null||r.call(n,e),this.host&&F(this.host,P.blur)}}watchColor(e){sp.apply(e,(e=>this.setRenderProp(`color`,e)))}watchIcons(e){Ju.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchLabel(e){nd.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchSmartButton(e){this.applySmartButton(e)}focus(e){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this.watchColor(this._color),this.watchIcons(this._icons),this.watchLabel(this._label),this.watchSmartButton(this._smartButton)}componentDidRender(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}disconnectedCallback(){this.tooltipBehavior.destroy()}applySmartButton(e){ba(e,(()=>{this.unsetRenderProp(`smartButton`),this.smartButtonProps=void 0,e!=null&&bp.apply(e,(e=>{this.setRenderProp(`smartButton`,e),this.smartButtonProps=Tp(Object.assign(Object.assign({},e),{_hideLabel:!0,_ariaControls:this.labelId}),this.host),this.tooltipBehavior.componentWillLoad({label:this.smartButtonProps.label,align:this.smartButtonProps.tooltipAlign})}))}))}render(){let e=this.getRenderProp(`smartButton`),t=this.smartButtonProps;return k(A,{key:`ade712d3a4e96f74674d1a743152bf8f041ae53d`},k(wp,{key:`42cd4c0cc0ce507bdea1c16fb3f3c53c95ba74f7`,color:this.getRenderProp(`color`),icons:this.getRenderProp(`icons`),label:this.getRenderProp(`label`),smartButton:typeof e==`object`&&e&&t!==void 0?{ariaDescriptionId:this.ariaDescriptionId,handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,labelId:this.labelId,refSmartButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,resolvedButton:t}:void 0}))}get host(){return this}static get watchers(){return{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-badge .kol-badge__smart-button { width: auto; order: 3; } }`}}},[545,`kol-badge`,{_color:[1],_icons:[1],_label:[1],_smartButton:[1,`_smart-button`],labelId:[32],ariaDescriptionId:[32],focus:[64]},void 0,{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}]);function Op(){typeof customElements<`u`&&[`kol-badge`].forEach((e=>{e===`kol-badge`&&(customElements.get(M(e))||customElements.define(M(e),Dp))}))}H([U(`ctaRef`)],Dp.prototype,`focus`,null);var kp=Dp,Ap=Op;function jp(e){return z(`links`,[],(e=>jc(e)),(e=>e.every((e=>typeof e==`object`&&!!e&&(typeof e._href==`string`||typeof e._label==`string`)))),{hints:(t,n)=>ra(e,n.length)})}var Mp=z(`href`,``,R,(e=>typeof e==`string`)),Np=z(`target`,``,R),Pp=[`date`,`location`,`page`,`step`,`time`,`true`,`false`],Fp=z(`ariaCurrentValue`,`page`,(function(e){let t=R(e);return Pp.includes(t)?t:`page`})),Ip=z(`ariaOwns`,``,R),Lp=z(`download`,void 0,R),Rp=Ic(),zp={required:[Mp],optional:[Lu,zu,Fp,Bu,Vu,Ip,Hu,Sl,Lp,Uu,Ju,Wu,nd,Rp,Ku,Np,qu,Yu,Xu,Zu]},Bp=N.forBlock(`kol-link`),Vp=(e,t)=>{let{accessKey:n,ariaControls:r,ariaCurrent:i,ariaDescription:a,ariaDescriptionId:o,ariaExpanded:s,ariaOwns:c,class:l,customClass:u,disabled:d,download:f,handleAnchorClick:p,hideLabel:m,href:h,icons:g,inline:_,label:v,on:y,ref:b,refAnchor:x,refTooltip:S,role:C,shortKey:w,tabIndex:T,target:E,variant:ee,expertSlot:te}=ul(zp,e),ne=G(`kol-open-link-in-tab`),re=typeof E==`string`&&E.length>0&&E!==`_self`,ie={href:typeof h==`string`&&h.length>0?h:`javascript:void(0);`,target:typeof E==`string`&&E.length>0?E:void 0,rel:re?`noopener`:void 0,download:typeof f==`string`?f:void 0};!0===m&&Hc(v)===``&&Xi(`[KolLink] An aria-label must be set when _hide-label is set.`);let ae=a?.trim(),oe=C||void 0;return k(cl,{block:`kol-link`,ref:b,class:B(l,{[u]:ee.includes(`custom`)&&u.length>0,[Iu(ee,`link`)]:ee.length>0}),modifiers:{disabled:!0===d,"external-link":re,"hide-label":!0===m,inline:!0===_,standalone:!1===_}},k(`a`,Object.assign({ref:x},ie,{href:ie.href,accessKey:n||void 0,"aria-current":i||void 0,"aria-controls":r||void 0,"aria-describedby":ae?o:void 0,"aria-disabled":d?`true`:void 0,"aria-expanded":s===``?void 0:s,"aria-owns":c||void 0,"aria-label":m&&Hc(v)!==``?`${Hc(v)}${re?` (${ne})`:``}`:void 0,"aria-keyshortcuts":w||void 0,class:Bp(`interactive-element`)},y,{onClick:p,onMouseDown:d?zl:void 0,role:oe,tabIndex:d?-1:T}),k(pu,{class:`kol-link__text`,badgeText:n||w,icons:g,hideLabel:m,label:te?``:v||h},t.length>0?t:k(`slot`,{name:`expert`,slot:`expert`})),re&&k(Ul,{class:`kol-link__icon`,label:m?``:ne,icons:`kolicon-link-external`,"aria-hidden":m})),!0===m&&!te&&k(`div`,{class:Bp(`tooltip`)},k(ed,{badgeText:n||w||``,label:Hc(v)===``?typeof h==`string`?h:``:v,refFloating:S})),ae&&k(Qu,{description:ae,descriptionId:o}))},Hp=(e,t)=>{if(e&&t)throw Error(`AccessKey and ShortKey are used. Only one is allowed.`)},Up=new Set;function Wp(e){let t=Hc(e);Up.has(t)?Wi.warn(`There already is a nav element with the label "${t}"`):Up.add(t)}function Gp(e){let t=Hc(e);Up.delete(t)}var Kp=jp(`KolBreadcrumb`),qp={required:[Kp,cp]},Jp=N.forBlock(`kol-breadcrumb`),Yp=Jp(`icon`),Xp=Jp(`link`),Zp=Jp(`list`),Qp=Jp(`list-element`),$p=Jp(`list-element-span`),em=Jp(`separator`),tm=({label:e,linkItems:t,showCurrentPage:n})=>{let r=t.length-1;return k(cl,{component:`nav`,block:`kol-breadcrumb`,"aria-label":e},k(`ul`,{class:Zp},t.length===0&&k(`li`,null,k(Ul,{class:`kol-breadcrumb_icon`,icons:`kolicon-house`,label:``}),`…`),t.map(((e,t)=>((e,t,n,r)=>{let i=r?t!==n:t<n-1;if(t===n&&!r)return k(jr,null);let{link:a}=e;return k(`li`,{class:Qp,key:t},t===n?k(`span`,{class:$p,"aria-current":`page`},a._hideLabel?k(Ul,{class:Yp,icons:typeof a._icons==`string`?a._icons:`kolicon-link`,label:a._label?Hc(a._label):a._href}):k(jr,null,fu(a._label))):k(`div`,{class:Xp},k(Vp,Object.assign({},e.fcProps))),i&&k(Ul,{class:em,icons:`kolicon-chevron-right`,label:``}))})(e,t,r,n)))))},nm=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.linkItems=[],this.showCurrentPage=!0,this.propsConfig=qp}watchLabel(e){this.applyLabel(e)}watchLinks(e){this.applyLinks(e)}componentWillLoad(){this.applyLabel(this._label,!0),this.applyLinks(this._links),this.unsubscribeOnLocationChange=io((e=>{this.linkItems=this.linkItems.map((t=>{var n;let r=e===t.fcProps.href&&(n=t.fcProps.ariaCurrentValue)!=null?n:``;return t.fcProps.ariaCurrent===r?t:Object.assign(Object.assign({},t),{fcProps:Object.assign(Object.assign({},t.fcProps),{ariaCurrent:r})})}))}))}componentDidRender(){this.linkItems.forEach((e=>e.syncTooltipListeners()))}disconnectedCallback(){this.unsubscribeOnLocationChange&&=(this.unsubscribeOnLocationChange(),void 0),this.linkItems.forEach((e=>e.destroy())),Gp(this.getRenderProp(`label`))}applyLabel(e,t=!1){t||Gp(this.getRenderProp(`label`)),cp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`)),na(e),Wp(this.getRenderProp(`label`))}applyLinks(e){Kp.apply(e,(e=>{this.setRenderProp(`links`,e),this.linkItems.forEach((e=>e.destroy())),this.linkItems=e.map((e=>((e,t)=>{var n;let r=new Kf(V.stateLess),i=Rl(),a=ll(zp);a.tabIndex=void 0;let o=(e,t)=>e.apply(t,(t=>{a[e.propName]=t}));return o(Lu,e._accessKey),o(zu,e._ariaControls),o(Fp,e._ariaCurrentValue),o(Bu,e._ariaDescription),o(Sl,e._disabled),o(Lp,e._download),o(Uu,e._hideLabel),o(Mp,e._href),o(Ju,e._icons),o(Wu,(n=e._inline)!=null&&n),o(nd,e._label),o(Rp,e._on),o(qu,e._shortKey),typeof e._tabIndex==`number`&&o(Yu,e._tabIndex),o(Np,e._target),o(Xu,e._tooltipAlign),Hp(e._accessKey,e._shortKey),r.componentWillLoad({label:(()=>{let e=a.label;if(typeof e==`string`&&e.length>0)return e;let t=a.href;return typeof t==`string`?t:``})(),align:a.tooltipAlign}),a.ariaCurrent=``,a.ariaDescriptionId=Cu(),a.expertSlot=e._label===``,a.handleAnchorClick=e=>{if(r.hideTooltip(),!0===a.disabled)return void e.preventDefault();let n=typeof a.href==`string`?a.href:``,o=a.on;typeof o?.onClick==`function`&&(xa(e,i.el),o.onClick(e,n));let s=t();s&&F(s,P.click,n)},a.refAnchor=e=>{i(e)},a.refTooltip=r.setTooltipElementRef,{link:e,fcProps:a,syncTooltipListeners:()=>{i.el&&r.syncListeners(void 0,i.el,!0)},destroy:()=>{r.destroy()}}})(e,(()=>this.host))))}))}render(){return this.showCurrentPage=ni(`breadcrumbCurrentPage`,this.host)!==`hide`,k(A,{key:`10fc0c2ce98b8fae53cdf896e0a65a55ed04c774`},k(tm,{key:`cc38455aed82b67c836b96d5cb671fe97ddcc914`,label:this.getRenderProp(`label`),links:this.getRenderProp(`links`),linkItems:this.linkItems,showCurrentPage:this.showCurrentPage}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } .kol-breadcrumb__list, .kol-breadcrumb__list-element { display: flex; margin: 0; padding: 0; flex-wrap: wrap; place-items: center; list-style: none; } .kol-breadcrumb__list-element:first-child:last-child { min-height: var(--a11y-min-size); } }`}}},[545,`kol-breadcrumb`,{_label:[1],_links:[1],linkItems:[32]},void 0,{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}]),rm=nm,im=function(){typeof customElements<`u`&&[`kol-breadcrumb`].forEach((e=>{e===`kol-breadcrumb`&&(customElements.get(M(e))||customElements.define(M(e),nm))}))},am={optional:[ld,z(`syncValueBySelector`,void 0,R)]},om=new Set([`KOL-COMBOBOX`,`KOL-INPUT-CHECKBOX`,`KOL-INPUT-COLOR`,`KOL-INPUT-DATE`,`KOL-INPUT-EMAIL`,`KOL-INPUT-FILE`,`KOL-INPUT-NUMBER`,`KOL-INPUT-PASSWORD`,`KOL-INPUT-RADIO`,`KOL-INPUT-RANGE`,`KOL-INPUT-TEXT`,`KOL-SELECT`,`KOL-SINGLE-SELECT`,`KOL-TEXTAREA`]),sm=class extends Wf{constructor(e,{host:t,type:n,name:r}){super(e,am),this.experimentalMode=Fi(),this.setFormAssociatedValue=e=>{let t=this.formAssociated?.getAttribute(`name`);t!==null&&t!==``||Xi(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);let n=this.tryToStringifyValue(e);this.syncValue(e,n,this.formAssociated),this.syncValue(e,n,this.syncToOwnInput)},this.host=this.findHostWithShadowRoot(t),this.type=n,this.ensureFormAssociatedElement(r)}ensureFormAssociatedElement(e){var t,n,r;!this.formAssociated&&(t=no())!=null&&t.reflectInputValues&&om.has(this.host?.tagName??``)&&e&&((n=this.host)==null||n.querySelectorAll(`input,select,textarea`).forEach((e=>{var t;(t=this.host)==null||t.removeChild(e)})),this.formAssociated=this.createFormAssociatedElement(),this.formAssociated.setAttribute(`data-form-associated`,``),this.formAssociated.setAttribute(`hidden`,``),this.setNameAttribute(e),(r=this.host)==null||r.appendChild(this.formAssociated))}componentWillLoad(e){this.watchName(e.name),this.watchSyncValueBySelector(e.syncValueBySelector)}watchName(e){ld.apply(e,(e=>{this.setRenderProp(`name`,e),this.setNameAttribute(e)})),e===void 0?Xi(`A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.`):this.ensureFormAssociatedElement(e)}watchSyncValueBySelector(e){if(this.experimentalMode&&typeof e==`string`){this.setRenderProp(`syncValueBySelector`,e);let t=document.querySelector(e);t&&(this.syncToOwnInput=t)}}setNameAttribute(e){this.setAttribute(`name`,this.formAssociated,e)}createFormAssociatedElement(){switch(this.type){case`color`:case`date`:case`email`:case`file`:case`number`:case`password`:case`radio`:case`range`:case`text`:{let e=document.createElement(M(`input`));return e.setAttribute(`type`,this.type),e}case`select`:{let e=document.createElement(M(`select`));return e.setAttribute(`multiple`,``),e}case`textarea`:return document.createElement(M(`textarea`));default:{let e=document.createElement(M(`input`));return e.setAttribute(`type`,`hidden`),e}}}findHostWithShadowRoot(e){for(;e?.shadowRoot===null&&e!==document.body;){let t=e.parentNode;e=t?.nodeType===11&&`host`in t?t.host:t?.nodeType===1?t:void 0}return e}setAttribute(e,t,n){if(this.experimentalMode)try{if(typeof(n=typeof n==`object`&&n?JSON.stringify(n):n)!=`boolean`&&typeof n!=`number`&&typeof n!=`string`)throw Error(`Invalid value type: `+typeof n);t?.setAttribute(e,`${n}`)}catch{t?.removeAttribute(e)}}tryToStringifyValue(e){try{return typeof e==`object`&&e?JSON.stringify(e).toString():e==null?null:e.toString()}catch(e){return Zi(`The form field raw value is not able to stringify! ${e}`),``}}syncValue(e,t,n){if(n)switch(this.type){case`file`:typeof FileList<`u`&&e instanceof FileList?n.files=e:n.value=``;break;case`select`:n.tagName===`SELECT`?this.syncSelectOptions(e,n):this.syncValueAttribute(t,n);break;case`radio`:typeof t==`string`&&(n.setAttribute(`value`,t),n.setAttribute(`checked`,``),n.value=t);break;default:this.syncValueAttribute(t,n)}}syncSelectOptions(e,t){t.querySelectorAll(`option`).forEach((e=>{t.removeChild(e)})),(Array.isArray(e)?e:e==null?[]:[e]).forEach((e=>{let n=this.tryToStringifyValue(e);if(typeof n==`string`){let e=document.createElement(M(`option`));e.setAttribute(`value`,n),e.setAttribute(`selected`,``),t.appendChild(e)}}))}syncValueAttribute(e,t){typeof e==`string`?(t.setAttribute(`value`,e),t.value=e):(t.removeAttribute(`value`),t.value=``)}},cm=e=>{for(Fi()&&(Xi(`↓ Search form element start.`),Wi.debug(e));e instanceof HTMLElement&&e.tagName!==`FORM`&&e.tagName!==M(`kol-form`).toUpperCase();){try{e=e.parentElement instanceof HTMLElement?e.parentElement:e.parentNode instanceof ShadowRoot?e.parentNode.host:null}catch{}Fi()&&Wi.debug(e)}return Fi()&&Xi(`↑ Search form element finished.`),e},lm=(e={})=>{let t=cm(e.form);if(t instanceof HTMLElement){let e=new Event(`reset`,{bubbles:!0,cancelable:!0});if(t.tagName===`FORM`)xa(e,t),t.dispatchEvent(e);else if(t.tagName===M(`kol-form`).toUpperCase()){let n=Ia.querySelector(`form`,t);n&&(xa(e,n),n.dispatchEvent(e))}}},um=(e={})=>{let t=e.shouldSubmit??(()=>!0),n=cm(e.form);if(n instanceof HTMLElement){let e=new SubmitEvent(`submit`,{bubbles:!0,cancelable:!0,submitter:n});if(n.tagName===`FORM`)Fi()&&!1===n.noValidate&&Xi(`If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.`,{force:!0}),setTimeout((()=>{t()&&(typeof n.requestSubmit==`function`?n.requestSubmit():(xa(e,n),n.dispatchEvent(e)))}));else if(n.tagName===M(`kol-form`).toUpperCase()){let r=Ia.querySelector(`form`,n);r&&(xa(e,r),setTimeout((()=>{t()&&r.dispatchEvent(e)})))}}},dm=(e,t)=>{e.code!==`Enter`&&e.code!==`NumpadEnter`||e.isComposing||um(Object.assign(Object.assign({},t),{shouldSubmit:()=>!e.defaultPrevented&&!(e=>{var t;try{return(t=e?.matches(`:open`))!=null&&t}catch{return!1}})(t.ref)}))},fm=class extends V{constructor(){super(...arguments),this.ctaRef=Rl(),this.propsConfig=ud,this.tooltipBehavior=new Kf(this.stateAccess),this.handleClick=e=>{e.stopPropagation(),this.tooltipBehavior.hideTooltip();let t=this.getRenderProp(`type`);if(t===`submit`)um({form:this.host});else if(t===`reset`)lm({form:this.host});else{this.formAssociation.setFormAssociatedValue(this.formValue);let t=this.getRenderProp(`on`).onClick;typeof t==`function`&&(xa(e,this.ctaRef.el),t(e,this.formValue))}this.host&&F(this.host,P.click,this.formValue)},this.handleMouseDown=e=>{var t,n;(n=(t=this.getRenderProp(`on`)).onMouseDown)==null||n.call(t,e),this.host&&F(this.host,P.mousedown)},this.handleFocus=e=>{var t,n;(n=(t=this.getRenderProp(`on`)).onFocus)==null||n.call(t,e),this.host&&F(this.host,P.focus)},this.handleBlur=e=>{var t,n;(n=(t=this.getRenderProp(`on`)).onBlur)==null||n.call(t,e),this.host&&F(this.host,P.blur)}}initFormAssociation(){this.formAssociation=new sm(V.stateLess,{host:this.host,type:`button`})}unsetButtonTabIndex(){this.unsetRenderProp(`tabIndex`)}initTooltipBehavior(){this.tooltipBehavior.componentWillLoad({label:this.getRenderProp(`label`),align:this.getRenderProp(`tooltipAlign`)})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyTooltipBehavior(){this.tooltipBehavior.destroy()}applyAccessKey(e,t){Lu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Hp(e,t)}applyAriaControls(e){zu.apply(e,(e=>this.setRenderProp(`ariaControls`,e)))}applyAriaDescription(e){Bu.apply(e,(e=>this.setRenderProp(`ariaDescription`,e)))}applyAriaExpanded(e){Vu.apply(e,(e=>this.setRenderProp(`ariaExpanded`,e)))}applyAriaHasPopup(e){id.apply(e,(e=>this.setRenderProp(`ariaHasPopup`,e)))}applyAriaSelected(e){ad.apply(e,(e=>this.setRenderProp(`ariaSelected`,e)))}applyCustomClass(e){Hu.apply(e,(e=>this.setRenderProp(`customClass`,e)))}applyDisabled(e){Sl.apply(e,(e=>this.setRenderProp(`disabled`,e)))}applyHideLabel(e){Uu.apply(e,(e=>this.setRenderProp(`hideLabel`,e)))}applyIcons(e){Ju.apply(e,(e=>this.setRenderProp(`icons`,e)))}applyId(e){td.apply(e,(e=>this.setRenderProp(`id`,e)))}applyInline(e){Wu.apply(e,(e=>this.setRenderProp(`inline`,e)))}applyLabel(e){nd.apply(e,(e=>{this.setRenderProp(`label`,e),this.tooltipBehavior.watchLabel(e)}),this.isRequired(`label`))}applyName(e){ld.apply(e,(e=>this.setRenderProp(`name`,e))),this.formAssociation.watchName(e)}applyOn(e){od.apply(e,(e=>this.setRenderProp(`on`,e)))}applyRole(e){Ku.apply(e,(e=>this.setRenderProp(`role`,e)))}applyShortKey(e,t){qu.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Hp(t,e)}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTabIndex(e){typeof e==`number`?Yu.apply(e,(e=>this.setRenderProp(`tabIndex`,e))):this.unsetRenderProp(`tabIndex`)}applyTooltipAlign(e){Xu.apply(e??`top`,(e=>{this.setRenderProp(`tooltipAlign`,e),this.tooltipBehavior.watchAlign(e)}))}applyType(e){cd.apply(e,(e=>this.setRenderProp(`type`,e)))}applyValue(e){this.formValue=e,this.formAssociation.setFormAssociatedValue(e)}applyVariant(e){Zu.apply(e??ni(`buttonVariantDefault`,this.host)??`normal`,(e=>this.setRenderProp(`variant`,e)))}getButtonFCProps(){return{accessKey:this.getRenderProp(`accessKey`),ariaControls:this.getRenderProp(`ariaControls`),ariaDescription:this.getRenderProp(`ariaDescription`),ariaDescriptionId:this.getState(`ariaDescriptionId`),ariaExpanded:this.getRenderProp(`ariaExpanded`),ariaHasPopup:this.getRenderProp(`ariaHasPopup`),ariaSelected:this.getRenderProp(`ariaSelected`),customClass:this.getRenderProp(`customClass`),disabled:this.getRenderProp(`disabled`),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp(`hideLabel`),icons:this.getRenderProp(`icons`),id:this.getRenderProp(`id`),inline:this.getRenderProp(`inline`),label:this.getRenderProp(`label`),name:this.getRenderProp(`name`),on:this.getRenderProp(`on`),refButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp(`role`),shortKey:this.getRenderProp(`shortKey`),tabIndex:this.getRenderProp(`tabIndex`),tooltipAlign:this.getRenderProp(`tooltipAlign`),type:this.getRenderProp(`type`),variant:this.getRenderProp(`variant`)}}renderButtonFC(){return k(hd,Object.assign({},this.getButtonFCProps()))}},pm=j(class extends fm{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=Cu(),this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._inline=!1,this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._type=`button`,this._value=void 0,this._variant=void 0,this.initFormAssociation()}watchAccessKey(e){this.applyAccessKey(e,this._shortKey)}watchAriaControls(e){this.applyAriaControls(e)}watchAriaDescription(e){this.applyAriaDescription(e)}watchAriaExpanded(e){this.applyAriaExpanded(e)}watchAriaSelected(e){this.applyAriaSelected(e)}watchCustomClass(e){this.applyCustomClass(e)}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchIcons(e){this.applyIcons(e)}watchInline(e){this.applyInline(e)}watchLabel(e){this.applyLabel(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchRole(e){this.applyRole(e)}watchShortKey(e){this.applyShortKey(e,this._accessKey)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchType(e){this.applyType(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this._value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetButtonTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchAriaSelected(this._ariaSelected),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchName(this._name),this.watchOn(this._on),this.watchRole(this._role),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyTooltipBehavior()}render(){return k(A,{key:`3b0e4a543a0bb650033a6e19efa842470a7b352d`},this.renderButtonFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } }`}}},[545,`kol-button`,{_accessKey:[1,`_access-key`],_ariaControls:[1,`_aria-controls`],_ariaDescription:[1,`_aria-description`],_ariaExpanded:[4,`_aria-expanded`],_ariaSelected:[4,`_aria-selected`],_customClass:[1,`_custom-class`],_disabled:[4],_hideLabel:[4,`_hide-label`],_icons:[1],_inline:[4],_label:[1],_name:[1],_on:[16],_role:[1],_shortKey:[1,`_short-key`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_type:[1],_value:[8],_variant:[1],ariaDescriptionId:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);function mm(){typeof customElements<`u`&&[`kol-button`].forEach((e=>{e===`kol-button`&&(customElements.get(M(e))||customElements.define(M(e),pm))}))}H([U(`ctaRef`)],pm.prototype,`focus`,null),H([W(`ctaRef`)],pm.prototype,`click`,null);var hm=pm,gm=mm,_m=j(class extends fm{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=Cu(),this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._inline=!0,this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._type=`button`,this._value=void 0,this._variant=void 0,this.initFormAssociation()}watchAccessKey(e){this.applyAccessKey(e,this._shortKey)}watchAriaControls(e){this.applyAriaControls(e)}watchAriaDescription(e){this.applyAriaDescription(e)}watchAriaExpanded(e){this.applyAriaExpanded(e)}watchAriaSelected(e){this.applyAriaSelected(e)}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchIcons(e){this.applyIcons(e)}watchInline(e){this.applyInline(e)}watchLabel(e){this.applyLabel(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchRole(){}watchShortKey(e){this.applyShortKey(e,this._accessKey)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchType(e){this.applyType(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this._value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetButtonTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchAriaSelected(this._ariaSelected),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyTooltipBehavior()}render(){return k(A,{key:`2e96377cb348bc7ec4c1e3f622d4a58677a3ff29`},this.renderButtonFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: inline-flex; max-width: fit-content; } .kol-button--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-button--standalone .kol-button__interactive-element { align-items: stretch; } .kol-button--standalone .kol-button__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-button__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-button__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-button__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-button .kol-span__label { text-decoration-line: underline; } .kol-button__icon { display: inline-flex; } .kol-button--inline { min-width: unset; min-height: unset; } .kol-button--inline .kol-button__interactive-element { min-width: unset; min-height: unset; } }`}}},[545,`kol-button-link`,{_accessKey:[1,`_access-key`],_ariaControls:[1,`_aria-controls`],_ariaDescription:[1,`_aria-description`],_ariaExpanded:[4,`_aria-expanded`],_ariaSelected:[4,`_aria-selected`],_disabled:[4],_hideLabel:[4,`_hide-label`],_icons:[1],_inline:[4],_label:[1],_name:[1],_on:[16],_role:[1],_shortKey:[1,`_short-key`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_type:[1],_value:[8],_variant:[1],ariaDescriptionId:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);H([U(`ctaRef`)],_m.prototype,`focus`,null),H([W(`ctaRef`)],_m.prototype,`click`,null);var vm=_m,ym=function(){typeof customElements<`u`&&[`kol-button-link`].forEach((e=>{e===`kol-button-link`&&(customElements.get(M(e))||customElements.define(M(e),_m))}))},bm=Ic(),xm={required:[pl],optional:[bm,ku,Mp,xl,Np]};function Sm(e){return Tp({_hideLabel:!0,_icons:{left:{icon:`kolicon-cross`}},_label:G(`kol-close`),_tooltipAlign:`top`},e)}var Cm=N.forBlock(`kol-card`),wm=Cm(`close-button`),Tm=Cm(`content`),Em=Cm(`header`),Dm=Cm(`link`),Om=N.forBlock(`kol-close-button`)(),km=()=>{},Am=({headingId:e,label:t,level:n})=>k(Ol,{class:Em,id:e,level:n},fu(t)),jm=(e,t)=>{let{ariaDescriptionId:n,class:r,closeButtonProps:i,handleBlur:a,handleClose:o,handleFocus:s,hasCloser:c,headingId:l,href:u,label:d,level:f,refCloseButton:p,refCta:m,refTooltip:h,target:g}=ul(xm,e);return k(cl,{component:`article`,"aria-labelledby":l,block:`kol-card`,class:r},u.length>0?k(`a`,{class:Dm,href:u,target:g||void 0,onBlur:a,onFocus:s,ref:m},k(Am,{headingId:l,label:d,level:f})):k(Am,{headingId:l,label:d,level:f}),k(`div`,{class:Tm},t),c&&k(`div`,{class:B(wm,Om)},k(hd,Object.assign({},i,{ariaDescriptionId:n,handleBlur:km,handleClick:o,handleFocus:km,handleMouseDown:km,refButton:p,refTooltip:h}))))},Mm=class extends V{constructor(){super(...arguments),this.ctaRef=Rl(),this.closeButtonRef=Rl(),this.tooltipBehavior=new Kf(this.stateAccess),this.propsConfig=xm,this.handleClose=()=>{var e,t;this.tooltipBehavior.hideTooltip(),(t=(e=this.getRenderProp(`on`)).onClose)==null||t.call(e,new Event(`Close`)),this.host&&F(this.host,P.close)},this.handleFocus=e=>{var t,n;(n=(t=this.getRenderProp(`on`)).onFocus)==null||n.call(t,e),this.host&&F(this.host,P.focus)},this.handleBlur=e=>{var t,n;(n=(t=this.getRenderProp(`on`)).onBlur)==null||n.call(t,e),this.host&&F(this.host,P.blur)}}initCardCloseButton(){this.closeButtonProps=Sm(this.host),this.tooltipBehavior.componentWillLoad({label:this.closeButtonProps.label,align:this.closeButtonProps.tooltipAlign})}syncTooltipListeners(){this.closeButtonRef.el&&this.tooltipBehavior.syncListeners(void 0,this.closeButtonRef.el,!0)}destroyTooltipBehavior(){this.tooltipBehavior.destroy()}applyHasCloser(e){ku.apply(e,(e=>this.setRenderProp(`hasCloser`,e)))}applyHref(e){Mp.apply(e,(e=>this.setRenderProp(`href`,e)),this.isRequired(`href`))}applyLabel(e){pl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}applyLevel(e){xl.apply(e,(e=>this.setRenderProp(`level`,e)))}applyOn(e){bm.apply(e,(e=>this.setRenderProp(`on`,e)))}applyTarget(e){Np.apply(e,(e=>this.setRenderProp(`target`,e)))}renderCardFC(){return k(jm,{ariaDescriptionId:this.getState(`ariaDescriptionId`),closeButtonProps:this.closeButtonProps,handleBlur:this.handleBlur,handleClose:this.handleClose,handleFocus:this.handleFocus,hasCloser:this.getRenderProp(`hasCloser`),headingId:this.getState(`headingId`),href:this.getRenderProp(`href`),label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),on:this.getRenderProp(`on`),refCloseButton:this.closeButtonRef,refCta:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,target:this.getRenderProp(`target`)},this.renderSlot())}},Nm=j(class extends Mm{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=Cu(),this.headingId=wu(`card-heading`),this._hasCloser=!1,this._href=void 0,this._level=0,this._on=void 0,this._target=void 0}watchHasCloser(e){this.applyHasCloser(e)}watchHref(e){this.applyHref(e)}watchLabel(e){this.applyLabel(e)}watchLevel(e){this.applyLevel(e)}watchOn(e){this.applyOn(e)}watchTarget(e){this.applyTarget(e)}focus(e){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){this.initCardCloseButton(),this.watchHasCloser(this._hasCloser),this.watchHref(this._href),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchTarget(this._target)}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyTooltipBehavior()}renderSlot(){return k(`slot`,null)}render(){return k(A,{key:`c248b4a9c76d839ca94d96c19a725acb5a17e0a8`},this.renderCardFC())}get host(){return this}static get watchers(){return{_hasCloser:[{watchHasCloser:0}],_href:[{watchHref:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_target:[{watchTarget:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } }`}}},[801,`kol-card`,{_hasCloser:[4,`_has-closer`],_href:[1],_label:[1],_level:[2],_on:[16],_target:[1],ariaDescriptionId:[32],headingId:[32],focus:[64],click:[64]},void 0,{_hasCloser:[{watchHasCloser:0}],_href:[{watchHref:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_target:[{watchTarget:0}]}]);H([U(`ctaRef`)],Nm.prototype,`focus`,null),H([W(`ctaRef`)],Nm.prototype,`click`,null);var Pm=Nm,Fm=function(){typeof customElements<`u`&&[`kol-card`].forEach((e=>{e===`kol-card`&&(customElements.get(M(e))||customElements.define(M(e),Nm))}))},Im=e=>{let t=new Kf(V.stateLess),n=Rl(),r=Cu(),i,a,o,s=(e,t)=>{o&&F(o,e,t)},c=e=>{if(e.stopPropagation(),t.hideTooltip(),i?.type===`submit`)um({form:o});else if(i?.type===`reset`)lm({form:o});else{let t=i?.on.onClick;typeof t==`function`&&(xa(e,n.el),t(e,a))}s(P.click,a)},l=e=>{var t,n;(n=i==null?void 0:(t=i.on).onMouseDown)==null||n.call(t,e),s(P.mousedown)},u=e=>{var t,n;(n=i==null?void 0:(t=i.on).onFocus)==null||n.call(t,e),s(P.focus)},d=e=>{var t,n;(n=i==null?void 0:(t=i.on).onBlur)==null||n.call(t,e),s(P.blur)},f=e=>{e&&(o=e)};return{getFcProps:(o,s)=>(i=Tp(o,e()),a=o._value,t.componentWillLoad({label:i.label,align:i.tooltipAlign}),Object.assign(Object.assign(Object.assign({},i),s),{ariaDescriptionId:r,handleBlur:d,handleClick:c,handleFocus:u,handleMouseDown:l,ref:f,refButton:n,refTooltip:t.setTooltipElementRef})),getElement:()=>n.el,getRootElement:()=>o,syncListeners:()=>{n.el&&t.syncListeners(void 0,n.el,!0)},destroy:()=>{t.destroy()}}},Lm=Ru(`popoverAlign`,`bottom`),Rm=N.forBlock(`kol-popover`),zm=(e,t)=>{let{align:n=`bottom`,popoverRef:r,arrowRef:i,class:a}=e,o=yl(e,[`align`,`popoverRef`,`arrowRef`,`class`]);return k(`div`,Object.assign({},o,{class:B(Rm(),a),ref:r,popover:`auto`}),k(`div`,{class:B(Rm(`arrow`),Rm(`arrow`,{[n]:!0})),ref:i}),t.length>0?t:k(`slot`,null))},Bm=(e,t)=>{let{accessKey:n,ariaDescription:r,ariaDescriptionId:i,ariaHasPopup:a,ariaSelected:o,customClass:s,disabled:c,handleBlur:l,handleClick:u,handleFocus:d,handleMouseDown:f,hideLabel:p,icons:m,id:h,inline:g,label:_,name:v,on:y,popoverAlign:b,popoverOpen:x,popoverId:S,ref:C,refButton:w,refPopover:T,refTooltip:E,role:ee,shortKey:te,tabIndex:ne,tooltipAlign:re,type:ie,variant:ae}=e;return k(cl,{block:`kol-popover-button`,class:e.class,ref:C,modifiers:{open:x,inline:!0===g}},k(hd,{accessKey:n,ariaControls:S,ariaDescription:r,ariaDescriptionId:i,ariaExpanded:x?`true`:`false`,ariaHasPopup:a,ariaSelected:o,customClass:s,disabled:c,handleBlur:l,handleClick:u,handleFocus:d,handleMouseDown:f,hideLabel:p,icons:m,id:h,inline:g,label:_,name:v,on:y,refButton:w,refTooltip:E,role:ee,shortKey:te,tabIndex:ne,tooltipAlign:re,type:ie,variant:ae}),k(zm,{align:b,class:`kol-popover-button__popover`,id:S,popoverRef:T},t))},Vm={optional:[Td]},Hm=class extends Wf{constructor(e){super(e,Vm),this.show=!1,this.setPopoverElementRef=e=>{this.popoverElement=e,this.arrowElement=e?.querySelector(`.kol-popover__arrow`)},this.setTriggerElement=e=>{this.triggerElement=e},this.alignPopover=async()=>{this.popoverElement&&this.triggerElement&&await Vf({align:this.getRenderProp(`align`),referenceElement:this.triggerElement,arrowElement:this.arrowElement,floatingElement:this.popoverElement})},this.setupAutoUpdate=()=>{this.popoverElement&&this.triggerElement&&!this.cleanupAutoUpdate&&(this.cleanupAutoUpdate=Rf(this.triggerElement,this.popoverElement,(()=>{this.alignPopover()})))}}componentWillLoad(e){this.watchAlign(e.align)}watchAlign(e){Td.apply(e,(e=>{this.setRenderProp(`align`,e)}))}setShow(e){this.show=e,this.popoverElement&&(this.popoverElement.isConnected?this.toggleVisibility():requestAnimationFrame((()=>{this.toggleVisibility()})))}destroy(){var e;(e=this.cleanupAutoUpdate)==null||e.call(this),this.cleanupAutoUpdate=void 0,this.popoverElement=void 0,this.arrowElement=void 0,this.triggerElement=void 0}toggleVisibility(){var e;if(!this.popoverElement)return;let t=this.popoverElement.matches(`:popover-open`);if(this.show){if(!t)try{this.popoverElement.showPopover(),this.setupAutoUpdate(),this.alignPopover()}catch{}}else if(t)try{this.popoverElement.hidePopover(),(e=this.cleanupAutoUpdate)==null||e.call(this),this.cleanupAutoUpdate=void 0}catch{}}},Um={required:[nd],optional:[Lu,Bu,id,ad,od,cd,Hu,Sl,Uu,td,Wu,Ku,ld,Lm,qu,Ju,Yu,Xu,Zu]},Wm=e=>{let t=new Hm(V.stateLess),n=new Kf(V.stateLess),r=Rl(),i,a,o=ll(Um);delete o.tabIndex;let s=e=>{Sl.apply(e,(e=>{o.disabled=e}))};s(e.disabled),Uu.apply(e.hideLabel,(e=>{o.hideLabel=e})),Ju.apply(e.icons,(e=>{o.icons=e})),Wu.apply(!1,(e=>{o.inline=e})),Xu.apply(`top`,(e=>{o.tooltipAlign=e})),cd.apply(`button`,(e=>{o.type=e})),nd.apply(e.label,(e=>{o.label=e}));let c=Lm.getDefaultValue();Lm.apply(e.popoverAlign,(e=>{c=e})),o.popoverAlign=c,t.componentWillLoad({align:c}),Zu.apply(ni(`buttonVariantDefault`,e.getFlagHost())??`normal`,(e=>{o.variant=e})),o.ariaDescriptionId=Cu(),o.popoverId=wu(`popover`);let l=t=>{let n=e.getEventTarget?e.getEventTarget():a;n&&F(n,t)},u=t=>{e.setOpen(t.newState===`open`)};o.handleClick=r=>{r.stopPropagation(),n.hideTooltip(),t.setShow(!e.getOpen()),l(P.click)},o.handleMouseDown=()=>l(P.mousedown),o.handleFocus=()=>l(P.focus),o.handleBlur=()=>l(P.blur),o.refButton=e=>{r(e),t.setTriggerElement(e)},o.refPopover=e=>{i=e,t.setPopoverElementRef(e)},o.refTooltip=n.setTooltipElementRef;let d=e=>{a=e},f=()=>{n.componentWillLoad({label:o.label,align:o.tooltipAlign})};return f(),{getFcProps:n=>(n&&(n=>{let r=Tp(Object.assign(Object.assign({},n),{_on:void 0,_variant:n._variant??`normal`}),e.getFlagHost());o.accessKey=r.accessKey,o.ariaDescription=r.ariaDescription,o.customClass=r.customClass,o.disabled=r.disabled,o.hideLabel=r.hideLabel,o.icons=r.icons,o.id=r.id,o.inline=r.inline,o.label=r.label,o.name=r.name,o.shortKey=r.shortKey,o.tabIndex=r.tabIndex,o.tooltipAlign=r.tooltipAlign,o.type=r.type,o.variant=r.variant,Lm.apply(n._popoverAlign??`bottom`,(e=>{o.popoverAlign=e,t.watchAlign(e)})),f()})(n),Object.assign(Object.assign({},o),{popoverOpen:e.getOpen(),ref:d})),hide:()=>t.setShow(!1),setDisabled:s,syncListeners:()=>{r.el&&n.syncListeners(void 0,r.el,!0),i?.addEventListener(`toggle`,u)},destroy:()=>{n.destroy(),i&&=(i.removeEventListener(`toggle`,u),void 0),t.destroy()}}},Gm=(e,t)=>{let n=(t??``).trim().split(/\s+/).filter(Boolean);if(!n.length)return[];let r=e?.getRootNode();return n.map((e=>typeof Document<`u`&&r instanceof Document?r.getElementById(e):typeof ShadowRoot<`u`&&r instanceof ShadowRoot?r.querySelector(`#${(e=>globalThis.CSS?.escape?globalThis.CSS.escape(e):e.replace(/[^a-zA-Z0-9_-]/g,`\\$&`))(e)}`):typeof document<`u`?document.getElementById(e):null)).filter((e=>!!e))};function Km(e,t){return!!e&&!0===t}function qm(e){return typeof e==`string`?`error`:e?._type??`error`}var Jm=z(`ariaDetails`,``,R),Ym=z(`hideMsg`,!1,Dc),Xm=z(`hint`,``,R),Zm=z(`infoPopover`,void 0,(function(e){if(typeof e==`object`&&e)return e;throw Error(`Invalid info popover: `+typeof e)})),Qm=Ic(),$m=z(`msg`,void 0,(function(e){if(typeof e==`string`)try{return Ea(e)}catch{return e}return e}),(function(e){return e===void 0||(typeof e==`string`?e.length>0:La(e)&&Ra(e._description,1))})),eh=z(`touched`,!1,Dc),th={required:[nd],optional:[Jm,Sl,Uu,Ym,Xm,Zm,Qm,$m,ld,Xu,eh]},nh=e=>{var{id:t,class:n,hint:r,baseClassName:i=`kol-form-field`}=e,a=yl(e,[`id`,`class`,`hint`,`baseClassName`]);return r?k(`span`,Object.assign({class:B(`${i}__hint`,n),id:Tu(t||``,`hint`)},a),r):null},rh=e=>{var{component:t=`label`,id:n,baseClassName:r=`kol-form-field`,class:i,accessKey:a,shortKey:o,label:s,hideLabel:c,hasExpertSlot:l,omitId:u,showBadge:d=!0,readOnly:f,infoPopover:p}=e,m=yl(e,[`component`,`id`,`baseClassName`,`class`,`accessKey`,`shortKey`,`label`,`hideLabel`,`hasExpertSlot`,`omitId`,`showBadge`,`readOnly`,`infoPopover`]);let h=!l&&c,g=!1===d?void 0:Kl(a,o);return k(t,Object.assign({},m,{class:B(`${r}__label`,i),id:h||u?void 0:Tu(n,`label`),hidden:h,htmlFor:t===`legend`?void 0:n}),k(pu,{class:`${r}__label-text`,label:l?``:s??``,badgeText:g},k(`slot`,{name:`expert`})),!l&&f&&k(`span`,{class:`${r}__label__read-only`,"aria-hidden":`true`},`(`,G(`kol-readonly`),`)`),!l&&p&&k(`span`,null,k(Bm,Object.assign({},p.popoverButton),k(`div`,{class:`kol-popover-button__popover--styled`},p.content))))},ih=e=>{var{alert:t,hideMsg:n,msg:r,id:i,class:a}=e,o=yl(e,[`alert`,`hideMsg`,`msg`,`id`,`class`]);let s=function(e){if(typeof e==`string`)try{return Ea(e)}catch{return{_description:e,_type:`error`}}return e&&typeof e==`object`&&!(`_type`in e)?Object.assign(Object.assign({},e),{_type:`error`}):e}(r);return k(wd,Object.assign({alert:!n&&(s?._alert??!0===t),class:B(`kol-form-field__msg`,n&&`visually-hidden`,a),closerAriaDescriptionId:Cu(),handleCloserClick:()=>{},hasCloser:!1,headingId:wu(`alert-heading`),id:Tu(i,`msg`),label:``,level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:s?._type??`error`,variant:`msg`},o),s?._description||void 0)},ah=N.forBlock(`kol-form-field`),oh=({hideLabel:e,label:t,renderNoTooltip:n})=>!n&&!Gl(t)&&!0===e,sh=e=>{let t=qm(e);return{[t]:!0,[`msg-type-${t}`]:!0}},ch=(e,t)=>{let{renderNoLabel:n,renderNoTooltip:r,renderNoHint:i,id:a,required:o,alert:s,disabled:c,class:l,msg:u,hideMsg:d,hideLabel:f,label:p,infoPopover:m,hint:h,accessKey:g,shortKey:_,counter:v,readOnly:y,touched:b,maxLength:x,ariaDescribedBy:S,showBadge:C,tooltipAlign:w,variant:T,component:E=`div`,orientation:ee,refInput:te,refTooltip:ne}=e,re=yl(e,`renderNoLabel.renderNoTooltip.renderNoHint.id.required.alert.disabled.class.msg.hideMsg.hideLabel.label.infoPopover.hint.accessKey.shortKey.counter.readOnly.touched.maxLength.ariaDescribedBy.showBadge.tooltipAlign.variant.component.orientation.refInput.refTooltip`.split(`.`)),ie=Gl(p),ae=Km(u,b),oe=Kl(g,_),D=oh({hideLabel:f,label:p,renderNoTooltip:r}),se=E===`fieldset`;return k(cl,Object.assign({component:E,block:`kol-form-field`,modifiers:Object.assign({disabled:!!c,required:!!o,touched:!!b,"hide-label":!!f,"read-only":!!y,"hidden-msg":!!d},ae?sh(u):{}),class:B(T&&Iu(T,`form-field`),l),disabled:!(!se||!c)||void 0,"aria-describedby":S},re),!n&&k(rh,{component:se?`legend`:`label`,class:se?`kol-form-field__label--legend`:void 0,id:a,hasExpertSlot:ie,hideLabel:f,label:p,accessKey:g,shortKey:_,readOnly:y,showBadge:C,infoPopover:m}),k(`div`,{class:ah(`input`,{"orientation-horizontal":ee===`horizontal`,"orientation-vertical":ee===`vertical`}),ref:te},t,D&&k(`div`,{class:ah(`tooltip`)},k(ed,{badgeText:oe||``,label:p,align:w,id:Tu(a,`label`),refFloating:ne}))),v&&(v.maxLengthBehavior!==`soft`||typeof v.maxLength==`number`)&&k(`div`,{class:ah(`counter`)},k(`span`,{"aria-hidden":`true`,class:ah(`counter`),ref:v.visualRef}),k(`span`,{"aria-live":`polite`,class:`visually-hidden`,id:Tu(a,`counter`),ref:v.ariaRef})),ae&&k(ih,{id:a,alert:s,hideMsg:d,msg:u}),!i&&k(nh,{id:a,hint:h}),typeof x==`number`&&!v&&k(`span`,{id:Tu(a,`character-limit-hint`),class:`visually-hidden`},G(`kol-character-limit-hint`,{placeholders:{limit:String(x)}})))};function lh({ariaDescribedBy:e,hideLabel:t,label:n}){return{title:``,autoCapitalize:`off`,autoCorrect:`off`,"aria-describedby":e?.length?e.join(` `):void 0,"aria-label":t&&n?Hc(n):void 0}}var uh=class extends V{constructor(){super(...arguments),this.tooltipBehavior=new Kf(V.stateLess),this.smartButton=Im((()=>this.host)),this.infoPopover=Wm({getFlagHost:()=>this.host,getOpen:()=>!0===this.infoPopoverOpen,setOpen:e=>{this.infoPopoverOpen=e}}),this.focusEventSent=!1,this.handleChange=(e,t)=>{var n,r;e.stopPropagation(),t===void 0&&(t=e.target.value),this.emit(P.change,t),(r=(n=this._on)?.onChange)==null||r.call(n,e,t)},this.handleInput=(e,t)=>{var n,r;e.stopPropagation(),t===void 0&&(t=e.target.value),this.emit(P.input,t),this.formAssociation.setFormAssociatedValue(t),(r=(n=this._on)?.onInput)==null||r.call(n,e,t)},this.handleClick=e=>{var t,n;this.emit(P.click),(n=(t=this._on)?.onClick)==null||n.call(t,e)},this.handleFocus=e=>{var t,n;this.focusEventSent||=(this.emit(P.focus),(n=(t=this._on)?.onFocus)==null||n.call(t,e),!0),this.shared.setState(`inputHasFocus`,!0)},this.handleBlur=e=>{this.handleFocusLeave(e),this.shared.setState(`inputHasFocus`,!1)},this.handleKeyDown=e=>{var t,n;this.emit(P.keydown),(n=(t=this._on)?.onKeyDown)==null||n.call(t,e)},this.setInputRef=e=>{this.tooltipAnchor=e,e&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(e),this.tooltipBehavior.syncListeners(void 0,e,!0))},this.setTooltipRef=e=>{this.tooltipBehavior.setTooltipElementRef(e)}}get shared(){return this}initFormAssociation(e,t){this.formAssociation=new sm(V.stateLess,{host:this.host,type:e,name:t})}syncFormField(){this.smartButton.syncListeners(),this.infoPopover.syncListeners(),this.syncAriaDetails()}destroyFormField(){this.tooltipBehavior.destroy(),this.smartButton.destroy(),this.infoPopover.destroy()}connectedCallback(){this.syncFormField(),this.tooltipAnchor&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(this.tooltipAnchor),this.tooltipBehavior.syncListeners(void 0,this.tooltipAnchor,!0))}getInfoPopover(){let e=this.shared.getRenderProp(`infoPopover`);if(!e)return;let{_content:t}=e,n=yl(e,[`_content`]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:`ghost`},n),{_hideLabel:!0,_inline:!0})),content:t}}getSmartButtonFcProps(e,t){if(typeof e==`object`&&e)return this.smartButton.getFcProps(Object.assign({_hideLabel:!0,_disabled:t},e),{class:`kol-input-container__smart-button`})}applyAriaDetails(e){Jm.apply(e,(e=>this.shared.setRenderProp(`ariaDetails`,e))),this.syncAriaDetails()}syncAriaDetails(){var e;let t=(this.host?.shadowRoot)?.querySelector(`input, select, textarea`);if(!t||!(`ariaDetailsElements`in t))return;let n=Gm(this.host,this.shared.getRenderProp(`ariaDetails`)),r=this.pushedDetailsElements;(t!==this.ariaDetailsTarget||(r?.length??0)!==n.length||(e=r?.some(((e,t)=>e!==n[t])))!=null&&e)&&(this.ariaDetailsTarget=t,this.pushedDetailsElements=n,t.ariaDetailsElements=n.length?n:null)}applyDisabled(e){Sl.apply(e,(e=>this.shared.setRenderProp(`disabled`,e)))}applyHideLabel(e){Uu.apply(e,(e=>this.shared.setRenderProp(`hideLabel`,e)))}applyHideMsg(e){Ym.apply(e,(e=>this.shared.setRenderProp(`hideMsg`,e)))}applyHint(e){Xm.apply(e,(e=>this.shared.setRenderProp(`hint`,e)))}applyInfoPopover(e){Zm.apply(e,(e=>this.shared.setRenderProp(`infoPopover`,e)))}applyLabel(e){nd.apply(e,(e=>this.shared.setRenderProp(`label`,e)),this.isRequired(`label`))}applyMsg(e){$m.apply(e,(e=>this.shared.setRenderProp(`msg`,e)))}applyName(e){ld.apply(e,(e=>this.shared.setRenderProp(`name`,e))),this.formAssociation.watchName(e)}applyOn(e){Qm.apply(e,(e=>this.shared.setRenderProp(`on`,e)))}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTooltipAlign(e){Xu.apply(e??`top`,(e=>this.shared.setRenderProp(`tooltipAlign`,e)))}applyTouched(e){eh.apply(e,(e=>this.shared.setRenderProp(`touched`,e)))}get eventHost(){return this.formAssociation?.host??this.host}emit(e,t){this.eventHost&&F(this.eventHost,e,t)}handleFocusLeave(e){var t,n;if(this._disabled)return;let r=this.eventHost,i=(r?.shadowRoot||r)?.contains(e.relatedTarget)||r===e.relatedTarget;this.focusEventSent&&!i&&(this._touched=!0,this.emit(P.blur),(n=(t=this._on)?.onBlur)==null||n.call(t,e),this.focusEventSent=!1)}getAria(){let e=this.shared;return(({id:e,msg:t,hint:n,touched:r})=>{let i=typeof t==`string`?t:t?._description,a=!!(i&&i.length>0),o=qm(t)===`error`&&a&&!0===r,s=typeof n==`string`&&n.length>0,c=[];return a&&!0===r&&c.push(Tu(e,`msg`)),s&&c.push(Tu(e,`hint`)),{hasError:o,hasHint:s,ariaDescribedBy:c}})({id:e.getState(`id`),msg:e.getRenderProp(`msg`),hint:e.getRenderProp(`hint`),touched:e.getRenderProp(`touched`)})}showAsAlert(){return!!this.shared.getRenderProp(`touched`)&&!this.shared.getState(`inputHasFocus`)}isTooltipShown(){let e=this.shared;return oh({hideLabel:e.getRenderProp(`hideLabel`),label:Hc(e.getRenderProp(`label`))})}getLabelTooltipRefs(){return{refInput:this.setInputRef,refTooltip:this.setTooltipRef}}getFormFieldProps({class:e,accessKey:t,shortKey:n,variant:r,counter:i,maxLength:a,readOnly:o,renderNoLabel:s,renderNoTooltip:c,required:l}){let u=this.shared,d=u.getState(`id`),f=u.getRenderProp(`label`),p=u.getRenderProp(`tooltipAlign`);return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(p),this.tooltipBehavior.watchBadgeText(Kl(t,n)||``),this.tooltipBehavior.watchId(Tu(d,`label`)),this.tooltipBehavior.watchLabel(f)):this.tooltipBehavior.destroy(),{id:d,disabled:u.getRenderProp(`disabled`),msg:u.getRenderProp(`msg`),hint:u.getRenderProp(`hint`),label:f,hideLabel:u.getRenderProp(`hideLabel`),hideMsg:u.getRenderProp(`hideMsg`),touched:u.getRenderProp(`touched`),showBadge:!!t||!!n,required:l,readOnly:o,accessKey:t,shortKey:n,maxLength:a,counter:i,variant:r,class:e,tooltipAlign:p,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:s,renderNoTooltip:c,refInput:c?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}},dh=z(`hasClearButton`,!0,Dc),fh=sl(`kol-custom-suggestions-options-group`),ph=sl(`kol-custom-suggestions-option`),mh=({"aria-labelledby":e,blockSuggestionMouseOver:t,onKeyDown:n,style:r,hidden:i,id:a},o)=>k(`ul`,{"aria-labelledby":e,id:a,role:`listbox`,style:r,class:fh({"cursor-hidden":t,open:!i}),hidden:i,onKeyDown:n},o),hh=({disabled:e,id:t,index:n,ref:r,selected:i,onClick:a,onMouseOver:o,onFocus:s,onKeyDown:c,option:l,searchTerm:u})=>k(`li`,{id:t,key:`-${n}`,ref:r,"data-index":n,tabIndex:-1,role:`option`,"aria-selected":i?`true`:void 0,"aria-disabled":e?`true`:void 0,onClick:a,onMouseOver:o,onFocus:s,class:ph({disabled:!!e}),onKeyDown:c},k(`span`,null,((e,t)=>{if(!t?.trim())return e;let n=RegExp(`(${t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)})`,`gi`);return e.split(n).map(((e,t)=>t%2==1?k(`mark`,null,e):e))})(String(l),u||``))),gh=class extends uh{constructor(){super(...arguments),this.focusedIndex=-1,this.clearButtonFocused=!1,this.optionRefs=[],this.handleClearButtonFocus=()=>{this.clearButtonFocused=!0},this.handleClearButtonBlur=()=>{this.clearButtonFocused=!1}}getOptionId(e){return Tu(this.id,`option-${e}`)}getActiveDescendant(){return this.isOpen&&this.focusedIndex>=0?this.getOptionId(this.focusedIndex):void 0}focusOption(e){var t;this.focusedIndex=e,(t=this.optionRefs[e])==null||t.focus()}moveFocusWrapping(e){let t=this.focusedIndex+e,n=this.getOptionCount();t>=n&&(t=0),t<0&&(t=n-1),this.focusOption(t)}moveFocusSkippingDisabled(e,t,n){let r=this.getOptionCount(),i=this.focusedIndex+e;for(let e=0;e<r;e++){if(i>=r&&(i=0),i<0&&(i=r-1),!n(i))return void this.focusOption(i);i+=t}}handleListboxEvent(e,t,n){var r;e.preventDefault(),t!==void 0&&(this.isOpen=t,t||(r=this.ctaRef.el)==null||r.focus()),n?.()}handleListboxKeyDown(e){var t,n;switch(e.key){case`Down`:case`ArrowDown`:this.blockSuggestionMouseOver=!0,this.handleListboxEvent(e,!0,(()=>this.moveFocus(1)));break;case`Up`:case`ArrowUp`:{this.blockSuggestionMouseOver=!0;let t=this.isOpen;this.handleListboxEvent(e,!0,(()=>t?this.moveFocus(-1,-1):this.focusLastOption()));break}case`Tab`:this.isOpen&&(this.isOpen=!1,(t=this.ctaRef.el)==null||t.focus());break;case`Esc`:case`Escape`:this.isOpen&&(e.preventDefault(),this.isOpen=!1,(n=this.ctaRef.el)==null||n.focus());break;case` `:case`Enter`:case`NumpadEnter`:this.handleConfirmKey(e);break;case`Home`:this.isOpen&&(this.blockSuggestionMouseOver=!0,this.handleListboxEvent(e,void 0,(()=>this.focusFirstOption())));break;case`End`:this.isOpen&&(this.blockSuggestionMouseOver=!0,this.handleListboxEvent(e,void 0,(()=>this.focusLastOption())));break;case`PageUp`:this.blockSuggestionMouseOver=!0,this.handleListboxEvent(e,void 0,(()=>this.isOpen&&this.moveFocus(-10)));break;case`PageDown`:this.blockSuggestionMouseOver=!0,this.handleListboxEvent(e,void 0,(()=>this.isOpen&&this.moveFocus(10,-1)))}}handleListboxMouseMove(){this.blockSuggestionMouseOver=!1}},_h={"kol-combobox":N.forBlock(`kol-combobox`)(`group`),"kol-single-select":N.forBlock(`kol-single-select`)(`group`)},vh=({block:e},t)=>k(`div`,{class:_h[e]},t),yh=(e,t,n)=>{La(n)?e[t]=n:Ra(n,1)&&(e[t]={icon:n})},bh=e=>{let t={};return Ra(e,1)?t={left:{icon:e}}:typeof e==`object`&&e&&(yh(t,`top`,e.top),yh(t,`right`,e.right),yh(t,`bottom`,e.bottom),yh(t,`left`,e.left)),t},xh=z(`icons`,{},(function(e){let t=e;if(typeof e==`string`)try{t=Ea(e)}catch{}if(Ra(t,1))return bh(t);if(typeof t==`object`&&t){let e=t;if(Object.keys(e).length===0||[`left`,`right`,`top`,`bottom`].some((t=>(e=>Ra(e,0)||(e=>typeof e==`object`&&!!e&&(e.style===void 0||za(e.style))&&(e.label===void 0||Ra(e.label))&&Ra(e.icon,1))(e))(e[t]))))return bh(t)}throw Error(`Invalid icons: `+typeof e)})),Sh=e=>e?k(Ul,typeof e==`string`?{class:`kol-input-container__icon`,icons:e,label:``}:{class:`kol-input-container__icon`,icons:e.icon,label:e.label??``,style:e.style}):null,Ch=({icons:e,smartButton:t,startAdornment:n,endAdornment:r})=>({startAdornment:[n??null,Sh(e?.left)].filter(Boolean),endAdornment:[t?k(hd,Object.assign({},t)):null,Sh(e?.right),r??null].filter(Boolean)}),wh=N.forBlock(`kol-input-container`),Th=(e,t)=>{var{position:n=`start`,class:r}=e,i=yl(e,[`position`,`class`]);return k(`div`,Object.assign({class:B(wh(`adornment`,{[n]:!0}),r)},i),t)};function Eh(e){return!!e&&(Array.isArray(e)?e.length>0:!!e)}var Dh=(e,t)=>{let{class:n,startAdornment:r,endAdornment:i,disabled:a,msg:o,touched:s}=e,c=yl(e,[`class`,`startAdornment`,`endAdornment`,`disabled`,`msg`,`touched`]),l=Eh(r)||Eh(i);return k(cl,Object.assign({block:`kol-input-container`,modifiers:Object.assign({disabled:!!a},Km(o,s)?{[qm(o)]:!0}:{}),class:n},c),l&&k(Th,{position:`start`},r),k(`div`,{class:wh(`container`)},t),l&&k(Th,{position:`end`},i))},Oh=z(`placeholder`,void 0,R),kh=z(`required`,!1,Dc),Ah=z(`suggestions`,[],(function(e){let t=typeof e==`string`?Ea(e):e;if(Array.isArray(t))return t;throw Error(`Invalid suggestions: `+typeof e)}),(e=>e.every((e=>typeof e==`string`||typeof e==`number`))),{hints:(e,t)=>{t.length>0&&Ki(`Property suggestions: Options have accessibility issues in how browsers implemented them and should not be used for now.`)}}),jh=z(`value`,void 0,R),Mh=e=>{let{class:t,msg:n,required:r,disabled:i,touched:a,readonly:o,ariaDescribedBy:s,hideLabel:c,label:l,suggestions:u,value:d}=e,f=yl(e,[`class`,`msg`,`required`,`disabled`,`touched`,`readonly`,`ariaDescribedBy`,`hideLabel`,`label`,`suggestions`,`value`]),p=Object.assign(Object.assign({class:B(sl(`kol-input`)(Object.assign({disabled:!!i,required:!!r,touched:!!a,readonly:!!o},Km(n,a)?{[qm(n)]:!0}:{})),t),required:r,disabled:i,readonly:o,type:`text`,list:u&&typeof f.id==`string`?Tu(f.id,`list`):void 0},lh({ariaDescribedBy:s,hideLabel:c,label:l})),f);return k(jr,null,k(`input`,Object.assign({},p,{value:d})),u)},Nh={required:[...th.required,Ah],optional:[...th.optional,Lu,dh,xh,Oh,kh,qu,jh,Zu]},Ph=N.forBlock(`kol-combobox`)(`delete`),Fh=N.forBlock(`kol-combobox-toggle`)(),Ih=({disabled:e,expanded:t,handleClick:n,label:r,listboxId:i})=>k(`button`,{type:`button`,tabIndex:-1,class:Fh,"aria-controls":i,"aria-expanded":t?`true`:`false`,"aria-label":r,onClick:n,disabled:e,hidden:e},k(Ul,{icons:`kolicon-chevron-down`,label:``})),Lh=j(class extends gh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=wu(`combobox`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.isOpen=!1,this.blockSuggestionMouseOver=!1,this.ctaRef=Rl(),this.clearButton=Im((()=>this.host)),this.translateDeleteSelection=G(`kol-delete-selection`),this.translateShowSuggestions=G(`kol-show-suggestions`),this.hasValue=!1,this.propsConfig=Nh,this._accessKey=void 0,this._ariaDetails=void 0,this._placeholder=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._hasClearButton=!0,this._required=!1,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this.toggleListbox=()=>{var e;if(!0===this.getRenderProp(`disabled`))this.isOpen=!1;else if((e=this.ctaRef.el)==null||e.focus(),this.isOpen)this.isOpen=!1;else if(Array.isArray(this.filteredSuggestions)&&this.filteredSuggestions.length>0){this.isOpen=!0;let e=this.filteredSuggestions.findIndex((e=>e===this.getRenderProp(`value`)));this.focusedIndex=e>=0?e:-1,this.focusOption(this.focusedIndex)}},this.handleComboboxInput=e=>{let t=e.target.value;this.setRenderProp(`value`,t),this._value=t,this.handleInput(e,t),this.setFilteredSuggestionsByQuery(t),this.focusedIndex=-1,e.stopImmediatePropagation()},this.handleComboboxChange=e=>{e.stopPropagation();let t=this.getRenderProp(`value`);this.handleChange(e,t),this.hasValue=!!t,this.formAssociation.setFormAssociatedValue(t)},this.handleInputBlur=e=>{this.handleFocusLeave(e)},this.stopClearButtonFocusEvent=e=>{e.stopPropagation()},this.handleDropdownKeyDown=e=>{e.key.length===1&&/[a-z0-9]/i.test(e.key)&&(this.isOpen=!0,this.focusSuggestionStartingWith(e.key))},this.initFormAssociation(`combobox`,this._name)}watchAccessKey(e){Lu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Hp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchPlaceholder(e){Oh.apply(e,(e=>this.setRenderProp(`placeholder`,e)))}watchDisabled(e){this.applyDisabled(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){xh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchHasClearButton(e){dh.apply(e,(e=>this.setRenderProp(`hasClearButton`,e)))}watchSuggestions(e){this.applySuggestions(e),this.setFilteredSuggestionsByQuery(this._value??``)}watchRequired(e){kh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchShortKey(e){qu.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Hp(this._accessKey,e)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){this.applyValue(e),this.formAssociation.setFormAssociatedValue(e)}watchVariant(e){Zu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.getRenderProp(`value`))}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.setRenderProp(`value`,``),this.optionRefs=[],this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchHasClearButton(this._hasClearButton),this.watchPlaceholder(this._placeholder),this.watchRequired(this._required),this.applySuggestions(this._suggestions),this.applyValue(this._value),this.hasValue=!!this.getRenderProp(`value`),this.filteredSuggestions=this.getRenderProp(`suggestions`)}componentDidRender(){this.syncFormField(),this.clearButton.syncListeners()}disconnectedCallback(){this.clearButton.destroy(),this.destroyFormField()}handleHostKeyDown(e){this.handleListboxKeyDown(e)}handleMouseEvent(){this.handleListboxMouseMove()}handleFocusIn(e){Ml(this.host)&&!this.inputHasFocus&&this.handleFocus(e)}handleFocusOut(e){let t=e.relatedTarget,n=t&&(t===this.host||this.host?.contains(t));this.inputHasFocus&&!n&&(this.handleBlur(e),this.isOpen&&=!1)}getOptionCount(){return Array.isArray(this.filteredSuggestions)?this.filteredSuggestions.length:0}moveFocus(e){this.filteredSuggestions&&this.moveFocusWrapping(e)}focusFirstOption(){this.focusOption(0)}focusLastOption(){this.focusOption(this.filteredSuggestions?this.filteredSuggestions.length-1:0)}handleConfirmKey(e){let t=this.clearButton.getRootElement();t&&e.composedPath().includes(t)||(e.key===` `?this.isOpen&&this.selectFocusedOption()&&(this.isOpen=!1,e.preventDefault()):(this.isOpen&&this.selectFocusedOption()?this.isOpen=!1:this.toggleListbox(),e.preventDefault()))}selectFocusedOption(){return!!(this.filteredSuggestions&&this.focusedIndex>=0&&this.focusedIndex<this.filteredSuggestions.length)&&(this.selectOption(this.filteredSuggestions[this.focusedIndex]),!0)}focusSuggestionStartingWith(e){let t=e.toLowerCase(),n=Array.isArray(this.filteredSuggestions)&&this.filteredSuggestions.length>0&&this.filteredSuggestions.findIndex((e=>e.toLowerCase().startsWith(t)));typeof n==`number`&&this.focusOption(n)}setFilteredSuggestionsByQuery(e){if(e===void 0)return;let t=this.getRenderProp(`suggestions`);e.trim()===``?this.filteredSuggestions=[...t]:(this.filteredSuggestions=Array.isArray(t)?t.filter((t=>t.toLowerCase().includes(e.trim().toLowerCase()))):this.filteredSuggestions,this.isOpen=(this.filteredSuggestions?.length!==1||this.filteredSuggestions[0]!==e)&&!!(this.filteredSuggestions&&this.filteredSuggestions.length>0))}selectOption(e){var t;let n=this.getRenderProp(`name`);this._value=e,this.handleInput(uo(P.input,{name:n,value:e},this.ctaRef.el),e),this.handleChange(uo(P.change,{name:n,value:e},this.ctaRef.el),e),this.hasValue=!!e,this.formAssociation.setFormAssociatedValue(e),this.filteredSuggestions=[...this.getRenderProp(`suggestions`)],this.setRenderProp(`value`,e),(t=this.ctaRef.el)==null||t.focus()}clearSelection(){var e;if(!0===this.getRenderProp(`disabled`))return;(e=this.ctaRef.el)==null||e.focus(),this.focusedIndex=-1,this._value=``,this.setRenderProp(`value`,``),this.filteredSuggestions=[...this.getRenderProp(`suggestions`)],this.isOpen=!1;let t={name:this.getRenderProp(`name`),value:``};this.handleInput(uo(P.input,t,this.ctaRef.el),``),this.handleChange(uo(P.change,t,this.ctaRef.el),``),this.hasValue=!1,this.formAssociation.setFormAssociatedValue(``)}getInputProps(){let{ariaDescribedBy:e,hasError:t}=this.getAria(),n=this.id,r=!0===this.getRenderProp(`disabled`),i=this.getRenderProp(`accessKey`)||void 0,a=this.getRenderProp(`placeholder`),o=this.getRenderProp(`shortKey`)||void 0,s=this.getRenderProp(`hideLabel`),c=this.getRenderProp(`label`);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:n,hideLabel:s,label:c,disabled:r,name:this.getRenderProp(`name`)||void 0},i?{accessKey:i}:{}),{value:this.getRenderProp(`value`),required:this.getRenderProp(`required`)}),a?{placeholder:a}:{}),{touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)}),o?{"aria-keyshortcuts":o}:{}),{ref:this.ctaRef,class:`kol-combobox__input`,type:`text`,role:`combobox`,"aria-activedescendant":this.getActiveDescendant(),"aria-autocomplete":`list`,"aria-controls":Tu(n,`listbox`),"aria-describedby":e.length>0?e.join(` `):void 0,"aria-expanded":this.isOpen?`true`:`false`,"aria-label":s&&typeof c==`string`?c:void 0,"aria-labelledby":Tu(n,`label`),autocapitalize:`off`,autocorrect:`off`,autocomplete:`off`,onBlur:this.handleInputBlur,onChange:this.handleComboboxChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleComboboxInput,onKeyDown:this.handleKeyDown,ariaDescribedBy:e,"aria-invalid":t?`true`:void 0})}renderOptions(){let e=this.getRenderProp(`value`);return Array.isArray(this.filteredSuggestions)&&this.filteredSuggestions.length>0&&this.filteredSuggestions.map(((t,n)=>k(hh,{id:this.getOptionId(n),disabled:!1,index:n,option:t,searchTerm:e,ref:e=>{e&&(this.optionRefs[n]=e)},selected:e===t,onClick:()=>{this.selectOption(t),this.toggleListbox(),this.isOpen=!1},onMouseOver:()=>{this.blockSuggestionMouseOver||this.focusOption(n)},onFocus:()=>{this.focusOption(n)}})))}applySuggestions(e){Ah.apply(e,(e=>this.setRenderProp(`suggestions`,e)))}applyValue(e){e!=null&&jh.apply(e,(e=>this.setRenderProp(`value`,e)))}render(){let e=!0===this.getRenderProp(`disabled`),{startAdornment:t,endAdornment:n}=Ch({icons:this.getRenderProp(`icons`)});return k(A,{key:`f7b1bb3488be9bfd771fceb938e0f1fe03879e53`},k(ch,Object.assign({key:`630149dbf58f1ea6b0f7aab345c61b3374142d31`},this.getFormFieldProps({class:B(`kol-combobox`,{"has-value":this.hasValue,"kol-combobox--open":this.isOpen}),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,required:this.getRenderProp(`required`),variant:this.getRenderProp(`variant`)})),k(Dh,{key:`243d8e534ea8501fa90d54aaf354eee3e8eb338b`,disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n},k(vh,{key:`705ea4cdaaec20d9204ade84ab194f73a7ddb338`,block:`kol-combobox`},k(Mh,Object.assign({key:`4e8725ed00170ea0d22681cef1f8ef825018f96f`},this.getInputProps())),this.getRenderProp(`value`)&&this.getRenderProp(`hasClearButton`)&&k(hd,Object.assign({key:`2008b58b11f2127f8ffd657dfba72ae7e2b8b224`},this.clearButton.getFcProps({_icons:`kolicon-cross`,_label:this.translateDeleteSelection,_hideLabel:!0,_variant:`ghost`,_disabled:e,_on:{onClick:()=>{this.clearSelection()}}},{class:Ph,hidden:e,onBlur:this.stopClearButtonFocusEvent,onFocus:this.stopClearButtonFocusEvent}))),k(Ih,{key:`bf4b8c4c2ea5d44a6cf5992b1282777970cb13a1`,disabled:e,expanded:this.isOpen,handleClick:this.toggleListbox,label:this.translateShowSuggestions,listboxId:Tu(this.id,`listbox`)})),k(mh,{key:`6f2925fb38ab878d8857bf4c6dfeb95939deb3b8`,blockSuggestionMouseOver:this.blockSuggestionMouseOver,onKeyDown:this.handleDropdownKeyDown,hidden:!this.isOpen||e,id:Tu(this.id,`listbox`),"aria-labelledby":Tu(this.id,`label`)},this.renderOptions()))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_placeholder:[{watchPlaceholder:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_hasClearButton:[{watchHasClearButton:0}],_suggestions:[{watchSuggestions:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-custom-suggestions-option { line-height: 1.5; white-space: normal; overflow-wrap: break-word; } .kol-custom-suggestions-option:not(.kol-custom-suggestions-option--disabled) { cursor: pointer; } .kol-custom-suggestions-options-group--cursor-hidden .kol-custom-suggestions-option { cursor: none !important; } .kol-custom-suggestions-option--disabled, .kol-custom-suggestions-option--disabled * { cursor: not-allowed; } .kol-custom-suggestions-options-group { background-color: white; display: block; position: absolute; z-index: 2; max-height: calc(250 * 1rem / var(--kolibri-root-font-size, 16)); margin: 0; padding: 0; overflow-x: hidden; overflow-y: auto; list-style-type: none; } .kol-input-container:has(.kol-custom-suggestions-options-group--open) { z-index: 10; } .kol-custom-suggestions-toggle { display: flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; cursor: default; } .kol-custom-suggestions-toggle.kol-custom-suggestions-toggle--disabled { cursor: not-allowed; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-combobox { } .kol-combobox__group .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-combobox__group :host { display: inline-block; } .kol-combobox__group .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-combobox__group .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-combobox__group .kol-button__interactive-element::before { content: "​"; } .kol-combobox__group .kol-button__text { flex: 1 0 100%; } .kol-combobox__group .kol-button { } .kol-combobox__group .kol-button__tooltip { height: 0; } .kol-combobox__group .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-combobox__group .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-combobox-toggle { min-height: 0; flex: 0; align-self: stretch; } .kol-combobox--open .kol-combobox-toggle { transform: rotate(180deg); } }`}}},[545,`kol-combobox`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_placeholder:[1],_disabled:[4],_hideMsg:[4,`_hide-msg`],_hideLabel:[4,`_hide-label`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_name:[1],_on:[16],_hasClearButton:[4,`_has-clear-button`],_suggestions:[1],_required:[4],_shortKey:[1,`_short-key`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1537],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],isOpen:[32],blockSuggestionMouseOver:[32],filteredSuggestions:[32],getValue:[64],focus:[64],click:[64]},[[0,`keydown`,`handleHostKeyDown`],[1,`mousemove`,`handleMouseEvent`],[0,`focusin`,`handleFocusIn`],[0,`focusout`,`handleFocusOut`]],{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_placeholder:[{watchPlaceholder:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_hasClearButton:[{watchHasClearButton:0}],_suggestions:[{watchSuggestions:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);H([U(`ctaRef`)],Lh.prototype,`focus`,null),H([W(`ctaRef`)],Lh.prototype,`click`,null);var Rh=Lh,zh=function(){typeof customElements<`u`&&[`kol-combobox`].forEach((e=>{e===`kol-combobox`&&(customElements.get(M(e))||customElements.define(M(e),Lh))}))},Bh=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.detailsId=wu(`details`),this.controlId=Tu(this.detailsId,`control`),this.detailsOpen=!1,this.expanded=!1,this.headingId=Tu(this.detailsId,`heading`),this.transitionMs=300,this.ctaRef=Rl((()=>!0===this.getRenderProp(`disabled`))),this.hasLoaded=!1,this.openAnimation=_u({getTransitionMs:()=>this.transitionMs,setDetailsOpen:e=>this.detailsOpen=e,setExpanded:e=>this.expanded=e}),this.handleToggle=vu({getHost:()=>this.host,getOn:()=>this.getRenderProp(`on`),isDisabled:()=>!0===this.getRenderProp(`disabled`),isOpen:()=>!0===this.getRenderProp(`open`),setOpen:e=>this._open=e}),this.propsConfig=hu,this._disabled=!1,this._level=0,this._on=void 0,this._open=!1}watchDisabled(e){Sl.apply(e,(e=>this.setRenderProp(`disabled`,e)))}watchLabel(e){pl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchLevel(e){xl.apply(e,(e=>this.setRenderProp(`level`,e)))}watchOn(e){mu.apply(e,(e=>this.setRenderProp(`on`,e)))}watchOpen(e){Cl.apply(e,(e=>{this.setRenderProp(`open`,e),this.openAnimation.syncOpen(e,this.hasLoaded)}))}focus(e){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){this.transitionMs=ni(`collapsibleTransitionMs`,this.host)??300,this.watchDisabled(this._disabled),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchOpen(this._open)}componentDidLoad(){this.hasLoaded=!0}disconnectedCallback(){this.openAnimation.dispose()}render(){return k(A,{key:`d4ad8ef1329611f7c473be0b91b6c41afdc9a947`},k(gu,{key:`98718b8597358e497fddbbaec9a09093de6469ac`,block:`kol-details`,contentClass:`indented-text`,controlId:this.controlId,detailsOpen:this.detailsOpen,disabled:this.getRenderProp(`disabled`),expanded:this.expanded,handleToggle:this.handleToggle,headingId:this.headingId,icons:`kolicon-chevron-right`,label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),on:this.getRenderProp(`on`),open:this.getRenderProp(`open`),refHeadingButton:this.ctaRef,transitionMs:this.transitionMs},k(`slot`,{key:`df6a0d87f37e42df86a14d4b0061324f3b2e0ea7`})))}get host(){return this}static get watchers(){return{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { :host { display: inline-block; } .kol-details { } .kol-details__heading { display: flex; min-height: var(--a11y-min-size); } .kol-details__heading:not([aria-disabled=true]) { cursor: pointer; } .kol-details__heading { } .kol-details__heading::before { content: "​"; } .kol-details__heading { } .kol-details__heading > .kol-headline { display: flex; flex: 1; margin: 0; text-align: left; font-weight: 400; } .kol-details__heading > .kol-headline > .kol-span { flex: 1 0 100%; align-items: flex-start; } @media (prefers-reduced-motion) { .kol-details__wrapper-animation, .kol-details__wrapper { transition: none !important; } } .kol-details { } @media print { .kol-details:not(.kol-details--open) .kol-details__wrapper-animation { display: none; } } .kol-details__wrapper { transform: translateZ(0); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 0fr; transition: grid-template-rows var(--collapsible-transition-duration, 0.3s); } .kol-details__wrapper-animation { opacity: 0; transform: scaleY(0); transform-origin: top; min-height: 0; visibility: hidden; transition: transform var(--collapsible-transition-duration, 0.3s), opacity var(--collapsible-transition-duration, 0.3s), visibility var(--collapsible-transition-duration, 0.3s); } .kol-details--open .kol-details__wrapper { grid-template-rows: 1fr; } .kol-details--open .kol-details__wrapper-animation { opacity: 1; transform: scaleY(1); visibility: visible; } .kol-details--open:focus-within { position: relative; z-index: 100; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-details--open .kol-details__heading .kol-icon { transform: rotate(90deg); } }`}}},[801,`kol-details`,{_disabled:[4],_label:[1],_level:[2],_on:[16],_open:[1540],controlId:[32],detailsOpen:[32],expanded:[32],headingId:[32],transitionMs:[32],focus:[64],click:[64]},void 0,{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}]);H([U(`ctaRef`)],Bh.prototype,`focus`,null),H([W(`ctaRef`)],Bh.prototype,`click`,null);var Vh=Bh,Hh=function(){typeof customElements<`u`&&[`kol-details`].forEach((e=>{e===`kol-details`&&(customElements.get(M(e))||customElements.define(M(e),Bh))}))},Uh=z(`on`,{},(function(e){if(typeof e!=`object`||!e)throw Error(`Invalid on callbacks: expected object, got `+typeof e);let{onCancel:t,onClose:n,onToggle:r}=e,i={};return typeof t==`function`&&(i.onCancel=t),typeof n==`function`&&(i.onClose=n),typeof r==`function`&&(i.onToggle=r),i})),Wh=z(`width`,`100%`,R),Gh=N.forBlock(`kol-dialog`),Kh=N.forBlock(`kol-modal`),qh=(e,t)=>{let{class:n,elementClass:r,handleCancel:i,handleClose:a,label:o,labelledBy:s,modal:c,refDialog:l,variant:u,width:d}=e;return u===void 0?k(`dialog`,{"aria-label":s?void 0:o,"aria-labelledby":s,"aria-modal":c?`true`:`false`,class:B(r,n),onCancel:i,onClose:a,ref:l,style:d?{width:d}:void 0},t):k(cl,{component:`dialog`,"aria-label":s?void 0:o,"aria-labelledby":s,"aria-modal":c?`true`:`false`,block:`kol-dialog`,class:B(Kh(),Gh(u),Kh(u),n),onCancel:i,onClose:a,ref:l,style:d?{width:d}:void 0},t)},Jh=new Set,Yh=null,Xh=null;function Zh(e){if(typeof document<`u`&&typeof window<`u`&&!Jh.has(e)){if(Jh.size===0){let e=document.documentElement;Yh=e.style.getPropertyValue(`overflow`),Xh=e.style.getPropertyValue(`padding-right`);let t=window.innerWidth-e.clientWidth;if(t>0){let n=Number.parseFloat(window.getComputedStyle(e).paddingRight)||0;e.style.setProperty(`padding-right`,`${n+t}px`)}e.style.setProperty(`overflow`,`hidden`)}Jh.add(e)}}function Qh(e){if(typeof document<`u`&&typeof window<`u`&&Jh.delete(e)&&Jh.size===0){let e=document.documentElement;Yh?e.style.setProperty(`overflow`,Yh):e.style.removeProperty(`overflow`),Xh?e.style.setProperty(`padding-right`,Xh):e.style.removeProperty(`padding-right`),Yh=null,Xh=null}}var $h={required:[pl],optional:[Uh,xl,nl,Wh]},eg=class extends V{constructor(){super(...arguments),this.dialogRef=Rl(),this.cardCloseButtonRef=Rl(),this.cardCloseTooltipBehavior=new Kf(this.stateAccess),this.propsConfig=$h,this.handleCancel=e=>{var t,n;ho(e),e.defaultPrevented||((n=(t=this.getRenderProp(`on`)).onCancel)==null||n.call(t,e),e.defaultPrevented||this.host&&!F(this.host,P.cancel)&&e.preventDefault())},this.handleClose=e=>{var t,n,r,i;e.target===this.dialogRef.el&&(Qh(this),(n=(t=this.getRenderProp(`on`)).onClose)==null||n.call(t),(i=(r=this.getRenderProp(`on`)).onToggle)==null||i.call(r,!1),this.host&&(F(this.host,P.close),F(this.host,P.toggle)))},this.handleCardClose=()=>{this.cardCloseTooltipBehavior.hideTooltip(),this.closeDialog(),this.host&&F(this.host,P.close)}}initCardCloseButton(){this.cardCloseButtonProps=Sm(this.host),this.cardCloseTooltipBehavior.componentWillLoad({label:this.cardCloseButtonProps.label,align:this.cardCloseButtonProps.tooltipAlign})}syncCardCloseTooltipListeners(){this.cardCloseButtonRef.el&&this.cardCloseTooltipBehavior.syncListeners(void 0,this.cardCloseButtonRef.el,!0)}teardownDialog(){this.closeDialog(),Qh(this),this.cardCloseTooltipBehavior.destroy()}applyLabel(e){pl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}applyLevel(e){xl.apply(e,(e=>this.setRenderProp(`level`,e)))}applyOn(e){Uh.apply(e,(e=>this.setRenderProp(`on`,e)))}applyVariant(e){nl.apply(e,(e=>this.setRenderProp(`variant`,e)))}applyWidth(e){Wh.apply(e,(e=>this.setRenderProp(`width`,e)))}showDialog(e){var t,n,r,i;let a=this.dialogRef.el;a!=null&&a.open||(this.setState(`modal`,e),e?((t=a?.showModal)==null||t.call(a),a&&Zh(this)):(n=a?.show)==null||n.call(a),(i=(r=this.getRenderProp(`on`)).onToggle)==null||i.call(r,!0),this.host&&F(this.host,P.toggle))}closeDialog(){var e,t;(t=(e=this.dialogRef.el)?.close)==null||t.call(e)}buildCardProps(){return{ariaDescriptionId:this.getState(`ariaDescriptionId`),closeButtonProps:this.cardCloseButtonProps,handleClose:this.handleCardClose,hasCloser:!0,headingId:this.getState(`headingId`),label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),refCloseButton:this.cardCloseButtonRef,refTooltip:this.cardCloseTooltipBehavior.setTooltipElementRef}}renderDialogFC(){let e=this.getRenderProp(`variant`),t=e===`card`;return k(qh,{handleCancel:this.handleCancel,handleClose:this.handleClose,label:Hc(this.getRenderProp(`label`)),labelledBy:t?this.getState(`headingId`):void 0,modal:this.getState(`modal`),refDialog:this.dialogRef,variant:e,width:this.getRenderProp(`width`)},t?k(jm,Object.assign({},this.buildCardProps()),this.renderSlot()):this.renderSlot())}},tg=j(class extends eg{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=Cu(),this.headingId=wu(`dialog-heading`),this.modal=!0,this._level=0,this._on=void 0,this._variant=`blank`,this._width=`100%`}watchLabel(e){this.applyLabel(e)}watchLevel(e){this.applyLevel(e)}watchOn(e){this.applyOn(e)}watchVariant(e){this.applyVariant(e)}watchWidth(e){this.applyWidth(e)}async openModal(){await this.showModal()}async showModal(){await this.show(!0)}show(e=!1){return this.showDialog(e),Promise.resolve()}close(){return this.closeDialog(),Promise.resolve()}async closeModal(){return await this.close(),Promise.resolve()}componentWillLoad(){this.initCardCloseButton(),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchVariant(this._variant),this.watchWidth(this._width)}componentDidRender(){this.syncCardCloseTooltipListeners()}disconnectedCallback(){this.teardownDialog()}renderSlot(){return k(`slot`,null)}render(){return k(A,{key:`3b17865cdbc3fdc503602684e36437c5ca036496`},this.renderDialogFC())}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } }`}}},[801,`kol-dialog`,{_label:[1],_level:[2],_on:[16],_variant:[1],_width:[1],ariaDescriptionId:[32],headingId:[32],modal:[32],openModal:[64],showModal:[64],show:[64],close:[64],closeModal:[64]},void 0,{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}]),ng=tg,rg=function(){typeof customElements<`u`&&[`kol-dialog`].forEach((e=>{e===`kol-dialog`&&(customElements.get(M(e))||customElements.define(M(e),tg))}))},ig=z(`on`,{},(function(e){if(typeof e!=`object`||!e)throw Error(`Invalid on callbacks: expected object, got `+typeof e);let{onCancel:t,onClose:n,onToggle:r}=e,i={};return typeof t==`function`&&(i.onCancel=t),typeof n==`function`&&(i.onClose=n),typeof r==`function`&&(i.onToggle=r),i})),ag={required:[pl],optional:[Td,ig,ku,xl]},og=N.forBlock(`kol-drawer`),sg=og(`content`),cg=og(`dialog`),lg=(e,t)=>{let{align:n,cardProps:r,expanded:i,handleAnimationEnd:a,handleCancel:o,handleClose:s,headingId:c,label:l,modal:u,refDialog:d,refWrapper:f}=ul(ag,e);return k(cl,{block:`kol-drawer`},k(qh,{elementClass:cg,handleCancel:o,handleClose:s,label:l,labelledBy:c,modal:u,refDialog:d},k(`div`,{class:og(`wrapper`,{[n]:!0,"is-closing":!i,open:i}),onAnimationEnd:a,ref:f},k(jm,Object.assign({},r),k(`div`,{class:sg},t)))))},ug=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=Cu(),this.expanded=!1,this.headingId=wu(`drawer-heading`),this.modal=!0,this.dialogRef=Rl(),this.wrapperRef=Rl(),this.cardCloseButtonRef=Rl(),this.cardCloseTooltipBehavior=new Kf(this.stateAccess),this.propsConfig=ag,this._align=void 0,this._hasCloser=!1,this._level=0,this._on=void 0,this._open=void 0,this.handleAnimationEnd=e=>{var t,n;e.animationName.includes(`slideOut`)&&((n=(t=this.dialogRef.el)?.close)==null||n.call(t))},this.handleCancel=e=>{var t,n;ho(e),e.defaultPrevented||((n=(t=this.getRenderProp(`on`)).onCancel)==null||n.call(t,e),e.defaultPrevented||this.host&&!F(this.host,P.cancel)&&e.preventDefault())},this.handleClose=e=>{var t,n;if(e.target!==this.dialogRef.el)return;Qh(this),this.closeDrawer();let r=this.getRenderProp(`on`);(t=r.onClose)==null||t.call(r),(n=r.onToggle)==null||n.call(r,!1),this.host&&(F(this.host,P.close),F(this.host,P.toggle))},this.handleCardClose=()=>{this.cardCloseTooltipBehavior.hideTooltip(),this.closeDrawer()}}watchAlign(e){Td.apply(e,(e=>this.setRenderProp(`align`,e)))}watchHasCloser(e){ku.apply(e,(e=>this.setRenderProp(`hasCloser`,e)))}watchLabel(e){pl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchLevel(e){xl.apply(e,(e=>this.setRenderProp(`level`,e)))}watchOn(e){ig.apply(e,(e=>this.setRenderProp(`on`,e)))}watchOpen(e){Cl.apply(e,(e=>{this.setState(`expanded`,e),this.dialogRef.el&&this.openOrCloseBasedOnState()}))}show(e=!1){return this.showDrawer(e),Promise.resolve()}async showModal(){await this.show(!0)}async open(){await this.show(!1)}close(){return this.closeDrawer(),Promise.resolve()}componentWillLoad(){this.cardCloseButtonProps=Sm(this.host),this.cardCloseTooltipBehavior.componentWillLoad({label:this.cardCloseButtonProps.label,align:`left`}),this.watchAlign(this._align),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchOpen(this._open)}componentDidLoad(){this.openOrCloseBasedOnState()}componentDidRender(){this.cardCloseButtonRef.el&&this.cardCloseTooltipBehavior.syncListeners(void 0,this.cardCloseButtonRef.el,!0)}disconnectedCallback(){Qh(this),this.cardCloseTooltipBehavior.destroy()}showDrawer(e){var t,n,r,i;let a=this.dialogRef.el;a!=null&&a.open||(this.setState(`modal`,e),this.setState(`expanded`,!0),e?((t=a?.showModal)==null||t.call(a),a&&Zh(this)):(n=a?.show)==null||n.call(a),(i=(r=this.getRenderProp(`on`)).onToggle)==null||i.call(r,!0),this.host&&F(this.host,P.toggle))}closeDrawer(){var e,t;this.setState(`expanded`,!1);let n=this.wrapperRef.el;n&&window.getComputedStyle(n).animationName===`none`&&((t=(e=this.dialogRef.el)?.close)==null||t.call(e))}openOrCloseBasedOnState(){this.getState(`expanded`)?this.showDrawer(this.getState(`modal`)):this.closeDrawer()}buildCardProps(){return{ariaDescriptionId:this.getState(`ariaDescriptionId`),closeButtonProps:this.cardCloseButtonProps,handleClose:this.handleCardClose,hasCloser:this.getRenderProp(`hasCloser`),headingId:this.getState(`headingId`),label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),refCloseButton:this.cardCloseButtonRef,refTooltip:this.cardCloseTooltipBehavior.setTooltipElementRef}}render(){return k(A,{key:`7ff8be19e20195372888fa0b2d055cc3b6ea83e1`},k(lg,{key:`b1759cb1c3f5c5083e21bc474a15ca103a0ef3c3`,align:this.getRenderProp(`align`),ariaDescriptionId:this.getState(`ariaDescriptionId`),cardProps:this.buildCardProps(),expanded:this.getState(`expanded`),handleAnimationEnd:this.handleAnimationEnd,handleCancel:this.handleCancel,handleClose:this.handleClose,hasCloser:this.getRenderProp(`hasCloser`),headingId:this.getState(`headingId`),label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),modal:this.getState(`modal`),on:this.getRenderProp(`on`),refDialog:this.dialogRef,refWrapper:this.wrapperRef},k(`slot`,{key:`513af996f14ee849ca30ebbae24e53fb04a75a5e`})))}get host(){return this}static get watchers(){return{_align:[{watchAlign:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-drawer__dialog { padding: 0; border: none; overscroll-behavior: contain; } .kol-drawer__wrapper { position: fixed; overflow: auto; overscroll-behavior: contain; } .kol-drawer__wrapper--left, .kol-drawer__wrapper--right { top: 0; max-width: 100vw; height: 100vh; } .kol-drawer__wrapper--left .kol-drawer__content, .kol-drawer__wrapper--right .kol-drawer__content { height: 100%; } .kol-drawer__wrapper--left { left: 0; } .kol-drawer__wrapper--right { right: 0; } .kol-drawer__wrapper--bottom, .kol-drawer__wrapper--top { left: 0; width: 100vw; max-height: 100vh; } .kol-drawer__wrapper--bottom .kol-drawer__content, .kol-drawer__wrapper--top .kol-drawer__content { width: 100%; } .kol-drawer__wrapper--bottom { bottom: 0; } .kol-drawer__wrapper--top { top: 0; } .kol-drawer__content { position: relative; } .kol-drawer__dialog .kol-card__content { overflow-y: auto; overscroll-behavior: contain; } }`}}},[801,`kol-drawer`,{_align:[1],_hasCloser:[4,`_has-closer`],_label:[1],_level:[2],_on:[16],_open:[4],ariaDescriptionId:[32],expanded:[32],headingId:[32],modal:[32],show:[64],showModal:[64],open:[64],close:[64]},void 0,{_align:[{watchAlign:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}]),dg=ug,fg=function(){typeof customElements<`u`&&[`kol-drawer`].forEach((e=>{e===`kol-drawer`&&(customElements.get(M(e))||customElements.define(M(e),ug))}))};function pg(e){if(typeof e!=`object`||!e)return!1;let{message:t,selector:n}=e;return typeof t==`string`&&(typeof n==`string`||typeof n==`function`)}var mg=z(`errorList`,[],(e=>jc(e)),(e=>e.every(pg))),hg=Ic(),gg=z(`requiredText`,!0,(function(e){if(typeof e==`boolean`||typeof e==`string`)return e;throw Error(`Invalid requiredText: expected boolean or string, got `+typeof e)})),_g={optional:[mg,hg,gg]},vg=N.forBlock(`kol-form`),yg=vg(`alert`),bg=vg(`link`),xg=({alertHeadingId:e,closerAriaDescriptionId:t,errorLinkItems:n})=>k(wd,{alert:!1,class:yg,closerAriaDescriptionId:t,handleCloserClick:()=>{},hasCloser:!1,headingId:e,label:G(`kol-error-list-message`),level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:`error`,variant:`card`},k(`nav`,{"aria-label":G(`kol-error-list`)},k(`ul`,null,n.map(((e,t)=>k(`li`,{key:t},k(`span`,{class:bg},k(Vp,Object.assign({},e.fcProps))))))))),Sg=N.forBlock(`kol-form`),Cg=Sg(`form`),wg=Sg(`mandatory-fields-hint`),Tg=({alertHeadingId:e,closerAriaDescriptionId:t,errorLinkItems:n,handleReset:r,handleSubmit:i,requiredText:a})=>{let o=!0===a?G(`kol-form-description`):typeof a==`string`&&a.length>0?a:``;return k(cl,{block:`kol-form`},n.length>0&&k(xg,{alertHeadingId:e,closerAriaDescriptionId:t,errorLinkItems:n}),k(`form`,{class:Cg,method:`post`,onSubmit:i,onReset:r,noValidate:!0},o.length>0&&k(`p`,{class:wg},o),k(`slot`,null)))},Eg={behavior:`smooth`,block:`nearest`},Dg=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.errorLinkItems=[],this.alertHeadingId=wu(`alert-heading`),this.closerAriaDescriptionId=Cu(),this.propsConfig=_g,this._errorList=void 0,this._on=void 0,this._requiredText=!0,this.handleSubmit=e=>{e.preventDefault();let t=this.getRenderProp(`on`).onSubmit;typeof t==`function`&&t(e),this.host&&F(this.host,P.submit)},this.handleReset=e=>{e.preventDefault();let t=this.getRenderProp(`on`).onReset;typeof t==`function`&&t(e),this.host&&F(this.host,P.reset)},this.focusErrorTarget=(e,t)=>{let n=document.querySelector(e);n&&typeof n.focus==`function`&&n.focus(t??Eg)}}watchErrorList(e){mg.apply(e,(e=>{this.setRenderProp(`errorList`,e),this.errorLinkItems=e.map((e=>((e,t)=>{let n=ll(zp),r;return n.tabIndex=void 0,Mp.apply(``,(e=>n.href=e)),nd.apply(e.message,(e=>n.label=e)),Rp.apply({onClick:typeof e.selector==`string`?()=>t(e.selector+``,e.options):e.selector},(e=>n.on=e)),n.ariaCurrent=``,n.ariaDescriptionId=Cu(),n.expertSlot=e.message===``,n.handleAnchorClick=e=>{let t=n.on?.onClick;typeof t==`function`&&(xa(e,r),t(e,n.href))},n.refAnchor=e=>{r=e},n.refTooltip=()=>{},{fcProps:n,focus:e=>r?.focus(e)}})(e,this.focusErrorTarget)))}))}watchOn(e){hg.apply(e,(e=>this.setRenderProp(`on`,e)))}watchRequiredText(e){gg.apply(e,(e=>this.setRenderProp(`requiredText`,e)))}focusErrorList(e){return setTimeout((()=>{var t;(t=this.errorLinkItems[0])==null||t.focus(e??Eg)}),250),Promise.resolve()}componentWillLoad(){this.watchErrorList(this._errorList),this.watchOn(this._on),this.watchRequiredText(this._requiredText)}render(){return k(A,{key:`94f5bb67c8748b2aee2e7140451c7084367fe8b6`},k(Tg,{key:`54b5158764974680f8551db3174f91feb95468d4`,alertHeadingId:this.alertHeadingId,closerAriaDescriptionId:this.closerAriaDescriptionId,errorList:this.getRenderProp(`errorList`),errorLinkItems:this.errorLinkItems,handleReset:this.handleReset,handleSubmit:this.handleSubmit,on:this.getRenderProp(`on`),requiredText:this.getRenderProp(`requiredText`)}))}get host(){return this}static get watchers(){return{_errorList:[{watchErrorList:0}],_on:[{watchOn:0}],_requiredText:[{watchRequiredText:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } }`}}},[545,`kol-form`,{_errorList:[16],_on:[16],_requiredText:[8,`_required-text`],errorLinkItems:[32],focusErrorList:[64]},void 0,{_errorList:[{watchErrorList:0}],_on:[{watchOn:0}],_requiredText:[{watchRequiredText:0}]}]),Og=Dg,kg=function(){typeof customElements<`u`&&[`kol-form`].forEach((e=>{e===`kol-form`&&(customElements.get(M(e))||customElements.define(M(e),Dg))}))},Ag=z(`secondaryHeadline`,``,R),jg={optional:[xl,Ag],required:[nd]},Mg=N.forBlock(`kol-headline`),Ng=e=>{let{label:t,level:n,secondaryHeadline:r}=ul(jg,e),i=function(e){return e>=1&&e<=6?`h`+e:`strong`}(n);return r?k(cl,{component:`hgroup`,block:`kol-heading`,modifiers:{group:!0}},k(i,{class:Mg({[i]:!0,group:!0,primary:!0})},fu(t),k(`slot`,{name:`expert`,slot:`expert`})),k(`p`,{class:Mg({group:!0,secondary:!0})},r)):k(cl,{component:i,block:`kol-heading`,class:Mg({[i]:!0,single:!0})},fu(t),k(`slot`,{name:`expert`,slot:`expert`}))},Pg=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=jg,this._level=0,this._secondaryHeadline=void 0}watchLabel(e){nd.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchLevel(e){xl.apply(e,(e=>this.setRenderProp(`level`,e)))}watchSecondaryHeadline(e){Ag.apply(e,(e=>this.setRenderProp(`secondaryHeadline`,e)))}componentWillLoad(){nd.apply(this._label,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`)),xl.apply(this._level,(e=>this.setRenderProp(`level`,e))),Ag.apply(this._secondaryHeadline,(e=>this.setRenderProp(`secondaryHeadline`,e)))}render(){return k(A,{key:`b6f8fd70f4454c702a370d05f24ecb2fc63fcde9`},k(Ng,{key:`edcd4e446e999773121e8c6b2dc8d35bc9d3d6da`,label:this.getRenderProp(`label`),level:this.getRenderProp(`level`),secondaryHeadline:this.getRenderProp(`secondaryHeadline`)}))}static get watchers(){return{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_secondaryHeadline:[{watchSecondaryHeadline:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-headline--secondary { margin: 0; } }`}}},[545,`kol-heading`,{_label:[1],_level:[2],_secondaryHeadline:[1,`_secondary-headline`]},void 0,{_label:[{watchLabel:0}],_level:[{watchLevel:0}],_secondaryHeadline:[{watchSecondaryHeadline:0}]}]),Fg=Pg,Ig=function(){typeof customElements<`u`&&[`kol-heading`].forEach((e=>{e===`kol-heading`&&(customElements.get(M(e))||customElements.define(M(e),Pg))}))},Lg=z(`icons`,`kolicon-logo`,R),Rg=z(`label`,void 0,R,Pu,{hints:fl}),zg={required:[Lg,Rg]},Bg=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=zg}watchIcons(e){Lg.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchLabel(e){Rg.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}componentWillLoad(){Lg.apply(this._icons,(e=>this.setRenderProp(`icons`,e))),Rg.apply(this._label,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}render(){return k(A,{key:`bf1ba08566bb99f053baf84cc25f5ff996d70466`},k(Ul,{key:`7104d1af300d489b487ddca06bdbc65adae73beb`,icons:this.getRenderProp(`icons`),label:this.getRenderProp(`label`)}))}static get watchers(){return{_icons:[{watchIcons:0}],_label:[{watchLabel:0}]}}static get style(){return{default:`@font-face{font-family:"kolicons";src:url("kolicons.eot?t=1795175086587");src:url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg");}@layer kol-component{[class^=kolicon-],[class*=" kolicon-"]{font-family:"kolicons";font-style:normal;font-weight:400;line-height:1em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.kolicon-alert-error::before{content:"\\ea01"}.kolicon-alert-info::before{content:"\\ea02"}.kolicon-alert-success::before{content:"\\ea03"}.kolicon-alert-warning::before{content:"\\ea04"}.kolicon-check::before{content:"\\ea05"}.kolicon-chevron-double-left::before{content:"\\ea06"}.kolicon-chevron-double-right::before{content:"\\ea07"}.kolicon-chevron-down::before{content:"\\ea08"}.kolicon-chevron-left::before{content:"\\ea09"}.kolicon-chevron-right::before{content:"\\ea0a"}.kolicon-chevron-up::before{content:"\\ea0b"}.kolicon-cogwheel::before{content:"\\ea0c"}.kolicon-cross::before{content:"\\ea0d"}.kolicon-eye-closed::before{content:"\\ea0e"}.kolicon-eye::before{content:"\\ea0f"}.kolicon-house::before{content:"\\ea10"}.kolicon-kolibri::before{content:"\\ea11"}.kolicon-link-external::before{content:"\\ea12"}.kolicon-link::before{content:"\\ea13"}.kolicon-minus::before{content:"\\ea14"}.kolicon-pin-pinned::before{content:"\\ea15"}.kolicon-pin-unpinned::before{content:"\\ea16"}.kolicon-plus::before{content:"\\ea17"}.kolicon-settings::before{content:"\\ea18"}.kolicon-sort-asc::before{content:"\\ea19"}.kolicon-sort-desc::before{content:"\\ea1a"}.kolicon-sort-neutral::before{content:"\\ea1b"}.kolicon-up::before{content:"\\ea1c"}.kolicon-version::before{content:"\\ea1d"}}@layer kol-component{.kol-icon{color:inherit;display:inline-block;font-size:inherit;font-weight:inherit;line-height:inherit}}`}}},[545,`kol-icon`,{_icons:[1],_label:[1]},void 0,{_icons:[{watchIcons:0}],_label:[{watchLabel:0}]}]),Vg=Bg,Hg=function(){typeof customElements<`u`&&[`kol-icon`].forEach((e=>{e===`kol-icon`&&(customElements.get(M(e))||customElements.define(M(e),Bg))}))},Ug=z(`alt`,``,R,(e=>typeof e==`string`)),Wg=Ic(),Gg=z(`sizes`,``,R),Kg=z(`srcset`,``,R),qg={optional:[Wg,Zc,Gg,Kg],required:[Ug,lp]},Jg=e=>{let{alt:t,loading:n,sizes:r,src:i,srcset:a,handleError:o,handleLoad:s}=e;return k(cl,{component:`img`,block:`kol-image`,alt:t,loading:n,sizes:r||void 0,src:i,srcset:a||void 0,onError:e=>o(e),onLoad:e=>s(e)})},Yg=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=qg,this._loading=void 0,this._sizes=void 0,this._srcset=void 0,this._on=void 0,this.handleError=e=>{var t,n;(n=(t=this.getRenderProp(`on`)).onError)==null||n.call(t,e),this.host&&F(this.host,P.error,e)},this.handleLoad=e=>{var t,n;(n=(t=this.getRenderProp(`on`)).onLoad)==null||n.call(t,e),this.host&&F(this.host,P.load,e)}}watchAlt(e){Ug.apply(e,(e=>this.setRenderProp(`alt`,e)))}watchLoading(e){Zc.apply(e,(e=>this.setRenderProp(`loading`,e)))}watchSizes(e){Gg.apply(e,(e=>this.setRenderProp(`sizes`,e)))}watchSrc(e){lp.apply(e,(e=>this.setRenderProp(`src`,e)))}watchSrcset(e){Kg.apply(e,(e=>this.setRenderProp(`srcset`,e)))}watchOn(e){Wg.apply(e,(e=>this.setRenderProp(`on`,e)))}componentWillLoad(){Ug.apply(this._alt,(e=>this.setRenderProp(`alt`,e))),Zc.apply(this._loading,(e=>this.setRenderProp(`loading`,e))),Wg.apply(this._on,(e=>this.setRenderProp(`on`,e))),Gg.apply(this._sizes,(e=>this.setRenderProp(`sizes`,e))),lp.apply(this._src,(e=>this.setRenderProp(`src`,e))),Kg.apply(this._srcset,(e=>this.setRenderProp(`srcset`,e)))}render(){return k(A,{key:`563b5a2b60852c8af364bdccfae0468112252a65`},k(Jg,{key:`3bd292143916c6a63b37dea1fd60c0b00833ead4`,alt:this.getRenderProp(`alt`),loading:this.getRenderProp(`loading`),sizes:this.getRenderProp(`sizes`),src:this.getRenderProp(`src`),srcset:this.getRenderProp(`srcset`),handleError:this.handleError,handleLoad:this.handleLoad}))}get host(){return this}static get watchers(){return{_alt:[{watchAlt:0}],_loading:[{watchLoading:0}],_sizes:[{watchSizes:0}],_src:[{watchSrc:0}],_srcset:[{watchSrcset:0}],_on:[{watchOn:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-image { display: inline-block; max-width: 100%; max-height: 100%; } }`}}},[545,`kol-image`,{_alt:[1],_loading:[1],_sizes:[1],_src:[1],_srcset:[1],_on:[16]},void 0,{_alt:[{watchAlt:0}],_loading:[{watchLoading:0}],_sizes:[{watchSizes:0}],_src:[{watchSrc:0}],_srcset:[{watchSrcset:0}],_on:[{watchOn:0}]}]),Xg=Yg,Zg=function(){typeof customElements<`u`&&[`kol-image`].forEach((e=>{e===`kol-image`&&(customElements.get(M(e))||customElements.define(M(e),Yg))}))},Qg=N.forBlock(`kol-field-control`),$g=({hideLabel:e,label:t,renderNoTooltip:n})=>!n&&!Gl(t)&&!0===e,e_=(e,t)=>{let{class:n,id:r,label:i,hint:a,hideLabel:o,labelAlign:s,infoPopover:c,accessKey:l,shortKey:u,tooltipAlign:d,disabled:f,msg:p,touched:m,required:h,readOnly:g,renderNoHint:_,renderNoTooltip:v,labelProps:y,refInput:b,refTooltip:x}=e,S=yl(e,[`class`,`id`,`label`,`hint`,`hideLabel`,`labelAlign`,`infoPopover`,`accessKey`,`shortKey`,`tooltipAlign`,`disabled`,`msg`,`touched`,`required`,`readOnly`,`renderNoHint`,`renderNoTooltip`,`labelProps`,`refInput`,`refTooltip`]),C=Gl(i),w=$g({hideLabel:o,label:i,renderNoTooltip:v}),T=Kl(l,u),E=Km(p,m),ee=()=>k(`div`,{class:Qg(`input`),ref:b},t),te=()=>w?k(`div`,{class:`kol-form-field__tooltip`},k(ed,{badgeText:T||``,label:i,align:d,id:Tu(r,`label`),refFloating:x})):null,ne=()=>k(rh,Object.assign({},y,{id:r,baseClassName:`kol-field-control`,class:o?`kol-field-control__label--visually-hidden`:void 0,omitId:w,hasExpertSlot:C,label:i,accessKey:l,shortKey:u,infoPopover:c}));return k(cl,Object.assign({block:`kol-field-control`,modifiers:Object.assign(Object.assign({disabled:!!f,required:!!h,touched:!!m,"hide-label":!!o,"read-only":!!g},E?{[qm(p)]:!0}:{}),{"label-align-left":s===`left`,"label-align-right":s===`right`}),class:n},S),s===`left`?[ne(),ee(),te()]:[ee(),te(),ne()],!_&&k(nh,{baseClassName:`kol-field-control`,id:r,hint:a}))},t_=[`button`,`default`,`switch`],n_=z(`value`,!0,(e=>e)),r_=z(`checked`,!1,Dc),i_=[`checked`,`indeterminate`,`unchecked`],a_=z(`icons`,{checked:`kolicon-check`,indeterminate:`kolicon-minus`,unchecked:`kolicon-cross`},(e=>{if(typeof e==`object`&&e&&i_.some((t=>(e=>typeof e==`string`&&e.length>0)(e[t]))))return e;throw Error(`Expected an object with at least one icon class of checked, indeterminate or unchecked`)})),o_=z(`indeterminate`,!1,Dc),s_=[`left`,`right`],c_=z(`labelAlign`,`right`,(e=>{let t=R(e);if(s_.includes(t))return t;throw Error(`Invalid label alignment: ${t}`)})),l_=z(`variant`,`default`,(e=>{let t=R(e);if(t_.includes(t))return t;throw Error(`Invalid checkbox variant: ${t}`)})),u_=N.forBlock(`kol-checkbox`),d_=e=>{var{class:t,variant:n=`default`,icon:r,inputProps:i}=e,a=yl(e,[`class`,`variant`,`icon`,`inputProps`]);let{class:o}=i,s=yl(i,[`class`]);return k(cl,Object.assign({component:`label`,block:`kol-checkbox`,modifiers:Object.assign({"variant-button":n===`button`,"variant-default":n==="default","variant-switch":n===`switch`,checked:!!i.checked,indeterminate:!!i.indeterminate,disabled:!!i.disabled,required:!!i.required,touched:!!i.touched},Km(i.msg,i.touched)?{[qm(i.msg)]:!0}:{}),class:t},a),k(Ul,{label:``,icons:r,class:u_(`icon`)}),k(Mh,Object.assign({class:B(u_(`input`),o)},s,{type:`checkbox`})))},f_={required:[...th.required],optional:[...th.optional,Lu,n_,r_,a_,o_,c_,kh,qu,l_]},p_=N.forBlock(`kol-input-checkbox`),m_=j(class extends uh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=wu(`input-checkbox`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=Rl(),this.propsConfig=f_,this._accessKey=void 0,this._checked=!1,this._hideMsg=!1,this._disabled=!1,this._hideLabel=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._indeterminate=void 0,this._labelAlign=`right`,this._msg=void 0,this._name=void 0,this._on=void 0,this._required=!1,this._ariaDetails=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=!0,this._variant=`default`,this.handleCheckboxInput=e=>{this._checked=!this._checked,this._indeterminate=!1,this.handleInput(e,this.getModelValue())},this.handleCheckboxChange=e=>{this.handleChange(e,this.getModelValue())},this.handleCheckboxKeyDown=e=>{this.handleKeyDown(e),dm(e,{form:this.host,ref:this.ctaRef.el})},this.handleCheckboxBlur=e=>{this._disabled||this.handleBlur(e)},this.handleLabelMouseDown=e=>{this.inputHasFocus&&e.preventDefault()},this.handleCheckboxMouseDown=e=>{!this.inputHasFocus||e.target instanceof HTMLInputElement||e.preventDefault()},this.initFormAssociation(`checkbox`,this._name)}watchAccessKey(e){Lu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Hp(e,this._shortKey)}watchChecked(e){r_.apply(e,(e=>this.setRenderProp(`checked`,e))),this.syncFormAssociatedValue()}watchHideMsg(e){this.applyHideMsg(e)}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){a_.apply(e,(e=>this.setRenderProp(`icons`,Object.assign(Object.assign({},this.getRenderProp(`icons`)),e))))}watchInfoPopover(e){this.applyInfoPopover(e)}watchIndeterminate(e){o_.apply(e,(e=>this.setRenderProp(`indeterminate`,e)))}watchLabel(e){this.applyLabel(e)}watchLabelAlign(e){c_.apply(e,(e=>this.setRenderProp(`labelAlign`,e)))}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchRequired(e){kh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchAriaDetails(e){this.applyAriaDetails(e)}watchShortKey(e){qu.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Hp(this._accessKey,e)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){e==null?this.setRenderProp(`value`,e):n_.apply(e,(e=>this.setRenderProp(`value`,e))),this.syncFormAssociatedValue()}watchVariant(e){l_.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.getModelValue())}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchRequired(this._required),this.watchChecked(this._checked),this.watchIcons(this._icons),this.watchIndeterminate(this._indeterminate),this.watchValue(this._value),this.watchVariant(this._variant),this.watchLabelAlign(this._labelAlign)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getModelValue(){return this._checked?this.getRenderProp(`value`):null}syncFormAssociatedValue(){this.formAssociation.setFormAssociatedValue(this.getModelValue())}getIcon(){let e=this.getRenderProp(`icons`);return this.getRenderProp(`indeterminate`)?e.indeterminate:this.getRenderProp(`checked`)?e.checked:e.unchecked}getInputProps(){let e=this.getRenderProp(`shortKey`),{ariaDescribedBy:t,hasError:n}=this.getAria();return Object.assign(Object.assign({id:this.id,hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),value:this.getRenderProp(`value`),accessKey:this.getRenderProp(`accessKey`)||void 0,disabled:this.getRenderProp(`disabled`),name:this._name==null?void 0:this.getRenderProp(`name`),ariaDescribedBy:t,required:this.getRenderProp(`required`),checked:this.getRenderProp(`checked`),indeterminate:this.getRenderProp(`indeterminate`),touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)},e?{"aria-keyshortcuts":e}:{}),{class:B({"visually-hidden":this.getRenderProp(`variant`)===`button`}),ref:this.ctaRef,onBlur:this.handleCheckboxBlur,onChange:this.handleCheckboxChange,onFocus:this.handleFocus,onInput:this.handleCheckboxInput,onKeyDown:this.handleCheckboxKeyDown,"aria-invalid":n?`true`:void 0})}render(){let e=this.getRenderProp(`checked`),t=this.getRenderProp(`indeterminate`),n=this.getRenderProp(`variant`),r=this.getRenderProp(`accessKey`)||void 0,i=this.getRenderProp(`shortKey`)||void 0,a=this.getRenderProp(`required`);return k(A,{key:`e82322103c0c95fa1981f66a78fcae9067886c1c`},k(ch,Object.assign({key:`7ce46b16bf5847afd13de39a9c1dbad32a5a31a5`},this.getFormFieldProps({class:p_({checked:e,indeterminate:t,[`variant-${n}`]:!0,[`label-align-${this.getRenderProp(`labelAlign`)}`]:!0}),accessKey:r,shortKey:i,required:a,renderNoLabel:!0,renderNoTooltip:!0})),k(e_,Object.assign({key:`a7cf31d1677ee8e05a2893d3edc78d3223f1b656`,class:p_(`field-control`,{checked:e,indeterminate:t,[`variant-${n}`]:!0}),id:this.id,label:this.getRenderProp(`label`),hint:this.getRenderProp(`hint`),hideLabel:this.getRenderProp(`hideLabel`),labelAlign:this.getRenderProp(`labelAlign`),infoPopover:this.getInfoPopover(),accessKey:r,shortKey:i,tooltipAlign:this.getRenderProp(`tooltipAlign`),disabled:this.getRenderProp(`disabled`),msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),required:a,renderNoHint:!0,labelProps:{onMouseDown:this.handleLabelMouseDown}},this.getLabelTooltipRefs()),k(d_,{key:`36176dff046e7c4470f1414265875878a54554df`,variant:n,icon:this.getIcon(),onMouseDown:this.handleCheckboxMouseDown,inputProps:this.getInputProps()}))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_checked:[{watchChecked:0}],_hideMsg:[{watchHideMsg:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_indeterminate:[{watchIndeterminate:0}],_label:[{watchLabel:0}],_labelAlign:[{watchLabelAlign:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_ariaDetails:[{watchAriaDetails:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-field-control { display: grid; min-height: var(--a11y-min-size); align-items: center; justify-content: left; grid-template-areas: "input label"; grid-template-columns: auto 1fr; grid-template-rows: auto; } .kol-field-control:has(.kol-field-control__hint) { grid-template-areas: "input label" "hint hint"; grid-template-columns: auto 1fr; grid-template-rows: auto auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label) { grid-template-areas: "label input"; grid-template-columns: 1fr auto; grid-template-rows: auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) { grid-template-areas: "label input" "hint hint"; grid-template-columns: 1fr auto; grid-template-rows: auto auto; } .kol-field-control__input { display: flex; min-height: var(--a11y-min-size); align-items: center; grid-area: input; } .kol-field-control__label { display: flex; min-height: var(--a11y-min-size); flex-grow: 1; align-items: center; cursor: pointer; grid-area: label; } .kol-field-control__label--visually-hidden { display: none; height: 0; margin: 0; padding: 0; visibility: hidden; } .kol-field-control__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-field-control__hint { grid-area: hint; } .kol-field-control--disabled .kol-field-control__label { cursor: not-allowed; } .kol-field-control--required .kol-field-control__label-text:has(.kol-span__slot[hidden])::after, .kol-field-control--required .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-form-field { display: grid; } .kol-form-field__label-text { display: ruby; } .kol-checkbox { display: flex; position: relative; align-items: center; cursor: pointer; } .kol-checkbox--disabled { cursor: not-allowed; } .kol-checkbox .kol-input { background-color: white; border-style: solid; margin: 0; border-width: 2px; appearance: none; cursor: inherit; } .kol-checkbox .kol-input:before { content: ""; } .kol-checkbox--variant-default { position: relative; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); justify-content: center; } .kol-checkbox--variant-default .kol-icon { display: none; position: absolute; inset: auto; z-index: 1; pointer-events: none; } .kol-checkbox--variant-default .kol-input { width: calc(22 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(22 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-checkbox--variant-default.kol-checkbox--checked .kol-icon, .kol-checkbox--variant-default.kol-checkbox--indeterminate .kol-icon { display: block; } .kol-checkbox--variant-switch { position: relative; } .kol-checkbox--variant-switch .kol-input { display: inline-block; position: relative; width: 3.2em; min-width: 3.2em; height: 1.7em; } .kol-checkbox--variant-switch .kol-input::before { background-color: black; position: absolute; top: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16)); left: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16)); width: 1.2em; height: 1.2em; transition: 0.5s; } .kol-checkbox--variant-switch .kol-input:checked::before { transform: translateX(1.5em); } .kol-checkbox--variant-switch .kol-input:indeterminate::before { transform: translateX(0.75em); } .kol-checkbox--variant-switch .kol-icon { transform: translate(0, -50%); color: black; display: flex; position: absolute; top: 50%; left: calc(4 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; width: 1.2em; height: 1.2em; align-items: center; justify-content: center; transition: 0.5s; } .kol-checkbox--variant-switch.kol-checkbox--checked .kol-icon { transform: translate(1.5em, -50%); } .kol-checkbox--variant-switch.kol-checkbox--indeterminate .kol-icon { transform: translate(0.75em, -50%); } .kol-checkbox--variant-button { min-width: var(--a11y-min-size); } .kol-checkbox--variant-button .kol-icon { display: flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } }`}}},[545,`kol-input-checkbox`,{_accessKey:[1,`_access-key`],_checked:[1540],_hideMsg:[4,`_hide-msg`],_disabled:[4],_hideLabel:[4,`_hide-label`],_hint:[1],_icons:[1],_infoPopover:[16],_indeterminate:[1540],_label:[1],_labelAlign:[1,`_label-align`],_msg:[1],_name:[1],_on:[16],_required:[4],_ariaDetails:[1,`_aria-details`],_shortKey:[1,`_short-key`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[8],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_checked:[{watchChecked:0}],_hideMsg:[{watchHideMsg:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_indeterminate:[{watchIndeterminate:0}],_label:[{watchLabel:0}],_labelAlign:[{watchLabelAlign:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_ariaDetails:[{watchAriaDetails:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);function h_(){typeof customElements<`u`&&[`kol-input-checkbox`].forEach((e=>{e===`kol-input-checkbox`&&(customElements.get(M(e))||customElements.define(M(e),m_))}))}H([U(`ctaRef`)],m_.prototype,`focus`,null),H([W(`ctaRef`)],m_.prototype,`click`,null);var g_=m_,__=h_,v_=z(`autoComplete`,`off`,R,(e=>e.length>0)),y_=e=>{var{id:t,suggestions:n}=e,r=yl(e,[`id`,`suggestions`]);return n?k(`datalist`,Object.assign({id:Tu(t,`list`)},r),n.map((e=>k(`option`,{value:e})))):null},b_={required:[...th.required],optional:[...th.optional,Lu,v_,xh,qu,bp,jh,Ah,Zu]},x_=N.forBlock(`kol-input-color`),S_=j(class extends uh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=wu(`input-color`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=Rl(),this.propsConfig=b_,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete=`off`,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this.handleColorInput=e=>{let t=e.target.value;this.setRenderProp(`value`,t),this.ctaRef.el&&(this.ctaRef.el.value=t),this.handleInput(e)},this.initFormAssociation(`color`,this._name)}watchAccessKey(e){Lu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Hp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchAutoComplete(e){v_.apply(e,(e=>this.setRenderProp(`autoComplete`,e)))}watchDisabled(e){this.applyDisabled(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){xh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchShortKey(e){qu.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Hp(this._accessKey,e)}watchSmartButton(e){e==null?this.unsetRenderProp(`smartButton`):bp.apply(e,(e=>this.setRenderProp(`smartButton`,e)))}watchSuggestions(e){Ah.apply(e,(e=>this.setRenderProp(`suggestions`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){jh.apply(e,(e=>this.setRenderProp(`value`,e))),this.formAssociation.setFormAssociatedValue(this.getRenderProp(`value`))}watchVariant(e){Zu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.ctaRef.el?.value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchSuggestions(this._suggestions),this.watchValue(this._value)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getInputProps(){let e=this.id,t=this.getRenderProp(`name`),n=this.getRenderProp(`accessKey`),r=this.getRenderProp(`shortKey`),i=this.getRenderProp(`suggestions`),{ariaDescribedBy:a,hasError:o}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign({id:e,hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),disabled:this.getRenderProp(`disabled`),name:t?t+`-color`:void 0},n?{accessKey:n}:{}),{value:this.getRenderProp(`value`),autoComplete:this.getRenderProp(`autoComplete`),touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)}),r?{"aria-keyshortcuts":r}:{}),{suggestions:i.length>0?k(y_,{id:e,suggestions:i}):void 0,class:x_(`input`,{color:!0}),onBlur:this.handleBlur,onChange:this.handleChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleColorInput,onKeyDown:this.handleKeyDown,ref:this.ctaRef,type:`color`,ariaDescribedBy:a,"aria-invalid":o?`true`:void 0})}render(){let e=this.getRenderProp(`disabled`),{startAdornment:t,endAdornment:n}=Ch({icons:this.getRenderProp(`icons`),smartButton:this.getSmartButtonFcProps(this.getRenderProp(`smartButton`),e)});return k(A,{key:`4a6b0005be101befa517b1b512526e6525bd50ac`},k(ch,Object.assign({key:`d9a72d227ffeaa0f5257b7491a09f862f6ce0f5a`},this.getFormFieldProps({class:x_(),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,variant:this.getRenderProp(`variant`)})),k(Dh,{key:`66c18744292fe5f3900de286253a51c60dbd3769`,disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n},k(Mh,Object.assign({key:`c026cee8c37fdd835ed313e0deb73fc7007b6b95`},this.getInputProps())))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input { cursor: pointer; } .kol-input:disabled { cursor: not-allowed; } }`}}},[545,`kol-input-color`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_autoComplete:[1,`_auto-complete`],_disabled:[4],_hideMsg:[4,`_hide-msg`],_hideLabel:[4,`_hide-label`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_name:[1],_on:[16],_shortKey:[1,`_short-key`],_smartButton:[1,`_smart-button`],_suggestions:[1],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);H([U(`ctaRef`)],S_.prototype,`focus`,null),H([W(`ctaRef`)],S_.prototype,`click`,null);var C_=S_,w_=function(){typeof customElements<`u`&&[`kol-input-color`].forEach((e=>{e===`kol-input-color`&&(customElements.get(M(e))||customElements.define(M(e),S_))}))},T_=z(`readOnly`,!1,Dc),E_=z(`step`,void 0,Ec),D_=[`date`,`datetime-local`,`month`,`time`,`week`],O_=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])/,k_=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])[T ][0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,A_=/^\d{4}-([0]\d|1[0-2])/,j_=/^[0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/,M_=/^\d{4}-W(?:[0-4]\d|5[0-3])$/;function N_(e,{type:t,step:n}){return function(e,t,n){if(typeof e==`string`||e===null)return e;if(e instanceof Date){let r=e.getFullYear(),i=(e.getMonth()+1+``).padStart(2,`0`),a=(e.getDate()+``).padStart(2,`0`),o=(e.getHours()+``).padStart(2,`0`),s=(e.getMinutes()+``).padStart(2,`0`),c=(e.getSeconds()+``).padStart(2,`0`),l=[r,i,a].join(`-`),u=[o,s,c].join(`:`);switch(t){case`date`:return l;case`datetime-local`:return`${l}T${u}`;case`month`:return`${r}-${i}`;case`time`:return n===void 0||n+``==`60`?`${o}:${s}`:u;case`week`:return`${r}-W${function(e){let t=new Date(e),n=(t.getDay()+6)%7;t.setDate(t.getDate()-n+3);let r=t.valueOf();return t.setMonth(0,1),t.getDay()!==4&&t.setMonth(0,1+(4-t.getDay()+7)%7),(``+(1+Math.ceil((r-t.valueOf())/6048e5))).padStart(2,`0`)}(e)}`}}}(e,t,n)}function P_(e,{type:t}){return e==null||e===``||function(e,t){switch(t){case`date`:return O_.test(e);case`datetime-local`:return k_.test(e);case`month`:return A_.test(e);case`time`:return j_.test(e);case`week`:return M_.test(e);default:return!1}}(e,t)}var F_=Fc(`max`,void 0,N_,P_),I_=Fc(`min`,void 0,N_,P_),L_=z(`type`,`date`,(function(e){let t=R(e);if(kc(t,D_))return t;throw Error(`Invalid input date type: `+t)})),R_=Fc(`value`,void 0,N_,P_);function z_(e){return e instanceof Date?`Date`:typeof e==`string`?`String`:null}function B_(e,t){return e===``?null:t===`Date`?function(e){let t=V_.exec(e);return t?new Date(Number(t[1]),Number(t[2])-1,Number(t[3])):new Date(e)}(e):e}var V_=/^(\d{4})-(\d{2})-(\d{2})$/,H_={required:[...th.required],optional:[...th.optional,Lu,v_,xh,F_,I_,L_,R_,T_,kh,qu,bp,E_,Ah,Zu]},U_=N.forBlock(`kol-input-date`),W_=j(class extends uh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=wu(`input-date`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.hasValue=!1,this.ctaRef=Rl(),this.valueType=null,this.propsConfig=H_,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete=`off`,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._max=void 0,this._min=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._step=void 0,this._tooltipAlign=`top`,this._touched=!1,this._type=`date`,this._value=void 0,this._variant=void 0,this.handleDateInput=e=>{let t=this.readValue(e);this._value=t,this.handleInput(e,t)},this.handleDateChange=e=>{let t=this.readValue(e);this.handleChange(e,t),this.hasValue=!!t},this.handleDateBlur=e=>{this.handleBlur(e);let t=e.target.value;!!t!=!!this._value&&(this._value=t)},this.handleDateKeyDown=e=>{this.handleKeyDown(e),dm(e,{form:this.host,ref:this.ctaRef.el}),this.getRenderProp(`readOnly`)&&e.code===`Space`&&e.preventDefault()},this.initFormAssociation(`date`,this._name)}watchAccessKey(e){Lu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Hp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchAutoComplete(e){v_.apply(e,(e=>this.setRenderProp(`autoComplete`,e)))}watchDisabled(e){this.applyDisabled(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){xh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMax(e){F_.apply(e,(e=>this.setRenderProp(`max`,e)),this.dateDeps)}watchMin(e){I_.apply(e,(e=>this.setRenderProp(`min`,e)),this.dateDeps)}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchReadOnly(e){T_.apply(e,(e=>this.setRenderProp(`readOnly`,e)))}watchRequired(e){kh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchShortKey(e){qu.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Hp(this._accessKey,e)}watchSmartButton(e){e==null?this.unsetRenderProp(`smartButton`):bp.apply(e,(e=>this.setRenderProp(`smartButton`,e)))}watchSuggestions(e){Ah.apply(e,(e=>this.setRenderProp(`suggestions`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchStep(e){E_.apply(e,(e=>this.setRenderProp(`step`,e)))}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchType(e){L_.apply(e,(e=>this.setRenderProp(`type`,e)))}watchValue(e){e instanceof Date&&Ji("Date type will be removed in v3. Use `Iso8601` instead."),R_.apply(e,(e=>this.setRenderProp(`value`,e)),this.dateDeps),this.formAssociation.setFormAssociatedValue(this.getRenderProp(`value`)??null),e!=null&&(this.valueType=z_(e))}watchVariant(e){Zu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.ctaRef.el&&B_(this.ctaRef.el.value,this.valueType))}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}reset(){return this.setRenderProp(`value`,void 0),this.hasValue=!1,this.formAssociation.setFormAssociatedValue(``),this.ctaRef.el&&(this.ctaRef.el.value=``),Promise.resolve()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this._value!==void 0&&(this.valueType=z_(this._value)),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchMax(this._max),this.watchMin(this._min),this.watchSuggestions(this._suggestions),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchStep(this._step),this.watchType(this._type),this.watchValue(this._value),this.hasValue=!!this.getRenderProp(`value`)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}get dateDeps(){return{type:this._type,step:this._step}}readValue(e){return B_(e.target.value,this.valueType)}getInputProps(){let e=this.id,t=this.getRenderProp(`accessKey`),n=this.getRenderProp(`shortKey`),r=this.getRenderProp(`suggestions`),{ariaDescribedBy:i,hasError:a}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:e,hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),disabled:this.getRenderProp(`disabled`),name:this.getRenderProp(`name`)||void 0},t?{accessKey:t}:{}),{type:this.getRenderProp(`type`),value:this.getRenderProp(`value`)??(this._value===null?null:void 0),required:this.getRenderProp(`required`),autoComplete:this.getRenderProp(`autoComplete`),readonly:this.getRenderProp(`readOnly`),min:this.getRenderProp(`min`)??(this._min===null?null:void 0),max:this.getRenderProp(`max`)??(this._max===null?null:void 0),step:this.getRenderProp(`step`)??null,touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)}),n?{"aria-keyshortcuts":n}:{}),r.length>0?{suggestions:k(y_,{id:e,suggestions:r})}:{}),{ref:this.ctaRef,onBlur:this.handleDateBlur,onChange:this.handleDateChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleDateInput,onKeyDown:this.handleDateKeyDown,ariaDescribedBy:i,"aria-invalid":a?`true`:void 0})}render(){let e=this.getRenderProp(`disabled`),{startAdornment:t,endAdornment:n}=Ch({icons:this.getRenderProp(`icons`),smartButton:this.getSmartButtonFcProps(this.getRenderProp(`smartButton`),e)});return k(A,{key:`ac4f0e936c47a03453941e7fed0794e0f58eb5fe`},k(ch,Object.assign({key:`ade129ce182982dfc21d4acd434570ba11dc4229`},this.getFormFieldProps({class:B(U_(),this.getRenderProp(`type`),{"has-value":this.hasValue}),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,variant:this.getRenderProp(`variant`),required:this.getRenderProp(`required`),readOnly:this.getRenderProp(`readOnly`)})),k(Dh,{key:`066147759ac793b49abbeb1cfee52bb31d6f0488`,disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n},k(Mh,Object.assign({key:`e53ed1c3f2dd45755366ede2b33064e4e5479df2`},this.getInputProps())))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_step:[{watchStep:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input { cursor: text; } .kol-input::-webkit-calendar-picker-indicator { cursor: pointer; } }`}}},[545,`kol-input-date`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_autoComplete:[1,`_auto-complete`],_disabled:[4],_hideMsg:[4,`_hide-msg`],_hideLabel:[4,`_hide-label`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_max:[1],_min:[1],_msg:[1],_name:[1],_on:[16],_readOnly:[4,`_read-only`],_required:[4],_shortKey:[1,`_short-key`],_smartButton:[1,`_smart-button`],_suggestions:[1],_syncValueBySelector:[1,`_sync-value-by-selector`],_step:[8],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_type:[1],_value:[1537],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],hasValue:[32],getValue:[64],focus:[64],click:[64],reset:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_step:[{watchStep:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);H([U(`ctaRef`)],W_.prototype,`focus`,null),H([W(`ctaRef`)],W_.prototype,`click`,null);var G_=W_,K_=function(){typeof customElements<`u`&&[`kol-input-date`].forEach((e=>{e===`kol-input-date`&&(customElements.get(M(e))||customElements.define(M(e),W_))}))},q_=z(`multiple`,!1,Dc),J_=z(`hasCounter`,!1,Dc),Y_=z(`maxLength`,void 0,Sc,(e=>e>=0)),X_=[`hard`,`soft`],Z_=z(`maxLengthBehavior`,`hard`,(function(e){let t=R(e);if(kc(t,X_))return t;throw Error(`Invalid max length behavior: ${t}`)})),Q_={optional:[J_,Y_,Z_]},$_=(e,t,n)=>{if(typeof t!=`number`)return G(`kol-character-counter-current`,{placeholders:{current:String(n)}});if(e===`soft`){let e=t-n;return e<0?G(`kol-character-limit-exceeded`,{placeholders:{over:String(Math.abs(e))}}):G(`kol-character-limit-remaining`,{placeholders:{remaining:String(e)}})}return G(`kol-character-counter-current-of-max-aria`,{placeholders:{current:String(n),max:String(t)}})},ev=(e,t,n)=>e===`hard`&&typeof t==`number`&&n>=t?G(`kol-character-counter-max-aria`):``,tv=class extends Wf{constructor(e){super(e,Q_),this.reannounceToggle=!1,this.setVisualRef=e=>{this.visualSpan=e},this.setAriaRef=e=>{this.ariaSpan=e},this.handleKeyDown=(e,t)=>{let{maxLength:n,maxLengthBehavior:r}=this.getLimit();r!==`hard`||typeof n!=`number`||t<n||(e=>e.key.length===1&&!e.ctrlKey&&!e.metaKey&&!e.altKey)(e)&&this.retriggerAria(t)}}componentWillLoad(e){this.watchHasCounter(e.hasCounter),this.watchMaxLength(e.maxLength),this.watchMaxLengthBehavior(e.maxLengthBehavior)}watchHasCounter(e){J_.apply(e,(e=>this.setRenderProp(`hasCounter`,e)))}watchMaxLength(e){Y_.apply(e,(e=>this.setRenderProp(`maxLength`,e)))}watchMaxLengthBehavior(e){Z_.apply(e,(e=>this.setRenderProp(`maxLengthBehavior`,e)))}hasCounter(){return!0===this.getRenderProp(`hasCounter`)}hasSoftLimit(){let{maxLength:e,maxLengthBehavior:t}=this.getLimit();return typeof e==`number`&&t===`soft`}getMaxLengthAttribute(){let{maxLength:e,maxLengthBehavior:t}=this.getLimit();return t===`hard`?e:void 0}getCounterProps(){if(!this.hasCounter())return;let{maxLength:e,maxLengthBehavior:t}=this.getLimit();return{maxLength:e,maxLengthBehavior:t,visualRef:this.setVisualRef,ariaRef:this.setAriaRef}}getCharacterLimitHintId(e){return typeof this.getRenderProp(`maxLength`)!=`number`||this.hasCounter()?void 0:Tu(e,`character-limit-hint`)}update(e){let t=this.getLimit();this.updateVisual(e,t),clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>this.updateAria(e,t)),1e3)}updateImmediate(e){let t=this.getLimit();this.updateVisual(e,t),clearTimeout(this.debounceTimer),this.updateAria(e,t)}retriggerAria(e){if(!this.ariaSpan)return;let t=this.getLimit();clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>this.updateAria(e,t,!0)),1e3)}destroy(){clearTimeout(this.debounceTimer)}getLimit(){return{maxLength:this.getRenderProp(`maxLength`),maxLengthBehavior:this.getRenderProp(`maxLengthBehavior`)}}updateVisual(e,{maxLength:t,maxLengthBehavior:n}){this.visualSpan&&(this.visualSpan.innerText=((e,t,n)=>{if(typeof t!=`number`)return G(`kol-character-counter-current`,{placeholders:{current:String(n)}});if(e===`soft`){let e=t-n;return e<0?G(`kol-character-limit-exceeded`,{placeholders:{over:String(Math.abs(e))}}):G(`kol-character-limit-remaining`,{placeholders:{remaining:String(e)}})}return G(`kol-character-counter-current-of-max`,{placeholders:{current:String(n),max:String(t)}})})(n,t,e),this.visualSpan.classList.toggle(`kol-form-field__counter--exceeded`,n===`soft`&&typeof t==`number`&&e>t))}updateAria(e,{maxLength:t,maxLengthBehavior:n},r=!1){if(!this.ariaSpan)return;let i=[$_(n,t,e),ev(n,t,e)].filter(Boolean).join(` `);r&&(this.reannounceToggle=!this.reannounceToggle,this.reannounceToggle&&(i+=`\xA0`)),this.ariaSpan.innerText=i}},nv=z(`pattern`,void 0,R),rv={required:[...th.required],optional:[...th.optional,Lu,v_,xh,nv,Oh,T_,kh,qu,bp,jh,Zu]},iv=class extends uh{constructor(){super(...arguments),this.ctaRef=Rl(),this.counter=new tv(V.stateLess),this.needsImmediateCounterUpdate=!1,this.hasValue=!1,this.handleTextInput=e=>{this._value=e.target.value,this.handleInput(e)},this.handleTextChange=(e,t)=>{this.handleChange(e,t)},this.handleTextFocus=e=>{this.handleFocus(e),this.counter.retriggerAria(this._value?.length??0)},this.handleTextKeyDown=e=>{this.handleKeyDown(e),this.counter.handleKeyDown(e,this.ctaRef.el?.value.length??0),dm(e,{form:this.host,ref:this.ctaRef.el})}}get textShared(){return this}initHasValue(){this.hasValue=!!this.textShared.getRenderProp(`value`)}didLoadTextInput(){this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(this._value?.length??0)}didUpdateTextInput(){this.needsImmediateCounterUpdate&&(this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(this._value?.length??0))}destroyTextInput(){this.destroyFormField(),this.counter.destroy()}applyAccessKey(e){Lu.apply(e,(e=>this.textShared.setRenderProp(`accessKey`,e))),Hp(e,this._shortKey)}applyAutoComplete(e){v_.apply(e,(e=>this.textShared.setRenderProp(`autoComplete`,e)))}applyIcons(e){xh.apply(e,(e=>this.textShared.setRenderProp(`icons`,e)))}applyPattern(e){nv.apply(e,(e=>this.textShared.setRenderProp(`pattern`,e)))}applyPlaceholder(e){Oh.apply(e,(e=>this.textShared.setRenderProp(`placeholder`,e)))}applyReadOnly(e){T_.apply(e,(e=>this.textShared.setRenderProp(`readOnly`,e)))}applyRequired(e){kh.apply(e,(e=>this.textShared.setRenderProp(`required`,e)))}applyShortKey(e){qu.apply(e,(e=>this.textShared.setRenderProp(`shortKey`,e))),Hp(this._accessKey,e)}applySmartButton(e){e==null?this.textShared.unsetRenderProp(`smartButton`):bp.apply(e,(e=>this.textShared.setRenderProp(`smartButton`,e)))}applyValue(e){this.initValue(e),this.hasValue=!!this.textShared.getRenderProp(`value`),this.counter.update(e?.length??0)}initValue(e){jh.apply(e,(e=>this.textShared.setRenderProp(`value`,e))),this.formAssociation.setFormAssociatedValue(this.textShared.getRenderProp(`value`))}initMaxLength(e){this.counter.watchMaxLength(e)}applyVariant(e){Zu.apply(e,(e=>this.textShared.setRenderProp(`variant`,e)))}applyHasCounter(e){this.counter.watchHasCounter(e),this.needsImmediateCounterUpdate=!0}applyMaxLength(e){this.counter.watchMaxLength(e),this.counter.updateImmediate(this._value?.length??0)}applyMaxLengthBehavior(e){this.counter.watchMaxLengthBehavior(e),this.needsImmediateCounterUpdate=!0}getTextFormFieldProps(e){let t=this.textShared;return this.getFormFieldProps({class:B(e,{"has-value":this.hasValue,"kol-form-field--has-counter":this.counter.hasSoftLimit()||this.counter.hasCounter()}),accessKey:t.getRenderProp(`accessKey`)||void 0,shortKey:t.getRenderProp(`shortKey`)||void 0,variant:t.getRenderProp(`variant`),required:t.getRenderProp(`required`),readOnly:t.getRenderProp(`readOnly`),maxLength:this.counter.getRenderProp(`maxLength`),counter:this.counter.getCounterProps()})}getTextInputAdornments(e){return Ch({icons:this.textShared.getRenderProp(`icons`),smartButton:this.getSmartButtonFcProps(this.textShared.getRenderProp(`smartButton`),this.textShared.getRenderProp(`disabled`)),endAdornment:e})}getTextInputProps({type:e,spellcheck:t,multiple:n,suggestions:r},i={}){let a=this.textShared,o=a.getState(`id`),s=a.getRenderProp(`accessKey`),c=a.getRenderProp(`shortKey`),l=a.getRenderProp(`placeholder`),u=a.getRenderProp(`pattern`),d=this.counter.getMaxLengthAttribute(),f=this.counter.getCharacterLimitHintId(o),{ariaDescribedBy:p,hasError:m}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:o,hideLabel:a.getRenderProp(`hideLabel`),label:a.getRenderProp(`label`),disabled:a.getRenderProp(`disabled`),name:a.getRenderProp(`name`)||void 0},s?{accessKey:s}:{}),e===void 0?{}:{type:e}),{value:a.getRenderProp(`value`),required:a.getRenderProp(`required`)}),d===void 0?{}:{maxlength:d}),l===void 0?{}:{placeholder:l}),{autoComplete:a.getRenderProp(`autoComplete`)}),t===void 0?{}:{spellcheck:t}),u===void 0?{}:{pattern:u}),{readonly:a.getRenderProp(`readOnly`)}),n===void 0?{}:{multiple:n}),{touched:a.getRenderProp(`touched`),msg:a.getRenderProp(`msg`)}),c?{"aria-keyshortcuts":c}:{}),r&&r.length>0?{suggestions:k(y_,{id:o,suggestions:r})}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleTextChange,onClick:this.handleClick,onFocus:this.handleTextFocus,onInput:this.handleTextInput,onKeyDown:this.handleTextKeyDown}),i),{ariaDescribedBy:f?[...p,f]:p,"aria-invalid":m?`true`:void 0})}},av={required:[...rv.required],optional:[...rv.optional,q_,Ah]},ov=N.forBlock(`kol-input-email`),sv=j(class extends iv{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=wu(`input-email`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.propsConfig=av,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete=`off`,this._hasCounter=!1,this._maxLengthBehavior=`hard`,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._maxLength=void 0,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._pattern=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this.initFormAssociation(`email`,this._name)}watchAccessKey(e){this.applyAccessKey(e)}watchAriaDetails(e){this.applyAriaDetails(e)}watchAutoComplete(e){this.applyAutoComplete(e)}watchHasCounter(e){this.applyHasCounter(e)}watchMaxLengthBehavior(e){this.applyMaxLengthBehavior(e)}watchDisabled(e){this.applyDisabled(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){this.applyIcons(e)}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMaxLength(e){this.applyMaxLength(e)}watchMsg(e){this.applyMsg(e)}watchMultiple(e){q_.apply(e,(e=>this.setRenderProp(`multiple`,e)))}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchPattern(e){this.applyPattern(e)}watchPlaceholder(e){this.applyPlaceholder(e)}watchReadOnly(e){this.applyReadOnly(e)}watchRequired(e){this.applyRequired(e)}watchShortKey(e){this.applyShortKey(e)}watchSmartButton(e){this.applySmartButton(e)}watchSuggestions(e){Ah.apply(e,(e=>this.setRenderProp(`suggestions`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this.ctaRef.el?.value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchHasCounter(this._hasCounter),this.watchMaxLengthBehavior(this._maxLengthBehavior),this.initMaxLength(this._maxLength),this.watchPattern(this._pattern),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchSuggestions(this._suggestions),this.watchMultiple(this._multiple),this.initValue(this._value),this.initHasValue()}componentDidLoad(){this.didLoadTextInput()}componentDidUpdate(){this.didUpdateTextInput()}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyTextInput()}render(){let{startAdornment:e,endAdornment:t}=this.getTextInputAdornments();return k(A,{key:`e64dd69f7202bf446fbbcff590c9ba387a5e5216`},k(ch,Object.assign({key:`2b6610518c061eeaa239eec351fb5d076fd9dcfc`},this.getTextFormFieldProps(B(ov(),`email`))),k(Dh,{key:`3e0eb3a89b9e32d28059522828dd6334321b0728`,disabled:this.getRenderProp(`disabled`),msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:e,endAdornment:t},k(Mh,Object.assign({key:`f08c069b85a31f678d35f94212d2068f0258a524`},this.getTextInputProps({multiple:this.getRenderProp(`multiple`),suggestions:this.getRenderProp(`suggestions`)},{type:`email`}))))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_hasCounter:[{watchHasCounter:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } }`}}},[545,`kol-input-email`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_autoComplete:[1,`_auto-complete`],_hasCounter:[4,`_has-counter`],_maxLengthBehavior:[1,`_max-length-behavior`],_disabled:[4],_hideMsg:[4,`_hide-msg`],_hideLabel:[4,`_hide-label`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_maxLength:[2,`_max-length`],_msg:[1],_multiple:[4],_name:[1],_on:[16],_pattern:[1],_placeholder:[1],_readOnly:[4,`_read-only`],_required:[4],_shortKey:[1,`_short-key`],_smartButton:[1,`_smart-button`],_suggestions:[1],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1537],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_hasCounter:[{watchHasCounter:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);H([U(`ctaRef`)],sv.prototype,`focus`,null),H([W(`ctaRef`)],sv.prototype,`click`,null);var cv=sv,lv=function(){typeof customElements<`u`&&[`kol-input-email`].forEach((e=>{e===`kol-input-email`&&(customElements.get(M(e))||customElements.define(M(e),sv))}))},uv=z(`accept`,void 0,R);function dv(e){if(e?.length)return Array.from(e).map((e=>e.name)).join(`, `)}var fv={required:[...th.required],optional:[...th.optional,uv,Lu,xh,q_,kh,qu,bp,Zu]},pv=N.forBlock(`kol-input-container`),mv=pv(`button`),hv=({filename:e,hasFile:t})=>k(`span`,{class:pv(`filename`,{"has-file":t})},e),gv=N.forBlock(`kol-input-file`),_v=j(class extends uh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=wu(`input-file`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.translateFilenameText=G(`kol-filename-text`),this.filename=this.translateFilenameText,this.hasFileSelected=!1,this.isDragover=!1,this.ctaRef=Rl(),this.translateDataBrowseText=G(`kol-data-browse-text`),this.browseButton=Im((()=>this.host)),this.propsConfig=fv,this._accept=void 0,this._accessKey=void 0,this._ariaDetails=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._variant=void 0,this.handleFileChange=e=>{if(this.ctaRef.el instanceof HTMLInputElement&&this.ctaRef.el.type===`file`){let t=this.ctaRef.el.files;this.hasFileSelected=!!t?.length,this.filename=dv(t)??this.translateFilenameText,this.handleChange(e,t),this.formAssociation.setFormAssociatedValue(t)}},this.handleFileInput=e=>{this.ctaRef.el instanceof HTMLInputElement&&this.ctaRef.el.type===`file`&&this.handleInput(e,this.ctaRef.el.files)},this.isDisabled=()=>!0===this._disabled,this.handleDragOver=e=>{this.isDisabled()||(e.preventDefault(),this.isDragover=!0)},this.handleDragLeave=()=>{this.isDragover=!1},this.handleDrop=e=>{if(!this.isDisabled()&&(e.preventDefault(),this.ctaRef.el&&(this.isDragover=!1,e.dataTransfer?.files.length))){let t=e.dataTransfer.files;this.ctaRef.el.files=t,this.filename=dv(t)??this.translateFilenameText,this.formAssociation.setFormAssociatedValue(t),this.handleChange(e,t),this.handleInput(e,t)}},this.initFormAssociation(`file`,this._name)}watchAccept(e){uv.apply(e,(e=>this.setRenderProp(`accept`,e)))}watchAccessKey(e){Lu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Hp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchDisabled(e){this.applyDisabled(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){xh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMsg(e){this.applyMsg(e)}watchMultiple(e){q_.apply(e,(e=>this.setRenderProp(`multiple`,e)))}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchRequired(e){kh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchShortKey(e){qu.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Hp(this._accessKey,e)}watchSmartButton(e){e==null?this.unsetRenderProp(`smartButton`):bp.apply(e,(e=>this.setRenderProp(`smartButton`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchVariant(e){Zu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.ctaRef.el?.files)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}reset(){return this.formAssociation.setFormAssociatedValue(``),this.filename=this.translateFilenameText,this.hasFileSelected=!1,this.ctaRef.el&&(this.ctaRef.el.value=``),Promise.resolve()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccept(this._accept),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMultiple(this._multiple),this.watchOn(this._on),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant)}componentDidRender(){this.browseButton.syncListeners(),this.syncFormField()}disconnectedCallback(){this.browseButton.destroy(),this.destroyFormField()}getInputProps(){let e=this.getRenderProp(`accessKey`),t=this.getRenderProp(`shortKey`),{ariaDescribedBy:n,hasError:r}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign({id:this.id,hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),disabled:this.getRenderProp(`disabled`),name:this.getRenderProp(`name`)||void 0},e?{accessKey:e}:{}),{required:this.getRenderProp(`required`),multiple:this.getRenderProp(`multiple`),touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)}),t?{"aria-keyshortcuts":t}:{}),{ref:this.ctaRef,type:`file`,accept:this.getRenderProp(`accept`),onBlur:this.handleBlur,onChange:this.handleFileChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleFileInput,onKeyDown:this.handleKeyDown,ariaDescribedBy:n,"aria-invalid":r?`true`:void 0})}render(){let e=this.getRenderProp(`disabled`),{startAdornment:t,endAdornment:n}=Ch({icons:this.getRenderProp(`icons`),smartButton:this.getSmartButtonFcProps(this.getRenderProp(`smartButton`),e)});return k(A,{key:`2b3d5c7d3abd2b0d408fe01fe337e5a167f7d18d`},k(ch,Object.assign({key:`09c1c85b139a20fb088c6ca8aad135686927b3c3`},this.getFormFieldProps({class:B(gv(),`file`),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,variant:this.getRenderProp(`variant`),required:this.getRenderProp(`required`)})),k(Dh,{key:`f59d2ee4f9543ce660f79af143b299808c9c06d4`,class:{"kol-input-container--is-dragover":this.isDragover},disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},k(hv,{key:`412dfdca1c572d6ff9c8d851d8824bc963921c1d`,filename:this.filename,hasFile:this.hasFileSelected}),k(Mh,Object.assign({key:`8797d598253785f9b0a2cdde010d3fb4873b9b1f`},this.getInputProps())),k(hd,Object.assign({key:`13a5a1a3a9fc5faae5d42dba6900e50f39acd94a`},this.browseButton.getFcProps({_label:this.translateDataBrowseText,_variant:`primary`,_disabled:e,_tabIndex:-1},{class:mv,"aria-hidden":`true`}))))))}get host(){return this}static get watchers(){return{_accept:[{watchAccept:0}],_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; } .kol-input::-webkit-file-upload-button, .kol-input::file-selector-button { cursor: pointer; } .kol-input:disabled, .kol-input:disabled::-webkit-file-upload-button, .kol-input:disabled::file-selector-button { cursor: not-allowed; pointer-events: none; } .kol-input-container__container { display: flex; overflow: hidden; align-items: center; } .kol-input-container__button { height: auto; } .kol-input-container__filename { overflow: hidden; flex-grow: 1; white-space: nowrap; text-overflow: ellipsis; } .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) { grid-template-columns: auto 1fr; } }`}}},[545,`kol-input-file`,{_accept:[1],_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_disabled:[4],_hideMsg:[4,`_hide-msg`],_hideLabel:[4,`_hide-label`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_multiple:[4],_name:[1],_on:[16],_required:[4],_shortKey:[1,`_short-key`],_smartButton:[1,`_smart-button`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],filename:[32],hasFileSelected:[32],isDragover:[32],getValue:[64],focus:[64],click:[64],reset:[64]},void 0,{_accept:[{watchAccept:0}],_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_variant:[{watchVariant:0}]}]);H([U(`ctaRef`)],_v.prototype,`focus`,null),H([W(`ctaRef`)],_v.prototype,`click`,null);var vv=_v,yv=function(){typeof customElements<`u`&&[`kol-input-file`].forEach((e=>{e===`kol-input-file`&&(customElements.get(M(e))||customElements.define(M(e),_v))}))},bv=z(`max`,void 0,Ec),xv=z(`min`,void 0,Ec),Sv=z(`value`,void 0,Ec);function Cv(e){return Tc(e)?`NumberString`:typeof e!=`number`||isNaN(e)?`null`:`number`}function wv(e,t){return e==null?null:t===`NumberString`?String(e):e}function Tv(e){return e===``?null:Number(e)}function Ev(e,t,n){let r=parseFloat(e);return n&&r>n?n:t&&r<t?t:r}var Dv={required:[...th.required],optional:[...th.optional,Lu,v_,xh,bv,xv,Sv,Oh,T_,kh,qu,bp,E_,Ah,Zu]},Ov=N.forBlock(`kol-input-number`),kv=Ov(`step-button`),Av=e=>!0===(e?.classList)?.contains(kv),jv=j(class extends uh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=wu(`input-number`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=Rl(),this.valueType=`null`,this.hasValue=!1,this.propsConfig=Dv,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete=`off`,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._max=void 0,this._min=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._suggestions=void 0,this._step=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this.handleNumberInput=e=>{this._value=this.readInputValue(),this.handleInput(e,this._value)},this.handleNumberChange=e=>{let t=this.readInputValue();this.handleChange(e,t),this.hasValue=!!t},this.handleNumberFocus=e=>{Av(e.relatedTarget)||this.handleFocus(e)},this.handleNumberBlur=e=>{Av(e.relatedTarget)||this.handleBlur(e)},this.handleNumberKeyDown=e=>{this.handleKeyDown(e),dm(e,{form:this.host,ref:this.ctaRef.el})},this.handleStepDown=e=>{this.step(e,`down`)},this.handleStepUp=e=>{this.step(e,`up`)},this.initFormAssociation(`number`,this._name)}watchAccessKey(e){Lu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Hp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchAutoComplete(e){v_.apply(e,(e=>this.setRenderProp(`autoComplete`,e)))}watchDisabled(e){this.applyDisabled(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){xh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMax(e){bv.apply(e,(e=>this.setRenderProp(`max`,e)))}watchMin(e){xv.apply(e,(e=>this.setRenderProp(`min`,e)))}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchPlaceholder(e){Oh.apply(e,(e=>this.setRenderProp(`placeholder`,e)))}watchReadOnly(e){T_.apply(e,(e=>this.setRenderProp(`readOnly`,e)))}watchRequired(e){kh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchShortKey(e){qu.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Hp(this._accessKey,e)}watchSmartButton(e){e==null?this.unsetRenderProp(`smartButton`):bp.apply(e,(e=>this.setRenderProp(`smartButton`,e)))}watchSuggestions(e){Ah.apply(e,(e=>this.setRenderProp(`suggestions`,e)))}watchStep(e){E_.apply(e,(e=>this.setRenderProp(`step`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){Sv.apply(e,(e=>this.setRenderProp(`value`,e))),this.formAssociation.setFormAssociatedValue(this.getRenderProp(`value`)??null),e!=null&&(this.valueType=Cv(e))}watchVariant(e){Zu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.remapValue(this.getRenderProp(`value`)))}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchMax(this._max),this.watchMin(this._min),this.watchSuggestions(this._suggestions),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchStep(this._step),this.watchValue(this._value),this.hasValue=!!this.getRenderProp(`value`)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}remapValue(e){return wv(e,this.valueType)}readInputValue(){return this.remapValue(Tv(this.ctaRef.el?.value))}step(e,t){var n,r,i;t===`up`?(n=this.ctaRef.el)==null||n.stepUp():(r=this.ctaRef.el)==null||r.stepDown(),this._value=this.readInputValue(),this.handleInput(e,this._value),this.handleChange(e,this._value),this.hasValue=!!this._value,(i=this.ctaRef.el)==null||i.focus()}renderStepButton(e){return this._disabled||this._readOnly||ni(`inputNumberButtons`,this.host)===`hide`?null:k(`button`,{type:`button`,"aria-hidden":`true`,tabIndex:-1,class:`${kv} ${kv}-${e} kol-input-container__smart-button`,onClick:e===`up`?this.handleStepUp:this.handleStepDown,disabled:this._disabled||this._readOnly},k(Ul,{icons:e===`up`?`kolicon-plus`:`kolicon-minus`,label:``}))}getInputProps(){let e=this.id,t=this.getRenderProp(`accessKey`),n=this.getRenderProp(`placeholder`),r=this.getRenderProp(`shortKey`),i=this.getRenderProp(`suggestions`),{ariaDescribedBy:a,hasError:o}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:e,hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),disabled:this.getRenderProp(`disabled`),name:this.getRenderProp(`name`)||void 0},t?{accessKey:t}:{}),{value:this.getRenderProp(`value`)??null,required:this.getRenderProp(`required`)}),n===void 0?{}:{placeholder:n}),{autoComplete:this.getRenderProp(`autoComplete`),readonly:this.getRenderProp(`readOnly`),min:this.getRenderProp(`min`)??null,max:this.getRenderProp(`max`)??null,step:this.getRenderProp(`step`)??null,touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)}),r?{"aria-keyshortcuts":r}:{}),i.length>0?{suggestions:k(y_,{id:e,suggestions:i})}:{}),{ref:this.ctaRef,type:`number`,onBlur:this.handleNumberBlur,onChange:this.handleNumberChange,onClick:this.handleClick,onFocus:this.handleNumberFocus,onInput:this.handleNumberInput,onKeyDown:this.handleNumberKeyDown,ariaDescribedBy:a,"aria-invalid":o?`true`:void 0})}render(){let e=this.getRenderProp(`disabled`),{startAdornment:t,endAdornment:n}=Ch({icons:this.getRenderProp(`icons`),smartButton:this.getSmartButtonFcProps(this.getRenderProp(`smartButton`),e),startAdornment:this.renderStepButton(`down`),endAdornment:this.renderStepButton(`up`)});return k(A,{key:`0849bfffbcc7feded63cdaa975893371c5a8c124`},k(ch,Object.assign({key:`f54e0c074667aa3950e007ae58ca00c979d44867`},this.getFormFieldProps({class:B(Ov(),`number`,{"has-value":this.hasValue}),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,variant:this.getRenderProp(`variant`),required:this.getRenderProp(`required`),readOnly:this.getRenderProp(`readOnly`)})),k(Dh,{key:`dad7a40cc08a4152125d0403b99b8111e9bdba54`,disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n},k(Mh,Object.assign({key:`99a86baff9b0ca3d989147ebc36e7c73cfa4a35c`},this.getInputProps())))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_step:[{watchStep:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-input-number input { appearance: textfield; text-align: right; } .kol-input-number input::-webkit-inner-spin-button { display: none; } }`}}},[545,`kol-input-number`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_autoComplete:[1,`_auto-complete`],_disabled:[4],_hideMsg:[4,`_hide-msg`],_hideLabel:[4,`_hide-label`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_max:[8],_min:[8],_msg:[1],_name:[1],_on:[16],_placeholder:[1],_readOnly:[4,`_read-only`],_required:[4],_shortKey:[1,`_short-key`],_smartButton:[1,`_smart-button`],_suggestions:[1],_step:[8],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1544],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_suggestions:[{watchSuggestions:0}],_step:[{watchStep:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);function Mv(){typeof customElements<`u`&&[`kol-input-number`].forEach((e=>{e===`kol-input-number`&&(customElements.get(M(e))||customElements.define(M(e),jv))}))}H([U(`ctaRef`)],jv.prototype,`focus`,null),H([W(`ctaRef`)],jv.prototype,`click`,null);var Nv=jv,Pv=Mv,Fv=z(`visibilityToggle`,!1,Dc),Iv={required:[...rv.required],optional:[...rv.optional,Fv]},Lv=N.forBlock(`kol-input-password`),Rv=j(class extends iv{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=wu(`input-password`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.passwordVisible=!1,this.visibilityToggle=Im((()=>this.host)),this.translateHidePassword=G(`kol-hide-password`),this.translateShowPassword=G(`kol-show-password`),this.propsConfig=Iv,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete=`off`,this._hasCounter=!1,this._maxLengthBehavior=`hard`,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._maxLength=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._pattern=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this._visibilityToggle=!1,this.handleVisibilityToggle=()=>{var e;this.passwordVisible=!this.passwordVisible,(e=this.ctaRef.el)==null||e.focus()},this.initFormAssociation(`password`,this._name)}watchAccessKey(e){this.applyAccessKey(e)}watchAriaDetails(e){this.applyAriaDetails(e)}watchAutoComplete(e){this.applyAutoComplete(e),e===`on`&&Xi(`[KolInputPassword] The 'autocomplete' option should not be set to "on" for a password input field`)}watchHasCounter(e){this.applyHasCounter(e)}watchMaxLengthBehavior(e){this.applyMaxLengthBehavior(e)}watchDisabled(e){this.applyDisabled(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){this.applyIcons(e)}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMaxLength(e){this.applyMaxLength(e)}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchPattern(e){this.applyPattern(e)}watchPlaceholder(e){this.applyPlaceholder(e)}watchReadOnly(e){this.applyReadOnly(e)}watchRequired(e){this.applyRequired(e)}watchShortKey(e){this.applyShortKey(e)}watchSmartButton(e){this.applySmartButton(e)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}watchVisibilityToggle(e){Fv.apply(e,(e=>this.setRenderProp(`visibilityToggle`,e)))}getValue(){return Promise.resolve(this.ctaRef.el?.value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}connectedCallback(){super.connectedCallback(),this.visibilityToggle.syncListeners()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchHasCounter(this._hasCounter),this.watchMaxLengthBehavior(this._maxLengthBehavior),this.initMaxLength(this._maxLength),this.watchPattern(this._pattern),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchVisibilityToggle(this._visibilityToggle),this.initValue(this._value),this.initHasValue()}componentDidLoad(){this.didLoadTextInput()}componentDidUpdate(){this.didUpdateTextInput()}componentDidRender(){this.syncFormField(),this.visibilityToggle.syncListeners()}disconnectedCallback(){this.visibilityToggle.destroy(),this.destroyTextInput()}getVisibilityToggle(){return this.getRenderProp(`visibilityToggle`)?k(hd,Object.assign({},this.visibilityToggle.getFcProps({_label:this.passwordVisible?this.translateHidePassword:this.translateShowPassword,_icons:this.passwordVisible?`kolicon-eye-closed`:`kolicon-eye`,_hideLabel:!0,_disabled:this._disabled,_on:{onClick:this.handleVisibilityToggle}},{class:B(Lv(`password-toggle-button`),`kol-input-container__smart-button`)}))):null}render(){let{startAdornment:e,endAdornment:t}=this.getTextInputAdornments(this.getVisibilityToggle());return k(A,{key:`8d315437a9f010168227da7c457c2e267d1fd6e1`},k(ch,Object.assign({key:`175a2ac161f829e89351354a162642f23ac0df8a`},this.getTextFormFieldProps(B(Lv(),`password`))),k(Dh,{key:`4875726338e2b47964e1cef54f7d6557b3230ed4`,disabled:this.getRenderProp(`disabled`),msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:e,endAdornment:t},k(Mh,Object.assign({key:`951f63a453ba59ff8a736a7bbbd004362618a7b2`},this.getTextInputProps({},{type:this.getRenderProp(`visibilityToggle`)&&this.passwordVisible?`text`:`password`}))))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_hasCounter:[{watchHasCounter:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}],_visibilityToggle:[{watchVisibilityToggle:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-input-password { --kol-tooltip-width: calc(160 * 1rem / var(--kolibri-root-font-size, 16)); } }`}}},[545,`kol-input-password`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_autoComplete:[1,`_auto-complete`],_hasCounter:[4,`_has-counter`],_maxLengthBehavior:[1,`_max-length-behavior`],_disabled:[4],_hideMsg:[4,`_hide-msg`],_hideLabel:[4,`_hide-label`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_maxLength:[2,`_max-length`],_msg:[1],_name:[1],_on:[16],_pattern:[1],_placeholder:[1],_readOnly:[4,`_read-only`],_required:[4],_shortKey:[1,`_short-key`],_smartButton:[1,`_smart-button`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1025],_variant:[1],_visibilityToggle:[4,`_visibility-toggle`],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],passwordVisible:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_hasCounter:[{watchHasCounter:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}],_visibilityToggle:[{watchVisibilityToggle:0}]}]);H([U(`ctaRef`)],Rv.prototype,`focus`,null),H([W(`ctaRef`)],Rv.prototype,`click`,null);var zv=Rv,Bv=function(){typeof customElements<`u`&&[`kol-input-password`].forEach((e=>{e===`kol-input-password`&&(customElements.get(M(e))||customElements.define(M(e),Rv))}))},Vv=(e,t,n=``)=>{t.forEach(((t,r)=>{let i=`${n}-${r}`;typeof t==`object`&&t&&typeof t.label==`string`&&t.label.length>0&&(Array.isArray(t.options)?Vv(e,t.options,i):e.set(i,t))}))},Hv=e=>e.map((e=>typeof e==`object`&&e&&typeof e.label==`string`?Object.assign(Object.assign({},e),{value:e.value??e.label}):e)),Uv=e=>{let t=(e=>typeof e==`object`&&e?e.label:void 0)(e);return typeof t==`string`&&t.length>0||typeof t==`number`&&Number.isFinite(t)};function Wv(){return z(`options`,[],(e=>{let t=typeof e==`string`?Ea(e):e;if(Array.isArray(t)&&t.every(Uv)){let e=t;return e.some((e=>typeof e.label==`number`))?e.map((e=>Object.assign(Object.assign({},e),{label:String(e.label)}))):e}throw Error(`Invalid options`)}))}var Gv=[`horizontal`,`vertical`];function Kv(e){let t=R(e);if(Gv.includes(t))return t;throw Error(`Invalid orientation: ${t}`)}var qv=z(`orientation`,`horizontal`,Kv),Jv=Wv(),Yv=z(`orientation`,`vertical`,Kv),Xv=z(`value`,null,(e=>Array.isArray(e)?e[0]:e)),Zv=N.forBlock(`kol-input-radio`),Qv=e=>{var{class:t,inputProps:n}=e,r=yl(e,[`class`,`inputProps`]);let{class:i}=n,a=yl(n,[`class`]);return k(cl,Object.assign({component:`label`,block:`kol-input-radio`,modifiers:Object.assign({checked:!!n.checked,disabled:!!n.disabled,required:!!n.required,touched:!!n.touched},Km(n.msg,n.touched)?{[qm(n.msg)]:!0}:{}),class:t},r),k(Mh,Object.assign({class:B(Zv(`input`),i)},a,{type:`radio`})))},$v={required:[...th.required],optional:[...th.optional,Jv,Yv,Xv,kh,Zu]},ey=j(class extends uh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=wu(`input-radio`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.inputRefs=new Map,this.keyOptionMap=new Map,this.optionTooltips=new Map,this.propsConfig=$v,this._ariaDetails=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint=``,this._infoPopover=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._options=void 0,this._orientation=`vertical`,this._required=!1,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=null,this._variant=void 0,this.setSelectedInputRef=e=>{this.inputRef=e},this.setOptionInputRef=e=>t=>{t?this.inputRefs.set(e,t):this.inputRefs.delete(e)},this.handleRadioInput=e=>{let t=this.getOptionOfEvent(e);t!==void 0&&this.handleInput(e,t.value)},this.handleRadioChange=e=>{let t=this.getOptionOfEvent(e);t!==void 0&&(this.handleChange(e,t.value),this._value=t.value)},this.handleRadioKeyDown=e=>{this.handleKeyDown(e),dm(e,{form:this.host,ref:this.inputRef})},this.initFormAssociation(`radio`,this._name)}watchAriaDetails(e){this.applyAriaDetails(e)}watchDisabled(e){this.applyDisabled(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchOptions(e){Jv.apply(e,(e=>{this.setRenderProp(`options`,e),e.length>0&&(this.keyOptionMap.clear(),Vv(this.keyOptionMap,Hv(e)))}))}watchOrientation(e){Yv.apply(e,(e=>this.setRenderProp(`orientation`,e)))}watchRequired(e){kh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){e==null?this.setRenderProp(`value`,e):Xv.apply(e,(e=>this.setRenderProp(`value`,e))),this.formAssociation.setFormAssociatedValue(this.getRenderProp(`value`))}watchVariant(e){Zu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this._value)}async focus(e){return Al(this.host,(()=>Pl(this.getFocusableInput(),e)))}async click(){return Fl(this.host,(async()=>Ll(this.getFocusableInput())))}componentWillLoad(){this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchRequired(this._required),this.watchOrientation(this._orientation),this.watchOptions(this._options),this.watchValue(this._value)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField(),this.optionTooltips.forEach((e=>e.destroy())),this.optionTooltips.clear()}isOptionSelected(e){return this.getRenderProp(`value`)===(e.value??e.label)}getFocusableInput(){let e=this.getRenderProp(`options`),t=!!this.getRenderProp(`disabled`),n=e.findIndex((e=>this.isOptionSelected(e)&&!t&&!e.disabled));if(n!==-1){let e=this.inputRefs.get(n);if(e)return e}let r=e.findIndex((e=>!t&&!e.disabled));if(r!==-1)return this.inputRefs.get(r)}getOptionOfEvent(e){return e.target instanceof HTMLInputElement?this.keyOptionMap.get(e.target.value):void 0}getOptionTooltipRefs(e,t){let n=this.optionTooltips.get(e);$g({hideLabel:this.getRenderProp(`hideLabel`),label:t})?(n||(n=new Kf(V.stateLess),n.componentWillLoad({label:``}),this.optionTooltips.set(e,n)),n.watchAlign(this.getRenderProp(`tooltipAlign`)),n.watchBadgeText(``),n.watchId(Tu(e,`label`)),n.watchLabel(t)):n&&=(n.destroy(),this.optionTooltips.delete(e),void 0);let r=n;return{refInput:e=>{r&&e&&(r.initContext(e),r.syncListeners(void 0,e,!0))},refTooltip:e=>{r?.setTooltipElementRef(e)}}}isOptionDisabled(e){return!!this.getRenderProp(`disabled`)||!!e.disabled}getInputProps(e,t,n,r){let{hasError:i}=this.getAria(),a=this.getRenderProp(`hideLabel`);return{id:t,hideLabel:a,label:this.getRenderProp(`label`),value:`-`+n,disabled:this.isOptionDisabled(e),name:this.getRenderProp(`name`)||this.id,required:this.getRenderProp(`required`),touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`),ref:e=>{this.setOptionInputRef(n)(e),r&&this.setSelectedInputRef(e)},"aria-label":a&&typeof e.label==`string`?e.label:void 0,type:`radio`,checked:r,onBlur:this.handleBlur,onChange:this.handleRadioChange,onFocus:this.handleFocus,onInput:this.handleRadioInput,onKeyDown:this.handleRadioKeyDown,"aria-invalid":i?`true`:void 0}}renderOption(e,t){let n=Tu(this.id,t+``),r=this.isOptionSelected(e),i=e.label;return k(e_,Object.assign({key:n,id:n,label:i,hint:e.hint,hideLabel:this.getRenderProp(`hideLabel`),tooltipAlign:this.getRenderProp(`tooltipAlign`),disabled:this.isOptionDisabled(e),msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),required:!1,labelProps:{showBadge:!1}},this.getOptionTooltipRefs(n,i)),k(Qv,{inputProps:this.getInputProps(e,n,t,r)}))}render(){let{ariaDescribedBy:e}=this.getAria();return k(A,{key:`fac3cd11f8370ba172f1aa1c1d5aa5f8d3e550c0`},k(ch,Object.assign({key:`c8d6cba2cb494267d359681aec4fccc7d7d23476`},this.getFormFieldProps({class:`kol-form-field--radio`,required:this.getRenderProp(`required`),variant:this.getRenderProp(`variant`),renderNoTooltip:!0}),{component:`fieldset`,orientation:this.getRenderProp(`orientation`),hideLabel:!1,ariaDescribedBy:e.length>0?e.join(` `):void 0}),this.getRenderProp(`options`).map(((e,t)=>this.renderOption(e,t)))))}get host(){return this}static get watchers(){return{_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_orientation:[{watchOrientation:0}],_required:[{watchRequired:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-field-control { display: grid; min-height: var(--a11y-min-size); align-items: center; justify-content: left; grid-template-areas: "input label"; grid-template-columns: auto 1fr; grid-template-rows: auto; } .kol-field-control:has(.kol-field-control__hint) { grid-template-areas: "input label" "hint hint"; grid-template-columns: auto 1fr; grid-template-rows: auto auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label) { grid-template-areas: "label input"; grid-template-columns: 1fr auto; grid-template-rows: auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) { grid-template-areas: "label input" "hint hint"; grid-template-columns: 1fr auto; grid-template-rows: auto auto; } .kol-field-control__input { display: flex; min-height: var(--a11y-min-size); align-items: center; grid-area: input; } .kol-field-control__label { display: flex; min-height: var(--a11y-min-size); flex-grow: 1; align-items: center; cursor: pointer; grid-area: label; } .kol-field-control__label--visually-hidden { display: none; height: 0; margin: 0; padding: 0; visibility: hidden; } .kol-field-control__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-field-control__hint { grid-area: hint; } .kol-field-control--disabled .kol-field-control__label { cursor: not-allowed; } .kol-field-control--required .kol-field-control__label-text:has(.kol-span__slot[hidden])::after, .kol-field-control--required .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-form-field { --border-width: 2px; --input-size: 1.5em; } .kol-form-field__label { display: contents; } .kol-form-field__label-text { display: ruby; } .kol-form-field__input { display: flex; flex-direction: column; } .kol-form-field__input--orientation-horizontal { flex-direction: row; flex-wrap: wrap; align-items: flex-start; } .kol-form-field--disabled { opacity: unset; } .kol-input-radio { display: flex; position: relative; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; cursor: pointer; } .kol-input-radio__input { border-style: solid; border-radius: 100%; display: flex; width: var(--input-size); min-width: var(--input-size); height: var(--input-size); min-height: var(--input-size); margin: 0; padding: 0; border-width: var(--border-width); appearance: none; cursor: pointer; } .kol-input-radio__input:before { border-radius: 100%; width: calc(var(--input-size) / 2); height: calc(var(--input-size) / 2); margin: auto; content: ""; } .kol-input-radio__input:checked:before { background-color: black; } @media (forced-colors: active) { .kol-input-radio__input:checked:before { background-color: selectedItem !important; } } .kol-input-radio__input:disabled { cursor: not-allowed; } .kol-input-radio--disabled { cursor: not-allowed; } }`}}},[545,`kol-input-radio`,{_ariaDetails:[1,`_aria-details`],_disabled:[4],_hideMsg:[4,`_hide-msg`],_hideLabel:[4,`_hide-label`],_hint:[1],_infoPopover:[16],_label:[1],_msg:[1],_name:[1],_on:[16],_options:[1],_orientation:[1],_required:[4],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1544],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_orientation:[{watchOrientation:0}],_required:[{watchRequired:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]),ty=ey,ny=function(){typeof customElements<`u`&&[`kol-input-radio`].forEach((e=>{e===`kol-input-radio`&&(customElements.get(M(e))||customElements.define(M(e),ey))}))},ry={required:[...th.required],optional:[...th.optional,Lu,v_,xh,bv,xv,Sv,qu,E_,Ah,Zu]},iy=N.forBlock(`kol-input-range`),ay=iy(`input`,{number:!0}),oy=iy(`input`,{range:!0}),sy=iy(`inputs-wrapper`),cy=({max:e,min:t},n)=>k(`div`,{class:sy,style:{"--kolibri-input-range--input-number--width":`calc(${Math.max(((e??100)+``).length,((t??0)+``).length,4)}ch + 2em)`}},n),ly=j(class extends uh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=wu(`input-range`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=Rl(),this.valueIsNumberString=!1,this.propsConfig=ry,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete=`off`,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._max=100,this._min=0,this._msg=void 0,this._name=void 0,this._on=void 0,this._shortKey=void 0,this._step=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this.handleRangeInput=e=>{let t=e.target,n=this.readValue(t.value);t===this.rangeRef?this._value=n:this.rangeRef&&Number.isFinite(Number(n))&&(this.rangeRef.value=n+``),this.handleInput(e,n)},this.handleRangeChange=e=>{let t=this.readValue(e.target.value);this._value=t,this.handleChange(e,t)},this.handleNumberKeyDown=e=>{this.handleKeyDown(e),dm(e,{form:this.host,ref:this.ctaRef.el})},this.setRangeRef=e=>{e&&(this.rangeRef=e)},this.initFormAssociation(`range`,this._name)}watchAccessKey(e){Lu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Hp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchAutoComplete(e){v_.apply(e,(e=>this.setRenderProp(`autoComplete`,e)))}watchDisabled(e){this.applyDisabled(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){xh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMax(e){bv.apply(e,(e=>this.setRenderProp(`max`,e)))}watchMin(e){xv.apply(e,(e=>this.setRenderProp(`min`,e)))}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchShortKey(e){qu.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Hp(this._accessKey,e)}watchStep(e){E_.apply(e,(e=>this.setRenderProp(`step`,e)))}watchSuggestions(e){Ah.apply(e,(e=>this.setRenderProp(`suggestions`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){Sv.apply(e,(e=>this.setRenderProp(`value`,e))),this.formAssociation.setFormAssociatedValue(this.getRenderProp(`value`)??null),e!==void 0&&(this.valueIsNumberString=Cv(e)===`NumberString`)}watchVariant(e){Zu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.ctaRef.el===void 0?void 0:this.readValue(this.ctaRef.el.value))}focus(e){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){this.setRenderProp(`min`,0),this.setRenderProp(`max`,100),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchMax(this._max),this.watchMin(this._min),this.watchStep(this._step),this.watchSuggestions(this._suggestions),this.watchValue(this._value)}componentDidLoad(){var e;!this._value&&(e=this.rangeRef)!=null&&e.value&&(this._value=parseFloat(this.rangeRef.value))}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}readValue(e){let t=Ev(e,this.getRenderProp(`min`),this.getRenderProp(`max`));return wv(t,this.valueIsNumberString?`NumberString`:`number`)??t}getSharedInputProps(){let e=this.getRenderProp(`accessKey`),t=this.getRenderProp(`shortKey`);return Object.assign(Object.assign(Object.assign(Object.assign({id:this.id,hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),disabled:this.getRenderProp(`disabled`),name:void 0},e?{accessKey:e}:{}),{value:this.getRenderProp(`value`)??null,autoComplete:this.getRenderProp(`autoComplete`),min:this.getRenderProp(`min`)??null,max:this.getRenderProp(`max`)??null,step:this.getRenderProp(`step`)??null,touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)}),t?{"aria-keyshortcuts":t}:{}),{onBlur:this.handleBlur,onChange:this.handleRangeChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleRangeInput,onKeyDown:this.handleKeyDown})}render(){let e=this.getRenderProp(`disabled`),t=this.getRenderProp(`name`),n=this.getRenderProp(`min`),r=this.getRenderProp(`max`),i=this.getRenderProp(`suggestions`),a=i.length>0,o=a?Tu(this.id,`list`):void 0,s=this.getSharedInputProps(),{ariaDescribedBy:c,hasError:l}=this.getAria(),u=l?`true`:void 0,{startAdornment:d,endAdornment:f}=Ch({icons:this.getRenderProp(`icons`)});return k(A,{key:`10b545a08f51a7b492f3ac812e93bbddd8c10862`},k(ch,Object.assign({key:`7824b730788699a12596160ba4ef6733e98efdc1`},this.getFormFieldProps({class:`kol-input-range range`,accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,variant:this.getRenderProp(`variant`)})),k(Dh,{key:`102242477d6e7137987f3c7ab160241d354366c9`,disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:d,endAdornment:f},k(cy,{key:`2090bc0a05a75cf77f9ee69a9b78a81e58822dbf`,max:r,min:n},k(Mh,Object.assign({key:`2d309f6e270fd8a2b6901570bf7e9cf71580cc20`},s,{class:oy,name:t?t+`-range`:void 0,list:o,type:`range`,tabIndex:-1,id:void 0,accessKey:void 0,"aria-hidden":`true`,ref:this.setRangeRef,ariaDescribedBy:c,"aria-invalid":u})),k(Mh,Object.assign({key:`b50927e1e728773c472fcbbed10f57dacd9ae3d1`},s,{class:ay,name:t?t+`-number`:void 0,list:o,type:`number`,ref:this.ctaRef,onKeyDown:this.handleNumberKeyDown,ariaDescribedBy:c,"aria-invalid":u}))),a&&k(y_,{key:`ed4ae34650d1dc858f817a0fb9f3af34e6168cc5`,id:this.id,suggestions:i}))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_step:[{watchStep:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-input-range__inputs-wrapper { display: flex; flex-grow: 1; flex-direction: row; flex-wrap: wrap; align-items: center; } .kol-input-range__input--number { width: var(--kolibri-input-range--input-number--width); text-align: right; } .kol-input-range__input--range { background-color: white; display: inline-block; width: 0; min-width: calc(128 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); margin: 0; padding: 0; flex-grow: 1; line-height: 1.5; appearance: none; border: 1px solid black; } .kol-input-range__input:not(:disabled).kol-input-range__input--range::-webkit-slider-thumb { cursor: pointer; } .kol-input-range__input--range::-webkit-slider-thumb { background-color: black; border-radius: 20px; width: calc(20 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(20 * 1rem / var(--kolibri-root-font-size, 16)); -webkit-appearance: none; } @media (prefers-contrast: more) or (forced-colors: active) { .kol-input-range__input--range::-webkit-slider-thumb { outline: 1px solid currentColor; } } .kol-input-range__input:not(:disabled).kol-input-range__input--range::-moz-range-thumb { cursor: pointer; } .kol-input-range__input--range::-moz-range-thumb { background-color: black; border-radius: 20px; width: calc(20 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(20 * 1rem / var(--kolibri-root-font-size, 16)); -moz-appearance: none; } }`}}},[545,`kol-input-range`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_autoComplete:[1,`_auto-complete`],_disabled:[4],_hideMsg:[4,`_hide-msg`],_hideLabel:[4,`_hide-label`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_max:[8],_min:[8],_msg:[1],_name:[1],_on:[16],_shortKey:[1,`_short-key`],_step:[8],_suggestions:[1],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1544],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_step:[{watchStep:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);H([U(`ctaRef`)],ly.prototype,`focus`,null),H([W(`ctaRef`)],ly.prototype,`click`,null);var uy=ly,dy=function(){typeof customElements<`u`&&[`kol-input-range`].forEach((e=>{e===`kol-input-range`&&(customElements.get(M(e))||customElements.define(M(e),ly))}))},fy=z(`spellCheck`,void 0,Dc),py=[`text`,`search`,`url`,`tel`],my=z(`type`,`text`,(function(e){let t=R(e);if(kc(t,py))return t;throw Error(`Invalid input text type: `+t)})),hy={required:[...rv.required],optional:[...rv.optional,my,fy,Ah]},gy=N.forBlock(`kol-input-text`),_y=j(class extends iv{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=wu(`input-text`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.clearButton=Im((()=>this.host)),this.translateClearSearch=G(`kol-clear-search`),this.propsConfig=hy,this._accessKey=void 0,this._autoComplete=`off`,this._ariaDetails=void 0,this._hasCounter=!1,this._maxLengthBehavior=`hard`,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._maxLength=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._pattern=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._spellCheck=void 0,this._suggestions=void 0,this._smartButton=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._type=`text`,this._value=void 0,this._variant=void 0,this.handleClearButtonClick=()=>{var e;if(this._disabled||this._readOnly||!this.hasValue)return;let t={name:this.getRenderProp(`name`),value:``};this._value=``,this.ctaRef.el&&(this.ctaRef.el.value=``),this.handleInput(uo(P.input,t,this.ctaRef.el),``),this.handleTextChange(uo(P.change,t,this.ctaRef.el),``),(e=this.ctaRef.el)==null||e.focus()},this.initFormAssociation(`text`,this._name)}watchAccessKey(e){this.applyAccessKey(e)}watchAutoComplete(e){this.applyAutoComplete(e)}watchAriaDetails(e){this.applyAriaDetails(e)}watchHasCounter(e){this.applyHasCounter(e)}watchMaxLengthBehavior(e){this.applyMaxLengthBehavior(e)}watchDisabled(e){this.applyDisabled(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){this.applyIcons(e)}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMaxLength(e){this.applyMaxLength(e)}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchPattern(e){this.applyPattern(e)}watchPlaceholder(e){this.applyPlaceholder(e)}watchReadOnly(e){this.applyReadOnly(e)}watchRequired(e){this.applyRequired(e)}watchShortKey(e){this.applyShortKey(e)}watchSpellCheck(e){fy.apply(e,(e=>this.setRenderProp(`spellCheck`,e)))}watchSuggestions(e){Ah.apply(e,(e=>this.setRenderProp(`suggestions`,e)))}watchSmartButton(e){this.applySmartButton(e)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchType(e){my.apply(e,(e=>this.setRenderProp(`type`,e)))}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this.ctaRef.el?.value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}async selectionStart(){return Promise.resolve(this.ctaRef.el?.selectionStart)}async selectionEnd(){return Promise.resolve(this.ctaRef.el?.selectionEnd)}setSelectionRange(e,t,n){var r;return(r=this.ctaRef.el)==null||r.setSelectionRange(e,t,n),Promise.resolve()}setSelectionStart(e){var t;return(t=this.ctaRef.el)==null||t.setSelectionRange(e,e),Promise.resolve()}setRangeText(e,t,n,r){var i,a;return t!==void 0&&n!==void 0?(i=this.ctaRef.el)==null||i.setRangeText(e,t,n,r):(a=this.ctaRef.el)==null||a.setRangeText(e),Promise.resolve()}connectedCallback(){super.connectedCallback(),this.clearButton.syncListeners()}componentWillLoad(){this.unsetRenderProp(`smartButton`),this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchHasCounter(this._hasCounter),this.watchMaxLengthBehavior(this._maxLengthBehavior),this.initMaxLength(this._maxLength),this.watchPattern(this._pattern),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchSuggestions(this._suggestions),this.watchSpellCheck(this._spellCheck),this.watchType(this._type),this.initValue(this._value),this.initHasValue()}componentDidLoad(){this.didLoadTextInput()}componentDidUpdate(){this.didUpdateTextInput()}componentDidRender(){this.syncFormField(),this.clearButton.syncListeners()}disconnectedCallback(){this.clearButton.destroy(),this.destroyTextInput()}getClearButton(){if(this._disabled||this.getRenderProp(`readOnly`)||this.getRenderProp(`type`)!==`search`)return null;let e=this.hasValue;return k(hd,Object.assign({},this.clearButton.getFcProps({_label:this.translateClearSearch,_icons:`kolicon-cross`,_hideLabel:!0,_disabled:!e,_on:{onClick:this.handleClearButtonClick}},{class:B(gy(`clear-button`),`kol-input-container__smart-button`,{"kol-input-text__clear-button--hidden":!e})})))}render(){let e=this.getRenderProp(`type`),{startAdornment:t,endAdornment:n}=this.getTextInputAdornments(this.getClearButton());return k(A,{key:`201c23f61ec12b33a4603873879c373f252861ae`},k(ch,Object.assign({key:`061603e37f1e7aed8e1df3eaa96097c838f3e751`},this.getTextFormFieldProps(B(gy(),e))),k(Dh,{key:`60b8c7a09ab45896e51ba42192ac5cf0289aea0a`,disabled:this.getRenderProp(`disabled`),msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n},k(Mh,Object.assign({key:`e96ebffad5b8551f6f8a2613bfe3b31e7f42e948`},this.getTextInputProps({type:e,spellcheck:this.getRenderProp(`spellCheck`),suggestions:this.getRenderProp(`suggestions`)}))))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_autoComplete:[{watchAutoComplete:0}],_ariaDetails:[{watchAriaDetails:0}],_hasCounter:[{watchHasCounter:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_spellCheck:[{watchSpellCheck:0}],_suggestions:[{watchSuggestions:0}],_smartButton:[{watchSmartButton:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } input[type=search]::-webkit-search-cancel-button { display: none; } .kol-input-text__clear-button--hidden { display: none; } }`}}},[545,`kol-input-text`,{_accessKey:[1,`_access-key`],_autoComplete:[1,`_auto-complete`],_ariaDetails:[1,`_aria-details`],_hasCounter:[4,`_has-counter`],_maxLengthBehavior:[1,`_max-length-behavior`],_disabled:[4],_hideMsg:[4,`_hide-msg`],_hideLabel:[4,`_hide-label`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_maxLength:[2,`_max-length`],_msg:[1],_name:[1],_on:[16],_pattern:[1],_placeholder:[1],_readOnly:[4,`_read-only`],_required:[4],_shortKey:[1,`_short-key`],_spellCheck:[4,`_spell-check`],_suggestions:[1],_smartButton:[1,`_smart-button`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_type:[1],_value:[1537],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64],selectionStart:[64],selectionEnd:[64],setSelectionRange:[64],setSelectionStart:[64],setRangeText:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_autoComplete:[{watchAutoComplete:0}],_ariaDetails:[{watchAriaDetails:0}],_hasCounter:[{watchHasCounter:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_pattern:[{watchPattern:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_spellCheck:[{watchSpellCheck:0}],_suggestions:[{watchSuggestions:0}],_smartButton:[{watchSmartButton:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);H([U(`ctaRef`)],_y.prototype,`focus`,null),H([W(`ctaRef`)],_y.prototype,`click`,null);var vy=_y,yy=function(){typeof customElements<`u`&&[`kol-input-text`].forEach((e=>{e===`kol-input-text`&&(customElements.get(M(e))||customElements.define(M(e),_y))}))},by=z(`labeled`,!0,Dc),xy={optional:[Yc,by]},Sy=N.forBlock(`kol-kolibri`),Cy=e=>{let{ariaLabel:t,color:n,labeled:r}=ul(xy,e),i=`rgb(${n.red},${n.green},${n.blue})`;return k(cl,{block:`kol-kolibri`,component:`svg`,role:`img`,"aria-label":t,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 600 600`,fill:i},k(`path`,{d:`M353 322L213 304V434L353 322Z`}),k(`path`,{d:`M209 564V304L149 434L209 564Z`}),k(`path`,{d:`M357 316L417 250L361 210L275 244L357 316Z`}),k(`path`,{d:`M329 218L237 92L250 222L272 241L329 218Z`}),k(`path`,{d:`M353 318L35 36L213 300L353 318Z`}),k(`path`,{d:`M391 286L565 272L421 252L391 286Z`}),!0===r&&k(`text`,{class:Sy(`text`),x:`250`,y:`525`,fill:i},`KoliBri`))},wy=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.translateKolibriLogo=G(`kol-kolibri-logo`),this.propsConfig=xy,this._color=`#003c78`,this._labeled=!0}watchColor(e){Yc.apply(e,(e=>this.setRenderProp(`color`,e)))}watchLabeled(e){by.apply(e,(e=>this.setRenderProp(`labeled`,e)))}componentWillLoad(){this.watchColor(this._color),this.watchLabeled(this._labeled)}render(){return k(A,{key:`8c7dc2c807cf20ce1aa78db052eb02d7886396e9`},k(Cy,{key:`b9726f92e6e614fdcb3b77a8bda838a7c203f296`,ariaLabel:this.translateKolibriLogo,color:this.getRenderProp(`color`),labeled:this.getRenderProp(`labeled`)}))}static get watchers(){return{_color:[{watchColor:0}],_labeled:[{watchLabeled:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-kolibri { display: inline-block; max-height: 100%; } .kol-kolibri__text { font-size: calc(90 * 1rem / var(--kolibri-root-font-size, 16)); letter-spacing: normal; word-spacing: normal; } }`}}},[545,`kol-kolibri`,{_color:[1],_labeled:[4]},void 0,{_color:[{watchColor:0}],_labeled:[{watchLabeled:0}]}]),Ty=wy,Ey=function(){typeof customElements<`u`&&[`kol-kolibri`].forEach((e=>{e===`kol-kolibri`&&(customElements.get(M(e))||customElements.define(M(e),wy))}))},Dy=class extends V{constructor(){super(...arguments),this.ctaRef=Rl((()=>!0===this.getRenderProp(`disabled`))),this.tooltipBehavior=new Kf(this.stateAccess),this.propsConfig=zp,this.handleAnchorClick=e=>{if(this.tooltipBehavior.hideTooltip(),!0===this.getRenderProp(`disabled`))return void e.preventDefault();let t=this.getRenderProp(`href`),n=this.getRenderProp(`on`);typeof n?.onClick==`function`&&(xa(e,this.ctaRef.el),n.onClick(e,t)),this.host&&F(this.host,P.click,t)},this.setAnchorRef=e=>{this.ctaRef(e)}}unsetLinkTabIndex(){this.unsetRenderProp(`tabIndex`)}initLinkBehaviors(){this.unsubscribeOnLocationChange=io((e=>{let t=this.getRenderProp(`href`),n=this.getRenderProp(`ariaCurrentValue`),r=e===t?n:``;this.getState(`ariaCurrent`)!==r&&this.setState(`ariaCurrent`,r)})),this.tooltipBehavior.componentWillLoad({label:this.getTooltipLabel(),align:this.getRenderProp(`tooltipAlign`)})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyLinkBehaviors(){this.unsubscribeOnLocationChange&&=(this.unsubscribeOnLocationChange(),void 0),this.tooltipBehavior.destroy()}getTooltipLabel(){let e=this.getRenderProp(`label`);if(typeof e==`string`&&e.length>0)return e;let t=this.getRenderProp(`href`);return typeof t==`string`?t:``}applyAccessKey(e){Lu.apply(e,(e=>this.setRenderProp(`accessKey`,e)))}applyAriaControls(e){zu.apply(e,(e=>this.setRenderProp(`ariaControls`,e)))}applyAriaCurrentValue(e){Fp.apply(e,(e=>this.setRenderProp(`ariaCurrentValue`,e)))}applyAriaDescription(e){Bu.apply(e,(e=>this.setRenderProp(`ariaDescription`,e)))}applyAriaExpanded(e){Vu.apply(e,(e=>this.setRenderProp(`ariaExpanded`,e)))}applyAriaOwns(e){Ip.apply(e,(e=>this.setRenderProp(`ariaOwns`,e)))}applyCustomClass(e){Hu.apply(e,(e=>this.setRenderProp(`customClass`,e)))}applyDisabled(e){Sl.apply(e,(e=>this.setRenderProp(`disabled`,e)))}applyDownload(e){Lp.apply(e,(e=>this.setRenderProp(`download`,e)))}applyHideLabel(e){Uu.apply(e,(e=>this.setRenderProp(`hideLabel`,e)))}applyHref(e){Mp.apply(e,(e=>this.setRenderProp(`href`,e)),this.isRequired(`href`))}applyIcons(e){Ju.apply(e,(e=>this.setRenderProp(`icons`,e)))}applyInline(e){Wu.apply(e,(e=>this.setRenderProp(`inline`,e)))}applyLabel(e){nd.apply(e,(t=>{this.setRenderProp(`label`,t),this.setState(`expertSlot`,e===``),this.tooltipBehavior.watchLabel(this.getTooltipLabel())}),this.isRequired(`label`))}applyOn(e){Rp.apply(e,(e=>this.setRenderProp(`on`,e)))}applyRole(e){Ku.apply(e,(e=>this.setRenderProp(`role`,e)))}applyShortKey(e){qu.apply(e,(e=>this.setRenderProp(`shortKey`,e)))}applyTabIndex(e){typeof e==`number`?Yu.apply(e,(e=>this.setRenderProp(`tabIndex`,e))):this.unsetRenderProp(`tabIndex`)}applyTarget(e){Np.apply(e,(e=>this.setRenderProp(`target`,e)))}applyTooltipAlign(e){Xu.apply(e,(e=>{this.setRenderProp(`tooltipAlign`,e),this.tooltipBehavior.watchAlign(e)}))}applyVariant(e){Zu.apply(e,(e=>this.setRenderProp(`variant`,e)))}renderLinkFC(){return k(Vp,{accessKey:this.getRenderProp(`accessKey`),ariaControls:this.getRenderProp(`ariaControls`),ariaCurrent:this.getState(`ariaCurrent`),ariaCurrentValue:this.getRenderProp(`ariaCurrentValue`),ariaDescription:this.getRenderProp(`ariaDescription`),ariaDescriptionId:this.getState(`ariaDescriptionId`),ariaExpanded:this.getRenderProp(`ariaExpanded`),ariaOwns:this.getRenderProp(`ariaOwns`),customClass:this.getRenderProp(`customClass`),disabled:this.getRenderProp(`disabled`),download:this.getRenderProp(`download`),handleAnchorClick:this.handleAnchorClick,hideLabel:this.getRenderProp(`hideLabel`),href:this.getRenderProp(`href`),icons:this.getRenderProp(`icons`),inline:this.getRenderProp(`inline`),label:this.getRenderProp(`label`),on:this.getRenderProp(`on`),refAnchor:this.setAnchorRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp(`role`),shortKey:this.getRenderProp(`shortKey`),tabIndex:this.getRenderProp(`tabIndex`),target:this.getRenderProp(`target`),tooltipAlign:this.getRenderProp(`tooltipAlign`),variant:this.getRenderProp(`variant`),expertSlot:this.getState(`expertSlot`)})}},Oy=j(class extends Dy{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaCurrent=``,this.ariaDescriptionId=Cu(),this.expertSlot=!1,this._accessKey=void 0,this._ariaCurrentValue=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._disabled=!1,this._download=void 0,this._hideLabel=!1,this._icons=void 0,this._inline=!0,this._label=void 0,this._on=void 0,this._shortKey=void 0,this._target=void 0,this._tooltipAlign=`right`,this._variant=void 0}watchAccessKey(e){this.applyAccessKey(e)}watchAriaCurrentValue(e){this.applyAriaCurrentValue(e)}watchAriaControls(e){this.applyAriaControls(e)}watchAriaDescription(e){this.applyAriaDescription(e)}watchAriaExpanded(e){this.applyAriaExpanded(e)}watchDisabled(e){this.applyDisabled(e)}watchDownload(e){this.applyDownload(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHref(e){this.applyHref(e)}watchIcons(e){this.applyIcons(e)}watchInline(e){this.applyInline(e)}watchLabel(e){this.applyLabel(e)}watchOn(e){this.applyOn(e)}watchShortKey(e){this.applyShortKey(e)}watchTarget(e){this.applyTarget(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchVariant(e){this.applyVariant(e)}focus(e){return Promise.resolve()}componentWillLoad(){this.unsetLinkTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaCurrentValue(this._ariaCurrentValue),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchDisabled(this._disabled),this.watchDownload(this._download),this.watchHideLabel(this._hideLabel),this.watchHref(this._href),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchTarget(this._target),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),Hp(this._accessKey,this._shortKey),this.initLinkBehaviors()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyLinkBehaviors()}render(){return k(A,{key:`ef8f0e44d0d0da1220dbc927ec89454f9a00be94`},this.renderLinkFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaCurrentValue:[{watchAriaCurrentValue:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_disabled:[{watchDisabled:0}],_download:[{watchDownload:0}],_hideLabel:[{watchHideLabel:0}],_href:[{watchHref:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_target:[{watchTarget:0}],_tooltipAlign:[{watchTooltipAlign:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } }`}}},[545,`kol-link`,{_accessKey:[1,`_access-key`],_ariaCurrentValue:[1,`_aria-current-value`],_ariaControls:[1,`_aria-controls`],_ariaDescription:[1,`_aria-description`],_ariaExpanded:[4,`_aria-expanded`],_disabled:[4],_download:[1],_hideLabel:[4,`_hide-label`],_href:[1],_icons:[1],_inline:[4],_label:[1],_on:[16],_shortKey:[1,`_short-key`],_target:[1],_tooltipAlign:[1,`_tooltip-align`],_variant:[1],ariaCurrent:[32],ariaDescriptionId:[32],expertSlot:[32],focus:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaCurrentValue:[{watchAriaCurrentValue:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_disabled:[{watchDisabled:0}],_download:[{watchDownload:0}],_hideLabel:[{watchHideLabel:0}],_href:[{watchHref:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_target:[{watchTarget:0}],_tooltipAlign:[{watchTooltipAlign:0}],_variant:[{watchVariant:0}]}]);function ky(){typeof customElements<`u`&&[`kol-link`].forEach((e=>{e===`kol-link`&&(customElements.get(M(e))||customElements.define(M(e),Oy))}))}H([U(`ctaRef`)],Oy.prototype,`focus`,null);var Ay=Oy,jy=ky,My=j(class extends Dy{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaCurrent=``,this.ariaDescriptionId=Cu(),this.expertSlot=!1,this._accessKey=void 0,this._ariaCurrentValue=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._customClass=void 0,this._disabled=!1,this._download=void 0,this._hideLabel=!1,this._icons=void 0,this._inline=!1,this._label=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._target=void 0,this._tooltipAlign=`right`,this._variant=ni(`buttonVariantDefault`,this.host)??`normal`}watchAccessKey(e){this.applyAccessKey(e)}watchAriaCurrentValue(e){this.applyAriaCurrentValue(e)}watchAriaControls(e){this.applyAriaControls(e)}watchAriaDescription(e){this.applyAriaDescription(e)}watchCustomClass(e){this.applyCustomClass(e)}watchDisabled(e){this.applyDisabled(e)}watchDownload(e){this.applyDownload(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHref(e){this.applyHref(e)}watchIcons(e){this.applyIcons(e)}watchInline(e){this.applyInline(e)}watchLabel(e){this.applyLabel(e)}watchOn(e){this.applyOn(e)}watchRole(){}watchShortKey(e){this.applyShortKey(e)}watchTarget(e){this.applyTarget(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchVariant(e){this.applyVariant(e)}focus(e){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){this.unsetLinkTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaCurrentValue(this._ariaCurrentValue),this.watchAriaControls(this._ariaControls),this.watchAriaDescription(this._ariaDescription),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchDownload(this._download),this.watchHideLabel(this._hideLabel),this.watchHref(this._href),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchTarget(this._target),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),Hp(this._accessKey,this._shortKey),this.initLinkBehaviors()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyLinkBehaviors()}render(){return k(A,{key:`6a04ed29c52b39028a29f42fae807cf667ada977`},this.renderLinkFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaCurrentValue:[{watchAriaCurrentValue:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_download:[{watchDownload:0}],_hideLabel:[{watchHideLabel:0}],_href:[{watchHref:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_target:[{watchTarget:0}],_tooltipAlign:[{watchTooltipAlign:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-link__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-link__interactive-element::before { content: "​"; } .kol-link__text { flex: 1 0 100%; } .kol-link { } .kol-link__tooltip { height: 0; } .kol-link--external-link > .kolicon-link-external::before { content: none; } .kol-link--external-link .kol-link__interactive-element > .kolicon-link-external::before { content: none; } }`}}},[545,`kol-link-button`,{_accessKey:[1,`_access-key`],_ariaCurrentValue:[1,`_aria-current-value`],_ariaControls:[1,`_aria-controls`],_ariaDescription:[1,`_aria-description`],_customClass:[1,`_custom-class`],_disabled:[4],_download:[1],_hideLabel:[4,`_hide-label`],_href:[1],_icons:[1],_inline:[4],_label:[1],_on:[16],_role:[1],_shortKey:[1,`_short-key`],_target:[1],_tooltipAlign:[1,`_tooltip-align`],_variant:[1],ariaCurrent:[32],ariaDescriptionId:[32],expertSlot:[32],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaCurrentValue:[{watchAriaCurrentValue:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_download:[{watchDownload:0}],_hideLabel:[{watchHideLabel:0}],_href:[{watchHref:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_target:[{watchTarget:0}],_tooltipAlign:[{watchTooltipAlign:0}],_variant:[{watchVariant:0}]}]);H([U(`ctaRef`)],My.prototype,`focus`,null),H([W(`ctaRef`)],My.prototype,`click`,null);var Ny=My,Py=function(){typeof customElements<`u`&&[`kol-link-button`].forEach((e=>{e===`kol-link-button`&&(customElements.get(M(e))||customElements.define(M(e),My))}))},Fy=z(`max`,100,Sc,(e=>e>0)),Iy=z(`unit`,`%`,R,(e=>e.length>0)),Ly=z(`high`,0,Sc),Ry=z(`low`,0,Sc),zy=z(`min`,0,Sc),By=z(`optimum`,0,Sc),Vy={optional:[Ly,Ry,zy,By,qv,Iy],required:[el,pl,Fy]},Hy=N.forBlock(`kol-meter`),Uy=e=>{let{high:t,label:n,low:r,max:i,min:a,optimum:o,orientation:s,unit:c,value:l}=e,u=l!=null,d=s===`vertical`,f=c===`%`,p=u?f?i===a?0:Math.round((l-a)/(i-a)*100):l:``,m=function(e,t,n,r,i,a){let o=r??t,s=i??n,c=a??(t+n)/2,l=e<o,u=e>s,d=!l&&!u;return c<o?l?`optimum`:d?`suboptimal`:`critical`:c>s?u?`optimum`:d?`suboptimal`:`critical`:d?`optimum`:`suboptimal`}(u?l:a,a,i,r,t,o),h=r!==void 0||t!==void 0,g=``;h&&(g=G(m===`critical`?`kol-meter-state-critical`:m===`optimum`?`kol-meter-state-optimum`:`kol-meter-state-suboptimal`));let _=u?f?G(`kol-live-value`,{placeholders:{value:p+``,unit:c}}):G(`kol-live-value-bounded`,{placeholders:{value:p+``,max:i+``,unit:c}}):``,v=h?`${_} – ${g}`:_,y=(``+i).length>(``+a).length?(``+i).length+`ch`:(``+a).length+`ch`;return k(cl,{block:`kol-meter`,modifiers:{vertical:d}},k(`div`,{class:Hy(`bar`)},k(`div`,{class:Hy(`bar-label`)},fu(n),h&&k(`span`,{class:Hy(`bar-state`,{[m]:!0})},` – `,g)),k(`div`,{class:Hy(`bar-track`)},k(`meter`,{"aria-label":Hc(n),"aria-valuetext":v||void 0,high:t,low:r,max:i,min:a,optimum:o,value:u?l:void 0})),k(`span`,{class:Hy(`value-unit`)},k(`span`,{class:Hy(`value`),style:{"min-width":y}},p),k(`span`,{class:Hy(`unit`)},c))))},Wy=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=Vy,this._high=void 0,this._low=void 0,this._max=1,this._min=0,this._optimum=void 0,this._orientation=`horizontal`,this._unit=`%`}watchHigh(e){e===void 0?this.unsetRenderProp(`high`):Ly.apply(e,(e=>this.setRenderProp(`high`,e)))}watchLabel(e){pl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchLow(e){e===void 0?this.unsetRenderProp(`low`):Ry.apply(e,(e=>this.setRenderProp(`low`,e)))}watchMax(e){Fy.apply(e,(e=>{this.setRenderProp(`max`,e),this.watchValue(this.getRawProp(`value`))}))}watchMin(e){zy.apply(e,(e=>{this.setRenderProp(`min`,e),this.watchValue(this.getRawProp(`value`))}))}watchOptimum(e){e===void 0?this.unsetRenderProp(`optimum`):By.apply(e,(e=>this.setRenderProp(`optimum`,e)))}watchOrientation(e){qv.apply(e,(e=>this.setRenderProp(`orientation`,e)))}watchUnit(e){Iy.apply(e,(e=>this.setRenderProp(`unit`,e)))}watchValue(e){this.setRawProp(`value`,e),el.apply(e,(e=>{this.setRenderProp(`value`,e)}),{min:this.getRenderProp(`min`),max:this.getRenderProp(`max`)})}componentWillLoad(){this.watchHigh(this._high),pl.apply(this._label,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`)),this.watchLow(this._low),Fy.apply(this._max,(e=>{this.setRenderProp(`max`,e),this.watchValue(this.getRawProp(`value`))})),zy.apply(this._min,(e=>{this.setRenderProp(`min`,e),this.watchValue(this.getRawProp(`value`))})),this.watchOptimum(this._optimum),qv.apply(this._orientation,(e=>this.setRenderProp(`orientation`,e))),Iy.apply(this._unit,(e=>this.setRenderProp(`unit`,e))),this.watchValue(this._value)}render(){return k(A,{key:`9db77f1661c14173fd3e132e27e9dd752cddba97`},k(Uy,{key:`fc54f3ca9afdfd60a945abdf371f3eca904a209b`,high:this.getRenderProp(`high`),label:this.getRenderProp(`label`),low:this.getRenderProp(`low`),max:this.getRenderProp(`max`),min:this.getRenderProp(`min`),optimum:this.getRenderProp(`optimum`),orientation:this.getRenderProp(`orientation`),unit:this.getRenderProp(`unit`),value:this.getRenderProp(`value`)}))}static get watchers(){return{_high:[{watchHigh:0}],_label:[{watchLabel:0}],_low:[{watchLow:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_optimum:[{watchOptimum:0}],_orientation:[{watchOrientation:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-meter { --color-optimal: var(--kol-meter-color-optimal, #2ea32e); --color-suboptimal: var(--kol-meter-color-suboptimal, #c8a000); --color-critical: var(--kol-meter-color-critical, #c00); --vertical-height: var(--kol-meter-vertical-height, 128); --horizontal-height: var(--kol-meter-horizontal-height, 12); } .kol-meter__bar { display: grid; align-items: center; grid-template-areas: "label label" "bar value"; grid-template-columns: 1fr auto; } .kol-meter__bar-label { grid-column-end: 2; grid-area: label; } .kol-meter__bar-track { display: flex; min-width: 100%; grid-area: bar; } .kol-meter__value-unit { grid-area: value; } .kol-meter:not(.kol-meter--vertical) .kol-meter__value { display: inline-block; text-align: right; } .kol-meter--vertical { min-height: 100%; } .kol-meter--vertical .kol-meter__bar { min-height: 100%; align-items: end; justify-items: center; grid-template-areas: "label" "bar" "value"; grid-template-columns: 1fr; grid-template-rows: min-content 1fr min-content; } .kol-meter--vertical .kol-meter__bar-label { text-align: center; } .kol-meter--vertical .kol-meter__bar-track { position: relative; min-width: 0; min-height: calc(var(--vertical-height) * 1rem / var(--kolibri-root-font-size, 16)); align-items: center; } .kol-meter--vertical .kol-meter__bar meter { transform: rotate(-90deg); transform-origin: left bottom; position: absolute; bottom: 0; width: calc(var(--vertical-height) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-meter { } .kol-meter meter { width: 100%; height: calc(var(--horizontal-height) * 1rem / var(--kolibri-root-font-size, 16)); -webkit-appearance: none; -moz-appearance: none; appearance: none; } .kol-meter { } .kol-meter meter::-webkit-meter-bar { background: white; height: calc(var(--horizontal-height) * 1rem / var(--kolibri-root-font-size, 16)); border: 1px solid black; } .kol-meter meter::-webkit-meter-optimum-value { background: var(--color-optimal); } .kol-meter meter::-webkit-meter-suboptimum-value { background: var(--color-suboptimal); } .kol-meter meter::-webkit-meter-even-less-good-value { background: var(--color-critical); } .kol-meter { } @supports (selector(::-moz-meter-bar)) { .kol-meter meter { background: white; border: 1px solid black; } } .kol-meter meter::-moz-meter-bar { background: var(--color-optimal); } .kol-meter meter:-moz-meter-sub-optimum::-moz-meter-bar { background: var(--color-suboptimal); } .kol-meter meter:-moz-meter-sub-sub-optimum::-moz-meter-bar { background: var(--color-critical); } }`}}},[545,`kol-meter`,{_high:[2],_label:[1],_low:[2],_max:[2],_min:[2],_optimum:[2],_orientation:[1],_unit:[1],_value:[2]},void 0,{_high:[{watchHigh:0}],_label:[{watchLabel:0}],_low:[{watchLow:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_optimum:[{watchOptimum:0}],_orientation:[{watchOrientation:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}]}]),Gy=Wy,Ky=function(){typeof customElements<`u`&&[`kol-meter`].forEach((e=>{e===`kol-meter`&&(customElements.get(M(e))||customElements.define(M(e),Wy))}))};j(class extends eg{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=Cu(),this.headingId=wu(`dialog-heading`),this.modal=!0,this._on=void 0,this._variant=`blank`,this._width=`100%`}watchLabel(e){this.applyLabel(e)}watchOn(e){this.applyOn(e)}watchVariant(e){this.applyVariant(e)}watchWidth(e){this.applyWidth(e)}async openModal(){await this.showModal()}async showModal(){await this.show(!0)}show(e=!1){return this.showDialog(e),Promise.resolve()}close(){return this.closeDialog(),Promise.resolve()}async closeModal(){await this.close()}componentWillLoad(){this.initCardCloseButton(),this.watchLabel(this._label),this.watchOn(this._on),this.watchVariant(this._variant),this.watchWidth(this._width)}componentDidRender(){this.syncCardCloseTooltipListeners()}disconnectedCallback(){this.teardownDialog()}renderSlot(){return k(`slot`,null)}render(){return k(A,{key:`a87df6dcd9acc3a4eed8782820f567eacb49700b`},this.renderDialogFC())}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } }`}}},[801,`kol-modal`,{_label:[1],_on:[16],_variant:[1],_width:[1],ariaDescriptionId:[32],headingId:[32],modal:[32],openModal:[64],showModal:[64],show:[64],close:[64],closeModal:[64]},void 0,{_label:[{watchLabel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}]);var qy=(e,t,n)=>{let r=new Map,i=new Set;return{beginRender:()=>{i.clear()},get:t=>{i.add(t);let n=r.get(t);return n===void 0&&(n=e(),r.set(t,n)),n},endRender:()=>{for(let[e,a]of r)i.has(e)?t(a):(n(a),r.delete(e))},destroy:()=>{for(let e of r.values())n(e);r.clear(),i.clear()}}};function Jy(e){var t,n,r;let i=ll(zp),a=e=>t=>{i[e]=t};return Mp.apply(e._href,a(`href`)),Lu.apply(e._accessKey,a(`accessKey`)),zu.apply(e._ariaControls,a(`ariaControls`)),Fp.apply(e._ariaCurrentValue,a(`ariaCurrentValue`)),Bu.apply(e._ariaDescription,a(`ariaDescription`)),Vu.apply(e._ariaExpanded,a(`ariaExpanded`)),Ip.apply(e._ariaOwns,a(`ariaOwns`)),Hu.apply(e._customClass,a(`customClass`)),Sl.apply((t=e._disabled)!=null&&t,a(`disabled`)),Lp.apply(e._download,a(`download`)),Uu.apply((n=e._hideLabel)!=null&&n,a(`hideLabel`)),Ju.apply(e._icons,a(`icons`)),Wu.apply((r=e._inline)==null||r,a(`inline`)),nd.apply(e._label,a(`label`)),Rp.apply(e._on,a(`on`)),Ku.apply(e._role,a(`role`)),qu.apply(e._shortKey,a(`shortKey`)),Np.apply(e._target,a(`target`)),Xu.apply(e._tooltipAlign??`right`,a(`tooltipAlign`)),Zu.apply(e._variant,a(`variant`)),typeof e._tabIndex==`number`?Yu.apply(e._tabIndex,a(`tabIndex`)):i.tabIndex=void 0,Hp(e._accessKey,e._shortKey),i}var Yy=e=>{let t=new Kf(V.stateLess),n=Rl(),r=Cu(),i,a,o,s=``,c=!1,l=()=>typeof i?.href==`string`?i.href:``,u=()=>{let e=i?.label;return typeof e==`string`&&e.length>0?e:l()},d=t=>{let n=t===i?.href?i.ariaCurrentValue:``;s!==n&&(s=n,c||e())},f=e=>{if(t.hideTooltip(),!0===i?.disabled)return void e.preventDefault();let r=l(),o=i?.on;typeof o?.onClick==`function`&&(xa(e,n.el),o.onClick(e,r)),a&&F(a,P.click,r)},p=e=>{e&&(a=e)};return{getFcProps:(e,a)=>(i=Jy(e),o||(c=!0,o=io(d),c=!1),t.componentWillLoad({label:u(),align:i.tooltipAlign}),Object.assign(Object.assign(Object.assign({},i),a),{ariaCurrent:s,ariaDescriptionId:r,expertSlot:e._label===``,handleAnchorClick:f,ref:p,refAnchor:n,refTooltip:t.setTooltipElementRef})),syncListeners:()=>{n.el&&t.syncListeners(void 0,n.el,!0)},destroy:()=>{o?.(),o=void 0,t.destroy()}}},Xy=z(`collapsible`,!0,Dc),Zy=z(`hasCompactButton`,!1,Dc),Qy=z(`hasIconsWhenExpanded`,!1,Dc),$y=jp(`KolNav`),eb={required:[cp,$y],optional:[Xy,Zy,Qy,Uu]},tb=e=>e._href===void 0&&typeof e._on?.onClick==`function`;function nb(e){return typeof e._icons==`string`?e._icons:typeof e._icons?.left==`string`?e._icons.left:void 0}var rb=e=>k(`ul`,{class:B(`kol-nav__list`,{"kol-nav__list--nested":e.deep>0,"kol-nav__list--vertical":e.deep!==0}),id:e.deep>0?e.id:void 0},e.links.map(((t,n)=>{let r=Array.isArray(t._children)&&t._children.length>0,i=!(!t._children||!e.expandedChildren.includes(t._children)),a=Tu(e.id,`${e.deep}-${n}`);return k(`li`,{class:B(`kol-nav__list-item`,{"kol-nav__list-item--active":!!t._active,"kol-nav__list-item--expanded":i,"kol-nav__list-item--has-children":r}),key:n},((e,t,n,r,i)=>{let{collapsible:a,compact:o,getButtonFcProps:s,getLinkFcProps:c,handleToggleExpansion:l,hasIconsWhenExpanded:u}=e,d=function({collapsible:e,expanded:t,hasIconsWhenExpanded:n,hideLabel:r,leftIcon:i}){let a={left:``,right:``};return n&&i&&(a.left=i),r&&(a.left=i||`kolicon-link`),e&&(a.right=t?`kolicon-minus`:`kolicon-plus`),a}({collapsible:a&&n,expanded:r,hasIconsWhenExpanded:u,hideLabel:o,leftIcon:nb(t)});return k(`div`,{class:`kol-nav__entry-wrapper`},(e=>typeof e._href==`string`)(t)?k(`div`,{class:B(`kol-nav__entry kol-nav__entry--link`,{"kol-nav__entry--collapsible":a})},k(Vp,Object.assign({},c(`link-`+i,Object.assign(Object.assign({},t),{_hideLabel:o,_icons:d,_ariaControls:a&&n&&r?i:void 0,_ariaExpanded:a&&n?r:void 0}))))):k(`div`,{class:B(`kol-nav__entry kol-nav__entry--button`,{"kol-nav__entry--collapsible":a})},k(hd,Object.assign({},s(`button-`+i,{_label:t._label,_disabled:tb(t)?t._disabled:void 0,_hideLabel:o,_icons:d,_ariaControls:a&&n&&r?i:void 0,_ariaExpanded:a&&n?r:void 0,_on:{onClick:(e,n)=>{tb(t)&&typeof t._on.onClick==`function`&&t._on.onClick(e,n),l(t._children)}}})))))})(e,t,r,i,a),i&&k(rb,Object.assign({},e,{deep:e.deep+1,links:t._children||[],id:a})))}))),ib=e=>{let{collapsible:t,compact:n,expandedChildren:r,getButtonFcProps:i,getLinkFcProps:a,handleToggleCompact:o,handleToggleExpansion:s,hasCompactButton:c,hasIconsWhenExpanded:l,label:u,links:d,listId:f,navId:p}=ul(eb,e);return k(cl,{block:`kol-nav`,modifiers:{"is-compact":n}},k(`nav`,{"aria-label":u,class:`kol-nav__navigation`,id:p},k(rb,{collapsible:t,compact:n,deep:0,expandedChildren:r,getButtonFcProps:i,getLinkFcProps:a,handleToggleExpansion:s,hasIconsWhenExpanded:l,id:f,links:d})),c&&k(`div`,{class:`kol-nav__compact`},k(`div`,{class:`kol-nav__toggle-button`},k(hd,Object.assign({},i(`compact-toggle`,{_ariaControls:p,_ariaExpanded:!n,_icons:n?`kolicon-chevron-right`:`kolicon-chevron-left`,_hideLabel:!0,_label:G(n?`kol-nav-maximize`:`kol-nav-minimize`),_on:{onClick:o},_tooltipAlign:`right`}))))))},ab=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.compact=!1,this.expandedChildren=[],this.navId=wu(`kol-nav`),this.listId=Tu(this.navId,`list`),this.buttonItems=qy((()=>Im((()=>this.host))),(e=>e.syncListeners()),(e=>e.destroy())),this.linkItems=qy((()=>Yy((()=>wr(this)))),(e=>e.syncListeners()),(e=>e.destroy())),this.propsConfig=eb,this._collapsible=!0,this._hasCompactButton=!1,this._hasIconsWhenExpanded=!1,this._hideLabel=!1,this.getButtonFcProps=(e,t)=>this.buttonItems.get(e).getFcProps(t),this.getLinkFcProps=(e,t)=>this.linkItems.get(e).getFcProps(t),this.handleToggleExpansion=e=>{e&&(this.expandedChildren=function(e,t){return e.includes(t)?e.filter((e=>e!==t)):[...e,t]}(this.expandedChildren,e))},this.handleToggleCompact=()=>{this.compact=!this.compact}}watchCollapsible(e){Xy.apply(e,(e=>this.setRenderProp(`collapsible`,e)))}watchHasCompactButton(e){Zy.apply(e,(e=>this.setRenderProp(`hasCompactButton`,e)))}watchHasIconsWhenExpanded(e){Qy.apply(e,(e=>this.setRenderProp(`hasIconsWhenExpanded`,e)))}watchHideLabel(e){Uu.apply(e,(e=>{this.compact=e}))}watchLabel(e){this.applyLabel(e)}watchLinks(e){$y.apply(e,(e=>this.setRenderProp(`links`,e))),Xi(`[KolNav] The navigation structure is not yet validated recursively.`),this.expandedChildren=function(e){let t=[],n=e=>{if(e._active)return e._children&&t.push(e._children),!0;if(e._children){for(let r of e._children)if(n(r))return t.push(e._children),!0}return!1};return e.forEach(n),t}(this.getRenderProp(`links`))}componentWillLoad(){this.watchCollapsible(this._collapsible),this.watchHideLabel(this._hideLabel),this.watchHasCompactButton(this._hasCompactButton),this.watchHasIconsWhenExpanded(this._hasIconsWhenExpanded),this.applyLabel(this._label,!0),this.watchLinks(this._links)}componentDidRender(){this.buttonItems.endRender(),this.linkItems.endRender()}disconnectedCallback(){Gp(this.getRenderProp(`label`)),this.buttonItems.destroy(),this.linkItems.destroy()}applyLabel(e,t=!1){t||Gp(this.getRenderProp(`label`)),cp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`)),na(e),Wp(this.getRenderProp(`label`))}render(){return this.buttonItems.beginRender(),this.linkItems.beginRender(),k(A,{key:`397e0995830970486440949a60b2e95efcc3b617`},k(ib,{key:`0798ef696d9f0797bb84042c6bd05e775f0c8805`,collapsible:this.getRenderProp(`collapsible`),compact:this.compact,expandedChildren:this.expandedChildren,getButtonFcProps:this.getButtonFcProps,getLinkFcProps:this.getLinkFcProps,handleToggleCompact:this.handleToggleCompact,handleToggleExpansion:this.handleToggleExpansion,hasCompactButton:this.getRenderProp(`hasCompactButton`),hasIconsWhenExpanded:this.getRenderProp(`hasIconsWhenExpanded`),label:this.getRenderProp(`label`),links:this.getRenderProp(`links`),listId:this.listId,navId:this.navId}))}get host(){return this}static get watchers(){return{_collapsible:[{watchCollapsible:0}],_hasCompactButton:[{watchHasCompactButton:0}],_hasIconsWhenExpanded:[{watchHasIconsWhenExpanded:0}],_hideLabel:[{watchHideLabel:0}],_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-nav { display: grid; place-items: center; } .kol-nav:not(.kol-nav--is-compact) .kol-nav__navigation { width: 100%; } .kol-nav__navigation .kol-span { width: 100%; justify-content: flex-start; } .kol-nav__navigation .kol-span__container { width: 100%; } .kol-nav__navigation .kol-span__container .kol-span__label { flex: 1; } .kol-nav__list { display: flex; margin: 0; padding: 0; flex-direction: column; list-style: none; } .kol-nav__entry-wrapper { display: flex; } .kol-nav__entry { flex-grow: 1; } .kol-button { text-align: left; } }`}}},[545,`kol-nav`,{_collapsible:[4],_hasCompactButton:[4,`_has-compact-button`],_hasIconsWhenExpanded:[4,`_has-icons-when-expanded`],_hideLabel:[4,`_hide-label`],_label:[1],_links:[1],compact:[32],expandedChildren:[32]},void 0,{_collapsible:[{watchCollapsible:0}],_hasCompactButton:[{watchHasCompactButton:0}],_hasIconsWhenExpanded:[{watchHasIconsWhenExpanded:0}],_hideLabel:[{watchHideLabel:0}],_label:[{watchLabel:0}],_links:[{watchLinks:0}]}]),ob=ab,sb=function(){typeof customElements<`u`&&[`kol-nav`].forEach((e=>{e===`kol-nav`&&(customElements.get(M(e))||customElements.define(M(e),ab))}))},cb=z(`rows`,void 0,Sc,(e=>e>=1)),lb=e=>{if(typeof e==`object`&&e){if(typeof e.label==`string`&&e.label.length>0)return e.disabled=!0===e.disabled,e.label=`${e.label}`.trim(),!1===Bc(e.label,3)&&!1===Vc(e.label)&&Ki(`A differing Aria-Label (${e.label}) is inaccessible. A differing Aria-Label should consist of at least three readable characters.`),!Array.isArray(e.options)||e.options.find((e=>!1===lb(e)))===void 0;if(typeof e.label==`number`)return!0}return!1},ub=z(`options`,[],(function(e){let t=typeof e==`string`?Ea(e):e;if(Array.isArray(t)&&t.every((e=>lb(e))))return t;throw Error(`Invalid select options`)})),db=z(`value`,[],(e=>Array.isArray(e)?e:[e])),fb={required:[...th.required],optional:[...th.optional,Lu,xh,q_,ub,kh,cb,db,qu,Yu,Zu]},pb=sl(`kol-select`),mb=e=>{var{class:t,index:n,selectedValue:r,selected:i,value:a,label:o,disabled:s}=e,c=yl(e,[`class`,`index`,`selectedValue`,`selected`,`value`,`label`,`disabled`]);let l=i||(r===void 0?[]:Array.isArray(r)?r:[r]).includes(a);return k(`option`,Object.assign({class:B(pb(`option`,{selected:!!l,disabled:!!s}),t),selected:l,disabled:s,value:n},c),o)},hb=({preKey:e,options:t,disabled:n,value:r,OptionProps:i={},OptionGroupProps:a={}})=>t?.length?k(jr,null,t.map(((t,o)=>{let s=[e,`-${o}`].join(``);if(`options`in t){let e=!!(n||t.disabled),{label:o}=t,c=yl(t,[`label`]);return k(`optgroup`,Object.assign({class:pb(`optgroup`,{disabled:e}),key:s},a,{label:o?.toString(),disabled:e}),k(hb,Object.assign({OptionGroupProps:a,OptionProps:i,value:r,preKey:s},c,{disabled:e})))}return`value`in t?k(mb,Object.assign({key:s},i,{index:s,selectedValue:r},t,{disabled:!!(n||t.disabled)})):null}))):null,gb=e=>{let{class:t,msg:n,touched:r,disabled:i,required:a,options:o,value:s,OptionProps:c,OptionGroupProps:l,ariaDescribedBy:u,hideLabel:d,label:f}=e,p=yl(e,[`class`,`msg`,`touched`,`disabled`,`required`,`options`,`value`,`OptionProps`,`OptionGroupProps`,`ariaDescribedBy`,`hideLabel`,`label`]),m=Object.assign(Object.assign({class:B(pb(Object.assign({disabled:!!i,required:!!a,touched:!!r},Km(n,r)?{[qm(n)]:!0}:{})),t),required:a,disabled:i},lh({ariaDescribedBy:u,hideLabel:d,label:f})),p);return k(`select`,Object.assign({},m),k(hb,{OptionGroupProps:l,OptionProps:c,disabled:i,options:o,value:s}))},_b=(e,t,n)=>{let r=Array.isArray(e);if(t){if(e!==void 0&&!r)throw Error(`↑ The schema for the property (_value) is not valid for multiple mode. Expected an array. The value will not be changed. (${n} = ${JSON.stringify(e)})`)}else if(r)throw Error(`↑ The schema for the property (_value) is not valid for single mode. Expected a single value. The value will not be changed. (${n} = ${JSON.stringify(e)})`)},vb=(e,t=!1)=>e.flatMap((e=>`options`in e&&Array.isArray(e.options)?vb(e.options,!!(t||e.disabled)):[Object.assign(Object.assign({},e),{disabled:!!(t||e.disabled)})])),yb=(e,t,n)=>{if(t.length===0)return e;let r=vb(t),i=r.map((e=>e.value)),a=e.every((e=>i.includes(e)))?e:e.filter((e=>i.includes(e)));if(!1===n&&a.length===0){let e=r.find((e=>!0!==e.disabled));return e?[e.value]:a}return a},bb=class extends uh{constructor(){super(...arguments),this.keyOptionMap=new Map,this.hasValue=!0,this.handleSelectInput=e=>{let t=Array.from(this.ctaRef.el?.options||[]).filter((e=>e.selected)).map((e=>this.keyOptionMap.get(e.value)?.value));if(this._multiple)this._value=t,this.handleInput(e,t);else{let n=t.length>0?t[0]:void 0;this._value=n,this.handleInput(e,n)}},this.handleSelectChange=e=>{let t=this._value;this.handleChange(e,t),this.hasValue=!!t}}applyAccessKey(e){Lu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Hp(e,this.getShortKeyProp())}applyShortKey(e){qu.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Hp(this.getAccessKeyProp(),e)}applyIcons(e){xh.apply(e,(e=>this.setRenderProp(`icons`,e)))}applyMultiple(e){_b(this._value,!0===e,`current`),q_.apply(e,(e=>{this.setRenderProp(`multiple`,e),this.setRenderProp(`value`,yb(this.getRenderProp(`value`),this.getRenderProp(`options`),this._multiple))}))}applyOptions(e){ub.apply(e,(e=>{this.setRenderProp(`options`,e),e.length>0&&(this.keyOptionMap.clear(),Vv(this.keyOptionMap,e),this.setRenderProp(`value`,yb(this.getRenderProp(`value`),e,this._multiple)))}))}applyRequired(e){kh.apply(e,(e=>this.setRenderProp(`required`,e)))}applyRows(e){cb.apply(e,(e=>this.setRenderProp(`rows`,e)))}applyTabIndex(e){Yu.apply(e,(e=>this.setRenderProp(`tabIndex`,e)))}applyValue(e){_b(e,!0===this._multiple,`received`);let t=e=>{let t=yb(e,this.getRenderProp(`options`),this._multiple);this.setRenderProp(`value`,t),this.formAssociation.setFormAssociatedValue(this.getModelValue())};e===null?t([null]):db.apply(e,t)}applyVariant(e){Zu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getModelValue(){let e=this.getRenderProp(`value`);return this._multiple?e:Array.isArray(e)&&e.length>0?e[0]:e}getSelectProps(){let{ariaDescribedBy:e,hasError:t}=this.getAria(),n=this.getRenderProp(`multiple`),r=this.getRenderProp(`shortKey`);return Object.assign(Object.assign({id:this.getState(`id`),hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),value:this.getRenderProp(`value`),options:this.getRenderProp(`options`),accessKey:this.getRenderProp(`accessKey`)||void 0,disabled:this.getRenderProp(`disabled`),name:this.getRenderProp(`name`)||void 0,"aria-invalid":t?`true`:void 0,ariaDescribedBy:e,size:n?this.getRenderProp(`rows`):void 0,multiple:n,required:this.getRenderProp(`required`),touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)},r?{"aria-keyshortcuts":r}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleSelectChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleSelectInput,onKeyDown:this.handleKeyDown})}renderSelectField(){let e=this.getRenderProp(`disabled`),{startAdornment:t,endAdornment:n}=Ch({icons:this.getRenderProp(`icons`)});return k(ch,Object.assign({},this.getFormFieldProps({class:B(`kol-form-field-select`,{"kol-form-field--has-value":this.hasValue}),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,required:this.getRenderProp(`required`),variant:this.getRenderProp(`variant`)}),{onClick:()=>this.ctaRef.el?.focus()}),k(Dh,{disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n},k(gb,Object.assign({},this.getSelectProps()))))}},xb=z(`boundaryCount`,1,(e=>Math.max(0,e))),Sb=z(`page`,0,Cc),Cb=z(`pageSize`,1,Cc),wb=/^\[object Object\]$/,Tb=z(`pageSizeOptions`,[],(function(e){if(e===``||typeof e==`string`&&wb.test(e))throw Error(`Unreflected page size options`);let t=typeof e==`string`?Ea(e):e;if(Array.isArray(t)&&t.every((e=>typeof e==`number`)))return t.map((e=>({label:`${e}`,value:e})));throw Error(`Invalid page size options`)})),Eb=Ic(),Db=[`first`,`last`,`next`,`previous`],Ob=e=>({first:e,last:e,next:e,previous:e}),kb=z(`hasButtons`,Ob(!0),(function e(t){if(typeof t==`boolean`)return Ob(t);if(typeof t==`object`&&t){let e={};return Db.forEach((n=>{let r=t[n];typeof r==`boolean`&&(e[n]=r)})),e}if(typeof t==`string`){let n=Ea(t);return typeof n==`object`&&n?e(n):Ob(!1)}throw Error(`Invalid pagination buttons`)})),Ab=z(`max`,0,Cc),jb=z(`siblingCount`,1,(e=>Math.max(0,e))),Mb={required:[cp,Sb,Eb,Ab],optional:[xb,Hu,Tb,Cb,kb,jb,Xu]},Nb=(e,t=1)=>Math.ceil(e/t),Pb=(e,t)=>t.length>0?t.find((t=>t.value===e))?.value??t[0].value:e,Fb=(e,t,n,r)=>{let i=[],a=!1;for(let o=1;o<=t;o++)o<=n||o>t-n||o>=e-r&&o<=e+r?(a=!0,i.push({page:o,selected:o===e})):a?(a=!1,i.push(`separator`)):i.push(null);return i},Ib=N.forBlock(`kol-pagination`),Lb={left:`kolicon-chevron-double-left`},Rb={left:`kolicon-chevron-left`},zb={right:`kolicon-chevron-right`},Bb={right:`kolicon-chevron-double-right`},Vb=(Hb=navigator.language||`de-DE`).includes(`-`)?Hb:`${Hb}-${Hb.toUpperCase()}`,Hb,Ub=new Intl.NumberFormat(Vb,{style:`decimal`,minimumFractionDigits:0,maximumFractionDigits:0}),Wb=e=>{let{boundaryCount:t,customClass:n,getButtonFcProps:r,handlePageClick:i,hasButtons:a,label:o,max:s,navigationCallbacks:c,page:l,pageSize:u,pageSizeOptions:d,renderPageSizeSelect:f,siblingCount:p,tooltipAlign:m}=ul(Mb,e),h=Nb(s,u),{start:g,end:_}=((e,t,n)=>{let r=e*t;return{start:Math.max(0,(e-1)*t+1),end:n<r?n:r}})(l,u,s),v=(e,t,i,a)=>k(`li`,null,k(hd,Object.assign({},r(`navigation-${e}`,{_customClass:n,_disabled:a,_icons:t,_hideLabel:!0,_label:i,_on:c[e],_tooltipAlign:m},{class:Ib(`button`,{[e]:!0})}))));return[k(`span`,{role:`status`,"aria-live":`polite`,class:Ib(`entries`)},G(`kol-table-visible-range`,{placeholders:{start:Ub.format(g),end:Ub.format(_),total:Ub.format(s)}})),k(`nav`,{class:Ib(`navigation`),"aria-label":Hc(o)},k(`ul`,{class:Ib(`navigation-list`)},a.first&&v(`first`,Lb,G(`kol-page-first`),l<=1),a.previous&&v(`previous`,Rb,G(`kol-page-back`),l<=1),Fb(l,h,t,p).map(((e,t)=>e===null?null:e===`separator`?k(`li`,{key:t+1<l?`separator-left`:`separator-right`},k(`span`,{class:Ib(`separator`),"aria-hidden":`true`})):((e,t)=>{let a=Ub.format(e),o=`${G(`kol-page`)} ${a}`;return k(`li`,{key:`page-${e}`},k(hd,Object.assign({},t?r(`page-${e}`,{_ariaDescription:o,_customClass:n,_label:a},{"aria-current":`page`,class:`${Ib(`button`,{selected:!0})} selected`}):r(`page-${e}`,{_ariaDescription:o,_customClass:n,_label:a,_on:{onClick:t=>i(t,e)}},{class:Ib(`button`,{numbers:!0})}))))})(e.page,e.selected))),a.next&&v(`next`,zb,G(`kol-page-next`),h<=l),a.last&&v(`last`,Bb,G(`kol-page-last`),h<=l))),d?.length>0&&k(`div`,{class:`page-size`},k(`div`,{class:Ib(`page-size-select`)},f({label:G(`kol-entries-per-site`),options:d,value:u})))]},Gb=e=>k(cl,{block:`kol-pagination`},k(Wb,Object.assign({},e))),Kb=class extends bb{constructor(e,t){super(),this.getHost=e,this.requestRender=t,this._disabled=!1,this._multiple=!1,this.ctaRef=Rl(),this.id=wu(`select`),this.loaded=!1,this.focused=!1,this.touched=!1,this.propsConfig=fb,this.initFormAssociation(`select`)}get host(){return this.getHost?.call(this)}get inputHasFocus(){return this.focused}set inputHasFocus(e){e!==this.focused&&(this.focused=e,this.requestRender())}get _touched(){return this.touched}set _touched(e){e!==this.touched&&(this.touched=!0===e,this.applyTouched(e),this.requestRender())}get _value(){return this.value}set _value(e){e!==this.value&&(this.value=e,this.applyValue(e),this.requestRender())}getAccessKeyProp(){}getShortKeyProp(){}render(e){return this.loaded?this.update(e):this.load(e),this.renderSelectField()}sync(){this.syncFormField()}destroy(){this.destroyFormField()}load(e){this.passed=e,this._on=e.on,this.value=e.value,this.applyAriaDetails(void 0),this.applyName(void 0),this.applySyncValueBySelector(void 0),this.applyTouched(!1),this.applyAccessKey(void 0),this.applyMsg(void 0),this.applyDisabled(!1),this.applyHideMsg(!1),this.applyHideLabel(!1),this.applyHint(``),this.applyInfoPopover(void 0),this.applyLabel(e.label),this.applyShortKey(void 0),this.applyOn(e.on),this.applyTooltipAlign(`top`),this.applyVariant(void 0),this.applyTabIndex(void 0),this.applyIcons(void 0),this.applyOptions(e.options),this.applyMultiple(!1),this.applyRequired(!1),this.applyRows(void 0),this.applyValue(e.value),this.loaded=!0}update(e){let t=this.passed;this.passed=e,e.label!==t.label&&this.applyLabel(e.label),e.options!==t.options&&this.applyOptions(e.options),e.on!==t.on&&(this._on=e.on,this.applyOn(e.on)),e.value!==t.value&&e.value!==this.value&&(this.value=e.value,this.applyValue(e.value))}},qb=!1,Jb=[`boundaryCount`,`customClass`,`hasButtons`,`on`,`page`,`pageSize`,`pageSizeOptions`,`siblingCount`,`tooltipAlign`,`max`,`label`],Yb=e=>{let t=e.store??(()=>{let e=ll(Mb);return{get:t=>e[t],set:(t,n)=>{e[t]=n}}})(),n=G(`kol-pagination`),r=qy((()=>Im(e.getEventTarget)),(e=>e.syncListeners()),(e=>e.destroy())),i=(e,t,n)=>r.get(e).getFcProps(t,n),a=qy((()=>{return t=e.getEventTarget,n=e.requestRender,!qb&&typeof HTMLElement<`u`&&Kb.prototype instanceof HTMLElement&&customElements.define(M(wu(`kol-page-size-select`)),Kb),qb=!0,new Kb(t,n);var t,n}),(e=>e.sync()),(e=>e.destroy())),o,s=1,c={};t.set(`label`,n);let l=(n,r)=>{setTimeout((()=>{var i,a;(a=(i=t.get(`on`)).onChangePage)==null||a.call(i,n,r);let o=e.getEventTarget();o&&F(o,P.changePage,r)}))},u=(e,n,r)=>{let i=((e,t,n)=>{if(n>0){let r=Nb(n,t);if(r>0){if(e>r)return r;if(e<1)return 1}}})(e,n,r);i!==void 0&&(t.set(`page`,i),l(Ba,i))},d=e=>{e!=null&&Cb.apply(e,(e=>{let n=Pb(e,t.get(`pageSizeOptions`));t.set(`pageSize`,n),u(t.get(`page`),n,t.get(`max`))}))},f=(e,r,i)=>{r||Gp(t.get(`label`)),cp.apply(e,(e=>t.set(`label`,e??n)),i),Wp(t.get(`label`))},p=(n,r)=>{var i,a;o=r,(a=(i=t.get(`on`)).onClick)==null||a.call(i,n,r);let s=e.getEventTarget();s&&F(s,P.click,r),l(n,r)},m=(n,r)=>{let i=parseInt(r);i>0&&s!==i&&(d(i),s=i,e.requestRender(),setTimeout((()=>{var r,i;let a=s;(i=(r=t.get(`on`)).onChangePageSize)==null||i.call(r,n,a);let o=e.getEventTarget();o&&F(o,P.changePageSize,a)})))},h={onChange:m},g=e=>a.get(`page-size`).render(Object.assign(Object.assign({},e),{on:h})),_={first:{onClick:e=>p(e,1)},last:{onClick:e=>p(e,Nb(t.get(`max`),t.get(`pageSize`)))},next:{onClick:e=>p(e,t.get(`page`)+1)},previous:{onClick:e=>p(e,t.get(`page`)-1)}},v={applyBoundaryCount:e=>xb.apply(e,(e=>t.set(`boundaryCount`,e))),applyCustomClass:e=>Hu.apply(e,(e=>t.set(`customClass`,e))),applyHasButtons:e=>kb.apply(e,(e=>t.set(`hasButtons`,Object.assign(Object.assign({},t.get(`hasButtons`)),e)))),applyLabel:(e,t)=>f(e,!1,t),applyMax:(e,n)=>{(e!=null||n)&&Ab.apply(e,(e=>{t.set(`max`,e),u(t.get(`page`),t.get(`pageSize`),e)}),n)},applyOn:e=>Eb.apply(e,(e=>t.set(`on`,e))),applyPage:e=>{e!=null&&Sb.apply(e,(e=>{t.set(`page`,e),u(e,t.get(`pageSize`),t.get(`max`))}))},applyPageSize:e=>{d(e),s=e},applyPageSizeOptions:e=>Tb.apply(e,(e=>{let n;t.set(`pageSizeOptions`,e),e.length>0&&(n=Pb(t.get(`pageSize`),e),t.set(`pageSize`,n)),u(t.get(`page`),n,t.get(`max`))})),applySiblingCount:e=>jb.apply(e,(e=>t.set(`siblingCount`,e))),applyTooltipAlign:e=>Xu.apply(e??`top`,(e=>t.set(`tooltipAlign`,e))),load:(e,t)=>{c=Object.assign({},e),v.applyBoundaryCount(e.boundaryCount),v.applyCustomClass(e.customClass),v.applyHasButtons(e.hasButtons),f(e.label,!0,t?.label),v.applyOn(e.on),v.applyPage(e.page),v.applyPageSize(e.pageSize),v.applyPageSizeOptions(e.pageSizeOptions),v.applySiblingCount(e.siblingCount),v.applyTooltipAlign(e.tooltipAlign),v.applyMax(e.max,t?.max),v.applyPage(e.page)},update:e=>{for(let t of Jb)e[t]!==c[t]&&(c=Object.assign(Object.assign({},c),{[t]:e[t]}),t===`pageSize`&&e.pageSize===s||y[t](e[t]))},getFcProps:()=>(r.beginRender(),a.beginRender(),{boundaryCount:t.get(`boundaryCount`),customClass:t.get(`customClass`),getButtonFcProps:i,handlePageClick:p,handlePageSizeChange:m,hasButtons:t.get(`hasButtons`),label:t.get(`label`),max:t.get(`max`),navigationCallbacks:_,on:t.get(`on`),page:t.get(`page`),pageSize:t.get(`pageSize`),pageSizeOptions:t.get(`pageSizeOptions`),renderPageSizeSelect:g,siblingCount:t.get(`siblingCount`),tooltipAlign:t.get(`tooltipAlign`)}),sync:()=>{r.endRender(),a.endRender(),(()=>{if(o===void 0||o!==t.get(`page`))return;o=void 0;let e=r.get(`page-${t.get(`page`)}`).getElement(),n=!e?.getRootNode()?.activeElement&&(document.activeElement===null||document.activeElement===document.body);e!=null&&e.isConnected&&n&&e.focus()})()},destroy:()=>{Gp(t.get(`label`)),r.destroy(),a.destroy()}},y={boundaryCount:v.applyBoundaryCount,customClass:v.applyCustomClass,hasButtons:v.applyHasButtons,label:v.applyLabel,max:v.applyMax,on:v.applyOn,page:v.applyPage,pageSize:v.applyPageSize,pageSizeOptions:v.applyPageSizeOptions,siblingCount:v.applySiblingCount,tooltipAlign:v.applyTooltipAlign};return v},Xb=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.renderCount=0,this.propsConfig=Mb,this._boundaryCount=1,this._customClass=void 0,this._hasButtons=!0,this._pageSize=1,this._pageSizeOptions=[],this._siblingCount=1,this._tooltipAlign=`top`}watchBoundaryCount(e){this.item.applyBoundaryCount(e)}watchCustomClass(e){this.item.applyCustomClass(e)}watchLabel(e){this.item.applyLabel(e,this.isRequired(`label`))}watchHasButtons(e){this.item.applyHasButtons(e)}watchPage(e){this.item.applyPage(e)}watchPageSize(e){this.item.applyPageSize(e)}watchPageSizeOptions(e){this.item.applyPageSizeOptions(e)}watchOn(e){this.item.applyOn(e)}watchSiblingCount(e){this.item.applySiblingCount(e)}watchTooltipAlign(e){this.item.applyTooltipAlign(e)}watchMax(e){this.item.applyMax(e,this.isRequired(`max`))}componentWillLoad(){this.item=Yb({getEventTarget:()=>this.host,requestRender:()=>{this.renderCount++},store:{get:e=>this.getRenderProp(e),set:(e,t)=>this.setRenderProp(e,t)}}),this.item.load({boundaryCount:this._boundaryCount,customClass:this._customClass,hasButtons:this._hasButtons,label:this._label,max:this._max,on:this._on,page:this._page,pageSize:this._pageSize,pageSizeOptions:this._pageSizeOptions,siblingCount:this._siblingCount,tooltipAlign:this._tooltipAlign},{label:this.isRequired(`label`),max:this.isRequired(`max`)})}componentDidRender(){this.item.sync()}disconnectedCallback(){this.item.destroy()}render(){return k(A,{key:`f41e85dfa3e2519a45975ac0c09660975bb47721`},k(Gb,Object.assign({key:`8273c6d5347525b50ed874482ab40d0fdb5d4ee1`},this.item.getFcProps())))}get host(){return this}static get watchers(){return{_boundaryCount:[{watchBoundaryCount:0}],_customClass:[{watchCustomClass:0}],_label:[{watchLabel:0}],_hasButtons:[{watchHasButtons:0}],_page:[{watchPage:0}],_pageSize:[{watchPageSize:0}],_pageSizeOptions:[{watchPageSizeOptions:0}],_on:[{watchOn:0}],_siblingCount:[{watchSiblingCount:0}],_tooltipAlign:[{watchTooltipAlign:0}],_max:[{watchMax:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { :host { display: block; } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-select { background-color: transparent; width: 100%; padding: 0; } .kol-select:not(:disabled) { cursor: pointer; } .kol-select:not([multiple], [size]) { height: 2.75em; } .kol-select[multiple][size="1"] { height: 2.75em; } .kol-select__option:checked::before { content: "✓ "; } .kol-select[multiple] option { display: flex; min-height: var(--a11y-min-size); align-items: center; } .kol-select[multiple][size="1"] option::checkmark { height: 100%; } .kol-select[multiple][size="1"] option:checked::before { display: none; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; container: paging/inline-size; } .kol-pagination__navigation-list { display: inline-flex; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; list-style: none; } .kol-pagination__separator:before { content: "•••"; } .kol-pagination__page-size-select .kol-form-field-select { align-items: center; grid-template-columns: 1fr max-content; } @container paging (width < 600px) { .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__button--numbers), .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__separator) { display: none; } } }`}}},[545,`kol-pagination`,{_boundaryCount:[2,`_boundary-count`],_customClass:[1,`_custom-class`],_label:[1],_hasButtons:[8,`_has-buttons`],_page:[2],_pageSize:[1026,`_page-size`],_pageSizeOptions:[1,`_page-size-options`],_on:[16],_siblingCount:[2,`_sibling-count`],_tooltipAlign:[1,`_tooltip-align`],_max:[2],renderCount:[32]},void 0,{_boundaryCount:[{watchBoundaryCount:0}],_customClass:[{watchCustomClass:0}],_label:[{watchLabel:0}],_hasButtons:[{watchHasButtons:0}],_page:[{watchPage:0}],_pageSize:[{watchPageSize:0}],_pageSizeOptions:[{watchPageSizeOptions:0}],_on:[{watchOn:0}],_siblingCount:[{watchSiblingCount:0}],_tooltipAlign:[{watchTooltipAlign:0}],_max:[{watchMax:0}]}]),Zb=Xb,Qb=function(){typeof customElements<`u`&&[`kol-pagination`].forEach((e=>{e===`kol-pagination`&&(customElements.get(M(e))||customElements.define(M(e),Xb))}))},$b=class extends fm{constructor(){super(...arguments),this.popoverBehavior=new Hm(V.stateLess),this.popoverId=wu(`popover`),this.togglePopover=()=>{this.popoverBehavior.setShow(!this.getPopoverOpen())},this.handleToggle=e=>{this.setPopoverOpen(e.newState===`open`)},this.setButtonElementRef=e=>{this.ctaRef(e),this.popoverBehavior.setTriggerElement(e)},this.setPopoverElementRef=e=>{this.popoverElement=e,this.popoverBehavior.setPopoverElementRef(e)}}getPopoverOpen(){return!0===this.popoverOpen}setPopoverOpen(e){this.popoverOpen=e}initPopoverToggle(){this.unsetButtonTabIndex(),this.applyOn({onClick:this.togglePopover}),this.popoverBehavior.componentWillLoad({align:Lm.getDefaultValue()})}syncPopoverToggleListener(){this.popoverElement&&this.popoverElement.addEventListener(`toggle`,this.handleToggle)}destroyPopover(){this.popoverElement&&=(this.popoverElement.removeEventListener(`toggle`,this.handleToggle),void 0),this.popoverBehavior.destroy()}openPopover(){!0!==this.getRenderProp(`disabled`)&&this.popoverBehavior.setShow(!0)}closePopover(){this.popoverBehavior.setShow(!1)}applyPopoverAlign(e){Lm.apply(e,(e=>this.popoverBehavior.watchAlign(e)))}renderPopoverButtonFC(){return k(Bm,{accessKey:this.getRenderProp(`accessKey`),ariaDescription:this.getRenderProp(`ariaDescription`),ariaDescriptionId:this.getState(`ariaDescriptionId`),ariaHasPopup:this.getRenderProp(`ariaHasPopup`),ariaSelected:this.getRenderProp(`ariaSelected`),customClass:this.getRenderProp(`customClass`),disabled:this.getRenderProp(`disabled`),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp(`hideLabel`),icons:this.getRenderProp(`icons`),id:this.getRenderProp(`id`),inline:this.getRenderProp(`inline`),label:this.getRenderProp(`label`),name:this.getRenderProp(`name`),on:this.getRenderProp(`on`),popoverAlign:this.popoverBehavior.getRenderProp(`align`),popoverOpen:this.getPopoverOpen(),popoverId:this.popoverId,refButton:this.setButtonElementRef,refPopover:this.setPopoverElementRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp(`role`),shortKey:this.getRenderProp(`shortKey`),tabIndex:this.getRenderProp(`tabIndex`),tooltipAlign:this.getRenderProp(`tooltipAlign`),type:this.getRenderProp(`type`),variant:this.getRenderProp(`variant`)})}},ex=j(class extends $b{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=Cu(),this.popoverOpen=!1,this._accessKey=void 0,this._ariaDescription=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._inline=!1,this._name=void 0,this._popoverAlign=`bottom`,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign=`top`,this._type=`button`,this._value=void 0,this._variant=void 0,this.initFormAssociation()}watchAccessKey(e){this.applyAccessKey(e,this._shortKey)}watchAriaDescription(e){this.applyAriaDescription(e)}watchCustomClass(e){this.applyCustomClass(e)}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchIcons(e){this.applyIcons(e)}watchInline(e){this.applyInline(e)}watchLabel(e){this.applyLabel(e)}watchName(e){this.applyName(e)}watchPopoverAlign(e){this.applyPopoverAlign(e)}watchShortKey(e){this.applyShortKey(e,this._accessKey)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTabIndex(e){this.applyTabIndex(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchType(e){this.applyType(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}hidePopover(){return this.closePopover(),Promise.resolve()}showPopover(){return this.openPopover(),Promise.resolve()}click(){return Promise.resolve()}focus(e){return Promise.resolve()}componentWillLoad(){this.initPopoverToggle(),this.watchAccessKey(this._accessKey),this.watchAriaDescription(this._ariaDescription),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchName(this._name),this.watchPopoverAlign(this._popoverAlign),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTabIndex(this._tabIndex),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior()}componentDidRender(){this.syncTooltipListeners(),this.syncPopoverToggleListener()}disconnectedCallback(){this.destroyTooltipBehavior(),this.destroyPopover()}render(){return k(A,{key:`0e99f5a742b168bd16599e22f3e85a2f2e7e7605`},this.renderPopoverButtonFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDescription:[{watchAriaDescription:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_popoverAlign:[{watchPopoverAlign:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-popover-button { display: inline; } .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-popover-button--inline { display: inline-block; } .kol-popover-button--inline .kol-button, .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } }`}}},[545,`kol-popover-button`,{_accessKey:[1,`_access-key`],_ariaDescription:[1,`_aria-description`],_customClass:[1,`_custom-class`],_disabled:[4],_hideLabel:[4,`_hide-label`],_icons:[1],_inline:[4],_label:[1],_name:[1],_popoverAlign:[1,`_popover-align`],_shortKey:[1,`_short-key`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tabIndex:[2,`_tab-index`],_tooltipAlign:[1,`_tooltip-align`],_type:[1],_value:[8],_variant:[1],ariaDescriptionId:[32],popoverOpen:[32],hidePopover:[64],showPopover:[64],click:[64],focus:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDescription:[{watchAriaDescription:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_popoverAlign:[{watchPopoverAlign:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);H([W(`ctaRef`)],ex.prototype,`click`,null),H([U(`ctaRef`)],ex.prototype,`focus`,null);var tx=ex,nx=function(){typeof customElements<`u`&&[`kol-popover-button`].forEach((e=>{e===`kol-popover-button`&&(customElements.get(M(e))||customElements.define(M(e),ex))}))},rx=[`bar`,`cycle`],ix=z(`variant`,`bar`,(e=>{let t=R(e);if(rx.includes(t))return t;throw Error(`Invalid progress variant: `+t)}),(()=>!0)),ax={optional:[pl,Iy,ix],required:[Fy,el]},ox=N.forBlock(`kol-progress`),sx=({max:e,value:t})=>k(`svg`,{width:`100`,viewBox:`0 0 120 120`,xmlns:`http://www.w3.org/2000/svg`},k(`circle`,{class:ox(`cycle-background`),cx:`60`,cy:`60`,r:`54.5`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`8`}),k(`circle`,{class:ox(`cycle-whitespace`),cx:`60`,cy:`60`,r:`59`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`3`}),k(`circle`,{class:ox(`cycle-border`),cx:`60`,cy:`60`,r:`59`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`1`}),k(`circle`,{class:ox(`cycle-whitespace`),cx:`60`,cy:`60`,r:`51`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`1`}),k(`circle`,{class:ox(`cycle-border`),cx:`60`,cy:`60`,r:`50`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`1`}),k(`circle`,{class:ox(`cycle-progress`),fill:`currentColor`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-dasharray":Math.round(t/e*342)+`px 342px`,"stroke-width":`6`,cx:`60`,cy:`60`,r:`54.5`})),cx=({max:e,value:t})=>{let n=t/e*100;return k(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`100%`,height:`12`,overflow:`visible`},k(`rect`,{class:ox(`bar-background`),x:`1`,y:`1`,height:`11`,rx:`5`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`3`,width:`100%`}),k(`rect`,{class:ox(`bar-border`),x:`1`,y:`1`,height:`11`,rx:`5`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`1`,width:`100%`}),k(`rect`,{class:ox(`bar-progress`),x:`3`,y:`3`,height:`7`,rx:`3.5`,fill:`currentColor`,stroke:`currentColor`,"stroke-width":`3`,style:{width:`calc(${n}% - 4px)`}}))},lx=e=>{let{label:t,max:n,unit:r,value:i,variant:a,liveValue:o}=ul(ax,e),s=r===`%`,c=s?``+Math.round(o/n*100):o,l=s?Math.round(i/n*100):i,u=(``+((s?100:n)+1)).length+`ch`,d=s?G(`kol-live-value`,{placeholders:{value:c+``,unit:r}}):G(`kol-live-value-bounded`,{placeholders:{value:c+``,max:n+``,unit:r}});return k(cl,{block:`kol-progress`},k(`div`,{"aria-hidden":`true`,class:ox(a===`cycle`?`cycle`:`bar`)},a===`bar`&&t&&k(`div`,{class:ox(`bar-label`)},fu(t)),((e,t,n)=>{switch(e){case`cycle`:return k(sx,{max:t,value:n});case`bar`:return k(cx,{max:t,value:n});default:throw Error(`Progress variant ${e} not implemented.`)}})(a,n,i),a===`cycle`&&k(`div`,{class:ox(`cycle-text`)},t&&k(`div`,{class:ox(`cycle-label`)},fu(t)),k(`div`,{class:ox(`cycle-value`)},`${l} ${r}`)),a===`bar`&&k(`div`,{class:ox(`bar-value`),style:{width:u}},l),a===`bar`&&k(`div`,{class:ox(`bar-unit`)},r)),k(`progress`,{"aria-busy":i<n?`true`:`false`,"aria-label":Hc(t)||G(`kol-progress`),class:`visually-hidden`,max:n,value:i}),k(`span`,{"aria-live":`polite`,"aria-relevant":`removals text`,class:`visually-hidden`},d))},ux=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.liveValue=0,this.propsConfig=ax,this._label=void 0,this._unit=void 0,this._variant=void 0}watchLabel(e){pl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchMax(e){Fy.apply(e,(e=>{this.setRenderProp(`max`,e),this.watchValue(this.getRawProp(`value`))}))}watchUnit(e){Iy.apply(e,(e=>this.setRenderProp(`unit`,e)))}watchValue(e){this.setRawProp(`value`,e),el.apply(e,(e=>{this.setRenderProp(`value`,e)}),{min:0,max:this.getRenderProp(`max`)})}watchVariant(e){ix.apply(e,(e=>this.setRenderProp(`variant`,e)))}connectedCallback(){this.startLiveValueInterval()}componentWillLoad(){pl.apply(this._label,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`)),Fy.apply(this._max,(e=>{this.setRenderProp(`max`,e),this.watchValue(this.getRawProp(`value`))})),Iy.apply(this._unit,(e=>this.setRenderProp(`unit`,e))),this.watchValue(this._value),ix.apply(this._variant,(e=>this.setRenderProp(`variant`,e))),this.setState(`liveValue`,this.getRenderProp(`value`))}disconnectedCallback(){this.interval&&=(clearInterval(this.interval),void 0)}startLiveValueInterval(){clearInterval(this.interval),this.interval=setInterval((()=>{let e=this.getRenderProp(`value`);this.setState(`liveValue`,e)}),5e3)}render(){return k(A,{key:`152e25d33a93383473b700fc9cb6b0a7bf561c9b`},k(lx,{key:`39c3dfdb192df93de922063416e884a2bdaf9158`,label:this.getRenderProp(`label`),max:this.getRenderProp(`max`),unit:this.getRenderProp(`unit`),value:this.getRenderProp(`value`),variant:this.getRenderProp(`variant`),liveValue:this.liveValue}))}static get watchers(){return{_label:[{watchLabel:0}],_max:[{watchMax:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-progress { --color-bar: var(--kol-progress-color-bar, #0075ff); } .kol-progress__bar { display: grid; align-items: center; grid-template-areas: "LABEL LABEL LABEL" "BAR VALUE UNIT"; grid-template-columns: 1fr auto; } .kol-progress__bar-label { grid-column-end: 2; grid-area: LABEL; } .kol-progress__bar svg { grid-area: BAR; } .kol-progress__bar-value { grid-area: VALUE; text-align: right; } .kol-progress__bar-unit { grid-area: UNIT; } .kol-progress__bar-border { fill: transparent; stroke: black; } .kol-progress__bar-background { fill: white; stroke: white; } .kol-progress__bar-progress { fill: var(--color-bar); stroke: transparent; } @media (prefers-reduced-motion: no-preference) { .kol-progress__bar-progress { transition: 250ms ease-in-out 50ms; } } .kol-progress__cycle { display: grid; align-content: center; justify-items: center; grid-template-areas: "ALL"; grid-template-columns: auto; } .kol-progress__cycle > * { grid-area: ALL; } .kol-progress__cycle-text { display: flex; flex-direction: column; justify-content: center; font-size: x-small; text-align: center; } .kol-progress__cycle-text * { background-color: white; } .kol-progress__cycle-background { fill: transparent; stroke: white; } .kol-progress__cycle-border { fill: transparent; stroke: black; } .kol-progress__cycle-whitespace { fill: transparent; stroke: white; } .kol-progress__cycle-progress { transform: rotate(-90deg); transform-origin: 50% 50%; fill: transparent; stroke: var(--color-bar); } @media (prefers-reduced-motion: no-preference) { .kol-progress__cycle-progress { transition: 250ms ease-in-out 50ms; } } }`}}},[545,`kol-progress`,{_label:[1],_max:[2],_unit:[1],_value:[2],_variant:[1],liveValue:[32]},void 0,{_label:[{watchLabel:0}],_max:[{watchMax:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]),dx=ux,fx=function(){typeof customElements<`u`&&[`kol-progress`].forEach((e=>{e===`kol-progress`&&(customElements.get(M(e))||customElements.define(M(e),ux))}))},px=z(`quote`,``,R),mx={optional:[pl,il],required:[Mp,px]},hx=N.forBlock(`kol-quote`),gx=hx(`blockquote`),_x=hx(`cite`),vx=hx(`figcaption`),yx=hx(`quote`),bx=e=>{let{href:t,label:n,quote:r,variant:i}=ul(mx,e),a=r===``;return k(cl,{component:`figure`,block:`kol-quote`,modifiers:{[i]:!0}},i===`block`?k(`blockquote`,{class:gx,cite:t},r,k(`span`,{"aria-hidden":a?void 0:`true`,hidden:!a},k(`slot`,{name:`expert`}))):k(`q`,{class:yx,cite:t},r,k(`span`,{"aria-hidden":a?void 0:`true`,hidden:!a},k(`slot`,{name:`expert`}))),!!n&&k(`figcaption`,{class:vx},k(`cite`,{class:_x},k(`kol-link`,{_href:t,_label:n,_target:`_blank`}))))},xx=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=mx,this._label=void 0,this._variant=`inline`}watchHref(e){Mp.apply(e,(e=>this.setRenderProp(`href`,e)),this.isRequired(`href`))}watchLabel(e){pl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchQuote(e){px.apply(e,(e=>this.setRenderProp(`quote`,e)))}watchVariant(e){il.apply(e,(e=>this.setRenderProp(`variant`,e)))}componentWillLoad(){Mp.apply(this._href,(e=>this.setRenderProp(`href`,e)),this.isRequired(`href`)),pl.apply(this._label,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`)),px.apply(this._quote,(e=>this.setRenderProp(`quote`,e))),il.apply(this._variant,(e=>this.setRenderProp(`variant`,e)))}render(){return k(A,{key:`4e7f13dda25590815d477afb7a741ce95acaac67`},k(bx,{key:`517b3d31e36696ebdbd9a8103cf621ce7ae030bb`,href:this.getRenderProp(`href`),label:this.getRenderProp(`label`),quote:this.getRenderProp(`quote`),variant:this.getRenderProp(`variant`)}))}static get watchers(){return{_href:[{watchHref:0}],_label:[{watchLabel:0}],_quote:[{watchQuote:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-quote { display: inline; margin: 0; padding: 0; } .kol-quote__cite::before { content: "—"; } .kol-quote--block .kol-quote__figcaption { display: inline; margin: 0; padding: 0; } .kol-quote__blockquote::before { content: open-quote; } .kol-quote__blockquote::after { content: close-quote; } }`}}},[545,`kol-quote`,{_href:[1],_label:[1],_quote:[1],_variant:[1]},void 0,{_href:[{watchHref:0}],_label:[{watchLabel:0}],_quote:[{watchQuote:0}],_variant:[{watchVariant:0}]}]),Sx=xx,Cx=function(){typeof customElements<`u`&&[`kol-quote`,`kol-link`].forEach((e=>{switch(e){case`kol-quote`:customElements.get(M(e))||customElements.define(M(e),xx);break;case`kol-link`:customElements.get(M(e))||ky()}}))},wx=j(class extends bb{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=wu(`select`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=Rl(),this.propsConfig=fb,this._accessKey=void 0,this._ariaDetails=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._rows=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this.initFormAssociation(`select`,this._name)}watchAccessKey(e){this.applyAccessKey(e)}watchAriaDetails(e){this.applyAriaDetails(e)}watchDisabled(e){this.applyDisabled(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){this.applyIcons(e)}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMsg(e){this.applyMsg(e)}watchMultiple(e){this.applyMultiple(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchOptions(e){this.applyOptions(e)}watchRequired(e){this.applyRequired(e)}watchShortKey(e){this.applyShortKey(e)}watchRows(e){this.applyRows(e)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTabIndex(e){this.applyTabIndex(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this.getModelValue())}focus(e){return Promise.resolve()}componentWillLoad(){this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchTabIndex(this._tabIndex),this.watchIcons(this._icons),this.watchOptions(this._options),this.watchMultiple(this._multiple),this.watchRequired(this._required),this.watchRows(this._rows),this.watchValue(this._value)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getAccessKeyProp(){return this._accessKey}getShortKeyProp(){return this._shortKey}render(){return k(A,{key:`14221ec03629ae9fe4c6836378569f5ff24f2784`,class:`kol-select`},this.renderSelectField())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_rows:[{watchRows:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-select { background-color: transparent; width: 100%; padding: 0; } .kol-select:not(:disabled) { cursor: pointer; } .kol-select:not([multiple], [size]) { height: 2.75em; } .kol-select[multiple][size="1"] { height: 2.75em; } .kol-select__option:checked::before { content: "✓ "; } .kol-select[multiple] option { display: flex; min-height: var(--a11y-min-size); align-items: center; } .kol-select[multiple][size="1"] option::checkmark { height: 100%; } .kol-select[multiple][size="1"] option:checked::before { display: none; } }`}}},[545,`kol-select`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_disabled:[4],_hideMsg:[4,`_hide-msg`],_hideLabel:[4,`_hide-label`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_multiple:[4],_name:[1],_on:[16],_options:[1],_required:[4],_shortKey:[1,`_short-key`],_rows:[2],_syncValueBySelector:[1,`_sync-value-by-selector`],_tabIndex:[2,`_tab-index`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1544],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_rows:[{watchRows:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);H([U(`ctaRef`)],wx.prototype,`focus`,null);var Tx=wx,Ex=function(){typeof customElements<`u`&&[`kol-select`].forEach((e=>{e===`kol-select`&&(customElements.get(M(e))||customElements.define(M(e),wx))}))},Dx=Wv(),Ox={required:[...th.required,Dx],optional:[...th.optional,Lu,dh,xh,Oh,kh,cb,qu,Zu]},kx=N.forBlock(`kol-single-select`),Ax=N.forBlock(`kol-custom-suggestions-toggle`),jx=kx(`delete`),Mx=kx(`no-results-message`),Nx=({disabled:e,handleClick:t})=>k(Ul,{icons:`kolicon-chevron-down`,label:``,class:Ax({disabled:e}),onClick:t}),Px=({message:e})=>k(`div`,{class:Mx},e,` `),Fx=({message:e})=>k(`span`,{class:`visually-hidden`,role:`status`},e),Ix=j(class extends gh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=wu(`single-select`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.isOpen=!1,this.blockSuggestionMouseOver=!1,this.filteredOptions=[],this.inputValue=``,this.clearButton=Im((()=>this.host)),this.ctaRef=Rl(),this.translateDeleteSelection=G(`kol-delete-selection`),this.translateNoResultsMessage=G(`kol-no-results-message`),this.propsConfig=Ox,this._accessKey=void 0,this._ariaDetails=void 0,this._placeholder=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=null,this._hasClearButton=!0,this._rows=void 0,this._variant=void 0,this.toggleListbox=e=>{var t;if(e?.preventDefault(),!0!==this.getRenderProp(`disabled`)){if((t=this.ctaRef.el)==null||t.focus(),this.isOpen)this.isOpen=!1;else{this.isOpen=!0;let e=Array.isArray(this.filteredOptions)?this.filteredOptions.findIndex((e=>e.label===this.inputValue)):-1;this.focusOption(e>=0?e:-1)}}},this.handleSingleSelectInput=e=>{let t=e.target.value;this.inputValue=t,this.isOpen=!0,this.setFilteredOptionsByQuery(t),this.focusedIndex=-1},this.handleSingleSelectChange=e=>{this.isOpen||this.handleChange(e,this._value)},this.handleSingleSelectClick=e=>{var t;this.toggleListbox(e),(t=this.ctaRef.el)==null||t.focus(),this.handleClick(e)},this.handleInputBlur=e=>{this.handleFocusLeave(e)},this.handleDropdownKeyDown=e=>{e.key.length===1&&/[a-z0-9]/i.test(e.key)&&(e.preventDefault(),this.isOpen=!0,this.focusOptionStartingWith(e.key))},this.handleClearButtonClick=()=>{var e;this.clearSelection(),(e=this.ctaRef.el)==null||e.focus(),this.clearButtonFocused=!1},this.initFormAssociation(`single-select`,this._name)}watchAccessKey(e){Lu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Hp(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchPlaceholder(e){Oh.apply(e,(e=>this.setRenderProp(`placeholder`,e)))}watchDisabled(e){this.applyDisabled(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){xh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchOptions(e){this.applyOptions(e),this.filteredOptions=[...this.getRenderProp(`options`)??[]],this.isOpen?this.setFilteredOptionsByQuery(this.inputValue):this.updateInputValue(this._value)}watchRequired(e){kh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchShortKey(e){qu.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Hp(this._accessKey,e)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){this.updateInputValue(e)}watchHasClearButton(e){dh.apply(e,(e=>this.setRenderProp(`hasClearButton`,e)))}watchRows(e){cb.apply(e,(e=>this.setRenderProp(`rows`,e)))}watchVariant(e){Zu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this._value)}focus(e){return Promise.resolve()}componentWillLoad(){this.optionRefs=[],this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.applyOptions(this._options),this.watchRequired(this._required),this.watchPlaceholder(this._placeholder),this.watchHasClearButton(this._hasClearButton),this.watchRows(this._rows),this.filteredOptions=this.getRenderProp(`options`),this.updateInputValue(this._value)}componentDidRender(){this.syncFormField(),this.clearButton.syncListeners()}disconnectedCallback(){this.clearButton.destroy(),this.destroyFormField()}handleHostKeyDown(e){this.handleListboxKeyDown(e)}handleMouseEvent(){this.handleListboxMouseMove()}handleFocusIn(e){setTimeout((()=>{Ml(this.host)&&!this.inputHasFocus&&this.handleFocus(e)}))}handleFocusOut(e){this.selectOptionByInputValue(),setTimeout((()=>{this.inputHasFocus&&!Ml(this.host)&&(this.handleBlur(e),this.isOpen=!1)}))}getOptionCount(){return Array.isArray(this.filteredOptions)?this.filteredOptions.length:0}moveFocus(e,t=1){this.filteredOptions&&this.moveFocusSkippingDisabled(e,t,(e=>!!this.filteredOptions[e].disabled))}focusFirstOption(){this.moveFocus(-1*this.focusedIndex)}focusLastOption(){this.moveFocus(this.filteredOptions?this.filteredOptions.length-1-this.focusedIndex:0,-1)}handleConfirmKey(e){var t;this.clearButtonFocused?(this.clearSelection(),e.preventDefault()):this.isOpen?this.selectFocusedOption()&&((t=this.ctaRef.el)==null||t.focus(),this.handleListboxEvent(e,!1)):this.toggleListbox(e)}selectFocusedOption(){if(Array.isArray(this.filteredOptions)&&this.filteredOptions.length>0&&this.focusedIndex>=0){let e=this.filteredOptions[this.focusedIndex];return!e?.disabled&&(this.selectOption(e),!0)}return!1}focusOptionStartingWith(e){let t=e.toLowerCase(),n=Array.isArray(this.filteredOptions)&&this.filteredOptions.findIndex((e=>e.label.toLowerCase().startsWith(t)&&!e.disabled));typeof n==`number`&&n>=0&&this.focusOption(n)}setFilteredOptionsByQuery(e){if(e===void 0)return;let t=this.getRenderProp(`options`);e.trim()===``?this.filteredOptions=[...t]:Array.isArray(t)&&t.length>0&&e.length>0&&(this.filteredOptions=t.filter((t=>(t.label?.toLowerCase())?.includes(e.toLowerCase()))))}updateInputValue(e){let t=this.getRenderProp(`options`)?.find((t=>t.value===e));this.inputValue=t?t.label+``:``}selectOption(e){if(e.value===this._value)return this.inputValue=e.label,void(this.filteredOptions=[...this.getRenderProp(`options`)]);this._value=e.value,this.inputValue=e.label;let t={name:this.getRenderProp(`name`)??``,value:e.value};this.handleInput(uo(P.input,t,this.ctaRef.el),e.value),this.handleChange(uo(P.change,t,this.ctaRef.el),e.value),this.filteredOptions=[...this.getRenderProp(`options`)],this.formAssociation.setFormAssociatedValue(this._value)}clearSelection(){var e;if(!0===this.getRenderProp(`disabled`))return;this.focusedIndex=-1,this._value=null,this.inputValue=``,this.filteredOptions=[...this.getRenderProp(`options`)];let t={name:this.getRenderProp(`name`),value:null};this.handleInput(uo(P.input,t,this.ctaRef.el),null),this.handleChange(uo(P.change,t,this.ctaRef.el),null),(e=this.ctaRef.el)==null||e.focus(),this.isOpen=!0}selectOptionByInputValue(){let e=this.getRenderProp(`options`),t=e?.find((e=>e.label?.toLowerCase()===this.inputValue?.toLowerCase()));t?this.selectOption(t):this._value!=null&&(this.filteredOptions=[...e??[]])}getInputProps(){let{ariaDescribedBy:e,hasError:t}=this.getAria(),n=this.id,r=!0===this.getRenderProp(`disabled`),i=this.getRenderProp(`accessKey`)||void 0,a=this.getRenderProp(`placeholder`),o=this.getRenderProp(`shortKey`)||void 0,s=this.getRenderProp(`hideLabel`),c=this.getRenderProp(`label`);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:n,hideLabel:s,label:c,disabled:r,name:this.getRenderProp(`name`)||void 0},i?{accessKey:i}:{}),{value:this.inputValue,required:this.getRenderProp(`required`)}),a?{placeholder:a}:{}),{touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`)}),o?{"aria-keyshortcuts":o}:{}),{"aria-activedescendant":this.getActiveDescendant(),"aria-autocomplete":`both`,"aria-controls":Tu(n,`listbox`),"aria-describedby":e.length>0?e.join(` `):void 0,"aria-expanded":this.isOpen?`true`:`false`,"aria-label":s&&typeof c==`string`?c:void 0,"aria-labelledby":Tu(n,`label`),autocapitalize:`off`,autocorrect:`off`,autocomplete:`off`,class:`kol-single-select__input`,ref:this.ctaRef,role:`combobox`,type:`text`,onBlur:this.handleInputBlur,onChange:this.handleSingleSelectChange,onClick:this.handleSingleSelectClick,onFocus:this.handleFocus,onInput:this.handleSingleSelectInput,onKeyDown:this.handleKeyDown,ariaDescribedBy:e,"aria-invalid":t?`true`:void 0})}hasNoResults(){return!Array.isArray(this.filteredOptions)||this.filteredOptions.length===0}renderOptions(){return this.hasNoResults()?[]:this.filteredOptions.map(((e,t)=>k(hh,{id:this.getOptionId(t),index:t,option:e.label,searchTerm:this.inputValue,ref:e=>{e&&(this.optionRefs[t]=e)},selected:this._value===e.value,disabled:!!e.disabled,onClick:t=>{var n;e.disabled||(t.preventDefault(),this.selectOption(e),this.isOpen=!1,(n=this.ctaRef.el)==null||n.focus())},onMouseOver:()=>{this.blockSuggestionMouseOver||e.disabled||this.focusOption(t)},onFocus:()=>{e.disabled||this.focusOption(t)}})))}applyOptions(e){Dx.apply(e,(e=>this.setRenderProp(`options`,e)))}render(){let e=!0===this.getRenderProp(`disabled`),t=this.isOpen&&!e&&this.hasNoResults(),{startAdornment:n,endAdornment:r}=Ch({icons:this.getRenderProp(`icons`)});return k(A,{key:`667a886db03289adf0f7c091048cd628690da581`},k(ch,Object.assign({key:`ef855986dd101017ca182c40c2b6e632d4d71315`},this.getFormFieldProps({class:B(`kol-single-select`,{"kol-single-select--open":this.isOpen}),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,required:this.getRenderProp(`required`),variant:this.getRenderProp(`variant`)})),k(Dh,{key:`153e855f05131d88bbe280d3078cbdd960c881b9`,disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:n,endAdornment:r},k(vh,{key:`0d101aa66c5b3ec1d0901e1191a2d85160e5e391`,block:`kol-single-select`},k(Mh,Object.assign({key:`853eed32101cf2b6a85a311f346a4ca5bb084fac`},this.getInputProps())),this.inputValue&&this.getRenderProp(`hasClearButton`)&&k(hd,Object.assign({key:`3630716d5e2fcfe5f4c096835f0fa55cb36e10f6`},this.clearButton.getFcProps({_icons:`kolicon-cross`,_label:this.translateDeleteSelection,_hideLabel:!0,_variant:`ghost`,_disabled:e,_on:{onClick:this.handleClearButtonClick,onFocus:this.handleClearButtonFocus,onBlur:this.handleClearButtonBlur}},{class:jx,hidden:e}))),k(Nx,{key:`1c2f36e7a06567c88ee4b922593a7969d238d5f4`,disabled:e,handleClick:this.toggleListbox})),k(mh,{key:`06856cc0df537602ef4cd2e461f7321af7a2454c`,blockSuggestionMouseOver:this.blockSuggestionMouseOver,onKeyDown:this.handleDropdownKeyDown,style:{"--visible-options":``+(this.getRenderProp(`rows`)??5)},hidden:!this.isOpen||e,id:Tu(this.id,`listbox`),"aria-labelledby":Tu(this.id,`label`)},this.renderOptions()),t&&k(Px,{key:`68c16e149befddf268b96004739702d8401d48b4`,message:this.translateNoResultsMessage}),k(Fx,{key:`03d1b713f6aac23794335fd62c7a82e2aa26d4ec`,message:t?this.translateNoResultsMessage:``}))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_placeholder:[{watchPlaceholder:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_hasClearButton:[{watchHasClearButton:0}],_rows:[{watchRows:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-custom-suggestions-option { line-height: 1.5; white-space: normal; overflow-wrap: break-word; } .kol-custom-suggestions-option:not(.kol-custom-suggestions-option--disabled) { cursor: pointer; } .kol-custom-suggestions-options-group--cursor-hidden .kol-custom-suggestions-option { cursor: none !important; } .kol-custom-suggestions-option--disabled, .kol-custom-suggestions-option--disabled * { cursor: not-allowed; } .kol-custom-suggestions-options-group { background-color: white; display: block; position: absolute; z-index: 2; max-height: calc(250 * 1rem / var(--kolibri-root-font-size, 16)); margin: 0; padding: 0; overflow-x: hidden; overflow-y: auto; list-style-type: none; } .kol-input-container:has(.kol-custom-suggestions-options-group--open) { z-index: 10; } .kol-custom-suggestions-toggle { display: flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; cursor: default; } .kol-custom-suggestions-toggle.kol-custom-suggestions-toggle--disabled { cursor: not-allowed; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-single-select { } .kol-single-select__group .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-single-select__group :host { display: inline-block; } .kol-single-select__group .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-single-select__group .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-single-select__group .kol-button__interactive-element::before { content: "​"; } .kol-single-select__group .kol-button__text { flex: 1 0 100%; } .kol-single-select__group .kol-button { } .kol-single-select__group .kol-button__tooltip { height: 0; } .kol-single-select__group .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-single-select__group .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-single-select__no-results-message { display: flex; min-height: calc(50 * 1rem / var(--kolibri-root-font-size, 16)); align-items: center; justify-content: center; cursor: default; } .kol-single-select .kol-custom-suggestions-options-group { max-height: calc(40 * 1rem / var(--kolibri-root-font-size, 16) * var(--visible-options, 5) + 2 * 1rem / var(--kolibri-root-font-size, 16)) !important; } .kol-single-select--open .kol-custom-suggestions-toggle { transform: rotate(180deg); } .kol-custom-suggestions-toggle:not(.kol-custom-suggestions-toggle--disabled) { cursor: pointer; } }`}}},[545,`kol-single-select`,{_accessKey:[1,`_access-key`],_ariaDetails:[1,`_aria-details`],_placeholder:[1],_disabled:[4],_hideMsg:[4,`_hide-msg`],_hideLabel:[4,`_hide-label`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_name:[1],_on:[16],_options:[1],_required:[4],_shortKey:[1,`_short-key`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1032],_hasClearButton:[4,`_has-clear-button`],_rows:[2],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],isOpen:[32],blockSuggestionMouseOver:[32],filteredOptions:[32],inputValue:[32],getValue:[64],focus:[64]},[[0,`keydown`,`handleHostKeyDown`],[1,`mousemove`,`handleMouseEvent`],[0,`focusin`,`handleFocusIn`],[0,`focusout`,`handleFocusOut`]],{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_placeholder:[{watchPlaceholder:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_hasClearButton:[{watchHasClearButton:0}],_rows:[{watchRows:0}],_variant:[{watchVariant:0}]}]);H([U(`ctaRef`)],Ix.prototype,`focus`,null);var Lx=Ix,Rx=function(){typeof customElements<`u`&&[`kol-single-select`].forEach((e=>{e===`kol-single-select`&&(customElements.get(M(e))||customElements.define(M(e),Ix))}))},zx=jp(`KolSkipNav`),Bx={required:[zx,cp]},Vx=N.forBlock(`kol-skip-nav`),Hx=Vx(`list`),Ux=Vx(`list-item`),Wx=({label:e,linkItems:t})=>k(cl,{component:`nav`,block:`kol-skip-nav`,"aria-label":e},k(`ul`,{class:Hx},t.map(((e,t)=>k(`li`,{class:Ux,key:t},k(Vp,Object.assign({},e.fcProps))))))),Gx=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.linkItems=[],this.ctaRef=Rl(),this.propsConfig=Bx}watchLabel(e){this.applyLabel(e)}watchLinks(e){this.applyLinks(e)}focus(e){return Promise.resolve()}componentWillLoad(){this.applyLabel(this._label,!0),this.applyLinks(this._links)}componentDidRender(){this.ctaRef(this.linkItems[0]?.getAnchor()),this.linkItems.forEach((e=>e.syncTooltipListeners()))}disconnectedCallback(){this.linkItems.forEach((e=>e.destroy())),Gp(this.getRenderProp(`label`))}applyLabel(e,t=!1){t||Gp(this.getRenderProp(`label`)),cp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`)),na(e),Wp(this.getRenderProp(`label`))}applyLinks(e){zx.apply(e,(e=>{this.setRenderProp(`links`,e),this.linkItems.forEach((e=>e.destroy())),this.linkItems=e.map((e=>((e,t)=>{var n;let r=new Kf(V.stateLess),i=Rl(),a=ll(zp);a.tabIndex=void 0;let o=(e,t)=>e.apply(t,(t=>{a[e.propName]=t}));return o(Lu,e._accessKey),o(zu,e._ariaControls),o(Fp,e._ariaCurrentValue),o(Bu,e._ariaDescription),o(Sl,e._disabled),o(Lp,e._download),o(Uu,e._hideLabel),o(Mp,e._href),o(Ju,e._icons),o(Wu,(n=e._inline)==null||n),o(nd,e._label),o(Rp,e._on),o(qu,e._shortKey),typeof e._tabIndex==`number`&&o(Yu,e._tabIndex),o(Np,e._target),o(Xu,e._tooltipAlign),Hp(e._accessKey,e._shortKey),r.componentWillLoad({label:(()=>{let e=a.label;if(typeof e==`string`&&e.length>0)return e;let t=a.href;return typeof t==`string`?t:``})(),align:a.tooltipAlign}),a.ariaCurrent=``,a.ariaDescriptionId=Cu(),a.expertSlot=e._label===``,a.handleAnchorClick=e=>{if(r.hideTooltip(),!0===a.disabled)return void e.preventDefault();let n=typeof a.href==`string`?a.href:``,o=a.on;typeof o?.onClick==`function`&&(xa(e,i.el),o.onClick(e,n));let s=t();s&&F(s,P.click,n)},a.refAnchor=e=>{i(e)},a.refTooltip=r.setTooltipElementRef,{fcProps:a,getAnchor:()=>i.el,syncTooltipListeners:()=>{i.el&&r.syncListeners(void 0,i.el,!0)},destroy:()=>{r.destroy()}}})(e,(()=>this.host))))}))}render(){return k(A,{key:`a891a42379dce802379fa4c4807723d00af45c52`},k(Wx,{key:`3fc3c0c519bb836699e86b12e19ddd15718e1cc2`,label:this.getRenderProp(`label`),links:this.getRenderProp(`links`),linkItems:this.linkItems}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } .kol-skip-nav__list { display: grid; place-items: center; list-style: none; } .kol-skip-nav__list-item { height: 0; } .kol-skip-nav .kol-link { position: absolute; left: calc(-99999 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 9999999; line-height: 1; } .kol-skip-nav .kol-link:focus-within { position: unset; left: unset; } .kol-skip-nav .kol-link__interactive-element:focus { background-color: white; } }`}}},[545,`kol-skip-nav`,{_label:[1],_links:[1],linkItems:[32],focus:[64]},void 0,{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}]);H([U(`ctaRef`)],Gx.prototype,`focus`,null);var Kx=Gx,qx=function(){typeof customElements<`u`&&[`kol-skip-nav`].forEach((e=>{e===`kol-skip-nav`&&(customElements.get(M(e))||customElements.define(M(e),Gx))}))},Jx=z(`show`,!1,Dc),Yx=[`dot`,`cycle`,`none`],Xx=z(`variant`,`dot`,(e=>{let t=R(e);if(Yx.includes(t))return t;throw Error(`Invalid spin variant: ${t}`)}),(()=>!0)),Zx={optional:[cp,Jx,Xx]},Qx=N.forBlock(`kol-spin`),$x=Qx(`loader`),eS=[`1`,`2`,`3`,`neutral`],tS=e=>{let{show:t,label:n,variant:r}=ul(Zx,e);return k(cl,{block:`kol-spin`},t?k(jr,null,k(`span`,{class:Qx(`spinner`,{[r]:!0})},function(e){switch(e){case`cycle`:return k(`span`,{class:$x});case`none`:return k(`slot`,{name:`expert`});default:return eS.map((e=>k(`span`,{class:Qx(`spinner-element`,{[e]:!0})})))}}(r)),k(`span`,{"aria-busy":`true`,class:`visually-hidden`,role:`alert`},n||G(`kol-action-running`))):k(`span`,{"aria-busy":`false`,class:`visually-hidden`,role:`alert`},n||G(`kol-action-done`)))},nS=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=Zx,this._show=void 0,this._label=void 0,this._variant=void 0}watchShow(e){Jx.apply(e,(e=>this.setRenderProp(`show`,e)))}watchLabel(e){cp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchVariant(e){Xx.apply(e,(e=>this.setRenderProp(`variant`,e)))}componentWillLoad(){Jx.apply(this._show,(e=>this.setRenderProp(`show`,e))),cp.apply(this._label,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`)),Xx.apply(this._variant,(e=>this.setRenderProp(`variant`,e)))}render(){return k(A,{key:`79ccabb878e63a508c5b37d46af444dd67edb806`},k(tS,{key:`623a589f960f2cc97d31966df4a8b88d1ced4b36`,show:this.getRenderProp(`show`),label:this.getRenderProp(`label`),variant:this.getRenderProp(`variant`)}))}static get watchers(){return{_show:[{watchShow:0}],_label:[{watchLabel:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { @keyframes rotate { to { transform: rotate(1turn); } } @keyframes growingCircle { 0% { opacity: 0.5; border-color: white; clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); } 25% { opacity: 0.75; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); } 50% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); } 75% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%); } 100% { opacity: 0.1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); } } .kol-spin__spinner--cycle { width: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--cycle .kol-spin__loader { border-radius: 50%; display: block; position: relative; width: 100%; height: 100%; animation: 2s linear infinite rotate; } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader { animation-duration: 4s !important; } } .kol-spin__spinner--cycle .kol-spin__loader::before { border-radius: 50%; position: absolute; inset: 0; content: ""; animation: 3s linear infinite growingCircle; border: 5px solid var(--kol-spin-color, var(--kol-theme-spin-color, #333)); } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader::before { animation-duration: 6s !important; } } } @layer kol-component { @keyframes spin1 { 0% { transform: scale(0); } 100% { transform: scale(1); } } @keyframes spin2 { 0% { transform: translate(0, 0); } 100% { transform: translate(calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)), 0); } } @keyframes spin3 { 0% { transform: scale(1); } 100% { transform: scale(0); } } @media (prefers-reduced-motion) { .kol-spin__spinner-element { animation-duration: 2s !important; } } .kol-spin__spinner--dot { --kol-spin-border-width: calc(var(--kol-spin-size, 13) / 10); width: calc(calc(var(--kol-spin-size, 13) * 3 + 2) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width) * 2) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--dot .kol-spin__spinner-element { background-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); border-radius: 50%; position: absolute; top: 1px; width: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); animation-timing-function: cubic-bezier(0, 1, 1, 0); border: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)) solid white; } .kol-spin__spinner--dot .kol-spin__spinner-element--1 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin1; } .kol-spin__spinner--dot .kol-spin__spinner-element--2 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--3 { left: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--neutral { opacity: 0.6; left: calc(calc(var(--kol-spin-size, 13) * 2 + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin3; } } @layer kol-component { .kol-spin { display: contents; } .kol-spin__spinner { display: block; position: relative; } }`}}},[545,`kol-spin`,{_show:[4],_label:[1],_variant:[1]},void 0,{_show:[{watchShow:0}],_label:[{watchLabel:0}],_variant:[{watchVariant:0}]}]),rS=nS,iS=function(){typeof customElements<`u`&&[`kol-spin`].forEach((e=>{e===`kol-spin`&&(customElements.get(M(e))||customElements.define(M(e),nS))}))},aS=N.forBlock(`kol-split-button`),oS=aS(`button`),sS=aS(`horizontal-line`),cS=aS(`root`),lS=aS(`secondary-button`),uS=e=>{let{buttonProps:t,buttonWrapperClass:n,class:r,dropdownProps:i,refDropdown:a}=e;return k(cl,{block:`kol-split-button`,class:r},k(`div`,{class:cS},k(`div`,{class:B(oS,n)},k(hd,Object.assign({},t))),k(`div`,{class:sS}),k(`div`,{class:lS,ref:a},k(Bm,Object.assign({},i)))))},dS=j(class extends fm{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=Cu(),this.dropdownOpen=!1,this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._type=`button`,this._value=void 0,this._variant=`normal`,this.setDropdownRef=e=>{this.dropdownElement=e},this.initFormAssociation()}watchAccessKey(e){this.applyAccessKey(e,this._shortKey)}watchAriaControls(e){this.applyAriaControls(e)}watchAriaDescription(e){this.applyAriaDescription(e)}watchAriaExpanded(e){this.applyAriaExpanded(e)}watchAriaSelected(e){this.applyAriaSelected(e)}watchCustomClass(e){this.applyCustomClass(e)}watchDisabled(e){var t;this.applyDisabled(e),(t=this.dropdownItem)==null||t.setDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchIcons(e){this.applyIcons(e)}watchLabel(e){this.applyLabel(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn({onClick:e?.onClick})}watchRole(){}watchShortKey(e){this.applyShortKey(e,this._accessKey)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchType(e){this.applyType(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this._value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}closePopup(){return this.dropdownItem.hide(),Promise.resolve()}componentWillLoad(){this.unsetButtonTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchAriaSelected(this._ariaSelected),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.applyInline(!1),this.watchLabel(this._label),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior(),this.dropdownItem=Wm({disabled:this._disabled,getEventTarget:()=>this.dropdownElement,getFlagHost:()=>this.host,getOpen:()=>this.dropdownOpen,hideLabel:!0,icons:`kolicon-chevron-down`,label:G(`kol-split-button-dropdown-label-open`),popoverAlign:`bottom`,setOpen:e=>{this.dropdownOpen=e}})}componentDidRender(){this.syncTooltipListeners(),this.dropdownItem.syncListeners()}disconnectedCallback(){this.destroyTooltipBehavior(),this.dropdownItem.destroy()}getButtonWrapperClass(){return B({[this._variant]:this._variant!==`custom`,[this._customClass]:this._variant===`custom`&&typeof this._customClass==`string`&&this._customClass.length>0})}render(){return k(uS,{key:`2296cf3338e670d37620c935573711c7cef43c83`,buttonProps:this.getButtonFCProps(),buttonWrapperClass:this.getButtonWrapperClass(),dropdownProps:this.dropdownItem.getFcProps(),refDropdown:this.setDropdownRef})}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-popover-button { display: inline; } .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-popover-button--inline { display: inline-block; } .kol-popover-button--inline .kol-button, .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-split-button { display: flex; position: relative; width: 100%; } .kol-split-button__root { display: flex; position: relative; width: 100%; align-items: stretch; } .kol-split-button__button { min-width: 0; flex: 1 1 auto; text-align: left; } }`}}},[545,`kol-split-button`,{_accessKey:[1,`_access-key`],_ariaControls:[1,`_aria-controls`],_ariaDescription:[1,`_aria-description`],_ariaExpanded:[4,`_aria-expanded`],_ariaSelected:[4,`_aria-selected`],_customClass:[1,`_custom-class`],_disabled:[4],_hideLabel:[4,`_hide-label`],_icons:[1],_label:[1],_name:[1],_on:[16],_role:[1],_shortKey:[1,`_short-key`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_type:[1],_value:[8],_variant:[1],ariaDescriptionId:[32],dropdownOpen:[32],getValue:[64],focus:[64],click:[64],closePopup:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);H([U(`ctaRef`)],dS.prototype,`focus`,null),H([W(`ctaRef`)],dS.prototype,`click`,null);var fS=dS,pS=function(){typeof customElements<`u`&&[`kol-split-button`].forEach((e=>{e===`kol-split-button`&&(customElements.get(M(e))||customElements.define(M(e),dS))}))},mS,hS;(function(e){e.onBlur=`onBlur`,e.onChange=`onChange`,e.onChangeHeaderCells=`onChangeHeaderCells`,e.onChangePage=`onChangePage`,e.onClick=`onClick`,e.onClose=`onClose`,e.onDblClick=`onDblClick`,e.onFocus=`onFocus`,e.onInput=`onInput`,e.onKeyDown=`onKeyDown`,e.onKeyPress=`onKeyPress`,e.onKeyUp=`onKeyUp`,e.onMouseDown=`onMouseDown`,e.onMouseMove=`onMouseMove`,e.onMouseOut=`onMouseOut`,e.onMouseOver=`onMouseOver`,e.onMouseUp=`onMouseUp`,e.onReset=`onReset`,e.onSelect=`onSelect`,e.onSelectionChange=`onSelectionChange`,e.onChangePageSize=`onChangePageSize`,e.onSort=`onSort`,e.onSortChange=`onSortChange`,e.onSubmit=`onSubmit`,e.onToggle=`onToggle`})(mS||={}),function(e){e.ArrowDown=`ArrowDown`,e.ArrowLeft=`ArrowLeft`,e.ArrowRight=`ArrowRight`,e.ArrowUp=`ArrowUp`,e.Enter=`Enter`,e.Space=` `}(hS||={});var gS=(e,t,n)=>{let r=e=>typeof e==`string`||e===void 0;return Ca(e,`_ariaLabelledby`,r,new Set([`string`]),n),r(n)?Gm(t,n):[]},_S=e=>typeof e==`number`&&Number.isInteger(e)&&e>=0,vS=z(`fixedCols`,[0,0],(e=>jc(e)),(e=>e.length===2&&e.every(_S))),yS=z(`hasSettingsMenu`,!1,Dc),bS=Ic();function xS(e){let t=typeof e==`string`?Ea(e):e;if(Array.isArray(t))return t;throw Error(`Invalid table data: expected an array of row objects.`)}function SS(e){return e.every((e=>typeof e==`object`&&!!e))}var CS=z(`data`,[],xS,SS),wS=z(`dataFoot`,[],xS,SS),TS=e=>Array.isArray(e)&&e.every((e=>Array.isArray(e))),ES=z(`headers`,{horizontal:[],vertical:[]},(function(e){let t=typeof e==`string`?Ea(e):e;if(typeof t!=`object`||!t)throw Error(`Invalid table headers: expected an object.`);let{horizontal:n=[],vertical:r=[]}=t;if(!TS(n)||!TS(r))throw Error(`Invalid table headers: horizontal and vertical must be arrays of header rows.`);return{horizontal:n,vertical:r}}),(function({horizontal:e,vertical:t}){return[...e,...t].every((e=>e.every((e=>e.width===void 0||typeof e.width==`number`))))})),DS=z(`loading`,!1,Dc),OS=z(`selection`,!1,(function(e){let t=typeof e==`string`?Ea(e):e;if(typeof t==`object`&&t)return t;throw Error(`Invalid table selection: expected an object.`)}),(function(e){return!1===e||typeof e.label==`function`&&(!e.selectedKeys||Array.isArray(e.selectedKeys))})),kS={required:[pl,CS,ES],optional:[vS,yS,bS,wS,DS,OS,Zu]},AS=e=>e.flatMap((e=>e.filter((e=>typeof e.key==`string`||typeof e.render==`function`)))),jS=e=>{let t=AS(e.horizontal);if(t.length>0)return{cells:t,horizontal:!0};let n=AS(e.vertical);return{cells:n,horizontal:n.length===0}},MS=(e,t)=>{let n=0;return Array.isArray(e)&&e.forEach((e=>{n+=e[t]??1})),n},NS=(e,t)=>{let n=Math.max(0,...e.map((e=>MS(e,`colSpan`))));return n===0?t.length:n},PS=e=>e?.reduce(((e,t)=>`visible`in t&&!1===t.visible?e:e+(t.colSpan||1)),0)??0,FS=(e,t,n,r)=>{if(r!==void 0&&!t)return r<e[0]?`left`:e[1]>0&&r>=n-e[1]?`right`:void 0},IS=(e,t,n,r)=>{let i=[];for(let a=0;a<t;a++)FS(n,r,t,a)===`left`&&(i[a]=(i[a-1]??0)+(e[a-1]?.width??0));for(let a=t-1;a>=0;a--)FS(n,r,t,a)===`right`&&(i[a]=(i[a+1]??0)+(e[a+1]?.width??0));return i},LS=(e,t,n,r)=>{let i=t===void 0?void 0:e[t];return n&&r?`calc( var(--kol-table-selection-col-width) + ${i}px)`:`${i}px`},RS=({data:e,dataFoot:t,headers:n,isFoot:r,noEntriesLabel:i,primaryHeaders:a})=>{let o=NS(n.horizontal,e),s=a.cells,c=((e,t,n)=>{let r=Math.max(0,...e.map((e=>MS(e,`rowSpan`))));return r===0?t.length:r-n})(n.vertical,e,t.length),l=0;r&&(l=c,c+=t.length);let u=[],d=[],f=[];n.vertical.forEach(((e,t)=>{d[t]=0,f[t]=[]}));for(let i=l;i<c;i++){let c=[];n.vertical.forEach(((e,t)=>{let n=0;if(f[t].forEach((e=>n+=e)),n<=i){let r=e[i-n+d[t]];if(typeof r==`object`){c.push(Object.assign(Object.assign({},r),{headerCell:!0,data:{}}));let e=1;if(typeof r.rowSpan==`number`&&r.rowSpan>1&&(e=r.rowSpan),f[t].push(e),typeof r.colSpan==`number`&&r.colSpan>1)for(let n=1;n<r.colSpan;n++)f[t+n].push(e);d[t]++}}}));for(let n=0;n<o;n++)if(a.horizontal){let a=r?t[i-l]:e[i],o=s[n];typeof o==`object`&&o&&typeof a==`object`&&a&&c.push(Object.assign(Object.assign({},o),{colIndex:n,colSpan:void 0,rowSpan:void 0,data:a,label:a[o.key]}))}else{let t=s[i];typeof t==`object`&&t&&typeof e[n]==`object`&&e[n]!==null&&c.push(Object.assign(Object.assign({},t),{colIndex:n,colSpan:void 0,rowSpan:void 0,data:e[n],label:e[n][t.key]}))}u.push(c)}if(e.length===0){let e=PS(n.horizontal[0]),t=0;n.vertical.length>0&&(e-=n.vertical.length,n.vertical[0].forEach((e=>{t+=e.rowSpan||1})));let r={colSpan:e,label:i,render:void 0,rowSpan:Math.max(t,1)};u.length===0?u.push([r]):u[0].push(r)}return u},zS=({horizontal:e,vertical:t})=>{let n=e.flatMap((e=>e.filter((e=>!1!==e.visible&&e.width!==void 0&&e.width>0)).map((e=>e.width)))),r=[...t.flatMap((e=>e.filter((e=>e.width!==void 0&&e.width>0)).map((e=>e.width)))),...n];return r.length===0?`0px`:r.length===1?`${r[0]}px`:`calc(${r.map((e=>`${e}px`)).join(` + `)})`},BS=e=>e===void 0?[]:Array.isArray(e)?e:[e],VS=e=>(e?e.keyPropertyName:void 0)??`id`,HS=e=>{let t=e?BS(e.selectedKeys):[];return{disabledKeys:new Set((e?BS(e.disabledKeys):[]).map(String)),keyPropertyName:VS(e),selectedKeys:t,selectedKeysSet:new Set(t.map(String))}},US=(e,t)=>e.filter((e=>!t.disabledKeys.has(String(e[t.keyPropertyName])))),WS=N.forBlock(`kol-table`),GS=WS(`body`),KS=WS(`cell-actions`),qS=WS(`cell-states`),JS=WS(`footer`),YS=WS(`head`),XS=WS(`head-row`),ZS=WS(`scroll-container`),QS=WS(`selection-icon`),$S=WS(`selection-input-tooltip`),eC=WS(`sort`),tC=WS(`sort-button`),nC=WS(`sort-order`),rC=WS(`table`),iC=`${WS(`focus-element`)} ${WS(`caption`)}`,aC=`caption`,oC=(e,t)=>FS(e.fixedCols,e.stickyColsDisabled,e.maxCols,t),sC=(e,t,n)=>({left:t===`left`?LS(e.fixedOffsets,n,!0,!1!==e.selection):void 0,right:t===`right`?LS(e.fixedOffsets,n,!1,!1!==e.selection):void 0}),cC=(e,t,n)=>(e.primaryHeaders.horizontal&&t[0]?.data?e.rowKeys.get(t[0].data):void 0)??String(n),lC=e=>{let t=G(`kol-sort`);return typeof e==`number`&&e>0?`${t} – ${G(`kol-table-sort-order`).replace(`{{order}}`,`${e}`)}`:t},uC=(e,t,n,r,i)=>{if(!1===t.visible)return``;let a=!1!==t?.sortable&&typeof t.sortDirection==`string`,o=`none`,s=`kolicon-sort-neutral`;if(a&&t.sortDirection)switch(t.sortDirection){case`ASC`:s=`kolicon-sort-asc`,o=`ascending`;break;case`DESC`:s=`kolicon-sort-desc`,o=`descending`;break;default:o=`none`}let c=i?`row`:typeof t.colSpan==`number`&&t.colSpan>1?`colgroup`:`col`,l=typeof t.sortOrder==`number`&&t.sortOrder>0?t.sortOrder:void 0,u=t.width===void 0?void 0:`${t.width}px`,d=oC(e,r),{left:f,right:p}=sC(e,d,r),m=t.textAlign,h=a?t.sortDirection:void 0;return k(`th`,{key:`${n}-${r}-${t.label}`,class:WS(`cell`,{[o]:!0,"align-center":m===`center`,"align-justify":m===`justify`,"align-left":m===`left`,"align-right":m===`right`,header:!0,"sticky-left":d===`left`,"sticky-right":d===`right`}),scope:c,colSpan:t.colSpan,rowSpan:t.rowSpan,style:{width:u,left:f,right:p},"aria-sort":o,"data-sort":h?`sort-${h}`:void 0},h?k(`span`,{class:eC},k(hd,Object.assign({},e.getButtonFcProps(`sort-${i?`vertical`:`horizontal`}-${n}-${r}`,{_icons:{right:s},_label:t.label,_ariaDescription:lC(l),_on:{onClick:n=>{e.handleSort(n,{key:t.key,currentSortDirection:h})}}},{class:tC}))),l&&k(`span`,{"aria-hidden":`true`,class:nC},l)):t.label)},dC=(e,t,n,r,i=!1)=>k(`tr`,{class:WS(`row`,{body:!i,footer:i}),key:`row-${cC(e,t,n)}`},((e,t,n)=>{let{handleSelectionChange:r,selection:i,selectionModel:a}=e;if(!i)return``;let o=t[0]?.data;if(!o)return``;let s=o[a.keyPropertyName],c=i.multiple||i.multiple===void 0,l=String(s),u=a.selectedKeysSet.has(l),d=a.disabledKeys.has(l),f=i.label(o),p={name:`selection`,checked:u,disabled:d,id:String(s),"aria-label":f};return k(`td`,{key:`tbody-${n}-selection`,class:WS(`cell`,{selection:!0})},k(`div`,{class:WS(`selection`,{checked:u})},c?k(`label`,{class:WS(`selection-label`,{disabled:d})},k(Ul,{class:QS,icons:`kolicon `+(u?`kolicon-check`:``),label:``}),k(`input`,Object.assign({class:WS(`selection-input`,{checkbox:!0})},p,{type:`checkbox`,onInput:e=>{let t=u?a.selectedKeys.filter((e=>String(e)!==l)):[...a.selectedKeys,s];r(e,t)}}))):k(`label`,{class:WS(`selection-label`)},k(`input`,Object.assign({class:WS(`selection-input`,{radio:!0})},p,{type:`radio`,onInput:e=>{r(e,[s])}}))),k(`div`,{class:$S},k(ed,{label:f,badgeText:``,id:`${s}-label`,refFloating:()=>{}}))))})(e,t,n),t.map(((t,i)=>((e,t,n,r,i)=>{if(!1===t.visible)return``;let a=`${n}-${r}-${t.label}`;if(t.data){let i=e.rowKeys.get(t.data);a=i?`${i}-${e.primaryHeaders.horizontal?r:n}`:a}if(t.headerCell)return uC(e,t,n,r,i);let o=typeof t.render!=`function`&&t.label===e.translateNoEntries,s=((e,t,n)=>{if((t.horizontal?e.horizontal:e.vertical).length!==0)return t.cells[n]})(e.headers,e.primaryHeaders,r),c=s?.type===`action`?s:void 0,l=!!(c&&t.data),u=s?.type===`state`?s:void 0,d=!!(u&&t.data),f=oC(e,r),{left:p,right:m}=sC(e,f,t.colIndex),h=typeof t.render==`function`,g=t.textAlign;return k(`td`,{key:`cell-${a}-${e.settingsChangedCounter}`,class:WS(`cell`,{actions:l,"align-center":g===`center`,"align-justify":g===`justify`,"align-left":g===`left`,"align-right":g===`right`,body:!0,states:d,"sticky-left":f===`left`,"sticky-right":f===`right`}),"aria-atomic":o?`false`:void 0,"aria-live":o?`polite`:void 0,"aria-relevant":o?`text`:void 0,colSpan:t.colSpan,rowSpan:t.rowSpan,style:{textAlign:g,left:p,right:m},ref:h?n=>e.handleRenderCell(t,n):void 0},l&&c&&t.data?((e,t,n,r)=>k(`div`,{class:KS},t.actions(n).map(((t,n)=>{let i=`action-${r}-${n}`;return t.type===`button`?k(`span`,{key:i},k(hd,Object.assign({},e.getButtonFcProps(i,t)))):t.type===`link`?k(`span`,{key:i},k(Vp,Object.assign({},e.getLinkFcProps(i,t)))):null}))))(e,c,t.data,a):d&&u&&t.data?((e,t,n)=>{let r=e.key;if(!r)return``;let i=t[r];return i?k(`div`,{class:qS},i.map(((e,t)=>e.type===`badge`?k(`kol-badge`,Object.assign({key:`state-${n}-${t}`},e)):null))):``})(u,t.data,a):h?``:t.label)})(e,t,n,i,r)))),fC=(e,t,n)=>{let r=e.headers.vertical.length+PS(n?.[0])+ +!!e.selection;return k(`tr`,{"aria-hidden":`true`,class:WS(`spacer`,{[t]:!0})},k(`td`,{class:WS(`spacer-line`,{[t]:!0}),colSpan:r}))},pC=e=>{let t=ul(kS,e),{data:n,dataFoot:r,externalLabelElements:i,fixedCols:a,hasScrollbar:o,hasSettingsMenu:s,headers:c,label:l,loading:u,refScrollContainer:d,refTable:f,selection:p,stickyColsDisabled:m,variant:h}=t,g=G(`kol-no-entries`),_=jS(c),v=NS(c.horizontal,n),y=Object.assign(Object.assign({},t),{fixedOffsets:IS(_.cells,v,a,m),maxCols:v,primaryHeaders:_,selectionModel:HS(p),translateNoEntries:g}),b=RS({data:n,dataFoot:r,headers:c,isFoot:!1,noEntriesLabel:g,primaryHeaders:_}),x=i.length===0;return k(cl,{block:`kol-table`,class:Iu(h,`table`)},s&&e.renderSettings(c.horizontal),k(`div`,{ref:d,class:ZS,tabindex:o?x?`-1`:`0`:void 0},k(`table`,{ref:f,"aria-labelledby":x?aC:void 0,class:rC,style:{minWidth:zS(c)}},x&&k(`caption`,{class:iC,id:aC,ref:e=>{e&&(o?e.tabIndex=0:e.removeAttribute(`tabindex`))}},fu(l)),k(`thead`,{class:YS},[c.horizontal.map(((e,t)=>k(`tr`,{class:XS,key:`thead-${t}`},p&&(e=>{let{data:t,handleSelectionChange:n,selection:r,selectionModel:i}=e;if(!r)return k(`td`,{class:WS(`cell`,{header:!0}),key:`thead-0`});if(!1===r.multiple)return k(`th`,{scope:`col`,key:`thead-0-selection`,class:WS(`cell`,{header:!0,selection:!0})},k(`span`,{class:`visually-hidden`},G(`kol-table-selection`)));let a=i.selectedKeys.filter((e=>!i.disabledKeys.has(String(e)))).length,o=a===US(t,i).length,s=a!==0&&!o,c;return c=G(a===0?`kol-table-selection-all`:o&&!s?`kol-table-selection-none`:`kol-table-selection-indeterminate`),k(`th`,{scope:`col`,key:`thead-0-selection`,class:WS(`cell`,{header:!0,selection:!0})},k(`span`,{class:`visually-hidden`},G(`kol-table-selection`)),k(`div`,{class:WS(`selection`,{checked:o,indeterminate:s})},k(`label`,{class:WS(`selection-label`)},k(Ul,{class:QS,icons:`kolicon `+(s?`kolicon-minus`:o?`kolicon-check`:``),label:``}),k(`input`,{class:WS(`selection-input`,{checkbox:!0}),name:`selection`,checked:o&&!s,indeterminate:s,"aria-label":c,type:`checkbox`,onInput:e=>{n(e,((e,t,n)=>{let r=t.selectedKeys.filter((e=>t.disabledKeys.has(String(e))));return n&&r.push(...US(e,t).map((e=>e?.[t.keyPropertyName]))),r})(t,i,!o))}})),k(`div`,{class:$S},k(ed,{label:c,badgeText:``,refFloating:()=>{}}))))})(y),t===0&&(({headers:e})=>{let{horizontal:t,vertical:n}=e;if(t.length===0||n.length===0)return k(jr,null);let r=n.reduce(((e,t)=>e+(t?.[0]?.width??0)),0);return k(`td`,{"aria-hidden":`true`,colSpan:n.length,rowSpan:t.length,style:r>0?{width:`${r}px`}:void 0})})(y),Array.isArray(e)&&e.map(((e,n)=>uC(y,e,t,n,!1)))))),fC(y,`head`,c.horizontal)]),k(`tbody`,{class:GS},k(`div`,{class:WS(`loader`,{shown:u})},k(tS,{label:G(u?`kol-table-data-loading`:`kol-table-data-loaded`).replace(`{{caption}}`,Hc(l)),show:u,variant:`cycle`})),b.map(((e,t)=>dC(y,e,t,!0)))),(e=>{let{dataFoot:t,headers:n,primaryHeaders:r,translateNoEntries:i}=e;if(t.length===0)return null;let a=RS({data:t,dataFoot:t,headers:n,isFoot:!0,noEntriesLabel:i,primaryHeaders:r}),o=NS(n.horizontal,t),s=Object.assign(Object.assign({},e),{fixedOffsets:IS(r.cells,o,e.fixedCols,e.stickyColsDisabled),maxCols:o});return k(`tfoot`,{class:JS},[fC(e,`foot`,a),a.map(((e,t)=>dC(s,e,t,!0,!0)))])})(y))))},mC=({dialog:e,card:t},n)=>k(qh,Object.assign({},e),t?k(jm,Object.assign({},t),n):n),hC=N.forBlock(`kol-table`)(`settings`),gC=N.forBlock(`kol-table-settings`),_C=gC(),vC=gC(`actions`),yC=gC(`columns`),bC=gC(`content`),xC=gC(`error-message`),SC=e=>Number.isFinite(e)&&e!==void 0&&e>0?e:void 0,CC=()=>{},wC=(e,t)=>{let n=G(`kol-table-settings`),r=G(`kol-table-settings-cancel`),i=G(`kol-table-settings-apply`),a=G(`kol-table-settings-error-all-invisible`),o,s=!1,c=!1,l=()=>{s=!0,t()},u=qy((()=>Im(e)),(e=>e.syncListeners()),(e=>e.destroy())),d=((e,t)=>{let n=Rl(),r=Rl(),i=new Kf(V.stateLess),a=Cu(),s=wu(`dialog-heading`),c={},l,u=!0,d={},f=e=>!o||F(o,e),p=()=>{var e,t;(t=(e=n.el)?.close)==null||t.call(e)},m=e=>{var t;ho(e),e.defaultPrevented||((t=d.onCancel)==null||t.call(d,e),e.defaultPrevented||f(P.cancel)||e.preventDefault())},h=e=>{var t;e.target===n.el&&(Qh(c),(t=d.onClose)==null||t.call(d),f(P.close))},g=()=>{i.hideTooltip(),p(),f(P.close)};return{getFcProps:t=>{let o=``,c=0,f=`blank`,p=`100%`;pl.apply(t.label,(e=>{o=e})),xl.apply(t.level??0,(e=>{c=e})),Uh.apply(t.on,(e=>{d=e})),nl.apply(t.variant??`blank`,(e=>{f=e})),Wh.apply(t.width??`100%`,(e=>{p=e}));let _=f===`card`;return _&&!l&&(l=Sm(e()),i.componentWillLoad({label:l.label,align:l.tooltipAlign})),{dialog:{handleCancel:m,handleClose:h,label:Hc(o),labelledBy:_?s:void 0,modal:u,refDialog:n,variant:f,width:p},card:_&&l?{ariaDescriptionId:a,closeButtonProps:l,handleClose:g,hasCloser:!0,headingId:s,label:o,level:c,refCloseButton:r,refTooltip:i.setTooltipElementRef}:void 0}},show:e=>{var r,i;let a=n.el;a!=null&&a.open||(u!==e&&(u=e,t()),e?((r=a?.showModal)==null||r.call(a),a&&Zh(c)):(i=a?.show)==null||i.call(a))},close:p,syncListeners:()=>{r.el&&i.syncListeners(void 0,r.el,!0)},destroy:()=>{p(),Qh(c),i.destroy()}}})(e,l),f=wu(`alert-heading`),p=Cu(),m,h=[],g=[],_=null,v=()=>g[g.length-1]??[],y=e=>{g=g.map(((t,n,r)=>n===r.length-1?e:t)),l()},b=(e,t)=>{let n=[...v()],r=n.findIndex((t=>t.key===e));if(r===-1)return;let i;if(t===`up`){if(r===0)return;i=r-1}else{if(r===n.length-1)return;i=r+1}let[a]=n.splice(r,1);n.splice(i,0,a),y(n)},x=e=>{if(e.preventDefault(),!v().some((e=>!1!==e.visible)))return _=a,void l();if(o){_=null,h=g.map((e=>e.map((e=>Object.assign({},e))))),l();let e=g.map((e=>e.map((e=>{let t=e,{hidable:n,resizable:r,sortable:i,visible:a,width:o}=t,s=yl(t,[`hidable`,`resizable`,`sortable`,`visible`,`width`]),c=Object.assign({},s);return a!==void 0&&(c.visible=a),n!==void 0&&(c.hidable=n),i!==void 0&&(c.sortable=i),r!==void 0&&(c.resizable=r),o!=null&&(c.width=o),c}))));F(o,P.changeHeaderCells,e),d.close()}},S=e=>{e&&(o=e)};return{beginRender:()=>{u.beginRender(),c=s,s=!1},render:e=>{var t;c||e===m||(m=e,h=(t=e).map((e=>[...e])),g=t.map((e=>e.map((e=>Object.assign({},e))))));let a=v();return k(`div`,{class:hC,ref:S},k(`div`,{class:_C},k(hd,Object.assign({},u.get(`toggle`).getFcProps({_icons:`kolicon-settings`,_label:n,_hideLabel:!0,_on:{onClick:()=>d.show(!0)}})))),k(mC,Object.assign({},d.getFcProps({label:n,variant:`card`,width:`fit-content`})),k(`div`,{class:bC},_&&k(`div`,{class:xC},k(wd,{alert:!1,closerAriaDescriptionId:p,handleCloserClick:CC,hasCloser:!1,headingId:f,label:_,level:0,refCloserButton:CC,refCloserTooltip:CC,type:`error`,variant:`msg`})),k(`form`,{onSubmit:x},k(`div`,{class:yC},a.map(((e,t)=>((e,t,n)=>k(`div`,{key:e.key,class:`kol-table-settings__column`},k(`kol-input-checkbox`,{_checked:!1!==e.visible,_label:G(e.hidable?`kol-table-settings-column-hidable`:`kol-table-settings-column-not-hidable`,{placeholders:{column:e.label}}),_value:!0,_hideLabel:!0,_disabled:!1===e.hidable,_on:{onInput:(t,n)=>((e,t)=>{let n=v().map((n=>n.key===e&&!1!==n.hidable?Object.assign(Object.assign({},n),{visible:!!t}):n));y(n)})(e.key??``,n)}}),k(`span`,{class:`kol-table-settings__column-label`},e.label),k(`kol-input-number`,{_hideLabel:!0,_value:SC(e.width),_label:G(`kol-table-settings-column-width`,{placeholders:{column:e.label}}),_min:1,_disabled:!1===e.resizable,_on:{onInput:(t,n)=>((e,t)=>{let n=SC(Number(t)),r=v().map((t=>t.key===e&&!1!==t.resizable?Object.assign(Object.assign({},t),{width:n}):t));y(r)})(e.key??``,n)}}),k(hd,Object.assign({},u.get(`move-up-${e.key}`).getFcProps({_icons:`kolicon-chevron-up`,_label:G(!1===e.sortable||t===0?`kol-table-settings-not-move`:`kol-table-settings-move-up`,{placeholders:{column:e.label}}),_hideLabel:!0,_variant:`ghost`,_on:{onClick:()=>b(e.key??``,`up`)},_disabled:!1===e.sortable||t===0}))),k(hd,Object.assign({},u.get(`move-down-${e.key}`).getFcProps({_icons:`kolicon-chevron-down`,_label:G(!1===e.sortable||t===n.length-1?`kol-table-settings-not-move`:`kol-table-settings-move-down`,{placeholders:{column:e.label}}),_hideLabel:!0,_variant:`ghost`,_on:{onClick:()=>b(e.key??``,`down`)},_disabled:!1===e.sortable||t===n.length-1})))))(e,t,a)))),k(`div`,{class:vC},k(hd,Object.assign({},u.get(`cancel`).getFcProps({_label:r,_variant:`secondary`,_on:{onClick:()=>(g=h.map((e=>[...e])),_=null,l(),void d.close())}}))),k(hd,Object.assign({},u.get(`apply`).getFcProps({_label:i,_variant:`primary`,_type:`submit`}))))))))},sync:()=>{u.endRender(),d.syncListeners()},destroy:()=>{u.destroy(),d.destroy()}}},TC=class extends V{constructor(){super(...arguments),this.hasExternalTableLabelRefs=!1,this.cellRenderTimeouts=new Map,this.buttonItems=qy((()=>Im((()=>this.host))),(e=>e.syncListeners()),(e=>e.destroy())),this.settings=wC((()=>this.host),(()=>wr(this))),this.linkItems=qy((()=>Yy((()=>wr(this)))),(e=>e.syncListeners()),(e=>e.destroy())),this.propsConfig=kS,this.handleResize=()=>{this.updateScrollbarState(),clearTimeout(this.resizeDebounceTimeout),this.resizeDebounceTimeout=setTimeout((()=>{this.updateStickyColsDisabled()}),150)},this.handleSelectionChange=(e,t)=>{this.emitSelectionChange(e,t)},this.handleSort=(e,t)=>{this.emitSort(e,t)},this.handleRenderCell=(e,t)=>{t&&(clearTimeout(this.cellRenderTimeouts.get(t)),this.cellRenderTimeouts.set(t,setTimeout((()=>{if(this.cellRenderTimeouts.delete(t),typeof e.render==`function`){let n=e.render(t,e,e.data,this.getRenderProp(`data`));typeof n==`string`&&(t.textContent=n)}}))))},this.refScrollContainer=e=>{this.scrollContainerElement=e},this.refTable=e=>{this.tableElement=e,this.syncTableLabel(this.getState(`externalLabelElements`))},this.getButtonFcProps=(e,t,n)=>this.buttonItems.get(e).getFcProps(t,n),this.renderSettings=e=>this.settings.render(e),this.getLinkFcProps=(e,t)=>this.linkItems.get(e).getFcProps(t)}observeScrollContainer(){this.scrollContainerElement&&ResizeObserver&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.scrollContainerElement)),this.updateStickyColsDisabled()}teardownTable(){var e;(e=this.resizeObserver)==null||e.disconnect(),clearTimeout(this.resizeDebounceTimeout),this.cellRenderTimeouts.forEach((e=>clearTimeout(e))),this.cellRenderTimeouts.clear(),this.buttonItems.destroy(),this.linkItems.destroy(),this.settings.destroy()}syncTableItems(){this.buttonItems.endRender(),this.linkItems.endRender(),this.settings.sync()}applyData(e){CS.apply(e,(e=>{this.setRenderProp(`data`,e),this.setState(`rowKeys`,((e,t)=>new Map(e.map((e=>[e,t.get(e)??Cu()]))))(e,this.getState(`rowKeys`)))}))}applyDataFoot(e){wS.apply(e,(e=>this.setRenderProp(`dataFoot`,e)))}applyFixedCols(e){vS.apply(e,(e=>this.setRenderProp(`fixedCols`,e))),this.updateStickyColsDisabled()}applyHasSettingsMenu(e){yS.apply(e,(e=>this.setRenderProp(`hasSettingsMenu`,e)))}applyHeaders(e){ES.apply(e,(e=>this.setRenderProp(`headers`,(e=>e.horizontal.length===0?e:Object.assign(Object.assign({},e),{horizontal:e.horizontal.map((e=>e.map((e=>Object.assign(Object.assign({},e),{visible:typeof e.visible!=`boolean`||e.visible,hidable:typeof e.hidable!=`boolean`||e.hidable})))))}))(e))),this.isRequired(`headers`))}applyLabel(e){pl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}applyLoading(e){DS.apply(e,(e=>this.setRenderProp(`loading`,e)))}applyOn(e){bS.apply(e,(e=>this.setRenderProp(`on`,e)))}applySelection(e){OS.apply(e,(e=>this.setRenderProp(`selection`,e))),this.updateStickyColsDisabled()}applyVariant(e){Zu.apply(e,(e=>this.setRenderProp(`variant`,e)))}syncTableLabel(e){this.tableElement&&`ariaLabelledByElements`in this.tableElement&&(e?.length?(this.tableElement.ariaLabelledByElements=e,this.hasExternalTableLabelRefs=!0,Wi.debug([this.tableElement,e,this.tableElement.ariaLabelledByElements])):this.hasExternalTableLabelRefs&&(this.hasExternalTableLabelRefs=!1,this.tableElement.ariaLabelledByElements=null,this.tableElement.setAttribute(`aria-labelledby`,aC)))}moveCheckboxFocus(e){if(e.key!==`ArrowUp`&&e.key!==`ArrowDown`)return;let t=Array.from(this.scrollContainerElement?.querySelectorAll(`.kol-table__selection-input--checkbox`)??[]),n=this.scrollContainerElement?.querySelector(`:focus`),r=t.indexOf(n);r>-1&&(e.preventDefault(),r=(r+(e.key===`ArrowDown`?1:t.length-1))%t.length,t[r].focus())}applyChangedHeaderCells(e){let t=Object.assign(Object.assign({},this.getRenderProp(`headers`)),{horizontal:e.detail});this.setRenderProp(`headers`,t),this.setState(`settingsChangedCounter`,this.getState(`settingsChangedCounter`)+1);let n=this.getRenderProp(`on`)[mS.onChangeHeaderCells];typeof n==`function`&&n(e,t)}updateScrollbarState(){if(this.scrollContainerElement){let{clientHeight:e,clientWidth:t,scrollHeight:n,scrollWidth:r}=this.scrollContainerElement;this.setState(`hasScrollbar`,r>t||n>e&&[`auto`,`scroll`].includes(getComputedStyle(this.scrollContainerElement).overflowY))}}calculateFixedColsWidth(){let[e,t]=this.getRenderProp(`fixedCols`),n=this.getRenderProp(`headers`),r=jS(n).cells,i=NS(n.horizontal,this.getRenderProp(`data`)),a=0;for(let t=0;t<e&&t<r.length;t++)a+=r[t]?.width??0;for(let e=i-t;e<i&&e<r.length;e++)a+=r[e]?.width??0;if(this.getRenderProp(`selection`)){let e=this.scrollContainerElement?.querySelector(`.kol-table__cell--selection`);a+=e?.offsetWidth??0}return a}updateStickyColsDisabled(){if(!this.scrollContainerElement)return void this.setState(`stickyColsDisabled`,!1);let e=this.calculateFixedColsWidth();this.setState(`stickyColsDisabled`,e>0&&e>=this.scrollContainerElement.clientWidth)}emitSelectionChange(e,t){let n=this.getRenderProp(`on`)[mS.onSelectionChange];typeof n==`function`&&n(e,t),this.host&&F(this.host,P.selectionChange,t)}emitSort(e,t){let n=this.getRenderProp(`on`)[mS.onSort];typeof n==`function`&&t.key&&n(e,t),this.host&&F(this.host,P.sort,t)}renderTableStatelessFC(){return this.buttonItems.beginRender(),this.linkItems.beginRender(),this.settings.beginRender(),k(pC,{data:this.getRenderProp(`data`),dataFoot:this.getRenderProp(`dataFoot`),externalLabelElements:this.getState(`externalLabelElements`),fixedCols:this.getRenderProp(`fixedCols`),getButtonFcProps:this.getButtonFcProps,getLinkFcProps:this.getLinkFcProps,renderSettings:this.renderSettings,handleRenderCell:this.handleRenderCell,handleSelectionChange:this.handleSelectionChange,handleSort:this.handleSort,hasScrollbar:this.getState(`hasScrollbar`),hasSettingsMenu:this.getRenderProp(`hasSettingsMenu`),headers:this.getRenderProp(`headers`),label:this.getRenderProp(`label`),loading:this.getRenderProp(`loading`),on:this.getRenderProp(`on`),refScrollContainer:this.refScrollContainer,refTable:this.refTable,rowKeys:this.getState(`rowKeys`),selection:this.getRenderProp(`selection`),settingsChangedCounter:this.getState(`settingsChangedCounter`),stickyColsDisabled:this.getState(`stickyColsDisabled`),variant:this.getRenderProp(`variant`)})}},EC=z(`allowMultiSort`,!1,Dc),DC=[`both`,`bottom`,`top`],OC=z(`paginationPosition`,`bottom`,(e=>{let t=R(e);if(DC.includes(t))return t;throw Error(`Invalid pagination position: `+t)})),kC=e=>{try{return Ea(e)}catch{return e}},AC=z(`pagination`,{_page:1,_pageSize:10,_max:0},(e=>{let t=kC(e);if(!0===t||t===``)return{};if(typeof t==`object`&&t)return t;throw Error(`Invalid table pagination: expected true, an empty string or a pagination object.`)})),jC=Ic(),MC=z(`headers`,{horizontal:[],vertical:[]},(e=>{let t=typeof e==`string`?Ea(e):e;if(typeof t==`object`&&t)return t;throw Error(`Invalid table headers: expected an object.`)})),NC=e=>e.type===void 0||e.type==="default";function PC(e,t,n){if(NC(e)&&!n&&typeof e.compareFn==`function`){if(e.key){let n=t.find((t=>t.key===e.key));if(n?.direction)return n.direction}return`NOS`}}function FC(e,t,n,r){if(NC(e)&&!n&&r&&typeof e.compareFn==`function`&&e.key){let n=t.findIndex((t=>t.key===e.key));if(n>=0)return n+1}}var IC=N.forBlock(`kol-table-stateful`),LC=IC(`pagination-wrapper`),RC=[10,20,50,100],zC=j(class extends TC{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.pagination={_page:1,_pageSize:10,_max:0},this.renderCount=0,this.externalLabelElements=[],this.hasScrollbar=!1,this.settingsChangedCounter=0,this.sortedData=[],this.stickyColsDisabled=!1,this.data=[],this.headers={horizontal:[],vertical:[]},this.allowMultiSort=!1,this.paginationPosition=`bottom`,this.statefulOn={},this.sortData=[],this.disableSort=!1,this.showPagination=!1,this.pageEndSlice=10,this.paginationItems={},this.rowKeys=new Map,this.statelessOn={onSort:(e,{key:t})=>{let n=function(e,t){let n=[];for(let t of[...e.horizontal??[],...e.vertical??[]])Array.isArray(t)&&n.push(...t);return n.find((e=>e.key===t))}(this.headers,t);if(n){let e=function(e,t,n){if(!NC(t)||typeof t.compareFn!=`function`)return;let r=n||t.key===e[0]?.key?e.map((e=>Object.assign({},e))):[],i=r.findIndex((e=>e.key===t.key));if(i>=0){let e=r[i];switch(e.direction){case`ASC`:e.direction=`DESC`;break;case`DESC`:r=r.filter(((e,t)=>t!==i));break;default:e.direction=`ASC`}}else t.key&&r.push({label:t.label,key:t.key,compareFn:t.compareFn,direction:`ASC`});return r}(this.sortData,n,this.allowMultiSort);e&&(this.sortData=e,this.updateSortedData())}}},this.handlePagination={onClick:(e,t)=>{typeof this.pagination._on?.onClick==`function`&&this.pagination._on.onClick(e,t),this.pagination=Object.assign(Object.assign({},this.pagination),{_page:t})},onChangePage:(e,t)=>{typeof this.pagination._on?.onChangePage==`function`&&this.pagination._on.onChangePage(e,t),this.pagination=Object.assign(Object.assign({},this.pagination),{_page:t})},onChangePageSize:(e,t)=>{typeof this.pagination._on?.onChangePageSize==`function`&&this.pagination._on.onChangePageSize(e,t),this.pagination=Object.assign(Object.assign({},this.pagination),{_pageSize:t})}},this._ariaLabelledby=void 0,this._allowMultiSort=void 0,this._dataFoot=void 0,this._fixedCols=void 0,this._loading=void 0,this._pagination=void 0,this._paginationPosition=`bottom`,this._selection=void 0,this._on=void 0,this._hasSettingsMenu=void 0,this._variant=void 0,this.updateSortedData=()=>{this.sortedData=function(e,t,n){if(n)return e;let r=[...e];return t.length>0&&r.sort(((e,n)=>{for(let r of t){let t=r.compareFn(e,n,r.direction);if(t!==0)return r.direction===`ASC`?t:-t}return 0})),r}(this.data,this.sortData,this.disableSort);let e={headers:this.getRenderProp(`headers`),sortedData:this.sortedData};this.emitSortChange(e)},this.handleChangeHeaderCells=e=>{this.adjustedHeaderCells=e}}watchAriaLabelledby(e){this.resolveExternalLabel(e)}watchAllowMultiSort(e){EC.apply(e,(e=>{this.allowMultiSort=e}))}watchData(e){CS.apply(e,(e=>{this.data=e,setTimeout(this.updateSortedData)}))}watchDataFoot(e){wS.apply(e,(e=>{this.setRenderProp(`dataFoot`,e),setTimeout(this.updateSortedData)}))}watchFixedCols(e){this.applyFixedCols(e)}watchHeaders(e){MC.apply(e,(e=>{(function(e,t){let n=e=>[...e.horizontal?.flatMap((e=>e.map((e=>e?.key)).filter((e=>!!e))))??[],...e.vertical?.flatMap((e=>e.map((e=>e?.key)).filter((e=>!!e))))??[]],r=n(e),i=n(t);return r.length!==i.length||r.some(((e,t)=>e!==i[t]))})(this.headers,e)&&(this.adjustedHeaderCells=void 0),this.initializeSort(e)&&setTimeout((()=>this.updateSortedData())),function(e){return!!(e.horizontal&&e.vertical&&e.horizontal.length>0&&e.vertical.length>0)}(e)&&(this.disableSort=!0,Xi(`Table: You can not sort the table data, if horizontal and vertical headers are defined at the same time. (https://github.com/public-ui/kolibri/issues/2372)`)),this.headers=e}))}watchLabel(e){this.applyLabel(e)}watchLoading(e){this.applyLoading(e)}watchPagination(e){this.showPagination=(e=>{let t=kC(e);return!0===t||t===``||typeof t==`object`&&!!t})(e),AC.apply(e,(e=>{this.pagination=e}))}watchPaginationPosition(e){OC.apply(e,(e=>{this.paginationPosition=e}))}watchSelection(e){this.applySelection(e)}watchOn(e){jC.apply(e,(e=>{this.statefulOn=e}))}watchHasSettingsMenu(e){this.applyHasSettingsMenu(e)}watchVariant(e){this.applyVariant(e)}getSelection(){return Promise.resolve(this.getSelectedData((this.getRenderProp(`selection`)||void 0)?.selectedKeys||[]))}resetSort(){return this.initializeSort(this.headers),this.updateSortedData(),Promise.resolve()}componentWillLoad(){this.applyOn(this.statelessOn),this.resolveExternalLabel(this._ariaLabelledby),this.watchAllowMultiSort(this._allowMultiSort),this.watchData(this._data),this.watchDataFoot(this._dataFoot),this.watchFixedCols(this._fixedCols),this.watchHeaders(this._headers),this.watchLabel(this._label),this.watchLoading(this._loading),this.watchOn(this._on),this.watchPagination(this._pagination),this.watchPaginationPosition(this._paginationPosition),this.watchSelection(this._selection),this.watchHasSettingsMenu(this._hasSettingsMenu),this.watchVariant(this._variant)}componentDidLoad(){this.externalLabelElements.length||this.resolveExternalLabel(this._ariaLabelledby),this.observeScrollContainer()}componentWillRender(){let{rows:e,end:t}=function(e,t,n){if(typeof t==`number`&&t>0&&typeof n==`number`&&n>0){let r=t*n>e.length?e.length:t*n;return{rows:e.slice(t*(n-1),r),end:r}}return{rows:e,end:e.length}}(this.sortedData,this.showPagination?this.pagination._pageSize??10:this.sortedData.length,this.pagination._page||1);this.pageEndSlice=t,this.applyData(e),this.applyHeaders(this.buildHeaderCells()),this.syncPagination(`top`,this._paginationPosition===`top`||this._paginationPosition===`both`),this.syncPagination(`bottom`,this._paginationPosition===`bottom`||this._paginationPosition===`both`)}componentDidRender(){var e,t;this.updateScrollbarState(),this.syncTableItems(),(e=this.paginationItems.top)==null||e.sync(),(t=this.paginationItems.bottom)==null||t.sync()}disconnectedCallback(){var e,t;this.teardownTable(),(e=this.paginationItems.top)==null||e.destroy(),(t=this.paginationItems.bottom)==null||t.destroy()}onChangeHeaderCells(e){this.handleChangeHeaderCells(Object.assign(Object.assign({},this.getRenderProp(`headers`)),{horizontal:e.detail})),this.applyChangedHeaderCells(e)}onKeydown(e){this.moveCheckboxFocus(e)}initializeSort(e){let{sortData:t,hasSortedCells:n,missingKey:r}=function(e,t){var n,r;let i=[],a=!1,o=!1,s=e=>{i=[],e.forEach((e=>{if(!NC(e))return;if(typeof e.compareFn==`function`&&!e.key)return void(o=!0);let n=e.key;if(!n)return;let r=e.sortDirection;r!==`ASC`&&r!==`DESC`||typeof e.compareFn!=`function`||((t||i.length===0)&&i.push({label:e.label,key:n,compareFn:e.compareFn,direction:r}),a=!0)}))};return(n=e.horizontal)==null||n.forEach(s),(r=e.vertical)==null||r.forEach(s),{sortData:i,hasSortedCells:a,missingKey:o}}(e,this.allowMultiSort);return r&&Xi(`[KolTableStateful] A sortable column requires the 'key' property.`),this.sortData=t,n}buildHeaderCells(){return function(e,t,n,r,i){let a=e=>e&&Object.assign(Object.assign({},e),{sortDirection:PC(e,n,r),sortOrder:FC(e,n,r,i)});return{horizontal:(t?.horizontal?function(e,t){var n;let r=new Map;return(n=e.horizontal)==null||n.forEach((e=>e.forEach((e=>{e!=null&&e.key&&r.set(e.key,e)})))),t.map((e=>e.map((e=>{let t=e?.key?r.get(e.key):void 0;if(!t)return e;let n=Object.assign({},t);return e.visible!==void 0&&(n.visible=e.visible),e.width!==void 0&&(n.width=e.width),e.hidable!==void 0&&(n.hidable=e.hidable),e.sortable!==void 0&&(n.sortable=e.sortable),e.resizable!==void 0&&(n.resizable=e.resizable),n}))))}(e,t.horizontal):e.horizontal)?.map((e=>e.map(a)))??[],vertical:e.vertical?.map((e=>e.map(a)))??[]}}(this.headers,this.adjustedHeaderCells,this.sortData,this.disableSort,this.allowMultiSort)}getSelectedData(e){return function(e,t,n){if(e){let r=e.keyPropertyName??`id`,i=new Set(n.map(String)),a=t.filter((e=>i.has(e[r]+``)));if(r)return a}return null}(this.getRenderProp(`selection`)||void 0,this.sortedData,e)}emitSelectionChange(e,t){let n=t,r=this.getRenderProp(`selection`);r&&(this.applySelection(Object.assign(Object.assign({},r),{selectedKeys:n})),this.renderCount++);let i=this.getSelectedData(n),a=this.statefulOn[mS.onSelectionChange];typeof a==`function`&&a(e,i),this.host&&F(this.host,P.selectionChange,i)}emitSortChange(e){let t=this.statefulOn[mS.onSortChange];typeof t==`function`&&t(new CustomEvent(P.sortChange),e),this.host&&F(this.host,P.sortChange,e)}getPaginationInput(e){let t=G(e===`top`?`kol-pagination-position-top`:`kol-pagination-position-bottom`);return{boundaryCount:this.pagination._boundaryCount,customClass:this.pagination._customClass,hasButtons:this.pagination._hasButtons,on:this.handlePagination,page:this.pagination._page,pageSize:this.pagination._pageSize,pageSizeOptions:this.pagination._pageSizeOptions||RC,siblingCount:this.pagination._siblingCount,tooltipAlign:`bottom`,max:this.pagination._max||this.data.length,label:G(`kol-table-pagination-label`,{placeholders:{label:`${Hc(this.getRenderProp(`label`))} (${t})`}})}}syncPagination(e,t){let n=this.paginationItems[e];if(this.pageEndSlice>0&&this.showPagination&&t){let t=this.getPaginationInput(e);if(n)n.update(t);else{let n=Yb({getEventTarget:()=>this.host,requestRender:()=>{this.renderCount++}});n.load(t),this.paginationItems[e]=n}}else n&&(n.destroy(),delete this.paginationItems[e])}resolveExternalLabel(e){this.externalLabelElements=gS(this,this.host,e),this.syncTableLabel(this.externalLabelElements)}renderPagination(e){let t=this.paginationItems[e];return t&&k(`div`,{class:IC(`pagination`,{[this.paginationPosition]:!0})},k(`div`,{class:LC},k(Gb,Object.assign({},t.getFcProps()))))}render(){return k(A,{key:`2e6a4ac442e509a3a07c403b0218d6b3f8bf8af7`,class:`kol-table-stateful`},this.renderPagination(`top`),this.renderTableStatelessFC(),this.renderPagination(`bottom`))}get host(){return this}static get watchers(){return{_ariaLabelledby:[{watchAriaLabelledby:0}],_allowMultiSort:[{watchAllowMultiSort:0}],_data:[{watchData:0}],_dataFoot:[{watchDataFoot:0}],_fixedCols:[{watchFixedCols:0}],_headers:[{watchHeaders:0}],_label:[{watchLabel:0}],_loading:[{watchLoading:0}],_pagination:[{watchPagination:0}],_paginationPosition:[{watchPaginationPosition:0}],_selection:[{watchSelection:0}],_on:[{watchOn:0}],_hasSettingsMenu:[{watchHasSettingsMenu:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { @keyframes rotate { to { transform: rotate(1turn); } } @keyframes growingCircle { 0% { opacity: 0.5; border-color: white; clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); } 25% { opacity: 0.75; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); } 50% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); } 75% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%); } 100% { opacity: 0.1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); } } .kol-spin__spinner--cycle { width: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--cycle .kol-spin__loader { border-radius: 50%; display: block; position: relative; width: 100%; height: 100%; animation: 2s linear infinite rotate; } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader { animation-duration: 4s !important; } } .kol-spin__spinner--cycle .kol-spin__loader::before { border-radius: 50%; position: absolute; inset: 0; content: ""; animation: 3s linear infinite growingCircle; border: 5px solid var(--kol-spin-color, var(--kol-theme-spin-color, #333)); } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader::before { animation-duration: 6s !important; } } } @layer kol-component { @keyframes spin1 { 0% { transform: scale(0); } 100% { transform: scale(1); } } @keyframes spin2 { 0% { transform: translate(0, 0); } 100% { transform: translate(calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)), 0); } } @keyframes spin3 { 0% { transform: scale(1); } 100% { transform: scale(0); } } @media (prefers-reduced-motion) { .kol-spin__spinner-element { animation-duration: 2s !important; } } .kol-spin__spinner--dot { --kol-spin-border-width: calc(var(--kol-spin-size, 13) / 10); width: calc(calc(var(--kol-spin-size, 13) * 3 + 2) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width) * 2) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--dot .kol-spin__spinner-element { background-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); border-radius: 50%; position: absolute; top: 1px; width: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); animation-timing-function: cubic-bezier(0, 1, 1, 0); border: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)) solid white; } .kol-spin__spinner--dot .kol-spin__spinner-element--1 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin1; } .kol-spin__spinner--dot .kol-spin__spinner-element--2 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--3 { left: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--neutral { opacity: 0.6; left: calc(calc(var(--kol-spin-size, 13) * 2 + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin3; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-popover-button { display: inline; } .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-popover-button--inline { display: inline-block; } .kol-popover-button--inline .kol-button, .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-table-settings { position: absolute; top: 0; right: 0; z-index: 1; } .kol-table-settings .kol-popover-button__popover { background: white; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); border-radius: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); border: 1px solid black; } .kol-table-settings__columns { display: grid; max-height: calc(200 * 1rem / var(--kolibri-root-font-size, 16)); overflow: auto; grid-auto-rows: min-content; grid-template-columns: min-content minmax(max-content, 1fr) calc(140 * 1rem / var(--kolibri-root-font-size, 16)) auto auto; } .kol-table-settings__column { display: grid; align-items: center; grid-template-columns: subgrid; grid-column: 1/6; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-table { --kol-table-selection-col-width: var(--a11y-min-size); display: block; position: relative; max-width: 100%; } .kol-table:has(.kol-table__focus-element:focus) .kol-table__scroll-container { outline: 5px auto Highlight; outline: 5px auto -webkit-focus-ring-color; outline-offset: 2px; } .kol-table__scroll-container { overflow-x: auto; overflow-y: hidden; } .kol-table__table { table-layout: fixed; } .kol-table__caption { min-height: var(--a11y-min-size); text-align: start; } .kol-table__settings:not(:has(~ .kol-table__scroll-container .kol-table__caption)) { min-height: var(--a11y-min-size); } .kol-table__sort-button.kol-button { color: inherit; } .kol-table__sort { display: inline-flex; align-items: center; } .kol-table__sort-order { display: inline-flex; align-items: center; justify-content: center; } .kol-table__body { text-align: left; } .kol-table__body .kol-button__text { justify-items: start; } .kol-table__body:has(.kol-table__loader--shown) { position: relative; min-height: calc(var(--a11y-min-size) * 3); } .kol-table__cell--align-left { text-align: left; } .kol-table__cell--align-left .kol-table__sort-button .kol-button__text { align-items: start; text-align: start; } .kol-table__cell--align-left .kol-table__cell-actions { justify-content: flex-start; } .kol-table__cell--align-center { text-align: center; } .kol-table__cell--align-center .kol-table__sort-button .kol-button__text { align-items: center; } .kol-table__cell--align-right { text-align: right; } .kol-table__cell--align-right .kol-table__sort-button .kol-button__text { align-items: end; text-align: end; } .kol-table__cell--align-right .kol-table__cell-actions { justify-content: flex-end; } .kol-table__cell--selection { background-color: white; position: sticky !important; left: 0; z-index: 2; width: var(--kol-table-selection-col-width, auto); min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); white-space: nowrap; } .kol-table__cell--actions { white-space: nowrap; } .kol-table__cell--actions .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-table__cell--actions :host { display: inline-block; } .kol-table__cell--actions .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-table__cell--actions .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-table__cell--actions .kol-button__interactive-element::before { content: "​"; } .kol-table__cell--actions .kol-button__text { flex: 1 0 100%; } .kol-table__cell--actions .kol-button { } .kol-table__cell--actions .kol-button__tooltip { height: 0; } .kol-table__cell--actions .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-table__cell--actions .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-table__cell--actions .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-table__cell--actions :host { display: inline-block; } .kol-table__cell--actions .kol-link { display: inline-flex; max-width: fit-content; } .kol-table__cell--actions .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-table__cell--actions .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-table__cell--actions .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-table__cell--actions .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-table__cell--actions .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-table__cell--actions .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-table__cell--actions .kol-link .kol-span__label { text-decoration-line: underline; } .kol-table__cell--actions .kol-link__icon { display: inline-flex; } .kol-table__cell--sticky-left, .kol-table__cell--sticky-right { background-color: white; position: sticky !important; z-index: 1; } .kol-table__cell--sticky-left:nth-last-child(1 of .kol-table__cell--sticky-left) { border-right: 2px solid black; } .kol-table__cell--sticky-right:nth-child(1 of .kol-table__cell--sticky-left) { border-left: 2px solid black; } .kol-table__cell-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; } .kol-table__cell-states { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; } .kol-table__spacer { display: none; } .kol-table__selection { position: relative; } .kol-table__selection-label { display: flex; position: relative; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } .kol-table__selection-label:not(.kol-table__selection-label--disabled) { cursor: pointer; } .kol-table__selection-label--disabled { cursor: not-allowed; } .kol-table__selection-icon { display: block; position: absolute; inset: auto; z-index: 1; } .kol-table__selection-input { border-style: solid; margin: 0; appearance: none; cursor: pointer; } .kol-table__selection-input:disabled { cursor: not-allowed; } .kol-table__selection-input:before { content: ""; } .kol-table__selection-input--checkbox { background-color: white; display: flex; position: relative; min-width: calc(var(--a11y-min-size) / 2); min-height: calc(var(--a11y-min-size) / 2); border-width: 2px; align-items: center; justify-content: center; line-height: 1.5; } .kol-table__selection-input--radio { border-radius: 100%; display: flex; width: 1.5em; min-width: 1.5em; height: 1.5em; min-height: 1.5em; padding: 0; border-width: 2px; } .kol-table__selection-input--radio:before { border-radius: 100%; width: 0.75em; height: 0.75em; margin: auto; } .kol-table__selection-input--radio:checked:before { background-color: black; } @media (forced-colors: active) { .kol-table__selection-input--radio:checked:before { background-color: selectedItem !important; } } .kol-table__loader--shown { background: white; display: flex; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; align-items: center; justify-content: center; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-select { background-color: transparent; width: 100%; padding: 0; } .kol-select:not(:disabled) { cursor: pointer; } .kol-select:not([multiple], [size]) { height: 2.75em; } .kol-select[multiple][size="1"] { height: 2.75em; } .kol-select__option:checked::before { content: "✓ "; } .kol-select[multiple] option { display: flex; min-height: var(--a11y-min-size); align-items: center; } .kol-select[multiple][size="1"] option::checkmark { height: 100%; } .kol-select[multiple][size="1"] option:checked::before { display: none; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; container: paging/inline-size; } .kol-pagination__navigation-list { display: inline-flex; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; list-style: none; } .kol-pagination__separator:before { content: "•••"; } .kol-pagination__page-size-select .kol-form-field-select { align-items: center; grid-template-columns: 1fr max-content; } @container paging (width < 600px) { .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__button--numbers), .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__separator) { display: none; } } .kol-spin { display: contents; } .kol-spin__spinner { display: block; position: relative; } }`}}},[545,`kol-table-stateful`,{_ariaLabelledby:[1,`_aria-labelledby`],_allowMultiSort:[4,`_allow-multi-sort`],_data:[1],_dataFoot:[1,`_data-foot`],_fixedCols:[16],_headers:[1],_label:[1],_loading:[4],_pagination:[8],_paginationPosition:[1,`_pagination-position`],_selection:[1],_on:[16],_hasSettingsMenu:[4,`_has-settings-menu`],_variant:[1],adjustedHeaderCells:[32],pagination:[32],renderCount:[32],externalLabelElements:[32],hasScrollbar:[32],settingsChangedCounter:[32],sortedData:[32],stickyColsDisabled:[32],getSelection:[64],resetSort:[64]},[[0,`changeheadercells`,`onChangeHeaderCells`],[0,`keydown`,`onKeydown`]],{_ariaLabelledby:[{watchAriaLabelledby:0}],_allowMultiSort:[{watchAllowMultiSort:0}],_data:[{watchData:0}],_dataFoot:[{watchDataFoot:0}],_fixedCols:[{watchFixedCols:0}],_headers:[{watchHeaders:0}],_label:[{watchLabel:0}],_loading:[{watchLoading:0}],_pagination:[{watchPagination:0}],_paginationPosition:[{watchPaginationPosition:0}],_selection:[{watchSelection:0}],_on:[{watchOn:0}],_hasSettingsMenu:[{watchHasSettingsMenu:0}],_variant:[{watchVariant:0}]}]),BC=zC,VC=function(){typeof customElements<`u`&&[`kol-table-stateful`,`kol-badge`,`kol-input-checkbox`,`kol-input-number`].forEach((e=>{switch(e){case`kol-table-stateful`:customElements.get(M(e))||customElements.define(M(e),zC);break;case`kol-badge`:customElements.get(M(e))||Op();break;case`kol-input-checkbox`:customElements.get(M(e))||h_();break;case`kol-input-number`:customElements.get(M(e))||Mv()}}))},HC=j(class extends TC{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.externalLabelElements=[],this.hasScrollbar=!1,this.rowKeys=new Map,this.settingsChangedCounter=0,this.stickyColsDisabled=!1,this._ariaLabelledby=void 0,this._dataFoot=void 0,this._fixedCols=void 0,this._loading=void 0,this._on=void 0,this._selection=void 0,this._hasSettingsMenu=void 0,this._variant=void 0}watchAriaLabelledby(e){this.resolveExternalLabel(e)}watchData(e){this.applyData(e)}watchDataFoot(e){this.applyDataFoot(e)}watchFixedCols(e){this.applyFixedCols(e)}watchHeaders(e){this.applyHeaders(e)}watchLabel(e){this.applyLabel(e)}watchLoading(e){this.applyLoading(e)}watchOn(e){this.applyOn(e)}watchSelection(e){this.applySelection(e)}watchHasSettingsMenu(e){this.applyHasSettingsMenu(e)}watchVariant(e){this.applyVariant(e)}componentWillLoad(){this.watchData(this._data),this.watchDataFoot(this._dataFoot),this.watchFixedCols(this._fixedCols),this.watchHasSettingsMenu(this._hasSettingsMenu),this.watchHeaders(this._headers),this.watchLabel(this._label),this.watchLoading(this._loading),this.watchOn(this._on),this.watchSelection(this._selection),this.watchVariant(this._variant),this.resolveExternalLabel(this._ariaLabelledby)}componentDidLoad(){this.externalLabelElements.length||this.resolveExternalLabel(this._ariaLabelledby),this.observeScrollContainer()}componentDidRender(){this.updateScrollbarState(),this.syncTableItems()}disconnectedCallback(){this.teardownTable()}onChangeHeaderCells(e){this.applyChangedHeaderCells(e)}onKeydown(e){this.moveCheckboxFocus(e)}resolveExternalLabel(e){this.externalLabelElements=gS(this,this.host,e),this.syncTableLabel(this.externalLabelElements)}render(){return k(A,{key:`9a3957986f9827da559f0c40c641874d34f20294`},this.renderTableStatelessFC())}get host(){return this}static get watchers(){return{_ariaLabelledby:[{watchAriaLabelledby:0}],_data:[{watchData:0}],_dataFoot:[{watchDataFoot:0}],_fixedCols:[{watchFixedCols:0}],_headers:[{watchHeaders:0}],_label:[{watchLabel:0}],_loading:[{watchLoading:0}],_on:[{watchOn:0}],_selection:[{watchSelection:0}],_hasSettingsMenu:[{watchHasSettingsMenu:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { @keyframes rotate { to { transform: rotate(1turn); } } @keyframes growingCircle { 0% { opacity: 0.5; border-color: white; clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); } 25% { opacity: 0.75; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); } 50% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); } 75% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%); } 100% { opacity: 0.1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); } } .kol-spin__spinner--cycle { width: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--cycle .kol-spin__loader { border-radius: 50%; display: block; position: relative; width: 100%; height: 100%; animation: 2s linear infinite rotate; } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader { animation-duration: 4s !important; } } .kol-spin__spinner--cycle .kol-spin__loader::before { border-radius: 50%; position: absolute; inset: 0; content: ""; animation: 3s linear infinite growingCircle; border: 5px solid var(--kol-spin-color, var(--kol-theme-spin-color, #333)); } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader::before { animation-duration: 6s !important; } } } @layer kol-component { @keyframes spin1 { 0% { transform: scale(0); } 100% { transform: scale(1); } } @keyframes spin2 { 0% { transform: translate(0, 0); } 100% { transform: translate(calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)), 0); } } @keyframes spin3 { 0% { transform: scale(1); } 100% { transform: scale(0); } } @media (prefers-reduced-motion) { .kol-spin__spinner-element { animation-duration: 2s !important; } } .kol-spin__spinner--dot { --kol-spin-border-width: calc(var(--kol-spin-size, 13) / 10); width: calc(calc(var(--kol-spin-size, 13) * 3 + 2) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width) * 2) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--dot .kol-spin__spinner-element { background-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); border-radius: 50%; position: absolute; top: 1px; width: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); animation-timing-function: cubic-bezier(0, 1, 1, 0); border: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)) solid white; } .kol-spin__spinner--dot .kol-spin__spinner-element--1 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin1; } .kol-spin__spinner--dot .kol-spin__spinner-element--2 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--3 { left: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--neutral { opacity: 0.6; left: calc(calc(var(--kol-spin-size, 13) * 2 + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin3; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: "​"; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-popover-button { display: inline; } .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-popover-button--inline { display: inline-block; } .kol-popover-button--inline .kol-button, .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-table-settings { position: absolute; top: 0; right: 0; z-index: 1; } .kol-table-settings .kol-popover-button__popover { background: white; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); border-radius: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); border: 1px solid black; } .kol-table-settings__columns { display: grid; max-height: calc(200 * 1rem / var(--kolibri-root-font-size, 16)); overflow: auto; grid-auto-rows: min-content; grid-template-columns: min-content minmax(max-content, 1fr) calc(140 * 1rem / var(--kolibri-root-font-size, 16)) auto auto; } .kol-table-settings__column { display: grid; align-items: center; grid-template-columns: subgrid; grid-column: 1/6; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-table { --kol-table-selection-col-width: var(--a11y-min-size); display: block; position: relative; max-width: 100%; } .kol-table:has(.kol-table__focus-element:focus) .kol-table__scroll-container { outline: 5px auto Highlight; outline: 5px auto -webkit-focus-ring-color; outline-offset: 2px; } .kol-table__scroll-container { overflow-x: auto; overflow-y: hidden; } .kol-table__table { table-layout: fixed; } .kol-table__caption { min-height: var(--a11y-min-size); text-align: start; } .kol-table__settings:not(:has(~ .kol-table__scroll-container .kol-table__caption)) { min-height: var(--a11y-min-size); } .kol-table__sort-button.kol-button { color: inherit; } .kol-table__sort { display: inline-flex; align-items: center; } .kol-table__sort-order { display: inline-flex; align-items: center; justify-content: center; } .kol-table__body { text-align: left; } .kol-table__body .kol-button__text { justify-items: start; } .kol-table__body:has(.kol-table__loader--shown) { position: relative; min-height: calc(var(--a11y-min-size) * 3); } .kol-table__cell--align-left { text-align: left; } .kol-table__cell--align-left .kol-table__sort-button .kol-button__text { align-items: start; text-align: start; } .kol-table__cell--align-left .kol-table__cell-actions { justify-content: flex-start; } .kol-table__cell--align-center { text-align: center; } .kol-table__cell--align-center .kol-table__sort-button .kol-button__text { align-items: center; } .kol-table__cell--align-right { text-align: right; } .kol-table__cell--align-right .kol-table__sort-button .kol-button__text { align-items: end; text-align: end; } .kol-table__cell--align-right .kol-table__cell-actions { justify-content: flex-end; } .kol-table__cell--selection { background-color: white; position: sticky !important; left: 0; z-index: 2; width: var(--kol-table-selection-col-width, auto); min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); white-space: nowrap; } .kol-table__cell--actions { white-space: nowrap; } .kol-table__cell--actions .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-table__cell--actions :host { display: inline-block; } .kol-table__cell--actions .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-table__cell--actions .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-table__cell--actions .kol-button__interactive-element::before { content: "​"; } .kol-table__cell--actions .kol-button__text { flex: 1 0 100%; } .kol-table__cell--actions .kol-button { } .kol-table__cell--actions .kol-button__tooltip { height: 0; } .kol-table__cell--actions .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-table__cell--actions .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-table__cell--actions .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-table__cell--actions :host { display: inline-block; } .kol-table__cell--actions .kol-link { display: inline-flex; max-width: fit-content; } .kol-table__cell--actions .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-table__cell--actions .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-table__cell--actions .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-table__cell--actions .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-table__cell--actions .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-table__cell--actions .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-table__cell--actions .kol-link .kol-span__label { text-decoration-line: underline; } .kol-table__cell--actions .kol-link__icon { display: inline-flex; } .kol-table__cell--sticky-left, .kol-table__cell--sticky-right { background-color: white; position: sticky !important; z-index: 1; } .kol-table__cell--sticky-left:nth-last-child(1 of .kol-table__cell--sticky-left) { border-right: 2px solid black; } .kol-table__cell--sticky-right:nth-child(1 of .kol-table__cell--sticky-left) { border-left: 2px solid black; } .kol-table__cell-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; } .kol-table__cell-states { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; } .kol-table__spacer { display: none; } .kol-table__selection { position: relative; } .kol-table__selection-label { display: flex; position: relative; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } .kol-table__selection-label:not(.kol-table__selection-label--disabled) { cursor: pointer; } .kol-table__selection-label--disabled { cursor: not-allowed; } .kol-table__selection-icon { display: block; position: absolute; inset: auto; z-index: 1; } .kol-table__selection-input { border-style: solid; margin: 0; appearance: none; cursor: pointer; } .kol-table__selection-input:disabled { cursor: not-allowed; } .kol-table__selection-input:before { content: ""; } .kol-table__selection-input--checkbox { background-color: white; display: flex; position: relative; min-width: calc(var(--a11y-min-size) / 2); min-height: calc(var(--a11y-min-size) / 2); border-width: 2px; align-items: center; justify-content: center; line-height: 1.5; } .kol-table__selection-input--radio { border-radius: 100%; display: flex; width: 1.5em; min-width: 1.5em; height: 1.5em; min-height: 1.5em; padding: 0; border-width: 2px; } .kol-table__selection-input--radio:before { border-radius: 100%; width: 0.75em; height: 0.75em; margin: auto; } .kol-table__selection-input--radio:checked:before { background-color: black; } @media (forced-colors: active) { .kol-table__selection-input--radio:checked:before { background-color: selectedItem !important; } } .kol-table__loader--shown { background: white; display: flex; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; align-items: center; justify-content: center; } .kol-spin { display: contents; } .kol-spin__spinner { display: block; position: relative; } }`}}},[545,`kol-table-stateless`,{_ariaLabelledby:[1,`_aria-labelledby`],_data:[1],_dataFoot:[1,`_data-foot`],_fixedCols:[16],_headers:[1],_label:[1],_loading:[4],_on:[16],_selection:[1],_hasSettingsMenu:[4,`_has-settings-menu`],_variant:[1],externalLabelElements:[32],hasScrollbar:[32],rowKeys:[32],settingsChangedCounter:[32],stickyColsDisabled:[32]},[[0,`changeheadercells`,`onChangeHeaderCells`],[0,`keydown`,`onKeydown`]],{_ariaLabelledby:[{watchAriaLabelledby:0}],_data:[{watchData:0}],_dataFoot:[{watchDataFoot:0}],_fixedCols:[{watchFixedCols:0}],_headers:[{watchHeaders:0}],_label:[{watchLabel:0}],_loading:[{watchLoading:0}],_on:[{watchOn:0}],_selection:[{watchSelection:0}],_hasSettingsMenu:[{watchHasSettingsMenu:0}],_variant:[{watchVariant:0}]}]),UC=HC,WC=function(){typeof customElements<`u`&&[`kol-table-stateless`,`kol-badge`,`kol-input-checkbox`,`kol-input-number`].forEach((e=>{switch(e){case`kol-table-stateless`:customElements.get(M(e))||customElements.define(M(e),HC);break;case`kol-badge`:customElements.get(M(e))||Op();break;case`kol-input-checkbox`:customElements.get(M(e))||h_();break;case`kol-input-number`:customElements.get(M(e))||Mv()}}))},GC=z(`hasCreateButton`,!1,Dc),KC=z(`selected`,0,Sc),qC=[`select-automatic`,`select-manual`],JC=z(`behavior`,`select-automatic`,(e=>R(e)),(e=>kc(e,qC))),YC=z(`tabs`,[],(e=>jc(e)),(e=>e.every((e=>typeof e==`object`&&!!e&&(Array.isArray(e._label)||typeof e._label==`string`&&e._label.length>0)))),{hints:(e,t)=>ra(`KolTabs`,t.length)}),XC=z(`on`,{},(e=>{let t=Mc(e),n={};return typeof t.onCreate==`function`&&(n.onCreate=t.onCreate),typeof t.onSelect==`function`&&(n.onSelect=t.onSelect),n})),ZC={required:[cp,YC],optional:[Td,GC,KC,JC,XC]},QC=()=>{let e=new Kf(V.stateLess),t=Cu(),n,r,i,a,o=(e,t)=>{i&&F(i,e,t)},s=t=>{t.stopPropagation(),e.hideTooltip();let i=n?.on.onClick;typeof i==`function`&&(xa(t,a),i(t,r)),o(P.click,r)},c=e=>{var t,r;(r=n==null?void 0:(t=n.on).onMouseDown)==null||r.call(t,e),o(P.mousedown)},l=e=>{var t,r;(r=n==null?void 0:(t=n.on).onFocus)==null||r.call(t,e),o(P.focus)},u=e=>{var t,r;(r=n==null?void 0:(t=n.on).onBlur)==null||r.call(t,e),o(P.blur)},d=e=>{i=e},f=e=>{a=e};return{getButton:(i,a)=>(n=Tp(i,a),r=i._value,e.componentWillLoad({label:n.label,align:n.tooltipAlign}),{buttonProps:Object.assign(Object.assign({},n),{ariaDescriptionId:t,handleBlur:u,handleClick:s,handleFocus:l,handleMouseDown:c,refButton:f,refTooltip:e.setTooltipElementRef}),refBox:d}),getButtonElement:()=>a,syncListeners:()=>{a&&e.syncListeners(void 0,a,!0)},destroy:()=>{e.destroy()}}},$C=N.forBlock(`kol-tabs`),ew=$C(`button-create`),tw=$C(`button-group`),nw=$C(`content`),rw=$C(`tab`),iw=$C(`tablist`),aw=e=>{let{align:t,class:n,createButton:r,handleBlur:i,handleKeyDown:a,hasCreateButton:o,label:s,refContent:c,refRoot:l,tabButtons:u}=e;return k(cl,{block:`kol-tabs`,modifiers:{[`align-`+t]:!0},class:n,ref:l},k(`div`,{class:tw},k(`div`,{"aria-label":s,class:iw,role:`tablist`,tabIndex:-1,onKeyDown:a,onFocusout:e=>{e.relatedTarget instanceof Node&&e.currentTarget.contains(e.relatedTarget)||i()}},u.map((({buttonProps:e,refBox:t})=>k(`div`,{class:rw,ref:t},k(hd,Object.assign({},e)))))),o&&k(`div`,{class:ew,ref:r.refBox},k(hd,Object.assign({},r.buttonProps)))),k(`div`,{class:nw,ref:c}))},ow=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.onCreateLabel=G(`kol-new`)+` …`,this.ctaRef=Rl(),this.tabsId=wu(`tabs`),this.tabButtonItems=[],this.createButtonItem=QC(),this.onClickSelect=(e,t)=>{this.selectNextTabEvent(e,t)},this.onMouseDown=e=>{e.preventDefault()},this.tabButtonCallbacks={onClick:this.onClickSelect,onMouseDown:this.onMouseDown},this.tabButtons=[],this.propsConfig=ZC,this._align=`top`,this._behavior=void 0,this._hasCreateButton=!1,this._on=void 0,this._selected=0,this.nextPossibleTabIndex=(e,t,n=1)=>this.selectNextNotDisabledTab(t+n,e,!0),this.prevPossibleTabIndex=(e,t,n=1)=>this.selectNextNotDisabledTab(t-n,e,!1),this.selectNextNotDisabledTab=(e,t,n=!0,r)=>{if(e>t.length-1&&(e=0),e<0&&(e=t.length-1),Array.isArray(t)&&t[e]&&t[e]._disabled){if(!0===n){if(e<t.length-1)return this.selectNextNotDisabledTab(e+1,t,!0,r||e);e=r||e,n=!1}if(!1===n){if(e>0)return this.selectNextNotDisabledTab(e-1,t,!1,r||e);Xi(`[KolTabs] All tabs are disabled, and therefore no tab can be displayed.`)}}return e},this.handleKeyDown=e=>{switch(e.key){case hS.ArrowRight:this.goToNextTab(e);break;case hS.ArrowLeft:this.goToPreviousTab(e)}},this.handleBlur=()=>{this.currentFocusIndex=void 0},this.onCreate=e=>{var t,n;e.preventDefault(),(n=(t=this.getRenderProp(`on`)).onCreate)==null||n.call(t,e),this.host&&F(this.host,P.create)},this.setRootRef=e=>{this.rootElement=e},this.setContentRef=e=>{this.tabPanelHost=e}}watchAlign(e){Td.apply(e,(e=>this.setRenderProp(`align`,e)))}watchBehavior(e){JC.apply(e,(e=>this.setRenderProp(`behavior`,e)))}watchHasCreateButton(e){GC.apply(e,(e=>this.setRenderProp(`hasCreateButton`,e)))}watchLabel(e){cp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchOn(e){XC.apply(e,(e=>this.setRenderProp(`on`,e)))}watchSelected(e){this.applySelected(e)}watchTabs(e){this.applyTabs(e)}focus(e){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){Td.apply(this._align,(e=>this.setRenderProp(`align`,e))),JC.apply(this._behavior,(e=>this.setRenderProp(`behavior`,e))),GC.apply(this._hasCreateButton,(e=>this.setRenderProp(`hasCreateButton`,e))),cp.apply(this._label,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`)),XC.apply(this._on,(e=>this.setRenderProp(`on`,e))),this.applySelected(this._selected),this.applyTabs(this._tabs)}componentWillRender(){this.resolveButtons()}componentDidRender(){this.ctaRef(this.tabButtonItems[this.getRenderProp(`selected`)]?.getButtonElement()),this.tabButtonItems.forEach((e=>e.syncListeners())),this.createButtonItem.syncListeners(),this.refreshTabPanels()}disconnectedCallback(){this.tabButtonItems.forEach((e=>e.destroy())),this.createButtonItem.destroy()}syncSelected(){let e=this.getRenderProp(`tabs`);e.length>0&&this.setRenderProp(`selected`,this.selectNextNotDisabledTab(this.getRenderProp(`selected`),e))}getCurrentFocusIndex(){return typeof this.currentFocusIndex==`number`?this.currentFocusIndex:this.getRenderProp(`selected`)}getKeyboardTabChangeMode(){return this.getRenderProp(`behavior`)===`select-manual`?`selectFocusOnly`:`activateCompletely`}goToNextTab(e){let t=this.nextPossibleTabIndex(this.getRenderProp(`tabs`),this.getCurrentFocusIndex());this.selectNextTabEvent(e,t,this.getKeyboardTabChangeMode())}goToPreviousTab(e){let t=this.prevPossibleTabIndex(this.getRenderProp(`tabs`),this.getCurrentFocusIndex());this.selectNextTabEvent(e,t,this.getKeyboardTabChangeMode())}selectNextTabEvent(e,t,n=`activateCompletely`){var r,i;this.currentFocusIndex=t,this.focusTabById(t),n===`activateCompletely`&&(this._selected=t,(i=(r=this.getRenderProp(`tabs`)[t]._on)?.onSelect)==null||i.call(r,e,t),this.onSelect(e,t))}focusTabById(e){this.rootElement&&Oa(`button#${this.tabsId}-tab-${e}`,this.rootElement)?.focus()}onSelect(e,t){var n,r;(r=(n=this.getRenderProp(`on`)).onSelect)==null||r.call(n,e,t),this.host&&F(this.host,P.select,t),this.focusTabById(t)}refreshTabPanels(){var e;if(!this.tabPanelHost)return;for(;this.tabPanelHost.firstChild;)this.tabPanelHost.removeChild(this.tabPanelHost.firstChild);let t=this.getRenderProp(`tabs`);for(let n=0;n<t.length;n++){let t=document.createElement(M(`div`));t.setAttribute(`aria-labelledby`,`${this.tabsId}-tab-${n}`),t.setAttribute(`id`,`${this.tabsId}-panel-${n}`),t.setAttribute(`role`,`tabpanel`),t.setAttribute(`hidden`,``);let r=document.createElement(M(`slot`));r.setAttribute(`name`,`tabpanel-slot-`+n),t.appendChild(r),this.tabPanelHost.appendChild(t),typeof HTMLCollection<`u`&&this.host?.children instanceof HTMLCollection&&(e=this.host)!=null&&e.children[n]&&this.host.children[n].setAttribute(`slot`,`tabpanel-slot-`+n)}this.updateVisiblePanel()}updateVisiblePanel(){if(!this.tabPanelHost)return;let e=this.getRenderProp(`selected`);Array.from(this.tabPanelHost.children).forEach(((t,n)=>{n===e?t.removeAttribute(`hidden`):t.setAttribute(`hidden`,``)}))}resolveButtons(){let e=this.getRenderProp(`selected`),t=this.getRenderProp(`tabs`);this.tabButtons=this.tabButtonItems.map(((n,r)=>{let i=t[r],a=e===r;return n.getButton({_ariaControls:`${this.tabsId}-panel-${r}`,_ariaSelected:a,_customClass:a?`selected`:``,_disabled:i._disabled,_hideLabel:i._hideLabel,_icons:i._icons,_id:`${this.tabsId}-tab-${r}`,_label:i._label,_on:this.tabButtonCallbacks,_role:`tab`,_tabIndex:a?0:-1,_tooltipAlign:i._tooltipAlign,_value:r,_variant:a?`custom`:void 0},this.host)})),this.createButton=this.createButtonItem.getButton({_icons:`kolicon-plus`,_label:this.onCreateLabel,_on:{onClick:this.onCreate}},this.host)}applySelected(e){KC.apply(e,(e=>{this.setRenderProp(`selected`,e),this.syncSelected()}))}applyTabs(e){YC.apply(e,(e=>{this.setRenderProp(`tabs`,e),this.tabButtonItems.forEach((e=>e.destroy())),this.tabButtonItems=e.map((()=>QC())),this.syncSelected()}))}render(){return k(A,{key:`a1fddbcc8b21bc00bc657db63831abbdaa677a93`},k(aw,{key:`cc05fb53cc101641acd81878e35b3e1097bbaec2`,align:this.getRenderProp(`align`),behavior:this.getRenderProp(`behavior`),createButton:this.createButton,handleBlur:this.handleBlur,handleKeyDown:this.handleKeyDown,hasCreateButton:this.getRenderProp(`hasCreateButton`),label:this.getRenderProp(`label`),on:this.getRenderProp(`on`),refContent:this.setContentRef,refRoot:this.setRootRef,selected:this.getRenderProp(`selected`),tabButtons:this.tabButtons,tabs:this.getRenderProp(`tabs`)}))}get host(){return this}static get watchers(){return{_align:[{watchAlign:0}],_behavior:[{watchBehavior:0}],_hasCreateButton:[{watchHasCreateButton:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_selected:[{watchSelected:0}],_tabs:[{watchTabs:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-tabs { display: var(--display); grid-template-columns: var(--grid-template-columns); grid-template-rows: var(--grid-template-rows); } .kol-tabs--align-right { --display: grid; --grid-template-columns: 1fr auto; --button-group-flex-direction: column; --button-group-order: 2; } .kol-tabs--align-left { --display: grid; --grid-template-columns: auto 1fr; --button-group-flex-direction: column; --button-group-order: 0; } .kol-tabs--align-bottom { --display: grid; --grid-template-rows: 1fr auto; --button-group-order: 2; } .kol-tabs__tabs-align-top { --display: grid; --grid-template-rows: auto 1fr; --button-group-order: 0; } .kol-tabs__button-group { display: flex; order: var(--button-group-order); flex-direction: var(--button-group-flex-direction); flex-wrap: wrap; } .kol-tabs__button-group .kol-button { display: block; } .kol-tabs__button-group .kol-button .kol-button__interactive-element { border-bottom-color: transparent; border-bottom-style: solid; } @media (forced-colors: active) { .kol-tabs__button-group .kol-button.selected { outline: 3px solid Highlight; outline-offset: -3px; } .kol-tabs__button-group .kol-button.selected:has(.kol-button__interactive-element:focus-visible) { outline-style: dashed; } } .kol-tabs__tablist { display: flex; flex-direction: var(--button-group-flex-direction); flex-wrap: wrap; } .kol-tabs__panel { height: 100%; } }`}}},[801,`kol-tabs`,{_align:[1],_behavior:[1],_hasCreateButton:[4,`_has-create-button`],_label:[1],_on:[16],_selected:[1538],_tabs:[1],focus:[64],click:[64]},void 0,{_align:[{watchAlign:0}],_behavior:[{watchBehavior:0}],_hasCreateButton:[{watchHasCreateButton:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_selected:[{watchSelected:0}],_tabs:[{watchTabs:0}]}]);H([U(`ctaRef`)],ow.prototype,`focus`,null),H([W(`ctaRef`)],ow.prototype,`click`,null);var sw=ow,cw=function(){typeof customElements<`u`&&[`kol-tabs`].forEach((e=>{e===`kol-tabs`&&(customElements.get(M(e))||customElements.define(M(e),ow))}))},lw=[`vertical`,`none`],uw=z(`adjustHeight`,!1,Dc),dw=z(`resize`,`vertical`,(function(e){let t=R(e);if(kc(t,lw))return t;throw Error(`Invalid resize option: `+t)})),fw=e=>{let{class:t,msg:n,touched:r,readonly:i,disabled:a,required:o,ariaDescribedBy:s,hideLabel:c,label:l}=e,u=yl(e,[`class`,`msg`,`touched`,`readonly`,`disabled`,`required`,`ariaDescribedBy`,`hideLabel`,`label`]),d=Object.assign(Object.assign({class:B(sl(`kol-textarea`)(Object.assign({disabled:!!a,required:!!o,touched:!!r,readonly:!!i},Km(n,r)?{[qm(n)]:!0}:{})),t),required:o,disabled:a,readonly:i},lh({ariaDescribedBy:s,hideLabel:c,label:l})),u);return k(`textarea`,Object.assign({},d))},pw={required:[...th.required],optional:[...th.optional,Lu,uw,xh,Oh,T_,kh,dw,cb,qu,fy,jh,Zu]},mw=j(class extends uh{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=wu(`textarea`),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=Rl(),this.counter=new tv(V.stateLess),this.needsImmediateCounterUpdate=!1,this.hasValue=!1,this.isWritingRows=!1,this.propsConfig=pw,this._accessKey=void 0,this._adjustHeight=!1,this._ariaDetails=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint=``,this._icons=void 0,this._infoPopover=void 0,this._maxLength=void 0,this._hasCounter=!1,this._maxLengthBehavior=`hard`,this._msg=void 0,this._name=void 0,this._on=void 0,this._placeholder=void 0,this._readOnly=!1,this._resize=`vertical`,this._required=!1,this._rows=void 0,this._shortKey=void 0,this._spellCheck=void 0,this._syncValueBySelector=void 0,this._tooltipAlign=`top`,this._touched=!1,this._value=void 0,this._variant=void 0,this.handleTextareaInput=e=>{this.ctaRef.el instanceof HTMLTextAreaElement&&(this._value=this.ctaRef.el.value,this.getRenderProp(`adjustHeight`)&&this.writeRows(this.measureTextareaRows(this.ctaRef.el)),this.handleInput(e))},this.handleTextareaChange=e=>{this.handleChange(e)},this.handleTextareaFocus=e=>{this.handleFocus(e),this.counter.retriggerAria(this._value?.length??0)},this.handleTextareaKeyDown=e=>{this.handleKeyDown(e),this.counter.handleKeyDown(e,this.ctaRef.el?.value.length??0)},this.initFormAssociation(`textarea`,this._name)}watchAccessKey(e){Lu.apply(e,(e=>this.setRenderProp(`accessKey`,e))),Hp(e,this._shortKey)}watchAdjustHeight(e){uw.apply(e,(e=>this.setRenderProp(`adjustHeight`,e)))}watchAriaDetails(e){this.applyAriaDetails(e)}watchDisabled(e){this.applyDisabled(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){xh.apply(e,(e=>this.setRenderProp(`icons`,e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMaxLength(e){this.counter.watchMaxLength(e),this.counter.updateImmediate(this._value?.length??0)}watchHasCounter(e){this.counter.watchHasCounter(e),this.needsImmediateCounterUpdate=!0}watchMaxLengthBehavior(e){this.counter.watchMaxLengthBehavior(e),this.needsImmediateCounterUpdate=!0}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchPlaceholder(e){Oh.apply(e,(e=>this.setRenderProp(`placeholder`,e)))}watchReadOnly(e){T_.apply(e,(e=>this.setRenderProp(`readOnly`,e)))}watchResize(e){dw.apply(e,(e=>this.setRenderProp(`resize`,e)))}watchRequired(e){kh.apply(e,(e=>this.setRenderProp(`required`,e)))}watchRows(e){cb.apply(e,(e=>{this.setRenderProp(`rows`,e),this.isWritingRows||(this.minRows=e)}))}watchShortKey(e){qu.apply(e,(e=>this.setRenderProp(`shortKey`,e))),Hp(this._accessKey,e)}watchSpellCheck(e){fy.apply(e,(e=>this.setRenderProp(`spellCheck`,e)))}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){this.applyValue(e),this.counter.update(e?.length??0)}watchVariant(e){Zu.apply(e,(e=>this.setRenderProp(`variant`,e)))}getValue(){return Promise.resolve(this.ctaRef.el?.value)}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.watchAriaDetails(this._ariaDetails),this._touched=!0===this._touched,this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchAdjustHeight(this._adjustHeight),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchHasCounter(this._hasCounter),this.watchMaxLengthBehavior(this._maxLengthBehavior),this.counter.watchMaxLength(this._maxLength),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchResize(this._resize),this.watchRows(this._rows),this.watchSpellCheck(this._spellCheck),this.applyValue(this._value)}componentDidLoad(){this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(this._value?.length??0),setTimeout((()=>{!0===this._adjustHeight&&this.ctaRef.el?this.writeRows(this.measureTextareaRows(this.ctaRef.el)):this._rows||this.writeRows(1)}))}componentDidUpdate(){this.needsImmediateCounterUpdate&&(this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(this._value?.length??0))}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField(),this.counter.destroy()}writeRows(e){this.isWritingRows=!0,this._rows=e,this.isWritingRows=!1}measureTextareaRows(e){let{overflow:t,padding:n}=e.style;e.style.overflow=`hidden`,e.style.padding=`0`;let r=e.rows,i=e.clientHeight/r;e.rows=1;let a=Math.round(e.scrollHeight/i);e.rows=r,e.style.overflow=t,e.style.padding=n;let o=this.minRows;return o&&o>a?o:a}getTextareaProps(){let e=this.id,t=this.getRenderProp(`shortKey`),n=this.counter.getMaxLengthAttribute(),r=this.counter.getCharacterLimitHintId(e),{ariaDescribedBy:i,hasError:a}=this.getAria();return Object.assign(Object.assign({id:e,hideLabel:this.getRenderProp(`hideLabel`),label:this.getRenderProp(`label`),value:this.getRenderProp(`value`),accessKey:this.getRenderProp(`accessKey`)||void 0,disabled:this.getRenderProp(`disabled`),name:this.getRenderProp(`name`)||void 0,rows:this.getRenderProp(`rows`),readonly:this.getRenderProp(`readOnly`),required:this.getRenderProp(`required`),placeholder:this.getRenderProp(`placeholder`),spellcheck:this.getRenderProp(`spellCheck`),touched:this.getRenderProp(`touched`),msg:this.getRenderProp(`msg`),ref:this.ctaRef,style:{resize:this.getRenderProp(`resize`)},onBlur:this.handleBlur,onChange:this.handleTextareaChange,onClick:this.handleClick,onFocus:this.handleTextareaFocus,onInput:this.handleTextareaInput,onKeyDown:this.handleTextareaKeyDown,ariaDescribedBy:r?[...i,r]:i,"aria-invalid":a?`true`:void 0},n===void 0?{}:{maxLength:n}),t?{"aria-keyshortcuts":t}:{})}applyValue(e){jh.apply(e,(e=>this.setRenderProp(`value`,e))),this.hasValue=!!this.getRenderProp(`value`),this.formAssociation.setFormAssociatedValue(this.getRenderProp(`value`))}render(){let e=this.getRenderProp(`disabled`),{startAdornment:t,endAdornment:n}=Ch({icons:this.getRenderProp(`icons`)});return k(A,{key:`ff9334dce1f1623457e22b7fc7effff37a366994`},k(ch,Object.assign({key:`9795319391532659d12ca987c65f5de755990cf9`},this.getFormFieldProps({class:B(`kol-form-field-textarea`,{"kol-form-field--has-value":this.hasValue,"kol-form-field--has-counter":this.counter.hasSoftLimit()||this.counter.hasCounter()}),accessKey:this.getRenderProp(`accessKey`)||void 0,shortKey:this.getRenderProp(`shortKey`)||void 0,variant:this.getRenderProp(`variant`),required:this.getRenderProp(`required`),readOnly:this.getRenderProp(`readOnly`),maxLength:this.counter.getRenderProp(`maxLength`),counter:this.counter.getCounterProps()})),k(Dh,{key:`99c0bde5448e028841dd23d4a1e6f4cb1610c407`,disabled:e,msg:this.getRenderProp(`msg`),touched:this.getRenderProp(`touched`),startAdornment:t,endAdornment:n},k(fw,Object.assign({key:`4bf532a37dfd883404f34983a2d694dccf1302cc`},this.getTextareaProps())))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_adjustHeight:[{watchAdjustHeight:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_hasCounter:[{watchHasCounter:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_resize:[{watchResize:0}],_required:[{watchRequired:0}],_rows:[{watchRows:0}],_shortKey:[{watchShortKey:0}],_spellCheck:[{watchSpellCheck:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-textarea { width: 100%; } }`}}},[545,`kol-textarea`,{_accessKey:[1,`_access-key`],_adjustHeight:[4,`_adjust-height`],_ariaDetails:[1,`_aria-details`],_disabled:[4],_hideMsg:[4,`_hide-msg`],_hideLabel:[4,`_hide-label`],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_maxLength:[2,`_max-length`],_hasCounter:[4,`_has-counter`],_maxLengthBehavior:[1,`_max-length-behavior`],_msg:[1],_name:[1],_on:[16],_placeholder:[1],_readOnly:[4,`_read-only`],_resize:[1],_required:[4],_rows:[1026],_shortKey:[1,`_short-key`],_spellCheck:[4,`_spell-check`],_syncValueBySelector:[1,`_sync-value-by-selector`],_tooltipAlign:[1,`_tooltip-align`],_touched:[1540],_value:[1537],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_adjustHeight:[{watchAdjustHeight:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_maxLength:[{watchMaxLength:0}],_hasCounter:[{watchHasCounter:0}],_maxLengthBehavior:[{watchMaxLengthBehavior:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_resize:[{watchResize:0}],_required:[{watchRequired:0}],_rows:[{watchRows:0}],_shortKey:[{watchShortKey:0}],_spellCheck:[{watchSpellCheck:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);H([U(`ctaRef`)],mw.prototype,`focus`,null),H([W(`ctaRef`)],mw.prototype,`click`,null);var hw=mw,gw=function(){typeof customElements<`u`&&[`kol-textarea`].forEach((e=>{e===`kol-textarea`&&(customElements.get(M(e))||customElements.define(M(e),mw))}))},_w=z(`items`,[],(e=>jc(e)),(e=>e.every((e=>typeof e==`object`&&!!e)))),vw={required:[cp,_w],optional:[qv]},yw=N.forBlock(`kol-toolbar`)(`item`),bw=({class:e,currentIndex:t,itemRecords:n,label:r,location:i,orientation:a})=>k(cl,{block:`kol-toolbar`,class:e,modifiers:{"orientation-horizontal":a===`horizontal`,"orientation-vertical":a===`vertical`},role:`toolbar`,"aria-label":r},n.map(((e,n)=>((e,t,n,r)=>{let i=t!==n||e.disabled?-1:0;return k(`div`,{class:yw,key:t,ref:e.refWrapper},e.type===`link`?k(Vp,Object.assign({},e.getFcProps(i,r))):e.type===`button`?k(hd,Object.assign({},e.getFcProps(i))):k(`hr`,null))})(e,n,t,i)))),xw=[hS.ArrowUp,hS.ArrowDown,hS.ArrowRight,hS.ArrowLeft],Sw=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.currentIndex=0,this.itemRecords=[],this.location=``,this.propsConfig=vw,this._orientation=void 0}watchLabel(e){cp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchItems(e){_w.apply(e,(e=>{this.setRenderProp(`items`,e),this.itemRecords.forEach((e=>e.destroy())),this.itemRecords=e.map((e=>((e,t)=>e.type===`link`?((e,t)=>{var n;let r=new Kf(V.stateLess),i=Rl(),a=Cu(),o,s=e,c=Jy(Object.assign(Object.assign({},s),{_inline:(n=s._inline)!=null&&n,_variant:s._variant??ni(`buttonVariantDefault`,t())??`normal`}));r.componentWillLoad({label:c.label.length>0?c.label:c.href,align:c.tooltipAlign});let l=e=>{r.hideTooltip(),c.disabled?e.preventDefault():(typeof c.on.onClick==`function`&&(xa(e,i.el),c.on.onClick(e,c.href)),o&&F(o,P.click,c.href))};return{type:`link`,disabled:c.disabled,getElement:()=>i.el,getFcProps:(t,n)=>Object.assign(Object.assign({},c),{ariaCurrent:n!==``&&n===c.href?c.ariaCurrentValue:``,ariaDescriptionId:a,expertSlot:e._label===``,handleAnchorClick:l,refAnchor:i,refTooltip:r.setTooltipElementRef,tabIndex:typeof e._tabIndex==`number`?c.tabIndex:t}),refWrapper:e=>{o=e},syncListeners:()=>{i.el&&r.syncListeners(void 0,i.el,!0)},destroy:()=>r.destroy()}})(e,t):e.type===`button`?((e,t)=>{let n=new Kf(V.stateLess),r=Rl(),i=Cu(),a,o=Tp(e,t()),s=e._value;n.componentWillLoad({label:o.label,align:o.tooltipAlign});let c=(e,t)=>{a&&F(a,e,t)},l=e=>{e.stopPropagation(),n.hideTooltip(),o.type===`submit`?um({form:a}):o.type===`reset`?lm({form:a}):typeof o.on.onClick==`function`&&(xa(e,r.el),o.on.onClick(e,s)),c(P.click,s)},u=e=>{var t,n;(n=(t=o.on).onMouseDown)==null||n.call(t,e),c(P.mousedown)},d=e=>{var t,n;(n=(t=o.on).onFocus)==null||n.call(t,e),c(P.focus)},f=e=>{var t,n;(n=(t=o.on).onBlur)==null||n.call(t,e),c(P.blur)};return{type:`button`,disabled:o.disabled,getElement:()=>r.el,getFcProps:t=>Object.assign(Object.assign({},o),{ariaDescriptionId:i,handleBlur:f,handleClick:l,handleFocus:d,handleMouseDown:u,refButton:r,refTooltip:n.setTooltipElementRef,tabIndex:typeof e._tabIndex==`number`?o.tabIndex:t}),refWrapper:e=>{a=e},syncListeners:()=>{r.el&&n.syncListeners(void 0,r.el,!0)},destroy:()=>n.destroy()}})(e,t):(()=>{let e=Rl();return{type:`hr`,disabled:!0,getElement:()=>e.el,refWrapper:()=>{},syncListeners:()=>{},destroy:()=>{}}})())(e,(()=>this.host)))),this.setFirstEnabledItemIndex()}))}watchOrientation(e){qv.apply(e,(e=>this.setRenderProp(`orientation`,e)))}async focus(e){return Al(this.host,(async()=>{let t=this.getCurrentItemElement();t&&await Pl(t,e)}))}async click(){return Fl(this.host,(async()=>{let e=this.getCurrentItemElement();e&&await Ll(e)}))}componentWillLoad(){this.watchLabel(this._label),this.watchItems(this._items),this.watchOrientation(this._orientation),this.unsubscribeOnLocationChange=io((e=>{this.location=e}))}componentDidRender(){this.itemRecords.forEach((e=>e.syncListeners()))}disconnectedCallback(){this.unsubscribeOnLocationChange&&=(this.unsubscribeOnLocationChange(),void 0),this.itemRecords.forEach((e=>e.destroy()))}handleKeyDown(e){var t;let n=e.code;if(!xw.includes(n)||(e.preventDefault(),this.itemRecords.length===0))return;let r=this.findNextEnabledItemIndex(this.currentIndex,n===hS.ArrowUp||n===hS.ArrowLeft?-1:1);r!==void 0&&r!==this.currentIndex&&(this.currentIndex=r,(t=this.itemRecords[r].getElement())==null||t.focus())}handleFocusout(e){e.target===this.host&&this.setFirstEnabledItemIndex()}getCurrentItemElement(){let e=this.itemRecords[this.currentIndex];return e&&!e.disabled?e.getElement():void 0}setFirstEnabledItemIndex(){this.currentIndex=this.itemRecords.findIndex((e=>!e.disabled))}findNextEnabledItemIndex(e,t){let n=this.itemRecords.length;for(let r=1;r<=n;r++){let i=((e+t*r)%n+n)%n;if(!this.itemRecords[i].disabled)return i}}render(){return k(A,{key:`b6c8d09ed4b05f14535fe5114a41b874761824fa`},k(bw,{key:`a4fd59b25ed6534ee6881b3e83d2789cc1056934`,currentIndex:this.currentIndex,itemRecords:this.itemRecords,label:this.getRenderProp(`label`),location:this.location,orientation:this.getRenderProp(`orientation`)}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_items:[{watchItems:0}],_orientation:[{watchOrientation:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-link__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-link__interactive-element::before { content: "​"; } .kol-link__text { flex: 1 0 100%; } .kol-link { } .kol-link__tooltip { height: 0; } .kol-link--external-link > .kolicon-link-external::before { content: none; } .kol-link--external-link .kol-link__interactive-element > .kolicon-link-external::before { content: none; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: "​"; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-toolbar { display: flex; flex-wrap: wrap; align-items: stretch; } .kol-toolbar--orientation-horizontal .kol-toolbar__item hr { height: 100%; } .kol-toolbar--orientation-vertical { flex-direction: column; align-items: stretch; } .kol-toolbar--orientation-vertical .kol-span { align-items: flex-start; } .kol-toolbar__item hr { margin: 0; } .kol-toolbar:focus-within { outline: 1px solid; outline-offset: 2px; } }`}}},[545,`kol-toolbar`,{_label:[1],_items:[16],_orientation:[1],currentIndex:[32],itemRecords:[32],location:[32],focus:[64],click:[64]},[[0,`keydown`,`handleKeyDown`],[2,`focusout`,`handleFocusout`]],{_label:[{watchLabel:0}],_items:[{watchItems:0}],_orientation:[{watchOrientation:0}]}]),Cw=Sw,ww=function(){typeof customElements<`u`&&[`kol-toolbar`].forEach((e=>{e===`kol-toolbar`&&(customElements.get(M(e))||customElements.define(M(e),Sw))}))},Tw=new WeakMap,Ew=(e,t)=>{Tw.set(e,t)},Dw=e=>{Tw.delete(e)},Ow=e=>{var t;e&&((t=Tw.get(e))==null||t())},kw={required:[cp]},Aw=N.forBlock(`kol-tree`)(`treeview-navigation`),jw=({handleSlotchange:e,label:t})=>k(cl,{component:`nav`,block:`kol-tree`,"aria-label":t},k(`ul`,{class:Aw,role:`tree`,"aria-label":t},k(`slot`,{onSlotchange:e}))),Mw=e=>e?.tagName===M(Qa).toUpperCase(),Nw=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.cacheValid=!1,this.propsConfig=kw,this.invalidateOpenItemsCache=()=>{this.cacheValid=!1},this.handleSlotchange=()=>{this.observeTopLevelItems(),this.scheduleTreeChange()}}watchLabel(e){cp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}async focus(e){this.host&&await Al(this.host,(async()=>{await((await this.getOpenTreeItemElements())?.[0])?.focus(e)}))}connectedCallback(){this.host&&Ew(this.host,this.invalidateOpenItemsCache)}componentWillLoad(){this.watchLabel(this._label),this.handleTreeChange(),this.observeChildListMutations()}disconnectedCallback(){var e;this.host&&Dw(this.host),(e=this.observer)==null||e.disconnect(),this.rafHandle!==void 0&&(cancelAnimationFrame(this.rafHandle),this.rafHandle=void 0)}async handleKeyDown(e){var t;if(e.key===`Tab`&&e.shiftKey&&e.target!==this.host)return void((t=this.host)==null||t.setAttribute(`tabindex`,`-1`));let n=e.composedPath().find(Mw),r=await this.getOpenTreeItemElements(),i=e.metaKey||e.altKey||e.ctrlKey||e.shiftKey;if(!r||!n)return;let a=r.findIndex((e=>e===n));switch(e.key){case`ArrowDown`:await r[a+1]?.focus(),e.preventDefault();break;case`ArrowUp`:await r[a-1]?.focus(),e.preventDefault();break;case`Right`:case`ArrowRight`:e.preventDefault(),await n.isOpen()?await r[a+1]?.focus():await n.expand();break;case`Left`:case`ArrowLeft`:if(e.preventDefault(),await n.isOpen())await n.collapse();else{let e=n.parentElement,t=e?r.indexOf(e):-1;t!==-1&&await r[t]?.focus()}break;case`Home`:await r[0]?.focus(),e.preventDefault();break;case`End`:await r[r.length-1]?.focus(),e.preventDefault();break;case e.key.match(/^[a-zA-Z0-9]$/)?.input:if(!i){let t=e.key.toLowerCase(),n=a+1,i=e=>{var n;return(n=e.getAttribute(`_label`)?.trim().toLowerCase().startsWith(t))!=null&&n},o=r.slice(n).findIndex(i);o===-1?o=r.slice(0,n).findIndex(i):o+=n,o!==-1&&(await r[o]?.focus(),e.preventDefault())}break;case`*`:(n.parentElement?.querySelectorAll(M(Qa)))?.forEach((e=>{e.expand()}))}}handleFocusIn(e){e.target!==this.host||this.isWithinTree(e.relatedTarget)||requestAnimationFrame((()=>{this.focus()}))}handleFocusOut(e){var t;this.isWithinTree(e.relatedTarget)||(t=this.host)==null||t.setAttribute(`tabindex`,`0`),e.relatedTarget&&!e.relatedTarget.closest(M(`kol-tree`))&&this.ensureActiveItemVisibility()}isWithinTree(e){var t;return e instanceof Node&&e!==this.host&&(t=this.host?.contains(e))!=null&&t}observeChildListMutations(){this.observer=new MutationObserver((()=>this.scheduleTreeChange())),this.observeTopLevelItems()}observeTopLevelItems(){this.getTopLevelTreeItems().forEach((e=>{var t;(t=this.observer)==null||t.observe(e,{childList:!0,subtree:!0})}))}scheduleTreeChange(){this.rafHandle&&cancelAnimationFrame(this.rafHandle),this.rafHandle=requestAnimationFrame((()=>{this.handleTreeChange()}))}getTopLevelTreeItems(){return Array.from(this.host?.children??[]).filter((e=>Mw(e)&&!e.slot))}handleTreeChange(){this.treeItemElements=this.getTreeItemElements(),this.cacheValid=!1,this.ensureActiveItemVisibility()}getTreeItemElements(){return this.getTopLevelTreeItems().reduce(((e,t)=>{let n=t.querySelectorAll(M(Qa));return[...e,t,...n]}),[])}async getOpenTreeItemElements(){if(!this.treeItemElements)return;if(this.cacheValid&&this.cachedOpenItems)return this.cachedOpenItems;let e=async e=>{let t=e.parentElement;for(;Mw(t);){if(!await t.isOpen())return!1;t=t.parentElement}return!0};return this.cachedOpenItems=await Promise.all(this.treeItemElements.map((async t=>({item:t,isOpen:await e(t)})))).then((e=>e.filter((({isOpen:e})=>e)).map((({item:e})=>e)))),this.cacheValid=!0,this.cachedOpenItems}ensureActiveItemVisibility(){let e=t=>{Mw(t.parentElement)&&(t.parentElement.expand(),e(t.parentElement))},t=(()=>{for(let e of this.getTopLevelTreeItems()){if(e._active)return e;let t=e.querySelector(M(Qa)+`[_active="true"]`);if(t?._active)return t}})();t&&e(t)}render(){return k(A,{key:`f8b8c1959715fb38cbb12d45aeae94df1ce5046d`,tabindex:`0`},k(jw,{key:`25e425d9e3b8d682cf1bd48693d6a3da4d2905c1`,handleSlotchange:this.handleSlotchange,label:this.getRenderProp(`label`)}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-tree__treeview-navigation { margin: 0; padding: 0; list-style: none; } .kol-tree:focus-within { outline: 1px solid; outline-offset: 2px; } }`}}},[545,`kol-tree`,{_label:[1],focus:[64]},[[0,`keydown`,`handleKeyDown`],[0,`focusin`,`handleFocusIn`],[0,`focusout`,`handleFocusOut`]],{_label:[{watchLabel:0}]}]),Pw=Nw,Fw=function(){typeof customElements<`u`&&[`kol-tree`].forEach((e=>{e===`kol-tree`&&(customElements.get(M(e))||customElements.define(M(e),Nw))}))},Iw=z(`active`,!1,Dc),Lw={required:[Mp,pl],optional:[Iw]},Rw=N.forBlock(`kol-tree-item`),zw=Rw(`children`),Bw=Rw(`link-inner`),Vw=Rw(`text`),Hw=Rw(`toggle-button`),Uw=Rw(`toggle-button-icon`),Ww=Rw(`toggle-button-placeholder`),Gw=Object.freeze(ll(zp)),Kw=()=>{},qw=({active:e,ariaCurrent:t,groupId:n,handleAnchorClick:r,handleSlotchange:i,handleToggleClick:a,hasChildren:o,href:s,label:c,level:l,open:u,refAnchor:d})=>k(cl,{component:`li`,block:`kol-tree-item`,role:`none`,style:{"--level":``+l}},k(`span`,{class:Rw(`link`,{active:e,"first-level":l===0})},k(Vp,Object.assign({},Gw,{ariaCurrent:t,ariaDescriptionId:``,ariaExpanded:o?u?`true`:`false`:``,ariaOwns:o?n:``,expertSlot:!0,handleAnchorClick:r,href:s,label:``,refAnchor:d,refTooltip:Kw,role:`treeitem`,tabIndex:e?0:-1}),k(`span`,{class:Bw},o?k(`span`,{class:Hw,onClick:a},k(Ul,{class:Uw,icons:`kolicon kolicon-`+(u?`chevron-down`:`chevron-right`),label:``})):k(`span`,{class:Ww}),k(`span`,{class:Vw},fu(c))))),k(`ul`,{class:zw,hidden:!o||!u,role:`group`,id:n},k(`slot`,{onSlotchange:i}))),Jw=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaCurrent=``,this.groupId=wu(`tree-group`),this.hasChildren=!1,this.level=0,this.open=!1,this.anchorRef=Rl(),this.propsConfig=Lw,this._active=void 0,this._open=void 0,this.handleAnchorClick=()=>{this.host&&F(this.host,P.click,this.getRenderProp(`href`))},this.handleSlotchange=()=>{this.checkForChildren()},this.handleToggleClick=e=>{e.preventDefault();let t=this.open;this.focus().then((()=>this.setOpen(!t)))}}watchActive(e){Iw.apply(e,(e=>this.setRenderProp(`active`,e)))}watchLabel(e){pl.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}watchOpen(e){Cl.apply(e,(e=>{this.open=e,Ow(this.getTree())}))}watchHref(e){Mp.apply(e,(e=>this.setRenderProp(`href`,e)),this.isRequired(`href`))}focus(e){return Promise.resolve()}expand(){return this.setOpen(!0),Promise.resolve()}collapse(){return this.setOpen(!1),Promise.resolve()}isOpen(){return Promise.resolve(this.open)}componentWillLoad(){this.watchActive(this._active),this.watchHref(this._href),this.watchLabel(this._label),this.watchOpen(this._open),this.checkForChildren(),this.determineTreeItemDepth(),this.unsubscribeOnLocationChange=io((e=>{let t=e===this.getRenderProp(`href`)?Fp.getDefaultValue():``;this.ariaCurrent!==t&&(this.ariaCurrent=t)}))}disconnectedCallback(){this.unsubscribeOnLocationChange&&=(this.unsubscribeOnLocationChange(),void 0)}determineTreeItemDepth(){let e=0,t=this.host?.parentElement??null;for(;t!==null&&t.tagName.toLowerCase()!==M(`kol-tree`)&&t!==document.body;)t=t.parentElement,e+=1;this.level=e}checkForChildren(){this.hasChildren=Array.from(this.host?.children??[]).some((e=>!e.slot))}getTree(){let e=this.host;for(;e;){let t=e.closest(M($a));if(t)return t;let n=e.getRootNode()?.host;if(!n||n===document.body)break;e=n}}setOpen(e){this.hasChildren&&(this.open=e,Ow(this.getTree()))}render(){return k(A,{key:`31c2c0115e2844615bf49e218085aeb45482f080`},k(qw,{key:`4116171168d0a9af8409866044eb70d3182d2dab`,active:this.getRenderProp(`active`),ariaCurrent:this.ariaCurrent,groupId:this.groupId,handleAnchorClick:this.handleAnchorClick,handleSlotchange:this.handleSlotchange,handleToggleClick:this.handleToggleClick,hasChildren:this.hasChildren,href:this.getRenderProp(`href`),label:this.getRenderProp(`label`),level:this.level,open:this.open,refAnchor:this.anchorRef}))}get host(){return this}static get watchers(){return{_active:[{watchActive:0}],_label:[{watchLabel:0}],_open:[{watchOpen:0}],_href:[{watchHref:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tree-item__link .kol-link { display: inline-flex; width: 100%; min-height: var(--a11y-min-size); align-items: center; text-decoration: none; } .kol-tree-item__link .kol-link__interactive-element { flex: 1 1 auto; text-decoration: none; } .kol-tree-item__link-inner { display: flex; align-items: center; } .kol-tree-item__children { margin: 0; padding: 0; list-style: none; } .kol-tree-item .kol-span { place-items: unset; } .kol-tree-item__toggle-button, .kol-tree-item__toggle-button-placeholder { display: inline-flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } .kol-tree-item__text { text-decoration: underline; } }`}}},[545,`kol-tree-item`,{_active:[4],_label:[1],_open:[4],_href:[1],ariaCurrent:[32],groupId:[32],hasChildren:[32],level:[32],open:[32],focus:[64],expand:[64],collapse:[64],isOpen:[64]},void 0,{_active:[{watchActive:0}],_label:[{watchLabel:0}],_open:[{watchOpen:0}],_href:[{watchHref:0}]}]);H([Vl(`anchorRef`)],Jw.prototype,`focus`,null);var Yw=Jw,Xw=function(){typeof customElements<`u`&&[`kol-tree-item`].forEach((e=>{e===`kol-tree-item`&&(customElements.get(M(e))||customElements.define(M(e),Jw))}))},Zw={required:[cp]},Qw=({class:e,color:t,icons:n,label:r})=>k(cl,{block:`kol-version`,class:e},k(wp,{color:t,icons:n,label:r})),$w=ip(`#bec5c9`),eT={backgroundColor:$w.background,foregroundColor:$w.foreground},tT={left:{icon:`kolicon-version`,label:G(`kol-version`)}},nT=j(class extends V{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=Zw}watchLabel(e){cp.apply(e,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}componentWillLoad(){cp.apply(this._label,(e=>this.setRenderProp(`label`,e)),this.isRequired(`label`))}render(){return k(A,{key:`dc73bdd05c397b0a19864b8914ad88e8328d03a1`},k(Qw,{key:`9fd2c1082e58750ada4e9df753abe6f2998947a1`,color:eT,icons:tT,label:this.getRenderProp(`label`)}))}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } }`}}},[545,`kol-version`,{_label:[1]},void 0,{_label:[{watchLabel:0}]}]),rT=nT,iT=function(){typeof customElements<`u`&&[`kol-version`].forEach((e=>{e===`kol-version`&&(customElements.get(M(e))||customElements.define(M(e),nT))}))},aT,oT=e=>{Ir(e),aT=e},sT=e=>aT?aT(e):e,cT=()=>aT,lT=e=>{oT(gt(e))},uT=e=>{let{transformTag:t,tagName:n,...r}=e,i,a=()=>{let e=_t();return e&&!cT()&&oT(e),t?t(n):n};return w.forwardRef((e,t)=>{i??=Eo({...r,tagName:a()});let n=Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0));return w.createElement(i,{...n,ref:w.useCallback(e=>{if(e!==null)for(let[t,r]of Object.entries(n))t.startsWith(`_`)&&t in e&&(e[t]=r);typeof t==`function`?t(e):t&&(t.current=e)},[t,n])})})},dT=uT({tagName:`kol-abbr`,elementClass:_l,react:w.default,events:{},defineCustomElement:vl,transformTag:sT}),fT=uT({tagName:`kol-accordion`,elementClass:Du,react:w.default,events:{},defineCustomElement:Ou,transformTag:sT}),pT=uT({tagName:`kol-alert`,elementClass:tp,react:w.default,events:{},defineCustomElement:np,transformTag:sT}),mT=uT({tagName:`kol-avatar`,elementClass:vp,react:w.default,events:{},defineCustomElement:yp,transformTag:sT}),hT=uT({tagName:`kol-badge`,elementClass:kp,react:w.default,events:{},defineCustomElement:Ap,transformTag:sT}),gT=uT({tagName:`kol-breadcrumb`,elementClass:rm,react:w.default,events:{},defineCustomElement:im,transformTag:sT}),K=uT({tagName:`kol-button`,elementClass:hm,react:w.default,events:{},defineCustomElement:gm,transformTag:sT}),_T=uT({tagName:`kol-button-link`,elementClass:vm,react:w.default,events:{},defineCustomElement:ym,transformTag:sT}),vT=uT({tagName:`kol-card`,elementClass:Pm,react:w.default,events:{},defineCustomElement:Fm,transformTag:sT}),yT=uT({tagName:`kol-combobox`,elementClass:Rh,react:w.default,events:{},defineCustomElement:zh,transformTag:sT}),bT=uT({tagName:`kol-details`,elementClass:Vh,react:w.default,events:{},defineCustomElement:Hh,transformTag:sT}),xT=uT({tagName:`kol-dialog`,elementClass:ng,react:w.default,events:{},defineCustomElement:rg,transformTag:sT}),ST=uT({tagName:`kol-drawer`,elementClass:dg,react:w.default,events:{},defineCustomElement:fg,transformTag:sT}),CT=uT({tagName:`kol-form`,elementClass:Og,react:w.default,events:{},defineCustomElement:kg,transformTag:sT}),q=uT({tagName:`kol-heading`,elementClass:Fg,react:w.default,events:{},defineCustomElement:Ig,transformTag:sT}),wT=uT({tagName:`kol-icon`,elementClass:Vg,react:w.default,events:{},defineCustomElement:Hg,transformTag:sT}),TT=uT({tagName:`kol-image`,elementClass:Xg,react:w.default,events:{},defineCustomElement:Zg,transformTag:sT}),ET=uT({tagName:`kol-input-checkbox`,elementClass:g_,react:w.default,events:{},defineCustomElement:__,transformTag:sT}),DT=uT({tagName:`kol-input-color`,elementClass:C_,react:w.default,events:{},defineCustomElement:w_,transformTag:sT}),OT=uT({tagName:`kol-input-date`,elementClass:G_,react:w.default,events:{},defineCustomElement:K_,transformTag:sT}),kT=uT({tagName:`kol-input-email`,elementClass:cv,react:w.default,events:{},defineCustomElement:lv,transformTag:sT}),AT=uT({tagName:`kol-input-file`,elementClass:vv,react:w.default,events:{},defineCustomElement:yv,transformTag:sT}),jT=uT({tagName:`kol-input-number`,elementClass:Nv,react:w.default,events:{},defineCustomElement:Pv,transformTag:sT}),MT=uT({tagName:`kol-input-password`,elementClass:zv,react:w.default,events:{},defineCustomElement:Bv,transformTag:sT}),NT=uT({tagName:`kol-input-radio`,elementClass:ty,react:w.default,events:{},defineCustomElement:ny,transformTag:sT}),PT=uT({tagName:`kol-input-range`,elementClass:uy,react:w.default,events:{},defineCustomElement:dy,transformTag:sT}),J=uT({tagName:`kol-input-text`,elementClass:vy,react:w.default,events:{},defineCustomElement:yy,transformTag:sT}),FT=uT({tagName:`kol-kolibri`,elementClass:Ty,react:w.default,events:{},defineCustomElement:Ey,transformTag:sT}),Y=uT({tagName:`kol-link`,elementClass:Ay,react:w.default,events:{},defineCustomElement:jy,transformTag:sT}),IT=uT({tagName:`kol-link-button`,elementClass:Ny,react:w.default,events:{},defineCustomElement:Py,transformTag:sT}),LT=uT({tagName:`kol-meter`,elementClass:Gy,react:w.default,events:{},defineCustomElement:Ky,transformTag:sT}),RT=uT({tagName:`kol-nav`,elementClass:ob,react:w.default,events:{},defineCustomElement:sb,transformTag:sT}),zT=uT({tagName:`kol-pagination`,elementClass:Zb,react:w.default,events:{},defineCustomElement:Qb,transformTag:sT}),BT=uT({tagName:`kol-popover-button`,elementClass:tx,react:w.default,events:{},defineCustomElement:nx,transformTag:sT}),VT=uT({tagName:`kol-progress`,elementClass:dx,react:w.default,events:{},defineCustomElement:fx,transformTag:sT}),HT=uT({tagName:`kol-quote`,elementClass:Sx,react:w.default,events:{},defineCustomElement:Cx,transformTag:sT}),UT=uT({tagName:`kol-select`,elementClass:Tx,react:w.default,events:{},defineCustomElement:Ex,transformTag:sT}),WT=uT({tagName:`kol-single-select`,elementClass:Lx,react:w.default,events:{},defineCustomElement:Rx,transformTag:sT}),GT=uT({tagName:`kol-skip-nav`,elementClass:Kx,react:w.default,events:{},defineCustomElement:qx,transformTag:sT}),KT=uT({tagName:`kol-spin`,elementClass:rS,react:w.default,events:{},defineCustomElement:iS,transformTag:sT}),qT=uT({tagName:`kol-split-button`,elementClass:fS,react:w.default,events:{},defineCustomElement:pS,transformTag:sT}),JT=uT({tagName:`kol-table-stateful`,elementClass:BC,react:w.default,events:{},defineCustomElement:VC,transformTag:sT}),YT=uT({tagName:`kol-table-stateless`,elementClass:UC,react:w.default,events:{},defineCustomElement:WC,transformTag:sT}),XT=uT({tagName:`kol-tabs`,elementClass:sw,react:w.default,events:{},defineCustomElement:cw,transformTag:sT}),ZT=uT({tagName:`kol-textarea`,elementClass:hw,react:w.default,events:{},defineCustomElement:gw,transformTag:sT}),QT=uT({tagName:`kol-toolbar`,elementClass:Cw,react:w.default,events:{},defineCustomElement:ww,transformTag:sT}),$T=uT({tagName:`kol-tree`,elementClass:Pw,react:w.default,events:{},defineCustomElement:Fw,transformTag:sT}),eE=uT({tagName:`kol-tree-item`,elementClass:Yw,react:w.default,events:{},defineCustomElement:Xw,transformTag:sT}),tE=uT({tagName:`kol-version`,elementClass:rT,react:w.default,events:{},defineCustomElement:iT,transformTag:sT});function nE(e){let t=document.createElement(`div`);return t.setAttribute(`role`,`presentation`),e.innerHTML=``,e.appendChild(t),t}var rE=y((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,S||(S=!0,te());else{var t=n(l);t!==null&&ie(x,t.startTime-e)}}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function ee(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&ie(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?te():S=!1}}}var te;if(typeof y==`function`)te=function(){y(ee)};else if(typeof MessageChannel<`u`){var ne=new MessageChannel,re=ne.port2;ne.port1.onmessage=ee,te=function(){re.postMessage(null)}}else te=function(){_(ee,0)};function ie(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,ie(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,te()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),iE=y(((e,t)=>{t.exports=rE()})),aE=y((e=>{var t=C();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.8`})),oE=y(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=aE()})),sE=y((e=>{var t=iE(),n=C(),r=oE();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,p=Symbol.for(`react.element`),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.consumer`),b=Symbol.for(`react.context`),x=Symbol.for(`react.forward_ref`),S=Symbol.for(`react.suspense`),w=Symbol.for(`react.suspense_list`),T=Symbol.for(`react.memo`),E=Symbol.for(`react.lazy`),ee=Symbol.for(`react.activity`),te=Symbol.for(`react.memo_cache_sentinel`),ne=Symbol.iterator;function re(e){return typeof e!=`object`||!e?null:(e=ne&&e[ne]||e[`@@iterator`],typeof e==`function`?e:null)}var ie=Symbol.for(`react.client.reference`);function ae(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ie?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case S:return`Suspense`;case w:return`SuspenseList`;case ee:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case h:return`Portal`;case b:return e.displayName||`Context`;case y:return(e._context.displayName||`Context`)+`.Consumer`;case x:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case T:return t=e.displayName||null,t===null?ae(e.type)||`Memo`:t;case E:t=e._payload,e=e._init;try{return ae(e(t))}catch{}}return null}var oe=Array.isArray,D=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ce={pending:!1,data:null,method:null,action:null},le=[],ue=-1;function de(e){return{current:e}}function fe(e){0>ue||(e.current=le[ue],le[ue]=null,ue--)}function pe(e,t){ue++,le[ue]=e.current,e.current=t}var me=de(null),he=de(null),ge=de(null),_e=de(null);function ve(e,t){switch(pe(ge,t),pe(he,e),pe(me,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?qd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=qd(t),e=Jd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}fe(me),pe(me,e)}function ye(){fe(me),fe(he),fe(ge)}function be(e){e.memoizedState!==null&&pe(_e,e);var t=me.current,n=Jd(t,e.type);t!==n&&(pe(he,e),pe(me,n))}function xe(e){he.current===e&&(fe(me),fe(he)),_e.current===e&&(fe(_e),ip._currentValue=ce)}var Se,Ce;function we(e){if(Se===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Se=t&&t[1]||``,Ce=-1<e.stack.indexOf(`
17
+ at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
18
+ `+Se+e+Ce}var Te=!1;function Ee(e,t){if(!e||Te)return``;Te=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
19
+ `),l=s.split(`
20
+ `);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
21
+ `+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Te=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?we(n):``}function De(e,t){switch(e.tag){case 26:case 27:case 5:return we(e.type);case 16:return we(`Lazy`);case 13:return e.child!==t&&t!==null?we(`Suspense Fallback`):we(`Suspense`);case 19:return we(`SuspenseList`);case 0:case 15:return Ee(e.type,!1);case 11:return Ee(e.type.render,!1);case 1:return Ee(e.type,!0);case 31:return we(`Activity`);default:return``}}function Oe(e){try{var t=``,n=null;do t+=De(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
22
+ Error generating stack: `+e.message+`
23
+ `+e.stack}}var ke=Object.prototype.hasOwnProperty,Ae=t.unstable_scheduleCallback,je=t.unstable_cancelCallback,Me=t.unstable_shouldYield,Ne=t.unstable_requestPaint,Pe=t.unstable_now,Fe=t.unstable_getCurrentPriorityLevel,Ie=t.unstable_ImmediatePriority,Le=t.unstable_UserBlockingPriority,Re=t.unstable_NormalPriority,ze=t.unstable_LowPriority,Be=t.unstable_IdlePriority,Ve=t.log,He=t.unstable_setDisableYieldValue,Ue=null,We=null;function Ge(e){if(typeof Ve==`function`&&He(e),We&&typeof We.setStrictMode==`function`)try{We.setStrictMode(Ue,e)}catch{}}var Ke=Math.clz32?Math.clz32:Ye,qe=Math.log,Je=Math.LN2;function Ye(e){return e>>>=0,e===0?32:31-(qe(e)/Je|0)|0}var Xe=256,Ze=262144,Qe=4194304;function $e(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function et(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=$e(n))):i=$e(o):i=$e(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=$e(n))):i=$e(o)):i=$e(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function tt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function nt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function rt(){var e=Qe;return Qe<<=1,!(Qe&62914560)&&(Qe=4194304),e}function it(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function at(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ot(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Ke(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&st(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function st(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ke(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function ct(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ke(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function lt(e,t){var n=t&-t;return n=n&42?1:ut(n),(n&(e.suspendedLanes|t))===0?n:0}function ut(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function dt(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function ft(){var e=se.p;return e===0?(e=window.event,e===void 0?32:bp(e.type)):e}function pt(e,t){var n=se.p;try{return se.p=e,t()}finally{se.p=n}}var mt=Math.random().toString(36).slice(2),ht=`__reactFiber$`+mt,gt=`__reactProps$`+mt,_t=`__reactContainer$`+mt,vt=`__reactEvents$`+mt,yt=`__reactListeners$`+mt,bt=`__reactHandles$`+mt,xt=`__reactResources$`+mt,St=`__reactMarker$`+mt;function Ct(e){delete e[ht],delete e[gt],delete e[vt],delete e[yt],delete e[bt]}function wt(e){var t=e[ht];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_t]||n[ht]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=_f(e);e!==null;){if(n=e[ht])return n;e=_f(e)}return t}e=n,n=e.parentNode}return null}function Tt(e){if(e=e[ht]||e[_t]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Et(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Dt(e){var t=e[xt];return t||=e[xt]={hoistableStyles:new Map,hoistableScripts:new Map},t}function Ot(e){e[St]=!0}var kt=new Set,At={};function jt(e,t){Mt(e,t),Mt(e+`Capture`,t)}function Mt(e,t){for(At[e]=t,e=0;e<t.length;e++)kt.add(t[e])}var Nt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),Pt={},Ft={};function It(e){return ke.call(Ft,e)?!0:ke.call(Pt,e)?!1:Nt.test(e)?Ft[e]=!0:(Pt[e]=!0,!1)}function Lt(e,t,n){if(It(t)){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}}function Rt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function zt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Bt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Vt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Ht(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function O(e){if(!e._valueTracker){var t=Vt(e)?`checked`:`value`;e._valueTracker=Ht(e,t,``+e[t])}}function Ut(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Vt(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}function Wt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var Gt=/[\n"\\]/g;function Kt(e){return e.replace(Gt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function qt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Bt(t)):e.value!==``+Bt(t)&&(e.value=``+Bt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Yt(e,o,Bt(n)):Yt(e,o,Bt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Bt(s):e.removeAttribute(`name`)}function Jt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){O(e);return}n=n==null?``:``+Bt(n),t=t==null?n:``+Bt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),O(e)}function Yt(e,t,n){t===`number`&&Wt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Xt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Bt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Zt(e,t,n){t!=null&&(t=``+Bt(t),t!==e.value&&(e.value=t),n==null)?e.defaultValue!==t&&(e.defaultValue=t):e.defaultValue=n==null?``:``+Bt(n)}function Qt(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(oe(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Bt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),O(e)}function $t(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var en=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function tn(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||en.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function nn(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&tn(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&tn(e,o,t[o])}function rn(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var an=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),on=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function sn(e){return on.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function cn(){}var ln=null;function un(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var dn=null,fn=null;function pn(e){var t=Tt(e);if(t&&(e=t.stateNode)){var n=e[gt]||null;a:switch(e=t.stateNode,t.type){case`input`:if(qt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Kt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[gt]||null;if(!a)throw Error(i(90));qt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Ut(r)}break a;case`textarea`:Zt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Xt(e,!!n.multiple,t,!1)}}}var mn=!1;function hn(e,t,n){if(mn)return e(t,n);mn=!0;try{return e(t)}finally{if(mn=!1,(dn!==null||fn!==null)&&(wu(),dn&&(t=dn,e=fn,fn=dn=null,pn(t),e)))for(t=0;t<e.length;t++)pn(e[t])}}function gn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[gt]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var _n=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,vn=!1;if(_n)try{var yn={};Object.defineProperty(yn,"passive",{get:function(){vn=!0}}),window.addEventListener(`test`,yn,yn),window.removeEventListener(`test`,yn,yn)}catch{vn=!1}var bn=null,xn=null,Sn=null;function Cn(){if(Sn)return Sn;var e,t=xn,n=t.length,r,i=`value`in bn?bn.value:bn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Sn=i.slice(e,1<r?1-r:void 0)}function wn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Tn(){return!0}function En(){return!1}function Dn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Tn:En,this.isPropagationStopped=En,this}return f(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Tn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Tn)},persist:function(){},isPersistent:Tn}),t}var On={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},kn=Dn(On),An=f({},On,{view:0,detail:0}),jn=Dn(An),k,Mn,A,Nn=f({},An,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==A&&(A&&e.type===`mousemove`?(k=e.screenX-A.screenX,Mn=e.screenY-A.screenY):Mn=k=0,A=e),k)},movementY:function(e){return`movementY`in e?e.movementY:Mn}}),Pn=Dn(Nn),Fn=Dn(f({},Nn,{dataTransfer:0})),In=Dn(f({},An,{relatedTarget:0})),Ln=Dn(f({},On,{animationName:0,elapsedTime:0,pseudoElement:0})),Rn=Dn(f({},On,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),zn=Dn(f({},On,{data:0})),Bn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Vn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Hn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Un(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Hn[e])?!!t[e]:!1}function Wn(){return Un}var Gn=Dn(f({},An,{key:function(e){if(e.key){var t=Bn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=wn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Vn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wn,charCode:function(e){return e.type===`keypress`?wn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?wn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Kn=Dn(f({},Nn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),qn=Dn(f({},An,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wn})),Jn=Dn(f({},On,{propertyName:0,elapsedTime:0,pseudoElement:0})),Yn=Dn(f({},Nn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Xn=Dn(f({},On,{newState:0,oldState:0})),Zn=[9,13,27,32],Qn=_n&&`CompositionEvent`in window,$n=null;_n&&`documentMode`in document&&($n=document.documentMode);var er=_n&&`TextEvent`in window&&!$n,tr=_n&&(!Qn||$n&&8<$n&&11>=$n),nr=` `,rr=!1;function ir(e,t){switch(e){case`keyup`:return Zn.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function ar(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var or=!1;function sr(e,t){switch(e){case`compositionend`:return ar(t);case`keypress`:return t.which===32?(rr=!0,nr):null;case`textInput`:return e=t.data,e===nr&&rr?null:e;default:return null}}function cr(e,t){if(or)return e===`compositionend`||!Qn&&ir(e,t)?(e=Cn(),Sn=xn=bn=null,or=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return tr&&t.locale!==`ko`?null:t.data;default:return null}}var lr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ur(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!lr[e.type]:t===`textarea`}function dr(e,t,n,r){dn?fn?fn.push(r):fn=[r]:dn=r,t=jd(t,`onChange`),0<t.length&&(n=new kn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var fr=null,pr=null;function mr(e){Cd(e,0)}function hr(e){if(Ut(Et(e)))return e}function gr(e,t){if(e===`change`)return t}var _r=!1;if(_n){var vr;if(_n){var yr=`oninput`in document;if(!yr){var br=document.createElement(`div`);br.setAttribute(`oninput`,`return;`),yr=typeof br.oninput==`function`}vr=yr}else vr=!1;_r=vr&&(!document.documentMode||9<document.documentMode)}function xr(){fr&&(fr.detachEvent(`onpropertychange`,Sr),pr=fr=null)}function Sr(e){if(e.propertyName===`value`&&hr(pr)){var t=[];dr(t,pr,e,un(e)),hn(mr,t)}}function Cr(e,t,n){e===`focusin`?(xr(),fr=t,pr=n,fr.attachEvent(`onpropertychange`,Sr)):e===`focusout`&&xr()}function wr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return hr(pr)}function Tr(e,t){if(e===`click`)return hr(t)}function Er(e,t){if(e===`input`||e===`change`)return hr(t)}function Dr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Or=typeof Object.is==`function`?Object.is:Dr;function kr(e,t){if(Or(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!ke.call(t,i)||!Or(e[i],t[i]))return!1}return!0}function Ar(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function j(e,t){var n=Ar(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Ar(n)}}function jr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?jr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Mr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Wt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wt(e.document)}return t}function Nr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var Pr=_n&&`documentMode`in document&&11>=document.documentMode,Fr=null,M=null,Ir=null,Lr=!1;function Rr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Lr||Fr==null||Fr!==Wt(r)||(r=Fr,`selectionStart`in r&&Nr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ir&&kr(Ir,r)||(Ir=r,r=jd(M,`onSelect`),0<r.length&&(t=new kn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Fr)))}function zr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Br={animationend:zr(`Animation`,`AnimationEnd`),animationiteration:zr(`Animation`,`AnimationIteration`),animationstart:zr(`Animation`,`AnimationStart`),transitionrun:zr(`Transition`,`TransitionRun`),transitionstart:zr(`Transition`,`TransitionStart`),transitioncancel:zr(`Transition`,`TransitionCancel`),transitionend:zr(`Transition`,`TransitionEnd`)},Vr={},Hr={};_n&&(Hr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Br.animationend.animation,delete Br.animationiteration.animation,delete Br.animationstart.animation),`TransitionEvent`in window||delete Br.transitionend.transition);function Ur(e){if(Vr[e])return Vr[e];if(!Br[e])return e;var t=Br[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Hr)return Vr[e]=t[n];return e}var Wr=Ur(`animationend`),Gr=Ur(`animationiteration`),Kr=Ur(`animationstart`),qr=Ur(`transitionrun`),Jr=Ur(`transitionstart`),Yr=Ur(`transitioncancel`),Xr=Ur(`transitionend`),Zr=new Map,Qr=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);Qr.push(`scrollEnd`);function $r(e,t){Zr.set(e,t),jt(t,[e])}var ei=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ti=[],ni=0,ri=0;function ii(){for(var e=ni,t=ri=ni=0;t<e;){var n=ti[t];ti[t++]=null;var r=ti[t];ti[t++]=null;var i=ti[t];ti[t++]=null;var a=ti[t];if(ti[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&ci(n,i,a)}}function ai(e,t,n,r){ti[ni++]=e,ti[ni++]=t,ti[ni++]=n,ti[ni++]=r,ri|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function oi(e,t,n,r){return ai(e,t,n,r),li(e)}function si(e,t){return ai(e,null,null,t),li(e)}function ci(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Ke(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function li(e){if(50<hu)throw hu=0,gu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ui={};function di(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fi(e,t,n,r){return new di(e,t,n,r)}function pi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function mi(e,t){var n=e.alternate;return n===null?(n=fi(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function hi(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function gi(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)pi(e)&&(s=1);else if(typeof e==`string`)s=Yf(e,n,me.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case ee:return e=fi(31,n,t,a),e.elementType=ee,e.lanes=o,e;case g:return _i(n.children,a,o,t);case _:s=8,a|=24;break;case v:return e=fi(12,n,t,a|2),e.elementType=v,e.lanes=o,e;case S:return e=fi(13,n,t,a),e.elementType=S,e.lanes=o,e;case w:return e=fi(19,n,t,a),e.elementType=w,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case b:s=10;break a;case y:s=9;break a;case x:s=11;break a;case T:s=14;break a;case E:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=fi(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function _i(e,t,n,r){return e=fi(7,e,r,t),e.lanes=n,e}function vi(e,t,n){return e=fi(6,e,null,t),e.lanes=n,e}function yi(e){var t=fi(18,null,null,0);return t.stateNode=e,t}function bi(e,t,n){return t=fi(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var xi=new WeakMap;function Si(e,t){if(typeof e==`object`&&e){var n=xi.get(e);return n===void 0?(t={value:e,source:t,stack:Oe(t)},xi.set(e,t),t):n}return{value:e,source:t,stack:Oe(t)}}var Ci=[],wi=0,Ti=null,Ei=0,Di=[],Oi=0,ki=null,Ai=1,ji=``;function Mi(e,t){Ci[wi++]=Ei,Ci[wi++]=Ti,Ti=e,Ei=t}function Ni(e,t,n){Di[Oi++]=Ai,Di[Oi++]=ji,Di[Oi++]=ki,ki=e;var r=Ai;e=ji;var i=32-Ke(r)-1;r&=~(1<<i),n+=1;var a=32-Ke(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Ai=1<<32-Ke(t)+i|n<<i|r,ji=a+e}else Ai=1<<a|n<<i|r,ji=e}function Pi(e){e.return!==null&&(Mi(e,1),Ni(e,1,0))}function Fi(e){for(;e===Ti;)Ti=Ci[--wi],Ci[wi]=null,Ei=Ci[--wi],Ci[wi]=null;for(;e===ki;)ki=Di[--Oi],Di[Oi]=null,ji=Di[--Oi],Di[Oi]=null,Ai=Di[--Oi],Di[Oi]=null}function Ii(e,t){Di[Oi++]=Ai,Di[Oi++]=ji,Di[Oi++]=ki,Ai=t.id,ji=t.overflow,ki=e}var Li=null,Ri=null,zi=!1,Bi=null,Vi=!1,Hi=Error(i(519));function Ui(e){throw Yi(Si(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Hi}function Wi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[ht]=e,t[gt]=r,n){case`dialog`:wd(`cancel`,t),wd(`close`,t);break;case`iframe`:case`object`:case`embed`:wd(`load`,t);break;case`video`:case`audio`:for(n=0;n<xd.length;n++)wd(xd[n],t);break;case`source`:wd(`error`,t);break;case`img`:case`image`:case`link`:wd(`error`,t),wd(`load`,t);break;case`details`:wd(`toggle`,t);break;case`input`:wd(`invalid`,t),Jt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:wd(`invalid`,t);break;case`textarea`:wd(`invalid`,t),Qt(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Ld(t.textContent,n)?(r.popover!=null&&(wd(`beforetoggle`,t),wd(`toggle`,t)),r.onScroll!=null&&wd(`scroll`,t),r.onScrollEnd!=null&&wd(`scrollend`,t),r.onClick!=null&&(t.onclick=cn),t=!0):t=!1,t||Ui(e,!0)}function Gi(e){for(Li=e.return;Li;)switch(Li.tag){case 5:case 31:case 13:Vi=!1;return;case 27:case 3:Vi=!0;return;default:Li=Li.return}}function Ki(e){if(e!==Li)return!1;if(!zi)return Gi(e),zi=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||Yd(e.type,e.memoizedProps)),n=!n),n&&Ri&&Ui(e),Gi(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ri=gf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ri=gf(e)}else t===27?(t=Ri,rf(e.type)?(e=hf,hf=null,Ri=e):Ri=t):Ri=Li?mf(e.stateNode.nextSibling):null;return!0}function qi(){Ri=Li=null,zi=!1}function Ji(){var e=Bi;return e!==null&&(tu===null?tu=e:tu.push.apply(tu,e),Bi=null),e}function Yi(e){Bi===null?Bi=[e]:Bi.push(e)}var Xi=de(null),Zi=null,Qi=null;function $i(e,t,n){pe(Xi,t._currentValue),t._currentValue=n}function ea(e){e._currentValue=Xi.current,fe(Xi)}function ta(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function na(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),ta(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),ta(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function ra(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;Or(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===_e.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[ip]:e.push(ip))}a=a.return}e!==null&&na(t,e,n,r),t.flags|=262144}function ia(e){for(e=e.firstContext;e!==null;){if(!Or(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function aa(e){Zi=e,Qi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function oa(e){return ca(Zi,e)}function sa(e,t){return Zi===null&&aa(e),ca(e,t)}function ca(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Qi===null){if(e===null)throw Error(i(308));Qi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Qi=Qi.next=t;return n}var la=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ua=t.unstable_scheduleCallback,da=t.unstable_NormalPriority,fa={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function pa(){return{controller:new la,data:new Map,refCount:0}}function ma(e){e.refCount--,e.refCount===0&&ua(da,function(){e.controller.abort()})}var ha=null,ga=0,_a=0,va=null;function ya(e,t){if(ha===null){var n=ha=[];ga=0,_a=hd(),va={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return ga++,t.then(ba,ba),t}function ba(){if(--ga===0&&ha!==null){va!==null&&(va.status=`fulfilled`);var e=ha;ha=null,_a=0,va=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function xa(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var Sa=D.S;D.S=function(e,t){iu=Pe(),typeof t==`object`&&t&&typeof t.then==`function`&&ya(e,t),Sa!==null&&Sa(e,t)};var Ca=de(null);function wa(){var e=Ca.current;return e===null?Vl.pooledCache:e}function Ta(e,t){t===null?pe(Ca,Ca.current):pe(Ca,t.pool)}function Ea(){var e=wa();return e===null?null:{parent:fa._currentValue,pool:e}}var Da=Error(i(460)),Oa=Error(i(474)),ka=Error(i(542)),Aa={then:function(){}};function ja(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Ma(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(cn,cn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ia(e),e;default:if(typeof t.status==`string`)t.then(cn,cn);else{if(e=Vl,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ia(e),e}throw Pa=t,Da}}function Na(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Pa=e,Da):e}}var Pa=null;function Fa(){if(Pa===null)throw Error(i(459));var e=Pa;return Pa=null,e}function Ia(e){if(e===Da||e===ka)throw Error(i(483))}var La=null,Ra=0;function za(e){var t=Ra;return Ra+=1,La===null&&(La=[]),Ma(La,e,t)}function Ba(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Va(e,t){throw t.$$typeof===p?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Ha(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=mi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=vi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===g?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===E&&Na(i)===t.type)?(t=a(t,n.props),Ba(t,n),t.return=e,t):(t=gi(n.type,n.key,n.props,null,e.mode,r),Ba(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=bi(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=_i(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=vi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case m:return n=gi(t.type,t.key,t.props,null,e.mode,n),Ba(n,t),n.return=e,n;case h:return t=bi(t,e.mode,n),t.return=e,t;case E:return t=Na(t),f(e,t,n)}if(oe(t)||re(t))return t=_i(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,za(t),n);if(t.$$typeof===b)return f(e,sa(e,t),n);Va(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case m:return n.key===i?l(e,t,n,r):null;case h:return n.key===i?u(e,t,n,r):null;case E:return n=Na(n),p(e,t,n,r)}if(oe(n)||re(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,za(n),r);if(n.$$typeof===b)return p(e,t,sa(e,n),r);Va(e,n)}return null}function _(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case m:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case h:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case E:return r=Na(r),_(e,t,n,r,i)}if(oe(r)||re(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return _(e,t,n,za(r),i);if(r.$$typeof===b)return _(e,t,n,sa(t,r),i);Va(t,r)}return null}function v(i,a,s,c){for(var l=null,u=null,d=a,m=a=0,h=null;d!==null&&m<s.length;m++){d.index>m?(h=d,d=null):h=d.sibling;var g=p(i,d,s[m],c);if(g===null){d===null&&(d=h);break}e&&d&&g.alternate===null&&t(i,d),a=o(g,a,m),u===null?l=g:u.sibling=g,u=g,d=h}if(m===s.length)return n(i,d),zi&&Mi(i,m),l;if(d===null){for(;m<s.length;m++)d=f(i,s[m],c),d!==null&&(a=o(d,a,m),u===null?l=d:u.sibling=d,u=d);return zi&&Mi(i,m),l}for(d=r(d);m<s.length;m++)h=_(d,i,m,s[m],c),h!==null&&(e&&h.alternate!==null&&d.delete(h.key===null?m:h.key),a=o(h,a,m),u===null?l=h:u.sibling=h,u=h);return e&&d.forEach(function(e){return t(i,e)}),zi&&Mi(i,m),l}function y(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,m=s,h=s=0,g=null,v=c.next();m!==null&&!v.done;h++,v=c.next()){m.index>h?(g=m,m=null):g=m.sibling;var y=p(a,m,v.value,l);if(y===null){m===null&&(m=g);break}e&&m&&y.alternate===null&&t(a,m),s=o(y,s,h),d===null?u=y:d.sibling=y,d=y,m=g}if(v.done)return n(a,m),zi&&Mi(a,h),u;if(m===null){for(;!v.done;h++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,h),d===null?u=v:d.sibling=v,d=v);return zi&&Mi(a,h),u}for(m=r(m);!v.done;h++,v=c.next())v=_(m,a,h,v.value,l),v!==null&&(e&&v.alternate!==null&&m.delete(v.key===null?h:v.key),s=o(v,s,h),d===null?u=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(a,e)}),zi&&Mi(a,h),u}function x(e,r,o,c){if(typeof o==`object`&&o&&o.type===g&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case m:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===g){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===E&&Na(l)===r.type){n(e,r.sibling),c=a(r,o.props),Ba(c,o),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}o.type===g?(c=_i(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=gi(o.type,o.key,o.props,null,e.mode,c),Ba(c,o),c.return=e,e=c)}return s(e);case h:a:{for(l=o.key;r!==null;){if(r.key===l){if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}n(e,r);break}t(e,r),r=r.sibling}c=bi(o,e.mode,c),c.return=e,e=c}return s(e);case E:return o=Na(o),x(e,r,o,c)}if(oe(o))return v(e,r,o,c);if(re(o)){if(l=re(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return x(e,r,za(o),c);if(o.$$typeof===b)return x(e,r,sa(e,o),c);Va(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=vi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Ra=0;var i=x(e,t,n,r);return La=null,i}catch(t){if(t===Da||t===ka)throw t;var a=fi(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Ua=Ha(!0),Wa=Ha(!1),Ga=!1;function Ka(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function qa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ja(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ya(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Bl&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=li(e),ci(e,null,n),t}return ai(e,r,t,n),li(e)}function Xa(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ct(e,n)}}function Za(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n}else e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Qa=!1;function $a(){if(Qa){var e=va;if(e!==null)throw e}}function eo(e,t,n,r){Qa=!1;var i=e.updateQueue;Ga=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var p=s.lane&-536870913,m=p!==s.lane;if(m?(W&p)===p:(r&p)===p){p!==0&&p===_a&&(Qa=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;p=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,p);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,p=typeof h==`function`?h.call(_,d,p):h,p==null)break a;d=f({},d,p);break a;case 2:Ga=!0}}p=s.callback,p!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[p]:m.push(p))}else m={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Yl|=o,e.lanes=o,e.memoizedState=d}}function to(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function no(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)to(n[e],t)}var ro=de(null),io=de(0);function ao(e,t){e=ql,pe(io,e),pe(ro,t),ql=e|t.baseLanes}function oo(){pe(io,ql),pe(ro,ro.current)}function so(){ql=io.current,fe(ro),fe(io)}var N=de(null),P=null;function co(e){var t=e.alternate;pe(po,po.current&1),pe(N,e),P===null&&(t===null||ro.current!==null||t.memoizedState!==null)&&(P=e)}function lo(e){pe(po,po.current),pe(N,e),P===null&&(P=e)}function F(e){e.tag===22?(pe(po,po.current),pe(N,e),P===null&&(P=e)):uo(e)}function uo(){pe(po,po.current),pe(N,N.current)}function fo(e){fe(N),P===e&&(P=null),fe(po)}var po=de(0);function mo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||df(n)||ff(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ho=0,go=null,_o=null,I=null,vo=!1,L=!1,yo=!1,bo=0,xo=0,So=null,Co=0;function wo(){throw Error(i(321))}function To(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Or(e[n],t[n]))return!1;return!0}function Eo(e,t,n,r,i,a){return ho=a,go=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,D.H=e===null||e.memoizedState===null?Us:Ws,yo=!1,a=n(r,i),yo=!1,L&&(a=Oo(t,n,r,i)),Do(e),a}function Do(e){D.H=Hs;var t=_o!==null&&_o.next!==null;if(ho=0,I=_o=go=null,vo=!1,xo=0,So=null,t)throw Error(i(300));e===null||sc||(e=e.dependencies,e!==null&&ia(e)&&(sc=!0))}function Oo(e,t,n,r){go=e;var a=0;do{if(L&&(So=null),xo=0,L=!1,25<=a)throw Error(i(301));if(a+=1,I=_o=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}D.H=Gs,o=t(n,r)}while(L);return o}function ko(){var e=D.H,t=e.useState()[0];return t=typeof t.then==`function`?Io(t):t,e=e.useState()[0],(_o===null?null:_o.memoizedState)!==e&&(go.flags|=1024),t}function Ao(){var e=bo!==0;return bo=0,e}function jo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Mo(e){if(vo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}vo=!1}ho=0,I=_o=go=null,L=!1,xo=bo=0,So=null}function No(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return I===null?go.memoizedState=I=e:I=I.next=e,I}function Po(){if(_o===null){var e=go.alternate;e=e===null?null:e.memoizedState}else e=_o.next;var t=I===null?go.memoizedState:I.next;if(t!==null)I=t,_o=e;else{if(e===null)throw go.alternate===null?Error(i(467)):Error(i(310));_o=e,e={memoizedState:_o.memoizedState,baseState:_o.baseState,baseQueue:_o.baseQueue,queue:_o.queue,next:null},I===null?go.memoizedState=I=e:I=I.next=e}return I}function Fo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Io(e){var t=xo;return xo+=1,So===null&&(So=[]),e=Ma(So,e,t),t=go,(I===null?t.memoizedState:I.next)===null&&(t=t.alternate,D.H=t===null||t.memoizedState===null?Us:Ws),e}function Lo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Io(e);if(e.$$typeof===b)return oa(e)}throw Error(i(438,String(e)))}function Ro(e){var t=null,n=go.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=go.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Fo(),go.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=te;return t.index++,n}function zo(e,t){return typeof t==`function`?t(e):t}function Bo(e){return Vo(Po(),_o,e)}function Vo(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(ho&f)===f:(W&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===_a&&(d=!0);else if((ho&p)===p){u=u.next,p===_a&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,go.lanes|=p,Yl|=p;f=u.action,yo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,go.lanes|=f,Yl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Or(o,e.memoizedState)&&(sc=!0,d&&(n=va,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ho(e){var t=Po(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Or(o,t.memoizedState)||(sc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Uo(e,t,n){var r=go,a=Po(),o=zi;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Or((_o||a).memoizedState,n);if(s&&(a.memoizedState=n,sc=!0),a=a.queue,ms(Ko.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||I!==null&&I.memoizedState.tag&1){if(r.flags|=2048,ls(9,{destroy:void 0},Go.bind(null,r,a,n,t),null),Vl===null)throw Error(i(349));o||ho&127||Wo(r,t,n)}return n}function Wo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=go.updateQueue,t===null?(t=Fo(),go.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Go(e,t,n,r){t.value=n,t.getSnapshot=r,qo(t)&&Jo(e)}function Ko(e,t,n){return n(function(){qo(t)&&Jo(e)})}function qo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Or(e,n)}catch{return!0}}function Jo(e){var t=si(e,2);t!==null&&yu(t,e,2)}function Yo(e){var t=No();if(typeof e==`function`){var n=e;if(e=n(),yo){Ge(!0);try{n()}finally{Ge(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:e},t}function Xo(e,t,n,r){return e.baseState=n,Vo(e,_o,typeof r==`function`?r:zo)}function Zo(e,t,n,r,a){if(zs(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};D.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Qo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Qo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=D.T,o={};D.T=o;try{var s=n(i,r),c=D.S;c!==null&&c(o,s),$o(e,t,s)}catch(n){ts(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),D.T=a}}else try{a=n(i,r),$o(e,t,a)}catch(n){ts(e,t,n)}}function $o(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){es(e,t,n)},function(n){return ts(e,t,n)}):es(e,t,n)}function es(e,t,n){t.status=`fulfilled`,t.value=n,ns(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Qo(e,n)))}function ts(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,ns(t),t=t.next;while(t!==r)}e.action=null}function ns(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function rs(e,t){return t}function is(e,t){if(zi){var n=Vl.formState;if(n!==null){a:{var r=go;if(zi){if(Ri){b:{for(var i=Ri,a=Vi;i.nodeType!==8;)if(!a||(i=mf(i.nextSibling),i===null)){i=null;break b}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Ri=mf(i.nextSibling),r=i.data===`F!`;break a}}Ui(r)}r=!1}r&&(t=n[0])}}return n=No(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rs,lastRenderedState:t},n.queue=r,n=Is.bind(null,go,r),r.dispatch=n,r=Yo(!1),a=Rs.bind(null,go,!1,r.queue),r=No(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Zo.bind(null,go,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function as(e){return os(Po(),_o,e)}function os(e,t,n){if(t=Vo(e,t,rs)[0],e=Bo(zo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Io(t)}catch(e){throw e===Da?ka:e}else r=t;t=Po();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(go.flags|=2048,ls(9,{destroy:void 0},ss.bind(null,i,n),null)),[r,a,e]}function ss(e,t){e.action=t}function cs(e){var t=Po(),n=_o;if(n!==null)return os(t,n,e);Po(),t=t.memoizedState,n=Po();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ls(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=go.updateQueue,t===null&&(t=Fo(),go.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function us(){return Po().memoizedState}function ds(e,t,n,r){var i=No();go.flags|=e,i.memoizedState=ls(1|t,{destroy:void 0},n,r===void 0?null:r)}function fs(e,t,n,r){var i=Po();r=r===void 0?null:r;var a=i.memoizedState.inst;_o!==null&&r!==null&&To(r,_o.memoizedState.deps)?i.memoizedState=ls(t,a,n,r):(go.flags|=e,i.memoizedState=ls(1|t,a,n,r))}function ps(e,t){ds(8390656,8,e,t)}function ms(e,t){fs(2048,8,e,t)}function hs(e){go.flags|=4;var t=go.updateQueue;if(t===null)t=Fo(),go.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function gs(e){var t=Po().memoizedState;return hs({ref:t,nextImpl:e}),function(){if(Bl&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function _s(e,t){return fs(4,2,e,t)}function vs(e,t){return fs(4,4,e,t)}function ys(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function bs(e,t,n){n=n==null?null:n.concat([e]),fs(4,4,ys.bind(null,t,e),n)}function xs(){}function Ss(e,t){var n=Po();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&To(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Cs(e,t){var n=Po();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&To(t,r[1]))return r[0];if(r=e(),yo){Ge(!0);try{e()}finally{Ge(!1)}}return n.memoizedState=[r,t],r}function ws(e,t,n){return n===void 0||ho&1073741824&&!(W&261930)?e.memoizedState=t:(e.memoizedState=n,e=vu(),go.lanes|=e,Yl|=e,n)}function Ts(e,t,n,r){return Or(n,t)?n:ro.current===null?!(ho&42)||ho&1073741824&&!(W&261930)?(sc=!0,e.memoizedState=n):(e=vu(),go.lanes|=e,Yl|=e,t):(e=ws(e,n,r),Or(e,t)||(sc=!0),e)}function Es(e,t,n,r,i){var a=se.p;se.p=a!==0&&8>a?a:8;var o=D.T,s={};D.T=s,Rs(e,!1,t,n);try{var c=i(),l=D.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ls(e,t,xa(c,r),_u(e)):Ls(e,t,r,_u(e))}catch(n){Ls(e,t,{then:function(){},status:`rejected`,reason:n},_u())}finally{se.p=a,o!==null&&s.types!==null&&(o.types=s.types),D.T=o}}function Ds(){}function Os(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=ks(e).queue;Es(e,a,t,ce,n===null?Ds:function(){return As(e),n(r)})}function ks(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ce,baseState:ce,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:ce},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function As(e){var t=ks(e);t.next===null&&(t=e.alternate.memoizedState),Ls(e,t.next.queue,{},_u())}function js(){return oa(ip)}function Ms(){return Po().memoizedState}function Ns(){return Po().memoizedState}function Ps(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=_u();e=Ja(n);var r=Ya(t,e,n);r!==null&&(yu(r,t,n),Xa(r,t,n)),t={cache:pa()},e.payload=t;return}t=t.return}}function Fs(e,t,n){var r=_u();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},zs(e)?Bs(t,n):(n=oi(e,t,n,r),n!==null&&(yu(n,e,r),Vs(n,t,r)))}function Is(e,t,n){Ls(e,t,n,_u())}function Ls(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(zs(e))Bs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Or(s,o))return ai(e,t,i,0),Vl===null&&ii(),!1}catch{}if(n=oi(e,t,i,r),n!==null)return yu(n,e,r),Vs(n,t,r),!0}return!1}function Rs(e,t,n,r){if(r={lane:2,revertLane:hd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},zs(e)){if(t)throw Error(i(479))}else t=oi(e,n,r,2),t!==null&&yu(t,e,2)}function zs(e){var t=e.alternate;return e===go||t!==null&&t===go}function Bs(e,t){L=vo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Vs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ct(e,n)}}var Hs={readContext:oa,use:Lo,useCallback:wo,useContext:wo,useEffect:wo,useImperativeHandle:wo,useLayoutEffect:wo,useInsertionEffect:wo,useMemo:wo,useReducer:wo,useRef:wo,useState:wo,useDebugValue:wo,useDeferredValue:wo,useTransition:wo,useSyncExternalStore:wo,useId:wo,useHostTransitionStatus:wo,useFormState:wo,useActionState:wo,useOptimistic:wo,useMemoCache:wo,useCacheRefresh:wo};Hs.useEffectEvent=wo;var Us={readContext:oa,use:Lo,useCallback:function(e,t){return No().memoizedState=[e,t===void 0?null:t],e},useContext:oa,useEffect:ps,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),ds(4194308,4,ys.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ds(4194308,4,e,t)},useInsertionEffect:function(e,t){ds(4,2,e,t)},useMemo:function(e,t){var n=No();t=t===void 0?null:t;var r=e();if(yo){Ge(!0);try{e()}finally{Ge(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=No();if(n!==void 0){var i=n(t);if(yo){Ge(!0);try{n(t)}finally{Ge(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Fs.bind(null,go,e),[r.memoizedState,e]},useRef:function(e){var t=No();return e={current:e},t.memoizedState=e},useState:function(e){e=Yo(e);var t=e.queue,n=Is.bind(null,go,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:xs,useDeferredValue:function(e,t){return ws(No(),e,t)},useTransition:function(){var e=Yo(!1);return e=Es.bind(null,go,e.queue,!0,!1),No().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=go,a=No();if(zi){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Vl===null)throw Error(i(349));W&127||Wo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,ps(Ko.bind(null,r,o,e),[e]),r.flags|=2048,ls(9,{destroy:void 0},Go.bind(null,r,o,n,t),null),n},useId:function(){var e=No(),t=Vl.identifierPrefix;if(zi){var n=ji,r=Ai;n=(r&~(1<<32-Ke(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=bo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Co++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:js,useFormState:is,useActionState:is,useOptimistic:function(e){var t=No();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Rs.bind(null,go,!0,n),n.dispatch=t,[e,t]},useMemoCache:Ro,useCacheRefresh:function(){return No().memoizedState=Ps.bind(null,go)},useEffectEvent:function(e){var t=No(),n={impl:e};return t.memoizedState=n,function(){if(Bl&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Ws={readContext:oa,use:Lo,useCallback:Ss,useContext:oa,useEffect:ms,useImperativeHandle:bs,useInsertionEffect:_s,useLayoutEffect:vs,useMemo:Cs,useReducer:Bo,useRef:us,useState:function(){return Bo(zo)},useDebugValue:xs,useDeferredValue:function(e,t){return Ts(Po(),_o.memoizedState,e,t)},useTransition:function(){var e=Bo(zo)[0],t=Po().memoizedState;return[typeof e==`boolean`?e:Io(e),t]},useSyncExternalStore:Uo,useId:Ms,useHostTransitionStatus:js,useFormState:as,useActionState:as,useOptimistic:function(e,t){return Xo(Po(),_o,e,t)},useMemoCache:Ro,useCacheRefresh:Ns};Ws.useEffectEvent=gs;var Gs={readContext:oa,use:Lo,useCallback:Ss,useContext:oa,useEffect:ms,useImperativeHandle:bs,useInsertionEffect:_s,useLayoutEffect:vs,useMemo:Cs,useReducer:Ho,useRef:us,useState:function(){return Ho(zo)},useDebugValue:xs,useDeferredValue:function(e,t){var n=Po();return _o===null?ws(n,e,t):Ts(n,_o.memoizedState,e,t)},useTransition:function(){var e=Ho(zo)[0],t=Po().memoizedState;return[typeof e==`boolean`?e:Io(e),t]},useSyncExternalStore:Uo,useId:Ms,useHostTransitionStatus:js,useFormState:cs,useActionState:cs,useOptimistic:function(e,t){var n=Po();return _o===null?(n.baseState=e,[e,n.queue.dispatch]):Xo(n,_o,e,t)},useMemoCache:Ro,useCacheRefresh:Ns};Gs.useEffectEvent=gs;function Ks(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:f({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var qs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=_u(),i=Ja(r);i.payload=t,n!=null&&(i.callback=n),t=Ya(e,i,r),t!==null&&(yu(t,e,r),Xa(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=_u(),i=Ja(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ya(e,i,r),t!==null&&(yu(t,e,r),Xa(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=_u(),r=Ja(n);r.tag=2,t!=null&&(r.callback=t),t=Ya(e,r,n),t!==null&&(yu(t,e,n),Xa(t,e,n))}};function Js(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!kr(n,r)||!kr(i,a):!0}function Ys(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&qs.enqueueReplaceState(t,t.state,null)}function Xs(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=f({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Zs(e){ei(e)}function Qs(e){console.error(e)}function $s(e){ei(e)}function ec(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function tc(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function nc(e,t,n){return n=Ja(n),n.tag=3,n.payload={element:null},n.callback=function(){ec(e,t)},n}function rc(e){return e=Ja(e),e.tag=3,e}function ic(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){tc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){tc(t,n,r),typeof i!=`function`&&(su===null?su=new Set([this]):su.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function ac(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&ra(t,n,a,!0),n=N.current,n!==null){switch(n.tag){case 31:case 13:return P===null?Au():n.alternate===null&&Jl===0&&(Jl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Aa?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Yu(e,r,a)),!1;case 22:return n.flags|=65536,r===Aa?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Yu(e,r,a)),!1}throw Error(i(435,n.tag))}return Yu(e,r,a),Au(),!1}if(zi)return t=N.current,t===null?(r!==Hi&&(t=Error(i(423),{cause:r}),Yi(Si(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Si(r,n),a=nc(e.stateNode,r,a),Za(e,a),Jl!==4&&(Jl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Hi&&(e=Error(i(422),{cause:r}),Yi(Si(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Si(o,n),eu===null?eu=[o]:eu.push(o),Jl!==4&&(Jl=2),t===null)return!0;r=Si(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=nc(n.stateNode,r,e),Za(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(su===null||!su.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=rc(a),ic(a,e,n,r),Za(n,a),!1}n=n.return}while(n!==null);return!1}var oc=Error(i(461)),sc=!1;function cc(e,t,n,r){t.child=e===null?Wa(t,null,n,r):Ua(t,e.child,n,r)}function lc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return aa(t),r=Eo(e,t,n,o,a,i),s=Ao(),e!==null&&!sc?(jo(e,t,i),Mc(e,t,i)):(zi&&s&&Pi(t),t.flags|=1,cc(e,t,r,i),t.child)}function uc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!pi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,dc(e,t,a,r,i)):(e=gi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Nc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?kr:n,n(o,r)&&e.ref===t.ref)return Mc(e,t,i)}return t.flags|=1,e=mi(a,r),e.ref=t.ref,e.return=t,t.child=e}function dc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(kr(a,r)&&e.ref===t.ref){if(sc=!1,t.pendingProps=r=a,Nc(e,i))e.flags&131072&&(sc=!0);else return t.lanes=e.lanes,Mc(e,t,i)}}return yc(e,t,n,r,i)}function fc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return mc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ta(t,a===null?null:a.cachePool),a===null?oo():ao(t,a),F(t);else return r=t.lanes=536870912,mc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Ta(t,null),oo(),uo(t)):(Ta(t,a.cachePool),ao(t,a),uo(t),t.memoizedState=null);return cc(e,t,i,n),t.child}function pc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function mc(e,t,n,r,i){var a=wa();return a=a===null?null:{parent:fa._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Ta(t,null),oo(),F(t),e!==null&&ra(e,t,r,!0),t.childLanes=i,null}function hc(e,t){return t=Dc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function gc(e,t,n){return Ua(t,e.child,null,n),e=hc(t,t.pendingProps),e.flags|=2,fo(t),t.memoizedState=null,e}function _c(e,t,n){var r=t.pendingProps,a=!!(t.flags&128);if(t.flags&=-129,e===null){if(zi){if(r.mode===`hidden`)return e=hc(t,r),t.lanes=536870912,pc(null,e);if(lo(t),(e=Ri)?(e=uf(e,Vi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ki===null?null:{id:Ai,overflow:ji},retryLane:536870912,hydrationErrors:null},n=yi(e),n.return=t,t.child=n,Li=t,Ri=null)):e=null,e===null)throw Ui(t);return t.lanes=536870912,null}return hc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(lo(t),a){if(t.flags&256)t.flags&=-257,t=gc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558))}else if(sc||ra(e,t,n,!1),a=(n&e.childLanes)!==0,sc||a){if(r=Vl,r!==null&&(s=lt(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,si(e,s),yu(r,e,s),oc;Au(),t=gc(e,t,n)}else e=o.treeContext,Ri=mf(s.nextSibling),Li=t,zi=!0,Bi=null,Vi=!1,e!==null&&Ii(t,e),t=hc(t,r),t.flags|=4096;return t}return e=mi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function vc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function yc(e,t,n,r,i){return aa(t),n=Eo(e,t,n,r,void 0,i),r=Ao(),e!==null&&!sc?(jo(e,t,i),Mc(e,t,i)):(zi&&r&&Pi(t),t.flags|=1,cc(e,t,n,i),t.child)}function R(e,t,n,r,i,a){return aa(t),t.updateQueue=null,n=Oo(t,r,n,i),Do(e),r=Ao(),e!==null&&!sc?(jo(e,t,a),Mc(e,t,a)):(zi&&r&&Pi(t),t.flags|=1,cc(e,t,n,a),t.child)}function bc(e,t,n,r,i){if(aa(t),t.stateNode===null){var a=ui,o=n.contextType;typeof o==`object`&&o&&(a=oa(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=qs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ka(t),o=n.contextType,a.context=typeof o==`object`&&o?oa(o):ui,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Ks(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&qs.enqueueReplaceState(a,a.state,null),eo(t,r,a,i),$a(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Xs(n,s);a.props=c;var l=a.context,u=n.contextType;o=ui,typeof u==`object`&&u&&(o=oa(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Ys(t,a,r,o),Ga=!1;var f=t.memoizedState;a.state=f,eo(t,r,a,i),$a(),l=t.memoizedState,s||f!==l||Ga?(typeof d==`function`&&(Ks(t,n,d,r),l=t.memoizedState),(c=Ga||Js(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,qa(e,t),o=t.memoizedProps,u=Xs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=ui,typeof l==`object`&&l&&(c=oa(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Ys(t,a,r,c),Ga=!1,f=t.memoizedState,a.state=f,eo(t,r,a,i),$a();var p=t.memoizedState;o!==d||f!==p||Ga||e!==null&&e.dependencies!==null&&ia(e.dependencies)?(typeof s==`function`&&(Ks(t,n,s,r),p=t.memoizedState),(u=Ga||Js(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&ia(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,vc(e,t),r=!!(t.flags&128),a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Ua(t,e.child,null,i),t.child=Ua(t,null,n,i)):cc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Mc(e,t,i),e}function xc(e,t,n,r){return qi(),t.flags|=256,cc(e,t,n,r),t.child}var Sc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Cc(e){return{baseLanes:e,cachePool:Ea()}}function wc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Ql),e}function Tc(e,t,n){var r=t.pendingProps,a=!1,o=!!(t.flags&128),s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:!!(po.current&2)),s&&(a=!0,t.flags&=-129),s=!!(t.flags&32),t.flags&=-33,e===null){if(zi){if(a?co(t):uo(t),(e=Ri)?(e=uf(e,Vi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ki===null?null:{id:Ai,overflow:ji},retryLane:536870912,hydrationErrors:null},n=yi(e),n.return=t,t.child=n,Li=t,Ri=null)):e=null,e===null)throw Ui(t);return ff(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(uo(t),a=t.mode,c=Dc({mode:`hidden`,children:c},a),r=_i(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=Cc(n),r.childLanes=wc(e,s,n),t.memoizedState=Sc,pc(null,r)):(co(t),Ec(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(co(t),t.flags&=-257,t=Oc(e,t,n)):t.memoizedState===null?(uo(t),c=r.fallback,a=t.mode,r=Dc({mode:`visible`,children:r.children},a),c=_i(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Ua(t,e.child,null,n),r=t.child,r.memoizedState=Cc(n),r.childLanes=wc(e,s,n),t.memoizedState=Sc,t=pc(null,r)):(uo(t),t.child=e.child,t.flags|=128,t=null);else if(co(t),ff(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Yi({value:r,source:null,stack:null}),t=Oc(e,t,n)}else if(sc||ra(e,t,n,!1),s=(n&e.childLanes)!==0,sc||s){if(s=Vl,s!==null&&(r=lt(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,si(e,r),yu(s,e,r),oc;df(c)||Au(),t=Oc(e,t,n)}else df(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Ri=mf(c.nextSibling),Li=t,zi=!0,Bi=null,Vi=!1,e!==null&&Ii(t,e),t=Ec(t,r.children),t.flags|=4096);return t}return a?(uo(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=mi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=_i(c,a,n,null),c.flags|=2):c=mi(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,pc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=Cc(n):(a=c.cachePool,a===null?a=Ea():(l=fa._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=wc(e,s,n),t.memoizedState=Sc,pc(e.child,r)):(co(t),n=e.child,e=n.sibling,n=mi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function Ec(e,t){return t=Dc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Dc(e,t){return e=fi(22,e,null,t),e.lanes=0,e}function Oc(e,t,n){return Ua(t,e.child,null,n),e=Ec(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function kc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ta(e.return,t,n)}function Ac(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function jc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=po.current,s=!!(o&2);if(s?(o=o&1|2,t.flags|=128):o&=1,pe(po,o),cc(e,t,r,n),r=zi?Ei:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&kc(e,n,t);else if(e.tag===19)kc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&mo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ac(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&mo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ac(t,!0,n,null,a,r);break;case`together`:Ac(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Mc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Yl|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(ra(e,t,n,!1),(n&t.childLanes)===0)return null}else return null}if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=mi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=mi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Nc(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&ia(e)))}function Pc(e,t,n){switch(t.tag){case 3:ve(t,t.stateNode.containerInfo),$i(t,fa,e.memoizedState.cache),qi();break;case 27:case 5:be(t);break;case 4:ve(t,t.stateNode.containerInfo);break;case 10:$i(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,lo(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(co(t),e=Mc(e,t,n),e===null?null:e.sibling):Tc(e,t,n):(co(t),t.flags|=128,null);co(t);break;case 19:var i=!!(e.flags&128);if(r=(n&t.childLanes)!==0,r||=(ra(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return jc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),pe(po,po.current),r)break;return null;case 22:return t.lanes=0,fc(e,t,n,t.pendingProps);case 24:$i(t,fa,e.memoizedState.cache)}return Mc(e,t,n)}function z(e,t,n){if(e!==null){if(e.memoizedProps!==t.pendingProps)sc=!0;else{if(!Nc(e,n)&&!(t.flags&128))return sc=!1,Pc(e,t,n);sc=!!(e.flags&131072)}}else sc=!1,zi&&t.flags&1048576&&Ni(t,Ei,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Na(t.elementType),t.type=e,typeof e==`function`)pi(e)?(r=Xs(e,r),t.tag=1,t=bc(null,t,e,r,n)):(t.tag=0,t=yc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===x){t.tag=11,t=lc(null,t,e,r,n);break a}if(a===T){t.tag=14,t=uc(null,t,e,r,n);break a}}throw t=ae(e)||e,Error(i(306,t,``))}}return t;case 0:return yc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Xs(r,t.pendingProps),bc(e,t,r,a,n);case 3:a:{if(ve(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,qa(e,t),eo(t,r,null,n);var s=t.memoizedState;if(r=s.cache,$i(t,fa,r),r!==o.cache&&na(t,[fa],n,!0),$a(),r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=xc(e,t,r,n);break a}if(r!==a){a=Si(Error(i(424)),t),Yi(a),t=xc(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Ri=mf(e.firstChild),Li=t,zi=!0,Bi=null,Vi=!0,n=Wa(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(qi(),r===a){t=Mc(e,t,n);break a}cc(e,t,r,n)}t=t.child}return t;case 26:return vc(e,t),e===null?(n=Ff(t.type,null,t.pendingProps,null))?t.memoizedState=n:zi||(n=t.type,e=t.pendingProps,r=Kd(ge.current).createElement(n),r[ht]=t,r[gt]=e,Bd(r,n,e),Ot(r),t.stateNode=r):t.memoizedState=Ff(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return be(t),e===null&&zi&&(r=t.stateNode=vf(t.type,t.pendingProps,ge.current),Li=t,Vi=!0,a=Ri,rf(t.type)?(hf=a,Ri=mf(r.firstChild)):Ri=a),cc(e,t,t.pendingProps.children,n),vc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&zi&&((a=r=Ri)&&(r=cf(r,t.type,t.pendingProps,Vi),r===null?a=!1:(t.stateNode=r,Li=t,Ri=mf(r.firstChild),Vi=!1,a=!0)),a||Ui(t)),be(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Yd(a,o)?r=null:s!==null&&Yd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Eo(e,t,ko,null,null,n),ip._currentValue=a),vc(e,t),cc(e,t,r,n),t.child;case 6:return e===null&&zi&&((e=n=Ri)&&(n=lf(n,t.pendingProps,Vi),n===null?e=!1:(t.stateNode=n,Li=t,Ri=null,e=!0)),e||Ui(t)),null;case 13:return Tc(e,t,n);case 4:return ve(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ua(t,null,r,n):cc(e,t,r,n),t.child;case 11:return lc(e,t,t.type,t.pendingProps,n);case 7:return cc(e,t,t.pendingProps,n),t.child;case 8:return cc(e,t,t.pendingProps.children,n),t.child;case 12:return cc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,$i(t,t.type,r.value),cc(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,aa(t),a=oa(a),r=r(a),t.flags|=1,cc(e,t,r,n),t.child;case 14:return uc(e,t,t.type,t.pendingProps,n);case 15:return dc(e,t,t.type,t.pendingProps,n);case 19:return jc(e,t,n);case 31:return _c(e,t,n);case 22:return fc(e,t,n,t.pendingProps);case 24:return aa(t),r=oa(fa),e===null?(a=wa(),a===null&&(a=Vl,o=pa(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ka(t),$i(t,fa,a)):((e.lanes&n)!==0&&(qa(e,t),eo(t,null,null,n),$a()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,$i(t,fa,r),r!==a.cache&&na(t,[fa],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),$i(t,fa,r))),cc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Fc(e){e.flags|=4}function Ic(e,t,n,r,i){if((t=!!(e.mode&32))&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(Ou())e.flags|=8192;else throw Pa=Aa,Oa}}else e.flags&=-16777217}function Lc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Xf(t)){if(Ou())e.flags|=8192;else throw Pa=Aa,Oa}}function Rc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:rt(),e.lanes|=t,$l|=t)}function zc(e,t){if(!zi)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Bc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Vc(e,t,n){var r=t.pendingProps;switch(Fi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bc(t),null;case 1:return Bc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ea(fa),ye(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ki(t)?Fc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ji())),Bc(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Fc(t),o===null?(Bc(t),Ic(t,a,null,r,n)):(Bc(t),Lc(t,o))):o?o===e.memoizedState?(Bc(t),t.flags&=-16777217):(Fc(t),Bc(t),Lc(t,o)):(e=e.memoizedProps,e!==r&&Fc(t),Bc(t),Ic(t,a,e,r,n)),null;case 27:if(xe(t),n=ge.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Fc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Bc(t),null}e=me.current,Ki(t)?Wi(t,e):(e=vf(a,r,n),t.stateNode=e,Fc(t))}return Bc(t),null;case 5:if(xe(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Fc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Bc(t),null}if(o=me.current,Ki(t))Wi(t,o);else{var s=Kd(ge.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[ht]=t,o[gt]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Bd(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Fc(t)}}return Bc(t),Ic(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Fc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=ge.current,Ki(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Li,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[ht]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Ld(e.nodeValue,n)),e||Ui(t,!0)}else e=Kd(e).createTextNode(r),e[ht]=t,t.stateNode=e}return Bc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ki(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[ht]=t}else qi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Bc(t),e=!1}else n=Ji(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(fo(t),t):(fo(t),null);if(t.flags&128)throw Error(i(558))}return Bc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Ki(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[ht]=t}else qi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Bc(t),a=!1}else a=Ji(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(fo(t),t):(fo(t),null)}return fo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Rc(t,t.updateQueue),Bc(t),null);case 4:return ye(),e===null&&Dd(t.stateNode.containerInfo),Bc(t),null;case 10:return ea(t.type),Bc(t),null;case 19:if(fe(po),r=t.memoizedState,r===null)return Bc(t),null;if(a=!!(t.flags&128),o=r.rendering,o===null){if(a)zc(r,!1);else{if(Jl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=mo(e),o!==null){for(t.flags|=128,zc(r,!1),e=o.updateQueue,t.updateQueue=e,Rc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)hi(n,e),n=n.sibling;return pe(po,po.current&1|2),zi&&Mi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Pe()>au&&(t.flags|=128,a=!0,zc(r,!1),t.lanes=4194304)}}else{if(!a){if(e=mo(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Rc(t,e),zc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!zi)return Bc(t),null}else 2*Pe()-r.renderingStartTime>au&&n!==536870912&&(t.flags|=128,a=!0,zc(r,!1),t.lanes=4194304)}r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Bc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Pe(),e.sibling=null,n=po.current,pe(po,a?n&1|2:n&1),zi&&Mi(t,r.treeForkCount),e);case 22:case 23:return fo(t),so(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Bc(t),t.subtreeFlags&6&&(t.flags|=8192)):Bc(t),n=t.updateQueue,n!==null&&Rc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&fe(Ca),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ea(fa),Bc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Hc(e,t){switch(Fi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ea(fa),ye(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return xe(t),null;case 31:if(t.memoizedState!==null){if(fo(t),t.alternate===null)throw Error(i(340));qi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(fo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));qi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fe(po),null;case 4:return ye(),null;case 10:return ea(t.type),null;case 22:case 23:return fo(t),so(),e!==null&&fe(Ca),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ea(fa),null;case 25:return null;default:return null}}function Uc(e,t){switch(Fi(t),t.tag){case 3:ea(fa),ye();break;case 26:case 27:case 5:xe(t);break;case 4:ye();break;case 31:t.memoizedState!==null&&fo(t);break;case 13:fo(t);break;case 19:fe(po);break;case 10:ea(t.type);break;case 22:case 23:fo(t),so(),e!==null&&fe(Ca);break;case 24:ea(fa)}}function Wc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Ju(t,t.return,e)}}function Gc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Ju(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Ju(t,t.return,e)}}function Kc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{no(t,n)}catch(t){Ju(e,e.return,t)}}}function qc(e,t,n){n.props=Xs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Ju(e,t,n)}}function Jc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Ju(e,t,n)}}function Yc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{r()}catch(n){Ju(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Ju(e,t,n)}else n.current=null}}function Xc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Ju(e,e.return,t)}}function Zc(e,t,n){try{var r=e.stateNode;Vd(r,e.type,n,t),r[gt]=t}catch(t){Ju(e,e.return,t)}}function Qc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&rf(e.type)||e.tag===4}function $c(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Qc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&rf(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function el(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=cn));else if(r!==4&&(r===27&&rf(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(el(e,t,n),e=e.sibling;e!==null;)el(e,t,n),e=e.sibling}function tl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&rf(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(tl(e,t,n),e=e.sibling;e!==null;)tl(e,t,n),e=e.sibling}function nl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Bd(t,r,n),t[ht]=e,t[gt]=n}catch(t){Ju(e,e.return,t)}}var rl=!1,il=!1,al=!1,B=typeof WeakSet==`function`?WeakSet:Set,ol=null;function sl(e,t){if(e=e.containerInfo,Wd=pp,e=Mr(e),Nr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Gd={focusedElem:e,selectionRange:n},pp=!1,ol=t;ol!==null;)if(t=ol,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,ol=e;else for(;ol!==null;){switch(t=ol,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Xs(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Ju(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)sf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:sf(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,ol=e;break}ol=t.return}}function cl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:xl(e,n),r&4&&Wc(5,n);break;case 1:if(xl(e,n),r&4){if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Ju(n,n.return,e)}else{var i=Xs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Ju(n,n.return,e)}}}r&64&&Kc(n),r&512&&Jc(n,n.return);break;case 3:if(xl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{no(e,t)}catch(e){Ju(n,n.return,e)}}break;case 27:t===null&&r&4&&nl(n);case 26:case 5:xl(e,n),t===null&&r&4&&Xc(n),r&512&&Jc(n,n.return);break;case 12:xl(e,n);break;case 31:xl(e,n),r&4&&pl(e,n);break;case 13:xl(e,n),r&4&&ml(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Qu.bind(null,n),pf(e,n))));break;case 22:if(r=n.memoizedState!==null||rl,!r){t=t!==null&&t.memoizedState!==null||il,i=rl;var a=il;rl=r,(il=t)&&!a?Cl(e,n,!!(n.subtreeFlags&8772)):xl(e,n),rl=i,il=a}break;case 30:break;default:xl(e,n)}}function ll(e){var t=e.alternate;t!==null&&(e.alternate=null,ll(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ct(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ul=null,dl=!1;function V(e,t,n){for(n=n.child;n!==null;)fl(e,t,n),n=n.sibling}function fl(e,t,n){if(We&&typeof We.onCommitFiberUnmount==`function`)try{We.onCommitFiberUnmount(Ue,n)}catch{}switch(n.tag){case 26:il||Yc(n,t),V(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:il||Yc(n,t);var r=ul,i=dl;rf(n.type)&&(ul=n.stateNode,dl=!1),V(e,t,n),yf(n.stateNode),ul=r,dl=i;break;case 5:il||Yc(n,t);case 6:if(r=ul,i=dl,ul=null,V(e,t,n),ul=r,dl=i,ul!==null){if(dl)try{(ul.nodeType===9?ul.body:ul.nodeName===`HTML`?ul.ownerDocument.body:ul).removeChild(n.stateNode)}catch(e){Ju(n,t,e)}else try{ul.removeChild(n.stateNode)}catch(e){Ju(n,t,e)}}break;case 18:ul!==null&&(dl?(e=ul,af(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),zp(e)):af(ul,n.stateNode));break;case 4:r=ul,i=dl,ul=n.stateNode.containerInfo,dl=!0,V(e,t,n),ul=r,dl=i;break;case 0:case 11:case 14:case 15:Gc(2,n,t),il||Gc(4,n,t),V(e,t,n);break;case 1:il||(Yc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&qc(n,t,r)),V(e,t,n);break;case 21:V(e,t,n);break;case 22:il=(r=il)||n.memoizedState!==null,V(e,t,n),il=r;break;default:V(e,t,n)}}function pl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{zp(e)}catch(e){Ju(t,t.return,e)}}}function ml(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{zp(e)}catch(e){Ju(t,t.return,e)}}function hl(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new B),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new B),t;default:throw Error(i(435,e.tag))}}function gl(e,t){var n=hl(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=$u.bind(null,e,t);t.then(r,r)}})}function _l(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(rf(c.type)){ul=c.stateNode,dl=!1;break a}break;case 5:ul=c.stateNode,dl=!1;break a;case 3:case 4:ul=c.stateNode.containerInfo,dl=!0;break a}c=c.return}if(ul===null)throw Error(i(160));fl(o,s,a),ul=null,dl=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)yl(t,e),t=t.sibling}var vl=null;function yl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:_l(t,e),H(e),r&4&&(Gc(3,e,e.return),Wc(3,e),Gc(5,e,e.return));break;case 1:_l(t,e),H(e),r&512&&(il||n===null||Yc(n,n.return)),r&64&&rl&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=vl;if(_l(t,e),H(e),r&512&&(il||n===null||Yc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null){if(r===null){if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[St]||o[ht]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Bd(o,r,n),o[ht]=e,Ot(o),r=o;break a;case`link`:var s=qf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Bd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=qf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Bd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[ht]=e,Ot(o),r=o}e.stateNode=r}else Jf(a,e.type,e.stateNode)}else e.stateNode=Hf(a,r,e.memoizedProps)}else o===r?r===null&&e.stateNode!==null&&Zc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Jf(a,e.type,e.stateNode):Hf(a,r,e.memoizedProps))}break;case 27:_l(t,e),H(e),r&512&&(il||n===null||Yc(n,n.return)),n!==null&&r&4&&Zc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(_l(t,e),H(e),r&512&&(il||n===null||Yc(n,n.return)),e.flags&32){a=e.stateNode;try{$t(a,``)}catch(t){Ju(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Zc(e,a,n===null?a:n.memoizedProps)),r&1024&&(al=!0);break;case 6:if(_l(t,e),H(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Ju(e,e.return,t)}}break;case 3:if(Kf=null,a=vl,vl=Sf(t.containerInfo),_l(t,e),vl=a,H(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{zp(t.containerInfo)}catch(t){Ju(e,e.return,t)}al&&(al=!1,bl(e));break;case 4:r=vl,vl=Sf(e.stateNode.containerInfo),_l(t,e),H(e),vl=r;break;case 12:_l(t,e),H(e);break;case 31:_l(t,e),H(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,gl(e,r)));break;case 13:_l(t,e),H(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(ru=Pe()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,gl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=rl,d=il;if(rl=u||a,il=d||l,_l(t,e),il=d,rl=u,H(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||rl||il||Sl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Ju(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Ju(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?of(m,!0):of(l.stateNode,!1)}catch(e){Ju(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,gl(e,n))));break;case 19:_l(t,e),H(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,gl(e,r)));break;case 30:break;case 21:break;default:_l(t,e),H(e)}}function H(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Qc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;tl(e,$c(e),a);break;case 5:var o=n.stateNode;n.flags&32&&($t(o,``),n.flags&=-33),tl(e,$c(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;el(e,$c(e),s);break;default:throw Error(i(161))}}catch(t){Ju(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function bl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;bl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function xl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)cl(e,t.alternate,t),t=t.sibling}function Sl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Gc(4,t,t.return),Sl(t);break;case 1:Yc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&qc(t,t.return,n),Sl(t);break;case 27:yf(t.stateNode);case 26:case 5:Yc(t,t.return),Sl(t);break;case 22:t.memoizedState===null&&Sl(t);break;case 30:Sl(t);break;default:Sl(t)}e=e.sibling}}function Cl(e,t,n){for(n&&=!!(t.subtreeFlags&8772),t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:Cl(i,a,n),Wc(4,a);break;case 1:if(Cl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Ju(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)to(c[i],s)}catch(e){Ju(r,r.return,e)}}n&&o&64&&Kc(a),Jc(a,a.return);break;case 27:nl(a);case 26:case 5:Cl(i,a,n),n&&r===null&&o&4&&Xc(a),Jc(a,a.return);break;case 12:Cl(i,a,n);break;case 31:Cl(i,a,n),n&&o&4&&pl(i,a);break;case 13:Cl(i,a,n),n&&o&4&&ml(i,a);break;case 22:a.memoizedState===null&&Cl(i,a,n),Jc(a,a.return);break;case 30:break;default:Cl(i,a,n)}t=t.sibling}}function wl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&ma(n))}function Tl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ma(e))}function El(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Dl(e,t,n,r),t=t.sibling}function Dl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:El(e,t,n,r),i&2048&&Wc(9,t);break;case 1:El(e,t,n,r);break;case 3:El(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ma(e)));break;case 12:if(i&2048){El(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Ju(t,t.return,e)}}else El(e,t,n,r);break;case 31:El(e,t,n,r);break;case 13:El(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?El(e,t,n,r):(a._visibility|=2,Ol(e,t,n,r,!!(t.subtreeFlags&10256)||!1)):a._visibility&2?El(e,t,n,r):kl(e,t),i&2048&&wl(o,t);break;case 24:El(e,t,n,r),i&2048&&Tl(t.alternate,t);break;default:El(e,t,n,r)}}function Ol(e,t,n,r,i){for(i&&=!!(t.subtreeFlags&10256)||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:Ol(a,o,s,c,i),Wc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Ol(a,o,s,c,i)):u._visibility&2?Ol(a,o,s,c,i):kl(a,o),i&&l&2048&&wl(o.alternate,o);break;case 24:Ol(a,o,s,c,i),i&&l&2048&&Tl(o.alternate,o);break;default:Ol(a,o,s,c,i)}t=t.sibling}}function kl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:kl(n,r),i&2048&&wl(r.alternate,r);break;case 24:kl(n,r),i&2048&&Tl(r.alternate,r);break;default:kl(n,r)}t=t.sibling}}var Al=8192;function jl(e,t,n){if(e.subtreeFlags&Al)for(e=e.child;e!==null;)Ml(e,t,n),e=e.sibling}function Ml(e,t,n){switch(e.tag){case 26:jl(e,t,n),e.flags&Al&&e.memoizedState!==null&&Zf(n,vl,e.memoizedState,e.memoizedProps);break;case 5:jl(e,t,n);break;case 3:case 4:var r=vl;vl=Sf(e.stateNode.containerInfo),jl(e,t,n),vl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Al,Al=16777216,jl(e,t,n),Al=r):jl(e,t,n));break;default:jl(e,t,n)}}function Nl(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Pl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];ol=r,Ll(r,e)}Nl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Fl(e),e=e.sibling}function Fl(e){switch(e.tag){case 0:case 11:case 15:Pl(e),e.flags&2048&&Gc(9,e,e.return);break;case 3:Pl(e);break;case 12:Pl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Il(e)):Pl(e);break;default:Pl(e)}}function Il(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];ol=r,Ll(r,e)}Nl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Gc(8,t,t.return),Il(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Il(t));break;default:Il(t)}e=e.sibling}}function Ll(e,t){for(;ol!==null;){var n=ol;switch(n.tag){case 0:case 11:case 15:Gc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:ma(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,ol=r;else a:for(n=e;ol!==null;){r=ol;var i=r.sibling,a=r.return;if(ll(r),r===n){ol=null;break a}if(i!==null){i.return=a,ol=i;break a}ol=a}}}var Rl={getCacheForType:function(e){var t=oa(fa),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return oa(fa).controller.signal}},zl=typeof WeakMap==`function`?WeakMap:Map,Bl=0,Vl=null,U=null,W=0,Hl=0,Ul=null,Wl=!1,Gl=!1,Kl=!1,ql=0,Jl=0,Yl=0,Xl=0,Zl=0,Ql=0,$l=0,eu=null,tu=null,nu=!1,ru=0,iu=0,au=1/0,ou=null,su=null,cu=0,lu=null,uu=null,du=0,fu=0,pu=null,mu=null,hu=0,gu=null;function _u(){return Bl&2&&W!==0?W&-W:D.T===null?ft():hd()}function vu(){if(Ql===0){if(!(W&536870912)||zi){var e=Ze;Ze<<=1,!(Ze&3932160)&&(Ze=262144),Ql=e}else Ql=536870912}return e=N.current,e!==null&&(e.flags|=32),Ql}function yu(e,t,n){(e===Vl&&(Hl===2||Hl===9)||e.cancelPendingCommit!==null)&&(Eu(e,0),Cu(e,W,Ql,!1)),at(e,n),Bl&2&&e===Vl||(e===Vl&&(!(Bl&2)&&(Xl|=n),Jl===4&&Cu(e,W,Ql,!1)),sd(e))}function bu(e,t,n){if(Bl&6)throw Error(i(327));var r=!n&&!(t&127)&&(t&e.expiredLanes)===0||tt(e,t),a=r?Nu(e,t):ju(e,t,!0),o=r;do{if(a===0){Gl&&!r&&Cu(e,t,0,!1);break}if(n=e.current.alternate,o&&!Su(n))a=ju(e,t,!1),o=!1;else{if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=eu;var l=c.current.memoizedState.isDehydrated;if(l&&(Eu(c,s).flags|=256),s=ju(c,s,!1),s!==2){if(Kl&&!l){c.errorRecoveryDisabledLanes|=o,Xl|=o,a=4;break a}o=tu,tu=a,o!==null&&(tu===null?tu=o:tu.push.apply(tu,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Eu(e,0),Cu(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:Cu(r,t,Ql,!Wl);break a;case 2:tu=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=ru+300-Pe(),10<a)){if(Cu(r,t,Ql,!Wl),et(r,0,!0)!==0)break a;du=t,r.timeoutHandle=Qd(xu.bind(null,r,n,tu,ou,nu,t,Ql,Xl,$l,Wl,o,`Throttled`,-0,0),a);break a}xu(r,n,tu,ou,nu,t,Ql,Xl,$l,Wl,o,null,-0,0)}break}}while(1);sd(e)}function xu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:cn},Ml(t,a,d);var m=(a&62914560)===a?ru-Pe():(a&4194048)===a?iu-Pe():0;if(m=$f(d,m),m!==null){du=a,e.cancelPendingCommit=m(Bu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),Cu(e,a,o,!l);return}}Bu(e,t,a,n,r,i,o,s,c)}function Su(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Or(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Cu(e,t,n,r){t&=~Zl,t&=~Xl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ke(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&st(e,n,t)}function wu(){return Bl&6?!0:(cd(0,!1),!1)}function Tu(){if(U!==null){if(Hl===0)var e=U.return;else e=U,Qi=Zi=null,Mo(e),La=null,Ra=0,e=U;for(;e!==null;)Uc(e.alternate,e),e=e.return;U=null}}function Eu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,$d(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),du=0,Tu(),Vl=e,U=n=mi(e.current,null),W=t,Hl=0,Ul=null,Wl=!1,Gl=tt(e,t),Kl=!1,$l=Ql=Zl=Xl=Yl=Jl=0,tu=eu=null,nu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Ke(r),a=1<<i;t|=e[i],r&=~a}return ql=t,ii(),n}function Du(e,t){go=null,D.H=Hs,t===Da||t===ka?(t=Fa(),Hl=3):t===Oa?(t=Fa(),Hl=4):Hl=t===oc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Ul=t,U===null&&(Jl=1,ec(e,Si(t,e.current)))}function Ou(){var e=N.current;return e===null?!0:(W&4194048)===W?P===null:(W&62914560)===W||W&536870912?e===P:!1}function G(){var e=D.H;return D.H=Hs,e===null?Hs:e}function ku(){var e=D.A;return D.A=Rl,e}function Au(){Jl=4,Wl||(W&4194048)!==W&&N.current!==null||(Gl=!0),!(Yl&134217727)&&!(Xl&134217727)||Vl===null||Cu(Vl,W,Ql,!1)}function ju(e,t,n){var r=Bl;Bl|=2;var i=G(),a=ku();(Vl!==e||W!==t)&&(ou=null,Eu(e,t)),t=!1;var o=Jl;a:do try{if(Hl!==0&&U!==null){var s=U,c=Ul;switch(Hl){case 8:Tu(),o=6;break a;case 3:case 2:case 9:case 6:N.current===null&&(t=!0);var l=Hl;if(Hl=0,Ul=null,Lu(e,s,c,l),n&&Gl){o=0;break a}break;default:l=Hl,Hl=0,Ul=null,Lu(e,s,c,l)}}Mu(),o=Jl;break}catch(t){Du(e,t)}while(1);return t&&e.shellSuspendCounter++,Qi=Zi=null,Bl=r,D.H=i,D.A=a,U===null&&(Vl=null,W=0,ii()),o}function Mu(){for(;U!==null;)Fu(U)}function Nu(e,t){var n=Bl;Bl|=2;var r=G(),a=ku();Vl!==e||W!==t?(ou=null,au=Pe()+500,Eu(e,t)):Gl=tt(e,t);a:do try{if(Hl!==0&&U!==null){t=U;var o=Ul;b:switch(Hl){case 1:Hl=0,Ul=null,Lu(e,t,o,1);break;case 2:case 9:if(ja(o)){Hl=0,Ul=null,Iu(t);break}t=function(){Hl!==2&&Hl!==9||Vl!==e||(Hl=7),sd(e)},o.then(t,t);break a;case 3:Hl=7;break a;case 4:Hl=5;break a;case 7:ja(o)?(Hl=0,Ul=null,Iu(t)):(Hl=0,Ul=null,Lu(e,t,o,7));break;case 5:var s=null;switch(U.tag){case 26:s=U.memoizedState;case 5:case 27:var c=U;if(s?Xf(s):c.stateNode.complete){Hl=0,Ul=null;var l=c.sibling;if(l!==null)U=l;else{var u=c.return;u===null?U=null:(U=u,Ru(u))}break b}}Hl=0,Ul=null,Lu(e,t,o,5);break;case 6:Hl=0,Ul=null,Lu(e,t,o,6);break;case 8:Tu(),Jl=6;break a;default:throw Error(i(462))}}Pu();break}catch(t){Du(e,t)}while(1);return Qi=Zi=null,D.H=r,D.A=a,Bl=n,U===null?(Vl=null,W=0,ii(),Jl):0}function Pu(){for(;U!==null&&!Me();)Fu(U)}function Fu(e){var t=z(e.alternate,e,ql);e.memoizedProps=e.pendingProps,t===null?Ru(e):U=t}function Iu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=R(n,t,t.pendingProps,t.type,void 0,W);break;case 11:t=R(n,t,t.pendingProps,t.type.render,t.ref,W);break;case 5:Mo(t);default:Uc(n,t),t=U=hi(t,ql),t=z(n,t,ql)}e.memoizedProps=e.pendingProps,t===null?Ru(e):U=t}function Lu(e,t,n,r){Qi=Zi=null,Mo(t),La=null,Ra=0;var i=t.return;try{if(ac(e,i,t,n,W)){Jl=1,ec(e,Si(n,e.current)),U=null;return}}catch(t){if(i!==null)throw U=i,t;Jl=1,ec(e,Si(n,e.current)),U=null;return}t.flags&32768?(zi||r===1?e=!0:Gl||W&536870912?e=!1:(Wl=e=!0,(r===2||r===9||r===3||r===6)&&(r=N.current,r!==null&&r.tag===13&&(r.flags|=16384))),zu(t,e)):Ru(t)}function Ru(e){var t=e;do{if(t.flags&32768){zu(t,Wl);return}e=t.return;var n=Vc(t.alternate,t,ql);if(n!==null){U=n;return}if(t=t.sibling,t!==null){U=t;return}U=t=e}while(t!==null);Jl===0&&(Jl=5)}function zu(e,t){do{var n=Hc(e.alternate,e);if(n!==null){n.flags&=32767,U=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){U=e;return}U=e=n}while(e!==null);Jl=6,U=null}function Bu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Gu();while(cu!==0);if(Bl&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=ri,ot(e,n,o,s,c,l),e===Vl&&(U=Vl=null,W=0),uu=t,lu=e,du=n,fu=o,pu=a,mu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,ed(Re,function(){return Ku(),null})):(e.callbackNode=null,e.callbackPriority=0),r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=D.T,D.T=null,a=se.p,se.p=2,s=Bl,Bl|=4;try{sl(e,t,n)}finally{Bl=s,se.p=a,D.T=r}}cu=1,Vu(),Hu(),Uu()}}function Vu(){if(cu===1){cu=0;var e=lu,t=uu,n=!!(t.flags&13878);if(t.subtreeFlags&13878||n){n=D.T,D.T=null;var r=se.p;se.p=2;var i=Bl;Bl|=4;try{yl(t,e);var a=Gd,o=Mr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&jr(s.ownerDocument.documentElement,s)){if(c!==null&&Nr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=j(s,h),v=j(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}pp=!!Wd,Gd=Wd=null}finally{Bl=i,se.p=r,D.T=n}}e.current=t,cu=2}}function Hu(){if(cu===2){cu=0;var e=lu,t=uu,n=!!(t.flags&8772);if(t.subtreeFlags&8772||n){n=D.T,D.T=null;var r=se.p;se.p=2;var i=Bl;Bl|=4;try{cl(e,t.alternate,t)}finally{Bl=i,se.p=r,D.T=n}}cu=3}}function Uu(){if(cu===4||cu===3){cu=0,Ne();var e=lu,t=uu,n=du,r=mu;t.subtreeFlags&10256||t.flags&10256?cu=5:(cu=0,uu=lu=null,Wu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(su=null),dt(n),t=t.stateNode,We&&typeof We.onCommitFiberRoot==`function`)try{We.onCommitFiberRoot(Ue,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=D.T,i=se.p,se.p=2,D.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{D.T=t,se.p=i}}du&3&&Gu(),sd(e),i=e.pendingLanes,n&261930&&i&42?e===gu?hu++:(hu=0,gu=e):hu=0,cd(0,!1)}}function Wu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ma(t)))}function Gu(){return Vu(),Hu(),Uu(),Ku()}function Ku(){if(cu!==5)return!1;var e=lu,t=fu;fu=0;var n=dt(du),r=D.T,a=se.p;try{se.p=32>n?32:n,D.T=null,n=pu,pu=null;var o=lu,s=du;if(cu=0,uu=lu=null,du=0,Bl&6)throw Error(i(331));var c=Bl;if(Bl|=4,Fl(o.current),Dl(o,o.current,s,n),Bl=c,cd(0,!1),We&&typeof We.onPostCommitFiberRoot==`function`)try{We.onPostCommitFiberRoot(Ue,o)}catch{}return!0}finally{se.p=a,D.T=r,Wu(e,t)}}function qu(e,t,n){t=Si(n,t),t=nc(e.stateNode,t,2),e=Ya(e,t,2),e!==null&&(at(e,2),sd(e))}function Ju(e,t,n){if(e.tag===3)qu(e,e,n);else for(;t!==null;){if(t.tag===3){qu(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(su===null||!su.has(r))){e=Si(n,e),n=rc(2),r=Ya(t,n,2),r!==null&&(ic(n,r,t,e),at(r,2),sd(r));break}}t=t.return}}function Yu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new zl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Kl=!0,i.add(n),e=Xu.bind(null,e,t,n),t.then(e,e))}function Xu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Vl===e&&(W&n)===n&&(Jl===4||Jl===3&&(W&62914560)===W&&300>Pe()-ru?!(Bl&2)&&Eu(e,0):Zl|=n,$l===W&&($l=0)),sd(e)}function Zu(e,t){t===0&&(t=rt()),e=si(e,t),e!==null&&(at(e,t),sd(e))}function Qu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Zu(e,n)}function $u(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Zu(e,n)}function ed(e,t){return Ae(e,t)}var td=null,nd=null,rd=!1,id=!1,ad=!1,od=0;function sd(e){e!==nd&&e.next===null&&(nd===null?td=nd=e:nd=nd.next=e),id=!0,rd||(rd=!0,md())}function cd(e,t){if(!ad&&id){ad=!0;do for(var n=!1,r=td;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Ke(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,pd(r,a))}else a=W,a=et(r,r===Vl?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||tt(r,a)||(n=!0,pd(r,a))}r=r.next}while(n);ad=!1}}function ld(){ud()}function ud(){id=rd=!1;var e=0;od!==0&&Zd()&&(e=od);for(var t=Pe(),n=null,r=td;r!==null;){var i=r.next,a=dd(r,t);a===0?(r.next=null,n===null?td=i:n.next=i,i===null&&(nd=n)):(n=r,(e!==0||a&3)&&(id=!0)),r=i}cu!==0&&cu!==5||cd(e,!1),od!==0&&(od=0)}function dd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Ke(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=nt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Vl,n=W,n=et(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Hl===2||Hl===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&je(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||tt(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&je(r),dt(n)){case 2:case 8:n=Le;break;case 32:n=Re;break;case 268435456:n=Be;break;default:n=Re}return r=fd.bind(null,e),n=Ae(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&je(r),e.callbackPriority=2,e.callbackNode=null,2}function fd(e,t){if(cu!==0&&cu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Gu()&&e.callbackNode!==n)return null;var r=W;return r=et(e,e===Vl?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(bu(e,r,t),dd(e,Pe()),e.callbackNode!=null&&e.callbackNode===n?fd.bind(null,e):null)}function pd(e,t){if(Gu())return null;bu(e,t,!0)}function md(){tf(function(){Bl&6?Ae(Ie,ld):ud()})}function hd(){if(od===0){var e=_a;e===0&&(e=Xe,Xe<<=1,!(Xe&261888)&&(Xe=256)),od=e}return od}function gd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:sn(``+e)}function _d(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function vd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=gd((i[gt]||null).action),o=r.submitter;o&&(t=(t=o[gt]||null)?gd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new kn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(od!==0){var e=o?_d(i,o):new FormData(i);Os(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?_d(i,o):new FormData(i),Os(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var yd=0;yd<Qr.length;yd++){var bd=Qr[yd];$r(bd.toLowerCase(),`on`+(bd[0].toUpperCase()+bd.slice(1)))}$r(Wr,`onAnimationEnd`),$r(Gr,`onAnimationIteration`),$r(Kr,`onAnimationStart`),$r(`dblclick`,`onDoubleClick`),$r(`focusin`,`onFocus`),$r(`focusout`,`onBlur`),$r(qr,`onTransitionRun`),$r(Jr,`onTransitionStart`),$r(Yr,`onTransitionCancel`),$r(Xr,`onTransitionEnd`),Mt(`onMouseEnter`,[`mouseout`,`mouseover`]),Mt(`onMouseLeave`,[`mouseout`,`mouseover`]),Mt(`onPointerEnter`,[`pointerout`,`pointerover`]),Mt(`onPointerLeave`,[`pointerout`,`pointerover`]),jt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),jt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),jt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),jt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),jt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),jt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var xd=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),Sd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(xd));function Cd(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ei(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ei(e)}i.currentTarget=null,a=c}}}}function wd(e,t){var n=t[vt];n===void 0&&(n=t[vt]=new Set);var r=e+`__bubble`;n.has(r)||(Od(t,e,2,!1),n.add(r))}function Td(e,t,n){var r=0;t&&(r|=4),Od(n,e,r,t)}var Ed=`_reactListening`+Math.random().toString(36).slice(2);function Dd(e){if(!e[Ed]){e[Ed]=!0,kt.forEach(function(t){t!==`selectionchange`&&(Sd.has(t)||Td(t,!1,e),Td(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ed]||(t[Ed]=!0,Td(`selectionchange`,!1,t))}}function Od(e,t,n,r){switch(bp(t)){case 2:var i=mp;break;case 8:i=hp;break;default:i=gp}n=i.bind(null,t,n,e),i=void 0,!vn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function kd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=wt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}hn(function(){var r=a,i=un(n),s=[];a:{var c=Zr.get(e);if(c!==void 0){var l=kn,u=e;switch(e){case`keypress`:if(wn(n)===0)break a;case`keydown`:case`keyup`:l=Gn;break;case`focusin`:u=`focus`,l=In;break;case`focusout`:u=`blur`,l=In;break;case`beforeblur`:case`afterblur`:l=In;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=Pn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=Fn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=qn;break;case Wr:case Gr:case Kr:l=Ln;break;case Xr:l=Jn;break;case`scroll`:case`scrollend`:l=jn;break;case`wheel`:l=Yn;break;case`copy`:case`cut`:case`paste`:l=Rn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Kn;break;case`toggle`:case`beforetoggle`:l=Xn}var d=!!(t&4),f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=gn(m,p),g!=null&&d.push(Ad(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==ln&&(u=n.relatedTarget||n.fromElement)&&(wt(u)||u[_t]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?wt(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=Pn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Kn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:Et(l),h=u==null?c:Et(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,wt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=Md,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Nd(s,c,l,d,!1),u!==null&&f!==null&&Nd(s,f,u,d,!0)}}a:{if(c=r?Et(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=gr;else if(ur(c)){if(_r)v=Er;else{v=wr;var y=Cr}}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&rn(r.elementType)&&(v=gr):v=Tr;if(v&&=v(e,r)){dr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Yt(c,`number`,c.value)}switch(y=r?Et(r):window,e){case`focusin`:(ur(y)||y.contentEditable===`true`)&&(Fr=y,M=r,Ir=null);break;case`focusout`:Ir=M=Fr=null;break;case`mousedown`:Lr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Lr=!1,Rr(s,n,i);break;case`selectionchange`:if(Pr)break;case`keydown`:case`keyup`:Rr(s,n,i)}var b;if(Qn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else or?ir(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(tr&&n.locale!==`ko`&&(or||x!==`onCompositionStart`?x===`onCompositionEnd`&&or&&(b=Cn()):(bn=i,xn=`value`in bn?bn.value:bn.textContent,or=!0)),y=jd(r,x),0<y.length&&(x=new zn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=ar(n),b!==null&&(x.data=b)))),(b=er?sr(e,n):cr(e,n))&&(x=jd(r,`onBeforeInput`),0<x.length&&(y=new zn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),vd(s,e,r,n,i)}Cd(s,t)})}function Ad(e,t,n){return{instance:e,listener:t,currentTarget:n}}function jd(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=gn(e,n),i!=null&&r.unshift(Ad(e,i,a)),i=gn(e,t),i!=null&&r.push(Ad(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Md(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Nd(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=gn(n,a),l!=null&&o.unshift(Ad(n,l,c))):i||(l=gn(n,a),l!=null&&o.push(Ad(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Pd=/\r\n?/g,Fd=/\u0000|\uFFFD/g;function Id(e){return(typeof e==`string`?e:``+e).replace(Pd,`
24
+ `).replace(Fd,``)}function Ld(e,t){return t=Id(t),Id(e)===t}function Rd(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||$t(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&$t(e,``+r);break;case`className`:Rt(e,`class`,r);break;case`tabIndex`:Rt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Rt(e,n,r);break;case`style`:nn(e,r,o);break;case`data`:if(t!==`object`){Rt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)||r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=sn(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}if(typeof o==`function`&&(n===`formAction`?(t!==`input`&&Rd(e,t,`name`,a.name,a,null),Rd(e,t,`formEncType`,a.formEncType,a,null),Rd(e,t,`formMethod`,a.formMethod,a,null),Rd(e,t,`formTarget`,a.formTarget,a,null)):(Rd(e,t,`encType`,a.encType,a,null),Rd(e,t,`method`,a.method,a,null),Rd(e,t,`target`,a.target,a,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=sn(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=cn);break;case`onScroll`:r!=null&&wd(`scroll`,e);break;case`onScrollEnd`:r!=null&&wd(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=sn(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:wd(`beforetoggle`,e),wd(`toggle`,e),Lt(e,`popover`,r);break;case`xlinkActuate`:zt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:zt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:zt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:zt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:zt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:zt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:zt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:zt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:zt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Lt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=an.get(n)||n,Lt(e,n,r))}}function zd(e,t,n,r,a,o){switch(n){case`style`:nn(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?$t(e,r):(typeof r==`number`||typeof r==`bigint`)&&$t(e,``+r);break;case`onScroll`:r!=null&&wd(`scroll`,e);break;case`onScrollEnd`:r!=null&&wd(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=cn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!At.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[gt]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):Lt(e,n,r)}}}function Bd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:wd(`error`,e),wd(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Rd(e,t,o,s,n,null)}}a&&Rd(e,t,`srcSet`,n.srcSet,n,null),r&&Rd(e,t,`src`,n.src,n,null);return;case`input`:wd(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Rd(e,t,r,d,n,null)}}Jt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in wd(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Rd(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Xt(e,!!r,n,!0):Xt(e,!!r,t,!1);return;case`textarea`:for(s in wd(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Rd(e,t,s,c,n,null)}Qt(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Rd(e,t,l,r,n,null)}return;case`dialog`:wd(`beforetoggle`,e),wd(`toggle`,e),wd(`cancel`,e),wd(`close`,e);break;case`iframe`:case`object`:wd(`load`,e);break;case`video`:case`audio`:for(r=0;r<xd.length;r++)wd(xd[r],e);break;case`image`:wd(`error`,e),wd(`load`,e);break;case`details`:wd(`toggle`,e);break;case`embed`:case`source`:case`link`:wd(`error`,e),wd(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Rd(e,t,u,r,n,null)}return;default:if(rn(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&zd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Rd(e,t,c,r,n,null))}function Vd(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Rd(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Rd(e,t,p,m,r,f)}}qt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Rd(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Rd(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Xt(e,!!n,n?[]:``,!1):Xt(e,!!n,t,!0)):Xt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Rd(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Rd(e,t,s,a,r,o)}Zt(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Rd(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Rd(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Rd(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Rd(e,t,u,p,r,m)}return;default:if(rn(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&zd(e,t,_,void 0,r,p);for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||zd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Rd(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Rd(e,t,f,p,r,m)}function Hd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Ud(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Hd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Hd(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Wd=null,Gd=null;function Kd(e){return e.nodeType===9?e:e.ownerDocument}function qd(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Jd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Yd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Xd=null;function Zd(){var e=window.event;return e&&e.type===`popstate`?e!==Xd&&(Xd=e,!0):(Xd=null,!1)}var Qd=typeof setTimeout==`function`?setTimeout:void 0,$d=typeof clearTimeout==`function`?clearTimeout:void 0,ef=typeof Promise==`function`?Promise:void 0,tf=typeof queueMicrotask==`function`?queueMicrotask:ef===void 0?Qd:function(e){return ef.resolve(null).then(e).catch(nf)};function nf(e){setTimeout(function(){throw e})}function rf(e){return e===`head`}function af(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8){if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),zp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)yf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,yf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[St]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&yf(e.ownerDocument.body)}n=i}while(n);zp(t)}function of(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8){if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++}n=r}while(n)}function sf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:sf(n),Ct(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function cf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r){if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[St])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=mf(e.nextSibling),e===null)break}return null}function lf(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=mf(e.nextSibling),e===null))return null;return e}function uf(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=mf(e.nextSibling),e===null))return null;return e}function df(e){return e.data===`$?`||e.data===`$~`}function ff(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function pf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function mf(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var hf=null;function gf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return mf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function _f(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function vf(e,t,n){switch(t=Kd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function yf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ct(e)}var bf=new Map,xf=new Set;function Sf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Cf=se.d;se.d={f:wf,r:Tf,D:Of,C:kf,L:Af,m:jf,X:Nf,S:Mf,M:Pf};function wf(){var e=Cf.f(),t=wu();return e||t}function Tf(e){var t=Tt(e);t!==null&&t.tag===5&&t.type===`form`?As(t):Cf.r(e)}var Ef=typeof document>`u`?null:document;function Df(e,t,n){var r=Ef;if(r&&typeof t==`string`&&t){var i=Kt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),xf.has(i)||(xf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Bd(t,`link`,e),Ot(t),r.head.appendChild(t)))}}function Of(e){Cf.D(e),Df(`dns-prefetch`,e,null)}function kf(e,t){Cf.C(e,t),Df(`preconnect`,e,t)}function Af(e,t,n){Cf.L(e,t,n);var r=Ef;if(r&&e&&t){var i=`link[rel="preload"][as="`+Kt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Kt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Kt(n.imageSizes)+`"]`)):i+=`[href="`+Kt(e)+`"]`;var a=i;switch(t){case`style`:a=If(e);break;case`script`:a=Bf(e)}bf.has(a)||(e=f({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),bf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Lf(a))||t===`script`&&r.querySelector(Vf(a))||(t=r.createElement(`link`),Bd(t,`link`,e),Ot(t),r.head.appendChild(t)))}}function jf(e,t){Cf.m(e,t);var n=Ef;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Kt(r)+`"][href="`+Kt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Bf(e)}if(!bf.has(a)&&(e=f({rel:`modulepreload`,href:e},t),bf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Vf(a)))return}r=n.createElement(`link`),Bd(r,`link`,e),Ot(r),n.head.appendChild(r)}}}function Mf(e,t,n){Cf.S(e,t,n);var r=Ef;if(r&&e){var i=Dt(r).hoistableStyles,a=If(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Lf(a)))s.loading=5;else{e=f({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=bf.get(a))&&Wf(e,n);var c=o=r.createElement(`link`);Ot(c),Bd(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Uf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Nf(e,t){Cf.X(e,t);var n=Ef;if(n&&e){var r=Dt(n).hoistableScripts,i=Bf(e),a=r.get(i);a||(a=n.querySelector(Vf(i)),a||(e=f({src:e,async:!0},t),(t=bf.get(i))&&Gf(e,t),a=n.createElement(`script`),Ot(a),Bd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Pf(e,t){Cf.M(e,t);var n=Ef;if(n&&e){var r=Dt(n).hoistableScripts,i=Bf(e),a=r.get(i);a||(a=n.querySelector(Vf(i)),a||(e=f({src:e,async:!0,type:`module`},t),(t=bf.get(i))&&Gf(e,t),a=n.createElement(`script`),Ot(a),Bd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Ff(e,t,n,r){var a=(a=ge.current)?Sf(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=If(n.href),n=Dt(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=If(n.href);var o=Dt(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Lf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),bf.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},bf.set(e,n),o||zf(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Bf(n),n=Dt(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function If(e){return`href="`+Kt(e)+`"`}function Lf(e){return`link[rel="stylesheet"][`+e+`]`}function Rf(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function zf(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Bd(t,`link`,n),Ot(t),e.head.appendChild(t))}function Bf(e){return`[src="`+Kt(e)+`"]`}function Vf(e){return`script[async]`+e}function Hf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Kt(n.href)+`"]`);if(r)return t.instance=r,Ot(r),r;var a=f({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),Ot(r),Bd(r,`style`,a),Uf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=If(n.href);var o=e.querySelector(Lf(a));if(o)return t.state.loading|=4,t.instance=o,Ot(o),o;r=Rf(n),(a=bf.get(a))&&Wf(r,a),o=(e.ownerDocument||e).createElement(`link`),Ot(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Bd(o,`link`,r),t.state.loading|=4,Uf(o,n.precedence,e),t.instance=o;case`script`:return o=Bf(n.src),(a=e.querySelector(Vf(o)))?(t.instance=a,Ot(a),a):(r=n,(a=bf.get(o))&&(r=f({},n),Gf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),Ot(a),Bd(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Uf(r,n.precedence,e));return t.instance}function Uf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Wf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Gf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Kf=null;function qf(e,t,n){if(Kf===null){var r=new Map,i=Kf=new Map;i.set(n,r)}else i=Kf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[St]||a[ht]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Jf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Yf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Xf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Zf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=If(r.href),a=t.querySelector(Lf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=ep.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,Ot(a);return}a=t.ownerDocument||t,r=Rf(r),(i=bf.get(i))&&Wf(r,i),a=a.createElement(`link`),Ot(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Bd(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=ep.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Qf=0;function $f(e,t){return e.stylesheets&&e.count===0&&np(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&np(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&Qf===0&&(Qf=62500*Ud());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&np(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>Qf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function ep(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)np(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var tp=null;function np(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,tp=new Map,t.forEach(rp,e),tp=null,ep.call(e))}function rp(e,t){if(!(t.state.loading&4)){var n=tp.get(e);if(n)var r=n.get(null);else{n=new Map,tp.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=ep.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var ip={$$typeof:b,Provider:null,Consumer:null,_currentValue:ce,_currentValue2:ce,_threadCount:0};function ap(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=it(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=it(0),this.hiddenUpdates=it(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function op(e,t,n,r,i,a,o,s,c,l,u,d){return e=new ap(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=fi(3,null,null,t),e.current=a,a.stateNode=e,t=pa(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ka(a),e}function sp(e){return e?(e=ui,e):ui}function cp(e,t,n,r,i,a){i=sp(i),r.context===null?r.context=i:r.pendingContext=i,r=Ja(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Ya(e,r,t),n!==null&&(yu(n,e,t),Xa(n,e,t))}function lp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function up(e,t){lp(e,t),(e=e.alternate)&&lp(e,t)}function dp(e){if(e.tag===13||e.tag===31){var t=si(e,67108864);t!==null&&yu(t,e,67108864),up(e,67108864)}}function fp(e){if(e.tag===13||e.tag===31){var t=_u();t=ut(t);var n=si(e,t);n!==null&&yu(n,e,t),up(e,t)}}var pp=!0;function mp(e,t,n,r){var i=D.T;D.T=null;var a=se.p;try{se.p=2,gp(e,t,n,r)}finally{se.p=a,D.T=i}}function hp(e,t,n,r){var i=D.T;D.T=null;var a=se.p;try{se.p=8,gp(e,t,n,r)}finally{se.p=a,D.T=i}}function gp(e,t,n,r){if(pp){var i=_p(r);if(i===null)kd(e,t,r,vp,n),kp(e,r);else if(jp(i,e,t,n,r))r.stopPropagation();else if(kp(e,r),t&4&&-1<Op.indexOf(e)){for(;i!==null;){var a=Tt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=$e(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Ke(o);s.entanglements[1]|=c,o&=~c}sd(a),!(Bl&6)&&(au=Pe()+500,cd(0,!1))}}break;case 31:case 13:s=si(a,2),s!==null&&yu(s,a,2),wu(),up(a,2)}if(a=_p(r),a===null&&kd(e,t,r,vp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else kd(e,t,r,null,n)}}function _p(e){return e=un(e),yp(e)}var vp=null;function yp(e){if(vp=null,e=wt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return vp=e,null}function bp(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(Fe()){case Ie:return 2;case Le:return 8;case Re:case ze:return 32;case Be:return 268435456;default:return 32}default:return 32}}var xp=!1,Sp=null,Cp=null,wp=null,Tp=new Map,Ep=new Map,Dp=[],Op=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function kp(e,t){switch(e){case`focusin`:case`focusout`:Sp=null;break;case`dragenter`:case`dragleave`:Cp=null;break;case`mouseover`:case`mouseout`:wp=null;break;case`pointerover`:case`pointerout`:Tp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Ep.delete(t.pointerId)}}function Ap(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Tt(t),t!==null&&dp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function jp(e,t,n,r,i){switch(t){case`focusin`:return Sp=Ap(Sp,e,t,n,r,i),!0;case`dragenter`:return Cp=Ap(Cp,e,t,n,r,i),!0;case`mouseover`:return wp=Ap(wp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Tp.set(a,Ap(Tp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Ep.set(a,Ap(Ep.get(a)||null,e,t,n,r,i)),!0}return!1}function Mp(e){var t=wt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,pt(e.priority,function(){fp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,pt(e.priority,function(){fp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Np(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=_p(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ln=r,n.target.dispatchEvent(r),ln=null}else return t=Tt(n),t!==null&&dp(t),e.blockedOn=n,!1;t.shift()}return!0}function Pp(e,t,n){Np(e)&&n.delete(t)}function Fp(){xp=!1,Sp!==null&&Np(Sp)&&(Sp=null),Cp!==null&&Np(Cp)&&(Cp=null),wp!==null&&Np(wp)&&(wp=null),Tp.forEach(Pp),Ep.forEach(Pp)}function Ip(e,n){e.blockedOn===n&&(e.blockedOn=null,xp||(xp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Fp)))}var Lp=null;function Rp(e){Lp!==e&&(Lp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Lp===e&&(Lp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(yp(r||n)===null)continue;break}var a=Tt(n);a!==null&&(e.splice(t,3),t-=3,Os(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function zp(e){function t(t){return Ip(t,e)}Sp!==null&&Ip(Sp,e),Cp!==null&&Ip(Cp,e),wp!==null&&Ip(wp,e),Tp.forEach(t),Ep.forEach(t);for(var n=0;n<Dp.length;n++){var r=Dp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Dp.length&&(n=Dp[0],n.blockedOn===null);)Mp(n),n.blockedOn===null&&Dp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[gt]||null;if(typeof a==`function`)o||Rp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[gt]||null)s=o.formAction;else if(yp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Rp(n)}}}function Bp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Vp(e){this._internalRoot=e}Hp.prototype.render=Vp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;cp(n,_u(),e,t,null,null)},Hp.prototype.unmount=Vp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;cp(e.current,2,null,e,null,null),wu(),t[_t]=null}};function Hp(e){this._internalRoot=e}Hp.prototype.unstable_scheduleHydration=function(e){if(e){var t=ft();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dp.length&&t!==0&&t<Dp[n].priority;n++);Dp.splice(n,0,e),n===0&&Mp(e)}};var Up=n.version;if(Up!==`19.2.8`)throw Error(i(527,Up,`19.2.8`));se.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:d(e),e=e===null?null:e.stateNode,e};var Wp={bundleType:0,version:`19.2.8`,rendererPackageName:`react-dom`,currentDispatcherRef:D,reconcilerVersion:`19.2.8`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Gp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gp.isDisabled&&Gp.supportsFiber)try{Ue=Gp.inject(Wp),We=Gp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Zs,s=Qs,c=$s;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=op(e,1,!1,null,null,n,r,null,o,s,c,Bp),e[_t]=t.current,Dd(e),new Vp(t)}})),cE=y(((e,t)=>{function n(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE==`function`)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=sE()})),lE=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,uE=/^[\\/]{2}/;function dE(e,t){return t+e.replace(/\\/g,`/`)}var fE=`popstate`;function pE(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function mE(e={}){function t(e,t){let{pathname:n=`/`,search:r=``,hash:i=``}=xE(e.location.hash.substring(1));return!n.startsWith(`/`)&&!n.startsWith(`.`)&&(n=`/`+n),yE(``,{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||`default`)}function n(e,t){let n=e.document.querySelector(`base`),r=``;if(n&&n.getAttribute(`href`)){let t=e.location.href,n=t.indexOf(`#`);r=n===-1?t:t.slice(0,n)}return r+`#`+(typeof t==`string`?t:bE(t))}function r(e,t){gE(e.pathname.charAt(0)===`/`,`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)}return SE(t,n,r,e)}function hE(e,t){if(e===!1||e==null)throw Error(t)}function gE(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function _E(){return Math.random().toString(36).substring(2,10)}function vE(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function yE(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?xE(t):t,state:n,key:t&&t.key||r||_E(),mask:i}}function bE({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function xE(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function SE(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;let r=pE(e)?e:yE(h.location,e,t);n&&n(r,e),l=u()+1;let d=vE(r,l),f=h.createHref(r.mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=pE(e)?e:yE(h.location,e,t);n&&n(r,e),l=u();let i=vE(r,l),d=h.createHref(r.mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return CE(i,e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(fE,d),c=e,()=>{i.removeEventListener(fE,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function CE(e,t,n=!1){let r=`http://localhost`;e&&(r=e.location.origin===`null`?e.location.href:e.location.origin),hE(r,`No window.location.(origin|href) available to create URL`);let i=typeof t==`string`?t:bE(t);return i=i.replace(/ $/,`%20`),!n&&uE.test(i)&&(i=r+i),new URL(i,r)}function wE(e,t,n=`/`){return TE(e,t,n,!1)}function TE(e,t,n,r,i){let a=KE((typeof t==`string`?xE(t):t).pathname||`/`,n);if(a==null)return null;let o=i??EE(e),s=null,c=GE(a);for(let e=0;s==null&&e<o.length;++e)s=VE(o[e],c,r);return s}function EE(e){let t=DE(e);return kE(t),t}function DE(e,t=[],n=[],r=``,i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;hE(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=eD([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(hE(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),DE(e.children,t,u,l,o)),(e.path!=null||e.index)&&t.push({path:l,score:zE(l,e.index),routesMeta:u.map((e,t)=>{let[n,r]=WE(e.relativePath,e.caseSensitive,t===u.length-1);return{...e,matcher:n,compiledParams:r}})})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of OE(e.path))a(e,t,!0,n)}),t}function OE(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=OE(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function kE(e){e.sort((e,t)=>e.score===t.score?BE(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var AE=/^:[\w-]+$/,jE=/^:[\w-]+/,ME=3.5,NE=3,PE=2,FE=1,IE=10,LE=-2,RE=e=>e===`*`;function zE(e,t){let n=e.split(`/`),r=n.length;return n.some(RE)&&(r+=LE),t&&(r+=PE),n.filter(e=>!RE(e)).reduce((e,t)=>e+(AE.test(t)?NE:jE.test(t)?ME:t===``?FE:IE),r)}function BE(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function VE(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u={path:s.relativePath,caseSensitive:s.caseSensitive,end:c},d=s.matcher&&s.compiledParams?UE(u,l,s.matcher,s.compiledParams):HE(u,l),f=s.route;if(!d&&c&&n&&!r[r.length-1].route.index&&(d=HE({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!d)return null;Object.assign(i,d.params),o.push({params:i,pathname:eD([a,d.pathname]),pathnameBase:nD(eD([a,d.pathnameBase])),route:f}),d.pathnameBase!==`/`&&(a=eD([a,d.pathnameBase]))}return o}function HE(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=WE(e.path,e.caseSensitive,e.end);return UE(e,t,n,r)}function UE(e,t,n,r){let i=t.match(n);if(!i)return null;let a=i[0],o=tD(a,1),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=tD(a.slice(0,a.length-e.length),1)}let i=s[r];return e[t]=n&&!i?void 0:(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function WE(e,t=!1,n=!0){gE(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,`(?:/$1)?`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function GE(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return gE(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function KE(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}function qE(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?xE(e):e,a;return n?(n=$E(n),a=n.startsWith(`/`)||n.startsWith(`\\`)?JE(n.substring(1),`/`):JE(n,t)):a=t,{pathname:a,search:rD(r),hash:iD(i)}}function JE(e,t){let n=tD(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function YE(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function XE(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function ZE(e){let t=XE(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function QE(e,t,n,r=!1){let i;typeof e==`string`?i=xE(e):(i={...e},hE(!i.pathname||!i.pathname.includes(`?`),YE(`?`,`pathname`,`search`,i)),hE(!i.pathname||!i.pathname.includes(`#`),YE(`#`,`pathname`,`hash`,i)),hE(!i.search||!i.search.includes(`#`),YE(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=qE(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var $E=e=>e.replace(/[\\/]{2,}/g,`/`),eD=e=>$E(e.join(`/`));function tD(e,t=0){let n=e.length;for(;n>t&&e.charCodeAt(n-1)===47;)n--;return n===e.length?e:e.slice(0,n)}var nD=e=>tD(e).replace(/^\/*/,`/`),rD=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,iD=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,aD=class{status;statusText;data;error;internal;constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function oD(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function sD(e){return eD(e.map(e=>e.route.path).filter(Boolean))||`/`}var cD=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function lD(e,t){let n=e;if(typeof n!=`string`||!lE.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(cD)try{let e=new URL(window.location.href),r=uE.test(n)?new URL(dE(n,e.protocol)):new URL(n),a=KE(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{gE(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}var uD=new URL(`http://localhost`);function dD(e){if(e.createURL)return e.createURL(`/`);try{return new URL(e.createHref(`/`),uD)}catch{return uD}}function fD(e,t){return e.origin===t.origin&&(e.origin!==`null`||e.protocol===t.protocol&&e.host===t.host)}function pD(e,t){if(e.startsWith(`//`))return!0;let n=t.protocol.toLowerCase();return e.toLowerCase().startsWith(n)?t.host===``||e.slice(n.length).startsWith(`//`):!1}function mD(e,t,n,r){let i=null;try{i=e==null?null:new URL(e,n)}catch{}let a=new URL(t,n),o=i!=null&&!fD(i,n),s=!fD(a,n);if(r===`reject`){if(o||s)throw Error(`External navigation is not allowed`)}else if(s&&(i==null||!pD(e,i)||!fD(i,a)))throw Error(`External navigation is not allowed`)}var hD=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(hD);var gD=[`GET`,...hD];new Set(gD);var _D=[`about:`,`blob:`,`chrome:`,`chrome-untrusted:`,`content:`,`data:`,`devtools:`,`file:`,`filesystem:`,`javascript:`];function vD(e){try{return _D.includes(new URL(e).protocol)}catch{return!1}}var yD=w.createContext(null);yD.displayName=`DataRouter`;var bD=w.createContext(null);bD.displayName=`DataRouterState`;var xD=w.createContext(null);xD.displayName=`DataRouterData`;var SD=w.createContext(null);SD.displayName=`DataRouterNavigation`;var CD=w.createContext(!1);function wD(){return w.useContext(CD)}var TD=w.createContext({isTransitioning:!1});TD.displayName=`ViewTransition`;var ED=w.createContext(null);ED.displayName=`Fetchers`;var DD=w.createContext(null);DD.displayName=`Await`;var OD=w.createContext(null);OD.displayName=`Navigation`;var kD=w.createContext(null);kD.displayName=`Location`;var AD=w.createContext({outlet:null,matches:[],isDataRoute:!1});AD.displayName=`Route`;var jD=w.createContext(!1);jD.displayName=`IsDataRoute`;var MD=w.createContext(void 0);MD.displayName=`RouteId`;var ND=w.createContext(null);ND.displayName=`RouteError`;var PD=`REACT_ROUTER_ERROR`,FD=`REDIRECT`,ID=`ROUTE_ERROR_RESPONSE`;function LD(e){if(e.startsWith(`${PD}:${FD}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function RD(e){if(e.startsWith(`${PD}:${ID}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new aD(t.status,t.statusText,t.data)}catch{}}function zD(e,{relative:t}={}){hE(BD(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=w.useContext(OD),{hash:i,pathname:a,search:o}=qD(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:eD([n,a])),r.createHref({pathname:s,search:o,hash:i})}function BD(){return w.useContext(kD)!=null}function VD(){return hE(BD(),`useLocation() may be used only in the context of a <Router> component.`),w.useContext(kD).location}function HD(e){hE(BD(),`useMatch() may be used only in the context of a <Router> component.`);let{pathname:t}=VD();return w.useMemo(()=>HE(e,GE(t)),[t,e])}var UD=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function WD(){return w.useContext(jD)?lO():GD()}function GD(){hE(BD(),`useNavigate() may be used only in the context of a <Router> component.`);let e=w.useContext(yD),{basename:t,navigator:n}=w.useContext(OD),{matches:r}=w.useContext(AD),{pathname:i}=VD(),a=JSON.stringify(ZE(r)),o=w.useRef(!1);return w.useLayoutEffect(()=>{o.current=!0}),w.useCallback((r,s={})=>{if(gE(o.current,UD),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=QE(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:eD([t,c.pathname])),mD(typeof r==`string`?r:bE(r),n.createHref(c),dD(n),`reject`),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}w.createContext(null);function KD(){let{matches:e}=w.useContext(AD);return e[e.length-1]?.params??{}}function qD(e,{relative:t}={}){let{matches:n}=w.useContext(AD),{pathname:r}=VD(),i=JSON.stringify(ZE(n));return w.useMemo(()=>QE(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function JD(e,t){return YD(e,t)}function YD(e,t,n){hE(BD(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=w.useContext(OD),{matches:i}=w.useContext(AD),a=i[i.length-1],o=a?a.params:{};a&&a.pathname;let s=a?a.pathnameBase:`/`;a&&a.route;let c=VD(),l;if(t){let e=typeof t==`string`?xE(t):t;hE(s===`/`||e.pathname?.startsWith(s),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`),l=e}else l=c;let u=l.pathname||`/`,d=u;if(s!==`/`){let e=s.replace(/^\//,``).split(`/`);d=`/`+u.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let f;f=n?n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):n.router.match(n.state.location):wE(e,{pathname:d});let p=nO(f&&f.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:eD([s,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?s:eD([s,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&p?w.createElement(kD.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,mask:void 0,...l},navigationType:`POP`}},p):p}function XD(){let e=cO(),t=oD(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null;return w.createElement(w.Fragment,null,w.createElement(`h2`,null,`Unexpected Application Error!`),w.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?w.createElement(`pre`,{style:{padding:`0.5rem`,backgroundColor:`rgba(200,200,200, 0.5)`}},n):null,null)}var ZD=w.createElement(XD,null),QD=class extends w.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static contextType=CD;static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=RD(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:w.createElement(AD.Provider,{value:this.props.routeContext},w.createElement(jD.Provider,{value:this.props.routeContext.isDataRoute},w.createElement(MD.Provider,{value:this.props.routeContext.matches[this.props.routeContext.matches.length-1]?.route.id},w.createElement(ND.Provider,{value:e,children:this.props.component}))));return this.context?w.createElement(eO,{error:e},t):t}},$D=new WeakMap;function eO({children:e,error:t}){let{basename:n,navigator:r}=w.useContext(OD);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=LD(t.digest);if(e){let i=$D.get(t);if(i)throw i;let a=lD(e.location,n),o=a.absoluteURL||a.to;if(mD(e.location,o,dD(r),`allow-explicit`),vD(o))throw Error(`Invalid redirect location`);if(cD&&!$D.get(t)){if(a.isExternal||e.reloadDocument)window.location.href=o;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw $D.set(t,n),n}}return w.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${o}`})}}return e}function tO({routeContext:e,match:t,children:n}){let r=w.useContext(yD);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),w.createElement(AD.Provider,{value:e},w.createElement(jD.Provider,{value:e.isDataRoute},w.createElement(MD.Provider,{value:t.route.id},n)))}function nO(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);hE(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,c=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||a[t.route.id]===void 0);if(t.route.lazy||c){n.isStatic&&(o=!0),i=s>=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:sD(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||ZD,o&&(s<0&&c===0?(dO(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?w.createElement(n.route.Component,null):n.route.element?n.route.element:e,w.createElement(tO,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?w.createElement(QD,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function rO(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function iO(e){let t=w.useContext(yD);return hE(t,rO(e)),t}function aO(e){let t=w.useContext(bD);return hE(t,rO(e)),t}function oO(e){let t=w.useContext(xD);return hE(t,rO(e)),t}function sO(e){let t=w.useContext(MD);return hE(t,`${e} can only be used on routes that contain a unique "id"`),t}function cO(){let e=w.useContext(ND),t=oO(`useRouteError`),n=sO(`useRouteError`);return e===void 0?t.errors?.[n]:e}function lO(){let{router:e}=iO(`useNavigate`),t=sO(`useNavigate`),n=w.useRef(!1);return w.useLayoutEffect(()=>{n.current=!0}),w.useCallback(async(r,i={})=>{gE(n.current,UD),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var uO={};function dO(e,t,n){!t&&!uO[e]&&(uO[e]=!0,gE(!1,n))}w.memo(fO);function fO({routes:e,manifest:t,state:n,isStatic:r,onError:i}){let a=w.useContext(yD);return hE(a,`You must render this element inside a <DataRouterContext.Provider> element`),YD(e,void 0,{router:a.router,manifest:t,state:n,isStatic:r,onError:i})}function pO({to:e,replace:t,state:n,relative:r}){hE(BD(),`<Navigate> may be used only in the context of a <Router> component.`);let{static:i,navigator:a}=w.useContext(OD);gE(!i,`<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.`);let{matches:o}=w.useContext(AD),{pathname:s}=VD(),c=WD(),l=QE(e,ZE(o),s,r===`path`);mD(typeof e==`string`?e:bE(e),a.createHref(l),dD(a),`reject`);let u=JSON.stringify(l);return w.useEffect(()=>{c(JSON.parse(u),{replace:t,state:n,relative:r})},[c,u,r,t,n]),null}function mO(e){hE(!1,`A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.`)}function hO({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,useTransitions:o}){hE(!BD(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=w.useMemo(()=>({basename:s,navigator:i,static:a,useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=xE(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,mask:m}=n,h=w.useMemo(()=>{let e=KE(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);return gE(h!=null,`<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:w.createElement(OD.Provider,{value:c},w.createElement(kD.Provider,{children:t,value:h}))}function gO({children:e,location:t}){return JD(_O(e),t)}w.Component;function _O(e,t=[]){let n=[];return w.Children.forEach(e,(e,r)=>{if(!w.isValidElement(e))return;let i=[...t,r];if(e.type===w.Fragment){n.push.apply(n,_O(e.props.children,i));return}hE(e.type===mO,`[${typeof e.type==`string`?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let a=e.props;hE(!a.index||!a.children,`An index route cannot have child routes.`);let o={id:a.id||i.join(`-`),caseSensitive:a.caseSensitive,element:a.element,Component:a.Component,index:a.index,path:a.path,middleware:a.middleware,loader:a.loader,action:a.action,hydrateFallbackElement:a.hydrateFallbackElement,HydrateFallback:a.HydrateFallback,errorElement:a.errorElement,ErrorBoundary:a.ErrorBoundary,shouldRevalidate:a.shouldRevalidate,handle:a.handle,lazy:a.lazy};a.children&&(o.children=_O(a.children,i)),n.push(o)}),n}var vO=`application/x-www-form-urlencoded`;function yO(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function bO(e){return yO(e)&&e.tagName.toLowerCase()===`button`}function xO(e){return yO(e)&&e.tagName.toLowerCase()===`form`}function SO(e){return yO(e)&&e.tagName.toLowerCase()===`input`}function CO(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function wO(e,t){return e.button===0&&(!t||t===`_self`)&&!CO(e)}function TO(e=``){return new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function EO(e,t){let n=TO(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var DO=null;function OO(){if(DO===null)try{new FormData(document.createElement(`form`),0),DO=!1}catch{DO=!0}return DO}var kO=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function AO(e){return e!=null&&!kO.has(e)?(gE(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${vO}"`),null):e}function jO(e,t){let n,r,i,a,o;if(xO(e)){let o=e.getAttribute(`action`);r=o?KE(o,t):null,n=e.getAttribute(`method`)||`get`,i=AO(e.getAttribute(`enctype`))||vO,a=new FormData(e)}else if(bO(e)||SO(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?KE(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||`get`,i=AO(e.getAttribute(`formenctype`))||AO(o.getAttribute(`enctype`))||vO,a=new FormData(o,e),!OO()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if(yO(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=`get`,r=null,i=vO,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}function MO(e,t){if(e===!1||e==null)throw Error(t)}function NO(e,t){let n=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return n.pathname=n.pathname.endsWith(`/`)?`${n.pathname}_.${t}`:`${n.pathname}.${t}`,n}async function PO(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function FO(e){return e!=null&&typeof e.page==`string`}function IO(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function LO(e,t,n){return HO((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await PO(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(IO).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function RO(e,t,n,r,i,a){let o=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function zO(e,t,{includeHydrateFallback:n}={}){return BO(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function BO(e){return[...new Set(e)]}function VO(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function HO(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!FO(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(VO(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}var UO=w.createContext(void 0);UO.displayName=`FrameworkContext`;function WO(){let e=w.useContext(UO);return MO(e,`You must render this element inside a <HydratedRouter> element`),e}function GO(e,t){let n=w.useContext(UO),[r,i]=w.useState(!1),[a,o]=w.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=w.useRef(null);w.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),w.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:KO(s,p),onBlur:KO(c,m),onMouseEnter:KO(l,p),onMouseLeave:KO(u,m),onTouchStart:KO(d,p)}]:[a,f,{}]:[!1,f,{}]}function KO(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function qO({page:e,...t}){let n=wD(),{nonce:r}=WO(),{router:i}=iO(`PrefetchPageLinks`),a=w.useMemo(()=>i.match(e),[i,i.routes,e]);return a?(t.nonce==null&&r&&(t={...t,nonce:r}),n?w.createElement(YO,{page:e,matches:a,...t}):w.createElement(XO,{page:e,matches:a,...t})):null}function JO(e){let{manifest:t,routeModules:n}=WO(),[r,i]=w.useState([]);return w.useEffect(()=>{let r=!1;return LO(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function YO({page:e,matches:t,...n}){let r=VD(),i=w.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=NO(e,`rsc`),i=!1,a=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?i=!0:a.push(e.route.id);return i&&a.length>0&&n.searchParams.set(`_routes`,a.join(`,`)),[n.pathname+n.search]},[e,r,t]);return w.createElement(w.Fragment,null,i.map(e=>w.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function XO({page:e,matches:t,...n}){let r=VD(),{manifest:i,routeModules:a}=WO(),{matches:o}=aO(`PrefetchPageLinks`),{loaderData:s}=oO(`PrefetchPageLinks`),c=w.useMemo(()=>RO(e,t,o,i,r,`data`),[e,t,o,i,r]),l=w.useMemo(()=>RO(e,t,o,i,r,`assets`),[e,t,o,i,r]),u=w.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,o=!1;if(t.forEach(e=>{let t=i.routes[e.route.id];t&&t.hasLoader&&(!c.some(t=>t.route.id===e.route.id)&&e.route.id in s&&a[e.route.id]?.shouldRevalidate||t.hasClientLoader?o=!0:n.add(e.route.id))}),n.size===0)return[];let l=NO(e,`data`);return o&&n.size>0&&l.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[l.pathname+l.search]},[s,r,i,c,t,e,a]),d=w.useMemo(()=>zO(l,i),[l,i]),f=JO(l);return w.createElement(w.Fragment,null,u.map(e=>w.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),d.map(e=>w.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),f.map(({key:e,link:t})=>w.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function ZO(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}var QO=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{QO&&(window.__reactRouterVersion=`8`)}catch{}function $O({basename:e,children:t,useTransitions:n,window:r}){let i=w.useRef(null);i.current??=mE({window:r,v5Compat:!0});let a=i.current,[o,s]=w.useState({action:a.action,location:a.location}),c=w.useCallback(e=>{n===!1?s(e):w.startTransition(()=>s(e))},[n]);return w.useLayoutEffect(()=>a.listen(c),[a,c]),w.createElement(hO,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,useTransitions:n})}var ek=w.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,useTransitions:_}=w.useContext(OD),v=typeof l==`string`&&lE.test(l),y=lD(l,h);l=y.to;let b=zD(l,{relative:r}),x=VD(),S=null;if(o){let e=QE(o,[],x.mask?x.mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:eD([h,e.pathname])),S=g.createHref(e)}let[C,T,E]=GO(n,p),ee=rk(l,{replace:a,mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,defaultShouldRevalidate:f,useTransitions:_});function te(t){e&&e(t),t.defaultPrevented||ee(t)}let ne=!(y.isExternal||i),re=w.createElement(`a`,{...p,...E,href:(ne?S:void 0)||y.absoluteURL||b,onClick:ne?te:e,ref:ZO(m,T),target:c,"data-discover":!v&&t===`render`?`true`:void 0});return C&&!v?w.createElement(w.Fragment,null,re,w.createElement(qO,{page:b})):re});ek.displayName=`Link`;var tk=w.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:i,to:a,viewTransition:o,children:s,...c},l){let u=qD(a,{relative:c.relative}),d=VD(),f=w.useContext(SD),{navigator:p,basename:m}=w.useContext(OD),h=f!=null&&lk(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,_=d.pathname,v=f?.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),v=v?v.toLowerCase():null,g=g.toLowerCase()),v&&m&&(v=KE(v,m)||v);let y=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,b=_===g||!r&&_.startsWith(g)&&_.charAt(y)===`/`,x=v!=null&&(v===g||!r&&v.startsWith(g)&&v.charAt(y)===`/`),S={isActive:b,isPending:x,isTransitioning:h},C=b?e:void 0,T;T=typeof n==`function`?n(S):[n,b?`active`:null,x?`pending`:null,h?`transitioning`:null].filter(Boolean).join(` `);let E=typeof i==`function`?i(S):i;return w.createElement(ek,{...c,"aria-current":C,className:T,ref:l,style:E,to:a,viewTransition:o},typeof s==`function`?s(S):s)});tk.displayName=`NavLink`;var nk=w.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=`get`,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...p},m)=>{let{useTransitions:h}=w.useContext(OD),g=sk(),_=ck(s,{relative:l}),v=o.toLowerCase()===`get`?`get`:`post`,y=typeof s==`string`&&lE.test(s);return w.createElement(`form`,{ref:m,method:v,action:_,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f});h&&n!==!1?w.startTransition(()=>p()):p()},...p,"data-discover":!y&&e===`render`?`true`:void 0})});nk.displayName=`Form`;function rk(e,{target:t,replace:n,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c,useTransitions:l}={}){let u=WD(),d=VD(),f=qD(e,{relative:o});return w.useCallback(p=>{if(wO(p,t)){p.preventDefault();let t=n===void 0?bE(d)===bE(f):n,m=()=>u(e,{replace:t,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c});l?w.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}function ik(e){gE(typeof URLSearchParams<`u`,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=w.useRef(TO(e)),n=w.useRef(!1),r=VD(),i=w.useMemo(()=>EO(r.search,n.current?null:t.current),[r.search]),a=WD();return[i,w.useCallback((e,t)=>{let r=TO(typeof e==`function`?e(new URLSearchParams(i)):e);n.current=!0,a(`?`+r,t)},[a,i])]}var ak=0,ok=()=>`__${String(++ak)}__`;function sk(){let{router:e}=iO(`useSubmit`),{basename:t}=w.useContext(OD),n=sO(`useSubmit`),r=e.fetch,i=e.navigate;return w.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=jO(e,t);a.navigate===!1?await r(a.fetcherKey||ok(),n,a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,relative:a.relative,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync}):await i(a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,relative:a.relative,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function ck(e,{relative:t}={}){let{basename:n}=w.useContext(OD),r=w.useContext(AD);hE(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...qD(e||`.`,{relative:t})},o=VD();if(e==null){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();a.search=n?`?${n}`:``}}return(!e||e===`.`)&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(a.pathname=a.pathname===`/`?n:eD([n,a.pathname])),bE(a)}function lk(e,{relative:t}={}){let n=w.useContext(TD);hE(n!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=iO(`useViewTransitionState`),i=qD(e,{relative:t});if(!n.isTransitioning)return!1;let a=KE(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=KE(n.nextLocation.pathname,r)||n.nextLocation.pathname;return HE(i.pathname,o)!=null||HE(i.pathname,a)!=null}var uk=cE(),dk=e=>{var{status:t,toast:n,onClose:r}=e,i=yl(e,[`status`,`toast`,`onClose`]);let{type:a,label:o,description:s,variant:c}=n;return k(`div`,{class:B(`kol-toast-item`,`kol-toast-item--`+t)},k(wd,{alert:!0,class:`kol-toast-item__alert`,closerAriaDescriptionId:Cu(),handleCloserClick:r,hasCloser:!0,headingId:wu(`alert-heading`),label:o,level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:a,variant:c||`card`},k(`div`,Object.assign({},i),s)))},fk=j(class extends un{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.state={_toastStates:[]},this.translateToastCloseAll=G(`kol-toast-close-all`),this.knownRenderFunctions=new Set}enqueue(e){let t={toast:Object.assign(Object.assign({},e),{variant:`card`}),status:`adding`,id:wu(`toast`)};return this.state=Object.assign(Object.assign({},this.state),{_toastStates:[t,...this.state._toastStates]}),setTimeout((()=>{this.state=Object.assign(Object.assign({},this.state),{_toastStates:this.state._toastStates.map((e=>e.id===t.id&&e.status!==`removing`?Object.assign(Object.assign({},e),{status:`settled`}):e))})}),300),Promise.resolve((()=>{this.handleClose(t)}))}closeAll(e=!1){if(e)this.state=Object.assign(Object.assign({},this.state),{_toastStates:[]}),this.knownRenderFunctions.clear();else{let e=[...this.state._toastStates];this.state=Object.assign(Object.assign({},this.state),{_toastStates:e.map((e=>Object.assign(Object.assign({},e),{status:`removing`})))}),setTimeout((()=>{this.state=Object.assign(Object.assign({},this.state),{_toastStates:this.state._toastStates.filter((t=>e.every((e=>e.id!==t.id))))}),e.forEach((e=>{var t,n;typeof e.toast.render==`function`&&this.knownRenderFunctions.delete(e.toast.render),(n=(t=e.toast).onClose)==null||n.call(t)}))}),300)}return Promise.resolve()}componentWillLoad(){Wi.warn(`kol-toast-container is deprecated and will be removed in the next major version. Use kol-alert for inline notifications or kol-dialog for interactive messages instead. See https://github.com/public-ui/kolibri/issues/8372`)}handleClose(e){let t=this.state._toastStates.find((t=>t.id===e.id));t&&t.status!==`removing`&&(this.state=Object.assign(Object.assign({},this.state),{_toastStates:this.state._toastStates.map((t=>t.id===e.id?Object.assign(Object.assign({},t),{status:`removing`}):t))}),setTimeout((()=>{var t,n;this.state=Object.assign(Object.assign({},this.state),{_toastStates:this.state._toastStates.filter((t=>t.id!==e.id))}),typeof e.toast.render==`function`&&this.knownRenderFunctions.delete(e.toast.render),(n=(t=e.toast).onClose)==null||n.call(t)}),300))}handleToastRef(e,t){t&&typeof e.toast.render==`function`&&!this.knownRenderFunctions.has(e.toast.render)&&(this.knownRenderFunctions.add(e.toast.render),e.toast.render(t,{close:()=>this.handleClose(e)}))}render(){return k(A,{key:`9bca1a8919b9f64936b824ccc9e5cb3b6f5e43cc`,class:`kol-toast-container`},this.state._toastStates.length>1&&k(`kol-button`,{key:`d1aaa6bf383d3cbac3ceadc8af6e57797dee2425`,_label:this.translateToastCloseAll,class:`kol-toast-container__button-close-all`,_on:{onClick:()=>{this.closeAll()}}}),this.state._toastStates.map((e=>k(dk,{key:e.id,onClose:()=>this.handleClose(e),ref:t=>this.handleToastRef(e,t),toast:e.toast,status:e.status}))))}static get style(){return{default:`@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: "​"; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } :host { display: flex; position: fixed; z-index: 200; max-width: 90vw; flex-direction: column; } .kol-toast-container__close-all { align-self: flex-end; } }`}}},[33,`kol-toast-container`,{state:[32],enqueue:[64],closeAll:[64]}]),pk=function(){typeof customElements<`u`&&[`kol-toast-container`,`kol-button`].forEach((e=>{switch(e){case`kol-toast-container`:customElements.get(M(e))||customElements.define(M(e),fk);break;case`kol-button`:customElements.get(M(e))||mm()}}))},mk={name:`@public-ui/components`,version:`5.0.0-beta.2`,license:`EUPL-1.2`,homepage:`https://public-ui.github.io`,repository:{type:`git`,url:`https://github.com/public-ui/kolibri`},bugs:{url:`https://github.com/public-ui/kolibri/issues`,email:`kolibri@itzbund.de`},author:{name:`Informationstechnikzentrum Bund`,email:`kolibri@itzbund.de`},main:`dist/index.cjs.js`,module:`dist/index.js`,bin:{"kolibri-copy-assets":`./copy-assets.mjs`},exports:{".":{types:`./dist/types/index.d.ts`,import:`./dist/index.js`,require:`./dist/index.cjs.js`},"./assets/*":`./assets/*`,"./custom-elements":`./dist/components/index.js`,"./custom-elements/*":`./dist/components/*`,"./custom-elements.json":`./custom-elements.json`,"./dist/components":`./dist/components/index.js`,"./dist/components/*":`./dist/components/*`,"./loader":{types:`./loader/index.d.ts`,import:`./loader/index.mjs`,require:`./dist/loader/index.cjs.js`},"./package.json":`./package.json`},customElements:`custom-elements.json`,es2015:`dist/esm/index.mjs`,es2017:`dist/esm/index.mjs`,types:`dist/types/index.d.ts`,unpkg:`dist/stencil/stencil.js`,"collection:main":`dist/collection/index.js`,collection:`dist/collection/collection-manifest.json`,sideEffects:!0,description:`Contains all web components that belong to KoliBri - The accessible HTML-Standard.`,keywords:[`accessibility`,`accessible`,`bitv`,`framework`,`library`,`designsystem`,`design`,`system`,`web components`,`webcomponents`,`aria`,`wai`,`axe`,`custom elements`,`styleguide`,`style`,`guide`,`ui`,`html`,`css`,`web`,`a11y`,`w3c`,`webstandard`,`wcag`],scripts:{"assets:kolicons":`pnpm --filter @public-ui/icons build`,build:`pnpm build:light`,"build:light":`node -e "require('node:fs').mkdirSync('doc', { recursive: true })" && cross-env NODE_ENV=production stencil build --docs --prod && node scripts/react-codemod.mjs && node scripts/angular-codemod.mjs && node scripts/vue-codemod.mjs && node scripts/autogen.doc.js && node scripts/vaadin.js && node scripts/stash-source-maps.mjs && pnpm format -w`,clear:`rimraf -g dist doc source-maps www ../adapters/angular/v20/src ../adapters/angular/v21/src ../adapters/hydrate/dist ../adapters/react/src ../adapters/react-v19/src ../adapters/solid/src ../adapters/vaadin/*.java ../adapters/vue/src`,format:`prettier --check src`,lint:`pnpm lint:eslint && pnpm lint:stylelint && pnpm lint:tsc && pnpm lint:i18n`,"lint:eslint":`eslint src`,"lint:i18n":`tsx scripts/lint-i18n.ts`,"lint:stylelint":`stylelint "src/**/*.{css,scss}"`,"lint:stylelint:components":`stylelint src/components/**/*.{css,scss}`,"lint:tsc":`tsc --noemit`,dev:`cross-env NODE_ENV=development stencil build --prod --watch`,prod:`stencil build --prod`,test:`pnpm test:unit && pnpm test:e2e`,"test:e2e":`playwright test`,"test:unit":`node -e "require('node:fs').mkdirSync('dist', { recursive: true })" && cross-env NODE_ENV=test stencil test --spec --json --outputFile dist/jest-test-results.json`,"test:update:unit":`pnpm test:unit -u`,"test:watch":`cross-env NODE_ENV=test stencil test --spec --watchAll`,"prebuild:light":`pnpm clear`,"pretest:e2e":`pnpm assets:kolicons`,unused:`knip`,"build:size":`cross-env KOLIBRI_SOURCE_MAP=true pnpm build`,size:`kolibri-size-gate components`,"size:analyze":`kolibri-size-gate components --mode analysis`,"size:update":`kolibri-size-gate components --update`},dependencies:{"@floating-ui/dom":`1.8.0`,"color-convert":`3.1.3`,"color-rgba":`2.4.0`,"lodash-es":`4.18.1`,"rgba-convert":`0.3.0`,"typed-bem":`1.0.2`,"wcag-contrast":`3.0.0`},devDependencies:{"@jest/globals":`29.7.0`,"@playwright/test":`1.63.0`,"@public-ui/eslint-config":`workspace:*`,"@public-ui/icons":`workspace:*`,"@public-ui/size-gate":`workspace:*`,"@public-ui/stencil-solid-output-target":`0.2.0`,"@public-ui/stylelint-rules":`workspace:*`,"@revolist/svelte-output-target":`0.0.7`,"@stencil-community/postcss":`2.2.0`,"@stencil/angular-output-target":`1.6.0`,"@stencil/core":`4.45.3`,"@stencil/playwright":`0.6.1`,"@stencil/react-output-target":`1.8.1`,"@stencil/sass":`3.3.3`,"@stencil/vue-output-target":`0.15.0`,"@types/jest":`29.5.14`,"@types/lodash-es":`4.17.12`,"@types/node":`26.4.0`,"@types/wcag-contrast":`3.0.3`,"adopted-style-sheets":`1.2.0-rc.3`,autoprefixer:`10.6.1`,"cross-env":`10.1.0`,cssnano:`8.0.10`,eslint:`9.39.5`,"eslint-plugin-perfectionist":`5.12.1`,jest:`29.7.0`,"jest-cli":`29.7.0`,knip:`6.42.1`,postcss:`8.5.31`,"postcss-sorting":`10.0.0`,prettier:`3.9.10`,"prettier-plugin-organize-imports":`4.3.0`,rimraf:`6.1.3`,stylelint:`17.16.0`,tslib:`2.8.1`,tsx:`4.23.15`,typescript:`5.9.3`},peerDependencies:{"adopted-style-sheets":`1.2.0-rc.3`},files:[`assets`,`copy-assets.mjs`,`dist`,`doc`,`custom-elements.json`,`index.scss`,`loader`,`vscode-custom-data.json`]},hk=y((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),X=y(((e,t)=>{t.exports=hk()}))(),gk=()=>(0,X.jsxs)(pT,{_label:`This is an example page`,_level:0,_type:`info`,children:[(0,X.jsx)(`p`,{children:`You followed an example link.`}),history.length>1&&(0,X.jsx)(K,{_label:`Go Back`,_on:{onClick:()=>history.back()}})]});function _k(){let e=matchMedia(`(max-width: 1023px)`),[t,n]=(0,w.useState)(e.matches);return(0,w.useEffect)(()=>{let t=e=>{n(e.matches)};return e.addEventListener(`change`,t),()=>{e.removeEventListener(`change`,t)}},[e]),t}function vk(e){return typeof e==`object`&&!!e}function yk(e){if(!vk(e))return e;let t={};for(let[n,r]of Object.entries(e))t[n]=yk(r);return t}function bk(e){return e.trim().toLowerCase().split(/\s+/).filter(Boolean)}function xk(e,t){let n=e.map(e=>e.toLowerCase()),r=n.join(`/`);return t.every(e=>n.some(t=>t.includes(e))||r.includes(e))}function Sk(e,t,n){let r={};for(let[i,a]of Object.entries(e)){let e=[...n,i];if(xk(e,t))r[i]=yk(a);else if(vk(a)){let n=Sk(a,t,e);Object.keys(n).length>0&&(r[i]=n)}}return r}function Ck(e,t){let n=bk(t);return n.length===0?yk(e):Sk(e,n,[])}function wk({children:e}){return(0,X.jsx)(`div`,{className:`mt scrollable-container`,children:e})}function Tk({label:e,to:t,children:n,open:r}){let i=zD(t),a=HD({path:qD(t).pathname,end:!0});return(0,X.jsx)(eE,{_label:e,_href:i,_active:!!a,_open:r,children:n})}function Ek({routes:e}){let[t,n]=(0,w.useState)(``),r=(0,w.useMemo)(()=>Ck(e,t),[e,t]),i=(e,t)=>Object.keys(t).map(t=>{let n=e===`tree`&&t===`basic/:subPage`;return(0,X.jsx)(Tk,{label:n?`basic`:t,to:[e,n?`basic/home`:t].join(`/`)},[e,t].join(`/`))}),a=Object.entries(r).map(([e,n])=>(0,X.jsx)(Tk,{label:e,to:e,open:!!t,children:i(e,n)},e));return(0,X.jsxs)(wk,{children:[(0,X.jsx)(J,{_label:`Suche`,_on:{onInput:e=>{let t=e.target;n(t.value)}}}),(0,X.jsx)(`nav`,{className:`main-nav`,children:(0,X.jsx)($T,{_label:`Navigation`,class:`block`,children:a})})]})}var Dk=(e,t)=>e.find(e=>e.key===t)?.name??t,Ok=({buildDate:e,commitHash:t})=>!e&&!t?``:(0,X.jsx)(`div`,{className:`text-sm font-mono color-gray-5 m-t-2`,children:e&&t?(0,X.jsxs)(X.Fragment,{children:[`Build: `,t,(0,X.jsx)(`br`,{}),`at `,e]}):t?`Build: ${t}`:`Build date: ${e}`}),kk=[{label:`Auto (follow the OS)`,value:`auto`},{label:`Light`,value:`light`},{label:`Dark (untested)`,value:`dark`}],Ak=({version:e,themes:t,theme:n,routes:r,routeList:i,sample:a,buildDate:o,commitHash:s,colorScheme:c,supportsDark:l,onThemeChange:u,onColorSchemeChange:d})=>{let f=()=>i.indexOf(a),p=()=>a.replace(/\//g,` `),m=(e,t)=>{u(t)},h=(e,t)=>{d(t)},g=l?void 0:`The ${Dk(t,n)} theme has no dark palette yet, so the scheme stays light.`,_=()=>{let e=f(),t=e<=0?i.length-1:e-1;location.replace(`#${i[t]}`)},v=()=>{let e=f(),t=e===i.length-1?0:e+1;location.replace(`#${i[t]}`)},y=(0,w.useMemo)(()=>t.map(e=>({label:e.name,value:e.key})),[t]),b=_k(),x=VD();(0,w.useEffect)(()=>{S.current?.close()},[x]);let S=(0,w.useRef)(null);return(0,X.jsx)(`aside`,{className:`app-sidebar p-4`,children:(0,X.jsxs)(`div`,{className:`scrollable-container-wrapper`,children:[(0,X.jsxs)(`div`,{className:`flex flex-justify-between flex-items-center`,children:[(0,X.jsx)(q,{_label:`KoliBri React`}),(0,X.jsx)(tE,{_label:e})]}),(0,X.jsx)(Ok,{buildDate:o,commitHash:s}),b?``:(0,X.jsx)(UT,{_label:`Theme`,_options:y,_on:{onChange:m},_value:n,class:`mt`}),b?``:(0,X.jsx)(UT,{_label:`Color scheme`,_disabled:!l,_hint:g,_options:kk,_on:{onChange:h},_value:c,class:`mt`}),b?``:(0,X.jsx)(q,{_label:`Components`,_level:2,className:`block mt`}),(0,X.jsxs)(`div`,{className:`flex flex-justify-between flex-items-center mt`,children:[(0,X.jsx)(K,{_icons:`kolicon-chevron-left`,_hideLabel:!0,_label:`Previous component`,_on:{onClick:_}}),b?(0,X.jsxs)(`div`,{className:`flex gap-4 flex-items-center`,children:[(0,X.jsxs)(`span`,{className:`text-base text-center`,children:[p(),` (`,f()+1,`/`,i.length,`)`]}),(0,X.jsx)(K,{_label:`Navigation`,_hideLabel:!0,_icons:{right:`kolicon-settings`},_on:{onClick:()=>S.current?.showModal()}})]}):(0,X.jsxs)(`span`,{className:`text-base text-center`,children:[p(),` (`,f()+1,`/`,i.length,`)`]}),(0,X.jsx)(K,{_icons:`kolicon-chevron-right`,_hideLabel:!0,_label:`Next component`,_on:{onClick:v}})]}),b?(0,X.jsxs)(ST,{_align:`top`,_label:`Navigation`,_hasCloser:!0,ref:S,children:[(0,X.jsx)(UT,{_label:`Theme`,_options:y,_on:{onChange:m},_value:n,class:`mt`}),(0,X.jsx)(UT,{_label:`Color scheme`,_disabled:!l,_hint:g,_options:kk,_on:{onChange:h},_value:c,class:`mt`}),(0,X.jsx)(q,{_label:`Components`,_level:2,className:`block mt`}),(0,X.jsx)(Ek,{routes:r})]}):(0,X.jsx)(Ek,{routes:r})]})})},jk=[`auto`,`light`,`dark`],Mk=`data-kol-color-scheme`,Nk=`public-ui.sample.color-scheme`;function Pk(e){return typeof e==`string`&&jk.includes(e)}function Fk(e){let{documentElement:t}=document;e===`auto`?(t.removeAttribute(Mk),t.style.removeProperty(`color-scheme`)):(t.setAttribute(Mk,e),t.style.setProperty(`color-scheme`,e))}function Ik(e){try{localStorage.setItem(Nk,e)}catch{}}function Lk(){try{let e=localStorage.getItem(Nk);return Pk(e)?e:`auto`}catch{return`auto`}}var Rk=`colorScheme`,zk=e=>{let[t]=ik(),n=t.get(Rk),[r,i]=(0,w.useState)(()=>Pk(n)?n:Lk());(0,w.useEffect)(()=>{i(Pk(n)?n:Lk())},[n]);let a=e?r:`light`;(0,w.useEffect)(()=>{Fk(a)},[a]);let o=(0,w.useRef)(a);return o.current=a,[a,(0,w.useCallback)(e=>{o.current!==e&&(i(e),Ik(e))},[])]},Bk=()=>{ae(`#`+VD().pathname)},Vk=`data-visual-blocks`,Hk=`public-ui.sample.visual-blocks`,Uk=`data-visual-block-skipped`,Wk=`visual-block-outline-style`,Gk=`
25
+ html[${Vk}] [data-visual-block] {
26
+ outline: 2px solid darkblue;
27
+ outline-offset: 0;
28
+ }
29
+ html[${Vk}] [${Uk}] {
30
+ outline: 2px solid orangered;
31
+ outline-offset: 0;
32
+ }
33
+ `;function Kk(){if(document.getElementById(Wk))return;let e=document.createElement(`style`);e.id=Wk,e.textContent=Gk,document.head.appendChild(e)}function qk(){return document.documentElement.hasAttribute(Vk)}function Jk(e,t=!0){if(Kk(),e?document.documentElement.setAttribute(Vk,``):document.documentElement.removeAttribute(Vk),t)try{localStorage.setItem(Hk,e?`1`:`0`)}catch{}}function Yk(){let e=!qk();return Jk(e),e}function Xk(){try{return localStorage.getItem(Hk)===`1`}catch{return!1}}var Zk=`visualBlocks`,Qk=[`0`,`false`,`off`],$k=()=>{let[e]=ik(),t=e.get(Zk);(0,w.useEffect)(()=>{Jk(t===null?Xk():!Qk.includes(t.toLowerCase()),!1)},[t]),(0,w.useEffect)(()=>{let e=e=>{e.ctrlKey&&e.altKey&&!e.shiftKey&&e.key.toLowerCase()===`b`&&(e.preventDefault(),Yk())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[])},eA=(0,w.createContext)(null);function tA(e){return e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase().replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)}var nA={width:`fit-content`},Z=({id:e,heading:t,level:n=2,className:r,fitContent:i,narrow:a,skipSnapshot:o,children:s,...c})=>(0,X.jsxs)(`section`,{...c,children:[t?(0,X.jsx)(q,{_level:n,_label:t}):null,(0,X.jsx)(`div`,{"data-visual-block":o?void 0:e,"data-visual-block-skipped":o?e:void 0,"data-visual-narrow":a&&!o?``:void 0,className:r??`grid gap-4`,style:i?nA:void 0,children:s})]}),rA=`https://public-ui.github.io/docs/components`,iA=`https://github.com/public-ui/kolibri/blob/develop/packages/samples/react/src/components`,aA=`I am an error message!`,oA=`I am a hint.`,Q=e=>{let t=(0,w.useContext)(eA),n=VD(),r=n.pathname.split(`/`).slice(1),i=(0,w.useMemo)(()=>r[0]===`scenarios`?null:`${rA}/${r[0]}`,[r]),a=(0,w.useMemo)(()=>r[0]===`scenarios`?null:`${iA}/${r[0]}/${r[1]}.tsx`,[r]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(`h1`,{className:`visually-hidden`,children:n.pathname.replace(/\//g,` `)}),t?null:(0,X.jsxs)(`div`,{className:`grid sm:flex gap-4 justify-between pb-sm border-b-1 border-b-solid border-gray mb-2`,children:[(0,X.jsx)(`div`,{className:`indented-text`,children:e.children}),(0,X.jsxs)(`ul`,{className:`flex flex-wrap gap-2 list-none m-0 p-0`,children:[a&&(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:a,_label:`Code`,_target:`_blank`})}),i&&(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:i,_label:`Documentation`,_target:`_blank`})}),(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:`#${n.pathname}?hideMenus`,_label:`Standalone example`,_target:`_blank`})})]})]})]})},sA={abbr:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolAbbr shows an abbreviation.`})}),(0,X.jsx)(Z,{id:`basic`,fitContent:!0,children:(0,X.jsxs)(`span`,{children:[`I am `,(0,X.jsx)(dT,{children:`e.g.`}),` an abbreviation.`]})})]})}},cA={accordion:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolAccordion hides its content until opened. The open state can be toggled by clicking the headline or by setting the `,(0,X.jsx)(`code`,{children:`_open`}),`-prop programmatically. Additionally, the sample shows the disabled state for a closed and an open accordion.`]})}),(0,X.jsxs)(Z,{id:`basic`,children:[(0,X.jsx)(fT,{_label:`Heading Accordion Tab 1 (open)`,_open:!0,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 1`})}),(0,X.jsx)(fT,{_label:`Heading Accordion Tab 2`,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 2`})}),(0,X.jsx)(fT,{_label:`Heading Accordion Tab 3 (deactivated)`,_disabled:!0,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 3`})}),(0,X.jsx)(fT,{_label:`Heading Accordion Tab 4 (disabled and open)`,_disabled:!0,_open:!0,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 4`})})]})]}),headlines:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolAccordion with the different heading levels from 1-6.`})}),(0,X.jsxs)(Z,{id:`headlines`,children:[(0,X.jsx)(fT,{_label:`Heading Level 1`,_level:1,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 1`})}),(0,X.jsx)(fT,{_label:`Heading Level 2`,_level:2,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 2`})}),(0,X.jsx)(fT,{_label:`Heading Level 3`,_level:3,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 3`})}),(0,X.jsx)(fT,{_label:`Heading Level 4`,_level:4,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 4`})}),(0,X.jsx)(fT,{_label:`Heading Level 5`,_level:5,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 5`})}),(0,X.jsx)(fT,{_label:`Heading Level 6`,_level:6,children:(0,X.jsx)(`p`,{children:`Contents Accordion Tab 6`})})]})]}),multiple:()=>{let[e,t]=(0,w.useState)(0);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Multiple KolAccordions. The first is opened initially. Opening one accordion closes the others.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(fT,{_label:`Heading Accordion Tab 1 (initially open)`,_open:e===0,_on:{onClick:()=>t(0)},children:(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})}),(0,X.jsx)(fT,{_label:`Heading Accordion Tab 2`,_open:e===1,_on:{onClick:()=>t(1)},children:(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})}),(0,X.jsx)(fT,{_label:`Heading Accordion Tab 3`,_open:e===2,_on:{onClick:()=>t(2)},children:(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})})]})]})}}},lA=({level:e,type:t,variant:n})=>(0,X.jsx)(X.Fragment,{children:(0,X.jsxs)(Z,{id:t,className:`flex flex-col gap-2`,children:[(0,X.jsx)(pT,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:t,_variant:n,children:`This is the text of the alert.`}),(0,X.jsx)(pT,{_type:t,_variant:n,children:`In this alert, only the text without the heading is used.`}),(0,X.jsx)(pT,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:t,_variant:n,_hasCloser:!0,children:`This is the text of the alert. With close button.`}),(0,X.jsx)(pT,{_type:t,_variant:n,_hasCloser:!0,children:`In this alert, only the text without the heading is used. With close button.`})]})}),uA=({variant:e=`msg`})=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(lA,{level:1,type:`default`,variant:e}),(0,X.jsx)(lA,{level:2,type:`error`,variant:e}),(0,X.jsx)(lA,{level:3,type:`info`,variant:e}),(0,X.jsx)(lA,{level:4,type:`success`,variant:e}),(0,X.jsx)(lA,{level:5,type:`warning`,variant:e})]}),dA={alert:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolAlert shows messages of different types. This sample illustrates the variant `,(0,X.jsx)(`code`,{children:`msg`}),`, showing all possible types with and without headlines and close buttons.`]})}),(0,X.jsx)(uA,{variant:`msg`})]}),"card-msg":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolAlert shows messages of different types. This sample illustrates the variant `,(0,X.jsx)(`code`,{children:`card`}),`, showing all possible types with and without headlines and close buttons.`]})}),(0,X.jsx)(`section`,{className:`w-full`,children:(0,X.jsx)(uA,{variant:`card`})})]})}},fA={avatar:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolAvatar shows a user's avatar with customizable colors. It can be used with or without an image. If no image is defined, the name's initials are shown instead with a configurable background color.`})}),(0,X.jsxs)(Z,{className:`flex gap-2`,id:`basic`,fitContent:!0,children:[(0,X.jsx)(mT,{_src:`assets/img_avatar.jpg`,_label:`Elke Mustermann`}),(0,X.jsx)(mT,{_label:`Elke Mustermann `}),(0,X.jsx)(mT,{_label:`Marianne`}),(0,X.jsx)(mT,{_color:`#0000FF`,_label:`Christian`})]})]}),size:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolAvatar is `,(0,X.jsx)(`code`,{children:`6.25rem`}),` (100px at the default 16px root font-size) wide/tall by default and simply fills its host element, so it can be resized proportionally with plain CSS `,(0,X.jsx)(`code`,{children:`width`}),` and/or `,(0,X.jsx)(`code`,{children:`height`}),` (set through the `,(0,X.jsx)(`code`,{children:`style`}),` prop). Setting only`,` `,(0,X.jsx)(`code`,{children:`width`}),` is the reliable way to size it below the default. If `,(0,X.jsx)(`code`,{children:`width`}),` and `,(0,X.jsx)(`code`,{children:`height`}),` are set to different values, the avatar stays square by using the larger of the two - it is centered on its host and may visually extend beyond it on the smaller axis. The initials' font size always scales with the resulting size automatically.`]})}),(0,X.jsxs)(Z,{className:`flex flex-wrap items-center gap-4`,id:`size`,fitContent:!0,children:[(0,X.jsx)(mT,{style:{width:`30px`},_label:`Elke Mustermann`}),(0,X.jsx)(mT,{style:{width:`30px`,height:`45px`},_label:`Marianne`}),(0,X.jsx)(mT,{style:{width:`60px`,height:`30px`},_color:`#0000FF`,_label:`Christian`}),(0,X.jsx)(mT,{_src:`assets/img_avatar.jpg`,_label:`Elke Mustermann`}),(0,X.jsx)(mT,{style:{width:`150px`},_src:`assets/img_avatar.jpg`,_label:`Elke Mustermann`})]})]})}},pA={badge:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolBadge shows badges with a label, background color and optional icon. The label supports markdown syntax and the badge can host an optional`,` `,(0,X.jsx)(`code`,{children:`smartButton`}),` – here a "remove" button with X-icon and a click event listener.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsxs)(Z,{id:`basic-vertical`,heading:`Basic Badges vertical`,className:`flex flex-col gap-2`,fitContent:!0,children:[(0,X.jsx)(hT,{_label:`black (default)`}),(0,X.jsx)(hT,{_color:`#06539e`,_label:`blue`}),(0,X.jsx)(hT,{_color:`#ae0000`,_label:`red with icon`,_icons:`kolicon-house`}),(0,X.jsx)(hT,{_color:`#8b008b`,_label:`purple with icon`,_icons:`kolicon-kolibri`})]}),(0,X.jsxs)(Z,{id:`basic-horizontal`,heading:`Basic Badges horizontal`,className:`flex flex-wrap gap-2`,fitContent:!0,children:[(0,X.jsx)(hT,{_label:`black`}),(0,X.jsx)(hT,{_color:`#06539e`,_label:`blue`}),(0,X.jsx)(hT,{_color:`#ae0000`,_label:`red with icon`,_icons:`kolicon-kolibri`})]}),(0,X.jsxs)(Z,{id:`smart-button`,heading:`Badges with Smart Button`,className:`flex flex-col gap-2`,fitContent:!0,children:[(0,X.jsx)(hT,{_color:`#06539e`,_label:`blue`,_smartButton:{_ariaDescription:`blue`,_icons:`kolicon-cross`,_label:`Remove`,_on:{onClick:()=>alert(`clicked`)}}}),(0,X.jsx)(hT,{_color:`#8b008b`,_icons:`kolicon-kolibri`,_label:`purple with icon`,_smartButton:{_ariaDescription:`purple with icon`,_icons:`kolicon-cross`,_label:`Remove`,_on:{onClick:()=>alert(`clicked`)}}})]}),(0,X.jsxs)(Z,{id:`formatted-label`,heading:`Formatted Label`,className:`flex flex-col gap-2`,fitContent:!0,children:[(0,X.jsx)(hT,{_color:`#7db4ebff`,_label:`**Bold** and _italic_ Markdown label`}),(0,X.jsx)(hT,{_color:`#8feb7dff`,_label:`This is ~~strikethrough~~ text`}),(0,X.jsx)(hT,{_color:`#e6ee8eff`,_label:"Source code like `y = mx + n` is possible"})]})]})]})}},mA=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolBreadcrumb shows a breadcrumb navigation. The sample illustrates a variation of link, text and icon elements.`})}),(0,X.jsxs)(Z,{id:`basic`,narrow:!0,children:[(0,X.jsx)(gT,{_label:`Breadcrumb aus Text-Links`,_links:[{_label:`Homepage`,_href:`#/back-page`},{_label:`Bottom of the homepage`,_href:`#/back-page`},{_label:`Underside of the underside`,_href:`#/back-page`}]}),(0,X.jsx)(gT,{_label:`Breadcrumb from icons or text links`,_links:[{_label:`Homepage`,_icons:`kolicon-house`,_hideLabel:!0,_href:`#/back-page`},{_label:`Subpage of the start page with very long link test`,_href:`#/back-page`},{_label:`Underside of the underside`,_href:`#/back-page`}]}),(0,X.jsx)(gT,{_label:`Breadcrumb from icons and text links`,_links:[{_label:`Homepage`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`Subpage of the main page and I_am_a_really_long_compound_word_trying_to_break_the_layout`,_href:`#/back-page`},{_label:`Underside of the underside`,_href:`#/back-page`}]}),(0,X.jsx)(gT,{_label:`Minimal Breadcrumb`,_links:[{_label:`Homepage`,_href:`#/back-page`}]})]})]}),hA=JSON.stringify([{_label:`Homepage`,_icons:`kolicon-house`,_hideLabel:!0,_href:`#/back-page`},{_label:`Services`,_href:`#/back-page`},{_label:`Apply for a permit`,_href:`#/back-page`}]),gA={breadcrumb:{basic:mA,"json-links":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The `,(0,X.jsx)(`code`,{children:`_links`}),` of KolBreadcrumb can also be passed as JSON string, e.g. through an HTML attribute; the result is the same as with an array. Every entry needs an `,(0,X.jsx)(`code`,{children:`_href`}),`, and an entry with `,(0,X.jsx)(`code`,{children:`_hideLabel`}),` shows only its icon.`]})}),(0,X.jsx)(Z,{id:`json-links`,narrow:!0,children:(0,X.jsx)(gT,{_label:`Breadcrumb from a JSON string`,_links:hA})})]})}},_A=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolButtonLink with aria-description`})}),(0,X.jsxs)(Z,{id:`aria-description`,className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(_T,{_label:`Button Text without area description`}),(0,X.jsx)(_T,{_label:`Button Text`,_ariaDescription:`Button Area Description`})]})]});function vA(){let e=e=>{alert(e||`The Element was clicked`)};return{dummyClickEventHandler:()=>{e()},buttonWithTextClickEventHandler:t=>{let n=t.currentTarget.textContent;e(n)}}}var yA={"button-link":{basic:()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolButtonLink shows an element, that behaves like a button but looks like a link. The sample illustrates KolButtonLink with different display-properties such as `,(0,X.jsx)(`code`,{children:`block`}),`, `,(0,X.jsx)(`code`,{children:`inline-block`}),` and `,(0,X.jsx)(`code`,{children:`inline`}),`. It also demonstrates the disabled-state.`]})}),(0,X.jsx)(q,{_level:2,_label:`Button-Link with _inline`}),(0,X.jsxs)(`p`,{children:[`In this paragraph, a link is inserted that contains no additional attributes. `,(0,X.jsx)(_T,{_label:`Simple Link`}),` It is rendered by default as an`,` `,(0,X.jsx)(`strong`,{children:`inline element`}),`.`]}),(0,X.jsxs)(`p`,{children:[`In this paragraph, a link is inserted that is rendered as an inline-block element.`,(0,X.jsx)(_T,{className:`m-4`,style:{display:`inline-block`,border:`1px dotted`},_label:`Simple Link`}),`. This allows you to assign width, height, and other properties to it using CSS styles.`,(0,X.jsx)(`br`,{}),(0,X.jsx)(`br`,{}),`After that, there is a link that is rendered as a block element.`,(0,X.jsx)(_T,{style:{display:`block`},_label:`Simple Link`}),`Therefore, I go over the entire width of the parent element to create a line break.`]}),(0,X.jsx)(q,{_level:2,_label:`Button-Link with _inline={false}`}),(0,X.jsx)(`p`,{children:`Use the boolean _inline property to render the link inline (default) or standalone.`}),(0,X.jsx)(Z,{id:`basic`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,X.jsx)(_T,{_label:`Standalone ButtonLink`,_inline:!1,_on:t})}),(0,X.jsx)(Z,{id:`disabled`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,X.jsx)(_T,{_label:`Disabled ButtonLink`,_disabled:!0,_inline:!1})}),(0,X.jsx)(Z,{id:`access-key`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,X.jsx)(_T,{_label:`With access key`,_accessKey:`c`,_inline:!1,_on:t})}),(0,X.jsx)(Z,{id:`short-key`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,X.jsx)(_T,{_label:`With short key`,_shortKey:`s`,_inline:!1,_on:t})}),(0,X.jsx)(Z,{id:`variant`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,X.jsx)(_T,{_label:`Special Variant ButtonLink`,_variant:`theme-link`})})]})},icons:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolButtonLink with icons in different locations.`})}),(0,X.jsx)(Z,{id:`left`,fitContent:!0,children:(0,X.jsx)(_T,{_icons:`kolicon-house`,_label:`I am a link with an icon on the left`})}),(0,X.jsx)(Z,{id:`right`,fitContent:!0,children:(0,X.jsx)(_T,{_icons:{right:`kolicon-house`},_label:`I am a link with an icon on the right`})}),(0,X.jsx)(Z,{id:`top`,fitContent:!0,children:(0,X.jsx)(_T,{_icons:{top:`kolicon-house`},_label:`I am a link with an icon at the top`})}),(0,X.jsx)(Z,{id:`bottom`,fitContent:!0,children:(0,X.jsx)(_T,{_icons:{bottom:`kolicon-house`},_label:`I am a link with icon below`})}),(0,X.jsx)(Z,{id:`all`,fitContent:!0,children:(0,X.jsx)(_T,{_icons:{top:`kolicon-house`,right:`kolicon-house`,bottom:`kolicon-house`,left:`kolicon-house`},_label:`I am a link with all icons`})}),(0,X.jsx)(Z,{id:`hide-label`,fitContent:!0,children:(0,X.jsx)(_T,{_icons:`kolicon-house`,_hideLabel:!0,_label:`I am a link with icon only`})})]}),"aria-description":_A}},bA=()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This story demonstrates buttons with`,` `,(0,X.jsx)(Y,{_label:`access keys`,_href:`https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey`,_target:`blank`}),`. Access keys allow users to trigger buttons using keyboard shortcuts.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`buttons-access-keys`,heading:`Buttons with Access Keys`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_label:`With S access key`,_accessKey:`S`,_on:t}),(0,X.jsx)(K,{_label:`Very small b`,_accessKey:`b`,_on:t}),(0,X.jsx)(K,{_label:`Access key does not appear in label`,_accessKey:`x`,_on:t})]})}),(0,X.jsx)(Z,{id:`access-key-hidden-label`,heading:`Access Key with Hidden Label`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,X.jsx)(K,{_label:`access key without label`,_hideLabel:!0,_accessKey:`a`,_icons:`kolicon-cogwheel`,_on:t})})}),(0,X.jsx)(Z,{id:`access-key-inline-icons`,heading:`Access Key with Inline Icons`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,X.jsx)(K,{_label:`with inline icons`,_icons:{left:`kolicon-cogwheel`,right:`kolicon-cogwheel`},_accessKey:`n`,_on:t})})})]})]})},xA=()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates buttons with ARIA descriptions. The aria-description attribute provides additional descriptive text for screen readers, helping users understand the button's purpose or action in more detail.`})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsx)(Z,{id:`buttons-aria-description`,heading:`Buttons with and without ARIA Description`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_label:`Button without ARIA description`,_on:t}),(0,X.jsx)(K,{_label:`Button with ARIA description`,_ariaDescription:`This button performs an important action`,_on:t})]})})})]})},SA=()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates button baseline alignment. It shows multiple buttons with and without icons that are vertically aligned, useful for testing layout consistency.`})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsx)(Z,{id:`vertically-aligned-buttons`,heading:`Vertically Aligned Buttons`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,X.jsx)(K,{_label:`Label-Text`,_on:t}),(0,X.jsx)(K,{_icons:`kolicon-cogwheel`,_label:`Label-Text with Icon`,_on:t})]})})})]})},CA={name:`Unstyled (Uncolored)`,key:`unstyled`},wA=[{name:`Default`,key:`default`},{name:`BWSt (v4)`,key:`bwst`},{name:`European Commission (v4)`,key:`ecl-ec`},{name:`European Union (in progress)`,key:`ecl-eu`},{name:`KERN-UX Standard (v2)`,key:`kern-v2`},{name:`Zoll Design System (v11)`,key:`desy-v11`}],TA=[`default`],EA=()=>[CA,...wA],DA=e=>`theme-variant-data:${e}`,OA=e=>`assets/variants/inject-variants_${e}.json`,kA=(e=EA())=>new Map(e.map(({key:e})=>[DA(e),OA(e)])),AA=new Map,jA=new Map,MA=new Set,NA=async(e,t)=>{try{let n=await fetch(t);if(n.status===404)return;if(!n.ok){console.warn(`Error fetching sample app data: HTTP `+n.status);return}let r=await n.json();r&&typeof r==`object`&&!Array.isArray(r)&&AA.set(e,r)}catch(e){console.warn(`Sample app data file could not be loaded or parsed`,e)}},PA=(e,t)=>{let n=jA.get(e);return n||(n=NA(e,t).then(()=>{MA.add(e)}),jA.set(e,n)),n},FA={getValue:e=>AA.get(e),initialize:async e=>{await Promise.all(Array.from(kA(e),([e,t])=>PA(e,t)))},isInitialized:e=>Array.from(kA(e).keys()).every(e=>MA.has(e))};function IA(e,t){let n=FA.getValue(DA(e))?.[t];return Array.isArray(n)?n.filter(e=>typeof e==`string`):[]}var LA=`public-ui.v${mk.version}`,RA=class{store=new Map;setItem(e,t){this.store.set(e,t)}getItem(e){return this.store.get(e)||null}},zA={darkMode:!1,theme:`default`,registeredThemes:[]},BA;function VA(e){BA=e;let t=BA.getItem(LA);try{let e=JSON.parse(t);typeof e==`object`&&e&&(zA.darkMode=e.darkMode===!0,typeof e.theme==`string`&&e.theme.length>0&&(zA.theme=e.theme))}catch{}}VA(new RA);var HA=()=>{BA.setItem(LA,JSON.stringify(zA))},UA=e=>{zA.registeredThemes=e,WA(zA.theme)||(zA.theme=zA.nextTheme??e[1]?.key??CA.key,delete zA.nextTheme),HA()},WA=e=>zA.registeredThemes.findIndex(t=>t.key===e)!==-1||e===CA.key,GA=e=>{if(WA(e))zA.theme=e;else if(e)zA.nextTheme=e;else throw Error(`The theme identifier "${e}" is not valid or an available option.`);HA()},KA=()=>zA.theme??CA.key,qA=e=>{if(zA.registeredThemes.length===0)return e;if(WA(e))return zA.registeredThemes.find(t=>t.key===e)?.name;throw Error(`The theme identifier "${e}" is not valid or an available option.`)},JA=e=>{zA.customThemes=e},YA=()=>{let{dummyClickEventHandler:e}=vA(),[t]=ik(),n=t.get(`theme`)??KA(),r=(0,w.useMemo)(()=>n?IA(n,`buttonVariants`):[],[n]),i={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates the most important features of the KolButton component. It showcases the different button variants, icons, disabled state, and hidden labels. All available button variants for this theme are shown. You can import ButtonVariantsEnum from your theme to always use the right variants.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`variants`,heading:`Button Variants`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4 items-center`,children:!Array.isArray(r)||r.length===0?(0,X.jsx)(`p`,{children:`This theme has no variants for this component.`}):r.map(e=>(0,X.jsx)(K,{_icons:`kolicon-house`,_label:`${e}`,_variant:e,_on:i},e))})}),(0,X.jsx)(Z,{id:`disabled`,heading:`Disabled State`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4 items-center`,children:!Array.isArray(r)||r.length===0?(0,X.jsx)(`p`,{children:`This theme has no variants for this component.`}):r.map(e=>(0,X.jsx)(K,{_icons:`kolicon-house`,_label:`${e}`,_variant:e,_on:i,_disabled:!0},e))})}),(0,X.jsx)(Z,{id:`hide-label`,heading:`Hidden Label (Icon Only)`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4 items-center`,children:!Array.isArray(r)||r.length===0?(0,X.jsx)(`p`,{children:`This theme has no variants for this component.`}):r.map(e=>(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-settings`,_label:`${e}`,_variant:e,_on:i},e))})}),(0,X.jsx)(Z,{id:`icon-positions`,heading:`Icon Positions`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:{left:`kolicon-chevron-left`},_label:`Icon Left`,_on:i}),(0,X.jsx)(K,{_icons:{right:`kolicon-chevron-right`},_label:`Icon Right`,_on:i}),(0,X.jsx)(K,{_icons:{left:`kolicon-chevron-left`,right:`kolicon-chevron-right`},_label:`Icons Both Sides`,_on:i})]})})]})]})},XA=()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`All this buttons are in a grid with fixed height (60px) and width (25% of screen) and should accept this dimensions.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4 fixed-height-grid`,children:[(0,X.jsx)(K,{_variant:`primary`,_icons:`kolicon-house`,_label:`Button`,_on:t}),(0,X.jsx)(K,{_variant:`primary`,_hideLabel:!0,_icons:`kolicon-house`,_label:`Button`,_on:t}),(0,X.jsx)(IT,{_variant:`primary`,_href:`#`,_icons:`kolicon-house`,_label:`Link-Button`,_on:t}),(0,X.jsx)(IT,{_variant:`primary`,_hideLabel:!0,_href:`#`,_icons:`kolicon-house`,_label:`Link-Button`,_on:t})]})]})},ZA=()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates the disabled state of buttons. Disabled buttons are not clickable and appear visually dimmed.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`disabled`,heading:`Disabled Buttons`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-house`,_label:`Primary`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-kolibri`,_label:`Secondary`,_variant:`secondary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-cogwheel`,_label:`Tertiary`,_variant:`tertiary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-cogwheel`,_label:`Normal`,_variant:`normal`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-alert-warning`,_label:`Danger`,_variant:`danger`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-eye-closed`,_label:`Ghost`,_variant:`ghost`,_on:t})]})}),(0,X.jsx)(Z,{id:`comparison`,heading:`Comparison: Enabled vs Disabled`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:`kolicon-house`,_label:`Enabled`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-house`,_label:`Disabled`,_variant:`primary`,_on:t})]})})]})]})},QA=()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates the expert slot feature of KolButton. The expert slot allows you to insert custom content into the button, providing advanced customization options beyond the standard label and icon properties.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`buttons-expert-slot-content`,heading:`Buttons with Expert Slot Content`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:`kolicon-house`,_label:``,_variant:`primary`,_on:t,children:(0,X.jsx)(`span`,{slot:`expert`,children:`I am more than just a button`})}),(0,X.jsx)(K,{_icons:`kolicon-kolibri`,_label:``,_variant:`secondary`,_on:t,children:(0,X.jsx)(`span`,{slot:`expert`,children:`Custom content here`})}),(0,X.jsx)(K,{_icons:`kolicon-alert-warning`,_label:``,_variant:`danger`,_on:t,children:(0,X.jsx)(`span`,{slot:`expert`,children:`Delete with custom text`})}),(0,X.jsx)(K,{_label:``,_variant:`danger`,_on:t,children:(0,X.jsx)(wT,{_icons:`kolicon-alert-warning`,_label:`Delete with custom text`,slot:`expert`})})]})}),(0,X.jsx)(Z,{id:`disabled-buttons-expert-slot`,heading:`Disabled Buttons with Expert Slot`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-house`,_label:``,_variant:`primary`,_on:t,children:(0,X.jsx)(`span`,{slot:`expert`,children:`Disabled expert slot`})}),(0,X.jsx)(K,{_disabled:!0,_icons:`kolicon-eye-closed`,_label:``,_variant:`ghost`,_on:t,children:(0,X.jsx)(`span`,{slot:`expert`,children:`Another disabled one`})})]})})]})]})},$A=[{label:`Auto (instant)`,value:`auto`},{label:`Smooth (animated)`,value:`smooth`}],ej=[{label:`Start`,value:`start`},{label:`Center`,value:`center`},{label:`End`,value:`end`},{label:`Nearest`,value:`nearest`}],tj=[{label:`Behavior`,key:`behavior`,options:$A},{label:`Block (vertical alignment)`,key:`block`,options:ej},{label:`Inline (horizontal alignment)`,key:`inline`,options:ej}],nj={padding:`1rem`,marginTop:`1rem`,border:`1px solid #ccc`},rj=()=>{let e=(0,w.useRef)(null),t=(0,w.useRef)(null),[n,r]=(0,w.useState)({behavior:`auto`,block:`start`,inline:`start`}),[i,a]=(0,w.useState)(!1),o=(0,w.useCallback)(async()=>{e.current&&(a(!1),await e.current.focus({...n,afterFocus:()=>{a(!0)}}))},[n]),s=(0,w.useCallback)(async()=>{t.current&&(a(!1),await t.current.focus({...n,afterFocus:()=>{a(!0)}}))},[n]),c=(0,w.useCallback)((e,t)=>{r(n=>({...n,[e]:t}))},[]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates KolFocusOptions for manual focus control with scroll-into-view behavior. It showcases vertical scrolling (element positioned below viewport) and horizontal scrolling (element positioned outside viewport). The focus options control how the element is scrolled into view, with the afterFocus callback triggering after scrolling completes.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsxs)(Z,{id:`scroll-behavior-options`,heading:`Scroll Behavior Options`,children:[(0,X.jsxs)(`p`,{children:[`These options control how elements are scrolled into view. `,(0,X.jsx)(`code`,{children:`preventScroll`}),` and `,(0,X.jsx)(`code`,{children:`focusVisible`}),` are always enabled for optimal focus management. Customize the scroll behavior and alignment below:`]}),(0,X.jsx)(`div`,{className:`grid gap-4`,children:tj.map((e,r)=>(0,X.jsx)(`div`,{className:`grid gap-2`,children:(0,X.jsx)(UT,{ref:r===0?t:null,_label:e.label,_options:e.options,_value:n[e.key],_on:{onChange:(t,n)=>{c(e.key,n)}}})},e.key))})]}),(0,X.jsxs)(Z,{id:`scroll-example`,heading:`Scroll Example`,children:[(0,X.jsx)(`p`,{children:`The target button is positioned bottom-right. Scroll down and right to find it, then click "Focus Target" to apply scroll behavior.`}),(0,X.jsx)(`div`,{className:`flex gap-4`,children:(0,X.jsx)(K,{_label:`Focus Target`,_variant:`primary`,onClick:o})}),(0,X.jsxs)(`p`,{children:[`Callback invoked: `,(0,X.jsx)(`strong`,{children:i?`Yes ✓`:`No`})]}),(0,X.jsx)(`div`,{style:{...nj,overflow:`auto`,width:`500px`,height:`600px`},children:(0,X.jsxs)(`div`,{style:{width:`2400px`,height:`2400px`,padding:`1rem`,position:`relative`},children:[(0,X.jsx)(`div`,{style:{padding:`1rem`,backgroundColor:`#f9f9f9`,borderRadius:`4px`},children:`Content area (scroll to find button)`}),(0,X.jsx)(K,{ref:e,_label:`Back to Top`,_variant:`primary`,onClick:s,style:{position:`absolute`,bottom:`1rem`,right:`1rem`}})]})})]}),(0,X.jsx)(`hr`,{}),(0,X.jsx)(Z,{id:`about-kol-focus-options`,heading:`About KolFocusOptions`,children:(0,X.jsxs)(`div`,{className:`indented-text`,children:[(0,X.jsx)(`p`,{children:`KolFocusOptions enables advanced focus control with scroll-into-view behavior:`}),(0,X.jsxs)(`ul`,{className:`list-disc pl-5`,children:[(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`preventScroll:`}),` Always enabled — prevents browser auto-scroll and uses custom scroll options instead`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`focusVisible:`}),` Always enabled — ensures the focus ring is visible after focus`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`behavior:`}),` "auto" (instant) or "smooth" (animated) scroll`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`block:`}),` Vertical alignment (start, center, end, nearest)`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`inline:`}),` Horizontal alignment (start, center, end, nearest)`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`afterFocus:`}),` Optional callback invoked after focus and scroll complete`]})]})]})})]})]})},ij=()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates buttons with hidden labels. The label is still accessible to screen readers but visually hidden, showing only the icon. This is useful for icon-only buttons.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`hide-label`,heading:`Buttons with Hidden Labels`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-kolibri`,_label:`Like`,_variant:`secondary`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Subscribe`,_variant:`tertiary`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Buy me a coffee`,_variant:`normal`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-alert-warning`,_label:`Delete`,_variant:`danger`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-eye-closed`,_label:`Settings`,_variant:`ghost`,_on:t})]})}),(0,X.jsx)(Z,{id:`comparison`,heading:`Comparison: With and Without Hidden Label`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t})]})}),(0,X.jsx)(Z,{id:`disabled`,heading:`Disabled with Hidden Label`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-kolibri`,_label:`Like`,_variant:`secondary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Subscribe`,_variant:`tertiary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Buy me a coffee`,_variant:`normal`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-alert-warning`,_label:`Delete`,_variant:`danger`,_on:t})]})})]})]})},aj=()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story showcases buttons with icons in various positions and configurations. Icons can be placed on the left, right, top, bottom, or in multiple positions at once.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`basic-positions`,heading:`Basic Icon Positions`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:{left:`kolicon-chevron-left`},_label:`Icon Left`,_on:t}),(0,X.jsx)(K,{_icons:{right:`kolicon-chevron-right`},_label:`Icon Right`,_on:t}),(0,X.jsx)(K,{_icons:{top:`kolicon-chevron-up`},_label:`Icon Top`,_on:t}),(0,X.jsx)(K,{_icons:{bottom:`kolicon-chevron-down`},_label:`Icon Bottom`,_on:t})]})}),(0,X.jsx)(Z,{id:`multiple-positions`,heading:`Multiple Icon Positions`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:{left:`kolicon-chevron-left`,right:`kolicon-chevron-right`},_label:`Left & Right`,_on:t}),(0,X.jsx)(K,{_icons:{top:`kolicon-chevron-up`,bottom:`kolicon-chevron-down`},_label:`Top & Bottom`,_on:t})]})}),(0,X.jsx)(Z,{id:`all-positions`,heading:`All Icon Positions`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,X.jsx)(K,{_icons:{top:`kolicon-chevron-up`,bottom:`kolicon-chevron-down`,left:`kolicon-chevron-left`,right:`kolicon-chevron-right`},_label:`All Directions`,_on:t})})}),(0,X.jsx)(Z,{id:`icon-string`,heading:`Simple Icon String`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:`kolicon-house`,_label:`Home Icon`,_on:t}),(0,X.jsx)(K,{_icons:`kolicon-kolibri`,_label:`Heart Icon`,_on:t}),(0,X.jsx)(K,{_icons:`kolicon-alert-warning`,_label:`Trash Icon`,_on:t})]})}),(0,X.jsx)(Z,{id:`large-icon`,heading:`Large Icon on Top`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,X.jsx)(K,{_icons:{top:{style:{"font-size":`400%`},icon:`kolicon-house`}},_label:`Home`,_on:t})})})]})]})},oj=[`Quarterly report`,`Meeting notes`,`Travel expenses`],sj=()=>{let[e,t]=(0,w.useState)([`Meeting notes`]),n=e=>t(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This story shows a button toggling between the two pin icons, `,(0,X.jsx)(`code`,{children:`kolicon-pin-pinned`}),` and `,(0,X.jsx)(`code`,{children:`kolicon-pin-unpinned`}),`. Icon and label change together, so the current state is conveyed visually as well as to screen readers.`]})}),(0,X.jsx)(Z,{id:`pin-toggle`,heading:`Pin and unpin items`,fitContent:!0,children:(0,X.jsx)(`ul`,{className:`grid gap-2 list-none m-0 p-0`,children:oj.map(t=>{let r=e.includes(t);return(0,X.jsxs)(`li`,{className:`flex gap-2 items-center`,children:[(0,X.jsx)(K,{_hideLabel:!0,_icons:r?`kolicon-pin-pinned`:`kolicon-pin-unpinned`,_label:r?`Unpin ${t}`:`Pin ${t}`,_on:{onClick:()=>n(t)}}),(0,X.jsx)(`span`,{children:t})]},t)})})})]})},cj=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates how the tooltip adapts its width when containing long text inside a row-reverse flex container. The effect becomes visible when inspecting the layout with DevTools and reducing the available width (e.g., by narrowing the screen).`})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsx)(Z,{id:`button-row-reverse-container`,heading:`Button in Row-Reverse Container`,children:(0,X.jsx)(`div`,{className:`flex flex-row-reverse`,children:(0,X.jsx)(K,{_icons:`kolicon-house`,_hideLabel:!0,_label:`This is a very, very long tooltip text that exceeds the width.`,_variant:`primary`})})})})]}),lj=()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e},n=w.useRef(e);return w.useEffect(()=>{n.current=e},[e]),w.useEffect(()=>{let e=e=>{e.altKey&&e.code===`KeyM`&&(e.preventDefault(),n.current())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates buttons with short keys. The short key is displayed as a visual indicator within the button label to communicate a recommended keyboard shortcut to the user.`})}),(0,X.jsxs)(pT,{_label:`Short keys are display-only`,_type:`info`,_variant:`card`,children:[(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`code`,{children:`_shortKey`}),` is `,(0,X.jsx)(`strong`,{children:`purely visual and assistive`}),`: it renders the badge and announces the shortcut via`,` `,(0,X.jsx)(`code`,{children:`aria-keyshortcuts`}),`, but it does `,(0,X.jsx)(`strong`,{children:`not`}),` bind a keyboard handler. Pressing the displayed combination on its own does nothing – you have to register the listener yourself (see the interactive example below).`]}),(0,X.jsxs)(`p`,{children:[`If you need a native, browser-handled shortcut instead, use`,` `,(0,X.jsx)(Y,{_label:`_accessKey`,_href:`https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey`,_target:`_blank`}),`. Note that native access keys are triggered in a browser-specific way (e.g. `,(0,X.jsx)(`kbd`,{children:`Alt`}),` + `,(0,X.jsx)(`kbd`,{children:`Shift`}),` + key in Chrome on Windows).`]})]}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`short-keys`,heading:`Buttons with Short Keys`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_label:`With S short key`,_shortKey:`S`,_on:t}),(0,X.jsx)(K,{_label:`Very small b`,_shortKey:`b`,_on:t}),(0,X.jsx)(K,{_label:`Short key does not appear in label`,_shortKey:`x`,_on:t})]})}),(0,X.jsx)(Z,{id:`hide-label`,heading:`Short Key with Hidden Label`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,X.jsx)(K,{_label:`short key without label`,_hideLabel:!0,_shortKey:`k`,_icons:`kolicon-cogwheel`,_on:t})})}),(0,X.jsx)(Z,{id:`inline-icons`,heading:`Short Key with Inline Icons`,fitContent:!0,children:(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,X.jsx)(K,{_label:`with inline icons`,_icons:{left:`kolicon-cogwheel`,right:`kolicon-cogwheel`},_shortKey:`n`,_on:t})})}),(0,X.jsxs)(`p`,{children:[`This button wires the announced short key up manually: a `,(0,X.jsx)(`code`,{children:`keydown`}),` listener triggers the same action as a click. Press `,(0,X.jsx)(`kbd`,{children:`Alt`}),` +`,` `,(0,X.jsx)(`kbd`,{children:`M`}),` (or click the button) to open the toast.`]}),(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,X.jsx)(K,{_label:`With working M short key`,_shortKey:`m`,_on:t})})]})]})},uj=()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates icon-only buttons with an animated spinning loader icon. The animation is applied using CSS parts to target the icon element directly.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`animated-spinner-icon-css-part`,heading:`Animated Spinner Icon via CSS Part`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{className:`spinner-button`,_hideLabel:!0,_icons:{left:`kolicon-cogwheel`},_label:`Loading`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{className:`spinner-button spinner-slow`,_hideLabel:!0,_icons:{left:`kolicon-cogwheel`},_label:`Syncing`,_variant:`secondary`,_on:t}),(0,X.jsx)(K,{className:`spinner-button spinner-slower`,_hideLabel:!0,_icons:{left:`kolicon-cogwheel`},_label:`Processing`,_variant:`tertiary`,_on:t})]})}),(0,X.jsx)(Z,{id:`spinner-label`,heading:`Spinner with Label`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{className:`spinner-button`,_icons:{left:`kolicon-cogwheel`},_label:`Loading...`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{className:`spinner-button`,_icons:{left:`kolicon-cogwheel`},_label:`Syncing...`,_variant:`secondary`,_on:t})]})})]}),(0,X.jsx)(`style`,{children:`
34
+ @keyframes spin {
35
+ from {
36
+ transform: rotate(0deg);
37
+ }
38
+ to {
39
+ transform: rotate(360deg);
40
+ }
41
+ }
42
+
43
+ /* Target the icon part inside the button */
44
+ .spinner-button::part(icon) {
45
+ animation: spin 1s linear infinite;
46
+ }
47
+
48
+ .spinner-slow::part(icon) {
49
+ animation-duration: 1.5s;
50
+ }
51
+
52
+ .spinner-slower::part(icon) {
53
+ animation-duration: 2s;
54
+ }
55
+
56
+ @media (prefers-reduced-motion) {
57
+ .spinner-button::part(icon){
58
+ animation-duration: 10s;
59
+ }
60
+ }
61
+ `})]})},dj=[`top`,`right`,`bottom`,`left`],fj={button:{basic:YA,disabled:ZA,"hide-label":ij,icons:aj,"pin-toggle":sj,spinner:uj,width:()=>{let{dummyClickEventHandler:e}=vA(),t={className:`w-8rem`,_on:{onClick:e}};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates buttons with custom widths. You can control the button width using CSS classes.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`fixed-width-buttons-8rem`,heading:`Fixed Width Buttons (8rem)`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_label:`Primary`,_variant:`primary`,...t}),(0,X.jsx)(K,{_label:`Secondary`,_variant:`secondary`,...t}),(0,X.jsx)(K,{_label:`Normal`,_variant:`normal`,...t}),(0,X.jsx)(K,{_label:`Danger`,_variant:`danger`,...t}),(0,X.jsx)(K,{_label:`Ghost`,_variant:`ghost`,...t})]})}),(0,X.jsx)(Z,{id:`fixed-width-disabled-buttons`,heading:`Fixed Width Disabled Buttons (8rem)`,fitContent:!0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_disabled:!0,_label:`Primary`,_variant:`primary`,...t}),(0,X.jsx)(K,{_disabled:!0,_label:`Secondary`,_variant:`secondary`,...t}),(0,X.jsx)(K,{_disabled:!0,_label:`Normal`,_variant:`normal`,...t}),(0,X.jsx)(K,{_disabled:!0,_label:`Danger`,_variant:`danger`,...t}),(0,X.jsx)(K,{_disabled:!0,_label:`Ghost`,_variant:`ghost`,...t})]})})]})]})},"access-key":bA,"aria-description":xA,baselined:SA,"short-key":lj,"expert-slot":QA,"row-reverse-tooltip":cj,"tooltip-align":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`With a hidden label, the label is shown as tooltip on hover and focus. `,(0,X.jsx)(`code`,{children:`_tooltipAlign`}),` places it on one of the four sides. A button places it on top by default, a link on the right.`]}),(0,X.jsx)(`p`,{children:`Hover or focus the elements to see the tooltips.`})]}),(0,X.jsxs)(Z,{id:`tooltip-align`,className:`grid grid-cols-2 gap-16 p-16 justify-items-center`,skipSnapshot:!0,children:[dj.map(e=>(0,X.jsx)(K,{_label:`Tooltip ${e}`,_icons:`kolicon-alert-info`,_hideLabel:!0,_tooltipAlign:e},e)),(0,X.jsx)(K,{_label:`Button with default (top)`,_icons:`kolicon-check`,_hideLabel:!0}),(0,X.jsx)(Y,{_label:`Link with default (right)`,_icons:`kolicon-link`,_hideLabel:!0,_href:`#/back-page`})]})]}),"focus-options":rj,"fixed-grid":XA}},pj={card:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolCard shows a card with title and slot content. The second sample features a close button.`})}),(0,X.jsxs)(Z,{id:`basic`,className:`w-full grid grid-cols-2 gap-4`,narrow:!0,children:[(0,X.jsx)(vT,{_label:`Card with title and content`,children:(0,X.jsx)(`p`,{children:`Card contents.`})}),(0,X.jsx)(vT,{_label:`Card with closer`,_hasCloser:!0,children:(0,X.jsx)(`p`,{children:`This card has a close button.`})})]})]}),"closer-callback":()=>{let[e,t]=(0,w.useState)(!0),[n,r]=(0,w.useState)(0);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The close button of KolCard calls `,(0,X.jsx)(`code`,{children:`_on.onClose`}),`. The card does not hide itself; the application decides what happens. Here the callback removes the card, and the button below brings it back.`]})}),(0,X.jsxs)(Z,{id:`closer-callback`,className:`grid gap-4`,skipSnapshot:!0,children:[e?(0,X.jsx)(vT,{_label:`Card that closes itself`,_hasCloser:!0,_on:{onClose:()=>{t(!1),r(e=>e+1)}},children:(0,X.jsx)(`p`,{children:`Click the close button to remove the card.`})}):(0,X.jsx)(K,{_label:`Show the card again`,_on:{onClick:()=>t(!0)}}),(0,X.jsxs)(`p`,{"aria-live":`polite`,children:[`Closed `,n,` time(s).`]})]})]})},headlines:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows cards with all headline levels as title.`})}),(0,X.jsxs)(Z,{id:`headlines`,className:`w-full grid grid-cols-2 gap-4`,children:[(0,X.jsx)(vT,{_label:`Card with headline level 0`,_level:0,children:(0,X.jsx)(`p`,{children:`Card contents.`})}),(0,X.jsx)(vT,{_label:`Card with headline level 1`,_level:1,children:(0,X.jsx)(`p`,{children:`Card contents.`})}),(0,X.jsx)(vT,{_label:`Card with headline level 2`,_level:2,children:(0,X.jsx)(`p`,{children:`Card contents.`})}),(0,X.jsx)(vT,{_label:`Card with headline level 3`,_level:3,children:(0,X.jsx)(`p`,{children:`Card contents.`})}),(0,X.jsx)(vT,{_label:`Card with headline level 4`,_level:4,children:(0,X.jsx)(`p`,{children:`Card contents.`})}),(0,X.jsx)(vT,{_label:`Card with headline level 5`,_level:5,children:(0,X.jsx)(`p`,{children:`Card contents.`})}),(0,X.jsx)(vT,{_label:`Card with headline level 6`,_level:6,children:(0,X.jsx)(`p`,{children:`Card contents.`})})]})]}),linked:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolCards with links. The headline is wrapped with an a-tag. The whole card is clickable.`})}),(0,X.jsxs)(Z,{id:`linked`,className:`w-full grid grid-cols-2 gap-4`,children:[(0,X.jsx)(vT,{_label:`Card with title and content`,_href:`#/back-page`,children:(0,X.jsx)(`p`,{children:`This card has a link.`})}),(0,X.jsx)(vT,{_label:`Card with title and content`,_href:`#/back-page`,_target:`_blank`,children:(0,X.jsx)(`p`,{children:`This card has a link and a target.`})})]})]})}},mj=({RefComponent:e,showButtons:t=!0,...n})=>(0,X.jsx)(CT,{className:`w-full`,children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(e,{...n}),t&&(0,X.jsxs)(`div`,{className:`flex gap-4`,children:[(0,X.jsx)(K,{_label:`Submit`,_icons:`kolicon-chevron-right`,_type:`submit`,_variant:`primary`}),(0,X.jsx)(K,{_label:`Bunte Icons`,_icons:{left:{icon:`kolicon-house`,style:{color:`#cc006e`}},right:{icon:`kolicon-kolibri`,style:{color:`#b41b1b`}}},_type:`submit`,_variant:`secondary`}),(0,X.jsx)(K,{_label:`Reset`,_type:`reset`,_variant:`tertiary`}),(0,X.jsx)(K,{_label:`Help`,_variant:`ghost`})]})]})});function hj({children:e}){let[t]=ik(),n=t.has(`noColumns`);return(0,X.jsx)(`div`,{className:n?``:`grid md:grid-cols-2 gap-4`,children:e})}var gj=({heading:e,level:t=2,children:n,...r})=>(0,X.jsxs)(`section`,{...r,children:[e?(0,X.jsx)(q,{_level:t,_label:e}):null,n]}),_j=JSON.parse(`[{"id":4,"alpha2":"af","alpha3":"afg","name":"Afghanistan"},{"id":818,"alpha2":"eg","alpha3":"egy","name":"Ägypten"},{"id":8,"alpha2":"al","alpha3":"alb","name":"Albanien"},{"id":12,"alpha2":"dz","alpha3":"dza","name":"Algerien"},{"id":20,"alpha2":"ad","alpha3":"and","name":"Andorra"},{"id":24,"alpha2":"ao","alpha3":"ago","name":"Angola"},{"id":28,"alpha2":"ag","alpha3":"atg","name":"Antigua und Barbuda"},{"id":226,"alpha2":"gq","alpha3":"gnq","name":"Äquatorialguinea"},{"id":32,"alpha2":"ar","alpha3":"arg","name":"Argentinien"},{"id":51,"alpha2":"am","alpha3":"arm","name":"Armenien"},{"id":31,"alpha2":"az","alpha3":"aze","name":"Aserbaidschan"},{"id":231,"alpha2":"et","alpha3":"eth","name":"Äthiopien"},{"id":36,"alpha2":"au","alpha3":"aus","name":"Australien"},{"id":44,"alpha2":"bs","alpha3":"bhs","name":"Bahamas"},{"id":48,"alpha2":"bh","alpha3":"bhr","name":"Bahrain"},{"id":50,"alpha2":"bd","alpha3":"bgd","name":"Bangladesch"},{"id":52,"alpha2":"bb","alpha3":"brb","name":"Barbados"},{"id":112,"alpha2":"by","alpha3":"blr","name":"Belarus"},{"id":56,"alpha2":"be","alpha3":"bel","name":"Belgien"},{"id":84,"alpha2":"bz","alpha3":"blz","name":"Belize"},{"id":204,"alpha2":"bj","alpha3":"ben","name":"Benin"},{"id":64,"alpha2":"bt","alpha3":"btn","name":"Bhutan"},{"id":68,"alpha2":"bo","alpha3":"bol","name":"Bolivien"},{"id":70,"alpha2":"ba","alpha3":"bih","name":"Bosnien und Herzegowina"},{"id":72,"alpha2":"bw","alpha3":"bwa","name":"Botswana"},{"id":76,"alpha2":"br","alpha3":"bra","name":"Brasilien"},{"id":96,"alpha2":"bn","alpha3":"brn","name":"Brunei"},{"id":100,"alpha2":"bg","alpha3":"bgr","name":"Bulgarien"},{"id":854,"alpha2":"bf","alpha3":"bfa","name":"Burkina Faso"},{"id":108,"alpha2":"bi","alpha3":"bdi","name":"Burundi"},{"id":152,"alpha2":"cl","alpha3":"chl","name":"Chile"},{"id":156,"alpha2":"cn","alpha3":"chn","name":"China, Volksrepublik"},{"id":188,"alpha2":"cr","alpha3":"cri","name":"Costa Rica"},{"id":208,"alpha2":"dk","alpha3":"dnk","name":"Dänemark"},{"id":276,"alpha2":"de","alpha3":"deu","name":"Deutschland"},{"id":212,"alpha2":"dm","alpha3":"dma","name":"Dominica"},{"id":214,"alpha2":"do","alpha3":"dom","name":"Dominikanische Republik"},{"id":262,"alpha2":"dj","alpha3":"dji","name":"Dschibuti"},{"id":218,"alpha2":"ec","alpha3":"ecu","name":"Ecuador"},{"id":384,"alpha2":"ci","alpha3":"civ","name":"Elfenbeinküste"},{"id":222,"alpha2":"sv","alpha3":"slv","name":"El Salvador"},{"id":232,"alpha2":"er","alpha3":"eri","name":"Eritrea"},{"id":233,"alpha2":"ee","alpha3":"est","name":"Estland"},{"id":748,"alpha2":"sz","alpha3":"swz","name":"Eswatini"},{"id":242,"alpha2":"fj","alpha3":"fji","name":"Fidschi"},{"id":246,"alpha2":"fi","alpha3":"fin","name":"Finnland"},{"id":250,"alpha2":"fr","alpha3":"fra","name":"Frankreich"},{"id":266,"alpha2":"ga","alpha3":"gab","name":"Gabun"},{"id":270,"alpha2":"gm","alpha3":"gmb","name":"Gambia"},{"id":268,"alpha2":"ge","alpha3":"geo","name":"Georgien"},{"id":288,"alpha2":"gh","alpha3":"gha","name":"Ghana"},{"id":308,"alpha2":"gd","alpha3":"grd","name":"Grenada"},{"id":300,"alpha2":"gr","alpha3":"grc","name":"Griechenland"},{"id":320,"alpha2":"gt","alpha3":"gtm","name":"Guatemala"},{"id":324,"alpha2":"gn","alpha3":"gin","name":"Guinea"},{"id":624,"alpha2":"gw","alpha3":"gnb","name":"Guinea-Bissau"},{"id":328,"alpha2":"gy","alpha3":"guy","name":"Guyana"},{"id":332,"alpha2":"ht","alpha3":"hti","name":"Haiti"},{"id":340,"alpha2":"hn","alpha3":"hnd","name":"Honduras"},{"id":356,"alpha2":"in","alpha3":"ind","name":"Indien"},{"id":360,"alpha2":"id","alpha3":"idn","name":"Indonesien"},{"id":368,"alpha2":"iq","alpha3":"irq","name":"Irak"},{"id":364,"alpha2":"ir","alpha3":"irn","name":"Iran"},{"id":372,"alpha2":"ie","alpha3":"irl","name":"Irland"},{"id":352,"alpha2":"is","alpha3":"isl","name":"Island"},{"id":376,"alpha2":"il","alpha3":"isr","name":"Israel"},{"id":380,"alpha2":"it","alpha3":"ita","name":"Italien"},{"id":388,"alpha2":"jm","alpha3":"jam","name":"Jamaika"},{"id":392,"alpha2":"jp","alpha3":"jpn","name":"Japan"},{"id":887,"alpha2":"ye","alpha3":"yem","name":"Jemen"},{"id":400,"alpha2":"jo","alpha3":"jor","name":"Jordanien"},{"id":116,"alpha2":"kh","alpha3":"khm","name":"Kambodscha"},{"id":120,"alpha2":"cm","alpha3":"cmr","name":"Kamerun"},{"id":124,"alpha2":"ca","alpha3":"can","name":"Kanada"},{"id":132,"alpha2":"cv","alpha3":"cpv","name":"Kap Verde"},{"id":398,"alpha2":"kz","alpha3":"kaz","name":"Kasachstan"},{"id":634,"alpha2":"qa","alpha3":"qat","name":"Katar"},{"id":404,"alpha2":"ke","alpha3":"ken","name":"Kenia"},{"id":417,"alpha2":"kg","alpha3":"kgz","name":"Kirgisistan"},{"id":296,"alpha2":"ki","alpha3":"kir","name":"Kiribati"},{"id":170,"alpha2":"co","alpha3":"col","name":"Kolumbien"},{"id":174,"alpha2":"km","alpha3":"com","name":"Komoren"},{"id":180,"alpha2":"cd","alpha3":"cod","name":"Kongo, Demokratische Republik"},{"id":178,"alpha2":"cg","alpha3":"cog","name":"Kongo, Republik"},{"id":408,"alpha2":"kp","alpha3":"prk","name":"Korea, Nord (Nordkorea)"},{"id":410,"alpha2":"kr","alpha3":"kor","name":"Korea, Süd (Südkorea)"},{"id":191,"alpha2":"hr","alpha3":"hrv","name":"Kroatien"},{"id":192,"alpha2":"cu","alpha3":"cub","name":"Kuba"},{"id":414,"alpha2":"kw","alpha3":"kwt","name":"Kuwait"},{"id":418,"alpha2":"la","alpha3":"lao","name":"Laos"},{"id":426,"alpha2":"ls","alpha3":"lso","name":"Lesotho"},{"id":428,"alpha2":"lv","alpha3":"lva","name":"Lettland"},{"id":422,"alpha2":"lb","alpha3":"lbn","name":"Libanon"},{"id":430,"alpha2":"lr","alpha3":"lbr","name":"Liberia"},{"id":434,"alpha2":"ly","alpha3":"lby","name":"Libyen"},{"id":438,"alpha2":"li","alpha3":"lie","name":"Liechtenstein"},{"id":440,"alpha2":"lt","alpha3":"ltu","name":"Litauen"},{"id":442,"alpha2":"lu","alpha3":"lux","name":"Luxemburg"},{"id":450,"alpha2":"mg","alpha3":"mdg","name":"Madagaskar"},{"id":454,"alpha2":"mw","alpha3":"mwi","name":"Malawi"},{"id":458,"alpha2":"my","alpha3":"mys","name":"Malaysia"},{"id":462,"alpha2":"mv","alpha3":"mdv","name":"Malediven"},{"id":466,"alpha2":"ml","alpha3":"mli","name":"Mali"},{"id":470,"alpha2":"mt","alpha3":"mlt","name":"Malta"},{"id":504,"alpha2":"ma","alpha3":"mar","name":"Marokko"},{"id":584,"alpha2":"mh","alpha3":"mhl","name":"Marshallinseln"},{"id":478,"alpha2":"mr","alpha3":"mrt","name":"Mauretanien"},{"id":480,"alpha2":"mu","alpha3":"mus","name":"Mauritius"},{"id":484,"alpha2":"mx","alpha3":"mex","name":"Mexiko"},{"id":583,"alpha2":"fm","alpha3":"fsm","name":"Mikronesien"},{"id":498,"alpha2":"md","alpha3":"mda","name":"Moldau"},{"id":492,"alpha2":"mc","alpha3":"mco","name":"Monaco"},{"id":496,"alpha2":"mn","alpha3":"mng","name":"Mongolei"},{"id":499,"alpha2":"me","alpha3":"mne","name":"Montenegro"},{"id":508,"alpha2":"mz","alpha3":"moz","name":"Mosambik"},{"id":104,"alpha2":"mm","alpha3":"mmr","name":"Myanmar"},{"id":516,"alpha2":"na","alpha3":"nam","name":"Namibia"},{"id":520,"alpha2":"nr","alpha3":"nru","name":"Nauru"},{"id":524,"alpha2":"np","alpha3":"npl","name":"Nepal"},{"id":554,"alpha2":"nz","alpha3":"nzl","name":"Neuseeland"},{"id":558,"alpha2":"ni","alpha3":"nic","name":"Nicaragua"},{"id":528,"alpha2":"nl","alpha3":"nld","name":"Niederlande"},{"id":562,"alpha2":"ne","alpha3":"ner","name":"Niger"},{"id":566,"alpha2":"ng","alpha3":"nga","name":"Nigeria"},{"id":807,"alpha2":"mk","alpha3":"mkd","name":"Nordmazedonien"},{"id":578,"alpha2":"no","alpha3":"nor","name":"Norwegen"},{"id":512,"alpha2":"om","alpha3":"omn","name":"Oman"},{"id":40,"alpha2":"at","alpha3":"aut","name":"Österreich"},{"id":626,"alpha2":"tl","alpha3":"tls","name":"Osttimor"},{"id":586,"alpha2":"pk","alpha3":"pak","name":"Pakistan"},{"id":585,"alpha2":"pw","alpha3":"plw","name":"Palau"},{"id":591,"alpha2":"pa","alpha3":"pan","name":"Panama"},{"id":598,"alpha2":"pg","alpha3":"png","name":"Papua-Neuguinea"},{"id":600,"alpha2":"py","alpha3":"pry","name":"Paraguay"},{"id":604,"alpha2":"pe","alpha3":"per","name":"Peru"},{"id":608,"alpha2":"ph","alpha3":"phl","name":"Philippinen"},{"id":616,"alpha2":"pl","alpha3":"pol","name":"Polen"},{"id":620,"alpha2":"pt","alpha3":"prt","name":"Portugal"},{"id":646,"alpha2":"rw","alpha3":"rwa","name":"Ruanda"},{"id":642,"alpha2":"ro","alpha3":"rou","name":"Rumänien"},{"id":643,"alpha2":"ru","alpha3":"rus","name":"Russland"},{"id":90,"alpha2":"sb","alpha3":"slb","name":"Salomonen"},{"id":894,"alpha2":"zm","alpha3":"zmb","name":"Sambia"},{"id":882,"alpha2":"ws","alpha3":"wsm","name":"Samoa"},{"id":674,"alpha2":"sm","alpha3":"smr","name":"San Marino"},{"id":678,"alpha2":"st","alpha3":"stp","name":"São Tomé und Príncipe"},{"id":682,"alpha2":"sa","alpha3":"sau","name":"Saudi-Arabien"},{"id":752,"alpha2":"se","alpha3":"swe","name":"Schweden"},{"id":756,"alpha2":"ch","alpha3":"che","name":"Schweiz"},{"id":686,"alpha2":"sn","alpha3":"sen","name":"Senegal"},{"id":688,"alpha2":"rs","alpha3":"srb","name":"Serbien"},{"id":690,"alpha2":"sc","alpha3":"syc","name":"Seychellen"},{"id":694,"alpha2":"sl","alpha3":"sle","name":"Sierra Leone"},{"id":716,"alpha2":"zw","alpha3":"zwe","name":"Simbabwe"},{"id":702,"alpha2":"sg","alpha3":"sgp","name":"Singapur"},{"id":703,"alpha2":"sk","alpha3":"svk","name":"Slowakei"},{"id":705,"alpha2":"si","alpha3":"svn","name":"Slowenien"},{"id":706,"alpha2":"so","alpha3":"som","name":"Somalia"},{"id":724,"alpha2":"es","alpha3":"esp","name":"Spanien"},{"id":144,"alpha2":"lk","alpha3":"lka","name":"Sri Lanka"},{"id":659,"alpha2":"kn","alpha3":"kna","name":"St. Kitts und Nevis"},{"id":662,"alpha2":"lc","alpha3":"lca","name":"St. Lucia"},{"id":670,"alpha2":"vc","alpha3":"vct","name":"St. Vincent und die Grenadinen"},{"id":710,"alpha2":"za","alpha3":"zaf","name":"Südafrika"},{"id":729,"alpha2":"sd","alpha3":"sdn","name":"Sudan"},{"id":728,"alpha2":"ss","alpha3":"ssd","name":"Südsudan"},{"id":740,"alpha2":"sr","alpha3":"sur","name":"Suriname"},{"id":760,"alpha2":"sy","alpha3":"syr","name":"Syrien"},{"id":762,"alpha2":"tj","alpha3":"tjk","name":"Tadschikistan"},{"id":834,"alpha2":"tz","alpha3":"tza","name":"Tansania"},{"id":764,"alpha2":"th","alpha3":"tha","name":"Thailand"},{"id":768,"alpha2":"tg","alpha3":"tgo","name":"Togo"},{"id":776,"alpha2":"to","alpha3":"ton","name":"Tonga"},{"id":780,"alpha2":"tt","alpha3":"tto","name":"Trinidad und Tobago"},{"id":148,"alpha2":"td","alpha3":"tcd","name":"Tschad"},{"id":203,"alpha2":"cz","alpha3":"cze","name":"Tschechien"},{"id":788,"alpha2":"tn","alpha3":"tun","name":"Tunesien"},{"id":792,"alpha2":"tr","alpha3":"tur","name":"Türkei"},{"id":795,"alpha2":"tm","alpha3":"tkm","name":"Turkmenistan"},{"id":798,"alpha2":"tv","alpha3":"tuv","name":"Tuvalu"},{"id":800,"alpha2":"ug","alpha3":"uga","name":"Uganda"},{"id":804,"alpha2":"ua","alpha3":"ukr","name":"Ukraine"},{"id":348,"alpha2":"hu","alpha3":"hun","name":"Ungarn"},{"id":858,"alpha2":"uy","alpha3":"ury","name":"Uruguay"},{"id":860,"alpha2":"uz","alpha3":"uzb","name":"Usbekistan"},{"id":548,"alpha2":"vu","alpha3":"vut","name":"Vanuatu"},{"id":862,"alpha2":"ve","alpha3":"ven","name":"Venezuela"},{"id":784,"alpha2":"ae","alpha3":"are","name":"Vereinigte Arabische Emirate"},{"id":840,"alpha2":"us","alpha3":"usa","name":"Vereinigte Staaten"},{"id":826,"alpha2":"gb","alpha3":"gbr","name":"Vereinigtes Königreich"},{"id":704,"alpha2":"vn","alpha3":"vnm","name":"Vietnam"},{"id":140,"alpha2":"cf","alpha3":"caf","name":"Zentralafrikanische Republik"},{"id":196,"alpha2":"cy","alpha3":"cyp","name":"Zypern"}]`),vj=[..._j.map(e=>({label:e.name,value:e.alpha2}))],yj=[..._j.map(e=>e.name)],bj=({blockIdPrefix:e,snapshotOnly:t,...n})=>{let r=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...r(`hint`),children:(0,X.jsx)(yT,{...n,_hint:oA,_label:`Label`,_suggestions:yj,_value:`Deutschland`})}),(0,X.jsx)(Z,{...r(`disabled`),children:(0,X.jsx)(yT,{...n,_label:`Disabled`,_suggestions:yj,_value:`Deutschland`,_disabled:!0})}),(0,X.jsx)(Z,{...r(`error`),children:(0,X.jsx)(yT,{...n,_suggestions:yj,_msg:{_type:`error`,_description:aA},_touched:!0,_label:`Label`,_placeholder:`Placeholder`,_required:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...r(`access-key`),children:(0,X.jsx)(yT,{...n,_label:`With access key`,_suggestions:yj,_value:`Deutschland`,_accessKey:`c`})}),(0,X.jsx)(Z,{...r(`short-key`),skipSnapshot:n._hideLabel,children:(0,X.jsx)(yT,{...n,_label:`With short key`,_suggestions:yj,_value:`Deutschland`,_shortKey:`s`})})]})},xj=e=>(0,X.jsxs)(hj,{children:[(0,X.jsx)(gj,{heading:`Text`,children:(0,X.jsx)(bj,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(gj,{heading:`Text (hideLabel)`,children:(0,X.jsx)(bj,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,...e,_hideLabel:!0})})]}),Sj=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolCombobox combines a text input with a suggestion list, enabling users to either type in a value or to select on of the suggestions.`})}),(0,X.jsx)(mj,{RefComponent:xj,showButtons:!1})]}),Cj=e=>{console.log(`${e.type} (Native Event)`,e)},wj=e=>{console.log(`${e.type} (Callback Event)`,e)},Tj=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`A HTML only KolCombobox.`})}),(0,X.jsx)(yT,{_label:`With string array in html`,_suggestions:`['Herr','Frau','Firma']`,_value:`Herr`,_on:{onBlur:wj,onChange:wj,onClick:wj,onFocus:wj,onInput:wj,onKeyDown:wj},onBlur:Cj,onChange:Cj,onClick:Cj,onFocus:Cj,onInput:Cj,onKeyDown:Cj})]}),Ej=({show:e})=>e?(0,X.jsx)(`div`,{className:`loading-overlay`,children:(0,X.jsx)(KT,{_label:`loading`,_show:e,_variant:`cycle`,style:{backgroundColor:`transparent`}})}):null,Dj={combobox:{basic:Sj,html:Tj,"lazy-loaded":()=>{let[e,t]=(0,w.useState)([]),[n,r]=(0,w.useState)(!1);function i(){e.length>0||(r(!0),setTimeout(()=>{t(yj),r(!1)},5e3))}return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This combobox loads its list of countries 5 seconds after the first input of the user to simulate a call to the server.`})}),(0,X.jsxs)(`section`,{className:`w-full relative p-3`,children:[(0,X.jsx)(yT,{_label:`Lazy loaded countries`,_suggestions:e,onInput:()=>i()}),(0,X.jsx)(Ej,{show:n})]})]})}}},Oj={details:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolDetails hides its content until opened. The open state can be toggled either by clicking the label or by setting the `,(0,X.jsx)(`code`,{children:`_open`}),`-prop programmatically. The sample includes an initially open state and a disabled but open Details component.`]})}),(0,X.jsxs)(Z,{id:`basic`,children:[(0,X.jsx)(bT,{_label:`Closed initially`,children:(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.`})}),(0,X.jsx)(bT,{_disabled:!0,_label:`Open initially (disabled)`,_open:!0,children:(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.`})}),(0,X.jsx)(bT,{_label:`Open initially`,_open:!0,children:(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.`})})]})]})}},kj=()=>{let[e]=ik(),t=e.get(`show-dialog`),n=(0,w.useRef)(null),r=(0,w.useRef)(null),i={onClick:()=>n.current?.openModal()},a={onClick:()=>r.current?.openModal()};return(0,w.useEffect)(()=>{t===`true`&&(async()=>{await n.current?.openModal(),await r.current?.openModal()})()},[t]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolDialog supports the variants `,(0,X.jsx)(`code`,{children:`blank`}),` and `,(0,X.jsx)(`code`,{children:`card`}),`. The card variant includes a `,(0,X.jsx)(`code`,{children:`KolCard`}),` container and a closer button.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsxs)(`div`,{children:[(0,X.jsx)(K,{_label:`Open blank dialog`,_on:i}),(0,X.jsx)(xT,{ref:n,_label:`Blank dialog`,_variant:`blank`,_width:`40%`,children:(0,X.jsxs)(`div`,{className:`bg-white p-4 rounded shadow`,children:[(0,X.jsx)(`p`,{className:`mt-0`,children:`You must add styling and a close button yourself.`}),(0,X.jsx)(K,{_label:`Open card dialog`,className:`mr`,_on:a}),(0,X.jsx)(K,{_label:`Close`,_on:{onClick:()=>n.current?.closeModal()}})]})})]}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(K,{_label:`Open card dialog`,_on:a}),(0,X.jsx)(xT,{ref:r,_label:`Card dialog`,_variant:`card`,_width:`30%`,children:(0,X.jsx)(`p`,{className:`mt-0`,children:`This variant wraps content inside a KolCard.`})})]})]})]})},Aj={dialog:{basic:kj,"scroll-lock":()=>{let e=(0,w.useRef)(null),t=(0,w.useRef)(null);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`Demonstrates that opening `,(0,X.jsx)(`strong`,{children:`KolDialog`}),`/`,(0,X.jsx)(`strong`,{children:`KolModal`}),` or `,(0,X.jsx)(`strong`,{children:`KolDrawer`}),` modally locks the background scroll: the page behind the overlay must not scroll, neither via mouse wheel/touch over the backdrop nor by dragging the page scrollbar. Non-modal`,` `,(0,X.jsx)(`code`,{children:`show()`}),` does not lock.`]}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`How to test:`}),` scroll this long page down a bit, open the dialog or drawer below, then try to scroll the background (mouse wheel over the dimmed backdrop, or drag the scrollbar) – it should stay put. Close the overlay again and the page should scroll normally, restored to the same position without a layout shift.`]})]}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4 mb-4`,children:[(0,X.jsx)(K,{_label:`Open modal dialog`,_on:{onClick:()=>e.current?.showModal()}}),(0,X.jsx)(K,{_label:`Open modal drawer`,_on:{onClick:()=>t.current?.showModal()}})]}),(0,X.jsxs)(xT,{ref:e,_label:`Scroll lock dialog`,_variant:`card`,_width:`30%`,children:[(0,X.jsx)(`p`,{className:`mt-0`,children:`While I am open, the background must not scroll.`}),(0,X.jsx)(K,{_label:`Close`,_on:{onClick:()=>e.current?.closeModal()}})]}),(0,X.jsxs)(ST,{ref:t,_label:`Scroll lock drawer`,_align:`right`,children:[(0,X.jsx)(`p`,{className:`mt-0`,children:`While I am open, the background must not scroll.`}),(0,X.jsx)(K,{_label:`Close`,_on:{onClick:()=>t.current?.close()}})]}),(0,X.jsx)(`div`,{style:{height:`200vh`,flexShrink:0},className:`border border-dashed border-gray p-4`,children:(0,X.jsx)(`p`,{children:`This tall block simulates a long page. Scroll down, open an overlay above, and try to scroll here.`})})]})},"with-alert":()=>{let e=(0,w.useRef)(null),[t,n]=(0,w.useState)([]),[r,i]=(0,w.useState)(!0),a=e=>n(t=>[...t,`${new Date().toLocaleTimeString()} – ${e}`]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`Closing the `,(0,X.jsx)(`strong`,{children:`KolAlert`}),` inside the dialog must `,(0,X.jsx)(`em`,{children:`not`}),` trigger the dialog's `,(0,X.jsx)(`code`,{children:`onClose`}),` callback. Only closing the dialog itself (via the card closer or `,(0,X.jsx)(`code`,{children:`close()`}),`) should fire that callback.`]}),(0,X.jsxs)(`p`,{children:[`Watch the event log below: after clicking the alert closer you should see `,(0,X.jsx)(`em`,{children:`only`}),` "Alert onClose fired", not "Dialog onClose fired".`]})]}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsxs)(`div`,{children:[(0,X.jsx)(K,{_label:`Open dialog with alert`,_on:{onClick:()=>{i(!0),e.current?.showModal()}}}),(0,X.jsx)(xT,{ref:e,_label:`Dialog with KolAlert inside`,_variant:`card`,_width:`40%`,_on:{onToggle:e=>console.log(`Dialog onToggle triggered!`,e),onClose:()=>{a(`Dialog onClose fired`)}},children:(0,X.jsxs)(`div`,{className:`p-4`,children:[r&&(0,X.jsx)(pT,{_label:`Closeable alert`,_type:`info`,_variant:`card`,_hasCloser:!0,_on:{onClose:()=>{a(`Alert onClose fired`),i(!1)}},children:`Close this alert – the dialog must stay open and its onClose must NOT fire.`}),!r&&(0,X.jsx)(`p`,{children:`Alert was closed. The dialog is still open – correct behaviour!`})]})})]}),t.length>0&&(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`strong`,{children:`Event log:`}),(0,X.jsx)(`ul`,{children:t.map((e,t)=>(0,X.jsx)(`li`,{children:e},t))})]})]})]})}}},jj=[`left`,`top`,`right`,`bottom`].map(e=>({label:e,value:e})),Mj=({value:e=`left`,onChange:t})=>(0,X.jsx)(`div`,{className:`grid gap-4`,children:(0,X.jsx)(`div`,{className:`container my-4 d-grid gap-4`,children:(0,X.jsx)(NT,{_label:`Drawer alignment`,_value:e,_options:jj,_orientation:`horizontal`,_on:{onChange:t}})})}),Nj={drawer:{basic:()=>{let[e]=ik(),t=e.get(`align`),n=e.get(`closer`)===`true`,r=(0,w.useRef)(null),[i,a]=(0,w.useState)(t||`left`),[o,s]=(0,w.useState)(n);return(0,w.useEffect)(()=>{t&&r.current?.showModal()},[t]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolDrawer shows a dialog attached to one of the sides of the viewport, when opened. This sample illustrates the four alignments.`})}),(0,X.jsx)(Mj,{value:i,onChange:(e,t)=>a(t)}),(0,X.jsx)(ET,{_label:`Drawer has closer`,className:`mb-4`,_checked:o,_on:{onInput:(e,t)=>{s(t===!0)}}}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(ST,{ref:r,_label:`I am a drawer`,_level:2,_align:i,_hasCloser:o,_on:{onClose:()=>console.log(`Drawer onClose triggered!`),onToggle:e=>console.log(`Drawer onToggle triggered!`,e)},children:(0,X.jsxs)(`div`,{className:i===`left`||i===`right`?`drawer-content-vertical`:``,children:[(0,X.jsx)(`p`,{className:`mt-0`,children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.`}),(0,X.jsx)(K,{_label:`Close drawer`,_on:{onClick:()=>r.current?.close()}})]})}),(0,X.jsx)(K,{_label:`Open drawer`,_on:{onClick:()=>r.current?.showModal()}})]})]})},controlled:()=>{let[e]=ik(),t=e.get(`align`),[n,r]=(0,w.useState)(!1),[i,a]=(0,w.useState)(t||`left`);return(0,X.jsxs)(`div`,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows the KolDrawer controlled by the property `,(0,X.jsx)(`code`,{children:`_open`}),` instead of methods.`]})}),(0,X.jsx)(Mj,{value:i,onChange:(e,t)=>a(t)}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(ST,{_open:n,_align:i,_label:`I'm a controlled drawer`,_level:2,_on:{onClose:()=>r(!1)},children:(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet,`}),(0,X.jsx)(K,{_label:`Close drawer`,_on:{onClick:()=>r(!1)}})]})}),(0,X.jsx)(K,{_label:`Open drawer`,_on:{onClick:()=>r(!0)}})]})]})},scrolled:()=>{let e=(0,w.useRef)(null),[t,n]=(0,w.useState)(`bottom`),[r,i]=(0,w.useState)(!0);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates how KolDrawer handles content that exceeds the drawer dimensions and shows the correct way to handle overflow. Use the "Enable Overflow Handling" toggle to see the difference between problematic behavior (content exceeding drawer bounds) and the proper solution (overflow handling within the slot content).`})}),(0,X.jsxs)(`div`,{className:`flex flex-col gap-4 mb-4`,children:[(0,X.jsx)(Mj,{value:t,onChange:(e,t)=>n(t)}),(0,X.jsx)(ET,{_label:`Enable Overflow Handling (Recommended)`,_checked:r,_on:{onChange:(e,t)=>i(!!t)}})]}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(ST,{ref:e,_label:`Scrollable Drawer`,_level:2,_align:t,children:r?(0,X.jsx)(`div`,{style:{width:t===`left`||t===`right`?`90vw`:void 0,height:t===`top`||t===`bottom`?`90vh`:void 0,overflow:`auto`,padding:`0`,border:`1px solid #999`},children:(0,X.jsxs)(`div`,{style:{width:t===`left`||t===`right`?`150vw`:void 0,height:t===`top`||t===`bottom`?`150vh`:void 0,background:`linear-gradient(45deg, #f0f0f0 25%, transparent 25%), linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f0f0 75%), linear-gradient(-45deg, transparent 75%, #f0f0f0 75%)`,backgroundSize:`20px 20px`,backgroundPosition:`0 0, 0 10px, 10px -10px, -10px 0px`,border:`2px dashed #ccc`,padding:`20px`,display:`flex`,flexDirection:`column`,gap:`20px`},children:[(0,X.jsx)(`p`,{children:`Content with proper overflow handling - scrollable within drawer bounds`}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h3`,{children:`Large Content Area (Scrollable)`}),(0,X.jsxs)(`p`,{children:[`Container: `,t===`left`||t===`right`?`400px wide`:`90vw wide`,` ×`,` `,t===`top`||t===`bottom`?`90vh high`:`400px high`]}),(0,X.jsxs)(`p`,{children:[`Content: `,t===`left`||t===`right`?`150vw wide`:`400px wide`,` ×`,` `,t===`top`||t===`bottom`?`150vh high`:`400px high`]}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`Overflow Handling:`}),` Enabled - Container has fixed size with overflow: auto`]}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`With overflow handling enabled, this content scrolls properly within the drawer container. You can scroll horizontally/vertically to see all content.`}),(0,X.jsx)(`div`,{style:{marginTop:`auto`,paddingTop:`40px`},children:(0,X.jsx)(K,{_label:`Close drawer`,_on:{onClick:()=>e.current?.close()}})})]})]})}):(0,X.jsxs)(`div`,{style:{width:t===`left`||t===`right`?`150vw`:`400px`,height:t===`top`||t===`bottom`?`150vh`:`400px`,background:`linear-gradient(45deg, #f0f0f0 25%, transparent 25%), linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f0f0 75%), linear-gradient(-45deg, transparent 75%, #f0f0f0 75%)`,backgroundSize:`20px 20px`,backgroundPosition:`0 0, 0 10px, 10px -10px, -10px 0px`,border:`2px dashed #ccc`,padding:`20px`,display:`flex`,flexDirection:`column`,gap:`20px`},children:[(0,X.jsx)(`p`,{children:`❌ Content exceeding drawer bounds - problematic behavior`}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h3`,{children:`Large Content Area`}),(0,X.jsxs)(`p`,{children:[`Width: `,t===`left`||t===`right`?`150vw (exceeds drawer width)`:`400px`]}),(0,X.jsxs)(`p`,{children:[`Height: `,t===`top`||t===`bottom`?`150vh (exceeds drawer height)`:`400px`]}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`Overflow Handling:`}),` Disabled - Content extends beyond drawer boundaries`]}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Without overflow handling, this content may extend beyond the drawer boundaries, causing layout issues.`}),(0,X.jsx)(`div`,{style:{marginTop:`auto`,paddingTop:`40px`},children:(0,X.jsx)(K,{_label:`Close drawer`,_on:{onClick:()=>e.current?.close()}})})]})]})}),(0,X.jsx)(K,{_label:`Open scrollable drawer`,_on:{onClick:()=>e.current?.open()}})]})]})},"big-content":()=>{let e=(0,w.useRef)(null),[t,n]=(0,w.useState)(`bottom`);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates how KolDrawer handles content that exceeds the drawer dimensions.`})}),(0,X.jsx)(`div`,{className:`flex flex-col gap-4 mb-4`,children:(0,X.jsx)(Mj,{value:t,onChange:(e,t)=>n(t)})}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(ST,{ref:e,_label:`Scrollable Drawer`,_align:t,_level:2,children:(0,X.jsxs)(`div`,{style:{width:t===`left`||t===`right`?`20vw`:void 0,height:t===`top`||t===`bottom`?`20vh`:void 0},children:[(0,X.jsx)(`h3`,{children:`Large Content Area (Scrollable)`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`div`,{style:{marginTop:`auto`,paddingTop:`40px`},children:(0,X.jsx)(K,{_label:`Close drawer`,_on:{onClick:()=>e.current?.close()}})})]})}),(0,X.jsx)(K,{_label:`Open scrollable drawer`,_on:{onClick:()=>e.current?.open()}})]})]})}}},Pj={form:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolForm renders a form around the input components provided in a slot. This sample shows a basic form with three input fields and a submit button.`})}),(0,X.jsx)(Z,{id:`form-basic`,className:`grid gap-2`,children:(0,X.jsxs)(CT,{className:`w-full`,_on:{onSubmit:e=>console.log(`submitted:`,e)},children:[(0,X.jsx)(J,{id:`input1`,_label:`Input 1`}),(0,X.jsx)(J,{id:`input2`,_label:`Input 2`}),(0,X.jsx)(J,{id:`input3`,_label:`Input 3`}),(0,X.jsx)(K,{_label:`Submit`,_variant:`primary`,_type:`submit`})]})})]}),"error-list":()=>{let e=(0,w.useRef)(null);return(0,w.useEffect)(()=>{e.current?.focusErrorList()},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows a form with error messages.`})}),(0,X.jsx)(Z,{id:`error-list`,children:(0,X.jsx)(CT,{className:`w-full`,ref:e,_on:{onSubmit:()=>{e.current?.focusErrorList()}},_errorList:[{message:`Error in Input 2 (default scroll behaviour)`,selector:`#input2`},{message:`Error in Input 3 (no scrolling, just alert)`,selector:()=>alert(`Error in Input 3`)},{message:`Error in Input 4 (custom scroll behaviour)`,selector:`#input4`,options:{behavior:`instant`,block:`start`,afterFocus:()=>console.log(`after Focus Input 4`)}}],children:(0,X.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,X.jsx)(J,{id:`input1`,_label:`Input 1`}),(0,X.jsx)(J,{id:`input2`,_label:`Input 2`,_touched:!0,_msg:{_description:`Input error`,_type:`error`}}),(0,X.jsx)(J,{id:`input3`,_label:`Input 3`,_touched:!0,_msg:{_description:`Input error`,_type:`error`}}),(0,X.jsx)(J,{id:`input4`,_label:`Input 4`,_touched:!0,_msg:{_description:`Input error`,_type:`error`}})]})})})]})},"error-list-scroll":()=>{let e=(0,w.useRef)(null);return(0,w.useEffect)(()=>{e.current?.focusErrorList()},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows a form with error messages.`})}),(0,X.jsx)(Z,{id:`error-list`,children:(0,X.jsx)(CT,{className:`w-full`,ref:e,_on:{onSubmit:()=>{e.current?.focusErrorList()}},_errorList:[{message:`Error in Input 2 (default scroll behaviour)`,selector:`#input2`},{message:`Error in Input 3 (no scrolling, just alert)`,selector:()=>alert(`Error in Input 3`)},{message:`Error in Input 4 (custom scroll behaviour)`,selector:`#input4`,options:{behavior:`instant`,block:`start`,afterFocus:()=>console.log(`after Focus Input 4`)}}],children:(0,X.jsxs)(`div`,{className:`flex flex-col gap-250`,children:[(0,X.jsx)(J,{id:`input1`,_label:`Input 1`}),(0,X.jsx)(J,{id:`input2`,_label:`Input 2`,_touched:!0,_msg:{_description:`Input error`,_type:`error`}}),(0,X.jsx)(J,{id:`input3`,_label:`Input 3`,_touched:!0,_msg:{_description:`Input error`,_type:`error`}}),(0,X.jsx)(J,{id:`input4`,_label:`Input 4`,_touched:!0,_msg:{_description:`Input error`,_type:`error`}}),(0,X.jsx)(`div`,{children:(0,X.jsx)(K,{_label:`ScrollTo`,_type:`submit`})})]})})})]})}}},Fj=new WeakMap,Ij=e=>(Fj.has(e)===!1&&Fj.set(e,(0,uk.createRoot)(e)),Fj.get(e)),Lj=[{monday:`Alex`,tuesday:`Anna`,wednesday:`Amalia`,thursday:`Arthur`,friday:`Alex`,saturday:`Andrea`,sunday:`Arnold`},{monday:`Helena`,tuesday:`Fabian`,wednesday:`Marie`,thursday:`Ben`,friday:`Marcus`,saturday:`Alex`,sunday:`Marcus`},{monday:`Fabian`,tuesday:`Helena`,wednesday:`Fabian`,thursday:`Maya`,friday:`Ben`,saturday:`Alex`,sunday:`Helena`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Finn`,tuesday:`Roger`,wednesday:`Christian`,thursday:`Caspar`,friday:`David`,saturday:`Bernard`,sunday:`Anna`},{monday:`Alex`,tuesday:`Anna`,wednesday:`Amalia`,thursday:`Arthur`,friday:`Alex`,saturday:`Andrea`,sunday:`Arnold`},{monday:`Helena`,tuesday:`Fabian`,wednesday:`Marie`,thursday:`Ben`,friday:`Marcus`,saturday:`Alex`,sunday:`Marcus`},{monday:`Fabian`,tuesday:`Helena`,wednesday:`Fabian`,thursday:`Maya`,friday:`Ben`,saturday:`Alex`,sunday:`Helena`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Finn`,tuesday:`Roger`,wednesday:`Christian`,thursday:`Caspar`,friday:`David`,saturday:`Bernard`,sunday:`Anna`},{monday:`Alex`,tuesday:`Anna`,wednesday:`Amalia`,thursday:`Arthur`,friday:`Alex`,saturday:`Andrea`,sunday:`Arnold`},{monday:`Helena`,tuesday:`Fabian`,wednesday:`Marie`,thursday:`Ben`,friday:`Marcus`,saturday:`Alex`,sunday:`Marcus`},{monday:`Fabian`,tuesday:`Helena`,wednesday:`Fabian`,thursday:`Maya`,friday:`Ben`,saturday:`Alex`,sunday:`Helena`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Finn`,tuesday:`Roger`,wednesday:`Christian`,thursday:`Caspar`,friday:`David`,saturday:`Bernard`,sunday:`Anna`},{monday:`Alex`,tuesday:`Anna`,wednesday:`Amalia`,thursday:`Arthur`,friday:`Alex`,saturday:`Andrea`,sunday:`Arnold`},{monday:`Helena`,tuesday:`Fabian`,wednesday:`Marie`,thursday:`Ben`,friday:`Marcus`,saturday:`Alex`,sunday:`Marcus`},{monday:`Fabian`,tuesday:`Helena`,wednesday:`Fabian`,thursday:`Maya`,friday:`Ben`,saturday:`Alex`,sunday:`Helena`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Finn`,tuesday:`Roger`,wednesday:`Christian`,thursday:`Caspar`,friday:`David`,saturday:`Bernard`,sunday:`Anna`},{monday:`Alex`,tuesday:`Anna`,wednesday:`Amalia`,thursday:`Arthur`,friday:`Alex`,saturday:`Andrea`,sunday:`Arnold`},{monday:`Helena`,tuesday:`Fabian`,wednesday:`Marie`,thursday:`Ben`,friday:`Marcus`,saturday:`Alex`,sunday:`Marcus`},{monday:`Fabian`,tuesday:`Helena`,wednesday:`Fabian`,thursday:`Maya`,friday:`Ben`,saturday:`Alex`,sunday:`Helena`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Hong`,tuesday:`Alex`,wednesday:`Kevin`,thursday:`Maya`,friday:`Fabian`,saturday:`Helena`,sunday:`Alex`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Samuel`,tuesday:`Selena`,wednesday:`Sandra`,thursday:`Salim`,friday:`Robert`,saturday:`Richard`,sunday:`Pamela`},{monday:`Finn`,tuesday:`Roger`,wednesday:`Christian`,thursday:`Caspar`,friday:`David`,saturday:`Bernard`,sunday:`Anna`}];function Rj(e){let{dummyClickEventHandler:t}=vA(),n={onClick:t};return(0,X.jsx)(K,{...e,_on:n})}var zj={horizontal:[[{label:`Workdays`,colSpan:5,width:500},{label:`Weekend`,colSpan:2,width:200}],[{key:`monday`,label:`Monday`,render:(e,t)=>{let{label:n}=t;Bj(e,(0,X.jsx)(Rj,{_label:n,style:{fontSize:`75%`}}))},compareFn:(e,t)=>e.monday<t.monday?-1:+(e.monday>t.monday),sortDirection:`ASC`,textAlign:`right`,width:100},{key:`tuesday`,label:`Tuesday`,render:(e,t)=>{let{label:n}=t;Bj(e,(0,X.jsx)(hT,{_color:`#060`,_label:n}))},compareFn:(e,t)=>e.tuesday<t.tuesday?-1:+(e.tuesday>t.tuesday),sortDirection:`DESC`,width:100},{key:`wednesday`,label:`Wednesday`,render:(e,t)=>{let{label:n}=t;Bj(e,(0,X.jsx)(hT,{_color:`#006`,_label:n}))},width:110},{key:`thursday`,label:`Thursday`,render:(e,t)=>{let{label:n}=t;Bj(e,(0,X.jsx)(hT,{_color:`#600`,_label:n}))},width:100},{key:`friday`,label:`Friday`,render:(e,t)=>{let{label:n}=t;Bj(e,(0,X.jsx)(hT,{_color:`#303`,_label:n}))},width:100},{key:`saturday`,label:`Saturday`,render:(e,t)=>{let{label:n}=t;Bj(e,(0,X.jsx)(hT,{_color:`#330`,_label:n}))},width:100},{key:`sunday`,label:`Sunday`,render:(e,t)=>{let{label:n}=t;Bj(e,(0,X.jsx)(hT,{_color:`#033`,_label:n}))},width:100}]],vertical:[[{label:`Early`,width:100},{label:`Noon`,width:100},{label:`Evening`,width:100},{label:`Night`,width:100}]]},Bj=(e,t)=>{let n=document.createElement(`div`);n.setAttribute(`role`,`presentation`),e.innerHTML=``,e.appendChild(n),Ij(n).render(t)},Vj={handout:{basic:()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsxs)(`div`,{className:`grid gap-4 md:grid-cols-[auto_1fr_1fr] items-center`,children:[(0,X.jsx)(FT,{className:`block w-75px`,_labeled:!1}),(0,X.jsx)(q,{_label:``,_level:1,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`Kolibri-Handout `,(0,X.jsxs)(`small`,{children:[`for `,qA(KA())]})]})}),(0,X.jsxs)(bT,{_label:`Abstract`,_open:!0,children:[`The handout shows a selection of KoliBri components in the style of `,(0,X.jsx)(`strong`,{children:qA(KA())}),`. Since KoliBri offers self-contained, accessible web components that can be customized to your own corporate design using theming, you don't have to develop these components yourself. For more information read our documentation and follow us (`,(0,X.jsx)(Y,{_label:`https://github.com/public-ui/kolibri`,_href:`https://github.com/public-ui/kolibri`,_target:`_blank`}),`).`]})]}),(0,X.jsxs)(`div`,{className:`grid gap-4 sm:grid-cols-6 md:grid-cols-6 xl:grid-cols-12`,children:[(0,X.jsx)(vT,{className:`col-span-6 sm:col-span-6 md:col-span-3 xl:col-span-2`,_label:`Heading`,_level:2,children:(0,X.jsxs)(`div`,{slot:``,className:`grid gap-2 p-2`,children:[(0,X.jsx)(q,{_label:`Heading Level 1`,_level:1}),(0,X.jsx)(q,{_label:`Heading Level 2`,_level:2}),(0,X.jsx)(q,{_label:`Heading Level 3`,_level:3}),(0,X.jsx)(q,{_label:`Heading Level 4`,_level:4}),(0,X.jsx)(q,{_label:`Heading Level 5`,_level:5}),(0,X.jsx)(q,{_label:`Heading Level 6`,_level:6}),(0,X.jsx)(q,{_label:`Heading Level 6`,_secondaryHeadline:`Lessons`,_level:6})]})}),(0,X.jsx)(vT,{className:`col-span-6 sm:col-span-6 md:col-span-3 xl:col-span-2`,_label:`Abbreviation and Progress`,_level:2,children:(0,X.jsxs)(`div`,{slot:``,className:`grid gap-2 p-2`,children:[(0,X.jsxs)(`p`,{children:[`I am `,(0,X.jsx)(dT,{children:`e.g.`}),` an abbreviation.`]}),(0,X.jsx)(VT,{_variant:`bar`,_max:100,_value:33,_label:`Progress`}),(0,X.jsx)(VT,{_variant:`cycle`,_max:100,_value:66,_label:`Progress`})]})}),(0,X.jsx)(vT,{className:`col-span-6 sm:col-span-6 md:col-span-6 xl:col-span-3`,_label:`Button, LinkButton and Tab`,_level:2,children:(0,X.jsx)(`div`,{slot:``,className:`grid gap-2 p-2`,children:(0,X.jsxs)(XT,{_label:``,_selected:0,_tabs:[{_label:`Button`},{_label:`LinkButton`},{_label:`Disabled Tab`,_disabled:!0}],children:[(0,X.jsxs)(`div`,{className:`grid gap-2 py-2`,children:[(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(K,{_icons:{left:`kolicon-chevron-left`},_label:`primary`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:{left:`kolicon-chevron-left`},_label:`primary`,_variant:`primary`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-chevron-left`,_label:`primary`,_variant:`primary`,_on:t})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(K,{_icons:{right:`kolicon-chevron-right`},_label:`secondary`,_variant:`secondary`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:{right:`kolicon-chevron-right`},_label:`secondary`,_variant:`secondary`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-chevron-right`,_label:`secondary`,_variant:`secondary`,_on:t})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(K,{_icons:{top:`kolicon-chevron-up`},_label:`danger`,_variant:`danger`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:{top:`kolicon-chevron-up`},_label:`danger`,_variant:`danger`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-chevron-up`,_label:`danger`,_variant:`danger`,_on:t})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(K,{_icons:{bottom:`kolicon-chevron-down`},_label:`normal`,_variant:`normal`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_icons:{bottom:`kolicon-chevron-down`},_label:`normal`,_variant:`normal`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-chevron-down`,_label:`normal`,_variant:`normal`,_on:t})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(K,{_label:`ghost`,_variant:`ghost`}),(0,X.jsx)(K,{_disabled:!0,_label:`ghost`,_variant:`ghost`}),(0,X.jsx)(K,{_icons:`kolicon-house`,_hideLabel:!0,_label:`ghost`,_variant:`ghost`,_on:t})]})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 py-2`,children:[(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(IT,{_href:`#/back-page`,_icons:{left:`kolicon-chevron-left`},_label:`primary`,_variant:`primary`}),(0,X.jsx)(IT,{_href:`#/back-page`,_icons:{left:`kolicon-chevron-left`},_label:`primary`,_variant:`primary`}),(0,X.jsx)(IT,{_href:`#/back-page`,_hideLabel:!0,_icons:`kolicon-chevron-left`,_label:`primary`,_variant:`primary`})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(IT,{_href:`#/back-page`,_icons:{right:`kolicon-chevron-right`},_label:`secondary`,_variant:`secondary`}),(0,X.jsx)(IT,{_href:`#/back-page`,_icons:{right:`kolicon-chevron-right`},_label:`secondary`,_variant:`secondary`}),(0,X.jsx)(IT,{_href:`#/back-page`,_hideLabel:!0,_icons:`kolicon-chevron-right`,_label:`secondary`,_variant:`secondary`})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(IT,{_href:`#/back-page`,_icons:{top:`kolicon-chevron-up`},_label:`danger`,_variant:`danger`}),(0,X.jsx)(IT,{_href:`#/back-page`,_icons:{top:`kolicon-chevron-up`},_label:`danger`,_variant:`danger`}),(0,X.jsx)(IT,{_href:`#/back-page`,_hideLabel:!0,_icons:`kolicon-chevron-up`,_label:`danger`,_variant:`danger`})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(IT,{_href:`#/back-page`,_icons:{bottom:`kolicon-chevron-down`},_label:`normal`,_variant:`normal`}),(0,X.jsx)(IT,{_href:`#/back-page`,_icons:{bottom:`kolicon-chevron-down`},_label:`normal`,_variant:`normal`}),(0,X.jsx)(IT,{_href:`#/back-page`,_hideLabel:!0,_icons:`kolicon-chevron-down`,_label:`normal`,_variant:`normal`})]}),(0,X.jsxs)(`div`,{className:`grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center`,children:[(0,X.jsx)(IT,{_href:`#/back-page`,_label:`ghost`,_variant:`ghost`}),(0,X.jsx)(IT,{_href:`#/back-page`,_label:`ghost`,_variant:`ghost`}),(0,X.jsx)(IT,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`ghost`,_variant:`ghost`})]})]})]})})}),(0,X.jsx)(vT,{className:`col-span-6 sm:col-span-6 md:col-span-2 xl:col-span-2`,_label:`Accordion, Link and ButtonLink`,_level:2,children:(0,X.jsxs)(`div`,{slot:``,className:`grid gap-2 p-2`,children:[(0,X.jsx)(fT,{_label:`Links`,_level:3,_open:!0,children:(0,X.jsxs)(`div`,{className:`grid gap-2`,slot:``,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Link text`}),(0,X.jsx)(Y,{_href:`#/back-page`,_icons:`kolicon-house`,_label:`Link text with icon`}),(0,X.jsx)(Y,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`Link text with icon only`}),(0,X.jsx)(Y,{_href:`/`,_label:`Visited link`}),(0,X.jsxs)(`p`,{children:[`I am a `,(0,X.jsx)(Y,{_href:`#/back-page`,_label:`externer Link`,_target:`w3c`}),` in the running text.`]})]})}),(0,X.jsx)(fT,{_label:`ButtonLinks`,_level:3,children:(0,X.jsxs)(`div`,{className:`grid gap-2`,slot:``,children:[(0,X.jsx)(_T,{_label:`Link text`}),(0,X.jsx)(_T,{_icons:`kolicon-house`,_label:`Link text with icon`}),(0,X.jsx)(_T,{_icons:`kolicon-house`,_hideLabel:!0,_label:`Link text with icon only`}),(0,X.jsxs)(`p`,{children:[`I am a `,(0,X.jsx)(_T,{_label:`Link`}),` in the running text.`]}),(0,X.jsx)(_T,{_icons:{left:`kolicon-chevron-left`,right:`kolicon-chevron-right`,top:`kolicon-chevron-up`,bottom:`kolicon-chevron-down`},_label:`Icons`})]})})]})}),(0,X.jsx)(vT,{className:`col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-3`,_label:`Alert`,_level:2,children:(0,X.jsxs)(`div`,{slot:``,className:`grid gap-2 p-2`,children:[(0,X.jsx)(pT,{_label:`Default message`,_type:`default`,children:`This is the text of the alert.`}),(0,X.jsx)(pT,{_type:`success`,children:`Success message text`}),(0,X.jsx)(pT,{_type:`error`,_hasCloser:!0,children:`This is a error message text.`}),(0,X.jsx)(pT,{_label:`Info card`,_type:`info`,_variant:`card`,children:`This is the text of the alert.`}),(0,X.jsx)(pT,{_label:`Warning card`,_type:`warning`,_hasCloser:!0,_variant:`card`,children:`This is the text of the alert.`})]})}),(0,X.jsx)(vT,{className:`col-span-6 sm:col-span-6 md:col-span-2 xl:col-span-2`,_label:`Nav and Breadcrumb`,_level:2,children:(0,X.jsxs)(`div`,{slot:``,className:`grid gap-2 p-2`,children:[(0,X.jsx)(`div`,{children:(0,X.jsx)(RT,{_label:`Main navigation`,_links:[{_label:`Homepage`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`2 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`},{_active:!0,_label:`3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`,_children:[{_label:`3.1 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`3.2 External navigation point`,_icons:`kolicon-house`,_href:`#/back-page`,_target:`_blank`},{_label:`3.3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`,_children:[{_active:!0,_label:`3.3.1 Navigation point (active)`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`3.3.2 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`}]}]},{_label:`3 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`}],_hasCompactButton:!0})}),(0,X.jsx)(`div`,{children:(0,X.jsx)(gT,{_label:`Breadcrumb aus Text-Links`,_links:[{_label:`Homepage`,_href:`#/back-page`},{_label:`Bottom of the homepage`,_href:`#/back-page`},{_label:`Underside of the underside`,_href:`#/back-page`}]})})]})}),(0,X.jsx)(vT,{className:`col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5`,_label:`Input`,_level:2,children:(0,X.jsx)(CT,{slot:``,children:(0,X.jsxs)(`div`,{className:`grid gap-4 sm:grid-cols-2 md:grid-cols-3 p-2`,children:[(0,X.jsx)(DT,{_label:`Color`}),(0,X.jsx)(AT,{_label:`Upload file`}),(0,X.jsx)(jT,{_label:`Number input`}),(0,X.jsx)(OT,{_type:`date`,_label:`Date`}),(0,X.jsx)(kT,{_icons:`{'left': 'kolicon-house'}`,_msg:{_type:`error`,_description:`Test of an error message`},_touched:!0,_label:`E-mail address`}),(0,X.jsx)(J,{_hint:`I am a hint.`,_label:`First name`}),(0,X.jsx)(MT,{_label:`password`}),(0,X.jsx)(UT,{_options:`[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]`,_label:`Stimmung`}),(0,X.jsx)(PT,{_min:0,_max:50,_value:25,_label:`Slider`}),(0,X.jsx)(NT,{className:`herr-frau`,_options:`[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]`,_value:`1`,_label:`Salutation`}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(NT,{_orientation:`horizontal`,_options:`[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]`,_value:`0`,_label:`Salutation`}),(0,X.jsx)(ET,{_label:``,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`I accept the `,(0,X.jsx)(dT,{children:`AGB`}),`.`]})})]}),(0,X.jsx)(ZT,{_rows:4,_label:`Textarea`})]})})}),(0,X.jsx)(vT,{className:`col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5`,_label:`Table with Pagination`,_level:2,children:(0,X.jsx)(`div`,{slot:``,className:`gap-2 p-2 flex flex-col`,children:(0,X.jsx)(JT,{_label:`Table`,_headers:zj,_data:Lj,_pagination:!0})})})]}),(0,X.jsx)(tE,{_label:`5.0.2-test.2`})]})}}},Hj={heading:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolHeading renders a heading with the given level.`})}),(0,X.jsxs)(Z,{id:`basic`,children:[(0,X.jsx)(q,{_label:`I'm a H1-heading`,_level:1}),(0,X.jsx)(q,{_label:`I'm a H2-heading`,_level:2}),(0,X.jsx)(q,{_label:`I'm a H3-heading`,_level:3}),(0,X.jsx)(q,{_label:`I'm a H4-heading`,_level:4}),(0,X.jsx)(q,{_label:`I'm a H5-heading`,_level:5}),(0,X.jsx)(q,{_label:`I'm a H6-heading`,_level:6})]})]}),badge:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows KolHeading with its different levels and content provided using the export slot instead of the `,(0,X.jsx)(`code`,{children:`_label`}),`-property.`]})}),(0,X.jsxs)(Z,{id:`badged`,children:[(0,X.jsx)(q,{_label:``,_level:1,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`A heading with a `,(0,X.jsx)(hT,{_label:`Label`})]})}),(0,X.jsx)(q,{_label:``,_level:2,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`A heading with a `,(0,X.jsx)(hT,{_color:`#86ffc6`,_label:`Label`})]})}),(0,X.jsx)(q,{_label:``,_level:3,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`A heading with a `,(0,X.jsx)(hT,{_color:`#06539e`,_label:`Label`})]})}),(0,X.jsx)(q,{_label:``,_level:4,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`A heading with a `,(0,X.jsx)(hT,{_color:`#ae0000`,_label:`Label`})]})}),(0,X.jsx)(q,{_label:``,_level:5,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`A heading with a `,(0,X.jsx)(hT,{_color:`#8b008b`,_label:`Label`})]})}),(0,X.jsx)(q,{_label:``,_level:6,children:(0,X.jsxs)(`span`,{slot:`expert`,children:[`A heading with a `,(0,X.jsx)(hT,{_color:`#ffc0cb`,_label:`Label`})]})})]})]}),paragraph:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolHeading with its different levels combined with some text content each.`})}),(0,X.jsxs)(Z,{id:`paragraph`,children:[(0,X.jsx)(q,{_label:`Ich bin eine H1-Überschrift`,_level:1}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.`}),(0,X.jsx)(q,{_label:`Ich bin eine H2-Überschrift`,_level:2}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.`}),(0,X.jsx)(q,{_label:`Ich bin eine H3-Überschrift`,_level:3}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.`}),(0,X.jsx)(q,{_label:`Ich bin eine H4-Überschrift`,_level:4}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.`}),(0,X.jsx)(q,{_label:`Ich bin eine H5-Überschrift`,_level:5}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.`}),(0,X.jsx)(q,{_label:`Ich bin eine H6-Überschrift`,_level:6}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.`})]})]}),secondary:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows KolHeading with the prop `,(0,X.jsx)(`code`,{children:`_secondaryHeadline`}),` in use.`]})}),(0,X.jsx)(Z,{id:`secondary`,children:(0,X.jsx)(q,{_label:`This is a H1 headline`,_secondaryHeadline:`This is a secondary headline`,_level:1})})]})}},Uj={icon:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolIcon renders codicon icons. This sample shows regular icons and one with a custom style-property, changing the icon color.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(wT,{className:`block`,_label:`Alert Info Icon`,_icons:`kolicon-alert-info`}),(0,X.jsx)(wT,{className:`block`,_label:`Kolibri Icon`,_icons:`kolicon-kolibri`}),(0,X.jsx)(wT,{className:`block`,_label:`House Icon`,_icons:`kolicon-house`}),(0,X.jsx)(wT,{className:`block`,_label:`Settings Icon`,_icons:`kolicon-settings`}),(0,X.jsx)(wT,{className:`block`,_label:`Pin Icon (pinned)`,_icons:`kolicon-pin-pinned`}),(0,X.jsx)(wT,{className:`block`,_label:`Pin Icon (unpinned)`,_icons:`kolicon-pin-unpinned`}),(0,X.jsx)(wT,{className:`block w-[1em] h-[1em]`,style:{color:`red`},_label:`House Icon`,_icons:`kolicon-house`}),(0,X.jsx)(wT,{className:`block`,_label:`Plus Icon`,_icons:`codicon codicon-plus`})]})]}),"all-kolicons":()=>{let[e,t]=(0,w.useState)({}),[n,r]=(0,w.useState)(null);return(0,w.useEffect)(()=>{let e=new AbortController;return fetch(`assets/kolicons/kolicons.json`,{signal:e.signal}).then(e=>{if(!e.ok)throw Error(`Failed to load kolicons: ${e.status} ${e.statusText}`.trim());return e.json()}).then(e=>{t(e)}).catch(t=>{if(e.signal.aborted)return;let n=t instanceof Error?t.message:`Failed to load kolicons`;r(n),console.error(t)}),()=>e.abort()},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows all kolicons with their names.`})}),n&&(0,X.jsx)(pT,{_alert:!0,_label:`Kolicons could not be loaded`,_type:`error`,children:n}),(0,X.jsx)(`div`,{className:`grid grid-cols-2 gap-8 p-8`,children:Object.entries(e).map(([e])=>(0,X.jsxs)(`div`,{className:`flex gap-4`,children:[(0,X.jsx)(wT,{_label:`Icon ${e}`,_icons:`kolicon-`+e}),(0,X.jsxs)(`span`,{children:[`kolicon-`,e]})]},e))})]})},font:()=>{let[e]=ik(),t=e.get(`theme`)??KA(),n=(0,w.useMemo)(()=>t?IA(t,`iconVariants`):[],[t]),r=(0,w.useMemo)(()=>t?IA(t,`iconVariantsButton`):[],[t]),i=(0,w.useMemo)(()=>t?IA(t,`iconVariantsInput`):[],[t]),a=Array.isArray(n)&&n.length>0,o=Array.isArray(r)&&r.length>0,s=Array.isArray(i)&&i.length>0;return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolIcon renders different icon fonts depending on your theme.`})}),(0,X.jsx)(Z,{id:`icons`,className:`grid grid-cols-2 gap-8 p-8`,skipSnapshot:!a,children:a?n.map(e=>(0,X.jsxs)(`div`,{className:`flex gap-4`,children:[(0,X.jsx)(wT,{_label:e,_icons:e}),(0,X.jsxs)(`span`,{children:[`<KolIcon _icons='`,e,`' _label="`,e,`" />`]})]},e)):(0,X.jsx)(`p`,{children:`This theme has no variants for icons.`})}),(0,X.jsx)(Z,{id:`buttons`,className:`grid grid-cols-2 gap-8 p-8`,skipSnapshot:!o,children:o?r.map(e=>(0,X.jsxs)(`div`,{className:`flex gap-4 items-center`,children:[(0,X.jsx)(K,{_icons:e,_label:`Button`,_variant:`primary`}),(0,X.jsxs)(`span`,{children:[`<KolButton _icons='`,e,`' _label="Button" _variant="primary" />`]})]},e)):(0,X.jsx)(`p`,{children:`This theme has no variants for icons in buttons.`})}),(0,X.jsx)(Z,{id:`inputs`,className:`grid gap-8 p-8`,skipSnapshot:!s,children:s?i.map(e=>(0,X.jsxs)(`div`,{className:`flex gap-4 items-center`,children:[(0,X.jsx)(J,{_icons:e,_label:`Input with Icon`}),(0,X.jsxs)(`span`,{children:[`<KolInputText _icons='`,e,`' _label="Input with Icon" />`]})]},e)):(0,X.jsx)(`p`,{children:`This theme has no variants for icons in inputs.`})})]})}}},Wj={image:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolImage renders an image. The sample shows an image with alternative text.`})}),(0,X.jsx)(Z,{id:`basic`,fitContent:!0,children:(0,X.jsx)(TT,{_alt:`KoliBri design system illustration showing three people working on laptops surrounded by UI components, charts, and the KoliBri hummingbird logo`,_src:`assets/sample-image.png`,className:`w-image`})})]}),events:()=>{let[e,t]=(0,w.useState)([]),[n,r]=(0,w.useState)([]),[i,a]=(0,w.useState)([]),[o,s]=(0,w.useState)([]),c=(0,w.useRef)(null);return(0,w.useEffect)(()=>{let e=c.current;if(!e)return;let t=()=>a(e=>[...e,new Date().toLocaleTimeString()]),n=()=>s(e=>[...e,new Date().toLocaleTimeString()]);return e.addEventListener(`error`,t),e.addEventListener(`load`,n),()=>{e.removeEventListener(`error`,t),e.removeEventListener(`load`,n)}},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolImage fires both _on.onError / _on.onLoad callbacks and native error / load DOM events on the host element.`})}),(0,X.jsx)(`h3`,{children:`Via _on prop`}),(0,X.jsx)(TT,{_alt:`This image will fail to load`,_src:`/this-image-does-not-exist.png`,_on:{onError:()=>t(e=>[...e,new Date().toLocaleTimeString()]),onLoad:()=>r(e=>[...e,new Date().toLocaleTimeString()])}}),(0,X.jsxs)(`p`,{children:[`onError fired: `,e.length===0?`not yet`:e.join(`, `)]}),(0,X.jsxs)(`p`,{children:[`onLoad fired: `,n.length===0?`not yet`:n.join(`, `)]}),(0,X.jsx)(`h3`,{children:`Via native addEventListener`}),(0,X.jsx)(TT,{ref:c,_alt:`KoliBri design system illustration`,_src:`sample-image.png`,className:`w-image`}),(0,X.jsxs)(`p`,{children:[`native error fired: `,i.length===0?`not yet`:i.join(`, `)]}),(0,X.jsxs)(`p`,{children:[`native load fired: `,o.length===0?`not yet`:o.join(`, `)]})]})}}},Gj=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`unchecked`),children:(0,X.jsx)(ET,{...n,_label:`Not selected`,_value:!1,_required:!0})}),(0,X.jsx)(Z,{...i(`indeterminate`),children:(0,X.jsx)(ET,{...n,_label:`Indeterminate`,_value:null,_indeterminate:!0})}),(0,X.jsx)(Z,{...i(`checked`),children:(0,X.jsx)(ET,{...n,ref:r,_accessKey:`A`,_checked:!0,_label:`Selected`,_tooltipAlign:`right`,_value:!0})}),(0,X.jsx)(Z,{...i(`long-label`),children:(0,X.jsx)(ET,{...n,_checked:!0,_icons:{unchecked:`ckolicon-cross`},_label:`With a very long label and upheavals `.repeat(5),_value:!0})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(ET,{...n,_disabled:!0,_label:`Disabled`,_value:!0,_hint:`Hint text`})}),(0,X.jsx)(Z,{...i(`checked-disabled`),children:(0,X.jsx)(ET,{...n,_checked:!0,_disabled:!0,_label:`Checked and disabled`})}),(0,X.jsx)(Z,{...i(`indet-disabled`),children:(0,X.jsx)(ET,{...n,_indeterminate:!0,_disabled:!0,_label:`Indeterminate and disabled`})}),(0,X.jsx)(Z,{...i(`error`),children:(0,X.jsx)(ET,{...n,_msg:{_type:`error`,_description:aA},_label:`With error`,_touched:!0,_value:!0,_hint:`Hint text`,_required:!0})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(ET,{...n,_label:`With access key`,_accessKey:`c`,_value:null})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(ET,{...n,_label:`With short key`,_shortKey:`s`,_value:null})}),(0,X.jsx)(Z,{...i(`info-popover`),children:(0,X.jsx)(ET,{...n,_label:`With popover`,_value:!1,_required:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`},children:(0,X.jsx)(`span`,{slot:`expert`,children:`Expert Slot & required`})})})]})}),Kj=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(hj,{children:[(0,X.jsx)(gj,{heading:`Label align "left" with label`,children:(0,X.jsx)(Gj,{blockIdPrefix:`left`,...e,_labelAlign:`left`})}),(0,X.jsx)(gj,{heading:`Label align "left" without Label (hideLabel)`,children:(0,X.jsx)(Gj,{blockIdPrefix:`left-hide`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0,_labelAlign:`left`})})]}),(0,X.jsxs)(hj,{children:[(0,X.jsx)(gj,{heading:`Label align "right" with label`,children:(0,X.jsx)(Gj,{blockIdPrefix:`right`,...e})}),(0,X.jsx)(gj,{heading:`Label align "right" without Label (hideLabel)`,children:(0,X.jsx)(Gj,{blockIdPrefix:`right-hide`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})]})}),qj=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputCheckbox renders a checkbox. The sample shows KolInputCheckbox in a form context with all variations and states.`})}),(0,X.jsx)(mj,{RefComponent:Kj,showButtons:!1})]}),Jj=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolInputCheckbox in the variant "button".`})}),(0,X.jsx)(mj,{RefComponent:Kj,_variant:`button`,showButtons:!1})]}),Yj=()=>{let[e,t]=(0,w.useState)([]),n=(0,w.useCallback)(e=>{t(t=>[`${new Date().toISOString().slice(11,23)} ${e}`,...t].slice(0,8))},[]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Clicking the label text while the checkbox is already focused must `,(0,X.jsx)(`strong`,{children:`not`}),` fire a spurious `,(0,X.jsx)(`code`,{children:`onBlur`}),`. To verify the fix: focus the checkbox (Tab or first click), then click its label text again — the event log should show only `,(0,X.jsx)(`code`,{children:`onChange`}),`, `,(0,X.jsx)(`strong`,{children:`not`}),` `,(0,X.jsx)(`code`,{children:`onBlur`}),` followed by `,(0,X.jsx)(`code`,{children:`onFocus`}),`.`]})}),(0,X.jsx)(ET,{_label:`Accept terms and conditions`,_on:{onFocus:()=>n(`onFocus`),onBlur:()=>n(`onBlur`),onChange:(e,t)=>n(`onChange → ${String(t)}`)}}),(0,X.jsxs)(`section`,{style:{marginTop:`1rem`},children:[(0,X.jsx)(`p`,{children:(0,X.jsx)(`strong`,{children:`Event log (newest first):`})}),e.length===0?(0,X.jsx)(`p`,{children:`No events yet.`}):(0,X.jsx)(`ol`,{style:{fontFamily:`monospace`,fontSize:`0.875rem`},children:e.map((e,t)=>(0,X.jsx)(`li`,{children:e},t))})]})]})},Xj=({label:e,blockId:t,renderInput:n})=>{let[r,i]=(0,w.useState)(null),[a,o]=(0,w.useState)(null),s=(0,w.useMemo)(()=>({onChange:(e,t)=>{i(t)},onInput:(e,t)=>{o(t)}}),[]);return(0,X.jsxs)(Z,{id:t??tA(e),className:`grid gap-4 mb-6`,"aria-label":`Event callback demo: ${e}`,children:[n(s),(0,X.jsxs)(`div`,{className:`grid gap-2`,children:[(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`onInput value:`}),` `,(0,X.jsx)(`code`,{children:JSON.stringify(a)})]}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`onChange value:`}),` `,(0,X.jsx)(`code`,{children:JSON.stringify(r)})]})]})]})},Zj={"input-checkbox":{basic:qj,"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(Xj,{label:`KolInputCheckbox`,renderInput:e=>(0,X.jsx)(ET,{_label:`Accept terms`,_on:e})})]}),"focus-events":Yj,switch:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolInputCheckbox in the variant "switch".`})}),(0,X.jsx)(mj,{RefComponent:Kj,_variant:`switch`,showButtons:!1})]}),button:Jj}},Qj=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(DT,{...n,_msg:{_type:`error`,_description:aA},_icons:{left:`kolicon-kolibri`},_label:`Color (Black background test)`,_value:`#f08080`})}),(0,X.jsx)(Z,{...i(`suggestions-error`),children:(0,X.jsx)(DT,{...n,_msg:{_type:`error`,_description:aA},_label:`Color with error and suggestions`,_suggestions:`['#000000','#f08080', '#0000ff','#00ff00']`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(DT,{...n,_msg:{_type:`info`,_description:`Just a hint message.`},_label:`Color`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(DT,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`Color`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(DT,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`Color`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-default`),children:(0,X.jsx)(DT,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`Color`,_touched:!0})}),(0,X.jsx)(Z,{...i(`hint`),children:(0,X.jsx)(DT,{...n,ref:r,_accessKey:`C`,_hint:`Hint text`,_label:`Color with hint`,_value:`#f08080`})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(DT,{...n,_disabled:!0,_label:`Color (Disabled)`,_value:`#f08080`})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(DT,{...n,_label:`With access key`,_accessKey:`c`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(DT,{...n,_label:`With short key`,_shortKey:`s`})}),(0,X.jsx)(Z,{...i(`info-popover`),children:(0,X.jsx)(DT,{...n,_label:`With short popover`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})})]})}),$j=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(hj,{children:[(0,X.jsx)(gj,{heading:`Color`,children:(0,X.jsx)(Qj,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(gj,{heading:`Color (hideLabel)`,children:(0,X.jsx)(Qj,{blockIdPrefix:`hide-label`,snapshotOnly:`suggestions-error`,ref:t,...e,_hideLabel:!0})})]})}),eM={"input-color":{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputColor renders a color input. The sample shows KolInputColor in a form context with all variations and states.`})}),(0,X.jsx)(mj,{RefComponent:$j,showButtons:!1})]}),"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(Xj,{label:`KolInputColor`,renderInput:e=>(0,X.jsx)(DT,{_label:`Pick color`,_on:e})})]})}},tM=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(OT,{...n,_type:`date`,_label:`Date input (Black background test)`,_required:!0})}),(0,X.jsx)(Z,{...i(`datetime-local`),children:(0,X.jsx)(OT,{...n,_type:`datetime-local`,_label:`Local-Datetime (Standard)`,_required:!0})}),(0,X.jsx)(Z,{...i(`datetime-seconds`),children:(0,X.jsx)(OT,{...n,_step:1,_type:`datetime-local`,_hint:oA,_msg:{_type:`error`,_description:aA},_label:`Local datetime (with seconds)`,_required:!0,_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(OT,{...n,_msg:{_type:`info`,_description:`Just a hint`},_label:`Date`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(OT,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`Date`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(OT,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`Date`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-default`),children:(0,X.jsx)(OT,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`Date`,_touched:!0})}),(0,X.jsx)(Z,{...i(`month`),children:(0,X.jsx)(OT,{...n,_type:`month`,_label:`Month`,_required:!0})}),(0,X.jsx)(Z,{...i(`week`),children:(0,X.jsx)(OT,{...n,ref:r,_accessKey:`W`,_type:`week`,_label:`Week`,_required:!0})}),(0,X.jsx)(Z,{...i(`time`),children:(0,X.jsx)(OT,{...n,_type:`time`,_label:`Time (standard)`,_required:!0})}),(0,X.jsx)(Z,{...i(`time-seconds`),children:(0,X.jsx)(OT,{...n,_step:1,_type:`time`,_label:`Time (with seconds)`,_required:!0})}),(0,X.jsx)(Z,{...i(`readonly`),children:(0,X.jsx)(OT,{...n,_readOnly:!0,_label:`Date input (read-only)`,_required:!0})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(OT,{...n,_disabled:!0,_label:`Date input (Disabled)`,_required:!0})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(OT,{...n,_label:`With access key`,_accessKey:`s`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(OT,{...n,_label:`With short key`,_shortKey:`s`})})]})}),nM=({blockIdPrefix:e,...t})=>{let n=new Date(`January 10, 2024, 12:00`),r=new Date(`October 20, 2024, 15:00`);return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{id:`${e}-date-iso`,children:(0,X.jsx)(OT,{...t,_type:`date`,_label:`Date with Iso`,_min:`2024-09-26`,_max:`2024-09-27`})}),(0,X.jsx)(Z,{id:`${e}-date-object`,children:(0,X.jsx)(OT,{...t,_type:`date`,_label:`Date with Date`,_min:n,_max:r})}),(0,X.jsx)(Z,{id:`${e}-time-iso`,children:(0,X.jsx)(OT,{...t,_type:`time`,_label:`Time with Iso`,_min:`12:00`,_max:`15:00`})}),(0,X.jsx)(Z,{id:`${e}-time-object`,children:(0,X.jsx)(OT,{...t,_type:`time`,_label:`Time with Date`,_min:n,_max:r})}),(0,X.jsx)(Z,{id:`${e}-datetime-iso`,children:(0,X.jsx)(OT,{...t,_type:`datetime-local`,_label:`DayTime with Iso`,_min:`2024-09-26T12:00`,_max:`2024-09-27T15:00`})}),(0,X.jsx)(Z,{id:`${e}-datetime-object`,children:(0,X.jsx)(OT,{...t,_type:`datetime-local`,_label:`DayTime with Date`,_min:n,_max:r})}),(0,X.jsx)(Z,{id:`${e}-week-iso`,children:(0,X.jsx)(OT,{...t,_type:`week`,_label:`Week with Iso`,_min:`2024-W10`,_max:`2024-W50`})}),(0,X.jsx)(Z,{id:`${e}-week-object`,children:(0,X.jsx)(OT,{...t,_type:`week`,_label:`Week with Date`,_min:n,_max:r})}),(0,X.jsx)(Z,{id:`${e}-month-iso`,children:(0,X.jsx)(OT,{...t,_type:`month`,_label:`Month with Iso`,_min:`2024-02`,_max:`2024-10`})}),(0,X.jsx)(Z,{id:`${e}-month-object`,children:(0,X.jsx)(OT,{...t,_type:`month`,_label:`Month with Date`,_min:n,_max:r})})]})},rM=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(hj,{children:[(0,X.jsx)(gj,{heading:`Date`,children:(0,X.jsx)(tM,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(gj,{heading:`Date (hideLabel)`,children:(0,X.jsx)(tM,{blockIdPrefix:`hide-label`,snapshotOnly:`datetime-seconds`,ref:t,...e,_hideLabel:!0})}),(0,X.jsx)(gj,{heading:`Date (with min/max)`,children:(0,X.jsx)(nM,{blockIdPrefix:`min-max`,...e})})]})}),iM=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputDate renders all types of fields for date and time input. The sample shows KolInputDate in a form context with all variations and states.`})}),(0,X.jsx)(mj,{RefComponent:rM,showButtons:!1})]}),aM=e=>String(e).padStart(2,`0`),oM=(e,t,n)=>{let r=new Date(e,t-1,n);return r.getFullYear()===e&&r.getMonth()===t-1&&r.getDate()===n};function sM(e){let t=/^\s*(\d{1,2})\.(\d{1,2})\.(\d{4})\s*$/.exec(e);if(!t)return null;let n=+t[1],r=+t[2],i=+t[3];return oM(i,r,n)?`${i}-${aM(r)}-${aM(n)}`:null}function cM(e){return e instanceof HTMLElement&&e.tagName===`KOL-INPUT-DATE`}async function lM(e,t){typeof e.setIsoValue==`function`?await e.setIsoValue(t):e.value===void 0?e._value===void 0?e.setAttribute(`_value`,t):e._value=t:e.value=t,e.dispatchEvent(new Event(`input`,{bubbles:!0,composed:!0})),e.dispatchEvent(new Event(`change`,{bubbles:!0,composed:!0}))}var uM=()=>{let[e,t]=(0,w.useState)(`31.12.2025`),[n,r]=(0,w.useState)(``),i=(0,w.useRef)(null),a=(0,w.useMemo)(()=>sM(e),[e]);(0,w.useEffect)(()=>{let e=new AbortController;return document.addEventListener(`focusin`,e=>{let t=e.composedPath?.()??[];i.current=t.find(cM)??null},{capture:!0,signal:e.signal}),()=>e.abort()},[]),(0,w.useEffect)(()=>{let e=new AbortController;return document.addEventListener(`paste`,e=>{let t=i.current;if(!t)return;let n=sM(e.clipboardData?.getData(`text`)??``);n?(e.preventDefault(),lM(t,n),r(`Pasted.`)):r(`Clipboard: unrecognized date. Use DD.MM.YYYY.`)},{capture:!0,signal:e.signal}),()=>e.abort()},[]);let o=(0,w.useCallback)(async e=>{r(``);try{await navigator.clipboard.writeText(e),r(`Copied.`)}catch{r(`Copy failed. Your browser may block clipboard access.`)}},[]),s=(0,w.useCallback)((e,n)=>{e?.target&&t(typeof n==`string`?n:String(n??``))},[]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Type a date in German format (`,(0,X.jsx)(`code`,{children:`DD.MM.YYYY`}),`), click `,(0,X.jsx)(`em`,{children:`Copy to Clipboard`}),`, then paste it into the date field below with `,(0,X.jsx)(`kbd`,{children:`Ctrl`}),`+`,(0,X.jsx)(`kbd`,{children:`V`}),`. The ISO conversion happens internally.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,lang:`en`,children:[(0,X.jsxs)(`section`,{"aria-labelledby":`de-title`,children:[(0,X.jsx)(`h3`,{id:`de-title`,className:`text-lg font-semibold mb-2`,children:`German date (DD.MM.YYYY)`}),(0,X.jsxs)(`div`,{className:`grid gap-3`,children:[(0,X.jsx)(J,{className:`w-full`,_label:`German date (DD.MM.YYYY)`,_placeholder:`e.g., 31.12.2025`,_value:e,_type:`text`,_on:{onInput:s,onChange:s}}),(0,X.jsx)(`p`,{className:`opacity-80`,id:`button-desc`,children:`Click the button to copy the exact German date, then paste it into the date field below.`}),(0,X.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,X.jsx)(K,{_label:`Copy to Clipboard`,_on:{onClick:()=>o(e)},"aria-describedby":`button-desc`}),!a&&(0,X.jsx)(`span`,{className:`text-red-600`,children:`Invalid date`})]}),(0,X.jsx)(OT,{_type:`date`,_label:`Date (paste here with Ctrl+V)`,className:`w-full`})]})]}),(0,X.jsx)(`p`,{"aria-live":`polite`,role:`status`,className:`mt-2 opacity-80`,children:n})]})]})},dM=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(Xj,{label:`KolInputDate`,renderInput:e=>(0,X.jsx)(OT,{_label:`Date`,_on:e})})]}),fM=()=>{let e=(0,w.useRef)(null);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample demonstrates the KolInputDate `,(0,X.jsx)(`code`,{children:`reset`}),`-Method, which can be used to clear the field, even when it holds incomplete or invalid values.`]})}),(0,X.jsx)(OT,{className:`w-full`,ref:e,_label:`Resettable Input Date`,_value:`2024-02-10`}),(0,X.jsx)(K,{className:`mt`,_label:`Reset`,_on:{onClick:()=>e.current?.reset()}})]})},pM=[`default`,`error`,`info`,`success`,`warning`];function mM(e){return{onChange:()=>e(e=>!e)}}var hM={"input-date":{basic:iM,"get-value":dM,"copy-paste":uM,reset:fM,"show-hide-msg":()=>{let[e,t]=(0,w.useState)(!0),[n,r]=(0,w.useState)(!0),[i,a]=(0,w.useState)(!1),o=mM(t),s=mM(r),c=mM(a);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example shows how messages work in input fields.`})}),(0,X.jsxs)(`div`,{className:`flex gap-4 flex-col`,children:[(0,X.jsxs)(`div`,{className:`flex gap-4 items-center`,children:[(0,X.jsx)(ET,{_label:`Toggle Msg`,_on:o,_checked:e,_variant:`button`}),(0,X.jsx)(ET,{_label:`Toggle Touched`,_on:s,_checked:n,_variant:`button`}),(0,X.jsx)(ET,{_label:`Toggle Hide Msg`,_on:c,_checked:i,_variant:`button`})]}),(0,X.jsxs)(`pre`,{children:[`Message exists: `,e?`Yes`:`No`,` (showMsg: `,e?`Yes`:`No`,`)`,(0,X.jsx)(`br`,{}),`Non-Error-Message visible: `,e&&!i?`Yes`:`No`,` (showMsg: `,e?`Yes`:`No`,`, hideMsg: `,i?`Yes`:`No`,`)`,(0,X.jsx)(`br`,{}),`Error-Message visible: `,e&&n&&!i?`Yes`:`No`,` (showMsg: `,e?`Yes`:`No`,`, isTouched: `,n?`Yes`:`No`,`, hideMsg: `,i?`Yes`:`No`,`)`]}),pM.map(t=>(0,X.jsx)(OT,{_hideMsg:i,_label:`Date (_msg, ${t})`,_msg:e?{_description:`${t} message`,_type:t}:void 0,_touched:n},t))]})]})}}},gM=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(kT,{...n,_required:!0,_value:`test@mail.de`,_msg:{_type:`error`,_description:aA},_label:`E-Mail (Black background test)`})}),(0,X.jsx)(Z,{...i(`suggestions`),children:(0,X.jsx)(kT,{...n,ref:r,_accessKey:`M`,_placeholder:`elke@mustermann.de`,_suggestions:`['test1@mail.de', 'test2@mail.de', 'test3@mail.de']`,_label:`E-Mail (list)`,_hint:oA,_msg:{_type:`error`,_description:aA},_touched:!0,_icons:{left:{icon:`kolicon-chevron-left`},right:{icon:`kolicon-chevron-right`}}})}),(0,X.jsx)(Z,{...i(`info-popover`),children:(0,X.jsx)(kT,{...n,_required:!0,_label:`E-Mail`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(kT,{...n,_msg:{_type:`info`,_description:`Just a hint`},_label:`E-Mail`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(kT,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`E-Mail`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(kT,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`E-Mail`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-default`),children:(0,X.jsx)(kT,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`E-Mail`,_touched:!0})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(kT,{...n,_disabled:!0,_value:`test@mail.de`,_label:`E-Mail (Disabled)`})}),(0,X.jsx)(Z,{...i(`readonly`),children:(0,X.jsx)(kT,{...n,_readOnly:!0,_value:`test@mail.de`,_label:`E-Mail (Readonly)`})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(kT,{...n,_value:`test@mail.de`,_label:`With access key`,_accessKey:`c`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(kT,{...n,_value:`test@mail.de`,_label:`With short key`,_shortKey:`s`})})]})}),_M=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(hj,{children:[(0,X.jsx)(gj,{heading:`Email`,children:(0,X.jsx)(gM,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(gj,{heading:`Email (hideLabel)`,children:(0,X.jsx)(gM,{blockIdPrefix:`hide-label`,snapshotOnly:`suggestions`,ref:t,...e,_hideLabel:!0})})]})}),vM={"input-email":{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputEmail renders an email input field. The sample shows KolInputEmail in a form context with all variations and states.`})}),(0,X.jsx)(mj,{RefComponent:_M,showButtons:!1})]}),counter:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story showcases an email input with a counter for the chars in the field. Maximal length is 30.`})}),(0,X.jsx)(Z,{id:`counter`,children:(0,X.jsx)(kT,{_label:`E-Mail`,_value:`anderson@example.com`,_hasCounter:!0,_maxLength:30})})]}),"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(Xj,{label:`KolInputEmail`,renderInput:e=>(0,X.jsx)(kT,{_label:`E-Mail`,_on:e})})]})}},yM={onClick:()=>console.log(`click`),onChange:(e,t)=>console.log(`onChange `,e,t),onInput:(e,t)=>console.log(`onInput`,e,t)},bM=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(AT,{...n,_label:`Upload file (Black background test)`,_icons:{left:{icon:`kolicon-up`}},_touched:!0,_on:yM})}),(0,X.jsx)(Z,{...i(`error`),children:(0,X.jsx)(AT,{...n,_required:!0,_hint:oA,_msg:{_type:`error`,_description:aA},_label:`Upload file (Error State)`,_icons:{left:{icon:`kolicon-up`}},_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(AT,{...n,_msg:{_type:`info`,_description:`Just a hint`},_label:`Upload file`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(AT,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`Upload file`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(AT,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`Upload file`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-default`),children:(0,X.jsx)(AT,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`Upload file`,_touched:!0})}),(0,X.jsx)(Z,{...i(`multiple`),children:(0,X.jsx)(AT,{...n,ref:r,_accessKey:`h`,_multiple:!0,_msg:{_type:`error`,_description:aA},_label:`Upload file (Multiple)`})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(AT,{...n,_disabled:!0,_label:`Upload file (Disabled)`})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(AT,{...n,_label:`With access key`,_accessKey:`c`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(AT,{...n,_label:`With short key`,_shortKey:`s`})})]})}),xM=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(hj,{children:[(0,X.jsx)(gj,{heading:`File`,children:(0,X.jsx)(bM,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(gj,{heading:`File (hideLabel)`,children:(0,X.jsx)(bM,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),SM={"input-file":{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputFile renders a file input field. The sample shows KolInputFile in a form context with all variations and states.`})}),(0,X.jsx)(mj,{RefComponent:xM,showButtons:!1})]}),"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(Xj,{label:`KolInputFile`,renderInput:e=>(0,X.jsx)(AT,{_label:`Upload file`,_on:e})})]})}},CM=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(jT,{...n,_required:!0,_touched:!0,_value:123,_label:`Number input (Black background test)`})}),(0,X.jsx)(Z,{...i(`icons-error`),children:(0,X.jsx)(jT,{...n,_required:!0,_msg:{_type:`error`,_description:aA},_touched:!0,_placeholder:`Mit Icons`,_label:`Number input`,_icons:{left:{icon:`kolicon-kolibri`},right:{icon:`kolicon-kolibri`}},_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`msg-error`),children:(0,X.jsx)(jT,{...n,_required:!0,_msg:{_type:`error`,_description:aA},_touched:!0,_value:123,_label:`Number input`})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(jT,{...n,_required:!0,_msg:{_type:`warning`,_description:aA},_touched:!0,_value:123,_label:`Number input`})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(jT,{...n,_required:!0,_msg:{_type:`info`,_description:aA},_touched:!0,_value:123,_label:`Number input`})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(jT,{...n,_required:!0,_msg:{_type:`success`,_description:aA},_touched:!0,_value:123,_label:`Number input`})}),(0,X.jsx)(Z,{...i(`min-max-step`),children:(0,X.jsx)(jT,{...n,ref:r,_accessKey:`Z`,_max:10,_min:-10,_step:2,_label:`Number input (-10 to 10 in steps of 2)`})}),(0,X.jsx)(Z,{...i(`hint`),children:(0,X.jsx)(jT,{...n,_hint:`Hint text`,_value:123,_label:`Number input with hint`})}),(0,X.jsx)(Z,{...i(`readonly`),children:(0,X.jsx)(jT,{...n,_readOnly:!0,_value:123,_label:`Number input (Readonly)`})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(jT,{...n,_disabled:!0,_value:123,_label:`Number input (Disabled)`})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(jT,{...n,_label:`With access key`,_accessKey:`c`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(jT,{...n,_label:`With short key`,_shortKey:`s`})})]})}),wM=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(hj,{children:[(0,X.jsx)(gj,{heading:`Number`,children:(0,X.jsx)(CM,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(gj,{heading:`Number (hideLabel)`,children:(0,X.jsx)(CM,{blockIdPrefix:`hide-label`,snapshotOnly:`msg-error`,ref:t,...e,_hideLabel:!0})})]})}),TM=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputNumber encompasses basic functionalities, utilizing the min, max, and step attributes to restrict the range of input values. Despite these constraints, it allows free input that can ignore the defined minimum and maximum values, as well as step sizes. The component intentionally does not emphasize validation rules, supporting examples without form validation, and refrains from additional validation through native HTML element validation.`})}),(0,X.jsx)(mj,{RefComponent:wM,showButtons:!1})]}),EM=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(Xj,{label:`KolInputNumber`,renderInput:e=>(0,X.jsx)(jT,{_label:`Amount`,_on:e})})]}),DM=e=>e.type===`checkbox`,OM=e=>e.type===`file`,kM=e=>e instanceof Date,AM=e=>e==null,jM=e=>typeof e==`object`,MM=e=>!AM(e)&&!Array.isArray(e)&&jM(e)&&!kM(e),NM=e=>MM(e)&&e.target?DM(e.target)?e.target.checked:OM(e.target)?e.target.files:e.target.value:e,PM=/[.[\]'"]/,FM=e=>e.split(PM).filter(Boolean);function IM(e,t){let n=FM(t),r=e._formValues,i=e._defaultValues;for(let e=0;e<n.length-1;e++){let t=n[e];if(r=r==null?r:r[t],i=i==null?i:i[t],r===null||i===null)return null}}var LM=(e,t)=>t.split(`.`).some((t,n,r)=>!isNaN(Number(t))&&e.has(r.slice(0,n).join(`.`))),RM=typeof window<`u`&&window.HTMLElement!==void 0&&typeof document<`u`;function zM(e){if(typeof e!=`object`||!e)return e;if(e instanceof Date)return new Date(e);let t=typeof Blob<`u`&&e instanceof Blob,n=typeof FileList<`u`&&e instanceof FileList;if(RM&&(t||n))return e;let r=Array.isArray(e);if(!r&&e.constructor!==Object)return e;let i=r?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=zM(e[t]));return i}var BM={BLUR:`blur`,FOCUS_OUT:`focusout`,CHANGE:`change`,SUBMIT:`submit`,TRIGGER:`trigger`,VALID:`valid`},VM={onBlur:`onBlur`,onChange:`onChange`,onSubmit:`onSubmit`,onTouched:`onTouched`,all:`all`},HM={max:`max`,min:`min`,maxLength:`maxLength`,minLength:`minLength`,pattern:`pattern`,required:`required`,validate:`validate`},UM=[HM.required,HM.min,HM.max,HM.minLength,HM.maxLength,HM.pattern,HM.validate],WM=`form`,GM=`root`,KM=[`__proto__`,`constructor`,`prototype`],qM=/^\w*$/,JM=e=>qM.test(e),YM=e=>e===void 0,$=(e,t,n)=>{if(!t||!MM(e))return n;let r=JM(t)?[t]:FM(t);if(r.some(e=>KM.includes(e)))return n;let i=r.reduce((e,t)=>AM(e)?void 0:e[t],e);return YM(i)||i===e?YM(e[t])?n:e[t]:i},XM=e=>typeof e==`boolean`,ZM=e=>typeof e==`function`,QM=(e,t,n)=>{let r=-1,i=JM(t)?[t]:FM(t),a=i.length,o=a-1;for(;++r<a;){let t=i[r],a=n;if(r!==o){let n=e[t];a=MM(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if(KM.includes(t))return;e[t]=a,e=e[t]}},$M=w.createContext(null);$M.displayName=`HookFormControlContext`;var eN=()=>w.useContext($M),tN=(e,t,n,r=!0)=>{let i={};for(let a in e)Object.defineProperty(i,a,{get:()=>{let i=a;return t._proxyFormState[i]!==VM.all&&(t._proxyFormState[i]=!r||VM.all),n&&(n[i]=!0),e[i]}});return i},nN=RM?w.useLayoutEffect:w.useEffect,rN=e=>{let t=e.constructor&&e.constructor.prototype;return MM(t)&&t.hasOwnProperty(`isPrototypeOf`)},iN=e=>AM(e)||!jM(e),aN=(e,t)=>t.length===0&&!Array.isArray(e)&&!rN(e);function oN(e,t,n=new WeakMap){if(e===t)return!0;if(iN(e)||iN(t))return Object.is(e,t);if(kM(e)&&kM(t))return Object.is(e.getTime(),t.getTime());let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(aN(e,r)||aN(t,i))return Object.is(e,t);if(!r.length&&Array.isArray(e)!==Array.isArray(t))return!1;let a=n.get(e);if(a&&a.has(t))return!0;if(a)a.add(t);else{let r=new WeakSet;r.add(t),n.set(e,r)}for(let i of r){let r=e[i];if(!(i in t))return!1;if(i!==`ref`){let e=t[i];if(kM(r)&&kM(e)||(MM(r)||Array.isArray(r))&&(MM(e)||Array.isArray(e))?!oN(r,e,n):!Object.is(r,e))return!1}}return!0}function sN(e){let t=w.useRef(!1),n=w.useRef(!1),r=w.useRef(void 0),i=w.useRef(0);return i.current++,!n.current&&e&&(n.current=!0,r.current=zM(e())),{resyncIfNeeded:w.useCallback((e,a,o)=>{if(e&&(t.current||n.current&&i.current>1)){let e=a();oN(r.current,e)||o(e)}t.current=!0},[]),snapshot:w.useCallback((e,t)=>{e&&(r.current=zM(t()))},[])}}function cN(e){let t=eN(),{control:n=t,disabled:r,name:i,exact:a}=e||{},o=()=>({...n._formState,defaultValues:n._defaultValues}),[s,c]=w.useState(o),l=w.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),{resyncIfNeeded:u,snapshot:d}=sN(o);return nN(()=>{u(!r,o,c);let e=n._subscribe({name:i,formState:l.current,exact:a,callback:e=>{!r&&c({...n._formState,...e,defaultValues:n._defaultValues})}});return()=>{e(),d(!r,o)}},[n,i,r,a,u,d]),w.useEffect(()=>{l.current.isValid&&n._setValid(!0)},[n]),w.useMemo(()=>tN(s,n,l.current,!1),[s,n])}var lN=e=>typeof e==`string`,uN=(e,t,n,r,i)=>lN(e)?(r&&t.watch.add(e),$(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),$(n,e,$(i,e)))):(r&&(t.watchAll=!0),n);function dN(e){let t=eN(),{control:n=t,name:r,defaultValue:i,disabled:a,exact:o,compute:s}=e||{},c=w.useRef(i),l=w.useRef(s),u=w.useRef(n),d=w.useRef(r);l.current=s;let f=()=>{let e=n._getWatch(r,c.current);return l.current?l.current(e):e},[p,m]=w.useState(f),h=w.useRef(p),g=w.useCallback(e=>{let t=uN(r,n._names,e||n._formValues,!1,c.current);return l.current?l.current(t):t},[n._formValues,n._names,r]),_=w.useCallback(e=>{if(!a){let t=uN(r,n._names,e||n._formValues,!1,c.current);if(l.current){let e=l.current(t);oN(e,h.current)||(m(e),h.current=e)}else m(t)}},[n._formValues,n._names,a,r]),{resyncIfNeeded:v,snapshot:y}=sN(f),b=w.useRef(_);b.current=_;let x=w.useRef(g);x.current=g,nN(()=>{u.current!==n||!oN(d.current,r)?(u.current=n,d.current=r,b.current()):v(!a,()=>x.current(),e=>{m(e),h.current=e});let e=n._subscribe({name:r,formState:{values:!0},exact:o,callback:e=>{b.current(e.values)}});return()=>{e(),y(!a,()=>x.current())}},[n,o,r,a,v,y]),w.useEffect(()=>n._removeUnmounted());let S=u.current!==n,C=d.current;return w.useMemo(()=>{if(a)return!1;let e=!S&&!oN(C,r);return S||e},[a,S,r,C])?g():p}function fN(e){let t=eN(),{name:n,disabled:r,control:i=t,shouldUnregister:a,defaultValue:o,exact:s=!0}=e,c=LM(i._names.array,n),l=dN({control:i,name:n,defaultValue:w.useMemo(()=>{let e=$(i._formValues,n,$(i._defaultValues,n,o));return YM(e)?IM(i,n):e},[i,n,o]),exact:s}),u=cN({control:i,name:n,exact:s}),d=w.useRef(e),f=w.useRef(null),p=w.useRef(i.register(n,{...e.rules,value:l,...XM(e.disabled)?{disabled:e.disabled}:{}}));d.current=e;let m=w.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!$(u.errors,n)},isDirty:{enumerable:!0,get:()=>!!$(u.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!$(u.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!$(u.validatingFields,n)},error:{enumerable:!0,get:()=>$(u.errors,n)}}),[u,n]),h=w.useCallback(e=>{let t=NM(e);return $(i._fields,n)||(p.current=i.register(n,{...d.current.rules,value:t})),p.current.onChange({target:{value:NM(e),name:n},type:BM.CHANGE})},[n,i]),g=w.useCallback(()=>p.current.onBlur({target:{value:$(i._formValues,n),name:n},type:BM.BLUR}),[n,i._formValues]),_=w.useCallback(e=>{e&&(f.current={focus:()=>ZM(e.focus)&&e.focus(),select:()=>ZM(e.select)&&e.select(),setCustomValidity:t=>ZM(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>ZM(e.reportValidity)&&e.reportValidity()});let t=$(i._fields,n);t&&t._f&&e&&(t._f.ref=f.current,t._f._c=!0)},[i._fields,n]),v=w.useMemo(()=>({name:n,value:l,...XM(r)||u.disabled?{disabled:u.disabled||r}:{},onChange:h,onBlur:g,ref:_}),[n,r,u.disabled,h,g,_,l]);return w.useEffect(()=>{let e=i._options.shouldUnregister||a;p.current=i.register(n,{...d.current.rules,...XM(d.current.disabled)?{disabled:d.current.disabled}:{}});let t=(e,t)=>{let n=$(i._fields,e);n&&n._f&&(n._f.mount=t,n._f._c=t)};if(t(n,!0),e){let e=zM($(a?i._defaultValues:i._options.values||i._defaultValues,n,$(i._options.defaultValues,n,d.current.defaultValue)));QM(i._defaultValues,n,e),YM($(i._formValues,n))&&QM(i._formValues,n,e)}if(!c&&i.register(n,{...d.current.rules,...XM(d.current.disabled)?{disabled:d.current.disabled}:{}}),f.current){let e=$(i._fields,n);e&&e._f&&(e._f.ref=f.current)}return()=>{(c?e&&!i._state.action:e)?i.unregister(n):t(n,!1)}},[n,i,c,a]),w.useEffect(()=>{i._setDisabledField({disabled:r,name:n})},[r,n,i]),w.useMemo(()=>({field:v,formState:u,fieldState:m}),[v,u,m])}var pN=e=>e.render(fN(e)),mN=e=>({isOnSubmit:!e||e===VM.onSubmit,isOnBlur:e===VM.onBlur,isOnChange:e===VM.onChange,isOnAll:e===VM.all,isOnTouch:e===VM.onTouched}),hN=(e,t,n)=>{if(n)return!1;if(t.watchAll||t.watch.has(e))return!0;for(let n of t.watch)if(e.startsWith(n)&&e.charAt(n.length)===`.`)return!0;return!1},gN=(e,t,n)=>{for(let r of n||Object.keys(e)){if(r===`_f`)continue;let i=n?$(e,r):e[r];if(i){let{_f:e}=i;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],e.name)||e.ref&&t(e.ref,e.name)||gN(i,t))return!0}else if((MM(i)||Array.isArray(i))&&gN(i,t))return!0}}},_N=(e,t,n)=>{let r=$(e,n),i=Array.isArray(r)?r:[];return QM(i,GM,t[n]),QM(e,n,i),e},vN=e=>MM(e)&&!Object.keys(e).length,yN=e=>{if(!RM)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},bN=e=>e.type===`radio`,xN=e=>e instanceof RegExp,SN=(e,t,n,r,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:i||!0}}:{},CN={value:!1,isValid:!1},wN={value:!0,isValid:!0},TN=e=>{if(!Array.isArray(e))return CN;if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}let t=e[0];return!t||!t.checked||t.disabled?CN:!t.attributes||!(`value`in t.attributes)||YM(t.value)||t.value===``?wN:{value:t.value,isValid:!0}},EN={isValid:!1,value:null},DN=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,EN):EN;function ON(e,t,n=`validate`){if(lN(e)||Array.isArray(e)&&e.every(lN)||XM(e)&&!e)return{type:n,message:lN(e)?e:``,ref:t}}var kN=e=>MM(e)&&!xN(e)?e:{value:e,message:``},AN=async(e,t,n,r,i,a)=>{let{ref:o,refs:s,required:c,maxLength:l,minLength:u,min:d,max:f,pattern:p,validate:m,name:h,valueAsNumber:g,mount:_,_c:v}=e._f,y=$(n,h);if(!_||t.has(h))return{};let b=s?s[0]:o,x=e=>{if(i&&b.reportValidity){let t=XM(e)?``:e||``;s?s.forEach(e=>ZM(e.setCustomValidity)&&e.setCustomValidity(t)):b.setCustomValidity(t),b.reportValidity()}},S={},C=bN(o),w=DM(o),T=C||w,E=(g||OM(o))&&YM(o.value)&&YM(y)||yN(o)&&o.value===``&&!v||y===``||Array.isArray(y)&&!y.length,ee=SN.bind(null,h,r,S),te=(e,t,n,r=HM.maxLength,i=HM.minLength)=>{let a=e?t:n;S[h]={type:e?r:i,message:a,ref:o,...ee(e?r:i,a)}};if(a?!Array.isArray(y)||!y.length:c&&(!T&&(E||AM(y))||XM(y)&&!y||w&&!TN(s).isValid||C&&!DN(s).isValid)){let{value:e,message:t}=lN(c)?{value:!!c,message:c}:kN(c);if(e&&(S[h]={type:HM.required,message:t,ref:b,...ee(HM.required,t)},!r))return x(t),S}if(!E&&(!AM(d)||!AM(f))){let e,t,n=kN(f),i=kN(d);if(!AM(y)&&!kM(y)&&!isNaN(y)){let r=o.valueAsNumber||y&&+y;AM(n.value)||(e=r>n.value),AM(i.value)||(t=r<i.value)}else{let r=o.valueAsDate||new Date(y),a=e=>new Date(new Date().toDateString()+` `+e),s=o.type==`time`,c=o.type==`week`;lN(n.value)&&y&&(e=s?a(y)>a(n.value):c?y>n.value:r>new Date(n.value)),lN(i.value)&&y&&(t=s?a(y)<a(i.value):c?y<i.value:r<new Date(i.value))}if((e||t)&&(te(!!e,n.message,i.message,HM.max,HM.min),!r))return x(S[h].message),S}if((l||u)&&!E&&(lN(y)||a&&Array.isArray(y))){let e=kN(l),t=kN(u),n=!AM(e.value)&&y.length>+e.value,i=!AM(t.value)&&y.length<+t.value;if((n||i)&&(te(n,e.message,t.message),!r))return x(S[h].message),S}if(p&&!E&&lN(y)){let{value:e,message:t}=kN(p);if(xN(e)&&!y.match(e)&&(S[h]={type:HM.pattern,message:t,ref:o,...ee(HM.pattern,t)},!r))return x(t),S}if(m){if(ZM(m)){let e=ON(await m(y,n),b);if(e&&(S[h]={...e,...ee(HM.validate,e.message)},!r))return x(e.message),S}else if(MM(m)){let e={};for(let t in m){if(!vN(e)&&!r)break;let i=ON(await m[t](y,n),b,t);i&&(e={...i,...ee(t,i.message)},r||x(i.message),r&&(S[h]=e))}if(!vN(e)&&(S[h]={ref:b,...e},!r))return S}}let ne=S[h];return x(!ne||ne.message),S},jN=e=>Array.isArray(e)?e:[e],MN=e=>Array.isArray(e)?e.filter(Boolean):[];function NN(e,t){let n=t.length-1,r=0;for(;r<n;){if(AM(e)){e=void 0;break}e=e[t[r]],r++}return e}function PN(e){for(let t in e)if(e.hasOwnProperty(t)&&!YM(e[t]))return!1;return!0}function FN(e,t){if(lN(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;let n=Array.isArray(t)?t:JM(t)?[t]:FM(t);if(n.some(e=>KM.includes(String(e))))return e;let r=n.length===1?e:NN(e,n),i=n.length-1,a=n[i];return r&&delete r[a],i!==0&&(MM(r)&&vN(r)||Array.isArray(r)&&PN(r))&&FN(e,n.slice(0,-1)),e}var IN=w.createContext(null);IN.displayName=`HookFormContext`;var LN=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function RN(e,t){let n=Array.isArray(e)?[]:{};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r],a=t[r];i&&(MM(i)||Array.isArray(i))&&a?n[r]=RN(i,a):e[r]&&(n[r]=a)}return n}var zN=(e,t)=>e!==null&&jM(e)&&Object.prototype.hasOwnProperty.call(e,t),BN=(e,t)=>{if(!t)return!1;let n=e;for(let r of JM(t)?[t]:FM(t)){if(!zN(n,r))return zN(e,t);n=n[r]}return!0},VN=e=>e.type===`select-multiple`,HN=e=>bN(e)||DM(e),UN=e=>yN(e)&&e.isConnected;function WN(e){return Array.isArray(e)||MM(e)}function GN(e,t,n=``,r=[]){for(let i in e){let a=n?`${n}.${i}`:i,o=e[i];WN(o)&&WN($(t,a))?GN(o,t,a,r):r.push(a)}return r}var KN=e=>{for(let t in e)if(ZM(e[t]))return!0;return!1};function qN(e){return Array.isArray(e)||MM(e)&&!KN(e)}function JN(e){return!!(e&&`_f`in e)}function YN(e){return Array.isArray(e)?!e.some(e=>!YM(e)):!Object.keys(e).length}function XN(e,t){Array.isArray(e)?e[t]=void 0:delete e[t]}function ZN(e,t={},n){for(let r in e){let i=e[r],a=n&&n[r];qN(i)&&(!Array.isArray(i)||!JN(a))?(t[r]=Array.isArray(i)?[]:{},ZN(i,t[r],a),YN(t[r])&&XN(t,r)):YM(i)||(t[r]=!0)}return t}function QN(e,t,n,r){n||=ZN(t,{},r);for(let i in e){let a=e[i],o=r&&r[i];qN(a)&&(!Array.isArray(a)||!JN(o))?(YM(t)||iN(n[i])?n[i]=ZN(a,Array.isArray(a)?[]:{},o):QN(a,AM(t)?{}:t[i],n[i],o),YN(n[i])&&XN(n,i)):oN(a,t[i])?XN(n,i):n[i]=!0}return n}var $N=(e,t)=>{let n=t.split(`.`),r=[],i=n[0];for(let t=1;t<n.length;i+=`.`+n[t++])!isNaN(+n[t])&&e.has(i)&&r.push(`${i}.${n[t]}`);return r},eP=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>YM(e)?e:t?e===``?NaN:e&&+e:n&&lN(e)?new Date(e):r?r(e):e;function tP(e){let t=e.ref;return OM(t)?t.files:bN(t)?DN(e.refs).value:VN(t)?[...t.selectedOptions].map(({value:e})=>e):DM(t)?TN(e.refs).value:eP(t.value,e)}var nP=(e,t,n,r)=>{let i={};for(let n of e){let e=$(t,n);e&&QM(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:r}},rP=e=>YM(e)?e:xN(e)?e.source:MM(e)?xN(e.value)?e.value.source:e.value:e,iP=`AsyncFunction`,aP=e=>{if(!e||!e.validate)return!1;if(ZM(e.validate))return e.validate.constructor.name===iP;if(MM(e.validate)){for(let t in e.validate)if(e.validate[t].constructor.name===iP)return!0}return!1},oP=e=>e.mount&&(e.required||!YM(e.required)&&e.required!==!1||!YM(e.min)||!YM(e.max)||!YM(e.maxLength)||!YM(e.minLength)||e.pattern||e.validate);function sP(e,t,n){let r=$(e,n);if(r?.type||r?.message||Array.isArray(r))return{error:r,name:n};let i=n.split(`.`);for(;i.length;){let r=i.join(`.`),a=$(t,r),o=$(e,r);if(a&&!Array.isArray(a)&&n!==r)return{name:n};if(o&&o.type)return{name:r,error:o};if(o&&o.root&&o.root.type)return{name:`${r}.root`,error:o.root};i.pop()}return{name:n}}var cP=(e,t,n,r)=>{n(e);let i=Object.keys(e).filter(e=>e!==`name`);return!i.length||r&&i.length>=Object.keys(t).length||i.find(e=>t[e]===(!r||VM.all))},lP=(e,t,n)=>!e||!t||e===t||jN(e).some(e=>e&&(n?e===t||e.startsWith(t+`.`):e.startsWith(t)||t.startsWith(e))),uP=(e,t,n,r,i)=>i.isOnAll?!1:!n&&i.isOnTouch?!(t||e):(n?r.isOnBlur:i.isOnBlur)?!e:!(n?r.isOnChange:i.isOnChange)||e,dP=(e,t)=>{let n=$(e,t);!MN(n).length&&!(n!=null&&n.root)&&FN(e,t)},fP={mode:VM.onSubmit,reValidateMode:VM.onChange,shouldFocusError:!0},pP=(e,t)=>{for(let n in e)n in t||delete e[n];Object.assign(e,t)},mP={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function hP(e={}){let t={...fP,...e},n={...zM(mP),isLoading:ZM(t.defaultValues),errors:t.errors||{},disabled:t.disabled||!1},r={},i=(MM(t.defaultValues)||MM(t.values))&&zM(t.defaultValues||t.values)||{},a=t.shouldUnregister?{}:zM(i),o={action:!1,actionArrayLengths:new Map,mount:!1,watch:!1,keepIsValid:!1},s={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},c={},l={},u=0,d=mN(t.mode),f=mN(t.reValidateMode),p={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},m={...p},h={...m},g=(...e)=>e.some(e=>m[e]||h[e]),_={array:LN(),state:LN()},v=0,y=0,b=t.criteriaMode===VM.all,x=(e,t)=>n=>{clearTimeout(l[e]),l[e]=setTimeout(t,n)},S=e=>{clearTimeout(l[e]),delete l[e],delete c[e]},C=e=>{S(e);let t=`${e}.`;for(let e of Object.keys(c))e.startsWith(t)&&S(e)},w=async e=>{if(!o.keepIsValid&&!t.disabled&&(g(`isValid`)||e)){let e=++v,i;t.resolver?(i=vN((await se()).errors),e===v&&T()):i=await ue({fields:r,onlyCheckValid:!0,eventType:BM.VALID}),e===v&&i!==n.isValid&&_.state.next({isValid:i})}},T=(e,r)=>{!t.disabled&&g(`isValidating`,`validatingFields`)&&((e||s.mount).forEach(e=>{e&&(r?QM(n.validatingFields,e,r):FN(n.validatingFields,e))}),_.state.next({validatingFields:n.validatingFields,isValidating:!vN(n.validatingFields)}))},E=()=>{n.dirtyFields=QN(i,a,void 0,r)},ee=(e,i=[],s,c,l=!0,u=!0)=>{if(c&&s&&!t.disabled){o.action=!0;let t=$(r,e);if(o.actionArrayLengths.has(e)||o.actionArrayLengths.set(e,Array.isArray(t)?t.length:0),u&&Array.isArray(t)){let n=s(t,c.argA,c.argB);l&&QM(r,e,n)}let a=$(n.errors,e);if(u&&Array.isArray(a)){let t=a.root,r=s(a,c.argA,c.argB)||a;t&&(r.root=t),l&&QM(n.errors,e,r),dP(n.errors,e)}let d=$(n.touchedFields,e),f=u&&Array.isArray(d);if(f){let t=s(d,c.argA,c.argB);l&&QM(n.touchedFields,e,t)}let p=$(n.dirtyFields,e);if(u&&Array.isArray(p)){let t=s(p,c.argA,c.argB)||p;l&&QM(n.dirtyFields,e,t)}g(`dirtyFields`)&&E(),_.state.next({name:e,isDirty:fe(e,i),dirtyFields:n.dirtyFields,...f&&{touchedFields:n.touchedFields},errors:n.errors,isValid:n.isValid})}else QM(a,e,i)},te=(e,t)=>{QM(n.errors,e,t),n.errors={...n.errors},_.state.next({errors:n.errors})},ne=e=>{Object.keys(c).forEach(S);let t=!vN(e);n.errors=e,_.state.next({errors:n.errors,...t?{isValid:!1}:{}}),!t&&o.mount&&w()},re=e=>{let t=JM(e)?[e]:FM(e),n=a,r=i;for(let e=0;e<t.length-1;e++){let i=t[e];if(n=AM(n)?n:n[i],r=AM(r)?r:r[i],n===null&&r!==null)return!0}return!1},ie=e=>{if(!o.actionArrayLengths.size)return!1;let t=JM(e)?[e]:FM(e),n=a,r=``,i=-1,s=0;for(let e=0;e<t.length;e++){if(AM(n))return!1;let a=t[e];if(r=r?`${r}.${a}`:a,Array.isArray(n)&&+a>=n.length)return i===-1?!1:e!==i||+a<s;if(o.actionArrayLengths.has(r)&&(i=e+1,s=o.actionArrayLengths.get(r)),n=n[a],YM(n)&&i!==-1&&e>i&&+t[i]<s)return!0}return!1},ae=(c,l,u,d)=>{let f=$(r,c);if(f){if(re(c)||ie(c))return;let r=YM($(a,c)),p=$(a,c,YM(u)?$(i,c):u);YM(p)||d&&d.defaultChecked||l?QM(a,c,l?p:tP(f._f)):he(c,p),o.mount&&!o.action&&(t.resolver&&g(`isValidating`,`validatingFields`)?Promise.resolve().then(()=>w()):w(),r&&n.isDirty&&g(`isDirty`)&&(fe()||(n.isDirty=!1,_.state.next({...n}))),e.shouldUnregister&&r&&!YM($(a,c))&&hN(c,s)&&(o.watch=!0))}},oe=(e,o,s,c,l)=>{let u=!1,d=!1,f={name:e};if(!t.disabled||c===!0){if(!s||c){let t=oN($(i,e),o);g(`isDirty`)&&(d=n.isDirty,n.isDirty=f.isDirty=!t||fe(),u=d!==f.isDirty),d=!!$(n.dirtyFields,e),t===n.isDirty?t?FN(n.dirtyFields,e):QM(n.dirtyFields,e,!0):pP(n.dirtyFields,QN(i,a,void 0,r)),f.dirtyFields=n.dirtyFields,u||=g(`dirtyFields`)&&d!==!t}if(s){let t=$(n.touchedFields,e);t||(QM(n.touchedFields,e,s),f.touchedFields=n.touchedFields,u||=g(`touchedFields`)&&t!==s)}u&&l&&_.state.next(f)}return u?f:{}},D=(e,r,i,a)=>{let o=$(n.errors,e),s=g(`isValid`)&&XM(r)&&n.isValid!==r;if(t.delayError&&i?(c[e]=x(e,()=>te(e,i)),c[e](t.delayError)):(S(e),i?QM(n.errors,e,i):FN(n.errors,e),n.errors={...n.errors}),(i?!oN(o,i):o)||!vN(a)||s){let t={...a,...s&&XM(r)?{isValid:r}:{},errors:n.errors,name:e};_.state.next(t)}},se=async e=>(T(e,!0),await t.resolver(a,t.context,nP(e||s.mount,r,t.criteriaMode,t.shouldUseNativeValidation))),ce=async e=>{let t=y,{errors:i}=await se(e);if(t!==y)return i;if(T(e),e){for(let t of e){let e=$(i,t);C(t);let a=s.array.has(t)&&MM(e)&&!Object.keys(e).some(e=>!Number.isNaN(Number(e))),o=$(r,t),c=MM(o)&&Object.keys(o).some(e=>e!==`_f`);a?_N(n.errors,{[t]:e},t):e?.type||e?.message||Array.isArray(e)||MM(e)&&c?QM(n.errors,t,e):FN(n.errors,t)}n.errors={...n.errors}}else Object.keys(c).forEach(S),n.errors=i;return i},le=async({name:e,eventType:r})=>{if(t.validate){let i=y,o=await t.validate({formValues:a,formState:n,name:e,eventType:r});if(i!==y)return!0;if(MM(o)){let e=!0;Ee(WM);for(let t in o){let n=o[t];n&&(e=!1,De(`${WM}.${t}`,{message:lN(n.message)?n.message:``,type:n.type||HM.validate}))}return e}return lN(o)||!o?(De(WM,{message:o||``,type:HM.validate}),!1):(Ee(WM),!0)}return!0},ue=async({fields:r,onlyCheckValid:i,name:o,eventType:c,context:l={valid:!0,runRootValidation:!1}})=>{let u=y;if(t.validate&&!l.runRootValidation&&(l.runRootValidation=!0,!await le({name:o,eventType:c})&&(l.valid=!1,i)))return l.valid;for(let o in r){let d=r[o];if(d){let{_f:r,...f}=d;if(r){let o=s.array.has(r.name),c=d._f&&aP(d._f),f=g(`isValidating`,`validatingFields`);c&&f&&T([r.name],!0);let p=await AN(d,s.disabled,a,b,t.shouldUseNativeValidation&&!i,o);if(u!==y)return l.valid;if(c&&f&&T([r.name]),p[r.name]&&(l.valid=!1,i)||(i||(S(r.name),$(p,r.name)?o?_N(n.errors,p,r.name):QM(n.errors,r.name,p[r.name]):FN(n.errors,r.name)),e.shouldUseNativeValidation&&p[r.name]))break}!vN(f)&&await ue({context:l,onlyCheckValid:i,fields:f,name:o,eventType:c})}}return l.valid},de=()=>{for(let e of s.unMount){let t=$(r,e);t&&(t._f.refs?t._f.refs.every(e=>!UN(e)):!UN(t._f.ref))&&je(e)}s.unMount=new Set},fe=(e,t)=>(e&&t&&QM(a,e,t),!oN(o.mount?a:i,i)),pe=(e,t,n)=>uN(e,s,{...o.mount?a:YM(t)||lN(e)?i:t},n,t),me=e=>MN($(o.mount?a:i,e,t.shouldUnregister?$(i,e,[]):[])),he=(e,t,n={},i=!1,o=!1,s=!1)=>{let c=$(r,e),l=t;if(c){let n=c._f;n&&(!n.disabled&&QM(a,e,eP(t,n)),l=yN(n.ref)&&AM(t)?``:t,VN(n.ref)?[...n.ref.options].forEach(e=>e.selected=l.includes(e.value)):n.refs?DM(n.ref)?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(e.checked=Array.isArray(l)?!!l.find(t=>t===e.value):l===e.value||!!l)}):n.refs.forEach(e=>e.checked=e.value===l):OM(n.ref)?n.ref.value=``:(n.ref.value=l,n.ref.type||o||s||_.state.next({name:e,values:i?a:zM(a)})))}(n.shouldDirty||n.shouldTouch)&&oe(e,c&&c._f&&!c._f.disabled&&(c._f.valueAsNumber||c._f.valueAsDate||c._f.setValueAs)?eP(t,c._f):l,n.shouldTouch,n.shouldDirty,!o),n.shouldValidate&&Se(e,{delayError:n.delayError}),n.shouldValidate&&c&&c._f&&c._f.deps&&(!Array.isArray(c._f.deps)||c._f.deps.length>0)&&Se(c._f.deps)},ge=(e,t,n,i=!1,o=!1,c=!1)=>{s.array.has(e)&&_.array.next({name:e,values:i?a:zM(a)});for(let a in t){if(!t.hasOwnProperty(a))continue;let l=t[a],u=e+`.`+a,d=$(r,u);(s.array.has(e)||MM(l)||d&&!d._f)&&!kM(l)?ge(u,l,n,i,o,c):he(u,l,n,i,o,c)}},_e=(e,t,i,c,l=!1)=>{let u=$(r,e),d=s.array.has(e),f=c?t:zM(t),p=oN($(a,e),f);if(p||QM(a,e,f),d)_.array.next({name:e,values:c?a:zM(a)}),g(`isDirty`,`dirtyFields`)&&i.shouldDirty&&(E(),l||_.state.next({name:e,dirtyFields:n.dirtyFields,isDirty:fe(e,f)})),i.shouldValidate&&Se(e,{delayError:i.delayError});else{let t=Array.isArray(f)&&!f.length||vN(f),n=!p&&!l;!u||u._f||AM(f)||t?he(e,f,i,c,l,n):ge(e,f,i,c,l,n)}if(!p&&!l){let t=hN(e,s),r=c?a:zM(a);if(_.state.next({...t&&n,name:o.mount||t?e:void 0,values:r}),!d)for(let t of $N(s.array,e))_.state.next({name:t,values:r})}},ve=(e,t,n={})=>_e(e,t,n,!1),ye=(e,t={})=>{let r=ZM(e)?e(a):e;if(!oN(a,r)){a={...a,...r};for(let e of s.mount)BN(r,e)&&_e(e,$(r,e),t,!0,!0);_.state.next({...n,name:void 0,type:void 0,...u?{values:a}:{}}),t.shouldValidate&&w()}},be=async e=>{o.mount=!0;let i=e.target,l=i.name,p=!0,m=$(r,l),h=e=>{p=Number.isNaN(e)||kM(e)&&isNaN(e.getTime())||oN(e,$(a,l,e))};if(m){let o,v,x=i.type?tP(m._f):NM(e),S=e.type===BM.BLUR||e.type===BM.FOCUS_OUT,C=!oP(m._f)&&!t.validate&&!t.resolver&&!$(n.errors,l)&&!m._f.deps,E=C||uP(S,$(n.touchedFields,l),n.isSubmitted,f,d),ee=hN(l,s,S);if(QM(a,l,zM(x)),S){if(!i||!i.readOnly){m._f.onBlur&&m._f.onBlur(e);let t=c[l];t&&t(0)}}else m._f.onChange&&m._f.onChange(e);let te=oe(l,x,S),ne=!vN(te)||ee;if(!S&&_.state.next({name:l,type:e.type,...u?{values:zM(a)}:{}}),E)return C&&n.isValid||!g(`isValid`)||(t.mode===`onBlur`?S&&w():S||w()),ne&&_.state.next({name:l,...ee?{}:te});if(!t.resolver&&t.validate&&await le({name:l,eventType:e.type}),!S&&ee&&_.state.next({...n}),t.resolver){let e=y,{errors:t}=await se([l]);if(e!==y)return;if(T([l]),h(x),!p){!vN(te)&&_.state.next(te);return}let i=sP(n.errors,r,l),a=sP(t,r,i.name||l);o=a.error,l=a.name,v=vN(t)}else{let n=y;if(T([l],!0),o=(await AN(m,s.disabled,a,b,t.shouldUseNativeValidation))[l],n!==y)return;if(T([l]),h(x),p){if(o)v=!1;else if(g(`isValid`)&&(v=await ue({fields:r,onlyCheckValid:!0,name:l,eventType:e.type}),n!==y))return}}p&&(m._f.deps&&(!Array.isArray(m._f.deps)||m._f.deps.length>0)&&Se(m._f.deps),D(l,v,o,te))}},xe=(e,t)=>{if($(n.errors,t)&&e.focus)return e.focus(),1},Se=async(e,i={})=>{let a,o,l=jN(e);if(t.resolver){let t=y,n=await ce(YM(e)?e:l);if(a=vN(n),o=e?!l.some(e=>$(n,e)):a,t!==y)return o}else e?(o=(await Promise.all(l.map(async e=>{let t=$(r,e);return await ue({fields:t&&t._f?{[e]:t}:t,eventType:BM.TRIGGER})}))).every(Boolean),(o||n.isValid)&&w()):o=a=await ue({fields:r,name:e,eventType:BM.TRIGGER});if(i.delayError&&t.delayError&&lN(e)){let r=$(n.errors,e);r?(FN(n.errors,e),c[e]=x(e,()=>te(e,r)),c[e](t.delayError)):S(e)}if(i.shouldTouch)for(let t of e?l:s.mount)!s.array.has(t)&&QM(n.touchedFields,t,!0);return _.state.next({...!lN(e)||g(`isValid`)&&a!==n.isValid?{}:{name:e},...t.resolver||!e?{isValid:a}:{},...i.shouldTouch&&g(`touchedFields`)?{touchedFields:n.touchedFields}:{},errors:n.errors}),i.shouldFocus&&!o&&gN(r,xe,e?l:s.mount),o},Ce=(e,t)=>{let r={...o.mount?a:i};return t&&(r=RN(t.dirtyFields?n.dirtyFields:n.touchedFields,r)),YM(e)?r:lN(e)?$(r,e):e.map(e=>$(r,e))},we=e=>YM(e)?{...n.errors}:lN(e)?$(n.errors,e):e.map(e=>$(n.errors,e)),Te=(e,t)=>{let r=t||n,i=$(r.errors,e);return{invalid:!!i,isDirty:!!$(r.dirtyFields,e),error:i,isValidating:!!$(r.validatingFields,e),isTouched:!!$(r.touchedFields,e)}},Ee=e=>{let t=e?jN(e):void 0;t?t.forEach(e=>{C(e),FN(n.errors,e),_.state.next({name:e,errors:n.errors})}):(Object.keys(c).forEach(S),n.errors={},_.state.next({errors:n.errors}))},De=(e,t,i)=>{C(e);let a=($(r,e,{_f:{}})._f||{}).ref,{ref:o,message:s,type:c,types:l,...u}=$(n.errors,e)||{};QM(n.errors,e,{...u,...t,ref:a}),_.state.next({name:e,errors:n.errors,isValid:!1}),i&&i.shouldFocus&&a&&a.focus&&a.focus()},Oe=(e,t)=>{if(ZM(e)){u++;let{unsubscribe:n}=_.state.subscribe({next:n=>`values`in n&&e(n.values||pe(void 0,t),n)}),r=!1;return{unsubscribe:()=>{r||(r=!0,u--,n())}}}return pe(e,t,!0)},ke=e=>{let t=!!e.formState?.values;t&&u++;let{unsubscribe:r}=_.state.subscribe({next:t=>{if(lP(e.name,t.name,e.exact)&&cP(t,e.formState||m,Ve,e.reRenderRoot)){let r={...a};e.callback({values:r,...n,...t,defaultValues:i})}}});if(!t)return r;let o=!1;return()=>{o||(o=!0,u--,r())}},Ae=e=>(o.mount=!0,h={...h,...e.formState},ke({...e,formState:{...p,...e.formState}})),je=(e,o={})=>{for(let c of e?jN(e):s.mount)s.mount.delete(c),s.array.delete(c),s.disabled.delete(c),o.keepValue||(FN(r,c),FN(a,c)),o.keepError||(C(c),FN(n.errors,c)),!o.keepDirty&&FN(n.dirtyFields,c),!o.keepTouched&&FN(n.touchedFields,c),!o.keepIsValidating&&FN(n.validatingFields,c),!t.shouldUnregister&&!o.keepDefaultValue&&FN(i,c);u&&_.state.next({values:zM(a)}),_.state.next({...n,...o.keepDirty?{}:{isDirty:fe()},...o.keepIsValidating?{}:{isValidating:!vN(n.validatingFields)}}),!o.keepIsValid&&w()},Me=({disabled:e,name:t})=>{if(XM(e)&&o.mount||e||s.disabled.has(t)){let n=s.disabled.has(t)!==!!e;e?s.disabled.add(t):s.disabled.delete(t),n&&o.mount&&!o.action&&w()}},Ne=(e,n={})=>{let a=$(r,e),c=XM(n.disabled)||XM(t.disabled),l=!s.registerName.has(e)&&a&&a._f&&!a._f.mount;if(QM(r,e,{...a||{},_f:{...a&&a._f?a._f:{ref:{name:e}},name:e,mount:!0,...n}}),s.mount.add(e),a&&a._f){let t=$(r,e);for(let e of UM)e in n||delete t._f[e]}return a&&!l?Me({disabled:XM(n.disabled)?n.disabled:t.disabled,name:e}):ae(e,!0,n.value),{...c?{disabled:n.disabled||t.disabled}:{},...t.progressive?{required:!!n.required,min:rP(n.min),max:rP(n.max),minLength:rP(n.minLength),maxLength:rP(n.maxLength),pattern:rP(n.pattern)}:{},name:e,onChange:be,onBlur:be,ref:c=>{if(c){s.registerName.add(e),Ne(e,n),s.registerName.delete(e),a=$(r,e);let t=YM(c.value)&&c.querySelectorAll&&c.querySelectorAll(`input,select,textarea`)[0]||c,o=HN(t),l=a._f.refs||[];if(o?l.find(e=>e===t):t===a._f.ref)return;let u={...a._f};o?(u.refs=[...l.filter(UN),t,...Array.isArray($(i,e))?[{}]:[]],u.ref={type:t.type,name:e}):(u.ref=t,delete u.refs),QM(r,e,{_f:u}),ae(e,!1,void 0,t)}else a=$(r,e,{}),a._f&&(a._f.mount=!1),(t.shouldUnregister||n.shouldUnregister)&&!(LM(s.array,e)&&o.action)&&s.unMount.add(e)}}},Pe=()=>t.shouldFocusError&&!t.shouldUseNativeValidation&&gN(r,xe,s.mount),Fe=e=>{XM(e)&&(_.state.next({disabled:e}),gN(r,(t,n)=>{let i=$(r,n);i&&(t.disabled=i._f.disabled||e,Array.isArray(i._f.refs)&&i._f.refs.forEach(t=>{t.disabled=i._f.disabled||e}))},0))},Ie=(e,i)=>async o=>{let l,u;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let d=zM(a);if(_.state.next({isSubmitting:!0}),t.resolver){let e=y,{errors:t,values:r}=await se();if(e!==y)return;T(),Object.keys(c).forEach(S),n.errors=t,d=zM(r)}else{let e=y;if(await ue({fields:r,eventType:BM.SUBMIT}),e!==y)return;FN(n.errors,GM)}if(s.disabled.size)for(let e of s.disabled)FN(d,e);if(vN(n.errors)){_.state.next({errors:{}});try{l=await e(d,o)}catch(e){u=e}}else i&&await i({...n.errors},o),Pe(),setTimeout(Pe);if(_.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:vN(n.errors)&&!u,submitCount:n.submitCount+1,errors:n.errors}),u)throw u;return l},Le=(e,t={})=>{$(r,e)&&(FN(n.validatingFields,e),YM(t.defaultValue)?ve(e,zM($(i,e))):(ve(e,t.defaultValue),QM(i,e,zM(t.defaultValue))),t.keepTouched||FN(n.touchedFields,e),t.keepDirty||(FN(n.dirtyFields,e),n.isDirty=t.defaultValue?fe(e,zM($(i,e))):fe()),t.keepError||(C(e),FN(n.errors,e),w()),_.state.next({...n,isValidating:!vN(n.validatingFields)}))},Re=(e,l={})=>{y++;let u=e?zM(e):i,d=zM(u),f=vN(e),p=d,h=r;if(Object.keys(c).forEach(S),l.keepDefaultValues||(i=u),!l.keepValues){if(l.keepDirtyValues){let e=new Set([...s.mount,...GN(QN(i,a,void 0,h),n.dirtyFields)]);for(let t of e){let e=$(n.dirtyFields,t),r=$(a,t),i=$(p,t);e&&!YM(r)?QM(p,t,r):!e&&!YM(i)&&ve(t,i)}}else{if(RM&&YM(e))for(let e of s.mount){let t=$(r,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(yN(e)){let t=e.closest(`form`);if(t){t.reset();break}}}}if(l.keepFieldsRef)for(let e of s.mount)ve(e,$(p,e));else r={}}if(t.shouldUnregister){if(a=l.keepDefaultValues?zM(i):{},l.keepFieldsRef)for(let e of s.mount)QM(a,e,$(p,e))}else a=zM(p);_.array.next({values:{...p}}),_.state.next({name:void 0,type:void 0,values:{...p}})}s={mount:l.keepDirtyValues?s.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:``},o.mount=!m.isValid||!!l.keepIsValid||!!l.keepDirtyValues||!t.shouldUnregister&&!vN(p),o.watch=!!t.shouldUnregister,o.keepIsValid=!!l.keepIsValid,o.action=!1,o.actionArrayLengths.clear(),l.keepErrors||(n.errors={}),_.state.next({submitCount:l.keepSubmitCount?n.submitCount:0,isDirty:f?!1:l.keepDirty?n.isDirty:l.keepValues?fe():!(!l.keepDefaultValues||oN(e,i)),isSubmitted:l.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:f?{}:l.keepDirtyValues?l.keepDefaultValues&&a?QN(i,a,void 0,h):n.dirtyFields:l.keepDefaultValues&&e?QN(i,e,void 0,h):l.keepDirty?n.dirtyFields:l.keepValues?QN(i,a,void 0,h):{},touchedFields:l.keepTouched?n.touchedFields:{},...!l.keepIsValidating&&(n.isValidating||!vN(n.validatingFields))?{validatingFields:{},isValidating:!1}:null,errors:l.keepErrors?n.errors:{},isSubmitSuccessful:l.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:i})},ze=(e,n)=>Re(ZM(e)?e(a):e,{...t.resetOptions,...n}),Be=(e,t={})=>{let n=$(r,e),i=n&&n._f;if(i){let e=i.refs?i.refs[0]:i.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&ZM(e.select)&&e.select()})}},Ve=e=>{let{name:t,type:r,values:i,...a}=e;n={...n,...a}};_.state.subscribe({next:Ve});let He={control:{register:Ne,unregister:je,getFieldState:Te,handleSubmit:Ie,setError:De,_subscribe:ke,_runSchema:se,_updateIsValidating:T,_focusError:Pe,_getWatch:pe,_getDirty:fe,_setValid:w,_setFieldArray:ee,_setDisabledField:Me,_setErrors:ne,_getFieldArray:me,_reset:Re,_resetDefaultValues:()=>ZM(t.defaultValues)&&t.defaultValues().then(e=>{ze(e,t.resetOptions),_.state.next({isLoading:!1})}),_removeUnmounted:de,_disableForm:Fe,_subjects:_,_proxyFormState:m,get _fields(){return r},get _formValues(){return a},get _state(){return o},set _state(e){o=e},get _defaultValues(){return i},get _names(){return s},set _names(e){s=e},get _formState(){return n},get _options(){return t},set _options(e){t={...t,...e},d=mN(t.mode),f=mN(t.reValidateMode),b=t.criteriaMode===VM.all}},subscribe:Ae,trigger:Se,register:Ne,handleSubmit:Ie,watch:Oe,setValue:ve,setValues:ye,getValues:Ce,getErrors:we,reset:ze,resetField:Le,resetDefaultValues:(e,t={})=>{if(i=zM(e),!t.keepDirty){let e=QN(i,a,void 0,r);n.dirtyFields=e,n.isDirty=!vN(e)}t.keepIsValid||w(),_.state.next({...n,defaultValues:i})},clearErrors:Ee,unregister:je,setError:De,setFocus:Be,getFieldState:Te};return{...He,formControl:He}}function gP(e={}){let t=w.useRef(void 0),n=w.useRef(void 0),r=w.useRef(e.formControl),i=w.useRef(!!e.validate),[a,o]=w.useState(()=>({...zM(mP),isLoading:ZM(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:ZM(e.defaultValues)?void 0:e.defaultValues}));if(!t.current||e.formControl&&r.current!==e.formControl){if(r.current=e.formControl,e.formControl)t.current={...e.formControl,formState:a},e.defaultValues&&!ZM(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:n,...r}=hP(e);t.current={...r,formState:a}}}let s=t.current.control;s._options={...e,validate:e.validate};let c=()=>({...s._formState,defaultValues:s._defaultValues}),{resyncIfNeeded:l,snapshot:u}=sN(c);return nN(()=>{l(!0,c,o);let e=s._subscribe({formState:s._proxyFormState,callback:()=>o({...s._formState,defaultValues:s._defaultValues}),reRenderRoot:!0});return o(e=>({...e,isReady:!0})),s._formState.isReady=!0,()=>{e(),u(!0,c)}},[s,l,u]),w.useEffect(()=>s._disableForm(e.disabled),[s,e.disabled]),w.useEffect(()=>{e.mode&&(s._options.mode=e.mode),e.reValidateMode&&(s._options.reValidateMode=e.reValidateMode)},[s,e.mode,e.reValidateMode]),w.useEffect(()=>{e.errors&&(s._setErrors(e.errors),s._focusError())},[s,e.errors]),w.useEffect(()=>{var n;i.current&&!e.validate&&((n=t.current)==null||n.clearErrors(WM)),i.current=!!e.validate},[e.validate]),w.useEffect(()=>{e.shouldUnregister&&s._subjects.state.next({values:s._getWatch()})},[s,e.shouldUnregister]),w.useEffect(()=>{if(s._proxyFormState.isDirty){let e=s._getDirty();e!==a.isDirty&&s._subjects.state.next({isDirty:e})}},[s,a.isDirty]),w.useEffect(()=>{e.values&&!oN(e.values,n.current)?(s._reset(e.values,{keepFieldsRef:!0,...s._options.resetOptions}),s._options.resetOptions?.keepIsValid||s._setValid(),n.current=e.values,o(e=>({...e}))):s._resetDefaultValues()},[s,e.values]),w.useEffect(()=>{s._state.mount||(s._setValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next({...s._formState})),s._removeUnmounted()}),t.current.formState=w.useMemo(()=>tN(a,s),[s,a]),t.current}function _P(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var vP;(function(e){e.event=`event`,e.props=`prop`})(vP||={});function yP(){}function bP(e){var t,n=void 0;return function(){for(var r=[],i=arguments.length;i--;)r[i]=arguments[i];return t&&r.length===t.length&&r.every(function(e,n){return e===t[n]})||(t=r,n=e.apply(void 0,r)),n}}function xP(e){return!!(e||``).match(/\d/)}function SP(e){return e==null}function CP(e){return typeof e==`number`&&isNaN(e)}function wP(e){return SP(e)||CP(e)||typeof e==`number`&&!isFinite(e)}function TP(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,`\\$&`)}function EP(e){switch(e){case`lakh`:return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case`wan`:return/(\d)(?=(\d{4})+(?!\d))/g;default:return/(\d)(?=(\d{3})+(?!\d))/g}}function DP(e,t,n){var r=EP(n),i=e.search(/[1-9]/);return i=i===-1?e.length:i,e.substring(0,i)+e.substring(i,e.length).replace(r,`$1`+t)}function OP(e){var t=(0,w.useRef)(e);return t.current=e,(0,w.useRef)(function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return t.current.apply(t,e)}).current}function kP(e,t){t===void 0&&(t=!0);var n=e[0]===`-`,r=n&&t;e=e.replace(`-`,``);var i=e.split(`.`);return{beforeDecimal:i[0],afterDecimal:i[1]||``,hasNegation:n,addNegation:r}}function AP(e){if(!e)return e;var t=e[0]===`-`;t&&(e=e.substring(1,e.length));var n=e.split(`.`),r=n[0].replace(/^0+/,``)||`0`,i=n[1]||``;return(t?`-`:``)+r+(i?`.`+i:``)}function jP(e,t,n){for(var r=``,i=n?`0`:``,a=0;a<=t-1;a++)r+=e[a]||i;return r}function MP(e,t){return Array(t+1).join(e)}function NP(e){var t=e+``,n=t[0]===`-`?`-`:``;n&&(t=t.substring(1));var r=t.split(/[eE]/g),i=r[0],a=r[1];if(a=Number(a),!a)return n+i;i=i.replace(`.`,``);var o=1+a,s=i.length;return o<0?i=`0.`+MP(`0`,Math.abs(o))+i:o>=s?i+=MP(`0`,o-s):i=(i.substring(0,o)||`0`)+`.`+i.substring(o),n+i}function PP(e,t,n){if([``,`-`].indexOf(e)!==-1)return e;var r=(e.indexOf(`.`)!==-1||n)&&t,i=kP(e),a=i.beforeDecimal,o=i.afterDecimal,s=i.hasNegation,c=parseFloat(`0.`+(o||`0`)),l=(o.length<=t?`0.`+o:c.toFixed(t)).split(`.`),u=a;a&&Number(l[0])&&(u=a.split(``).reverse().reduce(function(e,t,n){return e.length>n?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e},l[0]));var d=jP(l[1]||``,t,n),f=s?`-`:``,p=r?`.`:``;return``+f+u+p+d}function FP(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var n=e.createTextRange();return n.move(`character`,t),n.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var IP=bP(function(e,t){for(var n=0,r=0,i=e.length,a=t.length;e[n]===t[n]&&n<i;)n++;for(;e[i-1-r]===t[a-1-r]&&a-r>n&&i-r>n;)r++;return{from:{start:n,end:i-r},to:{start:n,end:a-r}}}),LP=function(e,t){var n=Math.min(e.selectionStart,t);return{from:{start:n,end:e.selectionEnd},to:{start:n,end:t}}};function RP(e,t,n){return Math.min(Math.max(e,t),n)}function zP(e){return Math.max(e.selectionStart,e.selectionEnd)}function BP(){return typeof navigator<`u`&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function VP(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:``}}function HP(e){var t=e.currentValue,n=e.formattedValue,r=e.currentValueIndex,i=e.formattedValueIndex;return t[r]===n[i]}function UP(e,t,n,r,i,a,o){o===void 0&&(o=HP);var s=i.findIndex(function(e){return e}),c=e.slice(0,s);!t&&!n.startsWith(c)&&(t=c,n=c+n,r+=c.length);for(var l=n.length,u=e.length,d={},f=Array(l),p=0;p<l;p++){f[p]=-1;for(var m=0,h=u;m<h;m++)if(o({currentValue:n,lastValue:t,formattedValue:e,currentValueIndex:p,formattedValueIndex:m})&&d[m]!==!0){f[p]=m,d[m]=!0;break}}for(var g=r;g<l&&(f[g]===-1||!a(n[g]));)g++;var _=g===l||f[g]===-1?u:f[g];for(g=r-1;g>0&&f[g]===-1;)g--;var v=g===-1||f[g]===-1?0:f[g]+1;return v>_?_:r-v<_-r?v:_}function WP(e,t,n,r){var i=e.length;if(t=RP(t,0,i),r===`left`){for(;t>=0&&!n[t];)t--;t===-1&&(t=n.indexOf(!0))}else{for(;t<=i&&!n[t];)t++;t>i&&(t=n.lastIndexOf(!0))}return t===-1&&(t=i),t}function GP(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),n=0,r=t.length;n<r;n++)t[n]=!!(xP(e[n])||xP(e[n-1]));return t}function KP(e,t,n,r,i,a){a===void 0&&(a=yP);var o=OP(function(e,t){var n,a;return wP(e)?(a=``,n=``):typeof e==`number`||t?(a=typeof e==`number`?NP(e):e,n=r(a)):(a=i(e,void 0),n=r(a)),{formattedValue:n,numAsString:a}}),s=(0,w.useState)(function(){return o(SP(e)?t:e,n)}),c=s[0],l=s[1],u=OP(function(e,t){e.formattedValue!==c.formattedValue&&l({formattedValue:e.formattedValue,numAsString:e.value}),a(e,t)}),d=e,f=n;SP(e)&&(d=c.numAsString,f=!0);var p=o(d,f);return(0,w.useMemo)(function(){l(p)},[p.formattedValue]),(0,w.useEffect)(function(){if(!SP(t)&&SP(e)&&c.formattedValue!==``){var n=parseFloat(c.numAsString);u({formattedValue:c.formattedValue,value:c.numAsString,floatValue:isNaN(n)?void 0:n},{event:void 0,source:vP.props})}},[]),[c,u]}function qP(e){return e.replace(/[^0-9]/g,``)}function JP(e){return e}function YP(e){var t=e.type;t===void 0&&(t=`text`);var n=e.displayType;n===void 0&&(n=`input`);var r=e.customInput,i=e.renderText,a=e.getInputRef,o=e.format;o===void 0&&(o=JP);var s=e.removeFormatting;s===void 0&&(s=qP);var c=e.defaultValue,l=e.valueIsNumericString,u=e.onValueChange,d=e.isAllowed,f=e.onChange;f===void 0&&(f=yP);var p=e.onKeyDown;p===void 0&&(p=yP);var m=e.onMouseUp;m===void 0&&(m=yP);var h=e.onFocus;h===void 0&&(h=yP);var g=e.onBlur;g===void 0&&(g=yP);var _=e.value,v=e.getCaretBoundary;v===void 0&&(v=GP);var y=e.isValidInputCharacter;y===void 0&&(y=xP);var b=e.isCharacterSame,x=_P(e,[`type`,`displayType`,`customInput`,`renderText`,`getInputRef`,`format`,`removeFormatting`,`defaultValue`,`valueIsNumericString`,`onValueChange`,`isAllowed`,`onChange`,`onKeyDown`,`onMouseUp`,`onFocus`,`onBlur`,`value`,`getCaretBoundary`,`isValidInputCharacter`,`isCharacterSame`]),S=KP(_,c,!!l,o,s,u),C=S[0],T=C.formattedValue,E=C.numAsString,ee=S[1],te=(0,w.useRef)(),ne=(0,w.useRef)({formattedValue:T,numAsString:E}),re=function(e,t){ne.current={formattedValue:e.formattedValue,numAsString:e.value},ee(e,t)},ie=(0,w.useState)(!1),ae=ie[0],oe=ie[1],D=(0,w.useRef)(null),se=(0,w.useRef)({setCaretTimeout:null,focusTimeout:null});(0,w.useEffect)(function(){return oe(!0),function(){clearTimeout(se.current.setCaretTimeout),clearTimeout(se.current.focusTimeout)}},[]);var ce=o,le=function(e,t){var n=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(n)?void 0:n}},ue=function(e,t,n){(e.selectionStart!==0||e.selectionEnd!==e.value.length)&&(FP(e,t),se.current.setCaretTimeout=setTimeout(function(){e.value===n&&e.selectionStart!==t&&FP(e,t)},0))},de=function(e,t,n){return WP(e,t,v(e),n)},fe=function(e,t,n){var r=v(t),i=UP(t,T,e,n,r,y,b);return i=WP(t,i,r),i},pe=function(e){var t=e.formattedValue;t===void 0&&(t=``);var n=e.input,r=e.source,i=e.event,a=e.numAsString,o;if(n){var s=e.inputValue||n.value,c=zP(n);n.value=t,o=fe(s,t,c),o!==void 0&&ue(n,o,t)}t!==T&&re(le(t,a),{event:i,source:r})};(0,w.useEffect)(function(){var e=ne.current,t=e.formattedValue,n=e.numAsString;(T!==t||E!==n)&&re(le(T,E),{event:void 0,source:vP.props})},[T,E]);var me=D.current?zP(D.current):void 0;(typeof window<`u`?w.useLayoutEffect:w.useEffect)(function(){var e=D.current;if(T!==ne.current.formattedValue&&e){var t=fe(ne.current.formattedValue,T,me);e.value=T,ue(e,t,T)}},[T]);var he=function(e,t,n){var r=t.target,i=te.current?LP(te.current,r.selectionEnd):IP(T,e),a=Object.assign(Object.assign({},i),{lastValue:T}),o=s(e,a),c=ce(o);if(o=s(c,void 0),d&&!d(le(c,o))){var l=t.target,u=fe(e,T,zP(l));return l.value=T,ue(l,u,T),!1}return pe({formattedValue:c,numAsString:o,inputValue:e,event:t,source:n,input:t.target}),!0},ge=function(e,t){t===void 0&&(t=0),te.current={selectionStart:e.selectionStart,selectionEnd:e.selectionEnd+t}},_e=function(e){var t=e.target.value;he(t,e,vP.event)&&f(e),te.current=void 0},ve=function(e){var t=e.target,n=e.key,r=t.selectionStart,i=t.selectionEnd,a=t.value;a===void 0&&(a=``);var o;n===`ArrowLeft`||n===`Backspace`?o=Math.max(r-1,0):n===`ArrowRight`?o=Math.min(r+1,a.length):n===`Delete`&&(o=r);var s=0;n===`Delete`&&r===i&&(s=1);var c=n===`ArrowLeft`||n===`ArrowRight`;if(o===void 0||r!==i&&!c)p(e),ge(t,s);else{var l=o;c?(l=de(a,o,n===`ArrowLeft`?`left`:`right`),l!==o&&e.preventDefault()):n===`Delete`&&!y(a[o])?l=de(a,o,`right`):n===`Backspace`&&!y(a[o])&&(l=de(a,o,`left`)),l!==o&&ue(t,l,a),p(e),ge(t,s)}},ye=function(e){var t=e.target,n=function(){var e=t.selectionStart,n=t.selectionEnd,r=t.value;if(r===void 0&&(r=``),e===n){var i=de(r,e);i!==e&&ue(t,i,r)}};n(),requestAnimationFrame(function(){n()}),m(e),ge(t)},be=function(e){e.persist&&e.persist();var t=e.target,n=e.currentTarget;D.current=t,se.current.focusTimeout=setTimeout(function(){var r=t.selectionStart,i=t.selectionEnd,a=t.value;a===void 0&&(a=``);var o=de(a,r);o!==r&&(r!==0||i!==a.length)&&ue(t,o,a),h(Object.assign(Object.assign({},e),{currentTarget:n}))},0)},xe=function(e){D.current=null,clearTimeout(se.current.focusTimeout),clearTimeout(se.current.setCaretTimeout),g(e)},Se=ae&&BP()?`numeric`:void 0,Ce=Object.assign({inputMode:Se},x,{type:t,value:T,onChange:_e,onKeyDown:ve,onMouseUp:ye,onFocus:be,onBlur:xe});if(n===`text`)return i?w.createElement(w.Fragment,null,i(T,x)||null):w.createElement(`span`,Object.assign({},x,{ref:a}),T);if(r){var we=r;return w.createElement(we,Object.assign({},Ce,{ref:a}))}return w.createElement(`input`,Object.assign({},Ce,{ref:a}))}function XP(e,t){var n=t.decimalScale,r=t.fixedDecimalScale,i=t.prefix;i===void 0&&(i=``);var a=t.suffix;a===void 0&&(a=``);var o=t.allowNegative,s=t.thousandsGroupStyle;if(s===void 0&&(s=`thousand`),e===``||e===`-`)return e;var c=ZP(t),l=c.thousandSeparator,u=c.decimalSeparator,d=n!==0&&e.indexOf(`.`)!==-1||n&&r,f=kP(e,o),p=f.beforeDecimal,m=f.afterDecimal,h=f.addNegation;return n!==void 0&&(m=jP(m,n,!!r)),l&&(p=DP(p,l,s)),i&&(p=i+p),a&&(m+=a),h&&(p=`-`+p),e=p+(d&&u||``)+m,e}function ZP(e){var t=e.decimalSeparator;t===void 0&&(t=`.`);var n=e.thousandSeparator,r=e.allowedDecimalSeparators;return n===!0&&(n=`,`),r||=[t,`.`],{decimalSeparator:t,thousandSeparator:n,allowedDecimalSeparators:r}}function QP(e,t){e===void 0&&(e=``);var n=RegExp(`(-)`),r=RegExp(`(-)(.)*(-)`),i=n.test(e),a=r.test(e);return e=e.replace(/-/g,``),i&&!a&&t&&(e=`-`+e),e}function $P(e,t){return RegExp(`(^-)|[0-9]|`+TP(e),t?`g`:void 0)}function eF(e,t,n){return e===``||!t?.match(/\d/)&&!n?.match(/\d/)&&typeof e==`string`&&!isNaN(Number(e))}function tF(e,t,n){var r;t===void 0&&(t=VP(e));var i=n.allowNegative,a=n.prefix;a===void 0&&(a=``);var o=n.suffix;o===void 0&&(o=``);var s=n.decimalScale,c=t.from,l=t.to,u=l.start,d=l.end,f=ZP(n),p=f.allowedDecimalSeparators,m=f.decimalSeparator,h=e[d]===m;if(xP(e)&&(e===a||e===o)&&t.lastValue===``)return e;if(d-u===1&&p.indexOf(e[u])!==-1){var g=s===0?``:m;e=e.substring(0,u)+g+e.substring(u+1,e.length)}var _=function(e,t,n){var r=!1,i=!1;a.startsWith(`-`)?r=!1:e.startsWith(`--`)?(r=!1,i=!0):o.startsWith(`-`)&&e.length===o.length?r=!1:e[0]===`-`&&(r=!0);var s=+!!r;return i&&(s=2),s&&(e=e.substring(s),t-=s,n-=s),{value:e,start:t,end:n,hasNegation:r}},v=_(e,u,d),y=v.hasNegation;r=v,e=r.value,u=r.start,d=r.end;var b=_(t.lastValue,c.start,c.end),x=b.start,S=b.end,C=b.value,w=e.substring(u,d);e.length&&C.length&&(x>C.length-o.length||S<a.length)&&!(w&&o.startsWith(w))&&(e=C);var T=0;e.startsWith(a)?T+=a.length:u<a.length&&(T=u),e=e.substring(T),d-=T;var E=e.length,ee=e.length-o.length;e.endsWith(o)?E=ee:(d>ee||d>e.length-o.length)&&(E=d),e=e.substring(0,E),e=QP(y?`-`+e:e,i),e=(e.match($P(m,!0))||[]).join(``);var te=e.indexOf(m);e=e.replace(new RegExp(TP(m),`g`),function(e,t){return t===te?`.`:``});var ne=kP(e,i),re=ne.beforeDecimal,ie=ne.afterDecimal,ae=ne.addNegation;return l.end-l.start<c.end-c.start&&re===``&&h&&!parseFloat(ie)&&(e=ae?`-`:``),e}function nF(e,t){var n=t.prefix;n===void 0&&(n=``);var r=t.suffix;r===void 0&&(r=``);var i=Array.from({length:e.length+1}).map(function(){return!0}),a=e[0]===`-`;i.fill(!1,0,Math.min(n.length+ +!!a,e.length));var o=e.length;return i.fill(!1,o-r.length+1,o+1),i}function rF(e){var t=ZP(e),n=t.thousandSeparator,r=t.decimalSeparator,i=e.prefix;i===void 0&&(i=``);var a=e.allowNegative;if(a===void 0&&(a=!0),n===r)throw Error(`
62
+ Decimal separator can't be same as thousand separator.
63
+ thousandSeparator: `+n+` (thousandSeparator = {true} is same as thousandSeparator = ",")
64
+ decimalSeparator: `+r+` (default value for decimalSeparator is .)
65
+ `);return i.startsWith(`-`)&&a&&(console.error(`
66
+ Prefix can't start with '-' when allowNegative is true.
67
+ prefix: `+i+`
68
+ allowNegative: `+a+`
69
+ `),a=!1),Object.assign(Object.assign({},e),{allowNegative:a})}function iF(e){e=rF(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,n=e.allowNegative,r=e.allowLeadingZeros,i=e.onKeyDown;i===void 0&&(i=yP);var a=e.onBlur;a===void 0&&(a=yP);var o=e.thousandSeparator,s=e.decimalScale,c=e.fixedDecimalScale,l=e.prefix;l===void 0&&(l=``);var u=e.defaultValue,d=e.value,f=e.valueIsNumericString,p=e.onValueChange,m=_P(e,[`decimalSeparator`,`allowedDecimalSeparators`,`thousandsGroupStyle`,`suffix`,`allowNegative`,`allowLeadingZeros`,`onKeyDown`,`onBlur`,`thousandSeparator`,`decimalScale`,`fixedDecimalScale`,`prefix`,`defaultValue`,`value`,`valueIsNumericString`,`onValueChange`]),h=ZP(e),g=h.decimalSeparator,_=h.allowedDecimalSeparators,v=function(t){return XP(t,e)},y=function(t,n){return tF(t,n,e)},b=SP(d)?u:d,x=f??eF(b,l,t);SP(d)?SP(u)||(x||=typeof u==`number`):x||=typeof d==`number`;var S=function(e){return wP(e)?e:(typeof e==`number`&&(e=NP(e)),x&&typeof s==`number`?PP(e,s,!!c):e)},C=KP(S(d),S(u),!!x,v,y,p),w=C[0],T=w.numAsString,E=w.formattedValue,ee=C[1];return Object.assign(Object.assign({},m),{value:E,valueIsNumericString:!1,isValidInputCharacter:function(e){return e===g||xP(e)},isCharacterSame:function(e){var t=e.currentValue,n=e.lastValue,r=e.formattedValue,i=e.currentValueIndex,a=e.formattedValueIndex,o=t[i],u=r[a],f=IP(n,t).to,p=function(e){return y(e).indexOf(`.`)+l.length};return d===0&&c&&s&&t[f.start]===g&&p(t)<i&&p(r)>a?!1:i>=f.start&&i<f.end&&_&&_.includes(o)&&u===g?!0:o===u},onValueChange:ee,format:v,removeFormatting:y,getCaretBoundary:function(t){return nF(t,e)},onKeyDown:function(e){var t=e.target,r=e.key,a=t.selectionStart,u=t.selectionEnd,d=t.value;if(d===void 0&&(d=``),(r===`Backspace`||r===`Delete`)&&u<l.length&&d!==`-`)e.preventDefault();else if(a!==u)i(e);else{r===`Backspace`&&d[0]===`-`&&a===l.length+1&&n&&FP(t,1),s&&c&&(r===`Backspace`&&d[a-1]===g?(FP(t,a-1),e.preventDefault()):r===`Delete`&&d[a]===g&&e.preventDefault()),_?.includes(r)&&d[a]===g&&FP(t,a+1);var f=o===!0?`,`:o;r===`Backspace`&&d[a-1]===f&&FP(t,a-1),r===`Delete`&&d[a]===f&&FP(t,a+1),i(e)}},onBlur:function(t){var n=T;n.match(/\d/g)||(n=``),r||(n=AP(n)),c&&s&&(n=PP(n,s,c)),n!==T&&ee({formattedValue:XP(n,e),value:n,floatValue:parseFloat(n)},{event:t,source:vP.event}),a(t)}})}function aF(e){var t=iF(e);return w.createElement(YP,Object.assign({},t))}var oF=class{parse(e){return e==null||e===``?``:String(e).replace(/[eE.,]/g,``).replace(/\d[+-]/g,``)}},sF=/[.,+eE]/,cF=e=>{e.key.length===1&&!e.ctrlKey&&!e.metaKey&&sF.test(e.key)&&e.preventDefault()};function lF({_label:e,_msg:t,_touched:n,_on:r,_required:i,value:a,thousandSeparator:o=!0,suffix:s=`€`,...c}){let l=r&&typeof r==`object`?r:void 0;return(0,X.jsx)(aF,{...c,value:a,suffix:s,thousandSeparator:o,valueIsNumericString:!1,customInput:r=>{let a=r.value;return(0,X.jsx)(J,{...r,_value:a,_label:e,_msg:t,_touched:n,_required:i,_on:{onBlur:r.onBlur,onChange:r.onChange,onFocus:r.onFocus,onInput:r.onInput}})},onValueChange:e=>{let t=new Event(`input`);l?.onInput?.(t,e.floatValue)},onBlur:e=>{l?.onBlur?.(e.nativeEvent)}})}function uF(e){let{name:t,control:n,rules:r,defaultValue:i,shouldUnregister:a,disabled:o,_label:s,_required:c,...l}=e;return(0,X.jsx)(pN,{name:t,control:n,rules:r,defaultValue:i,shouldUnregister:a,disabled:o,render:({field:e,fieldState:t})=>{let n=l._on;return(0,X.jsx)(lF,{...l,_label:s,_required:c,value:e.value,_touched:t.isTouched,_msg:t.error?{_type:`error`,_description:t.error.message||String(t.error)}:void 0,_on:{onInput:(t,r)=>{e.onChange(r),n?.onInput?.(t,r)},onBlur:()=>e.onBlur()}})}})}function dF(){let e=new oF,[t,n]=w.useState(void 0),[r,i]=w.useState(-128),[a,o]=w.useState(!1),s=gP({defaultValues:{currency:1e6},mode:`onTouched`}),c=s.watch();return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example demonstrates formatting number input. The first example shows whole number formatting where decimal separators (. and ,) and scientific notation (e) are automatically removed on input. The second example shows currency formatting with react-number-format in a react-hook-form context.`})}),(0,X.jsxs)(`section`,{className:`w-full grid gap-4`,children:[(0,X.jsxs)(Z,{id:`whole-number`,children:[(0,X.jsx)(CT,{children:(0,X.jsx)(jT,{_label:`Whole number`,_step:1,_value:t??r,_on:{onKeyDown:cF,onBlur:()=>{o(!0)},onInput:(t,r)=>{let a=e.parse(r),o=a===``?void 0:Number(a);n(o),i(o)}}})}),(0,X.jsx)(`pre`,{className:`text-base mt-2`,children:JSON.stringify({value:r,touched:a},null,2)})]}),(0,X.jsxs)(Z,{id:`currency`,children:[(0,X.jsx)(CT,{_on:{onSubmit:e=>{s.handleSubmit(async()=>{})(e)}},children:(0,X.jsx)(uF,{control:s.control,name:`currency`,decimalScale:2,displayType:`input`,rules:{required:`Please enter a currency amount.`},_label:`Currency`,_required:!0})}),(0,X.jsx)(`pre`,{className:`text-base mt-2`,children:JSON.stringify(c,null,2)})]})]})]})}var fF={"input-number":{basic:TM,"get-value":EM,"number-formatter":dF}},pF=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(MT,{...n,_label:`Passwort (Black background test)`})}),(0,X.jsx)(Z,{...i(`icons-error`),children:(0,X.jsx)(MT,{...n,ref:r,_accessKey:`P`,_required:!0,_hint:oA,_msg:{_type:`error`,_description:aA},_placeholder:`Mit Icons`,_label:`Passwort`,_icons:{left:{icon:`kolicon-chevron-left`},right:{icon:`kolicon-chevron-right`}},_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(MT,{...n,_msg:{_type:`info`,_description:`Just a hint`},_label:`Passwort`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(MT,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`Passwort`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(MT,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`Passwort`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-default`),children:(0,X.jsx)(MT,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`Passwort`,_touched:!0})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(MT,{...n,_disabled:!0,_msg:{_type:`error`,_description:aA},_label:`Passwort (Disabled)`,_touched:!0})}),(0,X.jsx)(Z,{...i(`readonly`),children:(0,X.jsx)(MT,{...n,_readOnly:!0,_label:`Passwort (Readonly)`})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(MT,{...n,ref:r,_shortKey:`c`,_label:`With access key`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(MT,{...n,ref:r,_shortKey:`s`,_label:`With short key`})})]})}),mF=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(hj,{children:[(0,X.jsx)(gj,{heading:`Password`,children:(0,X.jsx)(pF,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(gj,{heading:`Password (hideLabel)`,children:(0,X.jsx)(pF,{blockIdPrefix:`hide-label`,snapshotOnly:`icons-error`,ref:t,...e,_hideLabel:!0})})]})}),hF={"input-password":{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputPassword renders a password input field. The sample shows KolInputPassword in a form context with all variations and states.`})}),(0,X.jsx)(mj,{RefComponent:mF,showButtons:!1})]}),counter:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story showcases a password input with a counter for the chars in the field. Maximal length is 30.`})}),(0,X.jsx)(Z,{id:`counter`,children:(0,X.jsx)(MT,{_label:`Password`,_value:`Hunter2`,_hasCounter:!0,_maxLength:30})})]}),"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(Xj,{label:`KolInputPassword`,renderInput:e=>(0,X.jsx)(MT,{_label:`Password`,_on:e})})]}),"show-password":()=>{let e=(0,w.useRef)(null);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolInputPassword in the variant "visibility-toggle". It features a button to toggle between a visible and hidden password input.`})}),(0,X.jsx)(Z,{id:`show-password`,children:(0,X.jsxs)(CT,{className:`w-full`,children:[(0,X.jsx)(MT,{_placeholder:`With 'Show password' button`,_label:`Password`,ref:e,className:`block`,_visibilityToggle:!0}),(0,X.jsx)(MT,{_placeholder:`With 'Show password' button`,_label:`Password`,ref:e,className:`block`,_visibilityToggle:!0,_value:`Password`}),(0,X.jsx)(MT,{_placeholder:`With 'Show password' button and disabled`,_label:`Password`,ref:e,className:`block`,_disabled:!0,_visibilityToggle:!0})]})})]})}}},gF=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(NT,{...n,_options:`[{'disabled':true,'label':'Mrs. (disabled)','value':'Mrs.'},{'label':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`Salutation (Black background test)`})}),(0,X.jsx)(Z,{...i(`error`),children:(0,X.jsx)(NT,{...n,_required:!0,_msg:{_type:`error`,_description:aA},_touched:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`Salutation (with error)`})}),(0,X.jsx)(Z,{...i(`horizontal`),children:(0,X.jsx)(NT,{...n,ref:r,_orientation:`horizontal`,_required:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]`,_label:`Salutation (horizontal)`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`},_tooltipAlign:`right`})}),(0,X.jsx)(Z,{...i(`horizontal-disabled`),children:(0,X.jsx)(NT,{...n,_disabled:!0,_orientation:`horizontal`,_required:!0,_msg:{_type:`error`,_description:aA},_touched:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]`,_label:`Salutation (horizontal with error)`})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(NT,{...n,_disabled:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]`,_label:`Salutation`,_touched:!0})}),(0,X.jsx)(Z,{...i(`horizontal-hints`),children:(0,X.jsx)(NT,{...n,_orientation:`horizontal`,_required:!0,_msg:{_type:`error`,_description:aA},_touched:!0,_value:`Company`,_options:[{label:`Mrs.`,value:`Mrs.`,hint:`Description for option "Mrs."`},{label:`Mr. (disabled)`,value:`Mr.`,hint:`Description for option "Mr."`,disabled:!0},{label:`Company`,value:`Company`,hint:`Description for option "Company"`}],_label:`Salutation (horizontal with error hint and description)`,_hint:oA})})]})}),_F=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(hj,{children:[(0,X.jsx)(gj,{heading:`Radio`,children:(0,X.jsx)(gF,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(gj,{heading:`Radio (hideLabel)`,children:(0,X.jsx)(gF,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),vF=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputRadio renders a set of radio buttons. The sample shows KolInputRadio in a form context with all variations and states.`})}),(0,X.jsx)(mj,{RefComponent:_F,showButtons:!1})]}),yF=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(Xj,{label:`KolInputRadio`,renderInput:e=>(0,X.jsx)(NT,{_label:`Option`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`}],_on:e})})]}),bF=()=>{let[e,t]=(0,w.useState)(!0),[n,r]=(0,w.useState)(`horizontal`),i=[{label:`Field 1`,value:1},{label:`Field 2`,value:2}];return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows the `,(0,X.jsx)(`code`,{children:`horizontal`}),` and `,(0,X.jsx)(`code`,{children:`vertical`}),` orientation of KolInoutRadio. It also features a button to test re-rendering.`]})}),(0,X.jsxs)(`div`,{className:`flex gap-4`,children:[(0,X.jsx)(K,{_label:`Click me a few times`,_on:{onClick:()=>{t(e=>!e)}}}),(0,X.jsx)(ET,{_label:`Switch orientation (horizontal/vertical)`,_on:{onChange:()=>{r(e=>e===`horizontal`?`vertical`:`horizontal`)}},_variant:`switch`})]}),e&&(0,X.jsx)(CT,{children:(0,X.jsxs)(Z,{id:`orientation`,className:`container my-4 d-grid gap-4`,children:[(0,X.jsx)(NT,{_label:`Test (${n})`,_options:i,_orientation:n,_required:!0}),(0,X.jsx)(NT,{_hideLabel:!0,_label:`Test (${n})`,_options:i,_orientation:n,_required:!0})]})})]})},xF=()=>{let e=[{label:`Field 1`,value:{id:1,name:`Option 1`}},{label:`Field 2`,value:{id:2,name:`Option 2`}}];return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsxs)(Q,{children:[`This sample shows KolInputRadio with `,(0,X.jsx)(`code`,{children:`object`}),` and `,(0,X.jsx)(`code`,{children:`undefined`}),` values.`]}),(0,X.jsxs)(CT,{children:[(0,X.jsxs)(`p`,{children:[`In this example for `,(0,X.jsx)(`code`,{children:`KolInputRadio`}),`, the values of the options are defined as objects.`]}),(0,X.jsx)(Z,{id:`object-value`,className:`container my-4 d-grid gap-4`,children:(0,X.jsx)(NT,{_value:e[1].value,_options:e,_label:`Test (with object value)`})}),(0,X.jsxs)(`p`,{children:[`In this example for `,(0,X.jsx)(`code`,{children:`KolInputRadio`}),`, no value is set.`]}),(0,X.jsx)(Z,{id:`no-value`,className:`container my-4 d-grid gap-4`,children:(0,X.jsx)(NT,{_options:e,_label:`Test (without value)`})})]})]})},SF=[{label:1,value:1,hint:`One person`},{label:2,value:2,hint:`Two persons`},{label:3,value:3,hint:`Three persons`}],CF=JSON.stringify([{label:`Mrs.`},{label:`Mr.`},{label:`Company`,value:`company`}]),wF=[{label:`No`,value:!1},{label:`Yes`,value:!0}],TF={"input-radio":{basic:vF,"get-value":yF,horizontal:bF,object:xF,"option-values":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The options of KolInputRadio accept a number as `,(0,X.jsx)(`code`,{children:`label`}),`, which is shown as text, and an optional `,(0,X.jsx)(`code`,{children:`hint`}),` per option. An option without `,(0,X.jsx)(`code`,{children:`value`}),` uses its label as value, and a falsy value such as `,(0,X.jsx)(`code`,{children:`false`}),` is selected like any other value.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{id:`number-labels`,children:(0,X.jsx)(NT,{_label:`Number of persons (number labels with hints)`,_options:SF,_value:2})}),(0,X.jsx)(Z,{id:`label-as-value`,children:(0,X.jsx)(NT,{_label:`Salutation (options without value)`,_options:CF,_value:`Mr.`,_orientation:`horizontal`})}),(0,X.jsx)(Z,{id:`falsy-value`,children:(0,X.jsx)(NT,{_label:`Newsletter (value false selected)`,_options:wF,_value:!1,_orientation:`horizontal`})})]})]})}},EF=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(PT,{...n,_min:0,_max:50,_msg:{_type:`error`,_description:aA},_label:`Slider (Black background test)`,_icons:{left:{icon:`kolicon-chevron-left`},right:{icon:`kolicon-chevron-right`}},_touched:!0})}),(0,X.jsx)(Z,{...i(`error`),children:(0,X.jsx)(PT,{...n,ref:r,_accessKey:`F`,_min:0,_max:50,_step:10,_hint:oA,_msg:{_type:`error`,_description:aA},_label:`Slider with error`,_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(PT,{...n,_msg:{_type:`info`,_description:`Just a hint`},_label:`Slider`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(PT,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`Slider`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(PT,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`Slider`,_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-default`),children:(0,X.jsx)(PT,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`Slider`,_touched:!0})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(PT,{...n,_disabled:!0,_min:0,_max:50,_label:`Slider (disabled)`})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(PT,{...n,_min:0,_max:50,_label:`With access key`,_accessKey:`c`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(PT,{...n,_min:0,_max:50,_label:`With short key`,_shortKey:`s`})}),(0,X.jsx)(Z,{...i(`small-range`),children:(0,X.jsx)(PT,{...n,_min:0,_max:5,_label:`Small range (max=5): number input should not be narrower than 4 digits wide`})})]})}),DF=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(hj,{children:[(0,X.jsx)(gj,{heading:`Range`,children:(0,X.jsx)(EF,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(gj,{heading:`Range (hideLabel)`,children:(0,X.jsx)(EF,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),OF={"input-range":{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolInputRange renders a pair of range- and number fields wich are synchronized with each other. The sample shows KolInputRange in a form context with all variations and states.`})}),(0,X.jsx)(mj,{RefComponent:DF,showButtons:!1})]}),"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(Xj,{label:`KolInputRange`,renderInput:e=>(0,X.jsx)(PT,{_label:`Range`,_on:e})})]})}},kF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates access keys and short keys for KolInputText. Access keys provide keyboard shortcuts for focusing inputs.`})}),(0,X.jsx)(Z,{id:`access-key-value`,children:(0,X.jsx)(J,{_label:`With access key (Alt+F)`,_value:`Press Alt+F to focus`,_accessKey:`f`})}),(0,X.jsx)(Z,{id:`short-key-value`,children:(0,X.jsx)(J,{_label:`With short key (Alt+N)`,_value:`Press Alt+N to focus`,_shortKey:`n`})}),(0,X.jsx)(Z,{id:`access-key-placeholder`,children:(0,X.jsx)(J,{_label:`Access key (Alt+E)`,_value:``,_placeholder:`Email address`,_accessKey:`e`})}),(0,X.jsx)(Z,{id:`short-key-placeholder`,children:(0,X.jsx)(J,{_label:`Short key (Alt+P)`,_value:``,_placeholder:`Phone number`,_shortKey:`p`})})]}),AF=`
70
+ label { display: block; }
71
+ span { display: block; margin-bottom: 4px; }
72
+ input { border: 1px solid #888; padding: 4px 8px; font: inherit; }
73
+ `,jF=(e,t)=>{let n=e.getRootNode();return(t??``).trim().split(/\s+/).filter(Boolean).map(e=>n instanceof ShadowRoot?n.querySelector(`#${CSS.escape(e)}`):document.getElementById(e)).filter(e=>e!==null)},MF=class extends HTMLElement{static get observedAttributes(){return[`aria-details`]}connectedCallback(){this._render()}attributeChangedCallback(){this.isConnected&&this._render()}_render(){this.innerHTML=`<style>${AF}</style><label><span>Native input, no shadow root</span><input aria-label="Native light input"></label>`;let e=this.querySelector(`input`),t=this.getAttribute(`aria-details`);t?e.setAttribute(`aria-details`,t):e.removeAttribute(`aria-details`)}},NF=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:`open`})}static get observedAttributes(){return[`aria-details`]}connectedCallback(){this.shadowRoot.innerHTML=`<style>${AF}</style><label><span>Native input, inside a shadow root</span><input aria-label="Native shadow input"></label>`,this._sync(this.getAttribute(`aria-details`))}attributeChangedCallback(e,t,n){this.isConnected&&this._sync(n)}_sync(e){let t=this.shadowRoot.querySelector(`input`);if(`ariaDetailsElements`in t)try{t.ariaDetailsElements=jF(this,e)}catch{}}};typeof customElements<`u`&&(customElements.get(`demo-input-light`)||customElements.define(`demo-input-light`,MF),customElements.get(`demo-input-shadow`)||customElements.define(`demo-input-shadow`,NF));var PF=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`Demonstrates how to use `,(0,X.jsx)(`code`,{children:`_ariaDetails`}),` to reference an external element that provides detailed information about form inputs. All inputs below reference the same details box via their `,(0,X.jsx)(`code`,{children:`_ariaDetails`}),` prop.`]}),(0,X.jsxs)(`p`,{children:[`The native inputs above are the control group: the first one declares a plain `,(0,X.jsx)(`code`,{children:`aria-details`}),` IDREF in the same tree, the second one is wrapped in a native web component whose shadow input bridges the reference via `,(0,X.jsx)(`code`,{children:`ariaDetailsElements`}),` — the same mechanism KoliBri uses. If a native case announces the details in a screen reader while the KoliBri fields do not, the gap is in KoliBri; if the native shadow case is silent too, the platform does not support the relation across the boundary yet (Safari/VoiceOver lacks element reflection — verify with NVDA or JAWS on Chromium instead).`]}),(0,X.jsxs)(`p`,{children:[`The last example below replicates the`,` `,(0,X.jsxs)(`a`,{href:`https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-details`,children:[`MDN example for `,(0,X.jsx)(`code`,{children:`aria-details`})]}),`: a term references its definition and an explanatory link — the canonical use outside of forms the attribute was designed for.`]})]}),(0,X.jsxs)(Z,{id:`aria-details`,className:`grid gap-8`,children:[(0,X.jsxs)(`div`,{className:`grid gap-4 p-4 border border-gray-300 rounded`,children:[(0,X.jsx)(`h2`,{className:`text-lg font-semibold`,children:`Native reference implementations`}),(0,X.jsxs)(`div`,{children:[(0,X.jsxs)(`label`,{className:`block`,children:[(0,X.jsx)(`span`,{className:`block mb-2`,children:`Native HTML input (no web component)`}),(0,X.jsx)(`input`,{"aria-details":`details-box-native-light`,"aria-label":`Native light input`,className:`border border-gray-500 p-2`})]}),(0,X.jsx)(`div`,{id:`details-box-native-light`,className:`mt-2 p-2 bg-blue-50 border-l-4 border-blue-400 rounded text-sm text-blue-800`,children:`Details for the plain native input: the IDREF resolves in the same tree — no boundary to cross.`})]}),(0,X.jsx)(`div`,{children:w.createElement(`demo-input-light`,{"aria-details":`details-box-native-light`})}),(0,X.jsxs)(`div`,{children:[w.createElement(`demo-input-shadow`,{"aria-details":`details-box-native-shadow`}),(0,X.jsxs)(`div`,{id:`details-box-native-shadow`,className:`mt-2 p-2 bg-blue-50 border-l-4 border-blue-400 rounded text-sm text-blue-800`,children:[`Details for the native shadow input: the reference crosses the boundary via `,(0,X.jsx)(`code`,{children:`ariaDetailsElements`}),` on the input.`]})]})]}),(0,X.jsxs)(`div`,{className:`grid gap-4 p-4 border border-gray-300 rounded`,children:[(0,X.jsx)(`h2`,{className:`text-lg font-semibold`,children:`Form Inputs with Shared Details`}),(0,X.jsx)(J,{_label:`Email Address`,_ariaDetails:`details-box`,_placeholder:`user@example.com`,_hint:`We'll never share your email`}),(0,X.jsx)(UT,{_label:`Country`,_ariaDetails:`details-box`,_options:[{label:`Germany`,value:`de`},{label:`Austria`,value:`at`},{label:`Switzerland`,value:`ch`}]}),(0,X.jsx)(ZT,{_label:`Message`,_ariaDetails:`details-box`,_placeholder:`Enter your message here...`,_rows:4}),(0,X.jsx)(yT,{_label:`Favorite Language`,_ariaDetails:`details-box`,_suggestions:[`TypeScript`,`JavaScript`,`Python`,`Go`,`Rust`,`Java`]})]}),(0,X.jsxs)(`div`,{id:`details-box`,className:`p-4 bg-blue-50 border-l-4 border-blue-400 rounded`,role:`complementary`,children:[(0,X.jsx)(`h3`,{className:`font-semibold text-blue-900 mb-2`,children:`💡 Form Details`}),(0,X.jsxs)(`ul`,{className:`text-sm text-blue-800 space-y-2`,children:[(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Email:`}),` Please enter a valid email address. We use this to contact you about your submission.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Country:`}),` Select your country of residence. This helps us provide localized support.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Message:`}),` Provide as much detail as possible. The more information you give, the better we can assist you.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Language:`}),` Choose your preferred programming language. This helps us recommend relevant resources.`]})]})]}),(0,X.jsxs)(`div`,{className:`grid gap-4 p-4 border border-gray-300 rounded`,children:[(0,X.jsx)(`h2`,{className:`text-lg font-semibold`,children:`MDN example: term & definition`}),(0,X.jsxs)(`p`,{children:[`The term below references two targets: the definition paragraph and the explanatory image link. Screen reader support for `,(0,X.jsx)(`code`,{children:`aria-details`}),` is heavily fragmented — check `,(0,X.jsx)(`a`,{href:`https://a11ysupport.io/tech/aria/aria-details_attribute`,children:`a11ysupport.io`}),` before relying on it.`]}),(0,X.jsxs)(`p`,{children:[`The `,(0,X.jsx)(`strong`,{children:`cubic-bezier()`}),` functional notation defines a cubic`,` `,(0,X.jsx)(`span`,{role:`term`,"aria-details":`bezier bezImg`,className:`underline decoration-dotted underline-offset-4`,children:`Bézier curve`}),`. As these curves are continuous, they are often used to smooth down the start and end of the curve and are therefore sometimes called easing functions.`]}),(0,X.jsxs)(`p`,{role:`definition`,id:`bezier`,className:`p-2 bg-blue-50 border-l-4 border-blue-400 rounded text-sm text-blue-800`,children:[`A `,(0,X.jsx)(`strong`,{children:`Bézier curve`}),`, (Pronounced \\ ˈbe-zē-ˌā \\ `,(0,X.jsx)(`i`,{"aria-description":`English pronunciation`,children:`BEH-zee-ay`}),`) is a mathematically described curve used in computer graphics and animation. The curve is defined by a set of control points with a minimum of two. Web related graphics and animations use Cubic Béziers, which are curves with four control points P`,(0,X.jsx)(`sub`,{children:`0`}),`, P`,(0,X.jsx)(`sub`,{children:`1`}),`, P`,(0,X.jsx)(`sub`,{children:`2`}),`, and P`,(0,X.jsx)(`sub`,{children:`3`}),`.`]}),(0,X.jsx)(`a`,{href:`https://developer.mozilla.org/en-US/docs/Web/CSS/easing-function`,id:`bezImg`,"aria-label":`Explanation of Bézier curve in CSS easing functions`,target:`_blank`,rel:`noreferrer`,className:`block w-fit`,children:(0,X.jsxs)(`svg`,{width:`200`,height:`160`,viewBox:`0 0 200 160`,role:`img`,"aria-label":`Cubic Bézier curve showing 4 control points.`,className:`border border-gray-400 rounded bg-white`,children:[(0,X.jsx)(`path`,{d:`M 20 130 C 60 10, 140 150, 180 30`,fill:`none`,stroke:`#0075ff`,strokeWidth:`2`}),(0,X.jsx)(`line`,{x1:`20`,y1:`130`,x2:`60`,y2:`10`,stroke:`#888`,strokeDasharray:`4 3`}),(0,X.jsx)(`line`,{x1:`140`,y1:`150`,x2:`180`,y2:`30`,stroke:`#888`,strokeDasharray:`4 3`}),(0,X.jsx)(`circle`,{cx:`20`,cy:`130`,r:`4`,fill:`#0075ff`}),(0,X.jsx)(`circle`,{cx:`60`,cy:`10`,r:`4`,fill:`#888`}),(0,X.jsx)(`circle`,{cx:`140`,cy:`150`,r:`4`,fill:`#888`}),(0,X.jsx)(`circle`,{cx:`180`,cy:`30`,r:`4`,fill:`#0075ff`}),(0,X.jsx)(`text`,{x:`12`,y:`148`,fontSize:`12`,fill:`#202020`,children:`P0`}),(0,X.jsx)(`text`,{x:`60`,y:`24`,fontSize:`12`,fill:`#202020`,textAnchor:`middle`,children:`P1`}),(0,X.jsx)(`text`,{x:`140`,y:`144`,fontSize:`12`,fill:`#202020`,textAnchor:`middle`,children:`P2`}),(0,X.jsx)(`text`,{x:`184`,y:`20`,fontSize:`12`,fill:`#202020`,textAnchor:`end`,children:`P3`})]})})]})]})]}),FF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story showcases the component placed on a colored background.`})}),(0,X.jsxs)(Z,{id:`background-default`,className:`grid gap-4 bg-blue-400 p-4 rounded`,children:[(0,X.jsx)(`strong`,{children:`Default background:`}),(0,X.jsx)(J,{_label:`First name`,_value:`John Doe`})]}),(0,X.jsxs)(Z,{id:`background-unset`,className:`grid gap-4 bg-blue-400 p-4 rounded`,children:[(0,X.jsx)(`strong`,{children:`Unset background:`}),(0,X.jsx)(J,{style:{backgroundColor:`unset`},_label:`First name`,_value:`John Doe`})]})]}),IF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story showcases the most important InputText variants: default, required, validation error, disabled, read-only, search with clear button, and with icons.`})}),(0,X.jsx)(Z,{id:`events`,children:(0,X.jsx)(J,{_label:`Name`,_value:`Anderson-Clark`,_on:{onBlur:wj,onChange:wj,onClick:wj,onFocus:wj,onInput:wj,onKeyDown:wj},onBlur:Cj,onChange:Cj,onClick:Cj,onFocus:Cj,onInput:Cj,onKeyDown:Cj})}),(0,X.jsx)(Z,{id:`error`,children:(0,X.jsx)(J,{_label:`Name`,_required:!0,_msg:{_type:`error`,_description:`Please enter your name`},_touched:!0})}),(0,X.jsx)(Z,{id:`hint`,children:(0,X.jsx)(J,{_label:`Name`,_required:!0,_hint:`Enter your surname`})}),(0,X.jsx)(Z,{id:`disabled`,children:(0,X.jsx)(J,{_label:`Name`,_value:`Anderson-Clark`,_disabled:!0})}),(0,X.jsx)(Z,{id:`info-popover`,children:(0,X.jsx)(J,{_label:`Name`,_required:!0,_value:`Anderson-Clark`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{id:`readonly-popover`,children:(0,X.jsx)(J,{_label:`Name`,_readOnly:!0,_value:`Anderson-Clark`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{id:`icon`,children:(0,X.jsx)(J,{_label:`Name`,_icons:`kolicon-house`,_value:`Anderson-Clark`})}),(0,X.jsx)(Z,{id:`search`,children:(0,X.jsx)(J,{_label:`Search`,_type:`search`,_value:`test`,_placeholder:`Search with clear button`})})]}),LF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates the clear button for search type input fields.`})}),(0,X.jsx)(Z,{id:`search-empty`,children:(0,X.jsx)(J,{_label:`Search`,_type:`search`,_placeholder:`Enter search term`})}),(0,X.jsx)(Z,{id:`search-value`,children:(0,X.jsx)(J,{_label:`Search (with value)`,_type:`search`,_value:`test`,_placeholder:`Enter search term`})}),(0,X.jsx)(Z,{id:`search-disabled`,children:(0,X.jsx)(J,{_label:`Search (disabled)`,_type:`search`,_disabled:!0,_value:`test`,_placeholder:`Disabled search`})}),(0,X.jsx)(Z,{id:`search-read-only`,children:(0,X.jsx)(J,{_label:`Search (read only)`,_type:`search`,_readOnly:!0,_value:`test`})}),(0,X.jsx)(Z,{id:`text-no-clear-button`,children:(0,X.jsx)(J,{_label:`Text (no clear button)`,_type:`text`,_value:`test`,_placeholder:`Regular text input`})})]}),RF=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story showcases an input with a counter for the chars in the field. Maximal length is 30.`})}),(0,X.jsx)(Z,{id:`counter`,children:(0,X.jsx)(J,{_label:`Name`,_icons:`kolicon-house`,_value:`Anderson-Clark`,_hasCounter:!0,_maxLength:30})})]}),zF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates the disabled state of KolInputText. Disabled inputs cannot be edited or focused.`})}),(0,X.jsx)(Z,{id:`placeholder`,children:(0,X.jsx)(J,{_label:`Disabled with placeholder`,_placeholder:`Placeholder text`,_disabled:!0})}),(0,X.jsx)(Z,{id:`value`,children:(0,X.jsx)(J,{_label:`Disabled with value`,_value:`This field is disabled`,_disabled:!0})}),(0,X.jsx)(Z,{id:`error`,children:(0,X.jsx)(J,{_label:`Disabled with error message`,_value:`Invalid value`,_msg:{_type:`error`,_description:`Error message`},_disabled:!0,_touched:!0})}),(0,X.jsx)(Z,{id:`enabled`,children:(0,X.jsx)(J,{_label:`Comparison: Enabled`,_value:`This field is enabled`})})]}),BF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`This sample shows KolInputText with expert slot. The expert slot allows for complex custom content beyond simple text inputs.`}),(0,X.jsxs)(`p`,{children:[`For further information on the expert slot see its `,(0,X.jsx)(`a`,{href:`https://public-ui.github.io/docs/concepts/expert-slot`,children:`documentation`})]})]}),(0,X.jsx)(Z,{id:`text`,children:(0,X.jsx)(J,{_label:``,_type:`text`,children:(0,X.jsx)(`span`,{slot:`expert`,children:`I am more than just a input field`})})}),(0,X.jsx)(Z,{id:`badge`,children:(0,X.jsx)(J,{_label:``,_type:`text`,_value:`Complex example`,children:(0,X.jsxs)(`div`,{slot:`expert`,className:`flex items-center gap-2`,children:[(0,X.jsx)(hT,{_label:`Premium`,_color:`#1a73e8`}),(0,X.jsx)(wT,{_icons:`kolicon-check`,_label:``}),(0,X.jsx)(`span`,{children:`Verified account with premium features`})]})})}),(0,X.jsx)(Z,{id:`note`,children:(0,X.jsx)(J,{_label:``,_type:`text`,_placeholder:`Enter your email`,children:(0,X.jsxs)(`div`,{slot:`expert`,style:{padding:`0.5rem`,backgroundColor:`#f0f0f0`,borderRadius:`4px`},children:[(0,X.jsx)(`strong`,{children:`Note:`}),` This email will be used for account recovery and notifications.`]})})}),(0,X.jsx)(Z,{id:`required`,children:(0,X.jsx)(J,{_label:``,_type:`text`,_required:!0,children:(0,X.jsxs)(`div`,{slot:`expert`,className:`inline-block`,children:[(0,X.jsx)(`span`,{className:`expert-slot-required-label`,children:`Username`}),(0,X.jsx)(BT,{_label:`Help`,_icons:`kolicon-alert-info`,_variant:`ghost`,_hideLabel:!0,_inline:!0,children:(0,X.jsx)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:`You have to take care of the asterics on your own!`})})]})})}),(0,X.jsx)(Z,{id:`readonly`,children:(0,X.jsx)(J,{_label:``,_type:`text`,_readOnly:!0,_value:`(read only) is also not appended`,children:(0,X.jsxs)(`div`,{slot:`expert`,className:`inline-block`,children:[(0,X.jsx)(`span`,{className:`expert-slot-required-label`,children:`Username`}),(0,X.jsx)(BT,{_label:`Help`,_icons:`kolicon-alert-info`,_variant:`ghost`,_hideLabel:!0,_inline:!0,children:(0,X.jsx)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:`Readonly is also not appended`})})]})})})]}),VF=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(Xj,{label:`KolInputText`,renderInput:e=>(0,X.jsx)(J,{_label:`Name`,_on:e})})]}),HF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This story demonstrates the `,(0,X.jsx)(`code`,{children:`_hideLabel`}),` feature for KolInputText. It allows hiding the label visually while keeping it accessible for screen readers.`]})}),(0,X.jsx)(Z,{id:`search`,children:(0,X.jsx)(J,{_hideLabel:!0,_label:`Search`,_placeholder:`Search...`,_type:`search`})}),(0,X.jsx)(Z,{id:`error`,children:(0,X.jsx)(J,{_hideLabel:!0,_label:`Email`,_placeholder:`Enter email`,_msg:{_type:`error`,_description:`Invalid email format`},_touched:!0})}),(0,X.jsx)(Z,{id:`address-group`,children:(0,X.jsxs)(`fieldset`,{className:`grid md:grid-cols-2 gap-4`,children:[(0,X.jsx)(`legend`,{children:`Street Address`}),(0,X.jsx)(pT,{className:`col-span-2`,_level:0,_type:`error`,children:`Please complete the address`}),(0,X.jsx)(J,{_hideLabel:!0,_hideMsg:!0,_label:`Street name`,_placeholder:`Street name`,_msg:{_type:`error`,_description:`Please complete the address`},_touched:!0}),(0,X.jsx)(J,{_hideLabel:!0,_hideMsg:!0,_label:`House number`,_placeholder:`Number`,_msg:{_type:`error`,_description:`Please complete the address`},_touched:!0})]})})]}),UF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows the `,(0,X.jsx)(`code`,{children:`_hideMsg`}),` feature for KolInputText. It allows to hide the message from an input field and can be used, when the message (e.g. error) is already shown somewhere else, e.g. for a group of inputs.`]})}),(0,X.jsx)(Z,{id:`single-error`,children:(0,X.jsx)(J,{_msg:{_type:`error`,_description:`Error message`},_label:`Input with error`,_touched:!0})}),(0,X.jsx)(Z,{id:`combined-error`,children:(0,X.jsxs)(`fieldset`,{className:`grid md:grid-cols-2 gap-4`,children:[(0,X.jsx)(`legend`,{children:`Combined input field`}),(0,X.jsx)(pT,{className:`col-span-2`,_level:0,_type:`error`,children:`This is a combined error message`}),(0,X.jsx)(J,{_msg:{_type:`error`,_description:`This is a combined error message`},_hideMsg:!0,_label:`First input`,_touched:!0}),(0,X.jsx)(J,{_msg:{_type:`error`,_description:`This is a combined error message`},_hideMsg:!0,_label:`Second input with error`,_touched:!0})]})})]}),WF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates all available message types for KolInputText: default, info, error, warning, and success.`})}),(0,X.jsx)(Z,{id:`msg-default`,children:(0,X.jsx)(J,{_label:`Default message`,_value:`Valid value`,_msg:{_type:`default`,_description:`This is a default message`},_touched:!0})}),(0,X.jsx)(Z,{id:`msg-error`,children:(0,X.jsx)(J,{_label:`Error message`,_value:`Invalid value`,_msg:{_type:`error`,_description:`This is an error message`},_touched:!0})}),(0,X.jsx)(Z,{id:`msg-info`,children:(0,X.jsx)(J,{_label:`Info message`,_value:`Some value`,_msg:{_type:`info`,_description:`This is an informational message`},_touched:!0})}),(0,X.jsx)(Z,{id:`msg-success`,children:(0,X.jsx)(J,{_label:`Success message`,_value:`Valid value`,_msg:{_type:`success`,_description:`This is a success message`},_touched:!0})}),(0,X.jsx)(Z,{id:`msg-warning`,children:(0,X.jsx)(J,{_label:`Warning message`,_value:`Valid value`,_msg:{_type:`warning`,_description:`This is a warning message`},_touched:!0})})]}),GF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`Regression sample for #9073: when both _msg and _hasCounter are set, aria-describedby must reference both the message and counter elements.`}),(0,X.jsx)(`p`,{children:`Open DevTools and inspect each input to confirm aria-describedby contains both IDs.`})]}),(0,X.jsx)(Z,{id:`warning`,children:(0,X.jsx)(J,{_label:`Warning + Counter`,_msg:{_type:`warning`,_description:`Bitte prüfen Sie Ihre Eingabe.`},_hasCounter:!0,_maxLength:30})}),(0,X.jsx)(Z,{id:`error`,children:(0,X.jsx)(J,{_label:`Error + Counter (touched)`,_msg:{_type:`error`,_description:`Pflichtfeld – bitte ausfüllen.`},_hasCounter:!0,_maxLength:30,_touched:!0})}),(0,X.jsx)(Z,{id:`info`,children:(0,X.jsx)(J,{_label:`Info + Counter`,_msg:{_type:`info`,_description:`Hinweis: maximal 20 Zeichen.`},_hasCounter:!0,_maxLength:20})})]}),KF=`^[A-Za-z]{3}-\\d{3}$`,qF=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates HTML5 pattern validation for both native input and KolInputText components.`})}),(0,X.jsx)(Z,{id:`pattern`,children:(0,X.jsxs)(`form`,{className:`grid gap-4`,children:[(0,X.jsxs)(`div`,{className:`grid gap-2`,children:[(0,X.jsx)(`label`,{htmlFor:`native-input`,children:`Native Input (Pattern: AAA-123, case-insensitive)`}),(0,X.jsx)(`input`,{id:`native-input`,name:`native-input`,pattern:KF,type:`text`})]}),(0,X.jsx)(J,{_label:`KoliBri Input (Pattern: AAA-123, case-insensitive)`,_name:`kolibri-input`,_pattern:KF,_hint:`Note: This input is not linked to the form element. The validation inside the Shadow DOM is currently not triggered on form submit.`}),(0,X.jsx)(`div`,{children:(0,X.jsx)(`button`,{type:`submit`,children:`Submit`})})]})})]}),JF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates the placeholder feature of KolInputText.`})}),(0,X.jsx)(Z,{id:`first-name`,children:(0,X.jsx)(J,{_label:`First name`,_placeholder:`Enter your first name`})}),(0,X.jsx)(Z,{id:`email`,children:(0,X.jsx)(J,{_label:`Email address`,_placeholder:`user@example.com`})}),(0,X.jsx)(Z,{id:`tel`,children:(0,X.jsx)(J,{_label:`Phone number`,_placeholder:`+49 123 456789`,_type:`tel`})}),(0,X.jsx)(Z,{id:`url`,children:(0,X.jsx)(J,{_label:`Website`,_placeholder:`https://example.com`,_type:`url`})}),(0,X.jsx)(Z,{id:`search`,children:(0,X.jsx)(J,{_label:`Search`,_placeholder:`Search...`,_type:`search`})})]}),YF=()=>(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story demonstrates the readonly state of KolInputText. Readonly inputs can be focused but not edited.`})}),(0,X.jsx)(Z,{id:`placeholder`,children:(0,X.jsx)(J,{_label:`Readonly with placeholder`,_placeholder:`Placeholder text`,_readOnly:!0})}),(0,X.jsx)(Z,{id:`value`,children:(0,X.jsx)(J,{_label:`Readonly with value`,_value:`This field is readonly`,_readOnly:!0})}),(0,X.jsx)(Z,{id:`info`,children:(0,X.jsx)(J,{_label:`Readonly with info message`,_value:`Read-only value`,_msg:{_type:`info`,_description:`This field cannot be edited`},_readOnly:!0,_touched:!0})}),(0,X.jsx)(Z,{id:`editable`,children:(0,X.jsx)(J,{_label:`Comparison: Editable`,_value:`This field is editable`})})]}),XF=()=>{let e=w.useRef(null);function t(){e.current?.focus(),e.current?.setSelectionStart(8)}function n(){e.current?.focus(),e.current?.setSelectionRange(2,5)}function r(){e.current?.focus(),e.current?.setRangeText(`INSERTED`,5,9,`select`)}return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows how to change the selection in a KolInputText.`})}),(0,X.jsxs)(Z,{id:`select-range`,children:[(0,X.jsx)(J,{_value:`Very long value`,_label:`Text Input Label`,ref:e}),(0,X.jsx)(_T,{_label:`Set Start`,onClick:t}),(0,X.jsx)(_T,{_label:`Set Range`,onClick:n}),(0,X.jsx)(_T,{_label:`Set Range Text`,onClick:r})]})]})},ZF={_icons:`kolicon-alert-info`,_hideLabel:!0},QF={left:{icon:`kolicon-eye`},right:{icon:`kolicon-check`}},$F=()=>{let e=zt.getInstance(document),t={onClick:()=>{e.enqueue({description:`Smart-Button clicked`,label:`Toaster`,type:`default`})}};return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows the smart button feature for KolInputText. It allows the usage of a button inside the bnput.`})}),(0,X.jsx)(Z,{id:`enabled`,children:(0,X.jsx)(J,{_label:`Input with button and icons`,_type:`text`,_smartButton:{...ZF,_label:`Open Toast`,_on:t},_icons:QF})}),(0,X.jsx)(Z,{id:`disabled`,children:(0,X.jsx)(J,{_label:`Disabled input with button and icons`,_disabled:!0,_type:`text`,_smartButton:{...ZF,_label:`Disabled Button`},_icons:QF})})]})},eI=class{SEPARATOR=` `;CHARS_PER_GROUP=4;KEEP_ALPHANUM=/[^a-zA-Z0-9]/g;parse(e){return e.replace(this.KEEP_ALPHANUM,``).toUpperCase()}format(e){let t=this.parse(e),n=RegExp(`(.{${this.CHARS_PER_GROUP}})(?!$)`,`g`);return t.replace(n,`$1${this.SEPARATOR}`)}adjustCursorPosition(e,t,n){let r=this.format(e),i=this.format(t);if(n>=r.length)return i.length;let a=0;for(let e=0;e<n&&e<r.length;e++)r[e]!==this.SEPARATOR&&a++;let o=0;for(let e=0;e<i.length;e++)if(i[e]!==this.SEPARATOR&&o++===a)return e;return i.length}},tI=class{LOCALE=navigator.language;CURRENCY_SYMBOL=` €`;parse(e){let t=e.replace(/[^\d.,]/g,``),n=t.lastIndexOf(`,`),r=t.lastIndexOf(`.`),i;return i=n>r?t.replace(/\./g,``).replace(`,`,`.`):r>n?t.replace(/,/g,``):t.replace(/[.,]/g,``),parseFloat(i)||0}format(e){let t=typeof e==`string`?this.parse(e):e;return new Intl.NumberFormat(this.LOCALE,{minimumFractionDigits:2,maximumFractionDigits:2}).format(t)+this.CURRENCY_SYMBOL}adjustCursorPosition(e,t,n){let r=this.format(e),i=this.format(t);if(n>=r.length)return i.length;let a=0;for(let e=0;e<n&&e<r.length;e++)/\d/.test(r[e])&&a++;let o=0;for(let e=0;e<i.length;e++)if(/\d/.test(i[e])&&o++===a)return e;return i.length}};function nI(){let e=new eI,t=new tI,n=gP({defaultValues:{iban:`DE89370400440532013000`}}),r=gP({defaultValues:{currency:1e6}}),i=t=>{let r=t.target,i=e.parse(r.value),a=e.adjustCursorPosition(n.getValues(`iban`),i,r.selectionStart||0);n.setValue(`iban`,i),requestAnimationFrame(()=>{requestAnimationFrame(()=>{r.setSelectionRange(a,a)})})};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`This example demonstrates two different formatting strategies for input fields:`}),(0,X.jsxs)(`ul`,{children:[(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Live Formatting (IBAN):`}),` Formatting happens while typing. The value is immediately formatted and displayed with intelligent cursor positioning. Best for fixed-format values where users expect visual feedback during input.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`On-Blur Formatting (Currency):`}),` Formatting happens when leaving the field (onBlur event). Allows free typing without interruption. Best for numeric values where users might input in various formats.`]})]}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`Key Concept:`}),` The form model always stores the `,(0,X.jsx)(`em`,{children:`unformatted`}),` value (raw IBAN string, numeric currency value), while the input field displays the `,(0,X.jsx)(`em`,{children:`formatted`}),` value for better readability.`]})]}),(0,X.jsxs)(Z,{id:`iban`,className:`w-full flex flex-col`,children:[(0,X.jsxs)(`div`,{className:`p-2`,children:[(0,X.jsx)(q,{_label:`Live Formatting - IBAN`,_level:2}),(0,X.jsx)(`p`,{className:`text-sm mb-2`,children:`Formatting occurs during input with intelligent cursor control`}),(0,X.jsx)(CT,{children:(0,X.jsx)(`form`,{onSubmit:n.handleSubmit(async()=>{}),children:(0,X.jsx)(pN,{name:`iban`,control:n.control,render:({field:t})=>(0,X.jsx)(`div`,{className:`block mt-2`,children:(0,X.jsx)(J,{id:`field-iban`,_label:`IBAN`,_value:e.format(t.value??``),_required:!0,_on:{onInput:i,onBlur:t.onBlur}})})})})})]}),(0,X.jsxs)(`div`,{className:`p-2`,children:[(0,X.jsx)(q,{_label:`Model (Unformatted Value)`,_level:2}),(0,X.jsx)(`pre`,{className:`text-base`,children:JSON.stringify(n.watch(),null,2)})]})]}),(0,X.jsxs)(Z,{id:`currency`,className:`w-full flex flex-col`,children:[(0,X.jsxs)(`div`,{className:`p-2`,children:[(0,X.jsx)(q,{_label:`On-Blur Formatting - Currency`,_level:2}),(0,X.jsx)(`p`,{className:`text-sm mb-2`,children:`Formatting occurs when leaving the field (onBlur) for uninterrupted input`}),(0,X.jsx)(CT,{children:(0,X.jsx)(`form`,{onSubmit:r.handleSubmit(async()=>{}),children:(0,X.jsx)(pN,{name:`currency`,control:r.control,render:({field:e})=>(0,X.jsx)(`div`,{className:`block mt-2`,children:(0,X.jsx)(J,{id:`field-currency`,_label:`Currency`,_value:t.format(e.value??0),_on:{onBlur:n=>{let r=n.target,i=t.parse(r.value);e.onChange(i),e.onBlur()}}})})})})})]}),(0,X.jsxs)(`div`,{className:`p-2`,children:[(0,X.jsx)(q,{_label:`Model (Numeric Value)`,_level:2}),(0,X.jsx)(`pre`,{className:`text-base`,children:JSON.stringify(r.watch(),null,2)})]})]})]})}var rI={"input-text":{"aria-details":PF,basic:IF,"clear-button":LF,"get-value":VF,"message-types":WF,placeholder:JF,disabled:zF,readonly:YF,counter:RF,"msg-and-counter":GF,"access-short-key":kF,"hide-label":HF,"hide-msg":UF,"text-formatter":nI,"smart-button":$F,"expert-slot":BF,pattern:qF,"select-range":XF,background:FF,variant:()=>{let[e]=ik(),t=e.get(`theme`)??KA(),n=(0,w.useMemo)(()=>t?IA(t,`inputVariants`):[],[t]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This story showcases input variants depending on your choosen theme.`})}),(0,X.jsx)(`div`,{className:`grid grid-cols-2 gap-8 p-8`,children:!Array.isArray(n)||n.length===0?(0,X.jsx)(Z,{id:`no-variants`,children:(0,X.jsx)(`p`,{children:`This theme has no variants for inputs.`})}):n.map(e=>(0,X.jsxs)(Z,{id:`variant-${tA(String(e))}`,heading:`Variante: ${String(e)}`,className:`grid gap-4 p-8`,children:[(0,X.jsx)(J,{_label:`Input Text`,_hint:`Enter your surname`,_variant:e,_msg:{_type:`error`,_description:`Error message`},_touched:!0,_hasCounter:!0}),(0,X.jsx)(MT,{_label:`Input Passwort`,_variant:e}),(0,X.jsx)(DT,{_label:`Input Color`,_variant:e}),(0,X.jsx)(OT,{_label:`Input Date`,_variant:e}),(0,X.jsx)(kT,{_label:`Input Email`,_variant:e}),(0,X.jsx)(AT,{_label:`Input File`,_variant:e}),(0,X.jsx)(jT,{_label:`Input Number`,_variant:e}),(0,X.jsx)(PT,{_label:`Input Range`,_variant:e}),(0,X.jsx)(UT,{_label:`Select`,_options:[{label:`Please select…`,value:``},{label:`One`,value:`one`},{label:`Two`,value:`two`}],_variant:e}),(0,X.jsx)(WT,{_label:`Single Select`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`}],_variant:e}),(0,X.jsx)(yT,{_label:`Combobox`,_suggestions:`['Herr','Frau','Firma']`,_variant:e}),(0,X.jsx)(NT,{_label:`Radio Group`,_options:[{label:`Field 1`,value:1},{label:`Field 2`,value:2}],_variant:e}),(0,X.jsx)(ZT,{_label:`Textarea`,_variant:e})]},e))})]})}}},iI={kolibri:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolKolibri renders the KoliBri logo. The sample show the logo with and without label and with a custom color.`})}),(0,X.jsxs)(Z,{id:`basic`,children:[(0,X.jsx)(q,{class:`block`,_level:3,_label:`Regular`}),(0,X.jsx)(FT,{class:`block`,style:{width:300}}),(0,X.jsx)(q,{class:`block`,_level:3,_label:`Without Label`}),(0,X.jsx)(FT,{class:`block`,style:{width:300},_labeled:!1}),(0,X.jsx)(q,{class:`block`,_level:3,_label:`Customized color`}),(0,X.jsx)(FT,{class:`block`,style:{width:300},_color:`#cc006e`})]})]})}},aI={"link-button":{basic:()=>{let[e]=ik(),t=e.get(`theme`)??KA(),n=(0,w.useMemo)(()=>t?IA(t,`buttonVariants`):[],[t]),{dummyClickEventHandler:r}=vA(),i={onClick:r};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolLinkButton renders a link that looks like a button. The sample shows the different theme exclusive styling variants.`})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsxs)(Z,{id:`variants`,children:[(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4 items-center`,children:!Array.isArray(n)||n.length===0?(0,X.jsx)(`p`,{children:`This theme has no variants for this component.`}):n.map(e=>(0,X.jsx)(IT,{_href:`#/back-page`,_icons:`kolicon-house`,_label:`${e}`,_variant:e,_on:i},e))}),(0,X.jsx)(`div`,{className:`flex flex-wrap gap-4 items-center`,children:!Array.isArray(n)||n.length===0?(0,X.jsx)(`p`,{children:`This theme has no variants for this component.`}):n.map(e=>(0,X.jsx)(IT,{_href:`#/back-page`,_hideLabel:!0,_icons:`kolicon-settings`,_label:`${e}`,_variant:e,_on:i},e))})]})})]})},"aria-description":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolLinkButton with aria-description`})}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,X.jsx)(IT,{_href:`#/back-page`,_label:`Link Button Text without area description`}),(0,X.jsx)(IT,{_href:`#/back-page`,_label:`Link Button Text`,_ariaDescription:`Link Button Aria Description`}),(0,X.jsx)(IT,{_href:`#/back-page`,_label:`Link Button Text`,_ariaDescription:`Link Button Aria Description with external Link`,_target:`_blank`})]})]}),target:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolLinkButton with diffrent Targets`})}),(0,X.jsxs)(Z,{id:`target`,className:`flex flex-wrap gap-2`,children:[(0,X.jsx)(IT,{_href:`#/back-page`,_label:`Link Button Target default`}),(0,X.jsx)(IT,{_href:`#/back-page`,_label:`Link Button Target _self`,_target:`_blank`}),(0,X.jsx)(IT,{_href:`#/back-page`,_label:`Link Button Target _blank`,_target:`_blank`})]})]})}},oI={link:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolLink renders a link. This sample shows disabled links, links with hidden label, the boolean _inline property and links with different CSS`,` `,(0,X.jsx)(`code`,{children:`display`}),`-properties.`]})}),(0,X.jsxs)(Z,{id:`basic`,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_inline:!1,_label:`Simple Link`}),(0,X.jsx)(Y,{_disabled:!0,_href:`#/back-page`,_inline:!1,_label:`Simple Link (disabled)`}),(0,X.jsx)(Y,{_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_inline:!1,_label:`Icon Link`}),(0,X.jsx)(Y,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_inline:!1,_label:`Icon Link (disabled)`}),(0,X.jsxs)(`p`,{children:[`In this paragraph, a standard link `,(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Simple Link`}),` and a disabled link`,` `,(0,X.jsx)(Y,{_disabled:!0,_href:`#/back-page`,_label:`Simple Link (disabled)`}),` are inserted. They are rendered by default as `,(0,X.jsx)(`strong`,{children:`inline elements`}),`.`]}),(0,X.jsxs)(`p`,{children:[`In this paragraph, a link is inserted that is rendered as an inline-block element.`,` `,(0,X.jsx)(Y,{class:`d-inline-block`,_accessKey:`S`,_href:`#/back-page`,_label:`Simple Link`}),`. This allows you to assign width, height, and other properties to it using CSS styles.`,(0,X.jsx)(`br`,{}),(0,X.jsx)(`br`,{}),`After that, there is a link that is rendered as a block element. `,(0,X.jsx)(Y,{class:`d-block`,_href:`#/back-page`,_label:`Simple Link`}),`, therefore, I span the entire width of the parent element, causing a line break.`]}),(0,X.jsx)(Y,{_href:`#/back-page`,_inline:!1,_label:`Special Variant Link`,_variant:`theme-link`})]})]}),icons:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolLink with icons in different alignments and combinations.`})}),(0,X.jsxs)(Z,{id:`icons`,children:[(0,X.jsx)(Y,{_icons:`kolicon-house`,_label:`I am a link with an icon on the left`,_href:`#/back-page`}),(0,X.jsx)(Y,{_icons:{right:`kolicon-house`},_label:`I am a link with an icon on the right`,_href:`#/back-page`}),(0,X.jsx)(Y,{_icons:{top:`kolicon-house`},_label:`I am a link with an icon at the top`,_href:`#/back-page`}),(0,X.jsx)(Y,{_icons:{bottom:`kolicon-house`},_label:`I am a link with icon below`,_href:`#/back-page`}),(0,X.jsx)(Y,{_icons:{top:`kolicon-house`,right:`kolicon-house`,bottom:`kolicon-house`,left:`kolicon-house`},_label:`I am a link with all icons`,_href:`#/back-page`}),(0,X.jsx)(Y,{_icons:`kolicon-house`,_href:`https://public-ui.github.io/`,_label:`I am a external link with an icon on the left`,_target:`_blank`}),(0,X.jsx)(Y,{_icons:{right:`kolicon-house`},_href:`https://public-ui.github.io/`,_label:`I am a external linkwith an icon on the right`,_target:`_blank`}),(0,X.jsx)(Y,{_icons:{top:`kolicon-house`},_href:`https://public-ui.github.io/`,_label:`I am a external link with an icon at the top`,_target:`_blank`}),(0,X.jsx)(Y,{_icons:{bottom:`kolicon-house`},_href:`https://public-ui.github.io/`,_label:`I am a external link with icon below`,_target:`_blank`}),(0,X.jsx)(Y,{_href:`https://public-ui.github.io/`,_label:`I am a external link with all icons`,_target:`_blank`,_icons:{top:`kolicon-house`,right:`kolicon-house`,bottom:`kolicon-house`,left:`kolicon-house`}})]})]}),image:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolLink can be used with slot-content instead of a label as well. This sample demonstrates the slot content used to display an image.`})}),(0,X.jsxs)(Z,{id:`image`,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_label:`I am a link that is rendered as text`}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:``,children:(0,X.jsx)(TT,{_alt:`KoliBri design system illustration showing three people working on laptops surrounded by UI components, charts, and the KoliBri hummingbird logo`,_src:`sample-image.png`,className:`w-image`,slot:`expert`})})]})]}),target:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows KolLink with different `,(0,X.jsx)(`code`,{children:`_target`}),`-properties.`]})}),(0,X.jsx)(Z,{id:`target`,className:`text-base d-flex gap-4`,children:(0,X.jsxs)(`ul`,{children:[(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Link without target`})}),(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Link with target (_self)`,_target:`_self`})}),(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Link with target (_blank)`,_target:`_blank`})}),(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`Link without target`})}),(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`Link with target (_self)`,_target:`_self`})}),(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`Link with target (_blank)`,_target:`_blank`})})]})})]}),"aria-description":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolLink with aria-description`})}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Link Text without aria description`}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Link Text`,_ariaDescription:`Link Area Description`})]})]}),"access-key":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolLink with access key. The access keys can be used to trigger the buttons using the keyboard.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_label:`With S access key`,_accessKey:`S`}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Very small s`,_accessKey:`s`}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Access key does not appear in label`,_accessKey:`s`}),(0,X.jsx)(Y,{_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_label:`access key without label`,_accessKey:`s`})]})]}),"short-key":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolButton with short key without functionality. The short key is purely visual. Its functionality needs to be developed separately.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_label:`With S short key`,_shortKey:`S`}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Very small s`,_shortKey:`s`}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Short key does not appear in label`,_shortKey:`s`}),(0,X.jsx)(Y,{_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_label:`short key without label`,_shortKey:`s`})]})]}),"react-router":()=>{let e=WD();return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows how KolLink works with react-router. Primary click uses preventDefault() and navigate(...), while right click open in new tab still follows _href. Make sure _href and navigate(...) point to the same path.`})}),(0,X.jsx)(`div`,{className:`grid gap-4`,children:(0,X.jsx)(Y,{_href:`/back-page`,_inline:!1,_label:`Go to overview`,_on:{onClick:t=>{t.preventDefault(),e(`/back-page`)}}})})]})},"linked-headline":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows a linked headline with anchor.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Y,{_href:`/#/link/linked-headline#headline1`,_label:``,children:(0,X.jsx)(q,{_label:`I'm H2-heading number one`,_level:2,slot:`expert`,id:`headline1`})}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(Y,{_href:`/#/link/linked-headline#headline2`,_label:``,children:(0,X.jsx)(q,{_label:`I'm H2-heading number two`,_level:2,slot:`expert`,id:`headline2`})}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(Y,{_href:`/#/link/linked-headline#headline3`,_label:``,children:(0,X.jsx)(q,{_label:`I'm H2-heading number three`,_level:2,slot:`expert`,id:`headline3`})}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,X.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})]})]}),"on-click":()=>{let[e,t]=(0,w.useState)(0);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`This sample demonstrates the issue described in`,` `,(0,X.jsx)(`a`,{href:`https://github.com/public-ui/kolibri/issues/10726`,target:`_blank`,rel:`noopener noreferrer`,children:`#10726`}),`.`,(0,X.jsx)(`br`,{}),`Test the behavior of KolLink with onClick handlers and compare it to native <a> tags.`]}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`Expected behavior (like native <a> tag):`}),(0,X.jsxs)(`ul`,{children:[(0,X.jsx)(`li`,{children:`onClick without preventDefault: Execute onClick AND navigate to href`}),(0,X.jsx)(`li`,{children:`onClick with preventDefault: Execute onClick, BLOCK navigation`}),(0,X.jsx)(`li`,{children:`onClick returning false: Execute onClick, BLOCK navigation`})]})]}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`Current behavior (Issue #10726):`}),(0,X.jsxs)(`ul`,{children:[(0,X.jsx)(`li`,{children:`❌ onClick with preventDefault: Still navigates to href (should only execute onClick)`}),(0,X.jsx)(`li`,{children:`❌ onClick returning false: Still navigates to href (should only execute onClick)`})]})]})]}),(0,X.jsx)(Z,{id:`on-click`,children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsxs)(`div`,{className:`bg-gray-100 p-4 rounded`,children:[(0,X.jsx)(`h2`,{className:`h3 mb-2`,children:`Test Results`}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`onClick executions:`}),` `,e]}),(0,X.jsx)(`p`,{className:`text-sm text-gray-600`,children:`(Open browser console to see detailed logs)`}),(0,X.jsx)(`p`,{className:`text-sm text-gray-600`,children:`Note: This demo uses href="#test" to avoid actual page reloads. Check the URL hash and console output.`})]}),(0,X.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,X.jsx)(`h3`,{className:`h4 mb-2`,children:`Test 1: onClick ohne preventDefault`}),(0,X.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Expected: Click increments counter AND adds #test-1 to URL`}),(0,X.jsx)(Y,{_href:`#test-1`,_label:`Click me (no preventDefault)`,_on:{onClick:(e,n)=>{console.log(`Test 1: onClick ohne preventDefault`,{event:e,href:n}),t(e=>e+1)}},_inline:!1})]}),(0,X.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,X.jsx)(`h3`,{className:`h4 mb-2`,children:`Test 2: onClick mit preventDefault()`}),(0,X.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Expected: Click increments counter but does NOT add #test-2 to URL`}),(0,X.jsx)(Y,{_href:`#test-2`,_label:`Click me (with preventDefault)`,_on:{onClick:(e,n)=>{console.log(`Test 2: onClick mit preventDefault`,{event:e,href:n}),t(e=>e+1),e.preventDefault()}},_inline:!1})]}),(0,X.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,X.jsx)(`h3`,{className:`h4 mb-2`,children:`Test 3: onClick returning false`}),(0,X.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Expected: Click increments counter but does NOT add #test-3 to URL`}),(0,X.jsx)(Y,{_href:`#test-3`,_label:`Click me (return false)`,_on:{onClick:(e,n)=>(console.log(`Test 3: onClick mit return false`,{event:e,href:n}),t(e=>e+1),!1)},_inline:!1})]}),(0,X.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,X.jsx)(`h3`,{className:`h4 mb-2`,children:`Test 4: useNavigate Pattern (Issue #10726)`}),(0,X.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Expected: Click logs navigate action but does NOT add #test-4 to URL`}),(0,X.jsx)(Y,{_href:`#test-4`,_label:`Click me (simulate useNavigate)`,_on:{onClick:(e,n)=>{console.log(`Test 4: onClick mit simulate navigate`,{event:e,href:n}),t(e=>e+1),e.preventDefault(),console.log(`Simulated navigate to:`,n)}},_inline:!1})]}),(0,X.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,X.jsx)(`h3`,{className:`h4 mb-2`,children:`Reference: Native <a> Tag`}),(0,X.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Test native <a> tag behavior for comparison`}),(0,X.jsxs)(`div`,{className:`grid gap-2`,children:[(0,X.jsx)(`a`,{href:`#native-test-1`,onClick:()=>{console.log(`Native a: onClick ohne preventDefault`),t(e=>e+1)},className:`btn btn-primary`,children:`Native: No preventDefault`}),(0,X.jsx)(`a`,{href:`#native-test-2`,onClick:e=>{console.log(`Native a: onClick mit preventDefault`),t(e=>e+1),e.preventDefault()},className:`btn btn-primary`,children:`Native: With preventDefault`}),(0,X.jsx)(`a`,{href:`#native-test-3`,onClick:()=>(console.log(`Native a: onClick mit return false`),t(e=>e+1),!1),className:`btn btn-primary`,children:`Native: Return false`})]})]})]})})]})},"link-variant":()=>{let[e]=ik(),t=e.get(`theme`)??KA(),n=(0,w.useMemo)(()=>t?IA(t,`linkVariants`):[],[t]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows the theme specific variants of KolLink.`})}),(0,X.jsxs)(Z,{id:`variants`,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Normal link without a variant`}),!Array.isArray(n)||n.length===0?(0,X.jsx)(`p`,{children:`This theme has no variants for this component.`}):n.map(e=>(0,X.jsx)(Y,{_href:`#/back-page`,_label:`Theme exclusive variant: ${e}`,_variant:e},e))]})]})}}},sI={meter:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolMeter renders a semantic meter element. You can use _min (default 0), _max (default 1) and _unit (default %) to customize it.`})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsx)(Z,{id:`basic`,heading:`Basic`,children:(0,X.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,X.jsx)(LT,{_label:`Storage used`,_value:.5}),(0,X.jsx)(LT,{_label:`Weight`,_max:100,_value:75,_unit:`kg`}),(0,X.jsx)(LT,{_label:`Temperature`,_min:-100,_max:100,_value:-50,_unit:`°C`})]})})})]}),clamped:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`A `,(0,X.jsx)(`code`,{children:`_value`}),` outside the range of `,(0,X.jsx)(`code`,{children:`_min`}),` and `,(0,X.jsx)(`code`,{children:`_max`}),` is clamped into it: a value above `,(0,X.jsx)(`code`,{children:`_max`}),` renders as`,` `,(0,X.jsx)(`code`,{children:`_max`}),`, a value below `,(0,X.jsx)(`code`,{children:`_min`}),` as `,(0,X.jsx)(`code`,{children:`_min`}),`.`]})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsx)(Z,{id:`clamped`,heading:`Values outside the range`,children:(0,X.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,X.jsx)(LT,{_label:`Value 140, maximum 100 (shows 100)`,_max:100,_value:140,_unit:`%`}),(0,X.jsx)(LT,{_label:`Value 60, range 0 to 100 (unchanged)`,_max:100,_value:60,_unit:`%`}),(0,X.jsx)(LT,{_label:`Value -20, minimum 0 (shows 0)`,_min:0,_max:100,_value:-20,_unit:`%`}),(0,X.jsx)(LT,{_label:`Value -40 °C, range -20 to 60 °C (shows -20 °C)`,_min:-20,_max:60,_value:-40,_unit:`°C`})]})})})]}),dynamic:()=>{let[e,t]=(0,w.useState)(120);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolMeter announces value changes immediately to screen readers. Use the buttons below to verify the live region updates without delay.`})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsxs)(Z,{id:`dynamic-value`,heading:`Dynamic value`,children:[(0,X.jsx)(LT,{_label:`Used hard disk space`,_max:500,_min:0,_unit:`GB`,_value:e}),(0,X.jsxs)(`div`,{className:`flex gap-4`,children:[(0,X.jsx)(K,{_label:`120 GB`,_on:{onClick:()=>t(120)},_variant:`secondary`}),(0,X.jsx)(K,{_label:`240 GB`,_on:{onClick:()=>t(240)},_variant:`secondary`}),(0,X.jsx)(K,{_label:`360 GB`,_on:{onClick:()=>t(360)},_variant:`secondary`}),(0,X.jsx)(K,{_label:`480 GB`,_on:{onClick:()=>t(480)},_variant:`secondary`})]})]})})]})},optimum:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`The _optimum prop indicates the preferred value. Combined with _low and _high, the browser uses it to determine whether the current value is in a good, acceptable or bad zone – which affects the semantic coloring.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`optimum-medium-zone-good`,heading:`Optimum in medium zone (good = medium)`,children:(0,X.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,X.jsx)(LT,{_label:`Temperature is nice`,_min:-20,_max:60,_low:10,_high:30,_optimum:20,_value:20,_unit:`°C`}),(0,X.jsx)(LT,{_label:`It's too cold`,_min:-20,_max:60,_low:10,_high:30,_optimum:20,_value:-10,_unit:`°C`}),(0,X.jsx)(LT,{_label:`It's too hot`,_min:-20,_max:60,_low:10,_high:30,_optimum:20,_value:50,_unit:`°C`})]})}),(0,X.jsx)(Z,{id:`optimum-low-zone-good-low`,heading:`Optimum in low zone (good = low)`,children:(0,X.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,X.jsx)(LT,{_label:`Memory Usage`,_max:100,_value:10,_low:25,_high:75,_optimum:10}),(0,X.jsx)(LT,{_label:`Memory Usage`,_max:100,_value:50,_low:25,_high:75,_optimum:10}),(0,X.jsx)(LT,{_label:`Memory Usage`,_max:100,_value:90,_low:25,_high:75,_optimum:10})]})}),(0,X.jsx)(Z,{id:`optimum-high-zone-good-high`,heading:`Optimum in high zone (good = high)`,children:(0,X.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,X.jsx)(LT,{_label:`Battery level`,_max:100,_value:10,_low:25,_high:75,_optimum:90}),(0,X.jsx)(LT,{_label:`Battery level`,_max:100,_value:50,_low:25,_high:75,_optimum:90}),(0,X.jsx)(LT,{_label:`Battery level`,_max:100,_value:90,_low:25,_high:75,_optimum:90})]})})]})]}),orientation:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`The _orientation prop switches the meter bar between horizontal (default) and vertical. Vertical meters grow from bottom to top and are useful for tank fill levels, signal strength or similar scalar indicators.`})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`vertical`,heading:`Vertical`,children:(0,X.jsxs)(`div`,{className:`flex flex-row gap-8 items-end`,children:[(0,X.jsx)(LT,{style:{"--kol-meter-vertical-height":`100`},_label:`Tank 100l`,_max:100,_value:50,_orientation:`vertical`,_unit:`l`}),(0,X.jsx)(LT,{style:{"--kol-meter-vertical-height":`150`},_label:`Tank 150l`,_max:150,_value:50,_orientation:`vertical`,_unit:`l`}),(0,X.jsx)(LT,{style:{"--kol-meter-vertical-height":`200`},_label:`Tank 200l`,_max:200,_value:150,_orientation:`vertical`,_unit:`l`})]})}),(0,X.jsx)(Z,{id:`vertical-ranges-optimum`,heading:`Vertical with ranges and optimum`,children:(0,X.jsxs)(`div`,{className:`flex flex-row gap-8`,children:[(0,X.jsx)(LT,{_label:`Low`,_max:100,_value:10,_low:25,_high:75,_optimum:50,_orientation:`vertical`}),(0,X.jsx)(LT,{_label:`OK`,_max:100,_value:50,_low:25,_high:75,_optimum:50,_orientation:`vertical`}),(0,X.jsx)(LT,{_label:`High`,_max:100,_value:90,_low:25,_high:75,_optimum:50,_orientation:`vertical`})]})})]})]})}},cI={modal:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(pT,{_label:`Component is DEPRECATED`,_type:`error`,_variant:`card`,className:`header-alert`,children:[`The Modal component was renamed to Dialog. Please use the Dialog sample instead.\xA0`,(0,X.jsx)(Y,{_href:`/#/dialog`,_target:`_blank`,_label:`Open Dialog samples`})]}),(0,X.jsx)(kj,{})]})}},lI=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows KolNav with a link to the current page. This makes the component automatically assign `,(0,X.jsx)(`code`,{children:`aria-current="page"`}),`to it.`]})}),(0,X.jsx)(Z,{id:`aria-current`,children:(0,X.jsx)(RT,{class:`block w-sm`,_label:`Main navigation`,_links:[{_label:`Homepage`,_href:`#/back-page`},{_label:`Nav - aria-current (Current page)`,_href:`#/nav/aria-current`,_active:!0}]})})]}),uI=[{_label:`Homepage`,_icons:`kolicon-house`,_on:{onClick:()=>console.log(`Homepage clicked`)}},{_label:`2 Navigation point`,_href:`#/back-page`,_on:{onClick:()=>console.log(`Link clicked`)}},{_label:`3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`,_children:[{_label:`3.1 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`3.2 Navigation point`,_href:`#/back-page`,_target:`asdasd`},{_label:`3.3 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.3.1 Navigation point`,_href:`#/back-page`},{_label:`3.3.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.4 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1.1 Navigation point`,_href:`#/back-page`},{_label:`3.4.1.2 Navigation point (active)`,_href:`#/back-page`}]},{_label:`3.4.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.5 Navigation point`,_href:`#/back-page`}]},{_label:`4 Navigation point with children and onClick`,_children:[{_label:`4.1 Nested link`,_href:`#/back-page`}],_on:{onClick:()=>console.log(`4.1 Nested link clicked`)}},{_label:`5 No own page, only category`,_active:!0,_children:[{_label:`5.1 Nested link`,_href:`#/back-page`}]},{_label:`6 No own page, with icon`,_icons:`kolicon-kolibri`,_children:[{_label:`6.1 Nested link`,_href:`#/back-page`}]}],dI=[{_label:`Homepage`,_icons:`kolicon-house`,_on:{onClick:()=>console.log(`Homepage clicked`)}},{_label:`2 Navigation point`,_href:`#/back-page`,_on:{onClick:()=>console.log(`Link clicked`)}},{_label:`3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`},{_label:`4 Navigation point with children and onClick`,_on:{onClick:()=>console.log(`4.1 Nested link clicked`)}},{_label:`5 No own page, only category`,_active:!0},{_label:`6 No own page, with icon`,_icons:`kolicon-kolibri`}],fI=[{_label:`Homepage`,_icons:`kolicon-house`,_on:{onClick:()=>console.log(`Homepage clicked`)}},{_label:`2 Navigation point`,_href:`#/back-page`,_on:{onClick:()=>console.log(`Link clicked`)}},{_label:`3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`,_children:[{_label:`3.1 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`3.2 Navigation point`,_target:`asdasd`},{_label:`3.3 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.3.1 Navigation point`,_href:`#/back-page`,_active:!0},{_label:`3.3.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.4 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1.1 Navigation point`,_href:`#/back-page`},{_label:`3.4.1.2 Navigation point (active)`,_href:`#/back-page`}]},{_label:`3.4.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.5 Navigation point`,_href:`#/back-page`}]}],pI={nav:{basic:()=>{let[e,t]=(0,w.useState)(!0);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolNav renders a navigation. In this sample, icons for the navigation elements can be shown or hidden using a checkbox and the navigation can be collapsed, showing only icons and no text labels.`})}),(0,X.jsxs)(`section`,{className:`grid gap-8`,children:[(0,X.jsx)(`section`,{children:(0,X.jsx)(ET,{_label:`Show icons when expanded`,_checked:e,_on:{onChange:(e,n)=>{t(n)}}})}),(0,X.jsx)(Z,{id:`navigation-submenu`,heading:`Navigation without submenu`,fitContent:!0,children:(0,X.jsx)(RT,{class:`block w-fit`,_label:`Navigation without submenu`,_links:dI,_hasCompactButton:!0,_hasIconsWhenExpanded:e})}),(0,X.jsx)(Z,{id:`navigation-submenu-2`,heading:`Navigation with submenu`,fitContent:!0,children:(0,X.jsx)(RT,{class:`block w-fit`,_label:`Navigation with submenu`,_links:uI,_hasCompactButton:!0,_hasIconsWhenExpanded:e})}),(0,X.jsx)(Z,{id:`navigation-submenu-active`,heading:`Navigation with submenu active`,fitContent:!0,children:(0,X.jsx)(RT,{class:`block w-fit`,_label:`Navigation with submenu active`,_links:fI,_hasCompactButton:!0,_hasIconsWhenExpanded:e})})]})]})},"aria-current":lI}},mI={pagination:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolPagination renders a pagination for datasets. The sample shows the different states and variations of a pagination and the option to change the page size.`})}),(0,X.jsxs)(Z,{id:`basic`,narrow:!0,children:[(0,X.jsx)(zT,{_max:316514,_page:15475,_pageSize:20,_siblingCount:3,_boundaryCount:1,_label:`Large dataset, page in the middle (Entries 309481 to 309500 of 316514)`,_on:{}}),(0,X.jsx)(zT,{_max:316514,_page:1,_pageSize:50,_siblingCount:2,_boundaryCount:1,_label:`Large dataset, first page (Entries 1 to 50 of 316514)`,_on:{}}),(0,X.jsx)(zT,{_max:316514,_page:6331,_pageSize:50,_siblingCount:2,_boundaryCount:1,_label:`Large dataset, last page (Entries 316501 to 316514 of 316514)`,_on:{}}),(0,X.jsx)(zT,{_max:14,_page:14,_pageSize:1,_siblingCount:1,_boundaryCount:2,_label:`Small dataset, last page (Entries 14 to 14 of 14)`,_on:{}}),(0,X.jsx)(zT,{_max:4,_page:1,_pageSize:4,_siblingCount:0,_boundaryCount:2,_label:`Tiny dataset, first page (Entries 1 to 4 of 4)`,_on:{}}),(0,X.jsx)(zT,{_max:10,_page:15,_pageSize:5,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:`Edge case: page exceeds max (corrected to page 2, Entries 6 to 10 of 10)`,_on:{}}),(0,X.jsx)(zT,{_max:1e3,_page:10,_pageSize:25,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:`Medium dataset with boundary buttons only (Entries 226 to 250 of 1000)`,_on:{}}),(0,X.jsx)(zT,{_max:379,_page:6,_pageSize:10,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:`With page size options`,_on:{},_pageSizeOptions:[10,25,50,100]}),(0,X.jsx)(zT,{_max:100,_page:5,_pageSize:10,_siblingCount:1,_boundaryCount:1,_label:`Page size 10, sibling count 1 (Entries 41 to 50 of 100)`,_on:{}}),(0,X.jsx)(zT,{_max:250,_page:3,_pageSize:30,_siblingCount:2,_boundaryCount:0,_label:`No boundary buttons, sibling count 2 (Entries 61 to 90 of 250)`,_on:{}})]})]}),"button-visibility":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates how to show or hide the navigation buttons (first, previous, next, last) in a pagination. All examples use the same dataset configuration (_max=100, _page=5, _pageSize=10) to show the effect of different button visibility settings.`})}),(0,X.jsxs)(Z,{id:`button-visibility`,children:[(0,X.jsx)(zT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`Default: All buttons visible (first, previous, next, last)`,_on:{}}),(0,X.jsx)(zT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`Only previous and next buttons`,_on:{},_hasButtons:{first:!1,last:!1,next:!0,previous:!0}}),(0,X.jsx)(zT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`No navigation buttons, only page numbers`,_on:{},_hasButtons:!1})]}),(0,X.jsxs)(Z,{id:`button-combinations`,skipSnapshot:!0,children:[(0,X.jsx)(zT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`Only first and last buttons`,_on:{},_hasButtons:{first:!0,last:!0,next:!1,previous:!1}}),(0,X.jsx)(zT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except first`,_on:{},_hasButtons:{first:!1,last:!0,next:!0,previous:!0}}),(0,X.jsx)(zT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except last`,_on:{},_hasButtons:{first:!0,last:!1,next:!0,previous:!0}}),(0,X.jsx)(zT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except previous`,_on:{},_hasButtons:{first:!0,last:!0,next:!0,previous:!1}}),(0,X.jsx)(zT,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except next`,_on:{},_hasButtons:{first:!0,last:!0,next:!1,previous:!0}})]})]}),"sibling-boundary":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates how _siblingCount and _boundaryCount affect the number of page buttons shown. All examples use the same dataset configuration (_max=20, _page=5, _pageSize=1) to clearly show the effect of these settings. _siblingCount controls how many page buttons appear next to the current page, while _boundaryCount controls how many buttons appear at the beginning and end of the pagination.`})}),(0,X.jsxs)(Z,{id:`sibling-boundary`,children:[(0,X.jsx)(zT,{_max:20,_page:5,_pageSize:1,_label:`Default: siblingCount=1, boundaryCount=1 (shows pages 1, 4, 5, 6, 20)`,_on:{}}),(0,X.jsx)(zT,{_max:20,_page:5,_pageSize:1,_siblingCount:2,_boundaryCount:1,_label:`siblingCount=2, boundaryCount=1 (shows pages 1, 3, 4, 5, 6, 7, 20)`,_on:{}}),(0,X.jsx)(zT,{_max:20,_page:5,_pageSize:1,_siblingCount:3,_boundaryCount:1,_label:`siblingCount=3, boundaryCount=1 (shows pages 1, 2, 3, 4, 5, 6, 7, 8, 20)`,_on:{}}),(0,X.jsx)(zT,{_max:20,_page:5,_pageSize:1,_siblingCount:0,_boundaryCount:1,_label:`siblingCount=0, boundaryCount=1 (shows pages 1, 5, 20 only)`,_on:{}}),(0,X.jsx)(zT,{_max:20,_page:5,_pageSize:1,_siblingCount:1,_boundaryCount:2,_label:`siblingCount=1, boundaryCount=2 (shows pages 1, 2, 4, 5, 6, 19, 20)`,_on:{}}),(0,X.jsx)(zT,{_max:20,_page:5,_pageSize:1,_siblingCount:1,_boundaryCount:3,_label:`siblingCount=1, boundaryCount=3 (shows pages 1, 2, 3, 4, 5, 6, 18, 19, 20)`,_on:{}}),(0,X.jsx)(zT,{_max:20,_page:5,_pageSize:1,_siblingCount:1,_boundaryCount:0,_label:`siblingCount=1, boundaryCount=0 (shows pages 4, 5, 6 only, with ellipsis)`,_on:{}}),(0,X.jsx)(zT,{_max:20,_page:5,_pageSize:1,_siblingCount:0,_boundaryCount:0,_label:`siblingCount=0, boundaryCount=0 (shows page 5 only, with ellipsis on both sides)`,_on:{}}),(0,X.jsx)(zT,{_max:20,_page:5,_pageSize:1,_siblingCount:5,_boundaryCount:2,_label:`siblingCount=5, boundaryCount=2 (shows almost all pages)`,_on:{}}),(0,X.jsx)(zT,{_max:100,_page:50,_pageSize:1,_siblingCount:3,_boundaryCount:2,_label:`Larger dataset: _max=100, _page=50, siblingCount=3, boundaryCount=2`,_on:{}})]})]})}},hI=[`top`,`right`,`bottom`,`left`],gI={"popover-button":{align:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`code`,{children:`_popoverAlign`}),` places the popover on one of the four sides of the button; the default is `,(0,X.jsx)(`code`,{children:`bottom`}),`. If there is not enough space, the popover moves to the opposite side.`]}),(0,X.jsx)(`p`,{children:`Open the buttons one after the other to compare the positions.`})]}),(0,X.jsx)(Z,{id:`popover-align`,className:`grid grid-cols-2 gap-32 p-32 justify-items-center`,skipSnapshot:!0,children:hI.map(e=>(0,X.jsx)(BT,{_label:`Popover ${e}`,_popoverAlign:e,children:(0,X.jsxs)(`p`,{className:`m-0 p-2 bg-white`,children:[`Popover placed `,(0,X.jsx)(`strong`,{children:e}),`.`]})},e))})]}),basic:()=>{let{dummyClickEventHandler:e}=vA(),t=w.useRef(null),n={onClick:e},r=[{type:`button`,_label:`Show`,_icons:`kolicon-eye`,_on:n},{type:`button`,_label:`Delete`,_icons:`kolicon-minus`,_on:n},{type:`button`,_label:`Add`,_icons:`kolicon-plus`,_on:n}];return(0,w.useEffect)(()=>{t.current&&(t.current.showPopover(),t.current.focus())},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The PopoverButton component combines a button with a popover that appears when clicked. The popover can be positioned in different directions (top, right, bottom, left) using the `,(0,X.jsx)(`code`,{children:`_popoverAlign`}),` prop.`]})}),(0,X.jsxs)(`div`,{className:`flex flex-col gap-4 items-center`,children:[(0,X.jsx)(BT,{_label:`Actions`,_variant:`primary`,_icons:{right:`kolicon-chevron-down`},ref:t,children:(0,X.jsx)(QT,{_label:`Action toolbar`,_items:r,_orientation:`vertical`})}),(0,X.jsx)(BT,{_label:`Help`,_icons:`kolicon-alert-info`,_popoverAlign:`right`,_tooltipAlign:`bottom`,_hideLabel:!0,children:(0,X.jsxs)(`div`,{className:`w-sm p-2 border border-solid border-gray bg-white`,children:[(0,X.jsx)(q,{_label:`Help Information`,_level:0}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`u`,{children:`Lorem ipsum dolor sit amet`}),`, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum! Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]})]})})]})]})},inline:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`A PopoverButton inline with some dummy text. Here the PopoverButton has the height of the surrounding text. As statet in`,(0,X.jsx)(`a`,{href:`https://www.w3.org/WAI/WCAG21/Understanding/target-size.html`,children:`Understanding SC 2.5.5`}),` target size of a help icon in text can be smaller than 44px by 44px.`]})}),(0,X.jsx)(Z,{id:`inline`,className:`flex flex-col gap-4`,children:(0,X.jsxs)(`p`,{children:[`Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium.`,(0,X.jsx)(BT,{_inline:!0,_label:`Help`,_icons:`kolicon-alert-info`,_popoverAlign:`right`,_tooltipAlign:`bottom`,_hideLabel:!0,children:(0,X.jsxs)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:[(0,X.jsx)(q,{_label:`Help Information`,_level:0}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`u`,{children:`Lorem ipsum dolor sit amet`}),`, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum! Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]})]})}),(0,X.jsx)(`br`,{}),`Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]})})]})}},_I=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolProgress renders a progress indicator. The sample shows the variants "bar" and "cycle" with and without labels.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4 grid-cols-1 sm:grid-cols-2`,children:[(0,X.jsxs)(Z,{id:`percentages`,heading:`Percentages`,className:`flex flex-col gap-4`,children:[(0,X.jsx)(VT,{_variant:`bar`,_max:7,_value:0}),(0,X.jsx)(VT,{_variant:`bar`,_max:7,_value:2}),(0,X.jsx)(VT,{_variant:`bar`,_max:7,_value:7}),(0,X.jsx)(VT,{_variant:`cycle`,_max:7,_value:6})]}),(0,X.jsxs)(Z,{id:`custom-units`,heading:`Custom units`,className:`flex flex-col gap-4`,children:[(0,X.jsx)(VT,{_label:`Distance`,_variant:`bar`,_max:65434,_value:7236,_unit:`m`}),(0,X.jsx)(VT,{_label:`12 Tasks to do`,_variant:`bar`,_max:12,_value:5,_unit:`tasks completed`}),(0,X.jsx)(VT,{_label:`Max 150 kg`,_variant:`cycle`,_max:150,_value:42,_unit:`kg`})]}),(0,X.jsxs)(Z,{id:`min-max`,heading:`Min & Max`,className:`flex flex-col gap-4`,children:[(0,X.jsx)(VT,{_label:`More than max`,_variant:`bar`,_max:7,_value:14}),(0,X.jsx)(VT,{_label:`Less than min`,_variant:`bar`,_max:7,_value:-7})]})]})]}),vI=()=>{let[e,t]=(0,w.useState)(5),[n,r]=(0,w.useState)(10);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This shows that values can be changed and that they are clamped at max value (here at 10).`})}),(0,X.jsxs)(`fieldset`,{title:`changing`,className:`flex flex-col gap-4`,children:[(0,X.jsxs)(`div`,{className:`flex gap-4`,children:[(0,X.jsx)(`button`,{onClick:()=>t(-2),children:`set -2`}),(0,X.jsx)(`button`,{onClick:()=>t(5),children:`set 5`}),(0,X.jsx)(`button`,{onClick:()=>t(13),children:`set 13`}),(0,X.jsx)(`button`,{onClick:()=>r(-1),children:`change max to -1`}),(0,X.jsx)(`button`,{onClick:()=>r(5),children:`change max to 5`}),(0,X.jsx)(`button`,{onClick:()=>r(10),children:`change max to 10`})]}),(0,X.jsx)(VT,{_label:`Showing ${e} of ${n}`,_variant:`bar`,_max:n,_value:e}),(0,X.jsx)(VT,{_variant:`cycle`,_max:n,_value:e})]})]})},yI=100,bI=5,xI=1e3,SI={progress:{basic:_I,changing:vI,dynamic:()=>{let[e,t]=(0,w.useState)(0),[n,r]=(0,w.useState)(!0),[i,a]=(0,w.useState)(!0);return(0,w.useEffect)(()=>{if(!n)return;let e=setInterval(()=>t(e=>e>=yI?0:e+bI),xI);return()=>clearInterval(e)},[n]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The value grows by `,bI,` every second and starts again at 0 after `,yI,`. Screen readers announce the current value every 5 seconds through the live region. Removing and inserting the components again checks that the announcement continues afterwards.`]})}),(0,X.jsxs)(Z,{id:`progress-dynamic`,skipSnapshot:!0,children:[(0,X.jsxs)(`div`,{className:`flex gap-4`,children:[(0,X.jsx)(K,{_label:n?`Pause`:`Resume`,_on:{onClick:()=>r(!n)}}),(0,X.jsx)(K,{_label:i?`Remove`:`Insert`,_on:{onClick:()=>a(!i)}})]}),i&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(VT,{_label:`Upload`,_variant:`bar`,_max:yI,_value:e}),(0,X.jsx)(VT,{_label:`Upload`,_variant:`cycle`,_max:yI,_value:e})]})]})]})}}},CI={quote:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolQuote renders a quote with optional citation. This sample shows a quote in the variant "inline" with a link for citation.`})}),(0,X.jsx)(Z,{id:`basic`,children:(0,X.jsx)(HT,{_href:`https://datatracker.ietf.org/doc/html/rfc1149`,_quote:`Avian carriers can provide high delay.`,_variant:`inline`})})]}),block:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows a quote in the "block" variant.`})}),(0,X.jsx)(Z,{id:`block`,children:(0,X.jsx)(HT,{_label:`RFC 1149`,_href:`https://datatracker.ietf.org/doc/html/rfc1149`,_quote:`Avian carriers can provide high delay, low throughput, and low altitude
74
+ service. The connection topology is limited to a single point-to-point path
75
+ for each carrier, used with standard carriers, but many carriers can be used
76
+ without significant interference with each other, outside early spring.
77
+ This is because of the 3D ether space available to the carriers, in contrast
78
+ to the 1D ether used by IEEE802.3. The carriers have an intrinsic collision
79
+ avoidance system, which increases availability.`,_variant:`block`})})]})}},wI=[{label:`Prof. Dr. very long value with more word so it really really breaks the layout `,value:`long`},{label:`No salutation`,value:``},{label:`Mrs.`,value:`Mrs.`},{label:`Mr.`,value:`Mr.`},{label:`Divers`,value:`Divers`}],TI=wI.map((e,t)=>t===0?{label:`Select salutation`,value:``,disabled:!0}:e),EI=vj.reduce((e,t)=>{let n=t.label.charAt(0).toUpperCase();return e[n]||(e[n]={label:n,options:[]}),e[n].options.push({label:t.label,value:t.label}),e},{}),DI=Object.values(EI),OI=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`salutation-icons`),children:(0,X.jsx)(UT,{...n,ref:r,_accessKey:`a`,_options:wI,_label:`Salutation`,_icons:{left:{icon:`kolicon-chevron-left`},right:{icon:`kolicon-chevron-right`}}})}),(0,X.jsx)(Z,{...i(`disabled`),children:(0,X.jsx)(UT,{...n,_options:wI,_label:`Disabled`,_disabled:!0})}),(0,X.jsx)(Z,{...i(`error`),children:(0,X.jsx)(UT,{...n,_options:TI,_label:`Salutation with error`,_msg:{_type:`error`,_description:aA},_touched:!0})}),(0,X.jsx)(Z,{...i(`multiple`),children:(0,X.jsx)(UT,{...n,_options:vj,_label:`Multiple choice`,_multiple:!0})}),(0,X.jsx)(Z,{...i(`multiple-error`),children:(0,X.jsx)(UT,{...n,_options:vj,_label:`Multiple choice with error`,_multiple:!0,_required:!0,_msg:{_type:`error`,_description:aA},_hint:oA,_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(UT,{...n,_options:wI,_label:`With access key`,_accessKey:`c`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(UT,{...n,_options:wI,_label:`With short key`,_shortKey:`s`})}),(0,X.jsx)(Z,{...i(`grouped`),children:(0,X.jsx)(UT,{...n,_options:DI,_label:`With grouped by first letter`,_value:`Albanien`})}),(0,X.jsx)(Z,{...i(`grouped-multiple`),children:(0,X.jsx)(UT,{...n,_options:DI,_label:`With grouped by first letter (multiple)`,_multiple:!0,_value:[`Albanien`]})})]})}),kI=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(hj,{children:[(0,X.jsx)(gj,{heading:`Text`,children:(0,X.jsx)(OI,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(gj,{heading:`Text (hideLabel)`,children:(0,X.jsx)(OI,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),AI={select:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolSelect renders a select field. The sample shows KolSelect in a form context with all variations and states.`})}),(0,X.jsx)(mj,{RefComponent:kI,showButtons:!1})]}),"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(Xj,{label:`KolSelect`,renderInput:e=>(0,X.jsx)(UT,{_label:`Select option`,_options:[{label:`Please select…`,value:``},{label:`One`,value:`one`},{label:`Two`,value:`two`}],_on:e})})]}),"multiple-dropdown":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Shows KolSelect with multiple=true and rows=1 - a select with multiselection in a dropdown.`})}),(0,X.jsx)(Xj,{label:`KolSelect`,renderInput:e=>(0,X.jsx)(UT,{_label:`Select options`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`},{label:`Three`,value:`three`},{label:`Four`,value:`four`},{label:`Five`,value:`five`},{label:`Six`,value:`six`},{label:`Seven`,value:`seven`},{label:`Eight`,value:`eight`},{label:`Nine`,value:`nine`}],_multiple:!0,_rows:1,_on:e})})]})}},jI=[{value:`1`,label:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam`},{value:`2`,label:`Lorem ipsum dolor`},{value:`3`,label:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`},{value:`4`,label:`Lorem ipsum dolor`},{value:`5`,label:`Lorem ipsum dolor`},{value:`6`,label:`Lorem ipsum dolor`},{value:`7`,label:`Lorem ipsum dolor`},{value:`8`,label:`Lorem ipsum dolor`},{value:`2`,label:`Lorem ipsum dolor`}],MI=({blockIdPrefix:e,snapshotOnly:t,...n})=>{let r=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...r(`hint`),children:(0,X.jsx)(WT,{...n,_hint:oA,_label:`Label`,_options:vj,_value:`de`})}),(0,X.jsx)(Z,{...r(`disabled`),children:(0,X.jsx)(WT,{...n,_label:`Disabled`,_options:vj,_value:`de`,_disabled:!0})}),(0,X.jsx)(Z,{...r(`error`),children:(0,X.jsx)(WT,{...n,_options:vj,_msg:{_type:`error`,_description:aA},_rows:3,_touched:!0,_label:`Label`,_placeholder:`Placeholder`,_required:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...r(`access-key`),children:(0,X.jsx)(WT,{...n,_label:`With access key`,_options:vj,_value:`de`,_accessKey:`c`})}),(0,X.jsx)(Z,{...r(`short-key`),children:(0,X.jsx)(WT,{...n,_label:`With short key`,_options:vj,_value:`de`,_shortKey:`s`})}),(0,X.jsx)(Z,{...r(`long-labels`),children:(0,X.jsx)(WT,{...n,_label:`With long labels`,_options:jI,_placeholder:`Placeholder`})}),(0,X.jsx)(Z,{...r(`no-clear-button`),children:(0,X.jsx)(WT,{...n,_label:`With hidden clear button`,_options:vj,_value:`de`,_hasClearButton:!1})}),(0,X.jsx)(Z,{...r(`boolean-values`),children:(0,X.jsx)(WT,{...n,_label:`Boolean option values (Issue #9122)`,_options:[{label:`False`,value:!1},{label:`True`,value:!0}],_value:!1})}),(0,X.jsx)(Z,{...r(`disabled-options`),children:(0,X.jsx)(WT,{...n,_hint:oA,_label:`With disabled options`,_options:[{value:`bw`,label:`Baden-Württemberg`,disabled:!0},{value:`by`,label:`Bayern`,disabled:!0},{value:`be`,label:`Berlin`},{value:`bb`,label:`Brandenburg`},{value:`hb`,label:`Bremen`},{value:`hh`,label:`Hamburg`},{value:`he`,label:`Hessen`},{value:`mv`,label:`Mecklenburg-Vorpommern`},{value:`ni`,label:`Niedersachsen`,disabled:!0},{value:`nw`,label:`Nordrhein-Westfalen`},{value:`rp`,label:`Rheinland-Pfalz`},{value:`sl`,label:`Saarland`},{value:`sn`,label:`Sachsen`},{value:`st`,label:`Sachsen-Anhalt`,disabled:!0},{value:`sh`,label:`Schleswig-Holstein`},{value:`th`,label:`Thüringen`,disabled:!0}],_value:`be`})})]})},NI=e=>(0,X.jsxs)(hj,{children:[(0,X.jsx)(gj,{heading:`Text`,children:(0,X.jsx)(MI,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(gj,{heading:`Text (hideLabel)`,children:(0,X.jsx)(MI,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,...e,_hideLabel:!0})})]}),PI=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`SingleSelect provides a select field for a single value, supported by a search field.`})}),(0,X.jsx)(mj,{RefComponent:NI,showButtons:!1})]}),FI=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(Xj,{label:`KolSingleSelect`,renderInput:e=>(0,X.jsx)(WT,{_label:`Search option`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`}],_on:e})})]}),II=({show:e})=>e?(0,X.jsx)(`div`,{className:`loading-overlay`,children:(0,X.jsx)(KT,{_label:`loading`,_show:e,_variant:`cycle`,style:{backgroundColor:`transparent`}})}):null,LI=()=>{let[e,t]=(0,w.useState)([]),[n,r]=(0,w.useState)(!1);function i(){e.length>0||(r(!0),setTimeout(()=>{t(vj),r(!1)},5e3))}return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This single select loads its list of countries 5 seconds after the first input of the user to simulate a call to the server.`})}),(0,X.jsxs)(`section`,{className:`w-full relative p-3`,children:[(0,X.jsx)(WT,{_label:`Lazy loaded countries`,_options:e,onInput:()=>i()}),(0,X.jsx)(II,{show:n})]})]})},RI=[{label:`Zero`,value:0},{label:`No`,value:!1},{label:`Empty string`,value:``},{label:`One`,value:1},{label:`Two (disabled)`,value:2,disabled:!0}],zI=[{label:2024,value:2024},{label:2025,value:2025},{label:2026,value:2026}],BI={"single-select":{basic:PI,"get-value":FI,"lazy-loaded":LI,"option-values":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The options of KolSingleSelect accept any value, also falsy ones such as `,(0,X.jsx)(`code`,{children:`0`}),`, `,(0,X.jsx)(`code`,{children:`false`}),` or an empty string; the selected option is found by its value. A number as `,(0,X.jsx)(`code`,{children:`label`}),` is shown as text. Disabled options stay visible in the list but can not be selected.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{id:`falsy-zero`,children:(0,X.jsx)(WT,{_label:`Value 0 selected`,_options:RI,_value:0})}),(0,X.jsx)(Z,{id:`falsy-false`,children:(0,X.jsx)(WT,{_label:`Value false selected`,_options:RI,_value:!1})}),(0,X.jsx)(Z,{id:`number-labels`,children:(0,X.jsx)(WT,{_label:`Number labels (year)`,_options:zI,_value:2025})})]})]})}},VI={"skip-nav":{basic:()=>{let e=(0,w.useRef)(null);return(0,w.useEffect)(()=>{e.current?.focus()},[]),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`KolSkipNav renders a list of navigation links that are visually hidden by default and only visible on focus.`}),(0,X.jsx)(`p`,{children:`For testing purposes, click into the example and press the tab-key in order to focus the first link.`})]}),(0,X.jsx)(GT,{ref:e,_label:`Hidden navigation`,_links:[{_label:`To the top`,_href:`#/back-page`},{_label:`To the form`,_href:`#/back-page`},{_label:`To the end`,_href:`#/back-page`}]})]})}}},HI={spin:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`KolSpin renders a loading indicator. It supports the variants "dot" (default) and "cycle". With`,` `,(0,X.jsx)(`code`,{children:`_variant="none"`}),` and the expert slot a custom animation can be used – custom animations are not necessarily barrier-free. Color and size can be changed with the CSS properties `,(0,X.jsx)(`code`,{children:`--kol-spin-color`}),` and `,(0,X.jsx)(`code`,{children:`--kol-spin-size`}),`. The label (`,(0,X.jsx)(`code`,{children:`_label`}),`) is only exposed to assistive technology, so it does not change the visual appearance.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsx)(Z,{id:`basic`,heading:`Variant dot (default)`,fitContent:!0,children:(0,X.jsx)(KT,{_show:!0})}),(0,X.jsx)(Z,{id:`cycle`,heading:`Variant cycle`,fitContent:!0,children:(0,X.jsx)(KT,{_show:!0,_variant:`cycle`})}),(0,X.jsx)(Z,{id:`custom`,heading:`Custom animation (expert slot)`,fitContent:!0,children:(0,X.jsx)(KT,{_show:!0,_variant:`none`,children:(0,X.jsx)(`span`,{slot:`expert`,className:`loader`})})}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(q,{_level:2,_label:`With label (screen reader only)`}),(0,X.jsx)(KT,{_show:!0,_label:`Loading data...`})]}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(q,{_level:2,_label:`Custom color and size (CSS properties)`}),(0,X.jsx)(KT,{_show:!0,style:{"--kol-spin-color":`green`,"--kol-spin-size":`80`}})]})]})]})}},UI={"split-button":{basic:()=>{let{buttonWithTextClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The `,(0,X.jsx)(`code`,{children:`SplitButton`}),` component combines a primary action button with a context menu. Clicking the main button triggers the`,(0,X.jsx)(`strong`,{children:` Edit`}),` action. The context menu opens a vertical list of additional actions:`,(0,X.jsx)(`strong`,{children:` Save`}),`, `,(0,X.jsx)(`strong`,{children:`Move`}),`, and `,(0,X.jsx)(`strong`,{children:`Delete`}),`.`]})}),(0,X.jsx)(Z,{id:`basic`,className:`flex flex-col gap-4`,children:(0,X.jsx)(qT,{_label:`Edit`,_on:t,children:(0,X.jsx)(QT,{_label:`Action toolbar`,_items:[{type:`button`,_label:`Save`,_icons:`kolicon-check`,_on:t},{type:`button`,_label:`Move Up`,_icons:`kolicon-chevron-up`,_on:t},{type:`button`,_label:`Delete`,_icons:`kolicon-minus`,_on:t}],_orientation:`vertical`})})})]})},"with-context":()=>{let e=w.useRef(null);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`SplitButton renders a button with an additional context-menu, that can be opened by clicking the arrow icon.`})}),(0,X.jsx)(`div`,{className:`flex gap-4`,children:(0,X.jsx)(qT,{ref:e,_label:`Only the arrow opens`,children:(0,X.jsxs)(`div`,{style:{width:300,padding:16,border:`1px solid #ccc`},onClick:e=>e.stopPropagation(),children:[(0,X.jsx)(`p`,{children:`SplitButton renders a button with an additional context-menu, that can be opened by clicking the arrow icon.`}),(0,X.jsxs)(`div`,{style:{gap:16,display:`flex`,flexDirection:`column`},children:[(0,X.jsx)(J,{_label:`User`}),(0,X.jsx)(J,{_label:`Role`}),(0,X.jsx)(K,{_label:`Close`,_on:{onClick:()=>{e.current?.closePopup()}}})]})]})})})]})}}},WI={horizontal:[[{key:`id`,label:`ID`,width:80},{key:`project`,label:`Project`,width:200},{key:`owner`,label:`Owner`,width:140},{type:`action`,key:`actions`,label:`Actions`,textAlign:`left`,width:250,actions:e=>{let t=e;return[{type:`button`,_label:`Details`,_icons:`kolicon-eye`,_hideLabel:!0,_on:{onClick:()=>alert(`Details: ${t.id} - ${t.project}`)}},{type:`button`,_label:`Start`,_icons:`kolicon-chevron-right`,_variant:`secondary`,_on:{onClick:()=>alert(`Start task ${t.id}`)}},{type:`link`,_label:`View`,_href:`#/back-page?taskId=${t.id}`,_target:`_blank`,_icons:`kolicon-external-link`,_hideLabel:!1}]}},{type:`action`,key:`externalActions`,label:`External Actions`,textAlign:`right`,width:280,actions:e=>[{type:`link`,_label:`View on Dashboard`,_href:`#/back-page?taskId=${e.id}`,_target:`_blank`,_icons:`kolicon-external-link`,_hideLabel:!1}]}]]},GI=[{id:`T-01`,project:`Onboarding checklist`,owner:`Alex Rivera`},{id:`T-02`,project:`Accessibility audit`,owner:`Jamie Chen`}],KI=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Simple example using the refactored action column: Actions are defined once in the column header definition using a factory function. Two rows with inline action buttons demonstrate clean separation between data and UI behavior.`})}),(0,X.jsx)(Z,{id:`action-columns`,className:`w-full`,children:(0,X.jsx)(JT,{_label:`Tasks with action buttons`,_headers:WI,_data:GI,className:`block`})})]}),qI=50,JI=[`Max`,`Erika`,`John`,`Jane`,`Peter`,`Anna`,`Michael`,`Sarah`,`Thomas`,`Lisa`,`Daniel`,`Maria`,`Christian`,`Laura`,`Stefan`,`Julia`,`Andreas`,`Sophie`,`Markus`,`Emma`],YI=[`Mustermann`,`Musterfrau`,`Doe`,`Smith`,`Schmidt`,`Müller`,`Weber`,`Meyer`,`Wagner`,`Becker`,`Fischer`,`Schneider`,`Hoffmann`,`Koch`,`Bauer`,`Richter`,`Klein`,`Wolf`,`Schröder`,`Neumann`],XI=[`active`,`inactive`,`pending`],ZI=(e=>Array.from({length:e},(e,t)=>{let n=JI[t%JI.length],r=YI[Math.floor(t/JI.length)%YI.length],i=XI[t%XI.length],a=t+1;return{id:a,name:`${n} ${r}`,email:`${n.toLowerCase()}.${r.toLowerCase()}${a>20?a:``}@example.com`,status:i}}))(qI),QI={horizontal:[[{key:`id`,label:`ID`,textAlign:`left`,width:60,compareFn:(e,t)=>e.id-t.id,sortDirection:`ASC`},{key:`name`,label:`Name`,textAlign:`left`,compareFn:(e,t)=>e.name.localeCompare(t.name,`de`),sortDirection:`ASC`,width:250},{key:`email`,label:`E-Mail`,textAlign:`left`,compareFn:(e,t)=>e.email.localeCompare(t.email,`de`),sortDirection:`ASC`,width:350},{key:`status`,label:`Status`,textAlign:`center`,width:100,compareFn:(e,t)=>e.status.localeCompare(t.status,`de`),sortDirection:`ASC`},{type:`action`,key:`actions`,label:`Aktionen`,textAlign:`center`,width:180,actions:e=>{let t=e;return[{type:`button`,_label:`Bearbeiten`,_icons:`kolicon-eye`,_hideLabel:!0,_tooltipAlign:`top`,_variant:`secondary`,_on:{onClick:()=>{console.log(`Edit clicked for:`,t),alert(`Bearbeiten: ${t.name}`)}}},{type:`button`,_label:`Löschen`,_icons:`kolicon-alert-error`,_hideLabel:!0,_tooltipAlign:`top`,_variant:`danger`,_on:{onClick:()=>{console.log(`Delete clicked for:`,t),alert(`Löschen: ${t.name}`)}}},{type:`button`,_label:`Details anzeigen`,_icons:`kolicon-alert-info`,_hideLabel:!0,_tooltipAlign:`top`,_variant:`normal`,_on:{onClick:()=>{console.log(`Details clicked for:`,t),alert(`Details: ${JSON.stringify(t,null,2)}`)}}}]}}]]},$I=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`Performance demo: `,qI,` rows with action buttons defined once in the column header using the refactored approach. The factory function generates actions for each row on demand, eliminating redundant data and improving maintainability.`]}),(0,X.jsxs)(`p`,{children:[`Actions stay type-safe with `,(0,X.jsx)(`code`,{children:`ActionColumnPropType`}),` (ButtonProps or LinkProps), and no custom render functions are needed.`]})]}),(0,X.jsx)(`section`,{className:`w-full`,children:(0,X.jsx)(JT,{_label:`Benutzerverwaltung mit Action-Spalte`,_headers:QI,_data:ZI,className:`block`})})]}),eL={horizontal:[[{key:`project`,label:`Project`,width:200},{key:`owner`,label:`Owner`,width:140},{label:`ID`,key:`id`,width:100,render:(e,t)=>{let{label:n}=t;return`Index: ${n}`}},{type:`action`,key:`actions`,label:`Actions`,width:100,actions:e=>{let t=e;return[{type:`button`,_label:`Details`,_icons:`kolicon-eye`,_hideLabel:!0,_on:{onClick:()=>alert(`Details: ${t.id} - ${t.project}`)}}]}}]]},tL=[{id:`T-01`,project:`Onboarding checklist`,owner:`Alex Rivera`,react:`test`},{id:`T-02`,project:`Accessibility audit`,owner:`Jamie Chen`,react:`test`}],nL=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Simple example using the refactored action column: Actions are defined once in the column header definition using a factory function. Two rows with inline action buttons demonstrate clean separation between data and UI behavior.`})}),(0,X.jsx)(`section`,{className:`w-full`,children:(0,X.jsx)(JT,{_label:`Tasks with action buttons`,_headers:eL,_data:tL,className:`block`,_hasSettingsMenu:!0})})]}),rL=new WeakMap,iL=new WeakMap,aL=new WeakMap,oL=new WeakMap,sL=0,cL=`
80
+ table { border-collapse: collapse; }
81
+ th, td { border: 1px solid #888; padding: 4px 12px; }
82
+ th { background: #f0f0f0; }
83
+ `,lL=`
84
+ <thead><tr><th scope="col">City</th><th scope="col">Country</th></tr></thead>
85
+ <tbody><tr><td>Berlin</td><td>Germany</td></tr></tbody>
86
+ `,uL=class extends HTMLElement{static get observedAttributes(){return[`aria-labelledby`]}connectedCallback(){this._render()}attributeChangedCallback(){this.isConnected&&this._render()}_render(){let e=this.getAttribute(`aria-labelledby`)??``;this.innerHTML=`<style>${cL}</style><table>${lL}</table>`;let t=this.querySelector(`table`);e?t.setAttribute(`aria-labelledby`,e):t.removeAttribute(`aria-labelledby`)}},dL=class extends HTMLElement{constructor(){super(),this.id||=`nit-${++sL}`;try{rL.set(this,this.attachInternals())}catch{}}connectedCallback(){this.innerHTML=`<table aria-labelledby="${this.id}">${lL}</table>`}set labelElements(e){let t=rL.get(this);if(t)try{t.ariaLabelledByElements=e}catch{}}},fL=class extends HTMLElement{constructor(){super();try{iL.set(this,this.attachInternals())}catch{}aL.set(this,this.attachShadow({mode:`open`}))}static get observedAttributes(){return[`aria-labelledby`]}connectedCallback(){let e=aL.get(this);e.innerHTML=`<style>demo-inner-table { display: block; }${cL}</style><demo-inner-table></demo-inner-table>`,oL.set(this,e.querySelector(`demo-inner-table`)),this._sync(this.getAttribute(`aria-labelledby`))}attributeChangedCallback(e,t,n){this.isConnected&&this._sync(n)}_sync(e){let t=this.getRootNode(),n=(e??``).trim().split(/\s+/).filter(Boolean).map(e=>t instanceof ShadowRoot?t.querySelector(`#${CSS.escape(e)}`):document.getElementById(e)).filter(e=>e!==null),r=iL.get(this);if(r)try{r.ariaLabelledByElements=n}catch{}let i=oL.get(this);i&&(i.labelElements=n)}};typeof customElements<`u`&&(customElements.get(`demo-table-light`)||customElements.define(`demo-table-light`,uL),customElements.get(`demo-inner-table`)||customElements.define(`demo-inner-table`,dL),customElements.get(`demo-outer-table`)||customElements.define(`demo-outer-table`,fL));var pL={_data:[{city:`Berlin`,country:`Germany`}],_headers:{horizontal:[[{key:`city`,label:`City`},{key:`country`,label:`Country`}]],vertical:[]},_label:`Label should always be filled`,_minWidth:`auto`},mL=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Demonstrates how to label a table using an external heading via `,(0,X.jsx)(`code`,{children:`_ariaLabelledby`}),`. The referenced heading lives outside the component's Shadow DOM. KoliBri resolves the element reference via `,(0,X.jsx)(`code`,{children:`ElementInternals.ariaLabelledByElements`}),`, which crosses the Shadow DOM boundary — unlike a plain `,(0,X.jsx)(`code`,{children:`aria-labelledby`}),` attribute, which is scoped to the same tree.`]})}),(0,X.jsxs)(`section`,{className:`w-full flex flex-col gap-6`,children:[(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h2`,{id:`caption-native`,children:`Native HTML (no Web Component)`}),(0,X.jsxs)(`p`,{children:[`Plain `,(0,X.jsx)(`code`,{children:`<table aria-labelledby="…">`}),`. No Shadow DOM — the IDREF resolves directly in the document tree.`]}),(0,X.jsxs)(`table`,{"aria-labelledby":`caption-native`,children:[(0,X.jsx)(`thead`,{children:(0,X.jsxs)(`tr`,{children:[(0,X.jsx)(`th`,{children:`City`}),(0,X.jsx)(`th`,{children:`Country`})]})}),(0,X.jsx)(`tbody`,{children:(0,X.jsxs)(`tr`,{children:[(0,X.jsx)(`td`,{children:`Berlin`}),(0,X.jsx)(`td`,{children:`Germany`})]})})]})]}),(0,X.jsx)(`hr`,{"aria-hidden":`true`,className:`border-0`}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h2`,{id:`caption-wc-light`,children:`Native Web Component — no Shadow DOM`}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`code`,{children:`demo-table-light`}),` renders the table into the light DOM (`,(0,X.jsx)(`code`,{children:`attachShadow`}),` not called). The table's `,(0,X.jsx)(`code`,{children:`aria-labelledby`}),` `,`IDREF resolves in the host document — no boundary to cross.`]}),w.createElement(`demo-table-light`,{"aria-labelledby":`caption-wc-light`})]}),(0,X.jsx)(`hr`,{"aria-hidden":`true`,className:`border-0`}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h2`,{id:`caption-wc-shadow`,children:`Native Web Component — with Shadow DOM`}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`code`,{children:`demo-outer-table`}),` (shadow: open) resolves the IDREF via `,(0,X.jsx)(`code`,{children:`getRootNode()`}),` and sets`,` `,(0,X.jsx)(`code`,{children:`ElementInternals.ariaLabelledByElements`}),` on itself and on the inner element. The inner `,(0,X.jsx)(`code`,{children:`<table>`}),` references the inner element via IDREF — valid because both share the same shadow tree.`]}),w.createElement(`demo-outer-table`,{"aria-labelledby":`caption-wc-shadow`})]}),(0,X.jsx)(`hr`,{"aria-hidden":`true`,className:`border-0`}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h2`,{id:`caption-stateless`,children:`kol-table-stateless`}),(0,X.jsxs)(`p`,{children:[`The `,(0,X.jsx)(`code`,{children:`<h2>`}),` above serves as the accessible label via `,(0,X.jsx)(`code`,{children:`_ariaLabelledby`}),`. No internal `,(0,X.jsx)(`code`,{children:`<caption>`}),` is rendered.`]}),(0,X.jsx)(YT,{_ariaLabelledby:`caption-stateless`,...pL,_hasSettingsMenu:!0})]}),(0,X.jsx)(`hr`,{"aria-hidden":`true`,className:`border-0`}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h2`,{id:`caption-stateful`,children:`kol-table-stateful`}),(0,X.jsxs)(`p`,{children:[`Same via the stateful wrapper — `,(0,X.jsx)(`code`,{children:`_ariaLabelledby`}),` is forwarded to the internal stateless implementation.`]}),(0,X.jsx)(JT,{_ariaLabelledby:`caption-stateful`,...pL})]})]})]}),hL=[{common_name:`African elephant`,scientific_name:`Loxodonta africana`,conservation_status:`Vulnerable`,habitat:`Savannas and forests`,diet:`Herbivore`,geographic_range:`Sub-Saharan Africa`},{common_name:`American bison`,scientific_name:`Bison bison`,conservation_status:`Near Threatened`,habitat:`Grasslands and plains`,diet:`Herbivore`,geographic_range:`North America`},{common_name:`Arctic fox`,scientific_name:`Vulpes lagopus`,conservation_status:`Least Concern`,habitat:`Tundra`,diet:`Omnivore`,geographic_range:`Arctic Circle`},{common_name:`Atlantic puffin`,scientific_name:`Fratercula arctica`,conservation_status:`Vulnerable`,habitat:`Coastal cliffs and open ocean`,diet:`Carnivore`,geographic_range:`North Atlantic Ocean`},{common_name:`Bengal tiger`,scientific_name:`Panthera tigris tigris`,conservation_status:`Endangered`,habitat:`Tropical forests and grasslands`,diet:`Carnivore`,geographic_range:`Indian subcontinent`},{common_name:`Black rhinoceros`,scientific_name:`Diceros bicornis`,conservation_status:`Critically Endangered`,habitat:`Savannas and shrublands`,diet:`Herbivore`,geographic_range:`Eastern and Southern Africa`},{common_name:`Blue whale`,scientific_name:`Balaenoptera musculus`,conservation_status:`Endangered`,habitat:`Open ocean`,diet:`Carnivore`,geographic_range:`Global oceans`},{common_name:`California condor`,scientific_name:`Gymnogyps californianus`,conservation_status:`Critically Endangered`,habitat:`Cliffs and scrublands`,diet:`Scavenger`,geographic_range:`Western United States`},{common_name:`Cheetah`,scientific_name:`Acinonyx jubatus`,conservation_status:`Vulnerable`,habitat:`Grasslands and savannas`,diet:`Carnivore`,geographic_range:`Africa and Iran`},{common_name:`Emperor penguin`,scientific_name:`Aptenodytes forsteri`,conservation_status:`Near Threatened`,habitat:`Sea ice and open ocean`,diet:`Carnivore`,geographic_range:`Antarctica`},{common_name:`Galápagos tortoise`,scientific_name:`Chelonoidis niger`,conservation_status:`Vulnerable`,habitat:`Volcanic highlands`,diet:`Herbivore`,geographic_range:`Galápagos Islands`},{common_name:`Giant anteater`,scientific_name:`Myrmecophaga tridactyla`,conservation_status:`Vulnerable`,habitat:`Grasslands and forests`,diet:`Insectivore`,geographic_range:`Central and South America`},{common_name:`Giant panda`,scientific_name:`Ailuropoda melanoleuca`,conservation_status:`Vulnerable`,habitat:`Temperate bamboo forests`,diet:`Herbivore`,geographic_range:`Central China`},{common_name:`Golden eagle`,scientific_name:`Aquila chrysaetos`,conservation_status:`Least Concern`,habitat:`Mountains and open plains`,diet:`Carnivore`,geographic_range:`Northern Hemisphere`},{common_name:`Gray wolf`,scientific_name:`Canis lupus`,conservation_status:`Least Concern`,habitat:`Forests and tundra`,diet:`Carnivore`,geographic_range:`Northern Hemisphere`},{common_name:`Great white shark`,scientific_name:`Carcharodon carcharias`,conservation_status:`Vulnerable`,habitat:`Coastal and offshore waters`,diet:`Carnivore`,geographic_range:`Global temperate seas`},{common_name:`Green sea turtle`,scientific_name:`Chelonia mydas`,conservation_status:`Endangered`,habitat:`Coastal waters and beaches`,diet:`Herbivore`,geographic_range:`Tropical and subtropical oceans`},{common_name:`Harpy eagle`,scientific_name:`Harpia harpyja`,conservation_status:`Near Threatened`,habitat:`Tropical rainforests`,diet:`Carnivore`,geographic_range:`Central and South America`},{common_name:`Humpback whale`,scientific_name:`Megaptera novaeangliae`,conservation_status:`Least Concern`,habitat:`Open ocean`,diet:`Carnivore`,geographic_range:`Global oceans`},{common_name:`Jaguar`,scientific_name:`Panthera onca`,conservation_status:`Near Threatened`,habitat:`Tropical rainforests and wetlands`,diet:`Carnivore`,geographic_range:`Central and South America`},{common_name:`Koala`,scientific_name:`Phascolarctos cinereus`,conservation_status:`Vulnerable`,habitat:`Eucalyptus woodlands`,diet:`Herbivore`,geographic_range:`Eastern Australia`},{common_name:`Monarch butterfly`,scientific_name:`Danaus plexippus`,conservation_status:`Endangered`,habitat:`Prairies and meadows`,diet:`Herbivore`,geographic_range:`North America`},{common_name:`Mountain gorilla`,scientific_name:`Gorilla beringei beringei`,conservation_status:`Endangered`,habitat:`Montane forests`,diet:`Herbivore`,geographic_range:`Central Africa`},{common_name:`Narwhal`,scientific_name:`Monodon monoceros`,conservation_status:`Near Threatened`,habitat:`Arctic waters`,diet:`Carnivore`,geographic_range:`Arctic Circle`},{common_name:`Okapi`,scientific_name:`Okapia johnstoni`,conservation_status:`Endangered`,habitat:`Rainforests`,diet:`Herbivore`,geographic_range:`Democratic Republic of the Congo`},{common_name:`Polar bear`,scientific_name:`Ursus maritimus`,conservation_status:`Vulnerable`,habitat:`Sea ice and tundra`,diet:`Carnivore`,geographic_range:`Arctic Circle`},{common_name:`Red kangaroo`,scientific_name:`Osphranter rufus`,conservation_status:`Least Concern`,habitat:`Deserts and grasslands`,diet:`Herbivore`,geographic_range:`Australia`},{common_name:`Red panda`,scientific_name:`Ailurus fulgens`,conservation_status:`Endangered`,habitat:`Temperate forests`,diet:`Omnivore`,geographic_range:`Eastern Himalayas`},{common_name:`Snow leopard`,scientific_name:`Panthera uncia`,conservation_status:`Vulnerable`,habitat:`Mountain ranges`,diet:`Carnivore`,geographic_range:`Central and South Asia`},{common_name:`Southern cassowary`,scientific_name:`Casuarius casuarius`,conservation_status:`Least Concern`,habitat:`Tropical rainforests`,diet:`Omnivore`,geographic_range:`New Guinea and northeastern Australia`},{common_name:`Tasmanian devil`,scientific_name:`Sarcophilus harrisii`,conservation_status:`Endangered`,habitat:`Forests and coastal scrub`,diet:`Carnivore`,geographic_range:`Tasmania`},{common_name:`Yellow-eyed penguin`,scientific_name:`Megadyptes antipodes`,conservation_status:`Endangered`,habitat:`Coastal forests and beaches`,diet:`Carnivore`,geographic_range:`New Zealand`}],gL=Array.from({length:200},(e,t)=>{let n=hL[t%hL.length];return{id:t+1,...n}});function _L(e){return Array.from({length:e},(e,t)=>{let n=hL[t%hL.length];return{id:t+1,...n}})}var vL={label:e=>`Selection for ${e.common_name}`,multiple:!0,keyPropertyName:`id`},yL=[{label:`ID`,key:`id`,textAlign:`right`,width:60},{label:`Common name`,key:`common_name`,textAlign:`left`,width:250},{label:`Scientific name`,key:`scientific_name`,textAlign:`left`,width:400},{label:`Conservation status`,key:`conservation_status`,textAlign:`left`,width:250},{label:`Habitat`,key:`habitat`,textAlign:`left`,width:400},{label:`Diet`,key:`diet`,textAlign:`left`,width:200},{label:`Geographic range`,key:`geographic_range`,textAlign:`left`,width:300}],bL=()=>{let[e,t]=ik(),[n,r]=(0,w.useState)(50),[i,a]=(0,w.useState)([0,0]),o=(0,w.useRef)(!1),[s,c]=(0,w.useState)(yL),l={horizontal:[s]};function u(){if(o.current)return;let n=e.get(`rows`);n?+n<5e3&&r(+n):t(e=>(e.append(`rows`,`50`),e));let i=e.get(`addCols`);if(i){if(+i<200){let e=[...yL];for(let t=0;t<+i;t++)e.push({label:`label`+t,key:`key`+t,textAlign:`left`,width:100});c(e)}}else t(e=>(e.append(`addCols`,`0`),e));let s=e.get(`fixedCols`);if(s){let e=s.split(`.`);a([+e[0],+e[1]])}else t(e=>(e.append(`fixedCols`,`0.0`),e));o.current=!0}return(0,w.useEffect)(()=>u(),[e]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`You can change what this examples shows with query parameters. Change the values as you like:`}),(0,X.jsxs)(`ul`,{children:[(0,X.jsx)(`li`,{children:`rows=400 - loads 400 rows`}),(0,X.jsx)(`li`,{children:`addCols=10 - adds 10 empty columns to the end`}),(0,X.jsx)(`li`,{children:`fixedCols=2.1 - makes the first two and the last column sticky`})]})]}),(0,X.jsx)(q,{_level:2,_label:`Configurable table`}),(0,X.jsx)(JT,{_label:`Animal species overview`,_data:_L(n),_headers:l,className:`block`,_selection:vL,_fixedCols:i})]})},xL=[{left:`Left Example`,center:`Center Example`,right:`Right Example`}],SL=()=>0,CL=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with columns headers and data in different text alignments.`})}),(0,X.jsxs)(Z,{id:`column-alignment`,className:`w-full flex flex-col`,fitContent:!0,children:[(0,X.jsx)(q,{_label:`Simple table`,_level:3}),(0,X.jsx)(JT,{_label:`Table for demonstration purposes with different text align properties`,_headers:{horizontal:[[{label:`left`,key:`left`,textAlign:`left`,width:160},{label:`center`,key:`center`,textAlign:`center`,width:160},{label:`right`,key:`right`,textAlign:`right`,width:160}]]},_data:xL,className:`block`,style:{maxWidth:`600px`}}),(0,X.jsx)(q,{_label:`Table with sortable columns`,_level:3,className:`block mt-6`}),(0,X.jsx)(JT,{_label:`Table for demonstration purposes with sortable columns`,_headers:{horizontal:[[{label:`left`,key:`left`,textAlign:`left`,compareFn:SL,width:160},{label:`center`,key:`center`,textAlign:`center`,compareFn:SL,width:160},{label:`right`,key:`right`,textAlign:`right`,compareFn:SL,width:160}]]},_data:xL,className:`block`,style:{maxWidth:`600px`}}),(0,X.jsx)(q,{_label:`Table some sortable columns`,_level:3,className:`block mt-6`}),(0,X.jsx)(JT,{_label:`Table for demonstration purposes with some but not all columns sortable`,_headers:{horizontal:[[{label:`left`,key:`left`,textAlign:`left`,compareFn:SL,width:160},{label:`center`,key:`center`,textAlign:`center`,compareFn:SL,width:160},{label:`right`,key:`right`,textAlign:`right`,width:160}]]},_data:xL,className:`block`,style:{maxWidth:`600px`}}),(0,X.jsx)(q,{_label:`Table with vertical heading`,_level:3,className:`block mt-6`}),(0,X.jsx)(JT,{_label:`Table for demonstration purposes with vertical heading`,_headers:{horizontal:[[{label:`left`,key:`left`,textAlign:`left`,width:160},{label:`center`,key:`center`,textAlign:`center`,width:160},{label:`right`,key:`right`,textAlign:`right`,width:160}]],vertical:[[{label:`Vertical`,width:160}]]},_data:xL,className:`block`,style:{maxWidth:`600px`}})]})]}),wL=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful using vertical and horizontal headers, applying colspan and rowspan.`})}),(0,X.jsx)(Z,{id:`complex-headers`,className:`w-full flex flex-col`,children:(0,X.jsx)(JT,{_label:`Business hours`,_data:[{asp:`Center`,monday:`08:00`,tuesday:`08:00`,wednesday:`10:00`,thursday:`11:00`,friday:`08:00`,saturday:`09:00`,sunday:`10:00`},{asp:`Tiergarten`,monday:`08:00`,tuesday:`08:00`,wednesday:`10:00`,thursday:`11:00`,friday:`08:00`,saturday:`09:00`,sunday:`10:00`},{asp:`Maxvorstadt`,monday:`08:00`,tuesday:`08:00`,wednesday:`10:00`,thursday:`11:00`,friday:`08:00`,saturday:`09:00`,sunday:`10:00`}],_headers:{vertical:[[{label:`Berlin`,rowSpan:2,width:100},{label:`München`,width:100}]],horizontal:[[{label:`District`,rowSpan:2,key:`asp`,width:120,textAlign:`center`},{label:`Workdays`,colSpan:5,width:580,textAlign:`center`},{label:`Weekend`,colSpan:2,width:200,textAlign:`center`}],[{label:`Monday`,key:`monday`,width:50,textAlign:`center`},{label:`Tuesday`,key:`tuesday`,width:50,textAlign:`center`},{label:`Wednesday`,key:`wednesday`,width:50,textAlign:`center`},{label:`Thursday`,key:`thursday`,width:50,textAlign:`center`},{label:`Friday`,key:`friday`,width:50,textAlign:`center`},{label:`Saturday`,key:`saturday`,width:50,textAlign:`center`},{label:`Sunday`,key:`sunday`,width:50,textAlign:`center`}]]}})})]}),TL=22,EL=[{city:`Reykjavík`,temperature:6},{city:`Berlin`,temperature:21},{city:`Palma de Mallorca`,temperature:29},{city:`Cairo`,temperature:35},{city:`Helsinki`,temperature:14}],DL={horizontal:[[{label:`City`,key:`city`,width:160},{label:`Temperature (°C)`,key:`temperature`,textAlign:`right`,width:160,compareFn:(e,t,n=`ASC`)=>{let r=e.temperature,i=t.temperature,a=Math.abs(r-TL),o=Math.abs(i-TL);return a===o?n===`DESC`?i-r:r-i:n===`DESC`?o-a:a-o},render:(e,t,n)=>{let r=Math.abs(n.temperature-TL);return`${n.temperature} °C (Δ ${r} °C)`}}]]},OL=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample demonstrates how `,(0,X.jsx)(`code`,{children:`compareFn`}),` receives the current `,(0,X.jsx)(`code`,{children:`sortDirection`}),`. Ascending sorts show cities that are closest to 22\xA0°C first, descending sorts highlight the most extreme temperatures.`]})}),(0,X.jsx)(`section`,{className:`w-full`,children:(0,X.jsx)(JT,{_label:`Direction aware compare function`,_data:EL,_headers:DL,className:`block`})})]}),kL={horizontal:[[{label:`ID`,key:`id`,textAlign:`right`,width:160,sortDirection:`NOS`},{label:`Common name`,key:`common_name`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Scientific name`,key:`scientific_name`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Conservation status`,key:`conservation_status`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Habitat`,key:`habitat`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Diet`,key:`diet`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Geographic range`,key:`geographic_range`,textAlign:`left`,width:160,sortDirection:`NOS`}]]},AL=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows an empty KolTableStateful.`})}),(0,X.jsx)(JT,{_label:`Table for demonstration purposes`,_headers:kL,_data:[]})]}),jL=10,ML=[`Max`,`Erika`,`John`,`Jane`,`Peter`,`Anna`,`Michael`,`Sarah`,`Thomas`,`Lisa`,`Daniel`,`Maria`,`Christian`,`Laura`,`Stefan`,`Julia`,`Andreas`,`Sophie`,`Markus`,`Emma`],NL=[`Mustermann`,`Musterfrau`,`Doe`,`Smith`,`Schmidt`,`Müller`,`Weber`,`Meyer`,`Wagner`,`Becker`,`Fischer`,`Schneider`,`Hoffmann`,`Koch`,`Bauer`,`Richter`,`Klein`,`Wolf`,`Schröder`,`Neumann`],PL=[`active`,`inactive`,`pending`],FL=(e=>Array.from({length:e},(e,t)=>{let n=ML[t%ML.length],r=NL[Math.floor(t/ML.length)%NL.length],i=PL[t%PL.length],a=t+1;return{id:a,name:`${n} ${r}`,email:`${n.toLowerCase()}.${r.toLowerCase()}${a>20?a:``}@example.com`,status:i}}))(jL),IL=()=>{let[e,t]=w.useState(2),n=w.useMemo(()=>{let t=t=>(n,r)=>{let i=r.data;if(i.id===e+1){n.textContent=``;let e=document.createElement(`strong`);e.textContent=String(i[t]),n.appendChild(e)}else n.textContent=String(i[t])},n=e=>(t,n)=>{let r=t[e],i=n[e];return typeof r==`number`&&typeof i==`number`?r-i:typeof r==`string`&&typeof i==`string`?r.localeCompare(i,`de`):0};return{horizontal:[[{key:`id`,label:`ID`,textAlign:`left`,width:60,compareFn:n(`id`),render:t(`id`),sortDirection:`ASC`},{key:`name`,label:`Name`,textAlign:`left`,compareFn:n(`name`),render:t(`name`),sortDirection:`ASC`},{key:`email`,label:`E-Mail`,textAlign:`left`,compareFn:n(`email`),render:t(`email`),sortDirection:`ASC`},{key:`status`,label:`Status`,textAlign:`center`,width:100,compareFn:n(`status`),render:t(`status`),sortDirection:`ASC`}]]}},[e]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`This sample demonstrates how to programmatically highlight a specific row in a table. You can change the highlighted row by using the input field above the table.`}),(0,X.jsxs)(`p`,{children:[`The highlighting is achieved by using a custom `,(0,X.jsx)(`code`,{children:`render`}),` function for each column, which checks if the current row's ID matches the selected highlight index and applies bold styling.`]})]}),(0,X.jsxs)(`section`,{className:`flex flex-col gap-4`,children:[(0,X.jsx)(jT,{className:`self-start`,_label:`Highlight Row Index`,_value:e,_on:{onInput:(e,n)=>t(Number(n))},_min:0,_max:9}),(0,X.jsx)(JT,{_label:`Benutzerverwaltung mit Hervorhebung`,_headers:n,_data:FL,className:`block`})]})]})},LL=Intl.DateTimeFormat(`de-DE`,{day:`2-digit`,month:`2-digit`,year:`numeric`}),RL=[{order:0,date:new Date(`1981-05-26T21:33:43.612Z`)},{order:1,date:new Date(`1971-04-25T19:44:17.014Z`)},{order:2,date:new Date(`1986-07-10T11:39:29.539Z`)},{order:3,date:new Date(`1976-02-02T10:00:36.346Z`)},{order:4,date:new Date(`1998-07-07T12:50:36.016Z`)},{order:5,date:new Date(`1994-09-05T05:10:44.078Z`)},{order:6,date:new Date(`1986-05-23T13:05:01.874Z`)},{order:7,date:new Date(`1975-06-29T21:51:29.359Z`)},{order:8,date:new Date(`1974-05-15T23:47:02.499Z`)},{order:9,date:new Date(`1990-05-27T10:13:19.641Z`)},{order:10,date:new Date(`1993-10-20T03:54:08.739Z`)},{order:11,date:new Date(`2000-02-25T11:55:43.705Z`)},{order:12,date:new Date(`1988-08-27T09:59:12.251Z`)},{order:13,date:new Date(`1980-10-24T10:41:24.897Z`)},{order:14,date:new Date(`1995-01-25T12:31:27.983Z`)},{order:15,date:new Date(`1995-04-15T02:00:39.048Z`)},{order:16,date:new Date(`1994-03-15T19:13:04.564Z`)},{order:17,date:new Date(`1999-03-02T16:53:04.418Z`)},{order:18,date:new Date(`1982-08-23T18:37:38.014Z`)},{order:19,date:new Date(`1995-06-19T12:39:56.321Z`)},{order:20,date:new Date(`1994-09-23T15:03:35.746Z`)},{order:21,date:new Date(`1990-04-15T23:38:02.147Z`)},{order:22,date:new Date(`1983-08-01T10:36:44.006Z`)},{order:23,date:new Date(`1986-06-28T21:27:04.588Z`)},{order:24,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:25,date:new Date(`1998-07-14T15:52:29.010Z`)},{order:26,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:27,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:28,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:29,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:30,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:31,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:32,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:33,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:34,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:35,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:36,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:37,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:38,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:39,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:40,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:41,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:42,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:43,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:44,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:45,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:46,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:47,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:48,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:49,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:50,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:51,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:52,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:53,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:54,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:55,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:56,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:57,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:58,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:59,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:60,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:61,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:62,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:63,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:64,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:65,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:66,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:67,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:68,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:69,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:70,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:71,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:72,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:73,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:74,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:75,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:76,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:77,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:78,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:79,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:80,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:81,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:82,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:83,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:84,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:85,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:86,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:87,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:88,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:89,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:90,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:91,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:92,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:93,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:94,date:new Date(`1995-12-15T23:12:14.411Z`)},{order:95,date:new Date(`1986-08-14T19:34:40.904Z`)},{order:96,date:new Date(`1985-02-15T18:56:32.344Z`)},{order:97,date:new Date(`1989-09-06T10:49:30.896Z`)},{order:98,date:new Date(`1994-09-05T14:21:37.211Z`)},{order:99,date:new Date(`1995-12-15T23:12:14.411Z`)}],zL=[{small:`Small Example`,large:`Larger Example`}],BL={horizontal:[[{label:`Small Column`,key:`small`,textAlign:`left`,width:200},{label:`Large Column`,key:`large`,textAlign:`left`,width:300},{label:`Larger Column`,key:`large`,textAlign:`left`,width:400},{label:`Larger Column`,key:`large`,textAlign:`left`,width:400}]]},VL={horizontal:[[{label:`Small Column`,key:`small`,textAlign:`left`,width:160},{label:`Large Column`,key:`large`,textAlign:`left`,width:160},{label:`Larger Column`,key:`large`,textAlign:`left`,width:160}]]},HL={horizontal:[[{label:`Order`,key:`order`,width:160},{label:`Date`,key:`date`,width:160,compareFn:()=>0,render:(e,t,n)=>LL.format(n.date)}]]},UL=()=>{let[e,t]=(0,w.useState)(!0);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with and without horizontal scrollbars. When a scrollbar is present, it should be possible to focus the table container and to scroll it using arrow keys.`})}),(0,X.jsxs)(`div`,{className:`w-[400px] flex flex-col gap-4`,children:[(0,X.jsx)(Z,{id:`scrollbar-horizontal`,className:`w-full flex flex-col gap-4`,children:(0,X.jsx)(JT,{_label:`Table for demonstration purposes with horizontal scrollbar.`,_headers:e?BL:VL,_data:zL,className:`block`})}),(0,X.jsx)(JT,{_label:`Table for demonstration horizontal scrolling with pagination.`,_headers:HL,_data:RL,_pagination:!0}),(0,X.jsx)(Z,{id:`scrollbar-horizontal-empty`,className:`w-full flex flex-col gap-4`,children:(0,X.jsx)(JT,{_label:`Table for demonstration purposes with horizontal scrollbar with auto width calculation.`,_headers:e?BL:VL,_data:[],className:`block`})})]}),(0,X.jsx)(ET,{_checked:e,_label:`Toggle width restriction`,_variant:`switch`,_on:{onChange:(e,n)=>{t(!!n)}}}),(0,X.jsx)(q,{_label:`Same table without scrollbar`,_level:2,className:`block mt-4`}),(0,X.jsx)(`p`,{className:`mt-0`,children:(0,X.jsx)(`i`,{children:`Scrollbar appears on very small viewport sizes`})}),(0,X.jsx)(Z,{id:`scrollbar-horizontal-large`,className:`w-full flex flex-col gap-4`,skipSnapshot:!0,children:(0,X.jsx)(JT,{_label:`Table for demonstration purposes without horizontal scrollbar`,_headers:BL,_data:zL,className:`block`,_pagination:!0})})]})};function WL(e){let{dummyClickEventHandler:t}=vA(),n={onClick:t};return(0,X.jsx)(K,{...e,_on:n})}var GL=e=>{let t=`${e}`,n=t.charAt(0).toUpperCase()+t.slice(1);return{label:n,key:t,textAlign:`left`,width:160,render:(t,r)=>{let{label:i}=r,a={_label:n,_variant:e,_icons:{right:`kolicon-kolibri`}};Ij(nE(t)).render(i===`button`?(0,X.jsx)(WL,{...a}):(0,X.jsx)(IT,{_href:`#/back-page`,...a}))}}},KL=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows a KolTableStateless with different interactive child elements. It can be used to assure themes show these child elements correctly.`})}),(0,X.jsxs)(`section`,{className:`w-full flex flex-col`,children:[(0,X.jsx)(YT,{_label:`Button styles`,_headers:{horizontal:[[GL(`primary`),GL(`secondary`),GL(`normal`),GL(`danger`),GL(`ghost`)]],vertical:[[{label:`Button`,width:120},{label:`Link-Button`,width:120}]]},_data:[{primary:`button`,secondary:`button`,normal:`button`,danger:`button`,ghost:`button`},{primary:`link-button`,secondary:`link-button`,normal:`link-button`,danger:`link-button`,ghost:`link-button`}],className:`block`}),(0,X.jsx)(YT,{_label:`Link styles`,_headers:{horizontal:[[{key:`regular`,label:`Regular`,textAlign:`left`,width:180,render:(e,t)=>{let{label:n}=t,r={_label:n,_icons:{right:`kolicon-kolibri`}};Ij(nE(e)).render(n===`button-link`?(0,X.jsx)(_T,{...r}):(0,X.jsx)(Y,{_href:`#/back-page`,...r}))}}]],vertical:[[{label:`Link`,width:140},{label:`Button-Link`,width:140}]]},_data:[{regular:`link`},{regular:`button-link`}],className:`block mt`})]})]}),qL=Intl.DateTimeFormat(`de-DE`,{day:`2-digit`,month:`2-digit`,year:`numeric`}),JL=[`Devon Chen`,`Fatima Alvi`,`Leon Köhler`,`Mila Schmidt`,`Sven Lindholm`],YL=[`Customer Service`,`Digital Services`,`Infrastructure`,`Municipal Office`],XL=[`High`,`Medium`,`Low`],ZL=[`Blocked`,`In progress`,`Ready`],QL=XL.reduce((e,t,n)=>(e[t]=n,e),{}),$L=ZL.reduce((e,t,n)=>(e[t]=n,e),{}),eR=Array.from({length:15}).map((e,t)=>({date:new Date(Date.now()-t*1e3*60*60*24),assignee:JL[t%JL.length],department:YL[t%YL.length],priority:XL[t%XL.length],status:ZL[t%ZL.length],openTickets:t*3%11})),tR=[{label:`Assignee`,key:`assignee`,compareFn:(e,t)=>e.assignee.localeCompare(t.assignee,`de`),sortDirection:`ASC`,width:200},{label:`Department`,key:`department`,compareFn:(e,t)=>e.department.localeCompare(t.department,`de`),width:200},{label:`Priority`,key:`priority`,textAlign:`center`,compareFn:(e,t)=>QL[e.priority]-QL[t.priority],sortDirection:`DESC`,width:150},{label:`Status`,key:`status`,textAlign:`center`,compareFn:(e,t)=>$L[e.status]-$L[t.status],width:150},{label:`Open tickets`,key:`openTickets`,textAlign:`right`,compareFn:(e,t)=>e.openTickets-t.openTickets,width:100},{label:`Last updated`,key:`date`,textAlign:`center`,render:(e,t,n)=>qL.format(n.date),compareFn:(e,t)=>e.date<t.date?-1:+(t.date<e.date),width:150}],nR={horizontal:[tR]},rR={vertical:[tR]},iR=()=>{let[e,t]=(0,w.useState)(rR),[n,r]=(0,w.useState)(nR);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Multi-sort allows layering multiple column sorts at once. Compare the compact examples with the project backlog showcase to see how the sort order indicator helps track complex prioritisation.`})}),(0,X.jsxs)(`section`,{className:`w-full grid gap-6`,children:[(0,X.jsxs)(Z,{id:`vertical`,heading:`Vertical`,children:[(0,X.jsx)(_T,{_label:`Reset Table`,_on:{onClick:()=>t({vertical:[[...tR]]})}}),(0,X.jsx)(JT,{_label:`Sort Table with Order and Date`,_data:eR.slice(0,10),_headers:e,className:`block`,_allowMultiSort:!0,_on:{onSortChange:(e,t)=>console.log(`sort changed`,t)}})]}),(0,X.jsxs)(Z,{id:`horizontal`,heading:`Horizontal`,children:[(0,X.jsx)(_T,{_label:`Reset Table`,_on:{onClick:()=>r({horizontal:[[...tR]]})}}),(0,X.jsx)(JT,{_label:`Sort Table with Order and Date`,_data:eR,_headers:n,className:`block`,_allowMultiSort:!0})]})]})]})},aR=[{id:`1001`,name:`John`,age:30},{id:`1002`,name:`Jane`,age:25}],oR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example demonstrates a column that cannot be hidden in the settings.`})}),(0,X.jsx)(Z,{id:`non-hidable`,fitContent:!0,children:(0,X.jsx)(JT,{_label:`Table with a non-hidable column`,_hasSettingsMenu:!0,_headers:{horizontal:[[{key:`id`,label:`ID`,hidable:!1,width:160},{key:`name`,label:`Name`,width:160},{key:`age`,label:`Age`,width:160}]]},_data:aR,className:`block`,style:{maxWidth:`600px`}})})]}),sR={horizontal:[[{label:`Order`,key:`order`,width:160},{label:`Date`,key:`date`,width:160,render:(e,t,n)=>LL.format(n.date)}]]},cR=()=>(0,X.jsxs)(`div`,{className:`w-full grid gap-14`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with different pagination positions. All paginations hide the first and last buttons.`})}),(0,X.jsxs)(`section`,{className:`w-full flex flex-col gap-14`,children:[(0,X.jsx)(Z,{id:`bottom`,heading:`Table with pagination at the bottom.`,children:(0,X.jsx)(JT,{_label:`Sample table with pagination at the bottom`,_data:RL,_headers:sR,_pagination:{_page:1,_hasButtons:{first:!1,next:!0,last:!1,previous:!0}},_paginationPosition:`bottom`,_variant:`small`})}),(0,X.jsx)(Z,{id:`top`,heading:`Table with pagination at the top.`,children:(0,X.jsx)(JT,{_label:`Sample table with pagination at the top`,_data:RL,_headers:sR,_pagination:{_page:2,_hasButtons:{first:!0,next:!1,last:!0,previous:!1}},_paginationPosition:`top`})}),(0,X.jsx)(Z,{id:`both`,heading:`Table with pagination at both top and bottom.`,children:(0,X.jsx)(JT,{_label:`Sample table with pagination at both top and bottom`,_data:RL,_headers:sR,_pagination:{_page:3,_hasButtons:{first:!1,next:!1,last:!1,previous:!1}},_paginationPosition:`both`})})]})]}),lR=[{columnA:`Column A`,columnB:`Column B`,columnC:`Column C`}],uR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example shows the table with predefined settings.`})}),(0,X.jsx)(JT,{_label:`Table for demonstration purposes with predefined settings`,_hasSettingsMenu:!0,_headers:{horizontal:[[{key:`columnC`,visible:!0,label:`Column C`,width:450},{key:`columnB`,visible:!0,label:`Column B`,width:200},{key:`columnA`,visible:!1,label:`Column A`,width:160}]]},_data:lR,className:`block`})]});function dR(e){let t=[],n=new Date(`1970-01-01`).getTime(),r=new Date(`2025-12-31`).getTime();for(let i=0;i<e;i++){let e=n+Math.random()*(r-n);t.push({order:i,shipped:Math.random()>.5,date:new Date(e)})}return t}var fR=dR(100);function pR({label:e,icons:t}){let{dummyClickEventHandler:n}=vA();return(0,X.jsx)(K,{_label:e,_icons:t,_on:{onClick:n}})}var mR={horizontal:[[{label:`#`,key:`order`,textAlign:`center`,width:100,render:(e,t)=>{let{label:n}=t;return`Index: ${n}`}},{label:`Status`,key:`shipped`,textAlign:`center`,width:100,render:(e,t)=>{let{label:n}=t,r=e;r.textContent=n?`Order has been dispatched 🚚`:`Order pending 📦`}},{label:`Date (string)`,key:`date`,width:150,textAlign:`center`,render:(e,t)=>{let{label:n}=t;e.innerHTML=`<strong>${LL.format(n)}</strong>`},compareFn:(e,t)=>e.date.getTime()-t.date.getTime()},{label:`Action (react)`,key:`action`,width:250,render:e=>{Ij(nE(e)).render((0,X.jsxs)(`div`,{style:{display:`grid`,gridAutoFlow:`column`,alignItems:`end`,gap:`4px`,width:`190px`},children:[(0,X.jsx)(J,{_label:`Input`}),(0,X.jsx)(pR,{label:`Save`,icons:{left:`kolicon-check`}})]}))}}]]},hR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful using React render functions for the cell contents.`})}),(0,X.jsx)(JT,{_label:`Sort by date column`,_data:fR,_headers:mR,className:`w-full`,_hasSettingsMenu:!0})]}),gR=[{id:`U-001`,name:`Andrea Schmidt`,team:`Design`,email:`andrea@example.org`,status:`Active`},{id:`U-002`,name:`Boris Klein`,team:`Engineering`,email:`boris@example.org`,status:`Active`},{id:`U-003`,name:`Chiara Russo`,team:`Support`,email:`chiara@example.org`,status:`On leave`}],_R=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This example demonstrates how the table settings respect column metadata. Some columns can be hidden, reordered, or resized, while others stay locked based on their `,(0,X.jsx)(`code`,{children:`hidable`}),`, `,(0,X.jsx)(`code`,{children:`sortable`}),`, and `,(0,X.jsx)(`code`,{children:`resizable`}),` flags.`]})}),(0,X.jsx)(JT,{_label:`Table with column option restrictions`,_hasSettingsMenu:!0,_headers:{horizontal:[[{key:`id`,label:`ID`,hidable:!1,sortable:!1,visible:!0,width:240},{key:`name`,label:`Name`,visible:!0,width:480},{key:`team`,label:`Team`,sortable:!1,visible:!0,width:320},{key:`email`,label:`E-Mail`,resizable:!1,visible:!0,width:400},{key:`status`,label:`Status`,hidable:!1,resizable:!1,visible:!0,width:160}]]},_data:gR,className:`block`,style:{maxWidth:`720px`}})]}),vR=Intl.DateTimeFormat(`de-DE`,{day:`2-digit`,month:`2-digit`,year:`numeric`}),yR=(e=`ASC`)=>(t,n)=>{let r=t.date.getTime()-n.date.getTime();return e===`DESC`?-r:r},bR={horizontal:[[{label:`order`,key:`order`,textAlign:`center`,width:160},{label:`date`,key:`date`,textAlign:`center`,width:160,render:(e,t,n)=>vR.format(n.date),compareFn:(e,t,n)=>yR(n)(e,t)}]]},xR={vertical:[[{label:`order`,key:`order`,textAlign:`center`,width:160},{label:`date`,key:`date`,textAlign:`center`,width:160,render:(e,t,n)=>vR.format(n.date),compareFn:(e,t,n)=>yR(n)(e,t)}]]},SR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with sortable columns. The sort-order can be changed by clicking the "date" header column.`})}),(0,X.jsxs)(`section`,{className:`w-full grid gap-4`,children:[(0,X.jsx)(Z,{id:`vertical-headers`,heading:`Vertical headers`,children:(0,X.jsx)(JT,{_label:`Sort a date column`,_data:RL.slice(0,10),_headers:xR,className:`block`})}),(0,X.jsx)(Z,{id:`horizontal-headers`,heading:`Horizontal headers`,children:(0,X.jsx)(JT,{_label:`Sort a date column`,_data:RL,_headers:bR,className:`block`})})]})]}),CR={horizontal:[[{key:`id`,label:`ID`,width:80},{key:`project`,label:`Project`},{key:`owner`,label:`Owner`,width:140},{type:`state`,key:`userStates`,label:`States`,textAlign:`left`,width:500}]]},wR=[{id:`T-01`,project:`Onboarding checklist`,owner:`Alex Rivera`,userStates:[{type:`badge`,_label:`Logged out`,_color:`#aa0000`},{type:`badge`,_label:`In Project`,_color:`#0000aa`}]},{id:`T-02`,project:`Accessibility audit`,owner:`Jamie Chen`,userStates:[{type:`badge`,_label:`Logged in`,_color:`#00aa00`},{type:`badge`,_label:`In Project`,_color:`#0000aa`}]}],TR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Simple example using the state column: States are defined once in the column header definition using a factory function.`})}),(0,X.jsx)(Z,{id:`action-columns`,className:`w-full`,children:(0,X.jsx)(JT,{_label:`Tasks with action buttons`,_headers:CR,_data:wR,className:`block`})})]}),ER={horizontal:[[{label:`ID`,key:`id`,textAlign:`right`,width:160,sortDirection:`NOS`},{label:`Common name`,key:`common_name`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Scientific name`,key:`scientific_name`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Conservation status`,key:`conservation_status`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Habitat`,key:`habitat`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Diet`,key:`diet`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Geographic range`,key:`geographic_range`,textAlign:`left`,width:160,sortDirection:`NOS`}]]},DR=()=>{let e=()=>new Promise(e=>setTimeout(()=>e({COMPLEX_DATA:gL}),5e4)),t=()=>{a(!0),e().then(e=>{r(e.COMPLEX_DATA.slice(0,15)),a(!1)})},[n,r]=(0,w.useState)([]),[i,a]=(0,w.useState)(!0);return(0,w.useEffect)(()=>t(),[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows how KolTableStateful can load data async.`})}),(0,X.jsx)(`section`,{className:`w-full relative`,children:(0,X.jsx)(JT,{_label:`Table for demonstration purposes`,_loading:i,_headers:ER,_data:n})})]})},OR=x(y(((e,t,n)=>{((n,r)=>{typeof define==`function`&&define.amd?define([],r):typeof t==`object`&&e!==void 0?t.exports=r():n.Papa=r()})(n,function e(){var t=typeof self<`u`?self:typeof window<`u`?window:t===void 0?{}:t,n=!t.document&&!!t.postMessage,r=t.IS_PAPA_WORKER||!1,i={},a=0,o={};function s(e){return e.charCodeAt(0)===65279?e.slice(1):e}function c(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine=``,this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=y(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new p(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,n){var i=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<i){let t=this._config.newline;t||=(a=this._config.quoteChar||`"`,this._handle.guessLineEndings(e,a)),e=[...e.split(t).slice(i)].join(t)}this.isFirstChunk&&x(this._config.beforeFirstChunk)&&(a=this._config.beforeFirstChunk(e))!==void 0&&(e=a),this.isFirstChunk=!1,this._halted=!1;var i=this._partialLine+e,a=(this._partialLine=``,this._handle.parse(i,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=a.meta.cursor,i=(this._finished||(this._partialLine=i.substring(e-this._baseIndex),this._baseIndex=e),a&&a.data&&(this._rowCount+=a.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),r)t.postMessage({results:a,workerId:o.WORKER_ID,finished:i});else if(x(this._config.chunk)&&!n){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=a=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!i||!x(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),i||a&&a.meta.paused||this._nextChunk(),a}this._halted=!0},this._sendError=function(e){x(this._config.error)?this._config.error(e):r&&this._config.error&&t.postMessage({workerId:o.WORKER_ID,error:e,finished:!1})}}function l(e){var t;(e||={}).chunkSize||(e.chunkSize=o.RemoteChunkSize),c.call(this,e),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),n||(t.onload=b(this._chunkLoaded,this),t.onerror=b(this._chunkError,this)),t.ontimeout=b(this._chunkTimeout,this),t.open(this._config.downloadRequestBody?`POST`:`GET`,this._input,!n),this._config.downloadTimeout&&!n&&(t.timeout=this._config.downloadTimeout),this._config.downloadRequestHeaders){var e,r=this._config.downloadRequestHeaders;for(e in r)t.setRequestHeader(e,r[e])}var i;this._config.chunkSize&&(i=this._start+this._config.chunkSize-1,t.setRequestHeader(`Range`,`bytes=`+this._start+`-`+i));try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}n&&t.status===0&&this._chunkError()}},this._chunkLoaded=function(){t.readyState===4&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(e=>(e=e.getResponseHeader(`Content-Range`))===null?-1:parseInt(e.substring(e.lastIndexOf(`/`)+1)))(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e,this._sendError(Error(e))},this._chunkTimeout=function(){this._chunkError(`Request timed out after `+this._config.downloadTimeout+`ms`)}}function u(e){(e||={}).chunkSize||(e.chunkSize=o.LocalChunkSize),c.call(this,e);var t,n,r=typeof FileReader<`u`;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,r?((t=new FileReader).onload=b(this._chunkLoaded,this),t.onerror=b(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,i=(this._config.chunkSize&&(i=Math.min(this._start+this._config.chunkSize,this._input.size),e=n.call(e,this._start,i)),t.readAsText(e,this._config.encoding));r||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;c.call(this,e||={}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){var e,n;if(!this._finished)return e=this._config.chunkSize,t=e?(n=t.substring(0,e),t.substring(e)):(n=t,``),this._finished=!t,this.parseChunk(n)}}function f(e){c.call(this,e||={});var t=[],n=!0,r=!1;this.pause=function(){c.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){c.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on(`data`,this._streamData),this._input.on(`end`,this._streamEnd),this._input.on(`error`,this._streamError)},this._checkIsFinished=function(){r&&t.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=b(function(e){try{t.push(typeof e==`string`?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=b(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=b(function(){this._streamCleanUp(),r=!0,this._streamData(``)},this),this._streamCleanUp=b(function(){this._input.removeListener(`data`,this._streamData),this._input.removeListener(`end`,this._streamEnd),this._input.removeListener(`error`,this._streamError)},this)}function p(e){var t,n,r,i,a=2**53,s=-a,c=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,u=this,d=0,f=0,p=!1,g=!1,_=[],v={data:[],errors:[],meta:{}};function b(t){return e.skipEmptyLines===`greedy`?t.join(``).trim()===``:t.length===1&&t[0].length===0}function S(){if(v&&r&&(w(`Delimiter`,`UndetectableDelimiter`,`Unable to auto-detect delimiting character; defaulted to '`+o.DefaultDelimiter+`'`),r=!1),e.skipEmptyLines&&(v.data=v.data.filter(function(e){return!b(e)})),C()){if(v){if(Array.isArray(v.data[0])){for(var t=0;C()&&t<v.data.length;t++)v.data[t].forEach(e);v.data.splice(0,1)}else v.data.forEach(e)}function e(e){_.push(e)}}function n(t,n){for(var r=e.header?{}:[],i=0;i<t.length;i++){var o=i,u=t[i],u=((t,n)=>(t=>(e.dynamicTypingFunction&&e.dynamicTyping[t]===void 0&&(e.dynamicTyping[t]=e.dynamicTypingFunction(t)),!0===(e.dynamicTyping[t]||e.dynamicTyping)))(t)?n===`true`||n===`TRUE`||n!==`false`&&n!==`FALSE`&&((e=>{if(c.test(e)&&(e=parseFloat(e),s<e&&e<a))return 1})(n)?parseFloat(n):l.test(n)?new Date(n):n===``?null:n):n)(o=e.header?i>=_.length?`__parsed_extra`:_[i]:o,u=e.transform?e.transform(u,o):u);o===`__parsed_extra`?(r[o]=r[o]||[],r[o].push(u)):r[o]=u}return e.header&&(i>_.length?w(`FieldMismatch`,`TooManyFields`,`Too many fields: expected `+_.length+` fields but parsed `+i,f+n):i<_.length&&w(`FieldMismatch`,`TooFewFields`,`Too few fields: expected `+_.length+` fields but parsed `+i,f+n)),r}var i;v&&(e.header||e.dynamicTyping||e.transform)&&(i=1,!v.data.length||Array.isArray(v.data[0])?(v.data=v.data.map(n),i=v.data.length):v.data=n(v.data,0),e.header&&v.meta&&(v.meta.fields=_),f+=i)}function C(){return e.header&&_.length===0}function w(e,t,n,r){e={type:e,code:t,message:n},r!==void 0&&(e.row=r),v.errors.push(e)}x(e.step)&&(i=e.step,e.step=function(t){v=t,C()?S():(S(),v.data.length!==0&&(d+=t.data.length,e.preview&&d>e.preview?n.abort():(v.data=v.data[0],i(v,u))))}),this.parse=function(i,a,s){var c=e.quoteChar||`"`,c=(e.newline||=this.guessLineEndings(i,c),r=!1,e.delimiter?x(e.delimiter)&&(e.delimiter=e.delimiter(i),v.meta.delimiter=e.delimiter):((c=((t,n,r,i,a)=>{var s,c,l,u;a||=[`,`,` `,`|`,`;`,o.RECORD_SEP,o.UNIT_SEP];for(var d=0;d<a.length;d++){for(var f,p=a[d],m=0,g=0,_=0,v=(l=void 0,new h({comments:i,delimiter:p,newline:n,preview:10}).parse(t)),y=0;y<v.data.length;y++)r&&b(v.data[y])?_++:(f=v.data[y].length,g+=f,l===void 0?l=f:0<f&&(m+=Math.abs(f-l),l=f));0<v.data.length&&(g/=v.data.length-_),1.99<g&&(c===void 0||m<c||m===c&&u<g)&&(c=m,s=p,u=g)}return{successful:!!(e.delimiter=s),bestDelimiter:s}})(i,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=c.bestDelimiter:(r=!0,e.delimiter=o.DefaultDelimiter),v.meta.delimiter=e.delimiter),y(e));return c.header=C(),e.preview&&e.header&&c.preview++,t=i,n=new h(c),v=n.parse(t,a,s),S(),p?{meta:{paused:!0}}:v||{meta:{paused:!1}}},this.paused=function(){return p},this.pause=function(){p=!0,n.abort(),t=x(e.chunk)?``:t.substring(n.getCharIndex())},this.resume=function(){u.streamer._halted?(p=!1,u.streamer.parseChunk(t,!0)):setTimeout(u.resume,3)},this.aborted=function(){return g},this.abort=function(){g=!0,n.abort(),v.meta.aborted=!0,x(e.complete)&&e.complete(v),t=``},this.guessLineEndings=function(e,t){e=e.substring(0,1048576);var t=RegExp(m(t)+`([^]*?)`+m(t),`gm`),n=(e=e.replace(t,``)).split(`\r`),t=e.split(`
87
+ `),e=1<t.length&&t[0].length<n[0].length;if(n.length===1||e)return`
88
+ `;for(var r=0,i=0;i<n.length;i++)n[i][0]===`
89
+ `&&r++;return r>=n.length/2?`\r
90
+ `:`\r`}}function m(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function h(e){var t=(e||={}).delimiter,n=e.newline,r=e.comments,i=e.step,a=e.preview,c=e.fastMode,l=null,u=!1,d=e.quoteChar==null?`"`:e.quoteChar,f=d;if(e.escapeChar!==void 0&&(f=e.escapeChar),(typeof t!=`string`||-1<o.BAD_DELIMITERS.indexOf(t))&&(t=`,`),r===t)throw Error(`Comment character same as delimiter`);!0===r?r=`#`:(typeof r!=`string`||-1<o.BAD_DELIMITERS.indexOf(r))&&(r=!1),n!==`
91
+ `&&n!==`\r`&&n!==`\r
92
+ `&&(n=`
93
+ `);var p=0,h=!1;this.parse=function(o,g,_){if(typeof o!=`string`)throw Error(`Input must be a string`);var v=o.length,y=t.length,b=n.length,S=r.length,C=x(i),w=[],T=[],E=[],ee=p=0;if(!o)return de();if(c||!1!==c&&o.indexOf(d)===-1){for(var te=o.split(n),ne=0;ne<te.length;ne++){if(E=te[ne],p+=E.length,ne!==te.length-1)p+=n.length;else if(_)return de();if(!r||E.substring(0,S)!==r){if(C){if(w=[],se(E.split(t)),fe(),h)return de()}else se(E.split(t));if(a&&a<=ne)return w=w.slice(0,a),de(!0)}}return de()}for(var re=o.indexOf(t,p),ie=o.indexOf(n,p),ae=new RegExp(m(f)+m(d),`g`),oe=o.indexOf(d,p);;)if(o[p]===d)for(oe=p,p++;;){if((oe=o.indexOf(d,oe+1))===-1)return _||T.push({type:`Quotes`,code:`MissingQuotes`,message:`Quoted field unterminated`,row:w.length,index:p}),le();if(oe===v-1)return le(o.substring(p,oe).replace(ae,d));if(d===f&&o[oe+1]===f)oe++;else if(d===f||oe===0||o[oe-1]!==f){re!==-1&&re<oe+1&&(re=o.indexOf(t,oe+1));var D=ce((ie=ie!==-1&&ie<oe+1?o.indexOf(n,oe+1):ie)===-1?re:Math.min(re,ie));if(o.substr(oe+1+D,y)===t){E.push(o.substring(p,oe).replace(ae,d)),o[p=oe+1+D+y]!==d&&(oe=o.indexOf(d,p)),re=o.indexOf(t,p),ie=o.indexOf(n,p);break}if(D=ce(ie),o.substring(oe+1+D,oe+1+D+b)===n){if(E.push(o.substring(p,oe).replace(ae,d)),ue(oe+1+D+b),re=o.indexOf(t,p),oe=o.indexOf(d,p),C&&(fe(),h))return de();if(a&&w.length>=a)return de(!0);break}T.push({type:`Quotes`,code:`InvalidQuotes`,message:`Trailing quote on quoted field is malformed`,row:w.length,index:p}),oe++}}else if(r&&E.length===0&&o.substring(p,p+S)===r){if(ie===-1)return de();p=ie+b,ie=o.indexOf(n,p),re=o.indexOf(t,p)}else if(re!==-1&&(re<ie||ie===-1))E.push(o.substring(p,re)),p=re+y,re=o.indexOf(t,p);else{if(ie===-1)break;if(E.push(o.substring(p,ie)),ue(ie+b),C&&(fe(),h))return de();if(a&&w.length>=a)return de(!0)}return le();function se(e){w.push(e),ee=p}function ce(e){var t=0;return t=e!==-1&&(e=o.substring(oe+1,e))&&e.trim()===``?e.length:t}function le(e){return _||(e===void 0&&(e=o.substring(p)),E.push(e),p=v,se(E),C&&fe()),de()}function ue(e){p=e,se(E),E=[],ie=o.indexOf(n,p)}function de(r){if(e.header&&!g&&w.length&&!u){var i=w[0],a=Object.create(null),o=new Set(i);let t=!1;for(let n=0;n<i.length;n++){let r=s(i[n]);if(a[r=x(e.transformHeader)?e.transformHeader(r,n):r]){let e,s=a[r];for(;e=r+`_`+s,s++,o.has(e););o.add(e),i[n]=e,a[r]++,t=!0,(l=l===null?{}:l)[e]=r}else a[r]=1,i[n]=r;o.add(r)}t&&console.warn(`Duplicate headers found and renamed.`),u=!0}return{data:w,errors:T,meta:{delimiter:t,linebreak:n,aborted:h,truncated:!!r,cursor:ee+(g||0),renamedHeaders:l}}}function fe(){i(de()),w=[],T=[]}},this.abort=function(){h=!0},this.getCharIndex=function(){return p}}function g(e){var t=e.data,n=i[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var a={abort:function(){r=!0,_(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:v,resume:v};if(x(n.userStep)){for(var o=0;o<t.results.data.length&&(n.userStep({data:t.results.data[o],errors:t.results.errors,meta:t.results.meta},a),!r);o++);delete t.results}else x(n.userChunk)&&(n.userChunk(t.results,a,t.file),delete t.results)}t.finished&&!r&&_(t.workerId,t.results)}function _(e,t){var n=i[e];x(n.userComplete)&&n.userComplete(t),n.terminate(),delete i[e]}function v(){throw Error(`Not implemented.`)}function y(e){if(typeof e!=`object`||!e)return e;var t,n=Array.isArray(e)?[]:{};for(t in e)n[t]=y(e[t]);return n}function b(e,t){return function(){e.apply(t,arguments)}}function x(e){return typeof e==`function`}return o.parse=function(n,r){var c=(r||={}).dynamicTyping||!1;if(x(c)&&(r.dynamicTypingFunction=c,c={}),r.dynamicTyping=c,r.transform=!!x(r.transform)&&r.transform,r.downloadTimeout!==void 0){var c=parseInt(r.downloadTimeout);if(isNaN(c))throw Error(`Config downloadTimeout value (`+r.downloadTimeout+`) not parsable by parseInt(val).`);r.downloadTimeout=c}if(!r.worker||!o.WORKERS_SUPPORTED)return c=null,o.NODE_STREAM_INPUT,typeof n==`string`?(n=s(n),c=new(r.download?l:d)(r)):!0===n.readable&&x(n.read)&&x(n.on)?c=new f(r):(t.File&&n instanceof File||n instanceof Object)&&(c=new u(r)),c.stream(n);(c=(()=>{var n;return!!o.WORKERS_SUPPORTED&&(n=(()=>{var n=t.URL||t.webkitURL||null,r=e.toString();return o.BLOB_URL||=n.createObjectURL(new Blob([`var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; `,`(`,r,`)();`],{type:`text/javascript`}))})(),(n=new t.Worker(n)).onmessage=g,n.id=a++,i[n.id]=n)})()).userStep=r.step,c.userChunk=r.chunk,c.userComplete=r.complete,c.userError=r.error,r.step=x(r.step),r.chunk=x(r.chunk),r.complete=x(r.complete),r.error=x(r.error),delete r.worker,c.postMessage({input:n,config:r,workerId:c.id})},o.unparse=function(e,t){var n=!1,r=!0,i=`,`,a=`\r
94
+ `,s=`"`,c=s+s,l=!1,u=null,d=!1,f=((()=>{if(typeof t==`object`){if(typeof t.delimiter!=`string`||o.BAD_DELIMITERS.filter(function(e){return t.delimiter.indexOf(e)!==-1}).length||(i=t.delimiter),typeof t.quotes!=`boolean`&&typeof t.quotes!=`function`&&!Array.isArray(t.quotes)||(n=t.quotes),typeof t.skipEmptyLines!=`boolean`&&typeof t.skipEmptyLines!=`string`||(l=t.skipEmptyLines),typeof t.newline==`string`&&(a=t.newline),typeof t.quoteChar==`string`&&(s=t.quoteChar,c=s+s),typeof t.header==`boolean`&&(r=t.header),Array.isArray(t.columns)){if(t.columns.length===0)throw Error(`Option columns is empty`);u=t.columns}t.escapeChar!==void 0&&(c=t.escapeChar+s),t.escapeFormulae instanceof RegExp?d=t.escapeFormulae:typeof t.escapeFormulae==`boolean`&&t.escapeFormulae&&(d=/^[=+\-@\t\r].*$/)}})(),new RegExp(m(s),`g`));if(typeof e==`string`&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return p(null,e,l);if(typeof e[0]==`object`)return p(u||Object.keys(e[0]),e,l)}else if(typeof e==`object`)return typeof e.data==`string`&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:typeof e.data[0]==`object`?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||typeof e.data[0]==`object`||(e.data=[e.data])),p(e.fields||[],e.data||[],l);throw Error(`Unable to serialize unrecognized input`);function p(e,t,n){var o=``,s=(typeof e==`string`&&(e=JSON.parse(e)),typeof t==`string`&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),c=!Array.isArray(t[0]);if(s&&r){for(var l=0;l<e.length;l++)0<l&&(o+=i),o+=h(e[l],l);0<t.length&&(o+=a)}for(var u=0;u<t.length;u++){var d=(s?e:t[u]).length,f=!1,p=s?Object.keys(t[u]).length===0:t[u].length===0;if(n&&!s&&(f=n===`greedy`?t[u].join(``).trim()===``:t[u].length===1&&t[u][0].length===0),n===`greedy`&&s){for(var m=[],g=0;g<d;g++){var _=c?e[g]:g;m.push(t[u][_])}f=m.join(``).trim()===``}if(!f){for(var v=0;v<d;v++){0<v&&!p&&(o+=i);var y=s&&c?e[v]:v;o+=h(t[u][y],v)}u<t.length-1&&(!n||0<d&&!p)&&(o+=a)}}return o}function h(e,t){var r,a,l;return e==null?``:e.constructor===Date?isNaN(e.getTime())?``:e.toISOString():(l=!1,d&&typeof e==`string`&&d.test(e)&&(e=`'`+e,l=!0),a=(r=e.toString()).replace(f,c),(l=l||!0===n||typeof n==`function`&&n(e,t)||Array.isArray(n)&&n[t]||((e,t)=>{for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1})(a,o.BAD_DELIMITERS)||-1<a.indexOf(i)||-1<r.indexOf(s)||a.charAt(0)===` `||a.charAt(a.length-1)===` `)?s+a+s:a)}},o.RECORD_SEP=``,o.UNIT_SEP=``,o.BYTE_ORDER_MARK=``,o.BAD_DELIMITERS=[`\r`,`
95
+ `,`"`,o.BYTE_ORDER_MARK],o.WORKERS_SUPPORTED=!n&&!!t.Worker,o.NODE_STREAM_INPUT=1,o.LocalChunkSize=10485760,o.RemoteChunkSize=5242880,o.DefaultDelimiter=`,`,o.Parser=h,o.ParserHandle=p,o.NetworkStreamer=l,o.FileStreamer=u,o.StringStreamer=d,o.ReadableStreamStreamer=f,r&&(t.onmessage=function(e){e=e.data,o.WORKER_ID===void 0&&e&&(o.WORKER_ID=e.workerId),typeof e.input==`string`?t.postMessage({workerId:o.WORKER_ID,results:o.parse(e.input,e.config),finished:!0}):(t.File&&e.input instanceof File||e.input instanceof Object)&&(e=o.parse(e.input,e.config))&&t.postMessage({workerId:o.WORKER_ID,results:e,finished:!0})}),(l.prototype=Object.create(c.prototype)).constructor=l,(u.prototype=Object.create(c.prototype)).constructor=u,(d.prototype=Object.create(d.prototype)).constructor=d,(f.prototype=Object.create(c.prototype)).constructor=f,o})}))(),1),kR={horizontal:[[{label:`Order`,key:`order`,width:160},{label:`Date`,key:`date`,width:160,render:(e,t,n)=>LL.format(n.date)}]]},AR=(e,t)=>{let n=URL.createObjectURL(e),r=document.createElement(`a`);r.href=n,r.download=t,document.body.append(r),r.click(),r.remove(),setTimeout(()=>URL.revokeObjectURL(n),0)},jR=e=>{let t=e.trim().replace(/[<>:"/\\|?*\u0000-\u001F]/g,`-`).replace(/\.+$/,``);return t.length>0?t:`table-export`},MR=RL.map(e=>({Date:LL.format(e.date),Order:e.order})),NR=()=>{let[e,t]=(0,w.useState)(`table-export`),n=(0,w.useCallback)((e,n)=>{t(String(n??``))},[]),r=jR(e),i=(0,w.useCallback)(()=>{let e=OR.default.unparse(MR,{delimiter:`;`,newline:`\r
96
+ `});AR(new Blob([``,e],{type:`text/csv;charset=utf-8;header=present`}),`${r}.csv`)},[r]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows CSV export for KolTableStateful data, using browser Blob downloads and a configurable file name.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(J,{_label:`Export file name`,_value:e,_hint:`The entered value is used for CSV export.`,_on:{onInput:n}}),(0,X.jsx)(`div`,{className:`flex gap-4`,children:(0,X.jsx)(K,{_label:`Export CSV`,_on:{onClick:i}})}),(0,X.jsx)(JT,{_label:`Table with export actions`,_data:RL,_headers:kR,className:`block`})]})]})},PR=[{name:`Charlie`,score:72},{name:`Alice`,score:95},{name:`Bob`,score:88},{name:`Diana`,score:61},{name:`Eve`,score:84}],FR={horizontal:[[{key:`name`,label:`Name`,sortDirection:`ASC`,compareFn:(e,t)=>e.name.localeCompare(t.name)},{key:`score`,label:`Score`,textAlign:`right`,compareFn:(e,t)=>e.score-t.score}]]},IR=()=>{let e=(0,w.useRef)(null);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample demonstrates the `,(0,X.jsx)(`code`,{children:`resetSort()`}),` method on `,(0,X.jsx)(`code`,{children:`KolTableStateful`}),`. Sort the table manually by clicking on a column header, then press “Reset Sort” to restore the default sort order defined in `,(0,X.jsx)(`code`,{children:`_headers`}),`.`]})}),(0,X.jsxs)(`section`,{className:`w-full grid gap-4`,children:[(0,X.jsx)(K,{_label:`Reset Sort`,_on:{onClick:()=>{e.current?.resetSort?.()}}}),(0,X.jsx)(JT,{ref:e,_label:`Table with resettable sort`,_data:PR,_headers:FR,className:`block`,_on:{onSortChange:(e,t)=>console.log(`sort changed`,t)}})]})]})},LR=[{id:`U-001`,name:`Andrea Schmidt`,team:`Design`,email:`andrea@example.org`,status:`Active`},{id:`U-002`,name:`Boris Klein`,team:`Engineering`,email:`boris@example.org`,status:`Active`},{id:`U-003`,name:`Chiara Russo`,team:`Support`,email:`chiara@example.org`,status:`On leave`},{id:`U-004`,name:`Dmitri Volkov`,team:`Engineering`,email:`dmitri@example.org`,status:`Active`},{id:`U-005`,name:`Elena Costa`,team:`Design`,email:`elena@example.org`,status:`On leave`},{id:`U-006`,name:`Farid Haddad`,team:`Support`,email:`farid@example.org`,status:`Active`}],RR=e=>(t,n,r=`ASC`)=>{let i=String(t[e]).localeCompare(String(n[e]));return r===`DESC`?-i:i},zR=()=>({horizontal:[[{key:`id`,label:`ID`,visible:!0,width:120},{key:`name`,label:`Name`,visible:!0,width:240,compareFn:RR(`name`)},{key:`team`,label:`Team`,visible:!0,width:200,compareFn:RR(`team`)},{key:`email`,label:`E-Mail`,visible:!0,width:280},{key:`status`,label:`Status`,visible:!0,width:160,compareFn:RR(`status`)}]]}),BR=()=>{let[e,t]=(0,w.useState)(0);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example demonstrates that column settings applied via the settings menu are remembered. Open the settings menu and change a column's width, visibility or order and apply. Then sort a column, switch the pagination page, select a row, or use the "Force parent re-render" button – the customized columns must stay as you configured them and must no longer reset to their defaults (issue #10344).`})}),(0,X.jsx)(K,{_label:`Force parent re-render (${e})`,_on:{onClick:()=>t(e=>e+1)},className:`block`}),(0,X.jsx)(JT,{_label:`Table that remembers settings across sorting, pagination and selection`,_hasSettingsMenu:!0,_pagination:{_page:1,_pageSize:3},_selection:{label:e=>`Select ${e.name}`,keyPropertyName:`id`,selectedKeys:[]},_headers:zR(),_data:LR,className:`block`})]})},VR={horizontal:[[{key:`id`,label:`ID`,width:80},{key:`project`,label:`Project`,width:200},{key:`owner`,label:`Owner`,width:200},{type:`action`,key:`actions`,label:`Actions`,width:250,actions:e=>{let t=e;return[{type:`button`,_label:`Details`,_icons:`kolicon-eye`,_hideLabel:!0,_on:{onClick:()=>alert(`Details: ${t.id} - ${t.project}`)}}]}}]]},HR=[{id:`T-01`,project:`Onboarding checklist`,owner:`Alex Rivera`},{id:`T-02`,project:`Accessibility audit`,owner:`Jamie Chen`},{id:`T-03`,project:`UX audit`,owner:`Tyler Gray`},{id:`T-04`,project:`Software Architectur`,owner:`Tess Richardson`}],UR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Simple example using the refactored action column: Actions are defined once in the column header definition using a factory function. Two rows with inline action buttons demonstrate clean separation between data and UI behavior.`})}),(0,X.jsx)(Z,{id:`selection`,className:`w-full`,children:(0,X.jsx)(JT,{_label:`Tasks with action buttons`,_headers:VR,_data:HR,className:`block`,_selection:{label:e=>`Selection for ${e.id}`,selectedKeys:[`T-01`],disabledKeys:[`T-04`],keyPropertyName:`id`},_on:{onSelectionChange:(e,t)=>{console.log(`Selection change via callback`,t)}}})})]}),WR={horizontal:[[{key:`id`,label:`ID`,width:80},{key:`project`,label:`Project`,width:200},{key:`owner`,label:`Owner`,width:200},{type:`action`,key:`actions`,label:`Actions`,width:250,actions:e=>{let t=e;return[{type:`button`,_label:`Start`,_icons:`kolicon-chevron-right`,_variant:`secondary`,_on:{onClick:()=>alert(`Start task ${t.id}`)}}]}}]]},GR=[{id:`T-01`,project:`Onboarding checklist`,owner:`Alex Rivera`},{id:`T-02`,project:`Accessibility audit`,owner:`Jamie Chen`},{id:`T-03`,project:`UX audit`,owner:`Tyler Gray`},{id:`T-04`,project:`Software Architectur`,owner:`Tess Richardson`}],KR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Simple example using the refactored action column: Actions are defined once in the column header definition using a factory function. Two rows with inline action buttons demonstrate clean separation between data and UI behavior.`})}),(0,X.jsx)(Z,{id:`single-selection`,className:`w-full`,children:(0,X.jsx)(JT,{_label:`Tasks with action buttons`,_headers:WR,_data:GR,className:`block`,_selection:{label:e=>`Selection for ${e.id}`,selectedKeys:[`T-01`],disabledKeys:[`T-04`],keyPropertyName:`id`,multiple:!1},_on:{onSelectionChange:(e,t)=>{console.log(`Selection change via callback`,t)}}})})]}),qR=[{left:`Left Example`,center:`Center Example`,right:`Right Example`},{},{},{}],JR=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows how KolTableStateless can be used directly, with the KolTableStateful wrapper.`})}),(0,X.jsx)(Z,{id:`stateless`,className:`w-full`,fitContent:!0,children:(0,X.jsx)(YT,{_label:`Table for demonstration purposes`,_headers:{horizontal:[[{key:`left`,label:`left`,textAlign:`left`,sortDirection:`ASC`,width:100},{key:`center`,label:`center`,textAlign:`center`,sortDirection:`DESC`,width:100},{key:`right`,label:`right`,textAlign:`right`,sortDirection:`NOS`,width:100},{key:`nosort`,label:`no sort option`,width:150}]],vertical:[[{key:`vertical-left`,label:`left`,textAlign:`left`,sortDirection:`ASC`},{key:`vertical-center`,label:`center`,textAlign:`center`,sortDirection:`DESC`},{key:`vertical-right`,label:`right`,textAlign:`right`,sortDirection:`NOS`},{key:`vertical-nosort`,label:`no sort option`}]]},_data:qR,className:`block`,style:{maxWidth:`600px`},_on:{onSort:(e,t)=>{console.log(t)}}})})]}),YR={horizontal:[[{label:`ID`,key:`id`,textAlign:`right`,width:160,sortDirection:`NOS`},{label:`Common name`,key:`common_name`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Scientific name`,key:`scientific_name`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Conservation status`,key:`conservation_status`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Habitat`,key:`habitat`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Diet`,key:`diet`,textAlign:`left`,width:160,sortDirection:`NOS`},{label:`Geographic range`,key:`geographic_range`,textAlign:`left`,width:160,sortDirection:`NOS`}]]},XR=()=>{let e=()=>new Promise(e=>setTimeout(()=>e({COMPLEX_DATA:gL}),5e3)),t=()=>{a(!0),e().then(e=>{r(e.COMPLEX_DATA.slice(0,15)),a(!1)})},[n,r]=(0,w.useState)([]),[i,a]=(0,w.useState)(!0);return(0,w.useEffect)(()=>t(),[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows how KolTableStateless can be used async and with KolPagination. Paging and sorting are not functional here, because a backend would offer this in real life.`})}),(0,X.jsxs)(Z,{id:`async`,className:`w-full relative`,children:[(0,X.jsx)(YT,{_label:`Table for demonstration purposes`,_loading:i,_headers:YR,_data:n,_on:{onSort:()=>t()}}),(0,X.jsx)(zT,{_label:`Pagination for the demonstration table`,_max:200,_page:1,_siblingCount:0,_boundaryCount:2,_pageSize:15,_on:{onChangePage:()=>t()}})]})]})},ZR=[{id:`1001`,name:`Foo Bar`,internalIdentifier:`AAA1001`},{id:`1002`,name:`Foo Baz`,internalIdentifier:`AAA1002`},{id:`1003`,name:`This row is always unchecked`,internalIdentifier:`AAA1003`},{id:`1004`,name:`This row is always checked`,internalIdentifier:`AAA1004`}];function QR({label:e}){let{dummyClickEventHandler:t}=vA();return(0,X.jsx)(K,{_label:e,_on:{onClick:t}})}var $R=()=>{let[e,t]=(0,w.useState)([`AAA1002`,`AAA1004`]),n={label:e=>`Selection for ${e.name}`,selectedKeys:e,keyPropertyName:`internalIdentifier`,disabledKeys:[`AAA1003`,`AAA1004`]},r=(0,w.useRef)(null),i=({detail:e})=>{console.log(`Selection change via event`,e)};return(0,w.useEffect)(()=>{let e=r.current,t=`kolSelectionChange`;return e?.addEventListener(t,i),()=>{e?.removeEventListener(t,i)}},[r]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateless with checkboxes for selection enabled.`})}),(0,X.jsx)(Z,{id:`selection`,className:`w-full`,children:(0,X.jsx)(YT,{_label:`Table with selection checkboxes`,_headers:{horizontal:[[{key:`id`,label:`#ID`,textAlign:`left`,width:70},{key:`name`,label:`Name`,textAlign:`left`,width:200},{key:`action`,label:`Action`,textAlign:`left`,render:(e,t)=>{let n=t.data?.id;Ij(nE(e)).render((0,X.jsx)(QR,{label:`Click ${n}`}))},width:100}]]},_data:ZR,_selection:n,_on:{onSelectionChange:(e,n)=>{console.log(`Selection change via callback`,n),t(n)}},className:`block`,ref:r})})]})},ez=[{id:`U1001`,name:`Alice Johnson`,role:`Admin`,email:`alice@example.org`,active:`Yes`},{id:`U1002`,name:`Bob Smith`,role:`Editor`,email:`bob@example.org`,active:`No`},{id:`U1003`,name:`Carol Lee`,role:`Viewer`,email:`carol@example.org`,active:`Yes`},{id:`U1004`,name:`David Kim`,role:`Editor`,email:`david@example.org`,active:`Yes`}],tz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`This sample shows `,(0,X.jsx)(`code`,{children:`KolTableStateless`}),` with the settings menu enabled via`,(0,X.jsx)(`code`,{children:`_hasSettingsMenu`}),`. Each column demonstrates a different combination of sorting and resizing options.`]}),(0,X.jsxs)(`p`,{children:[`Every column declares an explicit `,(0,X.jsx)(`code`,{children:`width`}),`, so the width fields in the settings menu show the current pixel values instead of starting empty. This also prevents a resizable column from collapsing when its width is adjusted from the menu.`]}),(0,X.jsxs)(`ul`,{children:[(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`ID`}),` keeps a fixed width with `,(0,X.jsx)(`code`,{children:`resizable: false`}),` while still allowing sorting.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Name`}),` represents the default behavior with both sorting and resizing enabled.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Role`}),` disables sorting but keeps `,(0,X.jsx)(`code`,{children:`resizable: true`}),` so users can widen the column if necessary.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`E-Mail`}),` allows sorting but locks its width with `,(0,X.jsx)(`code`,{children:`resizable: false`}),` to keep the layout stable.`]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`strong`,{children:`Active`}),` is neither sortable nor resizable to emphasise the status indicator.`]})]})]}),(0,X.jsx)(YT,{_label:`Users (stateless with settings menu)`,className:`w-full`,_hasSettingsMenu:!0,_headers:{horizontal:[[{key:`id`,label:`ID`,textAlign:`center`,sortDirection:`NOS`,sortable:!0,resizable:!1,width:120},{key:`name`,label:`Name`,textAlign:`center`,sortDirection:`NOS`,sortable:!0,resizable:!0,width:200},{key:`role`,label:`Role`,textAlign:`center`,sortDirection:`NOS`,sortable:!1,resizable:!0,width:160},{key:`email`,label:`E-Mail`,textAlign:`center`,sortDirection:`NOS`,sortable:!0,resizable:!1,width:240},{key:`active`,label:`Active`,textAlign:`center`,sortDirection:`NOS`,sortable:!1,resizable:!1,width:120}]]},_data:ez,_on:{onSort:(e,t)=>console.log(`sort`,t),onSelectionChange:(e,t)=>console.log(`selection`,t),onChangeHeaderCells:(e,t)=>console.log(`header settings changed`,t)}})]}),nz=[{id:`1001`,name:`Foo Bar`,internalIdentifier:`AAA1001`},{id:`1002`,name:`Foo Baz`,internalIdentifier:`AAA1002`},{id:`1003`,name:`Foo Disabled`,internalIdentifier:`AAA1003`}];function rz({label:e}){let{dummyClickEventHandler:t}=vA();return(0,X.jsx)(K,{_label:e,_on:{onClick:t}})}var iz=()=>{let[e,t]=(0,w.useState)([`1002`]),n={label:e=>`Selection for ${e.name}`,multiple:!1,selectedKeys:e,disabledKeys:[`AAA1003`],keyPropertyName:`internalIdentifier`},r=(0,w.useRef)(null),i=(0,w.useCallback)(({detail:e})=>{console.log(`Selection change via event`,e)},[]),a=(0,w.useCallback)((e,n)=>{console.log(`Selection change via callback`,n),t(n)},[]);(0,w.useEffect)(()=>{let e=r.current,t=`kolSelectionChange`;return e?.addEventListener(t,i),()=>{e?.removeEventListener(t,i)}},[r,i]);let o=(0,w.useCallback)((e,t)=>{let n=t.data?.id;Ij(nE(e)).render((0,X.jsx)(rz,{label:`Click ${n}`}))},[]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateless with checkboxes for selection enabled.`})}),(0,X.jsx)(Z,{id:`single-selection`,className:`w-full`,fitContent:!0,children:(0,X.jsx)(YT,{_label:`Table with selection checkboxes`,_headers:{horizontal:[[{key:`id`,label:`#ID`,textAlign:`left`,width:100},{key:`name`,label:`Name`,textAlign:`left`,width:200},{key:`action`,label:`Action`,textAlign:`left`,render:o,width:200}]]},_data:nz,_selection:n,_on:{onSelectionChange:a},className:`block`,ref:r})})]})},az={label:e=>`Selection for ${e.common_name}`,multiple:!1,keyPropertyName:`internalIdentifier`},oz={horizontal:[[{label:`ID`,key:`id`,textAlign:`right`,width:60},{label:`Common name`,key:`common_name`,textAlign:`left`,width:250},{label:`Scientific name`,key:`scientific_name`,textAlign:`left`,width:400},{label:`Conservation status`,key:`conservation_status`,textAlign:`left`,width:250},{label:`Habitat`,key:`habitat`,textAlign:`left`,width:400},{label:`Diet`,key:`diet`,textAlign:`left`,width:200},{label:`Geographic range`,key:`geographic_range`,textAlign:`left`,width:300}]]},sz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with the first three and last columns sticky. It should be focusable and scrollable with the keyboard. The table headline should be sticky at the top of the table. The data lists animal species with conservation-focused details.`})}),(0,X.jsx)(Z,{id:`sticky-cols`,heading:`Sticky columns`,children:(0,X.jsx)(JT,{_label:`Animal species overview`,_data:gL,_headers:oz,className:`block`,_selection:az,_fixedCols:[2,1]})})]}),cz={label:e=>`Selection for ${e.common_name}`,multiple:!1,keyPropertyName:`internalIdentifier`},lz={horizontal:[[{label:`ID`,key:`id`,textAlign:`right`,width:60},{label:`Common name`,key:`common_name`,textAlign:`left`,width:160},{label:`Scientific name`,key:`scientific_name`,textAlign:`left`,width:160},{label:`Conservation status`,key:`conservation_status`,textAlign:`left`,width:160},{label:`Habitat`,key:`habitat`,textAlign:`left`,width:160},{label:`Diet`,key:`diet`,textAlign:`left`,width:160},{label:`Geographic range`,key:`geographic_range`,textAlign:`left`,width:160}]]},uz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with vertical scrollbar. It should be focusable and scrollable with the keyboard. The table headline should be sticky at the top of the table, if your chosen theme supports sticky header. The table's maximum height is set to 75vh with the CSS property --kol-table-max-height. The data lists animal species with conservation-focused details.`})}),(0,X.jsx)(Z,{id:`sticky-header`,heading:`Sticky headers`,children:(0,X.jsx)(JT,{_label:`Animal species overview`,_data:gL,_headers:lz,className:`block`,_selection:cz,style:{"--kol-table-max-height":`75vh`}})})]}),dz={horizontal:[[{label:`Order`,key:`order`,width:160},{label:`Date`,key:`date`,width:160,render:(e,t,n)=>LL.format(n.date)}]]},fz=()=>{let[e]=ik(),t=e.get(`theme`)??KA(),n=(0,w.useMemo)(()=>t?IA(t,`tableVariants`):[],[t]);return(0,X.jsxs)(`div`,{className:`w-full grid gap-14`,children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with different variants controlled by the theme.`})}),!Array.isArray(n)||n.length===0?(0,X.jsx)(Z,{id:`variant-no`,children:(0,X.jsx)(`p`,{children:`This theme has no variants for tables.`})}):n.map((e,t)=>(0,X.jsx)(Z,{id:`variant-`+t,className:`w-full flex flex-col gap-14`,children:(0,X.jsx)(JT,{_label:`Table with variant: `+e,_data:RL,_headers:dz,_pagination:{_page:1,_hasButtons:{first:!1,next:!0,last:!1,previous:!0}},_paginationPosition:`bottom`,_variant:e})}))]})},pz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTableStateful with footer data.`})}),(0,X.jsx)(Z,{id:`with-footer`,children:(0,X.jsx)(JT,{className:`w-full`,_label:`Business hours`,_headers:{horizontal:[[{label:`District`,key:`asp`,width:160},{label:`Monday`,key:`monday`,width:160},{label:`Tuesday`,key:`tuesday`,width:160},{label:`Wednesday`,key:`wednesday`,width:160},{label:`Thursday`,key:`thursday`,width:160},{label:`Friday`,key:`friday`,width:160}]]},_data:[{asp:`Center`,monday:`08:00`,tuesday:`08:00`,wednesday:`10:00`,thursday:`11:00`,friday:`08:00`},{asp:`Tiergarten`,monday:`08:00`,tuesday:`08:00`,wednesday:`10:00`,thursday:`11:00`,friday:`08:00`},{asp:`Maxvorstadt`,monday:`08:00`,tuesday:`08:00`,wednesday:`10:00`,thursday:`11:00`,friday:`08:00`}],_dataFoot:[{tuesday:`Lunch break from 11 to 14 o'clock`}]})})]}),mz={horizontal:[[{label:`Order`,key:`order`,width:160},{label:`Date`,key:`date`,width:160,render:(e,t,n)=>LL.format(n.date)}]]},hz={_page:2},gz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows how KolTableStateful can be navigated using a pagination.`})}),(0,X.jsx)(Z,{id:`with-pagination`,className:`w-full`,children:(0,X.jsx)(JT,{_label:`Table description`,_data:RL,_headers:mz,_pagination:hz})})]}),_z=[{id:1001,name:`Max Mustermann`,email:`max.mustermann@example.com`},{id:1002,name:`Erika Musterfrau`,email:`erika.musterfrau@example.com`},{id:1003,name:`John Doe`,email:`john.doe@example.com`},{id:1004,name:`Jane Doe`,email:`jane.doe@example.com`},{id:1005,name:`Peter Smith`,email:`peter.smith@example.com`},{id:1006,name:`Anna Smith`,email:`anna.smith@example.com`},{id:1007,name:`Michael Schmidt`,email:`michael.schmidt@example.com`},{id:1008,name:`Sarah Schmidt`,email:`sarah.schmidt@example.com`},{id:1009,name:`Thomas Müller`,email:`thomas.mueller@example.com`},{id:1010,name:`Lisa Müller`,email:`lisa.mueller@example.com`}],vz={horizontal:[[{key:`id`,label:`ID`,textAlign:`left`,width:80,compareFn:(e,t)=>e.id-t.id,sortDirection:`ASC`},{key:`name`,label:`Name`,textAlign:`left`,compareFn:(e,t)=>e.name.localeCompare(t.name,`en`)},{key:`email`,label:`Email`,textAlign:`left`,compareFn:(e,t)=>e.email.localeCompare(t.email,`en`)}]]},yz=[`Ada`,`Bruno`,`Clara`,`Finn`,`Ida`,`Jonas`,`Lena`,`Nele`,`Otto`,`Sina`],bz=[`Bauer`,`Fuchs`,`Hirsch`,`Kraft`,`Lindner`,`Moor`,`Reuter`,`Schubert`,`Wagner`,`Winter`];function xz(e){return e[Math.floor(Math.random()*e.length)]}function Sz(e){return e.reduce((e,t)=>Math.max(e,t.id),1e3)+1}function Cz(e){let t=xz(yz),n=xz(bz);return{id:e,name:`${t} ${n}`,email:`${t.toLowerCase()}.${n.toLowerCase()}@example.com`}}var wz={table:{"column-alignment":CL,"complex-headers":wL,empty:AL,"horizontal-scrollbar":UL,"interactive-child-elements":KL,"multi-sort":iR,"highlight-row":IL,"non-hidable-columns":oR,"pagination-position":cR,"predefined-settings":uR,"action-columns":KI,"action-columns-performance":$I,"state-columns":TR,"render-cell":hR,"settings-column-options":_R,"sort-data":SR,"direction-aware-sort":OL,"stateful-async":DR,"stateful-export":NR,"stateful-reset-sort":IR,"stateful-settings-persistence":BR,"stateless-with-settings-menu":tz,"stateful-with-selection":UR,"stateful-with-single-selection":KR,stateless:JR,"stateless-async":XR,"stateless-with-selection":$R,"stateless-with-single-selection":iz,"sticky-cols":sz,"sticky-header":uz,"with-footer":pz,"with-pagination":gz,"with-toolbar":()=>{let[e,t]=(0,w.useState)(_z),[n,r]=(0,w.useState)([]),[i,a]=(0,w.useState)(!1),[o,s]=(0,w.useState)(null),c=o!==null&&e.some(e=>e.id===o.id),l={keyPropertyName:`id`,label:e=>`Select row ${e.name}`,multiple:i,selectedKeys:n},u=(e,t)=>{r((t??[]).map(e=>e.id))},d=(e,t)=>{a(t===!0),t!==!0&&n.length>1&&r([])},f=()=>{s(Cz(Sz(e)))},p=()=>{let t=e.find(e=>e.id===n[0]);t!==void 0&&s({...t})},m=()=>{s(null)},h=()=>{o!==null&&t(e=>c?e.map(e=>e.id===o.id?o:e):[...e,o]),s(null)},g=[{type:`button`,_label:`Add`,_icons:{left:{icon:`kolicon-plus`}},_variant:`primary`,_on:{onClick:f}},{type:`button`,_label:`Edit`,_variant:`secondary`,_disabled:n.length!==1,_on:{onClick:p}},{type:`button`,_label:`Delete`,_icons:{left:{icon:`kolicon-cross`}},_variant:`danger`,_disabled:n.length===0,_on:{onClick:()=>{n.length!==0&&(t(e.filter(e=>!n.includes(e.id))),r([]))}}}];return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample combines a toolbar with a table: a switch toggles between single and multiple selection. "Add" generates a new dummy record in a form and inserts it via "Create". "Edit" opens the selected row in the same form when exactly one row is selected. "Delete" removes all selected rows and is only enabled with a selection.`})}),(0,X.jsxs)(`section`,{className:`w-full`,children:[(0,X.jsx)(QT,{_label:`Table actions`,_items:g}),(0,X.jsx)(ET,{className:`block w-fit py-2`,_label:`Multiple selection`,_variant:`switch`,_checked:i,_value:!0,_on:{onInput:d}}),(0,X.jsx)(ST,{_label:c?`Edit entry`:`Add entry`,_align:`right`,_level:2,_open:o!==null,_hasCloser:!0,_on:{onClose:m},children:o!==null&&(0,X.jsxs)(`div`,{className:`flex flex-col gap-4 py-4`,children:[(0,X.jsx)(J,{_label:`Name`,_value:o.name,_on:{onInput:(e,t)=>s({...o,name:String(t)})}}),(0,X.jsx)(J,{_label:`Email`,_value:o.email,_on:{onInput:(e,t)=>s({...o,email:String(t)})}}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,X.jsx)(K,{_label:c?`Save`:`Create`,_variant:`primary`,_on:{onClick:h}}),(0,X.jsx)(K,{_label:`Cancel`,_variant:`secondary`,_on:{onClick:m}})]})]})}),(0,X.jsx)(JT,{_label:`User management`,_headers:vz,_data:e,className:`block`,_selection:l,_on:{onSelectionChange:u}})]})]})},big:bL,"action-and-render":nL,variant:fz,"aria-labelledby":mL}},Tz=[{_icons:`kolicon-check`,_label:`First tab`,_on:{onSelect:e=>{console.log(`First tab selected`,e)}}},{_icons:`kolicon-link-external`,_label:`Second Tab`},{_disabled:!0,_icons:`kolicon-house`,_label:`Disabled Tab`},{_icons:`kolicon-eye`,_label:`Last tab`}],Ez=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows KolTabs with the property `,(0,X.jsx)(`code`,{children:`_align`}),` set to `,(0,X.jsx)(`code`,{children:`left`}),`, `,(0,X.jsx)(`code`,{children:`right`}),`, `,(0,X.jsx)(`code`,{children:`top`}),` and `,(0,X.jsx)(`code`,{children:`bottom`}),`.`]})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:[`left`,`right`,`top`,`bottom`].map(e=>{let t=`Tabs with ${e} align`;return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(q,{_level:2,_label:t}),(0,X.jsxs)(XT,{_tabs:Tz,_align:e,_label:t,children:[(0,X.jsx)(`p`,{slot:`tab-0`,children:`Contents of Tab 1`}),(0,X.jsx)(`p`,{slot:`tab-1`,children:`Contents of Tab 2`}),(0,X.jsx)(`p`,{slot:`tab-2`,children:`Contents of Tab 3`}),(0,X.jsx)(`p`,{slot:`tab-3`,children:`Contents of Tab 4`})]})]},e)})})]}),Dz=[{_icons:`kolicon-check`,_label:`First tab`,_on:{onSelect:e=>{console.log(`First tab selected`,e)}}},{_icons:`kolicon-link-external`,_label:`Second Tab`},{_disabled:!0,_icons:`kolicon-house`,_label:`Disabled Tab`},{_icons:`kolicon-eye`,_label:`Last tab`}],Oz=Dz.map(e=>({...e,_icons:void 0})),kz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolTabs renders tab captions and their associated content. This sample shows tab captions with and without icons and disabled tabs.`})}),(0,X.jsx)(Z,{id:`regular`,children:(0,X.jsxs)(XT,{_tabs:Oz,_label:`Regular tabs`,children:[(0,X.jsx)(`p`,{slot:`tab-0`,children:`Contents of Tab 1`}),(0,X.jsx)(`p`,{slot:`tab-1`,children:`Contents of Tab 2`}),(0,X.jsx)(`p`,{slot:`tab-2`,children:`Contents of Tab 3`}),(0,X.jsx)(`p`,{slot:`tab-3`,children:`Contents of Tab 4`})]})}),(0,X.jsx)(Z,{id:`icons`,children:(0,X.jsxs)(XT,{_tabs:Dz,className:`mt-4`,_label:`Tabs with icons`,children:[(0,X.jsx)(`p`,{slot:`tab-0`,children:`Contents of Tab 1`}),(0,X.jsx)(`p`,{slot:`tab-1`,children:`Contents of Tab 2`}),(0,X.jsx)(`p`,{slot:`tab-2`,children:`Contents of Tab 3`}),(0,X.jsx)(`p`,{slot:`tab-3`,children:`Contents of Tab 4`})]})})]}),Az=[{_icons:`kolicon-check`,_label:`First tab`,_on:{onSelect:e=>{console.log(`First tab selected`,e)}}},{_icons:`kolicon-link-external`,_label:`Second Tab`},{_disabled:!0,_icons:`kolicon-house`,_label:`Disabled Tab`},{_icons:`kolicon-eye`,_label:`Last tab`}],jz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsxs)(`p`,{children:[`This sample shows KolTabs with the property `,(0,X.jsx)(`code`,{children:`_behavior`}),` set to `,(0,X.jsx)(`code`,{children:`select-manual`}),` and `,(0,X.jsx)(`code`,{children:`select-automatic`}),`.`]}),(0,X.jsx)(`p`,{children:`This property allows controlling when an arrow key is pressed whether the tab change takes place right away or only focuses the tab caption.`})]}),(0,X.jsxs)(`div`,{className:`grid gap-8`,children:[(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(q,{_level:2,_label:`Tabs with "select manual" behavior`}),(0,X.jsxs)(XT,{_tabs:Az,_behavior:`select-manual`,_label:`Tabs with select manual behavior`,children:[(0,X.jsx)(`p`,{slot:`tab-0`,children:`Contents of Tab 1`}),(0,X.jsx)(`p`,{slot:`tab-1`,children:`Contents of Tab 2`}),(0,X.jsx)(`p`,{slot:`tab-2`,children:`Contents of Tab 3`}),(0,X.jsx)(`p`,{slot:`tab-3`,children:`Contents of Tab 4`})]})]}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(q,{_level:2,_label:`Tabs with "select automatic" behavior`}),(0,X.jsxs)(XT,{_tabs:Az,className:`mt-4`,_behavior:`select-automatic`,_label:`Tabs with select automatic behavior`,children:[(0,X.jsx)(`p`,{slot:`tab-0`,children:`Contents of Tab 1`}),(0,X.jsx)(`p`,{slot:`tab-1`,children:`Contents of Tab 2`}),(0,X.jsx)(`p`,{slot:`tab-2`,children:`Contents of Tab 3`}),(0,X.jsx)(`p`,{slot:`tab-3`,children:`Contents of Tab 4`})]})]})]})]}),Mz=()=>{let[e,t]=(0,w.useState)([{_label:`First tab`},{_label:`Second Tab`}]);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTabs with a "create tab" button.`})}),(0,X.jsx)(Z,{id:`create-button`,children:(0,X.jsxs)(XT,{_tabs:e,className:`mt-4`,_label:`Tabs with create button`,_hasCreateButton:!0,_on:{onCreate:()=>{t([...e,{_label:`Tab #${e.length+1}`}])}},children:[e.map((e,t)=>(0,X.jsxs)(`p`,{slot:`tab-${t}`,children:[`Contents of `,e._label]},`tab-${t}`)),(0,X.jsx)(`p`,{slot:`tab-1`,children:`Contents of Tab 2`})]})})]})},Nz=[{_hideLabel:!0,_icons:`kolicon-check`,_label:`First tab`,_on:{onSelect:e=>{console.log(`First tab selected`,e)}}},{_hideLabel:!0,_icons:`kolicon-link-external`,_label:`Second Tab`},{_disabled:!0,_hideLabel:!0,_icons:`kolicon-house`,_label:`Disabled Tab`},{_hideLabel:!0,_icons:`kolicon-eye`,_label:`Last tab`}],Pz={tabs:{basic:kz,"create-button":Mz,"icons-only":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolTabs with hidden labels.`})}),(0,X.jsx)(Z,{id:`icons-only`,children:(0,X.jsxs)(XT,{_label:`Tabs with icons`,_tabs:Nz,children:[(0,X.jsx)(`p`,{slot:`tab-0`,children:`Contents of Tab 1`}),(0,X.jsx)(`p`,{slot:`tab-1`,children:`Contents of Tab 2`}),(0,X.jsx)(`p`,{slot:`tab-2`,children:`Contents of Tab 3`}),(0,X.jsx)(`p`,{slot:`tab-3`,children:`Contents of Tab 4`})]})})]}),behavior:jz,align:Ez}},Fz=`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore
97
+ magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd
98
+ gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing
99
+ elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos
100
+ et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
101
+ sit amet.`,Iz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample demonstrates the `,(0,X.jsx)(`code`,{children:`_adjustHeight`}),`-property of KolTextarea. The textarea automatically grows with its content.`]})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{id:`adjust-height`,children:(0,X.jsx)(ZT,{_adjustHeight:!0,_value:Fz,_label:`Text input (auto grow with value)`})}),(0,X.jsx)(ZT,{_adjustHeight:!0,_label:`Text input (auto grow with initial 3 rows)`,_rows:3})]})]}),Lz=(0,w.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{...i(`black-bg`),className:`black-background`,children:(0,X.jsx)(ZT,{...n,ref:r,_placeholder:`Placeholder`,_label:`Text`})}),(0,X.jsx)(Z,{...i(`error`),children:(0,X.jsx)(ZT,{...n,_placeholder:`Placeholder`,_required:!0,_msg:{_type:`error`,_description:aA},_label:`Text`,_touched:!0,_hint:oA,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,X.jsx)(Z,{...i(`msg-info`),children:(0,X.jsx)(ZT,{...n,_placeholder:`Placeholder`,_label:`Text`,_msg:{_type:`info`,_description:`Just a hint`},_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-warning`),children:(0,X.jsx)(ZT,{...n,_placeholder:`Placeholder`,_label:`Text`,_msg:{_type:`warning`,_description:`Small warning`},_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-success`),children:(0,X.jsx)(ZT,{...n,_placeholder:`Placeholder`,_label:`Text`,_msg:{_type:`success`,_description:`Success message`},_touched:!0})}),(0,X.jsx)(Z,{...i(`msg-default`),children:(0,X.jsx)(ZT,{...n,_placeholder:`Placeholder`,_label:`Text`,_msg:{_type:`default`,_description:`Default message`},_touched:!0})}),(0,X.jsx)(Z,{...i(`rows`),children:(0,X.jsx)(ZT,{...n,ref:r,_accessKey:`T`,_label:`Text (3 rows)`,_rows:3})}),(0,X.jsx)(Z,{...i(`placeholder`),children:(0,X.jsx)(ZT,{...n,ref:r,_label:`Text (placeholder)`,_rows:3,_placeholder:`Placeholder`})}),(0,X.jsx)(Z,{...i(`disabled-empty`),children:(0,X.jsx)(ZT,{...n,ref:r,_label:`Text (disabled & placeholder)`,_rows:3,_placeholder:`Placeholder`,_disabled:!0})}),(0,X.jsx)(Z,{...i(`readonly`),children:(0,X.jsx)(ZT,{...n,ref:r,_label:`Text (readonly)`,_rows:3,_placeholder:`Placeholder`,_readOnly:!0})}),(0,X.jsx)(Z,{...i(`disabled-value`),children:(0,X.jsx)(ZT,{...n,ref:r,_label:`Text (disabled & value)`,_rows:3,_placeholder:`Placeholder`,_value:`Lorem ipsum`,_disabled:!0})}),(0,X.jsx)(Z,{...i(`access-key`),children:(0,X.jsx)(ZT,{...n,ref:r,_label:`With access key`,_rows:3,_placeholder:`Placeholder`,_value:`Lorem ipsum`,_accessKey:`c`})}),(0,X.jsx)(Z,{...i(`short-key`),children:(0,X.jsx)(ZT,{...n,ref:r,_label:`With short key`,_rows:3,_placeholder:`Placeholder`,_value:`Lorem ipsum`,_shortKey:`s`})})]})}),Rz=(0,w.forwardRef)(function(e,t){return(0,X.jsxs)(hj,{children:[(0,X.jsx)(gj,{heading:`Text`,children:(0,X.jsx)(Lz,{blockIdPrefix:`label`,...e})}),(0,X.jsx)(gj,{heading:`Text (hideLabel)`,children:(0,X.jsx)(Lz,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),zz={textarea:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolTextarea renders a text field. The sample shows KolTextarea in a form context with different variations and states.`})}),(0,X.jsx)(mj,{RefComponent:Rz,showButtons:!1})]}),"get-value":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`Shows the callback value from `,(0,X.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,X.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,X.jsx)(Xj,{label:`KolTextarea`,renderInput:e=>(0,X.jsx)(ZT,{_label:`Message`,_on:e})})]}),"adjust-height":Iz,resize:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample demonstrates the `,(0,X.jsx)(`code`,{children:`_resize`}),`-property of KolTextarea. The sample textarea can (only) be resized in the given direction.`]})}),(0,X.jsx)(CT,{className:`w-full`,children:(0,X.jsxs)(Z,{id:`resize`,className:`flex flex-col gap-4`,children:[(0,X.jsx)(ZT,{_label:`Text input (unset)`}),(0,X.jsx)(ZT,{_resize:`vertical`,_label:`Text input (vertical)`}),(0,X.jsx)(ZT,{_resize:`none`,_label:`Text input (none)`})]})})]}),rows:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample demonstrates the `,(0,X.jsx)(`code`,{children:`_rows`}),`-property of KolTextarea. The sample textarea has a fixed row number of 10.`]})}),(0,X.jsx)(Z,{id:`rows`,children:(0,X.jsx)(CT,{className:`w-full`,children:(0,X.jsx)(ZT,{_rows:10,_label:`Texteingabe`})})})]}),"with-counter":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`The sample demonstrates various `,(0,X.jsx)(`code`,{children:`KolTextarea`}),` configurations — contrasting soft vs. hard `,(0,X.jsx)(`code`,{children:`_maxLength`}),` settings and the optional`,(0,X.jsx)(`code`,{children:`_hasCounter`}),` — including one instance without length limits.`]})}),(0,X.jsxs)(Z,{id:`with-counter`,className:`w-full flex flex-col gap-4`,children:[(0,X.jsx)(ZT,{_label:`Textarea with soft max length`,_value:`Lorem Ipsum`,className:`mt-2`,_maxLength:20,_hasCounter:!0,_maxLengthBehavior:`soft`}),(0,X.jsx)(ZT,{_label:`Textarea with max length`,_value:`Lorem Ipsum`,className:`mt-2`,_maxLength:20}),(0,X.jsx)(ZT,{_label:`Textarea with max length and counter`,_value:`Lorem Ipsum`,className:`mt-2`,_maxLength:20,_hasCounter:!0}),(0,X.jsx)(ZT,{_label:`Textarea with counter`,_value:`Lorem Ipsum`,className:`mt-2`,_hasCounter:!0})]})]})}},Bz=()=>{let[e]=ik(),t=e.get(`type`),n=zt.getInstance(document),r=()=>{n.enqueue({description:`Toasty`,label:`Initial Toast`,type:`warning`,onClose:()=>{console.log(`Simple toast has been closed.`)}})};(0,w.useEffect)(()=>{t&&n.enqueue({description:`Toasty`,label:`Toast with type '${t}'`,type:t})},[t,n]);let i=()=>{n.enqueue({render:(e,{close:t})=>{Ij(e).render((0,X.jsx)(X.Fragment,{children:(0,X.jsx)(K,{_label:`Hello World from Toast!`,_on:{onClick:()=>{console.log(`Toast Button clicked!`),t()}}})}))},label:`Initial Toast`,type:`warning`})},a=async()=>{let e=await n.enqueue({description:`I will disappear in two seconds...`,label:`Good Bye`,type:`warning`});e&&setTimeout(e,2e3)};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(pT,{_label:`Component is DEPRECATED`,_type:`error`,_variant:`card`,className:`header-alert`,children:[`For more information, please refer\xA0`,(0,X.jsx)(Y,{_href:`https://public-ui.github.io/en/docs/components/toaster`,_target:`_blank`,_label:`to the documentation`}),`.`]}),(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates the toast service with all its options.`})}),(0,X.jsx)(`section`,{className:`grid gap-4`,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,X.jsx)(K,{_label:`Show simple toast`,_on:{onClick:r}}),(0,X.jsx)(K,{_label:`Show complex toast`,_on:{onClick:i}}),(0,X.jsx)(K,{_label:`Show toast and close after 2 seconds`,_on:{onClick:()=>void a()}}),(0,X.jsx)(K,{_label:`Close all toasts`,_on:{onClick:()=>{n.closeAll()}}})]})})]})},Vz=[`default`,`info`,`success`,`warning`,`error`],Hz=Vz.map(e=>({label:e,value:e})),Uz=e=>typeof e==`string`&&Vz.includes(e),Wz={toast:{basic:Bz,configurator:()=>{let[e]=ik(),t=e.get(`type`),n=Uz(t)?t:void 0,[r,i]=(0,w.useState)(()=>n??`default`),a=(0,w.useMemo)(()=>zt.getInstance(document),[]);return(0,w.useEffect)(()=>(Vz.forEach(e=>{a.enqueue({description:`Toasty`,label:`Toast with type '${e}'`,type:e})}),()=>{a.closeAll()}),[a]),(0,w.useEffect)(()=>{n&&i(n)},[n]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(pT,{_label:`Component is DEPRECATED`,_type:`error`,_variant:`card`,className:`header-alert`,children:[`For more information, please refer\xA0`,(0,X.jsx)(Y,{_href:`https://public-ui.github.io/en/docs/components/toaster`,_target:`_blank`,_label:`to the documentation`}),`.`]}),(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates the toast service with all its options. Use the configuration below to choose a toast type and open a toast with the card variant.`})}),(0,X.jsxs)(`section`,{className:`grid gap-4`,children:[(0,X.jsx)(NT,{_orientation:`horizontal`,_label:`Toast type`,_value:r,_options:Hz,_on:{onChange:(e,t)=>{Uz(t)&&i(t)}}}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,X.jsx)(K,{_label:`Open ${r} toast`,_on:{onClick:()=>{a.enqueue({description:`Toasty`,label:`Toast with type '${r}'`,type:r})}}}),(0,X.jsx)(K,{_label:`Close all toasts`,_on:{onClick:()=>{a.closeAll()}}})]})]})]})}}},Gz={toolbar:{basic:()=>{let e=[{type:`button`,_label:`Back`,_hideLabel:!0,_icons:{left:{icon:`kolicon-chevron-left`}}},{type:`button`,_label:`Next`,_hideLabel:!0,_icons:{right:{icon:`kolicon-chevron-right`}}},{type:`hr`},{type:`link`,_href:`#/back-page`,_label:`Simple Link 1`},{type:`link`,_href:`#/back-page`,_label:`Simple Link 3`},{type:`hr`},{type:`button`,_label:`Bold`,_variant:`secondary`},{type:`button`,_label:`Delete`,_icons:{right:{icon:`kolicon-cross`}},_variant:`danger`}];return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolToolbars renders a set of given control elements grouped into one toolbar where focus can be moved using the keyboard arrow keys. The sample features button and link elements.`})}),(0,X.jsx)(Z,{id:`horizontal`,heading:`Orientation horizontal`,fitContent:!0,narrow:!0,children:(0,X.jsx)(QT,{class:`block w-fit`,_label:`Toolbar`,_items:e})}),(0,X.jsx)(Z,{id:`vertical`,heading:`Orientation vertical`,fitContent:!0,children:(0,X.jsx)(QT,{class:`block w-fit`,_label:`Toolbar`,_items:e,_orientation:`vertical`})})]})},disabled:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolToolbars with some of the elements disabled.`})}),(0,X.jsx)(Z,{id:`disabled`,fitContent:!0,children:(0,X.jsx)(QT,{_label:`Toolbar`,class:`block w-fit`,_items:[{type:`button`,_label:`Back`,_disabled:!0,_hideLabel:!0,_icons:{left:{icon:`kolicon-chevron-left`}}},{type:`button`,_label:`Next`,_hideLabel:!0,_icons:{right:{icon:`kolicon-chevron-right`}}},{type:`link`,_href:`#/back-page`,_label:`Simple Link 1`},{type:`link`,_href:`#/back-page`,_disabled:!0,_label:`Simple Link 3`},{type:`button`,_label:`Bold`}]})})]})}},Kz=()=>{let e=[`🐶`,`🐱`,`🐭`,`🐹`,`🐰`,`🦊`,`🐻`,`🐼`,`🐨`,`🐯`,`🦁`,`🐮`,`🐷`,`🐽`,`🐸`,`🐵`];return e[Math.floor(Math.random()*e.length)]},qz={tree:{"basic/:subPage":()=>{let e=(0,w.useContext)(eA),{subPage:t}=KD(),[n,r]=(0,w.useState)(`1 Home`),[i,a]=(0,w.useState)(!1),[o,s]=(0,w.useState)(!1),[c,l]=(0,w.useState)(!0),u=()=>{r(`1 Home ${Kz()}`)},d=n=>({_href:`#/tree/basic/${n}${e?`?hideMenus`:``}`,_active:n===t});return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolTree renders a keyboard accessible nested navigation. Branches of the tree can be collapsed or expanded.`})}),(0,X.jsx)(Z,{id:`tree`,fitContent:!0,children:(0,X.jsxs)($T,{_label:`Sitemap`,class:`block w-fit`,children:[(0,X.jsx)(eE,{_label:n,...d(`home`)}),(0,X.jsxs)(eE,{_label:`2 About (open initially)`,...d(`about`),_open:!0,children:[(0,X.jsx)(eE,{_label:`2.0 Legal`,...d(`legal`)}),(0,X.jsxs)(eE,{_label:`2.1 Team`,...d(`team`),children:[(0,X.jsx)(eE,{_label:`2.1.1. Values`,...d(`values`)}),(0,X.jsxs)(eE,{_label:`2.1.2. Members`,...d(`members`),children:[(0,X.jsx)(eE,{_label:`2.1.2.1 Humans`,...d(`humans`)}),i&&(0,X.jsx)(eE,{_label:`2.1.2.2 Pets`,...d(`pets`)})]}),(0,X.jsx)(eE,{_label:`2.1.3 Locations`,...d(`locations`),children:o&&(0,X.jsxs)(eE,{_label:`2.1.3.1 Europe`,...d(`europe`),children:[(0,X.jsx)(eE,{_label:`2.1.3.1.1 Denmark`,...d(`denmark`)}),(0,X.jsx)(eE,{_label:`2.1.3.1.2 Netherlands`,...d(`netherlands`)})]})})]})]}),c&&(0,X.jsxs)(eE,{_label:`3. Products`,...d(`products`),children:[(0,X.jsxs)(eE,{_label:`3.1 Home`,...d(`home-products`),children:[(0,X.jsx)(eE,{_label:`3.1.1 Refrigerators`,...d(`fridges`)}),(0,X.jsx)(eE,{_label:`3.1.2 Coffee makers`,...d(`coffee-makers`)})]}),(0,X.jsx)(eE,{_label:`3.1 Office`,...d(`office-products`),children:(0,X.jsx)(eE,{_label:`3.2.1 Printers`,...d(`printers`)})})]})]})}),(0,X.jsxs)(`p`,{children:[`Current tree item: `,t??`none`]}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,X.jsx)(K,{_label:`Change label for '1 Home'`,_on:{onClick:u}}),(0,X.jsx)(K,{_label:`Toggle '2.1.2.2 Pets'`,_on:{onClick:()=>a(!i)}}),(0,X.jsx)(K,{_label:`Toggle '2.2.1 Europe' (two levels at once)`,_on:{onClick:()=>s(!o)}}),(0,X.jsx)(K,{_label:`Toggle '3. Products'`,_on:{onClick:()=>l(!c)}})]})]})}}},Jz={version:{basic:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolVersion renders a label showing the given version number.`})}),(0,X.jsx)(Z,{id:`basic`,fitContent:!0,children:(0,X.jsx)(tE,{_label:`1.1.1`})})]}),context:()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows KolVersion inline with text paragraph content.`})}),(0,X.jsx)(Z,{id:`context`,children:(0,X.jsxs)(`p`,{children:[(0,X.jsx)(tE,{_label:`1.0.0`}),` Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.`]})})]})}},Yz=[{left:`Left Example`,center:`Center Example`,right:`Right Example`}],Xz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolAccordion can have other KoliBri components as content. Some are shown here.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(fT,{_label:`With Combobox`,_open:!0,children:(0,X.jsx)(yT,{_label:`Combobox in Accordion`,_suggestions:`['Herr','Frau','Firma']`})}),(0,X.jsx)(fT,{_label:`With Table`,_open:!0,children:(0,X.jsx)(JT,{_label:`Table for demonstration purposes with different text align properties`,_headers:{horizontal:[[{label:`left`,key:`left`,textAlign:`left`,width:300},{label:`center`,key:`center`,textAlign:`center`,width:300},{label:`right`,key:`right`,textAlign:`right`,width:300}]]},_data:Yz})})]})]}),Zz=({label:e})=>{let t=zt.getInstance(document),n=(0,w.useRef)(null),r=(0,w.useRef)(null),i=()=>{t.enqueue({label:`Edit clicked`,description:`The button "edit" has been clicked for ${e}`,type:`info`})},a=()=>{t.enqueue({label:`Delete clicked`,description:`The button "delete" has been clicked for ${e}`,type:`warning`})};return(0,X.jsxs)(`div`,{style:{display:`flex`,gap:`calc(10rem / var(--kolibri-root-font-size, 16))`},onKeyUp:e=>{switch(e.code){case`KeyE`:n.current?.focus(),i();return;case`KeyD`:r.current?.focus(),a();return}},children:[(0,X.jsx)(K,{ref:n,_label:`Edit`,_shortKey:`e`,_on:{onClick:i}}),(0,X.jsx)(K,{ref:r,_label:`Delete`,_shortKey:`d`,_variant:`danger`,_on:{onClick:a}})]})},Qz=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`This scenario demonstrates an interactive table where each row contains buttons with shortcut keys. The shortcut keys provide visual keyboard indicators and are also functionally implemented.`}),(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`strong`,{children:`How to use:`}),` Move focus within one of the "Actions" cells and press "e" to edit or "d" to delete the corresponding row.`]})]}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsx)(Z,{id:`interactive-table-button`,heading:`Interactive Table with Button Shortkeys`,children:(0,X.jsx)(JT,{_label:`Interactive table with shortkey buttons in each row`,_data:[{label:`Row 1`},{label:`Row 2`},{label:`Row 3`},{label:`Row 4`}],_headers:{horizontal:[[{label:`Label`,key:`label`,textAlign:`left`,width:200},{label:`Actions`,key:`actions`,textAlign:`left`,width:150,render:(e,t)=>{let n=t.data;n?.label&&Ij(nE(e)).render((0,X.jsx)(Zz,{label:n.label}))}}]]},_pagination:{_page:1}})})})]}),$z=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example show how different components works with tabIndex.`})}),(0,X.jsxs)(`div`,{className:`w-full grid gap-4`,children:[(0,X.jsx)(vT,{_label:`Button`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(K,{_label:`Button 1, Tabindex 4`,_variant:`primary`,tabIndex:4}),(0,X.jsx)(K,{_disabled:!0,_label:`Button 2, Tabindex 3`,_variant:`primary`,tabIndex:3}),(0,X.jsx)(K,{_label:`Button 3, Tabindex 2`,_variant:`primary`,tabIndex:2}),(0,X.jsx)(K,{_label:`Button 4, Tabindex 1`,_variant:`primary`,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`ButtonLink`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(_T,{_label:`ButtonLink 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(_T,{_disabled:!0,_label:`ButtonLink 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(_T,{_label:`ButtonLink 3, Tabindex 2`,tabIndex:2}),(0,X.jsx)(_T,{_label:`ButtonLink 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`Combobox`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(yT,{_hint:oA,_label:`Combobox 1, Tabindex 4`,_suggestions:yj,_value:`Deutschland`,tabIndex:4}),(0,X.jsx)(yT,{_disabled:!0,_hint:oA,_label:`Combobox 2, Tabindex 3`,_suggestions:yj,_value:`Deutschland`,tabIndex:3}),(0,X.jsx)(yT,{_touched:!0,_hint:oA,_msg:{_type:`error`,_description:aA},_label:`Combobox 3, Tabindex 2`,_suggestions:yj,_value:`Deutschland`,tabIndex:2}),(0,X.jsx)(yT,{_hint:oA,_label:`Combobox 4, Tabindex 1`,_suggestions:yj,_value:`Deutschland`,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`InputCheckbox`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(ET,{_label:`InputCheckbox 4, Tabindex 1`,_value:!1,tabIndex:4}),(0,X.jsx)(ET,{_disabled:!0,_label:`InputCheckbox 3, Tabindex 2`,_value:!1,tabIndex:3}),(0,X.jsx)(ET,{_touched:!0,_label:`InputCheckbox 2, Tabindex 3`,_msg:{_type:`error`,_description:aA},_value:!1,tabIndex:2}),(0,X.jsx)(ET,{_label:`InputCheckbox 1, Tabindex 4`,_value:!1,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`InputColor`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(DT,{_value:`#f08080`,_label:`InputCheckbox 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(DT,{_disabled:!0,_value:`#f08080`,_label:`InputCheckbox 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(DT,{_touched:!0,_value:`#f08080`,_label:`InputCheckbox 3, Tabindex 2`,_msg:{_type:`error`,_description:aA},tabIndex:2}),(0,X.jsx)(DT,{_value:`#f08080`,_label:`InputCheckbox 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`InputDate`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(OT,{_type:`datetime-local`,_label:`InputCheckbox 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(OT,{_disabled:!0,_type:`datetime-local`,_label:`InputCheckbox 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(OT,{_touched:!0,_type:`datetime-local`,_label:`InputCheckbox 3, Tabindex 2`,_msg:{_type:`error`,_description:aA},tabIndex:2}),(0,X.jsx)(OT,{_type:`datetime-local`,_label:`InputCheckbox 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`InputEmail`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(kT,{_label:`InputEmail 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(kT,{_disabled:!0,_label:`InputEmail 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(kT,{_touched:!0,_label:`InputEmail 3, Tabindex 2`,_msg:{_type:`error`,_description:aA},tabIndex:2}),(0,X.jsx)(kT,{_label:`InputEmail 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`InputFile`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(AT,{_label:`InputFile 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(AT,{_disabled:!0,_label:`InputFile 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(AT,{_touched:!0,_label:`InputFile 3, Tabindex 2`,_msg:{_type:`error`,_description:aA},tabIndex:2}),(0,X.jsx)(AT,{_label:`InputFile 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`InputNumber`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(jT,{_label:`InputNumber 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(jT,{_disabled:!0,_label:`InputNumber 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(jT,{_touched:!0,_label:`InputNumber 3, Tabindex 2`,_msg:{_type:`error`,_description:aA},tabIndex:2}),(0,X.jsx)(jT,{_label:`InputNumber 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`InputPassword`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(MT,{_label:`InputPassword 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(MT,{_disabled:!0,_label:`InputPassword 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(MT,{_touched:!0,_label:`InputPassword 3, Tabindex 2`,_msg:{_type:`error`,_description:aA},tabIndex:2}),(0,X.jsx)(MT,{_label:`InputPassword 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`InputRadio`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(NT,{_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`InputRadio 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(NT,{_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`InputRadio 2, Tabindex 3`,_disabled:!0,tabIndex:3}),(0,X.jsx)(NT,{_touched:!0,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`InputRadio 3, Tabindex 2`,_msg:{_type:`error`,_description:aA},tabIndex:2}),(0,X.jsx)(NT,{_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`InputRadio 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`InputRange`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(PT,{_label:`InputRange 1, Tabindex 4`,_min:0,_max:50,tabIndex:4}),(0,X.jsx)(PT,{_disabled:!0,_label:`InputRange 2, Tabindex 3`,_min:0,_max:50,tabIndex:3}),(0,X.jsx)(PT,{_touched:!0,_label:`InputRange 3, Tabindex 2`,_min:0,_max:50,_msg:{_type:`error`,_description:aA},tabIndex:2}),(0,X.jsx)(PT,{_label:`InputRange 4, Tabindex 1`,_min:0,_max:50,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`InputText`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(J,{_label:`InputText 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(J,{_disabled:!0,_label:`InputText 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(J,{_touched:!0,_label:`InputText 3, Tabindex 2`,_msg:{_type:`error`,_description:aA},tabIndex:2}),(0,X.jsx)(J,{_label:`InputText 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`LinkButton`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(IT,{_href:`#/back-page`,_label:`InputText 1, Tabindex 4`,_variant:`primary`,tabIndex:4}),(0,X.jsx)(IT,{_disabled:!0,_href:`#/back-page`,_label:`InputText 2, Tabindex 3`,_variant:`primary`,tabIndex:3}),(0,X.jsx)(IT,{_href:`#/back-page`,_label:`InputText 3, Tabindex 2`,_variant:`primary`,tabIndex:2}),(0,X.jsx)(IT,{_href:`#/back-page`,_label:`InputText 4, Tabindex 1`,_variant:`primary`,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`Link`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(Y,{_href:`#/back-page`,_label:`InputText 1, Tabindex 4`,tabIndex:4}),(0,X.jsx)(Y,{_disabled:!0,_href:`#/back-page`,_label:`InputText 2, Tabindex 3`,tabIndex:3}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:`InputText 3, Tabindex 2`,tabIndex:2}),(0,X.jsx)(Y,{_href:`#/back-page`,_label:`InputText 4, Tabindex 1`,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`SingleSelect`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(WT,{_label:`InputText 1, Tabindex 4`,_options:vj,_value:`de`,tabIndex:4}),(0,X.jsx)(WT,{_disabled:!0,_label:`InputText 2, Tabindex 3`,_options:vj,_value:`de`,tabIndex:3}),(0,X.jsx)(WT,{_touched:!0,_label:`InputText 3, Tabindex 2`,_options:vj,_msg:{_type:`error`,_description:aA},_value:`de`,tabIndex:2}),(0,X.jsx)(WT,{_label:`InputText 4, Tabindex 1`,_options:vj,_value:`de`,tabIndex:1})]})}),(0,X.jsx)(vT,{_label:`SplitButton`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(qT,{_label:`InputText 1, Tabindex 4`,tabIndex:4,children:`Dropdown-Inhalt`}),(0,X.jsx)(qT,{_label:`InputText 2, Tabindex 3`,tabIndex:3,_disabled:!0,children:`Dropdown-Inhalt`}),(0,X.jsx)(qT,{_label:`InputText 3, Tabindex 2`,tabIndex:2,children:`Dropdown-Inhalt`}),(0,X.jsx)(qT,{_label:`InputText 4, Tabindex 1`,tabIndex:1,children:`Dropdown-Inhalt`})]})}),(0,X.jsx)(vT,{_label:`Textarea`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid sm:flex flex-wrap gap-4 items-end`,children:[(0,X.jsx)(ZT,{_label:`Textarea 1, Tabindex 4`,_rows:3,_placeholder:`Placeholder`,tabIndex:4}),(0,X.jsx)(ZT,{_disabled:!0,_label:`Textarea 2, Tabindex 3`,_rows:3,_placeholder:`Placeholder`,tabIndex:3}),(0,X.jsx)(ZT,{_touched:!0,_label:`Textarea 3, Tabindex 2`,_rows:3,_placeholder:`Placeholder`,_msg:{_type:`error`,_description:aA},tabIndex:2}),(0,X.jsx)(ZT,{_label:`Textarea 4, Tabindex 1`,_rows:3,_placeholder:`Placeholder`,tabIndex:1})]})})]})]}),eB=()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample demonstrates how tooltip animation duration and width can be customized via`,(0,X.jsx)(`code`,{children:`--kolibri-tooltip-animation-duration`}),` and `,(0,X.jsx)(`code`,{children:`--kol-tooltip-width`}),`.`]})}),(0,X.jsxs)(`div`,{className:`flex justify-center items-center gap-4`,children:[(0,X.jsx)(K,{_label:`Custom duration`,_hideLabel:!0,style:{"--kolibri-tooltip-animation-duration":`2500ms`},_icons:`fa-solid fa-clock`,_on:t}),(0,X.jsx)(K,{_label:`Custom width`,_hideLabel:!0,style:{"--kol-tooltip-width":`400px`},_icons:`kolicon-chevron-up`,_on:t})]})]})},tB=()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`KolForm with KolInputDate inside to make sure enter on the date icon does not submit the form.`})}),(0,X.jsxs)(CT,{_on:{onSubmit:()=>{console.error(`submitted`),alert(`submitted`)}},children:[(0,X.jsx)(OT,{_label:`date`,_name:`datum`}),(0,X.jsx)(K,{_label:`Submit`,_type:`submit`})]})]}),nB=[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}],rB=()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`This example shows how deactivated interactive elements are displayed.`}),(0,X.jsxs)(`ul`,{children:[(0,X.jsx)(`li`,{children:`Deactivated interactive elements pose a particular challenge for accessibility.`}),(0,X.jsx)(`li`,{children:`It must not be possible to focus on deactivated interactive elements, otherwise the tab paths will be unnecessarily extended.`}),(0,X.jsx)(`li`,{children:`Deactivated interactive elements should be labelled clearly and legibly.`}),(0,X.jsx)(`li`,{children:`Deactivated interactive elements have a tooltip for sighted people and aria labelling for the screen readers reading mode if they are represented by an interpretable graphic.`})]}),(0,X.jsx)(`p`,{children:`This implementation ensures standardized use for all users.`})]}),(0,X.jsxs)(`div`,{className:`w-full grid gap-4`,children:[(0,X.jsx)(vT,{_label:`Button`,_level:0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_label:`Label`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_label:`Label`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`fa-solid fa-house`,_label:`Label`,_on:t}),(0,X.jsx)(K,{_disabled:!0,_hideLabel:!0,_icons:`fa-solid fa-house`,_label:`Label`,_on:t})]})}),(0,X.jsx)(vT,{_label:`ButtonLink`,_level:0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(_T,{_label:`Label`}),(0,X.jsx)(_T,{_disabled:!0,_label:`Label`}),(0,X.jsx)(_T,{_hideLabel:!0,_icons:`fa-solid fa-house`,_label:`Label`}),(0,X.jsx)(_T,{_hideLabel:!0,_icons:`fa-solid fa-house`,_disabled:!0,_label:`Label`})]})}),(0,X.jsx)(vT,{_label:`Link`,_level:0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(Y,{_href:`#`,_label:`Label`}),(0,X.jsx)(Y,{_disabled:!0,_href:`#`,_label:`Label`}),(0,X.jsx)(Y,{_hideLabel:!0,_href:`#`,_icons:`fa-solid fa-house`,_label:`Label`}),(0,X.jsx)(Y,{_disabled:!0,_hideLabel:!0,_href:`#`,_icons:`fa-solid fa-house`,_label:`Label`})]})}),(0,X.jsx)(vT,{_label:`LinkButton`,_level:0,children:(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(IT,{_href:`#`,_label:`Label`}),(0,X.jsx)(IT,{_disabled:!0,_href:`#`,_label:`Label`}),(0,X.jsx)(IT,{_hideLabel:!0,_href:`#`,_icons:`fa-solid fa-house`,_label:`Label`}),(0,X.jsx)(IT,{_disabled:!0,_hideLabel:!0,_href:`#`,_icons:`fa-solid fa-house`,_label:`Label`})]})}),(0,X.jsx)(vT,{_label:`Accordion`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(fT,{_label:`Label`,children:`Content`}),(0,X.jsx)(fT,{_disabled:!0,_label:`Label`,children:`Content`}),(0,X.jsx)(fT,{_label:`Label (open)`,_open:!0,children:`Content`}),(0,X.jsx)(fT,{_disabled:!0,_label:`Label (open)`,_open:!0,children:`Content`})]})}),(0,X.jsx)(vT,{_label:`Details`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(bT,{_label:`Label`,children:`Content`}),(0,X.jsx)(bT,{_disabled:!0,_label:`Label`,children:`Content`}),(0,X.jsx)(bT,{_label:`Label (open)`,_open:!0,children:`Content`}),(0,X.jsx)(bT,{_disabled:!0,_label:`Label (open)`,_open:!0,children:`Content`})]})}),[ET,DT,OT,kT,AT,jT,MT,PT,J].map(e=>{let t=e.render.displayName;return(0,X.jsx)(vT,{_label:t,_level:0,children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(e,{_label:`Label`}),(0,X.jsx)(e,{_disabled:!0,_label:`Label`}),(0,X.jsx)(e,{_hideLabel:!0,_label:`Label`}),(0,X.jsx)(e,{_disabled:!0,_hideLabel:!0,_label:`Label`})]})},t)}),[NT,UT].map(e=>{let t=e.render.displayName;return(0,X.jsx)(vT,{_label:t,_level:0,children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(e,{_label:`Label`,_options:nB}),(0,X.jsx)(e,{_disabled:!0,_label:`Label`,_options:nB}),(0,X.jsx)(e,{_hideLabel:!0,_label:`Label`,_options:nB}),(0,X.jsx)(e,{_disabled:!0,_hideLabel:!0,_label:`Label`,_options:nB})]})},t)}),(0,X.jsx)(vT,{_label:`KolTextarea`,_level:0,children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(ZT,{_label:`Label`,_rows:3}),(0,X.jsx)(ZT,{_disabled:!0,_label:`Label`,_rows:3}),(0,X.jsx)(ZT,{_hideLabel:!0,_label:`Label`,_rows:3}),(0,X.jsx)(ZT,{_disabled:!0,_hideLabel:!0,_label:`Label`,_rows:3})]})})]})]})},iB=()=>{let e=new Map;return e.set(`accordion`,(e,t)=>(0,X.jsx)(fT,{className:`w-full`,_label:`Accordion here`,ref:t})),e.set(`badge`,(e,t)=>(0,X.jsx)(hT,{className:`w-full`,_label:`Badge with button`,_smartButton:{_label:`Action`,_icons:`kolicon-house`,_on:{onClick:()=>{}}},ref:t})),e.set(`button`,(e,t)=>(0,X.jsx)(K,{_label:`Button here`,ref:t})),e.set(`buttonLink`,(e,t)=>(0,X.jsx)(_T,{_label:`ButtonLink here`,ref:t})),e.set(`card`,(e,t)=>(0,X.jsx)(vT,{className:`w-full`,_label:`Card with link here`,_href:`#`,ref:t})),e.set(`combobox`,(e,t)=>(0,X.jsx)(yT,{className:`w-full`,_label:`KolCombobox here`,_suggestions:[],ref:t})),e.set(`details`,(e,t)=>(0,X.jsx)(bT,{className:`w-full`,_label:`Details here`,ref:t,children:`detailed details`})),e.set(`inputCheckbox`,(e,t)=>(0,X.jsx)(ET,{className:`w-full`,_name:`checkbox`,_label:`Checkbox`,ref:t})),e.set(`inputColor`,(e,t)=>(0,X.jsx)(DT,{className:`w-full`,_name:`color`,_label:`Color`,ref:t})),e.set(`inputDate`,(e,t)=>(0,X.jsx)(OT,{className:`w-full`,_name:`date`,_label:`Date`,ref:t})),e.set(`inputEmail`,(e,t)=>(0,X.jsx)(kT,{className:`w-full`,_name:`email`,_label:`Email`,ref:t})),e.set(`inputFile`,(e,t)=>(0,X.jsx)(AT,{className:`w-full`,_name:`file`,_label:`File`,ref:t})),e.set(`inputFileMultiple`,(e,t)=>(0,X.jsx)(AT,{className:`w-full`,_name:`file`,_label:`Files (multiple)`,_multiple:!0,ref:t})),e.set(`inputNumber`,(e,t)=>(0,X.jsx)(jT,{className:`w-full`,_name:`number`,_label:`Number`,ref:t})),e.set(`inputPassword`,(e,t)=>(0,X.jsx)(MT,{className:`w-full`,_name:`password`,_label:`Password`,ref:t})),e.set(`inputRadio`,(e,t)=>(0,X.jsx)(NT,{className:`w-full`,_name:`radio`,_label:`Radio`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}],_value:`A`,ref:t})),e.set(`inputRange`,(e,t)=>(0,X.jsx)(PT,{className:`w-full`,_name:`range`,_label:`Range`,ref:t})),e.set(`inputText`,(e,t)=>(0,X.jsx)(J,{className:`w-full`,_name:`text`,_label:`Text`,ref:t})),e.set(`link`,(e,t)=>(0,X.jsx)(Y,{className:`w-full`,_label:`Link here`,_href:`#`,ref:t})),e.set(`linkButton`,(e,t)=>(0,X.jsx)(`div`,{children:(0,X.jsx)(IT,{_label:`LinkButton here`,_href:`#`,ref:t})})),e.set(`popoverButton`,(e,t)=>(0,X.jsx)(BT,{_label:`PopoverButton here`,ref:t})),e.set(`select`,(e,t)=>(0,X.jsx)(UT,{className:`w-full`,_name:`select`,_label:`Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}],ref:t})),e.set(`selectMultiple`,(e,t)=>(0,X.jsx)(UT,{className:`w-full`,_name:`select`,_label:`Select (multiple)`,_multiple:!0,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}],_rows:2,ref:t})),e.set(`singleSelect`,(e,t)=>(0,X.jsx)(WT,{className:`w-full`,_name:`singleSelect`,_label:`Single Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}],ref:t})),e.set(`skipNav`,(e,t)=>(0,X.jsx)(GT,{_label:`SkipNav`,_links:[{_label:`Skip to main content`,_href:`#main`}],ref:t})),e.set(`splitButton`,(e,t)=>(0,X.jsx)(qT,{_label:`SplitButton here`,ref:t})),e.set(`tabs`,(e,t)=>(0,X.jsx)(XT,{className:`w-full`,_label:`Tabs here`,_tabs:[{_label:`Tab 1`},{_label:`Tab 2`},{_label:`Tab 3`}],ref:t,children:`Tab content`})),e.set(`textarea`,(e,t)=>(0,X.jsx)(ZT,{className:`w-full`,_name:`textarea`,_label:`Textarea`,_rows:5,ref:t})),e.set(`toolbar`,(e,t)=>(0,X.jsx)(QT,{className:`w-full`,_label:`Toolbar here`,_items:[{type:`button`,_label:`Action 1`},{type:`button`,_label:`Action 2`}],ref:t})),e.set(`tree`,(e,t)=>(0,X.jsxs)($T,{className:`w-full`,_label:`Tree here`,ref:t,children:[(0,X.jsx)(eE,{_label:`1 Home`,_href:`#`}),(0,X.jsxs)(eE,{_label:`2 Products`,_href:`#`,_open:!0,children:[(0,X.jsx)(eE,{_label:`2.1 Electronics`,_href:`#`}),(0,X.jsx)(eE,{_label:`2.2 Furniture`,_href:`#`})]}),(0,X.jsx)(eE,{_label:`3 Services`,_href:`#`})]})),e},aB=e=>{let t=[...(0,w.useMemo)(()=>iB(),[]).keys()].map(e=>e);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample serves for automated tests of the focus state for input components. When loading one of the examples linked below, focus will be set on the element initially. When testing manually, you may have to reload the page after opening an example.`})}),e.invalidComponent&&(0,X.jsx)(pT,{_type:`error`,_variant:`card`,children:`Component not found.`}),(0,X.jsx)(q,{_level:2,_label:`Focus Test Cases`}),(0,X.jsx)(`ul`,{children:t.map(e=>(0,X.jsx)(`li`,{children:(0,X.jsx)(Y,{_label:e,_href:`#/scenarios/focus-elements?component=${e}`})},e))})]})},oB=()=>{let e=(0,w.useMemo)(()=>iB(),[]),[t]=ik(),n=t.get(`component`),r=n?e.get(n):void 0,i=(0,w.useMemo)(()=>r?(0,w.forwardRef)(r):null,[r]),a=(0,w.useCallback)(e=>{e&&e.focus()},[n]);return n?i?(0,X.jsx)(`div`,{children:(0,X.jsx)(i,{ref:a})}):(0,X.jsx)(aB,{invalidComponent:!0}):(0,X.jsx)(aB,{})},sB=[{name:`Elephant`,species:`Loxodonta`,habitat:`Savannah`,diet:`Herbivore`,lifespan:60},{name:`Tiger`,species:`Panthera tigris`,habitat:`Forest`,diet:`Carnivore`,lifespan:20},{name:`Kangaroo`,species:`Macropus`,habitat:`Grassland`,diet:`Herbivore`,lifespan:23},{name:`Penguin`,species:`Aptenodytes forsteri`,habitat:`Antarctica`,diet:`Carnivore`,lifespan:20},{name:`Giraffe`,species:`Giraffa camelopardalis`,habitat:`Savannah`,diet:`Herbivore`,lifespan:25},{name:`Panda`,species:`Ailuropoda melanoleuca`,habitat:`Forest`,diet:`Herbivore`,lifespan:20},{name:`Dolphin`,species:`Delphinus delphis`,habitat:`Ocean`,diet:`Carnivore`,lifespan:40},{name:`Eagle`,species:`Aquila chrysaetos`,habitat:`Mountains`,diet:`Carnivore`,lifespan:30},{name:`Koala`,species:`Phascolarctos cinereus`,habitat:`Forest`,diet:`Herbivore`,lifespan:18},{name:`Lion`,species:`Panthera leo`,habitat:`Savannah`,diet:`Carnivore`,lifespan:15},{name:`Zebra`,species:`Equus quagga`,habitat:`Savannah`,diet:`Herbivore`,lifespan:25},{name:`Wolf`,species:`Canis lupus`,habitat:`Forest`,diet:`Carnivore`,lifespan:14},{name:`Cheetah`,species:`Acinonyx jubatus`,habitat:`Savannah`,diet:`Carnivore`,lifespan:12},{name:`Polar Bear`,species:`Ursus maritimus`,habitat:`Arctic`,diet:`Carnivore`,lifespan:25},{name:`Rhinoceros`,species:`Rhinocerotidae`,habitat:`Savannah`,diet:`Herbivore`,lifespan:40},{name:`Hippopotamus`,species:`Hippopotamus amphibius`,habitat:`Rivers`,diet:`Herbivore`,lifespan:45},{name:`Chimpanzee`,species:`Pan troglodytes`,habitat:`Forest`,diet:`Omnivore`,lifespan:50},{name:`Orangutan`,species:`Pongo`,habitat:`Forest`,diet:`Omnivore`,lifespan:45},{name:`Leopard`,species:`Panthera pardus`,habitat:`Forest`,diet:`Carnivore`,lifespan:17},{name:`Hyena`,species:`Hyaenidae`,habitat:`Savannah`,diet:`Carnivore`,lifespan:25},{name:`Crocodile`,species:`Crocodylidae`,habitat:`Rivers`,diet:`Carnivore`,lifespan:70},{name:`Alligator`,species:`Alligatoridae`,habitat:`Swamps`,diet:`Carnivore`,lifespan:50},{name:`Ostrich`,species:`Struthio camelus`,habitat:`Savannah`,diet:`Omnivore`,lifespan:40},{name:`Flamingo`,species:`Phoenicopterus`,habitat:`Lakes`,diet:`Omnivore`,lifespan:30},{name:`Peacock`,species:`Pavo cristatus`,habitat:`Forest`,diet:`Omnivore`,lifespan:20},{name:`Parrot`,species:`Psittaciformes`,habitat:`Forest`,diet:`Omnivore`,lifespan:50},{name:`Toucan`,species:`Ramphastidae`,habitat:`Forest`,diet:`Omnivore`,lifespan:20},{name:`Sloth`,species:`Folivora`,habitat:`Forest`,diet:`Herbivore`,lifespan:30},{name:`Armadillo`,species:`Dasypodidae`,habitat:`Grassland`,diet:`Omnivore`,lifespan:15},{name:`Anteater`,species:`Myrmecophaga tridactyla`,habitat:`Forest`,diet:`Insectivore`,lifespan:14},{name:`Bat`,species:`Chiroptera`,habitat:`Caves`,diet:`Omnivore`,lifespan:20},{name:`Otter`,species:`Lutrinae`,habitat:`Rivers`,diet:`Carnivore`,lifespan:16},{name:`Beaver`,species:`Castor`,habitat:`Rivers`,diet:`Herbivore`,lifespan:24},{name:`Moose`,species:`Alces alces`,habitat:`Forest`,diet:`Herbivore`,lifespan:20},{name:`Deer`,species:`Cervidae`,habitat:`Forest`,diet:`Herbivore`,lifespan:20},{name:`Bison`,species:`Bison bison`,habitat:`Grassland`,diet:`Herbivore`,lifespan:20},{name:`Buffalo`,species:`Syncerus caffer`,habitat:`Savannah`,diet:`Herbivore`,lifespan:25},{name:`Camel`,species:`Camelus`,habitat:`Desert`,diet:`Herbivore`,lifespan:50},{name:`Llama`,species:`Lama glama`,habitat:`Mountains`,diet:`Herbivore`,lifespan:20},{name:`Alpaca`,species:`Vicugna pacos`,habitat:`Mountains`,diet:`Herbivore`,lifespan:20},{name:`Goat`,species:`Capra aegagrus hircus`,habitat:`Mountains`,diet:`Herbivore`,lifespan:18},{name:`Sheep`,species:`Ovis aries`,habitat:`Grassland`,diet:`Herbivore`,lifespan:12},{name:`Cow`,species:`Bos taurus`,habitat:`Grassland`,diet:`Herbivore`,lifespan:20},{name:`Pig`,species:`Sus scrofa domesticus`,habitat:`Farm`,diet:`Omnivore`,lifespan:15},{name:`Chicken`,species:`Gallus gallus domesticus`,habitat:`Farm`,diet:`Omnivore`,lifespan:10}],cB=[{_icons:`fa-solid fa-chart-pie`,_label:`Erster Tab`},{_icons:`fa-solid fa-calendar`,_label:`Zweiter Tab`,_disabled:!0},{_icons:`fa-solid fa-briefcase`,_label:`Deaktivierter Tab`,_disabled:!0},{_icons:`fa-solid fa-address-card`,_label:`Letzter Tab`,_disabled:!0}],lB={horizontal:[[{key:`name`,label:`Name`,textAlign:`left`},{key:`species`,label:`Species`,textAlign:`left`},{key:`habitat`,label:`Habitat`,textAlign:`left`},{key:`diet`,label:`Diet`,textAlign:`left`},{key:`lifespan`,label:`lifespan`,textAlign:`right`}]]};function uB(){return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This advanced scenario demonstrates a complex layout with KolTable featuring horizontal scrollbar within a tab-based navigation system. The table automatically calculates its minimum width based on column definitions and provides smooth horizontal scrolling when content exceeds the container width. This example showcases real-world usage in a dashboard-like interface with sidebar navigation and tabbed content areas.`})}),(0,X.jsxs)(`div`,{className:`mainlayout`,children:[(0,X.jsx)(`aside`,{className:`nav-area`,children:(0,X.jsx)(RT,{_label:`Main navigation`,_links:uI,_hasCompactButton:!0,_hasIconsWhenExpanded:!0})}),(0,X.jsx)(`div`,{className:`content`,children:(0,X.jsxs)(XT,{_tabs:cB,_align:`top`,_label:`Demo Tabs`,children:[(0,X.jsx)(`div`,{style:{overflow:`hidden`},children:(0,X.jsx)(JT,{_label:`Table for demonstration purposes with horizontal scrollbar`,_headers:lB,_data:sB,_pagination:{_page:1},className:`block`})}),(0,X.jsx)(`div`,{}),(0,X.jsx)(`div`,{}),(0,X.jsx)(`div`,{})]})})]})]})}var dB=()=>{let e=`Unrecognized phone number.`;return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`This sample shows how input components can be grouped together with just one error message, without repeating the message for every field.`}),(0,X.jsx)(`p`,{children:`The sample only demonstrates how the errors can be displayed, an actual validation logic is not part of the example.`})]}),(0,X.jsxs)(`fieldset`,{children:[(0,X.jsx)(`legend`,{children:`Phone number`}),(0,X.jsx)(pT,{_alert:!0,_type:`error`,_label:e}),(0,X.jsxs)(`div`,{className:`grid grid-cols-3 gap-4 max-w-2xl`,children:[(0,X.jsx)(UT,{_options:[{label:`United States +1`,value:`1`},{label:`Greece +30 `,value:`30`},{label:`Germany +49`,value:`49`},{label:`Japan +81`,value:`81`}],_label:`CountryCode `,_msg:{_description:e,_type:`error`},_touched:!0,_hideMsg:!0}),(0,X.jsx)(J,{_label:`Area code`,_msg:{_description:e,_type:`error`},_touched:!0,_hideMsg:!0}),(0,X.jsx)(J,{_label:`Local number`,_msg:{_description:e,_type:`error`},_touched:!0,_hideMsg:!0})]})]}),(0,X.jsxs)(`fieldset`,{className:`mt`,children:[(0,X.jsx)(`legend`,{children:`Pizza toppings`}),(0,X.jsx)(pT,{_alert:!0,_type:`error`,_label:`Choose at least two and up to five toppings.`}),[`Mushrooms`,`Bell Peppers`,`Onions`,`Olives`,`Spinach`,`Tomatoes`,`Artichokes`,`Zucchini`,`Jalapeños`,`Basil`].map(t=>(0,X.jsx)(ET,{_label:t,_msg:{_description:e,_type:`error`},_touched:!0,_hideMsg:!0},t))]})]})},fB=(0,w.createContext)(void 0),pB=(0,w.createContext)(!1),mB=e=>{let t=(0,w.useRef)(null),[n,r]=(0,w.useState)(void 0),[i,a]=(0,w.useState)(e.inputProps._value),o=e.formatter||JSON.stringify,s=(0,w.useContext)(fB),c=(0,w.useContext)(pB),l=(0,w.useCallback)(async()=>{let e=await t.current?.getValue();r(e)},[]);(0,w.useEffect)(()=>{let e=()=>{l()};return s?.addEventListener(`runAll`,e),()=>{s?.removeEventListener(`runAll`,e)}},[s,l]);let u=Object.fromEntries([`onInput`,`onChange`,`onBlur`,`onClick`,`onFocus`,`onMouseDown`].map(t=>[t,(n,r)=>{c&&console.log(e.inputProps._label,t,r,n),t===`onInput`&&a(r)}]));return(0,X.jsx)(X.Fragment,{children:(0,X.jsxs)(`div`,{className:`grid grid-cols-3 items-end gap-4`,"data-testid":e.testId,children:[(0,X.jsx)(e.InputComponent,{ref:t,_on:u,...e.inputProps,_value:i}),(0,X.jsx)(K,{_label:`getValue()`,_on:{onClick:()=>{l()}}}),(0,X.jsx)(`pre`,{className:`text-base`,children:o(n)})]})})},hB=()=>{let e=(0,w.useMemo)(()=>new EventTarget,[]),[t,n]=(0,w.useState)(!0);return(0,X.jsx)(X.Fragment,{children:(0,X.jsx)(fB.Provider,{value:e,children:(0,X.jsxs)(pB.Provider,{value:t,children:[(0,X.jsx)(Q,{children:(0,X.jsxs)(`p`,{children:[`This sample shows how the input components `,(0,X.jsx)(`code`,{children:`getValue()`}),` method works. It's called when clicking the "getValue()" button and prints the current value right next to itself.`]})}),(0,X.jsxs)(`section`,{className:`w-full flex flex-col`,children:[(0,X.jsx)(vT,{_label:`Sample options`,className:`block ha mb-8`,children:(0,X.jsx)(ET,{_label:`Log events to console`,_value:!0,_checked:t,_on:{onChange:(e,t)=>n(t)}})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(mB,{testId:`scenario-inputText`,InputComponent:J,inputProps:{_label:`InputText`}}),(0,X.jsx)(mB,{testId:`scenario-inputCheckboxString`,InputComponent:ET,inputProps:{_label:`KolInputCheckbox (value)`,_value:`Checkbox True Value`}}),(0,X.jsx)(mB,{testId:`scenario-inputCheckboxBoolean`,InputComponent:ET,inputProps:{_label:`KolInputCheckbox (boolean)`}}),(0,X.jsx)(mB,{testId:`scenario-inputColor`,InputComponent:DT,inputProps:{_label:`KolInputColor`}}),(0,X.jsx)(mB,{testId:`scenario-inputDate`,InputComponent:OT,inputProps:{_label:`KolInputDate`}}),(0,X.jsx)(mB,{testId:`scenario-inputEmail`,InputComponent:kT,inputProps:{_label:`KolInputEmail`}}),(0,X.jsx)(mB,{testId:`scenario-inputFile`,InputComponent:AT,inputProps:{_label:`KolInputFile`},formatter:e=>e instanceof FileList?`FileList{${Array.from(e).map(e=>e.name).join(`, `)}}`:JSON.stringify(e)}),(0,X.jsx)(mB,{testId:`scenario-inputNumber`,InputComponent:jT,inputProps:{_label:`KolInputNumber`}}),(0,X.jsx)(mB,{testId:`scenario-inputPassword`,InputComponent:MT,inputProps:{_label:`KolInputPassword`}}),(0,X.jsx)(mB,{testId:`scenario-inputRange`,InputComponent:PT,inputProps:{_label:`KolInputRange`}}),(0,X.jsx)(mB,{testId:`scenario-inputRadio`,InputComponent:NT,inputProps:{_label:`KolInputRadio`,_orientation:`horizontal`,_options:[{label:`New York`,value:`New York`},{label:`Rio de Janeiro`,value:`Rio de Janeiro`},{label:`Rosenheim`,value:`Rosenheim`}],_value:`New York`}}),(0,X.jsx)(mB,{testId:`scenario-select`,InputComponent:UT,inputProps:{_label:`KolSelect`,_options:[{label:`New York`,value:`New York`},{label:`Rio de Janeiro`,value:`Rio de Janeiro`},{label:`Rosenheim`,value:`Rosenheim`}]}}),(0,X.jsx)(mB,{testId:`scenario-singleSelect`,InputComponent:WT,inputProps:{_label:`KolSingleSelect`,_options:[{label:`New York`,value:`New York`},{label:`Rio de Janeiro`,value:`Rio de Janeiro`},{label:`Rosenheim`,value:`Rosenheim`}],_value:`Rosenheim`}}),(0,X.jsx)(mB,{testId:`scenario-combobox`,InputComponent:yT,inputProps:{_label:`KolCombobox`,_suggestions:yj,_value:`Deutschland`}}),(0,X.jsx)(mB,{testId:`scenario-textarea`,InputComponent:ZT,inputProps:{_label:`KolTextarea`}}),(0,X.jsx)(mB,{testId:`scenario-button`,InputComponent:K,inputProps:{_label:`KolButton`,_variant:`ghost`,_value:`KolButton value`}}),(0,X.jsx)(mB,{testId:`scenario-buttonLink`,InputComponent:_T,inputProps:{_label:`KolButtonLink`,_value:`KolButtonLink value`}}),(0,X.jsxs)(`div`,{className:`grid grid-cols-3 gap-4`,children:[(0,X.jsx)(`div`,{}),(0,X.jsx)(K,{_label:`Run all`,_variant:`primary`,_on:{onClick:()=>{e.dispatchEvent(new Event(`runAll`))}}})]})]})]})]})})})},gB=()=>{let e=e=>[{text:e},{text:`partly english`,lang:`en`},{text:` Label`,lang:`de`}],t=[{_label:e(`Link `),_href:`#/`},{_label:e(`Link `),_href:`#/`}],n=[{_label:e(`Tab `)},{_label:`Second Tab`}];return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`Label can use additional language attributes for screenreaders.`})}),(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(Z,{id:`label-lang-accordion`,children:(0,X.jsx)(fT,{_label:e(`Accordion `),children:(0,X.jsx)(`p`,{children:`Contents Accordion`})})}),(0,X.jsx)(Z,{id:`label-lang-alert`,children:(0,X.jsx)(pT,{_label:e(`Alert `),children:`This is the text of the alert.`})}),(0,X.jsx)(Z,{id:`label-lang-badge`,children:(0,X.jsx)(hT,{_label:e(`Badge `)})}),(0,X.jsx)(Z,{id:`label-lang-breadcrumb`,children:(0,X.jsx)(gT,{_label:`Breadcrumb`,_links:t})}),(0,X.jsx)(Z,{id:`label-lang-button`,children:(0,X.jsx)(K,{_label:e(`Button `)})}),(0,X.jsx)(Z,{id:`label-lang-button-link`,children:(0,X.jsx)(_T,{_label:e(`ButtonLink `)})}),(0,X.jsx)(Z,{id:`label-lang-card`,children:(0,X.jsx)(vT,{_label:e(`Card `),children:`Inhaltsbereich`})}),(0,X.jsx)(Z,{id:`label-lang-details`,children:(0,X.jsx)(bT,{_label:e(`Details `),children:(0,X.jsx)(`p`,{children:`Contents Details`})})}),(0,X.jsx)(Z,{id:`label-lang-heading`,children:(0,X.jsx)(q,{_label:e(`Heading `),_level:1})}),(0,X.jsx)(Z,{id:`label-lang-checkbox`,children:(0,X.jsx)(ET,{_label:e(`Checkbox`)})}),(0,X.jsx)(Z,{id:`label-lang-input`,children:(0,X.jsx)(J,{_label:e(`Input `)})}),(0,X.jsx)(Z,{id:`label-lang-link`,children:(0,X.jsx)(Y,{_label:e(`Link `),_href:``})}),(0,X.jsx)(Z,{id:`label-lang-link-button`,children:(0,X.jsx)(IT,{_label:e(`LinkButton `),_href:``})}),(0,X.jsx)(Z,{id:`label-lang-meter`,children:(0,X.jsx)(LT,{_label:e(`Meter `),_max:1024,_min:0,_unit:`MB`,_value:512})}),(0,X.jsx)(Z,{id:`label-lang-nav`,children:(0,X.jsx)(RT,{_label:`Navi`,_links:t})}),(0,X.jsx)(Z,{id:`label-lang-popover`,children:(0,X.jsx)(BT,{_label:e(`Popover `),children:`Text`})}),(0,X.jsx)(Z,{id:`label-lang-progress`,children:(0,X.jsx)(VT,{_label:e(`Progress `),_max:100,_value:45,_variant:`bar`})}),(0,X.jsx)(Z,{id:`label-lang-quote`,children:(0,X.jsx)(HT,{_href:`https://public-ui.github.io/docs`,_label:e(`Quote `),_quote:`Quote.`,_variant:`inline`})}),(0,X.jsx)(Z,{id:`label-lang-table`,children:(0,X.jsx)(JT,{_label:e(`Table `),_data:[],_headers:{horizontal:[[{label:`ID`,key:`id`,width:160}]]}})}),(0,X.jsx)(Z,{id:`label-lang-tabs`,children:(0,X.jsx)(XT,{_tabs:n,_label:`Regular tabs`})}),(0,X.jsx)(Z,{id:`label-lang-toolbar`,children:(0,X.jsx)(QT,{_label:`Toolbar`,_items:[{type:`button`,_label:e(`Button `)},{type:`link`,_label:e(`Link `),_href:`#`}]})}),(0,X.jsx)(Z,{id:`label-lang-tree`,children:(0,X.jsx)($T,{_label:`Tree`,children:(0,X.jsx)(eE,{_label:e(`TreeItem `),_href:`#/`})})})]})]})},_B=()=>{let[e,t]=(0,w.useState)(100),[n,r]=(0,w.useState)(null),[i,a]=(0,w.useState)(null),[o,s]=(0,w.useState)(!1),c={onInput:(e,n)=>{t(n)}},l=(e,t)=>{switch(e){case`text`:return(0,X.jsx)(J,{_label:`TextInput #${t}`},t);case`number`:return(0,X.jsx)(jT,{_label:`NumberInput #${t}`},t);case`checkbox`:return(0,X.jsx)(ET,{_label:`Checkbox #${t}`},t);default:return null}},u=()=>{if(!n)return null;let t=[];for(let r=1;r<=e;r++)t.push(l(n,r));return t},d=e=>{s(!0),a(null);let t=performance.now();r(e),setTimeout(()=>{let e=performance.now();a(e-t),s(!1)},0)};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example renders many KoliBri components to show the performance. Choose a component type and set the number of instances to render.`})}),(0,X.jsxs)(`div`,{className:`w-full mb-6`,children:[(0,X.jsx)(`div`,{className:`flex flex-wrap items-end gap-4 mb-4`,children:(0,X.jsx)(jT,{_label:`Number of components`,_value:e,_min:1,_max:500,_on:c})}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4 mb-6`,children:[(0,X.jsx)(K,{_label:`Render TextInputs`,_variant:`primary`,onClick:()=>d(`text`)}),(0,X.jsx)(K,{_label:`Render NumberInputs`,_variant:`primary`,onClick:()=>d(`number`)}),(0,X.jsx)(K,{_label:`Render Checkboxes`,_variant:`primary`,onClick:()=>d(`checkbox`)}),(0,X.jsx)(K,{_label:`Clear`,_variant:`secondary`,onClick:()=>{r(null),a(null),s(!1)}})]})]}),n&&(0,X.jsxs)(`div`,{className:`w-full mb-4`,children:[(0,X.jsxs)(`p`,{className:`text-sm text-gray-600 mb-2`,children:[`Rendering `,e,` `,n,` component`,e===1?``:`s`]}),o&&(0,X.jsx)(`p`,{className:`text-sm text-blue-600`,children:`⏱️ Measuring render time...`}),i!==null&&!o&&(0,X.jsxs)(`p`,{className:`text-sm text-green-600`,children:[`✅ Render time: `,i.toFixed(2),`ms`]})]}),(0,X.jsx)(`div`,{className:`w-full grid gap-4`,children:u()})]})},vB=e=>e.type===`checkbox`,yB=e=>e.type===`file`,bB=e=>e instanceof Date,xB=e=>e==null,SB=e=>typeof e==`object`,CB=e=>!xB(e)&&!Array.isArray(e)&&SB(e)&&!bB(e),wB=e=>CB(e)&&e.target?vB(e.target)?e.target.checked:yB(e.target)?e.target.files:e.target.value:e,TB=/[.[\]'"]/,EB=e=>e.split(TB).filter(Boolean);function DB(e,t){let n=EB(t),r=e._formValues,i=e._defaultValues;for(let e=0;e<n.length-1;e++){let t=n[e];if(r=r==null?r:r[t],i=i==null?i:i[t],r===null||i===null)return null}}var OB=(e,t)=>t.split(`.`).some((t,n,r)=>!isNaN(Number(t))&&e.has(r.slice(0,n).join(`.`))),kB=typeof window<`u`&&window.HTMLElement!==void 0&&typeof document<`u`;function AB(e){if(typeof e!=`object`||!e)return e;if(e instanceof Date)return new Date(e);let t=typeof Blob<`u`&&e instanceof Blob,n=typeof FileList<`u`&&e instanceof FileList;if(kB&&(t||n))return e;let r=Array.isArray(e);if(!r&&e.constructor!==Object)return e;let i=r?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=AB(e[t]));return i}var jB={BLUR:`blur`,FOCUS_OUT:`focusout`,CHANGE:`change`,SUBMIT:`submit`,TRIGGER:`trigger`,VALID:`valid`},MB={onBlur:`onBlur`,onChange:`onChange`,onSubmit:`onSubmit`,onTouched:`onTouched`,all:`all`},NB={max:`max`,min:`min`,maxLength:`maxLength`,minLength:`minLength`,pattern:`pattern`,required:`required`,validate:`validate`};NB.required,NB.min,NB.max,NB.minLength,NB.maxLength,NB.pattern,NB.validate;var PB=[`__proto__`,`constructor`,`prototype`],FB=/^\w*$/,IB=e=>FB.test(e),LB=e=>e===void 0,RB=(e,t,n)=>{if(!t||!CB(e))return n;let r=IB(t)?[t]:EB(t);if(r.some(e=>PB.includes(e)))return n;let i=r.reduce((e,t)=>xB(e)?void 0:e[t],e);return LB(i)||i===e?LB(e[t])?n:e[t]:i},zB=e=>typeof e==`boolean`,BB=e=>typeof e==`function`,VB=(e,t,n)=>{let r=-1,i=IB(t)?[t]:EB(t),a=i.length,o=a-1;for(;++r<a;){let t=i[r],a=n;if(r!==o){let n=e[t];a=CB(n)||Array.isArray(n)?n:isNaN(+i[r+1])?{}:[]}if(PB.includes(t))return;e[t]=a,e=e[t]}},HB=w.createContext(null);HB.displayName=`HookFormControlContext`;var UB=()=>w.useContext(HB),WB=(e,t,n,r=!0)=>{let i={};for(let a in e)Object.defineProperty(i,a,{get:()=>{let i=a;return t._proxyFormState[i]!==MB.all&&(t._proxyFormState[i]=!r||MB.all),n&&(n[i]=!0),e[i]}});return i},GB=kB?w.useLayoutEffect:w.useEffect,KB=e=>{let t=e.constructor&&e.constructor.prototype;return CB(t)&&t.hasOwnProperty(`isPrototypeOf`)},qB=e=>xB(e)||!SB(e),JB=(e,t)=>t.length===0&&!Array.isArray(e)&&!KB(e);function YB(e,t,n=new WeakMap){if(e===t)return!0;if(qB(e)||qB(t))return Object.is(e,t);if(bB(e)&&bB(t))return Object.is(e.getTime(),t.getTime());let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;if(JB(e,r)||JB(t,i))return Object.is(e,t);if(!r.length&&Array.isArray(e)!==Array.isArray(t))return!1;let a=n.get(e);if(a&&a.has(t))return!0;if(a)a.add(t);else{let r=new WeakSet;r.add(t),n.set(e,r)}for(let i of r){let r=e[i];if(!(i in t))return!1;if(i!==`ref`){let e=t[i];if(bB(r)&&bB(e)||(CB(r)||Array.isArray(r))&&(CB(e)||Array.isArray(e))?!YB(r,e,n):!Object.is(r,e))return!1}}return!0}function XB(e){let t=w.useRef(!1),n=w.useRef(!1),r=w.useRef(void 0),i=w.useRef(0);return i.current++,!n.current&&e&&(n.current=!0,r.current=AB(e())),{resyncIfNeeded:w.useCallback((e,a,o)=>{if(e&&(t.current||n.current&&i.current>1)){let e=a();YB(r.current,e)||o(e)}t.current=!0},[]),snapshot:w.useCallback((e,t)=>{e&&(r.current=AB(t()))},[])}}function ZB(e){let t=UB(),{control:n=t,disabled:r,name:i,exact:a}=e||{},o=()=>({...n._formState,defaultValues:n._defaultValues}),[s,c]=w.useState(o),l=w.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),{resyncIfNeeded:u,snapshot:d}=XB(o);return GB(()=>{u(!r,o,c);let e=n._subscribe({name:i,formState:l.current,exact:a,callback:e=>{!r&&c({...n._formState,...e,defaultValues:n._defaultValues})}});return()=>{e(),d(!r,o)}},[n,i,r,a,u,d]),w.useEffect(()=>{l.current.isValid&&n._setValid(!0)},[n]),w.useMemo(()=>WB(s,n,l.current,!1),[s,n])}var QB=e=>typeof e==`string`,$B=(e,t,n,r,i)=>QB(e)?(r&&t.watch.add(e),RB(n,e,i)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),RB(n,e,RB(i,e)))):(r&&(t.watchAll=!0),n);function eV(e){let t=UB(),{control:n=t,name:r,defaultValue:i,disabled:a,exact:o,compute:s}=e||{},c=w.useRef(i),l=w.useRef(s),u=w.useRef(n),d=w.useRef(r);l.current=s;let f=()=>{let e=n._getWatch(r,c.current);return l.current?l.current(e):e},[p,m]=w.useState(f),h=w.useRef(p),g=w.useCallback(e=>{let t=$B(r,n._names,e||n._formValues,!1,c.current);return l.current?l.current(t):t},[n._formValues,n._names,r]),_=w.useCallback(e=>{if(!a){let t=$B(r,n._names,e||n._formValues,!1,c.current);if(l.current){let e=l.current(t);YB(e,h.current)||(m(e),h.current=e)}else m(t)}},[n._formValues,n._names,a,r]),{resyncIfNeeded:v,snapshot:y}=XB(f),b=w.useRef(_);b.current=_;let x=w.useRef(g);x.current=g,GB(()=>{u.current!==n||!YB(d.current,r)?(u.current=n,d.current=r,b.current()):v(!a,()=>x.current(),e=>{m(e),h.current=e});let e=n._subscribe({name:r,formState:{values:!0},exact:o,callback:e=>{b.current(e.values)}});return()=>{e(),y(!a,()=>x.current())}},[n,o,r,a,v,y]),w.useEffect(()=>n._removeUnmounted());let S=u.current!==n,C=d.current;return w.useMemo(()=>{if(a)return!1;let e=!S&&!YB(C,r);return S||e},[a,S,r,C])?g():p}function tV(e){let t=UB(),{name:n,disabled:r,control:i=t,shouldUnregister:a,defaultValue:o,exact:s=!0}=e,c=OB(i._names.array,n),l=eV({control:i,name:n,defaultValue:w.useMemo(()=>{let e=RB(i._formValues,n,RB(i._defaultValues,n,o));return LB(e)?DB(i,n):e},[i,n,o]),exact:s}),u=ZB({control:i,name:n,exact:s}),d=w.useRef(e),f=w.useRef(null),p=w.useRef(i.register(n,{...e.rules,value:l,...zB(e.disabled)?{disabled:e.disabled}:{}}));d.current=e;let m=w.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!RB(u.errors,n)},isDirty:{enumerable:!0,get:()=>!!RB(u.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!RB(u.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!RB(u.validatingFields,n)},error:{enumerable:!0,get:()=>RB(u.errors,n)}}),[u,n]),h=w.useCallback(e=>{let t=wB(e);return RB(i._fields,n)||(p.current=i.register(n,{...d.current.rules,value:t})),p.current.onChange({target:{value:wB(e),name:n},type:jB.CHANGE})},[n,i]),g=w.useCallback(()=>p.current.onBlur({target:{value:RB(i._formValues,n),name:n},type:jB.BLUR}),[n,i._formValues]),_=w.useCallback(e=>{e&&(f.current={focus:()=>BB(e.focus)&&e.focus(),select:()=>BB(e.select)&&e.select(),setCustomValidity:t=>BB(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>BB(e.reportValidity)&&e.reportValidity()});let t=RB(i._fields,n);t&&t._f&&e&&(t._f.ref=f.current,t._f._c=!0)},[i._fields,n]),v=w.useMemo(()=>({name:n,value:l,...zB(r)||u.disabled?{disabled:u.disabled||r}:{},onChange:h,onBlur:g,ref:_}),[n,r,u.disabled,h,g,_,l]);return w.useEffect(()=>{let e=i._options.shouldUnregister||a;p.current=i.register(n,{...d.current.rules,...zB(d.current.disabled)?{disabled:d.current.disabled}:{}});let t=(e,t)=>{let n=RB(i._fields,e);n&&n._f&&(n._f.mount=t,n._f._c=t)};if(t(n,!0),e){let e=AB(RB(a?i._defaultValues:i._options.values||i._defaultValues,n,RB(i._options.defaultValues,n,d.current.defaultValue)));VB(i._defaultValues,n,e),LB(RB(i._formValues,n))&&VB(i._formValues,n,e)}if(!c&&i.register(n,{...d.current.rules,...zB(d.current.disabled)?{disabled:d.current.disabled}:{}}),f.current){let e=RB(i._fields,n);e&&e._f&&(e._f.ref=f.current)}return()=>{(c?e&&!i._state.action:e)?i.unregister(n):t(n,!1)}},[n,i,c,a]),w.useEffect(()=>{i._setDisabledField({disabled:r,name:n})},[r,n,i]),w.useMemo(()=>({field:v,formState:u,fieldState:m}),[v,u,m])}var nV=e=>e.render(tV(e)),rV=w.createContext(null);rV.displayName=`HookFormContext`,MB.onSubmit,MB.onChange;function iV(e,t){let n=w.forwardRef((n,r)=>{let{name:i,control:a,rules:o,defaultValue:s,shouldUnregister:c,...l}=n;return w.createElement(nV,{name:i,control:a,rules:o,defaultValue:s,shouldUnregister:c,disabled:n._disabled,render:({field:n,fieldState:a})=>{let o=l._on,s={...l,ref:e=>{r&&(typeof r==`function`?r(e):r.current=e),e&&n.ref(e)},_name:i,_touched:a.isTouched,_disabled:n.disabled,_msg:a.error?{_type:`error`,_description:a.error.message||a.error.toString?.()||`Unknown error`}:void 0,_on:{...o||{},onInput:(e,t)=>{n.onChange(t),o?.onInput?.(e,t)},onChange:(e,t)=>{n.onChange(t),o?.onChange?.(e,t)},onBlur:e=>{n.onBlur(),o?.onBlur?.(e)}}};return t&&(s[t]=n.value),w.createElement(e,{...s})}})});return n.displayName=`withController(${e.displayName||e.name||`Component`})`,n}var aV=iV(J,`_value`),oV=iV(MT,`_value`),sV=iV(kT,`_value`),cV=iV(jT,`_value`),lV=iV(PT,`_value`),uV=iV(OT,`_value`),dV=iV(DT,`_value`),fV=iV(AT),pV=iV(ZT,`_value`),mV=iV(yT,`_value`),hV=iV(UT,`_value`),gV=iV(WT,`_value`),_V=iV(NT,`_value`),vV=iV(ET,`_checked`),yV={firstName:``,lastName:``,email:``,password:``,age:18,volume:50,birthday:``,favoriteColor:`#000000`,cv:null,bio:``,country:``,language:`de`,framework:``,gender:``,termsAccepted:!1},bV=[{label:`English`,value:`en`},{label:`German`,value:`de`},{label:`French`,value:`fr`}],xV=[{label:`React`,value:`react`},{label:`Vue`,value:`vue`},{label:`Stencil`,value:`stencil`}],SV=[{label:`Male`,value:`male`},{label:`Female`,value:`female`},{label:`Other`,value:`other`}],CV=[`firstName`,`lastName`,`email`,`password`,`age`,`volume`,`birthday`,`favoriteColor`,`cv`,`bio`,`country`,`language`,`framework`,`gender`,`termsAccepted`],wV=()=>{let{control:e,handleSubmit:t,setValue:n,getValues:r,trigger:i}=gP({defaultValues:yV,mode:`onTouched`,shouldFocusError:!0}),a=()=>{CV.forEach(e=>{n(e,r(e),{shouldTouch:!0,shouldValidate:!0})})},o=e=>{alert(JSON.stringify(e,null,2))},s=e=>{a(),i(void 0,{shouldFocus:!0}),console.warn(`Validation errors:`,e)};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample demonstrates a form using React Hook Form with KoliBri adapters wrapped in a KolForm. All inputs are validated, and error messages are shown on submit.`})}),(0,X.jsx)(CT,{className:`w-full max-w-xl`,_on:{onSubmit:e=>{t(o,s)(e)}},children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(aV,{name:`firstName`,control:e,_label:`First Name`,rules:{required:`First name is required`},_required:!0}),(0,X.jsx)(aV,{name:`lastName`,control:e,_label:`Last Name`,rules:{required:`Last name is required`},_required:!0}),(0,X.jsx)(sV,{name:`email`,control:e,_label:`Email`,rules:{required:`Email is required`},_required:!0}),(0,X.jsx)(oV,{name:`password`,control:e,_label:`Password`,rules:{required:`Password is required`},_required:!0}),(0,X.jsx)(cV,{name:`age`,control:e,_label:`Age`,rules:{required:`Age is required`,min:0},_required:!0}),(0,X.jsx)(lV,{name:`volume`,control:e,_label:`Volume (0–100)`,_min:0,_max:100}),(0,X.jsx)(uV,{name:`birthday`,control:e,_label:`Birthday`,rules:{required:`Birthday is required`}}),(0,X.jsx)(dV,{name:`favoriteColor`,control:e,_label:`Favorite Color`,id:`favoriteColor`}),(0,X.jsx)(fV,{name:`cv`,control:e,_label:`Upload CV`,rules:{required:`Please upload your CV`},_required:!0}),(0,X.jsx)(pV,{name:`bio`,control:e,_label:`Bio`,rules:{required:`Please provide a short bio`},_required:!0}),(0,X.jsx)(mV,{control:e,rules:{required:`Please select a country`},name:`country`,_label:`Country`,_suggestions:yj,_required:!0}),(0,X.jsx)(hV,{control:e,rules:{required:`Please select a language`},name:`language`,_label:`Preferred Language`,_options:bV,_required:!0}),(0,X.jsx)(gV,{rules:{required:`Please select a framework`},control:e,name:`framework`,_label:`Favorite Framework`,_options:xV,_required:!0}),(0,X.jsx)(_V,{control:e,rules:{required:`Please select your gender`},name:`gender`,_label:`Gender`,_options:SV,_required:!0}),(0,X.jsx)(vV,{name:`termsAccepted`,control:e,_label:`I accept the terms and conditions`,rules:{required:`You must accept the terms`},_required:!0}),(0,X.jsx)(K,{_label:`Submit`,_type:`submit`})]})})]})},TV={first:``,second:``},EV={scenarios:{"button-shortkey-table":Qz,"change-tabindex":$z,"custom-tooltip-css-properties":eB,"date-in-form":tB,"disabled-interactive-scenario":rB,"focus-elements":oB,"label-lang":gB,"input-group-with-error":dB,"inputs-get-value":hB,"react-hook-form-adapter":wV,"react-hook-form-adapter-disabled":()=>{let{control:e,handleSubmit:t,watch:n}=gP({defaultValues:TV}),r=e=>{alert(JSON.stringify(e,null,2))};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows two fields of which just one can be filled. The other gets disabled.`})}),(0,X.jsx)(CT,{className:`w-full max-w-xl`,_on:{onSubmit:e=>{t(r)(e)}},children:(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(aV,{name:`first`,control:e,_label:`First`,_disabled:!!n(`second`)}),(0,X.jsx)(aV,{name:`second`,control:e,_label:`Second`,_disabled:!!n(`first`)}),(0,X.jsx)(K,{_label:`Submit`,_type:`submit`})]})})]})},"same-height-of-all-interactive-elements":()=>{let{dummyClickEventHandler:e}=vA(),t={onClick:e};return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`All interactive elements, such as buttons and input fields, should have the same height to ensure a consistent and visually balanced user interface.`})}),(0,X.jsxs)(`div`,{className:`w-full flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_icons:`kolicon-house`,_label:`Button`,_on:t}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Button`,_on:t}),(0,X.jsx)(IT,{_href:`#`,_icons:`kolicon-house`,_label:`Link-Button`,_on:t}),(0,X.jsx)(IT,{_hideLabel:!0,_href:`#`,_icons:`kolicon-house`,_label:`Link-Button`,_on:t}),(0,X.jsx)(yT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Combobox`,_suggestions:[]}),(0,X.jsx)(DT,{_hideLabel:!0,_icons:{left:`kolicon-house`},_label:`Input-Color`}),(0,X.jsx)(AT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Input-File`}),(0,X.jsx)(OT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Input-Date`}),(0,X.jsx)(kT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Input-Email`}),(0,X.jsx)(jT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Input-Number`}),(0,X.jsx)(MT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Input-Password`}),(0,X.jsx)(PT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Input-Range`}),(0,X.jsx)(J,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Input-Text`}),(0,X.jsx)(UT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Select`,_options:[]}),(0,X.jsx)(WT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Single Select`,_options:[]}),(0,X.jsx)(ZT,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Textarea`})]})]})},"same-height-of-all-form-elements-with-label":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`All form elements with labels, should have the same height and gaps to ensure a consistent and visually balanced user interface.`})}),(0,X.jsxs)(`div`,{className:`w-full flex flex-wrap gap-4`,children:[(0,X.jsx)(yT,{_icons:`kolicon-house`,_label:`Combobox`,_suggestions:[]}),(0,X.jsx)(DT,{_icons:{left:`kolicon-house`},_label:`Input-Color`}),(0,X.jsx)(AT,{_icons:`kolicon-house`,_label:`Input-File`}),(0,X.jsx)(OT,{_icons:`kolicon-house`,_label:`Input-Date`}),(0,X.jsx)(kT,{_icons:`kolicon-house`,_label:`Input-Email`}),(0,X.jsx)(jT,{_icons:`kolicon-house`,_label:`Input-Number`}),(0,X.jsx)(MT,{_icons:`kolicon-house`,_label:`Input-Password`}),(0,X.jsx)(PT,{_icons:`kolicon-house`,_label:`Input-Range`}),(0,X.jsx)(J,{_icons:`kolicon-house`,_label:`Input-Text`}),(0,X.jsx)(UT,{_icons:`kolicon-house`,_label:`Select`,_options:[]}),(0,X.jsx)(WT,{_icons:`kolicon-house`,_label:`Single Select`,_options:[]}),(0,X.jsx)(ZT,{_icons:`kolicon-house`,_label:`Textarea`})]})]}),"static-form":()=>{let{searchParams:e}=new URL(location.href);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(Q,{children:[(0,X.jsx)(`p`,{children:`This sample shows how KoliBri can be used in a static form context.`}),(0,X.jsxs)(`ol`,{children:[(0,X.jsxs)(`li`,{children:[`First you have to enable the `,(0,X.jsx)(`code`,{children:`experimental mode`}),`:`,` `,(0,X.jsx)(`code`,{className:`bg-gray-200`,children:`<meta name="kolibri" content="dev-mode=false;experimental-mode=true;" />`})]}),(0,X.jsxs)(`li`,{children:[`Currently you have to use a native `,(0,X.jsx)(`code`,{children:`form`}),` element:`,` `,(0,X.jsx)(`code`,{className:`bg-gray-200`,children:`<form method="GET">...</form>`})]}),(0,X.jsxs)(`li`,{children:[`It is important in static usage to give every input a `,(0,X.jsx)(`code`,{children:`name`}),` attribute:`,` `,(0,X.jsx)(`code`,{className:`bg-gray-200`,children:`<KolInputColor _name="color" _label="Color" />`})]}),(0,X.jsxs)(`li`,{children:[`Last of all one button should have the type `,(0,X.jsx)(`code`,{children:`submit`}),`:`,` `,(0,X.jsx)(`code`,{className:`bg-gray-200`,children:`<KolButton _label="Submit" _type="submit" _variant="primary" />`})]})]})]}),(0,X.jsxs)(`section`,{className:`w-full flex flex-col`,children:[e.size>0&&(0,X.jsxs)(`div`,{className:`grid gap-4`,children:[(0,X.jsx)(q,{_level:2,_label:`Submitted data`}),(0,X.jsx)(`pre`,{className:`text-base`,children:(0,X.jsx)(`code`,{children:JSON.stringify(Object.fromEntries(e.entries()),null,2)})})]}),(0,X.jsxs)(`form`,{className:`grid gap-4`,method:`get`,noValidate:!0,children:[(0,X.jsx)(ET,{_name:`checkbox`,_label:`Checkbox`}),(0,X.jsx)(DT,{_name:`color`,_label:`Color`}),(0,X.jsx)(OT,{_name:`date`,_label:`Date`}),(0,X.jsx)(kT,{_name:`email`,_label:`Email`}),(0,X.jsx)(AT,{_name:`file`,_label:`File`}),(0,X.jsx)(AT,{_name:`file`,_label:`Files (multiple)`,_multiple:!0}),(0,X.jsx)(jT,{_name:`number`,_label:`Number`}),(0,X.jsx)(MT,{_name:`password`,_label:`Password`}),(0,X.jsx)(NT,{_name:`radio`,_label:`Radio`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,X.jsx)(PT,{_name:`range`,_label:`Range`}),(0,X.jsx)(J,{_name:`text`,_label:`Text`}),(0,X.jsx)(UT,{_name:`select`,_label:`Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,X.jsx)(UT,{_name:`select`,_label:`Select (multiple)`,_multiple:!0,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}],_rows:2}),(0,X.jsx)(WT,{_name:`singleSelect`,_label:`Single Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,X.jsx)(yT,{_name:`combobox`,_label:`Combobox`,_suggestions:yj}),(0,X.jsx)(ZT,{_name:`textarea`,_label:`Textarea`,_rows:5}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,X.jsx)(K,{_label:`Submit`,_type:`submit`,_variant:`primary`}),(0,X.jsx)(K,{_label:`Reset`,_type:`reset`})]}),(0,X.jsx)(`input`,{type:`hidden`,value:crypto.randomUUID(),name:`random`})]})]})]})},"table-horizontal-scrollbar-advanced":uB,"toolbar-item-order":()=>{let[e,t]=(0,w.useState)(!1),[n,r]=(0,w.useState)(!1),i=()=>{t(!0),setTimeout(()=>{t(!1)},2e3)},a=()=>{r(!0),setTimeout(()=>{r(!1)},2e3)},o=(0,w.useMemo)(()=>Array.from({length:5},(t,n)=>({type:`button`,_label:`Button ${n+1}`,_on:{onClick:i},_icons:e?`fa-solid fa-spinner fa-spin`:void 0,_disabled:e})),[e]),s=(0,w.useMemo)(()=>Array.from({length:5},(e,t)=>({type:`button`,_label:`Button ${t+1}`,_on:{onClick:a},_disabled:n,_icons:n?`fa-solid fa-spinner fa-spin`:void 0})),[n]);return(0,X.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:`1rem`},children:[(0,X.jsx)(q,{_label:`Disabled Toolbar Buttons Bug (solved)`}),(0,X.jsx)(q,{_label:`icon vor disabled`,_level:2}),(0,X.jsx)(QT,{_label:`KolToolbar A`,_items:o}),(0,X.jsx)(q,{_label:`disabled vor icon`,_level:2}),(0,X.jsxs)(`p`,{children:[`Klicke auf einen der `,s.length-1,` ersten Buttons hatte zur Folge, dass die nachfolgenden Buttons kaputt gehen.`]}),(0,X.jsx)(QT,{_label:`KolToolbar B`,_items:s})]})},"tooltip-positioning":()=>(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This example demonstrates tooltip positioning within container query contexts. Container queries can interfere with fixed positioning, causing tooltips to render incorrectly relative to the viewport. The layout containment fix ensures tooltips position properly even when their parent elements use container-based sizing and layout rules.`})}),(0,X.jsx)(`div`,{style:{container:`test / size`,contain:`layout`},children:(0,X.jsx)(BT,{_label:`Sample PopoverButton—Click for Popover`,_icons:`kolicon-alert-info`,_tooltipAlign:`right`,_hideLabel:!0,children:`This is an explanation shown on click.`})})]}),"accordion-components":Xz,"z-index":()=>{let[e]=ik(),t=e.get(`show-dialog`),n=(0,w.useRef)(null);return(0,w.useEffect)(()=>{t===`true`&&n.current?.openModal()},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Q,{children:(0,X.jsx)(`p`,{children:`This sample shows the combination of a few components overlaying content. Dialog, Popover, Tooltip`})}),(0,X.jsx)(`div`,{className:`grid gap-8`,children:(0,X.jsxs)(`div`,{children:[(0,X.jsx)(K,{_label:`Open card dialog`,_on:{onClick:()=>n.current?.openModal()}}),(0,X.jsxs)(xT,{ref:n,_label:`Card dialog`,_variant:`card`,_width:`30%`,children:[(0,X.jsx)(BT,{_label:`Help`,_icons:`kolicon-alert-info`,_popoverAlign:`right`,_tooltipAlign:`bottom`,_hideLabel:!0,children:(0,X.jsxs)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:[(0,X.jsxs)(`p`,{children:[(0,X.jsx)(`u`,{children:`Lorem ipsum dolor sit amet`}),`, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum! Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]}),(0,X.jsx)(K,{_hideLabel:!0,_icons:`kolicon-check`,_label:`OK`,_variant:`primary`})]})}),(0,X.jsx)(yT,{_label:`With string array in html`,_suggestions:`['Herr','Frau','Firma']`,_value:`Herr`,_hideLabel:!0}),(0,X.jsx)(jT,{_label:`Amount`})]})]})})]})},"performance-test":_B}},DV={...Vj,...sA,...cA,...dA,...fA,...pA,...gA,...yA,...fj,...pj,...Dj,...Oj,...Aj,...Nj,...Pj,...Hj,...Uj,...Wj,...Zj,...eM,...hM,...vM,...SM,...fF,...hF,...TF,...OF,...rI,...iI,...aI,...oI,...sI,...cI,...pI,...mI,...gI,...SI,...CI,...AI,...VI,...HI,...BI,...UI,...wz,...Pz,...zz,...Wz,...Gz,...qz,...Jz,...EV};VA(localStorage);var OV=({customThemes:e})=>{let t=VD(),[n,r]=ik(),i=n.has(`hideMenus`),a=(0,w.useMemo)(()=>{let t=[CA,...e&&e.length>0?e:wA];return UA(t),t},[e]),o=n.get(`theme`)??KA(),[s,c]=(0,w.useState)(()=>FA.isInitialized(a));(0,w.useEffect)(()=>{let e=!0,t=FA.isInitialized(a),n=t=>{e&&c(t)};if(t)setTimeout(()=>n(!0),0);else return n(!1),FA.initialize(a).then(()=>{n(!0)}),()=>{e=!1}},[a]);let l=(e,t=`/`)=>{let n=[];for(let r in e)if(e[r]){let i=e[r],a=`${t}${r}`;typeof i==`function`?n.push(a):typeof i==`object`&&i&&(n=n.concat(l(i,`${a}/`)))}return n},u=e=>{let t=[];for(let n in e)if(e[n]){let r=e[n],i=`/${n}`;if(typeof r==`function`)t.push((0,X.jsx)(mO,{path:i,element:(0,X.jsx)(r,{})},i)),t.push((0,X.jsx)(mO,{path:`${i}/all`,element:(0,X.jsx)(`div`,{className:`d-grid gap-4`,children:a.map(e=>(0,X.jsxs)(`div`,{className:`d-grid gap-2`,children:[(0,X.jsx)(`div`,{className:`mt-4`,children:(0,X.jsx)(`strong`,{children:e.name})}),(0,X.jsx)(`div`,{className:`my-2`,children:(0,X.jsx)(r,{})}),(0,X.jsx)(`hr`,{"aria-hidden":`true`})]},e.key))})},`${i}/all`));else if(typeof r==`object`&&r){let e=Object.keys(r);e.length>0&&t.push((0,X.jsx)(mO,{path:`${i}/*`,element:(0,X.jsxs)(gO,{children:[(0,X.jsx)(mO,{path:`/`,element:(0,X.jsx)(pO,{to:e[0]})}),u(r)]})},i))}}return t},d=(0,w.useMemo)(()=>l(DV),[]),f=(0,w.useMemo)(()=>u(DV),[]),p=new Map;d.forEach(e=>{let t=e.split(`/`);p.has(t[1])||p.set(t[1],{label:t[1],value:e})}),GA(o),Bk(),$k();let m=TA.includes(o),[h,g]=zk(m);return(0,w.useEffect)(()=>{document.title=`KoliBri-Handout - ${qA(KA())} | v${mk.version}`,document.body.setAttribute(`class`,o),document.body.dataset.theme=o},[o]),s?(0,X.jsx)(eA.Provider,{value:i,children:(0,X.jsxs)(`div`,{className:i?``:`app-container`,"data-theme":o,children:[!i&&(0,X.jsx)(Ak,{version:mk.version,themes:a,theme:o,sample:t.pathname,routes:DV,routeList:d,buildDate:`2026-11-20T11:46:53.654Z`,commitHash:`6203437`,colorScheme:h,supportsDark:m,onThemeChange:e=>{r(t=>(t.set(`theme`,e),t)),window.location.reload()},onColorSchemeChange:g}),(0,X.jsx)(`main`,{className:`flex flex-col items-stretch p-4`,id:`route-container`,children:(0,X.jsxs)(gO,{children:[f,(0,X.jsx)(mO,{path:`*`,element:(0,X.jsx)(pO,{to:d[0],replace:!0})}),(0,X.jsx)(mO,{path:`back-page`,element:(0,X.jsx)(gk,{})})]})})]})}):(0,X.jsx)(eA.Provider,{value:i,children:(0,X.jsx)(`main`,{className:`flex flex-col items-stretch p-4`,id:`route-container`,children:(0,X.jsx)(`p`,{children:`Loading data`})})})},kV=new URL(`https://x`+location.hash.substring(1)).searchParams.has(`enableI18nOverwriting`),AV=new URL(`https://x`+location.hash.substring(1)).searchParams.has(`enableThemePatching`),jV=new URL(`https://x`+location.hash.substring(1)).searchParams.has(`enableTagNameTransformer`),MV=e=>`${e}-sample`;jV&&lT(MV);var NV=async()=>{throw Error(`Environment variable THEME_MODULE not specified. The visual-tests app must be started via "kolibri-visual-test".`)};pk(),(async()=>{try{await bt(await NV(),[],{environment:`production`,reflectInputValues:!0,theme:void 0,translation:{name:`en`},translations:kV?new Set([e=>e(`en`,{"kol-error":`Tiny error!`}),e=>e(`de`,{"kol-error":`Kleiner Fehler!`})]):void 0,transformTagName:jV?MV:void 0}),AV&&r.patchTheme(`default`,{"KOL-BUTTON":`
102
+ button {
103
+ border: 1px solid red;
104
+ }`,"KOL-SPIN":`
105
+ .bg-spin-2 {
106
+ background-color: red;
107
+ }
108
+ .bg-spin-3 {
109
+ background-color: gold;
110
+ }`},{append:!0})}catch(e){console.warn(`Theme registration failed:`,e)}let e=c(),t=e?[{key:e,name:e}]:void 0;JA(t);let n=document.querySelector(`div#app`);n instanceof HTMLDivElement&&(0,uk.createRoot)(n).render((0,X.jsx)(w.StrictMode,{children:(0,X.jsx)($O,{children:(0,X.jsx)(OV,{customThemes:t})})}))})();export{oe as A,kt as C,ft as D,dt as E,me as O,Nt as S,ke as T,Rt as _,Ea as a,At as b,Fa as c,Na as d,ka as f,M as g,Oa as h,wa as i,he as k,Wi as l,Pa as m,xu as n,Ti as o,Ni as p,Ei as r,Li as s,Su as t,Fi as u,Lt as v,St as w,Pt as x,It as y};
111
+ //# sourceMappingURL=index-BPUtVI5x.js.map