@public-ui/sample-react 3.0.2-rc.1 → 3.0.2-rc.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 (234) hide show
  1. package/dist/assets/{Alert-a96714a0-vfSTPogE.js → Alert-7970c36f-BCgckKWh.js} +2 -2
  2. package/dist/assets/{Alert-a96714a0-vfSTPogE.js.map → Alert-7970c36f-BCgckKWh.js.map} +1 -1
  3. package/dist/assets/{Collapsible-29bb352a-Bczx796u.js → Collapsible-741bf621-DGjSugir.js} +2 -2
  4. package/dist/assets/{Collapsible-29bb352a-Bczx796u.js.map → Collapsible-741bf621-DGjSugir.js.map} +1 -1
  5. package/dist/assets/{CustomSuggestionsOptionsGroup-4d57f72c-BBEDGacv.js → CustomSuggestionsOptionsGroup-d8226ae6-BiLFR0lz.js} +2 -2
  6. package/dist/assets/{CustomSuggestionsOptionsGroup-4d57f72c-BBEDGacv.js.map → CustomSuggestionsOptionsGroup-d8226ae6-BiLFR0lz.js.map} +1 -1
  7. package/dist/assets/{FieldControlStateWrapper-adc38f2f-DFbMkGWf.js → FieldControlStateWrapper-3ed538a0-BQWXnqt8.js} +2 -2
  8. package/dist/assets/{FieldControlStateWrapper-adc38f2f-DFbMkGWf.js.map → FieldControlStateWrapper-3ed538a0-BQWXnqt8.js.map} +1 -1
  9. package/dist/assets/{Heading-4990ec84-CSY8emQR.js → Heading-6d2b507b-L-Rtd2uT.js} +2 -2
  10. package/dist/assets/{Heading-4990ec84-CSY8emQR.js.map → Heading-6d2b507b-L-Rtd2uT.js.map} +1 -1
  11. package/dist/assets/{Icon-d694fbfe-CUvmuKwa.js → Icon-64aecdb3-TfzS2tqg.js} +2 -2
  12. package/dist/assets/{Icon-d694fbfe-CUvmuKwa.js.map → Icon-64aecdb3-TfzS2tqg.js.map} +1 -1
  13. package/dist/assets/{Input-529b3f6c-v82lEh8w.js → Input-8709f66f-B1WKLyfo.js} +2 -2
  14. package/dist/assets/{Input-529b3f6c-v82lEh8w.js.map → Input-8709f66f-B1WKLyfo.js.map} +1 -1
  15. package/dist/assets/{InputStateWrapper-16c56aee-ds4UwSBn.js → InputStateWrapper-1008cf94-t0waoJRb.js} +2 -2
  16. package/dist/assets/{InputStateWrapper-16c56aee-ds4UwSBn.js.map → InputStateWrapper-1008cf94-t0waoJRb.js.map} +1 -1
  17. package/dist/assets/{InternalUnderlinedBadgeText-e15d02d5-BvRyx5pf.js → InternalUnderlinedBadgeText-b24e9dc5-Dst3huoL.js} +2 -2
  18. package/dist/assets/{InternalUnderlinedBadgeText-e15d02d5-BvRyx5pf.js.map → InternalUnderlinedBadgeText-b24e9dc5-Dst3huoL.js.map} +1 -1
  19. package/dist/assets/{Span-3cb1ff76-B5tretSo.js → Span-f9dd0734-ByiWMc2q.js} +2 -2
  20. package/dist/assets/{Span-3cb1ff76-B5tretSo.js.map → Span-f9dd0734-ByiWMc2q.js.map} +1 -1
  21. package/dist/assets/{access-and-short-key-f743a5c4-5v70klFi.js → access-and-short-key-f743a5c4-CBjF-RXb.js} +2 -2
  22. package/dist/assets/{access-and-short-key-f743a5c4-5v70klFi.js.map → access-and-short-key-f743a5c4-CBjF-RXb.js.map} +1 -1
  23. package/dist/assets/{align-d2572387-BQaAcwWi.js → align-d2572387-OiZHYhqc.js} +2 -2
  24. package/dist/assets/{align-d2572387-BQaAcwWi.js.map → align-d2572387-OiZHYhqc.js.map} +1 -1
  25. package/dist/assets/{align-floating-elements-9459ccc3-C_8cxopt.js → align-floating-elements-9459ccc3-B5WMCQxl.js} +2 -2
  26. package/dist/assets/{align-floating-elements-9459ccc3-C_8cxopt.js.map → align-floating-elements-9459ccc3-B5WMCQxl.js.map} +1 -1
  27. package/dist/assets/{associated.controller-4237c28d-DnjfJy5b.js → associated.controller-4237c28d-DvuU5X7Q.js} +2 -2
  28. package/dist/assets/{associated.controller-4237c28d-DnjfJy5b.js.map → associated.controller-4237c28d-DvuU5X7Q.js.map} +1 -1
  29. package/dist/assets/{color-1228dab7-CXbPipO2.js → color-1228dab7-Ci1wJmQ_.js} +2 -2
  30. package/dist/assets/{color-1228dab7-CXbPipO2.js.map → color-1228dab7-Ci1wJmQ_.js.map} +1 -1
  31. package/dist/assets/{controller-a10288c6-3q1yNISr.js → controller-1da95b99-DjRVAyxr.js} +2 -2
  32. package/dist/assets/{controller-a10288c6-3q1yNISr.js.map → controller-1da95b99-DjRVAyxr.js.map} +1 -1
  33. package/dist/assets/{controller-235b6c3b-IJE2fOv7.js → controller-235b6c3b-D7gi0j6K.js} +2 -2
  34. package/dist/assets/{controller-235b6c3b-IJE2fOv7.js.map → controller-235b6c3b-D7gi0j6K.js.map} +1 -1
  35. package/dist/assets/{controller-6253c3cd-BiOSke6G.js → controller-c1c531fb-DlTp1hNj.js} +2 -2
  36. package/dist/assets/{controller-6253c3cd-BiOSke6G.js.map → controller-c1c531fb-DlTp1hNj.js.map} +1 -1
  37. package/dist/assets/{controller-2a5d8667-DSjG9y3H.js → controller-dc5f29b6-CLBfXn42.js} +2 -2
  38. package/dist/assets/{controller-2a5d8667-DSjG9y3H.js.map → controller-dc5f29b6-CLBfXn42.js.map} +1 -1
  39. package/dist/assets/{controller-icon-8f0ee809-CvMl53Sr.js → controller-icon-0a6181f6-CLrqttrI.js} +2 -2
  40. package/dist/assets/{controller-icon-8f0ee809-CvMl53Sr.js.map → controller-icon-0a6181f6-CLrqttrI.js.map} +1 -1
  41. package/dist/assets/{custom-class-d73b81b1-BGktB6LF.js → custom-class-d73b81b1-B-KlNGCp.js} +2 -2
  42. package/dist/assets/{custom-class-d73b81b1-BGktB6LF.js.map → custom-class-d73b81b1-B-KlNGCp.js.map} +1 -1
  43. package/dist/assets/{dev.utils-98923b37-B7eFOr35.js → dev.utils-d42aaf74-B3Nmv0Sx.js} +2 -2
  44. package/dist/assets/{dev.utils-98923b37-B7eFOr35.js.map → dev.utils-d42aaf74-B3Nmv0Sx.js.map} +1 -1
  45. package/dist/assets/{devtools-2b1bb963-nbpIxUJX.js → devtools-e7cb90e7-DoL8ytvK.js} +2 -2
  46. package/dist/assets/{devtools-2b1bb963-nbpIxUJX.js.map → devtools-e7cb90e7-DoL8ytvK.js.map} +1 -1
  47. package/dist/assets/{disabled-e1038f54-C2Wy6jK9.js → disabled-e1038f54-BYwEcdH6.js} +2 -2
  48. package/dist/assets/{disabled-e1038f54-C2Wy6jK9.js.map → disabled-e1038f54-BYwEcdH6.js.map} +1 -1
  49. package/dist/assets/{getRenderStates-6c8f7e98-zIMn8Jic.js → getRenderStates-d0c0ae47-LNsVnMiw.js} +2 -2
  50. package/dist/assets/{getRenderStates-6c8f7e98-zIMn8Jic.js.map → getRenderStates-d0c0ae47-LNsVnMiw.js.map} +1 -1
  51. package/dist/assets/has-closer-798e8f4d-DSYtGuiN.js +4 -0
  52. package/dist/assets/{has-closer-798e8f4d-BNAG4hIR.js.map → has-closer-798e8f4d-DSYtGuiN.js.map} +1 -1
  53. package/dist/assets/{has-counter-3fc44829-Djiw8Gcz.js → has-counter-3fc44829-Brvrk3RQ.js} +2 -2
  54. package/dist/assets/{has-counter-3fc44829-Djiw8Gcz.js.map → has-counter-3fc44829-Brvrk3RQ.js.map} +1 -1
  55. package/dist/assets/{hide-label-8b3a8709-D2-N2-dk.js → hide-label-8b3a8709-BdN5-kgy.js} +2 -2
  56. package/dist/assets/{hide-label-8b3a8709-D2-N2-dk.js.map → hide-label-8b3a8709-BdN5-kgy.js.map} +1 -1
  57. package/dist/assets/{href-d9ccbbdf-B-tmZMAE.js → href-d9ccbbdf-CBk8EBTK.js} +2 -2
  58. package/dist/assets/{href-d9ccbbdf-B-tmZMAE.js.map → href-d9ccbbdf-CBk8EBTK.js.map} +1 -1
  59. package/dist/assets/{i18n-260f0fe9-Bs4P6g77.js → i18n-260f0fe9-r7KVCL60.js} +2 -2
  60. package/dist/assets/{i18n-260f0fe9-Bs4P6g77.js.map → i18n-260f0fe9-r7KVCL60.js.map} +1 -1
  61. package/dist/assets/{icons-a9c52ed8-C33p1sox.js → icons-a9c52ed8-ByMBsWqN.js} +2 -2
  62. package/dist/assets/{icons-a9c52ed8-C33p1sox.js.map → icons-a9c52ed8-ByMBsWqN.js.map} +1 -1
  63. package/dist/assets/image-source-8079f8a5-Db70DQxo.js +4 -0
  64. package/dist/assets/{image-source-8079f8a5-DfIM6Fy2.js.map → image-source-8079f8a5-Db70DQxo.js.map} +1 -1
  65. package/dist/assets/{index-Cg5HcNRr.js → index-DJuKoE9z.js} +7 -7
  66. package/dist/assets/index-DJuKoE9z.js.map +1 -0
  67. package/dist/assets/{kol-abbr.entry-DN9dSsLs.js → kol-abbr.entry-BR_44Rv9.js} +2 -2
  68. package/dist/assets/{kol-abbr.entry-DN9dSsLs.js.map → kol-abbr.entry-BR_44Rv9.js.map} +1 -1
  69. package/dist/assets/{kol-accordion.entry-DvRPXeLZ.js → kol-accordion.entry-DEGvO3bs.js} +2 -2
  70. package/dist/assets/{kol-accordion.entry-DvRPXeLZ.js.map → kol-accordion.entry-DEGvO3bs.js.map} +1 -1
  71. package/dist/assets/{kol-alert-wc.entry-zufk5GBr.js → kol-alert-wc.entry-Bj3CJN_u.js} +2 -2
  72. package/dist/assets/{kol-alert-wc.entry-zufk5GBr.js.map → kol-alert-wc.entry-Bj3CJN_u.js.map} +1 -1
  73. package/dist/assets/{kol-alert.entry-C50RNo89.js → kol-alert.entry-BTm5BIru.js} +2 -2
  74. package/dist/assets/{kol-alert.entry-C50RNo89.js.map → kol-alert.entry-BTm5BIru.js.map} +1 -1
  75. package/dist/assets/{kol-avatar-wc.entry-DMmRMP-0.js → kol-avatar-wc.entry-GVLWsAVC.js} +2 -2
  76. package/dist/assets/{kol-avatar-wc.entry-DMmRMP-0.js.map → kol-avatar-wc.entry-GVLWsAVC.js.map} +1 -1
  77. package/dist/assets/{kol-avatar.entry-7vDbWlW-.js → kol-avatar.entry-5IgIub9q.js} +2 -2
  78. package/dist/assets/{kol-avatar.entry-7vDbWlW-.js.map → kol-avatar.entry-5IgIub9q.js.map} +1 -1
  79. package/dist/assets/{kol-badge.entry-CM-QSGu8.js → kol-badge.entry-DAXf9Jv7.js} +2 -2
  80. package/dist/assets/{kol-badge.entry-CM-QSGu8.js.map → kol-badge.entry-DAXf9Jv7.js.map} +1 -1
  81. package/dist/assets/{kol-breadcrumb.entry-B0lG5Q7y.js → kol-breadcrumb.entry-vPFYvCCO.js} +2 -2
  82. package/dist/assets/{kol-breadcrumb.entry-B0lG5Q7y.js.map → kol-breadcrumb.entry-vPFYvCCO.js.map} +1 -1
  83. package/dist/assets/{kol-button-link.entry-BLx0975c.js → kol-button-link.entry-Bhzt9_Yf.js} +2 -2
  84. package/dist/assets/{kol-button-link.entry-BLx0975c.js.map → kol-button-link.entry-Bhzt9_Yf.js.map} +1 -1
  85. package/dist/assets/{kol-button-wc.entry-vjxo6iJr.js → kol-button-wc.entry-ChEt1DsT.js} +2 -2
  86. package/dist/assets/{kol-button-wc.entry-vjxo6iJr.js.map → kol-button-wc.entry-ChEt1DsT.js.map} +1 -1
  87. package/dist/assets/{kol-button.entry-D9QZh-FS.js → kol-button.entry-DVXUiqZZ.js} +2 -2
  88. package/dist/assets/{kol-button.entry-D9QZh-FS.js.map → kol-button.entry-DVXUiqZZ.js.map} +1 -1
  89. package/dist/assets/{kol-card-wc.entry-DLJq3AT8.js → kol-card-wc.entry-Cl5MmmK7.js} +2 -2
  90. package/dist/assets/{kol-card-wc.entry-DLJq3AT8.js.map → kol-card-wc.entry-Cl5MmmK7.js.map} +1 -1
  91. package/dist/assets/{kol-card.entry-BjoXnLHm.js → kol-card.entry-BXSQSal5.js} +2 -2
  92. package/dist/assets/{kol-card.entry-BjoXnLHm.js.map → kol-card.entry-BXSQSal5.js.map} +1 -1
  93. package/dist/assets/{kol-combobox.entry-Dx9iTU5l.js → kol-combobox.entry-B5S_ViS0.js} +2 -2
  94. package/dist/assets/{kol-combobox.entry-Dx9iTU5l.js.map → kol-combobox.entry-B5S_ViS0.js.map} +1 -1
  95. package/dist/assets/{kol-details.entry-CyBCjZU5.js → kol-details.entry-rPxgYszS.js} +2 -2
  96. package/dist/assets/{kol-details.entry-CyBCjZU5.js.map → kol-details.entry-rPxgYszS.js.map} +1 -1
  97. package/dist/assets/{kol-drawer.entry-BIVg_Xfd.js → kol-drawer.entry-Vo8AeNy0.js} +2 -2
  98. package/dist/assets/{kol-drawer.entry-BIVg_Xfd.js.map → kol-drawer.entry-Vo8AeNy0.js.map} +1 -1
  99. package/dist/assets/{kol-form.entry-Bq3hi-TJ.js → kol-form.entry-DQF1lJo0.js} +2 -2
  100. package/dist/assets/{kol-form.entry-Bq3hi-TJ.js.map → kol-form.entry-DQF1lJo0.js.map} +1 -1
  101. package/dist/assets/{kol-heading.entry-CoMSvAGs.js → kol-heading.entry-DO6i-QH-.js} +2 -2
  102. package/dist/assets/{kol-heading.entry-CoMSvAGs.js.map → kol-heading.entry-DO6i-QH-.js.map} +1 -1
  103. package/dist/assets/{kol-icon.entry-Clh6RVF_.js → kol-icon.entry-BE0k6RS5.js} +2 -2
  104. package/dist/assets/{kol-icon.entry-Clh6RVF_.js.map → kol-icon.entry-BE0k6RS5.js.map} +1 -1
  105. package/dist/assets/{kol-image.entry-CU4-Ui3x.js → kol-image.entry-BkHWWrRo.js} +2 -2
  106. package/dist/assets/{kol-image.entry-CU4-Ui3x.js.map → kol-image.entry-BkHWWrRo.js.map} +1 -1
  107. package/dist/assets/{kol-input-checkbox.entry-Bi-CoQhC.js → kol-input-checkbox.entry-B78yGkie.js} +2 -2
  108. package/dist/assets/{kol-input-checkbox.entry-Bi-CoQhC.js.map → kol-input-checkbox.entry-B78yGkie.js.map} +1 -1
  109. package/dist/assets/{kol-input-color.entry-PTUQo8wE.js → kol-input-color.entry-BiFQvNgo.js} +2 -2
  110. package/dist/assets/{kol-input-color.entry-PTUQo8wE.js.map → kol-input-color.entry-BiFQvNgo.js.map} +1 -1
  111. package/dist/assets/{kol-input-date.entry-C0BOQjL5.js → kol-input-date.entry-B_zMazQt.js} +2 -2
  112. package/dist/assets/{kol-input-date.entry-C0BOQjL5.js.map → kol-input-date.entry-B_zMazQt.js.map} +1 -1
  113. package/dist/assets/{kol-input-email.entry-BjYvaenN.js → kol-input-email.entry-dDZtUJXp.js} +2 -2
  114. package/dist/assets/{kol-input-email.entry-BjYvaenN.js.map → kol-input-email.entry-dDZtUJXp.js.map} +1 -1
  115. package/dist/assets/{kol-input-file.entry-CKSyLGGH.js → kol-input-file.entry-OHgn7-bt.js} +2 -2
  116. package/dist/assets/{kol-input-file.entry-CKSyLGGH.js.map → kol-input-file.entry-OHgn7-bt.js.map} +1 -1
  117. package/dist/assets/{kol-input-number.entry-CluRm3h-.js → kol-input-number.entry-B5R9kIqc.js} +2 -2
  118. package/dist/assets/{kol-input-number.entry-CluRm3h-.js.map → kol-input-number.entry-B5R9kIqc.js.map} +1 -1
  119. package/dist/assets/{kol-input-password.entry-oiZQd5p8.js → kol-input-password.entry-nEAROgF7.js} +2 -2
  120. package/dist/assets/{kol-input-password.entry-oiZQd5p8.js.map → kol-input-password.entry-nEAROgF7.js.map} +1 -1
  121. package/dist/assets/{kol-input-radio.entry-CdOgq3MD.js → kol-input-radio.entry-dlg-0IFJ.js} +2 -2
  122. package/dist/assets/{kol-input-radio.entry-CdOgq3MD.js.map → kol-input-radio.entry-dlg-0IFJ.js.map} +1 -1
  123. package/dist/assets/{kol-input-range.entry-cvnxRgtX.js → kol-input-range.entry-B7--MPkS.js} +2 -2
  124. package/dist/assets/{kol-input-range.entry-cvnxRgtX.js.map → kol-input-range.entry-B7--MPkS.js.map} +1 -1
  125. package/dist/assets/{kol-input-text.entry-CJ8Ftyhz.js → kol-input-text.entry-yxY_-GGf.js} +2 -2
  126. package/dist/assets/{kol-input-text.entry-CJ8Ftyhz.js.map → kol-input-text.entry-yxY_-GGf.js.map} +1 -1
  127. package/dist/assets/{kol-kolibri.entry-CXeHRJ9z.js → kol-kolibri.entry-Bzlqcsin.js} +2 -2
  128. package/dist/assets/{kol-kolibri.entry-CXeHRJ9z.js.map → kol-kolibri.entry-Bzlqcsin.js.map} +1 -1
  129. package/dist/assets/{kol-link-button.entry-h-Qbgf6B.js → kol-link-button.entry-fy1dXsKY.js} +2 -2
  130. package/dist/assets/{kol-link-button.entry-h-Qbgf6B.js.map → kol-link-button.entry-fy1dXsKY.js.map} +1 -1
  131. package/dist/assets/{kol-link-wc.entry-BR-DoQbC.js → kol-link-wc.entry-Mizd3t_R.js} +2 -2
  132. package/dist/assets/{kol-link-wc.entry-BR-DoQbC.js.map → kol-link-wc.entry-Mizd3t_R.js.map} +1 -1
  133. package/dist/assets/{kol-link.entry-dVIBgWXI.js → kol-link.entry-DaA4bCKX.js} +2 -2
  134. package/dist/assets/{kol-link.entry-dVIBgWXI.js.map → kol-link.entry-DaA4bCKX.js.map} +1 -1
  135. package/dist/assets/{kol-modal.entry-DgXzZ8cT.js → kol-modal.entry-B-zReay5.js} +2 -2
  136. package/dist/assets/{kol-modal.entry-DgXzZ8cT.js.map → kol-modal.entry-B-zReay5.js.map} +1 -1
  137. package/dist/assets/{kol-nav.entry-COZzIuXl.js → kol-nav.entry-CxprtxUy.js} +2 -2
  138. package/dist/assets/{kol-nav.entry-COZzIuXl.js.map → kol-nav.entry-CxprtxUy.js.map} +1 -1
  139. package/dist/assets/kol-pagination-wc.entry-CMavorAX.js +4 -0
  140. package/dist/assets/kol-pagination-wc.entry-CMavorAX.js.map +1 -0
  141. package/dist/assets/{kol-pagination.entry-B-qoj_VM.js → kol-pagination.entry-LJbfNZzx.js} +2 -2
  142. package/dist/assets/{kol-pagination.entry-B-qoj_VM.js.map → kol-pagination.entry-LJbfNZzx.js.map} +1 -1
  143. package/dist/assets/{kol-popover-button-wc.entry-BBnYGn-6.js → kol-popover-button-wc.entry-f5JpT2Cu.js} +2 -2
  144. package/dist/assets/{kol-popover-button-wc.entry-BBnYGn-6.js.map → kol-popover-button-wc.entry-f5JpT2Cu.js.map} +1 -1
  145. package/dist/assets/{kol-popover-button.entry-wfsYDf8j.js → kol-popover-button.entry-C2NMfDnk.js} +2 -2
  146. package/dist/assets/{kol-popover-button.entry-wfsYDf8j.js.map → kol-popover-button.entry-C2NMfDnk.js.map} +1 -1
  147. package/dist/assets/{kol-popover-wc.entry-DWLAI11t.js → kol-popover-wc.entry-DjkKVpzg.js} +2 -2
  148. package/dist/assets/{kol-popover-wc.entry-DWLAI11t.js.map → kol-popover-wc.entry-DjkKVpzg.js.map} +1 -1
  149. package/dist/assets/{kol-progress.entry-C75i7Od-.js → kol-progress.entry-CD0DAbi7.js} +2 -2
  150. package/dist/assets/{kol-progress.entry-C75i7Od-.js.map → kol-progress.entry-CD0DAbi7.js.map} +1 -1
  151. package/dist/assets/{kol-quote.entry-DGS_mgpI.js → kol-quote.entry-DBV-fGrN.js} +2 -2
  152. package/dist/assets/{kol-quote.entry-DGS_mgpI.js.map → kol-quote.entry-DBV-fGrN.js.map} +1 -1
  153. package/dist/assets/kol-select.entry-Coe2j3WO.js +311 -0
  154. package/dist/assets/kol-select.entry-Coe2j3WO.js.map +1 -0
  155. package/dist/assets/kol-single-select.entry-CkHxZ8cj.js +353 -0
  156. package/dist/assets/kol-single-select.entry-CkHxZ8cj.js.map +1 -0
  157. package/dist/assets/{kol-skip-nav.entry-BGVw8hZ5.js → kol-skip-nav.entry-CkUrOslv.js} +2 -2
  158. package/dist/assets/{kol-skip-nav.entry-BGVw8hZ5.js.map → kol-skip-nav.entry-CkUrOslv.js.map} +1 -1
  159. package/dist/assets/{kol-spin.entry-Wdw7sS3m.js → kol-spin.entry-9wO0ulfH.js} +2 -2
  160. package/dist/assets/{kol-spin.entry-Wdw7sS3m.js.map → kol-spin.entry-9wO0ulfH.js.map} +1 -1
  161. package/dist/assets/{kol-split-button.entry-C386dfK3.js → kol-split-button.entry-cnWmskjg.js} +2 -2
  162. package/dist/assets/{kol-split-button.entry-C386dfK3.js.map → kol-split-button.entry-cnWmskjg.js.map} +1 -1
  163. package/dist/assets/{kol-table-settings-wc.entry-CSUxEE5n.js → kol-table-settings-wc.entry-DZkz9nw4.js} +2 -2
  164. package/dist/assets/{kol-table-settings-wc.entry-CSUxEE5n.js.map → kol-table-settings-wc.entry-DZkz9nw4.js.map} +1 -1
  165. package/dist/assets/{kol-table-stateful.entry-CiQJ4IRI.js → kol-table-stateful.entry-D33e6rA_.js} +2 -2
  166. package/dist/assets/{kol-table-stateful.entry-CiQJ4IRI.js.map → kol-table-stateful.entry-D33e6rA_.js.map} +1 -1
  167. package/dist/assets/{kol-table-stateless-wc.entry-CWgksOdp.js → kol-table-stateless-wc.entry-Dvbc0K-h.js} +2 -2
  168. package/dist/assets/{kol-table-stateless-wc.entry-CWgksOdp.js.map → kol-table-stateless-wc.entry-Dvbc0K-h.js.map} +1 -1
  169. package/dist/assets/{kol-table-stateless.entry-B4VgXDJ6.js → kol-table-stateless.entry-BxIjGQxv.js} +2 -2
  170. package/dist/assets/{kol-table-stateless.entry-B4VgXDJ6.js.map → kol-table-stateless.entry-BxIjGQxv.js.map} +1 -1
  171. package/dist/assets/{kol-tabs.entry-B0RuAhyf.js → kol-tabs.entry-9k_Rxi5t.js} +2 -2
  172. package/dist/assets/{kol-tabs.entry-B0RuAhyf.js.map → kol-tabs.entry-9k_Rxi5t.js.map} +1 -1
  173. package/dist/assets/{kol-textarea.entry-CArAPV_X.js → kol-textarea.entry-ZgGTo8m-.js} +2 -2
  174. package/dist/assets/{kol-textarea.entry-CArAPV_X.js.map → kol-textarea.entry-ZgGTo8m-.js.map} +1 -1
  175. package/dist/assets/{kol-toast-container.entry-10fXiBhl.js → kol-toast-container.entry-Dxnweoc_.js} +2 -2
  176. package/dist/assets/{kol-toast-container.entry-10fXiBhl.js.map → kol-toast-container.entry-Dxnweoc_.js.map} +1 -1
  177. package/dist/assets/{kol-toolbar.entry-D9la5Ubq.js → kol-toolbar.entry-svohJPtm.js} +2 -2
  178. package/dist/assets/{kol-toolbar.entry-D9la5Ubq.js.map → kol-toolbar.entry-svohJPtm.js.map} +1 -1
  179. package/dist/assets/{kol-tooltip-wc.entry-DNcCoUHw.js → kol-tooltip-wc.entry-3wTzf-p_.js} +2 -2
  180. package/dist/assets/{kol-tooltip-wc.entry-DNcCoUHw.js.map → kol-tooltip-wc.entry-3wTzf-p_.js.map} +1 -1
  181. package/dist/assets/{kol-tree-item-wc.entry-DanrtYlc.js → kol-tree-item-wc.entry-CR26q0fe.js} +2 -2
  182. package/dist/assets/{kol-tree-item-wc.entry-DanrtYlc.js.map → kol-tree-item-wc.entry-CR26q0fe.js.map} +1 -1
  183. package/dist/assets/{kol-tree-item.entry-BnrKOj4l.js → kol-tree-item.entry-W2bE3xsY.js} +2 -2
  184. package/dist/assets/{kol-tree-item.entry-BnrKOj4l.js.map → kol-tree-item.entry-W2bE3xsY.js.map} +1 -1
  185. package/dist/assets/{kol-tree-wc.entry-CRD4wiP4.js → kol-tree-wc.entry-CzCnLZWS.js} +2 -2
  186. package/dist/assets/{kol-tree-wc.entry-CRD4wiP4.js.map → kol-tree-wc.entry-CzCnLZWS.js.map} +1 -1
  187. package/dist/assets/{kol-tree.entry-C_n78Elf.js → kol-tree.entry-Ccro5MDK.js} +2 -2
  188. package/dist/assets/{kol-tree.entry-C_n78Elf.js.map → kol-tree.entry-Ccro5MDK.js.map} +1 -1
  189. package/dist/assets/{kol-version.entry-Bwh_R-pi.js → kol-version.entry-Bmwy7nNf.js} +2 -2
  190. package/dist/assets/{kol-version.entry-Bwh_R-pi.js.map → kol-version.entry-Bmwy7nNf.js.map} +1 -1
  191. package/dist/assets/{label-bf9966d0-CIcy7dWZ.js → label-bf9966d0-DD73qKA1.js} +2 -2
  192. package/dist/assets/{label-bf9966d0-CIcy7dWZ.js.map → label-bf9966d0-DD73qKA1.js.map} +1 -1
  193. package/dist/assets/{link-variant-47605ebe-Db9oAxSq.js → link-variant-47605ebe-PxSpBXmQ.js} +2 -2
  194. package/dist/assets/{link-variant-47605ebe-Db9oAxSq.js.map → link-variant-47605ebe-PxSpBXmQ.js.map} +1 -1
  195. package/dist/assets/{open-385de2c9-CkQs0V1M.js → open-385de2c9-7GmulFFi.js} +2 -2
  196. package/dist/assets/{open-385de2c9-CkQs0V1M.js.map → open-385de2c9-7GmulFFi.js.map} +1 -1
  197. package/dist/assets/{orientation-409d844a-49Rg1RmJ.js → orientation-409d844a-DT8eQwMZ.js} +2 -2
  198. package/dist/assets/{orientation-409d844a-49Rg1RmJ.js.map → orientation-409d844a-DT8eQwMZ.js.map} +1 -1
  199. package/dist/assets/{rows-225b4f43-FHq5I-b3.js → rows-225b4f43-B3LLvvyQ.js} +2 -2
  200. package/dist/assets/{rows-225b4f43-FHq5I-b3.js.map → rows-225b4f43-B3LLvvyQ.js.map} +1 -1
  201. package/dist/assets/{show-fabfe6d7-BMF6L6YT.js → show-fabfe6d7-C_hc4jF0.js} +2 -2
  202. package/dist/assets/{show-fabfe6d7-BMF6L6YT.js.map → show-fabfe6d7-C_hc4jF0.js.map} +1 -1
  203. package/dist/assets/{spell-check-5559a801-BHLV8oee.js → spell-check-5559a801-fmENIQJ-.js} +2 -2
  204. package/dist/assets/{spell-check-5559a801-BHLV8oee.js.map → spell-check-5559a801-fmENIQJ-.js.map} +1 -1
  205. package/dist/assets/{suggestions-198125b7-DMRpxHKj.js → suggestions-198125b7-Yj_gvJUm.js} +2 -2
  206. package/dist/assets/{suggestions-198125b7-DMRpxHKj.js.map → suggestions-198125b7-Yj_gvJUm.js.map} +1 -1
  207. package/dist/assets/{table-settings-c12356ed-Byt87Fih.js → table-settings-c12356ed-BHyeXXNQ.js} +2 -2
  208. package/dist/assets/{table-settings-c12356ed-Byt87Fih.js.map → table-settings-c12356ed-BHyeXXNQ.js.map} +1 -1
  209. package/dist/assets/{test-component.entry-DpdiYl6B.js → test-component.entry-CYIX8nWv.js} +2 -2
  210. package/dist/assets/{test-component.entry-DpdiYl6B.js.map → test-component.entry-CYIX8nWv.js.map} +1 -1
  211. package/dist/assets/tooltip-align-465a8590-C2y-R0tO.js +4 -0
  212. package/dist/assets/{tooltip-align-465a8590-oLf5e6HF.js.map → tooltip-align-465a8590-C2y-R0tO.js.map} +1 -1
  213. package/dist/assets/{unique-nav-labels-e20db0b7-DFfOTIvU.js → unique-nav-labels-e20db0b7-Dtnj6kT5.js} +2 -2
  214. package/dist/assets/{unique-nav-labels-e20db0b7-DFfOTIvU.js.map → unique-nav-labels-e20db0b7-Dtnj6kT5.js.map} +1 -1
  215. package/dist/assets/{validation-152ea092-_NAyOV4B.js → validation-152ea092-7u_NqxDn.js} +2 -2
  216. package/dist/assets/{validation-152ea092-_NAyOV4B.js.map → validation-152ea092-7u_NqxDn.js.map} +1 -1
  217. package/dist/assets/{validation-9d549145-DnqhAgX_.js → validation-9d549145-BBYWZ5RD.js} +2 -2
  218. package/dist/assets/{validation-9d549145-DnqhAgX_.js.map → validation-9d549145-BBYWZ5RD.js.map} +1 -1
  219. package/dist/index.html +1 -1
  220. package/package.json +4 -4
  221. package/src/components/Sidebar.tsx +1 -1
  222. package/src/components/select/partials/cases.tsx +1 -1
  223. package/src/scenarios/appointment-form/DistrictForm.tsx +1 -1
  224. package/src/scenarios/appointment-form/PersonalInformationForm.tsx +1 -1
  225. package/dist/assets/has-closer-798e8f4d-BNAG4hIR.js +0 -4
  226. package/dist/assets/image-source-8079f8a5-DfIM6Fy2.js +0 -4
  227. package/dist/assets/index-Cg5HcNRr.js.map +0 -1
  228. package/dist/assets/kol-pagination-wc.entry-BQ0E6ijl.js +0 -4
  229. package/dist/assets/kol-pagination-wc.entry-BQ0E6ijl.js.map +0 -1
  230. package/dist/assets/kol-select.entry-V33qu7zy.js +0 -311
  231. package/dist/assets/kol-select.entry-V33qu7zy.js.map +0 -1
  232. package/dist/assets/kol-single-select.entry-B7cn0THo.js +0 -353
  233. package/dist/assets/kol-single-select.entry-B7cn0THo.js.map +0 -1
  234. package/dist/assets/tooltip-align-465a8590-oLf5e6HF.js +0 -4
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/kol-abbr.entry-DN9dSsLs.js","assets/label-bf9966d0-CIcy7dWZ.js","assets/kol-accordion.entry-DvRPXeLZ.js","assets/dev.utils-98923b37-B7eFOr35.js","assets/validation-152ea092-_NAyOV4B.js","assets/Collapsible-29bb352a-Bczx796u.js","assets/tslib.es6-1173d062-BAJoBDh7.js","assets/clsx-09a06a12-BT_IL7Fz.js","assets/Heading-4990ec84-CSY8emQR.js","assets/disabled-e1038f54-C2Wy6jK9.js","assets/open-385de2c9-CkQs0V1M.js","assets/kol-badge.entry-CM-QSGu8.js","assets/i18n-260f0fe9-Bs4P6g77.js","assets/Span-3cb1ff76-B5tretSo.js","assets/Icon-d694fbfe-CUvmuKwa.js","assets/markdown-f827f2ac-Bx43QwDK.js","assets/InternalUnderlinedBadgeText-e15d02d5-BvRyx5pf.js","assets/isArray-7a60fa7f-CQEkOYWk.js","assets/isObject-ffcbbb76-CLygU1TZ.js","assets/color-1228dab7-CXbPipO2.js","assets/icons-a9c52ed8-C33p1sox.js","assets/kol-breadcrumb.entry-B0lG5Q7y.js","assets/unique-nav-labels-e20db0b7-DFfOTIvU.js","assets/validation-9d549145-DnqhAgX_.js","assets/kol-details.entry-CyBCjZU5.js","assets/kol-drawer.entry-BIVg_Xfd.js","assets/align-d2572387-BQaAcwWi.js","assets/has-closer-798e8f4d-BNAG4hIR.js","assets/kol-form.entry-Bq3hi-TJ.js","assets/Alert-a96714a0-vfSTPogE.js","assets/kol-heading.entry-CoMSvAGs.js","assets/kol-icon.entry-Clh6RVF_.js","assets/kol-image.entry-CU4-Ui3x.js","assets/image-source-8079f8a5-DfIM6Fy2.js","assets/kol-input-checkbox.entry-Bi-CoQhC.js","assets/controller-a10288c6-3q1yNISr.js","assets/getRenderStates-6c8f7e98-zIMn8Jic.js","assets/associated.controller-4237c28d-DnjfJy5b.js","assets/access-and-short-key-f743a5c4-5v70klFi.js","assets/tooltip-align-465a8590-oLf5e6HF.js","assets/hide-label-8b3a8709-D2-N2-dk.js","assets/orientation-409d844a-49Rg1RmJ.js","assets/FieldControlStateWrapper-adc38f2f-DFbMkGWf.js","assets/Input-529b3f6c-v82lEh8w.js","assets/kol-input-color.entry-PTUQo8wE.js","assets/InputStateWrapper-16c56aee-ds4UwSBn.js","assets/controller-icon-8f0ee809-CvMl53Sr.js","assets/suggestions-198125b7-DMRpxHKj.js","assets/kol-input-date.entry-C0BOQjL5.js","assets/controller-235b6c3b-IJE2fOv7.js","assets/kol-input-email.entry-BjYvaenN.js","assets/controller-2a5d8667-DSjG9y3H.js","assets/controller-6253c3cd-BiOSke6G.js","assets/has-counter-3fc44829-Djiw8Gcz.js","assets/spell-check-5559a801-BHLV8oee.js","assets/kol-input-file.entry-CKSyLGGH.js","assets/kol-input-number.entry-CluRm3h-.js","assets/kol-input-password.entry-oiZQd5p8.js","assets/kol-input-radio.entry-CdOgq3MD.js","assets/kol-input-text.entry-CJ8Ftyhz.js","assets/kol-kolibri.entry-CXeHRJ9z.js","assets/kol-modal.entry-DgXzZ8cT.js","assets/kol-nav.entry-COZzIuXl.js","assets/kol-progress.entry-C75i7Od-.js","assets/kol-quote.entry-DGS_mgpI.js","assets/kol-select.entry-V33qu7zy.js","assets/rows-225b4f43-FHq5I-b3.js","assets/kol-skip-nav.entry-BGVw8hZ5.js","assets/kol-spin.entry-Wdw7sS3m.js","assets/show-fabfe6d7-BMF6L6YT.js","assets/kol-split-button.entry-C386dfK3.js","assets/kol-table-stateful.entry-CiQJ4IRI.js","assets/keyboard-2483c6de-Bn_Qh8Bq.js","assets/table-settings-c12356ed-Byt87Fih.js","assets/kol-tabs.entry-B0RuAhyf.js","assets/kol-textarea.entry-CArAPV_X.js","assets/kol-toast-container.entry-10fXiBhl.js","assets/kol-toolbar.entry-D9la5Ubq.js","assets/kol-version.entry-Bwh_R-pi.js","assets/kol-alert-wc.entry-zufk5GBr.js","assets/kol-avatar-wc.entry-DMmRMP-0.js","assets/kol-button-wc.entry-vjxo6iJr.js","assets/link-variant-47605ebe-Db9oAxSq.js","assets/custom-class-d73b81b1-BGktB6LF.js","assets/kol-card-wc.entry-DLJq3AT8.js","assets/kol-combobox.entry-Dx9iTU5l.js","assets/CustomSuggestionsOptionsGroup-4d57f72c-BBEDGacv.js","assets/kol-input-range.entry-cvnxRgtX.js","assets/kol-link-wc.entry-BR-DoQbC.js","assets/href-d9ccbbdf-B-tmZMAE.js","assets/kol-pagination-wc.entry-BQ0E6ijl.js","assets/kol-popover-button-wc.entry-BBnYGn-6.js","assets/align-floating-elements-9459ccc3-C_8cxopt.js","assets/kol-popover-wc.entry-DWLAI11t.js","assets/kol-single-select.entry-B7cn0THo.js","assets/kol-table-settings-wc.entry-CSUxEE5n.js","assets/kol-table-stateless-wc.entry-CWgksOdp.js","assets/kol-tooltip-wc.entry-DNcCoUHw.js","assets/kol-tree-item-wc.entry-DanrtYlc.js","assets/kol-tree-wc.entry-CRD4wiP4.js","assets/devtools-2b1bb963-nbpIxUJX.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/kol-abbr.entry-BR_44Rv9.js","assets/label-bf9966d0-DD73qKA1.js","assets/kol-accordion.entry-DEGvO3bs.js","assets/dev.utils-d42aaf74-B3Nmv0Sx.js","assets/validation-152ea092-7u_NqxDn.js","assets/Collapsible-741bf621-DGjSugir.js","assets/tslib.es6-1173d062-BAJoBDh7.js","assets/clsx-09a06a12-BT_IL7Fz.js","assets/Heading-6d2b507b-L-Rtd2uT.js","assets/disabled-e1038f54-BYwEcdH6.js","assets/open-385de2c9-7GmulFFi.js","assets/kol-badge.entry-DAXf9Jv7.js","assets/i18n-260f0fe9-r7KVCL60.js","assets/Span-f9dd0734-ByiWMc2q.js","assets/Icon-64aecdb3-TfzS2tqg.js","assets/markdown-f827f2ac-Bx43QwDK.js","assets/InternalUnderlinedBadgeText-b24e9dc5-Dst3huoL.js","assets/isArray-7a60fa7f-CQEkOYWk.js","assets/isObject-ffcbbb76-CLygU1TZ.js","assets/color-1228dab7-Ci1wJmQ_.js","assets/icons-a9c52ed8-ByMBsWqN.js","assets/kol-breadcrumb.entry-vPFYvCCO.js","assets/unique-nav-labels-e20db0b7-Dtnj6kT5.js","assets/validation-9d549145-BBYWZ5RD.js","assets/kol-details.entry-rPxgYszS.js","assets/kol-drawer.entry-Vo8AeNy0.js","assets/align-d2572387-OiZHYhqc.js","assets/has-closer-798e8f4d-DSYtGuiN.js","assets/kol-form.entry-DQF1lJo0.js","assets/Alert-7970c36f-BCgckKWh.js","assets/kol-heading.entry-DO6i-QH-.js","assets/kol-icon.entry-BE0k6RS5.js","assets/kol-image.entry-BkHWWrRo.js","assets/image-source-8079f8a5-Db70DQxo.js","assets/kol-input-checkbox.entry-B78yGkie.js","assets/controller-1da95b99-DjRVAyxr.js","assets/getRenderStates-d0c0ae47-LNsVnMiw.js","assets/associated.controller-4237c28d-DvuU5X7Q.js","assets/access-and-short-key-f743a5c4-CBjF-RXb.js","assets/tooltip-align-465a8590-C2y-R0tO.js","assets/hide-label-8b3a8709-BdN5-kgy.js","assets/orientation-409d844a-DT8eQwMZ.js","assets/FieldControlStateWrapper-3ed538a0-BQWXnqt8.js","assets/Input-8709f66f-B1WKLyfo.js","assets/kol-input-color.entry-BiFQvNgo.js","assets/InputStateWrapper-1008cf94-t0waoJRb.js","assets/controller-icon-0a6181f6-CLrqttrI.js","assets/suggestions-198125b7-Yj_gvJUm.js","assets/kol-input-date.entry-B_zMazQt.js","assets/controller-235b6c3b-D7gi0j6K.js","assets/kol-input-email.entry-dDZtUJXp.js","assets/controller-dc5f29b6-CLBfXn42.js","assets/controller-c1c531fb-DlTp1hNj.js","assets/has-counter-3fc44829-Brvrk3RQ.js","assets/spell-check-5559a801-fmENIQJ-.js","assets/kol-input-file.entry-OHgn7-bt.js","assets/kol-input-number.entry-B5R9kIqc.js","assets/kol-input-password.entry-nEAROgF7.js","assets/kol-input-radio.entry-dlg-0IFJ.js","assets/kol-input-text.entry-yxY_-GGf.js","assets/kol-kolibri.entry-Bzlqcsin.js","assets/kol-modal.entry-B-zReay5.js","assets/kol-nav.entry-CxprtxUy.js","assets/kol-progress.entry-CD0DAbi7.js","assets/kol-quote.entry-DBV-fGrN.js","assets/kol-select.entry-Coe2j3WO.js","assets/rows-225b4f43-B3LLvvyQ.js","assets/kol-skip-nav.entry-CkUrOslv.js","assets/kol-spin.entry-9wO0ulfH.js","assets/show-fabfe6d7-C_hc4jF0.js","assets/kol-split-button.entry-cnWmskjg.js","assets/kol-table-stateful.entry-D33e6rA_.js","assets/keyboard-2483c6de-Bn_Qh8Bq.js","assets/table-settings-c12356ed-BHyeXXNQ.js","assets/kol-tabs.entry-9k_Rxi5t.js","assets/kol-textarea.entry-ZgGTo8m-.js","assets/kol-toast-container.entry-Dxnweoc_.js","assets/kol-toolbar.entry-svohJPtm.js","assets/kol-version.entry-Bmwy7nNf.js","assets/kol-alert-wc.entry-Bj3CJN_u.js","assets/kol-avatar-wc.entry-GVLWsAVC.js","assets/kol-button-wc.entry-ChEt1DsT.js","assets/link-variant-47605ebe-PxSpBXmQ.js","assets/custom-class-d73b81b1-B-KlNGCp.js","assets/kol-card-wc.entry-Cl5MmmK7.js","assets/kol-combobox.entry-B5S_ViS0.js","assets/CustomSuggestionsOptionsGroup-d8226ae6-BiLFR0lz.js","assets/kol-input-range.entry-B7--MPkS.js","assets/kol-link-wc.entry-Mizd3t_R.js","assets/href-d9ccbbdf-CBk8EBTK.js","assets/kol-pagination-wc.entry-CMavorAX.js","assets/kol-popover-button-wc.entry-f5JpT2Cu.js","assets/align-floating-elements-9459ccc3-B5WMCQxl.js","assets/kol-popover-wc.entry-DjkKVpzg.js","assets/kol-single-select.entry-CkHxZ8cj.js","assets/kol-table-settings-wc.entry-DZkz9nw4.js","assets/kol-table-stateless-wc.entry-Dvbc0K-h.js","assets/kol-tooltip-wc.entry-3wTzf-p_.js","assets/kol-tree-item-wc.entry-CR26q0fe.js","assets/kol-tree-wc.entry-CzCnLZWS.js","assets/devtools-e7cb90e7-DoL8ytvK.js"])))=>i.map(i=>d[i]);
2
2
  var vx=Object.defineProperty;var kx=(e,r,l)=>r in e?vx(e,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[r]=l;var cr=(e,r,l)=>kx(e,typeof r!="symbol"?r+"":r,l);(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))i(c);new MutationObserver(c=>{for(const d of c)if(d.type==="childList")for(const f of d.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&i(f)}).observe(document,{childList:!0,subtree:!0});function l(c){const d={};return c.integrity&&(d.integrity=c.integrity),c.referrerPolicy&&(d.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?d.credentials="include":c.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function i(c){if(c.ep)return;c.ep=!0;const d=l(c);fetch(c.href,d)}})();function ok(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var dd={exports:{}},Ql={},ud={exports:{}},Ne={};/**
3
3
  * @license React
4
4
  * react.production.min.js
@@ -78,9 +78,9 @@ Link:
78
78
  * KoliBri - The accessible HTML-Standard
79
79
  */const Yk=Zk(),II=Yk("kol-icon"),NI=Yk("kol-icon","icon");/*!
80
80
  * KoliBri - The accessible HTML-Standard
81
- */class Gr{constructor(r,l){this.document=r,this.options=l,this.toastContainerElement=this.document.createElement(Yd),this.document.body.prepend(this.toastContainerElement)}static getInstance(r,l){if(!zw())throw new Error("Toaster: Call KoliBri bootstrap/register method first.");let i=this.instances.get(r);return i||(i=new Gr(r,l),this.instances.set(r,i)),i}dispose(){const r=this.toastContainerElement;r?(this.toastContainerElement=void 0,r.remove()):yn.warn("Toaster service is already disposed.")}enqueue(r){var l,i;if(this.toastContainerElement&&typeof this.toastContainerElement.enqueue=="function")return(l=r.variant)!==null&&l!==void 0||(r.variant=(i=this.options)===null||i===void 0?void 0:i.defaultVariant),this.toastContainerElement.enqueue(r)}closeAll(r=!1){this.toastContainerElement&&typeof this.toastContainerElement.closeAll=="function"&&this.toastContainerElement.closeAll(r)}}Gr.instances=new Map;var Fn;(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"})(Fn||(Fn={}));var Re;(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"})(Re||(Re={}));var kr;(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"})(kr||(kr={}));const fe=new Map;fe.set(Fn["Die Bundesregierung"],["Die","Bundesregierung"]);fe.set(Fn["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]);fe.set(Fn["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]);fe.set(Fn["Auswärtiges Amt"],["Auswärtiges Amt"]);fe.set(Fn["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]);fe.set(Fn["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]);fe.set(Fn["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]);fe.set(Fn["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]);fe.set(Fn["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]);fe.set(Fn["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]);fe.set(Fn["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]);fe.set(Fn["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]);fe.set(Fn["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]);fe.set(Fn["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]);fe.set(Fn["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]);fe.set(Re["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]);fe.set(Re["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]);fe.set(Re["Bundesamt für äußere Restitutionen"],[]);fe.set(Re["Bundesamt für Bauwesen und Raumordnung"],[]);fe.set(Re["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]);fe.set(Re["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]);fe.set(Re["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]);fe.set(Re["Bundesamt für Justiz"],["Bundesamt für","Justiz"]);fe.set(Re["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]);fe.set(Re["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]);fe.set(Re["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]);fe.set(Re["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]);fe.set(Re["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]);fe.set(Re["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]);fe.set(Re["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]);fe.set(Re["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]);fe.set(Re["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]);fe.set(Re.Bundesarchiv,["Das","Bundesarchiv"]);fe.set(Re["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]);fe.set(Re.Bundesausgleichsamt,["Bundesausgleichsamt"]);fe.set(Re.Bundeskartellamt,["Bundeskartellamt"]);fe.set(Re.Bundeskriminalamt,["Bundeskriminalamt"]);fe.set(Re.Bundesnachrichtendienst,["Bundesnachrichtendienst"]);fe.set(Re["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]);fe.set(Re.Bundespolizeipräsidium,["Bundespolizeipräsidium"]);fe.set(Re["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]);fe.set(Re.Bundessortenamt,["Bundessortenamt"]);fe.set(Re.Bundessprachenamt,["Bundessprachenamt"]);fe.set(Re["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]);fe.set(Re.Bundesverwaltungsamt,["Bundesverwaltungsamt"]);fe.set(Re["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]);fe.set(Re["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]);fe.set(Re["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]);fe.set(Re.Generalzolldirektion,["Generalzolldirektion"]);fe.set(Re["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]);fe.set(Re["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]);fe.set(kr["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]);fe.set(kr["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]);fe.set(kr["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]);fe.set(kr["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]);fe.set(kr["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]);fe.set(kr["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]);fe.set(kr["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]);const Cw="modulepreload",Lw=function(e){return"/"+e},Im={},ae=function(r,l,i){let c=Promise.resolve();if(l&&l.length>0){let f=function(m){return Promise.all(m.map(_=>Promise.resolve(_).then(x=>({status:"fulfilled",value:x}),x=>({status:"rejected",reason:x}))))};document.getElementsByTagName("link");const b=document.querySelector("meta[property=csp-nonce]"),h=(b==null?void 0:b.nonce)||(b==null?void 0:b.getAttribute("nonce"));c=f(l.map(m=>{if(m=Lw(m),m in Im)return;Im[m]=!0;const _=m.endsWith(".css"),x=_?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${x}`))return;const k=document.createElement("link");if(k.rel=_?"stylesheet":Cw,_||(k.as="script"),k.crossOrigin="",k.href=m,h&&k.setAttribute("nonce",h),document.head.appendChild(k),_)return new Promise((A,S)=>{k.addEventListener("load",A),k.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${m}`)))})}))}function d(f){const b=new Event("vite:preloadError",{cancelable:!0});if(b.payload=f,window.dispatchEvent(b),!b.defaultPrevented)throw f}return c.then(f=>{for(const b of f||[])b.status==="rejected"&&d(b.reason);return r().catch(d)})},Aw="kolibri",ja={experimentalSlotFixes:!1,hydratedSelectorName:"hydrated",shadowDom:!0,slotRelocation:!0,updatable:!0},RI={kolibriVersion:"3.0.2-rc.1"};var Ew=Object.defineProperty,$w=(e,r)=>{for(var l in r)Ew(e,l,{get:r[l],enumerable:!0})},$u=new WeakMap,_r=e=>$u.get(e),BI=(e,r)=>$u.set(r.$lazyInstance$=e,r),Iw=(e,r)=>{const l={$flags$:0,$hostElement$:e,$cmpMeta$:r,$instanceValues$:new Map};return l.$onInstancePromise$=new Promise(i=>l.$onInstanceResolve$=i),l.$onReadyPromise$=new Promise(i=>l.$onReadyResolve$=i),e["s-p"]=[],e["s-rc"]=[],$u.set(e,l)},Nm=(e,r)=>r in e,oe=(e,r)=>(0,console.error)(e,r),jd=new Map,Nw=(e,r,l)=>{const i=e.$tagName$.replace(/-/g,"_"),c=e.$lazyBundleId$;if(!c)return;const d=jd.get(c);if(d)return d[i];{const f=b=>(jd.set(c,b),b[i]);switch(c){case"kol-abbr":return ae(()=>import("./kol-abbr.entry-DN9dSsLs.js"),__vite__mapDeps([0,1])).then(f,oe);case"kol-accordion":return ae(()=>import("./kol-accordion.entry-DvRPXeLZ.js"),__vite__mapDeps([2,3,4,1,5,6,7,8,9,10])).then(f,oe);case"kol-alert":return ae(()=>import("./kol-alert.entry-C50RNo89.js"),[]).then(f,oe);case"kol-avatar":return ae(()=>import("./kol-avatar.entry-7vDbWlW-.js"),[]).then(f,oe);case"kol-badge":return ae(()=>import("./kol-badge.entry-CM-QSGu8.js"),__vite__mapDeps([11,7,12,13,6,14,15,16,17,18,3,19,20])).then(f,oe);case"kol-breadcrumb":return ae(()=>import("./kol-breadcrumb.entry-B0lG5Q7y.js"),__vite__mapDeps([21,22,23,1])).then(f,oe);case"kol-button":return ae(()=>import("./kol-button.entry-D9QZh-FS.js"),[]).then(f,oe);case"kol-button-link":return ae(()=>import("./kol-button-link.entry-BLx0975c.js"),[]).then(f,oe);case"kol-card":return ae(()=>import("./kol-card.entry-BjoXnLHm.js"),[]).then(f,oe);case"kol-details":return ae(()=>import("./kol-details.entry-CyBCjZU5.js"),__vite__mapDeps([24,5,6,7,8,3,4,1,9,10])).then(f,oe);case"kol-drawer":return ae(()=>import("./kol-drawer.entry-BIVg_Xfd.js"),__vite__mapDeps([25,7,26,27,1,10])).then(f,oe);case"kol-form":return ae(()=>import("./kol-form.entry-Bq3hi-TJ.js"),__vite__mapDeps([28,12,29,6,7,8])).then(f,oe);case"kol-heading":return ae(()=>import("./kol-heading.entry-CoMSvAGs.js"),__vite__mapDeps([30,12,8,6,7,15,4,1])).then(f,oe);case"kol-icon":return ae(()=>import("./kol-icon.entry-Clh6RVF_.js"),__vite__mapDeps([31,7,1])).then(f,oe);case"kol-image":return ae(()=>import("./kol-image.entry-CU4-Ui3x.js"),__vite__mapDeps([32,33])).then(f,oe);case"kol-input-checkbox":return ae(()=>import("./kol-input-checkbox.entry-Bi-CoQhC.js"),__vite__mapDeps([34,7,3,35,36,37,38,39,26,40,1,6,29,12,8,16,17,41,42,14,43])).then(f,oe);case"kol-input-color":return ae(()=>import("./kol-input-color.entry-PTUQo8wE.js"),__vite__mapDeps([44,6,3,36,37,38,39,26,40,1,7,29,12,8,16,17,45,43,46,14,18,20,47])).then(f,oe);case"kol-input-date":return ae(()=>import("./kol-input-date.entry-C0BOQjL5.js"),__vite__mapDeps([48,7,3,49,36,37,38,39,26,40,1,6,29,12,8,16,17,45,43,46,14,18,20,47])).then(f,oe);case"kol-input-email":return ae(()=>import("./kol-input-email.entry-BjYvaenN.js"),__vite__mapDeps([50,7,3,49,36,37,38,39,26,40,1,6,29,12,8,16,17,45,43,46,14,18,20,51,52,53,54,47])).then(f,oe);case"kol-input-file":return ae(()=>import("./kol-input-file.entry-CKSyLGGH.js"),__vite__mapDeps([55,7,3,36,37,38,39,26,40,1,6,29,12,8,16,17,45,43,46,14,18,20])).then(f,oe);case"kol-input-number":return ae(()=>import("./kol-input-number.entry-CluRm3h-.js"),__vite__mapDeps([56,7,3,49,36,37,38,39,26,40,1,6,29,12,8,16,17,45,43,46,14,18,20,47])).then(f,oe);case"kol-input-password":return ae(()=>import("./kol-input-password.entry-oiZQd5p8.js"),__vite__mapDeps([57,7,3,49,36,37,38,39,26,40,1,6,29,12,8,16,17,45,43,46,14,18,20,52,53])).then(f,oe);case"kol-input-radio":return ae(()=>import("./kol-input-radio.entry-CdOgq3MD.js"),__vite__mapDeps([58,7,3,35,36,37,38,39,26,40,1,6,29,12,8,16,17,41,49,42,43])).then(f,oe);case"kol-input-text":return ae(()=>import("./kol-input-text.entry-CJ8Ftyhz.js"),__vite__mapDeps([59,7,3,49,36,37,38,39,26,40,1,6,29,12,8,16,17,45,43,46,14,18,20,51,52,53,54,47])).then(f,oe);case"kol-kolibri":return ae(()=>import("./kol-kolibri.entry-CXeHRJ9z.js"),__vite__mapDeps([60,12,19])).then(f,oe);case"kol-link":return ae(()=>import("./kol-link.entry-dVIBgWXI.js"),[]).then(f,oe);case"kol-link-button":return ae(()=>import("./kol-link-button.entry-h-Qbgf6B.js"),[]).then(f,oe);case"kol-modal":return ae(()=>import("./kol-modal.entry-DgXzZ8cT.js"),__vite__mapDeps([61,12,7,1])).then(f,oe);case"kol-nav":return ae(()=>import("./kol-nav.entry-COZzIuXl.js"),__vite__mapDeps([62,12,22,23,7,40,1])).then(f,oe);case"kol-pagination":return ae(()=>import("./kol-pagination.entry-B-qoj_VM.js"),[]).then(f,oe);case"kol-popover-button":return ae(()=>import("./kol-popover-button.entry-wfsYDf8j.js"),[]).then(f,oe);case"kol-progress":return ae(()=>import("./kol-progress.entry-C75i7Od-.js"),__vite__mapDeps([63,1])).then(f,oe);case"kol-quote":return ae(()=>import("./kol-quote.entry-DGS_mgpI.js"),__vite__mapDeps([64,7,1])).then(f,oe);case"kol-select":return ae(()=>import("./kol-select.entry-V33qu7zy.js"),__vite__mapDeps([65,7,3,46,6,36,37,38,39,26,40,1,29,12,8,16,17,14,18,20,35,41,66,49])).then(f,oe);case"kol-skip-nav":return ae(()=>import("./kol-skip-nav.entry-BGVw8hZ5.js"),__vite__mapDeps([67,22,23,1])).then(f,oe);case"kol-spin":return ae(()=>import("./kol-spin.entry-Wdw7sS3m.js"),__vite__mapDeps([68,12,7,69])).then(f,oe);case"kol-split-button":return ae(()=>import("./kol-split-button.entry-C386dfK3.js"),__vite__mapDeps([70,12,7])).then(f,oe);case"kol-table-stateful":return ae(()=>import("./kol-table-stateful.entry-CiQJ4IRI.js"),__vite__mapDeps([71,12,72,73,1])).then(f,oe);case"kol-table-stateless":return ae(()=>import("./kol-table-stateless.entry-B4VgXDJ6.js"),[]).then(f,oe);case"kol-tabs":return ae(()=>import("./kol-tabs.entry-B0RuAhyf.js"),__vite__mapDeps([74,12,72,7,26,1])).then(f,oe);case"kol-textarea":return ae(()=>import("./kol-textarea.entry-CArAPV_X.js"),__vite__mapDeps([75,7,3,36,37,38,39,26,40,1,6,29,12,8,16,17,46,14,18,20,53,66,54])).then(f,oe);case"kol-toast-container":return ae(()=>import("./kol-toast-container.entry-10fXiBhl.js"),__vite__mapDeps([76,12,3,15,6,29,7,8])).then(f,oe);case"kol-toolbar":return ae(()=>import("./kol-toolbar.entry-D9la5Ubq.js"),__vite__mapDeps([77,41,72,1])).then(f,oe);case"kol-tree":return ae(()=>import("./kol-tree.entry-C_n78Elf.js"),[]).then(f,oe);case"kol-tree-item":return ae(()=>import("./kol-tree-item.entry-BnrKOj4l.js"),[]).then(f,oe);case"kol-version":return ae(()=>import("./kol-version.entry-Bwh_R-pi.js"),__vite__mapDeps([78,12,1])).then(f,oe);case"kol-alert-wc":return ae(()=>import("./kol-alert-wc.entry-zufk5GBr.js"),__vite__mapDeps([79,4,1,29,6,7,12,8,27])).then(f,oe);case"kol-avatar-wc":return ae(()=>import("./kol-avatar-wc.entry-DMmRMP-0.js"),__vite__mapDeps([80,12,33,1])).then(f,oe);case"kol-button-wc":return ae(()=>import("./kol-button-wc.entry-vjxo6iJr.js"),__vite__mapDeps([81,3,49,37,38,7,12,13,6,14,15,16,17,18,82,83,9,40,20,1,39,26])).then(f,oe);case"kol-card-wc":return ae(()=>import("./kol-card-wc.entry-DLJq3AT8.js"),__vite__mapDeps([84,12,4,1,8,6,7,15,27])).then(f,oe);case"kol-combobox":return ae(()=>import("./kol-combobox.entry-Dx9iTU5l.js"),__vite__mapDeps([85,7,3,36,37,38,39,26,40,1,6,29,12,8,16,17,46,14,18,20,47,45,43,86])).then(f,oe);case"kol-input-range":return ae(()=>import("./kol-input-range.entry-cvnxRgtX.js"),__vite__mapDeps([87,6,7,3,49,36,37,38,39,26,40,1,29,12,8,16,17,45,43,46,14,18,20,47])).then(f,oe);case"kol-link-wc":return ae(()=>import("./kol-link-wc.entry-BR-DoQbC.js"),__vite__mapDeps([88,3,12,38,7,13,6,14,15,16,17,18,89,82,83,9,40,20,1,39,26])).then(f,oe);case"kol-pagination-wc":return ae(()=>import("./kol-pagination-wc.entry-BQ0E6ijl.js"),__vite__mapDeps([90,12,3,22,83,1,39,26])).then(f,oe);case"kol-popover-button-wc":return ae(()=>import("./kol-popover-button-wc.entry-BBnYGn-6.js"),__vite__mapDeps([91,92,26])).then(f,oe);case"kol-popover-wc":return ae(()=>import("./kol-popover-wc.entry-DWLAI11t.js"),__vite__mapDeps([93,92,7,26,69])).then(f,oe);case"kol-single-select":return ae(()=>import("./kol-single-select.entry-B7cn0THo.js"),__vite__mapDeps([94,7,36,37,38,39,26,40,1,6,29,12,8,16,17,46,14,18,20,45,43,86,3,35,41])).then(f,oe);case"kol-table-settings-wc":return ae(()=>import("./kol-table-settings-wc.entry-CSUxEE5n.js"),__vite__mapDeps([95,12])).then(f,oe);case"kol-table-stateless-wc":return ae(()=>import("./kol-table-stateless-wc.entry-CWgksOdp.js"),__vite__mapDeps([96,7,12,72,3,73,17,18,1])).then(f,oe);case"kol-tooltip-wc":return ae(()=>import("./kol-tooltip-wc.entry-DNcCoUHw.js"),__vite__mapDeps([97,92,12,13,6,7,14,15,16,17,18,26,1])).then(f,oe);case"kol-tree-item-wc":return ae(()=>import("./kol-tree-item-wc.entry-DanrtYlc.js"),__vite__mapDeps([98,3,7,1,10,89])).then(f,oe);case"kol-tree-wc":return ae(()=>import("./kol-tree-wc.entry-CRD4wiP4.js"),__vite__mapDeps([99,1])).then(f,oe);case"test-component":return ae(()=>import("./test-component.entry-DpdiYl6B.js"),[]).then(f,oe)}}return ae(()=>import(`./${c}.entry.js`),[]).then(f=>(jd.set(c,f),f[i]),oe)},ls=new Map,Jk=[],Rw="r",Bw="o",Ow="s",Pw="t",Jd="s-id",Mw="sty-id",Rm="c-id",Dw="{visibility:hidden}.hydrated{visibility:inherit}",Qk="slot-fb{display:contents}slot-fb[hidden]{display:none}",Bm="http://www.w3.org/1999/xlink",Sa=typeof window<"u"?window:{},Gn=Sa.document||{head:{}},sn={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,r,l,i)=>e.addEventListener(r,l,i),rel:(e,r,l,i)=>e.removeEventListener(r,l,i),ce:(e,r)=>new CustomEvent(e,r)},Fw=ja.shadowDom,Kw=(()=>{let e=!1;try{Gn.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),Hw=e=>Promise.resolve(e),Uw=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),Xk=e=>Hw().then(e),Om={},Vw="http://www.w3.org/2000/svg",Ww="http://www.w3.org/1999/xhtml",Iu=e=>(e=typeof e,e==="object"||e==="function");function e_(e){var r,l,i;return(i=(l=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:l.getAttribute("content"))!=null?i:void 0}var qw={};$w(qw,{err:()=>n_,map:()=>Gw,ok:()=>Qd,unwrap:()=>Zw,unwrapErr:()=>Yw});var Qd=e=>({isOk:!0,isErr:!1,value:e}),n_=e=>({isOk:!1,isErr:!0,value:e});function Gw(e,r){if(e.isOk){const l=r(e.value);return l instanceof Promise?l.then(i=>Qd(i)):Qd(l)}if(e.isErr){const l=e.value;return n_(l)}throw"should never get here"}var Zw=e=>{if(e.isOk)return e.value;throw e.value},Yw=e=>{if(e.isErr)return e.value;throw e.value},Yo=(e,r="")=>()=>{},Jw=(e,r)=>()=>{},o_=(e,r,...l)=>{let i=null,c=null,d=null,f=!1,b=!1;const h=[],m=x=>{for(let k=0;k<x.length;k++)i=x[k],Array.isArray(i)?m(i):i!=null&&typeof i!="boolean"&&((f=typeof e!="function"&&!Iu(i))&&(i=String(i)),f&&b?h[h.length-1].$text$+=i:h.push(f?sl(null,i):i),b=f)};if(m(l),r){r.key&&(c=r.key),r.name&&(d=r.name);{const x=r.className||r.class;x&&(r.class=typeof x!="object"?x:Object.keys(x).filter(k=>x[k]).join(" "))}}if(typeof e=="function")return e(r===null?{}:r,h,ez);const _=sl(e,null);return _.$attrs$=r,h.length>0&&(_.$children$=h),_.$key$=c,_.$name$=d,_},sl=(e,r)=>{const l={$flags$:0,$tag$:e,$text$:r,$elm$:null,$children$:null};return l.$attrs$=null,l.$key$=null,l.$name$=null,l},Qw={},Xw=e=>e&&e.$tag$===Qw,ez={forEach:(e,r)=>e.map(Pm).forEach(r),map:(e,r)=>e.map(Pm).map(r).map(nz)},Pm=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),nz=e=>{if(typeof e.vtag=="function"){const l={...e.vattrs};return e.vkey&&(l.key=e.vkey),e.vname&&(l.name=e.vname),o_(e.vtag,l,...e.vchildren||[])}const r=sl(e.vtag,e.vtext);return r.$attrs$=e.vattrs,r.$children$=e.vchildren,r.$key$=e.vkey,r.$name$=e.vname,r},oz=(e,r,l,i)=>{const c=Yo("hydrateClient",r),d=e.shadowRoot,f=[],b=[],h=d?[]:null,m=i.$vnode$=sl(r,null);sn.$orgLocNodes$||eu(Gn.body,sn.$orgLocNodes$=new Map),e[Jd]=l,e.removeAttribute(Jd),Xd(m,f,b,h,e,e,l),f.map(_=>{const x=_.$hostId$+"."+_.$nodeId$,k=sn.$orgLocNodes$.get(x),A=_.$elm$;k&&Fw&&k["s-en"]===""&&k.parentNode.insertBefore(A,k.nextSibling),d||(A["s-hn"]=r,k&&(A["s-ol"]=k,A["s-ol"]["s-nr"]=A)),sn.$orgLocNodes$.delete(x)}),d&&h.map(_=>{_&&d.appendChild(_)}),c()},Xd=(e,r,l,i,c,d,f)=>{let b,h,m,_;if(d.nodeType===1){if(b=d.getAttribute(Rm),b&&(h=b.split("."),(h[0]===f||h[0]==="0")&&(m={$flags$:0,$hostId$:h[0],$nodeId$:h[1],$depth$:h[2],$index$:h[3],$tag$:d.tagName.toLowerCase(),$elm$:d,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},r.push(m),d.removeAttribute(Rm),e.$children$||(e.$children$=[]),e.$children$[m.$index$]=m,e=m,i&&m.$depth$==="0"&&(i[m.$index$]=m.$elm$))),d.shadowRoot)for(_=d.shadowRoot.childNodes.length-1;_>=0;_--)Xd(e,r,l,i,c,d.shadowRoot.childNodes[_],f);for(_=d.childNodes.length-1;_>=0;_--)Xd(e,r,l,i,c,d.childNodes[_],f)}else if(d.nodeType===8)h=d.nodeValue.split("."),(h[1]===f||h[1]==="0")&&(b=h[0],m={$flags$:0,$hostId$:h[1],$nodeId$:h[2],$depth$:h[3],$index$:h[4],$elm$:d,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},b===Pw?(m.$elm$=d.nextSibling,m.$elm$&&m.$elm$.nodeType===3&&(m.$text$=m.$elm$.textContent,r.push(m),d.remove(),e.$children$||(e.$children$=[]),e.$children$[m.$index$]=m,i&&m.$depth$==="0"&&(i[m.$index$]=m.$elm$))):m.$hostId$===f&&(b===Ow?(m.$tag$="slot",h[5]?d["s-sn"]=m.$name$=h[5]:d["s-sn"]="",d["s-sr"]=!0,i&&(m.$elm$=Gn.createElement(m.$tag$),m.$name$&&m.$elm$.setAttribute("name",m.$name$),d.parentNode.insertBefore(m.$elm$,d),d.remove(),m.$depth$==="0"&&(i[m.$index$]=m.$elm$)),l.push(m),e.$children$||(e.$children$=[]),e.$children$[m.$index$]=m):b===Rw&&(i?d.remove():(c["s-cr"]=d,d["s-cn"]=!0))));else if(e&&e.$tag$==="style"){const x=sl(null,d.textContent);x.$elm$=d,x.$index$="0",e.$children$=[x]}},eu=(e,r)=>{if(e.nodeType===1){let l=0;if(e.shadowRoot)for(;l<e.shadowRoot.childNodes.length;l++)eu(e.shadowRoot.childNodes[l],r);for(l=0;l<e.childNodes.length;l++)eu(e.childNodes[l],r)}else if(e.nodeType===8){const l=e.nodeValue.split(".");l[0]===Bw&&(r.set(l[1]+"."+l[2],e),e.nodeValue="",e["s-en"]=l[3])}},rz=e=>Jk.map(r=>r(e)).find(r=>!!r),tz=e=>Jk.push(e),lz=(e,r)=>e!=null&&!Iu(e)?r&4?e==="false"?!1:e===""||!!e:r&2?parseFloat(e):r&1?String(e):e:e,OI=e=>_r(e).$hostElement$,az=(e,r,l)=>{const i=sn.ce(r,l);return e.dispatchEvent(i),i},Mm=new WeakMap,iz=(e,r,l)=>{let i=ls.get(e);Uw&&l?(i=i||new CSSStyleSheet,typeof i=="string"?i=r:i.replaceSync(r)):i=r,ls.set(e,i)},r_=(e,r,l)=>{var i;const c=t_(r,l),d=ls.get(c);if(e=e.nodeType===11?e:Gn,d)if(typeof d=="string"){e=e.head||e;let f=Mm.get(e),b;if(f||Mm.set(e,f=new Set),!f.has(c)){if(e.host&&(b=e.querySelector(`[${Mw}="${c}"]`)))b.innerHTML=d;else{b=Gn.createElement("style"),b.innerHTML=d;const h=(i=sn.$nonce$)!=null?i:e_(Gn);h!=null&&b.setAttribute("nonce",h),(!(r.$flags$&1)||r.$flags$&1&&e.nodeName!=="HEAD")&&e.insertBefore(b,e.querySelector("link"))}r.$flags$&4&&(b.innerHTML+=Qk),f&&f.add(c)}}else e.adoptedStyleSheets.includes(d)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,d]);return c},sz=e=>{const r=e.$cmpMeta$,l=e.$hostElement$,i=r.$flags$,c=Yo("attachStyles",r.$tagName$),d=r_(l.shadowRoot?l.shadowRoot:l.getRootNode(),r,e.$modeName$);i&10&&i&2&&(l["s-sc"]=d,l.classList.add(d+"-h")),c()},t_=(e,r)=>"sc-"+(r&&e.$flags$&32?e.$tagName$+"-"+r:e.$tagName$),Dm=(e,r,l,i,c,d)=>{if(l!==i){let f=Nm(e,r),b=r.toLowerCase();if(r==="class"){const h=e.classList,m=Fm(l),_=Fm(i);h.remove(...m.filter(x=>x&&!_.includes(x))),h.add(..._.filter(x=>x&&!m.includes(x)))}else if(r==="style"){for(const h in l)(!i||i[h]==null)&&(h.includes("-")?e.style.removeProperty(h):e.style[h]="");for(const h in i)(!l||i[h]!==l[h])&&(h.includes("-")?e.style.setProperty(h,i[h]):e.style[h]=i[h])}else if(r!=="key")if(r==="ref")i&&i(e);else if(!f&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"?r=r.slice(3):Nm(Sa,b)?r=b.slice(2):r=b[2]+r.slice(3),l||i){const h=r.endsWith(l_);r=r.replace(dz,""),l&&sn.rel(e,r,l,h),i&&sn.ael(e,r,i,h)}}else{const h=Iu(i);if((f||h&&i!==null)&&!c)try{if(e.tagName.includes("-"))e[r]=i;else{const _=i??"";r==="list"?f=!1:(l==null||e[r]!=_)&&(e[r]=_)}}catch{}let m=!1;b!==(b=b.replace(/^xlink\:?/,""))&&(r=b,m=!0),i==null||i===!1?(i!==!1||e.getAttribute(r)==="")&&(m?e.removeAttributeNS(Bm,r):e.removeAttribute(r)):(!f||d&4||c)&&!h&&(i=i===!0?"":i,m?e.setAttributeNS(Bm,r,i):e.setAttribute(r,i))}}},cz=/\s/,Fm=e=>e?e.split(cz):[],l_="Capture",dz=new RegExp(l_+"$"),a_=(e,r,l)=>{const i=r.$elm$.nodeType===11&&r.$elm$.host?r.$elm$.host:r.$elm$,c=e&&e.$attrs$||Om,d=r.$attrs$||Om;for(const f of Km(Object.keys(c)))f in d||Dm(i,f,c[f],void 0,l,r.$flags$);for(const f of Km(Object.keys(d)))Dm(i,f,c[f],d[f],l,r.$flags$)};function Km(e){return e.includes("ref")?[...e.filter(r=>r!=="ref"),"ref"]:e}var nu,ou,hs,as=!1,is=!1,Nu=!1,_o=!1,ss=(e,r,l,i)=>{var c;const d=r.$children$[l];let f=0,b,h,m;if(as||(Nu=!0,d.$tag$==="slot"&&(nu&&i.classList.add(nu+"-s"),d.$flags$|=d.$children$?2:1)),d.$text$!==null)b=d.$elm$=Gn.createTextNode(d.$text$);else if(d.$flags$&1)b=d.$elm$=Gn.createTextNode("");else{if(_o||(_o=d.$tag$==="svg"),b=d.$elm$=Gn.createElementNS(_o?Vw:Ww,!as&&ja.slotRelocation&&d.$flags$&2?"slot-fb":d.$tag$),_o&&d.$tag$==="foreignObject"&&(_o=!1),a_(null,d,_o),b.getRootNode().querySelector("body"),d.$children$)for(f=0;f<d.$children$.length;++f)h=ss(e,d,f,b),h&&b.appendChild(h);d.$tag$==="svg"?_o=!1:b.tagName==="foreignObject"&&(_o=!0)}return b["s-hn"]=hs,d.$flags$&3&&(b["s-sr"]=!0,b["s-cr"]=ou,b["s-sn"]=d.$name$||"",b["s-rf"]=(c=d.$attrs$)==null?void 0:c.ref,m=e&&e.$children$&&e.$children$[l],m&&m.$tag$===d.$tag$&&e.$elm$&&ma(e.$elm$,!1)),b},ma=(e,r)=>{sn.$flags$|=1;const l=Array.from(e.childNodes);e["s-sr"]&&ja.experimentalSlotFixes;for(let i=l.length-1;i>=0;i--){const c=l[i];c["s-hn"]!==hs&&c["s-ol"]&&(Ur(c_(c),c,Ru(c)),c["s-ol"].remove(),c["s-ol"]=void 0,c["s-sh"]=void 0,Nu=!0),r&&ma(c,r)}sn.$flags$&=-2},i_=(e,r,l,i,c,d)=>{let f=e["s-cr"]&&e["s-cr"].parentNode||e,b;for(f.shadowRoot&&f.tagName===hs&&(f=f.shadowRoot);c<=d;++c)i[c]&&(b=ss(null,l,c,e),b&&(i[c].$elm$=b,Ur(f,b,Ru(r))))},s_=(e,r,l)=>{for(let i=r;i<=l;++i){const c=e[i];if(c){const d=c.$elm$;f_(c),d&&(is=!0,d["s-ol"]?d["s-ol"].remove():ma(d,!0),d.remove())}}},uz=(e,r,l,i,c=!1)=>{let d=0,f=0,b=0,h=0,m=r.length-1,_=r[0],x=r[m],k=i.length-1,A=i[0],S=i[k],j,L;for(;d<=m&&f<=k;)if(_==null)_=r[++d];else if(x==null)x=r[--m];else if(A==null)A=i[++f];else if(S==null)S=i[--k];else if(Fi(_,A,c))ll(_,A,c),_=r[++d],A=i[++f];else if(Fi(x,S,c))ll(x,S,c),x=r[--m],S=i[--k];else if(Fi(_,S,c))(_.$tag$==="slot"||S.$tag$==="slot")&&ma(_.$elm$.parentNode,!1),ll(_,S,c),Ur(e,_.$elm$,x.$elm$.nextSibling),_=r[++d],S=i[--k];else if(Fi(x,A,c))(_.$tag$==="slot"||S.$tag$==="slot")&&ma(x.$elm$.parentNode,!1),ll(x,A,c),Ur(e,x.$elm$,_.$elm$),x=r[--m],A=i[++f];else{for(b=-1,h=d;h<=m;++h)if(r[h]&&r[h].$key$!==null&&r[h].$key$===A.$key$){b=h;break}b>=0?(L=r[b],L.$tag$!==A.$tag$?j=ss(r&&r[f],l,b,e):(ll(L,A,c),r[b]=void 0,j=L.$elm$),A=i[++f]):(j=ss(r&&r[f],l,f,e),A=i[++f]),j&&Ur(c_(_.$elm$),j,Ru(_.$elm$))}d>m?i_(e,i[k+1]==null?null:i[k+1].$elm$,l,i,f,k):f>k&&s_(r,d,m)},Fi=(e,r,l=!1)=>e.$tag$===r.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&l&&e.$elm$.nodeType!==8?!1:e.$name$===r.$name$:l?!0:e.$key$===r.$key$:!1,Ru=e=>e&&e["s-ol"]||e,c_=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,ll=(e,r,l=!1)=>{const i=r.$elm$=e.$elm$,c=e.$children$,d=r.$children$,f=r.$tag$,b=r.$text$;let h;b===null?(_o=f==="svg"?!0:f==="foreignObject"?!1:_o,f==="slot"&&!as||a_(e,r,_o),c!==null&&d!==null?uz(i,c,r,d,l):d!==null?(e.$text$!==null&&(i.textContent=""),i_(i,null,r,d,0,d.length-1)):!l&&ja.updatable&&c!==null&&s_(c,0,c.length-1),_o&&f==="svg"&&(_o=!1)):(h=i["s-cr"])?h.parentNode.textContent=b:e.$text$!==b&&(i.data=b)},d_=e=>{const r=e.childNodes;for(const l of r)if(l.nodeType===1){if(l["s-sr"]){const i=l["s-sn"];l.hidden=!1;for(const c of r)if(c!==l){if(c["s-hn"]!==l["s-hn"]||i!==""){if(c.nodeType===1&&(i===c.getAttribute("slot")||i===c["s-sn"])||c.nodeType===3&&i===c["s-sn"]){l.hidden=!0;break}}else if(c.nodeType===1||c.nodeType===3&&c.textContent.trim()!==""){l.hidden=!0;break}}}d_(l)}},ur=[],u_=e=>{let r,l,i;for(const c of e.childNodes){if(c["s-sr"]&&(r=c["s-cr"])&&r.parentNode){l=r.parentNode.childNodes;const d=c["s-sn"];for(i=l.length-1;i>=0;i--)if(r=l[i],!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==c["s-hn"])if(Hm(r,d)){let f=ur.find(b=>b.$nodeToRelocate$===r);is=!0,r["s-sn"]=r["s-sn"]||d,f?(f.$nodeToRelocate$["s-sh"]=c["s-hn"],f.$slotRefNode$=c):(r["s-sh"]=c["s-hn"],ur.push({$slotRefNode$:c,$nodeToRelocate$:r})),r["s-sr"]&&ur.map(b=>{Hm(b.$nodeToRelocate$,r["s-sn"])&&(f=ur.find(h=>h.$nodeToRelocate$===r),f&&!b.$slotRefNode$&&(b.$slotRefNode$=f.$slotRefNode$))})}else ur.some(f=>f.$nodeToRelocate$===r)||ur.push({$nodeToRelocate$:r})}c.nodeType===1&&u_(c)}},Hm=(e,r)=>e.nodeType===1?e.getAttribute("slot")===null&&r===""||e.getAttribute("slot")===r:e["s-sn"]===r?!0:r==="",f_=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(f_)},Ur=(e,r,l)=>e==null?void 0:e.insertBefore(r,l),fz=(e,r,l=!1)=>{var i,c,d,f;const b=e.$hostElement$,h=e.$cmpMeta$,m=e.$vnode$||sl(null,null),_=Xw(r)?r:o_(null,null,r);if(hs=b.tagName,h.$attrsToReflect$&&(_.$attrs$=_.$attrs$||{},h.$attrsToReflect$.map(([x,k])=>_.$attrs$[k]=b[x])),l&&_.$attrs$)for(const x of Object.keys(_.$attrs$))b.hasAttribute(x)&&!["key","ref","style","class"].includes(x)&&(_.$attrs$[x]=b[x]);_.$tag$=null,_.$flags$|=4,e.$vnode$=_,_.$elm$=m.$elm$=b.shadowRoot||b,nu=b["s-sc"],as=(h.$flags$&1)!==0,ou=b["s-cr"],is=!1,ll(m,_,l);{if(sn.$flags$|=1,Nu){u_(_.$elm$);for(const x of ur){const k=x.$nodeToRelocate$;if(!k["s-ol"]){const A=Gn.createTextNode("");A["s-nr"]=k,Ur(k.parentNode,k["s-ol"]=A,k)}}for(const x of ur){const k=x.$nodeToRelocate$,A=x.$slotRefNode$;if(A){const S=A.parentNode;let j=A.nextSibling;{let L=(i=k["s-ol"])==null?void 0:i.previousSibling;for(;L;){let y=(c=L["s-nr"])!=null?c:null;if(y&&y["s-sn"]===k["s-sn"]&&S===y.parentNode){for(y=y.nextSibling;y===k||y!=null&&y["s-sr"];)y=y==null?void 0:y.nextSibling;if(!y||!y["s-nr"]){j=y;break}}L=L.previousSibling}}(!j&&S!==k.parentNode||k.nextSibling!==j)&&k!==j&&(!k["s-hn"]&&k["s-ol"]&&(k["s-hn"]=k["s-ol"].parentNode.nodeName),Ur(S,k,j),k.nodeType===1&&(k.hidden=(d=k["s-ih"])!=null?d:!1)),k&&typeof A["s-rf"]=="function"&&A["s-rf"](k)}else k.nodeType===1&&(l&&(k["s-ih"]=(f=k.hidden)!=null?f:!1),k.hidden=!0)}}is&&d_(_.$elm$),sn.$flags$&=-2,ur.length=0}ou=void 0},p_=(e,r)=>{r&&!e.$onRenderResolve$&&r["s-p"]&&r["s-p"].push(new Promise(l=>e.$onRenderResolve$=l))},Bu=(e,r)=>{if(e.$flags$&4){e.$flags$|=512;return}return p_(e,e.$ancestorComponent$),pz(e,r)},pz=(e,r)=>{const l=e.$hostElement$,i=Yo("scheduleUpdate",e.$cmpMeta$.$tagName$),c=e.$lazyInstance$;if(!c)throw new Error(`Can't render component <${l.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 d;return r&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([f,b])=>cl(c,f,b)),e.$queuedListeners$=void 0),d=cl(c,"componentWillLoad")),i(),hz(d,()=>mz(e,c,r))},hz=(e,r)=>bz(e)?e.then(r).catch(l=>{console.error(l),r()}):r(),bz=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",mz=async(e,r,l)=>{var i;const c=e.$hostElement$,d=Yo("update",e.$cmpMeta$.$tagName$),f=c["s-rc"];l&&sz(e);const b=Yo("render",e.$cmpMeta$.$tagName$);vz(e,r,c,l),f&&(f.map(h=>h()),c["s-rc"]=void 0),b(),d();{const h=(i=c["s-p"])!=null?i:[],m=()=>kz(e);h.length===0?m():(Promise.all(h).then(m),e.$flags$|=4,h.length=0)}},vz=(e,r,l,i)=>{try{r=r.render&&r.render(),e.$flags$|=2,fz(e,r,i)}catch(c){oe(c,e.$hostElement$)}return null},kz=e=>{const r=e.$cmpMeta$.$tagName$,l=e.$hostElement$,i=Yo("postUpdate",r),c=e.$lazyInstance$,d=e.$ancestorComponent$;cl(c,"componentDidRender"),e.$flags$&64?i():(e.$flags$|=64,b_(l),cl(c,"componentDidLoad"),i(),e.$onReadyResolve$(l),d||h_()),e.$onInstanceResolve$(l),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Xk(()=>Bu(e,!1)),e.$flags$&=-517},h_=e=>{b_(Gn.documentElement),Xk(()=>az(Sa,"appload",{detail:{namespace:Aw}}))},cl=(e,r,l)=>{if(e&&e[r])try{return e[r](l)}catch(i){oe(i)}},b_=e=>{var r;return e.classList.add((r=ja.hydratedSelectorName)!=null?r:"hydrated")},_z=(e,r)=>_r(e).$instanceValues$.get(r),gz=(e,r,l,i)=>{const c=_r(e);if(!c)throw new Error(`Couldn't find host element for "${i.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const d=c.$hostElement$,f=c.$instanceValues$.get(r),b=c.$flags$,h=c.$lazyInstance$;l=lz(l,i.$members$[r][0]);const m=Number.isNaN(f)&&Number.isNaN(l),_=l!==f&&!m;if((!(b&8)||f===void 0)&&_&&(c.$instanceValues$.set(r,l),h)){if(i.$watchers$&&b&128){const x=i.$watchers$[r];x&&x.map(k=>{try{h[k](l,f,r)}catch(A){oe(A,d)}})}(b&18)===2&&Bu(c,!1)}},m_=(e,r,l)=>{var i,c;const d=e.prototype;if(r.$members$||r.$watchers$||e.watchers){e.watchers&&!r.$watchers$&&(r.$watchers$=e.watchers);const f=Object.entries((i=r.$members$)!=null?i:{});if(f.map(([b,[h]])=>{h&31||l&2&&h&32?Object.defineProperty(d,b,{get(){return _z(this,b)},set(m){gz(this,b,m,r)},configurable:!0,enumerable:!0}):l&1&&h&64&&Object.defineProperty(d,b,{value(...m){var _;const x=_r(this);return(_=x==null?void 0:x.$onInstancePromise$)==null?void 0:_.then(()=>{var k;return(k=x.$lazyInstance$)==null?void 0:k[b](...m)})}})}),l&1){const b=new Map;d.attributeChangedCallback=function(h,m,_){sn.jmp(()=>{var x;const k=b.get(h);if(this.hasOwnProperty(k))_=this[k],delete this[k];else{if(d.hasOwnProperty(k)&&typeof this[k]=="number"&&this[k]==_)return;if(k==null){const A=_r(this),S=A==null?void 0:A.$flags$;if(S&&!(S&8)&&S&128&&_!==m){const j=A.$lazyInstance$,L=(x=r.$watchers$)==null?void 0:x[h];L==null||L.forEach(y=>{j[y]!=null&&j[y].call(j,_,m,h)})}return}}this[k]=_===null&&typeof this[k]=="boolean"?!1:_})},e.observedAttributes=Array.from(new Set([...Object.keys((c=r.$watchers$)!=null?c:{}),...f.filter(([h,m])=>m[0]&15).map(([h,m])=>{var _;const x=m[1]||h;return b.set(x,h),m[0]&512&&((_=r.$attrsToReflect$)==null||_.push([h,x])),x})]))}}return e},xz=async(e,r,l,i)=>{let c;if((r.$flags$&32)===0){if(r.$flags$|=32,l.$lazyBundleId$){const h=Nw(l);if(h&&"then"in h){const _=Jw();c=await h,_()}else c=h;if(!c)throw new Error(`Constructor for "${l.$tagName$}#${r.$modeName$}" was not found`);c.isProxied||(l.$watchers$=c.watchers,m_(c,l,2),c.isProxied=!0);const m=Yo("createInstance",l.$tagName$);r.$flags$|=8;try{new c(r)}catch(_){oe(_)}r.$flags$&=-9,r.$flags$|=128,m(),ru(r.$lazyInstance$)}else{c=e.constructor;const h=e.localName;customElements.whenDefined(h).then(()=>r.$flags$|=128)}if(c&&c.style){let h;typeof c.style=="string"?h=c.style:typeof c.style!="string"&&(r.$modeName$=rz(e),r.$modeName$&&(h=c.style[r.$modeName$]));const m=t_(l,r.$modeName$);if(!ls.has(m)){const _=Yo("registerStyles",l.$tagName$);iz(m,h,!!(l.$flags$&1)),_()}}}const d=r.$ancestorComponent$,f=()=>Bu(r,!0);d&&d["s-rc"]?d["s-rc"].push(f):f()},ru=e=>{cl(e,"connectedCallback")},yz=e=>{if((sn.$flags$&1)===0){const r=_r(e),l=r.$cmpMeta$,i=Yo("connectedCallback",l.$tagName$);if(r.$flags$&1)v_(e,r,l.$listeners$),r!=null&&r.$lazyInstance$?ru(r.$lazyInstance$):r!=null&&r.$onReadyPromise$&&r.$onReadyPromise$.then(()=>ru(r.$lazyInstance$));else{r.$flags$|=1;let c;if(c=e.getAttribute(Jd),c){if(l.$flags$&1){const d=r_(e.shadowRoot,l,e.getAttribute("s-mode"));e.classList.remove(d+"-h",d+"-s")}oz(e,l.$tagName$,c,r)}c||l.$flags$&12&&wz(e);{let d=e;for(;d=d.parentNode||d.host;)if(d.nodeType===1&&d.hasAttribute("s-id")&&d["s-p"]||d["s-p"]){p_(r,r.$ancestorComponent$=d);break}}l.$members$&&Object.entries(l.$members$).map(([d,[f]])=>{if(f&31&&e.hasOwnProperty(d)){const b=e[d];delete e[d],e[d]=b}}),xz(e,r,l)}i()}},wz=e=>{const r=e["s-cr"]=Gn.createComment("");r["s-cn"]=!0,Ur(e,r,e.firstChild)},Um=e=>{cl(e,"disconnectedCallback")},zz=async e=>{if((sn.$flags$&1)===0){const r=_r(e);r.$rmListeners$&&(r.$rmListeners$.map(l=>l()),r.$rmListeners$=void 0),r!=null&&r.$lazyInstance$?Um(r.$lazyInstance$):r!=null&&r.$onReadyPromise$&&r.$onReadyPromise$.then(()=>Um(r.$lazyInstance$))}},jz=(e,r={})=>{var l;const i=Yo(),c=[],d=r.exclude||[],f=Sa.customElements,b=Gn.head,h=b.querySelector("meta[charset]"),m=Gn.createElement("style"),_=[];let x,k=!0;Object.assign(sn,r),sn.$resourcesUrl$=new URL(r.resourcesUrl||"./",Gn.baseURI).href,sn.$flags$|=2;let A=!1;if(e.map(S=>{S[1].map(j=>{var L;const y={$flags$:j[0],$tagName$:j[1],$members$:j[2],$listeners$:j[3]};y.$flags$&4&&(A=!0),y.$members$=j[2],y.$listeners$=j[3],y.$attrsToReflect$=[],y.$watchers$=(L=j[4])!=null?L:{};const P=r.transformTagName?r.transformTagName(y.$tagName$):y.$tagName$,V=class extends HTMLElement{constructor(G){if(super(G),this.hasRegisteredEventListeners=!1,G=this,Iw(G,y),y.$flags$&1){if(!G.shadowRoot)G.attachShadow({mode:"open",delegatesFocus:!!(y.$flags$&16)});else if(G.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${y.$tagName$}! Mode is set to ${G.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const G=_r(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,v_(this,G,y.$listeners$)),x&&(clearTimeout(x),x=null),k?_.push(this):sn.jmp(()=>yz(this))}disconnectedCallback(){sn.jmp(()=>zz(this))}componentOnReady(){return _r(this).$onReadyPromise$}};y.$lazyBundleId$=S[0],!d.includes(P)&&!f.get(P)&&(c.push(P),f.define(P,m_(V,y,1)))})}),c.length>0&&(A&&(m.textContent+=Qk),m.textContent+=c.sort()+Dw,m.innerHTML.length)){m.setAttribute("data-styles","");const S=(l=sn.$nonce$)!=null?l:e_(Gn);S!=null&&m.setAttribute("nonce",S),b.insertBefore(m,h?h.nextSibling:b.firstChild)}k=!1,_.length?_.map(S=>S.connectedCallback()):sn.jmp(()=>x=setTimeout(h_,30)),i()},PI=(e,r)=>r,v_=(e,r,l,i)=>{l&&l.map(([c,d,f])=>{const b=Tz(e,c),h=Sz(r,f),m=Cz(c);sn.ael(b,d,h,m),(r.$rmListeners$=r.$rmListeners$||[]).push(()=>sn.rel(b,d,h,m))})},Sz=(e,r)=>l=>{var i;try{e.$flags$&256?(i=e.$lazyInstance$)==null||i[r](l):(e.$queuedListeners$=e.$queuedListeners$||[]).push([r,l])}catch(c){oe(c)}},Tz=(e,r)=>r&8?Sa:e,Cz=e=>Kw?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;tz(e=>{try{e.shadowRoot instanceof ShadowRoot&&E0(e,m0(e))}catch{}return"default"});ae(()=>import("./devtools-2b1bb963-nbpIxUJX.js"),__vite__mapDeps([100,3])).then(e=>{typeof e=="object"&&e!==null&&typeof e.initialize=="function"&&e.initialize()}).catch(e=>{yn.error(e)});const Lz=()=>{},Az=Lz;/*!
81
+ */class Gr{constructor(r,l){this.document=r,this.options=l,this.toastContainerElement=this.document.createElement(Yd),this.document.body.prepend(this.toastContainerElement)}static getInstance(r,l){if(!zw())throw new Error("Toaster: Call KoliBri bootstrap/register method first.");let i=this.instances.get(r);return i||(i=new Gr(r,l),this.instances.set(r,i)),i}dispose(){const r=this.toastContainerElement;r?(this.toastContainerElement=void 0,r.remove()):yn.warn("Toaster service is already disposed.")}enqueue(r){var l,i;if(this.toastContainerElement&&typeof this.toastContainerElement.enqueue=="function")return(l=r.variant)!==null&&l!==void 0||(r.variant=(i=this.options)===null||i===void 0?void 0:i.defaultVariant),this.toastContainerElement.enqueue(r)}closeAll(r=!1){this.toastContainerElement&&typeof this.toastContainerElement.closeAll=="function"&&this.toastContainerElement.closeAll(r)}}Gr.instances=new Map;var Fn;(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"})(Fn||(Fn={}));var Re;(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"})(Re||(Re={}));var kr;(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"})(kr||(kr={}));const fe=new Map;fe.set(Fn["Die Bundesregierung"],["Die","Bundesregierung"]);fe.set(Fn["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]);fe.set(Fn["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]);fe.set(Fn["Auswärtiges Amt"],["Auswärtiges Amt"]);fe.set(Fn["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]);fe.set(Fn["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]);fe.set(Fn["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]);fe.set(Fn["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]);fe.set(Fn["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]);fe.set(Fn["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]);fe.set(Fn["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]);fe.set(Fn["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]);fe.set(Fn["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]);fe.set(Fn["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]);fe.set(Fn["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]);fe.set(Re["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]);fe.set(Re["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]);fe.set(Re["Bundesamt für äußere Restitutionen"],[]);fe.set(Re["Bundesamt für Bauwesen und Raumordnung"],[]);fe.set(Re["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]);fe.set(Re["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]);fe.set(Re["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]);fe.set(Re["Bundesamt für Justiz"],["Bundesamt für","Justiz"]);fe.set(Re["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]);fe.set(Re["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]);fe.set(Re["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]);fe.set(Re["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]);fe.set(Re["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]);fe.set(Re["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]);fe.set(Re["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]);fe.set(Re["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]);fe.set(Re["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]);fe.set(Re.Bundesarchiv,["Das","Bundesarchiv"]);fe.set(Re["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]);fe.set(Re.Bundesausgleichsamt,["Bundesausgleichsamt"]);fe.set(Re.Bundeskartellamt,["Bundeskartellamt"]);fe.set(Re.Bundeskriminalamt,["Bundeskriminalamt"]);fe.set(Re.Bundesnachrichtendienst,["Bundesnachrichtendienst"]);fe.set(Re["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]);fe.set(Re.Bundespolizeipräsidium,["Bundespolizeipräsidium"]);fe.set(Re["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]);fe.set(Re.Bundessortenamt,["Bundessortenamt"]);fe.set(Re.Bundessprachenamt,["Bundessprachenamt"]);fe.set(Re["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]);fe.set(Re.Bundesverwaltungsamt,["Bundesverwaltungsamt"]);fe.set(Re["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]);fe.set(Re["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]);fe.set(Re["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]);fe.set(Re.Generalzolldirektion,["Generalzolldirektion"]);fe.set(Re["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]);fe.set(Re["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]);fe.set(kr["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]);fe.set(kr["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]);fe.set(kr["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]);fe.set(kr["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]);fe.set(kr["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]);fe.set(kr["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]);fe.set(kr["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]);const Cw="modulepreload",Lw=function(e){return"/"+e},Im={},ae=function(r,l,i){let c=Promise.resolve();if(l&&l.length>0){let f=function(m){return Promise.all(m.map(_=>Promise.resolve(_).then(x=>({status:"fulfilled",value:x}),x=>({status:"rejected",reason:x}))))};document.getElementsByTagName("link");const b=document.querySelector("meta[property=csp-nonce]"),h=(b==null?void 0:b.nonce)||(b==null?void 0:b.getAttribute("nonce"));c=f(l.map(m=>{if(m=Lw(m),m in Im)return;Im[m]=!0;const _=m.endsWith(".css"),x=_?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${x}`))return;const k=document.createElement("link");if(k.rel=_?"stylesheet":Cw,_||(k.as="script"),k.crossOrigin="",k.href=m,h&&k.setAttribute("nonce",h),document.head.appendChild(k),_)return new Promise((A,S)=>{k.addEventListener("load",A),k.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${m}`)))})}))}function d(f){const b=new Event("vite:preloadError",{cancelable:!0});if(b.payload=f,window.dispatchEvent(b),!b.defaultPrevented)throw f}return c.then(f=>{for(const b of f||[])b.status==="rejected"&&d(b.reason);return r().catch(d)})},Aw="kolibri",ja={experimentalSlotFixes:!1,hydratedSelectorName:"hydrated",shadowDom:!0,slotRelocation:!0,updatable:!0},RI={kolibriVersion:"3.0.2-rc.2"};var Ew=Object.defineProperty,$w=(e,r)=>{for(var l in r)Ew(e,l,{get:r[l],enumerable:!0})},$u=new WeakMap,_r=e=>$u.get(e),BI=(e,r)=>$u.set(r.$lazyInstance$=e,r),Iw=(e,r)=>{const l={$flags$:0,$hostElement$:e,$cmpMeta$:r,$instanceValues$:new Map};return l.$onInstancePromise$=new Promise(i=>l.$onInstanceResolve$=i),l.$onReadyPromise$=new Promise(i=>l.$onReadyResolve$=i),e["s-p"]=[],e["s-rc"]=[],$u.set(e,l)},Nm=(e,r)=>r in e,oe=(e,r)=>(0,console.error)(e,r),jd=new Map,Nw=(e,r,l)=>{const i=e.$tagName$.replace(/-/g,"_"),c=e.$lazyBundleId$;if(!c)return;const d=jd.get(c);if(d)return d[i];{const f=b=>(jd.set(c,b),b[i]);switch(c){case"kol-abbr":return ae(()=>import("./kol-abbr.entry-BR_44Rv9.js"),__vite__mapDeps([0,1])).then(f,oe);case"kol-accordion":return ae(()=>import("./kol-accordion.entry-DEGvO3bs.js"),__vite__mapDeps([2,3,4,1,5,6,7,8,9,10])).then(f,oe);case"kol-alert":return ae(()=>import("./kol-alert.entry-BTm5BIru.js"),[]).then(f,oe);case"kol-avatar":return ae(()=>import("./kol-avatar.entry-5IgIub9q.js"),[]).then(f,oe);case"kol-badge":return ae(()=>import("./kol-badge.entry-DAXf9Jv7.js"),__vite__mapDeps([11,7,12,13,6,14,15,16,17,18,3,19,20])).then(f,oe);case"kol-breadcrumb":return ae(()=>import("./kol-breadcrumb.entry-vPFYvCCO.js"),__vite__mapDeps([21,22,23,1])).then(f,oe);case"kol-button":return ae(()=>import("./kol-button.entry-DVXUiqZZ.js"),[]).then(f,oe);case"kol-button-link":return ae(()=>import("./kol-button-link.entry-Bhzt9_Yf.js"),[]).then(f,oe);case"kol-card":return ae(()=>import("./kol-card.entry-BXSQSal5.js"),[]).then(f,oe);case"kol-details":return ae(()=>import("./kol-details.entry-rPxgYszS.js"),__vite__mapDeps([24,5,6,7,8,3,4,1,9,10])).then(f,oe);case"kol-drawer":return ae(()=>import("./kol-drawer.entry-Vo8AeNy0.js"),__vite__mapDeps([25,7,26,27,1,10])).then(f,oe);case"kol-form":return ae(()=>import("./kol-form.entry-DQF1lJo0.js"),__vite__mapDeps([28,12,29,6,7,8])).then(f,oe);case"kol-heading":return ae(()=>import("./kol-heading.entry-DO6i-QH-.js"),__vite__mapDeps([30,12,8,6,7,15,4,1])).then(f,oe);case"kol-icon":return ae(()=>import("./kol-icon.entry-BE0k6RS5.js"),__vite__mapDeps([31,7,1])).then(f,oe);case"kol-image":return ae(()=>import("./kol-image.entry-BkHWWrRo.js"),__vite__mapDeps([32,33])).then(f,oe);case"kol-input-checkbox":return ae(()=>import("./kol-input-checkbox.entry-B78yGkie.js"),__vite__mapDeps([34,7,3,35,36,37,38,39,26,40,1,6,29,12,8,16,17,41,42,14,43])).then(f,oe);case"kol-input-color":return ae(()=>import("./kol-input-color.entry-BiFQvNgo.js"),__vite__mapDeps([44,6,3,36,37,38,39,26,40,1,7,29,12,8,16,17,45,43,46,14,18,20,47])).then(f,oe);case"kol-input-date":return ae(()=>import("./kol-input-date.entry-B_zMazQt.js"),__vite__mapDeps([48,7,3,49,36,37,38,39,26,40,1,6,29,12,8,16,17,45,43,46,14,18,20,47])).then(f,oe);case"kol-input-email":return ae(()=>import("./kol-input-email.entry-dDZtUJXp.js"),__vite__mapDeps([50,7,3,49,36,37,38,39,26,40,1,6,29,12,8,16,17,45,43,46,14,18,20,51,52,53,54,47])).then(f,oe);case"kol-input-file":return ae(()=>import("./kol-input-file.entry-OHgn7-bt.js"),__vite__mapDeps([55,7,3,36,37,38,39,26,40,1,6,29,12,8,16,17,45,43,46,14,18,20])).then(f,oe);case"kol-input-number":return ae(()=>import("./kol-input-number.entry-B5R9kIqc.js"),__vite__mapDeps([56,7,3,49,36,37,38,39,26,40,1,6,29,12,8,16,17,45,43,46,14,18,20,47])).then(f,oe);case"kol-input-password":return ae(()=>import("./kol-input-password.entry-nEAROgF7.js"),__vite__mapDeps([57,7,3,49,36,37,38,39,26,40,1,6,29,12,8,16,17,45,43,46,14,18,20,52,53])).then(f,oe);case"kol-input-radio":return ae(()=>import("./kol-input-radio.entry-dlg-0IFJ.js"),__vite__mapDeps([58,7,3,35,36,37,38,39,26,40,1,6,29,12,8,16,17,41,49,42,43])).then(f,oe);case"kol-input-text":return ae(()=>import("./kol-input-text.entry-yxY_-GGf.js"),__vite__mapDeps([59,7,3,49,36,37,38,39,26,40,1,6,29,12,8,16,17,45,43,46,14,18,20,51,52,53,54,47])).then(f,oe);case"kol-kolibri":return ae(()=>import("./kol-kolibri.entry-Bzlqcsin.js"),__vite__mapDeps([60,12,19])).then(f,oe);case"kol-link":return ae(()=>import("./kol-link.entry-DaA4bCKX.js"),[]).then(f,oe);case"kol-link-button":return ae(()=>import("./kol-link-button.entry-fy1dXsKY.js"),[]).then(f,oe);case"kol-modal":return ae(()=>import("./kol-modal.entry-B-zReay5.js"),__vite__mapDeps([61,12,7,1])).then(f,oe);case"kol-nav":return ae(()=>import("./kol-nav.entry-CxprtxUy.js"),__vite__mapDeps([62,12,22,23,7,40,1])).then(f,oe);case"kol-pagination":return ae(()=>import("./kol-pagination.entry-LJbfNZzx.js"),[]).then(f,oe);case"kol-popover-button":return ae(()=>import("./kol-popover-button.entry-C2NMfDnk.js"),[]).then(f,oe);case"kol-progress":return ae(()=>import("./kol-progress.entry-CD0DAbi7.js"),__vite__mapDeps([63,1])).then(f,oe);case"kol-quote":return ae(()=>import("./kol-quote.entry-DBV-fGrN.js"),__vite__mapDeps([64,7,1])).then(f,oe);case"kol-select":return ae(()=>import("./kol-select.entry-Coe2j3WO.js"),__vite__mapDeps([65,7,3,46,6,36,37,38,39,26,40,1,29,12,8,16,17,14,18,20,35,41,66,49])).then(f,oe);case"kol-skip-nav":return ae(()=>import("./kol-skip-nav.entry-CkUrOslv.js"),__vite__mapDeps([67,22,23,1])).then(f,oe);case"kol-spin":return ae(()=>import("./kol-spin.entry-9wO0ulfH.js"),__vite__mapDeps([68,12,7,69])).then(f,oe);case"kol-split-button":return ae(()=>import("./kol-split-button.entry-cnWmskjg.js"),__vite__mapDeps([70,12,7])).then(f,oe);case"kol-table-stateful":return ae(()=>import("./kol-table-stateful.entry-D33e6rA_.js"),__vite__mapDeps([71,12,72,73,1])).then(f,oe);case"kol-table-stateless":return ae(()=>import("./kol-table-stateless.entry-BxIjGQxv.js"),[]).then(f,oe);case"kol-tabs":return ae(()=>import("./kol-tabs.entry-9k_Rxi5t.js"),__vite__mapDeps([74,12,72,7,26,1])).then(f,oe);case"kol-textarea":return ae(()=>import("./kol-textarea.entry-ZgGTo8m-.js"),__vite__mapDeps([75,7,3,36,37,38,39,26,40,1,6,29,12,8,16,17,46,14,18,20,53,66,54])).then(f,oe);case"kol-toast-container":return ae(()=>import("./kol-toast-container.entry-Dxnweoc_.js"),__vite__mapDeps([76,12,3,15,6,29,7,8])).then(f,oe);case"kol-toolbar":return ae(()=>import("./kol-toolbar.entry-svohJPtm.js"),__vite__mapDeps([77,41,72,1])).then(f,oe);case"kol-tree":return ae(()=>import("./kol-tree.entry-Ccro5MDK.js"),[]).then(f,oe);case"kol-tree-item":return ae(()=>import("./kol-tree-item.entry-W2bE3xsY.js"),[]).then(f,oe);case"kol-version":return ae(()=>import("./kol-version.entry-Bmwy7nNf.js"),__vite__mapDeps([78,12,1])).then(f,oe);case"kol-alert-wc":return ae(()=>import("./kol-alert-wc.entry-Bj3CJN_u.js"),__vite__mapDeps([79,4,1,29,6,7,12,8,27])).then(f,oe);case"kol-avatar-wc":return ae(()=>import("./kol-avatar-wc.entry-GVLWsAVC.js"),__vite__mapDeps([80,12,33,1])).then(f,oe);case"kol-button-wc":return ae(()=>import("./kol-button-wc.entry-ChEt1DsT.js"),__vite__mapDeps([81,3,49,37,38,7,12,13,6,14,15,16,17,18,82,83,9,40,20,1,39,26])).then(f,oe);case"kol-card-wc":return ae(()=>import("./kol-card-wc.entry-Cl5MmmK7.js"),__vite__mapDeps([84,12,4,1,8,6,7,15,27])).then(f,oe);case"kol-combobox":return ae(()=>import("./kol-combobox.entry-B5S_ViS0.js"),__vite__mapDeps([85,7,3,36,37,38,39,26,40,1,6,29,12,8,16,17,46,14,18,20,47,45,43,86])).then(f,oe);case"kol-input-range":return ae(()=>import("./kol-input-range.entry-B7--MPkS.js"),__vite__mapDeps([87,6,7,3,49,36,37,38,39,26,40,1,29,12,8,16,17,45,43,46,14,18,20,47])).then(f,oe);case"kol-link-wc":return ae(()=>import("./kol-link-wc.entry-Mizd3t_R.js"),__vite__mapDeps([88,3,12,38,7,13,6,14,15,16,17,18,89,82,83,9,40,20,1,39,26])).then(f,oe);case"kol-pagination-wc":return ae(()=>import("./kol-pagination-wc.entry-CMavorAX.js"),__vite__mapDeps([90,12,3,22,83,1,39,26])).then(f,oe);case"kol-popover-button-wc":return ae(()=>import("./kol-popover-button-wc.entry-f5JpT2Cu.js"),__vite__mapDeps([91,92,26])).then(f,oe);case"kol-popover-wc":return ae(()=>import("./kol-popover-wc.entry-DjkKVpzg.js"),__vite__mapDeps([93,92,7,26,69])).then(f,oe);case"kol-single-select":return ae(()=>import("./kol-single-select.entry-CkHxZ8cj.js"),__vite__mapDeps([94,7,36,37,38,39,26,40,1,6,29,12,8,16,17,46,14,18,20,45,43,86,3,35,41])).then(f,oe);case"kol-table-settings-wc":return ae(()=>import("./kol-table-settings-wc.entry-DZkz9nw4.js"),__vite__mapDeps([95,12])).then(f,oe);case"kol-table-stateless-wc":return ae(()=>import("./kol-table-stateless-wc.entry-Dvbc0K-h.js"),__vite__mapDeps([96,7,12,72,3,73,17,18,1])).then(f,oe);case"kol-tooltip-wc":return ae(()=>import("./kol-tooltip-wc.entry-3wTzf-p_.js"),__vite__mapDeps([97,92,12,13,6,7,14,15,16,17,18,26,1])).then(f,oe);case"kol-tree-item-wc":return ae(()=>import("./kol-tree-item-wc.entry-CR26q0fe.js"),__vite__mapDeps([98,3,7,1,10,89])).then(f,oe);case"kol-tree-wc":return ae(()=>import("./kol-tree-wc.entry-CzCnLZWS.js"),__vite__mapDeps([99,1])).then(f,oe);case"test-component":return ae(()=>import("./test-component.entry-CYIX8nWv.js"),[]).then(f,oe)}}return ae(()=>import(`./${c}.entry.js`),[]).then(f=>(jd.set(c,f),f[i]),oe)},ls=new Map,Jk=[],Rw="r",Bw="o",Ow="s",Pw="t",Jd="s-id",Mw="sty-id",Rm="c-id",Dw="{visibility:hidden}.hydrated{visibility:inherit}",Qk="slot-fb{display:contents}slot-fb[hidden]{display:none}",Bm="http://www.w3.org/1999/xlink",Sa=typeof window<"u"?window:{},Gn=Sa.document||{head:{}},sn={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,r,l,i)=>e.addEventListener(r,l,i),rel:(e,r,l,i)=>e.removeEventListener(r,l,i),ce:(e,r)=>new CustomEvent(e,r)},Fw=ja.shadowDom,Kw=(()=>{let e=!1;try{Gn.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),Hw=e=>Promise.resolve(e),Uw=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),Xk=e=>Hw().then(e),Om={},Vw="http://www.w3.org/2000/svg",Ww="http://www.w3.org/1999/xhtml",Iu=e=>(e=typeof e,e==="object"||e==="function");function e_(e){var r,l,i;return(i=(l=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:l.getAttribute("content"))!=null?i:void 0}var qw={};$w(qw,{err:()=>n_,map:()=>Gw,ok:()=>Qd,unwrap:()=>Zw,unwrapErr:()=>Yw});var Qd=e=>({isOk:!0,isErr:!1,value:e}),n_=e=>({isOk:!1,isErr:!0,value:e});function Gw(e,r){if(e.isOk){const l=r(e.value);return l instanceof Promise?l.then(i=>Qd(i)):Qd(l)}if(e.isErr){const l=e.value;return n_(l)}throw"should never get here"}var Zw=e=>{if(e.isOk)return e.value;throw e.value},Yw=e=>{if(e.isErr)return e.value;throw e.value},Yo=(e,r="")=>()=>{},Jw=(e,r)=>()=>{},o_=(e,r,...l)=>{let i=null,c=null,d=null,f=!1,b=!1;const h=[],m=x=>{for(let k=0;k<x.length;k++)i=x[k],Array.isArray(i)?m(i):i!=null&&typeof i!="boolean"&&((f=typeof e!="function"&&!Iu(i))&&(i=String(i)),f&&b?h[h.length-1].$text$+=i:h.push(f?sl(null,i):i),b=f)};if(m(l),r){r.key&&(c=r.key),r.name&&(d=r.name);{const x=r.className||r.class;x&&(r.class=typeof x!="object"?x:Object.keys(x).filter(k=>x[k]).join(" "))}}if(typeof e=="function")return e(r===null?{}:r,h,ez);const _=sl(e,null);return _.$attrs$=r,h.length>0&&(_.$children$=h),_.$key$=c,_.$name$=d,_},sl=(e,r)=>{const l={$flags$:0,$tag$:e,$text$:r,$elm$:null,$children$:null};return l.$attrs$=null,l.$key$=null,l.$name$=null,l},Qw={},Xw=e=>e&&e.$tag$===Qw,ez={forEach:(e,r)=>e.map(Pm).forEach(r),map:(e,r)=>e.map(Pm).map(r).map(nz)},Pm=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),nz=e=>{if(typeof e.vtag=="function"){const l={...e.vattrs};return e.vkey&&(l.key=e.vkey),e.vname&&(l.name=e.vname),o_(e.vtag,l,...e.vchildren||[])}const r=sl(e.vtag,e.vtext);return r.$attrs$=e.vattrs,r.$children$=e.vchildren,r.$key$=e.vkey,r.$name$=e.vname,r},oz=(e,r,l,i)=>{const c=Yo("hydrateClient",r),d=e.shadowRoot,f=[],b=[],h=d?[]:null,m=i.$vnode$=sl(r,null);sn.$orgLocNodes$||eu(Gn.body,sn.$orgLocNodes$=new Map),e[Jd]=l,e.removeAttribute(Jd),Xd(m,f,b,h,e,e,l),f.map(_=>{const x=_.$hostId$+"."+_.$nodeId$,k=sn.$orgLocNodes$.get(x),A=_.$elm$;k&&Fw&&k["s-en"]===""&&k.parentNode.insertBefore(A,k.nextSibling),d||(A["s-hn"]=r,k&&(A["s-ol"]=k,A["s-ol"]["s-nr"]=A)),sn.$orgLocNodes$.delete(x)}),d&&h.map(_=>{_&&d.appendChild(_)}),c()},Xd=(e,r,l,i,c,d,f)=>{let b,h,m,_;if(d.nodeType===1){if(b=d.getAttribute(Rm),b&&(h=b.split("."),(h[0]===f||h[0]==="0")&&(m={$flags$:0,$hostId$:h[0],$nodeId$:h[1],$depth$:h[2],$index$:h[3],$tag$:d.tagName.toLowerCase(),$elm$:d,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},r.push(m),d.removeAttribute(Rm),e.$children$||(e.$children$=[]),e.$children$[m.$index$]=m,e=m,i&&m.$depth$==="0"&&(i[m.$index$]=m.$elm$))),d.shadowRoot)for(_=d.shadowRoot.childNodes.length-1;_>=0;_--)Xd(e,r,l,i,c,d.shadowRoot.childNodes[_],f);for(_=d.childNodes.length-1;_>=0;_--)Xd(e,r,l,i,c,d.childNodes[_],f)}else if(d.nodeType===8)h=d.nodeValue.split("."),(h[1]===f||h[1]==="0")&&(b=h[0],m={$flags$:0,$hostId$:h[1],$nodeId$:h[2],$depth$:h[3],$index$:h[4],$elm$:d,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},b===Pw?(m.$elm$=d.nextSibling,m.$elm$&&m.$elm$.nodeType===3&&(m.$text$=m.$elm$.textContent,r.push(m),d.remove(),e.$children$||(e.$children$=[]),e.$children$[m.$index$]=m,i&&m.$depth$==="0"&&(i[m.$index$]=m.$elm$))):m.$hostId$===f&&(b===Ow?(m.$tag$="slot",h[5]?d["s-sn"]=m.$name$=h[5]:d["s-sn"]="",d["s-sr"]=!0,i&&(m.$elm$=Gn.createElement(m.$tag$),m.$name$&&m.$elm$.setAttribute("name",m.$name$),d.parentNode.insertBefore(m.$elm$,d),d.remove(),m.$depth$==="0"&&(i[m.$index$]=m.$elm$)),l.push(m),e.$children$||(e.$children$=[]),e.$children$[m.$index$]=m):b===Rw&&(i?d.remove():(c["s-cr"]=d,d["s-cn"]=!0))));else if(e&&e.$tag$==="style"){const x=sl(null,d.textContent);x.$elm$=d,x.$index$="0",e.$children$=[x]}},eu=(e,r)=>{if(e.nodeType===1){let l=0;if(e.shadowRoot)for(;l<e.shadowRoot.childNodes.length;l++)eu(e.shadowRoot.childNodes[l],r);for(l=0;l<e.childNodes.length;l++)eu(e.childNodes[l],r)}else if(e.nodeType===8){const l=e.nodeValue.split(".");l[0]===Bw&&(r.set(l[1]+"."+l[2],e),e.nodeValue="",e["s-en"]=l[3])}},rz=e=>Jk.map(r=>r(e)).find(r=>!!r),tz=e=>Jk.push(e),lz=(e,r)=>e!=null&&!Iu(e)?r&4?e==="false"?!1:e===""||!!e:r&2?parseFloat(e):r&1?String(e):e:e,OI=e=>_r(e).$hostElement$,az=(e,r,l)=>{const i=sn.ce(r,l);return e.dispatchEvent(i),i},Mm=new WeakMap,iz=(e,r,l)=>{let i=ls.get(e);Uw&&l?(i=i||new CSSStyleSheet,typeof i=="string"?i=r:i.replaceSync(r)):i=r,ls.set(e,i)},r_=(e,r,l)=>{var i;const c=t_(r,l),d=ls.get(c);if(e=e.nodeType===11?e:Gn,d)if(typeof d=="string"){e=e.head||e;let f=Mm.get(e),b;if(f||Mm.set(e,f=new Set),!f.has(c)){if(e.host&&(b=e.querySelector(`[${Mw}="${c}"]`)))b.innerHTML=d;else{b=Gn.createElement("style"),b.innerHTML=d;const h=(i=sn.$nonce$)!=null?i:e_(Gn);h!=null&&b.setAttribute("nonce",h),(!(r.$flags$&1)||r.$flags$&1&&e.nodeName!=="HEAD")&&e.insertBefore(b,e.querySelector("link"))}r.$flags$&4&&(b.innerHTML+=Qk),f&&f.add(c)}}else e.adoptedStyleSheets.includes(d)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,d]);return c},sz=e=>{const r=e.$cmpMeta$,l=e.$hostElement$,i=r.$flags$,c=Yo("attachStyles",r.$tagName$),d=r_(l.shadowRoot?l.shadowRoot:l.getRootNode(),r,e.$modeName$);i&10&&i&2&&(l["s-sc"]=d,l.classList.add(d+"-h")),c()},t_=(e,r)=>"sc-"+(r&&e.$flags$&32?e.$tagName$+"-"+r:e.$tagName$),Dm=(e,r,l,i,c,d)=>{if(l!==i){let f=Nm(e,r),b=r.toLowerCase();if(r==="class"){const h=e.classList,m=Fm(l),_=Fm(i);h.remove(...m.filter(x=>x&&!_.includes(x))),h.add(..._.filter(x=>x&&!m.includes(x)))}else if(r==="style"){for(const h in l)(!i||i[h]==null)&&(h.includes("-")?e.style.removeProperty(h):e.style[h]="");for(const h in i)(!l||i[h]!==l[h])&&(h.includes("-")?e.style.setProperty(h,i[h]):e.style[h]=i[h])}else if(r!=="key")if(r==="ref")i&&i(e);else if(!f&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"?r=r.slice(3):Nm(Sa,b)?r=b.slice(2):r=b[2]+r.slice(3),l||i){const h=r.endsWith(l_);r=r.replace(dz,""),l&&sn.rel(e,r,l,h),i&&sn.ael(e,r,i,h)}}else{const h=Iu(i);if((f||h&&i!==null)&&!c)try{if(e.tagName.includes("-"))e[r]=i;else{const _=i??"";r==="list"?f=!1:(l==null||e[r]!=_)&&(e[r]=_)}}catch{}let m=!1;b!==(b=b.replace(/^xlink\:?/,""))&&(r=b,m=!0),i==null||i===!1?(i!==!1||e.getAttribute(r)==="")&&(m?e.removeAttributeNS(Bm,r):e.removeAttribute(r)):(!f||d&4||c)&&!h&&(i=i===!0?"":i,m?e.setAttributeNS(Bm,r,i):e.setAttribute(r,i))}}},cz=/\s/,Fm=e=>e?e.split(cz):[],l_="Capture",dz=new RegExp(l_+"$"),a_=(e,r,l)=>{const i=r.$elm$.nodeType===11&&r.$elm$.host?r.$elm$.host:r.$elm$,c=e&&e.$attrs$||Om,d=r.$attrs$||Om;for(const f of Km(Object.keys(c)))f in d||Dm(i,f,c[f],void 0,l,r.$flags$);for(const f of Km(Object.keys(d)))Dm(i,f,c[f],d[f],l,r.$flags$)};function Km(e){return e.includes("ref")?[...e.filter(r=>r!=="ref"),"ref"]:e}var nu,ou,hs,as=!1,is=!1,Nu=!1,_o=!1,ss=(e,r,l,i)=>{var c;const d=r.$children$[l];let f=0,b,h,m;if(as||(Nu=!0,d.$tag$==="slot"&&(nu&&i.classList.add(nu+"-s"),d.$flags$|=d.$children$?2:1)),d.$text$!==null)b=d.$elm$=Gn.createTextNode(d.$text$);else if(d.$flags$&1)b=d.$elm$=Gn.createTextNode("");else{if(_o||(_o=d.$tag$==="svg"),b=d.$elm$=Gn.createElementNS(_o?Vw:Ww,!as&&ja.slotRelocation&&d.$flags$&2?"slot-fb":d.$tag$),_o&&d.$tag$==="foreignObject"&&(_o=!1),a_(null,d,_o),b.getRootNode().querySelector("body"),d.$children$)for(f=0;f<d.$children$.length;++f)h=ss(e,d,f,b),h&&b.appendChild(h);d.$tag$==="svg"?_o=!1:b.tagName==="foreignObject"&&(_o=!0)}return b["s-hn"]=hs,d.$flags$&3&&(b["s-sr"]=!0,b["s-cr"]=ou,b["s-sn"]=d.$name$||"",b["s-rf"]=(c=d.$attrs$)==null?void 0:c.ref,m=e&&e.$children$&&e.$children$[l],m&&m.$tag$===d.$tag$&&e.$elm$&&ma(e.$elm$,!1)),b},ma=(e,r)=>{sn.$flags$|=1;const l=Array.from(e.childNodes);e["s-sr"]&&ja.experimentalSlotFixes;for(let i=l.length-1;i>=0;i--){const c=l[i];c["s-hn"]!==hs&&c["s-ol"]&&(Ur(c_(c),c,Ru(c)),c["s-ol"].remove(),c["s-ol"]=void 0,c["s-sh"]=void 0,Nu=!0),r&&ma(c,r)}sn.$flags$&=-2},i_=(e,r,l,i,c,d)=>{let f=e["s-cr"]&&e["s-cr"].parentNode||e,b;for(f.shadowRoot&&f.tagName===hs&&(f=f.shadowRoot);c<=d;++c)i[c]&&(b=ss(null,l,c,e),b&&(i[c].$elm$=b,Ur(f,b,Ru(r))))},s_=(e,r,l)=>{for(let i=r;i<=l;++i){const c=e[i];if(c){const d=c.$elm$;f_(c),d&&(is=!0,d["s-ol"]?d["s-ol"].remove():ma(d,!0),d.remove())}}},uz=(e,r,l,i,c=!1)=>{let d=0,f=0,b=0,h=0,m=r.length-1,_=r[0],x=r[m],k=i.length-1,A=i[0],S=i[k],j,L;for(;d<=m&&f<=k;)if(_==null)_=r[++d];else if(x==null)x=r[--m];else if(A==null)A=i[++f];else if(S==null)S=i[--k];else if(Fi(_,A,c))ll(_,A,c),_=r[++d],A=i[++f];else if(Fi(x,S,c))ll(x,S,c),x=r[--m],S=i[--k];else if(Fi(_,S,c))(_.$tag$==="slot"||S.$tag$==="slot")&&ma(_.$elm$.parentNode,!1),ll(_,S,c),Ur(e,_.$elm$,x.$elm$.nextSibling),_=r[++d],S=i[--k];else if(Fi(x,A,c))(_.$tag$==="slot"||S.$tag$==="slot")&&ma(x.$elm$.parentNode,!1),ll(x,A,c),Ur(e,x.$elm$,_.$elm$),x=r[--m],A=i[++f];else{for(b=-1,h=d;h<=m;++h)if(r[h]&&r[h].$key$!==null&&r[h].$key$===A.$key$){b=h;break}b>=0?(L=r[b],L.$tag$!==A.$tag$?j=ss(r&&r[f],l,b,e):(ll(L,A,c),r[b]=void 0,j=L.$elm$),A=i[++f]):(j=ss(r&&r[f],l,f,e),A=i[++f]),j&&Ur(c_(_.$elm$),j,Ru(_.$elm$))}d>m?i_(e,i[k+1]==null?null:i[k+1].$elm$,l,i,f,k):f>k&&s_(r,d,m)},Fi=(e,r,l=!1)=>e.$tag$===r.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&l&&e.$elm$.nodeType!==8?!1:e.$name$===r.$name$:l?!0:e.$key$===r.$key$:!1,Ru=e=>e&&e["s-ol"]||e,c_=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,ll=(e,r,l=!1)=>{const i=r.$elm$=e.$elm$,c=e.$children$,d=r.$children$,f=r.$tag$,b=r.$text$;let h;b===null?(_o=f==="svg"?!0:f==="foreignObject"?!1:_o,f==="slot"&&!as||a_(e,r,_o),c!==null&&d!==null?uz(i,c,r,d,l):d!==null?(e.$text$!==null&&(i.textContent=""),i_(i,null,r,d,0,d.length-1)):!l&&ja.updatable&&c!==null&&s_(c,0,c.length-1),_o&&f==="svg"&&(_o=!1)):(h=i["s-cr"])?h.parentNode.textContent=b:e.$text$!==b&&(i.data=b)},d_=e=>{const r=e.childNodes;for(const l of r)if(l.nodeType===1){if(l["s-sr"]){const i=l["s-sn"];l.hidden=!1;for(const c of r)if(c!==l){if(c["s-hn"]!==l["s-hn"]||i!==""){if(c.nodeType===1&&(i===c.getAttribute("slot")||i===c["s-sn"])||c.nodeType===3&&i===c["s-sn"]){l.hidden=!0;break}}else if(c.nodeType===1||c.nodeType===3&&c.textContent.trim()!==""){l.hidden=!0;break}}}d_(l)}},ur=[],u_=e=>{let r,l,i;for(const c of e.childNodes){if(c["s-sr"]&&(r=c["s-cr"])&&r.parentNode){l=r.parentNode.childNodes;const d=c["s-sn"];for(i=l.length-1;i>=0;i--)if(r=l[i],!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==c["s-hn"])if(Hm(r,d)){let f=ur.find(b=>b.$nodeToRelocate$===r);is=!0,r["s-sn"]=r["s-sn"]||d,f?(f.$nodeToRelocate$["s-sh"]=c["s-hn"],f.$slotRefNode$=c):(r["s-sh"]=c["s-hn"],ur.push({$slotRefNode$:c,$nodeToRelocate$:r})),r["s-sr"]&&ur.map(b=>{Hm(b.$nodeToRelocate$,r["s-sn"])&&(f=ur.find(h=>h.$nodeToRelocate$===r),f&&!b.$slotRefNode$&&(b.$slotRefNode$=f.$slotRefNode$))})}else ur.some(f=>f.$nodeToRelocate$===r)||ur.push({$nodeToRelocate$:r})}c.nodeType===1&&u_(c)}},Hm=(e,r)=>e.nodeType===1?e.getAttribute("slot")===null&&r===""||e.getAttribute("slot")===r:e["s-sn"]===r?!0:r==="",f_=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(f_)},Ur=(e,r,l)=>e==null?void 0:e.insertBefore(r,l),fz=(e,r,l=!1)=>{var i,c,d,f;const b=e.$hostElement$,h=e.$cmpMeta$,m=e.$vnode$||sl(null,null),_=Xw(r)?r:o_(null,null,r);if(hs=b.tagName,h.$attrsToReflect$&&(_.$attrs$=_.$attrs$||{},h.$attrsToReflect$.map(([x,k])=>_.$attrs$[k]=b[x])),l&&_.$attrs$)for(const x of Object.keys(_.$attrs$))b.hasAttribute(x)&&!["key","ref","style","class"].includes(x)&&(_.$attrs$[x]=b[x]);_.$tag$=null,_.$flags$|=4,e.$vnode$=_,_.$elm$=m.$elm$=b.shadowRoot||b,nu=b["s-sc"],as=(h.$flags$&1)!==0,ou=b["s-cr"],is=!1,ll(m,_,l);{if(sn.$flags$|=1,Nu){u_(_.$elm$);for(const x of ur){const k=x.$nodeToRelocate$;if(!k["s-ol"]){const A=Gn.createTextNode("");A["s-nr"]=k,Ur(k.parentNode,k["s-ol"]=A,k)}}for(const x of ur){const k=x.$nodeToRelocate$,A=x.$slotRefNode$;if(A){const S=A.parentNode;let j=A.nextSibling;{let L=(i=k["s-ol"])==null?void 0:i.previousSibling;for(;L;){let y=(c=L["s-nr"])!=null?c:null;if(y&&y["s-sn"]===k["s-sn"]&&S===y.parentNode){for(y=y.nextSibling;y===k||y!=null&&y["s-sr"];)y=y==null?void 0:y.nextSibling;if(!y||!y["s-nr"]){j=y;break}}L=L.previousSibling}}(!j&&S!==k.parentNode||k.nextSibling!==j)&&k!==j&&(!k["s-hn"]&&k["s-ol"]&&(k["s-hn"]=k["s-ol"].parentNode.nodeName),Ur(S,k,j),k.nodeType===1&&(k.hidden=(d=k["s-ih"])!=null?d:!1)),k&&typeof A["s-rf"]=="function"&&A["s-rf"](k)}else k.nodeType===1&&(l&&(k["s-ih"]=(f=k.hidden)!=null?f:!1),k.hidden=!0)}}is&&d_(_.$elm$),sn.$flags$&=-2,ur.length=0}ou=void 0},p_=(e,r)=>{r&&!e.$onRenderResolve$&&r["s-p"]&&r["s-p"].push(new Promise(l=>e.$onRenderResolve$=l))},Bu=(e,r)=>{if(e.$flags$&4){e.$flags$|=512;return}return p_(e,e.$ancestorComponent$),pz(e,r)},pz=(e,r)=>{const l=e.$hostElement$,i=Yo("scheduleUpdate",e.$cmpMeta$.$tagName$),c=e.$lazyInstance$;if(!c)throw new Error(`Can't render component <${l.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 d;return r&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([f,b])=>cl(c,f,b)),e.$queuedListeners$=void 0),d=cl(c,"componentWillLoad")),i(),hz(d,()=>mz(e,c,r))},hz=(e,r)=>bz(e)?e.then(r).catch(l=>{console.error(l),r()}):r(),bz=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",mz=async(e,r,l)=>{var i;const c=e.$hostElement$,d=Yo("update",e.$cmpMeta$.$tagName$),f=c["s-rc"];l&&sz(e);const b=Yo("render",e.$cmpMeta$.$tagName$);vz(e,r,c,l),f&&(f.map(h=>h()),c["s-rc"]=void 0),b(),d();{const h=(i=c["s-p"])!=null?i:[],m=()=>kz(e);h.length===0?m():(Promise.all(h).then(m),e.$flags$|=4,h.length=0)}},vz=(e,r,l,i)=>{try{r=r.render&&r.render(),e.$flags$|=2,fz(e,r,i)}catch(c){oe(c,e.$hostElement$)}return null},kz=e=>{const r=e.$cmpMeta$.$tagName$,l=e.$hostElement$,i=Yo("postUpdate",r),c=e.$lazyInstance$,d=e.$ancestorComponent$;cl(c,"componentDidRender"),e.$flags$&64?i():(e.$flags$|=64,b_(l),cl(c,"componentDidLoad"),i(),e.$onReadyResolve$(l),d||h_()),e.$onInstanceResolve$(l),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Xk(()=>Bu(e,!1)),e.$flags$&=-517},h_=e=>{b_(Gn.documentElement),Xk(()=>az(Sa,"appload",{detail:{namespace:Aw}}))},cl=(e,r,l)=>{if(e&&e[r])try{return e[r](l)}catch(i){oe(i)}},b_=e=>{var r;return e.classList.add((r=ja.hydratedSelectorName)!=null?r:"hydrated")},_z=(e,r)=>_r(e).$instanceValues$.get(r),gz=(e,r,l,i)=>{const c=_r(e);if(!c)throw new Error(`Couldn't find host element for "${i.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const d=c.$hostElement$,f=c.$instanceValues$.get(r),b=c.$flags$,h=c.$lazyInstance$;l=lz(l,i.$members$[r][0]);const m=Number.isNaN(f)&&Number.isNaN(l),_=l!==f&&!m;if((!(b&8)||f===void 0)&&_&&(c.$instanceValues$.set(r,l),h)){if(i.$watchers$&&b&128){const x=i.$watchers$[r];x&&x.map(k=>{try{h[k](l,f,r)}catch(A){oe(A,d)}})}(b&18)===2&&Bu(c,!1)}},m_=(e,r,l)=>{var i,c;const d=e.prototype;if(r.$members$||r.$watchers$||e.watchers){e.watchers&&!r.$watchers$&&(r.$watchers$=e.watchers);const f=Object.entries((i=r.$members$)!=null?i:{});if(f.map(([b,[h]])=>{h&31||l&2&&h&32?Object.defineProperty(d,b,{get(){return _z(this,b)},set(m){gz(this,b,m,r)},configurable:!0,enumerable:!0}):l&1&&h&64&&Object.defineProperty(d,b,{value(...m){var _;const x=_r(this);return(_=x==null?void 0:x.$onInstancePromise$)==null?void 0:_.then(()=>{var k;return(k=x.$lazyInstance$)==null?void 0:k[b](...m)})}})}),l&1){const b=new Map;d.attributeChangedCallback=function(h,m,_){sn.jmp(()=>{var x;const k=b.get(h);if(this.hasOwnProperty(k))_=this[k],delete this[k];else{if(d.hasOwnProperty(k)&&typeof this[k]=="number"&&this[k]==_)return;if(k==null){const A=_r(this),S=A==null?void 0:A.$flags$;if(S&&!(S&8)&&S&128&&_!==m){const j=A.$lazyInstance$,L=(x=r.$watchers$)==null?void 0:x[h];L==null||L.forEach(y=>{j[y]!=null&&j[y].call(j,_,m,h)})}return}}this[k]=_===null&&typeof this[k]=="boolean"?!1:_})},e.observedAttributes=Array.from(new Set([...Object.keys((c=r.$watchers$)!=null?c:{}),...f.filter(([h,m])=>m[0]&15).map(([h,m])=>{var _;const x=m[1]||h;return b.set(x,h),m[0]&512&&((_=r.$attrsToReflect$)==null||_.push([h,x])),x})]))}}return e},xz=async(e,r,l,i)=>{let c;if((r.$flags$&32)===0){if(r.$flags$|=32,l.$lazyBundleId$){const h=Nw(l);if(h&&"then"in h){const _=Jw();c=await h,_()}else c=h;if(!c)throw new Error(`Constructor for "${l.$tagName$}#${r.$modeName$}" was not found`);c.isProxied||(l.$watchers$=c.watchers,m_(c,l,2),c.isProxied=!0);const m=Yo("createInstance",l.$tagName$);r.$flags$|=8;try{new c(r)}catch(_){oe(_)}r.$flags$&=-9,r.$flags$|=128,m(),ru(r.$lazyInstance$)}else{c=e.constructor;const h=e.localName;customElements.whenDefined(h).then(()=>r.$flags$|=128)}if(c&&c.style){let h;typeof c.style=="string"?h=c.style:typeof c.style!="string"&&(r.$modeName$=rz(e),r.$modeName$&&(h=c.style[r.$modeName$]));const m=t_(l,r.$modeName$);if(!ls.has(m)){const _=Yo("registerStyles",l.$tagName$);iz(m,h,!!(l.$flags$&1)),_()}}}const d=r.$ancestorComponent$,f=()=>Bu(r,!0);d&&d["s-rc"]?d["s-rc"].push(f):f()},ru=e=>{cl(e,"connectedCallback")},yz=e=>{if((sn.$flags$&1)===0){const r=_r(e),l=r.$cmpMeta$,i=Yo("connectedCallback",l.$tagName$);if(r.$flags$&1)v_(e,r,l.$listeners$),r!=null&&r.$lazyInstance$?ru(r.$lazyInstance$):r!=null&&r.$onReadyPromise$&&r.$onReadyPromise$.then(()=>ru(r.$lazyInstance$));else{r.$flags$|=1;let c;if(c=e.getAttribute(Jd),c){if(l.$flags$&1){const d=r_(e.shadowRoot,l,e.getAttribute("s-mode"));e.classList.remove(d+"-h",d+"-s")}oz(e,l.$tagName$,c,r)}c||l.$flags$&12&&wz(e);{let d=e;for(;d=d.parentNode||d.host;)if(d.nodeType===1&&d.hasAttribute("s-id")&&d["s-p"]||d["s-p"]){p_(r,r.$ancestorComponent$=d);break}}l.$members$&&Object.entries(l.$members$).map(([d,[f]])=>{if(f&31&&e.hasOwnProperty(d)){const b=e[d];delete e[d],e[d]=b}}),xz(e,r,l)}i()}},wz=e=>{const r=e["s-cr"]=Gn.createComment("");r["s-cn"]=!0,Ur(e,r,e.firstChild)},Um=e=>{cl(e,"disconnectedCallback")},zz=async e=>{if((sn.$flags$&1)===0){const r=_r(e);r.$rmListeners$&&(r.$rmListeners$.map(l=>l()),r.$rmListeners$=void 0),r!=null&&r.$lazyInstance$?Um(r.$lazyInstance$):r!=null&&r.$onReadyPromise$&&r.$onReadyPromise$.then(()=>Um(r.$lazyInstance$))}},jz=(e,r={})=>{var l;const i=Yo(),c=[],d=r.exclude||[],f=Sa.customElements,b=Gn.head,h=b.querySelector("meta[charset]"),m=Gn.createElement("style"),_=[];let x,k=!0;Object.assign(sn,r),sn.$resourcesUrl$=new URL(r.resourcesUrl||"./",Gn.baseURI).href,sn.$flags$|=2;let A=!1;if(e.map(S=>{S[1].map(j=>{var L;const y={$flags$:j[0],$tagName$:j[1],$members$:j[2],$listeners$:j[3]};y.$flags$&4&&(A=!0),y.$members$=j[2],y.$listeners$=j[3],y.$attrsToReflect$=[],y.$watchers$=(L=j[4])!=null?L:{};const P=r.transformTagName?r.transformTagName(y.$tagName$):y.$tagName$,V=class extends HTMLElement{constructor(G){if(super(G),this.hasRegisteredEventListeners=!1,G=this,Iw(G,y),y.$flags$&1){if(!G.shadowRoot)G.attachShadow({mode:"open",delegatesFocus:!!(y.$flags$&16)});else if(G.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${y.$tagName$}! Mode is set to ${G.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const G=_r(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,v_(this,G,y.$listeners$)),x&&(clearTimeout(x),x=null),k?_.push(this):sn.jmp(()=>yz(this))}disconnectedCallback(){sn.jmp(()=>zz(this))}componentOnReady(){return _r(this).$onReadyPromise$}};y.$lazyBundleId$=S[0],!d.includes(P)&&!f.get(P)&&(c.push(P),f.define(P,m_(V,y,1)))})}),c.length>0&&(A&&(m.textContent+=Qk),m.textContent+=c.sort()+Dw,m.innerHTML.length)){m.setAttribute("data-styles","");const S=(l=sn.$nonce$)!=null?l:e_(Gn);S!=null&&m.setAttribute("nonce",S),b.insertBefore(m,h?h.nextSibling:b.firstChild)}k=!1,_.length?_.map(S=>S.connectedCallback()):sn.jmp(()=>x=setTimeout(h_,30)),i()},PI=(e,r)=>r,v_=(e,r,l,i)=>{l&&l.map(([c,d,f])=>{const b=Tz(e,c),h=Sz(r,f),m=Cz(c);sn.ael(b,d,h,m),(r.$rmListeners$=r.$rmListeners$||[]).push(()=>sn.rel(b,d,h,m))})},Sz=(e,r)=>l=>{var i;try{e.$flags$&256?(i=e.$lazyInstance$)==null||i[r](l):(e.$queuedListeners$=e.$queuedListeners$||[]).push([r,l])}catch(c){oe(c)}},Tz=(e,r)=>r&8?Sa:e,Cz=e=>Kw?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;tz(e=>{try{e.shadowRoot instanceof ShadowRoot&&E0(e,m0(e))}catch{}return"default"});ae(()=>import("./devtools-e7cb90e7-DoL8ytvK.js"),__vite__mapDeps([100,3])).then(e=>{typeof e=="object"&&e!==null&&typeof e.initialize=="function"&&e.initialize()}).catch(e=>{yn.error(e)});const Lz=()=>{},Az=Lz;/*!
82
82
  * KoliBri - The accessible HTML-Standard
83
- */const Ez=async(e,r)=>{if(!(typeof window>"u"))return await Az(),jz(JSON.parse('[["kol-abbr",[[33,"kol-abbr",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["kol-accordion",[[33,"kol-accordion",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"kolFocus":[64]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-alert",[[33,"kol-alert",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]}]]],["kol-alert-wc",[[4,"kol-alert-wc",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]},null,{"_alert":["validateAlert"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_type":["validateType"],"_variant":["validateVariant"]}]]],["kol-avatar",[[33,"kol-avatar",{"_src":[1],"_label":[1]}]]],["kol-avatar-wc",[[0,"kol-avatar-wc",{"_src":[1],"_label":[1],"state":[32]},null,{"_src":["validateSrc"],"_label":["validateLabel"]}]]],["kol-badge",[[33,"kol-badge",{"_color":[1],"_icons":[1],"_label":[1],"_smartButton":[1,"_smart-button"],"state":[32]},null,{"_icons":["validateIcons"],"_color":["validateColor"],"_smartButton":["validateSmartButton"]}]]],["kol-breadcrumb",[[33,"kol-breadcrumb",{"_label":[1],"_links":[1],"state":[32]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-button",[[49,"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],"_id":[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],"getValue":[64],"kolFocus":[64]}]]],["kol-button-link",[[49,"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],"_id":[1],"_label":[1],"_variant":[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],"getValue":[64],"kolFocus":[64]}]]],["kol-button-wc",[[4,"kol-button-wc",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaHasPopup":[1,"_aria-has-popup"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_label":[1],"_linkVariant":[1,"_link-variant"],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_buttonVariant":[1,"_button-variant"],"state":[32],"kolFocus":[64],"hideTooltip":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaControls":["validateAriaControls"],"_ariaDescription":["validateAriaDescription"],"_ariaExpanded":["validateAriaExpanded"],"_ariaSelected":["validateAriaSelected"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_linkVariant":["validateLinkVariant"],"_name":["validateName"],"_on":["validateOn"],"_role":["validateRole"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_tooltipAlign":["validateTooltipAlign"],"_type":["validateType"],"_value":["validateValue"],"_buttonVariant":["validateButtonVariant"]}]]],["kol-card",[[33,"kol-card",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2]}]]],["kol-card-wc",[[4,"kol-card-wc",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"state":[32]},null,{"_on":["validateOn"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"]}]]],["kol-combobox",[[49,"kol-combobox",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_suggestions":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"blockSuggestionMouseOver":[32],"_isOpen":[32],"_filteredSuggestions":[32],"_hasOpened":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},[[0,"keydown","handleKeyDown"],[8,"click","handleWindowClick"],[1,"mousemove","handleMouseEvent"],[8,"focusout","handleFocusOut"],[8,"blur","handleWindowBlur"]],{"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_suggestions":["validateSuggestions"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-details",[[33,"kol-details",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"kolFocus":[64]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-drawer",[[33,"kol-drawer",{"_open":[4],"_align":[1],"_hasCloser":[4,"_has-closer"],"_label":[1],"_on":[16],"state":[32],"open":[64],"close":[64]},null,{"_label":["validateLabel"],"_align":["validateAlign"],"_hasCloser":["validateHasCloser"],"_open":["validateOpen"],"_on":["validateOn"]}]]],["kol-form",[[33,"kol-form",{"_on":[16],"_requiredText":[8,"_required-text"],"_errorList":[16],"state":[32],"focusErrorList":[64]},null,{"_on":["validateOn"],"_requiredText":["validateRequiredText"],"_errorList":["validateErrorList"]}]]],["kol-heading",[[33,"kol-heading",{"_label":[1],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"],"state":[32]},null,{"_label":["validateLabel"],"_level":["validateLevel"],"_secondaryHeadline":["validateSecondaryHeadline"]}]]],["kol-icon",[[33,"kol-icon",{"_icons":[1],"_label":[1],"state":[32]},null,{"_icons":["validateIcons"],"_label":["validateLabel"]}]]],["kol-image",[[33,"kol-image",{"_alt":[1],"_loading":[1],"_sizes":[1],"_src":[1],"_srcset":[1],"state":[32]},null,{"_alt":["validateAlt"],"_loading":["validateLoading"],"_sizes":["validateSizes"],"_src":["validateSrc"],"_srcset":["validateSrcset"]}]]],["kol-input-checkbox",[[49,"kol-input-checkbox",{"_accessKey":[1,"_access-key"],"_checked":[1540],"_hideMsg":[1540,"_hide-msg"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_indeterminate":[1540],"_label":[1],"_labelAlign":[1,"_label-align"],"_msg":[1],"_name":[1],"_on":[16],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[8],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_checked":["validateChecked"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_indeterminate":["validateIndeterminate"],"_label":["validateLabel"],"_labelAlign":["validateLabelAlign"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-input-color",[[49,"kol-input-color",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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":[513],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-date",[[49,"kol-input-date",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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],"_initialValueType":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64],"reset":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-input-email",[[49,"kol-input-email",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hasCounter":[4,"_has-counter"],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hasCounter":["validateHasCounter"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-file",[[49,"kol-input-file",{"_accept":[1],"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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],"filename":[32],"hasFileSelected":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accept":["validateAccept"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"]}]]],["kol-input-number",[[49,"kol-input-number",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-password",[[49,"kol-input-password",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hasCounter":[4,"_has-counter"],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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":[1537],"_variant":[1],"state":[32],"_passwordVisible":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_variant":["validateVariant"],"_hasCounter":["validateHasCounter"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-radio",[[49,"kol-input-radio",{"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_id":[1],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_tooltipAlign":["validateTooltipAlign"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_hideMsg":["validateHideMsg"],"_hint":["validateHint"],"_id":["validateId"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_orientation":["validateOrientation"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-range",[[49,"kol-input-range",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"kolFocus":[64],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_step":["validateStep"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-text",[[49,"kol-input-text",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hasCounter":[4,"_has-counter"],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hasCounter":["validateHasCounter"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_spellCheck":["validateSpellCheck"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-kolibri",[[33,"kol-kolibri",{"_color":[1],"_labeled":[4],"state":[32]},null,{"_color":["validateColor"],"_labeled":["validateLabeled"]}]]],["kol-link",[[49,"kol-link",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaDescription":[1,"_aria-description"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_variant":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"kolFocus":[64]}]]],["kol-link-button",[[49,"kol-link-button",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"kolFocus":[64]}]]],["kol-link-wc",[[4,"kol-link-wc",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaOwns":[1,"_aria-owns"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_linkVariant":[1,"_link-variant"],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_tabIndex":[2,"_tab-index"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_buttonVariant":[1,"_button-variant"],"state":[32],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaCurrentValue":["validateAriaCurrentValue"],"_ariaDescription":["validateAriaDescription"],"_ariaExpanded":["validateAriaExpanded"],"_ariaOwns":["validateAriaOwns"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_download":["validateDownload"],"_hideLabel":["validateHideLabel"],"_href":["validateHref"],"_icons":["validateIcons"],"_label":["validateLabel"],"_linkVariant":["validateLinkVariant"],"_on":["validateOn"],"_role":["validateRole"],"_shortKey":["validateShortKey"],"_tabIndex":["validateTabIndex"],"_target":["validateTarget"],"_tooltipAlign":["validateTooltipAlign"],"_buttonVariant":["validateButtonVariant"]}]]],["kol-modal",[[33,"kol-modal",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"state":[32],"openModal":[64],"closeModal":[64]},null,{"_label":["validateLabel"],"_on":["validateOn"],"_width":["validateWidth"],"_variant":["validateVariant"]}]]],["kol-nav",[[33,"kol-nav",{"_collapsible":[4],"_hasCompactButton":[4,"_has-compact-button"],"_hasIconsWhenExpanded":[4,"_has-icons-when-expanded"],"_hideLabel":[4,"_hide-label"],"_label":[1],"_links":[1],"_orientation":[1],"state":[32]},null,{"_collapsible":["validateCollapsible"],"_hasCompactButton":["validateHasCompactButton"],"_hasIconsWhenExpanded":["validateHasIconsWhenExpanded"],"_hideLabel":["validateHideLabel"],"_label":["validateLabel"],"_links":["validateLinks"],"_orientation":["validateOrientation"]}]]],["kol-pagination",[[33,"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]}]]],["kol-pagination-wc",[[0,"kol-pagination-wc",{"_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],"state":[32]},null,{"_boundaryCount":["validateBoundaryCount"],"_customClass":["validateCustomClass"],"_label":["validateLabel"],"_hasButtons":["validateHasButtons"],"_on":["validateOn"],"_page":["validatePage"],"_pageSize":["validatePageSize"],"_pageSizeOptions":["validatePageSizeOptions"],"_siblingCount":["validateSiblingCount"],"_max":["validateMax"],"_tooltipAlign":["validateTooltipAlign"]}]]],["kol-popover-button",[[33,"kol-popover-button",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_popoverAlign":[1,"_popover-align"],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"hidePopover":[64]}]]],["kol-popover-button-wc",[[4,"kol-popover-button-wc",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_popoverAlign":[1,"_popover-align"],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32],"justClosed":[32],"popoverOpen":[32],"hidePopover":[64]},null,{"_popoverAlign":["validatePopoverAlign"]}]]],["kol-popover-wc",[[4,"kol-popover-wc",{"_align":[1],"_on":[16],"_show":[1540],"state":[32]},null,{"_align":["validateAlign"],"_on":["validateOn"],"_show":["validateShow"]}]]],["kol-progress",[[33,"kol-progress",{"_label":[1],"_max":[2],"_unit":[1],"_value":[2],"_variant":[1],"state":[32]},null,{"_label":["validateLabel"],"_max":["validateMax"],"_unit":["validateUnit"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-quote",[[33,"kol-quote",{"_label":[1],"_href":[1],"_quote":[1],"_variant":[1],"state":[32]},null,{"_label":["validateLabel"],"_href":["validateHref"],"_quote":["validateQuote"],"_variant":["validateVariant"]}]]],["kol-select",[[33,"kol-select",{"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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":[1537],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_rows":["validateRows"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-single-select",[[49,"kol-single-select",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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":[1544],"_hideClearButton":[4,"_hide-clear-button"],"_rows":[2],"_isOpen":[32],"_filteredOptions":[32],"_inputValue":[32],"blockSuggestionMouseOver":[32],"_hasOpened":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},[[8,"focusout","handleFocusOut"],[8,"blur","handleWindowBlur"],[0,"keydown","handleKeyDown"],[1,"mousemove","handleMouseEvent"]],{"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_hideClearButton ":["validateHideClearButton"],"_rows":["validateRows"]}]]],["kol-skip-nav",[[33,"kol-skip-nav",{"_label":[1],"_links":[1],"state":[32]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-spin",[[33,"kol-spin",{"_show":[1540],"_variant":[1],"state":[32]},null,{"_show":["validateShow"],"_variant":["validateVariant"]}]]],["kol-split-button",[[49,"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],"_id":[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],"state":[32],"getValue":[64],"kolFocus":[64],"closePopup":[64]}]]],["kol-table-settings-wc",[[0,"kol-table-settings-wc",{"_tableSettings":[16],"tableSettings":[32],"errorMessage":[32]},null,{"_tableSettings":["handleTableSettingsChange"]}]]],["kol-table-stateful",[[33,"kol-table-stateful",{"_allowMultiSort":[4,"_allow-multi-sort"],"_data":[1],"_dataFoot":[1,"_data-foot"],"_headers":[1],"_label":[1],"_minWidth":[1,"_min-width"],"_pagination":[8],"_paginationPosition":[1,"_pagination-position"],"_selection":[1],"_on":[16],"_tableSettings":[16],"state":[32],"getSelection":[64]},null,{"_allowMultiSort":["validateAllowMultiSort"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_paginationPosition":["validatePaginationPosition"],"_headers":["validateHeaders"],"_label":["validateLabel"],"_minWidth":["validateMinWidth"],"_selection":["validateSelection"],"_on":["validateOn"],"_tableSettings":["validateTableSettings"],"_pagination":["validatePagination"]}]]],["kol-table-stateless",[[33,"kol-table-stateless",{"_data":[1],"_dataFoot":[1,"_data-foot"],"_headerCells":[1,"_header-cells"],"_label":[1],"_minWidth":[1,"_min-width"],"_on":[16],"_selection":[1],"_tableSettings":[16]}]]],["kol-table-stateless-wc",[[0,"kol-table-stateless-wc",{"_data":[1],"_dataFoot":[1,"_data-foot"],"_headerCells":[1,"_header-cells"],"_label":[1],"_minWidth":[1,"_min-width"],"_on":[16],"_selection":[1],"_tableSettings":[16],"state":[32],"tableDivElementHasScrollbar":[32],"previousHeaderCells":[32]},[[0,"keydown","handleKeyDown"],[0,"settingsChange","handleSettingsChange"]],{"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_headerCells":["validateHeaderCells"],"_label":["validateLabel"],"_minWidth":["validateMinWidth"],"_on":["validateOn"],"_selection":["validateSelection"],"_tableSettings":["validateTableSettings"]}]]],["kol-tabs",[[33,"kol-tabs",{"_align":[1],"_behavior":[1],"_hasCreateButton":[4,"_has-create-button"],"_label":[1],"_on":[16],"_selected":[1538],"_tabs":[1],"state":[32]},null,{"_align":["validateAlign"],"_behavior":["validateBehavior"],"_hasCreateButton":["validateHasCreateButton"],"_label":["validateLabel"],"_on":["validateOn"],"_selected":["validateSelected"],"_tabs":["validateTabs"]}]]],["kol-textarea",[[49,"kol-textarea",{"_accessKey":[1,"_access-key"],"_adjustHeight":[4,"_adjust-height"],"_disabled":[4],"_hasCounter":[4,"_has-counter"],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_adjustHeight":["validateAdjustHeight"],"_disabled":["validateDisabled"],"_hasCounter":["validateHasCounter"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_resize":["validateResize"],"_required":["validateRequired"],"_rows":["validateRows"],"_shortKey":["validateShortKey"],"_spellCheck":["validateSpellCheck"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-toast-container",[[33,"kol-toast-container",{"state":[32],"enqueue":[64],"closeAll":[64]}]]],["kol-toolbar",[[33,"kol-toolbar",{"_label":[1],"_items":[16],"_orientation":[1],"state":[32],"currentIndex":[32]},[[0,"keydown","handleKeyDown"],[2,"blur","handleBlur"]],{"_label":["validateLabel"],"_items":["validateItems"],"_orientation":["validateOrientation"]}]]],["kol-tooltip-wc",[[0,"kol-tooltip-wc",{"_badgeText":[1,"_badge-text"],"_align":[1],"_id":[1],"_label":[1],"state":[32],"hideTooltip":[64]},null,{"_badgeText":["validateBadgeText"],"_align":["validateAlign"],"_id":["validateId"],"_label":["validateLabel"]}]]],["kol-tree",[[33,"kol-tree",{"_label":[1]}]]],["kol-tree-item",[[33,"kol-tree-item",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"focusLink":[64],"expand":[64],"collapse":[64],"isOpen":[64]}]]],["kol-tree-item-wc",[[4,"kol-tree-item-wc",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"level":[32],"state":[32],"focusLink":[64],"expand":[64],"collapse":[64],"isOpen":[64]},null,{"_active":["validateActive"],"_label":["validateLabel"],"_open":["validateOpen"],"_href":["validateHref"]}]]],["kol-tree-wc",[[4,"kol-tree-wc",{"_label":[1],"state":[32]},[[0,"keydown","handleKeyDown"],[0,"focusout","handleFocusOut"]],{"_label":["validateLabel"]}]]],["kol-version",[[33,"kol-version",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["test-component",[[0,"test-component"]]]]'),r)};/*!
83
+ */const Ez=async(e,r)=>{if(!(typeof window>"u"))return await Az(),jz(JSON.parse('[["kol-abbr",[[33,"kol-abbr",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["kol-accordion",[[33,"kol-accordion",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"kolFocus":[64]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-alert",[[33,"kol-alert",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]}]]],["kol-alert-wc",[[4,"kol-alert-wc",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]},null,{"_alert":["validateAlert"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_type":["validateType"],"_variant":["validateVariant"]}]]],["kol-avatar",[[33,"kol-avatar",{"_src":[1],"_label":[1]}]]],["kol-avatar-wc",[[0,"kol-avatar-wc",{"_src":[1],"_label":[1],"state":[32]},null,{"_src":["validateSrc"],"_label":["validateLabel"]}]]],["kol-badge",[[33,"kol-badge",{"_color":[1],"_icons":[1],"_label":[1],"_smartButton":[1,"_smart-button"],"state":[32]},null,{"_icons":["validateIcons"],"_color":["validateColor"],"_smartButton":["validateSmartButton"]}]]],["kol-breadcrumb",[[33,"kol-breadcrumb",{"_label":[1],"_links":[1],"state":[32]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-button",[[49,"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],"_id":[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],"getValue":[64],"kolFocus":[64]}]]],["kol-button-link",[[49,"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],"_id":[1],"_label":[1],"_variant":[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],"getValue":[64],"kolFocus":[64]}]]],["kol-button-wc",[[4,"kol-button-wc",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaHasPopup":[1,"_aria-has-popup"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_label":[1],"_linkVariant":[1,"_link-variant"],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_buttonVariant":[1,"_button-variant"],"state":[32],"kolFocus":[64],"hideTooltip":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaControls":["validateAriaControls"],"_ariaDescription":["validateAriaDescription"],"_ariaExpanded":["validateAriaExpanded"],"_ariaSelected":["validateAriaSelected"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_linkVariant":["validateLinkVariant"],"_name":["validateName"],"_on":["validateOn"],"_role":["validateRole"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_tooltipAlign":["validateTooltipAlign"],"_type":["validateType"],"_value":["validateValue"],"_buttonVariant":["validateButtonVariant"]}]]],["kol-card",[[33,"kol-card",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2]}]]],["kol-card-wc",[[4,"kol-card-wc",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"state":[32]},null,{"_on":["validateOn"],"_hasCloser":["validateHasCloser"],"_label":["validateLabel"],"_level":["validateLevel"]}]]],["kol-combobox",[[49,"kol-combobox",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_suggestions":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"blockSuggestionMouseOver":[32],"_isOpen":[32],"_filteredSuggestions":[32],"_hasOpened":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},[[0,"keydown","handleKeyDown"],[8,"click","handleWindowClick"],[1,"mousemove","handleMouseEvent"],[8,"focusout","handleFocusOut"],[8,"blur","handleWindowBlur"]],{"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_suggestions":["validateSuggestions"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-details",[[33,"kol-details",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"kolFocus":[64]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-drawer",[[33,"kol-drawer",{"_open":[4],"_align":[1],"_hasCloser":[4,"_has-closer"],"_label":[1],"_on":[16],"state":[32],"open":[64],"close":[64]},null,{"_label":["validateLabel"],"_align":["validateAlign"],"_hasCloser":["validateHasCloser"],"_open":["validateOpen"],"_on":["validateOn"]}]]],["kol-form",[[33,"kol-form",{"_on":[16],"_requiredText":[8,"_required-text"],"_errorList":[16],"state":[32],"focusErrorList":[64]},null,{"_on":["validateOn"],"_requiredText":["validateRequiredText"],"_errorList":["validateErrorList"]}]]],["kol-heading",[[33,"kol-heading",{"_label":[1],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"],"state":[32]},null,{"_label":["validateLabel"],"_level":["validateLevel"],"_secondaryHeadline":["validateSecondaryHeadline"]}]]],["kol-icon",[[33,"kol-icon",{"_icons":[1],"_label":[1],"state":[32]},null,{"_icons":["validateIcons"],"_label":["validateLabel"]}]]],["kol-image",[[33,"kol-image",{"_alt":[1],"_loading":[1],"_sizes":[1],"_src":[1],"_srcset":[1],"state":[32]},null,{"_alt":["validateAlt"],"_loading":["validateLoading"],"_sizes":["validateSizes"],"_src":["validateSrc"],"_srcset":["validateSrcset"]}]]],["kol-input-checkbox",[[49,"kol-input-checkbox",{"_accessKey":[1,"_access-key"],"_checked":[1540],"_hideMsg":[1540,"_hide-msg"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_indeterminate":[1540],"_label":[1],"_labelAlign":[1,"_label-align"],"_msg":[1],"_name":[1],"_on":[16],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[8],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_checked":["validateChecked"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_indeterminate":["validateIndeterminate"],"_label":["validateLabel"],"_labelAlign":["validateLabelAlign"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-input-color",[[49,"kol-input-color",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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":[513],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-date",[[49,"kol-input-date",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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],"_initialValueType":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64],"reset":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-input-email",[[49,"kol-input-email",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hasCounter":[4,"_has-counter"],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hasCounter":["validateHasCounter"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-file",[[49,"kol-input-file",{"_accept":[1],"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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],"filename":[32],"hasFileSelected":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accept":["validateAccept"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"]}]]],["kol-input-number",[[49,"kol-input-number",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_step":["validateStep"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-password",[[49,"kol-input-password",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hasCounter":[4,"_has-counter"],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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":[1537],"_variant":[1],"state":[32],"_passwordVisible":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_variant":["validateVariant"],"_hasCounter":["validateHasCounter"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-radio",[[49,"kol-input-radio",{"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_id":[1],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_tooltipAlign":["validateTooltipAlign"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_hideMsg":["validateHideMsg"],"_hint":["validateHint"],"_id":["validateId"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_orientation":["validateOrientation"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-range",[[49,"kol-input-range",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"kolFocus":[64],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_step":["validateStep"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-input-text",[[49,"kol-input-text",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hasCounter":[4,"_has-counter"],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hasCounter":["validateHasCounter"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_pattern":["validatePattern"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_spellCheck":["validateSpellCheck"],"_suggestions":["validateSuggestions"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_type":["validateType"],"_value":["validateValue"]}]]],["kol-kolibri",[[33,"kol-kolibri",{"_color":[1],"_labeled":[4],"state":[32]},null,{"_color":["validateColor"],"_labeled":["validateLabeled"]}]]],["kol-link",[[49,"kol-link",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaDescription":[1,"_aria-description"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_variant":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"kolFocus":[64]}]]],["kol-link-button",[[49,"kol-link-button",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"kolFocus":[64]}]]],["kol-link-wc",[[4,"kol-link-wc",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_ariaOwns":[1,"_aria-owns"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_linkVariant":[1,"_link-variant"],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_tabIndex":[2,"_tab-index"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_buttonVariant":[1,"_button-variant"],"state":[32],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaCurrentValue":["validateAriaCurrentValue"],"_ariaDescription":["validateAriaDescription"],"_ariaExpanded":["validateAriaExpanded"],"_ariaOwns":["validateAriaOwns"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_download":["validateDownload"],"_hideLabel":["validateHideLabel"],"_href":["validateHref"],"_icons":["validateIcons"],"_label":["validateLabel"],"_linkVariant":["validateLinkVariant"],"_on":["validateOn"],"_role":["validateRole"],"_shortKey":["validateShortKey"],"_tabIndex":["validateTabIndex"],"_target":["validateTarget"],"_tooltipAlign":["validateTooltipAlign"],"_buttonVariant":["validateButtonVariant"]}]]],["kol-modal",[[33,"kol-modal",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"state":[32],"openModal":[64],"closeModal":[64]},null,{"_label":["validateLabel"],"_on":["validateOn"],"_width":["validateWidth"],"_variant":["validateVariant"]}]]],["kol-nav",[[33,"kol-nav",{"_collapsible":[4],"_hasCompactButton":[4,"_has-compact-button"],"_hasIconsWhenExpanded":[4,"_has-icons-when-expanded"],"_hideLabel":[4,"_hide-label"],"_label":[1],"_links":[1],"_orientation":[1],"state":[32]},null,{"_collapsible":["validateCollapsible"],"_hasCompactButton":["validateHasCompactButton"],"_hasIconsWhenExpanded":["validateHasIconsWhenExpanded"],"_hideLabel":["validateHideLabel"],"_label":["validateLabel"],"_links":["validateLinks"],"_orientation":["validateOrientation"]}]]],["kol-pagination",[[33,"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]}]]],["kol-pagination-wc",[[0,"kol-pagination-wc",{"_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],"state":[32]},null,{"_boundaryCount":["validateBoundaryCount"],"_customClass":["validateCustomClass"],"_label":["validateLabel"],"_hasButtons":["validateHasButtons"],"_on":["validateOn"],"_page":["validatePage"],"_pageSize":["validatePageSize"],"_pageSizeOptions":["validatePageSizeOptions"],"_siblingCount":["validateSiblingCount"],"_max":["validateMax"],"_tooltipAlign":["validateTooltipAlign"]}]]],["kol-popover-button",[[33,"kol-popover-button",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_popoverAlign":[1,"_popover-align"],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"hidePopover":[64]}]]],["kol-popover-button-wc",[[4,"kol-popover-button-wc",{"_accessKey":[1,"_access-key"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaSelected":[4,"_aria-selected"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_label":[1],"_name":[1],"_on":[16],"_popoverAlign":[1,"_popover-align"],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32],"justClosed":[32],"popoverOpen":[32],"hidePopover":[64]},null,{"_popoverAlign":["validatePopoverAlign"]}]]],["kol-popover-wc",[[4,"kol-popover-wc",{"_align":[1],"_on":[16],"_show":[1540],"state":[32]},null,{"_align":["validateAlign"],"_on":["validateOn"],"_show":["validateShow"]}]]],["kol-progress",[[33,"kol-progress",{"_label":[1],"_max":[2],"_unit":[1],"_value":[2],"_variant":[1],"state":[32]},null,{"_label":["validateLabel"],"_max":["validateMax"],"_unit":["validateUnit"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-quote",[[33,"kol-quote",{"_label":[1],"_href":[1],"_quote":[1],"_variant":[1],"state":[32]},null,{"_label":["validateLabel"],"_href":["validateHref"],"_quote":["validateQuote"],"_variant":["validateVariant"]}]]],["kol-select",[[33,"kol-select",{"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_rows":["validateRows"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-single-select",[[49,"kol-single-select",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_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":[1544],"_hideClearButton":[4,"_hide-clear-button"],"_rows":[2],"_isOpen":[32],"_filteredOptions":[32],"_inputValue":[32],"blockSuggestionMouseOver":[32],"_hasOpened":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},[[8,"focusout","handleFocusOut"],[8,"blur","handleWindowBlur"],[0,"keydown","handleKeyDown"],[1,"mousemove","handleMouseEvent"]],{"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_hideClearButton ":["validateHideClearButton"],"_rows":["validateRows"]}]]],["kol-skip-nav",[[33,"kol-skip-nav",{"_label":[1],"_links":[1],"state":[32]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-spin",[[33,"kol-spin",{"_show":[1540],"_variant":[1],"state":[32]},null,{"_show":["validateShow"],"_variant":["validateVariant"]}]]],["kol-split-button",[[49,"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],"_id":[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],"state":[32],"getValue":[64],"kolFocus":[64],"closePopup":[64]}]]],["kol-table-settings-wc",[[0,"kol-table-settings-wc",{"_tableSettings":[16],"tableSettings":[32],"errorMessage":[32]},null,{"_tableSettings":["handleTableSettingsChange"]}]]],["kol-table-stateful",[[33,"kol-table-stateful",{"_allowMultiSort":[4,"_allow-multi-sort"],"_data":[1],"_dataFoot":[1,"_data-foot"],"_headers":[1],"_label":[1],"_minWidth":[1,"_min-width"],"_pagination":[8],"_paginationPosition":[1,"_pagination-position"],"_selection":[1],"_on":[16],"_tableSettings":[16],"state":[32],"getSelection":[64]},null,{"_allowMultiSort":["validateAllowMultiSort"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_paginationPosition":["validatePaginationPosition"],"_headers":["validateHeaders"],"_label":["validateLabel"],"_minWidth":["validateMinWidth"],"_selection":["validateSelection"],"_on":["validateOn"],"_tableSettings":["validateTableSettings"],"_pagination":["validatePagination"]}]]],["kol-table-stateless",[[33,"kol-table-stateless",{"_data":[1],"_dataFoot":[1,"_data-foot"],"_headerCells":[1,"_header-cells"],"_label":[1],"_minWidth":[1,"_min-width"],"_on":[16],"_selection":[1],"_tableSettings":[16]}]]],["kol-table-stateless-wc",[[0,"kol-table-stateless-wc",{"_data":[1],"_dataFoot":[1,"_data-foot"],"_headerCells":[1,"_header-cells"],"_label":[1],"_minWidth":[1,"_min-width"],"_on":[16],"_selection":[1],"_tableSettings":[16],"state":[32],"tableDivElementHasScrollbar":[32],"previousHeaderCells":[32]},[[0,"keydown","handleKeyDown"],[0,"settingsChange","handleSettingsChange"]],{"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_headerCells":["validateHeaderCells"],"_label":["validateLabel"],"_minWidth":["validateMinWidth"],"_on":["validateOn"],"_selection":["validateSelection"],"_tableSettings":["validateTableSettings"]}]]],["kol-tabs",[[33,"kol-tabs",{"_align":[1],"_behavior":[1],"_hasCreateButton":[4,"_has-create-button"],"_label":[1],"_on":[16],"_selected":[1538],"_tabs":[1],"state":[32]},null,{"_align":["validateAlign"],"_behavior":["validateBehavior"],"_hasCreateButton":["validateHasCreateButton"],"_label":["validateLabel"],"_on":["validateOn"],"_selected":["validateSelected"],"_tabs":["validateTabs"]}]]],["kol-textarea",[[49,"kol-textarea",{"_accessKey":[1,"_access-key"],"_adjustHeight":[4,"_adjust-height"],"_disabled":[4],"_hasCounter":[4,"_has-counter"],"_hideMsg":[1540,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_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],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_adjustHeight":["validateAdjustHeight"],"_disabled":["validateDisabled"],"_hasCounter":["validateHasCounter"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_placeholder":["validatePlaceholder"],"_readOnly":["validateReadOnly"],"_resize":["validateResize"],"_required":["validateRequired"],"_rows":["validateRows"],"_shortKey":["validateShortKey"],"_spellCheck":["validateSpellCheck"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-toast-container",[[33,"kol-toast-container",{"state":[32],"enqueue":[64],"closeAll":[64]}]]],["kol-toolbar",[[33,"kol-toolbar",{"_label":[1],"_items":[16],"_orientation":[1],"state":[32],"currentIndex":[32]},[[0,"keydown","handleKeyDown"],[2,"blur","handleBlur"]],{"_label":["validateLabel"],"_items":["validateItems"],"_orientation":["validateOrientation"]}]]],["kol-tooltip-wc",[[0,"kol-tooltip-wc",{"_badgeText":[1,"_badge-text"],"_align":[1],"_id":[1],"_label":[1],"state":[32],"hideTooltip":[64]},null,{"_badgeText":["validateBadgeText"],"_align":["validateAlign"],"_id":["validateId"],"_label":["validateLabel"]}]]],["kol-tree",[[33,"kol-tree",{"_label":[1]}]]],["kol-tree-item",[[33,"kol-tree-item",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"focusLink":[64],"expand":[64],"collapse":[64],"isOpen":[64]}]]],["kol-tree-item-wc",[[4,"kol-tree-item-wc",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"level":[32],"state":[32],"focusLink":[64],"expand":[64],"collapse":[64],"isOpen":[64]},null,{"_active":["validateActive"],"_label":["validateLabel"],"_open":["validateOpen"],"_href":["validateHref"]}]]],["kol-tree-wc",[[4,"kol-tree-wc",{"_label":[1],"state":[32]},[[0,"keydown","handleKeyDown"],[0,"focusout","handleFocusOut"]],{"_label":["validateLabel"]}]]],["kol-version",[[33,"kol-version",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["test-component",[[0,"test-component"]]]]'),r)};/*!
84
84
  * KoliBri - The accessible HTML-Standard
85
85
  */(function(){if(typeof window<"u"&&window.Reflect!==void 0&&window.customElements!==void 0){var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}})();var Vm={};/*!
86
86
  * KoliBri - The accessible HTML-Standard
@@ -13567,7 +13567,7 @@ Link:
13567
13567
  .kol-tree-item__text {
13568
13568
  text-decoration: none;
13569
13569
  }
13570
- }`;const M6=Ou.createTheme("ecl-eu",{GLOBAL:J4,"KOL-ACCORDION":Q4,"KOL-ALERT":X4,"KOL-BADGE":e6,"KOL-BREADCRUMB":n6,"KOL-BUTTON":o6,"KOL-BUTTON-LINK":r6,"KOL-CARD":t6,"KOL-COMBOBOX":l6,"KOL-DETAILS":a6,"KOL-DRAWER":i6,"KOL-FORM":s6,"KOL-HEADING":c6,"KOL-INPUT-CHECKBOX":d6,"KOL-INPUT-COLOR":u6,"KOL-INPUT-DATE":f6,"KOL-INPUT-EMAIL":p6,"KOL-INPUT-FILE":h6,"KOL-INPUT-NUMBER":b6,"KOL-INPUT-PASSWORD":m6,"KOL-INPUT-RADIO":v6,"KOL-INPUT-RANGE":k6,"KOL-INPUT-TEXT":_6,"KOL-LINK":x6,"KOL-LINK-BUTTON":g6,"KOL-MODAL":y6,"KOL-NAV":w6,"KOL-PAGINATION":z6,"KOL-POPOVER-BUTTON":j6,"KOL-SELECT":S6,"KOL-SINGLE-SELECT":T6,"KOL-SKIP-NAV":C6,"KOL-SPIN":L6,"KOL-SPLIT-BUTTON":A6,"KOL-TABLE-STATEFUL":E6,"KOL-TABLE-STATELESS":$6,"KOL-TABS":I6,"KOL-TEXTAREA":N6,"KOL-TOAST-CONTAINER":R6,"KOL-TOOLBAR":B6,"KOL-TREE":O6,"KOL-TREE-ITEM":P6}),D6="3.0.2-rc.1",au={version:D6},F6=()=>{const e={onClick:()=>history.back()};return t.jsxs(Xn,{_label:"This is an example page",_level:0,_type:"info",children:[t.jsx("p",{children:"You followed an example link."}),history.length>1&&t.jsx(M,{_label:"Go Back",_on:e})]})},z_=["default","ecl-ec","ecl-eu","unstyled"],Mu=e=>z_.find(r=>r===e)!==void 0,Du=[{label:"Unstyled (Uncolored)",value:"unstyled"},{label:"Default (Tested)",value:"default"},{label:"European Commission (in progress)",value:"ecl-ec"},{label:"European Union (in progress)",value:"ecl-eu"}];function K6(){const e=matchMedia("(max-width: 1023px)"),[r,l]=g.useState(e.matches),i=()=>{l(e.matches)};return g.useEffect(()=>(i(),e.addEventListener("change",i),()=>{e.removeEventListener("change",i)}),[e]),r}function H6({children:e}){return K6()?t.jsx(On,{_label:"All components",class:"mt",children:e}):t.jsx("div",{className:"mt scrollable-container",children:e})}function Qm({label:e,to:r,children:l}){const i=bk(r),c=fl(r),d=uy({path:c.pathname,end:!0});return t.jsx(Cn,{_label:e,_href:i,_active:!!d,children:l})}function U6({routes:e}){const r=(i,c)=>Object.keys(c).map(d=>{const f=i==="tree"&&d==="basic/:subPage",b=f?"basic/home":d,h=f?"basic":d;return t.jsx(Qm,{label:h,to:[i,b].join("/")},[i,d].join("/"))}),l=Object.entries(e).map(([i,c])=>t.jsx(Qm,{label:i,to:i,children:r(i,c)},i));return t.jsx(H6,{children:t.jsx("nav",{children:t.jsx(ik,{_label:"Navigation",class:"block",children:l})})})}const V6=({buildDate:e,commitHash:r})=>!e&&!r?"":t.jsx("div",{className:"text-sm font-mono color-gray-5 m-t-2",children:e&&r?t.jsxs(t.Fragment,{children:["Build: ",r,t.jsx("br",{}),"at ",e]}):r?`Build: ${r}`:`Build date: ${e}`}),W6=({version:e,theme:r,routes:l,routeList:i,sample:c,buildDate:d,commitHash:f,onThemeChange:b})=>{const h=()=>i.indexOf(c),m=()=>c.replace(/\//g," "),_=(A,S)=>{b(S[0])},x=()=>{const A=h(),S=A<=0?i.length-1:A-1;location.replace(`#${i[S]}`)},k=()=>{const A=h(),S=A===i.length-1?0:A+1;location.replace(`#${i[S]}`)};return t.jsx("aside",{className:"app-sidebar p-4",children:t.jsxs("div",{className:"scrollable-container-wrapper",children:[t.jsxs("div",{className:"flex flex-justify-between flex-items-center",children:[t.jsx(J,{_label:"KoliBri React"}),t.jsx(us,{_label:e})]}),t.jsx(V6,{buildDate:d,commitHash:f}),t.jsx(En,{_label:"Theme",_options:Du,_on:{onChange:_},_value:[r],class:"mt"}),t.jsx(J,{_label:"Components",_level:2,className:"block mt"}),t.jsxs("div",{className:"flex flex-justify-between flex-items-center mt",children:[t.jsx(M,{_icons:"codicon codicon-arrow-left",_hideLabel:!0,_label:"Previous component",_on:{onClick:x}}),t.jsxs("span",{className:"text-base text-center",children:[m()," (",h()+1,"/",i.length,")"]}),t.jsx(M,{_icons:"codicon codicon-arrow-right",_hideLabel:!0,_label:"Next component",_on:{onClick:k}})]}),t.jsx(U6,{routes:l})]})})},q6=()=>{const e=wo();s0("#"+e.pathname)},Fu=g.createContext(null),G6="https://public-ui.github.io/docs/components",Z6="https://github.com/public-ui/kolibri/blob/develop/packages/samples/react/src/components",$e="I am an error message!",oo="I am a hint.",O=e=>{const r=g.useContext(Fu),l=wo(),i=l.pathname.split("/").slice(1),c=g.useMemo(()=>i[0]==="scenarios"?null:`${G6}/${i[0]}`,[l.hash]),d=g.useMemo(()=>i[0]==="scenarios"?null:`${Z6}/${i[0]}/${i[1]}.tsx`,[l.hash]);return t.jsxs(t.Fragment,{children:[t.jsx("h1",{className:"visually-hidden",children:l.pathname.replace(/\//g," ")}),r?null:t.jsxs("div",{className:"grid sm:flex gap-4 justify-between pb-sm border-b-1 border-b-solid border-gray mb-2",children:[t.jsx("div",{className:"indented-text",children:e.children}),t.jsxs("ul",{className:"flex flex-wrap gap-2 list-none m-0 p-0",children:[d&&t.jsx("li",{children:t.jsx(he,{_href:d,_label:"Code",_target:"_blank"})}),c&&t.jsx("li",{children:t.jsx(he,{_href:c,_label:"Documentation",_target:"_blank"})}),t.jsx("li",{children:t.jsx(he,{_href:`#${l.pathname}?hideMenus`,_label:"Standalone example",_target:"_blank"})})]})]})]})},Y6=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolAbbr shows an abbreviation and uses kol-tooltip-wc to display the long form, if provided."})}),t.jsxs("p",{children:["I am ",t.jsx(da,{_label:"as an example",children:"e.g."})," an abbreviation."]}),t.jsxs("p",{children:["I am ",t.jsx(da,{children:"e.g."})," an abbreviation without label."]})]}),J6={abbr:{basic:Y6}},Q6=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["KolAccordion hides its content until opened. The open state can be toggled by clicking the headline or by setting the ",t.jsx("code",{children:"_open"}),"-prop programmatically. Additionally, the sample shows the disabled state for a closed and an open accordion."]})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(On,{_label:"Heading Accordion Tab 1",children:"Contents Accordion Tab 1"}),t.jsx(On,{_label:"Heading Accordion Tab 2",children:"Contents Accordion Tab 2"}),t.jsx(On,{_label:"Heading Accordion Tab 2 (deactivated)",_disabled:!0}),t.jsx(On,{_label:"Heading Accordion Tab 2 (disabled and open)",_disabled:!0,_open:!0,children:"Contents Accordion Tab 2"})]})]}),X6=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolAccordion with the different heading levels from 1-6."})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(On,{_label:"Heading Level 1",_level:1,children:"Contents Accordion Tab 1"}),t.jsx(On,{_label:"Heading Level 2",_level:2,children:"Contents Accordion Tab 2"}),t.jsx(On,{_label:"Heading Level 3",_level:3,children:"Contents Accordion Tab 3"}),t.jsx(On,{_label:"Heading Level 4",_level:4,children:"Contents Accordion Tab 4"}),t.jsx(On,{_label:"Heading Level 5",_level:5,children:"Contents Accordion Tab 5"}),t.jsx(On,{_label:"Heading Level 6",_level:6,children:"Contents Accordion Tab 6"})]})]}),ej={accordion:{basic:Q6,headlines:X6}},ta=({level:e,type:r,variant:l})=>t.jsxs(t.Fragment,{children:[t.jsx(Xn,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:r,_variant:l,children:"This is the text of the alert."}),t.jsx(Xn,{_type:r,_variant:l,children:"In this alert, only the text without the heading is used."}),t.jsx(Xn,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:r,_variant:l,_hasCloser:!0,children:"This is the text of the alert. With close button."}),t.jsx(Xn,{_type:r,_variant:l,_hasCloser:!0,children:"In this alert, only the text without the heading is used. With close button."})]}),j_=({variant:e="msg"})=>t.jsxs("div",{className:"grid gap-4",children:[t.jsx(ta,{level:1,type:"default",variant:e}),t.jsx(ta,{level:2,type:"error",variant:e}),t.jsx(ta,{level:3,type:"info",variant:e}),t.jsx(ta,{level:4,type:"success",variant:e}),t.jsx(ta,{level:5,type:"warning",variant:e})]}),nj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["KolAlert shows messages of different types. This sample illustrates the variant ",t.jsx("code",{children:"msg"}),", showing all possible types with and without headlines and close buttons."]})}),t.jsx(j_,{variant:"msg"})]}),oj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["KolAlert shows messages of different types. This sample illustrates the variant ",t.jsx("code",{children:"card"}),", showing all possible types with and without headlines and close buttons."]})}),t.jsx("section",{className:"w-full",children:t.jsx(j_,{variant:"card"})})]}),rj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows how KolAlert can be used with arbitrary HTML as slot content."})}),t.jsx("div",{children:t.jsxs(Xn,{_label:"Output of HTML code in the alert",_type:"info",children:[t.jsx("div",{className:"mt-2 mb-3",children:t.jsx(J,{_level:2,_label:"An H2 heading is output here"})}),t.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[t.jsxs("div",{children:[t.jsx("h3",{children:"Text in a left-hand column"}),t.jsx("p",{children:"Lorem ipsum dolor sit amet consectetur, adipisicing elit. Quidem sed fugiat dolorum ratione et, ullam officia nobis nihil debitis, consectetur dicta accusantium. Vitae debitis, quibusdam vel recusandae deleniti placeat dolorem?"})]}),t.jsxs("div",{children:[t.jsx("h3",{children:"Text in einer rechten Spalte"}),t.jsx("p",{children:"Lorem, ipsum dolor sit amet consectetur adipisicing elit. Quod beatae officiis, velit nam dicta quae repellat perspiciatis explicabo illo. Possimus, molestiae deleniti! Exercitationem blanditiis ducimus similique tempora ratione consequuntur eaque!"})]})]})]})})]}),tj={alert:{basic:nj,"card-msg":oj,html:rj}},lj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolAlert shows a user's avatar. It can be used with or without an image. If no image is defined, the name's initials are shown instead."})}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(pd,{_src:"https://www.w3schools.com/howto/img_avatar.png",_label:"Elke Mustermann"}),t.jsx(pd,{_label:"Elke Mustermann "}),t.jsx(pd,{_label:"Marianne"})]})]}),aj={avatar:{basic:lj}},ij=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolBadge shows badges with a label, background color and optional icon."})}),t.jsxs("div",{className:"flex flex-wrap gap-2",children:[t.jsx(vn,{_label:"black"}),t.jsx(vn,{_color:"#86ffc6",_label:"teal"}),t.jsx(vn,{_color:"#06539e",_label:"blue"}),t.jsx(vn,{_color:"#ae0000",_label:"red with icon",_icons:"codicon codicon-smiley"}),t.jsx(vn,{_color:"#8b008b",_label:"purple with icon",_icons:"codicon codicon-squirrel"})]})]}),la=e=>({_label:e,_smartButton:{_icons:"codicon codicon-close",_label:`Remove ${e}`,_on:{onClick:()=>alert("clicked")}}}),sj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows KolBadge with an optional ",t.jsx("code",{children:"smartButton"}),'. The sample defines a "close" button with X-icon a click event listener.']})}),t.jsxs("div",{className:"flex flex-wrap gap-2",children:[t.jsx(vn,{...la("black")}),t.jsx(vn,{_color:"#86ffc6",...la("teal")}),t.jsx(vn,{_color:"#06539e",...la("blue")}),t.jsx(vn,{_color:"#ae0000",_icons:"codicon codicon-smiley",...la("red with icon")}),t.jsx(vn,{_color:"#8b008b",_icons:"codicon codicon-squirrel",...la("purple with icon")})]})]}),cj={badge:{basic:ij,button:sj}},dj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolBreadcrumb shows a breadcrumb navigation. The sample illustrates a variation of link, text and icon elements."})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(Gi,{_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"}]}),t.jsx(Gi,{_label:"Breadcrumb from icons or text links",_links:[{_label:"Homepage",_icons:"codicon codicon-home",_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"}]}),t.jsx(Gi,{_label:"Breadcrumb from icons and text links",_links:[{_label:"Homepage",_icons:"codicon codicon-home",_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"}]})]})]}),uj={breadcrumb:{basic:dj}};function jn(){const e=Gr.getInstance(document),r=c=>{e.enqueue({description:c||"Hello",label:"Hello",type:"info"})};return{dummyClickEventHandler:()=>{r()},buttonWithTextClickEventHandler:c=>{const d=c.currentTarget.textContent;r(d)}}}const fj=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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 ",t.jsx("code",{children:"block"}),", ",t.jsx("code",{children:"inline-block"})," and ",t.jsx("code",{children:"inline"}),". It also demonstrates the disabled-state."]})}),t.jsxs("section",{className:"text-base",children:[t.jsx(J,{_level:2,_label:"Button-Link with variant 'inline'"}),t.jsxs("p",{children:["In this paragraph, a link is inserted that contains no additional attributes. ",t.jsx(Ge,{_label:"Simple Link"})," It is rendered by default as an"," ",t.jsx("strong",{children:"inline element"}),"."]}),t.jsxs("p",{children:["In this paragraph, a link is inserted that is rendered as an inline-block element.",t.jsx(Ge,{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.",t.jsx("br",{}),t.jsx("br",{}),"After that, there is a link that is rendered as a block element.",t.jsx(Ge,{style:{display:"block"},_label:"Simple Link"}),"Therefore, I go over the entire width of the parent element to create a line break."]}),t.jsx(J,{_level:2,_label:"Button-Link with variant 'standalone'"}),t.jsx("p",{children:t.jsx(Ge,{_label:"Disabled ButtonLink",_disabled:!0,_variant:"standalone"})}),t.jsx("p",{children:t.jsx(Ge,{_label:"With access key",_accessKey:"c",_on:r,_variant:"standalone"})}),t.jsx("p",{children:t.jsx(Ge,{_label:"Disabled ButtonLink",_shortKey:"s",_variant:"standalone"})})]})]})},pj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolButtonLink with icons in different locations."})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(Ge,{_icons:"codicon codicon-home",_label:"Ich bin ein Link mit Icon links"}),t.jsx(Ge,{_icons:{right:"codicon codicon-home"},_label:"I am a link with an icon on the right"}),t.jsx(Ge,{_icons:{top:"codicon codicon-home"},_label:"I am a link with an icon at the top"}),t.jsx(Ge,{_icons:{bottom:"codicon codicon-home"},_label:"I am a link with icon below"}),t.jsx(Ge,{_icons:{top:"codicon codicon-home",right:"codicon codicon-home",bottom:"codicon codicon-home",left:"codicon codicon-home"},_label:"I am a link with all icons"})]})]}),hj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolButtonLink with slot-content instead of a label. The sample uses an image as content."})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(Ge,{_label:"I am a link that is rendered as text"}),t.jsx(Ge,{_label:"",children:t.jsx("img",{alt:"Presentation of the KoliBri theming",slot:"expert",src:"abgrenzung.jpg",width:"300"})})]})]}),bj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolButtonLink with aria-description"})}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(Ge,{_label:"Button Text without area description"}),t.jsx(Ge,{_label:"Button Text",_ariaDescription:"Button Area Description"})]})]}),mj={"button-link":{basic:fj,icons:pj,image:hj,"aria-description":bj}},vj=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows KolButton with"," ",t.jsx(he,{_label:"access keys",_href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey",_target:"blank"}),". The access keys can be used to trigger the buttons using the keyboard."]})}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_label:"With S access key",_accessKey:"S",_on:r}),t.jsx(M,{_label:"Very small b",_accessKey:"b",_on:r}),t.jsx(M,{_label:"Access key does not appear in label",_accessKey:"x",_on:r}),t.jsx(M,{_label:"access key without label",_hideLabel:!0,_accessKey:"a",_icons:"codicon codicon-dashboard",_on:r}),t.jsx(M,{_label:"with inline icons",_icons:{left:"codicon codicon-dashboard",right:"codicon codicon-dashboard"},_accessKey:"n",_on:r})]})]})},kj=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolButton with aria-description"})}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_label:"Button Text without area description",_on:r}),t.jsx(M,{_label:"Button Text",_ariaDescription:"Button Area Description",_on:r})]})]})},_j=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This KolButton sample is used for internal testing purposes: It features multiple buttons with and without icons which are vertically aligned."})}),t.jsxs("div",{className:"flex flex-wrap gap-2",children:[t.jsx(M,{_label:"Label-Text",_on:r}),t.jsx(M,{_label:"Label-Text",_on:r}),t.jsx(M,{_label:"Label-Text",_on:r}),t.jsx(M,{_icons:"codicon codicon-reactions",_label:"Label-Text with Icon",_on:r})]})]})},gj=e=>{const{children:r,...l}=e,{dummyClickEventHandler:i}=jn(),c={onClick:i};return t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_icons:"codicon codicon-home",_label:"Primary",_variant:"primary",_on:c,...l,children:r}),t.jsx(M,{_icons:"codicon codicon-heart",_label:"Secondary",_variant:"secondary",_on:c,...l,children:r}),t.jsx(M,{_icons:"codicon codicon-hubot",_label:"Tertiary",_variant:"tertiary",_on:c,...l,children:r}),t.jsx(M,{_icons:"codicon codicon-hubot",_label:"Normal",_variant:"normal",_on:c,...l,children:r}),t.jsx(M,{_icons:"codicon codicon-trash",_label:"Danger",_variant:"danger",_on:c,...l,children:r}),t.jsx(M,{_icons:"codicon codicon-reactions",_label:"Ghost",_variant:"ghost",_on:c,...l,children:r})]})},S_=(e={})=>{const r=[{label:"Button",buttonProps:e},{label:"Button (disabled)",buttonProps:{...e,_disabled:!0}},{label:"Button (hideLabel)",buttonProps:{...e,_hideLabel:!0}},{label:"Button (disabled, hideLabel)",buttonProps:{...e,_disabled:!0,_hideLabel:!0}}];return t.jsx("div",{className:"grid gap-8",children:r.map(({label:l,buttonProps:i},c)=>t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:l}),t.jsx(gj,{...i})]},c))})},xj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolButton shows a button-element. This sample demonstrates the basic usage with its different styling variants, icons, disabled state and hidden labels."})}),t.jsx(S_,{})]}),yj=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolButton with icons in all alignments."})}),t.jsx("div",{children:t.jsx(M,{_icons:{bottom:"codicon codicon-arrow-down",left:{icon:"codicon codicon-arrow-left"},top:{style:{"font-size":"200%",transform:"rotate(45deg)"},icon:"codicon codicon-arrow-up"},right:"codicon codicon-arrow-right"},_label:"Label",_on:r})})]})},wj=()=>{const{dummyClickEventHandler:e}=jn(),r={className:"w-8rem",_on:{onClick:e}};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolButton with adjusted widths."})}),t.jsxs("div",{className:"grid gap-14",children:[t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_label:"Primary",_variant:"primary",...r}),t.jsx(M,{_label:"Secondary",_variant:"secondary",...r}),t.jsx(M,{_label:"Normal",_variant:"normal",...r}),t.jsx(M,{_label:"Danger",_variant:"danger",...r}),t.jsx(M,{_label:"Ghost",_variant:"ghost",...r})]}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_disabled:!0,_label:"Primary",_variant:"primary",...r}),t.jsx(M,{_disabled:!0,_label:"Secondary",_variant:"secondary",...r}),t.jsx(M,{_disabled:!0,_label:"Normal",_variant:"normal",...r}),t.jsx(M,{_disabled:!0,_label:"Danger",_variant:"danger",...r}),t.jsx(M,{_disabled:!0,_label:"Ghost",_variant:"ghost",...r})]})]})]})},Td=new WeakMap,qn=e=>(Td.has(e)===!1&&Td.set(e,sk.createRoot(e)),Td.get(e)),zj=({label:e})=>{const r=Gr.getInstance(document),l=g.useRef(null),i=g.useRef(null),c=()=>{r.enqueue({label:"Edit clicked",description:`The button "edit" has been clicked for ${e}`,type:"info"})},d=()=>{r.enqueue({label:"Delete clicked",description:`The button "delete" has been clicked for ${e}`,type:"warning"})},f=b=>{var h,m;switch(b.code){case"KeyE":(h=l.current)==null||h.kolFocus(),c();return;case"KeyD":(m=i.current)==null||m.kolFocus(),d();return}};return t.jsxs("div",{style:{display:"flex",gap:"calc(10rem / var(--kolibri-root-font-size, 16))"},onKeyUp:f,children:[t.jsx(M,{ref:l,_label:"Edit",_shortKey:"e",_on:{onClick:c}}),t.jsx(M,{ref:i,_label:"Delete",_shortKey:"d",_variant:"danger",_on:{onClick:d}})]})},jj=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e},l=[{label:"Row 1"},{label:"Row 2"}],i={horizontal:[[{label:"Label",key:"label",textAlign:"left"},{label:"Actions",key:"actions",textAlign:"left",render:(c,d)=>{qn(qr(c)).render(t.jsx(zj,{label:d.data.label}))}}]]};return t.jsxs(t.Fragment,{children:[t.jsxs(O,{children:[t.jsx("p",{children:"The first sample shows KolButton with short key without functionality. The short key is purely visual. Its functionality needs to be developed separately."}),t.jsx("p",{children:'The second sample showcases a table where each row contains two KolButtons, each with its own shortcut key. To trigger an action, move the focus to any of the "Actions" cells and press "e" or "d." Doing so will activate the corresponding action and display a Toast notification for demonstration purposes.'})]}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_label:"With S short key",_shortKey:"S",_on:r}),t.jsx(M,{_label:"Very small b",_shortKey:"b",_on:r}),t.jsx(M,{_label:"Short key does not appear in label",_shortKey:"x",_on:r}),t.jsx(M,{_label:"short key without label",_hideLabel:!0,_shortKey:"k",_icons:"codicon codicon-dashboard",_on:r}),t.jsx(M,{_label:"with inline icons",_icons:{left:"codicon codicon-dashboard",right:"codicon codicon-dashboard"},_shortKey:"n",_on:r})]}),t.jsx(J,{_level:2,_label:"Interactive sample",className:"mt"}),t.jsx(cn,{_label:'Move focus within one of the "Actions" cells and press "e" or "d" to trigger an action.',_data:l,_headers:i,_minWidth:"400px"})]})},Sj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolButton show a button-element with expert slot."})}),t.jsx(S_,{_label:"",children:t.jsx("span",{slot:"expert",children:"I am more than just a button"})})]}),Tj={button:{basic:xj,icons:yj,width:wj,"access-key":vj,"aria-description":kj,baselined:_j,"short-key":jj,"expert-slot":Sj}},Cj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolCard shows a card with title and slot content. The second sample features a close button."})}),t.jsxs("div",{className:"w-full grid grid-cols-2 gap-4",children:[t.jsx(Ae,{_label:"Card with title and content",children:t.jsx("div",{children:"Card contents."})}),t.jsx(Ae,{_label:"Card with closer",_hasCloser:!0,children:t.jsx("p",{children:"This card has a close button."})})]})]}),Lj={card:{basic:Cj}},Aj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["KolDetails hides its content until opened. The open state can be toggled either by clicking the label or by setting the ",t.jsx("code",{children:"_open"}),"-prop programmatically. The sample includes an initially open state and a disabled but open Details component."]})}),t.jsxs("section",{className:"grid gap-4",children:[t.jsx(hr,{_label:"Closed initially",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."}),t.jsx(hr,{_disabled:!0,_label:"Open initially (disabled)",_open:!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. 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."}),t.jsx(hr,{_label:"Open initially",_open:!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. 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."})]})]}),Ej={details:{basic:Aj}},$j=["left","top","right","bottom"].map(e=>({label:e,value:e})),T_=({value:e="left",onChange:r})=>t.jsx("div",{className:"grid gap-4",children:t.jsx("div",{className:"container my-4 d-grid gap-4",children:t.jsx(xn,{_label:"Drawer alignment",_value:e,_options:$j,_orientation:"horizontal",_on:{onChange:r}})})}),Ij=()=>{const[e]=yt(),r=e.get("align"),l=e.get("closer")==="true",i=g.useRef(null),[c,d]=g.useState(r||"left"),[f,b]=g.useState(l);return g.useEffect(()=>{var h;r&&((h=i.current)==null||h.open())},[r]),t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolDrawer shows a dialog attached to one of the sides of the viewport, when opened. This sample illustrates the four alignments."})}),t.jsx(T_,{value:c,onChange:(h,m)=>d(m)}),t.jsx(We,{_label:"Drawer has closer",className:"mb-4",_checked:f,_on:{onInput:(h,m)=>{b(m===!0)}}}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(lk,{ref:i,_label:"I am a drawer",_align:c,_hasCloser:f,_on:{onClose:()=>console.log("Drawer onClose triggered!")},children:t.jsxs("div",{className:c==="left"||c==="right"?"drawer-content-vertical":"",children:[t.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."}),t.jsx(M,{_label:"Close drawer",_on:{onClick:()=>{var h;return(h=i.current)==null?void 0:h.close()}}})]})}),t.jsx(M,{_label:"Open drawer",_on:{onClick:()=>{var h;return(h=i.current)==null?void 0:h.open()}}})]})]})},Nj=()=>{const[e]=yt(),r=e.get("align"),[l,i]=g.useState(!1),[c,d]=g.useState(r||"left");return t.jsxs("div",{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows the KolDrawer controlled by the property ",t.jsx("code",{children:"_open"})," instead of methods."]})}),t.jsx(T_,{value:c,onChange:(f,b)=>d(b)}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(lk,{_open:l,_align:c,_label:"I'm a controlled drawer",_on:{onClose:()=>i(!1)},children:t.jsxs("div",{children:[t.jsx("p",{children:"Lorem ipsum dolor sit amet,"}),t.jsx(M,{_label:"Close drawer",_on:{onClick:()=>i(!1)}})]})}),t.jsx(M,{_label:"Open drawer",_on:{onClick:()=>i(!0)}})]})]})},Rj={drawer:{basic:Ij,controlled:Nj}},Bj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsx($o,{className:"w-full",children:t.jsxs("div",{className:"grid gap-2",children:[t.jsx(Le,{id:"input1",_label:"Input 1"}),t.jsx(Le,{id:"input2",_label:"Input 2"}),t.jsx(Le,{id:"input3",_label:"Input 3"})]})})]}),Oj=()=>{const e=g.useRef(null),r=()=>{var l;(l=e.current)==null||l.focusErrorList()};return g.useEffect(()=>{var l;(l=e.current)==null||l.focusErrorList()},[]),t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows a form with error messages."})}),t.jsx($o,{className:"w-full",ref:e,_on:{onSubmit:r},_errorList:[{message:"Error in Input 2",selector:"#input2"},{message:"Error in Input 3",selector:()=>alert("Error in Input 3")}],children:t.jsxs("div",{className:"grid gap-2",children:[t.jsx(Le,{id:"input1",_label:"Input 1"}),t.jsx(Le,{id:"input2",_label:"Input 2",_touched:!0,_msg:{_description:"Input error",_type:"error"}}),t.jsx(Le,{id:"input3",_label:"Input 3",_touched:!0,_msg:{_description:"Input error",_type:"error"}}),t.jsx("div",{children:t.jsx(M,{_label:"ScrollTo",_type:"submit"})})]})})]})},Pj={form:{basic:Bj,"error-list":Oj}},C_=`public-ui.v${au.version}`;class Mj{constructor(){cr(this,"store",new Map)}setItem(r,l){this.store.set(r,l)}getItem(r){return this.store.get(r)||null}}const va={darkMode:!1,theme:"default"};let iu;function L_(e){iu=e;const r=iu.getItem(C_);try{const l=JSON.parse(r);typeof l=="object"&&l!==null&&(va.darkMode=l.darkMode===!0,Mu(l.theme)&&(va.theme=l.theme))}catch{}}L_(new Mj);const Dj=()=>{iu.setItem(C_,JSON.stringify(va))},Fj=e=>{if(Mu(e))va.theme=e,Dj();else throw new Error(`The theme identifier "${e}" is not valid or an available option.`)},cs=()=>`${va.theme}`,su=e=>{var r;if(Mu(e))return(r=Du.find(l=>l.value===e))==null?void 0:r.label;throw new Error(`The theme identifier "${e}" is not valid or an available option.`)},Kj=[{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 Hj({_on:e,...r}){const{dummyClickEventHandler:l}=jn(),i={onClick:l};return t.jsx(M,{...r,_on:i})}const Uj={horizontal:[[{label:"Workdays",colSpan:5},{label:"Weekend",colSpan:2}],[{key:"monday",label:"Monday",render:(e,r)=>{const l=document.createElement("div");l.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(l),qn(l).render(t.jsx(Hj,{_label:r.label,style:{fontSize:"75%"}}))},compareFn:(e,r)=>e.monday<r.monday?-1:e.monday>r.monday?1:0,sortDirection:"ASC",textAlign:"right"},{key:"tuesday",label:"Tuesday",render:(e,r)=>{const l=document.createElement("div");l.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(l),qn(l).render(t.jsx(vn,{_color:"#060",_label:r.label}))},compareFn:(e,r)=>e.tuesday<r.tuesday?-1:e.tuesday>r.tuesday?1:0,sortDirection:"DESC"},{key:"wednesday",label:"Wednesday",render:(e,r)=>{const l=document.createElement("div");l.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(l),qn(l).render(t.jsx(vn,{_color:"#006",_label:r.label}))}},{key:"thursday",label:"Thursday",render:(e,r)=>{const l=document.createElement("div");l.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(l),qn(l).render(t.jsx(vn,{_color:"#600",_label:r.label}))}},{key:"friday",label:"Friday",render:(e,r)=>{const l=document.createElement("div");l.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(l),qn(l).render(t.jsx(vn,{_color:"#303",_label:r.label}))}},{key:"saturday",label:"Saturday",render:(e,r)=>{const l=document.createElement("div");l.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(l),qn(l).render(t.jsx(vn,{_color:"#330",_label:r.label}))}},{key:"sunday",label:"Sunday",render:(e,r)=>{const l=document.createElement("div");l.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(l),qn(l).render(t.jsx(vn,{_color:"#033",_label:r.label}))}}]],vertical:[[{label:"Early"},{label:"Noon"},{label:"Evening"},{label:"Night"}]]},Vj=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs("div",{className:"grid gap-4",children:[t.jsxs("div",{className:"grid gap-4 md:grid-cols-[auto_1fr_1fr] items-center",children:[t.jsx(Zi,{className:"block w-75px",_labeled:!1}),t.jsx(J,{_label:"",_level:1,children:t.jsxs("span",{slot:"expert",children:["Kolibri-Handout ",t.jsxs("small",{children:["for ",su(cs())]})]})}),t.jsxs(hr,{_label:"Abstract",_open:!0,children:["The handout shows a selection of KoliBri components in the style of ",t.jsx("strong",{children:su(cs())}),". 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 (",t.jsx(he,{_label:"https://github.com/public-ui/kolibri",_href:"https://github.com/public-ui/kolibri",_target:"_blank"}),")."]})]}),t.jsxs("div",{className:"grid gap-4 sm:grid-cols-6 md:grid-cols-6 xl:grid-cols-12",children:[t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-3 xl:col-span-2",_label:"Heading",_level:2,children:t.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[t.jsx(J,{_label:"Heading Level 1",_level:1}),t.jsx(J,{_label:"Heading Level 2",_level:2}),t.jsx(J,{_label:"Heading Level 3",_level:3}),t.jsx(J,{_label:"Heading Level 4",_level:4}),t.jsx(J,{_label:"Heading Level 5",_level:5}),t.jsx(J,{_label:"Heading Level 6",_level:6}),t.jsx(J,{_label:"Heading Level 6",_secondaryHeadline:"Lessons",_level:6})]})}),t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-3 xl:col-span-2",_label:"Abbreviation and Progress",_level:2,children:t.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[t.jsxs("p",{children:["I am ",t.jsx(da,{_label:"as an example",children:"e.g."})," an abbreviation."]}),t.jsxs("p",{children:["I am ",t.jsx(da,{children:"e.g."})," an abbreviation without label."]}),t.jsx(dr,{_variant:"bar",_max:100,_value:33,_label:"Progress"}),t.jsx(dr,{_variant:"cycle",_max:100,_value:66,_label:"Progress"})]})}),t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-6 xl:col-span-3",_label:"Button, LinkButton and Tab",_level:2,children:t.jsx("div",{slot:"",className:"grid gap-2 p-2",children:t.jsxs(mr,{_label:"",_selected:0,_tabs:[{_label:"Button"},{_label:"LinkButton"},{_label:"Disabled Tab",_disabled:!0}],children:[t.jsxs("div",{className:"grid gap-2 py-2",children:[t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(M,{_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary",_on:r}),t.jsx(M,{_disabled:!0,_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary",_on:r}),t.jsx(M,{_hideLabel:!0,_icons:"codicon codicon-arrow-left",_label:"primary",_variant:"primary",_on:r})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(M,{_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary",_on:r}),t.jsx(M,{_disabled:!0,_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary",_on:r}),t.jsx(M,{_hideLabel:!0,_icons:"codicon codicon-arrow-right",_label:"secondary",_variant:"secondary",_on:r})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(M,{_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger",_on:r}),t.jsx(M,{_disabled:!0,_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger",_on:r}),t.jsx(M,{_hideLabel:!0,_icons:"codicon codicon-arrow-up",_label:"danger",_variant:"danger",_on:r})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(M,{_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal",_on:r}),t.jsx(M,{_disabled:!0,_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal",_on:r}),t.jsx(M,{_hideLabel:!0,_icons:"codicon codicon-arrow-down",_label:"normal",_variant:"normal",_on:r})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(M,{_label:"ghost",_variant:"ghost"}),t.jsx(M,{_disabled:!0,_label:"ghost",_variant:"ghost"}),t.jsx(M,{_icons:"codicon codicon-home",_hideLabel:!0,_label:"ghost",_variant:"ghost",_on:r})]})]}),t.jsxs("div",{className:"grid gap-2 py-2",children:[t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(Me,{_href:"#/back-page",_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary"}),t.jsx(Me,{_href:"#/back-page",_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary"}),t.jsx(Me,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-left",_label:"primary",_variant:"primary"})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(Me,{_href:"#/back-page",_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary"}),t.jsx(Me,{_href:"#/back-page",_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary"}),t.jsx(Me,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-right",_label:"secondary",_variant:"secondary"})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(Me,{_href:"#/back-page",_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger"}),t.jsx(Me,{_href:"#/back-page",_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger"}),t.jsx(Me,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-up",_label:"danger",_variant:"danger"})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(Me,{_href:"#/back-page",_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal"}),t.jsx(Me,{_href:"#/back-page",_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal"}),t.jsx(Me,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-down",_label:"normal",_variant:"normal"})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(Me,{_href:"#/back-page",_label:"ghost",_variant:"ghost"}),t.jsx(Me,{_href:"#/back-page",_label:"ghost",_variant:"ghost"}),t.jsx(Me,{_href:"#/back-page",_icons:"codicon codicon-home",_hideLabel:!0,_label:"ghost",_variant:"ghost"})]})]})]})})}),t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-2 xl:col-span-2",_label:"Accordion, Link and ButtonLink",_level:2,children:t.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[t.jsx(On,{_label:"Links",_level:3,_open:!0,children:t.jsxs("div",{className:"grid gap-2",slot:"",children:[t.jsx(he,{_href:"#/back-page",_label:"Link text"}),t.jsx(he,{_href:"#/back-page",_icons:"codicon codicon-home",_label:"Link text with icon"}),t.jsx(he,{_href:"#/back-page",_icons:"codicon codicon-home",_hideLabel:!0,_label:"Link text with icon only"}),t.jsx(he,{_href:"/",_label:"Visited link"}),t.jsxs("p",{children:["I am a ",t.jsx(he,{_href:"#/back-page",_label:"externer Link",_target:"w3c"})," in the running text."]})]})}),t.jsx(On,{_label:"ButtonLinks",_level:3,children:t.jsxs("div",{className:"grid gap-2",slot:"",children:[t.jsx(Ge,{_label:"Link text"}),t.jsx(Ge,{_icons:"codicon codicon-home",_label:"Link text with icon"}),t.jsx(Ge,{_icons:"codicon codicon-home",_hideLabel:!0,_label:"Link text with icon only"}),t.jsxs("p",{children:["I am a ",t.jsx(Ge,{_label:"Link"})," in the running text."]}),t.jsx(Ge,{_icons:{left:"codicon codicon-arrow-left",right:"codicon codicon-arrow-right",top:"codicon codicon-arrow-up",bottom:"codicon codicon-arrow-down"},_label:"Icons"})]})})]})}),t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-3",_label:"Alert",_level:2,children:t.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[t.jsx(Xn,{_label:"Default message",_type:"default",children:"This is the text of the alert."}),t.jsx(Xn,{_type:"success",children:"Success message text"}),t.jsx(Xn,{_type:"error",_hasCloser:!0,children:"This is a error message text."}),t.jsx(Xn,{_label:"Info card",_type:"info",_variant:"card",children:"This is the text of the alert."}),t.jsx(Xn,{_label:"Warning card",_type:"warning",_hasCloser:!0,_variant:"card",children:"This is the text of the alert."})]})}),t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-2 xl:col-span-2",_label:"Nav and Breadcrumb",_level:2,children:t.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[t.jsx("div",{children:t.jsx(kt,{_label:"Main navigation",_links:[{_label:"Homepage",_icons:"codicon codicon-home",_href:"#/back-page"},{_label:"2 Navigation point",_icons:"codicon codicon-home",_href:"#/back-page"},{_active:!0,_label:"3 Navigation point",_href:"#/back-page",_icons:"codicon codicon-home",_children:[{_label:"3.1 Navigation point",_icons:"codicon codicon-home",_href:"#/back-page"},{_label:"3.2 External navigation point",_icons:"codicon codicon-home",_href:"#/back-page",_target:"_blank"},{_label:"3.3 Navigation point",_href:"#/back-page",_icons:"codicon codicon-home",_children:[{_active:!0,_label:"3.3.1 Navigation point (active)",_icons:"codicon codicon-home",_href:"#/back-page"},{_label:"3.3.2 Navigation point",_icons:"codicon codicon-home",_href:"#/back-page"}]}]},{_label:"3 Navigation point",_icons:"codicon codicon-home",_href:"#/back-page"}],_hasCompactButton:!0})}),t.jsx("div",{children:t.jsx(Gi,{_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"}]})})]})}),t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5",_label:"Input",_level:2,children:t.jsx($o,{slot:"",children:t.jsxs("div",{className:"grid gap-4 sm:grid-cols-2 md:grid-cols-3 p-2",children:[t.jsx(Ln,{_label:"Color"}),t.jsx(gn,{_label:"Upload file"}),t.jsx(bn,{_label:"Number input"}),t.jsx(De,{_type:"date",_label:"Date"}),t.jsx(An,{_icons:"{'left': 'codicon codicon-home'}",_msg:{_type:"error",_description:"Test of an error message"},_touched:!0,_label:"E-mail address"}),t.jsx(Le,{_hint:"I am a hint.",_label:"First name"}),t.jsx(mn,{_label:"password"}),t.jsx(En,{_options:"[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]",_label:"Stimmung"}),t.jsx(Bn,{_min:0,_max:50,_value:25,_label:"Slider"}),t.jsx(xn,{className:"herr-frau",_options:"[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]",_value:"1",_label:"Salutation"}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(xn,{_orientation:"horizontal",_options:"[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]",_value:"0",_label:"Salutation"}),t.jsx(We,{_label:"",children:t.jsxs("span",{slot:"expert",children:["I accept the ",t.jsx(da,{_label:"General Terms and Conditions",children:"AGB"}),"."]})})]}),t.jsx(Ve,{_rows:4,_label:"Textarea"})]})})}),t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5",_label:"Table with Pagination",_level:2,children:t.jsx("div",{slot:"",className:"grid gap-2 p-2",children:t.jsx(cn,{_label:"Table",_minWidth:"auto",_headers:Uj,_data:Kj,_pagination:!0})})})]}),t.jsx(us,{_label:"5.0.2-test.2"})]})},Wj={handout:{basic:Vj}},qj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows KolHeading with its different levels and content provided using the export slot instead of the ",t.jsx("code",{children:"_label"}),"-property."]})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{_label:"",_level:1,children:t.jsxs("span",{slot:"expert",children:["A heading with a ",t.jsx(vn,{_label:"Label"})]})}),t.jsx(J,{_label:"",_level:2,children:t.jsxs("span",{slot:"expert",children:["A heading with a ",t.jsx(vn,{_color:"#86ffc6",_label:"Label"})]})}),t.jsx(J,{_label:"",_level:3,children:t.jsxs("span",{slot:"expert",children:["A heading with a ",t.jsx(vn,{_color:"#06539e",_label:"Label"})]})}),t.jsx(J,{_label:"",_level:4,children:t.jsxs("span",{slot:"expert",children:["A heading with a ",t.jsx(vn,{_color:"#ae0000",_label:"Label"})]})}),t.jsx(J,{_label:"",_level:5,children:t.jsxs("span",{slot:"expert",children:["A heading with a ",t.jsx(vn,{_color:"#8b008b",_label:"Label"})]})}),t.jsx(J,{_label:"",_level:6,children:t.jsxs("span",{slot:"expert",children:["A heading with a ",t.jsx(vn,{_color:"#ffc0cb",_label:"Label"})]})})]})]}),Gj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolHeading renders a heading with the given level."})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{_label:"I'm a H1-heading",_level:1}),t.jsx(J,{_label:"I'm a H2-heading",_level:2}),t.jsx(J,{_label:"I'm a H3-heading",_level:3}),t.jsx(J,{_label:"I'm a H4-heading",_level:4}),t.jsx(J,{_label:"I'm a H5-heading",_level:5}),t.jsx(J,{_label:"I'm a H6-heading",_level:6})]})]}),Zj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolHeading with its different levels combined with some text content each."})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{_label:"Ich bin eine H1-Überschrift",_level:1}),t.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."}),t.jsx(J,{_label:"Ich bin eine H2-Überschrift",_level:2}),t.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."}),t.jsx(J,{_label:"Ich bin eine H3-Überschrift",_level:3}),t.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."}),t.jsx(J,{_label:"Ich bin eine H4-Überschrift",_level:4}),t.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."}),t.jsx(J,{_label:"Ich bin eine H5-Überschrift",_level:5}),t.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."}),t.jsx(J,{_label:"Ich bin eine H6-Überschrift",_level:6}),t.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."})]})]}),Yj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows KolHeading with the prop ",t.jsx("code",{children:"_secondaryHeadline"})," in use."]})}),t.jsx("div",{className:"grid gap-4",children:t.jsx(J,{_label:"This is a H1 headline",_secondaryHeadline:"This is a secondary headline",_level:1})})]}),Jj={heading:{basic:Gj,badge:qj,paragraph:Zj,secondary:Yj}},Qj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolIcon renders an icon. This sample shows one regular icon and one with a custom style-property, changing the icon color."})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(Uh,{className:"block w-[1em] h-[1em]",_label:"",_icons:"codicon codicon-home"}),t.jsx(Uh,{className:"block w-[1em] h-[1em]",style:{color:"red"},_label:"",_icons:"codicon codicon-home"})]})]}),Xj={icon:{basic:Qj}},eS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolImage renders an image. The sample shows an image with alternative text."})}),t.jsx(Ex,{className:"w-image",_src:"abgrenzung.jpg",_alt:"Darstellung des KoliBri-Theming"})]}),nS={image:{basic:eS}},Zn=({RefComponent:e,showButtons:r=!0,...l})=>t.jsx($o,{className:"w-full",children:t.jsxs("div",{className:"grid gap-4",children:[t.jsx(e,{...l}),r&&t.jsxs("div",{className:"flex gap-4",children:[t.jsx(M,{_label:"Submit",_icons:"codicon codicon-arrow-right",_type:"submit",_variant:"primary"}),t.jsx(M,{_label:"Bunte Icons",_icons:{left:{icon:"codicon codicon-heart-filled",style:{color:"#cc006e"}},right:{icon:"codicon codicon-squirrel",style:{color:"#b41b1b"}}},_type:"submit",_variant:"secondary"}),t.jsx(M,{_label:"Reset",_type:"reset",_variant:"tertiary"}),t.jsx(M,{_label:"Help",_variant:"ghost"})]})]})}),Hi=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx(We,{...r,_label:"Not selected",_value:!1,_required:!0}),t.jsx(We,{...r,_label:"Indeterminate",_value:null,_indeterminate:!0}),t.jsx(We,{...r,ref:l,_accessKey:"A",_checked:!0,_label:"Selected",_tooltipAlign:"right",_value:!0}),t.jsx(We,{...r,_checked:!0,_icons:{unchecked:"codicon codicon-close"},_label:"With a very long label and upheavals ".repeat(5),_value:!0}),t.jsx(We,{...r,_disabled:!0,_label:"Disabled",_value:!0,_hint:"Hint text"}),t.jsx(We,{...r,_checked:!0,_disabled:!0,_label:"Checked and disabled"}),t.jsx(We,{...r,_indeterminate:!0,_disabled:!0,_label:"Indeterminate and disabled"}),t.jsx(We,{...r,_msg:{_type:"error",_description:$e},_label:"With error",_touched:!0,_value:!0,_hint:"Hint text"}),t.jsx(We,{...r,_label:"With access key",_accessKey:"c",_value:null}),t.jsx(We,{...r,_label:"With short key",_shortKey:"s",_value:null})]})});function ro({children:e}){const[r]=yt(),l=r.has("noColumns");return t.jsx("div",{className:l?"":"grid md:grid-cols-2 gap-4",children:e})}const Ku=g.forwardRef(function(r,l){return t.jsxs(t.Fragment,{children:[t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:'Label align "left" with label'}),t.jsx(Hi,{...r,_labelAlign:"left"})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:'Label align "left" without Label (hideLabel)'}),t.jsx(Hi,{ref:l,...r,_hideLabel:!0,_labelAlign:"left"})]})]}),t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:'Label align "right" with label'}),t.jsx(Hi,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:'Label align "right" without Label (hideLabel)'}),t.jsx(Hi,{ref:l,...r,_hideLabel:!0})]})]})]})}),oS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolInputCheckbox renders a checkbox. The sample shows KolInputCheckbox in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:Ku,showButtons:!1})]}),rS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:'This sample shows KolInputCheckbox in the variant "button".'})}),t.jsx(Zn,{RefComponent:Ku,_variant:"button",showButtons:!1})]}),tS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:'This sample shows KolInputCheckbox in the variant "switch".'})}),t.jsx(Zn,{RefComponent:Ku,_variant:"switch",showButtons:!1})]}),lS={"input-checkbox":{basic:oS,switch:tS,button:rS}},Xm=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(Ln,{...r,_msg:{_type:"error",_description:$e},_icons:{left:"codicon codicon-symbol-color"},_label:"Color (Black background test)",_value:"#f08080"})}),t.jsx(Ln,{...r,_msg:{_type:"error",_description:$e},_label:"Color with error",_suggestions:"['#000000','#f08080', '#0000ff','#00ff00']",_touched:!0}),t.jsx(Ln,{...r,_msg:{_type:"info",_description:"Just a hint"},_label:"Color"}),t.jsx(Ln,{...r,_msg:{_type:"warning",_description:"Small warning"},_label:"Color"}),t.jsx(Ln,{...r,_msg:{_type:"success",_description:"Success message"},_label:"Color"}),t.jsx(Ln,{...r,ref:l,_accessKey:"C",_hint:"Hint text",_label:"Color with hint",_value:"#f08080"}),t.jsx(Ln,{...r,_disabled:!0,_label:"Color (Disabled)",_value:"#f08080"}),t.jsx(Ln,{...r,_label:"With access key",_accessKey:"c"}),t.jsx(Ln,{...r,_label:"With short key",_shortKey:"s"})]})}),aS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Color"}),t.jsx(Xm,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Color (hideLabel)"}),t.jsx(Xm,{ref:l,...r,_hideLabel:!0})]})]})}),iS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolInputColor renders a color input. The sample shows KolInputColor in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:aS,showButtons:!1})]}),sS={"input-color":{basic:iS}},ev=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(De,{...r,_type:"date",_label:"Date input (Black background test)",_required:!0})}),t.jsx(De,{...r,_type:"datetime-local",_label:"Local-Datetime (Standard)",_required:!0}),t.jsx(De,{...r,_step:1,_type:"datetime-local",_hint:oo,_msg:{_type:"error",_description:$e},_label:"Local datetime (with seconds)",_required:!0,_touched:!0}),t.jsx(De,{...r,_msg:{_type:"info",_description:"Just a hint"},_label:"Color"}),t.jsx(De,{...r,_msg:{_type:"warning",_description:"Small warning"},_label:"Color"}),t.jsx(De,{...r,_msg:{_type:"success",_description:"Success message"},_label:"Color"}),t.jsx(De,{...r,_type:"month",_label:"Month",_required:!0}),t.jsx(De,{...r,ref:l,_accessKey:"W",_type:"week",_label:"Week",_required:!0}),t.jsx(De,{...r,_type:"time",_label:"Time (standard)",_required:!0}),t.jsx(De,{...r,_step:1,_type:"time",_label:"Time (with seconds)",_required:!0}),t.jsx(De,{...r,_readOnly:!0,_label:"Date input (read-only)",_required:!0}),t.jsx(De,{...r,_disabled:!0,_label:"Date input (Disabled)",_required:!0}),t.jsx(De,{...r,_label:"With access key",_accessKey:"s"}),t.jsx(De,{...r,_label:"With short key",_shortKey:"s"})]})}),cS=e=>{const r="2024-09-26",l="2024-09-27",i="12:00",c="15:00",d="2024-09-26T12:00",f="2024-09-27T15:00",b="2024-W10",h="2024-W50",m="2024-02",_="2024-10",x=new Date("January 10, 2024, 12:00"),k=new Date("October 20, 2024, 15:00");return t.jsxs("div",{className:"grid gap-4",children:[t.jsx(De,{...e,_type:"date",_label:"Date with Iso",_min:r,_max:l}),t.jsx(De,{...e,_type:"date",_label:"Date with Date",_min:x,_max:k}),t.jsx(De,{...e,_type:"time",_label:"Time with Iso",_min:i,_max:c}),t.jsx(De,{...e,_type:"time",_label:"Time with Date",_min:x,_max:k}),t.jsx(De,{...e,_type:"datetime-local",_label:"DayTime with Iso",_min:d,_max:f}),t.jsx(De,{...e,_type:"datetime-local",_label:"DayTime with Date",_min:x,_max:k}),t.jsx(De,{...e,_type:"week",_label:"Week with Iso",_min:b,_max:h}),t.jsx(De,{...e,_type:"week",_label:"Week with Date",_min:x,_max:k}),t.jsx(De,{...e,_type:"month",_label:"Month with Iso",_min:m,_max:_}),t.jsx(De,{...e,_type:"month",_label:"Month with Date",_min:x,_max:k})]})},dS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Date"}),t.jsx(ev,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Date (hideLabel)"}),t.jsx(ev,{ref:l,...r,_hideLabel:!0})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Date (with min/max)"}),t.jsx(cS,{...r})]})]})}),uS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsx(Zn,{RefComponent:dS,showButtons:!1})]}),fS=()=>{const e=g.useRef(null);return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample demonstrates the KolInputDate ",t.jsx("code",{children:"reset"}),"-Method, which can be used to clear the field, even when it holds incomplete or invalid values."]})}),t.jsx(De,{className:"w-full",ref:e,_label:"Resettable Input Date",_value:"2024-02-10"}),t.jsx(M,{className:"mt",_label:"Reset",_on:{onClick:()=>{var r;return(r=e.current)==null?void 0:r.reset()}}})]})},pS=["default","error","info","success","warning"];function Cd(e){return{onChange:()=>e(r=>!r)}}const hS=()=>{const[e,r]=g.useState(!0),[l,i]=g.useState(!0),[c,d]=g.useState(!1),f=Cd(r),b=Cd(i),h=Cd(d);return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This example shows how messages work in input fields."})}),t.jsxs("div",{className:"flex gap-4 flex-col",children:[t.jsxs("div",{className:"flex gap-4 items-center",children:[t.jsx(We,{_label:"Toggle Msg",_on:f,_checked:e,_variant:"button"}),t.jsx(We,{_label:"Toggle Touched",_on:b,_checked:l,_variant:"button"}),t.jsx(We,{_label:"Toggle Hide Msg",_on:h,_checked:c,_variant:"button"})]}),t.jsxs("pre",{children:["Message exists: ",e?"Yes":"No"," (showMsg: ",e?"Yes":"No",")",t.jsx("br",{}),"Non-Error-Message visible: ",e&&!c?"Yes":"No"," (showMsg: ",e?"Yes":"No",", hideMsg: ",c?"Yes":"No",")",t.jsx("br",{}),"Error-Message visible: ",e&&l&&!c?"Yes":"No"," (showMsg: ",e?"Yes":"No",", isTouched: ",l?"Yes":"No",", hideMsg: ",c?"Yes":"No",")"]}),pS.map(m=>t.jsx(De,{_hideMsg:c,_label:`Date (_msg, ${m})`,_msg:e?{_description:`${m} message`,_type:m}:void 0,_touched:l},m))]})]})},bS={"input-date":{basic:uS,reset:fS,"show-hide-msg":hS}},nv=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(An,{...r,_required:!0,_value:"test@mail.de",_msg:{_type:"error",_description:$e},_label:"E-Mail (Black background test)"})}),t.jsx(An,{...r,ref:l,_accessKey:"M",_placeholder:"elke@mustermann.de",_suggestions:"['test1@mail.de', 'test2@mail.de', 'test3@mail.de']",_label:"E-Mail (list)",_hint:oo,_msg:{_type:"error",_description:$e},_touched:!0,_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}}}),t.jsx(An,{...r,_msg:{_type:"info",_description:"Just a hint"},_label:"E-Mail"}),t.jsx(An,{...r,_msg:{_type:"warning",_description:"Small warning"},_label:"E-Mail"}),t.jsx(An,{...r,_msg:{_type:"success",_description:"Success message"},_label:"E-Mail"}),t.jsx(An,{...r,_disabled:!0,_value:"test@mail.de",_label:"E-Mail (Disabled)"}),t.jsx(An,{...r,_readOnly:!0,_value:"test@mail.de",_label:"E-Mail (Readonly)"}),t.jsx(An,{...r,_value:"test@mail.de",_label:"With access key",_accessKey:"c"}),t.jsx(An,{...r,_value:"test@mail.de",_label:"With short key",_shortKey:"s"})]})}),mS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Email"}),t.jsx(nv,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Email (hideLabel)"}),t.jsx(nv,{ref:l,...r,_hideLabel:!0})]})]})}),vS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolInputEmail renders an email input field. The sample shows KolInputEmail in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:mS,showButtons:!1})]}),kS={"input-email":{basic:vS}},ov=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(gn,{...r,_label:"Upload file (Black background test)",_icons:{left:{icon:"codicon codicon-save"}},_touched:!0})}),t.jsx(gn,{...r,_required:!0,_hint:oo,_msg:{_type:"error",_description:$e},_label:"Upload file (Black background test)",_icons:{left:{icon:"codicon codicon-save"}},_touched:!0}),t.jsx(gn,{...r,_msg:{_type:"info",_description:"Just a hint"},_label:"Upload file"}),t.jsx(gn,{...r,_msg:{_type:"warning",_description:"Small warning"},_label:"Upload file"}),t.jsx(gn,{...r,_msg:{_type:"success",_description:"Success message"},_label:"Upload file"}),t.jsx(gn,{...r,ref:l,_accessKey:"h",_multiple:!0,_msg:{_type:"error",_description:$e},_label:"Upload file (Multiple)"}),t.jsx(gn,{...r,_disabled:!0,_label:"Upload file (Disabled)"}),t.jsx(gn,{...r,_label:"With access key",_accessKey:"c"}),t.jsx(gn,{...r,_label:"With short key",_shortKey:"s"})]})}),_S=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"File"}),t.jsx(ov,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"File (hideLabel)"}),t.jsx(ov,{ref:l,...r,_hideLabel:!0})]})]})}),gS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolInputFile renders a file input field. The sample shows KolInputFile in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:_S,showButtons:!1})]}),xS={"input-file":{basic:gS}},rv=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsxs("div",{className:"black-background",children:[t.jsx(bn,{...r,_required:!0,_touched:!0,_value:123,_label:"Number input (Black background test)"})," "]}),t.jsx(bn,{...r,_required:!0,_msg:{_type:"error",_description:$e},_touched:!0,_placeholder:"Mit Icons",_label:"Number input",_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}}}),t.jsx(bn,{...r,_required:!0,_msg:{_type:"error",_description:$e},_touched:!0,_value:123,_label:"Number input"}),t.jsx(bn,{...r,_required:!0,_msg:{_type:"warning",_description:$e},_touched:!0,_value:123,_label:"Number input"}),t.jsx(bn,{...r,_required:!0,_msg:{_type:"info",_description:$e},_touched:!0,_value:123,_label:"Number input"}),t.jsx(bn,{...r,_required:!0,_msg:{_type:"success",_description:$e},_touched:!0,_value:123,_label:"Number input"}),t.jsx(bn,{...r,ref:l,_accessKey:"Z",_max:10,_min:-10,_step:2,_label:"Number input (-10 to 10 in steps of 2)"}),t.jsx(bn,{...r,_readOnly:!0,_label:"Number input (Readonly)"}),t.jsx(bn,{...r,_disabled:!0,_label:"Number input (Disabled)"}),t.jsx(bn,{...r,_label:"With access key",_accessKey:"c"}),t.jsx(bn,{...r,_label:"With short key",_shortKey:"s"})]})}),yS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Number"}),t.jsx(rv,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Number (hideLabel)"}),t.jsx(rv,{ref:l,...r,_hideLabel:!0})]})]})}),wS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsx(Zn,{RefComponent:yS,showButtons:!1})]}),zS={"input-number":{basic:wS}},tv=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(mn,{...r,_label:"Passwort (Black background test)"})}),t.jsx(mn,{...r,ref:l,_accessKey:"P",_required:!0,_hint:oo,_msg:{_type:"error",_description:$e},_placeholder:"Mit Icons",_label:"Passwort",_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}},_touched:!0}),t.jsx(mn,{...r,_placeholder:"Placeholder",_msg:{_type:"info",_description:"Just a hint"},_label:"Password"}),t.jsx(mn,{...r,_placeholder:"Placeholder",_msg:{_type:"warning",_description:"Small warning"},_label:"Password"}),t.jsx(mn,{...r,_placeholder:"Placeholder",_msg:{_type:"success",_description:"Success message"},_label:"Password"}),t.jsx(mn,{...r,_disabled:!0,_msg:{_type:"error",_description:$e},_label:"Passwort (Disabled)",_touched:!0}),t.jsx(mn,{...r,_readOnly:!0,_label:"Passwort (Readonly)"}),t.jsx(mn,{...r,ref:l,_shortKey:"c",_label:"With access key"}),t.jsx(mn,{...r,ref:l,_shortKey:"s",_label:"With short key"})]})}),jS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Password"}),t.jsx(tv,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Password (hideLabel)"}),t.jsx(tv,{ref:l,...r,_hideLabel:!0})]})]})}),SS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolInputPassword renders a password input field. The sample shows KolInputPassword in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:jS,showButtons:!1})]}),TS=()=>{const e=g.useRef(null);return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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.'})}),t.jsxs($o,{className:"w-full",children:[t.jsx(mn,{_placeholder:"With 'Show password' button",_label:"Password",ref:e,className:"block",_variant:"visibility-toggle"}),t.jsx(mn,{_placeholder:"With 'Show password' button",_label:"Password",ref:e,className:"block",_variant:"visibility-toggle",_value:"Password"}),t.jsx(mn,{_placeholder:"With 'Show password' button and disabled",_label:"Password",ref:e,className:"block",_disabled:!0,_variant:"visibility-toggle"})]})]})},CS={"input-password":{basic:SS,"show-password":TS}},lv=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(xn,{...r,_options:"[{'disabled':true,'label':'Mrs. (disabled)','value':'Mrs.'},{'label':'Mr.'},{'label':'Company','value':'Company'}]",_label:"Salutation (Black background test)"})}),t.jsx(xn,{...r,_required:!0,_msg:{_type:"error",_description:$e},_touched:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]",_label:"Salutation (with error)"}),t.jsx(xn,{...r,ref:l,_orientation:"horizontal",_required:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]",_label:"Salutation (horizontal)"}),t.jsx(xn,{...r,_disabled:!0,_orientation:"horizontal",_required:!0,_msg:{_type:"error",_description:$e},_touched:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]",_label:"Salutation (horizontal with error)"}),t.jsx(xn,{...r,_disabled:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]",_label:"Salutation",_touched:!0}),t.jsx(xn,{...r,_orientation:"horizontal",_required:!0,_msg:{_type:"error",_description:$e},_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:oo})]})}),LS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("div",{className:"border border-solid border-dark-100 p-3",children:[t.jsx(J,{_level:2,_label:"Radio",className:"block mb-2"}),t.jsx(lv,{...r})]}),t.jsxs("div",{className:"border border-solid border-dark-100 p-3",children:[t.jsx(J,{_level:2,_label:"Radio (hideLabel)",className:"block mb-2"}),t.jsx(lv,{ref:l,...r,_hideLabel:!0})]})]})}),AS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolInputRadio renders a set of radio buttons. The sample shows KolInputRadio in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:LS,showButtons:!1})]}),ES=()=>{const[e,r]=g.useState(!0),[l,i]=g.useState("horizontal"),c=[{label:"Field 1",value:1},{label:"Field 2",value:2}],d=()=>{r(b=>!b)},f=()=>{i(b=>b==="horizontal"?"vertical":"horizontal")};return t.jsxs("div",{className:"grid gap-4",children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows the ",t.jsx("code",{children:"horizontal"})," and ",t.jsx("code",{children:"vertical"})," orientation of KolInoutRadio. It also features a button to test re-rendering."]})}),t.jsxs("div",{className:"flex gap-4",children:[t.jsx(M,{_label:"Click me a few times",_on:{onClick:d}}),t.jsx(We,{_label:"Switch orientation (horizontal/vertical)",_on:{onChange:f},_variant:"switch"})]}),e&&t.jsx($o,{children:t.jsxs("div",{className:"container my-4 d-grid gap-4",children:[t.jsx(xn,{_label:`Test (${l})`,_options:c,_orientation:l,_required:!0}),t.jsx(xn,{_hideLabel:!0,_label:`Test (${l})`,_options:c,_orientation:l,_required:!0})]})})]})},$S=()=>{const e=[{label:"Field 1",value:{id:1,name:"Option 1"}},{label:"Field 2",value:{id:2,name:"Option 2"}}];return t.jsxs("div",{className:"grid gap-4",children:[t.jsxs(O,{children:["This sample shows KolInputRadio with ",t.jsx("code",{children:"object"})," and ",t.jsx("code",{children:"undefined"})," values."]}),t.jsxs($o,{children:[t.jsxs("p",{children:["In this example for ",t.jsx("code",{children:"KolInputRadio"}),", the values of the options are defined as objects."]}),t.jsx("div",{className:"container my-4 d-grid gap-4",children:t.jsx(xn,{_value:e[1].value,_options:e,_label:"Test (with object value)"})}),t.jsxs("p",{children:["In this example for ",t.jsx("code",{children:"KolInputRadio"}),", no value is set."]}),t.jsx("div",{className:"container my-4 d-grid gap-4",children:t.jsx(xn,{_options:e,_label:"Test (without value)"})})]})]})},IS={"input-radio":{basic:AS,horizontal:ES,object:$S}},av=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(Bn,{...r,_min:0,_max:50,_msg:{_type:"error",_description:$e},_label:"Slider (Black background test)",_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}},_touched:!0})}),t.jsx(Bn,{...r,ref:l,_accessKey:"F",_min:0,_max:50,_step:10,_hint:oo,_msg:{_type:"error",_description:$e},_label:"Slider with error",_touched:!0}),t.jsx(Bn,{...r,_msg:{_type:"info",_description:"Just a hint"},_label:"Slider"}),t.jsx(Bn,{...r,_msg:{_type:"warning",_description:"Small warning"},_label:"Slider"}),t.jsx(Bn,{...r,_msg:{_type:"success",_description:"Success message"},_label:"Slider"}),t.jsx(Bn,{...r,_disabled:!0,_min:0,_max:50,_label:"Slider (disabled)"}),t.jsx(Bn,{...r,_min:0,_max:50,_label:"With access key",_accessKey:"c"}),t.jsx(Bn,{...r,_min:0,_max:50,_label:"With short key",_shortKey:"s"})]})}),NS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Range"}),t.jsx(av,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Range (hideLabel)"}),t.jsx(av,{ref:l,...r,_hideLabel:!0})]})]})}),RS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsx(Zn,{RefComponent:NS,showButtons:!1})]}),BS={"input-range":{basic:RS}},iv=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(Le,{...r,_value:"Value",_label:"First name (Black background test)"})}),t.jsx(Le,{...r,_hint:oo,_msg:{_type:"error",_description:$e,_label:"test headline"},_placeholder:"With icons",_icons:{right:{icon:"codicon codicon-arrow-right",style:{"font-size":"200%","margin-right":"calc(-8rem / var(--kolibri-root-font-size, 16))"}}},_on:{onBlur:console.log,onChange:console.log,onClick:console.log,onFocus:console.log},_required:!0,_type:"search",_touched:!0,_label:"First name (text)",_accessKey:"V",ref:l}),t.jsx(Le,{...r,_placeholder:"Placeholder",_msg:{_type:"info",_description:"Just a hint"},_label:"Search",_type:"search"}),t.jsx(Le,{...r,_placeholder:"Placeholder",_msg:{_type:"error",_description:$e},_touched:!0,_type:"url",_label:"URL (url)"}),t.jsx(Le,{...r,_placeholder:"Placeholder",_type:"tel",_label:"Telephone (tel)",_msg:{_type:"warning",_description:"Small warning"}}),t.jsx(Le,{...r,_placeholder:"Placeholder",_type:"tel",_label:"Telephone (tel)",_msg:{_type:"success",_description:"Success message"}}),t.jsx(Le,{...r,_placeholder:"Placeholder",_label:"With counter",_hasCounter:!0,_maxLength:10,_value:"Lorem Ipsum"}),t.jsx(Le,{...r,_placeholder:"Placeholder",_readOnly:!0,_label:"First name (text, readonly)"}),t.jsx(Le,{...r,_value:"Value",_readOnly:!0,_label:"First name (text, readonly)"}),t.jsx(Le,{...r,_placeholder:"Placeholder",_disabled:!0,_label:"First name (text, disabled)"}),t.jsx(Le,{...r,_value:"Value",_disabled:!0,_label:"First name (text, disabled)"}),t.jsx(Le,{...r,_value:"Value",_label:"With access key",_accessKey:"c"}),t.jsx(Le,{...r,_value:"Value",_label:"With short key",_shortKey:"s"})]})}),OS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text"}),t.jsx(iv,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text (hideLabel)"}),t.jsx(iv,{ref:l,...r,_hideLabel:!0})]})]})}),PS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolInputText renders a text input field. The sample shows KolInputText in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:OS,showButtons:!1})]}),MS=()=>t.jsxs("div",{className:"grid gap-4",children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows the ",t.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."]})}),t.jsx(Ae,{_label:"Normal input field with error",_level:0,children:t.jsx(Le,{_msg:{_type:"error",_description:"Error message"},_label:"Input with error",_touched:!0})}),t.jsx(Ae,{_label:"Input fields with hidden error",_level:0,children:t.jsxs("fieldset",{className:"grid md:grid-cols-2 gap-4",children:[t.jsx("legend",{children:"Combined input field"}),t.jsx(Xn,{className:"col-span-2",_level:0,_type:"error",children:"This is a combined error message"}),t.jsx(Le,{_msg:{_type:"error",_description:"This is a combined error message"},_hideMsg:!0,_label:"First input",_touched:!0}),t.jsx(Le,{_msg:{_type:"error",_description:"This is a combined error message"},_hideMsg:!0,_label:"Second input with error",_touched:!0})]})})]});var DS=function(r){return FS(r)&&!KS(r)};function FS(e){return!!e&&typeof e=="object"}function KS(e){var r=Object.prototype.toString.call(e);return r==="[object RegExp]"||r==="[object Date]"||VS(e)}var HS=typeof Symbol=="function"&&Symbol.for,US=HS?Symbol.for("react.element"):60103;function VS(e){return e.$$typeof===US}function WS(e){return Array.isArray(e)?[]:{}}function ds(e,r){return r.clone!==!1&&r.isMergeableObject(e)?ka(WS(e),e,r):e}function qS(e,r,l){return e.concat(r).map(function(i){return ds(i,l)})}function GS(e,r,l){var i={};return l.isMergeableObject(e)&&Object.keys(e).forEach(function(c){i[c]=ds(e[c],l)}),Object.keys(r).forEach(function(c){!l.isMergeableObject(r[c])||!e[c]?i[c]=ds(r[c],l):i[c]=ka(e[c],r[c],l)}),i}function ka(e,r,l){l=l||{},l.arrayMerge=l.arrayMerge||qS,l.isMergeableObject=l.isMergeableObject||DS;var i=Array.isArray(r),c=Array.isArray(e),d=i===c;return d?i?l.arrayMerge(e,r,l):GS(e,r,l):ds(r,l)}ka.all=function(r,l){if(!Array.isArray(r))throw new Error("first argument should be an array");return r.reduce(function(i,c){return ka(i,c,l)},{})};var cu=ka,A_=typeof global=="object"&&global&&global.Object===Object&&global,ZS=typeof self=="object"&&self&&self.Object===Object&&self,Jo=A_||ZS||Function("return this")(),Wr=Jo.Symbol,E_=Object.prototype,YS=E_.hasOwnProperty,JS=E_.toString,aa=Wr?Wr.toStringTag:void 0;function QS(e){var r=YS.call(e,aa),l=e[aa];try{e[aa]=void 0;var i=!0}catch{}var c=JS.call(e);return i&&(r?e[aa]=l:delete e[aa]),c}var XS=Object.prototype,eT=XS.toString;function nT(e){return eT.call(e)}var oT="[object Null]",rT="[object Undefined]",sv=Wr?Wr.toStringTag:void 0;function jt(e){return e==null?e===void 0?rT:oT:sv&&sv in Object(e)?QS(e):nT(e)}function $_(e,r){return function(l){return e(r(l))}}var Hu=$_(Object.getPrototypeOf,Object);function St(e){return e!=null&&typeof e=="object"}var tT="[object Object]",lT=Function.prototype,aT=Object.prototype,I_=lT.toString,iT=aT.hasOwnProperty,sT=I_.call(Object);function cv(e){if(!St(e)||jt(e)!=tT)return!1;var r=Hu(e);if(r===null)return!0;var l=iT.call(r,"constructor")&&r.constructor;return typeof l=="function"&&l instanceof l&&I_.call(l)==sT}function cT(){this.__data__=[],this.size=0}function N_(e,r){return e===r||e!==e&&r!==r}function bs(e,r){for(var l=e.length;l--;)if(N_(e[l][0],r))return l;return-1}var dT=Array.prototype,uT=dT.splice;function fT(e){var r=this.__data__,l=bs(r,e);if(l<0)return!1;var i=r.length-1;return l==i?r.pop():uT.call(r,l,1),--this.size,!0}function pT(e){var r=this.__data__,l=bs(r,e);return l<0?void 0:r[l][1]}function hT(e){return bs(this.__data__,e)>-1}function bT(e,r){var l=this.__data__,i=bs(l,e);return i<0?(++this.size,l.push([e,r])):l[i][1]=r,this}function xr(e){var r=-1,l=e==null?0:e.length;for(this.clear();++r<l;){var i=e[r];this.set(i[0],i[1])}}xr.prototype.clear=cT;xr.prototype.delete=fT;xr.prototype.get=pT;xr.prototype.has=hT;xr.prototype.set=bT;function mT(){this.__data__=new xr,this.size=0}function vT(e){var r=this.__data__,l=r.delete(e);return this.size=r.size,l}function kT(e){return this.__data__.get(e)}function _T(e){return this.__data__.has(e)}function Ca(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var gT="[object AsyncFunction]",xT="[object Function]",yT="[object GeneratorFunction]",wT="[object Proxy]";function R_(e){if(!Ca(e))return!1;var r=jt(e);return r==xT||r==yT||r==gT||r==wT}var Ld=Jo["__core-js_shared__"],dv=function(){var e=/[^.]+$/.exec(Ld&&Ld.keys&&Ld.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function zT(e){return!!dv&&dv in e}var jT=Function.prototype,ST=jT.toString;function Tt(e){if(e!=null){try{return ST.call(e)}catch{}try{return e+""}catch{}}return""}var TT=/[\\^$.*+?()[\]{}|]/g,CT=/^\[object .+?Constructor\]$/,LT=Function.prototype,AT=Object.prototype,ET=LT.toString,$T=AT.hasOwnProperty,IT=RegExp("^"+ET.call($T).replace(TT,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function NT(e){if(!Ca(e)||zT(e))return!1;var r=R_(e)?IT:CT;return r.test(Tt(e))}function RT(e,r){return e==null?void 0:e[r]}function Ct(e,r){var l=RT(e,r);return NT(l)?l:void 0}var _a=Ct(Jo,"Map"),ga=Ct(Object,"create");function BT(){this.__data__=ga?ga(null):{},this.size=0}function OT(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var PT="__lodash_hash_undefined__",MT=Object.prototype,DT=MT.hasOwnProperty;function FT(e){var r=this.__data__;if(ga){var l=r[e];return l===PT?void 0:l}return DT.call(r,e)?r[e]:void 0}var KT=Object.prototype,HT=KT.hasOwnProperty;function UT(e){var r=this.__data__;return ga?r[e]!==void 0:HT.call(r,e)}var VT="__lodash_hash_undefined__";function WT(e,r){var l=this.__data__;return this.size+=this.has(e)?0:1,l[e]=ga&&r===void 0?VT:r,this}function _t(e){var r=-1,l=e==null?0:e.length;for(this.clear();++r<l;){var i=e[r];this.set(i[0],i[1])}}_t.prototype.clear=BT;_t.prototype.delete=OT;_t.prototype.get=FT;_t.prototype.has=UT;_t.prototype.set=WT;function qT(){this.size=0,this.__data__={hash:new _t,map:new(_a||xr),string:new _t}}function GT(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}function ms(e,r){var l=e.__data__;return GT(r)?l[typeof r=="string"?"string":"hash"]:l.map}function ZT(e){var r=ms(this,e).delete(e);return this.size-=r?1:0,r}function YT(e){return ms(this,e).get(e)}function JT(e){return ms(this,e).has(e)}function QT(e,r){var l=ms(this,e),i=l.size;return l.set(e,r),this.size+=l.size==i?0:1,this}function Zr(e){var r=-1,l=e==null?0:e.length;for(this.clear();++r<l;){var i=e[r];this.set(i[0],i[1])}}Zr.prototype.clear=qT;Zr.prototype.delete=ZT;Zr.prototype.get=YT;Zr.prototype.has=JT;Zr.prototype.set=QT;var XT=200;function e3(e,r){var l=this.__data__;if(l instanceof xr){var i=l.__data__;if(!_a||i.length<XT-1)return i.push([e,r]),this.size=++l.size,this;l=this.__data__=new Zr(i)}return l.set(e,r),this.size=l.size,this}function hl(e){var r=this.__data__=new xr(e);this.size=r.size}hl.prototype.clear=mT;hl.prototype.delete=vT;hl.prototype.get=kT;hl.prototype.has=_T;hl.prototype.set=e3;function n3(e,r){for(var l=-1,i=e==null?0:e.length;++l<i&&r(e[l],l,e)!==!1;);return e}var uv=function(){try{var e=Ct(Object,"defineProperty");return e({},"",{}),e}catch{}}();function B_(e,r,l){r=="__proto__"&&uv?uv(e,r,{configurable:!0,enumerable:!0,value:l,writable:!0}):e[r]=l}var o3=Object.prototype,r3=o3.hasOwnProperty;function O_(e,r,l){var i=e[r];(!(r3.call(e,r)&&N_(i,l))||l===void 0&&!(r in e))&&B_(e,r,l)}function vs(e,r,l,i){var c=!l;l||(l={});for(var d=-1,f=r.length;++d<f;){var b=r[d],h=void 0;h===void 0&&(h=e[b]),c?B_(l,b,h):O_(l,b,h)}return l}function t3(e,r){for(var l=-1,i=Array(e);++l<e;)i[l]=r(l);return i}var l3="[object Arguments]";function fv(e){return St(e)&&jt(e)==l3}var P_=Object.prototype,a3=P_.hasOwnProperty,i3=P_.propertyIsEnumerable,s3=fv(function(){return arguments}())?fv:function(e){return St(e)&&a3.call(e,"callee")&&!i3.call(e,"callee")},La=Array.isArray;function c3(){return!1}var M_=typeof exports=="object"&&exports&&!exports.nodeType&&exports,pv=M_&&typeof module=="object"&&module&&!module.nodeType&&module,d3=pv&&pv.exports===M_,hv=d3?Jo.Buffer:void 0,u3=hv?hv.isBuffer:void 0,D_=u3||c3,f3=9007199254740991,p3=/^(?:0|[1-9]\d*)$/;function h3(e,r){var l=typeof e;return r=r??f3,!!r&&(l=="number"||l!="symbol"&&p3.test(e))&&e>-1&&e%1==0&&e<r}var b3=9007199254740991;function F_(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=b3}var m3="[object Arguments]",v3="[object Array]",k3="[object Boolean]",_3="[object Date]",g3="[object Error]",x3="[object Function]",y3="[object Map]",w3="[object Number]",z3="[object Object]",j3="[object RegExp]",S3="[object Set]",T3="[object String]",C3="[object WeakMap]",L3="[object ArrayBuffer]",A3="[object DataView]",E3="[object Float32Array]",$3="[object Float64Array]",I3="[object Int8Array]",N3="[object Int16Array]",R3="[object Int32Array]",B3="[object Uint8Array]",O3="[object Uint8ClampedArray]",P3="[object Uint16Array]",M3="[object Uint32Array]",rn={};rn[E3]=rn[$3]=rn[I3]=rn[N3]=rn[R3]=rn[B3]=rn[O3]=rn[P3]=rn[M3]=!0;rn[m3]=rn[v3]=rn[L3]=rn[k3]=rn[A3]=rn[_3]=rn[g3]=rn[x3]=rn[y3]=rn[w3]=rn[z3]=rn[j3]=rn[S3]=rn[T3]=rn[C3]=!1;function D3(e){return St(e)&&F_(e.length)&&!!rn[jt(e)]}function Uu(e){return function(r){return e(r)}}var K_=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ua=K_&&typeof module=="object"&&module&&!module.nodeType&&module,F3=ua&&ua.exports===K_,Ad=F3&&A_.process,dl=function(){try{var e=ua&&ua.require&&ua.require("util").types;return e||Ad&&Ad.binding&&Ad.binding("util")}catch{}}(),bv=dl&&dl.isTypedArray,K3=bv?Uu(bv):D3,H3=Object.prototype,U3=H3.hasOwnProperty;function H_(e,r){var l=La(e),i=!l&&s3(e),c=!l&&!i&&D_(e),d=!l&&!i&&!c&&K3(e),f=l||i||c||d,b=f?t3(e.length,String):[],h=b.length;for(var m in e)(r||U3.call(e,m))&&!(f&&(m=="length"||c&&(m=="offset"||m=="parent")||d&&(m=="buffer"||m=="byteLength"||m=="byteOffset")||h3(m,h)))&&b.push(m);return b}var V3=Object.prototype;function Vu(e){var r=e&&e.constructor,l=typeof r=="function"&&r.prototype||V3;return e===l}var W3=$_(Object.keys,Object),q3=Object.prototype,G3=q3.hasOwnProperty;function Z3(e){if(!Vu(e))return W3(e);var r=[];for(var l in Object(e))G3.call(e,l)&&l!="constructor"&&r.push(l);return r}function U_(e){return e!=null&&F_(e.length)&&!R_(e)}function Wu(e){return U_(e)?H_(e):Z3(e)}function Y3(e,r){return e&&vs(r,Wu(r),e)}function J3(e){var r=[];if(e!=null)for(var l in Object(e))r.push(l);return r}var Q3=Object.prototype,X3=Q3.hasOwnProperty;function eC(e){if(!Ca(e))return J3(e);var r=Vu(e),l=[];for(var i in e)i=="constructor"&&(r||!X3.call(e,i))||l.push(i);return l}function qu(e){return U_(e)?H_(e,!0):eC(e)}function nC(e,r){return e&&vs(r,qu(r),e)}var V_=typeof exports=="object"&&exports&&!exports.nodeType&&exports,mv=V_&&typeof module=="object"&&module&&!module.nodeType&&module,oC=mv&&mv.exports===V_,vv=oC?Jo.Buffer:void 0,kv=vv?vv.allocUnsafe:void 0;function rC(e,r){if(r)return e.slice();var l=e.length,i=kv?kv(l):new e.constructor(l);return e.copy(i),i}function W_(e,r){var l=-1,i=e.length;for(r||(r=Array(i));++l<i;)r[l]=e[l];return r}function tC(e,r){for(var l=-1,i=e==null?0:e.length,c=0,d=[];++l<i;){var f=e[l];r(f,l,e)&&(d[c++]=f)}return d}function q_(){return[]}var lC=Object.prototype,aC=lC.propertyIsEnumerable,_v=Object.getOwnPropertySymbols,Gu=_v?function(e){return e==null?[]:(e=Object(e),tC(_v(e),function(r){return aC.call(e,r)}))}:q_;function iC(e,r){return vs(e,Gu(e),r)}function G_(e,r){for(var l=-1,i=r.length,c=e.length;++l<i;)e[c+l]=r[l];return e}var sC=Object.getOwnPropertySymbols,Z_=sC?function(e){for(var r=[];e;)G_(r,Gu(e)),e=Hu(e);return r}:q_;function cC(e,r){return vs(e,Z_(e),r)}function Y_(e,r,l){var i=r(e);return La(e)?i:G_(i,l(e))}function dC(e){return Y_(e,Wu,Gu)}function uC(e){return Y_(e,qu,Z_)}var du=Ct(Jo,"DataView"),uu=Ct(Jo,"Promise"),fu=Ct(Jo,"Set"),pu=Ct(Jo,"WeakMap"),gv="[object Map]",fC="[object Object]",xv="[object Promise]",yv="[object Set]",wv="[object WeakMap]",zv="[object DataView]",pC=Tt(du),hC=Tt(_a),bC=Tt(uu),mC=Tt(fu),vC=Tt(pu),fr=jt;(du&&fr(new du(new ArrayBuffer(1)))!=zv||_a&&fr(new _a)!=gv||uu&&fr(uu.resolve())!=xv||fu&&fr(new fu)!=yv||pu&&fr(new pu)!=wv)&&(fr=function(e){var r=jt(e),l=r==fC?e.constructor:void 0,i=l?Tt(l):"";if(i)switch(i){case pC:return zv;case hC:return gv;case bC:return xv;case mC:return yv;case vC:return wv}return r});var kC=Object.prototype,_C=kC.hasOwnProperty;function gC(e){var r=e.length,l=new e.constructor(r);return r&&typeof e[0]=="string"&&_C.call(e,"index")&&(l.index=e.index,l.input=e.input),l}var jv=Jo.Uint8Array;function Zu(e){var r=new e.constructor(e.byteLength);return new jv(r).set(new jv(e)),r}function xC(e,r){var l=r?Zu(e.buffer):e.buffer;return new e.constructor(l,e.byteOffset,e.byteLength)}var yC=/\w*$/;function wC(e){var r=new e.constructor(e.source,yC.exec(e));return r.lastIndex=e.lastIndex,r}var Sv=Wr?Wr.prototype:void 0,Tv=Sv?Sv.valueOf:void 0;function zC(e){return Tv?Object(Tv.call(e)):{}}function jC(e,r){var l=r?Zu(e.buffer):e.buffer;return new e.constructor(l,e.byteOffset,e.length)}var SC="[object Boolean]",TC="[object Date]",CC="[object Map]",LC="[object Number]",AC="[object RegExp]",EC="[object Set]",$C="[object String]",IC="[object Symbol]",NC="[object ArrayBuffer]",RC="[object DataView]",BC="[object Float32Array]",OC="[object Float64Array]",PC="[object Int8Array]",MC="[object Int16Array]",DC="[object Int32Array]",FC="[object Uint8Array]",KC="[object Uint8ClampedArray]",HC="[object Uint16Array]",UC="[object Uint32Array]";function VC(e,r,l){var i=e.constructor;switch(r){case NC:return Zu(e);case SC:case TC:return new i(+e);case RC:return xC(e,l);case BC:case OC:case PC:case MC:case DC:case FC:case KC:case HC:case UC:return jC(e,l);case CC:return new i;case LC:case $C:return new i(e);case AC:return wC(e);case EC:return new i;case IC:return zC(e)}}var Cv=Object.create,WC=function(){function e(){}return function(r){if(!Ca(r))return{};if(Cv)return Cv(r);e.prototype=r;var l=new e;return e.prototype=void 0,l}}();function qC(e){return typeof e.constructor=="function"&&!Vu(e)?WC(Hu(e)):{}}var GC="[object Map]";function ZC(e){return St(e)&&fr(e)==GC}var Lv=dl&&dl.isMap,YC=Lv?Uu(Lv):ZC,JC="[object Set]";function QC(e){return St(e)&&fr(e)==JC}var Av=dl&&dl.isSet,XC=Av?Uu(Av):QC,eL=1,nL=2,oL=4,J_="[object Arguments]",rL="[object Array]",tL="[object Boolean]",lL="[object Date]",aL="[object Error]",Q_="[object Function]",iL="[object GeneratorFunction]",sL="[object Map]",cL="[object Number]",X_="[object Object]",dL="[object RegExp]",uL="[object Set]",fL="[object String]",pL="[object Symbol]",hL="[object WeakMap]",bL="[object ArrayBuffer]",mL="[object DataView]",vL="[object Float32Array]",kL="[object Float64Array]",_L="[object Int8Array]",gL="[object Int16Array]",xL="[object Int32Array]",yL="[object Uint8Array]",wL="[object Uint8ClampedArray]",zL="[object Uint16Array]",jL="[object Uint32Array]",en={};en[J_]=en[rL]=en[bL]=en[mL]=en[tL]=en[lL]=en[vL]=en[kL]=en[_L]=en[gL]=en[xL]=en[sL]=en[cL]=en[X_]=en[dL]=en[uL]=en[fL]=en[pL]=en[yL]=en[wL]=en[zL]=en[jL]=!0;en[aL]=en[Q_]=en[hL]=!1;function fa(e,r,l,i,c,d){var f,b=r&eL,h=r&nL,m=r&oL;if(f!==void 0)return f;if(!Ca(e))return e;var _=La(e);if(_){if(f=gC(e),!b)return W_(e,f)}else{var x=fr(e),k=x==Q_||x==iL;if(D_(e))return rC(e,b);if(x==X_||x==J_||k&&!c){if(f=h||k?{}:qC(e),!b)return h?cC(e,nC(f,e)):iC(e,Y3(f,e))}else{if(!en[x])return c?e:{};f=VC(e,x,b)}}d||(d=new hl);var A=d.get(e);if(A)return A;d.set(e,f),XC(e)?e.forEach(function(L){f.add(fa(L,r,l,L,e,d))}):YC(e)&&e.forEach(function(L,y){f.set(y,fa(L,r,l,y,e,d))});var S=m?h?uC:dC:h?qu:Wu,j=_?void 0:S(e);return n3(j||e,function(L,y){j&&(y=L,L=e[y]),O_(f,y,fa(L,r,l,y,e,d))}),f}var SL=1,TL=4;function Ui(e){return fa(e,SL|TL)}var Ed,Ev;function CL(){if(Ev)return Ed;Ev=1;var e=Array.isArray,r=Object.keys,l=Object.prototype.hasOwnProperty,i=typeof Element<"u";function c(d,f){if(d===f)return!0;if(d&&f&&typeof d=="object"&&typeof f=="object"){var b=e(d),h=e(f),m,_,x;if(b&&h){if(_=d.length,_!=f.length)return!1;for(m=_;m--!==0;)if(!c(d[m],f[m]))return!1;return!0}if(b!=h)return!1;var k=d instanceof Date,A=f instanceof Date;if(k!=A)return!1;if(k&&A)return d.getTime()==f.getTime();var S=d instanceof RegExp,j=f instanceof RegExp;if(S!=j)return!1;if(S&&j)return d.toString()==f.toString();var L=r(d);if(_=L.length,_!==r(f).length)return!1;for(m=_;m--!==0;)if(!l.call(f,L[m]))return!1;if(i&&d instanceof Element&&f instanceof Element)return d===f;for(m=_;m--!==0;)if(x=L[m],!(x==="_owner"&&d.$$typeof)&&!c(d[x],f[x]))return!1;return!0}return d!==d&&f!==f}return Ed=function(f,b){try{return c(f,b)}catch(h){if(h.message&&h.message.match(/stack|recursion/i)||h.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",h.name,h.message),!1;throw h}},Ed}var LL=CL();const pt=ok(LL);var AL=4;function $v(e){return fa(e,AL)}function eg(e,r){for(var l=-1,i=e==null?0:e.length,c=Array(i);++l<i;)c[l]=r(e[l],l,e);return c}var EL="[object Symbol]";function Yu(e){return typeof e=="symbol"||St(e)&&jt(e)==EL}var $L="Expected a function";function Ju(e,r){if(typeof e!="function"||r!=null&&typeof r!="function")throw new TypeError($L);var l=function(){var i=arguments,c=r?r.apply(this,i):i[0],d=l.cache;if(d.has(c))return d.get(c);var f=e.apply(this,i);return l.cache=d.set(c,f)||d,f};return l.cache=new(Ju.Cache||Zr),l}Ju.Cache=Zr;var IL=500;function NL(e){var r=Ju(e,function(i){return l.size===IL&&l.clear(),i}),l=r.cache;return r}var RL=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,BL=/\\(\\)?/g,OL=NL(function(e){var r=[];return e.charCodeAt(0)===46&&r.push(""),e.replace(RL,function(l,i,c,d){r.push(c?d.replace(BL,"$1"):i||l)}),r});function PL(e){if(typeof e=="string"||Yu(e))return e;var r=e+"";return r=="0"&&1/e==-1/0?"-0":r}var Iv=Wr?Wr.prototype:void 0,Nv=Iv?Iv.toString:void 0;function ng(e){if(typeof e=="string")return e;if(La(e))return eg(e,ng)+"";if(Yu(e))return Nv?Nv.call(e):"";var r=e+"";return r=="0"&&1/e==-1/0?"-0":r}function ML(e){return e==null?"":ng(e)}function og(e){return La(e)?eg(e,PL):Yu(e)?[e]:W_(OL(ML(e)))}var $d={exports:{}},Ye={};/** @license React v16.13.1
13570
+ }`;const M6=Ou.createTheme("ecl-eu",{GLOBAL:J4,"KOL-ACCORDION":Q4,"KOL-ALERT":X4,"KOL-BADGE":e6,"KOL-BREADCRUMB":n6,"KOL-BUTTON":o6,"KOL-BUTTON-LINK":r6,"KOL-CARD":t6,"KOL-COMBOBOX":l6,"KOL-DETAILS":a6,"KOL-DRAWER":i6,"KOL-FORM":s6,"KOL-HEADING":c6,"KOL-INPUT-CHECKBOX":d6,"KOL-INPUT-COLOR":u6,"KOL-INPUT-DATE":f6,"KOL-INPUT-EMAIL":p6,"KOL-INPUT-FILE":h6,"KOL-INPUT-NUMBER":b6,"KOL-INPUT-PASSWORD":m6,"KOL-INPUT-RADIO":v6,"KOL-INPUT-RANGE":k6,"KOL-INPUT-TEXT":_6,"KOL-LINK":x6,"KOL-LINK-BUTTON":g6,"KOL-MODAL":y6,"KOL-NAV":w6,"KOL-PAGINATION":z6,"KOL-POPOVER-BUTTON":j6,"KOL-SELECT":S6,"KOL-SINGLE-SELECT":T6,"KOL-SKIP-NAV":C6,"KOL-SPIN":L6,"KOL-SPLIT-BUTTON":A6,"KOL-TABLE-STATEFUL":E6,"KOL-TABLE-STATELESS":$6,"KOL-TABS":I6,"KOL-TEXTAREA":N6,"KOL-TOAST-CONTAINER":R6,"KOL-TOOLBAR":B6,"KOL-TREE":O6,"KOL-TREE-ITEM":P6}),D6="3.0.2-rc.2",au={version:D6},F6=()=>{const e={onClick:()=>history.back()};return t.jsxs(Xn,{_label:"This is an example page",_level:0,_type:"info",children:[t.jsx("p",{children:"You followed an example link."}),history.length>1&&t.jsx(M,{_label:"Go Back",_on:e})]})},z_=["default","ecl-ec","ecl-eu","unstyled"],Mu=e=>z_.find(r=>r===e)!==void 0,Du=[{label:"Unstyled (Uncolored)",value:"unstyled"},{label:"Default (Tested)",value:"default"},{label:"European Commission (in progress)",value:"ecl-ec"},{label:"European Union (in progress)",value:"ecl-eu"}];function K6(){const e=matchMedia("(max-width: 1023px)"),[r,l]=g.useState(e.matches),i=()=>{l(e.matches)};return g.useEffect(()=>(i(),e.addEventListener("change",i),()=>{e.removeEventListener("change",i)}),[e]),r}function H6({children:e}){return K6()?t.jsx(On,{_label:"All components",class:"mt",children:e}):t.jsx("div",{className:"mt scrollable-container",children:e})}function Qm({label:e,to:r,children:l}){const i=bk(r),c=fl(r),d=uy({path:c.pathname,end:!0});return t.jsx(Cn,{_label:e,_href:i,_active:!!d,children:l})}function U6({routes:e}){const r=(i,c)=>Object.keys(c).map(d=>{const f=i==="tree"&&d==="basic/:subPage",b=f?"basic/home":d,h=f?"basic":d;return t.jsx(Qm,{label:h,to:[i,b].join("/")},[i,d].join("/"))}),l=Object.entries(e).map(([i,c])=>t.jsx(Qm,{label:i,to:i,children:r(i,c)},i));return t.jsx(H6,{children:t.jsx("nav",{children:t.jsx(ik,{_label:"Navigation",class:"block",children:l})})})}const V6=({buildDate:e,commitHash:r})=>!e&&!r?"":t.jsx("div",{className:"text-sm font-mono color-gray-5 m-t-2",children:e&&r?t.jsxs(t.Fragment,{children:["Build: ",r,t.jsx("br",{}),"at ",e]}):r?`Build: ${r}`:`Build date: ${e}`}),W6=({version:e,theme:r,routes:l,routeList:i,sample:c,buildDate:d,commitHash:f,onThemeChange:b})=>{const h=()=>i.indexOf(c),m=()=>c.replace(/\//g," "),_=(A,S)=>{b(S[0])},x=()=>{const A=h(),S=A<=0?i.length-1:A-1;location.replace(`#${i[S]}`)},k=()=>{const A=h(),S=A===i.length-1?0:A+1;location.replace(`#${i[S]}`)};return t.jsx("aside",{className:"app-sidebar p-4",children:t.jsxs("div",{className:"scrollable-container-wrapper",children:[t.jsxs("div",{className:"flex flex-justify-between flex-items-center",children:[t.jsx(J,{_label:"KoliBri React"}),t.jsx(us,{_label:e})]}),t.jsx(V6,{buildDate:d,commitHash:f}),t.jsx(En,{_label:"Theme",_options:Du,_on:{onChange:_},_value:r,class:"mt"}),t.jsx(J,{_label:"Components",_level:2,className:"block mt"}),t.jsxs("div",{className:"flex flex-justify-between flex-items-center mt",children:[t.jsx(M,{_icons:"codicon codicon-arrow-left",_hideLabel:!0,_label:"Previous component",_on:{onClick:x}}),t.jsxs("span",{className:"text-base text-center",children:[m()," (",h()+1,"/",i.length,")"]}),t.jsx(M,{_icons:"codicon codicon-arrow-right",_hideLabel:!0,_label:"Next component",_on:{onClick:k}})]}),t.jsx(U6,{routes:l})]})})},q6=()=>{const e=wo();s0("#"+e.pathname)},Fu=g.createContext(null),G6="https://public-ui.github.io/docs/components",Z6="https://github.com/public-ui/kolibri/blob/develop/packages/samples/react/src/components",$e="I am an error message!",oo="I am a hint.",O=e=>{const r=g.useContext(Fu),l=wo(),i=l.pathname.split("/").slice(1),c=g.useMemo(()=>i[0]==="scenarios"?null:`${G6}/${i[0]}`,[l.hash]),d=g.useMemo(()=>i[0]==="scenarios"?null:`${Z6}/${i[0]}/${i[1]}.tsx`,[l.hash]);return t.jsxs(t.Fragment,{children:[t.jsx("h1",{className:"visually-hidden",children:l.pathname.replace(/\//g," ")}),r?null:t.jsxs("div",{className:"grid sm:flex gap-4 justify-between pb-sm border-b-1 border-b-solid border-gray mb-2",children:[t.jsx("div",{className:"indented-text",children:e.children}),t.jsxs("ul",{className:"flex flex-wrap gap-2 list-none m-0 p-0",children:[d&&t.jsx("li",{children:t.jsx(he,{_href:d,_label:"Code",_target:"_blank"})}),c&&t.jsx("li",{children:t.jsx(he,{_href:c,_label:"Documentation",_target:"_blank"})}),t.jsx("li",{children:t.jsx(he,{_href:`#${l.pathname}?hideMenus`,_label:"Standalone example",_target:"_blank"})})]})]})]})},Y6=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolAbbr shows an abbreviation and uses kol-tooltip-wc to display the long form, if provided."})}),t.jsxs("p",{children:["I am ",t.jsx(da,{_label:"as an example",children:"e.g."})," an abbreviation."]}),t.jsxs("p",{children:["I am ",t.jsx(da,{children:"e.g."})," an abbreviation without label."]})]}),J6={abbr:{basic:Y6}},Q6=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["KolAccordion hides its content until opened. The open state can be toggled by clicking the headline or by setting the ",t.jsx("code",{children:"_open"}),"-prop programmatically. Additionally, the sample shows the disabled state for a closed and an open accordion."]})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(On,{_label:"Heading Accordion Tab 1",children:"Contents Accordion Tab 1"}),t.jsx(On,{_label:"Heading Accordion Tab 2",children:"Contents Accordion Tab 2"}),t.jsx(On,{_label:"Heading Accordion Tab 2 (deactivated)",_disabled:!0}),t.jsx(On,{_label:"Heading Accordion Tab 2 (disabled and open)",_disabled:!0,_open:!0,children:"Contents Accordion Tab 2"})]})]}),X6=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolAccordion with the different heading levels from 1-6."})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(On,{_label:"Heading Level 1",_level:1,children:"Contents Accordion Tab 1"}),t.jsx(On,{_label:"Heading Level 2",_level:2,children:"Contents Accordion Tab 2"}),t.jsx(On,{_label:"Heading Level 3",_level:3,children:"Contents Accordion Tab 3"}),t.jsx(On,{_label:"Heading Level 4",_level:4,children:"Contents Accordion Tab 4"}),t.jsx(On,{_label:"Heading Level 5",_level:5,children:"Contents Accordion Tab 5"}),t.jsx(On,{_label:"Heading Level 6",_level:6,children:"Contents Accordion Tab 6"})]})]}),ej={accordion:{basic:Q6,headlines:X6}},ta=({level:e,type:r,variant:l})=>t.jsxs(t.Fragment,{children:[t.jsx(Xn,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:r,_variant:l,children:"This is the text of the alert."}),t.jsx(Xn,{_type:r,_variant:l,children:"In this alert, only the text without the heading is used."}),t.jsx(Xn,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:r,_variant:l,_hasCloser:!0,children:"This is the text of the alert. With close button."}),t.jsx(Xn,{_type:r,_variant:l,_hasCloser:!0,children:"In this alert, only the text without the heading is used. With close button."})]}),j_=({variant:e="msg"})=>t.jsxs("div",{className:"grid gap-4",children:[t.jsx(ta,{level:1,type:"default",variant:e}),t.jsx(ta,{level:2,type:"error",variant:e}),t.jsx(ta,{level:3,type:"info",variant:e}),t.jsx(ta,{level:4,type:"success",variant:e}),t.jsx(ta,{level:5,type:"warning",variant:e})]}),nj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["KolAlert shows messages of different types. This sample illustrates the variant ",t.jsx("code",{children:"msg"}),", showing all possible types with and without headlines and close buttons."]})}),t.jsx(j_,{variant:"msg"})]}),oj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["KolAlert shows messages of different types. This sample illustrates the variant ",t.jsx("code",{children:"card"}),", showing all possible types with and without headlines and close buttons."]})}),t.jsx("section",{className:"w-full",children:t.jsx(j_,{variant:"card"})})]}),rj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows how KolAlert can be used with arbitrary HTML as slot content."})}),t.jsx("div",{children:t.jsxs(Xn,{_label:"Output of HTML code in the alert",_type:"info",children:[t.jsx("div",{className:"mt-2 mb-3",children:t.jsx(J,{_level:2,_label:"An H2 heading is output here"})}),t.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[t.jsxs("div",{children:[t.jsx("h3",{children:"Text in a left-hand column"}),t.jsx("p",{children:"Lorem ipsum dolor sit amet consectetur, adipisicing elit. Quidem sed fugiat dolorum ratione et, ullam officia nobis nihil debitis, consectetur dicta accusantium. Vitae debitis, quibusdam vel recusandae deleniti placeat dolorem?"})]}),t.jsxs("div",{children:[t.jsx("h3",{children:"Text in einer rechten Spalte"}),t.jsx("p",{children:"Lorem, ipsum dolor sit amet consectetur adipisicing elit. Quod beatae officiis, velit nam dicta quae repellat perspiciatis explicabo illo. Possimus, molestiae deleniti! Exercitationem blanditiis ducimus similique tempora ratione consequuntur eaque!"})]})]})]})})]}),tj={alert:{basic:nj,"card-msg":oj,html:rj}},lj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolAlert shows a user's avatar. It can be used with or without an image. If no image is defined, the name's initials are shown instead."})}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(pd,{_src:"https://www.w3schools.com/howto/img_avatar.png",_label:"Elke Mustermann"}),t.jsx(pd,{_label:"Elke Mustermann "}),t.jsx(pd,{_label:"Marianne"})]})]}),aj={avatar:{basic:lj}},ij=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolBadge shows badges with a label, background color and optional icon."})}),t.jsxs("div",{className:"flex flex-wrap gap-2",children:[t.jsx(vn,{_label:"black"}),t.jsx(vn,{_color:"#86ffc6",_label:"teal"}),t.jsx(vn,{_color:"#06539e",_label:"blue"}),t.jsx(vn,{_color:"#ae0000",_label:"red with icon",_icons:"codicon codicon-smiley"}),t.jsx(vn,{_color:"#8b008b",_label:"purple with icon",_icons:"codicon codicon-squirrel"})]})]}),la=e=>({_label:e,_smartButton:{_icons:"codicon codicon-close",_label:`Remove ${e}`,_on:{onClick:()=>alert("clicked")}}}),sj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows KolBadge with an optional ",t.jsx("code",{children:"smartButton"}),'. The sample defines a "close" button with X-icon a click event listener.']})}),t.jsxs("div",{className:"flex flex-wrap gap-2",children:[t.jsx(vn,{...la("black")}),t.jsx(vn,{_color:"#86ffc6",...la("teal")}),t.jsx(vn,{_color:"#06539e",...la("blue")}),t.jsx(vn,{_color:"#ae0000",_icons:"codicon codicon-smiley",...la("red with icon")}),t.jsx(vn,{_color:"#8b008b",_icons:"codicon codicon-squirrel",...la("purple with icon")})]})]}),cj={badge:{basic:ij,button:sj}},dj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolBreadcrumb shows a breadcrumb navigation. The sample illustrates a variation of link, text and icon elements."})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(Gi,{_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"}]}),t.jsx(Gi,{_label:"Breadcrumb from icons or text links",_links:[{_label:"Homepage",_icons:"codicon codicon-home",_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"}]}),t.jsx(Gi,{_label:"Breadcrumb from icons and text links",_links:[{_label:"Homepage",_icons:"codicon codicon-home",_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"}]})]})]}),uj={breadcrumb:{basic:dj}};function jn(){const e=Gr.getInstance(document),r=c=>{e.enqueue({description:c||"Hello",label:"Hello",type:"info"})};return{dummyClickEventHandler:()=>{r()},buttonWithTextClickEventHandler:c=>{const d=c.currentTarget.textContent;r(d)}}}const fj=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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 ",t.jsx("code",{children:"block"}),", ",t.jsx("code",{children:"inline-block"})," and ",t.jsx("code",{children:"inline"}),". It also demonstrates the disabled-state."]})}),t.jsxs("section",{className:"text-base",children:[t.jsx(J,{_level:2,_label:"Button-Link with variant 'inline'"}),t.jsxs("p",{children:["In this paragraph, a link is inserted that contains no additional attributes. ",t.jsx(Ge,{_label:"Simple Link"})," It is rendered by default as an"," ",t.jsx("strong",{children:"inline element"}),"."]}),t.jsxs("p",{children:["In this paragraph, a link is inserted that is rendered as an inline-block element.",t.jsx(Ge,{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.",t.jsx("br",{}),t.jsx("br",{}),"After that, there is a link that is rendered as a block element.",t.jsx(Ge,{style:{display:"block"},_label:"Simple Link"}),"Therefore, I go over the entire width of the parent element to create a line break."]}),t.jsx(J,{_level:2,_label:"Button-Link with variant 'standalone'"}),t.jsx("p",{children:t.jsx(Ge,{_label:"Disabled ButtonLink",_disabled:!0,_variant:"standalone"})}),t.jsx("p",{children:t.jsx(Ge,{_label:"With access key",_accessKey:"c",_on:r,_variant:"standalone"})}),t.jsx("p",{children:t.jsx(Ge,{_label:"Disabled ButtonLink",_shortKey:"s",_variant:"standalone"})})]})]})},pj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolButtonLink with icons in different locations."})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(Ge,{_icons:"codicon codicon-home",_label:"Ich bin ein Link mit Icon links"}),t.jsx(Ge,{_icons:{right:"codicon codicon-home"},_label:"I am a link with an icon on the right"}),t.jsx(Ge,{_icons:{top:"codicon codicon-home"},_label:"I am a link with an icon at the top"}),t.jsx(Ge,{_icons:{bottom:"codicon codicon-home"},_label:"I am a link with icon below"}),t.jsx(Ge,{_icons:{top:"codicon codicon-home",right:"codicon codicon-home",bottom:"codicon codicon-home",left:"codicon codicon-home"},_label:"I am a link with all icons"})]})]}),hj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolButtonLink with slot-content instead of a label. The sample uses an image as content."})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(Ge,{_label:"I am a link that is rendered as text"}),t.jsx(Ge,{_label:"",children:t.jsx("img",{alt:"Presentation of the KoliBri theming",slot:"expert",src:"abgrenzung.jpg",width:"300"})})]})]}),bj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolButtonLink with aria-description"})}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(Ge,{_label:"Button Text without area description"}),t.jsx(Ge,{_label:"Button Text",_ariaDescription:"Button Area Description"})]})]}),mj={"button-link":{basic:fj,icons:pj,image:hj,"aria-description":bj}},vj=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows KolButton with"," ",t.jsx(he,{_label:"access keys",_href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey",_target:"blank"}),". The access keys can be used to trigger the buttons using the keyboard."]})}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_label:"With S access key",_accessKey:"S",_on:r}),t.jsx(M,{_label:"Very small b",_accessKey:"b",_on:r}),t.jsx(M,{_label:"Access key does not appear in label",_accessKey:"x",_on:r}),t.jsx(M,{_label:"access key without label",_hideLabel:!0,_accessKey:"a",_icons:"codicon codicon-dashboard",_on:r}),t.jsx(M,{_label:"with inline icons",_icons:{left:"codicon codicon-dashboard",right:"codicon codicon-dashboard"},_accessKey:"n",_on:r})]})]})},kj=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolButton with aria-description"})}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_label:"Button Text without area description",_on:r}),t.jsx(M,{_label:"Button Text",_ariaDescription:"Button Area Description",_on:r})]})]})},_j=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This KolButton sample is used for internal testing purposes: It features multiple buttons with and without icons which are vertically aligned."})}),t.jsxs("div",{className:"flex flex-wrap gap-2",children:[t.jsx(M,{_label:"Label-Text",_on:r}),t.jsx(M,{_label:"Label-Text",_on:r}),t.jsx(M,{_label:"Label-Text",_on:r}),t.jsx(M,{_icons:"codicon codicon-reactions",_label:"Label-Text with Icon",_on:r})]})]})},gj=e=>{const{children:r,...l}=e,{dummyClickEventHandler:i}=jn(),c={onClick:i};return t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_icons:"codicon codicon-home",_label:"Primary",_variant:"primary",_on:c,...l,children:r}),t.jsx(M,{_icons:"codicon codicon-heart",_label:"Secondary",_variant:"secondary",_on:c,...l,children:r}),t.jsx(M,{_icons:"codicon codicon-hubot",_label:"Tertiary",_variant:"tertiary",_on:c,...l,children:r}),t.jsx(M,{_icons:"codicon codicon-hubot",_label:"Normal",_variant:"normal",_on:c,...l,children:r}),t.jsx(M,{_icons:"codicon codicon-trash",_label:"Danger",_variant:"danger",_on:c,...l,children:r}),t.jsx(M,{_icons:"codicon codicon-reactions",_label:"Ghost",_variant:"ghost",_on:c,...l,children:r})]})},S_=(e={})=>{const r=[{label:"Button",buttonProps:e},{label:"Button (disabled)",buttonProps:{...e,_disabled:!0}},{label:"Button (hideLabel)",buttonProps:{...e,_hideLabel:!0}},{label:"Button (disabled, hideLabel)",buttonProps:{...e,_disabled:!0,_hideLabel:!0}}];return t.jsx("div",{className:"grid gap-8",children:r.map(({label:l,buttonProps:i},c)=>t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:l}),t.jsx(gj,{...i})]},c))})},xj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolButton shows a button-element. This sample demonstrates the basic usage with its different styling variants, icons, disabled state and hidden labels."})}),t.jsx(S_,{})]}),yj=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolButton with icons in all alignments."})}),t.jsx("div",{children:t.jsx(M,{_icons:{bottom:"codicon codicon-arrow-down",left:{icon:"codicon codicon-arrow-left"},top:{style:{"font-size":"200%",transform:"rotate(45deg)"},icon:"codicon codicon-arrow-up"},right:"codicon codicon-arrow-right"},_label:"Label",_on:r})})]})},wj=()=>{const{dummyClickEventHandler:e}=jn(),r={className:"w-8rem",_on:{onClick:e}};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolButton with adjusted widths."})}),t.jsxs("div",{className:"grid gap-14",children:[t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_label:"Primary",_variant:"primary",...r}),t.jsx(M,{_label:"Secondary",_variant:"secondary",...r}),t.jsx(M,{_label:"Normal",_variant:"normal",...r}),t.jsx(M,{_label:"Danger",_variant:"danger",...r}),t.jsx(M,{_label:"Ghost",_variant:"ghost",...r})]}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_disabled:!0,_label:"Primary",_variant:"primary",...r}),t.jsx(M,{_disabled:!0,_label:"Secondary",_variant:"secondary",...r}),t.jsx(M,{_disabled:!0,_label:"Normal",_variant:"normal",...r}),t.jsx(M,{_disabled:!0,_label:"Danger",_variant:"danger",...r}),t.jsx(M,{_disabled:!0,_label:"Ghost",_variant:"ghost",...r})]})]})]})},Td=new WeakMap,qn=e=>(Td.has(e)===!1&&Td.set(e,sk.createRoot(e)),Td.get(e)),zj=({label:e})=>{const r=Gr.getInstance(document),l=g.useRef(null),i=g.useRef(null),c=()=>{r.enqueue({label:"Edit clicked",description:`The button "edit" has been clicked for ${e}`,type:"info"})},d=()=>{r.enqueue({label:"Delete clicked",description:`The button "delete" has been clicked for ${e}`,type:"warning"})},f=b=>{var h,m;switch(b.code){case"KeyE":(h=l.current)==null||h.kolFocus(),c();return;case"KeyD":(m=i.current)==null||m.kolFocus(),d();return}};return t.jsxs("div",{style:{display:"flex",gap:"calc(10rem / var(--kolibri-root-font-size, 16))"},onKeyUp:f,children:[t.jsx(M,{ref:l,_label:"Edit",_shortKey:"e",_on:{onClick:c}}),t.jsx(M,{ref:i,_label:"Delete",_shortKey:"d",_variant:"danger",_on:{onClick:d}})]})},jj=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e},l=[{label:"Row 1"},{label:"Row 2"}],i={horizontal:[[{label:"Label",key:"label",textAlign:"left"},{label:"Actions",key:"actions",textAlign:"left",render:(c,d)=>{qn(qr(c)).render(t.jsx(zj,{label:d.data.label}))}}]]};return t.jsxs(t.Fragment,{children:[t.jsxs(O,{children:[t.jsx("p",{children:"The first sample shows KolButton with short key without functionality. The short key is purely visual. Its functionality needs to be developed separately."}),t.jsx("p",{children:'The second sample showcases a table where each row contains two KolButtons, each with its own shortcut key. To trigger an action, move the focus to any of the "Actions" cells and press "e" or "d." Doing so will activate the corresponding action and display a Toast notification for demonstration purposes.'})]}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_label:"With S short key",_shortKey:"S",_on:r}),t.jsx(M,{_label:"Very small b",_shortKey:"b",_on:r}),t.jsx(M,{_label:"Short key does not appear in label",_shortKey:"x",_on:r}),t.jsx(M,{_label:"short key without label",_hideLabel:!0,_shortKey:"k",_icons:"codicon codicon-dashboard",_on:r}),t.jsx(M,{_label:"with inline icons",_icons:{left:"codicon codicon-dashboard",right:"codicon codicon-dashboard"},_shortKey:"n",_on:r})]}),t.jsx(J,{_level:2,_label:"Interactive sample",className:"mt"}),t.jsx(cn,{_label:'Move focus within one of the "Actions" cells and press "e" or "d" to trigger an action.',_data:l,_headers:i,_minWidth:"400px"})]})},Sj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolButton show a button-element with expert slot."})}),t.jsx(S_,{_label:"",children:t.jsx("span",{slot:"expert",children:"I am more than just a button"})})]}),Tj={button:{basic:xj,icons:yj,width:wj,"access-key":vj,"aria-description":kj,baselined:_j,"short-key":jj,"expert-slot":Sj}},Cj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolCard shows a card with title and slot content. The second sample features a close button."})}),t.jsxs("div",{className:"w-full grid grid-cols-2 gap-4",children:[t.jsx(Ae,{_label:"Card with title and content",children:t.jsx("div",{children:"Card contents."})}),t.jsx(Ae,{_label:"Card with closer",_hasCloser:!0,children:t.jsx("p",{children:"This card has a close button."})})]})]}),Lj={card:{basic:Cj}},Aj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["KolDetails hides its content until opened. The open state can be toggled either by clicking the label or by setting the ",t.jsx("code",{children:"_open"}),"-prop programmatically. The sample includes an initially open state and a disabled but open Details component."]})}),t.jsxs("section",{className:"grid gap-4",children:[t.jsx(hr,{_label:"Closed initially",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."}),t.jsx(hr,{_disabled:!0,_label:"Open initially (disabled)",_open:!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. 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."}),t.jsx(hr,{_label:"Open initially",_open:!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. 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."})]})]}),Ej={details:{basic:Aj}},$j=["left","top","right","bottom"].map(e=>({label:e,value:e})),T_=({value:e="left",onChange:r})=>t.jsx("div",{className:"grid gap-4",children:t.jsx("div",{className:"container my-4 d-grid gap-4",children:t.jsx(xn,{_label:"Drawer alignment",_value:e,_options:$j,_orientation:"horizontal",_on:{onChange:r}})})}),Ij=()=>{const[e]=yt(),r=e.get("align"),l=e.get("closer")==="true",i=g.useRef(null),[c,d]=g.useState(r||"left"),[f,b]=g.useState(l);return g.useEffect(()=>{var h;r&&((h=i.current)==null||h.open())},[r]),t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolDrawer shows a dialog attached to one of the sides of the viewport, when opened. This sample illustrates the four alignments."})}),t.jsx(T_,{value:c,onChange:(h,m)=>d(m)}),t.jsx(We,{_label:"Drawer has closer",className:"mb-4",_checked:f,_on:{onInput:(h,m)=>{b(m===!0)}}}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(lk,{ref:i,_label:"I am a drawer",_align:c,_hasCloser:f,_on:{onClose:()=>console.log("Drawer onClose triggered!")},children:t.jsxs("div",{className:c==="left"||c==="right"?"drawer-content-vertical":"",children:[t.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."}),t.jsx(M,{_label:"Close drawer",_on:{onClick:()=>{var h;return(h=i.current)==null?void 0:h.close()}}})]})}),t.jsx(M,{_label:"Open drawer",_on:{onClick:()=>{var h;return(h=i.current)==null?void 0:h.open()}}})]})]})},Nj=()=>{const[e]=yt(),r=e.get("align"),[l,i]=g.useState(!1),[c,d]=g.useState(r||"left");return t.jsxs("div",{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows the KolDrawer controlled by the property ",t.jsx("code",{children:"_open"})," instead of methods."]})}),t.jsx(T_,{value:c,onChange:(f,b)=>d(b)}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(lk,{_open:l,_align:c,_label:"I'm a controlled drawer",_on:{onClose:()=>i(!1)},children:t.jsxs("div",{children:[t.jsx("p",{children:"Lorem ipsum dolor sit amet,"}),t.jsx(M,{_label:"Close drawer",_on:{onClick:()=>i(!1)}})]})}),t.jsx(M,{_label:"Open drawer",_on:{onClick:()=>i(!0)}})]})]})},Rj={drawer:{basic:Ij,controlled:Nj}},Bj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsx($o,{className:"w-full",children:t.jsxs("div",{className:"grid gap-2",children:[t.jsx(Le,{id:"input1",_label:"Input 1"}),t.jsx(Le,{id:"input2",_label:"Input 2"}),t.jsx(Le,{id:"input3",_label:"Input 3"})]})})]}),Oj=()=>{const e=g.useRef(null),r=()=>{var l;(l=e.current)==null||l.focusErrorList()};return g.useEffect(()=>{var l;(l=e.current)==null||l.focusErrorList()},[]),t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows a form with error messages."})}),t.jsx($o,{className:"w-full",ref:e,_on:{onSubmit:r},_errorList:[{message:"Error in Input 2",selector:"#input2"},{message:"Error in Input 3",selector:()=>alert("Error in Input 3")}],children:t.jsxs("div",{className:"grid gap-2",children:[t.jsx(Le,{id:"input1",_label:"Input 1"}),t.jsx(Le,{id:"input2",_label:"Input 2",_touched:!0,_msg:{_description:"Input error",_type:"error"}}),t.jsx(Le,{id:"input3",_label:"Input 3",_touched:!0,_msg:{_description:"Input error",_type:"error"}}),t.jsx("div",{children:t.jsx(M,{_label:"ScrollTo",_type:"submit"})})]})})]})},Pj={form:{basic:Bj,"error-list":Oj}},C_=`public-ui.v${au.version}`;class Mj{constructor(){cr(this,"store",new Map)}setItem(r,l){this.store.set(r,l)}getItem(r){return this.store.get(r)||null}}const va={darkMode:!1,theme:"default"};let iu;function L_(e){iu=e;const r=iu.getItem(C_);try{const l=JSON.parse(r);typeof l=="object"&&l!==null&&(va.darkMode=l.darkMode===!0,Mu(l.theme)&&(va.theme=l.theme))}catch{}}L_(new Mj);const Dj=()=>{iu.setItem(C_,JSON.stringify(va))},Fj=e=>{if(Mu(e))va.theme=e,Dj();else throw new Error(`The theme identifier "${e}" is not valid or an available option.`)},cs=()=>`${va.theme}`,su=e=>{var r;if(Mu(e))return(r=Du.find(l=>l.value===e))==null?void 0:r.label;throw new Error(`The theme identifier "${e}" is not valid or an available option.`)},Kj=[{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 Hj({_on:e,...r}){const{dummyClickEventHandler:l}=jn(),i={onClick:l};return t.jsx(M,{...r,_on:i})}const Uj={horizontal:[[{label:"Workdays",colSpan:5},{label:"Weekend",colSpan:2}],[{key:"monday",label:"Monday",render:(e,r)=>{const l=document.createElement("div");l.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(l),qn(l).render(t.jsx(Hj,{_label:r.label,style:{fontSize:"75%"}}))},compareFn:(e,r)=>e.monday<r.monday?-1:e.monday>r.monday?1:0,sortDirection:"ASC",textAlign:"right"},{key:"tuesday",label:"Tuesday",render:(e,r)=>{const l=document.createElement("div");l.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(l),qn(l).render(t.jsx(vn,{_color:"#060",_label:r.label}))},compareFn:(e,r)=>e.tuesday<r.tuesday?-1:e.tuesday>r.tuesday?1:0,sortDirection:"DESC"},{key:"wednesday",label:"Wednesday",render:(e,r)=>{const l=document.createElement("div");l.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(l),qn(l).render(t.jsx(vn,{_color:"#006",_label:r.label}))}},{key:"thursday",label:"Thursday",render:(e,r)=>{const l=document.createElement("div");l.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(l),qn(l).render(t.jsx(vn,{_color:"#600",_label:r.label}))}},{key:"friday",label:"Friday",render:(e,r)=>{const l=document.createElement("div");l.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(l),qn(l).render(t.jsx(vn,{_color:"#303",_label:r.label}))}},{key:"saturday",label:"Saturday",render:(e,r)=>{const l=document.createElement("div");l.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(l),qn(l).render(t.jsx(vn,{_color:"#330",_label:r.label}))}},{key:"sunday",label:"Sunday",render:(e,r)=>{const l=document.createElement("div");l.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(l),qn(l).render(t.jsx(vn,{_color:"#033",_label:r.label}))}}]],vertical:[[{label:"Early"},{label:"Noon"},{label:"Evening"},{label:"Night"}]]},Vj=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs("div",{className:"grid gap-4",children:[t.jsxs("div",{className:"grid gap-4 md:grid-cols-[auto_1fr_1fr] items-center",children:[t.jsx(Zi,{className:"block w-75px",_labeled:!1}),t.jsx(J,{_label:"",_level:1,children:t.jsxs("span",{slot:"expert",children:["Kolibri-Handout ",t.jsxs("small",{children:["for ",su(cs())]})]})}),t.jsxs(hr,{_label:"Abstract",_open:!0,children:["The handout shows a selection of KoliBri components in the style of ",t.jsx("strong",{children:su(cs())}),". 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 (",t.jsx(he,{_label:"https://github.com/public-ui/kolibri",_href:"https://github.com/public-ui/kolibri",_target:"_blank"}),")."]})]}),t.jsxs("div",{className:"grid gap-4 sm:grid-cols-6 md:grid-cols-6 xl:grid-cols-12",children:[t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-3 xl:col-span-2",_label:"Heading",_level:2,children:t.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[t.jsx(J,{_label:"Heading Level 1",_level:1}),t.jsx(J,{_label:"Heading Level 2",_level:2}),t.jsx(J,{_label:"Heading Level 3",_level:3}),t.jsx(J,{_label:"Heading Level 4",_level:4}),t.jsx(J,{_label:"Heading Level 5",_level:5}),t.jsx(J,{_label:"Heading Level 6",_level:6}),t.jsx(J,{_label:"Heading Level 6",_secondaryHeadline:"Lessons",_level:6})]})}),t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-3 xl:col-span-2",_label:"Abbreviation and Progress",_level:2,children:t.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[t.jsxs("p",{children:["I am ",t.jsx(da,{_label:"as an example",children:"e.g."})," an abbreviation."]}),t.jsxs("p",{children:["I am ",t.jsx(da,{children:"e.g."})," an abbreviation without label."]}),t.jsx(dr,{_variant:"bar",_max:100,_value:33,_label:"Progress"}),t.jsx(dr,{_variant:"cycle",_max:100,_value:66,_label:"Progress"})]})}),t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-6 xl:col-span-3",_label:"Button, LinkButton and Tab",_level:2,children:t.jsx("div",{slot:"",className:"grid gap-2 p-2",children:t.jsxs(mr,{_label:"",_selected:0,_tabs:[{_label:"Button"},{_label:"LinkButton"},{_label:"Disabled Tab",_disabled:!0}],children:[t.jsxs("div",{className:"grid gap-2 py-2",children:[t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(M,{_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary",_on:r}),t.jsx(M,{_disabled:!0,_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary",_on:r}),t.jsx(M,{_hideLabel:!0,_icons:"codicon codicon-arrow-left",_label:"primary",_variant:"primary",_on:r})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(M,{_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary",_on:r}),t.jsx(M,{_disabled:!0,_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary",_on:r}),t.jsx(M,{_hideLabel:!0,_icons:"codicon codicon-arrow-right",_label:"secondary",_variant:"secondary",_on:r})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(M,{_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger",_on:r}),t.jsx(M,{_disabled:!0,_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger",_on:r}),t.jsx(M,{_hideLabel:!0,_icons:"codicon codicon-arrow-up",_label:"danger",_variant:"danger",_on:r})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(M,{_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal",_on:r}),t.jsx(M,{_disabled:!0,_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal",_on:r}),t.jsx(M,{_hideLabel:!0,_icons:"codicon codicon-arrow-down",_label:"normal",_variant:"normal",_on:r})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(M,{_label:"ghost",_variant:"ghost"}),t.jsx(M,{_disabled:!0,_label:"ghost",_variant:"ghost"}),t.jsx(M,{_icons:"codicon codicon-home",_hideLabel:!0,_label:"ghost",_variant:"ghost",_on:r})]})]}),t.jsxs("div",{className:"grid gap-2 py-2",children:[t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(Me,{_href:"#/back-page",_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary"}),t.jsx(Me,{_href:"#/back-page",_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary"}),t.jsx(Me,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-left",_label:"primary",_variant:"primary"})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(Me,{_href:"#/back-page",_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary"}),t.jsx(Me,{_href:"#/back-page",_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary"}),t.jsx(Me,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-right",_label:"secondary",_variant:"secondary"})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(Me,{_href:"#/back-page",_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger"}),t.jsx(Me,{_href:"#/back-page",_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger"}),t.jsx(Me,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-up",_label:"danger",_variant:"danger"})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(Me,{_href:"#/back-page",_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal"}),t.jsx(Me,{_href:"#/back-page",_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal"}),t.jsx(Me,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-down",_label:"normal",_variant:"normal"})]}),t.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[t.jsx(Me,{_href:"#/back-page",_label:"ghost",_variant:"ghost"}),t.jsx(Me,{_href:"#/back-page",_label:"ghost",_variant:"ghost"}),t.jsx(Me,{_href:"#/back-page",_icons:"codicon codicon-home",_hideLabel:!0,_label:"ghost",_variant:"ghost"})]})]})]})})}),t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-2 xl:col-span-2",_label:"Accordion, Link and ButtonLink",_level:2,children:t.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[t.jsx(On,{_label:"Links",_level:3,_open:!0,children:t.jsxs("div",{className:"grid gap-2",slot:"",children:[t.jsx(he,{_href:"#/back-page",_label:"Link text"}),t.jsx(he,{_href:"#/back-page",_icons:"codicon codicon-home",_label:"Link text with icon"}),t.jsx(he,{_href:"#/back-page",_icons:"codicon codicon-home",_hideLabel:!0,_label:"Link text with icon only"}),t.jsx(he,{_href:"/",_label:"Visited link"}),t.jsxs("p",{children:["I am a ",t.jsx(he,{_href:"#/back-page",_label:"externer Link",_target:"w3c"})," in the running text."]})]})}),t.jsx(On,{_label:"ButtonLinks",_level:3,children:t.jsxs("div",{className:"grid gap-2",slot:"",children:[t.jsx(Ge,{_label:"Link text"}),t.jsx(Ge,{_icons:"codicon codicon-home",_label:"Link text with icon"}),t.jsx(Ge,{_icons:"codicon codicon-home",_hideLabel:!0,_label:"Link text with icon only"}),t.jsxs("p",{children:["I am a ",t.jsx(Ge,{_label:"Link"})," in the running text."]}),t.jsx(Ge,{_icons:{left:"codicon codicon-arrow-left",right:"codicon codicon-arrow-right",top:"codicon codicon-arrow-up",bottom:"codicon codicon-arrow-down"},_label:"Icons"})]})})]})}),t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-3",_label:"Alert",_level:2,children:t.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[t.jsx(Xn,{_label:"Default message",_type:"default",children:"This is the text of the alert."}),t.jsx(Xn,{_type:"success",children:"Success message text"}),t.jsx(Xn,{_type:"error",_hasCloser:!0,children:"This is a error message text."}),t.jsx(Xn,{_label:"Info card",_type:"info",_variant:"card",children:"This is the text of the alert."}),t.jsx(Xn,{_label:"Warning card",_type:"warning",_hasCloser:!0,_variant:"card",children:"This is the text of the alert."})]})}),t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-2 xl:col-span-2",_label:"Nav and Breadcrumb",_level:2,children:t.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[t.jsx("div",{children:t.jsx(kt,{_label:"Main navigation",_links:[{_label:"Homepage",_icons:"codicon codicon-home",_href:"#/back-page"},{_label:"2 Navigation point",_icons:"codicon codicon-home",_href:"#/back-page"},{_active:!0,_label:"3 Navigation point",_href:"#/back-page",_icons:"codicon codicon-home",_children:[{_label:"3.1 Navigation point",_icons:"codicon codicon-home",_href:"#/back-page"},{_label:"3.2 External navigation point",_icons:"codicon codicon-home",_href:"#/back-page",_target:"_blank"},{_label:"3.3 Navigation point",_href:"#/back-page",_icons:"codicon codicon-home",_children:[{_active:!0,_label:"3.3.1 Navigation point (active)",_icons:"codicon codicon-home",_href:"#/back-page"},{_label:"3.3.2 Navigation point",_icons:"codicon codicon-home",_href:"#/back-page"}]}]},{_label:"3 Navigation point",_icons:"codicon codicon-home",_href:"#/back-page"}],_hasCompactButton:!0})}),t.jsx("div",{children:t.jsx(Gi,{_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"}]})})]})}),t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5",_label:"Input",_level:2,children:t.jsx($o,{slot:"",children:t.jsxs("div",{className:"grid gap-4 sm:grid-cols-2 md:grid-cols-3 p-2",children:[t.jsx(Ln,{_label:"Color"}),t.jsx(gn,{_label:"Upload file"}),t.jsx(bn,{_label:"Number input"}),t.jsx(De,{_type:"date",_label:"Date"}),t.jsx(An,{_icons:"{'left': 'codicon codicon-home'}",_msg:{_type:"error",_description:"Test of an error message"},_touched:!0,_label:"E-mail address"}),t.jsx(Le,{_hint:"I am a hint.",_label:"First name"}),t.jsx(mn,{_label:"password"}),t.jsx(En,{_options:"[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]",_label:"Stimmung"}),t.jsx(Bn,{_min:0,_max:50,_value:25,_label:"Slider"}),t.jsx(xn,{className:"herr-frau",_options:"[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]",_value:"1",_label:"Salutation"}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(xn,{_orientation:"horizontal",_options:"[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]",_value:"0",_label:"Salutation"}),t.jsx(We,{_label:"",children:t.jsxs("span",{slot:"expert",children:["I accept the ",t.jsx(da,{_label:"General Terms and Conditions",children:"AGB"}),"."]})})]}),t.jsx(Ve,{_rows:4,_label:"Textarea"})]})})}),t.jsx(Ae,{className:"col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5",_label:"Table with Pagination",_level:2,children:t.jsx("div",{slot:"",className:"grid gap-2 p-2",children:t.jsx(cn,{_label:"Table",_minWidth:"auto",_headers:Uj,_data:Kj,_pagination:!0})})})]}),t.jsx(us,{_label:"5.0.2-test.2"})]})},Wj={handout:{basic:Vj}},qj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows KolHeading with its different levels and content provided using the export slot instead of the ",t.jsx("code",{children:"_label"}),"-property."]})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{_label:"",_level:1,children:t.jsxs("span",{slot:"expert",children:["A heading with a ",t.jsx(vn,{_label:"Label"})]})}),t.jsx(J,{_label:"",_level:2,children:t.jsxs("span",{slot:"expert",children:["A heading with a ",t.jsx(vn,{_color:"#86ffc6",_label:"Label"})]})}),t.jsx(J,{_label:"",_level:3,children:t.jsxs("span",{slot:"expert",children:["A heading with a ",t.jsx(vn,{_color:"#06539e",_label:"Label"})]})}),t.jsx(J,{_label:"",_level:4,children:t.jsxs("span",{slot:"expert",children:["A heading with a ",t.jsx(vn,{_color:"#ae0000",_label:"Label"})]})}),t.jsx(J,{_label:"",_level:5,children:t.jsxs("span",{slot:"expert",children:["A heading with a ",t.jsx(vn,{_color:"#8b008b",_label:"Label"})]})}),t.jsx(J,{_label:"",_level:6,children:t.jsxs("span",{slot:"expert",children:["A heading with a ",t.jsx(vn,{_color:"#ffc0cb",_label:"Label"})]})})]})]}),Gj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolHeading renders a heading with the given level."})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{_label:"I'm a H1-heading",_level:1}),t.jsx(J,{_label:"I'm a H2-heading",_level:2}),t.jsx(J,{_label:"I'm a H3-heading",_level:3}),t.jsx(J,{_label:"I'm a H4-heading",_level:4}),t.jsx(J,{_label:"I'm a H5-heading",_level:5}),t.jsx(J,{_label:"I'm a H6-heading",_level:6})]})]}),Zj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolHeading with its different levels combined with some text content each."})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{_label:"Ich bin eine H1-Überschrift",_level:1}),t.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."}),t.jsx(J,{_label:"Ich bin eine H2-Überschrift",_level:2}),t.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."}),t.jsx(J,{_label:"Ich bin eine H3-Überschrift",_level:3}),t.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."}),t.jsx(J,{_label:"Ich bin eine H4-Überschrift",_level:4}),t.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."}),t.jsx(J,{_label:"Ich bin eine H5-Überschrift",_level:5}),t.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."}),t.jsx(J,{_label:"Ich bin eine H6-Überschrift",_level:6}),t.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."})]})]}),Yj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows KolHeading with the prop ",t.jsx("code",{children:"_secondaryHeadline"})," in use."]})}),t.jsx("div",{className:"grid gap-4",children:t.jsx(J,{_label:"This is a H1 headline",_secondaryHeadline:"This is a secondary headline",_level:1})})]}),Jj={heading:{basic:Gj,badge:qj,paragraph:Zj,secondary:Yj}},Qj=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolIcon renders an icon. This sample shows one regular icon and one with a custom style-property, changing the icon color."})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(Uh,{className:"block w-[1em] h-[1em]",_label:"",_icons:"codicon codicon-home"}),t.jsx(Uh,{className:"block w-[1em] h-[1em]",style:{color:"red"},_label:"",_icons:"codicon codicon-home"})]})]}),Xj={icon:{basic:Qj}},eS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolImage renders an image. The sample shows an image with alternative text."})}),t.jsx(Ex,{className:"w-image",_src:"abgrenzung.jpg",_alt:"Darstellung des KoliBri-Theming"})]}),nS={image:{basic:eS}},Zn=({RefComponent:e,showButtons:r=!0,...l})=>t.jsx($o,{className:"w-full",children:t.jsxs("div",{className:"grid gap-4",children:[t.jsx(e,{...l}),r&&t.jsxs("div",{className:"flex gap-4",children:[t.jsx(M,{_label:"Submit",_icons:"codicon codicon-arrow-right",_type:"submit",_variant:"primary"}),t.jsx(M,{_label:"Bunte Icons",_icons:{left:{icon:"codicon codicon-heart-filled",style:{color:"#cc006e"}},right:{icon:"codicon codicon-squirrel",style:{color:"#b41b1b"}}},_type:"submit",_variant:"secondary"}),t.jsx(M,{_label:"Reset",_type:"reset",_variant:"tertiary"}),t.jsx(M,{_label:"Help",_variant:"ghost"})]})]})}),Hi=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx(We,{...r,_label:"Not selected",_value:!1,_required:!0}),t.jsx(We,{...r,_label:"Indeterminate",_value:null,_indeterminate:!0}),t.jsx(We,{...r,ref:l,_accessKey:"A",_checked:!0,_label:"Selected",_tooltipAlign:"right",_value:!0}),t.jsx(We,{...r,_checked:!0,_icons:{unchecked:"codicon codicon-close"},_label:"With a very long label and upheavals ".repeat(5),_value:!0}),t.jsx(We,{...r,_disabled:!0,_label:"Disabled",_value:!0,_hint:"Hint text"}),t.jsx(We,{...r,_checked:!0,_disabled:!0,_label:"Checked and disabled"}),t.jsx(We,{...r,_indeterminate:!0,_disabled:!0,_label:"Indeterminate and disabled"}),t.jsx(We,{...r,_msg:{_type:"error",_description:$e},_label:"With error",_touched:!0,_value:!0,_hint:"Hint text"}),t.jsx(We,{...r,_label:"With access key",_accessKey:"c",_value:null}),t.jsx(We,{...r,_label:"With short key",_shortKey:"s",_value:null})]})});function ro({children:e}){const[r]=yt(),l=r.has("noColumns");return t.jsx("div",{className:l?"":"grid md:grid-cols-2 gap-4",children:e})}const Ku=g.forwardRef(function(r,l){return t.jsxs(t.Fragment,{children:[t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:'Label align "left" with label'}),t.jsx(Hi,{...r,_labelAlign:"left"})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:'Label align "left" without Label (hideLabel)'}),t.jsx(Hi,{ref:l,...r,_hideLabel:!0,_labelAlign:"left"})]})]}),t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:'Label align "right" with label'}),t.jsx(Hi,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:'Label align "right" without Label (hideLabel)'}),t.jsx(Hi,{ref:l,...r,_hideLabel:!0})]})]})]})}),oS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolInputCheckbox renders a checkbox. The sample shows KolInputCheckbox in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:Ku,showButtons:!1})]}),rS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:'This sample shows KolInputCheckbox in the variant "button".'})}),t.jsx(Zn,{RefComponent:Ku,_variant:"button",showButtons:!1})]}),tS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:'This sample shows KolInputCheckbox in the variant "switch".'})}),t.jsx(Zn,{RefComponent:Ku,_variant:"switch",showButtons:!1})]}),lS={"input-checkbox":{basic:oS,switch:tS,button:rS}},Xm=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(Ln,{...r,_msg:{_type:"error",_description:$e},_icons:{left:"codicon codicon-symbol-color"},_label:"Color (Black background test)",_value:"#f08080"})}),t.jsx(Ln,{...r,_msg:{_type:"error",_description:$e},_label:"Color with error",_suggestions:"['#000000','#f08080', '#0000ff','#00ff00']",_touched:!0}),t.jsx(Ln,{...r,_msg:{_type:"info",_description:"Just a hint"},_label:"Color"}),t.jsx(Ln,{...r,_msg:{_type:"warning",_description:"Small warning"},_label:"Color"}),t.jsx(Ln,{...r,_msg:{_type:"success",_description:"Success message"},_label:"Color"}),t.jsx(Ln,{...r,ref:l,_accessKey:"C",_hint:"Hint text",_label:"Color with hint",_value:"#f08080"}),t.jsx(Ln,{...r,_disabled:!0,_label:"Color (Disabled)",_value:"#f08080"}),t.jsx(Ln,{...r,_label:"With access key",_accessKey:"c"}),t.jsx(Ln,{...r,_label:"With short key",_shortKey:"s"})]})}),aS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Color"}),t.jsx(Xm,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Color (hideLabel)"}),t.jsx(Xm,{ref:l,...r,_hideLabel:!0})]})]})}),iS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolInputColor renders a color input. The sample shows KolInputColor in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:aS,showButtons:!1})]}),sS={"input-color":{basic:iS}},ev=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(De,{...r,_type:"date",_label:"Date input (Black background test)",_required:!0})}),t.jsx(De,{...r,_type:"datetime-local",_label:"Local-Datetime (Standard)",_required:!0}),t.jsx(De,{...r,_step:1,_type:"datetime-local",_hint:oo,_msg:{_type:"error",_description:$e},_label:"Local datetime (with seconds)",_required:!0,_touched:!0}),t.jsx(De,{...r,_msg:{_type:"info",_description:"Just a hint"},_label:"Color"}),t.jsx(De,{...r,_msg:{_type:"warning",_description:"Small warning"},_label:"Color"}),t.jsx(De,{...r,_msg:{_type:"success",_description:"Success message"},_label:"Color"}),t.jsx(De,{...r,_type:"month",_label:"Month",_required:!0}),t.jsx(De,{...r,ref:l,_accessKey:"W",_type:"week",_label:"Week",_required:!0}),t.jsx(De,{...r,_type:"time",_label:"Time (standard)",_required:!0}),t.jsx(De,{...r,_step:1,_type:"time",_label:"Time (with seconds)",_required:!0}),t.jsx(De,{...r,_readOnly:!0,_label:"Date input (read-only)",_required:!0}),t.jsx(De,{...r,_disabled:!0,_label:"Date input (Disabled)",_required:!0}),t.jsx(De,{...r,_label:"With access key",_accessKey:"s"}),t.jsx(De,{...r,_label:"With short key",_shortKey:"s"})]})}),cS=e=>{const r="2024-09-26",l="2024-09-27",i="12:00",c="15:00",d="2024-09-26T12:00",f="2024-09-27T15:00",b="2024-W10",h="2024-W50",m="2024-02",_="2024-10",x=new Date("January 10, 2024, 12:00"),k=new Date("October 20, 2024, 15:00");return t.jsxs("div",{className:"grid gap-4",children:[t.jsx(De,{...e,_type:"date",_label:"Date with Iso",_min:r,_max:l}),t.jsx(De,{...e,_type:"date",_label:"Date with Date",_min:x,_max:k}),t.jsx(De,{...e,_type:"time",_label:"Time with Iso",_min:i,_max:c}),t.jsx(De,{...e,_type:"time",_label:"Time with Date",_min:x,_max:k}),t.jsx(De,{...e,_type:"datetime-local",_label:"DayTime with Iso",_min:d,_max:f}),t.jsx(De,{...e,_type:"datetime-local",_label:"DayTime with Date",_min:x,_max:k}),t.jsx(De,{...e,_type:"week",_label:"Week with Iso",_min:b,_max:h}),t.jsx(De,{...e,_type:"week",_label:"Week with Date",_min:x,_max:k}),t.jsx(De,{...e,_type:"month",_label:"Month with Iso",_min:m,_max:_}),t.jsx(De,{...e,_type:"month",_label:"Month with Date",_min:x,_max:k})]})},dS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Date"}),t.jsx(ev,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Date (hideLabel)"}),t.jsx(ev,{ref:l,...r,_hideLabel:!0})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Date (with min/max)"}),t.jsx(cS,{...r})]})]})}),uS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsx(Zn,{RefComponent:dS,showButtons:!1})]}),fS=()=>{const e=g.useRef(null);return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample demonstrates the KolInputDate ",t.jsx("code",{children:"reset"}),"-Method, which can be used to clear the field, even when it holds incomplete or invalid values."]})}),t.jsx(De,{className:"w-full",ref:e,_label:"Resettable Input Date",_value:"2024-02-10"}),t.jsx(M,{className:"mt",_label:"Reset",_on:{onClick:()=>{var r;return(r=e.current)==null?void 0:r.reset()}}})]})},pS=["default","error","info","success","warning"];function Cd(e){return{onChange:()=>e(r=>!r)}}const hS=()=>{const[e,r]=g.useState(!0),[l,i]=g.useState(!0),[c,d]=g.useState(!1),f=Cd(r),b=Cd(i),h=Cd(d);return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This example shows how messages work in input fields."})}),t.jsxs("div",{className:"flex gap-4 flex-col",children:[t.jsxs("div",{className:"flex gap-4 items-center",children:[t.jsx(We,{_label:"Toggle Msg",_on:f,_checked:e,_variant:"button"}),t.jsx(We,{_label:"Toggle Touched",_on:b,_checked:l,_variant:"button"}),t.jsx(We,{_label:"Toggle Hide Msg",_on:h,_checked:c,_variant:"button"})]}),t.jsxs("pre",{children:["Message exists: ",e?"Yes":"No"," (showMsg: ",e?"Yes":"No",")",t.jsx("br",{}),"Non-Error-Message visible: ",e&&!c?"Yes":"No"," (showMsg: ",e?"Yes":"No",", hideMsg: ",c?"Yes":"No",")",t.jsx("br",{}),"Error-Message visible: ",e&&l&&!c?"Yes":"No"," (showMsg: ",e?"Yes":"No",", isTouched: ",l?"Yes":"No",", hideMsg: ",c?"Yes":"No",")"]}),pS.map(m=>t.jsx(De,{_hideMsg:c,_label:`Date (_msg, ${m})`,_msg:e?{_description:`${m} message`,_type:m}:void 0,_touched:l},m))]})]})},bS={"input-date":{basic:uS,reset:fS,"show-hide-msg":hS}},nv=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(An,{...r,_required:!0,_value:"test@mail.de",_msg:{_type:"error",_description:$e},_label:"E-Mail (Black background test)"})}),t.jsx(An,{...r,ref:l,_accessKey:"M",_placeholder:"elke@mustermann.de",_suggestions:"['test1@mail.de', 'test2@mail.de', 'test3@mail.de']",_label:"E-Mail (list)",_hint:oo,_msg:{_type:"error",_description:$e},_touched:!0,_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}}}),t.jsx(An,{...r,_msg:{_type:"info",_description:"Just a hint"},_label:"E-Mail"}),t.jsx(An,{...r,_msg:{_type:"warning",_description:"Small warning"},_label:"E-Mail"}),t.jsx(An,{...r,_msg:{_type:"success",_description:"Success message"},_label:"E-Mail"}),t.jsx(An,{...r,_disabled:!0,_value:"test@mail.de",_label:"E-Mail (Disabled)"}),t.jsx(An,{...r,_readOnly:!0,_value:"test@mail.de",_label:"E-Mail (Readonly)"}),t.jsx(An,{...r,_value:"test@mail.de",_label:"With access key",_accessKey:"c"}),t.jsx(An,{...r,_value:"test@mail.de",_label:"With short key",_shortKey:"s"})]})}),mS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Email"}),t.jsx(nv,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Email (hideLabel)"}),t.jsx(nv,{ref:l,...r,_hideLabel:!0})]})]})}),vS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolInputEmail renders an email input field. The sample shows KolInputEmail in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:mS,showButtons:!1})]}),kS={"input-email":{basic:vS}},ov=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(gn,{...r,_label:"Upload file (Black background test)",_icons:{left:{icon:"codicon codicon-save"}},_touched:!0})}),t.jsx(gn,{...r,_required:!0,_hint:oo,_msg:{_type:"error",_description:$e},_label:"Upload file (Black background test)",_icons:{left:{icon:"codicon codicon-save"}},_touched:!0}),t.jsx(gn,{...r,_msg:{_type:"info",_description:"Just a hint"},_label:"Upload file"}),t.jsx(gn,{...r,_msg:{_type:"warning",_description:"Small warning"},_label:"Upload file"}),t.jsx(gn,{...r,_msg:{_type:"success",_description:"Success message"},_label:"Upload file"}),t.jsx(gn,{...r,ref:l,_accessKey:"h",_multiple:!0,_msg:{_type:"error",_description:$e},_label:"Upload file (Multiple)"}),t.jsx(gn,{...r,_disabled:!0,_label:"Upload file (Disabled)"}),t.jsx(gn,{...r,_label:"With access key",_accessKey:"c"}),t.jsx(gn,{...r,_label:"With short key",_shortKey:"s"})]})}),_S=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"File"}),t.jsx(ov,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"File (hideLabel)"}),t.jsx(ov,{ref:l,...r,_hideLabel:!0})]})]})}),gS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolInputFile renders a file input field. The sample shows KolInputFile in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:_S,showButtons:!1})]}),xS={"input-file":{basic:gS}},rv=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsxs("div",{className:"black-background",children:[t.jsx(bn,{...r,_required:!0,_touched:!0,_value:123,_label:"Number input (Black background test)"})," "]}),t.jsx(bn,{...r,_required:!0,_msg:{_type:"error",_description:$e},_touched:!0,_placeholder:"Mit Icons",_label:"Number input",_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}}}),t.jsx(bn,{...r,_required:!0,_msg:{_type:"error",_description:$e},_touched:!0,_value:123,_label:"Number input"}),t.jsx(bn,{...r,_required:!0,_msg:{_type:"warning",_description:$e},_touched:!0,_value:123,_label:"Number input"}),t.jsx(bn,{...r,_required:!0,_msg:{_type:"info",_description:$e},_touched:!0,_value:123,_label:"Number input"}),t.jsx(bn,{...r,_required:!0,_msg:{_type:"success",_description:$e},_touched:!0,_value:123,_label:"Number input"}),t.jsx(bn,{...r,ref:l,_accessKey:"Z",_max:10,_min:-10,_step:2,_label:"Number input (-10 to 10 in steps of 2)"}),t.jsx(bn,{...r,_readOnly:!0,_label:"Number input (Readonly)"}),t.jsx(bn,{...r,_disabled:!0,_label:"Number input (Disabled)"}),t.jsx(bn,{...r,_label:"With access key",_accessKey:"c"}),t.jsx(bn,{...r,_label:"With short key",_shortKey:"s"})]})}),yS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Number"}),t.jsx(rv,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Number (hideLabel)"}),t.jsx(rv,{ref:l,...r,_hideLabel:!0})]})]})}),wS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsx(Zn,{RefComponent:yS,showButtons:!1})]}),zS={"input-number":{basic:wS}},tv=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(mn,{...r,_label:"Passwort (Black background test)"})}),t.jsx(mn,{...r,ref:l,_accessKey:"P",_required:!0,_hint:oo,_msg:{_type:"error",_description:$e},_placeholder:"Mit Icons",_label:"Passwort",_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}},_touched:!0}),t.jsx(mn,{...r,_placeholder:"Placeholder",_msg:{_type:"info",_description:"Just a hint"},_label:"Password"}),t.jsx(mn,{...r,_placeholder:"Placeholder",_msg:{_type:"warning",_description:"Small warning"},_label:"Password"}),t.jsx(mn,{...r,_placeholder:"Placeholder",_msg:{_type:"success",_description:"Success message"},_label:"Password"}),t.jsx(mn,{...r,_disabled:!0,_msg:{_type:"error",_description:$e},_label:"Passwort (Disabled)",_touched:!0}),t.jsx(mn,{...r,_readOnly:!0,_label:"Passwort (Readonly)"}),t.jsx(mn,{...r,ref:l,_shortKey:"c",_label:"With access key"}),t.jsx(mn,{...r,ref:l,_shortKey:"s",_label:"With short key"})]})}),jS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Password"}),t.jsx(tv,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Password (hideLabel)"}),t.jsx(tv,{ref:l,...r,_hideLabel:!0})]})]})}),SS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolInputPassword renders a password input field. The sample shows KolInputPassword in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:jS,showButtons:!1})]}),TS=()=>{const e=g.useRef(null);return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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.'})}),t.jsxs($o,{className:"w-full",children:[t.jsx(mn,{_placeholder:"With 'Show password' button",_label:"Password",ref:e,className:"block",_variant:"visibility-toggle"}),t.jsx(mn,{_placeholder:"With 'Show password' button",_label:"Password",ref:e,className:"block",_variant:"visibility-toggle",_value:"Password"}),t.jsx(mn,{_placeholder:"With 'Show password' button and disabled",_label:"Password",ref:e,className:"block",_disabled:!0,_variant:"visibility-toggle"})]})]})},CS={"input-password":{basic:SS,"show-password":TS}},lv=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(xn,{...r,_options:"[{'disabled':true,'label':'Mrs. (disabled)','value':'Mrs.'},{'label':'Mr.'},{'label':'Company','value':'Company'}]",_label:"Salutation (Black background test)"})}),t.jsx(xn,{...r,_required:!0,_msg:{_type:"error",_description:$e},_touched:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]",_label:"Salutation (with error)"}),t.jsx(xn,{...r,ref:l,_orientation:"horizontal",_required:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]",_label:"Salutation (horizontal)"}),t.jsx(xn,{...r,_disabled:!0,_orientation:"horizontal",_required:!0,_msg:{_type:"error",_description:$e},_touched:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]",_label:"Salutation (horizontal with error)"}),t.jsx(xn,{...r,_disabled:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]",_label:"Salutation",_touched:!0}),t.jsx(xn,{...r,_orientation:"horizontal",_required:!0,_msg:{_type:"error",_description:$e},_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:oo})]})}),LS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("div",{className:"border border-solid border-dark-100 p-3",children:[t.jsx(J,{_level:2,_label:"Radio",className:"block mb-2"}),t.jsx(lv,{...r})]}),t.jsxs("div",{className:"border border-solid border-dark-100 p-3",children:[t.jsx(J,{_level:2,_label:"Radio (hideLabel)",className:"block mb-2"}),t.jsx(lv,{ref:l,...r,_hideLabel:!0})]})]})}),AS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolInputRadio renders a set of radio buttons. The sample shows KolInputRadio in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:LS,showButtons:!1})]}),ES=()=>{const[e,r]=g.useState(!0),[l,i]=g.useState("horizontal"),c=[{label:"Field 1",value:1},{label:"Field 2",value:2}],d=()=>{r(b=>!b)},f=()=>{i(b=>b==="horizontal"?"vertical":"horizontal")};return t.jsxs("div",{className:"grid gap-4",children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows the ",t.jsx("code",{children:"horizontal"})," and ",t.jsx("code",{children:"vertical"})," orientation of KolInoutRadio. It also features a button to test re-rendering."]})}),t.jsxs("div",{className:"flex gap-4",children:[t.jsx(M,{_label:"Click me a few times",_on:{onClick:d}}),t.jsx(We,{_label:"Switch orientation (horizontal/vertical)",_on:{onChange:f},_variant:"switch"})]}),e&&t.jsx($o,{children:t.jsxs("div",{className:"container my-4 d-grid gap-4",children:[t.jsx(xn,{_label:`Test (${l})`,_options:c,_orientation:l,_required:!0}),t.jsx(xn,{_hideLabel:!0,_label:`Test (${l})`,_options:c,_orientation:l,_required:!0})]})})]})},$S=()=>{const e=[{label:"Field 1",value:{id:1,name:"Option 1"}},{label:"Field 2",value:{id:2,name:"Option 2"}}];return t.jsxs("div",{className:"grid gap-4",children:[t.jsxs(O,{children:["This sample shows KolInputRadio with ",t.jsx("code",{children:"object"})," and ",t.jsx("code",{children:"undefined"})," values."]}),t.jsxs($o,{children:[t.jsxs("p",{children:["In this example for ",t.jsx("code",{children:"KolInputRadio"}),", the values of the options are defined as objects."]}),t.jsx("div",{className:"container my-4 d-grid gap-4",children:t.jsx(xn,{_value:e[1].value,_options:e,_label:"Test (with object value)"})}),t.jsxs("p",{children:["In this example for ",t.jsx("code",{children:"KolInputRadio"}),", no value is set."]}),t.jsx("div",{className:"container my-4 d-grid gap-4",children:t.jsx(xn,{_options:e,_label:"Test (without value)"})})]})]})},IS={"input-radio":{basic:AS,horizontal:ES,object:$S}},av=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(Bn,{...r,_min:0,_max:50,_msg:{_type:"error",_description:$e},_label:"Slider (Black background test)",_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}},_touched:!0})}),t.jsx(Bn,{...r,ref:l,_accessKey:"F",_min:0,_max:50,_step:10,_hint:oo,_msg:{_type:"error",_description:$e},_label:"Slider with error",_touched:!0}),t.jsx(Bn,{...r,_msg:{_type:"info",_description:"Just a hint"},_label:"Slider"}),t.jsx(Bn,{...r,_msg:{_type:"warning",_description:"Small warning"},_label:"Slider"}),t.jsx(Bn,{...r,_msg:{_type:"success",_description:"Success message"},_label:"Slider"}),t.jsx(Bn,{...r,_disabled:!0,_min:0,_max:50,_label:"Slider (disabled)"}),t.jsx(Bn,{...r,_min:0,_max:50,_label:"With access key",_accessKey:"c"}),t.jsx(Bn,{...r,_min:0,_max:50,_label:"With short key",_shortKey:"s"})]})}),NS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Range"}),t.jsx(av,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Range (hideLabel)"}),t.jsx(av,{ref:l,...r,_hideLabel:!0})]})]})}),RS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsx(Zn,{RefComponent:NS,showButtons:!1})]}),BS={"input-range":{basic:RS}},iv=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(Le,{...r,_value:"Value",_label:"First name (Black background test)"})}),t.jsx(Le,{...r,_hint:oo,_msg:{_type:"error",_description:$e,_label:"test headline"},_placeholder:"With icons",_icons:{right:{icon:"codicon codicon-arrow-right",style:{"font-size":"200%","margin-right":"calc(-8rem / var(--kolibri-root-font-size, 16))"}}},_on:{onBlur:console.log,onChange:console.log,onClick:console.log,onFocus:console.log},_required:!0,_type:"search",_touched:!0,_label:"First name (text)",_accessKey:"V",ref:l}),t.jsx(Le,{...r,_placeholder:"Placeholder",_msg:{_type:"info",_description:"Just a hint"},_label:"Search",_type:"search"}),t.jsx(Le,{...r,_placeholder:"Placeholder",_msg:{_type:"error",_description:$e},_touched:!0,_type:"url",_label:"URL (url)"}),t.jsx(Le,{...r,_placeholder:"Placeholder",_type:"tel",_label:"Telephone (tel)",_msg:{_type:"warning",_description:"Small warning"}}),t.jsx(Le,{...r,_placeholder:"Placeholder",_type:"tel",_label:"Telephone (tel)",_msg:{_type:"success",_description:"Success message"}}),t.jsx(Le,{...r,_placeholder:"Placeholder",_label:"With counter",_hasCounter:!0,_maxLength:10,_value:"Lorem Ipsum"}),t.jsx(Le,{...r,_placeholder:"Placeholder",_readOnly:!0,_label:"First name (text, readonly)"}),t.jsx(Le,{...r,_value:"Value",_readOnly:!0,_label:"First name (text, readonly)"}),t.jsx(Le,{...r,_placeholder:"Placeholder",_disabled:!0,_label:"First name (text, disabled)"}),t.jsx(Le,{...r,_value:"Value",_disabled:!0,_label:"First name (text, disabled)"}),t.jsx(Le,{...r,_value:"Value",_label:"With access key",_accessKey:"c"}),t.jsx(Le,{...r,_value:"Value",_label:"With short key",_shortKey:"s"})]})}),OS=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text"}),t.jsx(iv,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text (hideLabel)"}),t.jsx(iv,{ref:l,...r,_hideLabel:!0})]})]})}),PS=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolInputText renders a text input field. The sample shows KolInputText in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:OS,showButtons:!1})]}),MS=()=>t.jsxs("div",{className:"grid gap-4",children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows the ",t.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."]})}),t.jsx(Ae,{_label:"Normal input field with error",_level:0,children:t.jsx(Le,{_msg:{_type:"error",_description:"Error message"},_label:"Input with error",_touched:!0})}),t.jsx(Ae,{_label:"Input fields with hidden error",_level:0,children:t.jsxs("fieldset",{className:"grid md:grid-cols-2 gap-4",children:[t.jsx("legend",{children:"Combined input field"}),t.jsx(Xn,{className:"col-span-2",_level:0,_type:"error",children:"This is a combined error message"}),t.jsx(Le,{_msg:{_type:"error",_description:"This is a combined error message"},_hideMsg:!0,_label:"First input",_touched:!0}),t.jsx(Le,{_msg:{_type:"error",_description:"This is a combined error message"},_hideMsg:!0,_label:"Second input with error",_touched:!0})]})})]});var DS=function(r){return FS(r)&&!KS(r)};function FS(e){return!!e&&typeof e=="object"}function KS(e){var r=Object.prototype.toString.call(e);return r==="[object RegExp]"||r==="[object Date]"||VS(e)}var HS=typeof Symbol=="function"&&Symbol.for,US=HS?Symbol.for("react.element"):60103;function VS(e){return e.$$typeof===US}function WS(e){return Array.isArray(e)?[]:{}}function ds(e,r){return r.clone!==!1&&r.isMergeableObject(e)?ka(WS(e),e,r):e}function qS(e,r,l){return e.concat(r).map(function(i){return ds(i,l)})}function GS(e,r,l){var i={};return l.isMergeableObject(e)&&Object.keys(e).forEach(function(c){i[c]=ds(e[c],l)}),Object.keys(r).forEach(function(c){!l.isMergeableObject(r[c])||!e[c]?i[c]=ds(r[c],l):i[c]=ka(e[c],r[c],l)}),i}function ka(e,r,l){l=l||{},l.arrayMerge=l.arrayMerge||qS,l.isMergeableObject=l.isMergeableObject||DS;var i=Array.isArray(r),c=Array.isArray(e),d=i===c;return d?i?l.arrayMerge(e,r,l):GS(e,r,l):ds(r,l)}ka.all=function(r,l){if(!Array.isArray(r))throw new Error("first argument should be an array");return r.reduce(function(i,c){return ka(i,c,l)},{})};var cu=ka,A_=typeof global=="object"&&global&&global.Object===Object&&global,ZS=typeof self=="object"&&self&&self.Object===Object&&self,Jo=A_||ZS||Function("return this")(),Wr=Jo.Symbol,E_=Object.prototype,YS=E_.hasOwnProperty,JS=E_.toString,aa=Wr?Wr.toStringTag:void 0;function QS(e){var r=YS.call(e,aa),l=e[aa];try{e[aa]=void 0;var i=!0}catch{}var c=JS.call(e);return i&&(r?e[aa]=l:delete e[aa]),c}var XS=Object.prototype,eT=XS.toString;function nT(e){return eT.call(e)}var oT="[object Null]",rT="[object Undefined]",sv=Wr?Wr.toStringTag:void 0;function jt(e){return e==null?e===void 0?rT:oT:sv&&sv in Object(e)?QS(e):nT(e)}function $_(e,r){return function(l){return e(r(l))}}var Hu=$_(Object.getPrototypeOf,Object);function St(e){return e!=null&&typeof e=="object"}var tT="[object Object]",lT=Function.prototype,aT=Object.prototype,I_=lT.toString,iT=aT.hasOwnProperty,sT=I_.call(Object);function cv(e){if(!St(e)||jt(e)!=tT)return!1;var r=Hu(e);if(r===null)return!0;var l=iT.call(r,"constructor")&&r.constructor;return typeof l=="function"&&l instanceof l&&I_.call(l)==sT}function cT(){this.__data__=[],this.size=0}function N_(e,r){return e===r||e!==e&&r!==r}function bs(e,r){for(var l=e.length;l--;)if(N_(e[l][0],r))return l;return-1}var dT=Array.prototype,uT=dT.splice;function fT(e){var r=this.__data__,l=bs(r,e);if(l<0)return!1;var i=r.length-1;return l==i?r.pop():uT.call(r,l,1),--this.size,!0}function pT(e){var r=this.__data__,l=bs(r,e);return l<0?void 0:r[l][1]}function hT(e){return bs(this.__data__,e)>-1}function bT(e,r){var l=this.__data__,i=bs(l,e);return i<0?(++this.size,l.push([e,r])):l[i][1]=r,this}function xr(e){var r=-1,l=e==null?0:e.length;for(this.clear();++r<l;){var i=e[r];this.set(i[0],i[1])}}xr.prototype.clear=cT;xr.prototype.delete=fT;xr.prototype.get=pT;xr.prototype.has=hT;xr.prototype.set=bT;function mT(){this.__data__=new xr,this.size=0}function vT(e){var r=this.__data__,l=r.delete(e);return this.size=r.size,l}function kT(e){return this.__data__.get(e)}function _T(e){return this.__data__.has(e)}function Ca(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var gT="[object AsyncFunction]",xT="[object Function]",yT="[object GeneratorFunction]",wT="[object Proxy]";function R_(e){if(!Ca(e))return!1;var r=jt(e);return r==xT||r==yT||r==gT||r==wT}var Ld=Jo["__core-js_shared__"],dv=function(){var e=/[^.]+$/.exec(Ld&&Ld.keys&&Ld.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function zT(e){return!!dv&&dv in e}var jT=Function.prototype,ST=jT.toString;function Tt(e){if(e!=null){try{return ST.call(e)}catch{}try{return e+""}catch{}}return""}var TT=/[\\^$.*+?()[\]{}|]/g,CT=/^\[object .+?Constructor\]$/,LT=Function.prototype,AT=Object.prototype,ET=LT.toString,$T=AT.hasOwnProperty,IT=RegExp("^"+ET.call($T).replace(TT,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function NT(e){if(!Ca(e)||zT(e))return!1;var r=R_(e)?IT:CT;return r.test(Tt(e))}function RT(e,r){return e==null?void 0:e[r]}function Ct(e,r){var l=RT(e,r);return NT(l)?l:void 0}var _a=Ct(Jo,"Map"),ga=Ct(Object,"create");function BT(){this.__data__=ga?ga(null):{},this.size=0}function OT(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var PT="__lodash_hash_undefined__",MT=Object.prototype,DT=MT.hasOwnProperty;function FT(e){var r=this.__data__;if(ga){var l=r[e];return l===PT?void 0:l}return DT.call(r,e)?r[e]:void 0}var KT=Object.prototype,HT=KT.hasOwnProperty;function UT(e){var r=this.__data__;return ga?r[e]!==void 0:HT.call(r,e)}var VT="__lodash_hash_undefined__";function WT(e,r){var l=this.__data__;return this.size+=this.has(e)?0:1,l[e]=ga&&r===void 0?VT:r,this}function _t(e){var r=-1,l=e==null?0:e.length;for(this.clear();++r<l;){var i=e[r];this.set(i[0],i[1])}}_t.prototype.clear=BT;_t.prototype.delete=OT;_t.prototype.get=FT;_t.prototype.has=UT;_t.prototype.set=WT;function qT(){this.size=0,this.__data__={hash:new _t,map:new(_a||xr),string:new _t}}function GT(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}function ms(e,r){var l=e.__data__;return GT(r)?l[typeof r=="string"?"string":"hash"]:l.map}function ZT(e){var r=ms(this,e).delete(e);return this.size-=r?1:0,r}function YT(e){return ms(this,e).get(e)}function JT(e){return ms(this,e).has(e)}function QT(e,r){var l=ms(this,e),i=l.size;return l.set(e,r),this.size+=l.size==i?0:1,this}function Zr(e){var r=-1,l=e==null?0:e.length;for(this.clear();++r<l;){var i=e[r];this.set(i[0],i[1])}}Zr.prototype.clear=qT;Zr.prototype.delete=ZT;Zr.prototype.get=YT;Zr.prototype.has=JT;Zr.prototype.set=QT;var XT=200;function e3(e,r){var l=this.__data__;if(l instanceof xr){var i=l.__data__;if(!_a||i.length<XT-1)return i.push([e,r]),this.size=++l.size,this;l=this.__data__=new Zr(i)}return l.set(e,r),this.size=l.size,this}function hl(e){var r=this.__data__=new xr(e);this.size=r.size}hl.prototype.clear=mT;hl.prototype.delete=vT;hl.prototype.get=kT;hl.prototype.has=_T;hl.prototype.set=e3;function n3(e,r){for(var l=-1,i=e==null?0:e.length;++l<i&&r(e[l],l,e)!==!1;);return e}var uv=function(){try{var e=Ct(Object,"defineProperty");return e({},"",{}),e}catch{}}();function B_(e,r,l){r=="__proto__"&&uv?uv(e,r,{configurable:!0,enumerable:!0,value:l,writable:!0}):e[r]=l}var o3=Object.prototype,r3=o3.hasOwnProperty;function O_(e,r,l){var i=e[r];(!(r3.call(e,r)&&N_(i,l))||l===void 0&&!(r in e))&&B_(e,r,l)}function vs(e,r,l,i){var c=!l;l||(l={});for(var d=-1,f=r.length;++d<f;){var b=r[d],h=void 0;h===void 0&&(h=e[b]),c?B_(l,b,h):O_(l,b,h)}return l}function t3(e,r){for(var l=-1,i=Array(e);++l<e;)i[l]=r(l);return i}var l3="[object Arguments]";function fv(e){return St(e)&&jt(e)==l3}var P_=Object.prototype,a3=P_.hasOwnProperty,i3=P_.propertyIsEnumerable,s3=fv(function(){return arguments}())?fv:function(e){return St(e)&&a3.call(e,"callee")&&!i3.call(e,"callee")},La=Array.isArray;function c3(){return!1}var M_=typeof exports=="object"&&exports&&!exports.nodeType&&exports,pv=M_&&typeof module=="object"&&module&&!module.nodeType&&module,d3=pv&&pv.exports===M_,hv=d3?Jo.Buffer:void 0,u3=hv?hv.isBuffer:void 0,D_=u3||c3,f3=9007199254740991,p3=/^(?:0|[1-9]\d*)$/;function h3(e,r){var l=typeof e;return r=r??f3,!!r&&(l=="number"||l!="symbol"&&p3.test(e))&&e>-1&&e%1==0&&e<r}var b3=9007199254740991;function F_(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=b3}var m3="[object Arguments]",v3="[object Array]",k3="[object Boolean]",_3="[object Date]",g3="[object Error]",x3="[object Function]",y3="[object Map]",w3="[object Number]",z3="[object Object]",j3="[object RegExp]",S3="[object Set]",T3="[object String]",C3="[object WeakMap]",L3="[object ArrayBuffer]",A3="[object DataView]",E3="[object Float32Array]",$3="[object Float64Array]",I3="[object Int8Array]",N3="[object Int16Array]",R3="[object Int32Array]",B3="[object Uint8Array]",O3="[object Uint8ClampedArray]",P3="[object Uint16Array]",M3="[object Uint32Array]",rn={};rn[E3]=rn[$3]=rn[I3]=rn[N3]=rn[R3]=rn[B3]=rn[O3]=rn[P3]=rn[M3]=!0;rn[m3]=rn[v3]=rn[L3]=rn[k3]=rn[A3]=rn[_3]=rn[g3]=rn[x3]=rn[y3]=rn[w3]=rn[z3]=rn[j3]=rn[S3]=rn[T3]=rn[C3]=!1;function D3(e){return St(e)&&F_(e.length)&&!!rn[jt(e)]}function Uu(e){return function(r){return e(r)}}var K_=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ua=K_&&typeof module=="object"&&module&&!module.nodeType&&module,F3=ua&&ua.exports===K_,Ad=F3&&A_.process,dl=function(){try{var e=ua&&ua.require&&ua.require("util").types;return e||Ad&&Ad.binding&&Ad.binding("util")}catch{}}(),bv=dl&&dl.isTypedArray,K3=bv?Uu(bv):D3,H3=Object.prototype,U3=H3.hasOwnProperty;function H_(e,r){var l=La(e),i=!l&&s3(e),c=!l&&!i&&D_(e),d=!l&&!i&&!c&&K3(e),f=l||i||c||d,b=f?t3(e.length,String):[],h=b.length;for(var m in e)(r||U3.call(e,m))&&!(f&&(m=="length"||c&&(m=="offset"||m=="parent")||d&&(m=="buffer"||m=="byteLength"||m=="byteOffset")||h3(m,h)))&&b.push(m);return b}var V3=Object.prototype;function Vu(e){var r=e&&e.constructor,l=typeof r=="function"&&r.prototype||V3;return e===l}var W3=$_(Object.keys,Object),q3=Object.prototype,G3=q3.hasOwnProperty;function Z3(e){if(!Vu(e))return W3(e);var r=[];for(var l in Object(e))G3.call(e,l)&&l!="constructor"&&r.push(l);return r}function U_(e){return e!=null&&F_(e.length)&&!R_(e)}function Wu(e){return U_(e)?H_(e):Z3(e)}function Y3(e,r){return e&&vs(r,Wu(r),e)}function J3(e){var r=[];if(e!=null)for(var l in Object(e))r.push(l);return r}var Q3=Object.prototype,X3=Q3.hasOwnProperty;function eC(e){if(!Ca(e))return J3(e);var r=Vu(e),l=[];for(var i in e)i=="constructor"&&(r||!X3.call(e,i))||l.push(i);return l}function qu(e){return U_(e)?H_(e,!0):eC(e)}function nC(e,r){return e&&vs(r,qu(r),e)}var V_=typeof exports=="object"&&exports&&!exports.nodeType&&exports,mv=V_&&typeof module=="object"&&module&&!module.nodeType&&module,oC=mv&&mv.exports===V_,vv=oC?Jo.Buffer:void 0,kv=vv?vv.allocUnsafe:void 0;function rC(e,r){if(r)return e.slice();var l=e.length,i=kv?kv(l):new e.constructor(l);return e.copy(i),i}function W_(e,r){var l=-1,i=e.length;for(r||(r=Array(i));++l<i;)r[l]=e[l];return r}function tC(e,r){for(var l=-1,i=e==null?0:e.length,c=0,d=[];++l<i;){var f=e[l];r(f,l,e)&&(d[c++]=f)}return d}function q_(){return[]}var lC=Object.prototype,aC=lC.propertyIsEnumerable,_v=Object.getOwnPropertySymbols,Gu=_v?function(e){return e==null?[]:(e=Object(e),tC(_v(e),function(r){return aC.call(e,r)}))}:q_;function iC(e,r){return vs(e,Gu(e),r)}function G_(e,r){for(var l=-1,i=r.length,c=e.length;++l<i;)e[c+l]=r[l];return e}var sC=Object.getOwnPropertySymbols,Z_=sC?function(e){for(var r=[];e;)G_(r,Gu(e)),e=Hu(e);return r}:q_;function cC(e,r){return vs(e,Z_(e),r)}function Y_(e,r,l){var i=r(e);return La(e)?i:G_(i,l(e))}function dC(e){return Y_(e,Wu,Gu)}function uC(e){return Y_(e,qu,Z_)}var du=Ct(Jo,"DataView"),uu=Ct(Jo,"Promise"),fu=Ct(Jo,"Set"),pu=Ct(Jo,"WeakMap"),gv="[object Map]",fC="[object Object]",xv="[object Promise]",yv="[object Set]",wv="[object WeakMap]",zv="[object DataView]",pC=Tt(du),hC=Tt(_a),bC=Tt(uu),mC=Tt(fu),vC=Tt(pu),fr=jt;(du&&fr(new du(new ArrayBuffer(1)))!=zv||_a&&fr(new _a)!=gv||uu&&fr(uu.resolve())!=xv||fu&&fr(new fu)!=yv||pu&&fr(new pu)!=wv)&&(fr=function(e){var r=jt(e),l=r==fC?e.constructor:void 0,i=l?Tt(l):"";if(i)switch(i){case pC:return zv;case hC:return gv;case bC:return xv;case mC:return yv;case vC:return wv}return r});var kC=Object.prototype,_C=kC.hasOwnProperty;function gC(e){var r=e.length,l=new e.constructor(r);return r&&typeof e[0]=="string"&&_C.call(e,"index")&&(l.index=e.index,l.input=e.input),l}var jv=Jo.Uint8Array;function Zu(e){var r=new e.constructor(e.byteLength);return new jv(r).set(new jv(e)),r}function xC(e,r){var l=r?Zu(e.buffer):e.buffer;return new e.constructor(l,e.byteOffset,e.byteLength)}var yC=/\w*$/;function wC(e){var r=new e.constructor(e.source,yC.exec(e));return r.lastIndex=e.lastIndex,r}var Sv=Wr?Wr.prototype:void 0,Tv=Sv?Sv.valueOf:void 0;function zC(e){return Tv?Object(Tv.call(e)):{}}function jC(e,r){var l=r?Zu(e.buffer):e.buffer;return new e.constructor(l,e.byteOffset,e.length)}var SC="[object Boolean]",TC="[object Date]",CC="[object Map]",LC="[object Number]",AC="[object RegExp]",EC="[object Set]",$C="[object String]",IC="[object Symbol]",NC="[object ArrayBuffer]",RC="[object DataView]",BC="[object Float32Array]",OC="[object Float64Array]",PC="[object Int8Array]",MC="[object Int16Array]",DC="[object Int32Array]",FC="[object Uint8Array]",KC="[object Uint8ClampedArray]",HC="[object Uint16Array]",UC="[object Uint32Array]";function VC(e,r,l){var i=e.constructor;switch(r){case NC:return Zu(e);case SC:case TC:return new i(+e);case RC:return xC(e,l);case BC:case OC:case PC:case MC:case DC:case FC:case KC:case HC:case UC:return jC(e,l);case CC:return new i;case LC:case $C:return new i(e);case AC:return wC(e);case EC:return new i;case IC:return zC(e)}}var Cv=Object.create,WC=function(){function e(){}return function(r){if(!Ca(r))return{};if(Cv)return Cv(r);e.prototype=r;var l=new e;return e.prototype=void 0,l}}();function qC(e){return typeof e.constructor=="function"&&!Vu(e)?WC(Hu(e)):{}}var GC="[object Map]";function ZC(e){return St(e)&&fr(e)==GC}var Lv=dl&&dl.isMap,YC=Lv?Uu(Lv):ZC,JC="[object Set]";function QC(e){return St(e)&&fr(e)==JC}var Av=dl&&dl.isSet,XC=Av?Uu(Av):QC,eL=1,nL=2,oL=4,J_="[object Arguments]",rL="[object Array]",tL="[object Boolean]",lL="[object Date]",aL="[object Error]",Q_="[object Function]",iL="[object GeneratorFunction]",sL="[object Map]",cL="[object Number]",X_="[object Object]",dL="[object RegExp]",uL="[object Set]",fL="[object String]",pL="[object Symbol]",hL="[object WeakMap]",bL="[object ArrayBuffer]",mL="[object DataView]",vL="[object Float32Array]",kL="[object Float64Array]",_L="[object Int8Array]",gL="[object Int16Array]",xL="[object Int32Array]",yL="[object Uint8Array]",wL="[object Uint8ClampedArray]",zL="[object Uint16Array]",jL="[object Uint32Array]",en={};en[J_]=en[rL]=en[bL]=en[mL]=en[tL]=en[lL]=en[vL]=en[kL]=en[_L]=en[gL]=en[xL]=en[sL]=en[cL]=en[X_]=en[dL]=en[uL]=en[fL]=en[pL]=en[yL]=en[wL]=en[zL]=en[jL]=!0;en[aL]=en[Q_]=en[hL]=!1;function fa(e,r,l,i,c,d){var f,b=r&eL,h=r&nL,m=r&oL;if(f!==void 0)return f;if(!Ca(e))return e;var _=La(e);if(_){if(f=gC(e),!b)return W_(e,f)}else{var x=fr(e),k=x==Q_||x==iL;if(D_(e))return rC(e,b);if(x==X_||x==J_||k&&!c){if(f=h||k?{}:qC(e),!b)return h?cC(e,nC(f,e)):iC(e,Y3(f,e))}else{if(!en[x])return c?e:{};f=VC(e,x,b)}}d||(d=new hl);var A=d.get(e);if(A)return A;d.set(e,f),XC(e)?e.forEach(function(L){f.add(fa(L,r,l,L,e,d))}):YC(e)&&e.forEach(function(L,y){f.set(y,fa(L,r,l,y,e,d))});var S=m?h?uC:dC:h?qu:Wu,j=_?void 0:S(e);return n3(j||e,function(L,y){j&&(y=L,L=e[y]),O_(f,y,fa(L,r,l,y,e,d))}),f}var SL=1,TL=4;function Ui(e){return fa(e,SL|TL)}var Ed,Ev;function CL(){if(Ev)return Ed;Ev=1;var e=Array.isArray,r=Object.keys,l=Object.prototype.hasOwnProperty,i=typeof Element<"u";function c(d,f){if(d===f)return!0;if(d&&f&&typeof d=="object"&&typeof f=="object"){var b=e(d),h=e(f),m,_,x;if(b&&h){if(_=d.length,_!=f.length)return!1;for(m=_;m--!==0;)if(!c(d[m],f[m]))return!1;return!0}if(b!=h)return!1;var k=d instanceof Date,A=f instanceof Date;if(k!=A)return!1;if(k&&A)return d.getTime()==f.getTime();var S=d instanceof RegExp,j=f instanceof RegExp;if(S!=j)return!1;if(S&&j)return d.toString()==f.toString();var L=r(d);if(_=L.length,_!==r(f).length)return!1;for(m=_;m--!==0;)if(!l.call(f,L[m]))return!1;if(i&&d instanceof Element&&f instanceof Element)return d===f;for(m=_;m--!==0;)if(x=L[m],!(x==="_owner"&&d.$$typeof)&&!c(d[x],f[x]))return!1;return!0}return d!==d&&f!==f}return Ed=function(f,b){try{return c(f,b)}catch(h){if(h.message&&h.message.match(/stack|recursion/i)||h.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",h.name,h.message),!1;throw h}},Ed}var LL=CL();const pt=ok(LL);var AL=4;function $v(e){return fa(e,AL)}function eg(e,r){for(var l=-1,i=e==null?0:e.length,c=Array(i);++l<i;)c[l]=r(e[l],l,e);return c}var EL="[object Symbol]";function Yu(e){return typeof e=="symbol"||St(e)&&jt(e)==EL}var $L="Expected a function";function Ju(e,r){if(typeof e!="function"||r!=null&&typeof r!="function")throw new TypeError($L);var l=function(){var i=arguments,c=r?r.apply(this,i):i[0],d=l.cache;if(d.has(c))return d.get(c);var f=e.apply(this,i);return l.cache=d.set(c,f)||d,f};return l.cache=new(Ju.Cache||Zr),l}Ju.Cache=Zr;var IL=500;function NL(e){var r=Ju(e,function(i){return l.size===IL&&l.clear(),i}),l=r.cache;return r}var RL=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,BL=/\\(\\)?/g,OL=NL(function(e){var r=[];return e.charCodeAt(0)===46&&r.push(""),e.replace(RL,function(l,i,c,d){r.push(c?d.replace(BL,"$1"):i||l)}),r});function PL(e){if(typeof e=="string"||Yu(e))return e;var r=e+"";return r=="0"&&1/e==-1/0?"-0":r}var Iv=Wr?Wr.prototype:void 0,Nv=Iv?Iv.toString:void 0;function ng(e){if(typeof e=="string")return e;if(La(e))return eg(e,ng)+"";if(Yu(e))return Nv?Nv.call(e):"";var r=e+"";return r=="0"&&1/e==-1/0?"-0":r}function ML(e){return e==null?"":ng(e)}function og(e){return La(e)?eg(e,PL):Yu(e)?[e]:W_(OL(ML(e)))}var $d={exports:{}},Ye={};/** @license React v16.13.1
13571
13571
  * react-is.production.min.js
13572
13572
  *
13573
13573
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -13588,12 +13588,12 @@ Link:
13588
13588
  without significant interference with each other, outside early spring.
13589
13589
  This is because of the 3D ether space available to the carriers, in contrast
13590
13590
  to the 1D ether used by IEEE802.3. The carriers have an intrinsic collision
13591
- avoidance system, which increases availability.`,_variant:"block"})]}),aE={quote:{basic:tE,block:lE}},pg=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"}]'),go=[...pg.map(e=>({label:e.name,value:e.alpha2}))],Do=[...pg.map(e=>e.name)],iE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This example show how different components works with tabIndex."})}),t.jsxs("div",{className:"w-full grid gap-4",children:[t.jsx(Ae,{_label:"Button",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(M,{_label:"Button 1, Tabindex 4",_variant:"primary",tabIndex:4}),t.jsx(M,{_disabled:!0,_label:"Button 2, Tabindex 3",_variant:"primary",tabIndex:3}),t.jsx(M,{_label:"Button 3, Tabindex 2",_variant:"primary",tabIndex:2}),t.jsx(M,{_label:"Button 4, Tabindex 1",_variant:"primary",tabIndex:1})]})}),t.jsx(Ae,{_label:"ButtonLink",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(Ge,{_label:"ButtonLink 1, Tabindex 4",tabIndex:4}),t.jsx(Ge,{_disabled:!0,_label:"ButtonLink 2, Tabindex 3",tabIndex:3}),t.jsx(Ge,{_label:"ButtonLink 3, Tabindex 2",tabIndex:2}),t.jsx(Ge,{_label:"ButtonLink 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"Combobox",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(xo,{_hint:oo,_label:"Combobox 1, Tabindex 4",_suggestions:Do,_value:"Deutschland",tabIndex:4}),t.jsx(xo,{_disabled:!0,_hint:oo,_label:"Combobox 2, Tabindex 3",_suggestions:Do,_value:"Deutschland",tabIndex:3}),t.jsx(xo,{_touched:!0,_hint:oo,_msg:{_type:"error",_description:$e},_label:"Combobox 3, Tabindex 2",_suggestions:Do,_value:"Deutschland",tabIndex:2}),t.jsx(xo,{_hint:oo,_label:"Combobox 4, Tabindex 1",_suggestions:Do,_value:"Deutschland",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputCheckbox",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(We,{_label:"InputCheckbox 4, Tabindex 1",_value:!1,tabIndex:4}),t.jsx(We,{_disabled:!0,_label:"InputCheckbox 3, Tabindex 2",_value:!1,tabIndex:3}),t.jsx(We,{_touched:!0,_label:"InputCheckbox 2, Tabindex 3",_msg:{_type:"error",_description:$e},_value:!1,tabIndex:2}),t.jsx(We,{_label:"InputCheckbox 1, Tabindex 4",_value:!1,tabIndex:1})]})}),t.jsx(Ae,{_label:"InputColor",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(Ln,{_value:"#f08080",_label:"InputCheckbox 1, Tabindex 4",tabIndex:4}),t.jsx(Ln,{_disabled:!0,_value:"#f08080",_label:"InputCheckbox 2, Tabindex 3",tabIndex:3}),t.jsx(Ln,{_touched:!0,_value:"#f08080",_label:"InputCheckbox 3, Tabindex 2",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(Ln,{_value:"#f08080",_label:"InputCheckbox 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputDate",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(De,{_type:"datetime-local",_label:"InputCheckbox 1, Tabindex 4",tabIndex:4}),t.jsx(De,{_disabled:!0,_type:"datetime-local",_label:"InputCheckbox 2, Tabindex 3",tabIndex:3}),t.jsx(De,{_touched:!0,_type:"datetime-local",_label:"InputCheckbox 3, Tabindex 2",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(De,{_type:"datetime-local",_label:"InputCheckbox 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputEmail",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(An,{_label:"InputEmail 1, Tabindex 4",tabIndex:4}),t.jsx(An,{_disabled:!0,_label:"InputEmail 2, Tabindex 3",tabIndex:3}),t.jsx(An,{_touched:!0,_label:"InputEmail 3, Tabindex 2",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(An,{_label:"InputEmail 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputFile",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(gn,{_label:"InputFile 1, Tabindex 4",tabIndex:4}),t.jsx(gn,{_disabled:!0,_label:"InputFile 2, Tabindex 3",tabIndex:3}),t.jsx(gn,{_touched:!0,_label:"InputFile 3, Tabindex 2",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(gn,{_label:"InputFile 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputNumber",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(bn,{_label:"InputNumber 1, Tabindex 4",tabIndex:4}),t.jsx(bn,{_disabled:!0,_label:"InputNumber 2, Tabindex 3",tabIndex:3}),t.jsx(bn,{_touched:!0,_label:"InputNumber 3, Tabindex 2",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(bn,{_label:"InputNumber 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputPassword",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(mn,{_label:"InputPassword 1, Tabindex 4",tabIndex:4}),t.jsx(mn,{_disabled:!0,_label:"InputPassword 2, Tabindex 3",tabIndex:3}),t.jsx(mn,{_touched:!0,_label:"InputPassword 3, Tabindex 2",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(mn,{_label:"InputPassword 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputRadio",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(xn,{_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]",_label:"InputRadio 1, Tabindex 4",tabIndex:4}),t.jsx(xn,{_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}),t.jsx(xn,{_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:$e},tabIndex:2})," ",t.jsx(xn,{_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]",_label:"InputRadio 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputRange",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(Bn,{_label:"InputRange 1, Tabindex 4",_min:0,_max:50,tabIndex:4}),t.jsx(Bn,{_disabled:!0,_label:"InputRange 2, Tabindex 3",_min:0,_max:50,tabIndex:3}),t.jsx(Bn,{_touched:!0,_label:"InputRange 3, Tabindex 2",_min:0,_max:50,_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(Bn,{_label:"InputRange 4, Tabindex 1",_min:0,_max:50,tabIndex:1})]})}),t.jsx(Ae,{_label:"InputText",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(Le,{_label:"InputText 1, Tabindex 4",tabIndex:4}),t.jsx(Le,{_disabled:!0,_label:"InputText 2, Tabindex 3",tabIndex:3}),t.jsx(Le,{_touched:!0,_label:"InputText 3, Tabindex 2",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(Le,{_label:"InputText 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"LinkButton",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(Me,{_href:"#/back-page",_label:"InputText 1, Tabindex 4",_variant:"primary",tabIndex:4}),t.jsx(Me,{_disabled:!0,_href:"#/back-page",_label:"InputText 2, Tabindex 3",_variant:"primary",tabIndex:3}),t.jsx(Me,{_href:"#/back-page",_label:"InputText 3, Tabindex 2",_variant:"primary",tabIndex:2}),t.jsx(Me,{_href:"#/back-page",_label:"InputText 4, Tabindex 1",_variant:"primary",tabIndex:1})]})}),t.jsx(Ae,{_label:"Link",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(he,{_href:"#/back-page",_label:"InputText 1, Tabindex 4",tabIndex:4}),t.jsx(he,{_disabled:!0,_href:"#/back-page",_label:"InputText 2, Tabindex 3",tabIndex:3}),t.jsx(he,{_href:"#/back-page",_label:"InputText 3, Tabindex 2",tabIndex:2}),t.jsx(he,{_href:"#/back-page",_label:"InputText 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"SingleSelect",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(Qn,{_label:"InputText 1, Tabindex 4",_options:go,_value:"de",tabIndex:4}),t.jsx(Qn,{_disabled:!0,_label:"InputText 2, Tabindex 3",_options:go,_value:"de",tabIndex:3}),t.jsx(Qn,{_touched:!0,_label:"InputText 3, Tabindex 2",_options:go,_msg:{_type:"error",_description:$e},_value:"de",tabIndex:2}),t.jsx(Qn,{_label:"InputText 4, Tabindex 1",_options:go,_value:"de",tabIndex:1})]})}),t.jsx(Ae,{_label:"SplitButton",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(bt,{_label:"InputText 1, Tabindex 4",tabIndex:4,children:"Dropdown-Inhalt"}),t.jsx(bt,{_label:"InputText 2, Tabindex 3",tabIndex:3,_disabled:!0,children:"Dropdown-Inhalt"}),t.jsx(bt,{_label:"InputText 3, Tabindex 2",tabIndex:2,children:"Dropdown-Inhalt"}),t.jsx(bt,{_label:"InputText 4, Tabindex 1",tabIndex:1,children:"Dropdown-Inhalt"})]})}),t.jsx(Ae,{_label:"Textarea",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(Ve,{_label:"Textarea 1, Tabindex 4",_rows:3,_placeholder:"Placeholder",tabIndex:4}),t.jsx(Ve,{_disabled:!0,_label:"Textarea 2, Tabindex 3",_rows:3,_placeholder:"Placeholder",tabIndex:3}),t.jsx(Ve,{_touched:!0,_label:"Textarea 3, Tabindex 2",_rows:3,_placeholder:"Placeholder",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(Ve,{_label:"Textarea 4, Tabindex 1",_rows:3,_placeholder:"Placeholder",tabIndex:1})]})})]})]}),sE=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample demonstrates how a tooltip's width can be adjusted by defining the CSS custom property ",t.jsx("code",{children:"--kol-tooltip-width"})," on one of the parent elements."]})}),t.jsx(M,{_label:"Tooltip with fixed width",_hideLabel:!0,style:{"--kol-tooltip-width":"400px"},_icons:"codicon codicon-reactions",_on:r})]})},Wi=[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],cE=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsxs(O,{children:[t.jsx("p",{children:"This example shows how deactivated interactive elements are displayed."}),t.jsxs("ul",{children:[t.jsx("li",{children:"Deactivated interactive elements pose a particular challenge for accessibility."}),t.jsx("li",{children:"It must not be possible to focus on deactivated interactive elements, otherwise the tab paths will be unnecessarily extended."}),t.jsx("li",{children:"Deactivated interactive elements should be labelled clearly and legibly."}),t.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."})]}),t.jsx("p",{children:"This implementation ensures standardized use for all users."})]}),t.jsxs("div",{className:"w-full grid gap-4",children:[t.jsx(Ae,{_label:"Button",_level:0,children:t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_label:"Label",_on:r}),t.jsx(M,{_disabled:!0,_label:"Label",_on:r}),t.jsx(M,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Label",_on:r}),t.jsx(M,{_disabled:!0,_hideLabel:!0,_icons:"codicon codicon-home",_label:"Label",_on:r})]})}),t.jsx(Ae,{_label:"ButtonLink",_level:0,children:t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(Ge,{_label:"Label"}),t.jsx(Ge,{_disabled:!0,_label:"Label"}),t.jsx(Ge,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Label"}),t.jsx(Ge,{_hideLabel:!0,_icons:"codicon codicon-home",_disabled:!0,_label:"Label"})]})}),t.jsx(Ae,{_label:"Link",_level:0,children:t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(he,{_href:"#",_label:"Label"}),t.jsx(he,{_disabled:!0,_href:"#",_label:"Label"}),t.jsx(he,{_hideLabel:!0,_href:"#",_icons:"codicon codicon-home",_label:"Label"}),t.jsx(he,{_disabled:!0,_hideLabel:!0,_href:"#",_icons:"codicon codicon-home",_label:"Label"})]})}),t.jsx(Ae,{_label:"LinkButton",_level:0,children:t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(Me,{_href:"#",_label:"Label"}),t.jsx(Me,{_disabled:!0,_href:"#",_label:"Label"}),t.jsx(Me,{_hideLabel:!0,_href:"#",_icons:"codicon codicon-home",_label:"Label"}),t.jsx(Me,{_disabled:!0,_hideLabel:!0,_href:"#",_icons:"codicon codicon-home",_label:"Label"})]})}),t.jsx(Ae,{_label:"Accordion",_level:0,children:t.jsxs("div",{className:"grid gap-4",children:[t.jsx(On,{_label:"Label",children:"Content"}),t.jsx(On,{_disabled:!0,_label:"Label",children:"Content"}),t.jsx(On,{_label:"Label (open)",_open:!0,children:"Content"}),t.jsx(On,{_disabled:!0,_label:"Label (open)",_open:!0,children:"Content"})]})}),t.jsx(Ae,{_label:"Details",_level:0,children:t.jsxs("div",{className:"grid gap-4",children:[t.jsx(hr,{_label:"Label",children:"Content"}),t.jsx(hr,{_disabled:!0,_label:"Label",children:"Content"}),t.jsx(hr,{_label:"Label (open)",_open:!0,children:"Content"}),t.jsx(hr,{_disabled:!0,_label:"Label (open)",_open:!0,children:"Content"})]})}),[We,Ln,De,An,gn,bn,mn,Bn,Le].map(l=>{const c=l.render.displayName;return t.jsx(Ae,{_label:c,_level:0,children:t.jsxs("div",{className:"grid gap-4",children:[t.jsx(l,{_label:"Label"}),t.jsx(l,{_disabled:!0,_label:"Label"}),t.jsx(l,{_hideLabel:!0,_label:"Label"}),t.jsx(l,{_disabled:!0,_hideLabel:!0,_label:"Label"})]})},c)}),[xn,En].map(l=>{const c=l.render.displayName;return t.jsx(Ae,{_label:c,_level:0,children:t.jsxs("div",{className:"grid gap-4",children:[t.jsx(l,{_label:"Label",_options:Wi}),t.jsx(l,{_disabled:!0,_label:"Label",_options:Wi}),t.jsx(l,{_hideLabel:!0,_label:"Label",_options:Wi}),t.jsx(l,{_disabled:!0,_hideLabel:!0,_label:"Label",_options:Wi})]})},c)}),t.jsx(Ae,{_label:"KolTextarea",_level:0,children:t.jsxs("div",{className:"grid gap-4",children:[t.jsx(Ve,{_label:"Label",_rows:3}),t.jsx(Ve,{_disabled:!0,_label:"Label",_rows:3}),t.jsx(Ve,{_hideLabel:!0,_label:"Label",_rows:3}),t.jsx(Ve,{_disabled:!0,_hideLabel:!0,_label:"Label",_rows:3})]})})]})]})},hg=()=>{const e=new Map;return e.set("inputCheckbox",(r,l)=>t.jsx(We,{className:"w-full",_name:"checkbox",_label:"Checkbox",ref:l})),e.set("inputColor",(r,l)=>t.jsx(Ln,{className:"w-full",_name:"color",_label:"Color",ref:l})),e.set("inputDate",(r,l)=>t.jsx(De,{className:"w-full",_name:"date",_label:"Date",ref:l})),e.set("inputEmail",(r,l)=>t.jsx(An,{className:"w-full",_name:"email",_label:"Email",ref:l})),e.set("inputFile",(r,l)=>t.jsx(gn,{className:"w-full",_name:"file",_label:"File",ref:l})),e.set("inputFileMultiple",(r,l)=>t.jsx(gn,{className:"w-full",_name:"file",_label:"Files (multiple)",_multiple:!0,ref:l})),e.set("inputNumber",(r,l)=>t.jsx(bn,{className:"w-full",_name:"number",_label:"Number",ref:l})),e.set("inputPassword",(r,l)=>t.jsx(mn,{className:"w-full",_name:"password",_label:"Password",ref:l})),e.set("inputRadio",(r,l)=>t.jsx(xn,{className:"w-full",_name:"radio",_label:"Radio",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],_value:"A",ref:l})),e.set("inputRange",(r,l)=>t.jsx(Bn,{className:"w-full",_name:"range",_label:"Range",ref:l})),e.set("inputText",(r,l)=>t.jsx(Le,{className:"w-full",_name:"text",_label:"Text",ref:l})),e.set("select",(r,l)=>t.jsx(En,{className:"w-full",_name:"select",_label:"Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],ref:l})),e.set("selectMultiple",(r,l)=>t.jsx(En,{className:"w-full",_name:"select",_label:"Select (multiple)",_multiple:!0,_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],_rows:2,ref:l})),e.set("singleSelect",(r,l)=>t.jsx(Qn,{className:"w-full",_name:"singleSelect",_label:"Single Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],ref:l})),e.set("textarea",(r,l)=>t.jsx(Ve,{className:"w-full",_name:"textarea",_label:"Textarea",_rows:5,ref:l})),e.set("accordion",(r,l)=>t.jsx(On,{className:"w-full",_label:"Accordion here",ref:l})),e.set("button",(r,l)=>t.jsx("div",{children:t.jsx(M,{_label:"Button here",ref:l})})),e.set("buttonLink",(r,l)=>t.jsx(Ge,{_label:"ButtonLink here",ref:l})),e.set("combobox",(r,l)=>t.jsx(xo,{className:"w-full",_label:"KolCombobox here",_suggestions:[],ref:l})),e.set("details",(r,l)=>t.jsx(hr,{className:"w-full",_label:"Details here",ref:l,children:"detailed details"})),e.set("link",(r,l)=>t.jsx(he,{className:"w-full",_label:"Link here",_href:"#",ref:l})),e.set("linkButton",(r,l)=>t.jsx("div",{children:t.jsx(Me,{_label:"LinkButton here",_href:"#",ref:l})})),e},Vv=e=>{const l=[...g.useMemo(()=>hg(),[]).keys()].map(i=>i);return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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&&t.jsx(Xn,{_type:"error",_variant:"card",children:"Component not found."}),t.jsx(J,{_level:2,_label:"Focus Test Cases"}),t.jsx("ul",{children:l.map(i=>t.jsx("li",{children:t.jsx(he,{_label:i,_href:`#/scenarios/focus-elements?component=${i}`})},i))})]})},dE=()=>{const e=g.useRef(null),r=g.useMemo(()=>hg(),[]),[l]=yt(),i=l.get("component");if(g.useLayoutEffect(()=>{setTimeout(()=>{var c;(c=e.current)==null||c.kolFocus()},500)},[e]),i){const c=r.get(i);if(!c)return t.jsx(Vv,{invalidComponent:!0});const d=g.forwardRef(c);return t.jsx(d,{ref:e})}else return t.jsx(Vv,{})},uE=[{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}],fE=[{_icons:"codicon codicon-pie-chart",_label:"Erster Tab"},{_icons:"codicon codicon-calendar",_label:"Zweiter Tab",_disabled:!0},{_icons:"codicon codicon-briefcase",_label:"Deaktivierter Tab",_disabled:!0},{_icons:"codicon codicon-telescope",_label:"Letzter Tab",_disabled:!0}],Wv={horizontal:[[{key:"name",label:"Name",textAlign:"left",width:"400px"},{key:"species",label:"Species",textAlign:"left",width:"400px"},{key:"habitat",label:"Habitat",textAlign:"left",width:"400px"},{key:"diet",label:"Diet",textAlign:"left",width:"400px"},{key:"lifespan",label:"lifespan",textAlign:"right",width:"400px"}]]};function pE(){const[e]=g.useState(()=>{var i;const r=Wv.horizontal[0];let l=0;for(const c of r)l+=parseFloat(((i=c.width)==null?void 0:i.replace("px",""))||"0");return`${l}px`});return t.jsxs(t.Fragment,{children:[t.jsx(O,{}),t.jsxs("div",{className:"mainlayout",children:[t.jsx("aside",{className:"nav-area",children:t.jsx(kt,{_label:"Main navigation",_links:Xu,_hasCompactButton:!0,_hasIconsWhenExpanded:!0})}),t.jsx("div",{className:"content",children:t.jsxs(mr,{_tabs:fE,_align:"top",_label:"Demo Tabs",children:[t.jsx("div",{style:{overflow:"hidden"},children:t.jsx(cn,{_label:"Table for demonstration purposes with horizontal scrollbar",_minWidth:e,_headers:Wv,_data:uE,_pagination:{_page:1},className:"block"})}),t.jsx("div",{}),t.jsx("div",{}),t.jsx("div",{})]})})]})]})}const hE=()=>{const e="Unrecognized phone number.",r="Choose at least two and up to five toppings.",l=["Mushrooms","Bell Peppers","Onions","Olives","Spinach","Tomatoes","Artichokes","Zucchini","Jalapeños","Basil"],i=[{label:"United States +1",value:"1"},{label:"Greece +30 ",value:"30"},{label:"Germany +49",value:"49"},{label:"Japan +81",value:"81"}];return t.jsxs(t.Fragment,{children:[t.jsxs(O,{children:[t.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."}),t.jsx("p",{children:"The sample only demonstrates how the errors can be displayed, an actual validation logic is not part of the example."})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Phone number"}),t.jsx(Xn,{_alert:!0,_type:"error",_label:e}),t.jsxs("div",{className:"grid grid-cols-3 gap-4 max-w-2xl",children:[t.jsx(En,{_options:i,_label:"CountryCode ",_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0}),t.jsx(Le,{_label:"Area code",_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0}),t.jsx(Le,{_label:"Local number",_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0})]})]}),t.jsxs("fieldset",{className:"mt",children:[t.jsx("legend",{children:"Pizza toppings"}),t.jsx(Xn,{_alert:!0,_type:"error",_label:r}),l.map(c=>t.jsx(We,{_label:c,_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0},c))]})]})},bg=g.createContext(void 0),mg=g.createContext(!1),Dn=e=>{const r=g.useRef(),[l,i]=g.useState(void 0),[c,d]=g.useState(e.inputProps._value),f=e.formatter||JSON.stringify,b=g.useContext(bg),h=g.useContext(mg),m=async()=>{var k;const x=await((k=r.current)==null?void 0:k.getValue());i(x)};g.useEffect(()=>{const x=()=>{m()};return b==null||b.addEventListener("runAll",x),()=>{b==null||b.removeEventListener("runAll",x)}},[b]);const _=Object.fromEntries(["onInput","onChange","onBlur","onClick","onFocus","onMouseDown"].map(x=>[x,(k,A)=>{h&&console.log(e.inputProps._label,x,A,k),x==="onInput"&&d(A)}]));return t.jsx(t.Fragment,{children:t.jsxs("div",{className:"grid grid-cols-3 items-end gap-4","data-testid":e.testId,children:[t.jsx(e.InputComponent,{ref:r,_on:_,...e.inputProps,_value:c}),t.jsx(M,{_label:"getValue()",_on:{onClick:()=>{m()}}}),t.jsx("pre",{className:"text-base",children:f(l)})]})})},bE=()=>{const e=g.useMemo(()=>new EventTarget,[]),[r,l]=g.useState(!0);return t.jsx(t.Fragment,{children:t.jsx(bg.Provider,{value:e,children:t.jsxs(mg.Provider,{value:r,children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows how the input components ",t.jsx("code",{children:"getValue()"}),` method works. It's called when clicking the "getValue()" button and prints the current value right next to itself.`]})}),t.jsxs("section",{className:"w-full flex flex-col",children:[t.jsx(Ae,{_label:"Sample options",className:"block ha mb-8",children:t.jsx(We,{_label:"Log events to console",_value:!0,_checked:r,_on:{onChange:(i,c)=>l(c)}})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(Dn,{testId:"scenario-inputText",InputComponent:Le,inputProps:{_label:"InputText"}}),t.jsx(Dn,{testId:"scenario-inputCheckboxString",InputComponent:We,inputProps:{_label:"KolInputCheckbox (value)",_value:"Checkbox True Value"}}),t.jsx(Dn,{testId:"scenario-inputCheckboxBoolean",InputComponent:We,inputProps:{_label:"KolInputCheckbox (boolean)"}}),t.jsx(Dn,{testId:"scenario-inputColor",InputComponent:Ln,inputProps:{_label:"KolInputColor"}}),t.jsx(Dn,{testId:"scenario-inputDate",InputComponent:De,inputProps:{_label:"KolInputDate"}}),t.jsx(Dn,{testId:"scenario-inputEmail",InputComponent:An,inputProps:{_label:"KolInputEmail"}}),t.jsx(Dn,{testId:"scenario-inputFile",InputComponent:gn,inputProps:{_label:"KolInputFile"},formatter:i=>i instanceof FileList?`FileList{${Array.from(i).map(c=>c.name).join(", ")}}`:JSON.stringify(i)}),t.jsx(Dn,{testId:"scenario-inputNumber",InputComponent:bn,inputProps:{_label:"KolInputNumber"}}),t.jsx(Dn,{testId:"scenario-inputPassword",InputComponent:mn,inputProps:{_label:"KolInputPassword"}}),t.jsx(Dn,{testId:"scenario-inputRange",InputComponent:Bn,inputProps:{_label:"KolInputRange"}}),t.jsx(Dn,{testId:"scenario-inputRadio",InputComponent:xn,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"}}),t.jsx(Dn,{testId:"scenario-select",InputComponent:En,inputProps:{_label:"KolSelect",_options:[{label:"New York",value:"New York"},{label:"Rio de Janeiro",value:"Rio de Janeiro"},{label:"Rosenheim",value:"Rosenheim"}]}}),t.jsx(Dn,{testId:"scenario-singleSelect",InputComponent:Qn,inputProps:{_label:"KolSingleSelect",_options:[{label:"New York",value:"New York"},{label:"Rio de Janeiro",value:"Rio de Janeiro"},{label:"Rosenheim",value:"Rosenheim"}],_value:"Rosenheim"}}),t.jsx(Dn,{testId:"scenario-combobox",InputComponent:xo,inputProps:{_label:"KolCombobox",_suggestions:Do,_value:"Deutschland"}}),t.jsx(Dn,{testId:"scenario-textarea",InputComponent:Ve,inputProps:{_label:"KolTextarea"}}),t.jsx(Dn,{testId:"scenario-button",InputComponent:M,inputProps:{_label:"KolButton",_variant:"ghost",_value:"KolButton value"}}),t.jsx(Dn,{testId:"scenario-buttonLink",InputComponent:Ge,inputProps:{_label:"KolButtonLink",_value:"KolButtonLink value"}}),t.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[t.jsx("div",{}),t.jsx(M,{_label:"Run all",_variant:"primary",_on:{onClick:()=>{e.dispatchEvent(new Event("runAll"))}}})]})]})]})]})})})},mE=333,vE=new Array(mE).fill(0).map((e,r)=>r+1),kE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This example renders many KoliBri components to show the performance."})}),t.jsx("div",{className:"w-full grid gap-4",children:vE.map(e=>t.jsxs("div",{className:"flex flex-wrap items-end gap-4",children:[t.jsx(Le,{_label:`TextInput #${e}`}),t.jsx(bn,{_label:`NumberInput #${e}`}),t.jsx(We,{_label:`Checkbox #${e}`})]},e))})]}),_E=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsxs("div",{className:"w-full flex flex-wrap gap-4",children:[t.jsx(M,{_icons:"codicon codicon-home",_label:"Button",_on:r}),t.jsx(M,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Button",_on:r}),t.jsx(Me,{_href:"#",_icons:"codicon codicon-home",_label:"Link-Button",_on:r}),t.jsx(Me,{_hideLabel:!0,_href:"#",_icons:"codicon codicon-home",_label:"Link-Button",_on:r}),t.jsx(xo,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Combobox",_suggestions:[]}),t.jsx(Ln,{_hideLabel:!0,_icons:{left:"codicon codicon-home"},_label:"Input-Color"}),t.jsx(gn,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Input-File"}),t.jsx(De,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Input-Date"}),t.jsx(An,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Input-Email"}),t.jsx(bn,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Input-Number"}),t.jsx(mn,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Input-Password"}),t.jsx(Bn,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Input-Range"}),t.jsx(Le,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Input-Text"}),t.jsx(En,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Combobox",_options:[]}),t.jsx(Qn,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Combobox",_options:[]}),t.jsx(Ve,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Combobox"})]})]})},gE=()=>{const{searchParams:e}=new URL(location.href);return t.jsxs(t.Fragment,{children:[t.jsxs(O,{children:[t.jsx("p",{children:"This sample shows how KoliBri can be used in a static form context."}),t.jsxs("ol",{children:[t.jsxs("li",{children:["First you have to enable the ",t.jsx("code",{children:"experimental mode"}),":"," ",t.jsx("code",{className:"bg-gray-200",children:'<meta name="kolibri" content="dev-mode=false;experimental-mode=true;" />'})]}),t.jsxs("li",{children:["Currently you have to use a native ",t.jsx("code",{children:"form"})," element:"," ",t.jsx("code",{className:"bg-gray-200",children:'<form method="GET">...</form>'})]}),t.jsxs("li",{children:["It is important in static usage to give every input a ",t.jsx("code",{children:"name"})," attribute:"," ",t.jsx("code",{className:"bg-gray-200",children:'<KolInputColor _name="color" _label="Color" />'})]}),t.jsxs("li",{children:["Last of all one button should have the type ",t.jsx("code",{children:"submit"}),":"," ",t.jsx("code",{className:"bg-gray-200",children:'<KolButton _label="Submit" _type="submit" _variant="primary" />'})]})]})]}),t.jsxs("section",{className:"w-full flex flex-col",children:[e.size>0&&t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Submitted data"}),t.jsx("pre",{className:"text-base",children:t.jsx("code",{children:JSON.stringify(Object.fromEntries(e.entries()),null,2)})})]}),t.jsxs("form",{className:"grid gap-4",method:"get",noValidate:!0,children:[t.jsx(We,{_name:"checkbox",_label:"Checkbox"}),t.jsx(Ln,{_name:"color",_label:"Color"}),t.jsx(De,{_name:"date",_label:"Date"}),t.jsx(An,{_name:"email",_label:"Email"}),t.jsx(gn,{_name:"file",_label:"File"}),t.jsx(gn,{_name:"file",_label:"Files (multiple)",_multiple:!0}),t.jsx(bn,{_name:"number",_label:"Number"}),t.jsx(mn,{_name:"password",_label:"Password"}),t.jsx(xn,{_name:"radio",_label:"Radio",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),t.jsx(Bn,{_name:"range",_label:"Range"}),t.jsx(Le,{_name:"text",_label:"Text"}),t.jsx(En,{_name:"select",_label:"Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),t.jsx(En,{_name:"select",_label:"Select (multiple)",_multiple:!0,_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],_rows:2}),t.jsx(Qn,{_name:"singleSelect",_label:"Single Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),t.jsx(xo,{_name:"combobox",_label:"Combobox",_suggestions:Do}),t.jsx(Ve,{_name:"textarea",_label:"Textarea",_rows:5}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_label:"Submit",_type:"submit",_variant:"primary"}),t.jsx(M,{_label:"Reset",_type:"reset"})]}),t.jsx("input",{type:"hidden",value:crypto.randomUUID(),name:"random"})]})]})]})},xE={scenarios:{"custom-tooltip-width":sE,"disabled-interactive-scenario":cE,"focus-elements":dE,"input-group-with-error":hE,"inputs-get-value":bE,"static-form":gE,"table-horizontal-scrollbar-advanced":pE,"change-tabindex":iE,"same-height-of-all-interactive-elements":_E,"performance-test":kE}},ca=[{label:"No salutation",value:""},{label:"Mrs.",value:"Mrs."},{label:"Mr.",value:"Mr."},{label:"Divers",value:"Divers"}],yE=ca.map((e,r)=>r===0?{label:"Select salutation",value:"",disabled:!0}:e),wE=go.reduce((e,r)=>{const l=r.label.charAt(0).toUpperCase();return e[l]||(e[l]={label:l,options:[]}),e[l].options.push({label:r.label,value:r.label}),e},{}),qv=Object.values(wE),Gv=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx(En,{...r,ref:l,_accessKey:"a",_options:ca,_label:"Salutation",_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}}}),t.jsx(En,{...r,_options:ca,_label:"Disabled",_disabled:!0}),t.jsx(En,{...r,_options:yE,_label:"Salutation with error",_msg:{_type:"error",_description:$e},_touched:!0}),t.jsx(En,{...r,_options:go,_label:"Multiple choice",_multiple:!0}),t.jsx(En,{...r,_options:go,_label:"Multiple choice with error",_multiple:!0,_required:!0,_msg:{_type:"error",_description:$e},_hint:oo,_touched:!0}),t.jsx(En,{...r,_options:ca,_label:"With access key",_accessKey:"c"}),t.jsx(En,{...r,_options:ca,_label:"With short key",_shortKey:"s"}),t.jsx(En,{...r,_options:qv,_label:"With grouped by first letter",_value:["Albanien"]}),t.jsx(En,{...r,_options:qv,_label:"With grouped by first letter (multiple)",_multiple:!0,_value:["Albanien"]})]})}),zE=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text"}),t.jsx(Gv,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text (hideLabel)"}),t.jsx(Gv,{ref:l,...r,_hideLabel:!0})]})]})}),jE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolSelect renders a select field. The sample shows KolSelect in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:zE,showButtons:!1})]}),Zv={select:{basic:jE}},SE=()=>t.jsxs("div",{className:"grid gap-4",children:[t.jsxs(O,{children:[t.jsx("p",{children:"KolSkipNav renders a list of navigation links that are visually hidden by default and only visible on focus."}),t.jsx("p",{children:"For testing purposes, click into the example and press the tab-key in order to focus the first link."})]}),t.jsx($x,{_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"}]})]}),TE={"skip-nav":{basic:SE}},CE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:'KolSpin renders a loading indicator. This sample shows the default variant "dot".'})}),t.jsx(_u,{_show:!0})]}),LE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows a custom loading animation. Using the expert slot, it is possible to insert custom animations. Custom animations are not necessarily barrier-free."})}),t.jsx(_u,{_show:!0,_variant:"none",children:t.jsx("span",{slot:"expert",className:"loader"})})]}),AE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:'This sample shows the KolSpin variant "cycle".'})}),t.jsx(_u,{_show:!0,_variant:"cycle"})]}),EE={spin:{basic:CE,cycle:AE,custom:LE}},$E=()=>{const e=Gr.getInstance(document),r=()=>{e.enqueue({description:"The Button has been clicked.",label:"Button Clicked",type:"info"})};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"SplitButton renders a button with an additional context-menu, that can be opened by clicking the arrow icon. The first sample shows the button with an assigned action. In the second sample no action is assigned and clicking the button opens the context menu instead."})}),t.jsxs("div",{className:"flex gap-4",children:[t.jsx(bt,{_label:"Only the arrow opens",_on:{onClick:r},children:"Dropdown contents"}),t.jsx(bt,{_label:"Button without visible label",_hideLabel:!0,_icons:"codicon codicon-git-pull-request",children:"Dropdown contents"})]})]})},IE=()=>{const e=g.useRef(),r=()=>{var l;(l=e.current)==null||l.closePopup()};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"SplitButton renders a button with an additional context-menu, that can be opened by clicking the arrow icon."})}),t.jsx("div",{className:"flex gap-4",children:t.jsx(bt,{ref:e,_label:"Only the arrow opens",children:t.jsxs("div",{style:{width:300,padding:16,border:"1px solid #ccc"},onClick:l=>l.stopPropagation(),children:[t.jsx("p",{children:"SplitButton renders a button with an additional context-menu, that can be opened by clicking the arrow icon."}),t.jsxs("div",{style:{gap:16,display:"flex",flexDirection:"column"},children:[t.jsx(Le,{_label:"User"}),t.jsx(Le,{_label:"Role"}),t.jsx(M,{_label:"Close",_on:{onClick:r}})]})]})})})]})},NE={"split-button":{basic:$E,"with-context":IE}},ef=Intl.DateTimeFormat("de-DE",{day:"2-digit",month:"2-digit",year:"numeric"}),Vr=[{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")}],Od={horizontal:[[{label:"Order",key:"order"},{label:"Date",key:"date",render:(e,r,l)=>ef.format(l.date)}]]},Pd={_page:2},RE=()=>t.jsxs("div",{className:"w-full grid gap-14",children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateful with different pagination positions."})}),t.jsxs("section",{className:"w-full flex flex-col gap-14",children:[t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Table with pagination at the bottom."}),t.jsx(cn,{_label:"Sample table with pagination at the bottom",_minWidth:"auto",_data:Vr,_headers:Od,_pagination:Pd,_paginationPosition:"bottom"})]}),t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Table with pagination at the top."}),t.jsx(cn,{_label:"Sample table with pagination at the top",_minWidth:"auto",_data:Vr,_headers:Od,_pagination:Pd,_paginationPosition:"top"})]}),t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Table with pagination at both top and bottom."}),t.jsx(cn,{_label:"Sample table with pagination at both top and bottom",_minWidth:"auto",_data:Vr,_headers:Od,_pagination:Pd,_paginationPosition:"both"})]})]})]}),qi=[{left:"Left Example",center:"Center Example",right:"Right Example"}],ia=()=>0,BE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateful with columns headers and data in different text alignments."})}),t.jsxs("section",{className:"w-full flex flex-col",children:[t.jsx(J,{_label:"Simple table",_level:3}),t.jsx(cn,{_label:"Table for demonstration purposes with different text align properties",_minWidth:"auto",_headers:{horizontal:[[{label:"left",key:"left",textAlign:"left"},{label:"center",key:"center",textAlign:"center"},{label:"right",key:"right",textAlign:"right"}]]},_data:qi,className:"block",style:{maxWidth:"600px"}}),t.jsx(J,{_label:"Table with sortable columns",_level:3,className:"block mt-6"}),t.jsx(cn,{_label:"Table for demonstration purposes with sortable columns",_minWidth:"auto",_headers:{horizontal:[[{label:"left",key:"left",textAlign:"left",compareFn:ia},{label:"center",key:"center",textAlign:"center",compareFn:ia},{label:"right",key:"right",textAlign:"right",compareFn:ia}]]},_data:qi,className:"block",style:{maxWidth:"600px"}}),t.jsx(J,{_label:"Table some sortable columns",_level:3,className:"block mt-6"}),t.jsx(cn,{_label:"Table for demonstration purposes with some but not all columns sortable",_minWidth:"auto",_headers:{horizontal:[[{label:"left",key:"left",textAlign:"left",compareFn:ia},{label:"center",key:"center",textAlign:"center",compareFn:ia},{label:"right",key:"right",textAlign:"right"}]]},_data:qi,className:"block",style:{maxWidth:"600px"}}),t.jsx(J,{_label:"Table with vertical heading",_level:3,className:"block mt-6"}),t.jsx(cn,{_label:"Table for demonstration purposes with vertical heading",_minWidth:"auto",_headers:{horizontal:[[{label:"left",key:"left",textAlign:"left"},{label:"center",key:"center",textAlign:"center"},{label:"right",key:"right",textAlign:"right"}]],vertical:[[{label:"Vertical"}]]},_data:qi,className:"block",style:{maxWidth:"600px"}})]})]}),OE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateful using vertical and horizontal headers, applying colspan and rowspan."})}),t.jsx("section",{className:"w-full flex flex-col",children:t.jsx(cn,{_label:"Business hours",_minWidth:"auto",_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"}],_headers:{vertical:[[{label:"Berlin",rowSpan:2},{label:"München"}]],horizontal:[[{label:"District",rowSpan:2,key:"asp"},{label:"Workdays",colSpan:5},{label:"Weekend",colSpan:2}],[{label:"Monday",key:"monday"},{label:"Tuesday",key:"tuesday"},{label:"Wednesday",key:"wednesday"},{label:"Thursday",key:"thursday"},{label:"Friday",key:"friday"},{label:"Saturday",key:"saturday"},{label:"Sunday",key:"sunday"}]]}})})]}),Yv=[{small:"Small Example",large:"Larger Example"}],Md={horizontal:[[{label:"Large Column",key:"large",textAlign:"left",width:"300px"},{label:"Small Column",key:"small",textAlign:"left",width:"200px"},{label:"Larger Column",key:"large",textAlign:"left",width:"400px"},{label:"Larger Column",key:"large",textAlign:"left",width:"400px"}]]},PE=()=>{const[e,r]=g.useState(!0);return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsxs("section",{className:"w-full flex flex-col gap-4",children:[t.jsx(J,{_label:"Table with scrollbar",_level:2}),t.jsx(cn,{_label:"Table for demonstration purposes with horizontal scrollbar.",_minWidth:e?"600px":"300px",_headers:Md,_data:Yv,className:"block",style:{width:"400px"}}),t.jsx(J,{_label:"Empty Table with scrollbar",_level:3}),t.jsx(cn,{_label:"Table for demonstration purposes with horizontal scrollbar with auto minWidth.",_minWidth:e?"600px":"300px",_headers:Md,_data:[],className:"block",style:{width:"400px"}}),t.jsx(We,{_checked:e,_label:"Toggle width restriction",_variant:"switch",_on:{onChange:(l,i)=>{r(!!i)}}}),t.jsx(J,{_label:"Same table without scrollbar",_level:2,className:"block mt-4"}),t.jsx("p",{className:"mt-0",children:t.jsx("i",{children:"Scrollbar appears on very small viewport sizes"})}),t.jsx(cn,{_label:"Table for demonstration purposes without horizontal scrollbar",_minWidth:"600px",_headers:Md,_data:Yv,className:"block"})]})]})},ME=[{order:0,shipped:!1,date:new Date("1981-05-26T21:33:43.612Z")},{order:1,shipped:!0,date:new Date("1971-04-25T19:44:17.014Z")},{order:2,shipped:!1,date:new Date("1986-07-10T11:39:29.539Z")}];function DE({label:e,icons:r}){const{dummyClickEventHandler:l}=jn(),i={onClick:l};return t.jsx(M,{_label:e,_icons:r,_on:i})}const FE={horizontal:[[{label:"#",key:"order",textAlign:"center",width:"10em",render:(e,r)=>`Index: ${r.label}`},{label:"Status",key:"shipped",textAlign:"center",width:"10em",render:(e,r)=>{r.label?e.textContent="Order has been dispatched 🚚":e.textContent="Order pending 📦"}},{label:"Date (string)",key:"date",width:"20em",textAlign:"center",render:(e,r)=>{e.innerHTML=`<strong>${ef.format(r.label)}</strong>`},compareFn:(e,r)=>e.date.getTime()-r.date.getTime()},{label:"Action (react)",width:"20em",render:e=>{qn(qr(e)).render(t.jsxs("div",{style:{display:"grid",gridAutoFlow:"column",alignItems:"end",gap:"1rem",maxWidth:"400px"},children:[t.jsx(Le,{_label:"Input"}),t.jsx(DE,{label:"Save",icons:{left:"codicon codicon-save"}})]}))}}]]},KE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateful using React render functions for the cell contents."})}),t.jsx(cn,{_label:"Sort by date column",_minWidth:"auto",_data:ME,_headers:FE,className:"w-full"})]}),vg=Intl.DateTimeFormat("de-DE",{day:"2-digit",month:"2-digit",year:"numeric"}),HE={horizontal:[[{label:"order",key:"order",textAlign:"center"},{label:"date",textAlign:"center",render:(e,r,l)=>vg.format(l.date),compareFn:(e,r)=>e.date<r.date?-1:r.date<e.date?1:0}]]},UE={vertical:[[{label:"order",key:"order",textAlign:"center"},{label:"date",textAlign:"center",render:(e,r,l)=>vg.format(l.date),compareFn:(e,r)=>e.date<r.date?-1:r.date<e.date?1:0}]]},VE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:'This sample shows KolTableStateful with sortable columns. The sort-order can be changed by clicking the "date" header column.'})}),t.jsxs("section",{className:"w-full grid gap-4",children:[t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Vertical headers"}),t.jsx(cn,{_label:"Sort a date column",_minWidth:"auto",_data:Vr.slice(0,10),_headers:UE,className:"block"})]}),t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Horizontal headers"}),t.jsx(cn,{_label:"Sort a date column",_minWidth:"auto",_data:Vr,_headers:HE,className:"block"})]})]})]}),WE=[{left:"Left Example",center:"Center Example",right:"Right Example"},{},{},{}],qE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows how KolTableStateless can be used directly, with the KolTableStateful wrapper."})}),t.jsx("section",{className:"w-full",children:t.jsx(pa,{_label:"Table for demonstration purposes",_minWidth:"auto",_headerCells:{horizontal:[[{key:"left",label:"left",textAlign:"left",sortDirection:"ASC"},{key:"center",label:"center",textAlign:"center",sortDirection:"DESC"},{key:"right",label:"right",textAlign:"right",sortDirection:"NOS"},{key:"nosort",label:"no sort option"}]],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:WE,className:"block",style:{maxWidth:"600px"},_on:{onSort:(e,r)=>{console.log(r)}}})})]}),GE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateful with footer data."})}),t.jsx(cn,{className:"w-full",_label:"Business hours",_minWidth:"auto",_headers:{horizontal:[[{label:"District",key:"asp"},{label:"Monday",key:"monday"},{label:"Tuesday",key:"tuesday"},{label:"Wednesday",key:"wednesday"},{label:"Thursday",key:"thursday"},{label:"Friday",key:"friday"}]]},_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"}]})]}),ZE=[{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 YE({label:e}){const{dummyClickEventHandler:r}=jn(),l={onClick:r};return t.jsx(M,{_label:e,_on:l})}const JE=()=>{const[e,r]=g.useState(),l={label:h=>`Selection for ${h.name}`,selectedKeys:e?e.map(h=>h.internalIdentifier):["AAA1004"],disabledKeys:["AAA1003","AAA1004"],keyPropertyName:"internalIdentifier"},i=g.useRef(null),c=({detail:h})=>{console.log("Selection change via event",h)},d=(h,m)=>{console.log("Selection change via callback",m)},f=async()=>{var m;const h=await((m=i.current)==null?void 0:m.getSelection());r(h)};g.useEffect(()=>{var h;return(h=i.current)==null||h.addEventListener(Zo.selectionChange,c),()=>{var m;(m=i.current)==null||m.removeEventListener(Zo.selectionChange,c)}},[i]);const b=(h,m)=>{var _;qn(qr(h)).render(t.jsx(YE,{label:`Click ${(_=m.data)==null?void 0:_.id}`}))};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateful with checkboxes for selection enabled."})}),t.jsxs("section",{className:"w-full",children:[t.jsx(cn,{_label:"Table with selection checkboxes",_minWidth:"auto",_headers:{horizontal:[[{key:"id",label:"#ID",textAlign:"left"},{key:"name",label:"Name",textAlign:"left"},{key:"action",label:"Action",textAlign:"left",render:b}]]},_data:ZE,_selection:l,_on:{onSelectionChange:d},className:"block",style:{maxWidth:"600px"},ref:i}),t.jsxs("div",{className:"grid grid-cols-3 items-end gap-4 mt-4",children:[t.jsx(M,{_label:"getSelection()",_on:{onClick:()=>{f()}}}),t.jsx("pre",{className:"text-base",children:JSON.stringify(e,null,2)})]})]})]})},QE=[{id:"1001",name:"Foo Bar",internalIdentifier:"AAA1001"},{id:"1002",name:"Foo Baz",internalIdentifier:"AAA1002"}];function XE({label:e}){const{dummyClickEventHandler:r}=jn(),l={onClick:r};return t.jsx(M,{_label:e,_on:l})}const e$=()=>{const[e,r]=g.useState(),l={label:h=>`Selection for ${h.name}`,multiple:!1,selectedKeys:e?[e.internalIdentifier]:[],keyPropertyName:"internalIdentifier"},i=g.useRef(null),c=({detail:h})=>{console.log("Selection change via event",h)},d=(h,m)=>{console.log("Selection change via callback",m)},f=async()=>{var m;const h=await((m=i.current)==null?void 0:m.getSelection());r(h)};g.useEffect(()=>{var h;return(h=i.current)==null||h.addEventListener(Zo.selectionChange,c),()=>{var m;(m=i.current)==null||m.removeEventListener(Zo.selectionChange,c)}},[i]);const b=(h,m)=>{var _;qn(qr(h)).render(t.jsx(XE,{label:`Click ${(_=m.data)==null?void 0:_.id}`}))};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateful with radio buttons for selection enabled."})}),t.jsxs("section",{className:"w-full",children:[t.jsx(cn,{_label:"Table with selection radio",_minWidth:"auto",_headers:{horizontal:[[{key:"id",label:"#ID",textAlign:"left"},{key:"name",label:"Name",textAlign:"left"},{key:"action",label:"Action",textAlign:"left",render:b}]]},_data:QE,_selection:l,_on:{onSelectionChange:d},className:"block",style:{maxWidth:"600px"},ref:i}),t.jsxs("div",{className:"grid grid-cols-3 items-end gap-4 mt-4",children:[t.jsx(M,{_label:"getSelection()",_on:{onClick:()=>{f()}}}),t.jsx("pre",{className:"text-base",children:JSON.stringify(e,null,2)})]})]})]})},n$=[{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 o$({label:e}){const{dummyClickEventHandler:r}=jn(),l={onClick:r};return t.jsx(M,{_label:e,_on:l})}const r$=()=>{const[e,r]=g.useState(["AAA1002","AAA1004"]),l={label:b=>`Selection for ${b.name}`,selectedKeys:e,keyPropertyName:"internalIdentifier",disabledKeys:["AAA1003","AAA1004"]},i=g.useRef(null),c=({detail:b})=>{console.log("Selection change via event",b)},d=(b,h)=>{console.log("Selection change via callback",h),r(typeof h=="string"?[h]:h)};g.useEffect(()=>{var b;return(b=i.current)==null||b.addEventListener(Zo.selectionChange,c),()=>{var h;(h=i.current)==null||h.removeEventListener(Zo.selectionChange,c)}},[i]);const f=(b,h)=>{var m;qn(qr(b)).render(t.jsx(o$,{label:`Click ${(m=h.data)==null?void 0:m.id}`}))};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateless with checkboxes for selection enabled."})}),t.jsx("section",{className:"w-full",children:t.jsx(pa,{_label:"Table with selection checkboxes",_minWidth:"auto",_headerCells:{horizontal:[[{key:"id",label:"#ID",textAlign:"left"},{key:"name",label:"Name",textAlign:"left"},{key:"action",label:"Action",textAlign:"left",render:f}]]},_data:n$,_selection:l,_on:{onSelectionChange:d},className:"block",style:{maxWidth:"600px"},ref:i})})]})},t$=[{id:"1001",name:"Foo Bar",internalIdentifier:"AAA1001"},{id:"1002",name:"Foo Baz",internalIdentifier:"AAA1002"},{id:"1003",name:"Foo Disabled",internalIdentifier:"AAA1003"}];function l$({label:e}){const{dummyClickEventHandler:r}=jn(),l={onClick:r};return t.jsx(M,{_label:e,_on:l})}const a$=()=>{const[e,r]=g.useState(["1002"]),l={label:b=>`Selection for ${b.name}`,multiple:!1,selectedKeys:e,disabledKeys:["AAA1003"],keyPropertyName:"internalIdentifier"},i=g.useRef(null),c=({detail:b})=>{console.log("Selection change via event",b)},d=(b,h)=>{console.log("Selection change via callback",h),r(typeof h=="string"?[h]:h)};g.useEffect(()=>{var b;return(b=i.current)==null||b.addEventListener(Zo.selectionChange,c),()=>{var h;(h=i.current)==null||h.removeEventListener(Zo.selectionChange,c)}},[i]);const f=(b,h)=>{var m;qn(qr(b)).render(t.jsx(l$,{label:`Click ${(m=h.data)==null?void 0:m.id}`}))};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateless with checkboxes for selection enabled."})}),t.jsx("section",{className:"w-full",children:t.jsx(pa,{_label:"Table with selection checkboxes",_minWidth:"auto",_headerCells:{horizontal:[[{key:"id",label:"#ID",textAlign:"left"},{key:"name",label:"Name",textAlign:"left"},{key:"action",label:"Action",textAlign:"left",render:f}]]},_data:t$,_selection:l,_on:{onSelectionChange:d},className:"block",style:{maxWidth:"600px"},ref:i})})]})},i$={horizontal:[[{label:"Order",key:"order"},{label:"Date",key:"date",render:(e,r,l)=>ef.format(l.date)}]]},s$={_page:2},c$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows how KolTableStateful can be navigated using a pagination."})}),t.jsx("div",{className:"w-full",children:t.jsx(cn,{_label:"Table description",_minWidth:"auto",_data:Vr,_headers:i$,_pagination:s$})})]});function d$({_on:e,...r}){const{dummyClickEventHandler:l}=jn(),i={onClick:l};return t.jsx(M,{...r,_on:i})}const sa=e=>{const r=e.charAt(0).toUpperCase()+e.slice(1);return{label:r,key:e,textAlign:"left",render:(l,i)=>{const c={_label:r,_variant:e,_icons:{right:"codicon codicon-squirrel"}};qn(qr(l)).render(i.label==="button"?t.jsx(d$,{...c}):t.jsx(Me,{_href:"#/back-page",...c}))}}},u$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsxs("section",{className:"w-full flex flex-col",children:[t.jsx(pa,{_label:"Button styles",_minWidth:"auto",_headerCells:{horizontal:[[sa("primary"),sa("secondary"),sa("normal"),sa("danger"),sa("ghost")]],vertical:[[{label:"Button"},{label:"Link-Button"}]]},_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"}),t.jsx(pa,{_label:"Link styles",_minWidth:"auto",_headerCells:{horizontal:[[{key:"regular",label:"Regular",textAlign:"left",render:(e,r)=>{const l={_label:r.label,_icons:{right:"codicon codicon-squirrel"}};qn(qr(e)).render(r.label==="button-link"?t.jsx(Ge,{...l}):t.jsx(he,{_href:"#/back-page",...l}))}}]],vertical:[[{label:"Link"},{label:"Button-Link"}]]},_data:[{regular:"link"},{regular:"button-link"}],className:"block mt"})]})]}),kg=Intl.DateTimeFormat("de-DE",{day:"2-digit",month:"2-digit",year:"numeric"}),f$={horizontal:[[{label:"order",key:"order",textAlign:"center",compareFn:(e,r)=>e.order<r.order?-1:r.order<e.order?1:0},{label:"date",key:"date",textAlign:"center",render:(e,r,l)=>kg.format(l.date),compareFn:(e,r)=>e.date<r.date?-1:r.date<e.date?1:0}]]},p$={vertical:[[{label:"order",key:"order",textAlign:"center",compareFn:(e,r)=>e.order<r.order?-1:r.order<e.order?1:0},{label:"date",key:"date",textAlign:"center",render:(e,r,l)=>kg.format(l.date),compareFn:(e,r)=>e.date<r.date?-1:r.date<e.date?1:0}]]},h$=()=>{const[e,r]=g.useState(!1),[l,i]=g.useState(!0);return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:'This sample shows KolTableStateful with multi-sort functionality, allowing sorting by both "order" and "date" columns.'})}),t.jsxs("section",{className:"w-full grid gap-4",children:[t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Vertical"}),t.jsx(We,{_checked:e,_label:"Allow Multi-Sort",_variant:"switch",_on:{onChange:(c,d)=>r(!!d)}}),t.jsx(cn,{_label:"Sort Table with Order and Date",_minWidth:"auto",_data:Vr.slice(0,10),_headers:p$,className:"block",_allowMultiSort:e})]}),t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Horizontal"}),t.jsx(We,{_checked:l,_label:"Allow Multi-Sort",_variant:"switch",_on:{onChange:(c,d)=>i(!!d)}}),t.jsx(cn,{_label:"Sort Table with Order and Date",_minWidth:"auto",_data:Vr,_headers:f$,className:"block",_allowMultiSort:l})]})]})]})},b$=[{columnA:"Column A",columnB:"Column B",columnC:"Column C"}],m$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This example shows the table with predefined settings."})}),t.jsx(cn,{_label:"Table for demonstration purposes with predefined settings",_minWidth:"auto",_headers:{horizontal:[[{label:"column A",key:"columnA"},{label:"column B",key:"columnB"},{label:"column C",key:"columnC"}]]},_tableSettings:{columns:[{key:"columnA",visible:!1,label:"Column A",position:2},{key:"columnB",visible:!0,label:"Column B",position:1,width:20},{key:"columnC",visible:!0,label:"Column C",position:0,width:45}]},_data:b$,"_min-width":"500px",className:"block",style:{maxWidth:"600px"}})]}),v$={table:{"column-alignment":BE,"complex-headers":OE,"horizontal-scrollbar":PE,"interactive-child-elements":u$,"multi-sort":h$,"pagination-position":RE,"predefined-settings":m$,"render-cell":KE,"sort-data":VE,"stateful-with-selection":JE,"stateful-with-single-selection":e$,stateless:qE,"stateless-with-selection":r$,"stateless-with-single-selection":a$,"with-footer":GE,"with-pagination":c$}},_g=[{_icons:"codicon codicon-pie-chart",_label:"First tab",_on:{onSelect:e=>{console.log("First tab selected",e)}}},{_icons:"codicon codicon-calendar",_label:"Second Tab"},{_disabled:!0,_icons:"codicon codicon-briefcase",_label:"Disabled Tab"},{_icons:"codicon codicon-telescope",_label:"Last tab"}],k$=_g.map(e=>({...e,_icons:void 0})),_$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolTabs renders tab captions and their associated content. This sample shows tab captions with and without icons and disabled tabs."})}),t.jsxs(mr,{_tabs:k$,_label:"Regular tabs",children:[t.jsx("div",{slot:"tab-0",children:"Contents of Tab 1"}),t.jsx("div",{slot:"tab-1",children:"Contents of Tab 2"}),t.jsx("div",{slot:"tab-2",children:"Contents of Tab 3"}),t.jsx("div",{slot:"tab-3",children:"Contents of Tab 4"})]}),t.jsxs(mr,{_tabs:_g,className:"mt-4",_label:"Tabs with icons",children:[t.jsx("div",{slot:"tab-0",children:"Contents of Tab 1"}),t.jsx("div",{slot:"tab-1",children:"Contents of Tab 2"}),t.jsx("div",{slot:"tab-2",children:"Contents of Tab 3"}),t.jsx("div",{slot:"tab-3",children:"Contents of Tab 4"})]})]}),g$=[{_icons:"codicon codicon-pie-chart",_label:"First tab",_on:{onSelect:e=>{console.log("First tab selected",e)}}},{_icons:"codicon codicon-calendar",_label:"Second Tab"},{_disabled:!0,_icons:"codicon codicon-briefcase",_label:"Disabled Tab"},{_icons:"codicon codicon-telescope",_label:"Last tab"}],x$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows KolTabs with the property ",t.jsx("code",{children:"_align"})," set to ",t.jsx("code",{children:"left"}),", ",t.jsx("code",{children:"right"}),", ",t.jsx("code",{children:"top"})," and ",t.jsx("code",{children:"bottom"}),"."]})}),t.jsx("div",{className:"grid gap-8",children:["left","right","top","bottom"].map(e=>{const r=`Tabs with ${e} align`;return t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:r}),t.jsxs(mr,{_tabs:g$,_align:e,_label:r,children:[t.jsx("div",{slot:"tab-0",children:"Contents of Tab 1"}),t.jsx("div",{slot:"tab-1",children:"Contents of Tab 2"}),t.jsx("div",{slot:"tab-2",children:"Contents of Tab 3"}),t.jsx("div",{slot:"tab-3",children:"Contents of Tab 4"})]})]},e)})})]}),y$=[{_icons:"codicon codicon-pie-chart",_label:"First Tab",_hideLabel:!0},{_icons:"codicon codicon-calendar",_label:"Second Tab",_hideLabel:!0},{_disabled:!0,_icons:"codicon codicon-briefcase",_label:"Disabled Tab",_hideLabel:!0},{_icons:"codicon codicon-telescope",_label:"Last Tab",_hideLabel:!0}],w$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTabs with hidden labels."})}),t.jsxs(mr,{_label:"Tabs with icons",_tabs:y$,children:[t.jsx("div",{slot:"tab-0",children:"Contents of Tab 1"}),t.jsx("div",{slot:"tab-1",children:"Contents of Tab 2"}),t.jsx("div",{slot:"tab-2",children:"Contents of Tab 3"}),t.jsx("div",{slot:"tab-3",children:"Contents of Tab 4"})]})]}),Jv=[{_icons:"codicon codicon-pie-chart",_label:"First tab",_on:{onSelect:e=>{console.log("First tab selected",e)}}},{_icons:"codicon codicon-calendar",_label:"Second Tab"},{_disabled:!0,_icons:"codicon codicon-briefcase",_label:"Disabled Tab"},{_icons:"codicon codicon-telescope",_label:"Last tab"}],z$=()=>t.jsxs(t.Fragment,{children:[t.jsxs(O,{children:[t.jsxs("p",{children:["This sample shows KolTabs with the property ",t.jsx("code",{children:"_behavior"})," set to ",t.jsx("code",{children:"select-manual"})," and ",t.jsx("code",{children:"select-automatic"}),"."]}),t.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."})]}),t.jsxs("div",{className:"grid gap-8",children:[t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:'Tabs with "select manual" behavior'}),t.jsxs(mr,{_tabs:Jv,_behavior:"select-manual",_label:"Tabs with select manual behavior",children:[t.jsx("div",{slot:"tab-0",children:"Contents of Tab 1"}),t.jsx("div",{slot:"tab-1",children:"Contents of Tab 2"}),t.jsx("div",{slot:"tab-2",children:"Contents of Tab 3"}),t.jsx("div",{slot:"tab-3",children:"Contents of Tab 4"})]})]}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:'Tabs with "select automatic" behavior'}),t.jsxs(mr,{_tabs:Jv,className:"mt-4",_behavior:"select-automatic",_label:"Tabs with select automatic behavior",children:[t.jsx("div",{slot:"tab-0",children:"Contents of Tab 1"}),t.jsx("div",{slot:"tab-1",children:"Contents of Tab 2"}),t.jsx("div",{slot:"tab-2",children:"Contents of Tab 3"}),t.jsx("div",{slot:"tab-3",children:"Contents of Tab 4"})]})]})]})]}),j$=()=>{const[e,r]=g.useState([{_label:"First tab"},{_label:"Second Tab"}]),l=()=>{r([...e,{_label:`Tab #${e.length+1}`}])};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:'This sample shows KolTabs with a "create tab" button.'})}),t.jsxs(mr,{_tabs:e,className:"mt-4",_label:"Tabs with create button",_hasCreateButton:!0,_on:{onCreate:l},children:[e.map((i,c)=>t.jsxs("div",{slot:`tab-${c}`,children:["Contents of ",i._label]},`tab-${c}`)),t.jsx("div",{slot:"tab-1",children:"Contents of Tab 2"})]})]})},S$={tabs:{basic:_$,"create-button":j$,"icons-only":w$,behavior:z$,align:x$}},T$=`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore
13591
+ avoidance system, which increases availability.`,_variant:"block"})]}),aE={quote:{basic:tE,block:lE}},pg=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"}]'),go=[...pg.map(e=>({label:e.name,value:e.alpha2}))],Do=[...pg.map(e=>e.name)],iE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This example show how different components works with tabIndex."})}),t.jsxs("div",{className:"w-full grid gap-4",children:[t.jsx(Ae,{_label:"Button",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(M,{_label:"Button 1, Tabindex 4",_variant:"primary",tabIndex:4}),t.jsx(M,{_disabled:!0,_label:"Button 2, Tabindex 3",_variant:"primary",tabIndex:3}),t.jsx(M,{_label:"Button 3, Tabindex 2",_variant:"primary",tabIndex:2}),t.jsx(M,{_label:"Button 4, Tabindex 1",_variant:"primary",tabIndex:1})]})}),t.jsx(Ae,{_label:"ButtonLink",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(Ge,{_label:"ButtonLink 1, Tabindex 4",tabIndex:4}),t.jsx(Ge,{_disabled:!0,_label:"ButtonLink 2, Tabindex 3",tabIndex:3}),t.jsx(Ge,{_label:"ButtonLink 3, Tabindex 2",tabIndex:2}),t.jsx(Ge,{_label:"ButtonLink 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"Combobox",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(xo,{_hint:oo,_label:"Combobox 1, Tabindex 4",_suggestions:Do,_value:"Deutschland",tabIndex:4}),t.jsx(xo,{_disabled:!0,_hint:oo,_label:"Combobox 2, Tabindex 3",_suggestions:Do,_value:"Deutschland",tabIndex:3}),t.jsx(xo,{_touched:!0,_hint:oo,_msg:{_type:"error",_description:$e},_label:"Combobox 3, Tabindex 2",_suggestions:Do,_value:"Deutschland",tabIndex:2}),t.jsx(xo,{_hint:oo,_label:"Combobox 4, Tabindex 1",_suggestions:Do,_value:"Deutschland",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputCheckbox",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(We,{_label:"InputCheckbox 4, Tabindex 1",_value:!1,tabIndex:4}),t.jsx(We,{_disabled:!0,_label:"InputCheckbox 3, Tabindex 2",_value:!1,tabIndex:3}),t.jsx(We,{_touched:!0,_label:"InputCheckbox 2, Tabindex 3",_msg:{_type:"error",_description:$e},_value:!1,tabIndex:2}),t.jsx(We,{_label:"InputCheckbox 1, Tabindex 4",_value:!1,tabIndex:1})]})}),t.jsx(Ae,{_label:"InputColor",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(Ln,{_value:"#f08080",_label:"InputCheckbox 1, Tabindex 4",tabIndex:4}),t.jsx(Ln,{_disabled:!0,_value:"#f08080",_label:"InputCheckbox 2, Tabindex 3",tabIndex:3}),t.jsx(Ln,{_touched:!0,_value:"#f08080",_label:"InputCheckbox 3, Tabindex 2",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(Ln,{_value:"#f08080",_label:"InputCheckbox 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputDate",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(De,{_type:"datetime-local",_label:"InputCheckbox 1, Tabindex 4",tabIndex:4}),t.jsx(De,{_disabled:!0,_type:"datetime-local",_label:"InputCheckbox 2, Tabindex 3",tabIndex:3}),t.jsx(De,{_touched:!0,_type:"datetime-local",_label:"InputCheckbox 3, Tabindex 2",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(De,{_type:"datetime-local",_label:"InputCheckbox 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputEmail",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(An,{_label:"InputEmail 1, Tabindex 4",tabIndex:4}),t.jsx(An,{_disabled:!0,_label:"InputEmail 2, Tabindex 3",tabIndex:3}),t.jsx(An,{_touched:!0,_label:"InputEmail 3, Tabindex 2",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(An,{_label:"InputEmail 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputFile",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(gn,{_label:"InputFile 1, Tabindex 4",tabIndex:4}),t.jsx(gn,{_disabled:!0,_label:"InputFile 2, Tabindex 3",tabIndex:3}),t.jsx(gn,{_touched:!0,_label:"InputFile 3, Tabindex 2",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(gn,{_label:"InputFile 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputNumber",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(bn,{_label:"InputNumber 1, Tabindex 4",tabIndex:4}),t.jsx(bn,{_disabled:!0,_label:"InputNumber 2, Tabindex 3",tabIndex:3}),t.jsx(bn,{_touched:!0,_label:"InputNumber 3, Tabindex 2",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(bn,{_label:"InputNumber 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputPassword",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(mn,{_label:"InputPassword 1, Tabindex 4",tabIndex:4}),t.jsx(mn,{_disabled:!0,_label:"InputPassword 2, Tabindex 3",tabIndex:3}),t.jsx(mn,{_touched:!0,_label:"InputPassword 3, Tabindex 2",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(mn,{_label:"InputPassword 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputRadio",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(xn,{_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]",_label:"InputRadio 1, Tabindex 4",tabIndex:4}),t.jsx(xn,{_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}),t.jsx(xn,{_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:$e},tabIndex:2})," ",t.jsx(xn,{_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]",_label:"InputRadio 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"InputRange",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(Bn,{_label:"InputRange 1, Tabindex 4",_min:0,_max:50,tabIndex:4}),t.jsx(Bn,{_disabled:!0,_label:"InputRange 2, Tabindex 3",_min:0,_max:50,tabIndex:3}),t.jsx(Bn,{_touched:!0,_label:"InputRange 3, Tabindex 2",_min:0,_max:50,_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(Bn,{_label:"InputRange 4, Tabindex 1",_min:0,_max:50,tabIndex:1})]})}),t.jsx(Ae,{_label:"InputText",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(Le,{_label:"InputText 1, Tabindex 4",tabIndex:4}),t.jsx(Le,{_disabled:!0,_label:"InputText 2, Tabindex 3",tabIndex:3}),t.jsx(Le,{_touched:!0,_label:"InputText 3, Tabindex 2",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(Le,{_label:"InputText 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"LinkButton",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(Me,{_href:"#/back-page",_label:"InputText 1, Tabindex 4",_variant:"primary",tabIndex:4}),t.jsx(Me,{_disabled:!0,_href:"#/back-page",_label:"InputText 2, Tabindex 3",_variant:"primary",tabIndex:3}),t.jsx(Me,{_href:"#/back-page",_label:"InputText 3, Tabindex 2",_variant:"primary",tabIndex:2}),t.jsx(Me,{_href:"#/back-page",_label:"InputText 4, Tabindex 1",_variant:"primary",tabIndex:1})]})}),t.jsx(Ae,{_label:"Link",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(he,{_href:"#/back-page",_label:"InputText 1, Tabindex 4",tabIndex:4}),t.jsx(he,{_disabled:!0,_href:"#/back-page",_label:"InputText 2, Tabindex 3",tabIndex:3}),t.jsx(he,{_href:"#/back-page",_label:"InputText 3, Tabindex 2",tabIndex:2}),t.jsx(he,{_href:"#/back-page",_label:"InputText 4, Tabindex 1",tabIndex:1})]})}),t.jsx(Ae,{_label:"SingleSelect",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(Qn,{_label:"InputText 1, Tabindex 4",_options:go,_value:"de",tabIndex:4}),t.jsx(Qn,{_disabled:!0,_label:"InputText 2, Tabindex 3",_options:go,_value:"de",tabIndex:3}),t.jsx(Qn,{_touched:!0,_label:"InputText 3, Tabindex 2",_options:go,_msg:{_type:"error",_description:$e},_value:"de",tabIndex:2}),t.jsx(Qn,{_label:"InputText 4, Tabindex 1",_options:go,_value:"de",tabIndex:1})]})}),t.jsx(Ae,{_label:"SplitButton",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(bt,{_label:"InputText 1, Tabindex 4",tabIndex:4,children:"Dropdown-Inhalt"}),t.jsx(bt,{_label:"InputText 2, Tabindex 3",tabIndex:3,_disabled:!0,children:"Dropdown-Inhalt"}),t.jsx(bt,{_label:"InputText 3, Tabindex 2",tabIndex:2,children:"Dropdown-Inhalt"}),t.jsx(bt,{_label:"InputText 4, Tabindex 1",tabIndex:1,children:"Dropdown-Inhalt"})]})}),t.jsx(Ae,{_label:"Textarea",_level:0,children:t.jsxs("div",{className:"grid sm:flex flex-wrap gap-4 items-end",children:[t.jsx(Ve,{_label:"Textarea 1, Tabindex 4",_rows:3,_placeholder:"Placeholder",tabIndex:4}),t.jsx(Ve,{_disabled:!0,_label:"Textarea 2, Tabindex 3",_rows:3,_placeholder:"Placeholder",tabIndex:3}),t.jsx(Ve,{_touched:!0,_label:"Textarea 3, Tabindex 2",_rows:3,_placeholder:"Placeholder",_msg:{_type:"error",_description:$e},tabIndex:2}),t.jsx(Ve,{_label:"Textarea 4, Tabindex 1",_rows:3,_placeholder:"Placeholder",tabIndex:1})]})})]})]}),sE=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample demonstrates how a tooltip's width can be adjusted by defining the CSS custom property ",t.jsx("code",{children:"--kol-tooltip-width"})," on one of the parent elements."]})}),t.jsx(M,{_label:"Tooltip with fixed width",_hideLabel:!0,style:{"--kol-tooltip-width":"400px"},_icons:"codicon codicon-reactions",_on:r})]})},Wi=[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],cE=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsxs(O,{children:[t.jsx("p",{children:"This example shows how deactivated interactive elements are displayed."}),t.jsxs("ul",{children:[t.jsx("li",{children:"Deactivated interactive elements pose a particular challenge for accessibility."}),t.jsx("li",{children:"It must not be possible to focus on deactivated interactive elements, otherwise the tab paths will be unnecessarily extended."}),t.jsx("li",{children:"Deactivated interactive elements should be labelled clearly and legibly."}),t.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."})]}),t.jsx("p",{children:"This implementation ensures standardized use for all users."})]}),t.jsxs("div",{className:"w-full grid gap-4",children:[t.jsx(Ae,{_label:"Button",_level:0,children:t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_label:"Label",_on:r}),t.jsx(M,{_disabled:!0,_label:"Label",_on:r}),t.jsx(M,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Label",_on:r}),t.jsx(M,{_disabled:!0,_hideLabel:!0,_icons:"codicon codicon-home",_label:"Label",_on:r})]})}),t.jsx(Ae,{_label:"ButtonLink",_level:0,children:t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(Ge,{_label:"Label"}),t.jsx(Ge,{_disabled:!0,_label:"Label"}),t.jsx(Ge,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Label"}),t.jsx(Ge,{_hideLabel:!0,_icons:"codicon codicon-home",_disabled:!0,_label:"Label"})]})}),t.jsx(Ae,{_label:"Link",_level:0,children:t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(he,{_href:"#",_label:"Label"}),t.jsx(he,{_disabled:!0,_href:"#",_label:"Label"}),t.jsx(he,{_hideLabel:!0,_href:"#",_icons:"codicon codicon-home",_label:"Label"}),t.jsx(he,{_disabled:!0,_hideLabel:!0,_href:"#",_icons:"codicon codicon-home",_label:"Label"})]})}),t.jsx(Ae,{_label:"LinkButton",_level:0,children:t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(Me,{_href:"#",_label:"Label"}),t.jsx(Me,{_disabled:!0,_href:"#",_label:"Label"}),t.jsx(Me,{_hideLabel:!0,_href:"#",_icons:"codicon codicon-home",_label:"Label"}),t.jsx(Me,{_disabled:!0,_hideLabel:!0,_href:"#",_icons:"codicon codicon-home",_label:"Label"})]})}),t.jsx(Ae,{_label:"Accordion",_level:0,children:t.jsxs("div",{className:"grid gap-4",children:[t.jsx(On,{_label:"Label",children:"Content"}),t.jsx(On,{_disabled:!0,_label:"Label",children:"Content"}),t.jsx(On,{_label:"Label (open)",_open:!0,children:"Content"}),t.jsx(On,{_disabled:!0,_label:"Label (open)",_open:!0,children:"Content"})]})}),t.jsx(Ae,{_label:"Details",_level:0,children:t.jsxs("div",{className:"grid gap-4",children:[t.jsx(hr,{_label:"Label",children:"Content"}),t.jsx(hr,{_disabled:!0,_label:"Label",children:"Content"}),t.jsx(hr,{_label:"Label (open)",_open:!0,children:"Content"}),t.jsx(hr,{_disabled:!0,_label:"Label (open)",_open:!0,children:"Content"})]})}),[We,Ln,De,An,gn,bn,mn,Bn,Le].map(l=>{const c=l.render.displayName;return t.jsx(Ae,{_label:c,_level:0,children:t.jsxs("div",{className:"grid gap-4",children:[t.jsx(l,{_label:"Label"}),t.jsx(l,{_disabled:!0,_label:"Label"}),t.jsx(l,{_hideLabel:!0,_label:"Label"}),t.jsx(l,{_disabled:!0,_hideLabel:!0,_label:"Label"})]})},c)}),[xn,En].map(l=>{const c=l.render.displayName;return t.jsx(Ae,{_label:c,_level:0,children:t.jsxs("div",{className:"grid gap-4",children:[t.jsx(l,{_label:"Label",_options:Wi}),t.jsx(l,{_disabled:!0,_label:"Label",_options:Wi}),t.jsx(l,{_hideLabel:!0,_label:"Label",_options:Wi}),t.jsx(l,{_disabled:!0,_hideLabel:!0,_label:"Label",_options:Wi})]})},c)}),t.jsx(Ae,{_label:"KolTextarea",_level:0,children:t.jsxs("div",{className:"grid gap-4",children:[t.jsx(Ve,{_label:"Label",_rows:3}),t.jsx(Ve,{_disabled:!0,_label:"Label",_rows:3}),t.jsx(Ve,{_hideLabel:!0,_label:"Label",_rows:3}),t.jsx(Ve,{_disabled:!0,_hideLabel:!0,_label:"Label",_rows:3})]})})]})]})},hg=()=>{const e=new Map;return e.set("inputCheckbox",(r,l)=>t.jsx(We,{className:"w-full",_name:"checkbox",_label:"Checkbox",ref:l})),e.set("inputColor",(r,l)=>t.jsx(Ln,{className:"w-full",_name:"color",_label:"Color",ref:l})),e.set("inputDate",(r,l)=>t.jsx(De,{className:"w-full",_name:"date",_label:"Date",ref:l})),e.set("inputEmail",(r,l)=>t.jsx(An,{className:"w-full",_name:"email",_label:"Email",ref:l})),e.set("inputFile",(r,l)=>t.jsx(gn,{className:"w-full",_name:"file",_label:"File",ref:l})),e.set("inputFileMultiple",(r,l)=>t.jsx(gn,{className:"w-full",_name:"file",_label:"Files (multiple)",_multiple:!0,ref:l})),e.set("inputNumber",(r,l)=>t.jsx(bn,{className:"w-full",_name:"number",_label:"Number",ref:l})),e.set("inputPassword",(r,l)=>t.jsx(mn,{className:"w-full",_name:"password",_label:"Password",ref:l})),e.set("inputRadio",(r,l)=>t.jsx(xn,{className:"w-full",_name:"radio",_label:"Radio",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],_value:"A",ref:l})),e.set("inputRange",(r,l)=>t.jsx(Bn,{className:"w-full",_name:"range",_label:"Range",ref:l})),e.set("inputText",(r,l)=>t.jsx(Le,{className:"w-full",_name:"text",_label:"Text",ref:l})),e.set("select",(r,l)=>t.jsx(En,{className:"w-full",_name:"select",_label:"Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],ref:l})),e.set("selectMultiple",(r,l)=>t.jsx(En,{className:"w-full",_name:"select",_label:"Select (multiple)",_multiple:!0,_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],_rows:2,ref:l})),e.set("singleSelect",(r,l)=>t.jsx(Qn,{className:"w-full",_name:"singleSelect",_label:"Single Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],ref:l})),e.set("textarea",(r,l)=>t.jsx(Ve,{className:"w-full",_name:"textarea",_label:"Textarea",_rows:5,ref:l})),e.set("accordion",(r,l)=>t.jsx(On,{className:"w-full",_label:"Accordion here",ref:l})),e.set("button",(r,l)=>t.jsx("div",{children:t.jsx(M,{_label:"Button here",ref:l})})),e.set("buttonLink",(r,l)=>t.jsx(Ge,{_label:"ButtonLink here",ref:l})),e.set("combobox",(r,l)=>t.jsx(xo,{className:"w-full",_label:"KolCombobox here",_suggestions:[],ref:l})),e.set("details",(r,l)=>t.jsx(hr,{className:"w-full",_label:"Details here",ref:l,children:"detailed details"})),e.set("link",(r,l)=>t.jsx(he,{className:"w-full",_label:"Link here",_href:"#",ref:l})),e.set("linkButton",(r,l)=>t.jsx("div",{children:t.jsx(Me,{_label:"LinkButton here",_href:"#",ref:l})})),e},Vv=e=>{const l=[...g.useMemo(()=>hg(),[]).keys()].map(i=>i);return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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&&t.jsx(Xn,{_type:"error",_variant:"card",children:"Component not found."}),t.jsx(J,{_level:2,_label:"Focus Test Cases"}),t.jsx("ul",{children:l.map(i=>t.jsx("li",{children:t.jsx(he,{_label:i,_href:`#/scenarios/focus-elements?component=${i}`})},i))})]})},dE=()=>{const e=g.useRef(null),r=g.useMemo(()=>hg(),[]),[l]=yt(),i=l.get("component");if(g.useLayoutEffect(()=>{setTimeout(()=>{var c;(c=e.current)==null||c.kolFocus()},500)},[e]),i){const c=r.get(i);if(!c)return t.jsx(Vv,{invalidComponent:!0});const d=g.forwardRef(c);return t.jsx(d,{ref:e})}else return t.jsx(Vv,{})},uE=[{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}],fE=[{_icons:"codicon codicon-pie-chart",_label:"Erster Tab"},{_icons:"codicon codicon-calendar",_label:"Zweiter Tab",_disabled:!0},{_icons:"codicon codicon-briefcase",_label:"Deaktivierter Tab",_disabled:!0},{_icons:"codicon codicon-telescope",_label:"Letzter Tab",_disabled:!0}],Wv={horizontal:[[{key:"name",label:"Name",textAlign:"left",width:"400px"},{key:"species",label:"Species",textAlign:"left",width:"400px"},{key:"habitat",label:"Habitat",textAlign:"left",width:"400px"},{key:"diet",label:"Diet",textAlign:"left",width:"400px"},{key:"lifespan",label:"lifespan",textAlign:"right",width:"400px"}]]};function pE(){const[e]=g.useState(()=>{var i;const r=Wv.horizontal[0];let l=0;for(const c of r)l+=parseFloat(((i=c.width)==null?void 0:i.replace("px",""))||"0");return`${l}px`});return t.jsxs(t.Fragment,{children:[t.jsx(O,{}),t.jsxs("div",{className:"mainlayout",children:[t.jsx("aside",{className:"nav-area",children:t.jsx(kt,{_label:"Main navigation",_links:Xu,_hasCompactButton:!0,_hasIconsWhenExpanded:!0})}),t.jsx("div",{className:"content",children:t.jsxs(mr,{_tabs:fE,_align:"top",_label:"Demo Tabs",children:[t.jsx("div",{style:{overflow:"hidden"},children:t.jsx(cn,{_label:"Table for demonstration purposes with horizontal scrollbar",_minWidth:e,_headers:Wv,_data:uE,_pagination:{_page:1},className:"block"})}),t.jsx("div",{}),t.jsx("div",{}),t.jsx("div",{})]})})]})]})}const hE=()=>{const e="Unrecognized phone number.",r="Choose at least two and up to five toppings.",l=["Mushrooms","Bell Peppers","Onions","Olives","Spinach","Tomatoes","Artichokes","Zucchini","Jalapeños","Basil"],i=[{label:"United States +1",value:"1"},{label:"Greece +30 ",value:"30"},{label:"Germany +49",value:"49"},{label:"Japan +81",value:"81"}];return t.jsxs(t.Fragment,{children:[t.jsxs(O,{children:[t.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."}),t.jsx("p",{children:"The sample only demonstrates how the errors can be displayed, an actual validation logic is not part of the example."})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Phone number"}),t.jsx(Xn,{_alert:!0,_type:"error",_label:e}),t.jsxs("div",{className:"grid grid-cols-3 gap-4 max-w-2xl",children:[t.jsx(En,{_options:i,_label:"CountryCode ",_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0}),t.jsx(Le,{_label:"Area code",_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0}),t.jsx(Le,{_label:"Local number",_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0})]})]}),t.jsxs("fieldset",{className:"mt",children:[t.jsx("legend",{children:"Pizza toppings"}),t.jsx(Xn,{_alert:!0,_type:"error",_label:r}),l.map(c=>t.jsx(We,{_label:c,_msg:{_description:e,_type:"error"},_touched:!0,_hideMsg:!0},c))]})]})},bg=g.createContext(void 0),mg=g.createContext(!1),Dn=e=>{const r=g.useRef(),[l,i]=g.useState(void 0),[c,d]=g.useState(e.inputProps._value),f=e.formatter||JSON.stringify,b=g.useContext(bg),h=g.useContext(mg),m=async()=>{var k;const x=await((k=r.current)==null?void 0:k.getValue());i(x)};g.useEffect(()=>{const x=()=>{m()};return b==null||b.addEventListener("runAll",x),()=>{b==null||b.removeEventListener("runAll",x)}},[b]);const _=Object.fromEntries(["onInput","onChange","onBlur","onClick","onFocus","onMouseDown"].map(x=>[x,(k,A)=>{h&&console.log(e.inputProps._label,x,A,k),x==="onInput"&&d(A)}]));return t.jsx(t.Fragment,{children:t.jsxs("div",{className:"grid grid-cols-3 items-end gap-4","data-testid":e.testId,children:[t.jsx(e.InputComponent,{ref:r,_on:_,...e.inputProps,_value:c}),t.jsx(M,{_label:"getValue()",_on:{onClick:()=>{m()}}}),t.jsx("pre",{className:"text-base",children:f(l)})]})})},bE=()=>{const e=g.useMemo(()=>new EventTarget,[]),[r,l]=g.useState(!0);return t.jsx(t.Fragment,{children:t.jsx(bg.Provider,{value:e,children:t.jsxs(mg.Provider,{value:r,children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows how the input components ",t.jsx("code",{children:"getValue()"}),` method works. It's called when clicking the "getValue()" button and prints the current value right next to itself.`]})}),t.jsxs("section",{className:"w-full flex flex-col",children:[t.jsx(Ae,{_label:"Sample options",className:"block ha mb-8",children:t.jsx(We,{_label:"Log events to console",_value:!0,_checked:r,_on:{onChange:(i,c)=>l(c)}})}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(Dn,{testId:"scenario-inputText",InputComponent:Le,inputProps:{_label:"InputText"}}),t.jsx(Dn,{testId:"scenario-inputCheckboxString",InputComponent:We,inputProps:{_label:"KolInputCheckbox (value)",_value:"Checkbox True Value"}}),t.jsx(Dn,{testId:"scenario-inputCheckboxBoolean",InputComponent:We,inputProps:{_label:"KolInputCheckbox (boolean)"}}),t.jsx(Dn,{testId:"scenario-inputColor",InputComponent:Ln,inputProps:{_label:"KolInputColor"}}),t.jsx(Dn,{testId:"scenario-inputDate",InputComponent:De,inputProps:{_label:"KolInputDate"}}),t.jsx(Dn,{testId:"scenario-inputEmail",InputComponent:An,inputProps:{_label:"KolInputEmail"}}),t.jsx(Dn,{testId:"scenario-inputFile",InputComponent:gn,inputProps:{_label:"KolInputFile"},formatter:i=>i instanceof FileList?`FileList{${Array.from(i).map(c=>c.name).join(", ")}}`:JSON.stringify(i)}),t.jsx(Dn,{testId:"scenario-inputNumber",InputComponent:bn,inputProps:{_label:"KolInputNumber"}}),t.jsx(Dn,{testId:"scenario-inputPassword",InputComponent:mn,inputProps:{_label:"KolInputPassword"}}),t.jsx(Dn,{testId:"scenario-inputRange",InputComponent:Bn,inputProps:{_label:"KolInputRange"}}),t.jsx(Dn,{testId:"scenario-inputRadio",InputComponent:xn,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"}}),t.jsx(Dn,{testId:"scenario-select",InputComponent:En,inputProps:{_label:"KolSelect",_options:[{label:"New York",value:"New York"},{label:"Rio de Janeiro",value:"Rio de Janeiro"},{label:"Rosenheim",value:"Rosenheim"}]}}),t.jsx(Dn,{testId:"scenario-singleSelect",InputComponent:Qn,inputProps:{_label:"KolSingleSelect",_options:[{label:"New York",value:"New York"},{label:"Rio de Janeiro",value:"Rio de Janeiro"},{label:"Rosenheim",value:"Rosenheim"}],_value:"Rosenheim"}}),t.jsx(Dn,{testId:"scenario-combobox",InputComponent:xo,inputProps:{_label:"KolCombobox",_suggestions:Do,_value:"Deutschland"}}),t.jsx(Dn,{testId:"scenario-textarea",InputComponent:Ve,inputProps:{_label:"KolTextarea"}}),t.jsx(Dn,{testId:"scenario-button",InputComponent:M,inputProps:{_label:"KolButton",_variant:"ghost",_value:"KolButton value"}}),t.jsx(Dn,{testId:"scenario-buttonLink",InputComponent:Ge,inputProps:{_label:"KolButtonLink",_value:"KolButtonLink value"}}),t.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[t.jsx("div",{}),t.jsx(M,{_label:"Run all",_variant:"primary",_on:{onClick:()=>{e.dispatchEvent(new Event("runAll"))}}})]})]})]})]})})})},mE=333,vE=new Array(mE).fill(0).map((e,r)=>r+1),kE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This example renders many KoliBri components to show the performance."})}),t.jsx("div",{className:"w-full grid gap-4",children:vE.map(e=>t.jsxs("div",{className:"flex flex-wrap items-end gap-4",children:[t.jsx(Le,{_label:`TextInput #${e}`}),t.jsx(bn,{_label:`NumberInput #${e}`}),t.jsx(We,{_label:`Checkbox #${e}`})]},e))})]}),_E=()=>{const{dummyClickEventHandler:e}=jn(),r={onClick:e};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsxs("div",{className:"w-full flex flex-wrap gap-4",children:[t.jsx(M,{_icons:"codicon codicon-home",_label:"Button",_on:r}),t.jsx(M,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Button",_on:r}),t.jsx(Me,{_href:"#",_icons:"codicon codicon-home",_label:"Link-Button",_on:r}),t.jsx(Me,{_hideLabel:!0,_href:"#",_icons:"codicon codicon-home",_label:"Link-Button",_on:r}),t.jsx(xo,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Combobox",_suggestions:[]}),t.jsx(Ln,{_hideLabel:!0,_icons:{left:"codicon codicon-home"},_label:"Input-Color"}),t.jsx(gn,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Input-File"}),t.jsx(De,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Input-Date"}),t.jsx(An,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Input-Email"}),t.jsx(bn,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Input-Number"}),t.jsx(mn,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Input-Password"}),t.jsx(Bn,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Input-Range"}),t.jsx(Le,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Input-Text"}),t.jsx(En,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Combobox",_options:[]}),t.jsx(Qn,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Combobox",_options:[]}),t.jsx(Ve,{_hideLabel:!0,_icons:"codicon codicon-home",_label:"Combobox"})]})]})},gE=()=>{const{searchParams:e}=new URL(location.href);return t.jsxs(t.Fragment,{children:[t.jsxs(O,{children:[t.jsx("p",{children:"This sample shows how KoliBri can be used in a static form context."}),t.jsxs("ol",{children:[t.jsxs("li",{children:["First you have to enable the ",t.jsx("code",{children:"experimental mode"}),":"," ",t.jsx("code",{className:"bg-gray-200",children:'<meta name="kolibri" content="dev-mode=false;experimental-mode=true;" />'})]}),t.jsxs("li",{children:["Currently you have to use a native ",t.jsx("code",{children:"form"})," element:"," ",t.jsx("code",{className:"bg-gray-200",children:'<form method="GET">...</form>'})]}),t.jsxs("li",{children:["It is important in static usage to give every input a ",t.jsx("code",{children:"name"})," attribute:"," ",t.jsx("code",{className:"bg-gray-200",children:'<KolInputColor _name="color" _label="Color" />'})]}),t.jsxs("li",{children:["Last of all one button should have the type ",t.jsx("code",{children:"submit"}),":"," ",t.jsx("code",{className:"bg-gray-200",children:'<KolButton _label="Submit" _type="submit" _variant="primary" />'})]})]})]}),t.jsxs("section",{className:"w-full flex flex-col",children:[e.size>0&&t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Submitted data"}),t.jsx("pre",{className:"text-base",children:t.jsx("code",{children:JSON.stringify(Object.fromEntries(e.entries()),null,2)})})]}),t.jsxs("form",{className:"grid gap-4",method:"get",noValidate:!0,children:[t.jsx(We,{_name:"checkbox",_label:"Checkbox"}),t.jsx(Ln,{_name:"color",_label:"Color"}),t.jsx(De,{_name:"date",_label:"Date"}),t.jsx(An,{_name:"email",_label:"Email"}),t.jsx(gn,{_name:"file",_label:"File"}),t.jsx(gn,{_name:"file",_label:"Files (multiple)",_multiple:!0}),t.jsx(bn,{_name:"number",_label:"Number"}),t.jsx(mn,{_name:"password",_label:"Password"}),t.jsx(xn,{_name:"radio",_label:"Radio",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),t.jsx(Bn,{_name:"range",_label:"Range"}),t.jsx(Le,{_name:"text",_label:"Text"}),t.jsx(En,{_name:"select",_label:"Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),t.jsx(En,{_name:"select",_label:"Select (multiple)",_multiple:!0,_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],_rows:2}),t.jsx(Qn,{_name:"singleSelect",_label:"Single Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),t.jsx(xo,{_name:"combobox",_label:"Combobox",_suggestions:Do}),t.jsx(Ve,{_name:"textarea",_label:"Textarea",_rows:5}),t.jsxs("div",{className:"flex flex-wrap gap-4",children:[t.jsx(M,{_label:"Submit",_type:"submit",_variant:"primary"}),t.jsx(M,{_label:"Reset",_type:"reset"})]}),t.jsx("input",{type:"hidden",value:crypto.randomUUID(),name:"random"})]})]})]})},xE={scenarios:{"custom-tooltip-width":sE,"disabled-interactive-scenario":cE,"focus-elements":dE,"input-group-with-error":hE,"inputs-get-value":bE,"static-form":gE,"table-horizontal-scrollbar-advanced":pE,"change-tabindex":iE,"same-height-of-all-interactive-elements":_E,"performance-test":kE}},ca=[{label:"No salutation",value:""},{label:"Mrs.",value:"Mrs."},{label:"Mr.",value:"Mr."},{label:"Divers",value:"Divers"}],yE=ca.map((e,r)=>r===0?{label:"Select salutation",value:"",disabled:!0}:e),wE=go.reduce((e,r)=>{const l=r.label.charAt(0).toUpperCase();return e[l]||(e[l]={label:l,options:[]}),e[l].options.push({label:r.label,value:r.label}),e},{}),qv=Object.values(wE),Gv=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx(En,{...r,ref:l,_accessKey:"a",_options:ca,_label:"Salutation",_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}}}),t.jsx(En,{...r,_options:ca,_label:"Disabled",_disabled:!0}),t.jsx(En,{...r,_options:yE,_label:"Salutation with error",_msg:{_type:"error",_description:$e},_touched:!0}),t.jsx(En,{...r,_options:go,_label:"Multiple choice",_multiple:!0}),t.jsx(En,{...r,_options:go,_label:"Multiple choice with error",_multiple:!0,_required:!0,_msg:{_type:"error",_description:$e},_hint:oo,_touched:!0}),t.jsx(En,{...r,_options:ca,_label:"With access key",_accessKey:"c"}),t.jsx(En,{...r,_options:ca,_label:"With short key",_shortKey:"s"}),t.jsx(En,{...r,_options:qv,_label:"With grouped by first letter",_value:"Albanien"}),t.jsx(En,{...r,_options:qv,_label:"With grouped by first letter (multiple)",_multiple:!0,_value:["Albanien"]})]})}),zE=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text"}),t.jsx(Gv,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text (hideLabel)"}),t.jsx(Gv,{ref:l,...r,_hideLabel:!0})]})]})}),jE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolSelect renders a select field. The sample shows KolSelect in a form context with all variations and states."})}),t.jsx(Zn,{RefComponent:zE,showButtons:!1})]}),Zv={select:{basic:jE}},SE=()=>t.jsxs("div",{className:"grid gap-4",children:[t.jsxs(O,{children:[t.jsx("p",{children:"KolSkipNav renders a list of navigation links that are visually hidden by default and only visible on focus."}),t.jsx("p",{children:"For testing purposes, click into the example and press the tab-key in order to focus the first link."})]}),t.jsx($x,{_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"}]})]}),TE={"skip-nav":{basic:SE}},CE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:'KolSpin renders a loading indicator. This sample shows the default variant "dot".'})}),t.jsx(_u,{_show:!0})]}),LE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows a custom loading animation. Using the expert slot, it is possible to insert custom animations. Custom animations are not necessarily barrier-free."})}),t.jsx(_u,{_show:!0,_variant:"none",children:t.jsx("span",{slot:"expert",className:"loader"})})]}),AE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:'This sample shows the KolSpin variant "cycle".'})}),t.jsx(_u,{_show:!0,_variant:"cycle"})]}),EE={spin:{basic:CE,cycle:AE,custom:LE}},$E=()=>{const e=Gr.getInstance(document),r=()=>{e.enqueue({description:"The Button has been clicked.",label:"Button Clicked",type:"info"})};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"SplitButton renders a button with an additional context-menu, that can be opened by clicking the arrow icon. The first sample shows the button with an assigned action. In the second sample no action is assigned and clicking the button opens the context menu instead."})}),t.jsxs("div",{className:"flex gap-4",children:[t.jsx(bt,{_label:"Only the arrow opens",_on:{onClick:r},children:"Dropdown contents"}),t.jsx(bt,{_label:"Button without visible label",_hideLabel:!0,_icons:"codicon codicon-git-pull-request",children:"Dropdown contents"})]})]})},IE=()=>{const e=g.useRef(),r=()=>{var l;(l=e.current)==null||l.closePopup()};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"SplitButton renders a button with an additional context-menu, that can be opened by clicking the arrow icon."})}),t.jsx("div",{className:"flex gap-4",children:t.jsx(bt,{ref:e,_label:"Only the arrow opens",children:t.jsxs("div",{style:{width:300,padding:16,border:"1px solid #ccc"},onClick:l=>l.stopPropagation(),children:[t.jsx("p",{children:"SplitButton renders a button with an additional context-menu, that can be opened by clicking the arrow icon."}),t.jsxs("div",{style:{gap:16,display:"flex",flexDirection:"column"},children:[t.jsx(Le,{_label:"User"}),t.jsx(Le,{_label:"Role"}),t.jsx(M,{_label:"Close",_on:{onClick:r}})]})]})})})]})},NE={"split-button":{basic:$E,"with-context":IE}},ef=Intl.DateTimeFormat("de-DE",{day:"2-digit",month:"2-digit",year:"numeric"}),Vr=[{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")}],Od={horizontal:[[{label:"Order",key:"order"},{label:"Date",key:"date",render:(e,r,l)=>ef.format(l.date)}]]},Pd={_page:2},RE=()=>t.jsxs("div",{className:"w-full grid gap-14",children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateful with different pagination positions."})}),t.jsxs("section",{className:"w-full flex flex-col gap-14",children:[t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Table with pagination at the bottom."}),t.jsx(cn,{_label:"Sample table with pagination at the bottom",_minWidth:"auto",_data:Vr,_headers:Od,_pagination:Pd,_paginationPosition:"bottom"})]}),t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Table with pagination at the top."}),t.jsx(cn,{_label:"Sample table with pagination at the top",_minWidth:"auto",_data:Vr,_headers:Od,_pagination:Pd,_paginationPosition:"top"})]}),t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Table with pagination at both top and bottom."}),t.jsx(cn,{_label:"Sample table with pagination at both top and bottom",_minWidth:"auto",_data:Vr,_headers:Od,_pagination:Pd,_paginationPosition:"both"})]})]})]}),qi=[{left:"Left Example",center:"Center Example",right:"Right Example"}],ia=()=>0,BE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateful with columns headers and data in different text alignments."})}),t.jsxs("section",{className:"w-full flex flex-col",children:[t.jsx(J,{_label:"Simple table",_level:3}),t.jsx(cn,{_label:"Table for demonstration purposes with different text align properties",_minWidth:"auto",_headers:{horizontal:[[{label:"left",key:"left",textAlign:"left"},{label:"center",key:"center",textAlign:"center"},{label:"right",key:"right",textAlign:"right"}]]},_data:qi,className:"block",style:{maxWidth:"600px"}}),t.jsx(J,{_label:"Table with sortable columns",_level:3,className:"block mt-6"}),t.jsx(cn,{_label:"Table for demonstration purposes with sortable columns",_minWidth:"auto",_headers:{horizontal:[[{label:"left",key:"left",textAlign:"left",compareFn:ia},{label:"center",key:"center",textAlign:"center",compareFn:ia},{label:"right",key:"right",textAlign:"right",compareFn:ia}]]},_data:qi,className:"block",style:{maxWidth:"600px"}}),t.jsx(J,{_label:"Table some sortable columns",_level:3,className:"block mt-6"}),t.jsx(cn,{_label:"Table for demonstration purposes with some but not all columns sortable",_minWidth:"auto",_headers:{horizontal:[[{label:"left",key:"left",textAlign:"left",compareFn:ia},{label:"center",key:"center",textAlign:"center",compareFn:ia},{label:"right",key:"right",textAlign:"right"}]]},_data:qi,className:"block",style:{maxWidth:"600px"}}),t.jsx(J,{_label:"Table with vertical heading",_level:3,className:"block mt-6"}),t.jsx(cn,{_label:"Table for demonstration purposes with vertical heading",_minWidth:"auto",_headers:{horizontal:[[{label:"left",key:"left",textAlign:"left"},{label:"center",key:"center",textAlign:"center"},{label:"right",key:"right",textAlign:"right"}]],vertical:[[{label:"Vertical"}]]},_data:qi,className:"block",style:{maxWidth:"600px"}})]})]}),OE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateful using vertical and horizontal headers, applying colspan and rowspan."})}),t.jsx("section",{className:"w-full flex flex-col",children:t.jsx(cn,{_label:"Business hours",_minWidth:"auto",_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"}],_headers:{vertical:[[{label:"Berlin",rowSpan:2},{label:"München"}]],horizontal:[[{label:"District",rowSpan:2,key:"asp"},{label:"Workdays",colSpan:5},{label:"Weekend",colSpan:2}],[{label:"Monday",key:"monday"},{label:"Tuesday",key:"tuesday"},{label:"Wednesday",key:"wednesday"},{label:"Thursday",key:"thursday"},{label:"Friday",key:"friday"},{label:"Saturday",key:"saturday"},{label:"Sunday",key:"sunday"}]]}})})]}),Yv=[{small:"Small Example",large:"Larger Example"}],Md={horizontal:[[{label:"Large Column",key:"large",textAlign:"left",width:"300px"},{label:"Small Column",key:"small",textAlign:"left",width:"200px"},{label:"Larger Column",key:"large",textAlign:"left",width:"400px"},{label:"Larger Column",key:"large",textAlign:"left",width:"400px"}]]},PE=()=>{const[e,r]=g.useState(!0);return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsxs("section",{className:"w-full flex flex-col gap-4",children:[t.jsx(J,{_label:"Table with scrollbar",_level:2}),t.jsx(cn,{_label:"Table for demonstration purposes with horizontal scrollbar.",_minWidth:e?"600px":"300px",_headers:Md,_data:Yv,className:"block",style:{width:"400px"}}),t.jsx(J,{_label:"Empty Table with scrollbar",_level:3}),t.jsx(cn,{_label:"Table for demonstration purposes with horizontal scrollbar with auto minWidth.",_minWidth:e?"600px":"300px",_headers:Md,_data:[],className:"block",style:{width:"400px"}}),t.jsx(We,{_checked:e,_label:"Toggle width restriction",_variant:"switch",_on:{onChange:(l,i)=>{r(!!i)}}}),t.jsx(J,{_label:"Same table without scrollbar",_level:2,className:"block mt-4"}),t.jsx("p",{className:"mt-0",children:t.jsx("i",{children:"Scrollbar appears on very small viewport sizes"})}),t.jsx(cn,{_label:"Table for demonstration purposes without horizontal scrollbar",_minWidth:"600px",_headers:Md,_data:Yv,className:"block"})]})]})},ME=[{order:0,shipped:!1,date:new Date("1981-05-26T21:33:43.612Z")},{order:1,shipped:!0,date:new Date("1971-04-25T19:44:17.014Z")},{order:2,shipped:!1,date:new Date("1986-07-10T11:39:29.539Z")}];function DE({label:e,icons:r}){const{dummyClickEventHandler:l}=jn(),i={onClick:l};return t.jsx(M,{_label:e,_icons:r,_on:i})}const FE={horizontal:[[{label:"#",key:"order",textAlign:"center",width:"10em",render:(e,r)=>`Index: ${r.label}`},{label:"Status",key:"shipped",textAlign:"center",width:"10em",render:(e,r)=>{r.label?e.textContent="Order has been dispatched 🚚":e.textContent="Order pending 📦"}},{label:"Date (string)",key:"date",width:"20em",textAlign:"center",render:(e,r)=>{e.innerHTML=`<strong>${ef.format(r.label)}</strong>`},compareFn:(e,r)=>e.date.getTime()-r.date.getTime()},{label:"Action (react)",width:"20em",render:e=>{qn(qr(e)).render(t.jsxs("div",{style:{display:"grid",gridAutoFlow:"column",alignItems:"end",gap:"1rem",maxWidth:"400px"},children:[t.jsx(Le,{_label:"Input"}),t.jsx(DE,{label:"Save",icons:{left:"codicon codicon-save"}})]}))}}]]},KE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateful using React render functions for the cell contents."})}),t.jsx(cn,{_label:"Sort by date column",_minWidth:"auto",_data:ME,_headers:FE,className:"w-full"})]}),vg=Intl.DateTimeFormat("de-DE",{day:"2-digit",month:"2-digit",year:"numeric"}),HE={horizontal:[[{label:"order",key:"order",textAlign:"center"},{label:"date",textAlign:"center",render:(e,r,l)=>vg.format(l.date),compareFn:(e,r)=>e.date<r.date?-1:r.date<e.date?1:0}]]},UE={vertical:[[{label:"order",key:"order",textAlign:"center"},{label:"date",textAlign:"center",render:(e,r,l)=>vg.format(l.date),compareFn:(e,r)=>e.date<r.date?-1:r.date<e.date?1:0}]]},VE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:'This sample shows KolTableStateful with sortable columns. The sort-order can be changed by clicking the "date" header column.'})}),t.jsxs("section",{className:"w-full grid gap-4",children:[t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Vertical headers"}),t.jsx(cn,{_label:"Sort a date column",_minWidth:"auto",_data:Vr.slice(0,10),_headers:UE,className:"block"})]}),t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Horizontal headers"}),t.jsx(cn,{_label:"Sort a date column",_minWidth:"auto",_data:Vr,_headers:HE,className:"block"})]})]})]}),WE=[{left:"Left Example",center:"Center Example",right:"Right Example"},{},{},{}],qE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows how KolTableStateless can be used directly, with the KolTableStateful wrapper."})}),t.jsx("section",{className:"w-full",children:t.jsx(pa,{_label:"Table for demonstration purposes",_minWidth:"auto",_headerCells:{horizontal:[[{key:"left",label:"left",textAlign:"left",sortDirection:"ASC"},{key:"center",label:"center",textAlign:"center",sortDirection:"DESC"},{key:"right",label:"right",textAlign:"right",sortDirection:"NOS"},{key:"nosort",label:"no sort option"}]],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:WE,className:"block",style:{maxWidth:"600px"},_on:{onSort:(e,r)=>{console.log(r)}}})})]}),GE=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateful with footer data."})}),t.jsx(cn,{className:"w-full",_label:"Business hours",_minWidth:"auto",_headers:{horizontal:[[{label:"District",key:"asp"},{label:"Monday",key:"monday"},{label:"Tuesday",key:"tuesday"},{label:"Wednesday",key:"wednesday"},{label:"Thursday",key:"thursday"},{label:"Friday",key:"friday"}]]},_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"}]})]}),ZE=[{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 YE({label:e}){const{dummyClickEventHandler:r}=jn(),l={onClick:r};return t.jsx(M,{_label:e,_on:l})}const JE=()=>{const[e,r]=g.useState(),l={label:h=>`Selection for ${h.name}`,selectedKeys:e?e.map(h=>h.internalIdentifier):["AAA1004"],disabledKeys:["AAA1003","AAA1004"],keyPropertyName:"internalIdentifier"},i=g.useRef(null),c=({detail:h})=>{console.log("Selection change via event",h)},d=(h,m)=>{console.log("Selection change via callback",m)},f=async()=>{var m;const h=await((m=i.current)==null?void 0:m.getSelection());r(h)};g.useEffect(()=>{var h;return(h=i.current)==null||h.addEventListener(Zo.selectionChange,c),()=>{var m;(m=i.current)==null||m.removeEventListener(Zo.selectionChange,c)}},[i]);const b=(h,m)=>{var _;qn(qr(h)).render(t.jsx(YE,{label:`Click ${(_=m.data)==null?void 0:_.id}`}))};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateful with checkboxes for selection enabled."})}),t.jsxs("section",{className:"w-full",children:[t.jsx(cn,{_label:"Table with selection checkboxes",_minWidth:"auto",_headers:{horizontal:[[{key:"id",label:"#ID",textAlign:"left"},{key:"name",label:"Name",textAlign:"left"},{key:"action",label:"Action",textAlign:"left",render:b}]]},_data:ZE,_selection:l,_on:{onSelectionChange:d},className:"block",style:{maxWidth:"600px"},ref:i}),t.jsxs("div",{className:"grid grid-cols-3 items-end gap-4 mt-4",children:[t.jsx(M,{_label:"getSelection()",_on:{onClick:()=>{f()}}}),t.jsx("pre",{className:"text-base",children:JSON.stringify(e,null,2)})]})]})]})},QE=[{id:"1001",name:"Foo Bar",internalIdentifier:"AAA1001"},{id:"1002",name:"Foo Baz",internalIdentifier:"AAA1002"}];function XE({label:e}){const{dummyClickEventHandler:r}=jn(),l={onClick:r};return t.jsx(M,{_label:e,_on:l})}const e$=()=>{const[e,r]=g.useState(),l={label:h=>`Selection for ${h.name}`,multiple:!1,selectedKeys:e?[e.internalIdentifier]:[],keyPropertyName:"internalIdentifier"},i=g.useRef(null),c=({detail:h})=>{console.log("Selection change via event",h)},d=(h,m)=>{console.log("Selection change via callback",m)},f=async()=>{var m;const h=await((m=i.current)==null?void 0:m.getSelection());r(h)};g.useEffect(()=>{var h;return(h=i.current)==null||h.addEventListener(Zo.selectionChange,c),()=>{var m;(m=i.current)==null||m.removeEventListener(Zo.selectionChange,c)}},[i]);const b=(h,m)=>{var _;qn(qr(h)).render(t.jsx(XE,{label:`Click ${(_=m.data)==null?void 0:_.id}`}))};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateful with radio buttons for selection enabled."})}),t.jsxs("section",{className:"w-full",children:[t.jsx(cn,{_label:"Table with selection radio",_minWidth:"auto",_headers:{horizontal:[[{key:"id",label:"#ID",textAlign:"left"},{key:"name",label:"Name",textAlign:"left"},{key:"action",label:"Action",textAlign:"left",render:b}]]},_data:QE,_selection:l,_on:{onSelectionChange:d},className:"block",style:{maxWidth:"600px"},ref:i}),t.jsxs("div",{className:"grid grid-cols-3 items-end gap-4 mt-4",children:[t.jsx(M,{_label:"getSelection()",_on:{onClick:()=>{f()}}}),t.jsx("pre",{className:"text-base",children:JSON.stringify(e,null,2)})]})]})]})},n$=[{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 o$({label:e}){const{dummyClickEventHandler:r}=jn(),l={onClick:r};return t.jsx(M,{_label:e,_on:l})}const r$=()=>{const[e,r]=g.useState(["AAA1002","AAA1004"]),l={label:b=>`Selection for ${b.name}`,selectedKeys:e,keyPropertyName:"internalIdentifier",disabledKeys:["AAA1003","AAA1004"]},i=g.useRef(null),c=({detail:b})=>{console.log("Selection change via event",b)},d=(b,h)=>{console.log("Selection change via callback",h),r(typeof h=="string"?[h]:h)};g.useEffect(()=>{var b;return(b=i.current)==null||b.addEventListener(Zo.selectionChange,c),()=>{var h;(h=i.current)==null||h.removeEventListener(Zo.selectionChange,c)}},[i]);const f=(b,h)=>{var m;qn(qr(b)).render(t.jsx(o$,{label:`Click ${(m=h.data)==null?void 0:m.id}`}))};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateless with checkboxes for selection enabled."})}),t.jsx("section",{className:"w-full",children:t.jsx(pa,{_label:"Table with selection checkboxes",_minWidth:"auto",_headerCells:{horizontal:[[{key:"id",label:"#ID",textAlign:"left"},{key:"name",label:"Name",textAlign:"left"},{key:"action",label:"Action",textAlign:"left",render:f}]]},_data:n$,_selection:l,_on:{onSelectionChange:d},className:"block",style:{maxWidth:"600px"},ref:i})})]})},t$=[{id:"1001",name:"Foo Bar",internalIdentifier:"AAA1001"},{id:"1002",name:"Foo Baz",internalIdentifier:"AAA1002"},{id:"1003",name:"Foo Disabled",internalIdentifier:"AAA1003"}];function l$({label:e}){const{dummyClickEventHandler:r}=jn(),l={onClick:r};return t.jsx(M,{_label:e,_on:l})}const a$=()=>{const[e,r]=g.useState(["1002"]),l={label:b=>`Selection for ${b.name}`,multiple:!1,selectedKeys:e,disabledKeys:["AAA1003"],keyPropertyName:"internalIdentifier"},i=g.useRef(null),c=({detail:b})=>{console.log("Selection change via event",b)},d=(b,h)=>{console.log("Selection change via callback",h),r(typeof h=="string"?[h]:h)};g.useEffect(()=>{var b;return(b=i.current)==null||b.addEventListener(Zo.selectionChange,c),()=>{var h;(h=i.current)==null||h.removeEventListener(Zo.selectionChange,c)}},[i]);const f=(b,h)=>{var m;qn(qr(b)).render(t.jsx(l$,{label:`Click ${(m=h.data)==null?void 0:m.id}`}))};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTableStateless with checkboxes for selection enabled."})}),t.jsx("section",{className:"w-full",children:t.jsx(pa,{_label:"Table with selection checkboxes",_minWidth:"auto",_headerCells:{horizontal:[[{key:"id",label:"#ID",textAlign:"left"},{key:"name",label:"Name",textAlign:"left"},{key:"action",label:"Action",textAlign:"left",render:f}]]},_data:t$,_selection:l,_on:{onSelectionChange:d},className:"block",style:{maxWidth:"600px"},ref:i})})]})},i$={horizontal:[[{label:"Order",key:"order"},{label:"Date",key:"date",render:(e,r,l)=>ef.format(l.date)}]]},s$={_page:2},c$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows how KolTableStateful can be navigated using a pagination."})}),t.jsx("div",{className:"w-full",children:t.jsx(cn,{_label:"Table description",_minWidth:"auto",_data:Vr,_headers:i$,_pagination:s$})})]});function d$({_on:e,...r}){const{dummyClickEventHandler:l}=jn(),i={onClick:l};return t.jsx(M,{...r,_on:i})}const sa=e=>{const r=e.charAt(0).toUpperCase()+e.slice(1);return{label:r,key:e,textAlign:"left",render:(l,i)=>{const c={_label:r,_variant:e,_icons:{right:"codicon codicon-squirrel"}};qn(qr(l)).render(i.label==="button"?t.jsx(d$,{...c}):t.jsx(Me,{_href:"#/back-page",...c}))}}},u$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsxs("section",{className:"w-full flex flex-col",children:[t.jsx(pa,{_label:"Button styles",_minWidth:"auto",_headerCells:{horizontal:[[sa("primary"),sa("secondary"),sa("normal"),sa("danger"),sa("ghost")]],vertical:[[{label:"Button"},{label:"Link-Button"}]]},_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"}),t.jsx(pa,{_label:"Link styles",_minWidth:"auto",_headerCells:{horizontal:[[{key:"regular",label:"Regular",textAlign:"left",render:(e,r)=>{const l={_label:r.label,_icons:{right:"codicon codicon-squirrel"}};qn(qr(e)).render(r.label==="button-link"?t.jsx(Ge,{...l}):t.jsx(he,{_href:"#/back-page",...l}))}}]],vertical:[[{label:"Link"},{label:"Button-Link"}]]},_data:[{regular:"link"},{regular:"button-link"}],className:"block mt"})]})]}),kg=Intl.DateTimeFormat("de-DE",{day:"2-digit",month:"2-digit",year:"numeric"}),f$={horizontal:[[{label:"order",key:"order",textAlign:"center",compareFn:(e,r)=>e.order<r.order?-1:r.order<e.order?1:0},{label:"date",key:"date",textAlign:"center",render:(e,r,l)=>kg.format(l.date),compareFn:(e,r)=>e.date<r.date?-1:r.date<e.date?1:0}]]},p$={vertical:[[{label:"order",key:"order",textAlign:"center",compareFn:(e,r)=>e.order<r.order?-1:r.order<e.order?1:0},{label:"date",key:"date",textAlign:"center",render:(e,r,l)=>kg.format(l.date),compareFn:(e,r)=>e.date<r.date?-1:r.date<e.date?1:0}]]},h$=()=>{const[e,r]=g.useState(!1),[l,i]=g.useState(!0);return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:'This sample shows KolTableStateful with multi-sort functionality, allowing sorting by both "order" and "date" columns.'})}),t.jsxs("section",{className:"w-full grid gap-4",children:[t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Vertical"}),t.jsx(We,{_checked:e,_label:"Allow Multi-Sort",_variant:"switch",_on:{onChange:(c,d)=>r(!!d)}}),t.jsx(cn,{_label:"Sort Table with Order and Date",_minWidth:"auto",_data:Vr.slice(0,10),_headers:p$,className:"block",_allowMultiSort:e})]}),t.jsxs("section",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:"Horizontal"}),t.jsx(We,{_checked:l,_label:"Allow Multi-Sort",_variant:"switch",_on:{onChange:(c,d)=>i(!!d)}}),t.jsx(cn,{_label:"Sort Table with Order and Date",_minWidth:"auto",_data:Vr,_headers:f$,className:"block",_allowMultiSort:l})]})]})]})},b$=[{columnA:"Column A",columnB:"Column B",columnC:"Column C"}],m$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This example shows the table with predefined settings."})}),t.jsx(cn,{_label:"Table for demonstration purposes with predefined settings",_minWidth:"auto",_headers:{horizontal:[[{label:"column A",key:"columnA"},{label:"column B",key:"columnB"},{label:"column C",key:"columnC"}]]},_tableSettings:{columns:[{key:"columnA",visible:!1,label:"Column A",position:2},{key:"columnB",visible:!0,label:"Column B",position:1,width:20},{key:"columnC",visible:!0,label:"Column C",position:0,width:45}]},_data:b$,"_min-width":"500px",className:"block",style:{maxWidth:"600px"}})]}),v$={table:{"column-alignment":BE,"complex-headers":OE,"horizontal-scrollbar":PE,"interactive-child-elements":u$,"multi-sort":h$,"pagination-position":RE,"predefined-settings":m$,"render-cell":KE,"sort-data":VE,"stateful-with-selection":JE,"stateful-with-single-selection":e$,stateless:qE,"stateless-with-selection":r$,"stateless-with-single-selection":a$,"with-footer":GE,"with-pagination":c$}},_g=[{_icons:"codicon codicon-pie-chart",_label:"First tab",_on:{onSelect:e=>{console.log("First tab selected",e)}}},{_icons:"codicon codicon-calendar",_label:"Second Tab"},{_disabled:!0,_icons:"codicon codicon-briefcase",_label:"Disabled Tab"},{_icons:"codicon codicon-telescope",_label:"Last tab"}],k$=_g.map(e=>({...e,_icons:void 0})),_$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolTabs renders tab captions and their associated content. This sample shows tab captions with and without icons and disabled tabs."})}),t.jsxs(mr,{_tabs:k$,_label:"Regular tabs",children:[t.jsx("div",{slot:"tab-0",children:"Contents of Tab 1"}),t.jsx("div",{slot:"tab-1",children:"Contents of Tab 2"}),t.jsx("div",{slot:"tab-2",children:"Contents of Tab 3"}),t.jsx("div",{slot:"tab-3",children:"Contents of Tab 4"})]}),t.jsxs(mr,{_tabs:_g,className:"mt-4",_label:"Tabs with icons",children:[t.jsx("div",{slot:"tab-0",children:"Contents of Tab 1"}),t.jsx("div",{slot:"tab-1",children:"Contents of Tab 2"}),t.jsx("div",{slot:"tab-2",children:"Contents of Tab 3"}),t.jsx("div",{slot:"tab-3",children:"Contents of Tab 4"})]})]}),g$=[{_icons:"codicon codicon-pie-chart",_label:"First tab",_on:{onSelect:e=>{console.log("First tab selected",e)}}},{_icons:"codicon codicon-calendar",_label:"Second Tab"},{_disabled:!0,_icons:"codicon codicon-briefcase",_label:"Disabled Tab"},{_icons:"codicon codicon-telescope",_label:"Last tab"}],x$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample shows KolTabs with the property ",t.jsx("code",{children:"_align"})," set to ",t.jsx("code",{children:"left"}),", ",t.jsx("code",{children:"right"}),", ",t.jsx("code",{children:"top"})," and ",t.jsx("code",{children:"bottom"}),"."]})}),t.jsx("div",{className:"grid gap-8",children:["left","right","top","bottom"].map(e=>{const r=`Tabs with ${e} align`;return t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:r}),t.jsxs(mr,{_tabs:g$,_align:e,_label:r,children:[t.jsx("div",{slot:"tab-0",children:"Contents of Tab 1"}),t.jsx("div",{slot:"tab-1",children:"Contents of Tab 2"}),t.jsx("div",{slot:"tab-2",children:"Contents of Tab 3"}),t.jsx("div",{slot:"tab-3",children:"Contents of Tab 4"})]})]},e)})})]}),y$=[{_icons:"codicon codicon-pie-chart",_label:"First Tab",_hideLabel:!0},{_icons:"codicon codicon-calendar",_label:"Second Tab",_hideLabel:!0},{_disabled:!0,_icons:"codicon codicon-briefcase",_label:"Disabled Tab",_hideLabel:!0},{_icons:"codicon codicon-telescope",_label:"Last Tab",_hideLabel:!0}],w$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolTabs with hidden labels."})}),t.jsxs(mr,{_label:"Tabs with icons",_tabs:y$,children:[t.jsx("div",{slot:"tab-0",children:"Contents of Tab 1"}),t.jsx("div",{slot:"tab-1",children:"Contents of Tab 2"}),t.jsx("div",{slot:"tab-2",children:"Contents of Tab 3"}),t.jsx("div",{slot:"tab-3",children:"Contents of Tab 4"})]})]}),Jv=[{_icons:"codicon codicon-pie-chart",_label:"First tab",_on:{onSelect:e=>{console.log("First tab selected",e)}}},{_icons:"codicon codicon-calendar",_label:"Second Tab"},{_disabled:!0,_icons:"codicon codicon-briefcase",_label:"Disabled Tab"},{_icons:"codicon codicon-telescope",_label:"Last tab"}],z$=()=>t.jsxs(t.Fragment,{children:[t.jsxs(O,{children:[t.jsxs("p",{children:["This sample shows KolTabs with the property ",t.jsx("code",{children:"_behavior"})," set to ",t.jsx("code",{children:"select-manual"})," and ",t.jsx("code",{children:"select-automatic"}),"."]}),t.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."})]}),t.jsxs("div",{className:"grid gap-8",children:[t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:'Tabs with "select manual" behavior'}),t.jsxs(mr,{_tabs:Jv,_behavior:"select-manual",_label:"Tabs with select manual behavior",children:[t.jsx("div",{slot:"tab-0",children:"Contents of Tab 1"}),t.jsx("div",{slot:"tab-1",children:"Contents of Tab 2"}),t.jsx("div",{slot:"tab-2",children:"Contents of Tab 3"}),t.jsx("div",{slot:"tab-3",children:"Contents of Tab 4"})]})]}),t.jsxs("div",{className:"grid gap-4",children:[t.jsx(J,{_level:2,_label:'Tabs with "select automatic" behavior'}),t.jsxs(mr,{_tabs:Jv,className:"mt-4",_behavior:"select-automatic",_label:"Tabs with select automatic behavior",children:[t.jsx("div",{slot:"tab-0",children:"Contents of Tab 1"}),t.jsx("div",{slot:"tab-1",children:"Contents of Tab 2"}),t.jsx("div",{slot:"tab-2",children:"Contents of Tab 3"}),t.jsx("div",{slot:"tab-3",children:"Contents of Tab 4"})]})]})]})]}),j$=()=>{const[e,r]=g.useState([{_label:"First tab"},{_label:"Second Tab"}]),l=()=>{r([...e,{_label:`Tab #${e.length+1}`}])};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:'This sample shows KolTabs with a "create tab" button.'})}),t.jsxs(mr,{_tabs:e,className:"mt-4",_label:"Tabs with create button",_hasCreateButton:!0,_on:{onCreate:l},children:[e.map((i,c)=>t.jsxs("div",{slot:`tab-${c}`,children:["Contents of ",i._label]},`tab-${c}`)),t.jsx("div",{slot:"tab-1",children:"Contents of Tab 2"})]})]})},S$={tabs:{basic:_$,"create-button":j$,"icons-only":w$,behavior:z$,align:x$}},T$=`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore
13592
13592
  magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd
13593
13593
  gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing
13594
13594
  elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos
13595
13595
  et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
13596
- sit amet.`,C$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample demonstrates the ",t.jsx("code",{children:"_adjustHeight"}),"-property of KolTextarea. The textarea automatically grows with its content."]})}),t.jsx($o,{className:"w-full",children:t.jsx(Ve,{_adjustHeight:!0,_value:T$,_label:"Text input (auto grow)"})})]}),Qv=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(Ve,{...r,ref:l,_placeholder:"Placeholder",_label:"Text"})}),t.jsx(Ve,{...r,_placeholder:"Placeholder",_required:!0,_msg:{_type:"error",_description:$e},_label:"Text",_touched:!0,_hint:oo}),t.jsx(Ve,{...r,_placeholder:"Placeholder",_label:"Text",_msg:{_type:"info",_description:"Just a hint"}}),t.jsx(Ve,{...r,_placeholder:"Placeholder",_label:"Text",_msg:{_type:"warning",_description:"Small warning"}}),t.jsx(Ve,{...r,_placeholder:"Placeholder",_label:"Text",_msg:{_type:"success",_description:"Success message"}}),t.jsx(Ve,{...r,ref:l,_accessKey:"T",_label:"Text (3 rows)",_rows:3}),t.jsx(Ve,{...r,ref:l,_label:"Text (placeholder)",_rows:3,_placeholder:"Placeholder"}),t.jsx(Ve,{...r,ref:l,_label:"Text (disabled & placeholder)",_rows:3,_placeholder:"Placeholder",_disabled:!0}),t.jsx(Ve,{...r,ref:l,_label:"Text (readonly)",_rows:3,_placeholder:"Placeholder",_readOnly:!0}),t.jsx(Ve,{...r,ref:l,_label:"Text (disabled & value)",_rows:3,_placeholder:"Placeholder",_value:"Lorem ipsum",_disabled:!0}),t.jsx(Ve,{...r,ref:l,_label:"With access key",_rows:3,_placeholder:"Placeholder",_value:"Lorem ipsum",_accessKey:"c"}),t.jsx(Ve,{...r,ref:l,_label:"With short key",_rows:3,_placeholder:"Placeholder",_value:"Lorem ipsum",_shortKey:"s"})]})}),L$=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text"}),t.jsx(Qv,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text (hideLabel)"}),t.jsx(Qv,{ref:l,...r,_hideLabel:!0})]})]})}),A$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolTextarea renders a text field. The sample shows KolTextarea in a form context with different variations and states."})}),t.jsx(Zn,{RefComponent:L$,showButtons:!1})]}),E$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample demonstrates the ",t.jsx("code",{children:"_hasCounter"}),"-property of KolTextarea. It shows how many characters have been entered."]})}),t.jsxs("section",{className:"w-full",children:[t.jsx(Ve,{_label:"Textara with counter",_hasCounter:!0}),t.jsx(Ve,{_label:"Textara with counter and initial value",_hasCounter:!0,_value:"Lorem Ipsum",className:"mt"})]})]}),$$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample demonstrates the ",t.jsx("code",{children:"_resize"}),"-property of KolTextarea. The sample textarea can (only) be resized in the given direction."]})}),t.jsx($o,{className:"w-full",children:t.jsxs("div",{className:"flex flex-col gap-4",children:[t.jsx(Ve,{_label:"Text input (unset)"}),t.jsx(Ve,{_resize:"vertical",_label:"Text input (vertical)"}),t.jsx(Ve,{_resize:"none",_label:"Text input (none)"})]})})]}),I$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample demonstrates the ",t.jsx("code",{children:"_rows"}),"-property of KolTextarea. The sample textarea has a fixed row number of 10."]})}),t.jsx($o,{className:"w-full",children:t.jsx(Ve,{_rows:10,_label:"Texteingabe"})})]}),N$={textarea:{basic:A$,"adjust-height":C$,resize:$$,rows:I$,"with-counter":E$}},R$=()=>{const[e]=yt(),r=e.get("type"),l=e.get("variant"),i=Gr.getInstance(document),c=()=>{i.enqueue({description:"Toasty",label:"Initial Toast",type:"warning",onClose:()=>{console.log("Simple toast has been closed.")}})},d=()=>{i.enqueue({description:"Toasty",label:"Toast with variant 'msg'",type:"warning",variant:"msg"})};g.useEffect(()=>{r&&l?i.enqueue({description:"Toasty",label:"Toast with variant 'msg'",type:r,variant:l}):r?i.enqueue({description:"Toasty",label:"Initial Toast",type:r}):l&&i.enqueue({description:"Toasty",label:"Initial Toast",type:"default",variant:l})},[r,l]);const f=()=>{i.enqueue({render:(m,{close:_})=>{qn(m).render(t.jsx(t.Fragment,{children:t.jsx(M,{_label:"Hello World from Toast!",_on:{onClick:()=>{console.log("Toast Button clicked!"),_()}}})}))},label:"Initial Toast",type:"warning"})},b=async()=>{const m=await i.enqueue({description:"I will disappear in two seconds...",label:"Good Bye",type:"warning"});m&&setTimeout(m,2e3)},h=()=>{i.closeAll()};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample demonstrates the toast service with all its options."})}),t.jsxs("section",{className:"grid gap-4",children:[t.jsxs("section",{className:"flex gap-2",children:[t.jsx(M,{_label:"Show simple toast",_on:{onClick:c}}),t.jsx(M,{_label:"Show toast with alert variant 'msg'",_on:{onClick:d}}),t.jsx(M,{_label:"Show complex toast",_on:{onClick:f}})]}),t.jsx("section",{className:"flex gap-2",children:t.jsx(M,{_label:"Show toast and close after 2 seconds",_on:{onClick:()=>void b()}})}),t.jsx("section",{className:"flex gap-2",children:t.jsx(M,{_label:"Close all toasts",_on:{onClick:h}})})]})]})},B$={toast:{basic:R$}},O$=()=>{const e=[{_label:"Back",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-arrow-left"}}},{_label:"Next",_hideLabel:!0,_icons:{right:{icon:"codicon codicon-arrow-right"}}},{_href:"#/back-page",_label:"Simple Link 1"},{_href:"#/back-page",_label:"Simple Link 3"},{_label:"Bold"}];return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsxs("div",{className:"flex flex-col gap-4",children:[t.jsx(J,{_label:"Orientation horizontal",_level:2}),t.jsx(ns,{class:"block w-fit",_label:"Toolbar",_items:e}),t.jsx(J,{_label:"Orientation vertical",_level:2}),t.jsx(ns,{class:"block w-fit",_label:"Toolbar",_items:e,_orientation:"vertical"})]})]})},P$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolToolbars with some of the elements disabled."})}),t.jsx(ns,{_label:"Toolbar",class:"block w-fit",_items:[{_label:"Back",_disabled:!0,_hideLabel:!0,_icons:{left:{icon:"codicon codicon-arrow-left"}}},{_label:"Next",_hideLabel:!0,_icons:{right:{icon:"codicon codicon-arrow-right"}}},{_href:"#/back-page",_label:"Simple Link 1"},{_href:"#/back-page",_disabled:!0,_label:"Simple Link 3"},{_label:"Bold"}]})]}),M$={toolbar:{basic:O$,disabled:P$}},D$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolVersion renders a label showing the given version number."})}),t.jsx(us,{_label:"1.1.1"})]}),F$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolVersion inline with text paragraph content."})}),t.jsxs("p",{children:[t.jsx(us,{_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."]})]}),K$={version:{basic:D$,context:F$}},H$=()=>{const e=["🐶","🐱","🐭","🐹","🐰","🦊","🐻","🐼","🐨","🐯","🦁","🐮","🐷","🐽","🐸","🐵"];return e[Math.floor(Math.random()*e.length)]},U$=()=>{const e=g.useContext(Fu),{subPage:r}=py(),[l,i]=g.useState("1 Home"),[c,d]=g.useState(!1),[f,b]=g.useState(!1),[h,m]=g.useState(!0),_=()=>{i(`1 Home ${H$()}`)},x=k=>({_href:`#/tree/basic/${k}${e?"?hideMenus":""}`,_active:k===r});return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolTree renders a keyboard accessible nested navigation. Branches of the tree can be collapsed or expanded."})}),t.jsxs(ik,{_label:"Sitemap",class:"block w-fit",children:[t.jsx(Cn,{_label:l,...x("home")}),t.jsxs(Cn,{_label:"2 About (open initially)",...x("about"),_open:!0,children:[t.jsx(Cn,{_label:"2.0 Legal",...x("legal")}),t.jsxs(Cn,{_label:"2.1 Team",...x("team"),children:[t.jsx(Cn,{_label:"2.1.1. Values",...x("values")}),t.jsxs(Cn,{_label:"2.1.2. Members",...x("members"),children:[t.jsx(Cn,{_label:"2.1.2.1 Humans",...x("humans")}),c&&t.jsx(Cn,{_label:"2.1.2.2 Pets",...x("pets")})]}),t.jsx(Cn,{_label:"2.1.3 Locations",...x("locations"),children:f&&t.jsxs(Cn,{_label:"2.1.3.1 Europe",...x("europe"),children:[t.jsx(Cn,{_label:"2.1.3.1.1 Denmark",...x("denmark")}),t.jsx(Cn,{_label:"2.1.3.1.2 Netherlands",...x("netherlands")})]})})]})]}),h&&t.jsxs(Cn,{_label:"3. Products",...x("products"),children:[t.jsxs(Cn,{_label:"3.1 Home",...x("home-products"),children:[t.jsx(Cn,{_label:"3.1.1 Refrigerators",...x("fridges")}),t.jsx(Cn,{_label:"3.1.2 Coffee makers",...x("coffee-makers")})]}),t.jsx(Cn,{_label:"3.1 Office",...x("office-products"),children:t.jsx(Cn,{_label:"3.2.1 Printers",...x("printers")})})]})]}),t.jsxs("p",{children:["Current tree item: ",r??"none"]}),t.jsxs("div",{className:"flex flex-wrap gap-2",children:[t.jsx(M,{_label:"Change label for '1 Home'",_on:{onClick:_}}),t.jsx(M,{_label:"Toggle '2.1.2.2 Pets'",_on:{onClick:()=>d(!c)}}),t.jsx(M,{_label:"Toggle '2.2.1 Europe' (two levels at once)",_on:{onClick:()=>b(!f)}}),t.jsx(M,{_label:"Toggle '3. Products'",_on:{onClick:()=>m(!h)}})]})]})},V$={tree:{"basic/:subPage":U$}},Xv=e=>t.jsxs("div",{className:"grid gap-4",children:[t.jsx(xo,{...e,_hint:oo,_label:"Label",_suggestions:Do,_value:"Deutschland"}),t.jsx(xo,{...e,_label:"Disabled",_suggestions:Do,_value:"Deutschland",_disabled:!0}),t.jsx(xo,{...e,_suggestions:Do,_msg:{_type:"error",_description:$e},_touched:!0,_label:"Label",_placeholder:"Placeholder",_required:!0}),t.jsx(xo,{...e,_label:"With access key",_suggestions:Do,_value:"Deutschland",_accessKey:"c"}),t.jsx(xo,{...e,_label:"With short key",_suggestions:Do,_value:"Deutschland",_shortKey:"s"})]}),W$=e=>t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text"}),t.jsx(Xv,{...e})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text (hideLabel)"}),t.jsx(Xv,{...e,_hideLabel:!0})]})]}),q$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsx(Zn,{RefComponent:W$,showButtons:!1})]}),G$={combobox:{basic:q$}},Z$=[{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"}],ek=e=>t.jsxs("div",{className:"grid gap-4",children:[t.jsx(Qn,{...e,_hint:oo,_label:"Label",_options:go,_value:"de",_on:{onBlur:console.log,onInput:console.log,onChange:console.log,onClick:console.log,onFocus:console.log}}),t.jsx(Qn,{...e,_label:"Disabled",_options:go,_value:"de",_disabled:!0}),t.jsx(Qn,{...e,_options:go,_msg:{_type:"error",_description:$e},_rows:3,_touched:!0,_label:"Label",_placeholder:"Placeholder",_required:!0}),t.jsx(Qn,{...e,_label:"With access key",_options:go,_value:"de",_accessKey:"c"}),t.jsx(Qn,{...e,_label:"With short key",_options:go,_value:"de",_shortKey:"s"}),t.jsx(Qn,{...e,_label:"With long labels",_options:Z$,_placeholder:"Placeholder"}),t.jsx(Qn,{...e,_label:"With hidden clear button",_options:go,_value:"de",_hideClearButton:!0})]}),Y$=e=>t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text"}),t.jsx(ek,{...e})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text (hideLabel)"}),t.jsx(ek,{...e,_hideLabel:!0})]})]}),J$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"SingleSelect provides a select field for a single value, supported by a search field."})}),t.jsx(Zn,{RefComponent:Y$,showButtons:!1})]}),Q$={"single-select":{basic:J$}},nf={...Wj,...J6,...ej,...tj,...aj,...cj,...uj,...mj,...Tj,...Lj,...G$,...Ej,...Rj,...Pj,...Jj,...Xj,...nS,...lS,...sS,...bS,...kS,...xS,...zS,...CS,...IS,...BS,...$A,...NA,...OA,...VA,...qA,...JA,...XA,...nE,...rE,...aE,...Zv,...Zv,...TE,...EE,...Q$,...NE,...v$,...S$,...N$,...B$,...M$,...V$,...K$,...xE};L_(localStorage);const gg=(e,r="/")=>{let l=[];for(const i in e)if(e[i]){const c=e[i],d=`${r}${i}`;typeof c=="function"?l.push(d):typeof c=="object"&&c!==null&&(l=l.concat(gg(c,`${d}/`)))}return l},xg=e=>{const r=[];for(const l in e)if(e[l]){const i=e[l],c=`/${l}`;if(typeof i=="function")r.push(t.jsx(mt,{path:c,element:t.jsx(i,{})},c)),r.push(t.jsx(mt,{path:`${c}/all`,element:t.jsx("div",{className:"d-grid gap-4",children:Du.filter(d=>z_.indexOf(d.value)>=0).map(d=>t.jsxs("div",{className:"d-grid gap-2",children:[t.jsx("div",{className:"mt-4",children:t.jsx("strong",{children:d.label})}),t.jsx("div",{className:"my-2",children:t.jsx(i,{})}),t.jsx("hr",{"aria-hidden":"true"})]},d.value))})},`${c}/all`));else if(typeof i=="object"&&i!==null){const d=Object.keys(i);d.length>0&&r.push(t.jsx(mt,{path:`${c}/*`,element:t.jsxs(xk,{children:[t.jsx(mt,{path:"/",element:t.jsx(gk,{to:d[0]})}),xg(i)]})},c))}}return r},bu=gg(nf),X$=xg(nf),nk=new Map;bu.forEach(e=>{const r=e.split("/");nk.has(r[1])||nk.set(r[1],{label:r[1],value:e})});const eI=()=>{const e=wo(),[r,l]=yt(),i=r.get("theme")??cs(),c=r.has("hideMenus");Fj(i),q6(),document.title=`KoliBri-Handout - ${su(cs())} | v${au.version}`,document.body.setAttribute("class",i),document.body.dataset.theme=i;const d=f=>{l({theme:f}),window.location.reload()};return t.jsx(Fu.Provider,{value:c,children:t.jsxs("div",{className:c?"":"app-container","data-theme":i,children:[!c&&t.jsx(W6,{version:au.version,theme:i,sample:e.pathname,routes:nf,routeList:bu,buildDate:"2025-07-15T14:25:55.088Z",commitHash:"a6f1acf20",onThemeChange:d}),t.jsx("main",{className:"flex flex-col items-stretch p-4",id:"route-container",children:t.jsxs(xk,{children:[X$,t.jsx(mt,{path:"*",element:t.jsx(gk,{to:bu[0],replace:!0})}),t.jsx(mt,{path:"back-page",element:t.jsx(F6,{})})]})})]})})},nI=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableI18nOverwriting"),oI=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableThemePatching"),mu=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableTagNameTransformer"),vu=e=>`${e}-sample`;mu&&Tx(vu);const rI=async()=>[a4,Y4,M6];(async()=>{try{await ww(await rI(),()=>{Ez(window,{transformTagName:mu?vu:void 0})},{theme:{detect:"auto"},translation:{name:"en"},translations:nI?new Set([r=>r("en",{"kol-error":"Tiny error!"}),r=>r("de",{"kol-error":"Kleiner Fehler!"})]):void 0,transformTagName:mu?vu:void 0,environment:"production",reflectInputValues:!0}),oI&&zt.patchTheme("default",{"KOL-BUTTON":`
13596
+ sit amet.`,C$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample demonstrates the ",t.jsx("code",{children:"_adjustHeight"}),"-property of KolTextarea. The textarea automatically grows with its content."]})}),t.jsx($o,{className:"w-full",children:t.jsx(Ve,{_adjustHeight:!0,_value:T$,_label:"Text input (auto grow)"})})]}),Qv=g.forwardRef(function(r,l){return t.jsxs("div",{className:"grid gap-4",children:[t.jsx("div",{className:"black-background",children:t.jsx(Ve,{...r,ref:l,_placeholder:"Placeholder",_label:"Text"})}),t.jsx(Ve,{...r,_placeholder:"Placeholder",_required:!0,_msg:{_type:"error",_description:$e},_label:"Text",_touched:!0,_hint:oo}),t.jsx(Ve,{...r,_placeholder:"Placeholder",_label:"Text",_msg:{_type:"info",_description:"Just a hint"}}),t.jsx(Ve,{...r,_placeholder:"Placeholder",_label:"Text",_msg:{_type:"warning",_description:"Small warning"}}),t.jsx(Ve,{...r,_placeholder:"Placeholder",_label:"Text",_msg:{_type:"success",_description:"Success message"}}),t.jsx(Ve,{...r,ref:l,_accessKey:"T",_label:"Text (3 rows)",_rows:3}),t.jsx(Ve,{...r,ref:l,_label:"Text (placeholder)",_rows:3,_placeholder:"Placeholder"}),t.jsx(Ve,{...r,ref:l,_label:"Text (disabled & placeholder)",_rows:3,_placeholder:"Placeholder",_disabled:!0}),t.jsx(Ve,{...r,ref:l,_label:"Text (readonly)",_rows:3,_placeholder:"Placeholder",_readOnly:!0}),t.jsx(Ve,{...r,ref:l,_label:"Text (disabled & value)",_rows:3,_placeholder:"Placeholder",_value:"Lorem ipsum",_disabled:!0}),t.jsx(Ve,{...r,ref:l,_label:"With access key",_rows:3,_placeholder:"Placeholder",_value:"Lorem ipsum",_accessKey:"c"}),t.jsx(Ve,{...r,ref:l,_label:"With short key",_rows:3,_placeholder:"Placeholder",_value:"Lorem ipsum",_shortKey:"s"})]})}),L$=g.forwardRef(function(r,l){return t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text"}),t.jsx(Qv,{...r})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text (hideLabel)"}),t.jsx(Qv,{ref:l,...r,_hideLabel:!0})]})]})}),A$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolTextarea renders a text field. The sample shows KolTextarea in a form context with different variations and states."})}),t.jsx(Zn,{RefComponent:L$,showButtons:!1})]}),E$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample demonstrates the ",t.jsx("code",{children:"_hasCounter"}),"-property of KolTextarea. It shows how many characters have been entered."]})}),t.jsxs("section",{className:"w-full",children:[t.jsx(Ve,{_label:"Textara with counter",_hasCounter:!0}),t.jsx(Ve,{_label:"Textara with counter and initial value",_hasCounter:!0,_value:"Lorem Ipsum",className:"mt"})]})]}),$$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample demonstrates the ",t.jsx("code",{children:"_resize"}),"-property of KolTextarea. The sample textarea can (only) be resized in the given direction."]})}),t.jsx($o,{className:"w-full",children:t.jsxs("div",{className:"flex flex-col gap-4",children:[t.jsx(Ve,{_label:"Text input (unset)"}),t.jsx(Ve,{_resize:"vertical",_label:"Text input (vertical)"}),t.jsx(Ve,{_resize:"none",_label:"Text input (none)"})]})})]}),I$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{children:["This sample demonstrates the ",t.jsx("code",{children:"_rows"}),"-property of KolTextarea. The sample textarea has a fixed row number of 10."]})}),t.jsx($o,{className:"w-full",children:t.jsx(Ve,{_rows:10,_label:"Texteingabe"})})]}),N$={textarea:{basic:A$,"adjust-height":C$,resize:$$,rows:I$,"with-counter":E$}},R$=()=>{const[e]=yt(),r=e.get("type"),l=e.get("variant"),i=Gr.getInstance(document),c=()=>{i.enqueue({description:"Toasty",label:"Initial Toast",type:"warning",onClose:()=>{console.log("Simple toast has been closed.")}})},d=()=>{i.enqueue({description:"Toasty",label:"Toast with variant 'msg'",type:"warning",variant:"msg"})};g.useEffect(()=>{r&&l?i.enqueue({description:"Toasty",label:"Toast with variant 'msg'",type:r,variant:l}):r?i.enqueue({description:"Toasty",label:"Initial Toast",type:r}):l&&i.enqueue({description:"Toasty",label:"Initial Toast",type:"default",variant:l})},[r,l]);const f=()=>{i.enqueue({render:(m,{close:_})=>{qn(m).render(t.jsx(t.Fragment,{children:t.jsx(M,{_label:"Hello World from Toast!",_on:{onClick:()=>{console.log("Toast Button clicked!"),_()}}})}))},label:"Initial Toast",type:"warning"})},b=async()=>{const m=await i.enqueue({description:"I will disappear in two seconds...",label:"Good Bye",type:"warning"});m&&setTimeout(m,2e3)},h=()=>{i.closeAll()};return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample demonstrates the toast service with all its options."})}),t.jsxs("section",{className:"grid gap-4",children:[t.jsxs("section",{className:"flex gap-2",children:[t.jsx(M,{_label:"Show simple toast",_on:{onClick:c}}),t.jsx(M,{_label:"Show toast with alert variant 'msg'",_on:{onClick:d}}),t.jsx(M,{_label:"Show complex toast",_on:{onClick:f}})]}),t.jsx("section",{className:"flex gap-2",children:t.jsx(M,{_label:"Show toast and close after 2 seconds",_on:{onClick:()=>void b()}})}),t.jsx("section",{className:"flex gap-2",children:t.jsx(M,{_label:"Close all toasts",_on:{onClick:h}})})]})]})},B$={toast:{basic:R$}},O$=()=>{const e=[{_label:"Back",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-arrow-left"}}},{_label:"Next",_hideLabel:!0,_icons:{right:{icon:"codicon codicon-arrow-right"}}},{_href:"#/back-page",_label:"Simple Link 1"},{_href:"#/back-page",_label:"Simple Link 3"},{_label:"Bold"}];return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsxs("div",{className:"flex flex-col gap-4",children:[t.jsx(J,{_label:"Orientation horizontal",_level:2}),t.jsx(ns,{class:"block w-fit",_label:"Toolbar",_items:e}),t.jsx(J,{_label:"Orientation vertical",_level:2}),t.jsx(ns,{class:"block w-fit",_label:"Toolbar",_items:e,_orientation:"vertical"})]})]})},P$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolToolbars with some of the elements disabled."})}),t.jsx(ns,{_label:"Toolbar",class:"block w-fit",_items:[{_label:"Back",_disabled:!0,_hideLabel:!0,_icons:{left:{icon:"codicon codicon-arrow-left"}}},{_label:"Next",_hideLabel:!0,_icons:{right:{icon:"codicon codicon-arrow-right"}}},{_href:"#/back-page",_label:"Simple Link 1"},{_href:"#/back-page",_disabled:!0,_label:"Simple Link 3"},{_label:"Bold"}]})]}),M$={toolbar:{basic:O$,disabled:P$}},D$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolVersion renders a label showing the given version number."})}),t.jsx(us,{_label:"1.1.1"})]}),F$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"This sample shows KolVersion inline with text paragraph content."})}),t.jsxs("p",{children:[t.jsx(us,{_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."]})]}),K$={version:{basic:D$,context:F$}},H$=()=>{const e=["🐶","🐱","🐭","🐹","🐰","🦊","🐻","🐼","🐨","🐯","🦁","🐮","🐷","🐽","🐸","🐵"];return e[Math.floor(Math.random()*e.length)]},U$=()=>{const e=g.useContext(Fu),{subPage:r}=py(),[l,i]=g.useState("1 Home"),[c,d]=g.useState(!1),[f,b]=g.useState(!1),[h,m]=g.useState(!0),_=()=>{i(`1 Home ${H$()}`)},x=k=>({_href:`#/tree/basic/${k}${e?"?hideMenus":""}`,_active:k===r});return t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"KolTree renders a keyboard accessible nested navigation. Branches of the tree can be collapsed or expanded."})}),t.jsxs(ik,{_label:"Sitemap",class:"block w-fit",children:[t.jsx(Cn,{_label:l,...x("home")}),t.jsxs(Cn,{_label:"2 About (open initially)",...x("about"),_open:!0,children:[t.jsx(Cn,{_label:"2.0 Legal",...x("legal")}),t.jsxs(Cn,{_label:"2.1 Team",...x("team"),children:[t.jsx(Cn,{_label:"2.1.1. Values",...x("values")}),t.jsxs(Cn,{_label:"2.1.2. Members",...x("members"),children:[t.jsx(Cn,{_label:"2.1.2.1 Humans",...x("humans")}),c&&t.jsx(Cn,{_label:"2.1.2.2 Pets",...x("pets")})]}),t.jsx(Cn,{_label:"2.1.3 Locations",...x("locations"),children:f&&t.jsxs(Cn,{_label:"2.1.3.1 Europe",...x("europe"),children:[t.jsx(Cn,{_label:"2.1.3.1.1 Denmark",...x("denmark")}),t.jsx(Cn,{_label:"2.1.3.1.2 Netherlands",...x("netherlands")})]})})]})]}),h&&t.jsxs(Cn,{_label:"3. Products",...x("products"),children:[t.jsxs(Cn,{_label:"3.1 Home",...x("home-products"),children:[t.jsx(Cn,{_label:"3.1.1 Refrigerators",...x("fridges")}),t.jsx(Cn,{_label:"3.1.2 Coffee makers",...x("coffee-makers")})]}),t.jsx(Cn,{_label:"3.1 Office",...x("office-products"),children:t.jsx(Cn,{_label:"3.2.1 Printers",...x("printers")})})]})]}),t.jsxs("p",{children:["Current tree item: ",r??"none"]}),t.jsxs("div",{className:"flex flex-wrap gap-2",children:[t.jsx(M,{_label:"Change label for '1 Home'",_on:{onClick:_}}),t.jsx(M,{_label:"Toggle '2.1.2.2 Pets'",_on:{onClick:()=>d(!c)}}),t.jsx(M,{_label:"Toggle '2.2.1 Europe' (two levels at once)",_on:{onClick:()=>b(!f)}}),t.jsx(M,{_label:"Toggle '3. Products'",_on:{onClick:()=>m(!h)}})]})]})},V$={tree:{"basic/:subPage":U$}},Xv=e=>t.jsxs("div",{className:"grid gap-4",children:[t.jsx(xo,{...e,_hint:oo,_label:"Label",_suggestions:Do,_value:"Deutschland"}),t.jsx(xo,{...e,_label:"Disabled",_suggestions:Do,_value:"Deutschland",_disabled:!0}),t.jsx(xo,{...e,_suggestions:Do,_msg:{_type:"error",_description:$e},_touched:!0,_label:"Label",_placeholder:"Placeholder",_required:!0}),t.jsx(xo,{...e,_label:"With access key",_suggestions:Do,_value:"Deutschland",_accessKey:"c"}),t.jsx(xo,{...e,_label:"With short key",_suggestions:Do,_value:"Deutschland",_shortKey:"s"})]}),W$=e=>t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text"}),t.jsx(Xv,{...e})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text (hideLabel)"}),t.jsx(Xv,{...e,_hideLabel:!0})]})]}),q$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.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."})}),t.jsx(Zn,{RefComponent:W$,showButtons:!1})]}),G$={combobox:{basic:q$}},Z$=[{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"}],ek=e=>t.jsxs("div",{className:"grid gap-4",children:[t.jsx(Qn,{...e,_hint:oo,_label:"Label",_options:go,_value:"de",_on:{onBlur:console.log,onInput:console.log,onChange:console.log,onClick:console.log,onFocus:console.log}}),t.jsx(Qn,{...e,_label:"Disabled",_options:go,_value:"de",_disabled:!0}),t.jsx(Qn,{...e,_options:go,_msg:{_type:"error",_description:$e},_rows:3,_touched:!0,_label:"Label",_placeholder:"Placeholder",_required:!0}),t.jsx(Qn,{...e,_label:"With access key",_options:go,_value:"de",_accessKey:"c"}),t.jsx(Qn,{...e,_label:"With short key",_options:go,_value:"de",_shortKey:"s"}),t.jsx(Qn,{...e,_label:"With long labels",_options:Z$,_placeholder:"Placeholder"}),t.jsx(Qn,{...e,_label:"With hidden clear button",_options:go,_value:"de",_hideClearButton:!0})]}),Y$=e=>t.jsxs(ro,{children:[t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text"}),t.jsx(ek,{...e})]}),t.jsxs("fieldset",{children:[t.jsx("legend",{children:"Text (hideLabel)"}),t.jsx(ek,{...e,_hideLabel:!0})]})]}),J$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsx("p",{children:"SingleSelect provides a select field for a single value, supported by a search field."})}),t.jsx(Zn,{RefComponent:Y$,showButtons:!1})]}),Q$={"single-select":{basic:J$}},nf={...Wj,...J6,...ej,...tj,...aj,...cj,...uj,...mj,...Tj,...Lj,...G$,...Ej,...Rj,...Pj,...Jj,...Xj,...nS,...lS,...sS,...bS,...kS,...xS,...zS,...CS,...IS,...BS,...$A,...NA,...OA,...VA,...qA,...JA,...XA,...nE,...rE,...aE,...Zv,...Zv,...TE,...EE,...Q$,...NE,...v$,...S$,...N$,...B$,...M$,...V$,...K$,...xE};L_(localStorage);const gg=(e,r="/")=>{let l=[];for(const i in e)if(e[i]){const c=e[i],d=`${r}${i}`;typeof c=="function"?l.push(d):typeof c=="object"&&c!==null&&(l=l.concat(gg(c,`${d}/`)))}return l},xg=e=>{const r=[];for(const l in e)if(e[l]){const i=e[l],c=`/${l}`;if(typeof i=="function")r.push(t.jsx(mt,{path:c,element:t.jsx(i,{})},c)),r.push(t.jsx(mt,{path:`${c}/all`,element:t.jsx("div",{className:"d-grid gap-4",children:Du.filter(d=>z_.indexOf(d.value)>=0).map(d=>t.jsxs("div",{className:"d-grid gap-2",children:[t.jsx("div",{className:"mt-4",children:t.jsx("strong",{children:d.label})}),t.jsx("div",{className:"my-2",children:t.jsx(i,{})}),t.jsx("hr",{"aria-hidden":"true"})]},d.value))})},`${c}/all`));else if(typeof i=="object"&&i!==null){const d=Object.keys(i);d.length>0&&r.push(t.jsx(mt,{path:`${c}/*`,element:t.jsxs(xk,{children:[t.jsx(mt,{path:"/",element:t.jsx(gk,{to:d[0]})}),xg(i)]})},c))}}return r},bu=gg(nf),X$=xg(nf),nk=new Map;bu.forEach(e=>{const r=e.split("/");nk.has(r[1])||nk.set(r[1],{label:r[1],value:e})});const eI=()=>{const e=wo(),[r,l]=yt(),i=r.get("theme")??cs(),c=r.has("hideMenus");Fj(i),q6(),document.title=`KoliBri-Handout - ${su(cs())} | v${au.version}`,document.body.setAttribute("class",i),document.body.dataset.theme=i;const d=f=>{l({theme:f}),window.location.reload()};return t.jsx(Fu.Provider,{value:c,children:t.jsxs("div",{className:c?"":"app-container","data-theme":i,children:[!c&&t.jsx(W6,{version:au.version,theme:i,sample:e.pathname,routes:nf,routeList:bu,buildDate:"2025-07-17T08:54:09.118Z",commitHash:"f45cab4b9",onThemeChange:d}),t.jsx("main",{className:"flex flex-col items-stretch p-4",id:"route-container",children:t.jsxs(xk,{children:[X$,t.jsx(mt,{path:"*",element:t.jsx(gk,{to:bu[0],replace:!0})}),t.jsx(mt,{path:"back-page",element:t.jsx(F6,{})})]})})]})})},nI=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableI18nOverwriting"),oI=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableThemePatching"),mu=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableTagNameTransformer"),vu=e=>`${e}-sample`;mu&&Tx(vu);const rI=async()=>[a4,Y4,M6];(async()=>{try{await ww(await rI(),()=>{Ez(window,{transformTagName:mu?vu:void 0})},{theme:{detect:"auto"},translation:{name:"en"},translations:nI?new Set([r=>r("en",{"kol-error":"Tiny error!"}),r=>r("de",{"kol-error":"Kleiner Fehler!"})]):void 0,transformTagName:mu?vu:void 0,environment:"production",reflectInputValues:!0}),oI&&zt.patchTheme("default",{"KOL-BUTTON":`
13597
13597
  button {
13598
13598
  border: 1px solid red;
13599
13599
  }`,"KOL-SPIN":`
@@ -13603,4 +13603,4 @@ sit amet.`,C$=()=>t.jsxs(t.Fragment,{children:[t.jsx(O,{children:t.jsxs("p",{chi
13603
13603
  .bg-spin-3 {
13604
13604
  background-color: gold;
13605
13605
  }`},{append:!0})}catch(r){console.warn("Theme registration failed:",r)}const e=document.querySelector("div#app");e instanceof HTMLDivElement&&sk.createRoot(e).render(t.jsx(g.StrictMode,{children:t.jsx(Qy,{children:t.jsx(eI,{})})}))})();export{EI as $,Hk as A,NI as B,xb as C,U0 as D,uI as E,PI as F,dm as G,Qw as H,pm as I,P0 as J,zd as K,yn as L,RI as M,Lu as N,I0 as O,aI as P,sI as Q,pb as R,wb as S,pI as T,TI as U,yw as V,jI as W,zI as X,gI as Y,bI as Z,Eu as _,Zo as a,AI as a0,$I as a1,N0 as a2,CI as a3,mI as a4,Kb as a5,zt as a6,jb as a7,lm as a8,um as a9,aw as aa,zm as ab,pw as ac,Rb as ad,Am as ae,Cm as af,$b as ag,xI as ah,fw as ai,lI as aj,SI as ak,mm as al,Hb as am,Wb as an,Jb as ao,xm as ap,Lm as aq,Tm as ar,$0 as as,iI as at,vo as au,Zd as av,hw as aw,bw as ax,cw as ay,Lb as b,Eb as c,LI as d,Bb as e,fI as f,OI as g,o_ as h,Ub as i,am as j,hI as k,Pb as l,vI as m,kI as n,yd as o,uw as p,II as q,BI as r,Gd as s,zb as t,dI as u,Uk as v,Au as w,wI as x,yI as y,_I as z};
13606
- //# sourceMappingURL=index-Cg5HcNRr.js.map
13606
+ //# sourceMappingURL=index-DJuKoE9z.js.map