@public-ui/visual-tests 4.6.0-rc.0 → 4.6.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (426) hide show
  1. package/app/dist/assets/{Heading-Bj2Ma7Tr-DA-cxUQa.js → Heading-C_CwXDMp-C-H3f2bO.js} +2 -2
  2. package/app/dist/assets/{Heading-Bj2Ma7Tr-DA-cxUQa.js.map → Heading-C_CwXDMp-C-H3f2bO.js.map} +1 -1
  3. package/app/dist/assets/api-DGiFM9p0-aby8EFIg.js +2 -0
  4. package/app/dist/assets/api-DGiFM9p0-aby8EFIg.js.map +1 -0
  5. package/app/dist/assets/base-B4sGK9cX-CDJZcMwp.js +2 -0
  6. package/app/dist/assets/base-B4sGK9cX-CDJZcMwp.js.map +1 -0
  7. package/app/dist/assets/{base-IzdO60L1-DEnq3P94.js → base-CWrvN3Gt-Bgs_82Ya.js} +2 -2
  8. package/app/dist/assets/{base-IzdO60L1-DEnq3P94.js.map → base-CWrvN3Gt-Bgs_82Ya.js.map} +1 -1
  9. package/app/dist/assets/base-DTKJ1Z06-DzZjPKn7.js +2 -0
  10. package/app/dist/assets/base-DTKJ1Z06-DzZjPKn7.js.map +1 -0
  11. package/app/dist/assets/{base-Ba-xzpOT-C72hjDKq.js → base-P1TaQ7Ba-cmspqxvU.js} +2 -2
  12. package/app/dist/assets/{base-Ba-xzpOT-C72hjDKq.js.map → base-P1TaQ7Ba-cmspqxvU.js.map} +1 -1
  13. package/app/dist/assets/{base-web-component-BB3dHStd-BN15AQz6.js → base-web-component-Bq_B9edx-N0zm2CXa.js} +2 -2
  14. package/app/dist/assets/{base-web-component-BB3dHStd-BN15AQz6.js.map → base-web-component-Bq_B9edx-N0zm2CXa.js.map} +1 -1
  15. package/app/dist/assets/{base-web-component-XgI4wUyN-BtW42r31.js → base-web-component-CC_gpyDb-CX1Yda7a.js} +2 -2
  16. package/app/dist/assets/{base-web-component-XgI4wUyN-BtW42r31.js.map → base-web-component-CC_gpyDb-CX1Yda7a.js.map} +1 -1
  17. package/app/dist/assets/{base-web-component-ug9DZUOx-BsSNYQEY.js → base-web-component-CKgIOZqi-DbhHLGVO.js} +2 -2
  18. package/app/dist/assets/{base-web-component-ug9DZUOx-BsSNYQEY.js.map → base-web-component-CKgIOZqi-DbhHLGVO.js.map} +1 -1
  19. package/app/dist/assets/{behavior-B4IW5_Qt-C02JSQ_A.js → behavior-Bb7JYoUn-D9d7SICv.js} +2 -2
  20. package/app/dist/assets/{behavior-B4IW5_Qt-C02JSQ_A.js.map → behavior-Bb7JYoUn-D9d7SICv.js.map} +1 -1
  21. package/app/dist/assets/{behavior-BgmZcrK6-DKxnXybB.js → behavior-CFG1f4KQ-Dvr4-FSy.js} +2 -2
  22. package/app/dist/assets/{behavior-BgmZcrK6-DKxnXybB.js.map → behavior-CFG1f4KQ-Dvr4-FSy.js.map} +1 -1
  23. package/app/dist/assets/behavior-CkPQGfgo-D45v-nPX.js +2 -0
  24. package/app/dist/assets/behavior-CkPQGfgo-D45v-nPX.js.map +1 -0
  25. package/app/dist/assets/block-bem-BGIVcYJu-ArFxQxtE.js +2 -0
  26. package/app/dist/assets/{block-bem-BpQSY04L-CRt3xbMV.js.map → block-bem-BGIVcYJu-ArFxQxtE.js.map} +1 -1
  27. package/app/dist/assets/{color-eAL9I7Wq-C5w8yVYX.js → color-D1gM-F2l-Df5enKHI.js} +2 -2
  28. package/app/dist/assets/{color-eAL9I7Wq-C5w8yVYX.js.map → color-D1gM-F2l-Df5enKHI.js.map} +1 -1
  29. package/app/dist/assets/{component-DdIOGRgB-D2LHoMnt.js → component-5Uu-ahLC-Bb2BXOpC.js} +2 -2
  30. package/app/dist/assets/{component-DdIOGRgB-D2LHoMnt.js.map → component-5Uu-ahLC-Bb2BXOpC.js.map} +1 -1
  31. package/app/dist/assets/component-B05zRrM0-7hvf2E9c.js +2 -0
  32. package/app/dist/assets/{component-scm3PBuq-BjdxjHDN.js.map → component-B05zRrM0-7hvf2E9c.js.map} +1 -1
  33. package/app/dist/assets/component-B16Fbp3W-D0qXBKq-.js +2 -0
  34. package/app/dist/assets/component-B16Fbp3W-D0qXBKq-.js.map +1 -0
  35. package/app/dist/assets/component-BI8jDgBz--DhZLtf6.js +2 -0
  36. package/app/dist/assets/{component-BiYFPpjn-BYJKeDSX.js.map → component-BI8jDgBz--DhZLtf6.js.map} +1 -1
  37. package/app/dist/assets/{component-Drxdk3mb-DbnGS_pG.js → component-Bc2pdOk1-CepCA2Wp.js} +2 -2
  38. package/app/dist/assets/{component-Drxdk3mb-DbnGS_pG.js.map → component-Bc2pdOk1-CepCA2Wp.js.map} +1 -1
  39. package/app/dist/assets/{component-BvvE8aim-UQRI7P-j.js → component-C79oAu7a-5iDQYB5J.js} +2 -2
  40. package/app/dist/assets/{component-BvvE8aim-UQRI7P-j.js.map → component-C79oAu7a-5iDQYB5J.js.map} +1 -1
  41. package/app/dist/assets/component-CldKbBUh-BxRfiFvK.js +2 -0
  42. package/app/dist/assets/{component-ChtW1HQv-DoO-XUPL.js.map → component-CldKbBUh-BxRfiFvK.js.map} +1 -1
  43. package/app/dist/assets/{component-C5QCCLLa-DO_EI87c.js → component-Clz6b6ho-CXEPO4qU.js} +2 -2
  44. package/app/dist/assets/{component-C5QCCLLa-DO_EI87c.js.map → component-Clz6b6ho-CXEPO4qU.js.map} +1 -1
  45. package/app/dist/assets/{component-gj7TBL0i-CrMR3UTy.js → component-Ct11K0Gv-0J2bEC32.js} +2 -2
  46. package/app/dist/assets/{component-gj7TBL0i-CrMR3UTy.js.map → component-Ct11K0Gv-0J2bEC32.js.map} +1 -1
  47. package/app/dist/assets/{component-Ua7-J4C--Dkd-CEgJ.js → component-DAQzDMY8-Cvz042BD.js} +2 -2
  48. package/app/dist/assets/{component-Ua7-J4C--Dkd-CEgJ.js.map → component-DAQzDMY8-Cvz042BD.js.map} +1 -1
  49. package/app/dist/assets/{component-BKfXEtN0-C8yiDeiX.js → component-W1KZI4h4-DvGjUMdG.js} +2 -2
  50. package/app/dist/assets/{component-BKfXEtN0-C8yiDeiX.js.map → component-W1KZI4h4-DvGjUMdG.js.map} +1 -1
  51. package/app/dist/assets/{component-C0zMsvYl-CehExNsM.js → component-oUQcgxDj-BfUX_i2P.js} +4 -4
  52. package/app/dist/assets/{component-C0zMsvYl-CehExNsM.js.map → component-oUQcgxDj-BfUX_i2P.js.map} +1 -1
  53. package/app/dist/assets/contrast-BNoQruBh-DqunVBZ3.js +2 -0
  54. package/app/dist/assets/{contrast-D78VGPFR-DwDZJU5K.js.map → contrast-BNoQruBh-DqunVBZ3.js.map} +1 -1
  55. package/app/dist/assets/{controller-Cb-96wE--CleoiTwB.js → controller-CZcQ57AP-BVDsIK7S.js} +2 -2
  56. package/app/dist/assets/{controller-Cb-96wE--CleoiTwB.js.map → controller-CZcQ57AP-BVDsIK7S.js.map} +1 -1
  57. package/app/dist/assets/{dev.utils-CwXr_J8N-UD7MeTqn.js → dev.utils-DDWOHUcg-CM0ISWhr.js} +4 -4
  58. package/app/dist/assets/{dev.utils-CwXr_J8N-UD7MeTqn.js.map → dev.utils-DDWOHUcg-CM0ISWhr.js.map} +1 -1
  59. package/app/dist/assets/devtools-B0kEE_za-3bxNUfxV.js +14 -0
  60. package/app/dist/assets/{devtools-QEDvmhav-CNr3f7eL.js.map → devtools-B0kEE_za-3bxNUfxV.js.map} +1 -1
  61. package/app/dist/assets/disabled-BZXlWAgK-BBL-u6vb.js +2 -0
  62. package/app/dist/assets/{disabled-Cqhc40CU-BHScweWX.js.map → disabled-BZXlWAgK-BBL-u6vb.js.map} +1 -1
  63. package/app/dist/assets/{field-control-BOsAM8BW-DH4wMN1D.js → field-control-DsQHa0v9-szn5CMOP.js} +2 -2
  64. package/app/dist/assets/{field-control-BOsAM8BW-DH4wMN1D.js.map → field-control-DsQHa0v9-szn5CMOP.js.map} +1 -1
  65. package/app/dist/assets/group-DUVsgWxS-BnIcXMSC.js +2 -0
  66. package/app/dist/assets/group-DUVsgWxS-BnIcXMSC.js.map +1 -0
  67. package/app/dist/assets/has-closer-DUB0QcS9-lD4R7rXd.js +2 -0
  68. package/app/dist/assets/{has-closer-B9NQY7BK-D85Oz6qP.js.map → has-closer-DUB0QcS9-lD4R7rXd.js.map} +1 -1
  69. package/app/dist/assets/href-CxokGOJ2-B6hLxJv-.js +2 -0
  70. package/app/dist/assets/{href-JqLbNBsW-D0hB2Sxe.js.map → href-CxokGOJ2-B6hLxJv-.js.map} +1 -1
  71. package/app/dist/assets/i18n-4J6U3ZDc-ZbifgdK4.js +2 -0
  72. package/app/dist/assets/i18n-4J6U3ZDc-ZbifgdK4.js.map +1 -0
  73. package/app/dist/assets/i18n-ePBcLlCr-BlGWhMFV.js +2 -0
  74. package/app/dist/assets/{i18n-DtLKn3Xt-xTjffd0e.js.map → i18n-ePBcLlCr-BlGWhMFV.js.map} +1 -1
  75. package/app/dist/assets/id-BI0ZuK17-CrPgfoBr.js +2 -0
  76. package/app/dist/assets/{id-CIYvVaNr-B4H1Ce3n.js.map → id-BI0ZuK17-CrPgfoBr.js.map} +1 -1
  77. package/app/dist/assets/index-CLKIaZWd.js +97 -0
  78. package/app/dist/assets/index-CLKIaZWd.js.map +1 -0
  79. package/app/dist/assets/index-CTU5mf3R.css +1 -0
  80. package/app/dist/assets/index-Dulj0jro-8Ox0fSXr.js +21 -0
  81. package/app/dist/assets/index-Dulj0jro-8Ox0fSXr.js.map +1 -0
  82. package/app/dist/assets/input-C0Li7DsE-CbUUtPHb.js +2 -0
  83. package/app/dist/assets/{input-C0kj1MmP-DcbMSrbF.js.map → input-C0Li7DsE-CbUUtPHb.js.map} +1 -1
  84. package/app/dist/assets/{input-container-B4TgBfDz-CcXTMe1g.js → input-container-DmtMTcjB-B6yPJ6TA.js} +2 -2
  85. package/app/dist/assets/{input-container-B4TgBfDz-CcXTMe1g.js.map → input-container-DmtMTcjB-B6yPJ6TA.js.map} +1 -1
  86. package/app/dist/assets/{item-e4SzwxHe-BwAMGL4h.js → item-8RKFpmbd-Cx8KTGa8.js} +2 -2
  87. package/app/dist/assets/{item-e4SzwxHe-BwAMGL4h.js.map → item-8RKFpmbd-Cx8KTGa8.js.map} +1 -1
  88. package/app/dist/assets/{item-DRC1CmzC-DlH4mvmb.js → item-CnJMuEyl-CHcF9ent.js} +2 -2
  89. package/app/dist/assets/{item-DRC1CmzC-DlH4mvmb.js.map → item-CnJMuEyl-CHcF9ent.js.map} +1 -1
  90. package/app/dist/assets/item-CxVe5INa-CklvuUqP.js +2 -0
  91. package/app/dist/assets/item-CxVe5INa-CklvuUqP.js.map +1 -0
  92. package/app/dist/assets/item-DHZGDrAn-BhpSe0Xg.js +2 -0
  93. package/app/dist/assets/item-DHZGDrAn-BhpSe0Xg.js.map +1 -0
  94. package/app/dist/assets/{kol-abbr.entry-CF8mpinl.js → kol-abbr.entry-BWLQqsSN.js} +2 -2
  95. package/app/dist/assets/{kol-abbr.entry-CF8mpinl.js.map → kol-abbr.entry-BWLQqsSN.js.map} +1 -1
  96. package/app/dist/assets/kol-accordion.entry-aaCl7Fl5.js +2 -0
  97. package/app/dist/assets/{kol-accordion.entry-tbpZI844.js.map → kol-accordion.entry-aaCl7Fl5.js.map} +1 -1
  98. package/app/dist/assets/kol-alert.entry-DzWgd6Yo.js +2 -0
  99. package/app/dist/assets/kol-alert.entry-DzWgd6Yo.js.map +1 -0
  100. package/app/dist/assets/{kol-avatar.entry-BaABg1mT.js → kol-avatar.entry-CcJlTjCn.js} +2 -2
  101. package/app/dist/assets/{kol-avatar.entry-BaABg1mT.js.map → kol-avatar.entry-CcJlTjCn.js.map} +1 -1
  102. package/app/dist/assets/kol-badge.entry-oFHae768.js +2 -0
  103. package/app/dist/assets/kol-badge.entry-oFHae768.js.map +1 -0
  104. package/app/dist/assets/{kol-breadcrumb.entry-DYDGnwam.js → kol-breadcrumb.entry-CCzjlFwh.js} +2 -2
  105. package/app/dist/assets/{kol-breadcrumb.entry-DYDGnwam.js.map → kol-breadcrumb.entry-CCzjlFwh.js.map} +1 -1
  106. package/app/dist/assets/kol-button-link.entry-OpJAjU1b.js +2 -0
  107. package/app/dist/assets/kol-button-link.entry-OpJAjU1b.js.map +1 -0
  108. package/app/dist/assets/kol-button.entry-DwBVjAHe.js +2 -0
  109. package/app/dist/assets/kol-button.entry-DwBVjAHe.js.map +1 -0
  110. package/app/dist/assets/kol-card.entry-DIzLeN2t.js +2 -0
  111. package/app/dist/assets/kol-card.entry-DIzLeN2t.js.map +1 -0
  112. package/app/dist/assets/kol-combobox.entry-CsFJXZl3.js +2 -0
  113. package/app/dist/assets/kol-combobox.entry-CsFJXZl3.js.map +1 -0
  114. package/app/dist/assets/kol-details.entry-D1AlSvno.js +2 -0
  115. package/app/dist/assets/{kol-details.entry-zmNm7saR.js.map → kol-details.entry-D1AlSvno.js.map} +1 -1
  116. package/app/dist/assets/kol-dialog.entry-DpkRIZS0.js +2 -0
  117. package/app/dist/assets/kol-dialog.entry-DpkRIZS0.js.map +1 -0
  118. package/app/dist/assets/kol-drawer.entry-C8ni82fe.js +2 -0
  119. package/app/dist/assets/kol-drawer.entry-C8ni82fe.js.map +1 -0
  120. package/app/dist/assets/kol-form.entry-DUCWLXlM.js +2 -0
  121. package/app/dist/assets/kol-form.entry-DUCWLXlM.js.map +1 -0
  122. package/app/dist/assets/{kol-heading.entry-DvEfQBAi.js → kol-heading.entry-CoeX4sO9.js} +2 -2
  123. package/app/dist/assets/{kol-heading.entry-DvEfQBAi.js.map → kol-heading.entry-CoeX4sO9.js.map} +1 -1
  124. package/app/dist/assets/kol-icon.entry-CspA1X40.js +2 -0
  125. package/app/dist/assets/kol-icon.entry-CspA1X40.js.map +1 -0
  126. package/app/dist/assets/{kol-image.entry-g6upni6u.js → kol-image.entry-rmMCAq0Q.js} +2 -2
  127. package/app/dist/assets/kol-image.entry-rmMCAq0Q.js.map +1 -0
  128. package/app/dist/assets/kol-input-checkbox.entry-NfECjh4U.js +2 -0
  129. package/app/dist/assets/kol-input-checkbox.entry-NfECjh4U.js.map +1 -0
  130. package/app/dist/assets/kol-input-color.entry-DiQLgKVq.js +2 -0
  131. package/app/dist/assets/kol-input-color.entry-DiQLgKVq.js.map +1 -0
  132. package/app/dist/assets/kol-input-date.entry-Ddp5hwUc.js +2 -0
  133. package/app/dist/assets/kol-input-date.entry-Ddp5hwUc.js.map +1 -0
  134. package/app/dist/assets/kol-input-email.entry-CbPqXCJa.js +2 -0
  135. package/app/dist/assets/kol-input-email.entry-CbPqXCJa.js.map +1 -0
  136. package/app/dist/assets/kol-input-file.entry-DvIstOXA.js +2 -0
  137. package/app/dist/assets/kol-input-file.entry-DvIstOXA.js.map +1 -0
  138. package/app/dist/assets/kol-input-number.entry-a_iF3T9h.js +2 -0
  139. package/app/dist/assets/kol-input-number.entry-a_iF3T9h.js.map +1 -0
  140. package/app/dist/assets/kol-input-password.entry-CcPQXQjc.js +2 -0
  141. package/app/dist/assets/kol-input-password.entry-CcPQXQjc.js.map +1 -0
  142. package/app/dist/assets/kol-input-radio.entry-DIdsCJdw.js +2 -0
  143. package/app/dist/assets/kol-input-radio.entry-DIdsCJdw.js.map +1 -0
  144. package/app/dist/assets/{kol-input-email.entry-rXzmsk2J.js → kol-input-range.entry-BxHBdzWP.js} +2 -2
  145. package/app/dist/assets/kol-input-range.entry-BxHBdzWP.js.map +1 -0
  146. package/app/dist/assets/kol-input-text.entry-CY1rRpZI.js +2 -0
  147. package/app/dist/assets/kol-input-text.entry-CY1rRpZI.js.map +1 -0
  148. package/app/dist/assets/{kol-kolibri.entry-R0tAAoXi.js → kol-kolibri.entry-t77pU_49.js} +2 -2
  149. package/app/dist/assets/{kol-kolibri.entry-R0tAAoXi.js.map → kol-kolibri.entry-t77pU_49.js.map} +1 -1
  150. package/app/dist/assets/{kol-modal.entry-DTMM9y0V.js → kol-link-button.entry-CjhVarNx.js} +2 -2
  151. package/app/dist/assets/kol-link-button.entry-CjhVarNx.js.map +1 -0
  152. package/app/dist/assets/{kol-link.entry-B06TF9KE.js → kol-link.entry-CKZO9R5Y.js} +2 -2
  153. package/app/dist/assets/{kol-link.entry-B06TF9KE.js.map → kol-link.entry-CKZO9R5Y.js.map} +1 -1
  154. package/app/dist/assets/kol-meter.entry-B_6fAr_V.js +2 -0
  155. package/app/dist/assets/kol-meter.entry-B_6fAr_V.js.map +1 -0
  156. package/app/dist/assets/kol-modal.entry-BHgF2LV-.js +2 -0
  157. package/app/dist/assets/kol-modal.entry-BHgF2LV-.js.map +1 -0
  158. package/app/dist/assets/kol-nav.entry-MTMiiBwM.js +2 -0
  159. package/app/dist/assets/kol-nav.entry-MTMiiBwM.js.map +1 -0
  160. package/app/dist/assets/kol-pagination.entry-CUqlfMo0.js +2 -0
  161. package/app/dist/assets/kol-pagination.entry-CUqlfMo0.js.map +1 -0
  162. package/app/dist/assets/kol-popover-button.entry-BPlh6dix.js +2 -0
  163. package/app/dist/assets/kol-popover-button.entry-BPlh6dix.js.map +1 -0
  164. package/app/dist/assets/kol-progress.entry-gUQXBV7r.js +2 -0
  165. package/app/dist/assets/kol-progress.entry-gUQXBV7r.js.map +1 -0
  166. package/app/dist/assets/{kol-quote.entry-BuPOzOpN.js → kol-quote.entry-TNe-QGzq.js} +2 -2
  167. package/app/dist/assets/{kol-quote.entry-BuPOzOpN.js.map → kol-quote.entry-TNe-QGzq.js.map} +1 -1
  168. package/app/dist/assets/kol-select.entry-cZG2u8oL.js +2 -0
  169. package/app/dist/assets/kol-select.entry-cZG2u8oL.js.map +1 -0
  170. package/app/dist/assets/kol-single-select.entry-CLRrIf9-.js +2 -0
  171. package/app/dist/assets/kol-single-select.entry-CLRrIf9-.js.map +1 -0
  172. package/app/dist/assets/kol-skip-nav.entry-DtX8kA6M.js +2 -0
  173. package/app/dist/assets/{kol-skip-nav.entry-BG23tccy.js.map → kol-skip-nav.entry-DtX8kA6M.js.map} +1 -1
  174. package/app/dist/assets/{kol-spin.entry-DNFSKr1v.js → kol-spin.entry-24Ur1GwB.js} +2 -2
  175. package/app/dist/assets/{kol-spin.entry-DNFSKr1v.js.map → kol-spin.entry-24Ur1GwB.js.map} +1 -1
  176. package/app/dist/assets/kol-split-button.entry-BCGVqblv.js +2 -0
  177. package/app/dist/assets/kol-split-button.entry-BCGVqblv.js.map +1 -0
  178. package/app/dist/assets/kol-table-stateful.entry-CVh-vVbb.js +2 -0
  179. package/app/dist/assets/kol-table-stateful.entry-CVh-vVbb.js.map +1 -0
  180. package/app/dist/assets/kol-table-stateless.entry-Da9fWO7t.js +2 -0
  181. package/app/dist/assets/kol-table-stateless.entry-Da9fWO7t.js.map +1 -0
  182. package/app/dist/assets/kol-tabs.entry-jwmsVe8w.js +2 -0
  183. package/app/dist/assets/kol-tabs.entry-jwmsVe8w.js.map +1 -0
  184. package/app/dist/assets/kol-textarea.entry-BCysUEeb.js +2 -0
  185. package/app/dist/assets/kol-textarea.entry-BCysUEeb.js.map +1 -0
  186. package/app/dist/assets/kol-toast-container.entry-CJBWCvZX.js +2 -0
  187. package/app/dist/assets/kol-toast-container.entry-CJBWCvZX.js.map +1 -0
  188. package/app/dist/assets/kol-toolbar.entry-BsO6SiwZ.js +2 -0
  189. package/app/dist/assets/kol-toolbar.entry-BsO6SiwZ.js.map +1 -0
  190. package/app/dist/assets/kol-tooltip-wc.entry-hTV2Z68C.js +2 -0
  191. package/app/dist/assets/kol-tooltip-wc.entry-hTV2Z68C.js.map +1 -0
  192. package/app/dist/assets/{kol-tree-item.entry-Beeg6PAI.js → kol-tree-item.entry-IpYfxMIy.js} +2 -2
  193. package/app/dist/assets/{kol-tree-item.entry-Beeg6PAI.js.map → kol-tree-item.entry-IpYfxMIy.js.map} +1 -1
  194. package/app/dist/assets/kol-tree.entry-jP3slDb_.js +2 -0
  195. package/app/dist/assets/kol-tree.entry-jP3slDb_.js.map +1 -0
  196. package/app/dist/assets/kol-version.entry-Ckg840YQ.js +2 -0
  197. package/app/dist/assets/kol-version.entry-Ckg840YQ.js.map +1 -0
  198. package/app/dist/assets/kolicons/kolicons.eot +0 -0
  199. package/app/dist/assets/kolicons/kolicons.ttf +0 -0
  200. package/app/dist/assets/kolicons/kolicons.woff +0 -0
  201. package/app/dist/assets/kolicons/kolicons.woff2 +0 -0
  202. package/app/dist/assets/kolicons/style.css +6 -6
  203. package/app/dist/assets/label-B-Dr7VaP-DnDMkZGo.js +2 -0
  204. package/app/dist/assets/{label-BRosRgdX-0xlyQpp4.js.map → label-B-Dr7VaP-DnDMkZGo.js.map} +1 -1
  205. package/app/dist/assets/label-hints-CLMiVvfk-5Lpyrko9.js +2 -0
  206. package/app/dist/assets/{label-hints-Jn18RUT--BrogbbJr.js.map → label-hints-CLMiVvfk-5Lpyrko9.js.map} +1 -1
  207. package/app/dist/assets/label-lang-segment-iVD9hoM3-pWUiTb1Y.js +2 -0
  208. package/app/dist/assets/{label-lang-segment-2_GnxjFp-DVzZ39jn.js.map → label-lang-segment-iVD9hoM3-pWUiTb1Y.js.map} +1 -1
  209. package/app/dist/assets/label-with-expert-slot-BbZ9nx0l-Byfpzyhg.js +2 -0
  210. package/app/dist/assets/{label-with-expert-slot-CicRes-W-LVsp3uAR.js.map → label-with-expert-slot-BbZ9nx0l-Byfpzyhg.js.map} +1 -1
  211. package/app/dist/assets/level-DsQ_pcyD-DcQzY0X8.js +2 -0
  212. package/app/dist/assets/{level-CA1s1_Mf-Bmffi1ui.js.map → level-DsQ_pcyD-DcQzY0X8.js.map} +1 -1
  213. package/app/dist/assets/link-target-D7lYILOV-dabgDsfk.js +2 -0
  214. package/app/dist/assets/{link-target-FX94oqMo-BnofaxxF.js.map → link-target-D7lYILOV-dabgDsfk.js.map} +1 -1
  215. package/app/dist/assets/links-IkK4zoXw-BExkWF8k.js +2 -0
  216. package/app/dist/assets/{links-DwucTqcR-9HzOTh4d.js.map → links-IkK4zoXw-BExkWF8k.js.map} +1 -1
  217. package/app/dist/assets/multiple--ay1C1n3-BLf0hrCd.js +2 -0
  218. package/app/dist/assets/{multiple-DqrZxybx-BhYus2nF.js.map → multiple--ay1C1n3-BLf0hrCd.js.map} +1 -1
  219. package/app/dist/assets/{number-value-B-SJ1dRo-Dvr7fYgt.js → number-value-Dl9-2O4r-C6nDL_3o.js} +2 -2
  220. package/app/dist/assets/{number-value-B-SJ1dRo-Dvr7fYgt.js.map → number-value-Dl9-2O4r-C6nDL_3o.js.map} +1 -1
  221. package/app/dist/assets/open-CNHJhHsy-Mkgm0Mb-.js +2 -0
  222. package/app/dist/assets/{open-DRRv1KFK-DpffXVVz.js.map → open-CNHJhHsy-Mkgm0Mb-.js.map} +1 -1
  223. package/app/dist/assets/{options-DCaUcfAu-CZ85a3Rc.js → options-DwO32GBF-B76DjEFu.js} +2 -2
  224. package/app/dist/assets/{options-DCaUcfAu-CZ85a3Rc.js.map → options-DwO32GBF-B76DjEFu.js.map} +1 -1
  225. package/app/dist/assets/{orientation-XNOCaPwy-CpJSLpz5.js → orientation-ChJ0S24M-D-wTlbmi.js} +2 -2
  226. package/app/dist/assets/{orientation-XNOCaPwy-CpJSLpz5.js.map → orientation-ChJ0S24M-D-wTlbmi.js.map} +1 -1
  227. package/app/dist/assets/placeholder-UxmBJ4Vl-fxuimqIA.js +2 -0
  228. package/app/dist/assets/{placeholder-BeLIzdJv-oDzatuVl.js.map → placeholder-UxmBJ4Vl-fxuimqIA.js.map} +1 -1
  229. package/app/dist/assets/{props-from-config-Ci0dILpz-D6Gkf3-U.js → props-from-config-ytxYrJUY-DeW8EjEQ.js} +2 -2
  230. package/app/dist/assets/{props-from-config-Ci0dILpz-D6Gkf3-U.js.map → props-from-config-ytxYrJUY-DeW8EjEQ.js.map} +1 -1
  231. package/app/dist/assets/read-only-DytZ5HZJ-1dR2NlPR.js +2 -0
  232. package/app/dist/assets/{read-only-Bby9r6ZX-D40Zoeqp.js.map → read-only-DytZ5HZJ-1dR2NlPR.js.map} +1 -1
  233. package/app/dist/assets/required-BriHhuO4-BMMDf_oV.js +2 -0
  234. package/app/dist/assets/{required-hoaT7UmZ-Und9IBK6.js.map → required-BriHhuO4-BMMDf_oV.js.map} +1 -1
  235. package/app/dist/assets/{resolve-props-CqTztQhV-D0vp8h4M.js → resolve-props-02J6OCRf-BU0PT4Tf.js} +2 -2
  236. package/app/dist/assets/{resolve-props-CqTztQhV-D0vp8h4M.js.map → resolve-props-02J6OCRf-BU0PT4Tf.js.map} +1 -1
  237. package/app/dist/assets/resolve-props-Bj6IaybL-yLQmc-lY.js +2 -0
  238. package/app/dist/assets/resolve-props-Bj6IaybL-yLQmc-lY.js.map +1 -0
  239. package/app/dist/assets/rows-I1jrTjzU-C8vVJiU2.js +2 -0
  240. package/app/dist/assets/{rows-B0x8CR7K-BbHjVC4J.js.map → rows-I1jrTjzU-C8vVJiU2.js.map} +1 -1
  241. package/app/dist/assets/{scroll-lock-CKnC0y0o-C-49_KEv.js → scroll-lock-B6hVv8A8-BtYr3A_0.js} +2 -2
  242. package/app/dist/assets/{scroll-lock-CKnC0y0o-C-49_KEv.js.map → scroll-lock-B6hVv8A8-BtYr3A_0.js.map} +1 -1
  243. package/app/dist/assets/smart-button-DM5g48-g-C2E8QlTB.js +2 -0
  244. package/app/dist/assets/{smart-button-CS_ZriPt-2WKOFtbu.js.map → smart-button-DM5g48-g-C2E8QlTB.js.map} +1 -1
  245. package/app/dist/assets/spell-check-BWCnJG5v-XGnmql5V.js +2 -0
  246. package/app/dist/assets/{spell-check-DzgftyqL-ReFaZM-N.js.map → spell-check-BWCnJG5v-XGnmql5V.js.map} +1 -1
  247. package/app/dist/assets/src-ziOwSglN-LiatyVUT.js +2 -0
  248. package/app/dist/assets/{src-DaGhmCL1-B12NGDxG.js.map → src-ziOwSglN-LiatyVUT.js.map} +1 -1
  249. package/app/dist/assets/step-BcyhvRtu-XbkB7c4J.js +2 -0
  250. package/app/dist/assets/{step-Bdj89bGO-BMPjvq5k.js.map → step-BcyhvRtu-XbkB7c4J.js.map} +1 -1
  251. package/app/dist/assets/suggestions-DaB3FVaz-11p_1H-V.js +2 -0
  252. package/app/dist/assets/{suggestions-Be1_H9fA-CU2R31w-.js.map → suggestions-DaB3FVaz-11p_1H-V.js.map} +1 -1
  253. package/app/dist/assets/{suggestions-Dy1X-Pc3-CCwEcL_l.js → suggestions-LO267l8F-DFh_wROK.js} +2 -2
  254. package/app/dist/assets/{suggestions-Dy1X-Pc3-CCwEcL_l.js.map → suggestions-LO267l8F-DFh_wROK.js.map} +1 -1
  255. package/app/dist/assets/test-component.entry-CM1dRdy4.js +2 -0
  256. package/app/dist/assets/test-component.entry-CM1dRdy4.js.map +1 -0
  257. package/app/dist/assets/{toggle-handler-Cjc991vd-DIOoDPz1.js → toggle-handler-3qaN2kmt-v3IVTC3G.js} +2 -2
  258. package/app/dist/assets/{toggle-handler-Cjc991vd-DIOoDPz1.js.map → toggle-handler-3qaN2kmt-v3IVTC3G.js.map} +1 -1
  259. package/app/dist/assets/unique-nav-labels-CxFUYSVY-BhVgIYEK.js +2 -0
  260. package/app/dist/assets/{unique-nav-labels-h2KOu5Qy-ofO6CNz8.js.map → unique-nav-labels-CxFUYSVY-BhVgIYEK.js.map} +1 -1
  261. package/app/dist/assets/unit-1ix-K9SD-Bn-ApnCd.js +2 -0
  262. package/app/dist/assets/{unit-BUhhJbhT-DayVlmxO.js.map → unit-1ix-K9SD-Bn-ApnCd.js.map} +1 -1
  263. package/app/dist/assets/validators-CTjxOidB-D7Pl-9FJ.js +2 -0
  264. package/app/dist/assets/validators-CTjxOidB-D7Pl-9FJ.js.map +1 -0
  265. package/app/dist/assets/value-string-CxDz7dhD-nAePe4Ta.js +2 -0
  266. package/app/dist/assets/value-string-CxDz7dhD-nAePe4Ta.js.map +1 -0
  267. package/app/dist/assets/{width-CgYY17tL-jYD2--SK.js → width-C1_yZHyL-BfOPbv54.js} +2 -2
  268. package/app/dist/assets/{width-CgYY17tL-jYD2--SK.js.map → width-C1_yZHyL-BfOPbv54.js.map} +1 -1
  269. package/app/dist/index.html +4 -4
  270. package/app/public/assets/kolicons/kolicons.eot +0 -0
  271. package/app/public/assets/kolicons/kolicons.ttf +0 -0
  272. package/app/public/assets/kolicons/kolicons.woff +0 -0
  273. package/app/public/assets/kolicons/kolicons.woff2 +0 -0
  274. package/app/public/assets/kolicons/style.css +6 -6
  275. package/package.json +5 -5
  276. package/app/dist/assets/api-DhMNvXtN-C_NVOnYW.js +0 -2
  277. package/app/dist/assets/api-DhMNvXtN-C_NVOnYW.js.map +0 -1
  278. package/app/dist/assets/base-CJ5WCVaj-CEeX_jxi.js +0 -2
  279. package/app/dist/assets/base-CJ5WCVaj-CEeX_jxi.js.map +0 -1
  280. package/app/dist/assets/base-DV_Pzm7z-BdCQsHVp.js +0 -2
  281. package/app/dist/assets/base-DV_Pzm7z-BdCQsHVp.js.map +0 -1
  282. package/app/dist/assets/behavior-BMXrK4gj-BB7I1Lo7.js +0 -2
  283. package/app/dist/assets/behavior-BMXrK4gj-BB7I1Lo7.js.map +0 -1
  284. package/app/dist/assets/block-bem-BpQSY04L-CRt3xbMV.js +0 -2
  285. package/app/dist/assets/component-BiYFPpjn-BYJKeDSX.js +0 -2
  286. package/app/dist/assets/component-ChtW1HQv-DoO-XUPL.js +0 -2
  287. package/app/dist/assets/component-Db9HadXA-BiKSmooR.js +0 -2
  288. package/app/dist/assets/component-Db9HadXA-BiKSmooR.js.map +0 -1
  289. package/app/dist/assets/component-Dt6efHXY-B3OcDaBv.js +0 -2
  290. package/app/dist/assets/component-Dt6efHXY-B3OcDaBv.js.map +0 -1
  291. package/app/dist/assets/component-scm3PBuq-BjdxjHDN.js +0 -2
  292. package/app/dist/assets/contrast-D78VGPFR-DwDZJU5K.js +0 -2
  293. package/app/dist/assets/devtools-QEDvmhav-CNr3f7eL.js +0 -14
  294. package/app/dist/assets/disabled-Cqhc40CU-BHScweWX.js +0 -2
  295. package/app/dist/assets/group-D4WbZY27-ClU2PNGf.js +0 -2
  296. package/app/dist/assets/group-D4WbZY27-ClU2PNGf.js.map +0 -1
  297. package/app/dist/assets/has-closer-B9NQY7BK-D85Oz6qP.js +0 -2
  298. package/app/dist/assets/href-JqLbNBsW-D0hB2Sxe.js +0 -2
  299. package/app/dist/assets/i18n-Dl6Jjofb-CX4anLip.js +0 -2
  300. package/app/dist/assets/i18n-Dl6Jjofb-CX4anLip.js.map +0 -1
  301. package/app/dist/assets/i18n-DtLKn3Xt-xTjffd0e.js +0 -2
  302. package/app/dist/assets/id-CIYvVaNr-B4H1Ce3n.js +0 -2
  303. package/app/dist/assets/index-D_P2XoAc-C0ENoKkW.js +0 -21
  304. package/app/dist/assets/index-D_P2XoAc-C0ENoKkW.js.map +0 -1
  305. package/app/dist/assets/index-DuT7dHeQ.js +0 -97
  306. package/app/dist/assets/index-DuT7dHeQ.js.map +0 -1
  307. package/app/dist/assets/index-bCXYy6FD.css +0 -1
  308. package/app/dist/assets/input-C0kj1MmP-DcbMSrbF.js +0 -2
  309. package/app/dist/assets/item-BMniY_My-DKm69nm3.js +0 -2
  310. package/app/dist/assets/item-BMniY_My-DKm69nm3.js.map +0 -1
  311. package/app/dist/assets/item-WrCdQw7F-D20jHl_q.js +0 -2
  312. package/app/dist/assets/item-WrCdQw7F-D20jHl_q.js.map +0 -1
  313. package/app/dist/assets/kol-accordion.entry-tbpZI844.js +0 -2
  314. package/app/dist/assets/kol-alert.entry-DFtCULom.js +0 -2
  315. package/app/dist/assets/kol-alert.entry-DFtCULom.js.map +0 -1
  316. package/app/dist/assets/kol-badge.entry-DK9Q6A5Q.js +0 -2
  317. package/app/dist/assets/kol-badge.entry-DK9Q6A5Q.js.map +0 -1
  318. package/app/dist/assets/kol-button-link.entry-DB9t_GP0.js +0 -2
  319. package/app/dist/assets/kol-button-link.entry-DB9t_GP0.js.map +0 -1
  320. package/app/dist/assets/kol-button.entry-BfaqWWwM.js +0 -2
  321. package/app/dist/assets/kol-button.entry-BfaqWWwM.js.map +0 -1
  322. package/app/dist/assets/kol-card.entry-Nyac5Pkq.js +0 -2
  323. package/app/dist/assets/kol-card.entry-Nyac5Pkq.js.map +0 -1
  324. package/app/dist/assets/kol-click-button.entry-CkFR_dWc.js +0 -2
  325. package/app/dist/assets/kol-click-button.entry-CkFR_dWc.js.map +0 -1
  326. package/app/dist/assets/kol-combobox.entry-BcaQM57t.js +0 -2
  327. package/app/dist/assets/kol-combobox.entry-BcaQM57t.js.map +0 -1
  328. package/app/dist/assets/kol-details.entry-zmNm7saR.js +0 -2
  329. package/app/dist/assets/kol-dialog.entry-CB7HTin2.js +0 -2
  330. package/app/dist/assets/kol-dialog.entry-CB7HTin2.js.map +0 -1
  331. package/app/dist/assets/kol-drawer.entry-CNs6Lnix.js +0 -2
  332. package/app/dist/assets/kol-drawer.entry-CNs6Lnix.js.map +0 -1
  333. package/app/dist/assets/kol-form.entry-BVdBjqml.js +0 -2
  334. package/app/dist/assets/kol-form.entry-BVdBjqml.js.map +0 -1
  335. package/app/dist/assets/kol-icon.entry-DKhcLeat.js +0 -2
  336. package/app/dist/assets/kol-icon.entry-DKhcLeat.js.map +0 -1
  337. package/app/dist/assets/kol-image.entry-g6upni6u.js.map +0 -1
  338. package/app/dist/assets/kol-input-checkbox.entry-DZ8n_lbG.js +0 -2
  339. package/app/dist/assets/kol-input-checkbox.entry-DZ8n_lbG.js.map +0 -1
  340. package/app/dist/assets/kol-input-color.entry-NWrWEBYj.js +0 -2
  341. package/app/dist/assets/kol-input-color.entry-NWrWEBYj.js.map +0 -1
  342. package/app/dist/assets/kol-input-date.entry-DI4lssME.js +0 -2
  343. package/app/dist/assets/kol-input-date.entry-DI4lssME.js.map +0 -1
  344. package/app/dist/assets/kol-input-email.entry-rXzmsk2J.js.map +0 -1
  345. package/app/dist/assets/kol-input-file.entry-BHtelduP.js +0 -2
  346. package/app/dist/assets/kol-input-file.entry-BHtelduP.js.map +0 -1
  347. package/app/dist/assets/kol-input-number.entry-C7PG1Qde.js +0 -2
  348. package/app/dist/assets/kol-input-number.entry-C7PG1Qde.js.map +0 -1
  349. package/app/dist/assets/kol-input-password.entry-6YCPRiwG.js +0 -2
  350. package/app/dist/assets/kol-input-password.entry-6YCPRiwG.js.map +0 -1
  351. package/app/dist/assets/kol-input-radio.entry-FyJXfckb.js +0 -2
  352. package/app/dist/assets/kol-input-radio.entry-FyJXfckb.js.map +0 -1
  353. package/app/dist/assets/kol-input-range.entry-Dyllh8rR.js +0 -2
  354. package/app/dist/assets/kol-input-range.entry-Dyllh8rR.js.map +0 -1
  355. package/app/dist/assets/kol-input-text.entry-B14YJHpj.js +0 -2
  356. package/app/dist/assets/kol-input-text.entry-B14YJHpj.js.map +0 -1
  357. package/app/dist/assets/kol-link-button.entry-Dfo_3lrk.js +0 -2
  358. package/app/dist/assets/kol-link-button.entry-Dfo_3lrk.js.map +0 -1
  359. package/app/dist/assets/kol-meter.entry-Vb2AE2Nr.js +0 -2
  360. package/app/dist/assets/kol-meter.entry-Vb2AE2Nr.js.map +0 -1
  361. package/app/dist/assets/kol-modal.entry-DTMM9y0V.js.map +0 -1
  362. package/app/dist/assets/kol-nav.entry-DZ7pSAfY.js +0 -2
  363. package/app/dist/assets/kol-nav.entry-DZ7pSAfY.js.map +0 -1
  364. package/app/dist/assets/kol-pagination.entry-B-xmuB3y.js +0 -2
  365. package/app/dist/assets/kol-pagination.entry-B-xmuB3y.js.map +0 -1
  366. package/app/dist/assets/kol-popover-button.entry-BsMQXz0K.js +0 -2
  367. package/app/dist/assets/kol-popover-button.entry-BsMQXz0K.js.map +0 -1
  368. package/app/dist/assets/kol-progress.entry-C1c5qM-E.js +0 -2
  369. package/app/dist/assets/kol-progress.entry-C1c5qM-E.js.map +0 -1
  370. package/app/dist/assets/kol-select.entry-Bex23E6i.js +0 -2
  371. package/app/dist/assets/kol-select.entry-Bex23E6i.js.map +0 -1
  372. package/app/dist/assets/kol-single-select.entry-CtBUhqkA.js +0 -2
  373. package/app/dist/assets/kol-single-select.entry-CtBUhqkA.js.map +0 -1
  374. package/app/dist/assets/kol-skeleton.entry-DKZ2HHKl.js +0 -2
  375. package/app/dist/assets/kol-skeleton.entry-DKZ2HHKl.js.map +0 -1
  376. package/app/dist/assets/kol-skip-nav.entry-BG23tccy.js +0 -2
  377. package/app/dist/assets/kol-split-button.entry-DszTQcG5.js +0 -2
  378. package/app/dist/assets/kol-split-button.entry-DszTQcG5.js.map +0 -1
  379. package/app/dist/assets/kol-table-stateful.entry-CXelnitW.js +0 -2
  380. package/app/dist/assets/kol-table-stateful.entry-CXelnitW.js.map +0 -1
  381. package/app/dist/assets/kol-table-stateless.entry-CM4-jBCb.js +0 -2
  382. package/app/dist/assets/kol-table-stateless.entry-CM4-jBCb.js.map +0 -1
  383. package/app/dist/assets/kol-tabs.entry-CBTpHpL8.js +0 -2
  384. package/app/dist/assets/kol-tabs.entry-CBTpHpL8.js.map +0 -1
  385. package/app/dist/assets/kol-textarea.entry-CEuxGSLt.js +0 -2
  386. package/app/dist/assets/kol-textarea.entry-CEuxGSLt.js.map +0 -1
  387. package/app/dist/assets/kol-toast-container.entry-nkCZ8JkJ.js +0 -2
  388. package/app/dist/assets/kol-toast-container.entry-nkCZ8JkJ.js.map +0 -1
  389. package/app/dist/assets/kol-toolbar.entry-D3qekCBY.js +0 -2
  390. package/app/dist/assets/kol-toolbar.entry-D3qekCBY.js.map +0 -1
  391. package/app/dist/assets/kol-tooltip-wc.entry-Da8XsdB_.js +0 -2
  392. package/app/dist/assets/kol-tooltip-wc.entry-Da8XsdB_.js.map +0 -1
  393. package/app/dist/assets/kol-tree.entry-BaKIyQKG.js +0 -2
  394. package/app/dist/assets/kol-tree.entry-BaKIyQKG.js.map +0 -1
  395. package/app/dist/assets/kol-version.entry-DfWLO62h.js +0 -2
  396. package/app/dist/assets/kol-version.entry-DfWLO62h.js.map +0 -1
  397. package/app/dist/assets/label-BRosRgdX-0xlyQpp4.js +0 -2
  398. package/app/dist/assets/label-hints-Jn18RUT--BrogbbJr.js +0 -2
  399. package/app/dist/assets/label-lang-segment-2_GnxjFp-DVzZ39jn.js +0 -2
  400. package/app/dist/assets/label-with-expert-slot-CicRes-W-LVsp3uAR.js +0 -2
  401. package/app/dist/assets/level-CA1s1_Mf-Bmffi1ui.js +0 -2
  402. package/app/dist/assets/link-target-FX94oqMo-BnofaxxF.js +0 -2
  403. package/app/dist/assets/links-DwucTqcR-9HzOTh4d.js +0 -2
  404. package/app/dist/assets/multiple-DqrZxybx-BhYus2nF.js +0 -2
  405. package/app/dist/assets/name-B2Yf3EpX-BQu5nHn0.js +0 -2
  406. package/app/dist/assets/name-B2Yf3EpX-BQu5nHn0.js.map +0 -1
  407. package/app/dist/assets/open-DRRv1KFK-DpffXVVz.js +0 -2
  408. package/app/dist/assets/placeholder-BeLIzdJv-oDzatuVl.js +0 -2
  409. package/app/dist/assets/read-only-Bby9r6ZX-D40Zoeqp.js +0 -2
  410. package/app/dist/assets/required-hoaT7UmZ-Und9IBK6.js +0 -2
  411. package/app/dist/assets/resolve-props-B-67viId-CTlCz62c.js +0 -2
  412. package/app/dist/assets/resolve-props-B-67viId-CTlCz62c.js.map +0 -1
  413. package/app/dist/assets/rows-B0x8CR7K-BbHjVC4J.js +0 -2
  414. package/app/dist/assets/smart-button-CS_ZriPt-2WKOFtbu.js +0 -2
  415. package/app/dist/assets/spell-check-DzgftyqL-ReFaZM-N.js +0 -2
  416. package/app/dist/assets/src-DaGhmCL1-B12NGDxG.js +0 -2
  417. package/app/dist/assets/step-Bdj89bGO-BMPjvq5k.js +0 -2
  418. package/app/dist/assets/suggestions-Be1_H9fA-CU2R31w-.js +0 -2
  419. package/app/dist/assets/test-component.entry-DUkPYxQo.js +0 -2
  420. package/app/dist/assets/test-component.entry-DUkPYxQo.js.map +0 -1
  421. package/app/dist/assets/unique-nav-labels-h2KOu5Qy-ofO6CNz8.js +0 -2
  422. package/app/dist/assets/unit-BUhhJbhT-DayVlmxO.js +0 -2
  423. package/app/dist/assets/validators-BVM40IEr-Bq2Fqy3U.js +0 -2
  424. package/app/dist/assets/validators-BVM40IEr-Bq2Fqy3U.js.map +0 -1
  425. package/app/dist/assets/value-string-e9pwLcS--CK11wfbw.js +0 -2
  426. package/app/dist/assets/value-string-e9pwLcS--CK11wfbw.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"base-web-component-ug9DZUOx-BsSNYQEY.js","names":["parseJson","h","a11yHint","shortKeyProp","variantProp","accessKeyProp","tabIndexProp","getInputAdornments","horizontalIconsProp","InputContainerFC","hasEnoughReadableChars","containsOnlyNumbers","createPropDefinition","multipleProp","requiredProp","rowsProp","formFieldBasePropsConfig","isMsgDefinedAndInputTouched","FormFieldFC","getDefaultInputProps","getMsgType","BaseFormFieldWebComponent","validateAccessAndShortKey","clsx","fillKeyOptionMap","__rest","getBlockBem","validateInputSelectOptions","option","item","normalizeOptionsWithOptgroup","parsed","value","optionsWithOptgroupProp","selectValueProp","selectPropsConfig","selectBem","SelectOptionFC","classNames","_a","other","isSelected","selected","selectedValue","disabled","index","label","SelectOptionListFC","options","Fragment","key","preKey","isOptgroupDisabled","OptionGroupProps","OptionProps","SelectFC","props","selectProps","required","touched","msg","assertSelectValueMatchesMultiplicity","isArray","multiple","source","flattenSelectOptions","entry","groupDisabled","normalizeSelectValue","flatOptions","optionValues","filtered","firstEnabled","BaseSelectWebComponent","selectedValues","event","singleValue","v","setValue","normalized","list","shortKey","hasError"],"sources":["../../../../../components/dist/esm/base-web-component-ug9DZUOx.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { n as a11yHint, p as parseJson } from './common-OzsC_6kt.js';\nimport { a as accessKeyProp, d as shortKeyProp, t as tabIndexProp, v as variantProp } from './component-BvvE8aim.js';\nimport { h as horizontalIconsProp, g as getInputAdornments, I as InputContainerFC } from './input-container-B4TgBfDz.js';\nimport { j as hasEnoughReadableChars, m as containsOnlyNumbers, c as createPropDefinition } from './props-from-config-Ci0dILpz.js';\nimport { m as multipleProp } from './multiple-DqrZxybx.js';\nimport { r as requiredProp } from './required-hoaT7UmZ.js';\nimport { r as rowsProp } from './rows-B0x8CR7K.js';\nimport { f as formFieldBasePropsConfig, i as isMsgDefinedAndInputTouched, g as getMsgType, c as getDefaultInputProps, B as BaseFormFieldWebComponent, F as FormFieldFC } from './api-DhMNvXtN.js';\nimport { h, F as Fragment } from './index-D_P2XoAc.js';\nimport { v as validateAccessAndShortKey } from './access-and-short-key-ijzCZfHm.js';\nimport { c as clsx } from './clsx-COFh-Vc8.js';\nimport { f as fillKeyOptionMap } from './options-B0rBHetL.js';\nimport { a as __rest } from './tslib.es6-QNbPBOk5.js';\nimport { g as getBlockBem } from './block-bem-BpQSY04L.js';\n\nconst validateInputSelectOptions = (option) => {\n if (typeof option === 'object' && option !== null) {\n if (typeof option.label === 'string' && option.label.length > 0) {\n option.disabled = option.disabled === true;\n option.label = `${option.label}`.trim();\n if (hasEnoughReadableChars(option.label, 3) === false && containsOnlyNumbers(option.label) === false) {\n a11yHint(`A differing Aria-Label (${option.label}) is inaccessible. A differing Aria-Label should consist of at least three readable characters.`);\n }\n if (Array.isArray(option.options)) {\n return (option.options.find((item) => {\n return validateInputSelectOptions(item) === false;\n }) === undefined);\n }\n return true;\n }\n else if (typeof option.label === 'number') {\n return true;\n }\n }\n return false;\n};\n\nfunction normalizeOptionsWithOptgroup(value) {\n const parsed = typeof value === 'string' ? parseJson(value) : value;\n if (Array.isArray(parsed) && parsed.every((option) => validateInputSelectOptions(option))) {\n return parsed;\n }\n throw new Error('Invalid select options');\n}\nconst optionsWithOptgroupProp = createPropDefinition('options', [], normalizeOptionsWithOptgroup);\n\nconst selectValueProp = createPropDefinition('value', [], (value) => Array.isArray(value) ? value : [value]);\n\nconst selectPropsConfig = {\n required: [...formFieldBasePropsConfig.required],\n optional: [\n ...formFieldBasePropsConfig.optional,\n accessKeyProp,\n horizontalIconsProp,\n multipleProp,\n optionsWithOptgroupProp,\n requiredProp,\n rowsProp,\n selectValueProp,\n shortKeyProp,\n tabIndexProp,\n variantProp,\n ],\n};\n\nconst selectBem = getBlockBem('kol-select');\nconst SelectOptionFC = (_a) => {\n var { class: classNames, index, selectedValue, selected, value, label, disabled } = _a, other = __rest(_a, [\"class\", \"index\", \"selectedValue\", \"selected\", \"value\", \"label\", \"disabled\"]);\n const selectedValues = selectedValue === undefined ? [] : Array.isArray(selectedValue) ? selectedValue : [selectedValue];\n const isSelected = selected || selectedValues.includes(value);\n return (h(\"option\", Object.assign({ class: clsx(selectBem('option', { selected: Boolean(isSelected), disabled: Boolean(disabled) }), classNames), selected: isSelected, disabled: disabled, value: index }, other), label));\n};\nconst SelectOptionListFC = ({ preKey, options, disabled, value: selectedValue, OptionProps = {}, OptionGroupProps = {}, }) => {\n if (!(options === null || options === void 0 ? void 0 : options.length)) {\n return null;\n }\n return (h(Fragment, null, options.map((option, index) => {\n const key = [preKey, `-${index}`].join('');\n if ('options' in option) {\n const isOptgroupDisabled = Boolean(disabled || option.disabled);\n const { label } = option, other = __rest(option, [\"label\"]);\n return (h(\"optgroup\", Object.assign({ class: selectBem('optgroup', { disabled: isOptgroupDisabled }), key: key }, OptionGroupProps, { label: label === null || label === void 0 ? void 0 : label.toString(), disabled: isOptgroupDisabled }), h(SelectOptionListFC, Object.assign({ OptionGroupProps: OptionGroupProps, OptionProps: OptionProps, value: selectedValue, preKey: key }, other, { disabled: isOptgroupDisabled }))));\n }\n if ('value' in option) {\n return (h(SelectOptionFC, Object.assign({ key: key }, OptionProps, { index: key, selectedValue: selectedValue }, option, { disabled: Boolean(disabled || option.disabled) })));\n }\n return null;\n })));\n};\nconst SelectFC = (props) => {\n const { class: classNames, msg, touched, disabled, required, options, value, OptionProps, OptionGroupProps, ariaDescribedBy, hideLabel, label } = props, other = __rest(props, [\"class\", \"msg\", \"touched\", \"disabled\", \"required\", \"options\", \"value\", \"OptionProps\", \"OptionGroupProps\", \"ariaDescribedBy\", \"hideLabel\", \"label\"]);\n const selectProps = Object.assign(Object.assign({ class: clsx(selectBem(Object.assign({ disabled: Boolean(disabled), required: Boolean(required), touched: Boolean(touched) }, (isMsgDefinedAndInputTouched(msg, touched) ? { [getMsgType(msg)]: true } : {}))), classNames), required: required, disabled: disabled }, getDefaultInputProps({ ariaDescribedBy, hideLabel, label })), other);\n return (h(\"select\", Object.assign({}, selectProps), h(SelectOptionListFC, { OptionGroupProps: OptionGroupProps, OptionProps: OptionProps, disabled: disabled, options: options, value: value })));\n};\n\nconst assertSelectValueMatchesMultiplicity = (value, multiple, source) => {\n const isArray = Array.isArray(value);\n if (multiple) {\n if (value !== undefined && !isArray) {\n throw new Error(`↑ The schema for the property (_value) is not valid for multiple mode. Expected an array. The value will not be changed. (${source} = ${JSON.stringify(value)})`);\n }\n }\n else if (isArray) {\n throw new Error(`↑ The schema for the property (_value) is not valid for single mode. Expected a single value. The value will not be changed. (${source} = ${JSON.stringify(value)})`);\n }\n};\nconst flattenSelectOptions = (options, groupDisabled = false) => options.flatMap((entry) => 'options' in entry && Array.isArray(entry.options)\n ? flattenSelectOptions(entry.options, Boolean(groupDisabled || entry.disabled))\n : [Object.assign(Object.assign({}, entry), { disabled: Boolean(groupDisabled || entry.disabled) })]);\nconst normalizeSelectValue = (value, options, multiple) => {\n if (options.length === 0) {\n return value;\n }\n const flatOptions = flattenSelectOptions(options);\n const optionValues = flatOptions.map((option) => option.value);\n const filtered = value.every((item) => optionValues.includes(item)) ? value : value.filter((item) => optionValues.includes(item));\n if (multiple === false && filtered.length === 0) {\n const firstEnabled = flatOptions.find((option) => option.disabled !== true);\n return firstEnabled ? [firstEnabled.value] : filtered;\n }\n return filtered;\n};\n\nclass BaseSelectWebComponent extends BaseFormFieldWebComponent {\n constructor() {\n super(...arguments);\n this.keyOptionMap = new Map();\n this.hasValue = true;\n this.handleSelectInput = (event) => {\n var _a;\n const selectedValues = Array.from(((_a = this.ctaRef.el) === null || _a === void 0 ? void 0 : _a.options) || [])\n .filter((option) => option.selected)\n .map((option) => { var _a; return (_a = this.keyOptionMap.get(option.value)) === null || _a === void 0 ? void 0 : _a.value; });\n if (this._multiple) {\n this._value = selectedValues;\n this.handleInput(event, selectedValues);\n }\n else {\n const singleValue = selectedValues.length > 0 ? selectedValues[0] : undefined;\n this._value = singleValue;\n this.handleInput(event, singleValue);\n }\n };\n this.handleSelectChange = (event) => {\n const value = this._value;\n this.handleChange(event, value);\n this.hasValue = !!value;\n };\n }\n applyAccessKey(value) {\n accessKeyProp.apply(value, (v) => this.setRenderProp('accessKey', v));\n validateAccessAndShortKey(value, this.getShortKeyProp());\n }\n applyShortKey(value) {\n shortKeyProp.apply(value, (v) => this.setRenderProp('shortKey', v));\n validateAccessAndShortKey(this.getAccessKeyProp(), value);\n }\n applyIcons(value) {\n horizontalIconsProp.apply(value, (v) => this.setRenderProp('icons', v));\n }\n applyMultiple(value) {\n assertSelectValueMatchesMultiplicity(this._value, value === true, 'current');\n multipleProp.apply(value, (v) => {\n this.setRenderProp('multiple', v);\n this.setRenderProp('value', normalizeSelectValue(this.getRenderProp('value'), this.getRenderProp('options'), this._multiple));\n });\n }\n applyOptions(value) {\n optionsWithOptgroupProp.apply(value, (v) => {\n this.setRenderProp('options', v);\n if (v.length > 0) {\n this.keyOptionMap.clear();\n fillKeyOptionMap(this.keyOptionMap, v);\n this.setRenderProp('value', normalizeSelectValue(this.getRenderProp('value'), v, this._multiple));\n }\n });\n }\n applyRequired(value) {\n requiredProp.apply(value, (v) => this.setRenderProp('required', v));\n }\n applyRows(value) {\n rowsProp.apply(value, (v) => this.setRenderProp('rows', v));\n }\n applyTabIndex(value) {\n tabIndexProp.apply(value, (v) => this.setRenderProp('tabIndex', v));\n }\n applyValue(value) {\n assertSelectValueMatchesMultiplicity(value, this._multiple === true, 'received');\n const setValue = (list) => {\n const normalized = normalizeSelectValue(list, this.getRenderProp('options'), this._multiple);\n this.setRenderProp('value', normalized);\n this.formAssociation.setFormAssociatedValue(this.getModelValue());\n };\n if (value === null) {\n setValue([null]);\n }\n else {\n selectValueProp.apply(value, setValue);\n }\n }\n applyVariant(value) {\n variantProp.apply(value, (v) => this.setRenderProp('variant', v));\n }\n getModelValue() {\n const value = this.getRenderProp('value');\n if (this._multiple) {\n return value;\n }\n return Array.isArray(value) && value.length > 0 ? value[0] : value;\n }\n getSelectProps() {\n const { ariaDescribedBy, hasError } = this.getAria();\n const multiple = this.getRenderProp('multiple');\n const shortKey = this.getRenderProp('shortKey');\n return Object.assign(Object.assign({ id: this.getState('id'), hideLabel: this.getRenderProp('hideLabel'), label: this.getRenderProp('label'), value: this.getRenderProp('value'), options: this.getRenderProp('options'), accessKey: this.getRenderProp('accessKey') || undefined, disabled: this.getRenderProp('disabled'), name: this.getRenderProp('name') || undefined, 'aria-invalid': hasError ? 'true' : undefined, ariaDescribedBy, size: multiple ? this.getRenderProp('rows') : undefined, multiple, required: this.getRenderProp('required'), touched: this.getRenderProp('touched'), msg: this.getRenderProp('msg') }, (shortKey ? { 'aria-keyshortcuts': shortKey } : {})), { ref: this.ctaRef, onBlur: this.handleBlur, onChange: this.handleSelectChange, onClick: this.handleClick, onFocus: this.handleFocus, onInput: this.handleSelectInput, onKeyDown: this.handleKeyDown });\n }\n renderSelectField() {\n const disabled = this.getRenderProp('disabled');\n const { startAdornment, endAdornment } = getInputAdornments({ icons: this.getRenderProp('icons') });\n return (h(FormFieldFC, Object.assign({}, this.getFormFieldProps({\n class: clsx('kol-form-field-select', { 'kol-form-field--has-value': this.hasValue }),\n accessKey: this.getRenderProp('accessKey') || undefined,\n shortKey: this.getRenderProp('shortKey') || undefined,\n required: this.getRenderProp('required'),\n variant: this.getRenderProp('variant'),\n }), { onClick: () => { var _a; return (_a = this.ctaRef.el) === null || _a === void 0 ? void 0 : _a.focus(); } }), h(InputContainerFC, { disabled: disabled, msg: this.getRenderProp('msg'), touched: this.getRenderProp('touched'), startAdornment: startAdornment, endAdornment: endAdornment }, h(SelectFC, Object.assign({}, this.getSelectProps())))));\n }\n}\n\nexport { BaseSelectWebComponent as B, selectPropsConfig as s };\n"],"mappings":"A,sxBAkBA,IAAM2B,EAA8B,GAAW,CAC3C,GAAI,OAAOC,GAAW,UAAYA,EAAiB,CAC/C,GAAI,OAAOA,EAAO,OAAU,UAAYA,EAAO,MAAM,OAAS,EAW1D,MAVA,GAAO,SAAWA,EAAO,WAAa,G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AK,cAAc,OAAO,CAAE,CAAC,EAClG,OAAQN,EAAEiB,EAAa,OAAO,OAAO,CAAC,EAAG,KAAK,kBAAkB,CAC5D,MAAOK,EAAK,wBAAyB,CAAE,4BAA6B,KAAK,QAAS,CAAC,EACnF,UAAW,KAAK,cAAc,WAAW,GAAK,IAAA,GAC9C,SAAU,KAAK,cAAc,UAAU,GAAK,IAAA,GAC5C,SAAU,KAAK,cAAc,UAAU,EACvC,QAAS,KAAK,cAAc,SAAS,CACzC,CAAC,EAAG,CAAE,YAAsC,KAAK,OAAO,IAA4C,MAAM,CAAK,CAAC,EAAGtB,EAAEQ,EAAkB,CAAY,WAAU,IAAK,KAAK,cAAc,KAAK,EAAG,QAAS,KAAK,cAAc,SAAS,EAAmB,iBAA8B,cAAa,EAAGR,EAAEsD,EAAU,OAAO,OAAO,CAAC,EAAG,KAAK,eAAe,CAAC,CAAC,CAAC,CAAC,CAC7V,CACJ,E"}
1
+ {"version":3,"file":"base-web-component-CKgIOZqi-DbhHLGVO.js","names":["parseJson","a11yHint","h","shortKeyProp","variantProp","accessKeyProp","tabIndexProp","getInputAdornments","horizontalIconsProp","InputContainerFC","hasEnoughReadableChars","containsOnlyNumbers","createPropDefinition","multipleProp","requiredProp","rowsProp","formFieldBasePropsConfig","isMsgDefinedAndInputTouched","FormFieldFC","getDefaultInputProps","getMsgType","BaseFormFieldWebComponent","validateAccessAndShortKey","clsx","fillKeyOptionMap","__rest","getBlockBem","validateInputSelectOptions","option","item","normalizeOptionsWithOptgroup","parsed","value","optionsWithOptgroupProp","selectValueProp","selectPropsConfig","selectBem","SelectOptionFC","classNames","_a","other","isSelected","selected","selectedValue","disabled","index","label","SelectOptionListFC","options","Fragment","key","preKey","isOptgroupDisabled","OptionGroupProps","OptionProps","SelectFC","props","selectProps","required","touched","msg","assertSelectValueMatchesMultiplicity","isArray","multiple","source","flattenSelectOptions","entry","groupDisabled","normalizeSelectValue","flatOptions","optionValues","filtered","firstEnabled","BaseSelectWebComponent","selectedValues","event","singleValue","v","setValue","normalized","list","shortKey","hasError"],"sources":["../../../../../components/dist/esm/base-web-component-CKgIOZqi.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { n as a11yHint, p as parseJson } from './common-BdSzSIXg.js';\nimport { a as accessKeyProp, d as shortKeyProp, t as tabIndexProp, v as variantProp } from './component-C79oAu7a.js';\nimport { h as horizontalIconsProp, g as getInputAdornments, I as InputContainerFC } from './input-container-DmtMTcjB.js';\nimport { j as hasEnoughReadableChars, m as containsOnlyNumbers, c as createPropDefinition } from './props-from-config-ytxYrJUY.js';\nimport { m as multipleProp } from './multiple--ay1C1n3.js';\nimport { r as requiredProp } from './required-BriHhuO4.js';\nimport { r as rowsProp } from './rows-I1jrTjzU.js';\nimport { f as formFieldBasePropsConfig, i as isMsgDefinedAndInputTouched, g as getMsgType, c as getDefaultInputProps, B as BaseFormFieldWebComponent, F as FormFieldFC } from './api-DGiFM9p0.js';\nimport { h, F as Fragment } from './index-Dulj0jro.js';\nimport { v as validateAccessAndShortKey } from './access-and-short-key-ijzCZfHm.js';\nimport { c as clsx } from './clsx-COFh-Vc8.js';\nimport { f as fillKeyOptionMap } from './options-B0rBHetL.js';\nimport { a as __rest } from './tslib.es6-QNbPBOk5.js';\nimport { g as getBlockBem } from './block-bem-BGIVcYJu.js';\n\nconst validateInputSelectOptions = (option) => {\n if (typeof option === 'object' && option !== null) {\n if (typeof option.label === 'string' && option.label.length > 0) {\n option.disabled = option.disabled === true;\n option.label = `${option.label}`.trim();\n if (hasEnoughReadableChars(option.label, 3) === false && containsOnlyNumbers(option.label) === false) {\n a11yHint(`A differing Aria-Label (${option.label}) is inaccessible. A differing Aria-Label should consist of at least three readable characters.`);\n }\n if (Array.isArray(option.options)) {\n return (option.options.find((item) => {\n return validateInputSelectOptions(item) === false;\n }) === undefined);\n }\n return true;\n }\n else if (typeof option.label === 'number') {\n return true;\n }\n }\n return false;\n};\n\nfunction normalizeOptionsWithOptgroup(value) {\n const parsed = typeof value === 'string' ? parseJson(value) : value;\n if (Array.isArray(parsed) && parsed.every((option) => validateInputSelectOptions(option))) {\n return parsed;\n }\n throw new Error('Invalid select options');\n}\nconst optionsWithOptgroupProp = createPropDefinition('options', [], normalizeOptionsWithOptgroup);\n\nconst selectValueProp = createPropDefinition('value', [], (value) => Array.isArray(value) ? value : [value]);\n\nconst selectPropsConfig = {\n required: [...formFieldBasePropsConfig.required],\n optional: [\n ...formFieldBasePropsConfig.optional,\n accessKeyProp,\n horizontalIconsProp,\n multipleProp,\n optionsWithOptgroupProp,\n requiredProp,\n rowsProp,\n selectValueProp,\n shortKeyProp,\n tabIndexProp,\n variantProp,\n ],\n};\n\nconst selectBem = getBlockBem('kol-select');\nconst SelectOptionFC = (_a) => {\n var { class: classNames, index, selectedValue, selected, value, label, disabled } = _a, other = __rest(_a, [\"class\", \"index\", \"selectedValue\", \"selected\", \"value\", \"label\", \"disabled\"]);\n const selectedValues = selectedValue === undefined ? [] : Array.isArray(selectedValue) ? selectedValue : [selectedValue];\n const isSelected = selected || selectedValues.includes(value);\n return (h(\"option\", Object.assign({ class: clsx(selectBem('option', { selected: Boolean(isSelected), disabled: Boolean(disabled) }), classNames), selected: isSelected, disabled: disabled, value: index }, other), label));\n};\nconst SelectOptionListFC = ({ preKey, options, disabled, value: selectedValue, OptionProps = {}, OptionGroupProps = {}, }) => {\n if (!(options === null || options === void 0 ? void 0 : options.length)) {\n return null;\n }\n return (h(Fragment, null, options.map((option, index) => {\n const key = [preKey, `-${index}`].join('');\n if ('options' in option) {\n const isOptgroupDisabled = Boolean(disabled || option.disabled);\n const { label } = option, other = __rest(option, [\"label\"]);\n return (h(\"optgroup\", Object.assign({ class: selectBem('optgroup', { disabled: isOptgroupDisabled }), key: key }, OptionGroupProps, { label: label === null || label === void 0 ? void 0 : label.toString(), disabled: isOptgroupDisabled }), h(SelectOptionListFC, Object.assign({ OptionGroupProps: OptionGroupProps, OptionProps: OptionProps, value: selectedValue, preKey: key }, other, { disabled: isOptgroupDisabled }))));\n }\n if ('value' in option) {\n return (h(SelectOptionFC, Object.assign({ key: key }, OptionProps, { index: key, selectedValue: selectedValue }, option, { disabled: Boolean(disabled || option.disabled) })));\n }\n return null;\n })));\n};\nconst SelectFC = (props) => {\n const { class: classNames, msg, touched, disabled, required, options, value, OptionProps, OptionGroupProps, ariaDescribedBy, hideLabel, label } = props, other = __rest(props, [\"class\", \"msg\", \"touched\", \"disabled\", \"required\", \"options\", \"value\", \"OptionProps\", \"OptionGroupProps\", \"ariaDescribedBy\", \"hideLabel\", \"label\"]);\n const selectProps = Object.assign(Object.assign({ class: clsx(selectBem(Object.assign({ disabled: Boolean(disabled), required: Boolean(required), touched: Boolean(touched) }, (isMsgDefinedAndInputTouched(msg, touched) ? { [getMsgType(msg)]: true } : {}))), classNames), required: required, disabled: disabled }, getDefaultInputProps({ ariaDescribedBy, hideLabel, label })), other);\n return (h(\"select\", Object.assign({}, selectProps), h(SelectOptionListFC, { OptionGroupProps: OptionGroupProps, OptionProps: OptionProps, disabled: disabled, options: options, value: value })));\n};\n\nconst assertSelectValueMatchesMultiplicity = (value, multiple, source) => {\n const isArray = Array.isArray(value);\n if (multiple) {\n if (value !== undefined && !isArray) {\n throw new Error(`↑ The schema for the property (_value) is not valid for multiple mode. Expected an array. The value will not be changed. (${source} = ${JSON.stringify(value)})`);\n }\n }\n else if (isArray) {\n throw new Error(`↑ The schema for the property (_value) is not valid for single mode. Expected a single value. The value will not be changed. (${source} = ${JSON.stringify(value)})`);\n }\n};\nconst flattenSelectOptions = (options, groupDisabled = false) => options.flatMap((entry) => 'options' in entry && Array.isArray(entry.options)\n ? flattenSelectOptions(entry.options, Boolean(groupDisabled || entry.disabled))\n : [Object.assign(Object.assign({}, entry), { disabled: Boolean(groupDisabled || entry.disabled) })]);\nconst normalizeSelectValue = (value, options, multiple) => {\n if (options.length === 0) {\n return value;\n }\n const flatOptions = flattenSelectOptions(options);\n const optionValues = flatOptions.map((option) => option.value);\n const filtered = value.every((item) => optionValues.includes(item)) ? value : value.filter((item) => optionValues.includes(item));\n if (multiple === false && filtered.length === 0) {\n const firstEnabled = flatOptions.find((option) => option.disabled !== true);\n return firstEnabled ? [firstEnabled.value] : filtered;\n }\n return filtered;\n};\n\nclass BaseSelectWebComponent extends BaseFormFieldWebComponent {\n constructor() {\n super(...arguments);\n this.keyOptionMap = new Map();\n this.hasValue = true;\n this.handleSelectInput = (event) => {\n var _a;\n const selectedValues = Array.from(((_a = this.ctaRef.el) === null || _a === void 0 ? void 0 : _a.options) || [])\n .filter((option) => option.selected)\n .map((option) => { var _a; return (_a = this.keyOptionMap.get(option.value)) === null || _a === void 0 ? void 0 : _a.value; });\n if (this._multiple) {\n this._value = selectedValues;\n this.handleInput(event, selectedValues);\n }\n else {\n const singleValue = selectedValues.length > 0 ? selectedValues[0] : undefined;\n this._value = singleValue;\n this.handleInput(event, singleValue);\n }\n };\n this.handleSelectChange = (event) => {\n const value = this._value;\n this.handleChange(event, value);\n this.hasValue = !!value;\n };\n }\n applyAccessKey(value) {\n accessKeyProp.apply(value, (v) => this.setRenderProp('accessKey', v));\n validateAccessAndShortKey(value, this.getShortKeyProp());\n }\n applyShortKey(value) {\n shortKeyProp.apply(value, (v) => this.setRenderProp('shortKey', v));\n validateAccessAndShortKey(this.getAccessKeyProp(), value);\n }\n applyIcons(value) {\n horizontalIconsProp.apply(value, (v) => this.setRenderProp('icons', v));\n }\n applyMultiple(value) {\n assertSelectValueMatchesMultiplicity(this._value, value === true, 'current');\n multipleProp.apply(value, (v) => {\n this.setRenderProp('multiple', v);\n this.setRenderProp('value', normalizeSelectValue(this.getRenderProp('value'), this.getRenderProp('options'), this._multiple));\n });\n }\n applyOptions(value) {\n optionsWithOptgroupProp.apply(value, (v) => {\n this.setRenderProp('options', v);\n if (v.length > 0) {\n this.keyOptionMap.clear();\n fillKeyOptionMap(this.keyOptionMap, v);\n this.setRenderProp('value', normalizeSelectValue(this.getRenderProp('value'), v, this._multiple));\n }\n });\n }\n applyRequired(value) {\n requiredProp.apply(value, (v) => this.setRenderProp('required', v));\n }\n applyRows(value) {\n rowsProp.apply(value, (v) => this.setRenderProp('rows', v));\n }\n applyTabIndex(value) {\n tabIndexProp.apply(value, (v) => this.setRenderProp('tabIndex', v));\n }\n applyValue(value) {\n assertSelectValueMatchesMultiplicity(value, this._multiple === true, 'received');\n const setValue = (list) => {\n const normalized = normalizeSelectValue(list, this.getRenderProp('options'), this._multiple);\n this.setRenderProp('value', normalized);\n this.formAssociation.setFormAssociatedValue(this.getModelValue());\n };\n if (value === null) {\n setValue([null]);\n }\n else {\n selectValueProp.apply(value, setValue);\n }\n }\n applyVariant(value) {\n variantProp.apply(value, (v) => this.setRenderProp('variant', v));\n }\n getModelValue() {\n const value = this.getRenderProp('value');\n if (this._multiple) {\n return value;\n }\n return Array.isArray(value) && value.length > 0 ? value[0] : value;\n }\n getSelectProps() {\n const { ariaDescribedBy, hasError } = this.getAria();\n const multiple = this.getRenderProp('multiple');\n const shortKey = this.getRenderProp('shortKey');\n return Object.assign(Object.assign({ id: this.getState('id'), hideLabel: this.getRenderProp('hideLabel'), label: this.getRenderProp('label'), value: this.getRenderProp('value'), options: this.getRenderProp('options'), accessKey: this.getRenderProp('accessKey') || undefined, disabled: this.getRenderProp('disabled'), name: this.getRenderProp('name') || undefined, 'aria-invalid': hasError ? 'true' : undefined, ariaDescribedBy, size: multiple ? this.getRenderProp('rows') : undefined, multiple, required: this.getRenderProp('required'), touched: this.getRenderProp('touched'), msg: this.getRenderProp('msg') }, (shortKey ? { 'aria-keyshortcuts': shortKey } : {})), { ref: this.ctaRef, onBlur: this.handleBlur, onChange: this.handleSelectChange, onClick: this.handleClick, onFocus: this.handleFocus, onInput: this.handleSelectInput, onKeyDown: this.handleKeyDown });\n }\n renderSelectField() {\n const disabled = this.getRenderProp('disabled');\n const { startAdornment, endAdornment } = getInputAdornments({ icons: this.getRenderProp('icons') });\n return (h(FormFieldFC, Object.assign({}, this.getFormFieldProps({\n class: clsx('kol-form-field-select', { 'kol-form-field--has-value': this.hasValue }),\n accessKey: this.getRenderProp('accessKey') || undefined,\n shortKey: this.getRenderProp('shortKey') || undefined,\n required: this.getRenderProp('required'),\n variant: this.getRenderProp('variant'),\n }), { onClick: () => { var _a; return (_a = this.ctaRef.el) === null || _a === void 0 ? void 0 : _a.focus(); } }), h(InputContainerFC, { disabled: disabled, msg: this.getRenderProp('msg'), touched: this.getRenderProp('touched'), startAdornment: startAdornment, endAdornment: endAdornment }, h(SelectFC, Object.assign({}, this.getSelectProps())))));\n }\n}\n\nexport { BaseSelectWebComponent as B, selectPropsConfig as s };\n"],"mappings":"A,sxBAkBA,IAAM2B,EAA8B,GAAW,CAC3C,GAAI,OAAOC,GAAW,UAAYA,EAAiB,CAC/C,GAAI,OAAOA,EAAO,OAAU,UAAYA,EAAO,MAAM,OAAS,EAW1D,MAVA,GAAO,SAAWA,EAAO,WAAa,GACtC,EAAO,MAAQ,GAAGA,EAAO,QAAQ,KAAK,EAClClB,EAAuBkB,EAAO,MAAO,CAAC,IAAM,IAASjB,EAAoBiB,EAAO,KAAK,IAAM,IAC3F3B,EAAS,2BAA2B2B,EAAO,MAAM,gGAAgG,EAErJ,CAAI,MAAM,QAAQA,EAAO,OAAO,GACpBA,EAAO,QAAQ,KAAM,GAClBD,EAA2BE,CAAI,IAAM,EAC/C,IAAM,IAAA,GAIV,GAAI,OAAOD,EAAO,OAAU,SAC7B,MAAO,EAEf,CACA,MAAO,EACX,EAEA,SAASE,EAA6B,EAAO,CACzC,IAAMC,EAAS,OAAOC,GAAU,SAAWhC,EAAUgC,CAAK,EAAIA,EAC9D,GAAI,MAAM,QAAQD,CAAM,GAAKA,EAAO,MAAO,GAAWJ,EAA2BC,CAAM,CAAC,EACpF,OAAOG,EAEX,MAAU,MAAM,wBAAwB,CAC5C,CACA,IAAME,EAA0BrB,EAAqB,UAAW,CAAC,EAAGkB,CAA4B,EAE1FI,EAAkBtB,EAAqB,QAAS,CAAC,EAAI,GAAU,MA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C8yiDeiX.js";import{D as r,n as i,s as a}from"./props-from-config-Ci0dILpz-D6Gkf3-U.js";import{t as o}from"./id-CIYvVaNr-B4H1Ce3n.js";import{t as s}from"./label-lang-segment-2_GnxjFp-DVzZ39jn.js";var c=0,l=()=>{c++},u=()=>{c=Math.max(0,c-1)},d=e=>{c>0&&e.preventDefault()},f=n(`align`,`top`),p=a(`badgeText`,``,r),m=Math.min,h=Math.max,g=Math.round,_=Math.floor,v=e=>({x:e,y:e}),y={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function b(e,t,n){return h(e,m(t,n))}function x(e,t){return typeof e==`function`?e(t):e}function S(e){return e.split(`-`)[0]}function C(e){return e.split(`-`)[1]}function w(e){return e===`x`?`y`:`x`}function T(e){return e===`y`?`height`:`width`}function E(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function D(e){return w(E(e))}function O(e,t,n){n===void 0&&(n=!1);let r=C(e),i=D(e),a=T(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=P(o)),[o,P(o)]}function k(e){let t=P(e);return[A(e),t,A(t)]}function A(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var ee=[`left`,`right`],j=[`right`,`left`],te=[`top`,`bottom`],ne=[`bottom`,`top`];function M(e,t,n){switch(e){case`top`:case`bottom`:return n?t?j:ee:t?ee:j;case`left`:case`right`:return t?te:ne;default:return[]}}function N(e,t,n,r){let i=C(e),a=M(S(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(A)))),a}function P(e){let t=S(e);return y[t]+e.slice(t.length)}function F(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function re(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:F(e)}function I(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ie(e,t,n){let{reference:r,floating:i}=e,a=E(t),o=D(t),s=T(o),c=S(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=C(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function ae(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=x(t,e),p=re(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=I(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=I(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var oe=50,se=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:ae},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=ie(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<oe&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=ie(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},ce=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=x(e,t)||{};if(l==null)return{};let d=re(u),f={x:n,y:r},p=D(i),h=T(p),g=await o.getDimensions(l),_=p===`y`,v=_?`top`:`left`,y=_?`bottom`:`right`,S=_?`clientHeight`:`clientWidth`,w=a.reference[h]+a.reference[p]-f[p]-a.floating[h],E=f[p]-a.reference[p],O=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),k=O?O[S]:0;k&&await(o.isElement==null?void 0:o.isElement(O))||(k=s.floating[S]||a.floating[h]);let A=w/2-E/2,ee=k/2-g[h]/2-1,j=m(d[v],ee),te=m(d[y],ee),ne=k-g[h]-te,M=k/2-g[h]/2+A,N=b(j,M,ne),P=!c.arrow&&C(i)!=null&&M!==N&&a.reference[h]/2-(M<j?j:te)-g[h]/2<0,F=P?M<j?M-j:M-ne:0;return{[p]:f[p]+F,data:{[p]:N,centerOffset:M-N-F,...P&&{alignmentOffset:F}},reset:P}}}),le=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=x(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=S(r),_=E(o),v=S(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[P(o)]:k(o)),C=p!==`none`;!d&&C&&b.push(...N(o,m,p,y));let w=[o,...b],T=await s.detectOverflow(t,h),D=[],A=i.flip?.overflows||[];if(l&&D.push(T[g]),u){let e=O(r,a,y);D.push(T[e[0]],T[e[1]])}if(A=[...A,{placement:r,overflows:D}],!D.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=w[e];if(t&&(u!==`alignment`||_===E(t)||A.every(e=>E(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:A},reset:{placement:t}};let n=A.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=A.filter(e=>{if(C){let t=E(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},ue=new Set([`left`,`top`]);async function de(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=S(n),s=C(n),c=E(n)===`y`,l=ue.has(o)?-1:1,u=a&&c?-1:1,d=x(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var fe=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await de(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},pe=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=x(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=E(i),p=w(f),m=u[p],h=u[f],g=(e,t)=>b(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}};function L(){return typeof window<`u`}function R(e){return me(e)?(e.nodeName||``).toLowerCase():`#document`}function z(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function B(e){return((me(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function me(e){return L()?e instanceof Node||e instanceof z(e).Node:!1}function V(e){return L()?e instanceof Element||e instanceof z(e).Element:!1}function H(e){return L()?e instanceof HTMLElement||e instanceof z(e).HTMLElement:!1}function he(e){return!L()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof z(e).ShadowRoot}function ge(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=K(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function _e(e){return/^(table|td|th)$/.test(R(e))}function U(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var ve=/transform|translate|scale|rotate|perspective|filter/,ye=/paint|layout|strict|content/,W=e=>!!e&&e!==`none`,be;function xe(e){let t=V(e)?K(e):e;return W(t.transform)||W(t.translate)||W(t.scale)||W(t.rotate)||W(t.perspective)||!Ce()&&(W(t.backdropFilter)||W(t.filter))||ve.test(t.willChange||``)||ye.test(t.contain||``)}function Se(e){let t=J(e);for(;H(t)&&!G(t);){if(xe(t))return t;if(U(t))return null;t=J(t)}return null}function Ce(){return be??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),be}function G(e){return/^(html|body|#document)$/.test(R(e))}function K(e){return z(e).getComputedStyle(e)}function q(e){return V(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function J(e){if(R(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||he(e)&&e.host||B(e);return he(t)?t.host:t}function we(e){let t=J(e);return G(t)?(e.ownerDocument||e).body:H(t)&&ge(t)?t:we(t)}function Y(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=we(e),i=r===e.ownerDocument?.body,a=z(r);if(i){let e=Te(a);return t.concat(a,a.visualViewport||[],ge(r)?r:[],e&&n?Y(e):[])}return t.concat(r,Y(r,[],n))}function Te(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ee(e){let t=K(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=H(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=g(n)!==a||g(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function De(e){return V(e)?e:e.contextElement}function X(e){let t=De(e);if(!H(t))return v(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Ee(t),o=(a?g(n.width):n.width)/r,s=(a?g(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}var Oe=v(0);function ke(e){let t=z(e);return!Ce()||!t.visualViewport?Oe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ae(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===z(e)}function Z(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=De(e),o=v(1);t&&(r?V(r)&&(o=X(r)):o=X(e));let s=Ae(a,n,r)?ke(a):v(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=z(a),t=V(r)?z(r):r,n=e,i=Te(n);for(;i&&t!==n;){let e=X(i),t=i.getBoundingClientRect(),r=K(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=z(i),i=Te(n)}}return I({width:u,height:d,x:c,y:l})}function Q(e,t){let n=q(e).scrollLeft;return t?t.left+n:Z(B(e)).left+n}function je(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Q(e,n),y:n.top+t.scrollTop}}function Me(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=B(r),s=t?U(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=v(1),u=v(0),d=H(r);if((d||!a)&&((R(r)!==`body`||ge(o))&&(c=q(r)),d)){let e=Z(r);l=X(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?je(o,c):v(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Ne(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Pe(e){let t=q(e),n=e.ownerDocument.body,r=h(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=h(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+Q(e),o=-t.scrollTop;return K(n).direction===`rtl`&&(a+=h(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var Fe=25;function Ie(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=z(e),a=B(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!Ce()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(Q(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=Fe&&(s-=o)}return{width:s,height:c,x:l,y:u}}function Le(e,t){let n=Z(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=X(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Re(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=Ie(e,n,t);else if(t===`document`)r=Pe(B(e));else if(V(t))r=Le(t,n);else{let n=ke(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return I(r)}function ze(e,t){let n=t.get(e);if(n)return n;let r=Y(e,[],!1).filter(e=>V(e)&&R(e)!==`body`),i=null,a=K(e).position===`fixed`,o=a?J(e):e;for(;V(o)&&!G(o);){let e=K(o),t=xe(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=J(o)}return t.set(e,r),r}function Be(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?U(t)?[]:ze(t,this._c):[].concat(n),r],o=Re(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Re(t,a[e],i);s=h(n.top,s),c=m(n.right,c),l=m(n.bottom,l),u=h(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function Ve(e){let{width:t,height:n}=Ee(e);return{width:t,height:n}}function He(e,t,n){let r=H(t),i=B(t),a=n===`fixed`,o=Z(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=v(0);if((r||!a)&&((R(t)!==`body`||ge(i))&&(s=q(t)),r)){let e=Z(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=Q(i));let l=i&&!r&&!a?je(i,s):v(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function Ue(e){return K(e).position===`static`}function We(e,t){if(!H(e)||K(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return B(e)===n&&(n=n.ownerDocument.body),n}function Ge(e,t){let n=z(e);if(U(e))return n;if(!H(e)){let t=J(e);for(;t&&!G(t);){if(V(t)&&!Ue(t))return t;t=J(t)}return n}let r=We(e,t);for(;r&&_e(r)&&Ue(r);)r=We(r,t);return r&&G(r)&&Ue(r)&&!xe(r)?n:r||Se(e)||n}var Ke=async function(e){let t=this.getOffsetParent||Ge,n=this.getDimensions,r=await n(e.floating);return{reference:He(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function qe(e){return K(e).direction===`rtl`}var Je={convertOffsetParentRelativeRectToViewportRelativeRect:Me,getDocumentElement:B,getClippingRect:Be,getOffsetParent:Ge,getElementRects:Ke,getClientRects:Ne,getDimensions:Ve,getScale:X,isElement:V,isRTL:qe};function Ye(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Xe(e,t,n){let r=null,i,a=B(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let g=_(d),v=_(a.clientWidth-(u+f)),y=_(a.clientHeight-(d+p)),b=_(u),x={rootMargin:-g+`px `+-v+`px `+-y+`px `+-b+`px`,threshold:h(0,m(1,c))||1},S=!0;function C(t){let n=t[0].intersectionRatio;if(!Ye(l,e.getBoundingClientRect()))return s();if(n!==c){if(!S)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}S=!1}try{r=new IntersectionObserver(C,{...x,root:a.ownerDocument})}catch{r=new IntersectionObserver(C,x)}r.observe(e)}let c=z(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function Ze(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=De(e),u=i||a?[...l?Y(l):[],...t?Y(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?Xe(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Z(e):null;c&&g();function g(){let t=Z(e);h&&!Ye(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Qe=fe,$e=pe,et=le,tt=ce,nt=(e,t,n)=>{let r=new Map,i=n??{},a={...Je,...i.platform,_c:r};return se(e,t,{...i,platform:a})},rt=async({floatingElement:e,referenceElement:n,arrowElement:r,align:i=`top`})=>{if(!t()){let t=[Qe(r?.offsetHeight||10),et(),$e()];r&&t.push(tt({element:r}));let{x:a,y:o,middlewareData:s,placement:c}=await nt(n,e,{placement:i,middleware:t,strategy:`fixed`});Object.assign(e.style,{left:`${a}px`,top:`${o}px`,visibility:`visible`}),r&&(s.arrow?.x?Object.assign(r.style,{left:`${s.arrow.x}px`,top:c===`bottom`?`${-r.offsetHeight/2}px`:``,bottom:c===`top`?`${-r.offsetHeight/2}px`:``}):s.arrow?.y&&Object.assign(r.style,{left:c===`right`?`${-r.offsetWidth/2}px`:``,right:c===`left`?`${-r.offsetWidth/2}px`:``,top:`${s.arrow.y}px`}))}},it=new Set,$=null;function at(e){$!==e&&($&&$.style.setProperty(`z-index`,`999`),it.delete(e),it.add(e),e.style.setProperty(`z-index`,`1000`),$=e)}function ot(e){if(it.delete(e)&&$===e){$=null;for(let e of it)$=e;$&&$.style.setProperty(`z-index`,`1000`)}}var st=class{constructor(e,t){this.setState=e.setState,this.getState=e.getState,this.renderProps=i(t)}setRenderProp(e,t){this.renderProps[e]=t}getRenderProp(e){return this.renderProps[e]}},ct={required:[s],optional:[f,p,o]},lt=class extends st{constructor(e){super(e,ct),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){s.apply(e||void 0,e=>{this.setRenderProp(`label`,e)})}watchAlign(e){f.apply(e,e=>{this.setRenderProp(`align`,e)})}watchBadgeText(e){p.apply(e,e=>{this.setRenderProp(`badgeText`,e)})}watchId(e){o.apply(e,e=>{this.setRenderProp(`id`,e)})}initContext(e){this.previousSibling=e}syncListeners(e,t,n=!1){e&&this.removeListeners(e),t&&(n&&(this.previousSibling=t),this.removeListeners(t),this.addListeners(t))}handleEventListeners(e){let t=e.previousElementSibling;this.syncListeners(this.previousSibling,t,!0)}hideTooltip(){this.isHiddenForCurrentVisit=!0,this.tooltipElement&&(ot(this.tooltipElement),u(),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)),e().removeEventListener(`keydown`,this.hideTooltipByEscape)}destroy(){clearTimeout(this.overFocusTimeout),this.previousSibling&&=(this.removeListeners(this.previousSibling),void 0),this.tooltipElement&&this.removeListeners(this.tooltipElement),this.cleanupAutoPositioning&&=(this.cleanupAutoPositioning(),void 0),e().removeEventListener(`keydown`,this.hideTooltipByEscape)}isNewVisit(){return!this.hasMouseIn&&!this.hasFocusIn}resetHideFlag(){this.isNewVisit()&&(this.isHiddenForCurrentVisit=!1)}async alignTooltip(){this.tooltipElement&&this.previousSibling&&await rt({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){at(this.tooltipElement),l(),this.tooltipElement.classList.remove(`hide`),this.tooltipElement.classList.add(`show`),this.tooltipElement.style.setProperty(`display`,`block`),e().addEventListener(`keydown`,this.hideTooltipByEscape);let t=this.previousSibling,n=this.tooltipElement;this.cleanupAutoPositioning=Ze(t,n,()=>{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{Ze as a,f as i,lt as n,d as o,rt as r,st as t};
2
- //# sourceMappingURL=behavior-B4IW5_Qt-C02JSQ_A.js.map
1
+ import{L as e,k as t}from"./index-Dulj0jro-8Ox0fSXr.js";import{n}from"./component-W1KZI4h4-DvGjUMdG.js";import{D as r,n as i,s as a}from"./props-from-config-ytxYrJUY-DeW8EjEQ.js";import{t as o}from"./id-BI0ZuK17-CrPgfoBr.js";import{t as s}from"./label-lang-segment-iVD9hoM3-pWUiTb1Y.js";var c=0,l=()=>{c++},u=()=>{c=Math.max(0,c-1)},d=e=>{c>0&&e.preventDefault()},f=n(`align`,`top`),p=a(`badgeText`,``,r),m=Math.min,h=Math.max,g=Math.round,_=Math.floor,v=e=>({x:e,y:e}),y={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function b(e,t,n){return h(e,m(t,n))}function x(e,t){return typeof e==`function`?e(t):e}function S(e){return e.split(`-`)[0]}function C(e){return e.split(`-`)[1]}function w(e){return e===`x`?`y`:`x`}function T(e){return e===`y`?`height`:`width`}function E(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function D(e){return w(E(e))}function O(e,t,n){n===void 0&&(n=!1);let r=C(e),i=D(e),a=T(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=P(o)),[o,P(o)]}function k(e){let t=P(e);return[A(e),t,A(t)]}function A(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var ee=[`left`,`right`],j=[`right`,`left`],te=[`top`,`bottom`],ne=[`bottom`,`top`];function M(e,t,n){switch(e){case`top`:case`bottom`:return n?t?j:ee:t?ee:j;case`left`:case`right`:return t?te:ne;default:return[]}}function N(e,t,n,r){let i=C(e),a=M(S(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(A)))),a}function P(e){let t=S(e);return y[t]+e.slice(t.length)}function F(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function re(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:F(e)}function I(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ie(e,t,n){let{reference:r,floating:i}=e,a=E(t),o=D(t),s=T(o),c=S(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=C(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function ae(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=x(t,e),p=re(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=I(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=I(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var oe=50,se=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:ae},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=ie(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<oe&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=ie(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},ce=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=x(e,t)||{};if(l==null)return{};let d=re(u),f={x:n,y:r},p=D(i),h=T(p),g=await o.getDimensions(l),_=p===`y`,v=_?`top`:`left`,y=_?`bottom`:`right`,S=_?`clientHeight`:`clientWidth`,w=a.reference[h]+a.reference[p]-f[p]-a.floating[h],E=f[p]-a.reference[p],O=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),k=O?O[S]:0;k&&await(o.isElement==null?void 0:o.isElement(O))||(k=s.floating[S]||a.floating[h]);let A=w/2-E/2,ee=k/2-g[h]/2-1,j=m(d[v],ee),te=m(d[y],ee),ne=k-g[h]-te,M=k/2-g[h]/2+A,N=b(j,M,ne),P=!c.arrow&&C(i)!=null&&M!==N&&a.reference[h]/2-(M<j?j:te)-g[h]/2<0,F=P?M<j?M-j:M-ne:0;return{[p]:f[p]+F,data:{[p]:N,centerOffset:M-N-F,...P&&{alignmentOffset:F}},reset:P}}}),le=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=x(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=S(r),_=E(o),v=S(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[P(o)]:k(o)),C=p!==`none`;!d&&C&&b.push(...N(o,m,p,y));let w=[o,...b],T=await s.detectOverflow(t,h),D=[],A=i.flip?.overflows||[];if(l&&D.push(T[g]),u){let e=O(r,a,y);D.push(T[e[0]],T[e[1]])}if(A=[...A,{placement:r,overflows:D}],!D.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=w[e];if(t&&(u!==`alignment`||_===E(t)||A.every(e=>E(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:A},reset:{placement:t}};let n=A.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=A.filter(e=>{if(C){let t=E(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},ue=new Set([`left`,`top`]);async function de(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=S(n),s=C(n),c=E(n)===`y`,l=ue.has(o)?-1:1,u=a&&c?-1:1,d=x(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var fe=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await de(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},pe=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=x(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=E(i),p=w(f),m=u[p],h=u[f],g=(e,t)=>b(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}};function L(){return typeof window<`u`}function R(e){return me(e)?(e.nodeName||``).toLowerCase():`#document`}function z(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function B(e){return((me(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function me(e){return L()?e instanceof Node||e instanceof z(e).Node:!1}function V(e){return L()?e instanceof Element||e instanceof z(e).Element:!1}function H(e){return L()?e instanceof HTMLElement||e instanceof z(e).HTMLElement:!1}function he(e){return!L()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof z(e).ShadowRoot}function ge(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=K(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function _e(e){return/^(table|td|th)$/.test(R(e))}function U(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var ve=/transform|translate|scale|rotate|perspective|filter/,ye=/paint|layout|strict|content/,W=e=>!!e&&e!==`none`,be;function xe(e){let t=V(e)?K(e):e;return W(t.transform)||W(t.translate)||W(t.scale)||W(t.rotate)||W(t.perspective)||!Ce()&&(W(t.backdropFilter)||W(t.filter))||ve.test(t.willChange||``)||ye.test(t.contain||``)}function Se(e){let t=J(e);for(;H(t)&&!G(t);){if(xe(t))return t;if(U(t))return null;t=J(t)}return null}function Ce(){return be??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),be}function G(e){return/^(html|body|#document)$/.test(R(e))}function K(e){return z(e).getComputedStyle(e)}function q(e){return V(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function J(e){if(R(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||he(e)&&e.host||B(e);return he(t)?t.host:t}function we(e){let t=J(e);return G(t)?(e.ownerDocument||e).body:H(t)&&ge(t)?t:we(t)}function Y(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=we(e),i=r===e.ownerDocument?.body,a=z(r);if(i){let e=Te(a);return t.concat(a,a.visualViewport||[],ge(r)?r:[],e&&n?Y(e):[])}return t.concat(r,Y(r,[],n))}function Te(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ee(e){let t=K(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=H(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=g(n)!==a||g(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function De(e){return V(e)?e:e.contextElement}function X(e){let t=De(e);if(!H(t))return v(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Ee(t),o=(a?g(n.width):n.width)/r,s=(a?g(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}var Oe=v(0);function ke(e){let t=z(e);return!Ce()||!t.visualViewport?Oe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ae(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===z(e)}function Z(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=De(e),o=v(1);t&&(r?V(r)&&(o=X(r)):o=X(e));let s=Ae(a,n,r)?ke(a):v(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=z(a),t=V(r)?z(r):r,n=e,i=Te(n);for(;i&&t!==n;){let e=X(i),t=i.getBoundingClientRect(),r=K(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=z(i),i=Te(n)}}return I({width:u,height:d,x:c,y:l})}function Q(e,t){let n=q(e).scrollLeft;return t?t.left+n:Z(B(e)).left+n}function je(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Q(e,n),y:n.top+t.scrollTop}}function Me(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=B(r),s=t?U(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=v(1),u=v(0),d=H(r);if((d||!a)&&((R(r)!==`body`||ge(o))&&(c=q(r)),d)){let e=Z(r);l=X(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?je(o,c):v(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Ne(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Pe(e){let t=q(e),n=e.ownerDocument.body,r=h(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=h(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+Q(e),o=-t.scrollTop;return K(n).direction===`rtl`&&(a+=h(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var Fe=25;function Ie(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=z(e),a=B(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!Ce()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(Q(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=Fe&&(s-=o)}return{width:s,height:c,x:l,y:u}}function Le(e,t){let n=Z(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=X(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Re(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=Ie(e,n,t);else if(t===`document`)r=Pe(B(e));else if(V(t))r=Le(t,n);else{let n=ke(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return I(r)}function ze(e,t){let n=t.get(e);if(n)return n;let r=Y(e,[],!1).filter(e=>V(e)&&R(e)!==`body`),i=null,a=K(e).position===`fixed`,o=a?J(e):e;for(;V(o)&&!G(o);){let e=K(o),t=xe(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=J(o)}return t.set(e,r),r}function Be(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?U(t)?[]:ze(t,this._c):[].concat(n),r],o=Re(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Re(t,a[e],i);s=h(n.top,s),c=m(n.right,c),l=m(n.bottom,l),u=h(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function Ve(e){let{width:t,height:n}=Ee(e);return{width:t,height:n}}function He(e,t,n){let r=H(t),i=B(t),a=n===`fixed`,o=Z(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=v(0);if((r||!a)&&((R(t)!==`body`||ge(i))&&(s=q(t)),r)){let e=Z(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=Q(i));let l=i&&!r&&!a?je(i,s):v(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function Ue(e){return K(e).position===`static`}function We(e,t){if(!H(e)||K(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return B(e)===n&&(n=n.ownerDocument.body),n}function Ge(e,t){let n=z(e);if(U(e))return n;if(!H(e)){let t=J(e);for(;t&&!G(t);){if(V(t)&&!Ue(t))return t;t=J(t)}return n}let r=We(e,t);for(;r&&_e(r)&&Ue(r);)r=We(r,t);return r&&G(r)&&Ue(r)&&!xe(r)?n:r||Se(e)||n}var Ke=async function(e){let t=this.getOffsetParent||Ge,n=this.getDimensions,r=await n(e.floating);return{reference:He(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function qe(e){return K(e).direction===`rtl`}var Je={convertOffsetParentRelativeRectToViewportRelativeRect:Me,getDocumentElement:B,getClippingRect:Be,getOffsetParent:Ge,getElementRects:Ke,getClientRects:Ne,getDimensions:Ve,getScale:X,isElement:V,isRTL:qe};function Ye(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Xe(e,t,n){let r=null,i,a=B(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let g=_(d),v=_(a.clientWidth-(u+f)),y=_(a.clientHeight-(d+p)),b=_(u),x={rootMargin:-g+`px `+-v+`px `+-y+`px `+-b+`px`,threshold:h(0,m(1,c))||1},S=!0;function C(t){let n=t[0].intersectionRatio;if(!Ye(l,e.getBoundingClientRect()))return s();if(n!==c){if(!S)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}S=!1}try{r=new IntersectionObserver(C,{...x,root:a.ownerDocument})}catch{r=new IntersectionObserver(C,x)}r.observe(e)}let c=z(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function Ze(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=De(e),u=i||a?[...l?Y(l):[],...t?Y(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?Xe(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Z(e):null;c&&g();function g(){let t=Z(e);h&&!Ye(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Qe=fe,$e=pe,et=le,tt=ce,nt=(e,t,n)=>{let r=new Map,i=n??{},a={...Je,...i.platform,_c:r};return se(e,t,{...i,platform:a})},rt=async({floatingElement:t,referenceElement:n,arrowElement:r,align:i=`top`})=>{if(!e()){let e=[Qe(r?.offsetHeight||10),et(),$e()];r&&e.push(tt({element:r}));let{x:a,y:o,middlewareData:s,placement:c}=await nt(n,t,{placement:i,middleware:e,strategy:`fixed`});Object.assign(t.style,{left:`${a}px`,top:`${o}px`,visibility:`visible`}),r&&(s.arrow?.x?Object.assign(r.style,{left:`${s.arrow.x}px`,top:c===`bottom`?`${-r.offsetHeight/2}px`:``,bottom:c===`top`?`${-r.offsetHeight/2}px`:``}):s.arrow?.y&&Object.assign(r.style,{left:c===`right`?`${-r.offsetWidth/2}px`:``,right:c===`left`?`${-r.offsetWidth/2}px`:``,top:`${s.arrow.y}px`}))}},it=new Set,$=null;function at(e){$!==e&&($&&$.style.setProperty(`z-index`,`999`),it.delete(e),it.add(e),e.style.setProperty(`z-index`,`1000`),$=e)}function ot(e){if(it.delete(e)&&$===e){$=null;for(let e of it)$=e;$&&$.style.setProperty(`z-index`,`1000`)}}var st=class{constructor(e,t){this.setState=e.setState,this.getState=e.getState,this.renderProps=i(t)}setRenderProp(e,t){this.renderProps[e]=t}getRenderProp(e){return this.renderProps[e]}},ct={required:[s],optional:[f,p,o]},lt=class extends st{constructor(e){super(e,ct),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){s.apply(e||void 0,e=>{this.setRenderProp(`label`,e)})}watchAlign(e){f.apply(e,e=>{this.setRenderProp(`align`,e)})}watchBadgeText(e){p.apply(e,e=>{this.setRenderProp(`badgeText`,e)})}watchId(e){o.apply(e,e=>{this.setRenderProp(`id`,e)})}initContext(e){this.previousSibling=e}syncListeners(e,t,n=!1){e&&this.removeListeners(e),t&&(n&&(this.previousSibling=t),this.removeListeners(t),this.addListeners(t))}handleEventListeners(e){let t=e.previousElementSibling;this.syncListeners(this.previousSibling,t,!0)}hideTooltip(){this.isHiddenForCurrentVisit=!0,this.tooltipElement&&(ot(this.tooltipElement),u(),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)),t().removeEventListener(`keydown`,this.hideTooltipByEscape)}destroy(){clearTimeout(this.overFocusTimeout),this.previousSibling&&=(this.removeListeners(this.previousSibling),void 0),this.tooltipElement&&this.removeListeners(this.tooltipElement),this.cleanupAutoPositioning&&=(this.cleanupAutoPositioning(),void 0),t().removeEventListener(`keydown`,this.hideTooltipByEscape)}isNewVisit(){return!this.hasMouseIn&&!this.hasFocusIn}resetHideFlag(){this.isNewVisit()&&(this.isHiddenForCurrentVisit=!1)}async alignTooltip(){this.tooltipElement&&this.previousSibling&&await rt({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){at(this.tooltipElement),l(),this.tooltipElement.classList.remove(`hide`),this.tooltipElement.classList.add(`show`),this.tooltipElement.style.setProperty(`display`,`block`),t().addEventListener(`keydown`,this.hideTooltipByEscape);let e=this.previousSibling,n=this.tooltipElement;this.cleanupAutoPositioning=Ze(e,n,()=>{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{Ze as a,f as i,lt as n,d as o,rt as r,st as t};
2
+ //# sourceMappingURL=behavior-Bb7JYoUn-D9d7SICv.js.map