@public-ui/components 4.6.0-rc.3 → 4.7.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (676) hide show
  1. package/assets/kolicons/kolicons.eot +0 -0
  2. package/assets/kolicons/kolicons.ttf +0 -0
  3. package/assets/kolicons/kolicons.woff +0 -0
  4. package/assets/kolicons/kolicons.woff2 +0 -0
  5. package/assets/kolicons/style.css +6 -6
  6. package/custom-elements.json +2 -2
  7. package/dist/cjs/{Heading-DqZXie2T.js → Heading-BiIgkzH8.js} +7 -7
  8. package/dist/cjs/{api-Cc1hT-oO.js → api-CYf8xdSs.js} +24 -26
  9. package/dist/cjs/{app-globals-DtXiFJRj.js → app-globals-BYAPmvIk.js} +2 -2
  10. package/dist/cjs/{base-CoMrpiHg.js → base--a0QJmk3.js} +10 -10
  11. package/dist/cjs/{base-BjiXfuju.js → base-BmhaEyug.js} +10 -10
  12. package/dist/cjs/{base-B-wbGF-X.js → base-BpyecmRJ.js} +47 -40
  13. package/dist/cjs/{base-BKsPSdXS.js → base-CUUvWtsB.js} +10 -10
  14. package/dist/cjs/{base-web-component-DXCN-Sp3.js → base-web-component-BompEaD1.js} +1 -1
  15. package/dist/cjs/{base-web-component-DApRK7Vs.js → base-web-component-CWIPg0xv.js} +14 -15
  16. package/dist/cjs/{base-web-component-BXtl3Nmq.js → base-web-component-ZnP9FmYh.js} +12 -14
  17. package/dist/cjs/{behavior-DIv2ciyM.js → behavior-CFLTEANn.js} +4 -4
  18. package/dist/cjs/{behavior-DtHCmCCv.js → behavior-DSFpiPZZ.js} +4 -4
  19. package/dist/cjs/{behavior-GG5TOrTV.js → behavior-O4U6x6z7.js} +4 -4
  20. package/dist/cjs/{bem-registry-h_moyLBn.js → bem-registry-CtnO3zCW.js} +22 -0
  21. package/dist/cjs/{bootstrap-HU5YhM_w.js → bootstrap-DOzWgRGX.js} +1 -1
  22. package/dist/cjs/{color-C3xsA3Uk.js → color-BAx-7-VH.js} +2 -2
  23. package/dist/cjs/{component-DlyhBQIa.js → component-7ByD-KGA.js} +4 -4
  24. package/dist/cjs/component-B2tj_1JK.js +19 -0
  25. package/dist/cjs/{component-CsnTf_45.js → component-BOtCtyyw.js} +8 -10
  26. package/dist/cjs/{component-BOI4FdZE.js → component-BhAlZY9F.js} +6 -7
  27. package/dist/cjs/{component-CNNGo5gU.js → component-BsX1-89D.js} +10 -12
  28. package/dist/cjs/{component-D0uxhuF3.js → component-C4QeEJ1-.js} +6 -5
  29. package/dist/cjs/{component-Cnc2NyzE.js → component-DUJYVdRR.js} +4 -4
  30. package/dist/cjs/{component-CxwSVBBv.js → component-DWb8RKVo.js} +11 -12
  31. package/dist/cjs/component-Dd3qxReW.js +178 -0
  32. package/dist/cjs/{component-BE_fK-Xu.js → component-STJidyBV.js} +14 -16
  33. package/dist/cjs/component-TQvy83J2.js +53 -0
  34. package/dist/cjs/{contrast-6Nku3lih.js → contrast-DOAdZqCp.js} +1 -1
  35. package/dist/cjs/{dev.utils-DTQy7QrG.js → dev.utils-DlmiDtkx.js} +1 -1
  36. package/dist/cjs/{devtools-BAChPN0l.js → devtools-C41YtdU_.js} +2 -2
  37. package/dist/cjs/{disabled-CilmJ-p-.js → disabled-BdFhTB-H.js} +1 -1
  38. package/dist/cjs/{field-control-Bxj6Xuu8.js → field-control-S9RwdD26.js} +12 -12
  39. package/dist/cjs/{group-BUdQbdkp.js → group-C00FoXnX.js} +7 -8
  40. package/dist/cjs/{has-closer-iSIrv52u.js → has-closer--ijHuPZy.js} +1 -1
  41. package/dist/cjs/{href-xojo1zy_.js → href-BD4uBwDL.js} +1 -1
  42. package/dist/cjs/{i18n-D7UmRsV8.js → i18n-4lKONPdP.js} +1 -1
  43. package/dist/cjs/{i18n-DgHI4-xa.js → i18n-CuXZ7SEi.js} +2 -1
  44. package/dist/cjs/{id-DP-w6i4q.js → id-BM9KgE0w.js} +1 -1
  45. package/dist/cjs/{index-BaB_2Z5W.js → index-DRjg_lHL.js} +1 -1
  46. package/dist/cjs/index.cjs.js +3 -3
  47. package/dist/cjs/input-0s6YjmaC.js +19 -0
  48. package/dist/cjs/{input-container-BcwbGU2R.js → input-container-DYp04csT.js} +8 -10
  49. package/dist/cjs/{item-BXt0-A5j.js → item-BKyAM3Uo.js} +20 -21
  50. package/dist/cjs/{item-DJ-XUS77.js → item-CRgD35fr.js} +4 -4
  51. package/dist/cjs/{item-BLrLbhAD.js → item-DWAwMGWB.js} +11 -11
  52. package/dist/cjs/{item-BYKMN41a.js → item-xUIdEroQ.js} +4 -4
  53. package/dist/cjs/kol-abbr.cjs.entry.js +8 -12
  54. package/dist/cjs/kol-accordion.cjs.entry.js +15 -17
  55. package/dist/cjs/kol-alert.cjs.entry.js +27 -30
  56. package/dist/cjs/kol-avatar.cjs.entry.js +14 -15
  57. package/dist/cjs/kol-badge.cjs.entry.js +23 -26
  58. package/dist/cjs/kol-breadcrumb.cjs.entry.js +26 -30
  59. package/dist/cjs/kol-button-link.cjs.entry.js +22 -25
  60. package/dist/cjs/kol-button.cjs.entry.js +22 -25
  61. package/dist/cjs/kol-card.cjs.entry.js +27 -30
  62. package/dist/cjs/kol-combobox.cjs.entry.js +37 -40
  63. package/dist/cjs/kol-details.cjs.entry.js +15 -17
  64. package/dist/cjs/kol-dialog.cjs.entry.js +30 -33
  65. package/dist/cjs/kol-drawer.cjs.entry.js +30 -33
  66. package/dist/cjs/kol-form.cjs.entry.js +24 -27
  67. package/dist/cjs/kol-heading.cjs.entry.js +13 -15
  68. package/dist/cjs/kol-icon.cjs.entry.js +8 -9
  69. package/dist/cjs/kol-image.cjs.entry.js +7 -9
  70. package/dist/cjs/kol-input-checkbox.cjs.entry.js +38 -41
  71. package/dist/cjs/kol-input-color.cjs.entry.js +35 -38
  72. package/dist/cjs/kol-input-date.cjs.entry.js +41 -45
  73. package/dist/cjs/kol-input-email.cjs.entry.js +42 -45
  74. package/dist/cjs/kol-input-file.cjs.entry.js +36 -39
  75. package/dist/cjs/kol-input-number.cjs.entry.js +40 -43
  76. package/dist/cjs/kol-input-password.cjs.entry.js +41 -44
  77. package/dist/cjs/kol-input-radio.cjs.entry.js +37 -40
  78. package/dist/cjs/kol-input-range.cjs.entry.js +35 -38
  79. package/dist/cjs/kol-input-text.cjs.entry.js +43 -46
  80. package/dist/cjs/kol-kolibri.cjs.entry.js +8 -12
  81. package/dist/cjs/kol-link-button.cjs.entry.js +23 -26
  82. package/dist/cjs/kol-link.cjs.entry.js +23 -26
  83. package/dist/cjs/kol-meter.cjs.entry.js +14 -15
  84. package/dist/cjs/kol-modal.cjs.entry.js +30 -33
  85. package/dist/cjs/kol-nav.cjs.entry.js +35 -38
  86. package/dist/cjs/kol-pagination.cjs.entry.js +41 -44
  87. package/dist/cjs/kol-popover-button.cjs.entry.js +23 -26
  88. package/dist/cjs/kol-progress.cjs.entry.js +13 -14
  89. package/dist/cjs/kol-quote.cjs.entry.js +9 -10
  90. package/dist/cjs/kol-select.cjs.entry.js +34 -37
  91. package/dist/cjs/kol-single-select.cjs.entry.js +37 -40
  92. package/dist/cjs/kol-skip-nav.cjs.entry.js +26 -30
  93. package/dist/cjs/kol-spin.cjs.entry.js +11 -15
  94. package/dist/cjs/kol-split-button.cjs.entry.js +28 -31
  95. package/dist/cjs/kol-table-stateful.cjs.entry.js +53 -54
  96. package/dist/cjs/kol-table-stateless.cjs.entry.js +37 -40
  97. package/dist/cjs/kol-tabs.cjs.entry.js +23 -26
  98. package/dist/cjs/kol-textarea.cjs.entry.js +39 -42
  99. package/dist/cjs/kol-toast-container.cjs.entry.js +20 -23
  100. package/dist/cjs/kol-toolbar.cjs.entry.js +29 -32
  101. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +11 -12
  102. package/dist/cjs/kol-tree-item.cjs.entry.js +22 -26
  103. package/dist/cjs/kol-tree.cjs.entry.js +9 -10
  104. package/dist/cjs/kol-version.cjs.entry.js +21 -24
  105. package/dist/cjs/kolibri.cjs.js +3 -3
  106. package/dist/cjs/{label-D6c6jfqK.js → label-BA98eiFj.js} +3 -3
  107. package/dist/cjs/{label-hints-q3XenWLW.js → label-hints-BE4LQ_Av.js} +1 -1
  108. package/dist/cjs/{label-lang-segment-k4OY9qRY.js → label-lang-segment-C5U5gEca.js} +2 -2
  109. package/dist/cjs/{label-with-expert-slot-CJoz7BLw.js → label-with-expert-slot-x1D8V34g.js} +3 -3
  110. package/dist/cjs/{level-B6vFMm9s.js → level-CX2p0n7U.js} +1 -1
  111. package/dist/cjs/{link-target-0qSVsAb2.js → link-target-B1N4Je6O.js} +1 -1
  112. package/dist/cjs/{links-Ur1e9DOK.js → links-SN0jipdB.js} +1 -1
  113. package/dist/cjs/loader.cjs.js +3 -3
  114. package/dist/cjs/{multiple-CCxtzqez.js → multiple-Dl_RoQ-P.js} +1 -1
  115. package/dist/cjs/{number-value-DzAHCwlP.js → number-value-DO-0brWb.js} +1 -1
  116. package/dist/cjs/{open-Gxr_K7HK.js → open-BQ2n_Z5t.js} +1 -1
  117. package/dist/cjs/{options-BT0m0gRT.js → options-B49Y2jkm.js} +1 -1
  118. package/dist/cjs/{orientation-CeHU4dT8.js → orientation-DKdQrdXN.js} +1 -1
  119. package/dist/cjs/{placeholder-22xUUFff.js → placeholder-E5zS-kqO.js} +1 -1
  120. package/dist/cjs/{props-from-config-D1qhXS9j.js → props-from-config-8bawgofo.js} +86 -5
  121. package/dist/cjs/{read-only-iHApMQEg.js → read-only-YsES5bfT.js} +1 -1
  122. package/dist/cjs/{required-BYdSI25I.js → required-BvWmptNq.js} +1 -1
  123. package/dist/cjs/{resolve-props-c-uwDulF.js → resolve-props-CHqmeYxD.js} +6 -6
  124. package/dist/cjs/{resolve-props-B7klWjLx.js → resolve-props-DUeggpV2.js} +7 -7
  125. package/dist/cjs/{rows-C9vBSQK1.js → rows-BBmwZt2C.js} +1 -1
  126. package/dist/cjs/{scroll-lock-daUQqmx_.js → scroll-lock-3znuNdTX.js} +8 -7
  127. package/dist/cjs/{smart-button-DRMmUyQ5.js → smart-button-B3OCsLLZ.js} +1 -1
  128. package/dist/cjs/{spell-check-CxgvHcGA.js → spell-check-DuFxddUB.js} +1 -1
  129. package/dist/cjs/{src-Bmd7gQCS.js → src-Cl2qHbxL.js} +1 -1
  130. package/dist/cjs/{step-CCqgsPCX.js → step-Bf3TCVBv.js} +1 -1
  131. package/dist/cjs/{suggestions-CoUp7HmN.js → suggestions-BjKRoku9.js} +1 -1
  132. package/dist/cjs/{suggestions-D3snLGL_.js → suggestions-C4B_eROV.js} +3 -3
  133. package/dist/cjs/test-component.cjs.entry.js +1 -1
  134. package/dist/cjs/{toggle-handler-B0xib7fH.js → toggle-handler-DEpykyv_.js} +11 -13
  135. package/dist/cjs/{unique-nav-labels-CgxOyb6V.js → unique-nav-labels-CNpNvloU.js} +1 -1
  136. package/dist/cjs/{unit-_oDj-vIB.js → unit-gLQjiSkI.js} +1 -1
  137. package/dist/cjs/{validators-CpCJvM4r.js → validators-DNveqLx4.js} +1 -1
  138. package/dist/cjs/{value-string-CKppMGVM.js → value-string-JMz269Bn.js} +1 -1
  139. package/dist/cjs/{width-e7f3wHF3.js → width-_6rleKWl.js} +1 -1
  140. package/dist/collection/components/abbr/style.css +21 -0
  141. package/dist/collection/components/accordion/style.css +23 -2
  142. package/dist/collection/components/alert/component.js +6 -5
  143. package/dist/collection/components/alert/style.css +23 -2
  144. package/dist/collection/components/avatar/style.css +21 -0
  145. package/dist/collection/components/badge/style.css +23 -2
  146. package/dist/collection/components/breadcrumb/style.css +23 -2
  147. package/dist/collection/components/button/style.css +23 -2
  148. package/dist/collection/components/button-link/style.css +23 -2
  149. package/dist/collection/components/card/style.css +23 -2
  150. package/dist/collection/components/combobox/style.css +23 -2
  151. package/dist/collection/components/details/style.css +23 -2
  152. package/dist/collection/components/dialog/base.js +2 -2
  153. package/dist/collection/components/dialog/style.css +23 -2
  154. package/dist/collection/components/drawer/style.css +23 -2
  155. package/dist/collection/components/form/style.css +23 -2
  156. package/dist/collection/components/heading/style.css +21 -0
  157. package/dist/collection/components/icon/style.css +2 -2
  158. package/dist/collection/components/image/style.css +21 -0
  159. package/dist/collection/components/input-checkbox/style.css +23 -2
  160. package/dist/collection/components/input-color/style.css +23 -2
  161. package/dist/collection/components/input-date/component.js +6 -6
  162. package/dist/collection/components/input-date/style.css +23 -2
  163. package/dist/collection/components/input-email/style.css +23 -2
  164. package/dist/collection/components/input-file/component.js +1 -1
  165. package/dist/collection/components/input-file/style.css +23 -2
  166. package/dist/collection/components/input-number/style.css +23 -2
  167. package/dist/collection/components/input-password/style.css +23 -2
  168. package/dist/collection/components/input-radio/style.css +23 -2
  169. package/dist/collection/components/input-range/style.css +23 -2
  170. package/dist/collection/components/input-text/style.css +23 -2
  171. package/dist/collection/components/kolibri/style.css +21 -0
  172. package/dist/collection/components/link/style.css +23 -2
  173. package/dist/collection/components/link-button/style.css +23 -2
  174. package/dist/collection/components/meter/style.css +21 -0
  175. package/dist/collection/components/modal/style.css +23 -2
  176. package/dist/collection/components/nav/style.css +23 -2
  177. package/dist/collection/components/pagination/component.js +5 -5
  178. package/dist/collection/components/pagination/style.css +23 -2
  179. package/dist/collection/components/popover-button/style.css +23 -2
  180. package/dist/collection/components/progress/style.css +21 -0
  181. package/dist/collection/components/quote/style.css +21 -0
  182. package/dist/collection/components/select/style.css +23 -2
  183. package/dist/collection/components/single-select/style.css +23 -2
  184. package/dist/collection/components/skip-nav/style.css +23 -2
  185. package/dist/collection/components/spin/style.css +21 -0
  186. package/dist/collection/components/split-button/style.css +23 -2
  187. package/dist/collection/components/table-stateful/component.js +5 -2
  188. package/dist/collection/components/table-stateful/style.css +23 -2
  189. package/dist/collection/components/table-stateless/style.css +23 -2
  190. package/dist/collection/components/tabs/style.css +23 -2
  191. package/dist/collection/components/textarea/style.css +23 -2
  192. package/dist/collection/components/toaster/style.css +23 -2
  193. package/dist/collection/components/toolbar/style.css +23 -2
  194. package/dist/collection/components/tree/style.css +21 -0
  195. package/dist/collection/components/tree-item/style.css +23 -2
  196. package/dist/collection/components/version/style.css +23 -2
  197. package/dist/collection/core/i18n.js +2 -1
  198. package/dist/collection/internal/functional-components/alert/component.js +2 -1
  199. package/dist/collection/internal/functional-components/avatar/component.js +2 -2
  200. package/dist/collection/internal/functional-components/badge/component.js +2 -1
  201. package/dist/collection/internal/functional-components/bem-root-node/component.js +16 -6
  202. package/dist/collection/internal/functional-components/breadcrumb/component.js +2 -2
  203. package/dist/collection/internal/functional-components/card/component.js +3 -1
  204. package/dist/collection/internal/functional-components/collapsible/component.js +3 -2
  205. package/dist/collection/internal/functional-components/dialog/component.js +6 -3
  206. package/dist/collection/internal/functional-components/dialog/item.js +2 -2
  207. package/dist/collection/internal/functional-components/drawer/component.js +1 -1
  208. package/dist/collection/internal/functional-components/heading/component.js +3 -4
  209. package/dist/collection/internal/functional-components/icon/component.js +2 -2
  210. package/dist/collection/internal/functional-components/image/component.js +2 -4
  211. package/dist/collection/internal/functional-components/link/component.js +1 -1
  212. package/dist/collection/internal/functional-components/meter/component.js +2 -1
  213. package/dist/collection/internal/functional-components/pagination/item.js +6 -6
  214. package/dist/collection/internal/functional-components/progress/component.js +2 -1
  215. package/dist/collection/internal/functional-components/quote/component.js +2 -2
  216. package/dist/collection/internal/functional-components/skip-nav/component.js +2 -2
  217. package/dist/collection/internal/functional-components/span/component.js +3 -2
  218. package/dist/collection/internal/functional-components/table-stateless/settings.js +12 -4
  219. package/dist/collection/internal/functional-components/tree/component.js +2 -2
  220. package/dist/collection/internal/functional-components/tree-item/component.js +2 -2
  221. package/dist/collection/schema/bem-registry.js +22 -0
  222. package/dist/collection/utils/markdown.js +49 -3
  223. package/dist/components/Heading.js +1 -1
  224. package/dist/components/base-web-component2.js +1 -1
  225. package/dist/components/base-web-component3.js +1 -1
  226. package/dist/components/base-web-component4.js +1 -1
  227. package/dist/components/base.js +1 -1
  228. package/dist/components/base2.js +1 -1
  229. package/dist/components/base3.js +1 -1
  230. package/dist/components/base4.js +1 -1
  231. package/dist/components/behavior.js +1 -1
  232. package/dist/components/behavior2.js +1 -1
  233. package/dist/components/behavior3.js +1 -1
  234. package/dist/components/behavior4.js +1 -1
  235. package/dist/components/bem-registry.js +1 -1
  236. package/dist/components/component.js +1 -1
  237. package/dist/components/component10.js +1 -1
  238. package/dist/components/component2.js +1 -1
  239. package/dist/components/component3.js +1 -1
  240. package/dist/components/component4.js +1 -1
  241. package/dist/components/component5.js +1 -1
  242. package/dist/components/component6.js +1 -1
  243. package/dist/components/component7.js +1 -1
  244. package/dist/components/component8.js +1 -1
  245. package/dist/components/component9.js +1 -1
  246. package/dist/components/contrast.js +1 -1
  247. package/dist/components/controller.js +1 -1
  248. package/dist/components/devtools.js +1 -1
  249. package/dist/components/field-control.js +1 -1
  250. package/dist/components/group.js +1 -1
  251. package/dist/components/i18n2.js +1 -1
  252. package/dist/components/input-container.js +1 -1
  253. package/dist/components/input.js +1 -1
  254. package/dist/components/item2.js +1 -1
  255. package/dist/components/item4.js +1 -1
  256. package/dist/components/kol-abbr.js +1 -1
  257. package/dist/components/kol-accordion.js +1 -1
  258. package/dist/components/kol-alert.js +1 -1
  259. package/dist/components/kol-avatar.js +1 -1
  260. package/dist/components/kol-badge.js +1 -1
  261. package/dist/components/kol-breadcrumb.js +1 -1
  262. package/dist/components/kol-button-link.js +1 -1
  263. package/dist/components/kol-button.js +1 -1
  264. package/dist/components/kol-card.js +1 -1
  265. package/dist/components/kol-combobox.js +1 -1
  266. package/dist/components/kol-details.js +1 -1
  267. package/dist/components/kol-dialog.js +1 -1
  268. package/dist/components/kol-drawer.js +1 -1
  269. package/dist/components/kol-form.js +1 -1
  270. package/dist/components/kol-heading.js +1 -1
  271. package/dist/components/kol-icon.js +1 -1
  272. package/dist/components/kol-image.js +1 -1
  273. package/dist/components/kol-input-checkbox.js +1 -1
  274. package/dist/components/kol-input-color.js +1 -1
  275. package/dist/components/kol-input-date.js +1 -1
  276. package/dist/components/kol-input-email.js +1 -1
  277. package/dist/components/kol-input-file.js +1 -1
  278. package/dist/components/kol-input-number.js +1 -1
  279. package/dist/components/kol-input-password.js +1 -1
  280. package/dist/components/kol-input-radio.js +1 -1
  281. package/dist/components/kol-input-range.js +1 -1
  282. package/dist/components/kol-input-text.js +1 -1
  283. package/dist/components/kol-kolibri.js +1 -1
  284. package/dist/components/kol-link-button.js +1 -1
  285. package/dist/components/kol-link.js +1 -1
  286. package/dist/components/kol-meter.js +1 -1
  287. package/dist/components/kol-modal.js +1 -1
  288. package/dist/components/kol-nav.js +1 -1
  289. package/dist/components/kol-pagination.js +1 -1
  290. package/dist/components/kol-popover-button.js +1 -1
  291. package/dist/components/kol-progress.js +1 -1
  292. package/dist/components/kol-quote.js +1 -1
  293. package/dist/components/kol-select.js +1 -1
  294. package/dist/components/kol-single-select.js +1 -1
  295. package/dist/components/kol-skip-nav.js +1 -1
  296. package/dist/components/kol-spin.js +1 -1
  297. package/dist/components/kol-split-button.js +1 -1
  298. package/dist/components/kol-table-stateful.js +1 -1
  299. package/dist/components/kol-table-stateless.js +1 -1
  300. package/dist/components/kol-tabs.js +1 -1
  301. package/dist/components/kol-textarea.js +1 -1
  302. package/dist/components/kol-toast-container.js +1 -1
  303. package/dist/components/kol-toolbar.js +1 -1
  304. package/dist/components/kol-tooltip-wc.js +1 -1
  305. package/dist/components/kol-tree-item.js +1 -1
  306. package/dist/components/kol-tree.js +1 -1
  307. package/dist/components/kol-version.js +1 -1
  308. package/dist/components/label-hints.js +1 -1
  309. package/dist/components/label-lang-segment.js +1 -1
  310. package/dist/components/label-with-expert-slot.js +1 -1
  311. package/dist/components/level.js +1 -1
  312. package/dist/components/links.js +1 -1
  313. package/dist/components/number-value.js +1 -1
  314. package/dist/components/props-from-config.js +1 -1
  315. package/dist/components/resolve-props.js +1 -1
  316. package/dist/components/resolve-props2.js +1 -1
  317. package/dist/components/rows.js +1 -1
  318. package/dist/components/scroll-lock.js +1 -1
  319. package/dist/components/step.js +1 -1
  320. package/dist/components/toggle-handler.js +1 -1
  321. package/dist/components/unit.js +1 -1
  322. package/dist/components/validators.js +1 -1
  323. package/dist/esm/{Heading-GZb1f2pZ.js → Heading-DDS-lyOB.js} +2 -2
  324. package/dist/esm/{api-CBPlj155.js → api-MBSY9afi.js} +18 -20
  325. package/dist/esm/{app-globals-DRl9A82c.js → app-globals-DytcyM_s.js} +2 -2
  326. package/dist/esm/{base-BByRnpRm.js → base-D-me6QDT.js} +10 -10
  327. package/dist/esm/{base-C7BBsrYZ.js → base-D7-iAVBu.js} +35 -28
  328. package/dist/esm/{base-DO0KvOv9.js → base-DP9yHJOV.js} +10 -10
  329. package/dist/esm/{base-Dtxcvto_.js → base-DZBnXHZh.js} +10 -10
  330. package/dist/esm/{base-web-component-BxXLva5d.js → base-web-component-BLA2cpyz.js} +8 -10
  331. package/dist/esm/{base-web-component-CC_gpyDb.js → base-web-component-Bh2NCN7p.js} +1 -1
  332. package/dist/esm/{base-web-component-CfPyCJDJ.js → base-web-component-DwY54ppZ.js} +13 -14
  333. package/dist/esm/{behavior-CsNDRS2z.js → behavior-Cw8QfOcm.js} +4 -4
  334. package/dist/esm/{behavior-ewHvUWVk.js → behavior-DUy0X7U1.js} +4 -4
  335. package/dist/esm/{behavior-CKU2tmCj.js → behavior-DmR4WVXd.js} +4 -4
  336. package/dist/esm/{bem-registry-D1KgKnyz.js → bem-registry-SKACeCny.js} +22 -0
  337. package/dist/esm/{bootstrap-tgQ2nQQI.js → bootstrap-Bp7i4RJQ.js} +1 -1
  338. package/dist/esm/{color-D1gM-F2l.js → color-CnRQPMm_.js} +2 -2
  339. package/dist/esm/{component-By8ggItU.js → component-B4CDonzN.js} +6 -8
  340. package/dist/esm/{component-B3OziaRC.js → component-BC1TpQVD.js} +9 -11
  341. package/dist/esm/component-BUzgs8fh.js +48 -0
  342. package/dist/esm/{component-D4-NVnsT.js → component-Bldy_ShO.js} +4 -4
  343. package/dist/esm/component-Cj3P_f35.js +173 -0
  344. package/dist/esm/{component-D6_K50vT.js → component-D5yKRPCZ.js} +4 -4
  345. package/dist/esm/{component-D6lo0LzE.js → component-DisuGN16.js} +5 -6
  346. package/dist/esm/{component-6l69Jvwl.js → component-DxnezN7K.js} +6 -5
  347. package/dist/esm/component-LadkF9an.js +17 -0
  348. package/dist/esm/{component-CF8uFG0A.js → component-ZJiUl6kZ.js} +13 -15
  349. package/dist/esm/{component-Cmi6iGfA.js → component-vxdandl4.js} +10 -11
  350. package/dist/esm/{contrast-BNoQruBh.js → contrast-pfwNxK_L.js} +1 -1
  351. package/dist/esm/{dev.utils-BwYCy1rP.js → dev.utils-DM7Qhcet.js} +1 -1
  352. package/dist/esm/{devtools-CGP3Nzsw.js → devtools-CxUqjh1N.js} +2 -2
  353. package/dist/esm/{disabled-BZXlWAgK.js → disabled-C2DzYwwy.js} +1 -1
  354. package/dist/esm/{field-control-0TRmF7Ea.js → field-control-CQJgDAKK.js} +7 -7
  355. package/dist/esm/{group-DapkT_Yh.js → group-DCoICCiG.js} +5 -6
  356. package/dist/esm/{has-closer-DUB0QcS9.js → has-closer-x20C4xl3.js} +1 -1
  357. package/dist/esm/{href-CxokGOJ2.js → href-vIF4eC7d.js} +1 -1
  358. package/dist/esm/{i18n-ePBcLlCr.js → i18n-BLkzMf6D.js} +1 -1
  359. package/dist/esm/{i18n-4J6U3ZDc.js → i18n-BRgvVqCf.js} +2 -1
  360. package/dist/esm/{id-BI0ZuK17.js → id-lCAtMmMx.js} +1 -1
  361. package/dist/esm/{index-DEcM8BEc.js → index-8-BSSKQL.js} +1 -1
  362. package/dist/esm/index.js +4 -4
  363. package/dist/esm/{input-CDUCo1S5.js → input-C4yo-d7N.js} +4 -5
  364. package/dist/esm/{input-container-BipAkWn4.js → input-container-Cb2xJUCl.js} +6 -8
  365. package/dist/esm/{item-UgJ2uikD.js → item-BANfM_Mo.js} +17 -18
  366. package/dist/esm/{item-BvnZc8uV.js → item-C2HHBTvm.js} +4 -4
  367. package/dist/esm/{item-B0oQTeju.js → item-H09kNXn9.js} +4 -4
  368. package/dist/esm/{item-Boe3t0Dm.js → item-gvmzMXYb.js} +11 -11
  369. package/dist/esm/kol-abbr.entry.js +7 -11
  370. package/dist/esm/kol-accordion.entry.js +15 -17
  371. package/dist/esm/kol-alert.entry.js +27 -30
  372. package/dist/esm/kol-avatar.entry.js +14 -15
  373. package/dist/esm/kol-badge.entry.js +23 -26
  374. package/dist/esm/kol-breadcrumb.entry.js +26 -30
  375. package/dist/esm/kol-button-link.entry.js +22 -25
  376. package/dist/esm/kol-button.entry.js +22 -25
  377. package/dist/esm/kol-card.entry.js +27 -30
  378. package/dist/esm/kol-combobox.entry.js +36 -39
  379. package/dist/esm/kol-details.entry.js +15 -17
  380. package/dist/esm/kol-dialog.entry.js +30 -33
  381. package/dist/esm/kol-drawer.entry.js +30 -33
  382. package/dist/esm/kol-form.entry.js +23 -26
  383. package/dist/esm/kol-heading.entry.js +13 -15
  384. package/dist/esm/kol-icon.entry.js +8 -9
  385. package/dist/esm/kol-image.entry.js +7 -9
  386. package/dist/esm/kol-input-checkbox.entry.js +32 -35
  387. package/dist/esm/kol-input-color.entry.js +35 -38
  388. package/dist/esm/kol-input-date.entry.js +40 -44
  389. package/dist/esm/kol-input-email.entry.js +41 -44
  390. package/dist/esm/kol-input-file.entry.js +35 -38
  391. package/dist/esm/kol-input-number.entry.js +39 -42
  392. package/dist/esm/kol-input-password.entry.js +39 -42
  393. package/dist/esm/kol-input-radio.entry.js +34 -37
  394. package/dist/esm/kol-input-range.entry.js +35 -38
  395. package/dist/esm/kol-input-text.entry.js +41 -44
  396. package/dist/esm/kol-kolibri.entry.js +7 -11
  397. package/dist/esm/kol-link-button.entry.js +23 -26
  398. package/dist/esm/kol-link.entry.js +23 -26
  399. package/dist/esm/kol-meter.entry.js +14 -15
  400. package/dist/esm/kol-modal.entry.js +30 -33
  401. package/dist/esm/kol-nav.entry.js +30 -33
  402. package/dist/esm/kol-pagination.entry.js +41 -44
  403. package/dist/esm/kol-popover-button.entry.js +23 -26
  404. package/dist/esm/kol-progress.entry.js +13 -14
  405. package/dist/esm/kol-quote.entry.js +9 -10
  406. package/dist/esm/kol-select.entry.js +34 -37
  407. package/dist/esm/kol-single-select.entry.js +36 -39
  408. package/dist/esm/kol-skip-nav.entry.js +26 -30
  409. package/dist/esm/kol-spin.entry.js +11 -15
  410. package/dist/esm/kol-split-button.entry.js +26 -29
  411. package/dist/esm/kol-table-stateful.entry.js +53 -54
  412. package/dist/esm/kol-table-stateless.entry.js +37 -40
  413. package/dist/esm/kol-tabs.entry.js +22 -25
  414. package/dist/esm/kol-textarea.entry.js +37 -40
  415. package/dist/esm/kol-toast-container.entry.js +19 -22
  416. package/dist/esm/kol-toolbar.entry.js +27 -30
  417. package/dist/esm/kol-tooltip-wc.entry.js +11 -12
  418. package/dist/esm/kol-tree-item.entry.js +22 -26
  419. package/dist/esm/kol-tree.entry.js +9 -10
  420. package/dist/esm/kol-version.entry.js +20 -23
  421. package/dist/esm/kolibri.js +4 -4
  422. package/dist/esm/{label-hints-CLMiVvfk.js → label-hints-BUADjqKF.js} +1 -1
  423. package/dist/esm/{label-lang-segment-iVD9hoM3.js → label-lang-segment-B13iL7iy.js} +2 -2
  424. package/dist/esm/{label-B-Dr7VaP.js → label-mr5joqaQ.js} +3 -3
  425. package/dist/esm/label-with-expert-slot-BVqi0_Fb.js +12 -0
  426. package/dist/esm/{level-DsQ_pcyD.js → level-eGeMFn0b.js} +1 -1
  427. package/dist/esm/{link-target-D7lYILOV.js → link-target-DEH-wAmf.js} +1 -1
  428. package/dist/esm/{links-IkK4zoXw.js → links-Dy9WkOJ-.js} +1 -1
  429. package/dist/esm/loader.js +4 -4
  430. package/dist/esm/{multiple--ay1C1n3.js → multiple-F8uOX8RD.js} +1 -1
  431. package/dist/esm/{number-value-Dl9-2O4r.js → number-value-DncK2_pC.js} +1 -1
  432. package/dist/esm/{open-CNHJhHsy.js → open-DoPXNruj.js} +1 -1
  433. package/dist/esm/{options-DwO32GBF.js → options-DcIQ-KB2.js} +1 -1
  434. package/dist/esm/{orientation-ChJ0S24M.js → orientation-tX0FldEu.js} +1 -1
  435. package/dist/esm/{placeholder-UxmBJ4Vl.js → placeholder-BPZ2sQEB.js} +1 -1
  436. package/dist/esm/{props-from-config-ytxYrJUY.js → props-from-config-LBgEHmcL.js} +84 -6
  437. package/dist/esm/{read-only-DytZ5HZJ.js → read-only-9BPUG7r4.js} +1 -1
  438. package/dist/esm/{required-BriHhuO4.js → required-DBJ4iW2e.js} +1 -1
  439. package/dist/esm/{resolve-props-DTXKtzir.js → resolve-props-0xfjG6h5.js} +6 -6
  440. package/dist/esm/{resolve-props-kM9N-fzf.js → resolve-props-BQa6SjZU.js} +7 -7
  441. package/dist/esm/{rows-I1jrTjzU.js → rows-DuYJeJT7.js} +1 -1
  442. package/dist/esm/{scroll-lock-Bv-U2FHM.js → scroll-lock-CIv7iOPB.js} +9 -7
  443. package/dist/esm/{smart-button-DM5g48-g.js → smart-button-p4avK7MS.js} +1 -1
  444. package/dist/esm/{spell-check-BWCnJG5v.js → spell-check-Bvc-Peew.js} +1 -1
  445. package/dist/esm/{src-ziOwSglN.js → src-CVwlo_cY.js} +1 -1
  446. package/dist/esm/{step-BcyhvRtu.js → step-oCposIuI.js} +1 -1
  447. package/dist/esm/{suggestions-LO267l8F.js → suggestions-BsWy2U2z.js} +1 -1
  448. package/dist/esm/{suggestions-D0u80DtA.js → suggestions-fWMdnACm.js} +3 -3
  449. package/dist/esm/test-component.entry.js +1 -1
  450. package/dist/esm/{toggle-handler-mPlmvrq7.js → toggle-handler-CtJ2Z7Us.js} +10 -12
  451. package/dist/esm/{unique-nav-labels-CxFUYSVY.js → unique-nav-labels-CZIyOzqJ.js} +1 -1
  452. package/dist/esm/{unit-1ix-K9SD.js → unit-YqluIXsF.js} +1 -1
  453. package/dist/esm/{validators-CTjxOidB.js → validators-ByUMEUYD.js} +1 -1
  454. package/dist/esm/{value-string-CxDz7dhD.js → value-string-Baqhc_TX.js} +1 -1
  455. package/dist/esm/{width-C1_yZHyL.js → width-BJNhiv_8.js} +1 -1
  456. package/dist/kolibri/Heading-DDS-lyOB.js +4 -0
  457. package/dist/kolibri/api-MBSY9afi.js +4 -0
  458. package/dist/kolibri/{app-globals-DRl9A82c.js → app-globals-DytcyM_s.js} +1 -1
  459. package/dist/kolibri/base-D-me6QDT.js +4 -0
  460. package/dist/kolibri/base-D7-iAVBu.js +4 -0
  461. package/dist/kolibri/base-DP9yHJOV.js +4 -0
  462. package/dist/kolibri/base-DZBnXHZh.js +4 -0
  463. package/dist/kolibri/base-web-component-BLA2cpyz.js +4 -0
  464. package/dist/kolibri/{base-web-component-CC_gpyDb.js → base-web-component-Bh2NCN7p.js} +1 -1
  465. package/dist/kolibri/base-web-component-DwY54ppZ.js +4 -0
  466. package/dist/kolibri/{behavior-CsNDRS2z.js → behavior-Cw8QfOcm.js} +1 -1
  467. package/dist/kolibri/{behavior-ewHvUWVk.js → behavior-DUy0X7U1.js} +1 -1
  468. package/dist/kolibri/{behavior-CKU2tmCj.js → behavior-DmR4WVXd.js} +1 -1
  469. package/dist/kolibri/bem-registry-SKACeCny.js +4 -0
  470. package/dist/kolibri/{bootstrap-tgQ2nQQI.js → bootstrap-Bp7i4RJQ.js} +1 -1
  471. package/dist/kolibri/{color-D1gM-F2l.js → color-CnRQPMm_.js} +1 -1
  472. package/dist/kolibri/{component-By8ggItU.js → component-B4CDonzN.js} +1 -1
  473. package/dist/kolibri/component-BC1TpQVD.js +4 -0
  474. package/dist/kolibri/component-BUzgs8fh.js +4 -0
  475. package/dist/kolibri/component-Bldy_ShO.js +4 -0
  476. package/dist/kolibri/component-Cj3P_f35.js +4 -0
  477. package/dist/kolibri/component-D5yKRPCZ.js +4 -0
  478. package/dist/kolibri/component-DisuGN16.js +4 -0
  479. package/dist/kolibri/component-DxnezN7K.js +4 -0
  480. package/dist/kolibri/component-LadkF9an.js +4 -0
  481. package/dist/kolibri/component-ZJiUl6kZ.js +4 -0
  482. package/dist/kolibri/component-vxdandl4.js +4 -0
  483. package/dist/kolibri/{contrast-BNoQruBh.js → contrast-pfwNxK_L.js} +1 -1
  484. package/dist/kolibri/{dev.utils-BwYCy1rP.js → dev.utils-DM7Qhcet.js} +1 -1
  485. package/dist/kolibri/{devtools-CGP3Nzsw.js → devtools-CxUqjh1N.js} +1 -1
  486. package/dist/kolibri/disabled-C2DzYwwy.js +4 -0
  487. package/dist/kolibri/field-control-CQJgDAKK.js +4 -0
  488. package/dist/kolibri/group-DCoICCiG.js +4 -0
  489. package/dist/kolibri/has-closer-x20C4xl3.js +4 -0
  490. package/dist/kolibri/href-vIF4eC7d.js +4 -0
  491. package/dist/kolibri/{i18n-ePBcLlCr.js → i18n-BLkzMf6D.js} +1 -1
  492. package/dist/kolibri/{i18n-4J6U3ZDc.js → i18n-BRgvVqCf.js} +1 -1
  493. package/dist/kolibri/id-lCAtMmMx.js +4 -0
  494. package/dist/kolibri/{index-DEcM8BEc.js → index-8-BSSKQL.js} +1 -1
  495. package/dist/kolibri/index.esm.js +1 -1
  496. package/dist/kolibri/input-C4yo-d7N.js +4 -0
  497. package/dist/kolibri/input-container-Cb2xJUCl.js +4 -0
  498. package/dist/kolibri/item-BANfM_Mo.js +4 -0
  499. package/dist/kolibri/item-C2HHBTvm.js +4 -0
  500. package/dist/kolibri/item-H09kNXn9.js +4 -0
  501. package/dist/kolibri/item-gvmzMXYb.js +4 -0
  502. package/dist/kolibri/kol-abbr.entry.js +1 -1
  503. package/dist/kolibri/kol-accordion.entry.js +1 -1
  504. package/dist/kolibri/kol-alert.entry.js +1 -1
  505. package/dist/kolibri/kol-avatar.entry.js +1 -1
  506. package/dist/kolibri/kol-badge.entry.js +1 -1
  507. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  508. package/dist/kolibri/kol-button-link.entry.js +1 -1
  509. package/dist/kolibri/kol-button.entry.js +1 -1
  510. package/dist/kolibri/kol-card.entry.js +1 -1
  511. package/dist/kolibri/kol-combobox.entry.js +1 -1
  512. package/dist/kolibri/kol-details.entry.js +1 -1
  513. package/dist/kolibri/kol-dialog.entry.js +1 -1
  514. package/dist/kolibri/kol-drawer.entry.js +1 -1
  515. package/dist/kolibri/kol-form.entry.js +1 -1
  516. package/dist/kolibri/kol-heading.entry.js +1 -1
  517. package/dist/kolibri/kol-icon.entry.js +1 -1
  518. package/dist/kolibri/kol-image.entry.js +1 -1
  519. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  520. package/dist/kolibri/kol-input-color.entry.js +1 -1
  521. package/dist/kolibri/kol-input-date.entry.js +1 -1
  522. package/dist/kolibri/kol-input-email.entry.js +1 -1
  523. package/dist/kolibri/kol-input-file.entry.js +1 -1
  524. package/dist/kolibri/kol-input-number.entry.js +1 -1
  525. package/dist/kolibri/kol-input-password.entry.js +1 -1
  526. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  527. package/dist/kolibri/kol-input-range.entry.js +1 -1
  528. package/dist/kolibri/kol-input-text.entry.js +1 -1
  529. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  530. package/dist/kolibri/kol-link-button.entry.js +1 -1
  531. package/dist/kolibri/kol-link.entry.js +1 -1
  532. package/dist/kolibri/kol-meter.entry.js +1 -1
  533. package/dist/kolibri/kol-modal.entry.js +1 -1
  534. package/dist/kolibri/kol-nav.entry.js +1 -1
  535. package/dist/kolibri/kol-pagination.entry.js +1 -1
  536. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  537. package/dist/kolibri/kol-progress.entry.js +1 -1
  538. package/dist/kolibri/kol-quote.entry.js +1 -1
  539. package/dist/kolibri/kol-select.entry.js +1 -1
  540. package/dist/kolibri/kol-single-select.entry.js +1 -1
  541. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  542. package/dist/kolibri/kol-spin.entry.js +1 -1
  543. package/dist/kolibri/kol-split-button.entry.js +1 -1
  544. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  545. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  546. package/dist/kolibri/kol-tabs.entry.js +1 -1
  547. package/dist/kolibri/kol-textarea.entry.js +1 -1
  548. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  549. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  550. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  551. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  552. package/dist/kolibri/kol-tree.entry.js +1 -1
  553. package/dist/kolibri/kol-version.entry.js +1 -1
  554. package/dist/kolibri/kolibri.esm.js +1 -1
  555. package/dist/kolibri/label-hints-BUADjqKF.js +4 -0
  556. package/dist/kolibri/label-lang-segment-B13iL7iy.js +4 -0
  557. package/dist/kolibri/label-mr5joqaQ.js +4 -0
  558. package/dist/kolibri/label-with-expert-slot-BVqi0_Fb.js +4 -0
  559. package/dist/kolibri/level-eGeMFn0b.js +4 -0
  560. package/dist/kolibri/link-target-DEH-wAmf.js +4 -0
  561. package/dist/kolibri/{links-IkK4zoXw.js → links-Dy9WkOJ-.js} +1 -1
  562. package/dist/kolibri/multiple-F8uOX8RD.js +4 -0
  563. package/dist/kolibri/number-value-DncK2_pC.js +4 -0
  564. package/dist/kolibri/open-DoPXNruj.js +4 -0
  565. package/dist/kolibri/{options-DwO32GBF.js → options-DcIQ-KB2.js} +1 -1
  566. package/dist/kolibri/orientation-tX0FldEu.js +4 -0
  567. package/dist/kolibri/placeholder-BPZ2sQEB.js +4 -0
  568. package/dist/kolibri/props-from-config-LBgEHmcL.js +4 -0
  569. package/dist/kolibri/read-only-9BPUG7r4.js +4 -0
  570. package/dist/kolibri/required-DBJ4iW2e.js +4 -0
  571. package/dist/kolibri/resolve-props-0xfjG6h5.js +4 -0
  572. package/dist/kolibri/resolve-props-BQa6SjZU.js +4 -0
  573. package/dist/kolibri/rows-DuYJeJT7.js +4 -0
  574. package/dist/kolibri/scroll-lock-CIv7iOPB.js +4 -0
  575. package/dist/kolibri/{smart-button-DM5g48-g.js → smart-button-p4avK7MS.js} +1 -1
  576. package/dist/kolibri/spell-check-Bvc-Peew.js +4 -0
  577. package/dist/kolibri/src-CVwlo_cY.js +4 -0
  578. package/dist/kolibri/step-oCposIuI.js +4 -0
  579. package/dist/kolibri/{suggestions-LO267l8F.js → suggestions-BsWy2U2z.js} +1 -1
  580. package/dist/kolibri/suggestions-fWMdnACm.js +4 -0
  581. package/dist/kolibri/test-component.entry.js +1 -1
  582. package/dist/kolibri/toggle-handler-CtJ2Z7Us.js +4 -0
  583. package/dist/kolibri/unique-nav-labels-CZIyOzqJ.js +4 -0
  584. package/dist/kolibri/unit-YqluIXsF.js +4 -0
  585. package/dist/kolibri/validators-ByUMEUYD.js +4 -0
  586. package/dist/kolibri/value-string-Baqhc_TX.js +4 -0
  587. package/dist/kolibri/{width-C1_yZHyL.js → width-BJNhiv_8.js} +1 -1
  588. package/dist/types/components/alert/component.d.ts +1 -0
  589. package/dist/types/components/input-date/component.d.ts +1 -1
  590. package/dist/types/components.d.ts +2 -2
  591. package/dist/types/internal/functional-components/bem-root-node/component.d.ts +8 -4
  592. package/dist/types/internal/functional-components/button/item.d.ts +1 -1
  593. package/dist/types/internal/functional-components/dialog/component.d.ts +7 -3
  594. package/dist/types/internal/functional-components/pagination/item.d.ts +4 -2
  595. package/dist/types/schema/bem-registry.d.ts +40 -0
  596. package/doc/pagination.md +13 -13
  597. package/package.json +11 -8
  598. package/vscode-custom-data.json +1 -1
  599. package/dist/cjs/block-bem-BVBM34Tu.js +0 -18
  600. package/dist/cjs/clsx-Bm_HQUnh.js +0 -54
  601. package/dist/cjs/component-C9B-yJ93.js +0 -9300
  602. package/dist/cjs/component-CVLJJvvd.js +0 -53
  603. package/dist/cjs/component-DNQW0lG8.js +0 -18
  604. package/dist/cjs/component-DfGgpwuP.js +0 -20
  605. package/dist/cjs/input-CtqTozTO.js +0 -20
  606. package/dist/components/block-bem.js +0 -4
  607. package/dist/components/clsx.js +0 -4
  608. package/dist/components/component11.js +0 -4
  609. package/dist/esm/block-bem-D3ixJyOY.js +0 -16
  610. package/dist/esm/clsx-COFh-Vc8.js +0 -52
  611. package/dist/esm/component-Ccv2lqNq.js +0 -16
  612. package/dist/esm/component-D9NreIlK.js +0 -9295
  613. package/dist/esm/component-DAk3R8NN.js +0 -48
  614. package/dist/esm/component-EDDTMC-J.js +0 -18
  615. package/dist/esm/label-with-expert-slot-BbZ9nx0l.js +0 -12
  616. package/dist/kolibri/Heading-GZb1f2pZ.js +0 -4
  617. package/dist/kolibri/api-CBPlj155.js +0 -4
  618. package/dist/kolibri/base-BByRnpRm.js +0 -4
  619. package/dist/kolibri/base-C7BBsrYZ.js +0 -4
  620. package/dist/kolibri/base-DO0KvOv9.js +0 -4
  621. package/dist/kolibri/base-Dtxcvto_.js +0 -4
  622. package/dist/kolibri/base-web-component-BxXLva5d.js +0 -4
  623. package/dist/kolibri/base-web-component-CfPyCJDJ.js +0 -4
  624. package/dist/kolibri/bem-registry-D1KgKnyz.js +0 -4
  625. package/dist/kolibri/block-bem-D3ixJyOY.js +0 -4
  626. package/dist/kolibri/clsx-COFh-Vc8.js +0 -4
  627. package/dist/kolibri/component-6l69Jvwl.js +0 -4
  628. package/dist/kolibri/component-B3OziaRC.js +0 -4
  629. package/dist/kolibri/component-CF8uFG0A.js +0 -4
  630. package/dist/kolibri/component-Ccv2lqNq.js +0 -4
  631. package/dist/kolibri/component-Cmi6iGfA.js +0 -4
  632. package/dist/kolibri/component-D4-NVnsT.js +0 -4
  633. package/dist/kolibri/component-D6_K50vT.js +0 -4
  634. package/dist/kolibri/component-D6lo0LzE.js +0 -4
  635. package/dist/kolibri/component-D9NreIlK.js +0 -4
  636. package/dist/kolibri/component-DAk3R8NN.js +0 -4
  637. package/dist/kolibri/component-EDDTMC-J.js +0 -4
  638. package/dist/kolibri/disabled-BZXlWAgK.js +0 -4
  639. package/dist/kolibri/field-control-0TRmF7Ea.js +0 -4
  640. package/dist/kolibri/group-DapkT_Yh.js +0 -4
  641. package/dist/kolibri/has-closer-DUB0QcS9.js +0 -4
  642. package/dist/kolibri/href-CxokGOJ2.js +0 -4
  643. package/dist/kolibri/id-BI0ZuK17.js +0 -4
  644. package/dist/kolibri/input-CDUCo1S5.js +0 -4
  645. package/dist/kolibri/input-container-BipAkWn4.js +0 -4
  646. package/dist/kolibri/item-B0oQTeju.js +0 -4
  647. package/dist/kolibri/item-Boe3t0Dm.js +0 -4
  648. package/dist/kolibri/item-BvnZc8uV.js +0 -4
  649. package/dist/kolibri/item-UgJ2uikD.js +0 -4
  650. package/dist/kolibri/label-B-Dr7VaP.js +0 -4
  651. package/dist/kolibri/label-hints-CLMiVvfk.js +0 -4
  652. package/dist/kolibri/label-lang-segment-iVD9hoM3.js +0 -4
  653. package/dist/kolibri/label-with-expert-slot-BbZ9nx0l.js +0 -4
  654. package/dist/kolibri/level-DsQ_pcyD.js +0 -4
  655. package/dist/kolibri/link-target-D7lYILOV.js +0 -4
  656. package/dist/kolibri/multiple--ay1C1n3.js +0 -4
  657. package/dist/kolibri/number-value-Dl9-2O4r.js +0 -4
  658. package/dist/kolibri/open-CNHJhHsy.js +0 -4
  659. package/dist/kolibri/orientation-ChJ0S24M.js +0 -4
  660. package/dist/kolibri/placeholder-UxmBJ4Vl.js +0 -4
  661. package/dist/kolibri/props-from-config-ytxYrJUY.js +0 -4
  662. package/dist/kolibri/read-only-DytZ5HZJ.js +0 -4
  663. package/dist/kolibri/required-BriHhuO4.js +0 -4
  664. package/dist/kolibri/resolve-props-DTXKtzir.js +0 -4
  665. package/dist/kolibri/resolve-props-kM9N-fzf.js +0 -4
  666. package/dist/kolibri/rows-I1jrTjzU.js +0 -4
  667. package/dist/kolibri/scroll-lock-Bv-U2FHM.js +0 -4
  668. package/dist/kolibri/spell-check-BWCnJG5v.js +0 -4
  669. package/dist/kolibri/src-ziOwSglN.js +0 -4
  670. package/dist/kolibri/step-BcyhvRtu.js +0 -4
  671. package/dist/kolibri/suggestions-D0u80DtA.js +0 -4
  672. package/dist/kolibri/toggle-handler-mPlmvrq7.js +0 -4
  673. package/dist/kolibri/unique-nav-labels-CxFUYSVY.js +0 -4
  674. package/dist/kolibri/unit-1ix-K9SD.js +0 -4
  675. package/dist/kolibri/validators-CTjxOidB.js +0 -4
  676. package/dist/kolibri/value-string-CxDz7dhD.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{y as t,q as e}from"./common-BdSzSIXg.js";import{t as n,a as i}from"./tooltip-open-tracking-D3tCiiGP.js";import{c as o}from"./component-D6_K50vT.js";import{c as r,b as s,d as l}from"./props-from-config-ytxYrJUY.js";import{i as a}from"./id-BI0ZuK17.js";import{l as c}from"./label-lang-segment-iVD9hoM3.js";const u=o("align","top"),f=r("badgeText","",s),h=Math.min,d=Math.max,m=Math.round,p=Math.floor,y=t=>({x:t,y:t}),w={left:"right",right:"left",bottom:"top",top:"bottom"};function g(t,e,n){return d(t,h(e,n))}function x(t,e){return"function"==typeof t?t(e):t}function v(t){return t.split("-")[0]}function b(t){return t.split("-")[1]}function A(t){return"x"===t?"y":"x"}function S(t){return"y"===t?"height":"width"}function T(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function k(t){return A(T(t))}function R(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const O=["left","right"],F=["right","left"],E=["top","bottom"],z=["bottom","top"];function C(t){const e=v(t);return w[e]+t.slice(e.length)}function D(t){return"number"!=typeof t?function(t){var e,n,i,o;return{top:null!=(e=t.top)?e:0,right:null!=(n=t.right)?n:0,bottom:null!=(i=t.bottom)?i:0,left:null!=(o=t.left)?o:0}}(t):{top:t,right:t,bottom:t,left:t}}function L(t){const{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function j(t,e,n){let{reference:i,floating:o}=t;const r=T(e),s=k(e),l=S(s),a=v(e),c="y"===r,u=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,h=i[l]/2-o[l]/2;let d;switch(a){case"top":d={x:u,y:i.y-o.height};break;case"bottom":d={x:u,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-o.width,y:f};break;default:d={x:i.x,y:i.y}}const m=b(e);return m&&(d[s]+=h*("end"===m?1:-1)*(n&&c?-1:1)),d}async function P(t,e){var n;void 0===e&&(e={});const{x:i,y:o,platform:r,rects:s,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=x(e,t),m=D(d),p=l[h?"floating"===f?"reference":"floating":f],y=L(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(p)))||n?p:p.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),w="floating"===f?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,g=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),v=await(null==r.isElement?void 0:r.isElement(g))&&await(null==r.getScale?void 0:r.getScale(g))||{x:1,y:1},b=L(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:g,strategy:a}):w);return{top:(y.top-b.top+m.top)/v.y,bottom:(b.bottom-y.bottom+m.bottom)/v.y,left:(y.left-b.left+m.left)/v.x,right:(b.right-y.right+m.right)/v.x}}const M=new Set(["left","top"]);function B(){return"undefined"!=typeof window}function $(t){return q(t)?(t.nodeName||"").toLowerCase():"#document"}function I(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function V(t){var e;return null==(e=(q(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function q(t){return!!B()&&(t instanceof Node||t instanceof I(t).Node)}function H(t){return!!B()&&(t instanceof Element||t instanceof I(t).Element)}function N(t){return!!B()&&(t instanceof HTMLElement||t instanceof I(t).HTMLElement)}function _(t){return!(!B()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof I(t).ShadowRoot)}function Y(t){const{overflow:e,overflowX:n,overflowY:i,display:o}=et(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&"inline"!==o&&"contents"!==o}function K(t){return/^(table|td|th)$/.test($(t))}function W(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const X=/transform|translate|scale|rotate|perspective|filter/,G=/paint|layout|strict|content/,J=t=>!!t&&"none"!==t;let U;function Z(t){const e=H(t)?et(t):t;return J(e.transform)||J(e.translate)||J(e.scale)||J(e.rotate)||J(e.perspective)||!Q()&&(J(e.backdropFilter)||J(e.filter))||X.test(e.willChange||"")||G.test(e.contain||"")}function Q(){return null==U&&(U="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),U}function tt(t){return/^(html|body|#document)$/.test($(t))}function et(t){return I(t).getComputedStyle(t)}function nt(t){return H(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function it(t){if("html"===$(t))return t;const e=t.assignedSlot||t.parentNode||_(t)&&t.host||V(t);return _(e)?e.host:e}function ot(t){const e=it(t);return tt(e)?(t.ownerDocument||t).body:N(e)&&Y(e)?e:ot(e)}function rt(t,e,n){var i;void 0===e&&(e=[]),void 0===n&&(n=!0);const o=ot(t),r=o===(null==(i=t.ownerDocument)?void 0:i.body),s=I(o);if(r){const t=st(s);return e.concat(s,s.visualViewport||[],Y(o)?o:[],t&&n?rt(t):[])}return e.concat(o,rt(o,[],n))}function st(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function lt(t){const e=et(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const o=N(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,l=m(n)!==r||m(i)!==s;return l&&(n=r,i=s),{width:n,height:i,$:l}}function at(t){return H(t)?t:t.contextElement}function ct(t){const e=at(t);if(!N(e))return y(1);const n=e.getBoundingClientRect(),{width:i,height:o,$:r}=lt(e);let s=(r?m(n.width):n.width)/i,l=(r?m(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const ut=y(0);function ft(t){const e=I(t);return Q()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ut}function ht(t,e,n,i){void 0===e&&(e=!1),void 0===n&&(n=!1);const o=t.getBoundingClientRect(),r=at(t);let s=y(1);e&&(i?H(i)&&(s=ct(i)):s=ct(t));const l=function(t,e,n){return void 0===e&&(e=!1),!!n&&e&&n===I(t)}(r,n,i)?ft(r):y(0);let a=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,u=o.width/s.x,f=o.height/s.y;if(r&&i){const t=I(r),e=H(i)?I(i):i;let n=t,o=st(n);for(;o&&e!==n;){const t=ct(o),e=o.getBoundingClientRect(),i=et(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;a*=t.x,c*=t.y,u*=t.x,f*=t.y,a+=r,c+=s,n=I(o),o=st(n)}}return L({width:u,height:f,x:a,y:c})}function dt(t,e){const n=nt(t).scrollLeft;return e?e.left+n:ht(V(t)).left+n}function mt(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-dt(t,n),y:n.top+e.scrollTop}}function pt(t,e,n){let i;if("viewport"===e||"layoutViewport"===e)i=function(t,e,n){void 0===n&&(n="viewport");const i="layoutViewport"===n,o=I(t),r=V(t),s=o.visualViewport;let l=r.clientWidth,a=r.clientHeight,c=0,u=0;if(s){const t=!Q()||"fixed"===e;i?t||(c=-s.offsetLeft,u=-s.offsetTop):(l=s.width,a=s.height,t&&(c=s.offsetLeft,u=s.offsetTop))}if(dt(r)<=0){const t=r.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-e.clientWidth-i),s="stable both-edges"===getComputedStyle(r).scrollbarGutter?o/2:o;s<=25&&(l-=s)}return{width:l,height:a,x:c,y:u}}(t,n,e);else if("document"===e)i=function(t){const e=nt(t),n=t.ownerDocument.body,i=d(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=d(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let r=-e.scrollLeft+dt(t);const s=-e.scrollTop;return"rtl"===et(n).direction&&(r+=d(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:r,y:s}}(V(t));else if(H(e))i=function(t,e){const n=ht(t,!0,"fixed"===e),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=ct(t);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:o*r.x,y:i*r.y}}(e,n);else{const n=ft(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return L(i)}function yt(t,e,n){const i=N(e),o=V(e),r="fixed"===n,s=ht(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const a=y(0);if((i||!r)&&(("body"!==$(e)||Y(o))&&(l=nt(e)),i)){const t=ht(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}!i&&o&&(a.x=dt(o));const c=!o||i||r?y(0):mt(o,l);return{x:s.left+l.scrollLeft-a.x-c.x,y:s.top+l.scrollTop-a.y-c.y,width:s.width,height:s.height}}function wt(t){return"static"===et(t).position}function gt(t,e){if(!N(t)||"fixed"===et(t).position)return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function xt(t,e){const n=I(t);if(W(t))return n;if(!N(t)){let e=it(t);for(;e&&!tt(e);){if(H(e)&&!wt(e))return e;e=it(e)}return n}let i=gt(t,e);for(;i&&K(i)&&wt(i);)i=gt(i,e);return i&&tt(i)&&wt(i)&&!Z(i)?n:i||function(t){let e=it(t);for(;N(e)&&!tt(e);){if(Z(e))return e;if(W(e))return null;e=it(e)}return null}(t)||n}const vt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t;const r="fixed"===o,s=V(i),l=!!e&&W(e.floating);if(i===s||l&&r)return n;let a={scrollLeft:0,scrollTop:0},c=y(1);const u=y(0),f=N(i);if((f||!r)&&(("body"!==$(i)||Y(s))&&(a=nt(i)),f)){const t=ht(i);c=ct(i),u.x=t.x+i.clientLeft,u.y=t.y+i.clientTop}const h=!s||f||r?y(0):mt(s,a);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-a.scrollTop*c.y+u.y+h.y}},getDocumentElement:V,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t;const r=[..."clippingAncestors"===n?W(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let i=rt(t,[],!1).filter((t=>H(t)&&"body"!==$(t))),o=null;const r="fixed"===et(t).position;let s=r?it(t):t;for(;H(s)&&!tt(s);){const t=et(s),e=Z(s),n=o?o.position:r?"fixed":"";e||"fixed"!==n&&("absolute"!==n||"static"!==t.position)?o=t:i=i.filter((t=>t!==s)),s=it(s)}return e.set(t,i),i}(e,this._c):[].concat(n),i],s=pt(e,r[0],o);let l=s.top,a=s.right,c=s.bottom,u=s.left;for(let t=1;t<r.length;t++){const n=pt(e,r[t],o);l=d(n.top,l),a=h(n.right,a),c=h(n.bottom,c),u=d(n.left,u)}return{width:a-u,height:c-l,x:u,y:l}},getOffsetParent:xt,getElementRects:async function(t){const e=this.getOffsetParent||xt,n=this.getDimensions,i=await n(t.floating);return{reference:yt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){const{width:e,height:n}=lt(t);return{width:e,height:n}},getScale:ct,isElement:H,isRTL:function(t){return"rtl"===et(t).direction}};function bt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function At(t,e,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:a=!1}=i,c=at(t),u=o||r?[...c?rt(c):[],...e?rt(e):[]]:[];u.forEach((t=>{o&&t.addEventListener("scroll",n),r&&t.addEventListener("resize",n)}));const f=c&&l?function(t,e,n){let i,o=null;const r=V(t);function s(){var t;clearTimeout(i),null==(t=o)||t.disconnect(),o=null}function l(n,a){void 0===n&&(n=!1),void 0===a&&(a=1),s();const c=t.getBoundingClientRect(),{left:u,top:f,width:m,height:y}=c;if(n||e(),!m||!y)return;const w={rootMargin:-p(f)+"px "+-p(r.clientWidth-(u+m))+"px "+-p(r.clientHeight-(f+y))+"px "+-p(u)+"px",threshold:d(0,h(1,a))||1};let g=!0;function x(e){const n=e[0].intersectionRatio;if(!bt(c,t.getBoundingClientRect()))return l();if(n!==a){if(!g)return l();n?l(!1,n):i=setTimeout((()=>{l(!1,1e-7)}),1e3)}g=!1}try{o=new IntersectionObserver(x,{...w,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,w)}o.observe(t)}const a=I(t),c=()=>l(n);return a.addEventListener("resize",c),l(!0),()=>{a.removeEventListener("resize",c),s()}}(c,n,r):null;let m,y=-1,w=null;s&&(w=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&w&&e&&(w.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(e)}))),n()})),c&&!a&&w.observe(c),e&&w.observe(e));let g=a?ht(t):null;return a&&function e(){const i=ht(t);g&&!bt(g,i)&&n(),g=i,m=requestAnimationFrame(e)}(),n(),()=>{var t;u.forEach((t=>{o&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)})),null==f||f(),null==(t=w)||t.disconnect(),w=null,a&&cancelAnimationFrame(m)}}const St=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:i,placement:o,platform:r}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=x(t,e),u={x:n,y:i},f=await r.detectOverflow(e,c),h=T(o),d=A(h);let m=u[d],p=u[h];const y=(t,e)=>g(e+f["y"===t?"top":"left"],e,e-f["y"===t?"bottom":"right"]);s&&(m=y(d,m)),l&&(p=y(h,p));const w=a.fn({...e,[d]:m,[h]:p});return{...w,data:{x:w.x-n,y:w.y-i,enabled:{[d]:s,[h]:l}}}}}},Tt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i;const{placement:o,middlewareData:r,rects:s,initialPlacement:l,platform:a,elements:c}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:p=!0,...y}=x(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const w=v(o),g=T(l),A=v(l)===l,D=await(null==a.isRTL?void 0:a.isRTL(c.floating)),L=h||(A||!p?[C(l)]:function(t){const e=C(t);return[R(t),e,R(e)]}(l)),j="none"!==m;!h&&j&&L.push(...function(t,e,n,i){const o=b(t);let r=function(t,e,n){switch(t){case"top":case"bottom":return n?e?F:O:e?O:F;case"left":case"right":return e?E:z;default:return[]}}(v(t),"start"===n,i);return o&&(r=r.map((t=>t+"-"+o)),e&&(r=r.concat(r.map(R)))),r}(l,p,m,D));const P=[l,...L],M=await a.detectOverflow(e,y),B=[];let $=(null==(i=r.flip)?void 0:i.overflows)||[];if(u&&B.push(M[w]),f){const t=function(t,e,n){void 0===n&&(n=!1);const i=b(t),o=k(t),r=S(o);let s="x"===o?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=C(s)),[s,C(s)]}(o,s,D);B.push(M[t[0]],M[t[1]])}if($=[...$,{placement:o,overflows:B}],!B.every((t=>t<=0))){var I,V;const t=((null==(I=r.flip)?void 0:I.index)||0)+1,e=P[t];if(e&&("alignment"!==f||g===T(e)||$.every((t=>T(t.placement)!==g||t.overflows[0]>0))))return{data:{index:t,overflows:$},reset:{placement:e}};let n=null==(V=$.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:V.placement;if(!n)switch(d){case"bestFit":{var q;const t=null==(q=$.filter((t=>{if(j){const e=T(t.placement);return e===g||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:q[0];t&&(n=t);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}},kt=async({floatingElement:e,referenceElement:n,arrowElement:i,align:o="top"})=>{var r,s,l;if(!t()){const t=[(l=(null==i?void 0:i.offsetHeight)||10,void 0===l&&(l=0),{name:"offset",options:l,async fn(t){var e,n;const{x:i,y:o,placement:r,middlewareData:s}=t,a=await async function(t,e){const{placement:n,platform:i,elements:o}=t,r=await(null==i.isRTL?void 0:i.isRTL(o.floating)),s=v(n),l=b(n),a="y"===T(n),c=M.has(s)?-1:1,u=r&&a?-1:1,f=x(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof m&&(d="end"===l?-1*m:m),a?{x:d*u,y:h*c}:{x:h*c,y:d*u}}(t,l);return r===(null==(e=s.offset)?void 0:e.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:r}}}}),Tt(),St()];i&&t.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:i,placement:o,rects:r,platform:s,elements:l,middlewareData:a}=e,{element:c,padding:u=0}=x(t,e)||{};if(null==c)return{};const f=D(u),d={x:n,y:i},m=k(o),p=S(m),y=await s.getDimensions(c),w="y"===m,v=w?"top":"left",A=w?"bottom":"right",T=w?"clientHeight":"clientWidth",R=r.reference[p]+r.reference[m]-d[m]-r.floating[p],O=d[m]-r.reference[m],F=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let E=F?F[T]:0;E&&await(null==s.isElement?void 0:s.isElement(F))||(E=l.floating[T]||r.floating[p]);const z=R/2-O/2,C=E/2-y[p]/2-1,L=h(f[v],C),j=h(f[A],C),P=E-y[p]-j,M=E/2-y[p]/2+z,B=g(L,M,P),$=!a.arrow&&null!=b(o)&&M!==B&&r.reference[p]/2-(M<L?L:j)-y[p]/2<0,I=$?M<L?M-L:M-P:0;return{[m]:d[m]+I,data:{[m]:B,centerOffset:M-B-I,...$&&{alignmentOffset:I}},reset:$}}}))({element:i}));const{x:a,y:c,middlewareData:u,placement:f}=await((t,e,n)=>{const i=new Map,o=null!=n?n:{},r={...vt,...o.platform,_c:i};return(async(t,e,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=s.detectOverflow?s:{...s,detectOverflow:P},a=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:f}=j(c,i,a),h=i,d=0;const m={};for(let n=0;n<r.length;n++){const p=r[n];if(!p)continue;const{name:y,fn:w}=p,{x:g,y:x,data:v,reset:b}=await w({x:u,y:f,initialPlacement:i,placement:h,strategy:o,middlewareData:m,rects:c,platform:l,elements:{reference:t,floating:e}});u=null!=g?g:u,f=null!=x?x:f,m[y]={...m[y],...v},b&&d<50&&(d++,"object"==typeof b&&(b.placement&&(h=b.placement),b.rects&&(c=!0===b.rects?await s.getElementRects({reference:t,floating:e,strategy:o}):b.rects),({x:u,y:f}=j(c,h,a))),n=-1)}return{x:u,y:f,placement:h,strategy:o,middlewareData:m}})(t,e,{...o,platform:r})})(n,e,{placement:o,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${a}px`,top:`${c}px`,visibility:"visible"}),i&&((null===(r=u.arrow)||void 0===r?void 0:r.x)?Object.assign(i.style,{left:`${u.arrow.x}px`,top:"bottom"===f?-i.offsetHeight/2+"px":"",bottom:"top"===f?-i.offsetHeight/2+"px":""}):(null===(s=u.arrow)||void 0===s?void 0:s.y)&&Object.assign(i.style,{left:"right"===f?-i.offsetWidth/2+"px":"",right:"left"===f?-i.offsetWidth/2+"px":"",top:`${u.arrow.y}px`}))}},Rt=new Set;let Ot=null;class Ft{constructor(t,e){this.setState=t.setState,this.getState=t.getState,this.renderProps=l(e)}setRenderProp(t,e){this.renderProps[t]=e}getRenderProp(t){return this.renderProps[t]}}const Et={required:[c],optional:[u,f,a]};class zt extends Ft{constructor(t){super(t,Et),this.hasFocusIn=!1,this.hasMouseIn=!1,this.isHiddenForCurrentVisit=!1,this.setTooltipElementRef=t=>{this.tooltipElement=t,this.tooltipElement&&this.addListeners(this.tooltipElement)},this.hideTooltipByEscape=t=>{"Escape"===t.key&&(t.stopPropagation(),t.preventDefault(),this.hideTooltip())},this.handleMouseEnter=()=>{const t=this.isNewVisit();this.hasMouseIn=!0,t&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleMouseLeave=()=>{this.hasMouseIn=!1,this.resetHideFlag(),this.showOrHideTooltip()},this.handleFocusIn=()=>{const t=this.isNewVisit();this.hasFocusIn=!0,t&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleFocusOut=()=>{this.hasFocusIn=!1,this.resetHideFlag(),this.showOrHideTooltip()}}componentWillLoad(t){this.watchLabel(t.label),this.watchAlign(t.align),this.watchBadgeText(t.badgeText),this.watchId(t.id)}watchLabel(t){c.apply(t||void 0,(t=>{this.setRenderProp("label",t)}))}watchAlign(t){u.apply(t,(t=>{this.setRenderProp("align",t)}))}watchBadgeText(t){f.apply(t,(t=>{this.setRenderProp("badgeText",t)}))}watchId(t){a.apply(t,(t=>{this.setRenderProp("id",t)}))}initContext(t){this.previousSibling=t}syncListeners(t,e,n=!1){t&&this.removeListeners(t),e&&(n&&(this.previousSibling=e),this.removeListeners(e),this.addListeners(e))}handleEventListeners(t){this.syncListeners(this.previousSibling,t.previousElementSibling,!0)}hideTooltip(){this.isHiddenForCurrentVisit=!0,this.tooltipElement&&(function(t){if(Rt.delete(t)&&Ot===t){Ot=null;for(const t of Rt)Ot=t;Ot&&Ot.style.setProperty("z-index","1000")}}(this.tooltipElement),n(),this.tooltipElement.classList.remove("show"),this.tooltipElement.classList.add("hide"),this.tooltipElement.addEventListener("animationend",(()=>{var t;(null===(t=this.tooltipElement)||void 0===t?void 0:t.classList.contains("hide"))&&this.tooltipElement.style.removeProperty("display")}),{once:!0}),this.cleanupAutoPositioning&&(this.cleanupAutoPositioning(),this.cleanupAutoPositioning=void 0)),e().removeEventListener("keydown",this.hideTooltipByEscape)}destroy(){clearTimeout(this.overFocusTimeout),this.previousSibling&&(this.removeListeners(this.previousSibling),this.previousSibling=void 0),this.tooltipElement&&this.removeListeners(this.tooltipElement),this.cleanupAutoPositioning&&(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 kt({align:this.getRenderProp("align"),arrowElement:this.tooltipElement.querySelector(".kol-tooltip__arrow"),floatingElement:this.tooltipElement,referenceElement:this.previousSibling})}showTooltip(){var t;!this.isHiddenForCurrentVisit&&this.previousSibling&&this.tooltipElement&&(Ot!==(t=this.tooltipElement)&&(Ot&&Ot.style.setProperty("z-index","999"),Rt.delete(t),Rt.add(t),t.style.setProperty("z-index","1000"),Ot=t),i(),this.tooltipElement.classList.remove("hide"),this.tooltipElement.classList.add("show"),this.tooltipElement.style.setProperty("display","block"),e().addEventListener("keydown",this.hideTooltipByEscape),this.cleanupAutoPositioning=At(this.previousSibling,this.tooltipElement,(()=>{this.alignTooltip()})))}showOrHideTooltip(){clearTimeout(this.overFocusTimeout),this.overFocusTimeout=setTimeout((()=>{this.hasMouseIn||this.hasFocusIn?this.showTooltip():this.hideTooltip()}),300)}addListeners(t){t.addEventListener("mouseover",this.handleMouseEnter),t.addEventListener("mouseout",this.handleMouseLeave),t.addEventListener("focusin",this.handleFocusIn),t.addEventListener("focusout",this.handleFocusOut)}removeListeners(t){t.removeEventListener("mouseover",this.handleMouseEnter),t.removeEventListener("mouseout",this.handleMouseLeave),t.removeEventListener("focusin",this.handleFocusIn),t.removeEventListener("focusout",this.handleFocusOut)}}export{Ft as B,zt as T,u as a,kt as b,At as c}
4
+ import{y as t,q as e}from"./common-BdSzSIXg.js";import{t as n,a as i}from"./tooltip-open-tracking-D3tCiiGP.js";import{c as o}from"./component-D5yKRPCZ.js";import{c as r,b as s,d as l}from"./props-from-config-LBgEHmcL.js";import{i as a}from"./id-lCAtMmMx.js";import{l as c}from"./label-lang-segment-B13iL7iy.js";const u=o("align","top"),f=r("badgeText","",s),h=Math.min,d=Math.max,m=Math.round,p=Math.floor,y=t=>({x:t,y:t}),g={left:"right",right:"left",bottom:"top",top:"bottom"};function w(t,e,n){return d(t,h(e,n))}function x(t,e){return"function"==typeof t?t(e):t}function v(t){return t.split("-")[0]}function b(t){return t.split("-")[1]}function A(t){return"x"===t?"y":"x"}function S(t){return"y"===t?"height":"width"}function T(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function R(t){return A(T(t))}function k(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const L=["left","right"],O=["right","left"],C=["top","bottom"],E=["bottom","top"];function F(t){const e=v(t);return g[e]+t.slice(e.length)}function z(t){return"number"!=typeof t?function(t){var e,n,i,o;return{top:null!=(e=t.top)?e:0,right:null!=(n=t.right)?n:0,bottom:null!=(i=t.bottom)?i:0,left:null!=(o=t.left)?o:0}}(t):{top:t,right:t,bottom:t,left:t}}function P(t){const{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function j(t,e,n){let{reference:i,floating:o}=t;const r=T(e),s=R(e),l=S(s),a=v(e),c="y"===r,u=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,h=i[l]/2-o[l]/2;let d;switch(a){case"top":d={x:u,y:i.y-o.height};break;case"bottom":d={x:u,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-o.width,y:f};break;default:d={x:i.x,y:i.y}}const m=b(e);return m&&(d[s]+=h*("end"===m?1:-1)*(n&&c?-1:1)),d}async function D(t,e){var n;void 0===e&&(e={});const{x:i,y:o,platform:r,rects:s,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=x(e,t),m=z(d),p=l[h?"floating"===f?"reference":"floating":f],y=P(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(p)))||n?p:p.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),g="floating"===f?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),v=await(null==r.isElement?void 0:r.isElement(w))&&await(null==r.getScale?void 0:r.getScale(w))||{x:1,y:1},b=P(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:w,strategy:a}):g);return{top:(y.top-b.top+m.top)/v.y,bottom:(b.bottom-y.bottom+m.bottom)/v.y,left:(y.left-b.left+m.left)/v.x,right:(b.right-y.right+m.right)/v.x}}const M=new Set(["left","top"]);function B(){return"undefined"!=typeof window}function $(t){return q(t)?(t.nodeName||"").toLowerCase():"#document"}function H(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function I(t){var e;return null==(e=(q(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function q(t){return!!B()&&(t instanceof Node||t instanceof H(t).Node)}function N(t){return!!B()&&(t instanceof Element||t instanceof H(t).Element)}function V(t){return!!B()&&(t instanceof HTMLElement||t instanceof H(t).HTMLElement)}function _(t){return!(!B()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof H(t).ShadowRoot)}function W(t){const{overflow:e,overflowX:n,overflowY:i,display:o}=et(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&"inline"!==o&&"contents"!==o}function X(t){return/^(table|td|th)$/.test($(t))}function G(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const K=/transform|translate|scale|rotate|perspective|filter/,Y=/paint|layout|strict|content/,Z=t=>!!t&&"none"!==t;let J;function Q(t){const e=N(t)?et(t):t;return Z(e.transform)||Z(e.translate)||Z(e.scale)||Z(e.rotate)||Z(e.perspective)||!U()&&(Z(e.backdropFilter)||Z(e.filter))||K.test(e.willChange||"")||Y.test(e.contain||"")}function U(){return null==J&&(J="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),J}function tt(t){return/^(html|body|#document)$/.test($(t))}function et(t){return H(t).getComputedStyle(t)}function nt(t){return N(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function it(t){if("html"===$(t))return t;const e=t.assignedSlot||t.parentNode||_(t)&&t.host||I(t);return _(e)?e.host:e}function ot(t){const e=it(t);return tt(e)?(t.ownerDocument||t).body:V(e)&&W(e)?e:ot(e)}function rt(t,e,n){var i;void 0===e&&(e=[]),void 0===n&&(n=!0);const o=ot(t),r=o===(null==(i=t.ownerDocument)?void 0:i.body),s=H(o);if(r){const t=st(s);return e.concat(s,s.visualViewport||[],W(o)?o:[],t&&n?rt(t):[])}return e.concat(o,rt(o,[],n))}function st(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function lt(t){const e=et(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const o=V(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,l=m(n)!==r||m(i)!==s;return l&&(n=r,i=s),{width:n,height:i,$:l}}function at(t){return N(t)?t:t.contextElement}function ct(t){const e=at(t);if(!V(e))return y(1);const n=e.getBoundingClientRect(),{width:i,height:o,$:r}=lt(e);let s=(r?m(n.width):n.width)/i,l=(r?m(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const ut=y(0);function ft(t){const e=H(t);return U()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ut}function ht(t,e,n,i){void 0===e&&(e=!1),void 0===n&&(n=!1);const o=t.getBoundingClientRect(),r=at(t);let s=y(1);e&&(i?N(i)&&(s=ct(i)):s=ct(t));const l=function(t,e,n){return void 0===e&&(e=!1),!!n&&e&&n===H(t)}(r,n,i)?ft(r):y(0);let a=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,u=o.width/s.x,f=o.height/s.y;if(r&&i){const t=H(r),e=N(i)?H(i):i;let n=t,o=st(n);for(;o&&e!==n;){const t=ct(o),e=o.getBoundingClientRect(),i=et(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;a*=t.x,c*=t.y,u*=t.x,f*=t.y,a+=r,c+=s,n=H(o),o=st(n)}}return P({width:u,height:f,x:a,y:c})}function dt(t,e){const n=nt(t).scrollLeft;return e?e.left+n:ht(I(t)).left+n}function mt(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-dt(t,n),y:n.top+e.scrollTop}}function pt(t,e,n){let i;if("viewport"===e||"layoutViewport"===e)i=function(t,e,n){void 0===n&&(n="viewport");const i="layoutViewport"===n,o=H(t),r=I(t),s=o.visualViewport;let l=r.clientWidth,a=r.clientHeight,c=0,u=0;if(s){const t=!U()||"fixed"===e;i?t||(c=-s.offsetLeft,u=-s.offsetTop):(l=s.width,a=s.height,t&&(c=s.offsetLeft,u=s.offsetTop))}if(dt(r)<=0){const t=r.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-e.clientWidth-i),s="stable both-edges"===getComputedStyle(r).scrollbarGutter?o/2:o;s<=25&&(l-=s)}return{width:l,height:a,x:c,y:u}}(t,n,e);else if("document"===e)i=function(t){const e=nt(t),n=t.ownerDocument.body,i=d(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=d(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let r=-e.scrollLeft+dt(t);const s=-e.scrollTop;return"rtl"===et(n).direction&&(r+=d(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:r,y:s}}(I(t));else if(N(e))i=function(t,e){const n=ht(t,!0,"fixed"===e),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=ct(t);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:o*r.x,y:i*r.y}}(e,n);else{const n=ft(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return P(i)}function yt(t,e,n){const i=V(e),o=I(e),r="fixed"===n,s=ht(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const a=y(0);if((i||!r)&&(("body"!==$(e)||W(o))&&(l=nt(e)),i)){const t=ht(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}!i&&o&&(a.x=dt(o));const c=!o||i||r?y(0):mt(o,l);return{x:s.left+l.scrollLeft-a.x-c.x,y:s.top+l.scrollTop-a.y-c.y,width:s.width,height:s.height}}function gt(t){return"static"===et(t).position}function wt(t,e){if(!V(t)||"fixed"===et(t).position)return null;if(e)return e(t);let n=t.offsetParent;return I(t)===n&&(n=n.ownerDocument.body),n}function xt(t,e){const n=H(t);if(G(t))return n;if(!V(t)){let e=it(t);for(;e&&!tt(e);){if(N(e)&&!gt(e))return e;e=it(e)}return n}let i=wt(t,e);for(;i&&X(i)&&gt(i);)i=wt(i,e);return i&&tt(i)&&gt(i)&&!Q(i)?n:i||function(t){let e=it(t);for(;V(e)&&!tt(e);){if(Q(e))return e;if(G(e))return null;e=it(e)}return null}(t)||n}const vt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t;const r="fixed"===o,s=I(i),l=!!e&&G(e.floating);if(i===s||l&&r)return n;let a={scrollLeft:0,scrollTop:0},c=y(1);const u=y(0),f=V(i);if((f||!r)&&(("body"!==$(i)||W(s))&&(a=nt(i)),f)){const t=ht(i);c=ct(i),u.x=t.x+i.clientLeft,u.y=t.y+i.clientTop}const h=!s||f||r?y(0):mt(s,a);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-a.scrollTop*c.y+u.y+h.y}},getDocumentElement:I,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t;const r=[..."clippingAncestors"===n?G(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let i=rt(t,[],!1).filter((t=>N(t)&&"body"!==$(t))),o=null;const r="fixed"===et(t).position;let s=r?it(t):t;for(;N(s)&&!tt(s);){const t=et(s),e=Q(s),n=o?o.position:r?"fixed":"";e||"fixed"!==n&&("absolute"!==n||"static"!==t.position)?o=t:i=i.filter((t=>t!==s)),s=it(s)}return e.set(t,i),i}(e,this._c):[].concat(n),i],s=pt(e,r[0],o);let l=s.top,a=s.right,c=s.bottom,u=s.left;for(let t=1;t<r.length;t++){const n=pt(e,r[t],o);l=d(n.top,l),a=h(n.right,a),c=h(n.bottom,c),u=d(n.left,u)}return{width:a-u,height:c-l,x:u,y:l}},getOffsetParent:xt,getElementRects:async function(t){const e=this.getOffsetParent||xt,n=this.getDimensions,i=await n(t.floating);return{reference:yt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){const{width:e,height:n}=lt(t);return{width:e,height:n}},getScale:ct,isElement:N,isRTL:function(t){return"rtl"===et(t).direction}};function bt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function At(t,e,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:a=!1}=i,c=at(t),u=o||r?[...c?rt(c):[],...e?rt(e):[]]:[];u.forEach((t=>{o&&t.addEventListener("scroll",n),r&&t.addEventListener("resize",n)}));const f=c&&l?function(t,e,n){let i,o=null;const r=I(t);function s(){var t;clearTimeout(i),null==(t=o)||t.disconnect(),o=null}function l(n,a){void 0===n&&(n=!1),void 0===a&&(a=1),s();const c=t.getBoundingClientRect(),{left:u,top:f,width:m,height:y}=c;if(n||e(),!m||!y)return;const g={rootMargin:-p(f)+"px "+-p(r.clientWidth-(u+m))+"px "+-p(r.clientHeight-(f+y))+"px "+-p(u)+"px",threshold:d(0,h(1,a))||1};let w=!0;function x(e){const n=e[0].intersectionRatio;if(!bt(c,t.getBoundingClientRect()))return l();if(n!==a){if(!w)return l();n?l(!1,n):i=setTimeout((()=>{l(!1,1e-7)}),1e3)}w=!1}try{o=new IntersectionObserver(x,{...g,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(x,g)}o.observe(t)}const a=H(t),c=()=>l(n);return a.addEventListener("resize",c),l(!0),()=>{a.removeEventListener("resize",c),s()}}(c,n,r):null;let m,y=-1,g=null;s&&(g=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&g&&e&&(g.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame((()=>{var t;null==(t=g)||t.observe(e)}))),n()})),c&&!a&&g.observe(c),e&&g.observe(e));let w=a?ht(t):null;return a&&function e(){const i=ht(t);w&&!bt(w,i)&&n(),w=i,m=requestAnimationFrame(e)}(),n(),()=>{var t;u.forEach((t=>{o&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)})),null==f||f(),null==(t=g)||t.disconnect(),g=null,a&&cancelAnimationFrame(m)}}const St=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:i,placement:o,platform:r}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=x(t,e),u={x:n,y:i},f=await r.detectOverflow(e,c),h=T(o),d=A(h);let m=u[d],p=u[h];const y=(t,e)=>w(e+f["y"===t?"top":"left"],e,e-f["y"===t?"bottom":"right"]);s&&(m=y(d,m)),l&&(p=y(h,p));const g=a.fn({...e,[d]:m,[h]:p});return{...g,data:{x:g.x-n,y:g.y-i,enabled:{[d]:s,[h]:l}}}}}},Tt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i;const{placement:o,middlewareData:r,rects:s,initialPlacement:l,platform:a,elements:c}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:p=!0,...y}=x(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const g=v(o),w=T(l),A=v(l)===l,z=await(null==a.isRTL?void 0:a.isRTL(c.floating)),P=h||(A||!p?[F(l)]:function(t){const e=F(t);return[k(t),e,k(e)]}(l)),j="none"!==m;!h&&j&&P.push(...function(t,e,n,i){const o=b(t);let r=function(t,e,n){switch(t){case"top":case"bottom":return n?e?O:L:e?L:O;case"left":case"right":return e?C:E;default:return[]}}(v(t),"start"===n,i);return o&&(r=r.map((t=>t+"-"+o)),e&&(r=r.concat(r.map(k)))),r}(l,p,m,z));const D=[l,...P],M=await a.detectOverflow(e,y),B=[];let $=(null==(i=r.flip)?void 0:i.overflows)||[];if(u&&B.push(M[g]),f){const t=function(t,e,n){void 0===n&&(n=!1);const i=b(t),o=R(t),r=S(o);let s="x"===o?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=F(s)),[s,F(s)]}(o,s,z);B.push(M[t[0]],M[t[1]])}if($=[...$,{placement:o,overflows:B}],!B.every((t=>t<=0))){var H,I;const t=((null==(H=r.flip)?void 0:H.index)||0)+1,e=D[t];if(e&&("alignment"!==f||w===T(e)||$.every((t=>T(t.placement)!==w||t.overflows[0]>0))))return{data:{index:t,overflows:$},reset:{placement:e}};let n=null==(I=$.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:I.placement;if(!n)switch(d){case"bestFit":{var q;const t=null==(q=$.filter((t=>{if(j){const e=T(t.placement);return e===w||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:q[0];t&&(n=t);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}},Rt=async({floatingElement:e,referenceElement:n,arrowElement:i,align:o="top"})=>{var r,s,l;if(!t()){const t=[(l=(null==i?void 0:i.offsetHeight)||10,void 0===l&&(l=0),{name:"offset",options:l,async fn(t){var e,n;const{x:i,y:o,placement:r,middlewareData:s}=t,a=await async function(t,e){const{placement:n,platform:i,elements:o}=t,r=await(null==i.isRTL?void 0:i.isRTL(o.floating)),s=v(n),l=b(n),a="y"===T(n),c=M.has(s)?-1:1,u=r&&a?-1:1,f=x(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof m&&(d="end"===l?-1*m:m),a?{x:d*u,y:h*c}:{x:h*c,y:d*u}}(t,l);return r===(null==(e=s.offset)?void 0:e.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:r}}}}),Tt(),St()];i&&t.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:i,placement:o,rects:r,platform:s,elements:l,middlewareData:a}=e,{element:c,padding:u=0}=x(t,e)||{};if(null==c)return{};const f=z(u),d={x:n,y:i},m=R(o),p=S(m),y=await s.getDimensions(c),g="y"===m,v=g?"top":"left",A=g?"bottom":"right",T=g?"clientHeight":"clientWidth",k=r.reference[p]+r.reference[m]-d[m]-r.floating[p],L=d[m]-r.reference[m],O=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let C=O?O[T]:0;C&&await(null==s.isElement?void 0:s.isElement(O))||(C=l.floating[T]||r.floating[p]);const E=k/2-L/2,F=C/2-y[p]/2-1,P=h(f[v],F),j=h(f[A],F),D=C-y[p]-j,M=C/2-y[p]/2+E,B=w(P,M,D),$=!a.arrow&&null!=b(o)&&M!==B&&r.reference[p]/2-(M<P?P:j)-y[p]/2<0,H=$?M<P?M-P:M-D:0;return{[m]:d[m]+H,data:{[m]:B,centerOffset:M-B-H,...$&&{alignmentOffset:H}},reset:$}}}))({element:i}));const{x:a,y:c,middlewareData:u,placement:f}=await((t,e,n)=>{const i=new Map,o=null!=n?n:{},r={...vt,...o.platform,_c:i};return(async(t,e,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=s.detectOverflow?s:{...s,detectOverflow:D},a=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:f}=j(c,i,a),h=i,d=0;const m={};for(let n=0;n<r.length;n++){const p=r[n];if(!p)continue;const{name:y,fn:g}=p,{x:w,y:x,data:v,reset:b}=await g({x:u,y:f,initialPlacement:i,placement:h,strategy:o,middlewareData:m,rects:c,platform:l,elements:{reference:t,floating:e}});u=null!=w?w:u,f=null!=x?x:f,m[y]={...m[y],...v},b&&d<50&&(d++,"object"==typeof b&&(b.placement&&(h=b.placement),b.rects&&(c=!0===b.rects?await s.getElementRects({reference:t,floating:e,strategy:o}):b.rects),({x:u,y:f}=j(c,h,a))),n=-1)}return{x:u,y:f,placement:h,strategy:o,middlewareData:m}})(t,e,{...o,platform:r})})(n,e,{placement:o,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${a}px`,top:`${c}px`,visibility:"visible"}),i&&((null===(r=u.arrow)||void 0===r?void 0:r.x)?Object.assign(i.style,{left:`${u.arrow.x}px`,top:"bottom"===f?-i.offsetHeight/2+"px":"",bottom:"top"===f?-i.offsetHeight/2+"px":""}):(null===(s=u.arrow)||void 0===s?void 0:s.y)&&Object.assign(i.style,{left:"right"===f?-i.offsetWidth/2+"px":"",right:"left"===f?-i.offsetWidth/2+"px":"",top:`${u.arrow.y}px`}))}},kt=new Set;let Lt=null;class Ot{constructor(t,e){this.setState=t.setState,this.getState=t.getState,this.renderProps=l(e)}setRenderProp(t,e){this.renderProps[t]=e}getRenderProp(t){return this.renderProps[t]}}const Ct={required:[c],optional:[u,f,a]};class Et extends Ot{constructor(t){super(t,Ct),this.hasFocusIn=!1,this.hasMouseIn=!1,this.isHiddenForCurrentVisit=!1,this.setTooltipElementRef=t=>{this.tooltipElement=t,this.tooltipElement&&this.addListeners(this.tooltipElement)},this.hideTooltipByEscape=t=>{"Escape"===t.key&&(t.stopPropagation(),t.preventDefault(),this.hideTooltip())},this.handleMouseEnter=()=>{const t=this.isNewVisit();this.hasMouseIn=!0,t&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleMouseLeave=()=>{this.hasMouseIn=!1,this.resetHideFlag(),this.showOrHideTooltip()},this.handleFocusIn=()=>{const t=this.isNewVisit();this.hasFocusIn=!0,t&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleFocusOut=()=>{this.hasFocusIn=!1,this.resetHideFlag(),this.showOrHideTooltip()}}componentWillLoad(t){this.watchLabel(t.label),this.watchAlign(t.align),this.watchBadgeText(t.badgeText),this.watchId(t.id)}watchLabel(t){c.apply(t||void 0,(t=>{this.setRenderProp("label",t)}))}watchAlign(t){u.apply(t,(t=>{this.setRenderProp("align",t)}))}watchBadgeText(t){f.apply(t,(t=>{this.setRenderProp("badgeText",t)}))}watchId(t){a.apply(t,(t=>{this.setRenderProp("id",t)}))}initContext(t){this.previousSibling=t}syncListeners(t,e,n=!1){t&&this.removeListeners(t),e&&(n&&(this.previousSibling=e),this.removeListeners(e),this.addListeners(e))}handleEventListeners(t){this.syncListeners(this.previousSibling,t.previousElementSibling,!0)}hideTooltip(){this.isHiddenForCurrentVisit=!0,this.tooltipElement&&(function(t){if(kt.delete(t)&&Lt===t){Lt=null;for(const t of kt)Lt=t;Lt&&Lt.style.setProperty("z-index","1000")}}(this.tooltipElement),n(),this.tooltipElement.classList.remove("show"),this.tooltipElement.classList.add("hide"),this.tooltipElement.addEventListener("animationend",(()=>{var t;(null===(t=this.tooltipElement)||void 0===t?void 0:t.classList.contains("hide"))&&this.tooltipElement.style.removeProperty("display")}),{once:!0}),this.cleanupAutoPositioning&&(this.cleanupAutoPositioning(),this.cleanupAutoPositioning=void 0)),e().removeEventListener("keydown",this.hideTooltipByEscape)}destroy(){clearTimeout(this.overFocusTimeout),this.previousSibling&&(this.removeListeners(this.previousSibling),this.previousSibling=void 0),this.tooltipElement&&this.removeListeners(this.tooltipElement),this.cleanupAutoPositioning&&(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(){var t;!this.isHiddenForCurrentVisit&&this.previousSibling&&this.tooltipElement&&(Lt!==(t=this.tooltipElement)&&(Lt&&Lt.style.setProperty("z-index","999"),kt.delete(t),kt.add(t),t.style.setProperty("z-index","1000"),Lt=t),i(),this.tooltipElement.classList.remove("hide"),this.tooltipElement.classList.add("show"),this.tooltipElement.style.setProperty("display","block"),e().addEventListener("keydown",this.hideTooltipByEscape),this.cleanupAutoPositioning=At(this.previousSibling,this.tooltipElement,(()=>{this.alignTooltip()})))}showOrHideTooltip(){clearTimeout(this.overFocusTimeout),this.overFocusTimeout=setTimeout((()=>{this.hasMouseIn||this.hasFocusIn?this.showTooltip():this.hideTooltip()}),300)}addListeners(t){t.addEventListener("mouseover",this.handleMouseEnter),t.addEventListener("mouseout",this.handleMouseLeave),t.addEventListener("focusin",this.handleFocusIn),t.addEventListener("focusout",this.handleFocusOut)}removeListeners(t){t.removeEventListener("mouseover",this.handleMouseEnter),t.removeEventListener("mouseout",this.handleMouseLeave),t.removeEventListener("focusin",this.handleFocusIn),t.removeEventListener("focusout",this.handleFocusOut)}}export{Ot as B,Et as T,u as a,Rt as b,At as c}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{i as e}from"./common-BdSzSIXg.js";var i,l,n=e(l?i:(l=1,i=function(e){return function(i,l){if(!i)return e;var n;"string"==typeof i?n=i:l=i;var o=e;return n&&(o+="__"+n),o+(l?Object.keys(l).reduce((function(e,i){var n=l[i];return n&&(e+=" "+("boolean"==typeof n?o+"--"+i:o+"--"+i+"_"+n)),e}),""):"")}}));const o=function(){const e=new Map,i=(i,l,o)=>{try{return e.get(i)(l,o)}catch{return e.set(i,n(i)).get(i)(l,o)}};return i.forBlock=e=>{const l=(l,n)=>i(e,l,n);return l.forElement=l=>n=>i(e,l,n),l},i}(),r={"kol-abbr":{modifiers:null},"kol-alert":{elements:{closer:{modifiers:null},heading:{modifiers:new Set(["h0","h1","h2","h3","h4","h5","h6"])},icon:{modifiers:null},content:{modifiers:null},container:{modifiers:null}},modifiers:new Set(["hasCloser","type-default","type-error","type-info","type-success","type-warning","variant-card","variant-msg"])},"kol-badge":{elements:{label:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["has-smart-button"])},"kol-version":{modifiers:null},"kol-accordion":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-avatar":{elements:{image:{modifiers:null},initials:{modifiers:null}},modifiers:null},"kol-card":{elements:{"close-button":{modifiers:null},content:{modifiers:null},header:{modifiers:null},link:{modifiers:null}},modifiers:null},"kol-dialog":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-modal":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-button":{elements:{"interactive-element":{modifiers:null},text:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["disabled","hide-label","inline","standalone"])},"kol-breadcrumb":{elements:{icon:{modifiers:null},link:{modifiers:null},list:{modifiers:null},"list-element":{modifiers:null},"list-element-span":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-nav":{elements:{compact:{modifiers:null},entry:{modifiers:new Set(["button","collapsible","link"])},"entry-wrapper":{modifiers:null},list:{modifiers:new Set(["nested","vertical"])},"list-item":{modifiers:new Set(["active","expanded","has-children"])},navigation:{modifiers:null},"toggle-button":{modifiers:null}},modifiers:new Set(["is-compact"])},"kol-kolibri":{elements:{text:{modifiers:null}},modifiers:null},"kol-popover-button":{elements:{popover:{modifiers:null}},modifiers:new Set(["inline","open"])},"kol-details":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-drawer":{elements:{content:{modifiers:null},dialog:{modifiers:null},wrapper:{modifiers:new Set(["bottom","is-closing","left","open","right","top"])}},modifiers:null},"kol-heading":{modifiers:new Set(["group"])},"kol-headline":{modifiers:new Set(["group","h1","h2","h3","h4","h5","h6","primary","secondary","single","strong"])},"kol-icon":{elements:{icon:{modifiers:null}},modifiers:null},"kol-meter":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-fill":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-label":{modifiers:null},"bar-state":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-track":{modifiers:null},unit:{modifiers:null},value:{modifiers:null},"value-unit":{modifiers:null}},modifiers:new Set(["vertical"])},"kol-quote":{elements:{blockquote:{modifiers:null},cite:{modifiers:null},figcaption:{modifiers:null},quote:{modifiers:null}},modifiers:new Set(["block","inline"])},"kol-skip-nav":{elements:{list:{modifiers:null},"list-item":{modifiers:null}},modifiers:null},"kol-close-button":{modifiers:null},"kol-span":{elements:{container:{modifiers:null},icon:{modifiers:new Set(["bottom","left","right","top"])},label:{modifiers:null},slot:{modifiers:null}},modifiers:new Set(["has-badge","hide-label"])},"kol-link":{elements:{"interactive-element":{modifiers:null},icon:{modifiers:null},text:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["disabled","external-link","hide-label","inline","standalone"])},"kol-form":{elements:{alert:{modifiers:null},form:{modifiers:null},link:{modifiers:null},"mandatory-fields-hint":{modifiers:null}},modifiers:null},"kol-form-field":{elements:{counter:{modifiers:null},hint:{modifiers:null},input:{modifiers:new Set(["orientation-horizontal","orientation-vertical"])},label:{modifiers:new Set(["legend"])},"label-text":{modifiers:null},msg:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["default","disabled","error","hidden-msg","hide-label","info","msg-type-default","msg-type-error","msg-type-info","msg-type-success","msg-type-warning","radio","read-only","required","success","touched","warning"])},"kol-input":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-input-container":{elements:{adornment:{modifiers:new Set(["end","start"])},button:{modifiers:null},container:{modifiers:null},filename:{modifiers:new Set(["has-file"])},icon:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["default","disabled","error","info","is-dragover","success","warning"])},"kol-field-control":{elements:{hint:{modifiers:null},input:{modifiers:null},label:{modifiers:new Set(["visually-hidden"])},"label-text":{modifiers:null}},modifiers:new Set(["default","disabled","error","hide-label","info","label-align-left","label-align-right","read-only","required","success","touched","warning"])},"kol-checkbox":{elements:{icon:{modifiers:null},input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","indeterminate","info","required","success","touched","variant-button","variant-default","variant-switch","warning"])},"kol-input-checkbox":{elements:{"field-control":{modifiers:new Set(["checked","indeterminate","variant-button","variant-default","variant-switch"])}},modifiers:new Set(["checked","indeterminate","label-align-left","label-align-right","variant-button","variant-default","variant-switch"])},"kol-input-color":{elements:{input:{modifiers:new Set(["color"])}},modifiers:null},"kol-input-date":{modifiers:null},"kol-input-email":{modifiers:null},"kol-input-file":{modifiers:null},"kol-input-number":{elements:{"step-button":{modifiers:null}},modifiers:null},"kol-input-password":{elements:{"password-toggle-button":{modifiers:null}},modifiers:null},"kol-input-radio":{elements:{input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","info","required","success","touched","warning"])},"kol-select":{elements:{optgroup:{modifiers:new Set(["disabled"])},option:{modifiers:new Set(["disabled","selected"])}},modifiers:new Set(["default","disabled","error","info","required","success","touched","warning"])},"kol-pagination":{elements:{button:{modifiers:new Set(["first","last","next","numbers","previous","selected"])},entries:{modifiers:null},navigation:{modifiers:null},"navigation-list":{modifiers:null},"page-size-select":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-custom-suggestions-option":{modifiers:new Set(["disabled"])},"kol-custom-suggestions-options-group":{modifiers:new Set(["cursor-hidden","open"])},"kol-custom-suggestions-toggle":{modifiers:new Set(["disabled"])},"kol-combobox":{elements:{delete:{modifiers:null},group:{modifiers:null}},modifiers:new Set(["open"])},"kol-combobox-toggle":{modifiers:null},"kol-single-select":{elements:{delete:{modifiers:null},group:{modifiers:null},"no-results-message":{modifiers:null}},modifiers:new Set(["open"])},"kol-input-range":{elements:{input:{modifiers:new Set(["number","range"])},"inputs-wrapper":{modifiers:null}},modifiers:null},"kol-input-text":{elements:{"clear-button":{modifiers:new Set(["hidden"])}},modifiers:null},"kol-split-button":{elements:{button:{modifiers:null},"horizontal-line":{modifiers:null},root:{modifiers:null},"secondary-button":{modifiers:null}},modifiers:null},"kol-spin":{elements:{loader:{modifiers:null},spinner:{modifiers:new Set(["cycle","dot","none"])},"spinner-element":{modifiers:new Set(["1","2","3","neutral"])}},modifiers:null},"kol-table":{elements:{body:{modifiers:null},caption:{modifiers:null},cell:{modifiers:new Set(["actions","align-center","align-justify","align-left","align-right","ascending","body","descending","header","none","other","selection","states","sticky-left","sticky-right"])},"cell-actions":{modifiers:null},"cell-states":{modifiers:null},"focus-element":{modifiers:null},footer:{modifiers:null},head:{modifiers:null},"head-row":{modifiers:null},loader:{modifiers:new Set(["shown"])},row:{modifiers:new Set(["body","footer"])},"scroll-container":{modifiers:null},selection:{modifiers:new Set(["checked","indeterminate"])},"selection-icon":{modifiers:null},"selection-input":{modifiers:new Set(["checkbox","radio"])},"selection-input-tooltip":{modifiers:null},"selection-label":{modifiers:new Set(["disabled"])},settings:{modifiers:null},sort:{modifiers:null},"sort-button":{modifiers:null},"sort-order":{modifiers:null},spacer:{modifiers:new Set(["foot","head"])},"spacer-line":{modifiers:new Set(["foot","head"])},table:{modifiers:null}},modifiers:null},"kol-table-settings":{elements:{actions:{modifiers:null},column:{modifiers:null},"column-label":{modifiers:null},columns:{modifiers:null},content:{modifiers:null},"error-message":{modifiers:null}},modifiers:null},"kol-table-stateful":{elements:{pagination:{modifiers:new Set(["both","bottom","top"])},"pagination-wrapper":{modifiers:null}},modifiers:null},"kol-tabs":{elements:{"button-create":{modifiers:null},"button-group":{modifiers:null},content:{modifiers:null},tab:{modifiers:null},tablist:{modifiers:null}},modifiers:new Set(["align-bottom","align-left","align-right","align-top"])},"kol-textarea":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-toolbar":{elements:{item:{modifiers:null}},modifiers:new Set(["orientation-horizontal","orientation-vertical"])},"kol-tree":{elements:{"treeview-navigation":{modifiers:null}},modifiers:null},"kol-tree-item":{elements:{children:{modifiers:null},link:{modifiers:new Set(["active","first-level"])},"link-inner":{modifiers:null},text:{modifiers:null},"toggle-button":{modifiers:null},"toggle-button-icon":{modifiers:null},"toggle-button-placeholder":{modifiers:null}},modifiers:null},"kol-image":{modifiers:null},"kol-popover":{elements:{arrow:{modifiers:new Set(["top","right","bottom","left"])}},modifiers:null},"kol-progress":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-label":{modifiers:null},"bar-progress":{modifiers:null},"bar-unit":{modifiers:null},"bar-value":{modifiers:null},cycle:{modifiers:null},"cycle-background":{modifiers:null},"cycle-border":{modifiers:null},"cycle-label":{modifiers:null},"cycle-progress":{modifiers:null},"cycle-text":{modifiers:null},"cycle-value":{modifiers:null},"cycle-whitespace":{modifiers:null}},modifiers:null},"kol-tooltip":{elements:{arrow:{modifiers:null},content:{modifiers:null},floating:{modifiers:null}},modifiers:null}};export{r as B,o as b}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{g as o,h as n,L as s}from"./common-BdSzSIXg.js";import{s as i}from"./component-names-Dhbtt0mX.js";import{i as e}from"./i18n-4J6U3ZDc.js";let a,t=!1;const d=async(d,l,r)=>{var c,m;const u="undefined"!=typeof process&&process.env?"production":void 0;o((null==r?void 0:r.environment)||u||"production"),e(null!==(m=null===(c=null==r?void 0:r.translation)||void 0===c?void 0:c.name)&&void 0!==m?m:"de",null==r?void 0:r.translations),(null==r?void 0:r.transformTagName)&&i(null==r?void 0:r.transformTagName);const v=await n(d,l,r);return t=!0,a=r,s.info("Development mode active - Enhanced debugging features available"),v},l=d,r=()=>t,c=()=>a;export{d as b,c as g,r as i,l as r}
4
+ import{g as o,h as n,L as s}from"./common-BdSzSIXg.js";import{s as i}from"./component-names-Dhbtt0mX.js";import{i as e}from"./i18n-BRgvVqCf.js";let a,t=!1;const d=async(d,l,r)=>{var v,m;const u="undefined"!=typeof process&&process.env?"production":void 0;o((null==r?void 0:r.environment)||u||"production"),e(null!==(m=null===(v=null==r?void 0:r.translation)||void 0===v?void 0:v.name)&&void 0!==m?m:"de",null==r?void 0:r.translations),(null==r?void 0:r.transformTagName)&&i(null==r?void 0:r.transformTagName);const c=await n(d,l,r);return t=!0,a=r,s.info("Development mode active - Enhanced debugging features available"),c},l=d,r=()=>t,v=()=>a;export{d as b,v as g,r as i,l as r}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{p as o}from"./common-BdSzSIXg.js";import{c as r}from"./props-from-config-ytxYrJUY.js";import{c as n}from"./contrast-BNoQruBh.js";const t=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function f(o){return t.test(o)}const c=r("color",{backgroundColor:"#d3d3d3",foregroundColor:"#3f3f3f"},(function(r){if("string"==typeof r&&f(r)){const o=n(r);return{backgroundColor:o.background,foregroundColor:o.foreground}}const t="string"==typeof r?o(r):r;if(Array.isArray(t)){const[o,r]=t;if("string"==typeof o&&"string"==typeof r&&f(o)&&f(r)){const t=n({background:o,foreground:r});return{backgroundColor:t.background,foregroundColor:t.foreground}}}if("object"==typeof t&&t){const o=t;if("string"==typeof o.backgroundColor&&"string"==typeof o.foregroundColor&&f(o.backgroundColor)&&f(o.foregroundColor)){const r=n({background:o.backgroundColor,foreground:o.foregroundColor});return{backgroundColor:r.background,foregroundColor:r.foreground}}}throw new Error(`Invalid color ${r}`)}),(function(o){return f(o.foregroundColor)&&f(o.backgroundColor)}));export{c}
4
+ import{p as o}from"./common-BdSzSIXg.js";import{c as r}from"./props-from-config-LBgEHmcL.js";import{c as n}from"./contrast-pfwNxK_L.js";const t=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function f(o){return t.test(o)}const c=r("color",{backgroundColor:"#d3d3d3",foregroundColor:"#3f3f3f"},(function(r){if("string"==typeof r&&f(r)){const o=n(r);return{backgroundColor:o.background,foregroundColor:o.foreground}}const t="string"==typeof r?o(r):r;if(Array.isArray(t)){const[o,r]=t;if("string"==typeof o&&"string"==typeof r&&f(o)&&f(r)){const t=n({background:o,foreground:r});return{backgroundColor:t.background,foregroundColor:t.foreground}}}if("object"==typeof t&&t){const o=t;if("string"==typeof o.backgroundColor&&"string"==typeof o.foregroundColor&&f(o.backgroundColor)&&f(o.foregroundColor)){const r=n({background:o.backgroundColor,foreground:o.foregroundColor});return{backgroundColor:r.background,foregroundColor:r.foreground}}}throw new Error(`Invalid color ${r}`)}),(function(o){return f(o.foregroundColor)&&f(o.backgroundColor)}));export{c}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{c as o}from"./component-D6_K50vT.js";import{a as i,B as s,b as t,c as e}from"./behavior-CKU2tmCj.js";import"./common-BdSzSIXg.js";import"./props-from-config-ytxYrJUY.js";import{h as r}from"./index-DEcM8BEc.js";import{B as a}from"./component-Ccv2lqNq.js";import{B as n}from"./component-B3OziaRC.js";import{a as l}from"./tslib.es6-QNbPBOk5.js";import{b as p}from"./bem-registry-D1KgKnyz.js";import{c as h}from"./clsx-COFh-Vc8.js";const c=o("popoverAlign","bottom"),d={optional:[i]};class m extends s{constructor(o){super(o,d),this.show=!1,this.setPopoverElementRef=o=>{this.popoverElement=o,this.arrowElement=null==o?void 0:o.querySelector(".kol-popover__arrow")},this.setTriggerElement=o=>{this.triggerElement=o},this.alignPopover=async()=>{this.popoverElement&&this.triggerElement&&await t({align:this.getRenderProp("align"),referenceElement:this.triggerElement,arrowElement:this.arrowElement,floatingElement:this.popoverElement})},this.setupAutoUpdate=()=>{this.popoverElement&&this.triggerElement&&!this.cleanupAutoUpdate&&(this.cleanupAutoUpdate=e(this.triggerElement,this.popoverElement,(()=>{this.alignPopover()})))}}componentWillLoad(o){this.watchAlign(o.align)}watchAlign(o){i.apply(o,(o=>{this.setRenderProp("align",o)}))}setShow(o){this.show=o,this.popoverElement&&(this.popoverElement.isConnected?this.toggleVisibility():requestAnimationFrame((()=>{this.toggleVisibility()})))}destroy(){var o;null===(o=this.cleanupAutoUpdate)||void 0===o||o.call(this),this.cleanupAutoUpdate=void 0,this.popoverElement=void 0,this.arrowElement=void 0,this.triggerElement=void 0}toggleVisibility(){var o;if(!this.popoverElement)return;const i=this.popoverElement.matches(":popover-open");if(this.show){if(!i)try{this.popoverElement.showPopover(),this.setupAutoUpdate(),this.alignPopover()}catch(o){}}else if(i)try{this.popoverElement.hidePopover(),null===(o=this.cleanupAutoUpdate)||void 0===o||o.call(this),this.cleanupAutoUpdate=void 0}catch(o){}}}const f=p.forBlock("kol-popover"),v=(o,i)=>{const{align:s="bottom",popoverRef:t,arrowRef:e,class:a}=o,n=l(o,["align","popoverRef","arrowRef","class"]);return r("div",Object.assign({},n,{class:h(f(),a),ref:t,popover:"auto"}),r("div",{class:h(f("arrow"),f("arrow",{[s]:!0})),ref:e}),i.length>0?i:r("slot",null))},u=(o,i)=>{const{accessKey:s,ariaDescription:t,ariaDescriptionId:e,ariaHasPopup:l,ariaSelected:p,customClass:h,disabled:c,handleBlur:d,handleClick:m,handleFocus:f,handleMouseDown:u,hideLabel:b,icons:g,id:y,inline:j,label:w,name:B,on:C,popoverAlign:D,popoverOpen:k,popoverId:x,ref:K,refButton:A,refPopover:E,refTooltip:I,role:R,shortKey:O,tabIndex:P,tooltipAlign:S,type:_,variant:F}=o;return r(a,{block:"kol-popover-button",class:o.class,ref:K,modifiers:{open:k,inline:!0===j}},r(n,{accessKey:s,ariaControls:x,ariaDescription:t,ariaDescriptionId:e,ariaExpanded:k?"true":"false",ariaHasPopup:l,ariaSelected:p,customClass:h,disabled:c,handleBlur:d,handleClick:m,handleFocus:f,handleMouseDown:u,hideLabel:b,icons:g,id:y,inline:j,label:w,name:B,on:C,refButton:A,refTooltip:I,role:R,shortKey:O,tabIndex:P,tooltipAlign:S,type:_,variant:F}),r(v,{align:D,class:"kol-popover-button__popover",id:x,popoverRef:E},i))};export{u as P,m as a,c as p}
4
+ import{c as o}from"./component-D5yKRPCZ.js";import{a as i,B as s,b as t,c as e}from"./behavior-DmR4WVXd.js";import"./common-BdSzSIXg.js";import{e as a,B as r}from"./props-from-config-LBgEHmcL.js";import{h as n}from"./index-8-BSSKQL.js";import{B as l}from"./component-BC1TpQVD.js";import{a as p}from"./tslib.es6-QNbPBOk5.js";import{b as h}from"./bem-registry-SKACeCny.js";const c=o("popoverAlign","bottom"),d={optional:[i]};class m extends s{constructor(o){super(o,d),this.show=!1,this.setPopoverElementRef=o=>{this.popoverElement=o,this.arrowElement=null==o?void 0:o.querySelector(".kol-popover__arrow")},this.setTriggerElement=o=>{this.triggerElement=o},this.alignPopover=async()=>{this.popoverElement&&this.triggerElement&&await t({align:this.getRenderProp("align"),referenceElement:this.triggerElement,arrowElement:this.arrowElement,floatingElement:this.popoverElement})},this.setupAutoUpdate=()=>{this.popoverElement&&this.triggerElement&&!this.cleanupAutoUpdate&&(this.cleanupAutoUpdate=e(this.triggerElement,this.popoverElement,(()=>{this.alignPopover()})))}}componentWillLoad(o){this.watchAlign(o.align)}watchAlign(o){i.apply(o,(o=>{this.setRenderProp("align",o)}))}setShow(o){this.show=o,this.popoverElement&&(this.popoverElement.isConnected?this.toggleVisibility():requestAnimationFrame((()=>{this.toggleVisibility()})))}destroy(){var o;null===(o=this.cleanupAutoUpdate)||void 0===o||o.call(this),this.cleanupAutoUpdate=void 0,this.popoverElement=void 0,this.arrowElement=void 0,this.triggerElement=void 0}toggleVisibility(){var o;if(!this.popoverElement)return;const i=this.popoverElement.matches(":popover-open");if(this.show){if(!i)try{this.popoverElement.showPopover(),this.setupAutoUpdate(),this.alignPopover()}catch(o){}}else if(i)try{this.popoverElement.hidePopover(),null===(o=this.cleanupAutoUpdate)||void 0===o||o.call(this),this.cleanupAutoUpdate=void 0}catch(o){}}}const f=h.forBlock("kol-popover"),v=(o,i)=>{const{align:s="bottom",popoverRef:t,arrowRef:e,class:r}=o,l=p(o,["align","popoverRef","arrowRef","class"]);return n("div",Object.assign({},l,{class:a(f(),r),ref:t,popover:"auto"}),n("div",{class:a(f("arrow"),f("arrow",{[s]:!0})),ref:e}),i.length>0?i:n("slot",null))},u=(o,i)=>{const{accessKey:s,ariaDescription:t,ariaDescriptionId:e,ariaHasPopup:a,ariaSelected:p,customClass:h,disabled:c,handleBlur:d,handleClick:m,handleFocus:f,handleMouseDown:u,hideLabel:b,icons:g,id:y,inline:B,label:w,name:j,on:C,popoverAlign:D,popoverOpen:k,popoverId:S,ref:A,refButton:K,refPopover:R,refTooltip:x,role:I,shortKey:L,tabIndex:P,tooltipAlign:E,type:_,variant:F}=o;return n(r,{block:"kol-popover-button",class:o.class,ref:A,modifiers:{open:k,inline:!0===B}},n(l,{accessKey:s,ariaControls:S,ariaDescription:t,ariaDescriptionId:e,ariaExpanded:k?"true":"false",ariaHasPopup:a,ariaSelected:p,customClass:h,disabled:c,handleBlur:d,handleClick:m,handleFocus:f,handleMouseDown:u,hideLabel:b,icons:g,id:y,inline:B,label:w,name:j,on:C,refButton:K,refTooltip:x,role:I,shortKey:L,tabIndex:P,tooltipAlign:E,type:_,variant:F}),n(v,{align:D,class:"kol-popover-button__popover",id:S,popoverRef:R},i))};export{u as P,m as a,c as p}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a}from"./tslib.es6-QNbPBOk5.js";import{h as e}from"./index-8-BSSKQL.js";import"./common-BdSzSIXg.js";import{c as o,i as s,x as i,a as t,b as r,r as n,t as l,e as d,B as c}from"./props-from-config-LBgEHmcL.js";import{a as p,b,c as m,f as u,g as f,h,i as v,l as x,d as y,s as j,t as B,e as C,v as g,A as S,j as w}from"./component-Bldy_ShO.js";import{b as D}from"./bem-registry-SKACeCny.js";import{S as I}from"./component-Cj3P_f35.js";import{T as k}from"./component-D5yKRPCZ.js";import{d as K}from"./disabled-C2DzYwwy.js";import{i as L}from"./id-lCAtMmMx.js";import{l as P}from"./label-with-expert-slot-BVqi0_Fb.js";const E=["dialog","false","grid","listbox","menu","tree","true"],F=o("ariaHasPopup","",(function(a){if(""===a)return"";if(s(a,E))return a;throw new Error(`Invalid aria-haspopup value: expected one of ${E.join(", ")}, got ${JSON.stringify(a)}`)})),M=o("ariaSelected","",(function(a){return i(a,"aria-selected")})),T=t(),A=["button","reset","submit"],H=o("type","button",(function(a){const e=r(a);if(s(e,A))return e;throw new Error(`Invalid button type: ${e}`)}),(a=>A.includes(a))),O=o("name","",r),$={required:[P],optional:[p,b,m,u,F,M,T,H,f,K,h,L,v,x,O,y,j,B,C,g]},_=D.forBlock("kol-button"),q=_("interactive-element"),z=_("text"),N=_("tooltip"),Q=o=>{const s=n($,o),{accessKey:i,ariaControls:t,ariaDescription:r,ariaDescriptionId:p,ariaExpanded:b,ariaHasPopup:m,ariaSelected:u,class:f,customClass:h,disabled:v,handleBlur:x,handleClick:y,handleFocus:j,handleMouseDown:B,hideLabel:C,icons:g,id:D,inline:K,label:L,name:P,refButton:E,refTooltip:F,role:M,shortKey:T,tabIndex:A,type:H,variant:O}=s,_=a(s,["accessKey","ariaControls","ariaDescription","ariaDescriptionId","ariaExpanded","ariaHasPopup","ariaSelected","class","customClass","disabled","handleBlur","handleClick","handleFocus","handleMouseDown","hideLabel","icons","id","inline","label","name","refButton","refTooltip","role","shortKey","tabIndex","type","variant","on","tooltipAlign"]),Q=i||T,J=l(L).length>0,R=r.trim().length>0;return e(c,Object.assign({block:"kol-button",class:d(f,{[w(O,"button")]:O.length>0,[h]:h.length>0}),modifiers:{disabled:v,"hide-label":C,inline:!0===K,standalone:!1===K}},_),e("button",{ref:E,accessKey:i||void 0,"aria-controls":t||void 0,"aria-describedby":R?p:void 0,"aria-expanded":b||void 0,"aria-haspopup":m||void 0,"aria-keyshortcuts":T||void 0,"aria-label":C&&J?l(L):void 0,"aria-selected":u||void 0,class:q,disabled:v,id:D||void 0,name:P||void 0,onBlur:x,onClick:y,onFocus:j,onMouseDown:B,role:M||void 0,tabIndex:A,type:H},e(I,{class:z,badgeText:Q,icons:g,hideLabel:C,label:L},e("slot",{name:"expert",slot:"expert"}))),C&&J&&e("div",{class:N},e(k,{badgeText:Q,label:L,refFloating:F})),R&&e(S,{description:r,descriptionId:p}))};export{Q as B,M as a,$ as b,T as c,H as d,F as e,O as n}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{t as o}from"./i18n-BLkzMf6D.js";import{r as e}from"./resolve-props-0xfjG6h5.js";import{h as l}from"./index-8-BSSKQL.js";import{K as s}from"./Heading-DDS-lyOB.js";import{b as r}from"./bem-registry-SKACeCny.js";import{a,r as t,e as n,B as i}from"./props-from-config-LBgEHmcL.js";import{B as c}from"./component-BC1TpQVD.js";import{r as m}from"./component-Cj3P_f35.js";import"./common-BdSzSIXg.js";import{l as d}from"./level-eGeMFn0b.js";import{h as p}from"./has-closer-x20C4xl3.js";import{h as f}from"./href-vIF4eC7d.js";import{l as h}from"./label-lang-segment-B13iL7iy.js";import{l as j}from"./link-target-DEH-wAmf.js";const b=a(),u={required:[h],optional:[b,p,f,d,j]};function g(l){return e({_hideLabel:!0,_icons:{left:{icon:"kolicon-cross"}},_label:o("kol-close"),_tooltipAlign:"top"},l)}const B=r.forBlock("kol-card"),C=B("close-button"),v=B("content"),k=B("header"),D=B("link"),I=r.forBlock("kol-close-button")(),L=()=>{},S=({headingId:o,label:e,level:r})=>l(s,{class:k,id:o,level:r},m(e)),x=(o,e)=>{const{ariaDescriptionId:s,class:r,closeButtonProps:a,handleBlur:m,handleClose:d,handleFocus:p,hasCloser:f,headingId:h,href:j,label:b,level:g,refCloseButton:B,refCta:k,refTooltip:x,target:y}=t(u,o);return l(i,{component:"article","aria-labelledby":h,block:"kol-card",class:r},j.length>0?l("a",{class:D,href:j,target:y||void 0,onBlur:m,onFocus:p,ref:k},l(S,{headingId:h,label:b,level:g})):l(S,{headingId:h,label:b,level:g}),l("div",{class:v},e),f&&l("div",{class:n(C,I)},l(c,Object.assign({},a,{ariaDescriptionId:s,handleBlur:L,handleClick:d,handleFocus:L,handleMouseDown:L,refButton:B,refTooltip:x}))))};export{x as C,b as a,u as c,g as r}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{n as r}from"./common-BdSzSIXg.js";import{c as t,b as n,x as e,n as o,i as a,y as s,q as i}from"./props-from-config-LBgEHmcL.js";import{a as f}from"./validators-ByUMEUYD.js";import{c}from"./component-D5yKRPCZ.js";import{h as p}from"./index-8-BSSKQL.js";const u=(r,t)=>{let n="";return Array.isArray(r)&&r.forEach((r=>{n+="kol-"+t+"--"+r+" "})),n},l=t("accessKey","",n),d=t("ariaControls","",n),m=t("ariaDescription","",n),y=t("ariaExpanded","",(function(r){return e(r,"aria-expanded")})),b=t("customClass","",n,(function(r){return""===r||f(r)})),g=t("hideLabel",!1,o),h=t("inline",!0,o),v=["tab","treeitem"],j=t("role","",(function(r){if(""===r)return"";if(a(r,v))return r;throw new Error(`Invalid role: expected one of ${v.join(", ")}, got ${JSON.stringify(r)}`)})),x=t("shortKey","",n),I=t("icons",{},(function(r){if(!r||"string"==typeof r&&""===r)return{};if("string"==typeof r&&/^[{[]/.test(r.trim()))return s(r);if("string"==typeof r)return n(r);if("object"==typeof r)return s(r);throw new Error("Invalid icons: "+typeof r)}),(function(r){return"string"==typeof r?r.length>0:"object"==typeof r&&null!==r})),E=t("tabIndex",0,i,void 0,{hints:(t,n)=>{"number"==typeof n&&n>0&&r(`Positive tabIndex values ("${n}") can disrupt the natural tab order. Use 0 for tabbable elements or rely on DOM order.`)}}),S=c("tooltipAlign","right"),w=t("variant",[],(function(r){return Array.isArray(r)?r:"string"==typeof r?r.split(" "):[]}),(function(r){return 0===r.length||r.every(f)})),A=({description:r,descriptionId:t})=>r?p("span",{class:"visually-hidden",id:t},r):null;export{A,l as a,d as b,m as c,x as d,S as e,y as f,b as g,g as h,h as i,u as j,j as l,I as s,E as t,w as v}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a as n}from"./tslib.es6-QNbPBOk5.js";import{h as e,F as s}from"./index-8-BSSKQL.js";import"./common-BdSzSIXg.js";import{b as r}from"./bem-registry-SKACeCny.js";import{s as l,u as t,w as o,B as a,e as i}from"./props-from-config-LBgEHmcL.js";import{I as g}from"./component-LadkF9an.js";function u(n){return"string"==typeof n||!t(n)&&l(n)&&"[object String]"==o(n)}const c=n=>""===n,p=(n,e)=>n||e||"",m=new RegExp(String.fromCharCode(0),"g"),d=String.fromCharCode(65533),b={amp:"&",apos:"'",gt:">",lt:"<",nbsp:String.fromCharCode(160),quot:'"'},$=n=>Number.isInteger(n)&&n>=32&&n<=1114111&&!(n>=55296&&n<=57343)?String.fromCodePoint(n):void 0,f="\\s!-/:-@\\[-^`{-~",_=`(^|[${f}])`,S=`(?=$|[${f}])`,x="\\S(?:[\\s\\S]*\\S)?",v=/[ \t]{2,}\n/g,w=new RegExp(`~~(${x})~~`,"g"),j=new RegExp(`\\*\\*(${x})\\*\\*`,"g"),h=/\*([^\s*](?:[^*]*[^\s*])?)\*/g,y=new RegExp(`\\*\\*\\*(${x})\\*\\*\\*`,"g"),k=new RegExp(`${_}__(${x})__${S}`,"g"),E=new RegExp(`${_}_([^\\s_](?:[^_]*[^\\s_])?)_${S}`,"g"),L=new RegExp(`${_}___(${x})___${S}`,"g"),R=n=>{const e=[];return(n=>n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"))((n=>n.replace(/&#(\d+);/g,((n,e)=>{var s;return null!==(s=$(Number.parseInt(e,10)))&&void 0!==s?s:n})).replace(/&#x([0-9a-f]+);/gi,((n,e)=>{var s;return null!==(s=$(Number.parseInt(e,16)))&&void 0!==s?s:n})).replace(/&([a-z]+);/gi,((n,e)=>{var s;return null!==(s=b[e.toLowerCase()])&&void 0!==s?s:n})))(n.replace(/\r\n?/g,"\n").replace(m,d))).replace(/\\([\\`*_~[\]()#+\-.!>{}])/g,((n,s)=>(e.push(s),`<${e.length-1}>`))).split(/(`[^`]+`)/).map(((n,e)=>e%2==0?(n=>n.replace(v,"<br>\n").replace(y,"<em><strong>$1</strong></em>").replace(L,"$1<em><strong>$2</strong></em>").replace(w,"<s>$1</s>").replace(j,"<strong>$1</strong>").replace(k,"$1<strong>$2</strong>").replace(h,"<em>$1</em>").replace(E,"$1<em>$2</em>"))(n):`<code>${n.slice(1,-1)}</code>`)).join("").replace(/<(\d+)>/g,((n,s)=>{var r;return null!==(r=e[Number.parseInt(s,10)])&&void 0!==r?r:""}))},B=r.forBlock("kol-span");function N(n){return null!=n&&function(n){return"object"==typeof n&&null!==n&&"icon"in n}(n)?n:u(n)&&n.length>0?{icon:n}:null}function A(n){return Array.isArray(n)?e("span",null,n.map((n=>e("span",{lang:n.lang},n.text)))):e(s,null,n)}const M=(r,l)=>{const{allowMarkdown:t,badgeText:o,class:p,hideLabel:m=!1,icons:d,label:b}=r,$=n(r,["allowMarkdown","badgeText","class","hideLabel","icons","label"]);let f=null,_=null,S=null,x=null;!function(n){return"object"==typeof n&&null!==n&&!Array.isArray(n)}(d)?u(d)&&d.length>0&&(_={icon:d}):(f=N(d.top),_=N(d.left),S=N(d.right),x=N(d.bottom));const v=(n,s)=>{var r;return n?e(g,{class:B("icon",{[s]:!0}),icons:n.icon,label:null!==(r=n.label)&&void 0!==r?r:"",style:n.style}):null},w=!c(b);return e(a,Object.assign({component:"span"},$,{block:"kol-span",modifiers:{"has-badge":!!o,"hide-label":!!m},class:p}),v(f,"top"),e("span",{class:B("container")},v(_,"left"),w&&function(n,r,l,t){return r?null:Array.isArray(n)?e("span",{class:B("label")},n.map((n=>e("span",{lang:n.lang},n.text)))):l?e("span",{class:i(B("label"),"md"),innerHTML:R(n)}):e("span",{class:B("label")},t?function(n,r){let l=r,[t,...o]=n.split(l);return 0===o.length&&(l=r.toUpperCase(),[t,...o]=n.split(l)),0===o.length&&(l=r.toLowerCase(),[t,...o]=n.split(l)),e(s,null,t,o.length?e(s,null,e("u",null,l),o.join(l)):null)}(n,t):n)}(b,m,t,o),e("span",{"aria-hidden":w?"true":void 0,class:B("slot"),hidden:w},l),u(o)&&o.length>0&&e("kbd",{"aria-hidden":"true",class:"badge-text-hint"},o),v(S,"right")),v(x,"bottom"))};export{M as S,p as b,A as r,c as s}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{c as o,b as t,i as r}from"./props-from-config-LBgEHmcL.js";import{h as s}from"./index-8-BSSKQL.js";import{b as e}from"./bem-registry-SKACeCny.js";import{S as i}from"./component-Cj3P_f35.js";const a=["left","right","top","bottom"];function n(s,e){return o(s,e,(o=>{const e=t(o);if(r(e,a))return e;throw new Error(`Invalid ${s} value: ${e}`)}))}const l=e.forBlock("kol-tooltip"),c=({label:o,badgeText:t,id:r,refFloating:e})=>s("div",{class:l("floating"),hidden:!o,ref:e},s("div",{class:l("arrow")}),s(i,{class:l("content"),badgeText:t,id:r,label:o}));export{c as T,n as c}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as s,F as a}from"./index-8-BSSKQL.js";import{t as n}from"./i18n-BLkzMf6D.js";import{b as r}from"./bem-registry-SKACeCny.js";import{c as o,n as e,b as t,r as l,B as i}from"./props-from-config-LBgEHmcL.js";import"./common-BdSzSIXg.js";import{l as c}from"./label-mr5joqaQ.js";const p=o("show",!1,e),m=["dot","cycle","none"],u=o("variant","dot",(s=>{const a=t(s);if(m.includes(a))return a;throw new Error(`Invalid spin variant: ${a}`)}),(()=>!0)),d={optional:[c,p,u]},f=r.forBlock("kol-spin"),b=f("loader"),y=["1","2","3","neutral"],j=r=>{const{show:o,label:e,variant:t}=l(d,r);return s(i,{block:"kol-spin"},o?s(a,null,s("span",{class:f("spinner",{[t]:!0})},function(a){switch(a){case"cycle":return s("span",{class:b});case"none":return s("slot",{name:"expert"});default:return y.map((a=>s("span",{class:f("spinner-element",{[a]:!0})})))}}(t)),s("span",{"aria-busy":"true",class:"visually-hidden",role:"alert"},e||n("kol-action-running"))):s("span",{"aria-busy":"false",class:"visually-hidden",role:"alert"},e||n("kol-action-done")))};export{j as S,p as a,d as s,u as v}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as o}from"./index-8-BSSKQL.js";import{b as r}from"./bem-registry-SKACeCny.js";import{B as l}from"./props-from-config-LBgEHmcL.js";import{B as s}from"./component-BC1TpQVD.js";import{S as a}from"./component-Cj3P_f35.js";const t=r.forBlock("kol-badge"),n=t("label"),e=t("smart-button"),i=({color:r,icons:t,label:i,smartButton:m})=>o(l,{block:"kol-badge",modifiers:{"has-smart-button":void 0!==m},style:{backgroundColor:r.backgroundColor,color:r.foregroundColor}},o(a,{class:n,id:null==m?void 0:m.labelId,allowMarkdown:!0,icons:t,label:i}),m&&o(s,Object.assign({},m.resolvedButton,{class:e,ariaDescriptionId:m.ariaDescriptionId,handleBlur:m.handleBlur,handleClick:m.handleClick,handleFocus:m.handleFocus,handleMouseDown:m.handleMouseDown,refButton:m.refSmartButton,refTooltip:m.refTooltip})),o("br",null));export{i as B}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a as o}from"./tslib.es6-QNbPBOk5.js";import{h as s}from"./index-8-BSSKQL.js";import{b as i}from"./bem-registry-SKACeCny.js";import{e as r,B as a}from"./props-from-config-LBgEHmcL.js";const e=i.forBlock("kol-icon")("icon"),n=i=>{var{class:n,icons:l,label:c}=i,t=o(i,["class","icons","label"]);const m=(null==c?void 0:c.length)>0;return s(a,Object.assign({component:"i"},t,{"aria-hidden":m?void 0:"true","aria-label":m?c:void 0,block:"kol-icon",class:r(e,l,n),role:m?"img":"presentation"}))};export{n as I}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{h as a}from"./index-8-BSSKQL.js";import{t as e}from"./i18n-BLkzMf6D.js";import{e as o}from"./common-BdSzSIXg.js";import{c as s,b as i,a as r,r as t,t as n,e as l,B as d}from"./props-from-config-LBgEHmcL.js";import{a as c,b as p,c as m,f,g as b,h as v,s as k,i as g,l as h,d as j,t as u,e as x,v as y,A as w,j as C}from"./component-Bldy_ShO.js";import{b as L}from"./bem-registry-SKACeCny.js";import{p as _}from"./element-interaction-sGYdEpmv.js";import{I as S}from"./component-LadkF9an.js";import{S as B}from"./component-Cj3P_f35.js";import{T as D}from"./component-D5yKRPCZ.js";import{d as I}from"./disabled-C2DzYwwy.js";import{h as K}from"./href-vIF4eC7d.js";import{l as A}from"./label-with-expert-slot-BVqi0_Fb.js";import{l as E}from"./link-target-DEH-wAmf.js";const F=["date","location","page","step","time","true","false"],O=s("ariaCurrentValue","page",(function(a){const e=i(a);return F.includes(e)?e:"page"})),T=s("ariaOwns","",i),z=s("download",void 0,i),$=r(),q={required:[K],optional:[c,p,O,m,f,T,b,I,z,v,k,g,A,$,h,E,j,u,x,y]},H=L.forBlock("kol-link"),M=(s,i)=>{const{accessKey:r,ariaControls:c,ariaCurrent:p,ariaDescription:m,ariaDescriptionId:f,ariaExpanded:b,ariaOwns:v,class:k,customClass:g,disabled:h,download:j,handleAnchorClick:u,hideLabel:x,href:y,icons:L,inline:I,label:K,on:A,ref:E,refAnchor:F,refTooltip:O,role:T,shortKey:z,tabIndex:$,target:M,variant:P,expertSlot:V}=t(q,s),Y=e("kol-open-link-in-tab"),G="string"==typeof M&&M.length>0&&"_self"!==M,Q={href:"string"==typeof y&&y.length>0?y:"javascript:void(0);",target:"string"==typeof M&&M.length>0?M:void 0,rel:G?"noopener":void 0,download:"string"==typeof j?j:void 0};!0===x&&""===n(K)&&o("[KolLink] An aria-label must be set when _hide-label is set.");const R=null==m?void 0:m.trim(),X=T||void 0;return a(d,{block:"kol-link",ref:E,class:l(k,{[g]:P.includes("custom")&&g.length>0,[C(P,"link")]:P.length>0}),modifiers:{disabled:!0===h,"external-link":G,"hide-label":!0===x,inline:!0===I,standalone:!1===I}},a("a",Object.assign({ref:F},Q,{href:Q.href,accessKey:r||void 0,"aria-current":p||void 0,"aria-controls":c||void 0,"aria-describedby":R?f:void 0,"aria-disabled":h?"true":void 0,"aria-expanded":""===b?void 0:b,"aria-owns":v||void 0,"aria-label":x&&""!==n(K)?`${n(K)}${G?` (${Y})`:""}`:void 0,"aria-keyshortcuts":z||void 0,class:H("interactive-element")},A,{onClick:u,onMouseDown:h?_:void 0,role:X,tabIndex:h?-1:$}),a(B,{class:"kol-link__text",badgeText:r||z,icons:L,hideLabel:x,label:V?"":K||y},i.length>0?i:a("slot",{name:"expert",slot:"expert"})),G&&a(S,{class:"kol-link__icon",label:x?"":Y,icons:"kolicon-link-external","aria-hidden":x})),!0===x&&!V&&a("div",{class:H("tooltip")},a(D,{badgeText:r||z||"",label:""!==n(K)?K:"string"==typeof y?y:"",refFloating:O})),R&&a(w,{description:R,descriptionId:f}))};export{M as L,O as a,$ as b,T as c,z as d,q as l}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a as o}from"./tslib.es6-QNbPBOk5.js";import{h as l,F as e}from"./index-8-BSSKQL.js";import{g as a}from"./Heading-DDS-lyOB.js";import{t as r}from"./i18n-BLkzMf6D.js";import"./common-BdSzSIXg.js";import{e as s,t as i,B as n}from"./props-from-config-LBgEHmcL.js";import{b as t}from"./bem-registry-SKACeCny.js";import{B as c}from"./component-BC1TpQVD.js";import{r as d}from"./component-Cj3P_f35.js";import{I as p}from"./component-LadkF9an.js";const m=t.forBlock("kol-alert")("icon"),f={error:{label:r("kol-error"),icon:"kolicon-alert-error"},info:{label:r("kol-info"),icon:"kolicon-alert-info"},warning:{label:r("kol-warning"),icon:"kolicon-alert-warning"},success:{label:r("kol-success"),icon:"kolicon-alert-success"},default:{label:r("kol-message"),icon:"kolicon-alert-info"}},k=({type:o="default"})=>{const a=f[o||"default"];return l(e,null,l("span",{class:"visually-hidden"},a.label),l(p,{class:m,label:"",icons:a.icon}))},u=t.forBlock("kol-alert"),b=u("closer"),h=u("content"),C=t.forBlock("kol-close-button")(),g=void 0,v=(e,t)=>{const{alert:p,class:m,closerAriaDescriptionId:f,handleCloserClick:v,hasCloser:y,headingId:B,label:j,level:D,refCloserButton:I,refCloserTooltip:S,type:L,variant:A}=e,w=o(e,["alert","class","closerAriaDescriptionId","handleCloserClick","hasCloser","headingId","label","level","refCloserButton","refCloserTooltip","type","variant"]),x=r("kol-close-alert"),K=a(null!=D?D:0);return l(n,Object.assign({block:"kol-alert",class:m,modifiers:{hasCloser:!0===y,[`type-${L}`]:!0,[`variant-${A}`]:!0},role:p?"alert":void 0},w),l(k,{type:L}),!!(null==j?void 0:j.length)&&l(K,{class:s("kol-headline",`kol-headline--${K}`,u("heading",{[`h${D}`]:!0}),"kol-headline--single"),id:B},d(j)),y&&l(c,{accessKey:"",ariaControls:"",ariaDescription:i(j),ariaDescriptionId:f,ariaExpanded:g,ariaHasPopup:"",ariaSelected:g,class:s(b,C),customClass:"",disabled:!1,handleBlur:()=>{},handleClick:v,handleFocus:()=>{},handleMouseDown:()=>{},hideLabel:!0,icons:{left:{icon:"kolicon-cross"}},id:"",inline:!1,label:x,name:"",on:{},refButton:I,refTooltip:S,role:g,shortKey:"",tabIndex:g,tooltipAlign:"top",type:"button",variant:["normal"]}),l("div",{"aria-describedby":(null==j?void 0:j.length)?B:void 0,class:h},t))};export{v as A}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{z as t,A as r}from"./common-BdSzSIXg.js";import{y as o}from"./props-from-config-ytxYrJUY.js";const a=(o,n,s,e=1)=>{const g=[Math.max(Math.min(Math.round(n[0]+e*Math.max(1,n[0]/100)),255),0),Math.max(Math.min(Math.round(n[1]+e*Math.max(1,n[1]/100)),255),0),Math.max(Math.min(Math.round(n[2]+e*Math.max(1,n[2]/100)),255),0)],c=r(t.hex(`rgba(${o.join(",")},1)`),t.hex(`rgba(${g.join(",")},1)`)),f=g[0]+g[1]+g[2];return 0===f||765===f||c>s?{background:o,foreground:g,contrast:c}:a(o,g,s,e)},n=(r,n=7)=>{let s=[0,0,0,1],e=[255,255,255,1];"string"==typeof r?(s=o(r),e=s):"object"==typeof r&&null!==r&&"string"==typeof r.background&&"string"==typeof r.foreground&&(s=o(r.background),e="string"==typeof r.foreground?o(r.foreground):s);const g=((t,r,o)=>{const n=(299*t[0]+587*t[1]+114*t[2])/1e3>=128?-1:1,s=a(t,r,o,n);if(s.contrast>=o)return s;const e=a(t,r,o,-n);return e.contrast>s.contrast?e:s})([s[0],s[1],s[2]],[e[0],e[1],e[2]],n);return e=[...g.foreground,1],{background:t.hex(`rgba(${s.join(",")})`),foreground:t.hex(`rgba(${e.join(",")})`),contrast:g.contrast}};export{n as c}
4
+ import{z as t,A as r}from"./common-BdSzSIXg.js";import{A as o}from"./props-from-config-LBgEHmcL.js";const a=(o,n,s,e=1)=>{const g=[Math.max(Math.min(Math.round(n[0]+e*Math.max(1,n[0]/100)),255),0),Math.max(Math.min(Math.round(n[1]+e*Math.max(1,n[1]/100)),255),0),Math.max(Math.min(Math.round(n[2]+e*Math.max(1,n[2]/100)),255),0)],c=r(t.hex(`rgba(${o.join(",")},1)`),t.hex(`rgba(${g.join(",")},1)`)),f=g[0]+g[1]+g[2];return 0===f||765===f||c>s?{background:o,foreground:g,contrast:c}:a(o,g,s,e)},n=(r,n=7)=>{let s=[0,0,0,1],e=[255,255,255,1];"string"==typeof r?(s=o(r),e=s):"object"==typeof r&&null!==r&&"string"==typeof r.background&&"string"==typeof r.foreground&&(s=o(r.background),e="string"==typeof r.foreground?o(r.foreground):s);const g=((t,r,o)=>{const n=(299*t[0]+587*t[1]+114*t[2])/1e3>=128?-1:1,s=a(t,r,o,n);if(s.contrast>=o)return s;const e=a(t,r,o,-n);return e.contrast>s.contrast?e:s})([s[0],s[1],s[2]],[e[0],e[1],e[2]],n);return e=[...g.foreground,1],{background:t.hex(`rgba(${s.join(",")})`),foreground:t.hex(`rgba(${e.join(",")})`),contrast:g.contrast}};export{n as c}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{L as n,q as t,t as e,v as o,x as i,y as s}from"./common-BdSzSIXg.js";import{E as a}from"./index-DEcM8BEc.js";const r=()=>{let n=i().KoliBri;return void 0===n&&(n={},Object.defineProperty(i(),"KoliBri",{value:n,writable:!1})),n},c="\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | `--' | |) /_ ,--.--. `--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n`--' `--´ `---´ `--' `--' `------´ `--' `--'".replace(/ /g," "),u=()=>{(()=>{try{const n=t();if(!n||"function"!=typeof n.querySelector)return;const i=n.querySelector('meta[name="kolibri"]');if(i&&i.hasAttribute("content")){const n=i.getAttribute("content");"string"==typeof n&&(e(n.includes("experimental-mode=true")),o(n.includes("color-contrast-analysis=true")))}}catch(n){}})(),n.debug(`${c}\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${a.kolibriVersion}\n\t`,{forceLog:!0})},l=()=>{!0!==r().adviceShown&&(Object.defineProperty(r(),"adviceShown",{get:function(){return!0}}),n.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let m=()=>Math.floor(16777215*Math.random()).toString(16);s()&&(m=()=>"nonce");const p=n=>`${n}-${m()}`,f=(n,t)=>{const e=n.lastIndexOf("-");if(-1===e)return`${n}-${t}`;const o=n.slice(e+1);return"nonce"===o||/^[0-9a-f]+$/.test(o)?`${n.slice(0,e)}-${t}-${o}`:`${n}-${t}`};export{f as a,p as c,u as i,m as n,l as r}
4
+ import{L as n,q as t,t as e,v as o,x as i,y as s}from"./common-BdSzSIXg.js";import{E as a}from"./index-8-BSSKQL.js";const r=()=>{let n=i().KoliBri;return void 0===n&&(n={},Object.defineProperty(i(),"KoliBri",{value:n,writable:!1})),n},c="\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | `--' | |) /_ ,--.--. `--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n`--' `--´ `---´ `--' `--' `------´ `--' `--'".replace(/ /g," "),u=()=>{(()=>{try{const n=t();if(!n||"function"!=typeof n.querySelector)return;const i=n.querySelector('meta[name="kolibri"]');if(i&&i.hasAttribute("content")){const n=i.getAttribute("content");"string"==typeof n&&(e(n.includes("experimental-mode=true")),o(n.includes("color-contrast-analysis=true")))}}catch(n){}})(),n.debug(`${c}\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${a.kolibriVersion}\n\t`,{forceLog:!0})},l=()=>{!0!==r().adviceShown&&(Object.defineProperty(r(),"adviceShown",{get:function(){return!0}}),n.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let m=()=>Math.floor(16777215*Math.random()).toString(16);s()&&(m=()=>"nonce");const p=n=>`${n}-${m()}`,f=(n,t)=>{const e=n.lastIndexOf("-");if(-1===e)return`${n}-${t}`;const o=n.slice(e+1);return"nonce"===o||/^[0-9a-f]+$/.test(o)?`${n.slice(0,e)}-${t}-${o}`:`${n}-${t}`};export{f as a,p as c,u as i,m as n,l as r}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{I as t,L as o,q as i,x as e,J as n,H as l,M as s,N as r,O as a,p as c,P as d,C as p,Q as u}from"./common-BdSzSIXg.js";import{i as f,r as m}from"./dev.utils-BwYCy1rP.js";import"./index-DEcM8BEc.js";function L(t,i){try{Object.defineProperty((()=>{let t=e().KoliBri;return void 0===t&&(t={},Object.defineProperty(e(),"KoliBri",{value:t,writable:!1})),t})(),t,{get:function(){return i}})}catch(i){o.debug(`KoliBri property ${t} is already bind.`)}}const v=(t,i)=>o.debug(`${t} ${i?"":"not "}activated`),y=()=>{if(f(),t()&&(m(),L("a11yColorContrast",n),L("querySelector",l),L("querySelectorAll",s),L("querySelectorColors",r),L("utils",(function(){return a})),L("parseJson",c),L("stringifyJson",d),v("Development mode",t()),v("Experimental mode",p()),v("Color contrast analysis",u()),setTimeout((()=>{try{const t=i(),o=null==t?void 0:t.body;if(t&&o&&"function"==typeof t.createElement){const i=t.createElement("svg");i.setAttribute("aria-label","KoliBri-DevTools"),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("role","toolbar"),i.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),i.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',o.appendChild(i)}}catch(t){o.debug(["Could not initialize DevTools UI (likely in SSR/test environment):",t])}}),100),u())){const t=setTimeout((()=>{clearTimeout(t);try{const t=i(),o=null==t?void 0:t.body;t&&o&&"function"==typeof t.createElement&&setInterval((()=>{a.queryHtmlElementColors(t.createElement("div"),n(o),!1,!1)}),1e4)}catch(t){o.debug(["Could not initialize color contrast analysis:",t])}}),2500)}};export{y as initialize}
4
+ import{I as t,L as o,q as i,x as e,J as n,H as l,M as s,N as r,O as a,p as c,P as d,C as p,Q as u}from"./common-BdSzSIXg.js";import{i as f,r as m}from"./dev.utils-DM7Qhcet.js";import"./index-8-BSSKQL.js";function L(t,i){try{Object.defineProperty((()=>{let t=e().KoliBri;return void 0===t&&(t={},Object.defineProperty(e(),"KoliBri",{value:t,writable:!1})),t})(),t,{get:function(){return i}})}catch(i){o.debug(`KoliBri property ${t} is already bind.`)}}const v=(t,i)=>o.debug(`${t} ${i?"":"not "}activated`),h=()=>{if(f(),t()&&(m(),L("a11yColorContrast",n),L("querySelector",l),L("querySelectorAll",s),L("querySelectorColors",r),L("utils",(function(){return a})),L("parseJson",c),L("stringifyJson",d),v("Development mode",t()),v("Experimental mode",p()),v("Color contrast analysis",u()),setTimeout((()=>{try{const t=i(),o=null==t?void 0:t.body;if(t&&o&&"function"==typeof t.createElement){const i=t.createElement("svg");i.setAttribute("aria-label","KoliBri-DevTools"),i.setAttribute("xmlns","http://www.w3.org/2000/svg"),i.setAttribute("role","toolbar"),i.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),i.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',o.appendChild(i)}}catch(t){o.debug(["Could not initialize DevTools UI (likely in SSR/test environment):",t])}}),100),u())){const t=setTimeout((()=>{clearTimeout(t);try{const t=i(),o=null==t?void 0:t.body;t&&o&&"function"==typeof t.createElement&&setInterval((()=>{a.queryHtmlElementColors(t.createElement("div"),n(o),!1,!1)}),1e4)}catch(t){o.debug(["Could not initialize color contrast analysis:",t])}}),2500)}};export{h as initialize}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{c as o,n as s}from"./props-from-config-LBgEHmcL.js";const r=o("disabled",!1,s);export{r as d}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{a as e}from"./tslib.es6-QNbPBOk5.js";import{h as o}from"./index-8-BSSKQL.js";import"./common-BdSzSIXg.js";import{s as l,b as i}from"./component-Cj3P_f35.js";import{a,g as r,b as s,i as t}from"./api-MBSY9afi.js";import{b as n}from"./bem-registry-SKACeCny.js";import{a as d}from"./dev.utils-DM7Qhcet.js";import{B as b}from"./props-from-config-LBgEHmcL.js";import{T as c}from"./component-D5yKRPCZ.js";const p=n.forBlock("kol-field-control"),f=({hideLabel:e,label:o,renderNoTooltip:i})=>!i&&!l(o)&&!0===e,m=(n,m)=>{const{class:h,id:g,label:j,hint:u,hideLabel:y,labelAlign:B,infoPopover:K,accessKey:N,shortKey:k,tooltipAlign:v,disabled:P,msg:T,touched:L,required:O,readOnly:S,renderNoHint:C,renderNoTooltip:A,labelProps:_,refInput:x,refTooltip:I}=n,q=e(n,["class","id","label","hint","hideLabel","labelAlign","infoPopover","accessKey","shortKey","tooltipAlign","disabled","msg","touched","required","readOnly","renderNoHint","renderNoTooltip","labelProps","refInput","refTooltip"]),H=l(j),Q=f({hideLabel:y,label:j,renderNoTooltip:A}),D=i(N,k),E=t(T,L),F=()=>o("div",{class:p("input"),ref:x},m),M=()=>Q?o("div",{class:"kol-form-field__tooltip"},o(c,{badgeText:D||"",label:j,align:v,id:d(g,"label"),refFloating:I})):null,z=()=>o(s,Object.assign({},_,{id:g,baseClassName:"kol-field-control",class:y?"kol-field-control__label--visually-hidden":void 0,omitId:Q,hasExpertSlot:H,label:j,accessKey:N,shortKey:k,infoPopover:K}));return o(b,Object.assign({block:"kol-field-control",modifiers:Object.assign(Object.assign({disabled:Boolean(P),required:Boolean(O),touched:Boolean(L),"hide-label":Boolean(y),"read-only":Boolean(S)},E?{[r(T)]:!0}:{}),{"label-align-left":"left"===B,"label-align-right":"right"===B}),class:h},q),"left"===B?[z(),F(),M()]:[F(),M(),z()],!C&&o(a,{baseClassName:"kol-field-control",id:g,hint:u}))};export{m as F,f as i}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{c as s,n as i,g as t}from"./props-from-config-LBgEHmcL.js";import{h as e}from"./index-8-BSSKQL.js";import{a as o}from"./dev.utils-DM7Qhcet.js";import{B as n}from"./api-MBSY9afi.js";import{b as a}from"./bem-registry-SKACeCny.js";const r=s("hasClearButton",!0,i),h=t("kol-custom-suggestions-options-group"),l=t("kol-custom-suggestions-option"),c=({"aria-labelledby":s,blockSuggestionMouseOver:i,onKeyDown:t,style:o,hidden:n,id:a},r)=>e("ul",{"aria-labelledby":s,id:a,role:"listbox",style:o,class:h({"cursor-hidden":i,open:!n}),hidden:n,onKeyDown:t},r),d=({disabled:s,id:i,index:t,ref:o,selected:n,onClick:a,onMouseOver:r,onFocus:h,onKeyDown:c,option:d,searchTerm:u})=>e("li",{id:i,key:`-${t}`,ref:o,"data-index":t,tabIndex:-1,role:"option","aria-selected":n?"true":void 0,"aria-disabled":s?"true":void 0,onClick:a,onMouseOver:r,onFocus:h,class:l({disabled:Boolean(s)}),onKeyDown:c},e("span",null,((s,i)=>{if(!(null==i?void 0:i.trim()))return s;const t=new RegExp(`(${i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")})`,"gi");return s.split(t).map(((s,i)=>i%2==1?e("mark",null,s):s))})(String(d),u||"")));class u extends n{constructor(){super(...arguments),this.focusedIndex=-1,this.clearButtonFocused=!1,this.optionRefs=[],this.handleClearButtonFocus=()=>{this.clearButtonFocused=!0},this.handleClearButtonBlur=()=>{this.clearButtonFocused=!1}}getOptionId(s){return o(this.id,`option-${s}`)}getActiveDescendant(){return this.isOpen&&this.focusedIndex>=0?this.getOptionId(this.focusedIndex):void 0}focusOption(s){var i;this.focusedIndex=s,null===(i=this.optionRefs[s])||void 0===i||i.focus()}moveFocusWrapping(s){let i=this.focusedIndex+s;const t=this.getOptionCount();i>=t&&(i=0),i<0&&(i=t-1),this.focusOption(i)}moveFocusSkippingDisabled(s,i,t){const e=this.getOptionCount();let o=this.focusedIndex+s;for(let s=0;s<e;s++){if(o>=e&&(o=0),o<0&&(o=e-1),!t(o))return void this.focusOption(o);o+=i}}handleListboxEvent(s,i,t){var e;s.preventDefault(),void 0!==i&&(this.isOpen=i,i||null===(e=this.ctaRef.el)||void 0===e||e.focus()),null==t||t()}handleListboxKeyDown(s){var i,t;switch(s.key){case"Down":case"ArrowDown":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,!0,(()=>this.moveFocus(1)));break;case"Up":case"ArrowUp":{this.blockSuggestionMouseOver=!0;const i=this.isOpen;this.handleListboxEvent(s,!0,(()=>i?this.moveFocus(-1,-1):this.focusLastOption()));break}case"Tab":this.isOpen&&(this.isOpen=!1,null===(i=this.ctaRef.el)||void 0===i||i.focus());break;case"Esc":case"Escape":this.isOpen&&(s.preventDefault(),this.isOpen=!1,null===(t=this.ctaRef.el)||void 0===t||t.focus());break;case" ":case"Enter":case"NumpadEnter":this.handleConfirmKey(s);break;case"Home":this.isOpen&&(this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.focusFirstOption())));break;case"End":this.isOpen&&(this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.focusLastOption())));break;case"PageUp":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.isOpen&&this.moveFocus(-10)));break;case"PageDown":this.blockSuggestionMouseOver=!0,this.handleListboxEvent(s,void 0,(()=>this.isOpen&&this.moveFocus(10,-1)))}}handleListboxMouseMove(){this.blockSuggestionMouseOver=!1}}const p={"kol-combobox":a.forBlock("kol-combobox")("group"),"kol-single-select":a.forBlock("kol-single-select")("group")},b=({block:s},i)=>e("div",{class:p[s]},i);export{u as B,d as C,b as L,c as a,r as h}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{c as o,n as s}from"./props-from-config-LBgEHmcL.js";const r=o("hasCloser",!1,s);export{r as h}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{c as o,b as r}from"./props-from-config-LBgEHmcL.js";const s=o("href","",r,(o=>"string"==typeof o));export{s as h}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- import{g as o,i as r}from"./i18n-4J6U3ZDc.js";import{y as m}from"./common-BdSzSIXg.js";let s=(m,s)=>{var t;return(null!==(t=o())&&void 0!==t?t:r("de")).translate(m,s)};m()&&(s=o=>o);export{s as t}
4
+ import{g as o,i as r}from"./i18n-BRgvVqCf.js";import{y as m}from"./common-BdSzSIXg.js";let s=(m,s)=>{var t;return(null!==(t=o())&&void 0!==t?t:r("de")).translate(m,s)};m()&&(s=o=>o);export{s as t}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- var e={"action-done":"Aktion abgeschlossen","action-running":"Aktion wird ausgeführt...","avatar-alt":"Avatar von {{name}}","character-counter-current":"{{current}} Zeichen","character-counter-current-of-max":"{{current}}/{{max}} Zeichen","character-counter-current-of-max-aria":"{{current}} von {{max}} Zeichen","character-counter-max-aria":"Zeichenlimit erreicht!","character-limit-exceeded":"Es sind {{over}} Zeichen zu viel.","character-limit-hint":"Es können bis zu {{limit}} Zeichen eingegeben werden.","character-limit-remaining":"Es sind noch {{remaining}} Zeichen verfügbar.","clear-search":"Suche löschen",close:"Schließen","close-alert":"Benachrichtigung schließen","data-browse-text":"Datei auswählen","delete-selection":"Auswahl entfernen","entries-per-site":"Einträge pro Seite",error:"Fehler","error-list":"Fehlerliste","error-list-message":"Bitte korrigieren Sie folgende Fehler:","filename-text":"Datei auswählen oder hier ablegen...","form-description":"Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.","hide-password":"Passwort verbergen",info:"Hinweis","kolibri-logo":"Logo von KoliBri","live-value":"{{value}} {{unit}}","live-value-bounded":"{{value}} von {{max}} {{unit}}",message:"Nachricht","meter-state-critical":"Kritisch","meter-state-optimum":"Optimal","meter-state-suboptimal":"Suboptimal","nav-maximize":"Navigation maximieren","nav-minimize":"Navigation minimieren",new:"Neu","no-entries":"Es sind keine Einträge vorhanden.","no-results-message":"Keine Ergebnisse gefunden.","open-link-in-tab":"Öffnet in neuem Tab.",page:"Seite","page-back":"Eine Seite zurück","page-first":"Direkt zur ersten Seite","page-last":"Direkt zur letzten Seite","page-next":"Eine Seite weiter",pagination:"Paginierung","pagination-position-bottom":"unten","pagination-position-top":"oben",progress:"Fortschritt",readonly:"schreibgeschützt","show-password":"Passwort einblenden","show-suggestions":"Vorschläge anzeigen",sort:"sortieren","split-button-dropdown-label-open":"Optionen anzeigen",success:"Erfolg","table-data-loading":"Daten für Tabelle {{caption}} werden geladen.","table-data-loaded":"Daten für Tabelle {{caption}} wurden geladen.","table-pagination-label":"Paginierung für die Tabelle {{label}}","table-selection":"Auswahl","table-selection-all":"Alle auswählen","table-selection-indeterminate":"Alle auswählen bei teilweiser Auswahl","table-selection-none":"Alle abwählen","table-settings":"Tabellenkonfiguration","table-settings-apply":"Übernehmen","table-settings-cancel":"Abbrechen","table-settings-column-hidable":'Spalte "{{column}}" ausblenden.',"table-settings-column-not-hidable":'Spalte "{{column}}" kann nicht ausgeblendet werden.',"table-settings-column-width":'Breite von Spalte "{{column}}" in Pixel.',"table-settings-error-all-invisible":"Mindestens eine Spalte muss sichtbar sein.","table-settings-move-down":'Spalte "{{column}}" nach unten verschieben.',"table-settings-move-up":'Spalte "{{column}}" nach oben verschieben.',"table-settings-not-move":'Spalte "{{column}}" kann nicht verschoben werden.',"table-sort-order":"Priorität {{order}}","table-visible-range":"Einträge {{start}} bis {{end}} von {{total}}","toast-close-all":"Alle Benachrichtigungen schließen",version:"Versionsnummer",warning:"Warnung"},t={"action-done":"Action done","action-running":"Action is running...","avatar-alt":"Avatar of {{name}}","character-counter-current":"{{current}} characters","character-counter-current-of-max":"{{current}}/{{max}} characters","character-counter-current-of-max-aria":"{{current}} of {{max}} characters","character-counter-max-aria":"Character limit reached!","character-limit-exceeded":"You have {{over}} characters too many.","character-limit-hint":"You can enter up to {{limit}} characters","character-limit-remaining":"You have {{remaining}} characters remaining.","clear-search":"Clear search",close:"Close","close-alert":"Close notification","data-browse-text":"Browse","delete-selection":"Delete selection","entries-per-site":"Entries per page",error:"Error","error-list":"Error list","error-list-message":"Please correct the following errors","filename-text":"Choose a file or drop it here...","form-description":"Form fields marked with an asterisk (*) are mandatory.","hide-password":"Hide password",info:"Note","kolibri-logo":"KoliBri logo","live-value":"{{value}} {{unit}}","live-value-bounded":"{{value}} of {{max}} {{unit}}",message:"Message","meter-state-critical":"Critical","meter-state-optimum":"Optimum","meter-state-suboptimal":"Suboptimal","nav-maximize":"Maximize navigation","nav-minimize":"Minimize navigation",new:"New","no-entries":"No entries available.","no-results-message":"No results found.","open-link-in-tab":"Opens in new tab.",page:"Page","page-back":"One page back","page-first":"Directly to the first page","page-last":"Directly to the last page","page-next":"One page further",pagination:"Pagination","pagination-position-bottom":"bottom","pagination-position-top":"top",progress:"Progress",readonly:"read-only","show-password":"Show password","show-suggestions":"Show suggestions",sort:"sort","split-button-dropdown-label-open":"Show options",success:"Success","table-data-loading":"Data in table {{caption}} is loading.","table-data-loaded":"Data in table {{caption}} got loaded.","table-pagination-label":"Pagination for table {{label}}","table-selection":"Selection","table-selection-all":"Select all","table-selection-indeterminate":"Select all with partial selection","table-selection-none":"Deselect all","table-settings":"Table configuration","table-settings-apply":"Apply","table-settings-cancel":"Cancel","table-settings-column-hidable":'Hide column "{{column}}".',"table-settings-column-not-hidable":'Column "{{column}}" cannot be hidden.',"table-settings-column-width":'Width of column "{{column}}" in pixel.',"table-settings-error-all-invisible":"At least one column must be visible.","table-settings-move-down":'Move column "{{column}}" down.',"table-settings-move-up":'Move column "{{column}}" up.',"table-settings-not-move":'Column "{{column}}" cannot be moved.',"table-sort-order":"Priority {{order}}","table-visible-range":"Entries {{start}} to {{end}} of {{total}}","toast-close-all":"Close all notifications",version:"Version number",warning:"Warning"};const n=e=>Object.keys(e).reduce(((t,n)=>(t[`kol-${n}`]=e[n],t)),{}),a=new Set([e=>e("en",n(t)),t=>t("de",n(e))]);class i{constructor(e){this.resourceMap=new Map,this.language=null!=e?e:"de"}addTranslations(e){Array.isArray(e)?e=new Set(e):"function"==typeof e&&(e=new Set([e])),void 0!==e&&e.forEach((e=>e(((e,t)=>{let n=this.resourceMap.get(e);return n||(n=new Map,this.resourceMap.set(e,n)),Object.entries(t).forEach((([e,t])=>{t&&n.set(e,t)})),e}))))}setLanguage(e){this.language=e}translate(e,t){var n;let a=null===(n=this.resourceMap.get(this.language))||void 0===n?void 0:n.get(e);return a?(null==t?void 0:t.placeholders)&&Object.entries(t.placeholders).forEach((([e,t])=>{var n;n=t,a=a.split(`{{${e}}}`).join(n)})):a=e,a}}let r;const o=()=>r,l=(e,t=a)=>(r=new i(e),r.addTranslations(t),r);export{o as g,l as i}
4
+ var e={"action-done":"Aktion abgeschlossen","action-running":"Aktion wird ausgeführt...","avatar-alt":"Avatar von {{name}}","character-counter-current":"{{current}} Zeichen","character-counter-current-of-max":"{{current}}/{{max}} Zeichen","character-counter-current-of-max-aria":"{{current}} von {{max}} Zeichen","character-counter-max-aria":"Zeichenlimit erreicht!","character-limit-exceeded":"Es sind {{over}} Zeichen zu viel.","character-limit-hint":"Es können bis zu {{limit}} Zeichen eingegeben werden.","character-limit-remaining":"Es sind noch {{remaining}} Zeichen verfügbar.","clear-search":"Suche löschen",close:"Schließen","close-alert":"Benachrichtigung schließen","data-browse-text":"Datei auswählen","delete-selection":"Auswahl entfernen","entries-per-site":"Einträge pro Seite",error:"Fehler","error-list":"Fehlerliste","error-list-message":"Bitte korrigieren Sie folgende Fehler:","filename-text":"Datei auswählen oder hier ablegen...","form-description":"Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.","hide-password":"Passwort verbergen",info:"Hinweis","kolibri-logo":"Logo von KoliBri","live-value":"{{value}} {{unit}}","live-value-bounded":"{{value}} von {{max}} {{unit}}",message:"Nachricht","meter-state-critical":"Kritisch","meter-state-optimum":"Optimal","meter-state-suboptimal":"Suboptimal","nav-maximize":"Navigation maximieren","nav-minimize":"Navigation minimieren",new:"Neu","no-entries":"Es sind keine Einträge vorhanden.","no-results-message":"Keine Ergebnisse gefunden.","open-link-in-tab":"Öffnet in neuem Tab.",page:"Seite","page-back":"Eine Seite zurück","page-first":"Direkt zur ersten Seite","page-last":"Direkt zur letzten Seite","page-next":"Eine Seite weiter",pagination:"Paginierung","pagination-position-bottom":"unten","pagination-position-top":"oben",progress:"Fortschritt",readonly:"schreibgeschützt","show-password":"Passwort einblenden","show-suggestions":"Vorschläge anzeigen",sort:"sortieren","split-button-dropdown-label-open":"Optionen anzeigen",success:"Erfolg","table-data-loading":"Daten für Tabelle {{caption}} werden geladen.","table-data-loaded":"Daten für Tabelle {{caption}} wurden geladen.","table-pagination-label":"Paginierung für die Tabelle {{label}}","table-selection":"Auswahl","table-selection-all":"Alle auswählen","table-selection-indeterminate":"Alle auswählen bei teilweiser Auswahl","table-selection-none":"Alle abwählen","table-settings":"Tabellenkonfiguration","table-settings-apply":"Übernehmen","table-settings-cancel":"Abbrechen","table-settings-column-hidable":'Spalte "{{column}}" ausblenden.',"table-settings-column-not-hidable":'Spalte "{{column}}" kann nicht ausgeblendet werden.',"table-settings-column-width":'Breite von Spalte "{{column}}" in Pixel.',"table-settings-error-all-invisible":"Mindestens eine Spalte muss sichtbar sein.","table-settings-move-down":'Spalte "{{column}}" nach unten verschieben.',"table-settings-move-up":'Spalte "{{column}}" nach oben verschieben.',"table-settings-not-move":'Spalte "{{column}}" kann nicht verschoben werden.',"table-sort-order":"Priorität {{order}}","table-visible-range":"Einträge {{start}} bis {{end}} von {{total}}","toast-close-all":"Alle Benachrichtigungen schließen",version:"Versionsnummer",warning:"Warnung"},t={"action-done":"Action done","action-running":"Action is running...","avatar-alt":"Avatar of {{name}}","character-counter-current":"{{current}} characters","character-counter-current-of-max":"{{current}}/{{max}} characters","character-counter-current-of-max-aria":"{{current}} of {{max}} characters","character-counter-max-aria":"Character limit reached!","character-limit-exceeded":"You have {{over}} characters too many.","character-limit-hint":"You can enter up to {{limit}} characters","character-limit-remaining":"You have {{remaining}} characters remaining.","clear-search":"Clear search",close:"Close","close-alert":"Close notification","data-browse-text":"Browse","delete-selection":"Delete selection","entries-per-site":"Entries per page",error:"Error","error-list":"Error list","error-list-message":"Please correct the following errors","filename-text":"Choose a file or drop it here...","form-description":"Form fields marked with an asterisk (*) are mandatory.","hide-password":"Hide password",info:"Note","kolibri-logo":"KoliBri logo","live-value":"{{value}} {{unit}}","live-value-bounded":"{{value}} of {{max}} {{unit}}",message:"Message","meter-state-critical":"Critical","meter-state-optimum":"Optimum","meter-state-suboptimal":"Suboptimal","nav-maximize":"Maximize navigation","nav-minimize":"Minimize navigation",new:"New","no-entries":"No entries available.","no-results-message":"No results found.","open-link-in-tab":"Opens in new tab.",page:"Page","page-back":"One page back","page-first":"Directly to the first page","page-last":"Directly to the last page","page-next":"One page further",pagination:"Pagination","pagination-position-bottom":"bottom","pagination-position-top":"top",progress:"Progress",readonly:"read-only","show-password":"Show password","show-suggestions":"Show suggestions",sort:"sort","split-button-dropdown-label-open":"Show options",success:"Success","table-data-loading":"Data in table {{caption}} is loading.","table-data-loaded":"Data in table {{caption}} got loaded.","table-pagination-label":"Pagination for table {{label}}","table-selection":"Selection","table-selection-all":"Select all","table-selection-indeterminate":"Select all with partial selection","table-selection-none":"Deselect all","table-settings":"Table configuration","table-settings-apply":"Apply","table-settings-cancel":"Cancel","table-settings-column-hidable":'Hide column "{{column}}".',"table-settings-column-not-hidable":'Column "{{column}}" cannot be hidden.',"table-settings-column-width":'Width of column "{{column}}" in pixel.',"table-settings-error-all-invisible":"At least one column must be visible.","table-settings-move-down":'Move column "{{column}}" down.',"table-settings-move-up":'Move column "{{column}}" up.',"table-settings-not-move":'Column "{{column}}" cannot be moved.',"table-sort-order":"Priority {{order}}","table-visible-range":"Entries {{start}} to {{end}} of {{total}}","toast-close-all":"Close all notifications",version:"Version number",warning:"Warning"};const n=e=>Object.keys(e).reduce(((t,n)=>(t[`kol-${n}`]=e[n],t)),{}),a=new Set([e=>e("en",n(t)),t=>t("de",n(e))]);class i{constructor(e){this.resourceMap=new Map,this.language=null!=e?e:"de"}addTranslations(e){Array.isArray(e)?e=new Set(e):"function"==typeof e&&(e=new Set([e])),void 0!==e&&e.forEach((e=>e(((e,t)=>{let n=this.resourceMap.get(e);return n||(n=new Map,this.resourceMap.set(e,n)),Object.entries(t).forEach((([e,t])=>{t&&n.set(e,t)})),e}))))}setLanguage(e){this.language=e}translate(e,t){var n;let a=null===(n=this.resourceMap.get(this.language))||void 0===n?void 0:n.get(e);return a?(null==t?void 0:t.placeholders)&&Object.entries(t.placeholders).forEach((([e,t])=>{var n;n=t,a=a.split(`{{${e}}}`).join(n)})):a=e,a}}let r;const o=()=>r,l=(e,t)=>(r=new i(e),r.addTranslations(a),r.addTranslations(t),r);export{o as g,l as i}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{c as o,b as s}from"./props-from-config-LBgEHmcL.js";const r=o("id","",s);export{r as i}