@public-ui/sample-react 3.0.8-rc.3 → 3.0.8-rc.4

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 (267) hide show
  1. package/dist/assets/{Alert-DtvOOMUX-CovMa_Lh.js → Alert-IlI9a8L8-CqvA56CY.js} +2 -2
  2. package/dist/assets/{Alert-DtvOOMUX-CovMa_Lh.js.map → Alert-IlI9a8L8-CqvA56CY.js.map} +1 -1
  3. package/dist/assets/{Collapsible-BF3IrE6t--Krgw4CV.js → Collapsible-CEaLerHT-C6W62wCp.js} +2 -2
  4. package/dist/assets/{Collapsible-BF3IrE6t--Krgw4CV.js.map → Collapsible-CEaLerHT-C6W62wCp.js.map} +1 -1
  5. package/dist/assets/{CustomSuggestionsOptionsGroup-BXcv2wXg-nrYjAFjx.js → CustomSuggestionsOptionsGroup-D4brwWNX-ywLGRx1O.js} +2 -2
  6. package/dist/assets/{CustomSuggestionsOptionsGroup-BXcv2wXg-nrYjAFjx.js.map → CustomSuggestionsOptionsGroup-D4brwWNX-ywLGRx1O.js.map} +1 -1
  7. package/dist/assets/{FieldControlStateWrapper-vSHoKkZu-W4kj3x-i.js → FieldControlStateWrapper-C-Sfo1c6-Beww4YJh.js} +2 -2
  8. package/dist/assets/{FieldControlStateWrapper-vSHoKkZu-W4kj3x-i.js.map → FieldControlStateWrapper-C-Sfo1c6-Beww4YJh.js.map} +1 -1
  9. package/dist/assets/FormFieldStateWrapper-BFI10flh-KFSv6ReF.js +2 -0
  10. package/dist/assets/FormFieldStateWrapper-BFI10flh-KFSv6ReF.js.map +1 -0
  11. package/dist/assets/{Heading-CtNjSZvy-Cd_kymbr.js → Heading-BKziwidW-55I5po0U.js} +2 -2
  12. package/dist/assets/{Heading-CtNjSZvy-Cd_kymbr.js.map → Heading-BKziwidW-55I5po0U.js.map} +1 -1
  13. package/dist/assets/{Icon-C0YAvZYM-Dgftt-Vc.js → Icon-HlvqtT3B-LMgHofGc.js} +2 -2
  14. package/dist/assets/{Icon-C0YAvZYM-Dgftt-Vc.js.map → Icon-HlvqtT3B-LMgHofGc.js.map} +1 -1
  15. package/dist/assets/{Input-uDwRZfTu-Be_IJXxI.js → Input-D-duHyzQ-zUnEEXer.js} +2 -2
  16. package/dist/assets/{Input-uDwRZfTu-Be_IJXxI.js.map → Input-D-duHyzQ-zUnEEXer.js.map} +1 -1
  17. package/dist/assets/{InputStateWrapper-DPKOPHLb-BFSm1R2o.js → InputStateWrapper-C8UJec4--CYU_NBWz.js} +2 -2
  18. package/dist/assets/{InputStateWrapper-DPKOPHLb-BFSm1R2o.js.map → InputStateWrapper-C8UJec4--CYU_NBWz.js.map} +1 -1
  19. package/dist/assets/{InternalUnderlinedBadgeText-B_K9YhEU-CYt38jof.js → InternalUnderlinedBadgeText-C_lvSBxs-CgQFkMXR.js} +2 -2
  20. package/dist/assets/{InternalUnderlinedBadgeText-B_K9YhEU-CYt38jof.js.map → InternalUnderlinedBadgeText-C_lvSBxs-CgQFkMXR.js.map} +1 -1
  21. package/dist/assets/{Span-BDnbWXOy-2s83Dl-V.js → Span-CGgWtlpY-Cvy4Cr8j.js} +2 -2
  22. package/dist/assets/{Span-BDnbWXOy-2s83Dl-V.js.map → Span-CGgWtlpY-Cvy4Cr8j.js.map} +1 -1
  23. package/dist/assets/{access-and-short-key-B37XLwy2-c3taQzuu.js → access-and-short-key-B37XLwy2-DBgf425z.js} +2 -2
  24. package/dist/assets/{access-and-short-key-B37XLwy2-c3taQzuu.js.map → access-and-short-key-B37XLwy2-DBgf425z.js.map} +1 -1
  25. package/dist/assets/{align-D-ifSKu8-CJQ42AdT.js → align-D-ifSKu8-Bkl7qmQB.js} +2 -2
  26. package/dist/assets/{align-D-ifSKu8-CJQ42AdT.js.map → align-D-ifSKu8-Bkl7qmQB.js.map} +1 -1
  27. package/dist/assets/{align-floating-elements-BkpeqvtE-CQYSjgKL.js → align-floating-elements-BkpeqvtE-0Zy3Wg0b.js} +2 -2
  28. package/dist/assets/{align-floating-elements-BkpeqvtE-CQYSjgKL.js.map → align-floating-elements-BkpeqvtE-0Zy3Wg0b.js.map} +1 -1
  29. package/dist/assets/{associated.controller-ByY2WiIp-5GOW71wF.js → associated.controller-CKSywYuL-D8eB18ng.js} +2 -2
  30. package/dist/assets/{associated.controller-ByY2WiIp-5GOW71wF.js.map → associated.controller-CKSywYuL-D8eB18ng.js.map} +1 -1
  31. package/dist/assets/{auto-complete-mCkUnxg2-DLCYBKnL.js → auto-complete-mCkUnxg2-GzuE5sEk.js} +2 -2
  32. package/dist/assets/{auto-complete-mCkUnxg2-DLCYBKnL.js.map → auto-complete-mCkUnxg2-GzuE5sEk.js.map} +1 -1
  33. package/dist/assets/{color-BOIEtqEM-DWKcWfJl.js → color-BOIEtqEM-xMszYVov.js} +2 -2
  34. package/dist/assets/{color-BOIEtqEM-DWKcWfJl.js.map → color-BOIEtqEM-xMszYVov.js.map} +1 -1
  35. package/dist/assets/{controller-C5Ill7ej-CnUGo3aF.js → controller-C5Ill7ej-Cx9VlPz-.js} +2 -2
  36. package/dist/assets/{controller-C5Ill7ej-CnUGo3aF.js.map → controller-C5Ill7ej-Cx9VlPz-.js.map} +1 -1
  37. package/dist/assets/{controller-GoVirgjr-BzMwTNAD.js → controller-CxUY-7W7-CAWkKf1z.js} +2 -2
  38. package/dist/assets/{controller-GoVirgjr-BzMwTNAD.js.map → controller-CxUY-7W7-CAWkKf1z.js.map} +1 -1
  39. package/dist/assets/{controller-DZi-VgTc-CV9naSmG.js → controller-DRYT87Fy-DQKzBJy6.js} +2 -2
  40. package/dist/assets/{controller-DZi-VgTc-CV9naSmG.js.map → controller-DRYT87Fy-DQKzBJy6.js.map} +1 -1
  41. package/dist/assets/{controller-CzA8VVx0-2ueNJ_uw.js → controller-KnSPY11E-nRt87xmD.js} +2 -2
  42. package/dist/assets/{controller-CzA8VVx0-2ueNJ_uw.js.map → controller-KnSPY11E-nRt87xmD.js.map} +1 -1
  43. package/dist/assets/{controller-icon-Os52h8zb-Dk0j3A4m.js → controller-icon-BRDoShA8-DBth-y_5.js} +2 -2
  44. package/dist/assets/{controller-icon-Os52h8zb-Dk0j3A4m.js.map → controller-icon-BRDoShA8-DBth-y_5.js.map} +1 -1
  45. package/dist/assets/custom-class-nuoQ9Aml-Dqfv80KJ.js +2 -0
  46. package/dist/assets/{custom-class-nuoQ9Aml-K3bnYTDA.js.map → custom-class-nuoQ9Aml-Dqfv80KJ.js.map} +1 -1
  47. package/dist/assets/{dev.utils-CMwuN6qh-DL0LefBQ.js → dev.utils-DFM46HUh-C38jVylV.js} +2 -2
  48. package/dist/assets/{dev.utils-CMwuN6qh-DL0LefBQ.js.map → dev.utils-DFM46HUh-C38jVylV.js.map} +1 -1
  49. package/dist/assets/{devtools-B5bExzS0-DfTK3q75.js → devtools-C3sb0cO3-D8upNa8v.js} +2 -2
  50. package/dist/assets/{devtools-B5bExzS0-DfTK3q75.js.map → devtools-C3sb0cO3-D8upNa8v.js.map} +1 -1
  51. package/dist/assets/disabled-BhpAFgSp-BtdEoKtF.js +2 -0
  52. package/dist/assets/{disabled-BhpAFgSp-1QomtQQT.js.map → disabled-BhpAFgSp-BtdEoKtF.js.map} +1 -1
  53. package/dist/assets/has-closer-CQzjaTkv-DeYGSOU-.js +2 -0
  54. package/dist/assets/{has-closer-CQzjaTkv-Vg2LHGV8.js.map → has-closer-CQzjaTkv-DeYGSOU-.js.map} +1 -1
  55. package/dist/assets/hide-label-B9FhGrWP-OJfxvuWs.js +2 -0
  56. package/dist/assets/{hide-label-B9FhGrWP-C4JcD4zy.js.map → hide-label-B9FhGrWP-OJfxvuWs.js.map} +1 -1
  57. package/dist/assets/href-rwDd36rS-DoLiZV2a.js +2 -0
  58. package/dist/assets/{href-rwDd36rS-DC3PRDZI.js.map → href-rwDd36rS-DoLiZV2a.js.map} +1 -1
  59. package/dist/assets/i18n-BzQ08vD6-CUveE5Xe.js +2 -0
  60. package/dist/assets/{i18n-C5ifExT3-DejE9D8m.js.map → i18n-BzQ08vD6-CUveE5Xe.js.map} +1 -1
  61. package/dist/assets/{icons-B5i9zwjJ-LSzLp_HU.js → icons-B5i9zwjJ-D8ujwOW4.js} +2 -2
  62. package/dist/assets/{icons-B5i9zwjJ-LSzLp_HU.js.map → icons-B5i9zwjJ-D8ujwOW4.js.map} +1 -1
  63. package/dist/assets/image-source-BfBEJ0rX-Cu1RxRH0.js +2 -0
  64. package/dist/assets/{image-source-BfBEJ0rX-BaaOn3Ip.js.map → image-source-BfBEJ0rX-Cu1RxRH0.js.map} +1 -1
  65. package/dist/assets/{index-DqTuzsPS.js → index-_T6BftBg.js} +124 -33
  66. package/dist/assets/index-_T6BftBg.js.map +1 -0
  67. package/dist/assets/{kol-abbr.entry-BD7R-GfV.js → kol-abbr.entry-CnCAk4Lp.js} +2 -2
  68. package/dist/assets/{kol-abbr.entry-BD7R-GfV.js.map → kol-abbr.entry-CnCAk4Lp.js.map} +1 -1
  69. package/dist/assets/{kol-accordion.entry-BORUJAK2.js → kol-accordion.entry-B_WzcNEb.js} +2 -2
  70. package/dist/assets/{kol-accordion.entry-BORUJAK2.js.map → kol-accordion.entry-B_WzcNEb.js.map} +1 -1
  71. package/dist/assets/{kol-alert-wc.entry-Jgh30xYd.js → kol-alert-wc.entry-DfH5MDLq.js} +2 -2
  72. package/dist/assets/{kol-alert-wc.entry-Jgh30xYd.js.map → kol-alert-wc.entry-DfH5MDLq.js.map} +1 -1
  73. package/dist/assets/{kol-alert.entry--5F6dN3P.js → kol-alert.entry-CvyoeFmU.js} +2 -2
  74. package/dist/assets/{kol-alert.entry--5F6dN3P.js.map → kol-alert.entry-CvyoeFmU.js.map} +1 -1
  75. package/dist/assets/{kol-avatar-wc.entry-D7ybHS4u.js → kol-avatar-wc.entry-BvXuHk-r.js} +2 -2
  76. package/dist/assets/{kol-avatar-wc.entry-D7ybHS4u.js.map → kol-avatar-wc.entry-BvXuHk-r.js.map} +1 -1
  77. package/dist/assets/{kol-avatar.entry-48Cq25al.js → kol-avatar.entry-Z4KCbeUV.js} +2 -2
  78. package/dist/assets/{kol-avatar.entry-48Cq25al.js.map → kol-avatar.entry-Z4KCbeUV.js.map} +1 -1
  79. package/dist/assets/{kol-badge.entry-DqDvIjlU.js → kol-badge.entry-BeK8ud4x.js} +2 -2
  80. package/dist/assets/{kol-badge.entry-DqDvIjlU.js.map → kol-badge.entry-BeK8ud4x.js.map} +1 -1
  81. package/dist/assets/{kol-breadcrumb.entry-CWjz7VzU.js → kol-breadcrumb.entry-D3IcRmTI.js} +2 -2
  82. package/dist/assets/{kol-breadcrumb.entry-CWjz7VzU.js.map → kol-breadcrumb.entry-D3IcRmTI.js.map} +1 -1
  83. package/dist/assets/{kol-button-link.entry-1kf5diMC.js → kol-button-link.entry-bNYPPceB.js} +2 -2
  84. package/dist/assets/{kol-button-link.entry-1kf5diMC.js.map → kol-button-link.entry-bNYPPceB.js.map} +1 -1
  85. package/dist/assets/{kol-button-wc.entry-BYWpOM-V.js → kol-button-wc.entry-DFu_NYiL.js} +2 -2
  86. package/dist/assets/{kol-button-wc.entry-BYWpOM-V.js.map → kol-button-wc.entry-DFu_NYiL.js.map} +1 -1
  87. package/dist/assets/{kol-button.entry-39BYZV_x.js → kol-button.entry-BrbibYN0.js} +2 -2
  88. package/dist/assets/{kol-button.entry-39BYZV_x.js.map → kol-button.entry-BrbibYN0.js.map} +1 -1
  89. package/dist/assets/{kol-card-wc.entry-3CaS7qPl.js → kol-card-wc.entry-D2XQ9spC.js} +2 -2
  90. package/dist/assets/{kol-card-wc.entry-3CaS7qPl.js.map → kol-card-wc.entry-D2XQ9spC.js.map} +1 -1
  91. package/dist/assets/{kol-card.entry-CeOIYWlM.js → kol-card.entry-DYNpfWcZ.js} +2 -2
  92. package/dist/assets/{kol-card.entry-CeOIYWlM.js.map → kol-card.entry-DYNpfWcZ.js.map} +1 -1
  93. package/dist/assets/{kol-combobox.entry-CrHQnmF3.js → kol-combobox.entry-DVRTd4Dp.js} +4 -4
  94. package/dist/assets/kol-combobox.entry-DVRTd4Dp.js.map +1 -0
  95. package/dist/assets/{kol-details.entry-n1d-5uX-.js → kol-details.entry-CzKiKaVZ.js} +2 -2
  96. package/dist/assets/{kol-details.entry-n1d-5uX-.js.map → kol-details.entry-CzKiKaVZ.js.map} +1 -1
  97. package/dist/assets/{kol-drawer.entry-BsYxWoSP.js → kol-drawer.entry-O8h5NwLs.js} +2 -2
  98. package/dist/assets/{kol-drawer.entry-BsYxWoSP.js.map → kol-drawer.entry-O8h5NwLs.js.map} +1 -1
  99. package/dist/assets/{kol-form.entry-EMOm70f5.js → kol-form.entry-9w-ohtq-.js} +2 -2
  100. package/dist/assets/{kol-form.entry-EMOm70f5.js.map → kol-form.entry-9w-ohtq-.js.map} +1 -1
  101. package/dist/assets/{kol-heading.entry-BwZ3jmlq.js → kol-heading.entry-jcrnwesz.js} +2 -2
  102. package/dist/assets/{kol-heading.entry-BwZ3jmlq.js.map → kol-heading.entry-jcrnwesz.js.map} +1 -1
  103. package/dist/assets/{kol-icon.entry-DwafBQXz.js → kol-icon.entry-56Z49YA9.js} +2 -2
  104. package/dist/assets/{kol-icon.entry-DwafBQXz.js.map → kol-icon.entry-56Z49YA9.js.map} +1 -1
  105. package/dist/assets/{kol-image.entry-45WWVqbx.js → kol-image.entry-CiD__Wrg.js} +2 -2
  106. package/dist/assets/{kol-image.entry-45WWVqbx.js.map → kol-image.entry-CiD__Wrg.js.map} +1 -1
  107. package/dist/assets/{kol-input-checkbox.entry-DHbB6A1w.js → kol-input-checkbox.entry-C4J-B5xc.js} +4 -4
  108. package/dist/assets/kol-input-checkbox.entry-C4J-B5xc.js.map +1 -0
  109. package/dist/assets/{kol-input-color.entry-Ca8HDgz1.js → kol-input-color.entry-B15j0O5l.js} +4 -4
  110. package/dist/assets/kol-input-color.entry-B15j0O5l.js.map +1 -0
  111. package/dist/assets/{kol-input-date.entry-BVfLG824.js → kol-input-date.entry-qrcbo7c-.js} +4 -4
  112. package/dist/assets/kol-input-date.entry-qrcbo7c-.js.map +1 -0
  113. package/dist/assets/{kol-input-email.entry-BtDV1p_M.js → kol-input-email.entry-DsPpqmxf.js} +4 -4
  114. package/dist/assets/kol-input-email.entry-DsPpqmxf.js.map +1 -0
  115. package/dist/assets/{kol-input-file.entry-BRX7E0p8.js → kol-input-file.entry-B9dExi0D.js} +4 -4
  116. package/dist/assets/kol-input-file.entry-B9dExi0D.js.map +1 -0
  117. package/dist/assets/{kol-input-number.entry-CiGtkNEp.js → kol-input-number.entry-Br864Rhe.js} +4 -4
  118. package/dist/assets/kol-input-number.entry-Br864Rhe.js.map +1 -0
  119. package/dist/assets/{kol-input-password.entry-WE5my0nN.js → kol-input-password.entry-Cc_PsVQT.js} +4 -4
  120. package/dist/assets/kol-input-password.entry-Cc_PsVQT.js.map +1 -0
  121. package/dist/assets/{kol-input-radio.entry-BgRCs-DM.js → kol-input-radio.entry-BQEWolQ5.js} +4 -4
  122. package/dist/assets/kol-input-radio.entry-BQEWolQ5.js.map +1 -0
  123. package/dist/assets/{kol-input-range.entry-DW4ZilIW.js → kol-input-range.entry-CD1wAhBn.js} +4 -4
  124. package/dist/assets/kol-input-range.entry-CD1wAhBn.js.map +1 -0
  125. package/dist/assets/{kol-input-text.entry-D7xJMvsa.js → kol-input-text.entry-BDlkmPJO.js} +4 -4
  126. package/dist/assets/kol-input-text.entry-BDlkmPJO.js.map +1 -0
  127. package/dist/assets/{kol-kolibri.entry-BKeJqZXh.js → kol-kolibri.entry-CtVoskXw.js} +2 -2
  128. package/dist/assets/{kol-kolibri.entry-BKeJqZXh.js.map → kol-kolibri.entry-CtVoskXw.js.map} +1 -1
  129. package/dist/assets/{kol-link-button.entry-DKd9nOex.js → kol-link-button.entry-DlIqPVXl.js} +2 -2
  130. package/dist/assets/{kol-link-button.entry-DKd9nOex.js.map → kol-link-button.entry-DlIqPVXl.js.map} +1 -1
  131. package/dist/assets/{kol-link-wc.entry-Bc3pEk2d.js → kol-link-wc.entry-BfryI1xJ.js} +2 -2
  132. package/dist/assets/{kol-link-wc.entry-Bc3pEk2d.js.map → kol-link-wc.entry-BfryI1xJ.js.map} +1 -1
  133. package/dist/assets/{kol-link.entry-CA-ztbq-.js → kol-link.entry-Bq8i-Ywr.js} +2 -2
  134. package/dist/assets/{kol-link.entry-CA-ztbq-.js.map → kol-link.entry-Bq8i-Ywr.js.map} +1 -1
  135. package/dist/assets/{kol-modal.entry-BGaHTW3v.js → kol-modal.entry-CT1CODIa.js} +2 -2
  136. package/dist/assets/{kol-modal.entry-BGaHTW3v.js.map → kol-modal.entry-CT1CODIa.js.map} +1 -1
  137. package/dist/assets/{kol-nav.entry-DdwkLkqL.js → kol-nav.entry-5F9cmwT6.js} +2 -2
  138. package/dist/assets/{kol-nav.entry-DdwkLkqL.js.map → kol-nav.entry-5F9cmwT6.js.map} +1 -1
  139. package/dist/assets/{kol-pagination-wc.entry-D4B2_ioG.js → kol-pagination-wc.entry-3AE7b799.js} +2 -2
  140. package/dist/assets/{kol-pagination-wc.entry-D4B2_ioG.js.map → kol-pagination-wc.entry-3AE7b799.js.map} +1 -1
  141. package/dist/assets/{kol-pagination.entry--inYSDUw.js → kol-pagination.entry-jXxcxhh8.js} +2 -2
  142. package/dist/assets/{kol-pagination.entry--inYSDUw.js.map → kol-pagination.entry-jXxcxhh8.js.map} +1 -1
  143. package/dist/assets/{kol-popover-button-wc.entry-Dc0_d1TW.js → kol-popover-button-wc.entry-CMMfG5PJ.js} +2 -2
  144. package/dist/assets/{kol-popover-button-wc.entry-Dc0_d1TW.js.map → kol-popover-button-wc.entry-CMMfG5PJ.js.map} +1 -1
  145. package/dist/assets/{kol-popover-button.entry-DRWZOdIM.js → kol-popover-button.entry-C2TWabid.js} +2 -2
  146. package/dist/assets/{kol-popover-button.entry-DRWZOdIM.js.map → kol-popover-button.entry-C2TWabid.js.map} +1 -1
  147. package/dist/assets/{kol-popover-wc.entry-CeJX2ulC.js → kol-popover-wc.entry-GxHbuJbD.js} +2 -2
  148. package/dist/assets/{kol-popover-wc.entry-CeJX2ulC.js.map → kol-popover-wc.entry-GxHbuJbD.js.map} +1 -1
  149. package/dist/assets/{kol-progress.entry-CzqPJvSk.js → kol-progress.entry-CZSq8-uR.js} +2 -2
  150. package/dist/assets/{kol-progress.entry-CzqPJvSk.js.map → kol-progress.entry-CZSq8-uR.js.map} +1 -1
  151. package/dist/assets/{kol-quote.entry-mhVUO3TU.js → kol-quote.entry-n-yotzWy.js} +2 -2
  152. package/dist/assets/{kol-quote.entry-mhVUO3TU.js.map → kol-quote.entry-n-yotzWy.js.map} +1 -1
  153. package/dist/assets/{kol-select.entry-7jac0lF0.js → kol-select.entry-BrpigIvL.js} +4 -4
  154. package/dist/assets/{kol-select.entry-7jac0lF0.js.map → kol-select.entry-BrpigIvL.js.map} +1 -1
  155. package/dist/assets/{kol-single-select.entry-CbGXwI84.js → kol-single-select.entry-YfTNHJjY.js} +4 -4
  156. package/dist/assets/kol-single-select.entry-YfTNHJjY.js.map +1 -0
  157. package/dist/assets/{kol-skip-nav.entry-CE0uqc7Q.js → kol-skip-nav.entry-CFaunrAD.js} +2 -2
  158. package/dist/assets/{kol-skip-nav.entry-CE0uqc7Q.js.map → kol-skip-nav.entry-CFaunrAD.js.map} +1 -1
  159. package/dist/assets/{kol-spin.entry-B2krNbvJ.js → kol-spin.entry-C3m9GnYU.js} +2 -2
  160. package/dist/assets/{kol-spin.entry-B2krNbvJ.js.map → kol-spin.entry-C3m9GnYU.js.map} +1 -1
  161. package/dist/assets/{kol-split-button.entry-B5kKgvVx.js → kol-split-button.entry-Z0gKqCBv.js} +2 -2
  162. package/dist/assets/{kol-split-button.entry-B5kKgvVx.js.map → kol-split-button.entry-Z0gKqCBv.js.map} +1 -1
  163. package/dist/assets/{kol-table-settings-wc.entry-Ps1GI2k9.js → kol-table-settings-wc.entry-BeJOqmmN.js} +2 -2
  164. package/dist/assets/{kol-table-settings-wc.entry-Ps1GI2k9.js.map → kol-table-settings-wc.entry-BeJOqmmN.js.map} +1 -1
  165. package/dist/assets/{kol-table-stateful.entry-CmF8BEie.js → kol-table-stateful.entry-CW4jBS7c.js} +2 -2
  166. package/dist/assets/{kol-table-stateful.entry-CmF8BEie.js.map → kol-table-stateful.entry-CW4jBS7c.js.map} +1 -1
  167. package/dist/assets/{kol-table-stateless-wc.entry-Cd9t-rXc.js → kol-table-stateless-wc.entry-CTWtNjhS.js} +2 -2
  168. package/dist/assets/{kol-table-stateless-wc.entry-Cd9t-rXc.js.map → kol-table-stateless-wc.entry-CTWtNjhS.js.map} +1 -1
  169. package/dist/assets/{kol-table-stateless.entry-DXVLwE02.js → kol-table-stateless.entry-BcRPetH4.js} +2 -2
  170. package/dist/assets/{kol-table-stateless.entry-DXVLwE02.js.map → kol-table-stateless.entry-BcRPetH4.js.map} +1 -1
  171. package/dist/assets/{kol-tabs.entry-COCa1tB7.js → kol-tabs.entry-DKRqkdmz.js} +2 -2
  172. package/dist/assets/{kol-tabs.entry-COCa1tB7.js.map → kol-tabs.entry-DKRqkdmz.js.map} +1 -1
  173. package/dist/assets/{kol-textarea.entry-DbXdGu3F.js → kol-textarea.entry--AbK15eU.js} +4 -4
  174. package/dist/assets/kol-textarea.entry--AbK15eU.js.map +1 -0
  175. package/dist/assets/{kol-toast-container.entry-fMPZf8jS.js → kol-toast-container.entry-DtJq9Lqt.js} +2 -2
  176. package/dist/assets/{kol-toast-container.entry-fMPZf8jS.js.map → kol-toast-container.entry-DtJq9Lqt.js.map} +1 -1
  177. package/dist/assets/{kol-toolbar.entry-BNqnW-92.js → kol-toolbar.entry-1AtSPCza.js} +2 -2
  178. package/dist/assets/{kol-toolbar.entry-BNqnW-92.js.map → kol-toolbar.entry-1AtSPCza.js.map} +1 -1
  179. package/dist/assets/{kol-tooltip-wc.entry-BmbOvjDF.js → kol-tooltip-wc.entry-B_QdT8pY.js} +2 -2
  180. package/dist/assets/{kol-tooltip-wc.entry-BmbOvjDF.js.map → kol-tooltip-wc.entry-B_QdT8pY.js.map} +1 -1
  181. package/dist/assets/{kol-tree-item-wc.entry-BarfoTHm.js → kol-tree-item-wc.entry-DTzsO4AM.js} +2 -2
  182. package/dist/assets/{kol-tree-item-wc.entry-BarfoTHm.js.map → kol-tree-item-wc.entry-DTzsO4AM.js.map} +1 -1
  183. package/dist/assets/{kol-tree-item.entry-C6wMC80I.js → kol-tree-item.entry-cylG1wiW.js} +2 -2
  184. package/dist/assets/{kol-tree-item.entry-C6wMC80I.js.map → kol-tree-item.entry-cylG1wiW.js.map} +1 -1
  185. package/dist/assets/{kol-tree-wc.entry-Bh7EZQCX.js → kol-tree-wc.entry-Bv-NQoR8.js} +2 -2
  186. package/dist/assets/{kol-tree-wc.entry-Bh7EZQCX.js.map → kol-tree-wc.entry-Bv-NQoR8.js.map} +1 -1
  187. package/dist/assets/{kol-tree.entry-D2d8wJpf.js → kol-tree.entry-BPVgcy51.js} +2 -2
  188. package/dist/assets/{kol-tree.entry-D2d8wJpf.js.map → kol-tree.entry-BPVgcy51.js.map} +1 -1
  189. package/dist/assets/{kol-version.entry-C-wzfDgC.js → kol-version.entry-Dn8jz-7B.js} +2 -2
  190. package/dist/assets/{kol-version.entry-C-wzfDgC.js.map → kol-version.entry-Dn8jz-7B.js.map} +1 -1
  191. package/dist/assets/{label-Dnmzb2S_-DqCV17mQ.js → label-Dnmzb2S_-XgPg86ex.js} +2 -2
  192. package/dist/assets/{label-Dnmzb2S_-DqCV17mQ.js.map → label-Dnmzb2S_-XgPg86ex.js.map} +1 -1
  193. package/dist/assets/{link-variant-DQEKOyAU-DdDsv7f_.js → link-variant-DQEKOyAU-B_UT3BGS.js} +2 -2
  194. package/dist/assets/{link-variant-DQEKOyAU-DdDsv7f_.js.map → link-variant-DQEKOyAU-B_UT3BGS.js.map} +1 -1
  195. package/dist/assets/{markdown-BSkXjaSn-DblBpW_W.js → markdown-BSkXjaSn-C-NPiYFo.js} +2 -2
  196. package/dist/assets/{markdown-BSkXjaSn-DblBpW_W.js.map → markdown-BSkXjaSn-C-NPiYFo.js.map} +1 -1
  197. package/dist/assets/{max-length-behavior-nTw1Zuyf-CTiqIczj.js → max-length-behavior-nTw1Zuyf-D2-YaMKc.js} +2 -2
  198. package/dist/assets/{max-length-behavior-nTw1Zuyf-CTiqIczj.js.map → max-length-behavior-nTw1Zuyf-D2-YaMKc.js.map} +1 -1
  199. package/dist/assets/multiple-Cj3JQafH-D6CTCLKa.js +2 -0
  200. package/dist/assets/{multiple-Cj3JQafH-BK6fXbXH.js.map → multiple-Cj3JQafH-D6CTCLKa.js.map} +1 -1
  201. package/dist/assets/open-CbvHO4XG-BhAS6OqC.js +2 -0
  202. package/dist/assets/{open-CbvHO4XG-Cla55BM0.js.map → open-CbvHO4XG-BhAS6OqC.js.map} +1 -1
  203. package/dist/assets/{orientation-eCMt8CD1-DqB5k4v6.js → orientation-eCMt8CD1-BWIKuDUL.js} +2 -2
  204. package/dist/assets/{orientation-eCMt8CD1-DqB5k4v6.js.map → orientation-eCMt8CD1-BWIKuDUL.js.map} +1 -1
  205. package/dist/assets/placeholder-BVhy3BzI-CA2FChL6.js +2 -0
  206. package/dist/assets/{placeholder-BVhy3BzI-B5Ll7nX9.js.map → placeholder-BVhy3BzI-CA2FChL6.js.map} +1 -1
  207. package/dist/assets/read-only-BetTuumR-zFP8Zt0M.js +2 -0
  208. package/dist/assets/{read-only-BetTuumR-DBJOLTvM.js.map → read-only-BetTuumR-zFP8Zt0M.js.map} +1 -1
  209. package/dist/assets/required-CnTTpFCN-BFUPGYBa.js +2 -0
  210. package/dist/assets/{required-CnTTpFCN-C7yWyBiF.js.map → required-CnTTpFCN-BFUPGYBa.js.map} +1 -1
  211. package/dist/assets/rows-DtS-0sp9-CPkob4UX.js +2 -0
  212. package/dist/assets/{rows-DtS-0sp9-CPrtPsF7.js.map → rows-DtS-0sp9-CPkob4UX.js.map} +1 -1
  213. package/dist/assets/show-DdPK3aM7-1vwJegxh.js +2 -0
  214. package/dist/assets/{show-DdPK3aM7-B0Rfv5TI.js.map → show-DdPK3aM7-1vwJegxh.js.map} +1 -1
  215. package/dist/assets/spell-check-B9ot-4t--BU9INFG8.js +2 -0
  216. package/dist/assets/{spell-check-B9ot-4t--Dlbjxgri.js.map → spell-check-B9ot-4t--BU9INFG8.js.map} +1 -1
  217. package/dist/assets/{suggestions-B-jLvT4L-BBbwk5P9.js → suggestions-B-jLvT4L-uYd3DXyy.js} +2 -2
  218. package/dist/assets/{suggestions-B-jLvT4L-BBbwk5P9.js.map → suggestions-B-jLvT4L-uYd3DXyy.js.map} +1 -1
  219. package/dist/assets/{table-settings-DxLvhwRE-C3hfZGf4.js → table-settings-DxLvhwRE-J0FQq8k_.js} +2 -2
  220. package/dist/assets/{table-settings-DxLvhwRE-C3hfZGf4.js.map → table-settings-DxLvhwRE-J0FQq8k_.js.map} +1 -1
  221. package/dist/assets/test-component.entry-DRqfuZho.js +2 -0
  222. package/dist/assets/{test-component.entry-Dufewrqq.js.map → test-component.entry-DRqfuZho.js.map} +1 -1
  223. package/dist/assets/tooltip-align-Cnin7S26-DKDU_Aim.js +2 -0
  224. package/dist/assets/{tooltip-align-Cnin7S26-BSE4HRv-.js.map → tooltip-align-Cnin7S26-DKDU_Aim.js.map} +1 -1
  225. package/dist/assets/{unique-nav-labels-CrfmPC99-ClvKi-w1.js → unique-nav-labels-CrfmPC99-H6I35SIy.js} +2 -2
  226. package/dist/assets/{unique-nav-labels-CrfmPC99-ClvKi-w1.js.map → unique-nav-labels-CrfmPC99-H6I35SIy.js.map} +1 -1
  227. package/dist/assets/{validation-BfjI5un_-D4-jB87p.js → validation-BfjI5un_-CfUo1_Kl.js} +2 -2
  228. package/dist/assets/{validation-BfjI5un_-D4-jB87p.js.map → validation-BfjI5un_-CfUo1_Kl.js.map} +1 -1
  229. package/dist/assets/validation-aqgnZOL6-CmGO6DzA.js +2 -0
  230. package/dist/assets/{validation-aqgnZOL6-DTGakI5b.js.map → validation-aqgnZOL6-CmGO6DzA.js.map} +1 -1
  231. package/dist/index.html +1 -1
  232. package/package.json +7 -7
  233. package/src/components/input-text/partials/cases.tsx +3 -3
  234. package/dist/assets/FormFieldStateWrapper--mfN3zxB-C_2VXMaG.js +0 -2
  235. package/dist/assets/FormFieldStateWrapper--mfN3zxB-C_2VXMaG.js.map +0 -1
  236. package/dist/assets/custom-class-nuoQ9Aml-K3bnYTDA.js +0 -2
  237. package/dist/assets/disabled-BhpAFgSp-1QomtQQT.js +0 -2
  238. package/dist/assets/has-closer-CQzjaTkv-Vg2LHGV8.js +0 -2
  239. package/dist/assets/hide-label-B9FhGrWP-C4JcD4zy.js +0 -2
  240. package/dist/assets/href-rwDd36rS-DC3PRDZI.js +0 -2
  241. package/dist/assets/i18n-C5ifExT3-DejE9D8m.js +0 -2
  242. package/dist/assets/image-source-BfBEJ0rX-BaaOn3Ip.js +0 -2
  243. package/dist/assets/index-DqTuzsPS.js.map +0 -1
  244. package/dist/assets/kol-combobox.entry-CrHQnmF3.js.map +0 -1
  245. package/dist/assets/kol-input-checkbox.entry-DHbB6A1w.js.map +0 -1
  246. package/dist/assets/kol-input-color.entry-Ca8HDgz1.js.map +0 -1
  247. package/dist/assets/kol-input-date.entry-BVfLG824.js.map +0 -1
  248. package/dist/assets/kol-input-email.entry-BtDV1p_M.js.map +0 -1
  249. package/dist/assets/kol-input-file.entry-BRX7E0p8.js.map +0 -1
  250. package/dist/assets/kol-input-number.entry-CiGtkNEp.js.map +0 -1
  251. package/dist/assets/kol-input-password.entry-WE5my0nN.js.map +0 -1
  252. package/dist/assets/kol-input-radio.entry-BgRCs-DM.js.map +0 -1
  253. package/dist/assets/kol-input-range.entry-DW4ZilIW.js.map +0 -1
  254. package/dist/assets/kol-input-text.entry-D7xJMvsa.js.map +0 -1
  255. package/dist/assets/kol-single-select.entry-CbGXwI84.js.map +0 -1
  256. package/dist/assets/kol-textarea.entry-DbXdGu3F.js.map +0 -1
  257. package/dist/assets/multiple-Cj3JQafH-BK6fXbXH.js +0 -2
  258. package/dist/assets/open-CbvHO4XG-Cla55BM0.js +0 -2
  259. package/dist/assets/placeholder-BVhy3BzI-B5Ll7nX9.js +0 -2
  260. package/dist/assets/read-only-BetTuumR-DBJOLTvM.js +0 -2
  261. package/dist/assets/required-CnTTpFCN-C7yWyBiF.js +0 -2
  262. package/dist/assets/rows-DtS-0sp9-CPrtPsF7.js +0 -2
  263. package/dist/assets/show-DdPK3aM7-B0Rfv5TI.js +0 -2
  264. package/dist/assets/spell-check-B9ot-4t--Dlbjxgri.js +0 -2
  265. package/dist/assets/test-component.entry-Dufewrqq.js +0 -2
  266. package/dist/assets/tooltip-align-Cnin7S26-BSE4HRv-.js +0 -2
  267. package/dist/assets/validation-aqgnZOL6-DTGakI5b.js +0 -2
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/kol-abbr.entry-BD7R-GfV.js","assets/label-Dnmzb2S_-DqCV17mQ.js","assets/kol-accordion.entry-BORUJAK2.js","assets/Collapsible-BF3IrE6t--Krgw4CV.js","assets/tslib.es6-CxX45GIN-BGVaTf34.js","assets/clsx-eK3rPvPS-B-dksMZM.js","assets/Heading-CtNjSZvy-Cd_kymbr.js","assets/disabled-BhpAFgSp-1QomtQQT.js","assets/open-CbvHO4XG-Cla55BM0.js","assets/dev.utils-CMwuN6qh-DL0LefBQ.js","assets/validation-aqgnZOL6-DTGakI5b.js","assets/kol-badge.entry-DqDvIjlU.js","assets/Alert-DtvOOMUX-CovMa_Lh.js","assets/i18n-C5ifExT3-DejE9D8m.js","assets/color-BOIEtqEM-DWKcWfJl.js","assets/icons-B5i9zwjJ-LSzLp_HU.js","assets/Span-BDnbWXOy-2s83Dl-V.js","assets/Icon-C0YAvZYM-Dgftt-Vc.js","assets/reuse-CX4AQDkS-BaVSFETn.js","assets/markdown-BSkXjaSn-DblBpW_W.js","assets/InternalUnderlinedBadgeText-B_K9YhEU-CYt38jof.js","assets/isObject-DvSELytj-DhzEQer1.js","assets/kol-breadcrumb.entry-CWjz7VzU.js","assets/unique-nav-labels-CrfmPC99-ClvKi-w1.js","assets/validation-BfjI5un_-D4-jB87p.js","assets/kol-details.entry-n1d-5uX-.js","assets/kol-drawer.entry-BsYxWoSP.js","assets/align-D-ifSKu8-CJQ42AdT.js","assets/has-closer-CQzjaTkv-Vg2LHGV8.js","assets/tooltip-open-tracking-rBbBgPWP-DRkgcff2.js","assets/kol-form.entry-EMOm70f5.js","assets/kol-heading.entry-BwZ3jmlq.js","assets/kol-icon.entry-DwafBQXz.js","assets/kol-image.entry-45WWVqbx.js","assets/image-source-BfBEJ0rX-BaaOn3Ip.js","assets/kol-input-checkbox.entry-DHbB6A1w.js","assets/controller-DZi-VgTc-CV9naSmG.js","assets/required-CnTTpFCN-C7yWyBiF.js","assets/orientation-eCMt8CD1-DqB5k4v6.js","assets/FormFieldStateWrapper--mfN3zxB-C_2VXMaG.js","assets/access-and-short-key-B37XLwy2-c3taQzuu.js","assets/hide-label-B9FhGrWP-C4JcD4zy.js","assets/tooltip-align-Cnin7S26-BSE4HRv-.js","assets/associated.controller-ByY2WiIp-5GOW71wF.js","assets/Input-uDwRZfTu-Be_IJXxI.js","assets/FieldControlStateWrapper-vSHoKkZu-W4kj3x-i.js","assets/controller-C5Ill7ej-CnUGo3aF.js","assets/kol-input-color.entry-Ca8HDgz1.js","assets/controller-icon-Os52h8zb-Dk0j3A4m.js","assets/InputStateWrapper-DPKOPHLb-BFSm1R2o.js","assets/auto-complete-mCkUnxg2-DLCYBKnL.js","assets/suggestions-B-jLvT4L-BBbwk5P9.js","assets/kol-input-date.entry-BVfLG824.js","assets/read-only-BetTuumR-DBJOLTvM.js","assets/kol-input-email.entry-BtDV1p_M.js","assets/max-length-behavior-nTw1Zuyf-CTiqIczj.js","assets/multiple-Cj3JQafH-BK6fXbXH.js","assets/controller-GoVirgjr-BzMwTNAD.js","assets/spell-check-B9ot-4t--Dlbjxgri.js","assets/controller-CzA8VVx0-2ueNJ_uw.js","assets/placeholder-BVhy3BzI-B5Ll7nX9.js","assets/kol-input-file.entry-BRX7E0p8.js","assets/kol-input-number.entry-CiGtkNEp.js","assets/kol-input-password.entry-WE5my0nN.js","assets/kol-input-radio.entry-BgRCs-DM.js","assets/kol-input-text.entry-D7xJMvsa.js","assets/kol-kolibri.entry-BKeJqZXh.js","assets/kol-modal.entry-BGaHTW3v.js","assets/kol-nav.entry-DdwkLkqL.js","assets/kol-progress.entry-CzqPJvSk.js","assets/kol-quote.entry-mhVUO3TU.js","assets/kol-select.entry-7jac0lF0.js","assets/rows-DtS-0sp9-CPrtPsF7.js","assets/kol-skip-nav.entry-CE0uqc7Q.js","assets/kol-spin.entry-B2krNbvJ.js","assets/show-DdPK3aM7-B0Rfv5TI.js","assets/kol-split-button.entry-B5kKgvVx.js","assets/kol-table-stateful.entry-CmF8BEie.js","assets/table-settings-DxLvhwRE-C3hfZGf4.js","assets/keyboard-D6PoWr38-BGYQJqo4.js","assets/kol-tabs.entry-COCa1tB7.js","assets/kol-textarea.entry-DbXdGu3F.js","assets/kol-toast-container.entry-fMPZf8jS.js","assets/kol-toolbar.entry-BNqnW-92.js","assets/kol-version.entry-C-wzfDgC.js","assets/kol-alert-wc.entry-Jgh30xYd.js","assets/kol-avatar-wc.entry-D7ybHS4u.js","assets/kol-button-wc.entry-BYWpOM-V.js","assets/link-variant-DQEKOyAU-DdDsv7f_.js","assets/custom-class-nuoQ9Aml-K3bnYTDA.js","assets/kol-card-wc.entry-3CaS7qPl.js","assets/kol-combobox.entry-CrHQnmF3.js","assets/CustomSuggestionsOptionsGroup-BXcv2wXg-nrYjAFjx.js","assets/kol-input-range.entry-DW4ZilIW.js","assets/kol-link-wc.entry-Bc3pEk2d.js","assets/href-rwDd36rS-DC3PRDZI.js","assets/kol-pagination-wc.entry-D4B2_ioG.js","assets/kol-popover-button-wc.entry-Dc0_d1TW.js","assets/align-floating-elements-BkpeqvtE-CQYSjgKL.js","assets/kol-popover-wc.entry-CeJX2ulC.js","assets/kol-single-select.entry-CbGXwI84.js","assets/kol-table-settings-wc.entry-Ps1GI2k9.js","assets/kol-table-stateless-wc.entry-Cd9t-rXc.js","assets/kol-tooltip-wc.entry-BmbOvjDF.js","assets/kol-tree-item-wc.entry-BarfoTHm.js","assets/kol-tree-wc.entry-Bh7EZQCX.js","assets/devtools-B5bExzS0-DfTK3q75.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/kol-abbr.entry-CnCAk4Lp.js","assets/label-Dnmzb2S_-XgPg86ex.js","assets/kol-accordion.entry-B_WzcNEb.js","assets/Collapsible-CEaLerHT-C6W62wCp.js","assets/tslib.es6-CxX45GIN-BGVaTf34.js","assets/clsx-eK3rPvPS-B-dksMZM.js","assets/Heading-BKziwidW-55I5po0U.js","assets/disabled-BhpAFgSp-BtdEoKtF.js","assets/open-CbvHO4XG-BhAS6OqC.js","assets/dev.utils-DFM46HUh-C38jVylV.js","assets/validation-aqgnZOL6-CmGO6DzA.js","assets/kol-badge.entry-BeK8ud4x.js","assets/Alert-IlI9a8L8-CqvA56CY.js","assets/i18n-BzQ08vD6-CUveE5Xe.js","assets/color-BOIEtqEM-xMszYVov.js","assets/icons-B5i9zwjJ-D8ujwOW4.js","assets/Span-CGgWtlpY-Cvy4Cr8j.js","assets/Icon-HlvqtT3B-LMgHofGc.js","assets/reuse-CX4AQDkS-BaVSFETn.js","assets/markdown-BSkXjaSn-C-NPiYFo.js","assets/InternalUnderlinedBadgeText-C_lvSBxs-CgQFkMXR.js","assets/isObject-DvSELytj-DhzEQer1.js","assets/kol-breadcrumb.entry-D3IcRmTI.js","assets/unique-nav-labels-CrfmPC99-H6I35SIy.js","assets/validation-BfjI5un_-CfUo1_Kl.js","assets/kol-details.entry-CzKiKaVZ.js","assets/kol-drawer.entry-O8h5NwLs.js","assets/align-D-ifSKu8-Bkl7qmQB.js","assets/has-closer-CQzjaTkv-DeYGSOU-.js","assets/tooltip-open-tracking-rBbBgPWP-DRkgcff2.js","assets/kol-form.entry-9w-ohtq-.js","assets/kol-heading.entry-jcrnwesz.js","assets/kol-icon.entry-56Z49YA9.js","assets/kol-image.entry-CiD__Wrg.js","assets/image-source-BfBEJ0rX-Cu1RxRH0.js","assets/kol-input-checkbox.entry-C4J-B5xc.js","assets/controller-DRYT87Fy-DQKzBJy6.js","assets/required-CnTTpFCN-BFUPGYBa.js","assets/orientation-eCMt8CD1-BWIKuDUL.js","assets/FormFieldStateWrapper-BFI10flh-KFSv6ReF.js","assets/access-and-short-key-B37XLwy2-DBgf425z.js","assets/hide-label-B9FhGrWP-OJfxvuWs.js","assets/tooltip-align-Cnin7S26-DKDU_Aim.js","assets/associated.controller-CKSywYuL-D8eB18ng.js","assets/Input-D-duHyzQ-zUnEEXer.js","assets/FieldControlStateWrapper-C-Sfo1c6-Beww4YJh.js","assets/controller-C5Ill7ej-Cx9VlPz-.js","assets/kol-input-color.entry-B15j0O5l.js","assets/controller-icon-BRDoShA8-DBth-y_5.js","assets/InputStateWrapper-C8UJec4--CYU_NBWz.js","assets/auto-complete-mCkUnxg2-GzuE5sEk.js","assets/suggestions-B-jLvT4L-uYd3DXyy.js","assets/kol-input-date.entry-qrcbo7c-.js","assets/read-only-BetTuumR-zFP8Zt0M.js","assets/kol-input-email.entry-DsPpqmxf.js","assets/max-length-behavior-nTw1Zuyf-D2-YaMKc.js","assets/multiple-Cj3JQafH-D6CTCLKa.js","assets/controller-CxUY-7W7-CAWkKf1z.js","assets/spell-check-B9ot-4t--BU9INFG8.js","assets/controller-KnSPY11E-nRt87xmD.js","assets/placeholder-BVhy3BzI-CA2FChL6.js","assets/kol-input-file.entry-B9dExi0D.js","assets/kol-input-number.entry-Br864Rhe.js","assets/kol-input-password.entry-Cc_PsVQT.js","assets/kol-input-radio.entry-BQEWolQ5.js","assets/kol-input-text.entry-BDlkmPJO.js","assets/kol-kolibri.entry-CtVoskXw.js","assets/kol-modal.entry-CT1CODIa.js","assets/kol-nav.entry-5F9cmwT6.js","assets/kol-progress.entry-CZSq8-uR.js","assets/kol-quote.entry-n-yotzWy.js","assets/kol-select.entry-BrpigIvL.js","assets/rows-DtS-0sp9-CPkob4UX.js","assets/kol-skip-nav.entry-CFaunrAD.js","assets/kol-spin.entry-C3m9GnYU.js","assets/show-DdPK3aM7-1vwJegxh.js","assets/kol-split-button.entry-Z0gKqCBv.js","assets/kol-table-stateful.entry-CW4jBS7c.js","assets/table-settings-DxLvhwRE-J0FQq8k_.js","assets/keyboard-D6PoWr38-BGYQJqo4.js","assets/kol-tabs.entry-DKRqkdmz.js","assets/kol-textarea.entry--AbK15eU.js","assets/kol-toast-container.entry-DtJq9Lqt.js","assets/kol-toolbar.entry-1AtSPCza.js","assets/kol-version.entry-Dn8jz-7B.js","assets/kol-alert-wc.entry-DfH5MDLq.js","assets/kol-avatar-wc.entry-BvXuHk-r.js","assets/kol-button-wc.entry-DFu_NYiL.js","assets/link-variant-DQEKOyAU-B_UT3BGS.js","assets/custom-class-nuoQ9Aml-Dqfv80KJ.js","assets/kol-card-wc.entry-D2XQ9spC.js","assets/kol-combobox.entry-DVRTd4Dp.js","assets/CustomSuggestionsOptionsGroup-D4brwWNX-ywLGRx1O.js","assets/kol-input-range.entry-CD1wAhBn.js","assets/kol-link-wc.entry-BfryI1xJ.js","assets/href-rwDd36rS-DoLiZV2a.js","assets/kol-pagination-wc.entry-3AE7b799.js","assets/kol-popover-button-wc.entry-CMMfG5PJ.js","assets/align-floating-elements-BkpeqvtE-0Zy3Wg0b.js","assets/kol-popover-wc.entry-GxHbuJbD.js","assets/kol-single-select.entry-YfTNHJjY.js","assets/kol-table-settings-wc.entry-BeJOqmmN.js","assets/kol-table-stateless-wc.entry-CTWtNjhS.js","assets/kol-tooltip-wc.entry-B_QdT8pY.js","assets/kol-tree-item-wc.entry-DTzsO4AM.js","assets/kol-tree-wc.entry-Bv-NQoR8.js","assets/devtools-C3sb0cO3-D8upNa8v.js"])))=>i.map(i=>d[i]);
2
2
  (function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const d of s)if(d.type==="childList")for(const u of d.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function r(s){const d={};return s.integrity&&(d.integrity=s.integrity),s.referrerPolicy&&(d.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?d.credentials="include":s.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function i(s){if(s.ep)return;s.ep=!0;const d=r(s);fetch(s.href,d)}})();function k4(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ju={exports:{}},vi={};var Fv;function y4(){if(Fv)return vi;Fv=1;var e=Symbol.for("react.transitional.element"),o=Symbol.for("react.fragment");function r(i,s,d){var u=null;if(d!==void 0&&(u=""+d),s.key!==void 0&&(u=""+s.key),"key"in s){d={};for(var m in s)m!=="key"&&(d[m]=s[m])}else d=s;return s=d.ref,{$$typeof:e,type:i,key:u,ref:s!==void 0?s:null,props:d}}return vi.Fragment=o,vi.jsx=r,vi.jsxs=r,vi}var Iv;function x4(){return Iv||(Iv=1,ju.exports=y4()),ju.exports}var a=x4(),Su={exports:{}},Oe={};var Hv;function w4(){if(Hv)return Oe;Hv=1;var e=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),u=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),k=Symbol.iterator;function S(C){return C===null||typeof C!="object"?null:(C=k&&C[k]||C["@@iterator"],typeof C=="function"?C:null)}var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,N={};function E(C,P,ie){this.props=C,this.context=P,this.refs=N,this.updater=ie||B}E.prototype.isReactComponent={},E.prototype.setState=function(C,P){if(typeof C!="object"&&typeof C!="function"&&C!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,C,P,"setState")},E.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};function y(){}y.prototype=E.prototype;function w(C,P,ie){this.props=C,this.context=P,this.refs=N,this.updater=ie||B}var R=w.prototype=new y;R.constructor=w,T(R,E.prototype),R.isPureReactComponent=!0;var M=Array.isArray;function H(){}var Z={H:null,A:null,T:null,S:null},te=Object.prototype.hasOwnProperty;function le(C,P,ie){var ue=ie.ref;return{$$typeof:e,type:C,key:P,ref:ue!==void 0?ue:null,props:ie}}function Me(C,P){return le(C.type,P,C.props)}function ae(C){return typeof C=="object"&&C!==null&&C.$$typeof===e}function re(C){var P={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(ie){return P[ie]})}var we=/\/+/g;function Re(C,P){return typeof C=="object"&&C!==null&&C.key!=null?re(""+C.key):P.toString(36)}function qe(C){switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:switch(typeof C.status=="string"?C.then(H,H):(C.status="pending",C.then(function(P){C.status==="pending"&&(C.status="fulfilled",C.value=P)},function(P){C.status==="pending"&&(C.status="rejected",C.reason=P)})),C.status){case"fulfilled":return C.value;case"rejected":throw C.reason}}throw C}function O(C,P,ie,ue,Ae){var De=typeof C;(De==="undefined"||De==="boolean")&&(C=null);var He=!1;if(C===null)He=!0;else switch(De){case"bigint":case"string":case"number":He=!0;break;case"object":switch(C.$$typeof){case e:case o:He=!0;break;case v:return He=C._init,O(He(C._payload),P,ie,ue,Ae)}}if(He)return Ae=Ae(C),He=ue===""?"."+Re(C,0):ue,M(Ae)?(ie="",He!=null&&(ie=He.replace(we,"$&/")+"/"),O(Ae,P,ie,"",function(bt){return bt})):Ae!=null&&(ae(Ae)&&(Ae=Me(Ae,ie+(Ae.key==null||C&&C.key===Ae.key?"":(""+Ae.key).replace(we,"$&/")+"/")+He)),P.push(Ae)),1;He=0;var Ln=ue===""?".":ue+":";if(M(C))for(var _n=0;_n<C.length;_n++)ue=C[_n],De=Ln+Re(ue,_n),He+=O(ue,P,ie,De,Ae);else if(_n=S(C),typeof _n=="function")for(C=_n.call(C),_n=0;!(ue=C.next()).done;)ue=ue.value,De=Ln+Re(ue,_n++),He+=O(ue,P,ie,De,Ae);else if(De==="object"){if(typeof C.then=="function")return O(qe(C),P,ie,ue,Ae);throw P=String(C),Error("Objects are not valid as a React child (found: "+(P==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":P)+"). If you meant to render a collection of children, use an array instead.")}return He}function G(C,P,ie){if(C==null)return C;var ue=[],Ae=0;return O(C,ue,"","",function(De){return P.call(ie,De,Ae++)}),ue}function se(C){if(C._status===-1){var P=C._result;P=P(),P.then(function(ie){(C._status===0||C._status===-1)&&(C._status=1,C._result=ie)},function(ie){(C._status===0||C._status===-1)&&(C._status=2,C._result=ie)}),C._status===-1&&(C._status=0,C._result=P)}if(C._status===1)return C._result.default;throw C._result}var ze=typeof reportError=="function"?reportError:function(C){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var P=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof C=="object"&&C!==null&&typeof C.message=="string"?String(C.message):String(C),error:C});if(!window.dispatchEvent(P))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",C);return}console.error(C)},Te={map:G,forEach:function(C,P,ie){G(C,function(){P.apply(this,arguments)},ie)},count:function(C){var P=0;return G(C,function(){P++}),P},toArray:function(C){return G(C,function(P){return P})||[]},only:function(C){if(!ae(C))throw Error("React.Children.only expected to receive a single React element child.");return C}};return Oe.Activity=g,Oe.Children=Te,Oe.Component=E,Oe.Fragment=r,Oe.Profiler=s,Oe.PureComponent=w,Oe.StrictMode=i,Oe.Suspense=h,Oe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z,Oe.__COMPILER_RUNTIME={__proto__:null,c:function(C){return Z.H.useMemoCache(C)}},Oe.cache=function(C){return function(){return C.apply(null,arguments)}},Oe.cacheSignal=function(){return null},Oe.cloneElement=function(C,P,ie){if(C==null)throw Error("The argument must be a React element, but you passed "+C+".");var ue=T({},C.props),Ae=C.key;if(P!=null)for(De in P.key!==void 0&&(Ae=""+P.key),P)!te.call(P,De)||De==="key"||De==="__self"||De==="__source"||De==="ref"&&P.ref===void 0||(ue[De]=P[De]);var De=arguments.length-2;if(De===1)ue.children=ie;else if(1<De){for(var He=Array(De),Ln=0;Ln<De;Ln++)He[Ln]=arguments[Ln+2];ue.children=He}return le(C.type,Ae,ue)},Oe.createContext=function(C){return C={$$typeof:u,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null},C.Provider=C,C.Consumer={$$typeof:d,_context:C},C},Oe.createElement=function(C,P,ie){var ue,Ae={},De=null;if(P!=null)for(ue in P.key!==void 0&&(De=""+P.key),P)te.call(P,ue)&&ue!=="key"&&ue!=="__self"&&ue!=="__source"&&(Ae[ue]=P[ue]);var He=arguments.length-2;if(He===1)Ae.children=ie;else if(1<He){for(var Ln=Array(He),_n=0;_n<He;_n++)Ln[_n]=arguments[_n+2];Ae.children=Ln}if(C&&C.defaultProps)for(ue in He=C.defaultProps,He)Ae[ue]===void 0&&(Ae[ue]=He[ue]);return le(C,De,Ae)},Oe.createRef=function(){return{current:null}},Oe.forwardRef=function(C){return{$$typeof:m,render:C}},Oe.isValidElement=ae,Oe.lazy=function(C){return{$$typeof:v,_payload:{_status:-1,_result:C},_init:se}},Oe.memo=function(C,P){return{$$typeof:p,type:C,compare:P===void 0?null:P}},Oe.startTransition=function(C){var P=Z.T,ie={};Z.T=ie;try{var ue=C(),Ae=Z.S;Ae!==null&&Ae(ie,ue),typeof ue=="object"&&ue!==null&&typeof ue.then=="function"&&ue.then(H,ze)}catch(De){ze(De)}finally{P!==null&&ie.types!==null&&(P.types=ie.types),Z.T=P}},Oe.unstable_useCacheRefresh=function(){return Z.H.useCacheRefresh()},Oe.use=function(C){return Z.H.use(C)},Oe.useActionState=function(C,P,ie){return Z.H.useActionState(C,P,ie)},Oe.useCallback=function(C,P){return Z.H.useCallback(C,P)},Oe.useContext=function(C){return Z.H.useContext(C)},Oe.useDebugValue=function(){},Oe.useDeferredValue=function(C,P){return Z.H.useDeferredValue(C,P)},Oe.useEffect=function(C,P){return Z.H.useEffect(C,P)},Oe.useEffectEvent=function(C){return Z.H.useEffectEvent(C)},Oe.useId=function(){return Z.H.useId()},Oe.useImperativeHandle=function(C,P,ie){return Z.H.useImperativeHandle(C,P,ie)},Oe.useInsertionEffect=function(C,P){return Z.H.useInsertionEffect(C,P)},Oe.useLayoutEffect=function(C,P){return Z.H.useLayoutEffect(C,P)},Oe.useMemo=function(C,P){return Z.H.useMemo(C,P)},Oe.useOptimistic=function(C,P){return Z.H.useOptimistic(C,P)},Oe.useReducer=function(C,P,ie){return Z.H.useReducer(C,P,ie)},Oe.useRef=function(C){return Z.H.useRef(C)},Oe.useState=function(C){return Z.H.useState(C)},Oe.useSyncExternalStore=function(C,P,ie){return Z.H.useSyncExternalStore(C,P,ie)},Oe.useTransition=function(){return Z.H.useTransition()},Oe.version="19.2.0",Oe}var Kv;function Jb(){return Kv||(Kv=1,Su.exports=w4()),Su.exports}var z=Jb();const ce=k4(z),z4=e=>e.toLowerCase().split("-").map(o=>o.charAt(0).toUpperCase()+o.slice(1)).join(""),yy=e=>e.replace(/([A-Z])/g,o=>`-${o[0].toLowerCase()}`),j4=(e,o,r={})=>{if(e instanceof Element){const i=S4(e.classList,o,r);i!==""&&(e.className=i),Object.keys(o).forEach(s=>{if(!(s==="children"||s==="style"||s==="ref"||s==="class"||s==="className"||s==="forwardedRef"))if(s.indexOf("on")===0&&s[2]===s[2].toUpperCase()){const d=s.substring(2),u=d[0].toLowerCase()+d.substring(1);xy(u)||A4(e,u,o[s])}else e[s]=o[s],typeof o[s]==="string"&&e.setAttribute(yy(s),o[s])})}},S4=(e,o,r)=>{const i=o.className||o.class,s=r.className||r.class,d=Tu(e),u=Tu(i?i.split(" "):[]),m=Tu(s?s.split(" "):[]),h=[];return d.forEach(p=>{u.has(p)?(h.push(p),u.delete(p)):m.has(p)||h.push(p)}),u.forEach(p=>h.push(p)),h.join(" ")},T4=e=>{switch(e){case"doubleclick":return"dblclick"}return e};const xy=e=>{if(typeof document>"u")return!0;{const o="on"+T4(e);let r=o in document;if(!r){const i=document.createElement("div");i.setAttribute(o,"return;"),r=typeof i[o]=="function"}return r}},A4=(e,o,r)=>{const i=e.__events||(e.__events={}),s=i[o];s&&e.removeEventListener(o,s),e.addEventListener(o,i[o]=function(u){r&&r.call(this,u)})},Tu=e=>{const o=new Map;return e.forEach(r=>o.set(r,r)),o};let ib;const C4=e=>{ib=e},E4=(e,o)=>{typeof e=="function"?e(o):e!=null&&(e.current=o)},L4=(...e)=>o=>{e.forEach(r=>{E4(r,o)})},B4=(e,o)=>{const r=(i,s)=>ce.createElement(e,{...i,forwardedRef:s});return r.displayName=o,ce.forwardRef(r)},Ee=(e,o,r,i)=>{const s=z4(e),d=class extends ce.Component{componentEl;setComponentElRef=u=>{this.componentEl=u};constructor(u){super(u)}componentDidMount(){this.componentDidUpdate(this.props)}componentDidUpdate(u){j4(this.componentEl,this.props,u)}render(){const{children:u,forwardedRef:m,style:h,className:p,ref:v,...g}=this.props,S={...Object.keys(g).reduce((T,N)=>{const E=g[N];if(N.indexOf("on")===0&&N[2]===N[2].toUpperCase()){const y=N.substring(2).toLowerCase();typeof document<"u"&&xy(y)&&(T[N]=E)}else{const y=typeof E;(y==="string"||y==="boolean"||y==="number")&&(T[yy(N)]=E)}return T},{}),ref:L4(m,this.setComponentElRef),style:h},B=typeof ib=="function"?ib(e):e;return z.createElement(B,S,u)}static get displayName(){return s}};return B4(d,s)},Bi=Ee("kol-abbr"),oo=Ee("kol-accordion"),_o=Ee("kol-alert"),ds=Ee("kol-avatar"),xn=Ee("kol-badge"),ks=Ee("kol-breadcrumb"),Q=Ee("kol-button"),Ge=Ee("kol-button-link"),Le=Ee("kol-card"),vo=Ee("kol-combobox"),er=Ee("kol-details"),Wb=Ee("kol-drawer"),wo=Ee("kol-form"),be=Ee("kol-heading"),ft=Ee("kol-icon"),N4=Ee("kol-image"),rn=Ee("kol-input-checkbox"),Zn=Ee("kol-input-color"),Ie=Ee("kol-input-date"),Pn=Ee("kol-input-email"),Rn=Ee("kol-input-file"),jn=Ee("kol-input-number"),Tn=Ee("kol-input-password"),An=Ee("kol-input-radio"),Wn=Ee("kol-input-range"),Be=Ee("kol-input-text"),ys=Ee("kol-kolibri"),ke=Ee("kol-link"),Je=Ee("kol-link-button"),Vv=Ee("kol-modal"),gl=Ee("kol-nav"),gi=Ee("kol-pagination"),cb=Ee("kol-popover-button"),Jt=Ee("kol-progress"),wy=Ee("kol-quote"),Gn=Ee("kol-select"),ho=Ee("kol-single-select"),R4=Ee("kol-skip-nav"),Zs=Ee("kol-spin"),pl=Ee("kol-split-button"),bn=Ee("kol-table-stateful"),xl=Ee("kol-table-stateless"),rr=Ee("kol-tabs"),en=Ee("kol-textarea"),ma=Ee("kol-toolbar"),zy=Ee("kol-tree"),Qn=Ee("kol-tree-item"),Ps=Ee("kol-version");function Ur(e){const o=document.createElement("div");return o.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(o),o}var Au={exports:{}},ki={},Cu={exports:{}},Eu={};var qv;function D4(){return qv||(qv=1,(function(e){function o(O,G){var se=O.length;O.push(G);e:for(;0<se;){var ze=se-1>>>1,Te=O[ze];if(0<s(Te,G))O[ze]=G,O[se]=Te,se=ze;else break e}}function r(O){return O.length===0?null:O[0]}function i(O){if(O.length===0)return null;var G=O[0],se=O.pop();if(se!==G){O[0]=se;e:for(var ze=0,Te=O.length,C=Te>>>1;ze<C;){var P=2*(ze+1)-1,ie=O[P],ue=P+1,Ae=O[ue];if(0>s(ie,se))ue<Te&&0>s(Ae,ie)?(O[ze]=Ae,O[ue]=se,ze=ue):(O[ze]=ie,O[P]=se,ze=P);else if(ue<Te&&0>s(Ae,se))O[ze]=Ae,O[ue]=se,ze=ue;else break e}}return G}function s(O,G){var se=O.sortIndex-G.sortIndex;return se!==0?se:O.id-G.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;e.unstable_now=function(){return d.now()}}else{var u=Date,m=u.now();e.unstable_now=function(){return u.now()-m}}var h=[],p=[],v=1,g=null,k=3,S=!1,B=!1,T=!1,N=!1,E=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,w=typeof setImmediate<"u"?setImmediate:null;function R(O){for(var G=r(p);G!==null;){if(G.callback===null)i(p);else if(G.startTime<=O)i(p),G.sortIndex=G.expirationTime,o(h,G);else break;G=r(p)}}function M(O){if(T=!1,R(O),!B)if(r(h)!==null)B=!0,H||(H=!0,re());else{var G=r(p);G!==null&&qe(M,G.startTime-O)}}var H=!1,Z=-1,te=5,le=-1;function Me(){return N?!0:!(e.unstable_now()-le<te)}function ae(){if(N=!1,H){var O=e.unstable_now();le=O;var G=!0;try{e:{B=!1,T&&(T=!1,y(Z),Z=-1),S=!0;var se=k;try{n:{for(R(O),g=r(h);g!==null&&!(g.expirationTime>O&&Me());){var ze=g.callback;if(typeof ze=="function"){g.callback=null,k=g.priorityLevel;var Te=ze(g.expirationTime<=O);if(O=e.unstable_now(),typeof Te=="function"){g.callback=Te,R(O),G=!0;break n}g===r(h)&&i(h),R(O)}else i(h);g=r(h)}if(g!==null)G=!0;else{var C=r(p);C!==null&&qe(M,C.startTime-O),G=!1}}break e}finally{g=null,k=se,S=!1}G=void 0}}finally{G?re():H=!1}}}var re;if(typeof w=="function")re=function(){w(ae)};else if(typeof MessageChannel<"u"){var we=new MessageChannel,Re=we.port2;we.port1.onmessage=ae,re=function(){Re.postMessage(null)}}else re=function(){E(ae,0)};function qe(O,G){Z=E(function(){O(e.unstable_now())},G)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):te=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return k},e.unstable_next=function(O){switch(k){case 1:case 2:case 3:var G=3;break;default:G=k}var se=k;k=G;try{return O()}finally{k=se}},e.unstable_requestPaint=function(){N=!0},e.unstable_runWithPriority=function(O,G){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var se=k;k=O;try{return G()}finally{k=se}},e.unstable_scheduleCallback=function(O,G,se){var ze=e.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?ze+se:ze):se=ze,O){case 1:var Te=-1;break;case 2:Te=250;break;case 5:Te=1073741823;break;case 4:Te=1e4;break;default:Te=5e3}return Te=se+Te,O={id:v++,callback:G,priorityLevel:O,startTime:se,expirationTime:Te,sortIndex:-1},se>ze?(O.sortIndex=se,o(p,O),r(h)===null&&O===r(p)&&(T?(y(Z),Z=-1):T=!0,qe(M,se-ze))):(O.sortIndex=Te,o(h,O),B||S||(B=!0,H||(H=!0,re()))),O},e.unstable_shouldYield=Me,e.unstable_wrapCallback=function(O){var G=k;return function(){var se=k;k=G;try{return O.apply(this,arguments)}finally{k=se}}}})(Eu)),Eu}var Zv;function O4(){return Zv||(Zv=1,Cu.exports=D4()),Cu.exports}var Lu={exports:{}},mo={};var Pv;function $4(){if(Pv)return mo;Pv=1;var e=Jb();function o(h){var p="https://react.dev/errors/"+h;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)p+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+h+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var i={d:{f:r,r:function(){throw Error(o(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},s=Symbol.for("react.portal");function d(h,p,v){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:g==null?null:""+g,children:h,containerInfo:p,implementation:v}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(h,p){if(h==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return mo.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,mo.createPortal=function(h,p){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(o(299));return d(h,p,null,v)},mo.flushSync=function(h){var p=u.T,v=i.p;try{if(u.T=null,i.p=2,h)return h()}finally{u.T=p,i.p=v,i.d.f()}},mo.preconnect=function(h,p){typeof h=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,i.d.C(h,p))},mo.prefetchDNS=function(h){typeof h=="string"&&i.d.D(h)},mo.preinit=function(h,p){if(typeof h=="string"&&p&&typeof p.as=="string"){var v=p.as,g=m(v,p.crossOrigin),k=typeof p.integrity=="string"?p.integrity:void 0,S=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;v==="style"?i.d.S(h,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:g,integrity:k,fetchPriority:S}):v==="script"&&i.d.X(h,{crossOrigin:g,integrity:k,fetchPriority:S,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},mo.preinitModule=function(h,p){if(typeof h=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var v=m(p.as,p.crossOrigin);i.d.M(h,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&i.d.M(h)},mo.preload=function(h,p){if(typeof h=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var v=p.as,g=m(v,p.crossOrigin);i.d.L(h,v,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},mo.preloadModule=function(h,p){if(typeof h=="string")if(p){var v=m(p.as,p.crossOrigin);i.d.m(h,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else i.d.m(h)},mo.requestFormReset=function(h){i.d.r(h)},mo.unstable_batchedUpdates=function(h,p){return h(p)},mo.useFormState=function(h,p,v){return u.H.useFormState(h,p,v)},mo.useFormStatus=function(){return u.H.useHostTransitionStatus()},mo.version="19.2.0",mo}var Gv;function M4(){if(Gv)return Lu.exports;Gv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(o){console.error(o)}}return e(),Lu.exports=$4(),Lu.exports}var Yv;function U4(){if(Yv)return ki;Yv=1;var e=O4(),o=Jb(),r=M4();function i(n){var t="https://react.dev/errors/"+n;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+n+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function d(n){var t=n,l=n;if(n.alternate)for(;t.return;)t=t.return;else{n=t;do t=n,(t.flags&4098)!==0&&(l=t.return),n=t.return;while(n)}return t.tag===3?l:null}function u(n){if(n.tag===13){var t=n.memoizedState;if(t===null&&(n=n.alternate,n!==null&&(t=n.memoizedState)),t!==null)return t.dehydrated}return null}function m(n){if(n.tag===31){var t=n.memoizedState;if(t===null&&(n=n.alternate,n!==null&&(t=n.memoizedState)),t!==null)return t.dehydrated}return null}function h(n){if(d(n)!==n)throw Error(i(188))}function p(n){var t=n.alternate;if(!t){if(t=d(n),t===null)throw Error(i(188));return t!==n?null:n}for(var l=n,c=t;;){var f=l.return;if(f===null)break;var b=f.alternate;if(b===null){if(c=f.return,c!==null){l=c;continue}break}if(f.child===b.child){for(b=f.child;b;){if(b===l)return h(f),n;if(b===c)return h(f),t;b=b.sibling}throw Error(i(188))}if(l.return!==c.return)l=f,c=b;else{for(var _=!1,x=f.child;x;){if(x===l){_=!0,l=f,c=b;break}if(x===c){_=!0,c=f,l=b;break}x=x.sibling}if(!_){for(x=b.child;x;){if(x===l){_=!0,l=b,c=f;break}if(x===c){_=!0,c=b,l=f;break}x=x.sibling}if(!_)throw Error(i(189))}}if(l.alternate!==c)throw Error(i(190))}if(l.tag!==3)throw Error(i(188));return l.stateNode.current===l?n:t}function v(n){var t=n.tag;if(t===5||t===26||t===27||t===6)return n;for(n=n.child;n!==null;){if(t=v(n),t!==null)return t;n=n.sibling}return null}var g=Object.assign,k=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),w=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),te=Symbol.for("react.lazy"),le=Symbol.for("react.activity"),Me=Symbol.for("react.memo_cache_sentinel"),ae=Symbol.iterator;function re(n){return n===null||typeof n!="object"?null:(n=ae&&n[ae]||n["@@iterator"],typeof n=="function"?n:null)}var we=Symbol.for("react.client.reference");function Re(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===we?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case T:return"Fragment";case E:return"Profiler";case N:return"StrictMode";case M:return"Suspense";case H:return"SuspenseList";case le:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case B:return"Portal";case w:return n.displayName||"Context";case y:return(n._context.displayName||"Context")+".Consumer";case R:var t=n.render;return n=n.displayName,n||(n=t.displayName||t.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Z:return t=n.displayName||null,t!==null?t:Re(n.type)||"Memo";case te:t=n._payload,n=n._init;try{return Re(n(t))}catch{}}return null}var qe=Array.isArray,O=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se={pending:!1,data:null,method:null,action:null},ze=[],Te=-1;function C(n){return{current:n}}function P(n){0>Te||(n.current=ze[Te],ze[Te]=null,Te--)}function ie(n,t){Te++,ze[Te]=n.current,n.current=t}var ue=C(null),Ae=C(null),De=C(null),He=C(null);function Ln(n,t){switch(ie(De,t),ie(Ae,n),ie(ue,null),t.nodeType){case 9:case 11:n=(n=t.documentElement)&&(n=n.namespaceURI)?sv(n):0;break;default:if(n=t.tagName,t=t.namespaceURI)t=sv(t),n=dv(t,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}P(ue),ie(ue,n)}function _n(){P(ue),P(Ae),P(De)}function bt(n){n.memoizedState!==null&&ie(He,n);var t=ue.current,l=dv(t,n.type);t!==l&&(ie(Ae,n),ie(ue,l))}function cr(n){Ae.current===n&&(P(ue),P(Ae)),He.current===n&&(P(He),mi._currentValue=se)}var sr,za;function et(n){if(sr===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);sr=t&&t[1]||"",za=-1<l.stack.indexOf(`
3
3
  at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
4
4
  `+sr+n+za}var Et=!1;function Kr(n,t){if(!n||Et)return"";Et=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(t){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(q){var I=q}Reflect.construct(n,[],J)}else{try{J.call()}catch(q){I=q}n.call(J.prototype)}}else{try{throw Error()}catch(q){I=q}(J=n())&&typeof J.catch=="function"&&J.catch(function(){})}}catch(q){if(q&&I&&typeof q.stack=="string")return[q.stack,I.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=c.DetermineComponentFrameRoot(),_=b[0],x=b[1];if(_&&x){var A=_.split(`
@@ -24,11 +24,11 @@ Please change the parent <Route path="${y}"> to <Route path="${y==="/"?"*":`${y}
24
24
  - https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns`)},eO=(e,o=8)=>{o>7&&Hz(`[${e}] Within navigation structures, it is recommended to use no more than 7 menu items.
25
25
 
26
26
  Link:
27
- - https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`)};var Kz=.2126,Vz=.7152,qz=.0722,Ru=1/12.92;function Du(e){return Math.pow((e+.055)/1.055,2.4)}function _g(e){var o=e[0]/255,r=e[1]/255,i=e[2]/255,s=o<=.03928?o*Ru:Du(o),d=r<=.03928?r*Ru:Du(r),u=i<=.03928?i*Ru:Du(i);return s*Kz+d*Vz+u*qz}function vg(e){var o=255;(e=e.replace(/^#/,"")).length===8&&(o=parseInt(e.slice(6,8),16),e=e.substring(0,6)),e.length===4&&(o=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var r=parseInt(e,16);return[r>>16,r>>8&255,255&r,o]}function Zz(e,o){return(Math.max(e,o)+.05)/(Math.min(e,o)+.05)}function Pz(e,o){return Zz(_g(e),_g(o))}function Gz(e,o){return Pz(vg(e),vg(o))}function Yz(e){return e>=7?"AAA":e>=4.5?"AA":e>=3?"AA Large":"Fail"}var Ou,gg;function Xz(){return gg||(gg=1,Ou={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),Ou}var $u,kg;function Qz(){if(kg)return $u;kg=1;var e=Xz();$u=r;var o={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function r(i){var s,d=[],u=1,m;if(typeof i=="string")if(i=i.toLowerCase(),e[i])d=e[i].slice(),m="rgb";else if(i==="transparent")u=0,m="rgb",d=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(i)){var h=i.slice(1),p=h.length,v=p<=4;u=1,v?(d=[parseInt(h[0]+h[0],16),parseInt(h[1]+h[1],16),parseInt(h[2]+h[2],16)],p===4&&(u=parseInt(h[3]+h[3],16)/255)):(d=[parseInt(h[0]+h[1],16),parseInt(h[2]+h[3],16),parseInt(h[4]+h[5],16)],p===8&&(u=parseInt(h[6]+h[7],16)/255)),d[0]||(d[0]=0),d[1]||(d[1]=0),d[2]||(d[2]=0),m="rgb"}else if(s=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(i)){var g=s[1],k=g==="rgb",h=g.replace(/a$/,"");m=h;var p=h==="cmyk"?4:h==="gray"?1:3;d=s[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(T,N){if(/%$/.test(T))return N===p?parseFloat(T)/100:h==="rgb"?parseFloat(T)*255/100:parseFloat(T);if(h[N]==="h"){if(/deg$/.test(T))return parseFloat(T);if(o[T]!==void 0)return o[T]}return parseFloat(T)}),g===h&&d.push(1),u=k||d[p]===void 0?1:d[p],d=d.slice(0,p)}else i.length>10&&/[0-9](?:\s|\/)/.test(i)&&(d=i.match(/([0-9]+)/g).map(function(S){return parseFloat(S)}),m=i.match(/([a-z])/ig).join("").toLowerCase());else isNaN(i)?Array.isArray(i)||i.length?(d=[i[0],i[1],i[2]],m="rgb",u=i.length===4?i[3]:1):i instanceof Object&&(i.r!=null||i.red!=null||i.R!=null?(m="rgb",d=[i.r||i.red||i.R||0,i.g||i.green||i.G||0,i.b||i.blue||i.B||0]):(m="hsl",d=[i.h||i.hue||i.H||0,i.s||i.saturation||i.S||0,i.l||i.lightness||i.L||i.b||i.brightness]),u=i.a||i.alpha||i.opacity||1,i.opacity!=null&&(u/=100)):(m="rgb",d=[i>>>16,(i&65280)>>>8,i&255]);return{space:m,values:d,alpha:u}}return $u}var Jz=Qz(),nO=Qs(Jz);const Wz={min:[0,0,0],max:[255,255,255]};var oO={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var o=e[0]/360,r=e[1]/100,i=e[2]/100,s,d,u,m,h,p=0;if(r===0)return h=i*255,[h,h,h];for(d=i<.5?i*(1+r):i+r-i*r,s=2*i-d,m=[0,0,0];p<3;)u=o+1/3*-(p-1),u<0?u++:u>1&&u--,h=6*u<1?s+(d-s)*6*u:2*u<1?d:3*u<2?s+(d-s)*(2/3-u)*6:s,m[p++]=h*255;return m}};Wz.hsl=function(e){var o=e[0]/255,r=e[1]/255,i=e[2]/255,s=Math.min(o,r,i),d=Math.max(o,r,i),u=d-s,m,h,p;return d===s?m=0:o===d?m=(r-i)/u:r===d?m=2+(i-o)/u:i===d&&(m=4+(o-r)/u),m=Math.min(m*60,360),m<0&&(m+=360),p=(s+d)/2,d===s?h=0:p<=.5?h=u/(d+s):h=u/(2-d-s),[m,h*100,p*100]};var Rr={exports:{}},yg;function e5(){if(yg)return Rr.exports;yg=1,Rr.exports=e,Rr.exports.arr=e,Rr.exports.obj=o,Rr.exports.css=r,Rr.exports.hex=i,Rr.exports.num=s;function e(y){var w=d(y);return w.length==3?w.concat(255):(w[3]=Math.round(w[3]),w)}function o(y){var w=d(y);return{r:w[0],g:w[1],b:w[2],a:w.length==3?255:Math.round(w[3])}}function r(y){var w=d(y);return w.length==3&&w.push(255),w[3]==255?"rgb("+w[0]+", "+w[1]+", "+w[2]+")":w[3]==0?"rgba("+w[0]+", "+w[1]+", "+w[2]+", 0)":"rgba("+w[0]+", "+w[1]+", "+w[2]+", "+String(w[3]/255).substr(1)+")"}function i(y){var Z=d(y);Z.length==3&&Z.push(255);var w=Z[3]==255,R=u(Z[0]),M=u(Z[1]),H=u(Z[2]),Z=u(Math.round(Z[3])),te=m(R,M,H,Z);return w?te?"#"+R.charAt(0)+M.charAt(0)+H.charAt(0):"#"+R+M+H:te?"#"+R.charAt(0)+M.charAt(0)+H.charAt(0)+Z.charAt(0):"#"+R+M+H+Z}function s(y){var w=d(y);return w.length==3?w.push(255):w[3]=Math.round(w[3]),(w[3]<<24>>>0|w[0]<<16|w[1]<<8|w[2])>>>0}function d(y){return typeof y=="string"?(y=y.toLowerCase(),h(y)||v(y)||g(y)||N(y)||E(y)||[0,0,0,255]):S(y)||B(y)||T(y)||[0,0,0,255]}function u(y){var w=y.toString(16);return w.length==1?"0"+w:w}function m(y,w,R,M){var H=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return H.indexOf(y)!=-1&&H.indexOf(w)!=-1&&H.indexOf(R)!=-1&&H.indexOf(M)!=-1}function h(y){if(y=="red")return[255,0,0];if(y=="green")return[0,255,0];if(y=="blue")return[0,0,255];if(y=="black")return[0,0,0];if(y=="white")return[255,255,255];if(y=="cyan")return[0,255,255];if(y=="gray")return[128,128,128];if(y=="grey")return[128,128,128];if(y=="magenta")return[255,0,255];if(y=="pink")return[255,0,255];if(y=="yellow")return[255,255,0]}function p(y){return y.length==1?parseInt(y+y,16):parseInt(y,16)}function v(y){var w=y.replace(/^#/,""),R=w.length;if(R==3||R==4){var M=p(w[0]),H=p(w[1]),Z=p(w[2]),te=R==3?255:p(w[3]);return isNaN(M)||isNaN(H)||isNaN(Z)||isNaN(te)?void 0:[M,H,Z,te]}}function g(y){var w=y.replace(/^#/,""),R=w.length;if(R==6||R==8){var M=p(w.slice(0,2)),H=p(w.slice(2,4)),Z=p(w.slice(4,6)),te=R==6?255:p(w.slice(6,8));return isNaN(M)||isNaN(H)||isNaN(Z)||isNaN(te)?void 0:[M,H,Z,te]}}function k(y,w){return typeof y!="number"||w===!0&&Math.floor(y)!==y?-1:y>=0&&y<=255?y:-1}function S(y){if(Object.prototype.toString.call(y)==="[object Object]"&&Object.getPrototypeOf(y)===Object.getPrototypeOf({})){var w=k(y.r!=null?y.r:y.red!=null?y.red:0,!0),R=k(y.g!=null?y.g:y.green!=null?y.green:0,!0),M=k(y.b!=null?y.b:y.blue!=null?y.blue:0,!0),H=k(y.a!=null?y.a:y.alpha!=null?y.alpha:255,!0);if(w!=-1&&R!=-1&&M!=-1&&H!=-1)return[w,R,M,H]}}function B(y){if(Array.isArray(y)&&(y.length==3||y.length==4)){var w=k(y[0],!0),R=k(y[1],!0),M=k(y[2],!0),H=k(y[3]!=null?y[3]:255,!0);if(w!=-1&&R!=-1&&M!=-1&&H!=-1)return[w,R,M,H]}}function T(y){if(typeof y=="number"&&Math.floor(y)==y&&y<=4294967295&&y>=0){var w=y>>24&255,R=y>>16&255,M=y>>8&255,H=y&255;return[R,M,H,w]}}function N(y){if(y.substr(0,4)=="rgb("){y=y.match(/^rgb\(([^)]+)\)/)[1];var w=y.split(/ *, */).map(Number),R=k(w[0],!0),M=k(w[1],!0),H=k(w[2],!0);if(R!=-1&&M!=-1&&H!=-1)return[R,M,H,255]}}function E(y){if(y.substr(0,5)=="rgba("){y=y.match(/^rgba\(([^)]+)\)/)[1];var w=y.split(/ *, */).map(Number),R=k(w[0],!0),M=k(w[1],!0),H=k(w[2],!0),Z=k(w[3]*255);if(R!=-1&&M!=-1&&H!=-1&&Z!=-1)return[R,M,H,Z]}}return Rr.exports}var n5=e5(),xg=Qs(n5),Mu={},wg;function o5(){return wg||(wg=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.querySelectorAll=void 0;const o=(i,s)=>{s.forEach(d=>{i.has(d)===!1&&i.add(d)})},r=(i,s=document)=>{if(s instanceof Document||s instanceof HTMLElement||s instanceof ShadowRoot){const d=new Set;o(d,s.querySelectorAll(i));const u=s.querySelectorAll('[class*="hydrated"]');for(let m=0;m<u.length;m++){const h=u[m].shadowRoot;typeof h=="object"&&h!==null?o(d,(0,e.querySelectorAll)(i,h)):o(d,(0,e.querySelectorAll)(i,u[m]))}return Array.from(d)}else throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")};e.querySelectorAll=r})(Mu)),Mu}var t5=o5(),Uu={},zg;function r5(){return zg||(zg=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.querySelector=void 0;const o=(r,i=document)=>{if(i instanceof Document||i instanceof HTMLElement||i instanceof ShadowRoot){let s=i.querySelector(r);if(s===null){const d=i.querySelectorAll('[class*="hydrated"]');for(let u=0;u<d.length;u++){const m=d[u].shadowRoot;if(typeof m=="object"&&m!==null?s=(0,e.querySelector)(r,m):s=(0,e.querySelector)(r,d[u]),s!==null)break}}return s}else throw new Error("The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.")};e.querySelector=o})(Uu)),Uu}var a5=r5();const l5=/\[object Object\]/,Fu=(e,o)=>{typeof e=="string"&&l5.test(e)||o()},i5=(e,o)=>{typeof e=="string"&&e===""||o()},tO=(e,o)=>{Mz()&&(Cn.debug([e,o]),Cn.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:o,writable:!1})},c5=e=>{var o,r,i;(o=e.nextHooks)===null||o===void 0||o.forEach((s,d)=>{var u;const m=s.get("beforePatch");typeof m=="function"&&m((u=e.nextState)===null||u===void 0?void 0:u.get(d),e.nextState,e,d)}),((r=e.nextState)===null||r===void 0?void 0:r.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,(i=e.nextHooks)===null||i===void 0||i.forEach((s,d)=>{const u=s.get("afterPatch");typeof u=="function"&&u(e.state[d],e.state,e,d)})),delete e.nextHooks},hb=(e,o,r,i={})=>{var s,d;e.nextHooks===void 0&&(e.nextHooks=new Map),e.nextState===void 0&&(e.nextState=new Map),e.nextHooks.get(o)instanceof Map||e.nextHooks.set(o,new Map),typeof i.afterPatch=="function"&&((s=e.nextHooks.get(o))===null||s===void 0||s.set("afterPatch",i.afterPatch)),typeof i.beforePatch=="function"&&((d=e.nextHooks.get(o))===null||d===void 0||d.set("beforePatch",i.beforePatch)),e.nextState.set(o,r),c5(e)},s5=(e,o,r,i)=>{l0(`[${e.constructor.name}] The property value: (${r}) for '${o}' is not valid. Allowed values are: ${Array.from(i).join(", ")}`)};function sm(e,o,r,i,s,d={}){r(s)?hb(e,o,s,d.hooks):s===void 0&&d.required!==!0&&r(d.defaultValue)?hb(e,o,d.defaultValue,d.hooks):(d.required||i.add(null),s5(e,o,s,i))}const rO=(e,o,r,i)=>{sm(e,o,s=>typeof s=="boolean",new Set(["Boolean {true, false}"]),r,i)},aO=(e,o,r,i={})=>{const s=typeof i.minLength=="number"?i?.minLength:0;sm(e,o,d=>typeof d=="string"&&d.length>=s&&(typeof i?.maxLength>"u"||d.length<=i.maxLength),new Set(["String"]),r,i)},lO=(e,o,r,i)=>{sm(e,o,s=>typeof s=="number"&&(typeof i?.min>"u"||typeof i?.min=="number"&&s>=i.min)&&(typeof i?.max>"u"||typeof i?.max=="number"&&s<=i.max),new Set(["Number"]),r,i)},iO=(e,o,r,i,s=u=>u===u,d={})=>{i5(i,()=>{Fu(i,()=>{typeof i>"u"&&(i=[]);try{try{i=u5(i)}catch{}if(Array.isArray(i)){const u=i.find(m=>!r(m));u===void 0&&s(i)?hb(e,o,i,d.hooks):Fu(u,()=>{throw Cn.debug(u),new Error("↑ The schema for the property (_options) is not valid. The value will not be changed.")})}else Fu(i,()=>{throw Cn.debug(i),new Error("↑ The schema for the property (_options) is not valid. The value will not be changed.")})}catch(u){Cn.debug(u)}})})},d5=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch{throw Cn.warn(["stringifyJson",e]),Cn.error("↑ The JSON could not be converted to a string. A stringifiable JSON is expected."),new Error}},f5=/^[{[]/,u5=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch{if(f5.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch{Cn.warn(["parseJson",e]),Cn.error("↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (&#8216;).")}}throw new Error},b5=e=>typeof e=="boolean"?e===!0?"true":"false":void 0,cO=e=>typeof e=="string"?e:b5(e),m5=(e,o)=>a5.querySelector(e,o||cm()),h5=(e,o)=>t5.querySelectorAll(e,o||cm());let Iu=null;const i0=()=>(Iu=Iu||{backgroundColor:"#00000000",color:"#00000000",domNode:cm().body,level:"Fail",score:1},Iu),jg=/(\d+, ){3}0\)/,pb=(e,o=i0())=>{const r=getComputedStyle(e),i=jg.test(r.backgroundColor)?o.backgroundColor:xg.hex(r.backgroundColor),s=jg.test(r.color)?o.color:xg.hex(r.color),d=Gz(i,s),u={backgroundColor:i,color:s,domNode:e,level:Yz(d),score:d};return d<4.5&&Cn.error(["Color-Contrast-Error",{backgroundColor:u.backgroundColor,color:u.color,level:u.level,score:u.score},u.domNode]),u},p5=(e,o=i0())=>{o.domNode instanceof HTMLElement&&(o=pb(o.domNode,o));const r=o.domNode.querySelector(e);if(r===null){const i=o.domNode.querySelectorAll('[class="hydrated"]');for(let s=0;s<i.length&&(o.domNode=i[s],o=p5(e,o),o.domNode===null);s++);return o}else return pb(r,o)};class Po{static queryHtmlElementColors(o,r,i=!1,s=!0){let d=null;if(i===!0||Po.executionLock===!1)if(i===!1&&(Po.cache.clear(),Po.cache.set(r.domNode,r),Po.executionLock=!0,s===!0&&Cn.debug("[KoliBriUtils] Color contrast analysis started...")),o===r.domNode)d=r;else{const u=new Set;if(r.domNode.shadowRoot){const v=r.domNode.shadowRoot.children;for(let g=0;g<v.length;g++)u.add(v[g])}const m=r.domNode;if(typeof m.assignedNodes=="function"){const v=m.assignedNodes();for(let g=0;g<v.length;g++)v[g]instanceof HTMLElement&&u.add(v[g])}const h=r.domNode.children;for(let v=0;v<h.length;v++)u.add(h[v]);const p=Array.from(u);for(let v=0;v<p.length;v++){let g=Po.cache.get(p[v]);g===void 0&&(g=pb(p[v],r)),Po.cache.set(p[v],g);const k=Po.queryHtmlElementColors(o,g,!0,!1);if(k!==null){d=k;break}}}else Cn.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return i===!1&&(s===!0&&Cn.debug(`[KoliBriUtils] Color contrast analysis finished (${Po.cache.size} DOM elements are analysed).`),Po.executionLock=!1,Po.cache.clear()),d}}Po.executionLock=!1;Po.cache=new Map;class ya{}ya.getCssStyle=js;ya.patchTheme=_z;ya.patchThemeTag=pz;ya.querySelector=m5;ya.querySelectorAll=h5;ya.stringifyJson=d5;const sO=e=>typeof e=="object"&&e!==null,Sg=(e,o=0)=>typeof e=="string"&&e.length>=o,dO=e=>{if(typeof e=="object"&&e!==null){for(const o in e)if(Sg(o,1)===!1)return!1}else return Sg(e,1);return!0},fO=new Event("StateChange");var Hu,Tg;function _5(){return Tg||(Tg=1,Hu=function(o){return function(r,i){if(!r)return o;var s;typeof r=="string"?s=r:i=r;var d=o;return s&&(d+="__"+s),d+(i?Object.keys(i).reduce(function(u,m){var h=i[m];return h&&(u+=" "+(typeof h=="boolean"?d+"--"+m:d+"--"+m+"_"+h)),u},""):"")}}),Hu}var v5=_5(),g5=Qs(v5);function c0(){const e=new Map,o=(r,i,s)=>{try{return e.get(r)(i,s)}catch{return e.set(r,g5(r)).get(r)(i,s)}};return o.forBlock=r=>{const i=(s,d)=>o(r,s,d);return i.forElement=s=>d=>o(r,s,d),i},o}const s0=c0(),uO=s0("kol-icon"),bO=s0("kol-icon","icon");let _b;const Ss=[],k5=e=>{_b=e,Ss.forEach(o=>{o(e)})},mO=(e,o=!0)=>(o&&typeof _b=="string"&&e(_b),Ss.push(e),()=>{const r=Ss.indexOf(e);r>=0&&Ss.splice(r,1)});let Ag="kol-abbr",Cg="kol-accordion",Eg="kol-alert",Lg="kol-alert-wc",Bg="kol-avatar",Ng="kol-avatar-wc",Rg="kol-badge",Dg="kol-breadcrumb",Og="kol-button-link",$g="kol-button",Mg="kol-button-wc",Ug="kol-card",Fg="kol-card-wc",Ig="kol-combobox",Hg="kol-details",Kg="kol-drawer",Vg="kol-form",qg="kol-heading",Zg="kol-icon",Pg="kol-image",Gg="kol-input-checkbox",Yg="kol-input-color",Xg="kol-input-date",Qg="kol-input-email",Jg="kol-input-file",Wg="kol-input-number",ek="kol-input-password",nk="kol-input-radio",ok="kol-input-range",tk="kol-input",rk="kol-input-text",ak="kol-kolibri",lk="kol-link-button",ik="kol-link",ck="kol-link-wc",sk="kol-modal",dk="kol-nav",fk="kol-pagination",uk="kol-pagination-wc",bk="kol-popover-wc",mk="kol-popover-button",hk="kol-popover-button-wc",pk="kol-progress",_k="kol-quote",vk="kol-select",gk="kol-single-select",kk="kol-skip-nav",yk="kol-spin",xk="kol-split-button",wk="kol-table-settings-wc",zk="kol-table-stateful",jk="kol-table-stateless",Sk="kol-table-stateless-wc",Tk="kol-tabs",Ak="kol-textarea",vb="kol-toast-container",Ku="kol-tooltip-wc",Ck="kol-tree-item",Ek="kol-tree-item-wc",Lk="kol-tree",Bk="kol-tree-wc",Nk="kol-version";const y5=e=>{Ag=e(Ag),Cg=e(Cg),Eg=e(Eg),Lg=e(Lg),Bg=e(Bg),Ng=e(Ng),Rg=e(Rg),Dg=e(Dg),Og=e(Og),$g=e($g),Mg=e(Mg),Ug=e(Ug),Fg=e(Fg),Ig=e(Ig),Hg=e(Hg),Kg=e(Kg),Vg=e(Vg),qg=e(qg),Zg=e(Zg),Pg=e(Pg),Gg=e(Gg),Yg=e(Yg),Xg=e(Xg),Qg=e(Qg),Jg=e(Jg),Wg=e(Wg),ek=e(ek),nk=e(nk),ok=e(ok),tk=e(tk),rk=e(rk),ak=e(ak),lk=e(lk),ik=e(ik),ck=e(ck),sk=e(sk),dk=e(dk),fk=e(fk),uk=e(uk),bk=e(bk),mk=e(mk),hk=e(hk),pk=e(pk),_k=e(_k),vk=e(vk),gk=e(gk),kk=e(kk),yk=e(yk),xk=e(xk),wk=e(wk),zk=e(zk),jk=e(jk),Sk=e(Sk),Tk=e(Tk),Ak=e(Ak),vb=e(vb),e(Ku),Ku=e(Ku),Ck=e(Ck),Ek=e(Ek),Lk=e(Lk),Bk=e(Bk),Nk=e(Nk)};var x5={error:"Fehler",warning:"Warnung",info:"Hinweis",success:"Erfolg",message:"Nachricht",close:"Schließen","form-description":"Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.",new:"Neu","no-entries":"Es sind keine Einträge vorhanden.","change-order":"Sortierung von {{colLabel}} ändern","action-running":"Aktion wird ausgeführt...","action-done":"Aktion abgeschlossen",pagination:"Paginierung","page-first":"Direkt zur ersten Seite","page-back":"Eine Seite zurück","page-next":"Eine Seite weiter","page-last":"Direkt zur letzten Seite","entries-per-site":"Einträge pro Seite",page:"Seite","page-current":"Seite {{page}}","page-selected":"Seite {{page}} ist ausgewählt","page-per-site":"{{entries}} Einträge pro Seite","nav-maximize":"Navigation maximieren","nav-minimize":"Navigation minimieren","logo-description":"Logo {{orgShort}}. Bundesadler mit Flaggenstab und Schriftzug {{orgLong}}","open-link-in-tab":"Öffnet in neuem Tab.","kolibri-logo":"Logo von KoliBri","table-pagination-label":"Paginierung für die Tabelle {{label}}","avatar-alt":"Avatar von {{name}}","split-button-dropdown-label-open":"Optionen anzeigen","split-button-dropdown-label-close":"Optionen schließen","toast-close-all":"Alle schließen","error-list":"Fehlerliste","error-list-message":"Bitte korrigieren Sie folgende Fehler:",version:"Versionsnummer","table-visible-range":"Einträge {{start}} bis {{end}} von {{total}}","table-selection-all":"Alle auswählen","table-selection-none":"Alle abwählen","table-selection-indeterminate":"Alle auswählen bei teilweiser Auswahl","table-settings":"Tabellenkonfiguration","table-settings-cancel":"Abbrechen","table-settings-apply":"Übernehmen","table-settings-show-column":"Spalte {{column}} anzeigen","table-settings-column-width":"Breite von {{column}}","table-settings-move-up":"Spalte {{column}} nach oben verschieben","table-settings-move-down":"Spalte {{column}} nach unten verschieben","table-settings-error-all-invisible":"Mindestens eine Spalte muss sichtbar sein.","table-settings-column-not-hidable":"nicht ausblendbar",dropdown:"Auswahlliste","nav-label-open":"Untermenü zu {{label}} öffnen","nav-label-close":"Untermenü zu {{label}} schließen","close-alert":"Benachrichtigung schließen","show-password":"einblenden","hide-password":"ausblenden","no-results-message":"Keine Ergebnisse gefunden.","delete-selection":"Auswahl entfernen","filename-text":"Datei auswählen oder hier ablegen...","data-browse-text":"Datei auswählen",sort:"sortieren","pagination-position-top":"oben","pagination-position-bottom":"unten","character-limit-hint":"Es können bis zu {{limit}} Zeichen eingegeben werden.","character-limit-remaining":"Es sind noch {{remaining}} Zeichen verfügbar.","character-limit-exceeded":"Es sind {{over}} Zeichen zu viel.","character-counter-current":"{{current}} Zeichen","character-counter-current-of-max":"{{current}}/{{max}} Zeichen","character-counter-current-of-max-aria":"{{current}} von {{max}} Zeichen"},w5={error:"Error",warning:"Warning",info:"Note",success:"Success",message:"Message",close:"Close","form-description":"Form fields marked with an asterisk (*) are mandatory.",new:"New","no-entries":"No entries available.","change-order":"Change order of {{colLabel}}","action-running":"Action is running...","action-done":"Action done",pagination:"Pagination","page-first":"Directly to the first page","page-back":"One page back","page-next":"One page further","page-last":"Directly to the last page","entries-per-site":"Entries per page",page:"Page","page-current":"Page {{page}}","page-selected":"Page {{page}} is selected","page-per-site":"{{entries}} entries per page","nav-maximize":"Maximize navigation","nav-minimize":"Minimize navigation","logo-description":"Logo {{orgShort}}. Federal eagle with flag staff and lettering {{orgLong}}","open-link-in-tab":"Opens in new tab.","kolibri-logo":"KoliBri logo","table-pagination-label":"Pagination for table {{label}}","avatar-alt":"Avatar of {{name}}","split-button-dropdown-label-open":"Show options","split-button-dropdown-label-close":"Hide options","toast-close-all":"Close all","error-list":"Error list","error-list-message":"Please correct the following errors",version:"Version number","table-visible-range":"Entries {{start}} to {{end}} of {{total}}","table-selection-all":"Select all","table-selection-none":"Deselect all","table-selection-indeterminate":"Select all with partial selection","table-settings":"Table configuration","table-settings-cancel":"Cancel","table-settings-apply":"Apply","table-settings-show-column":"Show column {{column}}","table-settings-column-width":"{{column}} width","table-settings-move-up":"Move {{column}} column up","table-settings-move-down":"Move {{column}} column down","table-settings-error-all-invisible":"At least one column must be visible.","table-settings-column-not-hidable":"cannot be hidden",dropdown:"Dropdown","nav-label-open":"Submenu for {{label}} open","nav-label-close":"Submenu for {{label}} close","close-alert":"Close notification","show-password":"Show","hide-password":"Hide","no-results-message":"No results found.","delete-selection":"Delete selection","filename-text":"Choose a file or drop it here...","data-browse-text":"Browse",sort:"sort","pagination-position-top":"top","pagination-position-bottom":"bottom","character-limit-hint":"You can enter up to {{limit}} characters","character-limit-remaining":"You have {{remaining}} characters remaining.","character-limit-exceeded":"You have {{over}} characters too many.","character-counter-current":"{{current}} characters","character-counter-current-of-max":"{{current}}/{{max}} characters","character-counter-current-of-max-aria":"{{current}} of {{max}} characters"};const Rk=e=>Object.keys(e).reduce((o,r)=>(o[`kol-${r}`]=e[r],o),{}),z5=new Set([e=>e("en",Rk(w5)),e=>e("de",Rk(x5))]),j5=function(e,o,r){return e.split(o).join(r)};class S5{constructor(o){this.resourceMap=new Map,this.language=o??"de"}addTranslations(o){Array.isArray(o)?o=new Set(o):typeof o=="function"&&(o=new Set([o])),o!==void 0&&o.forEach(r=>r((i,s)=>{let d=this.resourceMap.get(i);return d||(d=new Map,this.resourceMap.set(i,d)),Object.entries(s).forEach(([u,m])=>{m&&d.set(u,m)}),i}))}setLanguage(o){this.language=o}translate(o,r){var i;let s=(i=this.resourceMap.get(this.language))===null||i===void 0?void 0:i.get(o);return s?r?.placeholders&&Object.entries(r.placeholders).forEach(([d,u])=>{s=j5(s,`{{${d}}}`,u)}):s=o,s}}let Ts;const hO=()=>Ts,T5=(e,o=z5)=>(Ts=new S5(e),Ts.addTranslations(o),Ts);var A5={};let d0=!1,f0;const C5=async(e,o,r)=>{var i,s;const d=typeof process<"u"&&A5?"production":void 0;o0(r?.environment||d||"production"),T5((s=(i=r?.translation)===null||i===void 0?void 0:i.name)!==null&&s!==void 0?s:"de",r?.translations),r?.transformTagName&&y5(r?.transformTagName);const u=await xz(e,o,r);return d0=!0,f0=r,Cn.info("Development mode active - Enhanced debugging features available"),u},E5=()=>d0,pO=()=>f0;const dm=c0(),_O=dm("kol-alert","closer"),vO=dm("kol-alert","content"),gO=dm("kol-alert","icon");var At;(function(e){e.blur="kolBlur",e.change="kolChange",e.changePage="kolChangePage",e.changePageSize="kolChangePageSize",e.click="kolClick",e.close="kolClose",e.create="kolCreate",e.focus="kolFocus",e.input="kolInput",e.keydown="kolKeydown",e.mousedown="kolMousedown",e.reset="kolReset",e.select="kolSelect",e.selectionChange="kolSelectionChange",e.settingsChange="settingsChange",e.sort="kolSort",e.submit="kolSubmit",e.toggle="kolToggle"})(At||(At={}));function L5(e,o){return new CustomEvent(e,{bubbles:!0,cancelable:!0,composed:!0,detail:o})}function kO(e,o,r){e.dispatchEvent(L5(o,r))}class Ir{constructor(o,r){var i;this.document=o,this.options=r,this.toastContainerElement=this.document.createElement(vb),this.document.body.prepend(this.toastContainerElement),!((i=this.options)===null||i===void 0)&&i.defaultVariant&&Cn.info("ToasterService: Default variant is deprecated. Use 'card' variant for all toasts instead.")}static getInstance(o,r){if(!E5())throw new Error("Toaster: Call KoliBri bootstrap/register method first.");let i=this.instances.get(o);return i||(i=new Ir(o,r),this.instances.set(o,i)),i}dispose(){const o=this.toastContainerElement;o?(this.toastContainerElement=void 0,o.remove()):Cn.warn("Toaster service is already disposed.")}enqueue(o){if(this.toastContainerElement&&typeof this.toastContainerElement.enqueue=="function")return this.toastContainerElement.enqueue(o)}closeAll(o=!1){this.toastContainerElement&&typeof this.toastContainerElement.closeAll=="function"&&this.toastContainerElement.closeAll(o)}}Ir.instances=new Map;var fo;(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"})(fo||(fo={}));var Ke;(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"})(Ke||(Ke={}));var lr;(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"})(lr||(lr={}));const ye=new Map;ye.set(fo["Die Bundesregierung"],["Die","Bundesregierung"]);ye.set(fo["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]);ye.set(fo["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]);ye.set(fo["Auswärtiges Amt"],["Auswärtiges Amt"]);ye.set(fo["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]);ye.set(fo["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]);ye.set(fo["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]);ye.set(fo["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]);ye.set(fo["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]);ye.set(fo["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]);ye.set(fo["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]);ye.set(fo["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]);ye.set(fo["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]);ye.set(fo["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]);ye.set(fo["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]);ye.set(Ke["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]);ye.set(Ke["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]);ye.set(Ke["Bundesamt für äußere Restitutionen"],[]);ye.set(Ke["Bundesamt für Bauwesen und Raumordnung"],[]);ye.set(Ke["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]);ye.set(Ke["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]);ye.set(Ke["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]);ye.set(Ke["Bundesamt für Justiz"],["Bundesamt für","Justiz"]);ye.set(Ke["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]);ye.set(Ke["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]);ye.set(Ke["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]);ye.set(Ke["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]);ye.set(Ke["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]);ye.set(Ke["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]);ye.set(Ke["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]);ye.set(Ke["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]);ye.set(Ke["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]);ye.set(Ke.Bundesarchiv,["Das","Bundesarchiv"]);ye.set(Ke["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]);ye.set(Ke.Bundesausgleichsamt,["Bundesausgleichsamt"]);ye.set(Ke.Bundeskartellamt,["Bundeskartellamt"]);ye.set(Ke.Bundeskriminalamt,["Bundeskriminalamt"]);ye.set(Ke.Bundesnachrichtendienst,["Bundesnachrichtendienst"]);ye.set(Ke["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]);ye.set(Ke.Bundespolizeipräsidium,["Bundespolizeipräsidium"]);ye.set(Ke["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]);ye.set(Ke.Bundessortenamt,["Bundessortenamt"]);ye.set(Ke.Bundessprachenamt,["Bundessprachenamt"]);ye.set(Ke["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]);ye.set(Ke.Bundesverwaltungsamt,["Bundesverwaltungsamt"]);ye.set(Ke["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]);ye.set(Ke["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]);ye.set(Ke["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]);ye.set(Ke.Generalzolldirektion,["Generalzolldirektion"]);ye.set(Ke["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]);ye.set(Ke["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]);ye.set(lr["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]);ye.set(lr["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]);ye.set(lr["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]);ye.set(lr["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]);ye.set(lr["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]);ye.set(lr["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]);ye.set(lr["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]);const B5="modulepreload",N5=function(e){return"/"+e},Dk={},_e=function(o,r,i){let s=Promise.resolve();if(r&&r.length>0){let h=function(p){return Promise.all(p.map(v=>Promise.resolve(v).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),m=u?.nonce||u?.getAttribute("nonce");s=h(r.map(p=>{if(p=N5(p),p in Dk)return;Dk[p]=!0;const v=p.endsWith(".css"),g=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${g}`))return;const k=document.createElement("link");if(k.rel=v?"stylesheet":B5,v||(k.as="script"),k.crossOrigin="",k.href=p,m&&k.setAttribute("nonce",m),document.head.appendChild(k),v)return new Promise((S,B)=>{k.addEventListener("load",S),k.addEventListener("error",()=>B(new Error(`Unable to preload CSS for ${p}`)))})}))}function d(u){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=u,window.dispatchEvent(m),!m.defaultPrevented)throw u}return s.then(u=>{for(const m of u||[])m.status==="rejected"&&d(m.reason);return o().catch(d)})},R5="kolibri",ha={hydratedSelectorName:"hydrated",lazyLoad:!0,propChangeCallback:!0,slotRelocation:!0,state:!0,updatable:!0},yO={kolibriVersion:"3.0.8-rc.3"};var D5=Object.defineProperty,O5=(e,o)=>{for(var r in o)D5(e,r,{get:o[r],enumerable:!0})},$5="http://www.w3.org/2000/svg",M5="http://www.w3.org/1999/xhtml",u0=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(u0||{}),b0=(e=>(e.Array="array",e.Date="date",e.Map="map",e.Object="object",e.RegularExpression="regexp",e.Set="set",e.Channel="channel",e.Symbol="symbol",e))(b0||{}),Vu="type",qu="value",gb="serialized:",U5=(e,o)=>{var r;const i=o.$cmpMeta$;Object.entries((r=i.$members$)!=null?r:{}).map(([d,[u]])=>{if(u&31||u&32){const m=e[d],h=F5(Object.getPrototypeOf(e),d)||Object.getOwnPropertyDescriptor(e,d);h&&Object.defineProperty(e,d,{get(){return h.get.call(this)},set(p){h.set.call(this,p)},configurable:!0,enumerable:!0}),e[d]=o.$instanceValues$.has(d)?o.$instanceValues$.get(d):m}})};function F5(e,o){for(;e;){const r=Object.getOwnPropertyDescriptor(e,o);if(r?.get)return r;e=Object.getPrototypeOf(e)}}var Jo=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},xO=(e,o)=>{o&&(e.__stencil__getHostRef=()=>o,o.$lazyInstance$=e,o.$cmpMeta$.$flags$&512&&ha.state&&U5(e,o))},I5=(e,o)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:o,$instanceValues$:new Map,$serializerValues$:new Map};r.$onInstancePromise$=new Promise(s=>r.$onInstanceResolve$=s),r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],r.$fetchedCbList$=[];const i=r;return e.__stencil__getHostRef=()=>i,i},Ok=(e,o)=>o in e,fe=(e,o)=>(0,console.error)(e,o),Zu=new Map,H5=(e,o,r)=>{const i=e.$tagName$.replace(/-/g,"_"),s=e.$lazyBundleId$;if(!s)return;const d=Zu.get(s);if(d)return d[i];{const u=m=>(Zu.set(s,m),m[i]);switch(s){case"kol-abbr":return _e(()=>import("./kol-abbr.entry-BD7R-GfV.js"),__vite__mapDeps([0,1])).then(u,fe);case"kol-accordion":return _e(()=>import("./kol-accordion.entry-BORUJAK2.js"),__vite__mapDeps([2,3,4,5,6,7,1,8,9,10])).then(u,fe);case"kol-alert":return _e(()=>import("./kol-alert.entry--5F6dN3P.js"),[]).then(u,fe);case"kol-avatar":return _e(()=>import("./kol-avatar.entry-48Cq25al.js"),[]).then(u,fe);case"kol-badge":return _e(()=>import("./kol-badge.entry-DqDvIjlU.js"),__vite__mapDeps([11,12,4,5,13,6,14,15,16,17,18,19,20,21,9])).then(u,fe);case"kol-breadcrumb":return _e(()=>import("./kol-breadcrumb.entry-CWjz7VzU.js"),__vite__mapDeps([22,1,23,24])).then(u,fe);case"kol-button":return _e(()=>import("./kol-button.entry-39BYZV_x.js"),[]).then(u,fe);case"kol-button-link":return _e(()=>import("./kol-button-link.entry-1kf5diMC.js"),[]).then(u,fe);case"kol-card":return _e(()=>import("./kol-card.entry-CeOIYWlM.js"),[]).then(u,fe);case"kol-details":return _e(()=>import("./kol-details.entry-n1d-5uX-.js"),__vite__mapDeps([25,3,4,5,6,7,1,8,9,10])).then(u,fe);case"kol-drawer":return _e(()=>import("./kol-drawer.entry-BsYxWoSP.js"),__vite__mapDeps([26,5,27,28,1,8,29])).then(u,fe);case"kol-form":return _e(()=>import("./kol-form.entry-EMOm70f5.js"),__vite__mapDeps([30,13,12,4,5,6])).then(u,fe);case"kol-heading":return _e(()=>import("./kol-heading.entry-BwZ3jmlq.js"),__vite__mapDeps([31,12,4,5,13,6,1,19,10])).then(u,fe);case"kol-icon":return _e(()=>import("./kol-icon.entry-DwafBQXz.js"),__vite__mapDeps([32,1,5])).then(u,fe);case"kol-image":return _e(()=>import("./kol-image.entry-45WWVqbx.js"),__vite__mapDeps([33,34])).then(u,fe);case"kol-input-checkbox":return _e(()=>import("./kol-input-checkbox.entry-DHbB6A1w.js"),__vite__mapDeps([35,5,9,36,1,37,38,39,40,7,41,42,27,43,21,4,18,13,20,12,6,17,44,45,46])).then(u,fe);case"kol-input-color":return _e(()=>import("./kol-input-color.entry-Ca8HDgz1.js"),__vite__mapDeps([47,4,39,40,7,41,1,42,27,43,21,5,18,13,20,12,6,48,17,15,49,44,9,50,51])).then(u,fe);case"kol-input-date":return _e(()=>import("./kol-input-date.entry-BVfLG824.js"),__vite__mapDeps([52,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,9,46,50,53,37,51])).then(u,fe);case"kol-input-email":return _e(()=>import("./kol-input-email.entry-BtDV1p_M.js"),__vite__mapDeps([54,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,9,46,55,56,57,58,51,59,50,60,53,37])).then(u,fe);case"kol-input-file":return _e(()=>import("./kol-input-file.entry-BRX7E0p8.js"),__vite__mapDeps([61,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,9,56,37])).then(u,fe);case"kol-input-number":return _e(()=>import("./kol-input-number.entry-CiGtkNEp.js"),__vite__mapDeps([62,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,9,46,50,60,53,37,51])).then(u,fe);case"kol-input-password":return _e(()=>import("./kol-input-password.entry-WE5my0nN.js"),__vite__mapDeps([63,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,9,46,59,50,55,60,53,37])).then(u,fe);case"kol-input-radio":return _e(()=>import("./kol-input-radio.entry-BgRCs-DM.js"),__vite__mapDeps([64,5,9,46,36,1,37,38,39,40,7,41,42,27,43,21,4,18,13,20,12,6,45,44])).then(u,fe);case"kol-input-text":return _e(()=>import("./kol-input-text.entry-D7xJMvsa.js"),__vite__mapDeps([65,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,9,46,57,58,51,59,50,55,60,53,37])).then(u,fe);case"kol-kolibri":return _e(()=>import("./kol-kolibri.entry-BKeJqZXh.js"),__vite__mapDeps([66,14,13])).then(u,fe);case"kol-link":return _e(()=>import("./kol-link.entry-CA-ztbq-.js"),[]).then(u,fe);case"kol-link-button":return _e(()=>import("./kol-link-button.entry-DKd9nOex.js"),[]).then(u,fe);case"kol-modal":return _e(()=>import("./kol-modal.entry-BGaHTW3v.js"),__vite__mapDeps([67,5,1,29])).then(u,fe);case"kol-nav":return _e(()=>import("./kol-nav.entry-DdwkLkqL.js"),__vite__mapDeps([68,41,1,5,13,9,23,24])).then(u,fe);case"kol-pagination":return _e(()=>import("./kol-pagination.entry--inYSDUw.js"),[]).then(u,fe);case"kol-popover-button":return _e(()=>import("./kol-popover-button.entry-DRWZOdIM.js"),[]).then(u,fe);case"kol-progress":return _e(()=>import("./kol-progress.entry-CzqPJvSk.js"),__vite__mapDeps([69,1])).then(u,fe);case"kol-quote":return _e(()=>import("./kol-quote.entry-mhVUO3TU.js"),__vite__mapDeps([70,18,1,5])).then(u,fe);case"kol-select":return _e(()=>import("./kol-select.entry-7jac0lF0.js"),__vite__mapDeps([71,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,9,46,56,36,37,38,72])).then(u,fe);case"kol-skip-nav":return _e(()=>import("./kol-skip-nav.entry-CE0uqc7Q.js"),__vite__mapDeps([73,1,23,24])).then(u,fe);case"kol-spin":return _e(()=>import("./kol-spin.entry-B2krNbvJ.js"),__vite__mapDeps([74,1,75,13,5])).then(u,fe);case"kol-split-button":return _e(()=>import("./kol-split-button.entry-B5kKgvVx.js"),__vite__mapDeps([76,5,13])).then(u,fe);case"kol-table-stateful":return _e(()=>import("./kol-table-stateful.entry-CmF8BEie.js"),__vite__mapDeps([77,13,78,1,79])).then(u,fe);case"kol-table-stateless":return _e(()=>import("./kol-table-stateless.entry-DXVLwE02.js"),[]).then(u,fe);case"kol-tabs":return _e(()=>import("./kol-tabs.entry-COCa1tB7.js"),__vite__mapDeps([80,27,1,5,13,79])).then(u,fe);case"kol-textarea":return _e(()=>import("./kol-textarea.entry-DbXdGu3F.js"),__vite__mapDeps([81,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,9,55,60,53,37,72,58])).then(u,fe);case"kol-toast-container":return _e(()=>import("./kol-toast-container.entry-fMPZf8jS.js"),__vite__mapDeps([82,13,9,12,4,5,6,19])).then(u,fe);case"kol-toolbar":return _e(()=>import("./kol-toolbar.entry-BNqnW-92.js"),__vite__mapDeps([83,4,1,79,38])).then(u,fe);case"kol-tree":return _e(()=>import("./kol-tree.entry-D2d8wJpf.js"),[]).then(u,fe);case"kol-tree-item":return _e(()=>import("./kol-tree-item.entry-C6wMC80I.js"),[]).then(u,fe);case"kol-version":return _e(()=>import("./kol-version.entry-C-wzfDgC.js"),__vite__mapDeps([84,1,13])).then(u,fe);case"kol-alert-wc":return _e(()=>import("./kol-alert-wc.entry-Jgh30xYd.js"),__vite__mapDeps([85,12,4,5,13,6,28,1,10])).then(u,fe);case"kol-avatar-wc":return _e(()=>import("./kol-avatar-wc.entry-D7ybHS4u.js"),__vite__mapDeps([86,14,34,1,13])).then(u,fe);case"kol-button-wc":return _e(()=>import("./kol-button-wc.entry-BYWpOM-V.js"),__vite__mapDeps([87,18,40,88,89,7,41,15,1,42,27,5,12,4,13,6,16,17,19,20,21,46,43])).then(u,fe);case"kol-card-wc":return _e(()=>import("./kol-card-wc.entry-3CaS7qPl.js"),__vite__mapDeps([90,28,1,13,10,12,4,5,6,19,9])).then(u,fe);case"kol-combobox":return _e(()=>import("./kol-combobox.entry-CrHQnmF3.js"),__vite__mapDeps([91,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,92,9,60,37,51])).then(u,fe);case"kol-input-range":return _e(()=>import("./kol-input-range.entry-DW4ZilIW.js"),__vite__mapDeps([93,4,5,39,40,7,41,1,42,27,43,21,18,13,20,12,6,48,17,15,49,44,9,46,50,51])).then(u,fe);case"kol-link-wc":return _e(()=>import("./kol-link-wc.entry-Bc3pEk2d.js"),__vite__mapDeps([94,18,40,88,89,7,41,95,15,1,42,27,5,12,4,13,6,16,17,19,20,21])).then(u,fe);case"kol-pagination-wc":return _e(()=>import("./kol-pagination-wc.entry-D4B2_ioG.js"),__vite__mapDeps([96,89,1,42,27,13,9,23])).then(u,fe);case"kol-popover-button-wc":return _e(()=>import("./kol-popover-button-wc.entry-Dc0_d1TW.js"),__vite__mapDeps([97,98,5,27])).then(u,fe);case"kol-popover-wc":return _e(()=>import("./kol-popover-wc.entry-CeJX2ulC.js"),__vite__mapDeps([99,98,27,75,5])).then(u,fe);case"kol-single-select":return _e(()=>import("./kol-single-select.entry-CbGXwI84.js"),__vite__mapDeps([100,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,92,9,36,37,38,60])).then(u,fe);case"kol-table-settings-wc":return _e(()=>import("./kol-table-settings-wc.entry-Ps1GI2k9.js"),__vite__mapDeps([101,4,13])).then(u,fe);case"kol-table-stateless-wc":return _e(()=>import("./kol-table-stateless-wc.entry-Cd9t-rXc.js"),__vite__mapDeps([102,5,13,78,1,79,9,21])).then(u,fe);case"kol-tooltip-wc":return _e(()=>import("./kol-tooltip-wc.entry-BmbOvjDF.js"),__vite__mapDeps([103,98,27,1,12,4,5,13,6,16,17,18,19,20,21,29])).then(u,fe);case"kol-tree-item-wc":return _e(()=>import("./kol-tree-item-wc.entry-BarfoTHm.js"),__vite__mapDeps([104,5,95,1,8,9])).then(u,fe);case"kol-tree-wc":return _e(()=>import("./kol-tree-wc.entry-Bh7EZQCX.js"),__vite__mapDeps([105,1])).then(u,fe);case"test-component":return _e(()=>import("./test-component.entry-Dufewrqq.js"),[]).then(u,fe)}}return _e(()=>import(`./${s}.entry.js`),[]).then(u=>(Zu.set(s,u),u[i]),u=>{fe(u,o.$hostElement$)})},Ds=new Map,m0=[],K5="r",V5="o",kb="s",q5="t",Z5="c",$i="s-id",yb="sty-id",$k="c-id",P5="{visibility:hidden}.hydrated{visibility:inherit}",h0="slot-fb{display:contents}slot-fb[hidden]{display:none}",Mk="http://www.w3.org/1999/xlink",nn=typeof window<"u"?window:{},un={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,o,r,i)=>e.addEventListener(o,r,i),rel:(e,o,r,i)=>e.removeEventListener(o,r,i),ce:(e,o)=>new CustomEvent(e,o)},G5=(()=>{var e;let o=!1;try{(e=nn.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){o=!0}}))}catch{}return o})(),Y5=e=>Promise.resolve(e),fm=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),xb=fm?!!nn.document&&Object.getOwnPropertyDescriptor(nn.document.adoptedStyleSheets,"length").writable:!1,p0=e=>Y5().then(e),um=e=>(e=typeof e,e==="object"||e==="function");function _0(e){var o,r,i;return(i=(r=(o=e.head)==null?void 0:o.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?i:void 0}var X5=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Q5=class da{static fromLocalValue(o){const r=o[Vu],i=qu in o?o[qu]:void 0;switch(r){case"string":return i;case"boolean":return i;case"bigint":return BigInt(i);case"undefined":return;case"null":return null;case"number":return i==="NaN"?NaN:i==="-0"?-0:i==="Infinity"?1/0:i==="-Infinity"?-1/0:i;case"array":return i.map(p=>da.fromLocalValue(p));case"date":return new Date(i);case"map":const s=new Map;for(const[p,v]of i){const g=typeof p=="object"&&p!==null?da.fromLocalValue(p):p,k=da.fromLocalValue(v);s.set(g,k)}return s;case"object":const d={};for(const[p,v]of i)d[p]=da.fromLocalValue(v);return d;case"regexp":const{pattern:u,flags:m}=i;return new RegExp(u,m);case"set":const h=new Set;for(const p of i)h.add(da.fromLocalValue(p));return h;case"symbol":return Symbol(i);default:throw new Error(`Unsupported type: ${r}`)}}static fromLocalValueArray(o){return o.map(r=>da.fromLocalValue(r))}static isLocalValueObject(o){if(typeof o!="object"||o===null||!o.hasOwnProperty(Vu))return!1;const r=o[Vu];return Object.values({...u0,...b0}).includes(r)?r!=="null"&&r!=="undefined"?o.hasOwnProperty(qu):!0:!1}},J5={};O5(J5,{err:()=>v0,map:()=>W5,ok:()=>wb,unwrap:()=>e3,unwrapErr:()=>n3});var wb=e=>({isOk:!0,isErr:!1,value:e}),v0=e=>({isOk:!1,isErr:!0,value:e});function W5(e,o){if(e.isOk){const r=o(e.value);return r instanceof Promise?r.then(i=>wb(i)):wb(r)}if(e.isErr){const r=e.value;return v0(r)}throw"should never get here"}var e3=e=>{if(e.isOk)return e.value;throw e.value},n3=e=>{if(e.isErr)return e.value;throw e.value};function o3(e){return typeof e!="string"||!e.startsWith(gb)?e:Q5.fromLocalValue(JSON.parse(atob(e.slice(gb.length))))}var wi;function t3(e){var o;const r=this.attachShadow({mode:"open"});wi===void 0&&(wi=(o=void 0)!=null?o:null),wi&&(xb?r.adoptedStyleSheets.push(wi):r.adoptedStyleSheets=[...r.adoptedStyleSheets,wi])}var g0=e=>{const o=$r(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&k0(o,e.tagName).forEach(i=>{i.nodeType===1&&i.tagName==="SLOT-FB"&&(a3(i,bm(i),!1).length?i.hidden=!0:i.hidden=!1)});let r=0;for(r=0;r<o.length;r++){const i=o[r];i.nodeType===1&&$r(i,"childNodes").length&&g0(i)}},r3=e=>{const o=[];for(let r=0;r<e.length;r++){const i=e[r]["s-nr"]||void 0;i&&i.isConnected&&o.push(i)}return o};function k0(e,o,r){let i=0,s=[],d;for(;i<e.length;i++)d=e[i],d["s-sr"]&&(!o||d["s-hn"]===o)&&r===void 0&&s.push(d),s=[...s,...k0(d.childNodes,o,r)];return s}var a3=(e,o,r=!0)=>{const i=[];(r&&e["s-sr"]||!e["s-sr"])&&i.push(e);let s=e;for(;s=s.nextSibling;)bm(s)===o&&(r||!s["s-sr"])&&i.push(s);return i},Uk=(e,o)=>e.nodeType===1?e.getAttribute("slot")===null&&o===""||e.getAttribute("slot")===o:e["s-sn"]===o?!0:o==="",l3=(e,o,r,i)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=e,!o["s-cr"]||!o["s-cr"].parentNode)return;const d=o["s-cr"].parentNode,u=$r(d,"appendChild");if(typeof i<"u"){s["s-oo"]=i;const m=$r(d,"childNodes"),h=[s];m.forEach(p=>{p["s-nr"]&&h.push(p)}),h.sort((p,v)=>!p["s-oo"]||p["s-oo"]<(v["s-oo"]||0)?-1:!v["s-oo"]||v["s-oo"]<p["s-oo"]?1:0),h.forEach(p=>u.call(d,p))}else u.call(d,s);e["s-ol"]=s,e["s-sh"]=o["s-hn"]},bm=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function y0(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const o=r=>(function(i){const s=[],d=this["s-sn"];i?.flatten&&console.error(`
27
+ - https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`)};var Kz=.2126,Vz=.7152,qz=.0722,Ru=1/12.92;function Du(e){return Math.pow((e+.055)/1.055,2.4)}function _g(e){var o=e[0]/255,r=e[1]/255,i=e[2]/255,s=o<=.03928?o*Ru:Du(o),d=r<=.03928?r*Ru:Du(r),u=i<=.03928?i*Ru:Du(i);return s*Kz+d*Vz+u*qz}function vg(e){var o=255;(e=e.replace(/^#/,"")).length===8&&(o=parseInt(e.slice(6,8),16),e=e.substring(0,6)),e.length===4&&(o=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var r=parseInt(e,16);return[r>>16,r>>8&255,255&r,o]}function Zz(e,o){return(Math.max(e,o)+.05)/(Math.min(e,o)+.05)}function Pz(e,o){return Zz(_g(e),_g(o))}function Gz(e,o){return Pz(vg(e),vg(o))}function Yz(e){return e>=7?"AAA":e>=4.5?"AA":e>=3?"AA Large":"Fail"}var Ou,gg;function Xz(){return gg||(gg=1,Ou={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),Ou}var $u,kg;function Qz(){if(kg)return $u;kg=1;var e=Xz();$u=r;var o={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function r(i){var s,d=[],u=1,m;if(typeof i=="string")if(i=i.toLowerCase(),e[i])d=e[i].slice(),m="rgb";else if(i==="transparent")u=0,m="rgb",d=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(i)){var h=i.slice(1),p=h.length,v=p<=4;u=1,v?(d=[parseInt(h[0]+h[0],16),parseInt(h[1]+h[1],16),parseInt(h[2]+h[2],16)],p===4&&(u=parseInt(h[3]+h[3],16)/255)):(d=[parseInt(h[0]+h[1],16),parseInt(h[2]+h[3],16),parseInt(h[4]+h[5],16)],p===8&&(u=parseInt(h[6]+h[7],16)/255)),d[0]||(d[0]=0),d[1]||(d[1]=0),d[2]||(d[2]=0),m="rgb"}else if(s=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(i)){var g=s[1],k=g==="rgb",h=g.replace(/a$/,"");m=h;var p=h==="cmyk"?4:h==="gray"?1:3;d=s[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(T,N){if(/%$/.test(T))return N===p?parseFloat(T)/100:h==="rgb"?parseFloat(T)*255/100:parseFloat(T);if(h[N]==="h"){if(/deg$/.test(T))return parseFloat(T);if(o[T]!==void 0)return o[T]}return parseFloat(T)}),g===h&&d.push(1),u=k||d[p]===void 0?1:d[p],d=d.slice(0,p)}else i.length>10&&/[0-9](?:\s|\/)/.test(i)&&(d=i.match(/([0-9]+)/g).map(function(S){return parseFloat(S)}),m=i.match(/([a-z])/ig).join("").toLowerCase());else isNaN(i)?Array.isArray(i)||i.length?(d=[i[0],i[1],i[2]],m="rgb",u=i.length===4?i[3]:1):i instanceof Object&&(i.r!=null||i.red!=null||i.R!=null?(m="rgb",d=[i.r||i.red||i.R||0,i.g||i.green||i.G||0,i.b||i.blue||i.B||0]):(m="hsl",d=[i.h||i.hue||i.H||0,i.s||i.saturation||i.S||0,i.l||i.lightness||i.L||i.b||i.brightness]),u=i.a||i.alpha||i.opacity||1,i.opacity!=null&&(u/=100)):(m="rgb",d=[i>>>16,(i&65280)>>>8,i&255]);return{space:m,values:d,alpha:u}}return $u}var Jz=Qz(),nO=Qs(Jz);const Wz={min:[0,0,0],max:[255,255,255]};var oO={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var o=e[0]/360,r=e[1]/100,i=e[2]/100,s,d,u,m,h,p=0;if(r===0)return h=i*255,[h,h,h];for(d=i<.5?i*(1+r):i+r-i*r,s=2*i-d,m=[0,0,0];p<3;)u=o+1/3*-(p-1),u<0?u++:u>1&&u--,h=6*u<1?s+(d-s)*6*u:2*u<1?d:3*u<2?s+(d-s)*(2/3-u)*6:s,m[p++]=h*255;return m}};Wz.hsl=function(e){var o=e[0]/255,r=e[1]/255,i=e[2]/255,s=Math.min(o,r,i),d=Math.max(o,r,i),u=d-s,m,h,p;return d===s?m=0:o===d?m=(r-i)/u:r===d?m=2+(i-o)/u:i===d&&(m=4+(o-r)/u),m=Math.min(m*60,360),m<0&&(m+=360),p=(s+d)/2,d===s?h=0:p<=.5?h=u/(d+s):h=u/(2-d-s),[m,h*100,p*100]};var Rr={exports:{}},yg;function e5(){if(yg)return Rr.exports;yg=1,Rr.exports=e,Rr.exports.arr=e,Rr.exports.obj=o,Rr.exports.css=r,Rr.exports.hex=i,Rr.exports.num=s;function e(y){var w=d(y);return w.length==3?w.concat(255):(w[3]=Math.round(w[3]),w)}function o(y){var w=d(y);return{r:w[0],g:w[1],b:w[2],a:w.length==3?255:Math.round(w[3])}}function r(y){var w=d(y);return w.length==3&&w.push(255),w[3]==255?"rgb("+w[0]+", "+w[1]+", "+w[2]+")":w[3]==0?"rgba("+w[0]+", "+w[1]+", "+w[2]+", 0)":"rgba("+w[0]+", "+w[1]+", "+w[2]+", "+String(w[3]/255).substr(1)+")"}function i(y){var Z=d(y);Z.length==3&&Z.push(255);var w=Z[3]==255,R=u(Z[0]),M=u(Z[1]),H=u(Z[2]),Z=u(Math.round(Z[3])),te=m(R,M,H,Z);return w?te?"#"+R.charAt(0)+M.charAt(0)+H.charAt(0):"#"+R+M+H:te?"#"+R.charAt(0)+M.charAt(0)+H.charAt(0)+Z.charAt(0):"#"+R+M+H+Z}function s(y){var w=d(y);return w.length==3?w.push(255):w[3]=Math.round(w[3]),(w[3]<<24>>>0|w[0]<<16|w[1]<<8|w[2])>>>0}function d(y){return typeof y=="string"?(y=y.toLowerCase(),h(y)||v(y)||g(y)||N(y)||E(y)||[0,0,0,255]):S(y)||B(y)||T(y)||[0,0,0,255]}function u(y){var w=y.toString(16);return w.length==1?"0"+w:w}function m(y,w,R,M){var H=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return H.indexOf(y)!=-1&&H.indexOf(w)!=-1&&H.indexOf(R)!=-1&&H.indexOf(M)!=-1}function h(y){if(y=="red")return[255,0,0];if(y=="green")return[0,255,0];if(y=="blue")return[0,0,255];if(y=="black")return[0,0,0];if(y=="white")return[255,255,255];if(y=="cyan")return[0,255,255];if(y=="gray")return[128,128,128];if(y=="grey")return[128,128,128];if(y=="magenta")return[255,0,255];if(y=="pink")return[255,0,255];if(y=="yellow")return[255,255,0]}function p(y){return y.length==1?parseInt(y+y,16):parseInt(y,16)}function v(y){var w=y.replace(/^#/,""),R=w.length;if(R==3||R==4){var M=p(w[0]),H=p(w[1]),Z=p(w[2]),te=R==3?255:p(w[3]);return isNaN(M)||isNaN(H)||isNaN(Z)||isNaN(te)?void 0:[M,H,Z,te]}}function g(y){var w=y.replace(/^#/,""),R=w.length;if(R==6||R==8){var M=p(w.slice(0,2)),H=p(w.slice(2,4)),Z=p(w.slice(4,6)),te=R==6?255:p(w.slice(6,8));return isNaN(M)||isNaN(H)||isNaN(Z)||isNaN(te)?void 0:[M,H,Z,te]}}function k(y,w){return typeof y!="number"||w===!0&&Math.floor(y)!==y?-1:y>=0&&y<=255?y:-1}function S(y){if(Object.prototype.toString.call(y)==="[object Object]"&&Object.getPrototypeOf(y)===Object.getPrototypeOf({})){var w=k(y.r!=null?y.r:y.red!=null?y.red:0,!0),R=k(y.g!=null?y.g:y.green!=null?y.green:0,!0),M=k(y.b!=null?y.b:y.blue!=null?y.blue:0,!0),H=k(y.a!=null?y.a:y.alpha!=null?y.alpha:255,!0);if(w!=-1&&R!=-1&&M!=-1&&H!=-1)return[w,R,M,H]}}function B(y){if(Array.isArray(y)&&(y.length==3||y.length==4)){var w=k(y[0],!0),R=k(y[1],!0),M=k(y[2],!0),H=k(y[3]!=null?y[3]:255,!0);if(w!=-1&&R!=-1&&M!=-1&&H!=-1)return[w,R,M,H]}}function T(y){if(typeof y=="number"&&Math.floor(y)==y&&y<=4294967295&&y>=0){var w=y>>24&255,R=y>>16&255,M=y>>8&255,H=y&255;return[R,M,H,w]}}function N(y){if(y.substr(0,4)=="rgb("){y=y.match(/^rgb\(([^)]+)\)/)[1];var w=y.split(/ *, */).map(Number),R=k(w[0],!0),M=k(w[1],!0),H=k(w[2],!0);if(R!=-1&&M!=-1&&H!=-1)return[R,M,H,255]}}function E(y){if(y.substr(0,5)=="rgba("){y=y.match(/^rgba\(([^)]+)\)/)[1];var w=y.split(/ *, */).map(Number),R=k(w[0],!0),M=k(w[1],!0),H=k(w[2],!0),Z=k(w[3]*255);if(R!=-1&&M!=-1&&H!=-1&&Z!=-1)return[R,M,H,Z]}}return Rr.exports}var n5=e5(),xg=Qs(n5),Mu={},wg;function o5(){return wg||(wg=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.querySelectorAll=void 0;const o=(i,s)=>{s.forEach(d=>{i.has(d)===!1&&i.add(d)})},r=(i,s=document)=>{if(s instanceof Document||s instanceof HTMLElement||s instanceof ShadowRoot){const d=new Set;o(d,s.querySelectorAll(i));const u=s.querySelectorAll('[class*="hydrated"]');for(let m=0;m<u.length;m++){const h=u[m].shadowRoot;typeof h=="object"&&h!==null?o(d,(0,e.querySelectorAll)(i,h)):o(d,(0,e.querySelectorAll)(i,u[m]))}return Array.from(d)}else throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")};e.querySelectorAll=r})(Mu)),Mu}var t5=o5(),Uu={},zg;function r5(){return zg||(zg=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.querySelector=void 0;const o=(r,i=document)=>{if(i instanceof Document||i instanceof HTMLElement||i instanceof ShadowRoot){let s=i.querySelector(r);if(s===null){const d=i.querySelectorAll('[class*="hydrated"]');for(let u=0;u<d.length;u++){const m=d[u].shadowRoot;if(typeof m=="object"&&m!==null?s=(0,e.querySelector)(r,m):s=(0,e.querySelector)(r,d[u]),s!==null)break}}return s}else throw new Error("The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.")};e.querySelector=o})(Uu)),Uu}var a5=r5();const l5=/\[object Object\]/,Fu=(e,o)=>{typeof e=="string"&&l5.test(e)||o()},i5=(e,o)=>{typeof e=="string"&&e===""||o()},tO=(e,o)=>{Mz()&&(Cn.debug([e,o]),Cn.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:o,writable:!1})},c5=e=>{var o,r,i;(o=e.nextHooks)===null||o===void 0||o.forEach((s,d)=>{var u;const m=s.get("beforePatch");typeof m=="function"&&m((u=e.nextState)===null||u===void 0?void 0:u.get(d),e.nextState,e,d)}),((r=e.nextState)===null||r===void 0?void 0:r.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,(i=e.nextHooks)===null||i===void 0||i.forEach((s,d)=>{const u=s.get("afterPatch");typeof u=="function"&&u(e.state[d],e.state,e,d)})),delete e.nextHooks},hb=(e,o,r,i={})=>{var s,d;e.nextHooks===void 0&&(e.nextHooks=new Map),e.nextState===void 0&&(e.nextState=new Map),e.nextHooks.get(o)instanceof Map||e.nextHooks.set(o,new Map),typeof i.afterPatch=="function"&&((s=e.nextHooks.get(o))===null||s===void 0||s.set("afterPatch",i.afterPatch)),typeof i.beforePatch=="function"&&((d=e.nextHooks.get(o))===null||d===void 0||d.set("beforePatch",i.beforePatch)),e.nextState.set(o,r),c5(e)},s5=(e,o,r,i)=>{l0(`[${e.constructor.name}] The property value: (${r}) for '${o}' is not valid. Allowed values are: ${Array.from(i).join(", ")}`)};function sm(e,o,r,i,s,d={}){r(s)?hb(e,o,s,d.hooks):s===void 0&&d.required!==!0&&r(d.defaultValue)?hb(e,o,d.defaultValue,d.hooks):(d.required||i.add(null),s5(e,o,s,i))}const rO=(e,o,r,i)=>{sm(e,o,s=>typeof s=="boolean",new Set(["Boolean {true, false}"]),r,i)},aO=(e,o,r,i={})=>{const s=typeof i.minLength=="number"?i?.minLength:0;sm(e,o,d=>typeof d=="string"&&d.length>=s&&(typeof i?.maxLength>"u"||d.length<=i.maxLength),new Set(["String"]),r,i)},lO=(e,o,r,i)=>{sm(e,o,s=>typeof s=="number"&&(typeof i?.min>"u"||typeof i?.min=="number"&&s>=i.min)&&(typeof i?.max>"u"||typeof i?.max=="number"&&s<=i.max),new Set(["Number"]),r,i)},iO=(e,o,r,i,s=u=>u===u,d={})=>{i5(i,()=>{Fu(i,()=>{typeof i>"u"&&(i=[]);try{try{i=u5(i)}catch{}if(Array.isArray(i)){const u=i.find(m=>!r(m));u===void 0&&s(i)?hb(e,o,i,d.hooks):Fu(u,()=>{throw Cn.debug(u),new Error("↑ The schema for the property (_options) is not valid. The value will not be changed.")})}else Fu(i,()=>{throw Cn.debug(i),new Error("↑ The schema for the property (_options) is not valid. The value will not be changed.")})}catch(u){Cn.debug(u)}})})},d5=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch{throw Cn.warn(["stringifyJson",e]),Cn.error("↑ The JSON could not be converted to a string. A stringifiable JSON is expected."),new Error}},f5=/^[{[]/,u5=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch{if(f5.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch{Cn.warn(["parseJson",e]),Cn.error("↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (&#8216;).")}}throw new Error},b5=e=>typeof e=="boolean"?e===!0?"true":"false":void 0,cO=e=>typeof e=="string"?e:b5(e),m5=(e,o)=>a5.querySelector(e,o||cm()),h5=(e,o)=>t5.querySelectorAll(e,o||cm());let Iu=null;const i0=()=>(Iu=Iu||{backgroundColor:"#00000000",color:"#00000000",domNode:cm().body,level:"Fail",score:1},Iu),jg=/(\d+, ){3}0\)/,pb=(e,o=i0())=>{const r=getComputedStyle(e),i=jg.test(r.backgroundColor)?o.backgroundColor:xg.hex(r.backgroundColor),s=jg.test(r.color)?o.color:xg.hex(r.color),d=Gz(i,s),u={backgroundColor:i,color:s,domNode:e,level:Yz(d),score:d};return d<4.5&&Cn.error(["Color-Contrast-Error",{backgroundColor:u.backgroundColor,color:u.color,level:u.level,score:u.score},u.domNode]),u},p5=(e,o=i0())=>{o.domNode instanceof HTMLElement&&(o=pb(o.domNode,o));const r=o.domNode.querySelector(e);if(r===null){const i=o.domNode.querySelectorAll('[class="hydrated"]');for(let s=0;s<i.length&&(o.domNode=i[s],o=p5(e,o),o.domNode===null);s++);return o}else return pb(r,o)};class Po{static queryHtmlElementColors(o,r,i=!1,s=!0){let d=null;if(i===!0||Po.executionLock===!1)if(i===!1&&(Po.cache.clear(),Po.cache.set(r.domNode,r),Po.executionLock=!0,s===!0&&Cn.debug("[KoliBriUtils] Color contrast analysis started...")),o===r.domNode)d=r;else{const u=new Set;if(r.domNode.shadowRoot){const v=r.domNode.shadowRoot.children;for(let g=0;g<v.length;g++)u.add(v[g])}const m=r.domNode;if(typeof m.assignedNodes=="function"){const v=m.assignedNodes();for(let g=0;g<v.length;g++)v[g]instanceof HTMLElement&&u.add(v[g])}const h=r.domNode.children;for(let v=0;v<h.length;v++)u.add(h[v]);const p=Array.from(u);for(let v=0;v<p.length;v++){let g=Po.cache.get(p[v]);g===void 0&&(g=pb(p[v],r)),Po.cache.set(p[v],g);const k=Po.queryHtmlElementColors(o,g,!0,!1);if(k!==null){d=k;break}}}else Cn.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return i===!1&&(s===!0&&Cn.debug(`[KoliBriUtils] Color contrast analysis finished (${Po.cache.size} DOM elements are analysed).`),Po.executionLock=!1,Po.cache.clear()),d}}Po.executionLock=!1;Po.cache=new Map;class ya{}ya.getCssStyle=js;ya.patchTheme=_z;ya.patchThemeTag=pz;ya.querySelector=m5;ya.querySelectorAll=h5;ya.stringifyJson=d5;const sO=e=>typeof e=="object"&&e!==null,Sg=(e,o=0)=>typeof e=="string"&&e.length>=o,dO=e=>{if(typeof e=="object"&&e!==null){for(const o in e)if(Sg(o,1)===!1)return!1}else return Sg(e,1);return!0},fO=new Event("StateChange");var Hu,Tg;function _5(){return Tg||(Tg=1,Hu=function(o){return function(r,i){if(!r)return o;var s;typeof r=="string"?s=r:i=r;var d=o;return s&&(d+="__"+s),d+(i?Object.keys(i).reduce(function(u,m){var h=i[m];return h&&(u+=" "+(typeof h=="boolean"?d+"--"+m:d+"--"+m+"_"+h)),u},""):"")}}),Hu}var v5=_5(),g5=Qs(v5);function c0(){const e=new Map,o=(r,i,s)=>{try{return e.get(r)(i,s)}catch{return e.set(r,g5(r)).get(r)(i,s)}};return o.forBlock=r=>{const i=(s,d)=>o(r,s,d);return i.forElement=s=>d=>o(r,s,d),i},o}const s0=c0(),uO=s0("kol-icon"),bO=s0("kol-icon","icon");let _b;const Ss=[],k5=e=>{_b=e,Ss.forEach(o=>{o(e)})},mO=(e,o=!0)=>(o&&typeof _b=="string"&&e(_b),Ss.push(e),()=>{const r=Ss.indexOf(e);r>=0&&Ss.splice(r,1)});let Ag="kol-abbr",Cg="kol-accordion",Eg="kol-alert",Lg="kol-alert-wc",Bg="kol-avatar",Ng="kol-avatar-wc",Rg="kol-badge",Dg="kol-breadcrumb",Og="kol-button-link",$g="kol-button",Mg="kol-button-wc",Ug="kol-card",Fg="kol-card-wc",Ig="kol-combobox",Hg="kol-details",Kg="kol-drawer",Vg="kol-form",qg="kol-heading",Zg="kol-icon",Pg="kol-image",Gg="kol-input-checkbox",Yg="kol-input-color",Xg="kol-input-date",Qg="kol-input-email",Jg="kol-input-file",Wg="kol-input-number",ek="kol-input-password",nk="kol-input-radio",ok="kol-input-range",tk="kol-input",rk="kol-input-text",ak="kol-kolibri",lk="kol-link-button",ik="kol-link",ck="kol-link-wc",sk="kol-modal",dk="kol-nav",fk="kol-pagination",uk="kol-pagination-wc",bk="kol-popover-wc",mk="kol-popover-button",hk="kol-popover-button-wc",pk="kol-progress",_k="kol-quote",vk="kol-select",gk="kol-single-select",kk="kol-skip-nav",yk="kol-spin",xk="kol-split-button",wk="kol-table-settings-wc",zk="kol-table-stateful",jk="kol-table-stateless",Sk="kol-table-stateless-wc",Tk="kol-tabs",Ak="kol-textarea",vb="kol-toast-container",Ku="kol-tooltip-wc",Ck="kol-tree-item",Ek="kol-tree-item-wc",Lk="kol-tree",Bk="kol-tree-wc",Nk="kol-version";const y5=e=>{Ag=e(Ag),Cg=e(Cg),Eg=e(Eg),Lg=e(Lg),Bg=e(Bg),Ng=e(Ng),Rg=e(Rg),Dg=e(Dg),Og=e(Og),$g=e($g),Mg=e(Mg),Ug=e(Ug),Fg=e(Fg),Ig=e(Ig),Hg=e(Hg),Kg=e(Kg),Vg=e(Vg),qg=e(qg),Zg=e(Zg),Pg=e(Pg),Gg=e(Gg),Yg=e(Yg),Xg=e(Xg),Qg=e(Qg),Jg=e(Jg),Wg=e(Wg),ek=e(ek),nk=e(nk),ok=e(ok),tk=e(tk),rk=e(rk),ak=e(ak),lk=e(lk),ik=e(ik),ck=e(ck),sk=e(sk),dk=e(dk),fk=e(fk),uk=e(uk),bk=e(bk),mk=e(mk),hk=e(hk),pk=e(pk),_k=e(_k),vk=e(vk),gk=e(gk),kk=e(kk),yk=e(yk),xk=e(xk),wk=e(wk),zk=e(zk),jk=e(jk),Sk=e(Sk),Tk=e(Tk),Ak=e(Ak),vb=e(vb),e(Ku),Ku=e(Ku),Ck=e(Ck),Ek=e(Ek),Lk=e(Lk),Bk=e(Bk),Nk=e(Nk)};var x5={error:"Fehler",warning:"Warnung",info:"Hinweis",success:"Erfolg",message:"Nachricht",close:"Schließen","form-description":"Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.",new:"Neu","no-entries":"Es sind keine Einträge vorhanden.","change-order":"Sortierung von {{colLabel}} ändern","action-running":"Aktion wird ausgeführt...","action-done":"Aktion abgeschlossen",pagination:"Paginierung","page-first":"Direkt zur ersten Seite","page-back":"Eine Seite zurück","page-next":"Eine Seite weiter","page-last":"Direkt zur letzten Seite","entries-per-site":"Einträge pro Seite",page:"Seite","page-current":"Seite {{page}}","page-selected":"Seite {{page}} ist ausgewählt","page-per-site":"{{entries}} Einträge pro Seite","nav-maximize":"Navigation maximieren","nav-minimize":"Navigation minimieren","logo-description":"Logo {{orgShort}}. Bundesadler mit Flaggenstab und Schriftzug {{orgLong}}","open-link-in-tab":"Öffnet in neuem Tab.","kolibri-logo":"Logo von KoliBri","table-pagination-label":"Paginierung für die Tabelle {{label}}","avatar-alt":"Avatar von {{name}}","split-button-dropdown-label-open":"Optionen anzeigen","split-button-dropdown-label-close":"Optionen schließen","toast-close-all":"Alle schließen","error-list":"Fehlerliste","error-list-message":"Bitte korrigieren Sie folgende Fehler:",version:"Versionsnummer","table-visible-range":"Einträge {{start}} bis {{end}} von {{total}}","table-selection-all":"Alle auswählen","table-selection-none":"Alle abwählen","table-selection-indeterminate":"Alle auswählen bei teilweiser Auswahl","table-settings":"Tabellenkonfiguration","table-settings-cancel":"Abbrechen","table-settings-apply":"Übernehmen","table-settings-show-column":"Spalte {{column}} anzeigen","table-settings-column-width":"Breite von {{column}}","table-settings-move-up":"Spalte {{column}} nach oben verschieben","table-settings-move-down":"Spalte {{column}} nach unten verschieben","table-settings-error-all-invisible":"Mindestens eine Spalte muss sichtbar sein.","table-settings-column-not-hidable":"nicht ausblendbar",dropdown:"Auswahlliste","nav-label-open":"Untermenü zu {{label}} öffnen","nav-label-close":"Untermenü zu {{label}} schließen","close-alert":"Benachrichtigung schließen","show-password":"einblenden","hide-password":"ausblenden","no-results-message":"Keine Ergebnisse gefunden.","delete-selection":"Auswahl entfernen","filename-text":"Datei auswählen oder hier ablegen...","data-browse-text":"Datei auswählen",sort:"sortieren","pagination-position-top":"oben","pagination-position-bottom":"unten","character-limit-hint":"Es können bis zu {{limit}} Zeichen eingegeben werden.","character-limit-remaining":"Es sind noch {{remaining}} Zeichen verfügbar.","character-limit-exceeded":"Es sind {{over}} Zeichen zu viel.","character-counter-current":"{{current}} Zeichen","character-counter-current-of-max":"{{current}}/{{max}} Zeichen","character-counter-current-of-max-aria":"{{current}} von {{max}} Zeichen",readonly:"schreibgeschützt"},w5={error:"Error",warning:"Warning",info:"Note",success:"Success",message:"Message",close:"Close","form-description":"Form fields marked with an asterisk (*) are mandatory.",new:"New","no-entries":"No entries available.","change-order":"Change order of {{colLabel}}","action-running":"Action is running...","action-done":"Action done",pagination:"Pagination","page-first":"Directly to the first page","page-back":"One page back","page-next":"One page further","page-last":"Directly to the last page","entries-per-site":"Entries per page",page:"Page","page-current":"Page {{page}}","page-selected":"Page {{page}} is selected","page-per-site":"{{entries}} entries per page","nav-maximize":"Maximize navigation","nav-minimize":"Minimize navigation","logo-description":"Logo {{orgShort}}. Federal eagle with flag staff and lettering {{orgLong}}","open-link-in-tab":"Opens in new tab.","kolibri-logo":"KoliBri logo","table-pagination-label":"Pagination for table {{label}}","avatar-alt":"Avatar of {{name}}","split-button-dropdown-label-open":"Show options","split-button-dropdown-label-close":"Hide options","toast-close-all":"Close all","error-list":"Error list","error-list-message":"Please correct the following errors",version:"Version number","table-visible-range":"Entries {{start}} to {{end}} of {{total}}","table-selection-all":"Select all","table-selection-none":"Deselect all","table-selection-indeterminate":"Select all with partial selection","table-settings":"Table configuration","table-settings-cancel":"Cancel","table-settings-apply":"Apply","table-settings-show-column":"Show column {{column}}","table-settings-column-width":"{{column}} width","table-settings-move-up":"Move {{column}} column up","table-settings-move-down":"Move {{column}} column down","table-settings-error-all-invisible":"At least one column must be visible.","table-settings-column-not-hidable":"cannot be hidden",dropdown:"Dropdown","nav-label-open":"Submenu for {{label}} open","nav-label-close":"Submenu for {{label}} close","close-alert":"Close notification","show-password":"Show","hide-password":"Hide","no-results-message":"No results found.","delete-selection":"Delete selection","filename-text":"Choose a file or drop it here...","data-browse-text":"Browse",sort:"sort","pagination-position-top":"top","pagination-position-bottom":"bottom","character-limit-hint":"You can enter up to {{limit}} characters","character-limit-remaining":"You have {{remaining}} characters remaining.","character-limit-exceeded":"You have {{over}} characters too many.","character-counter-current":"{{current}} characters","character-counter-current-of-max":"{{current}}/{{max}} characters","character-counter-current-of-max-aria":"{{current}} of {{max}} characters",readonly:"read-only"};const Rk=e=>Object.keys(e).reduce((o,r)=>(o[`kol-${r}`]=e[r],o),{}),z5=new Set([e=>e("en",Rk(w5)),e=>e("de",Rk(x5))]),j5=function(e,o,r){return e.split(o).join(r)};class S5{constructor(o){this.resourceMap=new Map,this.language=o??"de"}addTranslations(o){Array.isArray(o)?o=new Set(o):typeof o=="function"&&(o=new Set([o])),o!==void 0&&o.forEach(r=>r((i,s)=>{let d=this.resourceMap.get(i);return d||(d=new Map,this.resourceMap.set(i,d)),Object.entries(s).forEach(([u,m])=>{m&&d.set(u,m)}),i}))}setLanguage(o){this.language=o}translate(o,r){var i;let s=(i=this.resourceMap.get(this.language))===null||i===void 0?void 0:i.get(o);return s?r?.placeholders&&Object.entries(r.placeholders).forEach(([d,u])=>{s=j5(s,`{{${d}}}`,u)}):s=o,s}}let Ts;const hO=()=>Ts,T5=(e,o=z5)=>(Ts=new S5(e),Ts.addTranslations(o),Ts);var A5={};let d0=!1,f0;const C5=async(e,o,r)=>{var i,s;const d=typeof process<"u"&&A5?"production":void 0;o0(r?.environment||d||"production"),T5((s=(i=r?.translation)===null||i===void 0?void 0:i.name)!==null&&s!==void 0?s:"de",r?.translations),r?.transformTagName&&y5(r?.transformTagName);const u=await xz(e,o,r);return d0=!0,f0=r,Cn.info("Development mode active - Enhanced debugging features available"),u},E5=()=>d0,pO=()=>f0;const dm=c0(),_O=dm("kol-alert","closer"),vO=dm("kol-alert","content"),gO=dm("kol-alert","icon");var At;(function(e){e.blur="kolBlur",e.change="kolChange",e.changePage="kolChangePage",e.changePageSize="kolChangePageSize",e.click="kolClick",e.close="kolClose",e.create="kolCreate",e.focus="kolFocus",e.input="kolInput",e.keydown="kolKeydown",e.mousedown="kolMousedown",e.reset="kolReset",e.select="kolSelect",e.selectionChange="kolSelectionChange",e.settingsChange="settingsChange",e.sort="kolSort",e.submit="kolSubmit",e.toggle="kolToggle"})(At||(At={}));function L5(e,o){return new CustomEvent(e,{bubbles:!0,cancelable:!0,composed:!0,detail:o})}function kO(e,o,r){e.dispatchEvent(L5(o,r))}class Ir{constructor(o,r){var i;this.document=o,this.options=r,this.toastContainerElement=this.document.createElement(vb),this.document.body.prepend(this.toastContainerElement),!((i=this.options)===null||i===void 0)&&i.defaultVariant&&Cn.info("ToasterService: Default variant is deprecated. Use 'card' variant for all toasts instead.")}static getInstance(o,r){if(!E5())throw new Error("Toaster: Call KoliBri bootstrap/register method first.");let i=this.instances.get(o);return i||(i=new Ir(o,r),this.instances.set(o,i)),i}dispose(){const o=this.toastContainerElement;o?(this.toastContainerElement=void 0,o.remove()):Cn.warn("Toaster service is already disposed.")}enqueue(o){if(this.toastContainerElement&&typeof this.toastContainerElement.enqueue=="function")return this.toastContainerElement.enqueue(o)}closeAll(o=!1){this.toastContainerElement&&typeof this.toastContainerElement.closeAll=="function"&&this.toastContainerElement.closeAll(o)}}Ir.instances=new Map;var fo;(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"})(fo||(fo={}));var Ke;(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"})(Ke||(Ke={}));var lr;(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"})(lr||(lr={}));const ye=new Map;ye.set(fo["Die Bundesregierung"],["Die","Bundesregierung"]);ye.set(fo["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]);ye.set(fo["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]);ye.set(fo["Auswärtiges Amt"],["Auswärtiges Amt"]);ye.set(fo["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]);ye.set(fo["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]);ye.set(fo["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]);ye.set(fo["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]);ye.set(fo["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]);ye.set(fo["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]);ye.set(fo["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]);ye.set(fo["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]);ye.set(fo["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]);ye.set(fo["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]);ye.set(fo["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]);ye.set(Ke["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]);ye.set(Ke["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]);ye.set(Ke["Bundesamt für äußere Restitutionen"],[]);ye.set(Ke["Bundesamt für Bauwesen und Raumordnung"],[]);ye.set(Ke["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]);ye.set(Ke["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]);ye.set(Ke["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]);ye.set(Ke["Bundesamt für Justiz"],["Bundesamt für","Justiz"]);ye.set(Ke["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]);ye.set(Ke["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]);ye.set(Ke["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]);ye.set(Ke["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]);ye.set(Ke["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]);ye.set(Ke["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]);ye.set(Ke["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]);ye.set(Ke["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]);ye.set(Ke["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]);ye.set(Ke.Bundesarchiv,["Das","Bundesarchiv"]);ye.set(Ke["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]);ye.set(Ke.Bundesausgleichsamt,["Bundesausgleichsamt"]);ye.set(Ke.Bundeskartellamt,["Bundeskartellamt"]);ye.set(Ke.Bundeskriminalamt,["Bundeskriminalamt"]);ye.set(Ke.Bundesnachrichtendienst,["Bundesnachrichtendienst"]);ye.set(Ke["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]);ye.set(Ke.Bundespolizeipräsidium,["Bundespolizeipräsidium"]);ye.set(Ke["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]);ye.set(Ke.Bundessortenamt,["Bundessortenamt"]);ye.set(Ke.Bundessprachenamt,["Bundessprachenamt"]);ye.set(Ke["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]);ye.set(Ke.Bundesverwaltungsamt,["Bundesverwaltungsamt"]);ye.set(Ke["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]);ye.set(Ke["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]);ye.set(Ke["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]);ye.set(Ke.Generalzolldirektion,["Generalzolldirektion"]);ye.set(Ke["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]);ye.set(Ke["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]);ye.set(lr["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]);ye.set(lr["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]);ye.set(lr["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]);ye.set(lr["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]);ye.set(lr["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]);ye.set(lr["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]);ye.set(lr["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]);const B5="modulepreload",N5=function(e){return"/"+e},Dk={},_e=function(o,r,i){let s=Promise.resolve();if(r&&r.length>0){let h=function(p){return Promise.all(p.map(v=>Promise.resolve(v).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),m=u?.nonce||u?.getAttribute("nonce");s=h(r.map(p=>{if(p=N5(p),p in Dk)return;Dk[p]=!0;const v=p.endsWith(".css"),g=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${g}`))return;const k=document.createElement("link");if(k.rel=v?"stylesheet":B5,v||(k.as="script"),k.crossOrigin="",k.href=p,m&&k.setAttribute("nonce",m),document.head.appendChild(k),v)return new Promise((S,B)=>{k.addEventListener("load",S),k.addEventListener("error",()=>B(new Error(`Unable to preload CSS for ${p}`)))})}))}function d(u){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=u,window.dispatchEvent(m),!m.defaultPrevented)throw u}return s.then(u=>{for(const m of u||[])m.status==="rejected"&&d(m.reason);return o().catch(d)})},R5="kolibri",ha={hydratedSelectorName:"hydrated",lazyLoad:!0,propChangeCallback:!0,slotRelocation:!0,state:!0,updatable:!0},yO={kolibriVersion:"3.0.8-rc.4"};var D5=Object.defineProperty,O5=(e,o)=>{for(var r in o)D5(e,r,{get:o[r],enumerable:!0})},$5="http://www.w3.org/2000/svg",M5="http://www.w3.org/1999/xhtml",u0=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(u0||{}),b0=(e=>(e.Array="array",e.Date="date",e.Map="map",e.Object="object",e.RegularExpression="regexp",e.Set="set",e.Channel="channel",e.Symbol="symbol",e))(b0||{}),Vu="type",qu="value",gb="serialized:",U5=(e,o)=>{var r;const i=o.$cmpMeta$;Object.entries((r=i.$members$)!=null?r:{}).map(([d,[u]])=>{if(u&31||u&32){const m=e[d],h=F5(Object.getPrototypeOf(e),d)||Object.getOwnPropertyDescriptor(e,d);h&&Object.defineProperty(e,d,{get(){return h.get.call(this)},set(p){h.set.call(this,p)},configurable:!0,enumerable:!0}),e[d]=o.$instanceValues$.has(d)?o.$instanceValues$.get(d):m}})};function F5(e,o){for(;e;){const r=Object.getOwnPropertyDescriptor(e,o);if(r?.get)return r;e=Object.getPrototypeOf(e)}}var Jo=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},xO=(e,o)=>{o&&(e.__stencil__getHostRef=()=>o,o.$lazyInstance$=e,o.$cmpMeta$.$flags$&512&&ha.state&&U5(e,o))},I5=(e,o)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:o,$instanceValues$:new Map,$serializerValues$:new Map};r.$onInstancePromise$=new Promise(s=>r.$onInstanceResolve$=s),r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],r.$fetchedCbList$=[];const i=r;return e.__stencil__getHostRef=()=>i,i},Ok=(e,o)=>o in e,fe=(e,o)=>(0,console.error)(e,o),Zu=new Map,H5=(e,o,r)=>{const i=e.$tagName$.replace(/-/g,"_"),s=e.$lazyBundleId$;if(!s)return;const d=Zu.get(s);if(d)return d[i];{const u=m=>(Zu.set(s,m),m[i]);switch(s){case"kol-abbr":return _e(()=>import("./kol-abbr.entry-CnCAk4Lp.js"),__vite__mapDeps([0,1])).then(u,fe);case"kol-accordion":return _e(()=>import("./kol-accordion.entry-B_WzcNEb.js"),__vite__mapDeps([2,3,4,5,6,7,1,8,9,10])).then(u,fe);case"kol-alert":return _e(()=>import("./kol-alert.entry-CvyoeFmU.js"),[]).then(u,fe);case"kol-avatar":return _e(()=>import("./kol-avatar.entry-Z4KCbeUV.js"),[]).then(u,fe);case"kol-badge":return _e(()=>import("./kol-badge.entry-BeK8ud4x.js"),__vite__mapDeps([11,12,4,5,13,6,14,15,16,17,18,19,20,21,9])).then(u,fe);case"kol-breadcrumb":return _e(()=>import("./kol-breadcrumb.entry-D3IcRmTI.js"),__vite__mapDeps([22,1,23,24])).then(u,fe);case"kol-button":return _e(()=>import("./kol-button.entry-BrbibYN0.js"),[]).then(u,fe);case"kol-button-link":return _e(()=>import("./kol-button-link.entry-bNYPPceB.js"),[]).then(u,fe);case"kol-card":return _e(()=>import("./kol-card.entry-DYNpfWcZ.js"),[]).then(u,fe);case"kol-details":return _e(()=>import("./kol-details.entry-CzKiKaVZ.js"),__vite__mapDeps([25,3,4,5,6,7,1,8,9,10])).then(u,fe);case"kol-drawer":return _e(()=>import("./kol-drawer.entry-O8h5NwLs.js"),__vite__mapDeps([26,5,27,28,1,8,29])).then(u,fe);case"kol-form":return _e(()=>import("./kol-form.entry-9w-ohtq-.js"),__vite__mapDeps([30,13,12,4,5,6])).then(u,fe);case"kol-heading":return _e(()=>import("./kol-heading.entry-jcrnwesz.js"),__vite__mapDeps([31,12,4,5,13,6,1,19,10])).then(u,fe);case"kol-icon":return _e(()=>import("./kol-icon.entry-56Z49YA9.js"),__vite__mapDeps([32,1,5])).then(u,fe);case"kol-image":return _e(()=>import("./kol-image.entry-CiD__Wrg.js"),__vite__mapDeps([33,34])).then(u,fe);case"kol-input-checkbox":return _e(()=>import("./kol-input-checkbox.entry-C4J-B5xc.js"),__vite__mapDeps([35,5,9,36,1,37,38,39,40,7,41,42,27,43,21,4,18,13,20,12,6,17,44,45,46])).then(u,fe);case"kol-input-color":return _e(()=>import("./kol-input-color.entry-B15j0O5l.js"),__vite__mapDeps([47,4,39,40,7,41,1,42,27,43,21,5,18,13,20,12,6,48,17,15,49,44,9,50,51])).then(u,fe);case"kol-input-date":return _e(()=>import("./kol-input-date.entry-qrcbo7c-.js"),__vite__mapDeps([52,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,9,46,50,53,37,51])).then(u,fe);case"kol-input-email":return _e(()=>import("./kol-input-email.entry-DsPpqmxf.js"),__vite__mapDeps([54,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,9,46,55,56,57,58,51,59,50,60,53,37])).then(u,fe);case"kol-input-file":return _e(()=>import("./kol-input-file.entry-B9dExi0D.js"),__vite__mapDeps([61,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,9,56,37])).then(u,fe);case"kol-input-number":return _e(()=>import("./kol-input-number.entry-Br864Rhe.js"),__vite__mapDeps([62,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,9,46,50,60,53,37,51])).then(u,fe);case"kol-input-password":return _e(()=>import("./kol-input-password.entry-Cc_PsVQT.js"),__vite__mapDeps([63,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,9,46,59,50,55,60,53,37])).then(u,fe);case"kol-input-radio":return _e(()=>import("./kol-input-radio.entry-BQEWolQ5.js"),__vite__mapDeps([64,5,9,46,36,1,37,38,39,40,7,41,42,27,43,21,4,18,13,20,12,6,45,44])).then(u,fe);case"kol-input-text":return _e(()=>import("./kol-input-text.entry-BDlkmPJO.js"),__vite__mapDeps([65,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,9,46,57,58,51,59,50,55,60,53,37])).then(u,fe);case"kol-kolibri":return _e(()=>import("./kol-kolibri.entry-CtVoskXw.js"),__vite__mapDeps([66,14,13])).then(u,fe);case"kol-link":return _e(()=>import("./kol-link.entry-Bq8i-Ywr.js"),[]).then(u,fe);case"kol-link-button":return _e(()=>import("./kol-link-button.entry-DlIqPVXl.js"),[]).then(u,fe);case"kol-modal":return _e(()=>import("./kol-modal.entry-CT1CODIa.js"),__vite__mapDeps([67,5,1,29])).then(u,fe);case"kol-nav":return _e(()=>import("./kol-nav.entry-5F9cmwT6.js"),__vite__mapDeps([68,41,1,5,13,9,23,24])).then(u,fe);case"kol-pagination":return _e(()=>import("./kol-pagination.entry-jXxcxhh8.js"),[]).then(u,fe);case"kol-popover-button":return _e(()=>import("./kol-popover-button.entry-C2TWabid.js"),[]).then(u,fe);case"kol-progress":return _e(()=>import("./kol-progress.entry-CZSq8-uR.js"),__vite__mapDeps([69,1])).then(u,fe);case"kol-quote":return _e(()=>import("./kol-quote.entry-n-yotzWy.js"),__vite__mapDeps([70,18,1,5])).then(u,fe);case"kol-select":return _e(()=>import("./kol-select.entry-BrpigIvL.js"),__vite__mapDeps([71,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,9,46,56,36,37,38,72])).then(u,fe);case"kol-skip-nav":return _e(()=>import("./kol-skip-nav.entry-CFaunrAD.js"),__vite__mapDeps([73,1,23,24])).then(u,fe);case"kol-spin":return _e(()=>import("./kol-spin.entry-C3m9GnYU.js"),__vite__mapDeps([74,1,75,13,5])).then(u,fe);case"kol-split-button":return _e(()=>import("./kol-split-button.entry-Z0gKqCBv.js"),__vite__mapDeps([76,5,13])).then(u,fe);case"kol-table-stateful":return _e(()=>import("./kol-table-stateful.entry-CW4jBS7c.js"),__vite__mapDeps([77,13,78,1,79])).then(u,fe);case"kol-table-stateless":return _e(()=>import("./kol-table-stateless.entry-BcRPetH4.js"),[]).then(u,fe);case"kol-tabs":return _e(()=>import("./kol-tabs.entry-DKRqkdmz.js"),__vite__mapDeps([80,27,1,5,13,79])).then(u,fe);case"kol-textarea":return _e(()=>import("./kol-textarea.entry--AbK15eU.js"),__vite__mapDeps([81,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,9,55,60,53,37,72,58])).then(u,fe);case"kol-toast-container":return _e(()=>import("./kol-toast-container.entry-DtJq9Lqt.js"),__vite__mapDeps([82,13,9,12,4,5,6,19])).then(u,fe);case"kol-toolbar":return _e(()=>import("./kol-toolbar.entry-1AtSPCza.js"),__vite__mapDeps([83,4,1,79,38])).then(u,fe);case"kol-tree":return _e(()=>import("./kol-tree.entry-BPVgcy51.js"),[]).then(u,fe);case"kol-tree-item":return _e(()=>import("./kol-tree-item.entry-cylG1wiW.js"),[]).then(u,fe);case"kol-version":return _e(()=>import("./kol-version.entry-Dn8jz-7B.js"),__vite__mapDeps([84,1,13])).then(u,fe);case"kol-alert-wc":return _e(()=>import("./kol-alert-wc.entry-DfH5MDLq.js"),__vite__mapDeps([85,12,4,5,13,6,28,1,10])).then(u,fe);case"kol-avatar-wc":return _e(()=>import("./kol-avatar-wc.entry-BvXuHk-r.js"),__vite__mapDeps([86,14,34,1,13])).then(u,fe);case"kol-button-wc":return _e(()=>import("./kol-button-wc.entry-DFu_NYiL.js"),__vite__mapDeps([87,18,40,88,89,7,41,15,1,42,27,5,12,4,13,6,16,17,19,20,21,46,43])).then(u,fe);case"kol-card-wc":return _e(()=>import("./kol-card-wc.entry-D2XQ9spC.js"),__vite__mapDeps([90,28,1,13,10,12,4,5,6,19,9])).then(u,fe);case"kol-combobox":return _e(()=>import("./kol-combobox.entry-DVRTd4Dp.js"),__vite__mapDeps([91,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,92,9,60,37,51])).then(u,fe);case"kol-input-range":return _e(()=>import("./kol-input-range.entry-CD1wAhBn.js"),__vite__mapDeps([93,4,5,39,40,7,41,1,42,27,43,21,18,13,20,12,6,48,17,15,49,44,9,46,50,51])).then(u,fe);case"kol-link-wc":return _e(()=>import("./kol-link-wc.entry-BfryI1xJ.js"),__vite__mapDeps([94,18,40,88,89,7,41,95,15,1,42,27,5,12,4,13,6,16,17,19,20,21])).then(u,fe);case"kol-pagination-wc":return _e(()=>import("./kol-pagination-wc.entry-3AE7b799.js"),__vite__mapDeps([96,89,1,42,27,13,9,23])).then(u,fe);case"kol-popover-button-wc":return _e(()=>import("./kol-popover-button-wc.entry-CMMfG5PJ.js"),__vite__mapDeps([97,98,5,27])).then(u,fe);case"kol-popover-wc":return _e(()=>import("./kol-popover-wc.entry-GxHbuJbD.js"),__vite__mapDeps([99,98,27,75,5])).then(u,fe);case"kol-single-select":return _e(()=>import("./kol-single-select.entry-YfTNHJjY.js"),__vite__mapDeps([100,5,39,40,7,41,1,42,27,43,21,4,18,13,20,12,6,48,17,15,49,44,92,9,36,37,38,60])).then(u,fe);case"kol-table-settings-wc":return _e(()=>import("./kol-table-settings-wc.entry-BeJOqmmN.js"),__vite__mapDeps([101,4,13])).then(u,fe);case"kol-table-stateless-wc":return _e(()=>import("./kol-table-stateless-wc.entry-CTWtNjhS.js"),__vite__mapDeps([102,5,13,78,1,79,9,21])).then(u,fe);case"kol-tooltip-wc":return _e(()=>import("./kol-tooltip-wc.entry-B_QdT8pY.js"),__vite__mapDeps([103,98,27,1,12,4,5,13,6,16,17,18,19,20,21,29])).then(u,fe);case"kol-tree-item-wc":return _e(()=>import("./kol-tree-item-wc.entry-DTzsO4AM.js"),__vite__mapDeps([104,5,95,1,8,9])).then(u,fe);case"kol-tree-wc":return _e(()=>import("./kol-tree-wc.entry-Bv-NQoR8.js"),__vite__mapDeps([105,1])).then(u,fe);case"test-component":return _e(()=>import("./test-component.entry-DRqfuZho.js"),[]).then(u,fe)}}return _e(()=>import(`./${s}.entry.js`),[]).then(u=>(Zu.set(s,u),u[i]),u=>{fe(u,o.$hostElement$)})},Ds=new Map,m0=[],K5="r",V5="o",kb="s",q5="t",Z5="c",$i="s-id",yb="sty-id",$k="c-id",P5="{visibility:hidden}.hydrated{visibility:inherit}",h0="slot-fb{display:contents}slot-fb[hidden]{display:none}",Mk="http://www.w3.org/1999/xlink",nn=typeof window<"u"?window:{},un={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,o,r,i)=>e.addEventListener(o,r,i),rel:(e,o,r,i)=>e.removeEventListener(o,r,i),ce:(e,o)=>new CustomEvent(e,o)},G5=(()=>{var e;let o=!1;try{(e=nn.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){o=!0}}))}catch{}return o})(),Y5=e=>Promise.resolve(e),fm=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),xb=fm?!!nn.document&&Object.getOwnPropertyDescriptor(nn.document.adoptedStyleSheets,"length").writable:!1,p0=e=>Y5().then(e),um=e=>(e=typeof e,e==="object"||e==="function");function _0(e){var o,r,i;return(i=(r=(o=e.head)==null?void 0:o.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?i:void 0}var X5=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Q5=class da{static fromLocalValue(o){const r=o[Vu],i=qu in o?o[qu]:void 0;switch(r){case"string":return i;case"boolean":return i;case"bigint":return BigInt(i);case"undefined":return;case"null":return null;case"number":return i==="NaN"?NaN:i==="-0"?-0:i==="Infinity"?1/0:i==="-Infinity"?-1/0:i;case"array":return i.map(p=>da.fromLocalValue(p));case"date":return new Date(i);case"map":const s=new Map;for(const[p,v]of i){const g=typeof p=="object"&&p!==null?da.fromLocalValue(p):p,k=da.fromLocalValue(v);s.set(g,k)}return s;case"object":const d={};for(const[p,v]of i)d[p]=da.fromLocalValue(v);return d;case"regexp":const{pattern:u,flags:m}=i;return new RegExp(u,m);case"set":const h=new Set;for(const p of i)h.add(da.fromLocalValue(p));return h;case"symbol":return Symbol(i);default:throw new Error(`Unsupported type: ${r}`)}}static fromLocalValueArray(o){return o.map(r=>da.fromLocalValue(r))}static isLocalValueObject(o){if(typeof o!="object"||o===null||!o.hasOwnProperty(Vu))return!1;const r=o[Vu];return Object.values({...u0,...b0}).includes(r)?r!=="null"&&r!=="undefined"?o.hasOwnProperty(qu):!0:!1}},J5={};O5(J5,{err:()=>v0,map:()=>W5,ok:()=>wb,unwrap:()=>e3,unwrapErr:()=>n3});var wb=e=>({isOk:!0,isErr:!1,value:e}),v0=e=>({isOk:!1,isErr:!0,value:e});function W5(e,o){if(e.isOk){const r=o(e.value);return r instanceof Promise?r.then(i=>wb(i)):wb(r)}if(e.isErr){const r=e.value;return v0(r)}throw"should never get here"}var e3=e=>{if(e.isOk)return e.value;throw e.value},n3=e=>{if(e.isErr)return e.value;throw e.value};function o3(e){return typeof e!="string"||!e.startsWith(gb)?e:Q5.fromLocalValue(JSON.parse(atob(e.slice(gb.length))))}var wi;function t3(e){var o;const r=this.attachShadow({mode:"open"});wi===void 0&&(wi=(o=void 0)!=null?o:null),wi&&(xb?r.adoptedStyleSheets.push(wi):r.adoptedStyleSheets=[...r.adoptedStyleSheets,wi])}var g0=e=>{const o=$r(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&k0(o,e.tagName).forEach(i=>{i.nodeType===1&&i.tagName==="SLOT-FB"&&(a3(i,bm(i),!1).length?i.hidden=!0:i.hidden=!1)});let r=0;for(r=0;r<o.length;r++){const i=o[r];i.nodeType===1&&$r(i,"childNodes").length&&g0(i)}},r3=e=>{const o=[];for(let r=0;r<e.length;r++){const i=e[r]["s-nr"]||void 0;i&&i.isConnected&&o.push(i)}return o};function k0(e,o,r){let i=0,s=[],d;for(;i<e.length;i++)d=e[i],d["s-sr"]&&(!o||d["s-hn"]===o)&&r===void 0&&s.push(d),s=[...s,...k0(d.childNodes,o,r)];return s}var a3=(e,o,r=!0)=>{const i=[];(r&&e["s-sr"]||!e["s-sr"])&&i.push(e);let s=e;for(;s=s.nextSibling;)bm(s)===o&&(r||!s["s-sr"])&&i.push(s);return i},Uk=(e,o)=>e.nodeType===1?e.getAttribute("slot")===null&&o===""||e.getAttribute("slot")===o:e["s-sn"]===o?!0:o==="",l3=(e,o,r,i)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=e,!o["s-cr"]||!o["s-cr"].parentNode)return;const d=o["s-cr"].parentNode,u=$r(d,"appendChild");if(typeof i<"u"){s["s-oo"]=i;const m=$r(d,"childNodes"),h=[s];m.forEach(p=>{p["s-nr"]&&h.push(p)}),h.sort((p,v)=>!p["s-oo"]||p["s-oo"]<(v["s-oo"]||0)?-1:!v["s-oo"]||v["s-oo"]<p["s-oo"]?1:0),h.forEach(p=>u.call(d,p))}else u.call(d,s);e["s-ol"]=s,e["s-sh"]=o["s-hn"]},bm=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function y0(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const o=r=>(function(i){const s=[],d=this["s-sn"];i?.flatten&&console.error(`
28
28
  Flattening is not supported for Stencil non-shadow slots.
29
29
  You can use \`.childNodes\` to nested slot fallback content.
30
30
  If you have a particular use case, please open an issue on the Stencil repo.
31
- `);const u=this["s-cr"].parentElement;return(u.__childNodes?u.childNodes:r3(u.childNodes)).forEach(h=>{d===bm(h)&&s.push(h)}),r?s.filter(h=>h.nodeType===1):s}).bind(e);e.assignedElements=o(!0),e.assignedNodes=o(!1)}function $r(e,o){if("__"+o in e){const r=e["__"+o];return typeof r!="function"?r:r.bind(e)}else return typeof e[o]!="function"?e[o]:e[o].bind(e)}var Ct=(e,o="")=>()=>{},i3=(e,o)=>()=>{},_l=new WeakMap,x0=(e,o,r)=>{let i=Ds.get(e);fm&&r?(i=i||new CSSStyleSheet,typeof i=="string"?i=o:i.replaceSync(o)):i=o,Ds.set(e,i)},w0=(e,o,r)=>{var i;const s=mm(o,r),d=Ds.get(s);if(!nn.document)return s;if(e=e.nodeType===11?e:nn.document,d)if(typeof d=="string"){e=e.head||e;let u=_l.get(e),m;if(u||_l.set(e,u=new Set),!u.has(s)){if(e.host&&(m=e.querySelector(`[${yb}="${s}"]`)))m.innerHTML=d;else{m=nn.document.createElement("style"),m.innerHTML=d;const h=(i=un.$nonce$)!=null?i:_0(nn.document);if(h!=null&&m.setAttribute("nonce",h),!(o.$flags$&1))if(e.nodeName==="HEAD"){const p=e.querySelectorAll("link[rel=preconnect]"),v=p.length>0?p[p.length-1].nextSibling:e.querySelector("style");e.insertBefore(m,v?.parentNode===e?v:null)}else if("host"in e)if(fm){const p=new CSSStyleSheet;p.replaceSync(d),xb?e.adoptedStyleSheets.unshift(p):e.adoptedStyleSheets=[p,...e.adoptedStyleSheets]}else{const p=e.querySelector("style");p?p.innerHTML=d+p.innerHTML:e.prepend(m)}else e.append(m);o.$flags$&1&&e.insertBefore(m,null)}o.$flags$&4&&(m.innerHTML+=h0),u&&u.add(s)}}else e.adoptedStyleSheets.includes(d)||(xb?e.adoptedStyleSheets.push(d):e.adoptedStyleSheets=[...e.adoptedStyleSheets,d]);return s},c3=e=>{const o=e.$cmpMeta$,r=e.$hostElement$,i=o.$flags$,s=Ct("attachStyles",o.$tagName$),d=w0(r.shadowRoot?r.shadowRoot:r.getRootNode(),o,e.$modeName$);i&10&&(r["s-sc"]=d,r.classList.add(d+"-h")),s()},mm=(e,o)=>"sc-"+(o&&e.$flags$&32?e.$tagName$+"-"+o:e.$tagName$),s3=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),d3=()=>{if(!nn.document)return;const e=nn.document.querySelectorAll(`[${yb}]`);let o=0;for(;o<e.length;o++)x0(e[o].getAttribute(yb),s3(e[o].innerHTML),!0)},z0=(e,o,...r)=>{let i=null,s=null,d=null,u=!1,m=!1;const h=[],p=g=>{for(let k=0;k<g.length;k++)i=g[k],Array.isArray(i)?p(i):i!=null&&typeof i!="boolean"&&((u=typeof e!="function"&&!um(i))&&(i=String(i)),u&&m?h[h.length-1].$text$+=i:h.push(u?wl(null,i):i),m=u)};if(p(r),o){o.key&&(s=o.key),o.name&&(d=o.name);{const g=o.className||o.class;g&&(o.class=typeof g!="object"?g:Object.keys(g).filter(k=>g[k]).join(" "))}}if(typeof e=="function")return e(o===null?{}:o,h,b3);const v=wl(e,null);return v.$attrs$=o,h.length>0&&(v.$children$=h),v.$key$=s,v.$name$=d,v},wl=(e,o)=>{const r={$flags$:0,$tag$:e,$text$:o,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r.$name$=null,r},f3={},u3=e=>e&&e.$tag$===f3,b3={forEach:(e,o)=>e.map(Fk).forEach(o),map:(e,o)=>e.map(Fk).map(o).map(m3)},Fk=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),m3=e=>{if(typeof e.vtag=="function"){const r={...e.vattrs};return e.vkey&&(r.key=e.vkey),e.vname&&(r.name=e.vname),z0(e.vtag,r,...e.vchildren||[])}const o=wl(e.vtag,e.vtext);return o.$attrs$=e.vattrs,o.$children$=e.vchildren,o.$key$=e.vkey,o.$name$=e.vname,o},h3=(e,o,r,i)=>{var s,d;const u=Ct("hydrateClient",o),m=e.shadowRoot,h=[],p=[],v=[],g=m?[]:null,k=wl(o,null);k.$elm$=e,nn.document&&(!un.$orgLocNodes$||!un.$orgLocNodes$.size)&&jb(nn.document.body,un.$orgLocNodes$=new Map),e[$i]=r,e.removeAttribute($i),i.$vnode$=zb(k,h,p,g,e,e,r,v);let S=0;const B=h.length;let T;for(S;S<B;S++){T=h[S];const Z=T.$hostId$+"."+T.$nodeId$,te=un.$orgLocNodes$.get(Z),le=T.$elm$;if(!m)le["s-hn"]=o.toUpperCase(),T.$tag$==="slot"&&(le["s-cr"]=e["s-cr"]);else if((s=T.$tag$)!=null&&s.toString().includes("-")&&T.$tag$!=="slot-fb"&&!T.$elm$.shadowRoot){const Me=Jo(T.$elm$);if(Me){const ae=mm(Me.$cmpMeta$,T.$elm$.getAttribute("s-mode")),re=nn.document.querySelector(`style[sty-id="${ae}"]`);re&&e.shadowRoot.append(re.cloneNode(!0))}}T.$tag$==="slot"&&(T.$name$=T.$elm$["s-sn"]||T.$elm$.name||null,T.$children$?(T.$flags$|=2,T.$elm$.childNodes.length||T.$children$.forEach(Me=>{T.$elm$.appendChild(Me.$elm$)})):T.$flags$|=1),te&&te.isConnected&&(te.parentElement.shadowRoot&&te["s-en"]===""&&te.parentNode.insertBefore(le,te.nextSibling),te.parentNode.removeChild(te),m||(le["s-oo"]=parseInt(T.$nodeId$))),te&&!te["s-id"]&&un.$orgLocNodes$.delete(Z)}const N=[],E=v.length;let y=0,w,R,M,H;for(y;y<E;y++)if(w=v[y],!(!w||!w.length))for(M=w.length,R=0,R;R<M;R++){if(H=w[R],N[H.hostId]||(N[H.hostId]=un.$orgLocNodes$.get(H.hostId)),!N[H.hostId])continue;const Z=N[H.hostId];Z.shadowRoot&&H.node.parentElement!==Z&&Z.appendChild(H.node),(!Z.shadowRoot||!m)&&(H.slot["s-cr"]||(H.slot["s-cr"]=Z["s-cr"],!H.slot["s-cr"]&&Z.shadowRoot?H.slot["s-cr"]=Z:H.slot["s-cr"]=(Z.__childNodes||Z.childNodes)[0]),l3(H.node,H.slot,!1,H.node["s-oo"]),(d=H.node.parentElement)!=null&&d.shadowRoot&&H.node.getAttribute&&H.node.getAttribute("slot")&&H.node.removeAttribute("slot"))}if(m){let Z=0;const te=g.length;if(te){for(Z;Z<te;Z++){const le=g[Z];le&&m.appendChild(le)}Array.from(e.childNodes).forEach(le=>{typeof le["s-en"]!="string"&&typeof le["s-sn"]!="string"&&(le.nodeType===1&&le.slot&&le.hidden?le.removeAttribute("hidden"):(le.nodeType===8&&!le.nodeValue||le.nodeType===3&&!le.wholeText.trim())&&le.parentNode.removeChild(le))})}}i.$hostElement$=e,u()},zb=(e,o,r,i,s,d,u,m=[])=>{let h,p,v,g;if(d.nodeType===1){if(h=d.getAttribute($k),h&&(p=h.split("."),p[0]===u||p[0]==="0")){v=Ik({$flags$:0,$hostId$:p[0],$nodeId$:p[1],$depth$:p[2],$index$:p[3],$tag$:d.tagName.toLowerCase(),$elm$:d,$attrs$:{class:d.className||""}}),o.push(v),d.removeAttribute($k),e.$children$||(e.$children$=[]);const S=v.$elm$.getAttribute("s-sn");typeof S=="string"&&(v.$tag$==="slot-fb"&&Hk(S,p[2],v,d,e,o,r,i,m),v.$elm$["s-sn"]=S,v.$elm$.removeAttribute("s-sn")),v.$index$!==void 0&&(e.$children$[v.$index$]=v),e=v,i&&v.$depth$==="0"&&(i[v.$index$]=v.$elm$)}if(d.shadowRoot)for(g=d.shadowRoot.childNodes.length-1;g>=0;g--)zb(e,o,r,i,s,d.shadowRoot.childNodes[g],u,m);const k=d.__childNodes||d.childNodes;for(g=k.length-1;g>=0;g--)zb(e,o,r,i,s,k[g],u,m)}else if(d.nodeType===8){if(p=d.nodeValue.split("."),p[1]===u||p[1]==="0"){if(h=p[0],v=Ik({$hostId$:p[1],$nodeId$:p[2],$depth$:p[3],$index$:p[4]||"0",$elm$:d,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null}),h===q5)v.$elm$=Vk(d,3),v.$elm$&&v.$elm$.nodeType===3&&(v.$text$=v.$elm$.textContent,o.push(v),d.remove(),u===v.$hostId$&&(e.$children$||(e.$children$=[]),e.$children$[v.$index$]=v),i&&v.$depth$==="0"&&(i[v.$index$]=v.$elm$));else if(h===Z5)v.$elm$=Vk(d,8),v.$elm$&&v.$elm$.nodeType===8&&(o.push(v),d.remove());else if(v.$hostId$===u)if(h===kb){const k=d["s-sn"]=p[5]||"";Hk(k,p[2],v,d,e,o,r,i,m)}else h===K5&&(i?d.remove():(s["s-cr"]=d,d["s-cn"]=!0))}}else if(e&&e.$tag$==="style"){const k=wl(null,d.textContent);k.$elm$=d,k.$index$="0",e.$children$=[k]}else d.nodeType===3&&!d.wholeText.trim()&&!d["s-nr"]&&d.remove();return e},jb=(e,o)=>{if(e.nodeType===1){const r=e[$i]||e.getAttribute($i);r&&o.set(r,e);let i=0;if(e.shadowRoot)for(;i<e.shadowRoot.childNodes.length;i++)jb(e.shadowRoot.childNodes[i],o);const s=e.__childNodes||e.childNodes;for(i=0;i<s.length;i++)jb(s[i],o)}else if(e.nodeType===8){const r=e.nodeValue.split(".");r[0]===V5&&(o.set(r[1]+"."+r[2],e),e.nodeValue="",e["s-en"]=r[3])}},Ik=e=>({...{$flags$:0,$hostId$:null,$nodeId$:null,$depth$:null,$index$:"0",$elm$:null,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},...e});function Hk(e,o,r,i,s,d,u,m,h){i["s-sr"]=!0,r.$name$=e||null,r.$tag$="slot";const p=s?.$elm$?s.$elm$["s-id"]||s.$elm$.getAttribute("s-id"):"";if(m&&nn.document){const v=r.$elm$=nn.document.createElement(r.$tag$);r.$name$&&r.$elm$.setAttribute("name",e),s.$elm$.shadowRoot&&p&&p!==r.$hostId$?$r(s.$elm$,"insertBefore")(v,$r(s.$elm$,"children")[0]):$r($r(i,"parentNode"),"insertBefore")(v,i),Kk(h,o,e,i,r.$hostId$),i.remove(),r.$depth$==="0"&&(m[r.$index$]=r.$elm$)}else{const v=r.$elm$,g=p&&p!==r.$hostId$&&s.$elm$.shadowRoot;Kk(h,o,e,i,g?p:r.$hostId$),y0(i),g&&s.$elm$.insertBefore(v,s.$elm$.children[0])}d.push(r),u.push(r),s.$children$||(s.$children$=[]),s.$children$[r.$index$]=r}var Kk=(e,o,r,i,s)=>{var d,u;let m=i.nextSibling;if(e[o]=e[o]||[],!(!m||(d=m.nodeValue)!=null&&d.startsWith(kb+".")))do m&&((m.getAttribute&&m.getAttribute("slot")||m["s-sn"])===r||r===""&&!m["s-sn"]&&(!m.getAttribute||!m.getAttribute("slot"))&&(m.nodeType===8||m.nodeType===3))&&(m["s-sn"]=r,e[o].push({slot:i,node:m,hostId:s})),m=m?.nextSibling;while(m&&!((u=m.nodeValue)!=null&&u.startsWith(kb+".")))},Vk=(e,o)=>{let r=e;do r=r.nextSibling;while(r&&(r.nodeType!==o||!r.nodeValue));return r},hm=e=>{const o=X5(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${o}))(${o}\\b)`,"g")};hm("::slotted");hm(":host");hm(":host-context");var p3=e=>m0.map(o=>o(e)).find(o=>!!o),_3=e=>m0.push(e),Sb=(e,o,r)=>typeof e=="string"&&e.startsWith(gb)?(e=o3(e),e):e!=null&&!um(e)?o&4?e==="false"?!1:e===""||!!e:o&2?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:o&1?String(e):e:e,wO=e=>{var o;return(o=Jo(e))==null?void 0:o.$hostElement$},v3=(e,o,r)=>{const i=un.ce(o,r);return e.dispatchEvent(i),i},qk=(e,o,r,i,s,d,u)=>{if(r===i)return;let m=Ok(e,o),h=o.toLowerCase();if(o==="class"){const p=e.classList,v=Zk(r);let g=Zk(i);if((e["s-si"]||e["s-sc"])&&u){const k=e["s-sc"]||e["s-si"];g.push(k),v.forEach(S=>{S.startsWith(k)&&g.push(S)}),g=[...new Set(g)].filter(S=>S),p.add(...g)}else p.remove(...v.filter(k=>k&&!g.includes(k))),p.add(...g.filter(k=>k&&!v.includes(k)))}else if(o==="style"){for(const p in r)(!i||i[p]==null)&&(p.includes("-")?e.style.removeProperty(p):e.style[p]="");for(const p in i)(!r||i[p]!==r[p])&&(p.includes("-")?e.style.setProperty(p,i[p]):e.style[p]=i[p])}else if(o!=="key")if(o==="ref")i&&i(e);else if(!m&&o[0]==="o"&&o[1]==="n"){if(o[2]==="-"?o=o.slice(3):Ok(nn,h)?o=h.slice(2):o=h[2]+o.slice(3),r||i){const p=o.endsWith(j0);o=o.replace(k3,""),r&&un.rel(e,o,r,p),i&&un.ael(e,o,i,p)}}else{const p=um(i);if((m||p&&i!==null)&&!s)try{if(e.tagName.includes("-"))e[o]!==i&&(e[o]=i);else{const g=i??"";o==="list"?m=!1:(r==null||e[o]!=g)&&(typeof e.__lookupSetter__(o)=="function"?e[o]=g:e.setAttribute(o,g))}}catch{}let v=!1;h!==(h=h.replace(/^xlink\:?/,""))&&(o=h,v=!0),i==null||i===!1?(i!==!1||e.getAttribute(o)==="")&&(v?e.removeAttributeNS(Mk,o):e.removeAttribute(o)):(!m||d&4||s)&&!p&&e.nodeType===1&&(i=i===!0?"":i,v?e.setAttributeNS(Mk,o,i):e.setAttribute(o,i))}},g3=/\s/,Zk=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),!e||typeof e!="string"?[]:e.split(g3)),j0="Capture",k3=new RegExp(j0+"$"),Tb=(e,o,r,i)=>{const s=o.$elm$.nodeType===11&&o.$elm$.host?o.$elm$.host:o.$elm$,d=e&&e.$attrs$||{},u=o.$attrs$||{};for(const m of Pk(Object.keys(d)))m in u||qk(s,m,d[m],void 0,r,o.$flags$,i);for(const m of Pk(Object.keys(u)))qk(s,m,d[m],u[m],r,o.$flags$,i)};function Pk(e){return e.includes("ref")?[...e.filter(o=>o!=="ref"),"ref"]:e}var Ab,Js,Cb=!1,Os=!1,pm=!1,Ro=!1,$s=(e,o,r)=>{var i;const s=o.$children$[r];let d=0,u,m,h;if(Cb||(pm=!0,s.$tag$==="slot"&&(s.$flags$|=s.$children$?2:1)),s.$text$!==null)u=s.$elm$=nn.document.createTextNode(s.$text$);else if(s.$flags$&1)u=s.$elm$=nn.document.createTextNode(""),Tb(null,s,Ro);else{if(Ro||(Ro=s.$tag$==="svg"),!nn.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(u=s.$elm$=nn.document.createElementNS(Ro?$5:M5,!Cb&&ha.slotRelocation&&s.$flags$&2?"slot-fb":s.$tag$),Ro&&s.$tag$==="foreignObject"&&(Ro=!1),Tb(null,s,Ro),s.$children$)for(d=0;d<s.$children$.length;++d)m=$s(e,s,d),m&&u.appendChild(m);s.$tag$==="svg"?Ro=!1:u.tagName==="foreignObject"&&(Ro=!0)}return u["s-hn"]=Js,s.$flags$&3&&(u["s-sr"]=!0,u["s-cr"]=Ab,u["s-sn"]=s.$name$||"",u["s-rf"]=(i=s.$attrs$)==null?void 0:i.ref,y0(u),h=e&&e.$children$&&e.$children$[r],h&&h.$tag$===s.$tag$&&e.$elm$&&Mi(e.$elm$,!1)),u},Mi=(e,o)=>{un.$flags$|=1;const r=Array.from(e.__childNodes||e.childNodes);for(let i=r.length-1;i>=0;i--){const s=r[i];s["s-hn"]!==Js&&s["s-ol"]&&(Mr(Ui(s).parentNode,s,Ui(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,pm=!0),o&&Mi(s,o)}un.$flags$&=-2},S0=(e,o,r,i,s,d)=>{let u=e["s-cr"]&&e["s-cr"].parentNode||e,m;for(u.shadowRoot&&u.tagName===Js&&(u=u.shadowRoot);s<=d;++s)i[s]&&(m=$s(null,r,s),m&&(i[s].$elm$=m,Mr(u,m,Ui(o))))},T0=(e,o,r)=>{for(let i=o;i<=r;++i){const s=e[i];if(s){const d=s.$elm$;C0(s),d&&(Os=!0,d["s-ol"]?d["s-ol"].remove():Mi(d,!0),d.remove())}}},y3=(e,o,r,i,s=!1)=>{let d=0,u=0,m=0,h=0,p=o.length-1,v=o[0],g=o[p],k=i.length-1,S=i[0],B=i[k],T,N;for(;d<=p&&u<=k;)if(v==null)v=o[++d];else if(g==null)g=o[--p];else if(S==null)S=i[++u];else if(B==null)B=i[--k];else if(us(v,S,s))ml(v,S,s),v=o[++d],S=i[++u];else if(us(g,B,s))ml(g,B,s),g=o[--p],B=i[--k];else if(us(v,B,s))(v.$tag$==="slot"||B.$tag$==="slot")&&Mi(v.$elm$.parentNode,!1),ml(v,B,s),Mr(e,v.$elm$,g.$elm$.nextSibling),v=o[++d],B=i[--k];else if(us(g,S,s))(v.$tag$==="slot"||B.$tag$==="slot")&&Mi(g.$elm$.parentNode,!1),ml(g,S,s),Mr(e,g.$elm$,v.$elm$),g=o[--p],S=i[++u];else{for(m=-1,h=d;h<=p;++h)if(o[h]&&o[h].$key$!==null&&o[h].$key$===S.$key$){m=h;break}m>=0?(N=o[m],N.$tag$!==S.$tag$?T=$s(o&&o[u],r,m):(ml(N,S,s),o[m]=void 0,T=N.$elm$),S=i[++u]):(T=$s(o&&o[u],r,u),S=i[++u]),T&&Mr(Ui(v.$elm$).parentNode,T,Ui(v.$elm$))}d>p?S0(e,i[k+1]==null?null:i[k+1].$elm$,r,i,u,k):u>k&&T0(o,d,p)},us=(e,o,r=!1)=>e.$tag$===o.$tag$?e.$tag$==="slot"?e.$name$===o.$name$:r?(r&&!e.$key$&&o.$key$&&(e.$key$=o.$key$),!0):e.$key$===o.$key$:!1,Ui=e=>e&&e["s-ol"]||e,ml=(e,o,r=!1)=>{const i=o.$elm$=e.$elm$,s=e.$children$,d=o.$children$,u=o.$tag$,m=o.$text$;let h;m===null?(Ro=u==="svg"?!0:u==="foreignObject"?!1:Ro,Tb(e,o,Ro,r),s!==null&&d!==null?y3(i,s,o,d,r):d!==null?(e.$text$!==null&&(i.textContent=""),S0(i,null,o,d,0,d.length-1)):!r&&ha.updatable&&s!==null?T0(s,0,s.length-1):r&&ha.updatable&&s!==null&&d===null&&(o.$children$=s),Ro&&u==="svg"&&(Ro=!1)):(h=i["s-cr"])?h.parentNode.textContent=m:e.$text$!==m&&(i.data=m)},Wt=[],A0=e=>{let o,r,i;const s=e.__childNodes||e.childNodes;for(const d of s){if(d["s-sr"]&&(o=d["s-cr"])&&o.parentNode){r=o.parentNode.__childNodes||o.parentNode.childNodes;const u=d["s-sn"];for(i=r.length-1;i>=0;i--)if(o=r[i],!o["s-cn"]&&!o["s-nr"]&&o["s-hn"]!==d["s-hn"])if(Uk(o,u)){let m=Wt.find(h=>h.$nodeToRelocate$===o);Os=!0,o["s-sn"]=o["s-sn"]||u,m?(m.$nodeToRelocate$["s-sh"]=d["s-hn"],m.$slotRefNode$=d):(o["s-sh"]=d["s-hn"],Wt.push({$slotRefNode$:d,$nodeToRelocate$:o})),o["s-sr"]&&Wt.map(h=>{Uk(h.$nodeToRelocate$,o["s-sn"])&&(m=Wt.find(p=>p.$nodeToRelocate$===o),m&&!h.$slotRefNode$&&(h.$slotRefNode$=m.$slotRefNode$))})}else Wt.some(m=>m.$nodeToRelocate$===o)||Wt.push({$nodeToRelocate$:o})}d.nodeType===1&&A0(d)}},C0=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(C0)},Mr=(e,o,r)=>e?.insertBefore(o,r),x3=(e,o,r=!1)=>{var i,s,d,u;const m=e.$hostElement$,h=e.$cmpMeta$,p=e.$vnode$||wl(null,null),g=u3(o)?o:z0(null,null,o);if(Js=m.tagName,h.$attrsToReflect$&&(g.$attrs$=g.$attrs$||{},h.$attrsToReflect$.forEach(([k,S])=>{g.$attrs$[S]=m[k]})),r&&g.$attrs$)for(const k of Object.keys(g.$attrs$))m.hasAttribute(k)&&!["key","ref","style","class"].includes(k)&&(g.$attrs$[k]=m[k]);g.$tag$=null,g.$flags$|=4,e.$vnode$=g,g.$elm$=p.$elm$=m.shadowRoot||m,Cb=!!(h.$flags$&1)&&!(h.$flags$&128),Ab=m["s-cr"],Os=!1,ml(p,g,r);{if(un.$flags$|=1,pm){A0(g.$elm$);for(const k of Wt){const S=k.$nodeToRelocate$;if(!S["s-ol"]&&nn.document){const B=nn.document.createTextNode("");B["s-nr"]=S,Mr(S.parentNode,S["s-ol"]=B,S)}}for(const k of Wt){const S=k.$nodeToRelocate$,B=k.$slotRefNode$;if(B){const T=B.parentNode;let N=B.nextSibling;{let w=(i=S["s-ol"])==null?void 0:i.previousSibling;for(;w;){let R=(s=w["s-nr"])!=null?s:null;if(R&&R["s-sn"]===S["s-sn"]&&T===(R.__parentNode||R.parentNode)){for(R=R.nextSibling;R===S||R?.["s-sr"];)R=R?.nextSibling;if(!R||!R["s-nr"]){N=R;break}}w=w.previousSibling}}const E=S.__parentNode||S.parentNode,y=S.__nextSibling||S.nextSibling;(!N&&T!==E||y!==N)&&S!==N&&(!S["s-hn"]&&S["s-ol"]&&(S["s-hn"]=S["s-ol"].parentNode.nodeName),Mr(T,S,N),S.nodeType===1&&S.tagName!=="SLOT-FB"&&(S.hidden=(d=S["s-ih"])!=null?d:!1)),S&&typeof B["s-rf"]=="function"&&B["s-rf"](B)}else S.nodeType===1&&(r&&(S["s-ih"]=(u=S.hidden)!=null?u:!1),S.hidden=!0)}}Os&&g0(g.$elm$),un.$flags$&=-2,Wt.length=0}Ab=void 0},E0=(e,o)=>{if(o&&!e.$onRenderResolve$&&o["s-p"]){const r=o["s-p"].push(new Promise(i=>e.$onRenderResolve$=()=>{o["s-p"].splice(r-1,1),i()}))}},_m=(e,o)=>{if(e.$flags$&4){e.$flags$|=512;return}E0(e,e.$ancestorComponent$);const r=()=>w3(e,o);if(o){queueMicrotask(()=>{r()});return}return r()},w3=(e,o)=>{const r=e.$hostElement$,i=Ct("scheduleUpdate",e.$cmpMeta$.$tagName$),s=e.$lazyInstance$;if(!s)throw new Error(`Can't render component <${r.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 o?(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([u,m])=>nr(s,u,m,r)),e.$queuedListeners$=void 0),e.$fetchedCbList$.length&&e.$fetchedCbList$.forEach(u=>u(r)),d=nr(s,"componentWillLoad",void 0,r)):d=nr(s,"componentWillUpdate",void 0,r),d=Gk(d,()=>nr(s,"componentWillRender",void 0,r)),i(),Gk(d,()=>j3(e,s,o))},Gk=(e,o)=>z3(e)?e.then(o).catch(r=>{console.error(r),o()}):o(),z3=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",j3=async(e,o,r)=>{var i;const s=e.$hostElement$,d=Ct("update",e.$cmpMeta$.$tagName$),u=s["s-rc"];r&&c3(e);const m=Ct("render",e.$cmpMeta$.$tagName$);S3(e,o,s,r),u&&(u.map(h=>h()),s["s-rc"]=void 0),m(),d();{const h=(i=s["s-p"])!=null?i:[],p=()=>T3(e);h.length===0?p():(Promise.all(h).then(p),e.$flags$|=4,h.length=0)}},S3=(e,o,r,i)=>{try{o=o.render&&o.render(),e.$flags$|=2,x3(e,o,i)}catch(s){fe(s,e.$hostElement$)}return null},T3=e=>{const o=e.$cmpMeta$.$tagName$,r=e.$hostElement$,i=Ct("postUpdate",o),s=e.$lazyInstance$,d=e.$ancestorComponent$;nr(s,"componentDidRender",void 0,r),e.$flags$&64?(nr(s,"componentDidUpdate",void 0,r),i()):(e.$flags$|=64,A3(r),nr(s,"componentDidLoad",void 0,r),i(),e.$onReadyResolve$(r),d||L0()),e.$onInstanceResolve$(r),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&p0(()=>_m(e,!1)),e.$flags$&=-517},L0=e=>{var o;p0(()=>v3(nn,"appload",{detail:{namespace:R5}})),(o=un.$orgLocNodes$)!=null&&o.size&&un.$orgLocNodes$.clear()},nr=(e,o,r,i)=>{if(e&&e[o])try{return e[o](r)}catch(s){fe(s,i)}},A3=e=>{var o;return e.classList.add((o=ha.hydratedSelectorName)!=null?o:"hydrated")},C3=(e,o)=>Jo(e).$instanceValues$.get(o),Pu=(e,o,r,i)=>{const s=Jo(e);if(!s)return;if(!s)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/stenciljs/core/issues/5457).`);const d=s.$hostElement$,u=s.$instanceValues$.get(o),m=s.$flags$,h=s.$lazyInstance$;r=Sb(r,i.$members$[o][0]);const p=Number.isNaN(u)&&Number.isNaN(r),v=r!==u&&!p;if((!(m&8)||u===void 0)&&v&&(s.$instanceValues$.set(o,r),h)){if(i.$watchers$&&m&128){const g=i.$watchers$[o];g&&g.map(k=>{try{h[k](r,u,o)}catch(S){fe(S,d)}})}if((m&18)===2){if(h.componentShouldUpdate&&h.componentShouldUpdate(r,u,o)===!1)return;_m(s,!1)}}},B0=(e,o,r)=>{var i,s;const d=e.prototype;if(o.$members$||ha.propChangeCallback){e.watchers&&!o.$watchers$&&(o.$watchers$=e.watchers),e.deserializers&&!o.$deserializers$&&(o.$deserializers$=e.deserializers),e.serializers&&!o.$serializers$&&(o.$serializers$=e.serializers);const u=Object.entries((i=o.$members$)!=null?i:{});if(u.map(([m,[h]])=>{if(h&31||r&2&&h&32){const{get:p,set:v}=Object.getOwnPropertyDescriptor(d,m)||{};p&&(o.$members$[m][0]|=2048),v&&(o.$members$[m][0]|=4096),(r&1||!p)&&Object.defineProperty(d,m,{get(){{if((o.$members$[m][0]&2048)===0)return C3(this,m);const g=Jo(this),k=g?g.$lazyInstance$:d;return k?k[m]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(d,m,{set(g){const k=Jo(this);if(k){if(v){typeof(h&32?this[m]:k.$hostElement$[m])>"u"&&k.$instanceValues$.get(m)&&(g=k.$instanceValues$.get(m)),v.apply(this,[Sb(g,h)]),g=h&32?this[m]:k.$hostElement$[m],Pu(this,m,g,o);return}{if((r&1)===0||(o.$members$[m][0]&4096)===0){Pu(this,m,g,o),r&1&&!k.$lazyInstance$&&k.$fetchedCbList$.push(()=>{o.$members$[m][0]&4096&&k.$lazyInstance$[m]!==k.$instanceValues$.get(m)&&(k.$lazyInstance$[m]=g)});return}const S=()=>{const B=k.$lazyInstance$[m];!k.$instanceValues$.get(m)&&B&&k.$instanceValues$.set(m,B),k.$lazyInstance$[m]=Sb(g,h),Pu(this,m,k.$lazyInstance$[m],o)};k.$lazyInstance$?S():k.$fetchedCbList$.push(()=>{S()})}}}})}else r&1&&h&64&&Object.defineProperty(d,m,{value(...p){var v;const g=Jo(this);return(v=g?.$onInstancePromise$)==null?void 0:v.then(()=>{var k;return(k=g.$lazyInstance$)==null?void 0:k[m](...p)})}})}),r&1){const m=new Map;d.attributeChangedCallback=function(h,p,v){un.jmp(()=>{var g;const k=m.get(h),S=Jo(this);if(this.hasOwnProperty(k)&&ha.lazyLoad&&(v=this[k],delete this[k]),d.hasOwnProperty(k)&&typeof this[k]=="number"&&this[k]==v)return;if(k==null){const N=S?.$flags$;if(S&&N&&!(N&8)&&N&128&&v!==p){const E=S.$lazyInstance$,y=(g=o.$watchers$)==null?void 0:g[h];y?.forEach(w=>{E[w]!=null&&E[w].call(E,v,p,h)})}return}const B=u.find(([N])=>N===k);B&&B[1][0]&4&&(v=!(v===null||v==="false"));const T=Object.getOwnPropertyDescriptor(d,k);v!=this[k]&&(!T.get||T.set)&&(this[k]=v)})},e.observedAttributes=Array.from(new Set([...Object.keys((s=o.$watchers$)!=null?s:{}),...u.filter(([h,p])=>p[0]&31).map(([h,p])=>{var v;const g=p[1]||h;return m.set(g,h),p[0]&512&&((v=o.$attrsToReflect$)==null||v.push([h,g])),g})]))}}return e},E3=async(e,o,r,i)=>{let s;if((o.$flags$&32)===0){if(o.$flags$|=32,r.$lazyBundleId$){const h=H5(r,o);if(h&&"then"in h){const v=i3();s=await h,v()}else s=h;if(!s)throw new Error(`Constructor for "${r.$tagName$}#${o.$modeName$}" was not found`);s.isProxied||(r.$watchers$=s.watchers,r.$serializers$=s.serializers,r.$deserializers$=s.deserializers,B0(s,r,2),s.isProxied=!0);const p=Ct("createInstance",r.$tagName$);o.$flags$|=8;try{new s(o)}catch(v){fe(v,e)}o.$flags$&=-9,o.$flags$|=128,p(),Eb(o.$lazyInstance$,e)}else{s=e.constructor;const h=e.localName;customElements.whenDefined(h).then(()=>o.$flags$|=128)}if(s&&s.style){let h;typeof s.style=="string"?h=s.style:typeof s.style!="string"&&(o.$modeName$=p3(e),o.$modeName$&&(h=s.style[o.$modeName$]));const p=mm(r,o.$modeName$);if(!Ds.has(p)){const v=Ct("registerStyles",r.$tagName$);x0(p,h,!!(r.$flags$&1)),v()}}}const d=o.$ancestorComponent$,u=()=>_m(o,!0);d&&d["s-rc"]?d["s-rc"].push(u):u()},Eb=(e,o)=>{nr(e,"connectedCallback",void 0,o)},L3=e=>{if((un.$flags$&1)===0){const o=Jo(e);if(!o)return;const r=o.$cmpMeta$,i=Ct("connectedCallback",r.$tagName$);if(o.$flags$&1)N0(e,o,r.$listeners$),o?.$lazyInstance$?Eb(o.$lazyInstance$,e):o?.$onReadyPromise$&&o.$onReadyPromise$.then(()=>Eb(o.$lazyInstance$,e));else{o.$flags$|=1;let s;if(s=e.getAttribute($i),s){if(r.$flags$&1){const d=w0(e.shadowRoot,r,e.getAttribute("s-mode"));e.classList.remove(d+"-h",d+"-s")}h3(e,r.$tagName$,s,o)}s||r.$flags$&12&&B3(e);{let d=e;for(;d=d.parentNode||d.host;)if(d.nodeType===1&&d.hasAttribute("s-id")&&d["s-p"]||d["s-p"]){E0(o,o.$ancestorComponent$=d);break}}r.$members$&&Object.entries(r.$members$).map(([d,[u]])=>{if(u&31&&d in e&&e[d]!==Object.prototype[d]){const m=e[d];delete e[d],e[d]=m}}),E3(e,o,r)}i()}},B3=e=>{if(!nn.document)return;const o=e["s-cr"]=nn.document.createComment("");o["s-cn"]=!0,Mr(e,o,e.firstChild)},Yk=(e,o)=>{nr(e,"disconnectedCallback",void 0,o||e)},N3=async e=>{if((un.$flags$&1)===0){const o=Jo(e);o?.$rmListeners$&&(o.$rmListeners$.map(r=>r()),o.$rmListeners$=void 0),o?.$lazyInstance$?Yk(o.$lazyInstance$,e):o?.$onReadyPromise$&&o.$onReadyPromise$.then(()=>Yk(o.$lazyInstance$,e))}_l.has(e)&&_l.delete(e),e.shadowRoot&&_l.has(e.shadowRoot)&&_l.delete(e.shadowRoot)},R3=(e,o={})=>{var r;if(!nn.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const i=Ct(),s=[],d=o.exclude||[],u=nn.customElements,m=nn.document.head,h=m.querySelector("meta[charset]"),p=nn.document.createElement("style"),v=[];let g,k=!0;Object.assign(un,o),un.$resourcesUrl$=new URL(o.resourcesUrl||"./",nn.document.baseURI).href,un.$flags$|=2,d3();let S=!1;if(e.map(B=>{B[1].map(T=>{var N,E,y;const w={$flags$:T[0],$tagName$:T[1],$members$:T[2],$listeners$:T[3]};w.$flags$&4&&(S=!0),w.$members$=T[2],w.$listeners$=T[3],w.$attrsToReflect$=[],w.$watchers$=(N=T[4])!=null?N:{},w.$serializers$=(E=T[5])!=null?E:{},w.$deserializers$=(y=T[6])!=null?y:{};const R=o.transformTagName?o.transformTagName(w.$tagName$):w.$tagName$,M=class extends HTMLElement{constructor(H){if(super(H),this.hasRegisteredEventListeners=!1,H=this,I5(H,w),w.$flags$&1){if(!H.shadowRoot)t3.call(H,w);else if(H.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${w.$tagName$}! Mode is set to ${H.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const H=Jo(this);H&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,N0(this,H,w.$listeners$)),g&&(clearTimeout(g),g=null),k?v.push(this):un.jmp(()=>L3(this)))}disconnectedCallback(){un.jmp(()=>N3(this)),un.raf(()=>{var H;const Z=Jo(this);if(!Z)return;const te=v.findIndex(le=>le===this);te>-1&&v.splice(te,1),((H=Z?.$vnode$)==null?void 0:H.$elm$)instanceof Node&&!Z.$vnode$.$elm$.isConnected&&delete Z.$vnode$.$elm$})}componentOnReady(){var H;return(H=Jo(this))==null?void 0:H.$onReadyPromise$}};w.$lazyBundleId$=B[0],!d.includes(R)&&!u.get(R)&&(s.push(R),u.define(R,B0(M,w,1)))})}),s.length>0&&(S&&(p.textContent+=h0),p.textContent+=s.sort()+P5,p.innerHTML.length)){p.setAttribute("data-styles","");const B=(r=un.$nonce$)!=null?r:_0(nn.document);B!=null&&p.setAttribute("nonce",B),m.insertBefore(p,h?h.nextSibling:m.firstChild)}k=!1,v.length?v.map(B=>B.connectedCallback()):un.jmp(()=>g=setTimeout(L0,30)),i()},zO=(e,o)=>o,N0=(e,o,r,i)=>{r&&nn.document&&r.map(([s,d,u])=>{const m=O3(nn.document,e,s),h=D3(o,u),p=$3(s);un.ael(m,d,h,p),(o.$rmListeners$=o.$rmListeners$||[]).push(()=>un.rel(m,d,h,p))})},D3=(e,o)=>r=>{var i;try{e.$flags$&256?(i=e.$lazyInstance$)==null||i[o](r):(e.$queuedListeners$=e.$queuedListeners$||[]).push([o,r])}catch(s){fe(s,e.$hostElement$)}},O3=(e,o,r)=>r&8?nn:o,$3=e=>G5?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0,M3=()=>{_3(e=>{try{e.shadowRoot instanceof ShadowRoot&&Rz(e,gz(e))}catch{}return"default"}),_e(()=>import("./devtools-B5bExzS0-DfTK3q75.js"),__vite__mapDeps([106,9])).then(e=>{typeof e=="object"&&e!==null&&typeof e.initialize=="function"&&e.initialize()}).catch(e=>{Cn.error(e)})};const U3=M3;const F3=async(e,o)=>{if(!(typeof window>"u"))return await U3(),R3(JSON.parse('[["kol-abbr",[[289,"kol-abbr",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["kol-accordion",[[289,"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",[[289,"kol-alert",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]}]]],["kol-alert-wc",[[260,"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",[[289,"kol-avatar",{"_color":[1],"_src":[1],"_label":[1]}]]],["kol-avatar-wc",[[256,"kol-avatar-wc",{"_color":[1],"_src":[1],"_label":[1],"state":[32]},null,{"_color":["validateColor"],"_src":["validateSrc"],"_label":["validateLabel"]}]]],["kol-badge",[[289,"kol-badge",{"_color":[1],"_icons":[1],"_label":[1],"_smartButton":[1,"_smart-button"],"state":[32],"kolFocus":[64]},null,{"_icons":["validateIcons"],"_color":["validateColor"],"_smartButton":["validateSmartButton"]}]]],["kol-breadcrumb",[[289,"kol-breadcrumb",{"_label":[1],"_links":[1],"state":[32]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-button",[[289,"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",[[289,"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",[[260,"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]},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",[[289,"kol-card",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2]}]]],["kol-card-wc",[[260,"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",[[289,"kol-combobox",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_hideClearButton":[4,"_hide-clear-button"],"_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],"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"],"_hideClearButton":["validateHideClearButton"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-details",[[289,"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",[[289,"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",[[289,"kol-form",{"_on":[16],"_requiredText":[8,"_required-text"],"_errorList":[16],"state":[32],"focusErrorList":[64]},null,{"_on":["validateOn"],"_requiredText":["validateRequiredText"],"_errorList":["validateErrorList"]}]]],["kol-heading",[[289,"kol-heading",{"_label":[1],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"],"state":[32]},null,{"_label":["validateLabel"],"_level":["validateLevel"],"_secondaryHeadline":["validateSecondaryHeadline"]}]]],["kol-icon",[[289,"kol-icon",{"_icons":[1],"_label":[1],"state":[32]},null,{"_icons":["validateIcons"],"_label":["validateLabel"]}]]],["kol-image",[[289,"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",[[289,"kol-input-checkbox",{"_accessKey":[1,"_access-key"],"_checked":[1540],"_hideMsg":[4,"_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",[[289,"kol-input-color",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_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":[1],"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",[[289,"kol-input-date",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_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",[[289,"kol-input-email",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_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"],"_maxLengthBehavior":["validateMaxLengthBehavior"]}]]],["kol-input-file",[[289,"kol-input-file",{"_accept":[1],"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_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],"reset":[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",[[289,"kol-input-number",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_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",[[289,"kol-input-password",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_variant":["validateVariant"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_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",[[289,"kol-input-radio",{"_disabled":[4],"_hideMsg":[4,"_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",[[289,"kol-input-range",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_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",[[289,"kol-input-text",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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],"selectionStart":[64],"selectioconEnd":[64],"setSelectionRange":[64],"setSelectionStart":[64],"setRangeText":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_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",[[289,"kol-kolibri",{"_color":[1],"_labeled":[4],"state":[32]},null,{"_color":["validateColor"],"_labeled":["validateLabeled"]}]]],["kol-link",[[289,"kol-link",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_variant":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"kolFocus":[64]}]]],["kol-link-button",[[289,"kol-link-button",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"kolFocus":[64]}]]],["kol-link-wc",[[260,"kol-link-wc",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_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"],"_ariaControls":["validateAriaControls"],"_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",[[289,"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",[[289,"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",[[289,"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",[[256,"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",[[289,"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],"showPopover":[64],"kolFocus":[64]}]]],["kol-popover-button-wc",[[260,"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],"showPopover":[64],"kolFocus":[64]},null,{"_popoverAlign":["validatePopoverAlign"]}]]],["kol-popover-wc",[[260,"kol-popover-wc",{"_align":[1],"_on":[16],"_show":[1540],"state":[32]},null,{"_align":["validateAlign"],"_on":["validateOn"],"_show":["validateShow"]}]]],["kol-progress",[[289,"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",[[289,"kol-quote",{"_label":[1],"_href":[1],"_quote":[1],"_variant":[1],"state":[32]},null,{"_label":["validateLabel"],"_href":["validateHref"],"_quote":["validateQuote"],"_variant":["validateVariant"]}]]],["kol-select",[[289,"kol-select",{"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_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",[[289,"kol-single-select",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_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],"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",[[289,"kol-skip-nav",{"_label":[1],"_links":[1],"state":[32],"kolFocus":[64]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-spin",[[289,"kol-spin",{"_show":[1540],"_label":[1],"_variant":[1],"state":[32]},null,{"_show":["validateShow"],"_label":["validateLabel"],"_variant":["validateVariant"]}]]],["kol-split-button",[[289,"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",[[256,"kol-table-settings-wc",{"_tableSettings":[16],"tableSettings":[32],"errorMessage":[32]},null,{"_tableSettings":["handleTableSettingsChange"]}]]],["kol-table-stateful",[[289,"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],"_hasSettingsMenu":[4,"_has-settings-menu"],"state":[32],"getSelection":[64]},null,{"_allowMultiSort":["validateAllowMultiSort"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_paginationPosition":["validatePaginationPosition"],"_hasSettingsMenu":["validateHasSettingsMenu"],"_headers":["validateHeaders"],"_label":["validateLabel"],"_minWidth":["validateMinWidth"],"_selection":["validateSelection"],"_on":["validateOn"],"_tableSettings":["validateTableSettings"],"_pagination":["validatePagination"]}]]],["kol-table-stateless",[[289,"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],"_hasSettingsMenu":[4,"_has-settings-menu"]}]]],["kol-table-stateless-wc",[[256,"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],"_hasSettingsMenu":[4,"_has-settings-menu"],"state":[32],"tableDivElementHasScrollbar":[32],"previousHeaderCells":[32]},[[0,"keydown","handleKeyDown"],[0,"settingsChange","handleSettingsChange"]],{"_hasSettingsMenu":["validateHasSettingsMenu"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_headerCells":["validateHeaderCells"],"_label":["validateLabel"],"_minWidth":["validateMinWidth"],"_on":["validateOn"],"_selection":["validateSelection"],"_tableSettings":["validateTableSettings"]}]]],["kol-tabs",[[289,"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",[[289,"kol-textarea",{"_accessKey":[1,"_access-key"],"_adjustHeight":[4,"_adjust-height"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_msg":[1],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_resize":[1],"_required":[4],"_rows":[1026],"_shortKey":[1,"_short-key"],"_spellCheck":[4,"_spell-check"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_adjustHeight":["validateAdjustHeight"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_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",[[289,"kol-toast-container",{"state":[32],"enqueue":[64],"closeAll":[64]}]]],["kol-toolbar",[[289,"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",[[256,"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",[[289,"kol-tree",{"_label":[1]}]]],["kol-tree-item",[[289,"kol-tree-item",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"focusLink":[64],"expand":[64],"collapse":[64],"isOpen":[64]}]]],["kol-tree-item-wc",[[260,"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",[[260,"kol-tree-wc",{"_label":[1],"state":[32]},[[0,"keydown","handleKeyDown"],[0,"focusout","handleFocusOut"]],{"_label":["validateLabel"]}]]],["kol-version",[[289,"kol-version",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["test-component",[[0,"test-component"]]]]'),o)};(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 Lb={};function I3(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var As={exports:{}},H3=As.exports,Xk;function K3(){return Xk||(Xk=1,(function(e){(function(o,r){e.exports?e.exports=r():o.log=r()})(H3,function(){var o=function(){},r="undefined",i=typeof window!==r&&typeof window.navigator!==r&&/Trident\/|MSIE /.test(window.navigator.userAgent),s=["trace","debug","info","warn","error"],d={},u=null;function m(T,N){var E=T[N];if(typeof E.bind=="function")return E.bind(T);try{return Function.prototype.bind.call(E,T)}catch{return function(){return Function.prototype.apply.apply(E,[T,arguments])}}}function h(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function p(T){return T==="debug"&&(T="log"),typeof console===r?!1:T==="trace"&&i?h:console[T]!==void 0?m(console,T):console.log!==void 0?m(console,"log"):o}function v(){for(var T=this.getLevel(),N=0;N<s.length;N++){var E=s[N];this[E]=N<T?o:this.methodFactory(E,T,this.name)}if(this.log=this.debug,typeof console===r&&T<this.levels.SILENT)return"No console available for logging"}function g(T){return function(){typeof console!==r&&(v.call(this),this[T].apply(this,arguments))}}function k(T,N,E){return p(T)||g.apply(this,arguments)}function S(T,N){var E=this,y,w,R,M="loglevel";typeof T=="string"?M+=":"+T:typeof T=="symbol"&&(M=void 0);function H(ae){var re=(s[ae]||"silent").toUpperCase();if(!(typeof window===r||!M)){try{window.localStorage[M]=re;return}catch{}try{window.document.cookie=encodeURIComponent(M)+"="+re+";"}catch{}}}function Z(){var ae;if(!(typeof window===r||!M)){try{ae=window.localStorage[M]}catch{}if(typeof ae===r)try{var re=window.document.cookie,we=encodeURIComponent(M),Re=re.indexOf(we+"=");Re!==-1&&(ae=/^([^;]+)/.exec(re.slice(Re+we.length+1))[1])}catch{}return E.levels[ae]===void 0&&(ae=void 0),ae}}function te(){if(!(typeof window===r||!M)){try{window.localStorage.removeItem(M)}catch{}try{window.document.cookie=encodeURIComponent(M)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}function le(ae){var re=ae;if(typeof re=="string"&&E.levels[re.toUpperCase()]!==void 0&&(re=E.levels[re.toUpperCase()]),typeof re=="number"&&re>=0&&re<=E.levels.SILENT)return re;throw new TypeError("log.setLevel() called with invalid level: "+ae)}E.name=T,E.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},E.methodFactory=N||k,E.getLevel=function(){return R??w??y},E.setLevel=function(ae,re){return R=le(ae),re!==!1&&H(R),v.call(E)},E.setDefaultLevel=function(ae){w=le(ae),Z()||E.setLevel(ae,!1)},E.resetLevel=function(){R=null,te(),v.call(E)},E.enableAll=function(ae){E.setLevel(E.levels.TRACE,ae)},E.disableAll=function(ae){E.setLevel(E.levels.SILENT,ae)},E.rebuild=function(){if(u!==E&&(y=le(u.getLevel())),v.call(E),u===E)for(var ae in d)d[ae].rebuild()},y=le(u?u.getLevel():"WARN");var Me=Z();Me!=null&&(R=le(Me)),v.call(E)}u=new S,u.getLogger=function(N){if(typeof N!="symbol"&&typeof N!="string"||N==="")throw new TypeError("You must supply a name when creating a logger.");var E=d[N];return E||(E=d[N]=new S(N,u.methodFactory)),E};var B=typeof window!==r?window.log:void 0;return u.noConflict=function(){return typeof window!==r&&window.log===u&&(window.log=B),u},u.getLoggers=function(){return d},u.default=u,u})})(As)),As.exports}K3();const V3=(e,o)=>r=>r(e,o),q3=(e,o)=>r=>r(e,o,{append:!1}),Z3=()=>{const e=typeof process<"u"&&Lb?Lb:{},o=e.NODE_ENV==="test",r="VITEST"in e,i="JEST_WORKER_ID"in e,s="PLAYWRIGHT_TEST_BASE_URL"in e,d=e.CI==="true",u=e.TEST==="true"||e.IS_TEST==="true",m=typeof navigator<"u"&&navigator.webdriver===!0,h=typeof navigator<"u"&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return o||r||i||s||d||u||m||h},Oo={A11yUi:{CSS_STYLE_CACHE:new Map,IS_TEST_ENVIRONMENT:Z3(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,showAverageTimes:()=>{const e={};for(const[r,i]of Oo.A11yUi.PERFORMANCE_MEASURES.entries())e[r]=[i.totalTime/i.count,i.count];const o=Object.entries(e).sort((r,i)=>i[1][0]-r[1][0]);return console.table(Object.fromEntries(o.map(([r,[i,s]])=>[r,{"avg (ms)":parseFloat(i.toFixed(2)),count:s}]))),e}}},R0=new Set,P3=/--[^;]+/g,G3=/:/,Y3=typeof MutationObserver<"u";let D0=()=>{Math.min(25+Math.log2(Oo.A11yUi.STYLING_TASK_QUEUE.size+1)*20,250)};const X3=(e,o)=>{let r=o.match(P3);if(Array.isArray(r)){r=r.filter(s=>G3.test(s));const i=document.createElement("style");i.innerHTML=`.${e} {${r.join(";")}}`,document.querySelector("head")?.appendChild(i)}R0.add(e)},Gu=(e,o)=>{const r=Oo.A11yUi.THEMES.get(e);return r instanceof Map&&r.has(o)?r.get(o):""},Q3=e=>{for(const o of Array.from(e.childNodes))if(o instanceof HTMLStyleElement&&o.tagName==="STYLE"&&o.dataset.themingFallback===void 0)e.removeChild(o);else break},J3=(e,o)=>{try{if(Oo.A11yUi.Theme?.mode==="ssr")throw new Error("SSR");const r=[];o.forEach(i=>{const s=new CSSStyleSheet;s.replaceSync(i),r.push(s)}),e.adoptedStyleSheets=r}catch{[...o].reverse().forEach((r,i)=>{if(typeof r!="string"||r.length===0)return;const s=document.createElement("style");switch(s.dataset.themingFallback="",i){case 4:s.dataset.themingBaseA11y="";break;case 3:s.dataset.themingBaseGlobal="";break;case 2:s.dataset.themingBaseComponent="";break;case 1:s.dataset.themingCustomGlobal="";break;case 0:s.dataset.themingCustomComponent="";break;default:s.dataset.themingUnknown="";break}s.innerHTML=r,e.insertBefore(s,e.firstChild)})}},W3=(e,o,r)=>{if(r!==!1){const i=[...Array.from(e.childNodes).filter(d=>d instanceof HTMLStyleElement&&d.tagName==="STYLE")];let s;try{s=[...Array.from(e.adoptedStyleSheets)]}catch{s=[]}r?.mode==="before"?(i.reverse().forEach(d=>o.unshift(d.innerHTML)),s.reverse().forEach(d=>o.unshift(Array.from(d.cssRules).map(u=>u.cssText).join("")))):r?.mode==="after"&&(i.forEach(d=>o.push(d.innerHTML)),s.forEach(d=>o.push(Array.from(d.cssRules).map(u=>u.cssText).join(""))))}},ej=(e,o,r)=>{const i=o.name||"default";let s;try{if(e.shadowRoot===null)throw new Error("ShadowRoot is null");s=e.shadowRoot}catch{s=e}if(Oo.A11yUi.CSS_STYLE_CACHE.get(i)?.has(e.tagName))Qk(e,s,Oo.A11yUi.CSS_STYLE_CACHE.get(i)?.get(e.tagName),r);else{const d=Gu(i,"PROPERTIES"),u=Gu(i,"GLOBAL"),m=Gu(i,e.tagName);R0.has(i)===!1&&X3(i,u);const h=[d,u,m];W3(s,h,o.encroachCss),o.cache===!0&&(Oo.A11yUi.CSS_STYLE_CACHE.has(i)===!1&&Oo.A11yUi.CSS_STYLE_CACHE.set(i,new Map),Oo.A11yUi.CSS_STYLE_CACHE.get(i)?.set(e.tagName,h)),Qk(e,s,h,r)}},Qk=(e,o,r,i)=>{const s=performance.now();if(Q3(o),J3(o,r),O0(e),i(),Oo.A11yUi.PERFORMANCE_MEASURES.has(e.tagName)){const d=Oo.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);d.count+=1,d.totalTime+=performance.now()-s}else Oo.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:performance.now()-s})},nj=e=>{const o=Oo.A11yUi.STYLING_TASK_QUEUE.get(e);if(o){const{resetCss:r,themeDetails:i}=o;ej(e,i,r),O0(e)}},oj={attributes:!0,attributeFilter:[],childList:!1,subtree:!1},tj=Y3?new MutationObserver((e,o)=>{for(const r of e){const i=r.target;i.classList.contains("hydrated")&&(nj(i),o.observe(i,oj))}}):null;tj&&(D0=()=>{});const O0=e=>{Oo.A11yUi.STYLING_TASK_QUEUE.delete(e),D0()};class rj{Prefix;Key;Tag;createTheme=(o,r)=>q3(o,r);createTranslation=(o,r)=>V3(o,r);constructor(o,r,i){this.Prefix=o,this.Key=Object.getOwnPropertyNames(r),this.Tag=Object.getOwnPropertyNames(i)}}var Bb;(function(e){e[e.error=0]="error",e[e.warning=1]="warning",e[e.info=2]="info",e[e.success=3]="success",e[e.message=4]="message",e[e.close=5]="close",e[e["form-description"]=6]="form-description",e[e.of=7]="of",e[e.characters=8]="characters",e[e.new=9]="new",e[e["no-entries"]=10]="no-entries",e[e["change-order"]=11]="change-order",e[e["action-running"]=12]="action-running",e[e["action-done"]=13]="action-done",e[e["page-first"]=14]="page-first",e[e["page-back"]=15]="page-back",e[e["page-next"]=16]="page-next",e[e["page-last"]=17]="page-last",e[e["entries-per-site"]=18]="entries-per-site",e[e["page-current"]=19]="page-current",e[e["page-selected"]=20]="page-selected",e[e["page-per-site"]=21]="page-per-site",e[e["logo-description"]=22]="logo-description",e[e["open-link-in-tab"]=23]="open-link-in-tab",e[e["kolibri-logo"]=24]="kolibri-logo"})(Bb||(Bb={}));var Nb;(function(e){e[e.abbr=0]="abbr",e[e.accordion=1]="accordion",e[e.alert=2]="alert",e[e.avatar=3]="avatar",e[e.badge=4]="badge",e[e.breadcrumb=5]="breadcrumb",e[e.button=6]="button",e[e["button-link"]=7]="button-link",e[e.card=8]="card",e[e.combobox=9]="combobox",e[e.details=10]="details",e[e.drawer=11]="drawer",e[e.form=12]="form",e[e.heading=13]="heading",e[e.icon=14]="icon",e[e.image=15]="image",e[e["input-checkbox"]=16]="input-checkbox",e[e["input-color"]=17]="input-color",e[e["input-date"]=18]="input-date",e[e["input-email"]=19]="input-email",e[e["input-file"]=20]="input-file",e[e["input-number"]=21]="input-number",e[e["input-password"]=22]="input-password",e[e["input-radio"]=23]="input-radio",e[e["input-range"]=24]="input-range",e[e["input-text"]=25]="input-text",e[e.kolibri=26]="kolibri",e[e.link=27]="link",e[e["link-button"]=28]="link-button",e[e.logo=29]="logo",e[e.modal=30]="modal",e[e.nav=31]="nav",e[e.pagination=32]="pagination",e[e["popover-button"]=33]="popover-button",e[e.progress=34]="progress",e[e.quote=35]="quote",e[e.select=36]="select",e[e["single-select"]=37]="single-select",e[e["skip-nav"]=38]="skip-nav",e[e.spin=39]="spin",e[e["split-button"]=40]="split-button",e[e.symbol=41]="symbol",e[e.table=42]="table",e[e["table-stateful"]=43]="table-stateful",e[e["table-stateless"]=44]="table-stateless",e[e.tabs=45]="tabs",e[e.textarea=46]="textarea",e[e["toast-container"]=47]="toast-container",e[e.toolbar=48]="toolbar",e[e.tooltip=49]="tooltip",e[e.tree=50]="tree",e[e["tree-item"]=51]="tree-item"})(Nb||(Nb={}));const Rb=["development","production","test"];let Db="production";const aj=e=>{try{if(Rb.includes(e))Db=e;else throw new Error(`Invalid NODE_ENV value: ${e}. Expected one of ${Rb.join(", ")}.`)}catch{Db="production"}},lj=()=>{try{const e=typeof process<"u"&&Lb?"production":void 0;if(e&&Rb.includes(e))return e}catch{}return"production"};aj(lj());const ij=()=>Db==="development",cj="color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000",fl=e=>Array.isArray(e)?e:[e],Jk=e=>`%c${e}`,sj=(e,o)=>typeof o=="string"&&o.length>0?`${Jk(e)} | ${o}`:Jk(e),ul=(e,o)=>[sj(e,o?.classifier),`${cj};${o?.overwriteStyle||""}`],zi=e=>ij()||e===!0;class dj{constructor(o){this.label=o}debug(o,r){zi(r?.forceLog)&&console.debug(...ul(this.label,r),...fl(o))}info(o,r){zi(r?.forceLog)&&console.info(...ul(this.label,r),...fl(o))}trace(o,r){zi(r?.forceLog)&&console.trace(...ul(this.label,r),...fl(o))}warn(o,r){zi(r?.forceLog)&&console.warn(...ul(this.label,r),...fl(o))}error(o,r){console.error(...ul(this.label,r),...fl(o))}throw(o,r){if(zi(r?.forceLog))throw new Error(...ul(this.label,r),...fl(o))}}const fj=new dj("KoliBri"),Wk=new Set,uj=(e,o)=>{Wk.has(e)===!1&&(Wk.add(e),fj.debug([e].concat([]),{classifier:"💻 dev",forceLog:!1,overwriteStyle:"; background-color: #f09"}))};uj("We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!");var Dr={exports:{}},e1;function bj(){if(e1)return Dr.exports;e1=1,Dr.exports=e,Dr.exports.arr=e,Dr.exports.obj=o,Dr.exports.css=r,Dr.exports.hex=i,Dr.exports.num=s;function e(y){var w=d(y);return w.length==3?w.concat(255):(w[3]=Math.round(w[3]),w)}function o(y){var w=d(y);return{r:w[0],g:w[1],b:w[2],a:w.length==3?255:Math.round(w[3])}}function r(y){var w=d(y);return w.length==3&&w.push(255),w[3]==255?"rgb("+w[0]+", "+w[1]+", "+w[2]+")":w[3]==0?"rgba("+w[0]+", "+w[1]+", "+w[2]+", 0)":"rgba("+w[0]+", "+w[1]+", "+w[2]+", "+String(w[3]/255).substr(1)+")"}function i(y){var Z=d(y);Z.length==3&&Z.push(255);var w=Z[3]==255,R=u(Z[0]),M=u(Z[1]),H=u(Z[2]),Z=u(Math.round(Z[3])),te=m(R,M,H,Z);return w?te?"#"+R.charAt(0)+M.charAt(0)+H.charAt(0):"#"+R+M+H:te?"#"+R.charAt(0)+M.charAt(0)+H.charAt(0)+Z.charAt(0):"#"+R+M+H+Z}function s(y){var w=d(y);return w.length==3?w.push(255):w[3]=Math.round(w[3]),(w[3]<<24>>>0|w[0]<<16|w[1]<<8|w[2])>>>0}function d(y){return typeof y=="string"?(y=y.toLowerCase(),h(y)||v(y)||g(y)||N(y)||E(y)||[0,0,0,255]):S(y)||B(y)||T(y)||[0,0,0,255]}function u(y){var w=y.toString(16);return w.length==1?"0"+w:w}function m(y,w,R,M){var H=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return H.indexOf(y)!=-1&&H.indexOf(w)!=-1&&H.indexOf(R)!=-1&&H.indexOf(M)!=-1}function h(y){if(y=="red")return[255,0,0];if(y=="green")return[0,255,0];if(y=="blue")return[0,0,255];if(y=="black")return[0,0,0];if(y=="white")return[255,255,255];if(y=="cyan")return[0,255,255];if(y=="gray")return[128,128,128];if(y=="grey")return[128,128,128];if(y=="magenta")return[255,0,255];if(y=="pink")return[255,0,255];if(y=="yellow")return[255,255,0]}function p(y){return y.length==1?parseInt(y+y,16):parseInt(y,16)}function v(y){var w=y.replace(/^#/,""),R=w.length;if(R==3||R==4){var M=p(w[0]),H=p(w[1]),Z=p(w[2]),te=R==3?255:p(w[3]);return isNaN(M)||isNaN(H)||isNaN(Z)||isNaN(te)?void 0:[M,H,Z,te]}}function g(y){var w=y.replace(/^#/,""),R=w.length;if(R==6||R==8){var M=p(w.slice(0,2)),H=p(w.slice(2,4)),Z=p(w.slice(4,6)),te=R==6?255:p(w.slice(6,8));return isNaN(M)||isNaN(H)||isNaN(Z)||isNaN(te)?void 0:[M,H,Z,te]}}function k(y,w){return typeof y!="number"||w===!0&&Math.floor(y)!==y?-1:y>=0&&y<=255?y:-1}function S(y){if(Object.prototype.toString.call(y)==="[object Object]"&&Object.getPrototypeOf(y)===Object.getPrototypeOf({})){var w=k(y.r!=null?y.r:y.red!=null?y.red:0,!0),R=k(y.g!=null?y.g:y.green!=null?y.green:0,!0),M=k(y.b!=null?y.b:y.blue!=null?y.blue:0,!0),H=k(y.a!=null?y.a:y.alpha!=null?y.alpha:255,!0);if(w!=-1&&R!=-1&&M!=-1&&H!=-1)return[w,R,M,H]}}function B(y){if(Array.isArray(y)&&(y.length==3||y.length==4)){var w=k(y[0],!0),R=k(y[1],!0),M=k(y[2],!0),H=k(y[3]!=null?y[3]:255,!0);if(w!=-1&&R!=-1&&M!=-1&&H!=-1)return[w,R,M,H]}}function T(y){if(typeof y=="number"&&Math.floor(y)==y&&y<=4294967295&&y>=0){var w=y>>24&255,R=y>>16&255,M=y>>8&255,H=y&255;return[R,M,H,w]}}function N(y){if(y.substr(0,4)=="rgb("){y=y.match(/^rgb\(([^)]+)\)/)[1];var w=y.split(/ *, */).map(Number),R=k(w[0],!0),M=k(w[1],!0),H=k(w[2],!0);if(R!=-1&&M!=-1&&H!=-1)return[R,M,H,255]}}function E(y){if(y.substr(0,5)=="rgba("){y=y.match(/^rgba\(([^)]+)\)/)[1];var w=y.split(/ *, */).map(Number),R=k(w[0],!0),M=k(w[1],!0),H=k(w[2],!0),Z=k(w[3]*255);if(R!=-1&&M!=-1&&H!=-1&&Z!=-1)return[R,M,H,Z]}}return Dr.exports}bj();var Yu={},n1;function mj(){return n1||(n1=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.querySelectorAll=void 0;const o=(i,s)=>{s.forEach(d=>{i.has(d)===!1&&i.add(d)})},r=(i,s=document)=>{if(s instanceof Document||s instanceof HTMLElement||s instanceof ShadowRoot){const d=new Set;o(d,s.querySelectorAll(i));const u=s.querySelectorAll('[class*="hydrated"]');for(let m=0;m<u.length;m++){const h=u[m].shadowRoot;typeof h=="object"&&h!==null?o(d,(0,e.querySelectorAll)(i,h)):o(d,(0,e.querySelectorAll)(i,u[m]))}return Array.from(d)}else throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")};e.querySelectorAll=r})(Yu)),Yu}mj();var Xu={},o1;function hj(){return o1||(o1=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.querySelector=void 0;const o=(r,i=document)=>{if(i instanceof Document||i instanceof HTMLElement||i instanceof ShadowRoot){let s=i.querySelector(r);if(s===null){const d=i.querySelectorAll('[class*="hydrated"]');for(let u=0;u<d.length;u++){const m=d[u].shadowRoot;if(typeof m=="object"&&m!==null?s=(0,e.querySelector)(r,m):s=(0,e.querySelector)(r,d[u]),s!==null)break}}return s}else throw new Error("The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.")};e.querySelector=o})(Xu)),Xu}hj();new Event("StateChange");var Qu,t1;function pj(){return t1||(t1=1,Qu=function(o){return function(r,i){if(!r)return o;var s;typeof r=="string"?s=r:i=r;var d=o;return s&&(d+="__"+s),d+(i?Object.keys(i).reduce(function(u,m){var h=i[m];return h&&(u+=" "+(typeof h=="boolean"?d+"--"+m:d+"--"+m+"_"+h)),u},""):"")}}),Qu}var _j=pj(),vj=I3(_j);function $0(){const e=new Map,o=(r,i,s)=>{try{return e.get(r)(i,s)}catch{return e.set(r,vj(r)).get(r)(i,s)}};return o.forBlock=r=>{const i=(s,d)=>o(r,s,d);return i.forElement=s=>d=>o(r,s,d),i},o}const M0=$0();M0("kol-icon");M0("kol-icon","icon");const vm=$0();vm("kol-alert","closer");vm("kol-alert","content");vm("kol-alert","icon");var r1;(function(e){e.blur="kolBlur",e.change="kolChange",e.changePage="kolChangePage",e.changePageSize="kolChangePageSize",e.click="kolClick",e.close="kolClose",e.create="kolCreate",e.focus="kolFocus",e.input="kolInput",e.keydown="kolKeydown",e.mousedown="kolMousedown",e.reset="kolReset",e.select="kolSelect",e.selectionChange="kolSelectionChange",e.settingsChange="settingsChange",e.sort="kolSort",e.submit="kolSubmit",e.toggle="kolToggle"})(r1||(r1={}));const gm=new rj("kol",Bb,Nb);var uo;(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"})(uo||(uo={}));var Ve;(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"})(Ve||(Ve={}));var ir;(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"})(ir||(ir={}));const xe=new Map;xe.set(uo["Die Bundesregierung"],["Die","Bundesregierung"]);xe.set(uo["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]);xe.set(uo["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]);xe.set(uo["Auswärtiges Amt"],["Auswärtiges Amt"]);xe.set(uo["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]);xe.set(uo["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]);xe.set(uo["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]);xe.set(uo["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]);xe.set(uo["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]);xe.set(uo["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]);xe.set(uo["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]);xe.set(uo["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]);xe.set(uo["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]);xe.set(uo["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]);xe.set(uo["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]);xe.set(Ve["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]);xe.set(Ve["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]);xe.set(Ve["Bundesamt für äußere Restitutionen"],[]);xe.set(Ve["Bundesamt für Bauwesen und Raumordnung"],[]);xe.set(Ve["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]);xe.set(Ve["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]);xe.set(Ve["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]);xe.set(Ve["Bundesamt für Justiz"],["Bundesamt für","Justiz"]);xe.set(Ve["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]);xe.set(Ve["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]);xe.set(Ve["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]);xe.set(Ve["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]);xe.set(Ve["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]);xe.set(Ve["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]);xe.set(Ve["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]);xe.set(Ve["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]);xe.set(Ve["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]);xe.set(Ve.Bundesarchiv,["Das","Bundesarchiv"]);xe.set(Ve["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]);xe.set(Ve.Bundesausgleichsamt,["Bundesausgleichsamt"]);xe.set(Ve.Bundeskartellamt,["Bundeskartellamt"]);xe.set(Ve.Bundeskriminalamt,["Bundeskriminalamt"]);xe.set(Ve.Bundesnachrichtendienst,["Bundesnachrichtendienst"]);xe.set(Ve["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]);xe.set(Ve.Bundespolizeipräsidium,["Bundespolizeipräsidium"]);xe.set(Ve["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]);xe.set(Ve.Bundessortenamt,["Bundessortenamt"]);xe.set(Ve.Bundessprachenamt,["Bundessprachenamt"]);xe.set(Ve["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]);xe.set(Ve.Bundesverwaltungsamt,["Bundesverwaltungsamt"]);xe.set(Ve["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]);xe.set(Ve["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]);xe.set(Ve["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]);xe.set(Ve.Generalzolldirektion,["Generalzolldirektion"]);xe.set(Ve["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]);xe.set(Ve["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]);xe.set(ir["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]);xe.set(ir["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]);xe.set(ir["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]);xe.set(ir["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]);xe.set(ir["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]);xe.set(ir["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]);xe.set(ir["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]);var gj=`/* forward the rem function */
31
+ `);const u=this["s-cr"].parentElement;return(u.__childNodes?u.childNodes:r3(u.childNodes)).forEach(h=>{d===bm(h)&&s.push(h)}),r?s.filter(h=>h.nodeType===1):s}).bind(e);e.assignedElements=o(!0),e.assignedNodes=o(!1)}function $r(e,o){if("__"+o in e){const r=e["__"+o];return typeof r!="function"?r:r.bind(e)}else return typeof e[o]!="function"?e[o]:e[o].bind(e)}var Ct=(e,o="")=>()=>{},i3=(e,o)=>()=>{},_l=new WeakMap,x0=(e,o,r)=>{let i=Ds.get(e);fm&&r?(i=i||new CSSStyleSheet,typeof i=="string"?i=o:i.replaceSync(o)):i=o,Ds.set(e,i)},w0=(e,o,r)=>{var i;const s=mm(o,r),d=Ds.get(s);if(!nn.document)return s;if(e=e.nodeType===11?e:nn.document,d)if(typeof d=="string"){e=e.head||e;let u=_l.get(e),m;if(u||_l.set(e,u=new Set),!u.has(s)){if(e.host&&(m=e.querySelector(`[${yb}="${s}"]`)))m.innerHTML=d;else{m=nn.document.createElement("style"),m.innerHTML=d;const h=(i=un.$nonce$)!=null?i:_0(nn.document);if(h!=null&&m.setAttribute("nonce",h),!(o.$flags$&1))if(e.nodeName==="HEAD"){const p=e.querySelectorAll("link[rel=preconnect]"),v=p.length>0?p[p.length-1].nextSibling:e.querySelector("style");e.insertBefore(m,v?.parentNode===e?v:null)}else if("host"in e)if(fm){const p=new CSSStyleSheet;p.replaceSync(d),xb?e.adoptedStyleSheets.unshift(p):e.adoptedStyleSheets=[p,...e.adoptedStyleSheets]}else{const p=e.querySelector("style");p?p.innerHTML=d+p.innerHTML:e.prepend(m)}else e.append(m);o.$flags$&1&&e.insertBefore(m,null)}o.$flags$&4&&(m.innerHTML+=h0),u&&u.add(s)}}else e.adoptedStyleSheets.includes(d)||(xb?e.adoptedStyleSheets.push(d):e.adoptedStyleSheets=[...e.adoptedStyleSheets,d]);return s},c3=e=>{const o=e.$cmpMeta$,r=e.$hostElement$,i=o.$flags$,s=Ct("attachStyles",o.$tagName$),d=w0(r.shadowRoot?r.shadowRoot:r.getRootNode(),o,e.$modeName$);i&10&&(r["s-sc"]=d,r.classList.add(d+"-h")),s()},mm=(e,o)=>"sc-"+(o&&e.$flags$&32?e.$tagName$+"-"+o:e.$tagName$),s3=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),d3=()=>{if(!nn.document)return;const e=nn.document.querySelectorAll(`[${yb}]`);let o=0;for(;o<e.length;o++)x0(e[o].getAttribute(yb),s3(e[o].innerHTML),!0)},z0=(e,o,...r)=>{let i=null,s=null,d=null,u=!1,m=!1;const h=[],p=g=>{for(let k=0;k<g.length;k++)i=g[k],Array.isArray(i)?p(i):i!=null&&typeof i!="boolean"&&((u=typeof e!="function"&&!um(i))&&(i=String(i)),u&&m?h[h.length-1].$text$+=i:h.push(u?wl(null,i):i),m=u)};if(p(r),o){o.key&&(s=o.key),o.name&&(d=o.name);{const g=o.className||o.class;g&&(o.class=typeof g!="object"?g:Object.keys(g).filter(k=>g[k]).join(" "))}}if(typeof e=="function")return e(o===null?{}:o,h,b3);const v=wl(e,null);return v.$attrs$=o,h.length>0&&(v.$children$=h),v.$key$=s,v.$name$=d,v},wl=(e,o)=>{const r={$flags$:0,$tag$:e,$text$:o,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r.$name$=null,r},f3={},u3=e=>e&&e.$tag$===f3,b3={forEach:(e,o)=>e.map(Fk).forEach(o),map:(e,o)=>e.map(Fk).map(o).map(m3)},Fk=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),m3=e=>{if(typeof e.vtag=="function"){const r={...e.vattrs};return e.vkey&&(r.key=e.vkey),e.vname&&(r.name=e.vname),z0(e.vtag,r,...e.vchildren||[])}const o=wl(e.vtag,e.vtext);return o.$attrs$=e.vattrs,o.$children$=e.vchildren,o.$key$=e.vkey,o.$name$=e.vname,o},h3=(e,o,r,i)=>{var s,d;const u=Ct("hydrateClient",o),m=e.shadowRoot,h=[],p=[],v=[],g=m?[]:null,k=wl(o,null);k.$elm$=e,nn.document&&(!un.$orgLocNodes$||!un.$orgLocNodes$.size)&&jb(nn.document.body,un.$orgLocNodes$=new Map),e[$i]=r,e.removeAttribute($i),i.$vnode$=zb(k,h,p,g,e,e,r,v);let S=0;const B=h.length;let T;for(S;S<B;S++){T=h[S];const Z=T.$hostId$+"."+T.$nodeId$,te=un.$orgLocNodes$.get(Z),le=T.$elm$;if(!m)le["s-hn"]=o.toUpperCase(),T.$tag$==="slot"&&(le["s-cr"]=e["s-cr"]);else if((s=T.$tag$)!=null&&s.toString().includes("-")&&T.$tag$!=="slot-fb"&&!T.$elm$.shadowRoot){const Me=Jo(T.$elm$);if(Me){const ae=mm(Me.$cmpMeta$,T.$elm$.getAttribute("s-mode")),re=nn.document.querySelector(`style[sty-id="${ae}"]`);re&&e.shadowRoot.append(re.cloneNode(!0))}}T.$tag$==="slot"&&(T.$name$=T.$elm$["s-sn"]||T.$elm$.name||null,T.$children$?(T.$flags$|=2,T.$elm$.childNodes.length||T.$children$.forEach(Me=>{T.$elm$.appendChild(Me.$elm$)})):T.$flags$|=1),te&&te.isConnected&&(te.parentElement.shadowRoot&&te["s-en"]===""&&te.parentNode.insertBefore(le,te.nextSibling),te.parentNode.removeChild(te),m||(le["s-oo"]=parseInt(T.$nodeId$))),te&&!te["s-id"]&&un.$orgLocNodes$.delete(Z)}const N=[],E=v.length;let y=0,w,R,M,H;for(y;y<E;y++)if(w=v[y],!(!w||!w.length))for(M=w.length,R=0,R;R<M;R++){if(H=w[R],N[H.hostId]||(N[H.hostId]=un.$orgLocNodes$.get(H.hostId)),!N[H.hostId])continue;const Z=N[H.hostId];Z.shadowRoot&&H.node.parentElement!==Z&&Z.appendChild(H.node),(!Z.shadowRoot||!m)&&(H.slot["s-cr"]||(H.slot["s-cr"]=Z["s-cr"],!H.slot["s-cr"]&&Z.shadowRoot?H.slot["s-cr"]=Z:H.slot["s-cr"]=(Z.__childNodes||Z.childNodes)[0]),l3(H.node,H.slot,!1,H.node["s-oo"]),(d=H.node.parentElement)!=null&&d.shadowRoot&&H.node.getAttribute&&H.node.getAttribute("slot")&&H.node.removeAttribute("slot"))}if(m){let Z=0;const te=g.length;if(te){for(Z;Z<te;Z++){const le=g[Z];le&&m.appendChild(le)}Array.from(e.childNodes).forEach(le=>{typeof le["s-en"]!="string"&&typeof le["s-sn"]!="string"&&(le.nodeType===1&&le.slot&&le.hidden?le.removeAttribute("hidden"):(le.nodeType===8&&!le.nodeValue||le.nodeType===3&&!le.wholeText.trim())&&le.parentNode.removeChild(le))})}}i.$hostElement$=e,u()},zb=(e,o,r,i,s,d,u,m=[])=>{let h,p,v,g;if(d.nodeType===1){if(h=d.getAttribute($k),h&&(p=h.split("."),p[0]===u||p[0]==="0")){v=Ik({$flags$:0,$hostId$:p[0],$nodeId$:p[1],$depth$:p[2],$index$:p[3],$tag$:d.tagName.toLowerCase(),$elm$:d,$attrs$:{class:d.className||""}}),o.push(v),d.removeAttribute($k),e.$children$||(e.$children$=[]);const S=v.$elm$.getAttribute("s-sn");typeof S=="string"&&(v.$tag$==="slot-fb"&&Hk(S,p[2],v,d,e,o,r,i,m),v.$elm$["s-sn"]=S,v.$elm$.removeAttribute("s-sn")),v.$index$!==void 0&&(e.$children$[v.$index$]=v),e=v,i&&v.$depth$==="0"&&(i[v.$index$]=v.$elm$)}if(d.shadowRoot)for(g=d.shadowRoot.childNodes.length-1;g>=0;g--)zb(e,o,r,i,s,d.shadowRoot.childNodes[g],u,m);const k=d.__childNodes||d.childNodes;for(g=k.length-1;g>=0;g--)zb(e,o,r,i,s,k[g],u,m)}else if(d.nodeType===8){if(p=d.nodeValue.split("."),p[1]===u||p[1]==="0"){if(h=p[0],v=Ik({$hostId$:p[1],$nodeId$:p[2],$depth$:p[3],$index$:p[4]||"0",$elm$:d,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null}),h===q5)v.$elm$=Vk(d,3),v.$elm$&&v.$elm$.nodeType===3&&(v.$text$=v.$elm$.textContent,o.push(v),d.remove(),u===v.$hostId$&&(e.$children$||(e.$children$=[]),e.$children$[v.$index$]=v),i&&v.$depth$==="0"&&(i[v.$index$]=v.$elm$));else if(h===Z5)v.$elm$=Vk(d,8),v.$elm$&&v.$elm$.nodeType===8&&(o.push(v),d.remove());else if(v.$hostId$===u)if(h===kb){const k=d["s-sn"]=p[5]||"";Hk(k,p[2],v,d,e,o,r,i,m)}else h===K5&&(i?d.remove():(s["s-cr"]=d,d["s-cn"]=!0))}}else if(e&&e.$tag$==="style"){const k=wl(null,d.textContent);k.$elm$=d,k.$index$="0",e.$children$=[k]}else d.nodeType===3&&!d.wholeText.trim()&&!d["s-nr"]&&d.remove();return e},jb=(e,o)=>{if(e.nodeType===1){const r=e[$i]||e.getAttribute($i);r&&o.set(r,e);let i=0;if(e.shadowRoot)for(;i<e.shadowRoot.childNodes.length;i++)jb(e.shadowRoot.childNodes[i],o);const s=e.__childNodes||e.childNodes;for(i=0;i<s.length;i++)jb(s[i],o)}else if(e.nodeType===8){const r=e.nodeValue.split(".");r[0]===V5&&(o.set(r[1]+"."+r[2],e),e.nodeValue="",e["s-en"]=r[3])}},Ik=e=>({...{$flags$:0,$hostId$:null,$nodeId$:null,$depth$:null,$index$:"0",$elm$:null,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},...e});function Hk(e,o,r,i,s,d,u,m,h){i["s-sr"]=!0,r.$name$=e||null,r.$tag$="slot";const p=s?.$elm$?s.$elm$["s-id"]||s.$elm$.getAttribute("s-id"):"";if(m&&nn.document){const v=r.$elm$=nn.document.createElement(r.$tag$);r.$name$&&r.$elm$.setAttribute("name",e),s.$elm$.shadowRoot&&p&&p!==r.$hostId$?$r(s.$elm$,"insertBefore")(v,$r(s.$elm$,"children")[0]):$r($r(i,"parentNode"),"insertBefore")(v,i),Kk(h,o,e,i,r.$hostId$),i.remove(),r.$depth$==="0"&&(m[r.$index$]=r.$elm$)}else{const v=r.$elm$,g=p&&p!==r.$hostId$&&s.$elm$.shadowRoot;Kk(h,o,e,i,g?p:r.$hostId$),y0(i),g&&s.$elm$.insertBefore(v,s.$elm$.children[0])}d.push(r),u.push(r),s.$children$||(s.$children$=[]),s.$children$[r.$index$]=r}var Kk=(e,o,r,i,s)=>{var d,u;let m=i.nextSibling;if(e[o]=e[o]||[],!(!m||(d=m.nodeValue)!=null&&d.startsWith(kb+".")))do m&&((m.getAttribute&&m.getAttribute("slot")||m["s-sn"])===r||r===""&&!m["s-sn"]&&(!m.getAttribute||!m.getAttribute("slot"))&&(m.nodeType===8||m.nodeType===3))&&(m["s-sn"]=r,e[o].push({slot:i,node:m,hostId:s})),m=m?.nextSibling;while(m&&!((u=m.nodeValue)!=null&&u.startsWith(kb+".")))},Vk=(e,o)=>{let r=e;do r=r.nextSibling;while(r&&(r.nodeType!==o||!r.nodeValue));return r},hm=e=>{const o=X5(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${o}))(${o}\\b)`,"g")};hm("::slotted");hm(":host");hm(":host-context");var p3=e=>m0.map(o=>o(e)).find(o=>!!o),_3=e=>m0.push(e),Sb=(e,o,r)=>typeof e=="string"&&e.startsWith(gb)?(e=o3(e),e):e!=null&&!um(e)?o&4?e==="false"?!1:e===""||!!e:o&2?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:o&1?String(e):e:e,wO=e=>{var o;return(o=Jo(e))==null?void 0:o.$hostElement$},v3=(e,o,r)=>{const i=un.ce(o,r);return e.dispatchEvent(i),i},qk=(e,o,r,i,s,d,u)=>{if(r===i)return;let m=Ok(e,o),h=o.toLowerCase();if(o==="class"){const p=e.classList,v=Zk(r);let g=Zk(i);if((e["s-si"]||e["s-sc"])&&u){const k=e["s-sc"]||e["s-si"];g.push(k),v.forEach(S=>{S.startsWith(k)&&g.push(S)}),g=[...new Set(g)].filter(S=>S),p.add(...g)}else p.remove(...v.filter(k=>k&&!g.includes(k))),p.add(...g.filter(k=>k&&!v.includes(k)))}else if(o==="style"){for(const p in r)(!i||i[p]==null)&&(p.includes("-")?e.style.removeProperty(p):e.style[p]="");for(const p in i)(!r||i[p]!==r[p])&&(p.includes("-")?e.style.setProperty(p,i[p]):e.style[p]=i[p])}else if(o!=="key")if(o==="ref")i&&i(e);else if(!m&&o[0]==="o"&&o[1]==="n"){if(o[2]==="-"?o=o.slice(3):Ok(nn,h)?o=h.slice(2):o=h[2]+o.slice(3),r||i){const p=o.endsWith(j0);o=o.replace(k3,""),r&&un.rel(e,o,r,p),i&&un.ael(e,o,i,p)}}else{const p=um(i);if((m||p&&i!==null)&&!s)try{if(e.tagName.includes("-"))e[o]!==i&&(e[o]=i);else{const g=i??"";o==="list"?m=!1:(r==null||e[o]!=g)&&(typeof e.__lookupSetter__(o)=="function"?e[o]=g:e.setAttribute(o,g))}}catch{}let v=!1;h!==(h=h.replace(/^xlink\:?/,""))&&(o=h,v=!0),i==null||i===!1?(i!==!1||e.getAttribute(o)==="")&&(v?e.removeAttributeNS(Mk,o):e.removeAttribute(o)):(!m||d&4||s)&&!p&&e.nodeType===1&&(i=i===!0?"":i,v?e.setAttributeNS(Mk,o,i):e.setAttribute(o,i))}},g3=/\s/,Zk=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),!e||typeof e!="string"?[]:e.split(g3)),j0="Capture",k3=new RegExp(j0+"$"),Tb=(e,o,r,i)=>{const s=o.$elm$.nodeType===11&&o.$elm$.host?o.$elm$.host:o.$elm$,d=e&&e.$attrs$||{},u=o.$attrs$||{};for(const m of Pk(Object.keys(d)))m in u||qk(s,m,d[m],void 0,r,o.$flags$,i);for(const m of Pk(Object.keys(u)))qk(s,m,d[m],u[m],r,o.$flags$,i)};function Pk(e){return e.includes("ref")?[...e.filter(o=>o!=="ref"),"ref"]:e}var Ab,Js,Cb=!1,Os=!1,pm=!1,Ro=!1,$s=(e,o,r)=>{var i;const s=o.$children$[r];let d=0,u,m,h;if(Cb||(pm=!0,s.$tag$==="slot"&&(s.$flags$|=s.$children$?2:1)),s.$text$!==null)u=s.$elm$=nn.document.createTextNode(s.$text$);else if(s.$flags$&1)u=s.$elm$=nn.document.createTextNode(""),Tb(null,s,Ro);else{if(Ro||(Ro=s.$tag$==="svg"),!nn.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(u=s.$elm$=nn.document.createElementNS(Ro?$5:M5,!Cb&&ha.slotRelocation&&s.$flags$&2?"slot-fb":s.$tag$),Ro&&s.$tag$==="foreignObject"&&(Ro=!1),Tb(null,s,Ro),s.$children$)for(d=0;d<s.$children$.length;++d)m=$s(e,s,d),m&&u.appendChild(m);s.$tag$==="svg"?Ro=!1:u.tagName==="foreignObject"&&(Ro=!0)}return u["s-hn"]=Js,s.$flags$&3&&(u["s-sr"]=!0,u["s-cr"]=Ab,u["s-sn"]=s.$name$||"",u["s-rf"]=(i=s.$attrs$)==null?void 0:i.ref,y0(u),h=e&&e.$children$&&e.$children$[r],h&&h.$tag$===s.$tag$&&e.$elm$&&Mi(e.$elm$,!1)),u},Mi=(e,o)=>{un.$flags$|=1;const r=Array.from(e.__childNodes||e.childNodes);for(let i=r.length-1;i>=0;i--){const s=r[i];s["s-hn"]!==Js&&s["s-ol"]&&(Mr(Ui(s).parentNode,s,Ui(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,pm=!0),o&&Mi(s,o)}un.$flags$&=-2},S0=(e,o,r,i,s,d)=>{let u=e["s-cr"]&&e["s-cr"].parentNode||e,m;for(u.shadowRoot&&u.tagName===Js&&(u=u.shadowRoot);s<=d;++s)i[s]&&(m=$s(null,r,s),m&&(i[s].$elm$=m,Mr(u,m,Ui(o))))},T0=(e,o,r)=>{for(let i=o;i<=r;++i){const s=e[i];if(s){const d=s.$elm$;C0(s),d&&(Os=!0,d["s-ol"]?d["s-ol"].remove():Mi(d,!0),d.remove())}}},y3=(e,o,r,i,s=!1)=>{let d=0,u=0,m=0,h=0,p=o.length-1,v=o[0],g=o[p],k=i.length-1,S=i[0],B=i[k],T,N;for(;d<=p&&u<=k;)if(v==null)v=o[++d];else if(g==null)g=o[--p];else if(S==null)S=i[++u];else if(B==null)B=i[--k];else if(us(v,S,s))ml(v,S,s),v=o[++d],S=i[++u];else if(us(g,B,s))ml(g,B,s),g=o[--p],B=i[--k];else if(us(v,B,s))(v.$tag$==="slot"||B.$tag$==="slot")&&Mi(v.$elm$.parentNode,!1),ml(v,B,s),Mr(e,v.$elm$,g.$elm$.nextSibling),v=o[++d],B=i[--k];else if(us(g,S,s))(v.$tag$==="slot"||B.$tag$==="slot")&&Mi(g.$elm$.parentNode,!1),ml(g,S,s),Mr(e,g.$elm$,v.$elm$),g=o[--p],S=i[++u];else{for(m=-1,h=d;h<=p;++h)if(o[h]&&o[h].$key$!==null&&o[h].$key$===S.$key$){m=h;break}m>=0?(N=o[m],N.$tag$!==S.$tag$?T=$s(o&&o[u],r,m):(ml(N,S,s),o[m]=void 0,T=N.$elm$),S=i[++u]):(T=$s(o&&o[u],r,u),S=i[++u]),T&&Mr(Ui(v.$elm$).parentNode,T,Ui(v.$elm$))}d>p?S0(e,i[k+1]==null?null:i[k+1].$elm$,r,i,u,k):u>k&&T0(o,d,p)},us=(e,o,r=!1)=>e.$tag$===o.$tag$?e.$tag$==="slot"?e.$name$===o.$name$:r?(r&&!e.$key$&&o.$key$&&(e.$key$=o.$key$),!0):e.$key$===o.$key$:!1,Ui=e=>e&&e["s-ol"]||e,ml=(e,o,r=!1)=>{const i=o.$elm$=e.$elm$,s=e.$children$,d=o.$children$,u=o.$tag$,m=o.$text$;let h;m===null?(Ro=u==="svg"?!0:u==="foreignObject"?!1:Ro,Tb(e,o,Ro,r),s!==null&&d!==null?y3(i,s,o,d,r):d!==null?(e.$text$!==null&&(i.textContent=""),S0(i,null,o,d,0,d.length-1)):!r&&ha.updatable&&s!==null?T0(s,0,s.length-1):r&&ha.updatable&&s!==null&&d===null&&(o.$children$=s),Ro&&u==="svg"&&(Ro=!1)):(h=i["s-cr"])?h.parentNode.textContent=m:e.$text$!==m&&(i.data=m)},Wt=[],A0=e=>{let o,r,i;const s=e.__childNodes||e.childNodes;for(const d of s){if(d["s-sr"]&&(o=d["s-cr"])&&o.parentNode){r=o.parentNode.__childNodes||o.parentNode.childNodes;const u=d["s-sn"];for(i=r.length-1;i>=0;i--)if(o=r[i],!o["s-cn"]&&!o["s-nr"]&&o["s-hn"]!==d["s-hn"])if(Uk(o,u)){let m=Wt.find(h=>h.$nodeToRelocate$===o);Os=!0,o["s-sn"]=o["s-sn"]||u,m?(m.$nodeToRelocate$["s-sh"]=d["s-hn"],m.$slotRefNode$=d):(o["s-sh"]=d["s-hn"],Wt.push({$slotRefNode$:d,$nodeToRelocate$:o})),o["s-sr"]&&Wt.map(h=>{Uk(h.$nodeToRelocate$,o["s-sn"])&&(m=Wt.find(p=>p.$nodeToRelocate$===o),m&&!h.$slotRefNode$&&(h.$slotRefNode$=m.$slotRefNode$))})}else Wt.some(m=>m.$nodeToRelocate$===o)||Wt.push({$nodeToRelocate$:o})}d.nodeType===1&&A0(d)}},C0=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(C0)},Mr=(e,o,r)=>e?.insertBefore(o,r),x3=(e,o,r=!1)=>{var i,s,d,u;const m=e.$hostElement$,h=e.$cmpMeta$,p=e.$vnode$||wl(null,null),g=u3(o)?o:z0(null,null,o);if(Js=m.tagName,h.$attrsToReflect$&&(g.$attrs$=g.$attrs$||{},h.$attrsToReflect$.forEach(([k,S])=>{g.$attrs$[S]=m[k]})),r&&g.$attrs$)for(const k of Object.keys(g.$attrs$))m.hasAttribute(k)&&!["key","ref","style","class"].includes(k)&&(g.$attrs$[k]=m[k]);g.$tag$=null,g.$flags$|=4,e.$vnode$=g,g.$elm$=p.$elm$=m.shadowRoot||m,Cb=!!(h.$flags$&1)&&!(h.$flags$&128),Ab=m["s-cr"],Os=!1,ml(p,g,r);{if(un.$flags$|=1,pm){A0(g.$elm$);for(const k of Wt){const S=k.$nodeToRelocate$;if(!S["s-ol"]&&nn.document){const B=nn.document.createTextNode("");B["s-nr"]=S,Mr(S.parentNode,S["s-ol"]=B,S)}}for(const k of Wt){const S=k.$nodeToRelocate$,B=k.$slotRefNode$;if(B){const T=B.parentNode;let N=B.nextSibling;{let w=(i=S["s-ol"])==null?void 0:i.previousSibling;for(;w;){let R=(s=w["s-nr"])!=null?s:null;if(R&&R["s-sn"]===S["s-sn"]&&T===(R.__parentNode||R.parentNode)){for(R=R.nextSibling;R===S||R?.["s-sr"];)R=R?.nextSibling;if(!R||!R["s-nr"]){N=R;break}}w=w.previousSibling}}const E=S.__parentNode||S.parentNode,y=S.__nextSibling||S.nextSibling;(!N&&T!==E||y!==N)&&S!==N&&(!S["s-hn"]&&S["s-ol"]&&(S["s-hn"]=S["s-ol"].parentNode.nodeName),Mr(T,S,N),S.nodeType===1&&S.tagName!=="SLOT-FB"&&(S.hidden=(d=S["s-ih"])!=null?d:!1)),S&&typeof B["s-rf"]=="function"&&B["s-rf"](B)}else S.nodeType===1&&(r&&(S["s-ih"]=(u=S.hidden)!=null?u:!1),S.hidden=!0)}}Os&&g0(g.$elm$),un.$flags$&=-2,Wt.length=0}Ab=void 0},E0=(e,o)=>{if(o&&!e.$onRenderResolve$&&o["s-p"]){const r=o["s-p"].push(new Promise(i=>e.$onRenderResolve$=()=>{o["s-p"].splice(r-1,1),i()}))}},_m=(e,o)=>{if(e.$flags$&4){e.$flags$|=512;return}E0(e,e.$ancestorComponent$);const r=()=>w3(e,o);if(o){queueMicrotask(()=>{r()});return}return r()},w3=(e,o)=>{const r=e.$hostElement$,i=Ct("scheduleUpdate",e.$cmpMeta$.$tagName$),s=e.$lazyInstance$;if(!s)throw new Error(`Can't render component <${r.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 o?(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([u,m])=>nr(s,u,m,r)),e.$queuedListeners$=void 0),e.$fetchedCbList$.length&&e.$fetchedCbList$.forEach(u=>u(r)),d=nr(s,"componentWillLoad",void 0,r)):d=nr(s,"componentWillUpdate",void 0,r),d=Gk(d,()=>nr(s,"componentWillRender",void 0,r)),i(),Gk(d,()=>j3(e,s,o))},Gk=(e,o)=>z3(e)?e.then(o).catch(r=>{console.error(r),o()}):o(),z3=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",j3=async(e,o,r)=>{var i;const s=e.$hostElement$,d=Ct("update",e.$cmpMeta$.$tagName$),u=s["s-rc"];r&&c3(e);const m=Ct("render",e.$cmpMeta$.$tagName$);S3(e,o,s,r),u&&(u.map(h=>h()),s["s-rc"]=void 0),m(),d();{const h=(i=s["s-p"])!=null?i:[],p=()=>T3(e);h.length===0?p():(Promise.all(h).then(p),e.$flags$|=4,h.length=0)}},S3=(e,o,r,i)=>{try{o=o.render&&o.render(),e.$flags$|=2,x3(e,o,i)}catch(s){fe(s,e.$hostElement$)}return null},T3=e=>{const o=e.$cmpMeta$.$tagName$,r=e.$hostElement$,i=Ct("postUpdate",o),s=e.$lazyInstance$,d=e.$ancestorComponent$;nr(s,"componentDidRender",void 0,r),e.$flags$&64?(nr(s,"componentDidUpdate",void 0,r),i()):(e.$flags$|=64,A3(r),nr(s,"componentDidLoad",void 0,r),i(),e.$onReadyResolve$(r),d||L0()),e.$onInstanceResolve$(r),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&p0(()=>_m(e,!1)),e.$flags$&=-517},L0=e=>{var o;p0(()=>v3(nn,"appload",{detail:{namespace:R5}})),(o=un.$orgLocNodes$)!=null&&o.size&&un.$orgLocNodes$.clear()},nr=(e,o,r,i)=>{if(e&&e[o])try{return e[o](r)}catch(s){fe(s,i)}},A3=e=>{var o;return e.classList.add((o=ha.hydratedSelectorName)!=null?o:"hydrated")},C3=(e,o)=>Jo(e).$instanceValues$.get(o),Pu=(e,o,r,i)=>{const s=Jo(e);if(!s)return;if(!s)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/stenciljs/core/issues/5457).`);const d=s.$hostElement$,u=s.$instanceValues$.get(o),m=s.$flags$,h=s.$lazyInstance$;r=Sb(r,i.$members$[o][0]);const p=Number.isNaN(u)&&Number.isNaN(r),v=r!==u&&!p;if((!(m&8)||u===void 0)&&v&&(s.$instanceValues$.set(o,r),h)){if(i.$watchers$&&m&128){const g=i.$watchers$[o];g&&g.map(k=>{try{h[k](r,u,o)}catch(S){fe(S,d)}})}if((m&18)===2){if(h.componentShouldUpdate&&h.componentShouldUpdate(r,u,o)===!1)return;_m(s,!1)}}},B0=(e,o,r)=>{var i,s;const d=e.prototype;if(o.$members$||ha.propChangeCallback){e.watchers&&!o.$watchers$&&(o.$watchers$=e.watchers),e.deserializers&&!o.$deserializers$&&(o.$deserializers$=e.deserializers),e.serializers&&!o.$serializers$&&(o.$serializers$=e.serializers);const u=Object.entries((i=o.$members$)!=null?i:{});if(u.map(([m,[h]])=>{if(h&31||r&2&&h&32){const{get:p,set:v}=Object.getOwnPropertyDescriptor(d,m)||{};p&&(o.$members$[m][0]|=2048),v&&(o.$members$[m][0]|=4096),(r&1||!p)&&Object.defineProperty(d,m,{get(){{if((o.$members$[m][0]&2048)===0)return C3(this,m);const g=Jo(this),k=g?g.$lazyInstance$:d;return k?k[m]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(d,m,{set(g){const k=Jo(this);if(k){if(v){typeof(h&32?this[m]:k.$hostElement$[m])>"u"&&k.$instanceValues$.get(m)&&(g=k.$instanceValues$.get(m)),v.apply(this,[Sb(g,h)]),g=h&32?this[m]:k.$hostElement$[m],Pu(this,m,g,o);return}{if((r&1)===0||(o.$members$[m][0]&4096)===0){Pu(this,m,g,o),r&1&&!k.$lazyInstance$&&k.$fetchedCbList$.push(()=>{o.$members$[m][0]&4096&&k.$lazyInstance$[m]!==k.$instanceValues$.get(m)&&(k.$lazyInstance$[m]=g)});return}const S=()=>{const B=k.$lazyInstance$[m];!k.$instanceValues$.get(m)&&B&&k.$instanceValues$.set(m,B),k.$lazyInstance$[m]=Sb(g,h),Pu(this,m,k.$lazyInstance$[m],o)};k.$lazyInstance$?S():k.$fetchedCbList$.push(()=>{S()})}}}})}else r&1&&h&64&&Object.defineProperty(d,m,{value(...p){var v;const g=Jo(this);return(v=g?.$onInstancePromise$)==null?void 0:v.then(()=>{var k;return(k=g.$lazyInstance$)==null?void 0:k[m](...p)})}})}),r&1){const m=new Map;d.attributeChangedCallback=function(h,p,v){un.jmp(()=>{var g;const k=m.get(h),S=Jo(this);if(this.hasOwnProperty(k)&&ha.lazyLoad&&(v=this[k],delete this[k]),d.hasOwnProperty(k)&&typeof this[k]=="number"&&this[k]==v)return;if(k==null){const N=S?.$flags$;if(S&&N&&!(N&8)&&N&128&&v!==p){const E=S.$lazyInstance$,y=(g=o.$watchers$)==null?void 0:g[h];y?.forEach(w=>{E[w]!=null&&E[w].call(E,v,p,h)})}return}const B=u.find(([N])=>N===k);B&&B[1][0]&4&&(v=!(v===null||v==="false"));const T=Object.getOwnPropertyDescriptor(d,k);v!=this[k]&&(!T.get||T.set)&&(this[k]=v)})},e.observedAttributes=Array.from(new Set([...Object.keys((s=o.$watchers$)!=null?s:{}),...u.filter(([h,p])=>p[0]&31).map(([h,p])=>{var v;const g=p[1]||h;return m.set(g,h),p[0]&512&&((v=o.$attrsToReflect$)==null||v.push([h,g])),g})]))}}return e},E3=async(e,o,r,i)=>{let s;if((o.$flags$&32)===0){if(o.$flags$|=32,r.$lazyBundleId$){const h=H5(r,o);if(h&&"then"in h){const v=i3();s=await h,v()}else s=h;if(!s)throw new Error(`Constructor for "${r.$tagName$}#${o.$modeName$}" was not found`);s.isProxied||(r.$watchers$=s.watchers,r.$serializers$=s.serializers,r.$deserializers$=s.deserializers,B0(s,r,2),s.isProxied=!0);const p=Ct("createInstance",r.$tagName$);o.$flags$|=8;try{new s(o)}catch(v){fe(v,e)}o.$flags$&=-9,o.$flags$|=128,p(),Eb(o.$lazyInstance$,e)}else{s=e.constructor;const h=e.localName;customElements.whenDefined(h).then(()=>o.$flags$|=128)}if(s&&s.style){let h;typeof s.style=="string"?h=s.style:typeof s.style!="string"&&(o.$modeName$=p3(e),o.$modeName$&&(h=s.style[o.$modeName$]));const p=mm(r,o.$modeName$);if(!Ds.has(p)){const v=Ct("registerStyles",r.$tagName$);x0(p,h,!!(r.$flags$&1)),v()}}}const d=o.$ancestorComponent$,u=()=>_m(o,!0);d&&d["s-rc"]?d["s-rc"].push(u):u()},Eb=(e,o)=>{nr(e,"connectedCallback",void 0,o)},L3=e=>{if((un.$flags$&1)===0){const o=Jo(e);if(!o)return;const r=o.$cmpMeta$,i=Ct("connectedCallback",r.$tagName$);if(o.$flags$&1)N0(e,o,r.$listeners$),o?.$lazyInstance$?Eb(o.$lazyInstance$,e):o?.$onReadyPromise$&&o.$onReadyPromise$.then(()=>Eb(o.$lazyInstance$,e));else{o.$flags$|=1;let s;if(s=e.getAttribute($i),s){if(r.$flags$&1){const d=w0(e.shadowRoot,r,e.getAttribute("s-mode"));e.classList.remove(d+"-h",d+"-s")}h3(e,r.$tagName$,s,o)}s||r.$flags$&12&&B3(e);{let d=e;for(;d=d.parentNode||d.host;)if(d.nodeType===1&&d.hasAttribute("s-id")&&d["s-p"]||d["s-p"]){E0(o,o.$ancestorComponent$=d);break}}r.$members$&&Object.entries(r.$members$).map(([d,[u]])=>{if(u&31&&d in e&&e[d]!==Object.prototype[d]){const m=e[d];delete e[d],e[d]=m}}),E3(e,o,r)}i()}},B3=e=>{if(!nn.document)return;const o=e["s-cr"]=nn.document.createComment("");o["s-cn"]=!0,Mr(e,o,e.firstChild)},Yk=(e,o)=>{nr(e,"disconnectedCallback",void 0,o||e)},N3=async e=>{if((un.$flags$&1)===0){const o=Jo(e);o?.$rmListeners$&&(o.$rmListeners$.map(r=>r()),o.$rmListeners$=void 0),o?.$lazyInstance$?Yk(o.$lazyInstance$,e):o?.$onReadyPromise$&&o.$onReadyPromise$.then(()=>Yk(o.$lazyInstance$,e))}_l.has(e)&&_l.delete(e),e.shadowRoot&&_l.has(e.shadowRoot)&&_l.delete(e.shadowRoot)},R3=(e,o={})=>{var r;if(!nn.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const i=Ct(),s=[],d=o.exclude||[],u=nn.customElements,m=nn.document.head,h=m.querySelector("meta[charset]"),p=nn.document.createElement("style"),v=[];let g,k=!0;Object.assign(un,o),un.$resourcesUrl$=new URL(o.resourcesUrl||"./",nn.document.baseURI).href,un.$flags$|=2,d3();let S=!1;if(e.map(B=>{B[1].map(T=>{var N,E,y;const w={$flags$:T[0],$tagName$:T[1],$members$:T[2],$listeners$:T[3]};w.$flags$&4&&(S=!0),w.$members$=T[2],w.$listeners$=T[3],w.$attrsToReflect$=[],w.$watchers$=(N=T[4])!=null?N:{},w.$serializers$=(E=T[5])!=null?E:{},w.$deserializers$=(y=T[6])!=null?y:{};const R=o.transformTagName?o.transformTagName(w.$tagName$):w.$tagName$,M=class extends HTMLElement{constructor(H){if(super(H),this.hasRegisteredEventListeners=!1,H=this,I5(H,w),w.$flags$&1){if(!H.shadowRoot)t3.call(H,w);else if(H.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${w.$tagName$}! Mode is set to ${H.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const H=Jo(this);H&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,N0(this,H,w.$listeners$)),g&&(clearTimeout(g),g=null),k?v.push(this):un.jmp(()=>L3(this)))}disconnectedCallback(){un.jmp(()=>N3(this)),un.raf(()=>{var H;const Z=Jo(this);if(!Z)return;const te=v.findIndex(le=>le===this);te>-1&&v.splice(te,1),((H=Z?.$vnode$)==null?void 0:H.$elm$)instanceof Node&&!Z.$vnode$.$elm$.isConnected&&delete Z.$vnode$.$elm$})}componentOnReady(){var H;return(H=Jo(this))==null?void 0:H.$onReadyPromise$}};w.$lazyBundleId$=B[0],!d.includes(R)&&!u.get(R)&&(s.push(R),u.define(R,B0(M,w,1)))})}),s.length>0&&(S&&(p.textContent+=h0),p.textContent+=s.sort()+P5,p.innerHTML.length)){p.setAttribute("data-styles","");const B=(r=un.$nonce$)!=null?r:_0(nn.document);B!=null&&p.setAttribute("nonce",B),m.insertBefore(p,h?h.nextSibling:m.firstChild)}k=!1,v.length?v.map(B=>B.connectedCallback()):un.jmp(()=>g=setTimeout(L0,30)),i()},zO=(e,o)=>o,N0=(e,o,r,i)=>{r&&nn.document&&r.map(([s,d,u])=>{const m=O3(nn.document,e,s),h=D3(o,u),p=$3(s);un.ael(m,d,h,p),(o.$rmListeners$=o.$rmListeners$||[]).push(()=>un.rel(m,d,h,p))})},D3=(e,o)=>r=>{var i;try{e.$flags$&256?(i=e.$lazyInstance$)==null||i[o](r):(e.$queuedListeners$=e.$queuedListeners$||[]).push([o,r])}catch(s){fe(s,e.$hostElement$)}},O3=(e,o,r)=>r&8?nn:o,$3=e=>G5?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0,M3=()=>{_3(e=>{try{e.shadowRoot instanceof ShadowRoot&&Rz(e,gz(e))}catch{}return"default"}),_e(()=>import("./devtools-C3sb0cO3-D8upNa8v.js"),__vite__mapDeps([106,9])).then(e=>{typeof e=="object"&&e!==null&&typeof e.initialize=="function"&&e.initialize()}).catch(e=>{Cn.error(e)})};const U3=M3;const F3=async(e,o)=>{if(!(typeof window>"u"))return await U3(),R3(JSON.parse('[["kol-abbr",[[289,"kol-abbr",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["kol-accordion",[[289,"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",[[289,"kol-alert",{"_alert":[4],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"_type":[1],"_variant":[1],"state":[32]}]]],["kol-alert-wc",[[260,"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",[[289,"kol-avatar",{"_color":[1],"_src":[1],"_label":[1]}]]],["kol-avatar-wc",[[256,"kol-avatar-wc",{"_color":[1],"_src":[1],"_label":[1],"state":[32]},null,{"_color":["validateColor"],"_src":["validateSrc"],"_label":["validateLabel"]}]]],["kol-badge",[[289,"kol-badge",{"_color":[1],"_icons":[1],"_label":[1],"_smartButton":[1,"_smart-button"],"state":[32],"kolFocus":[64]},null,{"_icons":["validateIcons"],"_color":["validateColor"],"_smartButton":["validateSmartButton"]}]]],["kol-breadcrumb",[[289,"kol-breadcrumb",{"_label":[1],"_links":[1],"state":[32]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-button",[[289,"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",[[289,"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",[[260,"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]},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",[[289,"kol-card",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2]}]]],["kol-card-wc",[[260,"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",[[289,"kol-combobox",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_hideClearButton":[4,"_hide-clear-button"],"_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],"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"],"_hideClearButton":["validateHideClearButton"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"]}]]],["kol-details",[[289,"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",[[289,"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",[[289,"kol-form",{"_on":[16],"_requiredText":[8,"_required-text"],"_errorList":[16],"state":[32],"focusErrorList":[64]},null,{"_on":["validateOn"],"_requiredText":["validateRequiredText"],"_errorList":["validateErrorList"]}]]],["kol-heading",[[289,"kol-heading",{"_label":[1],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"],"state":[32]},null,{"_label":["validateLabel"],"_level":["validateLevel"],"_secondaryHeadline":["validateSecondaryHeadline"]}]]],["kol-icon",[[289,"kol-icon",{"_icons":[1],"_label":[1],"state":[32]},null,{"_icons":["validateIcons"],"_label":["validateLabel"]}]]],["kol-image",[[289,"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",[[289,"kol-input-checkbox",{"_accessKey":[1,"_access-key"],"_checked":[1540],"_hideMsg":[4,"_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",[[289,"kol-input-color",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_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":[1],"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",[[289,"kol-input-date",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_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",[[289,"kol-input-email",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_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"],"_maxLengthBehavior":["validateMaxLengthBehavior"]}]]],["kol-input-file",[[289,"kol-input-file",{"_accept":[1],"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_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],"reset":[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",[[289,"kol-input-number",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_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",[[289,"kol-input-password",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_variant":["validateVariant"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_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",[[289,"kol-input-radio",{"_disabled":[4],"_hideMsg":[4,"_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",[[289,"kol-input-range",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_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",[[289,"kol-input-text",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_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],"selectionStart":[64],"selectioconEnd":[64],"setSelectionRange":[64],"setSelectionStart":[64],"setRangeText":[64]},null,{"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_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",[[289,"kol-kolibri",{"_color":[1],"_labeled":[4],"state":[32]},null,{"_color":["validateColor"],"_labeled":["validateLabeled"]}]]],["kol-link",[[289,"kol-link",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_variant":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"kolFocus":[64]}]]],["kol-link-button",[[289,"kol-link-button",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"kolFocus":[64]}]]],["kol-link-wc",[[260,"kol-link-wc",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_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"],"_ariaControls":["validateAriaControls"],"_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",[[289,"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",[[289,"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",[[289,"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",[[256,"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",[[289,"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],"showPopover":[64],"kolFocus":[64]}]]],["kol-popover-button-wc",[[260,"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],"showPopover":[64],"kolFocus":[64]},null,{"_popoverAlign":["validatePopoverAlign"]}]]],["kol-popover-wc",[[260,"kol-popover-wc",{"_align":[1],"_on":[16],"_show":[1540],"state":[32]},null,{"_align":["validateAlign"],"_on":["validateOn"],"_show":["validateShow"]}]]],["kol-progress",[[289,"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",[[289,"kol-quote",{"_label":[1],"_href":[1],"_quote":[1],"_variant":[1],"state":[32]},null,{"_label":["validateLabel"],"_href":["validateHref"],"_quote":["validateQuote"],"_variant":["validateVariant"]}]]],["kol-select",[[289,"kol-select",{"_accessKey":[1,"_access-key"],"_disabled":[4],"_hideMsg":[4,"_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",[[289,"kol-single-select",{"_accessKey":[1,"_access-key"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_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],"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",[[289,"kol-skip-nav",{"_label":[1],"_links":[1],"state":[32],"kolFocus":[64]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-spin",[[289,"kol-spin",{"_show":[1540],"_label":[1],"_variant":[1],"state":[32]},null,{"_show":["validateShow"],"_label":["validateLabel"],"_variant":["validateVariant"]}]]],["kol-split-button",[[289,"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",[[256,"kol-table-settings-wc",{"_tableSettings":[16],"tableSettings":[32],"errorMessage":[32]},null,{"_tableSettings":["handleTableSettingsChange"]}]]],["kol-table-stateful",[[289,"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],"_hasSettingsMenu":[4,"_has-settings-menu"],"state":[32],"getSelection":[64]},null,{"_allowMultiSort":["validateAllowMultiSort"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_paginationPosition":["validatePaginationPosition"],"_hasSettingsMenu":["validateHasSettingsMenu"],"_headers":["validateHeaders"],"_label":["validateLabel"],"_minWidth":["validateMinWidth"],"_selection":["validateSelection"],"_on":["validateOn"],"_tableSettings":["validateTableSettings"],"_pagination":["validatePagination"]}]]],["kol-table-stateless",[[289,"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],"_hasSettingsMenu":[4,"_has-settings-menu"]}]]],["kol-table-stateless-wc",[[256,"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],"_hasSettingsMenu":[4,"_has-settings-menu"],"state":[32],"tableDivElementHasScrollbar":[32],"previousHeaderCells":[32]},[[0,"keydown","handleKeyDown"],[0,"settingsChange","handleSettingsChange"]],{"_hasSettingsMenu":["validateHasSettingsMenu"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_headerCells":["validateHeaderCells"],"_label":["validateLabel"],"_minWidth":["validateMinWidth"],"_on":["validateOn"],"_selection":["validateSelection"],"_tableSettings":["validateTableSettings"]}]]],["kol-tabs",[[289,"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",[[289,"kol-textarea",{"_accessKey":[1,"_access-key"],"_adjustHeight":[4,"_adjust-height"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_id":[1],"_label":[1],"_maxLength":[2,"_max-length"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_msg":[1],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_resize":[1],"_required":[4],"_rows":[1026],"_shortKey":[1,"_short-key"],"_spellCheck":[4,"_spell-check"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"state":[32],"inputHasFocus":[32],"getValue":[64],"kolFocus":[64]},null,{"_accessKey":["validateAccessKey"],"_adjustHeight":["validateAdjustHeight"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_id":["validateId"],"_label":["validateLabel"],"_maxLength":["validateMaxLength"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_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",[[289,"kol-toast-container",{"state":[32],"enqueue":[64],"closeAll":[64]}]]],["kol-toolbar",[[289,"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",[[256,"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",[[289,"kol-tree",{"_label":[1]}]]],["kol-tree-item",[[289,"kol-tree-item",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"focusLink":[64],"expand":[64],"collapse":[64],"isOpen":[64]}]]],["kol-tree-item-wc",[[260,"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",[[260,"kol-tree-wc",{"_label":[1],"state":[32]},[[0,"keydown","handleKeyDown"],[0,"focusout","handleFocusOut"]],{"_label":["validateLabel"]}]]],["kol-version",[[289,"kol-version",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["test-component",[[0,"test-component"]]]]'),o)};(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 Lb={};function I3(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var As={exports:{}},H3=As.exports,Xk;function K3(){return Xk||(Xk=1,(function(e){(function(o,r){e.exports?e.exports=r():o.log=r()})(H3,function(){var o=function(){},r="undefined",i=typeof window!==r&&typeof window.navigator!==r&&/Trident\/|MSIE /.test(window.navigator.userAgent),s=["trace","debug","info","warn","error"],d={},u=null;function m(T,N){var E=T[N];if(typeof E.bind=="function")return E.bind(T);try{return Function.prototype.bind.call(E,T)}catch{return function(){return Function.prototype.apply.apply(E,[T,arguments])}}}function h(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function p(T){return T==="debug"&&(T="log"),typeof console===r?!1:T==="trace"&&i?h:console[T]!==void 0?m(console,T):console.log!==void 0?m(console,"log"):o}function v(){for(var T=this.getLevel(),N=0;N<s.length;N++){var E=s[N];this[E]=N<T?o:this.methodFactory(E,T,this.name)}if(this.log=this.debug,typeof console===r&&T<this.levels.SILENT)return"No console available for logging"}function g(T){return function(){typeof console!==r&&(v.call(this),this[T].apply(this,arguments))}}function k(T,N,E){return p(T)||g.apply(this,arguments)}function S(T,N){var E=this,y,w,R,M="loglevel";typeof T=="string"?M+=":"+T:typeof T=="symbol"&&(M=void 0);function H(ae){var re=(s[ae]||"silent").toUpperCase();if(!(typeof window===r||!M)){try{window.localStorage[M]=re;return}catch{}try{window.document.cookie=encodeURIComponent(M)+"="+re+";"}catch{}}}function Z(){var ae;if(!(typeof window===r||!M)){try{ae=window.localStorage[M]}catch{}if(typeof ae===r)try{var re=window.document.cookie,we=encodeURIComponent(M),Re=re.indexOf(we+"=");Re!==-1&&(ae=/^([^;]+)/.exec(re.slice(Re+we.length+1))[1])}catch{}return E.levels[ae]===void 0&&(ae=void 0),ae}}function te(){if(!(typeof window===r||!M)){try{window.localStorage.removeItem(M)}catch{}try{window.document.cookie=encodeURIComponent(M)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}function le(ae){var re=ae;if(typeof re=="string"&&E.levels[re.toUpperCase()]!==void 0&&(re=E.levels[re.toUpperCase()]),typeof re=="number"&&re>=0&&re<=E.levels.SILENT)return re;throw new TypeError("log.setLevel() called with invalid level: "+ae)}E.name=T,E.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},E.methodFactory=N||k,E.getLevel=function(){return R??w??y},E.setLevel=function(ae,re){return R=le(ae),re!==!1&&H(R),v.call(E)},E.setDefaultLevel=function(ae){w=le(ae),Z()||E.setLevel(ae,!1)},E.resetLevel=function(){R=null,te(),v.call(E)},E.enableAll=function(ae){E.setLevel(E.levels.TRACE,ae)},E.disableAll=function(ae){E.setLevel(E.levels.SILENT,ae)},E.rebuild=function(){if(u!==E&&(y=le(u.getLevel())),v.call(E),u===E)for(var ae in d)d[ae].rebuild()},y=le(u?u.getLevel():"WARN");var Me=Z();Me!=null&&(R=le(Me)),v.call(E)}u=new S,u.getLogger=function(N){if(typeof N!="symbol"&&typeof N!="string"||N==="")throw new TypeError("You must supply a name when creating a logger.");var E=d[N];return E||(E=d[N]=new S(N,u.methodFactory)),E};var B=typeof window!==r?window.log:void 0;return u.noConflict=function(){return typeof window!==r&&window.log===u&&(window.log=B),u},u.getLoggers=function(){return d},u.default=u,u})})(As)),As.exports}K3();const V3=(e,o)=>r=>r(e,o),q3=(e,o)=>r=>r(e,o,{append:!1}),Z3=()=>{const e=typeof process<"u"&&Lb?Lb:{},o=e.NODE_ENV==="test",r="VITEST"in e,i="JEST_WORKER_ID"in e,s="PLAYWRIGHT_TEST_BASE_URL"in e,d=e.CI==="true",u=e.TEST==="true"||e.IS_TEST==="true",m=typeof navigator<"u"&&navigator.webdriver===!0,h=typeof navigator<"u"&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return o||r||i||s||d||u||m||h},Oo={A11yUi:{CSS_STYLE_CACHE:new Map,IS_TEST_ENVIRONMENT:Z3(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,showAverageTimes:()=>{const e={};for(const[r,i]of Oo.A11yUi.PERFORMANCE_MEASURES.entries())e[r]=[i.totalTime/i.count,i.count];const o=Object.entries(e).sort((r,i)=>i[1][0]-r[1][0]);return console.table(Object.fromEntries(o.map(([r,[i,s]])=>[r,{"avg (ms)":parseFloat(i.toFixed(2)),count:s}]))),e}}},R0=new Set,P3=/--[^;]+/g,G3=/:/,Y3=typeof MutationObserver<"u";let D0=()=>{Math.min(25+Math.log2(Oo.A11yUi.STYLING_TASK_QUEUE.size+1)*20,250)};const X3=(e,o)=>{let r=o.match(P3);if(Array.isArray(r)){r=r.filter(s=>G3.test(s));const i=document.createElement("style");i.innerHTML=`.${e} {${r.join(";")}}`,document.querySelector("head")?.appendChild(i)}R0.add(e)},Gu=(e,o)=>{const r=Oo.A11yUi.THEMES.get(e);return r instanceof Map&&r.has(o)?r.get(o):""},Q3=e=>{for(const o of Array.from(e.childNodes))if(o instanceof HTMLStyleElement&&o.tagName==="STYLE"&&o.dataset.themingFallback===void 0)e.removeChild(o);else break},J3=(e,o)=>{try{if(Oo.A11yUi.Theme?.mode==="ssr")throw new Error("SSR");const r=[];o.forEach(i=>{const s=new CSSStyleSheet;s.replaceSync(i),r.push(s)}),e.adoptedStyleSheets=r}catch{[...o].reverse().forEach((r,i)=>{if(typeof r!="string"||r.length===0)return;const s=document.createElement("style");switch(s.dataset.themingFallback="",i){case 4:s.dataset.themingBaseA11y="";break;case 3:s.dataset.themingBaseGlobal="";break;case 2:s.dataset.themingBaseComponent="";break;case 1:s.dataset.themingCustomGlobal="";break;case 0:s.dataset.themingCustomComponent="";break;default:s.dataset.themingUnknown="";break}s.innerHTML=r,e.insertBefore(s,e.firstChild)})}},W3=(e,o,r)=>{if(r!==!1){const i=[...Array.from(e.childNodes).filter(d=>d instanceof HTMLStyleElement&&d.tagName==="STYLE")];let s;try{s=[...Array.from(e.adoptedStyleSheets)]}catch{s=[]}r?.mode==="before"?(i.reverse().forEach(d=>o.unshift(d.innerHTML)),s.reverse().forEach(d=>o.unshift(Array.from(d.cssRules).map(u=>u.cssText).join("")))):r?.mode==="after"&&(i.forEach(d=>o.push(d.innerHTML)),s.forEach(d=>o.push(Array.from(d.cssRules).map(u=>u.cssText).join(""))))}},ej=(e,o,r)=>{const i=o.name||"default";let s;try{if(e.shadowRoot===null)throw new Error("ShadowRoot is null");s=e.shadowRoot}catch{s=e}if(Oo.A11yUi.CSS_STYLE_CACHE.get(i)?.has(e.tagName))Qk(e,s,Oo.A11yUi.CSS_STYLE_CACHE.get(i)?.get(e.tagName),r);else{const d=Gu(i,"PROPERTIES"),u=Gu(i,"GLOBAL"),m=Gu(i,e.tagName);R0.has(i)===!1&&X3(i,u);const h=[d,u,m];W3(s,h,o.encroachCss),o.cache===!0&&(Oo.A11yUi.CSS_STYLE_CACHE.has(i)===!1&&Oo.A11yUi.CSS_STYLE_CACHE.set(i,new Map),Oo.A11yUi.CSS_STYLE_CACHE.get(i)?.set(e.tagName,h)),Qk(e,s,h,r)}},Qk=(e,o,r,i)=>{const s=performance.now();if(Q3(o),J3(o,r),O0(e),i(),Oo.A11yUi.PERFORMANCE_MEASURES.has(e.tagName)){const d=Oo.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);d.count+=1,d.totalTime+=performance.now()-s}else Oo.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:performance.now()-s})},nj=e=>{const o=Oo.A11yUi.STYLING_TASK_QUEUE.get(e);if(o){const{resetCss:r,themeDetails:i}=o;ej(e,i,r),O0(e)}},oj={attributes:!0,attributeFilter:[],childList:!1,subtree:!1},tj=Y3?new MutationObserver((e,o)=>{for(const r of e){const i=r.target;i.classList.contains("hydrated")&&(nj(i),o.observe(i,oj))}}):null;tj&&(D0=()=>{});const O0=e=>{Oo.A11yUi.STYLING_TASK_QUEUE.delete(e),D0()};class rj{Prefix;Key;Tag;createTheme=(o,r)=>q3(o,r);createTranslation=(o,r)=>V3(o,r);constructor(o,r,i){this.Prefix=o,this.Key=Object.getOwnPropertyNames(r),this.Tag=Object.getOwnPropertyNames(i)}}var Bb;(function(e){e[e.error=0]="error",e[e.warning=1]="warning",e[e.info=2]="info",e[e.success=3]="success",e[e.message=4]="message",e[e.close=5]="close",e[e["form-description"]=6]="form-description",e[e.of=7]="of",e[e.characters=8]="characters",e[e.new=9]="new",e[e["no-entries"]=10]="no-entries",e[e["change-order"]=11]="change-order",e[e["action-running"]=12]="action-running",e[e["action-done"]=13]="action-done",e[e["page-first"]=14]="page-first",e[e["page-back"]=15]="page-back",e[e["page-next"]=16]="page-next",e[e["page-last"]=17]="page-last",e[e["entries-per-site"]=18]="entries-per-site",e[e["page-current"]=19]="page-current",e[e["page-selected"]=20]="page-selected",e[e["page-per-site"]=21]="page-per-site",e[e["logo-description"]=22]="logo-description",e[e["open-link-in-tab"]=23]="open-link-in-tab",e[e["kolibri-logo"]=24]="kolibri-logo"})(Bb||(Bb={}));var Nb;(function(e){e[e.abbr=0]="abbr",e[e.accordion=1]="accordion",e[e.alert=2]="alert",e[e.avatar=3]="avatar",e[e.badge=4]="badge",e[e.breadcrumb=5]="breadcrumb",e[e.button=6]="button",e[e["button-link"]=7]="button-link",e[e.card=8]="card",e[e.combobox=9]="combobox",e[e.details=10]="details",e[e.drawer=11]="drawer",e[e.form=12]="form",e[e.heading=13]="heading",e[e.icon=14]="icon",e[e.image=15]="image",e[e["input-checkbox"]=16]="input-checkbox",e[e["input-color"]=17]="input-color",e[e["input-date"]=18]="input-date",e[e["input-email"]=19]="input-email",e[e["input-file"]=20]="input-file",e[e["input-number"]=21]="input-number",e[e["input-password"]=22]="input-password",e[e["input-radio"]=23]="input-radio",e[e["input-range"]=24]="input-range",e[e["input-text"]=25]="input-text",e[e.kolibri=26]="kolibri",e[e.link=27]="link",e[e["link-button"]=28]="link-button",e[e.logo=29]="logo",e[e.modal=30]="modal",e[e.nav=31]="nav",e[e.pagination=32]="pagination",e[e["popover-button"]=33]="popover-button",e[e.progress=34]="progress",e[e.quote=35]="quote",e[e.select=36]="select",e[e["single-select"]=37]="single-select",e[e["skip-nav"]=38]="skip-nav",e[e.spin=39]="spin",e[e["split-button"]=40]="split-button",e[e.symbol=41]="symbol",e[e.table=42]="table",e[e["table-stateful"]=43]="table-stateful",e[e["table-stateless"]=44]="table-stateless",e[e.tabs=45]="tabs",e[e.textarea=46]="textarea",e[e["toast-container"]=47]="toast-container",e[e.toolbar=48]="toolbar",e[e.tooltip=49]="tooltip",e[e.tree=50]="tree",e[e["tree-item"]=51]="tree-item"})(Nb||(Nb={}));const Rb=["development","production","test"];let Db="production";const aj=e=>{try{if(Rb.includes(e))Db=e;else throw new Error(`Invalid NODE_ENV value: ${e}. Expected one of ${Rb.join(", ")}.`)}catch{Db="production"}},lj=()=>{try{const e=typeof process<"u"&&Lb?"production":void 0;if(e&&Rb.includes(e))return e}catch{}return"production"};aj(lj());const ij=()=>Db==="development",cj="color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000",fl=e=>Array.isArray(e)?e:[e],Jk=e=>`%c${e}`,sj=(e,o)=>typeof o=="string"&&o.length>0?`${Jk(e)} | ${o}`:Jk(e),ul=(e,o)=>[sj(e,o?.classifier),`${cj};${o?.overwriteStyle||""}`],zi=e=>ij()||e===!0;class dj{constructor(o){this.label=o}debug(o,r){zi(r?.forceLog)&&console.debug(...ul(this.label,r),...fl(o))}info(o,r){zi(r?.forceLog)&&console.info(...ul(this.label,r),...fl(o))}trace(o,r){zi(r?.forceLog)&&console.trace(...ul(this.label,r),...fl(o))}warn(o,r){zi(r?.forceLog)&&console.warn(...ul(this.label,r),...fl(o))}error(o,r){console.error(...ul(this.label,r),...fl(o))}throw(o,r){if(zi(r?.forceLog))throw new Error(...ul(this.label,r),...fl(o))}}const fj=new dj("KoliBri"),Wk=new Set,uj=(e,o)=>{Wk.has(e)===!1&&(Wk.add(e),fj.debug([e].concat([]),{classifier:"💻 dev",forceLog:!1,overwriteStyle:"; background-color: #f09"}))};uj("We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!");var Dr={exports:{}},e1;function bj(){if(e1)return Dr.exports;e1=1,Dr.exports=e,Dr.exports.arr=e,Dr.exports.obj=o,Dr.exports.css=r,Dr.exports.hex=i,Dr.exports.num=s;function e(y){var w=d(y);return w.length==3?w.concat(255):(w[3]=Math.round(w[3]),w)}function o(y){var w=d(y);return{r:w[0],g:w[1],b:w[2],a:w.length==3?255:Math.round(w[3])}}function r(y){var w=d(y);return w.length==3&&w.push(255),w[3]==255?"rgb("+w[0]+", "+w[1]+", "+w[2]+")":w[3]==0?"rgba("+w[0]+", "+w[1]+", "+w[2]+", 0)":"rgba("+w[0]+", "+w[1]+", "+w[2]+", "+String(w[3]/255).substr(1)+")"}function i(y){var Z=d(y);Z.length==3&&Z.push(255);var w=Z[3]==255,R=u(Z[0]),M=u(Z[1]),H=u(Z[2]),Z=u(Math.round(Z[3])),te=m(R,M,H,Z);return w?te?"#"+R.charAt(0)+M.charAt(0)+H.charAt(0):"#"+R+M+H:te?"#"+R.charAt(0)+M.charAt(0)+H.charAt(0)+Z.charAt(0):"#"+R+M+H+Z}function s(y){var w=d(y);return w.length==3?w.push(255):w[3]=Math.round(w[3]),(w[3]<<24>>>0|w[0]<<16|w[1]<<8|w[2])>>>0}function d(y){return typeof y=="string"?(y=y.toLowerCase(),h(y)||v(y)||g(y)||N(y)||E(y)||[0,0,0,255]):S(y)||B(y)||T(y)||[0,0,0,255]}function u(y){var w=y.toString(16);return w.length==1?"0"+w:w}function m(y,w,R,M){var H=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return H.indexOf(y)!=-1&&H.indexOf(w)!=-1&&H.indexOf(R)!=-1&&H.indexOf(M)!=-1}function h(y){if(y=="red")return[255,0,0];if(y=="green")return[0,255,0];if(y=="blue")return[0,0,255];if(y=="black")return[0,0,0];if(y=="white")return[255,255,255];if(y=="cyan")return[0,255,255];if(y=="gray")return[128,128,128];if(y=="grey")return[128,128,128];if(y=="magenta")return[255,0,255];if(y=="pink")return[255,0,255];if(y=="yellow")return[255,255,0]}function p(y){return y.length==1?parseInt(y+y,16):parseInt(y,16)}function v(y){var w=y.replace(/^#/,""),R=w.length;if(R==3||R==4){var M=p(w[0]),H=p(w[1]),Z=p(w[2]),te=R==3?255:p(w[3]);return isNaN(M)||isNaN(H)||isNaN(Z)||isNaN(te)?void 0:[M,H,Z,te]}}function g(y){var w=y.replace(/^#/,""),R=w.length;if(R==6||R==8){var M=p(w.slice(0,2)),H=p(w.slice(2,4)),Z=p(w.slice(4,6)),te=R==6?255:p(w.slice(6,8));return isNaN(M)||isNaN(H)||isNaN(Z)||isNaN(te)?void 0:[M,H,Z,te]}}function k(y,w){return typeof y!="number"||w===!0&&Math.floor(y)!==y?-1:y>=0&&y<=255?y:-1}function S(y){if(Object.prototype.toString.call(y)==="[object Object]"&&Object.getPrototypeOf(y)===Object.getPrototypeOf({})){var w=k(y.r!=null?y.r:y.red!=null?y.red:0,!0),R=k(y.g!=null?y.g:y.green!=null?y.green:0,!0),M=k(y.b!=null?y.b:y.blue!=null?y.blue:0,!0),H=k(y.a!=null?y.a:y.alpha!=null?y.alpha:255,!0);if(w!=-1&&R!=-1&&M!=-1&&H!=-1)return[w,R,M,H]}}function B(y){if(Array.isArray(y)&&(y.length==3||y.length==4)){var w=k(y[0],!0),R=k(y[1],!0),M=k(y[2],!0),H=k(y[3]!=null?y[3]:255,!0);if(w!=-1&&R!=-1&&M!=-1&&H!=-1)return[w,R,M,H]}}function T(y){if(typeof y=="number"&&Math.floor(y)==y&&y<=4294967295&&y>=0){var w=y>>24&255,R=y>>16&255,M=y>>8&255,H=y&255;return[R,M,H,w]}}function N(y){if(y.substr(0,4)=="rgb("){y=y.match(/^rgb\(([^)]+)\)/)[1];var w=y.split(/ *, */).map(Number),R=k(w[0],!0),M=k(w[1],!0),H=k(w[2],!0);if(R!=-1&&M!=-1&&H!=-1)return[R,M,H,255]}}function E(y){if(y.substr(0,5)=="rgba("){y=y.match(/^rgba\(([^)]+)\)/)[1];var w=y.split(/ *, */).map(Number),R=k(w[0],!0),M=k(w[1],!0),H=k(w[2],!0),Z=k(w[3]*255);if(R!=-1&&M!=-1&&H!=-1&&Z!=-1)return[R,M,H,Z]}}return Dr.exports}bj();var Yu={},n1;function mj(){return n1||(n1=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.querySelectorAll=void 0;const o=(i,s)=>{s.forEach(d=>{i.has(d)===!1&&i.add(d)})},r=(i,s=document)=>{if(s instanceof Document||s instanceof HTMLElement||s instanceof ShadowRoot){const d=new Set;o(d,s.querySelectorAll(i));const u=s.querySelectorAll('[class*="hydrated"]');for(let m=0;m<u.length;m++){const h=u[m].shadowRoot;typeof h=="object"&&h!==null?o(d,(0,e.querySelectorAll)(i,h)):o(d,(0,e.querySelectorAll)(i,u[m]))}return Array.from(d)}else throw new Error("The parameter document for the method querySelectorAll is not type of Document, HTMLElement or ShadowRoot.")};e.querySelectorAll=r})(Yu)),Yu}mj();var Xu={},o1;function hj(){return o1||(o1=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.querySelector=void 0;const o=(r,i=document)=>{if(i instanceof Document||i instanceof HTMLElement||i instanceof ShadowRoot){let s=i.querySelector(r);if(s===null){const d=i.querySelectorAll('[class*="hydrated"]');for(let u=0;u<d.length;u++){const m=d[u].shadowRoot;if(typeof m=="object"&&m!==null?s=(0,e.querySelector)(r,m):s=(0,e.querySelector)(r,d[u]),s!==null)break}}return s}else throw new Error("The parameter document for the method querySelector is not type of Document, HTMLElement or ShadowRoot.")};e.querySelector=o})(Xu)),Xu}hj();new Event("StateChange");var Qu,t1;function pj(){return t1||(t1=1,Qu=function(o){return function(r,i){if(!r)return o;var s;typeof r=="string"?s=r:i=r;var d=o;return s&&(d+="__"+s),d+(i?Object.keys(i).reduce(function(u,m){var h=i[m];return h&&(u+=" "+(typeof h=="boolean"?d+"--"+m:d+"--"+m+"_"+h)),u},""):"")}}),Qu}var _j=pj(),vj=I3(_j);function $0(){const e=new Map,o=(r,i,s)=>{try{return e.get(r)(i,s)}catch{return e.set(r,vj(r)).get(r)(i,s)}};return o.forBlock=r=>{const i=(s,d)=>o(r,s,d);return i.forElement=s=>d=>o(r,s,d),i},o}const M0=$0();M0("kol-icon");M0("kol-icon","icon");const vm=$0();vm("kol-alert","closer");vm("kol-alert","content");vm("kol-alert","icon");var r1;(function(e){e.blur="kolBlur",e.change="kolChange",e.changePage="kolChangePage",e.changePageSize="kolChangePageSize",e.click="kolClick",e.close="kolClose",e.create="kolCreate",e.focus="kolFocus",e.input="kolInput",e.keydown="kolKeydown",e.mousedown="kolMousedown",e.reset="kolReset",e.select="kolSelect",e.selectionChange="kolSelectionChange",e.settingsChange="settingsChange",e.sort="kolSort",e.submit="kolSubmit",e.toggle="kolToggle"})(r1||(r1={}));const gm=new rj("kol",Bb,Nb);var uo;(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"})(uo||(uo={}));var Ve;(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"})(Ve||(Ve={}));var ir;(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"})(ir||(ir={}));const xe=new Map;xe.set(uo["Die Bundesregierung"],["Die","Bundesregierung"]);xe.set(uo["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]);xe.set(uo["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]);xe.set(uo["Auswärtiges Amt"],["Auswärtiges Amt"]);xe.set(uo["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]);xe.set(uo["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]);xe.set(uo["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]);xe.set(uo["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]);xe.set(uo["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]);xe.set(uo["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]);xe.set(uo["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]);xe.set(uo["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]);xe.set(uo["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]);xe.set(uo["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]);xe.set(uo["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]);xe.set(Ve["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]);xe.set(Ve["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]);xe.set(Ve["Bundesamt für äußere Restitutionen"],[]);xe.set(Ve["Bundesamt für Bauwesen und Raumordnung"],[]);xe.set(Ve["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]);xe.set(Ve["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]);xe.set(Ve["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]);xe.set(Ve["Bundesamt für Justiz"],["Bundesamt für","Justiz"]);xe.set(Ve["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]);xe.set(Ve["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]);xe.set(Ve["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]);xe.set(Ve["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]);xe.set(Ve["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]);xe.set(Ve["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]);xe.set(Ve["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]);xe.set(Ve["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]);xe.set(Ve["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]);xe.set(Ve.Bundesarchiv,["Das","Bundesarchiv"]);xe.set(Ve["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]);xe.set(Ve.Bundesausgleichsamt,["Bundesausgleichsamt"]);xe.set(Ve.Bundeskartellamt,["Bundeskartellamt"]);xe.set(Ve.Bundeskriminalamt,["Bundeskriminalamt"]);xe.set(Ve.Bundesnachrichtendienst,["Bundesnachrichtendienst"]);xe.set(Ve["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]);xe.set(Ve.Bundespolizeipräsidium,["Bundespolizeipräsidium"]);xe.set(Ve["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]);xe.set(Ve.Bundessortenamt,["Bundessortenamt"]);xe.set(Ve.Bundessprachenamt,["Bundessprachenamt"]);xe.set(Ve["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]);xe.set(Ve.Bundesverwaltungsamt,["Bundesverwaltungsamt"]);xe.set(Ve["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]);xe.set(Ve["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]);xe.set(Ve["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]);xe.set(Ve.Generalzolldirektion,["Generalzolldirektion"]);xe.set(Ve["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]);xe.set(Ve["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]);xe.set(ir["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]);xe.set(ir["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]);xe.set(ir["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]);xe.set(ir["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]);xe.set(ir["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]);xe.set(ir["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]);xe.set(ir["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]);var gj=`/* forward the rem function */
32
32
  @layer kol-theme-component {
33
33
  abbr {
34
34
  text-decoration: none;
@@ -573,10 +573,9 @@ Link:
573
573
  .kol-input-container--disabled {
574
574
  color: var(--color-text);
575
575
  background-color: var(--color-mute);
576
- border-color: var(--color-mute-variant);
577
576
  cursor: not-allowed;
578
577
  }
579
- .kol-input-container:not(.kol-input-container--disabled):hover {
578
+ .kol-input-container:not(.kol-input-container--disabled, .kol-input-container:has(.kol-input--readonly)):hover {
580
579
  border-color: var(--color-primary);
581
580
  }
582
581
  .kol-input-container:has(.kol-input:focus, .kol-select:focus, .kol-textarea:focus) {
@@ -585,6 +584,14 @@ Link:
585
584
  outline-offset: 2px;
586
585
  transition: 200ms outline-offset linear;
587
586
  }
587
+ .kol-input-container:has(.kol-input--readonly), .kol-input-container:has(.kol-textarea--readonly), .kol-input-container--disabled {
588
+ border-color: var(--color-mute-variant);
589
+ border-width: 1px;
590
+ border-bottom: 2px solid var(--color-subtle);
591
+ }
592
+ .kol-input-container:has(.kol-input--readonly) .kol-input-container__container, .kol-input-container:has(.kol-textarea--readonly) .kol-input-container__container, .kol-input-container--disabled .kol-input-container__container {
593
+ padding-top: 1px;
594
+ }
588
595
  .kol-input-container__smart-button {
589
596
  position: relative;
590
597
  z-index: 2;
@@ -9014,10 +9021,9 @@ Link:
9014
9021
  .kol-input-container--disabled {
9015
9022
  color: var(--color-text);
9016
9023
  background-color: var(--color-mute);
9017
- border-color: var(--color-mute-variant);
9018
9024
  cursor: not-allowed;
9019
9025
  }
9020
- .kol-input-container:not(.kol-input-container--disabled):hover {
9026
+ .kol-input-container:not(.kol-input-container--disabled, .kol-input-container:has(.kol-input--readonly)):hover {
9021
9027
  border-color: var(--color-primary);
9022
9028
  }
9023
9029
  .kol-input-container:has(.kol-input:focus, .kol-select:focus, .kol-textarea:focus) {
@@ -9026,6 +9032,14 @@ Link:
9026
9032
  outline-offset: 2px;
9027
9033
  transition: 200ms outline-offset linear;
9028
9034
  }
9035
+ .kol-input-container:has(.kol-input--readonly), .kol-input-container:has(.kol-textarea--readonly), .kol-input-container--disabled {
9036
+ border-color: var(--color-mute-variant);
9037
+ border-width: 1px;
9038
+ border-bottom: 2px solid var(--color-subtle);
9039
+ }
9040
+ .kol-input-container:has(.kol-input--readonly) .kol-input-container__container, .kol-input-container:has(.kol-textarea--readonly) .kol-input-container__container, .kol-input-container--disabled .kol-input-container__container {
9041
+ padding-top: 1px;
9042
+ }
9029
9043
  .kol-input-container__smart-button {
9030
9044
  position: relative;
9031
9045
  z-index: 2;
@@ -9390,10 +9404,9 @@ Link:
9390
9404
  .kol-input-container--disabled {
9391
9405
  color: var(--color-text);
9392
9406
  background-color: var(--color-mute);
9393
- border-color: var(--color-mute-variant);
9394
9407
  cursor: not-allowed;
9395
9408
  }
9396
- .kol-input-container:not(.kol-input-container--disabled):hover {
9409
+ .kol-input-container:not(.kol-input-container--disabled, .kol-input-container:has(.kol-input--readonly)):hover {
9397
9410
  border-color: var(--color-primary);
9398
9411
  }
9399
9412
  .kol-input-container:has(.kol-input:focus, .kol-select:focus, .kol-textarea:focus) {
@@ -9402,6 +9415,14 @@ Link:
9402
9415
  outline-offset: 2px;
9403
9416
  transition: 200ms outline-offset linear;
9404
9417
  }
9418
+ .kol-input-container:has(.kol-input--readonly), .kol-input-container:has(.kol-textarea--readonly), .kol-input-container--disabled {
9419
+ border-color: var(--color-mute-variant);
9420
+ border-width: 1px;
9421
+ border-bottom: 2px solid var(--color-subtle);
9422
+ }
9423
+ .kol-input-container:has(.kol-input--readonly) .kol-input-container__container, .kol-input-container:has(.kol-textarea--readonly) .kol-input-container__container, .kol-input-container--disabled .kol-input-container__container {
9424
+ padding-top: 1px;
9425
+ }
9405
9426
  .kol-input-container__smart-button {
9406
9427
  position: relative;
9407
9428
  z-index: 2;
@@ -9579,10 +9600,9 @@ Link:
9579
9600
  .kol-input-container--disabled {
9580
9601
  color: var(--color-text);
9581
9602
  background-color: var(--color-mute);
9582
- border-color: var(--color-mute-variant);
9583
9603
  cursor: not-allowed;
9584
9604
  }
9585
- .kol-input-container:not(.kol-input-container--disabled):hover {
9605
+ .kol-input-container:not(.kol-input-container--disabled, .kol-input-container:has(.kol-input--readonly)):hover {
9586
9606
  border-color: var(--color-primary);
9587
9607
  }
9588
9608
  .kol-input-container:has(.kol-input:focus, .kol-select:focus, .kol-textarea:focus) {
@@ -9591,6 +9611,14 @@ Link:
9591
9611
  outline-offset: 2px;
9592
9612
  transition: 200ms outline-offset linear;
9593
9613
  }
9614
+ .kol-input-container:has(.kol-input--readonly), .kol-input-container:has(.kol-textarea--readonly), .kol-input-container--disabled {
9615
+ border-color: var(--color-mute-variant);
9616
+ border-width: 1px;
9617
+ border-bottom: 2px solid var(--color-subtle);
9618
+ }
9619
+ .kol-input-container:has(.kol-input--readonly) .kol-input-container__container, .kol-input-container:has(.kol-textarea--readonly) .kol-input-container__container, .kol-input-container--disabled .kol-input-container__container {
9620
+ padding-top: 1px;
9621
+ }
9594
9622
  .kol-input-container__smart-button {
9595
9623
  position: relative;
9596
9624
  z-index: 2;
@@ -9813,10 +9841,9 @@ Link:
9813
9841
  .kol-input-container--disabled {
9814
9842
  color: var(--color-text);
9815
9843
  background-color: var(--color-mute);
9816
- border-color: var(--color-mute-variant);
9817
9844
  cursor: not-allowed;
9818
9845
  }
9819
- .kol-input-container:not(.kol-input-container--disabled):hover {
9846
+ .kol-input-container:not(.kol-input-container--disabled, .kol-input-container:has(.kol-input--readonly)):hover {
9820
9847
  border-color: var(--color-primary);
9821
9848
  }
9822
9849
  .kol-input-container:has(.kol-input:focus, .kol-select:focus, .kol-textarea:focus) {
@@ -9825,6 +9852,14 @@ Link:
9825
9852
  outline-offset: 2px;
9826
9853
  transition: 200ms outline-offset linear;
9827
9854
  }
9855
+ .kol-input-container:has(.kol-input--readonly), .kol-input-container:has(.kol-textarea--readonly), .kol-input-container--disabled {
9856
+ border-color: var(--color-mute-variant);
9857
+ border-width: 1px;
9858
+ border-bottom: 2px solid var(--color-subtle);
9859
+ }
9860
+ .kol-input-container:has(.kol-input--readonly) .kol-input-container__container, .kol-input-container:has(.kol-textarea--readonly) .kol-input-container__container, .kol-input-container--disabled .kol-input-container__container {
9861
+ padding-top: 1px;
9862
+ }
9828
9863
  .kol-input-container__smart-button {
9829
9864
  position: relative;
9830
9865
  z-index: 2;
@@ -10041,10 +10076,9 @@ Link:
10041
10076
  .kol-input-container--disabled {
10042
10077
  color: var(--color-text);
10043
10078
  background-color: var(--color-mute);
10044
- border-color: var(--color-mute-variant);
10045
10079
  cursor: not-allowed;
10046
10080
  }
10047
- .kol-input-container:not(.kol-input-container--disabled):hover {
10081
+ .kol-input-container:not(.kol-input-container--disabled, .kol-input-container:has(.kol-input--readonly)):hover {
10048
10082
  border-color: var(--color-primary);
10049
10083
  }
10050
10084
  .kol-input-container:has(.kol-input:focus, .kol-select:focus, .kol-textarea:focus) {
@@ -10053,6 +10087,14 @@ Link:
10053
10087
  outline-offset: 2px;
10054
10088
  transition: 200ms outline-offset linear;
10055
10089
  }
10090
+ .kol-input-container:has(.kol-input--readonly), .kol-input-container:has(.kol-textarea--readonly), .kol-input-container--disabled {
10091
+ border-color: var(--color-mute-variant);
10092
+ border-width: 1px;
10093
+ border-bottom: 2px solid var(--color-subtle);
10094
+ }
10095
+ .kol-input-container:has(.kol-input--readonly) .kol-input-container__container, .kol-input-container:has(.kol-textarea--readonly) .kol-input-container__container, .kol-input-container--disabled .kol-input-container__container {
10096
+ padding-top: 1px;
10097
+ }
10056
10098
  .kol-input-container__smart-button {
10057
10099
  position: relative;
10058
10100
  z-index: 2;
@@ -10390,10 +10432,9 @@ Link:
10390
10432
  .kol-input-container--disabled {
10391
10433
  color: var(--color-text);
10392
10434
  background-color: var(--color-mute);
10393
- border-color: var(--color-mute-variant);
10394
10435
  cursor: not-allowed;
10395
10436
  }
10396
- .kol-input-container:not(.kol-input-container--disabled):hover {
10437
+ .kol-input-container:not(.kol-input-container--disabled, .kol-input-container:has(.kol-input--readonly)):hover {
10397
10438
  border-color: var(--color-primary);
10398
10439
  }
10399
10440
  .kol-input-container:has(.kol-input:focus, .kol-select:focus, .kol-textarea:focus) {
@@ -10402,6 +10443,14 @@ Link:
10402
10443
  outline-offset: 2px;
10403
10444
  transition: 200ms outline-offset linear;
10404
10445
  }
10446
+ .kol-input-container:has(.kol-input--readonly), .kol-input-container:has(.kol-textarea--readonly), .kol-input-container--disabled {
10447
+ border-color: var(--color-mute-variant);
10448
+ border-width: 1px;
10449
+ border-bottom: 2px solid var(--color-subtle);
10450
+ }
10451
+ .kol-input-container:has(.kol-input--readonly) .kol-input-container__container, .kol-input-container:has(.kol-textarea--readonly) .kol-input-container__container, .kol-input-container--disabled .kol-input-container__container {
10452
+ padding-top: 1px;
10453
+ }
10405
10454
  .kol-input-container__smart-button {
10406
10455
  position: relative;
10407
10456
  z-index: 2;
@@ -10618,10 +10667,9 @@ Link:
10618
10667
  .kol-input-container--disabled {
10619
10668
  color: var(--color-text);
10620
10669
  background-color: var(--color-mute);
10621
- border-color: var(--color-mute-variant);
10622
10670
  cursor: not-allowed;
10623
10671
  }
10624
- .kol-input-container:not(.kol-input-container--disabled):hover {
10672
+ .kol-input-container:not(.kol-input-container--disabled, .kol-input-container:has(.kol-input--readonly)):hover {
10625
10673
  border-color: var(--color-primary);
10626
10674
  }
10627
10675
  .kol-input-container:has(.kol-input:focus, .kol-select:focus, .kol-textarea:focus) {
@@ -10630,6 +10678,14 @@ Link:
10630
10678
  outline-offset: 2px;
10631
10679
  transition: 200ms outline-offset linear;
10632
10680
  }
10681
+ .kol-input-container:has(.kol-input--readonly), .kol-input-container:has(.kol-textarea--readonly), .kol-input-container--disabled {
10682
+ border-color: var(--color-mute-variant);
10683
+ border-width: 1px;
10684
+ border-bottom: 2px solid var(--color-subtle);
10685
+ }
10686
+ .kol-input-container:has(.kol-input--readonly) .kol-input-container__container, .kol-input-container:has(.kol-textarea--readonly) .kol-input-container__container, .kol-input-container--disabled .kol-input-container__container {
10687
+ padding-top: 1px;
10688
+ }
10633
10689
  .kol-input-container__smart-button {
10634
10690
  position: relative;
10635
10691
  z-index: 2;
@@ -11032,10 +11088,9 @@ Link:
11032
11088
  .kol-input-container--disabled {
11033
11089
  color: var(--color-text);
11034
11090
  background-color: var(--color-mute);
11035
- border-color: var(--color-mute-variant);
11036
11091
  cursor: not-allowed;
11037
11092
  }
11038
- .kol-input-container:not(.kol-input-container--disabled):hover {
11093
+ .kol-input-container:not(.kol-input-container--disabled, .kol-input-container:has(.kol-input--readonly)):hover {
11039
11094
  border-color: var(--color-primary);
11040
11095
  }
11041
11096
  .kol-input-container:has(.kol-input:focus, .kol-select:focus, .kol-textarea:focus) {
@@ -11044,6 +11099,14 @@ Link:
11044
11099
  outline-offset: 2px;
11045
11100
  transition: 200ms outline-offset linear;
11046
11101
  }
11102
+ .kol-input-container:has(.kol-input--readonly), .kol-input-container:has(.kol-textarea--readonly), .kol-input-container--disabled {
11103
+ border-color: var(--color-mute-variant);
11104
+ border-width: 1px;
11105
+ border-bottom: 2px solid var(--color-subtle);
11106
+ }
11107
+ .kol-input-container:has(.kol-input--readonly) .kol-input-container__container, .kol-input-container:has(.kol-textarea--readonly) .kol-input-container__container, .kol-input-container--disabled .kol-input-container__container {
11108
+ padding-top: 1px;
11109
+ }
11047
11110
  .kol-input-container__smart-button {
11048
11111
  position: relative;
11049
11112
  z-index: 2;
@@ -11231,10 +11294,9 @@ Link:
11231
11294
  .kol-input-container--disabled {
11232
11295
  color: var(--color-text);
11233
11296
  background-color: var(--color-mute);
11234
- border-color: var(--color-mute-variant);
11235
11297
  cursor: not-allowed;
11236
11298
  }
11237
- .kol-input-container:not(.kol-input-container--disabled):hover {
11299
+ .kol-input-container:not(.kol-input-container--disabled, .kol-input-container:has(.kol-input--readonly)):hover {
11238
11300
  border-color: var(--color-primary);
11239
11301
  }
11240
11302
  .kol-input-container:has(.kol-input:focus, .kol-select:focus, .kol-textarea:focus) {
@@ -11243,6 +11305,14 @@ Link:
11243
11305
  outline-offset: 2px;
11244
11306
  transition: 200ms outline-offset linear;
11245
11307
  }
11308
+ .kol-input-container:has(.kol-input--readonly), .kol-input-container:has(.kol-textarea--readonly), .kol-input-container--disabled {
11309
+ border-color: var(--color-mute-variant);
11310
+ border-width: 1px;
11311
+ border-bottom: 2px solid var(--color-subtle);
11312
+ }
11313
+ .kol-input-container:has(.kol-input--readonly) .kol-input-container__container, .kol-input-container:has(.kol-textarea--readonly) .kol-input-container__container, .kol-input-container--disabled .kol-input-container__container {
11314
+ padding-top: 1px;
11315
+ }
11246
11316
  .kol-input-container__smart-button {
11247
11317
  position: relative;
11248
11318
  z-index: 2;
@@ -11874,10 +11944,9 @@ Link:
11874
11944
  .kol-input-container--disabled {
11875
11945
  color: var(--color-text);
11876
11946
  background-color: var(--color-mute);
11877
- border-color: var(--color-mute-variant);
11878
11947
  cursor: not-allowed;
11879
11948
  }
11880
- .kol-input-container:not(.kol-input-container--disabled):hover {
11949
+ .kol-input-container:not(.kol-input-container--disabled, .kol-input-container:has(.kol-input--readonly)):hover {
11881
11950
  border-color: var(--color-primary);
11882
11951
  }
11883
11952
  .kol-input-container:has(.kol-input:focus, .kol-select:focus, .kol-textarea:focus) {
@@ -11886,6 +11955,14 @@ Link:
11886
11955
  outline-offset: 2px;
11887
11956
  transition: 200ms outline-offset linear;
11888
11957
  }
11958
+ .kol-input-container:has(.kol-input--readonly), .kol-input-container:has(.kol-textarea--readonly), .kol-input-container--disabled {
11959
+ border-color: var(--color-mute-variant);
11960
+ border-width: 1px;
11961
+ border-bottom: 2px solid var(--color-subtle);
11962
+ }
11963
+ .kol-input-container:has(.kol-input--readonly) .kol-input-container__container, .kol-input-container:has(.kol-textarea--readonly) .kol-input-container__container, .kol-input-container--disabled .kol-input-container__container {
11964
+ padding-top: 1px;
11965
+ }
11889
11966
  .kol-input-container__smart-button {
11890
11967
  position: relative;
11891
11968
  z-index: 2;
@@ -12114,10 +12191,9 @@ Link:
12114
12191
  .kol-input-container--disabled {
12115
12192
  color: var(--color-text);
12116
12193
  background-color: var(--color-mute);
12117
- border-color: var(--color-mute-variant);
12118
12194
  cursor: not-allowed;
12119
12195
  }
12120
- .kol-input-container:not(.kol-input-container--disabled):hover {
12196
+ .kol-input-container:not(.kol-input-container--disabled, .kol-input-container:has(.kol-input--readonly)):hover {
12121
12197
  border-color: var(--color-primary);
12122
12198
  }
12123
12199
  .kol-input-container:has(.kol-input:focus, .kol-select:focus, .kol-textarea:focus) {
@@ -12126,6 +12202,14 @@ Link:
12126
12202
  outline-offset: 2px;
12127
12203
  transition: 200ms outline-offset linear;
12128
12204
  }
12205
+ .kol-input-container:has(.kol-input--readonly), .kol-input-container:has(.kol-textarea--readonly), .kol-input-container--disabled {
12206
+ border-color: var(--color-mute-variant);
12207
+ border-width: 1px;
12208
+ border-bottom: 2px solid var(--color-subtle);
12209
+ }
12210
+ .kol-input-container:has(.kol-input--readonly) .kol-input-container__container, .kol-input-container:has(.kol-textarea--readonly) .kol-input-container__container, .kol-input-container--disabled .kol-input-container__container {
12211
+ padding-top: 1px;
12212
+ }
12129
12213
  .kol-input-container__smart-button {
12130
12214
  position: relative;
12131
12215
  z-index: 2;
@@ -13468,10 +13552,9 @@ Link:
13468
13552
  .kol-input-container--disabled {
13469
13553
  color: var(--color-text);
13470
13554
  background-color: var(--color-mute);
13471
- border-color: var(--color-mute-variant);
13472
13555
  cursor: not-allowed;
13473
13556
  }
13474
- .kol-input-container:not(.kol-input-container--disabled):hover {
13557
+ .kol-input-container:not(.kol-input-container--disabled, .kol-input-container:has(.kol-input--readonly)):hover {
13475
13558
  border-color: var(--color-primary);
13476
13559
  }
13477
13560
  .kol-input-container:has(.kol-input:focus, .kol-select:focus, .kol-textarea:focus) {
@@ -13480,6 +13563,14 @@ Link:
13480
13563
  outline-offset: 2px;
13481
13564
  transition: 200ms outline-offset linear;
13482
13565
  }
13566
+ .kol-input-container:has(.kol-input--readonly), .kol-input-container:has(.kol-textarea--readonly), .kol-input-container--disabled {
13567
+ border-color: var(--color-mute-variant);
13568
+ border-width: 1px;
13569
+ border-bottom: 2px solid var(--color-subtle);
13570
+ }
13571
+ .kol-input-container:has(.kol-input--readonly) .kol-input-container__container, .kol-input-container:has(.kol-textarea--readonly) .kol-input-container__container, .kol-input-container--disabled .kol-input-container__container {
13572
+ padding-top: 1px;
13573
+ }
13483
13574
  .kol-input-container__smart-button {
13484
13575
  position: relative;
13485
13576
  z-index: 2;
@@ -22334,7 +22425,7 @@ Link:
22334
22425
  border-radius: 3px;
22335
22426
  padding: 0 0.3em;
22336
22427
  }
22337
- }`;const H8=gm.createTheme("ecl-eu",{GLOBAL:I8,"KOL-ACCORDION":e8,"KOL-ALERT":n8,"KOL-BADGE":o8,"KOL-BREADCRUMB":t8,"KOL-BUTTON":a8,"KOL-BUTTON-LINK":r8,"KOL-CARD":l8,"KOL-COMBOBOX":i8,"KOL-DETAILS":c8,"KOL-DRAWER":s8,"KOL-FORM":d8,"KOL-HEADING":f8,"KOL-INPUT-CHECKBOX":u8,"KOL-INPUT-COLOR":b8,"KOL-INPUT-DATE":m8,"KOL-INPUT-EMAIL":h8,"KOL-INPUT-FILE":p8,"KOL-INPUT-NUMBER":_8,"KOL-INPUT-PASSWORD":v8,"KOL-INPUT-RADIO":g8,"KOL-INPUT-RANGE":k8,"KOL-INPUT-TEXT":y8,"KOL-LINK":w8,"KOL-LINK-BUTTON":x8,"KOL-MODAL":z8,"KOL-NAV":j8,"KOL-PAGINATION":S8,"KOL-POPOVER-BUTTON":T8,"KOL-SELECT":A8,"KOL-SINGLE-SELECT":C8,"KOL-SKIP-NAV":E8,"KOL-SPIN":L8,"KOL-SPLIT-BUTTON":B8,"KOL-TABLE-STATEFUL":N8,"KOL-TABLE-STATELESS":R8,"KOL-TABS":D8,"KOL-TEXTAREA":O8,"KOL-TOAST-CONTAINER":$8,"KOL-TOOLBAR":M8,"KOL-TREE":F8,"KOL-TREE-ITEM":U8}),K8="3.0.8-rc.3",Ob={version:K8},V8=()=>{const e={onClick:()=>history.back()};return a.jsxs(_o,{_label:"This is an example page",_level:0,_type:"info",children:[a.jsx("p",{children:"You followed an example link."}),history.length>1&&a.jsx(Q,{_label:"Go Back",_on:e})]})},U0=["default","ecl-ec","ecl-eu","unstyled"],km=e=>U0.find(o=>o===e)!==void 0,ym=[{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 q8(){const e=matchMedia("(max-width: 1023px)"),[o,r]=z.useState(e.matches),i=()=>{r(e.matches)};return z.useEffect(()=>(i(),e.addEventListener("change",i),()=>{e.removeEventListener("change",i)}),[e]),o}function Z8({children:e}){return q8()?a.jsx(oo,{_label:"All components",class:"mt",children:e}):a.jsx("div",{className:"mt scrollable-container",children:e})}function a1({label:e,to:o,children:r}){const i=By(o),s=jl(o),d=m6({path:s.pathname,end:!0});return a.jsx(Qn,{_label:e,_href:i,_active:!!d,children:r})}function P8({routes:e}){const o=(i,s)=>Object.keys(s).map(d=>{const u=i==="tree"&&d==="basic/:subPage",m=u?"basic/home":d,h=u?"basic":d;return a.jsx(a1,{label:h,to:[i,m].join("/")},[i,d].join("/"))}),r=Object.entries(e).map(([i,s])=>a.jsx(a1,{label:i,to:i,children:o(i,s)},i));return a.jsx(Z8,{children:a.jsx("nav",{children:a.jsx(zy,{_label:"Navigation",class:"block",children:r})})})}const G8=({buildDate:e,commitHash:o})=>!e&&!o?"":a.jsx("div",{className:"text-sm font-mono color-gray-5 m-t-2",children:e&&o?a.jsxs(a.Fragment,{children:["Build: ",o,a.jsx("br",{}),"at ",e]}):o?`Build: ${o}`:`Build date: ${e}`}),Y8=({version:e,theme:o,routes:r,routeList:i,sample:s,buildDate:d,commitHash:u,onThemeChange:m})=>{const h=()=>i.indexOf(s),p=()=>s.replace(/\//g," "),v=(S,B)=>{m(B)},g=()=>{const S=h(),B=S<=0?i.length-1:S-1;location.replace(`#${i[B]}`)},k=()=>{const S=h(),B=S===i.length-1?0:S+1;location.replace(`#${i[B]}`)};return a.jsx("aside",{className:"app-sidebar p-4",children:a.jsxs("div",{className:"scrollable-container-wrapper",children:[a.jsxs("div",{className:"flex flex-justify-between flex-items-center",children:[a.jsx(be,{_label:"KoliBri React"}),a.jsx(Ps,{_label:e})]}),a.jsx(G8,{buildDate:d,commitHash:u}),a.jsx(Gn,{_label:"Theme",_options:ym,_on:{onChange:v},_value:o,class:"mt"}),a.jsx(be,{_label:"Components",_level:2,className:"block mt"}),a.jsxs("div",{className:"flex flex-justify-between flex-items-center mt",children:[a.jsx(Q,{_icons:"codicon codicon-arrow-left",_hideLabel:!0,_label:"Previous component",_on:{onClick:g}}),a.jsxs("span",{className:"text-base text-center",children:[p()," (",h()+1,"/",i.length,")"]}),a.jsx(Q,{_icons:"codicon codicon-arrow-right",_hideLabel:!0,_label:"Next component",_on:{onClick:k}})]}),a.jsx(P8,{routes:r})]})})},X8=()=>{const e=Wo();k5("#"+e.pathname)},xm=z.createContext(null),Q8="https://public-ui.github.io/docs/components",J8="https://github.com/public-ui/kolibri/blob/develop/packages/samples/react/src/components",Fe="I am an error message!",xo="I am a hint.",V=e=>{const o=z.useContext(xm),r=Wo(),i=r.pathname.split("/").slice(1),s=z.useMemo(()=>i[0]==="scenarios"?null:`${Q8}/${i[0]}`,[r.hash]),d=z.useMemo(()=>i[0]==="scenarios"?null:`${J8}/${i[0]}/${i[1]}.tsx`,[r.hash]);return a.jsxs(a.Fragment,{children:[a.jsx("h1",{className:"visually-hidden",children:r.pathname.replace(/\//g," ")}),o?null:a.jsxs("div",{className:"grid sm:flex gap-4 justify-between pb-sm border-b-1 border-b-solid border-gray mb-2",children:[a.jsx("div",{className:"indented-text",children:e.children}),a.jsxs("ul",{className:"flex flex-wrap gap-2 list-none m-0 p-0",children:[d&&a.jsx("li",{children:a.jsx(ke,{_href:d,_label:"Code",_target:"_blank"})}),s&&a.jsx("li",{children:a.jsx(ke,{_href:s,_label:"Documentation",_target:"_blank"})}),a.jsx("li",{children:a.jsx(ke,{_href:`#${r.pathname}?hideMenus`,_label:"Standalone example",_target:"_blank"})})]})]})]})},W8=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolAbbr shows an abbreviation and uses kol-tooltip-wc to display the long form, if provided."})}),a.jsxs("p",{children:["I am ",a.jsx(Bi,{_label:"as an example",children:"e.g."})," an abbreviation."]}),a.jsxs("p",{children:["I am ",a.jsx(Bi,{children:"e.g."})," an abbreviation without label."]})]}),eT={abbr:{basic:W8}},nT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["KolAccordion hides its content until opened. The open state can be toggled by clicking the headline or by setting the ",a.jsx("code",{children:"_open"}),"-prop programmatically. Additionally, the sample shows the disabled state for a closed and an open accordion."]})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(oo,{_label:"Heading Accordion Tab 1 (open)",_open:!0,children:a.jsx(vo,{_label:"Combobox in Accordion",_suggestions:"['Herr','Frau','Firma']"})}),a.jsx(oo,{_label:"Heading Accordion Tab 2",children:"Contents Accordion Tab 2"}),a.jsx(oo,{_label:"Heading Accordion Tab 3 (deactivated)",_disabled:!0,children:"Contents Accordion Tab 3"}),a.jsx(oo,{_label:"Heading Accordion Tab 4 (disabled and open)",_disabled:!0,_open:!0,children:"Contents Accordion Tab 4"})]})]}),oT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolAccordion with the different heading levels from 1-6."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(oo,{_label:"Heading Level 1",_level:1,children:"Contents Accordion Tab 1"}),a.jsx(oo,{_label:"Heading Level 2",_level:2,children:"Contents Accordion Tab 2"}),a.jsx(oo,{_label:"Heading Level 3",_level:3,children:"Contents Accordion Tab 3"}),a.jsx(oo,{_label:"Heading Level 4",_level:4,children:"Contents Accordion Tab 4"}),a.jsx(oo,{_label:"Heading Level 5",_level:5,children:"Contents Accordion Tab 5"}),a.jsx(oo,{_label:"Heading Level 6",_level:6,children:"Contents Accordion Tab 6"})]})]}),tT={accordion:{basic:nT,headlines:oT}},ji=({level:e,type:o,variant:r})=>a.jsxs(a.Fragment,{children:[a.jsx(_o,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:o,_variant:r,children:"This is the text of the alert."}),a.jsx(_o,{_type:o,_variant:r,children:"In this alert, only the text without the heading is used."}),a.jsx(_o,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:o,_variant:r,_hasCloser:!0,children:"This is the text of the alert. With close button."}),a.jsx(_o,{_type:o,_variant:r,_hasCloser:!0,children:"In this alert, only the text without the heading is used. With close button."})]}),F0=({variant:e="msg"})=>a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ji,{level:1,type:"default",variant:e}),a.jsx(ji,{level:2,type:"error",variant:e}),a.jsx(ji,{level:3,type:"info",variant:e}),a.jsx(ji,{level:4,type:"success",variant:e}),a.jsx(ji,{level:5,type:"warning",variant:e})]}),rT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["KolAlert shows messages of different types. This sample illustrates the variant ",a.jsx("code",{children:"msg"}),", showing all possible types with and without headlines and close buttons."]})}),a.jsx(F0,{variant:"msg"})]}),aT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["KolAlert shows messages of different types. This sample illustrates the variant ",a.jsx("code",{children:"card"}),", showing all possible types with and without headlines and close buttons."]})}),a.jsx("section",{className:"w-full",children:a.jsx(F0,{variant:"card"})})]}),lT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows how KolAlert can be used with arbitrary HTML as slot content."})}),a.jsx("div",{children:a.jsxs(_o,{_label:"Output of HTML code in the alert",_type:"info",children:[a.jsx("div",{className:"mt-2 mb-3",children:a.jsx(be,{_level:2,_label:"An H2 heading is output here"})}),a.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[a.jsxs("div",{children:[a.jsx("h3",{children:"Text in a left-hand column"}),a.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?"})]}),a.jsxs("div",{children:[a.jsx("h3",{children:"Text in einer rechten Spalte"}),a.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!"})]})]})]})})]}),iT={alert:{basic:rT,"card-msg":aT,html:lT}},cT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolAvatar shows a user's avatar with customizable colors. It can be used with or without an image. If no image is defined, the name's initials are shown instead with a configurable background color."})}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(ds,{_src:"https://www.w3schools.com/howto/img_avatar.png",_label:"Elke Mustermann"}),a.jsx(ds,{_label:"Elke Mustermann "}),a.jsx(ds,{_label:"Marianne"}),a.jsx(ds,{_color:"#0000FF",_label:"Christian"})]})]}),sT={avatar:{basic:cT}},dT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolBadge shows badges with a label, background color and optional icon."})}),a.jsxs("div",{className:"flex flex-wrap gap-2",children:[a.jsx(xn,{_label:"black"}),a.jsx(xn,{_color:"#86ffc6",_label:"teal"}),a.jsx(xn,{_color:"#06539e",_label:"blue"}),a.jsx(xn,{_color:"#ae0000",_label:"red with icon",_icons:"codicon codicon-smiley"}),a.jsx(xn,{_color:"#8b008b",_label:"purple with icon",_icons:"codicon codicon-squirrel"})]})]}),Si=e=>({_label:e,_smartButton:{_icons:"codicon codicon-close",_label:`Remove ${e}`,_on:{onClick:()=>alert("clicked")}}}),fT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows KolBadge with an optional ",a.jsx("code",{children:"smartButton"}),'. The sample defines a "close" button with X-icon a click event listener.']})}),a.jsxs("div",{className:"flex flex-wrap gap-2",children:[a.jsx(xn,{...Si("black")}),a.jsx(xn,{_color:"#86ffc6",...Si("teal")}),a.jsx(xn,{_color:"#06539e",...Si("blue")}),a.jsx(xn,{_color:"#ae0000",_icons:"codicon codicon-smiley",...Si("red with icon")}),a.jsx(xn,{_color:"#8b008b",_icons:"codicon codicon-squirrel",...Si("purple with icon")})]})]}),uT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample demonstrates the possibility of formatted text in badges via markdown syntax."})}),a.jsxs("div",{className:"flex flex-col gap-4",children:[a.jsx(xn,{_color:"#7db4ebff",_label:"**Bold** and _italic_ Markdown label"}),a.jsx(xn,{_color:"#8feb7dff",_label:"This is ~~strikethrough~~ text"}),a.jsx(xn,{_color:"#e6ee8eff",_label:"Source code like `y = mx + n` is possible"})]})]}),bT={badge:{basic:dT,button:fT,"formatted-label":uT}},mT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolBreadcrumb shows a breadcrumb navigation. The sample illustrates a variation of link, text and icon elements."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ks,{_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"}]}),a.jsx(ks,{_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"}]}),a.jsx(ks,{_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"}]})]})]}),hT={breadcrumb:{basic:mT}},pT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolButtonLink with aria-description"})}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Ge,{_label:"Button Text without area description"}),a.jsx(Ge,{_label:"Button Text",_ariaDescription:"Button Area Description"})]})]});function On(){const e=Ir.getInstance(document),o=s=>{e.enqueue({description:s||"Hello",label:"Hello",type:"info"})};return{dummyClickEventHandler:()=>{o()},buttonWithTextClickEventHandler:s=>{const d=s.currentTarget.textContent;o(d)}}}const _T=()=>{const{dummyClickEventHandler:e}=On(),o={onClick:e};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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 ",a.jsx("code",{children:"block"}),", ",a.jsx("code",{children:"inline-block"})," and ",a.jsx("code",{children:"inline"}),". It also demonstrates the disabled-state."]})}),a.jsxs("section",{className:"text-base",children:[a.jsx(be,{_level:2,_label:"Button-Link with variant 'inline'"}),a.jsxs("p",{children:["In this paragraph, a link is inserted that contains no additional attributes. ",a.jsx(Ge,{_label:"Simple Link"})," It is rendered by default as an"," ",a.jsx("strong",{children:"inline element"}),"."]}),a.jsxs("p",{children:["In this paragraph, a link is inserted that is rendered as an inline-block element.",a.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.",a.jsx("br",{}),a.jsx("br",{}),"After that, there is a link that is rendered as a block element.",a.jsx(Ge,{style:{display:"block"},_label:"Simple Link"}),"Therefore, I go over the entire width of the parent element to create a line break."]}),a.jsx(be,{_level:2,_label:"Button-Link with variant 'standalone'"}),a.jsx("p",{children:a.jsx(Ge,{_label:"Disabled ButtonLink",_disabled:!0,_variant:"standalone"})}),a.jsx("p",{children:a.jsx(Ge,{_label:"With access key",_accessKey:"c",_on:o,_variant:"standalone"})}),a.jsx("p",{children:a.jsx(Ge,{_label:"Disabled ButtonLink",_shortKey:"s",_variant:"standalone"})})]})]})},vT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolButtonLink with icons in different locations."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(Ge,{_icons:"codicon codicon-home",_label:"I am a link with an icon on the left"}),a.jsx(Ge,{_icons:{right:"codicon codicon-home"},_label:"I am a link with an icon on the right"}),a.jsx(Ge,{_icons:{top:"codicon codicon-home"},_label:"I am a link with an icon at the top"}),a.jsx(Ge,{_icons:{bottom:"codicon codicon-home"},_label:"I am a link with icon below"}),a.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"}),a.jsx(Ge,{_icons:"codicon codicon-home",_hideLabel:!0,_label:"I am a link with icon only"})]})]}),gT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolButtonLink with slot-content instead of a label. The sample uses an image as content."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(Ge,{_label:"I am a link that is rendered as text"}),a.jsx(Ge,{_label:"",children:a.jsx("img",{alt:"Presentation of the KoliBri theming",slot:"expert",src:"abgrenzung.jpg",width:"300"})})]})]}),kT={"button-link":{basic:_T,icons:vT,image:gT,"aria-description":pT}},yT=()=>{const{dummyClickEventHandler:e}=On(),o={onClick:e};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows KolButton with"," ",a.jsx(ke,{_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."]})}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Q,{_label:"With S access key",_accessKey:"S",_on:o}),a.jsx(Q,{_label:"Very small b",_accessKey:"b",_on:o}),a.jsx(Q,{_label:"Access key does not appear in label",_accessKey:"x",_on:o}),a.jsx(Q,{_label:"access key without label",_hideLabel:!0,_accessKey:"a",_icons:"codicon codicon-dashboard",_on:o}),a.jsx(Q,{_label:"with inline icons",_icons:{left:"codicon codicon-dashboard",right:"codicon codicon-dashboard"},_accessKey:"n",_on:o})]})]})},xT=()=>{const{dummyClickEventHandler:e}=On(),o={onClick:e};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolButton with aria-description"})}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Q,{_label:"Button Text without area description",_on:o}),a.jsx(Q,{_label:"Button Text",_ariaDescription:"Button Area Description",_on:o})]})]})},wT=()=>{const{dummyClickEventHandler:e}=On(),o={onClick:e};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This KolButton sample is used for internal testing purposes: It features multiple buttons with and without icons which are vertically aligned."})}),a.jsxs("div",{className:"flex flex-wrap gap-2",children:[a.jsx(Q,{_label:"Label-Text",_on:o}),a.jsx(Q,{_label:"Label-Text",_on:o}),a.jsx(Q,{_label:"Label-Text",_on:o}),a.jsx(Q,{_icons:"codicon codicon-reactions",_label:"Label-Text with Icon",_on:o})]})]})},zT=e=>{const{children:o,...r}=e,{dummyClickEventHandler:i}=On(),s={onClick:i};return a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Q,{_icons:"codicon codicon-home",_label:"Primary",_variant:"primary",_on:s,...r,children:o}),a.jsx(Q,{_icons:"codicon codicon-heart",_label:"Secondary",_variant:"secondary",_on:s,...r,children:o}),a.jsx(Q,{_icons:"codicon codicon-hubot",_label:"Tertiary",_variant:"tertiary",_on:s,...r,children:o}),a.jsx(Q,{_icons:"codicon codicon-hubot",_label:"Normal",_variant:"normal",_on:s,...r,children:o}),a.jsx(Q,{_icons:"codicon codicon-trash",_label:"Danger",_variant:"danger",_on:s,...r,children:o}),a.jsx(Q,{_icons:"codicon codicon-reactions",_label:"Ghost",_variant:"ghost",_on:s,...r,children:o})]})},I0=(e={})=>{const o=[{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 a.jsx("div",{className:"grid gap-8",children:o.map(({label:r,buttonProps:i},s)=>a.jsxs("section",{className:"grid gap-4",children:[a.jsx(be,{_level:2,_label:r}),a.jsx(zT,{...i})]},s))})},jT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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."})}),a.jsx(I0,{})]}),ST=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolButton show a button-element with expert slot."})}),a.jsx(I0,{_label:"",children:a.jsx("span",{slot:"expert",children:"I am more than just a button"})})]}),TT=()=>{const{dummyClickEventHandler:e}=On(),o={onClick:e};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolButton with icons in all alignments."})}),a.jsx("div",{children:a.jsx(Q,{_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:o,className:"w-10rem"})})]})},AT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample demonstrates how the tooltip adapts its width when containing long text inside a row-reverse flex container. The effect becomes visible when inspecting the layout with DevTools and reducing the available width (e.g. by narrowing the screen)."})}),a.jsx("div",{className:"flex flex-row-reverse",children:a.jsx(Q,{_icons:"codicon codicon-home",_hideLabel:!0,_label:"This is a very, very long tooltip text that exceeds the width.",_variant:"primary"})})]}),Ju=new WeakMap,po=e=>(Ju.has(e)===!1&&Ju.set(e,jy.createRoot(e)),Ju.get(e)),CT=({label:e})=>{const o=Ir.getInstance(document),r=z.useRef(null),i=z.useRef(null),s=()=>{o.enqueue({label:"Edit clicked",description:`The button "edit" has been clicked for ${e}`,type:"info"})},d=()=>{o.enqueue({label:"Delete clicked",description:`The button "delete" has been clicked for ${e}`,type:"warning"})},u=m=>{switch(m.code){case"KeyE":r.current?.kolFocus(),s();return;case"KeyD":i.current?.kolFocus(),d();return}};return a.jsxs("div",{style:{display:"flex",gap:"calc(10rem / var(--kolibri-root-font-size, 16))"},onKeyUp:u,children:[a.jsx(Q,{ref:r,_label:"Edit",_shortKey:"e",_on:{onClick:s}}),a.jsx(Q,{ref:i,_label:"Delete",_shortKey:"d",_variant:"danger",_on:{onClick:d}})]})},ET=()=>{const{dummyClickEventHandler:e}=On(),o={onClick:e},r=[{label:"Row 1"},{label:"Row 2"}],i={horizontal:[[{label:"Label",key:"label",textAlign:"left"},{label:"Actions",key:"actions",textAlign:"left",render:(s,d)=>{po(Ur(s)).render(a.jsx(CT,{label:d.data.label}))}}]]};return a.jsxs(a.Fragment,{children:[a.jsxs(V,{children:[a.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."}),a.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.'})]}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Q,{_label:"With S short key",_shortKey:"S",_on:o}),a.jsx(Q,{_label:"Very small b",_shortKey:"b",_on:o}),a.jsx(Q,{_label:"Short key does not appear in label",_shortKey:"x",_on:o}),a.jsx(Q,{_label:"short key without label",_hideLabel:!0,_shortKey:"k",_icons:"codicon codicon-dashboard",_on:o}),a.jsx(Q,{_label:"with inline icons",_icons:{left:"codicon codicon-dashboard",right:"codicon codicon-dashboard"},_shortKey:"n",_on:o})]}),a.jsx(be,{_level:2,_label:"Interactive sample",className:"mt"}),a.jsx(bn,{_label:'Move focus within one of the "Actions" cells and press "e" or "d" to trigger an action.',_data:r,_headers:i,_minWidth:"400px"})]})},LT=()=>{const{dummyClickEventHandler:e}=On(),o={className:"w-8rem",_on:{onClick:e}};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolButton with adjusted widths."})}),a.jsxs("div",{className:"grid gap-14",children:[a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Q,{_label:"Primary",_variant:"primary",...o}),a.jsx(Q,{_label:"Secondary",_variant:"secondary",...o}),a.jsx(Q,{_label:"Normal",_variant:"normal",...o}),a.jsx(Q,{_label:"Danger",_variant:"danger",...o}),a.jsx(Q,{_label:"Ghost",_variant:"ghost",...o})]}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Q,{_disabled:!0,_label:"Primary",_variant:"primary",...o}),a.jsx(Q,{_disabled:!0,_label:"Secondary",_variant:"secondary",...o}),a.jsx(Q,{_disabled:!0,_label:"Normal",_variant:"normal",...o}),a.jsx(Q,{_disabled:!0,_label:"Danger",_variant:"danger",...o}),a.jsx(Q,{_disabled:!0,_label:"Ghost",_variant:"ghost",...o})]})]})]})},BT={button:{basic:jT,icons:TT,width:LT,"access-key":yT,"aria-description":xT,baselined:wT,"short-key":ET,"expert-slot":ST,"row-reverse-tooltip":AT}},NT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolCard shows a card with title and slot content. The second sample features a close button."})}),a.jsxs("div",{className:"w-full grid grid-cols-2 gap-4",children:[a.jsx(Le,{_label:"Card with title and content",children:a.jsx("div",{children:"Card contents."})}),a.jsx(Le,{_label:"Card with closer",_hasCloser:!0,children:a.jsx("p",{children:"This card has a close button."})})]})]}),RT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows cards with all headline levels as title."})}),a.jsxs("div",{className:"w-full grid grid-cols-2 gap-4",children:[a.jsx(Le,{_label:"Card with headline level 0",_level:0,children:a.jsx("div",{children:"Card contents."})}),a.jsx(Le,{_label:"Card with headline level 1",_level:1,children:a.jsx("div",{children:"Card contents."})}),a.jsx(Le,{_label:"Card with headline level 2",_level:2,children:a.jsx("div",{children:"Card contents."})}),a.jsx(Le,{_label:"Card with headline level 3",_level:3,children:a.jsx("div",{children:"Card contents."})}),a.jsx(Le,{_label:"Card with headline level 4",_level:4,children:a.jsx("div",{children:"Card contents."})}),a.jsx(Le,{_label:"Card with headline level 5",_level:5,children:a.jsx("div",{children:"Card contents."})}),a.jsx(Le,{_label:"Card with headline level 6",_level:6,children:a.jsx("div",{children:"Card contents."})})]})]}),DT={card:{basic:NT,headlines:RT}},go=({RefComponent:e,showButtons:o=!0,...r})=>a.jsx(wo,{className:"w-full",children:a.jsxs("div",{className:"grid gap-4",children:[a.jsx(e,{...r}),o&&a.jsxs("div",{className:"flex gap-4",children:[a.jsx(Q,{_label:"Submit",_icons:"codicon codicon-arrow-right",_type:"submit",_variant:"primary"}),a.jsx(Q,{_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"}),a.jsx(Q,{_label:"Reset",_type:"reset",_variant:"tertiary"}),a.jsx(Q,{_label:"Help",_variant:"ghost"})]})]})});function zo({children:e}){const[o]=Fr(),r=o.has("noColumns");return a.jsx("div",{className:r?"":"grid md:grid-cols-2 gap-4",children:e})}const H0=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"}]'),Yo=[...H0.map(e=>({label:e.name,value:e.alpha2}))],Xo=[...H0.map(e=>e.name)],l1=e=>a.jsxs("div",{className:"grid gap-4",children:[a.jsx(vo,{...e,_hint:xo,_label:"Label",_suggestions:Xo,_value:"Deutschland"}),a.jsx(vo,{...e,_label:"Disabled",_suggestions:Xo,_value:"Deutschland",_disabled:!0}),a.jsx(vo,{...e,_suggestions:Xo,_msg:{_type:"error",_description:Fe},_touched:!0,_label:"Label",_placeholder:"Placeholder",_required:!0}),a.jsx(vo,{...e,_label:"With access key",_suggestions:Xo,_value:"Deutschland",_accessKey:"c"}),a.jsx(vo,{...e,_label:"With short key",_suggestions:Xo,_value:"Deutschland",_shortKey:"s"})]}),OT=e=>a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Text"}),a.jsx(l1,{...e})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Text (hideLabel)"}),a.jsx(l1,{...e,_hideLabel:!0})]})]}),$T=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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."})}),a.jsx(go,{RefComponent:OT,showButtons:!1})]}),MT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"A HTML only KolCombobox."})}),a.jsx(vo,{_label:"With string array in html",_suggestions:"['Herr','Frau','Firma']",_value:"Herr"})]}),UT={combobox:{basic:$T,html:MT}},FT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["KolDetails hides its content until opened. The open state can be toggled either by clicking the label or by setting the ",a.jsx("code",{children:"_open"}),"-prop programmatically. The sample includes an initially open state and a disabled but open Details component."]})}),a.jsxs("section",{className:"grid gap-4",children:[a.jsx(er,{_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."}),a.jsx(er,{_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."}),a.jsx(er,{_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."})]})]}),IT={details:{basic:FT}},HT=["left","top","right","bottom"].map(e=>({label:e,value:e})),wm=({value:e="left",onChange:o})=>a.jsx("div",{className:"grid gap-4",children:a.jsx("div",{className:"container my-4 d-grid gap-4",children:a.jsx(An,{_label:"Drawer alignment",_value:e,_options:HT,_orientation:"horizontal",_on:{onChange:o}})})}),KT=()=>{const[e]=Fr(),o=e.get("align"),r=e.get("closer")==="true",i=z.useRef(null),[s,d]=z.useState(o||"left"),[u,m]=z.useState(r);return z.useEffect(()=>{o&&i.current?.open()},[o]),a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolDrawer shows a dialog attached to one of the sides of the viewport, when opened. This sample illustrates the four alignments."})}),a.jsx(wm,{value:s,onChange:(h,p)=>d(p)}),a.jsx(rn,{_label:"Drawer has closer",className:"mb-4",_checked:u,_on:{onInput:(h,p)=>{m(p===!0)}}}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Wb,{ref:i,_label:"I am a drawer",_align:s,_hasCloser:u,_on:{onClose:()=>console.log("Drawer onClose triggered!")},children:a.jsxs("div",{className:s==="left"||s==="right"?"drawer-content-vertical":"",children:[a.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."}),a.jsx(Q,{_label:"Close drawer",_on:{onClick:()=>i.current?.close()}})]})}),a.jsx(Q,{_label:"Open drawer",_on:{onClick:()=>i.current?.open()}})]})]})},VT=()=>{const[e]=Fr(),o=e.get("align"),[r,i]=z.useState(!1),[s,d]=z.useState(o||"left");return a.jsxs("div",{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows the KolDrawer controlled by the property ",a.jsx("code",{children:"_open"})," instead of methods."]})}),a.jsx(wm,{value:s,onChange:(u,m)=>d(m)}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Wb,{_open:r,_align:s,_label:"I'm a controlled drawer",_on:{onClose:()=>i(!1)},children:a.jsxs("div",{children:[a.jsx("p",{children:"Lorem ipsum dolor sit amet,"}),a.jsx(Q,{_label:"Close drawer",_on:{onClick:()=>i(!1)}})]})}),a.jsx(Q,{_label:"Open drawer",_on:{onClick:()=>i(!0)}})]})]})},qT=()=>{const e=z.useRef(null),[o,r]=z.useState("bottom"),[i,s]=z.useState(!0);return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:'This sample demonstrates how KolDrawer handles content that exceeds the drawer dimensions and shows the correct way to handle overflow. Use the "Enable Overflow Handling" toggle to see the difference between problematic behavior (content exceeding drawer bounds) and the proper solution (overflow handling within the slot content).'})}),a.jsxs("div",{className:"flex flex-col gap-4 mb-4",children:[a.jsx(wm,{value:o,onChange:(d,u)=>r(u)}),a.jsx(rn,{_label:"Enable Overflow Handling (Recommended)",_checked:i,_on:{onChange:(d,u)=>s(!!u)}})]}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Wb,{ref:e,_label:"Scrollable Drawer",_align:o,children:i?a.jsx("div",{style:{width:o==="left"||o==="right"?"90vw":void 0,height:o==="top"||o==="bottom"?"90vh":void 0,overflow:"auto",padding:"0",border:"1px solid #999"},children:a.jsxs("div",{style:{width:o==="left"||o==="right"?"150vw":void 0,height:o==="top"||o==="bottom"?"150vh":void 0,background:"linear-gradient(45deg, #f0f0f0 25%, transparent 25%), linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f0f0 75%), linear-gradient(-45deg, transparent 75%, #f0f0f0 75%)",backgroundSize:"20px 20px",backgroundPosition:"0 0, 0 10px, 10px -10px, -10px 0px",border:"2px dashed #ccc",padding:"20px",display:"flex",flexDirection:"column",gap:"20px"},children:[a.jsx("p",{children:"✅ Content with proper overflow handling - scrollable within drawer bounds"}),a.jsxs("div",{children:[a.jsx("h3",{children:"Large Content Area (Scrollable)"}),a.jsxs("p",{children:["Container: ",o==="left"||o==="right"?"400px wide":"90vw wide"," ×"," ",o==="top"||o==="bottom"?"90vh high":"400px high"]}),a.jsxs("p",{children:["Content: ",o==="left"||o==="right"?"150vw wide":"400px wide"," ×"," ",o==="top"||o==="bottom"?"150vh high":"400px high"]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Overflow Handling:"})," Enabled - Container has fixed size with overflow: auto"]}),a.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."}),a.jsx("p",{children:"With overflow handling enabled, this content scrolls properly within the drawer container. You can scroll horizontally/vertically to see all content."}),a.jsx("div",{style:{marginTop:"auto",paddingTop:"40px"},children:a.jsx(Q,{_label:"Close drawer",_on:{onClick:()=>e.current?.close()}})})]})]})}):a.jsxs("div",{style:{width:o==="left"||o==="right"?"150vw":"400px",height:o==="top"||o==="bottom"?"150vh":"400px",background:"linear-gradient(45deg, #f0f0f0 25%, transparent 25%), linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f0f0 75%), linear-gradient(-45deg, transparent 75%, #f0f0f0 75%)",backgroundSize:"20px 20px",backgroundPosition:"0 0, 0 10px, 10px -10px, -10px 0px",border:"2px dashed #ccc",padding:"20px",display:"flex",flexDirection:"column",gap:"20px"},children:[a.jsx("p",{children:"❌ Content exceeding drawer bounds - problematic behavior"}),a.jsxs("div",{children:[a.jsx("h3",{children:"Large Content Area"}),a.jsxs("p",{children:["Width: ",o==="left"||o==="right"?"150vw (exceeds drawer width)":"400px"]}),a.jsxs("p",{children:["Height: ",o==="top"||o==="bottom"?"150vh (exceeds drawer height)":"400px"]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Overflow Handling:"})," Disabled - Content extends beyond drawer boundaries"]}),a.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."}),a.jsx("p",{children:"Without overflow handling, this content may extend beyond the drawer boundaries, causing layout issues."}),a.jsx("div",{style:{marginTop:"auto",paddingTop:"40px"},children:a.jsx(Q,{_label:"Close drawer",_on:{onClick:()=>e.current?.close()}})})]})]})}),a.jsx(Q,{_label:"Open scrollable drawer",_on:{onClick:()=>e.current?.open()}})]})]})},ZT={drawer:{basic:KT,controlled:VT,scrolled:qT}},PT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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."})}),a.jsx(wo,{className:"w-full",children:a.jsxs("div",{className:"grid gap-2",children:[a.jsx(Be,{id:"input1",_label:"Input 1"}),a.jsx(Be,{id:"input2",_label:"Input 2"}),a.jsx(Be,{id:"input3",_label:"Input 3"})]})})]}),GT=()=>{const e=z.useRef(null),o=()=>{e.current?.focusErrorList()};return z.useEffect(()=>{e.current?.focusErrorList()},[]),a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows a form with error messages."})}),a.jsx(wo,{className:"w-full",ref:e,_on:{onSubmit:o},_errorList:[{message:"Error in Input 2",selector:"#input2"},{message:"Error in Input 3",selector:()=>alert("Error in Input 3")}],children:a.jsxs("div",{className:"grid gap-2",children:[a.jsx(Be,{id:"input1",_label:"Input 1"}),a.jsx(Be,{id:"input2",_label:"Input 2",_touched:!0,_msg:{_description:"Input error",_type:"error"}}),a.jsx(Be,{id:"input3",_label:"Input 3",_touched:!0,_msg:{_description:"Input error",_type:"error"}}),a.jsx("div",{children:a.jsx(Q,{_label:"ScrollTo",_type:"submit"})})]})})]})},YT={form:{basic:PT,"error-list":GT}},K0=`public-ui.v${Ob.version}`;class XT{store=new Map;setItem(o,r){this.store.set(o,r)}getItem(o){return this.store.get(o)||null}}const Fi={darkMode:!1,theme:"default"};let $b;function V0(e){$b=e;const o=$b.getItem(K0);try{const r=JSON.parse(o);typeof r=="object"&&r!==null&&(Fi.darkMode=r.darkMode===!0,km(r.theme)&&(Fi.theme=r.theme))}catch{}}V0(new XT);const QT=()=>{$b.setItem(K0,JSON.stringify(Fi))},JT=e=>{if(km(e))Fi.theme=e,QT();else throw new Error(`The theme identifier "${e}" is not valid or an available option.`)},Ms=()=>`${Fi.theme}`,Mb=e=>{if(km(e))return ym.find(o=>o.value===e)?.label;throw new Error(`The theme identifier "${e}" is not valid or an available option.`)},WT=[{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 eA({_on:e,...o}){const{dummyClickEventHandler:r}=On(),i={onClick:r};return a.jsx(Q,{...o,_on:i})}const nA={horizontal:[[{label:"Workdays",colSpan:5},{label:"Weekend",colSpan:2}],[{key:"monday",label:"Monday",render:(e,o)=>{const r=document.createElement("div");r.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(r),po(r).render(a.jsx(eA,{_label:o.label,style:{fontSize:"75%"}}))},compareFn:(e,o)=>e.monday<o.monday?-1:e.monday>o.monday?1:0,sortDirection:"ASC",textAlign:"right"},{key:"tuesday",label:"Tuesday",render:(e,o)=>{const r=document.createElement("div");r.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(r),po(r).render(a.jsx(xn,{_color:"#060",_label:o.label}))},compareFn:(e,o)=>e.tuesday<o.tuesday?-1:e.tuesday>o.tuesday?1:0,sortDirection:"DESC"},{key:"wednesday",label:"Wednesday",render:(e,o)=>{const r=document.createElement("div");r.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(r),po(r).render(a.jsx(xn,{_color:"#006",_label:o.label}))}},{key:"thursday",label:"Thursday",render:(e,o)=>{const r=document.createElement("div");r.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(r),po(r).render(a.jsx(xn,{_color:"#600",_label:o.label}))}},{key:"friday",label:"Friday",render:(e,o)=>{const r=document.createElement("div");r.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(r),po(r).render(a.jsx(xn,{_color:"#303",_label:o.label}))}},{key:"saturday",label:"Saturday",render:(e,o)=>{const r=document.createElement("div");r.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(r),po(r).render(a.jsx(xn,{_color:"#330",_label:o.label}))}},{key:"sunday",label:"Sunday",render:(e,o)=>{const r=document.createElement("div");r.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(r),po(r).render(a.jsx(xn,{_color:"#033",_label:o.label}))}}]],vertical:[[{label:"Early"},{label:"Noon"},{label:"Evening"},{label:"Night"}]]},oA=()=>{const{dummyClickEventHandler:e}=On(),o={onClick:e};return a.jsxs("div",{className:"grid gap-4",children:[a.jsxs("div",{className:"grid gap-4 md:grid-cols-[auto_1fr_1fr] items-center",children:[a.jsx(ys,{className:"block w-75px",_labeled:!1}),a.jsx(be,{_label:"",_level:1,children:a.jsxs("span",{slot:"expert",children:["Kolibri-Handout ",a.jsxs("small",{children:["for ",Mb(Ms())]})]})}),a.jsxs(er,{_label:"Abstract",_open:!0,children:["The handout shows a selection of KoliBri components in the style of ",a.jsx("strong",{children:Mb(Ms())}),". 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 (",a.jsx(ke,{_label:"https://github.com/public-ui/kolibri",_href:"https://github.com/public-ui/kolibri",_target:"_blank"}),")."]})]}),a.jsxs("div",{className:"grid gap-4 sm:grid-cols-6 md:grid-cols-6 xl:grid-cols-12",children:[a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-3 xl:col-span-2",_label:"Heading",_level:2,children:a.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[a.jsx(be,{_label:"Heading Level 1",_level:1}),a.jsx(be,{_label:"Heading Level 2",_level:2}),a.jsx(be,{_label:"Heading Level 3",_level:3}),a.jsx(be,{_label:"Heading Level 4",_level:4}),a.jsx(be,{_label:"Heading Level 5",_level:5}),a.jsx(be,{_label:"Heading Level 6",_level:6}),a.jsx(be,{_label:"Heading Level 6",_secondaryHeadline:"Lessons",_level:6})]})}),a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-3 xl:col-span-2",_label:"Abbreviation and Progress",_level:2,children:a.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[a.jsxs("p",{children:["I am ",a.jsx(Bi,{_label:"as an example",children:"e.g."})," an abbreviation."]}),a.jsxs("p",{children:["I am ",a.jsx(Bi,{children:"e.g."})," an abbreviation without label."]}),a.jsx(Jt,{_variant:"bar",_max:100,_value:33,_label:"Progress"}),a.jsx(Jt,{_variant:"cycle",_max:100,_value:66,_label:"Progress"})]})}),a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-6 xl:col-span-3",_label:"Button, LinkButton and Tab",_level:2,children:a.jsx("div",{slot:"",className:"grid gap-2 p-2",children:a.jsxs(rr,{_label:"",_selected:0,_tabs:[{_label:"Button"},{_label:"LinkButton"},{_label:"Disabled Tab",_disabled:!0}],children:[a.jsxs("div",{className:"grid gap-2 py-2",children:[a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Q,{_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary",_on:o}),a.jsx(Q,{_disabled:!0,_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary",_on:o}),a.jsx(Q,{_hideLabel:!0,_icons:"codicon codicon-arrow-left",_label:"primary",_variant:"primary",_on:o})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Q,{_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary",_on:o}),a.jsx(Q,{_disabled:!0,_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary",_on:o}),a.jsx(Q,{_hideLabel:!0,_icons:"codicon codicon-arrow-right",_label:"secondary",_variant:"secondary",_on:o})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Q,{_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger",_on:o}),a.jsx(Q,{_disabled:!0,_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger",_on:o}),a.jsx(Q,{_hideLabel:!0,_icons:"codicon codicon-arrow-up",_label:"danger",_variant:"danger",_on:o})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Q,{_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal",_on:o}),a.jsx(Q,{_disabled:!0,_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal",_on:o}),a.jsx(Q,{_hideLabel:!0,_icons:"codicon codicon-arrow-down",_label:"normal",_variant:"normal",_on:o})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Q,{_label:"ghost",_variant:"ghost"}),a.jsx(Q,{_disabled:!0,_label:"ghost",_variant:"ghost"}),a.jsx(Q,{_icons:"codicon codicon-home",_hideLabel:!0,_label:"ghost",_variant:"ghost",_on:o})]})]}),a.jsxs("div",{className:"grid gap-2 py-2",children:[a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Je,{_href:"#/back-page",_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary"}),a.jsx(Je,{_href:"#/back-page",_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary"}),a.jsx(Je,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-left",_label:"primary",_variant:"primary"})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Je,{_href:"#/back-page",_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary"}),a.jsx(Je,{_href:"#/back-page",_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary"}),a.jsx(Je,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-right",_label:"secondary",_variant:"secondary"})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Je,{_href:"#/back-page",_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger"}),a.jsx(Je,{_href:"#/back-page",_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger"}),a.jsx(Je,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-up",_label:"danger",_variant:"danger"})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Je,{_href:"#/back-page",_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal"}),a.jsx(Je,{_href:"#/back-page",_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal"}),a.jsx(Je,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-down",_label:"normal",_variant:"normal"})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Je,{_href:"#/back-page",_label:"ghost",_variant:"ghost"}),a.jsx(Je,{_href:"#/back-page",_label:"ghost",_variant:"ghost"}),a.jsx(Je,{_href:"#/back-page",_icons:"codicon codicon-home",_hideLabel:!0,_label:"ghost",_variant:"ghost"})]})]})]})})}),a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-2 xl:col-span-2",_label:"Accordion, Link and ButtonLink",_level:2,children:a.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[a.jsx(oo,{_label:"Links",_level:3,_open:!0,children:a.jsxs("div",{className:"grid gap-2",slot:"",children:[a.jsx(ke,{_href:"#/back-page",_label:"Link text"}),a.jsx(ke,{_href:"#/back-page",_icons:"codicon codicon-home",_label:"Link text with icon"}),a.jsx(ke,{_href:"#/back-page",_icons:"codicon codicon-home",_hideLabel:!0,_label:"Link text with icon only"}),a.jsx(ke,{_href:"/",_label:"Visited link"}),a.jsxs("p",{children:["I am a ",a.jsx(ke,{_href:"#/back-page",_label:"externer Link",_target:"w3c"})," in the running text."]})]})}),a.jsx(oo,{_label:"ButtonLinks",_level:3,children:a.jsxs("div",{className:"grid gap-2",slot:"",children:[a.jsx(Ge,{_label:"Link text"}),a.jsx(Ge,{_icons:"codicon codicon-home",_label:"Link text with icon"}),a.jsx(Ge,{_icons:"codicon codicon-home",_hideLabel:!0,_label:"Link text with icon only"}),a.jsxs("p",{children:["I am a ",a.jsx(Ge,{_label:"Link"})," in the running text."]}),a.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"})]})})]})}),a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-3",_label:"Alert",_level:2,children:a.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[a.jsx(_o,{_label:"Default message",_type:"default",children:"This is the text of the alert."}),a.jsx(_o,{_type:"success",children:"Success message text"}),a.jsx(_o,{_type:"error",_hasCloser:!0,children:"This is a error message text."}),a.jsx(_o,{_label:"Info card",_type:"info",_variant:"card",children:"This is the text of the alert."}),a.jsx(_o,{_label:"Warning card",_type:"warning",_hasCloser:!0,_variant:"card",children:"This is the text of the alert."})]})}),a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-2 xl:col-span-2",_label:"Nav and Breadcrumb",_level:2,children:a.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[a.jsx("div",{children:a.jsx(gl,{_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})}),a.jsx("div",{children:a.jsx(ks,{_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"}]})})]})}),a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5",_label:"Input",_level:2,children:a.jsx(wo,{slot:"",children:a.jsxs("div",{className:"grid gap-4 sm:grid-cols-2 md:grid-cols-3 p-2",children:[a.jsx(Zn,{_label:"Color"}),a.jsx(Rn,{_label:"Upload file"}),a.jsx(jn,{_label:"Number input"}),a.jsx(Ie,{_type:"date",_label:"Date"}),a.jsx(Pn,{_icons:"{'left': 'codicon codicon-home'}",_msg:{_type:"error",_description:"Test of an error message"},_touched:!0,_label:"E-mail address"}),a.jsx(Be,{_hint:"I am a hint.",_label:"First name"}),a.jsx(Tn,{_label:"password"}),a.jsx(Gn,{_options:"[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]",_label:"Stimmung"}),a.jsx(Wn,{_min:0,_max:50,_value:25,_label:"Slider"}),a.jsx(An,{className:"herr-frau",_options:"[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]",_value:"1",_label:"Salutation"}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(An,{_orientation:"horizontal",_options:"[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]",_value:"0",_label:"Salutation"}),a.jsx(rn,{_label:"",children:a.jsxs("span",{slot:"expert",children:["I accept the ",a.jsx(Bi,{_label:"General Terms and Conditions",children:"AGB"}),"."]})})]}),a.jsx(en,{_rows:4,_label:"Textarea"})]})})}),a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5",_label:"Table with Pagination",_level:2,children:a.jsx("div",{slot:"",className:"grid gap-2 p-2",children:a.jsx(bn,{_label:"Table",_minWidth:"auto",_headers:nA,_data:WT,_pagination:!0})})})]}),a.jsx(Ps,{_label:"5.0.2-test.2"})]})},tA={handout:{basic:oA}},rA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows KolHeading with its different levels and content provided using the export slot instead of the ",a.jsx("code",{children:"_label"}),"-property."]})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(be,{_label:"",_level:1,children:a.jsxs("span",{slot:"expert",children:["A heading with a ",a.jsx(xn,{_label:"Label"})]})}),a.jsx(be,{_label:"",_level:2,children:a.jsxs("span",{slot:"expert",children:["A heading with a ",a.jsx(xn,{_color:"#86ffc6",_label:"Label"})]})}),a.jsx(be,{_label:"",_level:3,children:a.jsxs("span",{slot:"expert",children:["A heading with a ",a.jsx(xn,{_color:"#06539e",_label:"Label"})]})}),a.jsx(be,{_label:"",_level:4,children:a.jsxs("span",{slot:"expert",children:["A heading with a ",a.jsx(xn,{_color:"#ae0000",_label:"Label"})]})}),a.jsx(be,{_label:"",_level:5,children:a.jsxs("span",{slot:"expert",children:["A heading with a ",a.jsx(xn,{_color:"#8b008b",_label:"Label"})]})}),a.jsx(be,{_label:"",_level:6,children:a.jsxs("span",{slot:"expert",children:["A heading with a ",a.jsx(xn,{_color:"#ffc0cb",_label:"Label"})]})})]})]}),aA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolHeading renders a heading with the given level."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(be,{_label:"I'm a H1-heading",_level:1}),a.jsx(be,{_label:"I'm a H2-heading",_level:2}),a.jsx(be,{_label:"I'm a H3-heading",_level:3}),a.jsx(be,{_label:"I'm a H4-heading",_level:4}),a.jsx(be,{_label:"I'm a H5-heading",_level:5}),a.jsx(be,{_label:"I'm a H6-heading",_level:6})]})]}),lA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolHeading with its different levels combined with some text content each."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(be,{_label:"Ich bin eine H1-Überschrift",_level:1}),a.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."}),a.jsx(be,{_label:"Ich bin eine H2-Überschrift",_level:2}),a.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."}),a.jsx(be,{_label:"Ich bin eine H3-Überschrift",_level:3}),a.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."}),a.jsx(be,{_label:"Ich bin eine H4-Überschrift",_level:4}),a.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."}),a.jsx(be,{_label:"Ich bin eine H5-Überschrift",_level:5}),a.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."}),a.jsx(be,{_label:"Ich bin eine H6-Überschrift",_level:6}),a.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."})]})]}),iA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows KolHeading with the prop ",a.jsx("code",{children:"_secondaryHeadline"})," in use."]})}),a.jsx("div",{className:"grid gap-4",children:a.jsx(be,{_label:"This is a H1 headline",_secondaryHeadline:"This is a secondary headline",_level:1})})]}),cA={heading:{basic:aA,badge:rA,paragraph:lA,secondary:iA}},sA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolIcon renders codicon icons. This sample shows regular icons and one with a custom style-property, changing the icon color."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ft,{className:"block",_label:"",_icons:"codicon codicon-home"}),a.jsx(ft,{className:"block",_label:"",_icons:"codicon codicon-compass-active"}),a.jsx(ft,{className:"block",_label:"",_icons:"codicon codicon-debug"}),a.jsx(ft,{className:"block",_label:"",_icons:"codicon codicon-squirrel"}),a.jsx(ft,{className:"block w-[1em] h-[1em]",style:{color:"red"},_label:"",_icons:"codicon codicon-home"})]})]}),dA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolIcon renders Font Awesome icons, if you have added this font to your theme. We are showing Font Awesome Free 6.1.1."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ft,{className:"block",_label:"",_icons:"fa-solid fa-house"}),a.jsx(ft,{className:"block",_label:"",_icons:"fa-solid fa-circle-user"}),a.jsx(ft,{className:"block",_label:"",_icons:"fa-solid fa-truck"}),a.jsx(ft,{className:"block",_label:"",_icons:"fa-solid fa-city"}),a.jsx(ft,{className:"block",_label:"",_icons:"fa-regular fa-heart"}),a.jsx(ft,{className:"block",_label:"",_icons:"fa-regular fa-thumbs-up"}),a.jsx(ft,{className:"block",_label:"",_icons:"fa-brands fa-github"}),a.jsx(Be,{_label:"With Font Awesome icons",_icons:{left:{icon:"fa-solid fa-phone"},right:{icon:"fa-solid fa-arrow-right"}}})]})]}),fA={icon:{basic:sA,"font-awesome":dA}},uA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolImage renders an image. The sample shows an image with alternative text."})}),a.jsx(N4,{className:"w-image",_src:"abgrenzung.jpg",_alt:"Darstellung des KoliBri-Theming"})]}),bA={image:{basic:uA}},bs=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx(rn,{...o,_label:"Not selected",_value:!1,_required:!0}),a.jsx(rn,{...o,_label:"Indeterminate",_value:null,_indeterminate:!0}),a.jsx(rn,{...o,ref:r,_accessKey:"A",_checked:!0,_label:"Selected",_tooltipAlign:"right",_value:!0}),a.jsx(rn,{...o,_checked:!0,_icons:{unchecked:"codicon codicon-close"},_label:"With a very long label and upheavals ".repeat(5),_value:!0}),a.jsx(rn,{...o,_disabled:!0,_label:"Disabled",_value:!0,_hint:"Hint text"}),a.jsx(rn,{...o,_checked:!0,_disabled:!0,_label:"Checked and disabled"}),a.jsx(rn,{...o,_indeterminate:!0,_disabled:!0,_label:"Indeterminate and disabled"}),a.jsx(rn,{...o,_msg:{_type:"error",_description:Fe},_label:"With error",_touched:!0,_value:!0,_hint:"Hint text"}),a.jsx(rn,{...o,_label:"With access key",_accessKey:"c",_value:null}),a.jsx(rn,{...o,_label:"With short key",_shortKey:"s",_value:null})]})}),zm=z.forwardRef(function(o,r){return a.jsxs(a.Fragment,{children:[a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:'Label align "left" with label'}),a.jsx(bs,{...o,_labelAlign:"left"})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:'Label align "left" without Label (hideLabel)'}),a.jsx(bs,{ref:r,...o,_hideLabel:!0,_labelAlign:"left"})]})]}),a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:'Label align "right" with label'}),a.jsx(bs,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:'Label align "right" without Label (hideLabel)'}),a.jsx(bs,{ref:r,...o,_hideLabel:!0})]})]})]})}),mA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolInputCheckbox renders a checkbox. The sample shows KolInputCheckbox in a form context with all variations and states."})}),a.jsx(go,{RefComponent:zm,showButtons:!1})]}),hA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:'This sample shows KolInputCheckbox in the variant "button".'})}),a.jsx(go,{RefComponent:zm,_variant:"button",showButtons:!1})]}),pA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:'This sample shows KolInputCheckbox in the variant "switch".'})}),a.jsx(go,{RefComponent:zm,_variant:"switch",showButtons:!1})]}),_A={"input-checkbox":{basic:mA,switch:pA,button:hA}},i1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(Zn,{...o,_msg:{_type:"error",_description:Fe},_icons:{left:"codicon codicon-symbol-color"},_label:"Color (Black background test)",_value:"#f08080"})}),a.jsx(Zn,{...o,_msg:{_type:"error",_description:Fe},_label:"Color with error",_suggestions:"['#000000','#f08080', '#0000ff','#00ff00']",_touched:!0}),a.jsx(Zn,{...o,_msg:{_type:"info",_description:"Just a hint"},_label:"Color"}),a.jsx(Zn,{...o,_msg:{_type:"warning",_description:"Small warning"},_label:"Color"}),a.jsx(Zn,{...o,_msg:{_type:"success",_description:"Success message"},_label:"Color"}),a.jsx(Zn,{...o,ref:r,_accessKey:"C",_hint:"Hint text",_label:"Color with hint",_value:"#f08080"}),a.jsx(Zn,{...o,_disabled:!0,_label:"Color (Disabled)",_value:"#f08080"}),a.jsx(Zn,{...o,_label:"With access key",_accessKey:"c"}),a.jsx(Zn,{...o,_label:"With short key",_shortKey:"s"})]})}),vA=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Color"}),a.jsx(i1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Color (hideLabel)"}),a.jsx(i1,{ref:r,...o,_hideLabel:!0})]})]})}),gA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolInputColor renders a color input. The sample shows KolInputColor in a form context with all variations and states."})}),a.jsx(go,{RefComponent:vA,showButtons:!1})]}),kA={"input-color":{basic:gA}},c1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(Ie,{...o,_type:"date",_label:"Date input (Black background test)",_required:!0})}),a.jsx(Ie,{...o,_type:"datetime-local",_label:"Local-Datetime (Standard)",_required:!0}),a.jsx(Ie,{...o,_step:1,_type:"datetime-local",_hint:xo,_msg:{_type:"error",_description:Fe},_label:"Local datetime (with seconds)",_required:!0,_touched:!0}),a.jsx(Ie,{...o,_msg:{_type:"info",_description:"Just a hint"},_label:"Color"}),a.jsx(Ie,{...o,_msg:{_type:"warning",_description:"Small warning"},_label:"Color"}),a.jsx(Ie,{...o,_msg:{_type:"success",_description:"Success message"},_label:"Color"}),a.jsx(Ie,{...o,_type:"month",_label:"Month",_required:!0}),a.jsx(Ie,{...o,ref:r,_accessKey:"W",_type:"week",_label:"Week",_required:!0}),a.jsx(Ie,{...o,_type:"time",_label:"Time (standard)",_required:!0}),a.jsx(Ie,{...o,_step:1,_type:"time",_label:"Time (with seconds)",_required:!0}),a.jsx(Ie,{...o,_readOnly:!0,_label:"Date input (read-only)",_required:!0}),a.jsx(Ie,{...o,_disabled:!0,_label:"Date input (Disabled)",_required:!0}),a.jsx(Ie,{...o,_label:"With access key",_accessKey:"s"}),a.jsx(Ie,{...o,_label:"With short key",_shortKey:"s"})]})}),yA=e=>{const o="2024-09-26",r="2024-09-27",i="12:00",s="15:00",d="2024-09-26T12:00",u="2024-09-27T15:00",m="2024-W10",h="2024-W50",p="2024-02",v="2024-10",g=new Date("January 10, 2024, 12:00"),k=new Date("October 20, 2024, 15:00");return a.jsxs("div",{className:"grid gap-4",children:[a.jsx(Ie,{...e,_type:"date",_label:"Date with Iso",_min:o,_max:r}),a.jsx(Ie,{...e,_type:"date",_label:"Date with Date",_min:g,_max:k}),a.jsx(Ie,{...e,_type:"time",_label:"Time with Iso",_min:i,_max:s}),a.jsx(Ie,{...e,_type:"time",_label:"Time with Date",_min:g,_max:k}),a.jsx(Ie,{...e,_type:"datetime-local",_label:"DayTime with Iso",_min:d,_max:u}),a.jsx(Ie,{...e,_type:"datetime-local",_label:"DayTime with Date",_min:g,_max:k}),a.jsx(Ie,{...e,_type:"week",_label:"Week with Iso",_min:m,_max:h}),a.jsx(Ie,{...e,_type:"week",_label:"Week with Date",_min:g,_max:k}),a.jsx(Ie,{...e,_type:"month",_label:"Month with Iso",_min:p,_max:v}),a.jsx(Ie,{...e,_type:"month",_label:"Month with Date",_min:g,_max:k})]})},xA=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Date"}),a.jsx(c1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Date (hideLabel)"}),a.jsx(c1,{ref:r,...o,_hideLabel:!0})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Date (with min/max)"}),a.jsx(yA,{...o})]})]})}),wA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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."})}),a.jsx(go,{RefComponent:xA,showButtons:!1})]}),s1=e=>String(e).padStart(2,"0"),zA=(e,o,r)=>{const i=new Date(e,o-1,r);return i.getFullYear()===e&&i.getMonth()===o-1&&i.getDate()===r};function d1(e){const o=/^\s*(\d{1,2})\.(\d{1,2})\.(\d{4})\s*$/.exec(e);if(!o)return null;const r=+o[1],i=+o[2],s=+o[3];return zA(s,i,r)?`${s}-${s1(i)}-${s1(r)}`:null}function jA(e){return e instanceof HTMLElement&&e.tagName==="KOL-INPUT-DATE"}async function SA(e,o){typeof e.setIsoValue=="function"?await e.setIsoValue(o):typeof e.value<"u"?e.value=o:typeof e._value<"u"?e._value=o:e.setAttribute("_value",o),e.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),e.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}const TA=()=>{const[e,o]=z.useState("31.12.2025"),[r,i]=z.useState(""),s=z.useRef(null),d=z.useMemo(()=>d1(e),[e]);z.useEffect(()=>{const h=new AbortController,p=v=>{const g=v.composedPath?.()??[];s.current=g.find(jA)??null};return document.addEventListener("focusin",p,{capture:!0,signal:h.signal}),()=>h.abort()},[]),z.useEffect(()=>{const h=new AbortController,p=v=>{const g=s.current;if(!g)return;const k=v.clipboardData?.getData("text")??"",S=d1(k);if(!S){i("Clipboard: unrecognized date. Use DD.MM.YYYY.");return}v.preventDefault(),SA(g,S),i("Pasted.")};return document.addEventListener("paste",p,{capture:!0,signal:h.signal}),()=>h.abort()},[]);const u=z.useCallback(async h=>{i("");try{await navigator.clipboard.writeText(h),i("Copied.")}catch{i("Copy failed. Your browser may block clipboard access.")}},[]),m=z.useCallback((h,p)=>{if(h?.target){const v=typeof p=="string"?p:String(p??"");o(v)}},[]);return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["Type a date in German format (",a.jsx("code",{children:"DD.MM.YYYY"}),"), click ",a.jsx("em",{children:"Copy to Clipboard"}),", then paste it into the date field below with ",a.jsx("kbd",{children:"Ctrl"}),"+",a.jsx("kbd",{children:"V"}),". The ISO conversion happens internally."]})}),a.jsxs("div",{className:"grid gap-8",lang:"en",children:[a.jsxs("section",{"aria-labelledby":"de-title",children:[a.jsx("h3",{id:"de-title",className:"text-lg font-semibold mb-2",children:"German date (DD.MM.YYYY)"}),a.jsxs("div",{className:"grid gap-3",children:[a.jsx(Be,{className:"w-full",_label:"German date (DD.MM.YYYY)",_placeholder:"e.g., 31.12.2025",_value:e,_type:"text",_on:{onInput:m,onChange:m}}),a.jsx("small",{className:"opacity-80",children:"Click the button to copy the exact German date, then paste it into the date field below."}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Q,{_label:"Copy to Clipboard",_on:{onClick:()=>u(e)}}),!d&&a.jsx("span",{className:"text-red-600",children:"Invalid date"})]}),a.jsx(Ie,{_type:"date",_label:"Date (paste here with Ctrl+V)",className:"w-full"})]})]}),a.jsx("p",{"aria-live":"polite",role:"status",className:"mt-2 opacity-80",children:r})]})]})},AA=()=>{const e=z.useRef(null);return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample demonstrates the KolInputDate ",a.jsx("code",{children:"reset"}),"-Method, which can be used to clear the field, even when it holds incomplete or invalid values."]})}),a.jsx(Ie,{className:"w-full",ref:e,_label:"Resettable Input Date",_value:"2024-02-10"}),a.jsx(Q,{className:"mt",_label:"Reset",_on:{onClick:()=>e.current?.reset()}})]})},CA=["default","error","info","success","warning"];function Wu(e){return{onChange:()=>e(o=>!o)}}const EA=()=>{const[e,o]=z.useState(!0),[r,i]=z.useState(!0),[s,d]=z.useState(!1),u=Wu(o),m=Wu(i),h=Wu(d);return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This example shows how messages work in input fields."})}),a.jsxs("div",{className:"flex gap-4 flex-col",children:[a.jsxs("div",{className:"flex gap-4 items-center",children:[a.jsx(rn,{_label:"Toggle Msg",_on:u,_checked:e,_variant:"button"}),a.jsx(rn,{_label:"Toggle Touched",_on:m,_checked:r,_variant:"button"}),a.jsx(rn,{_label:"Toggle Hide Msg",_on:h,_checked:s,_variant:"button"})]}),a.jsxs("pre",{children:["Message exists: ",e?"Yes":"No"," (showMsg: ",e?"Yes":"No",")",a.jsx("br",{}),"Non-Error-Message visible: ",e&&!s?"Yes":"No"," (showMsg: ",e?"Yes":"No",", hideMsg: ",s?"Yes":"No",")",a.jsx("br",{}),"Error-Message visible: ",e&&r&&!s?"Yes":"No"," (showMsg: ",e?"Yes":"No",", isTouched: ",r?"Yes":"No",", hideMsg: ",s?"Yes":"No",")"]}),CA.map(p=>a.jsx(Ie,{_hideMsg:s,_label:`Date (_msg, ${p})`,_msg:e?{_description:`${p} message`,_type:p}:void 0,_touched:r},p))]})]})},LA={"input-date":{basic:wA,"copy-paste":TA,reset:AA,"show-hide-msg":EA}},f1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(Pn,{...o,_required:!0,_value:"test@mail.de",_msg:{_type:"error",_description:Fe},_label:"E-Mail (Black background test)"})}),a.jsx(Pn,{...o,ref:r,_accessKey:"M",_placeholder:"elke@mustermann.de",_suggestions:"['test1@mail.de', 'test2@mail.de', 'test3@mail.de']",_label:"E-Mail (list)",_hint:xo,_msg:{_type:"error",_description:Fe},_touched:!0,_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}}}),a.jsx(Pn,{...o,_msg:{_type:"info",_description:"Just a hint"},_label:"E-Mail"}),a.jsx(Pn,{...o,_msg:{_type:"warning",_description:"Small warning"},_label:"E-Mail"}),a.jsx(Pn,{...o,_msg:{_type:"success",_description:"Success message"},_label:"E-Mail"}),a.jsx(Pn,{...o,_disabled:!0,_value:"test@mail.de",_label:"E-Mail (Disabled)"}),a.jsx(Pn,{...o,_readOnly:!0,_value:"test@mail.de",_label:"E-Mail (Readonly)"}),a.jsx(Pn,{...o,_value:"test@mail.de",_label:"With access key",_accessKey:"c"}),a.jsx(Pn,{...o,_value:"test@mail.de",_label:"With short key",_shortKey:"s"})]})}),BA=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Email"}),a.jsx(f1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Email (hideLabel)"}),a.jsx(f1,{ref:r,...o,_hideLabel:!0})]})]})}),NA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolInputEmail renders an email input field. The sample shows KolInputEmail in a form context with all variations and states."})}),a.jsx(go,{RefComponent:BA,showButtons:!1})]}),RA={"input-email":{basic:NA}},u1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(Rn,{...o,_label:"Upload file (Black background test)",_icons:{left:{icon:"codicon codicon-save"}},_touched:!0})}),a.jsx(Rn,{...o,_required:!0,_hint:xo,_msg:{_type:"error",_description:Fe},_label:"Upload file (Black background test)",_icons:{left:{icon:"codicon codicon-save"}},_touched:!0}),a.jsx(Rn,{...o,_msg:{_type:"info",_description:"Just a hint"},_label:"Upload file"}),a.jsx(Rn,{...o,_msg:{_type:"warning",_description:"Small warning"},_label:"Upload file"}),a.jsx(Rn,{...o,_msg:{_type:"success",_description:"Success message"},_label:"Upload file"}),a.jsx(Rn,{...o,ref:r,_accessKey:"h",_multiple:!0,_msg:{_type:"error",_description:Fe},_label:"Upload file (Multiple)"}),a.jsx(Rn,{...o,_disabled:!0,_label:"Upload file (Disabled)"}),a.jsx(Rn,{...o,_label:"With access key",_accessKey:"c"}),a.jsx(Rn,{...o,_label:"With short key",_shortKey:"s"})]})}),DA=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"File"}),a.jsx(u1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"File (hideLabel)"}),a.jsx(u1,{ref:r,...o,_hideLabel:!0})]})]})}),OA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolInputFile renders a file input field. The sample shows KolInputFile in a form context with all variations and states."})}),a.jsx(go,{RefComponent:DA,showButtons:!1})]}),$A={"input-file":{basic:OA}},b1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsxs("div",{className:"black-background",children:[a.jsx(jn,{...o,_required:!0,_touched:!0,_value:123,_label:"Number input (Black background test)"})," "]}),a.jsx(jn,{...o,_required:!0,_msg:{_type:"error",_description:Fe},_touched:!0,_placeholder:"Mit Icons",_label:"Number input",_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}}}),a.jsx(jn,{...o,_required:!0,_msg:{_type:"error",_description:Fe},_touched:!0,_value:123,_label:"Number input"}),a.jsx(jn,{...o,_required:!0,_msg:{_type:"warning",_description:Fe},_touched:!0,_value:123,_label:"Number input"}),a.jsx(jn,{...o,_required:!0,_msg:{_type:"info",_description:Fe},_touched:!0,_value:123,_label:"Number input"}),a.jsx(jn,{...o,_required:!0,_msg:{_type:"success",_description:Fe},_touched:!0,_value:123,_label:"Number input"}),a.jsx(jn,{...o,ref:r,_accessKey:"Z",_max:10,_min:-10,_step:2,_label:"Number input (-10 to 10 in steps of 2)"}),a.jsx(jn,{...o,_readOnly:!0,_label:"Number input (Readonly)"}),a.jsx(jn,{...o,_disabled:!0,_label:"Number input (Disabled)"}),a.jsx(jn,{...o,_label:"With access key",_accessKey:"c"}),a.jsx(jn,{...o,_label:"With short key",_shortKey:"s"})]})}),MA=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Number"}),a.jsx(b1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Number (hideLabel)"}),a.jsx(b1,{ref:r,...o,_hideLabel:!0})]})]})}),UA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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."})}),a.jsx(go,{RefComponent:MA,showButtons:!1})]});var Zi=e=>e.type==="checkbox",ba=e=>e instanceof Date,Do=e=>e==null;const q0=e=>typeof e=="object";var Yn=e=>!Do(e)&&!Array.isArray(e)&&q0(e)&&!ba(e),Z0=e=>Yn(e)&&e.target?Zi(e.target)?e.target.checked:e.target.value:e,FA=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,P0=(e,o)=>e.has(FA(o)),IA=e=>{const o=e.constructor&&e.constructor.prototype;return Yn(o)&&o.hasOwnProperty("isPrototypeOf")},jm=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Jn(e){let o;const r=Array.isArray(e),i=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)o=new Date(e);else if(!(jm&&(e instanceof Blob||i))&&(r||Yn(e)))if(o=r?[]:Object.create(Object.getPrototypeOf(e)),!r&&!IA(e))o=e;else for(const s in e)e.hasOwnProperty(s)&&(o[s]=Jn(e[s]));else return e;return o}var Ws=e=>/^\w*$/.test(e),Dn=e=>e===void 0,Sm=e=>Array.isArray(e)?e.filter(Boolean):[],Tm=e=>Sm(e.replace(/["|']|\]/g,"").split(/\.|\[/)),de=(e,o,r)=>{if(!o||!Yn(e))return r;const i=(Ws(o)?[o]:Tm(o)).reduce((s,d)=>Do(s)?s:s[d],e);return Dn(i)||i===e?Dn(e[o])?r:e[o]:i},Go=e=>typeof e=="boolean",fn=(e,o,r)=>{let i=-1;const s=Ws(o)?[o]:Tm(o),d=s.length,u=d-1;for(;++i<d;){const m=s[i];let h=r;if(i!==u){const p=e[m];h=Yn(p)||Array.isArray(p)?p:isNaN(+s[i+1])?{}:[]}if(m==="__proto__"||m==="constructor"||m==="prototype")return;e[m]=h,e=e[m]}};const Us={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},_t={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Xt={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},G0=ce.createContext(null);G0.displayName="HookFormContext";const Am=()=>ce.useContext(G0);var Y0=(e,o,r,i=!0)=>{const s={defaultValues:o._defaultValues};for(const d in e)Object.defineProperty(s,d,{get:()=>{const u=d;return o._proxyFormState[u]!==_t.all&&(o._proxyFormState[u]=!i||_t.all),r&&(r[u]=!0),e[u]}});return s};const Cm=typeof window<"u"?ce.useLayoutEffect:ce.useEffect;function HA(e){const o=Am(),{control:r=o.control,disabled:i,name:s,exact:d}=e||{},[u,m]=ce.useState(r._formState),h=ce.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Cm(()=>r._subscribe({name:s,formState:h.current,exact:d,callback:p=>{!i&&m({...r._formState,...p})}}),[s,i,d]),ce.useEffect(()=>{h.current.isValid&&r._setValid(!0)},[r]),ce.useMemo(()=>Y0(u,r,h.current,!1),[u,r])}var Qo=e=>typeof e=="string",Ub=(e,o,r,i,s)=>Qo(e)?(i&&o.watch.add(e),de(r,e,s)):Array.isArray(e)?e.map(d=>(i&&o.watch.add(d),de(r,d))):(i&&(o.watchAll=!0),r),Fb=e=>Do(e)||!q0(e);function vt(e,o,r=new WeakSet){if(Fb(e)||Fb(o))return Object.is(e,o);if(ba(e)&&ba(o))return e.getTime()===o.getTime();const i=Object.keys(e),s=Object.keys(o);if(i.length!==s.length)return!1;if(r.has(e)||r.has(o))return!0;r.add(e),r.add(o);for(const d of i){const u=e[d];if(!s.includes(d))return!1;if(d!=="ref"){const m=o[d];if(ba(u)&&ba(m)||Yn(u)&&Yn(m)||Array.isArray(u)&&Array.isArray(m)?!vt(u,m,r):!Object.is(u,m))return!1}}return!0}function KA(e){const o=Am(),{control:r=o.control,name:i,defaultValue:s,disabled:d,exact:u,compute:m}=e||{},h=ce.useRef(s),p=ce.useRef(m),v=ce.useRef(void 0),g=ce.useRef(r),k=ce.useRef(i);p.current=m;const[S,B]=ce.useState(()=>{const R=r._getWatch(i,h.current);return p.current?p.current(R):R}),T=ce.useCallback(R=>{const M=Ub(i,r._names,R||r._formValues,!1,h.current);return p.current?p.current(M):M},[r._formValues,r._names,i]),N=ce.useCallback(R=>{if(!d){const M=Ub(i,r._names,R||r._formValues,!1,h.current);if(p.current){const H=p.current(M);vt(H,v.current)||(B(H),v.current=H)}else B(M)}},[r._formValues,r._names,d,i]);Cm(()=>((g.current!==r||!vt(k.current,i))&&(g.current=r,k.current=i,N()),r._subscribe({name:i,formState:{values:!0},exact:u,callback:R=>{N(R.values)}})),[r,u,i,N]),ce.useEffect(()=>r._removeUnmounted());const E=g.current!==r,y=k.current,w=ce.useMemo(()=>{if(d)return null;const R=!E&&!vt(y,i);return E||R?T():null},[d,E,i,y,T]);return w!==null?w:S}function VA(e){const o=Am(),{name:r,disabled:i,control:s=o.control,shouldUnregister:d,defaultValue:u,exact:m=!0}=e,h=P0(s._names.array,r),p=ce.useMemo(()=>de(s._formValues,r,de(s._defaultValues,r,u)),[s,r,u]),v=KA({control:s,name:r,defaultValue:p,exact:m}),g=HA({control:s,name:r,exact:m}),k=ce.useRef(e),S=ce.useRef(void 0),B=ce.useRef(s.register(r,{...e.rules,value:v,...Go(e.disabled)?{disabled:e.disabled}:{}}));k.current=e;const T=ce.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!de(g.errors,r)},isDirty:{enumerable:!0,get:()=>!!de(g.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!de(g.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!de(g.validatingFields,r)},error:{enumerable:!0,get:()=>de(g.errors,r)}}),[g,r]),N=ce.useCallback(R=>B.current.onChange({target:{value:Z0(R),name:r},type:Us.CHANGE}),[r]),E=ce.useCallback(()=>B.current.onBlur({target:{value:de(s._formValues,r),name:r},type:Us.BLUR}),[r,s._formValues]),y=ce.useCallback(R=>{const M=de(s._fields,r);M&&R&&(M._f.ref={focus:()=>R.focus&&R.focus(),select:()=>R.select&&R.select(),setCustomValidity:H=>R.setCustomValidity(H),reportValidity:()=>R.reportValidity()})},[s._fields,r]),w=ce.useMemo(()=>({name:r,value:v,...Go(i)||g.disabled?{disabled:g.disabled||i}:{},onChange:N,onBlur:E,ref:y}),[r,i,g.disabled,N,E,y,v]);return ce.useEffect(()=>{const R=s._options.shouldUnregister||d,M=S.current;M&&M!==r&&!h&&s.unregister(M),s.register(r,{...k.current.rules,...Go(k.current.disabled)?{disabled:k.current.disabled}:{}});const H=(Z,te)=>{const le=de(s._fields,Z);le&&le._f&&(le._f.mount=te)};if(H(r,!0),R){const Z=Jn(de(s._options.defaultValues,r,k.current.defaultValue));fn(s._defaultValues,r,Z),Dn(de(s._formValues,r))&&fn(s._formValues,r,Z)}return!h&&s.register(r),S.current=r,()=>{(h?R&&!s._state.action:R)?s.unregister(r):H(r,!1)}},[r,s,h,d]),ce.useEffect(()=>{s._setDisabledField({disabled:i,name:r})},[i,r,s]),ce.useMemo(()=>({field:w,formState:g,fieldState:T}),[w,g,T])}const X0=e=>e.render(VA(e));var Em=(e,o,r,i,s)=>o?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[i]:s||!0}}:{},Ni=e=>Array.isArray(e)?e:[e],m1=()=>{let e=[];return{get observers(){return e},next:s=>{for(const d of e)d.next&&d.next(s)},subscribe:s=>(e.push(s),{unsubscribe:()=>{e=e.filter(d=>d!==s)}}),unsubscribe:()=>{e=[]}}};function Q0(e,o){const r={};for(const i in e)if(e.hasOwnProperty(i)){const s=e[i],d=o[i];if(s&&Yn(s)&&d){const u=Q0(s,d);Yn(u)&&(r[i]=u)}else e[i]&&(r[i]=d)}return r}var yo=e=>Yn(e)&&!Object.keys(e).length,Lm=e=>e.type==="file",gt=e=>typeof e=="function",Fs=e=>{if(!jm)return!1;const o=e?e.ownerDocument:0;return e instanceof(o&&o.defaultView?o.defaultView.HTMLElement:HTMLElement)},J0=e=>e.type==="select-multiple",Bm=e=>e.type==="radio",qA=e=>Bm(e)||Zi(e),eb=e=>Fs(e)&&e.isConnected;function ZA(e,o){const r=o.slice(0,-1).length;let i=0;for(;i<r;)e=Dn(e)?i++:e[o[i++]];return e}function PA(e){for(const o in e)if(e.hasOwnProperty(o)&&!Dn(e[o]))return!1;return!0}function qn(e,o){const r=Array.isArray(o)?o:Ws(o)?[o]:Tm(o),i=r.length===1?e:ZA(e,r),s=r.length-1,d=r[s];return i&&delete i[d],s!==0&&(Yn(i)&&yo(i)||Array.isArray(i)&&PA(i))&&qn(e,r.slice(0,-1)),e}var GA=e=>{for(const o in e)if(gt(e[o]))return!0;return!1};function W0(e){return Array.isArray(e)||Yn(e)&&!GA(e)}function Ib(e,o={}){for(const r in e){const i=e[r];W0(i)?(o[r]=Array.isArray(i)?[]:{},Ib(i,o[r])):Dn(i)||(o[r]=!0)}return o}function hl(e,o,r){r||(r=Ib(o));for(const i in e){const s=e[i];if(W0(s))Dn(o)||Fb(r[i])?r[i]=Ib(s,Array.isArray(s)?[]:{}):hl(s,Do(o)?{}:o[i],r[i]);else{const d=o[i];r[i]=!vt(s,d)}}return r}const h1={value:!1,isValid:!1},p1={value:!0,isValid:!0};var ex=e=>{if(Array.isArray(e)){if(e.length>1){const o=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:o,isValid:!!o.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Dn(e[0].attributes.value)?Dn(e[0].value)||e[0].value===""?p1:{value:e[0].value,isValid:!0}:p1:h1}return h1},nx=(e,{valueAsNumber:o,valueAsDate:r,setValueAs:i})=>Dn(e)?e:o?e===""?NaN:e&&+e:r&&Qo(e)?new Date(e):i?i(e):e;const _1={isValid:!1,value:null};var ox=e=>Array.isArray(e)?e.reduce((o,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:o,_1):_1;function v1(e){const o=e.ref;return Lm(o)?o.files:Bm(o)?ox(e.refs).value:J0(o)?[...o.selectedOptions].map(({value:r})=>r):Zi(o)?ex(e.refs).value:nx(Dn(o.value)?e.ref.value:o.value,e)}var YA=(e,o,r,i)=>{const s={};for(const d of e){const u=de(o,d);u&&fn(s,d,u._f)}return{criteriaMode:r,names:[...e],fields:s,shouldUseNativeValidation:i}},Is=e=>e instanceof RegExp,Ti=e=>Dn(e)?e:Is(e)?e.source:Yn(e)?Is(e.value)?e.value.source:e.value:e,g1=e=>({isOnSubmit:!e||e===_t.onSubmit,isOnBlur:e===_t.onBlur,isOnChange:e===_t.onChange,isOnAll:e===_t.all,isOnTouch:e===_t.onTouched});const k1="AsyncFunction";var XA=e=>!!e&&!!e.validate&&!!(gt(e.validate)&&e.validate.constructor.name===k1||Yn(e.validate)&&Object.values(e.validate).find(o=>o.constructor.name===k1)),QA=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),y1=(e,o,r)=>!r&&(o.watchAll||o.watch.has(e)||[...o.watch].some(i=>e.startsWith(i)&&/^\.\w+/.test(e.slice(i.length))));const Ri=(e,o,r,i)=>{for(const s of r||Object.keys(e)){const d=de(e,s);if(d){const{_f:u,...m}=d;if(u){if(u.refs&&u.refs[0]&&o(u.refs[0],s)&&!i)return!0;if(u.ref&&o(u.ref,u.name)&&!i)return!0;if(Ri(m,o))break}else if(Yn(m)&&Ri(m,o))break}}};function x1(e,o,r){const i=de(e,r);if(i||Ws(r))return{error:i,name:r};const s=r.split(".");for(;s.length;){const d=s.join("."),u=de(o,d),m=de(e,d);if(u&&!Array.isArray(u)&&r!==d)return{name:r};if(m&&m.type)return{name:d,error:m};if(m&&m.root&&m.root.type)return{name:`${d}.root`,error:m.root};s.pop()}return{name:r}}var JA=(e,o,r,i)=>{r(e);const{name:s,...d}=e;return yo(d)||Object.keys(d).length>=Object.keys(o).length||Object.keys(d).find(u=>o[u]===(!i||_t.all))},WA=(e,o,r)=>!e||!o||e===o||Ni(e).some(i=>i&&(r?i===o:i.startsWith(o)||o.startsWith(i))),e9=(e,o,r,i,s)=>s.isOnAll?!1:!r&&s.isOnTouch?!(o||e):(r?i.isOnBlur:s.isOnBlur)?!e:(r?i.isOnChange:s.isOnChange)?e:!0,n9=(e,o)=>!Sm(de(e,o)).length&&qn(e,o),o9=(e,o,r)=>{const i=Ni(de(e,r));return fn(i,"root",o[r]),fn(e,r,i),e};function w1(e,o,r="validate"){if(Qo(e)||Array.isArray(e)&&e.every(Qo)||Go(e)&&!e)return{type:r,message:Qo(e)?e:"",ref:o}}var bl=e=>Yn(e)&&!Is(e)?e:{value:e,message:""},z1=async(e,o,r,i,s,d)=>{const{ref:u,refs:m,required:h,maxLength:p,minLength:v,min:g,max:k,pattern:S,validate:B,name:T,valueAsNumber:N,mount:E}=e._f,y=de(r,T);if(!E||o.has(T))return{};const w=m?m[0]:u,R=re=>{s&&w.reportValidity&&(w.setCustomValidity(Go(re)?"":re||""),w.reportValidity())},M={},H=Bm(u),Z=Zi(u),te=H||Z,le=(N||Lm(u))&&Dn(u.value)&&Dn(y)||Fs(u)&&u.value===""||y===""||Array.isArray(y)&&!y.length,Me=Em.bind(null,T,i,M),ae=(re,we,Re,qe=Xt.maxLength,O=Xt.minLength)=>{const G=re?we:Re;M[T]={type:re?qe:O,message:G,ref:u,...Me(re?qe:O,G)}};if(d?!Array.isArray(y)||!y.length:h&&(!te&&(le||Do(y))||Go(y)&&!y||Z&&!ex(m).isValid||H&&!ox(m).isValid)){const{value:re,message:we}=Qo(h)?{value:!!h,message:h}:bl(h);if(re&&(M[T]={type:Xt.required,message:we,ref:w,...Me(Xt.required,we)},!i))return R(we),M}if(!le&&(!Do(g)||!Do(k))){let re,we;const Re=bl(k),qe=bl(g);if(!Do(y)&&!isNaN(y)){const O=u.valueAsNumber||y&&+y;Do(Re.value)||(re=O>Re.value),Do(qe.value)||(we=O<qe.value)}else{const O=u.valueAsDate||new Date(y),G=Te=>new Date(new Date().toDateString()+" "+Te),se=u.type=="time",ze=u.type=="week";Qo(Re.value)&&y&&(re=se?G(y)>G(Re.value):ze?y>Re.value:O>new Date(Re.value)),Qo(qe.value)&&y&&(we=se?G(y)<G(qe.value):ze?y<qe.value:O<new Date(qe.value))}if((re||we)&&(ae(!!re,Re.message,qe.message,Xt.max,Xt.min),!i))return R(M[T].message),M}if((p||v)&&!le&&(Qo(y)||d&&Array.isArray(y))){const re=bl(p),we=bl(v),Re=!Do(re.value)&&y.length>+re.value,qe=!Do(we.value)&&y.length<+we.value;if((Re||qe)&&(ae(Re,re.message,we.message),!i))return R(M[T].message),M}if(S&&!le&&Qo(y)){const{value:re,message:we}=bl(S);if(Is(re)&&!y.match(re)&&(M[T]={type:Xt.pattern,message:we,ref:u,...Me(Xt.pattern,we)},!i))return R(we),M}if(B){if(gt(B)){const re=await B(y,r),we=w1(re,w);if(we&&(M[T]={...we,...Me(Xt.validate,we.message)},!i))return R(we.message),M}else if(Yn(B)){let re={};for(const we in B){if(!yo(re)&&!i)break;const Re=w1(await B[we](y,r),w,we);Re&&(re={...Re,...Me(we,Re.message)},R(Re.message),i&&(M[T]=re))}if(!yo(re)&&(M[T]={ref:w,...re},!i))return M}}return R(!0),M};const t9={mode:_t.onSubmit,reValidateMode:_t.onChange,shouldFocusError:!0};function r9(e={}){let o={...t9,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:gt(o.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:o.errors||{},disabled:o.disabled||!1},i={},s=Yn(o.defaultValues)||Yn(o.values)?Jn(o.defaultValues||o.values)||{}:{},d=o.shouldUnregister?{}:Jn(s),u={action:!1,mount:!1,watch:!1},m={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},h,p=0;const v={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let g={...v};const k={array:m1(),state:m1()},S=o.criteriaMode===_t.all,B=j=>$=>{clearTimeout(p),p=setTimeout(j,$)},T=async j=>{if(!o.disabled&&(v.isValid||g.isValid||j)){const $=o.resolver?yo((await Z()).errors):await le(i,!0);$!==r.isValid&&k.state.next({isValid:$})}},N=(j,$)=>{!o.disabled&&(v.isValidating||v.validatingFields||g.isValidating||g.validatingFields)&&((j||Array.from(m.mount)).forEach(K=>{K&&($?fn(r.validatingFields,K,$):qn(r.validatingFields,K))}),k.state.next({validatingFields:r.validatingFields,isValidating:!yo(r.validatingFields)}))},E=(j,$=[],K,ne,ee=!0,oe=!0)=>{if(ne&&K&&!o.disabled){if(u.action=!0,oe&&Array.isArray(de(i,j))){const me=K(de(i,j),ne.argA,ne.argB);ee&&fn(i,j,me)}if(oe&&Array.isArray(de(r.errors,j))){const me=K(de(r.errors,j),ne.argA,ne.argB);ee&&fn(r.errors,j,me),n9(r.errors,j)}if((v.touchedFields||g.touchedFields)&&oe&&Array.isArray(de(r.touchedFields,j))){const me=K(de(r.touchedFields,j),ne.argA,ne.argB);ee&&fn(r.touchedFields,j,me)}(v.dirtyFields||g.dirtyFields)&&(r.dirtyFields=hl(s,d)),k.state.next({name:j,isDirty:ae(j,$),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else fn(d,j,$)},y=(j,$)=>{fn(r.errors,j,$),k.state.next({errors:r.errors})},w=j=>{r.errors=j,k.state.next({errors:r.errors,isValid:!1})},R=(j,$,K,ne)=>{const ee=de(i,j);if(ee){const oe=de(d,j,Dn(K)?de(s,j):K);Dn(oe)||ne&&ne.defaultChecked||$?fn(d,j,$?oe:v1(ee._f)):Re(j,oe),u.mount&&!u.action&&T()}},M=(j,$,K,ne,ee)=>{let oe=!1,me=!1;const Ye={name:j};if(!o.disabled){if(!K||ne){(v.isDirty||g.isDirty)&&(me=r.isDirty,r.isDirty=Ye.isDirty=ae(),oe=me!==Ye.isDirty);const ln=vt(de(s,j),$);me=!!de(r.dirtyFields,j),ln?qn(r.dirtyFields,j):fn(r.dirtyFields,j,!0),Ye.dirtyFields=r.dirtyFields,oe=oe||(v.dirtyFields||g.dirtyFields)&&me!==!ln}if(K){const ln=de(r.touchedFields,j);ln||(fn(r.touchedFields,j,K),Ye.touchedFields=r.touchedFields,oe=oe||(v.touchedFields||g.touchedFields)&&ln!==K)}oe&&ee&&k.state.next(Ye)}return oe?Ye:{}},H=(j,$,K,ne)=>{const ee=de(r.errors,j),oe=(v.isValid||g.isValid)&&Go($)&&r.isValid!==$;if(o.delayError&&K?(h=B(()=>y(j,K)),h(o.delayError)):(clearTimeout(p),h=null,K?fn(r.errors,j,K):qn(r.errors,j)),(K?!vt(ee,K):ee)||!yo(ne)||oe){const me={...ne,...oe&&Go($)?{isValid:$}:{},errors:r.errors,name:j};r={...r,...me},k.state.next(me)}},Z=async j=>{N(j,!0);const $=await o.resolver(d,o.context,YA(j||m.mount,i,o.criteriaMode,o.shouldUseNativeValidation));return N(j),$},te=async j=>{const{errors:$}=await Z(j);if(j)for(const K of j){const ne=de($,K);ne?fn(r.errors,K,ne):qn(r.errors,K)}else r.errors=$;return $},le=async(j,$,K={valid:!0})=>{for(const ne in j){const ee=j[ne];if(ee){const{_f:oe,...me}=ee;if(oe){const Ye=m.array.has(oe.name),ln=ee._f&&XA(ee._f);ln&&v.validatingFields&&N([oe.name],!0);const jo=await z1(ee,m.disabled,d,S,o.shouldUseNativeValidation&&!$,Ye);if(ln&&v.validatingFields&&N([oe.name]),jo[oe.name]&&(K.valid=!1,$))break;!$&&(de(jo,oe.name)?Ye?o9(r.errors,jo,oe.name):fn(r.errors,oe.name,jo[oe.name]):qn(r.errors,oe.name))}!yo(me)&&await le(me,$,K)}}return K.valid},Me=()=>{for(const j of m.unMount){const $=de(i,j);$&&($._f.refs?$._f.refs.every(K=>!eb(K)):!eb($._f.ref))&&He(j)}m.unMount=new Set},ae=(j,$)=>!o.disabled&&(j&&$&&fn(d,j,$),!vt(Te(),s)),re=(j,$,K)=>Ub(j,m,{...u.mount?d:Dn($)?s:Qo(j)?{[j]:$}:$},K,$),we=j=>Sm(de(u.mount?d:s,j,o.shouldUnregister?de(s,j,[]):[])),Re=(j,$,K={})=>{const ne=de(i,j);let ee=$;if(ne){const oe=ne._f;oe&&(!oe.disabled&&fn(d,j,nx($,oe)),ee=Fs(oe.ref)&&Do($)?"":$,J0(oe.ref)?[...oe.ref.options].forEach(me=>me.selected=ee.includes(me.value)):oe.refs?Zi(oe.ref)?oe.refs.forEach(me=>{(!me.defaultChecked||!me.disabled)&&(Array.isArray(ee)?me.checked=!!ee.find(Ye=>Ye===me.value):me.checked=ee===me.value||!!ee)}):oe.refs.forEach(me=>me.checked=me.value===ee):Lm(oe.ref)?oe.ref.value="":(oe.ref.value=ee,oe.ref.type||k.state.next({name:j,values:Jn(d)})))}(K.shouldDirty||K.shouldTouch)&&M(j,ee,K.shouldTouch,K.shouldDirty,!0),K.shouldValidate&&ze(j)},qe=(j,$,K)=>{for(const ne in $){if(!$.hasOwnProperty(ne))return;const ee=$[ne],oe=j+"."+ne,me=de(i,oe);(m.array.has(j)||Yn(ee)||me&&!me._f)&&!ba(ee)?qe(oe,ee,K):Re(oe,ee,K)}},O=(j,$,K={})=>{const ne=de(i,j),ee=m.array.has(j),oe=Jn($);fn(d,j,oe),ee?(k.array.next({name:j,values:Jn(d)}),(v.isDirty||v.dirtyFields||g.isDirty||g.dirtyFields)&&K.shouldDirty&&k.state.next({name:j,dirtyFields:hl(s,d),isDirty:ae(j,oe)})):ne&&!ne._f&&!Do(oe)?qe(j,oe,K):Re(j,oe,K),y1(j,m)&&k.state.next({...r,name:j}),k.state.next({name:u.mount?j:void 0,values:Jn(d)})},G=async j=>{u.mount=!0;const $=j.target;let K=$.name,ne=!0;const ee=de(i,K),oe=ln=>{ne=Number.isNaN(ln)||ba(ln)&&isNaN(ln.getTime())||vt(ln,de(d,K,ln))},me=g1(o.mode),Ye=g1(o.reValidateMode);if(ee){let ln,jo;const Vr=$.type?v1(ee._f):Z0(j),xt=j.type===Us.BLUR||j.type===Us.FOCUS_OUT,dd=!QA(ee._f)&&!o.resolver&&!de(r.errors,K)&&!ee._f.deps||e9(xt,de(r.touchedFields,K),r.isSubmitted,Ye,me),Lt=y1(K,m,xt);fn(d,K,Vr),xt?(!$||!$.readOnly)&&(ee._f.onBlur&&ee._f.onBlur(j),h&&h(0)):ee._f.onChange&&ee._f.onChange(j);const to=M(K,Vr,xt),wt=!yo(to)||Lt;if(!xt&&k.state.next({name:K,type:j.type,values:Jn(d)}),dd)return(v.isValid||g.isValid)&&(o.mode==="onBlur"?xt&&T():xt||T()),wt&&k.state.next({name:K,...Lt?{}:to});if(!xt&&Lt&&k.state.next({...r}),o.resolver){const{errors:bo}=await Z([K]);if(oe(Vr),ne){const fd=x1(r.errors,i,K),Pi=x1(bo,i,fd.name||K);ln=Pi.error,K=Pi.name,jo=yo(bo)}}else N([K],!0),ln=(await z1(ee,m.disabled,d,S,o.shouldUseNativeValidation))[K],N([K]),oe(Vr),ne&&(ln?jo=!1:(v.isValid||g.isValid)&&(jo=await le(i,!0)));ne&&(ee._f.deps&&(!Array.isArray(ee._f.deps)||ee._f.deps.length>0)&&ze(ee._f.deps),H(K,jo,ln,to))}},se=(j,$)=>{if(de(r.errors,$)&&j.focus)return j.focus(),1},ze=async(j,$={})=>{let K,ne;const ee=Ni(j);if(o.resolver){const oe=await te(Dn(j)?j:ee);K=yo(oe),ne=j?!ee.some(me=>de(oe,me)):K}else j?(ne=(await Promise.all(ee.map(async oe=>{const me=de(i,oe);return await le(me&&me._f?{[oe]:me}:me)}))).every(Boolean),!(!ne&&!r.isValid)&&T()):ne=K=await le(i);return k.state.next({...!Qo(j)||(v.isValid||g.isValid)&&K!==r.isValid?{}:{name:j},...o.resolver||!j?{isValid:K}:{},errors:r.errors}),$.shouldFocus&&!ne&&Ri(i,se,j?ee:m.mount),ne},Te=(j,$)=>{let K={...u.mount?d:s};return $&&(K=Q0($.dirtyFields?r.dirtyFields:r.touchedFields,K)),Dn(j)?K:Qo(j)?de(K,j):j.map(ne=>de(K,ne))},C=(j,$)=>({invalid:!!de(($||r).errors,j),isDirty:!!de(($||r).dirtyFields,j),error:de(($||r).errors,j),isValidating:!!de(r.validatingFields,j),isTouched:!!de(($||r).touchedFields,j)}),P=j=>{j&&Ni(j).forEach($=>qn(r.errors,$)),k.state.next({errors:j?r.errors:{}})},ie=(j,$,K)=>{const ne=(de(i,j,{_f:{}})._f||{}).ref,ee=de(r.errors,j)||{},{ref:oe,message:me,type:Ye,...ln}=ee;fn(r.errors,j,{...ln,...$,ref:ne}),k.state.next({name:j,errors:r.errors,isValid:!1}),K&&K.shouldFocus&&ne&&ne.focus&&ne.focus()},ue=(j,$)=>gt(j)?k.state.subscribe({next:K=>"values"in K&&j(re(void 0,$),K)}):re(j,$,!0),Ae=j=>k.state.subscribe({next:$=>{WA(j.name,$.name,j.exact)&&JA($,j.formState||v,he,j.reRenderRoot)&&j.callback({values:{...d},...r,...$,defaultValues:s})}}).unsubscribe,De=j=>(u.mount=!0,g={...g,...j.formState},Ae({...j,formState:g})),He=(j,$={})=>{for(const K of j?Ni(j):m.mount)m.mount.delete(K),m.array.delete(K),$.keepValue||(qn(i,K),qn(d,K)),!$.keepError&&qn(r.errors,K),!$.keepDirty&&qn(r.dirtyFields,K),!$.keepTouched&&qn(r.touchedFields,K),!$.keepIsValidating&&qn(r.validatingFields,K),!o.shouldUnregister&&!$.keepDefaultValue&&qn(s,K);k.state.next({values:Jn(d)}),k.state.next({...r,...$.keepDirty?{isDirty:ae()}:{}}),!$.keepIsValid&&T()},Ln=({disabled:j,name:$})=>{(Go(j)&&u.mount||j||m.disabled.has($))&&(j?m.disabled.add($):m.disabled.delete($))},_n=(j,$={})=>{let K=de(i,j);const ne=Go($.disabled)||Go(o.disabled);return fn(i,j,{...K||{},_f:{...K&&K._f?K._f:{ref:{name:j}},name:j,mount:!0,...$}}),m.mount.add(j),K?Ln({disabled:Go($.disabled)?$.disabled:o.disabled,name:j}):R(j,!0,$.value),{...ne?{disabled:$.disabled||o.disabled}:{},...o.progressive?{required:!!$.required,min:Ti($.min),max:Ti($.max),minLength:Ti($.minLength),maxLength:Ti($.maxLength),pattern:Ti($.pattern)}:{},name:j,onChange:G,onBlur:G,ref:ee=>{if(ee){_n(j,$),K=de(i,j);const oe=Dn(ee.value)&&ee.querySelectorAll&&ee.querySelectorAll("input,select,textarea")[0]||ee,me=qA(oe),Ye=K._f.refs||[];if(me?Ye.find(ln=>ln===oe):oe===K._f.ref)return;fn(i,j,{_f:{...K._f,...me?{refs:[...Ye.filter(eb),oe,...Array.isArray(de(s,j))?[{}]:[]],ref:{type:oe.type,name:j}}:{ref:oe}}}),R(j,!1,void 0,oe)}else K=de(i,j,{}),K._f&&(K._f.mount=!1),(o.shouldUnregister||$.shouldUnregister)&&!(P0(m.array,j)&&u.action)&&m.unMount.add(j)}}},bt=()=>o.shouldFocusError&&Ri(i,se,m.mount),cr=j=>{Go(j)&&(k.state.next({disabled:j}),Ri(i,($,K)=>{const ne=de(i,K);ne&&($.disabled=ne._f.disabled||j,Array.isArray(ne._f.refs)&&ne._f.refs.forEach(ee=>{ee.disabled=ne._f.disabled||j}))},0,!1))},sr=(j,$)=>async K=>{let ne;K&&(K.preventDefault&&K.preventDefault(),K.persist&&K.persist());let ee=Jn(d);if(k.state.next({isSubmitting:!0}),o.resolver){const{errors:oe,values:me}=await Z();r.errors=oe,ee=Jn(me)}else await le(i);if(m.disabled.size)for(const oe of m.disabled)qn(ee,oe);if(qn(r.errors,"root"),yo(r.errors)){k.state.next({errors:{}});try{await j(ee,K)}catch(oe){ne=oe}}else $&&await $({...r.errors},K),bt(),setTimeout(bt);if(k.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:yo(r.errors)&&!ne,submitCount:r.submitCount+1,errors:r.errors}),ne)throw ne},za=(j,$={})=>{de(i,j)&&(Dn($.defaultValue)?O(j,Jn(de(s,j))):(O(j,$.defaultValue),fn(s,j,Jn($.defaultValue))),$.keepTouched||qn(r.touchedFields,j),$.keepDirty||(qn(r.dirtyFields,j),r.isDirty=$.defaultValue?ae(j,Jn(de(s,j))):ae()),$.keepError||(qn(r.errors,j),v.isValid&&T()),k.state.next({...r}))},et=(j,$={})=>{const K=j?Jn(j):s,ne=Jn(K),ee=yo(j),oe=ee?s:ne;if($.keepDefaultValues||(s=K),!$.keepValues){if($.keepDirtyValues){const me=new Set([...m.mount,...Object.keys(hl(s,d))]);for(const Ye of Array.from(me))de(r.dirtyFields,Ye)?fn(oe,Ye,de(d,Ye)):O(Ye,de(oe,Ye))}else{if(jm&&Dn(j))for(const me of m.mount){const Ye=de(i,me);if(Ye&&Ye._f){const ln=Array.isArray(Ye._f.refs)?Ye._f.refs[0]:Ye._f.ref;if(Fs(ln)){const jo=ln.closest("form");if(jo){jo.reset();break}}}}if($.keepFieldsRef)for(const me of m.mount)O(me,de(oe,me));else i={}}d=o.shouldUnregister?$.keepDefaultValues?Jn(s):{}:Jn(oe),k.array.next({values:{...oe}}),k.state.next({values:{...oe}})}m={mount:$.keepDirtyValues?m.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},u.mount=!v.isValid||!!$.keepIsValid||!!$.keepDirtyValues||!o.shouldUnregister&&!yo(oe),u.watch=!!o.shouldUnregister,k.state.next({submitCount:$.keepSubmitCount?r.submitCount:0,isDirty:ee?!1:$.keepDirty?r.isDirty:!!($.keepDefaultValues&&!vt(j,s)),isSubmitted:$.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:ee?{}:$.keepDirtyValues?$.keepDefaultValues&&d?hl(s,d):r.dirtyFields:$.keepDefaultValues&&j?hl(s,j):$.keepDirty?r.dirtyFields:{},touchedFields:$.keepTouched?r.touchedFields:{},errors:$.keepErrors?r.errors:{},isSubmitSuccessful:$.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:s})},Et=(j,$)=>et(gt(j)?j(d):j,$),Kr=(j,$={})=>{const K=de(i,j),ne=K&&K._f;if(ne){const ee=ne.refs?ne.refs[0]:ne.ref;ee.focus&&(ee.focus(),$.shouldSelect&&gt(ee.select)&&ee.select())}},he=j=>{r={...r,...j}},Ne={control:{register:_n,unregister:He,getFieldState:C,handleSubmit:sr,setError:ie,_subscribe:Ae,_runSchema:Z,_focusError:bt,_getWatch:re,_getDirty:ae,_setValid:T,_setFieldArray:E,_setDisabledField:Ln,_setErrors:w,_getFieldArray:we,_reset:et,_resetDefaultValues:()=>gt(o.defaultValues)&&o.defaultValues().then(j=>{Et(j,o.resetOptions),k.state.next({isLoading:!1})}),_removeUnmounted:Me,_disableForm:cr,_subjects:k,_proxyFormState:v,get _fields(){return i},get _formValues(){return d},get _state(){return u},set _state(j){u=j},get _defaultValues(){return s},get _names(){return m},set _names(j){m=j},get _formState(){return r},get _options(){return o},set _options(j){o={...o,...j}}},subscribe:De,trigger:ze,register:_n,handleSubmit:sr,watch:ue,setValue:O,getValues:Te,reset:Et,resetField:za,clearErrors:P,unregister:He,setError:ie,setFocus:Kr,getFieldState:C};return{...Ne,formControl:Ne}}function ed(e={}){const o=ce.useRef(void 0),r=ce.useRef(void 0),[i,s]=ce.useState({isDirty:!1,isValidating:!1,isLoading:gt(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:gt(e.defaultValues)?void 0:e.defaultValues});if(!o.current)if(e.formControl)o.current={...e.formControl,formState:i},e.defaultValues&&!gt(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:u,...m}=r9(e);o.current={...m,formState:i}}const d=o.current.control;return d._options=e,Cm(()=>{const u=d._subscribe({formState:d._proxyFormState,callback:()=>s({...d._formState}),reRenderRoot:!0});return s(m=>({...m,isReady:!0})),d._formState.isReady=!0,u},[d]),ce.useEffect(()=>d._disableForm(e.disabled),[d,e.disabled]),ce.useEffect(()=>{e.mode&&(d._options.mode=e.mode),e.reValidateMode&&(d._options.reValidateMode=e.reValidateMode)},[d,e.mode,e.reValidateMode]),ce.useEffect(()=>{e.errors&&(d._setErrors(e.errors),d._focusError())},[d,e.errors]),ce.useEffect(()=>{e.shouldUnregister&&d._subjects.state.next({values:d._getWatch()})},[d,e.shouldUnregister]),ce.useEffect(()=>{if(d._proxyFormState.isDirty){const u=d._getDirty();u!==i.isDirty&&d._subjects.state.next({isDirty:u})}},[d,i.isDirty]),ce.useEffect(()=>{var u;e.values&&!vt(e.values,r.current)?(d._reset(e.values,{keepFieldsRef:!0,...d._options.resetOptions}),!((u=d._options.resetOptions)===null||u===void 0)&&u.keepIsValid||d._setValid(),r.current=e.values,s(m=>({...m}))):d._resetDefaultValues()},[d,e.values]),ce.useEffect(()=>{d._state.mount||(d._setValid(),d._state.mount=!0),d._state.watch&&(d._state.watch=!1,d._subjects.state.next({...d._formState})),d._removeUnmounted()}),o.current.formState=Y0(i,d),o.current}function tx(e,o){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&o.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)o.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(r[i[s]]=e[i[s]]);return r}var Ii;(function(e){e.event="event",e.props="prop"})(Ii||(Ii={}));function Or(){}function a9(e){var o,r=void 0;return function(){for(var i=[],s=arguments.length;s--;)i[s]=arguments[s];return o&&i.length===o.length&&i.every(function(d,u){return d===o[u]})||(o=i,r=e.apply(void 0,i)),r}}function Hi(e){return!!(e||"").match(/\d/)}function kl(e){return e==null}function l9(e){return typeof e=="number"&&isNaN(e)}function rx(e){return kl(e)||l9(e)||typeof e=="number"&&!isFinite(e)}function ax(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function i9(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function c9(e,o,r){var i=i9(r),s=e.search(/[1-9]/);return s=s===-1?e.length:s,e.substring(0,s)+e.substring(s,e.length).replace(i,"$1"+o)}function s9(e){var o=z.useRef(e);o.current=e;var r=z.useRef(function(){for(var i=[],s=arguments.length;s--;)i[s]=arguments[s];return o.current.apply(o,i)});return r.current}function Nm(e,o){o===void 0&&(o=!0);var r=e[0]==="-",i=r&&o;e=e.replace("-","");var s=e.split("."),d=s[0],u=s[1]||"";return{beforeDecimal:d,afterDecimal:u,hasNegation:r,addNegation:i}}function d9(e){if(!e)return e;var o=e[0]==="-";o&&(e=e.substring(1,e.length));var r=e.split("."),i=r[0].replace(/^0+/,"")||"0",s=r[1]||"";return(o?"-":"")+i+(s?"."+s:"")}function lx(e,o,r){for(var i="",s=r?"0":"",d=0;d<=o-1;d++)i+=e[d]||s;return i}function j1(e,o){return Array(o+1).join(e)}function ix(e){var o=e+"",r=o[0]==="-"?"-":"";r&&(o=o.substring(1));var i=o.split(/[eE]/g),s=i[0],d=i[1];if(d=Number(d),!d)return r+s;s=s.replace(".","");var u=1+d,m=s.length;return u<0?s="0."+j1("0",Math.abs(u))+s:u>=m?s=s+j1("0",u-m):s=(s.substring(0,u)||"0")+"."+s.substring(u),r+s}function S1(e,o,r){if(["","-"].indexOf(e)!==-1)return e;var i=(e.indexOf(".")!==-1||r)&&o,s=Nm(e),d=s.beforeDecimal,u=s.afterDecimal,m=s.hasNegation,h=parseFloat("0."+(u||"0")),p=u.length<=o?"0."+u:h.toFixed(o),v=p.split("."),g=d;d&&Number(v[0])&&(g=d.split("").reverse().reduce(function(T,N,E){return T.length>E?(Number(T[0])+Number(N)).toString()+T.substring(1,T.length):N+T},v[0]));var k=lx(v[1]||"",o,r),S=m?"-":"",B=i?".":"";return""+S+g+B+k}function fa(e,o){if(e.value=e.value,e!==null){if(e.createTextRange){var r=e.createTextRange();return r.move("character",o),r.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(o,o),!0):(e.focus(),!1)}}var cx=a9(function(e,o){for(var r=0,i=0,s=e.length,d=o.length;e[r]===o[r]&&r<s;)r++;for(;e[s-1-i]===o[d-1-i]&&d-i>r&&s-i>r;)i++;return{from:{start:r,end:s-i},to:{start:r,end:d-i}}}),f9=function(e,o){var r=Math.min(e.selectionStart,o);return{from:{start:r,end:e.selectionEnd},to:{start:r,end:o}}};function u9(e,o,r){return Math.min(Math.max(e,o),r)}function nb(e){return Math.max(e.selectionStart,e.selectionEnd)}function b9(){return typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function m9(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function h9(e){var o=e.currentValue,r=e.formattedValue,i=e.currentValueIndex,s=e.formattedValueIndex;return o[i]===r[s]}function p9(e,o,r,i,s,d,u){u===void 0&&(u=h9);var m=s.findIndex(function(R){return R}),h=e.slice(0,m);!o&&!r.startsWith(h)&&(o=h,r=h+r,i=i+h.length);for(var p=r.length,v=e.length,g={},k=new Array(p),S=0;S<p;S++){k[S]=-1;for(var B=0,T=v;B<T;B++){var N=u({currentValue:r,lastValue:o,formattedValue:e,currentValueIndex:S,formattedValueIndex:B});if(N&&g[B]!==!0){k[S]=B,g[B]=!0;break}}}for(var E=i;E<p&&(k[E]===-1||!d(r[E]));)E++;var y=E===p||k[E]===-1?v:k[E];for(E=i-1;E>0&&k[E]===-1;)E--;var w=E===-1||k[E]===-1?0:k[E]+1;return w>y?y:i-w<y-i?w:y}function T1(e,o,r,i){var s=e.length;if(o=u9(o,0,s),i==="left"){for(;o>=0&&!r[o];)o--;o===-1&&(o=r.indexOf(!0))}else{for(;o<=s&&!r[o];)o++;o>s&&(o=r.lastIndexOf(!0))}return o===-1&&(o=s),o}function _9(e){for(var o=Array.from({length:e.length+1}).map(function(){return!0}),r=0,i=o.length;r<i;r++)o[r]=!!(Hi(e[r])||Hi(e[r-1]));return o}function sx(e,o,r,i,s,d){d===void 0&&(d=Or);var u=s9(function(B,T){var N,E;return rx(B)?(E="",N=""):typeof B=="number"||T?(E=typeof B=="number"?ix(B):B,N=i(E)):(E=s(B,void 0),N=i(E)),{formattedValue:N,numAsString:E}}),m=z.useState(function(){return u(kl(e)?o:e,r)}),h=m[0],p=m[1],v=function(B,T){B.formattedValue!==h.formattedValue&&p({formattedValue:B.formattedValue,numAsString:B.value}),d(B,T)},g=e,k=r;kl(e)&&(g=h.numAsString,k=!0);var S=u(g,k);return z.useMemo(function(){p(S)},[S.formattedValue]),[h,v]}function v9(e){return e.replace(/[^0-9]/g,"")}function g9(e){return e}function k9(e){var o=e.type;o===void 0&&(o="text");var r=e.displayType;r===void 0&&(r="input");var i=e.customInput,s=e.renderText,d=e.getInputRef,u=e.format;u===void 0&&(u=g9);var m=e.removeFormatting;m===void 0&&(m=v9);var h=e.defaultValue,p=e.valueIsNumericString,v=e.onValueChange,g=e.isAllowed,k=e.onChange;k===void 0&&(k=Or);var S=e.onKeyDown;S===void 0&&(S=Or);var B=e.onMouseUp;B===void 0&&(B=Or);var T=e.onFocus;T===void 0&&(T=Or);var N=e.onBlur;N===void 0&&(N=Or);var E=e.value,y=e.getCaretBoundary;y===void 0&&(y=_9);var w=e.isValidInputCharacter;w===void 0&&(w=Hi);var R=e.isCharacterSame,M=tx(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),H=sx(E,h,!!p,u,m,v),Z=H[0],te=Z.formattedValue,le=Z.numAsString,Me=H[1],ae=z.useRef(),re=z.useRef({formattedValue:te,numAsString:le}),we=function(he,ge){re.current={formattedValue:he.formattedValue,numAsString:he.value},Me(he,ge)},Re=z.useState(!1),qe=Re[0],O=Re[1],G=z.useRef(null),se=z.useRef({setCaretTimeout:null,focusTimeout:null});z.useEffect(function(){return O(!0),function(){clearTimeout(se.current.setCaretTimeout),clearTimeout(se.current.focusTimeout)}},[]);var ze=u,Te=function(he,ge){var Ne=parseFloat(ge);return{formattedValue:he,value:ge,floatValue:isNaN(Ne)?void 0:Ne}},C=function(he,ge,Ne){he.selectionStart===0&&he.selectionEnd===he.value.length||(fa(he,ge),se.current.setCaretTimeout=setTimeout(function(){he.value===Ne&&he.selectionStart!==ge&&fa(he,ge)},0))},P=function(he,ge,Ne){return T1(he,ge,y(he),Ne)},ie=function(he,ge,Ne){var j=y(ge),$=p9(ge,te,he,Ne,j,w,R);return $=T1(ge,$,j),$},ue=function(he){var ge=he.formattedValue;ge===void 0&&(ge="");var Ne=he.input,j=he.source,$=he.event,K=he.numAsString,ne;if(Ne){var ee=he.inputValue||Ne.value,oe=nb(Ne);Ne.value=ge,ne=ie(ee,ge,oe),ne!==void 0&&C(Ne,ne,ge)}ge!==te&&we(Te(ge,K),{event:$,source:j})};z.useEffect(function(){var he=re.current,ge=he.formattedValue,Ne=he.numAsString;(te!==ge||le!==Ne)&&we(Te(te,le),{event:void 0,source:Ii.props})},[te,le]);var Ae=G.current?nb(G.current):void 0,De=typeof window<"u"?z.useLayoutEffect:z.useEffect;De(function(){var he=G.current;if(te!==re.current.formattedValue&&he){var ge=ie(re.current.formattedValue,te,Ae);he.value=te,C(he,ge,te)}},[te]);var He=function(he,ge,Ne){var j=ge.target,$=ae.current?f9(ae.current,j.selectionEnd):cx(te,he),K=Object.assign(Object.assign({},$),{lastValue:te}),ne=m(he,K),ee=ze(ne);if(ne=m(ee,void 0),g&&!g(Te(ee,ne))){var oe=ge.target,me=nb(oe),Ye=ie(he,te,me);return oe.value=te,C(oe,Ye,te),!1}return ue({formattedValue:ee,numAsString:ne,inputValue:he,event:ge,source:Ne,input:ge.target}),!0},Ln=function(he,ge){ge===void 0&&(ge=0);var Ne=he.selectionStart,j=he.selectionEnd;ae.current={selectionStart:Ne,selectionEnd:j+ge}},_n=function(he){var ge=he.target,Ne=ge.value,j=He(Ne,he,Ii.event);j&&k(he),ae.current=void 0},bt=function(he){var ge=he.target,Ne=he.key,j=ge.selectionStart,$=ge.selectionEnd,K=ge.value;K===void 0&&(K="");var ne;Ne==="ArrowLeft"||Ne==="Backspace"?ne=Math.max(j-1,0):Ne==="ArrowRight"?ne=Math.min(j+1,K.length):Ne==="Delete"&&(ne=j);var ee=0;Ne==="Delete"&&j===$&&(ee=1);var oe=Ne==="ArrowLeft"||Ne==="ArrowRight";if(ne===void 0||j!==$&&!oe){S(he),Ln(ge,ee);return}var me=ne;if(oe){var Ye=Ne==="ArrowLeft"?"left":"right";me=P(K,ne,Ye),me!==ne&&he.preventDefault()}else Ne==="Delete"&&!w(K[ne])?me=P(K,ne,"right"):Ne==="Backspace"&&!w(K[ne])&&(me=P(K,ne,"left"));me!==ne&&C(ge,me,K),S(he),Ln(ge,ee)},cr=function(he){var ge=he.target,Ne=function(){var j=ge.selectionStart,$=ge.selectionEnd,K=ge.value;if(K===void 0&&(K=""),j===$){var ne=P(K,j);ne!==j&&C(ge,ne,K)}};Ne(),requestAnimationFrame(function(){Ne()}),B(he),Ln(ge)},sr=function(he){he.persist&&he.persist();var ge=he.target,Ne=he.currentTarget;G.current=ge,se.current.focusTimeout=setTimeout(function(){var j=ge.selectionStart,$=ge.selectionEnd,K=ge.value;K===void 0&&(K="");var ne=P(K,j);ne!==j&&!(j===0&&$===K.length)&&C(ge,ne,K),T(Object.assign(Object.assign({},he),{currentTarget:Ne}))},0)},za=function(he){G.current=null,clearTimeout(se.current.focusTimeout),clearTimeout(se.current.setCaretTimeout),N(he)},et=qe&&b9()?"numeric":void 0,Et=Object.assign({inputMode:et},M,{type:o,value:te,onChange:_n,onKeyDown:bt,onMouseUp:cr,onFocus:sr,onBlur:za});if(r==="text")return s?ce.createElement(ce.Fragment,null,s(te,M)||null):ce.createElement("span",Object.assign({},M,{ref:d}),te);if(i){var Kr=i;return ce.createElement(Kr,Object.assign({},Et,{ref:d}))}return ce.createElement("input",Object.assign({},Et,{ref:d}))}function A1(e,o){var r=o.decimalScale,i=o.fixedDecimalScale,s=o.prefix;s===void 0&&(s="");var d=o.suffix;d===void 0&&(d="");var u=o.allowNegative,m=o.thousandsGroupStyle;if(m===void 0&&(m="thousand"),e===""||e==="-")return e;var h=nd(o),p=h.thousandSeparator,v=h.decimalSeparator,g=r!==0&&e.indexOf(".")!==-1||r&&i,k=Nm(e,u),S=k.beforeDecimal,B=k.afterDecimal,T=k.addNegation;return r!==void 0&&(B=lx(B,r,!!i)),p&&(S=c9(S,p,m)),s&&(S=s+S),d&&(B=B+d),T&&(S="-"+S),e=S+(g&&v||"")+B,e}function nd(e){var o=e.decimalSeparator;o===void 0&&(o=".");var r=e.thousandSeparator,i=e.allowedDecimalSeparators;return r===!0&&(r=","),i||(i=[o,"."]),{decimalSeparator:o,thousandSeparator:r,allowedDecimalSeparators:i}}function y9(e,o){e===void 0&&(e="");var r=new RegExp("(-)"),i=new RegExp("(-)(.)*(-)"),s=r.test(e),d=i.test(e);return e=e.replace(/-/g,""),s&&!d&&o&&(e="-"+e),e}function x9(e,o){return new RegExp("(^-)|[0-9]|"+ax(e),"g")}function w9(e,o,r){return e===""?!0:!o?.match(/\d/)&&!r?.match(/\d/)&&typeof e=="string"&&!isNaN(Number(e))}function z9(e,o,r){var i;o===void 0&&(o=m9(e));var s=r.allowNegative,d=r.prefix;d===void 0&&(d="");var u=r.suffix;u===void 0&&(u="");var m=r.decimalScale,h=o.from,p=o.to,v=p.start,g=p.end,k=nd(r),S=k.allowedDecimalSeparators,B=k.decimalSeparator,T=e[g]===B;if(Hi(e)&&(e===d||e===u)&&o.lastValue==="")return e;if(g-v===1&&S.indexOf(e[v])!==-1){var N=m===0?"":B;e=e.substring(0,v)+N+e.substring(v+1,e.length)}var E=function(G,se,ze){var Te=!1,C=!1;d.startsWith("-")?Te=!1:G.startsWith("--")?(Te=!1,C=!0):u.startsWith("-")&&G.length===u.length?Te=!1:G[0]==="-"&&(Te=!0);var P=Te?1:0;return C&&(P=2),P&&(G=G.substring(P),se-=P,ze-=P),{value:G,start:se,end:ze,hasNegation:Te}},y=E(e,v,g),w=y.hasNegation;i=y,e=i.value,v=i.start,g=i.end;var R=E(o.lastValue,h.start,h.end),M=R.start,H=R.end,Z=R.value,te=e.substring(v,g);e.length&&Z.length&&(M>Z.length-u.length||H<d.length)&&!(te&&u.startsWith(te))&&(e=Z);var le=0;e.startsWith(d)?le+=d.length:v<d.length&&(le=v),e=e.substring(le),g-=le;var Me=e.length,ae=e.length-u.length;e.endsWith(u)?Me=ae:(g>ae||g>e.length-u.length)&&(Me=g),e=e.substring(0,Me),e=y9(w?"-"+e:e,s),e=(e.match(x9(B))||[]).join("");var re=e.indexOf(B);e=e.replace(new RegExp(ax(B),"g"),function(G,se){return se===re?".":""});var we=Nm(e,s),Re=we.beforeDecimal,qe=we.afterDecimal,O=we.addNegation;return p.end-p.start<h.end-h.start&&Re===""&&T&&!parseFloat(qe)&&(e=O?"-":""),e}function j9(e,o){var r=o.prefix;r===void 0&&(r="");var i=o.suffix;i===void 0&&(i="");var s=Array.from({length:e.length+1}).map(function(){return!0}),d=e[0]==="-";s.fill(!1,0,r.length+(d?1:0));var u=e.length;return s.fill(!1,u-i.length+1,u+1),s}function S9(e){var o=nd(e),r=o.thousandSeparator,i=o.decimalSeparator,s=e.prefix;s===void 0&&(s="");var d=e.allowNegative;if(d===void 0&&(d=!0),r===i)throw new Error(`
22428
+ }`;const H8=gm.createTheme("ecl-eu",{GLOBAL:I8,"KOL-ACCORDION":e8,"KOL-ALERT":n8,"KOL-BADGE":o8,"KOL-BREADCRUMB":t8,"KOL-BUTTON":a8,"KOL-BUTTON-LINK":r8,"KOL-CARD":l8,"KOL-COMBOBOX":i8,"KOL-DETAILS":c8,"KOL-DRAWER":s8,"KOL-FORM":d8,"KOL-HEADING":f8,"KOL-INPUT-CHECKBOX":u8,"KOL-INPUT-COLOR":b8,"KOL-INPUT-DATE":m8,"KOL-INPUT-EMAIL":h8,"KOL-INPUT-FILE":p8,"KOL-INPUT-NUMBER":_8,"KOL-INPUT-PASSWORD":v8,"KOL-INPUT-RADIO":g8,"KOL-INPUT-RANGE":k8,"KOL-INPUT-TEXT":y8,"KOL-LINK":w8,"KOL-LINK-BUTTON":x8,"KOL-MODAL":z8,"KOL-NAV":j8,"KOL-PAGINATION":S8,"KOL-POPOVER-BUTTON":T8,"KOL-SELECT":A8,"KOL-SINGLE-SELECT":C8,"KOL-SKIP-NAV":E8,"KOL-SPIN":L8,"KOL-SPLIT-BUTTON":B8,"KOL-TABLE-STATEFUL":N8,"KOL-TABLE-STATELESS":R8,"KOL-TABS":D8,"KOL-TEXTAREA":O8,"KOL-TOAST-CONTAINER":$8,"KOL-TOOLBAR":M8,"KOL-TREE":F8,"KOL-TREE-ITEM":U8}),K8="3.0.8-rc.4",Ob={version:K8},V8=()=>{const e={onClick:()=>history.back()};return a.jsxs(_o,{_label:"This is an example page",_level:0,_type:"info",children:[a.jsx("p",{children:"You followed an example link."}),history.length>1&&a.jsx(Q,{_label:"Go Back",_on:e})]})},U0=["default","ecl-ec","ecl-eu","unstyled"],km=e=>U0.find(o=>o===e)!==void 0,ym=[{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 q8(){const e=matchMedia("(max-width: 1023px)"),[o,r]=z.useState(e.matches),i=()=>{r(e.matches)};return z.useEffect(()=>(i(),e.addEventListener("change",i),()=>{e.removeEventListener("change",i)}),[e]),o}function Z8({children:e}){return q8()?a.jsx(oo,{_label:"All components",class:"mt",children:e}):a.jsx("div",{className:"mt scrollable-container",children:e})}function a1({label:e,to:o,children:r}){const i=By(o),s=jl(o),d=m6({path:s.pathname,end:!0});return a.jsx(Qn,{_label:e,_href:i,_active:!!d,children:r})}function P8({routes:e}){const o=(i,s)=>Object.keys(s).map(d=>{const u=i==="tree"&&d==="basic/:subPage",m=u?"basic/home":d,h=u?"basic":d;return a.jsx(a1,{label:h,to:[i,m].join("/")},[i,d].join("/"))}),r=Object.entries(e).map(([i,s])=>a.jsx(a1,{label:i,to:i,children:o(i,s)},i));return a.jsx(Z8,{children:a.jsx("nav",{children:a.jsx(zy,{_label:"Navigation",class:"block",children:r})})})}const G8=({buildDate:e,commitHash:o})=>!e&&!o?"":a.jsx("div",{className:"text-sm font-mono color-gray-5 m-t-2",children:e&&o?a.jsxs(a.Fragment,{children:["Build: ",o,a.jsx("br",{}),"at ",e]}):o?`Build: ${o}`:`Build date: ${e}`}),Y8=({version:e,theme:o,routes:r,routeList:i,sample:s,buildDate:d,commitHash:u,onThemeChange:m})=>{const h=()=>i.indexOf(s),p=()=>s.replace(/\//g," "),v=(S,B)=>{m(B)},g=()=>{const S=h(),B=S<=0?i.length-1:S-1;location.replace(`#${i[B]}`)},k=()=>{const S=h(),B=S===i.length-1?0:S+1;location.replace(`#${i[B]}`)};return a.jsx("aside",{className:"app-sidebar p-4",children:a.jsxs("div",{className:"scrollable-container-wrapper",children:[a.jsxs("div",{className:"flex flex-justify-between flex-items-center",children:[a.jsx(be,{_label:"KoliBri React"}),a.jsx(Ps,{_label:e})]}),a.jsx(G8,{buildDate:d,commitHash:u}),a.jsx(Gn,{_label:"Theme",_options:ym,_on:{onChange:v},_value:o,class:"mt"}),a.jsx(be,{_label:"Components",_level:2,className:"block mt"}),a.jsxs("div",{className:"flex flex-justify-between flex-items-center mt",children:[a.jsx(Q,{_icons:"codicon codicon-arrow-left",_hideLabel:!0,_label:"Previous component",_on:{onClick:g}}),a.jsxs("span",{className:"text-base text-center",children:[p()," (",h()+1,"/",i.length,")"]}),a.jsx(Q,{_icons:"codicon codicon-arrow-right",_hideLabel:!0,_label:"Next component",_on:{onClick:k}})]}),a.jsx(P8,{routes:r})]})})},X8=()=>{const e=Wo();k5("#"+e.pathname)},xm=z.createContext(null),Q8="https://public-ui.github.io/docs/components",J8="https://github.com/public-ui/kolibri/blob/develop/packages/samples/react/src/components",Fe="I am an error message!",xo="I am a hint.",V=e=>{const o=z.useContext(xm),r=Wo(),i=r.pathname.split("/").slice(1),s=z.useMemo(()=>i[0]==="scenarios"?null:`${Q8}/${i[0]}`,[r.hash]),d=z.useMemo(()=>i[0]==="scenarios"?null:`${J8}/${i[0]}/${i[1]}.tsx`,[r.hash]);return a.jsxs(a.Fragment,{children:[a.jsx("h1",{className:"visually-hidden",children:r.pathname.replace(/\//g," ")}),o?null:a.jsxs("div",{className:"grid sm:flex gap-4 justify-between pb-sm border-b-1 border-b-solid border-gray mb-2",children:[a.jsx("div",{className:"indented-text",children:e.children}),a.jsxs("ul",{className:"flex flex-wrap gap-2 list-none m-0 p-0",children:[d&&a.jsx("li",{children:a.jsx(ke,{_href:d,_label:"Code",_target:"_blank"})}),s&&a.jsx("li",{children:a.jsx(ke,{_href:s,_label:"Documentation",_target:"_blank"})}),a.jsx("li",{children:a.jsx(ke,{_href:`#${r.pathname}?hideMenus`,_label:"Standalone example",_target:"_blank"})})]})]})]})},W8=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolAbbr shows an abbreviation and uses kol-tooltip-wc to display the long form, if provided."})}),a.jsxs("p",{children:["I am ",a.jsx(Bi,{_label:"as an example",children:"e.g."})," an abbreviation."]}),a.jsxs("p",{children:["I am ",a.jsx(Bi,{children:"e.g."})," an abbreviation without label."]})]}),eT={abbr:{basic:W8}},nT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["KolAccordion hides its content until opened. The open state can be toggled by clicking the headline or by setting the ",a.jsx("code",{children:"_open"}),"-prop programmatically. Additionally, the sample shows the disabled state for a closed and an open accordion."]})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(oo,{_label:"Heading Accordion Tab 1 (open)",_open:!0,children:a.jsx(vo,{_label:"Combobox in Accordion",_suggestions:"['Herr','Frau','Firma']"})}),a.jsx(oo,{_label:"Heading Accordion Tab 2",children:"Contents Accordion Tab 2"}),a.jsx(oo,{_label:"Heading Accordion Tab 3 (deactivated)",_disabled:!0,children:"Contents Accordion Tab 3"}),a.jsx(oo,{_label:"Heading Accordion Tab 4 (disabled and open)",_disabled:!0,_open:!0,children:"Contents Accordion Tab 4"})]})]}),oT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolAccordion with the different heading levels from 1-6."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(oo,{_label:"Heading Level 1",_level:1,children:"Contents Accordion Tab 1"}),a.jsx(oo,{_label:"Heading Level 2",_level:2,children:"Contents Accordion Tab 2"}),a.jsx(oo,{_label:"Heading Level 3",_level:3,children:"Contents Accordion Tab 3"}),a.jsx(oo,{_label:"Heading Level 4",_level:4,children:"Contents Accordion Tab 4"}),a.jsx(oo,{_label:"Heading Level 5",_level:5,children:"Contents Accordion Tab 5"}),a.jsx(oo,{_label:"Heading Level 6",_level:6,children:"Contents Accordion Tab 6"})]})]}),tT={accordion:{basic:nT,headlines:oT}},ji=({level:e,type:o,variant:r})=>a.jsxs(a.Fragment,{children:[a.jsx(_o,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:o,_variant:r,children:"This is the text of the alert."}),a.jsx(_o,{_type:o,_variant:r,children:"In this alert, only the text without the heading is used."}),a.jsx(_o,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:o,_variant:r,_hasCloser:!0,children:"This is the text of the alert. With close button."}),a.jsx(_o,{_type:o,_variant:r,_hasCloser:!0,children:"In this alert, only the text without the heading is used. With close button."})]}),F0=({variant:e="msg"})=>a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ji,{level:1,type:"default",variant:e}),a.jsx(ji,{level:2,type:"error",variant:e}),a.jsx(ji,{level:3,type:"info",variant:e}),a.jsx(ji,{level:4,type:"success",variant:e}),a.jsx(ji,{level:5,type:"warning",variant:e})]}),rT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["KolAlert shows messages of different types. This sample illustrates the variant ",a.jsx("code",{children:"msg"}),", showing all possible types with and without headlines and close buttons."]})}),a.jsx(F0,{variant:"msg"})]}),aT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["KolAlert shows messages of different types. This sample illustrates the variant ",a.jsx("code",{children:"card"}),", showing all possible types with and without headlines and close buttons."]})}),a.jsx("section",{className:"w-full",children:a.jsx(F0,{variant:"card"})})]}),lT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows how KolAlert can be used with arbitrary HTML as slot content."})}),a.jsx("div",{children:a.jsxs(_o,{_label:"Output of HTML code in the alert",_type:"info",children:[a.jsx("div",{className:"mt-2 mb-3",children:a.jsx(be,{_level:2,_label:"An H2 heading is output here"})}),a.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[a.jsxs("div",{children:[a.jsx("h3",{children:"Text in a left-hand column"}),a.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?"})]}),a.jsxs("div",{children:[a.jsx("h3",{children:"Text in einer rechten Spalte"}),a.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!"})]})]})]})})]}),iT={alert:{basic:rT,"card-msg":aT,html:lT}},cT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolAvatar shows a user's avatar with customizable colors. It can be used with or without an image. If no image is defined, the name's initials are shown instead with a configurable background color."})}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(ds,{_src:"https://www.w3schools.com/howto/img_avatar.png",_label:"Elke Mustermann"}),a.jsx(ds,{_label:"Elke Mustermann "}),a.jsx(ds,{_label:"Marianne"}),a.jsx(ds,{_color:"#0000FF",_label:"Christian"})]})]}),sT={avatar:{basic:cT}},dT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolBadge shows badges with a label, background color and optional icon."})}),a.jsxs("div",{className:"flex flex-wrap gap-2",children:[a.jsx(xn,{_label:"black"}),a.jsx(xn,{_color:"#86ffc6",_label:"teal"}),a.jsx(xn,{_color:"#06539e",_label:"blue"}),a.jsx(xn,{_color:"#ae0000",_label:"red with icon",_icons:"codicon codicon-smiley"}),a.jsx(xn,{_color:"#8b008b",_label:"purple with icon",_icons:"codicon codicon-squirrel"})]})]}),Si=e=>({_label:e,_smartButton:{_icons:"codicon codicon-close",_label:`Remove ${e}`,_on:{onClick:()=>alert("clicked")}}}),fT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows KolBadge with an optional ",a.jsx("code",{children:"smartButton"}),'. The sample defines a "close" button with X-icon a click event listener.']})}),a.jsxs("div",{className:"flex flex-wrap gap-2",children:[a.jsx(xn,{...Si("black")}),a.jsx(xn,{_color:"#86ffc6",...Si("teal")}),a.jsx(xn,{_color:"#06539e",...Si("blue")}),a.jsx(xn,{_color:"#ae0000",_icons:"codicon codicon-smiley",...Si("red with icon")}),a.jsx(xn,{_color:"#8b008b",_icons:"codicon codicon-squirrel",...Si("purple with icon")})]})]}),uT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample demonstrates the possibility of formatted text in badges via markdown syntax."})}),a.jsxs("div",{className:"flex flex-col gap-4",children:[a.jsx(xn,{_color:"#7db4ebff",_label:"**Bold** and _italic_ Markdown label"}),a.jsx(xn,{_color:"#8feb7dff",_label:"This is ~~strikethrough~~ text"}),a.jsx(xn,{_color:"#e6ee8eff",_label:"Source code like `y = mx + n` is possible"})]})]}),bT={badge:{basic:dT,button:fT,"formatted-label":uT}},mT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolBreadcrumb shows a breadcrumb navigation. The sample illustrates a variation of link, text and icon elements."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ks,{_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"}]}),a.jsx(ks,{_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"}]}),a.jsx(ks,{_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"}]})]})]}),hT={breadcrumb:{basic:mT}},pT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolButtonLink with aria-description"})}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Ge,{_label:"Button Text without area description"}),a.jsx(Ge,{_label:"Button Text",_ariaDescription:"Button Area Description"})]})]});function On(){const e=Ir.getInstance(document),o=s=>{e.enqueue({description:s||"Hello",label:"Hello",type:"info"})};return{dummyClickEventHandler:()=>{o()},buttonWithTextClickEventHandler:s=>{const d=s.currentTarget.textContent;o(d)}}}const _T=()=>{const{dummyClickEventHandler:e}=On(),o={onClick:e};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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 ",a.jsx("code",{children:"block"}),", ",a.jsx("code",{children:"inline-block"})," and ",a.jsx("code",{children:"inline"}),". It also demonstrates the disabled-state."]})}),a.jsxs("section",{className:"text-base",children:[a.jsx(be,{_level:2,_label:"Button-Link with variant 'inline'"}),a.jsxs("p",{children:["In this paragraph, a link is inserted that contains no additional attributes. ",a.jsx(Ge,{_label:"Simple Link"})," It is rendered by default as an"," ",a.jsx("strong",{children:"inline element"}),"."]}),a.jsxs("p",{children:["In this paragraph, a link is inserted that is rendered as an inline-block element.",a.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.",a.jsx("br",{}),a.jsx("br",{}),"After that, there is a link that is rendered as a block element.",a.jsx(Ge,{style:{display:"block"},_label:"Simple Link"}),"Therefore, I go over the entire width of the parent element to create a line break."]}),a.jsx(be,{_level:2,_label:"Button-Link with variant 'standalone'"}),a.jsx("p",{children:a.jsx(Ge,{_label:"Disabled ButtonLink",_disabled:!0,_variant:"standalone"})}),a.jsx("p",{children:a.jsx(Ge,{_label:"With access key",_accessKey:"c",_on:o,_variant:"standalone"})}),a.jsx("p",{children:a.jsx(Ge,{_label:"Disabled ButtonLink",_shortKey:"s",_variant:"standalone"})})]})]})},vT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolButtonLink with icons in different locations."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(Ge,{_icons:"codicon codicon-home",_label:"I am a link with an icon on the left"}),a.jsx(Ge,{_icons:{right:"codicon codicon-home"},_label:"I am a link with an icon on the right"}),a.jsx(Ge,{_icons:{top:"codicon codicon-home"},_label:"I am a link with an icon at the top"}),a.jsx(Ge,{_icons:{bottom:"codicon codicon-home"},_label:"I am a link with icon below"}),a.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"}),a.jsx(Ge,{_icons:"codicon codicon-home",_hideLabel:!0,_label:"I am a link with icon only"})]})]}),gT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolButtonLink with slot-content instead of a label. The sample uses an image as content."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(Ge,{_label:"I am a link that is rendered as text"}),a.jsx(Ge,{_label:"",children:a.jsx("img",{alt:"Presentation of the KoliBri theming",slot:"expert",src:"abgrenzung.jpg",width:"300"})})]})]}),kT={"button-link":{basic:_T,icons:vT,image:gT,"aria-description":pT}},yT=()=>{const{dummyClickEventHandler:e}=On(),o={onClick:e};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows KolButton with"," ",a.jsx(ke,{_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."]})}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Q,{_label:"With S access key",_accessKey:"S",_on:o}),a.jsx(Q,{_label:"Very small b",_accessKey:"b",_on:o}),a.jsx(Q,{_label:"Access key does not appear in label",_accessKey:"x",_on:o}),a.jsx(Q,{_label:"access key without label",_hideLabel:!0,_accessKey:"a",_icons:"codicon codicon-dashboard",_on:o}),a.jsx(Q,{_label:"with inline icons",_icons:{left:"codicon codicon-dashboard",right:"codicon codicon-dashboard"},_accessKey:"n",_on:o})]})]})},xT=()=>{const{dummyClickEventHandler:e}=On(),o={onClick:e};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolButton with aria-description"})}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Q,{_label:"Button Text without area description",_on:o}),a.jsx(Q,{_label:"Button Text",_ariaDescription:"Button Area Description",_on:o})]})]})},wT=()=>{const{dummyClickEventHandler:e}=On(),o={onClick:e};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This KolButton sample is used for internal testing purposes: It features multiple buttons with and without icons which are vertically aligned."})}),a.jsxs("div",{className:"flex flex-wrap gap-2",children:[a.jsx(Q,{_label:"Label-Text",_on:o}),a.jsx(Q,{_label:"Label-Text",_on:o}),a.jsx(Q,{_label:"Label-Text",_on:o}),a.jsx(Q,{_icons:"codicon codicon-reactions",_label:"Label-Text with Icon",_on:o})]})]})},zT=e=>{const{children:o,...r}=e,{dummyClickEventHandler:i}=On(),s={onClick:i};return a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Q,{_icons:"codicon codicon-home",_label:"Primary",_variant:"primary",_on:s,...r,children:o}),a.jsx(Q,{_icons:"codicon codicon-heart",_label:"Secondary",_variant:"secondary",_on:s,...r,children:o}),a.jsx(Q,{_icons:"codicon codicon-hubot",_label:"Tertiary",_variant:"tertiary",_on:s,...r,children:o}),a.jsx(Q,{_icons:"codicon codicon-hubot",_label:"Normal",_variant:"normal",_on:s,...r,children:o}),a.jsx(Q,{_icons:"codicon codicon-trash",_label:"Danger",_variant:"danger",_on:s,...r,children:o}),a.jsx(Q,{_icons:"codicon codicon-reactions",_label:"Ghost",_variant:"ghost",_on:s,...r,children:o})]})},I0=(e={})=>{const o=[{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 a.jsx("div",{className:"grid gap-8",children:o.map(({label:r,buttonProps:i},s)=>a.jsxs("section",{className:"grid gap-4",children:[a.jsx(be,{_level:2,_label:r}),a.jsx(zT,{...i})]},s))})},jT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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."})}),a.jsx(I0,{})]}),ST=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolButton show a button-element with expert slot."})}),a.jsx(I0,{_label:"",children:a.jsx("span",{slot:"expert",children:"I am more than just a button"})})]}),TT=()=>{const{dummyClickEventHandler:e}=On(),o={onClick:e};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolButton with icons in all alignments."})}),a.jsx("div",{children:a.jsx(Q,{_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:o,className:"w-10rem"})})]})},AT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample demonstrates how the tooltip adapts its width when containing long text inside a row-reverse flex container. The effect becomes visible when inspecting the layout with DevTools and reducing the available width (e.g. by narrowing the screen)."})}),a.jsx("div",{className:"flex flex-row-reverse",children:a.jsx(Q,{_icons:"codicon codicon-home",_hideLabel:!0,_label:"This is a very, very long tooltip text that exceeds the width.",_variant:"primary"})})]}),Ju=new WeakMap,po=e=>(Ju.has(e)===!1&&Ju.set(e,jy.createRoot(e)),Ju.get(e)),CT=({label:e})=>{const o=Ir.getInstance(document),r=z.useRef(null),i=z.useRef(null),s=()=>{o.enqueue({label:"Edit clicked",description:`The button "edit" has been clicked for ${e}`,type:"info"})},d=()=>{o.enqueue({label:"Delete clicked",description:`The button "delete" has been clicked for ${e}`,type:"warning"})},u=m=>{switch(m.code){case"KeyE":r.current?.kolFocus(),s();return;case"KeyD":i.current?.kolFocus(),d();return}};return a.jsxs("div",{style:{display:"flex",gap:"calc(10rem / var(--kolibri-root-font-size, 16))"},onKeyUp:u,children:[a.jsx(Q,{ref:r,_label:"Edit",_shortKey:"e",_on:{onClick:s}}),a.jsx(Q,{ref:i,_label:"Delete",_shortKey:"d",_variant:"danger",_on:{onClick:d}})]})},ET=()=>{const{dummyClickEventHandler:e}=On(),o={onClick:e},r=[{label:"Row 1"},{label:"Row 2"}],i={horizontal:[[{label:"Label",key:"label",textAlign:"left"},{label:"Actions",key:"actions",textAlign:"left",render:(s,d)=>{po(Ur(s)).render(a.jsx(CT,{label:d.data.label}))}}]]};return a.jsxs(a.Fragment,{children:[a.jsxs(V,{children:[a.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."}),a.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.'})]}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Q,{_label:"With S short key",_shortKey:"S",_on:o}),a.jsx(Q,{_label:"Very small b",_shortKey:"b",_on:o}),a.jsx(Q,{_label:"Short key does not appear in label",_shortKey:"x",_on:o}),a.jsx(Q,{_label:"short key without label",_hideLabel:!0,_shortKey:"k",_icons:"codicon codicon-dashboard",_on:o}),a.jsx(Q,{_label:"with inline icons",_icons:{left:"codicon codicon-dashboard",right:"codicon codicon-dashboard"},_shortKey:"n",_on:o})]}),a.jsx(be,{_level:2,_label:"Interactive sample",className:"mt"}),a.jsx(bn,{_label:'Move focus within one of the "Actions" cells and press "e" or "d" to trigger an action.',_data:r,_headers:i,_minWidth:"400px"})]})},LT=()=>{const{dummyClickEventHandler:e}=On(),o={className:"w-8rem",_on:{onClick:e}};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolButton with adjusted widths."})}),a.jsxs("div",{className:"grid gap-14",children:[a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Q,{_label:"Primary",_variant:"primary",...o}),a.jsx(Q,{_label:"Secondary",_variant:"secondary",...o}),a.jsx(Q,{_label:"Normal",_variant:"normal",...o}),a.jsx(Q,{_label:"Danger",_variant:"danger",...o}),a.jsx(Q,{_label:"Ghost",_variant:"ghost",...o})]}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Q,{_disabled:!0,_label:"Primary",_variant:"primary",...o}),a.jsx(Q,{_disabled:!0,_label:"Secondary",_variant:"secondary",...o}),a.jsx(Q,{_disabled:!0,_label:"Normal",_variant:"normal",...o}),a.jsx(Q,{_disabled:!0,_label:"Danger",_variant:"danger",...o}),a.jsx(Q,{_disabled:!0,_label:"Ghost",_variant:"ghost",...o})]})]})]})},BT={button:{basic:jT,icons:TT,width:LT,"access-key":yT,"aria-description":xT,baselined:wT,"short-key":ET,"expert-slot":ST,"row-reverse-tooltip":AT}},NT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolCard shows a card with title and slot content. The second sample features a close button."})}),a.jsxs("div",{className:"w-full grid grid-cols-2 gap-4",children:[a.jsx(Le,{_label:"Card with title and content",children:a.jsx("div",{children:"Card contents."})}),a.jsx(Le,{_label:"Card with closer",_hasCloser:!0,children:a.jsx("p",{children:"This card has a close button."})})]})]}),RT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows cards with all headline levels as title."})}),a.jsxs("div",{className:"w-full grid grid-cols-2 gap-4",children:[a.jsx(Le,{_label:"Card with headline level 0",_level:0,children:a.jsx("div",{children:"Card contents."})}),a.jsx(Le,{_label:"Card with headline level 1",_level:1,children:a.jsx("div",{children:"Card contents."})}),a.jsx(Le,{_label:"Card with headline level 2",_level:2,children:a.jsx("div",{children:"Card contents."})}),a.jsx(Le,{_label:"Card with headline level 3",_level:3,children:a.jsx("div",{children:"Card contents."})}),a.jsx(Le,{_label:"Card with headline level 4",_level:4,children:a.jsx("div",{children:"Card contents."})}),a.jsx(Le,{_label:"Card with headline level 5",_level:5,children:a.jsx("div",{children:"Card contents."})}),a.jsx(Le,{_label:"Card with headline level 6",_level:6,children:a.jsx("div",{children:"Card contents."})})]})]}),DT={card:{basic:NT,headlines:RT}},go=({RefComponent:e,showButtons:o=!0,...r})=>a.jsx(wo,{className:"w-full",children:a.jsxs("div",{className:"grid gap-4",children:[a.jsx(e,{...r}),o&&a.jsxs("div",{className:"flex gap-4",children:[a.jsx(Q,{_label:"Submit",_icons:"codicon codicon-arrow-right",_type:"submit",_variant:"primary"}),a.jsx(Q,{_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"}),a.jsx(Q,{_label:"Reset",_type:"reset",_variant:"tertiary"}),a.jsx(Q,{_label:"Help",_variant:"ghost"})]})]})});function zo({children:e}){const[o]=Fr(),r=o.has("noColumns");return a.jsx("div",{className:r?"":"grid md:grid-cols-2 gap-4",children:e})}const H0=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"}]'),Yo=[...H0.map(e=>({label:e.name,value:e.alpha2}))],Xo=[...H0.map(e=>e.name)],l1=e=>a.jsxs("div",{className:"grid gap-4",children:[a.jsx(vo,{...e,_hint:xo,_label:"Label",_suggestions:Xo,_value:"Deutschland"}),a.jsx(vo,{...e,_label:"Disabled",_suggestions:Xo,_value:"Deutschland",_disabled:!0}),a.jsx(vo,{...e,_suggestions:Xo,_msg:{_type:"error",_description:Fe},_touched:!0,_label:"Label",_placeholder:"Placeholder",_required:!0}),a.jsx(vo,{...e,_label:"With access key",_suggestions:Xo,_value:"Deutschland",_accessKey:"c"}),a.jsx(vo,{...e,_label:"With short key",_suggestions:Xo,_value:"Deutschland",_shortKey:"s"})]}),OT=e=>a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Text"}),a.jsx(l1,{...e})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Text (hideLabel)"}),a.jsx(l1,{...e,_hideLabel:!0})]})]}),$T=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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."})}),a.jsx(go,{RefComponent:OT,showButtons:!1})]}),MT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"A HTML only KolCombobox."})}),a.jsx(vo,{_label:"With string array in html",_suggestions:"['Herr','Frau','Firma']",_value:"Herr"})]}),UT={combobox:{basic:$T,html:MT}},FT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["KolDetails hides its content until opened. The open state can be toggled either by clicking the label or by setting the ",a.jsx("code",{children:"_open"}),"-prop programmatically. The sample includes an initially open state and a disabled but open Details component."]})}),a.jsxs("section",{className:"grid gap-4",children:[a.jsx(er,{_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."}),a.jsx(er,{_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."}),a.jsx(er,{_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."})]})]}),IT={details:{basic:FT}},HT=["left","top","right","bottom"].map(e=>({label:e,value:e})),wm=({value:e="left",onChange:o})=>a.jsx("div",{className:"grid gap-4",children:a.jsx("div",{className:"container my-4 d-grid gap-4",children:a.jsx(An,{_label:"Drawer alignment",_value:e,_options:HT,_orientation:"horizontal",_on:{onChange:o}})})}),KT=()=>{const[e]=Fr(),o=e.get("align"),r=e.get("closer")==="true",i=z.useRef(null),[s,d]=z.useState(o||"left"),[u,m]=z.useState(r);return z.useEffect(()=>{o&&i.current?.open()},[o]),a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolDrawer shows a dialog attached to one of the sides of the viewport, when opened. This sample illustrates the four alignments."})}),a.jsx(wm,{value:s,onChange:(h,p)=>d(p)}),a.jsx(rn,{_label:"Drawer has closer",className:"mb-4",_checked:u,_on:{onInput:(h,p)=>{m(p===!0)}}}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Wb,{ref:i,_label:"I am a drawer",_align:s,_hasCloser:u,_on:{onClose:()=>console.log("Drawer onClose triggered!")},children:a.jsxs("div",{className:s==="left"||s==="right"?"drawer-content-vertical":"",children:[a.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."}),a.jsx(Q,{_label:"Close drawer",_on:{onClick:()=>i.current?.close()}})]})}),a.jsx(Q,{_label:"Open drawer",_on:{onClick:()=>i.current?.open()}})]})]})},VT=()=>{const[e]=Fr(),o=e.get("align"),[r,i]=z.useState(!1),[s,d]=z.useState(o||"left");return a.jsxs("div",{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows the KolDrawer controlled by the property ",a.jsx("code",{children:"_open"})," instead of methods."]})}),a.jsx(wm,{value:s,onChange:(u,m)=>d(m)}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Wb,{_open:r,_align:s,_label:"I'm a controlled drawer",_on:{onClose:()=>i(!1)},children:a.jsxs("div",{children:[a.jsx("p",{children:"Lorem ipsum dolor sit amet,"}),a.jsx(Q,{_label:"Close drawer",_on:{onClick:()=>i(!1)}})]})}),a.jsx(Q,{_label:"Open drawer",_on:{onClick:()=>i(!0)}})]})]})},qT=()=>{const e=z.useRef(null),[o,r]=z.useState("bottom"),[i,s]=z.useState(!0);return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:'This sample demonstrates how KolDrawer handles content that exceeds the drawer dimensions and shows the correct way to handle overflow. Use the "Enable Overflow Handling" toggle to see the difference between problematic behavior (content exceeding drawer bounds) and the proper solution (overflow handling within the slot content).'})}),a.jsxs("div",{className:"flex flex-col gap-4 mb-4",children:[a.jsx(wm,{value:o,onChange:(d,u)=>r(u)}),a.jsx(rn,{_label:"Enable Overflow Handling (Recommended)",_checked:i,_on:{onChange:(d,u)=>s(!!u)}})]}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Wb,{ref:e,_label:"Scrollable Drawer",_align:o,children:i?a.jsx("div",{style:{width:o==="left"||o==="right"?"90vw":void 0,height:o==="top"||o==="bottom"?"90vh":void 0,overflow:"auto",padding:"0",border:"1px solid #999"},children:a.jsxs("div",{style:{width:o==="left"||o==="right"?"150vw":void 0,height:o==="top"||o==="bottom"?"150vh":void 0,background:"linear-gradient(45deg, #f0f0f0 25%, transparent 25%), linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f0f0 75%), linear-gradient(-45deg, transparent 75%, #f0f0f0 75%)",backgroundSize:"20px 20px",backgroundPosition:"0 0, 0 10px, 10px -10px, -10px 0px",border:"2px dashed #ccc",padding:"20px",display:"flex",flexDirection:"column",gap:"20px"},children:[a.jsx("p",{children:"✅ Content with proper overflow handling - scrollable within drawer bounds"}),a.jsxs("div",{children:[a.jsx("h3",{children:"Large Content Area (Scrollable)"}),a.jsxs("p",{children:["Container: ",o==="left"||o==="right"?"400px wide":"90vw wide"," ×"," ",o==="top"||o==="bottom"?"90vh high":"400px high"]}),a.jsxs("p",{children:["Content: ",o==="left"||o==="right"?"150vw wide":"400px wide"," ×"," ",o==="top"||o==="bottom"?"150vh high":"400px high"]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Overflow Handling:"})," Enabled - Container has fixed size with overflow: auto"]}),a.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."}),a.jsx("p",{children:"With overflow handling enabled, this content scrolls properly within the drawer container. You can scroll horizontally/vertically to see all content."}),a.jsx("div",{style:{marginTop:"auto",paddingTop:"40px"},children:a.jsx(Q,{_label:"Close drawer",_on:{onClick:()=>e.current?.close()}})})]})]})}):a.jsxs("div",{style:{width:o==="left"||o==="right"?"150vw":"400px",height:o==="top"||o==="bottom"?"150vh":"400px",background:"linear-gradient(45deg, #f0f0f0 25%, transparent 25%), linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f0f0 75%), linear-gradient(-45deg, transparent 75%, #f0f0f0 75%)",backgroundSize:"20px 20px",backgroundPosition:"0 0, 0 10px, 10px -10px, -10px 0px",border:"2px dashed #ccc",padding:"20px",display:"flex",flexDirection:"column",gap:"20px"},children:[a.jsx("p",{children:"❌ Content exceeding drawer bounds - problematic behavior"}),a.jsxs("div",{children:[a.jsx("h3",{children:"Large Content Area"}),a.jsxs("p",{children:["Width: ",o==="left"||o==="right"?"150vw (exceeds drawer width)":"400px"]}),a.jsxs("p",{children:["Height: ",o==="top"||o==="bottom"?"150vh (exceeds drawer height)":"400px"]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Overflow Handling:"})," Disabled - Content extends beyond drawer boundaries"]}),a.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."}),a.jsx("p",{children:"Without overflow handling, this content may extend beyond the drawer boundaries, causing layout issues."}),a.jsx("div",{style:{marginTop:"auto",paddingTop:"40px"},children:a.jsx(Q,{_label:"Close drawer",_on:{onClick:()=>e.current?.close()}})})]})]})}),a.jsx(Q,{_label:"Open scrollable drawer",_on:{onClick:()=>e.current?.open()}})]})]})},ZT={drawer:{basic:KT,controlled:VT,scrolled:qT}},PT=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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."})}),a.jsx(wo,{className:"w-full",children:a.jsxs("div",{className:"grid gap-2",children:[a.jsx(Be,{id:"input1",_label:"Input 1"}),a.jsx(Be,{id:"input2",_label:"Input 2"}),a.jsx(Be,{id:"input3",_label:"Input 3"})]})})]}),GT=()=>{const e=z.useRef(null),o=()=>{e.current?.focusErrorList()};return z.useEffect(()=>{e.current?.focusErrorList()},[]),a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows a form with error messages."})}),a.jsx(wo,{className:"w-full",ref:e,_on:{onSubmit:o},_errorList:[{message:"Error in Input 2",selector:"#input2"},{message:"Error in Input 3",selector:()=>alert("Error in Input 3")}],children:a.jsxs("div",{className:"grid gap-2",children:[a.jsx(Be,{id:"input1",_label:"Input 1"}),a.jsx(Be,{id:"input2",_label:"Input 2",_touched:!0,_msg:{_description:"Input error",_type:"error"}}),a.jsx(Be,{id:"input3",_label:"Input 3",_touched:!0,_msg:{_description:"Input error",_type:"error"}}),a.jsx("div",{children:a.jsx(Q,{_label:"ScrollTo",_type:"submit"})})]})})]})},YT={form:{basic:PT,"error-list":GT}},K0=`public-ui.v${Ob.version}`;class XT{store=new Map;setItem(o,r){this.store.set(o,r)}getItem(o){return this.store.get(o)||null}}const Fi={darkMode:!1,theme:"default"};let $b;function V0(e){$b=e;const o=$b.getItem(K0);try{const r=JSON.parse(o);typeof r=="object"&&r!==null&&(Fi.darkMode=r.darkMode===!0,km(r.theme)&&(Fi.theme=r.theme))}catch{}}V0(new XT);const QT=()=>{$b.setItem(K0,JSON.stringify(Fi))},JT=e=>{if(km(e))Fi.theme=e,QT();else throw new Error(`The theme identifier "${e}" is not valid or an available option.`)},Ms=()=>`${Fi.theme}`,Mb=e=>{if(km(e))return ym.find(o=>o.value===e)?.label;throw new Error(`The theme identifier "${e}" is not valid or an available option.`)},WT=[{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 eA({_on:e,...o}){const{dummyClickEventHandler:r}=On(),i={onClick:r};return a.jsx(Q,{...o,_on:i})}const nA={horizontal:[[{label:"Workdays",colSpan:5},{label:"Weekend",colSpan:2}],[{key:"monday",label:"Monday",render:(e,o)=>{const r=document.createElement("div");r.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(r),po(r).render(a.jsx(eA,{_label:o.label,style:{fontSize:"75%"}}))},compareFn:(e,o)=>e.monday<o.monday?-1:e.monday>o.monday?1:0,sortDirection:"ASC",textAlign:"right"},{key:"tuesday",label:"Tuesday",render:(e,o)=>{const r=document.createElement("div");r.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(r),po(r).render(a.jsx(xn,{_color:"#060",_label:o.label}))},compareFn:(e,o)=>e.tuesday<o.tuesday?-1:e.tuesday>o.tuesday?1:0,sortDirection:"DESC"},{key:"wednesday",label:"Wednesday",render:(e,o)=>{const r=document.createElement("div");r.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(r),po(r).render(a.jsx(xn,{_color:"#006",_label:o.label}))}},{key:"thursday",label:"Thursday",render:(e,o)=>{const r=document.createElement("div");r.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(r),po(r).render(a.jsx(xn,{_color:"#600",_label:o.label}))}},{key:"friday",label:"Friday",render:(e,o)=>{const r=document.createElement("div");r.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(r),po(r).render(a.jsx(xn,{_color:"#303",_label:o.label}))}},{key:"saturday",label:"Saturday",render:(e,o)=>{const r=document.createElement("div");r.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(r),po(r).render(a.jsx(xn,{_color:"#330",_label:o.label}))}},{key:"sunday",label:"Sunday",render:(e,o)=>{const r=document.createElement("div");r.setAttribute("role","presentation"),e.innerHTML="",e.appendChild(r),po(r).render(a.jsx(xn,{_color:"#033",_label:o.label}))}}]],vertical:[[{label:"Early"},{label:"Noon"},{label:"Evening"},{label:"Night"}]]},oA=()=>{const{dummyClickEventHandler:e}=On(),o={onClick:e};return a.jsxs("div",{className:"grid gap-4",children:[a.jsxs("div",{className:"grid gap-4 md:grid-cols-[auto_1fr_1fr] items-center",children:[a.jsx(ys,{className:"block w-75px",_labeled:!1}),a.jsx(be,{_label:"",_level:1,children:a.jsxs("span",{slot:"expert",children:["Kolibri-Handout ",a.jsxs("small",{children:["for ",Mb(Ms())]})]})}),a.jsxs(er,{_label:"Abstract",_open:!0,children:["The handout shows a selection of KoliBri components in the style of ",a.jsx("strong",{children:Mb(Ms())}),". 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 (",a.jsx(ke,{_label:"https://github.com/public-ui/kolibri",_href:"https://github.com/public-ui/kolibri",_target:"_blank"}),")."]})]}),a.jsxs("div",{className:"grid gap-4 sm:grid-cols-6 md:grid-cols-6 xl:grid-cols-12",children:[a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-3 xl:col-span-2",_label:"Heading",_level:2,children:a.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[a.jsx(be,{_label:"Heading Level 1",_level:1}),a.jsx(be,{_label:"Heading Level 2",_level:2}),a.jsx(be,{_label:"Heading Level 3",_level:3}),a.jsx(be,{_label:"Heading Level 4",_level:4}),a.jsx(be,{_label:"Heading Level 5",_level:5}),a.jsx(be,{_label:"Heading Level 6",_level:6}),a.jsx(be,{_label:"Heading Level 6",_secondaryHeadline:"Lessons",_level:6})]})}),a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-3 xl:col-span-2",_label:"Abbreviation and Progress",_level:2,children:a.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[a.jsxs("p",{children:["I am ",a.jsx(Bi,{_label:"as an example",children:"e.g."})," an abbreviation."]}),a.jsxs("p",{children:["I am ",a.jsx(Bi,{children:"e.g."})," an abbreviation without label."]}),a.jsx(Jt,{_variant:"bar",_max:100,_value:33,_label:"Progress"}),a.jsx(Jt,{_variant:"cycle",_max:100,_value:66,_label:"Progress"})]})}),a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-6 xl:col-span-3",_label:"Button, LinkButton and Tab",_level:2,children:a.jsx("div",{slot:"",className:"grid gap-2 p-2",children:a.jsxs(rr,{_label:"",_selected:0,_tabs:[{_label:"Button"},{_label:"LinkButton"},{_label:"Disabled Tab",_disabled:!0}],children:[a.jsxs("div",{className:"grid gap-2 py-2",children:[a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Q,{_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary",_on:o}),a.jsx(Q,{_disabled:!0,_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary",_on:o}),a.jsx(Q,{_hideLabel:!0,_icons:"codicon codicon-arrow-left",_label:"primary",_variant:"primary",_on:o})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Q,{_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary",_on:o}),a.jsx(Q,{_disabled:!0,_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary",_on:o}),a.jsx(Q,{_hideLabel:!0,_icons:"codicon codicon-arrow-right",_label:"secondary",_variant:"secondary",_on:o})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Q,{_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger",_on:o}),a.jsx(Q,{_disabled:!0,_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger",_on:o}),a.jsx(Q,{_hideLabel:!0,_icons:"codicon codicon-arrow-up",_label:"danger",_variant:"danger",_on:o})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Q,{_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal",_on:o}),a.jsx(Q,{_disabled:!0,_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal",_on:o}),a.jsx(Q,{_hideLabel:!0,_icons:"codicon codicon-arrow-down",_label:"normal",_variant:"normal",_on:o})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Q,{_label:"ghost",_variant:"ghost"}),a.jsx(Q,{_disabled:!0,_label:"ghost",_variant:"ghost"}),a.jsx(Q,{_icons:"codicon codicon-home",_hideLabel:!0,_label:"ghost",_variant:"ghost",_on:o})]})]}),a.jsxs("div",{className:"grid gap-2 py-2",children:[a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Je,{_href:"#/back-page",_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary"}),a.jsx(Je,{_href:"#/back-page",_icons:{left:"codicon codicon-arrow-left"},_label:"primary",_variant:"primary"}),a.jsx(Je,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-left",_label:"primary",_variant:"primary"})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Je,{_href:"#/back-page",_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary"}),a.jsx(Je,{_href:"#/back-page",_icons:{right:"codicon codicon-arrow-right"},_label:"secondary",_variant:"secondary"}),a.jsx(Je,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-right",_label:"secondary",_variant:"secondary"})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Je,{_href:"#/back-page",_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger"}),a.jsx(Je,{_href:"#/back-page",_icons:{top:"codicon codicon-arrow-up"},_label:"danger",_variant:"danger"}),a.jsx(Je,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-up",_label:"danger",_variant:"danger"})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Je,{_href:"#/back-page",_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal"}),a.jsx(Je,{_href:"#/back-page",_icons:{bottom:"codicon codicon-arrow-down"},_label:"normal",_variant:"normal"}),a.jsx(Je,{_href:"#/back-page",_hideLabel:!0,_icons:"codicon codicon-arrow-down",_label:"normal",_variant:"normal"})]}),a.jsxs("div",{className:"grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center",children:[a.jsx(Je,{_href:"#/back-page",_label:"ghost",_variant:"ghost"}),a.jsx(Je,{_href:"#/back-page",_label:"ghost",_variant:"ghost"}),a.jsx(Je,{_href:"#/back-page",_icons:"codicon codicon-home",_hideLabel:!0,_label:"ghost",_variant:"ghost"})]})]})]})})}),a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-2 xl:col-span-2",_label:"Accordion, Link and ButtonLink",_level:2,children:a.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[a.jsx(oo,{_label:"Links",_level:3,_open:!0,children:a.jsxs("div",{className:"grid gap-2",slot:"",children:[a.jsx(ke,{_href:"#/back-page",_label:"Link text"}),a.jsx(ke,{_href:"#/back-page",_icons:"codicon codicon-home",_label:"Link text with icon"}),a.jsx(ke,{_href:"#/back-page",_icons:"codicon codicon-home",_hideLabel:!0,_label:"Link text with icon only"}),a.jsx(ke,{_href:"/",_label:"Visited link"}),a.jsxs("p",{children:["I am a ",a.jsx(ke,{_href:"#/back-page",_label:"externer Link",_target:"w3c"})," in the running text."]})]})}),a.jsx(oo,{_label:"ButtonLinks",_level:3,children:a.jsxs("div",{className:"grid gap-2",slot:"",children:[a.jsx(Ge,{_label:"Link text"}),a.jsx(Ge,{_icons:"codicon codicon-home",_label:"Link text with icon"}),a.jsx(Ge,{_icons:"codicon codicon-home",_hideLabel:!0,_label:"Link text with icon only"}),a.jsxs("p",{children:["I am a ",a.jsx(Ge,{_label:"Link"})," in the running text."]}),a.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"})]})})]})}),a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-3",_label:"Alert",_level:2,children:a.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[a.jsx(_o,{_label:"Default message",_type:"default",children:"This is the text of the alert."}),a.jsx(_o,{_type:"success",children:"Success message text"}),a.jsx(_o,{_type:"error",_hasCloser:!0,children:"This is a error message text."}),a.jsx(_o,{_label:"Info card",_type:"info",_variant:"card",children:"This is the text of the alert."}),a.jsx(_o,{_label:"Warning card",_type:"warning",_hasCloser:!0,_variant:"card",children:"This is the text of the alert."})]})}),a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-2 xl:col-span-2",_label:"Nav and Breadcrumb",_level:2,children:a.jsxs("div",{slot:"",className:"grid gap-2 p-2",children:[a.jsx("div",{children:a.jsx(gl,{_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})}),a.jsx("div",{children:a.jsx(ks,{_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"}]})})]})}),a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5",_label:"Input",_level:2,children:a.jsx(wo,{slot:"",children:a.jsxs("div",{className:"grid gap-4 sm:grid-cols-2 md:grid-cols-3 p-2",children:[a.jsx(Zn,{_label:"Color"}),a.jsx(Rn,{_label:"Upload file"}),a.jsx(jn,{_label:"Number input"}),a.jsx(Ie,{_type:"date",_label:"Date"}),a.jsx(Pn,{_icons:"{'left': 'codicon codicon-home'}",_msg:{_type:"error",_description:"Test of an error message"},_touched:!0,_label:"E-mail address"}),a.jsx(Be,{_hint:"I am a hint.",_label:"First name"}),a.jsx(Tn,{_label:"password"}),a.jsx(Gn,{_options:"[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]",_label:"Stimmung"}),a.jsx(Wn,{_min:0,_max:50,_value:25,_label:"Slider"}),a.jsx(An,{className:"herr-frau",_options:"[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]",_value:"1",_label:"Salutation"}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(An,{_orientation:"horizontal",_options:"[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]",_value:"0",_label:"Salutation"}),a.jsx(rn,{_label:"",children:a.jsxs("span",{slot:"expert",children:["I accept the ",a.jsx(Bi,{_label:"General Terms and Conditions",children:"AGB"}),"."]})})]}),a.jsx(en,{_rows:4,_label:"Textarea"})]})})}),a.jsx(Le,{className:"col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5",_label:"Table with Pagination",_level:2,children:a.jsx("div",{slot:"",className:"grid gap-2 p-2",children:a.jsx(bn,{_label:"Table",_minWidth:"auto",_headers:nA,_data:WT,_pagination:!0})})})]}),a.jsx(Ps,{_label:"5.0.2-test.2"})]})},tA={handout:{basic:oA}},rA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows KolHeading with its different levels and content provided using the export slot instead of the ",a.jsx("code",{children:"_label"}),"-property."]})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(be,{_label:"",_level:1,children:a.jsxs("span",{slot:"expert",children:["A heading with a ",a.jsx(xn,{_label:"Label"})]})}),a.jsx(be,{_label:"",_level:2,children:a.jsxs("span",{slot:"expert",children:["A heading with a ",a.jsx(xn,{_color:"#86ffc6",_label:"Label"})]})}),a.jsx(be,{_label:"",_level:3,children:a.jsxs("span",{slot:"expert",children:["A heading with a ",a.jsx(xn,{_color:"#06539e",_label:"Label"})]})}),a.jsx(be,{_label:"",_level:4,children:a.jsxs("span",{slot:"expert",children:["A heading with a ",a.jsx(xn,{_color:"#ae0000",_label:"Label"})]})}),a.jsx(be,{_label:"",_level:5,children:a.jsxs("span",{slot:"expert",children:["A heading with a ",a.jsx(xn,{_color:"#8b008b",_label:"Label"})]})}),a.jsx(be,{_label:"",_level:6,children:a.jsxs("span",{slot:"expert",children:["A heading with a ",a.jsx(xn,{_color:"#ffc0cb",_label:"Label"})]})})]})]}),aA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolHeading renders a heading with the given level."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(be,{_label:"I'm a H1-heading",_level:1}),a.jsx(be,{_label:"I'm a H2-heading",_level:2}),a.jsx(be,{_label:"I'm a H3-heading",_level:3}),a.jsx(be,{_label:"I'm a H4-heading",_level:4}),a.jsx(be,{_label:"I'm a H5-heading",_level:5}),a.jsx(be,{_label:"I'm a H6-heading",_level:6})]})]}),lA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolHeading with its different levels combined with some text content each."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(be,{_label:"Ich bin eine H1-Überschrift",_level:1}),a.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."}),a.jsx(be,{_label:"Ich bin eine H2-Überschrift",_level:2}),a.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."}),a.jsx(be,{_label:"Ich bin eine H3-Überschrift",_level:3}),a.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."}),a.jsx(be,{_label:"Ich bin eine H4-Überschrift",_level:4}),a.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."}),a.jsx(be,{_label:"Ich bin eine H5-Überschrift",_level:5}),a.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."}),a.jsx(be,{_label:"Ich bin eine H6-Überschrift",_level:6}),a.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."})]})]}),iA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows KolHeading with the prop ",a.jsx("code",{children:"_secondaryHeadline"})," in use."]})}),a.jsx("div",{className:"grid gap-4",children:a.jsx(be,{_label:"This is a H1 headline",_secondaryHeadline:"This is a secondary headline",_level:1})})]}),cA={heading:{basic:aA,badge:rA,paragraph:lA,secondary:iA}},sA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolIcon renders codicon icons. This sample shows regular icons and one with a custom style-property, changing the icon color."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ft,{className:"block",_label:"",_icons:"codicon codicon-home"}),a.jsx(ft,{className:"block",_label:"",_icons:"codicon codicon-compass-active"}),a.jsx(ft,{className:"block",_label:"",_icons:"codicon codicon-debug"}),a.jsx(ft,{className:"block",_label:"",_icons:"codicon codicon-squirrel"}),a.jsx(ft,{className:"block w-[1em] h-[1em]",style:{color:"red"},_label:"",_icons:"codicon codicon-home"})]})]}),dA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolIcon renders Font Awesome icons, if you have added this font to your theme. We are showing Font Awesome Free 6.1.1."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ft,{className:"block",_label:"",_icons:"fa-solid fa-house"}),a.jsx(ft,{className:"block",_label:"",_icons:"fa-solid fa-circle-user"}),a.jsx(ft,{className:"block",_label:"",_icons:"fa-solid fa-truck"}),a.jsx(ft,{className:"block",_label:"",_icons:"fa-solid fa-city"}),a.jsx(ft,{className:"block",_label:"",_icons:"fa-regular fa-heart"}),a.jsx(ft,{className:"block",_label:"",_icons:"fa-regular fa-thumbs-up"}),a.jsx(ft,{className:"block",_label:"",_icons:"fa-brands fa-github"}),a.jsx(Be,{_label:"With Font Awesome icons",_icons:{left:{icon:"fa-solid fa-phone"},right:{icon:"fa-solid fa-arrow-right"}}})]})]}),fA={icon:{basic:sA,"font-awesome":dA}},uA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolImage renders an image. The sample shows an image with alternative text."})}),a.jsx(N4,{className:"w-image",_src:"abgrenzung.jpg",_alt:"Darstellung des KoliBri-Theming"})]}),bA={image:{basic:uA}},bs=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx(rn,{...o,_label:"Not selected",_value:!1,_required:!0}),a.jsx(rn,{...o,_label:"Indeterminate",_value:null,_indeterminate:!0}),a.jsx(rn,{...o,ref:r,_accessKey:"A",_checked:!0,_label:"Selected",_tooltipAlign:"right",_value:!0}),a.jsx(rn,{...o,_checked:!0,_icons:{unchecked:"codicon codicon-close"},_label:"With a very long label and upheavals ".repeat(5),_value:!0}),a.jsx(rn,{...o,_disabled:!0,_label:"Disabled",_value:!0,_hint:"Hint text"}),a.jsx(rn,{...o,_checked:!0,_disabled:!0,_label:"Checked and disabled"}),a.jsx(rn,{...o,_indeterminate:!0,_disabled:!0,_label:"Indeterminate and disabled"}),a.jsx(rn,{...o,_msg:{_type:"error",_description:Fe},_label:"With error",_touched:!0,_value:!0,_hint:"Hint text"}),a.jsx(rn,{...o,_label:"With access key",_accessKey:"c",_value:null}),a.jsx(rn,{...o,_label:"With short key",_shortKey:"s",_value:null})]})}),zm=z.forwardRef(function(o,r){return a.jsxs(a.Fragment,{children:[a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:'Label align "left" with label'}),a.jsx(bs,{...o,_labelAlign:"left"})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:'Label align "left" without Label (hideLabel)'}),a.jsx(bs,{ref:r,...o,_hideLabel:!0,_labelAlign:"left"})]})]}),a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:'Label align "right" with label'}),a.jsx(bs,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:'Label align "right" without Label (hideLabel)'}),a.jsx(bs,{ref:r,...o,_hideLabel:!0})]})]})]})}),mA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolInputCheckbox renders a checkbox. The sample shows KolInputCheckbox in a form context with all variations and states."})}),a.jsx(go,{RefComponent:zm,showButtons:!1})]}),hA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:'This sample shows KolInputCheckbox in the variant "button".'})}),a.jsx(go,{RefComponent:zm,_variant:"button",showButtons:!1})]}),pA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:'This sample shows KolInputCheckbox in the variant "switch".'})}),a.jsx(go,{RefComponent:zm,_variant:"switch",showButtons:!1})]}),_A={"input-checkbox":{basic:mA,switch:pA,button:hA}},i1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(Zn,{...o,_msg:{_type:"error",_description:Fe},_icons:{left:"codicon codicon-symbol-color"},_label:"Color (Black background test)",_value:"#f08080"})}),a.jsx(Zn,{...o,_msg:{_type:"error",_description:Fe},_label:"Color with error",_suggestions:"['#000000','#f08080', '#0000ff','#00ff00']",_touched:!0}),a.jsx(Zn,{...o,_msg:{_type:"info",_description:"Just a hint"},_label:"Color"}),a.jsx(Zn,{...o,_msg:{_type:"warning",_description:"Small warning"},_label:"Color"}),a.jsx(Zn,{...o,_msg:{_type:"success",_description:"Success message"},_label:"Color"}),a.jsx(Zn,{...o,ref:r,_accessKey:"C",_hint:"Hint text",_label:"Color with hint",_value:"#f08080"}),a.jsx(Zn,{...o,_disabled:!0,_label:"Color (Disabled)",_value:"#f08080"}),a.jsx(Zn,{...o,_label:"With access key",_accessKey:"c"}),a.jsx(Zn,{...o,_label:"With short key",_shortKey:"s"})]})}),vA=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Color"}),a.jsx(i1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Color (hideLabel)"}),a.jsx(i1,{ref:r,...o,_hideLabel:!0})]})]})}),gA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolInputColor renders a color input. The sample shows KolInputColor in a form context with all variations and states."})}),a.jsx(go,{RefComponent:vA,showButtons:!1})]}),kA={"input-color":{basic:gA}},c1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(Ie,{...o,_type:"date",_label:"Date input (Black background test)",_required:!0})}),a.jsx(Ie,{...o,_type:"datetime-local",_label:"Local-Datetime (Standard)",_required:!0}),a.jsx(Ie,{...o,_step:1,_type:"datetime-local",_hint:xo,_msg:{_type:"error",_description:Fe},_label:"Local datetime (with seconds)",_required:!0,_touched:!0}),a.jsx(Ie,{...o,_msg:{_type:"info",_description:"Just a hint"},_label:"Color"}),a.jsx(Ie,{...o,_msg:{_type:"warning",_description:"Small warning"},_label:"Color"}),a.jsx(Ie,{...o,_msg:{_type:"success",_description:"Success message"},_label:"Color"}),a.jsx(Ie,{...o,_type:"month",_label:"Month",_required:!0}),a.jsx(Ie,{...o,ref:r,_accessKey:"W",_type:"week",_label:"Week",_required:!0}),a.jsx(Ie,{...o,_type:"time",_label:"Time (standard)",_required:!0}),a.jsx(Ie,{...o,_step:1,_type:"time",_label:"Time (with seconds)",_required:!0}),a.jsx(Ie,{...o,_readOnly:!0,_label:"Date input (read-only)",_required:!0}),a.jsx(Ie,{...o,_disabled:!0,_label:"Date input (Disabled)",_required:!0}),a.jsx(Ie,{...o,_label:"With access key",_accessKey:"s"}),a.jsx(Ie,{...o,_label:"With short key",_shortKey:"s"})]})}),yA=e=>{const o="2024-09-26",r="2024-09-27",i="12:00",s="15:00",d="2024-09-26T12:00",u="2024-09-27T15:00",m="2024-W10",h="2024-W50",p="2024-02",v="2024-10",g=new Date("January 10, 2024, 12:00"),k=new Date("October 20, 2024, 15:00");return a.jsxs("div",{className:"grid gap-4",children:[a.jsx(Ie,{...e,_type:"date",_label:"Date with Iso",_min:o,_max:r}),a.jsx(Ie,{...e,_type:"date",_label:"Date with Date",_min:g,_max:k}),a.jsx(Ie,{...e,_type:"time",_label:"Time with Iso",_min:i,_max:s}),a.jsx(Ie,{...e,_type:"time",_label:"Time with Date",_min:g,_max:k}),a.jsx(Ie,{...e,_type:"datetime-local",_label:"DayTime with Iso",_min:d,_max:u}),a.jsx(Ie,{...e,_type:"datetime-local",_label:"DayTime with Date",_min:g,_max:k}),a.jsx(Ie,{...e,_type:"week",_label:"Week with Iso",_min:m,_max:h}),a.jsx(Ie,{...e,_type:"week",_label:"Week with Date",_min:g,_max:k}),a.jsx(Ie,{...e,_type:"month",_label:"Month with Iso",_min:p,_max:v}),a.jsx(Ie,{...e,_type:"month",_label:"Month with Date",_min:g,_max:k})]})},xA=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Date"}),a.jsx(c1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Date (hideLabel)"}),a.jsx(c1,{ref:r,...o,_hideLabel:!0})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Date (with min/max)"}),a.jsx(yA,{...o})]})]})}),wA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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."})}),a.jsx(go,{RefComponent:xA,showButtons:!1})]}),s1=e=>String(e).padStart(2,"0"),zA=(e,o,r)=>{const i=new Date(e,o-1,r);return i.getFullYear()===e&&i.getMonth()===o-1&&i.getDate()===r};function d1(e){const o=/^\s*(\d{1,2})\.(\d{1,2})\.(\d{4})\s*$/.exec(e);if(!o)return null;const r=+o[1],i=+o[2],s=+o[3];return zA(s,i,r)?`${s}-${s1(i)}-${s1(r)}`:null}function jA(e){return e instanceof HTMLElement&&e.tagName==="KOL-INPUT-DATE"}async function SA(e,o){typeof e.setIsoValue=="function"?await e.setIsoValue(o):typeof e.value<"u"?e.value=o:typeof e._value<"u"?e._value=o:e.setAttribute("_value",o),e.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),e.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}const TA=()=>{const[e,o]=z.useState("31.12.2025"),[r,i]=z.useState(""),s=z.useRef(null),d=z.useMemo(()=>d1(e),[e]);z.useEffect(()=>{const h=new AbortController,p=v=>{const g=v.composedPath?.()??[];s.current=g.find(jA)??null};return document.addEventListener("focusin",p,{capture:!0,signal:h.signal}),()=>h.abort()},[]),z.useEffect(()=>{const h=new AbortController,p=v=>{const g=s.current;if(!g)return;const k=v.clipboardData?.getData("text")??"",S=d1(k);if(!S){i("Clipboard: unrecognized date. Use DD.MM.YYYY.");return}v.preventDefault(),SA(g,S),i("Pasted.")};return document.addEventListener("paste",p,{capture:!0,signal:h.signal}),()=>h.abort()},[]);const u=z.useCallback(async h=>{i("");try{await navigator.clipboard.writeText(h),i("Copied.")}catch{i("Copy failed. Your browser may block clipboard access.")}},[]),m=z.useCallback((h,p)=>{if(h?.target){const v=typeof p=="string"?p:String(p??"");o(v)}},[]);return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["Type a date in German format (",a.jsx("code",{children:"DD.MM.YYYY"}),"), click ",a.jsx("em",{children:"Copy to Clipboard"}),", then paste it into the date field below with ",a.jsx("kbd",{children:"Ctrl"}),"+",a.jsx("kbd",{children:"V"}),". The ISO conversion happens internally."]})}),a.jsxs("div",{className:"grid gap-8",lang:"en",children:[a.jsxs("section",{"aria-labelledby":"de-title",children:[a.jsx("h3",{id:"de-title",className:"text-lg font-semibold mb-2",children:"German date (DD.MM.YYYY)"}),a.jsxs("div",{className:"grid gap-3",children:[a.jsx(Be,{className:"w-full",_label:"German date (DD.MM.YYYY)",_placeholder:"e.g., 31.12.2025",_value:e,_type:"text",_on:{onInput:m,onChange:m}}),a.jsx("small",{className:"opacity-80",children:"Click the button to copy the exact German date, then paste it into the date field below."}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(Q,{_label:"Copy to Clipboard",_on:{onClick:()=>u(e)}}),!d&&a.jsx("span",{className:"text-red-600",children:"Invalid date"})]}),a.jsx(Ie,{_type:"date",_label:"Date (paste here with Ctrl+V)",className:"w-full"})]})]}),a.jsx("p",{"aria-live":"polite",role:"status",className:"mt-2 opacity-80",children:r})]})]})},AA=()=>{const e=z.useRef(null);return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample demonstrates the KolInputDate ",a.jsx("code",{children:"reset"}),"-Method, which can be used to clear the field, even when it holds incomplete or invalid values."]})}),a.jsx(Ie,{className:"w-full",ref:e,_label:"Resettable Input Date",_value:"2024-02-10"}),a.jsx(Q,{className:"mt",_label:"Reset",_on:{onClick:()=>e.current?.reset()}})]})},CA=["default","error","info","success","warning"];function Wu(e){return{onChange:()=>e(o=>!o)}}const EA=()=>{const[e,o]=z.useState(!0),[r,i]=z.useState(!0),[s,d]=z.useState(!1),u=Wu(o),m=Wu(i),h=Wu(d);return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This example shows how messages work in input fields."})}),a.jsxs("div",{className:"flex gap-4 flex-col",children:[a.jsxs("div",{className:"flex gap-4 items-center",children:[a.jsx(rn,{_label:"Toggle Msg",_on:u,_checked:e,_variant:"button"}),a.jsx(rn,{_label:"Toggle Touched",_on:m,_checked:r,_variant:"button"}),a.jsx(rn,{_label:"Toggle Hide Msg",_on:h,_checked:s,_variant:"button"})]}),a.jsxs("pre",{children:["Message exists: ",e?"Yes":"No"," (showMsg: ",e?"Yes":"No",")",a.jsx("br",{}),"Non-Error-Message visible: ",e&&!s?"Yes":"No"," (showMsg: ",e?"Yes":"No",", hideMsg: ",s?"Yes":"No",")",a.jsx("br",{}),"Error-Message visible: ",e&&r&&!s?"Yes":"No"," (showMsg: ",e?"Yes":"No",", isTouched: ",r?"Yes":"No",", hideMsg: ",s?"Yes":"No",")"]}),CA.map(p=>a.jsx(Ie,{_hideMsg:s,_label:`Date (_msg, ${p})`,_msg:e?{_description:`${p} message`,_type:p}:void 0,_touched:r},p))]})]})},LA={"input-date":{basic:wA,"copy-paste":TA,reset:AA,"show-hide-msg":EA}},f1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(Pn,{...o,_required:!0,_value:"test@mail.de",_msg:{_type:"error",_description:Fe},_label:"E-Mail (Black background test)"})}),a.jsx(Pn,{...o,ref:r,_accessKey:"M",_placeholder:"elke@mustermann.de",_suggestions:"['test1@mail.de', 'test2@mail.de', 'test3@mail.de']",_label:"E-Mail (list)",_hint:xo,_msg:{_type:"error",_description:Fe},_touched:!0,_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}}}),a.jsx(Pn,{...o,_msg:{_type:"info",_description:"Just a hint"},_label:"E-Mail"}),a.jsx(Pn,{...o,_msg:{_type:"warning",_description:"Small warning"},_label:"E-Mail"}),a.jsx(Pn,{...o,_msg:{_type:"success",_description:"Success message"},_label:"E-Mail"}),a.jsx(Pn,{...o,_disabled:!0,_value:"test@mail.de",_label:"E-Mail (Disabled)"}),a.jsx(Pn,{...o,_readOnly:!0,_value:"test@mail.de",_label:"E-Mail (Readonly)"}),a.jsx(Pn,{...o,_value:"test@mail.de",_label:"With access key",_accessKey:"c"}),a.jsx(Pn,{...o,_value:"test@mail.de",_label:"With short key",_shortKey:"s"})]})}),BA=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Email"}),a.jsx(f1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Email (hideLabel)"}),a.jsx(f1,{ref:r,...o,_hideLabel:!0})]})]})}),NA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolInputEmail renders an email input field. The sample shows KolInputEmail in a form context with all variations and states."})}),a.jsx(go,{RefComponent:BA,showButtons:!1})]}),RA={"input-email":{basic:NA}},u1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(Rn,{...o,_label:"Upload file (Black background test)",_icons:{left:{icon:"codicon codicon-save"}},_touched:!0})}),a.jsx(Rn,{...o,_required:!0,_hint:xo,_msg:{_type:"error",_description:Fe},_label:"Upload file (Black background test)",_icons:{left:{icon:"codicon codicon-save"}},_touched:!0}),a.jsx(Rn,{...o,_msg:{_type:"info",_description:"Just a hint"},_label:"Upload file"}),a.jsx(Rn,{...o,_msg:{_type:"warning",_description:"Small warning"},_label:"Upload file"}),a.jsx(Rn,{...o,_msg:{_type:"success",_description:"Success message"},_label:"Upload file"}),a.jsx(Rn,{...o,ref:r,_accessKey:"h",_multiple:!0,_msg:{_type:"error",_description:Fe},_label:"Upload file (Multiple)"}),a.jsx(Rn,{...o,_disabled:!0,_label:"Upload file (Disabled)"}),a.jsx(Rn,{...o,_label:"With access key",_accessKey:"c"}),a.jsx(Rn,{...o,_label:"With short key",_shortKey:"s"})]})}),DA=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"File"}),a.jsx(u1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"File (hideLabel)"}),a.jsx(u1,{ref:r,...o,_hideLabel:!0})]})]})}),OA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolInputFile renders a file input field. The sample shows KolInputFile in a form context with all variations and states."})}),a.jsx(go,{RefComponent:DA,showButtons:!1})]}),$A={"input-file":{basic:OA}},b1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsxs("div",{className:"black-background",children:[a.jsx(jn,{...o,_required:!0,_touched:!0,_value:123,_label:"Number input (Black background test)"})," "]}),a.jsx(jn,{...o,_required:!0,_msg:{_type:"error",_description:Fe},_touched:!0,_placeholder:"Mit Icons",_label:"Number input",_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}}}),a.jsx(jn,{...o,_required:!0,_msg:{_type:"error",_description:Fe},_touched:!0,_value:123,_label:"Number input"}),a.jsx(jn,{...o,_required:!0,_msg:{_type:"warning",_description:Fe},_touched:!0,_value:123,_label:"Number input"}),a.jsx(jn,{...o,_required:!0,_msg:{_type:"info",_description:Fe},_touched:!0,_value:123,_label:"Number input"}),a.jsx(jn,{...o,_required:!0,_msg:{_type:"success",_description:Fe},_touched:!0,_value:123,_label:"Number input"}),a.jsx(jn,{...o,ref:r,_accessKey:"Z",_max:10,_min:-10,_step:2,_label:"Number input (-10 to 10 in steps of 2)"}),a.jsx(jn,{...o,_readOnly:!0,_label:"Number input (Readonly)"}),a.jsx(jn,{...o,_disabled:!0,_label:"Number input (Disabled)"}),a.jsx(jn,{...o,_label:"With access key",_accessKey:"c"}),a.jsx(jn,{...o,_label:"With short key",_shortKey:"s"})]})}),MA=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Number"}),a.jsx(b1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Number (hideLabel)"}),a.jsx(b1,{ref:r,...o,_hideLabel:!0})]})]})}),UA=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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."})}),a.jsx(go,{RefComponent:MA,showButtons:!1})]});var Zi=e=>e.type==="checkbox",ba=e=>e instanceof Date,Do=e=>e==null;const q0=e=>typeof e=="object";var Yn=e=>!Do(e)&&!Array.isArray(e)&&q0(e)&&!ba(e),Z0=e=>Yn(e)&&e.target?Zi(e.target)?e.target.checked:e.target.value:e,FA=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,P0=(e,o)=>e.has(FA(o)),IA=e=>{const o=e.constructor&&e.constructor.prototype;return Yn(o)&&o.hasOwnProperty("isPrototypeOf")},jm=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Jn(e){let o;const r=Array.isArray(e),i=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)o=new Date(e);else if(!(jm&&(e instanceof Blob||i))&&(r||Yn(e)))if(o=r?[]:Object.create(Object.getPrototypeOf(e)),!r&&!IA(e))o=e;else for(const s in e)e.hasOwnProperty(s)&&(o[s]=Jn(e[s]));else return e;return o}var Ws=e=>/^\w*$/.test(e),Dn=e=>e===void 0,Sm=e=>Array.isArray(e)?e.filter(Boolean):[],Tm=e=>Sm(e.replace(/["|']|\]/g,"").split(/\.|\[/)),de=(e,o,r)=>{if(!o||!Yn(e))return r;const i=(Ws(o)?[o]:Tm(o)).reduce((s,d)=>Do(s)?s:s[d],e);return Dn(i)||i===e?Dn(e[o])?r:e[o]:i},Go=e=>typeof e=="boolean",fn=(e,o,r)=>{let i=-1;const s=Ws(o)?[o]:Tm(o),d=s.length,u=d-1;for(;++i<d;){const m=s[i];let h=r;if(i!==u){const p=e[m];h=Yn(p)||Array.isArray(p)?p:isNaN(+s[i+1])?{}:[]}if(m==="__proto__"||m==="constructor"||m==="prototype")return;e[m]=h,e=e[m]}};const Us={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},_t={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Xt={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},G0=ce.createContext(null);G0.displayName="HookFormContext";const Am=()=>ce.useContext(G0);var Y0=(e,o,r,i=!0)=>{const s={defaultValues:o._defaultValues};for(const d in e)Object.defineProperty(s,d,{get:()=>{const u=d;return o._proxyFormState[u]!==_t.all&&(o._proxyFormState[u]=!i||_t.all),r&&(r[u]=!0),e[u]}});return s};const Cm=typeof window<"u"?ce.useLayoutEffect:ce.useEffect;function HA(e){const o=Am(),{control:r=o.control,disabled:i,name:s,exact:d}=e||{},[u,m]=ce.useState(r._formState),h=ce.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Cm(()=>r._subscribe({name:s,formState:h.current,exact:d,callback:p=>{!i&&m({...r._formState,...p})}}),[s,i,d]),ce.useEffect(()=>{h.current.isValid&&r._setValid(!0)},[r]),ce.useMemo(()=>Y0(u,r,h.current,!1),[u,r])}var Qo=e=>typeof e=="string",Ub=(e,o,r,i,s)=>Qo(e)?(i&&o.watch.add(e),de(r,e,s)):Array.isArray(e)?e.map(d=>(i&&o.watch.add(d),de(r,d))):(i&&(o.watchAll=!0),r),Fb=e=>Do(e)||!q0(e);function vt(e,o,r=new WeakSet){if(Fb(e)||Fb(o))return Object.is(e,o);if(ba(e)&&ba(o))return e.getTime()===o.getTime();const i=Object.keys(e),s=Object.keys(o);if(i.length!==s.length)return!1;if(r.has(e)||r.has(o))return!0;r.add(e),r.add(o);for(const d of i){const u=e[d];if(!s.includes(d))return!1;if(d!=="ref"){const m=o[d];if(ba(u)&&ba(m)||Yn(u)&&Yn(m)||Array.isArray(u)&&Array.isArray(m)?!vt(u,m,r):!Object.is(u,m))return!1}}return!0}function KA(e){const o=Am(),{control:r=o.control,name:i,defaultValue:s,disabled:d,exact:u,compute:m}=e||{},h=ce.useRef(s),p=ce.useRef(m),v=ce.useRef(void 0),g=ce.useRef(r),k=ce.useRef(i);p.current=m;const[S,B]=ce.useState(()=>{const R=r._getWatch(i,h.current);return p.current?p.current(R):R}),T=ce.useCallback(R=>{const M=Ub(i,r._names,R||r._formValues,!1,h.current);return p.current?p.current(M):M},[r._formValues,r._names,i]),N=ce.useCallback(R=>{if(!d){const M=Ub(i,r._names,R||r._formValues,!1,h.current);if(p.current){const H=p.current(M);vt(H,v.current)||(B(H),v.current=H)}else B(M)}},[r._formValues,r._names,d,i]);Cm(()=>((g.current!==r||!vt(k.current,i))&&(g.current=r,k.current=i,N()),r._subscribe({name:i,formState:{values:!0},exact:u,callback:R=>{N(R.values)}})),[r,u,i,N]),ce.useEffect(()=>r._removeUnmounted());const E=g.current!==r,y=k.current,w=ce.useMemo(()=>{if(d)return null;const R=!E&&!vt(y,i);return E||R?T():null},[d,E,i,y,T]);return w!==null?w:S}function VA(e){const o=Am(),{name:r,disabled:i,control:s=o.control,shouldUnregister:d,defaultValue:u,exact:m=!0}=e,h=P0(s._names.array,r),p=ce.useMemo(()=>de(s._formValues,r,de(s._defaultValues,r,u)),[s,r,u]),v=KA({control:s,name:r,defaultValue:p,exact:m}),g=HA({control:s,name:r,exact:m}),k=ce.useRef(e),S=ce.useRef(void 0),B=ce.useRef(s.register(r,{...e.rules,value:v,...Go(e.disabled)?{disabled:e.disabled}:{}}));k.current=e;const T=ce.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!de(g.errors,r)},isDirty:{enumerable:!0,get:()=>!!de(g.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!de(g.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!de(g.validatingFields,r)},error:{enumerable:!0,get:()=>de(g.errors,r)}}),[g,r]),N=ce.useCallback(R=>B.current.onChange({target:{value:Z0(R),name:r},type:Us.CHANGE}),[r]),E=ce.useCallback(()=>B.current.onBlur({target:{value:de(s._formValues,r),name:r},type:Us.BLUR}),[r,s._formValues]),y=ce.useCallback(R=>{const M=de(s._fields,r);M&&R&&(M._f.ref={focus:()=>R.focus&&R.focus(),select:()=>R.select&&R.select(),setCustomValidity:H=>R.setCustomValidity(H),reportValidity:()=>R.reportValidity()})},[s._fields,r]),w=ce.useMemo(()=>({name:r,value:v,...Go(i)||g.disabled?{disabled:g.disabled||i}:{},onChange:N,onBlur:E,ref:y}),[r,i,g.disabled,N,E,y,v]);return ce.useEffect(()=>{const R=s._options.shouldUnregister||d,M=S.current;M&&M!==r&&!h&&s.unregister(M),s.register(r,{...k.current.rules,...Go(k.current.disabled)?{disabled:k.current.disabled}:{}});const H=(Z,te)=>{const le=de(s._fields,Z);le&&le._f&&(le._f.mount=te)};if(H(r,!0),R){const Z=Jn(de(s._options.defaultValues,r,k.current.defaultValue));fn(s._defaultValues,r,Z),Dn(de(s._formValues,r))&&fn(s._formValues,r,Z)}return!h&&s.register(r),S.current=r,()=>{(h?R&&!s._state.action:R)?s.unregister(r):H(r,!1)}},[r,s,h,d]),ce.useEffect(()=>{s._setDisabledField({disabled:i,name:r})},[i,r,s]),ce.useMemo(()=>({field:w,formState:g,fieldState:T}),[w,g,T])}const X0=e=>e.render(VA(e));var Em=(e,o,r,i,s)=>o?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[i]:s||!0}}:{},Ni=e=>Array.isArray(e)?e:[e],m1=()=>{let e=[];return{get observers(){return e},next:s=>{for(const d of e)d.next&&d.next(s)},subscribe:s=>(e.push(s),{unsubscribe:()=>{e=e.filter(d=>d!==s)}}),unsubscribe:()=>{e=[]}}};function Q0(e,o){const r={};for(const i in e)if(e.hasOwnProperty(i)){const s=e[i],d=o[i];if(s&&Yn(s)&&d){const u=Q0(s,d);Yn(u)&&(r[i]=u)}else e[i]&&(r[i]=d)}return r}var yo=e=>Yn(e)&&!Object.keys(e).length,Lm=e=>e.type==="file",gt=e=>typeof e=="function",Fs=e=>{if(!jm)return!1;const o=e?e.ownerDocument:0;return e instanceof(o&&o.defaultView?o.defaultView.HTMLElement:HTMLElement)},J0=e=>e.type==="select-multiple",Bm=e=>e.type==="radio",qA=e=>Bm(e)||Zi(e),eb=e=>Fs(e)&&e.isConnected;function ZA(e,o){const r=o.slice(0,-1).length;let i=0;for(;i<r;)e=Dn(e)?i++:e[o[i++]];return e}function PA(e){for(const o in e)if(e.hasOwnProperty(o)&&!Dn(e[o]))return!1;return!0}function qn(e,o){const r=Array.isArray(o)?o:Ws(o)?[o]:Tm(o),i=r.length===1?e:ZA(e,r),s=r.length-1,d=r[s];return i&&delete i[d],s!==0&&(Yn(i)&&yo(i)||Array.isArray(i)&&PA(i))&&qn(e,r.slice(0,-1)),e}var GA=e=>{for(const o in e)if(gt(e[o]))return!0;return!1};function W0(e){return Array.isArray(e)||Yn(e)&&!GA(e)}function Ib(e,o={}){for(const r in e){const i=e[r];W0(i)?(o[r]=Array.isArray(i)?[]:{},Ib(i,o[r])):Dn(i)||(o[r]=!0)}return o}function hl(e,o,r){r||(r=Ib(o));for(const i in e){const s=e[i];if(W0(s))Dn(o)||Fb(r[i])?r[i]=Ib(s,Array.isArray(s)?[]:{}):hl(s,Do(o)?{}:o[i],r[i]);else{const d=o[i];r[i]=!vt(s,d)}}return r}const h1={value:!1,isValid:!1},p1={value:!0,isValid:!0};var ex=e=>{if(Array.isArray(e)){if(e.length>1){const o=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:o,isValid:!!o.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Dn(e[0].attributes.value)?Dn(e[0].value)||e[0].value===""?p1:{value:e[0].value,isValid:!0}:p1:h1}return h1},nx=(e,{valueAsNumber:o,valueAsDate:r,setValueAs:i})=>Dn(e)?e:o?e===""?NaN:e&&+e:r&&Qo(e)?new Date(e):i?i(e):e;const _1={isValid:!1,value:null};var ox=e=>Array.isArray(e)?e.reduce((o,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:o,_1):_1;function v1(e){const o=e.ref;return Lm(o)?o.files:Bm(o)?ox(e.refs).value:J0(o)?[...o.selectedOptions].map(({value:r})=>r):Zi(o)?ex(e.refs).value:nx(Dn(o.value)?e.ref.value:o.value,e)}var YA=(e,o,r,i)=>{const s={};for(const d of e){const u=de(o,d);u&&fn(s,d,u._f)}return{criteriaMode:r,names:[...e],fields:s,shouldUseNativeValidation:i}},Is=e=>e instanceof RegExp,Ti=e=>Dn(e)?e:Is(e)?e.source:Yn(e)?Is(e.value)?e.value.source:e.value:e,g1=e=>({isOnSubmit:!e||e===_t.onSubmit,isOnBlur:e===_t.onBlur,isOnChange:e===_t.onChange,isOnAll:e===_t.all,isOnTouch:e===_t.onTouched});const k1="AsyncFunction";var XA=e=>!!e&&!!e.validate&&!!(gt(e.validate)&&e.validate.constructor.name===k1||Yn(e.validate)&&Object.values(e.validate).find(o=>o.constructor.name===k1)),QA=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),y1=(e,o,r)=>!r&&(o.watchAll||o.watch.has(e)||[...o.watch].some(i=>e.startsWith(i)&&/^\.\w+/.test(e.slice(i.length))));const Ri=(e,o,r,i)=>{for(const s of r||Object.keys(e)){const d=de(e,s);if(d){const{_f:u,...m}=d;if(u){if(u.refs&&u.refs[0]&&o(u.refs[0],s)&&!i)return!0;if(u.ref&&o(u.ref,u.name)&&!i)return!0;if(Ri(m,o))break}else if(Yn(m)&&Ri(m,o))break}}};function x1(e,o,r){const i=de(e,r);if(i||Ws(r))return{error:i,name:r};const s=r.split(".");for(;s.length;){const d=s.join("."),u=de(o,d),m=de(e,d);if(u&&!Array.isArray(u)&&r!==d)return{name:r};if(m&&m.type)return{name:d,error:m};if(m&&m.root&&m.root.type)return{name:`${d}.root`,error:m.root};s.pop()}return{name:r}}var JA=(e,o,r,i)=>{r(e);const{name:s,...d}=e;return yo(d)||Object.keys(d).length>=Object.keys(o).length||Object.keys(d).find(u=>o[u]===(!i||_t.all))},WA=(e,o,r)=>!e||!o||e===o||Ni(e).some(i=>i&&(r?i===o:i.startsWith(o)||o.startsWith(i))),e9=(e,o,r,i,s)=>s.isOnAll?!1:!r&&s.isOnTouch?!(o||e):(r?i.isOnBlur:s.isOnBlur)?!e:(r?i.isOnChange:s.isOnChange)?e:!0,n9=(e,o)=>!Sm(de(e,o)).length&&qn(e,o),o9=(e,o,r)=>{const i=Ni(de(e,r));return fn(i,"root",o[r]),fn(e,r,i),e};function w1(e,o,r="validate"){if(Qo(e)||Array.isArray(e)&&e.every(Qo)||Go(e)&&!e)return{type:r,message:Qo(e)?e:"",ref:o}}var bl=e=>Yn(e)&&!Is(e)?e:{value:e,message:""},z1=async(e,o,r,i,s,d)=>{const{ref:u,refs:m,required:h,maxLength:p,minLength:v,min:g,max:k,pattern:S,validate:B,name:T,valueAsNumber:N,mount:E}=e._f,y=de(r,T);if(!E||o.has(T))return{};const w=m?m[0]:u,R=re=>{s&&w.reportValidity&&(w.setCustomValidity(Go(re)?"":re||""),w.reportValidity())},M={},H=Bm(u),Z=Zi(u),te=H||Z,le=(N||Lm(u))&&Dn(u.value)&&Dn(y)||Fs(u)&&u.value===""||y===""||Array.isArray(y)&&!y.length,Me=Em.bind(null,T,i,M),ae=(re,we,Re,qe=Xt.maxLength,O=Xt.minLength)=>{const G=re?we:Re;M[T]={type:re?qe:O,message:G,ref:u,...Me(re?qe:O,G)}};if(d?!Array.isArray(y)||!y.length:h&&(!te&&(le||Do(y))||Go(y)&&!y||Z&&!ex(m).isValid||H&&!ox(m).isValid)){const{value:re,message:we}=Qo(h)?{value:!!h,message:h}:bl(h);if(re&&(M[T]={type:Xt.required,message:we,ref:w,...Me(Xt.required,we)},!i))return R(we),M}if(!le&&(!Do(g)||!Do(k))){let re,we;const Re=bl(k),qe=bl(g);if(!Do(y)&&!isNaN(y)){const O=u.valueAsNumber||y&&+y;Do(Re.value)||(re=O>Re.value),Do(qe.value)||(we=O<qe.value)}else{const O=u.valueAsDate||new Date(y),G=Te=>new Date(new Date().toDateString()+" "+Te),se=u.type=="time",ze=u.type=="week";Qo(Re.value)&&y&&(re=se?G(y)>G(Re.value):ze?y>Re.value:O>new Date(Re.value)),Qo(qe.value)&&y&&(we=se?G(y)<G(qe.value):ze?y<qe.value:O<new Date(qe.value))}if((re||we)&&(ae(!!re,Re.message,qe.message,Xt.max,Xt.min),!i))return R(M[T].message),M}if((p||v)&&!le&&(Qo(y)||d&&Array.isArray(y))){const re=bl(p),we=bl(v),Re=!Do(re.value)&&y.length>+re.value,qe=!Do(we.value)&&y.length<+we.value;if((Re||qe)&&(ae(Re,re.message,we.message),!i))return R(M[T].message),M}if(S&&!le&&Qo(y)){const{value:re,message:we}=bl(S);if(Is(re)&&!y.match(re)&&(M[T]={type:Xt.pattern,message:we,ref:u,...Me(Xt.pattern,we)},!i))return R(we),M}if(B){if(gt(B)){const re=await B(y,r),we=w1(re,w);if(we&&(M[T]={...we,...Me(Xt.validate,we.message)},!i))return R(we.message),M}else if(Yn(B)){let re={};for(const we in B){if(!yo(re)&&!i)break;const Re=w1(await B[we](y,r),w,we);Re&&(re={...Re,...Me(we,Re.message)},R(Re.message),i&&(M[T]=re))}if(!yo(re)&&(M[T]={ref:w,...re},!i))return M}}return R(!0),M};const t9={mode:_t.onSubmit,reValidateMode:_t.onChange,shouldFocusError:!0};function r9(e={}){let o={...t9,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:gt(o.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:o.errors||{},disabled:o.disabled||!1},i={},s=Yn(o.defaultValues)||Yn(o.values)?Jn(o.defaultValues||o.values)||{}:{},d=o.shouldUnregister?{}:Jn(s),u={action:!1,mount:!1,watch:!1},m={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},h,p=0;const v={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let g={...v};const k={array:m1(),state:m1()},S=o.criteriaMode===_t.all,B=j=>$=>{clearTimeout(p),p=setTimeout(j,$)},T=async j=>{if(!o.disabled&&(v.isValid||g.isValid||j)){const $=o.resolver?yo((await Z()).errors):await le(i,!0);$!==r.isValid&&k.state.next({isValid:$})}},N=(j,$)=>{!o.disabled&&(v.isValidating||v.validatingFields||g.isValidating||g.validatingFields)&&((j||Array.from(m.mount)).forEach(K=>{K&&($?fn(r.validatingFields,K,$):qn(r.validatingFields,K))}),k.state.next({validatingFields:r.validatingFields,isValidating:!yo(r.validatingFields)}))},E=(j,$=[],K,ne,ee=!0,oe=!0)=>{if(ne&&K&&!o.disabled){if(u.action=!0,oe&&Array.isArray(de(i,j))){const me=K(de(i,j),ne.argA,ne.argB);ee&&fn(i,j,me)}if(oe&&Array.isArray(de(r.errors,j))){const me=K(de(r.errors,j),ne.argA,ne.argB);ee&&fn(r.errors,j,me),n9(r.errors,j)}if((v.touchedFields||g.touchedFields)&&oe&&Array.isArray(de(r.touchedFields,j))){const me=K(de(r.touchedFields,j),ne.argA,ne.argB);ee&&fn(r.touchedFields,j,me)}(v.dirtyFields||g.dirtyFields)&&(r.dirtyFields=hl(s,d)),k.state.next({name:j,isDirty:ae(j,$),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else fn(d,j,$)},y=(j,$)=>{fn(r.errors,j,$),k.state.next({errors:r.errors})},w=j=>{r.errors=j,k.state.next({errors:r.errors,isValid:!1})},R=(j,$,K,ne)=>{const ee=de(i,j);if(ee){const oe=de(d,j,Dn(K)?de(s,j):K);Dn(oe)||ne&&ne.defaultChecked||$?fn(d,j,$?oe:v1(ee._f)):Re(j,oe),u.mount&&!u.action&&T()}},M=(j,$,K,ne,ee)=>{let oe=!1,me=!1;const Ye={name:j};if(!o.disabled){if(!K||ne){(v.isDirty||g.isDirty)&&(me=r.isDirty,r.isDirty=Ye.isDirty=ae(),oe=me!==Ye.isDirty);const ln=vt(de(s,j),$);me=!!de(r.dirtyFields,j),ln?qn(r.dirtyFields,j):fn(r.dirtyFields,j,!0),Ye.dirtyFields=r.dirtyFields,oe=oe||(v.dirtyFields||g.dirtyFields)&&me!==!ln}if(K){const ln=de(r.touchedFields,j);ln||(fn(r.touchedFields,j,K),Ye.touchedFields=r.touchedFields,oe=oe||(v.touchedFields||g.touchedFields)&&ln!==K)}oe&&ee&&k.state.next(Ye)}return oe?Ye:{}},H=(j,$,K,ne)=>{const ee=de(r.errors,j),oe=(v.isValid||g.isValid)&&Go($)&&r.isValid!==$;if(o.delayError&&K?(h=B(()=>y(j,K)),h(o.delayError)):(clearTimeout(p),h=null,K?fn(r.errors,j,K):qn(r.errors,j)),(K?!vt(ee,K):ee)||!yo(ne)||oe){const me={...ne,...oe&&Go($)?{isValid:$}:{},errors:r.errors,name:j};r={...r,...me},k.state.next(me)}},Z=async j=>{N(j,!0);const $=await o.resolver(d,o.context,YA(j||m.mount,i,o.criteriaMode,o.shouldUseNativeValidation));return N(j),$},te=async j=>{const{errors:$}=await Z(j);if(j)for(const K of j){const ne=de($,K);ne?fn(r.errors,K,ne):qn(r.errors,K)}else r.errors=$;return $},le=async(j,$,K={valid:!0})=>{for(const ne in j){const ee=j[ne];if(ee){const{_f:oe,...me}=ee;if(oe){const Ye=m.array.has(oe.name),ln=ee._f&&XA(ee._f);ln&&v.validatingFields&&N([oe.name],!0);const jo=await z1(ee,m.disabled,d,S,o.shouldUseNativeValidation&&!$,Ye);if(ln&&v.validatingFields&&N([oe.name]),jo[oe.name]&&(K.valid=!1,$))break;!$&&(de(jo,oe.name)?Ye?o9(r.errors,jo,oe.name):fn(r.errors,oe.name,jo[oe.name]):qn(r.errors,oe.name))}!yo(me)&&await le(me,$,K)}}return K.valid},Me=()=>{for(const j of m.unMount){const $=de(i,j);$&&($._f.refs?$._f.refs.every(K=>!eb(K)):!eb($._f.ref))&&He(j)}m.unMount=new Set},ae=(j,$)=>!o.disabled&&(j&&$&&fn(d,j,$),!vt(Te(),s)),re=(j,$,K)=>Ub(j,m,{...u.mount?d:Dn($)?s:Qo(j)?{[j]:$}:$},K,$),we=j=>Sm(de(u.mount?d:s,j,o.shouldUnregister?de(s,j,[]):[])),Re=(j,$,K={})=>{const ne=de(i,j);let ee=$;if(ne){const oe=ne._f;oe&&(!oe.disabled&&fn(d,j,nx($,oe)),ee=Fs(oe.ref)&&Do($)?"":$,J0(oe.ref)?[...oe.ref.options].forEach(me=>me.selected=ee.includes(me.value)):oe.refs?Zi(oe.ref)?oe.refs.forEach(me=>{(!me.defaultChecked||!me.disabled)&&(Array.isArray(ee)?me.checked=!!ee.find(Ye=>Ye===me.value):me.checked=ee===me.value||!!ee)}):oe.refs.forEach(me=>me.checked=me.value===ee):Lm(oe.ref)?oe.ref.value="":(oe.ref.value=ee,oe.ref.type||k.state.next({name:j,values:Jn(d)})))}(K.shouldDirty||K.shouldTouch)&&M(j,ee,K.shouldTouch,K.shouldDirty,!0),K.shouldValidate&&ze(j)},qe=(j,$,K)=>{for(const ne in $){if(!$.hasOwnProperty(ne))return;const ee=$[ne],oe=j+"."+ne,me=de(i,oe);(m.array.has(j)||Yn(ee)||me&&!me._f)&&!ba(ee)?qe(oe,ee,K):Re(oe,ee,K)}},O=(j,$,K={})=>{const ne=de(i,j),ee=m.array.has(j),oe=Jn($);fn(d,j,oe),ee?(k.array.next({name:j,values:Jn(d)}),(v.isDirty||v.dirtyFields||g.isDirty||g.dirtyFields)&&K.shouldDirty&&k.state.next({name:j,dirtyFields:hl(s,d),isDirty:ae(j,oe)})):ne&&!ne._f&&!Do(oe)?qe(j,oe,K):Re(j,oe,K),y1(j,m)&&k.state.next({...r,name:j}),k.state.next({name:u.mount?j:void 0,values:Jn(d)})},G=async j=>{u.mount=!0;const $=j.target;let K=$.name,ne=!0;const ee=de(i,K),oe=ln=>{ne=Number.isNaN(ln)||ba(ln)&&isNaN(ln.getTime())||vt(ln,de(d,K,ln))},me=g1(o.mode),Ye=g1(o.reValidateMode);if(ee){let ln,jo;const Vr=$.type?v1(ee._f):Z0(j),xt=j.type===Us.BLUR||j.type===Us.FOCUS_OUT,dd=!QA(ee._f)&&!o.resolver&&!de(r.errors,K)&&!ee._f.deps||e9(xt,de(r.touchedFields,K),r.isSubmitted,Ye,me),Lt=y1(K,m,xt);fn(d,K,Vr),xt?(!$||!$.readOnly)&&(ee._f.onBlur&&ee._f.onBlur(j),h&&h(0)):ee._f.onChange&&ee._f.onChange(j);const to=M(K,Vr,xt),wt=!yo(to)||Lt;if(!xt&&k.state.next({name:K,type:j.type,values:Jn(d)}),dd)return(v.isValid||g.isValid)&&(o.mode==="onBlur"?xt&&T():xt||T()),wt&&k.state.next({name:K,...Lt?{}:to});if(!xt&&Lt&&k.state.next({...r}),o.resolver){const{errors:bo}=await Z([K]);if(oe(Vr),ne){const fd=x1(r.errors,i,K),Pi=x1(bo,i,fd.name||K);ln=Pi.error,K=Pi.name,jo=yo(bo)}}else N([K],!0),ln=(await z1(ee,m.disabled,d,S,o.shouldUseNativeValidation))[K],N([K]),oe(Vr),ne&&(ln?jo=!1:(v.isValid||g.isValid)&&(jo=await le(i,!0)));ne&&(ee._f.deps&&(!Array.isArray(ee._f.deps)||ee._f.deps.length>0)&&ze(ee._f.deps),H(K,jo,ln,to))}},se=(j,$)=>{if(de(r.errors,$)&&j.focus)return j.focus(),1},ze=async(j,$={})=>{let K,ne;const ee=Ni(j);if(o.resolver){const oe=await te(Dn(j)?j:ee);K=yo(oe),ne=j?!ee.some(me=>de(oe,me)):K}else j?(ne=(await Promise.all(ee.map(async oe=>{const me=de(i,oe);return await le(me&&me._f?{[oe]:me}:me)}))).every(Boolean),!(!ne&&!r.isValid)&&T()):ne=K=await le(i);return k.state.next({...!Qo(j)||(v.isValid||g.isValid)&&K!==r.isValid?{}:{name:j},...o.resolver||!j?{isValid:K}:{},errors:r.errors}),$.shouldFocus&&!ne&&Ri(i,se,j?ee:m.mount),ne},Te=(j,$)=>{let K={...u.mount?d:s};return $&&(K=Q0($.dirtyFields?r.dirtyFields:r.touchedFields,K)),Dn(j)?K:Qo(j)?de(K,j):j.map(ne=>de(K,ne))},C=(j,$)=>({invalid:!!de(($||r).errors,j),isDirty:!!de(($||r).dirtyFields,j),error:de(($||r).errors,j),isValidating:!!de(r.validatingFields,j),isTouched:!!de(($||r).touchedFields,j)}),P=j=>{j&&Ni(j).forEach($=>qn(r.errors,$)),k.state.next({errors:j?r.errors:{}})},ie=(j,$,K)=>{const ne=(de(i,j,{_f:{}})._f||{}).ref,ee=de(r.errors,j)||{},{ref:oe,message:me,type:Ye,...ln}=ee;fn(r.errors,j,{...ln,...$,ref:ne}),k.state.next({name:j,errors:r.errors,isValid:!1}),K&&K.shouldFocus&&ne&&ne.focus&&ne.focus()},ue=(j,$)=>gt(j)?k.state.subscribe({next:K=>"values"in K&&j(re(void 0,$),K)}):re(j,$,!0),Ae=j=>k.state.subscribe({next:$=>{WA(j.name,$.name,j.exact)&&JA($,j.formState||v,he,j.reRenderRoot)&&j.callback({values:{...d},...r,...$,defaultValues:s})}}).unsubscribe,De=j=>(u.mount=!0,g={...g,...j.formState},Ae({...j,formState:g})),He=(j,$={})=>{for(const K of j?Ni(j):m.mount)m.mount.delete(K),m.array.delete(K),$.keepValue||(qn(i,K),qn(d,K)),!$.keepError&&qn(r.errors,K),!$.keepDirty&&qn(r.dirtyFields,K),!$.keepTouched&&qn(r.touchedFields,K),!$.keepIsValidating&&qn(r.validatingFields,K),!o.shouldUnregister&&!$.keepDefaultValue&&qn(s,K);k.state.next({values:Jn(d)}),k.state.next({...r,...$.keepDirty?{isDirty:ae()}:{}}),!$.keepIsValid&&T()},Ln=({disabled:j,name:$})=>{(Go(j)&&u.mount||j||m.disabled.has($))&&(j?m.disabled.add($):m.disabled.delete($))},_n=(j,$={})=>{let K=de(i,j);const ne=Go($.disabled)||Go(o.disabled);return fn(i,j,{...K||{},_f:{...K&&K._f?K._f:{ref:{name:j}},name:j,mount:!0,...$}}),m.mount.add(j),K?Ln({disabled:Go($.disabled)?$.disabled:o.disabled,name:j}):R(j,!0,$.value),{...ne?{disabled:$.disabled||o.disabled}:{},...o.progressive?{required:!!$.required,min:Ti($.min),max:Ti($.max),minLength:Ti($.minLength),maxLength:Ti($.maxLength),pattern:Ti($.pattern)}:{},name:j,onChange:G,onBlur:G,ref:ee=>{if(ee){_n(j,$),K=de(i,j);const oe=Dn(ee.value)&&ee.querySelectorAll&&ee.querySelectorAll("input,select,textarea")[0]||ee,me=qA(oe),Ye=K._f.refs||[];if(me?Ye.find(ln=>ln===oe):oe===K._f.ref)return;fn(i,j,{_f:{...K._f,...me?{refs:[...Ye.filter(eb),oe,...Array.isArray(de(s,j))?[{}]:[]],ref:{type:oe.type,name:j}}:{ref:oe}}}),R(j,!1,void 0,oe)}else K=de(i,j,{}),K._f&&(K._f.mount=!1),(o.shouldUnregister||$.shouldUnregister)&&!(P0(m.array,j)&&u.action)&&m.unMount.add(j)}}},bt=()=>o.shouldFocusError&&Ri(i,se,m.mount),cr=j=>{Go(j)&&(k.state.next({disabled:j}),Ri(i,($,K)=>{const ne=de(i,K);ne&&($.disabled=ne._f.disabled||j,Array.isArray(ne._f.refs)&&ne._f.refs.forEach(ee=>{ee.disabled=ne._f.disabled||j}))},0,!1))},sr=(j,$)=>async K=>{let ne;K&&(K.preventDefault&&K.preventDefault(),K.persist&&K.persist());let ee=Jn(d);if(k.state.next({isSubmitting:!0}),o.resolver){const{errors:oe,values:me}=await Z();r.errors=oe,ee=Jn(me)}else await le(i);if(m.disabled.size)for(const oe of m.disabled)qn(ee,oe);if(qn(r.errors,"root"),yo(r.errors)){k.state.next({errors:{}});try{await j(ee,K)}catch(oe){ne=oe}}else $&&await $({...r.errors},K),bt(),setTimeout(bt);if(k.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:yo(r.errors)&&!ne,submitCount:r.submitCount+1,errors:r.errors}),ne)throw ne},za=(j,$={})=>{de(i,j)&&(Dn($.defaultValue)?O(j,Jn(de(s,j))):(O(j,$.defaultValue),fn(s,j,Jn($.defaultValue))),$.keepTouched||qn(r.touchedFields,j),$.keepDirty||(qn(r.dirtyFields,j),r.isDirty=$.defaultValue?ae(j,Jn(de(s,j))):ae()),$.keepError||(qn(r.errors,j),v.isValid&&T()),k.state.next({...r}))},et=(j,$={})=>{const K=j?Jn(j):s,ne=Jn(K),ee=yo(j),oe=ee?s:ne;if($.keepDefaultValues||(s=K),!$.keepValues){if($.keepDirtyValues){const me=new Set([...m.mount,...Object.keys(hl(s,d))]);for(const Ye of Array.from(me))de(r.dirtyFields,Ye)?fn(oe,Ye,de(d,Ye)):O(Ye,de(oe,Ye))}else{if(jm&&Dn(j))for(const me of m.mount){const Ye=de(i,me);if(Ye&&Ye._f){const ln=Array.isArray(Ye._f.refs)?Ye._f.refs[0]:Ye._f.ref;if(Fs(ln)){const jo=ln.closest("form");if(jo){jo.reset();break}}}}if($.keepFieldsRef)for(const me of m.mount)O(me,de(oe,me));else i={}}d=o.shouldUnregister?$.keepDefaultValues?Jn(s):{}:Jn(oe),k.array.next({values:{...oe}}),k.state.next({values:{...oe}})}m={mount:$.keepDirtyValues?m.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},u.mount=!v.isValid||!!$.keepIsValid||!!$.keepDirtyValues||!o.shouldUnregister&&!yo(oe),u.watch=!!o.shouldUnregister,k.state.next({submitCount:$.keepSubmitCount?r.submitCount:0,isDirty:ee?!1:$.keepDirty?r.isDirty:!!($.keepDefaultValues&&!vt(j,s)),isSubmitted:$.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:ee?{}:$.keepDirtyValues?$.keepDefaultValues&&d?hl(s,d):r.dirtyFields:$.keepDefaultValues&&j?hl(s,j):$.keepDirty?r.dirtyFields:{},touchedFields:$.keepTouched?r.touchedFields:{},errors:$.keepErrors?r.errors:{},isSubmitSuccessful:$.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:s})},Et=(j,$)=>et(gt(j)?j(d):j,$),Kr=(j,$={})=>{const K=de(i,j),ne=K&&K._f;if(ne){const ee=ne.refs?ne.refs[0]:ne.ref;ee.focus&&(ee.focus(),$.shouldSelect&&gt(ee.select)&&ee.select())}},he=j=>{r={...r,...j}},Ne={control:{register:_n,unregister:He,getFieldState:C,handleSubmit:sr,setError:ie,_subscribe:Ae,_runSchema:Z,_focusError:bt,_getWatch:re,_getDirty:ae,_setValid:T,_setFieldArray:E,_setDisabledField:Ln,_setErrors:w,_getFieldArray:we,_reset:et,_resetDefaultValues:()=>gt(o.defaultValues)&&o.defaultValues().then(j=>{Et(j,o.resetOptions),k.state.next({isLoading:!1})}),_removeUnmounted:Me,_disableForm:cr,_subjects:k,_proxyFormState:v,get _fields(){return i},get _formValues(){return d},get _state(){return u},set _state(j){u=j},get _defaultValues(){return s},get _names(){return m},set _names(j){m=j},get _formState(){return r},get _options(){return o},set _options(j){o={...o,...j}}},subscribe:De,trigger:ze,register:_n,handleSubmit:sr,watch:ue,setValue:O,getValues:Te,reset:Et,resetField:za,clearErrors:P,unregister:He,setError:ie,setFocus:Kr,getFieldState:C};return{...Ne,formControl:Ne}}function ed(e={}){const o=ce.useRef(void 0),r=ce.useRef(void 0),[i,s]=ce.useState({isDirty:!1,isValidating:!1,isLoading:gt(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:gt(e.defaultValues)?void 0:e.defaultValues});if(!o.current)if(e.formControl)o.current={...e.formControl,formState:i},e.defaultValues&&!gt(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:u,...m}=r9(e);o.current={...m,formState:i}}const d=o.current.control;return d._options=e,Cm(()=>{const u=d._subscribe({formState:d._proxyFormState,callback:()=>s({...d._formState}),reRenderRoot:!0});return s(m=>({...m,isReady:!0})),d._formState.isReady=!0,u},[d]),ce.useEffect(()=>d._disableForm(e.disabled),[d,e.disabled]),ce.useEffect(()=>{e.mode&&(d._options.mode=e.mode),e.reValidateMode&&(d._options.reValidateMode=e.reValidateMode)},[d,e.mode,e.reValidateMode]),ce.useEffect(()=>{e.errors&&(d._setErrors(e.errors),d._focusError())},[d,e.errors]),ce.useEffect(()=>{e.shouldUnregister&&d._subjects.state.next({values:d._getWatch()})},[d,e.shouldUnregister]),ce.useEffect(()=>{if(d._proxyFormState.isDirty){const u=d._getDirty();u!==i.isDirty&&d._subjects.state.next({isDirty:u})}},[d,i.isDirty]),ce.useEffect(()=>{var u;e.values&&!vt(e.values,r.current)?(d._reset(e.values,{keepFieldsRef:!0,...d._options.resetOptions}),!((u=d._options.resetOptions)===null||u===void 0)&&u.keepIsValid||d._setValid(),r.current=e.values,s(m=>({...m}))):d._resetDefaultValues()},[d,e.values]),ce.useEffect(()=>{d._state.mount||(d._setValid(),d._state.mount=!0),d._state.watch&&(d._state.watch=!1,d._subjects.state.next({...d._formState})),d._removeUnmounted()}),o.current.formState=Y0(i,d),o.current}function tx(e,o){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&o.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(e);s<i.length;s++)o.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(e,i[s])&&(r[i[s]]=e[i[s]]);return r}var Ii;(function(e){e.event="event",e.props="prop"})(Ii||(Ii={}));function Or(){}function a9(e){var o,r=void 0;return function(){for(var i=[],s=arguments.length;s--;)i[s]=arguments[s];return o&&i.length===o.length&&i.every(function(d,u){return d===o[u]})||(o=i,r=e.apply(void 0,i)),r}}function Hi(e){return!!(e||"").match(/\d/)}function kl(e){return e==null}function l9(e){return typeof e=="number"&&isNaN(e)}function rx(e){return kl(e)||l9(e)||typeof e=="number"&&!isFinite(e)}function ax(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function i9(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function c9(e,o,r){var i=i9(r),s=e.search(/[1-9]/);return s=s===-1?e.length:s,e.substring(0,s)+e.substring(s,e.length).replace(i,"$1"+o)}function s9(e){var o=z.useRef(e);o.current=e;var r=z.useRef(function(){for(var i=[],s=arguments.length;s--;)i[s]=arguments[s];return o.current.apply(o,i)});return r.current}function Nm(e,o){o===void 0&&(o=!0);var r=e[0]==="-",i=r&&o;e=e.replace("-","");var s=e.split("."),d=s[0],u=s[1]||"";return{beforeDecimal:d,afterDecimal:u,hasNegation:r,addNegation:i}}function d9(e){if(!e)return e;var o=e[0]==="-";o&&(e=e.substring(1,e.length));var r=e.split("."),i=r[0].replace(/^0+/,"")||"0",s=r[1]||"";return(o?"-":"")+i+(s?"."+s:"")}function lx(e,o,r){for(var i="",s=r?"0":"",d=0;d<=o-1;d++)i+=e[d]||s;return i}function j1(e,o){return Array(o+1).join(e)}function ix(e){var o=e+"",r=o[0]==="-"?"-":"";r&&(o=o.substring(1));var i=o.split(/[eE]/g),s=i[0],d=i[1];if(d=Number(d),!d)return r+s;s=s.replace(".","");var u=1+d,m=s.length;return u<0?s="0."+j1("0",Math.abs(u))+s:u>=m?s=s+j1("0",u-m):s=(s.substring(0,u)||"0")+"."+s.substring(u),r+s}function S1(e,o,r){if(["","-"].indexOf(e)!==-1)return e;var i=(e.indexOf(".")!==-1||r)&&o,s=Nm(e),d=s.beforeDecimal,u=s.afterDecimal,m=s.hasNegation,h=parseFloat("0."+(u||"0")),p=u.length<=o?"0."+u:h.toFixed(o),v=p.split("."),g=d;d&&Number(v[0])&&(g=d.split("").reverse().reduce(function(T,N,E){return T.length>E?(Number(T[0])+Number(N)).toString()+T.substring(1,T.length):N+T},v[0]));var k=lx(v[1]||"",o,r),S=m?"-":"",B=i?".":"";return""+S+g+B+k}function fa(e,o){if(e.value=e.value,e!==null){if(e.createTextRange){var r=e.createTextRange();return r.move("character",o),r.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(o,o),!0):(e.focus(),!1)}}var cx=a9(function(e,o){for(var r=0,i=0,s=e.length,d=o.length;e[r]===o[r]&&r<s;)r++;for(;e[s-1-i]===o[d-1-i]&&d-i>r&&s-i>r;)i++;return{from:{start:r,end:s-i},to:{start:r,end:d-i}}}),f9=function(e,o){var r=Math.min(e.selectionStart,o);return{from:{start:r,end:e.selectionEnd},to:{start:r,end:o}}};function u9(e,o,r){return Math.min(Math.max(e,o),r)}function nb(e){return Math.max(e.selectionStart,e.selectionEnd)}function b9(){return typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function m9(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function h9(e){var o=e.currentValue,r=e.formattedValue,i=e.currentValueIndex,s=e.formattedValueIndex;return o[i]===r[s]}function p9(e,o,r,i,s,d,u){u===void 0&&(u=h9);var m=s.findIndex(function(R){return R}),h=e.slice(0,m);!o&&!r.startsWith(h)&&(o=h,r=h+r,i=i+h.length);for(var p=r.length,v=e.length,g={},k=new Array(p),S=0;S<p;S++){k[S]=-1;for(var B=0,T=v;B<T;B++){var N=u({currentValue:r,lastValue:o,formattedValue:e,currentValueIndex:S,formattedValueIndex:B});if(N&&g[B]!==!0){k[S]=B,g[B]=!0;break}}}for(var E=i;E<p&&(k[E]===-1||!d(r[E]));)E++;var y=E===p||k[E]===-1?v:k[E];for(E=i-1;E>0&&k[E]===-1;)E--;var w=E===-1||k[E]===-1?0:k[E]+1;return w>y?y:i-w<y-i?w:y}function T1(e,o,r,i){var s=e.length;if(o=u9(o,0,s),i==="left"){for(;o>=0&&!r[o];)o--;o===-1&&(o=r.indexOf(!0))}else{for(;o<=s&&!r[o];)o++;o>s&&(o=r.lastIndexOf(!0))}return o===-1&&(o=s),o}function _9(e){for(var o=Array.from({length:e.length+1}).map(function(){return!0}),r=0,i=o.length;r<i;r++)o[r]=!!(Hi(e[r])||Hi(e[r-1]));return o}function sx(e,o,r,i,s,d){d===void 0&&(d=Or);var u=s9(function(B,T){var N,E;return rx(B)?(E="",N=""):typeof B=="number"||T?(E=typeof B=="number"?ix(B):B,N=i(E)):(E=s(B,void 0),N=i(E)),{formattedValue:N,numAsString:E}}),m=z.useState(function(){return u(kl(e)?o:e,r)}),h=m[0],p=m[1],v=function(B,T){B.formattedValue!==h.formattedValue&&p({formattedValue:B.formattedValue,numAsString:B.value}),d(B,T)},g=e,k=r;kl(e)&&(g=h.numAsString,k=!0);var S=u(g,k);return z.useMemo(function(){p(S)},[S.formattedValue]),[h,v]}function v9(e){return e.replace(/[^0-9]/g,"")}function g9(e){return e}function k9(e){var o=e.type;o===void 0&&(o="text");var r=e.displayType;r===void 0&&(r="input");var i=e.customInput,s=e.renderText,d=e.getInputRef,u=e.format;u===void 0&&(u=g9);var m=e.removeFormatting;m===void 0&&(m=v9);var h=e.defaultValue,p=e.valueIsNumericString,v=e.onValueChange,g=e.isAllowed,k=e.onChange;k===void 0&&(k=Or);var S=e.onKeyDown;S===void 0&&(S=Or);var B=e.onMouseUp;B===void 0&&(B=Or);var T=e.onFocus;T===void 0&&(T=Or);var N=e.onBlur;N===void 0&&(N=Or);var E=e.value,y=e.getCaretBoundary;y===void 0&&(y=_9);var w=e.isValidInputCharacter;w===void 0&&(w=Hi);var R=e.isCharacterSame,M=tx(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),H=sx(E,h,!!p,u,m,v),Z=H[0],te=Z.formattedValue,le=Z.numAsString,Me=H[1],ae=z.useRef(),re=z.useRef({formattedValue:te,numAsString:le}),we=function(he,ge){re.current={formattedValue:he.formattedValue,numAsString:he.value},Me(he,ge)},Re=z.useState(!1),qe=Re[0],O=Re[1],G=z.useRef(null),se=z.useRef({setCaretTimeout:null,focusTimeout:null});z.useEffect(function(){return O(!0),function(){clearTimeout(se.current.setCaretTimeout),clearTimeout(se.current.focusTimeout)}},[]);var ze=u,Te=function(he,ge){var Ne=parseFloat(ge);return{formattedValue:he,value:ge,floatValue:isNaN(Ne)?void 0:Ne}},C=function(he,ge,Ne){he.selectionStart===0&&he.selectionEnd===he.value.length||(fa(he,ge),se.current.setCaretTimeout=setTimeout(function(){he.value===Ne&&he.selectionStart!==ge&&fa(he,ge)},0))},P=function(he,ge,Ne){return T1(he,ge,y(he),Ne)},ie=function(he,ge,Ne){var j=y(ge),$=p9(ge,te,he,Ne,j,w,R);return $=T1(ge,$,j),$},ue=function(he){var ge=he.formattedValue;ge===void 0&&(ge="");var Ne=he.input,j=he.source,$=he.event,K=he.numAsString,ne;if(Ne){var ee=he.inputValue||Ne.value,oe=nb(Ne);Ne.value=ge,ne=ie(ee,ge,oe),ne!==void 0&&C(Ne,ne,ge)}ge!==te&&we(Te(ge,K),{event:$,source:j})};z.useEffect(function(){var he=re.current,ge=he.formattedValue,Ne=he.numAsString;(te!==ge||le!==Ne)&&we(Te(te,le),{event:void 0,source:Ii.props})},[te,le]);var Ae=G.current?nb(G.current):void 0,De=typeof window<"u"?z.useLayoutEffect:z.useEffect;De(function(){var he=G.current;if(te!==re.current.formattedValue&&he){var ge=ie(re.current.formattedValue,te,Ae);he.value=te,C(he,ge,te)}},[te]);var He=function(he,ge,Ne){var j=ge.target,$=ae.current?f9(ae.current,j.selectionEnd):cx(te,he),K=Object.assign(Object.assign({},$),{lastValue:te}),ne=m(he,K),ee=ze(ne);if(ne=m(ee,void 0),g&&!g(Te(ee,ne))){var oe=ge.target,me=nb(oe),Ye=ie(he,te,me);return oe.value=te,C(oe,Ye,te),!1}return ue({formattedValue:ee,numAsString:ne,inputValue:he,event:ge,source:Ne,input:ge.target}),!0},Ln=function(he,ge){ge===void 0&&(ge=0);var Ne=he.selectionStart,j=he.selectionEnd;ae.current={selectionStart:Ne,selectionEnd:j+ge}},_n=function(he){var ge=he.target,Ne=ge.value,j=He(Ne,he,Ii.event);j&&k(he),ae.current=void 0},bt=function(he){var ge=he.target,Ne=he.key,j=ge.selectionStart,$=ge.selectionEnd,K=ge.value;K===void 0&&(K="");var ne;Ne==="ArrowLeft"||Ne==="Backspace"?ne=Math.max(j-1,0):Ne==="ArrowRight"?ne=Math.min(j+1,K.length):Ne==="Delete"&&(ne=j);var ee=0;Ne==="Delete"&&j===$&&(ee=1);var oe=Ne==="ArrowLeft"||Ne==="ArrowRight";if(ne===void 0||j!==$&&!oe){S(he),Ln(ge,ee);return}var me=ne;if(oe){var Ye=Ne==="ArrowLeft"?"left":"right";me=P(K,ne,Ye),me!==ne&&he.preventDefault()}else Ne==="Delete"&&!w(K[ne])?me=P(K,ne,"right"):Ne==="Backspace"&&!w(K[ne])&&(me=P(K,ne,"left"));me!==ne&&C(ge,me,K),S(he),Ln(ge,ee)},cr=function(he){var ge=he.target,Ne=function(){var j=ge.selectionStart,$=ge.selectionEnd,K=ge.value;if(K===void 0&&(K=""),j===$){var ne=P(K,j);ne!==j&&C(ge,ne,K)}};Ne(),requestAnimationFrame(function(){Ne()}),B(he),Ln(ge)},sr=function(he){he.persist&&he.persist();var ge=he.target,Ne=he.currentTarget;G.current=ge,se.current.focusTimeout=setTimeout(function(){var j=ge.selectionStart,$=ge.selectionEnd,K=ge.value;K===void 0&&(K="");var ne=P(K,j);ne!==j&&!(j===0&&$===K.length)&&C(ge,ne,K),T(Object.assign(Object.assign({},he),{currentTarget:Ne}))},0)},za=function(he){G.current=null,clearTimeout(se.current.focusTimeout),clearTimeout(se.current.setCaretTimeout),N(he)},et=qe&&b9()?"numeric":void 0,Et=Object.assign({inputMode:et},M,{type:o,value:te,onChange:_n,onKeyDown:bt,onMouseUp:cr,onFocus:sr,onBlur:za});if(r==="text")return s?ce.createElement(ce.Fragment,null,s(te,M)||null):ce.createElement("span",Object.assign({},M,{ref:d}),te);if(i){var Kr=i;return ce.createElement(Kr,Object.assign({},Et,{ref:d}))}return ce.createElement("input",Object.assign({},Et,{ref:d}))}function A1(e,o){var r=o.decimalScale,i=o.fixedDecimalScale,s=o.prefix;s===void 0&&(s="");var d=o.suffix;d===void 0&&(d="");var u=o.allowNegative,m=o.thousandsGroupStyle;if(m===void 0&&(m="thousand"),e===""||e==="-")return e;var h=nd(o),p=h.thousandSeparator,v=h.decimalSeparator,g=r!==0&&e.indexOf(".")!==-1||r&&i,k=Nm(e,u),S=k.beforeDecimal,B=k.afterDecimal,T=k.addNegation;return r!==void 0&&(B=lx(B,r,!!i)),p&&(S=c9(S,p,m)),s&&(S=s+S),d&&(B=B+d),T&&(S="-"+S),e=S+(g&&v||"")+B,e}function nd(e){var o=e.decimalSeparator;o===void 0&&(o=".");var r=e.thousandSeparator,i=e.allowedDecimalSeparators;return r===!0&&(r=","),i||(i=[o,"."]),{decimalSeparator:o,thousandSeparator:r,allowedDecimalSeparators:i}}function y9(e,o){e===void 0&&(e="");var r=new RegExp("(-)"),i=new RegExp("(-)(.)*(-)"),s=r.test(e),d=i.test(e);return e=e.replace(/-/g,""),s&&!d&&o&&(e="-"+e),e}function x9(e,o){return new RegExp("(^-)|[0-9]|"+ax(e),"g")}function w9(e,o,r){return e===""?!0:!o?.match(/\d/)&&!r?.match(/\d/)&&typeof e=="string"&&!isNaN(Number(e))}function z9(e,o,r){var i;o===void 0&&(o=m9(e));var s=r.allowNegative,d=r.prefix;d===void 0&&(d="");var u=r.suffix;u===void 0&&(u="");var m=r.decimalScale,h=o.from,p=o.to,v=p.start,g=p.end,k=nd(r),S=k.allowedDecimalSeparators,B=k.decimalSeparator,T=e[g]===B;if(Hi(e)&&(e===d||e===u)&&o.lastValue==="")return e;if(g-v===1&&S.indexOf(e[v])!==-1){var N=m===0?"":B;e=e.substring(0,v)+N+e.substring(v+1,e.length)}var E=function(G,se,ze){var Te=!1,C=!1;d.startsWith("-")?Te=!1:G.startsWith("--")?(Te=!1,C=!0):u.startsWith("-")&&G.length===u.length?Te=!1:G[0]==="-"&&(Te=!0);var P=Te?1:0;return C&&(P=2),P&&(G=G.substring(P),se-=P,ze-=P),{value:G,start:se,end:ze,hasNegation:Te}},y=E(e,v,g),w=y.hasNegation;i=y,e=i.value,v=i.start,g=i.end;var R=E(o.lastValue,h.start,h.end),M=R.start,H=R.end,Z=R.value,te=e.substring(v,g);e.length&&Z.length&&(M>Z.length-u.length||H<d.length)&&!(te&&u.startsWith(te))&&(e=Z);var le=0;e.startsWith(d)?le+=d.length:v<d.length&&(le=v),e=e.substring(le),g-=le;var Me=e.length,ae=e.length-u.length;e.endsWith(u)?Me=ae:(g>ae||g>e.length-u.length)&&(Me=g),e=e.substring(0,Me),e=y9(w?"-"+e:e,s),e=(e.match(x9(B))||[]).join("");var re=e.indexOf(B);e=e.replace(new RegExp(ax(B),"g"),function(G,se){return se===re?".":""});var we=Nm(e,s),Re=we.beforeDecimal,qe=we.afterDecimal,O=we.addNegation;return p.end-p.start<h.end-h.start&&Re===""&&T&&!parseFloat(qe)&&(e=O?"-":""),e}function j9(e,o){var r=o.prefix;r===void 0&&(r="");var i=o.suffix;i===void 0&&(i="");var s=Array.from({length:e.length+1}).map(function(){return!0}),d=e[0]==="-";s.fill(!1,0,r.length+(d?1:0));var u=e.length;return s.fill(!1,u-i.length+1,u+1),s}function S9(e){var o=nd(e),r=o.thousandSeparator,i=o.decimalSeparator,s=e.prefix;s===void 0&&(s="");var d=e.allowNegative;if(d===void 0&&(d=!0),r===i)throw new Error(`
22338
22429
  Decimal separator can't be same as thousand separator.
22339
22430
  thousandSeparator: `+r+` (thousandSeparator = {true} is same as thousandSeparator = ",")
22340
22431
  decimalSeparator: `+i+` (default value for decimalSeparator is .)
@@ -22342,7 +22433,7 @@ Link:
22342
22433
  Prefix can't start with '-' when allowNegative is true.
22343
22434
  prefix: `+s+`
22344
22435
  allowNegative: `+d+`
22345
- `),d=!1),Object.assign(Object.assign({},e),{allowNegative:d})}function T9(e){e=S9(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var o=e.suffix,r=e.allowNegative,i=e.allowLeadingZeros,s=e.onKeyDown;s===void 0&&(s=Or);var d=e.onBlur;d===void 0&&(d=Or);var u=e.thousandSeparator,m=e.decimalScale,h=e.fixedDecimalScale,p=e.prefix;p===void 0&&(p="");var v=e.defaultValue,g=e.value,k=e.valueIsNumericString,S=e.onValueChange,B=tx(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),T=nd(e),N=T.decimalSeparator,E=T.allowedDecimalSeparators,y=function(O){return A1(O,e)},w=function(O,G){return z9(O,G,e)},R=kl(g)?v:g,M=k??w9(R,p,o);kl(g)?kl(v)||(M=M||typeof v=="number"):M=M||typeof g=="number";var H=function(O){return rx(O)?O:(typeof O=="number"&&(O=ix(O)),M&&typeof m=="number"?S1(O,m,!!h):O)},Z=sx(H(g),H(v),!!M,y,w,S),te=Z[0],le=te.numAsString,Me=te.formattedValue,ae=Z[1],re=function(O){var G=O.target,se=O.key,ze=G.selectionStart,Te=G.selectionEnd,C=G.value;if(C===void 0&&(C=""),(se==="Backspace"||se==="Delete")&&Te<p.length){O.preventDefault();return}if(ze!==Te){s(O);return}se==="Backspace"&&C[0]==="-"&&ze===p.length+1&&r&&fa(G,1),m&&h&&(se==="Backspace"&&C[ze-1]===N?(fa(G,ze-1),O.preventDefault()):se==="Delete"&&C[ze]===N&&O.preventDefault()),E?.includes(se)&&C[ze]===N&&fa(G,ze+1);var P=u===!0?",":u;se==="Backspace"&&C[ze-1]===P&&fa(G,ze-1),se==="Delete"&&C[ze]===P&&fa(G,ze+1),s(O)},we=function(O){var G=le;if(G.match(/\d/g)||(G=""),i||(G=d9(G)),h&&m&&(G=S1(G,m,h)),G!==le){var se=A1(G,e);ae({formattedValue:se,value:G,floatValue:parseFloat(G)},{event:O,source:Ii.event})}d(O)},Re=function(O){return O===N?!0:Hi(O)},qe=function(O){var G=O.currentValue,se=O.lastValue,ze=O.formattedValue,Te=O.currentValueIndex,C=O.formattedValueIndex,P=G[Te],ie=ze[C],ue=cx(se,G),Ae=ue.to,De=function(He){return w(He).indexOf(".")+p.length};return g===0&&h&&m&&G[Ae.start]===N&&De(G)<Te&&De(ze)>C?!1:Te>=Ae.start&&Te<Ae.end&&E&&E.includes(P)&&ie===N?!0:P===ie};return Object.assign(Object.assign({},B),{value:Me,valueIsNumericString:!1,isValidInputCharacter:Re,isCharacterSame:qe,onValueChange:ae,format:y,removeFormatting:w,getCaretBoundary:function(O){return j9(O,e)},onKeyDown:re,onBlur:we})}function A9(e){var o=T9(e);return ce.createElement(k9,Object.assign({},o))}class C9{parse(o){return o==null||o===""?"":String(o).replace(/[eE.,]/g,"").replace(/\d[+-]/g,"")}}const E9=/[.,+eE]/,L9=e=>{e.key.length===1&&!e.ctrlKey&&!e.metaKey&&E9.test(e.key)&&e.preventDefault()};function B9({_label:e,_msg:o,_touched:r,_on:i,_required:s,value:d,thousandSeparator:u=!0,suffix:m="€",...h}){const p=i&&typeof i=="object"?i:void 0;return a.jsx(A9,{...h,value:d,suffix:m,thousandSeparator:u,valueIsNumericString:!1,customInput:v=>{const g=v.value;return a.jsx(Be,{...v,_value:g,_label:e,_msg:o,_touched:r,_required:s,_on:{onBlur:v.onBlur,onChange:v.onChange,onFocus:v.onFocus,onInput:v.onInput}})},onValueChange:v=>{const g=new Event("input");p?.onInput?.(g,v.floatValue)},onBlur:v=>{p?.onBlur?.(v.nativeEvent)}})}function N9(e){const{name:o,control:r,rules:i,defaultValue:s,shouldUnregister:d,disabled:u,_label:m,_required:h,...p}=e;return a.jsx(X0,{name:o,control:r,rules:i,defaultValue:s,shouldUnregister:d,disabled:u,render:({field:v,fieldState:g})=>{const k=p._on;return a.jsx(B9,{...p,_label:m,_required:h,value:v.value,_touched:g.isTouched,_msg:g.error?{_type:"error",_description:g.error.message||String(g.error)}:void 0,_on:{onInput:(S,B)=>{v.onChange(B),k?.onInput?.(S,B)},onBlur:()=>v.onBlur()}})}})}function R9(){const e=new C9,[o,r]=ce.useState(void 0),[i,s]=ce.useState(-128),[d,u]=ce.useState(!1),h=ed({defaultValues:{currency:1e6},mode:"onTouched"}),p=h.watch(),v=g=>{h.handleSubmit(async()=>{})(g)};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This example demonstrates formatting number input. The first example shows whole number formatting where decimal separators (. and ,) and scientific notation (e) are automatically removed on input. The second example shows currency formatting with react-number-format in a react-hook-form context."})}),a.jsxs("section",{className:"w-full grid gap-4",children:[a.jsxs("div",{children:[a.jsx(wo,{children:a.jsx(jn,{_label:"Whole number",_step:1,_value:o??i,_on:{onKeyDown:L9,onBlur:()=>{u(!0)},onInput:(g,k)=>{const S=e.parse(k),B=S===""?void 0:Number(S);r(B),s(B)}}})}),a.jsx("pre",{className:"text-base mt-2",children:JSON.stringify({value:i,touched:d},null,2)})]}),a.jsxs("div",{children:[a.jsx(wo,{_on:{onSubmit:v},children:a.jsx(N9,{control:h.control,name:"currency",decimalScale:2,displayType:"input",rules:{required:"Please enter a currency amount."},_label:"Currency",_required:!0})}),a.jsx("pre",{className:"text-base mt-2",children:JSON.stringify(p,null,2)})]})]})]})}const D9={"input-number":{basic:UA,"number-formatter":R9}},C1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(Tn,{...o,_label:"Passwort (Black background test)"})}),a.jsx(Tn,{...o,ref:r,_accessKey:"P",_required:!0,_hint:xo,_msg:{_type:"error",_description:Fe},_placeholder:"Mit Icons",_label:"Passwort",_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}},_touched:!0}),a.jsx(Tn,{...o,_placeholder:"Placeholder",_msg:{_type:"info",_description:"Just a hint"},_label:"Password"}),a.jsx(Tn,{...o,_placeholder:"Placeholder",_msg:{_type:"warning",_description:"Small warning"},_label:"Password"}),a.jsx(Tn,{...o,_placeholder:"Placeholder",_msg:{_type:"success",_description:"Success message"},_label:"Password"}),a.jsx(Tn,{...o,_disabled:!0,_msg:{_type:"error",_description:Fe},_label:"Passwort (Disabled)",_touched:!0}),a.jsx(Tn,{...o,_readOnly:!0,_label:"Passwort (Readonly)"}),a.jsx(Tn,{...o,ref:r,_shortKey:"c",_label:"With access key"}),a.jsx(Tn,{...o,ref:r,_shortKey:"s",_label:"With short key"})]})}),O9=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Password"}),a.jsx(C1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Password (hideLabel)"}),a.jsx(C1,{ref:r,...o,_hideLabel:!0})]})]})}),$9=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolInputPassword renders a password input field. The sample shows KolInputPassword in a form context with all variations and states."})}),a.jsx(go,{RefComponent:O9,showButtons:!1})]}),M9=()=>{const e=z.useRef(null);return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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.'})}),a.jsxs(wo,{className:"w-full",children:[a.jsx(Tn,{_placeholder:"With 'Show password' button",_label:"Password",ref:e,className:"block",_variant:"visibility-toggle"}),a.jsx(Tn,{_placeholder:"With 'Show password' button",_label:"Password",ref:e,className:"block",_variant:"visibility-toggle",_value:"Password"}),a.jsx(Tn,{_placeholder:"With 'Show password' button and disabled",_label:"Password",ref:e,className:"block",_disabled:!0,_variant:"visibility-toggle"})]})]})},U9={"input-password":{basic:$9,"show-password":M9}},E1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(An,{...o,_options:"[{'disabled':true,'label':'Mrs. (disabled)','value':'Mrs.'},{'label':'Mr.'},{'label':'Company','value':'Company'}]",_label:"Salutation (Black background test)"})}),a.jsx(An,{...o,_required:!0,_msg:{_type:"error",_description:Fe},_touched:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]",_label:"Salutation (with error)"}),a.jsx(An,{...o,ref:r,_orientation:"horizontal",_required:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]",_label:"Salutation (horizontal)"}),a.jsx(An,{...o,_disabled:!0,_orientation:"horizontal",_required:!0,_msg:{_type:"error",_description:Fe},_touched:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]",_label:"Salutation (horizontal with error)"}),a.jsx(An,{...o,_disabled:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]",_label:"Salutation",_touched:!0}),a.jsx(An,{...o,_orientation:"horizontal",_required:!0,_msg:{_type:"error",_description:Fe},_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:xo})]})}),F9=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("div",{className:"border border-solid border-dark-100 p-3",children:[a.jsx(be,{_level:2,_label:"Radio",className:"block mb-2"}),a.jsx(E1,{...o})]}),a.jsxs("div",{className:"border border-solid border-dark-100 p-3",children:[a.jsx(be,{_level:2,_label:"Radio (hideLabel)",className:"block mb-2"}),a.jsx(E1,{ref:r,...o,_hideLabel:!0})]})]})}),I9=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolInputRadio renders a set of radio buttons. The sample shows KolInputRadio in a form context with all variations and states."})}),a.jsx(go,{RefComponent:F9,showButtons:!1})]}),H9=()=>{const[e,o]=z.useState(!0),[r,i]=z.useState("horizontal"),s=[{label:"Field 1",value:1},{label:"Field 2",value:2}],d=()=>{o(m=>!m)},u=()=>{i(m=>m==="horizontal"?"vertical":"horizontal")};return a.jsxs("div",{className:"grid gap-4",children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows the ",a.jsx("code",{children:"horizontal"})," and ",a.jsx("code",{children:"vertical"})," orientation of KolInoutRadio. It also features a button to test re-rendering."]})}),a.jsxs("div",{className:"flex gap-4",children:[a.jsx(Q,{_label:"Click me a few times",_on:{onClick:d}}),a.jsx(rn,{_label:"Switch orientation (horizontal/vertical)",_on:{onChange:u},_variant:"switch"})]}),e&&a.jsx(wo,{children:a.jsxs("div",{className:"container my-4 d-grid gap-4",children:[a.jsx(An,{_label:`Test (${r})`,_options:s,_orientation:r,_required:!0}),a.jsx(An,{_hideLabel:!0,_label:`Test (${r})`,_options:s,_orientation:r,_required:!0})]})})]})},K9=()=>{const e=[{label:"Field 1",value:{id:1,name:"Option 1"}},{label:"Field 2",value:{id:2,name:"Option 2"}}];return a.jsxs("div",{className:"grid gap-4",children:[a.jsxs(V,{children:["This sample shows KolInputRadio with ",a.jsx("code",{children:"object"})," and ",a.jsx("code",{children:"undefined"})," values."]}),a.jsxs(wo,{children:[a.jsxs("p",{children:["In this example for ",a.jsx("code",{children:"KolInputRadio"}),", the values of the options are defined as objects."]}),a.jsx("div",{className:"container my-4 d-grid gap-4",children:a.jsx(An,{_value:e[1].value,_options:e,_label:"Test (with object value)"})}),a.jsxs("p",{children:["In this example for ",a.jsx("code",{children:"KolInputRadio"}),", no value is set."]}),a.jsx("div",{className:"container my-4 d-grid gap-4",children:a.jsx(An,{_options:e,_label:"Test (without value)"})})]})]})},V9={"input-radio":{basic:I9,horizontal:H9,object:K9}},L1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(Wn,{...o,_min:0,_max:50,_msg:{_type:"error",_description:Fe},_label:"Slider (Black background test)",_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}},_touched:!0})}),a.jsx(Wn,{...o,ref:r,_accessKey:"F",_min:0,_max:50,_step:10,_hint:xo,_msg:{_type:"error",_description:Fe},_label:"Slider with error",_touched:!0}),a.jsx(Wn,{...o,_msg:{_type:"info",_description:"Just a hint"},_label:"Slider"}),a.jsx(Wn,{...o,_msg:{_type:"warning",_description:"Small warning"},_label:"Slider"}),a.jsx(Wn,{...o,_msg:{_type:"success",_description:"Success message"},_label:"Slider"}),a.jsx(Wn,{...o,_disabled:!0,_min:0,_max:50,_label:"Slider (disabled)"}),a.jsx(Wn,{...o,_min:0,_max:50,_label:"With access key",_accessKey:"c"}),a.jsx(Wn,{...o,_min:0,_max:50,_label:"With short key",_shortKey:"s"})]})}),q9=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Range"}),a.jsx(L1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Range (hideLabel)"}),a.jsx(L1,{ref:r,...o,_hideLabel:!0})]})]})}),Z9=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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."})}),a.jsx(go,{RefComponent:q9,showButtons:!1})]}),P9={"input-range":{basic:Z9}},B1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(Be,{...o,_value:"Value",_label:"First name (Black background test)"})}),a.jsx(Be,{...o,_hint:xo,_msg:{_type:"error",_description:Fe},_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:r}),a.jsx(Be,{...o,_placeholder:"Placeholder",_msg:{_type:"info",_description:"Just a hint"},_label:"Search",_type:"search"}),a.jsx(Be,{...o,_placeholder:"Placeholder",_msg:{_type:"error",_description:Fe},_touched:!0,_type:"url",_label:"URL (url)"}),a.jsx(Be,{...o,_placeholder:"Placeholder",_type:"tel",_label:"Telephone (tel)",_msg:{_type:"warning",_description:"Small warning"}}),a.jsx(Be,{...o,_placeholder:"Placeholder",_type:"tel",_label:"Telephone (tel)",_msg:{_type:"success",_description:"Success message"}}),a.jsx(Be,{...o,_placeholder:"Placeholder",_label:"With counter",_maxLength:10,_value:"Lorem Ipsum"}),a.jsx(Be,{...o,_placeholder:"Placeholder",_readOnly:!0,_label:"First name (text, readonly)"}),a.jsx(Be,{...o,_value:"Value",_readOnly:!0,_label:"First name (text, readonly)"}),a.jsx(Be,{...o,_placeholder:"Placeholder",_disabled:!0,_label:"First name (text, disabled)"}),a.jsx(Be,{...o,_value:"Value",_disabled:!0,_label:"First name (text, disabled)"}),a.jsx(Be,{...o,_value:"Value",_label:"With access key",_accessKey:"c"}),a.jsx(Be,{...o,_value:"Value",_label:"With short key",_shortKey:"s"})]})}),G9=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Text"}),a.jsx(B1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Text (hideLabel)"}),a.jsx(B1,{ref:r,...o,_hideLabel:!0})]})]})}),Y9=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolInputText renders a text input field. The sample shows KolInputText in a form context with all variations and states."})}),a.jsx(go,{RefComponent:G9,showButtons:!1})]}),X9=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample show KolInputText with expert slot."})}),a.jsx(Be,{_label:"",_type:"text",children:a.jsx("span",{slot:"expert",children:"I am more than just a input field"})})]}),Q9=()=>a.jsxs("div",{className:"grid gap-4",children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows the ",a.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."]})}),a.jsx(Le,{_label:"Normal input field with error",_level:0,children:a.jsx(Be,{_msg:{_type:"error",_description:"Error message"},_label:"Input with error",_touched:!0})}),a.jsx(Le,{_label:"Input fields with hidden error",_level:0,children:a.jsxs("fieldset",{className:"grid md:grid-cols-2 gap-4",children:[a.jsx("legend",{children:"Combined input field"}),a.jsx(_o,{className:"col-span-2",_level:0,_type:"error",children:"This is a combined error message"}),a.jsx(Be,{_msg:{_type:"error",_description:"This is a combined error message"},_hideMsg:!0,_label:"First input",_touched:!0}),a.jsx(Be,{_msg:{_type:"error",_description:"This is a combined error message"},_hideMsg:!0,_label:"Second input with error",_touched:!0})]})})]}),J9=()=>{const e=z.useRef(null);function o(){e.current?.focus(),e.current?.setSelectionStart(8)}function r(){e.current?.focus(),e.current?.setSelectionRange(2,5)}function i(){e.current?.focus(),e.current?.setRangeText("INSERTED",5,9,"select")}return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows how to change the selection in a KolInputText."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(Be,{_value:"Very long value",_label:"Text Input Label",ref:e}),a.jsx(Ge,{_label:"Set Start",onClick:o}),a.jsx(Ge,{_label:"Set Range",onClick:r}),a.jsx(Ge,{_label:"Set Range Text",onClick:i})]})]})},N1={_icons:"codicon codicon-info",_hideLabel:!0},W9={left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}},eC=()=>{const e=Ir.getInstance(document),o={onClick:()=>{e.enqueue({description:"Smart-Button clicked",label:"Toaster",type:"default"})}};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows the smart button feature for KolInputText. It allows the usage of a button inside the bnput."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(Be,{_label:"Input with button and icons",_type:"text",_smartButton:{...N1,_label:"Open Toast",_on:o},_icons:W9}),a.jsx(Be,{_label:"Disabled input with button and without icons",_disabled:!0,_type:"text",_smartButton:{...N1,_label:"Disabled Button"}})]})]})},nC=/[^a-zA-Z0-9]/g,oC=/(.{4})(?!$)/g;class tC{electronicFormat(o){return o.replace(nC,"").toUpperCase()}printFormat(o,r){return this.electronicFormat(o).replace(oC,"$1"+(r||" "))}parse(o){return this.electronicFormat(o)}format(o,r,i){const s=r?.setSelectionStart;return i&&s&&(i%5===0&&i++,s(i)),this.printFormat(o)}}function rC({formatter:e,selectionStartRef:o,_on:r,_value:i,...s}){const d=z.useRef(null),u=r&&typeof r=="object"?r:void 0,m=o,h=d.current,p=m.current,v=e;return a.jsx(Be,{...s,ref:d,_value:v.format(i??"",h,p),_on:{...u,onInput:(g,k)=>{const S=d.current?.selectionStart;S?.().then(T=>{m.current=T??null});const B=v.parse(typeof k=="string"?k:"");u?.onInput?.(g,B)}}})}function aC(e){const{name:o,control:r,rules:i,defaultValue:s,shouldUnregister:d,disabled:u,formatter:m,selectionStartRef:h,...p}=e;return a.jsx(X0,{name:o,control:r,rules:i,defaultValue:s,shouldUnregister:d,disabled:u,render:({field:v,fieldState:g})=>{const k=p._on;return a.jsx(rC,{...p,formatter:m,selectionStartRef:h,_value:v.value,_touched:g.isTouched,_msg:g.error?{_type:"error",_description:g.error.message||String(g.error)}:void 0,_on:{onInput:(S,B)=>{v.onChange(B),k?.onInput?.(S,B)},onBlur:()=>v.onBlur()}})}})}function lC(){const e=z.useMemo(()=>new tC,[]),o=z.useRef(null),i=ed({defaultValues:{iban:"DE89370400440532013000"},mode:"onTouched"}),s=i.watch(),d=u=>{i.handleSubmit(async()=>{})(u)};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This example demonstrates formatting a data value in an input field (example IBAN). The data value is formatted to the input field (print format) and vice versa the formatting is removed again (machine format)"})}),a.jsx("section",{className:"w-full",children:a.jsxs("div",{children:[a.jsx(wo,{_on:{onSubmit:d},children:a.jsx(aC,{control:i.control,name:"iban",id:"field-iban",formatter:e,selectionStartRef:o,rules:{required:"Please enter an IBAN."},_label:"IBAN",_required:!0})}),a.jsx("pre",{className:"text-base mt-2",children:JSON.stringify(s,null,2)})]})})]})}const iC={"input-text":{basic:Y9,"hide-msg":Q9,"text-formatter":lC,"smart-button":eC,"expert-slot":X9,"select-range":J9}},cC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolKolibri renders the KoliBri logo. The sample show the logo with and without label and with a custom color."})}),a.jsx(be,{class:"block",_level:3,_label:"Regular"}),a.jsx(ys,{class:"block",style:{width:300}}),a.jsx(be,{class:"block",_level:3,_label:"Without Label"}),a.jsx(ys,{class:"block",style:{width:300},_labeled:!1}),a.jsx(be,{class:"block",_level:3,_label:"Customized color"}),a.jsx(ys,{class:"block",style:{width:300},_color:"#cc006e"})]}),sC={kolibri:{basic:cC}},dC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolLinkButton with aria-description"})}),a.jsxs("div",{className:"flex flex-wrap gap-2",children:[a.jsx(Je,{_href:"#/back-page",_label:"Link Button Text without area description"}),a.jsx(Je,{_href:"#/back-page",_label:"Link Button Text",_ariaDescription:"Link Button Area Description"})]})]}),sa={_href:"#/back-page"},fC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolLinkButton renders a link that looks like a button. The sample shows the different styling variants."})}),a.jsxs("div",{className:"flex flex-wrap gap-2",children:[a.jsx(Je,{_label:"Primary",_variant:"primary",...sa}),a.jsx(Je,{_label:"Secondary",_variant:"secondary",...sa}),a.jsx(Je,{_label:"Normal",_variant:"normal",...sa}),a.jsx(Je,{_label:"Danger",_variant:"danger",...sa}),a.jsx(Je,{_label:"Ghost",_variant:"ghost",...sa}),a.jsx(Je,{_label:"Access Key",_variant:"primary",_accessKey:"c",...sa}),a.jsx(Je,{_label:"Short Key",_variant:"primary",_shortKey:"s",...sa})]})]}),uC={"link-button":{basic:fC,"aria-description":dC}},bC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolLink with access key. The access keys can be used to trigger the buttons using the keyboard."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ke,{_href:"#/back-page",_label:"With S access key",_accessKey:"S"}),a.jsx(ke,{_href:"#/back-page",_label:"Very small s",_accessKey:"s"}),a.jsx(ke,{_href:"#/back-page",_label:"Access key does not appear in label",_accessKey:"s"}),a.jsx(ke,{_hideLabel:!0,_icons:"codicon codicon-home",_href:"#/back-page",_label:"access key without label",_accessKey:"s"})]})]}),mC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolLink with aria-description"})}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(ke,{_href:"#/back-page",_label:"Link Text without aria description"}),a.jsx(ke,{_href:"#/back-page",_label:"Link Text",_ariaDescription:"Link Area Description"})]})]}),hC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["KolLink renders a link. This sample shows disabled links, links with hidden label and links with different CSS ",a.jsx("code",{children:"display"}),"-properties."]})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ke,{_href:"#/back-page",_label:"Simple Link",_variant:"standalone"}),a.jsx(ke,{_disabled:!0,_href:"#/back-page",_label:"Simple Link (disabled)",_variant:"standalone"}),a.jsx(ke,{_hideLabel:!0,_icons:"codicon codicon-home",_href:"#/back-page",_label:"Icon Link",_variant:"standalone"}),a.jsx(ke,{_disabled:!0,_hideLabel:!0,_icons:"codicon codicon-home",_href:"#/back-page",_label:"Icon Link (disabled)",_variant:"standalone"}),a.jsxs("p",{children:["In this paragraph, a link is inserted that contains no additional attributes. ",a.jsx(ke,{_href:"#/back-page",_label:"Simple Link"})," It is rendered by default as a ",a.jsx("strong",{children:"inline element"}),"."]}),a.jsxs("p",{children:["In this paragraph, a link is inserted that is rendered as an inline-block element."," ",a.jsx(ke,{class:"d-inline-block",_accessKey:"S",_href:"#/back-page",_label:"Simple Link"}),". This allows you to assign width, height, and other properties to it using CSS styles.",a.jsx("br",{}),a.jsx("br",{}),"After that, there is a link that is rendered as a block element. ",a.jsx(ke,{class:"d-block",_href:"#/back-page",_label:"Simple Link"}),", therefore, I span the entire width of the parent element, causing a line break."]})]})]}),pC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolLink with icons in different alignments and combinations."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ke,{_icons:"codicon codicon-home",_label:"I am a link with an icon on the left",_href:"#/back-page"}),a.jsx(ke,{_icons:{right:"codicon codicon-home"},_label:"I am a link with an icon on the right",_href:"#/back-page"}),a.jsx(ke,{_icons:{top:"codicon codicon-home"},_label:"I am a link with an icon at the top",_href:"#/back-page"}),a.jsx(ke,{_icons:{bottom:"codicon codicon-home"},_label:"I am a link with icon below",_href:"#/back-page"}),a.jsx(ke,{_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",_href:"#/back-page"}),a.jsx(ke,{_icons:"codicon codicon-home",_href:"https://public-ui.github.io/",_label:"I am a external link with an icon on the left",_target:"_blank"}),a.jsx(ke,{_icons:{right:"codicon codicon-home"},_href:"https://public-ui.github.io/",_label:"I am a external linkwith an icon on the right",_target:"_blank"}),a.jsx(ke,{_icons:{top:"codicon codicon-home"},_href:"https://public-ui.github.io/",_label:"I am a external link with an icon at the top",_target:"_blank"}),a.jsx(ke,{_icons:{bottom:"codicon codicon-home"},_href:"https://public-ui.github.io/",_label:"I am a external link with icon below",_target:"_blank"}),a.jsx(ke,{_href:"https://public-ui.github.io/",_label:"I am a external link with all icons",_target:"_blank",_icons:{top:"codicon codicon-home",right:"codicon codicon-home",bottom:"codicon codicon-home",left:"codicon codicon-home"}})]})]}),_C=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolLink can be used with slot-content instead of a label as well. This sample demonstrates the slot content used to display an image."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ke,{_href:"#/back-page",_label:"I am a link that is rendered as text"}),a.jsx(ke,{_href:"#/back-page",_label:"",children:a.jsx("img",{alt:"Presentation of the KoliBri theming",slot:"expert",src:"abgrenzung.jpg",width:"300"})})]})]}),vC=()=>{const e=Ys(),o={onClick:r=>{r.preventDefault(),e("/back-page")}};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows how KolLink works with react-router. Primary click uses preventDefault() and navigate(...), while right click open in new tab still follows _href. Make sure _href and navigate(...) point to the same path."})}),a.jsx("div",{className:"grid gap-4",children:a.jsx(ke,{_href:"/back-page",_label:"Go to overview",_variant:"standalone",_on:o})})]})},gC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolButton with short key without functionality. The short key is purely visual. Its functionality needs to be developed separately."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ke,{_href:"#/back-page",_label:"With S short key",_shortKey:"S"}),a.jsx(ke,{_href:"#/back-page",_label:"Very small s",_shortKey:"s"}),a.jsx(ke,{_href:"#/back-page",_label:"Short key does not appear in label",_shortKey:"s"}),a.jsx(ke,{_hideLabel:!0,_icons:"codicon codicon-home",_href:"#/back-page",_label:"short key without label",_shortKey:"s"})]})]}),kC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows KolLink with different ",a.jsx("code",{children:"_target"}),"-properties."]})}),a.jsx("div",{className:"text-base d-flex gap-4",children:a.jsxs("ul",{children:[a.jsx("li",{children:a.jsx(ke,{_href:"#/back-page",_label:"Link without target"})}),a.jsx("li",{children:a.jsx(ke,{_href:"#/back-page",_label:"Link with target (_self)",_target:"_self"})}),a.jsx("li",{children:a.jsx(ke,{_href:"#/back-page",_label:"Link with target (_blank)",_target:"_blank"})}),a.jsx("li",{children:a.jsx(ke,{_href:"#/back-page",_icons:"codicon codicon-home",_hideLabel:!0,_label:"Link without target"})}),a.jsx("li",{children:a.jsx(ke,{_href:"#/back-page",_icons:"codicon codicon-home",_hideLabel:!0,_label:"Link with target (_self)",_target:"_self"})}),a.jsx("li",{children:a.jsx(ke,{_href:"#/back-page",_icons:"codicon codicon-home",_hideLabel:!0,_label:"Link with target (_blank)",_target:"_blank"})})]})})]}),yC={link:{basic:hC,icons:pC,image:_C,target:kC,"aria-description":mC,"access-key":bC,"short-key":gC,"react-router":vC}},xC=()=>{const[e]=Fr(),o=e.get("show-modal"),r=z.useRef(null),i=z.useRef(null),s={onClick:()=>r.current?.openModal()},d={onClick:()=>i.current?.openModal()},u={onClick:()=>r.current?.closeModal()};return z.useEffect(()=>{o==="true"&&(r.current?.openModal(),i.current?.openModal())},[]),a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["KolModal supports the variants ",a.jsx("code",{children:"blank"})," and ",a.jsx("code",{children:"card"}),". The card variant includes a ",a.jsx("code",{children:"KolCard"})," container and a closer button."]})}),a.jsxs("div",{className:"grid gap-8",children:[a.jsxs("div",{children:[a.jsx(Q,{_label:"Open blank modal",_on:s}),a.jsx(Vv,{ref:r,_label:"Blank modal",_variant:"blank",_width:"40%",children:a.jsxs("div",{className:"bg-white p-4 rounded shadow",children:[a.jsx("p",{className:"mt-0",children:"You must add styling and a close button yourself."}),a.jsx(Q,{_label:"Open card modal",className:"mr",_on:d}),a.jsx(Q,{_label:"Close",_on:u})]})})]}),a.jsxs("div",{children:[a.jsx(Q,{_label:"Open card modal",_on:d}),a.jsx(Vv,{ref:i,_label:"Card modal",_variant:"card",_width:"30%",children:a.jsx("p",{className:"mt-0",children:"This variant wraps content inside a KolCard."})})]})]})]})},wC={modal:{basic:xC}},zC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows KolNav with a link to the current page. This makes the component automatically assign ",a.jsx("code",{children:'aria-current="page"'}),"to it."]})}),a.jsx(gl,{class:"block w-sm",_label:"Main navigation",_links:[{_label:"Homepage",_href:"#/back-page"},{_label:"Nav - aria-current (Current page)",_href:"#/nav/aria-current",_active:!0}]})]}),dx=[{_label:"Homepage",_icons:"codicon codicon-home",_on:{onClick:()=>console.log("Homepage clicked")}},{_label:"2 Navigation point",_href:"#/back-page",_on:{onClick:()=>console.log("Link clicked")}},{_label:"3 Navigation point",_href:"#/back-page",_icons:"codicon codicon-home",_children:[{_label:"3.1 Navigation point",_icons:"codicon codicon-home",_href:"#/back-page"},{_label:"3.2 Navigation point",_href:"#/back-page",_target:"asdasd"},{_label:"3.3 Navigation point",_href:"#/back-page",_children:[{_label:"3.3.1 Navigation point",_href:"#/back-page"},{_label:"3.3.2 Navigation point",_href:"#/back-page"}]},{_label:"3.4 Navigation point",_href:"#/back-page",_children:[{_label:"3.4.1 Navigation point",_href:"#/back-page",_children:[{_label:"3.4.1.1 Navigation point",_href:"#/back-page"},{_label:"3.4.1.2 Navigation point (active)",_href:"#/back-page"}]},{_label:"3.4.2 Navigation point",_href:"#/back-page"}]},{_label:"3.5 Navigation point",_href:"#/back-page"}]},{_label:"4 Navigation point with children and onClick",_children:[{_label:"4.1 Nested link",_href:"#/back-page"}],_on:{onClick:()=>console.log("4.1 Nested link clicked")}},{_label:"5 No own page, only category",_active:!0,_children:[{_label:"5.1 Nested link",_href:"#/back-page"}]},{_label:"6 No own page, with icon",_icons:"codicon codicon-squirrel",_children:[{_label:"6.1 Nested link",_href:"#/back-page"}]}],jC=[{_label:"Homepage",_icons:"codicon codicon-home",_on:{onClick:()=>console.log("Homepage clicked")}},{_label:"2 Navigation point",_href:"#/back-page",_on:{onClick:()=>console.log("Link clicked")}},{_label:"3 Navigation point",_href:"#/back-page",_icons:"codicon codicon-home"},{_label:"4 Navigation point with children and onClick",_on:{onClick:()=>console.log("4.1 Nested link clicked")}},{_label:"5 No own page, only category",_active:!0},{_label:"6 No own page, with icon",_icons:"codicon codicon-squirrel"}],SC=[{_label:"Homepage",_icons:"codicon codicon-home",_on:{onClick:()=>console.log("Homepage clicked")}},{_label:"2 Navigation point",_href:"#/back-page",_on:{onClick:()=>console.log("Link clicked")}},{_label:"3 Navigation point",_href:"#/back-page",_icons:"codicon codicon-home",_children:[{_label:"3.1 Navigation point",_icons:"codicon codicon-home",_href:"#/back-page"},{_label:"3.2 Navigation point",_target:"asdasd"},{_label:"3.3 Navigation point",_href:"#/back-page",_children:[{_label:"3.3.1 Navigation point",_href:"#/back-page",_active:!0},{_label:"3.3.2 Navigation point",_href:"#/back-page"}]},{_label:"3.4 Navigation point",_href:"#/back-page",_children:[{_label:"3.4.1 Navigation point",_href:"#/back-page",_children:[{_label:"3.4.1.1 Navigation point",_href:"#/back-page"},{_label:"3.4.1.2 Navigation point (active)",_href:"#/back-page"}]},{_label:"3.4.2 Navigation point",_href:"#/back-page"}]},{_label:"3.5 Navigation point",_href:"#/back-page"}]}],TC=()=>{const[e,o]=z.useState(!1);return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolNav renders a navigation. In this sample, icons for the navigation elements can be shown or hidden using a checkbox and the navigation can be collapsed, showing only icons and no text labels."})}),a.jsxs("section",{className:"grid gap-8",children:[a.jsx("section",{children:a.jsx(rn,{_label:"Show icons when expanded",_checked:e,_on:{onChange:(r,i)=>{o(i)}}})}),a.jsxs("section",{className:"grid gap-4",children:[a.jsx(be,{_level:2,_label:"Navigation without submenu"}),a.jsx(gl,{class:"block w-fit",_label:"Navigation without submenu",_links:jC,_hasCompactButton:!0,_hasIconsWhenExpanded:e})]}),a.jsxs("section",{className:"grid gap-4",children:[a.jsx(be,{_level:2,_label:"Navigation with submenu"}),a.jsx(gl,{class:"block w-fit",_label:"Navigation with submenu",_links:dx,_hasCompactButton:!0,_hasIconsWhenExpanded:e})]}),a.jsxs("section",{className:"grid gap-4",children:[a.jsx(be,{_level:2,_label:"Navigation with submenu active"}),a.jsx(gl,{class:"block w-fit",_label:"Navigation with submenu active",_links:SC,_hasCompactButton:!0,_hasIconsWhenExpanded:e})]})]})]})},AC={nav:{basic:TC,"aria-current":zC}},CC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolPagination renders a pagination for datasets. The sample shows the different states and variations of a pagination and the option to change the page size."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(gi,{_max:316514,_page:15475,_siblingCount:3,_label:"Test pagination 1",_on:{}}),a.jsx(gi,{_max:14,_page:14,_siblingCount:1,_boundaryCount:2,_label:"Test pagination 2",_on:{}}),a.jsx(gi,{_max:4,_page:1,_siblingCount:0,_boundaryCount:2,_label:"Test pagination 3",_on:{}}),a.jsx(gi,{_max:4,_page:6,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:"Test pagination 4",_on:{}}),a.jsx(gi,{_max:4,_page:6,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:"Test pagination 5",_on:{},_pageSizeOptions:[10,100]})]})]}),EC={pagination:{basic:CC}},LC=()=>{const{dummyClickEventHandler:e}=On(),o=ce.useRef(null),r={onClick:e},i=[{_label:"Edit",_icons:"codicon codicon-edit",_on:r},{_label:"Delete",_icons:"codicon codicon-trash",_on:r},{_label:"Duplicate",_icons:"codicon codicon-copy",_on:r}];return z.useEffect(()=>{o.current&&(o.current.showPopover(),o.current.kolFocus())},[]),a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["The PopoverButton component combines a button with a popover that appears when clicked. The popover can be positioned in different directions (top, right, bottom, left) using the ",a.jsx("code",{children:"_popoverAlign"})," prop."]})}),a.jsxs("div",{className:"flex flex-col gap-4",children:[a.jsx(cb,{_label:"Actions",_variant:"primary",_icons:{right:"codicon codicon-chevron-down"},ref:o,children:a.jsx(ma,{_label:"Action toolbar",_items:i,_orientation:"vertical"})}),a.jsx(cb,{_label:"Help",_icons:"codicon codicon-info",_popoverAlign:"right",_tooltipAlign:"bottom",_hideLabel:!0,children:a.jsxs("div",{className:"w-sm p-2 border border-solid border-gray",children:[a.jsx(be,{_label:"Help Information",_level:0}),a.jsxs("p",{children:[a.jsx("u",{children:"Lorem ipsum dolor sit amet"}),", consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum! Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae."]})]})})]})]})},BC={"popover-button":{basic:LC}},NC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:'KolProgress renders a progress indicator. The sample shows the variants "bar" and "cycle" with and without labels.'})}),a.jsxs("div",{className:"grid gap-4 grid-cols-1 sm:grid-cols-2",children:[a.jsxs("fieldset",{title:"Percentages",className:"flex flex-col gap-4",children:[a.jsx(Jt,{_variant:"bar",_max:7,_value:0}),a.jsx(Jt,{_variant:"bar",_max:7,_value:2}),a.jsx(Jt,{_variant:"bar",_max:7,_value:7}),a.jsx(Jt,{_variant:"cycle",_max:7,_value:6})]}),a.jsxs("fieldset",{title:"Custom units",className:"flex flex-col gap-4",children:[a.jsx(Jt,{_label:"Distance",_variant:"bar",_max:65434,_value:7236,_unit:"m"}),a.jsx(Jt,{_label:"12 Tasks to do",_variant:"bar",_max:12,_value:5,_unit:"tasks completed"}),a.jsx(Jt,{_label:"Max 150 kg",_variant:"cycle",_max:150,_value:42,_unit:"kg"})]})]})]}),RC={progress:{basic:NC}},DC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:'KolQuote renders a quote with optional citation. This sample shows a quote in the variant "inline" with a link for citation.'})}),a.jsx(wy,{_href:"https://datatracker.ietf.org/doc/html/rfc1149",_quote:"Avian carriers can provide high delay.",_variant:"inline"})]}),OC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:'This sample shows a quote in the "block" variant.'})}),a.jsx(wy,{_label:"RFC 1149",_href:"https://datatracker.ietf.org/doc/html/rfc1149",_quote:`Avian carriers can provide high delay, low throughput, and low altitude
22436
+ `),d=!1),Object.assign(Object.assign({},e),{allowNegative:d})}function T9(e){e=S9(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var o=e.suffix,r=e.allowNegative,i=e.allowLeadingZeros,s=e.onKeyDown;s===void 0&&(s=Or);var d=e.onBlur;d===void 0&&(d=Or);var u=e.thousandSeparator,m=e.decimalScale,h=e.fixedDecimalScale,p=e.prefix;p===void 0&&(p="");var v=e.defaultValue,g=e.value,k=e.valueIsNumericString,S=e.onValueChange,B=tx(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),T=nd(e),N=T.decimalSeparator,E=T.allowedDecimalSeparators,y=function(O){return A1(O,e)},w=function(O,G){return z9(O,G,e)},R=kl(g)?v:g,M=k??w9(R,p,o);kl(g)?kl(v)||(M=M||typeof v=="number"):M=M||typeof g=="number";var H=function(O){return rx(O)?O:(typeof O=="number"&&(O=ix(O)),M&&typeof m=="number"?S1(O,m,!!h):O)},Z=sx(H(g),H(v),!!M,y,w,S),te=Z[0],le=te.numAsString,Me=te.formattedValue,ae=Z[1],re=function(O){var G=O.target,se=O.key,ze=G.selectionStart,Te=G.selectionEnd,C=G.value;if(C===void 0&&(C=""),(se==="Backspace"||se==="Delete")&&Te<p.length){O.preventDefault();return}if(ze!==Te){s(O);return}se==="Backspace"&&C[0]==="-"&&ze===p.length+1&&r&&fa(G,1),m&&h&&(se==="Backspace"&&C[ze-1]===N?(fa(G,ze-1),O.preventDefault()):se==="Delete"&&C[ze]===N&&O.preventDefault()),E?.includes(se)&&C[ze]===N&&fa(G,ze+1);var P=u===!0?",":u;se==="Backspace"&&C[ze-1]===P&&fa(G,ze-1),se==="Delete"&&C[ze]===P&&fa(G,ze+1),s(O)},we=function(O){var G=le;if(G.match(/\d/g)||(G=""),i||(G=d9(G)),h&&m&&(G=S1(G,m,h)),G!==le){var se=A1(G,e);ae({formattedValue:se,value:G,floatValue:parseFloat(G)},{event:O,source:Ii.event})}d(O)},Re=function(O){return O===N?!0:Hi(O)},qe=function(O){var G=O.currentValue,se=O.lastValue,ze=O.formattedValue,Te=O.currentValueIndex,C=O.formattedValueIndex,P=G[Te],ie=ze[C],ue=cx(se,G),Ae=ue.to,De=function(He){return w(He).indexOf(".")+p.length};return g===0&&h&&m&&G[Ae.start]===N&&De(G)<Te&&De(ze)>C?!1:Te>=Ae.start&&Te<Ae.end&&E&&E.includes(P)&&ie===N?!0:P===ie};return Object.assign(Object.assign({},B),{value:Me,valueIsNumericString:!1,isValidInputCharacter:Re,isCharacterSame:qe,onValueChange:ae,format:y,removeFormatting:w,getCaretBoundary:function(O){return j9(O,e)},onKeyDown:re,onBlur:we})}function A9(e){var o=T9(e);return ce.createElement(k9,Object.assign({},o))}class C9{parse(o){return o==null||o===""?"":String(o).replace(/[eE.,]/g,"").replace(/\d[+-]/g,"")}}const E9=/[.,+eE]/,L9=e=>{e.key.length===1&&!e.ctrlKey&&!e.metaKey&&E9.test(e.key)&&e.preventDefault()};function B9({_label:e,_msg:o,_touched:r,_on:i,_required:s,value:d,thousandSeparator:u=!0,suffix:m="€",...h}){const p=i&&typeof i=="object"?i:void 0;return a.jsx(A9,{...h,value:d,suffix:m,thousandSeparator:u,valueIsNumericString:!1,customInput:v=>{const g=v.value;return a.jsx(Be,{...v,_value:g,_label:e,_msg:o,_touched:r,_required:s,_on:{onBlur:v.onBlur,onChange:v.onChange,onFocus:v.onFocus,onInput:v.onInput}})},onValueChange:v=>{const g=new Event("input");p?.onInput?.(g,v.floatValue)},onBlur:v=>{p?.onBlur?.(v.nativeEvent)}})}function N9(e){const{name:o,control:r,rules:i,defaultValue:s,shouldUnregister:d,disabled:u,_label:m,_required:h,...p}=e;return a.jsx(X0,{name:o,control:r,rules:i,defaultValue:s,shouldUnregister:d,disabled:u,render:({field:v,fieldState:g})=>{const k=p._on;return a.jsx(B9,{...p,_label:m,_required:h,value:v.value,_touched:g.isTouched,_msg:g.error?{_type:"error",_description:g.error.message||String(g.error)}:void 0,_on:{onInput:(S,B)=>{v.onChange(B),k?.onInput?.(S,B)},onBlur:()=>v.onBlur()}})}})}function R9(){const e=new C9,[o,r]=ce.useState(void 0),[i,s]=ce.useState(-128),[d,u]=ce.useState(!1),h=ed({defaultValues:{currency:1e6},mode:"onTouched"}),p=h.watch(),v=g=>{h.handleSubmit(async()=>{})(g)};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This example demonstrates formatting number input. The first example shows whole number formatting where decimal separators (. and ,) and scientific notation (e) are automatically removed on input. The second example shows currency formatting with react-number-format in a react-hook-form context."})}),a.jsxs("section",{className:"w-full grid gap-4",children:[a.jsxs("div",{children:[a.jsx(wo,{children:a.jsx(jn,{_label:"Whole number",_step:1,_value:o??i,_on:{onKeyDown:L9,onBlur:()=>{u(!0)},onInput:(g,k)=>{const S=e.parse(k),B=S===""?void 0:Number(S);r(B),s(B)}}})}),a.jsx("pre",{className:"text-base mt-2",children:JSON.stringify({value:i,touched:d},null,2)})]}),a.jsxs("div",{children:[a.jsx(wo,{_on:{onSubmit:v},children:a.jsx(N9,{control:h.control,name:"currency",decimalScale:2,displayType:"input",rules:{required:"Please enter a currency amount."},_label:"Currency",_required:!0})}),a.jsx("pre",{className:"text-base mt-2",children:JSON.stringify(p,null,2)})]})]})]})}const D9={"input-number":{basic:UA,"number-formatter":R9}},C1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(Tn,{...o,_label:"Passwort (Black background test)"})}),a.jsx(Tn,{...o,ref:r,_accessKey:"P",_required:!0,_hint:xo,_msg:{_type:"error",_description:Fe},_placeholder:"Mit Icons",_label:"Passwort",_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}},_touched:!0}),a.jsx(Tn,{...o,_placeholder:"Placeholder",_msg:{_type:"info",_description:"Just a hint"},_label:"Password"}),a.jsx(Tn,{...o,_placeholder:"Placeholder",_msg:{_type:"warning",_description:"Small warning"},_label:"Password"}),a.jsx(Tn,{...o,_placeholder:"Placeholder",_msg:{_type:"success",_description:"Success message"},_label:"Password"}),a.jsx(Tn,{...o,_disabled:!0,_msg:{_type:"error",_description:Fe},_label:"Passwort (Disabled)",_touched:!0}),a.jsx(Tn,{...o,_readOnly:!0,_label:"Passwort (Readonly)"}),a.jsx(Tn,{...o,ref:r,_shortKey:"c",_label:"With access key"}),a.jsx(Tn,{...o,ref:r,_shortKey:"s",_label:"With short key"})]})}),O9=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Password"}),a.jsx(C1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Password (hideLabel)"}),a.jsx(C1,{ref:r,...o,_hideLabel:!0})]})]})}),$9=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolInputPassword renders a password input field. The sample shows KolInputPassword in a form context with all variations and states."})}),a.jsx(go,{RefComponent:O9,showButtons:!1})]}),M9=()=>{const e=z.useRef(null);return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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.'})}),a.jsxs(wo,{className:"w-full",children:[a.jsx(Tn,{_placeholder:"With 'Show password' button",_label:"Password",ref:e,className:"block",_variant:"visibility-toggle"}),a.jsx(Tn,{_placeholder:"With 'Show password' button",_label:"Password",ref:e,className:"block",_variant:"visibility-toggle",_value:"Password"}),a.jsx(Tn,{_placeholder:"With 'Show password' button and disabled",_label:"Password",ref:e,className:"block",_disabled:!0,_variant:"visibility-toggle"})]})]})},U9={"input-password":{basic:$9,"show-password":M9}},E1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(An,{...o,_options:"[{'disabled':true,'label':'Mrs. (disabled)','value':'Mrs.'},{'label':'Mr.'},{'label':'Company','value':'Company'}]",_label:"Salutation (Black background test)"})}),a.jsx(An,{...o,_required:!0,_msg:{_type:"error",_description:Fe},_touched:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]",_label:"Salutation (with error)"}),a.jsx(An,{...o,ref:r,_orientation:"horizontal",_required:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]",_label:"Salutation (horizontal)"}),a.jsx(An,{...o,_disabled:!0,_orientation:"horizontal",_required:!0,_msg:{_type:"error",_description:Fe},_touched:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]",_label:"Salutation (horizontal with error)"}),a.jsx(An,{...o,_disabled:!0,_value:"Company",_options:"[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]",_label:"Salutation",_touched:!0}),a.jsx(An,{...o,_orientation:"horizontal",_required:!0,_msg:{_type:"error",_description:Fe},_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:xo})]})}),F9=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("div",{className:"border border-solid border-dark-100 p-3",children:[a.jsx(be,{_level:2,_label:"Radio",className:"block mb-2"}),a.jsx(E1,{...o})]}),a.jsxs("div",{className:"border border-solid border-dark-100 p-3",children:[a.jsx(be,{_level:2,_label:"Radio (hideLabel)",className:"block mb-2"}),a.jsx(E1,{ref:r,...o,_hideLabel:!0})]})]})}),I9=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolInputRadio renders a set of radio buttons. The sample shows KolInputRadio in a form context with all variations and states."})}),a.jsx(go,{RefComponent:F9,showButtons:!1})]}),H9=()=>{const[e,o]=z.useState(!0),[r,i]=z.useState("horizontal"),s=[{label:"Field 1",value:1},{label:"Field 2",value:2}],d=()=>{o(m=>!m)},u=()=>{i(m=>m==="horizontal"?"vertical":"horizontal")};return a.jsxs("div",{className:"grid gap-4",children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows the ",a.jsx("code",{children:"horizontal"})," and ",a.jsx("code",{children:"vertical"})," orientation of KolInoutRadio. It also features a button to test re-rendering."]})}),a.jsxs("div",{className:"flex gap-4",children:[a.jsx(Q,{_label:"Click me a few times",_on:{onClick:d}}),a.jsx(rn,{_label:"Switch orientation (horizontal/vertical)",_on:{onChange:u},_variant:"switch"})]}),e&&a.jsx(wo,{children:a.jsxs("div",{className:"container my-4 d-grid gap-4",children:[a.jsx(An,{_label:`Test (${r})`,_options:s,_orientation:r,_required:!0}),a.jsx(An,{_hideLabel:!0,_label:`Test (${r})`,_options:s,_orientation:r,_required:!0})]})})]})},K9=()=>{const e=[{label:"Field 1",value:{id:1,name:"Option 1"}},{label:"Field 2",value:{id:2,name:"Option 2"}}];return a.jsxs("div",{className:"grid gap-4",children:[a.jsxs(V,{children:["This sample shows KolInputRadio with ",a.jsx("code",{children:"object"})," and ",a.jsx("code",{children:"undefined"})," values."]}),a.jsxs(wo,{children:[a.jsxs("p",{children:["In this example for ",a.jsx("code",{children:"KolInputRadio"}),", the values of the options are defined as objects."]}),a.jsx("div",{className:"container my-4 d-grid gap-4",children:a.jsx(An,{_value:e[1].value,_options:e,_label:"Test (with object value)"})}),a.jsxs("p",{children:["In this example for ",a.jsx("code",{children:"KolInputRadio"}),", no value is set."]}),a.jsx("div",{className:"container my-4 d-grid gap-4",children:a.jsx(An,{_options:e,_label:"Test (without value)"})})]})]})},V9={"input-radio":{basic:I9,horizontal:H9,object:K9}},L1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(Wn,{...o,_min:0,_max:50,_msg:{_type:"error",_description:Fe},_label:"Slider (Black background test)",_icons:{left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}},_touched:!0})}),a.jsx(Wn,{...o,ref:r,_accessKey:"F",_min:0,_max:50,_step:10,_hint:xo,_msg:{_type:"error",_description:Fe},_label:"Slider with error",_touched:!0}),a.jsx(Wn,{...o,_msg:{_type:"info",_description:"Just a hint"},_label:"Slider"}),a.jsx(Wn,{...o,_msg:{_type:"warning",_description:"Small warning"},_label:"Slider"}),a.jsx(Wn,{...o,_msg:{_type:"success",_description:"Success message"},_label:"Slider"}),a.jsx(Wn,{...o,_disabled:!0,_min:0,_max:50,_label:"Slider (disabled)"}),a.jsx(Wn,{...o,_min:0,_max:50,_label:"With access key",_accessKey:"c"}),a.jsx(Wn,{...o,_min:0,_max:50,_label:"With short key",_shortKey:"s"})]})}),q9=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Range"}),a.jsx(L1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Range (hideLabel)"}),a.jsx(L1,{ref:r,...o,_hideLabel:!0})]})]})}),Z9=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.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."})}),a.jsx(go,{RefComponent:q9,showButtons:!1})]}),P9={"input-range":{basic:Z9}},B1=z.forwardRef(function(o,r){return a.jsxs("div",{className:"grid gap-4",children:[a.jsx("div",{className:"black-background",children:a.jsx(Be,{...o,_value:"Value",_label:"First name (Black background test)"})}),a.jsx(Be,{...o,_hint:xo,_msg:{_type:"error",_description:Fe},_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:r}),a.jsx(Be,{...o,_placeholder:"Placeholder",_msg:{_type:"info",_description:"Just a hint"},_label:"Search",_type:"search"}),a.jsx(Be,{...o,_placeholder:"Placeholder",_msg:{_type:"error",_description:Fe},_touched:!0,_type:"url",_label:"URL (url)"}),a.jsx(Be,{...o,_placeholder:"Placeholder",_type:"tel",_label:"Telephone (tel)",_msg:{_type:"warning",_description:"Small warning"}}),a.jsx(Be,{...o,_placeholder:"Placeholder",_type:"tel",_label:"Telephone (tel)",_msg:{_type:"success",_description:"Success message"}}),a.jsx(Be,{...o,_placeholder:"Placeholder",_label:"With counter",_maxLength:10,_value:"Lorem Ipsum"}),a.jsx(Be,{...o,_placeholder:"Placeholder",_readOnly:!0,_label:"First name (placeholder)"}),a.jsx(Be,{...o,_value:"Value",_readOnly:!0,_label:"First name (text)"}),a.jsx(Be,{...o,_placeholder:"Placeholder",_disabled:!0,_label:"First name (placeholder, disabled)"}),a.jsx(Be,{...o,_value:"Value",_disabled:!0,_label:"First name (text, disabled)"}),a.jsx(Be,{...o,_value:"Value",_label:"With access key",_accessKey:"c"}),a.jsx(Be,{...o,_value:"Value",_label:"With short key",_shortKey:"s"})]})}),G9=z.forwardRef(function(o,r){return a.jsxs(zo,{children:[a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Text"}),a.jsx(B1,{...o})]}),a.jsxs("fieldset",{children:[a.jsx("legend",{children:"Text (hideLabel)"}),a.jsx(B1,{ref:r,...o,_hideLabel:!0})]})]})}),Y9=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolInputText renders a text input field. The sample shows KolInputText in a form context with all variations and states."})}),a.jsx(go,{RefComponent:G9,showButtons:!1})]}),X9=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample show KolInputText with expert slot."})}),a.jsx(Be,{_label:"",_type:"text",children:a.jsx("span",{slot:"expert",children:"I am more than just a input field"})})]}),Q9=()=>a.jsxs("div",{className:"grid gap-4",children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows the ",a.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."]})}),a.jsx(Le,{_label:"Normal input field with error",_level:0,children:a.jsx(Be,{_msg:{_type:"error",_description:"Error message"},_label:"Input with error",_touched:!0})}),a.jsx(Le,{_label:"Input fields with hidden error",_level:0,children:a.jsxs("fieldset",{className:"grid md:grid-cols-2 gap-4",children:[a.jsx("legend",{children:"Combined input field"}),a.jsx(_o,{className:"col-span-2",_level:0,_type:"error",children:"This is a combined error message"}),a.jsx(Be,{_msg:{_type:"error",_description:"This is a combined error message"},_hideMsg:!0,_label:"First input",_touched:!0}),a.jsx(Be,{_msg:{_type:"error",_description:"This is a combined error message"},_hideMsg:!0,_label:"Second input with error",_touched:!0})]})})]}),J9=()=>{const e=z.useRef(null);function o(){e.current?.focus(),e.current?.setSelectionStart(8)}function r(){e.current?.focus(),e.current?.setSelectionRange(2,5)}function i(){e.current?.focus(),e.current?.setRangeText("INSERTED",5,9,"select")}return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows how to change the selection in a KolInputText."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(Be,{_value:"Very long value",_label:"Text Input Label",ref:e}),a.jsx(Ge,{_label:"Set Start",onClick:o}),a.jsx(Ge,{_label:"Set Range",onClick:r}),a.jsx(Ge,{_label:"Set Range Text",onClick:i})]})]})},N1={_icons:"codicon codicon-info",_hideLabel:!0},W9={left:{icon:"codicon codicon-arrow-left"},right:{icon:"codicon codicon-arrow-right"}},eC=()=>{const e=Ir.getInstance(document),o={onClick:()=>{e.enqueue({description:"Smart-Button clicked",label:"Toaster",type:"default"})}};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows the smart button feature for KolInputText. It allows the usage of a button inside the bnput."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(Be,{_label:"Input with button and icons",_type:"text",_smartButton:{...N1,_label:"Open Toast",_on:o},_icons:W9}),a.jsx(Be,{_label:"Disabled input with button and without icons",_disabled:!0,_type:"text",_smartButton:{...N1,_label:"Disabled Button"}})]})]})},nC=/[^a-zA-Z0-9]/g,oC=/(.{4})(?!$)/g;class tC{electronicFormat(o){return o.replace(nC,"").toUpperCase()}printFormat(o,r){return this.electronicFormat(o).replace(oC,"$1"+(r||" "))}parse(o){return this.electronicFormat(o)}format(o,r,i){const s=r?.setSelectionStart;return i&&s&&(i%5===0&&i++,s(i)),this.printFormat(o)}}function rC({formatter:e,selectionStartRef:o,_on:r,_value:i,...s}){const d=z.useRef(null),u=r&&typeof r=="object"?r:void 0,m=o,h=d.current,p=m.current,v=e;return a.jsx(Be,{...s,ref:d,_value:v.format(i??"",h,p),_on:{...u,onInput:(g,k)=>{const S=d.current?.selectionStart;S?.().then(T=>{m.current=T??null});const B=v.parse(typeof k=="string"?k:"");u?.onInput?.(g,B)}}})}function aC(e){const{name:o,control:r,rules:i,defaultValue:s,shouldUnregister:d,disabled:u,formatter:m,selectionStartRef:h,...p}=e;return a.jsx(X0,{name:o,control:r,rules:i,defaultValue:s,shouldUnregister:d,disabled:u,render:({field:v,fieldState:g})=>{const k=p._on;return a.jsx(rC,{...p,formatter:m,selectionStartRef:h,_value:v.value,_touched:g.isTouched,_msg:g.error?{_type:"error",_description:g.error.message||String(g.error)}:void 0,_on:{onInput:(S,B)=>{v.onChange(B),k?.onInput?.(S,B)},onBlur:()=>v.onBlur()}})}})}function lC(){const e=z.useMemo(()=>new tC,[]),o=z.useRef(null),i=ed({defaultValues:{iban:"DE89370400440532013000"},mode:"onTouched"}),s=i.watch(),d=u=>{i.handleSubmit(async()=>{})(u)};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This example demonstrates formatting a data value in an input field (example IBAN). The data value is formatted to the input field (print format) and vice versa the formatting is removed again (machine format)"})}),a.jsx("section",{className:"w-full",children:a.jsxs("div",{children:[a.jsx(wo,{_on:{onSubmit:d},children:a.jsx(aC,{control:i.control,name:"iban",id:"field-iban",formatter:e,selectionStartRef:o,rules:{required:"Please enter an IBAN."},_label:"IBAN",_required:!0})}),a.jsx("pre",{className:"text-base mt-2",children:JSON.stringify(s,null,2)})]})})]})}const iC={"input-text":{basic:Y9,"hide-msg":Q9,"text-formatter":lC,"smart-button":eC,"expert-slot":X9,"select-range":J9}},cC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolKolibri renders the KoliBri logo. The sample show the logo with and without label and with a custom color."})}),a.jsx(be,{class:"block",_level:3,_label:"Regular"}),a.jsx(ys,{class:"block",style:{width:300}}),a.jsx(be,{class:"block",_level:3,_label:"Without Label"}),a.jsx(ys,{class:"block",style:{width:300},_labeled:!1}),a.jsx(be,{class:"block",_level:3,_label:"Customized color"}),a.jsx(ys,{class:"block",style:{width:300},_color:"#cc006e"})]}),sC={kolibri:{basic:cC}},dC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolLinkButton with aria-description"})}),a.jsxs("div",{className:"flex flex-wrap gap-2",children:[a.jsx(Je,{_href:"#/back-page",_label:"Link Button Text without area description"}),a.jsx(Je,{_href:"#/back-page",_label:"Link Button Text",_ariaDescription:"Link Button Area Description"})]})]}),sa={_href:"#/back-page"},fC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolLinkButton renders a link that looks like a button. The sample shows the different styling variants."})}),a.jsxs("div",{className:"flex flex-wrap gap-2",children:[a.jsx(Je,{_label:"Primary",_variant:"primary",...sa}),a.jsx(Je,{_label:"Secondary",_variant:"secondary",...sa}),a.jsx(Je,{_label:"Normal",_variant:"normal",...sa}),a.jsx(Je,{_label:"Danger",_variant:"danger",...sa}),a.jsx(Je,{_label:"Ghost",_variant:"ghost",...sa}),a.jsx(Je,{_label:"Access Key",_variant:"primary",_accessKey:"c",...sa}),a.jsx(Je,{_label:"Short Key",_variant:"primary",_shortKey:"s",...sa})]})]}),uC={"link-button":{basic:fC,"aria-description":dC}},bC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolLink with access key. The access keys can be used to trigger the buttons using the keyboard."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ke,{_href:"#/back-page",_label:"With S access key",_accessKey:"S"}),a.jsx(ke,{_href:"#/back-page",_label:"Very small s",_accessKey:"s"}),a.jsx(ke,{_href:"#/back-page",_label:"Access key does not appear in label",_accessKey:"s"}),a.jsx(ke,{_hideLabel:!0,_icons:"codicon codicon-home",_href:"#/back-page",_label:"access key without label",_accessKey:"s"})]})]}),mC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolLink with aria-description"})}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(ke,{_href:"#/back-page",_label:"Link Text without aria description"}),a.jsx(ke,{_href:"#/back-page",_label:"Link Text",_ariaDescription:"Link Area Description"})]})]}),hC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["KolLink renders a link. This sample shows disabled links, links with hidden label and links with different CSS ",a.jsx("code",{children:"display"}),"-properties."]})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ke,{_href:"#/back-page",_label:"Simple Link",_variant:"standalone"}),a.jsx(ke,{_disabled:!0,_href:"#/back-page",_label:"Simple Link (disabled)",_variant:"standalone"}),a.jsx(ke,{_hideLabel:!0,_icons:"codicon codicon-home",_href:"#/back-page",_label:"Icon Link",_variant:"standalone"}),a.jsx(ke,{_disabled:!0,_hideLabel:!0,_icons:"codicon codicon-home",_href:"#/back-page",_label:"Icon Link (disabled)",_variant:"standalone"}),a.jsxs("p",{children:["In this paragraph, a link is inserted that contains no additional attributes. ",a.jsx(ke,{_href:"#/back-page",_label:"Simple Link"})," It is rendered by default as a ",a.jsx("strong",{children:"inline element"}),"."]}),a.jsxs("p",{children:["In this paragraph, a link is inserted that is rendered as an inline-block element."," ",a.jsx(ke,{class:"d-inline-block",_accessKey:"S",_href:"#/back-page",_label:"Simple Link"}),". This allows you to assign width, height, and other properties to it using CSS styles.",a.jsx("br",{}),a.jsx("br",{}),"After that, there is a link that is rendered as a block element. ",a.jsx(ke,{class:"d-block",_href:"#/back-page",_label:"Simple Link"}),", therefore, I span the entire width of the parent element, causing a line break."]})]})]}),pC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolLink with icons in different alignments and combinations."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ke,{_icons:"codicon codicon-home",_label:"I am a link with an icon on the left",_href:"#/back-page"}),a.jsx(ke,{_icons:{right:"codicon codicon-home"},_label:"I am a link with an icon on the right",_href:"#/back-page"}),a.jsx(ke,{_icons:{top:"codicon codicon-home"},_label:"I am a link with an icon at the top",_href:"#/back-page"}),a.jsx(ke,{_icons:{bottom:"codicon codicon-home"},_label:"I am a link with icon below",_href:"#/back-page"}),a.jsx(ke,{_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",_href:"#/back-page"}),a.jsx(ke,{_icons:"codicon codicon-home",_href:"https://public-ui.github.io/",_label:"I am a external link with an icon on the left",_target:"_blank"}),a.jsx(ke,{_icons:{right:"codicon codicon-home"},_href:"https://public-ui.github.io/",_label:"I am a external linkwith an icon on the right",_target:"_blank"}),a.jsx(ke,{_icons:{top:"codicon codicon-home"},_href:"https://public-ui.github.io/",_label:"I am a external link with an icon at the top",_target:"_blank"}),a.jsx(ke,{_icons:{bottom:"codicon codicon-home"},_href:"https://public-ui.github.io/",_label:"I am a external link with icon below",_target:"_blank"}),a.jsx(ke,{_href:"https://public-ui.github.io/",_label:"I am a external link with all icons",_target:"_blank",_icons:{top:"codicon codicon-home",right:"codicon codicon-home",bottom:"codicon codicon-home",left:"codicon codicon-home"}})]})]}),_C=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolLink can be used with slot-content instead of a label as well. This sample demonstrates the slot content used to display an image."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ke,{_href:"#/back-page",_label:"I am a link that is rendered as text"}),a.jsx(ke,{_href:"#/back-page",_label:"",children:a.jsx("img",{alt:"Presentation of the KoliBri theming",slot:"expert",src:"abgrenzung.jpg",width:"300"})})]})]}),vC=()=>{const e=Ys(),o={onClick:r=>{r.preventDefault(),e("/back-page")}};return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows how KolLink works with react-router. Primary click uses preventDefault() and navigate(...), while right click open in new tab still follows _href. Make sure _href and navigate(...) point to the same path."})}),a.jsx("div",{className:"grid gap-4",children:a.jsx(ke,{_href:"/back-page",_label:"Go to overview",_variant:"standalone",_on:o})})]})},gC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This sample shows KolButton with short key without functionality. The short key is purely visual. Its functionality needs to be developed separately."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(ke,{_href:"#/back-page",_label:"With S short key",_shortKey:"S"}),a.jsx(ke,{_href:"#/back-page",_label:"Very small s",_shortKey:"s"}),a.jsx(ke,{_href:"#/back-page",_label:"Short key does not appear in label",_shortKey:"s"}),a.jsx(ke,{_hideLabel:!0,_icons:"codicon codicon-home",_href:"#/back-page",_label:"short key without label",_shortKey:"s"})]})]}),kC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows KolLink with different ",a.jsx("code",{children:"_target"}),"-properties."]})}),a.jsx("div",{className:"text-base d-flex gap-4",children:a.jsxs("ul",{children:[a.jsx("li",{children:a.jsx(ke,{_href:"#/back-page",_label:"Link without target"})}),a.jsx("li",{children:a.jsx(ke,{_href:"#/back-page",_label:"Link with target (_self)",_target:"_self"})}),a.jsx("li",{children:a.jsx(ke,{_href:"#/back-page",_label:"Link with target (_blank)",_target:"_blank"})}),a.jsx("li",{children:a.jsx(ke,{_href:"#/back-page",_icons:"codicon codicon-home",_hideLabel:!0,_label:"Link without target"})}),a.jsx("li",{children:a.jsx(ke,{_href:"#/back-page",_icons:"codicon codicon-home",_hideLabel:!0,_label:"Link with target (_self)",_target:"_self"})}),a.jsx("li",{children:a.jsx(ke,{_href:"#/back-page",_icons:"codicon codicon-home",_hideLabel:!0,_label:"Link with target (_blank)",_target:"_blank"})})]})})]}),yC={link:{basic:hC,icons:pC,image:_C,target:kC,"aria-description":mC,"access-key":bC,"short-key":gC,"react-router":vC}},xC=()=>{const[e]=Fr(),o=e.get("show-modal"),r=z.useRef(null),i=z.useRef(null),s={onClick:()=>r.current?.openModal()},d={onClick:()=>i.current?.openModal()},u={onClick:()=>r.current?.closeModal()};return z.useEffect(()=>{o==="true"&&(r.current?.openModal(),i.current?.openModal())},[]),a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["KolModal supports the variants ",a.jsx("code",{children:"blank"})," and ",a.jsx("code",{children:"card"}),". The card variant includes a ",a.jsx("code",{children:"KolCard"})," container and a closer button."]})}),a.jsxs("div",{className:"grid gap-8",children:[a.jsxs("div",{children:[a.jsx(Q,{_label:"Open blank modal",_on:s}),a.jsx(Vv,{ref:r,_label:"Blank modal",_variant:"blank",_width:"40%",children:a.jsxs("div",{className:"bg-white p-4 rounded shadow",children:[a.jsx("p",{className:"mt-0",children:"You must add styling and a close button yourself."}),a.jsx(Q,{_label:"Open card modal",className:"mr",_on:d}),a.jsx(Q,{_label:"Close",_on:u})]})})]}),a.jsxs("div",{children:[a.jsx(Q,{_label:"Open card modal",_on:d}),a.jsx(Vv,{ref:i,_label:"Card modal",_variant:"card",_width:"30%",children:a.jsx("p",{className:"mt-0",children:"This variant wraps content inside a KolCard."})})]})]})]})},wC={modal:{basic:xC}},zC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["This sample shows KolNav with a link to the current page. This makes the component automatically assign ",a.jsx("code",{children:'aria-current="page"'}),"to it."]})}),a.jsx(gl,{class:"block w-sm",_label:"Main navigation",_links:[{_label:"Homepage",_href:"#/back-page"},{_label:"Nav - aria-current (Current page)",_href:"#/nav/aria-current",_active:!0}]})]}),dx=[{_label:"Homepage",_icons:"codicon codicon-home",_on:{onClick:()=>console.log("Homepage clicked")}},{_label:"2 Navigation point",_href:"#/back-page",_on:{onClick:()=>console.log("Link clicked")}},{_label:"3 Navigation point",_href:"#/back-page",_icons:"codicon codicon-home",_children:[{_label:"3.1 Navigation point",_icons:"codicon codicon-home",_href:"#/back-page"},{_label:"3.2 Navigation point",_href:"#/back-page",_target:"asdasd"},{_label:"3.3 Navigation point",_href:"#/back-page",_children:[{_label:"3.3.1 Navigation point",_href:"#/back-page"},{_label:"3.3.2 Navigation point",_href:"#/back-page"}]},{_label:"3.4 Navigation point",_href:"#/back-page",_children:[{_label:"3.4.1 Navigation point",_href:"#/back-page",_children:[{_label:"3.4.1.1 Navigation point",_href:"#/back-page"},{_label:"3.4.1.2 Navigation point (active)",_href:"#/back-page"}]},{_label:"3.4.2 Navigation point",_href:"#/back-page"}]},{_label:"3.5 Navigation point",_href:"#/back-page"}]},{_label:"4 Navigation point with children and onClick",_children:[{_label:"4.1 Nested link",_href:"#/back-page"}],_on:{onClick:()=>console.log("4.1 Nested link clicked")}},{_label:"5 No own page, only category",_active:!0,_children:[{_label:"5.1 Nested link",_href:"#/back-page"}]},{_label:"6 No own page, with icon",_icons:"codicon codicon-squirrel",_children:[{_label:"6.1 Nested link",_href:"#/back-page"}]}],jC=[{_label:"Homepage",_icons:"codicon codicon-home",_on:{onClick:()=>console.log("Homepage clicked")}},{_label:"2 Navigation point",_href:"#/back-page",_on:{onClick:()=>console.log("Link clicked")}},{_label:"3 Navigation point",_href:"#/back-page",_icons:"codicon codicon-home"},{_label:"4 Navigation point with children and onClick",_on:{onClick:()=>console.log("4.1 Nested link clicked")}},{_label:"5 No own page, only category",_active:!0},{_label:"6 No own page, with icon",_icons:"codicon codicon-squirrel"}],SC=[{_label:"Homepage",_icons:"codicon codicon-home",_on:{onClick:()=>console.log("Homepage clicked")}},{_label:"2 Navigation point",_href:"#/back-page",_on:{onClick:()=>console.log("Link clicked")}},{_label:"3 Navigation point",_href:"#/back-page",_icons:"codicon codicon-home",_children:[{_label:"3.1 Navigation point",_icons:"codicon codicon-home",_href:"#/back-page"},{_label:"3.2 Navigation point",_target:"asdasd"},{_label:"3.3 Navigation point",_href:"#/back-page",_children:[{_label:"3.3.1 Navigation point",_href:"#/back-page",_active:!0},{_label:"3.3.2 Navigation point",_href:"#/back-page"}]},{_label:"3.4 Navigation point",_href:"#/back-page",_children:[{_label:"3.4.1 Navigation point",_href:"#/back-page",_children:[{_label:"3.4.1.1 Navigation point",_href:"#/back-page"},{_label:"3.4.1.2 Navigation point (active)",_href:"#/back-page"}]},{_label:"3.4.2 Navigation point",_href:"#/back-page"}]},{_label:"3.5 Navigation point",_href:"#/back-page"}]}],TC=()=>{const[e,o]=z.useState(!1);return a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolNav renders a navigation. In this sample, icons for the navigation elements can be shown or hidden using a checkbox and the navigation can be collapsed, showing only icons and no text labels."})}),a.jsxs("section",{className:"grid gap-8",children:[a.jsx("section",{children:a.jsx(rn,{_label:"Show icons when expanded",_checked:e,_on:{onChange:(r,i)=>{o(i)}}})}),a.jsxs("section",{className:"grid gap-4",children:[a.jsx(be,{_level:2,_label:"Navigation without submenu"}),a.jsx(gl,{class:"block w-fit",_label:"Navigation without submenu",_links:jC,_hasCompactButton:!0,_hasIconsWhenExpanded:e})]}),a.jsxs("section",{className:"grid gap-4",children:[a.jsx(be,{_level:2,_label:"Navigation with submenu"}),a.jsx(gl,{class:"block w-fit",_label:"Navigation with submenu",_links:dx,_hasCompactButton:!0,_hasIconsWhenExpanded:e})]}),a.jsxs("section",{className:"grid gap-4",children:[a.jsx(be,{_level:2,_label:"Navigation with submenu active"}),a.jsx(gl,{class:"block w-fit",_label:"Navigation with submenu active",_links:SC,_hasCompactButton:!0,_hasIconsWhenExpanded:e})]})]})]})},AC={nav:{basic:TC,"aria-current":zC}},CC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"KolPagination renders a pagination for datasets. The sample shows the different states and variations of a pagination and the option to change the page size."})}),a.jsxs("div",{className:"grid gap-4",children:[a.jsx(gi,{_max:316514,_page:15475,_siblingCount:3,_label:"Test pagination 1",_on:{}}),a.jsx(gi,{_max:14,_page:14,_siblingCount:1,_boundaryCount:2,_label:"Test pagination 2",_on:{}}),a.jsx(gi,{_max:4,_page:1,_siblingCount:0,_boundaryCount:2,_label:"Test pagination 3",_on:{}}),a.jsx(gi,{_max:4,_page:6,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:"Test pagination 4",_on:{}}),a.jsx(gi,{_max:4,_page:6,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:"Test pagination 5",_on:{},_pageSizeOptions:[10,100]})]})]}),EC={pagination:{basic:CC}},LC=()=>{const{dummyClickEventHandler:e}=On(),o=ce.useRef(null),r={onClick:e},i=[{_label:"Edit",_icons:"codicon codicon-edit",_on:r},{_label:"Delete",_icons:"codicon codicon-trash",_on:r},{_label:"Duplicate",_icons:"codicon codicon-copy",_on:r}];return z.useEffect(()=>{o.current&&(o.current.showPopover(),o.current.kolFocus())},[]),a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{children:["The PopoverButton component combines a button with a popover that appears when clicked. The popover can be positioned in different directions (top, right, bottom, left) using the ",a.jsx("code",{children:"_popoverAlign"})," prop."]})}),a.jsxs("div",{className:"flex flex-col gap-4",children:[a.jsx(cb,{_label:"Actions",_variant:"primary",_icons:{right:"codicon codicon-chevron-down"},ref:o,children:a.jsx(ma,{_label:"Action toolbar",_items:i,_orientation:"vertical"})}),a.jsx(cb,{_label:"Help",_icons:"codicon codicon-info",_popoverAlign:"right",_tooltipAlign:"bottom",_hideLabel:!0,children:a.jsxs("div",{className:"w-sm p-2 border border-solid border-gray",children:[a.jsx(be,{_label:"Help Information",_level:0}),a.jsxs("p",{children:[a.jsx("u",{children:"Lorem ipsum dolor sit amet"}),", consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum! Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae."]})]})})]})]})},BC={"popover-button":{basic:LC}},NC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:'KolProgress renders a progress indicator. The sample shows the variants "bar" and "cycle" with and without labels.'})}),a.jsxs("div",{className:"grid gap-4 grid-cols-1 sm:grid-cols-2",children:[a.jsxs("fieldset",{title:"Percentages",className:"flex flex-col gap-4",children:[a.jsx(Jt,{_variant:"bar",_max:7,_value:0}),a.jsx(Jt,{_variant:"bar",_max:7,_value:2}),a.jsx(Jt,{_variant:"bar",_max:7,_value:7}),a.jsx(Jt,{_variant:"cycle",_max:7,_value:6})]}),a.jsxs("fieldset",{title:"Custom units",className:"flex flex-col gap-4",children:[a.jsx(Jt,{_label:"Distance",_variant:"bar",_max:65434,_value:7236,_unit:"m"}),a.jsx(Jt,{_label:"12 Tasks to do",_variant:"bar",_max:12,_value:5,_unit:"tasks completed"}),a.jsx(Jt,{_label:"Max 150 kg",_variant:"cycle",_max:150,_value:42,_unit:"kg"})]})]})]}),RC={progress:{basic:NC}},DC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:'KolQuote renders a quote with optional citation. This sample shows a quote in the variant "inline" with a link for citation.'})}),a.jsx(wy,{_href:"https://datatracker.ietf.org/doc/html/rfc1149",_quote:"Avian carriers can provide high delay.",_variant:"inline"})]}),OC=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:'This sample shows a quote in the "block" variant.'})}),a.jsx(wy,{_label:"RFC 1149",_href:"https://datatracker.ietf.org/doc/html/rfc1149",_quote:`Avian carriers can provide high delay, low throughput, and low altitude
22346
22437
  service. The connection topology is limited to a single point-to-point path
22347
22438
  for each carrier, used with standard carriers, but many carriers can be used
22348
22439
  without significant interference with each other, outside early spring.
@@ -22372,7 +22463,7 @@ sit amet.`,sE=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{chi
22372
22463
  newResult[${M}] = ${R}.value;
22373
22464
  }
22374
22465
 
22375
- `)}S.write("payload.value = newResult;"),S.write("return payload;");const y=S.compile();return(w,R)=>y(k,w,R)};let d;const u=Ks,m=!Ox.jitless,p=m&&mL.value,v=o.catchall;let g;e._zod.parse=(k,S)=>{g??(g=i.value);const B=k.value;return u(B)?m&&p&&S?.async===!1&&S.jitless!==!0?(d||(d=s(o.shape)),k=d(k,S),v?Xx([],B,k,S,g,e):k):r(k,S):(k.issues.push({expected:"object",code:"invalid_type",input:B,inst:e}),k)}});function ny(e,o,r,i){for(const d of e)if(d.issues.length===0)return o.value=d.value,o;const s=e.filter(d=>!vl(d));return s.length===1?(o.value=s[0].value,s[0]):(o.issues.push({code:"invalid_union",input:o.value,inst:r,errors:e.map(d=>d.issues.map(u=>va(u,i,_a())))}),o)}const rN=W("$ZodUnion",(e,o)=>{$n.init(e,o),gn(e._zod,"optin",()=>o.options.some(s=>s._zod.optin==="optional")?"optional":void 0),gn(e._zod,"optout",()=>o.options.some(s=>s._zod.optout==="optional")?"optional":void 0),gn(e._zod,"values",()=>{if(o.options.every(s=>s._zod.values))return new Set(o.options.flatMap(s=>Array.from(s._zod.values)))}),gn(e._zod,"pattern",()=>{if(o.options.every(s=>s._zod.pattern)){const s=o.options.map(d=>d._zod.pattern);return new RegExp(`^(${s.map(d=>Um(d.source)).join("|")})$`)}});const r=o.options.length===1,i=o.options[0]._zod.run;e._zod.parse=(s,d)=>{if(r)return i(s,d);let u=!1;const m=[];for(const h of o.options){const p=h._zod.run({value:s.value,issues:[]},d);if(p instanceof Promise)m.push(p),u=!0;else{if(p.issues.length===0)return p;m.push(p)}}return u?Promise.all(m).then(h=>ny(h,s,e,d)):ny(m,s,e,d)}}),aN=W("$ZodIntersection",(e,o)=>{$n.init(e,o),e._zod.parse=(r,i)=>{const s=r.value,d=o.left._zod.run({value:s,issues:[]},i),u=o.right._zod.run({value:s,issues:[]},i);return d instanceof Promise||u instanceof Promise?Promise.all([d,u]).then(([h,p])=>oy(r,h,p)):oy(r,d,u)}});function Zb(e,o){if(e===o)return{valid:!0,data:e};if(e instanceof Date&&o instanceof Date&&+e==+o)return{valid:!0,data:e};if(Ki(e)&&Ki(o)){const r=Object.keys(o),i=Object.keys(e).filter(d=>r.indexOf(d)!==-1),s={...e,...o};for(const d of i){const u=Zb(e[d],o[d]);if(!u.valid)return{valid:!1,mergeErrorPath:[d,...u.mergeErrorPath]};s[d]=u.data}return{valid:!0,data:s}}if(Array.isArray(e)&&Array.isArray(o)){if(e.length!==o.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let i=0;i<e.length;i++){const s=e[i],d=o[i],u=Zb(s,d);if(!u.valid)return{valid:!1,mergeErrorPath:[i,...u.mergeErrorPath]};r.push(u.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function oy(e,o,r){if(o.issues.length&&e.issues.push(...o.issues),r.issues.length&&e.issues.push(...r.issues),vl(e))return e;const i=Zb(o.value,r.value);if(!i.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(i.mergeErrorPath)}`);return e.value=i.data,e}const lN=W("$ZodEnum",(e,o)=>{$n.init(e,o);const r=fL(o.entries),i=new Set(r);e._zod.values=i,e._zod.pattern=new RegExp(`^(${r.filter(s=>hL.has(typeof s)).map(s=>typeof s=="string"?td(s):s.toString()).join("|")})$`),e._zod.parse=(s,d)=>{const u=s.value;return i.has(u)||s.issues.push({code:"invalid_value",values:r,input:u,inst:e}),s}}),iN=W("$ZodTransform",(e,o)=>{$n.init(e,o),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Dx(e.constructor.name);const s=o.transform(r.value,r);if(i.async)return(s instanceof Promise?s:Promise.resolve(s)).then(u=>(r.value=u,r));if(s instanceof Promise)throw new yl;return r.value=s,r}});function ty(e,o){return e.issues.length&&o===void 0?{issues:[],value:void 0}:e}const cN=W("$ZodOptional",(e,o)=>{$n.init(e,o),e._zod.optin="optional",e._zod.optout="optional",gn(e._zod,"values",()=>o.innerType._zod.values?new Set([...o.innerType._zod.values,void 0]):void 0),gn(e._zod,"pattern",()=>{const r=o.innerType._zod.pattern;return r?new RegExp(`^(${Um(r.source)})?$`):void 0}),e._zod.parse=(r,i)=>{if(o.innerType._zod.optin==="optional"){const s=o.innerType._zod.run(r,i);return s instanceof Promise?s.then(d=>ty(d,r.value)):ty(s,r.value)}return r.value===void 0?r:o.innerType._zod.run(r,i)}}),sN=W("$ZodNullable",(e,o)=>{$n.init(e,o),gn(e._zod,"optin",()=>o.innerType._zod.optin),gn(e._zod,"optout",()=>o.innerType._zod.optout),gn(e._zod,"pattern",()=>{const r=o.innerType._zod.pattern;return r?new RegExp(`^(${Um(r.source)}|null)$`):void 0}),gn(e._zod,"values",()=>o.innerType._zod.values?new Set([...o.innerType._zod.values,null]):void 0),e._zod.parse=(r,i)=>r.value===null?r:o.innerType._zod.run(r,i)}),dN=W("$ZodDefault",(e,o)=>{$n.init(e,o),e._zod.optin="optional",gn(e._zod,"values",()=>o.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return o.innerType._zod.run(r,i);if(r.value===void 0)return r.value=o.defaultValue,r;const s=o.innerType._zod.run(r,i);return s instanceof Promise?s.then(d=>ry(d,o)):ry(s,o)}});function ry(e,o){return e.value===void 0&&(e.value=o.defaultValue),e}const fN=W("$ZodPrefault",(e,o)=>{$n.init(e,o),e._zod.optin="optional",gn(e._zod,"values",()=>o.innerType._zod.values),e._zod.parse=(r,i)=>(i.direction==="backward"||r.value===void 0&&(r.value=o.defaultValue),o.innerType._zod.run(r,i))}),uN=W("$ZodNonOptional",(e,o)=>{$n.init(e,o),gn(e._zod,"values",()=>{const r=o.innerType._zod.values;return r?new Set([...r].filter(i=>i!==void 0)):void 0}),e._zod.parse=(r,i)=>{const s=o.innerType._zod.run(r,i);return s instanceof Promise?s.then(d=>ay(d,e)):ay(s,e)}});function ay(e,o){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:o}),e}const bN=W("$ZodCatch",(e,o)=>{$n.init(e,o),gn(e._zod,"optin",()=>o.innerType._zod.optin),gn(e._zod,"optout",()=>o.innerType._zod.optout),gn(e._zod,"values",()=>o.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return o.innerType._zod.run(r,i);const s=o.innerType._zod.run(r,i);return s instanceof Promise?s.then(d=>(r.value=d.value,d.issues.length&&(r.value=o.catchValue({...r,error:{issues:d.issues.map(u=>va(u,i,_a()))},input:r.value}),r.issues=[]),r)):(r.value=s.value,s.issues.length&&(r.value=o.catchValue({...r,error:{issues:s.issues.map(d=>va(d,i,_a()))},input:r.value}),r.issues=[]),r)}}),mN=W("$ZodPipe",(e,o)=>{$n.init(e,o),gn(e._zod,"values",()=>o.in._zod.values),gn(e._zod,"optin",()=>o.in._zod.optin),gn(e._zod,"optout",()=>o.out._zod.optout),gn(e._zod,"propValues",()=>o.in._zod.propValues),e._zod.parse=(r,i)=>{if(i.direction==="backward"){const d=o.out._zod.run(r,i);return d instanceof Promise?d.then(u=>_s(u,o.in,i)):_s(d,o.in,i)}const s=o.in._zod.run(r,i);return s instanceof Promise?s.then(d=>_s(d,o.out,i)):_s(s,o.out,i)}});function _s(e,o,r){return e.issues.length?(e.aborted=!0,e):o._zod.run({value:e.value,issues:e.issues},r)}const hN=W("$ZodReadonly",(e,o)=>{$n.init(e,o),gn(e._zod,"propValues",()=>o.innerType._zod.propValues),gn(e._zod,"values",()=>o.innerType._zod.values),gn(e._zod,"optin",()=>o.innerType?._zod?.optin),gn(e._zod,"optout",()=>o.innerType?._zod?.optout),e._zod.parse=(r,i)=>{if(i.direction==="backward")return o.innerType._zod.run(r,i);const s=o.innerType._zod.run(r,i);return s instanceof Promise?s.then(ly):ly(s)}});function ly(e){return e.value=Object.freeze(e.value),e}const pN=W("$ZodCustom",(e,o)=>{Uo.init(e,o),$n.init(e,o),e._zod.parse=(r,i)=>r,e._zod.check=r=>{const i=r.value,s=o.fn(i);if(s instanceof Promise)return s.then(d=>iy(d,r,i,e));iy(s,r,i,e)}});function iy(e,o,r,i){if(!e){const s={code:"custom",input:r,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(s.params=i._zod.def.params),o.issues.push(Vi(s))}}var cy;class _N{constructor(){this._map=new WeakMap,this._idmap=new Map}add(o,...r){const i=r[0];if(this._map.set(o,i),i&&typeof i=="object"&&"id"in i){if(this._idmap.has(i.id))throw new Error(`ID ${i.id} already exists in the registry`);this._idmap.set(i.id,o)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(o){const r=this._map.get(o);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(o),this}get(o){const r=o._zod.parent;if(r){const i={...this.get(r)??{}};delete i.id;const s={...i,...this._map.get(o)};return Object.keys(s).length?s:void 0}return this._map.get(o)}has(o){return this._map.has(o)}}function vN(){return new _N}(cy=globalThis).__zod_globalRegistry??(cy.__zod_globalRegistry=vN());const vs=globalThis.__zod_globalRegistry;function gN(e,o){return new e({type:"string",...Se(o)})}function kN(e,o){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Se(o)})}function sy(e,o){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Se(o)})}function yN(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Se(o)})}function xN(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Se(o)})}function wN(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Se(o)})}function zN(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Se(o)})}function jN(e,o){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Se(o)})}function SN(e,o){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Se(o)})}function TN(e,o){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Se(o)})}function AN(e,o){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Se(o)})}function CN(e,o){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Se(o)})}function EN(e,o){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Se(o)})}function LN(e,o){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Se(o)})}function BN(e,o){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Se(o)})}function NN(e,o){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Se(o)})}function RN(e,o){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Se(o)})}function DN(e,o){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Se(o)})}function ON(e,o){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Se(o)})}function $N(e,o){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Se(o)})}function MN(e,o){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Se(o)})}function UN(e,o){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Se(o)})}function FN(e,o){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Se(o)})}function IN(e,o){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Se(o)})}function HN(e,o){return new e({type:"string",format:"date",check:"string_format",...Se(o)})}function KN(e,o){return new e({type:"string",format:"time",check:"string_format",precision:null,...Se(o)})}function VN(e,o){return new e({type:"string",format:"duration",check:"string_format",...Se(o)})}function qN(e,o){return new e({type:"number",checks:[],...Se(o)})}function ZN(e,o){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...Se(o)})}function PN(e,o){return new e({type:"boolean",...Se(o)})}function GN(e){return new e({type:"unknown"})}function YN(e,o){return new e({type:"never",...Se(o)})}function XN(e,o){return new e({type:"date",...Se(o)})}function dy(e,o){return new qx({check:"less_than",...Se(o),value:e,inclusive:!1})}function Cs(e,o){return new qx({check:"less_than",...Se(o),value:e,inclusive:!0})}function fy(e,o){return new Zx({check:"greater_than",...Se(o),value:e,inclusive:!1})}function Es(e,o){return new Zx({check:"greater_than",...Se(o),value:e,inclusive:!0})}function uy(e,o){return new fB({check:"multiple_of",...Se(o),value:e})}function Qx(e,o){return new bB({check:"max_length",...Se(o),maximum:e})}function qs(e,o){return new mB({check:"min_length",...Se(o),minimum:e})}function Jx(e,o){return new hB({check:"length_equals",...Se(o),length:e})}function QN(e,o){return new pB({check:"string_format",format:"regex",...Se(o),pattern:e})}function JN(e){return new _B({check:"string_format",format:"lowercase",...Se(e)})}function WN(e){return new vB({check:"string_format",format:"uppercase",...Se(e)})}function eR(e,o){return new gB({check:"string_format",format:"includes",...Se(o),includes:e})}function nR(e,o){return new kB({check:"string_format",format:"starts_with",...Se(o),prefix:e})}function oR(e,o){return new yB({check:"string_format",format:"ends_with",...Se(o),suffix:e})}function Sl(e){return new xB({check:"overwrite",tx:e})}function tR(e){return Sl(o=>o.normalize(e))}function rR(){return Sl(e=>e.trim())}function aR(){return Sl(e=>e.toLowerCase())}function lR(){return Sl(e=>e.toUpperCase())}function iR(){return Sl(e=>bL(e))}function cR(e,o,r){return new e({type:"array",element:o,...Se(r)})}function sR(e,o,r){return new e({type:"custom",check:"custom",fn:o,...Se(r)})}function dR(e){const o=fR(r=>(r.addIssue=i=>{if(typeof i=="string")r.issues.push(Vi(i,r.value,o._zod.def));else{const s=i;s.fatal&&(s.continue=!1),s.code??(s.code="custom"),s.input??(s.input=r.value),s.inst??(s.inst=o),s.continue??(s.continue=!o._zod.def.abort),r.issues.push(Vi(s))}},e(r.value,r)));return o}function fR(e,o){const r=new Uo({check:"custom",...Se(o)});return r._zod.check=e,r}function by(e,o){try{var r=e()}catch(i){return o(i)}return r&&r.then?r.then(void 0,o):r}function uR(e,o){for(var r={};e.length;){var i=e[0],s=i.code,d=i.message,u=i.path.join(".");if(!r[u])if("unionErrors"in i){var m=i.unionErrors[0].errors[0];r[u]={message:m.message,type:m.code}}else r[u]={message:d,type:s};if("unionErrors"in i&&i.unionErrors.forEach(function(v){return v.errors.forEach(function(g){return e.push(g)})}),o){var h=r[u].types,p=h&&h[i.code];r[u]=Em(u,o,r,s,p?[].concat(p,i.message):i.message)}e.shift()}return r}function bR(e,o){for(var r={};e.length;){var i=e[0],s=i.code,d=i.message,u=i.path.join(".");if(!r[u])if(i.code==="invalid_union"&&i.errors.length>0){var m=i.errors[0][0];r[u]={message:m.message,type:m.code}}else r[u]={message:d,type:s};if(i.code==="invalid_union"&&i.errors.forEach(function(v){return v.forEach(function(g){return e.push(g)})}),o){var h=r[u].types,p=h&&h[i.code];r[u]=Em(u,o,r,s,p?[].concat(p,i.message):i.message)}e.shift()}return r}function mR(e,o,r){if(r===void 0&&(r={}),(function(i){return"_def"in i&&typeof i._def=="object"&&"typeName"in i._def})(e))return function(i,s,d){try{return Promise.resolve(by(function(){return Promise.resolve(e[r.mode==="sync"?"parse":"parseAsync"](i,o)).then(function(u){return d.shouldUseNativeValidation&&Vb({},d),{errors:{},values:r.raw?Object.assign({},i):u}})},function(u){if((function(m){return Array.isArray(m?.issues)})(u))return{values:{},errors:Y1(uR(u.errors,!d.shouldUseNativeValidation&&d.criteriaMode==="all"),d)};throw u}))}catch(u){return Promise.reject(u)}};if((function(i){return"_zod"in i&&typeof i._zod=="object"})(e))return function(i,s,d){try{return Promise.resolve(by(function(){return Promise.resolve((r.mode==="sync"?TL:AL)(e,i,o)).then(function(u){return d.shouldUseNativeValidation&&Vb({},d),{errors:{},values:r.raw?Object.assign({},i):u}})},function(u){if((function(m){return m instanceof Im})(u))return{values:{},errors:Y1(bR(u.issues,!d.shouldUseNativeValidation&&d.criteriaMode==="all"),d)};throw u}))}catch(u){return Promise.reject(u)}};throw new Error("Invalid input: not a Zod schema")}const hR=W("ZodISODateTime",(e,o)=>{OB.init(e,o),En.init(e,o)});function pR(e){return IN(hR,e)}const _R=W("ZodISODate",(e,o)=>{$B.init(e,o),En.init(e,o)});function vR(e){return HN(_R,e)}const gR=W("ZodISOTime",(e,o)=>{MB.init(e,o),En.init(e,o)});function kR(e){return KN(gR,e)}const yR=W("ZodISODuration",(e,o)=>{UB.init(e,o),En.init(e,o)});function xR(e){return VN(yR,e)}const wR=(e,o)=>{Im.init(e,o),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>SL(e,r)},flatten:{value:r=>jL(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,qb,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,qb,2)}},isEmpty:{get(){return e.issues.length===0}}})},ut=W("ZodError",wR,{Parent:Error}),zR=ad(ut),jR=ld(ut),SR=id(ut),TR=cd(ut),AR=LL(ut),CR=BL(ut),ER=NL(ut),LR=RL(ut),BR=DL(ut),NR=OL(ut),RR=$L(ut),DR=ML(ut),Fn=W("ZodType",(e,o)=>($n.init(e,o),e.def=o,e.type=o.type,Object.defineProperty(e,"_def",{value:o}),e.check=(...r)=>e.clone(wa(o,{checks:[...o.checks??[],...r.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]})),e.clone=(r,i)=>Hr(e,r,i),e.brand=()=>e,e.register=((r,i)=>(r.add(e,i),e)),e.parse=(r,i)=>zR(e,r,i,{callee:e.parse}),e.safeParse=(r,i)=>SR(e,r,i),e.parseAsync=async(r,i)=>jR(e,r,i,{callee:e.parseAsync}),e.safeParseAsync=async(r,i)=>TR(e,r,i),e.spa=e.safeParseAsync,e.encode=(r,i)=>AR(e,r,i),e.decode=(r,i)=>CR(e,r,i),e.encodeAsync=async(r,i)=>ER(e,r,i),e.decodeAsync=async(r,i)=>LR(e,r,i),e.safeEncode=(r,i)=>BR(e,r,i),e.safeDecode=(r,i)=>NR(e,r,i),e.safeEncodeAsync=async(r,i)=>RR(e,r,i),e.safeDecodeAsync=async(r,i)=>DR(e,r,i),e.refine=(r,i)=>e.check(ED(r,i)),e.superRefine=r=>e.check(LD(r)),e.overwrite=r=>e.check(Sl(r)),e.optional=()=>vy(e),e.nullable=()=>gy(e),e.nullish=()=>vy(gy(e)),e.nonoptional=r=>wD(e,r),e.array=()=>sD(e),e.or=r=>bD([e,r]),e.and=r=>hD(e,r),e.transform=r=>Gb(e,n2(r)),e.default=r=>kD(e,r),e.prefault=r=>xD(e,r),e.catch=r=>jD(e,r),e.pipe=r=>Gb(e,r),e.readonly=()=>AD(e),e.describe=r=>{const i=e.clone();return vs.add(i,{description:r}),i},Object.defineProperty(e,"description",{get(){return vs.get(e)?.description},configurable:!0}),e.meta=(...r)=>{if(r.length===0)return vs.get(e);const i=e.clone();return vs.add(i,r[0]),i},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),Wx=W("_ZodString",(e,o)=>{Hm.init(e,o),Fn.init(e,o);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...i)=>e.check(QN(...i)),e.includes=(...i)=>e.check(eR(...i)),e.startsWith=(...i)=>e.check(nR(...i)),e.endsWith=(...i)=>e.check(oR(...i)),e.min=(...i)=>e.check(qs(...i)),e.max=(...i)=>e.check(Qx(...i)),e.length=(...i)=>e.check(Jx(...i)),e.nonempty=(...i)=>e.check(qs(1,...i)),e.lowercase=i=>e.check(JN(i)),e.uppercase=i=>e.check(WN(i)),e.trim=()=>e.check(rR()),e.normalize=(...i)=>e.check(tR(...i)),e.toLowerCase=()=>e.check(aR()),e.toUpperCase=()=>e.check(lR()),e.slugify=()=>e.check(iR())}),OR=W("ZodString",(e,o)=>{Hm.init(e,o),Wx.init(e,o),e.email=r=>e.check(kN($R,r)),e.url=r=>e.check(jN(MR,r)),e.jwt=r=>e.check(FN(WR,r)),e.emoji=r=>e.check(SN(UR,r)),e.guid=r=>e.check(sy(my,r)),e.uuid=r=>e.check(yN(gs,r)),e.uuidv4=r=>e.check(xN(gs,r)),e.uuidv6=r=>e.check(wN(gs,r)),e.uuidv7=r=>e.check(zN(gs,r)),e.nanoid=r=>e.check(TN(FR,r)),e.guid=r=>e.check(sy(my,r)),e.cuid=r=>e.check(AN(IR,r)),e.cuid2=r=>e.check(CN(HR,r)),e.ulid=r=>e.check(EN(KR,r)),e.base64=r=>e.check($N(XR,r)),e.base64url=r=>e.check(MN(QR,r)),e.xid=r=>e.check(LN(VR,r)),e.ksuid=r=>e.check(BN(qR,r)),e.ipv4=r=>e.check(NN(ZR,r)),e.ipv6=r=>e.check(RN(PR,r)),e.cidrv4=r=>e.check(DN(GR,r)),e.cidrv6=r=>e.check(ON(YR,r)),e.e164=r=>e.check(UN(JR,r)),e.datetime=r=>e.check(pR(r)),e.date=r=>e.check(vR(r)),e.time=r=>e.check(kR(r)),e.duration=r=>e.check(xR(r))});function Qt(e){return gN(OR,e)}const En=W("ZodStringFormat",(e,o)=>{Sn.init(e,o),Wx.init(e,o)}),$R=W("ZodEmail",(e,o)=>{TB.init(e,o),En.init(e,o)}),my=W("ZodGUID",(e,o)=>{jB.init(e,o),En.init(e,o)}),gs=W("ZodUUID",(e,o)=>{SB.init(e,o),En.init(e,o)}),MR=W("ZodURL",(e,o)=>{AB.init(e,o),En.init(e,o)}),UR=W("ZodEmoji",(e,o)=>{CB.init(e,o),En.init(e,o)}),FR=W("ZodNanoID",(e,o)=>{EB.init(e,o),En.init(e,o)}),IR=W("ZodCUID",(e,o)=>{LB.init(e,o),En.init(e,o)}),HR=W("ZodCUID2",(e,o)=>{BB.init(e,o),En.init(e,o)}),KR=W("ZodULID",(e,o)=>{NB.init(e,o),En.init(e,o)}),VR=W("ZodXID",(e,o)=>{RB.init(e,o),En.init(e,o)}),qR=W("ZodKSUID",(e,o)=>{DB.init(e,o),En.init(e,o)}),ZR=W("ZodIPv4",(e,o)=>{FB.init(e,o),En.init(e,o)}),PR=W("ZodIPv6",(e,o)=>{IB.init(e,o),En.init(e,o)}),GR=W("ZodCIDRv4",(e,o)=>{HB.init(e,o),En.init(e,o)}),YR=W("ZodCIDRv6",(e,o)=>{KB.init(e,o),En.init(e,o)}),XR=W("ZodBase64",(e,o)=>{VB.init(e,o),En.init(e,o)}),QR=W("ZodBase64URL",(e,o)=>{ZB.init(e,o),En.init(e,o)}),JR=W("ZodE164",(e,o)=>{PB.init(e,o),En.init(e,o)}),WR=W("ZodJWT",(e,o)=>{YB.init(e,o),En.init(e,o)}),e2=W("ZodNumber",(e,o)=>{Gx.init(e,o),Fn.init(e,o),e.gt=(i,s)=>e.check(fy(i,s)),e.gte=(i,s)=>e.check(Es(i,s)),e.min=(i,s)=>e.check(Es(i,s)),e.lt=(i,s)=>e.check(dy(i,s)),e.lte=(i,s)=>e.check(Cs(i,s)),e.max=(i,s)=>e.check(Cs(i,s)),e.int=i=>e.check(py(i)),e.safe=i=>e.check(py(i)),e.positive=i=>e.check(fy(0,i)),e.nonnegative=i=>e.check(Es(0,i)),e.negative=i=>e.check(dy(0,i)),e.nonpositive=i=>e.check(Cs(0,i)),e.multipleOf=(i,s)=>e.check(uy(i,s)),e.step=(i,s)=>e.check(uy(i,s)),e.finite=()=>e;const r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function hy(e){return qN(e2,e)}const eD=W("ZodNumberFormat",(e,o)=>{XB.init(e,o),e2.init(e,o)});function py(e){return ZN(eD,e)}const nD=W("ZodBoolean",(e,o)=>{QB.init(e,o),Fn.init(e,o)});function oD(e){return PN(nD,e)}const tD=W("ZodUnknown",(e,o)=>{JB.init(e,o),Fn.init(e,o)});function _y(){return GN(tD)}const rD=W("ZodNever",(e,o)=>{WB.init(e,o),Fn.init(e,o)});function aD(e){return YN(rD,e)}const lD=W("ZodDate",(e,o)=>{eN.init(e,o),Fn.init(e,o),e.min=(i,s)=>e.check(Es(i,s)),e.max=(i,s)=>e.check(Cs(i,s));const r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});function iD(e){return XN(lD,e)}const cD=W("ZodArray",(e,o)=>{nN.init(e,o),Fn.init(e,o),e.element=o.element,e.min=(r,i)=>e.check(qs(r,i)),e.nonempty=r=>e.check(qs(1,r)),e.max=(r,i)=>e.check(Qx(r,i)),e.length=(r,i)=>e.check(Jx(r,i)),e.unwrap=()=>e.element});function sD(e,o){return cR(cD,e,o)}const dD=W("ZodObject",(e,o)=>{tN.init(e,o),Fn.init(e,o),gn(e,"shape",()=>o.shape),e.keyof=()=>pD(Object.keys(e._zod.def.shape)),e.catchall=r=>e.clone({...e._zod.def,catchall:r}),e.passthrough=()=>e.clone({...e._zod.def,catchall:_y()}),e.loose=()=>e.clone({...e._zod.def,catchall:_y()}),e.strict=()=>e.clone({...e._zod.def,catchall:aD()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=r=>kL(e,r),e.safeExtend=r=>yL(e,r),e.merge=r=>xL(e,r),e.pick=r=>vL(e,r),e.omit=r=>gL(e,r),e.partial=(...r)=>wL(o2,e,r[0]),e.required=(...r)=>zL(t2,e,r[0])});function fD(e,o){const r={type:"object",shape:e??{},...Se(o)};return new dD(r)}const uD=W("ZodUnion",(e,o)=>{rN.init(e,o),Fn.init(e,o),e.options=o.options});function bD(e,o){return new uD({type:"union",options:e,...Se(o)})}const mD=W("ZodIntersection",(e,o)=>{aN.init(e,o),Fn.init(e,o)});function hD(e,o){return new mD({type:"intersection",left:e,right:o})}const Pb=W("ZodEnum",(e,o)=>{lN.init(e,o),Fn.init(e,o),e.enum=o.entries,e.options=Object.values(o.entries);const r=new Set(Object.keys(o.entries));e.extract=(i,s)=>{const d={};for(const u of i)if(r.has(u))d[u]=o.entries[u];else throw new Error(`Key ${u} not found in enum`);return new Pb({...o,checks:[],...Se(s),entries:d})},e.exclude=(i,s)=>{const d={...o.entries};for(const u of i)if(r.has(u))delete d[u];else throw new Error(`Key ${u} not found in enum`);return new Pb({...o,checks:[],...Se(s),entries:d})}});function pD(e,o){const r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Pb({type:"enum",entries:r,...Se(o)})}const _D=W("ZodTransform",(e,o)=>{iN.init(e,o),Fn.init(e,o),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Dx(e.constructor.name);r.addIssue=d=>{if(typeof d=="string")r.issues.push(Vi(d,r.value,o));else{const u=d;u.fatal&&(u.continue=!1),u.code??(u.code="custom"),u.input??(u.input=r.value),u.inst??(u.inst=e),r.issues.push(Vi(u))}};const s=o.transform(r.value,r);return s instanceof Promise?s.then(d=>(r.value=d,r)):(r.value=s,r)}});function n2(e){return new _D({type:"transform",transform:e})}const o2=W("ZodOptional",(e,o)=>{cN.init(e,o),Fn.init(e,o),e.unwrap=()=>e._zod.def.innerType});function vy(e){return new o2({type:"optional",innerType:e})}const vD=W("ZodNullable",(e,o)=>{sN.init(e,o),Fn.init(e,o),e.unwrap=()=>e._zod.def.innerType});function gy(e){return new vD({type:"nullable",innerType:e})}const gD=W("ZodDefault",(e,o)=>{dN.init(e,o),Fn.init(e,o),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function kD(e,o){return new gD({type:"default",innerType:e,get defaultValue(){return typeof o=="function"?o():Mx(o)}})}const yD=W("ZodPrefault",(e,o)=>{fN.init(e,o),Fn.init(e,o),e.unwrap=()=>e._zod.def.innerType});function xD(e,o){return new yD({type:"prefault",innerType:e,get defaultValue(){return typeof o=="function"?o():Mx(o)}})}const t2=W("ZodNonOptional",(e,o)=>{uN.init(e,o),Fn.init(e,o),e.unwrap=()=>e._zod.def.innerType});function wD(e,o){return new t2({type:"nonoptional",innerType:e,...Se(o)})}const zD=W("ZodCatch",(e,o)=>{bN.init(e,o),Fn.init(e,o),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function jD(e,o){return new zD({type:"catch",innerType:e,catchValue:typeof o=="function"?o:()=>o})}const SD=W("ZodPipe",(e,o)=>{mN.init(e,o),Fn.init(e,o),e.in=o.in,e.out=o.out});function Gb(e,o){return new SD({type:"pipe",in:e,out:o})}const TD=W("ZodReadonly",(e,o)=>{hN.init(e,o),Fn.init(e,o),e.unwrap=()=>e._zod.def.innerType});function AD(e){return new TD({type:"readonly",innerType:e})}const CD=W("ZodCustom",(e,o)=>{pN.init(e,o),Fn.init(e,o)});function ED(e,o={}){return sR(CD,e,o)}function LD(e){return dR(e)}function BD(e,o){return Gb(n2(e),o)}const ND=fD({date:BD(e=>typeof e=="string"||e instanceof Date?new Date(e):void 0,iD({message:"Date is required"}).refine(e=>!isNaN(e.getTime()),{message:"Invalid date"})),text:Qt({message:"Please enter text."}).min(10,"Text must be at least 10 characters long."),email:Qt({message:"Please enter your email."}).min(1,"Please enter your email.").email("Invalid email address."),password:Qt({message:"Please enter a password."}).min(8,"Password must be at least 8 characters.").regex(/[A-Z]/,"Password must include at least one uppercase letter.").regex(/[0-9]/,"Password must include at least one number."),range:hy({message:"Please select a range."}).min(30,"Minimum value is 30."),number:hy({message:"Please enter a number."}).min(1,"Minimum is 1.").max(10,"Maximum is 10."),checkbox:oD().refine(e=>e===!0,{message:"You must accept the terms and conditions."}),radio:Qt({message:"Please select a gender."}).min(1,"Please select a gender."),color:Qt({message:"Please select a color."}).min(1,"Please select a color."),select:Qt({message:"Please select a value."}).min(1,"Please select a value."),singleSelect:Qt({message:"Please select a single option."}).min(1,"Please select a single option."),combobox:Qt({message:"Please select a country."}).min(1,"Please select a country."),textarea:Qt({message:"Please enter a message."}).min(1,"Please enter a message.")}),RD=()=>{const{dummyClickEventHandler:e}=On(),{handleSubmit:o,formState:{errors:r},reset:i,control:s}=ed({mode:"onBlur",reValidateMode:"onChange",resolver:mR(ND),defaultValues:{range:30,number:5}}),d=()=>{i(void 0,{keepErrors:!1,keepTouched:!1,keepDirty:!1})},u=Object.entries(r).map(([m,h])=>[m,h.message]).filter(([,m])=>!!m);return a.jsxs("section",{className:"w-full max-w-3xl mx-auto p-6",children:[a.jsx(be,{_level:2,_label:"Sample Form with Validation (Zod)"}),a.jsx(V,{children:a.jsxs("p",{children:["This example shows validation with ",a.jsx("code",{children:"react-hook-form"}),", ",a.jsx("code",{children:"Zod"}),", and an error list."]})}),u.length>0&&a.jsx(_o,{_type:"error",_label:"Please fix the following:",_alert:!0,_variant:"card",children:a.jsx("ul",{className:"list-disc pl-5",children:u.map(([m,h],p)=>a.jsx("li",{children:a.jsx(ke,{_label:h,_href:`#field-${m}`,_on:{onClick:v=>{v.preventDefault(),document.getElementById(`field-${m}`)?.focus()}}})},p))})}),a.jsxs("form",{onSubmit:o(e),noValidate:!0,className:"grid gap-4 mt-6",children:[a.jsx(Tx,{control:s,name:"date",_label:"Date"}),a.jsx(Kb,{control:s,name:"text",_label:"Text (≥ 10 chars)"}),a.jsx(zx,{control:s,name:"email",_label:"Email"}),a.jsx(wx,{control:s,name:"password",_label:"Password"}),a.jsx(Sx,{control:s,name:"range",_label:"Range (≥ 30)",_min:0,_max:100}),a.jsx(jx,{control:s,name:"number",_label:"Number (1 – 10)"}),a.jsx(Rx,{control:s,name:"checkbox",_label:"Accept terms"}),a.jsx(Nx,{control:s,name:"radio",_label:"Gender",_options:[{label:"Female",value:"f"},{label:"Male",value:"m"}]}),a.jsx(Ax,{control:s,name:"color",_label:"Favorite Color"}),a.jsx(Lx,{control:s,name:"select",_label:"Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),a.jsx(Bx,{control:s,name:"singleSelect",_label:"Single Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),a.jsx(Ex,{control:s,name:"combobox",_label:"Country",_suggestions:Xo}),a.jsx(Cx,{control:s,name:"textarea",_label:"Message",_rows:4}),a.jsxs("div",{className:"flex gap-4 mt-4",children:[a.jsx(Q,{_label:"Submit",_type:"submit",_variant:"primary"}),a.jsx(Q,{_label:"Reset",_type:"reset",onClick:d})]})]})]})},DD=()=>{const{searchParams:e}=new URL(location.href);return a.jsxs(a.Fragment,{children:[a.jsxs(V,{children:[a.jsx("p",{children:"This sample shows how KoliBri can be used in a static form context."}),a.jsxs("ol",{children:[a.jsxs("li",{children:["First you have to enable the ",a.jsx("code",{children:"experimental mode"}),":"," ",a.jsx("code",{className:"bg-gray-200",children:'<meta name="kolibri" content="dev-mode=false;experimental-mode=true;" />'})]}),a.jsxs("li",{children:["Currently you have to use a native ",a.jsx("code",{children:"form"})," element:"," ",a.jsx("code",{className:"bg-gray-200",children:'<form method="GET">...</form>'})]}),a.jsxs("li",{children:["It is important in static usage to give every input a ",a.jsx("code",{children:"name"})," attribute:"," ",a.jsx("code",{className:"bg-gray-200",children:'<KolInputColor _name="color" _label="Color" />'})]}),a.jsxs("li",{children:["Last of all one button should have the type ",a.jsx("code",{children:"submit"}),":"," ",a.jsx("code",{className:"bg-gray-200",children:'<KolButton _label="Submit" _type="submit" _variant="primary" />'})]})]})]}),a.jsxs("section",{className:"w-full flex flex-col",children:[e.size>0&&a.jsxs("div",{className:"grid gap-4",children:[a.jsx(be,{_level:2,_label:"Submitted data"}),a.jsx("pre",{className:"text-base",children:a.jsx("code",{children:JSON.stringify(Object.fromEntries(e.entries()),null,2)})})]}),a.jsxs("form",{className:"grid gap-4",method:"get",noValidate:!0,children:[a.jsx(rn,{_name:"checkbox",_label:"Checkbox"}),a.jsx(Zn,{_name:"color",_label:"Color"}),a.jsx(Ie,{_name:"date",_label:"Date"}),a.jsx(Pn,{_name:"email",_label:"Email"}),a.jsx(Rn,{_name:"file",_label:"File"}),a.jsx(Rn,{_name:"file",_label:"Files (multiple)",_multiple:!0}),a.jsx(jn,{_name:"number",_label:"Number"}),a.jsx(Tn,{_name:"password",_label:"Password"}),a.jsx(An,{_name:"radio",_label:"Radio",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),a.jsx(Wn,{_name:"range",_label:"Range"}),a.jsx(Be,{_name:"text",_label:"Text"}),a.jsx(Gn,{_name:"select",_label:"Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),a.jsx(Gn,{_name:"select",_label:"Select (multiple)",_multiple:!0,_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],_rows:2}),a.jsx(ho,{_name:"singleSelect",_label:"Single Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),a.jsx(vo,{_name:"combobox",_label:"Combobox",_suggestions:Xo}),a.jsx(en,{_name:"textarea",_label:"Textarea",_rows:5}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Q,{_label:"Submit",_type:"submit",_variant:"primary"}),a.jsx(Q,{_label:"Reset",_type:"reset"})]}),a.jsx("input",{type:"hidden",value:crypto.randomUUID(),name:"random"})]})]})]})},OD=()=>{const[e,o]=z.useState(!1),[r,i]=z.useState(!1);z.useEffect(()=>{let h;return e&&(h=setTimeout(()=>{o(!1)},2e3)),()=>clearTimeout(h)},[e]),z.useEffect(()=>{let h;return r&&(h=setTimeout(()=>{i(!1)},2e3)),()=>clearTimeout(h)},[r]);const s=()=>o(!0),d=()=>i(!0),u=z.useMemo(()=>Array.from({length:5},(p,v)=>({_label:`Button ${v+1}`,_on:{onClick:s},_icons:e?"codicon codicon-loading codicon-modifier-spin":void 0,_disabled:e})),[e]),m=z.useMemo(()=>Array.from({length:5},(p,v)=>({_label:`Button ${v+1}`,_on:{onClick:d},_disabled:r,_icons:r?"codicon codicon-loading codicon-modifier-spin":void 0})),[r]);return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1rem"},children:[a.jsx(be,{_label:"Disabled Toolbar Buttons Bug (solved)"}),a.jsx(be,{_label:"icon vor disabled",_level:2}),a.jsx(ma,{_label:"KolToolbar A",_items:u}),a.jsx(be,{_label:"disabled vor icon",_level:2}),a.jsxs("p",{children:["Klicke auf einen der ",m.length-1," ersten Buttons hatte zur Folge, dass die nachfolgenden Buttons kaputt gehen."]}),a.jsx(ma,{_label:"KolToolbar B",_items:m})]})},$D=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This example demonstrates tooltip positioning within container query contexts. Container queries can interfere with fixed positioning, causing tooltips to render incorrectly relative to the viewport. The layout containment fix ensures tooltips position properly even when their parent elements use container-based sizing and layout rules."})}),a.jsx("div",{style:{container:"test / size",contain:"layout"},children:a.jsx(cb,{_label:"Sample PopoverButton—Click for Popover",_icons:"codicon codicon-info",_tooltipAlign:"right",_hideLabel:!0,children:"This is an explanation shown on click."})})]}),MD={scenarios:{"change-tabindex":CE,"custom-tooltip-css-properties":EE,"date-in-form":LE,"disabled-interactive-scenario":BE,"focus-elements":NE,"input-group-with-error":$E,"inputs-get-value":ME,"react-hook-form-adapter":cL,"same-height-of-all-interactive-elements":sL,"static-form":DD,"sample-form-with-validation":RD,"table-horizontal-scrollbar-advanced":OE,"toolbar-item-order":OD,"tooltip-positioning":$D,"performance-test":IE}},Km={...tA,...eT,...tT,...iT,...sT,...bT,...hT,...kT,...BT,...DT,...UT,...IT,...ZT,...YT,...cA,...fA,...bA,..._A,...kA,...LA,...RA,...$A,...D9,...U9,...V9,...P9,...iC,...sC,...uC,...yC,...wC,...AC,...EC,...BC,...RC,...$C,...O1,...O1,...PC,...JC,...qC,...n7,...J7,...iE,...hE,...gE,...xE,...jE,...AE,...MD};V0(localStorage);const r2=(e,o="/")=>{let r=[];for(const i in e)if(e[i]){const s=e[i],d=`${o}${i}`;typeof s=="function"?r.push(d):typeof s=="object"&&s!==null&&(r=r.concat(r2(s,`${d}/`)))}return r},a2=e=>{const o=[];for(const r in e)if(e[r]){const i=e[r],s=`/${r}`;if(typeof i=="function")o.push(a.jsx(ua,{path:s,element:a.jsx(i,{})},s)),o.push(a.jsx(ua,{path:`${s}/all`,element:a.jsx("div",{className:"d-grid gap-4",children:ym.filter(d=>U0.indexOf(d.value)>=0).map(d=>a.jsxs("div",{className:"d-grid gap-2",children:[a.jsx("div",{className:"mt-4",children:a.jsx("strong",{children:d.label})}),a.jsx("div",{className:"my-2",children:a.jsx(i,{})}),a.jsx("hr",{"aria-hidden":"true"})]},d.value))})},`${s}/all`));else if(typeof i=="object"&&i!==null){const d=Object.keys(i);d.length>0&&o.push(a.jsx(ua,{path:`${s}/*`,element:a.jsxs(My,{children:[a.jsx(ua,{path:"/",element:a.jsx($y,{to:d[0]})}),a2(i)]})},s))}}return o},Yb=r2(Km),UD=a2(Km),ky=new Map;Yb.forEach(e=>{const o=e.split("/");ky.has(o[1])||ky.set(o[1],{label:o[1],value:e})});const FD=()=>{const e=Wo(),[o,r]=Fr(),i=o.get("theme")??Ms(),s=o.has("hideMenus");JT(i),X8(),document.title=`KoliBri-Handout - ${Mb(Ms())} | v${Ob.version}`,document.body.setAttribute("class",i),document.body.dataset.theme=i;const d=u=>{r({theme:u}),window.location.reload()};return a.jsx(xm.Provider,{value:s,children:a.jsxs("div",{className:s?"":"app-container","data-theme":i,children:[!s&&a.jsx(Y8,{version:Ob.version,theme:i,sample:e.pathname,routes:Km,routeList:Yb,buildDate:"2025-11-30T08:03:25.869Z",commitHash:"33b73ac43",onThemeChange:d}),a.jsx("main",{className:"flex flex-col items-stretch p-4",id:"route-container",children:a.jsxs(My,{children:[UD,a.jsx(ua,{path:"*",element:a.jsx($y,{to:Yb[0],replace:!0})}),a.jsx(ua,{path:"back-page",element:a.jsx(V8,{})})]})})]})})},ID=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableI18nOverwriting"),HD=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableThemePatching"),Xb=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableTagNameTransformer"),Qb=e=>`${e}-sample`;Xb&&C4(Qb);const KD=async()=>[sS,WS,H8];(async()=>{try{await C5(await KD(),()=>{F3(window,{transformTagName:Xb?Qb:void 0})},{environment:"production",reflectInputValues:!0,theme:{detect:"auto"},translation:{name:"en"},translations:ID?new Set([o=>o("en",{"kol-error":"Tiny error!"}),o=>o("de",{"kol-error":"Kleiner Fehler!"})]):void 0,transformTagName:Xb?Qb:void 0}),HD&&ya.patchTheme("default",{"KOL-BUTTON":`
22466
+ `)}S.write("payload.value = newResult;"),S.write("return payload;");const y=S.compile();return(w,R)=>y(k,w,R)};let d;const u=Ks,m=!Ox.jitless,p=m&&mL.value,v=o.catchall;let g;e._zod.parse=(k,S)=>{g??(g=i.value);const B=k.value;return u(B)?m&&p&&S?.async===!1&&S.jitless!==!0?(d||(d=s(o.shape)),k=d(k,S),v?Xx([],B,k,S,g,e):k):r(k,S):(k.issues.push({expected:"object",code:"invalid_type",input:B,inst:e}),k)}});function ny(e,o,r,i){for(const d of e)if(d.issues.length===0)return o.value=d.value,o;const s=e.filter(d=>!vl(d));return s.length===1?(o.value=s[0].value,s[0]):(o.issues.push({code:"invalid_union",input:o.value,inst:r,errors:e.map(d=>d.issues.map(u=>va(u,i,_a())))}),o)}const rN=W("$ZodUnion",(e,o)=>{$n.init(e,o),gn(e._zod,"optin",()=>o.options.some(s=>s._zod.optin==="optional")?"optional":void 0),gn(e._zod,"optout",()=>o.options.some(s=>s._zod.optout==="optional")?"optional":void 0),gn(e._zod,"values",()=>{if(o.options.every(s=>s._zod.values))return new Set(o.options.flatMap(s=>Array.from(s._zod.values)))}),gn(e._zod,"pattern",()=>{if(o.options.every(s=>s._zod.pattern)){const s=o.options.map(d=>d._zod.pattern);return new RegExp(`^(${s.map(d=>Um(d.source)).join("|")})$`)}});const r=o.options.length===1,i=o.options[0]._zod.run;e._zod.parse=(s,d)=>{if(r)return i(s,d);let u=!1;const m=[];for(const h of o.options){const p=h._zod.run({value:s.value,issues:[]},d);if(p instanceof Promise)m.push(p),u=!0;else{if(p.issues.length===0)return p;m.push(p)}}return u?Promise.all(m).then(h=>ny(h,s,e,d)):ny(m,s,e,d)}}),aN=W("$ZodIntersection",(e,o)=>{$n.init(e,o),e._zod.parse=(r,i)=>{const s=r.value,d=o.left._zod.run({value:s,issues:[]},i),u=o.right._zod.run({value:s,issues:[]},i);return d instanceof Promise||u instanceof Promise?Promise.all([d,u]).then(([h,p])=>oy(r,h,p)):oy(r,d,u)}});function Zb(e,o){if(e===o)return{valid:!0,data:e};if(e instanceof Date&&o instanceof Date&&+e==+o)return{valid:!0,data:e};if(Ki(e)&&Ki(o)){const r=Object.keys(o),i=Object.keys(e).filter(d=>r.indexOf(d)!==-1),s={...e,...o};for(const d of i){const u=Zb(e[d],o[d]);if(!u.valid)return{valid:!1,mergeErrorPath:[d,...u.mergeErrorPath]};s[d]=u.data}return{valid:!0,data:s}}if(Array.isArray(e)&&Array.isArray(o)){if(e.length!==o.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let i=0;i<e.length;i++){const s=e[i],d=o[i],u=Zb(s,d);if(!u.valid)return{valid:!1,mergeErrorPath:[i,...u.mergeErrorPath]};r.push(u.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function oy(e,o,r){if(o.issues.length&&e.issues.push(...o.issues),r.issues.length&&e.issues.push(...r.issues),vl(e))return e;const i=Zb(o.value,r.value);if(!i.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(i.mergeErrorPath)}`);return e.value=i.data,e}const lN=W("$ZodEnum",(e,o)=>{$n.init(e,o);const r=fL(o.entries),i=new Set(r);e._zod.values=i,e._zod.pattern=new RegExp(`^(${r.filter(s=>hL.has(typeof s)).map(s=>typeof s=="string"?td(s):s.toString()).join("|")})$`),e._zod.parse=(s,d)=>{const u=s.value;return i.has(u)||s.issues.push({code:"invalid_value",values:r,input:u,inst:e}),s}}),iN=W("$ZodTransform",(e,o)=>{$n.init(e,o),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Dx(e.constructor.name);const s=o.transform(r.value,r);if(i.async)return(s instanceof Promise?s:Promise.resolve(s)).then(u=>(r.value=u,r));if(s instanceof Promise)throw new yl;return r.value=s,r}});function ty(e,o){return e.issues.length&&o===void 0?{issues:[],value:void 0}:e}const cN=W("$ZodOptional",(e,o)=>{$n.init(e,o),e._zod.optin="optional",e._zod.optout="optional",gn(e._zod,"values",()=>o.innerType._zod.values?new Set([...o.innerType._zod.values,void 0]):void 0),gn(e._zod,"pattern",()=>{const r=o.innerType._zod.pattern;return r?new RegExp(`^(${Um(r.source)})?$`):void 0}),e._zod.parse=(r,i)=>{if(o.innerType._zod.optin==="optional"){const s=o.innerType._zod.run(r,i);return s instanceof Promise?s.then(d=>ty(d,r.value)):ty(s,r.value)}return r.value===void 0?r:o.innerType._zod.run(r,i)}}),sN=W("$ZodNullable",(e,o)=>{$n.init(e,o),gn(e._zod,"optin",()=>o.innerType._zod.optin),gn(e._zod,"optout",()=>o.innerType._zod.optout),gn(e._zod,"pattern",()=>{const r=o.innerType._zod.pattern;return r?new RegExp(`^(${Um(r.source)}|null)$`):void 0}),gn(e._zod,"values",()=>o.innerType._zod.values?new Set([...o.innerType._zod.values,null]):void 0),e._zod.parse=(r,i)=>r.value===null?r:o.innerType._zod.run(r,i)}),dN=W("$ZodDefault",(e,o)=>{$n.init(e,o),e._zod.optin="optional",gn(e._zod,"values",()=>o.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return o.innerType._zod.run(r,i);if(r.value===void 0)return r.value=o.defaultValue,r;const s=o.innerType._zod.run(r,i);return s instanceof Promise?s.then(d=>ry(d,o)):ry(s,o)}});function ry(e,o){return e.value===void 0&&(e.value=o.defaultValue),e}const fN=W("$ZodPrefault",(e,o)=>{$n.init(e,o),e._zod.optin="optional",gn(e._zod,"values",()=>o.innerType._zod.values),e._zod.parse=(r,i)=>(i.direction==="backward"||r.value===void 0&&(r.value=o.defaultValue),o.innerType._zod.run(r,i))}),uN=W("$ZodNonOptional",(e,o)=>{$n.init(e,o),gn(e._zod,"values",()=>{const r=o.innerType._zod.values;return r?new Set([...r].filter(i=>i!==void 0)):void 0}),e._zod.parse=(r,i)=>{const s=o.innerType._zod.run(r,i);return s instanceof Promise?s.then(d=>ay(d,e)):ay(s,e)}});function ay(e,o){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:o}),e}const bN=W("$ZodCatch",(e,o)=>{$n.init(e,o),gn(e._zod,"optin",()=>o.innerType._zod.optin),gn(e._zod,"optout",()=>o.innerType._zod.optout),gn(e._zod,"values",()=>o.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return o.innerType._zod.run(r,i);const s=o.innerType._zod.run(r,i);return s instanceof Promise?s.then(d=>(r.value=d.value,d.issues.length&&(r.value=o.catchValue({...r,error:{issues:d.issues.map(u=>va(u,i,_a()))},input:r.value}),r.issues=[]),r)):(r.value=s.value,s.issues.length&&(r.value=o.catchValue({...r,error:{issues:s.issues.map(d=>va(d,i,_a()))},input:r.value}),r.issues=[]),r)}}),mN=W("$ZodPipe",(e,o)=>{$n.init(e,o),gn(e._zod,"values",()=>o.in._zod.values),gn(e._zod,"optin",()=>o.in._zod.optin),gn(e._zod,"optout",()=>o.out._zod.optout),gn(e._zod,"propValues",()=>o.in._zod.propValues),e._zod.parse=(r,i)=>{if(i.direction==="backward"){const d=o.out._zod.run(r,i);return d instanceof Promise?d.then(u=>_s(u,o.in,i)):_s(d,o.in,i)}const s=o.in._zod.run(r,i);return s instanceof Promise?s.then(d=>_s(d,o.out,i)):_s(s,o.out,i)}});function _s(e,o,r){return e.issues.length?(e.aborted=!0,e):o._zod.run({value:e.value,issues:e.issues},r)}const hN=W("$ZodReadonly",(e,o)=>{$n.init(e,o),gn(e._zod,"propValues",()=>o.innerType._zod.propValues),gn(e._zod,"values",()=>o.innerType._zod.values),gn(e._zod,"optin",()=>o.innerType?._zod?.optin),gn(e._zod,"optout",()=>o.innerType?._zod?.optout),e._zod.parse=(r,i)=>{if(i.direction==="backward")return o.innerType._zod.run(r,i);const s=o.innerType._zod.run(r,i);return s instanceof Promise?s.then(ly):ly(s)}});function ly(e){return e.value=Object.freeze(e.value),e}const pN=W("$ZodCustom",(e,o)=>{Uo.init(e,o),$n.init(e,o),e._zod.parse=(r,i)=>r,e._zod.check=r=>{const i=r.value,s=o.fn(i);if(s instanceof Promise)return s.then(d=>iy(d,r,i,e));iy(s,r,i,e)}});function iy(e,o,r,i){if(!e){const s={code:"custom",input:r,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(s.params=i._zod.def.params),o.issues.push(Vi(s))}}var cy;class _N{constructor(){this._map=new WeakMap,this._idmap=new Map}add(o,...r){const i=r[0];if(this._map.set(o,i),i&&typeof i=="object"&&"id"in i){if(this._idmap.has(i.id))throw new Error(`ID ${i.id} already exists in the registry`);this._idmap.set(i.id,o)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(o){const r=this._map.get(o);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(o),this}get(o){const r=o._zod.parent;if(r){const i={...this.get(r)??{}};delete i.id;const s={...i,...this._map.get(o)};return Object.keys(s).length?s:void 0}return this._map.get(o)}has(o){return this._map.has(o)}}function vN(){return new _N}(cy=globalThis).__zod_globalRegistry??(cy.__zod_globalRegistry=vN());const vs=globalThis.__zod_globalRegistry;function gN(e,o){return new e({type:"string",...Se(o)})}function kN(e,o){return new e({type:"string",format:"email",check:"string_format",abort:!1,...Se(o)})}function sy(e,o){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...Se(o)})}function yN(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...Se(o)})}function xN(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Se(o)})}function wN(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Se(o)})}function zN(e,o){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Se(o)})}function jN(e,o){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Se(o)})}function SN(e,o){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...Se(o)})}function TN(e,o){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...Se(o)})}function AN(e,o){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...Se(o)})}function CN(e,o){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...Se(o)})}function EN(e,o){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...Se(o)})}function LN(e,o){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...Se(o)})}function BN(e,o){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...Se(o)})}function NN(e,o){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...Se(o)})}function RN(e,o){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...Se(o)})}function DN(e,o){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Se(o)})}function ON(e,o){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Se(o)})}function $N(e,o){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...Se(o)})}function MN(e,o){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...Se(o)})}function UN(e,o){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...Se(o)})}function FN(e,o){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...Se(o)})}function IN(e,o){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Se(o)})}function HN(e,o){return new e({type:"string",format:"date",check:"string_format",...Se(o)})}function KN(e,o){return new e({type:"string",format:"time",check:"string_format",precision:null,...Se(o)})}function VN(e,o){return new e({type:"string",format:"duration",check:"string_format",...Se(o)})}function qN(e,o){return new e({type:"number",checks:[],...Se(o)})}function ZN(e,o){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...Se(o)})}function PN(e,o){return new e({type:"boolean",...Se(o)})}function GN(e){return new e({type:"unknown"})}function YN(e,o){return new e({type:"never",...Se(o)})}function XN(e,o){return new e({type:"date",...Se(o)})}function dy(e,o){return new qx({check:"less_than",...Se(o),value:e,inclusive:!1})}function Cs(e,o){return new qx({check:"less_than",...Se(o),value:e,inclusive:!0})}function fy(e,o){return new Zx({check:"greater_than",...Se(o),value:e,inclusive:!1})}function Es(e,o){return new Zx({check:"greater_than",...Se(o),value:e,inclusive:!0})}function uy(e,o){return new fB({check:"multiple_of",...Se(o),value:e})}function Qx(e,o){return new bB({check:"max_length",...Se(o),maximum:e})}function qs(e,o){return new mB({check:"min_length",...Se(o),minimum:e})}function Jx(e,o){return new hB({check:"length_equals",...Se(o),length:e})}function QN(e,o){return new pB({check:"string_format",format:"regex",...Se(o),pattern:e})}function JN(e){return new _B({check:"string_format",format:"lowercase",...Se(e)})}function WN(e){return new vB({check:"string_format",format:"uppercase",...Se(e)})}function eR(e,o){return new gB({check:"string_format",format:"includes",...Se(o),includes:e})}function nR(e,o){return new kB({check:"string_format",format:"starts_with",...Se(o),prefix:e})}function oR(e,o){return new yB({check:"string_format",format:"ends_with",...Se(o),suffix:e})}function Sl(e){return new xB({check:"overwrite",tx:e})}function tR(e){return Sl(o=>o.normalize(e))}function rR(){return Sl(e=>e.trim())}function aR(){return Sl(e=>e.toLowerCase())}function lR(){return Sl(e=>e.toUpperCase())}function iR(){return Sl(e=>bL(e))}function cR(e,o,r){return new e({type:"array",element:o,...Se(r)})}function sR(e,o,r){return new e({type:"custom",check:"custom",fn:o,...Se(r)})}function dR(e){const o=fR(r=>(r.addIssue=i=>{if(typeof i=="string")r.issues.push(Vi(i,r.value,o._zod.def));else{const s=i;s.fatal&&(s.continue=!1),s.code??(s.code="custom"),s.input??(s.input=r.value),s.inst??(s.inst=o),s.continue??(s.continue=!o._zod.def.abort),r.issues.push(Vi(s))}},e(r.value,r)));return o}function fR(e,o){const r=new Uo({check:"custom",...Se(o)});return r._zod.check=e,r}function by(e,o){try{var r=e()}catch(i){return o(i)}return r&&r.then?r.then(void 0,o):r}function uR(e,o){for(var r={};e.length;){var i=e[0],s=i.code,d=i.message,u=i.path.join(".");if(!r[u])if("unionErrors"in i){var m=i.unionErrors[0].errors[0];r[u]={message:m.message,type:m.code}}else r[u]={message:d,type:s};if("unionErrors"in i&&i.unionErrors.forEach(function(v){return v.errors.forEach(function(g){return e.push(g)})}),o){var h=r[u].types,p=h&&h[i.code];r[u]=Em(u,o,r,s,p?[].concat(p,i.message):i.message)}e.shift()}return r}function bR(e,o){for(var r={};e.length;){var i=e[0],s=i.code,d=i.message,u=i.path.join(".");if(!r[u])if(i.code==="invalid_union"&&i.errors.length>0){var m=i.errors[0][0];r[u]={message:m.message,type:m.code}}else r[u]={message:d,type:s};if(i.code==="invalid_union"&&i.errors.forEach(function(v){return v.forEach(function(g){return e.push(g)})}),o){var h=r[u].types,p=h&&h[i.code];r[u]=Em(u,o,r,s,p?[].concat(p,i.message):i.message)}e.shift()}return r}function mR(e,o,r){if(r===void 0&&(r={}),(function(i){return"_def"in i&&typeof i._def=="object"&&"typeName"in i._def})(e))return function(i,s,d){try{return Promise.resolve(by(function(){return Promise.resolve(e[r.mode==="sync"?"parse":"parseAsync"](i,o)).then(function(u){return d.shouldUseNativeValidation&&Vb({},d),{errors:{},values:r.raw?Object.assign({},i):u}})},function(u){if((function(m){return Array.isArray(m?.issues)})(u))return{values:{},errors:Y1(uR(u.errors,!d.shouldUseNativeValidation&&d.criteriaMode==="all"),d)};throw u}))}catch(u){return Promise.reject(u)}};if((function(i){return"_zod"in i&&typeof i._zod=="object"})(e))return function(i,s,d){try{return Promise.resolve(by(function(){return Promise.resolve((r.mode==="sync"?TL:AL)(e,i,o)).then(function(u){return d.shouldUseNativeValidation&&Vb({},d),{errors:{},values:r.raw?Object.assign({},i):u}})},function(u){if((function(m){return m instanceof Im})(u))return{values:{},errors:Y1(bR(u.issues,!d.shouldUseNativeValidation&&d.criteriaMode==="all"),d)};throw u}))}catch(u){return Promise.reject(u)}};throw new Error("Invalid input: not a Zod schema")}const hR=W("ZodISODateTime",(e,o)=>{OB.init(e,o),En.init(e,o)});function pR(e){return IN(hR,e)}const _R=W("ZodISODate",(e,o)=>{$B.init(e,o),En.init(e,o)});function vR(e){return HN(_R,e)}const gR=W("ZodISOTime",(e,o)=>{MB.init(e,o),En.init(e,o)});function kR(e){return KN(gR,e)}const yR=W("ZodISODuration",(e,o)=>{UB.init(e,o),En.init(e,o)});function xR(e){return VN(yR,e)}const wR=(e,o)=>{Im.init(e,o),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>SL(e,r)},flatten:{value:r=>jL(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,qb,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,qb,2)}},isEmpty:{get(){return e.issues.length===0}}})},ut=W("ZodError",wR,{Parent:Error}),zR=ad(ut),jR=ld(ut),SR=id(ut),TR=cd(ut),AR=LL(ut),CR=BL(ut),ER=NL(ut),LR=RL(ut),BR=DL(ut),NR=OL(ut),RR=$L(ut),DR=ML(ut),Fn=W("ZodType",(e,o)=>($n.init(e,o),e.def=o,e.type=o.type,Object.defineProperty(e,"_def",{value:o}),e.check=(...r)=>e.clone(wa(o,{checks:[...o.checks??[],...r.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]})),e.clone=(r,i)=>Hr(e,r,i),e.brand=()=>e,e.register=((r,i)=>(r.add(e,i),e)),e.parse=(r,i)=>zR(e,r,i,{callee:e.parse}),e.safeParse=(r,i)=>SR(e,r,i),e.parseAsync=async(r,i)=>jR(e,r,i,{callee:e.parseAsync}),e.safeParseAsync=async(r,i)=>TR(e,r,i),e.spa=e.safeParseAsync,e.encode=(r,i)=>AR(e,r,i),e.decode=(r,i)=>CR(e,r,i),e.encodeAsync=async(r,i)=>ER(e,r,i),e.decodeAsync=async(r,i)=>LR(e,r,i),e.safeEncode=(r,i)=>BR(e,r,i),e.safeDecode=(r,i)=>NR(e,r,i),e.safeEncodeAsync=async(r,i)=>RR(e,r,i),e.safeDecodeAsync=async(r,i)=>DR(e,r,i),e.refine=(r,i)=>e.check(ED(r,i)),e.superRefine=r=>e.check(LD(r)),e.overwrite=r=>e.check(Sl(r)),e.optional=()=>vy(e),e.nullable=()=>gy(e),e.nullish=()=>vy(gy(e)),e.nonoptional=r=>wD(e,r),e.array=()=>sD(e),e.or=r=>bD([e,r]),e.and=r=>hD(e,r),e.transform=r=>Gb(e,n2(r)),e.default=r=>kD(e,r),e.prefault=r=>xD(e,r),e.catch=r=>jD(e,r),e.pipe=r=>Gb(e,r),e.readonly=()=>AD(e),e.describe=r=>{const i=e.clone();return vs.add(i,{description:r}),i},Object.defineProperty(e,"description",{get(){return vs.get(e)?.description},configurable:!0}),e.meta=(...r)=>{if(r.length===0)return vs.get(e);const i=e.clone();return vs.add(i,r[0]),i},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),Wx=W("_ZodString",(e,o)=>{Hm.init(e,o),Fn.init(e,o);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...i)=>e.check(QN(...i)),e.includes=(...i)=>e.check(eR(...i)),e.startsWith=(...i)=>e.check(nR(...i)),e.endsWith=(...i)=>e.check(oR(...i)),e.min=(...i)=>e.check(qs(...i)),e.max=(...i)=>e.check(Qx(...i)),e.length=(...i)=>e.check(Jx(...i)),e.nonempty=(...i)=>e.check(qs(1,...i)),e.lowercase=i=>e.check(JN(i)),e.uppercase=i=>e.check(WN(i)),e.trim=()=>e.check(rR()),e.normalize=(...i)=>e.check(tR(...i)),e.toLowerCase=()=>e.check(aR()),e.toUpperCase=()=>e.check(lR()),e.slugify=()=>e.check(iR())}),OR=W("ZodString",(e,o)=>{Hm.init(e,o),Wx.init(e,o),e.email=r=>e.check(kN($R,r)),e.url=r=>e.check(jN(MR,r)),e.jwt=r=>e.check(FN(WR,r)),e.emoji=r=>e.check(SN(UR,r)),e.guid=r=>e.check(sy(my,r)),e.uuid=r=>e.check(yN(gs,r)),e.uuidv4=r=>e.check(xN(gs,r)),e.uuidv6=r=>e.check(wN(gs,r)),e.uuidv7=r=>e.check(zN(gs,r)),e.nanoid=r=>e.check(TN(FR,r)),e.guid=r=>e.check(sy(my,r)),e.cuid=r=>e.check(AN(IR,r)),e.cuid2=r=>e.check(CN(HR,r)),e.ulid=r=>e.check(EN(KR,r)),e.base64=r=>e.check($N(XR,r)),e.base64url=r=>e.check(MN(QR,r)),e.xid=r=>e.check(LN(VR,r)),e.ksuid=r=>e.check(BN(qR,r)),e.ipv4=r=>e.check(NN(ZR,r)),e.ipv6=r=>e.check(RN(PR,r)),e.cidrv4=r=>e.check(DN(GR,r)),e.cidrv6=r=>e.check(ON(YR,r)),e.e164=r=>e.check(UN(JR,r)),e.datetime=r=>e.check(pR(r)),e.date=r=>e.check(vR(r)),e.time=r=>e.check(kR(r)),e.duration=r=>e.check(xR(r))});function Qt(e){return gN(OR,e)}const En=W("ZodStringFormat",(e,o)=>{Sn.init(e,o),Wx.init(e,o)}),$R=W("ZodEmail",(e,o)=>{TB.init(e,o),En.init(e,o)}),my=W("ZodGUID",(e,o)=>{jB.init(e,o),En.init(e,o)}),gs=W("ZodUUID",(e,o)=>{SB.init(e,o),En.init(e,o)}),MR=W("ZodURL",(e,o)=>{AB.init(e,o),En.init(e,o)}),UR=W("ZodEmoji",(e,o)=>{CB.init(e,o),En.init(e,o)}),FR=W("ZodNanoID",(e,o)=>{EB.init(e,o),En.init(e,o)}),IR=W("ZodCUID",(e,o)=>{LB.init(e,o),En.init(e,o)}),HR=W("ZodCUID2",(e,o)=>{BB.init(e,o),En.init(e,o)}),KR=W("ZodULID",(e,o)=>{NB.init(e,o),En.init(e,o)}),VR=W("ZodXID",(e,o)=>{RB.init(e,o),En.init(e,o)}),qR=W("ZodKSUID",(e,o)=>{DB.init(e,o),En.init(e,o)}),ZR=W("ZodIPv4",(e,o)=>{FB.init(e,o),En.init(e,o)}),PR=W("ZodIPv6",(e,o)=>{IB.init(e,o),En.init(e,o)}),GR=W("ZodCIDRv4",(e,o)=>{HB.init(e,o),En.init(e,o)}),YR=W("ZodCIDRv6",(e,o)=>{KB.init(e,o),En.init(e,o)}),XR=W("ZodBase64",(e,o)=>{VB.init(e,o),En.init(e,o)}),QR=W("ZodBase64URL",(e,o)=>{ZB.init(e,o),En.init(e,o)}),JR=W("ZodE164",(e,o)=>{PB.init(e,o),En.init(e,o)}),WR=W("ZodJWT",(e,o)=>{YB.init(e,o),En.init(e,o)}),e2=W("ZodNumber",(e,o)=>{Gx.init(e,o),Fn.init(e,o),e.gt=(i,s)=>e.check(fy(i,s)),e.gte=(i,s)=>e.check(Es(i,s)),e.min=(i,s)=>e.check(Es(i,s)),e.lt=(i,s)=>e.check(dy(i,s)),e.lte=(i,s)=>e.check(Cs(i,s)),e.max=(i,s)=>e.check(Cs(i,s)),e.int=i=>e.check(py(i)),e.safe=i=>e.check(py(i)),e.positive=i=>e.check(fy(0,i)),e.nonnegative=i=>e.check(Es(0,i)),e.negative=i=>e.check(dy(0,i)),e.nonpositive=i=>e.check(Cs(0,i)),e.multipleOf=(i,s)=>e.check(uy(i,s)),e.step=(i,s)=>e.check(uy(i,s)),e.finite=()=>e;const r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function hy(e){return qN(e2,e)}const eD=W("ZodNumberFormat",(e,o)=>{XB.init(e,o),e2.init(e,o)});function py(e){return ZN(eD,e)}const nD=W("ZodBoolean",(e,o)=>{QB.init(e,o),Fn.init(e,o)});function oD(e){return PN(nD,e)}const tD=W("ZodUnknown",(e,o)=>{JB.init(e,o),Fn.init(e,o)});function _y(){return GN(tD)}const rD=W("ZodNever",(e,o)=>{WB.init(e,o),Fn.init(e,o)});function aD(e){return YN(rD,e)}const lD=W("ZodDate",(e,o)=>{eN.init(e,o),Fn.init(e,o),e.min=(i,s)=>e.check(Es(i,s)),e.max=(i,s)=>e.check(Cs(i,s));const r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});function iD(e){return XN(lD,e)}const cD=W("ZodArray",(e,o)=>{nN.init(e,o),Fn.init(e,o),e.element=o.element,e.min=(r,i)=>e.check(qs(r,i)),e.nonempty=r=>e.check(qs(1,r)),e.max=(r,i)=>e.check(Qx(r,i)),e.length=(r,i)=>e.check(Jx(r,i)),e.unwrap=()=>e.element});function sD(e,o){return cR(cD,e,o)}const dD=W("ZodObject",(e,o)=>{tN.init(e,o),Fn.init(e,o),gn(e,"shape",()=>o.shape),e.keyof=()=>pD(Object.keys(e._zod.def.shape)),e.catchall=r=>e.clone({...e._zod.def,catchall:r}),e.passthrough=()=>e.clone({...e._zod.def,catchall:_y()}),e.loose=()=>e.clone({...e._zod.def,catchall:_y()}),e.strict=()=>e.clone({...e._zod.def,catchall:aD()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=r=>kL(e,r),e.safeExtend=r=>yL(e,r),e.merge=r=>xL(e,r),e.pick=r=>vL(e,r),e.omit=r=>gL(e,r),e.partial=(...r)=>wL(o2,e,r[0]),e.required=(...r)=>zL(t2,e,r[0])});function fD(e,o){const r={type:"object",shape:e??{},...Se(o)};return new dD(r)}const uD=W("ZodUnion",(e,o)=>{rN.init(e,o),Fn.init(e,o),e.options=o.options});function bD(e,o){return new uD({type:"union",options:e,...Se(o)})}const mD=W("ZodIntersection",(e,o)=>{aN.init(e,o),Fn.init(e,o)});function hD(e,o){return new mD({type:"intersection",left:e,right:o})}const Pb=W("ZodEnum",(e,o)=>{lN.init(e,o),Fn.init(e,o),e.enum=o.entries,e.options=Object.values(o.entries);const r=new Set(Object.keys(o.entries));e.extract=(i,s)=>{const d={};for(const u of i)if(r.has(u))d[u]=o.entries[u];else throw new Error(`Key ${u} not found in enum`);return new Pb({...o,checks:[],...Se(s),entries:d})},e.exclude=(i,s)=>{const d={...o.entries};for(const u of i)if(r.has(u))delete d[u];else throw new Error(`Key ${u} not found in enum`);return new Pb({...o,checks:[],...Se(s),entries:d})}});function pD(e,o){const r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Pb({type:"enum",entries:r,...Se(o)})}const _D=W("ZodTransform",(e,o)=>{iN.init(e,o),Fn.init(e,o),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Dx(e.constructor.name);r.addIssue=d=>{if(typeof d=="string")r.issues.push(Vi(d,r.value,o));else{const u=d;u.fatal&&(u.continue=!1),u.code??(u.code="custom"),u.input??(u.input=r.value),u.inst??(u.inst=e),r.issues.push(Vi(u))}};const s=o.transform(r.value,r);return s instanceof Promise?s.then(d=>(r.value=d,r)):(r.value=s,r)}});function n2(e){return new _D({type:"transform",transform:e})}const o2=W("ZodOptional",(e,o)=>{cN.init(e,o),Fn.init(e,o),e.unwrap=()=>e._zod.def.innerType});function vy(e){return new o2({type:"optional",innerType:e})}const vD=W("ZodNullable",(e,o)=>{sN.init(e,o),Fn.init(e,o),e.unwrap=()=>e._zod.def.innerType});function gy(e){return new vD({type:"nullable",innerType:e})}const gD=W("ZodDefault",(e,o)=>{dN.init(e,o),Fn.init(e,o),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function kD(e,o){return new gD({type:"default",innerType:e,get defaultValue(){return typeof o=="function"?o():Mx(o)}})}const yD=W("ZodPrefault",(e,o)=>{fN.init(e,o),Fn.init(e,o),e.unwrap=()=>e._zod.def.innerType});function xD(e,o){return new yD({type:"prefault",innerType:e,get defaultValue(){return typeof o=="function"?o():Mx(o)}})}const t2=W("ZodNonOptional",(e,o)=>{uN.init(e,o),Fn.init(e,o),e.unwrap=()=>e._zod.def.innerType});function wD(e,o){return new t2({type:"nonoptional",innerType:e,...Se(o)})}const zD=W("ZodCatch",(e,o)=>{bN.init(e,o),Fn.init(e,o),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function jD(e,o){return new zD({type:"catch",innerType:e,catchValue:typeof o=="function"?o:()=>o})}const SD=W("ZodPipe",(e,o)=>{mN.init(e,o),Fn.init(e,o),e.in=o.in,e.out=o.out});function Gb(e,o){return new SD({type:"pipe",in:e,out:o})}const TD=W("ZodReadonly",(e,o)=>{hN.init(e,o),Fn.init(e,o),e.unwrap=()=>e._zod.def.innerType});function AD(e){return new TD({type:"readonly",innerType:e})}const CD=W("ZodCustom",(e,o)=>{pN.init(e,o),Fn.init(e,o)});function ED(e,o={}){return sR(CD,e,o)}function LD(e){return dR(e)}function BD(e,o){return Gb(n2(e),o)}const ND=fD({date:BD(e=>typeof e=="string"||e instanceof Date?new Date(e):void 0,iD({message:"Date is required"}).refine(e=>!isNaN(e.getTime()),{message:"Invalid date"})),text:Qt({message:"Please enter text."}).min(10,"Text must be at least 10 characters long."),email:Qt({message:"Please enter your email."}).min(1,"Please enter your email.").email("Invalid email address."),password:Qt({message:"Please enter a password."}).min(8,"Password must be at least 8 characters.").regex(/[A-Z]/,"Password must include at least one uppercase letter.").regex(/[0-9]/,"Password must include at least one number."),range:hy({message:"Please select a range."}).min(30,"Minimum value is 30."),number:hy({message:"Please enter a number."}).min(1,"Minimum is 1.").max(10,"Maximum is 10."),checkbox:oD().refine(e=>e===!0,{message:"You must accept the terms and conditions."}),radio:Qt({message:"Please select a gender."}).min(1,"Please select a gender."),color:Qt({message:"Please select a color."}).min(1,"Please select a color."),select:Qt({message:"Please select a value."}).min(1,"Please select a value."),singleSelect:Qt({message:"Please select a single option."}).min(1,"Please select a single option."),combobox:Qt({message:"Please select a country."}).min(1,"Please select a country."),textarea:Qt({message:"Please enter a message."}).min(1,"Please enter a message.")}),RD=()=>{const{dummyClickEventHandler:e}=On(),{handleSubmit:o,formState:{errors:r},reset:i,control:s}=ed({mode:"onBlur",reValidateMode:"onChange",resolver:mR(ND),defaultValues:{range:30,number:5}}),d=()=>{i(void 0,{keepErrors:!1,keepTouched:!1,keepDirty:!1})},u=Object.entries(r).map(([m,h])=>[m,h.message]).filter(([,m])=>!!m);return a.jsxs("section",{className:"w-full max-w-3xl mx-auto p-6",children:[a.jsx(be,{_level:2,_label:"Sample Form with Validation (Zod)"}),a.jsx(V,{children:a.jsxs("p",{children:["This example shows validation with ",a.jsx("code",{children:"react-hook-form"}),", ",a.jsx("code",{children:"Zod"}),", and an error list."]})}),u.length>0&&a.jsx(_o,{_type:"error",_label:"Please fix the following:",_alert:!0,_variant:"card",children:a.jsx("ul",{className:"list-disc pl-5",children:u.map(([m,h],p)=>a.jsx("li",{children:a.jsx(ke,{_label:h,_href:`#field-${m}`,_on:{onClick:v=>{v.preventDefault(),document.getElementById(`field-${m}`)?.focus()}}})},p))})}),a.jsxs("form",{onSubmit:o(e),noValidate:!0,className:"grid gap-4 mt-6",children:[a.jsx(Tx,{control:s,name:"date",_label:"Date"}),a.jsx(Kb,{control:s,name:"text",_label:"Text (≥ 10 chars)"}),a.jsx(zx,{control:s,name:"email",_label:"Email"}),a.jsx(wx,{control:s,name:"password",_label:"Password"}),a.jsx(Sx,{control:s,name:"range",_label:"Range (≥ 30)",_min:0,_max:100}),a.jsx(jx,{control:s,name:"number",_label:"Number (1 – 10)"}),a.jsx(Rx,{control:s,name:"checkbox",_label:"Accept terms"}),a.jsx(Nx,{control:s,name:"radio",_label:"Gender",_options:[{label:"Female",value:"f"},{label:"Male",value:"m"}]}),a.jsx(Ax,{control:s,name:"color",_label:"Favorite Color"}),a.jsx(Lx,{control:s,name:"select",_label:"Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),a.jsx(Bx,{control:s,name:"singleSelect",_label:"Single Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),a.jsx(Ex,{control:s,name:"combobox",_label:"Country",_suggestions:Xo}),a.jsx(Cx,{control:s,name:"textarea",_label:"Message",_rows:4}),a.jsxs("div",{className:"flex gap-4 mt-4",children:[a.jsx(Q,{_label:"Submit",_type:"submit",_variant:"primary"}),a.jsx(Q,{_label:"Reset",_type:"reset",onClick:d})]})]})]})},DD=()=>{const{searchParams:e}=new URL(location.href);return a.jsxs(a.Fragment,{children:[a.jsxs(V,{children:[a.jsx("p",{children:"This sample shows how KoliBri can be used in a static form context."}),a.jsxs("ol",{children:[a.jsxs("li",{children:["First you have to enable the ",a.jsx("code",{children:"experimental mode"}),":"," ",a.jsx("code",{className:"bg-gray-200",children:'<meta name="kolibri" content="dev-mode=false;experimental-mode=true;" />'})]}),a.jsxs("li",{children:["Currently you have to use a native ",a.jsx("code",{children:"form"})," element:"," ",a.jsx("code",{className:"bg-gray-200",children:'<form method="GET">...</form>'})]}),a.jsxs("li",{children:["It is important in static usage to give every input a ",a.jsx("code",{children:"name"})," attribute:"," ",a.jsx("code",{className:"bg-gray-200",children:'<KolInputColor _name="color" _label="Color" />'})]}),a.jsxs("li",{children:["Last of all one button should have the type ",a.jsx("code",{children:"submit"}),":"," ",a.jsx("code",{className:"bg-gray-200",children:'<KolButton _label="Submit" _type="submit" _variant="primary" />'})]})]})]}),a.jsxs("section",{className:"w-full flex flex-col",children:[e.size>0&&a.jsxs("div",{className:"grid gap-4",children:[a.jsx(be,{_level:2,_label:"Submitted data"}),a.jsx("pre",{className:"text-base",children:a.jsx("code",{children:JSON.stringify(Object.fromEntries(e.entries()),null,2)})})]}),a.jsxs("form",{className:"grid gap-4",method:"get",noValidate:!0,children:[a.jsx(rn,{_name:"checkbox",_label:"Checkbox"}),a.jsx(Zn,{_name:"color",_label:"Color"}),a.jsx(Ie,{_name:"date",_label:"Date"}),a.jsx(Pn,{_name:"email",_label:"Email"}),a.jsx(Rn,{_name:"file",_label:"File"}),a.jsx(Rn,{_name:"file",_label:"Files (multiple)",_multiple:!0}),a.jsx(jn,{_name:"number",_label:"Number"}),a.jsx(Tn,{_name:"password",_label:"Password"}),a.jsx(An,{_name:"radio",_label:"Radio",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),a.jsx(Wn,{_name:"range",_label:"Range"}),a.jsx(Be,{_name:"text",_label:"Text"}),a.jsx(Gn,{_name:"select",_label:"Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),a.jsx(Gn,{_name:"select",_label:"Select (multiple)",_multiple:!0,_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}],_rows:2}),a.jsx(ho,{_name:"singleSelect",_label:"Single Select",_options:[{label:"Option A",value:"A"},{label:"Option B",value:"B"}]}),a.jsx(vo,{_name:"combobox",_label:"Combobox",_suggestions:Xo}),a.jsx(en,{_name:"textarea",_label:"Textarea",_rows:5}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(Q,{_label:"Submit",_type:"submit",_variant:"primary"}),a.jsx(Q,{_label:"Reset",_type:"reset"})]}),a.jsx("input",{type:"hidden",value:crypto.randomUUID(),name:"random"})]})]})]})},OD=()=>{const[e,o]=z.useState(!1),[r,i]=z.useState(!1);z.useEffect(()=>{let h;return e&&(h=setTimeout(()=>{o(!1)},2e3)),()=>clearTimeout(h)},[e]),z.useEffect(()=>{let h;return r&&(h=setTimeout(()=>{i(!1)},2e3)),()=>clearTimeout(h)},[r]);const s=()=>o(!0),d=()=>i(!0),u=z.useMemo(()=>Array.from({length:5},(p,v)=>({_label:`Button ${v+1}`,_on:{onClick:s},_icons:e?"codicon codicon-loading codicon-modifier-spin":void 0,_disabled:e})),[e]),m=z.useMemo(()=>Array.from({length:5},(p,v)=>({_label:`Button ${v+1}`,_on:{onClick:d},_disabled:r,_icons:r?"codicon codicon-loading codicon-modifier-spin":void 0})),[r]);return a.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"1rem"},children:[a.jsx(be,{_label:"Disabled Toolbar Buttons Bug (solved)"}),a.jsx(be,{_label:"icon vor disabled",_level:2}),a.jsx(ma,{_label:"KolToolbar A",_items:u}),a.jsx(be,{_label:"disabled vor icon",_level:2}),a.jsxs("p",{children:["Klicke auf einen der ",m.length-1," ersten Buttons hatte zur Folge, dass die nachfolgenden Buttons kaputt gehen."]}),a.jsx(ma,{_label:"KolToolbar B",_items:m})]})},$D=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsx("p",{children:"This example demonstrates tooltip positioning within container query contexts. Container queries can interfere with fixed positioning, causing tooltips to render incorrectly relative to the viewport. The layout containment fix ensures tooltips position properly even when their parent elements use container-based sizing and layout rules."})}),a.jsx("div",{style:{container:"test / size",contain:"layout"},children:a.jsx(cb,{_label:"Sample PopoverButton—Click for Popover",_icons:"codicon codicon-info",_tooltipAlign:"right",_hideLabel:!0,children:"This is an explanation shown on click."})})]}),MD={scenarios:{"change-tabindex":CE,"custom-tooltip-css-properties":EE,"date-in-form":LE,"disabled-interactive-scenario":BE,"focus-elements":NE,"input-group-with-error":$E,"inputs-get-value":ME,"react-hook-form-adapter":cL,"same-height-of-all-interactive-elements":sL,"static-form":DD,"sample-form-with-validation":RD,"table-horizontal-scrollbar-advanced":OE,"toolbar-item-order":OD,"tooltip-positioning":$D,"performance-test":IE}},Km={...tA,...eT,...tT,...iT,...sT,...bT,...hT,...kT,...BT,...DT,...UT,...IT,...ZT,...YT,...cA,...fA,...bA,..._A,...kA,...LA,...RA,...$A,...D9,...U9,...V9,...P9,...iC,...sC,...uC,...yC,...wC,...AC,...EC,...BC,...RC,...$C,...O1,...O1,...PC,...JC,...qC,...n7,...J7,...iE,...hE,...gE,...xE,...jE,...AE,...MD};V0(localStorage);const r2=(e,o="/")=>{let r=[];for(const i in e)if(e[i]){const s=e[i],d=`${o}${i}`;typeof s=="function"?r.push(d):typeof s=="object"&&s!==null&&(r=r.concat(r2(s,`${d}/`)))}return r},a2=e=>{const o=[];for(const r in e)if(e[r]){const i=e[r],s=`/${r}`;if(typeof i=="function")o.push(a.jsx(ua,{path:s,element:a.jsx(i,{})},s)),o.push(a.jsx(ua,{path:`${s}/all`,element:a.jsx("div",{className:"d-grid gap-4",children:ym.filter(d=>U0.indexOf(d.value)>=0).map(d=>a.jsxs("div",{className:"d-grid gap-2",children:[a.jsx("div",{className:"mt-4",children:a.jsx("strong",{children:d.label})}),a.jsx("div",{className:"my-2",children:a.jsx(i,{})}),a.jsx("hr",{"aria-hidden":"true"})]},d.value))})},`${s}/all`));else if(typeof i=="object"&&i!==null){const d=Object.keys(i);d.length>0&&o.push(a.jsx(ua,{path:`${s}/*`,element:a.jsxs(My,{children:[a.jsx(ua,{path:"/",element:a.jsx($y,{to:d[0]})}),a2(i)]})},s))}}return o},Yb=r2(Km),UD=a2(Km),ky=new Map;Yb.forEach(e=>{const o=e.split("/");ky.has(o[1])||ky.set(o[1],{label:o[1],value:e})});const FD=()=>{const e=Wo(),[o,r]=Fr(),i=o.get("theme")??Ms(),s=o.has("hideMenus");JT(i),X8(),document.title=`KoliBri-Handout - ${Mb(Ms())} | v${Ob.version}`,document.body.setAttribute("class",i),document.body.dataset.theme=i;const d=u=>{r({theme:u}),window.location.reload()};return a.jsx(xm.Provider,{value:s,children:a.jsxs("div",{className:s?"":"app-container","data-theme":i,children:[!s&&a.jsx(Y8,{version:Ob.version,theme:i,sample:e.pathname,routes:Km,routeList:Yb,buildDate:"2025-12-02T11:34:29.258Z",commitHash:"551d5a5e3",onThemeChange:d}),a.jsx("main",{className:"flex flex-col items-stretch p-4",id:"route-container",children:a.jsxs(My,{children:[UD,a.jsx(ua,{path:"*",element:a.jsx($y,{to:Yb[0],replace:!0})}),a.jsx(ua,{path:"back-page",element:a.jsx(V8,{})})]})})]})})},ID=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableI18nOverwriting"),HD=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableThemePatching"),Xb=new URL("https://x"+location.hash.substring(1)).searchParams.has("enableTagNameTransformer"),Qb=e=>`${e}-sample`;Xb&&C4(Qb);const KD=async()=>[sS,WS,H8];(async()=>{try{await C5(await KD(),()=>{F3(window,{transformTagName:Xb?Qb:void 0})},{environment:"production",reflectInputValues:!0,theme:{detect:"auto"},translation:{name:"en"},translations:ID?new Set([o=>o("en",{"kol-error":"Tiny error!"}),o=>o("de",{"kol-error":"Kleiner Fehler!"})]):void 0,transformTagName:Xb?Qb:void 0}),HD&&ya.patchTheme("default",{"KOL-BUTTON":`
22376
22467
  button {
22377
22468
  border: 1px solid red;
22378
22469
  }`,"KOL-SPIN":`
@@ -22382,4 +22473,4 @@ sit amet.`,sE=()=>a.jsxs(a.Fragment,{children:[a.jsx(V,{children:a.jsxs("p",{chi
22382
22473
  .bg-spin-3 {
22383
22474
  background-color: gold;
22384
22475
  }`},{append:!0})}catch(o){console.warn("Theme registration failed:",o)}const e=document.querySelector("div#app");e instanceof HTMLDivElement&&jy.createRoot(e).render(a.jsx(z.StrictMode,{children:a.jsx(ez,{children:a.jsx(FD,{})})}))})();export{Qs as $,a0 as A,bO as B,Hz as C,JD as D,yO as E,zO as F,cm as G,f3 as H,qD as I,PD as J,Ku as K,Cn as L,Dz as M,VD as N,dm as O,vO as P,_O as Q,gO as R,nO as S,oO as T,Wz as U,xg as V,Gz as W,dO as X,sO as Y,hO as Z,T5 as _,At as a,iO as a0,eO as a1,Mz as a2,tO as a3,Vg as a4,ya as a5,lO as a6,pO as a7,ik as a8,bk as a9,i5 as aa,Sk as ab,m5 as ac,$g as ad,Bk as ae,Ek as af,Rg as ag,cO as ah,b5 as ai,mO as aj,fO as ak,vk as al,qg as am,Gg as an,Wg as ao,wk as ap,Lk as aq,Ck as ar,$z as as,pb as at,h5 as au,p5 as av,Po as aw,d5 as ax,ZD as ay,Lg as b,Ng as c,kO as d,Mg as e,QD as f,wO as g,z0 as h,Zg as i,ck as j,WD as k,Fg as l,rO as m,aO as n,Fu as o,u5 as p,uO as q,xO as r,hb as s,Sg as t,YD as u,l0 as v,sm as w,XD as x,uk as y,hk as z};
22385
- //# sourceMappingURL=index-DqTuzsPS.js.map
22476
+ //# sourceMappingURL=index-_T6BftBg.js.map