@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.
Files changed (395) hide show
  1. package/README.md +18 -3
  2. package/app/dist/assets/{Alert-DXOQ9aSr-CDq8gtoc.js → Alert-BjiZcCeA-VpXJ2wTQ.js} +2 -2
  3. package/app/dist/assets/{Alert-DXOQ9aSr-CDq8gtoc.js.map → Alert-BjiZcCeA-VpXJ2wTQ.js.map} +1 -1
  4. package/app/dist/assets/{Collapsible-1ue3DBSn-CCYZDMJW.js → Collapsible-BPAU3d7l-BoSRAfzJ.js} +2 -2
  5. package/app/dist/assets/{Collapsible-1ue3DBSn-CCYZDMJW.js.map → Collapsible-BPAU3d7l-BoSRAfzJ.js.map} +1 -1
  6. package/app/dist/assets/{CustomSuggestionsOptionsGroup-C9g6pxIT-BuAfFyiZ.js → CustomSuggestionsOptionsGroup-CPp_en4y-BWanoGfx.js} +2 -2
  7. package/app/dist/assets/{CustomSuggestionsOptionsGroup-C9g6pxIT-BuAfFyiZ.js.map → CustomSuggestionsOptionsGroup-CPp_en4y-BWanoGfx.js.map} +1 -1
  8. package/app/dist/assets/{FieldControlStateWrapper-KW0D4CYF-BiyRc06j.js → FieldControlStateWrapper-CL8sIEsf-DbQEySfj.js} +2 -2
  9. package/app/dist/assets/{FieldControlStateWrapper-KW0D4CYF-BiyRc06j.js.map → FieldControlStateWrapper-CL8sIEsf-DbQEySfj.js.map} +1 -1
  10. package/app/dist/assets/{FormFieldStateWrapper-D_fQzIsx-D1x9w7qn.js → FormFieldStateWrapper-CANKwnKv-Cag04vt6.js} +2 -2
  11. package/app/dist/assets/{FormFieldStateWrapper-D_fQzIsx-D1x9w7qn.js.map → FormFieldStateWrapper-CANKwnKv-Cag04vt6.js.map} +1 -1
  12. package/app/dist/assets/{Heading-ScHmWAI9-C-RZxNEQ.js → Heading-CNfXfPK2-CdHZX_Ze.js} +2 -2
  13. package/app/dist/assets/{Heading-ScHmWAI9-C-RZxNEQ.js.map → Heading-CNfXfPK2-CdHZX_Ze.js.map} +1 -1
  14. package/app/dist/assets/{Input-BANECVEf-CXdk9Acg.js → Input-DyCv-etW-ZUDo7EwU.js} +2 -2
  15. package/app/dist/assets/{Input-BANECVEf-CXdk9Acg.js.map → Input-DyCv-etW-ZUDo7EwU.js.map} +1 -1
  16. package/app/dist/assets/{InputStateWrapper-csFDH3yt-DaD0x-Gp.js → InputStateWrapper-BJMqyY_8-B1eRhMfD.js} +2 -2
  17. package/app/dist/assets/{InputStateWrapper-csFDH3yt-DaD0x-Gp.js.map → InputStateWrapper-BJMqyY_8-B1eRhMfD.js.map} +1 -1
  18. package/app/dist/assets/{align-BNmcYY75-Bp6m5hzq.js → align-C8fl12z_-Boq_HCFK.js} +2 -2
  19. package/app/dist/assets/{align-BNmcYY75-Bp6m5hzq.js.map → align-C8fl12z_-Boq_HCFK.js.map} +1 -1
  20. package/app/dist/assets/{align-floating-elements-CONjGoNm-CZevvpqU.js → align-floating-elements-CBhVmYjn-B3PgGOWo.js} +2 -2
  21. package/app/dist/assets/{align-floating-elements-CONjGoNm-CZevvpqU.js.map → align-floating-elements-CBhVmYjn-B3PgGOWo.js.map} +1 -1
  22. package/app/dist/assets/{aria-details-o1tujJRX-BQhdYSB1.js → aria-details-hRfn8aN9-DCFwNeAO.js} +2 -2
  23. package/app/dist/assets/{aria-details-o1tujJRX-BQhdYSB1.js.map → aria-details-hRfn8aN9-DCFwNeAO.js.map} +1 -1
  24. package/app/dist/assets/{aria-labelledby-CuNgjL1c-VNvJpwlC.js → aria-labelledby-D6AMAZtK-4-AliaoO.js} +2 -2
  25. package/app/dist/assets/{aria-labelledby-CuNgjL1c-VNvJpwlC.js.map → aria-labelledby-D6AMAZtK-4-AliaoO.js.map} +1 -1
  26. package/app/dist/assets/{associated.controller-DSw2jkQs-q6iqxmNz.js → associated.controller-FCQDejnI-CSMeZzGP.js} +2 -2
  27. package/app/dist/assets/{associated.controller-DSw2jkQs-q6iqxmNz.js.map → associated.controller-FCQDejnI-CSMeZzGP.js.map} +1 -1
  28. package/app/dist/assets/{auto-complete-BBkbC-F2-C3KWwzf9.js → auto-complete-C-QNfuIh-C0GOymRp.js} +2 -2
  29. package/app/dist/assets/{auto-complete-BBkbC-F2-C3KWwzf9.js.map → auto-complete-C-QNfuIh-C0GOymRp.js.map} +1 -1
  30. package/app/dist/assets/{behavior-Ctzwvpyr-kEYYkRKO.js → behavior-Co00uT-D-CmtkW5nv.js} +2 -2
  31. package/app/dist/assets/{behavior-Ctzwvpyr-kEYYkRKO.js.map → behavior-Co00uT-D-CmtkW5nv.js.map} +1 -1
  32. package/app/dist/assets/{color-CrduxZp0-D4f2Nhp6.js → color-DfMsiiGq-CBOSygMe.js} +2 -2
  33. package/app/dist/assets/{color-CrduxZp0-D4f2Nhp6.js.map → color-DfMsiiGq-CBOSygMe.js.map} +1 -1
  34. package/app/dist/assets/component-BDS_iE5Q-D8jrPGBb.js +2 -0
  35. package/app/dist/assets/component-BDS_iE5Q-D8jrPGBb.js.map +1 -0
  36. package/app/dist/assets/{component-BuQ_u4hn-BUHZ4nuo.js → component-BXCnkVUN-UFdRA2ni.js} +2 -2
  37. package/app/dist/assets/{component-BuQ_u4hn-BUHZ4nuo.js.map → component-BXCnkVUN-UFdRA2ni.js.map} +1 -1
  38. package/app/dist/assets/{component-DEJ7VlaD-CU5bWBe8.js → component-BjVFpeYY-Dt0Tx2Ec.js} +2 -2
  39. package/app/dist/assets/{component-DEJ7VlaD-CU5bWBe8.js.map → component-BjVFpeYY-Dt0Tx2Ec.js.map} +1 -1
  40. package/app/dist/assets/{component-Rxhi2vD9-CDdyG5xI.js → component-DepnuZGT-D0xqqfD7.js} +2 -2
  41. package/app/dist/assets/{component-Rxhi2vD9-CDdyG5xI.js.map → component-DepnuZGT-D0xqqfD7.js.map} +1 -1
  42. package/app/dist/assets/{component-DGAuRw_M-CyELUXe4.js → component-K3ngYLGq-DCTAKixG.js} +2 -2
  43. package/app/dist/assets/{component-DGAuRw_M-CyELUXe4.js.map → component-K3ngYLGq-DCTAKixG.js.map} +1 -1
  44. package/app/dist/assets/{component-BmDYhnTg-Dxk_iNCm.js → component-WjvIfI-H-BZ0_t8iE.js} +2 -2
  45. package/app/dist/assets/{component-BmDYhnTg-Dxk_iNCm.js.map → component-WjvIfI-H-BZ0_t8iE.js.map} +1 -1
  46. package/app/dist/assets/contrast-D_JyeI-Q-BlsvyLxF.js +2 -0
  47. package/app/dist/assets/{contrast-BQCqf-V1-D8g0GYGj.js.map → contrast-D_JyeI-Q-BlsvyLxF.js.map} +1 -1
  48. package/app/dist/assets/{controller-DSyLRSTp-D1zdcHQQ.js → controller-BFiUKKYT-C_ymMvy8.js} +2 -2
  49. package/app/dist/assets/{controller-DSyLRSTp-D1zdcHQQ.js.map → controller-BFiUKKYT-C_ymMvy8.js.map} +1 -1
  50. package/app/dist/assets/{controller-K7UxlZul-BW-iSEux.js → controller-CnmYmyZK-CXbd6AMX.js} +2 -2
  51. package/app/dist/assets/{controller-K7UxlZul-BW-iSEux.js.map → controller-CnmYmyZK-CXbd6AMX.js.map} +1 -1
  52. package/app/dist/assets/controller-D__mtOju-DVRQYBqZ.js +2 -0
  53. package/app/dist/assets/{controller-CrEJoj-8-DjDVJMOu.js.map → controller-D__mtOju-DVRQYBqZ.js.map} +1 -1
  54. package/app/dist/assets/{controller-CafGJ4qe-CpmnEVEZ.js → controller-QfZ_zY-h-DXNVuN0W.js} +2 -2
  55. package/app/dist/assets/{controller-CafGJ4qe-CpmnEVEZ.js.map → controller-QfZ_zY-h-DXNVuN0W.js.map} +1 -1
  56. package/app/dist/assets/{controller-icon-BEn5b0cq-C0p53TRb.js → controller-icon-GPaN1UHM-DyfFtrDk.js} +2 -2
  57. package/app/dist/assets/{controller-icon-BEn5b0cq-C0p53TRb.js.map → controller-icon-GPaN1UHM-DyfFtrDk.js.map} +1 -1
  58. package/app/dist/assets/{counter-dom-updater-Cydd4Jex-Dyfbt-0O.js → counter-dom-updater-osLR7-G0-I5LlQiFV.js} +2 -2
  59. package/app/dist/assets/{counter-dom-updater-Cydd4Jex-Dyfbt-0O.js.map → counter-dom-updater-osLR7-G0-I5LlQiFV.js.map} +1 -1
  60. package/app/dist/assets/custom-class-BtoZpwyq-D2O_SiAY.js +2 -0
  61. package/app/dist/assets/custom-class-BtoZpwyq-D2O_SiAY.js.map +1 -0
  62. package/app/dist/assets/{dev.utils-DJKZSrCp-Bby4clil.js → dev.utils-Cib2ENyx-DmCc9lEw.js} +4 -4
  63. package/app/dist/assets/{dev.utils-DJKZSrCp-Bby4clil.js.map → dev.utils-Cib2ENyx-DmCc9lEw.js.map} +1 -1
  64. package/app/dist/assets/devtools-CAWyelfv-Cu1CBKlc.js +14 -0
  65. package/app/dist/assets/{devtools-BzZNn3Mb-_T_Pbsp_.js.map → devtools-CAWyelfv-Cu1CBKlc.js.map} +1 -1
  66. package/app/dist/assets/disabled-CL52u2mm-DxZVPiAD.js +2 -0
  67. package/app/dist/assets/{disabled-DVZ7p0bI-CsgWbSoq.js.map → disabled-CL52u2mm-DxZVPiAD.js.map} +1 -1
  68. package/app/dist/assets/has-closer-DoXfZcmn-k6rfpDpU.js +2 -0
  69. package/app/dist/assets/has-closer-DoXfZcmn-k6rfpDpU.js.map +1 -0
  70. package/app/dist/assets/hide-label-CRGm6KGP-RSSkC1jc.js +2 -0
  71. package/app/dist/assets/hide-label-CRGm6KGP-RSSkC1jc.js.map +1 -0
  72. package/app/dist/assets/href-B7u09W3s-Crs1FQnq.js +2 -0
  73. package/app/dist/assets/href-B7u09W3s-Crs1FQnq.js.map +1 -0
  74. package/app/dist/assets/href-C9xfRiDr-DzlsaFs6.js +2 -0
  75. package/app/dist/assets/href-C9xfRiDr-DzlsaFs6.js.map +1 -0
  76. package/app/dist/assets/i18n-CvFPh0g5-DJnQsXap.js +2 -0
  77. package/app/dist/assets/{i18n-CrXMv0tS-CfUT3wuK.js.map → i18n-CvFPh0g5-DJnQsXap.js.map} +1 -1
  78. package/app/dist/assets/icons-mXXqyviE-B5o2PkhL.js +2 -0
  79. package/app/dist/assets/{icons-DT5u2gpq-J7XNjj8V.js.map → icons-mXXqyviE-B5o2PkhL.js.map} +1 -1
  80. package/app/dist/assets/index-6ZEKlyWb.css +1 -0
  81. package/app/dist/assets/{index-IYp74rJy.js → index-CDDuTDeB.js} +9 -9
  82. package/app/dist/assets/index-CDDuTDeB.js.map +1 -0
  83. package/app/dist/assets/inline-DCDQA_d_-CBqH52h_.js +2 -0
  84. package/app/dist/assets/{inline-CqNhbN6Q-CM6aeWBU.js.map → inline-DCDQA_d_-CBqH52h_.js.map} +1 -1
  85. package/app/dist/assets/{kol-abbr.entry-DMUiRHC0.js → kol-abbr.entry-BdDIUG3P.js} +45 -5
  86. package/app/dist/assets/kol-abbr.entry-BdDIUG3P.js.map +1 -0
  87. package/app/dist/assets/{kol-accordion.entry-BPoKOYqr.js → kol-accordion.entry-CFrCfX0t.js} +47 -7
  88. package/app/dist/assets/kol-accordion.entry-CFrCfX0t.js.map +1 -0
  89. package/app/dist/assets/{kol-alert-wc.entry-RoQSzZjC.js → kol-alert-wc.entry-D1mLBjkS.js} +2 -2
  90. package/app/dist/assets/{kol-alert-wc.entry-RoQSzZjC.js.map → kol-alert-wc.entry-D1mLBjkS.js.map} +1 -1
  91. package/app/dist/assets/{kol-alert.entry-BWXQhFoU.js → kol-alert.entry-BgqpRJSL.js} +45 -5
  92. package/app/dist/assets/kol-alert.entry-BgqpRJSL.js.map +1 -0
  93. package/app/dist/assets/{kol-avatar.entry-No2qDfCr.js → kol-avatar.entry-Ia48x43f.js} +43 -3
  94. package/app/dist/assets/kol-avatar.entry-Ia48x43f.js.map +1 -0
  95. package/app/dist/assets/{kol-badge.entry-CtvhdFPq.js → kol-badge.entry-CY7N3KFf.js} +46 -6
  96. package/app/dist/assets/kol-badge.entry-CY7N3KFf.js.map +1 -0
  97. package/app/dist/assets/{kol-breadcrumb.entry-DYrYc8NK.js → kol-breadcrumb.entry-CJkZduPx.js} +46 -6
  98. package/app/dist/assets/kol-breadcrumb.entry-CJkZduPx.js.map +1 -0
  99. package/app/dist/assets/{kol-button-link.entry-CEebgV7Z.js → kol-button-link.entry-DZmvQn5B.js} +45 -5
  100. package/app/dist/assets/kol-button-link.entry-DZmvQn5B.js.map +1 -0
  101. package/app/dist/assets/{kol-button-wc.entry-BSuzvvmf.js → kol-button-wc.entry-BqDrl_St.js} +2 -2
  102. package/app/dist/assets/{kol-button-wc.entry-BSuzvvmf.js.map → kol-button-wc.entry-BqDrl_St.js.map} +1 -1
  103. package/app/dist/assets/{kol-button.entry-BCgWPPe1.js → kol-button.entry-BAcBT-XG.js} +45 -5
  104. package/app/dist/assets/kol-button.entry-BAcBT-XG.js.map +1 -0
  105. package/app/dist/assets/kol-card-wc.entry-AIW0nILJ.js +2 -0
  106. package/app/dist/assets/{kol-card-wc.entry-DtrIF8J7.js.map → kol-card-wc.entry-AIW0nILJ.js.map} +1 -1
  107. package/app/dist/assets/{kol-card.entry-DTyIkGaC.js → kol-card.entry-DeVbU01R.js} +45 -5
  108. package/app/dist/assets/kol-card.entry-DeVbU01R.js.map +1 -0
  109. package/app/dist/assets/kol-click-button.entry-AuYBmB-H.js +2 -0
  110. package/app/dist/assets/kol-click-button.entry-AuYBmB-H.js.map +1 -0
  111. package/app/dist/assets/{kol-combobox.entry-CVgSqKlA.js → kol-combobox.entry-0xMoGW2Q.js} +47 -7
  112. package/app/dist/assets/kol-combobox.entry-0xMoGW2Q.js.map +1 -0
  113. package/app/dist/assets/{kol-details.entry-DOVRB4gd.js → kol-details.entry-DMaPGmPV.js} +46 -6
  114. package/app/dist/assets/kol-details.entry-DMaPGmPV.js.map +1 -0
  115. package/app/dist/assets/kol-dialog-wc.entry-BdXiL0RO.js +2 -0
  116. package/app/dist/assets/{kol-dialog-wc.entry-5SqfCo71.js.map → kol-dialog-wc.entry-BdXiL0RO.js.map} +1 -1
  117. package/app/dist/assets/{kol-dialog.entry-kvnFqaxG.js → kol-dialog.entry-LBWGyJjJ.js} +45 -5
  118. package/app/dist/assets/kol-dialog.entry-LBWGyJjJ.js.map +1 -0
  119. package/app/dist/assets/{kol-drawer.entry-D4DimTzY.js → kol-drawer.entry-DM8Jm7Ww.js} +46 -6
  120. package/app/dist/assets/kol-drawer.entry-DM8Jm7Ww.js.map +1 -0
  121. package/app/dist/assets/{kol-form.entry-BESYCHKZ.js → kol-form.entry-DcxYfJSt.js} +46 -6
  122. package/app/dist/assets/kol-form.entry-DcxYfJSt.js.map +1 -0
  123. package/app/dist/assets/{kol-heading.entry-Be1Eu-28.js → kol-heading.entry-Ba1E9iZd.js} +43 -3
  124. package/app/dist/assets/kol-heading.entry-Ba1E9iZd.js.map +1 -0
  125. package/app/dist/assets/{kol-icon.entry-BTxmatOV.js → kol-icon.entry-CQc98voB.js} +4 -4
  126. package/app/dist/assets/kol-icon.entry-CQc98voB.js.map +1 -0
  127. package/app/dist/assets/{kol-image.entry-IF4pQwE4.js → kol-image.entry-0nWjZ36E.js} +43 -3
  128. package/app/dist/assets/kol-image.entry-0nWjZ36E.js.map +1 -0
  129. package/app/dist/assets/{kol-input-checkbox.entry-GQP2b-p9.js → kol-input-checkbox.entry-BthL55kU.js} +47 -7
  130. package/app/dist/assets/kol-input-checkbox.entry-BthL55kU.js.map +1 -0
  131. package/app/dist/assets/{kol-input-color.entry-CBZaTWas.js → kol-input-color.entry-DlQLpdSo.js} +47 -18
  132. package/app/dist/assets/kol-input-color.entry-DlQLpdSo.js.map +1 -0
  133. package/app/dist/assets/{kol-input-date.entry-D_Rpm6Mm.js → kol-input-date.entry-BQpGUUfA.js} +47 -7
  134. package/app/dist/assets/kol-input-date.entry-BQpGUUfA.js.map +1 -0
  135. package/app/dist/assets/{kol-input-email.entry-kEKy9CAW.js → kol-input-email.entry-lJB2AsNG.js} +47 -7
  136. package/app/dist/assets/kol-input-email.entry-lJB2AsNG.js.map +1 -0
  137. package/app/dist/assets/{kol-input-file.entry-CWteQMPp.js → kol-input-file.entry-Dmy7PCwE.js} +47 -7
  138. package/app/dist/assets/kol-input-file.entry-Dmy7PCwE.js.map +1 -0
  139. package/app/dist/assets/{kol-input-number.entry-DbgqxIqd.js → kol-input-number.entry-BLqpWKe3.js} +47 -7
  140. package/app/dist/assets/kol-input-number.entry-BLqpWKe3.js.map +1 -0
  141. package/app/dist/assets/{kol-input-password.entry-CX9gP5fU.js → kol-input-password.entry-CXa_LzO6.js} +47 -7
  142. package/app/dist/assets/kol-input-password.entry-CXa_LzO6.js.map +1 -0
  143. package/app/dist/assets/{kol-input-radio.entry-DXLtfUQo.js → kol-input-radio.entry-DlX-jcNY.js} +47 -7
  144. package/app/dist/assets/kol-input-radio.entry-DlX-jcNY.js.map +1 -0
  145. package/app/dist/assets/{kol-input-range.entry-CckU3Ynr.js → kol-input-range.entry-DieLYnRU.js} +47 -7
  146. package/app/dist/assets/kol-input-range.entry-DieLYnRU.js.map +1 -0
  147. package/app/dist/assets/{kol-input-text.entry-B9HCVeIK.js → kol-input-text.entry-C7NEeaUa.js} +47 -7
  148. package/app/dist/assets/kol-input-text.entry-C7NEeaUa.js.map +1 -0
  149. package/app/dist/assets/{kol-kolibri.entry-Dn0eQAtw.js → kol-kolibri.entry-DuRvskHx.js} +44 -4
  150. package/app/dist/assets/kol-kolibri.entry-DuRvskHx.js.map +1 -0
  151. package/app/dist/assets/{kol-link-button.entry-FmE8JJTj.js → kol-link-button.entry-Bex-6eo-.js} +46 -6
  152. package/app/dist/assets/kol-link-button.entry-Bex-6eo-.js.map +1 -0
  153. package/app/dist/assets/kol-link-wc.entry-CDpB_HIc.js +2 -0
  154. package/app/dist/assets/kol-link-wc.entry-CDpB_HIc.js.map +1 -0
  155. package/app/dist/assets/{kol-link.entry-DH8pmql9.js → kol-link.entry-RgWJW6tM.js} +46 -6
  156. package/app/dist/assets/kol-link.entry-RgWJW6tM.js.map +1 -0
  157. package/app/dist/assets/{kol-meter.entry-Cb-v06vz.js → kol-meter.entry-0fuVhNGc.js} +44 -4
  158. package/app/dist/assets/kol-meter.entry-0fuVhNGc.js.map +1 -0
  159. package/app/dist/assets/{kol-modal.entry-5UR14O09.js → kol-modal.entry-DhuLirge.js} +46 -6
  160. package/app/dist/assets/kol-modal.entry-DhuLirge.js.map +1 -0
  161. package/app/dist/assets/{kol-nav.entry-Bg4b97VN.js → kol-nav.entry-CRY9-wgs.js} +46 -6
  162. package/app/dist/assets/kol-nav.entry-CRY9-wgs.js.map +1 -0
  163. package/app/dist/assets/{kol-pagination-wc.entry-CjbVZNP7.js → kol-pagination-wc.entry-DiDIPM3P.js} +2 -2
  164. package/app/dist/assets/{kol-pagination-wc.entry-CjbVZNP7.js.map → kol-pagination-wc.entry-DiDIPM3P.js.map} +1 -1
  165. package/app/dist/assets/{kol-pagination.entry-DRo_Qdmm.js → kol-pagination.entry-CiLrGyHQ.js} +47 -7
  166. package/app/dist/assets/kol-pagination.entry-CiLrGyHQ.js.map +1 -0
  167. package/app/dist/assets/{kol-popover-button-wc.entry-CkVyVA2M.js → kol-popover-button-wc.entry-yGu72tH9.js} +2 -2
  168. package/app/dist/assets/{kol-popover-button-wc.entry-CkVyVA2M.js.map → kol-popover-button-wc.entry-yGu72tH9.js.map} +1 -1
  169. package/app/dist/assets/{kol-popover-button.entry-BWxQLEba.js → kol-popover-button.entry-JltN9vH6.js} +46 -6
  170. package/app/dist/assets/kol-popover-button.entry-JltN9vH6.js.map +1 -0
  171. package/app/dist/assets/{kol-progress.entry-DR5fg9UR.js → kol-progress.entry-DJRDM8cx.js} +44 -4
  172. package/app/dist/assets/kol-progress.entry-DJRDM8cx.js.map +1 -0
  173. package/app/dist/assets/{kol-quote.entry-sOO7zy2a.js → kol-quote.entry-CCsaAd97.js} +44 -4
  174. package/app/dist/assets/kol-quote.entry-CCsaAd97.js.map +1 -0
  175. package/app/dist/assets/{kol-select-wc.entry-4-X_EXaZ.js → kol-select-wc.entry-Dy-SN0oO.js} +2 -2
  176. package/app/dist/assets/{kol-select-wc.entry-4-X_EXaZ.js.map → kol-select-wc.entry-Dy-SN0oO.js.map} +1 -1
  177. package/app/dist/assets/{kol-select.entry-n9JmHXs5.js → kol-select.entry-DNZfn0jD.js} +47 -7
  178. package/app/dist/assets/kol-select.entry-DNZfn0jD.js.map +1 -0
  179. package/app/dist/assets/{kol-single-select.entry-BDfjEWxY.js → kol-single-select.entry-DhyoWV9A.js} +47 -7
  180. package/app/dist/assets/kol-single-select.entry-DhyoWV9A.js.map +1 -0
  181. package/app/dist/assets/{kol-skeleton.entry-k7s5oWvK.js → kol-skeleton.entry-CsKmxFan.js} +2 -2
  182. package/app/dist/assets/{kol-skeleton.entry-k7s5oWvK.js.map → kol-skeleton.entry-CsKmxFan.js.map} +1 -1
  183. package/app/dist/assets/{kol-skip-nav.entry-Cul1I5AW.js → kol-skip-nav.entry-CpP-80kA.js} +46 -6
  184. package/app/dist/assets/kol-skip-nav.entry-CpP-80kA.js.map +1 -0
  185. package/app/dist/assets/{kol-spin.entry-D0qj4ZxI.js → kol-spin.entry-BfjY2VU3.js} +44 -4
  186. package/app/dist/assets/kol-spin.entry-BfjY2VU3.js.map +1 -0
  187. package/app/dist/assets/{kol-split-button.entry-P1gcMlwq.js → kol-split-button.entry-CYHFNWDy.js} +46 -6
  188. package/app/dist/assets/kol-split-button.entry-CYHFNWDy.js.map +1 -0
  189. package/app/dist/assets/kol-table-settings-wc.entry-B2SpNyvR.js +2 -0
  190. package/app/dist/assets/kol-table-settings-wc.entry-B2SpNyvR.js.map +1 -0
  191. package/app/dist/assets/{kol-table-stateful.entry-BMj1lrvg.js → kol-table-stateful.entry-C-PKI-Us.js} +154 -10
  192. package/app/dist/assets/kol-table-stateful.entry-C-PKI-Us.js.map +1 -0
  193. package/app/dist/assets/kol-table-stateless-wc.entry-DKnJz-W4.js +2 -0
  194. package/app/dist/assets/{kol-table-stateless-wc.entry-CoysUaJ5.js.map → kol-table-stateless-wc.entry-DKnJz-W4.js.map} +1 -1
  195. package/app/dist/assets/{kol-table-stateless.entry-BhysmaWS.js → kol-table-stateless.entry-CtulyrOa.js} +153 -9
  196. package/app/dist/assets/kol-table-stateless.entry-CtulyrOa.js.map +1 -0
  197. package/app/dist/assets/{kol-tabs.entry-Dy_-leJb.js → kol-tabs.entry-d9sXZsg_.js} +46 -6
  198. package/app/dist/assets/kol-tabs.entry-d9sXZsg_.js.map +1 -0
  199. package/app/dist/assets/{kol-textarea.entry-CEIvunPA.js → kol-textarea.entry-Cig3v3uZ.js} +47 -7
  200. package/app/dist/assets/kol-textarea.entry-Cig3v3uZ.js.map +1 -0
  201. package/app/dist/assets/{kol-toast-container.entry-CNvDL3J5.js → kol-toast-container.entry-VpTcO3AR.js} +46 -6
  202. package/app/dist/assets/kol-toast-container.entry-VpTcO3AR.js.map +1 -0
  203. package/app/dist/assets/{kol-toolbar.entry-BjbuTcbx.js → kol-toolbar.entry-DgIwwZyI.js} +46 -6
  204. package/app/dist/assets/kol-toolbar.entry-DgIwwZyI.js.map +1 -0
  205. package/app/dist/assets/kol-tooltip-wc.entry-C-cBRwrk.js +2 -0
  206. package/app/dist/assets/kol-tooltip-wc.entry-C-cBRwrk.js.map +1 -0
  207. package/app/dist/assets/kol-tree-item-wc.entry-CFzQEzIL.js +2 -0
  208. package/app/dist/assets/{kol-tree-item-wc.entry-KjaCIVhB.js.map → kol-tree-item-wc.entry-CFzQEzIL.js.map} +1 -1
  209. package/app/dist/assets/{kol-tree-item.entry-B9qVTPnI.js → kol-tree-item.entry-DV7W3uee.js} +46 -6
  210. package/app/dist/assets/kol-tree-item.entry-DV7W3uee.js.map +1 -0
  211. package/app/dist/assets/kol-tree-wc.entry-CrR_G-dd.js +2 -0
  212. package/app/dist/assets/{kol-tree-wc.entry-6ciI2ztZ.js.map → kol-tree-wc.entry-CrR_G-dd.js.map} +1 -1
  213. package/app/dist/assets/{kol-tree.entry-JEdmr_kx.js → kol-tree.entry-BwmFccJQ.js} +44 -4
  214. package/app/dist/assets/kol-tree.entry-BwmFccJQ.js.map +1 -0
  215. package/app/dist/assets/{kol-version.entry-Dh4aVGEO.js → kol-version.entry-CyexGVQE.js} +44 -4
  216. package/app/dist/assets/kol-version.entry-CyexGVQE.js.map +1 -0
  217. package/app/dist/assets/kolicons/kolicons.eot +0 -0
  218. package/app/dist/assets/kolicons/kolicons.ttf +0 -0
  219. package/app/dist/assets/kolicons/kolicons.woff +0 -0
  220. package/app/dist/assets/kolicons/kolicons.woff2 +0 -0
  221. package/app/dist/assets/kolicons/style.css +6 -6
  222. package/app/dist/assets/label-FtX-skKy-wxSyFGcC.js +2 -0
  223. package/app/dist/assets/label-FtX-skKy-wxSyFGcC.js.map +1 -0
  224. package/app/dist/assets/label-w3T7Y2ih-B488ov6P.js +2 -0
  225. package/app/dist/assets/{label-lhyZhbiM-BD2zB72k.js.map → label-w3T7Y2ih-B488ov6P.js.map} +1 -1
  226. package/app/dist/assets/label-with-expert-slot-CU-oeLnm-BkUD-T35.js +2 -0
  227. package/app/dist/assets/label-with-expert-slot-CU-oeLnm-BkUD-T35.js.map +1 -0
  228. package/app/dist/assets/level-Cj2m5HKt-B0rmRHwt.js +2 -0
  229. package/app/dist/assets/{level-B2RyXnam-Cu177YZ9.js.map → level-Cj2m5HKt-B0rmRHwt.js.map} +1 -1
  230. package/app/dist/assets/multiple-BZRAazRb-Dmfeeppw.js +2 -0
  231. package/app/dist/assets/multiple-BZRAazRb-Dmfeeppw.js.map +1 -0
  232. package/app/dist/assets/{normalizers-DWPxOTIP-Dv9EcQIR.js → normalizers-BNeak4hj-BwxUKMpl.js} +2 -2
  233. package/app/dist/assets/{normalizers-DWPxOTIP-Dv9EcQIR.js.map → normalizers-BNeak4hj-BwxUKMpl.js.map} +1 -1
  234. package/app/dist/assets/open-BRQrMgjX-BGJ8dCAS.js +2 -0
  235. package/app/dist/assets/open-BRQrMgjX-BGJ8dCAS.js.map +1 -0
  236. package/app/dist/assets/{orientation-Dw3BhNjY-CvSsC-LC.js → orientation-CfF8dz-f-oJcf7Gyt.js} +2 -2
  237. package/app/dist/assets/{orientation-Dw3BhNjY-CvSsC-LC.js.map → orientation-CfF8dz-f-oJcf7Gyt.js.map} +1 -1
  238. package/app/dist/assets/placeholder-CmUUN-3U-BF65xFHs.js +2 -0
  239. package/app/dist/assets/placeholder-CmUUN-3U-BF65xFHs.js.map +1 -0
  240. package/app/dist/assets/read-only-DyDY-E9H-P3zLMGmY.js +2 -0
  241. package/app/dist/assets/read-only-DyDY-E9H-P3zLMGmY.js.map +1 -0
  242. package/app/dist/assets/required-CGf-IRxL-BRW8_G0b.js +2 -0
  243. package/app/dist/assets/required-CGf-IRxL-BRW8_G0b.js.map +1 -0
  244. package/app/dist/assets/rows-DlWRIMNQ-yfMfFIa4.js +2 -0
  245. package/app/dist/assets/rows-DlWRIMNQ-yfMfFIa4.js.map +1 -0
  246. package/app/dist/assets/spell-check-6kYqpIpx-BSf3yHGh.js +2 -0
  247. package/app/dist/assets/spell-check-6kYqpIpx-BSf3yHGh.js.map +1 -0
  248. package/app/dist/assets/src-BnjoA2Q6-DzK0ac5p.js +2 -0
  249. package/app/dist/assets/src-BnjoA2Q6-DzK0ac5p.js.map +1 -0
  250. package/app/dist/assets/{suggestions-ofHp_5qm-BNiBxiVI.js → suggestions-CKylTAKv-y2wRBnNi.js} +2 -2
  251. package/app/dist/assets/{suggestions-ofHp_5qm-BNiBxiVI.js.map → suggestions-CKylTAKv-y2wRBnNi.js.map} +1 -1
  252. package/app/dist/assets/table-selection-CB6W390S-Bjnbv2m1.js +2 -0
  253. package/app/dist/assets/{table-selection-CHYGiAxJ-B2F3Rerg.js.map → table-selection-CB6W390S-Bjnbv2m1.js.map} +1 -1
  254. package/app/dist/assets/test-component.entry-Bo6x2Kf2.js +2 -0
  255. package/app/dist/assets/{test-component.entry-DbiAdL4b.js.map → test-component.entry-Bo6x2Kf2.js.map} +1 -1
  256. package/app/dist/assets/tooltip-align-BQmLWbBy-C7zHPfgd.js +2 -0
  257. package/app/dist/assets/tooltip-align-BQmLWbBy-C7zHPfgd.js.map +1 -0
  258. package/app/dist/assets/{unique-nav-labels-B0tCIm30-Cpn8IIr0.js → unique-nav-labels-B6_Oto5e-Ccx32WLA.js} +2 -2
  259. package/app/dist/assets/{unique-nav-labels-B0tCIm30-Cpn8IIr0.js.map → unique-nav-labels-B6_Oto5e-Ccx32WLA.js.map} +1 -1
  260. package/app/dist/assets/validation-BZPzOg5I-Az5ivlwq.js +2 -0
  261. package/app/dist/assets/validation-BZPzOg5I-Az5ivlwq.js.map +1 -0
  262. package/app/dist/assets/validation-Cnndf99L-U-UWHZv-.js +2 -0
  263. package/app/dist/assets/validation-Cnndf99L-U-UWHZv-.js.map +1 -0
  264. package/app/dist/assets/value-number-clamped-Fuextuj1-BLy0eSFZ.js +2 -0
  265. package/app/dist/assets/{value-number-clamped-D39JJzpQ-CptIMdGW.js.map → value-number-clamped-Fuextuj1-BLy0eSFZ.js.map} +1 -1
  266. package/app/dist/assets/{variant-class-name-B0Wpr2i8-BmIxXLkj.js → variant-class-name-9qZ5egaq-CxTj-bFt.js} +2 -2
  267. package/app/dist/assets/{variant-class-name-B0Wpr2i8-BmIxXLkj.js.map → variant-class-name-9qZ5egaq-CxTj-bFt.js.map} +1 -1
  268. package/app/dist/assets/{variant-quote-CRKM9QG2-CSbZOLh_.js → variant-quote-ClYWonZq-CfOvS_BT.js} +2 -2
  269. package/app/dist/assets/{variant-quote-CRKM9QG2-CSbZOLh_.js.map → variant-quote-ClYWonZq-CfOvS_BT.js.map} +1 -1
  270. package/app/dist/index.html +2 -2
  271. package/app/public/assets/kolicons/kolicons.eot +0 -0
  272. package/app/public/assets/kolicons/kolicons.ttf +0 -0
  273. package/app/public/assets/kolicons/kolicons.woff +0 -0
  274. package/app/public/assets/kolicons/kolicons.woff2 +0 -0
  275. package/app/public/assets/kolicons/style.css +6 -6
  276. package/package.json +11 -7
  277. package/playwright.config.js +23 -3
  278. package/src/visual-reporter.js +368 -0
  279. package/tests/theme-snapshots.spec.js +25 -6
  280. package/app/dist/assets/component-B7G-dIP7-DbhhWpJ8.js +0 -2
  281. package/app/dist/assets/component-B7G-dIP7-DbhhWpJ8.js.map +0 -1
  282. package/app/dist/assets/contrast-BQCqf-V1-D8g0GYGj.js +0 -2
  283. package/app/dist/assets/controller-CrEJoj-8-DjDVJMOu.js +0 -2
  284. package/app/dist/assets/custom-class-DpFc73O_-BSbJ1NDE.js +0 -2
  285. package/app/dist/assets/custom-class-DpFc73O_-BSbJ1NDE.js.map +0 -1
  286. package/app/dist/assets/devtools-BzZNn3Mb-_T_Pbsp_.js +0 -14
  287. package/app/dist/assets/disabled-DVZ7p0bI-CsgWbSoq.js +0 -2
  288. package/app/dist/assets/has-closer-DyXBWIQh-DgtRuPuG.js +0 -2
  289. package/app/dist/assets/has-closer-DyXBWIQh-DgtRuPuG.js.map +0 -1
  290. package/app/dist/assets/hide-label-LlZnbrzc-D-Ah1x-j.js +0 -2
  291. package/app/dist/assets/hide-label-LlZnbrzc-D-Ah1x-j.js.map +0 -1
  292. package/app/dist/assets/href-BKrnu0s2-BERPxQLA.js +0 -2
  293. package/app/dist/assets/href-BKrnu0s2-BERPxQLA.js.map +0 -1
  294. package/app/dist/assets/href-CBdHcGY_-Djp2OKXJ.js +0 -2
  295. package/app/dist/assets/href-CBdHcGY_-Djp2OKXJ.js.map +0 -1
  296. package/app/dist/assets/i18n-CrXMv0tS-CfUT3wuK.js +0 -2
  297. package/app/dist/assets/icons-DT5u2gpq-J7XNjj8V.js +0 -2
  298. package/app/dist/assets/index-DLX1rUfi.css +0 -1
  299. package/app/dist/assets/index-IYp74rJy.js.map +0 -1
  300. package/app/dist/assets/inline-CqNhbN6Q-CM6aeWBU.js +0 -2
  301. package/app/dist/assets/kol-abbr.entry-DMUiRHC0.js.map +0 -1
  302. package/app/dist/assets/kol-accordion.entry-BPoKOYqr.js.map +0 -1
  303. package/app/dist/assets/kol-alert.entry-BWXQhFoU.js.map +0 -1
  304. package/app/dist/assets/kol-avatar.entry-No2qDfCr.js.map +0 -1
  305. package/app/dist/assets/kol-badge.entry-CtvhdFPq.js.map +0 -1
  306. package/app/dist/assets/kol-breadcrumb.entry-DYrYc8NK.js.map +0 -1
  307. package/app/dist/assets/kol-button-link.entry-CEebgV7Z.js.map +0 -1
  308. package/app/dist/assets/kol-button.entry-BCgWPPe1.js.map +0 -1
  309. package/app/dist/assets/kol-card-wc.entry-DtrIF8J7.js +0 -2
  310. package/app/dist/assets/kol-card.entry-DTyIkGaC.js.map +0 -1
  311. package/app/dist/assets/kol-click-button.entry-CYHKu-uR.js +0 -2
  312. package/app/dist/assets/kol-click-button.entry-CYHKu-uR.js.map +0 -1
  313. package/app/dist/assets/kol-combobox.entry-CVgSqKlA.js.map +0 -1
  314. package/app/dist/assets/kol-details.entry-DOVRB4gd.js.map +0 -1
  315. package/app/dist/assets/kol-dialog-wc.entry-5SqfCo71.js +0 -2
  316. package/app/dist/assets/kol-dialog.entry-kvnFqaxG.js.map +0 -1
  317. package/app/dist/assets/kol-drawer.entry-D4DimTzY.js.map +0 -1
  318. package/app/dist/assets/kol-form.entry-BESYCHKZ.js.map +0 -1
  319. package/app/dist/assets/kol-heading.entry-Be1Eu-28.js.map +0 -1
  320. package/app/dist/assets/kol-icon.entry-BTxmatOV.js.map +0 -1
  321. package/app/dist/assets/kol-image.entry-IF4pQwE4.js.map +0 -1
  322. package/app/dist/assets/kol-input-checkbox.entry-GQP2b-p9.js.map +0 -1
  323. package/app/dist/assets/kol-input-color.entry-CBZaTWas.js.map +0 -1
  324. package/app/dist/assets/kol-input-date.entry-D_Rpm6Mm.js.map +0 -1
  325. package/app/dist/assets/kol-input-email.entry-kEKy9CAW.js.map +0 -1
  326. package/app/dist/assets/kol-input-file.entry-CWteQMPp.js.map +0 -1
  327. package/app/dist/assets/kol-input-number.entry-DbgqxIqd.js.map +0 -1
  328. package/app/dist/assets/kol-input-password.entry-CX9gP5fU.js.map +0 -1
  329. package/app/dist/assets/kol-input-radio.entry-DXLtfUQo.js.map +0 -1
  330. package/app/dist/assets/kol-input-range.entry-CckU3Ynr.js.map +0 -1
  331. package/app/dist/assets/kol-input-text.entry-B9HCVeIK.js.map +0 -1
  332. package/app/dist/assets/kol-kolibri.entry-Dn0eQAtw.js.map +0 -1
  333. package/app/dist/assets/kol-link-button.entry-FmE8JJTj.js.map +0 -1
  334. package/app/dist/assets/kol-link-wc.entry-DA9mXAxv.js +0 -2
  335. package/app/dist/assets/kol-link-wc.entry-DA9mXAxv.js.map +0 -1
  336. package/app/dist/assets/kol-link.entry-DH8pmql9.js.map +0 -1
  337. package/app/dist/assets/kol-meter.entry-Cb-v06vz.js.map +0 -1
  338. package/app/dist/assets/kol-modal.entry-5UR14O09.js.map +0 -1
  339. package/app/dist/assets/kol-nav.entry-Bg4b97VN.js.map +0 -1
  340. package/app/dist/assets/kol-pagination.entry-DRo_Qdmm.js.map +0 -1
  341. package/app/dist/assets/kol-popover-button.entry-BWxQLEba.js.map +0 -1
  342. package/app/dist/assets/kol-progress.entry-DR5fg9UR.js.map +0 -1
  343. package/app/dist/assets/kol-quote.entry-sOO7zy2a.js.map +0 -1
  344. package/app/dist/assets/kol-select.entry-n9JmHXs5.js.map +0 -1
  345. package/app/dist/assets/kol-single-select.entry-BDfjEWxY.js.map +0 -1
  346. package/app/dist/assets/kol-skip-nav.entry-Cul1I5AW.js.map +0 -1
  347. package/app/dist/assets/kol-spin.entry-D0qj4ZxI.js.map +0 -1
  348. package/app/dist/assets/kol-split-button.entry-P1gcMlwq.js.map +0 -1
  349. package/app/dist/assets/kol-table-settings-wc.entry-j6HRfxhZ.js +0 -2
  350. package/app/dist/assets/kol-table-settings-wc.entry-j6HRfxhZ.js.map +0 -1
  351. package/app/dist/assets/kol-table-stateful.entry-BMj1lrvg.js.map +0 -1
  352. package/app/dist/assets/kol-table-stateless-wc.entry-CoysUaJ5.js +0 -2
  353. package/app/dist/assets/kol-table-stateless.entry-BhysmaWS.js.map +0 -1
  354. package/app/dist/assets/kol-tabs.entry-Dy_-leJb.js.map +0 -1
  355. package/app/dist/assets/kol-textarea.entry-CEIvunPA.js.map +0 -1
  356. package/app/dist/assets/kol-toast-container.entry-CNvDL3J5.js.map +0 -1
  357. package/app/dist/assets/kol-toolbar.entry-BjbuTcbx.js.map +0 -1
  358. package/app/dist/assets/kol-tooltip-wc.entry-C8kabDaX.js +0 -2
  359. package/app/dist/assets/kol-tooltip-wc.entry-C8kabDaX.js.map +0 -1
  360. package/app/dist/assets/kol-tree-item-wc.entry-KjaCIVhB.js +0 -2
  361. package/app/dist/assets/kol-tree-item.entry-B9qVTPnI.js.map +0 -1
  362. package/app/dist/assets/kol-tree-wc.entry-6ciI2ztZ.js +0 -2
  363. package/app/dist/assets/kol-tree.entry-JEdmr_kx.js.map +0 -1
  364. package/app/dist/assets/kol-version.entry-Dh4aVGEO.js.map +0 -1
  365. package/app/dist/assets/label-BE6oW-7F-D-RSMJBE.js +0 -2
  366. package/app/dist/assets/label-BE6oW-7F-D-RSMJBE.js.map +0 -1
  367. package/app/dist/assets/label-lhyZhbiM-BD2zB72k.js +0 -2
  368. package/app/dist/assets/label-with-expert-slot-3VWute5S-b0h5NAy0.js +0 -2
  369. package/app/dist/assets/label-with-expert-slot-3VWute5S-b0h5NAy0.js.map +0 -1
  370. package/app/dist/assets/level-B2RyXnam-Cu177YZ9.js +0 -2
  371. package/app/dist/assets/multiple-RvvepSN9-BQv3FLfk.js +0 -2
  372. package/app/dist/assets/multiple-RvvepSN9-BQv3FLfk.js.map +0 -1
  373. package/app/dist/assets/open-CA1J3ZTK-Do74RXDx.js +0 -2
  374. package/app/dist/assets/open-CA1J3ZTK-Do74RXDx.js.map +0 -1
  375. package/app/dist/assets/placeholder-JIf_Jr3v-BmTLO7qG.js +0 -2
  376. package/app/dist/assets/placeholder-JIf_Jr3v-BmTLO7qG.js.map +0 -1
  377. package/app/dist/assets/read-only-CxpGC8Fy-CZzRPmql.js +0 -2
  378. package/app/dist/assets/read-only-CxpGC8Fy-CZzRPmql.js.map +0 -1
  379. package/app/dist/assets/required-DGhzuKQB-BrYy9QWR.js +0 -2
  380. package/app/dist/assets/required-DGhzuKQB-BrYy9QWR.js.map +0 -1
  381. package/app/dist/assets/rows-BRaIYumW-BZ9xqgcN.js +0 -2
  382. package/app/dist/assets/rows-BRaIYumW-BZ9xqgcN.js.map +0 -1
  383. package/app/dist/assets/spell-check-BYuCSD3X-BXPiOeE-.js +0 -2
  384. package/app/dist/assets/spell-check-BYuCSD3X-BXPiOeE-.js.map +0 -1
  385. package/app/dist/assets/src-DugryP6L-C9uCv24b.js +0 -2
  386. package/app/dist/assets/src-DugryP6L-C9uCv24b.js.map +0 -1
  387. package/app/dist/assets/table-selection-CHYGiAxJ-B2F3Rerg.js +0 -2
  388. package/app/dist/assets/test-component.entry-DbiAdL4b.js +0 -2
  389. package/app/dist/assets/tooltip-align-DWAWPZn0-BZ1k7hOH.js +0 -2
  390. package/app/dist/assets/tooltip-align-DWAWPZn0-BZ1k7hOH.js.map +0 -1
  391. package/app/dist/assets/validation-BFb56Yd7-CmZLbYpo.js +0 -2
  392. package/app/dist/assets/validation-BFb56Yd7-CmZLbYpo.js.map +0 -1
  393. package/app/dist/assets/validation-BT4VYADp-BYQTjqTu.js +0 -2
  394. package/app/dist/assets/validation-BT4VYADp-BYQTjqTu.js.map +0 -1
  395. package/app/dist/assets/value-number-clamped-D39JJzpQ-CptIMdGW.js +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"associated.controller-DSw2jkQs-q6iqxmNz.js","names":[],"sources":["../../../../../components/dist/esm/associated.controller-DSw2jkQs.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { g as watchString, O as watchNumber, k as a11yHint, M as getExperimentalMode, j as devHint, F as devWarning } from './common-noYAs-wc.js';\nimport { v as validateAriaDetails } from './aria-details-o1tujJRX.js';\nimport { a as attachInternals } from './aria-labelledby-6-ki3akM.js';\nimport { g as getOptions } from './bootstrap-dbQte9BJ.js';\n\nconst validateAccessKey = (component, value) => {\n watchString(component, '_accessKey', value);\n};\n\nconst validateName = (component, value, options) => {\n watchString(component, '_name', value, options);\n};\n\nconst validateShortKey = (component, value) => {\n watchString(component, '_shortKey', value);\n};\n\nconst options = {\n hooks: {\n afterPatch: (value) => {\n if (value !== -1 && value !== 0) {\n a11yHint(`Don't Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html`);\n }\n },\n },\n};\nconst validateTabIndex = (component, value) => {\n watchNumber(component, '_tabIndex', value, options);\n};\n\nconst isAssociatedTagName = (name) => name === 'KOL-BUTTON' ||\n name === 'KOL-COMBOBOX' ||\n name === 'KOL-INPUT-CHECKBOX' ||\n name === 'KOL-INPUT-COLOR' ||\n name === 'KOL-INPUT-DATE' ||\n name === 'KOL-INPUT-EMAIL' ||\n name === 'KOL-INPUT-FILE' ||\n name === 'KOL-INPUT-NUMBER' ||\n name === 'KOL-INPUT-PASSWORD' ||\n name === 'KOL-INPUT-RADIO' ||\n name === 'KOL-INPUT-RANGE' ||\n name === 'KOL-INPUT-TEXT' ||\n name === 'KOL-SELECT' ||\n name === 'KOL-SINGLE-SELECT' ||\n name === 'KOL-TEXTAREA';\nclass AssociatedInputController {\n constructor(component, type, host) {\n var _a, _b, _c, _d;\n this.experimentalMode = getExperimentalMode();\n this.setFormAssociatedValue = (rawValue) => {\n var _a;\n const name = (_a = this.formAssociated) === null || _a === void 0 ? void 0 : _a.getAttribute('name');\n if (name === null || name === '') {\n devHint(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);\n }\n const strValue = this.tryToStringifyValue(rawValue);\n this.syncValue(rawValue, strValue, this.formAssociated);\n this.syncValue(rawValue, strValue, this.syncToOwnInput);\n };\n this.component = component;\n this.host = this.findHostWithShadowRoot(host);\n this.type = type;\n this.internals = attachInternals(this.host);\n if (((_a = getOptions()) === null || _a === void 0 ? void 0 : _a.reflectInputValues) && isAssociatedTagName((_b = this.host) === null || _b === void 0 ? void 0 : _b.tagName) && component._name) {\n (_c = this.host) === null || _c === void 0 ? void 0 : _c.querySelectorAll('input,select,textarea').forEach((el) => {\n var _a;\n (_a = this.host) === null || _a === void 0 ? void 0 : _a.removeChild(el);\n });\n switch (this.type) {\n case 'button':\n case 'color':\n case 'date':\n case 'email':\n case 'file':\n case 'number':\n case 'password':\n case 'radio':\n case 'range':\n case 'text':\n this.formAssociated = document.createElement('input');\n this.formAssociated.setAttribute('type', this.type);\n break;\n case 'select':\n this.formAssociated = document.createElement('select');\n this.formAssociated.setAttribute('multiple', '');\n break;\n case 'textarea':\n this.formAssociated = document.createElement('textarea');\n break;\n case 'checkbox':\n case 'single-select':\n case 'combobox':\n default:\n this.formAssociated = document.createElement('input');\n this.formAssociated.setAttribute('type', 'hidden');\n }\n this.formAssociated.setAttribute('data-form-associated', '');\n this.formAssociated.setAttribute('hidden', '');\n (_d = this.host) === null || _d === void 0 ? void 0 : _d.appendChild(this.formAssociated);\n }\n }\n findHostWithShadowRoot(host) {\n while ((host === null || host === void 0 ? void 0 : host.shadowRoot) === null && host !== document.body) {\n const parent = host === null || host === void 0 ? void 0 : host.parentNode;\n if (parent instanceof ShadowRoot) {\n host = parent.host;\n }\n else {\n host = parent instanceof Element ? parent : undefined;\n }\n }\n return host;\n }\n setAttribute(qualifiedName, element, value) {\n if (this.experimentalMode) {\n try {\n value = typeof value === 'object' && value !== null ? JSON.stringify(value) : value;\n if (typeof value === 'boolean' || typeof value === 'number' || typeof value === 'string') {\n element === null || element === void 0 ? void 0 : element.setAttribute(qualifiedName, `${value}`);\n }\n else {\n throw new Error(`Invalid value type: ${typeof value}`);\n }\n }\n catch (_a) {\n element === null || element === void 0 ? void 0 : element.removeAttribute(qualifiedName);\n }\n }\n }\n tryToStringifyValue(value) {\n try {\n return typeof value === 'object' && value !== null ? JSON.stringify(value).toString() : value === null || value === undefined ? null : value.toString();\n }\n catch (e) {\n devWarning(`The form field raw value is not able to stringify! ${e}`);\n return '';\n }\n }\n syncValue(rawValue, strValue, associatedElement) {\n if (associatedElement) {\n switch (this.type) {\n case 'file':\n associatedElement.files = rawValue;\n break;\n case 'select':\n associatedElement.querySelectorAll('option').forEach((el) => {\n associatedElement.removeChild(el);\n });\n if (Array.isArray(rawValue)) {\n rawValue.forEach((rawValueItem) => {\n const strValueItem = this.tryToStringifyValue(rawValueItem);\n if (typeof strValueItem === 'string') {\n const option = document.createElement('option');\n option.setAttribute('value', strValueItem);\n option.setAttribute('selected', '');\n associatedElement.appendChild(option);\n }\n });\n }\n break;\n case 'radio':\n if (typeof strValue === 'string') {\n associatedElement.setAttribute('value', strValue);\n associatedElement.setAttribute('checked', '');\n associatedElement.value = strValue;\n }\n break;\n default:\n if (typeof strValue === 'string') {\n associatedElement.setAttribute('value', strValue);\n associatedElement.value = strValue;\n }\n else {\n associatedElement.removeAttribute('value');\n associatedElement.value = '';\n }\n }\n }\n }\n validateName(value) {\n validateName(this.component, value, {\n hooks: {\n afterPatch: () => {\n this.setAttribute('name', this.formAssociated, this.component.state._name);\n },\n },\n });\n if (typeof value === 'undefined') {\n devHint(`A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.`);\n }\n }\n validateSyncValueBySelector(value) {\n if (this.experimentalMode && typeof value === 'string') {\n const input = document.querySelector(value);\n if (input) {\n this.syncToOwnInput = input;\n }\n }\n }\n validateAriaDetails(value) {\n validateAriaDetails(this.component, this.host, this.internals, value);\n }\n componentWillLoad() {\n this.validateName(this.component._name);\n this.validateSyncValueBySelector(this.component._syncValueBySelector);\n }\n}\n\nexport { AssociatedInputController as A, validateShortKey as a, validateTabIndex as b, validateAccessKey as v };\n//# sourceMappingURL=associated.controller-DSw2jkQs.js.map\n\n//# sourceMappingURL=associated.controller-DSw2jkQs.js.map"],"mappings":"uMAQA,IAAM,GAAqB,EAAW,IAAU,CAC5C,EAAY,EAAW,aAAc,CAAK,CAC9C,EAEM,GAAgB,EAAW,EAAO,IAAY,CAChD,EAAY,EAAW,QAAS,EAAO,CAAO,CAClD,EAEM,GAAoB,EAAW,IAAU,CAC3C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":"associated.controller-FCQDejnI-CSMeZzGP.js","names":[],"sources":["../../../../../components/dist/esm/associated.controller-FCQDejnI.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { g as watchString, O as watchNumber, k as a11yHint, N as getExperimentalMode, j as devHint, G as devWarning } from './common-D-vggmh2.js';\nimport { v as validateAriaDetails } from './aria-details-hRfn8aN9.js';\nimport { a as attachInternals } from './aria-labelledby-6-ki3akM.js';\nimport { g as getOptions } from './bootstrap-Bfno1qh2.js';\n\nconst validateAccessKey = (component, value) => {\n watchString(component, '_accessKey', value);\n};\n\nconst validateName = (component, value, options) => {\n watchString(component, '_name', value, options);\n};\n\nconst validateShortKey = (component, value) => {\n watchString(component, '_shortKey', value);\n};\n\nconst options = {\n hooks: {\n afterPatch: (value) => {\n if (value !== -1 && value !== 0) {\n a11yHint(`Don't Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html`);\n }\n },\n },\n};\nconst validateTabIndex = (component, value) => {\n watchNumber(component, '_tabIndex', value, options);\n};\n\nconst isAssociatedTagName = (name) => name === 'KOL-BUTTON' ||\n name === 'KOL-COMBOBOX' ||\n name === 'KOL-INPUT-CHECKBOX' ||\n name === 'KOL-INPUT-COLOR' ||\n name === 'KOL-INPUT-DATE' ||\n name === 'KOL-INPUT-EMAIL' ||\n name === 'KOL-INPUT-FILE' ||\n name === 'KOL-INPUT-NUMBER' ||\n name === 'KOL-INPUT-PASSWORD' ||\n name === 'KOL-INPUT-RADIO' ||\n name === 'KOL-INPUT-RANGE' ||\n name === 'KOL-INPUT-TEXT' ||\n name === 'KOL-SELECT' ||\n name === 'KOL-SINGLE-SELECT' ||\n name === 'KOL-TEXTAREA';\nclass AssociatedInputController {\n constructor(component, type, host) {\n var _a, _b, _c, _d;\n this.experimentalMode = getExperimentalMode();\n this.setFormAssociatedValue = (rawValue) => {\n var _a;\n const name = (_a = this.formAssociated) === null || _a === void 0 ? void 0 : _a.getAttribute('name');\n if (name === null || name === '') {\n devHint(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);\n }\n const strValue = this.tryToStringifyValue(rawValue);\n this.syncValue(rawValue, strValue, this.formAssociated);\n this.syncValue(rawValue, strValue, this.syncToOwnInput);\n };\n this.component = component;\n this.host = this.findHostWithShadowRoot(host);\n this.type = type;\n this.internals = attachInternals(this.host);\n if (((_a = getOptions()) === null || _a === void 0 ? void 0 : _a.reflectInputValues) && isAssociatedTagName((_b = this.host) === null || _b === void 0 ? void 0 : _b.tagName) && component._name) {\n (_c = this.host) === null || _c === void 0 ? void 0 : _c.querySelectorAll('input,select,textarea').forEach((el) => {\n var _a;\n (_a = this.host) === null || _a === void 0 ? void 0 : _a.removeChild(el);\n });\n switch (this.type) {\n case 'button':\n case 'color':\n case 'date':\n case 'email':\n case 'file':\n case 'number':\n case 'password':\n case 'radio':\n case 'range':\n case 'text':\n this.formAssociated = document.createElement('input');\n this.formAssociated.setAttribute('type', this.type);\n break;\n case 'select':\n this.formAssociated = document.createElement('select');\n this.formAssociated.setAttribute('multiple', '');\n break;\n case 'textarea':\n this.formAssociated = document.createElement('textarea');\n break;\n case 'checkbox':\n case 'single-select':\n case 'combobox':\n default:\n this.formAssociated = document.createElement('input');\n this.formAssociated.setAttribute('type', 'hidden');\n }\n this.formAssociated.setAttribute('data-form-associated', '');\n this.formAssociated.setAttribute('hidden', '');\n (_d = this.host) === null || _d === void 0 ? void 0 : _d.appendChild(this.formAssociated);\n }\n }\n findHostWithShadowRoot(host) {\n while ((host === null || host === void 0 ? void 0 : host.shadowRoot) === null && host !== document.body) {\n const parent = host === null || host === void 0 ? void 0 : host.parentNode;\n if (parent instanceof ShadowRoot) {\n host = parent.host;\n }\n else {\n host = parent instanceof Element ? parent : undefined;\n }\n }\n return host;\n }\n setAttribute(qualifiedName, element, value) {\n if (this.experimentalMode) {\n try {\n value = typeof value === 'object' && value !== null ? JSON.stringify(value) : value;\n if (typeof value === 'boolean' || typeof value === 'number' || typeof value === 'string') {\n element === null || element === void 0 ? void 0 : element.setAttribute(qualifiedName, `${value}`);\n }\n else {\n throw new Error(`Invalid value type: ${typeof value}`);\n }\n }\n catch (_a) {\n element === null || element === void 0 ? void 0 : element.removeAttribute(qualifiedName);\n }\n }\n }\n tryToStringifyValue(value) {\n try {\n return typeof value === 'object' && value !== null ? JSON.stringify(value).toString() : value === null || value === undefined ? null : value.toString();\n }\n catch (e) {\n devWarning(`The form field raw value is not able to stringify! ${e}`);\n return '';\n }\n }\n syncValue(rawValue, strValue, associatedElement) {\n if (associatedElement) {\n switch (this.type) {\n case 'file':\n associatedElement.files = rawValue;\n break;\n case 'select':\n associatedElement.querySelectorAll('option').forEach((el) => {\n associatedElement.removeChild(el);\n });\n if (Array.isArray(rawValue)) {\n rawValue.forEach((rawValueItem) => {\n const strValueItem = this.tryToStringifyValue(rawValueItem);\n if (typeof strValueItem === 'string') {\n const option = document.createElement('option');\n option.setAttribute('value', strValueItem);\n option.setAttribute('selected', '');\n associatedElement.appendChild(option);\n }\n });\n }\n break;\n case 'radio':\n if (typeof strValue === 'string') {\n associatedElement.setAttribute('value', strValue);\n associatedElement.setAttribute('checked', '');\n associatedElement.value = strValue;\n }\n break;\n default:\n if (typeof strValue === 'string') {\n associatedElement.setAttribute('value', strValue);\n associatedElement.value = strValue;\n }\n else {\n associatedElement.removeAttribute('value');\n associatedElement.value = '';\n }\n }\n }\n }\n validateName(value) {\n validateName(this.component, value, {\n hooks: {\n afterPatch: () => {\n this.setAttribute('name', this.formAssociated, this.component.state._name);\n },\n },\n });\n if (typeof value === 'undefined') {\n devHint(`A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.`);\n }\n }\n validateSyncValueBySelector(value) {\n if (this.experimentalMode && typeof value === 'string') {\n const input = document.querySelector(value);\n if (input) {\n this.syncToOwnInput = input;\n }\n }\n }\n validateAriaDetails(value) {\n validateAriaDetails(this.component, this.host, this.internals, value);\n }\n componentWillLoad() {\n this.validateName(this.component._name);\n this.validateSyncValueBySelector(this.component._syncValueBySelector);\n }\n}\n\nexport { AssociatedInputController as A, validateShortKey as a, validateTabIndex as b, validateAccessKey as v };\n//# sourceMappingURL=associated.controller-FCQDejnI.js.map\n\n//# sourceMappingURL=associated.controller-FCQDejnI.js.map"],"mappings":"uMAQA,IAAM,GAAqB,EAAW,IAAU,CAC5C,EAAY,EAAW,aAAc,CAAK,CAC9C,EAEM,GAAgB,EAAW,EAAO,IAAY,CAChD,EAAY,EAAW,QAAS,EAAO,CAAO,CAClD,EAEM,GAAoB,EAAW,IAAU,CAC3C,EAAY,EAAW,YAAa,CAAK,CAC7C,EAEM,EAAU,CACZ,MAAO,CACH,WAAa,GAAU,CACf,IAAU,IAAM,IAAU,GAC1B,EAAS,4GAA4G,CAE7H,CACJ,CACJ,EACM,GAAoB,EAAW,IAAU,CAC3C,EAAY,EAAW,YAAa,EAAO,CAAO,CACtD,EAEM,EAAuB,GAAS,IAAS,cAC3C,IAAS,gBACT,IAAS,sBACT,IAAS,mBACT,IAAS,kBACT,IAAS,mBACT,IAAS,kBACT,IAAS,oBACT,IAAS,sBACT,IAAS,mBACT,IAAS,mBACT,IAAS,kBACT,IAAS,cACT,IAAS,qBACT,IAAS,eACP,EAAN,KAAgC,CAC5B,YAAY,EAAW,EAAM,EAAM,CAC/B,IAAY,EAAI,EAgBhB,GAfA,KAAK,iBAAmB,EAAoB,EAC5C,KAAK,uBAA0B,GAAa,CAExC,IAAM,EAAa,KAAK,gBAAwD,aAAa,MAAM,GAC/F,IAAS,MAAQ,IAAS,KAC1B,EAAQ,oBAAoB,KAAK,KAAK,uFAAuF,EAEjI,IAAM,EAAW,KAAK,oBAAoB,CAAQ,EAClD,KAAK,UAAU,EAAU,EAAU,KAAK,cAAc,EACtD,KAAK,UAAU,EAAU,EAAU,KAAK,cAAc,CAC1D,EACA,KAAK,UAAY,EACjB,KAAK,KAAO,KAAK,uBAAuB,CAAI,EAC5C,KAAK,KAAO,EACZ,KAAK,UAAY,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EAAQ,uKAAuK,CAEvL,CACA,4BAA4B,EAAO,CAC/B,GAAI,KAAK,kBAAoB,OAAO,GAAU,SAAU,CACpD,IAAM,EAAQ,SAAS,cAAc,CAAK,EACtC,IACA,KAAK,eAAiB,EAE9B,CACJ,CACA,oBAAoB,EAAO,CACvB,EAAoB,KAAK,UAAW,KAAK,KAAM,KAAK,UAAW,CAAK,CACxE,CACA,mBAAoB,CAChB,KAAK,aAAa,KAAK,UAAU,KAAK,EACtC,KAAK,4BAA4B,KAAK,UAAU,oBAAoB,CACxE,CACJ"}
@@ -1,2 +1,2 @@
1
- import{kt as e}from"./index-IYp74rJy.js";var t=[`on`,`off`],n=(n,r)=>{e(n,`_autoComplete`,e=>t.includes(e)||typeof e==`string`&&e.length>0,new Set(t),r,{defaultValue:`off`})};export{n as t};
2
- //# sourceMappingURL=auto-complete-BBkbC-F2-C3KWwzf9.js.map
1
+ import{Ot as e}from"./index-CDDuTDeB.js";var t=[`on`,`off`],n=(n,r)=>{e(n,`_autoComplete`,e=>t.includes(e)||typeof e==`string`&&e.length>0,new Set(t),r,{defaultValue:`off`})};export{n as t};
2
+ //# sourceMappingURL=auto-complete-C-QNfuIh-C0GOymRp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"auto-complete-BBkbC-F2-C3KWwzf9.js","names":[],"sources":["../../../../../components/dist/esm/auto-complete-BBkbC-F2.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { b as watchValidator } from './common-noYAs-wc.js';\n\nconst autoCompleteOptions = ['on', 'off'];\nconst validateAutoComplete = (component, value) => {\n watchValidator(component, '_autoComplete', (value) => autoCompleteOptions.includes(value) || (typeof value === 'string' && value.length > 0), new Set(autoCompleteOptions), value, {\n defaultValue: 'off',\n });\n};\n\nexport { validateAutoComplete as v };\n//# sourceMappingURL=auto-complete-BBkbC-F2.js.map\n\n//# sourceMappingURL=auto-complete-BBkbC-F2.js.map"],"mappings":"yCAKA,IAAM,EAAsB,CAAC,KAAM,KAAK,EAClC,GAAwB,EAAW,IAAU,CAC/C,EAAe,EAAW,gBAAkB,GAAU,EAAoB,SAAS,CAAK,GAAM,OAAO,GAAU,UAAY,EAAM,OAAS,EAAI,IAAI,IAAI,CAAmB,EAAG,EAAO,CAC/K,aAAc,KAClB,CAAC,CACL"}
1
+ {"version":3,"file":"auto-complete-C-QNfuIh-C0GOymRp.js","names":[],"sources":["../../../../../components/dist/esm/auto-complete-C-QNfuIh.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { b as watchValidator } from './common-D-vggmh2.js';\n\nconst autoCompleteOptions = ['on', 'off'];\nconst validateAutoComplete = (component, value) => {\n watchValidator(component, '_autoComplete', (value) => autoCompleteOptions.includes(value) || (typeof value === 'string' && value.length > 0), new Set(autoCompleteOptions), value, {\n defaultValue: 'off',\n });\n};\n\nexport { validateAutoComplete as v };\n//# sourceMappingURL=auto-complete-C-QNfuIh.js.map\n\n//# sourceMappingURL=auto-complete-C-QNfuIh.js.map"],"mappings":"yCAKA,IAAM,EAAsB,CAAC,KAAM,KAAK,EAClC,GAAwB,EAAW,IAAU,CAC/C,EAAe,EAAW,gBAAkB,GAAU,EAAoB,SAAS,CAAK,GAAM,OAAO,GAAU,UAAY,EAAM,OAAS,EAAI,IAAI,IAAI,CAAmB,EAAG,EAAO,CAC/K,aAAc,KAClB,CAAC,CACL"}
@@ -1,2 +1,2 @@
1
- import{n as e,r as t}from"./tooltip-open-tracking-D3tCiiGP-CEtn2Gu2.js";import{Z as n}from"./index-IYp74rJy.js";import{n as r}from"./base-web-component-D909Fl-Y-DjL1hhrh.js";import{n as i,s as a}from"./normalizers-DWPxOTIP-Dv9EcQIR.js";import{t as o}from"./label-BE6oW-7F-D-RSMJBE.js";import"./variant-quote-CRKM9QG2-CSbZOLh_.js";import{t as s}from"./align-BNmcYY75-Bp6m5hzq.js";import{n as c,t as l}from"./align-floating-elements-CONjGoNm-CZevvpqU.js";var u=i(`align`,`top`,e=>{let t=a(e);if(s.includes(t))return t;throw Error(`Invalid align value: ${t}`)},e=>s.includes(e)),d=i(`badgeText`,``,a),f=i(`id`,``,a),p=new Set,m=null;function h(e){m!==e&&(m&&m.style.setProperty(`z-index`,`999`),p.delete(e),p.add(e),e.style.setProperty(`z-index`,`1000`),m=e)}function g(e){if(p.delete(e)&&m===e){m=null;for(let e of p)m=e;m&&m.style.setProperty(`z-index`,`1000`)}}var _=class{constructor(e,t){this.setState=e.setState,this.getState=e.getState,this.renderProps=r(t)}setRenderProp(e,t){this.renderProps[e]=t}getRenderProp(e){return this.renderProps[e]}},v={required:[o],optional:[u,d,f]},y=class extends _{constructor(e){super(e,v),this.hasFocusIn=!1,this.hasMouseIn=!1,this.isHiddenForCurrentVisit=!1,this.setTooltipElementRef=e=>{this.tooltipElement=e,this.tooltipElement&&this.addListeners(this.tooltipElement)},this.hideTooltipByEscape=e=>{e.key===`Escape`&&(e.stopPropagation(),e.preventDefault(),this.hideTooltip())},this.handleMouseEnter=()=>{let e=this.isNewVisit();this.hasMouseIn=!0,e&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleMouseLeave=()=>{this.hasMouseIn=!1,this.resetHideFlag(),this.showOrHideTooltip()},this.handleFocusIn=()=>{let e=this.isNewVisit();this.hasFocusIn=!0,e&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleFocusOut=()=>{this.hasFocusIn=!1,this.resetHideFlag(),this.showOrHideTooltip()}}componentWillLoad(e){this.watchLabel(e.label),this.watchAlign(e.align),this.watchBadgeText(e.badgeText),this.watchId(e.id)}watchLabel(e){o.apply(e,e=>{this.setRenderProp(`label`,e)})}watchAlign(e){u.apply(e,e=>{this.setRenderProp(`align`,e)})}watchBadgeText(e){d.apply(e,e=>{this.setRenderProp(`badgeText`,e)})}watchId(e){f.apply(e,e=>{this.setRenderProp(`id`,e)})}initContext(e){this.previousSibling=e}syncListeners(e,t,n=!1){e&&this.removeListeners(e),t&&(n&&(this.previousSibling=t),this.addListeners(t))}handleEventListeners(e){let t=e.previousElementSibling;this.syncListeners(this.previousSibling,t,!0)}hideTooltip(){this.isHiddenForCurrentVisit=!0,this.tooltipElement&&(g(this.tooltipElement),e(),this.tooltipElement.classList.remove(`show`),this.tooltipElement.classList.add(`hide`),this.tooltipElement.addEventListener(`animationend`,()=>{this.tooltipElement?.classList.contains(`hide`)&&this.tooltipElement.style.removeProperty(`display`)},{once:!0}),this.cleanupAutoPositioning&&=(this.cleanupAutoPositioning(),void 0)),n().removeEventListener(`keyup`,this.hideTooltipByEscape)}destroy(){clearTimeout(this.overFocusTimeout),this.previousSibling&&=(this.removeListeners(this.previousSibling),void 0),this.tooltipElement&&this.removeListeners(this.tooltipElement),this.cleanupAutoPositioning&&=(this.cleanupAutoPositioning(),void 0),n().removeEventListener(`keyup`,this.hideTooltipByEscape)}isNewVisit(){return!this.hasMouseIn&&!this.hasFocusIn}resetHideFlag(){this.isNewVisit()&&(this.isHiddenForCurrentVisit=!1)}async alignTooltip(){this.tooltipElement&&this.previousSibling&&await l({align:this.getRenderProp(`align`),arrowElement:this.tooltipElement.querySelector(`.kol-tooltip__arrow`),floatingElement:this.tooltipElement,referenceElement:this.previousSibling})}showTooltip(){if(!this.isHiddenForCurrentVisit&&this.previousSibling&&this.tooltipElement){h(this.tooltipElement),t(),this.tooltipElement.classList.remove(`hide`),this.tooltipElement.classList.add(`show`),this.tooltipElement.style.setProperty(`display`,`block`),n().addEventListener(`keydown`,this.hideTooltipByEscape,{once:!0});let e=this.previousSibling,r=this.tooltipElement;this.cleanupAutoPositioning=c(e,r,()=>{this.alignTooltip()})}}showOrHideTooltip(){clearTimeout(this.overFocusTimeout),this.overFocusTimeout=setTimeout(()=>{this.hasMouseIn||this.hasFocusIn?this.showTooltip():this.hideTooltip()},300)}addListeners(e){e.addEventListener(`mouseover`,this.handleMouseEnter),e.addEventListener(`mouseout`,this.handleMouseLeave),e.addEventListener(`focusin`,this.handleFocusIn),e.addEventListener(`focusout`,this.handleFocusOut)}removeListeners(e){e.removeEventListener(`mouseover`,this.handleMouseEnter),e.removeEventListener(`mouseout`,this.handleMouseLeave),e.removeEventListener(`focusin`,this.handleFocusIn),e.removeEventListener(`focusout`,this.handleFocusOut)}};export{y as t};
2
- //# sourceMappingURL=behavior-Ctzwvpyr-kEYYkRKO.js.map
1
+ import{n as e,r as t}from"./tooltip-open-tracking-D3tCiiGP-CEtn2Gu2.js";import{X as n}from"./index-CDDuTDeB.js";import{n as r}from"./base-web-component-D909Fl-Y-DjL1hhrh.js";import{n as i,s as a}from"./normalizers-BNeak4hj-BwxUKMpl.js";import{t as o}from"./label-FtX-skKy-wxSyFGcC.js";import"./variant-quote-ClYWonZq-CfOvS_BT.js";import{t as s}from"./align-C8fl12z_-Boq_HCFK.js";import{n as c,t as l}from"./align-floating-elements-CBhVmYjn-B3PgGOWo.js";var u=i(`align`,`top`,e=>{let t=a(e);if(s.includes(t))return t;throw Error(`Invalid align value: ${t}`)},e=>s.includes(e)),d=i(`badgeText`,``,a),f=i(`id`,``,a),p=new Set,m=null;function h(e){m!==e&&(m&&m.style.setProperty(`z-index`,`999`),p.delete(e),p.add(e),e.style.setProperty(`z-index`,`1000`),m=e)}function g(e){if(p.delete(e)&&m===e){m=null;for(let e of p)m=e;m&&m.style.setProperty(`z-index`,`1000`)}}var _=class{constructor(e,t){this.setState=e.setState,this.getState=e.getState,this.renderProps=r(t)}setRenderProp(e,t){this.renderProps[e]=t}getRenderProp(e){return this.renderProps[e]}},v={required:[o],optional:[u,d,f]},y=class extends _{constructor(e){super(e,v),this.hasFocusIn=!1,this.hasMouseIn=!1,this.isHiddenForCurrentVisit=!1,this.setTooltipElementRef=e=>{this.tooltipElement=e,this.tooltipElement&&this.addListeners(this.tooltipElement)},this.hideTooltipByEscape=e=>{e.key===`Escape`&&(e.stopPropagation(),e.preventDefault(),this.hideTooltip())},this.handleMouseEnter=()=>{let e=this.isNewVisit();this.hasMouseIn=!0,e&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleMouseLeave=()=>{this.hasMouseIn=!1,this.resetHideFlag(),this.showOrHideTooltip()},this.handleFocusIn=()=>{let e=this.isNewVisit();this.hasFocusIn=!0,e&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleFocusOut=()=>{this.hasFocusIn=!1,this.resetHideFlag(),this.showOrHideTooltip()}}componentWillLoad(e){this.watchLabel(e.label),this.watchAlign(e.align),this.watchBadgeText(e.badgeText),this.watchId(e.id)}watchLabel(e){o.apply(e,e=>{this.setRenderProp(`label`,e)})}watchAlign(e){u.apply(e,e=>{this.setRenderProp(`align`,e)})}watchBadgeText(e){d.apply(e,e=>{this.setRenderProp(`badgeText`,e)})}watchId(e){f.apply(e,e=>{this.setRenderProp(`id`,e)})}initContext(e){this.previousSibling=e}syncListeners(e,t,n=!1){e&&this.removeListeners(e),t&&(n&&(this.previousSibling=t),this.addListeners(t))}handleEventListeners(e){let t=e.previousElementSibling;this.syncListeners(this.previousSibling,t,!0)}hideTooltip(){this.isHiddenForCurrentVisit=!0,this.tooltipElement&&(g(this.tooltipElement),e(),this.tooltipElement.classList.remove(`show`),this.tooltipElement.classList.add(`hide`),this.tooltipElement.addEventListener(`animationend`,()=>{this.tooltipElement?.classList.contains(`hide`)&&this.tooltipElement.style.removeProperty(`display`)},{once:!0}),this.cleanupAutoPositioning&&=(this.cleanupAutoPositioning(),void 0)),n().removeEventListener(`keyup`,this.hideTooltipByEscape)}destroy(){clearTimeout(this.overFocusTimeout),this.previousSibling&&=(this.removeListeners(this.previousSibling),void 0),this.tooltipElement&&this.removeListeners(this.tooltipElement),this.cleanupAutoPositioning&&=(this.cleanupAutoPositioning(),void 0),n().removeEventListener(`keyup`,this.hideTooltipByEscape)}isNewVisit(){return!this.hasMouseIn&&!this.hasFocusIn}resetHideFlag(){this.isNewVisit()&&(this.isHiddenForCurrentVisit=!1)}async alignTooltip(){this.tooltipElement&&this.previousSibling&&await l({align:this.getRenderProp(`align`),arrowElement:this.tooltipElement.querySelector(`.kol-tooltip__arrow`),floatingElement:this.tooltipElement,referenceElement:this.previousSibling})}showTooltip(){if(!this.isHiddenForCurrentVisit&&this.previousSibling&&this.tooltipElement){h(this.tooltipElement),t(),this.tooltipElement.classList.remove(`hide`),this.tooltipElement.classList.add(`show`),this.tooltipElement.style.setProperty(`display`,`block`),n().addEventListener(`keydown`,this.hideTooltipByEscape,{once:!0});let e=this.previousSibling,r=this.tooltipElement;this.cleanupAutoPositioning=c(e,r,()=>{this.alignTooltip()})}}showOrHideTooltip(){clearTimeout(this.overFocusTimeout),this.overFocusTimeout=setTimeout(()=>{this.hasMouseIn||this.hasFocusIn?this.showTooltip():this.hideTooltip()},300)}addListeners(e){e.addEventListener(`mouseover`,this.handleMouseEnter),e.addEventListener(`mouseout`,this.handleMouseLeave),e.addEventListener(`focusin`,this.handleFocusIn),e.addEventListener(`focusout`,this.handleFocusOut)}removeListeners(e){e.removeEventListener(`mouseover`,this.handleMouseEnter),e.removeEventListener(`mouseout`,this.handleMouseLeave),e.removeEventListener(`focusin`,this.handleFocusIn),e.removeEventListener(`focusout`,this.handleFocusOut)}};export{y as t};
2
+ //# sourceMappingURL=behavior-Co00uT-D-CmtkW5nv.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"behavior-Ctzwvpyr-kEYYkRKO.js","names":[],"sources":["../../../../../components/dist/esm/behavior-Ctzwvpyr.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { a as alignFloatingElements, b as autoUpdate } from './align-floating-elements-CONjGoNm.js';\nimport { z as getDocument } from './common-noYAs-wc.js';\nimport { t as tooltipClosed, a as tooltipOpened } from './tooltip-open-tracking-D3tCiiGP.js';\nimport { c as createPropDefinition, n as normalizeString } from './normalizers-DWPxOTIP.js';\nimport { a as alignPropTypeOptions } from './align-BNmcYY75.js';\nimport { l as labelProp } from './label-BE6oW-7F.js';\nimport './variant-quote-CRKM9QG2.js';\nimport { b as buildDefaultPropsFromConfig } from './base-web-component-D909Fl-Y.js';\n\nconst alignProp = createPropDefinition('align', 'top', (value) => {\n const str = normalizeString(value);\n if (alignPropTypeOptions.includes(str)) {\n return str;\n }\n throw new Error(`Invalid align value: ${str}`);\n}, (v) => alignPropTypeOptions.includes(v));\n\nconst badgeTextProp = createPropDefinition('badgeText', '', normalizeString);\n\nconst idProp = createPropDefinition('id', '', normalizeString);\n\nconst VISIBLE_OVERLAYS = new Set();\nlet lastOverlay = null;\nfunction showOverlay(overlay) {\n if (lastOverlay !== overlay) {\n if (lastOverlay) {\n lastOverlay.style.setProperty('z-index', '999');\n }\n VISIBLE_OVERLAYS.delete(overlay);\n VISIBLE_OVERLAYS.add(overlay);\n overlay.style.setProperty('z-index', '1000');\n lastOverlay = overlay;\n }\n}\nfunction hideOverlay(overlay) {\n if (!VISIBLE_OVERLAYS.delete(overlay)) {\n return;\n }\n if (lastOverlay === overlay) {\n lastOverlay = null;\n for (const el of VISIBLE_OVERLAYS) {\n lastOverlay = el;\n }\n if (lastOverlay) {\n lastOverlay.style.setProperty('z-index', '1000');\n }\n }\n}\n\nclass BaseBehavior {\n constructor(stateAccess, propsConfig) {\n this.setState = stateAccess.setState;\n this.getState = stateAccess.getState;\n this.renderProps = buildDefaultPropsFromConfig(propsConfig);\n }\n setRenderProp(key, value) {\n this.renderProps[key] = value;\n }\n getRenderProp(key) {\n return this.renderProps[key];\n }\n}\n\nconst tooltipPropsConfig = {\n required: [labelProp],\n optional: [alignProp, badgeTextProp, idProp],\n};\n\nclass TooltipBehavior extends BaseBehavior {\n constructor(stateAccess) {\n super(stateAccess, tooltipPropsConfig);\n this.hasFocusIn = false;\n this.hasMouseIn = false;\n this.isHiddenForCurrentVisit = false;\n this.setTooltipElementRef = (el) => {\n this.tooltipElement = el;\n if (this.tooltipElement) {\n this.addListeners(this.tooltipElement);\n }\n };\n this.hideTooltipByEscape = (event) => {\n if (event.key === 'Escape') {\n event.stopPropagation();\n event.preventDefault();\n this.hideTooltip();\n }\n };\n this.handleMouseEnter = () => {\n const isNewVisit = this.isNewVisit();\n this.hasMouseIn = true;\n if (isNewVisit) {\n this.isHiddenForCurrentVisit = false;\n }\n this.showOrHideTooltip();\n };\n this.handleMouseLeave = () => {\n this.hasMouseIn = false;\n this.resetHideFlag();\n this.showOrHideTooltip();\n };\n this.handleFocusIn = () => {\n const isNewVisit = this.isNewVisit();\n this.hasFocusIn = true;\n if (isNewVisit) {\n this.isHiddenForCurrentVisit = false;\n }\n this.showOrHideTooltip();\n };\n this.handleFocusOut = () => {\n this.hasFocusIn = false;\n this.resetHideFlag();\n this.showOrHideTooltip();\n };\n }\n componentWillLoad(props) {\n this.watchLabel(props.label);\n this.watchAlign(props.align);\n this.watchBadgeText(props.badgeText);\n this.watchId(props.id);\n }\n watchLabel(value) {\n labelProp.apply(value, (v) => {\n this.setRenderProp('label', v);\n });\n }\n watchAlign(value) {\n alignProp.apply(value, (v) => {\n this.setRenderProp('align', v);\n });\n }\n watchBadgeText(value) {\n badgeTextProp.apply(value, (v) => {\n this.setRenderProp('badgeText', v);\n });\n }\n watchId(value) {\n idProp.apply(value, (v) => {\n this.setRenderProp('id', v);\n });\n }\n initContext(previousSibling) {\n this.previousSibling = previousSibling;\n }\n syncListeners(last, next, replacePreviousSibling = false) {\n if (last) {\n this.removeListeners(last);\n }\n if (next) {\n if (replacePreviousSibling) {\n this.previousSibling = next;\n }\n this.addListeners(next);\n }\n }\n handleEventListeners(host) {\n const nextSibling = host.previousElementSibling;\n this.syncListeners(this.previousSibling, nextSibling, true);\n }\n hideTooltip() {\n this.isHiddenForCurrentVisit = true;\n if (this.tooltipElement) {\n hideOverlay(this.tooltipElement);\n tooltipClosed();\n this.tooltipElement.classList.remove('show');\n this.tooltipElement.classList.add('hide');\n this.tooltipElement.addEventListener('animationend', () => {\n var _a;\n if ((_a = this.tooltipElement) === null || _a === void 0 ? void 0 : _a.classList.contains('hide')) {\n this.tooltipElement.style.removeProperty('display');\n }\n }, { once: true });\n if (this.cleanupAutoPositioning) {\n this.cleanupAutoPositioning();\n this.cleanupAutoPositioning = undefined;\n }\n }\n getDocument().removeEventListener('keyup', this.hideTooltipByEscape);\n }\n destroy() {\n clearTimeout(this.overFocusTimeout);\n if (this.previousSibling) {\n this.removeListeners(this.previousSibling);\n this.previousSibling = undefined;\n }\n if (this.tooltipElement) {\n this.removeListeners(this.tooltipElement);\n }\n if (this.cleanupAutoPositioning) {\n this.cleanupAutoPositioning();\n this.cleanupAutoPositioning = undefined;\n }\n getDocument().removeEventListener('keyup', this.hideTooltipByEscape);\n }\n isNewVisit() {\n return !this.hasMouseIn && !this.hasFocusIn;\n }\n resetHideFlag() {\n if (this.isNewVisit()) {\n this.isHiddenForCurrentVisit = false;\n }\n }\n async alignTooltip() {\n if (this.tooltipElement && this.previousSibling) {\n await alignFloatingElements({\n align: this.getRenderProp('align'),\n arrowElement: this.tooltipElement.querySelector('.kol-tooltip__arrow'),\n floatingElement: this.tooltipElement,\n referenceElement: this.previousSibling,\n });\n }\n }\n showTooltip() {\n if (this.isHiddenForCurrentVisit) {\n return;\n }\n if (this.previousSibling && this.tooltipElement) {\n showOverlay(this.tooltipElement);\n tooltipOpened();\n this.tooltipElement.classList.remove('hide');\n this.tooltipElement.classList.add('show');\n this.tooltipElement.style.setProperty('display', 'block');\n getDocument().addEventListener('keydown', this.hideTooltipByEscape, { once: true });\n const target = this.previousSibling;\n const tooltipEl = this.tooltipElement;\n this.cleanupAutoPositioning = autoUpdate(target, tooltipEl, () => {\n void this.alignTooltip();\n });\n }\n }\n showOrHideTooltip() {\n clearTimeout(this.overFocusTimeout);\n this.overFocusTimeout = setTimeout(() => {\n if (this.hasMouseIn || this.hasFocusIn) {\n this.showTooltip();\n }\n else {\n this.hideTooltip();\n }\n }, 300);\n }\n addListeners(el) {\n el.addEventListener('mouseover', this.handleMouseEnter);\n el.addEventListener('mouseout', this.handleMouseLeave);\n el.addEventListener('focusin', this.handleFocusIn);\n el.addEventListener('focusout', this.handleFocusOut);\n }\n removeListeners(el) {\n el.removeEventListener('mouseover', this.handleMouseEnter);\n el.removeEventListener('mouseout', this.handleMouseLeave);\n el.removeEventListener('focusin', this.handleFocusIn);\n el.removeEventListener('focusout', this.handleFocusOut);\n }\n}\n\nexport { TooltipBehavior as T };\n//# sourceMappingURL=behavior-Ctzwvpyr.js.map\n\n//# sourceMappingURL=behavior-Ctzwvpyr.js.map"],"mappings":"qcAYA,IAAM,EAAY,EAAqB,QAAS,MAAQ,GAAU,CAC9D,IAAM,EAAM,EAAgB,CAAK,EACjC,GAAI,EAAqB,SAAS,CAAG,EACjC,OAAO,EAEX,MAAU,MAAM,wBAAwB,GAAK,CACjD,EAAI,GAAM,EAAqB,SAAS,CAAC,CAAC,EAEpC,EAAgB,EAAqB,YAAa,GAAI,CAAe,EAErE,EAAS,EAAqB,KAAM,GAAI,CAAe,EAEvD,EAAmB,IAAI,IACzB,EAAc,KAClB,SAAS,EAAY,EAAS,CACtB,IAAgB,IACZ,GACA,EAAY,MAAM,YAAY,UAAW,KAAK,EAElD,EAAiB,OAAO,CAAO,EAC/B,EAAiB,IAAI,CAAO,EAC5B,EAAQ,MAAM,YAAY,UAAW,MAAM,EAC3C,EAAc,EAEtB,CACA,SAAS,EAAY,EAAS,CACrB,KAAiB,OAAO,CAAO,GAGhC,IAAgB,EAAS,CACzB,EAAc,KACd,IAAK,IAAM,KAAM,EACb,EAAc,EAEd,GACA,EAAY,MAAM,YAAY,UAAW,MAAM,CAEvD,CACJ,CAEA,IAAM,EAAN,KAAmB,CACf,YAAY,EAAa,EAAa,CAClC,KAAK,SAAW,EAAY,SAC5B,KAAK,SAAW,EAAY,SAC5B,KAAK,YAAc,EAA4B,CAAW,CAC9D,CACA,cAAc,EAAK,EAAO,CACtB,KAAK,YAAY,GAAO,CAC5B,CACA,cAAc,EAAK,CACf,OAAO,KAAK,YAAY,EAC5B,CACJ,EAEM,EAAqB,CACvB,SAAU,CAAC,CAAS,EACpB,SAAU,CAAC,EAAW,EAAe,CAAM,CAC/C,EAEM,EAAN,c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AAK,eACtB,iBAAkB,KAAK,eAC3B,CAAC,CAET,CACA,aAAc,CACN,SAAK,yBAGL,KAAK,iBAAmB,KAAK,eAAgB,CAC7C,EAAY,KAAK,cAAc,EAC/B,EAAc,EACd,KAAK,eAAe,UAAU,OAAO,MAAM,EAC3C,KAAK,eAAe,UAAU,IAAI,MAAM,EACxC,KAAK,eAAe,MAAM,YAAY,UAAW,OAAO,EACxD,EAAY,CAAC,CAAC,iBAAiB,UAAW,KAAK,oBAAqB,CAAE,KAAM,EAAK,CAAC,EAClF,IAAM,EAAS,KAAK,gBACd,EAAY,KAAK,eACvB,KAAK,uBAAyB,EAAW,EAAQ,MAAiB,CAC9D,KAAU,aAAa,CAC3B,CAAC,CACL,CACJ,CACA,mBAAoB,CAChB,aAAa,KAAK,gBAAgB,EAClC,KAAK,iBAAmB,eAAiB,CACjC,KAAK,YAAc,KAAK,WACxB,KAAK,YAAY,EAGjB,KAAK,YAAY,CAEzB,EAAG,GAAG,CACV,CACA,aAAa,EAAI,CACb,EAAG,iBAAiB,YAAa,KAAK,gBAAgB,EACtD,EAAG,iBAAiB,WAAY,KAAK,gBAAgB,EACrD,EAAG,iBAAiB,UAAW,KAAK,aAAa,EACjD,EAAG,iBAAiB,WAAY,KAAK,cAAc,CACvD,CACA,gBAAgB,EAAI,CAChB,EAAG,oBAAoB,YAAa,KAAK,gBAAgB,EACzD,EAAG,oBAAoB,WAAY,KAAK,gBAAgB,EACxD,EAAG,oBAAoB,UAAW,KAAK,aAAa,EACpD,EAAG,oBAAoB,WAAY,KAAK,cAAc,CAC1D,CACJ"}
1
+ {"version":3,"file":"behavior-Co00uT-D-CmtkW5nv.js","names":[],"sources":["../../../../../components/dist/esm/behavior-Co00uT-D.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { a as alignFloatingElements, b as autoUpdate } from './align-floating-elements-CBhVmYjn.js';\nimport { A as getDocument } from './common-D-vggmh2.js';\nimport { t as tooltipClosed, a as tooltipOpened } from './tooltip-open-tracking-D3tCiiGP.js';\nimport { c as createPropDefinition, n as normalizeString } from './normalizers-BNeak4hj.js';\nimport { a as alignPropTypeOptions } from './align-C8fl12z_.js';\nimport { l as labelProp } from './label-FtX-skKy.js';\nimport './variant-quote-ClYWonZq.js';\nimport { b as buildDefaultPropsFromConfig } from './base-web-component-D909Fl-Y.js';\n\nconst alignProp = createPropDefinition('align', 'top', (value) => {\n const str = normalizeString(value);\n if (alignPropTypeOptions.includes(str)) {\n return str;\n }\n throw new Error(`Invalid align value: ${str}`);\n}, (v) => alignPropTypeOptions.includes(v));\n\nconst badgeTextProp = createPropDefinition('badgeText', '', normalizeString);\n\nconst idProp = createPropDefinition('id', '', normalizeString);\n\nconst VISIBLE_OVERLAYS = new Set();\nlet lastOverlay = null;\nfunction showOverlay(overlay) {\n if (lastOverlay !== overlay) {\n if (lastOverlay) {\n lastOverlay.style.setProperty('z-index', '999');\n }\n VISIBLE_OVERLAYS.delete(overlay);\n VISIBLE_OVERLAYS.add(overlay);\n overlay.style.setProperty('z-index', '1000');\n lastOverlay = overlay;\n }\n}\nfunction hideOverlay(overlay) {\n if (!VISIBLE_OVERLAYS.delete(overlay)) {\n return;\n }\n if (lastOverlay === overlay) {\n lastOverlay = null;\n for (const el of VISIBLE_OVERLAYS) {\n lastOverlay = el;\n }\n if (lastOverlay) {\n lastOverlay.style.setProperty('z-index', '1000');\n }\n }\n}\n\nclass BaseBehavior {\n constructor(stateAccess, propsConfig) {\n this.setState = stateAccess.setState;\n this.getState = stateAccess.getState;\n this.renderProps = buildDefaultPropsFromConfig(propsConfig);\n }\n setRenderProp(key, value) {\n this.renderProps[key] = value;\n }\n getRenderProp(key) {\n return this.renderProps[key];\n }\n}\n\nconst tooltipPropsConfig = {\n required: [labelProp],\n optional: [alignProp, badgeTextProp, idProp],\n};\n\nclass TooltipBehavior extends BaseBehavior {\n constructor(stateAccess) {\n super(stateAccess, tooltipPropsConfig);\n this.hasFocusIn = false;\n this.hasMouseIn = false;\n this.isHiddenForCurrentVisit = false;\n this.setTooltipElementRef = (el) => {\n this.tooltipElement = el;\n if (this.tooltipElement) {\n this.addListeners(this.tooltipElement);\n }\n };\n this.hideTooltipByEscape = (event) => {\n if (event.key === 'Escape') {\n event.stopPropagation();\n event.preventDefault();\n this.hideTooltip();\n }\n };\n this.handleMouseEnter = () => {\n const isNewVisit = this.isNewVisit();\n this.hasMouseIn = true;\n if (isNewVisit) {\n this.isHiddenForCurrentVisit = false;\n }\n this.showOrHideTooltip();\n };\n this.handleMouseLeave = () => {\n this.hasMouseIn = false;\n this.resetHideFlag();\n this.showOrHideTooltip();\n };\n this.handleFocusIn = () => {\n const isNewVisit = this.isNewVisit();\n this.hasFocusIn = true;\n if (isNewVisit) {\n this.isHiddenForCurrentVisit = false;\n }\n this.showOrHideTooltip();\n };\n this.handleFocusOut = () => {\n this.hasFocusIn = false;\n this.resetHideFlag();\n this.showOrHideTooltip();\n };\n }\n componentWillLoad(props) {\n this.watchLabel(props.label);\n this.watchAlign(props.align);\n this.watchBadgeText(props.badgeText);\n this.watchId(props.id);\n }\n watchLabel(value) {\n labelProp.apply(value, (v) => {\n this.setRenderProp('label', v);\n });\n }\n watchAlign(value) {\n alignProp.apply(value, (v) => {\n this.setRenderProp('align', v);\n });\n }\n watchBadgeText(value) {\n badgeTextProp.apply(value, (v) => {\n this.setRenderProp('badgeText', v);\n });\n }\n watchId(value) {\n idProp.apply(value, (v) => {\n this.setRenderProp('id', v);\n });\n }\n initContext(previousSibling) {\n this.previousSibling = previousSibling;\n }\n syncListeners(last, next, replacePreviousSibling = false) {\n if (last) {\n this.removeListeners(last);\n }\n if (next) {\n if (replacePreviousSibling) {\n this.previousSibling = next;\n }\n this.addListeners(next);\n }\n }\n handleEventListeners(host) {\n const nextSibling = host.previousElementSibling;\n this.syncListeners(this.previousSibling, nextSibling, true);\n }\n hideTooltip() {\n this.isHiddenForCurrentVisit = true;\n if (this.tooltipElement) {\n hideOverlay(this.tooltipElement);\n tooltipClosed();\n this.tooltipElement.classList.remove('show');\n this.tooltipElement.classList.add('hide');\n this.tooltipElement.addEventListener('animationend', () => {\n var _a;\n if ((_a = this.tooltipElement) === null || _a === void 0 ? void 0 : _a.classList.contains('hide')) {\n this.tooltipElement.style.removeProperty('display');\n }\n }, { once: true });\n if (this.cleanupAutoPositioning) {\n this.cleanupAutoPositioning();\n this.cleanupAutoPositioning = undefined;\n }\n }\n getDocument().removeEventListener('keyup', this.hideTooltipByEscape);\n }\n destroy() {\n clearTimeout(this.overFocusTimeout);\n if (this.previousSibling) {\n this.removeListeners(this.previousSibling);\n this.previousSibling = undefined;\n }\n if (this.tooltipElement) {\n this.removeListeners(this.tooltipElement);\n }\n if (this.cleanupAutoPositioning) {\n this.cleanupAutoPositioning();\n this.cleanupAutoPositioning = undefined;\n }\n getDocument().removeEventListener('keyup', this.hideTooltipByEscape);\n }\n isNewVisit() {\n return !this.hasMouseIn && !this.hasFocusIn;\n }\n resetHideFlag() {\n if (this.isNewVisit()) {\n this.isHiddenForCurrentVisit = false;\n }\n }\n async alignTooltip() {\n if (this.tooltipElement && this.previousSibling) {\n await alignFloatingElements({\n align: this.getRenderProp('align'),\n arrowElement: this.tooltipElement.querySelector('.kol-tooltip__arrow'),\n floatingElement: this.tooltipElement,\n referenceElement: this.previousSibling,\n });\n }\n }\n showTooltip() {\n if (this.isHiddenForCurrentVisit) {\n return;\n }\n if (this.previousSibling && this.tooltipElement) {\n showOverlay(this.tooltipElement);\n tooltipOpened();\n this.tooltipElement.classList.remove('hide');\n this.tooltipElement.classList.add('show');\n this.tooltipElement.style.setProperty('display', 'block');\n getDocument().addEventListener('keydown', this.hideTooltipByEscape, { once: true });\n const target = this.previousSibling;\n const tooltipEl = this.tooltipElement;\n this.cleanupAutoPositioning = autoUpdate(target, tooltipEl, () => {\n void this.alignTooltip();\n });\n }\n }\n showOrHideTooltip() {\n clearTimeout(this.overFocusTimeout);\n this.overFocusTimeout = setTimeout(() => {\n if (this.hasMouseIn || this.hasFocusIn) {\n this.showTooltip();\n }\n else {\n this.hideTooltip();\n }\n }, 300);\n }\n addListeners(el) {\n el.addEventListener('mouseover', this.handleMouseEnter);\n el.addEventListener('mouseout', this.handleMouseLeave);\n el.addEventListener('focusin', this.handleFocusIn);\n el.addEventListener('focusout', this.handleFocusOut);\n }\n removeListeners(el) {\n el.removeEventListener('mouseover', this.handleMouseEnter);\n el.removeEventListener('mouseout', this.handleMouseLeave);\n el.removeEventListener('focusin', this.handleFocusIn);\n el.removeEventListener('focusout', this.handleFocusOut);\n }\n}\n\nexport { TooltipBehavior as T };\n//# sourceMappingURL=behavior-Co00uT-D.js.map\n\n//# sourceMappingURL=behavior-Co00uT-D.js.map"],"mappings":"qcAYA,IAAM,EAAY,EAAqB,QAAS,MAAQ,GAAU,CAC9D,IAAM,EAAM,EAAgB,CAAK,EACjC,GAAI,EAAqB,SAAS,CAAG,EACjC,OAAO,EAEX,MAAU,MAAM,wBAAwB,GAAK,CACjD,EAAI,GAAM,EAAqB,SAAS,CAAC,CAAC,EAEpC,EAAgB,EAAqB,YAAa,GAAI,CAAe,EAErE,EAAS,EAAqB,KAAM,GAAI,CAAe,EAEvD,EAAmB,IAAI,IACzB,EAAc,KAClB,SAAS,EAAY,EAAS,CACtB,IAAgB,IACZ,GACA,EAAY,MAAM,YAAY,UAAW,KAAK,EAElD,EAAiB,OAAO,CAAO,EAC/B,EAAiB,IAAI,CAAO,EAC5B,EAAQ,MAAM,YAAY,UAAW,MAAM,EAC3C,EAAc,EAEtB,CACA,SAAS,EAAY,EAAS,CACrB,KAAiB,OAAO,CAAO,GAGhC,IAAgB,EAAS,CACzB,EAAc,KACd,IAAK,IAAM,KAAM,EACb,EAAc,EAEd,GACA,EAAY,MAAM,YAAY,UAAW,MAAM,CAEvD,CACJ,CAEA,IAAM,EAAN,KAAmB,CACf,YAAY,EAAa,EAAa,CAClC,KAAK,SAAW,EAAY,SAC5B,KAAK,SAAW,EAAY,SAC5B,KAAK,YAAc,EAA4B,CAAW,CA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./index-IYp74rJy.js";import{t as r}from"./contrast-BQCqf-V1-D8g0GYGj.js";var i=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function a(e){return i.test(e)}function o(e){if(e.startsWith(`{`))try{let t=JSON.parse(e);if(c(t))return{type:`ColorPair`,value:t}}catch{return{type:null,value:null}}return{type:null,value:null}}function s(e){if(e){if(typeof e==`string`){if(a(e))return{type:`string`,valid:!0,value:e};{let t=o(e);if(t.value)return{type:t.type,valid:!0,value:t.value}}}else{let t=e;if(c(t))return{type:`ColorPair`,valid:!0,value:t}}}return{type:null,valid:!1,value:``}}function c(e){return!!(typeof e==`object`&&e&&typeof e.backgroundColor==`string`&&typeof e.foregroundColor==`string`)}function l(e){let t=s(e);switch(t.type){case null:return!1;case`string`:case`ColorPair`:return t.valid}}var u=(e,t,r)=>{n(e,`_color`,l,new Set([`rgb in hex`,`ColorPair`]),t,r)},d=n=>{let i,a=s(n);switch(a.type){case`string`:i=r(a.value);break;case`ColorPair`:{let e=a.value,t=``;typeof e.foregroundColor==`string`&&(t=e.foregroundColor),(!t||typeof t!=`string`)&&(t=`#fff`),i=r({background:e.backgroundColor,foreground:t});break}case null:e.warn(`_color was empty or invalid (${JSON.stringify(n)})`),i=r({background:`#000`,foreground:`#000`})}return i.contrast<7&&t(`[KolBadge] The contrast of ${i.contrast} (≥7, AAA) is to low, between the color pair ${i.background} and ${i.foreground}.`),{backgroundColor:i.background,foregroundColor:i.foreground}};export{u as n,d as t};
2
- //# sourceMappingURL=color-CrduxZp0-D4f2Nhp6.js.map
1
+ import{B as e,L as t,Ot as n}from"./index-CDDuTDeB.js";import{t as r}from"./contrast-D_JyeI-Q-BlsvyLxF.js";var i=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function a(e){return i.test(e)}function o(e){if(e.startsWith(`{`))try{let t=JSON.parse(e);if(c(t))return{type:`ColorPair`,value:t}}catch{return{type:null,value:null}}return{type:null,value:null}}function s(e){if(e){if(typeof e==`string`){if(a(e))return{type:`string`,valid:!0,value:e};{let t=o(e);if(t.value)return{type:t.type,valid:!0,value:t.value}}}else{let t=e;if(c(t))return{type:`ColorPair`,valid:!0,value:t}}}return{type:null,valid:!1,value:``}}function c(e){return!!(typeof e==`object`&&e&&typeof e.backgroundColor==`string`&&typeof e.foregroundColor==`string`)}function l(e){let t=s(e);switch(t.type){case null:return!1;case`string`:case`ColorPair`:return t.valid}}var u=(e,t,r)=>{n(e,`_color`,l,new Set([`rgb in hex`,`ColorPair`]),t,r)},d=n=>{let i,a=s(n);switch(a.type){case`string`:i=r(a.value);break;case`ColorPair`:{let e=a.value,t=``;typeof e.foregroundColor==`string`&&(t=e.foregroundColor),(!t||typeof t!=`string`)&&(t=`#fff`),i=r({background:e.backgroundColor,foreground:t});break}case null:t.warn(`_color was empty or invalid (${JSON.stringify(n)})`),i=r({background:`#000`,foreground:`#000`})}return i.contrast<7&&e(`[KolBadge] The contrast of ${i.contrast} (≥7, AAA) is to low, between the color pair ${i.background} and ${i.foreground}.`),{backgroundColor:i.background,foregroundColor:i.foreground}};export{u as n,d as t};
2
+ //# sourceMappingURL=color-DfMsiiGq-CBOSygMe.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"color-CrduxZp0-D4f2Nhp6.js","names":[],"sources":["../../../../../components/dist/esm/color-CrduxZp0.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { L as Log, k as a11yHint, b as watchValidator } from './common-noYAs-wc.js';\nimport { c as createContrastColorPair } from './contrast-BQCqf-V1.js';\n\nconst HEX_REGEX = /^#((\\d|[a-f]){8}|(\\d|[a-f]){6}|(\\d|[a-f]){3,4})$/i;\nfunction isHexString(value) {\n return HEX_REGEX.test(value);\n}\nfunction isColorObjectString(value) {\n if (value.startsWith('{')) {\n try {\n const parsed = JSON.parse(value);\n if (isValidColorPair(parsed))\n return { type: 'ColorPair', value: parsed };\n }\n catch (_a) {\n return { type: null, value: null };\n }\n }\n return { type: null, value: null };\n}\nfunction typeOfColor(value) {\n if (value) {\n if (typeof value === 'string') {\n if (isHexString(value))\n return { type: 'string', valid: true, value: value };\n else {\n const colorObject = isColorObjectString(value);\n if (colorObject.value)\n return { type: colorObject.type, valid: true, value: colorObject.value };\n }\n }\n else {\n const asColorPair = value;\n if (isValidColorPair(asColorPair))\n return { type: 'ColorPair', valid: true, value: asColorPair };\n }\n }\n return { type: null, valid: false, value: '' };\n}\nfunction isValidColorPair(value) {\n return !!(typeof value === 'object' && value && typeof value.backgroundColor === 'string' && typeof value.foregroundColor === 'string');\n}\nfunction validatorFunction(value) {\n const valueType = typeOfColor(value);\n switch (valueType.type) {\n case null:\n return false;\n case 'string':\n case 'ColorPair':\n return valueType.valid;\n }\n}\nconst validateColor = (component, value, options) => {\n watchValidator(component, '_color', validatorFunction, new Set(['rgb in hex', 'ColorPair']), value, options);\n};\nconst handleColorChange = (value) => {\n let colorContrast;\n const valueType = typeOfColor(value);\n switch (valueType.type) {\n case 'string':\n colorContrast = createContrastColorPair(valueType.value);\n break;\n case 'ColorPair': {\n const asColorPair = valueType.value;\n let foreground = '';\n if (typeof asColorPair.foregroundColor === 'string')\n foreground = asColorPair.foregroundColor;\n if (!foreground || typeof foreground !== 'string')\n foreground = '#fff';\n colorContrast = createContrastColorPair({\n background: asColorPair.backgroundColor,\n foreground,\n });\n break;\n }\n case null:\n Log.warn(`_color was empty or invalid (${JSON.stringify(value)})`);\n colorContrast = createContrastColorPair({\n background: '#000',\n foreground: '#000',\n });\n }\n if (colorContrast.contrast < 7) {\n a11yHint(`[KolBadge] The contrast of ${colorContrast.contrast} (≥7, AAA) is to low, between the color pair ${colorContrast.background} and ${colorContrast.foreground}.`);\n }\n return {\n backgroundColor: colorContrast.background,\n foregroundColor: colorContrast.foreground,\n };\n};\n\nexport { handleColorChange as h, validateColor as v };\n//# sourceMappingURL=color-CrduxZp0.js.map\n\n//# sourceMappingURL=color-CrduxZp0.js.map"],"mappings":"2GAMA,IAAM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AAI,EACE,EAAY,EAAY,CAAK,EACnC,OAAQ,EAAU,KAAlB,CACI,IAAK,SACD,EAAgB,EAAwB,EAAU,KAAK,EACvD,MACJ,IAAK,YAAa,CACd,IAAM,EAAc,EAAU,MAC1B,EAAa,GACb,OAAO,EAAY,iBAAoB,WACvC,EAAa,EAAY,kBACzB,CAAC,GAAc,OAAO,GAAe,YACrC,EAAa,QACjB,EAAgB,EAAwB,CACpC,WAAY,EAAY,gBACxB,YACJ,CAAC,EACD,KACJ,CACA,KAAK,KACD,EAAI,KAAK,gCAAgC,KAAK,UAAU,CAAK,EAAE,EAAE,EACjE,EAAgB,EAAwB,CACpC,WAAY,OACZ,WAAY,MAChB,CAAC,CACT,CAIA,OAHI,EAAc,SAAW,GACzB,EAAS,8BAA8B,EAAc,SAAS,+CAA+C,EAAc,WAAW,OAAO,EAAc,WAAW,EAAE,EAErK,CACH,gBAAiB,EAAc,WAC/B,gBAAiB,EAAc,UACnC,CACJ"}
1
+ {"version":3,"file":"color-DfMsiiGq-CBOSygMe.js","names":[],"sources":["../../../../../components/dist/esm/color-DfMsiiGq.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { L as Log, k as a11yHint, b as watchValidator } from './common-D-vggmh2.js';\nimport { c as createContrastColorPair } from './contrast-D_JyeI-Q.js';\n\nconst HEX_REGEX = /^#((\\d|[a-f]){8}|(\\d|[a-f]){6}|(\\d|[a-f]){3,4})$/i;\nfunction isHexString(value) {\n return HEX_REGEX.test(value);\n}\nfunction isColorObjectString(value) {\n if (value.startsWith('{')) {\n try {\n const parsed = JSON.parse(value);\n if (isValidColorPair(parsed))\n return { type: 'ColorPair', value: parsed };\n }\n catch (_a) {\n return { type: null, value: null };\n }\n }\n return { type: null, value: null };\n}\nfunction typeOfColor(value) {\n if (value) {\n if (typeof value === 'string') {\n if (isHexString(value))\n return { type: 'string', valid: true, value: value };\n else {\n const colorObject = isColorObjectString(value);\n if (colorObject.value)\n return { type: colorObject.type, valid: true, value: colorObject.value };\n }\n }\n else {\n const asColorPair = value;\n if (isValidColorPair(asColorPair))\n return { type: 'ColorPair', valid: true, value: asColorPair };\n }\n }\n return { type: null, valid: false, value: '' };\n}\nfunction isValidColorPair(value) {\n return !!(typeof value === 'object' && value && typeof value.backgroundColor === 'string' && typeof value.foregroundColor === 'string');\n}\nfunction validatorFunction(value) {\n const valueType = typeOfColor(value);\n switch (valueType.type) {\n case null:\n return false;\n case 'string':\n case 'ColorPair':\n return valueType.valid;\n }\n}\nconst validateColor = (component, value, options) => {\n watchValidator(component, '_color', validatorFunction, new Set(['rgb in hex', 'ColorPair']), value, options);\n};\nconst handleColorChange = (value) => {\n let colorContrast;\n const valueType = typeOfColor(value);\n switch (valueType.type) {\n case 'string':\n colorContrast = createContrastColorPair(valueType.value);\n break;\n case 'ColorPair': {\n const asColorPair = valueType.value;\n let foreground = '';\n if (typeof asColorPair.foregroundColor === 'string')\n foreground = asColorPair.foregroundColor;\n if (!foreground || typeof foreground !== 'string')\n foreground = '#fff';\n colorContrast = createContrastColorPair({\n background: asColorPair.backgroundColor,\n foreground,\n });\n break;\n }\n case null:\n Log.warn(`_color was empty or invalid (${JSON.stringify(value)})`);\n colorContrast = createContrastColorPair({\n background: '#000',\n foreground: '#000',\n });\n }\n if (colorContrast.contrast < 7) {\n a11yHint(`[KolBadge] The contrast of ${colorContrast.contrast} (≥7, AAA) is to low, between the color pair ${colorContrast.background} and ${colorContrast.foreground}.`);\n }\n return {\n backgroundColor: colorContrast.background,\n foregroundColor: colorContrast.foreground,\n };\n};\n\nexport { handleColorChange as h, validateColor as v };\n//# sourceMappingURL=color-DfMsiiGq.js.map\n\n//# sourceMappingURL=color-DfMsiiGq.js.map"],"mappings":"2GAMA,IAAM,EAAY,oDAClB,SAAS,EAAY,EAAO,CACxB,OAAO,EAAU,KAAK,CAAK,CAC/B,CACA,SAAS,EAAoB,EAAO,CAChC,GAAI,EAAM,WAAW,GAAG,EACpB,GAAI,CACA,IAAM,EAAS,K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a,GACb,OAAO,EAAY,iBAAoB,WACvC,EAAa,EAAY,kBACzB,CAAC,GAAc,OAAO,GAAe,YACrC,EAAa,QACjB,EAAgB,EAAwB,CACpC,WAAY,EAAY,gBACxB,YACJ,CAAC,EACD,KACJ,CACA,KAAK,KACD,EAAI,KAAK,gCAAgC,KAAK,UAAU,CAAK,EAAE,EAAE,EACjE,EAAgB,EAAwB,CACpC,WAAY,OACZ,WAAY,MAChB,CAAC,CACT,CAIA,OAHI,EAAc,SAAW,GACzB,EAAS,8BAA8B,EAAc,SAAS,+CAA+C,EAAc,WAAW,OAAO,EAAc,WAAW,EAAE,EAErK,CACH,gBAAiB,EAAc,WAC/B,gBAAiB,EAAc,UACnC,CACJ"}
@@ -0,0 +1,2 @@
1
+ import{B as e,W as t,o as n,u as r}from"./index-CDDuTDeB.js";import{t as i}from"./clsx-COFh-Vc8-DWAop4cA.js";import{i as a,n as o,o as s,r as c,s as l}from"./normalizers-BNeak4hj-BwxUKMpl.js";import{t as u}from"./i18n-CvFPh0g5-DJnQsXap.js";import{t as d}from"./component-BjVFpeYY-Dt0Tx2Ec.js";import"./variant-quote-ClYWonZq-CfOvS_BT.js";import{t as f}from"./component-DepnuZGT-D0xqqfD7.js";import{t as p}from"./align-C8fl12z_-Boq_HCFK.js";import{t as m}from"./variant-class-name-9qZ5egaq-CxTj-bFt.js";import{t as h}from"./component-BXCnkVUN-UFdRA2ni.js";import{t as g}from"./label-with-expert-slot-CU-oeLnm-BkUD-T35.js";import{t as _}from"./href-B7u09W3s-Crs1FQnq.js";var v=o(`accessKey`,``,l),y=o(`ariaControls`,``,l),b=[`date`,`location`,`page`,`step`,`time`,`true`,`false`];function x(e){let t=l(e);return b.includes(t)?t:`page`}var S=o(`ariaCurrentValue`,`page`,x),C=o(`ariaDescription`,``,l);function w(e){return e===!0||e===`true`?`true`:e===!1||e===`false`?`false`:``}var T=o(`ariaExpanded`,``,w),E=o(`ariaOwns`,``,l),D=/^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/,O=e=>typeof e==`string`&&D.test(e);function k(e){return e===``||O(e)}var A=o(`customClass`,``,l,k),j=o(`disabled`,!1,c),M=o(`download`,void 0,l),N=o(`hideLabel`,!1,c),P=o(`inline`,!0,c);function F(e){if(typeof e==`object`&&e)return e;throw Error(`Invalid on callbacks: expected object, got ${typeof e}`)}var I=o(`on`,{},F),L=[`tab`,`treeitem`];function R(e){return typeof e==`string`&&L.includes(e)?e:``}var z=o(`role`,``,R),B=o(`target`,``,l),V=o(`shortKey`,``,l);function H(e){if(!e||typeof e==`string`&&e===``)return{};if(typeof e==`string`)return l(e);if(typeof e==`object`)return s(e);throw Error(`Invalid icons: ${typeof e}`)}function U(e){return typeof e==`string`?e.length>0:typeof e==`object`&&!!e}var W=o(`icons`,{},H,U),G=o(`tabIndex`,0,a,void 0,{hints:(t,n)=>{typeof n==`number`&&n>0&&e(`Positive tabIndex values ("${n}") can disrupt the natural tab order. Use 0 for tabbable elements or rely on DOM order.`)}});function K(e){let t=l(e);return p.includes(t)?t:`right`}var q=o(`tooltipAlign`,`right`,K,e=>p.includes(e));function J(e){return Array.isArray(e)?e:typeof e==`string`?e.split(` `):[]}function Y(e){return e.length===0||e.every(O)}var X=o(`variant`,[],J,Y),Z={required:[_],optional:[v,y,S,C,T,E,A,j,M,N,W,P,g,I,z,B,V,G,q,X]},Q=({block:e,modifiers:t,class:a},o)=>{let s=r.forBlock(e);return n(`div`,{class:i(s(t),a)},o)},$=e=>{let{accessKey:r,ariaControls:a,ariaCurrent:o,ariaDescription:s,ariaDescriptionId:c,ariaExpanded:l,ariaOwns:p,customClass:g,disabled:_,download:v,handleAnchorClick:y,hideLabel:b,href:x,icons:S,inline:C,label:w,on:T,refAnchor:E,refTooltip:D,role:O,shortKey:k,tabIndex:A,target:j,variant:M,expertSlot:N}=e,P=u(`kol-open-link-in-tab`),F=typeof j==`string`&&j.length>0&&j!==`_self`,I={href:typeof x==`string`&&x.length>0?x:`javascript:void(0);`,target:typeof j==`string`&&j.length>0?j:void 0,rel:F?`noopener`:void 0,download:typeof v==`string`?v:void 0};b===!0&&!w&&t(`[KolLink] An aria-label must be set when _hide-label is set.`);let L=s?.trim(),R=O||void 0;return n(Q,{block:`kol-link`,class:i({[g]:M.includes(`custom`)&&g.length>0,[m(M,`link`)]:M.length>0}),modifiers:{disabled:_===!0,"external-link":F,"hide-label":b===!0,inline:C===!0,standalone:C===!1}},n(`a`,Object.assign({ref:E},I,{accessKey:r||void 0,"aria-current":o||void 0,"aria-controls":a||void 0,"aria-describedby":L?c:void 0,"aria-disabled":_?`true`:void 0,"aria-expanded":l===``?void 0:l,"aria-owns":p||void 0,"aria-label":b&&typeof w==`string`?`${w}${F?` (${P})`:``}`:void 0,"aria-keyshortcuts":k||void 0,class:`kol-link__anchor`},T,{onClick:y,role:R,tabIndex:_?-1:A}),n(f,{class:`kol-link__text`,badgeText:r||k,icons:S,hideLabel:b,label:N?``:w||x},n(`slot`,{name:`expert`,slot:`expert`})),F&&n(d,{class:`kol-link__icon`,label:b?``:P,icons:`kolicon-link-external`,"aria-hidden":b})),b===!0&&!N&&n(`div`,{class:`kol-link__tooltip`},n(h,{badgeText:r||k||``,label:typeof w==`string`?w:typeof x==`string`?x:``,refFloating:D})),L&&n(`span`,{class:`visually-hidden`,id:c},L))};export{V as _,C as a,q as b,A as c,N as d,P as f,B as g,z as h,S as i,j as l,Z as m,v as n,T as o,I as p,y as r,E as s,$ as t,M as u,W as v,X as x,G as y};
2
+ //# sourceMappingURL=component-BDS_iE5Q-D8jrPGBb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-BDS_iE5Q-D8jrPGBb.js","names":[],"sources":["../../../../../components/dist/esm/component-BDS_iE5Q.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { c as createPropDefinition, n as normalizeString, b as normalizeBoolean, d as normalizeObject, a as normalizeInteger } from './normalizers-BNeak4hj.js';\nimport { k as a11yHint, j as devHint } from './common-D-vggmh2.js';\nimport { h as hrefProp } from './href-B7u09W3s.js';\nimport { l as labelWithExpertSlotProp } from './label-with-expert-slot-CU-oeLnm.js';\nimport './variant-quote-ClYWonZq.js';\nimport { a as alignPropTypeOptions } from './align-C8fl12z_.js';\nimport { h } from './index-C_ZKddLG.js';\nimport { t as translate } from './i18n-CvFPh0g5.js';\nimport { c as classNameFromVariant } from './variant-class-name-9qZ5egaq.js';\nimport { c as clsx } from './clsx-COFh-Vc8.js';\nimport { b as bem } from './bem-registry-3ondDImf.js';\nimport { I as IconFC } from './component-BjVFpeYY.js';\nimport { S as SpanFC } from './component-DepnuZGT.js';\nimport { T as TooltipFC } from './component-BXCnkVUN.js';\n\nconst accessKeyProp = createPropDefinition('accessKey', '', normalizeString);\n\nconst ariaControlsProp = createPropDefinition('ariaControls', '', normalizeString);\n\nconst ARIA_CURRENT_VALUE_OPTIONS = ['date', 'location', 'page', 'step', 'time', 'true', 'false'];\nfunction normalizeAriaCurrentValue(value) {\n const str = normalizeString(value);\n return ARIA_CURRENT_VALUE_OPTIONS.includes(str) ? str : 'page';\n}\nconst ariaCurrentValueProp = createPropDefinition('ariaCurrentValue', 'page', normalizeAriaCurrentValue);\n\nconst ariaDescriptionProp = createPropDefinition('ariaDescription', '', normalizeString);\n\nfunction normalizeAriaExpanded(value) {\n if (value === true || value === 'true') {\n return 'true';\n }\n if (value === false || value === 'false') {\n return 'false';\n }\n return '';\n}\nconst ariaExpandedProp = createPropDefinition('ariaExpanded', '', normalizeAriaExpanded);\n\nconst ariaOwnsProp = createPropDefinition('ariaOwns', '', normalizeString);\n\nconst SAFE_CLASS_NAME_RE = /^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/;\nconst isSafeClassName = (value) => typeof value === 'string' && SAFE_CLASS_NAME_RE.test(value);\n\nfunction validateCustomClass(value) {\n return value === '' || isSafeClassName(value);\n}\nconst customClassProp = createPropDefinition('customClass', '', normalizeString, validateCustomClass);\n\nconst disabledProp = createPropDefinition('disabled', false, normalizeBoolean);\n\nconst downloadProp = createPropDefinition('download', undefined, normalizeString);\n\nconst hideLabelProp = createPropDefinition('hideLabel', false, normalizeBoolean);\n\nconst inlineProp = createPropDefinition('inline', true, normalizeBoolean);\n\nfunction normalizeLinkCallbacks(value) {\n if (typeof value === 'object' && value !== null) {\n return value;\n }\n throw new Error(`Invalid on callbacks: expected object, got ${typeof value}`);\n}\nconst linkCallbacksProp = createPropDefinition('on', {}, normalizeLinkCallbacks);\n\nconst LINK_ROLE_OPTIONS = ['tab', 'treeitem'];\nfunction normalizeLinkRole(value) {\n return typeof value === 'string' && LINK_ROLE_OPTIONS.includes(value) ? value : '';\n}\nconst linkRoleProp = createPropDefinition('role', '', normalizeLinkRole);\n\nconst linkTargetProp = createPropDefinition('target', '', normalizeString);\n\nconst shortKeyProp = createPropDefinition('shortKey', '', normalizeString);\n\nfunction normalizeSpanIcons(value) {\n if (!value || (typeof value === 'string' && value === '')) {\n return {};\n }\n if (typeof value === 'string') {\n return normalizeString(value);\n }\n if (typeof value === 'object') {\n return normalizeObject(value);\n }\n throw new Error(`Invalid icons: ${typeof value}`);\n}\nfunction validateSpanIcons(value) {\n if (typeof value === 'string') {\n return value.length > 0;\n }\n return typeof value === 'object' && value !== null;\n}\nconst spanIconsProp = createPropDefinition('icons', {}, normalizeSpanIcons, validateSpanIcons);\n\nconst tabIndexProp = createPropDefinition('tabIndex', 0, normalizeInteger, undefined, {\n hints: (_propName, value) => {\n if (typeof value === 'number' && value > 0) {\n a11yHint(`Positive tabIndex values (\"${value}\") can disrupt the natural tab order. Use 0 for tabbable elements or rely on DOM order.`);\n }\n },\n});\n\nfunction normalizeTooltipAlign(value) {\n const str = normalizeString(value);\n if (alignPropTypeOptions.includes(str)) {\n return str;\n }\n return 'right';\n}\nconst tooltipAlignProp = createPropDefinition('tooltipAlign', 'right', normalizeTooltipAlign, (v) => alignPropTypeOptions.includes(v));\n\nfunction normalizeVariant(value) {\n if (Array.isArray(value)) {\n return value;\n }\n if (typeof value === 'string') {\n return value.split(' ');\n }\n return [];\n}\nfunction validateVariant(value) {\n return value.length === 0 || value.every(isSafeClassName);\n}\nconst variantProp = createPropDefinition('variant', [], normalizeVariant, validateVariant);\n\nconst linkPropsConfig = {\n required: [hrefProp],\n optional: [\n accessKeyProp,\n ariaControlsProp,\n ariaCurrentValueProp,\n ariaDescriptionProp,\n ariaExpandedProp,\n ariaOwnsProp,\n customClassProp,\n disabledProp,\n downloadProp,\n hideLabelProp,\n spanIconsProp,\n inlineProp,\n labelWithExpertSlotProp,\n linkCallbacksProp,\n linkRoleProp,\n linkTargetProp,\n shortKeyProp,\n tabIndexProp,\n tooltipAlignProp,\n variantProp,\n ],\n};\n\nconst BemRootNodeFC = ({ block, modifiers, class: hostClass }, children) => {\n const blockBem = bem.forBlock(block);\n return h(\"div\", { class: clsx(blockBem(modifiers), hostClass) }, children);\n};\n\nconst LinkFC = (props) => {\n const { accessKey, ariaControls, ariaCurrent, ariaDescription, ariaDescriptionId, ariaExpanded, ariaOwns, customClass, disabled, download, handleAnchorClick, hideLabel, href, icons, inline, label, on, refAnchor, refTooltip, role, shortKey, tabIndex, target, variant, expertSlot, } = props;\n const translateOpenLinkInTab = translate('kol-open-link-in-tab');\n const isExternal = typeof target === 'string' && target.length > 0 && target !== '_self';\n const tagAttrs = {\n href: typeof href === 'string' && href.length > 0 ? href : 'javascript:void(0);',\n target: typeof target === 'string' && target.length > 0 ? target : undefined,\n rel: isExternal ? 'noopener' : undefined,\n download: typeof download === 'string' ? download : undefined,\n };\n if (hideLabel === true && !label) {\n devHint(`[KolLink] An aria-label must be set when _hide-label is set.`);\n }\n const trimmedAriaDescription = ariaDescription === null || ariaDescription === void 0 ? void 0 : ariaDescription.trim();\n const roleValue = role || undefined;\n return (h(BemRootNodeFC, { block: \"kol-link\", class: clsx({\n [customClass]: variant.includes('custom') && customClass.length > 0,\n [classNameFromVariant(variant, 'link')]: variant.length > 0,\n }), modifiers: {\n disabled: disabled === true,\n 'external-link': isExternal,\n 'hide-label': hideLabel === true,\n inline: inline === true,\n standalone: inline === false,\n } }, h(\"a\", Object.assign({ ref: refAnchor }, tagAttrs, { accessKey: accessKey || undefined, \"aria-current\": ariaCurrent || undefined, \"aria-controls\": ariaControls || undefined, \"aria-describedby\": trimmedAriaDescription ? ariaDescriptionId : undefined, \"aria-disabled\": disabled ? 'true' : undefined, \"aria-expanded\": ariaExpanded === '' ? undefined : ariaExpanded, \"aria-owns\": ariaOwns || undefined, \"aria-label\": hideLabel && typeof label === 'string' ? `${label}${isExternal ? ` (${translateOpenLinkInTab})` : ''}` : undefined, \"aria-keyshortcuts\": shortKey || undefined, class: \"kol-link__anchor\" }, on, { onClick: handleAnchorClick, role: roleValue, tabIndex: disabled ? -1 : tabIndex }), h(SpanFC, { class: \"kol-link__text\", badgeText: accessKey || shortKey, icons: icons, hideLabel: hideLabel, label: expertSlot ? '' : label || href }, h(\"slot\", { name: \"expert\", slot: \"expert\" })), isExternal && (h(IconFC, { class: \"kol-link__icon\", label: hideLabel ? '' : translateOpenLinkInTab, icons: 'kolicon-link-external', \"aria-hidden\": hideLabel }))), hideLabel === true && !expertSlot && (h(\"div\", { class: \"kol-link__tooltip\" }, h(TooltipFC, { badgeText: accessKey || shortKey || '', label: typeof label === 'string' ? label : typeof href === 'string' ? href : '', refFloating: refTooltip }))), trimmedAriaDescription && (h(\"span\", { class: \"visually-hidden\", id: ariaDescriptionId }, trimmedAriaDescription))));\n};\n\nexport { LinkFC as L, accessKeyProp as a, ariaControlsProp as b, ariaCurrentValueProp as c, ariaDescriptionProp as d, ariaExpandedProp as e, disabledProp as f, downloadProp as g, hideLabelProp as h, inlineProp as i, linkCallbacksProp as j, shortKeyProp as k, linkPropsConfig as l, linkTargetProp as m, ariaOwnsProp as n, customClassProp as o, linkRoleProp as p, tabIndexProp as q, spanIconsProp as s, tooltipAlignProp as t, variantProp as v };\n//# sourceMappingURL=component-BDS_iE5Q.js.map\n\n//# sourceMappingURL=component-BDS_iE5Q.js.map"],"mappings":"6pBAkBA,IAA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AAiB,EAAW,OAAS,IAAA,GAAW,gBAAiB,IAAiB,GAAK,IAAA,GAAY,EAAc,YAAa,GAAY,IAAA,GAAW,aAAc,GAAa,OAAO,GAAU,SAAW,GAAG,IAAQ,EAAa,KAAK,EAAuB,GAAK,KAAO,IAAA,GAAW,oBAAqB,GAAY,IAAA,GAAW,MAAO,kBAAmB,EAAG,EAAI,CAAE,QAAS,EAAmB,KAAM,EAAW,SAAU,EAAW,GAAK,CAAS,CAAC,EAAG,EAAE,EAAQ,CAAE,MAAO,iBAAkB,UAAW,GAAa,EAAiB,QAAkB,YAAW,MAAO,EAAa,GAAK,GAAS,CAAK,EAAG,EAAE,OAAQ,CAAE,KAAM,SAAU,KAAM,QAAS,CAAC,CAAC,EAAG,GAAe,EAAE,EAAQ,CAAE,MAAO,iBAAkB,MAAO,EAAY,GAAK,EAAwB,MAAO,wBAAyB,cAAe,CAAU,CAAC,CAAE,EAAG,IAAc,IAAQ,CAAC,GAAe,EAAE,MAAO,CAAE,MAAO,mBAAoB,EAAG,EAAE,EAAW,CAAE,UAAW,GAAa,GAAY,GAAI,MAAO,OAAO,GAAU,SAAW,EAAQ,OAAO,GAAS,SAAW,EAAO,GAAI,YAAa,CAAW,CAAC,CAAC,EAAI,GAA2B,EAAE,OAAQ,CAAE,MAAO,kBAAmB,GAAI,CAAkB,EAAG,CAAsB,CAAE,CACh5C"}
@@ -1,2 +1,2 @@
1
- import{o as e}from"./index-IYp74rJy.js";import{t}from"./component-Rxhi2vD9-CDdyG5xI.js";var n=({label:n,badgeText:r,id:i,refFloating:a})=>e(`div`,{class:`kol-tooltip__floating`,hidden:n.length===0,ref:a},e(`div`,{class:`kol-tooltip__arrow`}),e(t,{class:`kol-tooltip__content`,badgeText:r,id:i,label:n}));export{n as t};
2
- //# sourceMappingURL=component-BuQ_u4hn-BUHZ4nuo.js.map
1
+ import{o as e}from"./index-CDDuTDeB.js";import{t}from"./component-DepnuZGT-D0xqqfD7.js";var n=({label:n,badgeText:r,id:i,refFloating:a})=>e(`div`,{class:`kol-tooltip__floating`,hidden:n.length===0,ref:a},e(`div`,{class:`kol-tooltip__arrow`}),e(t,{class:`kol-tooltip__content`,badgeText:r,id:i,label:n}));export{n as t};
2
+ //# sourceMappingURL=component-BXCnkVUN-UFdRA2ni.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-BuQ_u4hn-BUHZ4nuo.js","names":[],"sources":["../../../../../components/dist/esm/component-BuQ_u4hn.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { h } from './index-02qzyFjP.js';\nimport { S as SpanFC } from './component-Rxhi2vD9.js';\n\nconst TooltipFC = ({ label, badgeText, id, refFloating }) => {\n return (h(\"div\", { class: \"kol-tooltip__floating\", hidden: label.length === 0, ref: refFloating }, h(\"div\", { class: \"kol-tooltip__arrow\" }), h(SpanFC, { class: \"kol-tooltip__content\", badgeText: badgeText, id: id, label: label })));\n};\n\nexport { TooltipFC as T };\n//# sourceMappingURL=component-BuQ_u4hn.js.map\n\n//# sourceMappingURL=component-BuQ_u4hn.js.map"],"mappings":"wFAMA,IAAM,GAAa,CAAE,QAAO,YAAW,KAAI,iBAC/B,EAAE,MAAO,CAAE,MAAO,wBAAyB,OAAQ,EAAM,SAAW,EAAG,IAAK,CAAY,EAAG,EAAE,MAAO,CAAE,MAAO,oBAAqB,CAAC,EAAG,EAAE,EAAQ,CAAE,MAAO,uBAAmC,YAAe,KAAW,OAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"component-BXCnkVUN-UFdRA2ni.js","names":[],"sources":["../../../../../components/dist/esm/component-BXCnkVUN.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { h } from './index-C_ZKddLG.js';\nimport { S as SpanFC } from './component-DepnuZGT.js';\n\nconst TooltipFC = ({ label, badgeText, id, refFloating }) => {\n return (h(\"div\", { class: \"kol-tooltip__floating\", hidden: label.length === 0, ref: refFloating }, h(\"div\", { class: \"kol-tooltip__arrow\" }), h(SpanFC, { class: \"kol-tooltip__content\", badgeText: badgeText, id: id, label: label })));\n};\n\nexport { TooltipFC as T };\n//# sourceMappingURL=component-BXCnkVUN.js.map\n\n//# sourceMappingURL=component-BXCnkVUN.js.map"],"mappings":"wFAMA,IAAM,GAAa,CAAE,QAAO,YAAW,KAAI,iBAC/B,EAAE,MAAO,CAAE,MAAO,wBAAyB,OAAQ,EAAM,SAAW,EAAG,IAAK,CAAY,EAAG,EAAE,MAAO,CAAE,MAAO,oBAAqB,CAAC,EAAG,EAAE,EAAQ,CAAE,MAAO,uBAAmC,YAAe,KAAW,OAAM,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
- import{o as e,u as t}from"./index-IYp74rJy.js";import{n}from"./tslib.es6-QNbPBOk5-DpzS01Oy.js";import{t as r}from"./clsx-COFh-Vc8-DWAop4cA.js";var i=t.forBlock(`kol-icon`),a=i(),o=i(`icon`),s=t=>{var{class:i,icons:s,label:c}=t,l=n(t,[`class`,`icons`,`label`]);let u=c?.length>0;return e(`i`,Object.assign({},l,{"aria-hidden":u?void 0:`true`,"aria-label":u?c:void 0,class:r(a,o,s,i),role:u?`img`:`presentation`}))};export{s as t};
2
- //# sourceMappingURL=component-DEJ7VlaD-CU5bWBe8.js.map
1
+ import{o as e,u as t}from"./index-CDDuTDeB.js";import{n}from"./tslib.es6-QNbPBOk5-DpzS01Oy.js";import{t as r}from"./clsx-COFh-Vc8-DWAop4cA.js";var i=t.forBlock(`kol-icon`),a=i(),o=i(`icon`),s=t=>{var{class:i,icons:s,label:c}=t,l=n(t,[`class`,`icons`,`label`]);let u=c?.length>0;return e(`i`,Object.assign({},l,{"aria-hidden":u?void 0:`true`,"aria-label":u?c:void 0,class:r(a,o,s,i),role:u?`img`:`presentation`}))};export{s as t};
2
+ //# sourceMappingURL=component-BjVFpeYY-Dt0Tx2Ec.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-DEJ7VlaD-CU5bWBe8.js","names":[],"sources":["../../../../../components/dist/esm/component-DEJ7VlaD.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { a as __rest } from './tslib.es6-QNbPBOk5.js';\nimport { h } from './index-02qzyFjP.js';\nimport { b as bem } from './bem-registry-DGv3NmGE.js';\nimport { c as clsx } from './clsx-COFh-Vc8.js';\n\nconst iconBem = bem.forBlock('kol-icon');\nconst BEM_CLASS_ICON = iconBem();\nconst BEM_CLASS_ICON__ICON = iconBem('icon');\nconst IconFC = (_a) => {\n var { class: classNames, icons, label } = _a, htmlAttributes = __rest(_a, [\"class\", \"icons\", \"label\"]);\n const hasAriaLabel = (label === null || label === void 0 ? void 0 : label.length) > 0;\n return (h(\"i\", Object.assign({}, htmlAttributes, { \"aria-hidden\": hasAriaLabel ? undefined : 'true', \"aria-label\": hasAriaLabel ? label : undefined, class: clsx(BEM_CLASS_ICON, BEM_CLASS_ICON__ICON, icons, classNames), role: hasAriaLabel ? 'img' : 'presentation' })));\n};\n\nexport { IconFC as I };\n//# sourceMappingURL=component-DEJ7VlaD.js.map\n\n//# sourceMappingURL=component-DEJ7VlaD.js.map"],"mappings":"+IAQA,IAAM,EAAU,EAAI,SAAS,UAAU,EACjC,EAAiB,EAAQ,EACzB,EAAuB,EAAQ,MAAM,EACrC,EAAU,GAAO,CACnB,GAAI,CAAE,MAAO,EAAY,QAAO,SAAU,EAAI,EAAiB,EAAO,EAAI,CAAC,QAAS,QAAS,OAAO,CAAC,EACrG,IAAM,EAAgB,GAAoD,OAAU,EACpF,OAAQ,EAAE,IAAK,OAAO,OAAO,CAAC,EAAG,EAAgB,CAAE,cAAe,EAAe,IAAA,GAAY,OAAQ,aAAc,EAAe,EAAQ,IAAA,GAAW,MAAO,EAAK,EAAgB,EAAsB,EAAO,CAAU,EAAG,KAAM,EAAe,MAAQ,cAAe,CAAC,CAAC,CAC7Q"}
1
+ {"version":3,"file":"component-BjVFpeYY-Dt0Tx2Ec.js","names":[],"sources":["../../../../../components/dist/esm/component-BjVFpeYY.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { a as __rest } from './tslib.es6-QNbPBOk5.js';\nimport { h } from './index-C_ZKddLG.js';\nimport { b as bem } from './bem-registry-3ondDImf.js';\nimport { c as clsx } from './clsx-COFh-Vc8.js';\n\nconst iconBem = bem.forBlock('kol-icon');\nconst BEM_CLASS_ICON = iconBem();\nconst BEM_CLASS_ICON__ICON = iconBem('icon');\nconst IconFC = (_a) => {\n var { class: classNames, icons, label } = _a, htmlAttributes = __rest(_a, [\"class\", \"icons\", \"label\"]);\n const hasAriaLabel = (label === null || label === void 0 ? void 0 : label.length) > 0;\n return (h(\"i\", Object.assign({}, htmlAttributes, { \"aria-hidden\": hasAriaLabel ? undefined : 'true', \"aria-label\": hasAriaLabel ? label : undefined, class: clsx(BEM_CLASS_ICON, BEM_CLASS_ICON__ICON, icons, classNames), role: hasAriaLabel ? 'img' : 'presentation' })));\n};\n\nexport { IconFC as I };\n//# sourceMappingURL=component-BjVFpeYY.js.map\n\n//# sourceMappingURL=component-BjVFpeYY.js.map"],"mappings":"+IAQA,IAAM,EAAU,EAAI,SAAS,UAAU,EACjC,EAAiB,EAAQ,EACzB,EAAuB,EAAQ,MAAM,EACrC,EAAU,GAAO,CACnB,GAAI,CAAE,MAAO,EAAY,QAAO,SAAU,EAAI,EAAiB,EAAO,EAAI,CAAC,QAAS,QAAS,OAAO,CAAC,EACrG,IAAM,EAAgB,GAAoD,OAAU,EACpF,OAAQ,EAAE,IAAK,OAAO,OAAO,CAAC,EAAG,EAAgB,CAAE,cAAe,EAAe,IAAA,GAAY,OAAQ,aAAc,EAAe,EAAQ,IAAA,GAAW,MAAO,EAAK,EAAgB,EAAsB,EAAO,CAAU,EAAG,KAAM,EAAe,MAAQ,cAAe,CAAC,CAAC,CAC7Q"}