@public-ui/components 1.5.0-rc.0 → 1.5.0-rc.10

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 (846) hide show
  1. package/README.md +7 -0
  2. package/cheat-sheet.html +89 -50
  3. package/custom-elements.json +225 -3052
  4. package/dist/cjs/a11y.tipps-6f0ad06e.js +4 -0
  5. package/dist/cjs/a11y.tipps-6f0ad06e.js.map +1 -0
  6. package/dist/cjs/app-globals-0cf91d90.js +4 -0
  7. package/dist/cjs/app-globals-0cf91d90.js.map +1 -0
  8. package/dist/cjs/{button-link-d6b0f982.js → button-link-19d8a9a8.js} +1 -1
  9. package/dist/cjs/button-link-19d8a9a8.js.map +1 -0
  10. package/dist/cjs/{controller-12cc1062.js → controller-62ae6225.js} +1 -1
  11. package/dist/cjs/{controller-12cc1062.js.map → controller-62ae6225.js.map} +1 -1
  12. package/dist/cjs/{controller-29a631b7.js → controller-71401c06.js} +1 -1
  13. package/dist/cjs/controller-71401c06.js.map +1 -0
  14. package/dist/cjs/{controller-56acda6c.js → controller-77bc2bc9.js} +1 -1
  15. package/dist/cjs/controller-77bc2bc9.js.map +1 -0
  16. package/dist/cjs/controller-a753291e.js +4 -0
  17. package/dist/cjs/controller-a753291e.js.map +1 -0
  18. package/dist/cjs/{controller-f59ad664.js → controller-b735b7ea.js} +1 -1
  19. package/dist/cjs/controller-b735b7ea.js.map +1 -0
  20. package/dist/cjs/controller-c3d640d1.js +4 -0
  21. package/dist/cjs/controller-c3d640d1.js.map +1 -0
  22. package/dist/cjs/{controller-icon-a83b2341.js → controller-icon-463f2b9e.js} +1 -1
  23. package/dist/cjs/controller-icon-463f2b9e.js.map +1 -0
  24. package/dist/cjs/{dev.utils-7123fb34.js → dev.utils-d69c0a9f.js} +1 -1
  25. package/dist/cjs/{dev.utils-7123fb34.js.map → dev.utils-d69c0a9f.js.map} +1 -1
  26. package/dist/cjs/{devtools-5d189f65.js → devtools-98551855.js} +1 -1
  27. package/dist/cjs/{devtools-5d189f65.js.map → devtools-98551855.js.map} +1 -1
  28. package/dist/cjs/i18n-32046f50.js +4 -0
  29. package/dist/cjs/i18n-32046f50.js.map +1 -0
  30. package/dist/cjs/icon-71b1bd66.js +4 -0
  31. package/dist/cjs/icon-71b1bd66.js.map +1 -0
  32. package/dist/cjs/index-29c5d3c6.js.map +1 -1
  33. package/dist/cjs/index-a96d7f87.js +4 -0
  34. package/dist/cjs/index-a96d7f87.js.map +1 -0
  35. package/dist/cjs/index-eb52922f.js +4 -0
  36. package/dist/cjs/index-eb52922f.js.map +1 -0
  37. package/dist/cjs/index.cjs.js +1 -1
  38. package/dist/cjs/index.cjs.js.map +1 -1
  39. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  40. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  41. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  42. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  43. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  44. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  45. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  46. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  47. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  49. package/dist/cjs/kol-button-group-wc.cjs.entry.js.map +1 -1
  50. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  51. package/dist/cjs/kol-button-group.cjs.entry.js.map +1 -1
  52. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  53. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  54. package/dist/cjs/kol-button-wc_2.cjs.entry.js +1 -1
  55. package/dist/cjs/kol-button-wc_2.cjs.entry.js.map +1 -1
  56. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  58. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  59. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  60. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  61. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  62. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
  64. package/dist/cjs/kol-heading-wc_2.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-heading-wc_2.cjs.entry.js.map +1 -1
  66. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  68. package/dist/cjs/kol-icon-font-awesome.cjs.entry.js.map +1 -1
  69. package/dist/cjs/kol-icon-icofont.cjs.entry.js.map +1 -1
  70. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-icon.cjs.entry.js.map +1 -1
  72. package/dist/cjs/kol-image.cjs.entry.js +4 -0
  73. package/dist/cjs/kol-image.cjs.entry.js.map +1 -0
  74. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-indented-text.cjs.entry.js.map +1 -1
  76. package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  79. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  81. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  83. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  85. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  87. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  89. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  91. package/dist/cjs/kol-input-radio-group.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  94. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  96. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  98. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  100. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  101. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  102. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-link-group.cjs.entry.js.map +1 -1
  104. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  106. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  108. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  109. package/dist/cjs/kol-logo.cjs.entry.js.map +1 -1
  110. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  111. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  112. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  113. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  114. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  116. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  117. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  118. package/dist/cjs/kol-quote.cjs.entry.js +4 -0
  119. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -0
  120. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  121. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  122. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
  124. package/dist/cjs/kol-span.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-span.cjs.entry.js.map +1 -1
  126. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  128. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-symbol.cjs.entry.js.map +1 -1
  130. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-table.cjs.entry.js.map +1 -1
  132. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  134. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  135. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  136. package/dist/cjs/kol-toast.cjs.entry.js +1 -1
  137. package/dist/cjs/kol-toast.cjs.entry.js.map +1 -1
  138. package/dist/cjs/kol-tooltip.cjs.entry.js +1 -1
  139. package/dist/cjs/kol-tooltip.cjs.entry.js.map +1 -1
  140. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  141. package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
  142. package/dist/cjs/kolibri.cjs.js +1 -1
  143. package/dist/cjs/kolibri.cjs.js.map +1 -1
  144. package/dist/cjs/label-dc5092d3.js +4 -0
  145. package/dist/cjs/label-dc5092d3.js.map +1 -0
  146. package/dist/cjs/loader.cjs.js +1 -1
  147. package/dist/cjs/loader.cjs.js.map +1 -1
  148. package/dist/cjs/prop.validators-dd1f7878.js +4 -0
  149. package/dist/cjs/prop.validators-dd1f7878.js.map +1 -0
  150. package/dist/cjs/reuse-0fe7470f.js +4 -0
  151. package/dist/cjs/{reuse-bbd0b4e7.js.map → reuse-0fe7470f.js.map} +1 -1
  152. package/dist/cjs/{tab-index-4fa42b34.js → tab-index-7bf0cb35.js} +1 -1
  153. package/dist/cjs/{tab-index-4fa42b34.js.map → tab-index-7bf0cb35.js.map} +1 -1
  154. package/dist/cjs/{validation-c45379a1.js → validation-60fd00e2.js} +1 -1
  155. package/dist/cjs/validation-60fd00e2.js.map +1 -0
  156. package/dist/cjs/{validation-1d6b9712.js → validation-b38b683c.js} +1 -1
  157. package/dist/cjs/{validation-1d6b9712.js.map → validation-b38b683c.js.map} +1 -1
  158. package/dist/components/component.js +1 -1
  159. package/dist/components/component.js.map +1 -1
  160. package/dist/components/component10.js +1 -1
  161. package/dist/components/component10.js.map +1 -1
  162. package/dist/components/component11.js +1 -1
  163. package/dist/components/component11.js.map +1 -1
  164. package/dist/components/component12.js +1 -1
  165. package/dist/components/component12.js.map +1 -1
  166. package/dist/components/component13.js +1 -1
  167. package/dist/components/component13.js.map +1 -1
  168. package/dist/components/component2.js +1 -1
  169. package/dist/components/component2.js.map +1 -1
  170. package/dist/components/component3.js +1 -1
  171. package/dist/components/component3.js.map +1 -1
  172. package/dist/components/component4.js +1 -1
  173. package/dist/components/component4.js.map +1 -1
  174. package/dist/components/component5.js +1 -1
  175. package/dist/components/component5.js.map +1 -1
  176. package/dist/components/component6.js +1 -1
  177. package/dist/components/component6.js.map +1 -1
  178. package/dist/components/component7.js.map +1 -1
  179. package/dist/components/component8.js +1 -1
  180. package/dist/components/component8.js.map +1 -1
  181. package/dist/components/component9.js +1 -1
  182. package/dist/components/component9.js.map +1 -1
  183. package/dist/components/controller-icon.js +1 -1
  184. package/dist/components/controller-icon.js.map +1 -1
  185. package/dist/components/controller.js +1 -1
  186. package/dist/components/controller.js.map +1 -1
  187. package/dist/components/controller2.js +1 -1
  188. package/dist/components/controller2.js.map +1 -1
  189. package/dist/components/controller3.js.map +1 -1
  190. package/dist/components/controller4.js +1 -1
  191. package/dist/components/controller4.js.map +1 -1
  192. package/dist/components/devtools.js +1 -1
  193. package/dist/components/i18n.js +1 -1
  194. package/dist/components/i18n.js.map +1 -1
  195. package/dist/components/index.js +1 -1
  196. package/dist/components/index.js.map +1 -1
  197. package/dist/components/kol-abbr.js +1 -1
  198. package/dist/components/kol-abbr.js.map +1 -1
  199. package/dist/components/kol-accordion.js +1 -1
  200. package/dist/components/kol-accordion.js.map +1 -1
  201. package/dist/components/kol-breadcrumb.js +1 -1
  202. package/dist/components/kol-breadcrumb.js.map +1 -1
  203. package/dist/components/kol-button-group.js +1 -1
  204. package/dist/components/kol-button-group.js.map +1 -1
  205. package/dist/components/kol-button-link.js +1 -1
  206. package/dist/components/kol-button-link.js.map +1 -1
  207. package/dist/components/kol-card.js +1 -1
  208. package/dist/components/kol-card.js.map +1 -1
  209. package/dist/components/kol-details.js +1 -1
  210. package/dist/components/kol-details.js.map +1 -1
  211. package/dist/components/kol-form.js +1 -1
  212. package/dist/components/kol-form.js.map +1 -1
  213. package/dist/components/kol-heading.js +1 -1
  214. package/dist/components/kol-heading.js.map +1 -1
  215. package/dist/components/kol-icon-font-awesome.js.map +1 -1
  216. package/dist/components/kol-icon-icofont.js.map +1 -1
  217. package/dist/components/kol-image.d.ts +11 -0
  218. package/dist/components/kol-image.js +4 -0
  219. package/dist/components/kol-image.js.map +1 -0
  220. package/dist/components/kol-input-adapter-leanup.js +1 -1
  221. package/dist/components/kol-input-checkbox.js +1 -1
  222. package/dist/components/kol-input-checkbox.js.map +1 -1
  223. package/dist/components/kol-input-color.js +1 -1
  224. package/dist/components/kol-input-color.js.map +1 -1
  225. package/dist/components/kol-input-date.js +1 -1
  226. package/dist/components/kol-input-date.js.map +1 -1
  227. package/dist/components/kol-input-email.js +1 -1
  228. package/dist/components/kol-input-email.js.map +1 -1
  229. package/dist/components/kol-input-file.js +1 -1
  230. package/dist/components/kol-input-file.js.map +1 -1
  231. package/dist/components/kol-input-password.js +1 -1
  232. package/dist/components/kol-input-password.js.map +1 -1
  233. package/dist/components/kol-input-radio-group.js +1 -1
  234. package/dist/components/kol-input-range.js +1 -1
  235. package/dist/components/kol-input-range.js.map +1 -1
  236. package/dist/components/kol-input-text.js +1 -1
  237. package/dist/components/kol-input-text.js.map +1 -1
  238. package/dist/components/kol-kolibri.js +1 -1
  239. package/dist/components/kol-kolibri.js.map +1 -1
  240. package/dist/components/kol-link-button.js +1 -1
  241. package/dist/components/kol-link-button.js.map +1 -1
  242. package/dist/components/kol-link-group.js +1 -1
  243. package/dist/components/kol-link-group.js.map +1 -1
  244. package/dist/components/kol-logo.js +1 -1
  245. package/dist/components/kol-logo.js.map +1 -1
  246. package/dist/components/kol-modal.js +1 -1
  247. package/dist/components/kol-modal.js.map +1 -1
  248. package/dist/components/kol-nav.js +1 -1
  249. package/dist/components/kol-nav.js.map +1 -1
  250. package/dist/components/kol-progress.js +1 -1
  251. package/dist/components/kol-progress.js.map +1 -1
  252. package/dist/components/kol-quote.d.ts +11 -0
  253. package/dist/components/kol-quote.js +4 -0
  254. package/dist/components/kol-quote.js.map +1 -0
  255. package/dist/components/kol-skip-nav.js +1 -1
  256. package/dist/components/kol-skip-nav.js.map +1 -1
  257. package/dist/components/kol-span.js +1 -1
  258. package/dist/components/kol-span.js.map +1 -1
  259. package/dist/components/kol-spin.js +1 -1
  260. package/dist/components/kol-spin.js.map +1 -1
  261. package/dist/components/kol-symbol.js +1 -1
  262. package/dist/components/kol-symbol.js.map +1 -1
  263. package/dist/components/kol-table.js +1 -1
  264. package/dist/components/kol-table.js.map +1 -1
  265. package/dist/components/kol-tabs.js +1 -1
  266. package/dist/components/kol-tabs.js.map +1 -1
  267. package/dist/components/kol-textarea.js +1 -1
  268. package/dist/components/kol-textarea.js.map +1 -1
  269. package/dist/components/kol-toast.js +1 -1
  270. package/dist/components/kol-toast.js.map +1 -1
  271. package/dist/components/kol-version.js +1 -1
  272. package/dist/components/kol-version.js.map +1 -1
  273. package/dist/components/prop.validators.js +1 -1
  274. package/dist/components/prop.validators.js.map +1 -1
  275. package/dist/components/shadow.js +1 -1
  276. package/dist/components/shadow.js.map +1 -1
  277. package/dist/components/shadow2.js +1 -1
  278. package/dist/components/shadow2.js.map +1 -1
  279. package/dist/components/validation.js.map +1 -1
  280. package/dist/esm/a11y.tipps-1cea9822.js +4 -0
  281. package/dist/esm/a11y.tipps-1cea9822.js.map +1 -0
  282. package/dist/esm/app-globals-84870228.js +4 -0
  283. package/dist/esm/app-globals-84870228.js.map +1 -0
  284. package/dist/esm/{button-link-b0ebacde.js → button-link-0f3cba87.js} +1 -1
  285. package/dist/esm/button-link-0f3cba87.js.map +1 -0
  286. package/dist/esm/{controller-8f60f862.js → controller-0b0c0e12.js} +1 -1
  287. package/dist/esm/{controller-8f60f862.js.map → controller-0b0c0e12.js.map} +1 -1
  288. package/dist/esm/{controller-7cf89ed4.js → controller-16584de7.js} +1 -1
  289. package/dist/esm/controller-16584de7.js.map +1 -0
  290. package/dist/esm/controller-6ae13480.js +4 -0
  291. package/dist/esm/controller-6ae13480.js.map +1 -0
  292. package/dist/esm/controller-873db1b1.js +4 -0
  293. package/dist/esm/controller-873db1b1.js.map +1 -0
  294. package/dist/esm/{controller-3489e5a5.js → controller-a01956a8.js} +1 -1
  295. package/dist/esm/controller-a01956a8.js.map +1 -0
  296. package/dist/esm/{controller-78f90d62.js → controller-ca552edd.js} +1 -1
  297. package/dist/esm/controller-ca552edd.js.map +1 -0
  298. package/dist/esm/{controller-icon-4875e055.js → controller-icon-c80da88f.js} +1 -1
  299. package/dist/esm/controller-icon-c80da88f.js.map +1 -0
  300. package/dist/esm/{dev.utils-05f4e663.js → dev.utils-157f0499.js} +1 -1
  301. package/dist/esm/{dev.utils-05f4e663.js.map → dev.utils-157f0499.js.map} +1 -1
  302. package/dist/esm/{devtools-86cb24d9.js → devtools-cb70c2f9.js} +1 -1
  303. package/dist/esm/{devtools-86cb24d9.js.map → devtools-cb70c2f9.js.map} +1 -1
  304. package/dist/esm/i18n-c97dc260.js +4 -0
  305. package/dist/esm/i18n-c97dc260.js.map +1 -0
  306. package/dist/esm/icon-00018c54.js +4 -0
  307. package/dist/esm/icon-00018c54.js.map +1 -0
  308. package/dist/esm/index-50adf9a0.js.map +1 -1
  309. package/dist/esm/index-81bd9b41.js +4 -0
  310. package/dist/esm/index-81bd9b41.js.map +1 -0
  311. package/dist/esm/index-a007a589.js +4 -0
  312. package/dist/esm/index-a007a589.js.map +1 -0
  313. package/dist/esm/index.js +1 -1
  314. package/dist/esm/index.js.map +1 -1
  315. package/dist/esm/kol-abbr.entry.js +1 -1
  316. package/dist/esm/kol-abbr.entry.js.map +1 -1
  317. package/dist/esm/kol-accordion.entry.js +1 -1
  318. package/dist/esm/kol-accordion.entry.js.map +1 -1
  319. package/dist/esm/kol-alert.entry.js +1 -1
  320. package/dist/esm/kol-alert.entry.js.map +1 -1
  321. package/dist/esm/kol-badge.entry.js +1 -1
  322. package/dist/esm/kol-badge.entry.js.map +1 -1
  323. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  324. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  325. package/dist/esm/kol-button-group-wc.entry.js.map +1 -1
  326. package/dist/esm/kol-button-group.entry.js +1 -1
  327. package/dist/esm/kol-button-group.entry.js.map +1 -1
  328. package/dist/esm/kol-button-link.entry.js +1 -1
  329. package/dist/esm/kol-button-link.entry.js.map +1 -1
  330. package/dist/esm/kol-button-wc_2.entry.js +1 -1
  331. package/dist/esm/kol-button-wc_2.entry.js.map +1 -1
  332. package/dist/esm/kol-button.entry.js +1 -1
  333. package/dist/esm/kol-button.entry.js.map +1 -1
  334. package/dist/esm/kol-card.entry.js +1 -1
  335. package/dist/esm/kol-card.entry.js.map +1 -1
  336. package/dist/esm/kol-details.entry.js +1 -1
  337. package/dist/esm/kol-details.entry.js.map +1 -1
  338. package/dist/esm/kol-form.entry.js +1 -1
  339. package/dist/esm/kol-form.entry.js.map +1 -1
  340. package/dist/esm/kol-heading-wc_2.entry.js +1 -1
  341. package/dist/esm/kol-heading-wc_2.entry.js.map +1 -1
  342. package/dist/esm/kol-heading.entry.js +1 -1
  343. package/dist/esm/kol-heading.entry.js.map +1 -1
  344. package/dist/esm/kol-icon-font-awesome.entry.js.map +1 -1
  345. package/dist/esm/kol-icon-icofont.entry.js.map +1 -1
  346. package/dist/esm/kol-icon.entry.js +1 -1
  347. package/dist/esm/kol-icon.entry.js.map +1 -1
  348. package/dist/esm/kol-image.entry.js +4 -0
  349. package/dist/esm/kol-image.entry.js.map +1 -0
  350. package/dist/esm/kol-indented-text.entry.js +1 -1
  351. package/dist/esm/kol-indented-text.entry.js.map +1 -1
  352. package/dist/esm/kol-input-adapter-leanup.entry.js +1 -1
  353. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  354. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  355. package/dist/esm/kol-input-color.entry.js +1 -1
  356. package/dist/esm/kol-input-color.entry.js.map +1 -1
  357. package/dist/esm/kol-input-date.entry.js +1 -1
  358. package/dist/esm/kol-input-date.entry.js.map +1 -1
  359. package/dist/esm/kol-input-email.entry.js +1 -1
  360. package/dist/esm/kol-input-email.entry.js.map +1 -1
  361. package/dist/esm/kol-input-file.entry.js +1 -1
  362. package/dist/esm/kol-input-file.entry.js.map +1 -1
  363. package/dist/esm/kol-input-number.entry.js +1 -1
  364. package/dist/esm/kol-input-number.entry.js.map +1 -1
  365. package/dist/esm/kol-input-password.entry.js +1 -1
  366. package/dist/esm/kol-input-password.entry.js.map +1 -1
  367. package/dist/esm/kol-input-radio-group.entry.js +1 -1
  368. package/dist/esm/kol-input-radio.entry.js +1 -1
  369. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  370. package/dist/esm/kol-input-range.entry.js +1 -1
  371. package/dist/esm/kol-input-range.entry.js.map +1 -1
  372. package/dist/esm/kol-input-text.entry.js +1 -1
  373. package/dist/esm/kol-input-text.entry.js.map +1 -1
  374. package/dist/esm/kol-kolibri.entry.js +1 -1
  375. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  376. package/dist/esm/kol-link-button.entry.js +1 -1
  377. package/dist/esm/kol-link-button.entry.js.map +1 -1
  378. package/dist/esm/kol-link-group.entry.js +1 -1
  379. package/dist/esm/kol-link-group.entry.js.map +1 -1
  380. package/dist/esm/kol-link-wc.entry.js +1 -1
  381. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  382. package/dist/esm/kol-link.entry.js +1 -1
  383. package/dist/esm/kol-link.entry.js.map +1 -1
  384. package/dist/esm/kol-logo.entry.js +1 -1
  385. package/dist/esm/kol-logo.entry.js.map +1 -1
  386. package/dist/esm/kol-modal.entry.js +1 -1
  387. package/dist/esm/kol-modal.entry.js.map +1 -1
  388. package/dist/esm/kol-nav.entry.js +1 -1
  389. package/dist/esm/kol-nav.entry.js.map +1 -1
  390. package/dist/esm/kol-pagination.entry.js +1 -1
  391. package/dist/esm/kol-pagination.entry.js.map +1 -1
  392. package/dist/esm/kol-progress.entry.js +1 -1
  393. package/dist/esm/kol-progress.entry.js.map +1 -1
  394. package/dist/esm/kol-quote.entry.js +4 -0
  395. package/dist/esm/kol-quote.entry.js.map +1 -0
  396. package/dist/esm/kol-select.entry.js +1 -1
  397. package/dist/esm/kol-select.entry.js.map +1 -1
  398. package/dist/esm/kol-skip-nav.entry.js +1 -1
  399. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  400. package/dist/esm/kol-span.entry.js +1 -1
  401. package/dist/esm/kol-span.entry.js.map +1 -1
  402. package/dist/esm/kol-spin.entry.js +1 -1
  403. package/dist/esm/kol-spin.entry.js.map +1 -1
  404. package/dist/esm/kol-symbol.entry.js +1 -1
  405. package/dist/esm/kol-symbol.entry.js.map +1 -1
  406. package/dist/esm/kol-table.entry.js +1 -1
  407. package/dist/esm/kol-table.entry.js.map +1 -1
  408. package/dist/esm/kol-tabs.entry.js +1 -1
  409. package/dist/esm/kol-tabs.entry.js.map +1 -1
  410. package/dist/esm/kol-textarea.entry.js +1 -1
  411. package/dist/esm/kol-textarea.entry.js.map +1 -1
  412. package/dist/esm/kol-toast.entry.js +1 -1
  413. package/dist/esm/kol-toast.entry.js.map +1 -1
  414. package/dist/esm/kol-tooltip.entry.js +1 -1
  415. package/dist/esm/kol-tooltip.entry.js.map +1 -1
  416. package/dist/esm/kol-version.entry.js +1 -1
  417. package/dist/esm/kol-version.entry.js.map +1 -1
  418. package/dist/esm/kolibri.js +1 -1
  419. package/dist/esm/kolibri.js.map +1 -1
  420. package/dist/esm/label-d51b1a57.js +4 -0
  421. package/dist/esm/label-d51b1a57.js.map +1 -0
  422. package/dist/esm/loader.js +1 -1
  423. package/dist/esm/loader.js.map +1 -1
  424. package/dist/esm/prop.validators-e402ad49.js +4 -0
  425. package/dist/esm/prop.validators-e402ad49.js.map +1 -0
  426. package/dist/esm/{reuse-56bb5a4b.js → reuse-3a02afb9.js} +1 -1
  427. package/dist/esm/{reuse-56bb5a4b.js.map → reuse-3a02afb9.js.map} +1 -1
  428. package/dist/esm/{tab-index-068270b7.js → tab-index-63d1379d.js} +1 -1
  429. package/dist/esm/{tab-index-068270b7.js.map → tab-index-63d1379d.js.map} +1 -1
  430. package/dist/esm/validation-ab9a6c0d.js +4 -0
  431. package/dist/esm/validation-ab9a6c0d.js.map +1 -0
  432. package/dist/esm/{validation-fdaf7554.js → validation-b331e3a7.js} +1 -1
  433. package/dist/esm/{validation-fdaf7554.js.map → validation-b331e3a7.js.map} +1 -1
  434. package/dist/kolibri/a11y.tipps-1cea9822.js +4 -0
  435. package/dist/kolibri/a11y.tipps-1cea9822.js.map +1 -0
  436. package/dist/kolibri/app-globals-84870228.js +4 -0
  437. package/dist/kolibri/app-globals-84870228.js.map +1 -0
  438. package/dist/kolibri/assets/bpa-icons/bpa-icons.eot +0 -0
  439. package/dist/kolibri/assets/bpa-icons/bpa-icons.json +1115 -0
  440. package/dist/kolibri/assets/bpa-icons/bpa-icons.svg +432 -0
  441. package/dist/kolibri/assets/bpa-icons/bpa-icons.symbol.svg +1449 -0
  442. package/dist/kolibri/assets/bpa-icons/bpa-icons.ttf +0 -0
  443. package/dist/kolibri/assets/bpa-icons/bpa-icons.woff +0 -0
  444. package/dist/kolibri/assets/bpa-icons/bpa-icons.woff2 +0 -0
  445. package/dist/kolibri/assets/bpa-icons/style.css +159 -0
  446. package/dist/kolibri/assets/bpa-icons/style.less +157 -0
  447. package/dist/kolibri/assets/bpa-icons/style.module.less +160 -0
  448. package/dist/kolibri/assets/bpa-icons/style.scss +299 -0
  449. package/dist/kolibri/assets/bpa-icons/style.styl +157 -0
  450. package/dist/kolibri/assets/codicons/LICENSE +395 -0
  451. package/dist/kolibri/assets/codicons/LICENSE-CODE +21 -0
  452. package/dist/kolibri/assets/codicons/codicon.css +19 -1
  453. package/dist/kolibri/assets/codicons/codicon.csv +14 -1
  454. package/dist/kolibri/assets/codicons/codicon.html +112 -8
  455. package/dist/kolibri/assets/codicons/codicon.svg +1 -1
  456. package/dist/kolibri/assets/codicons/codicon.ttf +0 -0
  457. package/dist/kolibri/assets/images/abgrenzung.jpg +0 -0
  458. package/dist/kolibri/assets/modal-simulation.js +1 -1
  459. package/dist/kolibri/assets/nav-simulation.js +1 -1
  460. package/dist/kolibri/assets/progress-simulation.js +1 -1
  461. package/dist/kolibri/assets/smart-button-simulation.js +1 -1
  462. package/dist/kolibri/assets/style.css +40 -12
  463. package/dist/kolibri/assets/table-simulation.js +1 -1
  464. package/dist/kolibri/assets/tabler-icons/fonts/tabler-icons.eot +0 -0
  465. package/dist/kolibri/assets/tabler-icons/fonts/tabler-icons.ttf +0 -0
  466. package/dist/kolibri/assets/tabler-icons/fonts/tabler-icons.woff +0 -0
  467. package/dist/kolibri/assets/tabler-icons/fonts/tabler-icons.woff2 +0 -0
  468. package/dist/kolibri/assets/tabler-icons/tabler-icons.css +16057 -0
  469. package/dist/kolibri/assets/tabler-icons/tabler-icons.html +36226 -0
  470. package/dist/kolibri/assets/tabler-icons/tabler-icons.min.css +4 -0
  471. package/dist/kolibri/assets/tabler-icons/tabler-icons.png +0 -0
  472. package/dist/kolibri/assets/tabler-icons/tabler-icons.scss +8058 -0
  473. package/dist/kolibri/assets/toast-simulation.js +1 -1
  474. package/dist/kolibri/assets/tooltip-simulation.js +1 -0
  475. package/dist/kolibri/{button-link-b0ebacde.js → button-link-0f3cba87.js} +1 -1
  476. package/dist/kolibri/button-link-0f3cba87.js.map +1 -0
  477. package/dist/kolibri/controller-0b0c0e12.js +4 -0
  478. package/dist/kolibri/controller-16584de7.js +4 -0
  479. package/dist/kolibri/controller-16584de7.js.map +1 -0
  480. package/dist/kolibri/controller-6ae13480.js +4 -0
  481. package/dist/kolibri/controller-6ae13480.js.map +1 -0
  482. package/dist/kolibri/{controller-e3c820af.js → controller-873db1b1.js} +1 -1
  483. package/dist/kolibri/controller-873db1b1.js.map +1 -0
  484. package/dist/kolibri/{controller-3489e5a5.js → controller-a01956a8.js} +1 -1
  485. package/dist/kolibri/controller-a01956a8.js.map +1 -0
  486. package/dist/kolibri/{controller-78f90d62.js → controller-ca552edd.js} +1 -1
  487. package/dist/kolibri/controller-ca552edd.js.map +1 -0
  488. package/dist/kolibri/{controller-icon-4875e055.js → controller-icon-c80da88f.js} +1 -1
  489. package/dist/kolibri/controller-icon-c80da88f.js.map +1 -0
  490. package/dist/kolibri/{dev.utils-05f4e663.js → dev.utils-157f0499.js} +1 -1
  491. package/dist/kolibri/dev.utils-157f0499.js.map +1 -0
  492. package/dist/kolibri/devtools-cb70c2f9.js +4 -0
  493. package/dist/kolibri/i18n-c97dc260.js +4 -0
  494. package/dist/kolibri/i18n-c97dc260.js.map +1 -0
  495. package/dist/kolibri/icon-00018c54.js +4 -0
  496. package/dist/kolibri/icon-00018c54.js.map +1 -0
  497. package/dist/kolibri/index-50adf9a0.js.map +1 -1
  498. package/dist/kolibri/index-81bd9b41.js +4 -0
  499. package/dist/kolibri/index-81bd9b41.js.map +1 -0
  500. package/dist/kolibri/index-a007a589.js +4 -0
  501. package/dist/kolibri/index-a007a589.js.map +1 -0
  502. package/dist/kolibri/index.esm.js +1 -1
  503. package/dist/kolibri/index.esm.js.map +1 -1
  504. package/dist/kolibri/kol-abbr.entry.js +1 -1
  505. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  506. package/dist/kolibri/kol-accordion.entry.js +1 -1
  507. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  508. package/dist/kolibri/kol-alert.entry.js +1 -1
  509. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  510. package/dist/kolibri/kol-badge.entry.js +1 -1
  511. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  512. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  513. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  514. package/dist/kolibri/kol-button-group-wc.entry.js.map +1 -1
  515. package/dist/kolibri/kol-button-group.entry.js +1 -1
  516. package/dist/kolibri/kol-button-group.entry.js.map +1 -1
  517. package/dist/kolibri/kol-button-link.entry.js +1 -1
  518. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  519. package/dist/kolibri/kol-button-wc_2.entry.js +1 -1
  520. package/dist/kolibri/kol-button-wc_2.entry.js.map +1 -1
  521. package/dist/kolibri/kol-button.entry.js +1 -1
  522. package/dist/kolibri/kol-button.entry.js.map +1 -1
  523. package/dist/kolibri/kol-card.entry.js +1 -1
  524. package/dist/kolibri/kol-card.entry.js.map +1 -1
  525. package/dist/kolibri/kol-details.entry.js +1 -1
  526. package/dist/kolibri/kol-details.entry.js.map +1 -1
  527. package/dist/kolibri/kol-form.entry.js +1 -1
  528. package/dist/kolibri/kol-form.entry.js.map +1 -1
  529. package/dist/kolibri/kol-heading-wc_2.entry.js +1 -1
  530. package/dist/kolibri/kol-heading-wc_2.entry.js.map +1 -1
  531. package/dist/kolibri/kol-heading.entry.js +1 -1
  532. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  533. package/dist/kolibri/kol-icon-font-awesome.entry.js.map +1 -1
  534. package/dist/kolibri/kol-icon-icofont.entry.js.map +1 -1
  535. package/dist/kolibri/kol-icon.entry.js +1 -1
  536. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  537. package/dist/kolibri/kol-image.entry.js +4 -0
  538. package/dist/kolibri/kol-image.entry.js.map +1 -0
  539. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  540. package/dist/kolibri/kol-indented-text.entry.js.map +1 -1
  541. package/dist/kolibri/kol-input-adapter-leanup.entry.js +1 -1
  542. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  543. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  544. package/dist/kolibri/kol-input-color.entry.js +1 -1
  545. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  546. package/dist/kolibri/kol-input-date.entry.js +1 -1
  547. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  548. package/dist/kolibri/kol-input-email.entry.js +1 -1
  549. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  550. package/dist/kolibri/kol-input-file.entry.js +1 -1
  551. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  552. package/dist/kolibri/kol-input-number.entry.js +1 -1
  553. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  554. package/dist/kolibri/kol-input-password.entry.js +1 -1
  555. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  556. package/dist/kolibri/kol-input-radio-group.entry.js +1 -1
  557. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  558. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  559. package/dist/kolibri/kol-input-range.entry.js +1 -1
  560. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  561. package/dist/kolibri/kol-input-text.entry.js +1 -1
  562. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  563. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  564. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  565. package/dist/kolibri/kol-link-button.entry.js +1 -1
  566. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  567. package/dist/kolibri/kol-link-group.entry.js +1 -1
  568. package/dist/kolibri/kol-link-group.entry.js.map +1 -1
  569. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  570. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  571. package/dist/kolibri/kol-link.entry.js +1 -1
  572. package/dist/kolibri/kol-link.entry.js.map +1 -1
  573. package/dist/kolibri/kol-logo.entry.js +1 -1
  574. package/dist/kolibri/kol-logo.entry.js.map +1 -1
  575. package/dist/kolibri/kol-modal.entry.js +1 -1
  576. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  577. package/dist/kolibri/kol-nav.entry.js +1 -1
  578. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  579. package/dist/kolibri/kol-pagination.entry.js +1 -1
  580. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  581. package/dist/kolibri/kol-progress.entry.js +1 -1
  582. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  583. package/dist/kolibri/kol-quote.entry.js +4 -0
  584. package/dist/kolibri/kol-quote.entry.js.map +1 -0
  585. package/dist/kolibri/kol-select.entry.js +1 -1
  586. package/dist/kolibri/kol-select.entry.js.map +1 -1
  587. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  588. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  589. package/dist/kolibri/kol-span.entry.js +1 -1
  590. package/dist/kolibri/kol-span.entry.js.map +1 -1
  591. package/dist/kolibri/kol-spin.entry.js +1 -1
  592. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  593. package/dist/kolibri/kol-symbol.entry.js +1 -1
  594. package/dist/kolibri/kol-symbol.entry.js.map +1 -1
  595. package/dist/kolibri/kol-table.entry.js +1 -1
  596. package/dist/kolibri/kol-table.entry.js.map +1 -1
  597. package/dist/kolibri/kol-tabs.entry.js +1 -1
  598. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  599. package/dist/kolibri/kol-textarea.entry.js +1 -1
  600. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  601. package/dist/kolibri/kol-toast.entry.js +1 -1
  602. package/dist/kolibri/kol-toast.entry.js.map +1 -1
  603. package/dist/kolibri/kol-tooltip.entry.js +1 -1
  604. package/dist/kolibri/kol-tooltip.entry.js.map +1 -1
  605. package/dist/kolibri/kol-version.entry.js +1 -1
  606. package/dist/kolibri/kol-version.entry.js.map +1 -1
  607. package/dist/kolibri/kolibri.esm.js +1 -1
  608. package/dist/kolibri/kolibri.esm.js.map +1 -1
  609. package/dist/kolibri/label-d51b1a57.js +4 -0
  610. package/dist/kolibri/label-d51b1a57.js.map +1 -0
  611. package/dist/kolibri/prop.validators-e402ad49.js +4 -0
  612. package/dist/kolibri/prop.validators-e402ad49.js.map +1 -0
  613. package/dist/kolibri/reuse-3a02afb9.js.map +1 -0
  614. package/dist/kolibri/tab-index-63d1379d.js +4 -0
  615. package/dist/kolibri/{tab-index-068270b7.js.map → tab-index-63d1379d.js.map} +1 -1
  616. package/dist/kolibri/validation-ab9a6c0d.js +4 -0
  617. package/dist/kolibri/validation-ab9a6c0d.js.map +1 -0
  618. package/dist/kolibri/{validation-fdaf7554.js → validation-b331e3a7.js} +1 -1
  619. package/dist/types/components/@deprecated/input/controller.d.ts +4 -0
  620. package/dist/types/components/abbr/component.d.ts +5 -16
  621. package/dist/types/components/abbr/test/html.mock.d.ts +1 -1
  622. package/dist/types/components/abbr/types.d.ts +14 -0
  623. package/dist/types/components/accordion/component.d.ts +2 -23
  624. package/dist/types/components/accordion/test/html.mock.d.ts +1 -1
  625. package/dist/types/components/accordion/types.d.ts +21 -0
  626. package/dist/types/components/alert/component.d.ts +2 -18
  627. package/dist/types/components/alert/test/html.mock.d.ts +1 -1
  628. package/dist/types/components/alert/types.d.ts +24 -0
  629. package/dist/types/components/breadcrumb/component.d.ts +5 -5
  630. package/dist/types/components/button/component.d.ts +6 -6
  631. package/dist/types/components/button/shadow.d.ts +4 -4
  632. package/dist/types/components/button/test/html.mock.d.ts +7 -0
  633. package/dist/types/components/button-link/component.d.ts +3 -3
  634. package/dist/types/components/card/component.d.ts +2 -2
  635. package/dist/types/components/form/controller.d.ts +2 -2
  636. package/dist/types/components/heading/component.d.ts +15 -9
  637. package/dist/types/components/heading/shadow.d.ts +2 -2
  638. package/dist/types/components/icon/component.d.ts +1 -1
  639. package/dist/types/components/icon-icofont/component.d.ts +0 -1
  640. package/dist/types/components/image/shadow.d.ts +18 -0
  641. package/dist/types/components/image/test/html.mock.d.ts +2 -0
  642. package/dist/types/components/image/types.d.ts +22 -0
  643. package/dist/types/components/input/types.d.ts +2 -7
  644. package/dist/types/components/input-checkbox/component.d.ts +1 -1
  645. package/dist/types/components/input-checkbox/controller.d.ts +1 -1
  646. package/dist/types/components/input-checkbox/types.d.ts +5 -8
  647. package/dist/types/components/input-date/types.d.ts +1 -1
  648. package/dist/types/components/input-email/types.d.ts +3 -2
  649. package/dist/types/components/input-number/types.d.ts +1 -0
  650. package/dist/types/components/input-password/types.d.ts +1 -0
  651. package/dist/types/components/input-text/component.d.ts +1 -1
  652. package/dist/types/components/input-text/types.d.ts +1 -0
  653. package/dist/types/components/link/component.d.ts +6 -12
  654. package/dist/types/components/link/shadow.d.ts +4 -4
  655. package/dist/types/components/link-button/component.d.ts +5 -13
  656. package/dist/types/components/link-group/component.d.ts +7 -8
  657. package/dist/types/components/modal/component.d.ts +0 -4
  658. package/dist/types/components/nav/component.d.ts +19 -19
  659. package/dist/types/components/nav/validation.d.ts +3 -3
  660. package/dist/types/components/pagination/component.d.ts +9 -9
  661. package/dist/types/components/quote/shadow.d.ts +15 -0
  662. package/dist/types/components/quote/test/html.mock.d.ts +6 -0
  663. package/dist/types/components/quote/types.d.ts +22 -0
  664. package/dist/types/components/select/types.d.ts +1 -0
  665. package/dist/types/components/skip-nav/component.d.ts +5 -5
  666. package/dist/types/components/tabs/component.d.ts +6 -6
  667. package/dist/types/components/textarea/types.d.ts +5 -6
  668. package/dist/types/components/toast/component.d.ts +3 -4
  669. package/dist/types/components/toast/toaster.d.ts +1 -1
  670. package/dist/types/components/tooltip/component.d.ts +4 -4
  671. package/dist/types/components.d.ts +178 -78
  672. package/dist/types/core/index.d.ts +0 -1
  673. package/dist/types/global/script.d.ts +1 -1
  674. package/dist/types/i18n.d.ts +1 -1
  675. package/dist/types/index.d.ts +1 -1
  676. package/dist/types/schema/index.d.ts +1 -1
  677. package/dist/types/types/button-link-text.d.ts +30 -0
  678. package/dist/types/types/button-link.d.ts +28 -43
  679. package/dist/types/types/icon.d.ts +10 -32
  680. package/dist/types/types/props/adjust-height.d.ts +5 -0
  681. package/dist/types/types/props/alert.d.ts +5 -0
  682. package/dist/types/types/props/alignment.d.ts +1 -1
  683. package/dist/types/types/props/aria-current.d.ts +6 -0
  684. package/dist/types/types/props/aria-expanded.d.ts +5 -0
  685. package/dist/types/types/props/aria-selected.d.ts +5 -0
  686. package/dist/types/types/props/checked.d.ts +5 -0
  687. package/dist/types/types/props/collapsible.d.ts +5 -0
  688. package/dist/types/types/props/compact.d.ts +5 -0
  689. package/dist/types/types/props/disabled.d.ts +5 -0
  690. package/dist/types/types/props/has-closer.d.ts +5 -0
  691. package/dist/types/types/props/has-compact-button.d.ts +5 -0
  692. package/dist/types/types/props/has-counter.d.ts +5 -0
  693. package/dist/types/types/props/has-footer.d.ts +5 -0
  694. package/dist/types/types/props/hide-label.d.ts +5 -0
  695. package/dist/types/{utils/validators → types/props}/icon.d.ts +8 -4
  696. package/dist/types/types/props/indeterminate.d.ts +5 -0
  697. package/dist/types/types/props/index.d.ts +1 -0
  698. package/dist/types/{utils/validators → types/props}/label.d.ts +7 -3
  699. package/dist/types/types/props/multiple.d.ts +5 -0
  700. package/dist/types/types/props/open.d.ts +5 -0
  701. package/dist/types/types/props/read-only.d.ts +5 -0
  702. package/dist/types/types/props/required.d.ts +5 -0
  703. package/dist/types/types/props/show.d.ts +6 -0
  704. package/dist/types/types/props/stealth.d.ts +5 -0
  705. package/dist/types/types/props/touched.d.ts +5 -0
  706. package/dist/types/utils/a11y.tipps.d.ts +1 -0
  707. package/dist/types/utils/prop.validators.d.ts +3 -3
  708. package/dist/types/utils/reuse.d.ts +1 -1
  709. package/dist/types/utils/validators/alignment.d.ts +2 -2
  710. package/dist/types/utils/validators/loading.d.ts +3 -0
  711. package/doc/abbr.md +0 -23
  712. package/doc/accordion.md +8 -37
  713. package/doc/alert.md +0 -23
  714. package/doc/badge.md +7 -30
  715. package/doc/breadcrumb.md +4 -35
  716. package/doc/button-link.md +19 -42
  717. package/doc/button.md +27 -50
  718. package/doc/card.md +0 -30
  719. package/doc/components.md +3 -3
  720. package/doc/details.md +0 -23
  721. package/doc/heading.md +5 -5
  722. package/doc/icon-font-awesome.md +1 -1
  723. package/doc/icon-icofont.md +1 -1
  724. package/doc/icon.md +14 -9
  725. package/doc/image.md +60 -0
  726. package/doc/indented-text.md +0 -23
  727. package/doc/input-checkbox.md +0 -23
  728. package/doc/input-color.md +25 -48
  729. package/doc/input-date.md +24 -47
  730. package/doc/input-email.md +25 -48
  731. package/doc/input-file.md +19 -42
  732. package/doc/input-number.md +25 -48
  733. package/doc/input-password.md +23 -46
  734. package/doc/input-radio.md +0 -23
  735. package/doc/input-range.md +20 -43
  736. package/doc/input-text.md +25 -48
  737. package/doc/kolibri.md +0 -23
  738. package/doc/link-button.md +20 -43
  739. package/doc/link-group.md +1 -24
  740. package/doc/link.md +24 -54
  741. package/doc/logo.md +1 -24
  742. package/doc/modal.md +0 -24
  743. package/doc/nav.md +20 -46
  744. package/doc/pagination.md +0 -23
  745. package/doc/progress.md +0 -23
  746. package/doc/quote.md +53 -0
  747. package/doc/select.md +25 -55
  748. package/doc/skip-nav.md +4 -34
  749. package/doc/span.md +7 -30
  750. package/doc/spin.md +0 -23
  751. package/doc/table.md +7 -30
  752. package/doc/tabs.md +1 -24
  753. package/doc/textarea.md +0 -23
  754. package/doc/toast.md +0 -23
  755. package/doc/tooltip.md +0 -23
  756. package/doc/version.md +0 -23
  757. package/jest-test-results.json +1 -1
  758. package/package.json +1 -1
  759. package/vscode-custom-data.json +93 -27
  760. package/dist/cjs/a11y.tipps-4af0092d.js +0 -4
  761. package/dist/cjs/a11y.tipps-4af0092d.js.map +0 -1
  762. package/dist/cjs/app-globals-161cafee.js +0 -4
  763. package/dist/cjs/app-globals-161cafee.js.map +0 -1
  764. package/dist/cjs/button-link-d6b0f982.js.map +0 -1
  765. package/dist/cjs/controller-0779bf0b.js +0 -4
  766. package/dist/cjs/controller-0779bf0b.js.map +0 -1
  767. package/dist/cjs/controller-29a631b7.js.map +0 -1
  768. package/dist/cjs/controller-56acda6c.js.map +0 -1
  769. package/dist/cjs/controller-af048c8c.js +0 -4
  770. package/dist/cjs/controller-af048c8c.js.map +0 -1
  771. package/dist/cjs/controller-f59ad664.js.map +0 -1
  772. package/dist/cjs/controller-icon-a83b2341.js.map +0 -1
  773. package/dist/cjs/i18n-f0da17e4.js +0 -4
  774. package/dist/cjs/i18n-f0da17e4.js.map +0 -1
  775. package/dist/cjs/icon-a4cf95a3.js +0 -4
  776. package/dist/cjs/icon-a4cf95a3.js.map +0 -1
  777. package/dist/cjs/index-e9fcaeca.js +0 -4
  778. package/dist/cjs/index-e9fcaeca.js.map +0 -1
  779. package/dist/cjs/label-f0e269fe.js +0 -4
  780. package/dist/cjs/label-f0e269fe.js.map +0 -1
  781. package/dist/cjs/prop.validators-ffb87630.js +0 -4
  782. package/dist/cjs/prop.validators-ffb87630.js.map +0 -1
  783. package/dist/cjs/reuse-bbd0b4e7.js +0 -4
  784. package/dist/cjs/validation-c45379a1.js.map +0 -1
  785. package/dist/esm/a11y.tipps-5cdbd5e2.js +0 -4
  786. package/dist/esm/a11y.tipps-5cdbd5e2.js.map +0 -1
  787. package/dist/esm/app-globals-841cf59f.js +0 -4
  788. package/dist/esm/app-globals-841cf59f.js.map +0 -1
  789. package/dist/esm/button-link-b0ebacde.js.map +0 -1
  790. package/dist/esm/controller-3489e5a5.js.map +0 -1
  791. package/dist/esm/controller-78f90d62.js.map +0 -1
  792. package/dist/esm/controller-7cf89ed4.js.map +0 -1
  793. package/dist/esm/controller-967a4af4.js +0 -4
  794. package/dist/esm/controller-967a4af4.js.map +0 -1
  795. package/dist/esm/controller-e3c820af.js +0 -4
  796. package/dist/esm/controller-e3c820af.js.map +0 -1
  797. package/dist/esm/controller-icon-4875e055.js.map +0 -1
  798. package/dist/esm/i18n-67083aee.js +0 -4
  799. package/dist/esm/i18n-67083aee.js.map +0 -1
  800. package/dist/esm/icon-2c0634d7.js +0 -4
  801. package/dist/esm/icon-2c0634d7.js.map +0 -1
  802. package/dist/esm/index-676dbf61.js +0 -4
  803. package/dist/esm/index-676dbf61.js.map +0 -1
  804. package/dist/esm/label-467917df.js +0 -4
  805. package/dist/esm/label-467917df.js.map +0 -1
  806. package/dist/esm/prop.validators-8365f685.js +0 -4
  807. package/dist/esm/prop.validators-8365f685.js.map +0 -1
  808. package/dist/esm/validation-3ea5cbb3.js +0 -4
  809. package/dist/esm/validation-3ea5cbb3.js.map +0 -1
  810. package/dist/kolibri/a11y.tipps-5cdbd5e2.js +0 -4
  811. package/dist/kolibri/a11y.tipps-5cdbd5e2.js.map +0 -1
  812. package/dist/kolibri/app-globals-841cf59f.js +0 -4
  813. package/dist/kolibri/app-globals-841cf59f.js.map +0 -1
  814. package/dist/kolibri/button-link-b0ebacde.js.map +0 -1
  815. package/dist/kolibri/controller-3489e5a5.js.map +0 -1
  816. package/dist/kolibri/controller-78f90d62.js.map +0 -1
  817. package/dist/kolibri/controller-7cf89ed4.js +0 -4
  818. package/dist/kolibri/controller-7cf89ed4.js.map +0 -1
  819. package/dist/kolibri/controller-8f60f862.js +0 -4
  820. package/dist/kolibri/controller-967a4af4.js +0 -4
  821. package/dist/kolibri/controller-967a4af4.js.map +0 -1
  822. package/dist/kolibri/controller-e3c820af.js.map +0 -1
  823. package/dist/kolibri/controller-icon-4875e055.js.map +0 -1
  824. package/dist/kolibri/dev.utils-05f4e663.js.map +0 -1
  825. package/dist/kolibri/devtools-86cb24d9.js +0 -4
  826. package/dist/kolibri/i18n-67083aee.js +0 -4
  827. package/dist/kolibri/i18n-67083aee.js.map +0 -1
  828. package/dist/kolibri/icon-2c0634d7.js +0 -4
  829. package/dist/kolibri/icon-2c0634d7.js.map +0 -1
  830. package/dist/kolibri/index-676dbf61.js +0 -4
  831. package/dist/kolibri/index-676dbf61.js.map +0 -1
  832. package/dist/kolibri/label-467917df.js +0 -4
  833. package/dist/kolibri/label-467917df.js.map +0 -1
  834. package/dist/kolibri/prop.validators-8365f685.js +0 -4
  835. package/dist/kolibri/prop.validators-8365f685.js.map +0 -1
  836. package/dist/kolibri/reuse-56bb5a4b.js.map +0 -1
  837. package/dist/kolibri/tab-index-068270b7.js +0 -4
  838. package/dist/kolibri/validation-3ea5cbb3.js +0 -4
  839. package/dist/kolibri/validation-3ea5cbb3.js.map +0 -1
  840. package/dist/types/components/icon-icofont/test/html.mock.d.ts +0 -2
  841. package/dist/types/components/link-group/test/html.mock.d.ts +0 -2
  842. package/dist/types/types/alert.d.ts +0 -6
  843. /package/dist/kolibri/{controller-8f60f862.js.map → controller-0b0c0e12.js.map} +0 -0
  844. /package/dist/kolibri/{devtools-86cb24d9.js.map → devtools-cb70c2f9.js.map} +0 -0
  845. /package/dist/kolibri/{reuse-56bb5a4b.js → reuse-3a02afb9.js} +0 -0
  846. /package/dist/kolibri/{validation-fdaf7554.js.map → validation-b331e3a7.js.map} +0 -0
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(e,t,o){return e(o={path:t,exports:{},require:function(e,t){return commonjsRequire()}},o.exports),o.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var loglevel=createCommonjsModule((function(e){var t,o;t=commonjsGlobal,o=function(){var e=function(){},t="undefined",o=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"];function r(e,t){var o=e[t];if("function"==typeof o.bind)return o.bind(e);try{return Function.prototype.bind.call(o,e)}catch(t){return function(){return Function.prototype.apply.apply(o,[e,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function l(t,o){for(var r=0;r<n.length;r++){var s=n[r];this[s]=r<t?e:this.methodFactory(s,t,o)}this.log=this.debug}function a(e,o,n){return function(){typeof console!==t&&(l.call(this,o,n),this[e].apply(this,arguments))}}function i(n,l,i){return function(n){return"debug"===n&&(n="log"),typeof console!==t&&("trace"===n&&o?s:void 0!==console[n]?r(console,n):void 0!==console.log?r(console,"log"):e)}(n)||a.apply(this,arguments)}function c(e,o,r){var s,a=this;o=null==o?"WARN":o;var c="loglevel";function h(){var e;if(typeof window!==t&&c){try{e=window.localStorage[c]}catch(e){}if(typeof e===t)try{var o=window.document.cookie,n=o.indexOf(encodeURIComponent(c)+"=");-1!==n&&(e=/^([^;]+)/.exec(o.slice(n))[1])}catch(e){}return void 0===a.levels[e]&&(e=void 0),e}}"string"==typeof e?c+=":"+e:"symbol"==typeof e&&(c=void 0),a.name=e,a.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},a.methodFactory=r||i,a.getLevel=function(){return s},a.setLevel=function(o,r){if("string"==typeof o&&void 0!==a.levels[o.toUpperCase()]&&(o=a.levels[o.toUpperCase()]),!("number"==typeof o&&o>=0&&o<=a.levels.SILENT))throw"log.setLevel() called with invalid level: "+o;if(s=o,!1!==r&&function(e){var o=(n[e]||"silent").toUpperCase();if(typeof window!==t&&c){try{return void(window.localStorage[c]=o)}catch(e){}try{window.document.cookie=encodeURIComponent(c)+"="+o+";"}catch(e){}}}(o),l.call(a,o,e),typeof console===t&&o<a.levels.SILENT)return"No console available for logging"},a.setDefaultLevel=function(e){o=e,h()||a.setLevel(e,!1)},a.resetLevel=function(){a.setLevel(o,!1),function(){if(typeof window!==t&&c){try{return void window.localStorage.removeItem(c)}catch(e){}try{window.document.cookie=encodeURIComponent(c)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}()},a.enableAll=function(e){a.setLevel(a.levels.TRACE,e)},a.disableAll=function(e){a.setLevel(a.levels.SILENT,e)};var T=h();null==T&&(T=o),a.setLevel(T,!1)}var h=new c,T={};h.getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=T[e];return t||(t=T[e]=new c(e,h.getLevel(),h.methodFactory)),t};var y=typeof window!==t?window.log:void 0;return h.noConflict=function(){return typeof window!==t&&window.log===h&&(window.log=y),h},h.getLoggers=function(){return T},h.default=h,h},e.exports?e.exports=o():t.log=o()}));const createTranslation=(e,t)=>o=>o(e,t),createTheme=(e,t)=>o=>o(e,t),STORE="object"==typeof window?window:"object"==typeof global?global:"object"==typeof self?self:{};let lockThemePatching=!0,warrentyWarning=!1;const THEME_NAME_PATTERN=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,isThemeNameValid=e=>"string"==typeof e&&THEME_NAME_PATTERN.test(e),validateThemeName=e=>{if(!1===isThemeNameValid(e))throw new Error(`[Theming] The theme identifier "${"string"==typeof e?e:""}" (Type: ${typeof e}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},patchThemeTag=(e,t,o)=>{validateThemeName(e),!0===lockThemePatching&&!1===warrentyWarning&&(warrentyWarning=!0,loglevel.warn(`[Theming] The theme process is locked. This means that the theme "${e}" should not be patched.\n\nimport { register } from '@a11y-ui/core';\nimport { defineCustomElements } from '...';\nimport { THEME } from '...';\n\nregister(THEME, defineCustomElements)\n\t.then(() => {\n\t\tconst htmlDivElement: HTMLElement | null = document.querySelector<HTMLElement>('#my-app');\n if (htmlDivElement instanceof HTMLElement) {\n const root = createRoot(htmlDivElement);\n root.render(<App />);\n }\n })\n .catch(console.warn);`)),"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={}),"object"!=typeof STORE.A11yUi||null===STORE.A11yUi||"object"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes||(STORE.A11yUi.Themes={}),"object"!=typeof STORE.A11yUi||null===STORE.A11yUi||"object"!=typeof STORE.A11yUi.Themes||null===STORE.A11yUi.Themes||"object"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]||(STORE.A11yUi.Themes[e]={}),"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&"object"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes&&"object"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]&&(STORE.A11yUi.Themes[e][t]=o)},patchTheme=(e,t)=>(validateThemeName(e),"object"==typeof t&&null!==t&&Object.getOwnPropertyNames(t).forEach((o=>{const n=t[o];"string"==typeof n&&n.length>0&&patchThemeTag(e,o,n)})),e),getThemeNode=e=>{if(e instanceof HTMLElement){if("string"==typeof e.dataset.theme)return e;{let t=e.parentNode;for(;t instanceof ShadowRoot;)t=t.host;return getThemeNode(t)}}return null},getEncroachCss=(e={})=>"false"!==e.themeEncroachCss&&"true"!==e.themeReset&&{mode:"after"===e.themeEncroachCssMode||"before"===e.themeEncroachCssMode?e.themeEncroachCssMode:"before"},isTheCurrentThemeConfigValid=()=>"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&"object"==typeof STORE.A11yUi.Theme&&null!==STORE.A11yUi.Theme&&"boolean"==typeof STORE.A11yUi.Theme.cache&&"object"==typeof STORE.A11yUi.Theme.encroachCss&&null!==typeof STORE.A11yUi.Theme.encroachCss&&"string"==typeof STORE.A11yUi.Theme.encroachCss.mode&&"string"==typeof STORE.A11yUi.Theme.name,getThemeDetails=e=>{if(isTheCurrentThemeConfigValid())return STORE.A11yUi.Theme;{const t={cache:!0,encroachCss:getEncroachCss(),loglevel:"silent",name:null},o=getThemeNode(e);return o instanceof HTMLElement&&(t.cache="false"!==o.dataset.themeCache,t.encroachCss=getEncroachCss(o.dataset),t.loglevel="debug"===o.dataset.themeLoglevel?o.dataset.themeLoglevel:"silent",t.name=o.dataset.theme||null),t}},getThemeOptionDefaults=(e,t)=>({cache:!1!==t.cache,detect:"auto"===t.detect?"auto":"fixed",encroachCss:!1!==t.encroachCss&&("object"!=typeof t.encroachCss||null==t.encroachCss||"after"!==t.encroachCss.mode&&"before"!==t.encroachCss.mode?{mode:"before"}:t.encroachCss),loglevel:"debug"===t.loglevel?t.loglevel:"silent",name:"string"==typeof t.name?t.name:e}),setConfigureTheme=(e,t)=>{!1!==isTheCurrentThemeConfigValid()||0!=("object"==typeof STORE.A11yUi&&null!==STORE.A11yUi)&&0!=("object"==typeof STORE.A11yUi.Theme&&null!==STORE.A11yUi.Theme)&&"default"===STORE.A11yUi.Theme.name||"object"==typeof t&&null!==t&&("fixed"===(t=getThemeOptionDefaults(e,t)).detect?(null===t.name&&"string"==typeof e&&(t.name=e),e===t.name&&("object"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={}),STORE.A11yUi.Theme=t,loglevel.info(`[Theming] Theme "${e}" was set as default theme.`))):loglevel.warn("[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode."))};let registered=!1;const register=(e,t,o={})=>{!1===registered&&(registered=!0,lockThemePatching=!1),"function"==typeof e?e=new Set([e]):Array.isArray(e)&&(e=new Set(e)),e instanceof Set&&e.forEach((e=>{"function"==typeof e&&1===e.length?setConfigureTheme(e(patchTheme),{cache:o.theme?.cache,detect:o.theme?.detect,encroachCss:o.theme?.encroachCss,name:o.theme?.name}):loglevel.error("[Theming] Es wurde versucht eine nicht kompatibles Theme zu laden.")})),lockThemePatching=!0,"function"==typeof t?t=new Set([t]):Array.isArray(t)&&(t=new Set(t));const n=[];return t.forEach((e=>n.push(e()))),Promise.all(n)},STYLING_TASK_QUEUE=new Map,HYDRATED_HISTORY=[],CSS_PROPERTIES_REGISTERED=new Set,CSS_STYLE_CACHE=new Map,REGEX_CSS_PROPERTIES=/--[^;]+/g,REGEX_SPLIT_CSS_PROPERTY=/:/;"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={CSS_STYLE_CACHE:CSS_STYLE_CACHE,HYDRATED_HISTORY:HYDRATED_HISTORY,STYLING_TASK_QUEUE:STYLING_TASK_QUEUE});const extractProperties=(e,t)=>{let o=t.match(REGEX_CSS_PROPERTIES);if(Array.isArray(o)){o=o.filter((e=>REGEX_SPLIT_CSS_PROPERTY.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${o.join(";")}}`,document.querySelector("head")?.appendChild(t)}CSS_PROPERTIES_REGISTERED.add(e)},getCssStyle=(e,t)=>"object"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&"object"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes&&"object"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]&&"string"==typeof STORE.A11yUi.Themes[e][t]?STORE.A11yUi.Themes[e][t].replace(/\r?\n/g,""):"",removeStyle=e=>{for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName))break;e.removeChild(t)}},patchStyle=(e,t)=>{try{const o=[];t.forEach((e=>{const t=new CSSStyleSheet;t.replaceSync(e),o.push(t)})),e.adoptedStyleSheets=o}catch(o){t.reverse().forEach((t=>{const o=document.createElement("style");o.innerHTML=t,e.insertBefore(o,e.firstChild)}))}},encroachStyles=(e,t,o)=>{if(!1!==o){const n=[...Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName))];let r;try{r=[...Array.from(e.adoptedStyleSheets)]}catch(e){r=[]}"before"===o?.mode?(n.reverse().forEach((e=>t.unshift(e.innerHTML))),r.reverse().forEach((e=>t.unshift(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))):"after"===o?.mode&&(n.forEach((e=>t.push(e.innerHTML))),r.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join("")))))}},setThemeStyleAfterHydrated=(e,t,o)=>{const n=t.name||"default";let r;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");r=e.shadowRoot}catch(t){r=e}if(CSS_STYLE_CACHE.get(n)?.has(e.tagName))switchStyle(e,r,CSS_STYLE_CACHE.get(n)?.get(e.tagName),o);else{const s=getCssStyle(n,"PROPERTIES"),l=getCssStyle(n,"GLOBAL"),a=getCssStyle(n,e.tagName);!1===CSS_PROPERTIES_REGISTERED.has(n)&&extractProperties(n,l);const i=[s,l,a];encroachStyles(r,i,t.encroachCss),"debug"===t.loglevel&&console.log(e.tagName,i),!0===t.cache&&(!1===CSS_STYLE_CACHE.has(n)&&CSS_STYLE_CACHE.set(n,new Map),CSS_STYLE_CACHE.get(n)?.set(e.tagName,i)),switchStyle(e,r,i,o)}},switchStyle=(e,t,o,n)=>{removeStyle(t),patchStyle(t,o),e.style.display=n},logHydratedHistory=e=>{"debug"===e.loglevel&&HYDRATED_HISTORY.push({timestamp:Date.now(),numberOfTasks:STYLING_TASK_QUEUE.size})},pushToDoTask=(e,t)=>{STYLING_TASK_QUEUE.set(e,{styleDisplay:`${e.style.display}`,themeDetails:t})},loggedPushToDoTask=(e,t)=>{pushToDoTask(e,t),logHydratedHistory(t)},deleteDoneTask=e=>{STYLING_TASK_QUEUE.delete(e)},loggedDeleteDoneTask=(e,t)=>{deleteDoneTask(e),logHydratedHistory(t)},waitForHydrated=e=>{const t=setTimeout((()=>{if(clearTimeout(t),STYLING_TASK_QUEUE.has(e)&&e.classList.contains("hydrated")){const{styleDisplay:t,themeDetails:o}=STYLING_TASK_QUEUE.get(e);setThemeStyleAfterHydrated(e,o,t),loggedDeleteDoneTask(e,o)}else waitForHydrated(e)}),25)},observerCallback=e=>{for(const t of e)if(STYLING_TASK_QUEUE.has(t.target)&&t.target.classList.contains("hydrated")){const{styleDisplay:e,themeDetails:o}=STYLING_TASK_QUEUE.get(t.target);setThemeStyleAfterHydrated(t.target,o,e),loggedDeleteDoneTask(t.target,o)}},observerOptions={attributes:!0,attributeFilter:["class"],childList:!1,subtree:!1};let observer;try{observer=new MutationObserver(observerCallback)}catch(e){observer=null}const setThemeStyle=(e,t)=>{loggedPushToDoTask(e,t),observer?observer.observe(e,observerOptions):waitForHydrated(e),e.style.display="none"};class Theme{constructor(e,t,o){this.createTheme=(e,t)=>createTheme(e,t),this.createTranslation=(e,t)=>createTranslation(e,t),this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(o)}}export{STORE as S,Theme as T,patchThemeTag as a,getThemeDetails as g,patchTheme as p,register as r,setThemeStyle as s};
@@ -0,0 +1 @@
1
+ {"file":"index-81bd9b41.js","mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,UAAU,IAAI,EAAE,UAAU,EAAE;AAE7B,IAEW,IAAkC,MAAM,CAAC,OAAO,EAAE;AAC7D,QAAQ,cAAc,GAAG,UAAU,EAAE,CAAC;AACtC,KAAK,MAAM;AACX,QAAQ,IAAI,CAAC,GAAG,GAAG,UAAU,EAAE,CAAC;AAChC,KAAK;AACL,CAAC,CAACA,cAAI,EAAE,YAAY;AAEpB;AACA;AACA,IAAI,IAAI,IAAI,GAAG,WAAW,EAAE,CAAC;AAC7B,IAAI,IAAI,aAAa,GAAG,WAAW,CAAC;AACpC,IAAI,IAAI,IAAI,GAAG,CAAC,OAAO,MAAM,KAAK,aAAa,MAAM,OAAO,MAAM,CAAC,SAAS,KAAK,aAAa,CAAC;AAC/F,QAAQ,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC;AAC1D,KAAK,CAAC;AACN;AACA,IAAI,IAAI,UAAU,GAAG;AACrB,QAAQ,OAAO;AACf,QAAQ,OAAO;AACf,QAAQ,MAAM;AACd,QAAQ,MAAM;AACd,QAAQ,OAAO;AACf,KAAK,CAAC;A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AAI,CAAM,MAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,OAAM,EAAE,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,EAAC,CAAC;;;;","names":["this","log"],"sources":["./node_modules/loglevel/lib/loglevel.js","./node_modules/adopted-style-sheets/dist/index.mjs"],"sourcesContent":["/*\n* loglevel - https://github.com/pimterry/loglevel\n*\n* Copyright (c) 2013 Tim Perry\n* Licensed under the MIT license.\n*/\n(function (root, definition) {\n \"use strict\";\n if (typeof define === 'function' && define.amd) {\n define(definition);\n } else if (typeof module === 'object' && module.exports) {\n module.exports = definition();\n } else {\n root.log = definition();\n }\n}(this, function () {\n \"use strict\";\n\n // Slightly dubious tricks to cut down minimized file size\n var noop = function() {};\n var undefinedType = \"undefined\";\n var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (\n /Trident\\/|MSIE /.test(window.navigator.userAgent)\n );\n\n var logMethods = [\n \"trace\",\n \"debug\",\n \"info\",\n \"warn\",\n \"error\"\n ];\n\n // Cross-browser bind equivalent that works at least back to IE6\n function bindMethod(obj, methodName) {\n var method = obj[methodName];\n if (typeof method.bind === 'function') {\n return method.bind(obj);\n } else {\n try {\n return Function.prototype.bind.call(method, obj);\n } catch (e) {\n // Missing bind shim or IE8 + Modernizr, fallback to wrapping\n return function() {\n return Function.prototype.apply.apply(method, [obj, arguments]);\n };\n }\n }\n }\n\n // Trace() doesn't print the message in IE, so for that case we need to wrap it\n function traceForIE() {\n if (console.log) {\n if (console.log.apply) {\n console.log.apply(console, arguments);\n } else {\n // In old IE, native console methods themselves don't have apply().\n Function.prototype.apply.apply(console.log, [console, arguments]);\n }\n }\n if (console.trace) console.trace();\n }\n\n // Build the best logging method possible for this env\n // Wherever possible we want to bind, not wrap, to preserve stack traces\n function realMethod(methodName) {\n if (methodName === 'debug') {\n methodName = 'log';\n }\n\n if (typeof console === undefinedType) {\n return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives\n } else if (methodName === 'trace' && isIE) {\n return traceForIE;\n } else if (console[methodName] !== undefined) {\n return bindMethod(console, methodName);\n } else if (console.log !== undefined) {\n return bindMethod(console, 'log');\n } else {\n return noop;\n }\n }\n\n // These private functions always need `this` to be set properly\n\n function replaceLoggingMethods(level, loggerName) {\n /*jshint validthis:true */\n for (var i = 0; i < logMethods.length; i++) {\n var methodName = logMethods[i];\n this[methodName] = (i < level) ?\n noop :\n this.methodFactory(methodName, level, loggerName);\n }\n\n // Define log.log as an alias for log.debug\n this.log = this.debug;\n }\n\n // In old IE versions, the console isn't present until you first open it.\n // We build realMethod() replacements here that regenerate logging methods\n function enableLoggingWhenConsoleArrives(methodName, level, loggerName) {\n return function () {\n if (typeof console !== undefinedType) {\n replaceLoggingMethods.call(this, level, loggerName);\n this[methodName].apply(this, arguments);\n }\n };\n }\n\n // By default, we use closely bound real methods wherever possible, and\n // otherwise we wait for a console to appear, and then try again.\n function defaultMethodFactory(methodName, level, loggerName) {\n /*jshint validthis:true */\n return realMethod(methodName) ||\n enableLoggingWhenConsoleArrives.apply(this, arguments);\n }\n\n function Logger(name, defaultLevel, factory) {\n var self = this;\n var currentLevel;\n defaultLevel = defaultLevel == null ? \"WARN\" : defaultLevel;\n\n var storageKey = \"loglevel\";\n if (typeof name === \"string\") {\n storageKey += \":\" + name;\n } else if (typeof name === \"symbol\") {\n storageKey = undefined;\n }\n\n function persistLevelIfPossible(levelNum) {\n var levelName = (logMethods[levelNum] || 'silent').toUpperCase();\n\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage[storageKey] = levelName;\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=\" + levelName + \";\";\n } catch (ignore) {}\n }\n\n function getPersistedLevel() {\n var storedLevel;\n\n if (typeof window === undefinedType || !storageKey) return;\n\n try {\n storedLevel = window.localStorage[storageKey];\n } catch (ignore) {}\n\n // Fallback to cookies if local storage gives us nothing\n if (typeof storedLevel === undefinedType) {\n try {\n var cookie = window.document.cookie;\n var location = cookie.indexOf(\n encodeURIComponent(storageKey) + \"=\");\n if (location !== -1) {\n storedLevel = /^([^;]+)/.exec(cookie.slice(location))[1];\n }\n } catch (ignore) {}\n }\n\n // If the stored level is not valid, treat it as if nothing was stored.\n if (self.levels[storedLevel] === undefined) {\n storedLevel = undefined;\n }\n\n return storedLevel;\n }\n\n function clearPersistedLevel() {\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage.removeItem(storageKey);\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n } catch (ignore) {}\n }\n\n /*\n *\n * Public logger API - see https://github.com/pimterry/loglevel for details\n *\n */\n\n self.name = name;\n\n self.levels = { \"TRACE\": 0, \"DEBUG\": 1, \"INFO\": 2, \"WARN\": 3,\n \"ERROR\": 4, \"SILENT\": 5};\n\n self.methodFactory = factory || defaultMethodFactory;\n\n self.getLevel = function () {\n return currentLevel;\n };\n\n self.setLevel = function (level, persist) {\n if (typeof level === \"string\" && self.levels[level.toUpperCase()] !== undefined) {\n level = self.levels[level.toUpperCase()];\n }\n if (typeof level === \"number\" && level >= 0 && level <= self.levels.SILENT) {\n currentLevel = level;\n if (persist !== false) { // defaults to true\n persistLevelIfPossible(level);\n }\n replaceLoggingMethods.call(self, level, name);\n if (typeof console === undefinedType && level < self.levels.SILENT) {\n return \"No console available for logging\";\n }\n } else {\n throw \"log.setLevel() called with invalid level: \" + level;\n }\n };\n\n self.setDefaultLevel = function (level) {\n defaultLevel = level;\n if (!getPersistedLevel()) {\n self.setLevel(level, false);\n }\n };\n\n self.resetLevel = function () {\n self.setLevel(defaultLevel, false);\n clearPersistedLevel();\n };\n\n self.enableAll = function(persist) {\n self.setLevel(self.levels.TRACE, persist);\n };\n\n self.disableAll = function(persist) {\n self.setLevel(self.levels.SILENT, persist);\n };\n\n // Initialize with the right level\n var initialLevel = getPersistedLevel();\n if (initialLevel == null) {\n initialLevel = defaultLevel;\n }\n self.setLevel(initialLevel, false);\n }\n\n /*\n *\n * Top-level API\n *\n */\n\n var defaultLogger = new Logger();\n\n var _loggersByName = {};\n defaultLogger.getLogger = function getLogger(name) {\n if ((typeof name !== \"symbol\" && typeof name !== \"string\") || name === \"\") {\n throw new TypeError(\"You must supply a name when creating a logger.\");\n }\n\n var logger = _loggersByName[name];\n if (!logger) {\n logger = _loggersByName[name] = new Logger(\n name, defaultLogger.getLevel(), defaultLogger.methodFactory);\n }\n return logger;\n };\n\n // Grab the current global log variable in case of overwrite\n var _log = (typeof window !== undefinedType) ? window.log : undefined;\n defaultLogger.noConflict = function() {\n if (typeof window !== undefinedType &&\n window.log === defaultLogger) {\n window.log = _log;\n }\n\n return defaultLogger;\n };\n\n defaultLogger.getLoggers = function getLoggers() {\n return _loggersByName;\n };\n\n // ES6 default export, for compatibility\n defaultLogger['default'] = defaultLogger;\n\n return defaultLogger;\n}));\n","import log from\"loglevel\";const createTranslation=(e,t)=>o=>o(e,t),createTheme=(e,t)=>o=>o(e,t),STORE=\"object\"==typeof window?window:\"object\"==typeof global?global:\"object\"==typeof self?self:{};let lockThemePatching=!0,warrentyWarning=!1;const THEME_NAME_PATTERN=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,isThemeNameValid=e=>\"string\"==typeof e&&THEME_NAME_PATTERN.test(e),validateThemeName=e=>{if(!1===isThemeNameValid(e))throw new Error(`[Theming] The theme identifier \"${\"string\"==typeof e?e:\"\"}\" (Type: ${typeof e}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},patchThemeTag=(e,t,o)=>{validateThemeName(e),!0===lockThemePatching&&!1===warrentyWarning&&(warrentyWarning=!0,log.warn(`[Theming] The theme process is locked. This means that the theme \"${e}\" should not be patched.\\n\\nimport { register } from '@a11y-ui/core';\\nimport { defineCustomElements } from '...';\\nimport { THEME } from '...';\\n\\nregister(THEME, defineCustomElements)\\n\\t.then(() => {\\n\\t\\tconst htmlDivElement: HTMLElement | null = document.querySelector<HTMLElement>('#my-app');\\n if (htmlDivElement instanceof HTMLElement) {\\n const root = createRoot(htmlDivElement);\\n root.render(<App />);\\n }\\n })\\n .catch(console.warn);`)),\"object\"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={}),\"object\"!=typeof STORE.A11yUi||null===STORE.A11yUi||\"object\"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes||(STORE.A11yUi.Themes={}),\"object\"!=typeof STORE.A11yUi||null===STORE.A11yUi||\"object\"!=typeof STORE.A11yUi.Themes||null===STORE.A11yUi.Themes||\"object\"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]||(STORE.A11yUi.Themes[e]={}),\"object\"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&\"object\"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes&&\"object\"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]&&(STORE.A11yUi.Themes[e][t]=o)},patchTheme=(e,t)=>{if(validateThemeName(e),\"object\"==typeof t&&null!==t){Object.getOwnPropertyNames(t).forEach((o=>{const s=t[o];\"string\"==typeof s&&s.length>0&&patchThemeTag(e,o,s)}))}return e},getThemeNode=e=>{if(e instanceof HTMLElement){if(\"string\"==typeof e.dataset.theme)return e;{let t=e.parentNode;for(;t instanceof ShadowRoot;)t=t.host;return getThemeNode(t)}}return null},getEncroachCss=(e={})=>\"false\"!==e.themeEncroachCss&&\"true\"!==e.themeReset&&{mode:\"after\"===e.themeEncroachCssMode||\"before\"===e.themeEncroachCssMode?e.themeEncroachCssMode:\"before\"},isTheCurrentThemeConfigValid=()=>\"object\"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&\"object\"==typeof STORE.A11yUi.Theme&&null!==STORE.A11yUi.Theme&&\"boolean\"==typeof STORE.A11yUi.Theme.cache&&\"object\"==typeof STORE.A11yUi.Theme.encroachCss&&null!==typeof STORE.A11yUi.Theme.encroachCss&&\"string\"==typeof STORE.A11yUi.Theme.encroachCss.mode&&\"string\"==typeof STORE.A11yUi.Theme.name,isTheCurrentThemeNotDefault=()=>!1==(\"object\"==typeof STORE.A11yUi&&null!==STORE.A11yUi)||!1==(\"object\"==typeof STORE.A11yUi.Theme&&null!==STORE.A11yUi.Theme)||\"default\"!==STORE.A11yUi.Theme.name,getThemeDetails=e=>{if(isTheCurrentThemeConfigValid())return STORE.A11yUi.Theme;{const t={cache:!0,encroachCss:getEncroachCss(),loglevel:\"silent\",name:null},o=getThemeNode(e);return o instanceof HTMLElement&&(t.cache=\"false\"!==o.dataset.themeCache,t.encroachCss=getEncroachCss(o.dataset),t.loglevel=\"debug\"===o.dataset.themeLoglevel?o.dataset.themeLoglevel:\"silent\",t.name=o.dataset.theme||null),t}},getTheme=e=>getThemeDetails(e).name,getThemeOptionDefaults=(e,t)=>({cache:!1!==t.cache,detect:\"auto\"===t.detect?\"auto\":\"fixed\",encroachCss:!1!==t.encroachCss&&(\"object\"!=typeof t.encroachCss||null==t.encroachCss||\"after\"!==t.encroachCss.mode&&\"before\"!==t.encroachCss.mode?{mode:\"before\"}:t.encroachCss),loglevel:\"debug\"===t.loglevel?t.loglevel:\"silent\",name:\"string\"==typeof t.name?t.name:e}),setConfigureTheme=(e,t)=>{!1!==isTheCurrentThemeConfigValid()||0!=(\"object\"==typeof STORE.A11yUi&&null!==STORE.A11yUi)&&0!=(\"object\"==typeof STORE.A11yUi.Theme&&null!==STORE.A11yUi.Theme)&&\"default\"===STORE.A11yUi.Theme.name||\"object\"==typeof t&&null!==t&&(\"fixed\"===(t=getThemeOptionDefaults(e,t)).detect?(null===t.name&&\"string\"==typeof e&&(t.name=e),e===t.name&&(\"object\"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={}),STORE.A11yUi.Theme=t,log.info(`[Theming] Theme \"${e}\" was set as default theme.`))):log.warn(\"[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode.\"))};let registered=!1;const register=(e,t,o={})=>{!1===registered&&(registered=!0,lockThemePatching=!1),\"function\"==typeof e?e=new Set([e]):Array.isArray(e)&&(e=new Set(e)),e instanceof Set&&e.forEach((e=>{\"function\"==typeof e&&1===e.length?setConfigureTheme(e(patchTheme),{cache:o.theme?.cache,detect:o.theme?.detect,encroachCss:o.theme?.encroachCss,name:o.theme?.name}):log.error(\"[Theming] Es wurde versucht eine nicht kompatibles Theme zu laden.\")})),lockThemePatching=!0,\"function\"==typeof t?t=new Set([t]):Array.isArray(t)&&(t=new Set(t));const s=[];return t.forEach((e=>s.push(e()))),Promise.all(s)},_RobustStore=class{constructor(e,t){this.store=this.createStore(e,t)}static getInstance(e,t){let o=_RobustStore.instances.get(e);return void 0===o&&(o=new _RobustStore(t,e),_RobustStore.instances.set(e,o)),o}createStore(e,t){return Object.defineProperty(e,t,{enumerable:!1,value:{},writable:!1}),e[t]}recursiveSetItem(e,t,o,s=_RobustStore.options){let r=\"object\"==typeof o&&null!==o?{}:o;if(Object.defineProperty(e,t,{enumerable:!0===s.enumerable,get:()=>r,set:!0===s.immutable?void 0:e=>r=e}),\"object\"==typeof o&&null!==o)for(const[r,n]of Object.entries(o))this.recursiveSetItem(e[t],r,n,s)}setItem(e,t,o=_RobustStore.options){return this.recursiveSetItem(this.store,e,t,o),this}getItem(e){return Array.isArray(e)?e.map((e=>this.getItem(e))):this.store[e]}};let RobustStore=_RobustStore;RobustStore.options={enumerable:!1,immutable:!1},RobustStore.instances=new Map;const STYLING_TASK_QUEUE=new Map,HYDRATED_HISTORY=[],CSS_PROPERTIES_REGISTERED=new Set,CSS_STYLE_CACHE=new Map,REGEX_CSS_PROPERTIES=/--[^;]+/g,REGEX_SPLIT_CSS_PROPERTY=/:/;\"object\"==typeof STORE.A11yUi&&null!==STORE.A11yUi||(STORE.A11yUi={CSS_STYLE_CACHE:CSS_STYLE_CACHE,HYDRATED_HISTORY:HYDRATED_HISTORY,STYLING_TASK_QUEUE:STYLING_TASK_QUEUE});const extractProperties=(e,t)=>{let o=t.match(REGEX_CSS_PROPERTIES);if(Array.isArray(o)){o=o.filter((e=>REGEX_SPLIT_CSS_PROPERTY.test(e)));const t=document.createElement(\"style\");t.innerHTML=`.${e} {${o.join(\";\")}}`,document.querySelector(\"head\")?.appendChild(t)}CSS_PROPERTIES_REGISTERED.add(e)},getCssStyle=(e,t)=>\"object\"==typeof STORE.A11yUi&&null!==STORE.A11yUi&&\"object\"==typeof STORE.A11yUi.Themes&&null!==STORE.A11yUi.Themes&&\"object\"==typeof STORE.A11yUi.Themes[e]&&null!==STORE.A11yUi.Themes[e]&&\"string\"==typeof STORE.A11yUi.Themes[e][t]?STORE.A11yUi.Themes[e][t].replace(/\\r?\\n/g,\"\"):\"\",removeStyle=e=>{for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&\"STYLE\"===t.tagName))break;e.removeChild(t)}},patchStyle=(e,t)=>{try{const o=[];t.forEach((e=>{const t=new CSSStyleSheet;t.replaceSync(e),o.push(t)})),e.adoptedStyleSheets=o}catch(o){t.reverse().forEach((t=>{const o=document.createElement(\"style\");o.innerHTML=t,e.insertBefore(o,e.firstChild)}))}},encroachStyles=(e,t,o)=>{if(!1!==o){const s=[...Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&\"STYLE\"===e.tagName))];let r;try{r=[...Array.from(e.adoptedStyleSheets)]}catch(e){r=[]}\"before\"===o?.mode?(s.reverse().forEach((e=>t.unshift(e.innerHTML))),r.reverse().forEach((e=>t.unshift(Array.from(e.cssRules).map((e=>e.cssText)).join(\"\"))))):\"after\"===o?.mode&&(s.forEach((e=>t.push(e.innerHTML))),r.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join(\"\")))))}},setThemeStyleAfterHydrated=(e,t,o)=>{const s=t.name||\"default\";let r;try{if(null===e.shadowRoot)throw new Error(\"ShadowRoot is null\");r=e.shadowRoot}catch(t){r=e}if(CSS_STYLE_CACHE.get(s)?.has(e.tagName))switchStyle(e,r,CSS_STYLE_CACHE.get(s)?.get(e.tagName),o);else{const n=getCssStyle(s,\"PROPERTIES\"),a=getCssStyle(s,\"GLOBAL\"),l=getCssStyle(s,e.tagName);!1===CSS_PROPERTIES_REGISTERED.has(s)&&extractProperties(s,a);const i=[n,a,l];encroachStyles(r,i,t.encroachCss),\"debug\"===t.loglevel&&console.log(e.tagName,i),!0===t.cache&&(!1===CSS_STYLE_CACHE.has(s)&&CSS_STYLE_CACHE.set(s,new Map),CSS_STYLE_CACHE.get(s)?.set(e.tagName,i)),switchStyle(e,r,i,o)}},switchStyle=(e,t,o,s)=>{removeStyle(t),patchStyle(t,o),e.style.display=s},logHydratedHistory=e=>{\"debug\"===e.loglevel&&HYDRATED_HISTORY.push({timestamp:Date.now(),numberOfTasks:STYLING_TASK_QUEUE.size})},pushToDoTask=(e,t)=>{STYLING_TASK_QUEUE.set(e,{styleDisplay:`${e.style.display}`,themeDetails:t})},loggedPushToDoTask=(e,t)=>{pushToDoTask(e,t),logHydratedHistory(t)},deleteDoneTask=e=>{STYLING_TASK_QUEUE.delete(e)},loggedDeleteDoneTask=(e,t)=>{deleteDoneTask(e),logHydratedHistory(t)},waitForHydrated=e=>{const t=setTimeout((()=>{if(clearTimeout(t),STYLING_TASK_QUEUE.has(e)&&e.classList.contains(\"hydrated\")){const{styleDisplay:t,themeDetails:o}=STYLING_TASK_QUEUE.get(e);setThemeStyleAfterHydrated(e,o,t),loggedDeleteDoneTask(e,o)}else waitForHydrated(e)}),25)},observerCallback=e=>{for(const t of e)if(STYLING_TASK_QUEUE.has(t.target)&&t.target.classList.contains(\"hydrated\")){const{styleDisplay:e,themeDetails:o}=STYLING_TASK_QUEUE.get(t.target);setThemeStyleAfterHydrated(t.target,o,e),loggedDeleteDoneTask(t.target,o)}},observerOptions={attributes:!0,attributeFilter:[\"class\"],childList:!1,subtree:!1};let observer;try{observer=new MutationObserver(observerCallback)}catch(e){observer=null}const setThemeStyle=(e,t)=>{loggedPushToDoTask(e,t),observer?observer.observe(e,observerOptions):waitForHydrated(e),e.style.display=\"none\"};class Theme{constructor(e,t,o){this.createTheme=(e,t)=>createTheme(e,t),this.createTranslation=(e,t)=>createTranslation(e,t),this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(o)}}export{RobustStore,STORE,Theme,getTheme,getThemeDetails,patchTheme,patchThemeTag,register,setThemeStyle};"],"version":3}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * KoliBri - The accessible HTML-Standard
3
+ */
4
+ import{S as STORE,r as register$1}from"./index-81bd9b41.js";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _toPrimitive(e,t){if("object"!==_typeof(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"===_typeof(t)?t:String(t)}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_toPropertyKey(r.key),r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _setPrototypeOf(e,t){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_setPrototypeOf(e,t)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _possibleConstructorReturn(e,t){if(t&&("object"===_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _getPrototypeOf(e){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf(e)}function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _toArray(e){return _arrayWithHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableRest()}function ownKeys$6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread$6(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$6(Object(n),!0).forEach((function(t){_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys$6(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var consoleLogger={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},Logger=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,e),this.init(t,n)}return _createClass(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||consoleLogger,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,_objectSpread$6(_objectSpread$6({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}},{key:"clone",value:function(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new e(this.logger,t)}}]),e}(),baseLogger=new Logger,EventEmitter=function(){function e(){_classCallCheck(this,e),this.observers={}}return _createClass(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach((function(e){e.apply(void 0,n)}));this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(t){t.apply(t,[e].concat(n))}))}}]),e}();function defer(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function makeString(e){return null==e?"":""+e}function copy(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function getLastOfPath(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function setPath(e,t,n){var r=getLastOfPath(e,t,Object);r.obj[r.k]=n}function pushPath(e,t,n,r){var o=getLastOfPath(e,t,Object),i=o.obj,a=o.k;i[a]=i[a]||[],r&&(i[a]=i[a].concat(n)),r||i[a].push(n)}function getPath(e,t){var n=getLastOfPath(e,t),r=n.obj,o=n.k;if(r)return r[o]}function getPathWithDefaults(e,t,n){var r=getPath(e,n);return void 0!==r?r:getPath(t,n)}function deepExtend(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):deepExtend(e[r],t[r],n):e[r]=t[r]);return e}function regexEscape(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var _entityMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function escape(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return _entityMap[e]})):e}var isIE10="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,chars=[" ",",","?","!",";"];function looksLikeObjectPath(e,t,n){t=t||"",n=n||"";var r=chars.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var o=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),i=!o.test(e);if(!i){var a=e.indexOf(n);a>0&&!o.test(e.substring(0,a))&&(i=!0)}return i}function deepFind(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o)return;if("string"==typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){for(var a=2,s=r.slice(i,i+a).join(n),c=o[s];void 0===c&&r.length>i+a;)a++,c=o[s=r.slice(i,i+a).join(n)];if(void 0===c)return;if(null===c)return null;if(t.endsWith(s)){if("string"==typeof c)return c;if(s&&"string"==typeof c[s])return c[s]}var u=r.slice(i+a).join(n);return u?deepFind(c,u,n):void 0}o=o[r[i]]}return o}}function ownKeys$5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread$5(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$5(Object(n),!0).forEach((function(t){_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys$5(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _createSuper$3(e){var t=_isNativeReflectConstruct$3();return function(){var n,r=_getPrototypeOf(e);if(t){var o=_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _isNativeReflectConstruct$3(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var ResourceStore=function(e){_inherits(n,EventEmitter);var t=_createSuper$3(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return _classCallCheck(this,n),r=t.call(this),isIE10&&EventEmitter.call(_assertThisInitialized(r)),r.data=e||{},r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return _createClass(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=getPath(this.data,a);return s||!i||"string"!=typeof n?s:deepFind(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),setPath(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var s=getPath(this.data,a)||{};r?deepExtend(s,n,o):s=_objectSpread$5(_objectSpread$5({},s),n),setPath(this.data,a,s),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?_objectSpread$5(_objectSpread$5({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(),postProcessor={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))})),t}};function ownKeys$4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread$4(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$4(Object(n),!0).forEach((function(t){_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys$4(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _createSuper$2(e){var t=_isNativeReflectConstruct$2();return function(){var n,r=_getPrototypeOf(e);if(t){var o=_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _isNativeReflectConstruct$2(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}var checkedLoadedFor={},Translator=function(e){_inherits(n,EventEmitter);var t=_createSuper$2(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _classCallCheck(this,n),r=t.call(this),isIE10&&EventEmitter.call(_assertThisInitialized(r)),copy(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,_assertThisInitialized(r)),r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=baseLogger.create("translator"),r}return _createClass(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||looksLikeObjectPath(e,n,r));if(i&&!a){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:o};var c=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(c[0])>-1)&&(o=c.shift()),e=c.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,t,r){var o=this;if("object"!==_typeof(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,s=this.extractFromKey(e[e.length-1],t),c=s.key,u=s.namespaces,l=u[u.length-1],p=t.lng||this.language,f=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&"cimode"===p.toLowerCase()){if(f){var g=t.nsSeparator||this.options.nsSeparator;return i?{res:"".concat(l).concat(g).concat(c),usedKey:c,exactUsedKey:c,usedLng:p,usedNS:l}:"".concat(l).concat(g).concat(c)}return i?{res:c,usedKey:c,exactUsedKey:c,usedLng:p,usedNS:l}:c}var d=this.resolve(e,t),h=d&&d.res,v=d&&d.usedKey||c,y=d&&d.exactUsedKey||c,b=Object.prototype.toString.apply(h),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,O=!this.i18nFormat||this.i18nFormat.handleAsObject;if(O&&h&&("string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(b)<0&&("string"!=typeof m||"[object Array]"!==b)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var S=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,h,_objectSpread$4(_objectSpread$4({},t),{},{ns:u})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return i?(d.res=S,d):S}if(a){var k="[object Array]"===b,j=k?[]:{},w=k?y:v;for(var x in h)if(Object.prototype.hasOwnProperty.call(h,x)){var P="".concat(w).concat(a).concat(x);j[x]=this.translate(P,_objectSpread$4(_objectSpread$4({},t),{joinArrays:!1,ns:u})),j[x]===P&&(j[x]=h[x])}h=j}}else if(O&&"string"==typeof m&&"[object Array]"===b)(h=h.join(m))&&(h=this.extendTranslation(h,e,t,r));else{var _=!1,L=!1,R=void 0!==t.count&&"string"!=typeof t.count,C=n.hasDefaultValue(t),E=R?this.pluralResolver.getSuffix(p,t.count,t):"",N=t["defaultValue".concat(E)]||t.defaultValue;!this.isValidLookup(h)&&C&&(_=!0,h=N),this.isValidLookup(h)||(L=!0,h=c);var $=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&L?void 0:h,I=C&&N!==h&&this.options.updateMissing;if(L||_||I){if(this.logger.log(I?"updateKey":"missingKey",p,l,c,I?N:h),a){var F=this.resolve(c,_objectSpread$4(_objectSpread$4({},t),{},{keySeparator:!1}));F&&F.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var D=[],T=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&T&&T[0])for(var A=0;A<T.length;A++)D.push(T[A]);else"all"===this.options.saveMissingTo?D=this.languageUtils.toResolveHierarchy(t.lng||this.language):D.push(t.lng||this.language);var K=function(e,n,r){var i=C&&r!==h?r:$;o.options.missingKeyHandler?o.options.missingKeyHandler(e,l,n,i,I,t):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,l,n,i,I,t),o.emit("missingKey",e,l,n,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&R?D.forEach((function(e){o.pluralResolver.getSuffixes(e,t).forEach((function(n){K([e],c+n,t["defaultValue".concat(n)]||N)}))})):K(D,c,N))}h=this.extendTranslation(h,e,t,d,r),L&&h===c&&this.options.appendNamespaceToMissingKey&&(h="".concat(l,":").concat(c)),(L||_)&&this.options.parseMissingKeyHandler&&(h="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(l,":").concat(c):c,_?h:void 0):this.options.parseMissingKeyHandler(h))}return i?(d.res=h,d):h}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,_objectSpread$4(_objectSpread$4({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(_objectSpread$4(_objectSpread$4({},n),{interpolation:_objectSpread$4(_objectSpread$4({},this.options.interpolation),n.interpolation)}));var a,s="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var c=e.match(this.interpolator.nestingRegexp);a=c&&c.length}var u=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(u=_objectSpread$4(_objectSpread$4({},this.options.interpolation.defaultVariables),u)),e=this.interpolator.interpolate(e,u,n.lng||this.language,n),s){var l=e.match(this.interpolator.nestingRegexp);a<(l&&l.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&r&&r.res&&(n.lng=r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var p=n.postProcess||this.options.postProcess,f="string"==typeof p?[p]:p;return null!=e&&f&&f.length&&!1!==n.applyPostProcessor&&(e=postProcessor.handle(f,e,t,this.options&&this.options.postProcessPassResolved?_objectSpread$4({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var c=a.extractFromKey(e,s),u=c.key;n=u;var l=c.namespaces;a.options.fallbackNS&&(l=l.concat(a.options.fallbackNS));var p=void 0!==s.count&&"string"!=typeof s.count,f=p&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),g=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,d=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);l.forEach((function(e){a.isValidLookup(t)||(i=e,!checkedLoadedFor["".concat(d[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(checkedLoadedFor["".concat(d[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(d.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),d.forEach((function(n){if(!a.isValidLookup(t)){o=n;var i,c=[u];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(c,u,n,e,s);else{var l;p&&(l=a.pluralResolver.getSuffix(n,s.count,s));var d="".concat(a.options.pluralSeparator,"zero");if(p&&(c.push(u+l),f&&c.push(u+d)),g){var h="".concat(u).concat(a.options.contextSeparator).concat(s.context);c.push(h),p&&(c.push(h+l),f&&c.push(h+d))}}for(;i=c.pop();)a.isValidLookup(t)||(r=i,t=a.getResource(n,e,i,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}]),n}();function capitalize(e){return e.charAt(0).toUpperCase()+e.slice(1)}var LanguageUtil=function(){function e(t){_classCallCheck(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=baseLogger.create("languageUtils")}return _createClass(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=capitalize(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=capitalize(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=capitalize(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){return e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:0===e.indexOf(r)?e:void 0}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e))})),o}}]),e}(),sets=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],_rulesPluralsTypes={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},deprecatedJsonVersions=["v1","v2","v3"],suffixesOrder={zero:0,one:1,two:2,few:3,many:4,other:5};function createRules(){var e={};return sets.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:_rulesPluralsTypes[t.fc]}}))})),e}var PluralResolver=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,e),this.languageUtils=t,this.options=n,this.logger=baseLogger.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=createRules()}return _createClass(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return suffixesOrder[e]-suffixesOrder[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var i=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!deprecatedJsonVersions.includes(this.options.compatibilityJSON)}}]),e}();function ownKeys$3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread$3(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$3(Object(n),!0).forEach((function(t){_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys$3(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function deepFindWithDefaults(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=getPathWithDefaults(e,t,n);return!i&&o&&"string"==typeof n&&void 0===(i=deepFind(e,n,r))&&(i=deepFind(t,n,r)),i}var Interpolator=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,e),this.logger=baseLogger.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return _createClass(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:escape,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?regexEscape(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?regexEscape(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?regexEscape(t.nestingPrefix):t.nestingPrefixEscaped||regexEscape("$t("),this.nestingSuffix=t.nestingSuffix?regexEscape(t.nestingSuffix):t.nestingSuffixEscaped||regexEscape(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,s=this,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var l=function(e){if(e.indexOf(s.formatSeparator)<0){var o=deepFindWithDefaults(t,c,e,s.options.keySeparator,s.options.ignoreJSONStructure);return s.alwaysFormat?s.format(o,void 0,n,_objectSpread$3(_objectSpread$3(_objectSpread$3({},r),t),{},{interpolationkey:e})):o}var i=e.split(s.formatSeparator),a=i.shift().trim(),u=i.join(s.formatSeparator).trim();return s.format(deepFindWithDefaults(t,c,a,s.options.keySeparator,s.options.ignoreJSONStructure),u,n,_objectSpread$3(_objectSpread$3(_objectSpread$3({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var p=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,f=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?u(s.escape(e)):u(e)}}].forEach((function(t){for(a=0;o=t.regex.exec(e);){var n=o[1].trim();if(void 0===(i=l(n)))if("function"==typeof p){var c=p(e,o,r);i="string"==typeof c?c:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))i="";else{if(f){i=o[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),i=""}else"string"==typeof i||s.useRawValueToEscape||(i=makeString(i));var u=t.safeValue(i);if(e=e.replace(o[0],u),f?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0];var a=(i=this.interpolate(i,o)).match(/'/g),s=i.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o=_objectSpread$3(_objectSpread$3({},t),o))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(i)}return delete o.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){var c=[];(o=(o=_objectSpread$3({},a)).replace&&"string"!=typeof o.replace?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;var u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var l=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=l.shift(),c=l,u=!0}if((r=t(s.call(this,n[1].trim(),o),o))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=makeString(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),u&&(r=c.reduce((function(e,t){return i.format(e,t,a.lng,_objectSpread$3(_objectSpread$3({},a),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function ownKeys$2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread$2(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$2(Object(n),!0).forEach((function(t){_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys$2(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function parseFormatStr(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);if("currency"===t&&o.indexOf(":")<0)n.currency||(n.currency=o.trim());else if("relativetime"===t&&o.indexOf(":")<0)n.range||(n.range=o.trim());else{o.split(";").forEach((function(e){if(e){var t=_toArray(e.split(":")),r=t[0],o=t.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[r.trim()]||(n[r.trim()]=o),"false"===o&&(n[r.trim()]=!1),"true"===o&&(n[r.trim()]=!0),isNaN(o)||(n[r.trim()]=parseInt(o,10))}}))}}return{formatName:t,formatOptions:n}}function createCachedFormatter(e){var t={};return function(n,r,o){var i=r+JSON.stringify(o),a=t[i];return a||(a=e(r,o),t[i]=a),a(n)}}var Formatter=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,e),this.logger=baseLogger.create("formatter"),this.options=t,this.formats={number:createCachedFormatter((function(e,t){var n=new Intl.NumberFormat(e,_objectSpread$2({},t));return function(e){return n.format(e)}})),currency:createCachedFormatter((function(e,t){var n=new Intl.NumberFormat(e,_objectSpread$2(_objectSpread$2({},t),{},{style:"currency"}));return function(e){return n.format(e)}})),datetime:createCachedFormatter((function(e,t){var n=new Intl.DateTimeFormat(e,_objectSpread$2({},t));return function(e){return n.format(e)}})),relativetime:createCachedFormatter((function(e,t){var n=new Intl.RelativeTimeFormat(e,_objectSpread$2({},t));return function(e){return n.format(e,t.range||"day")}})),list:createCachedFormatter((function(e,t){var n=new Intl.ListFormat(e,_objectSpread$2({},t));return function(e){return n.format(e)}}))},this.init(t)}return _createClass(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=createCachedFormatter(t)}},{key:"format",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce((function(e,t){var i=parseFormatStr(t),a=i.formatName,s=i.formatOptions;if(r.formats[a]){var c=e;try{var u=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},l=u.locale||u.lng||o.locale||o.lng||n;c=r.formats[a](e,l,_objectSpread$2(_objectSpread$2(_objectSpread$2({},s),o),u))}catch(e){r.logger.warn(e)}return c}return r.logger.warn("there was no format function for ".concat(a)),e}),e)}}]),e}();function ownKeys$1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread$1(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$1(Object(n),!0).forEach((function(t){_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys$1(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _createSuper$1(e){var t=_isNativeReflectConstruct$1();return function(){var n,r=_getPrototypeOf(e);if(t){var o=_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _isNativeReflectConstruct$1(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function removePending(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}var Connector=function(e){_inherits(n,EventEmitter);var t=_createSuper$1(n);function n(e,r,o){var i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return _classCallCheck(this,n),i=t.call(this),isIE10&&EventEmitter.call(_assertThisInitialized(i)),i.backend=e,i.store=r,i.services=o,i.languageUtils=o.languageUtils,i.options=a,i.logger=baseLogger.create("backendConnector"),i.waitingReads=[],i.maxParallelReads=a.maxParallelReads||10,i.readingCalls=0,i.maxRetries=a.maxRetries>=0?a.maxRetries:5,i.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(o,a.backend,a),i}return _createClass(n,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i={},a={},s={},c={};return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?void 0===a[s]&&(a[s]=!0):(o.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===i[s]&&(i[s]=!0),void 0===c[t]&&(c[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(c)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){pushPath(n.loaded,[o],i),removePending(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach((function(t){void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads)this.waitingReads.push({lng:e,ns:t,fcName:n,tried:o,wait:i,callback:a});else{this.readingCalls++;var s=function(s,c){if(r.readingCalls--,r.waitingReads.length>0){var u=r.waitingReads.shift();r.read(u.lng,u.ns,u.fcName,u.tried,u.wait,u.callback)}s&&c&&o<r.maxRetries?setTimeout((function(){r.read.call(r,e,t,n,o+1,2*i,a)}),i):a(s,c)},c=this.backend[n].bind(this.backend);if(2!==c.length)return c(e,t,s);try{var u=c(e,t);u&&"function"==typeof u.then?u.then((function(e){return s(null,e)})).catch(s):s(null,u)}catch(e){s(e)}}}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=n&&""!==n){if(this.backend&&this.backend.create){var s=_objectSpread$1(_objectSpread$1({},i),{},{isUpdate:o}),c=this.backend.create.bind(this.backend);if(c.length<6)try{var u;(u=5===c.length?c(e,t,n,r,s):c(e,t,n,r))&&"function"==typeof u.then?u.then((function(e){return a(null,e)})).catch(a):a(null,u)}catch(e){a(e)}else c(e,t,n,r,a,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}]),n}();function get(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===_typeof(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===_typeof(e[2])||"object"===_typeof(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function transformOptions(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach((function(t){_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var n,r=_getPrototypeOf(e);if(t){var o=_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function noop(){}function bindMemberFunctions(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))}))}var I18n=function(e){_inherits(n,EventEmitter);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(_classCallCheck(this,n),e=t.call(this),isIE10&&EventEmitter.call(_assertThisInitialized(e)),e.options=transformOptions(r),e.services={},e.logger=baseLogger,e.modules={external:[]},bindMemberFunctions(_assertThisInitialized(e)),o&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,o),_possibleConstructorReturn(e,_assertThisInitialized(e));setTimeout((function(){e.init(r,o)}),0)}return e}return _createClass(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var r=get();function o(e){return e?"function"==typeof e?new e:e:null}if(this.options=_objectSpread(_objectSpread(_objectSpread({},r),this.options),transformOptions(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=_objectSpread(_objectSpread({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var i;this.modules.logger?baseLogger.init(o(this.modules.logger),this.options):baseLogger.init(null,this.options),this.modules.formatter?i=this.modules.formatter:"undefined"!=typeof Intl&&(i=Formatter);var a=new LanguageUtil(this.options);this.store=new ResourceStore(this.options.resources,this.options);var s=this.services;s.logger=baseLogger,s.resourceStore=this.store,s.languageUtils=a,s.pluralResolver=new PluralResolver(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!i||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(s.formatter=o(i),s.formatter.init(s,this.options),this.options.interpolation.format=s.formatter.format.bind(s.formatter)),s.interpolator=new Interpolator(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new Connector(o(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(s.languageDetector=o(this.modules.languageDetector),s.languageDetector.init&&s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=o(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new Translator(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=noop),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&"dev"!==c[0]&&(this.options.lng=c[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var u=defer(),l=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),u}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:noop,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var o=[],i=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e)}))};if(r)i(r);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return i(e)}));this.options.preload&&this.options.preload.forEach((function(e){return i(e)})),this.services.backendConnector.load(o,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=defer();return e||(e=this.languages),t||(t=this.options.ns),n||(n=noop),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&postProcessor.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=defer();this.emit("languageChanging",e);var o=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},i=function(i){e||i||!n.services.languageDetector||(i=[]);var a="string"==typeof i?i:n.services.languageUtils.getBestMatchFromCodes(i);a&&(n.language||o(a),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,(function(e){!function(e,i){i?(o(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,a)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(i):this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,o=function e(t,o){var i;if("object"!==_typeof(o)){for(var a=arguments.length,s=new Array(a>2?a-2:0),c=2;c<a;c++)s[c-2]=arguments[c];i=r.options.overloadTranslationOptionHandler([t,o].concat(s))}else i=_objectSpread({},o);i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns,i.keyPrefix=i.keyPrefix||n||e.keyPrefix;var u,l=r.options.keySeparator||".";return u=i.keyPrefix&&Array.isArray(t)?t.map((function(e){return"".concat(i.keyPrefix).concat(l).concat(e)})):i.keyPrefix?"".concat(i.keyPrefix).concat(l).concat(t):t,r.t(u,i)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!a(r,e)||o&&!a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=defer();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=defer();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";var t=this.services&&this.services.languageUtils||new LanguageUtil(get());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:noop,o=_objectSpread(_objectSpread(_objectSpread({},this.options),t),{isClone:!0}),i=new n(o);void 0===t.debug&&void 0===t.prefix||(i.logger=i.logger.clone(t));return["store","services","language"].forEach((function(t){i[t]=e[t]})),i.services=_objectSpread({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new Translator(i.services,i.options),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))})),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}();_defineProperty(I18n,"createInstance",(function(){return new I18n(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var instance=I18n.createInstance();instance.createInstance=I18n.createInstance;class I18nextService{constructor(e,t){this.i18next=instance,Array.isArray(t)?t=new Set(t):"function"==typeof t&&(t=new Set([t])),this.i18next.isInitialized||this.i18next.init({lng:e}),void 0!==t&&t.forEach((e=>e(((e,t)=>(this.addResourceBundle(e,t),e)))))}addResourceBundle(e,t){this.i18next.addResourceBundle(e,"translation",t,!0)}translate(e,t){return this.i18next.t(e,Object.assign({count:null==t?void 0:t.count},null==t?void 0:t.placeholders))}}const register=(e,t,n)=>{var r,o;try{void 0===STORE.I18n&&Object.defineProperty(STORE,"I18n",{value:new I18nextService(null!==(o=null===(r=null==n?void 0:n.translation)||void 0===r?void 0:r.name)&&void 0!==o?o:"de",null==n?void 0:n.translations),writable:!1})}catch(e){}return register$1(e,t,n)},getI18nService=()=>null==STORE?void 0:STORE.I18n;export{getI18nService as g,register as r};