@public-ui/visual-tests 4.3.1-rc.5 → 4.4.0
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.
- package/README.md +18 -3
- package/app/dist/assets/{Alert-DXOQ9aSr-CDq8gtoc.js → Alert-BjiZcCeA-VpXJ2wTQ.js} +2 -2
- package/app/dist/assets/{Alert-DXOQ9aSr-CDq8gtoc.js.map → Alert-BjiZcCeA-VpXJ2wTQ.js.map} +1 -1
- package/app/dist/assets/{Collapsible-1ue3DBSn-CCYZDMJW.js → Collapsible-BPAU3d7l-BoSRAfzJ.js} +2 -2
- package/app/dist/assets/{Collapsible-1ue3DBSn-CCYZDMJW.js.map → Collapsible-BPAU3d7l-BoSRAfzJ.js.map} +1 -1
- package/app/dist/assets/{CustomSuggestionsOptionsGroup-C9g6pxIT-BuAfFyiZ.js → CustomSuggestionsOptionsGroup-CPp_en4y-BWanoGfx.js} +2 -2
- package/app/dist/assets/{CustomSuggestionsOptionsGroup-C9g6pxIT-BuAfFyiZ.js.map → CustomSuggestionsOptionsGroup-CPp_en4y-BWanoGfx.js.map} +1 -1
- package/app/dist/assets/{FieldControlStateWrapper-KW0D4CYF-BiyRc06j.js → FieldControlStateWrapper-CL8sIEsf-DbQEySfj.js} +2 -2
- package/app/dist/assets/{FieldControlStateWrapper-KW0D4CYF-BiyRc06j.js.map → FieldControlStateWrapper-CL8sIEsf-DbQEySfj.js.map} +1 -1
- package/app/dist/assets/{FormFieldStateWrapper-D_fQzIsx-D1x9w7qn.js → FormFieldStateWrapper-CANKwnKv-Cag04vt6.js} +2 -2
- package/app/dist/assets/{FormFieldStateWrapper-D_fQzIsx-D1x9w7qn.js.map → FormFieldStateWrapper-CANKwnKv-Cag04vt6.js.map} +1 -1
- package/app/dist/assets/{Heading-ScHmWAI9-C-RZxNEQ.js → Heading-CNfXfPK2-CdHZX_Ze.js} +2 -2
- package/app/dist/assets/{Heading-ScHmWAI9-C-RZxNEQ.js.map → Heading-CNfXfPK2-CdHZX_Ze.js.map} +1 -1
- package/app/dist/assets/{Input-BANECVEf-CXdk9Acg.js → Input-DyCv-etW-ZUDo7EwU.js} +2 -2
- package/app/dist/assets/{Input-BANECVEf-CXdk9Acg.js.map → Input-DyCv-etW-ZUDo7EwU.js.map} +1 -1
- package/app/dist/assets/{InputStateWrapper-csFDH3yt-DaD0x-Gp.js → InputStateWrapper-BJMqyY_8-B1eRhMfD.js} +2 -2
- package/app/dist/assets/{InputStateWrapper-csFDH3yt-DaD0x-Gp.js.map → InputStateWrapper-BJMqyY_8-B1eRhMfD.js.map} +1 -1
- package/app/dist/assets/{align-BNmcYY75-Bp6m5hzq.js → align-C8fl12z_-Boq_HCFK.js} +2 -2
- package/app/dist/assets/{align-BNmcYY75-Bp6m5hzq.js.map → align-C8fl12z_-Boq_HCFK.js.map} +1 -1
- package/app/dist/assets/{align-floating-elements-CONjGoNm-CZevvpqU.js → align-floating-elements-CBhVmYjn-B3PgGOWo.js} +2 -2
- package/app/dist/assets/{align-floating-elements-CONjGoNm-CZevvpqU.js.map → align-floating-elements-CBhVmYjn-B3PgGOWo.js.map} +1 -1
- package/app/dist/assets/{aria-details-o1tujJRX-BQhdYSB1.js → aria-details-hRfn8aN9-DCFwNeAO.js} +2 -2
- package/app/dist/assets/{aria-details-o1tujJRX-BQhdYSB1.js.map → aria-details-hRfn8aN9-DCFwNeAO.js.map} +1 -1
- package/app/dist/assets/{aria-labelledby-CuNgjL1c-VNvJpwlC.js → aria-labelledby-D6AMAZtK-4-AliaoO.js} +2 -2
- package/app/dist/assets/{aria-labelledby-CuNgjL1c-VNvJpwlC.js.map → aria-labelledby-D6AMAZtK-4-AliaoO.js.map} +1 -1
- package/app/dist/assets/{associated.controller-DSw2jkQs-q6iqxmNz.js → associated.controller-FCQDejnI-CSMeZzGP.js} +2 -2
- package/app/dist/assets/{associated.controller-DSw2jkQs-q6iqxmNz.js.map → associated.controller-FCQDejnI-CSMeZzGP.js.map} +1 -1
- package/app/dist/assets/{auto-complete-BBkbC-F2-C3KWwzf9.js → auto-complete-C-QNfuIh-C0GOymRp.js} +2 -2
- package/app/dist/assets/{auto-complete-BBkbC-F2-C3KWwzf9.js.map → auto-complete-C-QNfuIh-C0GOymRp.js.map} +1 -1
- package/app/dist/assets/{behavior-Ctzwvpyr-kEYYkRKO.js → behavior-Co00uT-D-CmtkW5nv.js} +2 -2
- package/app/dist/assets/{behavior-Ctzwvpyr-kEYYkRKO.js.map → behavior-Co00uT-D-CmtkW5nv.js.map} +1 -1
- package/app/dist/assets/{color-CrduxZp0-D4f2Nhp6.js → color-DfMsiiGq-CBOSygMe.js} +2 -2
- package/app/dist/assets/{color-CrduxZp0-D4f2Nhp6.js.map → color-DfMsiiGq-CBOSygMe.js.map} +1 -1
- package/app/dist/assets/component-BDS_iE5Q-D8jrPGBb.js +2 -0
- package/app/dist/assets/component-BDS_iE5Q-D8jrPGBb.js.map +1 -0
- package/app/dist/assets/{component-BuQ_u4hn-BUHZ4nuo.js → component-BXCnkVUN-UFdRA2ni.js} +2 -2
- package/app/dist/assets/{component-BuQ_u4hn-BUHZ4nuo.js.map → component-BXCnkVUN-UFdRA2ni.js.map} +1 -1
- package/app/dist/assets/{component-DEJ7VlaD-CU5bWBe8.js → component-BjVFpeYY-Dt0Tx2Ec.js} +2 -2
- package/app/dist/assets/{component-DEJ7VlaD-CU5bWBe8.js.map → component-BjVFpeYY-Dt0Tx2Ec.js.map} +1 -1
- package/app/dist/assets/{component-Rxhi2vD9-CDdyG5xI.js → component-DepnuZGT-D0xqqfD7.js} +2 -2
- package/app/dist/assets/{component-Rxhi2vD9-CDdyG5xI.js.map → component-DepnuZGT-D0xqqfD7.js.map} +1 -1
- package/app/dist/assets/{component-DGAuRw_M-CyELUXe4.js → component-K3ngYLGq-DCTAKixG.js} +2 -2
- package/app/dist/assets/{component-DGAuRw_M-CyELUXe4.js.map → component-K3ngYLGq-DCTAKixG.js.map} +1 -1
- package/app/dist/assets/{component-BmDYhnTg-Dxk_iNCm.js → component-WjvIfI-H-BZ0_t8iE.js} +2 -2
- package/app/dist/assets/{component-BmDYhnTg-Dxk_iNCm.js.map → component-WjvIfI-H-BZ0_t8iE.js.map} +1 -1
- package/app/dist/assets/contrast-D_JyeI-Q-BlsvyLxF.js +2 -0
- package/app/dist/assets/{contrast-BQCqf-V1-D8g0GYGj.js.map → contrast-D_JyeI-Q-BlsvyLxF.js.map} +1 -1
- package/app/dist/assets/{controller-DSyLRSTp-D1zdcHQQ.js → controller-BFiUKKYT-C_ymMvy8.js} +2 -2
- package/app/dist/assets/{controller-DSyLRSTp-D1zdcHQQ.js.map → controller-BFiUKKYT-C_ymMvy8.js.map} +1 -1
- package/app/dist/assets/{controller-K7UxlZul-BW-iSEux.js → controller-CnmYmyZK-CXbd6AMX.js} +2 -2
- package/app/dist/assets/{controller-K7UxlZul-BW-iSEux.js.map → controller-CnmYmyZK-CXbd6AMX.js.map} +1 -1
- package/app/dist/assets/controller-D__mtOju-DVRQYBqZ.js +2 -0
- package/app/dist/assets/{controller-CrEJoj-8-DjDVJMOu.js.map → controller-D__mtOju-DVRQYBqZ.js.map} +1 -1
- package/app/dist/assets/{controller-CafGJ4qe-CpmnEVEZ.js → controller-QfZ_zY-h-DXNVuN0W.js} +2 -2
- package/app/dist/assets/{controller-CafGJ4qe-CpmnEVEZ.js.map → controller-QfZ_zY-h-DXNVuN0W.js.map} +1 -1
- package/app/dist/assets/{controller-icon-BEn5b0cq-C0p53TRb.js → controller-icon-GPaN1UHM-DyfFtrDk.js} +2 -2
- package/app/dist/assets/{controller-icon-BEn5b0cq-C0p53TRb.js.map → controller-icon-GPaN1UHM-DyfFtrDk.js.map} +1 -1
- package/app/dist/assets/{counter-dom-updater-Cydd4Jex-Dyfbt-0O.js → counter-dom-updater-osLR7-G0-I5LlQiFV.js} +2 -2
- package/app/dist/assets/{counter-dom-updater-Cydd4Jex-Dyfbt-0O.js.map → counter-dom-updater-osLR7-G0-I5LlQiFV.js.map} +1 -1
- package/app/dist/assets/custom-class-BtoZpwyq-D2O_SiAY.js +2 -0
- package/app/dist/assets/custom-class-BtoZpwyq-D2O_SiAY.js.map +1 -0
- package/app/dist/assets/{dev.utils-DJKZSrCp-Bby4clil.js → dev.utils-Cib2ENyx-DmCc9lEw.js} +4 -4
- package/app/dist/assets/{dev.utils-DJKZSrCp-Bby4clil.js.map → dev.utils-Cib2ENyx-DmCc9lEw.js.map} +1 -1
- package/app/dist/assets/devtools-CAWyelfv-Cu1CBKlc.js +14 -0
- package/app/dist/assets/{devtools-BzZNn3Mb-_T_Pbsp_.js.map → devtools-CAWyelfv-Cu1CBKlc.js.map} +1 -1
- package/app/dist/assets/disabled-CL52u2mm-DxZVPiAD.js +2 -0
- package/app/dist/assets/{disabled-DVZ7p0bI-CsgWbSoq.js.map → disabled-CL52u2mm-DxZVPiAD.js.map} +1 -1
- package/app/dist/assets/has-closer-DoXfZcmn-k6rfpDpU.js +2 -0
- package/app/dist/assets/has-closer-DoXfZcmn-k6rfpDpU.js.map +1 -0
- package/app/dist/assets/hide-label-CRGm6KGP-RSSkC1jc.js +2 -0
- package/app/dist/assets/hide-label-CRGm6KGP-RSSkC1jc.js.map +1 -0
- package/app/dist/assets/href-B7u09W3s-Crs1FQnq.js +2 -0
- package/app/dist/assets/href-B7u09W3s-Crs1FQnq.js.map +1 -0
- package/app/dist/assets/href-C9xfRiDr-DzlsaFs6.js +2 -0
- package/app/dist/assets/href-C9xfRiDr-DzlsaFs6.js.map +1 -0
- package/app/dist/assets/i18n-CvFPh0g5-DJnQsXap.js +2 -0
- package/app/dist/assets/{i18n-CrXMv0tS-CfUT3wuK.js.map → i18n-CvFPh0g5-DJnQsXap.js.map} +1 -1
- package/app/dist/assets/icons-mXXqyviE-B5o2PkhL.js +2 -0
- package/app/dist/assets/{icons-DT5u2gpq-J7XNjj8V.js.map → icons-mXXqyviE-B5o2PkhL.js.map} +1 -1
- package/app/dist/assets/index-6ZEKlyWb.css +1 -0
- package/app/dist/assets/{index-IYp74rJy.js → index-CDDuTDeB.js} +9 -9
- package/app/dist/assets/index-CDDuTDeB.js.map +1 -0
- package/app/dist/assets/inline-DCDQA_d_-CBqH52h_.js +2 -0
- package/app/dist/assets/{inline-CqNhbN6Q-CM6aeWBU.js.map → inline-DCDQA_d_-CBqH52h_.js.map} +1 -1
- package/app/dist/assets/{kol-abbr.entry-DMUiRHC0.js → kol-abbr.entry-BdDIUG3P.js} +45 -5
- package/app/dist/assets/kol-abbr.entry-BdDIUG3P.js.map +1 -0
- package/app/dist/assets/{kol-accordion.entry-BPoKOYqr.js → kol-accordion.entry-CFrCfX0t.js} +47 -7
- package/app/dist/assets/kol-accordion.entry-CFrCfX0t.js.map +1 -0
- package/app/dist/assets/{kol-alert-wc.entry-RoQSzZjC.js → kol-alert-wc.entry-D1mLBjkS.js} +2 -2
- package/app/dist/assets/{kol-alert-wc.entry-RoQSzZjC.js.map → kol-alert-wc.entry-D1mLBjkS.js.map} +1 -1
- package/app/dist/assets/{kol-alert.entry-BWXQhFoU.js → kol-alert.entry-BgqpRJSL.js} +45 -5
- package/app/dist/assets/kol-alert.entry-BgqpRJSL.js.map +1 -0
- package/app/dist/assets/{kol-avatar.entry-No2qDfCr.js → kol-avatar.entry-Ia48x43f.js} +43 -3
- package/app/dist/assets/kol-avatar.entry-Ia48x43f.js.map +1 -0
- package/app/dist/assets/{kol-badge.entry-CtvhdFPq.js → kol-badge.entry-CY7N3KFf.js} +46 -6
- package/app/dist/assets/kol-badge.entry-CY7N3KFf.js.map +1 -0
- package/app/dist/assets/{kol-breadcrumb.entry-DYrYc8NK.js → kol-breadcrumb.entry-CJkZduPx.js} +46 -6
- package/app/dist/assets/kol-breadcrumb.entry-CJkZduPx.js.map +1 -0
- package/app/dist/assets/{kol-button-link.entry-CEebgV7Z.js → kol-button-link.entry-DZmvQn5B.js} +45 -5
- package/app/dist/assets/kol-button-link.entry-DZmvQn5B.js.map +1 -0
- package/app/dist/assets/{kol-button-wc.entry-BSuzvvmf.js → kol-button-wc.entry-BqDrl_St.js} +2 -2
- package/app/dist/assets/{kol-button-wc.entry-BSuzvvmf.js.map → kol-button-wc.entry-BqDrl_St.js.map} +1 -1
- package/app/dist/assets/{kol-button.entry-BCgWPPe1.js → kol-button.entry-BAcBT-XG.js} +45 -5
- package/app/dist/assets/kol-button.entry-BAcBT-XG.js.map +1 -0
- package/app/dist/assets/kol-card-wc.entry-AIW0nILJ.js +2 -0
- package/app/dist/assets/{kol-card-wc.entry-DtrIF8J7.js.map → kol-card-wc.entry-AIW0nILJ.js.map} +1 -1
- package/app/dist/assets/{kol-card.entry-DTyIkGaC.js → kol-card.entry-DeVbU01R.js} +45 -5
- package/app/dist/assets/kol-card.entry-DeVbU01R.js.map +1 -0
- package/app/dist/assets/kol-click-button.entry-AuYBmB-H.js +2 -0
- package/app/dist/assets/kol-click-button.entry-AuYBmB-H.js.map +1 -0
- package/app/dist/assets/{kol-combobox.entry-CVgSqKlA.js → kol-combobox.entry-0xMoGW2Q.js} +47 -7
- package/app/dist/assets/kol-combobox.entry-0xMoGW2Q.js.map +1 -0
- package/app/dist/assets/{kol-details.entry-DOVRB4gd.js → kol-details.entry-DMaPGmPV.js} +46 -6
- package/app/dist/assets/kol-details.entry-DMaPGmPV.js.map +1 -0
- package/app/dist/assets/kol-dialog-wc.entry-BdXiL0RO.js +2 -0
- package/app/dist/assets/{kol-dialog-wc.entry-5SqfCo71.js.map → kol-dialog-wc.entry-BdXiL0RO.js.map} +1 -1
- package/app/dist/assets/{kol-dialog.entry-kvnFqaxG.js → kol-dialog.entry-LBWGyJjJ.js} +45 -5
- package/app/dist/assets/kol-dialog.entry-LBWGyJjJ.js.map +1 -0
- package/app/dist/assets/{kol-drawer.entry-D4DimTzY.js → kol-drawer.entry-DM8Jm7Ww.js} +46 -6
- package/app/dist/assets/kol-drawer.entry-DM8Jm7Ww.js.map +1 -0
- package/app/dist/assets/{kol-form.entry-BESYCHKZ.js → kol-form.entry-DcxYfJSt.js} +46 -6
- package/app/dist/assets/kol-form.entry-DcxYfJSt.js.map +1 -0
- package/app/dist/assets/{kol-heading.entry-Be1Eu-28.js → kol-heading.entry-Ba1E9iZd.js} +43 -3
- package/app/dist/assets/kol-heading.entry-Ba1E9iZd.js.map +1 -0
- package/app/dist/assets/{kol-icon.entry-BTxmatOV.js → kol-icon.entry-CQc98voB.js} +4 -4
- package/app/dist/assets/kol-icon.entry-CQc98voB.js.map +1 -0
- package/app/dist/assets/{kol-image.entry-IF4pQwE4.js → kol-image.entry-0nWjZ36E.js} +43 -3
- package/app/dist/assets/kol-image.entry-0nWjZ36E.js.map +1 -0
- package/app/dist/assets/{kol-input-checkbox.entry-GQP2b-p9.js → kol-input-checkbox.entry-BthL55kU.js} +47 -7
- package/app/dist/assets/kol-input-checkbox.entry-BthL55kU.js.map +1 -0
- package/app/dist/assets/{kol-input-color.entry-CBZaTWas.js → kol-input-color.entry-DlQLpdSo.js} +47 -18
- package/app/dist/assets/kol-input-color.entry-DlQLpdSo.js.map +1 -0
- package/app/dist/assets/{kol-input-date.entry-D_Rpm6Mm.js → kol-input-date.entry-BQpGUUfA.js} +47 -7
- package/app/dist/assets/kol-input-date.entry-BQpGUUfA.js.map +1 -0
- package/app/dist/assets/{kol-input-email.entry-kEKy9CAW.js → kol-input-email.entry-lJB2AsNG.js} +47 -7
- package/app/dist/assets/kol-input-email.entry-lJB2AsNG.js.map +1 -0
- package/app/dist/assets/{kol-input-file.entry-CWteQMPp.js → kol-input-file.entry-Dmy7PCwE.js} +47 -7
- package/app/dist/assets/kol-input-file.entry-Dmy7PCwE.js.map +1 -0
- package/app/dist/assets/{kol-input-number.entry-DbgqxIqd.js → kol-input-number.entry-BLqpWKe3.js} +47 -7
- package/app/dist/assets/kol-input-number.entry-BLqpWKe3.js.map +1 -0
- package/app/dist/assets/{kol-input-password.entry-CX9gP5fU.js → kol-input-password.entry-CXa_LzO6.js} +47 -7
- package/app/dist/assets/kol-input-password.entry-CXa_LzO6.js.map +1 -0
- package/app/dist/assets/{kol-input-radio.entry-DXLtfUQo.js → kol-input-radio.entry-DlX-jcNY.js} +47 -7
- package/app/dist/assets/kol-input-radio.entry-DlX-jcNY.js.map +1 -0
- package/app/dist/assets/{kol-input-range.entry-CckU3Ynr.js → kol-input-range.entry-DieLYnRU.js} +47 -7
- package/app/dist/assets/kol-input-range.entry-DieLYnRU.js.map +1 -0
- package/app/dist/assets/{kol-input-text.entry-B9HCVeIK.js → kol-input-text.entry-C7NEeaUa.js} +47 -7
- package/app/dist/assets/kol-input-text.entry-C7NEeaUa.js.map +1 -0
- package/app/dist/assets/{kol-kolibri.entry-Dn0eQAtw.js → kol-kolibri.entry-DuRvskHx.js} +44 -4
- package/app/dist/assets/kol-kolibri.entry-DuRvskHx.js.map +1 -0
- package/app/dist/assets/{kol-link-button.entry-FmE8JJTj.js → kol-link-button.entry-Bex-6eo-.js} +46 -6
- package/app/dist/assets/kol-link-button.entry-Bex-6eo-.js.map +1 -0
- package/app/dist/assets/kol-link-wc.entry-CDpB_HIc.js +2 -0
- package/app/dist/assets/kol-link-wc.entry-CDpB_HIc.js.map +1 -0
- package/app/dist/assets/{kol-link.entry-DH8pmql9.js → kol-link.entry-RgWJW6tM.js} +46 -6
- package/app/dist/assets/kol-link.entry-RgWJW6tM.js.map +1 -0
- package/app/dist/assets/{kol-meter.entry-Cb-v06vz.js → kol-meter.entry-0fuVhNGc.js} +44 -4
- package/app/dist/assets/kol-meter.entry-0fuVhNGc.js.map +1 -0
- package/app/dist/assets/{kol-modal.entry-5UR14O09.js → kol-modal.entry-DhuLirge.js} +46 -6
- package/app/dist/assets/kol-modal.entry-DhuLirge.js.map +1 -0
- package/app/dist/assets/{kol-nav.entry-Bg4b97VN.js → kol-nav.entry-CRY9-wgs.js} +46 -6
- package/app/dist/assets/kol-nav.entry-CRY9-wgs.js.map +1 -0
- package/app/dist/assets/{kol-pagination-wc.entry-CjbVZNP7.js → kol-pagination-wc.entry-DiDIPM3P.js} +2 -2
- package/app/dist/assets/{kol-pagination-wc.entry-CjbVZNP7.js.map → kol-pagination-wc.entry-DiDIPM3P.js.map} +1 -1
- package/app/dist/assets/{kol-pagination.entry-DRo_Qdmm.js → kol-pagination.entry-CiLrGyHQ.js} +47 -7
- package/app/dist/assets/kol-pagination.entry-CiLrGyHQ.js.map +1 -0
- package/app/dist/assets/{kol-popover-button-wc.entry-CkVyVA2M.js → kol-popover-button-wc.entry-yGu72tH9.js} +2 -2
- package/app/dist/assets/{kol-popover-button-wc.entry-CkVyVA2M.js.map → kol-popover-button-wc.entry-yGu72tH9.js.map} +1 -1
- package/app/dist/assets/{kol-popover-button.entry-BWxQLEba.js → kol-popover-button.entry-JltN9vH6.js} +46 -6
- package/app/dist/assets/kol-popover-button.entry-JltN9vH6.js.map +1 -0
- package/app/dist/assets/{kol-progress.entry-DR5fg9UR.js → kol-progress.entry-DJRDM8cx.js} +44 -4
- package/app/dist/assets/kol-progress.entry-DJRDM8cx.js.map +1 -0
- package/app/dist/assets/{kol-quote.entry-sOO7zy2a.js → kol-quote.entry-CCsaAd97.js} +44 -4
- package/app/dist/assets/kol-quote.entry-CCsaAd97.js.map +1 -0
- package/app/dist/assets/{kol-select-wc.entry-4-X_EXaZ.js → kol-select-wc.entry-Dy-SN0oO.js} +2 -2
- package/app/dist/assets/{kol-select-wc.entry-4-X_EXaZ.js.map → kol-select-wc.entry-Dy-SN0oO.js.map} +1 -1
- package/app/dist/assets/{kol-select.entry-n9JmHXs5.js → kol-select.entry-DNZfn0jD.js} +47 -7
- package/app/dist/assets/kol-select.entry-DNZfn0jD.js.map +1 -0
- package/app/dist/assets/{kol-single-select.entry-BDfjEWxY.js → kol-single-select.entry-DhyoWV9A.js} +47 -7
- package/app/dist/assets/kol-single-select.entry-DhyoWV9A.js.map +1 -0
- package/app/dist/assets/{kol-skeleton.entry-k7s5oWvK.js → kol-skeleton.entry-CsKmxFan.js} +2 -2
- package/app/dist/assets/{kol-skeleton.entry-k7s5oWvK.js.map → kol-skeleton.entry-CsKmxFan.js.map} +1 -1
- package/app/dist/assets/{kol-skip-nav.entry-Cul1I5AW.js → kol-skip-nav.entry-CpP-80kA.js} +46 -6
- package/app/dist/assets/kol-skip-nav.entry-CpP-80kA.js.map +1 -0
- package/app/dist/assets/{kol-spin.entry-D0qj4ZxI.js → kol-spin.entry-BfjY2VU3.js} +44 -4
- package/app/dist/assets/kol-spin.entry-BfjY2VU3.js.map +1 -0
- package/app/dist/assets/{kol-split-button.entry-P1gcMlwq.js → kol-split-button.entry-CYHFNWDy.js} +46 -6
- package/app/dist/assets/kol-split-button.entry-CYHFNWDy.js.map +1 -0
- package/app/dist/assets/kol-table-settings-wc.entry-B2SpNyvR.js +2 -0
- package/app/dist/assets/kol-table-settings-wc.entry-B2SpNyvR.js.map +1 -0
- package/app/dist/assets/{kol-table-stateful.entry-BMj1lrvg.js → kol-table-stateful.entry-C-PKI-Us.js} +154 -10
- package/app/dist/assets/kol-table-stateful.entry-C-PKI-Us.js.map +1 -0
- package/app/dist/assets/kol-table-stateless-wc.entry-DKnJz-W4.js +2 -0
- package/app/dist/assets/{kol-table-stateless-wc.entry-CoysUaJ5.js.map → kol-table-stateless-wc.entry-DKnJz-W4.js.map} +1 -1
- package/app/dist/assets/{kol-table-stateless.entry-BhysmaWS.js → kol-table-stateless.entry-CtulyrOa.js} +153 -9
- package/app/dist/assets/kol-table-stateless.entry-CtulyrOa.js.map +1 -0
- package/app/dist/assets/{kol-tabs.entry-Dy_-leJb.js → kol-tabs.entry-d9sXZsg_.js} +46 -6
- package/app/dist/assets/kol-tabs.entry-d9sXZsg_.js.map +1 -0
- package/app/dist/assets/{kol-textarea.entry-CEIvunPA.js → kol-textarea.entry-Cig3v3uZ.js} +47 -7
- package/app/dist/assets/kol-textarea.entry-Cig3v3uZ.js.map +1 -0
- package/app/dist/assets/{kol-toast-container.entry-CNvDL3J5.js → kol-toast-container.entry-VpTcO3AR.js} +46 -6
- package/app/dist/assets/kol-toast-container.entry-VpTcO3AR.js.map +1 -0
- package/app/dist/assets/{kol-toolbar.entry-BjbuTcbx.js → kol-toolbar.entry-DgIwwZyI.js} +46 -6
- package/app/dist/assets/kol-toolbar.entry-DgIwwZyI.js.map +1 -0
- package/app/dist/assets/kol-tooltip-wc.entry-C-cBRwrk.js +2 -0
- package/app/dist/assets/kol-tooltip-wc.entry-C-cBRwrk.js.map +1 -0
- package/app/dist/assets/kol-tree-item-wc.entry-CFzQEzIL.js +2 -0
- package/app/dist/assets/{kol-tree-item-wc.entry-KjaCIVhB.js.map → kol-tree-item-wc.entry-CFzQEzIL.js.map} +1 -1
- package/app/dist/assets/{kol-tree-item.entry-B9qVTPnI.js → kol-tree-item.entry-DV7W3uee.js} +46 -6
- package/app/dist/assets/kol-tree-item.entry-DV7W3uee.js.map +1 -0
- package/app/dist/assets/kol-tree-wc.entry-CrR_G-dd.js +2 -0
- package/app/dist/assets/{kol-tree-wc.entry-6ciI2ztZ.js.map → kol-tree-wc.entry-CrR_G-dd.js.map} +1 -1
- package/app/dist/assets/{kol-tree.entry-JEdmr_kx.js → kol-tree.entry-BwmFccJQ.js} +44 -4
- package/app/dist/assets/kol-tree.entry-BwmFccJQ.js.map +1 -0
- package/app/dist/assets/{kol-version.entry-Dh4aVGEO.js → kol-version.entry-CyexGVQE.js} +44 -4
- package/app/dist/assets/kol-version.entry-CyexGVQE.js.map +1 -0
- package/app/dist/assets/kolicons/kolicons.eot +0 -0
- package/app/dist/assets/kolicons/kolicons.ttf +0 -0
- package/app/dist/assets/kolicons/kolicons.woff +0 -0
- package/app/dist/assets/kolicons/kolicons.woff2 +0 -0
- package/app/dist/assets/kolicons/style.css +6 -6
- package/app/dist/assets/label-FtX-skKy-wxSyFGcC.js +2 -0
- package/app/dist/assets/label-FtX-skKy-wxSyFGcC.js.map +1 -0
- package/app/dist/assets/label-w3T7Y2ih-B488ov6P.js +2 -0
- package/app/dist/assets/{label-lhyZhbiM-BD2zB72k.js.map → label-w3T7Y2ih-B488ov6P.js.map} +1 -1
- package/app/dist/assets/label-with-expert-slot-CU-oeLnm-BkUD-T35.js +2 -0
- package/app/dist/assets/label-with-expert-slot-CU-oeLnm-BkUD-T35.js.map +1 -0
- package/app/dist/assets/level-Cj2m5HKt-B0rmRHwt.js +2 -0
- package/app/dist/assets/{level-B2RyXnam-Cu177YZ9.js.map → level-Cj2m5HKt-B0rmRHwt.js.map} +1 -1
- package/app/dist/assets/multiple-BZRAazRb-Dmfeeppw.js +2 -0
- package/app/dist/assets/multiple-BZRAazRb-Dmfeeppw.js.map +1 -0
- package/app/dist/assets/{normalizers-DWPxOTIP-Dv9EcQIR.js → normalizers-BNeak4hj-BwxUKMpl.js} +2 -2
- package/app/dist/assets/{normalizers-DWPxOTIP-Dv9EcQIR.js.map → normalizers-BNeak4hj-BwxUKMpl.js.map} +1 -1
- package/app/dist/assets/open-BRQrMgjX-BGJ8dCAS.js +2 -0
- package/app/dist/assets/open-BRQrMgjX-BGJ8dCAS.js.map +1 -0
- package/app/dist/assets/{orientation-Dw3BhNjY-CvSsC-LC.js → orientation-CfF8dz-f-oJcf7Gyt.js} +2 -2
- package/app/dist/assets/{orientation-Dw3BhNjY-CvSsC-LC.js.map → orientation-CfF8dz-f-oJcf7Gyt.js.map} +1 -1
- package/app/dist/assets/placeholder-CmUUN-3U-BF65xFHs.js +2 -0
- package/app/dist/assets/placeholder-CmUUN-3U-BF65xFHs.js.map +1 -0
- package/app/dist/assets/read-only-DyDY-E9H-P3zLMGmY.js +2 -0
- package/app/dist/assets/read-only-DyDY-E9H-P3zLMGmY.js.map +1 -0
- package/app/dist/assets/required-CGf-IRxL-BRW8_G0b.js +2 -0
- package/app/dist/assets/required-CGf-IRxL-BRW8_G0b.js.map +1 -0
- package/app/dist/assets/rows-DlWRIMNQ-yfMfFIa4.js +2 -0
- package/app/dist/assets/rows-DlWRIMNQ-yfMfFIa4.js.map +1 -0
- package/app/dist/assets/spell-check-6kYqpIpx-BSf3yHGh.js +2 -0
- package/app/dist/assets/spell-check-6kYqpIpx-BSf3yHGh.js.map +1 -0
- package/app/dist/assets/src-BnjoA2Q6-DzK0ac5p.js +2 -0
- package/app/dist/assets/src-BnjoA2Q6-DzK0ac5p.js.map +1 -0
- package/app/dist/assets/{suggestions-ofHp_5qm-BNiBxiVI.js → suggestions-CKylTAKv-y2wRBnNi.js} +2 -2
- package/app/dist/assets/{suggestions-ofHp_5qm-BNiBxiVI.js.map → suggestions-CKylTAKv-y2wRBnNi.js.map} +1 -1
- package/app/dist/assets/table-selection-CB6W390S-Bjnbv2m1.js +2 -0
- package/app/dist/assets/{table-selection-CHYGiAxJ-B2F3Rerg.js.map → table-selection-CB6W390S-Bjnbv2m1.js.map} +1 -1
- package/app/dist/assets/test-component.entry-Bo6x2Kf2.js +2 -0
- package/app/dist/assets/{test-component.entry-DbiAdL4b.js.map → test-component.entry-Bo6x2Kf2.js.map} +1 -1
- package/app/dist/assets/tooltip-align-BQmLWbBy-C7zHPfgd.js +2 -0
- package/app/dist/assets/tooltip-align-BQmLWbBy-C7zHPfgd.js.map +1 -0
- package/app/dist/assets/{unique-nav-labels-B0tCIm30-Cpn8IIr0.js → unique-nav-labels-B6_Oto5e-Ccx32WLA.js} +2 -2
- package/app/dist/assets/{unique-nav-labels-B0tCIm30-Cpn8IIr0.js.map → unique-nav-labels-B6_Oto5e-Ccx32WLA.js.map} +1 -1
- package/app/dist/assets/validation-BZPzOg5I-Az5ivlwq.js +2 -0
- package/app/dist/assets/validation-BZPzOg5I-Az5ivlwq.js.map +1 -0
- package/app/dist/assets/validation-Cnndf99L-U-UWHZv-.js +2 -0
- package/app/dist/assets/validation-Cnndf99L-U-UWHZv-.js.map +1 -0
- package/app/dist/assets/value-number-clamped-Fuextuj1-BLy0eSFZ.js +2 -0
- package/app/dist/assets/{value-number-clamped-D39JJzpQ-CptIMdGW.js.map → value-number-clamped-Fuextuj1-BLy0eSFZ.js.map} +1 -1
- package/app/dist/assets/{variant-class-name-B0Wpr2i8-BmIxXLkj.js → variant-class-name-9qZ5egaq-CxTj-bFt.js} +2 -2
- package/app/dist/assets/{variant-class-name-B0Wpr2i8-BmIxXLkj.js.map → variant-class-name-9qZ5egaq-CxTj-bFt.js.map} +1 -1
- package/app/dist/assets/{variant-quote-CRKM9QG2-CSbZOLh_.js → variant-quote-ClYWonZq-CfOvS_BT.js} +2 -2
- package/app/dist/assets/{variant-quote-CRKM9QG2-CSbZOLh_.js.map → variant-quote-ClYWonZq-CfOvS_BT.js.map} +1 -1
- package/app/dist/index.html +2 -2
- package/app/public/assets/kolicons/kolicons.eot +0 -0
- package/app/public/assets/kolicons/kolicons.ttf +0 -0
- package/app/public/assets/kolicons/kolicons.woff +0 -0
- package/app/public/assets/kolicons/kolicons.woff2 +0 -0
- package/app/public/assets/kolicons/style.css +6 -6
- package/package.json +11 -7
- package/playwright.config.js +23 -3
- package/src/visual-reporter.js +368 -0
- package/tests/theme-snapshots.spec.js +25 -6
- package/app/dist/assets/component-B7G-dIP7-DbhhWpJ8.js +0 -2
- package/app/dist/assets/component-B7G-dIP7-DbhhWpJ8.js.map +0 -1
- package/app/dist/assets/contrast-BQCqf-V1-D8g0GYGj.js +0 -2
- package/app/dist/assets/controller-CrEJoj-8-DjDVJMOu.js +0 -2
- package/app/dist/assets/custom-class-DpFc73O_-BSbJ1NDE.js +0 -2
- package/app/dist/assets/custom-class-DpFc73O_-BSbJ1NDE.js.map +0 -1
- package/app/dist/assets/devtools-BzZNn3Mb-_T_Pbsp_.js +0 -14
- package/app/dist/assets/disabled-DVZ7p0bI-CsgWbSoq.js +0 -2
- package/app/dist/assets/has-closer-DyXBWIQh-DgtRuPuG.js +0 -2
- package/app/dist/assets/has-closer-DyXBWIQh-DgtRuPuG.js.map +0 -1
- package/app/dist/assets/hide-label-LlZnbrzc-D-Ah1x-j.js +0 -2
- package/app/dist/assets/hide-label-LlZnbrzc-D-Ah1x-j.js.map +0 -1
- package/app/dist/assets/href-BKrnu0s2-BERPxQLA.js +0 -2
- package/app/dist/assets/href-BKrnu0s2-BERPxQLA.js.map +0 -1
- package/app/dist/assets/href-CBdHcGY_-Djp2OKXJ.js +0 -2
- package/app/dist/assets/href-CBdHcGY_-Djp2OKXJ.js.map +0 -1
- package/app/dist/assets/i18n-CrXMv0tS-CfUT3wuK.js +0 -2
- package/app/dist/assets/icons-DT5u2gpq-J7XNjj8V.js +0 -2
- package/app/dist/assets/index-DLX1rUfi.css +0 -1
- package/app/dist/assets/index-IYp74rJy.js.map +0 -1
- package/app/dist/assets/inline-CqNhbN6Q-CM6aeWBU.js +0 -2
- package/app/dist/assets/kol-abbr.entry-DMUiRHC0.js.map +0 -1
- package/app/dist/assets/kol-accordion.entry-BPoKOYqr.js.map +0 -1
- package/app/dist/assets/kol-alert.entry-BWXQhFoU.js.map +0 -1
- package/app/dist/assets/kol-avatar.entry-No2qDfCr.js.map +0 -1
- package/app/dist/assets/kol-badge.entry-CtvhdFPq.js.map +0 -1
- package/app/dist/assets/kol-breadcrumb.entry-DYrYc8NK.js.map +0 -1
- package/app/dist/assets/kol-button-link.entry-CEebgV7Z.js.map +0 -1
- package/app/dist/assets/kol-button.entry-BCgWPPe1.js.map +0 -1
- package/app/dist/assets/kol-card-wc.entry-DtrIF8J7.js +0 -2
- package/app/dist/assets/kol-card.entry-DTyIkGaC.js.map +0 -1
- package/app/dist/assets/kol-click-button.entry-CYHKu-uR.js +0 -2
- package/app/dist/assets/kol-click-button.entry-CYHKu-uR.js.map +0 -1
- package/app/dist/assets/kol-combobox.entry-CVgSqKlA.js.map +0 -1
- package/app/dist/assets/kol-details.entry-DOVRB4gd.js.map +0 -1
- package/app/dist/assets/kol-dialog-wc.entry-5SqfCo71.js +0 -2
- package/app/dist/assets/kol-dialog.entry-kvnFqaxG.js.map +0 -1
- package/app/dist/assets/kol-drawer.entry-D4DimTzY.js.map +0 -1
- package/app/dist/assets/kol-form.entry-BESYCHKZ.js.map +0 -1
- package/app/dist/assets/kol-heading.entry-Be1Eu-28.js.map +0 -1
- package/app/dist/assets/kol-icon.entry-BTxmatOV.js.map +0 -1
- package/app/dist/assets/kol-image.entry-IF4pQwE4.js.map +0 -1
- package/app/dist/assets/kol-input-checkbox.entry-GQP2b-p9.js.map +0 -1
- package/app/dist/assets/kol-input-color.entry-CBZaTWas.js.map +0 -1
- package/app/dist/assets/kol-input-date.entry-D_Rpm6Mm.js.map +0 -1
- package/app/dist/assets/kol-input-email.entry-kEKy9CAW.js.map +0 -1
- package/app/dist/assets/kol-input-file.entry-CWteQMPp.js.map +0 -1
- package/app/dist/assets/kol-input-number.entry-DbgqxIqd.js.map +0 -1
- package/app/dist/assets/kol-input-password.entry-CX9gP5fU.js.map +0 -1
- package/app/dist/assets/kol-input-radio.entry-DXLtfUQo.js.map +0 -1
- package/app/dist/assets/kol-input-range.entry-CckU3Ynr.js.map +0 -1
- package/app/dist/assets/kol-input-text.entry-B9HCVeIK.js.map +0 -1
- package/app/dist/assets/kol-kolibri.entry-Dn0eQAtw.js.map +0 -1
- package/app/dist/assets/kol-link-button.entry-FmE8JJTj.js.map +0 -1
- package/app/dist/assets/kol-link-wc.entry-DA9mXAxv.js +0 -2
- package/app/dist/assets/kol-link-wc.entry-DA9mXAxv.js.map +0 -1
- package/app/dist/assets/kol-link.entry-DH8pmql9.js.map +0 -1
- package/app/dist/assets/kol-meter.entry-Cb-v06vz.js.map +0 -1
- package/app/dist/assets/kol-modal.entry-5UR14O09.js.map +0 -1
- package/app/dist/assets/kol-nav.entry-Bg4b97VN.js.map +0 -1
- package/app/dist/assets/kol-pagination.entry-DRo_Qdmm.js.map +0 -1
- package/app/dist/assets/kol-popover-button.entry-BWxQLEba.js.map +0 -1
- package/app/dist/assets/kol-progress.entry-DR5fg9UR.js.map +0 -1
- package/app/dist/assets/kol-quote.entry-sOO7zy2a.js.map +0 -1
- package/app/dist/assets/kol-select.entry-n9JmHXs5.js.map +0 -1
- package/app/dist/assets/kol-single-select.entry-BDfjEWxY.js.map +0 -1
- package/app/dist/assets/kol-skip-nav.entry-Cul1I5AW.js.map +0 -1
- package/app/dist/assets/kol-spin.entry-D0qj4ZxI.js.map +0 -1
- package/app/dist/assets/kol-split-button.entry-P1gcMlwq.js.map +0 -1
- package/app/dist/assets/kol-table-settings-wc.entry-j6HRfxhZ.js +0 -2
- package/app/dist/assets/kol-table-settings-wc.entry-j6HRfxhZ.js.map +0 -1
- package/app/dist/assets/kol-table-stateful.entry-BMj1lrvg.js.map +0 -1
- package/app/dist/assets/kol-table-stateless-wc.entry-CoysUaJ5.js +0 -2
- package/app/dist/assets/kol-table-stateless.entry-BhysmaWS.js.map +0 -1
- package/app/dist/assets/kol-tabs.entry-Dy_-leJb.js.map +0 -1
- package/app/dist/assets/kol-textarea.entry-CEIvunPA.js.map +0 -1
- package/app/dist/assets/kol-toast-container.entry-CNvDL3J5.js.map +0 -1
- package/app/dist/assets/kol-toolbar.entry-BjbuTcbx.js.map +0 -1
- package/app/dist/assets/kol-tooltip-wc.entry-C8kabDaX.js +0 -2
- package/app/dist/assets/kol-tooltip-wc.entry-C8kabDaX.js.map +0 -1
- package/app/dist/assets/kol-tree-item-wc.entry-KjaCIVhB.js +0 -2
- package/app/dist/assets/kol-tree-item.entry-B9qVTPnI.js.map +0 -1
- package/app/dist/assets/kol-tree-wc.entry-6ciI2ztZ.js +0 -2
- package/app/dist/assets/kol-tree.entry-JEdmr_kx.js.map +0 -1
- package/app/dist/assets/kol-version.entry-Dh4aVGEO.js.map +0 -1
- package/app/dist/assets/label-BE6oW-7F-D-RSMJBE.js +0 -2
- package/app/dist/assets/label-BE6oW-7F-D-RSMJBE.js.map +0 -1
- package/app/dist/assets/label-lhyZhbiM-BD2zB72k.js +0 -2
- package/app/dist/assets/label-with-expert-slot-3VWute5S-b0h5NAy0.js +0 -2
- package/app/dist/assets/label-with-expert-slot-3VWute5S-b0h5NAy0.js.map +0 -1
- package/app/dist/assets/level-B2RyXnam-Cu177YZ9.js +0 -2
- package/app/dist/assets/multiple-RvvepSN9-BQv3FLfk.js +0 -2
- package/app/dist/assets/multiple-RvvepSN9-BQv3FLfk.js.map +0 -1
- package/app/dist/assets/open-CA1J3ZTK-Do74RXDx.js +0 -2
- package/app/dist/assets/open-CA1J3ZTK-Do74RXDx.js.map +0 -1
- package/app/dist/assets/placeholder-JIf_Jr3v-BmTLO7qG.js +0 -2
- package/app/dist/assets/placeholder-JIf_Jr3v-BmTLO7qG.js.map +0 -1
- package/app/dist/assets/read-only-CxpGC8Fy-CZzRPmql.js +0 -2
- package/app/dist/assets/read-only-CxpGC8Fy-CZzRPmql.js.map +0 -1
- package/app/dist/assets/required-DGhzuKQB-BrYy9QWR.js +0 -2
- package/app/dist/assets/required-DGhzuKQB-BrYy9QWR.js.map +0 -1
- package/app/dist/assets/rows-BRaIYumW-BZ9xqgcN.js +0 -2
- package/app/dist/assets/rows-BRaIYumW-BZ9xqgcN.js.map +0 -1
- package/app/dist/assets/spell-check-BYuCSD3X-BXPiOeE-.js +0 -2
- package/app/dist/assets/spell-check-BYuCSD3X-BXPiOeE-.js.map +0 -1
- package/app/dist/assets/src-DugryP6L-C9uCv24b.js +0 -2
- package/app/dist/assets/src-DugryP6L-C9uCv24b.js.map +0 -1
- package/app/dist/assets/table-selection-CHYGiAxJ-B2F3Rerg.js +0 -2
- package/app/dist/assets/test-component.entry-DbiAdL4b.js +0 -2
- package/app/dist/assets/tooltip-align-DWAWPZn0-BZ1k7hOH.js +0 -2
- package/app/dist/assets/tooltip-align-DWAWPZn0-BZ1k7hOH.js.map +0 -1
- package/app/dist/assets/validation-BFb56Yd7-CmZLbYpo.js +0 -2
- package/app/dist/assets/validation-BFb56Yd7-CmZLbYpo.js.map +0 -1
- package/app/dist/assets/validation-BT4VYADp-BYQTjqTu.js +0 -2
- package/app/dist/assets/validation-BT4VYADp-BYQTjqTu.js.map +0 -1
- package/app/dist/assets/value-number-clamped-D39JJzpQ-CptIMdGW.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./kol-abbr.entry-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./kol-abbr.entry-BdDIUG3P.js","./base-web-component-D909Fl-Y-DjL1hhrh.js","./kol-accordion.entry-CFrCfX0t.js","./dev.utils-Cib2ENyx-DmCc9lEw.js","./tslib.es6-QNbPBOk5-DpzS01Oy.js","./Heading-CNfXfPK2-CdHZX_Ze.js","./clsx-COFh-Vc8-DWAop4cA.js","./Collapsible-BPAU3d7l-BoSRAfzJ.js","./disabled-CL52u2mm-DxZVPiAD.js","./label-w3T7Y2ih-B488ov6P.js","./open-BRQrMgjX-BGJ8dCAS.js","./element-interaction-C5-6aPzz-CwUv4L8C.js","./element-focus-BQXzaLL9-oq1SsV6e.js","./isArray-CcrBs4JM-DiEJ1b3e.js","./_Uint8Array-kJHDjtoP-CTkgs_0o.js","./normalizers-BNeak4hj-BwxUKMpl.js","./level-Cj2m5HKt-B0rmRHwt.js","./validation-Cnndf99L-U-UWHZv-.js","./kol-avatar.entry-Ia48x43f.js","./i18n-CvFPh0g5-DJnQsXap.js","./contrast-D_JyeI-Q-BlsvyLxF.js","./label-FtX-skKy-wxSyFGcC.js","./variant-quote-ClYWonZq-CfOvS_BT.js","./src-BnjoA2Q6-DzK0ac5p.js","./kol-badge.entry-CY7N3KFf.js","./component-BjVFpeYY-Dt0Tx2Ec.js","./component-DepnuZGT-D0xqqfD7.js","./color-DfMsiiGq-CBOSygMe.js","./icons-mXXqyviE-B5o2PkhL.js","./kol-breadcrumb.entry-CJkZduPx.js","./unique-nav-labels-B6_Oto5e-Ccx32WLA.js","./validation-BZPzOg5I-Az5ivlwq.js","./kol-button.entry-BAcBT-XG.js","./kol-button-link.entry-DZmvQn5B.js","./kol-card.entry-DeVbU01R.js","./kol-details.entry-DMaPGmPV.js","./kol-drawer.entry-DM8Jm7Ww.js","./tooltip-open-tracking-D3tCiiGP-CEtn2Gu2.js","./has-closer-DoXfZcmn-k6rfpDpU.js","./align-C8fl12z_-Boq_HCFK.js","./scroll-lock-BWDLIEQu-CykNS5eN.js","./kol-form.entry-DcxYfJSt.js","./Alert-BjiZcCeA-VpXJ2wTQ.js","./kol-heading.entry-Ba1E9iZd.js","./label-with-expert-slot-CU-oeLnm-BkUD-T35.js","./kol-icon.entry-CQc98voB.js","./kol-image.entry-0nWjZ36E.js","./kol-input-checkbox.entry-BthL55kU.js","./aria-details-hRfn8aN9-DCFwNeAO.js","./aria-labelledby-6-ki3akM-C6lJ0lQF.js","./associated.controller-FCQDejnI-CSMeZzGP.js","./hide-label-CRGm6KGP-RSSkC1jc.js","./tooltip-align-BQmLWbBy-C7zHPfgd.js","./variant-class-name-9qZ5egaq-CxTj-bFt.js","./align-floating-elements-CBhVmYjn-B3PgGOWo.js","./behavior-Co00uT-D-CmtkW5nv.js","./component-BXCnkVUN-UFdRA2ni.js","./controller-D__mtOju-DVRQYBqZ.js","./FormFieldStateWrapper-CANKwnKv-Cag04vt6.js","./access-and-short-key-ijzCZfHm-Dx5Q-CAn.js","./Input-DyCv-etW-ZUDo7EwU.js","./required-CGf-IRxL-BRW8_G0b.js","./orientation-CfF8dz-f-oJcf7Gyt.js","./controller-CnmYmyZK-CXbd6AMX.js","./FieldControlStateWrapper-CL8sIEsf-DbQEySfj.js","./kol-input-color.entry-DlQLpdSo.js","./controller-icon-GPaN1UHM-DyfFtrDk.js","./InputStateWrapper-BJMqyY_8-B1eRhMfD.js","./suggestions-CKylTAKv-y2wRBnNi.js","./auto-complete-C-QNfuIh-C0GOymRp.js","./kol-input-date.entry-BQpGUUfA.js","./read-only-DyDY-E9H-P3zLMGmY.js","./kol-input-email.entry-lJB2AsNG.js","./placeholder-CmUUN-3U-BF65xFHs.js","./counter-dom-updater-osLR7-G0-I5LlQiFV.js","./multiple-BZRAazRb-Dmfeeppw.js","./spell-check-6kYqpIpx-BSf3yHGh.js","./controller-QfZ_zY-h-DXNVuN0W.js","./controller-BFiUKKYT-C_ymMvy8.js","./kol-input-file.entry-Dmy7PCwE.js","./kol-input-number.entry-BLqpWKe3.js","./kol-input-password.entry-CXa_LzO6.js","./kol-input-radio.entry-DlX-jcNY.js","./kol-input-text.entry-C7NEeaUa.js","./kol-kolibri.entry-DuRvskHx.js","./kol-link.entry-RgWJW6tM.js","./href-B7u09W3s-Crs1FQnq.js","./component-BDS_iE5Q-D8jrPGBb.js","./kol-link-button.entry-Bex-6eo-.js","./kol-nav.entry-CRY9-wgs.js","./kol-popover-button.entry-JltN9vH6.js","./kol-progress.entry-DJRDM8cx.js","./value-number-clamped-Fuextuj1-BLy0eSFZ.js","./kol-quote.entry-CCsaAd97.js","./kol-select.entry-DNZfn0jD.js","./kol-skeleton.entry-CsKmxFan.js","./component-WjvIfI-H-BZ0_t8iE.js","./kol-skip-nav.entry-CpP-80kA.js","./kol-spin.entry-BfjY2VU3.js","./component-K3ngYLGq-DCTAKixG.js","./kol-split-button.entry-CYHFNWDy.js","./kol-table-stateful.entry-C-PKI-Us.js","./aria-labelledby-D6AMAZtK-4-AliaoO.js","./table-selection-CB6W390S-Bjnbv2m1.js","./keyboard-DNd73LVa-BCj4IeP3.js","./kol-table-stateless.entry-CtulyrOa.js","./kol-tabs.entry-d9sXZsg_.js","./kol-textarea.entry-Cig3v3uZ.js","./rows-DlWRIMNQ-yfMfFIa4.js","./kol-toast-container.entry-VpTcO3AR.js","./kol-toolbar.entry-DgIwwZyI.js","./kol-tree.entry-BwmFccJQ.js","./kol-version.entry-CyexGVQE.js","./kol-alert-wc.entry-D1mLBjkS.js","./kol-button-wc.entry-BqDrl_St.js","./custom-class-BtoZpwyq-D2O_SiAY.js","./inline-DCDQA_d_-CBqH52h_.js","./kol-card-wc.entry-AIW0nILJ.js","./href-C9xfRiDr-DzlsaFs6.js","./kol-click-button.entry-AuYBmB-H.js","./kol-combobox.entry-0xMoGW2Q.js","./CustomSuggestionsOptionsGroup-CPp_en4y-BWanoGfx.js","./kol-dialog-wc.entry-BdXiL0RO.js","./kol-input-range.entry-DieLYnRU.js","./kol-link-wc.entry-CDpB_HIc.js","./kol-meter.entry-0fuVhNGc.js","./kol-pagination-wc.entry-DiDIPM3P.js","./kol-popover-button-wc.entry-yGu72tH9.js","./kol-select-wc.entry-Dy-SN0oO.js","./kol-single-select.entry-DhyoWV9A.js","./kol-table-settings-wc.entry-B2SpNyvR.js","./kol-table-stateless-wc.entry-DKnJz-W4.js","./kol-tooltip-wc.entry-C-cBRwrk.js","./kol-tree-item-wc.entry-CFzQEzIL.js","./kol-tree-wc.entry-CrR_G-dd.js","./devtools-CAWyelfv-Cu1CBKlc.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,o)=>(o=n==null?{}:e(i(n)),s(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var l=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var ee=Array.isArray;function S(){}var C={H:null,A:null,T:null,S:null},w=Object.prototype.hasOwnProperty;function T(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function te(e,t){return T(e.type,t,e.props)}function E(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ne(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var D=/\/+/g;function re(e,t){return typeof e==`object`&&e&&e.key!=null?ne(``+e.key):t.toString(36)}function O(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(S,S):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function k(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,k(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+re(e,0):a,ee(o)?(i=``,c!=null&&(i=c.replace(D,`$&/`)+`/`),k(o,r,i,``,function(e){return e})):o!=null&&(E(o)&&(o=te(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(D,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(ee(e))for(var u=0;u<e.length;u++)a=e[u],s=l+re(a,u),c+=k(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+re(a,u++),c+=k(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return k(O(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function A(e,t,n){if(e==null)return e;var r=[],i=0;return k(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function j(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ie=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ae={map:A,forEach:function(e,t,n){A(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return A(e,function(){t++}),t},toArray:function(e){return A(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=ae,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return C.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!w.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return T(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)w.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return T(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=E,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:j}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=C.T,n={};C.T=n;try{var r=e(),i=C.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(S,ie)}catch(e){ie(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),C.T=t}},e.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},e.use=function(e){return C.H.use(e)},e.useActionState=function(e,t,n){return C.H.useActionState(e,t,n)},e.useCallback=function(e,t){return C.H.useCallback(e,t)},e.useContext=function(e){return C.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return C.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return C.H.useEffect(e,t)},e.useEffectEvent=function(e){return C.H.useEffectEvent(e)},e.useId=function(){return C.H.useId()},e.useImperativeHandle=function(e,t,n){return C.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return C.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return C.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return C.H.useMemo(e,t)},e.useOptimistic=function(e,t){return C.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return C.H.useReducer(e,t,n)},e.useRef=function(e){return C.H.useRef(e)},e.useState=function(e){return C.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return C.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return C.H.useTransition()},e.version=`19.2.8`})),u=o(((e,t)=>{t.exports=l()})),d=c(u(),1),f=e=>e.toLowerCase().split(`-`).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(``),p=e=>e.replace(/([A-Z])/g,e=>`-${e[0].toLowerCase()}`),m=(e,t,n={})=>{if(e instanceof Element){let r=h(e.classList,t,n);r!==``&&(e.className=r),Object.keys(t).forEach(n=>{if(n!==`children`&&n!==`style`&&n!==`ref`&&n!==`class`&&n!==`className`&&n!==`forwardedRef`){if(n.indexOf(`on`)===0&&n[2]===n[2].toUpperCase()){let r=n.substring(2),i=r[0].toLowerCase()+r.substring(1);_(i)||v(e,i,t[n])}else e[n]=t[n],typeof t[n]==`string`&&e.setAttribute(p(n),t[n])}})}},h=(e,t,n)=>{let r=t.className||t.class,i=n.className||n.class,a=y(e),o=y(r?r.split(` `):[]),s=y(i?i.split(` `):[]),c=[];return a.forEach(e=>{o.has(e)?(c.push(e),o.delete(e)):s.has(e)||c.push(e)}),o.forEach(e=>c.push(e)),c.join(` `)},g=e=>e===`doubleclick`?`dblclick`:e,_=e=>{if(typeof document>`u`)return!0;{let t=`on`+g(e),n=t in document;if(!n){let e=document.createElement(`div`);e.setAttribute(t,`return;`),n=typeof e[t]==`function`}return n}},v=(e,t,n)=>{let r=e.__events||={},i=r[t];i&&e.removeEventListener(t,i),e.addEventListener(t,r[t]=function(e){n&&n.call(this,e)})},y=e=>{let t=new Map;return e.forEach(e=>t.set(e,e)),t},b,x=e=>{b=e},ee=(e,t)=>{typeof e==`function`?e(t):e!=null&&(e.current=t)},S=(...e)=>t=>{e.forEach(e=>{ee(e,t)})},C=(e,t)=>{let n=(t,n)=>d.createElement(e,{...t,forwardedRef:n});return n.displayName=t,d.forwardRef(n)},w=(e,t,n,r)=>{let i=f(e);return C(class extends d.Component{componentEl;setComponentElRef=e=>{this.componentEl=e};constructor(e){super(e)}componentDidMount(){this.componentDidUpdate(this.props)}componentDidUpdate(e){m(this.componentEl,this.props,e)}render(){let{children:t,forwardedRef:n,style:r,className:i,ref:a,...o}=this.props,s={...Object.keys(o).reduce((e,t)=>{let n=o[t];if(t.indexOf(`on`)===0&&t[2]===t[2].toUpperCase()){let r=t.substring(2).toLowerCase();typeof document<`u`&&_(r)&&(e[t]=n)}else{let r=typeof n;(r===`string`||r===`boolean`||r===`number`)&&(e[p(t)]=n)}return e},{}),ref:S(n,this.setComponentElRef),style:r},c=typeof b==`function`?b(e):e;return(0,d.createElement)(c,s,t)}static get displayName(){return i}},i)},T=w(`kol-abbr`),te=w(`kol-accordion`),E=w(`kol-alert`),ne=w(`kol-avatar`),D=w(`kol-badge`),re=w(`kol-breadcrumb`),O=w(`kol-button`),k=w(`kol-button-link`),A=w(`kol-card`),j=w(`kol-combobox`),ie=w(`kol-details`),ae=w(`kol-dialog`),oe=w(`kol-drawer`),M=w(`kol-form`),N=w(`kol-heading`),se=w(`kol-icon`),ce=w(`kol-image`),P=w(`kol-input-checkbox`),le=w(`kol-input-color`),F=w(`kol-input-date`),ue=w(`kol-input-email`),de=w(`kol-input-file`),fe=w(`kol-input-number`),pe=w(`kol-input-password`),me=w(`kol-input-radio`),he=w(`kol-input-range`),I=w(`kol-input-text`),ge=w(`kol-kolibri`),L=w(`kol-link`),_e=w(`kol-link-button`),ve=w(`kol-meter`),ye=w(`kol-nav`),be=w(`kol-pagination`),xe=w(`kol-popover-button`),Se=w(`kol-progress`),Ce=w(`kol-quote`),R=w(`kol-select`),we=w(`kol-single-select`),Te=w(`kol-skeleton`),Ee=w(`kol-skip-nav`),De=w(`kol-spin`),Oe=w(`kol-split-button`),z=w(`kol-table-stateful`),ke=w(`kol-table-stateless`),Ae=w(`kol-tabs`),B=w(`kol-textarea`),je=w(`kol-toolbar`),Me=w(`kol-tree`),Ne=w(`kol-tree-item`),Pe=w(`kol-version`);function Fe(e){let t=document.createElement(`div`);return t.setAttribute(`role`,`presentation`),e.innerHTML=``,e.appendChild(t),t}var Ie=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m){if(n(c)!==null)m=!0,ee||(ee=!0,E());else{var t=n(l);t!==null&&re(x,t.startTime-e)}}}var ee=!1,S=-1,C=5,w=-1;function T(){return g?!0:!(e.unstable_now()-w<C)}function te(){if(g=!1,ee){var t=e.unstable_now();w=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(S),S=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&T());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&re(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?E():ee=!1}}}var E;if(typeof y==`function`)E=function(){y(te)};else if(typeof MessageChannel<`u`){var ne=new MessageChannel,D=ne.port2;ne.port1.onmessage=te,E=function(){D.postMessage(null)}}else E=function(){_(te,0)};function re(t,n){S=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):C=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(S),S=-1):h=!0,re(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ee||(ee=!0,E()))),r},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),Le=o(((e,t)=>{t.exports=Ie()})),Re=o((e=>{var t=u();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`){if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)}},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`){if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)}},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.8`})),ze=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=Re()})),Be=o((e=>{var t=Le(),n=u(),r=ze();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function d(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function f(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=f(e),t!==null)return t;e=e.sibling}return null}var p=Object.assign,m=Symbol.for(`react.element`),h=Symbol.for(`react.transitional.element`),g=Symbol.for(`react.portal`),_=Symbol.for(`react.fragment`),v=Symbol.for(`react.strict_mode`),y=Symbol.for(`react.profiler`),b=Symbol.for(`react.consumer`),x=Symbol.for(`react.context`),ee=Symbol.for(`react.forward_ref`),S=Symbol.for(`react.suspense`),C=Symbol.for(`react.suspense_list`),w=Symbol.for(`react.memo`),T=Symbol.for(`react.lazy`),te=Symbol.for(`react.activity`),E=Symbol.for(`react.memo_cache_sentinel`),ne=Symbol.iterator;function D(e){return typeof e!=`object`||!e?null:(e=ne&&e[ne]||e[`@@iterator`],typeof e==`function`?e:null)}var re=Symbol.for(`react.client.reference`);function O(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===re?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case _:return`Fragment`;case y:return`Profiler`;case v:return`StrictMode`;case S:return`Suspense`;case C:return`SuspenseList`;case te:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case g:return`Portal`;case x:return e.displayName||`Context`;case b:return(e._context.displayName||`Context`)+`.Consumer`;case ee:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case w:return t=e.displayName||null,t===null?O(e.type)||`Memo`:t;case T:t=e._payload,e=e._init;try{return O(e(t))}catch{}}return null}var k=Array.isArray,A=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie={pending:!1,data:null,method:null,action:null},ae=[],oe=-1;function M(e){return{current:e}}function N(e){0>oe||(e.current=ae[oe],ae[oe]=null,oe--)}function se(e,t){oe++,ae[oe]=e.current,e.current=t}var ce=M(null),P=M(null),le=M(null),F=M(null);function ue(e,t){switch(se(le,t),se(P,e),se(ce,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Wd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Wd(t),e=Gd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}N(ce),se(ce,e)}function de(){N(ce),N(P),N(le)}function fe(e){e.memoizedState!==null&&se(F,e);var t=ce.current,n=Gd(t,e.type);t!==n&&(se(P,e),se(ce,n))}function pe(e){P.current===e&&(N(ce),N(P)),F.current===e&&(N(F),tp._currentValue=ie)}var me,he;function I(e){if(me===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);me=t&&t[1]||``,he=-1<e.stack.indexOf(`
|
|
3
3
|
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
4
4
|
`+me+e+he}var ge=!1;function L(e,t){if(!e||ge)return``;ge=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
|
|
@@ -22,11 +22,11 @@ Error generating stack: `+e.message+`
|
|
|
22
22
|
- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns`)},ka=(e,t=8)=>{t>7&&Ea(`[${e}] Within navigation structures, it is recommended to use no more than 7 menu items.
|
|
23
23
|
|
|
24
24
|
Link:
|
|
25
|
-
- https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`)},Aa=.2126,ja=.7152,Ma=.0722,Na=1/12.92;function Pa(e){return((e+.055)/1.055)**2.4}function Fa(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=t<=.03928?t*Na:Pa(t),a=n<=.03928?n*Na:Pa(n),o=r<=.03928?r*Na:Pa(r);return i*Aa+a*ja+o*Ma}function Ia(e){var t=255;(e=e.replace(/^#/,``)).length===8&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),e.length===4&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var n=parseInt(e,16);return[n>>16,n>>8&255,255&n,t]}function La(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}function Ra(e,t){return La(Fa(e),Fa(t))}function za(e,t){return Ra(Ia(e),Ia(t))}function Ba(e){return e>=7?`AAA`:e>=4.5?`AA`:e>=3?`AA Large`:`Fail`}var Va,Ha;function Ua(){return Ha?Va:(Ha=1,Va={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]},Va)}var Wa,Ga;function Ka(){if(Ga)return Wa;Ga=1;var e=Ua();Wa=n;var t={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function n(n){var r,i=[],a=1,o;if(typeof n==`string`){if(n=n.toLowerCase(),e[n])i=e[n].slice(),o=`rgb`;else if(n===`transparent`)a=0,o=`rgb`,i=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(n)){var s=n.slice(1),c=s.length,l=c<=4;a=1,l?(i=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],c===4&&(a=parseInt(s[3]+s[3],16)/255)):(i=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],c===8&&(a=parseInt(s[6]+s[7],16)/255)),i[0]||(i[0]=0),i[1]||(i[1]=0),i[2]||(i[2]=0),o=`rgb`}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(n)){var u=r[1],d=u===`rgb`,s=u.replace(/a$/,``);o=s;var c=s===`cmyk`?4:s===`gray`?1:3;i=r[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(e,n){if(/%$/.test(e))return n===c?parseFloat(e)/100:s===`rgb`?parseFloat(e)*255/100:parseFloat(e);if(s[n]===`h`){if(/deg$/.test(e))return parseFloat(e);if(t[e]!==void 0)return t[e]}return parseFloat(e)}),u===s&&i.push(1),a=d||i[c]===void 0?1:i[c],i=i.slice(0,c)}else n.length>10&&/[0-9](?:\s|\/)/.test(n)&&(i=n.match(/([0-9]+)/g).map(function(e){return parseFloat(e)}),o=n.match(/([a-z])/gi).join(``).toLowerCase())}else isNaN(n)?Array.isArray(n)||n.length?(i=[n[0],n[1],n[2]],o=`rgb`,a=n.length===4?n[3]:1):n instanceof Object&&(n.r!=null||n.red!=null||n.R!=null?(o=`rgb`,i=[n.r||n.red||n.R||0,n.g||n.green||n.G||0,n.b||n.blue||n.B||0]):(o=`hsl`,i=[n.h||n.hue||n.H||0,n.s||n.saturation||n.S||0,n.l||n.lightness||n.L||n.b||n.brightness]),a=n.a||n.alpha||n.opacity||1,n.opacity!=null&&(a/=100)):(o=`rgb`,i=[n>>>16,(n&65280)>>>8,n&255]);return{space:o,values:i,alpha:a}}return Wa}var qa=Wr(Ka()),Ja={min:[0,0,0],max:[255,255,255]},Ya={name:`hsl`,min:[0,0,0],max:[360,100,100],channel:[`hue`,`saturation`,`lightness`],alias:[`HSL`],rgb:function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100,i,a,o,s,c,l=0;if(n===0)return c=r*255,[c,c,c];for(a=r<.5?r*(1+n):r+n-r*n,i=2*r-a,s=[0,0,0];l<3;)o=t+1/3*-(l-1),o<0?o++:o>1&&o--,c=6*o<1?i+(a-i)*6*o:2*o<1?a:3*o<2?i+(a-i)*(2/3-o)*6:i,s[l++]=c*255;return s}};Ja.hsl=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=a-i,s,c,l;return a===i?s=0:t===a?s=(n-r)/o:n===a?s=2+(r-t)/o:r===a&&(s=4+(t-n)/o),s=Math.min(s*60,360),s<0&&(s+=360),l=(i+a)/2,c=a===i?0:l<=.5?o/(a+i):o/(2-a-i),[s,c*100,l*100]};var Xa={exports:{}},Za;function Qa(){if(Za)return Xa.exports;Za=1,Xa.exports=e,Xa.exports.arr=e,Xa.exports.obj=t,Xa.exports.css=n,Xa.exports.hex=r,Xa.exports.num=i;function e(e){var t=a(e);return t.length==3?t.concat(255):(t[3]=Math.round(t[3]),t)}function t(e){var t=a(e);return{r:t[0],g:t[1],b:t[2],a:t.length==3?255:Math.round(t[3])}}function n(e){var t=a(e);return t.length==3&&t.push(255),t[3]==255?`rgb(`+t[0]+`, `+t[1]+`, `+t[2]+`)`:t[3]==0?`rgba(`+t[0]+`, `+t[1]+`, `+t[2]+`, 0)`:`rgba(`+t[0]+`, `+t[1]+`, `+t[2]+`, `+String(t[3]/255).substr(1)+`)`}function r(e){var t=a(e);t.length==3&&t.push(255);var n=t[3]==255,r=o(t[0]),i=o(t[1]),c=o(t[2]),t=o(Math.round(t[3])),l=s(r,i,c,t);return n?l?`#`+r.charAt(0)+i.charAt(0)+c.charAt(0):`#`+r+i+c:l?`#`+r.charAt(0)+i.charAt(0)+c.charAt(0)+t.charAt(0):`#`+r+i+c+t}function i(e){var t=a(e);return t.length==3?t.push(255):t[3]=Math.round(t[3]),(t[3]<<24>>>0|t[0]<<16|t[1]<<8|t[2])>>>0}function a(e){return typeof e==`string`?(e=e.toLowerCase(),c(e)||u(e)||d(e)||g(e)||_(e)||[0,0,0,255]):p(e)||m(e)||h(e)||[0,0,0,255]}function o(e){var t=e.toString(16);return t.length==1?`0`+t:t}function s(e,t,n,r){var i=[`ff`,`00`,`11`,`22`,`33`,`44`,`55`,`66`,`77`,`88`,`99`,`aa`,`bb`,`cc`,`dd`,`ee`];return i.indexOf(e)!=-1&&i.indexOf(t)!=-1&&i.indexOf(n)!=-1&&i.indexOf(r)!=-1}function c(e){if(e==`red`)return[255,0,0];if(e==`green`)return[0,255,0];if(e==`blue`)return[0,0,255];if(e==`black`)return[0,0,0];if(e==`white`)return[255,255,255];if(e==`cyan`)return[0,255,255];if(e==`gray`||e==`grey`)return[128,128,128];if(e==`magenta`||e==`pink`)return[255,0,255];if(e==`yellow`)return[255,255,0]}function l(e){return e.length==1?parseInt(e+e,16):parseInt(e,16)}function u(e){var t=e.replace(/^#/,``),n=t.length;if(n==3||n==4){var r=l(t[0]),i=l(t[1]),a=l(t[2]),o=n==3?255:l(t[3]);return isNaN(r)||isNaN(i)||isNaN(a)||isNaN(o)?void 0:[r,i,a,o]}}function d(e){var t=e.replace(/^#/,``),n=t.length;if(n==6||n==8){var r=l(t.slice(0,2)),i=l(t.slice(2,4)),a=l(t.slice(4,6)),o=n==6?255:l(t.slice(6,8));return isNaN(r)||isNaN(i)||isNaN(a)||isNaN(o)?void 0:[r,i,a,o]}}function f(e,t){return typeof e!=`number`||t===!0&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}function p(e){if(Object.prototype.toString.call(e)===`[object Object]`&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=f(e.r==null?e.red==null?0:e.red:e.r,!0),n=f(e.g==null?e.green==null?0:e.green:e.g,!0),r=f(e.b==null?e.blue==null?0:e.blue:e.b,!0),i=f(e.a==null?e.alpha==null?255:e.alpha:e.a,!0);if(t!=-1&&n!=-1&&r!=-1&&i!=-1)return[t,n,r,i]}}function m(e){if(Array.isArray(e)&&(e.length==3||e.length==4)){var t=f(e[0],!0),n=f(e[1],!0),r=f(e[2],!0),i=f(e[3]==null?255:e[3],!0);if(t!=-1&&n!=-1&&r!=-1&&i!=-1)return[t,n,r,i]}}function h(e){if(typeof e==`number`&&Math.floor(e)==e&&e<=4294967295&&e>=0){var t=e>>24&255;return[e>>16&255,e>>8&255,e&255,t]}}function g(e){if(e.substr(0,4)==`rgb(`){e=e.match(/^rgb\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number),n=f(t[0],!0),r=f(t[1],!0),i=f(t[2],!0);if(n!=-1&&r!=-1&&i!=-1)return[n,r,i,255]}}function _(e){if(e.substr(0,5)==`rgba(`){e=e.match(/^rgba\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number),n=f(t[0],!0),r=f(t[1],!0),i=f(t[2],!0),a=f(t[3]*255);if(n!=-1&&r!=-1&&i!=-1&&a!=-1)return[n,r,i,a]}}return Xa.exports}var $a=Wr(Qa()),eo=/\[object Object\]/,to=(e,t)=>{typeof e==`string`&&eo.test(e)||t()},no=(e,t)=>{(typeof e!=`string`||e!==``)&&t()},ro=(e,t)=>{aa()&&(ha.debug([e,t]),ha.debug(`↑ We propagate the (submit) event to this target.`)),Object.defineProperty(e,"target",{value:t,writable:!1})},io=e=>{var t,n;(t=e.nextHooks)==null||t.forEach((t,n)=>{let r=t.get(`beforePatch`);typeof r==`function`&&r(e.nextState?.get(n),e.nextState,e,n)}),e.nextState?.size>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,(n=e.nextHooks)==null||n.forEach((t,n)=>{let r=t.get(`afterPatch`);typeof r==`function`&&r(e.state[n],e.state,e,n)})),delete e.nextHooks},ao=(e,t,n,r={})=>{var i,a;e.nextHooks===void 0&&(e.nextHooks=new Map),e.nextState===void 0&&(e.nextState=new Map),e.nextHooks.get(t)instanceof Map||e.nextHooks.set(t,new Map),typeof r.afterPatch==`function`&&((i=e.nextHooks.get(t))==null||i.set(`afterPatch`,r.afterPatch)),typeof r.beforePatch==`function`&&((a=e.nextHooks.get(t))==null||a.set(`beforePatch`,r.beforePatch)),e.nextState.set(t,n),io(e)},oo=(e,t,n,r)=>{xa(`[${e.constructor.name}] The property value: (${n}) for '${t}' is not valid. Allowed values are: ${Array.from(r).join(`, `)}`)};function so(e,t,n,r,i,a={}){n(i)?ao(e,t,i,a.hooks):i===void 0&&a.required!==!0&&n(a.defaultValue)?ao(e,t,a.defaultValue,a.hooks):(a.required||r.add(null),oo(e,t,i,r))}var co=(e,t,n,r)=>{so(e,t,e=>typeof e==`boolean`,new Set([`Boolean {true, false}`]),n,r)},lo=(e,t,n,r={})=>{let i=typeof r.minLength==`number`?r?.minLength:0;so(e,t,e=>typeof e==`string`&&e.length>=i&&(r?.maxLength===void 0||e.length<=r.maxLength),new Set([`String`]),n,r)},U=(e,t,n,r)=>{so(e,t,e=>typeof e==`number`&&(r?.min===void 0||typeof r?.min==`number`&&e>=r.min)&&(r?.max===void 0||typeof r?.max==`number`&&e<=r.max),new Set([`Number`]),n,r)},uo=(e,t,n,r,i=e=>e===e,a={})=>{no(r,()=>{to(r,()=>{r===void 0&&(r=[]);try{try{r=mo(r)}catch{}if(Array.isArray(r)){let o=r.find(e=>!n(e));o===void 0&&i(r)?ao(e,t,r,a.hooks):to(o,()=>{throw ha.debug(o),Error(`↑ The schema for the property (_options) is not valid. The value will not be changed.`)})}else to(r,()=>{throw ha.debug(r),Error(`↑ The schema for the property (_options) is not valid. The value will not be changed.`)})}catch(e){ha.debug(e)}})})},fo=e=>{try{return JSON.stringify(e).replace(/"/g,`'`)}catch{throw ha.warn([`stringifyJson`,e]),ha.error(`↑ The JSON could not be converted to a string. A stringifiable JSON is expected.`),Error()}},po=/^[{[]/,mo=e=>{if(typeof e==`string`)try{return JSON.parse(e)}catch{if(po.test(e))try{return JSON.parse(e.replace(/'/g,`"`))}catch{ha.warn([`parseJson`,e]),ha.error(`↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (‘).`)}}throw Error()},ho=e=>typeof e==`boolean`?e===!0?`true`:`false`:void 0,go=e=>typeof e==`string`?e:ho(e),_o=(e,t)=>{if(!e)return;let n=new Set,r=[e],i=0;for(;i<r.length;){let e=r[i++];if(n.has(e))continue;if(n.add(e),t(e))return;let a=Array.from(e.children||[]);for(let e=0;e<a.length;e++)r.push(a[e]);if(e instanceof HTMLElement&&e.shadowRoot&&r.push(e.shadowRoot),e instanceof HTMLSlotElement){let t=e.assignedNodes({flatten:!0});for(let e=0;e<t.length;e++)t[e]instanceof Element&&r.push(t[e])}}},vo=(e,t)=>{let n=null;return _o(t,t=>t instanceof Element&&t.matches(e)?(n=t,!0):!1),n},yo=(e,t)=>{let n=[];return _o(t,t=>(t instanceof Element&&t.matches(e)&&n.push(t),!1)),n},bo=(e,t)=>vo(e,t||Zi()),xo=(e,t)=>yo(e,t||Zi()),So=null,Co=()=>(So||={backgroundColor:`#00000000`,color:`#00000000`,domNode:Zi().body,level:`Fail`,score:1},So),wo=/(\d+, ){3}0\)/,To=(e,t=Co())=>{let n=getComputedStyle(e),r=wo.test(n.backgroundColor)?t.backgroundColor:$a.hex(n.backgroundColor),i=wo.test(n.color)?t.color:$a.hex(n.color),a=za(r,i),o={backgroundColor:r,color:i,domNode:e,level:Ba(a),score:a};return a<4.5&&ha.error([`Color-Contrast-Error`,{backgroundColor:o.backgroundColor,color:o.color,level:o.level,score:o.score},o.domNode]),o},Eo=(e,t=Co())=>{t.domNode instanceof HTMLElement&&(t=To(t.domNode,t));let n=t.domNode.querySelector(e);if(n===null){let n=t.domNode.querySelectorAll(`[class="hydrated"]`);for(let r=0;r<n.length&&(t.domNode=n[r],t=Eo(e,t),t.domNode===null);r++);return t}return To(n,t)},Do=class e{static queryHtmlElementColors(t,n,r=!1,i=!0){let a=null;if(r===!0||e.executionLock===!1){if(r===!1&&(e.cache.clear(),e.cache.set(n.domNode,n),e.executionLock=!0,i===!0&&ha.debug(`[KoliBriUtils] Color contrast analysis started...`)),t===n.domNode)a=n;else{let r=new Set;if(n.domNode.shadowRoot){let e=n.domNode.shadowRoot.children;for(let t=0;t<e.length;t++)r.add(e[t])}let i=n.domNode;if(typeof i.assignedNodes==`function`){let e=i.assignedNodes();for(let t=0;t<e.length;t++)e[t]instanceof HTMLElement&&r.add(e[t])}let o=n.domNode.children;for(let e=0;e<o.length;e++)r.add(o[e]);let s=Array.from(r);for(let r=0;r<s.length;r++){let i=e.cache.get(s[r]);i===void 0&&(i=To(s[r],n)),e.cache.set(s[r],i);let o=e.queryHtmlElementColors(t,i,!0,!1);if(o!==null){a=o;break}}}}else ha.debug(`[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.`);return r===!1&&(i===!0&&ha.debug(`[KoliBriUtils] Color contrast analysis finished (${e.cache.size} DOM elements are analysed).`),e.executionLock=!1,e.cache.clear()),a}};Do.executionLock=!1,Do.cache=new Map;var Oo=class{};Oo.getCssStyle=ki,Oo.patchTheme=oi,Oo.patchThemeTag=ii,Oo.querySelector=bo,Oo.querySelectorAll=xo,Oo.stringifyJson=fo;var ko=e=>typeof e==`object`&&!!e,Ao=(e,t=0)=>typeof e==`string`&&e.length>=t,jo=e=>{if(typeof e==`object`&&e){for(let t in e)if(Ao(t,1)===!1)return!1}else return Ao(e,1);return!0},Mo=new Event(`StateChange`),No,Po=[],Fo=e=>{No=e,Po.forEach(t=>{t(e)})},Io=(e,t=!0)=>(t&&typeof No==`string`&&e(No),Po.push(e),()=>{let t=Po.indexOf(e);t>=0&&Po.splice(t,1)}),Lo=`kol-abbr`,Ro=`kol-accordion`,zo=`kol-alert`,Bo=`kol-alert-wc`,Vo=`kol-avatar`,Ho=`kol-avatar-wc`,Uo=`kol-badge`,Wo=`kol-breadcrumb`,Go=`kol-button-link`,Ko=`kol-button`,qo=`kol-button-wc`,Jo=`kol-card`,Yo=`kol-card-wc`,Xo=`kol-combobox`,Zo=`kol-details`,Qo=`kol-dialog`,$o=`kol-dialog-wc`,es=`kol-drawer`,ts=`kol-form`,ns=`kol-heading`,rs=`kol-icon`,is=`kol-image`,as=`kol-input-checkbox`,os=`kol-input-color`,ss=`kol-input-date`,cs=`kol-input-email`,ls=`kol-input-file`,us=`kol-input-number`,ds=`kol-input-password`,fs=`kol-input-radio`,ps=`kol-input-range`,ms=`kol-input`,hs=`kol-input-text`,gs=`kol-kolibri`,_s=`kol-link-button`,vs=`kol-link`,ys=`kol-link-wc`,bs=`kol-meter`,xs=`kol-modal`,Ss=`kol-nav`,Cs=`kol-pagination`,ws=`kol-pagination-wc`,Ts=`kol-popover-button`,Es=`kol-popover-button-wc`,Ds=`kol-progress`,Os=`kol-quote`,ks=`kol-select`,As=`kol-select-wc`,js=`kol-single-select`,Ms=`kol-skip-nav`,Ns=`kol-spin`,Ps=`kol-split-button`,Fs=`kol-table-settings-wc`,Is=`kol-table-stateful`,Ls=`kol-table-stateless`,Rs=`kol-table-stateless-wc`,zs=`kol-tabs`,Bs=`kol-textarea`,Vs=`kol-toast-container`,Hs=`kol-tooltip-wc`,Us=`kol-tree-item`,Ws=`kol-tree-item-wc`,Gs=`kol-tree`,Ks=`kol-tree-wc`,qs=`kol-version`,Js=e=>{Lo=e(Lo),Ro=e(Ro),zo=e(zo),Bo=e(Bo),Vo=e(Vo),Ho=e(Ho),Uo=e(Uo),Wo=e(Wo),Go=e(Go),Ko=e(Ko),qo=e(qo),Jo=e(Jo),Yo=e(Yo),Xo=e(Xo),Zo=e(Zo),Qo=e(Qo),$o=e($o),es=e(es),ts=e(ts),ns=e(ns),rs=e(rs),is=e(is),as=e(as),os=e(os),ss=e(ss),cs=e(cs),ls=e(ls),us=e(us),ds=e(ds),fs=e(fs),ps=e(ps),ms=e(ms),hs=e(hs),gs=e(gs),_s=e(_s),vs=e(vs),ys=e(ys),bs=e(bs),xs=e(xs),Ss=e(Ss),Cs=e(Cs),ws=e(ws),Ts=e(Ts),Es=e(Es),Ds=e(Ds),Os=e(Os),ks=e(ks),As=e(As),js=e(js),Ms=e(Ms),Ns=e(Ns),Ps=e(Ps),Fs=e(Fs),Is=e(Is),Ls=e(Ls),Rs=e(Rs),zs=e(zs),Bs=e(Bs),Vs=e(Vs),e(Hs),Hs=e(Hs),Us=e(Us),Ws=e(Ws),Gs=e(Gs),Ks=e(Ks),qs=e(qs)},Ys={"action-done":`Aktion abgeschlossen`,"action-running":`Aktion wird ausgeführt...`,"avatar-alt":`Avatar von {{name}}`,"character-counter-current":`{{current}} Zeichen`,"character-counter-current-of-max":`{{current}}/{{max}} Zeichen`,"character-counter-current-of-max-aria":`{{current}} von {{max}} Zeichen`,"character-counter-max-aria":`Zeichenlimit erreicht!`,"character-limit-exceeded":`Es sind {{over}} Zeichen zu viel.`,"character-limit-hint":`Es können bis zu {{limit}} Zeichen eingegeben werden.`,"character-limit-remaining":`Es sind noch {{remaining}} Zeichen verfügbar.`,"clear-search":`Suche löschen`,close:`Schließen`,"close-alert":`Benachrichtigung schließen`,"data-browse-text":`Datei auswählen`,"delete-selection":`Auswahl entfernen`,"entries-per-site":`Einträge pro Seite`,error:`Fehler`,"error-list":`Fehlerliste`,"error-list-message":`Bitte korrigieren Sie folgende Fehler:`,"filename-text":`Datei auswählen oder hier ablegen...`,"form-description":`Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.`,"hide-password":`ausblenden`,info:`Hinweis`,"kolibri-logo":`Logo von KoliBri`,"live-value":`{{value}} {{unit}}`,"live-value-bounded":`{{value}} von {{max}} {{unit}}`,message:`Nachricht`,"meter-state-critical":`Kritisch`,"meter-state-optimum":`Optimal`,"meter-state-suboptimal":`Suboptimal`,"nav-maximize":`Navigation maximieren`,"nav-minimize":`Navigation minimieren`,new:`Neu`,"no-entries":`Es sind keine Einträge vorhanden.`,"no-results-message":`Keine Ergebnisse gefunden.`,"open-link-in-tab":`Öffnet in neuem Tab.`,page:`Seite`,"page-back":`Eine Seite zurück`,"page-first":`Direkt zur ersten Seite`,"page-last":`Direkt zur letzten Seite`,"page-next":`Eine Seite weiter`,pagination:`Paginierung`,"pagination-position-bottom":`unten`,"pagination-position-top":`oben`,readonly:`schreibgeschützt`,"show-password":`einblenden`,sort:`sortieren`,"split-button-dropdown-label-open":`Optionen anzeigen`,success:`Erfolg`,"table-data-loading":`Daten für Tabelle {{caption}} werden geladen.`,"table-data-loaded":`Daten für Tabelle {{caption}} wurden geladen.`,"table-pagination-label":`Paginierung für die Tabelle {{label}}`,"table-selection":`Auswahl`,"table-selection-all":`Alle auswählen`,"table-selection-indeterminate":`Alle auswählen bei teilweiser Auswahl`,"table-selection-none":`Alle abwählen`,"table-settings":`Tabellenkonfiguration`,"table-settings-apply":`Übernehmen`,"table-settings-cancel":`Abbrechen`,"table-settings-column-hidable":`Spalte "{{column}}" ausblenden.`,"table-settings-column-not-hidable":`Spalte "{{column}}" kann nicht ausgeblendet werden.`,"table-settings-column-width":`Breite von Spalte "{{column}}" in Pixel.`,"table-settings-error-all-invisible":`Mindestens eine Spalte muss sichtbar sein.`,"table-settings-move-down":`Spalte "{{column}}" nach unten verschieben.`,"table-settings-move-up":`Spalte "{{column}}" nach oben verschieben.`,"table-settings-not-move":`Spalte "{{column}}" kann nicht verschoben werden.`,"table-sort-order":`Priorität {{order}}`,"table-visible-range":`Einträge {{start}} bis {{end}} von {{total}}`,"toast-close-all":`Alle Benachrichtigungen schließen`,version:`Versionsnummer`,warning:`Warnung`},Xs={"action-done":`Action done`,"action-running":`Action is running...`,"avatar-alt":`Avatar of {{name}}`,"character-counter-current":`{{current}} characters`,"character-counter-current-of-max":`{{current}}/{{max}} characters`,"character-counter-current-of-max-aria":`{{current}} of {{max}} characters`,"character-counter-max-aria":`Character limit reached!`,"character-limit-exceeded":`You have {{over}} characters too many.`,"character-limit-hint":`You can enter up to {{limit}} characters`,"character-limit-remaining":`You have {{remaining}} characters remaining.`,"clear-search":`Clear search`,close:`Close`,"close-alert":`Close notification`,"data-browse-text":`Browse`,"delete-selection":`Delete selection`,"entries-per-site":`Entries per page`,error:`Error`,"error-list":`Error list`,"error-list-message":`Please correct the following errors`,"filename-text":`Choose a file or drop it here...`,"form-description":`Form fields marked with an asterisk (*) are mandatory.`,"hide-password":`Hide`,info:`Note`,"kolibri-logo":`KoliBri logo`,"live-value":`{{value}} {{unit}}`,"live-value-bounded":`{{value}} of {{max}} {{unit}}`,message:`Message`,"meter-state-critical":`Critical`,"meter-state-optimum":`Optimum`,"meter-state-suboptimal":`Suboptimal`,"nav-maximize":`Maximize navigation`,"nav-minimize":`Minimize navigation`,new:`New`,"no-entries":`No entries available.`,"no-results-message":`No results found.`,"open-link-in-tab":`Opens in new tab.`,page:`Page`,"page-back":`One page back`,"page-first":`Directly to the first page`,"page-last":`Directly to the last page`,"page-next":`One page further`,pagination:`Pagination`,"pagination-position-bottom":`bottom`,"pagination-position-top":`top`,readonly:`read-only`,"show-password":`Show`,sort:`sort`,"split-button-dropdown-label-open":`Show options`,success:`Success`,"table-data-loading":`Data in table {{caption}} is loading.`,"table-data-loaded":`Data in table {{caption}} got loaded.`,"table-pagination-label":`Pagination for table {{label}}`,"table-selection":`Selection`,"table-selection-all":`Select all`,"table-selection-indeterminate":`Select all with partial selection`,"table-selection-none":`Deselect all`,"table-settings":`Table configuration`,"table-settings-apply":`Apply`,"table-settings-cancel":`Cancel`,"table-settings-column-hidable":`Hide column "{{column}}".`,"table-settings-column-not-hidable":`Column "{{column}}" cannot be hidden.`,"table-settings-column-width":`Width of column "{{column}}" in pixel.`,"table-settings-error-all-invisible":`At least one column must be visible.`,"table-settings-move-down":`Move column "{{column}}" down.`,"table-settings-move-up":`Move column "{{column}}" up.`,"table-settings-not-move":`Column "{{column}}" cannot be moved.`,"table-sort-order":`Priority {{order}}`,"table-visible-range":`Entries {{start}} to {{end}} of {{total}}`,"toast-close-all":`Close all notifications`,version:`Version number`,warning:`Warning`},Zs=e=>Object.keys(e).reduce((t,n)=>(t[`kol-${n}`]=e[n],t),{}),Qs=new Set([e=>e(`en`,Zs(Xs)),e=>e(`de`,Zs(Ys))]),$s=function(e,t,n){return e.split(t).join(n)},ec=class{constructor(e){this.resourceMap=new Map,this.language=e??`de`}addTranslations(e){Array.isArray(e)?e=new Set(e):typeof e==`function`&&(e=new Set([e])),e!==void 0&&e.forEach(e=>e((e,t)=>{let n=this.resourceMap.get(e);return n||(n=new Map,this.resourceMap.set(e,n)),Object.entries(t).forEach(([e,t])=>{t&&n.set(e,t)}),e}))}setLanguage(e){this.language=e}translate(e,t){let n=this.resourceMap.get(this.language)?.get(e);return n?t?.placeholders&&Object.entries(t.placeholders).forEach(([e,t])=>{n=$s(n,`{{${e}}}`,t)}):n=e,n}},tc,nc=()=>tc,rc=(e,t=Qs)=>(tc=new ec(e),tc.addTranslations(t),tc),ic=!1,ac,oc=async(e,t,n)=>{let r=typeof process<`u`?`production`:void 0;ea(n?.environment||r||`production`),rc(n?.translation?.name??`de`,n?.translations),n?.transformTagName&&Js(n?.transformTagName);let i=await bi(e,t,n);return ic=!0,ac=n,ha.info(`Development mode active - Enhanced debugging features available`),i},sc=()=>ic,cc=()=>ac,lc,uc;function dc(){return uc?lc:(uc=1,lc=function(e){return function(t,n){if(!t)return e;var r;typeof t==`string`?r=t:n=t;var i=e;return r&&(i+=`__`+r),i+(n?Object.keys(n).reduce(function(e,t){var r=n[t];return r&&(e+=` `+(typeof r==`boolean`?i+`--`+t:i+`--`+t+`_`+r)),e},``):``)}},lc)}var fc=Wr(dc());function pc(){let e=new Map,t=(t,n,r)=>{try{return e.get(t)(n,r)}catch{return e.set(t,fc(t)).get(t)(n,r)}};return t.forBlock=e=>{let n=(n,r)=>t(e,n,r);return n.forElement=n=>r=>t(e,n,r),n},t}var mc=pc(),hc;(function(e){e.blur=`blur`,e.cancel=`cancel`,e.change=`change`,e.changeHeaderCells=`changeheadercells`,e.changePage=`changepage`,e.changePageSize=`changepagesize`,e.click=`click`,e.close=`close`,e.create=`create`,e.error=`error`,e.focus=`focus`,e.input=`input`,e.keydown=`keydown`,e.load=`load`,e.mousedown=`mousedown`,e.reset=`reset`,e.select=`select`,e.selectionChange=`selectionchange`,e.sort=`sort`,e.submit=`submit`,e.toggle=`toggle`})(hc||={});var gc={bubbles:!0,cancelable:!0,composed:!0};function _c(e,t=null){return new CustomEvent(e,Object.assign(Object.assign({},gc),{detail:t}))}function vc(e,t,n){return e.dispatchEvent(_c(t,n))}new qi(`kol`,Ji,Yi);var yc=class e{constructor(e,t){this.document=e,this.options=t,this.toastContainerElement=this.document.createElement(Vs),this.document.body.prepend(this.toastContainerElement),this.options?.defaultVariant&&ha.info(`ToasterService: Default variant is deprecated. Use 'card' variant for all toasts instead.`)}static getInstance(t,n){if(!sc())throw Error(`Toaster: Call KoliBri bootstrap/register method first.`);let r=this.instances.get(t);return r||(r=new e(t,n),this.instances.set(t,r)),r}dispose(){let e=this.toastContainerElement;e?(this.toastContainerElement=void 0,e.remove()):ha.warn(`Toaster service is already disposed.`)}enqueue(e){if(this.toastContainerElement&&typeof this.toastContainerElement.enqueue==`function`)return this.toastContainerElement.enqueue(e)}closeAll(e=!1){this.toastContainerElement&&typeof this.toastContainerElement.closeAll==`function`&&this.toastContainerElement.closeAll(e)}};yc.instances=new Map;var bc;(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`})(bc||={}),Object.getOwnPropertyNames(bc);var xc;(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`})(xc||={}),Object.getOwnPropertyNames(xc);var Sc;(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`})(Sc||={}),Object.getOwnPropertyNames(Sc);var W=new Map;W.set(bc[`Die Bundesregierung`],[`Die`,`Bundesregierung`]),W.set(bc[`Bundesministerium der Finanzen`],[`Bundesministerium`,`der Finanzen`]),W.set(bc[`Bundesministerium des Innern, für Bau und Heimat`],[`Bundesministerium`,`des Inneren, für Bau`,`und Heimat`]),W.set(bc[`Auswärtiges Amt`],[`Auswärtiges Amt`]),W.set(bc[`Bundesministerium für Wirtschaft und Energie`],[`Bundesministerium`,`für Wirtschaft`,`und Energie`]),W.set(bc[`Bundesministerium der Justiz und für Verbraucherschutz`],[`Bundesministerium`,`der Justiz und`,`für Verbraucherschutz`]),W.set(bc[`Bundesministerium für Arbeit und Soziales`],[`Bundesministerium`,`für Arbeit und Soziales`]),W.set(bc[`Bundesministerium der Verteidigung`],[`Bundesministerium`,`der Verteidigung`]),W.set(bc[`Bundesministerium für Bildung und Forschung`],[`Bundesministerium`,`für Bildung`,`und Forschung`]),W.set(bc[`Bundesministerium für Ernährung und Landwirtschaft`],[`Bundesministerium`,`für Ernährung`,`und Landwirtschaft`]),W.set(bc[`Bundesministerium für Familie, Senioren, Frauen und Jugend`],[`Bundesministerium`,`für Familie, Senioren, Frauen`,`und Jugend`]),W.set(bc[`Bundesministerium für Gesundheit`],[`Bundesministerium`,`für Gesundheit`]),W.set(bc[`Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit`],[`Bundesministerium`,`für Umwelt, Naturschutz`,`und nukleare Sicherheit`]),W.set(bc[`Bundesministerium für Verkehr und digitale Infrastruktur`],[`Bundesministerium`,`für Verkehr und`,`digitale Infrastruktur`]),W.set(bc[`Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung`],[`Bundesministerium`,`für wirtschaftliche Zusammenarbeit`,`und Entwicklung`]),W.set(xc[`Beschaffungsamt des Bundesministeriums des Innern`],[`Beschaffungsamt`,`des Bundesministeriums`,`des Innern`]),W.set(xc[`Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr`],[]),W.set(xc[`Bundesamt für äußere Restitutionen`],[]),W.set(xc[`Bundesamt für Bauwesen und Raumordnung`],[]),W.set(xc[`Bundesamt für Bevölkerungsschutz und Katastrophenhilfe`],[`Bundesamt`,`für Bevölkerungsschutz`,`und Katastrophenhilfe`]),W.set(xc[`Bundesamt für Familie und zivilgesellschaftliche Aufgaben`],[`Bundesamt`,`für Familie und`,`zivilgesellschaftliche Aufgaben`]),W.set(xc[`Bundesamt für Güterverkehr`],[`Bundesamt`,`für Güterverkehr`]),W.set(xc[`Bundesamt für Justiz`],[`Bundesamt für`,`Justiz`]),W.set(xc[`Bundesamt für Kartographie und Geodäsie`],[`Bundesamt für`,`Kartographie und Geodäsie`]),W.set(xc[`Bundesamt für kerntechnische Entsorgungssicherheit`],[`Bundesamt für`,`kerntechnische`,`Entsorgungssicherheit`]),W.set(xc[`Bundesamt für Migration und Flüchtlinge`],[`Bundesamt`,`für Migration`,`und Flüchtlinge`]),W.set(xc[`Bundesamt für Sicherheit in der Informationstechnik`],[`Bundesamt`,`für Sicherheit in der`,`Informationstechnik`]),W.set(xc[`Bundesamt für Verbraucherschutz und Lebensmittelsicherheit`],[`Bundesamt für`,`Verbraucherschutz und`,`Lebensmittelsicherheit`]),W.set(xc[`Bundesamt für Verfassungsschutz`],[`Bundesamt für`,`Verfassungsschutz`]),W.set(xc[`Bundesamt für Wirtschaft und Ausfuhrkontrolle`],[`Bundesamt`,`für Wirtschaft`,`Ausfuhrkontrolle`]),W.set(xc[`Bundesamt für zentrale Dienste und offene Vermögensfragen`],[`Bundesamt`,`für zentrale Dienste und`,`offene Vermögensfragen`]),W.set(xc[`Bundesanstalt für Verwaltungsdienstleistungen`],[`Bundesanstalt`,`für Verwaltungsdienstleistungen`]),W.set(xc.Bundesarchiv,[`Das`,`Bundesarchiv`]),W.set(xc[`Bundesaufsichtsamt für Flugsicherung`],[`Bundesaufsichtsamt`,`für Flugsicherung`]),W.set(xc.Bundesausgleichsamt,[`Bundesausgleichsamt`]),W.set(xc.Bundeskartellamt,[`Bundeskartellamt`]),W.set(xc.Bundeskriminalamt,[`Bundeskriminalamt`]),W.set(xc.Bundesnachrichtendienst,[`Bundesnachrichtendienst`]),W.set(xc[`Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen`],[`Bundesnetzagentur`]),W.set(xc.Bundespolizeipräsidium,[`Bundespolizeipräsidium`]),W.set(xc[`Bundesprüfstelle für jugendgefährdende Medien`],[`Bundesprüfstelle`,`für jugendgefährdende`,`Medien`]),W.set(xc.Bundessortenamt,[`Bundessortenamt`]),W.set(xc.Bundessprachenamt,[`Bundessprachenamt`]),W.set(xc[`Bundesamt für Soziale Sicherung`],[`Bundesamt`,`für Soziale Sicherung`]),W.set(xc.Bundesverwaltungsamt,[`Bundesverwaltungsamt`]),W.set(xc[`Bundeszentralamt für Steuern`],[`Bundeszentralamt`,`für Steuern`]),W.set(xc[`Deutsches Patent- und Markenamt`],[`Deutsches`,`Patent- und Markenamt`]),W.set(xc[`Eisenbahn-Bundesamt`],[`Eisenbahn-Bundesamt`]),W.set(xc.Generalzolldirektion,[`Generalzolldirektion`]),W.set(xc[`Militärischer Abschirmdienst`],[`Bundesamt für den`,`Militärischen Abschirmdienst`]),W.set(xc[`Zentrale Stelle für Informationstechnik im Sicherheitsbereich`],[`Zentrale Stelle`,`für Informationstechnik`,`im Sicherheitsbereich`]),W.set(Sc[`Informationstechnikzentrum Bund`],[`Informations`,`Technik`,`Zentrum Bund`]),W.set(Sc[`Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben`],[`Bundesanstalt`,`für den Digitalfunk der Behörden und`,`Organisationen mit Sicherheitsaufgaben`]),W.set(Sc[`Bundesanstalt für Landwirtschaft und Ernährung`],[`Bundesanstalt für`,`Landwirtschaft und Ernährung`]),W.set(Sc[`Bundesanstalt Technisches Hilfswerk`],[`Bundesanstalt`,`Technisches Hilfswerk`]),W.set(Sc[`Bundesinstitut für Arzneimittel und Medizinprodukte`],[`Bundesinstitut`,`für Arzneimittel`,`und Medizinprodukte`]),W.set(Sc[`Bundesinstitut für Bevölkerungsforschung`],[`Bundesinstitut`,`für Bevölkerungsforschung`]),W.set(Sc[`Bundesinstitut für Sportwissenschaft`],[`Bundesinstitut`,`für Sportwissenschaft`]);var Cc=`kolibri`,wc={hydratedSelectorName:`hydrated`,lazyLoad:!0,propChangeCallback:!0,slotRelocation:!0,state:!0,updatable:!0},Tc={kolibriVersion:`4.3.1-rc.5`},Ec=Object.defineProperty,Dc=(e,t)=>{for(var n in t)Ec(e,n,{get:t[n],enumerable:!0})},Oc=`http://www.w3.org/2000/svg`,kc=`http://www.w3.org/1999/xhtml`,Ac=(e=>(e.Undefined=`undefined`,e.Null=`null`,e.String=`string`,e.Number=`number`,e.SpecialNumber=`number`,e.Boolean=`boolean`,e.BigInt=`bigint`,e))(Ac||{}),jc=(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))(jc||{}),Mc=`type`,Nc=`value`,Pc=`serialized:`,Fc=(e,t)=>{let n=t.$cmpMeta$;Object.entries(n.$members$??{}).map(([n,[r]])=>{if(r&31||r&32){let r=e[n],i=Ic(Object.getPrototypeOf(e),n)||Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(e,n,{get(){return i.get.call(this)},set(e){i.set.call(this,e)},configurable:!0,enumerable:!0}),e[n]=t.$instanceValues$.has(n)?t.$instanceValues$.get(n):r}})};function Ic(e,t){for(;e;){let n=Object.getOwnPropertyDescriptor(e,t);if(n?.get)return n;e=Object.getPrototypeOf(e)}}var Lc=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},Rc=(e,t)=>{t&&(e.__stencil__getHostRef=()=>t,t.$lazyInstance$=e,t.$cmpMeta$.$flags$&512&&wc.state&&Fc(e,t))},zc=(e,t)=>{let n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map,$serializerValues$:new Map};n.$onInstancePromise$=new Promise(e=>n.$onInstanceResolve$=e),n.$onReadyPromise$=new Promise(e=>n.$onReadyResolve$=e),e[`s-p`]=[],e[`s-rc`]=[],n.$fetchedCbList$=[];let r=n;return e.__stencil__getHostRef=()=>r,r},Bc=(e,t)=>t in e,G=(e,t)=>(0,console.error)(e,t),Vc=new Map,Hc=(e,t,n)=>{let r=e.$tagName$.replace(/-/g,`_`),i=e.$lazyBundleId$;if(!i)return;let a=Vc.get(i);if(a)return a[r];if(!n||!wc.hotModuleReplacement){let e=e=>(Vc.set(i,e),e[r]);switch(i){case`kol-abbr`:return V(()=>import(`./kol-abbr.entry-DMUiRHC0.js`).then(e,G),__vite__mapDeps([0,1]),import.meta.url);case`kol-accordion`:return V(()=>import(`./kol-accordion.entry-BPoKOYqr.js`).then(e,G),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url);case`kol-alert`:return V(()=>import(`./kol-alert.entry-BWXQhFoU.js`).then(e,G),[],import.meta.url);case`kol-avatar`:return V(()=>import(`./kol-avatar.entry-No2qDfCr.js`).then(e,G),__vite__mapDeps([18,1,13,14,15,19,20,21,22,23]),import.meta.url);case`kol-badge`:return V(()=>import(`./kol-badge.entry-CtvhdFPq.js`).then(e,G),__vite__mapDeps([24,3,4,6,11,12,13,25,20,26,27,28]),import.meta.url);case`kol-breadcrumb`:return V(()=>import(`./kol-breadcrumb.entry-DYrYc8NK.js`).then(e,G),__vite__mapDeps([29,9,25,4,6,30,31]),import.meta.url);case`kol-button`:return V(()=>import(`./kol-button.entry-BCgWPPe1.js`).then(e,G),__vite__mapDeps([32,4,11,12]),import.meta.url);case`kol-button-link`:return V(()=>import(`./kol-button-link.entry-CEebgV7Z.js`).then(e,G),__vite__mapDeps([33,4,11,12]),import.meta.url);case`kol-card`:return V(()=>import(`./kol-card.entry-DTyIkGaC.js`).then(e,G),__vite__mapDeps([34,4,11,12]),import.meta.url);case`kol-details`:return V(()=>import(`./kol-details.entry-DOVRB4gd.js`).then(e,G),__vite__mapDeps([35,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url);case`kol-dialog`:return V(()=>import(`./kol-dialog.entry-kvnFqaxG.js`).then(e,G),[],import.meta.url);case`kol-drawer`:return V(()=>import(`./kol-drawer.entry-D4DimTzY.js`).then(e,G),__vite__mapDeps([36,37,3,6,9,10,13,14,15,16,17,38,39,40]),import.meta.url);case`kol-form`:return V(()=>import(`./kol-form.entry-BESYCHKZ.js`).then(e,G),__vite__mapDeps([41,5,4,6,19,25,42]),import.meta.url);case`kol-heading`:return V(()=>import(`./kol-heading.entry-Be1Eu-28.js`).then(e,G),__vite__mapDeps([43,1,6,13,14,15,16,22,44]),import.meta.url);case`kol-icon`:return V(()=>import(`./kol-icon.entry-BTxmatOV.js`).then(e,G),__vite__mapDeps([45,1,13,14,15,25,4,6,21,22]),import.meta.url);case`kol-image`:return V(()=>import(`./kol-image.entry-IF4pQwE4.js`).then(e,G),__vite__mapDeps([46,1,13,14,15,22,23]),import.meta.url);case`kol-input-checkbox`:return V(()=>import(`./kol-input-checkbox.entry-GQP2b-p9.js`).then(e,G),__vite__mapDeps([47,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,48,49,50,51,39,52,53,54,55,37,56,57,58,59,60,61,62,63,64]),import.meta.url);case`kol-input-color`:return V(()=>import(`./kol-input-color.entry-CBZaTWas.js`).then(e,G),__vite__mapDeps([65,3,1,4,5,6,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,58,59,66,60,67,68,69]),import.meta.url);case`kol-input-date`:return V(()=>import(`./kol-input-date.entry-D_Rpm6Mm.js`).then(e,G),__vite__mapDeps([70,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,57,58,59,66,60,67,61,68,69,71]),import.meta.url);case`kol-input-email`:return V(()=>import(`./kol-input-email.entry-kEKy9CAW.js`).then(e,G),__vite__mapDeps([72,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,57,58,59,66,60,67,73,61,68,69,71,74,75,76,77,78]),import.meta.url);case`kol-input-file`:return V(()=>import(`./kol-input-file.entry-CWteQMPp.js`).then(e,G),__vite__mapDeps([79,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,58,59,66,60,67,61,75]),import.meta.url);case`kol-input-number`:return V(()=>import(`./kol-input-number.entry-DbgqxIqd.js`).then(e,G),__vite__mapDeps([80,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,57,58,59,66,60,67,73,61,68,69,71]),import.meta.url);case`kol-input-password`:return V(()=>import(`./kol-input-password.entry-CX9gP5fU.js`).then(e,G),__vite__mapDeps([81,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,57,58,59,66,60,67,73,61,69,71,74,77]),import.meta.url);case`kol-input-radio`:return V(()=>import(`./kol-input-radio.entry-DXLtfUQo.js`).then(e,G),__vite__mapDeps([82,3,1,4,6,5,8,9,12,13,14,15,19,25,42,21,22,26,48,49,50,51,39,52,53,54,55,37,56,57,58,59,60,61,62,63,64]),import.meta.url);case`kol-input-text`:return V(()=>import(`./kol-input-text.entry-B9HCVeIK.js`).then(e,G),__vite__mapDeps([83,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,57,58,59,66,60,67,73,61,68,69,71,74,76,77,78]),import.meta.url);case`kol-kolibri`:return V(()=>import(`./kol-kolibri.entry-Dn0eQAtw.js`).then(e,G),__vite__mapDeps([84,19,20,27]),import.meta.url);case`kol-link`:return V(()=>import(`./kol-link.entry-DH8pmql9.js`).then(e,G),__vite__mapDeps([85,3,1,4,11,12,13,14,15,19,25,6,21,22,26,39,53,54,55,37,56,59,44,86,87]),import.meta.url);case`kol-link-button`:return V(()=>import(`./kol-link-button.entry-FmE8JJTj.js`).then(e,G),__vite__mapDeps([88,4,11,12]),import.meta.url);case`kol-modal`:return V(()=>import(`./kol-modal.entry-5UR14O09.js`).then(e,G),[],import.meta.url);case`kol-nav`:return V(()=>import(`./kol-nav.entry-Bg4b97VN.js`).then(e,G),__vite__mapDeps([89,3,6,9,19,30,31,51]),import.meta.url);case`kol-pagination`:return V(()=>import(`./kol-pagination.entry-DRo_Qdmm.js`).then(e,G),[],import.meta.url);case`kol-popover-button`:return V(()=>import(`./kol-popover-button.entry-BWxQLEba.js`).then(e,G),__vite__mapDeps([90,4,11,12]),import.meta.url);case`kol-progress`:return V(()=>import(`./kol-progress.entry-DR5fg9UR.js`).then(e,G),__vite__mapDeps([91,1,13,14,15,19,21,22,92]),import.meta.url);case`kol-quote`:return V(()=>import(`./kol-quote.entry-sOO7zy2a.js`).then(e,G),__vite__mapDeps([93,1,13,14,15,21,22,86]),import.meta.url);case`kol-select`:return V(()=>import(`./kol-select.entry-n9JmHXs5.js`).then(e,G),__vite__mapDeps([94,4,11,12,48,49]),import.meta.url);case`kol-skeleton`:return V(()=>import(`./kol-skeleton.entry-k7s5oWvK.js`).then(e,G),__vite__mapDeps([95,1,4,11,12,13,14,15,22,96]),import.meta.url);case`kol-skip-nav`:return V(()=>import(`./kol-skip-nav.entry-Cul1I5AW.js`).then(e,G),__vite__mapDeps([97,4,9,11,12,30,31]),import.meta.url);case`kol-spin`:return V(()=>import(`./kol-spin.entry-D0qj4ZxI.js`).then(e,G),__vite__mapDeps([98,1,13,14,15,19,21,22,99]),import.meta.url);case`kol-split-button`:return V(()=>import(`./kol-split-button.entry-P1gcMlwq.js`).then(e,G),__vite__mapDeps([100,4,6,11,12,19]),import.meta.url);case`kol-table-stateful`:return V(()=>import(`./kol-table-stateful.entry-BMj1lrvg.js`).then(e,G),__vite__mapDeps([101,9,19,49,102,103,104]),import.meta.url);case`kol-table-stateless`:return V(()=>import(`./kol-table-stateless.entry-BhysmaWS.js`).then(e,G),__vite__mapDeps([105,49,102]),import.meta.url);case`kol-tabs`:return V(()=>import(`./kol-tabs.entry-Dy_-leJb.js`).then(e,G),__vite__mapDeps([106,3,4,6,9,11,12,19,39,104]),import.meta.url);case`kol-textarea`:return V(()=>import(`./kol-textarea.entry-CEIvunPA.js`).then(e,G),__vite__mapDeps([107,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,58,59,66,73,61,71,74,76,108]),import.meta.url);case`kol-toast-container`:return V(()=>import(`./kol-toast-container.entry-CNvDL3J5.js`).then(e,G),__vite__mapDeps([109,3,1,4,6,5,13,14,15,19,25,42,22,26]),import.meta.url);case`kol-toolbar`:return V(()=>import(`./kol-toolbar.entry-BjbuTcbx.js`).then(e,G),__vite__mapDeps([110,4,9,12,62,104]),import.meta.url);case`kol-tree`:return V(()=>import(`./kol-tree.entry-JEdmr_kx.js`).then(e,G),__vite__mapDeps([111,4,11,12]),import.meta.url);case`kol-tree-item`:return V(()=>import(`./kol-tree-item.entry-B9qVTPnI.js`).then(e,G),[],import.meta.url);case`kol-version`:return V(()=>import(`./kol-version.entry-Dh4aVGEO.js`).then(e,G),__vite__mapDeps([112,9,19]),import.meta.url);case`kol-alert-wc`:return V(()=>import(`./kol-alert-wc.entry-RoQSzZjC.js`).then(e,G),__vite__mapDeps([113,5,4,6,9,13,14,15,16,17,19,25,42,38]),import.meta.url);case`kol-button-wc`:return V(()=>import(`./kol-button-wc.entry-BSuzvvmf.js`).then(e,G),__vite__mapDeps([114,3,1,4,6,8,9,11,12,13,14,15,25,21,22,26,28,48,49,50,115,51,116,39,52,53,54,55,37,56,59,57]),import.meta.url);case`kol-card-wc`:return V(()=>import(`./kol-card-wc.entry-DtrIF8J7.js`).then(e,G),__vite__mapDeps([117,3,1,4,5,6,9,11,12,13,14,15,16,17,19,25,42,38,22,26,118]),import.meta.url);case`kol-click-button`:return V(()=>import(`./kol-click-button.entry-CYHKu-uR.js`).then(e,G),__vite__mapDeps([119,1,4,11,12,13,14,15,21,22,96]),import.meta.url);case`kol-combobox`:return V(()=>import(`./kol-combobox.entry-CVgSqKlA.js`).then(e,G),__vite__mapDeps([120,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,58,59,66,60,67,121,73,61,68]),import.meta.url);case`kol-dialog-wc`:return V(()=>import(`./kol-dialog-wc.entry-5SqfCo71.js`).then(e,G),__vite__mapDeps([122,37,3,6,9,13,14,15,16,17,40]),import.meta.url);case`kol-input-range`:return V(()=>import(`./kol-input-range.entry-CckU3Ynr.js`).then(e,G),__vite__mapDeps([123,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,57,58,59,66,60,67,68,69]),import.meta.url);case`kol-link-wc`:return V(()=>import(`./kol-link-wc.entry-DA9mXAxv.js`).then(e,G),__vite__mapDeps([124,3,1,4,11,12,13,14,15,19,25,6,21,22,26,39,53,54,55,37,56,59,44,86,87]),import.meta.url);case`kol-meter`:return V(()=>import(`./kol-meter.entry-Cb-v06vz.js`).then(e,G),__vite__mapDeps([125,1,13,14,15,19,21,22,92]),import.meta.url);case`kol-pagination-wc`:return V(()=>import(`./kol-pagination-wc.entry-CjbVZNP7.js`).then(e,G),__vite__mapDeps([126,3,9,19,30,115,39,52]),import.meta.url);case`kol-popover-button-wc`:return V(()=>import(`./kol-popover-button-wc.entry-CkVyVA2M.js`).then(e,G),__vite__mapDeps([127,3,4,6,11,12,116,39,54]),import.meta.url);case`kol-select-wc`:return V(()=>import(`./kol-select-wc.entry-4-X_EXaZ.js`).then(e,G),__vite__mapDeps([128,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,57,58,59,66,61,62,63,75,108]),import.meta.url);case`kol-single-select`:return V(()=>import(`./kol-single-select.entry-BDfjEWxY.js`).then(e,G),__vite__mapDeps([129,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,58,59,66,60,67,121,73,61,62,63]),import.meta.url);case`kol-table-settings-wc`:return V(()=>import(`./kol-table-settings-wc.entry-j6HRfxhZ.js`).then(e,G),__vite__mapDeps([130,4,19]),import.meta.url);case`kol-table-stateless-wc`:return V(()=>import(`./kol-table-stateless-wc.entry-CoysUaJ5.js`).then(e,G),__vite__mapDeps([131,3,4,6,9,13,14,19,25,26,53,56,99,103,104]),import.meta.url);case`kol-tooltip-wc`:return V(()=>import(`./kol-tooltip-wc.entry-C8kabDaX.js`).then(e,G),__vite__mapDeps([132,1,13,14,15,25,4,6,21,22,26,39,54,55,37,56]),import.meta.url);case`kol-tree-item-wc`:return V(()=>import(`./kol-tree-item-wc.entry-KjaCIVhB.js`).then(e,G),__vite__mapDeps([133,3,6,9,10,25,4,118]),import.meta.url);case`kol-tree-wc`:return V(()=>import(`./kol-tree-wc.entry-6ciI2ztZ.js`).then(e,G),__vite__mapDeps([134,9]),import.meta.url);case`test-component`:return V(()=>import(`./test-component.entry-DbiAdL4b.js`).then(e,G),[],import.meta.url)}}return V(()=>import(`./${i}.entry.js`).then(e=>(Vc.set(i,e),e[r]),e=>{G(e,t.$hostElement$)}),[],import.meta.url)},Uc=new Map,Wc=[],Gc=`r`,Kc=`o`,qc=`s`,Jc=`t`,Yc=`c`,Xc=`s-id`,Zc=`sty-id`,Qc=`c-id`,$c=`{visibility:hidden}.hydrated{visibility:inherit}`,el=`slot-fb{display:contents}slot-fb[hidden]{display:none}`,tl=`http://www.w3.org/1999/xlink`,nl=typeof window<`u`?window:{},K={$flags$:0,$resourcesUrl$:``,jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)},rl=(()=>{var e;let t=!1;try{(e=nl.document)==null||e.addEventListener(`e`,null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),il=e=>Promise.resolve(e),al=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync==`function`}catch{}return!1})(),ol=al?!!nl.document&&Object.getOwnPropertyDescriptor(nl.document.adoptedStyleSheets,`length`).writable:!1,sl=e=>il().then(e),cl=e=>(e=typeof e,e===`object`||e===`function`);function ll(e){return(e.head?.querySelector(`meta[name="csp-nonce"]`))?.getAttribute(`content`)??void 0}var ul=e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),dl=class e{static fromLocalValue(t){let n=t[Mc],r=Nc in t?t[Nc]:void 0;switch(n){case`string`:return r;case`boolean`:return r;case`bigint`:return BigInt(r);case`undefined`:return;case`null`:return null;case`number`:return r===`NaN`?NaN:r===`-0`?-0:r===`Infinity`?1/0:r===`-Infinity`?-1/0:r;case`array`:return r.map(t=>e.fromLocalValue(t));case`date`:return new Date(r);case`map`:let t=new Map;for(let[n,i]of r){let r=typeof n==`object`&&n?e.fromLocalValue(n):n,a=e.fromLocalValue(i);t.set(r,a)}return t;case`object`:let i={};for(let[t,n]of r)i[t]=e.fromLocalValue(n);return i;case`regexp`:let{pattern:a,flags:o}=r;return new RegExp(a,o);case`set`:let s=new Set;for(let t of r)s.add(e.fromLocalValue(t));return s;case`symbol`:return Symbol(r);default:throw Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map(t=>e.fromLocalValue(t))}static isLocalValueObject(e){if(typeof e!=`object`||!e||!e.hasOwnProperty(Mc))return!1;let t=e[Mc];return Object.values({...Ac,...jc}).includes(t)?t!==`null`&&t!==`undefined`?e.hasOwnProperty(Nc):!0:!1}};Dc({},{err:()=>pl,map:()=>ml,ok:()=>fl,unwrap:()=>hl,unwrapErr:()=>gl});var fl=e=>({isOk:!0,isErr:!1,value:e}),pl=e=>({isOk:!1,isErr:!0,value:e});function ml(e,t){if(e.isOk){let n=t(e.value);return n instanceof Promise?n.then(e=>fl(e)):fl(n)}if(e.isErr){let t=e.value;return pl(t)}throw`should never get here`}var hl=e=>{if(e.isOk)return e.value;throw e.value},gl=e=>{if(e.isErr)return e.value;throw e.value};function _l(e){return typeof e!=`string`||!e.startsWith(Pc)?e:dl.fromLocalValue(JSON.parse(atob(e.slice(Pc.length))))}var vl;function yl(e){let t=this.attachShadow({mode:`open`});vl===void 0&&(vl=null),vl&&(ol?t.adoptedStyleSheets.push(vl):t.adoptedStyleSheets=[...t.adoptedStyleSheets,vl])}var bl=e=>{let t=Ol(e,`childNodes`);e.tagName&&e.tagName.includes(`-`)&&e[`s-cr`]&&e.tagName!==`SLOT-FB`&&Sl(t,e.tagName).forEach(e=>{e.nodeType===1&&e.tagName===`SLOT-FB`&&(e.hidden=!!Cl(e,El(e),!1).length)});let n=0;for(n=0;n<t.length;n++){let e=t[n];e.nodeType===1&&Ol(e,`childNodes`).length&&bl(e)}},xl=e=>{let t=[];for(let n=0;n<e.length;n++){let r=e[n][`s-nr`]||void 0;r&&r.isConnected&&t.push(r)}return t};function Sl(e,t,n){let r=0,i=[],a;for(;r<e.length;r++)a=e[r],a[`s-sr`]&&(!t||a[`s-hn`]===t)&&n===void 0&&i.push(a),i=[...i,...Sl(a.childNodes,t,n)];return i}var Cl=(e,t,n=!0)=>{let r=[];(n&&e[`s-sr`]||!e[`s-sr`])&&r.push(e);let i=e;for(;i=i.nextSibling;)El(i)===t&&(n||!i[`s-sr`])&&r.push(i);return r},wl=(e,t)=>e.nodeType===1?e.getAttribute(`slot`)===null&&t===``||e.getAttribute(`slot`)===t:e[`s-sn`]===t||t===``,Tl=(e,t,n,r)=>{if(e[`s-ol`]&&e[`s-ol`].isConnected)return;let i=document.createTextNode(``);if(i[`s-nr`]=e,!t[`s-cr`]||!t[`s-cr`].parentNode)return;let a=t[`s-cr`].parentNode,o=Ol(a,`appendChild`);if(r!==void 0){i[`s-oo`]=r;let e=Ol(a,`childNodes`),t=[i];e.forEach(e=>{e[`s-nr`]&&t.push(e)}),t.sort((e,t)=>!e[`s-oo`]||e[`s-oo`]<(t[`s-oo`]||0)?-1:+(!t[`s-oo`]||t[`s-oo`]<e[`s-oo`])),t.forEach(e=>o.call(a,e))}else o.call(a,i);e[`s-ol`]=i,e[`s-sh`]=t[`s-hn`]},El=e=>typeof e[`s-sn`]==`string`?e[`s-sn`]:e.nodeType===1&&e.getAttribute(`slot`)||void 0;function Dl(e){if(e.assignedElements||e.assignedNodes||!e[`s-sr`])return;let t=t=>(function(e){let n=[],r=this[`s-sn`];e?.flatten&&console.error(`
|
|
25
|
+
- https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`)},Aa=.2126,ja=.7152,Ma=.0722,Na=1/12.92;function Pa(e){return((e+.055)/1.055)**2.4}function Fa(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=t<=.03928?t*Na:Pa(t),a=n<=.03928?n*Na:Pa(n),o=r<=.03928?r*Na:Pa(r);return i*Aa+a*ja+o*Ma}function Ia(e){var t=255;(e=e.replace(/^#/,``)).length===8&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),e.length===4&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var n=parseInt(e,16);return[n>>16,n>>8&255,255&n,t]}function La(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}function Ra(e,t){return La(Fa(e),Fa(t))}function za(e,t){return Ra(Ia(e),Ia(t))}function Ba(e){return e>=7?`AAA`:e>=4.5?`AA`:e>=3?`AA Large`:`Fail`}var Va,Ha;function Ua(){return Ha?Va:(Ha=1,Va={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]},Va)}var Wa,Ga;function Ka(){if(Ga)return Wa;Ga=1;var e=Ua();Wa=n;var t={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function n(n){var r,i=[],a=1,o;if(typeof n==`string`){if(n=n.toLowerCase(),e[n])i=e[n].slice(),o=`rgb`;else if(n===`transparent`)a=0,o=`rgb`,i=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(n)){var s=n.slice(1),c=s.length,l=c<=4;a=1,l?(i=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],c===4&&(a=parseInt(s[3]+s[3],16)/255)):(i=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],c===8&&(a=parseInt(s[6]+s[7],16)/255)),i[0]||(i[0]=0),i[1]||(i[1]=0),i[2]||(i[2]=0),o=`rgb`}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(n)){var u=r[1],d=u===`rgb`,s=u.replace(/a$/,``);o=s;var c=s===`cmyk`?4:s===`gray`?1:3;i=r[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(e,n){if(/%$/.test(e))return n===c?parseFloat(e)/100:s===`rgb`?parseFloat(e)*255/100:parseFloat(e);if(s[n]===`h`){if(/deg$/.test(e))return parseFloat(e);if(t[e]!==void 0)return t[e]}return parseFloat(e)}),u===s&&i.push(1),a=d||i[c]===void 0?1:i[c],i=i.slice(0,c)}else n.length>10&&/[0-9](?:\s|\/)/.test(n)&&(i=n.match(/([0-9]+)/g).map(function(e){return parseFloat(e)}),o=n.match(/([a-z])/gi).join(``).toLowerCase())}else isNaN(n)?Array.isArray(n)||n.length?(i=[n[0],n[1],n[2]],o=`rgb`,a=n.length===4?n[3]:1):n instanceof Object&&(n.r!=null||n.red!=null||n.R!=null?(o=`rgb`,i=[n.r||n.red||n.R||0,n.g||n.green||n.G||0,n.b||n.blue||n.B||0]):(o=`hsl`,i=[n.h||n.hue||n.H||0,n.s||n.saturation||n.S||0,n.l||n.lightness||n.L||n.b||n.brightness]),a=n.a||n.alpha||n.opacity||1,n.opacity!=null&&(a/=100)):(o=`rgb`,i=[n>>>16,(n&65280)>>>8,n&255]);return{space:o,values:i,alpha:a}}return Wa}var qa=Wr(Ka()),Ja={min:[0,0,0],max:[255,255,255]},Ya={name:`hsl`,min:[0,0,0],max:[360,100,100],channel:[`hue`,`saturation`,`lightness`],alias:[`HSL`],rgb:function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100,i,a,o,s,c,l=0;if(n===0)return c=r*255,[c,c,c];for(a=r<.5?r*(1+n):r+n-r*n,i=2*r-a,s=[0,0,0];l<3;)o=t+1/3*-(l-1),o<0?o++:o>1&&o--,c=6*o<1?i+(a-i)*6*o:2*o<1?a:3*o<2?i+(a-i)*(2/3-o)*6:i,s[l++]=c*255;return s}};Ja.hsl=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=a-i,s,c,l;return a===i?s=0:t===a?s=(n-r)/o:n===a?s=2+(r-t)/o:r===a&&(s=4+(t-n)/o),s=Math.min(s*60,360),s<0&&(s+=360),l=(i+a)/2,c=a===i?0:l<=.5?o/(a+i):o/(2-a-i),[s,c*100,l*100]};var Xa={exports:{}},Za;function Qa(){if(Za)return Xa.exports;Za=1,Xa.exports=e,Xa.exports.arr=e,Xa.exports.obj=t,Xa.exports.css=n,Xa.exports.hex=r,Xa.exports.num=i;function e(e){var t=a(e);return t.length==3?t.concat(255):(t[3]=Math.round(t[3]),t)}function t(e){var t=a(e);return{r:t[0],g:t[1],b:t[2],a:t.length==3?255:Math.round(t[3])}}function n(e){var t=a(e);return t.length==3&&t.push(255),t[3]==255?`rgb(`+t[0]+`, `+t[1]+`, `+t[2]+`)`:t[3]==0?`rgba(`+t[0]+`, `+t[1]+`, `+t[2]+`, 0)`:`rgba(`+t[0]+`, `+t[1]+`, `+t[2]+`, `+String(t[3]/255).substr(1)+`)`}function r(e){var t=a(e);t.length==3&&t.push(255);var n=t[3]==255,r=o(t[0]),i=o(t[1]),c=o(t[2]),t=o(Math.round(t[3])),l=s(r,i,c,t);return n?l?`#`+r.charAt(0)+i.charAt(0)+c.charAt(0):`#`+r+i+c:l?`#`+r.charAt(0)+i.charAt(0)+c.charAt(0)+t.charAt(0):`#`+r+i+c+t}function i(e){var t=a(e);return t.length==3?t.push(255):t[3]=Math.round(t[3]),(t[3]<<24>>>0|t[0]<<16|t[1]<<8|t[2])>>>0}function a(e){return typeof e==`string`?(e=e.toLowerCase(),c(e)||u(e)||d(e)||g(e)||_(e)||[0,0,0,255]):p(e)||m(e)||h(e)||[0,0,0,255]}function o(e){var t=e.toString(16);return t.length==1?`0`+t:t}function s(e,t,n,r){var i=[`ff`,`00`,`11`,`22`,`33`,`44`,`55`,`66`,`77`,`88`,`99`,`aa`,`bb`,`cc`,`dd`,`ee`];return i.indexOf(e)!=-1&&i.indexOf(t)!=-1&&i.indexOf(n)!=-1&&i.indexOf(r)!=-1}function c(e){if(e==`red`)return[255,0,0];if(e==`green`)return[0,255,0];if(e==`blue`)return[0,0,255];if(e==`black`)return[0,0,0];if(e==`white`)return[255,255,255];if(e==`cyan`)return[0,255,255];if(e==`gray`||e==`grey`)return[128,128,128];if(e==`magenta`||e==`pink`)return[255,0,255];if(e==`yellow`)return[255,255,0]}function l(e){return e.length==1?parseInt(e+e,16):parseInt(e,16)}function u(e){var t=e.replace(/^#/,``),n=t.length;if(n==3||n==4){var r=l(t[0]),i=l(t[1]),a=l(t[2]),o=n==3?255:l(t[3]);return isNaN(r)||isNaN(i)||isNaN(a)||isNaN(o)?void 0:[r,i,a,o]}}function d(e){var t=e.replace(/^#/,``),n=t.length;if(n==6||n==8){var r=l(t.slice(0,2)),i=l(t.slice(2,4)),a=l(t.slice(4,6)),o=n==6?255:l(t.slice(6,8));return isNaN(r)||isNaN(i)||isNaN(a)||isNaN(o)?void 0:[r,i,a,o]}}function f(e,t){return typeof e!=`number`||t===!0&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}function p(e){if(Object.prototype.toString.call(e)===`[object Object]`&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=f(e.r==null?e.red==null?0:e.red:e.r,!0),n=f(e.g==null?e.green==null?0:e.green:e.g,!0),r=f(e.b==null?e.blue==null?0:e.blue:e.b,!0),i=f(e.a==null?e.alpha==null?255:e.alpha:e.a,!0);if(t!=-1&&n!=-1&&r!=-1&&i!=-1)return[t,n,r,i]}}function m(e){if(Array.isArray(e)&&(e.length==3||e.length==4)){var t=f(e[0],!0),n=f(e[1],!0),r=f(e[2],!0),i=f(e[3]==null?255:e[3],!0);if(t!=-1&&n!=-1&&r!=-1&&i!=-1)return[t,n,r,i]}}function h(e){if(typeof e==`number`&&Math.floor(e)==e&&e<=4294967295&&e>=0){var t=e>>24&255;return[e>>16&255,e>>8&255,e&255,t]}}function g(e){if(e.substr(0,4)==`rgb(`){e=e.match(/^rgb\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number),n=f(t[0],!0),r=f(t[1],!0),i=f(t[2],!0);if(n!=-1&&r!=-1&&i!=-1)return[n,r,i,255]}}function _(e){if(e.substr(0,5)==`rgba(`){e=e.match(/^rgba\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number),n=f(t[0],!0),r=f(t[1],!0),i=f(t[2],!0),a=f(t[3]*255);if(n!=-1&&r!=-1&&i!=-1&&a!=-1)return[n,r,i,a]}}return Xa.exports}var $a=Wr(Qa()),eo=/\[object Object\]/,to=(e,t)=>{typeof e==`string`&&eo.test(e)||t()},no=(e,t)=>{(typeof e!=`string`||e!==``)&&t()},ro=(e,t)=>{aa()&&(ha.debug([e,t]),ha.debug(`↑ We propagate the (submit) event to this target.`)),Object.defineProperty(e,"target",{value:t,writable:!1})},io=e=>{var t,n;(t=e.nextHooks)==null||t.forEach((t,n)=>{let r=t.get(`beforePatch`);typeof r==`function`&&r(e.nextState?.get(n),e.nextState,e,n)}),e.nextState?.size>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,(n=e.nextHooks)==null||n.forEach((t,n)=>{let r=t.get(`afterPatch`);typeof r==`function`&&r(e.state[n],e.state,e,n)})),delete e.nextHooks},ao=(e,t,n,r={})=>{var i,a;e.nextHooks===void 0&&(e.nextHooks=new Map),e.nextState===void 0&&(e.nextState=new Map),e.nextHooks.get(t)instanceof Map||e.nextHooks.set(t,new Map),typeof r.afterPatch==`function`&&((i=e.nextHooks.get(t))==null||i.set(`afterPatch`,r.afterPatch)),typeof r.beforePatch==`function`&&((a=e.nextHooks.get(t))==null||a.set(`beforePatch`,r.beforePatch)),e.nextState.set(t,n),io(e)},oo=(e,t,n,r)=>{xa(`[${e.constructor.name}] The property value: (${n}) for '${t}' is not valid. Allowed values are: ${Array.from(r).join(`, `)}`)};function so(e,t,n,r,i,a={}){n(i)?ao(e,t,i,a.hooks):i===void 0&&a.required!==!0&&n(a.defaultValue)?ao(e,t,a.defaultValue,a.hooks):(a.required||r.add(null),oo(e,t,i,r))}var co=(e,t,n,r)=>{so(e,t,e=>typeof e==`boolean`,new Set([`Boolean {true, false}`]),n,r)},lo=(e,t,n,r={})=>{let i=typeof r.minLength==`number`?r?.minLength:0;so(e,t,e=>typeof e==`string`&&e.length>=i&&(r?.maxLength===void 0||e.length<=r.maxLength),new Set([`String`]),n,r)},U=(e,t,n,r)=>{so(e,t,e=>typeof e==`number`&&(r?.min===void 0||typeof r?.min==`number`&&e>=r.min)&&(r?.max===void 0||typeof r?.max==`number`&&e<=r.max),new Set([`Number`]),n,r)},uo=(e,t,n,r,i=e=>e===e,a={})=>{no(r,()=>{to(r,()=>{r===void 0&&(r=[]);try{try{r=mo(r)}catch{}if(Array.isArray(r)){let o=r.find(e=>!n(e));o===void 0&&i(r)?ao(e,t,r,a.hooks):to(o,()=>{throw ha.debug(o),Error(`↑ The schema for the property (_options) is not valid. The value will not be changed.`)})}else to(r,()=>{throw ha.debug(r),Error(`↑ The schema for the property (_options) is not valid. The value will not be changed.`)})}catch(e){ha.debug(e)}})})},fo=e=>{try{return JSON.stringify(e).replace(/"/g,`'`)}catch{throw ha.warn([`stringifyJson`,e]),ha.error(`↑ The JSON could not be converted to a string. A stringifiable JSON is expected.`),Error()}},po=/^[{[]/,mo=e=>{if(typeof e==`string`)try{return JSON.parse(e)}catch{if(po.test(e))try{return JSON.parse(e.replace(/'/g,`"`))}catch{ha.warn([`parseJson`,e]),ha.error(`↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (‘).`)}}throw Error()},ho=e=>typeof e==`boolean`?e===!0?`true`:`false`:void 0,go=e=>typeof e==`string`?e:ho(e),_o=(e,t)=>{if(!e)return;let n=new Set,r=[e],i=0;for(;i<r.length;){let e=r[i++];if(n.has(e))continue;if(n.add(e),t(e))return;let a=Array.from(e.children||[]);for(let e=0;e<a.length;e++)r.push(a[e]);if(e instanceof HTMLElement&&e.shadowRoot&&r.push(e.shadowRoot),e instanceof HTMLSlotElement){let t=e.assignedNodes({flatten:!0});for(let e=0;e<t.length;e++)t[e]instanceof Element&&r.push(t[e])}}},vo=(e,t)=>{let n=null;return _o(t,t=>t instanceof Element&&t.matches(e)?(n=t,!0):!1),n},yo=(e,t)=>{let n=[];return _o(t,t=>(t instanceof Element&&t.matches(e)&&n.push(t),!1)),n},bo=(e,t)=>vo(e,t||Zi()),xo=(e,t)=>yo(e,t||Zi()),So=null,Co=()=>(So||={backgroundColor:`#00000000`,color:`#00000000`,domNode:Zi().body,level:`Fail`,score:1},So),wo=/(\d+, ){3}0\)/,To=(e,t=Co())=>{let n=getComputedStyle(e),r=wo.test(n.backgroundColor)?t.backgroundColor:$a.hex(n.backgroundColor),i=wo.test(n.color)?t.color:$a.hex(n.color),a=za(r,i),o={backgroundColor:r,color:i,domNode:e,level:Ba(a),score:a};return a<4.5&&ha.error([`Color-Contrast-Error`,{backgroundColor:o.backgroundColor,color:o.color,level:o.level,score:o.score},o.domNode]),o},Eo=(e,t=Co())=>{t.domNode instanceof HTMLElement&&(t=To(t.domNode,t));let n=t.domNode.querySelector(e);if(n===null){let n=t.domNode.querySelectorAll(`[class="hydrated"]`);for(let r=0;r<n.length&&(t.domNode=n[r],t=Eo(e,t),t.domNode===null);r++);return t}return To(n,t)},Do=class e{static queryHtmlElementColors(t,n,r=!1,i=!0){let a=null;if(r===!0||e.executionLock===!1){if(r===!1&&(e.cache.clear(),e.cache.set(n.domNode,n),e.executionLock=!0,i===!0&&ha.debug(`[KoliBriUtils] Color contrast analysis started...`)),t===n.domNode)a=n;else{let r=new Set;if(n.domNode.shadowRoot){let e=n.domNode.shadowRoot.children;for(let t=0;t<e.length;t++)r.add(e[t])}let i=n.domNode;if(typeof i.assignedNodes==`function`){let e=i.assignedNodes();for(let t=0;t<e.length;t++)e[t]instanceof HTMLElement&&r.add(e[t])}let o=n.domNode.children;for(let e=0;e<o.length;e++)r.add(o[e]);let s=Array.from(r);for(let r=0;r<s.length;r++){let i=e.cache.get(s[r]);i===void 0&&(i=To(s[r],n)),e.cache.set(s[r],i);let o=e.queryHtmlElementColors(t,i,!0,!1);if(o!==null){a=o;break}}}}else ha.debug(`[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.`);return r===!1&&(i===!0&&ha.debug(`[KoliBriUtils] Color contrast analysis finished (${e.cache.size} DOM elements are analysed).`),e.executionLock=!1,e.cache.clear()),a}};Do.executionLock=!1,Do.cache=new Map;var Oo=class{};Oo.getCssStyle=ki,Oo.patchTheme=oi,Oo.patchThemeTag=ii,Oo.querySelector=bo,Oo.querySelectorAll=xo,Oo.stringifyJson=fo;var ko=e=>typeof e==`object`&&!!e,Ao=(e,t=0)=>typeof e==`string`&&e.length>=t,jo=e=>{if(typeof e==`object`&&e){for(let t in e)if(Ao(t,1)===!1)return!1}else return Ao(e,1);return!0},Mo=new Event(`StateChange`),No,Po=[],Fo=e=>{No=e,Po.forEach(t=>{t(e)})},Io=(e,t=!0)=>(t&&typeof No==`string`&&e(No),Po.push(e),()=>{let t=Po.indexOf(e);t>=0&&Po.splice(t,1)}),Lo=`kol-abbr`,Ro=`kol-accordion`,zo=`kol-alert`,Bo=`kol-alert-wc`,Vo=`kol-avatar`,Ho=`kol-avatar-wc`,Uo=`kol-badge`,Wo=`kol-breadcrumb`,Go=`kol-button-link`,Ko=`kol-button`,qo=`kol-button-wc`,Jo=`kol-card`,Yo=`kol-card-wc`,Xo=`kol-combobox`,Zo=`kol-details`,Qo=`kol-dialog`,$o=`kol-dialog-wc`,es=`kol-drawer`,ts=`kol-form`,ns=`kol-heading`,rs=`kol-icon`,is=`kol-image`,as=`kol-input-checkbox`,os=`kol-input-color`,ss=`kol-input-date`,cs=`kol-input-email`,ls=`kol-input-file`,us=`kol-input-number`,ds=`kol-input-password`,fs=`kol-input-radio`,ps=`kol-input-range`,ms=`kol-input`,hs=`kol-input-text`,gs=`kol-kolibri`,_s=`kol-link-button`,vs=`kol-link`,ys=`kol-link-wc`,bs=`kol-meter`,xs=`kol-modal`,Ss=`kol-nav`,Cs=`kol-pagination`,ws=`kol-pagination-wc`,Ts=`kol-popover-button`,Es=`kol-popover-button-wc`,Ds=`kol-progress`,Os=`kol-quote`,ks=`kol-select`,As=`kol-select-wc`,js=`kol-single-select`,Ms=`kol-skip-nav`,Ns=`kol-spin`,Ps=`kol-split-button`,Fs=`kol-table-settings-wc`,Is=`kol-table-stateful`,Ls=`kol-table-stateless`,Rs=`kol-table-stateless-wc`,zs=`kol-tabs`,Bs=`kol-textarea`,Vs=`kol-toast-container`,Hs=`kol-tooltip-wc`,Us=`kol-tree-item`,Ws=`kol-tree-item-wc`,Gs=`kol-tree`,Ks=`kol-tree-wc`,qs=`kol-version`,Js=e=>{Lo=e(Lo),Ro=e(Ro),zo=e(zo),Bo=e(Bo),Vo=e(Vo),Ho=e(Ho),Uo=e(Uo),Wo=e(Wo),Go=e(Go),Ko=e(Ko),qo=e(qo),Jo=e(Jo),Yo=e(Yo),Xo=e(Xo),Zo=e(Zo),Qo=e(Qo),$o=e($o),es=e(es),ts=e(ts),ns=e(ns),rs=e(rs),is=e(is),as=e(as),os=e(os),ss=e(ss),cs=e(cs),ls=e(ls),us=e(us),ds=e(ds),fs=e(fs),ps=e(ps),ms=e(ms),hs=e(hs),gs=e(gs),_s=e(_s),vs=e(vs),ys=e(ys),bs=e(bs),xs=e(xs),Ss=e(Ss),Cs=e(Cs),ws=e(ws),Ts=e(Ts),Es=e(Es),Ds=e(Ds),Os=e(Os),ks=e(ks),As=e(As),js=e(js),Ms=e(Ms),Ns=e(Ns),Ps=e(Ps),Fs=e(Fs),Is=e(Is),Ls=e(Ls),Rs=e(Rs),zs=e(zs),Bs=e(Bs),Vs=e(Vs),e(Hs),Hs=e(Hs),Us=e(Us),Ws=e(Ws),Gs=e(Gs),Ks=e(Ks),qs=e(qs)},Ys={"action-done":`Aktion abgeschlossen`,"action-running":`Aktion wird ausgeführt...`,"avatar-alt":`Avatar von {{name}}`,"character-counter-current":`{{current}} Zeichen`,"character-counter-current-of-max":`{{current}}/{{max}} Zeichen`,"character-counter-current-of-max-aria":`{{current}} von {{max}} Zeichen`,"character-counter-max-aria":`Zeichenlimit erreicht!`,"character-limit-exceeded":`Es sind {{over}} Zeichen zu viel.`,"character-limit-hint":`Es können bis zu {{limit}} Zeichen eingegeben werden.`,"character-limit-remaining":`Es sind noch {{remaining}} Zeichen verfügbar.`,"clear-search":`Suche löschen`,close:`Schließen`,"close-alert":`Benachrichtigung schließen`,"data-browse-text":`Datei auswählen`,"delete-selection":`Auswahl entfernen`,"entries-per-site":`Einträge pro Seite`,error:`Fehler`,"error-list":`Fehlerliste`,"error-list-message":`Bitte korrigieren Sie folgende Fehler:`,"filename-text":`Datei auswählen oder hier ablegen...`,"form-description":`Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.`,"hide-password":`ausblenden`,info:`Hinweis`,"kolibri-logo":`Logo von KoliBri`,"live-value":`{{value}} {{unit}}`,"live-value-bounded":`{{value}} von {{max}} {{unit}}`,message:`Nachricht`,"meter-state-critical":`Kritisch`,"meter-state-optimum":`Optimal`,"meter-state-suboptimal":`Suboptimal`,"nav-maximize":`Navigation maximieren`,"nav-minimize":`Navigation minimieren`,new:`Neu`,"no-entries":`Es sind keine Einträge vorhanden.`,"no-results-message":`Keine Ergebnisse gefunden.`,"open-link-in-tab":`Öffnet in neuem Tab.`,page:`Seite`,"page-back":`Eine Seite zurück`,"page-first":`Direkt zur ersten Seite`,"page-last":`Direkt zur letzten Seite`,"page-next":`Eine Seite weiter`,pagination:`Paginierung`,"pagination-position-bottom":`unten`,"pagination-position-top":`oben`,readonly:`schreibgeschützt`,"show-password":`einblenden`,sort:`sortieren`,"split-button-dropdown-label-open":`Optionen anzeigen`,success:`Erfolg`,"table-data-loading":`Daten für Tabelle {{caption}} werden geladen.`,"table-data-loaded":`Daten für Tabelle {{caption}} wurden geladen.`,"table-pagination-label":`Paginierung für die Tabelle {{label}}`,"table-selection":`Auswahl`,"table-selection-all":`Alle auswählen`,"table-selection-indeterminate":`Alle auswählen bei teilweiser Auswahl`,"table-selection-none":`Alle abwählen`,"table-settings":`Tabellenkonfiguration`,"table-settings-apply":`Übernehmen`,"table-settings-cancel":`Abbrechen`,"table-settings-column-hidable":`Spalte "{{column}}" ausblenden.`,"table-settings-column-not-hidable":`Spalte "{{column}}" kann nicht ausgeblendet werden.`,"table-settings-column-width":`Breite von Spalte "{{column}}" in Pixel.`,"table-settings-error-all-invisible":`Mindestens eine Spalte muss sichtbar sein.`,"table-settings-move-down":`Spalte "{{column}}" nach unten verschieben.`,"table-settings-move-up":`Spalte "{{column}}" nach oben verschieben.`,"table-settings-not-move":`Spalte "{{column}}" kann nicht verschoben werden.`,"table-sort-order":`Priorität {{order}}`,"table-visible-range":`Einträge {{start}} bis {{end}} von {{total}}`,"toast-close-all":`Alle Benachrichtigungen schließen`,version:`Versionsnummer`,warning:`Warnung`},Xs={"action-done":`Action done`,"action-running":`Action is running...`,"avatar-alt":`Avatar of {{name}}`,"character-counter-current":`{{current}} characters`,"character-counter-current-of-max":`{{current}}/{{max}} characters`,"character-counter-current-of-max-aria":`{{current}} of {{max}} characters`,"character-counter-max-aria":`Character limit reached!`,"character-limit-exceeded":`You have {{over}} characters too many.`,"character-limit-hint":`You can enter up to {{limit}} characters`,"character-limit-remaining":`You have {{remaining}} characters remaining.`,"clear-search":`Clear search`,close:`Close`,"close-alert":`Close notification`,"data-browse-text":`Browse`,"delete-selection":`Delete selection`,"entries-per-site":`Entries per page`,error:`Error`,"error-list":`Error list`,"error-list-message":`Please correct the following errors`,"filename-text":`Choose a file or drop it here...`,"form-description":`Form fields marked with an asterisk (*) are mandatory.`,"hide-password":`Hide`,info:`Note`,"kolibri-logo":`KoliBri logo`,"live-value":`{{value}} {{unit}}`,"live-value-bounded":`{{value}} of {{max}} {{unit}}`,message:`Message`,"meter-state-critical":`Critical`,"meter-state-optimum":`Optimum`,"meter-state-suboptimal":`Suboptimal`,"nav-maximize":`Maximize navigation`,"nav-minimize":`Minimize navigation`,new:`New`,"no-entries":`No entries available.`,"no-results-message":`No results found.`,"open-link-in-tab":`Opens in new tab.`,page:`Page`,"page-back":`One page back`,"page-first":`Directly to the first page`,"page-last":`Directly to the last page`,"page-next":`One page further`,pagination:`Pagination`,"pagination-position-bottom":`bottom`,"pagination-position-top":`top`,readonly:`read-only`,"show-password":`Show`,sort:`sort`,"split-button-dropdown-label-open":`Show options`,success:`Success`,"table-data-loading":`Data in table {{caption}} is loading.`,"table-data-loaded":`Data in table {{caption}} got loaded.`,"table-pagination-label":`Pagination for table {{label}}`,"table-selection":`Selection`,"table-selection-all":`Select all`,"table-selection-indeterminate":`Select all with partial selection`,"table-selection-none":`Deselect all`,"table-settings":`Table configuration`,"table-settings-apply":`Apply`,"table-settings-cancel":`Cancel`,"table-settings-column-hidable":`Hide column "{{column}}".`,"table-settings-column-not-hidable":`Column "{{column}}" cannot be hidden.`,"table-settings-column-width":`Width of column "{{column}}" in pixel.`,"table-settings-error-all-invisible":`At least one column must be visible.`,"table-settings-move-down":`Move column "{{column}}" down.`,"table-settings-move-up":`Move column "{{column}}" up.`,"table-settings-not-move":`Column "{{column}}" cannot be moved.`,"table-sort-order":`Priority {{order}}`,"table-visible-range":`Entries {{start}} to {{end}} of {{total}}`,"toast-close-all":`Close all notifications`,version:`Version number`,warning:`Warning`},Zs=e=>Object.keys(e).reduce((t,n)=>(t[`kol-${n}`]=e[n],t),{}),Qs=new Set([e=>e(`en`,Zs(Xs)),e=>e(`de`,Zs(Ys))]),$s=function(e,t,n){return e.split(t).join(n)},ec=class{constructor(e){this.resourceMap=new Map,this.language=e??`de`}addTranslations(e){Array.isArray(e)?e=new Set(e):typeof e==`function`&&(e=new Set([e])),e!==void 0&&e.forEach(e=>e((e,t)=>{let n=this.resourceMap.get(e);return n||(n=new Map,this.resourceMap.set(e,n)),Object.entries(t).forEach(([e,t])=>{t&&n.set(e,t)}),e}))}setLanguage(e){this.language=e}translate(e,t){let n=this.resourceMap.get(this.language)?.get(e);return n?t?.placeholders&&Object.entries(t.placeholders).forEach(([e,t])=>{n=$s(n,`{{${e}}}`,t)}):n=e,n}},tc,nc=()=>tc,rc=(e,t=Qs)=>(tc=new ec(e),tc.addTranslations(t),tc),ic=!1,ac,oc=async(e,t,n)=>{let r=typeof process<`u`?`production`:void 0;ea(n?.environment||r||`production`),rc(n?.translation?.name??`de`,n?.translations),n?.transformTagName&&Js(n?.transformTagName);let i=await bi(e,t,n);return ic=!0,ac=n,ha.info(`Development mode active - Enhanced debugging features available`),i},sc=()=>ic,cc=()=>ac,lc,uc;function dc(){return uc?lc:(uc=1,lc=function(e){return function(t,n){if(!t)return e;var r;typeof t==`string`?r=t:n=t;var i=e;return r&&(i+=`__`+r),i+(n?Object.keys(n).reduce(function(e,t){var r=n[t];return r&&(e+=` `+(typeof r==`boolean`?i+`--`+t:i+`--`+t+`_`+r)),e},``):``)}},lc)}var fc=Wr(dc());function pc(){let e=new Map,t=(t,n,r)=>{try{return e.get(t)(n,r)}catch{return e.set(t,fc(t)).get(t)(n,r)}};return t.forBlock=e=>{let n=(n,r)=>t(e,n,r);return n.forElement=n=>r=>t(e,n,r),n},t}var mc=pc(),hc;(function(e){e.blur=`blur`,e.cancel=`cancel`,e.change=`change`,e.changeHeaderCells=`changeheadercells`,e.changePage=`changepage`,e.changePageSize=`changepagesize`,e.click=`click`,e.close=`close`,e.create=`create`,e.error=`error`,e.focus=`focus`,e.input=`input`,e.keydown=`keydown`,e.load=`load`,e.mousedown=`mousedown`,e.reset=`reset`,e.select=`select`,e.selectionChange=`selectionchange`,e.sort=`sort`,e.submit=`submit`,e.toggle=`toggle`})(hc||={});var gc={bubbles:!0,cancelable:!0,composed:!0};function _c(e,t=null){return new CustomEvent(e,Object.assign(Object.assign({},gc),{detail:t}))}function vc(e,t,n){return e.dispatchEvent(_c(t,n))}new qi(`kol`,Ji,Yi);var yc=class e{constructor(e,t){this.document=e,this.options=t,this.toastContainerElement=this.document.createElement(Vs),this.document.body.prepend(this.toastContainerElement),this.options?.defaultVariant&&ha.info(`ToasterService: Default variant is deprecated. Use 'card' variant for all toasts instead.`)}static getInstance(t,n){if(!sc())throw Error(`Toaster: Call KoliBri bootstrap/register method first.`);let r=this.instances.get(t);return r||(r=new e(t,n),this.instances.set(t,r)),r}dispose(){let e=this.toastContainerElement;e?(this.toastContainerElement=void 0,e.remove()):ha.warn(`Toaster service is already disposed.`)}enqueue(e){if(this.toastContainerElement&&typeof this.toastContainerElement.enqueue==`function`)return this.toastContainerElement.enqueue(e)}closeAll(e=!1){this.toastContainerElement&&typeof this.toastContainerElement.closeAll==`function`&&this.toastContainerElement.closeAll(e)}};yc.instances=new Map;var bc;(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`})(bc||={}),Object.getOwnPropertyNames(bc);var xc;(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`})(xc||={}),Object.getOwnPropertyNames(xc);var Sc;(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`})(Sc||={}),Object.getOwnPropertyNames(Sc);var W=new Map;W.set(bc[`Die Bundesregierung`],[`Die`,`Bundesregierung`]),W.set(bc[`Bundesministerium der Finanzen`],[`Bundesministerium`,`der Finanzen`]),W.set(bc[`Bundesministerium des Innern, für Bau und Heimat`],[`Bundesministerium`,`des Inneren, für Bau`,`und Heimat`]),W.set(bc[`Auswärtiges Amt`],[`Auswärtiges Amt`]),W.set(bc[`Bundesministerium für Wirtschaft und Energie`],[`Bundesministerium`,`für Wirtschaft`,`und Energie`]),W.set(bc[`Bundesministerium der Justiz und für Verbraucherschutz`],[`Bundesministerium`,`der Justiz und`,`für Verbraucherschutz`]),W.set(bc[`Bundesministerium für Arbeit und Soziales`],[`Bundesministerium`,`für Arbeit und Soziales`]),W.set(bc[`Bundesministerium der Verteidigung`],[`Bundesministerium`,`der Verteidigung`]),W.set(bc[`Bundesministerium für Bildung und Forschung`],[`Bundesministerium`,`für Bildung`,`und Forschung`]),W.set(bc[`Bundesministerium für Ernährung und Landwirtschaft`],[`Bundesministerium`,`für Ernährung`,`und Landwirtschaft`]),W.set(bc[`Bundesministerium für Familie, Senioren, Frauen und Jugend`],[`Bundesministerium`,`für Familie, Senioren, Frauen`,`und Jugend`]),W.set(bc[`Bundesministerium für Gesundheit`],[`Bundesministerium`,`für Gesundheit`]),W.set(bc[`Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit`],[`Bundesministerium`,`für Umwelt, Naturschutz`,`und nukleare Sicherheit`]),W.set(bc[`Bundesministerium für Verkehr und digitale Infrastruktur`],[`Bundesministerium`,`für Verkehr und`,`digitale Infrastruktur`]),W.set(bc[`Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung`],[`Bundesministerium`,`für wirtschaftliche Zusammenarbeit`,`und Entwicklung`]),W.set(xc[`Beschaffungsamt des Bundesministeriums des Innern`],[`Beschaffungsamt`,`des Bundesministeriums`,`des Innern`]),W.set(xc[`Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr`],[]),W.set(xc[`Bundesamt für äußere Restitutionen`],[]),W.set(xc[`Bundesamt für Bauwesen und Raumordnung`],[]),W.set(xc[`Bundesamt für Bevölkerungsschutz und Katastrophenhilfe`],[`Bundesamt`,`für Bevölkerungsschutz`,`und Katastrophenhilfe`]),W.set(xc[`Bundesamt für Familie und zivilgesellschaftliche Aufgaben`],[`Bundesamt`,`für Familie und`,`zivilgesellschaftliche Aufgaben`]),W.set(xc[`Bundesamt für Güterverkehr`],[`Bundesamt`,`für Güterverkehr`]),W.set(xc[`Bundesamt für Justiz`],[`Bundesamt für`,`Justiz`]),W.set(xc[`Bundesamt für Kartographie und Geodäsie`],[`Bundesamt für`,`Kartographie und Geodäsie`]),W.set(xc[`Bundesamt für kerntechnische Entsorgungssicherheit`],[`Bundesamt für`,`kerntechnische`,`Entsorgungssicherheit`]),W.set(xc[`Bundesamt für Migration und Flüchtlinge`],[`Bundesamt`,`für Migration`,`und Flüchtlinge`]),W.set(xc[`Bundesamt für Sicherheit in der Informationstechnik`],[`Bundesamt`,`für Sicherheit in der`,`Informationstechnik`]),W.set(xc[`Bundesamt für Verbraucherschutz und Lebensmittelsicherheit`],[`Bundesamt für`,`Verbraucherschutz und`,`Lebensmittelsicherheit`]),W.set(xc[`Bundesamt für Verfassungsschutz`],[`Bundesamt für`,`Verfassungsschutz`]),W.set(xc[`Bundesamt für Wirtschaft und Ausfuhrkontrolle`],[`Bundesamt`,`für Wirtschaft`,`Ausfuhrkontrolle`]),W.set(xc[`Bundesamt für zentrale Dienste und offene Vermögensfragen`],[`Bundesamt`,`für zentrale Dienste und`,`offene Vermögensfragen`]),W.set(xc[`Bundesanstalt für Verwaltungsdienstleistungen`],[`Bundesanstalt`,`für Verwaltungsdienstleistungen`]),W.set(xc.Bundesarchiv,[`Das`,`Bundesarchiv`]),W.set(xc[`Bundesaufsichtsamt für Flugsicherung`],[`Bundesaufsichtsamt`,`für Flugsicherung`]),W.set(xc.Bundesausgleichsamt,[`Bundesausgleichsamt`]),W.set(xc.Bundeskartellamt,[`Bundeskartellamt`]),W.set(xc.Bundeskriminalamt,[`Bundeskriminalamt`]),W.set(xc.Bundesnachrichtendienst,[`Bundesnachrichtendienst`]),W.set(xc[`Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen`],[`Bundesnetzagentur`]),W.set(xc.Bundespolizeipräsidium,[`Bundespolizeipräsidium`]),W.set(xc[`Bundesprüfstelle für jugendgefährdende Medien`],[`Bundesprüfstelle`,`für jugendgefährdende`,`Medien`]),W.set(xc.Bundessortenamt,[`Bundessortenamt`]),W.set(xc.Bundessprachenamt,[`Bundessprachenamt`]),W.set(xc[`Bundesamt für Soziale Sicherung`],[`Bundesamt`,`für Soziale Sicherung`]),W.set(xc.Bundesverwaltungsamt,[`Bundesverwaltungsamt`]),W.set(xc[`Bundeszentralamt für Steuern`],[`Bundeszentralamt`,`für Steuern`]),W.set(xc[`Deutsches Patent- und Markenamt`],[`Deutsches`,`Patent- und Markenamt`]),W.set(xc[`Eisenbahn-Bundesamt`],[`Eisenbahn-Bundesamt`]),W.set(xc.Generalzolldirektion,[`Generalzolldirektion`]),W.set(xc[`Militärischer Abschirmdienst`],[`Bundesamt für den`,`Militärischen Abschirmdienst`]),W.set(xc[`Zentrale Stelle für Informationstechnik im Sicherheitsbereich`],[`Zentrale Stelle`,`für Informationstechnik`,`im Sicherheitsbereich`]),W.set(Sc[`Informationstechnikzentrum Bund`],[`Informations`,`Technik`,`Zentrum Bund`]),W.set(Sc[`Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben`],[`Bundesanstalt`,`für den Digitalfunk der Behörden und`,`Organisationen mit Sicherheitsaufgaben`]),W.set(Sc[`Bundesanstalt für Landwirtschaft und Ernährung`],[`Bundesanstalt für`,`Landwirtschaft und Ernährung`]),W.set(Sc[`Bundesanstalt Technisches Hilfswerk`],[`Bundesanstalt`,`Technisches Hilfswerk`]),W.set(Sc[`Bundesinstitut für Arzneimittel und Medizinprodukte`],[`Bundesinstitut`,`für Arzneimittel`,`und Medizinprodukte`]),W.set(Sc[`Bundesinstitut für Bevölkerungsforschung`],[`Bundesinstitut`,`für Bevölkerungsforschung`]),W.set(Sc[`Bundesinstitut für Sportwissenschaft`],[`Bundesinstitut`,`für Sportwissenschaft`]);var Cc=`kolibri`,wc={hydratedSelectorName:`hydrated`,lazyLoad:!0,propChangeCallback:!0,slotRelocation:!0,state:!0,updatable:!0},Tc={kolibriVersion:`4.4.0`},Ec=Object.defineProperty,Dc=(e,t)=>{for(var n in t)Ec(e,n,{get:t[n],enumerable:!0})},Oc=`http://www.w3.org/2000/svg`,kc=`http://www.w3.org/1999/xhtml`,Ac=(e=>(e.Undefined=`undefined`,e.Null=`null`,e.String=`string`,e.Number=`number`,e.SpecialNumber=`number`,e.Boolean=`boolean`,e.BigInt=`bigint`,e))(Ac||{}),jc=(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))(jc||{}),Mc=`type`,Nc=`value`,Pc=`serialized:`,Fc=(e,t)=>{let n=t.$cmpMeta$;Object.entries(n.$members$??{}).map(([n,[r]])=>{if(r&31||r&32){let r=e[n],i=Ic(Object.getPrototypeOf(e),n)||Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(e,n,{get(){return i.get.call(this)},set(e){i.set.call(this,e)},configurable:!0,enumerable:!0}),e[n]=t.$instanceValues$.has(n)?t.$instanceValues$.get(n):r}})};function Ic(e,t){for(;e;){let n=Object.getOwnPropertyDescriptor(e,t);if(n?.get)return n;e=Object.getPrototypeOf(e)}}var Lc=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},Rc=(e,t)=>{t&&(e.__stencil__getHostRef=()=>t,t.$lazyInstance$=e,t.$cmpMeta$.$flags$&512&&wc.state&&Fc(e,t))},zc=(e,t)=>{let n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map,$serializerValues$:new Map};n.$onInstancePromise$=new Promise(e=>n.$onInstanceResolve$=e),n.$onReadyPromise$=new Promise(e=>n.$onReadyResolve$=e),e[`s-p`]=[],e[`s-rc`]=[],n.$fetchedCbList$=[];let r=n;return e.__stencil__getHostRef=()=>r,r},Bc=(e,t)=>t in e,G=(e,t)=>(0,console.error)(e,t),Vc=new Map,Hc=(e,t,n)=>{let r=e.$tagName$.replace(/-/g,`_`),i=e.$lazyBundleId$;if(!i)return;let a=Vc.get(i);if(a)return a[r];if(!n||!wc.hotModuleReplacement){let e=e=>(Vc.set(i,e),e[r]);switch(i){case`kol-abbr`:return V(()=>import(`./kol-abbr.entry-BdDIUG3P.js`).then(e,G),__vite__mapDeps([0,1]),import.meta.url);case`kol-accordion`:return V(()=>import(`./kol-accordion.entry-CFrCfX0t.js`).then(e,G),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url);case`kol-alert`:return V(()=>import(`./kol-alert.entry-BgqpRJSL.js`).then(e,G),[],import.meta.url);case`kol-avatar`:return V(()=>import(`./kol-avatar.entry-Ia48x43f.js`).then(e,G),__vite__mapDeps([18,1,9,13,14,15,19,20,21,22,23]),import.meta.url);case`kol-badge`:return V(()=>import(`./kol-badge.entry-CY7N3KFf.js`).then(e,G),__vite__mapDeps([24,3,4,6,11,12,13,25,20,26,27,28]),import.meta.url);case`kol-breadcrumb`:return V(()=>import(`./kol-breadcrumb.entry-CJkZduPx.js`).then(e,G),__vite__mapDeps([29,9,25,4,6,30,31]),import.meta.url);case`kol-button`:return V(()=>import(`./kol-button.entry-BAcBT-XG.js`).then(e,G),__vite__mapDeps([32,4,11,12]),import.meta.url);case`kol-button-link`:return V(()=>import(`./kol-button-link.entry-DZmvQn5B.js`).then(e,G),__vite__mapDeps([33,4,11,12]),import.meta.url);case`kol-card`:return V(()=>import(`./kol-card.entry-DeVbU01R.js`).then(e,G),__vite__mapDeps([34,4,11,12]),import.meta.url);case`kol-details`:return V(()=>import(`./kol-details.entry-DMaPGmPV.js`).then(e,G),__vite__mapDeps([35,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url);case`kol-dialog`:return V(()=>import(`./kol-dialog.entry-LBWGyJjJ.js`).then(e,G),[],import.meta.url);case`kol-drawer`:return V(()=>import(`./kol-drawer.entry-DM8Jm7Ww.js`).then(e,G),__vite__mapDeps([36,37,3,6,9,10,13,14,15,16,17,38,39,40]),import.meta.url);case`kol-form`:return V(()=>import(`./kol-form.entry-DcxYfJSt.js`).then(e,G),__vite__mapDeps([41,5,4,6,19,25,42]),import.meta.url);case`kol-heading`:return V(()=>import(`./kol-heading.entry-Ba1E9iZd.js`).then(e,G),__vite__mapDeps([43,1,6,13,14,15,16,22,44]),import.meta.url);case`kol-icon`:return V(()=>import(`./kol-icon.entry-CQc98voB.js`).then(e,G),__vite__mapDeps([45,1,9,13,14,15,25,4,6,21,22]),import.meta.url);case`kol-image`:return V(()=>import(`./kol-image.entry-0nWjZ36E.js`).then(e,G),__vite__mapDeps([46,1,13,14,15,22,23]),import.meta.url);case`kol-input-checkbox`:return V(()=>import(`./kol-input-checkbox.entry-BthL55kU.js`).then(e,G),__vite__mapDeps([47,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,48,49,50,51,39,52,53,54,55,37,56,57,58,59,60,61,62,63,64]),import.meta.url);case`kol-input-color`:return V(()=>import(`./kol-input-color.entry-DlQLpdSo.js`).then(e,G),__vite__mapDeps([65,3,1,4,5,6,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,58,59,66,60,67,68,69]),import.meta.url);case`kol-input-date`:return V(()=>import(`./kol-input-date.entry-BQpGUUfA.js`).then(e,G),__vite__mapDeps([70,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,57,58,59,66,60,67,61,68,69,71]),import.meta.url);case`kol-input-email`:return V(()=>import(`./kol-input-email.entry-lJB2AsNG.js`).then(e,G),__vite__mapDeps([72,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,57,58,59,66,60,67,73,61,68,69,71,74,75,76,77,78]),import.meta.url);case`kol-input-file`:return V(()=>import(`./kol-input-file.entry-Dmy7PCwE.js`).then(e,G),__vite__mapDeps([79,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,58,59,66,60,67,61,75]),import.meta.url);case`kol-input-number`:return V(()=>import(`./kol-input-number.entry-BLqpWKe3.js`).then(e,G),__vite__mapDeps([80,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,57,58,59,66,60,67,73,61,68,69,71]),import.meta.url);case`kol-input-password`:return V(()=>import(`./kol-input-password.entry-CXa_LzO6.js`).then(e,G),__vite__mapDeps([81,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,57,58,59,66,60,67,73,61,69,71,74,77]),import.meta.url);case`kol-input-radio`:return V(()=>import(`./kol-input-radio.entry-DlX-jcNY.js`).then(e,G),__vite__mapDeps([82,3,1,4,6,5,8,9,12,13,14,15,19,25,42,21,22,26,48,49,50,51,39,52,53,54,55,37,56,57,58,59,60,61,62,63,64]),import.meta.url);case`kol-input-text`:return V(()=>import(`./kol-input-text.entry-C7NEeaUa.js`).then(e,G),__vite__mapDeps([83,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,57,58,59,66,60,67,73,61,68,69,71,74,76,77,78]),import.meta.url);case`kol-kolibri`:return V(()=>import(`./kol-kolibri.entry-DuRvskHx.js`).then(e,G),__vite__mapDeps([84,19,20,27]),import.meta.url);case`kol-link`:return V(()=>import(`./kol-link.entry-RgWJW6tM.js`).then(e,G),__vite__mapDeps([85,3,1,4,9,11,12,13,14,15,19,25,6,21,22,26,39,53,54,55,37,56,59,44,86,87]),import.meta.url);case`kol-link-button`:return V(()=>import(`./kol-link-button.entry-Bex-6eo-.js`).then(e,G),__vite__mapDeps([88,4,11,12]),import.meta.url);case`kol-modal`:return V(()=>import(`./kol-modal.entry-DhuLirge.js`).then(e,G),[],import.meta.url);case`kol-nav`:return V(()=>import(`./kol-nav.entry-CRY9-wgs.js`).then(e,G),__vite__mapDeps([89,3,6,9,19,30,31,51]),import.meta.url);case`kol-pagination`:return V(()=>import(`./kol-pagination.entry-CiLrGyHQ.js`).then(e,G),[],import.meta.url);case`kol-popover-button`:return V(()=>import(`./kol-popover-button.entry-JltN9vH6.js`).then(e,G),__vite__mapDeps([90,4,11,12]),import.meta.url);case`kol-progress`:return V(()=>import(`./kol-progress.entry-DJRDM8cx.js`).then(e,G),__vite__mapDeps([91,1,9,13,14,15,19,21,22,92]),import.meta.url);case`kol-quote`:return V(()=>import(`./kol-quote.entry-CCsaAd97.js`).then(e,G),__vite__mapDeps([93,1,9,13,14,15,21,22,86]),import.meta.url);case`kol-select`:return V(()=>import(`./kol-select.entry-DNZfn0jD.js`).then(e,G),__vite__mapDeps([94,4,11,12,48,49]),import.meta.url);case`kol-skeleton`:return V(()=>import(`./kol-skeleton.entry-CsKmxFan.js`).then(e,G),__vite__mapDeps([95,1,4,11,12,13,14,15,22,96]),import.meta.url);case`kol-skip-nav`:return V(()=>import(`./kol-skip-nav.entry-CpP-80kA.js`).then(e,G),__vite__mapDeps([97,4,9,11,12,30,31]),import.meta.url);case`kol-spin`:return V(()=>import(`./kol-spin.entry-BfjY2VU3.js`).then(e,G),__vite__mapDeps([98,1,9,13,14,15,19,21,22,99]),import.meta.url);case`kol-split-button`:return V(()=>import(`./kol-split-button.entry-CYHFNWDy.js`).then(e,G),__vite__mapDeps([100,4,6,11,12,19]),import.meta.url);case`kol-table-stateful`:return V(()=>import(`./kol-table-stateful.entry-C-PKI-Us.js`).then(e,G),__vite__mapDeps([101,9,19,49,102,103,104]),import.meta.url);case`kol-table-stateless`:return V(()=>import(`./kol-table-stateless.entry-CtulyrOa.js`).then(e,G),__vite__mapDeps([105,49,102]),import.meta.url);case`kol-tabs`:return V(()=>import(`./kol-tabs.entry-d9sXZsg_.js`).then(e,G),__vite__mapDeps([106,3,4,6,9,11,12,19,39,104]),import.meta.url);case`kol-textarea`:return V(()=>import(`./kol-textarea.entry-Cig3v3uZ.js`).then(e,G),__vite__mapDeps([107,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,58,59,66,73,61,71,74,76,108]),import.meta.url);case`kol-toast-container`:return V(()=>import(`./kol-toast-container.entry-VpTcO3AR.js`).then(e,G),__vite__mapDeps([109,3,1,4,6,5,13,14,15,19,25,42,22,26]),import.meta.url);case`kol-toolbar`:return V(()=>import(`./kol-toolbar.entry-DgIwwZyI.js`).then(e,G),__vite__mapDeps([110,4,9,12,62,104]),import.meta.url);case`kol-tree`:return V(()=>import(`./kol-tree.entry-BwmFccJQ.js`).then(e,G),__vite__mapDeps([111,4,11,12]),import.meta.url);case`kol-tree-item`:return V(()=>import(`./kol-tree-item.entry-DV7W3uee.js`).then(e,G),[],import.meta.url);case`kol-version`:return V(()=>import(`./kol-version.entry-CyexGVQE.js`).then(e,G),__vite__mapDeps([112,9,19]),import.meta.url);case`kol-alert-wc`:return V(()=>import(`./kol-alert-wc.entry-D1mLBjkS.js`).then(e,G),__vite__mapDeps([113,5,4,6,9,13,14,15,16,17,19,25,42,38]),import.meta.url);case`kol-button-wc`:return V(()=>import(`./kol-button-wc.entry-BqDrl_St.js`).then(e,G),__vite__mapDeps([114,3,1,4,6,8,9,11,12,13,14,15,25,21,22,26,28,48,49,50,115,51,116,39,52,53,54,55,37,56,59,57]),import.meta.url);case`kol-card-wc`:return V(()=>import(`./kol-card-wc.entry-AIW0nILJ.js`).then(e,G),__vite__mapDeps([117,3,1,4,5,6,9,11,12,13,14,15,16,17,19,25,42,38,22,26,118]),import.meta.url);case`kol-click-button`:return V(()=>import(`./kol-click-button.entry-AuYBmB-H.js`).then(e,G),__vite__mapDeps([119,1,4,9,11,12,13,14,15,21,22,96]),import.meta.url);case`kol-combobox`:return V(()=>import(`./kol-combobox.entry-0xMoGW2Q.js`).then(e,G),__vite__mapDeps([120,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,58,59,66,60,67,121,73,61,68]),import.meta.url);case`kol-dialog-wc`:return V(()=>import(`./kol-dialog-wc.entry-BdXiL0RO.js`).then(e,G),__vite__mapDeps([122,37,3,6,9,13,14,15,16,17,40]),import.meta.url);case`kol-input-range`:return V(()=>import(`./kol-input-range.entry-DieLYnRU.js`).then(e,G),__vite__mapDeps([123,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,57,58,59,66,60,67,68,69]),import.meta.url);case`kol-link-wc`:return V(()=>import(`./kol-link-wc.entry-CDpB_HIc.js`).then(e,G),__vite__mapDeps([124,3,1,4,9,11,12,13,14,15,19,25,6,21,22,26,39,53,54,55,37,56,59,44,86,87]),import.meta.url);case`kol-meter`:return V(()=>import(`./kol-meter.entry-0fuVhNGc.js`).then(e,G),__vite__mapDeps([125,1,9,13,14,15,19,21,22,92]),import.meta.url);case`kol-pagination-wc`:return V(()=>import(`./kol-pagination-wc.entry-DiDIPM3P.js`).then(e,G),__vite__mapDeps([126,3,9,19,30,115,39,52]),import.meta.url);case`kol-popover-button-wc`:return V(()=>import(`./kol-popover-button-wc.entry-yGu72tH9.js`).then(e,G),__vite__mapDeps([127,3,4,6,11,12,116,39,54]),import.meta.url);case`kol-select-wc`:return V(()=>import(`./kol-select-wc.entry-Dy-SN0oO.js`).then(e,G),__vite__mapDeps([128,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,57,58,59,66,61,62,63,75,108]),import.meta.url);case`kol-single-select`:return V(()=>import(`./kol-single-select.entry-DhyoWV9A.js`).then(e,G),__vite__mapDeps([129,3,1,4,6,5,8,9,11,12,13,14,15,19,25,42,21,22,26,28,48,49,50,51,39,52,53,54,55,37,56,58,59,66,60,67,121,73,61,62,63]),import.meta.url);case`kol-table-settings-wc`:return V(()=>import(`./kol-table-settings-wc.entry-B2SpNyvR.js`).then(e,G),__vite__mapDeps([130,4,19]),import.meta.url);case`kol-table-stateless-wc`:return V(()=>import(`./kol-table-stateless-wc.entry-DKnJz-W4.js`).then(e,G),__vite__mapDeps([131,3,4,6,9,13,14,19,25,26,53,56,99,103,104]),import.meta.url);case`kol-tooltip-wc`:return V(()=>import(`./kol-tooltip-wc.entry-C-cBRwrk.js`).then(e,G),__vite__mapDeps([132,1,9,13,14,15,25,4,6,21,22,26,39,54,55,37,56]),import.meta.url);case`kol-tree-item-wc`:return V(()=>import(`./kol-tree-item-wc.entry-CFzQEzIL.js`).then(e,G),__vite__mapDeps([133,3,6,9,10,25,4,118]),import.meta.url);case`kol-tree-wc`:return V(()=>import(`./kol-tree-wc.entry-CrR_G-dd.js`).then(e,G),__vite__mapDeps([134,9]),import.meta.url);case`test-component`:return V(()=>import(`./test-component.entry-Bo6x2Kf2.js`).then(e,G),[],import.meta.url)}}return V(()=>import(`./${i}.entry.js`).then(e=>(Vc.set(i,e),e[r]),e=>{G(e,t.$hostElement$)}),[],import.meta.url)},Uc=new Map,Wc=[],Gc=`r`,Kc=`o`,qc=`s`,Jc=`t`,Yc=`c`,Xc=`s-id`,Zc=`sty-id`,Qc=`c-id`,$c=`{visibility:hidden}.hydrated{visibility:inherit}`,el=`slot-fb{display:contents}slot-fb[hidden]{display:none}`,tl=`http://www.w3.org/1999/xlink`,nl=typeof window<`u`?window:{},K={$flags$:0,$resourcesUrl$:``,jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)},rl=(()=>{var e;let t=!1;try{(e=nl.document)==null||e.addEventListener(`e`,null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),il=e=>Promise.resolve(e),al=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync==`function`}catch{}return!1})(),ol=al?!!nl.document&&Object.getOwnPropertyDescriptor(nl.document.adoptedStyleSheets,`length`).writable:!1,sl=e=>il().then(e),cl=e=>(e=typeof e,e===`object`||e===`function`);function ll(e){return(e.head?.querySelector(`meta[name="csp-nonce"]`))?.getAttribute(`content`)??void 0}var ul=e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`),dl=class e{static fromLocalValue(t){let n=t[Mc],r=Nc in t?t[Nc]:void 0;switch(n){case`string`:return r;case`boolean`:return r;case`bigint`:return BigInt(r);case`undefined`:return;case`null`:return null;case`number`:return r===`NaN`?NaN:r===`-0`?-0:r===`Infinity`?1/0:r===`-Infinity`?-1/0:r;case`array`:return r.map(t=>e.fromLocalValue(t));case`date`:return new Date(r);case`map`:let t=new Map;for(let[n,i]of r){let r=typeof n==`object`&&n?e.fromLocalValue(n):n,a=e.fromLocalValue(i);t.set(r,a)}return t;case`object`:let i={};for(let[t,n]of r)i[t]=e.fromLocalValue(n);return i;case`regexp`:let{pattern:a,flags:o}=r;return new RegExp(a,o);case`set`:let s=new Set;for(let t of r)s.add(e.fromLocalValue(t));return s;case`symbol`:return Symbol(r);default:throw Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map(t=>e.fromLocalValue(t))}static isLocalValueObject(e){if(typeof e!=`object`||!e||!e.hasOwnProperty(Mc))return!1;let t=e[Mc];return Object.values({...Ac,...jc}).includes(t)?t!==`null`&&t!==`undefined`?e.hasOwnProperty(Nc):!0:!1}};Dc({},{err:()=>pl,map:()=>ml,ok:()=>fl,unwrap:()=>hl,unwrapErr:()=>gl});var fl=e=>({isOk:!0,isErr:!1,value:e}),pl=e=>({isOk:!1,isErr:!0,value:e});function ml(e,t){if(e.isOk){let n=t(e.value);return n instanceof Promise?n.then(e=>fl(e)):fl(n)}if(e.isErr){let t=e.value;return pl(t)}throw`should never get here`}var hl=e=>{if(e.isOk)return e.value;throw e.value},gl=e=>{if(e.isErr)return e.value;throw e.value};function _l(e){return typeof e!=`string`||!e.startsWith(Pc)?e:dl.fromLocalValue(JSON.parse(atob(e.slice(Pc.length))))}var vl;function yl(e){let t=this.attachShadow({mode:`open`});vl===void 0&&(vl=null),vl&&(ol?t.adoptedStyleSheets.push(vl):t.adoptedStyleSheets=[...t.adoptedStyleSheets,vl])}var bl=e=>{let t=Ol(e,`childNodes`);e.tagName&&e.tagName.includes(`-`)&&e[`s-cr`]&&e.tagName!==`SLOT-FB`&&Sl(t,e.tagName).forEach(e=>{e.nodeType===1&&e.tagName===`SLOT-FB`&&(e.hidden=!!Cl(e,El(e),!1).length)});let n=0;for(n=0;n<t.length;n++){let e=t[n];e.nodeType===1&&Ol(e,`childNodes`).length&&bl(e)}},xl=e=>{let t=[];for(let n=0;n<e.length;n++){let r=e[n][`s-nr`]||void 0;r&&r.isConnected&&t.push(r)}return t};function Sl(e,t,n){let r=0,i=[],a;for(;r<e.length;r++)a=e[r],a[`s-sr`]&&(!t||a[`s-hn`]===t)&&n===void 0&&i.push(a),i=[...i,...Sl(a.childNodes,t,n)];return i}var Cl=(e,t,n=!0)=>{let r=[];(n&&e[`s-sr`]||!e[`s-sr`])&&r.push(e);let i=e;for(;i=i.nextSibling;)El(i)===t&&(n||!i[`s-sr`])&&r.push(i);return r},wl=(e,t)=>e.nodeType===1?e.getAttribute(`slot`)===null&&t===``||e.getAttribute(`slot`)===t:e[`s-sn`]===t||t===``,Tl=(e,t,n,r)=>{if(e[`s-ol`]&&e[`s-ol`].isConnected)return;let i=document.createTextNode(``);if(i[`s-nr`]=e,!t[`s-cr`]||!t[`s-cr`].parentNode)return;let a=t[`s-cr`].parentNode,o=Ol(a,`appendChild`);if(r!==void 0){i[`s-oo`]=r;let e=Ol(a,`childNodes`),t=[i];e.forEach(e=>{e[`s-nr`]&&t.push(e)}),t.sort((e,t)=>!e[`s-oo`]||e[`s-oo`]<(t[`s-oo`]||0)?-1:+(!t[`s-oo`]||t[`s-oo`]<e[`s-oo`])),t.forEach(e=>o.call(a,e))}else o.call(a,i);e[`s-ol`]=i,e[`s-sh`]=t[`s-hn`]},El=e=>typeof e[`s-sn`]==`string`?e[`s-sn`]:e.nodeType===1&&e.getAttribute(`slot`)||void 0;function Dl(e){if(e.assignedElements||e.assignedNodes||!e[`s-sr`])return;let t=t=>(function(e){let n=[],r=this[`s-sn`];e?.flatten&&console.error(`
|
|
26
26
|
Flattening is not supported for Stencil non-shadow slots.
|
|
27
27
|
You can use \`.childNodes\` to nested slot fallback content.
|
|
28
28
|
If you have a particular use case, please open an issue on the Stencil repo.
|
|
29
|
-
`);let i=this[`s-cr`].parentElement;return(i.__childNodes?i.childNodes:xl(i.childNodes)).forEach(e=>{r===El(e)&&n.push(e)}),t?n.filter(e=>e.nodeType===1):n}).bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function Ol(e,t){if(`__`+t in e){let n=e[`__`+t];return typeof n==`function`?n.bind(e):n}return typeof e[t]==`function`?e[t].bind(e):e[t]}var kl=(e,t=``)=>()=>{},Al=(e,t)=>()=>{},jl=new WeakMap,Ml=(e,t,n)=>{let r=Uc.get(e);al&&n?(r||=new CSSStyleSheet,typeof r==`string`?r=t:r.replaceSync(t)):r=t,Uc.set(e,r)},Nl=(e,t,n)=>{let r=Fl(t,n),i=Uc.get(r);if(!nl.document)return r;if(e=e.nodeType===11?e:nl.document,i){if(typeof i==`string`){e=e.head||e;let n=jl.get(e),a;if(n||jl.set(e,n=new Set),!n.has(r)){if(e.host&&(a=e.querySelector(`[${Zc}="${r}"]`)))a.innerHTML=i;else{a=nl.document.createElement(`style`),a.innerHTML=i;let n=K.$nonce$??ll(nl.document);if(n!=null&&a.setAttribute(`nonce`,n),!(t.$flags$&1)){if(e.nodeName===`HEAD`){let t=e.querySelectorAll(`link[rel=preconnect]`),n=t.length>0?t[t.length-1].nextSibling:e.querySelector(`style`);e.insertBefore(a,n?.parentNode===e?n:null)}else if(`host`in e){if(al){let t=new CSSStyleSheet;t.replaceSync(i),ol?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{let t=e.querySelector(`style`);t?t.innerHTML=i+t.innerHTML:e.prepend(a)}}else e.append(a)}t.$flags$&1&&e.insertBefore(a,null)}t.$flags$&4&&(a.innerHTML+=el),n&&n.add(r)}}else e.adoptedStyleSheets.includes(i)||(ol?e.adoptedStyleSheets.push(i):e.adoptedStyleSheets=[...e.adoptedStyleSheets,i])}return r},Pl=e=>{let t=e.$cmpMeta$,n=e.$hostElement$,r=t.$flags$,i=kl(`attachStyles`,t.$tagName$),a=Nl(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$);r&10&&(n[`s-sc`]=a,n.classList.add(a+`-h`)),i()},Fl=(e,t)=>`sc-`+(t&&e.$flags$&32?e.$tagName$+`-`+t:e.$tagName$),Il=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,`$1{`),Ll=()=>{if(!nl.document)return;let e=nl.document.querySelectorAll(`[${Zc}]`),t=0;for(;t<e.length;t++)Ml(e[t].getAttribute(Zc),Il(e[t].innerHTML),!0)},Rl=(e,t,...n)=>{let r=null,i=null,a=null,o=!1,s=!1,c=[],l=t=>{for(let n=0;n<t.length;n++)r=t[n],Array.isArray(r)?l(r):r!=null&&typeof r!=`boolean`&&((o=typeof e!=`function`&&!cl(r))&&(r=String(r)),o&&s?c[c.length-1].$text$+=r:c.push(o?zl(null,r):r),s=o)};if(l(n),t){t.key&&(i=t.key),t.name&&(a=t.name);{let e=t.className||t.class;e&&(t.class=typeof e==`object`?Object.keys(e).filter(t=>e[t]).join(` `):e)}}if(typeof e==`function`)return e(t===null?{}:t,c,Hl);let u=zl(e,null);return u.$attrs$=t,c.length>0&&(u.$children$=c),u.$key$=i,u.$name$=a,u},zl=(e,t)=>{let n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n.$name$=null,n},Bl={},Vl=e=>e&&e.$tag$===Bl,Hl={forEach:(e,t)=>e.map(Ul).forEach(t),map:(e,t)=>e.map(Ul).map(t).map(Wl)},Ul=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Wl=e=>{if(typeof e.vtag==`function`){let t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),Rl(e.vtag,t,...e.vchildren||[])}let t=zl(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},Gl=(e,t,n,r)=>{let i=kl(`hydrateClient`,t),a=e.shadowRoot,o=[],s=[],c=[],l=a?[]:null,u=zl(t,null);u.$elm$=e,nl.document&&(!K.$orgLocNodes$||!K.$orgLocNodes$.size)&&ql(nl.document.body,K.$orgLocNodes$=new Map),e[Xc]=n,e.removeAttribute(Xc),r.$vnode$=Kl(u,o,s,l,e,e,n,c);let d=0,f=o.length,p;for(;d<f;d++){p=o[d];let n=p.$hostId$+`.`+p.$nodeId$,r=K.$orgLocNodes$.get(n),i=p.$elm$;if(!a)i[`s-hn`]=t.toUpperCase(),p.$tag$===`slot`&&(i[`s-cr`]=e[`s-cr`]);else if(p.$tag$?.toString().includes(`-`)&&p.$tag$!==`slot-fb`&&!p.$elm$.shadowRoot){let t=Lc(p.$elm$);if(t){let n=Fl(t.$cmpMeta$,p.$elm$.getAttribute(`s-mode`)),r=nl.document.querySelector(`style[sty-id="${n}"]`);r&&e.shadowRoot.append(r.cloneNode(!0))}}p.$tag$===`slot`&&(p.$name$=p.$elm$[`s-sn`]||p.$elm$.name||null,p.$children$?(p.$flags$|=2,p.$elm$.childNodes.length||p.$children$.forEach(e=>{p.$elm$.appendChild(e.$elm$)})):p.$flags$|=1),r&&r.isConnected&&(r.parentElement.shadowRoot&&r[`s-en`]===``&&r.parentNode.insertBefore(i,r.nextSibling),r.parentNode.removeChild(r),a||(i[`s-oo`]=parseInt(p.$nodeId$))),r&&!r[`s-id`]&&K.$orgLocNodes$.delete(n)}let m=[],h=c.length,g=0,_,v,y,b;for(;g<h;g++)if(_=c[g],!(!_||!_.length))for(y=_.length,v=0;v<y;v++){if(b=_[v],m[b.hostId]||(m[b.hostId]=K.$orgLocNodes$.get(b.hostId)),!m[b.hostId])continue;let e=m[b.hostId];e.shadowRoot&&b.node.parentElement!==e&&e.appendChild(b.node),(!e.shadowRoot||!a)&&(b.slot[`s-cr`]||(b.slot[`s-cr`]=e[`s-cr`],!b.slot[`s-cr`]&&e.shadowRoot?b.slot[`s-cr`]=e:b.slot[`s-cr`]=(e.__childNodes||e.childNodes)[0]),Tl(b.node,b.slot,!1,b.node[`s-oo`]),b.node.parentElement?.shadowRoot&&b.node.getAttribute&&b.node.getAttribute(`slot`)&&b.node.removeAttribute(`slot`))}if(a){let t=0,n=l.length;if(n){for(;t<n;t++){let e=l[t];e&&a.appendChild(e)}Array.from(e.childNodes).forEach(e=>{typeof e[`s-en`]!=`string`&&typeof e[`s-sn`]!=`string`&&(e.nodeType===1&&e.slot&&e.hidden?e.removeAttribute(`hidden`):(e.nodeType===8&&!e.nodeValue||e.nodeType===3&&!e.wholeText.trim())&&e.parentNode.removeChild(e))})}}r.$hostElement$=e,i()},Kl=(e,t,n,r,i,a,o,s=[])=>{let c,l,u,d;if(a.nodeType===1){if(c=a.getAttribute(Qc),c&&(l=c.split(`.`),l[0]===o||l[0]===`0`)){u=Jl({$flags$:0,$hostId$:l[0],$nodeId$:l[1],$depth$:l[2],$index$:l[3],$tag$:a.tagName.toLowerCase(),$elm$:a,$attrs$:{class:a.className||``}}),t.push(u),a.removeAttribute(Qc),e.$children$||(e.$children$=[]);let i=u.$elm$.getAttribute(`s-sn`);typeof i==`string`&&(u.$tag$===`slot-fb`&&Yl(i,l[2],u,a,e,t,n,r,s),u.$elm$[`s-sn`]=i,u.$elm$.removeAttribute(`s-sn`)),u.$index$!==void 0&&(e.$children$[u.$index$]=u),e=u,r&&u.$depth$===`0`&&(r[u.$index$]=u.$elm$)}if(a.shadowRoot)for(d=a.shadowRoot.childNodes.length-1;d>=0;d--)Kl(e,t,n,r,i,a.shadowRoot.childNodes[d],o,s);let f=a.__childNodes||a.childNodes;for(d=f.length-1;d>=0;d--)Kl(e,t,n,r,i,f[d],o,s)}else if(a.nodeType===8)l=a.nodeValue.split(`.`),(l[1]===o||l[1]===`0`)&&(c=l[0],u=Jl({$hostId$:l[1],$nodeId$:l[2],$depth$:l[3],$index$:l[4]||`0`,$elm$:a,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null}),c===Jc?(u.$elm$=Zl(a,3),u.$elm$&&u.$elm$.nodeType===3&&(u.$text$=u.$elm$.textContent,t.push(u),a.remove(),o===u.$hostId$&&(e.$children$||(e.$children$=[]),e.$children$[u.$index$]=u),r&&u.$depth$===`0`&&(r[u.$index$]=u.$elm$))):c===Yc?(u.$elm$=Zl(a,8),u.$elm$&&u.$elm$.nodeType===8&&(t.push(u),a.remove())):u.$hostId$===o&&(c===qc?Yl(a[`s-sn`]=l[5]||``,l[2],u,a,e,t,n,r,s):c===Gc&&(r?a.remove():(i[`s-cr`]=a,a[`s-cn`]=!0))));else if(e&&e.$tag$===`style`){let t=zl(null,a.textContent);t.$elm$=a,t.$index$=`0`,e.$children$=[t]}else a.nodeType===3&&!a.wholeText.trim()&&!a[`s-nr`]&&a.remove();return e},ql=(e,t)=>{if(e.nodeType===1){let n=e[Xc]||e.getAttribute(Xc);n&&t.set(n,e);let r=0;if(e.shadowRoot)for(;r<e.shadowRoot.childNodes.length;r++)ql(e.shadowRoot.childNodes[r],t);let i=e.__childNodes||e.childNodes;for(r=0;r<i.length;r++)ql(i[r],t)}else if(e.nodeType===8){let n=e.nodeValue.split(`.`);n[0]===Kc&&(t.set(n[1]+`.`+n[2],e),e.nodeValue=``,e[`s-en`]=n[3])}},Jl=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 Yl(e,t,n,r,i,a,o,s,c){r[`s-sr`]=!0,n.$name$=e||null,n.$tag$=`slot`;let l=i?.$elm$?i.$elm$[`s-id`]||i.$elm$.getAttribute(`s-id`):``;if(s&&nl.document){let a=n.$elm$=nl.document.createElement(n.$tag$);n.$name$&&n.$elm$.setAttribute(`name`,e),i.$elm$.shadowRoot&&l&&l!==n.$hostId$?Ol(i.$elm$,`insertBefore`)(a,Ol(i.$elm$,`children`)[0]):Ol(Ol(r,`parentNode`),`insertBefore`)(a,r),Xl(c,t,e,r,n.$hostId$),r.remove(),n.$depth$===`0`&&(s[n.$index$]=n.$elm$)}else{let a=n.$elm$,o=l&&l!==n.$hostId$&&i.$elm$.shadowRoot;Xl(c,t,e,r,o?l:n.$hostId$),Dl(r),o&&i.$elm$.insertBefore(a,i.$elm$.children[0])}a.push(n),o.push(n),i.$children$||=[],i.$children$[n.$index$]=n}var Xl=(e,t,n,r,i)=>{let a=r.nextSibling;if(e[t]=e[t]||[],!(!a||a.nodeValue?.startsWith(qc+`.`)))do a&&((a.getAttribute&&a.getAttribute(`slot`)||a[`s-sn`])===n||n===``&&!a[`s-sn`]&&(!a.getAttribute||!a.getAttribute(`slot`))&&(a.nodeType===8||a.nodeType===3))&&(a[`s-sn`]=n,e[t].push({slot:r,node:a,hostId:i})),a=a?.nextSibling;while(a&&!a.nodeValue?.startsWith(qc+`.`))},Zl=(e,t)=>{let n=e;do n=n.nextSibling;while(n&&(n.nodeType!==t||!n.nodeValue));return n},Ql=e=>{let t=ul(e);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,`g`)};Ql(`::slotted`),Ql(`:host`),Ql(`:host-context`);var $l=e=>Wc.map(t=>t(e)).find(e=>!!e),eu=e=>Wc.push(e),tu=(e,t,n)=>typeof e==`string`&&e.startsWith(Pc)?(e=_l(e),e):e!=null&&!cl(e)?t&4?e===`false`?!1:e===``||!!e:t&2?typeof e==`string`?parseFloat(e):typeof e==`number`?e:NaN:t&1?String(e):e:e,nu=e=>Lc(e)?.$hostElement$,ru=(e,t,n)=>{let r=nu(e);return{emit:e=>iu(r,t,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}},iu=(e,t,n)=>{let r=K.ce(t,n);return e.dispatchEvent(r),r},au=(e,t,n,r,i,a,o)=>{if(n===r)return;let s=Bc(e,t),c=t.toLowerCase();if(t===`class`){let t=e.classList,i=su(n),a=su(r);if((e[`s-si`]||e[`s-sc`])&&o){let n=e[`s-sc`]||e[`s-si`];a.push(n),i.forEach(e=>{e.startsWith(n)&&a.push(e)}),a=[...new Set(a)].filter(e=>e),t.add(...a)}else t.remove(...i.filter(e=>e&&!a.includes(e))),t.add(...a.filter(e=>e&&!i.includes(e)))}else if(t===`style`){for(let t in n)(!r||r[t]==null)&&(t.includes(`-`)?e.style.removeProperty(t):e.style[t]=``);for(let t in r)(!n||r[t]!==n[t])&&(t.includes(`-`)?e.style.setProperty(t,r[t]):e.style[t]=r[t])}else if(t!==`key`){if(t===`ref`)r&&r(e);else if(!s&&t[0]===`o`&&t[1]===`n`){if(t=t[2]===`-`?t.slice(3):Bc(nl,c)?c.slice(2):c[2]+t.slice(3),n||r){let i=t.endsWith(cu);t=t.replace(lu,``),n&&K.rel(e,t,n,i),r&&K.ael(e,t,r,i)}}else{let o=cl(r);if((s||o&&r!==null)&&!i)try{if(e.tagName.includes(`-`))e[t]!==r&&(e[t]=r);else{let i=r??``;t===`list`?s=!1:(n==null||e[t]!=i)&&(typeof e.__lookupSetter__(t)==`function`?e[t]=i:e.setAttribute(t,i))}}catch{}let l=!1;c!==(c=c.replace(/^xlink\:?/,``))&&(t=c,l=!0),r==null||r===!1?(r!==!1||e.getAttribute(t)===``)&&(l?e.removeAttributeNS(tl,t):e.removeAttribute(t)):(!s||a&4||i)&&!o&&e.nodeType===1&&(r=r===!0?``:r,l?e.setAttributeNS(tl,t,r):e.setAttribute(t,r))}}},ou=/\s/,su=e=>(typeof e==`object`&&e&&`baseVal`in e&&(e=e.baseVal),!e||typeof e!=`string`?[]:e.split(ou)),cu=`Capture`,lu=RegExp(cu+`$`),uu=(e,t,n,r)=>{let i=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,a=e&&e.$attrs$||{},o=t.$attrs$||{};for(let e of du(Object.keys(a)))e in o||au(i,e,a[e],void 0,n,t.$flags$,r);for(let e of du(Object.keys(o)))au(i,e,a[e],o[e],n,t.$flags$,r)};function du(e){return e.includes(`ref`)?[...e.filter(e=>e!==`ref`),`ref`]:e}var fu,pu,mu=!1,hu=!1,gu=!1,_u=!1,vu=(e,t,n)=>{let r=t.$children$[n],i=0,a,o,s;if(mu||(gu=!0,r.$tag$===`slot`&&(r.$flags$|=r.$children$?2:1)),r.$text$!==null)a=r.$elm$=nl.document.createTextNode(r.$text$);else if(r.$flags$&1)a=r.$elm$=nl.document.createTextNode(``),uu(null,r,_u);else{if(_u||=r.$tag$===`svg`,!nl.document)throw 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(a=r.$elm$=nl.document.createElementNS(_u?Oc:kc,!mu&&wc.slotRelocation&&r.$flags$&2?`slot-fb`:r.$tag$),_u&&r.$tag$===`foreignObject`&&(_u=!1),uu(null,r,_u),r.$children$)for(i=0;i<r.$children$.length;++i)o=vu(e,r,i),o&&a.appendChild(o);r.$tag$===`svg`?_u=!1:a.tagName===`foreignObject`&&(_u=!0)}return a[`s-hn`]=pu,r.$flags$&3&&(a[`s-sr`]=!0,a[`s-cr`]=fu,a[`s-sn`]=r.$name$||``,a[`s-rf`]=r.$attrs$?.ref,Dl(a),s=e&&e.$children$&&e.$children$[n],s&&s.$tag$===r.$tag$&&e.$elm$&&yu(e.$elm$,!1)),a},yu=(e,t)=>{K.$flags$|=1;let n=Array.from(e.__childNodes||e.childNodes);for(let e=n.length-1;e>=0;e--){let r=n[e];r[`s-hn`]!==pu&&r[`s-ol`]&&(ku(wu(r).parentNode,r,wu(r)),r[`s-ol`].remove(),r[`s-ol`]=void 0,r[`s-sh`]=void 0,gu=!0),t&&yu(r,t)}K.$flags$&=-2},bu=(e,t,n,r,i,a)=>{let o=e[`s-cr`]&&e[`s-cr`].parentNode||e,s;for(o.shadowRoot&&o.tagName===pu&&(o=o.shadowRoot);i<=a;++i)r[i]&&(s=vu(null,n,i),s&&(r[i].$elm$=s,ku(o,s,wu(t))))},xu=(e,t,n)=>{for(let r=t;r<=n;++r){let t=e[r];if(t){let e=t.$elm$;Ou(t),e&&(hu=!0,e[`s-ol`]?e[`s-ol`].remove():yu(e,!0),e.remove())}}},Su=(e,t,n,r,i=!1)=>{let a=0,o=0,s=0,c=0,l=t.length-1,u=t[0],d=t[l],f=r.length-1,p=r[0],m=r[f],h,g;for(;a<=l&&o<=f;)if(u==null)u=t[++a];else if(d==null)d=t[--l];else if(p==null)p=r[++o];else if(m==null)m=r[--f];else if(Cu(u,p,i))Tu(u,p,i),u=t[++a],p=r[++o];else if(Cu(d,m,i))Tu(d,m,i),d=t[--l],m=r[--f];else if(Cu(u,m,i))(u.$tag$===`slot`||m.$tag$===`slot`)&&yu(u.$elm$.parentNode,!1),Tu(u,m,i),ku(e,u.$elm$,d.$elm$.nextSibling),u=t[++a],m=r[--f];else if(Cu(d,p,i))(u.$tag$===`slot`||m.$tag$===`slot`)&&yu(d.$elm$.parentNode,!1),Tu(d,p,i),ku(e,d.$elm$,u.$elm$),d=t[--l],p=r[++o];else{for(s=-1,c=a;c<=l;++c)if(t[c]&&t[c].$key$!==null&&t[c].$key$===p.$key$){s=c;break}s>=0?(g=t[s],g.$tag$===p.$tag$?(Tu(g,p,i),t[s]=void 0,h=g.$elm$):h=vu(t&&t[o],n,s),p=r[++o]):(h=vu(t&&t[o],n,o),p=r[++o]),h&&ku(wu(u.$elm$).parentNode,h,wu(u.$elm$))}a>l?bu(e,r[f+1]==null?null:r[f+1].$elm$,n,r,o,f):o>f&&xu(t,a,l)},Cu=(e,t,n=!1)=>e.$tag$===t.$tag$?e.$tag$===`slot`?e.$name$===t.$name$:n?(n&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$:!1,wu=e=>e&&e[`s-ol`]||e,Tu=(e,t,n=!1)=>{let r=t.$elm$=e.$elm$,i=e.$children$,a=t.$children$,o=t.$tag$,s=t.$text$,c;s===null?(_u=o===`svg`||o!==`foreignObject`&&_u,uu(e,t,_u,n),i!==null&&a!==null?Su(r,i,t,a,n):a===null?!n&&wc.updatable&&i!==null?xu(i,0,i.length-1):n&&wc.updatable&&i!==null&&a===null&&(t.$children$=i):(e.$text$!==null&&(r.textContent=``),bu(r,null,t,a,0,a.length-1)),_u&&o===`svg`&&(_u=!1)):(c=r[`s-cr`])?c.parentNode.textContent=s:e.$text$!==s&&(r.data=s)},Eu=[],Du=e=>{let t,n,r,i=e.__childNodes||e.childNodes;for(let e of i){if(e[`s-sr`]&&(t=e[`s-cr`])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;let i=e[`s-sn`];for(r=n.length-1;r>=0;r--)if(t=n[r],!t[`s-cn`]&&!t[`s-nr`]&&t[`s-hn`]!==e[`s-hn`]){if(wl(t,i)){let n=Eu.find(e=>e.$nodeToRelocate$===t);hu=!0,t[`s-sn`]=t[`s-sn`]||i,n?(n.$nodeToRelocate$[`s-sh`]=e[`s-hn`],n.$slotRefNode$=e):(t[`s-sh`]=e[`s-hn`],Eu.push({$slotRefNode$:e,$nodeToRelocate$:t})),t[`s-sr`]&&Eu.map(e=>{wl(e.$nodeToRelocate$,t[`s-sn`])&&(n=Eu.find(e=>e.$nodeToRelocate$===t),n&&!e.$slotRefNode$&&(e.$slotRefNode$=n.$slotRefNode$))})}else Eu.some(e=>e.$nodeToRelocate$===t)||Eu.push({$nodeToRelocate$:t})}}e.nodeType===1&&Du(e)}},Ou=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Ou)},ku=(e,t,n)=>e?.insertBefore(t,n),Au=(e,t,n=!1)=>{let r=e.$hostElement$,i=e.$cmpMeta$,a=e.$vnode$||zl(null,null),o=Vl(t)?t:Rl(null,null,t);if(pu=r.tagName,i.$attrsToReflect$&&(o.$attrs$=o.$attrs$||{},i.$attrsToReflect$.forEach(([e,t])=>{o.$attrs$[t]=r[e]})),n&&o.$attrs$)for(let e of Object.keys(o.$attrs$))r.hasAttribute(e)&&![`key`,`ref`,`style`,`class`].includes(e)&&(o.$attrs$[e]=r[e]);if(o.$tag$=null,o.$flags$|=4,e.$vnode$=o,o.$elm$=a.$elm$=r.shadowRoot||r,mu=!!(i.$flags$&1)&&!(i.$flags$&128),fu=r[`s-cr`],hu=!1,Tu(a,o,n),K.$flags$|=1,gu){Du(o.$elm$);for(let e of Eu){let t=e.$nodeToRelocate$;if(!t[`s-ol`]&&nl.document){let e=nl.document.createTextNode(``);e[`s-nr`]=t,ku(t.parentNode,t[`s-ol`]=e,t)}}for(let e of Eu){let t=e.$nodeToRelocate$,r=e.$slotRefNode$;if(r){let e=r.parentNode,n=r.nextSibling;{let r=t[`s-ol`]?.previousSibling;for(;r;){let i=r[`s-nr`]??null;if(i&&i[`s-sn`]===t[`s-sn`]&&e===(i.__parentNode||i.parentNode)){for(i=i.nextSibling;i===t||i?.[`s-sr`];)i=i?.nextSibling;if(!i||!i[`s-nr`]){n=i;break}}r=r.previousSibling}}let i=t.__parentNode||t.parentNode,a=t.__nextSibling||t.nextSibling;(!n&&e!==i||a!==n)&&t!==n&&(!t[`s-hn`]&&t[`s-ol`]&&(t[`s-hn`]=t[`s-ol`].parentNode.nodeName),ku(e,t,n),t.nodeType===1&&t.tagName!==`SLOT-FB`&&(t.hidden=t[`s-ih`]??!1)),t&&typeof r[`s-rf`]==`function`&&r[`s-rf`](r)}else t.nodeType===1&&(n&&(t[`s-ih`]=t.hidden??!1),t.hidden=!0)}}hu&&bl(o.$elm$),K.$flags$&=-2,Eu.length=0,fu=void 0},ju=(e,t)=>{if(t&&!e.$onRenderResolve$&&t[`s-p`]){let n=t[`s-p`].push(new Promise(r=>e.$onRenderResolve$=()=>{t[`s-p`].splice(n-1,1),r()}))}},Mu=(e,t)=>{if(e.$flags$&4){e.$flags$|=512;return}ju(e,e.$ancestorComponent$);let n=()=>Nu(e,t);if(t){queueMicrotask(()=>{n()});return}return n()},Nu=(e,t)=>{let n=e.$hostElement$,r=kl(`scheduleUpdate`,e.$cmpMeta$.$tagName$),i=e.$lazyInstance$;if(!i)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return t?(e.$flags$|=256,e.$queuedListeners$&&=(e.$queuedListeners$.map(([e,t])=>Bu(i,e,t,n)),void 0),e.$fetchedCbList$.length&&e.$fetchedCbList$.forEach(e=>e(n)),a=Bu(i,`componentWillLoad`,void 0,n)):a=Bu(i,`componentWillUpdate`,void 0,n),a=Pu(a,()=>Bu(i,`componentWillRender`,void 0,n)),r(),Pu(a,()=>Iu(e,i,t))},Pu=(e,t)=>Fu(e)?e.then(t).catch(e=>{console.error(e),t()}):t(),Fu=e=>e instanceof Promise||e&&e.then&&typeof e.then==`function`,Iu=async(e,t,n)=>{let r=e.$hostElement$,i=kl(`update`,e.$cmpMeta$.$tagName$),a=r[`s-rc`];n&&Pl(e);let o=kl(`render`,e.$cmpMeta$.$tagName$);Lu(e,t,r,n),a&&(a.map(e=>e()),r[`s-rc`]=void 0),o(),i();{let t=r[`s-p`]??[],n=()=>Ru(e);t.length===0?n():(Promise.all(t).then(n),e.$flags$|=4,t.length=0)}},Lu=(e,t,n,r)=>{try{t=t.render&&t.render(),e.$flags$|=2,Au(e,t,r)}catch(t){G(t,e.$hostElement$)}return null},Ru=e=>{let t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,r=kl(`postUpdate`,t),i=e.$lazyInstance$,a=e.$ancestorComponent$;Bu(i,`componentDidRender`,void 0,n),e.$flags$&64?(Bu(i,`componentDidUpdate`,void 0,n),r()):(e.$flags$|=64,Vu(n),Bu(i,`componentDidLoad`,void 0,n),r(),e.$onReadyResolve$(n),a||zu()),e.$onInstanceResolve$(n),e.$onRenderResolve$&&=(e.$onRenderResolve$(),void 0),e.$flags$&512&&sl(()=>Mu(e,!1)),e.$flags$&=-517},zu=e=>{sl(()=>iu(nl,`appload`,{detail:{namespace:Cc}})),K.$orgLocNodes$?.size&&K.$orgLocNodes$.clear()},Bu=(e,t,n,r)=>{if(e&&e[t])try{return e[t](n)}catch(e){G(e,r)}},Vu=e=>e.classList.add(wc.hydratedSelectorName??`hydrated`),Hu=(e,t)=>Lc(e).$instanceValues$.get(t),Uu=(e,t,n,r)=>{let i=Lc(e);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${r.$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).`);let a=i.$hostElement$,o=i.$instanceValues$.get(t),s=i.$flags$,c=i.$lazyInstance$;n=tu(n,r.$members$[t][0]);let l=n!==o&&!(Number.isNaN(o)&&Number.isNaN(n));if((!(s&8)||o===void 0)&&l&&(i.$instanceValues$.set(t,n),c)){if(r.$watchers$&&s&128){let e=r.$watchers$[t];e&&e.map(e=>{try{c[e](n,o,t)}catch(e){G(e,a)}})}if((s&18)==2){if(c.componentShouldUpdate&&c.componentShouldUpdate(n,o,t)===!1)return;Mu(i,!1)}}},Wu=(e,t,n)=>{let r=e.prototype;if(t.$members$||wc.propChangeCallback){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers),e.deserializers&&!t.$deserializers$&&(t.$deserializers$=e.deserializers),e.serializers&&!t.$serializers$&&(t.$serializers$=e.serializers);let i=Object.entries(t.$members$??{});if(i.map(([e,[i]])=>{if(i&31||n&2&&i&32){let{get:a,set:o}=Object.getOwnPropertyDescriptor(r,e)||{};a&&(t.$members$[e][0]|=2048),o&&(t.$members$[e][0]|=4096),(n&1||!a)&&Object.defineProperty(r,e,{get(){{if(!(t.$members$[e][0]&2048))return Hu(this,e);let n=Lc(this),i=n?n.$lazyInstance$:r;return i?i[e]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(r){let a=Lc(this);if(a){if(o){(i&32?this[e]:a.$hostElement$[e])===void 0&&a.$instanceValues$.get(e)&&(r=a.$instanceValues$.get(e)),o.apply(this,[tu(r,i)]),r=i&32?this[e]:a.$hostElement$[e],Uu(this,e,r,t);return}{if(!(n&1)||!(t.$members$[e][0]&4096)){Uu(this,e,r,t),n&1&&!a.$lazyInstance$&&a.$fetchedCbList$.push(()=>{t.$members$[e][0]&4096&&a.$lazyInstance$[e]!==a.$instanceValues$.get(e)&&(a.$lazyInstance$[e]=r)});return}let o=()=>{let n=a.$lazyInstance$[e];!a.$instanceValues$.get(e)&&n&&a.$instanceValues$.set(e,n),a.$lazyInstance$[e]=tu(r,i),Uu(this,e,a.$lazyInstance$[e],t)};a.$lazyInstance$?o():a.$fetchedCbList$.push(()=>{o()})}}}})}else n&1&&i&64&&Object.defineProperty(r,e,{value(...t){let n=Lc(this);return(n?.$onInstancePromise$)?.then(()=>n.$lazyInstance$?.[e](...t))}})}),n&1){let n=new Map;r.attributeChangedCallback=function(e,a,o){K.jmp(()=>{let s=n.get(e),c=Lc(this);if(this.hasOwnProperty(s)&&wc.lazyLoad&&(o=this[s],delete this[s]),r.hasOwnProperty(s)&&typeof this[s]==`number`&&this[s]==o)return;if(s==null){let n=c?.$flags$;if(c&&n&&!(n&8)&&n&128&&o!==a){let n=c.$lazyInstance$;(t.$watchers$?.[e])?.forEach(t=>{n[t]!=null&&n[t].call(n,o,a,e)})}return}let l=i.find(([e])=>e===s);l&&l[1][0]&4&&(o=o!==null&&o!==`false`);let u=Object.getOwnPropertyDescriptor(r,s);o!=this[s]&&(!u.get||u.set)&&(this[s]=o)})},e.observedAttributes=Array.from(new Set([...Object.keys(t.$watchers$??{}),...i.filter(([e,t])=>t[0]&31).map(([e,r])=>{var i;let a=r[1]||e;return n.set(a,e),r[0]&512&&((i=t.$attrsToReflect$)==null||i.push([e,a])),a})]))}}return e},Gu=async(e,t,n,r)=>{let i;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){let r=Hc(n,t);if(r&&`then`in r){let e=Al();i=await r,e()}else i=r;if(!i)throw Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);i.isProxied||(n.$watchers$=i.watchers,n.$serializers$=i.serializers,n.$deserializers$=i.deserializers,Wu(i,n,2),i.isProxied=!0);let a=kl(`createInstance`,n.$tagName$);t.$flags$|=8;try{new i(t)}catch(t){G(t,e)}t.$flags$&=-9,t.$flags$|=128,a(),Ku(t.$lazyInstance$,e)}else{i=e.constructor;let n=e.localName;customElements.whenDefined(n).then(()=>t.$flags$|=128)}if(i&&i.style){let r;typeof i.style==`string`?r=i.style:typeof i.style!=`string`&&(t.$modeName$=$l(e),t.$modeName$&&(r=i.style[t.$modeName$]));let a=Fl(n,t.$modeName$);if(!Uc.has(a)){let e=kl(`registerStyles`,n.$tagName$);Ml(a,r,!!(n.$flags$&1)),e()}}}let a=t.$ancestorComponent$,o=()=>Mu(t,!0);a&&a[`s-rc`]?a[`s-rc`].push(o):o()},Ku=(e,t)=>{Bu(e,`connectedCallback`,void 0,t)},qu=e=>{if(!(K.$flags$&1)){let t=Lc(e);if(!t)return;let n=t.$cmpMeta$,r=kl(`connectedCallback`,n.$tagName$);if(t.$flags$&1)$u(e,t,n.$listeners$),t?.$lazyInstance$?Ku(t.$lazyInstance$,e):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ku(t.$lazyInstance$,e));else{t.$flags$|=1;let r;if(r=e.getAttribute(Xc),r){if(n.$flags$&1){let t=Nl(e.shadowRoot,n,e.getAttribute(`s-mode`));e.classList.remove(t+`-h`,t+`-s`)}Gl(e,n.$tagName$,r,t)}r||n.$flags$&12&&Ju(e);{let n=e;for(;n=n.parentNode||n.host;)if(n.nodeType===1&&n.hasAttribute(`s-id`)&&n[`s-p`]||n[`s-p`]){ju(t,t.$ancestorComponent$=n);break}}n.$members$&&Object.entries(n.$members$).map(([t,[n]])=>{if(n&31&&t in e&&e[t]!==Object.prototype[t]){let n=e[t];delete e[t],e[t]=n}}),Gu(e,t,n)}r()}},Ju=e=>{if(!nl.document)return;let t=e[`s-cr`]=nl.document.createComment(``);t[`s-cn`]=!0,ku(e,t,e.firstChild)},Yu=(e,t)=>{Bu(e,`disconnectedCallback`,void 0,t||e)},Xu=async e=>{if(!(K.$flags$&1)){let t=Lc(e);t?.$rmListeners$&&(t.$rmListeners$.map(e=>e()),t.$rmListeners$=void 0),t?.$lazyInstance$?Yu(t.$lazyInstance$,e):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Yu(t.$lazyInstance$,e))}jl.has(e)&&jl.delete(e),e.shadowRoot&&jl.has(e.shadowRoot)&&jl.delete(e.shadowRoot)},Zu=(e,t={})=>{if(!nl.document){console.warn(`Stencil: No document found. Skipping bootstrapping lazy components.`);return}let n=kl(),r=[],i=t.exclude||[],a=nl.customElements,o=nl.document.head,s=o.querySelector(`meta[charset]`),c=nl.document.createElement(`style`),l=[],u,d=!0;Object.assign(K,t),K.$resourcesUrl$=new URL(t.resourcesUrl||`./`,nl.document.baseURI).href,K.$flags$|=2,Ll();let f=!1;if(e.map(e=>{e[1].map(n=>{let o={$flags$:n[0],$tagName$:n[1],$members$:n[2],$listeners$:n[3]};o.$flags$&4&&(f=!0),o.$members$=n[2],o.$listeners$=n[3],o.$attrsToReflect$=[],o.$watchers$=n[4]??{},o.$serializers$=n[5]??{},o.$deserializers$=n[6]??{};let s=t.transformTagName?t.transformTagName(o.$tagName$):o.$tagName$,c=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,e=this,zc(e,o),o.$flags$&1){if(!e.shadowRoot)yl.call(e,o);else if(e.shadowRoot.mode!==`open`)throw Error(`Unable to re-use existing shadow root for ${o.$tagName$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){let e=Lc(this);e&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,$u(this,e,o.$listeners$)),u&&=(clearTimeout(u),null),d?l.push(this):K.jmp(()=>qu(this)))}disconnectedCallback(){K.jmp(()=>Xu(this)),K.raf(()=>{let e=Lc(this);if(!e)return;let t=l.findIndex(e=>e===this);t>-1&&l.splice(t,1),e?.$vnode$?.$elm$ instanceof Node&&!e.$vnode$.$elm$.isConnected&&delete e.$vnode$.$elm$})}componentOnReady(){return Lc(this)?.$onReadyPromise$}};o.$lazyBundleId$=e[0],!i.includes(s)&&!a.get(s)&&(r.push(s),a.define(s,Wu(c,o,1)))})}),r.length>0&&(f&&(c.textContent+=el),c.textContent+=r.sort()+$c,c.innerHTML.length)){c.setAttribute(`data-styles`,``);let e=K.$nonce$??ll(nl.document);e!=null&&c.setAttribute(`nonce`,e),o.insertBefore(c,s?s.nextSibling:o.firstChild)}d=!1,l.length?l.map(e=>e.connectedCallback()):K.jmp(()=>u=setTimeout(zu,30)),n()},Qu=(e,t)=>t,$u=(e,t,n,r)=>{n&&nl.document&&n.map(([n,r,i])=>{let a=td(nl.document,e,n),o=ed(t,i),s=nd(n);K.ael(a,r,o,s),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>K.rel(a,r,o,s))})},ed=(e,t)=>n=>{var r;try{e.$flags$&256?(r=e.$lazyInstance$)==null||r[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}catch(t){G(t,e.$hostElement$)}},td=(e,t,n)=>n&8?nl:t,nd=e=>rl?{passive:!!(e&1),capture:!!(e&2)}:!!(e&2),rd=()=>{eu(e=>{try{e.shadowRoot instanceof ShadowRoot&&Ki(e,fi(e))}catch{}return`default`}),V(()=>import(`./devtools-BzZNn3Mb-_T_Pbsp_.js`).then(e=>{typeof e==`object`&&e&&typeof e.initialize==`function`&&e.initialize()}),__vite__mapDeps([135,3]),import.meta.url).catch(e=>{ha.error(e)})},id=async(e,t)=>{if(!(typeof window>`u`))return await rd(),Zu(JSON.parse(`[["kol-abbr",[[801,"kol-abbr",{"_label":[1]}]]],["kol-accordion",[[289,"kol-accordion",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"focus":[64],"click":[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",[[801,"kol-avatar",{"_color":[1],"_label":[1],"_src":[1],"initials":[32]},null,{"_color":["watchColor"],"_label":["watchLabel"],"_src":["watchSrc"]}]]],["kol-badge",[[289,"kol-badge",{"_color":[1],"_icons":[1],"_label":[1],"_smartButton":[1,"_smart-button"],"state":[32],"focus":[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],"_inline":[4],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"getValue":[64],"focus":[64],"click":[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],"_inline":[4],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"getValue":[64],"focus":[64],"click":[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],"_inline":[4],"_label":[1],"_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],"_variant":[1],"state":[32],"focus":[64],"click":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaControls":["validateAriaControls"],"_ariaDescription":["validateAriaDescription"],"_ariaExpanded":["validateAriaExpanded"],"_ariaSelected":["validateAriaSelected"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_icons":["validateIcons"],"_id":["validateId"],"_inline":["validateInline"],"_label":["validateLabel"],"_name":["validateName"],"_on":["validateOn"],"_role":["validateRole"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_tooltipAlign":["validateTooltipAlign"],"_type":["validateType"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-card",[[289,"kol-card",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_href":[1],"_label":[1],"_level":[2],"_target":[1],"focus":[64],"click":[64]}]]],["kol-card-wc",[[260,"kol-card-wc",{"_hasCloser":[4,"_has-closer"],"_headingId":[1,"_heading-id"],"_href":[1],"_label":[1],"_level":[2],"_on":[16],"_target":[1],"state":[32],"focus":[64],"click":[64]},null,{"_hasCloser":["validateHasCloser"],"_href":["validateHref"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_target":["validateTarget"]}]]],["kol-click-button",[[769,"kol-click-button",{"_label":[1],"focus":[64]},null,{"_label":["watchLabel"]}]]],["kol-combobox",[[289,"kol-combobox",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_hasClearButton":[4,"_has-clear-button"],"_suggestions":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"_variant":[1],"blockSuggestionMouseOver":[32],"_isOpen":[32],"_filteredSuggestions":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},[[0,"keydown","handleKeyDown"],[0,"click","handleWindowClick"],[1,"mousemove","handleMouseEvent"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"]],{"_ariaDetails":["validateAriaDetails"],"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_suggestions":["validateSuggestions"],"_hasClearButton":["validateHasClearButton"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-details",[[289,"kol-details",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"focus":[64],"click":[64]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-dialog",[[289,"kol-dialog",{"_label":[1],"_level":[2],"_on":[16],"_width":[1],"_variant":[1],"openModal":[64],"showModal":[64],"show":[64],"close":[64],"closeModal":[64]}]]],["kol-dialog-wc",[[260,"kol-dialog-wc",{"_label":[1],"_level":[2],"_on":[16],"_width":[1],"_variant":[1],"isModal":[32],"state":[32],"show":[64],"showModal":[64],"openModal":[64],"close":[64],"closeModal":[64]},null,{"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_width":["validateWidth"],"_variant":["validateVariant"]}]]],["kol-drawer",[[289,"kol-drawer",{"_open":[4],"_align":[1],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"isModal":[32],"state":[32],"show":[64],"showModal":[64],"open":[64],"close":[64]},null,{"_label":["validateLabel"],"_align":["validateAlign"],"_hasCloser":["validateHasCloser"],"_level":["validateLevel"],"_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",[[801,"kol-heading",{"_label":[1],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"]},null,{"_label":["watchLabel"],"_level":["watchLevel"],"_secondaryHeadline":["watchSecondaryHeadline"]}]]],["kol-icon",[[801,"kol-icon",{"_icons":[1],"_label":[1]},null,{"_icons":["watchIcons"],"_label":["watchLabel"]}]]],["kol-image",[[801,"kol-image",{"_alt":[1],"_loading":[1],"_sizes":[1],"_src":[1],"_srcset":[1],"_on":[16]},null,{"_alt":["watchAlt"],"_loading":["watchLoading"],"_sizes":["watchSizes"],"_src":["watchSrc"],"_srcset":["watchSrcset"]}]]],["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],"_infoPopover":[8,"_info-popover"],"_indeterminate":[1540],"_label":[1],"_labelAlign":[1,"_label-align"],"_msg":[1],"_name":[1],"_on":[16],"_required":[4],"_ariaDetails":[1,"_aria-details"],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[8],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_checked":["validateChecked"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_ariaDetails":[1,"_aria-details"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-input-date",[[289,"kol-input-date",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_max":[1],"_min":[1],"_msg":[1],"_name":[1],"_on":[16],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_step":[8],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1537],"_variant":[1],"_initialValueType":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64],"reset":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_variant":["validateVariant"]}]]],["kol-input-email",[[289,"kol-input-email",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_maxLength":[2,"_max-length"],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_variant":["validateVariant"]}]]],["kol-input-file",[[289,"kol-input-file",{"_accept":[1],"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_variant":[1],"filename":[32],"hasFileSelected":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64],"reset":[64]},null,{"_accept":["validateAccept"],"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_variant":["validateVariant"]}]]],["kol-input-number",[[289,"kol-input-number",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_max":[8],"_min":[8],"_msg":[1],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_step":[8],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"_variant":[1],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_variant":["validateVariant"]}]]],["kol-input-password",[[289,"kol-input-password",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_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],"_visibilityToggle":[4,"_visibility-toggle"],"state":[32],"_passwordVisible":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_autoComplete":["validateAutoComplete"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_variant":["validateVariant"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_visibilityToggle":["validateVisibilityToggle"]}]]],["kol-input-radio",[[289,"kol-input-radio",{"_ariaDetails":[1,"_aria-details"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_options":[1],"_orientation":[1],"_required":[4],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_tooltipAlign":["validateTooltipAlign"],"_ariaDetails":["validateAriaDetails"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_hideMsg":["validateHideMsg"],"_hint":["validateHint"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_orientation":["validateOrientation"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-input-range",[[289,"kol-input-range",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_max":[8],"_min":[8],"_msg":[1],"_name":[1],"_on":[16],"_shortKey":[1,"_short-key"],"_step":[8],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"_variant":[1],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"focus":[64],"click":[64],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_step":["validateStep"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-input-text",[[289,"kol-input-text",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_ariaDetails":[1,"_aria-details"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[16],"_label":[1],"_maxLength":[2,"_max-length"],"_msg":[1],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_spellCheck":[4,"_spell-check"],"_suggestions":[1],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1537],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64],"selectionStart":[64],"selectionEnd":[64],"setSelectionRange":[64],"setSelectionStart":[64],"setRangeText":[64]},null,{"_ariaDetails":["validateAriaDetails"],"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_variant":["validateVariant"]}]]],["kol-kolibri",[[289,"kol-kolibri",{"_color":[1],"_labeled":[4],"state":[32]},null,{"_color":["validateColor"],"_labeled":["validateLabeled"]}]]],["kol-link",[[801,"kol-link",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_inline":[4],"_label":[1],"_on":[16],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"ariaCurrent":[32],"ariaDescriptionId":[32],"expertSlot":[32],"focus":[64]},null,{"_accessKey":["watchAccessKey"],"_ariaCurrentValue":["watchAriaCurrentValue"],"_ariaControls":["watchAriaControls"],"_ariaDescription":["watchAriaDescription"],"_ariaExpanded":["watchAriaExpanded"],"_disabled":["watchDisabled"],"_download":["watchDownload"],"_hideLabel":["watchHideLabel"],"_href":["watchHref"],"_icons":["watchIcons"],"_inline":["watchInline"],"_label":["watchLabel"],"_on":["watchOn"],"_shortKey":["watchShortKey"],"_target":["watchTarget"],"_tooltipAlign":["watchTooltipAlign"],"_variant":["watchVariant"]}]]],["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],"_inline":[4],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"focus":[64],"click":[64]}]]],["kol-link-wc",[[772,"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],"_inline":[4],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_tabIndex":[2,"_tab-index"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"ariaCurrent":[32],"ariaDescriptionId":[32],"expertSlot":[32],"focus":[64],"click":[64]},null,{"_accessKey":["watchAccessKey"],"_ariaCurrentValue":["watchAriaCurrentValue"],"_ariaControls":["watchAriaControls"],"_ariaDescription":["watchAriaDescription"],"_ariaExpanded":["watchAriaExpanded"],"_ariaOwns":["watchAriaOwns"],"_customClass":["watchCustomClass"],"_disabled":["watchDisabled"],"_download":["watchDownload"],"_hideLabel":["watchHideLabel"],"_href":["watchHref"],"_icons":["watchIcons"],"_inline":["watchInline"],"_label":["watchLabel"],"_on":["watchOn"],"_role":["watchRole"],"_shortKey":["watchShortKey"],"_tabIndex":["watchTabIndex"],"_target":["watchTarget"],"_tooltipAlign":["watchTooltipAlign"],"_variant":["watchVariant"]}]]],["kol-meter",[[801,"kol-meter",{"_high":[2],"_label":[1],"_low":[2],"_max":[2],"_min":[2],"_optimum":[2],"_orientation":[1],"_unit":[1],"_value":[2]},null,{"_high":["watchHigh"],"_label":["watchLabel"],"_low":["watchLow"],"_max":["watchMax"],"_min":["watchMin"],"_optimum":["watchOptimum"],"_orientation":["watchOrientation"],"_unit":["watchUnit"],"_value":["watchValue"]}]]],["kol-modal",[[289,"kol-modal",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"openModal":[64],"showModal":[64],"show":[64],"close":[64],"closeModal":[64]}]]],["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],"state":[32]},null,{"_collapsible":["validateCollapsible"],"_hasCompactButton":["validateHasCompactButton"],"_hasIconsWhenExpanded":["validateHasIconsWhenExpanded"],"_hideLabel":["validateHideLabel"],"_label":["validateLabel"],"_links":["validateLinks"]}]]],["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"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_inline":[4],"_label":[1],"_name":[1],"_popoverAlign":[1,"_popover-align"],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"hidePopover":[64],"showPopover":[64],"click":[64],"focus":[64]}]]],["kol-popover-button-wc",[[260,"kol-popover-button-wc",{"_accessKey":[1,"_access-key"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_inline":[4],"_label":[1],"_name":[1],"_popoverAlign":[1,"_popover-align"],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32],"popoverOpen":[32],"hidePopover":[64],"showPopover":[64],"focus":[64],"click":[64]},null,{"_inline":["validateInline"],"_popoverAlign":["validatePopoverAlign"]}]]],["kol-progress",[[801,"kol-progress",{"_label":[1],"_max":[2],"_unit":[1],"_value":[2],"_variant":[1],"liveValue":[32]},null,{"_label":["watchLabel"],"_max":["watchMax"],"_unit":["watchUnit"],"_value":["watchValue"],"_variant":["watchVariant"]}]]],["kol-quote",[[801,"kol-quote",{"_href":[1],"_label":[1],"_quote":[1],"_variant":[1]},null,{"_href":["watchHref"],"_label":["watchLabel"],"_quote":["watchQuote"],"_variant":["watchVariant"]}]]],["kol-select",[[289,"kol-select",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_rows":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"_variant":[1],"getValue":[64],"focus":[64]},null,{"_ariaDetails":["validateAriaDetails"]}]]],["kol-select-wc",[[256,"kol-select-wc",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_rows":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_ariaDetails":["validateAriaDetails"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_variant":["validateVariant"]}]]],["kol-single-select",[[289,"kol-single-select",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1032],"_hasClearButton":[4,"_has-clear-button"],"_rows":[2],"_variant":[1],"_isOpen":[32],"_filteredOptions":[32],"_inputValue":[32],"blockSuggestionMouseOver":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},[[0,"keydown","handleKeyDown"],[1,"mousemove","handleMouseEvent"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"]],{"_ariaDetails":["validateAriaDetails"],"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_hasClearButton":["validateHasClearButton"],"_rows":["validateRows"],"_variant":["validateVariant"]}]]],["kol-skeleton",[[769,"kol-skeleton",{"_name":[1],"count":[32],"label":[32],"show":[32],"focus":[64],"toggle":[64]},[[0,"keydown","handleKeyDown"],[8,"keydown","onKeydown"]],{"_name":["watchName"]}]]],["kol-skip-nav",[[289,"kol-skip-nav",{"_label":[1],"_links":[1],"state":[32],"focus":[64]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-spin",[[801,"kol-spin",{"_show":[4],"_label":[1],"_variant":[1]},null,{"_show":["watchShow"],"_label":["watchLabel"],"_variant":["watchVariant"]}]]],["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],"_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],"focus":[64],"click":[64],"closePopup":[64]}]]],["kol-table-settings-wc",[[256,"kol-table-settings-wc",{"_horizontalHeaderCells":[16],"headerCells":[32],"editingHeaderCells":[32],"errorMessage":[32]},null,{"_horizontalHeaderCells":["handleHeaderCellsChange"]}]]],["kol-table-stateful",[[289,"kol-table-stateful",{"_ariaLabelledby":[1,"_aria-labelledby"],"_allowMultiSort":[4,"_allow-multi-sort"],"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headers":[1],"_label":[1],"_loading":[4],"_pagination":[8],"_paginationPosition":[1,"_pagination-position"],"_selection":[1],"_on":[16],"_hasSettingsMenu":[4,"_has-settings-menu"],"_variant":[1],"resolvedElements":[32],"adjustedHeaderCells":[32],"state":[32],"getSelection":[64],"resetSort":[64]},null,{"_ariaLabelledby":["validateAriaLabelledby"],"_allowMultiSort":["validateAllowMultiSort"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_fixedCols":["validateFixedCols"],"_paginationPosition":["validatePaginationPosition"],"_hasSettingsMenu":["validateHasSettingsMenu"],"_headers":["validateHeaders"],"_label":["validateLabel"],"_selection":["validateSelection"],"_on":["validateOn"],"_pagination":["validatePagination"]}]]],["kol-table-stateless",[[289,"kol-table-stateless",{"_ariaLabelledby":[1,"_aria-labelledby"],"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headerCells":[1,"_header-cells"],"_label":[1],"_loading":[4],"_on":[16],"_selection":[1],"_hasSettingsMenu":[4,"_has-settings-menu"],"_variant":[1],"resolvedElements":[32]},null,{"_ariaLabelledby":["validateAriaLabelledby"]}]]],["kol-table-stateless-wc",[[260,"kol-table-stateless-wc",{"externalLabelElements":[16],"_ariaLabelledby":[1,"_aria-labelledby"],"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headerCells":[1,"_header-cells"],"_label":[1],"_loading":[4],"_on":[16],"_selection":[1],"_variant":[1],"_hasSettingsMenu":[4,"_has-settings-menu"],"state":[32],"tableDivElementHasScrollbar":[32],"stickyColsDisabled":[32],"previousHeaderCells":[32]},[[0,"keydown","handleKeyDown"],[0,"changeheadercells","handleSettingsChange"]],{"externalLabelElements":["onExternalLabelElementsChange"],"_ariaLabelledby":["validateAriaLabelledby"],"_hasSettingsMenu":["validateHasSettingsMenu"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_fixedCols":["validateFixedCols"],"_headerCells":["validateHeaderCells"],"_label":["validateLabel"],"_loading":["validateLoading"],"_on":["validateOn"],"_selection":["validateSelection"],"_variant":["validateVariantClassName"]}]]],["kol-tabs",[[289,"kol-tabs",{"_align":[1],"_behavior":[1],"_hasCreateButton":[4,"_has-create-button"],"_label":[1],"_on":[16],"_selected":[1538],"_tabs":[1],"state":[32],"focus":[64],"click":[64]},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"],"_ariaDetails":[1,"_aria-details"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_maxLength":[2,"_max-length"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_msg":[1],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_resize":[1],"_required":[4],"_rows":[1026],"_shortKey":[1,"_short-key"],"_spellCheck":[4,"_spell-check"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_ariaDetails":["validateAriaDetails"],"_accessKey":["validateAccessKey"],"_adjustHeight":["validateAdjustHeight"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_variant":["validateVariant"]}]]],["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],"focus":[64],"click":[64]},[[0,"keydown","handleKeyDown"],[2,"focusout","handleFocusout"]],{"_label":["validateLabel"],"_items":["validateItems"],"_orientation":["validateOrientation"]}]]],["kol-tooltip-wc",[[256,"kol-tooltip-wc",{"_badgeText":[1,"_badge-text"],"_align":[1],"_id":[1],"_label":[1],"hideTooltip":[64]},null,{"_align":["validateAlign"],"_id":["validateId"],"_label":["validateLabel"]}]]],["kol-tree",[[289,"kol-tree",{"_label":[1],"focus":[64]}]]],["kol-tree-item",[[289,"kol-tree-item",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"focus":[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],"focus":[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],"focus":[64],"invalidateOpenItemsCache":[64]},[[0,"keydown","handleKeyDown"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"]],{"_label":["validateLabel"]}]]],["kol-version",[[289,"kol-version",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["test-component",[[0,"test-component"]]]]`),t)},ad={name:`@public-ui/components`,version:`4.3.1-rc.5`,license:`EUPL-1.2`,homepage:`https://public-ui.github.io`,repository:{type:`git`,url:`https://github.com/public-ui/kolibri`},bugs:{url:`https://github.com/public-ui/kolibri/issues`,email:`kolibri@itzbund.de`},author:{name:`Informationstechnikzentrum Bund`,email:`kolibri@itzbund.de`},main:`dist/index.cjs.js`,module:`dist/index.js`,bin:{"kolibri-copy-assets":`./copy-assets.mjs`},exports:{".":{types:`./dist/types/index.d.ts`,import:`./dist/index.js`,require:`./dist/index.cjs.js`},"./loader":{types:`./loader/index.d.ts`,import:`./loader/index.mjs`,require:`./dist/loader/index.cjs.js`},"./custom-elements.json":`./custom-elements.json`,"./package.json":`./package.json`},customElements:`custom-elements.json`,es2015:`dist/esm/index.mjs`,es2017:`dist/esm/index.mjs`,types:`dist/types/index.d.ts`,unpkg:`dist/stencil/stencil.js`,"collection:main":`dist/collection/index.js`,collection:`dist/collection/collection-manifest.json`,sideEffects:!0,description:`Contains all web components that belong to KoliBri - The accessible HTML-Standard.`,keywords:[`accessibility`,`accessible`,`bitv`,`framework`,`library`,`designsystem`,`design`,`system`,`web components`,`webcomponents`,`aria`,`wai`,`axe`,`custom elements`,`styleguide`,`style`,`guide`,`ui`,`html`,`css`,`web`,`a11y`,`w3c`,`webstandard`,`wcag`],scripts:{"assets:kolicons":`pnpm --filter @public-ui/icons build`,build:`pnpm build:light`,"build:light":`mkdir doc && cross-env NODE_ENV=production stencil build --docs --prod && node scripts/autogen.doc.js && node scripts/vaadin.js && pnpm format -w`,clear:`rimraf -g dist doc www ../adapters/angular/v19/src ../adapters/angular/v20/src ../adapters/angular/v21/src ../adapters/hydrate/dist ../adapters/react/src ../adapters/react-v19/src ../adapters/solid/src ../adapters/vaadin/*.java ../adapters/vue/src assets/kolicons`,format:`prettier --check src`,lint:`pnpm lint:eslint && pnpm lint:stylelint && pnpm lint:tsc && pnpm lint:i18n`,"lint:eslint":`eslint src`,"lint:i18n":`tsx scripts/lint-i18n.ts`,"lint:stylelint":`stylelint "src/**/*.{css,scss}"`,"lint:stylelint:components":`stylelint src/components/**/*.{css,scss}`,"lint:tsc":`tsc --noemit`,dev:`cross-env NODE_ENV=development stencil build --prod --watch`,prod:`stencil build --prod`,test:`pnpm test:unit && pnpm test:e2e`,"test:e2e":`playwright test`,"test:unit":`mkdir -p dist && cross-env NODE_ENV=test stencil test --spec --json --outputFile dist/jest-test-results.json`,"test:update:unit":`pnpm test:unit -u`,"test:watch":`cross-env NODE_ENV=test stencil test --spec --watchAll`,"prebuild:light":`pnpm clear && pnpm assets:kolicons`,"pretest:e2e":`pnpm assets:kolicons`,xunused:`knip`},dependencies:{"@floating-ui/dom":`1.8.0`,"color-convert":`3.1.3`,"color-rgba":`2.4.0`,"lodash-es":`4.18.1`,"markdown-it":`14.3.0`,"rgba-convert":`0.3.0`,"typed-bem":`1.0.2`,"wcag-contrast":`3.0.0`},devDependencies:{"@playwright/test":`1.60.0`,"@public-ui/eslint-config":`workspace:*`,"@public-ui/stencil-angular-output-target":`0.9.0`,"@public-ui/stencil-react-output-target":`0.6.0`,"@public-ui/stencil-solid-output-target":`0.2.0`,"@public-ui/stencil-vue-output-target":`0.9.0`,"@public-ui/stylelint-rules":`workspace:*`,"@revolist/svelte-output-target":`0.0.7`,"@stencil-community/postcss":`2.2.0`,"@stencil/core":`4.38.3`,"@stencil/playwright":`0.5.1`,"@stencil/sass":`3.3.2`,"@types/jest":`29.5.14`,"@types/lodash-es":`4.17.12`,"@types/markdown-it":`14.2.0`,"@types/mustache":`4.2.6`,"@types/node":`26.4.0`,"@types/pug":`2.0.10`,"@types/twig":`1.12.17`,"@types/wcag-contrast":`3.0.3`,"adopted-style-sheets":`1.1.9-rc.25`,autoprefixer:`10.5.4`,"cross-env":`10.1.0`,cssnano:`8.0.10`,eslint:`9.39.5`,"eslint-plugin-perfectionist":`5.10.1`,jest:`29.7.0`,"jest-cli":`29.7.0`,knip:`6.32.3`,mustache:`4.2.0`,postcss:`8.5.26`,"postcss-sorting":`10.0.0`,prettier:`3.9.6`,"prettier-plugin-organize-imports":`4.3.0`,pug:`3.0.4`,rimraf:`6.1.3`,"stencil-awesome-test":`1.0.6`,stylelint:`17.14.1`,terser:`5.51.2`,twig:`3.0.0`,typescript:`5.9.3`},peerDependencies:{"adopted-style-sheets":`1.1.9-rc.25`},files:[`assets`,`copy-assets.mjs`,`dist`,`doc`,`custom-elements.json`,`index.scss`,`loader`,`vscode-custom-data.json`]},od=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),q=o(((e,t)=>{t.exports=od()}))(),sd=()=>(0,q.jsxs)(E,{_label:`This is an example page`,_level:0,_type:`info`,children:[(0,q.jsx)(`p`,{children:`You followed an example link.`}),history.length>1&&(0,q.jsx)(O,{_label:`Go Back`,_on:{onClick:()=>history.back()}})]});function cd(){let e=matchMedia(`(max-width: 1023px)`),[t,n]=(0,d.useState)(e.matches);return(0,d.useEffect)(()=>{let t=e=>{n(e.matches)};return e.addEventListener(`change`,t),()=>{e.removeEventListener(`change`,t)}},[e]),t}function ld(e){return typeof e==`object`&&!!e}function ud(e){if(!ld(e))return e;let t={};for(let[n,r]of Object.entries(e))t[n]=ud(r);return t}function dd(e){return e.trim().toLowerCase().split(/\s+/).filter(Boolean)}function fd(e,t){let n=e.map(e=>e.toLowerCase()),r=n.join(`/`);return t.every(e=>n.some(t=>t.includes(e))||r.includes(e))}function pd(e,t,n){let r={};for(let[i,a]of Object.entries(e)){let e=[...n,i];if(fd(e,t)){r[i]=ud(a);continue}if(ld(a)){let n=pd(a,t,e);Object.keys(n).length>0&&(r[i]=n)}}return r}function md(e,t){let n=dd(t);return n.length===0?ud(e):pd(e,n,[])}function hd({children:e}){return(0,q.jsx)(`div`,{className:`mt scrollable-container`,children:e})}function gd({label:e,to:t,children:n,open:r}){let i=un(t),a=pn({path:vn(t).pathname,end:!0});return(0,q.jsx)(Ne,{_label:e,_href:i,_active:!!a,_open:r,children:n})}function _d({routes:e}){let[t,n]=(0,d.useState)(``),r=(0,d.useMemo)(()=>md(e,t),[e,t]),i=(e,t)=>Object.keys(t).map(t=>{let n=e===`tree`&&t===`basic/:subPage`;return(0,q.jsx)(gd,{label:n?`basic`:t,to:[e,n?`basic/home`:t].join(`/`)},[e,t].join(`/`))}),a=Object.entries(r).map(([e,n])=>(0,q.jsx)(gd,{label:e,to:e,open:!!t,children:i(e,n)},e));return(0,q.jsxs)(hd,{children:[(0,q.jsx)(I,{_label:`Suche`,_on:{onInput:e=>{let t=e.target;n(t.value)}}}),(0,q.jsx)(`nav`,{className:`main-nav`,children:(0,q.jsx)(Me,{_label:`Navigation`,class:`block`,children:a})})]})}var vd=({buildDate:e,commitHash:t})=>!e&&!t?``:(0,q.jsx)(`div`,{className:`text-sm font-mono color-gray-5 m-t-2`,children:e&&t?(0,q.jsxs)(q.Fragment,{children:[`Build: `,t,(0,q.jsx)(`br`,{}),`at `,e]}):t?`Build: ${t}`:`Build date: ${e}`}),yd=({version:e,themes:t,theme:n,routes:r,routeList:i,sample:a,buildDate:o,commitHash:s,onThemeChange:c})=>{let l=()=>i.indexOf(a),u=()=>a.replace(/\//g,` `),f=(e,t)=>{c(t)},p=()=>{let e=l(),t=e<=0?i.length-1:e-1;location.replace(`#${i[t]}`)},m=()=>{let e=l(),t=e===i.length-1?0:e+1;location.replace(`#${i[t]}`)},h=(0,d.useMemo)(()=>t.map(e=>({label:e.name,value:e.key})),[t]),g=cd(),_=fn();(0,d.useEffect)(()=>{v.current?.close()},[_]);let v=(0,d.useRef)(null);return(0,q.jsx)(`aside`,{className:`app-sidebar p-4`,children:(0,q.jsxs)(`div`,{className:`scrollable-container-wrapper`,children:[(0,q.jsxs)(`div`,{className:`flex flex-justify-between flex-items-center`,children:[(0,q.jsx)(N,{_label:`KoliBri React`}),(0,q.jsx)(Pe,{_label:e})]}),(0,q.jsx)(vd,{buildDate:o,commitHash:s}),g?``:(0,q.jsx)(R,{_label:`Theme`,_options:h,_on:{onChange:f},_value:n,class:`mt`}),g?``:(0,q.jsx)(N,{_label:`Components`,_level:2,className:`block mt`}),(0,q.jsxs)(`div`,{className:`flex flex-justify-between flex-items-center mt`,children:[(0,q.jsx)(O,{_icons:`kolicon-chevron-left`,_hideLabel:!0,_label:`Previous component`,_on:{onClick:p}}),g?(0,q.jsxs)(`div`,{className:`flex gap-4 flex-items-center`,children:[(0,q.jsxs)(`span`,{className:`text-base text-center`,children:[u(),` (`,l()+1,`/`,i.length,`)`]}),(0,q.jsx)(O,{_label:`Navigation`,_hideLabel:!0,_icons:{right:`kolicon-settings`},_on:{onClick:()=>v.current?.showModal()}})]}):(0,q.jsxs)(`span`,{className:`text-base text-center`,children:[u(),` (`,l()+1,`/`,i.length,`)`]}),(0,q.jsx)(O,{_icons:`kolicon-chevron-right`,_hideLabel:!0,_label:`Next component`,_on:{onClick:m}})]}),g?(0,q.jsxs)(oe,{_align:`top`,_label:`Navigation`,_hasCloser:!0,ref:v,children:[(0,q.jsx)(R,{_label:`Theme`,_options:h,_on:{onChange:f},_value:n,class:`mt`}),(0,q.jsx)(N,{_label:`Components`,_level:2,className:`block mt`}),(0,q.jsx)(_d,{routes:r})]}):(0,q.jsx)(_d,{routes:r})]})})},bd=()=>{Fo(`#`+fn().pathname)},xd=`data-visual-blocks`,Sd=`public-ui.sample.visual-blocks`,Cd=`data-visual-block-skipped`,wd=`visual-block-outline-style`,Td=`
|
|
29
|
+
`);let i=this[`s-cr`].parentElement;return(i.__childNodes?i.childNodes:xl(i.childNodes)).forEach(e=>{r===El(e)&&n.push(e)}),t?n.filter(e=>e.nodeType===1):n}).bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function Ol(e,t){if(`__`+t in e){let n=e[`__`+t];return typeof n==`function`?n.bind(e):n}return typeof e[t]==`function`?e[t].bind(e):e[t]}var kl=(e,t=``)=>()=>{},Al=(e,t)=>()=>{},jl=new WeakMap,Ml=(e,t,n)=>{let r=Uc.get(e);al&&n?(r||=new CSSStyleSheet,typeof r==`string`?r=t:r.replaceSync(t)):r=t,Uc.set(e,r)},Nl=(e,t,n)=>{let r=Fl(t,n),i=Uc.get(r);if(!nl.document)return r;if(e=e.nodeType===11?e:nl.document,i){if(typeof i==`string`){e=e.head||e;let n=jl.get(e),a;if(n||jl.set(e,n=new Set),!n.has(r)){if(e.host&&(a=e.querySelector(`[${Zc}="${r}"]`)))a.innerHTML=i;else{a=nl.document.createElement(`style`),a.innerHTML=i;let n=K.$nonce$??ll(nl.document);if(n!=null&&a.setAttribute(`nonce`,n),!(t.$flags$&1)){if(e.nodeName===`HEAD`){let t=e.querySelectorAll(`link[rel=preconnect]`),n=t.length>0?t[t.length-1].nextSibling:e.querySelector(`style`);e.insertBefore(a,n?.parentNode===e?n:null)}else if(`host`in e){if(al){let t=new CSSStyleSheet;t.replaceSync(i),ol?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{let t=e.querySelector(`style`);t?t.innerHTML=i+t.innerHTML:e.prepend(a)}}else e.append(a)}t.$flags$&1&&e.insertBefore(a,null)}t.$flags$&4&&(a.innerHTML+=el),n&&n.add(r)}}else e.adoptedStyleSheets.includes(i)||(ol?e.adoptedStyleSheets.push(i):e.adoptedStyleSheets=[...e.adoptedStyleSheets,i])}return r},Pl=e=>{let t=e.$cmpMeta$,n=e.$hostElement$,r=t.$flags$,i=kl(`attachStyles`,t.$tagName$),a=Nl(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$);r&10&&(n[`s-sc`]=a,n.classList.add(a+`-h`)),i()},Fl=(e,t)=>`sc-`+(t&&e.$flags$&32?e.$tagName$+`-`+t:e.$tagName$),Il=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,`$1{`),Ll=()=>{if(!nl.document)return;let e=nl.document.querySelectorAll(`[${Zc}]`),t=0;for(;t<e.length;t++)Ml(e[t].getAttribute(Zc),Il(e[t].innerHTML),!0)},Rl=(e,t,...n)=>{let r=null,i=null,a=null,o=!1,s=!1,c=[],l=t=>{for(let n=0;n<t.length;n++)r=t[n],Array.isArray(r)?l(r):r!=null&&typeof r!=`boolean`&&((o=typeof e!=`function`&&!cl(r))&&(r=String(r)),o&&s?c[c.length-1].$text$+=r:c.push(o?zl(null,r):r),s=o)};if(l(n),t){t.key&&(i=t.key),t.name&&(a=t.name);{let e=t.className||t.class;e&&(t.class=typeof e==`object`?Object.keys(e).filter(t=>e[t]).join(` `):e)}}if(typeof e==`function`)return e(t===null?{}:t,c,Hl);let u=zl(e,null);return u.$attrs$=t,c.length>0&&(u.$children$=c),u.$key$=i,u.$name$=a,u},zl=(e,t)=>{let n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n.$name$=null,n},Bl={},Vl=e=>e&&e.$tag$===Bl,Hl={forEach:(e,t)=>e.map(Ul).forEach(t),map:(e,t)=>e.map(Ul).map(t).map(Wl)},Ul=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Wl=e=>{if(typeof e.vtag==`function`){let t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),Rl(e.vtag,t,...e.vchildren||[])}let t=zl(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},Gl=(e,t,n,r)=>{let i=kl(`hydrateClient`,t),a=e.shadowRoot,o=[],s=[],c=[],l=a?[]:null,u=zl(t,null);u.$elm$=e,nl.document&&(!K.$orgLocNodes$||!K.$orgLocNodes$.size)&&ql(nl.document.body,K.$orgLocNodes$=new Map),e[Xc]=n,e.removeAttribute(Xc),r.$vnode$=Kl(u,o,s,l,e,e,n,c);let d=0,f=o.length,p;for(;d<f;d++){p=o[d];let n=p.$hostId$+`.`+p.$nodeId$,r=K.$orgLocNodes$.get(n),i=p.$elm$;if(!a)i[`s-hn`]=t.toUpperCase(),p.$tag$===`slot`&&(i[`s-cr`]=e[`s-cr`]);else if(p.$tag$?.toString().includes(`-`)&&p.$tag$!==`slot-fb`&&!p.$elm$.shadowRoot){let t=Lc(p.$elm$);if(t){let n=Fl(t.$cmpMeta$,p.$elm$.getAttribute(`s-mode`)),r=nl.document.querySelector(`style[sty-id="${n}"]`);r&&e.shadowRoot.append(r.cloneNode(!0))}}p.$tag$===`slot`&&(p.$name$=p.$elm$[`s-sn`]||p.$elm$.name||null,p.$children$?(p.$flags$|=2,p.$elm$.childNodes.length||p.$children$.forEach(e=>{p.$elm$.appendChild(e.$elm$)})):p.$flags$|=1),r&&r.isConnected&&(r.parentElement.shadowRoot&&r[`s-en`]===``&&r.parentNode.insertBefore(i,r.nextSibling),r.parentNode.removeChild(r),a||(i[`s-oo`]=parseInt(p.$nodeId$))),r&&!r[`s-id`]&&K.$orgLocNodes$.delete(n)}let m=[],h=c.length,g=0,_,v,y,b;for(;g<h;g++)if(_=c[g],!(!_||!_.length))for(y=_.length,v=0;v<y;v++){if(b=_[v],m[b.hostId]||(m[b.hostId]=K.$orgLocNodes$.get(b.hostId)),!m[b.hostId])continue;let e=m[b.hostId];e.shadowRoot&&b.node.parentElement!==e&&e.appendChild(b.node),(!e.shadowRoot||!a)&&(b.slot[`s-cr`]||(b.slot[`s-cr`]=e[`s-cr`],!b.slot[`s-cr`]&&e.shadowRoot?b.slot[`s-cr`]=e:b.slot[`s-cr`]=(e.__childNodes||e.childNodes)[0]),Tl(b.node,b.slot,!1,b.node[`s-oo`]),b.node.parentElement?.shadowRoot&&b.node.getAttribute&&b.node.getAttribute(`slot`)&&b.node.removeAttribute(`slot`))}if(a){let t=0,n=l.length;if(n){for(;t<n;t++){let e=l[t];e&&a.appendChild(e)}Array.from(e.childNodes).forEach(e=>{typeof e[`s-en`]!=`string`&&typeof e[`s-sn`]!=`string`&&(e.nodeType===1&&e.slot&&e.hidden?e.removeAttribute(`hidden`):(e.nodeType===8&&!e.nodeValue||e.nodeType===3&&!e.wholeText.trim())&&e.parentNode.removeChild(e))})}}r.$hostElement$=e,i()},Kl=(e,t,n,r,i,a,o,s=[])=>{let c,l,u,d;if(a.nodeType===1){if(c=a.getAttribute(Qc),c&&(l=c.split(`.`),l[0]===o||l[0]===`0`)){u=Jl({$flags$:0,$hostId$:l[0],$nodeId$:l[1],$depth$:l[2],$index$:l[3],$tag$:a.tagName.toLowerCase(),$elm$:a,$attrs$:{class:a.className||``}}),t.push(u),a.removeAttribute(Qc),e.$children$||(e.$children$=[]);let i=u.$elm$.getAttribute(`s-sn`);typeof i==`string`&&(u.$tag$===`slot-fb`&&Yl(i,l[2],u,a,e,t,n,r,s),u.$elm$[`s-sn`]=i,u.$elm$.removeAttribute(`s-sn`)),u.$index$!==void 0&&(e.$children$[u.$index$]=u),e=u,r&&u.$depth$===`0`&&(r[u.$index$]=u.$elm$)}if(a.shadowRoot)for(d=a.shadowRoot.childNodes.length-1;d>=0;d--)Kl(e,t,n,r,i,a.shadowRoot.childNodes[d],o,s);let f=a.__childNodes||a.childNodes;for(d=f.length-1;d>=0;d--)Kl(e,t,n,r,i,f[d],o,s)}else if(a.nodeType===8)l=a.nodeValue.split(`.`),(l[1]===o||l[1]===`0`)&&(c=l[0],u=Jl({$hostId$:l[1],$nodeId$:l[2],$depth$:l[3],$index$:l[4]||`0`,$elm$:a,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null}),c===Jc?(u.$elm$=Zl(a,3),u.$elm$&&u.$elm$.nodeType===3&&(u.$text$=u.$elm$.textContent,t.push(u),a.remove(),o===u.$hostId$&&(e.$children$||(e.$children$=[]),e.$children$[u.$index$]=u),r&&u.$depth$===`0`&&(r[u.$index$]=u.$elm$))):c===Yc?(u.$elm$=Zl(a,8),u.$elm$&&u.$elm$.nodeType===8&&(t.push(u),a.remove())):u.$hostId$===o&&(c===qc?Yl(a[`s-sn`]=l[5]||``,l[2],u,a,e,t,n,r,s):c===Gc&&(r?a.remove():(i[`s-cr`]=a,a[`s-cn`]=!0))));else if(e&&e.$tag$===`style`){let t=zl(null,a.textContent);t.$elm$=a,t.$index$=`0`,e.$children$=[t]}else a.nodeType===3&&!a.wholeText.trim()&&!a[`s-nr`]&&a.remove();return e},ql=(e,t)=>{if(e.nodeType===1){let n=e[Xc]||e.getAttribute(Xc);n&&t.set(n,e);let r=0;if(e.shadowRoot)for(;r<e.shadowRoot.childNodes.length;r++)ql(e.shadowRoot.childNodes[r],t);let i=e.__childNodes||e.childNodes;for(r=0;r<i.length;r++)ql(i[r],t)}else if(e.nodeType===8){let n=e.nodeValue.split(`.`);n[0]===Kc&&(t.set(n[1]+`.`+n[2],e),e.nodeValue=``,e[`s-en`]=n[3])}},Jl=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 Yl(e,t,n,r,i,a,o,s,c){r[`s-sr`]=!0,n.$name$=e||null,n.$tag$=`slot`;let l=i?.$elm$?i.$elm$[`s-id`]||i.$elm$.getAttribute(`s-id`):``;if(s&&nl.document){let a=n.$elm$=nl.document.createElement(n.$tag$);n.$name$&&n.$elm$.setAttribute(`name`,e),i.$elm$.shadowRoot&&l&&l!==n.$hostId$?Ol(i.$elm$,`insertBefore`)(a,Ol(i.$elm$,`children`)[0]):Ol(Ol(r,`parentNode`),`insertBefore`)(a,r),Xl(c,t,e,r,n.$hostId$),r.remove(),n.$depth$===`0`&&(s[n.$index$]=n.$elm$)}else{let a=n.$elm$,o=l&&l!==n.$hostId$&&i.$elm$.shadowRoot;Xl(c,t,e,r,o?l:n.$hostId$),Dl(r),o&&i.$elm$.insertBefore(a,i.$elm$.children[0])}a.push(n),o.push(n),i.$children$||=[],i.$children$[n.$index$]=n}var Xl=(e,t,n,r,i)=>{let a=r.nextSibling;if(e[t]=e[t]||[],!(!a||a.nodeValue?.startsWith(qc+`.`)))do a&&((a.getAttribute&&a.getAttribute(`slot`)||a[`s-sn`])===n||n===``&&!a[`s-sn`]&&(!a.getAttribute||!a.getAttribute(`slot`))&&(a.nodeType===8||a.nodeType===3))&&(a[`s-sn`]=n,e[t].push({slot:r,node:a,hostId:i})),a=a?.nextSibling;while(a&&!a.nodeValue?.startsWith(qc+`.`))},Zl=(e,t)=>{let n=e;do n=n.nextSibling;while(n&&(n.nodeType!==t||!n.nodeValue));return n},Ql=e=>{let t=ul(e);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,`g`)};Ql(`::slotted`),Ql(`:host`),Ql(`:host-context`);var $l=e=>Wc.map(t=>t(e)).find(e=>!!e),eu=e=>Wc.push(e),tu=(e,t,n)=>typeof e==`string`&&e.startsWith(Pc)?(e=_l(e),e):e!=null&&!cl(e)?t&4?e===`false`?!1:e===``||!!e:t&2?typeof e==`string`?parseFloat(e):typeof e==`number`?e:NaN:t&1?String(e):e:e,nu=e=>Lc(e)?.$hostElement$,ru=(e,t,n)=>{let r=nu(e);return{emit:e=>iu(r,t,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}},iu=(e,t,n)=>{let r=K.ce(t,n);return e.dispatchEvent(r),r},au=(e,t,n,r,i,a,o)=>{if(n===r)return;let s=Bc(e,t),c=t.toLowerCase();if(t===`class`){let t=e.classList,i=su(n),a=su(r);if((e[`s-si`]||e[`s-sc`])&&o){let n=e[`s-sc`]||e[`s-si`];a.push(n),i.forEach(e=>{e.startsWith(n)&&a.push(e)}),a=[...new Set(a)].filter(e=>e),t.add(...a)}else t.remove(...i.filter(e=>e&&!a.includes(e))),t.add(...a.filter(e=>e&&!i.includes(e)))}else if(t===`style`){for(let t in n)(!r||r[t]==null)&&(t.includes(`-`)?e.style.removeProperty(t):e.style[t]=``);for(let t in r)(!n||r[t]!==n[t])&&(t.includes(`-`)?e.style.setProperty(t,r[t]):e.style[t]=r[t])}else if(t!==`key`){if(t===`ref`)r&&r(e);else if(!s&&t[0]===`o`&&t[1]===`n`){if(t=t[2]===`-`?t.slice(3):Bc(nl,c)?c.slice(2):c[2]+t.slice(3),n||r){let i=t.endsWith(cu);t=t.replace(lu,``),n&&K.rel(e,t,n,i),r&&K.ael(e,t,r,i)}}else{let o=cl(r);if((s||o&&r!==null)&&!i)try{if(e.tagName.includes(`-`))e[t]!==r&&(e[t]=r);else{let i=r??``;t===`list`?s=!1:(n==null||e[t]!=i)&&(typeof e.__lookupSetter__(t)==`function`?e[t]=i:e.setAttribute(t,i))}}catch{}let l=!1;c!==(c=c.replace(/^xlink\:?/,``))&&(t=c,l=!0),r==null||r===!1?(r!==!1||e.getAttribute(t)===``)&&(l?e.removeAttributeNS(tl,t):e.removeAttribute(t)):(!s||a&4||i)&&!o&&e.nodeType===1&&(r=r===!0?``:r,l?e.setAttributeNS(tl,t,r):e.setAttribute(t,r))}}},ou=/\s/,su=e=>(typeof e==`object`&&e&&`baseVal`in e&&(e=e.baseVal),!e||typeof e!=`string`?[]:e.split(ou)),cu=`Capture`,lu=RegExp(cu+`$`),uu=(e,t,n,r)=>{let i=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,a=e&&e.$attrs$||{},o=t.$attrs$||{};for(let e of du(Object.keys(a)))e in o||au(i,e,a[e],void 0,n,t.$flags$,r);for(let e of du(Object.keys(o)))au(i,e,a[e],o[e],n,t.$flags$,r)};function du(e){return e.includes(`ref`)?[...e.filter(e=>e!==`ref`),`ref`]:e}var fu,pu,mu=!1,hu=!1,gu=!1,_u=!1,vu=(e,t,n)=>{let r=t.$children$[n],i=0,a,o,s;if(mu||(gu=!0,r.$tag$===`slot`&&(r.$flags$|=r.$children$?2:1)),r.$text$!==null)a=r.$elm$=nl.document.createTextNode(r.$text$);else if(r.$flags$&1)a=r.$elm$=nl.document.createTextNode(``),uu(null,r,_u);else{if(_u||=r.$tag$===`svg`,!nl.document)throw 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(a=r.$elm$=nl.document.createElementNS(_u?Oc:kc,!mu&&wc.slotRelocation&&r.$flags$&2?`slot-fb`:r.$tag$),_u&&r.$tag$===`foreignObject`&&(_u=!1),uu(null,r,_u),r.$children$)for(i=0;i<r.$children$.length;++i)o=vu(e,r,i),o&&a.appendChild(o);r.$tag$===`svg`?_u=!1:a.tagName===`foreignObject`&&(_u=!0)}return a[`s-hn`]=pu,r.$flags$&3&&(a[`s-sr`]=!0,a[`s-cr`]=fu,a[`s-sn`]=r.$name$||``,a[`s-rf`]=r.$attrs$?.ref,Dl(a),s=e&&e.$children$&&e.$children$[n],s&&s.$tag$===r.$tag$&&e.$elm$&&yu(e.$elm$,!1)),a},yu=(e,t)=>{K.$flags$|=1;let n=Array.from(e.__childNodes||e.childNodes);for(let e=n.length-1;e>=0;e--){let r=n[e];r[`s-hn`]!==pu&&r[`s-ol`]&&(ku(wu(r).parentNode,r,wu(r)),r[`s-ol`].remove(),r[`s-ol`]=void 0,r[`s-sh`]=void 0,gu=!0),t&&yu(r,t)}K.$flags$&=-2},bu=(e,t,n,r,i,a)=>{let o=e[`s-cr`]&&e[`s-cr`].parentNode||e,s;for(o.shadowRoot&&o.tagName===pu&&(o=o.shadowRoot);i<=a;++i)r[i]&&(s=vu(null,n,i),s&&(r[i].$elm$=s,ku(o,s,wu(t))))},xu=(e,t,n)=>{for(let r=t;r<=n;++r){let t=e[r];if(t){let e=t.$elm$;Ou(t),e&&(hu=!0,e[`s-ol`]?e[`s-ol`].remove():yu(e,!0),e.remove())}}},Su=(e,t,n,r,i=!1)=>{let a=0,o=0,s=0,c=0,l=t.length-1,u=t[0],d=t[l],f=r.length-1,p=r[0],m=r[f],h,g;for(;a<=l&&o<=f;)if(u==null)u=t[++a];else if(d==null)d=t[--l];else if(p==null)p=r[++o];else if(m==null)m=r[--f];else if(Cu(u,p,i))Tu(u,p,i),u=t[++a],p=r[++o];else if(Cu(d,m,i))Tu(d,m,i),d=t[--l],m=r[--f];else if(Cu(u,m,i))(u.$tag$===`slot`||m.$tag$===`slot`)&&yu(u.$elm$.parentNode,!1),Tu(u,m,i),ku(e,u.$elm$,d.$elm$.nextSibling),u=t[++a],m=r[--f];else if(Cu(d,p,i))(u.$tag$===`slot`||m.$tag$===`slot`)&&yu(d.$elm$.parentNode,!1),Tu(d,p,i),ku(e,d.$elm$,u.$elm$),d=t[--l],p=r[++o];else{for(s=-1,c=a;c<=l;++c)if(t[c]&&t[c].$key$!==null&&t[c].$key$===p.$key$){s=c;break}s>=0?(g=t[s],g.$tag$===p.$tag$?(Tu(g,p,i),t[s]=void 0,h=g.$elm$):h=vu(t&&t[o],n,s),p=r[++o]):(h=vu(t&&t[o],n,o),p=r[++o]),h&&ku(wu(u.$elm$).parentNode,h,wu(u.$elm$))}a>l?bu(e,r[f+1]==null?null:r[f+1].$elm$,n,r,o,f):o>f&&xu(t,a,l)},Cu=(e,t,n=!1)=>e.$tag$===t.$tag$?e.$tag$===`slot`?e.$name$===t.$name$:n?(n&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$:!1,wu=e=>e&&e[`s-ol`]||e,Tu=(e,t,n=!1)=>{let r=t.$elm$=e.$elm$,i=e.$children$,a=t.$children$,o=t.$tag$,s=t.$text$,c;s===null?(_u=o===`svg`||o!==`foreignObject`&&_u,uu(e,t,_u,n),i!==null&&a!==null?Su(r,i,t,a,n):a===null?!n&&wc.updatable&&i!==null?xu(i,0,i.length-1):n&&wc.updatable&&i!==null&&a===null&&(t.$children$=i):(e.$text$!==null&&(r.textContent=``),bu(r,null,t,a,0,a.length-1)),_u&&o===`svg`&&(_u=!1)):(c=r[`s-cr`])?c.parentNode.textContent=s:e.$text$!==s&&(r.data=s)},Eu=[],Du=e=>{let t,n,r,i=e.__childNodes||e.childNodes;for(let e of i){if(e[`s-sr`]&&(t=e[`s-cr`])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;let i=e[`s-sn`];for(r=n.length-1;r>=0;r--)if(t=n[r],!t[`s-cn`]&&!t[`s-nr`]&&t[`s-hn`]!==e[`s-hn`]){if(wl(t,i)){let n=Eu.find(e=>e.$nodeToRelocate$===t);hu=!0,t[`s-sn`]=t[`s-sn`]||i,n?(n.$nodeToRelocate$[`s-sh`]=e[`s-hn`],n.$slotRefNode$=e):(t[`s-sh`]=e[`s-hn`],Eu.push({$slotRefNode$:e,$nodeToRelocate$:t})),t[`s-sr`]&&Eu.map(e=>{wl(e.$nodeToRelocate$,t[`s-sn`])&&(n=Eu.find(e=>e.$nodeToRelocate$===t),n&&!e.$slotRefNode$&&(e.$slotRefNode$=n.$slotRefNode$))})}else Eu.some(e=>e.$nodeToRelocate$===t)||Eu.push({$nodeToRelocate$:t})}}e.nodeType===1&&Du(e)}},Ou=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Ou)},ku=(e,t,n)=>e?.insertBefore(t,n),Au=(e,t,n=!1)=>{let r=e.$hostElement$,i=e.$cmpMeta$,a=e.$vnode$||zl(null,null),o=Vl(t)?t:Rl(null,null,t);if(pu=r.tagName,i.$attrsToReflect$&&(o.$attrs$=o.$attrs$||{},i.$attrsToReflect$.forEach(([e,t])=>{o.$attrs$[t]=r[e]})),n&&o.$attrs$)for(let e of Object.keys(o.$attrs$))r.hasAttribute(e)&&![`key`,`ref`,`style`,`class`].includes(e)&&(o.$attrs$[e]=r[e]);if(o.$tag$=null,o.$flags$|=4,e.$vnode$=o,o.$elm$=a.$elm$=r.shadowRoot||r,mu=!!(i.$flags$&1)&&!(i.$flags$&128),fu=r[`s-cr`],hu=!1,Tu(a,o,n),K.$flags$|=1,gu){Du(o.$elm$);for(let e of Eu){let t=e.$nodeToRelocate$;if(!t[`s-ol`]&&nl.document){let e=nl.document.createTextNode(``);e[`s-nr`]=t,ku(t.parentNode,t[`s-ol`]=e,t)}}for(let e of Eu){let t=e.$nodeToRelocate$,r=e.$slotRefNode$;if(r){let e=r.parentNode,n=r.nextSibling;{let r=t[`s-ol`]?.previousSibling;for(;r;){let i=r[`s-nr`]??null;if(i&&i[`s-sn`]===t[`s-sn`]&&e===(i.__parentNode||i.parentNode)){for(i=i.nextSibling;i===t||i?.[`s-sr`];)i=i?.nextSibling;if(!i||!i[`s-nr`]){n=i;break}}r=r.previousSibling}}let i=t.__parentNode||t.parentNode,a=t.__nextSibling||t.nextSibling;(!n&&e!==i||a!==n)&&t!==n&&(!t[`s-hn`]&&t[`s-ol`]&&(t[`s-hn`]=t[`s-ol`].parentNode.nodeName),ku(e,t,n),t.nodeType===1&&t.tagName!==`SLOT-FB`&&(t.hidden=t[`s-ih`]??!1)),t&&typeof r[`s-rf`]==`function`&&r[`s-rf`](r)}else t.nodeType===1&&(n&&(t[`s-ih`]=t.hidden??!1),t.hidden=!0)}}hu&&bl(o.$elm$),K.$flags$&=-2,Eu.length=0,fu=void 0},ju=(e,t)=>{if(t&&!e.$onRenderResolve$&&t[`s-p`]){let n=t[`s-p`].push(new Promise(r=>e.$onRenderResolve$=()=>{t[`s-p`].splice(n-1,1),r()}))}},Mu=(e,t)=>{if(e.$flags$&4){e.$flags$|=512;return}ju(e,e.$ancestorComponent$);let n=()=>Nu(e,t);if(t){queueMicrotask(()=>{n()});return}return n()},Nu=(e,t)=>{let n=e.$hostElement$,r=kl(`scheduleUpdate`,e.$cmpMeta$.$tagName$),i=e.$lazyInstance$;if(!i)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return t?(e.$flags$|=256,e.$queuedListeners$&&=(e.$queuedListeners$.map(([e,t])=>Bu(i,e,t,n)),void 0),e.$fetchedCbList$.length&&e.$fetchedCbList$.forEach(e=>e(n)),a=Bu(i,`componentWillLoad`,void 0,n)):a=Bu(i,`componentWillUpdate`,void 0,n),a=Pu(a,()=>Bu(i,`componentWillRender`,void 0,n)),r(),Pu(a,()=>Iu(e,i,t))},Pu=(e,t)=>Fu(e)?e.then(t).catch(e=>{console.error(e),t()}):t(),Fu=e=>e instanceof Promise||e&&e.then&&typeof e.then==`function`,Iu=async(e,t,n)=>{let r=e.$hostElement$,i=kl(`update`,e.$cmpMeta$.$tagName$),a=r[`s-rc`];n&&Pl(e);let o=kl(`render`,e.$cmpMeta$.$tagName$);Lu(e,t,r,n),a&&(a.map(e=>e()),r[`s-rc`]=void 0),o(),i();{let t=r[`s-p`]??[],n=()=>Ru(e);t.length===0?n():(Promise.all(t).then(n),e.$flags$|=4,t.length=0)}},Lu=(e,t,n,r)=>{try{t=t.render&&t.render(),e.$flags$|=2,Au(e,t,r)}catch(t){G(t,e.$hostElement$)}return null},Ru=e=>{let t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,r=kl(`postUpdate`,t),i=e.$lazyInstance$,a=e.$ancestorComponent$;Bu(i,`componentDidRender`,void 0,n),e.$flags$&64?(Bu(i,`componentDidUpdate`,void 0,n),r()):(e.$flags$|=64,Vu(n),Bu(i,`componentDidLoad`,void 0,n),r(),e.$onReadyResolve$(n),a||zu()),e.$onInstanceResolve$(n),e.$onRenderResolve$&&=(e.$onRenderResolve$(),void 0),e.$flags$&512&&sl(()=>Mu(e,!1)),e.$flags$&=-517},zu=e=>{sl(()=>iu(nl,`appload`,{detail:{namespace:Cc}})),K.$orgLocNodes$?.size&&K.$orgLocNodes$.clear()},Bu=(e,t,n,r)=>{if(e&&e[t])try{return e[t](n)}catch(e){G(e,r)}},Vu=e=>e.classList.add(wc.hydratedSelectorName??`hydrated`),Hu=(e,t)=>Lc(e).$instanceValues$.get(t),Uu=(e,t,n,r)=>{let i=Lc(e);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${r.$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).`);let a=i.$hostElement$,o=i.$instanceValues$.get(t),s=i.$flags$,c=i.$lazyInstance$;n=tu(n,r.$members$[t][0]);let l=n!==o&&!(Number.isNaN(o)&&Number.isNaN(n));if((!(s&8)||o===void 0)&&l&&(i.$instanceValues$.set(t,n),c)){if(r.$watchers$&&s&128){let e=r.$watchers$[t];e&&e.map(e=>{try{c[e](n,o,t)}catch(e){G(e,a)}})}if((s&18)==2){if(c.componentShouldUpdate&&c.componentShouldUpdate(n,o,t)===!1)return;Mu(i,!1)}}},Wu=(e,t,n)=>{let r=e.prototype;if(t.$members$||wc.propChangeCallback){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers),e.deserializers&&!t.$deserializers$&&(t.$deserializers$=e.deserializers),e.serializers&&!t.$serializers$&&(t.$serializers$=e.serializers);let i=Object.entries(t.$members$??{});if(i.map(([e,[i]])=>{if(i&31||n&2&&i&32){let{get:a,set:o}=Object.getOwnPropertyDescriptor(r,e)||{};a&&(t.$members$[e][0]|=2048),o&&(t.$members$[e][0]|=4096),(n&1||!a)&&Object.defineProperty(r,e,{get(){{if(!(t.$members$[e][0]&2048))return Hu(this,e);let n=Lc(this),i=n?n.$lazyInstance$:r;return i?i[e]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(r){let a=Lc(this);if(a){if(o){(i&32?this[e]:a.$hostElement$[e])===void 0&&a.$instanceValues$.get(e)&&(r=a.$instanceValues$.get(e)),o.apply(this,[tu(r,i)]),r=i&32?this[e]:a.$hostElement$[e],Uu(this,e,r,t);return}{if(!(n&1)||!(t.$members$[e][0]&4096)){Uu(this,e,r,t),n&1&&!a.$lazyInstance$&&a.$fetchedCbList$.push(()=>{t.$members$[e][0]&4096&&a.$lazyInstance$[e]!==a.$instanceValues$.get(e)&&(a.$lazyInstance$[e]=r)});return}let o=()=>{let n=a.$lazyInstance$[e];!a.$instanceValues$.get(e)&&n&&a.$instanceValues$.set(e,n),a.$lazyInstance$[e]=tu(r,i),Uu(this,e,a.$lazyInstance$[e],t)};a.$lazyInstance$?o():a.$fetchedCbList$.push(()=>{o()})}}}})}else n&1&&i&64&&Object.defineProperty(r,e,{value(...t){let n=Lc(this);return(n?.$onInstancePromise$)?.then(()=>n.$lazyInstance$?.[e](...t))}})}),n&1){let n=new Map;r.attributeChangedCallback=function(e,a,o){K.jmp(()=>{let s=n.get(e),c=Lc(this);if(this.hasOwnProperty(s)&&wc.lazyLoad&&(o=this[s],delete this[s]),r.hasOwnProperty(s)&&typeof this[s]==`number`&&this[s]==o)return;if(s==null){let n=c?.$flags$;if(c&&n&&!(n&8)&&n&128&&o!==a){let n=c.$lazyInstance$;(t.$watchers$?.[e])?.forEach(t=>{n[t]!=null&&n[t].call(n,o,a,e)})}return}let l=i.find(([e])=>e===s);l&&l[1][0]&4&&(o=o!==null&&o!==`false`);let u=Object.getOwnPropertyDescriptor(r,s);o!=this[s]&&(!u.get||u.set)&&(this[s]=o)})},e.observedAttributes=Array.from(new Set([...Object.keys(t.$watchers$??{}),...i.filter(([e,t])=>t[0]&31).map(([e,r])=>{var i;let a=r[1]||e;return n.set(a,e),r[0]&512&&((i=t.$attrsToReflect$)==null||i.push([e,a])),a})]))}}return e},Gu=async(e,t,n,r)=>{let i;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){let r=Hc(n,t);if(r&&`then`in r){let e=Al();i=await r,e()}else i=r;if(!i)throw Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);i.isProxied||(n.$watchers$=i.watchers,n.$serializers$=i.serializers,n.$deserializers$=i.deserializers,Wu(i,n,2),i.isProxied=!0);let a=kl(`createInstance`,n.$tagName$);t.$flags$|=8;try{new i(t)}catch(t){G(t,e)}t.$flags$&=-9,t.$flags$|=128,a(),Ku(t.$lazyInstance$,e)}else{i=e.constructor;let n=e.localName;customElements.whenDefined(n).then(()=>t.$flags$|=128)}if(i&&i.style){let r;typeof i.style==`string`?r=i.style:typeof i.style!=`string`&&(t.$modeName$=$l(e),t.$modeName$&&(r=i.style[t.$modeName$]));let a=Fl(n,t.$modeName$);if(!Uc.has(a)){let e=kl(`registerStyles`,n.$tagName$);Ml(a,r,!!(n.$flags$&1)),e()}}}let a=t.$ancestorComponent$,o=()=>Mu(t,!0);a&&a[`s-rc`]?a[`s-rc`].push(o):o()},Ku=(e,t)=>{Bu(e,`connectedCallback`,void 0,t)},qu=e=>{if(!(K.$flags$&1)){let t=Lc(e);if(!t)return;let n=t.$cmpMeta$,r=kl(`connectedCallback`,n.$tagName$);if(t.$flags$&1)$u(e,t,n.$listeners$),t?.$lazyInstance$?Ku(t.$lazyInstance$,e):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ku(t.$lazyInstance$,e));else{t.$flags$|=1;let r;if(r=e.getAttribute(Xc),r){if(n.$flags$&1){let t=Nl(e.shadowRoot,n,e.getAttribute(`s-mode`));e.classList.remove(t+`-h`,t+`-s`)}Gl(e,n.$tagName$,r,t)}r||n.$flags$&12&&Ju(e);{let n=e;for(;n=n.parentNode||n.host;)if(n.nodeType===1&&n.hasAttribute(`s-id`)&&n[`s-p`]||n[`s-p`]){ju(t,t.$ancestorComponent$=n);break}}n.$members$&&Object.entries(n.$members$).map(([t,[n]])=>{if(n&31&&t in e&&e[t]!==Object.prototype[t]){let n=e[t];delete e[t],e[t]=n}}),Gu(e,t,n)}r()}},Ju=e=>{if(!nl.document)return;let t=e[`s-cr`]=nl.document.createComment(``);t[`s-cn`]=!0,ku(e,t,e.firstChild)},Yu=(e,t)=>{Bu(e,`disconnectedCallback`,void 0,t||e)},Xu=async e=>{if(!(K.$flags$&1)){let t=Lc(e);t?.$rmListeners$&&(t.$rmListeners$.map(e=>e()),t.$rmListeners$=void 0),t?.$lazyInstance$?Yu(t.$lazyInstance$,e):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Yu(t.$lazyInstance$,e))}jl.has(e)&&jl.delete(e),e.shadowRoot&&jl.has(e.shadowRoot)&&jl.delete(e.shadowRoot)},Zu=(e,t={})=>{if(!nl.document){console.warn(`Stencil: No document found. Skipping bootstrapping lazy components.`);return}let n=kl(),r=[],i=t.exclude||[],a=nl.customElements,o=nl.document.head,s=o.querySelector(`meta[charset]`),c=nl.document.createElement(`style`),l=[],u,d=!0;Object.assign(K,t),K.$resourcesUrl$=new URL(t.resourcesUrl||`./`,nl.document.baseURI).href,K.$flags$|=2,Ll();let f=!1;if(e.map(e=>{e[1].map(n=>{let o={$flags$:n[0],$tagName$:n[1],$members$:n[2],$listeners$:n[3]};o.$flags$&4&&(f=!0),o.$members$=n[2],o.$listeners$=n[3],o.$attrsToReflect$=[],o.$watchers$=n[4]??{},o.$serializers$=n[5]??{},o.$deserializers$=n[6]??{};let s=t.transformTagName?t.transformTagName(o.$tagName$):o.$tagName$,c=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,e=this,zc(e,o),o.$flags$&1){if(!e.shadowRoot)yl.call(e,o);else if(e.shadowRoot.mode!==`open`)throw Error(`Unable to re-use existing shadow root for ${o.$tagName$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){let e=Lc(this);e&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,$u(this,e,o.$listeners$)),u&&=(clearTimeout(u),null),d?l.push(this):K.jmp(()=>qu(this)))}disconnectedCallback(){K.jmp(()=>Xu(this)),K.raf(()=>{let e=Lc(this);if(!e)return;let t=l.findIndex(e=>e===this);t>-1&&l.splice(t,1),e?.$vnode$?.$elm$ instanceof Node&&!e.$vnode$.$elm$.isConnected&&delete e.$vnode$.$elm$})}componentOnReady(){return Lc(this)?.$onReadyPromise$}};o.$lazyBundleId$=e[0],!i.includes(s)&&!a.get(s)&&(r.push(s),a.define(s,Wu(c,o,1)))})}),r.length>0&&(f&&(c.textContent+=el),c.textContent+=r.sort()+$c,c.innerHTML.length)){c.setAttribute(`data-styles`,``);let e=K.$nonce$??ll(nl.document);e!=null&&c.setAttribute(`nonce`,e),o.insertBefore(c,s?s.nextSibling:o.firstChild)}d=!1,l.length?l.map(e=>e.connectedCallback()):K.jmp(()=>u=setTimeout(zu,30)),n()},Qu=(e,t)=>t,$u=(e,t,n,r)=>{n&&nl.document&&n.map(([n,r,i])=>{let a=td(nl.document,e,n),o=ed(t,i),s=nd(n);K.ael(a,r,o,s),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>K.rel(a,r,o,s))})},ed=(e,t)=>n=>{var r;try{e.$flags$&256?(r=e.$lazyInstance$)==null||r[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}catch(t){G(t,e.$hostElement$)}},td=(e,t,n)=>n&8?nl:t,nd=e=>rl?{passive:!!(e&1),capture:!!(e&2)}:!!(e&2),rd=()=>{eu(e=>{try{e.shadowRoot instanceof ShadowRoot&&Ki(e,fi(e))}catch{}return`default`}),V(()=>import(`./devtools-CAWyelfv-Cu1CBKlc.js`).then(e=>{typeof e==`object`&&e&&typeof e.initialize==`function`&&e.initialize()}),__vite__mapDeps([135,3]),import.meta.url).catch(e=>{ha.error(e)})},id=async(e,t)=>{if(!(typeof window>`u`))return await rd(),Zu(JSON.parse(`[["kol-abbr",[[801,"kol-abbr",{"_label":[1]}]]],["kol-accordion",[[289,"kol-accordion",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"focus":[64],"click":[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",[[801,"kol-avatar",{"_color":[1],"_label":[1],"_src":[1],"initials":[32]},null,{"_color":["watchColor"],"_label":["watchLabel"],"_src":["watchSrc"]}]]],["kol-badge",[[289,"kol-badge",{"_color":[1],"_icons":[1],"_label":[1],"_smartButton":[1,"_smart-button"],"state":[32],"focus":[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],"_inline":[4],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"getValue":[64],"focus":[64],"click":[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],"_inline":[4],"_label":[1],"_name":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"getValue":[64],"focus":[64],"click":[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],"_inline":[4],"_label":[1],"_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],"_variant":[1],"state":[32],"focus":[64],"click":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaControls":["validateAriaControls"],"_ariaDescription":["validateAriaDescription"],"_ariaExpanded":["validateAriaExpanded"],"_ariaSelected":["validateAriaSelected"],"_customClass":["validateCustomClass"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_icons":["validateIcons"],"_id":["validateId"],"_inline":["validateInline"],"_label":["validateLabel"],"_name":["validateName"],"_on":["validateOn"],"_role":["validateRole"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_tabIndex":["validateTabIndex"],"_tooltipAlign":["validateTooltipAlign"],"_type":["validateType"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-card",[[289,"kol-card",{"_on":[16],"_hasCloser":[4,"_has-closer"],"_href":[1],"_label":[1],"_level":[2],"_target":[1],"focus":[64],"click":[64]}]]],["kol-card-wc",[[260,"kol-card-wc",{"_hasCloser":[4,"_has-closer"],"_headingId":[1,"_heading-id"],"_href":[1],"_label":[1],"_level":[2],"_on":[16],"_target":[1],"state":[32],"focus":[64],"click":[64]},null,{"_hasCloser":["validateHasCloser"],"_href":["validateHref"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_target":["validateTarget"]}]]],["kol-click-button",[[769,"kol-click-button",{"_label":[1],"focus":[64]},null,{"_label":["watchLabel"]}]]],["kol-combobox",[[289,"kol-combobox",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_hasClearButton":[4,"_has-clear-button"],"_suggestions":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"_variant":[1],"blockSuggestionMouseOver":[32],"_isOpen":[32],"_filteredSuggestions":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},[[0,"keydown","handleKeyDown"],[0,"click","handleWindowClick"],[1,"mousemove","handleMouseEvent"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"]],{"_ariaDetails":["validateAriaDetails"],"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_suggestions":["validateSuggestions"],"_hasClearButton":["validateHasClearButton"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-details",[[289,"kol-details",{"_disabled":[4],"_label":[1],"_level":[2],"_on":[16],"_open":[1540],"state":[32],"focus":[64],"click":[64]},null,{"_disabled":["validateDisabled"],"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_open":["validateOpen"]}]]],["kol-dialog",[[289,"kol-dialog",{"_label":[1],"_level":[2],"_on":[16],"_width":[1],"_variant":[1],"openModal":[64],"showModal":[64],"show":[64],"close":[64],"closeModal":[64]}]]],["kol-dialog-wc",[[260,"kol-dialog-wc",{"_label":[1],"_level":[2],"_on":[16],"_width":[1],"_variant":[1],"isModal":[32],"state":[32],"show":[64],"showModal":[64],"openModal":[64],"close":[64],"closeModal":[64]},null,{"_label":["validateLabel"],"_level":["validateLevel"],"_on":["validateOn"],"_width":["validateWidth"],"_variant":["validateVariant"]}]]],["kol-drawer",[[289,"kol-drawer",{"_open":[4],"_align":[1],"_hasCloser":[4,"_has-closer"],"_label":[1],"_level":[2],"_on":[16],"isModal":[32],"state":[32],"show":[64],"showModal":[64],"open":[64],"close":[64]},null,{"_label":["validateLabel"],"_align":["validateAlign"],"_hasCloser":["validateHasCloser"],"_level":["validateLevel"],"_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",[[801,"kol-heading",{"_label":[1],"_level":[2],"_secondaryHeadline":[1,"_secondary-headline"]},null,{"_label":["watchLabel"],"_level":["watchLevel"],"_secondaryHeadline":["watchSecondaryHeadline"]}]]],["kol-icon",[[801,"kol-icon",{"_icons":[1],"_label":[1]},null,{"_icons":["watchIcons"],"_label":["watchLabel"]}]]],["kol-image",[[801,"kol-image",{"_alt":[1],"_loading":[1],"_sizes":[1],"_src":[1],"_srcset":[1],"_on":[16]},null,{"_alt":["watchAlt"],"_loading":["watchLoading"],"_sizes":["watchSizes"],"_src":["watchSrc"],"_srcset":["watchSrcset"]}]]],["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],"_infoPopover":[8,"_info-popover"],"_indeterminate":[1540],"_label":[1],"_labelAlign":[1,"_label-align"],"_msg":[1],"_name":[1],"_on":[16],"_required":[4],"_ariaDetails":[1,"_aria-details"],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[8],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_checked":["validateChecked"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_ariaDetails":[1,"_aria-details"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-input-date",[[289,"kol-input-date",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_max":[1],"_min":[1],"_msg":[1],"_name":[1],"_on":[16],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_step":[8],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1537],"_variant":[1],"_initialValueType":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64],"reset":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_variant":["validateVariant"]}]]],["kol-input-email",[[289,"kol-input-email",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_maxLength":[2,"_max-length"],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_variant":["validateVariant"]}]]],["kol-input-file",[[289,"kol-input-file",{"_accept":[1],"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_variant":[1],"filename":[32],"hasFileSelected":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64],"reset":[64]},null,{"_accept":["validateAccept"],"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_multiple":["validateMultiple"],"_name":["validateName"],"_on":["validateOn"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_smartButton":["validateSmartButton"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_variant":["validateVariant"]}]]],["kol-input-number",[[289,"kol-input-number",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_max":[8],"_min":[8],"_msg":[1],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_smartButton":[1,"_smart-button"],"_suggestions":[1],"_step":[8],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"_variant":[1],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_variant":["validateVariant"]}]]],["kol-input-password",[[289,"kol-input-password",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_autoComplete":[1,"_auto-complete"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_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],"_visibilityToggle":[4,"_visibility-toggle"],"state":[32],"_passwordVisible":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_autoComplete":["validateAutoComplete"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_variant":["validateVariant"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_visibilityToggle":["validateVisibilityToggle"]}]]],["kol-input-radio",[[289,"kol-input-radio",{"_ariaDetails":[1,"_aria-details"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_options":[1],"_orientation":[1],"_required":[4],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_tooltipAlign":["validateTooltipAlign"],"_ariaDetails":["validateAriaDetails"],"_disabled":["validateDisabled"],"_hideLabel":["validateHideLabel"],"_hideMsg":["validateHideMsg"],"_hint":["validateHint"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_orientation":["validateOrientation"],"_required":["validateRequired"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-input-range",[[289,"kol-input-range",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_autoComplete":[1,"_auto-complete"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_max":[8],"_min":[8],"_msg":[1],"_name":[1],"_on":[16],"_shortKey":[1,"_short-key"],"_step":[8],"_suggestions":[1],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"_variant":[1],"state":[32],"_initialValueType":[32],"inputHasFocus":[32],"focus":[64],"click":[64],"getValue":[64]},null,{"_accessKey":["validateAccessKey"],"_ariaDetails":["validateAriaDetails"],"_autoComplete":["validateAutoComplete"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_max":["validateMax"],"_min":["validateMin"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_shortKey":["validateShortKey"],"_step":["validateStep"],"_suggestions":["validateSuggestions"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_variant":["validateVariant"]}]]],["kol-input-text",[[289,"kol-input-text",{"_accessKey":[1,"_access-key"],"_autoComplete":[1,"_auto-complete"],"_ariaDetails":[1,"_aria-details"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[16],"_label":[1],"_maxLength":[2,"_max-length"],"_msg":[1],"_name":[1],"_on":[16],"_pattern":[1],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_required":[4],"_shortKey":[1,"_short-key"],"_spellCheck":[4,"_spell-check"],"_suggestions":[1],"_smartButton":[1,"_smart-button"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_type":[1],"_value":[1537],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64],"selectionStart":[64],"selectionEnd":[64],"setSelectionRange":[64],"setSelectionStart":[64],"setRangeText":[64]},null,{"_ariaDetails":["validateAriaDetails"],"_accessKey":["validateAccessKey"],"_autoComplete":["validateAutoComplete"],"_maxLengthBehavior":["validateMaxLengthBehavior"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_variant":["validateVariant"]}]]],["kol-kolibri",[[289,"kol-kolibri",{"_color":[1],"_labeled":[4],"state":[32]},null,{"_color":["validateColor"],"_labeled":["validateLabeled"]}]]],["kol-link",[[801,"kol-link",{"_accessKey":[1,"_access-key"],"_ariaCurrentValue":[1,"_aria-current-value"],"_ariaControls":[1,"_aria-controls"],"_ariaDescription":[1,"_aria-description"],"_ariaExpanded":[4,"_aria-expanded"],"_disabled":[4],"_download":[1],"_hideLabel":[4,"_hide-label"],"_href":[1],"_icons":[1],"_inline":[4],"_label":[1],"_on":[16],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"ariaCurrent":[32],"ariaDescriptionId":[32],"expertSlot":[32],"focus":[64]},null,{"_accessKey":["watchAccessKey"],"_ariaCurrentValue":["watchAriaCurrentValue"],"_ariaControls":["watchAriaControls"],"_ariaDescription":["watchAriaDescription"],"_ariaExpanded":["watchAriaExpanded"],"_disabled":["watchDisabled"],"_download":["watchDownload"],"_hideLabel":["watchHideLabel"],"_href":["watchHref"],"_icons":["watchIcons"],"_inline":["watchInline"],"_label":["watchLabel"],"_on":["watchOn"],"_shortKey":["watchShortKey"],"_target":["watchTarget"],"_tooltipAlign":["watchTooltipAlign"],"_variant":["watchVariant"]}]]],["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],"_inline":[4],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"focus":[64],"click":[64]}]]],["kol-link-wc",[[772,"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],"_inline":[4],"_label":[1],"_on":[16],"_role":[1],"_shortKey":[1,"_short-key"],"_tabIndex":[2,"_tab-index"],"_target":[1],"_tooltipAlign":[1,"_tooltip-align"],"_variant":[1],"ariaCurrent":[32],"ariaDescriptionId":[32],"expertSlot":[32],"focus":[64],"click":[64]},null,{"_accessKey":["watchAccessKey"],"_ariaCurrentValue":["watchAriaCurrentValue"],"_ariaControls":["watchAriaControls"],"_ariaDescription":["watchAriaDescription"],"_ariaExpanded":["watchAriaExpanded"],"_ariaOwns":["watchAriaOwns"],"_customClass":["watchCustomClass"],"_disabled":["watchDisabled"],"_download":["watchDownload"],"_hideLabel":["watchHideLabel"],"_href":["watchHref"],"_icons":["watchIcons"],"_inline":["watchInline"],"_label":["watchLabel"],"_on":["watchOn"],"_role":["watchRole"],"_shortKey":["watchShortKey"],"_tabIndex":["watchTabIndex"],"_target":["watchTarget"],"_tooltipAlign":["watchTooltipAlign"],"_variant":["watchVariant"]}]]],["kol-meter",[[801,"kol-meter",{"_high":[2],"_label":[1],"_low":[2],"_max":[2],"_min":[2],"_optimum":[2],"_orientation":[1],"_unit":[1],"_value":[2]},null,{"_high":["watchHigh"],"_label":["watchLabel"],"_low":["watchLow"],"_max":["watchMax"],"_min":["watchMin"],"_optimum":["watchOptimum"],"_orientation":["watchOrientation"],"_unit":["watchUnit"],"_value":["watchValue"]}]]],["kol-modal",[[289,"kol-modal",{"_label":[1],"_on":[16],"_width":[1],"_variant":[1],"openModal":[64],"showModal":[64],"show":[64],"close":[64],"closeModal":[64]}]]],["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],"state":[32]},null,{"_collapsible":["validateCollapsible"],"_hasCompactButton":["validateHasCompactButton"],"_hasIconsWhenExpanded":["validateHasIconsWhenExpanded"],"_hideLabel":["validateHideLabel"],"_label":["validateLabel"],"_links":["validateLinks"]}]]],["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"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_inline":[4],"_label":[1],"_name":[1],"_popoverAlign":[1,"_popover-align"],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"hidePopover":[64],"showPopover":[64],"click":[64],"focus":[64]}]]],["kol-popover-button-wc",[[260,"kol-popover-button-wc",{"_accessKey":[1,"_access-key"],"_ariaDescription":[1,"_aria-description"],"_customClass":[1,"_custom-class"],"_disabled":[4],"_hideLabel":[4,"_hide-label"],"_icons":[1],"_id":[1],"_inline":[4],"_label":[1],"_name":[1],"_popoverAlign":[1,"_popover-align"],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_type":[1],"_value":[8],"_variant":[1],"state":[32],"popoverOpen":[32],"hidePopover":[64],"showPopover":[64],"focus":[64],"click":[64]},null,{"_inline":["validateInline"],"_popoverAlign":["validatePopoverAlign"]}]]],["kol-progress",[[801,"kol-progress",{"_label":[1],"_max":[2],"_unit":[1],"_value":[2],"_variant":[1],"liveValue":[32]},null,{"_label":["watchLabel"],"_max":["watchMax"],"_unit":["watchUnit"],"_value":["watchValue"],"_variant":["watchVariant"]}]]],["kol-quote",[[801,"kol-quote",{"_href":[1],"_label":[1],"_quote":[1],"_variant":[1]},null,{"_href":["watchHref"],"_label":["watchLabel"],"_quote":["watchQuote"],"_variant":["watchVariant"]}]]],["kol-select",[[289,"kol-select",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_rows":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"_variant":[1],"getValue":[64],"focus":[64]},null,{"_ariaDetails":["validateAriaDetails"]}]]],["kol-select-wc",[[256,"kol-select-wc",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_msg":[1],"_multiple":[4],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_rows":[2],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tabIndex":[2,"_tab-index"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1544],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_ariaDetails":["validateAriaDetails"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_variant":["validateVariant"]}]]],["kol-single-select",[[289,"kol-single-select",{"_accessKey":[1,"_access-key"],"_ariaDetails":[1,"_aria-details"],"_placeholder":[1],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_msg":[1],"_name":[1],"_on":[16],"_options":[1],"_required":[4],"_shortKey":[1,"_short-key"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1032],"_hasClearButton":[4,"_has-clear-button"],"_rows":[2],"_variant":[1],"_isOpen":[32],"_filteredOptions":[32],"_inputValue":[32],"blockSuggestionMouseOver":[32],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64]},[[0,"keydown","handleKeyDown"],[1,"mousemove","handleMouseEvent"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"]],{"_ariaDetails":["validateAriaDetails"],"_placeholder":["validatePlaceholder"],"_accessKey":["validateAccessKey"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hint":["validateHint"],"_icons":["validateIcons"],"_label":["validateLabel"],"_msg":["validateMsg"],"_name":["validateName"],"_on":["validateOn"],"_options":["validateOptions"],"_required":["validateRequired"],"_shortKey":["validateShortKey"],"_syncValueBySelector":["validateSyncValueBySelector"],"_touched":["validateTouched"],"_value":["validateValue"],"_hasClearButton":["validateHasClearButton"],"_rows":["validateRows"],"_variant":["validateVariant"]}]]],["kol-skeleton",[[769,"kol-skeleton",{"_name":[1],"count":[32],"label":[32],"show":[32],"focus":[64],"toggle":[64]},[[0,"keydown","handleKeyDown"],[8,"keydown","onKeydown"]],{"_name":["watchName"]}]]],["kol-skip-nav",[[289,"kol-skip-nav",{"_label":[1],"_links":[1],"state":[32],"focus":[64]},null,{"_label":["validateLabel"],"_links":["validateLinks"]}]]],["kol-spin",[[801,"kol-spin",{"_show":[4],"_label":[1],"_variant":[1]},null,{"_show":["watchShow"],"_label":["watchLabel"],"_variant":["watchVariant"]}]]],["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],"_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],"focus":[64],"click":[64],"closePopup":[64]}]]],["kol-table-settings-wc",[[256,"kol-table-settings-wc",{"_horizontalHeaderCells":[16],"headerCells":[32],"editingHeaderCells":[32],"errorMessage":[32]},null,{"_horizontalHeaderCells":["handleHeaderCellsChange"]}]]],["kol-table-stateful",[[289,"kol-table-stateful",{"_ariaLabelledby":[1,"_aria-labelledby"],"_allowMultiSort":[4,"_allow-multi-sort"],"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headers":[1],"_label":[1],"_loading":[4],"_pagination":[8],"_paginationPosition":[1,"_pagination-position"],"_selection":[1],"_on":[16],"_hasSettingsMenu":[4,"_has-settings-menu"],"_variant":[1],"resolvedElements":[32],"adjustedHeaderCells":[32],"state":[32],"getSelection":[64],"resetSort":[64]},null,{"_ariaLabelledby":["validateAriaLabelledby"],"_allowMultiSort":["validateAllowMultiSort"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_fixedCols":["validateFixedCols"],"_paginationPosition":["validatePaginationPosition"],"_hasSettingsMenu":["validateHasSettingsMenu"],"_headers":["validateHeaders"],"_label":["validateLabel"],"_selection":["validateSelection"],"_on":["validateOn"],"_pagination":["validatePagination"]}]]],["kol-table-stateless",[[289,"kol-table-stateless",{"_ariaLabelledby":[1,"_aria-labelledby"],"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headerCells":[1,"_header-cells"],"_label":[1],"_loading":[4],"_on":[16],"_selection":[1],"_hasSettingsMenu":[4,"_has-settings-menu"],"_variant":[1],"resolvedElements":[32]},null,{"_ariaLabelledby":["validateAriaLabelledby"]}]]],["kol-table-stateless-wc",[[260,"kol-table-stateless-wc",{"externalLabelElements":[16],"_ariaLabelledby":[1,"_aria-labelledby"],"_data":[1],"_dataFoot":[1,"_data-foot"],"_fixedCols":[16],"_headerCells":[1,"_header-cells"],"_label":[1],"_loading":[4],"_on":[16],"_selection":[1],"_variant":[1],"_hasSettingsMenu":[4,"_has-settings-menu"],"state":[32],"tableDivElementHasScrollbar":[32],"stickyColsDisabled":[32],"previousHeaderCells":[32]},[[0,"keydown","handleKeyDown"],[0,"changeheadercells","handleSettingsChange"]],{"externalLabelElements":["onExternalLabelElementsChange"],"_ariaLabelledby":["validateAriaLabelledby"],"_hasSettingsMenu":["validateHasSettingsMenu"],"_data":["validateData"],"_dataFoot":["validateDataFoot"],"_fixedCols":["validateFixedCols"],"_headerCells":["validateHeaderCells"],"_label":["validateLabel"],"_loading":["validateLoading"],"_on":["validateOn"],"_selection":["validateSelection"],"_variant":["validateVariantClassName"]}]]],["kol-tabs",[[289,"kol-tabs",{"_align":[1],"_behavior":[1],"_hasCreateButton":[4,"_has-create-button"],"_label":[1],"_on":[16],"_selected":[1538],"_tabs":[1],"state":[32],"focus":[64],"click":[64]},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"],"_ariaDetails":[1,"_aria-details"],"_disabled":[4],"_hideMsg":[4,"_hide-msg"],"_hideLabel":[4,"_hide-label"],"_hint":[1],"_icons":[1],"_infoPopover":[8,"_info-popover"],"_label":[1],"_maxLength":[2,"_max-length"],"_hasCounter":[4,"_has-counter"],"_maxLengthBehavior":[1,"_max-length-behavior"],"_msg":[1],"_name":[1],"_on":[16],"_placeholder":[1],"_readOnly":[4,"_read-only"],"_resize":[1],"_required":[4],"_rows":[1026],"_shortKey":[1,"_short-key"],"_spellCheck":[4,"_spell-check"],"_syncValueBySelector":[1,"_sync-value-by-selector"],"_tooltipAlign":[1,"_tooltip-align"],"_touched":[1540],"_value":[1537],"_variant":[1],"state":[32],"inputHasFocus":[32],"getValue":[64],"focus":[64],"click":[64]},null,{"_ariaDetails":["validateAriaDetails"],"_accessKey":["validateAccessKey"],"_adjustHeight":["validateAdjustHeight"],"_disabled":["validateDisabled"],"_hideMsg":["validateHideMsg"],"_hideLabel":["validateHideLabel"],"_hasCounter":["validateHasCounter"],"_hint":["validateHint"],"_icons":["validateIcons"],"_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"],"_variant":["validateVariant"]}]]],["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],"focus":[64],"click":[64]},[[0,"keydown","handleKeyDown"],[2,"focusout","handleFocusout"]],{"_label":["validateLabel"],"_items":["validateItems"],"_orientation":["validateOrientation"]}]]],["kol-tooltip-wc",[[256,"kol-tooltip-wc",{"_badgeText":[1,"_badge-text"],"_align":[1],"_id":[1],"_label":[1],"hideTooltip":[64]},null,{"_align":["validateAlign"],"_id":["validateId"],"_label":["validateLabel"]}]]],["kol-tree",[[289,"kol-tree",{"_label":[1],"focus":[64]}]]],["kol-tree-item",[[289,"kol-tree-item",{"_active":[4],"_label":[1],"_open":[4],"_href":[1],"focus":[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],"focus":[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],"focus":[64],"invalidateOpenItemsCache":[64]},[[0,"keydown","handleKeyDown"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"]],{"_label":["validateLabel"]}]]],["kol-version",[[289,"kol-version",{"_label":[1],"state":[32]},null,{"_label":["validateLabel"]}]]],["test-component",[[0,"test-component"]]]]`),t)},ad={name:`@public-ui/components`,version:`4.4.0`,license:`EUPL-1.2`,homepage:`https://public-ui.github.io`,repository:{type:`git`,url:`https://github.com/public-ui/kolibri`},bugs:{url:`https://github.com/public-ui/kolibri/issues`,email:`kolibri@itzbund.de`},author:{name:`Informationstechnikzentrum Bund`,email:`kolibri@itzbund.de`},main:`dist/index.cjs.js`,module:`dist/index.js`,bin:{"kolibri-copy-assets":`./copy-assets.mjs`},exports:{".":{types:`./dist/types/index.d.ts`,import:`./dist/index.js`,require:`./dist/index.cjs.js`},"./loader":{types:`./loader/index.d.ts`,import:`./loader/index.mjs`,require:`./dist/loader/index.cjs.js`},"./custom-elements.json":`./custom-elements.json`,"./package.json":`./package.json`},customElements:`custom-elements.json`,es2015:`dist/esm/index.mjs`,es2017:`dist/esm/index.mjs`,types:`dist/types/index.d.ts`,unpkg:`dist/stencil/stencil.js`,"collection:main":`dist/collection/index.js`,collection:`dist/collection/collection-manifest.json`,sideEffects:!0,description:`Contains all web components that belong to KoliBri - The accessible HTML-Standard.`,keywords:[`accessibility`,`accessible`,`bitv`,`framework`,`library`,`designsystem`,`design`,`system`,`web components`,`webcomponents`,`aria`,`wai`,`axe`,`custom elements`,`styleguide`,`style`,`guide`,`ui`,`html`,`css`,`web`,`a11y`,`w3c`,`webstandard`,`wcag`],scripts:{"assets:kolicons":`pnpm --filter @public-ui/icons build`,build:`pnpm build:light`,"build:light":`mkdir doc && cross-env NODE_ENV=production stencil build --docs --prod && node scripts/autogen.doc.js && node scripts/vaadin.js && pnpm format -w`,clear:`rimraf -g dist doc www ../adapters/angular/v19/src ../adapters/angular/v20/src ../adapters/angular/v21/src ../adapters/hydrate/dist ../adapters/react/src ../adapters/react-v19/src ../adapters/solid/src ../adapters/vaadin/*.java ../adapters/vue/src assets/kolicons`,format:`prettier --check src`,lint:`pnpm lint:eslint && pnpm lint:stylelint && pnpm lint:tsc && pnpm lint:i18n`,"lint:eslint":`eslint src`,"lint:i18n":`tsx scripts/lint-i18n.ts`,"lint:stylelint":`stylelint "src/**/*.{css,scss}"`,"lint:stylelint:components":`stylelint src/components/**/*.{css,scss}`,"lint:tsc":`tsc --noemit`,dev:`cross-env NODE_ENV=development stencil build --prod --watch`,prod:`stencil build --prod`,test:`pnpm test:unit && pnpm test:e2e`,"test:e2e":`playwright test`,"test:unit":`mkdir -p dist && cross-env NODE_ENV=test stencil test --spec --json --outputFile dist/jest-test-results.json`,"test:update:unit":`pnpm test:unit -u`,"test:watch":`cross-env NODE_ENV=test stencil test --spec --watchAll`,"prebuild:light":`pnpm clear && pnpm assets:kolicons`,"pretest:e2e":`pnpm assets:kolicons`,xunused:`knip`},dependencies:{"@floating-ui/dom":`1.8.0`,"color-convert":`3.1.3`,"color-rgba":`2.4.0`,"lodash-es":`4.18.1`,"markdown-it":`14.3.0`,"rgba-convert":`0.3.0`,"typed-bem":`1.0.2`,"wcag-contrast":`3.0.0`},devDependencies:{"@playwright/test":`1.60.0`,"@public-ui/eslint-config":`workspace:*`,"@public-ui/stencil-angular-output-target":`0.9.0`,"@public-ui/stencil-react-output-target":`0.6.0`,"@public-ui/stencil-solid-output-target":`0.2.0`,"@public-ui/stencil-vue-output-target":`0.9.0`,"@public-ui/stylelint-rules":`workspace:*`,"@revolist/svelte-output-target":`0.0.7`,"@stencil-community/postcss":`2.2.0`,"@stencil/core":`4.38.3`,"@stencil/playwright":`0.5.1`,"@stencil/sass":`3.3.2`,"@types/jest":`29.5.14`,"@types/lodash-es":`4.17.12`,"@types/markdown-it":`14.2.0`,"@types/mustache":`4.2.6`,"@types/node":`26.4.0`,"@types/pug":`2.0.10`,"@types/twig":`1.12.17`,"@types/wcag-contrast":`3.0.3`,"adopted-style-sheets":`1.1.9-rc.25`,autoprefixer:`10.5.4`,"cross-env":`10.1.0`,cssnano:`8.0.10`,eslint:`9.39.5`,"eslint-plugin-perfectionist":`5.10.1`,jest:`29.7.0`,"jest-cli":`29.7.0`,knip:`6.32.3`,mustache:`4.2.0`,postcss:`8.5.26`,"postcss-sorting":`10.0.0`,prettier:`3.9.6`,"prettier-plugin-organize-imports":`4.3.0`,pug:`3.0.4`,rimraf:`6.1.3`,"stencil-awesome-test":`1.0.6`,stylelint:`17.14.1`,terser:`5.51.2`,twig:`3.0.0`,typescript:`5.9.3`},peerDependencies:{"adopted-style-sheets":`1.1.9-rc.25`},files:[`assets`,`copy-assets.mjs`,`dist`,`doc`,`custom-elements.json`,`index.scss`,`loader`,`vscode-custom-data.json`]},od=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),q=o(((e,t)=>{t.exports=od()}))(),sd=()=>(0,q.jsxs)(E,{_label:`This is an example page`,_level:0,_type:`info`,children:[(0,q.jsx)(`p`,{children:`You followed an example link.`}),history.length>1&&(0,q.jsx)(O,{_label:`Go Back`,_on:{onClick:()=>history.back()}})]});function cd(){let e=matchMedia(`(max-width: 1023px)`),[t,n]=(0,d.useState)(e.matches);return(0,d.useEffect)(()=>{let t=e=>{n(e.matches)};return e.addEventListener(`change`,t),()=>{e.removeEventListener(`change`,t)}},[e]),t}function ld(e){return typeof e==`object`&&!!e}function ud(e){if(!ld(e))return e;let t={};for(let[n,r]of Object.entries(e))t[n]=ud(r);return t}function dd(e){return e.trim().toLowerCase().split(/\s+/).filter(Boolean)}function fd(e,t){let n=e.map(e=>e.toLowerCase()),r=n.join(`/`);return t.every(e=>n.some(t=>t.includes(e))||r.includes(e))}function pd(e,t,n){let r={};for(let[i,a]of Object.entries(e)){let e=[...n,i];if(fd(e,t)){r[i]=ud(a);continue}if(ld(a)){let n=pd(a,t,e);Object.keys(n).length>0&&(r[i]=n)}}return r}function md(e,t){let n=dd(t);return n.length===0?ud(e):pd(e,n,[])}function hd({children:e}){return(0,q.jsx)(`div`,{className:`mt scrollable-container`,children:e})}function gd({label:e,to:t,children:n,open:r}){let i=un(t),a=pn({path:vn(t).pathname,end:!0});return(0,q.jsx)(Ne,{_label:e,_href:i,_active:!!a,_open:r,children:n})}function _d({routes:e}){let[t,n]=(0,d.useState)(``),r=(0,d.useMemo)(()=>md(e,t),[e,t]),i=(e,t)=>Object.keys(t).map(t=>{let n=e===`tree`&&t===`basic/:subPage`;return(0,q.jsx)(gd,{label:n?`basic`:t,to:[e,n?`basic/home`:t].join(`/`)},[e,t].join(`/`))}),a=Object.entries(r).map(([e,n])=>(0,q.jsx)(gd,{label:e,to:e,open:!!t,children:i(e,n)},e));return(0,q.jsxs)(hd,{children:[(0,q.jsx)(I,{_label:`Suche`,_on:{onInput:e=>{let t=e.target;n(t.value)}}}),(0,q.jsx)(`nav`,{className:`main-nav`,children:(0,q.jsx)(Me,{_label:`Navigation`,class:`block`,children:a})})]})}var vd=({buildDate:e,commitHash:t})=>!e&&!t?``:(0,q.jsx)(`div`,{className:`text-sm font-mono color-gray-5 m-t-2`,children:e&&t?(0,q.jsxs)(q.Fragment,{children:[`Build: `,t,(0,q.jsx)(`br`,{}),`at `,e]}):t?`Build: ${t}`:`Build date: ${e}`}),yd=({version:e,themes:t,theme:n,routes:r,routeList:i,sample:a,buildDate:o,commitHash:s,onThemeChange:c})=>{let l=()=>i.indexOf(a),u=()=>a.replace(/\//g,` `),f=(e,t)=>{c(t)},p=()=>{let e=l(),t=e<=0?i.length-1:e-1;location.replace(`#${i[t]}`)},m=()=>{let e=l(),t=e===i.length-1?0:e+1;location.replace(`#${i[t]}`)},h=(0,d.useMemo)(()=>t.map(e=>({label:e.name,value:e.key})),[t]),g=cd(),_=fn();(0,d.useEffect)(()=>{v.current?.close()},[_]);let v=(0,d.useRef)(null);return(0,q.jsx)(`aside`,{className:`app-sidebar p-4`,children:(0,q.jsxs)(`div`,{className:`scrollable-container-wrapper`,children:[(0,q.jsxs)(`div`,{className:`flex flex-justify-between flex-items-center`,children:[(0,q.jsx)(N,{_label:`KoliBri React`}),(0,q.jsx)(Pe,{_label:e})]}),(0,q.jsx)(vd,{buildDate:o,commitHash:s}),g?``:(0,q.jsx)(R,{_label:`Theme`,_options:h,_on:{onChange:f},_value:n,class:`mt`}),g?``:(0,q.jsx)(N,{_label:`Components`,_level:2,className:`block mt`}),(0,q.jsxs)(`div`,{className:`flex flex-justify-between flex-items-center mt`,children:[(0,q.jsx)(O,{_icons:`kolicon-chevron-left`,_hideLabel:!0,_label:`Previous component`,_on:{onClick:p}}),g?(0,q.jsxs)(`div`,{className:`flex gap-4 flex-items-center`,children:[(0,q.jsxs)(`span`,{className:`text-base text-center`,children:[u(),` (`,l()+1,`/`,i.length,`)`]}),(0,q.jsx)(O,{_label:`Navigation`,_hideLabel:!0,_icons:{right:`kolicon-settings`},_on:{onClick:()=>v.current?.showModal()}})]}):(0,q.jsxs)(`span`,{className:`text-base text-center`,children:[u(),` (`,l()+1,`/`,i.length,`)`]}),(0,q.jsx)(O,{_icons:`kolicon-chevron-right`,_hideLabel:!0,_label:`Next component`,_on:{onClick:m}})]}),g?(0,q.jsxs)(oe,{_align:`top`,_label:`Navigation`,_hasCloser:!0,ref:v,children:[(0,q.jsx)(R,{_label:`Theme`,_options:h,_on:{onChange:f},_value:n,class:`mt`}),(0,q.jsx)(N,{_label:`Components`,_level:2,className:`block mt`}),(0,q.jsx)(_d,{routes:r})]}):(0,q.jsx)(_d,{routes:r})]})})},bd=()=>{Fo(`#`+fn().pathname)},xd=`data-visual-blocks`,Sd=`public-ui.sample.visual-blocks`,Cd=`data-visual-block-skipped`,wd=`visual-block-outline-style`,Td=`
|
|
30
30
|
html[${xd}] [data-visual-block] {
|
|
31
31
|
outline: 2px solid darkblue;
|
|
32
32
|
outline-offset: 0;
|
|
@@ -35,7 +35,7 @@ Link:
|
|
|
35
35
|
outline: 2px solid orangered;
|
|
36
36
|
outline-offset: 0;
|
|
37
37
|
}
|
|
38
|
-
`;function Ed(){if(document.getElementById(wd))return;let e=document.createElement(`style`);e.id=wd,e.textContent=Td,document.head.appendChild(e)}function Dd(){return document.documentElement.hasAttribute(xd)}function Od(e,t=!0){if(Ed(),e?document.documentElement.setAttribute(xd,``):document.documentElement.removeAttribute(xd),t)try{localStorage.setItem(Sd,e?`1`:`0`)}catch{}}function kd(){let e=!Dd();return Od(e),e}function Ad(){try{return localStorage.getItem(Sd)===`1`}catch{return!1}}var jd=`visualBlocks`,Md=[`0`,`false`,`off`],Nd=()=>{let[e]=Rr(),t=e.get(jd);(0,d.useEffect)(()=>{Od(t===null?Ad():!Md.includes(t.toLowerCase()),!1)},[t]),(0,d.useEffect)(()=>{let e=e=>{e.ctrlKey&&e.altKey&&!e.shiftKey&&e.key.toLowerCase()===`b`&&(e.preventDefault(),kd())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[])},Pd=(0,d.createContext)(null);function Fd(e){return e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase().replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)}var Id={width:`fit-content`},J=({id:e,heading:t,level:n=2,className:r,fitContent:i,narrow:a,skipSnapshot:o,children:s,...c})=>(0,q.jsxs)(`section`,{...c,children:[t?(0,q.jsx)(N,{_level:n,_label:t}):null,(0,q.jsx)(`div`,{"data-visual-block":o?void 0:e,"data-visual-block-skipped":o?e:void 0,"data-visual-narrow":a&&!o?``:void 0,className:r??`grid gap-4`,style:i?Id:void 0,children:s})]}),Ld=`https://public-ui.github.io/docs/components`,Rd=`https://github.com/public-ui/kolibri/blob/develop/packages/samples/react/src/components`,Y=`I am an error message!`,zd=`I am a hint.`,X=e=>{let t=(0,d.useContext)(Pd),n=fn(),r=n.pathname.split(`/`).slice(1),i=(0,d.useMemo)(()=>r[0]===`scenarios`?null:`${Ld}/${r[0]}`,[r]),a=(0,d.useMemo)(()=>r[0]===`scenarios`?null:`${Rd}/${r[0]}/${r[1]}.tsx`,[r]);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`h1`,{className:`visually-hidden`,children:n.pathname.replace(/\//g,` `)}),t?null:(0,q.jsxs)(`div`,{className:`grid sm:flex gap-4 justify-between pb-sm border-b-1 border-b-solid border-gray mb-2`,children:[(0,q.jsx)(`div`,{className:`indented-text`,children:e.children}),(0,q.jsxs)(`ul`,{className:`flex flex-wrap gap-2 list-none m-0 p-0`,children:[a&&(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:a,_label:`Code`,_target:`_blank`})}),i&&(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:i,_label:`Documentation`,_target:`_blank`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:`#${n.pathname}?hideMenus`,_label:`Standalone example`,_target:`_blank`})})]})]})]})},Bd={abbr:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolAbbr shows an abbreviation.`})}),(0,q.jsx)(J,{id:`basic`,fitContent:!0,children:(0,q.jsxs)(`span`,{children:[`I am `,(0,q.jsx)(T,{children:`e.g.`}),` an abbreviation.`]})})]})}},Vd={accordion:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolAccordion hides its content until opened. The open state can be toggled by clicking the headline or by setting the `,(0,q.jsx)(`code`,{children:`_open`}),`-prop programmatically. Additionally, the sample shows the disabled state for a closed and an open accordion.`]})}),(0,q.jsxs)(J,{id:`basic`,children:[(0,q.jsx)(te,{_label:`Heading Accordion Tab 1 (open)`,_open:!0,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 1`})}),(0,q.jsx)(te,{_label:`Heading Accordion Tab 2`,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 2`})}),(0,q.jsx)(te,{_label:`Heading Accordion Tab 3 (deactivated)`,_disabled:!0,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 3`})}),(0,q.jsx)(te,{_label:`Heading Accordion Tab 4 (disabled and open)`,_disabled:!0,_open:!0,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 4`})})]})]}),headlines:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolAccordion with the different heading levels from 1-6.`})}),(0,q.jsxs)(J,{id:`headlines`,children:[(0,q.jsx)(te,{_label:`Heading Level 1`,_level:1,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 1`})}),(0,q.jsx)(te,{_label:`Heading Level 2`,_level:2,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 2`})}),(0,q.jsx)(te,{_label:`Heading Level 3`,_level:3,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 3`})}),(0,q.jsx)(te,{_label:`Heading Level 4`,_level:4,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 4`})}),(0,q.jsx)(te,{_label:`Heading Level 5`,_level:5,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 5`})}),(0,q.jsx)(te,{_label:`Heading Level 6`,_level:6,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 6`})})]})]}),multiple:()=>{let[e,t]=(0,d.useState)(0);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`Multiple KolAccordions. The first is opened initially. Opening one accordion closes the others.`})}),(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(te,{_label:`Heading Accordion Tab 1 (initially open)`,_open:e===0,_on:{onClick:()=>t(0)},children:(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})}),(0,q.jsx)(te,{_label:`Heading Accordion Tab 2`,_open:e===1,_on:{onClick:()=>t(1)},children:(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})}),(0,q.jsx)(te,{_label:`Heading Accordion Tab 3`,_open:e===2,_on:{onClick:()=>t(2)},children:(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})})]})]})}}},Hd=({level:e,type:t,variant:n})=>(0,q.jsx)(q.Fragment,{children:(0,q.jsxs)(J,{id:t,className:`flex flex-col gap-2`,children:[(0,q.jsx)(E,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:t,_variant:n,children:`This is the text of the alert.`}),(0,q.jsx)(E,{_type:t,_variant:n,children:`In this alert, only the text without the heading is used.`}),(0,q.jsx)(E,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:t,_variant:n,_hasCloser:!0,children:`This is the text of the alert. With close button.`}),(0,q.jsx)(E,{_type:t,_variant:n,_hasCloser:!0,children:`In this alert, only the text without the heading is used. With close button.`})]})}),Ud=({variant:e=`msg`})=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(Hd,{level:1,type:`default`,variant:e}),(0,q.jsx)(Hd,{level:2,type:`error`,variant:e}),(0,q.jsx)(Hd,{level:3,type:`info`,variant:e}),(0,q.jsx)(Hd,{level:4,type:`success`,variant:e}),(0,q.jsx)(Hd,{level:5,type:`warning`,variant:e})]}),Wd={alert:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolAlert shows messages of different types. This sample illustrates the variant `,(0,q.jsx)(`code`,{children:`msg`}),`, showing all possible types with and without headlines and close buttons.`]})}),(0,q.jsx)(Ud,{variant:`msg`})]}),"card-msg":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolAlert shows messages of different types. This sample illustrates the variant `,(0,q.jsx)(`code`,{children:`card`}),`, showing all possible types with and without headlines and close buttons.`]})}),(0,q.jsx)(`section`,{className:`w-full`,children:(0,q.jsx)(Ud,{variant:`card`})})]})}},Gd={avatar:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolAvatar shows a user's avatar with customizable colors. It can be used with or without an image. If no image is defined, the name's initials are shown instead with a configurable background color.`})}),(0,q.jsxs)(J,{className:`flex gap-2`,id:`basic`,fitContent:!0,children:[(0,q.jsx)(ne,{_src:`assets/img_avatar.jpg`,_label:`Elke Mustermann`}),(0,q.jsx)(ne,{_label:`Elke Mustermann `}),(0,q.jsx)(ne,{_label:`Marianne`}),(0,q.jsx)(ne,{_color:`#0000FF`,_label:`Christian`})]})]}),size:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolAvatar is `,(0,q.jsx)(`code`,{children:`6.25rem`}),` (100px at the default 16px root font-size) wide/tall by default and simply fills its host element, so it can be resized proportionally with plain CSS `,(0,q.jsx)(`code`,{children:`width`}),` and/or `,(0,q.jsx)(`code`,{children:`height`}),` (set through the `,(0,q.jsx)(`code`,{children:`style`}),` prop). Setting only`,` `,(0,q.jsx)(`code`,{children:`width`}),` is the reliable way to size it below the default. If `,(0,q.jsx)(`code`,{children:`width`}),` and `,(0,q.jsx)(`code`,{children:`height`}),` are set to different values, the avatar stays square by using the larger of the two - it is centered on its host and may visually extend beyond it on the smaller axis. The initials' font size always scales with the resulting size automatically.`]})}),(0,q.jsxs)(J,{className:`flex flex-wrap items-center gap-4`,id:`size`,fitContent:!0,children:[(0,q.jsx)(ne,{style:{width:`30px`},_label:`Elke Mustermann`}),(0,q.jsx)(ne,{style:{width:`30px`,height:`45px`},_label:`Marianne`}),(0,q.jsx)(ne,{style:{width:`60px`,height:`30px`},_color:`#0000FF`,_label:`Christian`}),(0,q.jsx)(ne,{_src:`assets/img_avatar.jpg`,_label:`Elke Mustermann`}),(0,q.jsx)(ne,{style:{width:`150px`},_src:`assets/img_avatar.jpg`,_label:`Elke Mustermann`})]})]})}},Kd={badge:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolBadge shows badges with a label, background color and optional icon. The label supports markdown syntax and the badge can host an optional`,` `,(0,q.jsx)(`code`,{children:`smartButton`}),` – here a "remove" button with X-icon and a click event listener.`]})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsxs)(J,{id:`basic-vertical`,heading:`Basic Badges vertical`,className:`flex flex-col gap-2`,fitContent:!0,children:[(0,q.jsx)(D,{_label:`black (default)`}),(0,q.jsx)(D,{_color:`#06539e`,_label:`blue`}),(0,q.jsx)(D,{_color:`#ae0000`,_label:`red with icon`,_icons:`kolicon-house`}),(0,q.jsx)(D,{_color:`#8b008b`,_label:`purple with icon`,_icons:`kolicon-kolibri`})]}),(0,q.jsxs)(J,{id:`basic-horizontal`,heading:`Basic Badges horizontal`,className:`flex flex-wrap gap-2`,fitContent:!0,children:[(0,q.jsx)(D,{_label:`black`}),(0,q.jsx)(D,{_color:`#06539e`,_label:`blue`}),(0,q.jsx)(D,{_color:`#ae0000`,_label:`red with icon`,_icons:`kolicon-kolibri`})]}),(0,q.jsxs)(J,{id:`smart-button`,heading:`Badges with Smart Button`,className:`flex flex-col gap-2`,fitContent:!0,children:[(0,q.jsx)(D,{_color:`#06539e`,_label:`blue`,_smartButton:{_ariaDescription:`blue`,_icons:`kolicon-cross`,_label:`Remove`,_on:{onClick:()=>alert(`clicked`)}}}),(0,q.jsx)(D,{_color:`#8b008b`,_icons:`kolicon-kolibri`,_label:`purple with icon`,_smartButton:{_ariaDescription:`purple with icon`,_icons:`kolicon-cross`,_label:`Remove`,_on:{onClick:()=>alert(`clicked`)}}})]}),(0,q.jsxs)(J,{id:`formatted-label`,heading:`Formatted Label`,className:`flex flex-col gap-2`,fitContent:!0,children:[(0,q.jsx)(D,{_color:`#7db4ebff`,_label:`**Bold** and _italic_ Markdown label`}),(0,q.jsx)(D,{_color:`#8feb7dff`,_label:`This is ~~strikethrough~~ text`}),(0,q.jsx)(D,{_color:`#e6ee8eff`,_label:"Source code like `y = mx + n` is possible"})]})]})]})}},qd={breadcrumb:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolBreadcrumb shows a breadcrumb navigation. The sample illustrates a variation of link, text and icon elements.`})}),(0,q.jsxs)(J,{id:`basic`,narrow:!0,children:[(0,q.jsx)(re,{_label:`Breadcrumb aus Text-Links`,_links:[{_label:`Homepage`,_href:`#/back-page`},{_label:`Bottom of the homepage`,_href:`#/back-page`},{_label:`Underside of the underside`,_href:`#/back-page`}]}),(0,q.jsx)(re,{_label:`Breadcrumb from icons or text links`,_links:[{_label:`Homepage`,_icons:`kolicon-house`,_hideLabel:!0,_href:`#/back-page`},{_label:`Subpage of the start page with very long link test`,_href:`#/back-page`},{_label:`Underside of the underside`,_href:`#/back-page`}]}),(0,q.jsx)(re,{_label:`Breadcrumb from icons and text links`,_links:[{_label:`Homepage`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`Subpage of the main page and I_am_a_really_long_compound_word_trying_to_break_the_layout`,_href:`#/back-page`},{_label:`Underside of the underside`,_href:`#/back-page`}]}),(0,q.jsx)(re,{_label:`Minimal Breadcrumb`,_links:[{_label:`Homepage`,_href:`#/back-page`}]})]})]})}},Jd=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolButtonLink with aria-description`})}),(0,q.jsxs)(J,{id:`aria-description`,className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(k,{_label:`Button Text without area description`}),(0,q.jsx)(k,{_label:`Button Text`,_ariaDescription:`Button Area Description`})]})]});function Yd(){let e=yc.getInstance(document),t=t=>{e.enqueue({description:t||`Hello`,label:`Hello`,type:`info`})};return{dummyClickEventHandler:()=>{t()},buttonWithTextClickEventHandler:e=>{let n=e.currentTarget.textContent;t(n)}}}var Xd={"button-link":{basic:()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolButtonLink shows an element, that behaves like a button but looks like a link. The sample illustrates KolButtonLink with different display-properties such as `,(0,q.jsx)(`code`,{children:`block`}),`, `,(0,q.jsx)(`code`,{children:`inline-block`}),` and `,(0,q.jsx)(`code`,{children:`inline`}),`. It also demonstrates the disabled-state.`]})}),(0,q.jsx)(N,{_level:2,_label:`Button-Link with _inline`}),(0,q.jsxs)(`p`,{children:[`In this paragraph, a link is inserted that contains no additional attributes. `,(0,q.jsx)(k,{_label:`Simple Link`}),` It is rendered by default as an`,` `,(0,q.jsx)(`strong`,{children:`inline element`}),`.`]}),(0,q.jsxs)(`p`,{children:[`In this paragraph, a link is inserted that is rendered as an inline-block element.`,(0,q.jsx)(k,{className:`m-4`,style:{display:`inline-block`,border:`1px dotted`},_label:`Simple Link`}),`. This allows you to assign width, height, and other properties to it using CSS styles.`,(0,q.jsx)(`br`,{}),(0,q.jsx)(`br`,{}),`After that, there is a link that is rendered as a block element.`,(0,q.jsx)(k,{style:{display:`block`},_label:`Simple Link`}),`Therefore, I go over the entire width of the parent element to create a line break.`]}),(0,q.jsx)(N,{_level:2,_label:`Button-Link with _inline={false}`}),(0,q.jsx)(`p`,{children:`Use the boolean _inline property to render the link inline (default) or standalone.`}),(0,q.jsx)(J,{id:`basic`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,q.jsx)(k,{_label:`Standalone ButtonLink`,_inline:!1,_on:t})}),(0,q.jsx)(J,{id:`disabled`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,q.jsx)(k,{_label:`Disabled ButtonLink`,_disabled:!0,_inline:!1})}),(0,q.jsx)(J,{id:`access-key`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,q.jsx)(k,{_label:`With access key`,_accessKey:`c`,_inline:!1,_on:t})}),(0,q.jsx)(J,{id:`short-key`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,q.jsx)(k,{_label:`With short key`,_shortKey:`s`,_inline:!1,_on:t})}),(0,q.jsx)(J,{id:`variant`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,q.jsx)(k,{_label:`Special Variant ButtonLink`,_variant:`theme-link`})})]})},icons:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolButtonLink with icons in different locations.`})}),(0,q.jsx)(J,{id:`left`,fitContent:!0,children:(0,q.jsx)(k,{_icons:`kolicon-house`,_label:`I am a link with an icon on the left`})}),(0,q.jsx)(J,{id:`right`,fitContent:!0,children:(0,q.jsx)(k,{_icons:{right:`kolicon-house`},_label:`I am a link with an icon on the right`})}),(0,q.jsx)(J,{id:`top`,fitContent:!0,children:(0,q.jsx)(k,{_icons:{top:`kolicon-house`},_label:`I am a link with an icon at the top`})}),(0,q.jsx)(J,{id:`bottom`,fitContent:!0,children:(0,q.jsx)(k,{_icons:{bottom:`kolicon-house`},_label:`I am a link with icon below`})}),(0,q.jsx)(J,{id:`all`,fitContent:!0,children:(0,q.jsx)(k,{_icons:{top:`kolicon-house`,right:`kolicon-house`,bottom:`kolicon-house`,left:`kolicon-house`},_label:`I am a link with all icons`})}),(0,q.jsx)(J,{id:`hide-label`,fitContent:!0,children:(0,q.jsx)(k,{_icons:`kolicon-house`,_hideLabel:!0,_label:`I am a link with icon only`})})]}),image:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolButtonLink with slot-content instead of a label. The sample uses an image as content.`})}),(0,q.jsxs)(J,{id:`image`,children:[(0,q.jsx)(k,{_label:`I am a link that is rendered as text`}),(0,q.jsx)(k,{_label:``,children:(0,q.jsx)(ce,{_alt:`KoliBri design system illustration showing three people working on laptops surrounded by UI components, charts, and the KoliBri hummingbird logo`,_src:`sample-image.png`,className:`w-image`,slot:`expert`})})]})]}),"aria-description":Jd}},Zd=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`This story demonstrates buttons with`,` `,(0,q.jsx)(L,{_label:`access keys`,_href:`https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey`,_target:`blank`}),`. Access keys allow users to trigger buttons using keyboard shortcuts.`]})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`buttons-access-keys`,heading:`Buttons with Access Keys`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_label:`With S access key`,_accessKey:`S`,_on:t}),(0,q.jsx)(O,{_label:`Very small b`,_accessKey:`b`,_on:t}),(0,q.jsx)(O,{_label:`Access key does not appear in label`,_accessKey:`x`,_on:t})]})}),(0,q.jsx)(J,{id:`access-key-hidden-label`,heading:`Access Key with Hidden Label`,fitContent:!0,children:(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,q.jsx)(O,{_label:`access key without label`,_hideLabel:!0,_accessKey:`a`,_icons:`kolicon-cogwheel`,_on:t})})}),(0,q.jsx)(J,{id:`access-key-inline-icons`,heading:`Access Key with Inline Icons`,fitContent:!0,children:(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,q.jsx)(O,{_label:`with inline icons`,_icons:{left:`kolicon-cogwheel`,right:`kolicon-cogwheel`},_accessKey:`n`,_on:t})})})]})]})},Qd=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates buttons with ARIA descriptions. The aria-description attribute provides additional descriptive text for screen readers, helping users understand the button's purpose or action in more detail.`})}),(0,q.jsx)(`div`,{className:`grid gap-8`,children:(0,q.jsx)(J,{id:`buttons-aria-description`,heading:`Buttons with and without ARIA Description`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_label:`Button without ARIA description`,_on:t}),(0,q.jsx)(O,{_label:`Button with ARIA description`,_ariaDescription:`This button performs an important action`,_on:t})]})})})]})},$d=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates button baseline alignment. It shows multiple buttons with and without icons that are vertically aligned, useful for testing layout consistency.`})}),(0,q.jsx)(`div`,{className:`grid gap-8`,children:(0,q.jsx)(J,{id:`vertically-aligned-buttons`,heading:`Vertically Aligned Buttons`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,q.jsx)(O,{_label:`Label-Text`,_on:t}),(0,q.jsx)(O,{_icons:`kolicon-cogwheel`,_label:`Label-Text with Icon`,_on:t})]})})})]})},ef=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates the most important features of the KolButton component. It showcases the different button variants, icons, disabled state, and hidden labels.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`variants`,heading:`Button Variants`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:`kolicon-house`,_label:`Primary`,_variant:`primary`,onClick:e}),(0,q.jsx)(O,{_icons:`kolicon-kolibri`,_label:`Secondary`,_variant:`secondary`,onClick:e}),(0,q.jsx)(O,{_icons:`kolicon-cogwheel`,_label:`Tertiary`,_variant:`tertiary`,onClick:e}),(0,q.jsx)(O,{_icons:`kolicon-cogwheel`,_label:`Normal`,_variant:`normal`,_on:t}),(0,q.jsx)(O,{_icons:`kolicon-alert-warning`,_label:`Danger`,_variant:`danger`,_on:t}),(0,q.jsx)(O,{_icons:`kolicon-eye-closed`,_label:`Ghost`,_variant:`ghost`,_on:t})]})}),(0,q.jsx)(J,{id:`disabled`,heading:`Disabled State`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-house`,_label:`Primary`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-kolibri`,_label:`Secondary`,_variant:`secondary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-alert-warning`,_label:`Danger`,_variant:`danger`,_on:t})]})}),(0,q.jsx)(J,{id:`hide-label`,heading:`Hidden Label (Icon Only)`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Primary`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-kolibri`,_label:`Secondary`,_variant:`secondary`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-alert-warning`,_label:`Danger`,_variant:`danger`,_on:t})]})}),(0,q.jsx)(J,{id:`icon-positions`,heading:`Icon Positions`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:{left:`kolicon-chevron-left`},_label:`Icon Left`,_on:t}),(0,q.jsx)(O,{_icons:{right:`kolicon-chevron-right`},_label:`Icon Right`,_on:t}),(0,q.jsx)(O,{_icons:{left:`kolicon-chevron-left`,right:`kolicon-chevron-right`},_label:`Icons Both Sides`,_on:t})]})})]})]})},tf=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`All this buttons are in a grid with fixed height (60px) and width (25% of screen) and should accept this dimensions.`})}),(0,q.jsxs)(`div`,{className:`grid gap-4 fixed-height-grid`,children:[(0,q.jsx)(O,{_variant:`primary`,_icons:`kolicon-house`,_label:`Button`,_on:t}),(0,q.jsx)(O,{_variant:`primary`,_hideLabel:!0,_icons:`kolicon-house`,_label:`Button`,_on:t}),(0,q.jsx)(_e,{_variant:`primary`,_href:`#`,_icons:`kolicon-house`,_label:`Link-Button`,_on:t}),(0,q.jsx)(_e,{_variant:`primary`,_hideLabel:!0,_href:`#`,_icons:`kolicon-house`,_label:`Link-Button`,_on:t})]})]})},nf=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates the disabled state of buttons. Disabled buttons are not clickable and appear visually dimmed.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`disabled`,heading:`Disabled Buttons`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-house`,_label:`Primary`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-kolibri`,_label:`Secondary`,_variant:`secondary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-cogwheel`,_label:`Tertiary`,_variant:`tertiary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-cogwheel`,_label:`Normal`,_variant:`normal`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-alert-warning`,_label:`Danger`,_variant:`danger`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-eye-closed`,_label:`Ghost`,_variant:`ghost`,_on:t})]})}),(0,q.jsx)(J,{id:`comparison`,heading:`Comparison: Enabled vs Disabled`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:`kolicon-house`,_label:`Enabled`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-house`,_label:`Disabled`,_variant:`primary`,_on:t})]})})]})]})},rf=`kol-tooltip-wc`,af=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates the expert slot feature of KolButton. The expert slot allows you to insert custom content into the button, providing advanced customization options beyond the standard label and icon properties.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`buttons-expert-slot-content`,heading:`Buttons with Expert Slot Content`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:`kolicon-house`,_label:``,_variant:`primary`,_on:t,children:(0,q.jsx)(`span`,{slot:`expert`,children:`I am more than just a button`})}),(0,q.jsx)(O,{_icons:`kolicon-kolibri`,_label:``,_variant:`secondary`,_on:t,children:(0,q.jsx)(`span`,{slot:`expert`,children:`Custom content here`})}),(0,q.jsx)(O,{_icons:`kolicon-alert-warning`,_label:``,_variant:`danger`,_on:t,children:(0,q.jsx)(`span`,{slot:`expert`,children:`Delete with custom text`})}),(0,q.jsx)(O,{_label:``,_variant:`danger`,_on:t,children:(0,q.jsx)(se,{_icons:`kolicon-alert-warning`,_label:`Delete with custom text`,slot:`expert`})}),(0,q.jsx)(rf,{_label:`Delete with custom text`})]})}),(0,q.jsx)(J,{id:`disabled-buttons-expert-slot`,heading:`Disabled Buttons with Expert Slot`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-house`,_label:``,_variant:`primary`,_on:t,children:(0,q.jsx)(`span`,{slot:`expert`,children:`Disabled expert slot`})}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-eye-closed`,_label:``,_variant:`ghost`,_on:t,children:(0,q.jsx)(`span`,{slot:`expert`,children:`Another disabled one`})})]})})]})]})},of=[{label:`Auto (instant)`,value:`auto`},{label:`Smooth (animated)`,value:`smooth`}],sf=[{label:`Start`,value:`start`},{label:`Center`,value:`center`},{label:`End`,value:`end`},{label:`Nearest`,value:`nearest`}],cf=[{label:`Behavior`,key:`behavior`,options:of},{label:`Block (vertical alignment)`,key:`block`,options:sf},{label:`Inline (horizontal alignment)`,key:`inline`,options:sf}],lf={padding:`1rem`,marginTop:`1rem`,border:`1px solid #ccc`},uf=()=>{let e=(0,d.useRef)(null),t=(0,d.useRef)(null),[n,r]=(0,d.useState)({behavior:`auto`,block:`start`,inline:`start`}),[i,a]=(0,d.useState)(!1),o=(0,d.useCallback)(async()=>{e.current&&(a(!1),await e.current.focus({...n,afterFocus:()=>{a(!0)}}))},[n]),s=(0,d.useCallback)(async()=>{t.current&&(a(!1),await t.current.focus({...n,afterFocus:()=>{a(!0)}}))},[n]),c=(0,d.useCallback)((e,t)=>{r(n=>({...n,[e]:t}))},[]);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates KolFocusOptions for manual focus control with scroll-into-view behavior. It showcases vertical scrolling (element positioned below viewport) and horizontal scrolling (element positioned outside viewport). The focus options control how the element is scrolled into view, with the afterFocus callback triggering after scrolling completes.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsxs)(J,{id:`scroll-behavior-options`,heading:`Scroll Behavior Options`,children:[(0,q.jsxs)(`p`,{children:[`These options control how elements are scrolled into view. `,(0,q.jsx)(`code`,{children:`preventScroll`}),` and `,(0,q.jsx)(`code`,{children:`focusVisible`}),` are always enabled for optimal focus management. Customize the scroll behavior and alignment below:`]}),(0,q.jsx)(`div`,{className:`grid gap-4`,children:cf.map((e,r)=>(0,q.jsx)(`div`,{className:`grid gap-2`,children:(0,q.jsx)(R,{ref:r===0?t:null,_label:e.label,_options:e.options,_value:n[e.key],_on:{onChange:(t,n)=>{c(e.key,n)}}})},e.key))})]}),(0,q.jsxs)(J,{id:`scroll-example`,heading:`Scroll Example`,children:[(0,q.jsx)(`p`,{children:`The target button is positioned bottom-right. Scroll down and right to find it, then click "Focus Target" to apply scroll behavior.`}),(0,q.jsx)(`div`,{className:`flex gap-4`,children:(0,q.jsx)(O,{_label:`Focus Target`,_variant:`primary`,onClick:o})}),(0,q.jsxs)(`p`,{children:[`Callback invoked: `,(0,q.jsx)(`strong`,{children:i?`Yes ✓`:`No`})]}),(0,q.jsx)(`div`,{style:{...lf,overflow:`auto`,width:`500px`,height:`600px`},children:(0,q.jsxs)(`div`,{style:{width:`2400px`,height:`2400px`,padding:`1rem`,position:`relative`},children:[(0,q.jsx)(`div`,{style:{padding:`1rem`,backgroundColor:`#f9f9f9`,borderRadius:`4px`},children:`Content area (scroll to find button)`}),(0,q.jsx)(O,{ref:e,_label:`Back to Top`,_variant:`primary`,onClick:s,style:{position:`absolute`,bottom:`1rem`,right:`1rem`}})]})})]}),(0,q.jsx)(`hr`,{}),(0,q.jsx)(J,{id:`about-kol-focus-options`,heading:`About KolFocusOptions`,children:(0,q.jsxs)(`div`,{className:`indented-text`,children:[(0,q.jsx)(`p`,{children:`KolFocusOptions enables advanced focus control with scroll-into-view behavior:`}),(0,q.jsxs)(`ul`,{className:`list-disc pl-5`,children:[(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`preventScroll:`}),` Always enabled — prevents browser auto-scroll and uses custom scroll options instead`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`focusVisible:`}),` Always enabled — ensures the focus ring is visible after focus`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`behavior:`}),` "auto" (instant) or "smooth" (animated) scroll`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`block:`}),` Vertical alignment (start, center, end, nearest)`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`inline:`}),` Horizontal alignment (start, center, end, nearest)`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`afterFocus:`}),` Optional callback invoked after focus and scroll complete`]})]})]})})]})]})},df=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates buttons with hidden labels. The label is still accessible to screen readers but visually hidden, showing only the icon. This is useful for icon-only buttons.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`hide-label`,heading:`Buttons with Hidden Labels`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-kolibri`,_label:`Like`,_variant:`secondary`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Subscribe`,_variant:`tertiary`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Buy me a coffee`,_variant:`normal`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-alert-warning`,_label:`Delete`,_variant:`danger`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-eye-closed`,_label:`Settings`,_variant:`ghost`,_on:t})]})}),(0,q.jsx)(J,{id:`comparison`,heading:`Comparison: With and Without Hidden Label`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t})]})}),(0,q.jsx)(J,{id:`disabled`,heading:`Disabled with Hidden Label`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-kolibri`,_label:`Like`,_variant:`secondary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Subscribe`,_variant:`tertiary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Buy me a coffee`,_variant:`normal`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-alert-warning`,_label:`Delete`,_variant:`danger`,_on:t})]})})]})]})},ff=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story showcases buttons with icons in various positions and configurations. Icons can be placed on the left, right, top, bottom, or in multiple positions at once.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`basic-positions`,heading:`Basic Icon Positions`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:{left:`kolicon-chevron-left`},_label:`Icon Left`,_on:t}),(0,q.jsx)(O,{_icons:{right:`kolicon-chevron-right`},_label:`Icon Right`,_on:t}),(0,q.jsx)(O,{_icons:{top:`kolicon-chevron-up`},_label:`Icon Top`,_on:t}),(0,q.jsx)(O,{_icons:{bottom:`kolicon-chevron-down`},_label:`Icon Bottom`,_on:t})]})}),(0,q.jsx)(J,{id:`multiple-positions`,heading:`Multiple Icon Positions`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:{left:`kolicon-chevron-left`,right:`kolicon-chevron-right`},_label:`Left & Right`,_on:t}),(0,q.jsx)(O,{_icons:{top:`kolicon-chevron-up`,bottom:`kolicon-chevron-down`},_label:`Top & Bottom`,_on:t})]})}),(0,q.jsx)(J,{id:`all-positions`,heading:`All Icon Positions`,fitContent:!0,children:(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,q.jsx)(O,{_icons:{top:`kolicon-chevron-up`,bottom:`kolicon-chevron-down`,left:`kolicon-chevron-left`,right:`kolicon-chevron-right`},_label:`All Directions`,_on:t})})}),(0,q.jsx)(J,{id:`icon-string`,heading:`Simple Icon String`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:`kolicon-house`,_label:`Home Icon`,_on:t}),(0,q.jsx)(O,{_icons:`kolicon-kolibri`,_label:`Heart Icon`,_on:t}),(0,q.jsx)(O,{_icons:`kolicon-alert-warning`,_label:`Trash Icon`,_on:t})]})}),(0,q.jsx)(J,{id:`large-icon`,heading:`Large Icon on Top`,fitContent:!0,children:(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,q.jsx)(O,{_icons:{top:{style:{"font-size":`400%`},icon:`kolicon-house`}},_label:`Home`,_on:t})})})]})]})},pf=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates how the tooltip adapts its width when containing long text inside a row-reverse flex container. The effect becomes visible when inspecting the layout with DevTools and reducing the available width (e.g., by narrowing the screen).`})}),(0,q.jsx)(`div`,{className:`grid gap-8`,children:(0,q.jsx)(J,{id:`button-row-reverse-container`,heading:`Button in Row-Reverse Container`,children:(0,q.jsx)(`div`,{className:`flex flex-row-reverse`,children:(0,q.jsx)(O,{_icons:`kolicon-house`,_hideLabel:!0,_label:`This is a very, very long tooltip text that exceeds the width.`,_variant:`primary`})})})})]}),mf=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e},n=d.useRef(e);return d.useEffect(()=>{n.current=e},[e]),d.useEffect(()=>{let e=e=>{e.altKey&&e.code===`KeyM`&&(e.preventDefault(),n.current())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[]),(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates buttons with short keys. The short key is displayed as a visual indicator within the button label to communicate a recommended keyboard shortcut to the user.`})}),(0,q.jsxs)(E,{_label:`Short keys are display-only`,_type:`info`,_variant:`card`,children:[(0,q.jsxs)(`p`,{children:[(0,q.jsx)(`code`,{children:`_shortKey`}),` is `,(0,q.jsx)(`strong`,{children:`purely visual and assistive`}),`: it renders the badge and announces the shortcut via`,` `,(0,q.jsx)(`code`,{children:`aria-keyshortcuts`}),`, but it does `,(0,q.jsx)(`strong`,{children:`not`}),` bind a keyboard handler. Pressing the displayed combination on its own does nothing – you have to register the listener yourself (see the interactive example below).`]}),(0,q.jsxs)(`p`,{children:[`If you need a native, browser-handled shortcut instead, use`,` `,(0,q.jsx)(L,{_label:`_accessKey`,_href:`https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey`,_target:`_blank`}),`. Note that native access keys are triggered in a browser-specific way (e.g. `,(0,q.jsx)(`kbd`,{children:`Alt`}),` + `,(0,q.jsx)(`kbd`,{children:`Shift`}),` + key in Chrome on Windows).`]})]}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`short-keys`,heading:`Buttons with Short Keys`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_label:`With S short key`,_shortKey:`S`,_on:t}),(0,q.jsx)(O,{_label:`Very small b`,_shortKey:`b`,_on:t}),(0,q.jsx)(O,{_label:`Short key does not appear in label`,_shortKey:`x`,_on:t})]})}),(0,q.jsx)(J,{id:`hide-label`,heading:`Short Key with Hidden Label`,fitContent:!0,children:(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,q.jsx)(O,{_label:`short key without label`,_hideLabel:!0,_shortKey:`k`,_icons:`kolicon-cogwheel`,_on:t})})}),(0,q.jsx)(J,{id:`inline-icons`,heading:`Short Key with Inline Icons`,fitContent:!0,children:(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,q.jsx)(O,{_label:`with inline icons`,_icons:{left:`kolicon-cogwheel`,right:`kolicon-cogwheel`},_shortKey:`n`,_on:t})})}),(0,q.jsxs)(`p`,{children:[`This button wires the announced short key up manually: a `,(0,q.jsx)(`code`,{children:`keydown`}),` listener triggers the same action as a click. Press `,(0,q.jsx)(`kbd`,{children:`Alt`}),` +`,` `,(0,q.jsx)(`kbd`,{children:`M`}),` (or click the button) to open the toast.`]}),(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,q.jsx)(O,{_label:`With working M short key`,_shortKey:`m`,_on:t})})]})]})},hf=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates icon-only buttons with an animated spinning loader icon. The animation is applied using CSS parts to target the icon element directly.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`animated-spinner-icon-css-part`,heading:`Animated Spinner Icon via CSS Part`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{className:`spinner-button`,_hideLabel:!0,_icons:{left:`kolicon-cogwheel`},_label:`Loading`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{className:`spinner-button spinner-slow`,_hideLabel:!0,_icons:{left:`kolicon-cogwheel`},_label:`Syncing`,_variant:`secondary`,_on:t}),(0,q.jsx)(O,{className:`spinner-button spinner-slower`,_hideLabel:!0,_icons:{left:`kolicon-cogwheel`},_label:`Processing`,_variant:`tertiary`,_on:t})]})}),(0,q.jsx)(J,{id:`spinner-label`,heading:`Spinner with Label`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{className:`spinner-button`,_icons:{left:`kolicon-cogwheel`},_label:`Loading...`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{className:`spinner-button`,_icons:{left:`kolicon-cogwheel`},_label:`Syncing...`,_variant:`secondary`,_on:t})]})})]}),(0,q.jsx)(`style`,{children:`
|
|
38
|
+
`;function Ed(){if(document.getElementById(wd))return;let e=document.createElement(`style`);e.id=wd,e.textContent=Td,document.head.appendChild(e)}function Dd(){return document.documentElement.hasAttribute(xd)}function Od(e,t=!0){if(Ed(),e?document.documentElement.setAttribute(xd,``):document.documentElement.removeAttribute(xd),t)try{localStorage.setItem(Sd,e?`1`:`0`)}catch{}}function kd(){let e=!Dd();return Od(e),e}function Ad(){try{return localStorage.getItem(Sd)===`1`}catch{return!1}}var jd=`visualBlocks`,Md=[`0`,`false`,`off`],Nd=()=>{let[e]=Rr(),t=e.get(jd);(0,d.useEffect)(()=>{Od(t===null?Ad():!Md.includes(t.toLowerCase()),!1)},[t]),(0,d.useEffect)(()=>{let e=e=>{e.ctrlKey&&e.altKey&&!e.shiftKey&&e.key.toLowerCase()===`b`&&(e.preventDefault(),kd())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[])},Pd=(0,d.createContext)(null);function Fd(e){return e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase().replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)}var Id={width:`fit-content`},J=({id:e,heading:t,level:n=2,className:r,fitContent:i,narrow:a,skipSnapshot:o,children:s,...c})=>(0,q.jsxs)(`section`,{...c,children:[t?(0,q.jsx)(N,{_level:n,_label:t}):null,(0,q.jsx)(`div`,{"data-visual-block":o?void 0:e,"data-visual-block-skipped":o?e:void 0,"data-visual-narrow":a&&!o?``:void 0,className:r??`grid gap-4`,style:i?Id:void 0,children:s})]}),Ld=`https://public-ui.github.io/docs/components`,Rd=`https://github.com/public-ui/kolibri/blob/develop/packages/samples/react/src/components`,Y=`I am an error message!`,zd=`I am a hint.`,X=e=>{let t=(0,d.useContext)(Pd),n=fn(),r=n.pathname.split(`/`).slice(1),i=(0,d.useMemo)(()=>r[0]===`scenarios`?null:`${Ld}/${r[0]}`,[r]),a=(0,d.useMemo)(()=>r[0]===`scenarios`?null:`${Rd}/${r[0]}/${r[1]}.tsx`,[r]);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`h1`,{className:`visually-hidden`,children:n.pathname.replace(/\//g,` `)}),t?null:(0,q.jsxs)(`div`,{className:`grid sm:flex gap-4 justify-between pb-sm border-b-1 border-b-solid border-gray mb-2`,children:[(0,q.jsx)(`div`,{className:`indented-text`,children:e.children}),(0,q.jsxs)(`ul`,{className:`flex flex-wrap gap-2 list-none m-0 p-0`,children:[a&&(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:a,_label:`Code`,_target:`_blank`})}),i&&(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:i,_label:`Documentation`,_target:`_blank`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:`#${n.pathname}?hideMenus`,_label:`Standalone example`,_target:`_blank`})})]})]})]})},Bd={abbr:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolAbbr shows an abbreviation.`})}),(0,q.jsx)(J,{id:`basic`,fitContent:!0,children:(0,q.jsxs)(`span`,{children:[`I am `,(0,q.jsx)(T,{children:`e.g.`}),` an abbreviation.`]})})]})}},Vd={accordion:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolAccordion hides its content until opened. The open state can be toggled by clicking the headline or by setting the `,(0,q.jsx)(`code`,{children:`_open`}),`-prop programmatically. Additionally, the sample shows the disabled state for a closed and an open accordion.`]})}),(0,q.jsxs)(J,{id:`basic`,children:[(0,q.jsx)(te,{_label:`Heading Accordion Tab 1 (open)`,_open:!0,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 1`})}),(0,q.jsx)(te,{_label:`Heading Accordion Tab 2`,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 2`})}),(0,q.jsx)(te,{_label:`Heading Accordion Tab 3 (deactivated)`,_disabled:!0,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 3`})}),(0,q.jsx)(te,{_label:`Heading Accordion Tab 4 (disabled and open)`,_disabled:!0,_open:!0,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 4`})})]})]}),headlines:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolAccordion with the different heading levels from 1-6.`})}),(0,q.jsxs)(J,{id:`headlines`,children:[(0,q.jsx)(te,{_label:`Heading Level 1`,_level:1,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 1`})}),(0,q.jsx)(te,{_label:`Heading Level 2`,_level:2,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 2`})}),(0,q.jsx)(te,{_label:`Heading Level 3`,_level:3,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 3`})}),(0,q.jsx)(te,{_label:`Heading Level 4`,_level:4,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 4`})}),(0,q.jsx)(te,{_label:`Heading Level 5`,_level:5,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 5`})}),(0,q.jsx)(te,{_label:`Heading Level 6`,_level:6,children:(0,q.jsx)(`p`,{children:`Contents Accordion Tab 6`})})]})]}),multiple:()=>{let[e,t]=(0,d.useState)(0);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`Multiple KolAccordions. The first is opened initially. Opening one accordion closes the others.`})}),(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(te,{_label:`Heading Accordion Tab 1 (initially open)`,_open:e===0,_on:{onClick:()=>t(0)},children:(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})}),(0,q.jsx)(te,{_label:`Heading Accordion Tab 2`,_open:e===1,_on:{onClick:()=>t(1)},children:(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})}),(0,q.jsx)(te,{_label:`Heading Accordion Tab 3`,_open:e===2,_on:{onClick:()=>t(2)},children:(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})})]})]})}}},Hd=({level:e,type:t,variant:n})=>(0,q.jsx)(q.Fragment,{children:(0,q.jsxs)(J,{id:t,className:`flex flex-col gap-2`,children:[(0,q.jsx)(E,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:t,_variant:n,children:`This is the text of the alert.`}),(0,q.jsx)(E,{_type:t,_variant:n,children:`In this alert, only the text without the heading is used.`}),(0,q.jsx)(E,{_label:`This is the headline level ${e} of the alert.`,_level:e,_type:t,_variant:n,_hasCloser:!0,children:`This is the text of the alert. With close button.`}),(0,q.jsx)(E,{_type:t,_variant:n,_hasCloser:!0,children:`In this alert, only the text without the heading is used. With close button.`})]})}),Ud=({variant:e=`msg`})=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(Hd,{level:1,type:`default`,variant:e}),(0,q.jsx)(Hd,{level:2,type:`error`,variant:e}),(0,q.jsx)(Hd,{level:3,type:`info`,variant:e}),(0,q.jsx)(Hd,{level:4,type:`success`,variant:e}),(0,q.jsx)(Hd,{level:5,type:`warning`,variant:e})]}),Wd={alert:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolAlert shows messages of different types. This sample illustrates the variant `,(0,q.jsx)(`code`,{children:`msg`}),`, showing all possible types with and without headlines and close buttons.`]})}),(0,q.jsx)(Ud,{variant:`msg`})]}),"card-msg":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolAlert shows messages of different types. This sample illustrates the variant `,(0,q.jsx)(`code`,{children:`card`}),`, showing all possible types with and without headlines and close buttons.`]})}),(0,q.jsx)(`section`,{className:`w-full`,children:(0,q.jsx)(Ud,{variant:`card`})})]})}},Gd={avatar:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolAvatar shows a user's avatar with customizable colors. It can be used with or without an image. If no image is defined, the name's initials are shown instead with a configurable background color.`})}),(0,q.jsxs)(J,{className:`flex gap-2`,id:`basic`,fitContent:!0,children:[(0,q.jsx)(ne,{_src:`assets/img_avatar.jpg`,_label:`Elke Mustermann`}),(0,q.jsx)(ne,{_label:`Elke Mustermann `}),(0,q.jsx)(ne,{_label:`Marianne`}),(0,q.jsx)(ne,{_color:`#0000FF`,_label:`Christian`})]})]}),size:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolAvatar is `,(0,q.jsx)(`code`,{children:`6.25rem`}),` (100px at the default 16px root font-size) wide/tall by default and simply fills its host element, so it can be resized proportionally with plain CSS `,(0,q.jsx)(`code`,{children:`width`}),` and/or `,(0,q.jsx)(`code`,{children:`height`}),` (set through the `,(0,q.jsx)(`code`,{children:`style`}),` prop). Setting only`,` `,(0,q.jsx)(`code`,{children:`width`}),` is the reliable way to size it below the default. If `,(0,q.jsx)(`code`,{children:`width`}),` and `,(0,q.jsx)(`code`,{children:`height`}),` are set to different values, the avatar stays square by using the larger of the two - it is centered on its host and may visually extend beyond it on the smaller axis. The initials' font size always scales with the resulting size automatically.`]})}),(0,q.jsxs)(J,{className:`flex flex-wrap items-center gap-4`,id:`size`,fitContent:!0,children:[(0,q.jsx)(ne,{style:{width:`30px`},_label:`Elke Mustermann`}),(0,q.jsx)(ne,{style:{width:`30px`,height:`45px`},_label:`Marianne`}),(0,q.jsx)(ne,{style:{width:`60px`,height:`30px`},_color:`#0000FF`,_label:`Christian`}),(0,q.jsx)(ne,{_src:`assets/img_avatar.jpg`,_label:`Elke Mustermann`}),(0,q.jsx)(ne,{style:{width:`150px`},_src:`assets/img_avatar.jpg`,_label:`Elke Mustermann`})]})]})}},Kd={badge:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolBadge shows badges with a label, background color and optional icon. The label supports markdown syntax and the badge can host an optional`,` `,(0,q.jsx)(`code`,{children:`smartButton`}),` – here a "remove" button with X-icon and a click event listener.`]})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsxs)(J,{id:`basic-vertical`,heading:`Basic Badges vertical`,className:`flex flex-col gap-2`,fitContent:!0,children:[(0,q.jsx)(D,{_label:`black (default)`}),(0,q.jsx)(D,{_color:`#06539e`,_label:`blue`}),(0,q.jsx)(D,{_color:`#ae0000`,_label:`red with icon`,_icons:`kolicon-house`}),(0,q.jsx)(D,{_color:`#8b008b`,_label:`purple with icon`,_icons:`kolicon-kolibri`})]}),(0,q.jsxs)(J,{id:`basic-horizontal`,heading:`Basic Badges horizontal`,className:`flex flex-wrap gap-2`,fitContent:!0,children:[(0,q.jsx)(D,{_label:`black`}),(0,q.jsx)(D,{_color:`#06539e`,_label:`blue`}),(0,q.jsx)(D,{_color:`#ae0000`,_label:`red with icon`,_icons:`kolicon-kolibri`})]}),(0,q.jsxs)(J,{id:`smart-button`,heading:`Badges with Smart Button`,className:`flex flex-col gap-2`,fitContent:!0,children:[(0,q.jsx)(D,{_color:`#06539e`,_label:`blue`,_smartButton:{_ariaDescription:`blue`,_icons:`kolicon-cross`,_label:`Remove`,_on:{onClick:()=>alert(`clicked`)}}}),(0,q.jsx)(D,{_color:`#8b008b`,_icons:`kolicon-kolibri`,_label:`purple with icon`,_smartButton:{_ariaDescription:`purple with icon`,_icons:`kolicon-cross`,_label:`Remove`,_on:{onClick:()=>alert(`clicked`)}}})]}),(0,q.jsxs)(J,{id:`formatted-label`,heading:`Formatted Label`,className:`flex flex-col gap-2`,fitContent:!0,children:[(0,q.jsx)(D,{_color:`#7db4ebff`,_label:`**Bold** and _italic_ Markdown label`}),(0,q.jsx)(D,{_color:`#8feb7dff`,_label:`This is ~~strikethrough~~ text`}),(0,q.jsx)(D,{_color:`#e6ee8eff`,_label:"Source code like `y = mx + n` is possible"})]})]})]})}},qd={breadcrumb:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolBreadcrumb shows a breadcrumb navigation. The sample illustrates a variation of link, text and icon elements.`})}),(0,q.jsxs)(J,{id:`basic`,narrow:!0,children:[(0,q.jsx)(re,{_label:`Breadcrumb aus Text-Links`,_links:[{_label:`Homepage`,_href:`#/back-page`},{_label:`Bottom of the homepage`,_href:`#/back-page`},{_label:`Underside of the underside`,_href:`#/back-page`}]}),(0,q.jsx)(re,{_label:`Breadcrumb from icons or text links`,_links:[{_label:`Homepage`,_icons:`kolicon-house`,_hideLabel:!0,_href:`#/back-page`},{_label:`Subpage of the start page with very long link test`,_href:`#/back-page`},{_label:`Underside of the underside`,_href:`#/back-page`}]}),(0,q.jsx)(re,{_label:`Breadcrumb from icons and text links`,_links:[{_label:`Homepage`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`Subpage of the main page and I_am_a_really_long_compound_word_trying_to_break_the_layout`,_href:`#/back-page`},{_label:`Underside of the underside`,_href:`#/back-page`}]}),(0,q.jsx)(re,{_label:`Minimal Breadcrumb`,_links:[{_label:`Homepage`,_href:`#/back-page`}]})]})]})}},Jd=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolButtonLink with aria-description`})}),(0,q.jsxs)(J,{id:`aria-description`,className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(k,{_label:`Button Text without area description`}),(0,q.jsx)(k,{_label:`Button Text`,_ariaDescription:`Button Area Description`})]})]});function Yd(){let e=e=>{alert(e||`The Element was clicked`)};return{dummyClickEventHandler:()=>{e()},buttonWithTextClickEventHandler:t=>{let n=t.currentTarget.textContent;e(n)}}}var Xd={"button-link":{basic:()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolButtonLink shows an element, that behaves like a button but looks like a link. The sample illustrates KolButtonLink with different display-properties such as `,(0,q.jsx)(`code`,{children:`block`}),`, `,(0,q.jsx)(`code`,{children:`inline-block`}),` and `,(0,q.jsx)(`code`,{children:`inline`}),`. It also demonstrates the disabled-state.`]})}),(0,q.jsx)(N,{_level:2,_label:`Button-Link with _inline`}),(0,q.jsxs)(`p`,{children:[`In this paragraph, a link is inserted that contains no additional attributes. `,(0,q.jsx)(k,{_label:`Simple Link`}),` It is rendered by default as an`,` `,(0,q.jsx)(`strong`,{children:`inline element`}),`.`]}),(0,q.jsxs)(`p`,{children:[`In this paragraph, a link is inserted that is rendered as an inline-block element.`,(0,q.jsx)(k,{className:`m-4`,style:{display:`inline-block`,border:`1px dotted`},_label:`Simple Link`}),`. This allows you to assign width, height, and other properties to it using CSS styles.`,(0,q.jsx)(`br`,{}),(0,q.jsx)(`br`,{}),`After that, there is a link that is rendered as a block element.`,(0,q.jsx)(k,{style:{display:`block`},_label:`Simple Link`}),`Therefore, I go over the entire width of the parent element to create a line break.`]}),(0,q.jsx)(N,{_level:2,_label:`Button-Link with _inline={false}`}),(0,q.jsx)(`p`,{children:`Use the boolean _inline property to render the link inline (default) or standalone.`}),(0,q.jsx)(J,{id:`basic`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,q.jsx)(k,{_label:`Standalone ButtonLink`,_inline:!1,_on:t})}),(0,q.jsx)(J,{id:`disabled`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,q.jsx)(k,{_label:`Disabled ButtonLink`,_disabled:!0,_inline:!1})}),(0,q.jsx)(J,{id:`access-key`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,q.jsx)(k,{_label:`With access key`,_accessKey:`c`,_inline:!1,_on:t})}),(0,q.jsx)(J,{id:`short-key`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,q.jsx)(k,{_label:`With short key`,_shortKey:`s`,_inline:!1,_on:t})}),(0,q.jsx)(J,{id:`variant`,className:`flex flex-col gap-2`,fitContent:!0,children:(0,q.jsx)(k,{_label:`Special Variant ButtonLink`,_variant:`theme-link`})})]})},icons:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolButtonLink with icons in different locations.`})}),(0,q.jsx)(J,{id:`left`,fitContent:!0,children:(0,q.jsx)(k,{_icons:`kolicon-house`,_label:`I am a link with an icon on the left`})}),(0,q.jsx)(J,{id:`right`,fitContent:!0,children:(0,q.jsx)(k,{_icons:{right:`kolicon-house`},_label:`I am a link with an icon on the right`})}),(0,q.jsx)(J,{id:`top`,fitContent:!0,children:(0,q.jsx)(k,{_icons:{top:`kolicon-house`},_label:`I am a link with an icon at the top`})}),(0,q.jsx)(J,{id:`bottom`,fitContent:!0,children:(0,q.jsx)(k,{_icons:{bottom:`kolicon-house`},_label:`I am a link with icon below`})}),(0,q.jsx)(J,{id:`all`,fitContent:!0,children:(0,q.jsx)(k,{_icons:{top:`kolicon-house`,right:`kolicon-house`,bottom:`kolicon-house`,left:`kolicon-house`},_label:`I am a link with all icons`})}),(0,q.jsx)(J,{id:`hide-label`,fitContent:!0,children:(0,q.jsx)(k,{_icons:`kolicon-house`,_hideLabel:!0,_label:`I am a link with icon only`})})]}),image:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolButtonLink with slot-content instead of a label. The sample uses an image as content.`})}),(0,q.jsxs)(J,{id:`image`,children:[(0,q.jsx)(k,{_label:`I am a link that is rendered as text`}),(0,q.jsx)(k,{_label:``,children:(0,q.jsx)(ce,{_alt:`KoliBri design system illustration showing three people working on laptops surrounded by UI components, charts, and the KoliBri hummingbird logo`,_src:`sample-image.png`,className:`w-image`,slot:`expert`})})]})]}),"aria-description":Jd}},Zd=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`This story demonstrates buttons with`,` `,(0,q.jsx)(L,{_label:`access keys`,_href:`https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey`,_target:`blank`}),`. Access keys allow users to trigger buttons using keyboard shortcuts.`]})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`buttons-access-keys`,heading:`Buttons with Access Keys`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_label:`With S access key`,_accessKey:`S`,_on:t}),(0,q.jsx)(O,{_label:`Very small b`,_accessKey:`b`,_on:t}),(0,q.jsx)(O,{_label:`Access key does not appear in label`,_accessKey:`x`,_on:t})]})}),(0,q.jsx)(J,{id:`access-key-hidden-label`,heading:`Access Key with Hidden Label`,fitContent:!0,children:(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,q.jsx)(O,{_label:`access key without label`,_hideLabel:!0,_accessKey:`a`,_icons:`kolicon-cogwheel`,_on:t})})}),(0,q.jsx)(J,{id:`access-key-inline-icons`,heading:`Access Key with Inline Icons`,fitContent:!0,children:(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,q.jsx)(O,{_label:`with inline icons`,_icons:{left:`kolicon-cogwheel`,right:`kolicon-cogwheel`},_accessKey:`n`,_on:t})})})]})]})},Qd=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates buttons with ARIA descriptions. The aria-description attribute provides additional descriptive text for screen readers, helping users understand the button's purpose or action in more detail.`})}),(0,q.jsx)(`div`,{className:`grid gap-8`,children:(0,q.jsx)(J,{id:`buttons-aria-description`,heading:`Buttons with and without ARIA Description`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_label:`Button without ARIA description`,_on:t}),(0,q.jsx)(O,{_label:`Button with ARIA description`,_ariaDescription:`This button performs an important action`,_on:t})]})})})]})},$d=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates button baseline alignment. It shows multiple buttons with and without icons that are vertically aligned, useful for testing layout consistency.`})}),(0,q.jsx)(`div`,{className:`grid gap-8`,children:(0,q.jsx)(J,{id:`vertically-aligned-buttons`,heading:`Vertically Aligned Buttons`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,q.jsx)(O,{_label:`Label-Text`,_on:t}),(0,q.jsx)(O,{_icons:`kolicon-cogwheel`,_label:`Label-Text with Icon`,_on:t})]})})})]})},ef=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates the most important features of the KolButton component. It showcases the different button variants, icons, disabled state, and hidden labels.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`variants`,heading:`Button Variants`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:`kolicon-house`,_label:`Primary`,_variant:`primary`,onClick:e}),(0,q.jsx)(O,{_icons:`kolicon-kolibri`,_label:`Secondary`,_variant:`secondary`,onClick:e}),(0,q.jsx)(O,{_icons:`kolicon-cogwheel`,_label:`Tertiary`,_variant:`tertiary`,onClick:e}),(0,q.jsx)(O,{_icons:`kolicon-cogwheel`,_label:`Normal`,_variant:`normal`,_on:t}),(0,q.jsx)(O,{_icons:`kolicon-alert-warning`,_label:`Danger`,_variant:`danger`,_on:t}),(0,q.jsx)(O,{_icons:`kolicon-eye-closed`,_label:`Ghost`,_variant:`ghost`,_on:t})]})}),(0,q.jsx)(J,{id:`disabled`,heading:`Disabled State`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-house`,_label:`Primary`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-kolibri`,_label:`Secondary`,_variant:`secondary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-alert-warning`,_label:`Danger`,_variant:`danger`,_on:t})]})}),(0,q.jsx)(J,{id:`hide-label`,heading:`Hidden Label (Icon Only)`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Primary`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-kolibri`,_label:`Secondary`,_variant:`secondary`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-alert-warning`,_label:`Danger`,_variant:`danger`,_on:t})]})}),(0,q.jsx)(J,{id:`icon-positions`,heading:`Icon Positions`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:{left:`kolicon-chevron-left`},_label:`Icon Left`,_on:t}),(0,q.jsx)(O,{_icons:{right:`kolicon-chevron-right`},_label:`Icon Right`,_on:t}),(0,q.jsx)(O,{_icons:{left:`kolicon-chevron-left`,right:`kolicon-chevron-right`},_label:`Icons Both Sides`,_on:t})]})})]})]})},tf=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`All this buttons are in a grid with fixed height (60px) and width (25% of screen) and should accept this dimensions.`})}),(0,q.jsxs)(`div`,{className:`grid gap-4 fixed-height-grid`,children:[(0,q.jsx)(O,{_variant:`primary`,_icons:`kolicon-house`,_label:`Button`,_on:t}),(0,q.jsx)(O,{_variant:`primary`,_hideLabel:!0,_icons:`kolicon-house`,_label:`Button`,_on:t}),(0,q.jsx)(_e,{_variant:`primary`,_href:`#`,_icons:`kolicon-house`,_label:`Link-Button`,_on:t}),(0,q.jsx)(_e,{_variant:`primary`,_hideLabel:!0,_href:`#`,_icons:`kolicon-house`,_label:`Link-Button`,_on:t})]})]})},nf=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates the disabled state of buttons. Disabled buttons are not clickable and appear visually dimmed.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`disabled`,heading:`Disabled Buttons`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-house`,_label:`Primary`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-kolibri`,_label:`Secondary`,_variant:`secondary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-cogwheel`,_label:`Tertiary`,_variant:`tertiary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-cogwheel`,_label:`Normal`,_variant:`normal`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-alert-warning`,_label:`Danger`,_variant:`danger`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-eye-closed`,_label:`Ghost`,_variant:`ghost`,_on:t})]})}),(0,q.jsx)(J,{id:`comparison`,heading:`Comparison: Enabled vs Disabled`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:`kolicon-house`,_label:`Enabled`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-house`,_label:`Disabled`,_variant:`primary`,_on:t})]})})]})]})},rf=`kol-tooltip-wc`,af=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates the expert slot feature of KolButton. The expert slot allows you to insert custom content into the button, providing advanced customization options beyond the standard label and icon properties.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`buttons-expert-slot-content`,heading:`Buttons with Expert Slot Content`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:`kolicon-house`,_label:``,_variant:`primary`,_on:t,children:(0,q.jsx)(`span`,{slot:`expert`,children:`I am more than just a button`})}),(0,q.jsx)(O,{_icons:`kolicon-kolibri`,_label:``,_variant:`secondary`,_on:t,children:(0,q.jsx)(`span`,{slot:`expert`,children:`Custom content here`})}),(0,q.jsx)(O,{_icons:`kolicon-alert-warning`,_label:``,_variant:`danger`,_on:t,children:(0,q.jsx)(`span`,{slot:`expert`,children:`Delete with custom text`})}),(0,q.jsx)(O,{_label:``,_variant:`danger`,_on:t,children:(0,q.jsx)(se,{_icons:`kolicon-alert-warning`,_label:`Delete with custom text`,slot:`expert`})}),(0,q.jsx)(rf,{_label:`Delete with custom text`})]})}),(0,q.jsx)(J,{id:`disabled-buttons-expert-slot`,heading:`Disabled Buttons with Expert Slot`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-house`,_label:``,_variant:`primary`,_on:t,children:(0,q.jsx)(`span`,{slot:`expert`,children:`Disabled expert slot`})}),(0,q.jsx)(O,{_disabled:!0,_icons:`kolicon-eye-closed`,_label:``,_variant:`ghost`,_on:t,children:(0,q.jsx)(`span`,{slot:`expert`,children:`Another disabled one`})})]})})]})]})},of=[{label:`Auto (instant)`,value:`auto`},{label:`Smooth (animated)`,value:`smooth`}],sf=[{label:`Start`,value:`start`},{label:`Center`,value:`center`},{label:`End`,value:`end`},{label:`Nearest`,value:`nearest`}],cf=[{label:`Behavior`,key:`behavior`,options:of},{label:`Block (vertical alignment)`,key:`block`,options:sf},{label:`Inline (horizontal alignment)`,key:`inline`,options:sf}],lf={padding:`1rem`,marginTop:`1rem`,border:`1px solid #ccc`},uf=()=>{let e=(0,d.useRef)(null),t=(0,d.useRef)(null),[n,r]=(0,d.useState)({behavior:`auto`,block:`start`,inline:`start`}),[i,a]=(0,d.useState)(!1),o=(0,d.useCallback)(async()=>{e.current&&(a(!1),await e.current.focus({...n,afterFocus:()=>{a(!0)}}))},[n]),s=(0,d.useCallback)(async()=>{t.current&&(a(!1),await t.current.focus({...n,afterFocus:()=>{a(!0)}}))},[n]),c=(0,d.useCallback)((e,t)=>{r(n=>({...n,[e]:t}))},[]);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates KolFocusOptions for manual focus control with scroll-into-view behavior. It showcases vertical scrolling (element positioned below viewport) and horizontal scrolling (element positioned outside viewport). The focus options control how the element is scrolled into view, with the afterFocus callback triggering after scrolling completes.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsxs)(J,{id:`scroll-behavior-options`,heading:`Scroll Behavior Options`,children:[(0,q.jsxs)(`p`,{children:[`These options control how elements are scrolled into view. `,(0,q.jsx)(`code`,{children:`preventScroll`}),` and `,(0,q.jsx)(`code`,{children:`focusVisible`}),` are always enabled for optimal focus management. Customize the scroll behavior and alignment below:`]}),(0,q.jsx)(`div`,{className:`grid gap-4`,children:cf.map((e,r)=>(0,q.jsx)(`div`,{className:`grid gap-2`,children:(0,q.jsx)(R,{ref:r===0?t:null,_label:e.label,_options:e.options,_value:n[e.key],_on:{onChange:(t,n)=>{c(e.key,n)}}})},e.key))})]}),(0,q.jsxs)(J,{id:`scroll-example`,heading:`Scroll Example`,children:[(0,q.jsx)(`p`,{children:`The target button is positioned bottom-right. Scroll down and right to find it, then click "Focus Target" to apply scroll behavior.`}),(0,q.jsx)(`div`,{className:`flex gap-4`,children:(0,q.jsx)(O,{_label:`Focus Target`,_variant:`primary`,onClick:o})}),(0,q.jsxs)(`p`,{children:[`Callback invoked: `,(0,q.jsx)(`strong`,{children:i?`Yes ✓`:`No`})]}),(0,q.jsx)(`div`,{style:{...lf,overflow:`auto`,width:`500px`,height:`600px`},children:(0,q.jsxs)(`div`,{style:{width:`2400px`,height:`2400px`,padding:`1rem`,position:`relative`},children:[(0,q.jsx)(`div`,{style:{padding:`1rem`,backgroundColor:`#f9f9f9`,borderRadius:`4px`},children:`Content area (scroll to find button)`}),(0,q.jsx)(O,{ref:e,_label:`Back to Top`,_variant:`primary`,onClick:s,style:{position:`absolute`,bottom:`1rem`,right:`1rem`}})]})})]}),(0,q.jsx)(`hr`,{}),(0,q.jsx)(J,{id:`about-kol-focus-options`,heading:`About KolFocusOptions`,children:(0,q.jsxs)(`div`,{className:`indented-text`,children:[(0,q.jsx)(`p`,{children:`KolFocusOptions enables advanced focus control with scroll-into-view behavior:`}),(0,q.jsxs)(`ul`,{className:`list-disc pl-5`,children:[(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`preventScroll:`}),` Always enabled — prevents browser auto-scroll and uses custom scroll options instead`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`focusVisible:`}),` Always enabled — ensures the focus ring is visible after focus`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`behavior:`}),` "auto" (instant) or "smooth" (animated) scroll`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`block:`}),` Vertical alignment (start, center, end, nearest)`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`inline:`}),` Horizontal alignment (start, center, end, nearest)`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`afterFocus:`}),` Optional callback invoked after focus and scroll complete`]})]})]})})]})]})},df=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates buttons with hidden labels. The label is still accessible to screen readers but visually hidden, showing only the icon. This is useful for icon-only buttons.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`hide-label`,heading:`Buttons with Hidden Labels`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-kolibri`,_label:`Like`,_variant:`secondary`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Subscribe`,_variant:`tertiary`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Buy me a coffee`,_variant:`normal`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-alert-warning`,_label:`Delete`,_variant:`danger`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-eye-closed`,_label:`Settings`,_variant:`ghost`,_on:t})]})}),(0,q.jsx)(J,{id:`comparison`,heading:`Comparison: With and Without Hidden Label`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t})]})}),(0,q.jsx)(J,{id:`disabled`,heading:`Disabled with Hidden Label`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-house`,_label:`Home`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-kolibri`,_label:`Like`,_variant:`secondary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Subscribe`,_variant:`tertiary`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-cogwheel`,_label:`Buy me a coffee`,_variant:`normal`,_on:t}),(0,q.jsx)(O,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-alert-warning`,_label:`Delete`,_variant:`danger`,_on:t})]})})]})]})},ff=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story showcases buttons with icons in various positions and configurations. Icons can be placed on the left, right, top, bottom, or in multiple positions at once.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`basic-positions`,heading:`Basic Icon Positions`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:{left:`kolicon-chevron-left`},_label:`Icon Left`,_on:t}),(0,q.jsx)(O,{_icons:{right:`kolicon-chevron-right`},_label:`Icon Right`,_on:t}),(0,q.jsx)(O,{_icons:{top:`kolicon-chevron-up`},_label:`Icon Top`,_on:t}),(0,q.jsx)(O,{_icons:{bottom:`kolicon-chevron-down`},_label:`Icon Bottom`,_on:t})]})}),(0,q.jsx)(J,{id:`multiple-positions`,heading:`Multiple Icon Positions`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:{left:`kolicon-chevron-left`,right:`kolicon-chevron-right`},_label:`Left & Right`,_on:t}),(0,q.jsx)(O,{_icons:{top:`kolicon-chevron-up`,bottom:`kolicon-chevron-down`},_label:`Top & Bottom`,_on:t})]})}),(0,q.jsx)(J,{id:`all-positions`,heading:`All Icon Positions`,fitContent:!0,children:(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,q.jsx)(O,{_icons:{top:`kolicon-chevron-up`,bottom:`kolicon-chevron-down`,left:`kolicon-chevron-left`,right:`kolicon-chevron-right`},_label:`All Directions`,_on:t})})}),(0,q.jsx)(J,{id:`icon-string`,heading:`Simple Icon String`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_icons:`kolicon-house`,_label:`Home Icon`,_on:t}),(0,q.jsx)(O,{_icons:`kolicon-kolibri`,_label:`Heart Icon`,_on:t}),(0,q.jsx)(O,{_icons:`kolicon-alert-warning`,_label:`Trash Icon`,_on:t})]})}),(0,q.jsx)(J,{id:`large-icon`,heading:`Large Icon on Top`,fitContent:!0,children:(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,q.jsx)(O,{_icons:{top:{style:{"font-size":`400%`},icon:`kolicon-house`}},_label:`Home`,_on:t})})})]})]})},pf=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates how the tooltip adapts its width when containing long text inside a row-reverse flex container. The effect becomes visible when inspecting the layout with DevTools and reducing the available width (e.g., by narrowing the screen).`})}),(0,q.jsx)(`div`,{className:`grid gap-8`,children:(0,q.jsx)(J,{id:`button-row-reverse-container`,heading:`Button in Row-Reverse Container`,children:(0,q.jsx)(`div`,{className:`flex flex-row-reverse`,children:(0,q.jsx)(O,{_icons:`kolicon-house`,_hideLabel:!0,_label:`This is a very, very long tooltip text that exceeds the width.`,_variant:`primary`})})})})]}),mf=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e},n=d.useRef(e);return d.useEffect(()=>{n.current=e},[e]),d.useEffect(()=>{let e=e=>{e.altKey&&e.code===`KeyM`&&(e.preventDefault(),n.current())};return document.addEventListener(`keydown`,e),()=>document.removeEventListener(`keydown`,e)},[]),(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates buttons with short keys. The short key is displayed as a visual indicator within the button label to communicate a recommended keyboard shortcut to the user.`})}),(0,q.jsxs)(E,{_label:`Short keys are display-only`,_type:`info`,_variant:`card`,children:[(0,q.jsxs)(`p`,{children:[(0,q.jsx)(`code`,{children:`_shortKey`}),` is `,(0,q.jsx)(`strong`,{children:`purely visual and assistive`}),`: it renders the badge and announces the shortcut via`,` `,(0,q.jsx)(`code`,{children:`aria-keyshortcuts`}),`, but it does `,(0,q.jsx)(`strong`,{children:`not`}),` bind a keyboard handler. Pressing the displayed combination on its own does nothing – you have to register the listener yourself (see the interactive example below).`]}),(0,q.jsxs)(`p`,{children:[`If you need a native, browser-handled shortcut instead, use`,` `,(0,q.jsx)(L,{_label:`_accessKey`,_href:`https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey`,_target:`_blank`}),`. Note that native access keys are triggered in a browser-specific way (e.g. `,(0,q.jsx)(`kbd`,{children:`Alt`}),` + `,(0,q.jsx)(`kbd`,{children:`Shift`}),` + key in Chrome on Windows).`]})]}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`short-keys`,heading:`Buttons with Short Keys`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_label:`With S short key`,_shortKey:`S`,_on:t}),(0,q.jsx)(O,{_label:`Very small b`,_shortKey:`b`,_on:t}),(0,q.jsx)(O,{_label:`Short key does not appear in label`,_shortKey:`x`,_on:t})]})}),(0,q.jsx)(J,{id:`hide-label`,heading:`Short Key with Hidden Label`,fitContent:!0,children:(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,q.jsx)(O,{_label:`short key without label`,_hideLabel:!0,_shortKey:`k`,_icons:`kolicon-cogwheel`,_on:t})})}),(0,q.jsx)(J,{id:`inline-icons`,heading:`Short Key with Inline Icons`,fitContent:!0,children:(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,q.jsx)(O,{_label:`with inline icons`,_icons:{left:`kolicon-cogwheel`,right:`kolicon-cogwheel`},_shortKey:`n`,_on:t})})}),(0,q.jsxs)(`p`,{children:[`This button wires the announced short key up manually: a `,(0,q.jsx)(`code`,{children:`keydown`}),` listener triggers the same action as a click. Press `,(0,q.jsx)(`kbd`,{children:`Alt`}),` +`,` `,(0,q.jsx)(`kbd`,{children:`M`}),` (or click the button) to open the toast.`]}),(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:(0,q.jsx)(O,{_label:`With working M short key`,_shortKey:`m`,_on:t})})]})]})},hf=()=>{let{dummyClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates icon-only buttons with an animated spinning loader icon. The animation is applied using CSS parts to target the icon element directly.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`animated-spinner-icon-css-part`,heading:`Animated Spinner Icon via CSS Part`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{className:`spinner-button`,_hideLabel:!0,_icons:{left:`kolicon-cogwheel`},_label:`Loading`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{className:`spinner-button spinner-slow`,_hideLabel:!0,_icons:{left:`kolicon-cogwheel`},_label:`Syncing`,_variant:`secondary`,_on:t}),(0,q.jsx)(O,{className:`spinner-button spinner-slower`,_hideLabel:!0,_icons:{left:`kolicon-cogwheel`},_label:`Processing`,_variant:`tertiary`,_on:t})]})}),(0,q.jsx)(J,{id:`spinner-label`,heading:`Spinner with Label`,fitContent:!0,children:(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{className:`spinner-button`,_icons:{left:`kolicon-cogwheel`},_label:`Loading...`,_variant:`primary`,_on:t}),(0,q.jsx)(O,{className:`spinner-button`,_icons:{left:`kolicon-cogwheel`},_label:`Syncing...`,_variant:`secondary`,_on:t})]})})]}),(0,q.jsx)(`style`,{children:`
|
|
39
39
|
@keyframes spin {
|
|
40
40
|
from {
|
|
41
41
|
transform: rotate(0deg);
|
|
@@ -71,13 +71,13 @@ Link:
|
|
|
71
71
|
Prefix can't start with '-' when allowNegative is true.
|
|
72
72
|
prefix: `+i+`
|
|
73
73
|
allowNegative: `+a+`
|
|
74
|
-
`),a=!1),Object.assign(Object.assign({},e),{allowNegative:a})}function jg(e){e=Ag(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,n=e.allowNegative,r=e.allowLeadingZeros,i=e.onKeyDown;i===void 0&&(i=Kh);var a=e.onBlur;a===void 0&&(a=Kh);var o=e.thousandSeparator,s=e.decimalScale,c=e.fixedDecimalScale,l=e.prefix;l===void 0&&(l=``);var u=e.defaultValue,d=e.value,f=e.valueIsNumericString,p=e.onValueChange,m=Wh(e,[`decimalSeparator`,`allowedDecimalSeparators`,`thousandsGroupStyle`,`suffix`,`allowNegative`,`allowLeadingZeros`,`onKeyDown`,`onBlur`,`thousandSeparator`,`decimalScale`,`fixedDecimalScale`,`prefix`,`defaultValue`,`value`,`valueIsNumericString`,`onValueChange`]),h=wg(e),g=h.decimalSeparator,_=h.allowedDecimalSeparators,v=function(t){return Cg(t,e)},y=function(t,n){return Og(t,n,e)},b=Yh(d)?u:d,x=f??Dg(b,l,t);Yh(d)?Yh(u)||(x||=typeof u==`number`):x||=typeof d==`number`;var ee=function(e){return Zh(e)?e:(typeof e==`number`&&(e=og(e)),x&&typeof s==`number`?sg(e,s,!!c):e)},S=yg(ee(d),ee(u),!!x,v,y,p),C=S[0],w=C.numAsString,T=C.formattedValue,te=S[1];return Object.assign(Object.assign({},m),{value:T,valueIsNumericString:!1,isValidInputCharacter:function(e){return e===g||Jh(e)},isCharacterSame:function(e){var t=e.currentValue,n=e.lastValue,r=e.formattedValue,i=e.currentValueIndex,a=e.formattedValueIndex,o=t[i],u=r[a],f=lg(n,t).to,p=function(e){return y(e).indexOf(`.`)+l.length};return d===0&&c&&s&&t[f.start]===g&&p(t)<i&&p(r)>a?!1:i>=f.start&&i<f.end&&_&&_.includes(o)&&u===g?!0:o===u},onValueChange:te,format:v,removeFormatting:y,getCaretBoundary:function(t){return kg(t,e)},onKeyDown:function(e){var t=e.target,r=e.key,a=t.selectionStart,u=t.selectionEnd,d=t.value;if(d===void 0&&(d=``),(r===`Backspace`||r===`Delete`)&&u<l.length&&d!==`-`){e.preventDefault();return}if(a!==u){i(e);return}r===`Backspace`&&d[0]===`-`&&a===l.length+1&&n&&cg(t,1),s&&c&&(r===`Backspace`&&d[a-1]===g?(cg(t,a-1),e.preventDefault()):r===`Delete`&&d[a]===g&&e.preventDefault()),_?.includes(r)&&d[a]===g&&cg(t,a+1);var f=o===!0?`,`:o;r===`Backspace`&&d[a-1]===f&&cg(t,a-1),r===`Delete`&&d[a]===f&&cg(t,a+1),i(e)},onBlur:function(t){var n=w;n.match(/\d/g)||(n=``),r||(n=rg(n)),c&&s&&(n=sg(n,s,c)),n!==w&&te({formattedValue:Cg(n,e),value:n,floatValue:parseFloat(n)},{event:t,source:Gh.event}),a(t)}})}function Mg(e){var t=jg(e);return d.createElement(Sg,Object.assign({},t))}var Ng=class{parse(e){return e==null||e===``?``:String(e).replace(/[eE.,]/g,``).replace(/\d[+-]/g,``)}},Pg=/[.,+eE]/,Fg=e=>{e.key.length===1&&!e.ctrlKey&&!e.metaKey&&Pg.test(e.key)&&e.preventDefault()};function Ig({_label:e,_msg:t,_touched:n,_on:r,_required:i,value:a,thousandSeparator:o=!0,suffix:s=`€`,...c}){let l=r&&typeof r==`object`?r:void 0;return(0,q.jsx)(Mg,{...c,value:a,suffix:s,thousandSeparator:o,valueIsNumericString:!1,customInput:r=>{let a=r.value;return(0,q.jsx)(I,{...r,_value:a,_label:e,_msg:t,_touched:n,_required:i,_on:{onBlur:r.onBlur,onChange:r.onChange,onFocus:r.onFocus,onInput:r.onInput}})},onValueChange:e=>{let t=new Event(`input`);l?.onInput?.(t,e.floatValue)},onBlur:e=>{l?.onBlur?.(e.nativeEvent)}})}function Lg(e){let{name:t,control:n,rules:r,defaultValue:i,shouldUnregister:a,disabled:o,_label:s,_required:c,...l}=e;return(0,q.jsx)(zm,{name:t,control:n,rules:r,defaultValue:i,shouldUnregister:a,disabled:o,render:({field:e,fieldState:t})=>{let n=l._on;return(0,q.jsx)(Ig,{...l,_label:s,_required:c,value:e.value,_touched:t.isTouched,_msg:t.error?{_type:`error`,_description:t.error.message||String(t.error)}:void 0,_on:{onInput:(t,r)=>{e.onChange(r),n?.onInput?.(t,r)},onBlur:()=>e.onBlur()}})}})}function Rg(){let e=new Ng,[t,n]=d.useState(void 0),[r,i]=d.useState(-128),[a,o]=d.useState(!1),s=Uh({defaultValues:{currency:1e6},mode:`onTouched`}),c=s.watch();return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This example demonstrates formatting number input. The first example shows whole number formatting where decimal separators (. and ,) and scientific notation (e) are automatically removed on input. The second example shows currency formatting with react-number-format in a react-hook-form context.`})}),(0,q.jsxs)(`section`,{className:`w-full grid gap-4`,children:[(0,q.jsxs)(J,{id:`whole-number`,children:[(0,q.jsx)(M,{children:(0,q.jsx)(fe,{_label:`Whole number`,_step:1,_value:t??r,_on:{onKeyDown:Fg,onBlur:()=>{o(!0)},onInput:(t,r)=>{let a=e.parse(r),o=a===``?void 0:Number(a);n(o),i(o)}}})}),(0,q.jsx)(`pre`,{className:`text-base mt-2`,children:JSON.stringify({value:r,touched:a},null,2)})]}),(0,q.jsxs)(J,{id:`currency`,children:[(0,q.jsx)(M,{_on:{onSubmit:e=>{s.handleSubmit(async()=>{})(e)}},children:(0,q.jsx)(Lg,{control:s.control,name:`currency`,decimalScale:2,displayType:`input`,rules:{required:`Please enter a currency amount.`},_label:`Currency`,_required:!0})}),(0,q.jsx)(`pre`,{className:`text-base mt-2`,children:JSON.stringify(c,null,2)})]})]})]})}var zg={"input-number":{basic:em,"get-value":tm,"number-formatter":Rg}},Bg=(0,d.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(J,{...i(`black-bg`),className:`black-background`,children:(0,q.jsx)(pe,{...n,_label:`Passwort (Black background test)`})}),(0,q.jsx)(J,{...i(`icons-error`),children:(0,q.jsx)(pe,{...n,ref:r,_accessKey:`P`,_required:!0,_hint:zd,_msg:{_type:`error`,_description:Y},_placeholder:`Mit Icons`,_label:`Passwort`,_icons:{left:{icon:`kolicon-chevron-left`},right:{icon:`kolicon-chevron-right`}},_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,q.jsx)(J,{...i(`msg-info`),children:(0,q.jsx)(pe,{...n,_msg:{_type:`info`,_description:`Just a hint`},_label:`Passwort`,_touched:!0})}),(0,q.jsx)(J,{...i(`msg-warning`),children:(0,q.jsx)(pe,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`Passwort`,_touched:!0})}),(0,q.jsx)(J,{...i(`msg-success`),children:(0,q.jsx)(pe,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`Passwort`,_touched:!0})}),(0,q.jsx)(J,{...i(`msg-default`),children:(0,q.jsx)(pe,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`Passwort`,_touched:!0})}),(0,q.jsx)(J,{...i(`disabled`),children:(0,q.jsx)(pe,{...n,_disabled:!0,_msg:{_type:`error`,_description:Y},_label:`Passwort (Disabled)`,_touched:!0})}),(0,q.jsx)(J,{...i(`readonly`),children:(0,q.jsx)(pe,{...n,_readOnly:!0,_label:`Passwort (Readonly)`})}),(0,q.jsx)(J,{...i(`access-key`),children:(0,q.jsx)(pe,{...n,ref:r,_shortKey:`c`,_label:`With access key`})}),(0,q.jsx)(J,{...i(`short-key`),children:(0,q.jsx)(pe,{...n,ref:r,_shortKey:`s`,_label:`With short key`})})]})}),Vg=(0,d.forwardRef)(function(e,t){return(0,q.jsxs)(Wf,{children:[(0,q.jsx)(Gf,{heading:`Password`,children:(0,q.jsx)(Bg,{blockIdPrefix:`label`,...e})}),(0,q.jsx)(Gf,{heading:`Password (hideLabel)`,children:(0,q.jsx)(Bg,{blockIdPrefix:`hide-label`,snapshotOnly:`icons-error`,ref:t,...e,_hideLabel:!0})})]})}),Hg={"input-password":{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolInputPassword renders a password input field. The sample shows KolInputPassword in a form context with all variations and states.`})}),(0,q.jsx)(Uf,{RefComponent:Vg,showButtons:!1})]}),"get-value":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`Shows the callback value from `,(0,q.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,q.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,q.jsx)(Tp,{label:`KolInputPassword`,renderInput:e=>(0,q.jsx)(pe,{_label:`Password`,_on:e})})]}),"show-password":()=>{let e=(0,d.useRef)(null);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolInputPassword in the variant "visibility-toggle". It features a button to toggle between a visible and hidden password input.`})}),(0,q.jsx)(J,{id:`show-password`,children:(0,q.jsxs)(M,{className:`w-full`,children:[(0,q.jsx)(pe,{_placeholder:`With 'Show password' button`,_label:`Password`,ref:e,className:`block`,_visibilityToggle:!0}),(0,q.jsx)(pe,{_placeholder:`With 'Show password' button`,_label:`Password`,ref:e,className:`block`,_visibilityToggle:!0,_value:`Password`}),(0,q.jsx)(pe,{_placeholder:`With 'Show password' button and disabled`,_label:`Password`,ref:e,className:`block`,_disabled:!0,_visibilityToggle:!0})]})})]})}}},Ug=(0,d.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(J,{...i(`black-bg`),className:`black-background`,children:(0,q.jsx)(me,{...n,_options:`[{'disabled':true,'label':'Mrs. (disabled)','value':'Mrs.'},{'label':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`Salutation (Black background test)`})}),(0,q.jsx)(J,{...i(`error`),children:(0,q.jsx)(me,{...n,_required:!0,_msg:{_type:`error`,_description:Y},_touched:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`Salutation (with error)`})}),(0,q.jsx)(J,{...i(`horizontal`),children:(0,q.jsx)(me,{...n,ref:r,_orientation:`horizontal`,_required:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]`,_label:`Salutation (horizontal)`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,q.jsx)(J,{...i(`horizontal-disabled`),children:(0,q.jsx)(me,{...n,_disabled:!0,_orientation:`horizontal`,_required:!0,_msg:{_type:`error`,_description:Y},_touched:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]`,_label:`Salutation (horizontal with error)`})}),(0,q.jsx)(J,{...i(`disabled`),children:(0,q.jsx)(me,{...n,_disabled:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]`,_label:`Salutation`,_touched:!0})}),(0,q.jsx)(J,{...i(`horizontal-hints`),children:(0,q.jsx)(me,{...n,_orientation:`horizontal`,_required:!0,_msg:{_type:`error`,_description:Y},_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:zd})})]})}),Wg=(0,d.forwardRef)(function(e,t){return(0,q.jsxs)(Wf,{children:[(0,q.jsx)(Gf,{heading:`Radio`,children:(0,q.jsx)(Ug,{blockIdPrefix:`label`,...e})}),(0,q.jsx)(Gf,{heading:`Radio (hideLabel)`,children:(0,q.jsx)(Ug,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),Gg={"input-radio":{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolInputRadio renders a set of radio buttons. The sample shows KolInputRadio in a form context with all variations and states.`})}),(0,q.jsx)(Uf,{RefComponent:Wg,showButtons:!1})]}),"get-value":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`Shows the callback value from `,(0,q.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,q.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,q.jsx)(Tp,{label:`KolInputRadio`,renderInput:e=>(0,q.jsx)(me,{_label:`Option`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`}],_on:e})})]}),horizontal:()=>{let[e,t]=(0,d.useState)(!0),[n,r]=(0,d.useState)(`horizontal`),i=[{label:`Field 1`,value:1},{label:`Field 2`,value:2}];return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`This sample shows the `,(0,q.jsx)(`code`,{children:`horizontal`}),` and `,(0,q.jsx)(`code`,{children:`vertical`}),` orientation of KolInoutRadio. It also features a button to test re-rendering.`]})}),(0,q.jsxs)(`div`,{className:`flex gap-4`,children:[(0,q.jsx)(O,{_label:`Click me a few times`,_on:{onClick:()=>{t(e=>!e)}}}),(0,q.jsx)(P,{_label:`Switch orientation (horizontal/vertical)`,_on:{onChange:()=>{r(e=>e===`horizontal`?`vertical`:`horizontal`)}},_variant:`switch`})]}),e&&(0,q.jsx)(M,{children:(0,q.jsxs)(J,{id:`orientation`,className:`container my-4 d-grid gap-4`,children:[(0,q.jsx)(me,{_label:`Test (${n})`,_options:i,_orientation:n,_required:!0}),(0,q.jsx)(me,{_hideLabel:!0,_label:`Test (${n})`,_options:i,_orientation:n,_required:!0})]})})]})},object:()=>{let e=[{label:`Field 1`,value:{id:1,name:`Option 1`}},{label:`Field 2`,value:{id:2,name:`Option 2`}}];return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsxs)(X,{children:[`This sample shows KolInputRadio with `,(0,q.jsx)(`code`,{children:`object`}),` and `,(0,q.jsx)(`code`,{children:`undefined`}),` values.`]}),(0,q.jsxs)(M,{children:[(0,q.jsxs)(`p`,{children:[`In this example for `,(0,q.jsx)(`code`,{children:`KolInputRadio`}),`, the values of the options are defined as objects.`]}),(0,q.jsx)(J,{id:`object-value`,className:`container my-4 d-grid gap-4`,children:(0,q.jsx)(me,{_value:e[1].value,_options:e,_label:`Test (with object value)`})}),(0,q.jsxs)(`p`,{children:[`In this example for `,(0,q.jsx)(`code`,{children:`KolInputRadio`}),`, no value is set.`]}),(0,q.jsx)(J,{id:`no-value`,className:`container my-4 d-grid gap-4`,children:(0,q.jsx)(me,{_options:e,_label:`Test (without value)`})})]})]})}}},Kg=(0,d.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(J,{...i(`black-bg`),className:`black-background`,children:(0,q.jsx)(he,{...n,_min:0,_max:50,_msg:{_type:`error`,_description:Y},_label:`Slider (Black background test)`,_icons:{left:{icon:`kolicon-chevron-left`},right:{icon:`kolicon-chevron-right`}},_touched:!0})}),(0,q.jsx)(J,{...i(`error`),children:(0,q.jsx)(he,{...n,ref:r,_accessKey:`F`,_min:0,_max:50,_step:10,_hint:zd,_msg:{_type:`error`,_description:Y},_label:`Slider with error`,_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,q.jsx)(J,{...i(`msg-info`),children:(0,q.jsx)(he,{...n,_msg:{_type:`info`,_description:`Just a hint`},_label:`Slider`,_touched:!0})}),(0,q.jsx)(J,{...i(`msg-warning`),children:(0,q.jsx)(he,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`Slider`,_touched:!0})}),(0,q.jsx)(J,{...i(`msg-success`),children:(0,q.jsx)(he,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`Slider`,_touched:!0})}),(0,q.jsx)(J,{...i(`msg-default`),children:(0,q.jsx)(he,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`Slider`,_touched:!0})}),(0,q.jsx)(J,{...i(`disabled`),children:(0,q.jsx)(he,{...n,_disabled:!0,_min:0,_max:50,_label:`Slider (disabled)`})}),(0,q.jsx)(J,{...i(`access-key`),children:(0,q.jsx)(he,{...n,_min:0,_max:50,_label:`With access key`,_accessKey:`c`})}),(0,q.jsx)(J,{...i(`short-key`),children:(0,q.jsx)(he,{...n,_min:0,_max:50,_label:`With short key`,_shortKey:`s`})}),(0,q.jsx)(J,{...i(`small-range`),children:(0,q.jsx)(he,{...n,_min:0,_max:5,_label:`Small range (max=5): number input should not be narrower than 4 digits wide`})})]})}),qg=(0,d.forwardRef)(function(e,t){return(0,q.jsxs)(Wf,{children:[(0,q.jsx)(Gf,{heading:`Range`,children:(0,q.jsx)(Kg,{blockIdPrefix:`label`,...e})}),(0,q.jsx)(Gf,{heading:`Range (hideLabel)`,children:(0,q.jsx)(Kg,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),Jg={"input-range":{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolInputRange renders a pair of range- and number fields wich are synchronized with each other. The sample shows KolInputRange in a form context with all variations and states.`})}),(0,q.jsx)(Uf,{RefComponent:qg,showButtons:!1})]}),"get-value":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`Shows the callback value from `,(0,q.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,q.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,q.jsx)(Tp,{label:`KolInputRange`,renderInput:e=>(0,q.jsx)(he,{_label:`Range`,_on:e})})]})}},Yg=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates access keys and short keys for KolInputText. Access keys provide keyboard shortcuts for focusing inputs.`})}),(0,q.jsx)(J,{id:`access-key-value`,children:(0,q.jsx)(I,{_label:`With access key (Alt+F)`,_value:`Press Alt+F to focus`,_accessKey:`f`})}),(0,q.jsx)(J,{id:`short-key-value`,children:(0,q.jsx)(I,{_label:`With short key (Alt+N)`,_value:`Press Alt+N to focus`,_shortKey:`n`})}),(0,q.jsx)(J,{id:`access-key-placeholder`,children:(0,q.jsx)(I,{_label:`Access key (Alt+E)`,_value:``,_placeholder:`Email address`,_accessKey:`e`})}),(0,q.jsx)(J,{id:`short-key-placeholder`,children:(0,q.jsx)(I,{_label:`Short key (Alt+P)`,_value:``,_placeholder:`Phone number`,_shortKey:`p`})})]}),Xg=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(X,{children:[(0,q.jsxs)(`p`,{children:[`Demonstrates how to use `,(0,q.jsx)(`code`,{children:`_ariaDetails`}),` to reference an external element that provides detailed information about form inputs. All inputs below reference the same details box via their `,(0,q.jsx)(`code`,{children:`_ariaDetails`}),` prop.`]}),(0,q.jsxs)(`p`,{children:[`The `,(0,q.jsx)(`code`,{children:`_ariaDetails`}),` prop uses `,(0,q.jsx)(`code`,{children:`ElementInternals.ariaDetailsElements`}),` to cross the Shadow DOM boundary, making it accessible to screen readers. This works across all form input components: input-text, select, textarea, and combobox.`]})]}),(0,q.jsxs)(J,{id:`aria-details`,className:`grid gap-8`,children:[(0,q.jsxs)(`div`,{className:`grid gap-4 p-4 border border-gray-300 rounded`,children:[(0,q.jsx)(`h2`,{className:`text-lg font-semibold`,children:`Form Inputs with Shared Details`}),(0,q.jsx)(I,{_label:`Email Address`,_ariaDetails:`details-box`,_placeholder:`user@example.com`,_hint:`We'll never share your email`}),(0,q.jsx)(R,{_label:`Country`,_ariaDetails:`details-box`,_options:[{label:`Germany`,value:`de`},{label:`Austria`,value:`at`},{label:`Switzerland`,value:`ch`}]}),(0,q.jsx)(B,{_label:`Message`,_ariaDetails:`details-box`,_placeholder:`Enter your message here...`,_rows:4}),(0,q.jsx)(j,{_label:`Favorite Language`,_ariaDetails:`details-box`,_suggestions:[`TypeScript`,`JavaScript`,`Python`,`Go`,`Rust`,`Java`]})]}),(0,q.jsxs)(`div`,{id:`details-box`,className:`p-4 bg-blue-50 border-l-4 border-blue-400 rounded`,role:`complementary`,children:[(0,q.jsx)(`h3`,{className:`font-semibold text-blue-900 mb-2`,children:`💡 Form Details`}),(0,q.jsxs)(`ul`,{className:`text-sm text-blue-800 space-y-2`,children:[(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`Email:`}),` Please enter a valid email address. We use this to contact you about your submission.`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`Country:`}),` Select your country of residence. This helps us provide localized support.`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`Message:`}),` Provide as much detail as possible. The more information you give, the better we can assist you.`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`Language:`}),` Choose your preferred programming language. This helps us recommend relevant resources.`]})]})]})]})]}),Zg=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story showcases the component placed on a colored background.`})}),(0,q.jsxs)(J,{id:`background-default`,className:`grid gap-4 bg-blue-400 p-4 rounded`,children:[(0,q.jsx)(`strong`,{children:`Default background:`}),(0,q.jsx)(I,{_label:`First name`,_value:`John Doe`})]}),(0,q.jsxs)(J,{id:`background-unset`,className:`grid gap-4 bg-blue-400 p-4 rounded`,children:[(0,q.jsx)(`strong`,{children:`Unset background:`}),(0,q.jsx)(I,{style:{backgroundColor:`unset`},_label:`First name`,_value:`John Doe`})]})]}),Qg=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story showcases the most important InputText variants: default, required, validation error, disabled, read-only, search with clear button, and with icons.`})}),(0,q.jsx)(J,{id:`events`,children:(0,q.jsx)(I,{_label:`Name`,_value:`Anderson-Clark`,_on:{onBlur:$f,onChange:$f,onClick:$f,onFocus:$f,onInput:$f,onKeyDown:$f},onBlur:Qf,onChange:Qf,onClick:Qf,onFocus:Qf,onInput:Qf,onKeyDown:Qf})}),(0,q.jsx)(J,{id:`error`,children:(0,q.jsx)(I,{_label:`Name`,_required:!0,_msg:{_type:`error`,_description:`Please enter your name`},_touched:!0})}),(0,q.jsx)(J,{id:`hint`,children:(0,q.jsx)(I,{_label:`Name`,_required:!0,_hint:`Enter your surname`})}),(0,q.jsx)(J,{id:`disabled`,children:(0,q.jsx)(I,{_label:`Name`,_value:`Anderson-Clark`,_disabled:!0})}),(0,q.jsx)(J,{id:`info-popover`,children:(0,q.jsx)(I,{_label:`Name`,_required:!0,_value:`Anderson-Clark`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,q.jsx)(J,{id:`readonly-popover`,children:(0,q.jsx)(I,{_label:`Name`,_readOnly:!0,_value:`Anderson-Clark`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,q.jsx)(J,{id:`icon`,children:(0,q.jsx)(I,{_label:`Name`,_icons:`kolicon-house`,_value:`Anderson-Clark`})}),(0,q.jsx)(J,{id:`search`,children:(0,q.jsx)(I,{_label:`Search`,_type:`search`,_value:`test`,_placeholder:`Search with clear button`})})]}),$g=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample demonstrates the clear button for search type input fields.`})}),(0,q.jsx)(J,{id:`search-empty`,children:(0,q.jsx)(I,{_label:`Search`,_type:`search`,_placeholder:`Enter search term`})}),(0,q.jsx)(J,{id:`search-value`,children:(0,q.jsx)(I,{_label:`Search (with value)`,_type:`search`,_value:`test`,_placeholder:`Enter search term`})}),(0,q.jsx)(J,{id:`search-disabled`,children:(0,q.jsx)(I,{_label:`Search (disabled)`,_type:`search`,_disabled:!0,_value:`test`,_placeholder:`Disabled search`})}),(0,q.jsx)(J,{id:`text-no-clear-button`,children:(0,q.jsx)(I,{_label:`Text (no clear button)`,_type:`text`,_value:`test`,_placeholder:`Regular text input`})})]}),e_=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story showcases an input with a counter for the chars in the field. Maximal length is 30.`})}),(0,q.jsx)(J,{id:`counter`,children:(0,q.jsx)(I,{_label:`Name`,_icons:`kolicon-house`,_value:`Anderson-Clark`,_hasCounter:!0,_maxLength:30})})]}),t_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates the disabled state of KolInputText. Disabled inputs cannot be edited or focused.`})}),(0,q.jsx)(J,{id:`placeholder`,children:(0,q.jsx)(I,{_label:`Disabled with placeholder`,_placeholder:`Placeholder text`,_disabled:!0})}),(0,q.jsx)(J,{id:`value`,children:(0,q.jsx)(I,{_label:`Disabled with value`,_value:`This field is disabled`,_disabled:!0})}),(0,q.jsx)(J,{id:`error`,children:(0,q.jsx)(I,{_label:`Disabled with error message`,_value:`Invalid value`,_msg:{_type:`error`,_description:`Error message`},_disabled:!0,_touched:!0})}),(0,q.jsx)(J,{id:`enabled`,children:(0,q.jsx)(I,{_label:`Comparison: Enabled`,_value:`This field is enabled`})})]}),n_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolInputText with expert slot. The expert slot allows for complex custom content beyond simple text inputs.`})}),(0,q.jsx)(J,{id:`text`,children:(0,q.jsx)(I,{_label:``,_type:`text`,children:(0,q.jsx)(`span`,{slot:`expert`,children:`I am more than just a input field`})})}),(0,q.jsx)(J,{id:`badge`,children:(0,q.jsx)(I,{_label:``,_type:`text`,_value:`Complex example`,children:(0,q.jsxs)(`div`,{slot:`expert`,className:`flex items-center gap-2`,children:[(0,q.jsx)(D,{_label:`Premium`,_color:`#1a73e8`}),(0,q.jsx)(se,{_icons:`kolicon-check`,_label:``}),(0,q.jsx)(`span`,{children:`Verified account with premium features`})]})})}),(0,q.jsx)(J,{id:`note`,children:(0,q.jsx)(I,{_label:``,_type:`text`,_placeholder:`Enter your email`,children:(0,q.jsxs)(`div`,{slot:`expert`,style:{padding:`0.5rem`,backgroundColor:`#f0f0f0`,borderRadius:`4px`},children:[(0,q.jsx)(`strong`,{children:`Note:`}),` This email will be used for account recovery and notifications.`]})})}),(0,q.jsx)(J,{id:`required`,children:(0,q.jsx)(I,{_label:``,_type:`text`,_required:!0,children:(0,q.jsxs)(`div`,{slot:`expert`,className:`inline-block`,children:[(0,q.jsx)(`span`,{className:`expert-slot-required-label`,children:`Username`}),(0,q.jsx)(xe,{_label:`Help`,_icons:`kolicon-alert-info`,_variant:`ghost`,_hideLabel:!0,_inline:!0,children:(0,q.jsx)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:`You have to take care of the asterics on your own!`})})]})})}),(0,q.jsx)(J,{id:`readonly`,children:(0,q.jsx)(I,{_label:``,_type:`text`,_readOnly:!0,_value:`(read only) is also not appended`,children:(0,q.jsxs)(`div`,{slot:`expert`,className:`inline-block`,children:[(0,q.jsx)(`span`,{className:`expert-slot-required-label`,children:`Username`}),(0,q.jsx)(xe,{_label:`Help`,_icons:`kolicon-alert-info`,_variant:`ghost`,_hideLabel:!0,_inline:!0,children:(0,q.jsx)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:`Readonly is also not appended`})})]})})})]}),r_=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`Shows the callback value from `,(0,q.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,q.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,q.jsx)(Tp,{label:`KolInputText`,renderInput:e=>(0,q.jsx)(I,{_label:`Name`,_on:e})})]}),i_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`This story demonstrates the `,(0,q.jsx)(`code`,{children:`_hideLabel`}),` feature for KolInputText. It allows hiding the label visually while keeping it accessible for screen readers.`]})}),(0,q.jsx)(J,{id:`search`,children:(0,q.jsx)(I,{_hideLabel:!0,_label:`Search`,_placeholder:`Search...`,_type:`search`})}),(0,q.jsx)(J,{id:`error`,children:(0,q.jsx)(I,{_hideLabel:!0,_label:`Email`,_placeholder:`Enter email`,_msg:{_type:`error`,_description:`Invalid email format`},_touched:!0})}),(0,q.jsx)(J,{id:`address-group`,children:(0,q.jsxs)(`fieldset`,{className:`grid md:grid-cols-2 gap-4`,children:[(0,q.jsx)(`legend`,{children:`Street Address`}),(0,q.jsx)(E,{className:`col-span-2`,_level:0,_type:`error`,children:`Please complete the address`}),(0,q.jsx)(I,{_hideLabel:!0,_hideMsg:!0,_label:`Street name`,_placeholder:`Street name`,_msg:{_type:`error`,_description:`Please complete the address`},_touched:!0}),(0,q.jsx)(I,{_hideLabel:!0,_hideMsg:!0,_label:`House number`,_placeholder:`Number`,_msg:{_type:`error`,_description:`Please complete the address`},_touched:!0})]})})]}),a_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`This sample shows the `,(0,q.jsx)(`code`,{children:`_hideMsg`}),` feature for KolInputText. It allows to hide the message from an input field and can be used, when the message (e.g. error) is already shown somewhere else, e.g. for a group of inputs.`]})}),(0,q.jsx)(J,{id:`single-error`,children:(0,q.jsx)(I,{_msg:{_type:`error`,_description:`Error message`},_label:`Input with error`,_touched:!0})}),(0,q.jsx)(J,{id:`combined-error`,children:(0,q.jsxs)(`fieldset`,{className:`grid md:grid-cols-2 gap-4`,children:[(0,q.jsx)(`legend`,{children:`Combined input field`}),(0,q.jsx)(E,{className:`col-span-2`,_level:0,_type:`error`,children:`This is a combined error message`}),(0,q.jsx)(I,{_msg:{_type:`error`,_description:`This is a combined error message`},_hideMsg:!0,_label:`First input`,_touched:!0}),(0,q.jsx)(I,{_msg:{_type:`error`,_description:`This is a combined error message`},_hideMsg:!0,_label:`Second input with error`,_touched:!0})]})})]}),o_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates all available message types for KolInputText: default, info, error, warning, and success.`})}),(0,q.jsx)(J,{id:`msg-default`,children:(0,q.jsx)(I,{_label:`Default message`,_value:`Valid value`,_msg:{_type:`default`,_description:`This is a default message`},_touched:!0})}),(0,q.jsx)(J,{id:`msg-error`,children:(0,q.jsx)(I,{_label:`Error message`,_value:`Invalid value`,_msg:{_type:`error`,_description:`This is an error message`},_touched:!0})}),(0,q.jsx)(J,{id:`msg-info`,children:(0,q.jsx)(I,{_label:`Info message`,_value:`Some value`,_msg:{_type:`info`,_description:`This is an informational message`},_touched:!0})}),(0,q.jsx)(J,{id:`msg-success`,children:(0,q.jsx)(I,{_label:`Success message`,_value:`Valid value`,_msg:{_type:`success`,_description:`This is a success message`},_touched:!0})}),(0,q.jsx)(J,{id:`msg-warning`,children:(0,q.jsx)(I,{_label:`Warning message`,_value:`Valid value`,_msg:{_type:`warning`,_description:`This is a warning message`},_touched:!0})})]}),s_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsxs)(X,{children:[(0,q.jsx)(`p`,{children:`Regression sample for #9073: when both _msg and _hasCounter are set, aria-describedby must reference both the message and counter elements.`}),(0,q.jsx)(`p`,{children:`Open DevTools and inspect each input to confirm aria-describedby contains both IDs.`})]}),(0,q.jsx)(J,{id:`warning`,children:(0,q.jsx)(I,{_label:`Warning + Counter`,_msg:{_type:`warning`,_description:`Bitte prüfen Sie Ihre Eingabe.`},_hasCounter:!0,_maxLength:30})}),(0,q.jsx)(J,{id:`error`,children:(0,q.jsx)(I,{_label:`Error + Counter (touched)`,_msg:{_type:`error`,_description:`Pflichtfeld – bitte ausfüllen.`},_hasCounter:!0,_maxLength:30,_touched:!0})}),(0,q.jsx)(J,{id:`info`,children:(0,q.jsx)(I,{_label:`Info + Counter`,_msg:{_type:`info`,_description:`Hinweis: maximal 20 Zeichen.`},_hasCounter:!0,_maxLength:20})})]}),c_=`^[A-Za-z]{3}-\\d{3}$`,l_=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample demonstrates HTML5 pattern validation for both native input and KolInputText components.`})}),(0,q.jsx)(J,{id:`pattern`,children:(0,q.jsxs)(`form`,{className:`grid gap-4`,children:[(0,q.jsxs)(`div`,{className:`grid gap-2`,children:[(0,q.jsx)(`label`,{htmlFor:`native-input`,children:`Native Input (Pattern: AAA-123, case-insensitive)`}),(0,q.jsx)(`input`,{id:`native-input`,name:`native-input`,pattern:c_,type:`text`})]}),(0,q.jsx)(I,{_label:`KoliBri Input (Pattern: AAA-123, case-insensitive)`,_name:`kolibri-input`,_pattern:c_,_hint:`Note: This input is not linked to the form element. The validation inside the Shadow DOM is currently not triggered on form submit.`}),(0,q.jsx)(`div`,{children:(0,q.jsx)(`button`,{type:`submit`,children:`Submit`})})]})})]}),u_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates the placeholder feature of KolInputText.`})}),(0,q.jsx)(J,{id:`first-name`,children:(0,q.jsx)(I,{_label:`First name`,_placeholder:`Enter your first name`})}),(0,q.jsx)(J,{id:`email`,children:(0,q.jsx)(I,{_label:`Email address`,_placeholder:`user@example.com`})}),(0,q.jsx)(J,{id:`tel`,children:(0,q.jsx)(I,{_label:`Phone number`,_placeholder:`+49 123 456789`,_type:`tel`})}),(0,q.jsx)(J,{id:`url`,children:(0,q.jsx)(I,{_label:`Website`,_placeholder:`https://example.com`,_type:`url`})}),(0,q.jsx)(J,{id:`search`,children:(0,q.jsx)(I,{_label:`Search`,_placeholder:`Search...`,_type:`search`})})]}),d_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates the readonly state of KolInputText. Readonly inputs can be focused but not edited.`})}),(0,q.jsx)(J,{id:`placeholder`,children:(0,q.jsx)(I,{_label:`Readonly with placeholder`,_placeholder:`Placeholder text`,_readOnly:!0})}),(0,q.jsx)(J,{id:`value`,children:(0,q.jsx)(I,{_label:`Readonly with value`,_value:`This field is readonly`,_readOnly:!0})}),(0,q.jsx)(J,{id:`info`,children:(0,q.jsx)(I,{_label:`Readonly with info message`,_value:`Read-only value`,_msg:{_type:`info`,_description:`This field cannot be edited`},_readOnly:!0,_touched:!0})}),(0,q.jsx)(J,{id:`editable`,children:(0,q.jsx)(I,{_label:`Comparison: Editable`,_value:`This field is editable`})})]}),f_=()=>{let e=d.useRef(null);function t(){e.current?.focus(),e.current?.setSelectionStart(8)}function n(){e.current?.focus(),e.current?.setSelectionRange(2,5)}function r(){e.current?.focus(),e.current?.setRangeText(`INSERTED`,5,9,`select`)}return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows how to change the selection in a KolInputText.`})}),(0,q.jsxs)(J,{id:`select-range`,children:[(0,q.jsx)(I,{_value:`Very long value`,_label:`Text Input Label`,ref:e}),(0,q.jsx)(k,{_label:`Set Start`,onClick:t}),(0,q.jsx)(k,{_label:`Set Range`,onClick:n}),(0,q.jsx)(k,{_label:`Set Range Text`,onClick:r})]})]})},p_={_icons:`kolicon-alert-info`,_hideLabel:!0},m_={left:{icon:`kolicon-eye`},right:{icon:`kolicon-check`}},h_=()=>{let e=yc.getInstance(document),t={onClick:()=>{e.enqueue({description:`Smart-Button clicked`,label:`Toaster`,type:`default`})}};return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows the smart button feature for KolInputText. It allows the usage of a button inside the bnput.`})}),(0,q.jsx)(J,{id:`enabled`,children:(0,q.jsx)(I,{_label:`Input with button and icons`,_type:`text`,_smartButton:{...p_,_label:`Open Toast`,_on:t},_icons:m_})}),(0,q.jsx)(J,{id:`disabled`,children:(0,q.jsx)(I,{_label:`Disabled input with button and icons`,_disabled:!0,_type:`text`,_smartButton:{...p_,_label:`Disabled Button`},_icons:m_})})]})},g_=class{SEPARATOR=` `;CHARS_PER_GROUP=4;KEEP_ALPHANUM=/[^a-zA-Z0-9]/g;parse(e){return e.replace(this.KEEP_ALPHANUM,``).toUpperCase()}format(e){let t=this.parse(e),n=RegExp(`(.{${this.CHARS_PER_GROUP}})(?!$)`,`g`);return t.replace(n,`$1${this.SEPARATOR}`)}adjustCursorPosition(e,t,n){let r=this.format(e),i=this.format(t);if(n>=r.length)return i.length;let a=0;for(let e=0;e<n&&e<r.length;e++)r[e]!==this.SEPARATOR&&a++;let o=0;for(let e=0;e<i.length;e++)if(i[e]!==this.SEPARATOR&&o++===a)return e;return i.length}},__=class{LOCALE=navigator.language;CURRENCY_SYMBOL=` €`;parse(e){let t=e.replace(/[^\d.,]/g,``),n=t.lastIndexOf(`,`),r=t.lastIndexOf(`.`),i;return i=n>r?t.replace(/\./g,``).replace(`,`,`.`):r>n?t.replace(/,/g,``):t.replace(/[.,]/g,``),parseFloat(i)||0}format(e){let t=typeof e==`string`?this.parse(e):e;return new Intl.NumberFormat(this.LOCALE,{minimumFractionDigits:2,maximumFractionDigits:2}).format(t)+this.CURRENCY_SYMBOL}adjustCursorPosition(e,t,n){let r=this.format(e),i=this.format(t);if(n>=r.length)return i.length;let a=0;for(let e=0;e<n&&e<r.length;e++)/\d/.test(r[e])&&a++;let o=0;for(let e=0;e<i.length;e++)if(/\d/.test(i[e])&&o++===a)return e;return i.length}};function v_(){let e=new g_,t=new __,n=Uh({defaultValues:{iban:`DE89370400440532013000`}}),r=Uh({defaultValues:{currency:1e6}}),i=t=>{let r=t.target,i=e.parse(r.value),a=e.adjustCursorPosition(n.getValues(`iban`),i,r.selectionStart||0);n.setValue(`iban`,i),requestAnimationFrame(()=>{requestAnimationFrame(()=>{r.setSelectionRange(a,a)})})};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(X,{children:[(0,q.jsx)(`p`,{children:`This example demonstrates two different formatting strategies for input fields:`}),(0,q.jsxs)(`ul`,{children:[(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`Live Formatting (IBAN):`}),` Formatting happens while typing. The value is immediately formatted and displayed with intelligent cursor positioning. Best for fixed-format values where users expect visual feedback during input.`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`On-Blur Formatting (Currency):`}),` Formatting happens when leaving the field (onBlur event). Allows free typing without interruption. Best for numeric values where users might input in various formats.`]})]}),(0,q.jsxs)(`p`,{children:[(0,q.jsx)(`strong`,{children:`Key Concept:`}),` The form model always stores the `,(0,q.jsx)(`em`,{children:`unformatted`}),` value (raw IBAN string, numeric currency value), while the input field displays the `,(0,q.jsx)(`em`,{children:`formatted`}),` value for better readability.`]})]}),(0,q.jsxs)(J,{id:`iban`,className:`w-full flex flex-col`,children:[(0,q.jsxs)(`div`,{className:`p-2`,children:[(0,q.jsx)(N,{_label:`Live Formatting - IBAN`,_level:2}),(0,q.jsx)(`p`,{className:`text-sm mb-2`,children:`Formatting occurs during input with intelligent cursor control`}),(0,q.jsx)(M,{children:(0,q.jsx)(`form`,{onSubmit:n.handleSubmit(async()=>{}),children:(0,q.jsx)(zm,{name:`iban`,control:n.control,render:({field:t})=>(0,q.jsx)(`div`,{className:`block mt-2`,children:(0,q.jsx)(I,{id:`field-iban`,_label:`IBAN`,_value:e.format(t.value??``),_required:!0,_on:{onInput:i,onBlur:t.onBlur}})})})})})]}),(0,q.jsxs)(`div`,{className:`p-2`,children:[(0,q.jsx)(N,{_label:`Model (Unformatted Value)`,_level:2}),(0,q.jsx)(`pre`,{className:`text-base`,children:JSON.stringify(n.watch(),null,2)})]})]}),(0,q.jsxs)(J,{id:`currency`,className:`w-full flex flex-col`,children:[(0,q.jsxs)(`div`,{className:`p-2`,children:[(0,q.jsx)(N,{_label:`On-Blur Formatting - Currency`,_level:2}),(0,q.jsx)(`p`,{className:`text-sm mb-2`,children:`Formatting occurs when leaving the field (onBlur) for uninterrupted input`}),(0,q.jsx)(M,{children:(0,q.jsx)(`form`,{onSubmit:r.handleSubmit(async()=>{}),children:(0,q.jsx)(zm,{name:`currency`,control:r.control,render:({field:e})=>(0,q.jsx)(`div`,{className:`block mt-2`,children:(0,q.jsx)(I,{id:`field-currency`,_label:`Currency`,_value:t.format(e.value??0),_on:{onBlur:n=>{let r=n.target,i=t.parse(r.value);e.onChange(i),e.onBlur()}}})})})})})]}),(0,q.jsxs)(`div`,{className:`p-2`,children:[(0,q.jsx)(N,{_label:`Model (Numeric Value)`,_level:2}),(0,q.jsx)(`pre`,{className:`text-base`,children:JSON.stringify(r.watch(),null,2)})]})]})]})}var y_={"input-text":{"aria-details":Xg,basic:Qg,"clear-button":$g,"get-value":r_,"message-types":o_,placeholder:u_,disabled:t_,readonly:d_,counter:e_,"msg-and-counter":s_,"access-short-key":Yg,"hide-label":i_,"hide-msg":a_,"text-formatter":v_,"smart-button":h_,"expert-slot":n_,pattern:l_,"select-range":f_,background:Zg,variant:()=>{let[e]=Rr(),t=e.get(`theme`)??Rf(),n=(0,d.useMemo)(()=>t?Of(t,`inputVariants`):[],[t]);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story showcases input variants depending on your choosen theme.`})}),(0,q.jsx)(`div`,{className:`grid grid-cols-2 gap-8 p-8`,children:!Array.isArray(n)||n.length===0?(0,q.jsx)(J,{id:`no-variants`,children:(0,q.jsx)(`p`,{children:`This theme has no variants for inputs.`})}):n.map(e=>(0,q.jsxs)(J,{id:`variant-${Fd(String(e))}`,heading:`Variante: ${String(e)}`,className:`grid gap-4 p-8`,children:[(0,q.jsx)(I,{_label:`Input Text`,_hint:`Enter your surname`,_variant:e,_msg:{_type:`error`,_description:`Error message`},_touched:!0,_hasCounter:!0}),(0,q.jsx)(pe,{_label:`Input Passwort`,_variant:e}),(0,q.jsx)(le,{_label:`Input Color`,_variant:e}),(0,q.jsx)(F,{_label:`Input Date`,_variant:e}),(0,q.jsx)(ue,{_label:`Input Email`,_variant:e}),(0,q.jsx)(de,{_label:`Input File`,_variant:e}),(0,q.jsx)(fe,{_label:`Input Number`,_variant:e}),(0,q.jsx)(he,{_label:`Input Range`,_variant:e}),(0,q.jsx)(R,{_label:`Select`,_options:[{label:`Please select…`,value:``},{label:`One`,value:`one`},{label:`Two`,value:`two`}],_variant:e}),(0,q.jsx)(we,{_label:`Single Select`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`}],_variant:e}),(0,q.jsx)(j,{_label:`Combobox`,_suggestions:`['Herr','Frau','Firma']`,_variant:e}),(0,q.jsx)(me,{_label:`Radio Group`,_options:[{label:`Field 1`,value:1},{label:`Field 2`,value:2}],_variant:e}),(0,q.jsx)(B,{_label:`Textarea`,_variant:e})]},e))})]})}}},b_={kolibri:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolKolibri renders the KoliBri logo. The sample show the logo with and without label and with a custom color.`})}),(0,q.jsxs)(J,{id:`basic`,children:[(0,q.jsx)(N,{class:`block`,_level:3,_label:`Regular`}),(0,q.jsx)(ge,{class:`block`,style:{width:300}}),(0,q.jsx)(N,{class:`block`,_level:3,_label:`Without Label`}),(0,q.jsx)(ge,{class:`block`,style:{width:300},_labeled:!1}),(0,q.jsx)(N,{class:`block`,_level:3,_label:`Customized color`}),(0,q.jsx)(ge,{class:`block`,style:{width:300},_color:`#cc006e`})]})]})}},x_={"link-button":{basic:()=>{let[e]=Rr(),t=e.get(`theme`)??Rf(),n=(0,d.useMemo)(()=>t?Of(t,`buttonVariants`):[],[t]),{dummyClickEventHandler:r}=Yd(),i={onClick:r};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolLinkButton renders a link that looks like a button. The sample shows the different theme exclusive styling variants.`})}),(0,q.jsx)(`div`,{className:`grid gap-8`,children:(0,q.jsxs)(J,{id:`variants`,children:[(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4 items-center`,children:!Array.isArray(n)||n.length===0?(0,q.jsx)(`p`,{children:`This theme has no variants for this component.`}):n.map(e=>(0,q.jsx)(_e,{_href:`#/back-page`,_icons:`kolicon-house`,_label:`${e}`,_variant:e,_on:i},e))}),(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4 items-center`,children:!Array.isArray(n)||n.length===0?(0,q.jsx)(`p`,{children:`This theme has no variants for this component.`}):n.map(e=>(0,q.jsx)(_e,{_href:`#/back-page`,_hideLabel:!0,_icons:`kolicon-settings`,_label:`${e}`,_variant:e,_on:i},e))})]})})]})},"aria-description":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolLinkButton with aria-description`})}),(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,q.jsx)(_e,{_href:`#/back-page`,_label:`Link Button Text without area description`}),(0,q.jsx)(_e,{_href:`#/back-page`,_label:`Link Button Text`,_ariaDescription:`Link Button Aria Description`}),(0,q.jsx)(_e,{_href:`#/back-page`,_label:`Link Button Text`,_ariaDescription:`Link Button Aria Description with external Link`,_target:`_blank`})]})]}),target:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolLinkButton with diffrent Targets`})}),(0,q.jsxs)(J,{id:`target`,className:`flex flex-wrap gap-2`,children:[(0,q.jsx)(_e,{_href:`#/back-page`,_label:`Link Button Target default`}),(0,q.jsx)(_e,{_href:`#/back-page`,_label:`Link Button Target _self`,_target:`_blank`}),(0,q.jsx)(_e,{_href:`#/back-page`,_label:`Link Button Target _blank`,_target:`_blank`})]})]})}},S_={link:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolLink renders a link. This sample shows disabled links, links with hidden label, the boolean _inline property and links with different CSS`,` `,(0,q.jsx)(`code`,{children:`display`}),`-properties.`]})}),(0,q.jsxs)(J,{id:`basic`,children:[(0,q.jsx)(L,{_href:`#/back-page`,_inline:!1,_label:`Simple Link`}),(0,q.jsx)(L,{_disabled:!0,_href:`#/back-page`,_inline:!1,_label:`Simple Link (disabled)`}),(0,q.jsx)(L,{_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_inline:!1,_label:`Icon Link`}),(0,q.jsx)(L,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_inline:!1,_label:`Icon Link (disabled)`}),(0,q.jsxs)(`p`,{children:[`In this paragraph, a link is inserted that contains no additional attributes. `,(0,q.jsx)(L,{_href:`#/back-page`,_label:`Simple Link`}),` It is rendered by default as a `,(0,q.jsx)(`strong`,{children:`inline element`}),`.`]}),(0,q.jsxs)(`p`,{children:[`In this paragraph, a link is inserted that is rendered as an inline-block element.`,` `,(0,q.jsx)(L,{class:`d-inline-block`,_accessKey:`S`,_href:`#/back-page`,_label:`Simple Link`}),`. This allows you to assign width, height, and other properties to it using CSS styles.`,(0,q.jsx)(`br`,{}),(0,q.jsx)(`br`,{}),`After that, there is a link that is rendered as a block element. `,(0,q.jsx)(L,{class:`d-block`,_href:`#/back-page`,_label:`Simple Link`}),`, therefore, I span the entire width of the parent element, causing a line break.`]}),(0,q.jsx)(L,{_href:`#/back-page`,_inline:!1,_label:`Special Variant Link`,_variant:`theme-link`})]})]}),icons:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolLink with icons in different alignments and combinations.`})}),(0,q.jsxs)(J,{id:`icons`,children:[(0,q.jsx)(L,{_icons:`kolicon-house`,_label:`I am a link with an icon on the left`,_href:`#/back-page`}),(0,q.jsx)(L,{_icons:{right:`kolicon-house`},_label:`I am a link with an icon on the right`,_href:`#/back-page`}),(0,q.jsx)(L,{_icons:{top:`kolicon-house`},_label:`I am a link with an icon at the top`,_href:`#/back-page`}),(0,q.jsx)(L,{_icons:{bottom:`kolicon-house`},_label:`I am a link with icon below`,_href:`#/back-page`}),(0,q.jsx)(L,{_icons:{top:`kolicon-house`,right:`kolicon-house`,bottom:`kolicon-house`,left:`kolicon-house`},_label:`I am a link with all icons`,_href:`#/back-page`}),(0,q.jsx)(L,{_icons:`kolicon-house`,_href:`https://public-ui.github.io/`,_label:`I am a external link with an icon on the left`,_target:`_blank`}),(0,q.jsx)(L,{_icons:{right:`kolicon-house`},_href:`https://public-ui.github.io/`,_label:`I am a external linkwith an icon on the right`,_target:`_blank`}),(0,q.jsx)(L,{_icons:{top:`kolicon-house`},_href:`https://public-ui.github.io/`,_label:`I am a external link with an icon at the top`,_target:`_blank`}),(0,q.jsx)(L,{_icons:{bottom:`kolicon-house`},_href:`https://public-ui.github.io/`,_label:`I am a external link with icon below`,_target:`_blank`}),(0,q.jsx)(L,{_href:`https://public-ui.github.io/`,_label:`I am a external link with all icons`,_target:`_blank`,_icons:{top:`kolicon-house`,right:`kolicon-house`,bottom:`kolicon-house`,left:`kolicon-house`}})]})]}),image:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolLink can be used with slot-content instead of a label as well. This sample demonstrates the slot content used to display an image.`})}),(0,q.jsxs)(J,{id:`image`,children:[(0,q.jsx)(L,{_href:`#/back-page`,_label:`I am a link that is rendered as text`}),(0,q.jsx)(L,{_href:`#/back-page`,_label:``,children:(0,q.jsx)(ce,{_alt:`KoliBri design system illustration showing three people working on laptops surrounded by UI components, charts, and the KoliBri hummingbird logo`,_src:`sample-image.png`,className:`w-image`,slot:`expert`})})]})]}),target:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`This sample shows KolLink with different `,(0,q.jsx)(`code`,{children:`_target`}),`-properties.`]})}),(0,q.jsx)(J,{id:`target`,className:`text-base d-flex gap-4`,children:(0,q.jsxs)(`ul`,{children:[(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:`#/back-page`,_label:`Link without target`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:`#/back-page`,_label:`Link with target (_self)`,_target:`_self`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:`#/back-page`,_label:`Link with target (_blank)`,_target:`_blank`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`Link without target`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`Link with target (_self)`,_target:`_self`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`Link with target (_blank)`,_target:`_blank`})})]})})]}),"aria-description":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolLink with aria-description`})}),(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(L,{_href:`#/back-page`,_label:`Link Text without aria description`}),(0,q.jsx)(L,{_href:`#/back-page`,_label:`Link Text`,_ariaDescription:`Link Area Description`})]})]}),"access-key":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolLink with access key. The access keys can be used to trigger the buttons using the keyboard.`})}),(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(L,{_href:`#/back-page`,_label:`With S access key`,_accessKey:`S`}),(0,q.jsx)(L,{_href:`#/back-page`,_label:`Very small s`,_accessKey:`s`}),(0,q.jsx)(L,{_href:`#/back-page`,_label:`Access key does not appear in label`,_accessKey:`s`}),(0,q.jsx)(L,{_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_label:`access key without label`,_accessKey:`s`})]})]}),"short-key":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolButton with short key without functionality. The short key is purely visual. Its functionality needs to be developed separately.`})}),(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(L,{_href:`#/back-page`,_label:`With S short key`,_shortKey:`S`}),(0,q.jsx)(L,{_href:`#/back-page`,_label:`Very small s`,_shortKey:`s`}),(0,q.jsx)(L,{_href:`#/back-page`,_label:`Short key does not appear in label`,_shortKey:`s`}),(0,q.jsx)(L,{_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_label:`short key without label`,_shortKey:`s`})]})]}),"react-router":()=>{let e=hn();return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows how KolLink works with react-router. Primary click uses preventDefault() and navigate(...), while right click open in new tab still follows _href. Make sure _href and navigate(...) point to the same path.`})}),(0,q.jsx)(`div`,{className:`grid gap-4`,children:(0,q.jsx)(L,{_href:`/back-page`,_inline:!1,_label:`Go to overview`,_on:{onClick:t=>{t.preventDefault(),e(`/back-page`)}}})})]})},"linked-headline":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows a linked headline with anchor.`})}),(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(L,{_href:`/#/link/linked-headline#headline1`,_label:``,children:(0,q.jsx)(N,{_label:`I'm H2-heading number one`,_level:2,slot:`expert`,id:`headline1`})}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(L,{_href:`/#/link/linked-headline#headline2`,_label:``,children:(0,q.jsx)(N,{_label:`I'm H2-heading number two`,_level:2,slot:`expert`,id:`headline2`})}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(L,{_href:`/#/link/linked-headline#headline3`,_label:``,children:(0,q.jsx)(N,{_label:`I'm H2-heading number three`,_level:2,slot:`expert`,id:`headline3`})}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})]})]}),"link-variant":()=>{let[e]=Rr(),t=e.get(`theme`)??Rf(),n=(0,d.useMemo)(()=>t?Of(t,`linkVariants`):[],[t]);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows the theme specific variants of KolLink.`})}),(0,q.jsxs)(J,{id:`variants`,children:[(0,q.jsx)(L,{_href:`#/back-page`,_label:`Normal link without a variant`}),!Array.isArray(n)||n.length===0?(0,q.jsx)(`p`,{children:`This theme has no variants for this component.`}):n.map(e=>(0,q.jsx)(L,{_href:`#/back-page`,_label:`Theme exclusive variant: ${e}`,_variant:e},e))]})]})}}},C_={meter:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolMeter renders a semantic meter element. You can use _min (default 0), _max (default 1) and _unit (default %) to customize it.`})}),(0,q.jsx)(`div`,{className:`grid gap-8`,children:(0,q.jsx)(J,{id:`basic`,heading:`Basic`,children:(0,q.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,q.jsx)(ve,{_label:`Storage used`,_value:.5}),(0,q.jsx)(ve,{_label:`Weight`,_max:100,_value:75,_unit:`kg`}),(0,q.jsx)(ve,{_label:`Temperature`,_min:-100,_max:100,_value:-50,_unit:`°C`})]})})})]}),dynamic:()=>{let[e,t]=(0,d.useState)(120);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolMeter announces value changes immediately to screen readers. Use the buttons below to verify the live region updates without delay.`})}),(0,q.jsx)(`div`,{className:`grid gap-8`,children:(0,q.jsxs)(J,{id:`dynamic-value`,heading:`Dynamic value`,children:[(0,q.jsx)(ve,{_label:`Used hard disk space`,_max:500,_min:0,_unit:`GB`,_value:e}),(0,q.jsxs)(`div`,{className:`flex gap-4`,children:[(0,q.jsx)(O,{_label:`120 GB`,_on:{onClick:()=>t(120)},_variant:`secondary`}),(0,q.jsx)(O,{_label:`240 GB`,_on:{onClick:()=>t(240)},_variant:`secondary`}),(0,q.jsx)(O,{_label:`360 GB`,_on:{onClick:()=>t(360)},_variant:`secondary`}),(0,q.jsx)(O,{_label:`480 GB`,_on:{onClick:()=>t(480)},_variant:`secondary`})]})]})})]})},optimum:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`The _optimum prop indicates the preferred value. Combined with _low and _high, the browser uses it to determine whether the current value is in a good, acceptable or bad zone – which affects the semantic coloring.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`optimum-medium-zone-good`,heading:`Optimum in medium zone (good = medium)`,children:(0,q.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,q.jsx)(ve,{_label:`Temperature is nice`,_min:-20,_max:60,_low:10,_high:30,_optimum:20,_value:20,_unit:`°C`}),(0,q.jsx)(ve,{_label:`It's too cold`,_min:-20,_max:60,_low:10,_high:30,_optimum:20,_value:-10,_unit:`°C`}),(0,q.jsx)(ve,{_label:`It's too hot`,_min:-20,_max:60,_low:10,_high:30,_optimum:20,_value:50,_unit:`°C`})]})}),(0,q.jsx)(J,{id:`optimum-low-zone-good-low`,heading:`Optimum in low zone (good = low)`,children:(0,q.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,q.jsx)(ve,{_label:`Memory Usage`,_max:100,_value:10,_low:25,_high:75,_optimum:10}),(0,q.jsx)(ve,{_label:`Memory Usage`,_max:100,_value:50,_low:25,_high:75,_optimum:10}),(0,q.jsx)(ve,{_label:`Memory Usage`,_max:100,_value:90,_low:25,_high:75,_optimum:10})]})}),(0,q.jsx)(J,{id:`optimum-high-zone-good-high`,heading:`Optimum in high zone (good = high)`,children:(0,q.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,q.jsx)(ve,{_label:`Battery level`,_max:100,_value:10,_low:25,_high:75,_optimum:90}),(0,q.jsx)(ve,{_label:`Battery level`,_max:100,_value:50,_low:25,_high:75,_optimum:90}),(0,q.jsx)(ve,{_label:`Battery level`,_max:100,_value:90,_low:25,_high:75,_optimum:90})]})})]})]}),orientation:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`The _orientation prop switches the meter bar between horizontal (default) and vertical. Vertical meters grow from bottom to top and are useful for tank fill levels, signal strength or similar scalar indicators.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`vertical`,heading:`Vertical`,children:(0,q.jsxs)(`div`,{className:`flex flex-row gap-8 items-end`,children:[(0,q.jsx)(ve,{style:{"--kol-meter-vertical-height":`100`},_label:`Tank 100l`,_max:100,_value:50,_orientation:`vertical`,_unit:`l`}),(0,q.jsx)(ve,{style:{"--kol-meter-vertical-height":`150`},_label:`Tank 150l`,_max:150,_value:50,_orientation:`vertical`,_unit:`l`}),(0,q.jsx)(ve,{style:{"--kol-meter-vertical-height":`200`},_label:`Tank 200l`,_max:200,_value:150,_orientation:`vertical`,_unit:`l`})]})}),(0,q.jsx)(J,{id:`vertical-ranges-optimum`,heading:`Vertical with ranges and optimum`,children:(0,q.jsxs)(`div`,{className:`flex flex-row gap-8`,children:[(0,q.jsx)(ve,{_label:`Low`,_max:100,_value:10,_low:25,_high:75,_optimum:50,_orientation:`vertical`}),(0,q.jsx)(ve,{_label:`OK`,_max:100,_value:50,_low:25,_high:75,_optimum:50,_orientation:`vertical`}),(0,q.jsx)(ve,{_label:`High`,_max:100,_value:90,_low:25,_high:75,_optimum:50,_orientation:`vertical`})]})})]})]})}},w_={modal:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(E,{_label:`Component is DEPRECATED`,_type:`error`,_variant:`card`,className:`header-alert`,children:[`The Modal component was renamed to Dialog. Please use the Dialog sample instead.\xA0`,(0,q.jsx)(L,{_href:`/#/dialog`,_target:`_blank`,_label:`Open Dialog samples`})]}),(0,q.jsx)(ip,{})]})}},T_=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`This sample shows KolNav with a link to the current page. This makes the component automatically assign `,(0,q.jsx)(`code`,{children:`aria-current="page"`}),`to it.`]})}),(0,q.jsx)(J,{id:`aria-current`,children:(0,q.jsx)(ye,{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}]})})]}),E_=[{_label:`Homepage`,_icons:`kolicon-house`,_on:{onClick:()=>console.log(`Homepage clicked`)}},{_label:`2 Navigation point`,_href:`#/back-page`,_on:{onClick:()=>console.log(`Link clicked`)}},{_label:`3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`,_children:[{_label:`3.1 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`3.2 Navigation point`,_href:`#/back-page`,_target:`asdasd`},{_label:`3.3 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.3.1 Navigation point`,_href:`#/back-page`},{_label:`3.3.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.4 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1.1 Navigation point`,_href:`#/back-page`},{_label:`3.4.1.2 Navigation point (active)`,_href:`#/back-page`}]},{_label:`3.4.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.5 Navigation point`,_href:`#/back-page`}]},{_label:`4 Navigation point with children and onClick`,_children:[{_label:`4.1 Nested link`,_href:`#/back-page`}],_on:{onClick:()=>console.log(`4.1 Nested link clicked`)}},{_label:`5 No own page, only category`,_active:!0,_children:[{_label:`5.1 Nested link`,_href:`#/back-page`}]},{_label:`6 No own page, with icon`,_icons:`kolicon-kolibri`,_children:[{_label:`6.1 Nested link`,_href:`#/back-page`}]}],D_=[{_label:`Homepage`,_icons:`kolicon-house`,_on:{onClick:()=>console.log(`Homepage clicked`)}},{_label:`2 Navigation point`,_href:`#/back-page`,_on:{onClick:()=>console.log(`Link clicked`)}},{_label:`3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`},{_label:`4 Navigation point with children and onClick`,_on:{onClick:()=>console.log(`4.1 Nested link clicked`)}},{_label:`5 No own page, only category`,_active:!0},{_label:`6 No own page, with icon`,_icons:`kolicon-kolibri`}],O_=[{_label:`Homepage`,_icons:`kolicon-house`,_on:{onClick:()=>console.log(`Homepage clicked`)}},{_label:`2 Navigation point`,_href:`#/back-page`,_on:{onClick:()=>console.log(`Link clicked`)}},{_label:`3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`,_children:[{_label:`3.1 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`3.2 Navigation point`,_target:`asdasd`},{_label:`3.3 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.3.1 Navigation point`,_href:`#/back-page`,_active:!0},{_label:`3.3.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.4 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1.1 Navigation point`,_href:`#/back-page`},{_label:`3.4.1.2 Navigation point (active)`,_href:`#/back-page`}]},{_label:`3.4.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.5 Navigation point`,_href:`#/back-page`}]}],k_={nav:{basic:()=>{let[e,t]=(0,d.useState)(!0);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolNav renders a navigation. In this sample, icons for the navigation elements can be shown or hidden using a checkbox and the navigation can be collapsed, showing only icons and no text labels.`})}),(0,q.jsxs)(`section`,{className:`grid gap-8`,children:[(0,q.jsx)(`section`,{children:(0,q.jsx)(P,{_label:`Show icons when expanded`,_checked:e,_on:{onChange:(e,n)=>{t(n)}}})}),(0,q.jsx)(J,{id:`navigation-submenu`,heading:`Navigation without submenu`,fitContent:!0,children:(0,q.jsx)(ye,{class:`block w-fit`,_label:`Navigation without submenu`,_links:D_,_hasCompactButton:!0,_hasIconsWhenExpanded:e})}),(0,q.jsx)(J,{id:`navigation-submenu-2`,heading:`Navigation with submenu`,fitContent:!0,children:(0,q.jsx)(ye,{class:`block w-fit`,_label:`Navigation with submenu`,_links:E_,_hasCompactButton:!0,_hasIconsWhenExpanded:e})}),(0,q.jsx)(J,{id:`navigation-submenu-active`,heading:`Navigation with submenu active`,fitContent:!0,children:(0,q.jsx)(ye,{class:`block w-fit`,_label:`Navigation with submenu active`,_links:O_,_hasCompactButton:!0,_hasIconsWhenExpanded:e})})]})]})},"aria-current":T_}},A_={pagination:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolPagination renders a pagination for datasets. The sample shows the different states and variations of a pagination and the option to change the page size.`})}),(0,q.jsxs)(J,{id:`basic`,narrow:!0,children:[(0,q.jsx)(be,{_max:316514,_page:15475,_pageSize:20,_siblingCount:3,_boundaryCount:1,_label:`Large dataset, page in the middle (Entries 309481 to 309500 of 316514)`,_on:{}}),(0,q.jsx)(be,{_max:316514,_page:1,_pageSize:50,_siblingCount:2,_boundaryCount:1,_label:`Large dataset, first page (Entries 1 to 50 of 316514)`,_on:{}}),(0,q.jsx)(be,{_max:316514,_page:6331,_pageSize:50,_siblingCount:2,_boundaryCount:1,_label:`Large dataset, last page (Entries 316501 to 316514 of 316514)`,_on:{}}),(0,q.jsx)(be,{_max:14,_page:14,_pageSize:1,_siblingCount:1,_boundaryCount:2,_label:`Small dataset, last page (Entries 14 to 14 of 14)`,_on:{}}),(0,q.jsx)(be,{_max:4,_page:1,_pageSize:4,_siblingCount:0,_boundaryCount:2,_label:`Tiny dataset, first page (Entries 1 to 4 of 4)`,_on:{}}),(0,q.jsx)(be,{_max:10,_page:15,_pageSize:5,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:`Edge case: page exceeds max (corrected to page 2, Entries 6 to 10 of 10)`,_on:{}}),(0,q.jsx)(be,{_max:1e3,_page:10,_pageSize:25,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:`Medium dataset with boundary buttons only (Entries 226 to 250 of 1000)`,_on:{}}),(0,q.jsx)(be,{_max:379,_page:6,_pageSize:10,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:`With page size options`,_on:{},_pageSizeOptions:[10,25,50,100]}),(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:1,_boundaryCount:1,_label:`Page size 10, sibling count 1 (Entries 41 to 50 of 100)`,_on:{}}),(0,q.jsx)(be,{_max:250,_page:3,_pageSize:30,_siblingCount:2,_boundaryCount:0,_label:`No boundary buttons, sibling count 2 (Entries 61 to 90 of 250)`,_on:{}})]})]}),"button-visibility":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample demonstrates how to show or hide the navigation buttons (first, previous, next, last) in a pagination. All examples use the same dataset configuration (_max=100, _page=5, _pageSize=10) to show the effect of different button visibility settings.`})}),(0,q.jsxs)(J,{id:`button-visibility`,children:[(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`Default: All buttons visible (first, previous, next, last)`,_on:{}}),(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`Only previous and next buttons`,_on:{},_hasButtons:{first:!1,last:!1,next:!0,previous:!0}}),(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`No navigation buttons, only page numbers`,_on:{},_hasButtons:!1})]}),(0,q.jsxs)(J,{id:`button-combinations`,skipSnapshot:!0,children:[(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`Only first and last buttons`,_on:{},_hasButtons:{first:!0,last:!0,next:!1,previous:!1}}),(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except first`,_on:{},_hasButtons:{first:!1,last:!0,next:!0,previous:!0}}),(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except last`,_on:{},_hasButtons:{first:!0,last:!1,next:!0,previous:!0}}),(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except previous`,_on:{},_hasButtons:{first:!0,last:!0,next:!0,previous:!1}}),(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except next`,_on:{},_hasButtons:{first:!0,last:!0,next:!1,previous:!0}})]})]}),"sibling-boundary":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample demonstrates how _siblingCount and _boundaryCount affect the number of page buttons shown. All examples use the same dataset configuration (_max=20, _page=5, _pageSize=1) to clearly show the effect of these settings. _siblingCount controls how many page buttons appear next to the current page, while _boundaryCount controls how many buttons appear at the beginning and end of the pagination.`})}),(0,q.jsxs)(J,{id:`sibling-boundary`,children:[(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_label:`Default: siblingCount=1, boundaryCount=1 (shows pages 1, 4, 5, 6, 20)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:2,_boundaryCount:1,_label:`siblingCount=2, boundaryCount=1 (shows pages 1, 3, 4, 5, 6, 7, 20)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:3,_boundaryCount:1,_label:`siblingCount=3, boundaryCount=1 (shows pages 1, 2, 3, 4, 5, 6, 7, 8, 20)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:0,_boundaryCount:1,_label:`siblingCount=0, boundaryCount=1 (shows pages 1, 5, 20 only)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:1,_boundaryCount:2,_label:`siblingCount=1, boundaryCount=2 (shows pages 1, 2, 4, 5, 6, 19, 20)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:1,_boundaryCount:3,_label:`siblingCount=1, boundaryCount=3 (shows pages 1, 2, 3, 4, 5, 6, 18, 19, 20)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:1,_boundaryCount:0,_label:`siblingCount=1, boundaryCount=0 (shows pages 4, 5, 6 only, with ellipsis)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:0,_boundaryCount:0,_label:`siblingCount=0, boundaryCount=0 (shows page 5 only, with ellipsis on both sides)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:5,_boundaryCount:2,_label:`siblingCount=5, boundaryCount=2 (shows almost all pages)`,_on:{}}),(0,q.jsx)(be,{_max:100,_page:50,_pageSize:1,_siblingCount:3,_boundaryCount:2,_label:`Larger dataset: _max=100, _page=50, siblingCount=3, boundaryCount=2`,_on:{}})]})]})}},j_={"popover-button":{basic:()=>{let{dummyClickEventHandler:e}=Yd(),t=d.useRef(null),n={onClick:e},r=[{type:`button`,_label:`Show`,_icons:`kolicon-eye`,_on:n},{type:`button`,_label:`Delete`,_icons:`kolicon-minus`,_on:n},{type:`button`,_label:`Add`,_icons:`kolicon-plus`,_on:n}];return(0,d.useEffect)(()=>{t.current&&(t.current.showPopover(),t.current.focus())},[]),(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`The PopoverButton component combines a button with a popover that appears when clicked. The popover can be positioned in different directions (top, right, bottom, left) using the `,(0,q.jsx)(`code`,{children:`_popoverAlign`}),` prop.`]})}),(0,q.jsxs)(`div`,{className:`flex flex-col gap-4 items-center`,children:[(0,q.jsx)(xe,{_label:`Actions`,_variant:`primary`,_icons:{right:`kolicon-chevron-down`},ref:t,children:(0,q.jsx)(je,{_label:`Action toolbar`,_items:r,_orientation:`vertical`})}),(0,q.jsx)(xe,{_label:`Help`,_icons:`kolicon-alert-info`,_popoverAlign:`right`,_tooltipAlign:`bottom`,_hideLabel:!0,children:(0,q.jsxs)(`div`,{className:`w-sm p-2 border border-solid border-gray bg-white`,children:[(0,q.jsx)(N,{_label:`Help Information`,_level:0}),(0,q.jsxs)(`p`,{children:[(0,q.jsx)(`u`,{children:`Lorem ipsum dolor sit amet`}),`, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum! Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]})]})})]})]})},inline:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`A PopoverButton inline with some dummy text. Here the PopoverButton has the height of the surrounding text. As statet in`,(0,q.jsx)(`a`,{href:`https://www.w3.org/WAI/WCAG21/Understanding/target-size.html`,children:`Understanding SC 2.5.5`}),` target size of a help icon in text can be smaller than 44px by 44px.`]})}),(0,q.jsx)(J,{id:`inline`,className:`flex flex-col gap-4`,children:(0,q.jsxs)(`p`,{children:[`Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium.`,(0,q.jsx)(xe,{_inline:!0,_label:`Help`,_icons:`kolicon-alert-info`,_popoverAlign:`right`,_tooltipAlign:`bottom`,_hideLabel:!0,children:(0,q.jsxs)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:[(0,q.jsx)(N,{_label:`Help Information`,_level:0}),(0,q.jsxs)(`p`,{children:[(0,q.jsx)(`u`,{children:`Lorem ipsum dolor sit amet`}),`, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum! Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]})]})}),(0,q.jsx)(`br`,{}),`Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]})})]})}},M_={progress:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolProgress renders a progress indicator. The sample shows the variants "bar" and "cycle" with and without labels.`})}),(0,q.jsxs)(`div`,{className:`grid gap-4 grid-cols-1 sm:grid-cols-2`,children:[(0,q.jsxs)(J,{id:`percentages`,heading:`Percentages`,className:`flex flex-col gap-4`,children:[(0,q.jsx)(Se,{_variant:`bar`,_max:7,_value:0}),(0,q.jsx)(Se,{_variant:`bar`,_max:7,_value:2}),(0,q.jsx)(Se,{_variant:`bar`,_max:7,_value:7}),(0,q.jsx)(Se,{_variant:`cycle`,_max:7,_value:6})]}),(0,q.jsxs)(J,{id:`custom-units`,heading:`Custom units`,className:`flex flex-col gap-4`,children:[(0,q.jsx)(Se,{_label:`Distance`,_variant:`bar`,_max:65434,_value:7236,_unit:`m`}),(0,q.jsx)(Se,{_label:`12 Tasks to do`,_variant:`bar`,_max:12,_value:5,_unit:`tasks completed`}),(0,q.jsx)(Se,{_label:`Max 150 kg`,_variant:`cycle`,_max:150,_value:42,_unit:`kg`})]}),(0,q.jsxs)(J,{id:`min-max`,heading:`Min & Max`,className:`flex flex-col gap-4`,children:[(0,q.jsx)(Se,{_label:`More than max`,_variant:`bar`,_max:7,_value:14}),(0,q.jsx)(Se,{_label:`Less than min`,_variant:`bar`,_max:7,_value:-7})]})]})]}),changing:()=>{let[e,t]=(0,d.useState)(5),[n,r]=(0,d.useState)(10);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This shows that values can be changed and that they are clamped at max value (here at 10).`})}),(0,q.jsxs)(`fieldset`,{title:`changing`,className:`flex flex-col gap-4`,children:[(0,q.jsxs)(`div`,{className:`flex gap-4`,children:[(0,q.jsx)(`button`,{onClick:()=>t(-2),children:`set -2`}),(0,q.jsx)(`button`,{onClick:()=>t(5),children:`set 5`}),(0,q.jsx)(`button`,{onClick:()=>t(13),children:`set 13`}),(0,q.jsx)(`button`,{onClick:()=>r(-1),children:`change max to -1`}),(0,q.jsx)(`button`,{onClick:()=>r(5),children:`change max to 5`}),(0,q.jsx)(`button`,{onClick:()=>r(10),children:`change max to 10`})]}),(0,q.jsx)(Se,{_label:`Showing ${e} of ${n}`,_variant:`bar`,_max:n,_value:e}),(0,q.jsx)(Se,{_variant:`cycle`,_max:n,_value:e})]})]})}}},N_={quote:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolQuote renders a quote with optional citation. This sample shows a quote in the variant "inline" with a link for citation.`})}),(0,q.jsx)(J,{id:`basic`,children:(0,q.jsx)(Ce,{_href:`https://datatracker.ietf.org/doc/html/rfc1149`,_quote:`Avian carriers can provide high delay.`,_variant:`inline`})})]}),block:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows a quote in the "block" variant.`})}),(0,q.jsx)(J,{id:`block`,children:(0,q.jsx)(Ce,{_label:`RFC 1149`,_href:`https://datatracker.ietf.org/doc/html/rfc1149`,_quote:`Avian carriers can provide high delay, low throughput, and low altitude
|
|
74
|
+
`),a=!1),Object.assign(Object.assign({},e),{allowNegative:a})}function jg(e){e=Ag(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,n=e.allowNegative,r=e.allowLeadingZeros,i=e.onKeyDown;i===void 0&&(i=Kh);var a=e.onBlur;a===void 0&&(a=Kh);var o=e.thousandSeparator,s=e.decimalScale,c=e.fixedDecimalScale,l=e.prefix;l===void 0&&(l=``);var u=e.defaultValue,d=e.value,f=e.valueIsNumericString,p=e.onValueChange,m=Wh(e,[`decimalSeparator`,`allowedDecimalSeparators`,`thousandsGroupStyle`,`suffix`,`allowNegative`,`allowLeadingZeros`,`onKeyDown`,`onBlur`,`thousandSeparator`,`decimalScale`,`fixedDecimalScale`,`prefix`,`defaultValue`,`value`,`valueIsNumericString`,`onValueChange`]),h=wg(e),g=h.decimalSeparator,_=h.allowedDecimalSeparators,v=function(t){return Cg(t,e)},y=function(t,n){return Og(t,n,e)},b=Yh(d)?u:d,x=f??Dg(b,l,t);Yh(d)?Yh(u)||(x||=typeof u==`number`):x||=typeof d==`number`;var ee=function(e){return Zh(e)?e:(typeof e==`number`&&(e=og(e)),x&&typeof s==`number`?sg(e,s,!!c):e)},S=yg(ee(d),ee(u),!!x,v,y,p),C=S[0],w=C.numAsString,T=C.formattedValue,te=S[1];return Object.assign(Object.assign({},m),{value:T,valueIsNumericString:!1,isValidInputCharacter:function(e){return e===g||Jh(e)},isCharacterSame:function(e){var t=e.currentValue,n=e.lastValue,r=e.formattedValue,i=e.currentValueIndex,a=e.formattedValueIndex,o=t[i],u=r[a],f=lg(n,t).to,p=function(e){return y(e).indexOf(`.`)+l.length};return d===0&&c&&s&&t[f.start]===g&&p(t)<i&&p(r)>a?!1:i>=f.start&&i<f.end&&_&&_.includes(o)&&u===g?!0:o===u},onValueChange:te,format:v,removeFormatting:y,getCaretBoundary:function(t){return kg(t,e)},onKeyDown:function(e){var t=e.target,r=e.key,a=t.selectionStart,u=t.selectionEnd,d=t.value;if(d===void 0&&(d=``),(r===`Backspace`||r===`Delete`)&&u<l.length&&d!==`-`){e.preventDefault();return}if(a!==u){i(e);return}r===`Backspace`&&d[0]===`-`&&a===l.length+1&&n&&cg(t,1),s&&c&&(r===`Backspace`&&d[a-1]===g?(cg(t,a-1),e.preventDefault()):r===`Delete`&&d[a]===g&&e.preventDefault()),_?.includes(r)&&d[a]===g&&cg(t,a+1);var f=o===!0?`,`:o;r===`Backspace`&&d[a-1]===f&&cg(t,a-1),r===`Delete`&&d[a]===f&&cg(t,a+1),i(e)},onBlur:function(t){var n=w;n.match(/\d/g)||(n=``),r||(n=rg(n)),c&&s&&(n=sg(n,s,c)),n!==w&&te({formattedValue:Cg(n,e),value:n,floatValue:parseFloat(n)},{event:t,source:Gh.event}),a(t)}})}function Mg(e){var t=jg(e);return d.createElement(Sg,Object.assign({},t))}var Ng=class{parse(e){return e==null||e===``?``:String(e).replace(/[eE.,]/g,``).replace(/\d[+-]/g,``)}},Pg=/[.,+eE]/,Fg=e=>{e.key.length===1&&!e.ctrlKey&&!e.metaKey&&Pg.test(e.key)&&e.preventDefault()};function Ig({_label:e,_msg:t,_touched:n,_on:r,_required:i,value:a,thousandSeparator:o=!0,suffix:s=`€`,...c}){let l=r&&typeof r==`object`?r:void 0;return(0,q.jsx)(Mg,{...c,value:a,suffix:s,thousandSeparator:o,valueIsNumericString:!1,customInput:r=>{let a=r.value;return(0,q.jsx)(I,{...r,_value:a,_label:e,_msg:t,_touched:n,_required:i,_on:{onBlur:r.onBlur,onChange:r.onChange,onFocus:r.onFocus,onInput:r.onInput}})},onValueChange:e=>{let t=new Event(`input`);l?.onInput?.(t,e.floatValue)},onBlur:e=>{l?.onBlur?.(e.nativeEvent)}})}function Lg(e){let{name:t,control:n,rules:r,defaultValue:i,shouldUnregister:a,disabled:o,_label:s,_required:c,...l}=e;return(0,q.jsx)(zm,{name:t,control:n,rules:r,defaultValue:i,shouldUnregister:a,disabled:o,render:({field:e,fieldState:t})=>{let n=l._on;return(0,q.jsx)(Ig,{...l,_label:s,_required:c,value:e.value,_touched:t.isTouched,_msg:t.error?{_type:`error`,_description:t.error.message||String(t.error)}:void 0,_on:{onInput:(t,r)=>{e.onChange(r),n?.onInput?.(t,r)},onBlur:()=>e.onBlur()}})}})}function Rg(){let e=new Ng,[t,n]=d.useState(void 0),[r,i]=d.useState(-128),[a,o]=d.useState(!1),s=Uh({defaultValues:{currency:1e6},mode:`onTouched`}),c=s.watch();return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This example demonstrates formatting number input. The first example shows whole number formatting where decimal separators (. and ,) and scientific notation (e) are automatically removed on input. The second example shows currency formatting with react-number-format in a react-hook-form context.`})}),(0,q.jsxs)(`section`,{className:`w-full grid gap-4`,children:[(0,q.jsxs)(J,{id:`whole-number`,children:[(0,q.jsx)(M,{children:(0,q.jsx)(fe,{_label:`Whole number`,_step:1,_value:t??r,_on:{onKeyDown:Fg,onBlur:()=>{o(!0)},onInput:(t,r)=>{let a=e.parse(r),o=a===``?void 0:Number(a);n(o),i(o)}}})}),(0,q.jsx)(`pre`,{className:`text-base mt-2`,children:JSON.stringify({value:r,touched:a},null,2)})]}),(0,q.jsxs)(J,{id:`currency`,children:[(0,q.jsx)(M,{_on:{onSubmit:e=>{s.handleSubmit(async()=>{})(e)}},children:(0,q.jsx)(Lg,{control:s.control,name:`currency`,decimalScale:2,displayType:`input`,rules:{required:`Please enter a currency amount.`},_label:`Currency`,_required:!0})}),(0,q.jsx)(`pre`,{className:`text-base mt-2`,children:JSON.stringify(c,null,2)})]})]})]})}var zg={"input-number":{basic:em,"get-value":tm,"number-formatter":Rg}},Bg=(0,d.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(J,{...i(`black-bg`),className:`black-background`,children:(0,q.jsx)(pe,{...n,_label:`Passwort (Black background test)`})}),(0,q.jsx)(J,{...i(`icons-error`),children:(0,q.jsx)(pe,{...n,ref:r,_accessKey:`P`,_required:!0,_hint:zd,_msg:{_type:`error`,_description:Y},_placeholder:`Mit Icons`,_label:`Passwort`,_icons:{left:{icon:`kolicon-chevron-left`},right:{icon:`kolicon-chevron-right`}},_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,q.jsx)(J,{...i(`msg-info`),children:(0,q.jsx)(pe,{...n,_msg:{_type:`info`,_description:`Just a hint`},_label:`Passwort`,_touched:!0})}),(0,q.jsx)(J,{...i(`msg-warning`),children:(0,q.jsx)(pe,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`Passwort`,_touched:!0})}),(0,q.jsx)(J,{...i(`msg-success`),children:(0,q.jsx)(pe,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`Passwort`,_touched:!0})}),(0,q.jsx)(J,{...i(`msg-default`),children:(0,q.jsx)(pe,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`Passwort`,_touched:!0})}),(0,q.jsx)(J,{...i(`disabled`),children:(0,q.jsx)(pe,{...n,_disabled:!0,_msg:{_type:`error`,_description:Y},_label:`Passwort (Disabled)`,_touched:!0})}),(0,q.jsx)(J,{...i(`readonly`),children:(0,q.jsx)(pe,{...n,_readOnly:!0,_label:`Passwort (Readonly)`})}),(0,q.jsx)(J,{...i(`access-key`),children:(0,q.jsx)(pe,{...n,ref:r,_shortKey:`c`,_label:`With access key`})}),(0,q.jsx)(J,{...i(`short-key`),children:(0,q.jsx)(pe,{...n,ref:r,_shortKey:`s`,_label:`With short key`})})]})}),Vg=(0,d.forwardRef)(function(e,t){return(0,q.jsxs)(Wf,{children:[(0,q.jsx)(Gf,{heading:`Password`,children:(0,q.jsx)(Bg,{blockIdPrefix:`label`,...e})}),(0,q.jsx)(Gf,{heading:`Password (hideLabel)`,children:(0,q.jsx)(Bg,{blockIdPrefix:`hide-label`,snapshotOnly:`icons-error`,ref:t,...e,_hideLabel:!0})})]})}),Hg={"input-password":{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolInputPassword renders a password input field. The sample shows KolInputPassword in a form context with all variations and states.`})}),(0,q.jsx)(Uf,{RefComponent:Vg,showButtons:!1})]}),"get-value":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`Shows the callback value from `,(0,q.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,q.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,q.jsx)(Tp,{label:`KolInputPassword`,renderInput:e=>(0,q.jsx)(pe,{_label:`Password`,_on:e})})]}),"show-password":()=>{let e=(0,d.useRef)(null);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolInputPassword in the variant "visibility-toggle". It features a button to toggle between a visible and hidden password input.`})}),(0,q.jsx)(J,{id:`show-password`,children:(0,q.jsxs)(M,{className:`w-full`,children:[(0,q.jsx)(pe,{_placeholder:`With 'Show password' button`,_label:`Password`,ref:e,className:`block`,_visibilityToggle:!0}),(0,q.jsx)(pe,{_placeholder:`With 'Show password' button`,_label:`Password`,ref:e,className:`block`,_visibilityToggle:!0,_value:`Password`}),(0,q.jsx)(pe,{_placeholder:`With 'Show password' button and disabled`,_label:`Password`,ref:e,className:`block`,_disabled:!0,_visibilityToggle:!0})]})})]})}}},Ug=(0,d.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(J,{...i(`black-bg`),className:`black-background`,children:(0,q.jsx)(me,{...n,_options:`[{'disabled':true,'label':'Mrs. (disabled)','value':'Mrs.'},{'label':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`Salutation (Black background test)`})}),(0,q.jsx)(J,{...i(`error`),children:(0,q.jsx)(me,{...n,_required:!0,_msg:{_type:`error`,_description:Y},_touched:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)','value':'Mr.'},{'label':'Company','value':'Company'}]`,_label:`Salutation (with error)`})}),(0,q.jsx)(J,{...i(`horizontal`),children:(0,q.jsx)(me,{...n,ref:r,_orientation:`horizontal`,_required:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]`,_label:`Salutation (horizontal)`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,q.jsx)(J,{...i(`horizontal-disabled`),children:(0,q.jsx)(me,{...n,_disabled:!0,_orientation:`horizontal`,_required:!0,_msg:{_type:`error`,_description:Y},_touched:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]`,_label:`Salutation (horizontal with error)`})}),(0,q.jsx)(J,{...i(`disabled`),children:(0,q.jsx)(me,{...n,_disabled:!0,_value:`Company`,_options:`[{'label':'Mrs.','value':'Mrs.'},{'disabled':true,'label':'Mr. (disabled)'},{'label':'Company','value':'Company'}]`,_label:`Salutation`,_touched:!0})}),(0,q.jsx)(J,{...i(`horizontal-hints`),children:(0,q.jsx)(me,{...n,_orientation:`horizontal`,_required:!0,_msg:{_type:`error`,_description:Y},_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:zd})})]})}),Wg=(0,d.forwardRef)(function(e,t){return(0,q.jsxs)(Wf,{children:[(0,q.jsx)(Gf,{heading:`Radio`,children:(0,q.jsx)(Ug,{blockIdPrefix:`label`,...e})}),(0,q.jsx)(Gf,{heading:`Radio (hideLabel)`,children:(0,q.jsx)(Ug,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),Gg={"input-radio":{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolInputRadio renders a set of radio buttons. The sample shows KolInputRadio in a form context with all variations and states.`})}),(0,q.jsx)(Uf,{RefComponent:Wg,showButtons:!1})]}),"get-value":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`Shows the callback value from `,(0,q.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,q.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,q.jsx)(Tp,{label:`KolInputRadio`,renderInput:e=>(0,q.jsx)(me,{_label:`Option`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`}],_on:e})})]}),horizontal:()=>{let[e,t]=(0,d.useState)(!0),[n,r]=(0,d.useState)(`horizontal`),i=[{label:`Field 1`,value:1},{label:`Field 2`,value:2}];return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`This sample shows the `,(0,q.jsx)(`code`,{children:`horizontal`}),` and `,(0,q.jsx)(`code`,{children:`vertical`}),` orientation of KolInoutRadio. It also features a button to test re-rendering.`]})}),(0,q.jsxs)(`div`,{className:`flex gap-4`,children:[(0,q.jsx)(O,{_label:`Click me a few times`,_on:{onClick:()=>{t(e=>!e)}}}),(0,q.jsx)(P,{_label:`Switch orientation (horizontal/vertical)`,_on:{onChange:()=>{r(e=>e===`horizontal`?`vertical`:`horizontal`)}},_variant:`switch`})]}),e&&(0,q.jsx)(M,{children:(0,q.jsxs)(J,{id:`orientation`,className:`container my-4 d-grid gap-4`,children:[(0,q.jsx)(me,{_label:`Test (${n})`,_options:i,_orientation:n,_required:!0}),(0,q.jsx)(me,{_hideLabel:!0,_label:`Test (${n})`,_options:i,_orientation:n,_required:!0})]})})]})},object:()=>{let e=[{label:`Field 1`,value:{id:1,name:`Option 1`}},{label:`Field 2`,value:{id:2,name:`Option 2`}}];return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsxs)(X,{children:[`This sample shows KolInputRadio with `,(0,q.jsx)(`code`,{children:`object`}),` and `,(0,q.jsx)(`code`,{children:`undefined`}),` values.`]}),(0,q.jsxs)(M,{children:[(0,q.jsxs)(`p`,{children:[`In this example for `,(0,q.jsx)(`code`,{children:`KolInputRadio`}),`, the values of the options are defined as objects.`]}),(0,q.jsx)(J,{id:`object-value`,className:`container my-4 d-grid gap-4`,children:(0,q.jsx)(me,{_value:e[1].value,_options:e,_label:`Test (with object value)`})}),(0,q.jsxs)(`p`,{children:[`In this example for `,(0,q.jsx)(`code`,{children:`KolInputRadio`}),`, no value is set.`]}),(0,q.jsx)(J,{id:`no-value`,className:`container my-4 d-grid gap-4`,children:(0,q.jsx)(me,{_options:e,_label:`Test (without value)`})})]})]})}}},Kg=(0,d.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(J,{...i(`black-bg`),className:`black-background`,children:(0,q.jsx)(he,{...n,_min:0,_max:50,_msg:{_type:`error`,_description:Y},_label:`Slider (Black background test)`,_icons:{left:{icon:`kolicon-chevron-left`},right:{icon:`kolicon-chevron-right`}},_touched:!0})}),(0,q.jsx)(J,{...i(`error`),children:(0,q.jsx)(he,{...n,ref:r,_accessKey:`F`,_min:0,_max:50,_step:10,_hint:zd,_msg:{_type:`error`,_description:Y},_label:`Slider with error`,_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,q.jsx)(J,{...i(`msg-info`),children:(0,q.jsx)(he,{...n,_msg:{_type:`info`,_description:`Just a hint`},_label:`Slider`,_touched:!0})}),(0,q.jsx)(J,{...i(`msg-warning`),children:(0,q.jsx)(he,{...n,_msg:{_type:`warning`,_description:`Small warning`},_label:`Slider`,_touched:!0})}),(0,q.jsx)(J,{...i(`msg-success`),children:(0,q.jsx)(he,{...n,_msg:{_type:`success`,_description:`Success message`},_label:`Slider`,_touched:!0})}),(0,q.jsx)(J,{...i(`msg-default`),children:(0,q.jsx)(he,{...n,_msg:{_type:`default`,_description:`Default message`},_label:`Slider`,_touched:!0})}),(0,q.jsx)(J,{...i(`disabled`),children:(0,q.jsx)(he,{...n,_disabled:!0,_min:0,_max:50,_label:`Slider (disabled)`})}),(0,q.jsx)(J,{...i(`access-key`),children:(0,q.jsx)(he,{...n,_min:0,_max:50,_label:`With access key`,_accessKey:`c`})}),(0,q.jsx)(J,{...i(`short-key`),children:(0,q.jsx)(he,{...n,_min:0,_max:50,_label:`With short key`,_shortKey:`s`})}),(0,q.jsx)(J,{...i(`small-range`),children:(0,q.jsx)(he,{...n,_min:0,_max:5,_label:`Small range (max=5): number input should not be narrower than 4 digits wide`})})]})}),qg=(0,d.forwardRef)(function(e,t){return(0,q.jsxs)(Wf,{children:[(0,q.jsx)(Gf,{heading:`Range`,children:(0,q.jsx)(Kg,{blockIdPrefix:`label`,...e})}),(0,q.jsx)(Gf,{heading:`Range (hideLabel)`,children:(0,q.jsx)(Kg,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),Jg={"input-range":{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolInputRange renders a pair of range- and number fields wich are synchronized with each other. The sample shows KolInputRange in a form context with all variations and states.`})}),(0,q.jsx)(Uf,{RefComponent:qg,showButtons:!1})]}),"get-value":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`Shows the callback value from `,(0,q.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,q.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,q.jsx)(Tp,{label:`KolInputRange`,renderInput:e=>(0,q.jsx)(he,{_label:`Range`,_on:e})})]})}},Yg=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates access keys and short keys for KolInputText. Access keys provide keyboard shortcuts for focusing inputs.`})}),(0,q.jsx)(J,{id:`access-key-value`,children:(0,q.jsx)(I,{_label:`With access key (Alt+F)`,_value:`Press Alt+F to focus`,_accessKey:`f`})}),(0,q.jsx)(J,{id:`short-key-value`,children:(0,q.jsx)(I,{_label:`With short key (Alt+N)`,_value:`Press Alt+N to focus`,_shortKey:`n`})}),(0,q.jsx)(J,{id:`access-key-placeholder`,children:(0,q.jsx)(I,{_label:`Access key (Alt+E)`,_value:``,_placeholder:`Email address`,_accessKey:`e`})}),(0,q.jsx)(J,{id:`short-key-placeholder`,children:(0,q.jsx)(I,{_label:`Short key (Alt+P)`,_value:``,_placeholder:`Phone number`,_shortKey:`p`})})]}),Xg=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(X,{children:[(0,q.jsxs)(`p`,{children:[`Demonstrates how to use `,(0,q.jsx)(`code`,{children:`_ariaDetails`}),` to reference an external element that provides detailed information about form inputs. All inputs below reference the same details box via their `,(0,q.jsx)(`code`,{children:`_ariaDetails`}),` prop.`]}),(0,q.jsxs)(`p`,{children:[`The `,(0,q.jsx)(`code`,{children:`_ariaDetails`}),` prop uses `,(0,q.jsx)(`code`,{children:`ElementInternals.ariaDetailsElements`}),` to cross the Shadow DOM boundary, making it accessible to screen readers. This works across all form input components: input-text, select, textarea, and combobox.`]})]}),(0,q.jsxs)(J,{id:`aria-details`,className:`grid gap-8`,children:[(0,q.jsxs)(`div`,{className:`grid gap-4 p-4 border border-gray-300 rounded`,children:[(0,q.jsx)(`h2`,{className:`text-lg font-semibold`,children:`Form Inputs with Shared Details`}),(0,q.jsx)(I,{_label:`Email Address`,_ariaDetails:`details-box`,_placeholder:`user@example.com`,_hint:`We'll never share your email`}),(0,q.jsx)(R,{_label:`Country`,_ariaDetails:`details-box`,_options:[{label:`Germany`,value:`de`},{label:`Austria`,value:`at`},{label:`Switzerland`,value:`ch`}]}),(0,q.jsx)(B,{_label:`Message`,_ariaDetails:`details-box`,_placeholder:`Enter your message here...`,_rows:4}),(0,q.jsx)(j,{_label:`Favorite Language`,_ariaDetails:`details-box`,_suggestions:[`TypeScript`,`JavaScript`,`Python`,`Go`,`Rust`,`Java`]})]}),(0,q.jsxs)(`div`,{id:`details-box`,className:`p-4 bg-blue-50 border-l-4 border-blue-400 rounded`,role:`complementary`,children:[(0,q.jsx)(`h3`,{className:`font-semibold text-blue-900 mb-2`,children:`💡 Form Details`}),(0,q.jsxs)(`ul`,{className:`text-sm text-blue-800 space-y-2`,children:[(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`Email:`}),` Please enter a valid email address. We use this to contact you about your submission.`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`Country:`}),` Select your country of residence. This helps us provide localized support.`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`Message:`}),` Provide as much detail as possible. The more information you give, the better we can assist you.`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`Language:`}),` Choose your preferred programming language. This helps us recommend relevant resources.`]})]})]})]})]}),Zg=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story showcases the component placed on a colored background.`})}),(0,q.jsxs)(J,{id:`background-default`,className:`grid gap-4 bg-blue-400 p-4 rounded`,children:[(0,q.jsx)(`strong`,{children:`Default background:`}),(0,q.jsx)(I,{_label:`First name`,_value:`John Doe`})]}),(0,q.jsxs)(J,{id:`background-unset`,className:`grid gap-4 bg-blue-400 p-4 rounded`,children:[(0,q.jsx)(`strong`,{children:`Unset background:`}),(0,q.jsx)(I,{style:{backgroundColor:`unset`},_label:`First name`,_value:`John Doe`})]})]}),Qg=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story showcases the most important InputText variants: default, required, validation error, disabled, read-only, search with clear button, and with icons.`})}),(0,q.jsx)(J,{id:`events`,children:(0,q.jsx)(I,{_label:`Name`,_value:`Anderson-Clark`,_on:{onBlur:$f,onChange:$f,onClick:$f,onFocus:$f,onInput:$f,onKeyDown:$f},onBlur:Qf,onChange:Qf,onClick:Qf,onFocus:Qf,onInput:Qf,onKeyDown:Qf})}),(0,q.jsx)(J,{id:`error`,children:(0,q.jsx)(I,{_label:`Name`,_required:!0,_msg:{_type:`error`,_description:`Please enter your name`},_touched:!0})}),(0,q.jsx)(J,{id:`hint`,children:(0,q.jsx)(I,{_label:`Name`,_required:!0,_hint:`Enter your surname`})}),(0,q.jsx)(J,{id:`disabled`,children:(0,q.jsx)(I,{_label:`Name`,_value:`Anderson-Clark`,_disabled:!0})}),(0,q.jsx)(J,{id:`info-popover`,children:(0,q.jsx)(I,{_label:`Name`,_required:!0,_value:`Anderson-Clark`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,q.jsx)(J,{id:`readonly-popover`,children:(0,q.jsx)(I,{_label:`Name`,_readOnly:!0,_value:`Anderson-Clark`,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,q.jsx)(J,{id:`icon`,children:(0,q.jsx)(I,{_label:`Name`,_icons:`kolicon-house`,_value:`Anderson-Clark`})}),(0,q.jsx)(J,{id:`search`,children:(0,q.jsx)(I,{_label:`Search`,_type:`search`,_value:`test`,_placeholder:`Search with clear button`})})]}),$g=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample demonstrates the clear button for search type input fields.`})}),(0,q.jsx)(J,{id:`search-empty`,children:(0,q.jsx)(I,{_label:`Search`,_type:`search`,_placeholder:`Enter search term`})}),(0,q.jsx)(J,{id:`search-value`,children:(0,q.jsx)(I,{_label:`Search (with value)`,_type:`search`,_value:`test`,_placeholder:`Enter search term`})}),(0,q.jsx)(J,{id:`search-disabled`,children:(0,q.jsx)(I,{_label:`Search (disabled)`,_type:`search`,_disabled:!0,_value:`test`,_placeholder:`Disabled search`})}),(0,q.jsx)(J,{id:`text-no-clear-button`,children:(0,q.jsx)(I,{_label:`Text (no clear button)`,_type:`text`,_value:`test`,_placeholder:`Regular text input`})})]}),e_=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story showcases an input with a counter for the chars in the field. Maximal length is 30.`})}),(0,q.jsx)(J,{id:`counter`,children:(0,q.jsx)(I,{_label:`Name`,_icons:`kolicon-house`,_value:`Anderson-Clark`,_hasCounter:!0,_maxLength:30})})]}),t_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates the disabled state of KolInputText. Disabled inputs cannot be edited or focused.`})}),(0,q.jsx)(J,{id:`placeholder`,children:(0,q.jsx)(I,{_label:`Disabled with placeholder`,_placeholder:`Placeholder text`,_disabled:!0})}),(0,q.jsx)(J,{id:`value`,children:(0,q.jsx)(I,{_label:`Disabled with value`,_value:`This field is disabled`,_disabled:!0})}),(0,q.jsx)(J,{id:`error`,children:(0,q.jsx)(I,{_label:`Disabled with error message`,_value:`Invalid value`,_msg:{_type:`error`,_description:`Error message`},_disabled:!0,_touched:!0})}),(0,q.jsx)(J,{id:`enabled`,children:(0,q.jsx)(I,{_label:`Comparison: Enabled`,_value:`This field is enabled`})})]}),n_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsxs)(X,{children:[(0,q.jsx)(`p`,{children:`This sample shows KolInputText with expert slot. The expert slot allows for complex custom content beyond simple text inputs.`}),(0,q.jsxs)(`p`,{children:[`For further information on the expert slot see its `,(0,q.jsx)(`a`,{href:`https://public-ui.github.io/docs/concepts/expert-slot`,children:`documentation`})]})]}),(0,q.jsx)(J,{id:`text`,children:(0,q.jsx)(I,{_label:``,_type:`text`,children:(0,q.jsx)(`span`,{slot:`expert`,children:`I am more than just a input field`})})}),(0,q.jsx)(J,{id:`badge`,children:(0,q.jsx)(I,{_label:``,_type:`text`,_value:`Complex example`,children:(0,q.jsxs)(`div`,{slot:`expert`,className:`flex items-center gap-2`,children:[(0,q.jsx)(D,{_label:`Premium`,_color:`#1a73e8`}),(0,q.jsx)(se,{_icons:`kolicon-check`,_label:``}),(0,q.jsx)(`span`,{children:`Verified account with premium features`})]})})}),(0,q.jsx)(J,{id:`note`,children:(0,q.jsx)(I,{_label:``,_type:`text`,_placeholder:`Enter your email`,children:(0,q.jsxs)(`div`,{slot:`expert`,style:{padding:`0.5rem`,backgroundColor:`#f0f0f0`,borderRadius:`4px`},children:[(0,q.jsx)(`strong`,{children:`Note:`}),` This email will be used for account recovery and notifications.`]})})}),(0,q.jsx)(J,{id:`required`,children:(0,q.jsx)(I,{_label:``,_type:`text`,_required:!0,children:(0,q.jsxs)(`div`,{slot:`expert`,className:`inline-block`,children:[(0,q.jsx)(`span`,{className:`expert-slot-required-label`,children:`Username`}),(0,q.jsx)(xe,{_label:`Help`,_icons:`kolicon-alert-info`,_variant:`ghost`,_hideLabel:!0,_inline:!0,children:(0,q.jsx)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:`You have to take care of the asterics on your own!`})})]})})}),(0,q.jsx)(J,{id:`readonly`,children:(0,q.jsx)(I,{_label:``,_type:`text`,_readOnly:!0,_value:`(read only) is also not appended`,children:(0,q.jsxs)(`div`,{slot:`expert`,className:`inline-block`,children:[(0,q.jsx)(`span`,{className:`expert-slot-required-label`,children:`Username`}),(0,q.jsx)(xe,{_label:`Help`,_icons:`kolicon-alert-info`,_variant:`ghost`,_hideLabel:!0,_inline:!0,children:(0,q.jsx)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:`Readonly is also not appended`})})]})})})]}),r_=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`Shows the callback value from `,(0,q.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,q.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,q.jsx)(Tp,{label:`KolInputText`,renderInput:e=>(0,q.jsx)(I,{_label:`Name`,_on:e})})]}),i_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`This story demonstrates the `,(0,q.jsx)(`code`,{children:`_hideLabel`}),` feature for KolInputText. It allows hiding the label visually while keeping it accessible for screen readers.`]})}),(0,q.jsx)(J,{id:`search`,children:(0,q.jsx)(I,{_hideLabel:!0,_label:`Search`,_placeholder:`Search...`,_type:`search`})}),(0,q.jsx)(J,{id:`error`,children:(0,q.jsx)(I,{_hideLabel:!0,_label:`Email`,_placeholder:`Enter email`,_msg:{_type:`error`,_description:`Invalid email format`},_touched:!0})}),(0,q.jsx)(J,{id:`address-group`,children:(0,q.jsxs)(`fieldset`,{className:`grid md:grid-cols-2 gap-4`,children:[(0,q.jsx)(`legend`,{children:`Street Address`}),(0,q.jsx)(E,{className:`col-span-2`,_level:0,_type:`error`,children:`Please complete the address`}),(0,q.jsx)(I,{_hideLabel:!0,_hideMsg:!0,_label:`Street name`,_placeholder:`Street name`,_msg:{_type:`error`,_description:`Please complete the address`},_touched:!0}),(0,q.jsx)(I,{_hideLabel:!0,_hideMsg:!0,_label:`House number`,_placeholder:`Number`,_msg:{_type:`error`,_description:`Please complete the address`},_touched:!0})]})})]}),a_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`This sample shows the `,(0,q.jsx)(`code`,{children:`_hideMsg`}),` feature for KolInputText. It allows to hide the message from an input field and can be used, when the message (e.g. error) is already shown somewhere else, e.g. for a group of inputs.`]})}),(0,q.jsx)(J,{id:`single-error`,children:(0,q.jsx)(I,{_msg:{_type:`error`,_description:`Error message`},_label:`Input with error`,_touched:!0})}),(0,q.jsx)(J,{id:`combined-error`,children:(0,q.jsxs)(`fieldset`,{className:`grid md:grid-cols-2 gap-4`,children:[(0,q.jsx)(`legend`,{children:`Combined input field`}),(0,q.jsx)(E,{className:`col-span-2`,_level:0,_type:`error`,children:`This is a combined error message`}),(0,q.jsx)(I,{_msg:{_type:`error`,_description:`This is a combined error message`},_hideMsg:!0,_label:`First input`,_touched:!0}),(0,q.jsx)(I,{_msg:{_type:`error`,_description:`This is a combined error message`},_hideMsg:!0,_label:`Second input with error`,_touched:!0})]})})]}),o_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates all available message types for KolInputText: default, info, error, warning, and success.`})}),(0,q.jsx)(J,{id:`msg-default`,children:(0,q.jsx)(I,{_label:`Default message`,_value:`Valid value`,_msg:{_type:`default`,_description:`This is a default message`},_touched:!0})}),(0,q.jsx)(J,{id:`msg-error`,children:(0,q.jsx)(I,{_label:`Error message`,_value:`Invalid value`,_msg:{_type:`error`,_description:`This is an error message`},_touched:!0})}),(0,q.jsx)(J,{id:`msg-info`,children:(0,q.jsx)(I,{_label:`Info message`,_value:`Some value`,_msg:{_type:`info`,_description:`This is an informational message`},_touched:!0})}),(0,q.jsx)(J,{id:`msg-success`,children:(0,q.jsx)(I,{_label:`Success message`,_value:`Valid value`,_msg:{_type:`success`,_description:`This is a success message`},_touched:!0})}),(0,q.jsx)(J,{id:`msg-warning`,children:(0,q.jsx)(I,{_label:`Warning message`,_value:`Valid value`,_msg:{_type:`warning`,_description:`This is a warning message`},_touched:!0})})]}),s_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsxs)(X,{children:[(0,q.jsx)(`p`,{children:`Regression sample for #9073: when both _msg and _hasCounter are set, aria-describedby must reference both the message and counter elements.`}),(0,q.jsx)(`p`,{children:`Open DevTools and inspect each input to confirm aria-describedby contains both IDs.`})]}),(0,q.jsx)(J,{id:`warning`,children:(0,q.jsx)(I,{_label:`Warning + Counter`,_msg:{_type:`warning`,_description:`Bitte prüfen Sie Ihre Eingabe.`},_hasCounter:!0,_maxLength:30})}),(0,q.jsx)(J,{id:`error`,children:(0,q.jsx)(I,{_label:`Error + Counter (touched)`,_msg:{_type:`error`,_description:`Pflichtfeld – bitte ausfüllen.`},_hasCounter:!0,_maxLength:30,_touched:!0})}),(0,q.jsx)(J,{id:`info`,children:(0,q.jsx)(I,{_label:`Info + Counter`,_msg:{_type:`info`,_description:`Hinweis: maximal 20 Zeichen.`},_hasCounter:!0,_maxLength:20})})]}),c_=`^[A-Za-z]{3}-\\d{3}$`,l_=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample demonstrates HTML5 pattern validation for both native input and KolInputText components.`})}),(0,q.jsx)(J,{id:`pattern`,children:(0,q.jsxs)(`form`,{className:`grid gap-4`,children:[(0,q.jsxs)(`div`,{className:`grid gap-2`,children:[(0,q.jsx)(`label`,{htmlFor:`native-input`,children:`Native Input (Pattern: AAA-123, case-insensitive)`}),(0,q.jsx)(`input`,{id:`native-input`,name:`native-input`,pattern:c_,type:`text`})]}),(0,q.jsx)(I,{_label:`KoliBri Input (Pattern: AAA-123, case-insensitive)`,_name:`kolibri-input`,_pattern:c_,_hint:`Note: This input is not linked to the form element. The validation inside the Shadow DOM is currently not triggered on form submit.`}),(0,q.jsx)(`div`,{children:(0,q.jsx)(`button`,{type:`submit`,children:`Submit`})})]})})]}),u_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates the placeholder feature of KolInputText.`})}),(0,q.jsx)(J,{id:`first-name`,children:(0,q.jsx)(I,{_label:`First name`,_placeholder:`Enter your first name`})}),(0,q.jsx)(J,{id:`email`,children:(0,q.jsx)(I,{_label:`Email address`,_placeholder:`user@example.com`})}),(0,q.jsx)(J,{id:`tel`,children:(0,q.jsx)(I,{_label:`Phone number`,_placeholder:`+49 123 456789`,_type:`tel`})}),(0,q.jsx)(J,{id:`url`,children:(0,q.jsx)(I,{_label:`Website`,_placeholder:`https://example.com`,_type:`url`})}),(0,q.jsx)(J,{id:`search`,children:(0,q.jsx)(I,{_label:`Search`,_placeholder:`Search...`,_type:`search`})})]}),d_=()=>(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story demonstrates the readonly state of KolInputText. Readonly inputs can be focused but not edited.`})}),(0,q.jsx)(J,{id:`placeholder`,children:(0,q.jsx)(I,{_label:`Readonly with placeholder`,_placeholder:`Placeholder text`,_readOnly:!0})}),(0,q.jsx)(J,{id:`value`,children:(0,q.jsx)(I,{_label:`Readonly with value`,_value:`This field is readonly`,_readOnly:!0})}),(0,q.jsx)(J,{id:`info`,children:(0,q.jsx)(I,{_label:`Readonly with info message`,_value:`Read-only value`,_msg:{_type:`info`,_description:`This field cannot be edited`},_readOnly:!0,_touched:!0})}),(0,q.jsx)(J,{id:`editable`,children:(0,q.jsx)(I,{_label:`Comparison: Editable`,_value:`This field is editable`})})]}),f_=()=>{let e=d.useRef(null);function t(){e.current?.focus(),e.current?.setSelectionStart(8)}function n(){e.current?.focus(),e.current?.setSelectionRange(2,5)}function r(){e.current?.focus(),e.current?.setRangeText(`INSERTED`,5,9,`select`)}return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows how to change the selection in a KolInputText.`})}),(0,q.jsxs)(J,{id:`select-range`,children:[(0,q.jsx)(I,{_value:`Very long value`,_label:`Text Input Label`,ref:e}),(0,q.jsx)(k,{_label:`Set Start`,onClick:t}),(0,q.jsx)(k,{_label:`Set Range`,onClick:n}),(0,q.jsx)(k,{_label:`Set Range Text`,onClick:r})]})]})},p_={_icons:`kolicon-alert-info`,_hideLabel:!0},m_={left:{icon:`kolicon-eye`},right:{icon:`kolicon-check`}},h_=()=>{let e=yc.getInstance(document),t={onClick:()=>{e.enqueue({description:`Smart-Button clicked`,label:`Toaster`,type:`default`})}};return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows the smart button feature for KolInputText. It allows the usage of a button inside the bnput.`})}),(0,q.jsx)(J,{id:`enabled`,children:(0,q.jsx)(I,{_label:`Input with button and icons`,_type:`text`,_smartButton:{...p_,_label:`Open Toast`,_on:t},_icons:m_})}),(0,q.jsx)(J,{id:`disabled`,children:(0,q.jsx)(I,{_label:`Disabled input with button and icons`,_disabled:!0,_type:`text`,_smartButton:{...p_,_label:`Disabled Button`},_icons:m_})})]})},g_=class{SEPARATOR=` `;CHARS_PER_GROUP=4;KEEP_ALPHANUM=/[^a-zA-Z0-9]/g;parse(e){return e.replace(this.KEEP_ALPHANUM,``).toUpperCase()}format(e){let t=this.parse(e),n=RegExp(`(.{${this.CHARS_PER_GROUP}})(?!$)`,`g`);return t.replace(n,`$1${this.SEPARATOR}`)}adjustCursorPosition(e,t,n){let r=this.format(e),i=this.format(t);if(n>=r.length)return i.length;let a=0;for(let e=0;e<n&&e<r.length;e++)r[e]!==this.SEPARATOR&&a++;let o=0;for(let e=0;e<i.length;e++)if(i[e]!==this.SEPARATOR&&o++===a)return e;return i.length}},__=class{LOCALE=navigator.language;CURRENCY_SYMBOL=` €`;parse(e){let t=e.replace(/[^\d.,]/g,``),n=t.lastIndexOf(`,`),r=t.lastIndexOf(`.`),i;return i=n>r?t.replace(/\./g,``).replace(`,`,`.`):r>n?t.replace(/,/g,``):t.replace(/[.,]/g,``),parseFloat(i)||0}format(e){let t=typeof e==`string`?this.parse(e):e;return new Intl.NumberFormat(this.LOCALE,{minimumFractionDigits:2,maximumFractionDigits:2}).format(t)+this.CURRENCY_SYMBOL}adjustCursorPosition(e,t,n){let r=this.format(e),i=this.format(t);if(n>=r.length)return i.length;let a=0;for(let e=0;e<n&&e<r.length;e++)/\d/.test(r[e])&&a++;let o=0;for(let e=0;e<i.length;e++)if(/\d/.test(i[e])&&o++===a)return e;return i.length}};function v_(){let e=new g_,t=new __,n=Uh({defaultValues:{iban:`DE89370400440532013000`}}),r=Uh({defaultValues:{currency:1e6}}),i=t=>{let r=t.target,i=e.parse(r.value),a=e.adjustCursorPosition(n.getValues(`iban`),i,r.selectionStart||0);n.setValue(`iban`,i),requestAnimationFrame(()=>{requestAnimationFrame(()=>{r.setSelectionRange(a,a)})})};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(X,{children:[(0,q.jsx)(`p`,{children:`This example demonstrates two different formatting strategies for input fields:`}),(0,q.jsxs)(`ul`,{children:[(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`Live Formatting (IBAN):`}),` Formatting happens while typing. The value is immediately formatted and displayed with intelligent cursor positioning. Best for fixed-format values where users expect visual feedback during input.`]}),(0,q.jsxs)(`li`,{children:[(0,q.jsx)(`strong`,{children:`On-Blur Formatting (Currency):`}),` Formatting happens when leaving the field (onBlur event). Allows free typing without interruption. Best for numeric values where users might input in various formats.`]})]}),(0,q.jsxs)(`p`,{children:[(0,q.jsx)(`strong`,{children:`Key Concept:`}),` The form model always stores the `,(0,q.jsx)(`em`,{children:`unformatted`}),` value (raw IBAN string, numeric currency value), while the input field displays the `,(0,q.jsx)(`em`,{children:`formatted`}),` value for better readability.`]})]}),(0,q.jsxs)(J,{id:`iban`,className:`w-full flex flex-col`,children:[(0,q.jsxs)(`div`,{className:`p-2`,children:[(0,q.jsx)(N,{_label:`Live Formatting - IBAN`,_level:2}),(0,q.jsx)(`p`,{className:`text-sm mb-2`,children:`Formatting occurs during input with intelligent cursor control`}),(0,q.jsx)(M,{children:(0,q.jsx)(`form`,{onSubmit:n.handleSubmit(async()=>{}),children:(0,q.jsx)(zm,{name:`iban`,control:n.control,render:({field:t})=>(0,q.jsx)(`div`,{className:`block mt-2`,children:(0,q.jsx)(I,{id:`field-iban`,_label:`IBAN`,_value:e.format(t.value??``),_required:!0,_on:{onInput:i,onBlur:t.onBlur}})})})})})]}),(0,q.jsxs)(`div`,{className:`p-2`,children:[(0,q.jsx)(N,{_label:`Model (Unformatted Value)`,_level:2}),(0,q.jsx)(`pre`,{className:`text-base`,children:JSON.stringify(n.watch(),null,2)})]})]}),(0,q.jsxs)(J,{id:`currency`,className:`w-full flex flex-col`,children:[(0,q.jsxs)(`div`,{className:`p-2`,children:[(0,q.jsx)(N,{_label:`On-Blur Formatting - Currency`,_level:2}),(0,q.jsx)(`p`,{className:`text-sm mb-2`,children:`Formatting occurs when leaving the field (onBlur) for uninterrupted input`}),(0,q.jsx)(M,{children:(0,q.jsx)(`form`,{onSubmit:r.handleSubmit(async()=>{}),children:(0,q.jsx)(zm,{name:`currency`,control:r.control,render:({field:e})=>(0,q.jsx)(`div`,{className:`block mt-2`,children:(0,q.jsx)(I,{id:`field-currency`,_label:`Currency`,_value:t.format(e.value??0),_on:{onBlur:n=>{let r=n.target,i=t.parse(r.value);e.onChange(i),e.onBlur()}}})})})})})]}),(0,q.jsxs)(`div`,{className:`p-2`,children:[(0,q.jsx)(N,{_label:`Model (Numeric Value)`,_level:2}),(0,q.jsx)(`pre`,{className:`text-base`,children:JSON.stringify(r.watch(),null,2)})]})]})]})}var y_={"input-text":{"aria-details":Xg,basic:Qg,"clear-button":$g,"get-value":r_,"message-types":o_,placeholder:u_,disabled:t_,readonly:d_,counter:e_,"msg-and-counter":s_,"access-short-key":Yg,"hide-label":i_,"hide-msg":a_,"text-formatter":v_,"smart-button":h_,"expert-slot":n_,pattern:l_,"select-range":f_,background:Zg,variant:()=>{let[e]=Rr(),t=e.get(`theme`)??Rf(),n=(0,d.useMemo)(()=>t?Of(t,`inputVariants`):[],[t]);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This story showcases input variants depending on your choosen theme.`})}),(0,q.jsx)(`div`,{className:`grid grid-cols-2 gap-8 p-8`,children:!Array.isArray(n)||n.length===0?(0,q.jsx)(J,{id:`no-variants`,children:(0,q.jsx)(`p`,{children:`This theme has no variants for inputs.`})}):n.map(e=>(0,q.jsxs)(J,{id:`variant-${Fd(String(e))}`,heading:`Variante: ${String(e)}`,className:`grid gap-4 p-8`,children:[(0,q.jsx)(I,{_label:`Input Text`,_hint:`Enter your surname`,_variant:e,_msg:{_type:`error`,_description:`Error message`},_touched:!0,_hasCounter:!0}),(0,q.jsx)(pe,{_label:`Input Passwort`,_variant:e}),(0,q.jsx)(le,{_label:`Input Color`,_variant:e}),(0,q.jsx)(F,{_label:`Input Date`,_variant:e}),(0,q.jsx)(ue,{_label:`Input Email`,_variant:e}),(0,q.jsx)(de,{_label:`Input File`,_variant:e}),(0,q.jsx)(fe,{_label:`Input Number`,_variant:e}),(0,q.jsx)(he,{_label:`Input Range`,_variant:e}),(0,q.jsx)(R,{_label:`Select`,_options:[{label:`Please select…`,value:``},{label:`One`,value:`one`},{label:`Two`,value:`two`}],_variant:e}),(0,q.jsx)(we,{_label:`Single Select`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`}],_variant:e}),(0,q.jsx)(j,{_label:`Combobox`,_suggestions:`['Herr','Frau','Firma']`,_variant:e}),(0,q.jsx)(me,{_label:`Radio Group`,_options:[{label:`Field 1`,value:1},{label:`Field 2`,value:2}],_variant:e}),(0,q.jsx)(B,{_label:`Textarea`,_variant:e})]},e))})]})}}},b_={kolibri:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolKolibri renders the KoliBri logo. The sample show the logo with and without label and with a custom color.`})}),(0,q.jsxs)(J,{id:`basic`,children:[(0,q.jsx)(N,{class:`block`,_level:3,_label:`Regular`}),(0,q.jsx)(ge,{class:`block`,style:{width:300}}),(0,q.jsx)(N,{class:`block`,_level:3,_label:`Without Label`}),(0,q.jsx)(ge,{class:`block`,style:{width:300},_labeled:!1}),(0,q.jsx)(N,{class:`block`,_level:3,_label:`Customized color`}),(0,q.jsx)(ge,{class:`block`,style:{width:300},_color:`#cc006e`})]})]})}},x_={"link-button":{basic:()=>{let[e]=Rr(),t=e.get(`theme`)??Rf(),n=(0,d.useMemo)(()=>t?Of(t,`buttonVariants`):[],[t]),{dummyClickEventHandler:r}=Yd(),i={onClick:r};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolLinkButton renders a link that looks like a button. The sample shows the different theme exclusive styling variants.`})}),(0,q.jsx)(`div`,{className:`grid gap-8`,children:(0,q.jsxs)(J,{id:`variants`,children:[(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4 items-center`,children:!Array.isArray(n)||n.length===0?(0,q.jsx)(`p`,{children:`This theme has no variants for this component.`}):n.map(e=>(0,q.jsx)(_e,{_href:`#/back-page`,_icons:`kolicon-house`,_label:`${e}`,_variant:e,_on:i},e))}),(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4 items-center`,children:!Array.isArray(n)||n.length===0?(0,q.jsx)(`p`,{children:`This theme has no variants for this component.`}):n.map(e=>(0,q.jsx)(_e,{_href:`#/back-page`,_hideLabel:!0,_icons:`kolicon-settings`,_label:`${e}`,_variant:e,_on:i},e))})]})})]})},"aria-description":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolLinkButton with aria-description`})}),(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[(0,q.jsx)(_e,{_href:`#/back-page`,_label:`Link Button Text without area description`}),(0,q.jsx)(_e,{_href:`#/back-page`,_label:`Link Button Text`,_ariaDescription:`Link Button Aria Description`}),(0,q.jsx)(_e,{_href:`#/back-page`,_label:`Link Button Text`,_ariaDescription:`Link Button Aria Description with external Link`,_target:`_blank`})]})]}),target:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolLinkButton with diffrent Targets`})}),(0,q.jsxs)(J,{id:`target`,className:`flex flex-wrap gap-2`,children:[(0,q.jsx)(_e,{_href:`#/back-page`,_label:`Link Button Target default`}),(0,q.jsx)(_e,{_href:`#/back-page`,_label:`Link Button Target _self`,_target:`_blank`}),(0,q.jsx)(_e,{_href:`#/back-page`,_label:`Link Button Target _blank`,_target:`_blank`})]})]})}},S_={link:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolLink renders a link. This sample shows disabled links, links with hidden label, the boolean _inline property and links with different CSS`,` `,(0,q.jsx)(`code`,{children:`display`}),`-properties.`]})}),(0,q.jsxs)(J,{id:`basic`,children:[(0,q.jsx)(L,{_href:`#/back-page`,_inline:!1,_label:`Simple Link`}),(0,q.jsx)(L,{_disabled:!0,_href:`#/back-page`,_inline:!1,_label:`Simple Link (disabled)`}),(0,q.jsx)(L,{_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_inline:!1,_label:`Icon Link`}),(0,q.jsx)(L,{_disabled:!0,_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_inline:!1,_label:`Icon Link (disabled)`}),(0,q.jsxs)(`p`,{children:[`In this paragraph, a link is inserted that contains no additional attributes. `,(0,q.jsx)(L,{_href:`#/back-page`,_label:`Simple Link`}),` It is rendered by default as a `,(0,q.jsx)(`strong`,{children:`inline element`}),`.`]}),(0,q.jsxs)(`p`,{children:[`In this paragraph, a link is inserted that is rendered as an inline-block element.`,` `,(0,q.jsx)(L,{class:`d-inline-block`,_accessKey:`S`,_href:`#/back-page`,_label:`Simple Link`}),`. This allows you to assign width, height, and other properties to it using CSS styles.`,(0,q.jsx)(`br`,{}),(0,q.jsx)(`br`,{}),`After that, there is a link that is rendered as a block element. `,(0,q.jsx)(L,{class:`d-block`,_href:`#/back-page`,_label:`Simple Link`}),`, therefore, I span the entire width of the parent element, causing a line break.`]}),(0,q.jsx)(L,{_href:`#/back-page`,_inline:!1,_label:`Special Variant Link`,_variant:`theme-link`})]})]}),icons:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolLink with icons in different alignments and combinations.`})}),(0,q.jsxs)(J,{id:`icons`,children:[(0,q.jsx)(L,{_icons:`kolicon-house`,_label:`I am a link with an icon on the left`,_href:`#/back-page`}),(0,q.jsx)(L,{_icons:{right:`kolicon-house`},_label:`I am a link with an icon on the right`,_href:`#/back-page`}),(0,q.jsx)(L,{_icons:{top:`kolicon-house`},_label:`I am a link with an icon at the top`,_href:`#/back-page`}),(0,q.jsx)(L,{_icons:{bottom:`kolicon-house`},_label:`I am a link with icon below`,_href:`#/back-page`}),(0,q.jsx)(L,{_icons:{top:`kolicon-house`,right:`kolicon-house`,bottom:`kolicon-house`,left:`kolicon-house`},_label:`I am a link with all icons`,_href:`#/back-page`}),(0,q.jsx)(L,{_icons:`kolicon-house`,_href:`https://public-ui.github.io/`,_label:`I am a external link with an icon on the left`,_target:`_blank`}),(0,q.jsx)(L,{_icons:{right:`kolicon-house`},_href:`https://public-ui.github.io/`,_label:`I am a external linkwith an icon on the right`,_target:`_blank`}),(0,q.jsx)(L,{_icons:{top:`kolicon-house`},_href:`https://public-ui.github.io/`,_label:`I am a external link with an icon at the top`,_target:`_blank`}),(0,q.jsx)(L,{_icons:{bottom:`kolicon-house`},_href:`https://public-ui.github.io/`,_label:`I am a external link with icon below`,_target:`_blank`}),(0,q.jsx)(L,{_href:`https://public-ui.github.io/`,_label:`I am a external link with all icons`,_target:`_blank`,_icons:{top:`kolicon-house`,right:`kolicon-house`,bottom:`kolicon-house`,left:`kolicon-house`}})]})]}),image:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolLink can be used with slot-content instead of a label as well. This sample demonstrates the slot content used to display an image.`})}),(0,q.jsxs)(J,{id:`image`,children:[(0,q.jsx)(L,{_href:`#/back-page`,_label:`I am a link that is rendered as text`}),(0,q.jsx)(L,{_href:`#/back-page`,_label:``,children:(0,q.jsx)(ce,{_alt:`KoliBri design system illustration showing three people working on laptops surrounded by UI components, charts, and the KoliBri hummingbird logo`,_src:`sample-image.png`,className:`w-image`,slot:`expert`})})]})]}),target:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`This sample shows KolLink with different `,(0,q.jsx)(`code`,{children:`_target`}),`-properties.`]})}),(0,q.jsx)(J,{id:`target`,className:`text-base d-flex gap-4`,children:(0,q.jsxs)(`ul`,{children:[(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:`#/back-page`,_label:`Link without target`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:`#/back-page`,_label:`Link with target (_self)`,_target:`_self`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:`#/back-page`,_label:`Link with target (_blank)`,_target:`_blank`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`Link without target`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`Link with target (_self)`,_target:`_self`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_href:`#/back-page`,_icons:`kolicon-house`,_hideLabel:!0,_label:`Link with target (_blank)`,_target:`_blank`})})]})})]}),"aria-description":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolLink with aria-description`})}),(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(L,{_href:`#/back-page`,_label:`Link Text without aria description`}),(0,q.jsx)(L,{_href:`#/back-page`,_label:`Link Text`,_ariaDescription:`Link Area Description`})]})]}),"access-key":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolLink with access key. The access keys can be used to trigger the buttons using the keyboard.`})}),(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(L,{_href:`#/back-page`,_label:`With S access key`,_accessKey:`S`}),(0,q.jsx)(L,{_href:`#/back-page`,_label:`Very small s`,_accessKey:`s`}),(0,q.jsx)(L,{_href:`#/back-page`,_label:`Access key does not appear in label`,_accessKey:`s`}),(0,q.jsx)(L,{_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_label:`access key without label`,_accessKey:`s`})]})]}),"short-key":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows KolButton with short key without functionality. The short key is purely visual. Its functionality needs to be developed separately.`})}),(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(L,{_href:`#/back-page`,_label:`With S short key`,_shortKey:`S`}),(0,q.jsx)(L,{_href:`#/back-page`,_label:`Very small s`,_shortKey:`s`}),(0,q.jsx)(L,{_href:`#/back-page`,_label:`Short key does not appear in label`,_shortKey:`s`}),(0,q.jsx)(L,{_hideLabel:!0,_icons:`kolicon-house`,_href:`#/back-page`,_label:`short key without label`,_shortKey:`s`})]})]}),"react-router":()=>{let e=hn();return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows how KolLink works with react-router. Primary click uses preventDefault() and navigate(...), while right click open in new tab still follows _href. Make sure _href and navigate(...) point to the same path.`})}),(0,q.jsx)(`div`,{className:`grid gap-4`,children:(0,q.jsx)(L,{_href:`/back-page`,_inline:!1,_label:`Go to overview`,_on:{onClick:t=>{t.preventDefault(),e(`/back-page`)}}})})]})},"linked-headline":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows a linked headline with anchor.`})}),(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(L,{_href:`/#/link/linked-headline#headline1`,_label:``,children:(0,q.jsx)(N,{_label:`I'm H2-heading number one`,_level:2,slot:`expert`,id:`headline1`})}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(L,{_href:`/#/link/linked-headline#headline2`,_label:``,children:(0,q.jsx)(N,{_label:`I'm H2-heading number two`,_level:2,slot:`expert`,id:`headline2`})}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(L,{_href:`/#/link/linked-headline#headline3`,_label:``,children:(0,q.jsx)(N,{_label:`I'm H2-heading number three`,_level:2,slot:`expert`,id:`headline3`})}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`}),(0,q.jsx)(`p`,{children:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`})]})]}),"on-click":()=>{let[e,t]=(0,d.useState)(0);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(X,{children:[(0,q.jsxs)(`p`,{children:[`This sample demonstrates the issue described in`,` `,(0,q.jsx)(`a`,{href:`https://github.com/public-ui/kolibri/issues/10726`,target:`_blank`,rel:`noopener noreferrer`,children:`#10726`}),`.`,(0,q.jsx)(`br`,{}),`Test the behavior of KolLink with onClick handlers and compare it to native <a> tags.`]}),(0,q.jsxs)(`p`,{children:[(0,q.jsx)(`strong`,{children:`Expected behavior (like native <a> tag):`}),(0,q.jsxs)(`ul`,{children:[(0,q.jsx)(`li`,{children:`onClick without preventDefault: Execute onClick AND navigate to href`}),(0,q.jsx)(`li`,{children:`onClick with preventDefault: Execute onClick, BLOCK navigation`}),(0,q.jsx)(`li`,{children:`onClick returning false: Execute onClick, BLOCK navigation`})]})]}),(0,q.jsxs)(`p`,{children:[(0,q.jsx)(`strong`,{children:`Current behavior (Issue #10726):`}),(0,q.jsxs)(`ul`,{children:[(0,q.jsx)(`li`,{children:`❌ onClick with preventDefault: Still navigates to href (should only execute onClick)`}),(0,q.jsx)(`li`,{children:`❌ onClick returning false: Still navigates to href (should only execute onClick)`})]})]})]}),(0,q.jsx)(J,{id:`on-click`,children:(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsxs)(`div`,{className:`bg-gray-100 p-4 rounded`,children:[(0,q.jsx)(`h2`,{className:`h3 mb-2`,children:`Test Results`}),(0,q.jsxs)(`p`,{children:[(0,q.jsx)(`strong`,{children:`onClick executions:`}),` `,e]}),(0,q.jsx)(`p`,{className:`text-sm text-gray-600`,children:`(Open browser console to see detailed logs)`}),(0,q.jsx)(`p`,{className:`text-sm text-gray-600`,children:`Note: This demo uses href="#test" to avoid actual page reloads. Check the URL hash and console output.`})]}),(0,q.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,q.jsx)(`h3`,{className:`h4 mb-2`,children:`Test 1: onClick ohne preventDefault`}),(0,q.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Expected: Click increments counter AND adds #test-1 to URL`}),(0,q.jsx)(L,{_href:`#test-1`,_label:`Click me (no preventDefault)`,_on:{onClick:(e,n)=>{console.log(`Test 1: onClick ohne preventDefault`,{event:e,href:n}),t(e=>e+1)}},_inline:!1})]}),(0,q.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,q.jsx)(`h3`,{className:`h4 mb-2`,children:`Test 2: onClick mit preventDefault()`}),(0,q.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Expected: Click increments counter but does NOT add #test-2 to URL`}),(0,q.jsx)(L,{_href:`#test-2`,_label:`Click me (with preventDefault)`,_on:{onClick:(e,n)=>{console.log(`Test 2: onClick mit preventDefault`,{event:e,href:n}),t(e=>e+1),e.preventDefault()}},_inline:!1})]}),(0,q.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,q.jsx)(`h3`,{className:`h4 mb-2`,children:`Test 3: onClick returning false`}),(0,q.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Expected: Click increments counter but does NOT add #test-3 to URL`}),(0,q.jsx)(L,{_href:`#test-3`,_label:`Click me (return false)`,_on:{onClick:(e,n)=>(console.log(`Test 3: onClick mit return false`,{event:e,href:n}),t(e=>e+1),!1)},_inline:!1})]}),(0,q.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,q.jsx)(`h3`,{className:`h4 mb-2`,children:`Test 4: useNavigate Pattern (Issue #10726)`}),(0,q.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Expected: Click logs navigate action but does NOT add #test-4 to URL`}),(0,q.jsx)(L,{_href:`#test-4`,_label:`Click me (simulate useNavigate)`,_on:{onClick:(e,n)=>{console.log(`Test 4: onClick mit simulate navigate`,{event:e,href:n}),t(e=>e+1),e.preventDefault(),console.log(`Simulated navigate to:`,n)}},_inline:!1})]}),(0,q.jsxs)(`div`,{className:`bg-white p-4 rounded border`,children:[(0,q.jsx)(`h3`,{className:`h4 mb-2`,children:`Reference: Native <a> Tag`}),(0,q.jsx)(`p`,{className:`text-sm text-gray-600 mb-2`,children:`Test native <a> tag behavior for comparison`}),(0,q.jsxs)(`div`,{className:`grid gap-2`,children:[(0,q.jsx)(`a`,{href:`#native-test-1`,onClick:()=>{console.log(`Native a: onClick ohne preventDefault`),t(e=>e+1)},className:`btn btn-primary`,children:`Native: No preventDefault`}),(0,q.jsx)(`a`,{href:`#native-test-2`,onClick:e=>{console.log(`Native a: onClick mit preventDefault`),t(e=>e+1),e.preventDefault()},className:`btn btn-primary`,children:`Native: With preventDefault`}),(0,q.jsx)(`a`,{href:`#native-test-3`,onClick:()=>(console.log(`Native a: onClick mit return false`),t(e=>e+1),!1),className:`btn btn-primary`,children:`Native: Return false`})]})]})]})})]})},"link-variant":()=>{let[e]=Rr(),t=e.get(`theme`)??Rf(),n=(0,d.useMemo)(()=>t?Of(t,`linkVariants`):[],[t]);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows the theme specific variants of KolLink.`})}),(0,q.jsxs)(J,{id:`variants`,children:[(0,q.jsx)(L,{_href:`#/back-page`,_label:`Normal link without a variant`}),!Array.isArray(n)||n.length===0?(0,q.jsx)(`p`,{children:`This theme has no variants for this component.`}):n.map(e=>(0,q.jsx)(L,{_href:`#/back-page`,_label:`Theme exclusive variant: ${e}`,_variant:e},e))]})]})}}},C_={meter:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolMeter renders a semantic meter element. You can use _min (default 0), _max (default 1) and _unit (default %) to customize it.`})}),(0,q.jsx)(`div`,{className:`grid gap-8`,children:(0,q.jsx)(J,{id:`basic`,heading:`Basic`,children:(0,q.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,q.jsx)(ve,{_label:`Storage used`,_value:.5}),(0,q.jsx)(ve,{_label:`Weight`,_max:100,_value:75,_unit:`kg`}),(0,q.jsx)(ve,{_label:`Temperature`,_min:-100,_max:100,_value:-50,_unit:`°C`})]})})})]}),dynamic:()=>{let[e,t]=(0,d.useState)(120);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolMeter announces value changes immediately to screen readers. Use the buttons below to verify the live region updates without delay.`})}),(0,q.jsx)(`div`,{className:`grid gap-8`,children:(0,q.jsxs)(J,{id:`dynamic-value`,heading:`Dynamic value`,children:[(0,q.jsx)(ve,{_label:`Used hard disk space`,_max:500,_min:0,_unit:`GB`,_value:e}),(0,q.jsxs)(`div`,{className:`flex gap-4`,children:[(0,q.jsx)(O,{_label:`120 GB`,_on:{onClick:()=>t(120)},_variant:`secondary`}),(0,q.jsx)(O,{_label:`240 GB`,_on:{onClick:()=>t(240)},_variant:`secondary`}),(0,q.jsx)(O,{_label:`360 GB`,_on:{onClick:()=>t(360)},_variant:`secondary`}),(0,q.jsx)(O,{_label:`480 GB`,_on:{onClick:()=>t(480)},_variant:`secondary`})]})]})})]})},optimum:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`The _optimum prop indicates the preferred value. Combined with _low and _high, the browser uses it to determine whether the current value is in a good, acceptable or bad zone – which affects the semantic coloring.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`optimum-medium-zone-good`,heading:`Optimum in medium zone (good = medium)`,children:(0,q.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,q.jsx)(ve,{_label:`Temperature is nice`,_min:-20,_max:60,_low:10,_high:30,_optimum:20,_value:20,_unit:`°C`}),(0,q.jsx)(ve,{_label:`It's too cold`,_min:-20,_max:60,_low:10,_high:30,_optimum:20,_value:-10,_unit:`°C`}),(0,q.jsx)(ve,{_label:`It's too hot`,_min:-20,_max:60,_low:10,_high:30,_optimum:20,_value:50,_unit:`°C`})]})}),(0,q.jsx)(J,{id:`optimum-low-zone-good-low`,heading:`Optimum in low zone (good = low)`,children:(0,q.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,q.jsx)(ve,{_label:`Memory Usage`,_max:100,_value:10,_low:25,_high:75,_optimum:10}),(0,q.jsx)(ve,{_label:`Memory Usage`,_max:100,_value:50,_low:25,_high:75,_optimum:10}),(0,q.jsx)(ve,{_label:`Memory Usage`,_max:100,_value:90,_low:25,_high:75,_optimum:10})]})}),(0,q.jsx)(J,{id:`optimum-high-zone-good-high`,heading:`Optimum in high zone (good = high)`,children:(0,q.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,q.jsx)(ve,{_label:`Battery level`,_max:100,_value:10,_low:25,_high:75,_optimum:90}),(0,q.jsx)(ve,{_label:`Battery level`,_max:100,_value:50,_low:25,_high:75,_optimum:90}),(0,q.jsx)(ve,{_label:`Battery level`,_max:100,_value:90,_low:25,_high:75,_optimum:90})]})})]})]}),orientation:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`The _orientation prop switches the meter bar between horizontal (default) and vertical. Vertical meters grow from bottom to top and are useful for tank fill levels, signal strength or similar scalar indicators.`})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`vertical`,heading:`Vertical`,children:(0,q.jsxs)(`div`,{className:`flex flex-row gap-8 items-end`,children:[(0,q.jsx)(ve,{style:{"--kol-meter-vertical-height":`100`},_label:`Tank 100l`,_max:100,_value:50,_orientation:`vertical`,_unit:`l`}),(0,q.jsx)(ve,{style:{"--kol-meter-vertical-height":`150`},_label:`Tank 150l`,_max:150,_value:50,_orientation:`vertical`,_unit:`l`}),(0,q.jsx)(ve,{style:{"--kol-meter-vertical-height":`200`},_label:`Tank 200l`,_max:200,_value:150,_orientation:`vertical`,_unit:`l`})]})}),(0,q.jsx)(J,{id:`vertical-ranges-optimum`,heading:`Vertical with ranges and optimum`,children:(0,q.jsxs)(`div`,{className:`flex flex-row gap-8`,children:[(0,q.jsx)(ve,{_label:`Low`,_max:100,_value:10,_low:25,_high:75,_optimum:50,_orientation:`vertical`}),(0,q.jsx)(ve,{_label:`OK`,_max:100,_value:50,_low:25,_high:75,_optimum:50,_orientation:`vertical`}),(0,q.jsx)(ve,{_label:`High`,_max:100,_value:90,_low:25,_high:75,_optimum:50,_orientation:`vertical`})]})})]})]})}},w_={modal:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(E,{_label:`Component is DEPRECATED`,_type:`error`,_variant:`card`,className:`header-alert`,children:[`The Modal component was renamed to Dialog. Please use the Dialog sample instead.\xA0`,(0,q.jsx)(L,{_href:`/#/dialog`,_target:`_blank`,_label:`Open Dialog samples`})]}),(0,q.jsx)(ip,{})]})}},T_=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`This sample shows KolNav with a link to the current page. This makes the component automatically assign `,(0,q.jsx)(`code`,{children:`aria-current="page"`}),`to it.`]})}),(0,q.jsx)(J,{id:`aria-current`,children:(0,q.jsx)(ye,{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}]})})]}),E_=[{_label:`Homepage`,_icons:`kolicon-house`,_on:{onClick:()=>console.log(`Homepage clicked`)}},{_label:`2 Navigation point`,_href:`#/back-page`,_on:{onClick:()=>console.log(`Link clicked`)}},{_label:`3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`,_children:[{_label:`3.1 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`3.2 Navigation point`,_href:`#/back-page`,_target:`asdasd`},{_label:`3.3 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.3.1 Navigation point`,_href:`#/back-page`},{_label:`3.3.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.4 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1.1 Navigation point`,_href:`#/back-page`},{_label:`3.4.1.2 Navigation point (active)`,_href:`#/back-page`}]},{_label:`3.4.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.5 Navigation point`,_href:`#/back-page`}]},{_label:`4 Navigation point with children and onClick`,_children:[{_label:`4.1 Nested link`,_href:`#/back-page`}],_on:{onClick:()=>console.log(`4.1 Nested link clicked`)}},{_label:`5 No own page, only category`,_active:!0,_children:[{_label:`5.1 Nested link`,_href:`#/back-page`}]},{_label:`6 No own page, with icon`,_icons:`kolicon-kolibri`,_children:[{_label:`6.1 Nested link`,_href:`#/back-page`}]}],D_=[{_label:`Homepage`,_icons:`kolicon-house`,_on:{onClick:()=>console.log(`Homepage clicked`)}},{_label:`2 Navigation point`,_href:`#/back-page`,_on:{onClick:()=>console.log(`Link clicked`)}},{_label:`3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`},{_label:`4 Navigation point with children and onClick`,_on:{onClick:()=>console.log(`4.1 Nested link clicked`)}},{_label:`5 No own page, only category`,_active:!0},{_label:`6 No own page, with icon`,_icons:`kolicon-kolibri`}],O_=[{_label:`Homepage`,_icons:`kolicon-house`,_on:{onClick:()=>console.log(`Homepage clicked`)}},{_label:`2 Navigation point`,_href:`#/back-page`,_on:{onClick:()=>console.log(`Link clicked`)}},{_label:`3 Navigation point`,_href:`#/back-page`,_icons:`kolicon-house`,_children:[{_label:`3.1 Navigation point`,_icons:`kolicon-house`,_href:`#/back-page`},{_label:`3.2 Navigation point`,_target:`asdasd`},{_label:`3.3 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.3.1 Navigation point`,_href:`#/back-page`,_active:!0},{_label:`3.3.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.4 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1 Navigation point`,_href:`#/back-page`,_children:[{_label:`3.4.1.1 Navigation point`,_href:`#/back-page`},{_label:`3.4.1.2 Navigation point (active)`,_href:`#/back-page`}]},{_label:`3.4.2 Navigation point`,_href:`#/back-page`}]},{_label:`3.5 Navigation point`,_href:`#/back-page`}]}],k_={nav:{basic:()=>{let[e,t]=(0,d.useState)(!0);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolNav renders a navigation. In this sample, icons for the navigation elements can be shown or hidden using a checkbox and the navigation can be collapsed, showing only icons and no text labels.`})}),(0,q.jsxs)(`section`,{className:`grid gap-8`,children:[(0,q.jsx)(`section`,{children:(0,q.jsx)(P,{_label:`Show icons when expanded`,_checked:e,_on:{onChange:(e,n)=>{t(n)}}})}),(0,q.jsx)(J,{id:`navigation-submenu`,heading:`Navigation without submenu`,fitContent:!0,children:(0,q.jsx)(ye,{class:`block w-fit`,_label:`Navigation without submenu`,_links:D_,_hasCompactButton:!0,_hasIconsWhenExpanded:e})}),(0,q.jsx)(J,{id:`navigation-submenu-2`,heading:`Navigation with submenu`,fitContent:!0,children:(0,q.jsx)(ye,{class:`block w-fit`,_label:`Navigation with submenu`,_links:E_,_hasCompactButton:!0,_hasIconsWhenExpanded:e})}),(0,q.jsx)(J,{id:`navigation-submenu-active`,heading:`Navigation with submenu active`,fitContent:!0,children:(0,q.jsx)(ye,{class:`block w-fit`,_label:`Navigation with submenu active`,_links:O_,_hasCompactButton:!0,_hasIconsWhenExpanded:e})})]})]})},"aria-current":T_}},A_={pagination:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolPagination renders a pagination for datasets. The sample shows the different states and variations of a pagination and the option to change the page size.`})}),(0,q.jsxs)(J,{id:`basic`,narrow:!0,children:[(0,q.jsx)(be,{_max:316514,_page:15475,_pageSize:20,_siblingCount:3,_boundaryCount:1,_label:`Large dataset, page in the middle (Entries 309481 to 309500 of 316514)`,_on:{}}),(0,q.jsx)(be,{_max:316514,_page:1,_pageSize:50,_siblingCount:2,_boundaryCount:1,_label:`Large dataset, first page (Entries 1 to 50 of 316514)`,_on:{}}),(0,q.jsx)(be,{_max:316514,_page:6331,_pageSize:50,_siblingCount:2,_boundaryCount:1,_label:`Large dataset, last page (Entries 316501 to 316514 of 316514)`,_on:{}}),(0,q.jsx)(be,{_max:14,_page:14,_pageSize:1,_siblingCount:1,_boundaryCount:2,_label:`Small dataset, last page (Entries 14 to 14 of 14)`,_on:{}}),(0,q.jsx)(be,{_max:4,_page:1,_pageSize:4,_siblingCount:0,_boundaryCount:2,_label:`Tiny dataset, first page (Entries 1 to 4 of 4)`,_on:{}}),(0,q.jsx)(be,{_max:10,_page:15,_pageSize:5,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:`Edge case: page exceeds max (corrected to page 2, Entries 6 to 10 of 10)`,_on:{}}),(0,q.jsx)(be,{_max:1e3,_page:10,_pageSize:25,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:`Medium dataset with boundary buttons only (Entries 226 to 250 of 1000)`,_on:{}}),(0,q.jsx)(be,{_max:379,_page:6,_pageSize:10,_siblingCount:0,_boundaryCount:2,_hasButtons:!1,_label:`With page size options`,_on:{},_pageSizeOptions:[10,25,50,100]}),(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:1,_boundaryCount:1,_label:`Page size 10, sibling count 1 (Entries 41 to 50 of 100)`,_on:{}}),(0,q.jsx)(be,{_max:250,_page:3,_pageSize:30,_siblingCount:2,_boundaryCount:0,_label:`No boundary buttons, sibling count 2 (Entries 61 to 90 of 250)`,_on:{}})]})]}),"button-visibility":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample demonstrates how to show or hide the navigation buttons (first, previous, next, last) in a pagination. All examples use the same dataset configuration (_max=100, _page=5, _pageSize=10) to show the effect of different button visibility settings.`})}),(0,q.jsxs)(J,{id:`button-visibility`,children:[(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`Default: All buttons visible (first, previous, next, last)`,_on:{}}),(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`Only previous and next buttons`,_on:{},_hasButtons:{first:!1,last:!1,next:!0,previous:!0}}),(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`No navigation buttons, only page numbers`,_on:{},_hasButtons:!1})]}),(0,q.jsxs)(J,{id:`button-combinations`,skipSnapshot:!0,children:[(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`Only first and last buttons`,_on:{},_hasButtons:{first:!0,last:!0,next:!1,previous:!1}}),(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except first`,_on:{},_hasButtons:{first:!1,last:!0,next:!0,previous:!0}}),(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except last`,_on:{},_hasButtons:{first:!0,last:!1,next:!0,previous:!0}}),(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except previous`,_on:{},_hasButtons:{first:!0,last:!0,next:!0,previous:!1}}),(0,q.jsx)(be,{_max:100,_page:5,_pageSize:10,_siblingCount:2,_boundaryCount:1,_label:`All buttons except next`,_on:{},_hasButtons:{first:!0,last:!0,next:!1,previous:!0}})]})]}),"sibling-boundary":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample demonstrates how _siblingCount and _boundaryCount affect the number of page buttons shown. All examples use the same dataset configuration (_max=20, _page=5, _pageSize=1) to clearly show the effect of these settings. _siblingCount controls how many page buttons appear next to the current page, while _boundaryCount controls how many buttons appear at the beginning and end of the pagination.`})}),(0,q.jsxs)(J,{id:`sibling-boundary`,children:[(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_label:`Default: siblingCount=1, boundaryCount=1 (shows pages 1, 4, 5, 6, 20)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:2,_boundaryCount:1,_label:`siblingCount=2, boundaryCount=1 (shows pages 1, 3, 4, 5, 6, 7, 20)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:3,_boundaryCount:1,_label:`siblingCount=3, boundaryCount=1 (shows pages 1, 2, 3, 4, 5, 6, 7, 8, 20)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:0,_boundaryCount:1,_label:`siblingCount=0, boundaryCount=1 (shows pages 1, 5, 20 only)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:1,_boundaryCount:2,_label:`siblingCount=1, boundaryCount=2 (shows pages 1, 2, 4, 5, 6, 19, 20)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:1,_boundaryCount:3,_label:`siblingCount=1, boundaryCount=3 (shows pages 1, 2, 3, 4, 5, 6, 18, 19, 20)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:1,_boundaryCount:0,_label:`siblingCount=1, boundaryCount=0 (shows pages 4, 5, 6 only, with ellipsis)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:0,_boundaryCount:0,_label:`siblingCount=0, boundaryCount=0 (shows page 5 only, with ellipsis on both sides)`,_on:{}}),(0,q.jsx)(be,{_max:20,_page:5,_pageSize:1,_siblingCount:5,_boundaryCount:2,_label:`siblingCount=5, boundaryCount=2 (shows almost all pages)`,_on:{}}),(0,q.jsx)(be,{_max:100,_page:50,_pageSize:1,_siblingCount:3,_boundaryCount:2,_label:`Larger dataset: _max=100, _page=50, siblingCount=3, boundaryCount=2`,_on:{}})]})]})}},j_={"popover-button":{basic:()=>{let{dummyClickEventHandler:e}=Yd(),t=d.useRef(null),n={onClick:e},r=[{type:`button`,_label:`Show`,_icons:`kolicon-eye`,_on:n},{type:`button`,_label:`Delete`,_icons:`kolicon-minus`,_on:n},{type:`button`,_label:`Add`,_icons:`kolicon-plus`,_on:n}];return(0,d.useEffect)(()=>{t.current&&(t.current.showPopover(),t.current.focus())},[]),(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`The PopoverButton component combines a button with a popover that appears when clicked. The popover can be positioned in different directions (top, right, bottom, left) using the `,(0,q.jsx)(`code`,{children:`_popoverAlign`}),` prop.`]})}),(0,q.jsxs)(`div`,{className:`flex flex-col gap-4 items-center`,children:[(0,q.jsx)(xe,{_label:`Actions`,_variant:`primary`,_icons:{right:`kolicon-chevron-down`},ref:t,children:(0,q.jsx)(je,{_label:`Action toolbar`,_items:r,_orientation:`vertical`})}),(0,q.jsx)(xe,{_label:`Help`,_icons:`kolicon-alert-info`,_popoverAlign:`right`,_tooltipAlign:`bottom`,_hideLabel:!0,children:(0,q.jsxs)(`div`,{className:`w-sm p-2 border border-solid border-gray bg-white`,children:[(0,q.jsx)(N,{_label:`Help Information`,_level:0}),(0,q.jsxs)(`p`,{children:[(0,q.jsx)(`u`,{children:`Lorem ipsum dolor sit amet`}),`, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum! Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]})]})})]})]})},inline:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`A PopoverButton inline with some dummy text. Here the PopoverButton has the height of the surrounding text. As statet in`,(0,q.jsx)(`a`,{href:`https://www.w3.org/WAI/WCAG21/Understanding/target-size.html`,children:`Understanding SC 2.5.5`}),` target size of a help icon in text can be smaller than 44px by 44px.`]})}),(0,q.jsx)(J,{id:`inline`,className:`flex flex-col gap-4`,children:(0,q.jsxs)(`p`,{children:[`Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium.`,(0,q.jsx)(xe,{_inline:!0,_label:`Help`,_icons:`kolicon-alert-info`,_popoverAlign:`right`,_tooltipAlign:`bottom`,_hideLabel:!0,children:(0,q.jsxs)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:[(0,q.jsx)(N,{_label:`Help Information`,_level:0}),(0,q.jsxs)(`p`,{children:[(0,q.jsx)(`u`,{children:`Lorem ipsum dolor sit amet`}),`, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum! Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]})]})}),(0,q.jsx)(`br`,{}),`Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]})})]})}},M_={progress:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolProgress renders a progress indicator. The sample shows the variants "bar" and "cycle" with and without labels.`})}),(0,q.jsxs)(`div`,{className:`grid gap-4 grid-cols-1 sm:grid-cols-2`,children:[(0,q.jsxs)(J,{id:`percentages`,heading:`Percentages`,className:`flex flex-col gap-4`,children:[(0,q.jsx)(Se,{_variant:`bar`,_max:7,_value:0}),(0,q.jsx)(Se,{_variant:`bar`,_max:7,_value:2}),(0,q.jsx)(Se,{_variant:`bar`,_max:7,_value:7}),(0,q.jsx)(Se,{_variant:`cycle`,_max:7,_value:6})]}),(0,q.jsxs)(J,{id:`custom-units`,heading:`Custom units`,className:`flex flex-col gap-4`,children:[(0,q.jsx)(Se,{_label:`Distance`,_variant:`bar`,_max:65434,_value:7236,_unit:`m`}),(0,q.jsx)(Se,{_label:`12 Tasks to do`,_variant:`bar`,_max:12,_value:5,_unit:`tasks completed`}),(0,q.jsx)(Se,{_label:`Max 150 kg`,_variant:`cycle`,_max:150,_value:42,_unit:`kg`})]}),(0,q.jsxs)(J,{id:`min-max`,heading:`Min & Max`,className:`flex flex-col gap-4`,children:[(0,q.jsx)(Se,{_label:`More than max`,_variant:`bar`,_max:7,_value:14}),(0,q.jsx)(Se,{_label:`Less than min`,_variant:`bar`,_max:7,_value:-7})]})]})]}),changing:()=>{let[e,t]=(0,d.useState)(5),[n,r]=(0,d.useState)(10);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This shows that values can be changed and that they are clamped at max value (here at 10).`})}),(0,q.jsxs)(`fieldset`,{title:`changing`,className:`flex flex-col gap-4`,children:[(0,q.jsxs)(`div`,{className:`flex gap-4`,children:[(0,q.jsx)(`button`,{onClick:()=>t(-2),children:`set -2`}),(0,q.jsx)(`button`,{onClick:()=>t(5),children:`set 5`}),(0,q.jsx)(`button`,{onClick:()=>t(13),children:`set 13`}),(0,q.jsx)(`button`,{onClick:()=>r(-1),children:`change max to -1`}),(0,q.jsx)(`button`,{onClick:()=>r(5),children:`change max to 5`}),(0,q.jsx)(`button`,{onClick:()=>r(10),children:`change max to 10`})]}),(0,q.jsx)(Se,{_label:`Showing ${e} of ${n}`,_variant:`bar`,_max:n,_value:e}),(0,q.jsx)(Se,{_variant:`cycle`,_max:n,_value:e})]})]})}}},N_={quote:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolQuote renders a quote with optional citation. This sample shows a quote in the variant "inline" with a link for citation.`})}),(0,q.jsx)(J,{id:`basic`,children:(0,q.jsx)(Ce,{_href:`https://datatracker.ietf.org/doc/html/rfc1149`,_quote:`Avian carriers can provide high delay.`,_variant:`inline`})})]}),block:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows a quote in the "block" variant.`})}),(0,q.jsx)(J,{id:`block`,children:(0,q.jsx)(Ce,{_label:`RFC 1149`,_href:`https://datatracker.ietf.org/doc/html/rfc1149`,_quote:`Avian carriers can provide high delay, low throughput, and low altitude
|
|
75
75
|
service. The connection topology is limited to a single point-to-point path
|
|
76
76
|
for each carrier, used with standard carriers, but many carriers can be used
|
|
77
77
|
without significant interference with each other, outside early spring.
|
|
78
78
|
This is because of the 3D ether space available to the carriers, in contrast
|
|
79
79
|
to the 1D ether used by IEEE802.3. The carriers have an intrinsic collision
|
|
80
|
-
avoidance system, which increases availability.`,_variant:`block`})})]})}},P_=[{label:`Prof. Dr. very long value with more word so it really really breaks the layout `,value:`long`},{label:`No salutation`,value:``},{label:`Mrs.`,value:`Mrs.`},{label:`Mr.`,value:`Mr.`},{label:`Divers`,value:`Divers`}],F_=P_.map((e,t)=>t===0?{label:`Select salutation`,value:``,disabled:!0}:e),I_=qf.reduce((e,t)=>{let n=t.label.charAt(0).toUpperCase();return e[n]||(e[n]={label:n,options:[]}),e[n].options.push({label:t.label,value:t.label}),e},{}),L_=Object.values(I_),R_=(0,d.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(J,{...i(`salutation-icons`),children:(0,q.jsx)(R,{...n,ref:r,_accessKey:`a`,_options:P_,_label:`Salutation`,_icons:{left:{icon:`kolicon-chevron-left`},right:{icon:`kolicon-chevron-right`}}})}),(0,q.jsx)(J,{...i(`disabled`),children:(0,q.jsx)(R,{...n,_options:P_,_label:`Disabled`,_disabled:!0})}),(0,q.jsx)(J,{...i(`error`),children:(0,q.jsx)(R,{...n,_options:F_,_label:`Salutation with error`,_msg:{_type:`error`,_description:Y},_touched:!0})}),(0,q.jsx)(J,{...i(`multiple`),children:(0,q.jsx)(R,{...n,_options:qf,_label:`Multiple choice`,_multiple:!0})}),(0,q.jsx)(J,{...i(`multiple-error`),children:(0,q.jsx)(R,{...n,_options:qf,_label:`Multiple choice with error`,_multiple:!0,_required:!0,_msg:{_type:`error`,_description:Y},_hint:zd,_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,q.jsx)(J,{...i(`access-key`),children:(0,q.jsx)(R,{...n,_options:P_,_label:`With access key`,_accessKey:`c`})}),(0,q.jsx)(J,{...i(`short-key`),children:(0,q.jsx)(R,{...n,_options:P_,_label:`With short key`,_shortKey:`s`})}),(0,q.jsx)(J,{...i(`grouped`),children:(0,q.jsx)(R,{...n,_options:L_,_label:`With grouped by first letter`,_value:`Albanien`})}),(0,q.jsx)(J,{...i(`grouped-multiple`),children:(0,q.jsx)(R,{...n,_options:L_,_label:`With grouped by first letter (multiple)`,_multiple:!0,_value:[`Albanien`]})})]})}),z_=(0,d.forwardRef)(function(e,t){return(0,q.jsxs)(Wf,{children:[(0,q.jsx)(Gf,{heading:`Text`,children:(0,q.jsx)(R_,{blockIdPrefix:`label`,...e})}),(0,q.jsx)(Gf,{heading:`Text (hideLabel)`,children:(0,q.jsx)(R_,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),B_={select:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolSelect renders a select field. The sample shows KolSelect in a form context with all variations and states.`})}),(0,q.jsx)(Uf,{RefComponent:z_,showButtons:!1})]}),"get-value":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`Shows the callback value from `,(0,q.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,q.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,q.jsx)(Tp,{label:`KolSelect`,renderInput:e=>(0,q.jsx)(R,{_label:`Select option`,_options:[{label:`Please select…`,value:``},{label:`One`,value:`one`},{label:`Two`,value:`two`}],_on:e})})]}),"multiple-dropdown":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`Shows KolSelect with multiple=true and rows=1 - a select with multiselection in a dropdown.`})}),(0,q.jsx)(Tp,{label:`KolSelect`,renderInput:e=>(0,q.jsx)(R,{_label:`Select options`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`},{label:`Three`,value:`three`},{label:`Four`,value:`four`},{label:`Five`,value:`five`},{label:`Six`,value:`six`},{label:`Seven`,value:`seven`},{label:`Eight`,value:`eight`},{label:`Nine`,value:`nine`}],_multiple:!0,_rows:1,_on:e})})]})}},V_=[{value:`1`,label:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam`},{value:`2`,label:`Lorem ipsum dolor`},{value:`3`,label:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`},{value:`4`,label:`Lorem ipsum dolor`},{value:`5`,label:`Lorem ipsum dolor`},{value:`6`,label:`Lorem ipsum dolor`},{value:`7`,label:`Lorem ipsum dolor`},{value:`8`,label:`Lorem ipsum dolor`},{value:`2`,label:`Lorem ipsum dolor`}],H_=({blockIdPrefix:e,snapshotOnly:t,...n})=>{let r=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(J,{...r(`hint`),children:(0,q.jsx)(we,{...n,_hint:zd,_label:`Label`,_options:qf,_value:`de`})}),(0,q.jsx)(J,{...r(`disabled`),children:(0,q.jsx)(we,{...n,_label:`Disabled`,_options:qf,_value:`de`,_disabled:!0})}),(0,q.jsx)(J,{...r(`error`),children:(0,q.jsx)(we,{...n,_options:qf,_msg:{_type:`error`,_description:Y},_rows:3,_touched:!0,_label:`Label`,_placeholder:`Placeholder`,_required:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,q.jsx)(J,{...r(`access-key`),children:(0,q.jsx)(we,{...n,_label:`With access key`,_options:qf,_value:`de`,_accessKey:`c`})}),(0,q.jsx)(J,{...r(`short-key`),children:(0,q.jsx)(we,{...n,_label:`With short key`,_options:qf,_value:`de`,_shortKey:`s`})}),(0,q.jsx)(J,{...r(`long-labels`),children:(0,q.jsx)(we,{...n,_label:`With long labels`,_options:V_,_placeholder:`Placeholder`})}),(0,q.jsx)(J,{...r(`no-clear-button`),children:(0,q.jsx)(we,{...n,_label:`With hidden clear button`,_options:qf,_value:`de`,_hasClearButton:!1})}),(0,q.jsx)(J,{...r(`boolean-values`),children:(0,q.jsx)(we,{...n,_label:`Boolean option values (Issue #9122)`,_options:[{label:`False`,value:!1},{label:`True`,value:!0}],_value:!1})}),(0,q.jsx)(J,{...r(`disabled-options`),children:(0,q.jsx)(we,{...n,_hint:zd,_label:`With disabled options`,_options:[{value:`bw`,label:`Baden-Württemberg`},{value:`by`,label:`Bayern`,disabled:!0},{value:`be`,label:`Berlin`},{value:`bb`,label:`Brandenburg`},{value:`hb`,label:`Bremen`},{value:`hh`,label:`Hamburg`},{value:`he`,label:`Hessen`},{value:`mv`,label:`Mecklenburg-Vorpommern`,disabled:!0},{value:`ni`,label:`Niedersachsen`,disabled:!0},{value:`nw`,label:`Nordrhein-Westfalen`},{value:`rp`,label:`Rheinland-Pfalz`,disabled:!0},{value:`sl`,label:`Saarland`},{value:`sn`,label:`Sachsen`},{value:`st`,label:`Sachsen-Anhalt`,disabled:!0},{value:`sh`,label:`Schleswig-Holstein`,disabled:!0},{value:`th`,label:`Thüringen`}],_value:`be`})})]})},U_=e=>(0,q.jsxs)(Wf,{children:[(0,q.jsx)(Gf,{heading:`Text`,children:(0,q.jsx)(H_,{blockIdPrefix:`label`,...e})}),(0,q.jsx)(Gf,{heading:`Text (hideLabel)`,children:(0,q.jsx)(H_,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,...e,_hideLabel:!0})})]}),W_=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`SingleSelect provides a select field for a single value, supported by a search field.`})}),(0,q.jsx)(Uf,{RefComponent:U_,showButtons:!1})]}),G_=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`Shows the callback value from `,(0,q.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,q.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,q.jsx)(Tp,{label:`KolSingleSelect`,renderInput:e=>(0,q.jsx)(we,{_label:`Search option`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`}],_on:e})})]}),K_=({show:e})=>e?(0,q.jsx)(`div`,{className:`loading-overlay`,children:(0,q.jsx)(De,{_label:`loading`,_show:e,_variant:`cycle`,style:{backgroundColor:`transparent`}})}):null,q_={"single-select":{basic:W_,"get-value":G_,"lazy-loaded":()=>{let[e,t]=(0,d.useState)([]),[n,r]=(0,d.useState)(!1);function i(){e.length>0||(r(!0),setTimeout(()=>{t(qf),r(!1)},5e3))}return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This single select loads its list of countries 5 seconds after the first input of the user to simulate a call to the server.`})}),(0,q.jsxs)(`section`,{className:`w-full relative p-3`,children:[(0,q.jsx)(we,{_label:`Lazy loaded countries`,_options:e,onInput:()=>i()}),(0,q.jsx)(K_,{show:n})]})]})}}},J_={"skip-nav":{basic:()=>{let e=(0,d.useRef)(null);return(0,d.useEffect)(()=>{e.current?.focus()},[]),(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsxs)(X,{children:[(0,q.jsx)(`p`,{children:`KolSkipNav renders a list of navigation links that are visually hidden by default and only visible on focus.`}),(0,q.jsx)(`p`,{children:`For testing purposes, click into the example and press the tab-key in order to focus the first link.`})]}),(0,q.jsx)(Ee,{ref:e,_label:`Hidden navigation`,_links:[{_label:`To the top`,_href:`#/back-page`},{_label:`To the form`,_href:`#/back-page`},{_label:`To the end`,_href:`#/back-page`}]})]})}}},Y_={spin:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolSpin renders a loading indicator. It supports the variants "dot" (default) and "cycle". With`,` `,(0,q.jsx)(`code`,{children:`_variant="none"`}),` and the expert slot a custom animation can be used – custom animations are not necessarily barrier-free. Color and size can be changed with the CSS properties `,(0,q.jsx)(`code`,{children:`--kol-spin-color`}),` and `,(0,q.jsx)(`code`,{children:`--kol-spin-size`}),`. The label (`,(0,q.jsx)(`code`,{children:`_label`}),`) is only exposed to assistive technology, so it does not change the visual appearance.`]})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`basic`,heading:`Variant dot (default)`,fitContent:!0,children:(0,q.jsx)(De,{_show:!0})}),(0,q.jsx)(J,{id:`cycle`,heading:`Variant cycle`,fitContent:!0,children:(0,q.jsx)(De,{_show:!0,_variant:`cycle`})}),(0,q.jsx)(J,{id:`custom`,heading:`Custom animation (expert slot)`,fitContent:!0,children:(0,q.jsx)(De,{_show:!0,_variant:`none`,children:(0,q.jsx)(`span`,{slot:`expert`,className:`loader`})})}),(0,q.jsxs)(`div`,{children:[(0,q.jsx)(N,{_level:2,_label:`With label (screen reader only)`}),(0,q.jsx)(De,{_show:!0,_label:`Loading data...`})]}),(0,q.jsxs)(`div`,{children:[(0,q.jsx)(N,{_level:2,_label:`Custom color and size (CSS properties)`}),(0,q.jsx)(De,{_show:!0,style:{"--kol-spin-color":`green`,"--kol-spin-size":`80`}})]})]})]})}},X_={"split-button":{basic:()=>{let{buttonWithTextClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`The `,(0,q.jsx)(`code`,{children:`SplitButton`}),` component combines a primary action button with a context menu. Clicking the main button triggers the`,(0,q.jsx)(`strong`,{children:` Edit`}),` action. The context menu opens a vertical list of additional actions:`,(0,q.jsx)(`strong`,{children:` Save`}),`, `,(0,q.jsx)(`strong`,{children:`Move`}),`, and `,(0,q.jsx)(`strong`,{children:`Delete`}),`.`]})}),(0,q.jsx)(J,{id:`basic`,className:`flex flex-col gap-4`,children:(0,q.jsx)(Oe,{_label:`Edit`,_on:t,children:(0,q.jsx)(je,{_label:`Action toolbar`,_items:[{type:`button`,_label:`Save`,_icons:`kolicon-check`,_on:t},{type:`button`,_label:`Move Up`,_icons:`kolicon-chevron-up`,_on:t},{type:`button`,_label:`Delete`,_icons:`kolicon-minus`,_on:t}],_orientation:`vertical`})})})]})},"with-context":()=>{let e=d.useRef(null);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`SplitButton renders a button with an additional context-menu, that can be opened by clicking the arrow icon.`})}),(0,q.jsx)(`div`,{className:`flex gap-4`,children:(0,q.jsx)(Oe,{ref:e,_label:`Only the arrow opens`,children:(0,q.jsxs)(`div`,{style:{width:300,padding:16,border:`1px solid #ccc`},onClick:e=>e.stopPropagation(),children:[(0,q.jsx)(`p`,{children:`SplitButton renders a button with an additional context-menu, that can be opened by clicking the arrow icon.`}),(0,q.jsxs)(`div`,{style:{gap:16,display:`flex`,flexDirection:`column`},children:[(0,q.jsx)(I,{_label:`User`}),(0,q.jsx)(I,{_label:`Role`}),(0,q.jsx)(O,{_label:`Close`,_on:{onClick:()=>{e.current?.closePopup()}}})]})]})})})]})}}},Z_={horizontal:[[{key:`id`,label:`ID`,width:80},{key:`project`,label:`Project`},{key:`owner`,label:`Owner`,width:140},{type:`action`,key:`actions`,label:`Actions`,width:250,actions:e=>{let t=e;return[{type:`button`,_label:`Details`,_icons:`kolicon-eye`,_hideLabel:!0,_on:{onClick:()=>alert(`Details: ${t.id} - ${t.project}`)}},{type:`button`,_label:`Start`,_icons:`kolicon-chevron-right`,_variant:`secondary`,_on:{onClick:()=>alert(`Start task ${t.id}`)}},{type:`link`,_label:`View`,_href:`#/back-page?taskId=${t.id}`,_target:`_blank`,_icons:`kolicon-external-link`,_hideLabel:!1}]}},{type:`action`,key:`externalActions`,label:`External Actions`,width:280,actions:e=>[{type:`link`,_label:`View on Dashboard`,_href:`#/back-page?taskId=${e.id}`,_target:`_blank`,_icons:`kolicon-external-link`,_hideLabel:!1}]}]]},Q_=[{id:`T-01`,project:`Onboarding checklist`,owner:`Alex Rivera`},{id:`T-02`,project:`Accessibility audit`,owner:`Jamie Chen`}],$_=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`Simple example using the refactored action column: Actions are defined once in the column header definition using a factory function. Two rows with inline action buttons demonstrate clean separation between data and UI behavior.`})}),(0,q.jsx)(J,{id:`action-columns`,className:`w-full`,children:(0,q.jsx)(z,{_label:`Tasks with action buttons`,_headers:Z_,_data:Q_,className:`block`})})]}),ev=50,tv=[`Max`,`Erika`,`John`,`Jane`,`Peter`,`Anna`,`Michael`,`Sarah`,`Thomas`,`Lisa`,`Daniel`,`Maria`,`Christian`,`Laura`,`Stefan`,`Julia`,`Andreas`,`Sophie`,`Markus`,`Emma`],nv=[`Mustermann`,`Musterfrau`,`Doe`,`Smith`,`Schmidt`,`Müller`,`Weber`,`Meyer`,`Wagner`,`Becker`,`Fischer`,`Schneider`,`Hoffmann`,`Koch`,`Bauer`,`Richter`,`Klein`,`Wolf`,`Schröder`,`Neumann`],rv=[`active`,`inactive`,`pending`],iv=(e=>Array.from({length:e},(e,t)=>{let n=tv[t%tv.length],r=nv[Math.floor(t/tv.length)%nv.length],i=rv[t%rv.length],a=t+1;return{id:a,name:`${n} ${r}`,email:`${n.toLowerCase()}.${r.toLowerCase()}${a>20?a:``}@example.com`,status:i}}))(ev),av={horizontal:[[{key:`id`,label:`ID`,textAlign:`left`,width:60,compareFn:(e,t)=>e.id-t.id,sortDirection:`ASC`},{key:`name`,label:`Name`,textAlign:`left`,compareFn:(e,t)=>e.name.localeCompare(t.name,`de`),sortDirection:`ASC`},{key:`email`,label:`E-Mail`,textAlign:`left`,compareFn:(e,t)=>e.email.localeCompare(t.email,`de`),sortDirection:`ASC`},{key:`status`,label:`Status`,textAlign:`center`,width:100,compareFn:(e,t)=>e.status.localeCompare(t.status,`de`),sortDirection:`ASC`},{type:`action`,key:`actions`,label:`Aktionen`,textAlign:`center`,width:180,actions:e=>{let t=e;return[{type:`button`,_label:`Bearbeiten`,_icons:`kolicon-eye`,_hideLabel:!0,_tooltipAlign:`top`,_variant:`secondary`,_on:{onClick:()=>{console.log(`Edit clicked for:`,t),alert(`Bearbeiten: ${t.name}`)}}},{type:`button`,_label:`Löschen`,_icons:`kolicon-alert-error`,_hideLabel:!0,_tooltipAlign:`top`,_variant:`danger`,_on:{onClick:()=>{console.log(`Delete clicked for:`,t),alert(`Löschen: ${t.name}`)}}},{type:`button`,_label:`Details anzeigen`,_icons:`kolicon-alert-info`,_hideLabel:!0,_tooltipAlign:`top`,_variant:`normal`,_on:{onClick:()=>{console.log(`Details clicked for:`,t),alert(`Details: ${JSON.stringify(t,null,2)}`)}}}]}}]]},ov=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(X,{children:[(0,q.jsxs)(`p`,{children:[`Performance demo: `,ev,` rows with action buttons defined once in the column header using the refactored approach. The factory function generates actions for each row on demand, eliminating redundant data and improving maintainability.`]}),(0,q.jsxs)(`p`,{children:[`Actions stay type-safe with `,(0,q.jsx)(`code`,{children:`ActionColumnPropType`}),` (ButtonProps or LinkProps), and no custom render functions are needed.`]})]}),(0,q.jsx)(`section`,{className:`w-full`,children:(0,q.jsx)(z,{_label:`Benutzerverwaltung mit Action-Spalte`,_headers:av,_data:iv,className:`block`})})]}),sv={horizontal:[[{key:`project`,label:`Project`},{key:`owner`,label:`Owner`,width:140},{label:`ID`,key:`id`,width:100,render:(e,t)=>{let{label:n}=t;return`Index: ${n}`}},{type:`action`,key:`actions`,label:`Actions`,width:100,actions:e=>{let t=e;return[{type:`button`,_label:`Details`,_icons:`kolicon-eye`,_hideLabel:!0,_on:{onClick:()=>alert(`Details: ${t.id} - ${t.project}`)}}]}}]]},cv=[{id:`T-01`,project:`Onboarding checklist`,owner:`Alex Rivera`,react:`test`},{id:`T-02`,project:`Accessibility audit`,owner:`Jamie Chen`,react:`test`}],lv=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`Simple example using the refactored action column: Actions are defined once in the column header definition using a factory function. Two rows with inline action buttons demonstrate clean separation between data and UI behavior.`})}),(0,q.jsx)(`section`,{className:`w-full`,children:(0,q.jsx)(z,{_label:`Tasks with action buttons`,_headers:sv,_data:cv,className:`block`,_hasSettingsMenu:!0})})]}),uv=new WeakMap,dv=new WeakMap,fv=new WeakMap,pv=new WeakMap,mv=0,hv=`
|
|
80
|
+
avoidance system, which increases availability.`,_variant:`block`})})]})}},P_=[{label:`Prof. Dr. very long value with more word so it really really breaks the layout `,value:`long`},{label:`No salutation`,value:``},{label:`Mrs.`,value:`Mrs.`},{label:`Mr.`,value:`Mr.`},{label:`Divers`,value:`Divers`}],F_=P_.map((e,t)=>t===0?{label:`Select salutation`,value:``,disabled:!0}:e),I_=qf.reduce((e,t)=>{let n=t.label.charAt(0).toUpperCase();return e[n]||(e[n]={label:n,options:[]}),e[n].options.push({label:t.label,value:t.label}),e},{}),L_=Object.values(I_),R_=(0,d.forwardRef)(function({blockIdPrefix:e,snapshotOnly:t,...n},r){let i=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(J,{...i(`salutation-icons`),children:(0,q.jsx)(R,{...n,ref:r,_accessKey:`a`,_options:P_,_label:`Salutation`,_icons:{left:{icon:`kolicon-chevron-left`},right:{icon:`kolicon-chevron-right`}}})}),(0,q.jsx)(J,{...i(`disabled`),children:(0,q.jsx)(R,{...n,_options:P_,_label:`Disabled`,_disabled:!0})}),(0,q.jsx)(J,{...i(`error`),children:(0,q.jsx)(R,{...n,_options:F_,_label:`Salutation with error`,_msg:{_type:`error`,_description:Y},_touched:!0})}),(0,q.jsx)(J,{...i(`multiple`),children:(0,q.jsx)(R,{...n,_options:qf,_label:`Multiple choice`,_multiple:!0})}),(0,q.jsx)(J,{...i(`multiple-error`),children:(0,q.jsx)(R,{...n,_options:qf,_label:`Multiple choice with error`,_multiple:!0,_required:!0,_msg:{_type:`error`,_description:Y},_hint:zd,_touched:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,q.jsx)(J,{...i(`access-key`),children:(0,q.jsx)(R,{...n,_options:P_,_label:`With access key`,_accessKey:`c`})}),(0,q.jsx)(J,{...i(`short-key`),children:(0,q.jsx)(R,{...n,_options:P_,_label:`With short key`,_shortKey:`s`})}),(0,q.jsx)(J,{...i(`grouped`),children:(0,q.jsx)(R,{...n,_options:L_,_label:`With grouped by first letter`,_value:`Albanien`})}),(0,q.jsx)(J,{...i(`grouped-multiple`),children:(0,q.jsx)(R,{...n,_options:L_,_label:`With grouped by first letter (multiple)`,_multiple:!0,_value:[`Albanien`]})})]})}),z_=(0,d.forwardRef)(function(e,t){return(0,q.jsxs)(Wf,{children:[(0,q.jsx)(Gf,{heading:`Text`,children:(0,q.jsx)(R_,{blockIdPrefix:`label`,...e})}),(0,q.jsx)(Gf,{heading:`Text (hideLabel)`,children:(0,q.jsx)(R_,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,ref:t,...e,_hideLabel:!0})})]})}),B_={select:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolSelect renders a select field. The sample shows KolSelect in a form context with all variations and states.`})}),(0,q.jsx)(Uf,{RefComponent:z_,showButtons:!1})]}),"get-value":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`Shows the callback value from `,(0,q.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,q.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,q.jsx)(Tp,{label:`KolSelect`,renderInput:e=>(0,q.jsx)(R,{_label:`Select option`,_options:[{label:`Please select…`,value:``},{label:`One`,value:`one`},{label:`Two`,value:`two`}],_on:e})})]}),"multiple-dropdown":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`Shows KolSelect with multiple=true and rows=1 - a select with multiselection in a dropdown.`})}),(0,q.jsx)(Tp,{label:`KolSelect`,renderInput:e=>(0,q.jsx)(R,{_label:`Select options`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`},{label:`Three`,value:`three`},{label:`Four`,value:`four`},{label:`Five`,value:`five`},{label:`Six`,value:`six`},{label:`Seven`,value:`seven`},{label:`Eight`,value:`eight`},{label:`Nine`,value:`nine`}],_multiple:!0,_rows:1,_on:e})})]})}},V_=[{value:`1`,label:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam`},{value:`2`,label:`Lorem ipsum dolor`},{value:`3`,label:`Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.`},{value:`4`,label:`Lorem ipsum dolor`},{value:`5`,label:`Lorem ipsum dolor`},{value:`6`,label:`Lorem ipsum dolor`},{value:`7`,label:`Lorem ipsum dolor`},{value:`8`,label:`Lorem ipsum dolor`},{value:`2`,label:`Lorem ipsum dolor`}],H_=({blockIdPrefix:e,snapshotOnly:t,...n})=>{let r=n=>({id:`${e}-${n}`,skipSnapshot:t!==void 0&&n!==t});return(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(J,{...r(`hint`),children:(0,q.jsx)(we,{...n,_hint:zd,_label:`Label`,_options:qf,_value:`de`})}),(0,q.jsx)(J,{...r(`disabled`),children:(0,q.jsx)(we,{...n,_label:`Disabled`,_options:qf,_value:`de`,_disabled:!0})}),(0,q.jsx)(J,{...r(`error`),children:(0,q.jsx)(we,{...n,_options:qf,_msg:{_type:`error`,_description:Y},_rows:3,_touched:!0,_label:`Label`,_placeholder:`Placeholder`,_required:!0,_infoPopover:{_label:`hint`,_content:`Ich bin ein Hinweis.`,_icons:`kolicon-alert-info`}})}),(0,q.jsx)(J,{...r(`access-key`),children:(0,q.jsx)(we,{...n,_label:`With access key`,_options:qf,_value:`de`,_accessKey:`c`})}),(0,q.jsx)(J,{...r(`short-key`),children:(0,q.jsx)(we,{...n,_label:`With short key`,_options:qf,_value:`de`,_shortKey:`s`})}),(0,q.jsx)(J,{...r(`long-labels`),children:(0,q.jsx)(we,{...n,_label:`With long labels`,_options:V_,_placeholder:`Placeholder`})}),(0,q.jsx)(J,{...r(`no-clear-button`),children:(0,q.jsx)(we,{...n,_label:`With hidden clear button`,_options:qf,_value:`de`,_hasClearButton:!1})}),(0,q.jsx)(J,{...r(`boolean-values`),children:(0,q.jsx)(we,{...n,_label:`Boolean option values (Issue #9122)`,_options:[{label:`False`,value:!1},{label:`True`,value:!0}],_value:!1})}),(0,q.jsx)(J,{...r(`disabled-options`),children:(0,q.jsx)(we,{...n,_hint:zd,_label:`With disabled options`,_options:[{value:`bw`,label:`Baden-Württemberg`},{value:`by`,label:`Bayern`,disabled:!0},{value:`be`,label:`Berlin`},{value:`bb`,label:`Brandenburg`},{value:`hb`,label:`Bremen`},{value:`hh`,label:`Hamburg`},{value:`he`,label:`Hessen`},{value:`mv`,label:`Mecklenburg-Vorpommern`,disabled:!0},{value:`ni`,label:`Niedersachsen`,disabled:!0},{value:`nw`,label:`Nordrhein-Westfalen`},{value:`rp`,label:`Rheinland-Pfalz`,disabled:!0},{value:`sl`,label:`Saarland`},{value:`sn`,label:`Sachsen`},{value:`st`,label:`Sachsen-Anhalt`,disabled:!0},{value:`sh`,label:`Schleswig-Holstein`,disabled:!0},{value:`th`,label:`Thüringen`}],_value:`be`})})]})},U_=e=>(0,q.jsxs)(Wf,{children:[(0,q.jsx)(Gf,{heading:`Text`,children:(0,q.jsx)(H_,{blockIdPrefix:`label`,...e})}),(0,q.jsx)(Gf,{heading:`Text (hideLabel)`,children:(0,q.jsx)(H_,{blockIdPrefix:`hide-label`,snapshotOnly:`error`,...e,_hideLabel:!0})})]}),W_=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`SingleSelect provides a select field for a single value, supported by a search field.`})}),(0,q.jsx)(Uf,{RefComponent:U_,showButtons:!1})]}),G_=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`Shows the callback value from `,(0,q.jsx)(`code`,{children:`onInput`}),` while typing and from `,(0,q.jsx)(`code`,{children:`onChange`}),` after leaving the field.`]})}),(0,q.jsx)(Tp,{label:`KolSingleSelect`,renderInput:e=>(0,q.jsx)(we,{_label:`Search option`,_options:[{label:`One`,value:`one`},{label:`Two`,value:`two`}],_on:e})})]}),K_=({show:e})=>e?(0,q.jsx)(`div`,{className:`loading-overlay`,children:(0,q.jsx)(De,{_label:`loading`,_show:e,_variant:`cycle`,style:{backgroundColor:`transparent`}})}):null,q_={"single-select":{basic:W_,"get-value":G_,"lazy-loaded":()=>{let[e,t]=(0,d.useState)([]),[n,r]=(0,d.useState)(!1);function i(){e.length>0||(r(!0),setTimeout(()=>{t(qf),r(!1)},5e3))}return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This single select loads its list of countries 5 seconds after the first input of the user to simulate a call to the server.`})}),(0,q.jsxs)(`section`,{className:`w-full relative p-3`,children:[(0,q.jsx)(we,{_label:`Lazy loaded countries`,_options:e,onInput:()=>i()}),(0,q.jsx)(K_,{show:n})]})]})}}},J_={"skip-nav":{basic:()=>{let e=(0,d.useRef)(null);return(0,d.useEffect)(()=>{e.current?.focus()},[]),(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsxs)(X,{children:[(0,q.jsx)(`p`,{children:`KolSkipNav renders a list of navigation links that are visually hidden by default and only visible on focus.`}),(0,q.jsx)(`p`,{children:`For testing purposes, click into the example and press the tab-key in order to focus the first link.`})]}),(0,q.jsx)(Ee,{ref:e,_label:`Hidden navigation`,_links:[{_label:`To the top`,_href:`#/back-page`},{_label:`To the form`,_href:`#/back-page`},{_label:`To the end`,_href:`#/back-page`}]})]})}}},Y_={spin:{basic:()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`KolSpin renders a loading indicator. It supports the variants "dot" (default) and "cycle". With`,` `,(0,q.jsx)(`code`,{children:`_variant="none"`}),` and the expert slot a custom animation can be used – custom animations are not necessarily barrier-free. Color and size can be changed with the CSS properties `,(0,q.jsx)(`code`,{children:`--kol-spin-color`}),` and `,(0,q.jsx)(`code`,{children:`--kol-spin-size`}),`. The label (`,(0,q.jsx)(`code`,{children:`_label`}),`) is only exposed to assistive technology, so it does not change the visual appearance.`]})}),(0,q.jsxs)(`div`,{className:`grid gap-8`,children:[(0,q.jsx)(J,{id:`basic`,heading:`Variant dot (default)`,fitContent:!0,children:(0,q.jsx)(De,{_show:!0})}),(0,q.jsx)(J,{id:`cycle`,heading:`Variant cycle`,fitContent:!0,children:(0,q.jsx)(De,{_show:!0,_variant:`cycle`})}),(0,q.jsx)(J,{id:`custom`,heading:`Custom animation (expert slot)`,fitContent:!0,children:(0,q.jsx)(De,{_show:!0,_variant:`none`,children:(0,q.jsx)(`span`,{slot:`expert`,className:`loader`})})}),(0,q.jsxs)(`div`,{children:[(0,q.jsx)(N,{_level:2,_label:`With label (screen reader only)`}),(0,q.jsx)(De,{_show:!0,_label:`Loading data...`})]}),(0,q.jsxs)(`div`,{children:[(0,q.jsx)(N,{_level:2,_label:`Custom color and size (CSS properties)`}),(0,q.jsx)(De,{_show:!0,style:{"--kol-spin-color":`green`,"--kol-spin-size":`80`}})]})]})]})}},X_={"split-button":{basic:()=>{let{buttonWithTextClickEventHandler:e}=Yd(),t={onClick:e};return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`The `,(0,q.jsx)(`code`,{children:`SplitButton`}),` component combines a primary action button with a context menu. Clicking the main button triggers the`,(0,q.jsx)(`strong`,{children:` Edit`}),` action. The context menu opens a vertical list of additional actions:`,(0,q.jsx)(`strong`,{children:` Save`}),`, `,(0,q.jsx)(`strong`,{children:`Move`}),`, and `,(0,q.jsx)(`strong`,{children:`Delete`}),`.`]})}),(0,q.jsx)(J,{id:`basic`,className:`flex flex-col gap-4`,children:(0,q.jsx)(Oe,{_label:`Edit`,_on:t,children:(0,q.jsx)(je,{_label:`Action toolbar`,_items:[{type:`button`,_label:`Save`,_icons:`kolicon-check`,_on:t},{type:`button`,_label:`Move Up`,_icons:`kolicon-chevron-up`,_on:t},{type:`button`,_label:`Delete`,_icons:`kolicon-minus`,_on:t}],_orientation:`vertical`})})})]})},"with-context":()=>{let e=d.useRef(null);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`SplitButton renders a button with an additional context-menu, that can be opened by clicking the arrow icon.`})}),(0,q.jsx)(`div`,{className:`flex gap-4`,children:(0,q.jsx)(Oe,{ref:e,_label:`Only the arrow opens`,children:(0,q.jsxs)(`div`,{style:{width:300,padding:16,border:`1px solid #ccc`},onClick:e=>e.stopPropagation(),children:[(0,q.jsx)(`p`,{children:`SplitButton renders a button with an additional context-menu, that can be opened by clicking the arrow icon.`}),(0,q.jsxs)(`div`,{style:{gap:16,display:`flex`,flexDirection:`column`},children:[(0,q.jsx)(I,{_label:`User`}),(0,q.jsx)(I,{_label:`Role`}),(0,q.jsx)(O,{_label:`Close`,_on:{onClick:()=>{e.current?.closePopup()}}})]})]})})})]})}}},Z_={horizontal:[[{key:`id`,label:`ID`,width:80},{key:`project`,label:`Project`},{key:`owner`,label:`Owner`,width:140},{type:`action`,key:`actions`,label:`Actions`,textAlign:`left`,width:250,actions:e=>{let t=e;return[{type:`button`,_label:`Details`,_icons:`kolicon-eye`,_hideLabel:!0,_on:{onClick:()=>alert(`Details: ${t.id} - ${t.project}`)}},{type:`button`,_label:`Start`,_icons:`kolicon-chevron-right`,_variant:`secondary`,_on:{onClick:()=>alert(`Start task ${t.id}`)}},{type:`link`,_label:`View`,_href:`#/back-page?taskId=${t.id}`,_target:`_blank`,_icons:`kolicon-external-link`,_hideLabel:!1}]}},{type:`action`,key:`externalActions`,label:`External Actions`,textAlign:`right`,width:280,actions:e=>[{type:`link`,_label:`View on Dashboard`,_href:`#/back-page?taskId=${e.id}`,_target:`_blank`,_icons:`kolicon-external-link`,_hideLabel:!1}]}]]},Q_=[{id:`T-01`,project:`Onboarding checklist`,owner:`Alex Rivera`},{id:`T-02`,project:`Accessibility audit`,owner:`Jamie Chen`}],$_=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`Simple example using the refactored action column: Actions are defined once in the column header definition using a factory function. Two rows with inline action buttons demonstrate clean separation between data and UI behavior.`})}),(0,q.jsx)(J,{id:`action-columns`,className:`w-full`,children:(0,q.jsx)(z,{_label:`Tasks with action buttons`,_headers:Z_,_data:Q_,className:`block`})})]}),ev=50,tv=[`Max`,`Erika`,`John`,`Jane`,`Peter`,`Anna`,`Michael`,`Sarah`,`Thomas`,`Lisa`,`Daniel`,`Maria`,`Christian`,`Laura`,`Stefan`,`Julia`,`Andreas`,`Sophie`,`Markus`,`Emma`],nv=[`Mustermann`,`Musterfrau`,`Doe`,`Smith`,`Schmidt`,`Müller`,`Weber`,`Meyer`,`Wagner`,`Becker`,`Fischer`,`Schneider`,`Hoffmann`,`Koch`,`Bauer`,`Richter`,`Klein`,`Wolf`,`Schröder`,`Neumann`],rv=[`active`,`inactive`,`pending`],iv=(e=>Array.from({length:e},(e,t)=>{let n=tv[t%tv.length],r=nv[Math.floor(t/tv.length)%nv.length],i=rv[t%rv.length],a=t+1;return{id:a,name:`${n} ${r}`,email:`${n.toLowerCase()}.${r.toLowerCase()}${a>20?a:``}@example.com`,status:i}}))(ev),av={horizontal:[[{key:`id`,label:`ID`,textAlign:`left`,width:60,compareFn:(e,t)=>e.id-t.id,sortDirection:`ASC`},{key:`name`,label:`Name`,textAlign:`left`,compareFn:(e,t)=>e.name.localeCompare(t.name,`de`),sortDirection:`ASC`},{key:`email`,label:`E-Mail`,textAlign:`left`,compareFn:(e,t)=>e.email.localeCompare(t.email,`de`),sortDirection:`ASC`},{key:`status`,label:`Status`,textAlign:`center`,width:100,compareFn:(e,t)=>e.status.localeCompare(t.status,`de`),sortDirection:`ASC`},{type:`action`,key:`actions`,label:`Aktionen`,textAlign:`center`,width:180,actions:e=>{let t=e;return[{type:`button`,_label:`Bearbeiten`,_icons:`kolicon-eye`,_hideLabel:!0,_tooltipAlign:`top`,_variant:`secondary`,_on:{onClick:()=>{console.log(`Edit clicked for:`,t),alert(`Bearbeiten: ${t.name}`)}}},{type:`button`,_label:`Löschen`,_icons:`kolicon-alert-error`,_hideLabel:!0,_tooltipAlign:`top`,_variant:`danger`,_on:{onClick:()=>{console.log(`Delete clicked for:`,t),alert(`Löschen: ${t.name}`)}}},{type:`button`,_label:`Details anzeigen`,_icons:`kolicon-alert-info`,_hideLabel:!0,_tooltipAlign:`top`,_variant:`normal`,_on:{onClick:()=>{console.log(`Details clicked for:`,t),alert(`Details: ${JSON.stringify(t,null,2)}`)}}}]}}]]},ov=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(X,{children:[(0,q.jsxs)(`p`,{children:[`Performance demo: `,ev,` rows with action buttons defined once in the column header using the refactored approach. The factory function generates actions for each row on demand, eliminating redundant data and improving maintainability.`]}),(0,q.jsxs)(`p`,{children:[`Actions stay type-safe with `,(0,q.jsx)(`code`,{children:`ActionColumnPropType`}),` (ButtonProps or LinkProps), and no custom render functions are needed.`]})]}),(0,q.jsx)(`section`,{className:`w-full`,children:(0,q.jsx)(z,{_label:`Benutzerverwaltung mit Action-Spalte`,_headers:av,_data:iv,className:`block`})})]}),sv={horizontal:[[{key:`project`,label:`Project`},{key:`owner`,label:`Owner`,width:140},{label:`ID`,key:`id`,width:100,render:(e,t)=>{let{label:n}=t;return`Index: ${n}`}},{type:`action`,key:`actions`,label:`Actions`,width:100,actions:e=>{let t=e;return[{type:`button`,_label:`Details`,_icons:`kolicon-eye`,_hideLabel:!0,_on:{onClick:()=>alert(`Details: ${t.id} - ${t.project}`)}}]}}]]},cv=[{id:`T-01`,project:`Onboarding checklist`,owner:`Alex Rivera`,react:`test`},{id:`T-02`,project:`Accessibility audit`,owner:`Jamie Chen`,react:`test`}],lv=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`Simple example using the refactored action column: Actions are defined once in the column header definition using a factory function. Two rows with inline action buttons demonstrate clean separation between data and UI behavior.`})}),(0,q.jsx)(`section`,{className:`w-full`,children:(0,q.jsx)(z,{_label:`Tasks with action buttons`,_headers:sv,_data:cv,className:`block`,_hasSettingsMenu:!0})})]}),uv=new WeakMap,dv=new WeakMap,fv=new WeakMap,pv=new WeakMap,mv=0,hv=`
|
|
81
81
|
table { border-collapse: collapse; }
|
|
82
82
|
th, td { border: 1px solid #888; padding: 4px 12px; }
|
|
83
83
|
th { background: #f0f0f0; }
|
|
@@ -162,7 +162,7 @@ sit amet.`,Pb=()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.js
|
|
|
162
162
|
|
|
163
163
|
`)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=KS,s=!jS.jitless,c=s&&qS.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?hT([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function vT(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!cC(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>fC(e,r,MS())))}),t)}var yT=Q(`$ZodUnion`,(e,t)=>{Aw.init(e,t),BS(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),BS(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),BS(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),BS(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>LS(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>vT(t,r,e,i)):vT(o,r,e,i)}}),bT=Q(`$ZodIntersection`,(e,t)=>{Aw.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>ST(e,t,n)):ST(e,i,a)}});function xT(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(JS(e)&&JS(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=xT(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=xT(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function ST(e,t,n){let r=new Map,i;for(let n of t.issues)if(n.code===`unrecognized_keys`){i??=n;for(let e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(let t of n.issues)if(t.code===`unrecognized_keys`)for(let e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);let a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),cC(e))return e;let o=xT(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}var CT=Q(`$ZodEnum`,(e,t)=>{Aw.init(e,t);let n=NS(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>XS.has(typeof e)).map(e=>typeof e==`string`?ZS(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),wT=Q(`$ZodTransform`,(e,t)=>{Aw.init(e,t),e._zod.optin=`optional`,e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new AS(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n.fallback=!0,n));if(i instanceof Promise)throw new kS;return n.value=i,n.fallback=!0,n}});function TT(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}var ET=Q(`$ZodOptional`,(e,t)=>{Aw.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,BS(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),BS(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${LS(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=e.value,i=t.innerType._zod.run(e,n);return i instanceof Promise?i.then(e=>TT(e,r)):TT(i,r)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),DT=Q(`$ZodExactOptional`,(e,t)=>{ET.init(e,t),BS(e._zod,`values`,()=>t.innerType._zod.values),BS(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),OT=Q(`$ZodNullable`,(e,t)=>{Aw.init(e,t),BS(e._zod,`optin`,()=>t.innerType._zod.optin),BS(e._zod,`optout`,()=>t.innerType._zod.optout),BS(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${LS(e.source)}|null)$`):void 0}),BS(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),kT=Q(`$ZodDefault`,(e,t)=>{Aw.init(e,t),e._zod.optin=`optional`,BS(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>AT(e,t)):AT(r,t)}});function AT(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var jT=Q(`$ZodPrefault`,(e,t)=>{Aw.init(e,t),e._zod.optin=`optional`,BS(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),MT=Q(`$ZodNonOptional`,(e,t)=>{Aw.init(e,t),BS(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>NT(t,e)):NT(i,e)}});function NT(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}var PT=Q(`$ZodCatch`,(e,t)=>{Aw.init(e,t),e._zod.optin=`optional`,BS(e._zod,`optout`,()=>t.innerType._zod.optout),BS(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>fC(e,n,MS()))},input:e.value}),e.issues=[],e.fallback=!0),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>fC(e,n,MS()))},input:e.value}),e.issues=[],e.fallback=!0),e)}}),FT=Q(`$ZodPipe`,(e,t)=>{Aw.init(e,t),BS(e._zod,`values`,()=>t.in._zod.values),BS(e._zod,`optin`,()=>t.in._zod.optin),BS(e._zod,`optout`,()=>t.out._zod.optout),BS(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>IT(e,t.in,n)):IT(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>IT(e,t.out,n)):IT(r,t.out,n)}});function IT(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}var LT=Q(`$ZodPreprocess`,(e,t)=>{FT.init(e,t)}),RT=Q(`$ZodReadonly`,(e,t)=>{Aw.init(e,t),BS(e._zod,`propValues`,()=>t.innerType._zod.propValues),BS(e._zod,`values`,()=>t.innerType._zod.values),BS(e._zod,`optin`,()=>t.innerType?._zod?.optin),BS(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(zT):zT(r)}});function zT(e){return e.value=Object.freeze(e.value),e}var BT=Q(`$ZodCustom`,(e,t)=>{dw.init(e,t),Aw.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>VT(t,n,r,e));VT(i,n,r,e)}});function VT(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(mC(e))}}var HT,UT=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function WT(){return new UT}(HT=globalThis).__zod_globalRegistry??(HT.__zod_globalRegistry=WT());var GT=globalThis.__zod_globalRegistry;function KT(e,t){return new e({type:`string`,...$(t)})}function qT(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...$(t)})}function JT(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...$(t)})}function YT(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...$(t)})}function XT(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...$(t)})}function ZT(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...$(t)})}function QT(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...$(t)})}function $T(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...$(t)})}function eE(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...$(t)})}function tE(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...$(t)})}function nE(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...$(t)})}function rE(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...$(t)})}function iE(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...$(t)})}function aE(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...$(t)})}function oE(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...$(t)})}function sE(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...$(t)})}function cE(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...$(t)})}function lE(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...$(t)})}function uE(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...$(t)})}function dE(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...$(t)})}function fE(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...$(t)})}function pE(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...$(t)})}function mE(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...$(t)})}function hE(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...$(t)})}function gE(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...$(t)})}function _E(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...$(t)})}function vE(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...$(t)})}function yE(e,t){return new e({type:`number`,checks:[],...$(t)})}function bE(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...$(t)})}function xE(e,t){return new e({type:`boolean`,...$(t)})}function SE(e){return new e({type:`unknown`})}function CE(e,t){return new e({type:`never`,...$(t)})}function wE(e,t){return new e({type:`date`,...$(t)})}function TE(e,t){return new pw({check:`less_than`,...$(t),value:e,inclusive:!1})}function EE(e,t){return new pw({check:`less_than`,...$(t),value:e,inclusive:!0})}function DE(e,t){return new mw({check:`greater_than`,...$(t),value:e,inclusive:!1})}function OE(e,t){return new mw({check:`greater_than`,...$(t),value:e,inclusive:!0})}function kE(e,t){return new hw({check:`multiple_of`,...$(t),value:e})}function AE(e,t){return new _w({check:`max_length`,...$(t),maximum:e})}function jE(e,t){return new vw({check:`min_length`,...$(t),minimum:e})}function ME(e,t){return new yw({check:`length_equals`,...$(t),length:e})}function NE(e,t){return new xw({check:`string_format`,format:`regex`,...$(t),pattern:e})}function PE(e){return new Sw({check:`string_format`,format:`lowercase`,...$(e)})}function FE(e){return new Cw({check:`string_format`,format:`uppercase`,...$(e)})}function IE(e,t){return new ww({check:`string_format`,format:`includes`,...$(t),includes:e})}function LE(e,t){return new Tw({check:`string_format`,format:`starts_with`,...$(t),prefix:e})}function RE(e,t){return new Ew({check:`string_format`,format:`ends_with`,...$(t),suffix:e})}function zE(e){return new Dw({check:`overwrite`,tx:e})}function BE(e){return zE(t=>t.normalize(e))}function VE(){return zE(e=>e.trim())}function HE(){return zE(e=>e.toLowerCase())}function UE(){return zE(e=>e.toUpperCase())}function WE(){return zE(e=>WS(e))}function GE(e,t,n){return new e({type:`array`,element:t,...$(n)})}function KE(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...$(n)})}function qE(e,t){let n=JE(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(mC(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=t.value,r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(mC(r))}},e(t.value,t)),t);return n}function JE(e,t){let n=new dw({check:`custom`,...$(t)});return n._zod.check=e,n}function YE(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??GT,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,external:e?.external??void 0}}function XE(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,XE(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&$E(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function ZE(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>
|
|
164
164
|
|
|
165
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function QE(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:tD(t,`input`,e.processors),output:tD(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function $E(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return $E(r.element,n);if(r.type===`set`)return $E(r.valueType,n);if(r.type===`lazy`)return $E(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`)return $E(r.innerType,n);if(r.type===`intersection`)return $E(r.left,n)||$E(r.right,n);if(r.type===`record`||r.type===`map`)return $E(r.keyType,n)||$E(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:$E(r.in,n)||$E(r.out,n);if(r.type===`object`){for(let e in r.shape)if($E(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if($E(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if($E(e,n))return!0;return!!(r.rest&&$E(r.rest,n))}return!1}var eD=(e,t={})=>n=>{let r=YE({...n,processors:t});return XE(e,r),ZE(r,e),QE(r,e)},tD=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=YE({...i??{},target:a,io:t,processors:n});return XE(e,o),ZE(o,e),QE(o,e)},nD={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},rD=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=nD[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},iD=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;i.type=typeof s==`string`&&s.includes(`int`)?`integer`:`number`;let d=typeof u==`number`&&u>=(a??-1/0),f=typeof l==`number`&&l<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;d?p?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l:typeof o==`number`&&(i.maximum=o),typeof c==`number`&&(i.multipleOf=c)},aD=(e,t,n,r)=>{n.type=`boolean`},oD=(e,t,n,r)=>{n.not={}},sD=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Date cannot be represented in JSON Schema`)},cD=(e,t,n,r)=>{let i=e._zod.def,a=NS(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},lD=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},uD=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},dD=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=XE(a.element,t,{...r,path:[...r.path,`items`]})},fD=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=XE(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=XE(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},pD=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>XE(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},mD=(e,t,n,r)=>{let i=e._zod.def,a=XE(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=XE(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},hD=(e,t,n,r)=>{let i=e._zod.def,a=XE(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},gD=(e,t,n,r)=>{let i=e._zod.def;XE(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},_D=(e,t,n,r)=>{let i=e._zod.def;XE(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},vD=(e,t,n,r)=>{let i=e._zod.def;XE(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},yD=(e,t,n,r)=>{let i=e._zod.def;XE(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},bD=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;XE(o,t,r);let s=t.seen.get(e);s.ref=o},xD=(e,t,n,r)=>{let i=e._zod.def;XE(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},SD=(e,t,n,r)=>{let i=e._zod.def;XE(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},CD=Q(`ZodISODateTime`,(e,t)=>{Ww.init(e,t),XD.init(e,t)});function wD(e){return hE(CD,e)}var TD=Q(`ZodISODate`,(e,t)=>{Gw.init(e,t),XD.init(e,t)});function ED(e){return gE(TD,e)}var DD=Q(`ZodISOTime`,(e,t)=>{Kw.init(e,t),XD.init(e,t)});function OD(e){return _E(DD,e)}var kD=Q(`ZodISODuration`,(e,t)=>{qw.init(e,t),XD.init(e,t)});function AD(e){return vE(kD,e)}var jD=Q(`ZodError`,(e,t)=>{gC.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>yC(e,t)},flatten:{value:t=>vC(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,PS,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,PS,2)}},isEmpty:{get(){return e.issues.length===0}}})},{Parent:Error}),MD=bC(jD),ND=xC(jD),PD=SC(jD),FD=wC(jD),ID=EC(jD),LD=DC(jD),RD=OC(jD),zD=kC(jD),BD=AC(jD),VD=jC(jD),HD=MC(jD),UD=NC(jD),WD=new WeakMap;function GD(e,t,n){let r=Object.getPrototypeOf(e),i=WD.get(r);if(i||(i=new Set,WD.set(r,i)),!i.has(t)){i.add(t);for(let e in n){let t=n[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,get(){let n=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:n}),n},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}}var KD=Q(`ZodType`,(e,t)=>(Aw.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:tD(e,`input`),output:tD(e,`output`)}}),e.toJSONSchema=eD(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(t,n)=>MD(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>PD(e,t,n),e.parseAsync=async(t,n)=>ND(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>FD(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>ID(e,t,n),e.decode=(t,n)=>LD(e,t,n),e.encodeAsync=async(t,n)=>RD(e,t,n),e.decodeAsync=async(t,n)=>zD(e,t,n),e.safeEncode=(t,n)=>BD(e,t,n),e.safeDecode=(t,n)=>VD(e,t,n),e.safeEncodeAsync=async(t,n)=>HD(e,t,n),e.safeDecodeAsync=async(t,n)=>UD(e,t,n),GD(e,`ZodType`,{check(...e){let t=this.def;return this.clone(HS(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return QS(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(ok(e,t))},superRefine(e,t){return this.check(sk(e,t))},overwrite(e){return this.check(zE(e))},optional(){return VO(this)},exactOptional(){return UO(this)},nullable(){return GO(this)},nullish(){return VO(GO(this))},nonoptional(e){return ZO(this,e)},array(){return kO(this)},or(e){return NO([this,e])},and(e){return FO(this,e)},transform(e){return tk(this,zO(e))},default(e){return qO(this,e)},prefault(e){return YO(this,e)},catch(e){return $O(this,e)},pipe(e){return tk(this,e)},readonly(){return ik(this)},describe(e){let t=this.clone();return GT.add(t,{description:e}),t},meta(...e){if(e.length===0)return GT.get(this);let t=this.clone();return GT.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,"description",{get(){return GT.get(e)?.description},configurable:!0}),e)),qD=Q(`_ZodString`,(e,t)=>{jw.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>rD(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,GD(e,`_ZodString`,{regex(...e){return this.check(NE(...e))},includes(...e){return this.check(IE(...e))},startsWith(...e){return this.check(LE(...e))},endsWith(...e){return this.check(RE(...e))},min(...e){return this.check(jE(...e))},max(...e){return this.check(AE(...e))},length(...e){return this.check(ME(...e))},nonempty(...e){return this.check(jE(1,...e))},lowercase(e){return this.check(PE(e))},uppercase(e){return this.check(FE(e))},trim(){return this.check(VE())},normalize(...e){return this.check(BE(...e))},toLowerCase(){return this.check(HE())},toUpperCase(){return this.check(UE())},slugify(){return this.check(WE())}})}),JD=Q(`ZodString`,(e,t)=>{jw.init(e,t),qD.init(e,t),e.email=t=>e.check(qT(ZD,t)),e.url=t=>e.check($T(eO,t)),e.jwt=t=>e.check(mE(hO,t)),e.emoji=t=>e.check(eE(tO,t)),e.guid=t=>e.check(JT(QD,t)),e.uuid=t=>e.check(YT($D,t)),e.uuidv4=t=>e.check(XT($D,t)),e.uuidv6=t=>e.check(ZT($D,t)),e.uuidv7=t=>e.check(QT($D,t)),e.nanoid=t=>e.check(tE(nO,t)),e.guid=t=>e.check(JT(QD,t)),e.cuid=t=>e.check(nE(rO,t)),e.cuid2=t=>e.check(rE(iO,t)),e.ulid=t=>e.check(iE(aO,t)),e.base64=t=>e.check(dE(fO,t)),e.base64url=t=>e.check(fE(pO,t)),e.xid=t=>e.check(aE(oO,t)),e.ksuid=t=>e.check(oE(sO,t)),e.ipv4=t=>e.check(sE(cO,t)),e.ipv6=t=>e.check(cE(lO,t)),e.cidrv4=t=>e.check(lE(uO,t)),e.cidrv6=t=>e.check(uE(dO,t)),e.e164=t=>e.check(pE(mO,t)),e.datetime=t=>e.check(wD(t)),e.date=t=>e.check(ED(t)),e.time=t=>e.check(OD(t)),e.duration=t=>e.check(AD(t))});function YD(e){return KT(JD,e)}var XD=Q(`ZodStringFormat`,(e,t)=>{Mw.init(e,t),qD.init(e,t)}),ZD=Q(`ZodEmail`,(e,t)=>{Fw.init(e,t),XD.init(e,t)}),QD=Q(`ZodGUID`,(e,t)=>{Nw.init(e,t),XD.init(e,t)}),$D=Q(`ZodUUID`,(e,t)=>{Pw.init(e,t),XD.init(e,t)}),eO=Q(`ZodURL`,(e,t)=>{Iw.init(e,t),XD.init(e,t)}),tO=Q(`ZodEmoji`,(e,t)=>{Lw.init(e,t),XD.init(e,t)}),nO=Q(`ZodNanoID`,(e,t)=>{Rw.init(e,t),XD.init(e,t)}),rO=Q(`ZodCUID`,(e,t)=>{zw.init(e,t),XD.init(e,t)}),iO=Q(`ZodCUID2`,(e,t)=>{Bw.init(e,t),XD.init(e,t)}),aO=Q(`ZodULID`,(e,t)=>{Vw.init(e,t),XD.init(e,t)}),oO=Q(`ZodXID`,(e,t)=>{Hw.init(e,t),XD.init(e,t)}),sO=Q(`ZodKSUID`,(e,t)=>{Uw.init(e,t),XD.init(e,t)}),cO=Q(`ZodIPv4`,(e,t)=>{Jw.init(e,t),XD.init(e,t)}),lO=Q(`ZodIPv6`,(e,t)=>{Yw.init(e,t),XD.init(e,t)}),uO=Q(`ZodCIDRv4`,(e,t)=>{Xw.init(e,t),XD.init(e,t)}),dO=Q(`ZodCIDRv6`,(e,t)=>{Zw.init(e,t),XD.init(e,t)}),fO=Q(`ZodBase64`,(e,t)=>{$w.init(e,t),XD.init(e,t)}),pO=Q(`ZodBase64URL`,(e,t)=>{tT.init(e,t),XD.init(e,t)}),mO=Q(`ZodE164`,(e,t)=>{nT.init(e,t),XD.init(e,t)}),hO=Q(`ZodJWT`,(e,t)=>{iT.init(e,t),XD.init(e,t)}),gO=Q(`ZodNumber`,(e,t)=>{aT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>iD(e,t,n,r),GD(e,`ZodNumber`,{gt(e,t){return this.check(DE(e,t))},gte(e,t){return this.check(OE(e,t))},min(e,t){return this.check(OE(e,t))},lt(e,t){return this.check(TE(e,t))},lte(e,t){return this.check(EE(e,t))},max(e,t){return this.check(EE(e,t))},int(e){return this.check(yO(e))},safe(e){return this.check(yO(e))},positive(e){return this.check(DE(0,e))},nonnegative(e){return this.check(OE(0,e))},negative(e){return this.check(TE(0,e))},nonpositive(e){return this.check(EE(0,e))},multipleOf(e,t){return this.check(kE(e,t))},step(e,t){return this.check(kE(e,t))},finite(){return this}});let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function _O(e){return yE(gO,e)}var vO=Q(`ZodNumberFormat`,(e,t)=>{oT.init(e,t),gO.init(e,t)});function yO(e){return bE(vO,e)}var bO=Q(`ZodBoolean`,(e,t)=>{sT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>aD(e,t,n,r)});function xO(e){return xE(bO,e)}var SO=Q(`ZodUnknown`,(e,t)=>{cT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function CO(){return SE(SO)}var wO=Q(`ZodNever`,(e,t)=>{lT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>oD(e,t,n,r)});function TO(e){return CE(wO,e)}var EO=Q(`ZodDate`,(e,t)=>{uT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>sD(e,t,n,r),e.min=(t,n)=>e.check(OE(t,n)),e.max=(t,n)=>e.check(EE(t,n));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function DO(e){return wE(EO,e)}var OO=Q(`ZodArray`,(e,t)=>{fT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>dD(e,t,n,r),e.element=t.element,GD(e,`ZodArray`,{min(e,t){return this.check(jE(e,t))},nonempty(e){return this.check(jE(1,e))},max(e,t){return this.check(AE(e,t))},length(e,t){return this.check(ME(e,t))},unwrap(){return this.element}})});function kO(e,t){return GE(OO,e,t)}var AO=Q(`ZodObject`,(e,t)=>{_T.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>fD(e,t,n,r),BS(e,`shape`,()=>t.shape),GD(e,`ZodObject`,{keyof(){return LO(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:CO()})},loose(){return this.clone({...this._zod.def,catchall:CO()})},strict(){return this.clone({...this._zod.def,catchall:TO()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return rC(this,e)},safeExtend(e){return iC(this,e)},merge(e){return aC(this,e)},pick(e){return tC(this,e)},omit(e){return nC(this,e)},partial(...e){return oC(BO,this,e[0])},required(...e){return sC(XO,this,e[0])}})});function jO(e,t){return new AO({type:`object`,shape:e??{},...$(t)})}var MO=Q(`ZodUnion`,(e,t)=>{yT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>pD(e,t,n,r),e.options=t.options});function NO(e,t){return new MO({type:`union`,options:e,...$(t)})}var PO=Q(`ZodIntersection`,(e,t)=>{bT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>mD(e,t,n,r)});function FO(e,t){return new PO({type:`intersection`,left:e,right:t})}var IO=Q(`ZodEnum`,(e,t)=>{CT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>cD(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new IO({...t,checks:[],...$(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new IO({...t,checks:[],...$(r),entries:i})}});function LO(e,t){return new IO({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...$(t)})}var RO=Q(`ZodTransform`,(e,t)=>{wT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>uD(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new AS(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(mC(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(mC(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n.fallback=!0,n)):(n.value=i,n.fallback=!0,n)}});function zO(e){return new RO({type:`transform`,transform:e})}var BO=Q(`ZodOptional`,(e,t)=>{ET.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>SD(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function VO(e){return new BO({type:`optional`,innerType:e})}var HO=Q(`ZodExactOptional`,(e,t)=>{DT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>SD(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function UO(e){return new HO({type:`optional`,innerType:e})}var WO=Q(`ZodNullable`,(e,t)=>{OT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>hD(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function GO(e){return new WO({type:`nullable`,innerType:e})}var KO=Q(`ZodDefault`,(e,t)=>{kT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_D(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function qO(e,t){return new KO({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():YS(t)}})}var JO=Q(`ZodPrefault`,(e,t)=>{jT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vD(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function YO(e,t){return new JO({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():YS(t)}})}var XO=Q(`ZodNonOptional`,(e,t)=>{MT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>gD(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function ZO(e,t){return new XO({type:`nonoptional`,innerType:e,...$(t)})}var QO=Q(`ZodCatch`,(e,t)=>{PT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yD(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function $O(e,t){return new QO({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var ek=Q(`ZodPipe`,(e,t)=>{FT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bD(e,t,n,r),e.in=t.in,e.out=t.out});function tk(e,t){return new ek({type:`pipe`,in:e,out:t})}var nk=Q(`ZodPreprocess`,(e,t)=>{ek.init(e,t),LT.init(e,t)}),rk=Q(`ZodReadonly`,(e,t)=>{RT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xD(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function ik(e){return new rk({type:`readonly`,innerType:e})}var ak=Q(`ZodCustom`,(e,t)=>{BT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lD(e,t,n,r)});function ok(e,t={}){return KE(ak,e,t)}function sk(e,t){return qE(e,t)}function ck(e,t){return new nk({type:`pipe`,in:zO(e),out:t})}var lk=jO({date:ck(e=>typeof e==`string`||e instanceof Date?new Date(e):void 0,DO({message:`Date is required`}).refine(e=>!isNaN(e.getTime()),{message:`Invalid date`})),text:YD({message:`Please enter text.`}).min(10,`Text must be at least 10 characters long.`),email:YD({message:`Please enter your email.`}).min(1,`Please enter your email.`).email(`Invalid email address.`),password:YD({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:_O({message:`Please select a range.`}).min(30,`Minimum value is 30.`),number:_O({message:`Please enter a number.`}).min(1,`Minimum is 1.`).max(10,`Maximum is 10.`),checkbox:xO().refine(e=>e===!0,{message:`You must accept the terms and conditions.`}),radio:YD({message:`Please select a gender.`}).min(1,`Please select a gender.`),color:YD({message:`Please select a color.`}).min(1,`Please select a color.`),select:YD({message:`Please select a value.`}).min(1,`Please select a value.`),singleSelect:YD({message:`Please select a single option.`}).min(1,`Please select a single option.`),combobox:YD({message:`Please select a country.`}).min(1,`Please select a country.`),textarea:YD({message:`Please enter a message.`}).min(1,`Please enter a message.`)}),uk={scenarios:{"button-shortkey-table":Xb,"change-tabindex":Zb,"custom-tooltip-css-properties":Qb,"date-in-form":$b,"disabled-interactive-scenario":tx,"focus-elements":ix,"input-group-with-error":lx,"inputs-get-value":px,"react-hook-form-adapter":pS,"react-hook-form-adapter-disabled":hS,"same-height-of-all-interactive-elements":_S,"same-height-of-all-form-elements-with-label":gS,"static-form":()=>{let{searchParams:e}=new URL(location.href);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(X,{children:[(0,q.jsx)(`p`,{children:`This sample shows how KoliBri can be used in a static form context.`}),(0,q.jsxs)(`ol`,{children:[(0,q.jsxs)(`li`,{children:[`First you have to enable the `,(0,q.jsx)(`code`,{children:`experimental mode`}),`:`,` `,(0,q.jsx)(`code`,{className:`bg-gray-200`,children:`<meta name="kolibri" content="dev-mode=false;experimental-mode=true;" />`})]}),(0,q.jsxs)(`li`,{children:[`Currently you have to use a native `,(0,q.jsx)(`code`,{children:`form`}),` element:`,` `,(0,q.jsx)(`code`,{className:`bg-gray-200`,children:`<form method="GET">...</form>`})]}),(0,q.jsxs)(`li`,{children:[`It is important in static usage to give every input a `,(0,q.jsx)(`code`,{children:`name`}),` attribute:`,` `,(0,q.jsx)(`code`,{className:`bg-gray-200`,children:`<KolInputColor _name="color" _label="Color" />`})]}),(0,q.jsxs)(`li`,{children:[`Last of all one button should have the type `,(0,q.jsx)(`code`,{children:`submit`}),`:`,` `,(0,q.jsx)(`code`,{className:`bg-gray-200`,children:`<KolButton _label="Submit" _type="submit" _variant="primary" />`})]})]})]}),(0,q.jsxs)(`section`,{className:`w-full flex flex-col`,children:[e.size>0&&(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(N,{_level:2,_label:`Submitted data`}),(0,q.jsx)(`pre`,{className:`text-base`,children:(0,q.jsx)(`code`,{children:JSON.stringify(Object.fromEntries(e.entries()),null,2)})})]}),(0,q.jsxs)(`form`,{className:`grid gap-4`,method:`get`,noValidate:!0,children:[(0,q.jsx)(P,{_name:`checkbox`,_label:`Checkbox`}),(0,q.jsx)(le,{_name:`color`,_label:`Color`}),(0,q.jsx)(F,{_name:`date`,_label:`Date`}),(0,q.jsx)(ue,{_name:`email`,_label:`Email`}),(0,q.jsx)(de,{_name:`file`,_label:`File`}),(0,q.jsx)(de,{_name:`file`,_label:`Files (multiple)`,_multiple:!0}),(0,q.jsx)(fe,{_name:`number`,_label:`Number`}),(0,q.jsx)(pe,{_name:`password`,_label:`Password`}),(0,q.jsx)(me,{_name:`radio`,_label:`Radio`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,q.jsx)(he,{_name:`range`,_label:`Range`}),(0,q.jsx)(I,{_name:`text`,_label:`Text`}),(0,q.jsx)(R,{_name:`select`,_label:`Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,q.jsx)(R,{_name:`select`,_label:`Select (multiple)`,_multiple:!0,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}],_rows:2}),(0,q.jsx)(we,{_name:`singleSelect`,_label:`Single Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,q.jsx)(j,{_name:`combobox`,_label:`Combobox`,_suggestions:Jf}),(0,q.jsx)(B,{_name:`textarea`,_label:`Textarea`,_rows:5}),(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_label:`Submit`,_type:`submit`,_variant:`primary`}),(0,q.jsx)(O,{_label:`Reset`,_type:`reset`})]}),(0,q.jsx)(`input`,{type:`hidden`,value:crypto.randomUUID(),name:`random`})]})]})]})},"sample-form-with-validation":()=>{let{dummyClickEventHandler:e}=Yd(),{handleSubmit:t,formState:{errors:n},reset:r,control:i}=Uh({mode:`onBlur`,reValidateMode:`onChange`,resolver:DS(lk),defaultValues:{range:30,number:5}}),a=()=>{r(void 0,{keepErrors:!1,keepTouched:!1,keepDirty:!1})},o=Object.entries(n).map(([e,t])=>[e,t.message]).filter(([,e])=>!!e);return(0,q.jsxs)(`section`,{className:`w-full max-w-3xl mx-auto p-6`,children:[(0,q.jsx)(N,{_level:2,_label:`Sample Form with Validation (Zod)`}),(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`This example shows validation with `,(0,q.jsx)(`code`,{children:`react-hook-form`}),`, `,(0,q.jsx)(`code`,{children:`Zod`}),`, and an error list.`]})}),o.length>0&&(0,q.jsx)(E,{_type:`error`,_label:`Please fix the following:`,_alert:!0,_variant:`card`,children:(0,q.jsx)(`ul`,{className:`list-disc pl-5`,children:o.map(([e,t],n)=>(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_label:t,_href:`#field-${e}`,_on:{onClick:t=>{t.preventDefault(),document.getElementById(`field-${e}`)?.focus()}}})},n))})}),(0,q.jsxs)(`form`,{onSubmit:t(e),noValidate:!0,className:`grid gap-4 mt-6`,children:[(0,q.jsx)($x,{control:i,name:`date`,_label:`Date`}),(0,q.jsx)(Jx,{control:i,name:`text`,_label:`Text (≥ 10 chars)`}),(0,q.jsx)(Xx,{control:i,name:`email`,_label:`Email`}),(0,q.jsx)(Yx,{control:i,name:`password`,_label:`Password`}),(0,q.jsx)(Qx,{control:i,name:`range`,_label:`Range (≥ 30)`,_min:0,_max:100}),(0,q.jsx)(Zx,{control:i,name:`number`,_label:`Number (1 – 10)`}),(0,q.jsx)(sS,{control:i,name:`checkbox`,_label:`Accept terms`}),(0,q.jsx)(oS,{control:i,name:`radio`,_label:`Gender`,_options:[{label:`Female`,value:`f`},{label:`Male`,value:`m`}]}),(0,q.jsx)(eS,{control:i,name:`color`,_label:`Favorite Color`}),(0,q.jsx)(iS,{control:i,name:`select`,_label:`Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,q.jsx)(aS,{control:i,name:`singleSelect`,_label:`Single Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,q.jsx)(rS,{control:i,name:`combobox`,_label:`Country`,_suggestions:Jf}),(0,q.jsx)(nS,{control:i,name:`textarea`,_label:`Message`,_rows:4}),(0,q.jsxs)(`div`,{className:`flex gap-4 mt-4`,children:[(0,q.jsx)(O,{_label:`Submit`,_type:`submit`,_variant:`primary`}),(0,q.jsx)(O,{_label:`Reset`,_type:`reset`,onClick:a})]})]})]})},"table-horizontal-scrollbar-advanced":cx,"toolbar-item-order":()=>{let[e,t]=(0,d.useState)(!1),[n,r]=(0,d.useState)(!1),i=()=>{t(!0),setTimeout(()=>{t(!1)},2e3)},a=()=>{r(!0),setTimeout(()=>{r(!1)},2e3)},o=(0,d.useMemo)(()=>Array.from({length:5},(t,n)=>({type:`button`,_label:`Button ${n+1}`,_on:{onClick:i},_icons:e?`fa-solid fa-spinner fa-spin`:void 0,_disabled:e})),[e]),s=(0,d.useMemo)(()=>Array.from({length:5},(e,t)=>({type:`button`,_label:`Button ${t+1}`,_on:{onClick:a},_disabled:n,_icons:n?`fa-solid fa-spinner fa-spin`:void 0})),[n]);return(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:`1rem`},children:[(0,q.jsx)(N,{_label:`Disabled Toolbar Buttons Bug (solved)`}),(0,q.jsx)(N,{_label:`icon vor disabled`,_level:2}),(0,q.jsx)(je,{_label:`KolToolbar A`,_items:o}),(0,q.jsx)(N,{_label:`disabled vor icon`,_level:2}),(0,q.jsxs)(`p`,{children:[`Klicke auf einen der `,s.length-1,` ersten Buttons hatte zur Folge, dass die nachfolgenden Buttons kaputt gehen.`]}),(0,q.jsx)(je,{_label:`KolToolbar B`,_items:s})]})},"tooltip-positioning":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This example demonstrates tooltip positioning within container query contexts. Container queries can interfere with fixed positioning, causing tooltips to render incorrectly relative to the viewport. The layout containment fix ensures tooltips position properly even when their parent elements use container-based sizing and layout rules.`})}),(0,q.jsx)(`div`,{style:{container:`test / size`,contain:`layout`},children:(0,q.jsx)(xe,{_label:`Sample PopoverButton—Click for Popover`,_icons:`kolicon-alert-info`,_tooltipAlign:`right`,_hideLabel:!0,children:`This is an explanation shown on click.`})})]}),"accordion-components":Jb,"z-index":()=>{let[e]=Rr(),t=e.get(`show-dialog`),n=(0,d.useRef)(null);return(0,d.useEffect)(()=>{t===`true`&&n.current?.openModal()},[]),(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows the combination of a few components overlaying content. Dialog, Popover, Tooltip`})}),(0,q.jsx)(`div`,{className:`grid gap-8`,children:(0,q.jsxs)(`div`,{children:[(0,q.jsx)(O,{_label:`Open card dialog`,_on:{onClick:()=>n.current?.openModal()}}),(0,q.jsxs)(ae,{ref:n,_label:`Card dialog`,_variant:`card`,_width:`30%`,children:[(0,q.jsx)(xe,{_label:`Help`,_icons:`kolicon-alert-info`,_popoverAlign:`right`,_tooltipAlign:`bottom`,_hideLabel:!0,children:(0,q.jsxs)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:[(0,q.jsxs)(`p`,{children:[(0,q.jsx)(`u`,{children:`Lorem ipsum dolor sit amet`}),`, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum! Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-check`,_label:`OK`,_variant:`primary`})]})}),(0,q.jsx)(j,{_label:`With string array in html`,_suggestions:`['Herr','Frau','Firma']`,_value:`Herr`,_hideLabel:!0}),(0,q.jsx)(fe,{_label:`Amount`})]})]})})]})},"performance-test":mx,skeleton:()=>{let e=(0,d.useRef)(null),t=(0,d.useRef)(null),n=new Intl.NumberFormat(`de-DE`,{style:`unit`,unit:`millisecond`,maximumFractionDigits:1}),r=new Intl.DateTimeFormat(`de-DE`,{hour:`2-digit`,minute:`2-digit`,second:`2-digit`}),[i,a]=(0,d.useState)(3),[o,s]=(0,d.useState)([]),[c,l]=(0,d.useState)(``),[u,f]=(0,d.useState)(0),[p,m]=(0,d.useState)(20),[h,g]=(0,d.useState)(0),[_,v]=(0,d.useState)(null),[y,b]=(0,d.useState)(!1),x=(0,d.useRef)(0),ee=(0,d.useRef)(20),S=(0,d.useRef)(0),C=e=>{let t=new Date,n=r.format(t),i=u+1;a(e.detail),l(n),f(i),s(t=>[{timestamp:n,count:e.detail,id:i},...t.slice(0,4)])},w=(0,d.useCallback)(()=>{if(S.current+=1,S.current>=ee.current){let e=performance.now()-x.current;v(e),b(!1)}},[]);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolSkeleton demonstriert Event-Emitter mit automatischem Intervall. Die Komponente emittiert alle 2 Sekunden ein "loaded" Event mit dem aktuellen Count-Wert. Über die Buttons kann die Komponente getoggled und fokussiert werden. Der interne ClickButton erhöht bei Klick den Counter.`})}),(0,q.jsxs)(`div`,{className:`grid md:grid-cols-2 gap-4 mb-4 items-center`,children:[(0,q.jsxs)(`div`,{className:`grid sm:grid-cols-2 gap-4`,children:[(0,q.jsx)(O,{_label:`Toggle Sichtbarkeit`,_on:{onClick:()=>e.current?.toggle()},_variant:`primary`}),(0,q.jsx)(O,{_label:`Fokus auf Button`,_on:{onClick:()=>e.current?.focus()},_variant:`secondary`})]}),(0,q.jsxs)(`div`,{className:`grid sm:grid-cols-2 gap-4 items-center`,children:[(0,q.jsx)(he,{ref:t,_label:`Anzahl der Skeletons`,_hideLabel:!0,_min:1,_max:1e4,_step:25,_value:p,_on:{onChange:(e,t)=>{let n=Number(t);m(n),S.current=0,ee.current=n,x.current=performance.now(),v(null),b(!0),g(e=>e+1)},onBlur:()=>{t.current&&(t.current._value=p)}}}),(0,q.jsxs)(`span`,{className:`text-sm text-gray-600 whitespace-nowrap`,children:[p,` Skeletons`]})]})]}),(0,q.jsxs)(`div`,{className:`mb-4 px-3 py-2 border border-gray-300 rounded bg-gray-50 flex items-center gap-4 text-sm`,children:[(0,q.jsx)(`span`,{className:`font-semibold`,children:`Benchmark:`}),(0,q.jsx)(`span`,{className:y?`text-orange-600 font-bold`:_===null?`text-gray-400`:`text-green-600`,children:y?`Rendering…`:_===null?`Bereit`:`Fertig`}),(0,q.jsx)(`span`,{className:`font-bold text-blue-600`,"aria-live":`polite`,children:_===null?`—`:n.format(_)})]}),(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:Array.from({length:p},(t,n)=>(0,q.jsx)(Te,{_name:`Example ${n}`,onLoaded:n===0?C:void 0,onRendered:w,ref:n===0?e:void 0},`skeleton-${h}-${n}`))}),(0,q.jsxs)(`div`,{className:`mt-6 p-4 border border-gray-300 rounded-lg bg-gray-50`,children:[(0,q.jsx)(`h3`,{className:`text-lg font-semibold mb-3`,children:`Event Monitor`}),(0,q.jsxs)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 gap-4`,children:[(0,q.jsxs)(`div`,{children:[(0,q.jsx)(`p`,{className:`font-medium`,children:`Aktueller Count-Wert:`}),(0,q.jsx)(`p`,{className:`text-2xl font-bold text-blue-600`,"aria-live":`polite`,children:i})]}),(0,q.jsxs)(`div`,{children:[(0,q.jsx)(`p`,{className:`font-medium`,children:`Letztes Event:`}),(0,q.jsx)(`p`,{className:`text-lg`,"aria-live":`polite`,children:c||`Noch kein Event empfangen`})]})]}),(0,q.jsxs)(`div`,{className:`mt-4`,children:[(0,q.jsxs)(`p`,{className:`font-medium mb-2`,children:[`Events empfangen: `,(0,q.jsx)(`span`,{className:`font-bold`,children:u})]}),o.length>0&&(0,q.jsxs)(`div`,{children:[(0,q.jsx)(`p`,{className:`font-medium mb-2`,children:`Event-Historie (letzte 5):`}),(0,q.jsx)(`ul`,{className:`text-sm space-y-1 max-h-32 overflow-y-auto`,children:o.map(e=>(0,q.jsxs)(`li`,{className:`flex justify-between items-center p-2 bg-white rounded border`,children:[(0,q.jsxs)(`span`,{children:[`#`,e.id,`: Count = `,e.count]}),(0,q.jsx)(`span`,{className:`text-gray-500`,children:e.timestamp})]},e.id))})]})]}),(0,q.jsx)(`div`,{className:`mt-4 p-3 bg-blue-50 rounded`,children:(0,q.jsxs)(`p`,{className:`text-sm text-blue-800`,children:[`💡 `,(0,q.jsx)(`strong`,{children:`Tipp:`}),` Die Komponente emittiert automatisch alle 2 Sekunden ein Event. Klicke auf den "Click Button" in der Komponente, um den Count-Wert zu erhöhen.`]})})]})]})}}},dk={...gp,...Bd,...Vd,...Wd,...Gd,...Kd,...qd,...Xd,...Vf,...Hf,...np,...rp,...ap,...cp,...lp,..._p,...vp,...yp,...Ep,...kp,...Wp,...qp,...Zp,...zg,...Hg,...Gg,...Jg,...y_,...b_,...x_,...S_,...C_,...w_,...k_,...A_,...j_,...M_,...N_,...B_,...J_,...Y_,...q_,...X_,...Sb,...Mb,...Lb,...Hb,...Ub,...Gb,...Kb,...uk};Nf(localStorage);var fk=({customThemes:e})=>{let t=fn(),[n,r]=Rr(),i=n.has(`hideMenus`),a=(0,d.useMemo)(()=>{let t=[gf,...e&&e.length>0?e:_f];return Ff(t),t},[e]),o=n.get(`theme`)??Rf(),[s,c]=(0,d.useState)(()=>Df.isInitialized(a));(0,d.useEffect)(()=>{let e=!0,t=Df.isInitialized(a),n=t=>{e&&c(t)};if(t){setTimeout(()=>n(!0),0);return}return n(!1),Df.initialize(a).then(()=>{n(!0)}),()=>{e=!1}},[a]);let l=(e,t=`/`)=>{let n=[];for(let r in e)if(e[r]){let i=e[r],a=`${t}${r}`;typeof i==`function`?n.push(a):typeof i==`object`&&i&&(n=n.concat(l(i,`${a}/`)))}return n},u=e=>{let t=[];for(let n in e)if(e[n]){let r=e[n],i=`/${n}`;if(typeof r==`function`)t.push((0,q.jsx)(Bn,{path:i,element:(0,q.jsx)(r,{})},i)),t.push((0,q.jsx)(Bn,{path:`${i}/all`,element:(0,q.jsx)(`div`,{className:`d-grid gap-4`,children:a.map(e=>(0,q.jsxs)(`div`,{className:`d-grid gap-2`,children:[(0,q.jsx)(`div`,{className:`mt-4`,children:(0,q.jsx)(`strong`,{children:e.name})}),(0,q.jsx)(`div`,{className:`my-2`,children:(0,q.jsx)(r,{})}),(0,q.jsx)(`hr`,{"aria-hidden":`true`})]},e.key))})},`${i}/all`));else if(typeof r==`object`&&r){let e=Object.keys(r);e.length>0&&t.push((0,q.jsx)(Bn,{path:`${i}/*`,element:(0,q.jsxs)(Hn,{children:[(0,q.jsx)(Bn,{path:`/`,element:(0,q.jsx)(zn,{to:e[0]})}),u(r)]})},i))}}return t},f=(0,d.useMemo)(()=>l(dk),[]),p=(0,d.useMemo)(()=>u(dk),[]),m=new Map;return f.forEach(e=>{let t=e.split(`/`);m.has(t[1])||m.set(t[1],{label:t[1],value:e})}),Lf(o),bd(),Nd(),(0,d.useEffect)(()=>{document.title=`KoliBri-Handout - ${zf(Rf())} | v${ad.version}`,document.body.setAttribute(`class`,o),document.body.dataset.theme=o},[o]),s?(0,q.jsx)(Pd.Provider,{value:i,children:(0,q.jsxs)(`div`,{className:i?``:`app-container`,"data-theme":o,children:[!i&&(0,q.jsx)(yd,{version:ad.version,themes:a,theme:o,sample:t.pathname,routes:dk,routeList:f,buildDate:`2026-09-02T09:53:33.448Z`,commitHash:`b27bdc4`,onThemeChange:e=>{r({theme:e}),window.location.reload()}}),(0,q.jsx)(`main`,{className:`flex flex-col items-stretch p-4`,id:`route-container`,children:(0,q.jsxs)(Hn,{children:[p,(0,q.jsx)(Bn,{path:`*`,element:(0,q.jsx)(zn,{to:f[0],replace:!0})}),(0,q.jsx)(Bn,{path:`back-page`,element:(0,q.jsx)(sd,{})})]})})]})}):(0,q.jsx)(Pd.Provider,{value:i,children:(0,q.jsx)(`main`,{className:`flex flex-col items-stretch p-4`,id:`route-container`,children:(0,q.jsx)(`p`,{children:`Loading data`})})})},pk=new URL(`https://x`+location.hash.substring(1)).searchParams.has(`enableI18nOverwriting`),mk=new URL(`https://x`+location.hash.substring(1)).searchParams.has(`enableThemePatching`),hk=new URL(`https://x`+location.hash.substring(1)).searchParams.has(`enableTagNameTransformer`),gk=e=>`${e}-sample`;hk&&x(gk);var _k=async()=>{throw Error(`Environment variable THEME_MODULE not specified. The visual-tests app must be started via "kolibri-visual-test".`)};(async()=>{try{await oc(await _k(),()=>{id(window,{transformTagName:hk?gk:void 0})},{environment:`production`,reflectInputValues:!0,theme:void 0,translation:{name:`en`},translations:pk?new Set([e=>e(`en`,{"kol-error":`Tiny error!`}),e=>e(`de`,{"kol-error":`Kleiner Fehler!`})]):void 0,transformTagName:hk?gk:void 0}),mk&&Oo.patchTheme(`default`,{"KOL-BUTTON":`
|
|
165
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function QE(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:tD(t,`input`,e.processors),output:tD(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function $E(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return $E(r.element,n);if(r.type===`set`)return $E(r.valueType,n);if(r.type===`lazy`)return $E(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`)return $E(r.innerType,n);if(r.type===`intersection`)return $E(r.left,n)||$E(r.right,n);if(r.type===`record`||r.type===`map`)return $E(r.keyType,n)||$E(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:$E(r.in,n)||$E(r.out,n);if(r.type===`object`){for(let e in r.shape)if($E(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if($E(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if($E(e,n))return!0;return!!(r.rest&&$E(r.rest,n))}return!1}var eD=(e,t={})=>n=>{let r=YE({...n,processors:t});return XE(e,r),ZE(r,e),QE(r,e)},tD=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=YE({...i??{},target:a,io:t,processors:n});return XE(e,o),ZE(o,e),QE(o,e)},nD={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},rD=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=nD[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},iD=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;i.type=typeof s==`string`&&s.includes(`int`)?`integer`:`number`;let d=typeof u==`number`&&u>=(a??-1/0),f=typeof l==`number`&&l<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;d?p?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l:typeof o==`number`&&(i.maximum=o),typeof c==`number`&&(i.multipleOf=c)},aD=(e,t,n,r)=>{n.type=`boolean`},oD=(e,t,n,r)=>{n.not={}},sD=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Date cannot be represented in JSON Schema`)},cD=(e,t,n,r)=>{let i=e._zod.def,a=NS(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},lD=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},uD=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},dD=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=XE(a.element,t,{...r,path:[...r.path,`items`]})},fD=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=XE(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=XE(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},pD=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>XE(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},mD=(e,t,n,r)=>{let i=e._zod.def,a=XE(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=XE(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},hD=(e,t,n,r)=>{let i=e._zod.def,a=XE(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},gD=(e,t,n,r)=>{let i=e._zod.def;XE(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},_D=(e,t,n,r)=>{let i=e._zod.def;XE(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},vD=(e,t,n,r)=>{let i=e._zod.def;XE(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},yD=(e,t,n,r)=>{let i=e._zod.def;XE(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},bD=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;XE(o,t,r);let s=t.seen.get(e);s.ref=o},xD=(e,t,n,r)=>{let i=e._zod.def;XE(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},SD=(e,t,n,r)=>{let i=e._zod.def;XE(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},CD=Q(`ZodISODateTime`,(e,t)=>{Ww.init(e,t),XD.init(e,t)});function wD(e){return hE(CD,e)}var TD=Q(`ZodISODate`,(e,t)=>{Gw.init(e,t),XD.init(e,t)});function ED(e){return gE(TD,e)}var DD=Q(`ZodISOTime`,(e,t)=>{Kw.init(e,t),XD.init(e,t)});function OD(e){return _E(DD,e)}var kD=Q(`ZodISODuration`,(e,t)=>{qw.init(e,t),XD.init(e,t)});function AD(e){return vE(kD,e)}var jD=Q(`ZodError`,(e,t)=>{gC.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>yC(e,t)},flatten:{value:t=>vC(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,PS,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,PS,2)}},isEmpty:{get(){return e.issues.length===0}}})},{Parent:Error}),MD=bC(jD),ND=xC(jD),PD=SC(jD),FD=wC(jD),ID=EC(jD),LD=DC(jD),RD=OC(jD),zD=kC(jD),BD=AC(jD),VD=jC(jD),HD=MC(jD),UD=NC(jD),WD=new WeakMap;function GD(e,t,n){let r=Object.getPrototypeOf(e),i=WD.get(r);if(i||(i=new Set,WD.set(r,i)),!i.has(t)){i.add(t);for(let e in n){let t=n[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,get(){let n=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:n}),n},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}}var KD=Q(`ZodType`,(e,t)=>(Aw.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:tD(e,`input`),output:tD(e,`output`)}}),e.toJSONSchema=eD(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(t,n)=>MD(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>PD(e,t,n),e.parseAsync=async(t,n)=>ND(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>FD(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>ID(e,t,n),e.decode=(t,n)=>LD(e,t,n),e.encodeAsync=async(t,n)=>RD(e,t,n),e.decodeAsync=async(t,n)=>zD(e,t,n),e.safeEncode=(t,n)=>BD(e,t,n),e.safeDecode=(t,n)=>VD(e,t,n),e.safeEncodeAsync=async(t,n)=>HD(e,t,n),e.safeDecodeAsync=async(t,n)=>UD(e,t,n),GD(e,`ZodType`,{check(...e){let t=this.def;return this.clone(HS(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return QS(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(ok(e,t))},superRefine(e,t){return this.check(sk(e,t))},overwrite(e){return this.check(zE(e))},optional(){return VO(this)},exactOptional(){return UO(this)},nullable(){return GO(this)},nullish(){return VO(GO(this))},nonoptional(e){return ZO(this,e)},array(){return kO(this)},or(e){return NO([this,e])},and(e){return FO(this,e)},transform(e){return tk(this,zO(e))},default(e){return qO(this,e)},prefault(e){return YO(this,e)},catch(e){return $O(this,e)},pipe(e){return tk(this,e)},readonly(){return ik(this)},describe(e){let t=this.clone();return GT.add(t,{description:e}),t},meta(...e){if(e.length===0)return GT.get(this);let t=this.clone();return GT.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,"description",{get(){return GT.get(e)?.description},configurable:!0}),e)),qD=Q(`_ZodString`,(e,t)=>{jw.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>rD(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,GD(e,`_ZodString`,{regex(...e){return this.check(NE(...e))},includes(...e){return this.check(IE(...e))},startsWith(...e){return this.check(LE(...e))},endsWith(...e){return this.check(RE(...e))},min(...e){return this.check(jE(...e))},max(...e){return this.check(AE(...e))},length(...e){return this.check(ME(...e))},nonempty(...e){return this.check(jE(1,...e))},lowercase(e){return this.check(PE(e))},uppercase(e){return this.check(FE(e))},trim(){return this.check(VE())},normalize(...e){return this.check(BE(...e))},toLowerCase(){return this.check(HE())},toUpperCase(){return this.check(UE())},slugify(){return this.check(WE())}})}),JD=Q(`ZodString`,(e,t)=>{jw.init(e,t),qD.init(e,t),e.email=t=>e.check(qT(ZD,t)),e.url=t=>e.check($T(eO,t)),e.jwt=t=>e.check(mE(hO,t)),e.emoji=t=>e.check(eE(tO,t)),e.guid=t=>e.check(JT(QD,t)),e.uuid=t=>e.check(YT($D,t)),e.uuidv4=t=>e.check(XT($D,t)),e.uuidv6=t=>e.check(ZT($D,t)),e.uuidv7=t=>e.check(QT($D,t)),e.nanoid=t=>e.check(tE(nO,t)),e.guid=t=>e.check(JT(QD,t)),e.cuid=t=>e.check(nE(rO,t)),e.cuid2=t=>e.check(rE(iO,t)),e.ulid=t=>e.check(iE(aO,t)),e.base64=t=>e.check(dE(fO,t)),e.base64url=t=>e.check(fE(pO,t)),e.xid=t=>e.check(aE(oO,t)),e.ksuid=t=>e.check(oE(sO,t)),e.ipv4=t=>e.check(sE(cO,t)),e.ipv6=t=>e.check(cE(lO,t)),e.cidrv4=t=>e.check(lE(uO,t)),e.cidrv6=t=>e.check(uE(dO,t)),e.e164=t=>e.check(pE(mO,t)),e.datetime=t=>e.check(wD(t)),e.date=t=>e.check(ED(t)),e.time=t=>e.check(OD(t)),e.duration=t=>e.check(AD(t))});function YD(e){return KT(JD,e)}var XD=Q(`ZodStringFormat`,(e,t)=>{Mw.init(e,t),qD.init(e,t)}),ZD=Q(`ZodEmail`,(e,t)=>{Fw.init(e,t),XD.init(e,t)}),QD=Q(`ZodGUID`,(e,t)=>{Nw.init(e,t),XD.init(e,t)}),$D=Q(`ZodUUID`,(e,t)=>{Pw.init(e,t),XD.init(e,t)}),eO=Q(`ZodURL`,(e,t)=>{Iw.init(e,t),XD.init(e,t)}),tO=Q(`ZodEmoji`,(e,t)=>{Lw.init(e,t),XD.init(e,t)}),nO=Q(`ZodNanoID`,(e,t)=>{Rw.init(e,t),XD.init(e,t)}),rO=Q(`ZodCUID`,(e,t)=>{zw.init(e,t),XD.init(e,t)}),iO=Q(`ZodCUID2`,(e,t)=>{Bw.init(e,t),XD.init(e,t)}),aO=Q(`ZodULID`,(e,t)=>{Vw.init(e,t),XD.init(e,t)}),oO=Q(`ZodXID`,(e,t)=>{Hw.init(e,t),XD.init(e,t)}),sO=Q(`ZodKSUID`,(e,t)=>{Uw.init(e,t),XD.init(e,t)}),cO=Q(`ZodIPv4`,(e,t)=>{Jw.init(e,t),XD.init(e,t)}),lO=Q(`ZodIPv6`,(e,t)=>{Yw.init(e,t),XD.init(e,t)}),uO=Q(`ZodCIDRv4`,(e,t)=>{Xw.init(e,t),XD.init(e,t)}),dO=Q(`ZodCIDRv6`,(e,t)=>{Zw.init(e,t),XD.init(e,t)}),fO=Q(`ZodBase64`,(e,t)=>{$w.init(e,t),XD.init(e,t)}),pO=Q(`ZodBase64URL`,(e,t)=>{tT.init(e,t),XD.init(e,t)}),mO=Q(`ZodE164`,(e,t)=>{nT.init(e,t),XD.init(e,t)}),hO=Q(`ZodJWT`,(e,t)=>{iT.init(e,t),XD.init(e,t)}),gO=Q(`ZodNumber`,(e,t)=>{aT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>iD(e,t,n,r),GD(e,`ZodNumber`,{gt(e,t){return this.check(DE(e,t))},gte(e,t){return this.check(OE(e,t))},min(e,t){return this.check(OE(e,t))},lt(e,t){return this.check(TE(e,t))},lte(e,t){return this.check(EE(e,t))},max(e,t){return this.check(EE(e,t))},int(e){return this.check(yO(e))},safe(e){return this.check(yO(e))},positive(e){return this.check(DE(0,e))},nonnegative(e){return this.check(OE(0,e))},negative(e){return this.check(TE(0,e))},nonpositive(e){return this.check(EE(0,e))},multipleOf(e,t){return this.check(kE(e,t))},step(e,t){return this.check(kE(e,t))},finite(){return this}});let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function _O(e){return yE(gO,e)}var vO=Q(`ZodNumberFormat`,(e,t)=>{oT.init(e,t),gO.init(e,t)});function yO(e){return bE(vO,e)}var bO=Q(`ZodBoolean`,(e,t)=>{sT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>aD(e,t,n,r)});function xO(e){return xE(bO,e)}var SO=Q(`ZodUnknown`,(e,t)=>{cT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function CO(){return SE(SO)}var wO=Q(`ZodNever`,(e,t)=>{lT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>oD(e,t,n,r)});function TO(e){return CE(wO,e)}var EO=Q(`ZodDate`,(e,t)=>{uT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>sD(e,t,n,r),e.min=(t,n)=>e.check(OE(t,n)),e.max=(t,n)=>e.check(EE(t,n));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function DO(e){return wE(EO,e)}var OO=Q(`ZodArray`,(e,t)=>{fT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>dD(e,t,n,r),e.element=t.element,GD(e,`ZodArray`,{min(e,t){return this.check(jE(e,t))},nonempty(e){return this.check(jE(1,e))},max(e,t){return this.check(AE(e,t))},length(e,t){return this.check(ME(e,t))},unwrap(){return this.element}})});function kO(e,t){return GE(OO,e,t)}var AO=Q(`ZodObject`,(e,t)=>{_T.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>fD(e,t,n,r),BS(e,`shape`,()=>t.shape),GD(e,`ZodObject`,{keyof(){return LO(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:CO()})},loose(){return this.clone({...this._zod.def,catchall:CO()})},strict(){return this.clone({...this._zod.def,catchall:TO()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return rC(this,e)},safeExtend(e){return iC(this,e)},merge(e){return aC(this,e)},pick(e){return tC(this,e)},omit(e){return nC(this,e)},partial(...e){return oC(BO,this,e[0])},required(...e){return sC(XO,this,e[0])}})});function jO(e,t){return new AO({type:`object`,shape:e??{},...$(t)})}var MO=Q(`ZodUnion`,(e,t)=>{yT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>pD(e,t,n,r),e.options=t.options});function NO(e,t){return new MO({type:`union`,options:e,...$(t)})}var PO=Q(`ZodIntersection`,(e,t)=>{bT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>mD(e,t,n,r)});function FO(e,t){return new PO({type:`intersection`,left:e,right:t})}var IO=Q(`ZodEnum`,(e,t)=>{CT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>cD(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new IO({...t,checks:[],...$(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new IO({...t,checks:[],...$(r),entries:i})}});function LO(e,t){return new IO({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...$(t)})}var RO=Q(`ZodTransform`,(e,t)=>{wT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>uD(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new AS(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(mC(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(mC(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n.fallback=!0,n)):(n.value=i,n.fallback=!0,n)}});function zO(e){return new RO({type:`transform`,transform:e})}var BO=Q(`ZodOptional`,(e,t)=>{ET.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>SD(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function VO(e){return new BO({type:`optional`,innerType:e})}var HO=Q(`ZodExactOptional`,(e,t)=>{DT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>SD(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function UO(e){return new HO({type:`optional`,innerType:e})}var WO=Q(`ZodNullable`,(e,t)=>{OT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>hD(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function GO(e){return new WO({type:`nullable`,innerType:e})}var KO=Q(`ZodDefault`,(e,t)=>{kT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_D(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function qO(e,t){return new KO({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():YS(t)}})}var JO=Q(`ZodPrefault`,(e,t)=>{jT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vD(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function YO(e,t){return new JO({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():YS(t)}})}var XO=Q(`ZodNonOptional`,(e,t)=>{MT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>gD(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function ZO(e,t){return new XO({type:`nonoptional`,innerType:e,...$(t)})}var QO=Q(`ZodCatch`,(e,t)=>{PT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yD(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function $O(e,t){return new QO({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var ek=Q(`ZodPipe`,(e,t)=>{FT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bD(e,t,n,r),e.in=t.in,e.out=t.out});function tk(e,t){return new ek({type:`pipe`,in:e,out:t})}var nk=Q(`ZodPreprocess`,(e,t)=>{ek.init(e,t),LT.init(e,t)}),rk=Q(`ZodReadonly`,(e,t)=>{RT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xD(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function ik(e){return new rk({type:`readonly`,innerType:e})}var ak=Q(`ZodCustom`,(e,t)=>{BT.init(e,t),KD.init(e,t),e._zod.processJSONSchema=(t,n,r)=>lD(e,t,n,r)});function ok(e,t={}){return KE(ak,e,t)}function sk(e,t){return qE(e,t)}function ck(e,t){return new nk({type:`pipe`,in:zO(e),out:t})}var lk=jO({date:ck(e=>typeof e==`string`||e instanceof Date?new Date(e):void 0,DO({message:`Date is required`}).refine(e=>!isNaN(e.getTime()),{message:`Invalid date`})),text:YD({message:`Please enter text.`}).min(10,`Text must be at least 10 characters long.`),email:YD({message:`Please enter your email.`}).min(1,`Please enter your email.`).email(`Invalid email address.`),password:YD({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:_O({message:`Please select a range.`}).min(30,`Minimum value is 30.`),number:_O({message:`Please enter a number.`}).min(1,`Minimum is 1.`).max(10,`Maximum is 10.`),checkbox:xO().refine(e=>e===!0,{message:`You must accept the terms and conditions.`}),radio:YD({message:`Please select a gender.`}).min(1,`Please select a gender.`),color:YD({message:`Please select a color.`}).min(1,`Please select a color.`),select:YD({message:`Please select a value.`}).min(1,`Please select a value.`),singleSelect:YD({message:`Please select a single option.`}).min(1,`Please select a single option.`),combobox:YD({message:`Please select a country.`}).min(1,`Please select a country.`),textarea:YD({message:`Please enter a message.`}).min(1,`Please enter a message.`)}),uk={scenarios:{"button-shortkey-table":Xb,"change-tabindex":Zb,"custom-tooltip-css-properties":Qb,"date-in-form":$b,"disabled-interactive-scenario":tx,"focus-elements":ix,"input-group-with-error":lx,"inputs-get-value":px,"react-hook-form-adapter":pS,"react-hook-form-adapter-disabled":hS,"same-height-of-all-interactive-elements":_S,"same-height-of-all-form-elements-with-label":gS,"static-form":()=>{let{searchParams:e}=new URL(location.href);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(X,{children:[(0,q.jsx)(`p`,{children:`This sample shows how KoliBri can be used in a static form context.`}),(0,q.jsxs)(`ol`,{children:[(0,q.jsxs)(`li`,{children:[`First you have to enable the `,(0,q.jsx)(`code`,{children:`experimental mode`}),`:`,` `,(0,q.jsx)(`code`,{className:`bg-gray-200`,children:`<meta name="kolibri" content="dev-mode=false;experimental-mode=true;" />`})]}),(0,q.jsxs)(`li`,{children:[`Currently you have to use a native `,(0,q.jsx)(`code`,{children:`form`}),` element:`,` `,(0,q.jsx)(`code`,{className:`bg-gray-200`,children:`<form method="GET">...</form>`})]}),(0,q.jsxs)(`li`,{children:[`It is important in static usage to give every input a `,(0,q.jsx)(`code`,{children:`name`}),` attribute:`,` `,(0,q.jsx)(`code`,{className:`bg-gray-200`,children:`<KolInputColor _name="color" _label="Color" />`})]}),(0,q.jsxs)(`li`,{children:[`Last of all one button should have the type `,(0,q.jsx)(`code`,{children:`submit`}),`:`,` `,(0,q.jsx)(`code`,{className:`bg-gray-200`,children:`<KolButton _label="Submit" _type="submit" _variant="primary" />`})]})]})]}),(0,q.jsxs)(`section`,{className:`w-full flex flex-col`,children:[e.size>0&&(0,q.jsxs)(`div`,{className:`grid gap-4`,children:[(0,q.jsx)(N,{_level:2,_label:`Submitted data`}),(0,q.jsx)(`pre`,{className:`text-base`,children:(0,q.jsx)(`code`,{children:JSON.stringify(Object.fromEntries(e.entries()),null,2)})})]}),(0,q.jsxs)(`form`,{className:`grid gap-4`,method:`get`,noValidate:!0,children:[(0,q.jsx)(P,{_name:`checkbox`,_label:`Checkbox`}),(0,q.jsx)(le,{_name:`color`,_label:`Color`}),(0,q.jsx)(F,{_name:`date`,_label:`Date`}),(0,q.jsx)(ue,{_name:`email`,_label:`Email`}),(0,q.jsx)(de,{_name:`file`,_label:`File`}),(0,q.jsx)(de,{_name:`file`,_label:`Files (multiple)`,_multiple:!0}),(0,q.jsx)(fe,{_name:`number`,_label:`Number`}),(0,q.jsx)(pe,{_name:`password`,_label:`Password`}),(0,q.jsx)(me,{_name:`radio`,_label:`Radio`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,q.jsx)(he,{_name:`range`,_label:`Range`}),(0,q.jsx)(I,{_name:`text`,_label:`Text`}),(0,q.jsx)(R,{_name:`select`,_label:`Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,q.jsx)(R,{_name:`select`,_label:`Select (multiple)`,_multiple:!0,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}],_rows:2}),(0,q.jsx)(we,{_name:`singleSelect`,_label:`Single Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,q.jsx)(j,{_name:`combobox`,_label:`Combobox`,_suggestions:Jf}),(0,q.jsx)(B,{_name:`textarea`,_label:`Textarea`,_rows:5}),(0,q.jsxs)(`div`,{className:`flex flex-wrap gap-4`,children:[(0,q.jsx)(O,{_label:`Submit`,_type:`submit`,_variant:`primary`}),(0,q.jsx)(O,{_label:`Reset`,_type:`reset`})]}),(0,q.jsx)(`input`,{type:`hidden`,value:crypto.randomUUID(),name:`random`})]})]})]})},"sample-form-with-validation":()=>{let{dummyClickEventHandler:e}=Yd(),{handleSubmit:t,formState:{errors:n},reset:r,control:i}=Uh({mode:`onBlur`,reValidateMode:`onChange`,resolver:DS(lk),defaultValues:{range:30,number:5}}),a=()=>{r(void 0,{keepErrors:!1,keepTouched:!1,keepDirty:!1})},o=Object.entries(n).map(([e,t])=>[e,t.message]).filter(([,e])=>!!e);return(0,q.jsxs)(`section`,{className:`w-full max-w-3xl mx-auto p-6`,children:[(0,q.jsx)(N,{_level:2,_label:`Sample Form with Validation (Zod)`}),(0,q.jsx)(X,{children:(0,q.jsxs)(`p`,{children:[`This example shows validation with `,(0,q.jsx)(`code`,{children:`react-hook-form`}),`, `,(0,q.jsx)(`code`,{children:`Zod`}),`, and an error list.`]})}),o.length>0&&(0,q.jsx)(E,{_type:`error`,_label:`Please fix the following:`,_alert:!0,_variant:`card`,children:(0,q.jsx)(`ul`,{className:`list-disc pl-5`,children:o.map(([e,t],n)=>(0,q.jsx)(`li`,{children:(0,q.jsx)(L,{_label:t,_href:`#field-${e}`,_on:{onClick:t=>{t.preventDefault(),document.getElementById(`field-${e}`)?.focus()}}})},n))})}),(0,q.jsxs)(`form`,{onSubmit:t(e),noValidate:!0,className:`grid gap-4 mt-6`,children:[(0,q.jsx)($x,{control:i,name:`date`,_label:`Date`}),(0,q.jsx)(Jx,{control:i,name:`text`,_label:`Text (≥ 10 chars)`}),(0,q.jsx)(Xx,{control:i,name:`email`,_label:`Email`}),(0,q.jsx)(Yx,{control:i,name:`password`,_label:`Password`}),(0,q.jsx)(Qx,{control:i,name:`range`,_label:`Range (≥ 30)`,_min:0,_max:100}),(0,q.jsx)(Zx,{control:i,name:`number`,_label:`Number (1 – 10)`}),(0,q.jsx)(sS,{control:i,name:`checkbox`,_label:`Accept terms`}),(0,q.jsx)(oS,{control:i,name:`radio`,_label:`Gender`,_options:[{label:`Female`,value:`f`},{label:`Male`,value:`m`}]}),(0,q.jsx)(eS,{control:i,name:`color`,_label:`Favorite Color`}),(0,q.jsx)(iS,{control:i,name:`select`,_label:`Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,q.jsx)(aS,{control:i,name:`singleSelect`,_label:`Single Select`,_options:[{label:`Option A`,value:`A`},{label:`Option B`,value:`B`}]}),(0,q.jsx)(rS,{control:i,name:`combobox`,_label:`Country`,_suggestions:Jf}),(0,q.jsx)(nS,{control:i,name:`textarea`,_label:`Message`,_rows:4}),(0,q.jsxs)(`div`,{className:`flex gap-4 mt-4`,children:[(0,q.jsx)(O,{_label:`Submit`,_type:`submit`,_variant:`primary`}),(0,q.jsx)(O,{_label:`Reset`,_type:`reset`,onClick:a})]})]})]})},"table-horizontal-scrollbar-advanced":cx,"toolbar-item-order":()=>{let[e,t]=(0,d.useState)(!1),[n,r]=(0,d.useState)(!1),i=()=>{t(!0),setTimeout(()=>{t(!1)},2e3)},a=()=>{r(!0),setTimeout(()=>{r(!1)},2e3)},o=(0,d.useMemo)(()=>Array.from({length:5},(t,n)=>({type:`button`,_label:`Button ${n+1}`,_on:{onClick:i},_icons:e?`fa-solid fa-spinner fa-spin`:void 0,_disabled:e})),[e]),s=(0,d.useMemo)(()=>Array.from({length:5},(e,t)=>({type:`button`,_label:`Button ${t+1}`,_on:{onClick:a},_disabled:n,_icons:n?`fa-solid fa-spinner fa-spin`:void 0})),[n]);return(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:`1rem`},children:[(0,q.jsx)(N,{_label:`Disabled Toolbar Buttons Bug (solved)`}),(0,q.jsx)(N,{_label:`icon vor disabled`,_level:2}),(0,q.jsx)(je,{_label:`KolToolbar A`,_items:o}),(0,q.jsx)(N,{_label:`disabled vor icon`,_level:2}),(0,q.jsxs)(`p`,{children:[`Klicke auf einen der `,s.length-1,` ersten Buttons hatte zur Folge, dass die nachfolgenden Buttons kaputt gehen.`]}),(0,q.jsx)(je,{_label:`KolToolbar B`,_items:s})]})},"tooltip-positioning":()=>(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This example demonstrates tooltip positioning within container query contexts. Container queries can interfere with fixed positioning, causing tooltips to render incorrectly relative to the viewport. The layout containment fix ensures tooltips position properly even when their parent elements use container-based sizing and layout rules.`})}),(0,q.jsx)(`div`,{style:{container:`test / size`,contain:`layout`},children:(0,q.jsx)(xe,{_label:`Sample PopoverButton—Click for Popover`,_icons:`kolicon-alert-info`,_tooltipAlign:`right`,_hideLabel:!0,children:`This is an explanation shown on click.`})})]}),"accordion-components":Jb,"z-index":()=>{let[e]=Rr(),t=e.get(`show-dialog`),n=(0,d.useRef)(null);return(0,d.useEffect)(()=>{t===`true`&&n.current?.openModal()},[]),(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`This sample shows the combination of a few components overlaying content. Dialog, Popover, Tooltip`})}),(0,q.jsx)(`div`,{className:`grid gap-8`,children:(0,q.jsxs)(`div`,{children:[(0,q.jsx)(O,{_label:`Open card dialog`,_on:{onClick:()=>n.current?.openModal()}}),(0,q.jsxs)(ae,{ref:n,_label:`Card dialog`,_variant:`card`,_width:`30%`,children:[(0,q.jsx)(xe,{_label:`Help`,_icons:`kolicon-alert-info`,_popoverAlign:`right`,_tooltipAlign:`bottom`,_hideLabel:!0,children:(0,q.jsxs)(`div`,{className:`w-sm p-2 border border-solid border-gray`,children:[(0,q.jsxs)(`p`,{children:[(0,q.jsx)(`u`,{children:`Lorem ipsum dolor sit amet`}),`, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum! Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.`]}),(0,q.jsx)(O,{_hideLabel:!0,_icons:`kolicon-check`,_label:`OK`,_variant:`primary`})]})}),(0,q.jsx)(j,{_label:`With string array in html`,_suggestions:`['Herr','Frau','Firma']`,_value:`Herr`,_hideLabel:!0}),(0,q.jsx)(fe,{_label:`Amount`})]})]})})]})},"performance-test":mx,skeleton:()=>{let e=(0,d.useRef)(null),t=(0,d.useRef)(null),n=new Intl.NumberFormat(`de-DE`,{style:`unit`,unit:`millisecond`,maximumFractionDigits:1}),r=new Intl.DateTimeFormat(`de-DE`,{hour:`2-digit`,minute:`2-digit`,second:`2-digit`}),[i,a]=(0,d.useState)(3),[o,s]=(0,d.useState)([]),[c,l]=(0,d.useState)(``),[u,f]=(0,d.useState)(0),[p,m]=(0,d.useState)(20),[h,g]=(0,d.useState)(0),[_,v]=(0,d.useState)(null),[y,b]=(0,d.useState)(!1),x=(0,d.useRef)(0),ee=(0,d.useRef)(20),S=(0,d.useRef)(0),C=e=>{let t=new Date,n=r.format(t),i=u+1;a(e.detail),l(n),f(i),s(t=>[{timestamp:n,count:e.detail,id:i},...t.slice(0,4)])},w=(0,d.useCallback)(()=>{if(S.current+=1,S.current>=ee.current){let e=performance.now()-x.current;v(e),b(!1)}},[]);return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(X,{children:(0,q.jsx)(`p`,{children:`KolSkeleton demonstriert Event-Emitter mit automatischem Intervall. Die Komponente emittiert alle 2 Sekunden ein "loaded" Event mit dem aktuellen Count-Wert. Über die Buttons kann die Komponente getoggled und fokussiert werden. Der interne ClickButton erhöht bei Klick den Counter.`})}),(0,q.jsxs)(`div`,{className:`grid md:grid-cols-2 gap-4 mb-4 items-center`,children:[(0,q.jsxs)(`div`,{className:`grid sm:grid-cols-2 gap-4`,children:[(0,q.jsx)(O,{_label:`Toggle Sichtbarkeit`,_on:{onClick:()=>e.current?.toggle()},_variant:`primary`}),(0,q.jsx)(O,{_label:`Fokus auf Button`,_on:{onClick:()=>e.current?.focus()},_variant:`secondary`})]}),(0,q.jsxs)(`div`,{className:`grid sm:grid-cols-2 gap-4 items-center`,children:[(0,q.jsx)(he,{ref:t,_label:`Anzahl der Skeletons`,_hideLabel:!0,_min:1,_max:1e4,_step:25,_value:p,_on:{onChange:(e,t)=>{let n=Number(t);m(n),S.current=0,ee.current=n,x.current=performance.now(),v(null),b(!0),g(e=>e+1)},onBlur:()=>{t.current&&(t.current._value=p)}}}),(0,q.jsxs)(`span`,{className:`text-sm text-gray-600 whitespace-nowrap`,children:[p,` Skeletons`]})]})]}),(0,q.jsxs)(`div`,{className:`mb-4 px-3 py-2 border border-gray-300 rounded bg-gray-50 flex items-center gap-4 text-sm`,children:[(0,q.jsx)(`span`,{className:`font-semibold`,children:`Benchmark:`}),(0,q.jsx)(`span`,{className:y?`text-orange-600 font-bold`:_===null?`text-gray-400`:`text-green-600`,children:y?`Rendering…`:_===null?`Bereit`:`Fertig`}),(0,q.jsx)(`span`,{className:`font-bold text-blue-600`,"aria-live":`polite`,children:_===null?`—`:n.format(_)})]}),(0,q.jsx)(`div`,{className:`flex flex-wrap gap-4`,children:Array.from({length:p},(t,n)=>(0,q.jsx)(Te,{_name:`Example ${n}`,onLoaded:n===0?C:void 0,onRendered:w,ref:n===0?e:void 0},`skeleton-${h}-${n}`))}),(0,q.jsxs)(`div`,{className:`mt-6 p-4 border border-gray-300 rounded-lg bg-gray-50`,children:[(0,q.jsx)(`h3`,{className:`text-lg font-semibold mb-3`,children:`Event Monitor`}),(0,q.jsxs)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 gap-4`,children:[(0,q.jsxs)(`div`,{children:[(0,q.jsx)(`p`,{className:`font-medium`,children:`Aktueller Count-Wert:`}),(0,q.jsx)(`p`,{className:`text-2xl font-bold text-blue-600`,"aria-live":`polite`,children:i})]}),(0,q.jsxs)(`div`,{children:[(0,q.jsx)(`p`,{className:`font-medium`,children:`Letztes Event:`}),(0,q.jsx)(`p`,{className:`text-lg`,"aria-live":`polite`,children:c||`Noch kein Event empfangen`})]})]}),(0,q.jsxs)(`div`,{className:`mt-4`,children:[(0,q.jsxs)(`p`,{className:`font-medium mb-2`,children:[`Events empfangen: `,(0,q.jsx)(`span`,{className:`font-bold`,children:u})]}),o.length>0&&(0,q.jsxs)(`div`,{children:[(0,q.jsx)(`p`,{className:`font-medium mb-2`,children:`Event-Historie (letzte 5):`}),(0,q.jsx)(`ul`,{className:`text-sm space-y-1 max-h-32 overflow-y-auto`,children:o.map(e=>(0,q.jsxs)(`li`,{className:`flex justify-between items-center p-2 bg-white rounded border`,children:[(0,q.jsxs)(`span`,{children:[`#`,e.id,`: Count = `,e.count]}),(0,q.jsx)(`span`,{className:`text-gray-500`,children:e.timestamp})]},e.id))})]})]}),(0,q.jsx)(`div`,{className:`mt-4 p-3 bg-blue-50 rounded`,children:(0,q.jsxs)(`p`,{className:`text-sm text-blue-800`,children:[`💡 `,(0,q.jsx)(`strong`,{children:`Tipp:`}),` Die Komponente emittiert automatisch alle 2 Sekunden ein Event. Klicke auf den "Click Button" in der Komponente, um den Count-Wert zu erhöhen.`]})})]})]})}}},dk={...gp,...Bd,...Vd,...Wd,...Gd,...Kd,...qd,...Xd,...Vf,...Hf,...np,...rp,...ap,...cp,...lp,..._p,...vp,...yp,...Ep,...kp,...Wp,...qp,...Zp,...zg,...Hg,...Gg,...Jg,...y_,...b_,...x_,...S_,...C_,...w_,...k_,...A_,...j_,...M_,...N_,...B_,...J_,...Y_,...q_,...X_,...Sb,...Mb,...Lb,...Hb,...Ub,...Gb,...Kb,...uk};Nf(localStorage);var fk=({customThemes:e})=>{let t=fn(),[n,r]=Rr(),i=n.has(`hideMenus`),a=(0,d.useMemo)(()=>{let t=[gf,...e&&e.length>0?e:_f];return Ff(t),t},[e]),o=n.get(`theme`)??Rf(),[s,c]=(0,d.useState)(()=>Df.isInitialized(a));(0,d.useEffect)(()=>{let e=!0,t=Df.isInitialized(a),n=t=>{e&&c(t)};if(t){setTimeout(()=>n(!0),0);return}return n(!1),Df.initialize(a).then(()=>{n(!0)}),()=>{e=!1}},[a]);let l=(e,t=`/`)=>{let n=[];for(let r in e)if(e[r]){let i=e[r],a=`${t}${r}`;typeof i==`function`?n.push(a):typeof i==`object`&&i&&(n=n.concat(l(i,`${a}/`)))}return n},u=e=>{let t=[];for(let n in e)if(e[n]){let r=e[n],i=`/${n}`;if(typeof r==`function`)t.push((0,q.jsx)(Bn,{path:i,element:(0,q.jsx)(r,{})},i)),t.push((0,q.jsx)(Bn,{path:`${i}/all`,element:(0,q.jsx)(`div`,{className:`d-grid gap-4`,children:a.map(e=>(0,q.jsxs)(`div`,{className:`d-grid gap-2`,children:[(0,q.jsx)(`div`,{className:`mt-4`,children:(0,q.jsx)(`strong`,{children:e.name})}),(0,q.jsx)(`div`,{className:`my-2`,children:(0,q.jsx)(r,{})}),(0,q.jsx)(`hr`,{"aria-hidden":`true`})]},e.key))})},`${i}/all`));else if(typeof r==`object`&&r){let e=Object.keys(r);e.length>0&&t.push((0,q.jsx)(Bn,{path:`${i}/*`,element:(0,q.jsxs)(Hn,{children:[(0,q.jsx)(Bn,{path:`/`,element:(0,q.jsx)(zn,{to:e[0]})}),u(r)]})},i))}}return t},f=(0,d.useMemo)(()=>l(dk),[]),p=(0,d.useMemo)(()=>u(dk),[]),m=new Map;return f.forEach(e=>{let t=e.split(`/`);m.has(t[1])||m.set(t[1],{label:t[1],value:e})}),Lf(o),bd(),Nd(),(0,d.useEffect)(()=>{document.title=`KoliBri-Handout - ${zf(Rf())} | v${ad.version}`,document.body.setAttribute(`class`,o),document.body.dataset.theme=o},[o]),s?(0,q.jsx)(Pd.Provider,{value:i,children:(0,q.jsxs)(`div`,{className:i?``:`app-container`,"data-theme":o,children:[!i&&(0,q.jsx)(yd,{version:ad.version,themes:a,theme:o,sample:t.pathname,routes:dk,routeList:f,buildDate:`2026-09-09T07:09:12.706Z`,commitHash:`31d5bb1`,onThemeChange:e=>{r({theme:e}),window.location.reload()}}),(0,q.jsx)(`main`,{className:`flex flex-col items-stretch p-4`,id:`route-container`,children:(0,q.jsxs)(Hn,{children:[p,(0,q.jsx)(Bn,{path:`*`,element:(0,q.jsx)(zn,{to:f[0],replace:!0})}),(0,q.jsx)(Bn,{path:`back-page`,element:(0,q.jsx)(sd,{})})]})})]})}):(0,q.jsx)(Pd.Provider,{value:i,children:(0,q.jsx)(`main`,{className:`flex flex-col items-stretch p-4`,id:`route-container`,children:(0,q.jsx)(`p`,{children:`Loading data`})})})},pk=new URL(`https://x`+location.hash.substring(1)).searchParams.has(`enableI18nOverwriting`),mk=new URL(`https://x`+location.hash.substring(1)).searchParams.has(`enableThemePatching`),hk=new URL(`https://x`+location.hash.substring(1)).searchParams.has(`enableTagNameTransformer`),gk=e=>`${e}-sample`;hk&&x(gk);var _k=async()=>{throw Error(`Environment variable THEME_MODULE not specified. The visual-tests app must be started via "kolibri-visual-test".`)};(async()=>{try{await oc(await _k(),()=>{id(window,{transformTagName:hk?gk:void 0})},{environment:`production`,reflectInputValues:!0,theme:void 0,translation:{name:`en`},translations:pk?new Set([e=>e(`en`,{"kol-error":`Tiny error!`}),e=>e(`de`,{"kol-error":`Kleiner Fehler!`})]):void 0,transformTagName:hk?gk:void 0}),mk&&Oo.patchTheme(`default`,{"KOL-BUTTON":`
|
|
166
166
|
button {
|
|
167
167
|
border: 1px solid red;
|
|
168
168
|
}`,"KOL-SPIN":`
|
|
@@ -171,5 +171,5 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
171
171
|
}
|
|
172
172
|
.bg-spin-3 {
|
|
173
173
|
background-color: gold;
|
|
174
|
-
}`},{append:!0})}catch(e){console.warn(`Theme registration failed:`,e)}let e=mi(),t=e?[{key:e,name:e}]:void 0;Bf(t);let n=document.querySelector(`div#app`);n instanceof HTMLDivElement&&(0,or.createRoot)(n).render((0,q.jsx)(d.StrictMode,{children:(0,q.jsx)(jr,{children:(0,q.jsx)(fk,{customThemes:t})})}))})();export{
|
|
175
|
-
//# sourceMappingURL=index-
|
|
174
|
+
}`},{append:!0})}catch(e){console.warn(`Theme registration failed:`,e)}let e=mi(),t=e?[{key:e,name:e}]:void 0;Bf(t);let n=document.querySelector(`div#app`);n instanceof HTMLDivElement&&(0,or.createRoot)(n).render((0,q.jsx)(d.StrictMode,{children:(0,q.jsx)(jr,{children:(0,q.jsx)(fk,{customThemes:t})})}))})();export{Ya as $,Us as A,_a as B,vs as C,ka as Ct,As as D,lo as Dt,Es as E,U as Et,Oo as F,Sa as G,Oa as H,Do as I,sa as J,no as K,ha as L,Gs as M,Ks as N,Fs as O,so as Ot,Io as P,Xi as Q,Mo as R,us as S,Ea as St,ws as T,uo as Tt,ya as U,Da as V,xa as W,Zi as X,Wr as Y,aa as Z,qo as _,ca as _t,nu as a,To as at,ts as b,ao as bt,hc as c,Eo as ct,cc as d,to as dt,ra as et,nc as f,qa as ft,Ko as g,za as gt,Uo as h,$a as ht,ru as i,ia as it,Ws as j,Rs as k,vc as l,ho as lt,Bo as m,Ja as mt,Qu as n,Ao as nt,Rl as o,bo as ot,rc as p,mo as pt,wa as q,Bl as r,jo as rt,Rc as s,xo as st,Tc as t,ko as tt,mc as u,go as ut,Yo as v,ro as vt,ys as w,co as wt,as as x,fo as xt,$o as y,oa as yt,vi as z};
|
|
175
|
+
//# sourceMappingURL=index-CDDuTDeB.js.map
|