@blateral/b.kit 2.3.0-beta.1.0 → 2.3.0-beta.1.1

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 (1013) hide show
  1. package/base/package.json +4 -4
  2. package/blocks/package.json +4 -4
  3. package/buttons/package.json +4 -4
  4. package/{lib/cjs → cjs}/Actions-487104b2.js +0 -0
  5. package/cjs/Actions-487104b2.js.map +1 -0
  6. package/{lib/cjs → cjs}/Bdot-760e0e3a.js +0 -0
  7. package/cjs/Bdot-760e0e3a.js.map +1 -0
  8. package/{lib/cjs → cjs}/ButtonGhost-e9644acd.js +0 -0
  9. package/cjs/ButtonGhost-e9644acd.js.map +1 -0
  10. package/{lib/cjs → cjs}/Callout-2713f870.js +0 -0
  11. package/cjs/Callout-2713f870.js.map +1 -0
  12. package/{lib/cjs → cjs}/Checkbox-14000bf0.js +0 -0
  13. package/cjs/Checkbox-14000bf0.js.map +1 -0
  14. package/{lib/cjs → cjs}/ClockFilled-2483aa4a.js +0 -0
  15. package/cjs/ClockFilled-2483aa4a.js.map +1 -0
  16. package/{lib/cjs → cjs}/Control-23259241.js +0 -0
  17. package/cjs/Control-23259241.js.map +1 -0
  18. package/{lib/cjs → cjs}/Copy-e860efe7.js +0 -0
  19. package/cjs/Copy-e860efe7.js.map +1 -0
  20. package/{lib/cjs → cjs}/FilterField-569d60e5.js +0 -0
  21. package/cjs/FilterField-569d60e5.js.map +1 -0
  22. package/{lib/cjs → cjs}/LibThemeProvider-fb99fd6d.js +0 -0
  23. package/cjs/LibThemeProvider-fb99fd6d.js.map +1 -0
  24. package/{lib/cjs → cjs}/Link-70143bb7.js +0 -0
  25. package/cjs/Link-70143bb7.js.map +1 -0
  26. package/{lib/cjs → cjs}/Navigation-ebb27a9b.js +0 -0
  27. package/cjs/Navigation-ebb27a9b.js.map +1 -0
  28. package/{lib/cjs → cjs}/SocialList-79ddf9d6.js +0 -0
  29. package/cjs/SocialList-79ddf9d6.js.map +1 -0
  30. package/{lib/cjs → cjs}/Wrapper-3b9c9e89.js +0 -0
  31. package/cjs/Wrapper-3b9c9e89.js.map +1 -0
  32. package/{lib/cjs → cjs}/arrays-c272ed59.js +0 -0
  33. package/cjs/arrays-c272ed59.js.map +1 -0
  34. package/{lib/cjs → cjs}/base.js +0 -0
  35. package/{lib/cjs → cjs}/base.js.map +0 -0
  36. package/{lib/cjs → cjs}/blocks.js +0 -0
  37. package/{lib/cjs → cjs}/blocks.js.map +0 -0
  38. package/{lib/cjs → cjs}/buttons.js +0 -0
  39. package/{lib/cjs → cjs}/buttons.js.map +0 -0
  40. package/{lib/cjs → cjs}/clamp-bd21d587.js +0 -0
  41. package/cjs/clamp-bd21d587.js.map +1 -0
  42. package/{lib/cjs → cjs}/concat-f387d848.js +0 -0
  43. package/cjs/concat-f387d848.js.map +1 -0
  44. package/{lib/cjs → cjs}/cookies.js +0 -0
  45. package/cjs/cookies.js.map +1 -0
  46. package/{lib/cjs → cjs}/fields.js +0 -0
  47. package/cjs/fields.js.map +1 -0
  48. package/{lib/cjs → cjs}/hexRgbConverter-91b28aea.js +0 -0
  49. package/cjs/hexRgbConverter-91b28aea.js.map +1 -0
  50. package/{lib/cjs → cjs}/hooks.js +0 -0
  51. package/cjs/hooks.js.map +1 -0
  52. package/{lib/cjs → cjs}/icons.js +0 -0
  53. package/{lib/cjs → cjs}/icons.js.map +0 -0
  54. package/{lib/cjs → cjs}/index.js +0 -0
  55. package/{lib/cjs → cjs}/index.js.map +0 -0
  56. package/{lib/cjs → cjs}/navigation-bf154e6e.js +0 -0
  57. package/cjs/navigation-bf154e6e.js.map +1 -0
  58. package/{lib/cjs → cjs}/navigation.js +0 -0
  59. package/cjs/navigation.js.map +1 -0
  60. package/{lib/cjs → cjs}/sections.js +0 -0
  61. package/cjs/sections.js.map +1 -0
  62. package/{lib/cjs → cjs}/styles-0f1a0aea.js +0 -0
  63. package/cjs/styles-0f1a0aea.js.map +1 -0
  64. package/{lib/cjs → cjs}/typography.js +0 -0
  65. package/{lib/cjs → cjs}/typography.js.map +0 -0
  66. package/{lib/cjs → cjs}/urlParams-51ce7168.js +0 -0
  67. package/cjs/urlParams-51ce7168.js.map +1 -0
  68. package/{lib/cjs → cjs}/useCookieConsent-0bf94751.js +0 -0
  69. package/cjs/useCookieConsent-0bf94751.js.map +1 -0
  70. package/{lib/cjs → cjs}/useGeolocation-4d38150b.js +0 -0
  71. package/cjs/useGeolocation-4d38150b.js.map +1 -0
  72. package/{lib/cjs → cjs}/useMediaQuery-d4f81f88.js +0 -0
  73. package/cjs/useMediaQuery-d4f81f88.js.map +1 -0
  74. package/{lib/cjs → cjs}/useMounted-0bba9869.js +0 -0
  75. package/cjs/useMounted-0bba9869.js.map +1 -0
  76. package/{lib/cjs → cjs}/useObserverSupport-5ab320dd.js +0 -0
  77. package/cjs/useObserverSupport-5ab320dd.js.map +1 -0
  78. package/{lib/cjs → cjs}/useUpdateEffect-4d233e2c.js +0 -0
  79. package/cjs/useUpdateEffect-4d233e2c.js.map +1 -0
  80. package/cookies/package.json +4 -4
  81. package/{lib/esm → esm}/Actions-59bdbbf7.js +0 -0
  82. package/esm/Actions-59bdbbf7.js.map +1 -0
  83. package/{lib/esm → esm}/Bdot-a103eeef.js +0 -0
  84. package/esm/Bdot-a103eeef.js.map +1 -0
  85. package/{lib/esm → esm}/ButtonGhost-422fd723.js +0 -0
  86. package/esm/ButtonGhost-422fd723.js.map +1 -0
  87. package/{lib/esm → esm}/Callout-03ad4c6e.js +0 -0
  88. package/esm/Callout-03ad4c6e.js.map +1 -0
  89. package/{lib/esm → esm}/Checkbox-76c2576b.js +0 -0
  90. package/esm/Checkbox-76c2576b.js.map +1 -0
  91. package/{lib/esm → esm}/ClockFilled-cff5900e.js +0 -0
  92. package/esm/ClockFilled-cff5900e.js.map +1 -0
  93. package/{lib/esm → esm}/Control-52ff8784.js +0 -0
  94. package/esm/Control-52ff8784.js.map +1 -0
  95. package/{lib/esm → esm}/Copy-d2be4fb7.js +0 -0
  96. package/esm/Copy-d2be4fb7.js.map +1 -0
  97. package/{lib/esm → esm}/FilterField-b1a28df7.js +0 -0
  98. package/esm/FilterField-b1a28df7.js.map +1 -0
  99. package/{lib/esm → esm}/LibThemeProvider-17012395.js +0 -0
  100. package/esm/LibThemeProvider-17012395.js.map +1 -0
  101. package/{lib/esm → esm}/Link-42f0b80f.js +0 -0
  102. package/esm/Link-42f0b80f.js.map +1 -0
  103. package/{lib/esm → esm}/Navigation-fae92776.js +0 -0
  104. package/esm/Navigation-fae92776.js.map +1 -0
  105. package/{lib/esm → esm}/SocialList-385cde53.js +0 -0
  106. package/esm/SocialList-385cde53.js.map +1 -0
  107. package/{lib/esm → esm}/Wrapper-38c912a6.js +0 -0
  108. package/esm/Wrapper-38c912a6.js.map +1 -0
  109. package/{lib/esm → esm}/arrays-65b644ef.js +0 -0
  110. package/esm/arrays-65b644ef.js.map +1 -0
  111. package/{lib/esm → esm}/base.js +0 -0
  112. package/{lib/esm → esm}/base.js.map +0 -0
  113. package/{lib/esm → esm}/blocks.js +0 -0
  114. package/{lib/esm → esm}/blocks.js.map +0 -0
  115. package/{lib/esm → esm}/buttons.js +0 -0
  116. package/{lib/esm → esm}/buttons.js.map +0 -0
  117. package/{lib/esm → esm}/clamp-12d37b65.js +0 -0
  118. package/esm/clamp-12d37b65.js.map +1 -0
  119. package/{lib/esm → esm}/concat-ab3c66f2.js +0 -0
  120. package/esm/concat-ab3c66f2.js.map +1 -0
  121. package/{lib/esm → esm}/cookies.js +0 -0
  122. package/esm/cookies.js.map +1 -0
  123. package/{lib/esm → esm}/fields.js +0 -0
  124. package/esm/fields.js.map +1 -0
  125. package/{lib/esm → esm}/hexRgbConverter-edb91624.js +0 -0
  126. package/esm/hexRgbConverter-edb91624.js.map +1 -0
  127. package/{lib/esm → esm}/hooks.js +0 -0
  128. package/esm/hooks.js.map +1 -0
  129. package/{lib/esm → esm}/icons.js +0 -0
  130. package/{lib/esm → esm}/icons.js.map +0 -0
  131. package/{lib/esm → esm}/index.js +0 -0
  132. package/{lib/esm → esm}/index.js.map +0 -0
  133. package/{lib/esm → esm}/navigation-e135836f.js +0 -0
  134. package/esm/navigation-e135836f.js.map +1 -0
  135. package/{lib/esm → esm}/navigation.js +0 -0
  136. package/esm/navigation.js.map +1 -0
  137. package/{lib/esm → esm}/sections.js +0 -0
  138. package/esm/sections.js.map +1 -0
  139. package/{lib/esm → esm}/styles-eca3acc8.js +0 -0
  140. package/esm/styles-eca3acc8.js.map +1 -0
  141. package/{lib/esm → esm}/typography.js +0 -0
  142. package/{lib/esm → esm}/typography.js.map +0 -0
  143. package/{lib/esm → esm}/urlParams-c16d7370.js +0 -0
  144. package/esm/urlParams-c16d7370.js.map +1 -0
  145. package/{lib/esm → esm}/useCookieConsent-cd262961.js +0 -0
  146. package/esm/useCookieConsent-cd262961.js.map +1 -0
  147. package/{lib/esm → esm}/useGeolocation-c99d76bd.js +0 -0
  148. package/esm/useGeolocation-c99d76bd.js.map +1 -0
  149. package/{lib/esm → esm}/useMediaQuery-07eee3f4.js +0 -0
  150. package/esm/useMediaQuery-07eee3f4.js.map +1 -0
  151. package/{lib/esm → esm}/useMounted-1e4cc87b.js +0 -0
  152. package/esm/useMounted-1e4cc87b.js.map +1 -0
  153. package/{lib/esm → esm}/useObserverSupport-02bce7f5.js +0 -0
  154. package/esm/useObserverSupport-02bce7f5.js.map +1 -0
  155. package/{lib/esm → esm}/useUpdateEffect-824c0c84.js +0 -0
  156. package/esm/useUpdateEffect-824c0c84.js.map +1 -0
  157. package/fields/package.json +4 -4
  158. package/hooks/package.json +4 -4
  159. package/icons/package.json +4 -4
  160. package/navigation/package.json +4 -4
  161. package/package.json +7 -7
  162. package/sections/package.json +4 -4
  163. package/{lib/types → types}/base.d.ts +0 -0
  164. package/types/base.d.ts.map +1 -0
  165. package/{lib/types → types}/blocks.d.ts +0 -0
  166. package/types/blocks.d.ts.map +1 -0
  167. package/{lib/types → types}/buttons.d.ts +0 -0
  168. package/types/buttons.d.ts.map +1 -0
  169. package/{lib/types → types}/components/base/Grid.d.ts +0 -0
  170. package/types/components/base/Grid.d.ts.map +1 -0
  171. package/{lib/types → types}/components/base/Section.d.ts +0 -0
  172. package/types/components/base/Section.d.ts.map +1 -0
  173. package/{lib/types → types}/components/base/Wrapper.d.ts +0 -0
  174. package/types/components/base/Wrapper.d.ts.map +1 -0
  175. package/{lib/types → types}/components/base/icons/AngleDown.d.ts +0 -0
  176. package/types/components/base/icons/AngleDown.d.ts.map +1 -0
  177. package/{lib/types → types}/components/base/icons/AngleLeft.d.ts +0 -0
  178. package/types/components/base/icons/AngleLeft.d.ts.map +1 -0
  179. package/{lib/types → types}/components/base/icons/AngleRight.d.ts +0 -0
  180. package/types/components/base/icons/AngleRight.d.ts.map +1 -0
  181. package/{lib/types → types}/components/base/icons/AngleUp.d.ts +0 -0
  182. package/types/components/base/icons/AngleUp.d.ts.map +1 -0
  183. package/{lib/types → types}/components/base/icons/ArrowDown.d.ts +0 -0
  184. package/types/components/base/icons/ArrowDown.d.ts.map +1 -0
  185. package/{lib/types → types}/components/base/icons/ArrowLeft.d.ts +0 -0
  186. package/types/components/base/icons/ArrowLeft.d.ts.map +1 -0
  187. package/{lib/types → types}/components/base/icons/ArrowLeftGhost.d.ts +0 -0
  188. package/types/components/base/icons/ArrowLeftGhost.d.ts.map +1 -0
  189. package/{lib/types → types}/components/base/icons/ArrowLeftRight.d.ts +0 -0
  190. package/types/components/base/icons/ArrowLeftRight.d.ts.map +1 -0
  191. package/{lib/types → types}/components/base/icons/ArrowRight.d.ts +0 -0
  192. package/types/components/base/icons/ArrowRight.d.ts.map +1 -0
  193. package/{lib/types → types}/components/base/icons/ArrowRightGhost.d.ts +0 -0
  194. package/types/components/base/icons/ArrowRightGhost.d.ts.map +1 -0
  195. package/{lib/types → types}/components/base/icons/ArrowUp.d.ts +0 -0
  196. package/types/components/base/icons/ArrowUp.d.ts.map +1 -0
  197. package/{lib/types → types}/components/base/icons/BoxArrowUpRight.d.ts +0 -0
  198. package/types/components/base/icons/BoxArrowUpRight.d.ts.map +1 -0
  199. package/{lib/types → types}/components/base/icons/CalendarToday.d.ts +0 -0
  200. package/types/components/base/icons/CalendarToday.d.ts.map +1 -0
  201. package/{lib/types → types}/components/base/icons/Category.d.ts +0 -0
  202. package/types/components/base/icons/Category.d.ts.map +1 -0
  203. package/{lib/types → types}/components/base/icons/Check.d.ts +0 -0
  204. package/types/components/base/icons/Check.d.ts.map +1 -0
  205. package/{lib/types → types}/components/base/icons/Clock.d.ts +0 -0
  206. package/types/components/base/icons/Clock.d.ts.map +1 -0
  207. package/{lib/types → types}/components/base/icons/ClockFilled.d.ts +0 -0
  208. package/types/components/base/icons/ClockFilled.d.ts.map +1 -0
  209. package/{lib/types → types}/components/base/icons/Computer.d.ts +0 -0
  210. package/types/components/base/icons/Computer.d.ts.map +1 -0
  211. package/{lib/types → types}/components/base/icons/Cross.d.ts +0 -0
  212. package/types/components/base/icons/Cross.d.ts.map +1 -0
  213. package/{lib/types → types}/components/base/icons/CrossSmall.d.ts +0 -0
  214. package/types/components/base/icons/CrossSmall.d.ts.map +1 -0
  215. package/{lib/types → types}/components/base/icons/CurrentLocation.d.ts +0 -0
  216. package/types/components/base/icons/CurrentLocation.d.ts.map +1 -0
  217. package/{lib/types → types}/components/base/icons/DateRange.d.ts +0 -0
  218. package/types/components/base/icons/DateRange.d.ts.map +1 -0
  219. package/{lib/types → types}/components/base/icons/DeleteForever.d.ts +0 -0
  220. package/types/components/base/icons/DeleteForever.d.ts.map +1 -0
  221. package/{lib/types → types}/components/base/icons/External.d.ts +0 -0
  222. package/types/components/base/icons/External.d.ts.map +1 -0
  223. package/{lib/types → types}/components/base/icons/Filter.d.ts +0 -0
  224. package/types/components/base/icons/Filter.d.ts.map +1 -0
  225. package/{lib/types → types}/components/base/icons/FlyTo.d.ts +0 -0
  226. package/types/components/base/icons/FlyTo.d.ts.map +1 -0
  227. package/{lib/types → types}/components/base/icons/Info.d.ts +0 -0
  228. package/types/components/base/icons/Info.d.ts.map +1 -0
  229. package/{lib/types → types}/components/base/icons/Language.d.ts +0 -0
  230. package/types/components/base/icons/Language.d.ts.map +1 -0
  231. package/{lib/types → types}/components/base/icons/LocationPin.d.ts +0 -0
  232. package/types/components/base/icons/LocationPin.d.ts.map +1 -0
  233. package/{lib/types → types}/components/base/icons/LocationSearch.d.ts +0 -0
  234. package/types/components/base/icons/LocationSearch.d.ts.map +1 -0
  235. package/{lib/types → types}/components/base/icons/Magnifier.d.ts +0 -0
  236. package/types/components/base/icons/Magnifier.d.ts.map +1 -0
  237. package/{lib/types → types}/components/base/icons/Mail.d.ts +0 -0
  238. package/types/components/base/icons/Mail.d.ts.map +1 -0
  239. package/{lib/types → types}/components/base/icons/Map.d.ts +0 -0
  240. package/types/components/base/icons/Map.d.ts.map +1 -0
  241. package/{lib/types → types}/components/base/icons/MenuBurger.d.ts +0 -0
  242. package/types/components/base/icons/MenuBurger.d.ts.map +1 -0
  243. package/{lib/types → types}/components/base/icons/Minus.d.ts +0 -0
  244. package/types/components/base/icons/Minus.d.ts.map +1 -0
  245. package/{lib/types → types}/components/base/icons/Money.d.ts +0 -0
  246. package/types/components/base/icons/Money.d.ts.map +1 -0
  247. package/{lib/types → types}/components/base/icons/MyLocation.d.ts +0 -0
  248. package/types/components/base/icons/MyLocation.d.ts.map +1 -0
  249. package/{lib/types → types}/components/base/icons/Person.d.ts +0 -0
  250. package/types/components/base/icons/Person.d.ts.map +1 -0
  251. package/{lib/types → types}/components/base/icons/Phone.d.ts +0 -0
  252. package/types/components/base/icons/Phone.d.ts.map +1 -0
  253. package/{lib/types → types}/components/base/icons/Place.d.ts +0 -0
  254. package/types/components/base/icons/Place.d.ts.map +1 -0
  255. package/{lib/types → types}/components/base/icons/Play.d.ts +0 -0
  256. package/types/components/base/icons/Play.d.ts.map +1 -0
  257. package/{lib/types → types}/components/base/icons/Plus.d.ts +0 -0
  258. package/types/components/base/icons/Plus.d.ts.map +1 -0
  259. package/{lib/types → types}/components/base/icons/Route.d.ts +0 -0
  260. package/types/components/base/icons/Route.d.ts.map +1 -0
  261. package/{lib/types → types}/components/base/icons/Star.d.ts +0 -0
  262. package/types/components/base/icons/Star.d.ts.map +1 -0
  263. package/{lib/types → types}/components/base/icons/ToggleOff.d.ts +0 -0
  264. package/types/components/base/icons/ToggleOff.d.ts.map +1 -0
  265. package/{lib/types → types}/components/base/icons/ToggleOn.d.ts +0 -0
  266. package/types/components/base/icons/ToggleOn.d.ts.map +1 -0
  267. package/{lib/types → types}/components/base/icons/UnfoldMore.d.ts +0 -0
  268. package/types/components/base/icons/UnfoldMore.d.ts.map +1 -0
  269. package/{lib/types → types}/components/base/icons/files/Excel.d.ts +0 -0
  270. package/types/components/base/icons/files/Excel.d.ts.map +1 -0
  271. package/{lib/types → types}/components/base/icons/files/Image.d.ts +0 -0
  272. package/types/components/base/icons/files/Image.d.ts.map +1 -0
  273. package/{lib/types → types}/components/base/icons/files/Pdf.d.ts +0 -0
  274. package/types/components/base/icons/files/Pdf.d.ts.map +1 -0
  275. package/{lib/types → types}/components/base/icons/files/PowerPoint.d.ts +0 -0
  276. package/types/components/base/icons/files/PowerPoint.d.ts.map +1 -0
  277. package/{lib/types → types}/components/base/icons/files/UploadFile.d.ts +0 -0
  278. package/types/components/base/icons/files/UploadFile.d.ts.map +1 -0
  279. package/{lib/types → types}/components/base/icons/files/Word.d.ts +0 -0
  280. package/types/components/base/icons/files/Word.d.ts.map +1 -0
  281. package/{lib/types → types}/components/base/icons/files/Zip.d.ts +0 -0
  282. package/types/components/base/icons/files/Zip.d.ts.map +1 -0
  283. package/{lib/types → types}/components/base/icons/socials/Facebook.d.ts +0 -0
  284. package/types/components/base/icons/socials/Facebook.d.ts.map +1 -0
  285. package/{lib/types → types}/components/base/icons/socials/Instagram.d.ts +0 -0
  286. package/types/components/base/icons/socials/Instagram.d.ts.map +1 -0
  287. package/{lib/types → types}/components/base/icons/socials/LinkedIn.d.ts +0 -0
  288. package/types/components/base/icons/socials/LinkedIn.d.ts.map +1 -0
  289. package/{lib/types → types}/components/base/icons/socials/Twitter.d.ts +0 -0
  290. package/types/components/base/icons/socials/Twitter.d.ts.map +1 -0
  291. package/{lib/types → types}/components/base/icons/socials/Xing.d.ts +0 -0
  292. package/types/components/base/icons/socials/Xing.d.ts.map +1 -0
  293. package/{lib/types → types}/components/base/icons/socials/Youtube.d.ts +0 -0
  294. package/types/components/base/icons/socials/Youtube.d.ts.map +1 -0
  295. package/{lib/types → types}/components/base/nl2br.d.ts +0 -0
  296. package/types/components/base/nl2br.d.ts.map +1 -0
  297. package/{lib/types → types}/components/blocks/Actions.d.ts +0 -0
  298. package/types/components/blocks/Actions.d.ts.map +1 -0
  299. package/{lib/types → types}/components/blocks/Alert.d.ts +0 -0
  300. package/types/components/blocks/Alert.d.ts.map +1 -0
  301. package/{lib/types → types}/components/blocks/Bdot.d.ts +0 -0
  302. package/types/components/blocks/Bdot.d.ts.map +1 -0
  303. package/{lib/types → types}/components/blocks/CookieConsent.d.ts +0 -0
  304. package/types/components/blocks/CookieConsent.d.ts.map +1 -0
  305. package/{lib/types → types}/components/blocks/EventBlock.d.ts +0 -0
  306. package/types/components/blocks/EventBlock.d.ts.map +1 -0
  307. package/{lib/types → types}/components/blocks/Fact.d.ts +0 -0
  308. package/types/components/blocks/Fact.d.ts.map +1 -0
  309. package/{lib/types → types}/components/blocks/Feature.d.ts +0 -0
  310. package/types/components/blocks/Feature.d.ts.map +1 -0
  311. package/{lib/types → types}/components/blocks/Image.d.ts +0 -0
  312. package/types/components/blocks/Image.d.ts.map +1 -0
  313. package/{lib/types → types}/components/blocks/InfoList.d.ts +0 -0
  314. package/types/components/blocks/InfoList.d.ts.map +1 -0
  315. package/{lib/types → types}/components/blocks/IntroBlock.d.ts +0 -0
  316. package/types/components/blocks/IntroBlock.d.ts.map +1 -0
  317. package/{lib/types → types}/components/blocks/JobCard.d.ts +0 -0
  318. package/types/components/blocks/JobCard.d.ts.map +1 -0
  319. package/{lib/types → types}/components/blocks/LanguageSwitcher.d.ts +0 -0
  320. package/types/components/blocks/LanguageSwitcher.d.ts.map +1 -0
  321. package/{lib/types → types}/components/blocks/NavBlock.d.ts +0 -0
  322. package/types/components/blocks/NavBlock.d.ts.map +1 -0
  323. package/{lib/types → types}/components/blocks/NewsCard.d.ts +0 -0
  324. package/types/components/blocks/NewsCard.d.ts.map +1 -0
  325. package/{lib/types → types}/components/blocks/POICard.d.ts +0 -0
  326. package/types/components/blocks/POICard.d.ts.map +1 -0
  327. package/{lib/types → types}/components/blocks/POIFacts.d.ts +0 -0
  328. package/types/components/blocks/POIFacts.d.ts.map +1 -0
  329. package/{lib/types → types}/components/blocks/PriceTag.d.ts +0 -0
  330. package/types/components/blocks/PriceTag.d.ts.map +1 -0
  331. package/{lib/types → types}/components/blocks/PromotionCard.d.ts +0 -0
  332. package/types/components/blocks/PromotionCard.d.ts.map +1 -0
  333. package/{lib/types → types}/components/blocks/SocialList.d.ts +0 -0
  334. package/types/components/blocks/SocialList.d.ts.map +1 -0
  335. package/{lib/types → types}/components/blocks/TableBlock.d.ts +0 -0
  336. package/types/components/blocks/TableBlock.d.ts.map +1 -0
  337. package/{lib/types → types}/components/blocks/Tag.d.ts +0 -0
  338. package/types/components/blocks/Tag.d.ts.map +1 -0
  339. package/{lib/types → types}/components/blocks/Title.d.ts +0 -0
  340. package/types/components/blocks/Title.d.ts.map +1 -0
  341. package/{lib/types → types}/components/blocks/VideoBlock.d.ts +0 -0
  342. package/types/components/blocks/VideoBlock.d.ts.map +1 -0
  343. package/{lib/types → types}/components/blocks/VideoCard.d.ts +0 -0
  344. package/types/components/blocks/VideoCard.d.ts.map +1 -0
  345. package/{lib/types → types}/components/buttons/Button.d.ts +0 -0
  346. package/types/components/buttons/Button.d.ts.map +1 -0
  347. package/{lib/types → types}/components/buttons/ButtonGhost.d.ts +0 -0
  348. package/types/components/buttons/ButtonGhost.d.ts.map +1 -0
  349. package/{lib/types → types}/components/buttons/Control.d.ts +0 -0
  350. package/types/components/buttons/Control.d.ts.map +1 -0
  351. package/{lib/types → types}/components/buttons/Pointer.d.ts +0 -0
  352. package/types/components/buttons/Pointer.d.ts.map +1 -0
  353. package/{lib/types → types}/components/debug/DebugLines.d.ts +0 -0
  354. package/types/components/debug/DebugLines.d.ts.map +1 -0
  355. package/{lib/types → types}/components/examples/hooks/ArrayHookExample.d.ts +0 -0
  356. package/types/components/examples/hooks/ArrayHookExample.d.ts.map +1 -0
  357. package/{lib/types → types}/components/examples/hooks/IntervalHookExample.d.ts +0 -0
  358. package/types/components/examples/hooks/IntervalHookExample.d.ts.map +1 -0
  359. package/{lib/types → types}/components/fields/Checkbox.d.ts +0 -0
  360. package/types/components/fields/Checkbox.d.ts.map +1 -0
  361. package/{lib/types → types}/components/fields/CompactForm.d.ts +0 -0
  362. package/types/components/fields/CompactForm.d.ts.map +1 -0
  363. package/{lib/types → types}/components/fields/Datepicker.d.ts +0 -0
  364. package/types/components/fields/Datepicker.d.ts.map +1 -0
  365. package/{lib/types → types}/components/fields/FileUpload.d.ts +0 -0
  366. package/types/components/fields/FileUpload.d.ts.map +1 -0
  367. package/{lib/types → types}/components/fields/FilterField.d.ts +0 -0
  368. package/types/components/fields/FilterField.d.ts.map +1 -0
  369. package/{lib/types → types}/components/fields/FormField.d.ts +0 -0
  370. package/types/components/fields/FormField.d.ts.map +1 -0
  371. package/{lib/types → types}/components/fields/LocationField.d.ts +0 -0
  372. package/types/components/fields/LocationField.d.ts.map +1 -0
  373. package/{lib/types → types}/components/fields/Radio.d.ts +0 -0
  374. package/types/components/fields/Radio.d.ts.map +1 -0
  375. package/{lib/types → types}/components/fields/SearchInput.d.ts +0 -0
  376. package/types/components/fields/SearchInput.d.ts.map +1 -0
  377. package/{lib/types → types}/components/fields/SelectDropdown.d.ts +0 -0
  378. package/types/components/fields/SelectDropdown.d.ts.map +1 -0
  379. package/{lib/types → types}/components/fields/Textarea.d.ts +0 -0
  380. package/types/components/fields/Textarea.d.ts.map +1 -0
  381. package/{lib/types → types}/components/fields/Textfield.d.ts +0 -0
  382. package/types/components/fields/Textfield.d.ts.map +1 -0
  383. package/{lib/types → types}/components/sections/Accordion.d.ts +0 -0
  384. package/types/components/sections/Accordion.d.ts.map +1 -0
  385. package/{lib/types → types}/components/sections/AlertList.d.ts +0 -0
  386. package/types/components/sections/AlertList.d.ts.map +1 -0
  387. package/{lib/types → types}/components/sections/Article.d.ts +0 -0
  388. package/types/components/sections/Article.d.ts.map +1 -0
  389. package/{lib/types → types}/components/sections/CallToAction.d.ts +0 -0
  390. package/types/components/sections/CallToAction.d.ts.map +1 -0
  391. package/{lib/types → types}/components/sections/CardList.d.ts +0 -0
  392. package/types/components/sections/CardList.d.ts.map +1 -0
  393. package/{lib/types → types}/components/sections/ComparisonSlider.d.ts +0 -0
  394. package/types/components/sections/ComparisonSlider.d.ts.map +1 -0
  395. package/{lib/types → types}/components/sections/CrossPromotion.d.ts +0 -0
  396. package/types/components/sections/CrossPromotion.d.ts.map +1 -0
  397. package/{lib/types → types}/components/sections/FactGrid.d.ts +0 -0
  398. package/types/components/sections/FactGrid.d.ts.map +1 -0
  399. package/{lib/types → types}/components/sections/FactList.d.ts +0 -0
  400. package/types/components/sections/FactList.d.ts.map +1 -0
  401. package/{lib/types → types}/components/sections/FeatureList.d.ts +0 -0
  402. package/types/components/sections/FeatureList.d.ts.map +1 -0
  403. package/{lib/types → types}/components/sections/Gallery.d.ts +0 -0
  404. package/types/components/sections/Gallery.d.ts.map +1 -0
  405. package/{lib/types → types}/components/sections/IconList.d.ts +0 -0
  406. package/types/components/sections/IconList.d.ts.map +1 -0
  407. package/{lib/types → types}/components/sections/IndexList.d.ts +0 -0
  408. package/types/components/sections/IndexList.d.ts.map +1 -0
  409. package/{lib/types → types}/components/sections/Intro.d.ts +0 -0
  410. package/types/components/sections/Intro.d.ts.map +1 -0
  411. package/{lib/types → types}/components/sections/Map.d.ts +0 -0
  412. package/types/components/sections/Map.d.ts.map +1 -0
  413. package/{lib/types → types}/components/sections/NavList.d.ts +0 -0
  414. package/types/components/sections/NavList.d.ts.map +1 -0
  415. package/{lib/types → types}/components/sections/NewsletterForm.d.ts +0 -0
  416. package/types/components/sections/NewsletterForm.d.ts.map +1 -0
  417. package/{lib/types → types}/components/sections/NumberList.d.ts +0 -0
  418. package/types/components/sections/NumberList.d.ts.map +1 -0
  419. package/{lib/types → types}/components/sections/ParallaxBackground.d.ts +0 -0
  420. package/types/components/sections/ParallaxBackground.d.ts.map +1 -0
  421. package/{lib/types → types}/components/sections/Poster.d.ts +0 -0
  422. package/types/components/sections/Poster.d.ts.map +1 -0
  423. package/{lib/types → types}/components/sections/PriceList.d.ts +0 -0
  424. package/types/components/sections/PriceList.d.ts.map +1 -0
  425. package/{lib/types → types}/components/sections/PriceTable.d.ts +0 -0
  426. package/types/components/sections/PriceTable.d.ts.map +1 -0
  427. package/{lib/types → types}/components/sections/Quote.d.ts +0 -0
  428. package/types/components/sections/Quote.d.ts.map +1 -0
  429. package/{lib/types → types}/components/sections/RawVideo.d.ts +0 -0
  430. package/types/components/sections/RawVideo.d.ts.map +1 -0
  431. package/{lib/types → types}/components/sections/SimpleImage.d.ts +0 -0
  432. package/types/components/sections/SimpleImage.d.ts.map +1 -0
  433. package/{lib/types → types}/components/sections/SocialWall.d.ts +0 -0
  434. package/types/components/sections/SocialWall.d.ts.map +1 -0
  435. package/{lib/types → types}/components/sections/Table.d.ts +0 -0
  436. package/types/components/sections/Table.d.ts.map +1 -0
  437. package/{lib/types → types}/components/sections/Teaser.d.ts +0 -0
  438. package/types/components/sections/Teaser.d.ts.map +1 -0
  439. package/{lib/types → types}/components/sections/TeaserWide.d.ts +0 -0
  440. package/types/components/sections/TeaserWide.d.ts.map +1 -0
  441. package/{lib/types → types}/components/sections/Timeline.d.ts +0 -0
  442. package/types/components/sections/Timeline.d.ts.map +1 -0
  443. package/{lib/types → types}/components/sections/Video.d.ts +0 -0
  444. package/types/components/sections/Video.d.ts.map +1 -0
  445. package/{lib/types → types}/components/sections/events/EventDetail.d.ts +0 -0
  446. package/types/components/sections/events/EventDetail.d.ts.map +1 -0
  447. package/{lib/types → types}/components/sections/events/EventList.d.ts +0 -0
  448. package/types/components/sections/events/EventList.d.ts.map +1 -0
  449. package/{lib/types → types}/components/sections/events/EventOverview.d.ts +0 -0
  450. package/types/components/sections/events/EventOverview.d.ts.map +1 -0
  451. package/{lib/types → types}/components/sections/footer/Footer.d.ts +0 -0
  452. package/types/components/sections/footer/Footer.d.ts.map +1 -0
  453. package/{lib/types → types}/components/sections/footer/partials/FooterBottomBar.d.ts +0 -0
  454. package/types/components/sections/footer/partials/FooterBottomBar.d.ts.map +1 -0
  455. package/{lib/types → types}/components/sections/footer/partials/FooterColumn.d.ts +0 -0
  456. package/types/components/sections/footer/partials/FooterColumn.d.ts.map +1 -0
  457. package/{lib/types → types}/components/sections/footer/partials/index.d.ts +0 -0
  458. package/types/components/sections/footer/partials/index.d.ts.map +1 -0
  459. package/{lib/types → types}/components/sections/footer/skeletons/FooterArticle.d.ts +0 -0
  460. package/types/components/sections/footer/skeletons/FooterArticle.d.ts.map +1 -0
  461. package/{lib/types → types}/components/sections/footer/skeletons/FooterBottomGrid.d.ts +0 -0
  462. package/types/components/sections/footer/skeletons/FooterBottomGrid.d.ts.map +1 -0
  463. package/{lib/types → types}/components/sections/footer/skeletons/index.d.ts +0 -0
  464. package/types/components/sections/footer/skeletons/index.d.ts.map +1 -0
  465. package/{lib/types → types}/components/sections/form/DynamicForm.d.ts +0 -0
  466. package/types/components/sections/form/DynamicForm.d.ts.map +1 -0
  467. package/{lib/types → types}/components/sections/form/renderer/areaRenderer.d.ts +0 -0
  468. package/types/components/sections/form/renderer/areaRenderer.d.ts.map +1 -0
  469. package/{lib/types → types}/components/sections/form/renderer/datepickerRenderer.d.ts +0 -0
  470. package/types/components/sections/form/renderer/datepickerRenderer.d.ts.map +1 -0
  471. package/{lib/types → types}/components/sections/form/renderer/fieldGroupRenderer.d.ts +0 -0
  472. package/types/components/sections/form/renderer/fieldGroupRenderer.d.ts.map +1 -0
  473. package/{lib/types → types}/components/sections/form/renderer/fieldRenderer.d.ts +0 -0
  474. package/types/components/sections/form/renderer/fieldRenderer.d.ts.map +1 -0
  475. package/{lib/types → types}/components/sections/form/renderer/locationRenderer.d.ts +0 -0
  476. package/types/components/sections/form/renderer/locationRenderer.d.ts.map +1 -0
  477. package/{lib/types → types}/components/sections/form/renderer/selectRenderer.d.ts +0 -0
  478. package/types/components/sections/form/renderer/selectRenderer.d.ts.map +1 -0
  479. package/{lib/types → types}/components/sections/form/renderer/uploadRenderer.d.ts +0 -0
  480. package/types/components/sections/form/renderer/uploadRenderer.d.ts.map +1 -0
  481. package/{lib/types → types}/components/sections/form/validators/areaValidator.d.ts +0 -0
  482. package/types/components/sections/form/validators/areaValidator.d.ts.map +1 -0
  483. package/{lib/types → types}/components/sections/form/validators/datepickerValidator.d.ts +0 -0
  484. package/types/components/sections/form/validators/datepickerValidator.d.ts.map +1 -0
  485. package/{lib/types → types}/components/sections/form/validators/fieldGroupValidator.d.ts +0 -0
  486. package/types/components/sections/form/validators/fieldGroupValidator.d.ts.map +1 -0
  487. package/{lib/types → types}/components/sections/form/validators/fieldValidator.d.ts +0 -0
  488. package/types/components/sections/form/validators/fieldValidator.d.ts.map +1 -0
  489. package/{lib/types → types}/components/sections/form/validators/locationValidator.d.ts +0 -0
  490. package/types/components/sections/form/validators/locationValidator.d.ts.map +1 -0
  491. package/{lib/types → types}/components/sections/form/validators/selectValidator.d.ts +0 -0
  492. package/types/components/sections/form/validators/selectValidator.d.ts.map +1 -0
  493. package/{lib/types → types}/components/sections/form/validators/uploadValidator.d.ts +0 -0
  494. package/types/components/sections/form/validators/uploadValidator.d.ts.map +1 -0
  495. package/{lib/types → types}/components/sections/header/Header.d.ts +0 -0
  496. package/types/components/sections/header/Header.d.ts.map +1 -0
  497. package/{lib/types → types}/components/sections/header/HeaderKenBurns.d.ts +0 -0
  498. package/types/components/sections/header/HeaderKenBurns.d.ts.map +1 -0
  499. package/{lib/types → types}/components/sections/header/HeaderPoster.d.ts +0 -0
  500. package/types/components/sections/header/HeaderPoster.d.ts.map +1 -0
  501. package/{lib/types → types}/components/sections/header/HeaderVideo.d.ts +0 -0
  502. package/types/components/sections/header/HeaderVideo.d.ts.map +1 -0
  503. package/{lib/types → types}/components/sections/jobs/JobArticle.d.ts +0 -0
  504. package/types/components/sections/jobs/JobArticle.d.ts.map +1 -0
  505. package/{lib/types → types}/components/sections/jobs/JobList.d.ts +0 -0
  506. package/types/components/sections/jobs/JobList.d.ts.map +1 -0
  507. package/{lib/types → types}/components/sections/navigation/NavBar.d.ts +0 -0
  508. package/types/components/sections/navigation/NavBar.d.ts.map +1 -0
  509. package/{lib/types → types}/components/sections/navigation/Navigation.d.ts +0 -0
  510. package/types/components/sections/navigation/Navigation.d.ts.map +1 -0
  511. package/{lib/types → types}/components/sections/navigation/menu/Menu.d.ts +0 -0
  512. package/types/components/sections/navigation/menu/Menu.d.ts.map +1 -0
  513. package/{lib/types → types}/components/sections/navigation/menu/variations/MenuFlyout.d.ts +0 -0
  514. package/types/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -0
  515. package/{lib/types → types}/components/sections/navigation/menu/variations/MenuLarge.d.ts +0 -0
  516. package/types/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +1 -0
  517. package/{lib/types → types}/components/sections/navigation/partials/MenuFooter.d.ts +0 -0
  518. package/types/components/sections/navigation/partials/MenuFooter.d.ts.map +1 -0
  519. package/{lib/types → types}/components/sections/navigation/partials/MenuHeader.d.ts +0 -0
  520. package/types/components/sections/navigation/partials/MenuHeader.d.ts.map +1 -0
  521. package/{lib/types → types}/components/sections/navigation/partials/NavBarBottom.d.ts +0 -0
  522. package/types/components/sections/navigation/partials/NavBarBottom.d.ts.map +1 -0
  523. package/{lib/types → types}/components/sections/navigation/partials/NavBarMain.d.ts +0 -0
  524. package/types/components/sections/navigation/partials/NavBarMain.d.ts.map +1 -0
  525. package/{lib/types → types}/components/sections/navigation/partials/NavBarTop.d.ts +0 -0
  526. package/types/components/sections/navigation/partials/NavBarTop.d.ts.map +1 -0
  527. package/{lib/types → types}/components/sections/navigation/partials/index.d.ts +0 -0
  528. package/types/components/sections/navigation/partials/index.d.ts.map +1 -0
  529. package/{lib/types → types}/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts +0 -0
  530. package/types/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +1 -0
  531. package/{lib/types → types}/components/sections/navigation/skeletons/BarColumn.d.ts +0 -0
  532. package/types/components/sections/navigation/skeletons/BarColumn.d.ts.map +1 -0
  533. package/{lib/types → types}/components/sections/navigation/skeletons/BarLogo.d.ts +0 -0
  534. package/types/components/sections/navigation/skeletons/BarLogo.d.ts.map +1 -0
  535. package/{lib/types → types}/components/sections/navigation/skeletons/BarMenuToggle.d.ts +0 -0
  536. package/types/components/sections/navigation/skeletons/BarMenuToggle.d.ts.map +1 -0
  537. package/{lib/types → types}/components/sections/navigation/skeletons/BarNavList.d.ts +0 -0
  538. package/types/components/sections/navigation/skeletons/BarNavList.d.ts.map +1 -0
  539. package/{lib/types → types}/components/sections/navigation/skeletons/index.d.ts +0 -0
  540. package/types/components/sections/navigation/skeletons/index.d.ts.map +1 -0
  541. package/{lib/types → types}/components/sections/news/NewsAuthorCard.d.ts +0 -0
  542. package/types/components/sections/news/NewsAuthorCard.d.ts.map +1 -0
  543. package/{lib/types → types}/components/sections/news/NewsFooter.d.ts +0 -0
  544. package/types/components/sections/news/NewsFooter.d.ts.map +1 -0
  545. package/{lib/types → types}/components/sections/news/NewsImages.d.ts +0 -0
  546. package/types/components/sections/news/NewsImages.d.ts.map +1 -0
  547. package/{lib/types → types}/components/sections/news/NewsIntro.d.ts +0 -0
  548. package/types/components/sections/news/NewsIntro.d.ts.map +1 -0
  549. package/{lib/types → types}/components/sections/news/NewsList.d.ts +0 -0
  550. package/types/components/sections/news/NewsList.d.ts.map +1 -0
  551. package/{lib/types → types}/components/sections/news/NewsOverview.d.ts +0 -0
  552. package/types/components/sections/news/NewsOverview.d.ts.map +1 -0
  553. package/{lib/types → types}/components/sections/news/NewsTable.d.ts +0 -0
  554. package/types/components/sections/news/NewsTable.d.ts.map +1 -0
  555. package/{lib/types → types}/components/sections/news/NewsText.d.ts +0 -0
  556. package/types/components/sections/news/NewsText.d.ts.map +1 -0
  557. package/{lib/types → types}/components/sections/news/NewsVideo.d.ts +0 -0
  558. package/types/components/sections/news/NewsVideo.d.ts.map +1 -0
  559. package/{lib/types → types}/components/sections/pois/PointOfInterestDetail.d.ts +0 -0
  560. package/types/components/sections/pois/PointOfInterestDetail.d.ts.map +1 -0
  561. package/{lib/types → types}/components/sections/pois/PointOfInterestMap.d.ts +0 -0
  562. package/types/components/sections/pois/PointOfInterestMap.d.ts.map +1 -0
  563. package/{lib/types → types}/components/sections/pois/PointOfInterestOverview.d.ts +0 -0
  564. package/types/components/sections/pois/PointOfInterestOverview.d.ts.map +1 -0
  565. package/{lib/types → types}/components/typography/Callout.d.ts +0 -0
  566. package/types/components/typography/Callout.d.ts.map +1 -0
  567. package/{lib/types → types}/components/typography/Copy.d.ts +0 -0
  568. package/types/components/typography/Copy.d.ts.map +1 -0
  569. package/{lib/types → types}/components/typography/Heading.d.ts +0 -0
  570. package/types/components/typography/Heading.d.ts.map +1 -0
  571. package/{lib/types → types}/components/typography/Link.d.ts +0 -0
  572. package/types/components/typography/Link.d.ts.map +1 -0
  573. package/{lib/types → types}/cookies.d.ts +0 -0
  574. package/types/cookies.d.ts.map +1 -0
  575. package/{lib/types → types}/fields.d.ts +0 -0
  576. package/types/fields.d.ts.map +1 -0
  577. package/{lib/types → types}/hooks.d.ts +0 -0
  578. package/types/hooks.d.ts.map +1 -0
  579. package/{lib/types → types}/icons.d.ts +0 -0
  580. package/types/icons.d.ts.map +1 -0
  581. package/{lib/types → types}/index.d.ts +0 -0
  582. package/types/index.d.ts.map +1 -0
  583. package/{lib/types → types}/navigation.d.ts +0 -0
  584. package/types/navigation.d.ts.map +1 -0
  585. package/{lib/types → types}/sections.d.ts +0 -0
  586. package/types/sections.d.ts.map +1 -0
  587. package/{lib/types → types}/typography.d.ts +0 -0
  588. package/types/typography.d.ts.map +1 -0
  589. package/{lib/types → types}/utils/LibThemeProvider.d.ts +0 -0
  590. package/types/utils/LibThemeProvider.d.ts.map +1 -0
  591. package/{lib/types → types}/utils/arrays.d.ts +0 -0
  592. package/types/utils/arrays.d.ts.map +1 -0
  593. package/{lib/types → types}/utils/backgroundImage.d.ts +0 -0
  594. package/types/utils/backgroundImage.d.ts.map +1 -0
  595. package/{lib/types → types}/utils/clamp.d.ts +0 -0
  596. package/types/utils/clamp.d.ts.map +1 -0
  597. package/{lib/types → types}/utils/concat.d.ts +0 -0
  598. package/types/utils/concat.d.ts.map +1 -0
  599. package/{lib/types → types}/utils/cookie-consent/cookie.d.ts +0 -0
  600. package/types/utils/cookie-consent/cookie.d.ts.map +1 -0
  601. package/{lib/types → types}/utils/cookie-consent/mutations.d.ts +0 -0
  602. package/types/utils/cookie-consent/mutations.d.ts.map +1 -0
  603. package/{lib/types → types}/utils/cookie-consent/useCookieConsent.d.ts +0 -0
  604. package/types/utils/cookie-consent/useCookieConsent.d.ts.map +1 -0
  605. package/{lib/types → types}/utils/dataURI.d.ts +0 -0
  606. package/types/utils/dataURI.d.ts.map +1 -0
  607. package/{lib/types → types}/utils/escape.d.ts +0 -0
  608. package/types/utils/escape.d.ts.map +1 -0
  609. package/{lib/types → types}/utils/filters.d.ts +0 -0
  610. package/types/utils/filters.d.ts.map +1 -0
  611. package/{lib/types → types}/utils/fontLoading.d.ts +0 -0
  612. package/types/utils/fontLoading.d.ts.map +1 -0
  613. package/{lib/types → types}/utils/formFieldText.d.ts +0 -0
  614. package/types/utils/formFieldText.d.ts.map +1 -0
  615. package/{lib/types → types}/utils/getLinkIcon.d.ts +0 -0
  616. package/types/utils/getLinkIcon.d.ts.map +1 -0
  617. package/{lib/types → types}/utils/hexRgbConverter.d.ts +0 -0
  618. package/types/utils/hexRgbConverter.d.ts.map +1 -0
  619. package/{lib/types → types}/utils/menuHooks.d.ts +0 -0
  620. package/types/utils/menuHooks.d.ts.map +1 -0
  621. package/{lib/types → types}/utils/navigation.d.ts +0 -0
  622. package/types/utils/navigation.d.ts.map +1 -0
  623. package/{lib/types → types}/utils/statusFormatter.d.ts +0 -0
  624. package/types/utils/statusFormatter.d.ts.map +1 -0
  625. package/{lib/types → types}/utils/storyHelpers.d.ts +0 -0
  626. package/types/utils/storyHelpers.d.ts.map +1 -0
  627. package/{lib/types → types}/utils/structuredData.d.ts +0 -0
  628. package/types/utils/structuredData.d.ts.map +1 -0
  629. package/{lib/types → types}/utils/styles.d.ts +0 -0
  630. package/types/utils/styles.d.ts.map +1 -0
  631. package/{lib/types → types}/utils/types.d.ts +0 -0
  632. package/types/utils/types.d.ts.map +1 -0
  633. package/{lib/types → types}/utils/urlParams.d.ts +0 -0
  634. package/types/utils/urlParams.d.ts.map +1 -0
  635. package/{lib/types → types}/utils/useArray.d.ts +0 -0
  636. package/types/utils/useArray.d.ts.map +1 -0
  637. package/{lib/types → types}/utils/useDebounce.d.ts +0 -0
  638. package/types/utils/useDebounce.d.ts.map +1 -0
  639. package/{lib/types → types}/utils/useEqualSheetHeight.d.ts +0 -0
  640. package/types/utils/useEqualSheetHeight.d.ts.map +1 -0
  641. package/{lib/types → types}/utils/useFontsLoaded.d.ts +0 -0
  642. package/types/utils/useFontsLoaded.d.ts.map +1 -0
  643. package/{lib/types → types}/utils/useGeolocation.d.ts +0 -0
  644. package/types/utils/useGeolocation.d.ts.map +1 -0
  645. package/{lib/types → types}/utils/useIE.d.ts +0 -0
  646. package/types/utils/useIE.d.ts.map +1 -0
  647. package/{lib/types → types}/utils/useImgPreload.d.ts +0 -0
  648. package/types/utils/useImgPreload.d.ts.map +1 -0
  649. package/{lib/types → types}/utils/useInterval.d.ts +0 -0
  650. package/types/utils/useInterval.d.ts.map +1 -0
  651. package/{lib/types → types}/utils/useItemHeight.d.ts +0 -0
  652. package/types/utils/useItemHeight.d.ts.map +1 -0
  653. package/{lib/types → types}/utils/useLazyInput.d.ts +0 -0
  654. package/types/utils/useLazyInput.d.ts.map +1 -0
  655. package/{lib/types → types}/utils/useLeafletMap.d.ts +0 -0
  656. package/types/utils/useLeafletMap.d.ts.map +1 -0
  657. package/{lib/types → types}/utils/useMediaQuery.d.ts +0 -0
  658. package/types/utils/useMediaQuery.d.ts.map +1 -0
  659. package/{lib/types → types}/utils/useMounted.d.ts +0 -0
  660. package/types/utils/useMounted.d.ts.map +1 -0
  661. package/{lib/types → types}/utils/useObserverSupport.d.ts +0 -0
  662. package/types/utils/useObserverSupport.d.ts.map +1 -0
  663. package/{lib/types → types}/utils/usePageScroll.d.ts +0 -0
  664. package/types/utils/usePageScroll.d.ts.map +1 -0
  665. package/{lib/types → types}/utils/useParams.d.ts +0 -0
  666. package/types/utils/useParams.d.ts.map +1 -0
  667. package/{lib/types → types}/utils/usePoster.d.ts +0 -0
  668. package/types/utils/usePoster.d.ts.map +1 -0
  669. package/{lib/types → types}/utils/usePrevious.d.ts +0 -0
  670. package/types/utils/usePrevious.d.ts.map +1 -0
  671. package/{lib/types → types}/utils/useResizeThrottle.d.ts +0 -0
  672. package/types/utils/useResizeThrottle.d.ts.map +1 -0
  673. package/{lib/types → types}/utils/useScroll.d.ts +0 -0
  674. package/types/utils/useScroll.d.ts.map +1 -0
  675. package/{lib/types → types}/utils/useScrollIntoView.d.ts +0 -0
  676. package/types/utils/useScrollIntoView.d.ts.map +1 -0
  677. package/{lib/types → types}/utils/useScrollThrottle.d.ts +0 -0
  678. package/types/utils/useScrollThrottle.d.ts.map +1 -0
  679. package/{lib/types → types}/utils/useScrollTo.d.ts +0 -0
  680. package/types/utils/useScrollTo.d.ts.map +1 -0
  681. package/{lib/types → types}/utils/useTimeout.d.ts +0 -0
  682. package/types/utils/useTimeout.d.ts.map +1 -0
  683. package/{lib/types → types}/utils/useTouch.d.ts +0 -0
  684. package/types/utils/useTouch.d.ts.map +1 -0
  685. package/{lib/types → types}/utils/useUpdateEffect.d.ts +0 -0
  686. package/types/utils/useUpdateEffect.d.ts.map +1 -0
  687. package/typography/package.json +4 -4
  688. package/lib/cjs/Actions-487104b2.js.map +0 -1
  689. package/lib/cjs/Bdot-760e0e3a.js.map +0 -1
  690. package/lib/cjs/ButtonGhost-e9644acd.js.map +0 -1
  691. package/lib/cjs/Callout-2713f870.js.map +0 -1
  692. package/lib/cjs/Checkbox-14000bf0.js.map +0 -1
  693. package/lib/cjs/ClockFilled-2483aa4a.js.map +0 -1
  694. package/lib/cjs/Control-23259241.js.map +0 -1
  695. package/lib/cjs/Copy-e860efe7.js.map +0 -1
  696. package/lib/cjs/FilterField-569d60e5.js.map +0 -1
  697. package/lib/cjs/LibThemeProvider-fb99fd6d.js.map +0 -1
  698. package/lib/cjs/Link-70143bb7.js.map +0 -1
  699. package/lib/cjs/Navigation-ebb27a9b.js.map +0 -1
  700. package/lib/cjs/SocialList-79ddf9d6.js.map +0 -1
  701. package/lib/cjs/Wrapper-3b9c9e89.js.map +0 -1
  702. package/lib/cjs/arrays-c272ed59.js.map +0 -1
  703. package/lib/cjs/clamp-bd21d587.js.map +0 -1
  704. package/lib/cjs/concat-f387d848.js.map +0 -1
  705. package/lib/cjs/cookies.js.map +0 -1
  706. package/lib/cjs/fields.js.map +0 -1
  707. package/lib/cjs/hexRgbConverter-91b28aea.js.map +0 -1
  708. package/lib/cjs/hooks.js.map +0 -1
  709. package/lib/cjs/navigation-bf154e6e.js.map +0 -1
  710. package/lib/cjs/navigation.js.map +0 -1
  711. package/lib/cjs/sections.js.map +0 -1
  712. package/lib/cjs/styles-0f1a0aea.js.map +0 -1
  713. package/lib/cjs/urlParams-51ce7168.js.map +0 -1
  714. package/lib/cjs/useCookieConsent-0bf94751.js.map +0 -1
  715. package/lib/cjs/useGeolocation-4d38150b.js.map +0 -1
  716. package/lib/cjs/useMediaQuery-d4f81f88.js.map +0 -1
  717. package/lib/cjs/useMounted-0bba9869.js.map +0 -1
  718. package/lib/cjs/useObserverSupport-5ab320dd.js.map +0 -1
  719. package/lib/cjs/useUpdateEffect-4d233e2c.js.map +0 -1
  720. package/lib/esm/Actions-59bdbbf7.js.map +0 -1
  721. package/lib/esm/Bdot-a103eeef.js.map +0 -1
  722. package/lib/esm/ButtonGhost-422fd723.js.map +0 -1
  723. package/lib/esm/Callout-03ad4c6e.js.map +0 -1
  724. package/lib/esm/Checkbox-76c2576b.js.map +0 -1
  725. package/lib/esm/ClockFilled-cff5900e.js.map +0 -1
  726. package/lib/esm/Control-52ff8784.js.map +0 -1
  727. package/lib/esm/Copy-d2be4fb7.js.map +0 -1
  728. package/lib/esm/FilterField-b1a28df7.js.map +0 -1
  729. package/lib/esm/LibThemeProvider-17012395.js.map +0 -1
  730. package/lib/esm/Link-42f0b80f.js.map +0 -1
  731. package/lib/esm/Navigation-fae92776.js.map +0 -1
  732. package/lib/esm/SocialList-385cde53.js.map +0 -1
  733. package/lib/esm/Wrapper-38c912a6.js.map +0 -1
  734. package/lib/esm/arrays-65b644ef.js.map +0 -1
  735. package/lib/esm/clamp-12d37b65.js.map +0 -1
  736. package/lib/esm/concat-ab3c66f2.js.map +0 -1
  737. package/lib/esm/cookies.js.map +0 -1
  738. package/lib/esm/fields.js.map +0 -1
  739. package/lib/esm/hexRgbConverter-edb91624.js.map +0 -1
  740. package/lib/esm/hooks.js.map +0 -1
  741. package/lib/esm/navigation-e135836f.js.map +0 -1
  742. package/lib/esm/navigation.js.map +0 -1
  743. package/lib/esm/sections.js.map +0 -1
  744. package/lib/esm/styles-eca3acc8.js.map +0 -1
  745. package/lib/esm/urlParams-c16d7370.js.map +0 -1
  746. package/lib/esm/useCookieConsent-cd262961.js.map +0 -1
  747. package/lib/esm/useGeolocation-c99d76bd.js.map +0 -1
  748. package/lib/esm/useMediaQuery-07eee3f4.js.map +0 -1
  749. package/lib/esm/useMounted-1e4cc87b.js.map +0 -1
  750. package/lib/esm/useObserverSupport-02bce7f5.js.map +0 -1
  751. package/lib/esm/useUpdateEffect-824c0c84.js.map +0 -1
  752. package/lib/types/base.d.ts.map +0 -1
  753. package/lib/types/blocks.d.ts.map +0 -1
  754. package/lib/types/buttons.d.ts.map +0 -1
  755. package/lib/types/components/base/Grid.d.ts.map +0 -1
  756. package/lib/types/components/base/Section.d.ts.map +0 -1
  757. package/lib/types/components/base/Wrapper.d.ts.map +0 -1
  758. package/lib/types/components/base/icons/AngleDown.d.ts.map +0 -1
  759. package/lib/types/components/base/icons/AngleLeft.d.ts.map +0 -1
  760. package/lib/types/components/base/icons/AngleRight.d.ts.map +0 -1
  761. package/lib/types/components/base/icons/AngleUp.d.ts.map +0 -1
  762. package/lib/types/components/base/icons/ArrowDown.d.ts.map +0 -1
  763. package/lib/types/components/base/icons/ArrowLeft.d.ts.map +0 -1
  764. package/lib/types/components/base/icons/ArrowLeftGhost.d.ts.map +0 -1
  765. package/lib/types/components/base/icons/ArrowLeftRight.d.ts.map +0 -1
  766. package/lib/types/components/base/icons/ArrowRight.d.ts.map +0 -1
  767. package/lib/types/components/base/icons/ArrowRightGhost.d.ts.map +0 -1
  768. package/lib/types/components/base/icons/ArrowUp.d.ts.map +0 -1
  769. package/lib/types/components/base/icons/BoxArrowUpRight.d.ts.map +0 -1
  770. package/lib/types/components/base/icons/CalendarToday.d.ts.map +0 -1
  771. package/lib/types/components/base/icons/Category.d.ts.map +0 -1
  772. package/lib/types/components/base/icons/Check.d.ts.map +0 -1
  773. package/lib/types/components/base/icons/Clock.d.ts.map +0 -1
  774. package/lib/types/components/base/icons/ClockFilled.d.ts.map +0 -1
  775. package/lib/types/components/base/icons/Computer.d.ts.map +0 -1
  776. package/lib/types/components/base/icons/Cross.d.ts.map +0 -1
  777. package/lib/types/components/base/icons/CrossSmall.d.ts.map +0 -1
  778. package/lib/types/components/base/icons/CurrentLocation.d.ts.map +0 -1
  779. package/lib/types/components/base/icons/DateRange.d.ts.map +0 -1
  780. package/lib/types/components/base/icons/DeleteForever.d.ts.map +0 -1
  781. package/lib/types/components/base/icons/External.d.ts.map +0 -1
  782. package/lib/types/components/base/icons/Filter.d.ts.map +0 -1
  783. package/lib/types/components/base/icons/FlyTo.d.ts.map +0 -1
  784. package/lib/types/components/base/icons/Info.d.ts.map +0 -1
  785. package/lib/types/components/base/icons/Language.d.ts.map +0 -1
  786. package/lib/types/components/base/icons/LocationPin.d.ts.map +0 -1
  787. package/lib/types/components/base/icons/LocationSearch.d.ts.map +0 -1
  788. package/lib/types/components/base/icons/Magnifier.d.ts.map +0 -1
  789. package/lib/types/components/base/icons/Mail.d.ts.map +0 -1
  790. package/lib/types/components/base/icons/Map.d.ts.map +0 -1
  791. package/lib/types/components/base/icons/MenuBurger.d.ts.map +0 -1
  792. package/lib/types/components/base/icons/Minus.d.ts.map +0 -1
  793. package/lib/types/components/base/icons/Money.d.ts.map +0 -1
  794. package/lib/types/components/base/icons/MyLocation.d.ts.map +0 -1
  795. package/lib/types/components/base/icons/Person.d.ts.map +0 -1
  796. package/lib/types/components/base/icons/Phone.d.ts.map +0 -1
  797. package/lib/types/components/base/icons/Place.d.ts.map +0 -1
  798. package/lib/types/components/base/icons/Play.d.ts.map +0 -1
  799. package/lib/types/components/base/icons/Plus.d.ts.map +0 -1
  800. package/lib/types/components/base/icons/Route.d.ts.map +0 -1
  801. package/lib/types/components/base/icons/Star.d.ts.map +0 -1
  802. package/lib/types/components/base/icons/ToggleOff.d.ts.map +0 -1
  803. package/lib/types/components/base/icons/ToggleOn.d.ts.map +0 -1
  804. package/lib/types/components/base/icons/UnfoldMore.d.ts.map +0 -1
  805. package/lib/types/components/base/icons/files/Excel.d.ts.map +0 -1
  806. package/lib/types/components/base/icons/files/Image.d.ts.map +0 -1
  807. package/lib/types/components/base/icons/files/Pdf.d.ts.map +0 -1
  808. package/lib/types/components/base/icons/files/PowerPoint.d.ts.map +0 -1
  809. package/lib/types/components/base/icons/files/UploadFile.d.ts.map +0 -1
  810. package/lib/types/components/base/icons/files/Word.d.ts.map +0 -1
  811. package/lib/types/components/base/icons/files/Zip.d.ts.map +0 -1
  812. package/lib/types/components/base/icons/socials/Facebook.d.ts.map +0 -1
  813. package/lib/types/components/base/icons/socials/Instagram.d.ts.map +0 -1
  814. package/lib/types/components/base/icons/socials/LinkedIn.d.ts.map +0 -1
  815. package/lib/types/components/base/icons/socials/Twitter.d.ts.map +0 -1
  816. package/lib/types/components/base/icons/socials/Xing.d.ts.map +0 -1
  817. package/lib/types/components/base/icons/socials/Youtube.d.ts.map +0 -1
  818. package/lib/types/components/base/nl2br.d.ts.map +0 -1
  819. package/lib/types/components/blocks/Actions.d.ts.map +0 -1
  820. package/lib/types/components/blocks/Alert.d.ts.map +0 -1
  821. package/lib/types/components/blocks/Bdot.d.ts.map +0 -1
  822. package/lib/types/components/blocks/CookieConsent.d.ts.map +0 -1
  823. package/lib/types/components/blocks/EventBlock.d.ts.map +0 -1
  824. package/lib/types/components/blocks/Fact.d.ts.map +0 -1
  825. package/lib/types/components/blocks/Feature.d.ts.map +0 -1
  826. package/lib/types/components/blocks/Image.d.ts.map +0 -1
  827. package/lib/types/components/blocks/InfoList.d.ts.map +0 -1
  828. package/lib/types/components/blocks/IntroBlock.d.ts.map +0 -1
  829. package/lib/types/components/blocks/JobCard.d.ts.map +0 -1
  830. package/lib/types/components/blocks/LanguageSwitcher.d.ts.map +0 -1
  831. package/lib/types/components/blocks/NavBlock.d.ts.map +0 -1
  832. package/lib/types/components/blocks/NewsCard.d.ts.map +0 -1
  833. package/lib/types/components/blocks/POICard.d.ts.map +0 -1
  834. package/lib/types/components/blocks/POIFacts.d.ts.map +0 -1
  835. package/lib/types/components/blocks/PriceTag.d.ts.map +0 -1
  836. package/lib/types/components/blocks/PromotionCard.d.ts.map +0 -1
  837. package/lib/types/components/blocks/SocialList.d.ts.map +0 -1
  838. package/lib/types/components/blocks/TableBlock.d.ts.map +0 -1
  839. package/lib/types/components/blocks/Tag.d.ts.map +0 -1
  840. package/lib/types/components/blocks/Title.d.ts.map +0 -1
  841. package/lib/types/components/blocks/VideoBlock.d.ts.map +0 -1
  842. package/lib/types/components/blocks/VideoCard.d.ts.map +0 -1
  843. package/lib/types/components/buttons/Button.d.ts.map +0 -1
  844. package/lib/types/components/buttons/ButtonGhost.d.ts.map +0 -1
  845. package/lib/types/components/buttons/Control.d.ts.map +0 -1
  846. package/lib/types/components/buttons/Pointer.d.ts.map +0 -1
  847. package/lib/types/components/debug/DebugLines.d.ts.map +0 -1
  848. package/lib/types/components/examples/hooks/ArrayHookExample.d.ts.map +0 -1
  849. package/lib/types/components/examples/hooks/IntervalHookExample.d.ts.map +0 -1
  850. package/lib/types/components/fields/Checkbox.d.ts.map +0 -1
  851. package/lib/types/components/fields/CompactForm.d.ts.map +0 -1
  852. package/lib/types/components/fields/Datepicker.d.ts.map +0 -1
  853. package/lib/types/components/fields/FileUpload.d.ts.map +0 -1
  854. package/lib/types/components/fields/FilterField.d.ts.map +0 -1
  855. package/lib/types/components/fields/FormField.d.ts.map +0 -1
  856. package/lib/types/components/fields/LocationField.d.ts.map +0 -1
  857. package/lib/types/components/fields/Radio.d.ts.map +0 -1
  858. package/lib/types/components/fields/SearchInput.d.ts.map +0 -1
  859. package/lib/types/components/fields/SelectDropdown.d.ts.map +0 -1
  860. package/lib/types/components/fields/Textarea.d.ts.map +0 -1
  861. package/lib/types/components/fields/Textfield.d.ts.map +0 -1
  862. package/lib/types/components/sections/Accordion.d.ts.map +0 -1
  863. package/lib/types/components/sections/AlertList.d.ts.map +0 -1
  864. package/lib/types/components/sections/Article.d.ts.map +0 -1
  865. package/lib/types/components/sections/CallToAction.d.ts.map +0 -1
  866. package/lib/types/components/sections/CardList.d.ts.map +0 -1
  867. package/lib/types/components/sections/ComparisonSlider.d.ts.map +0 -1
  868. package/lib/types/components/sections/CrossPromotion.d.ts.map +0 -1
  869. package/lib/types/components/sections/FactGrid.d.ts.map +0 -1
  870. package/lib/types/components/sections/FactList.d.ts.map +0 -1
  871. package/lib/types/components/sections/FeatureList.d.ts.map +0 -1
  872. package/lib/types/components/sections/Gallery.d.ts.map +0 -1
  873. package/lib/types/components/sections/IconList.d.ts.map +0 -1
  874. package/lib/types/components/sections/IndexList.d.ts.map +0 -1
  875. package/lib/types/components/sections/Intro.d.ts.map +0 -1
  876. package/lib/types/components/sections/Map.d.ts.map +0 -1
  877. package/lib/types/components/sections/NavList.d.ts.map +0 -1
  878. package/lib/types/components/sections/NewsletterForm.d.ts.map +0 -1
  879. package/lib/types/components/sections/NumberList.d.ts.map +0 -1
  880. package/lib/types/components/sections/ParallaxBackground.d.ts.map +0 -1
  881. package/lib/types/components/sections/Poster.d.ts.map +0 -1
  882. package/lib/types/components/sections/PriceList.d.ts.map +0 -1
  883. package/lib/types/components/sections/PriceTable.d.ts.map +0 -1
  884. package/lib/types/components/sections/Quote.d.ts.map +0 -1
  885. package/lib/types/components/sections/RawVideo.d.ts.map +0 -1
  886. package/lib/types/components/sections/SimpleImage.d.ts.map +0 -1
  887. package/lib/types/components/sections/SocialWall.d.ts.map +0 -1
  888. package/lib/types/components/sections/Table.d.ts.map +0 -1
  889. package/lib/types/components/sections/Teaser.d.ts.map +0 -1
  890. package/lib/types/components/sections/TeaserWide.d.ts.map +0 -1
  891. package/lib/types/components/sections/Timeline.d.ts.map +0 -1
  892. package/lib/types/components/sections/Video.d.ts.map +0 -1
  893. package/lib/types/components/sections/events/EventDetail.d.ts.map +0 -1
  894. package/lib/types/components/sections/events/EventList.d.ts.map +0 -1
  895. package/lib/types/components/sections/events/EventOverview.d.ts.map +0 -1
  896. package/lib/types/components/sections/footer/Footer.d.ts.map +0 -1
  897. package/lib/types/components/sections/footer/partials/FooterBottomBar.d.ts.map +0 -1
  898. package/lib/types/components/sections/footer/partials/FooterColumn.d.ts.map +0 -1
  899. package/lib/types/components/sections/footer/partials/index.d.ts.map +0 -1
  900. package/lib/types/components/sections/footer/skeletons/FooterArticle.d.ts.map +0 -1
  901. package/lib/types/components/sections/footer/skeletons/FooterBottomGrid.d.ts.map +0 -1
  902. package/lib/types/components/sections/footer/skeletons/index.d.ts.map +0 -1
  903. package/lib/types/components/sections/form/DynamicForm.d.ts.map +0 -1
  904. package/lib/types/components/sections/form/renderer/areaRenderer.d.ts.map +0 -1
  905. package/lib/types/components/sections/form/renderer/datepickerRenderer.d.ts.map +0 -1
  906. package/lib/types/components/sections/form/renderer/fieldGroupRenderer.d.ts.map +0 -1
  907. package/lib/types/components/sections/form/renderer/fieldRenderer.d.ts.map +0 -1
  908. package/lib/types/components/sections/form/renderer/locationRenderer.d.ts.map +0 -1
  909. package/lib/types/components/sections/form/renderer/selectRenderer.d.ts.map +0 -1
  910. package/lib/types/components/sections/form/renderer/uploadRenderer.d.ts.map +0 -1
  911. package/lib/types/components/sections/form/validators/areaValidator.d.ts.map +0 -1
  912. package/lib/types/components/sections/form/validators/datepickerValidator.d.ts.map +0 -1
  913. package/lib/types/components/sections/form/validators/fieldGroupValidator.d.ts.map +0 -1
  914. package/lib/types/components/sections/form/validators/fieldValidator.d.ts.map +0 -1
  915. package/lib/types/components/sections/form/validators/locationValidator.d.ts.map +0 -1
  916. package/lib/types/components/sections/form/validators/selectValidator.d.ts.map +0 -1
  917. package/lib/types/components/sections/form/validators/uploadValidator.d.ts.map +0 -1
  918. package/lib/types/components/sections/header/Header.d.ts.map +0 -1
  919. package/lib/types/components/sections/header/HeaderKenBurns.d.ts.map +0 -1
  920. package/lib/types/components/sections/header/HeaderPoster.d.ts.map +0 -1
  921. package/lib/types/components/sections/header/HeaderVideo.d.ts.map +0 -1
  922. package/lib/types/components/sections/jobs/JobArticle.d.ts.map +0 -1
  923. package/lib/types/components/sections/jobs/JobList.d.ts.map +0 -1
  924. package/lib/types/components/sections/navigation/NavBar.d.ts.map +0 -1
  925. package/lib/types/components/sections/navigation/Navigation.d.ts.map +0 -1
  926. package/lib/types/components/sections/navigation/menu/Menu.d.ts.map +0 -1
  927. package/lib/types/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +0 -1
  928. package/lib/types/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +0 -1
  929. package/lib/types/components/sections/navigation/partials/MenuFooter.d.ts.map +0 -1
  930. package/lib/types/components/sections/navigation/partials/MenuHeader.d.ts.map +0 -1
  931. package/lib/types/components/sections/navigation/partials/NavBarBottom.d.ts.map +0 -1
  932. package/lib/types/components/sections/navigation/partials/NavBarMain.d.ts.map +0 -1
  933. package/lib/types/components/sections/navigation/partials/NavBarTop.d.ts.map +0 -1
  934. package/lib/types/components/sections/navigation/partials/index.d.ts.map +0 -1
  935. package/lib/types/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +0 -1
  936. package/lib/types/components/sections/navigation/skeletons/BarColumn.d.ts.map +0 -1
  937. package/lib/types/components/sections/navigation/skeletons/BarLogo.d.ts.map +0 -1
  938. package/lib/types/components/sections/navigation/skeletons/BarMenuToggle.d.ts.map +0 -1
  939. package/lib/types/components/sections/navigation/skeletons/BarNavList.d.ts.map +0 -1
  940. package/lib/types/components/sections/navigation/skeletons/index.d.ts.map +0 -1
  941. package/lib/types/components/sections/news/NewsAuthorCard.d.ts.map +0 -1
  942. package/lib/types/components/sections/news/NewsFooter.d.ts.map +0 -1
  943. package/lib/types/components/sections/news/NewsImages.d.ts.map +0 -1
  944. package/lib/types/components/sections/news/NewsIntro.d.ts.map +0 -1
  945. package/lib/types/components/sections/news/NewsList.d.ts.map +0 -1
  946. package/lib/types/components/sections/news/NewsOverview.d.ts.map +0 -1
  947. package/lib/types/components/sections/news/NewsTable.d.ts.map +0 -1
  948. package/lib/types/components/sections/news/NewsText.d.ts.map +0 -1
  949. package/lib/types/components/sections/news/NewsVideo.d.ts.map +0 -1
  950. package/lib/types/components/sections/pois/PointOfInterestDetail.d.ts.map +0 -1
  951. package/lib/types/components/sections/pois/PointOfInterestMap.d.ts.map +0 -1
  952. package/lib/types/components/sections/pois/PointOfInterestOverview.d.ts.map +0 -1
  953. package/lib/types/components/typography/Callout.d.ts.map +0 -1
  954. package/lib/types/components/typography/Copy.d.ts.map +0 -1
  955. package/lib/types/components/typography/Heading.d.ts.map +0 -1
  956. package/lib/types/components/typography/Link.d.ts.map +0 -1
  957. package/lib/types/cookies.d.ts.map +0 -1
  958. package/lib/types/fields.d.ts.map +0 -1
  959. package/lib/types/hooks.d.ts.map +0 -1
  960. package/lib/types/icons.d.ts.map +0 -1
  961. package/lib/types/index.d.ts.map +0 -1
  962. package/lib/types/navigation.d.ts.map +0 -1
  963. package/lib/types/sections.d.ts.map +0 -1
  964. package/lib/types/typography.d.ts.map +0 -1
  965. package/lib/types/utils/LibThemeProvider.d.ts.map +0 -1
  966. package/lib/types/utils/arrays.d.ts.map +0 -1
  967. package/lib/types/utils/backgroundImage.d.ts.map +0 -1
  968. package/lib/types/utils/clamp.d.ts.map +0 -1
  969. package/lib/types/utils/concat.d.ts.map +0 -1
  970. package/lib/types/utils/cookie-consent/cookie.d.ts.map +0 -1
  971. package/lib/types/utils/cookie-consent/mutations.d.ts.map +0 -1
  972. package/lib/types/utils/cookie-consent/useCookieConsent.d.ts.map +0 -1
  973. package/lib/types/utils/dataURI.d.ts.map +0 -1
  974. package/lib/types/utils/escape.d.ts.map +0 -1
  975. package/lib/types/utils/filters.d.ts.map +0 -1
  976. package/lib/types/utils/fontLoading.d.ts.map +0 -1
  977. package/lib/types/utils/formFieldText.d.ts.map +0 -1
  978. package/lib/types/utils/getLinkIcon.d.ts.map +0 -1
  979. package/lib/types/utils/hexRgbConverter.d.ts.map +0 -1
  980. package/lib/types/utils/menuHooks.d.ts.map +0 -1
  981. package/lib/types/utils/navigation.d.ts.map +0 -1
  982. package/lib/types/utils/statusFormatter.d.ts.map +0 -1
  983. package/lib/types/utils/storyHelpers.d.ts.map +0 -1
  984. package/lib/types/utils/structuredData.d.ts.map +0 -1
  985. package/lib/types/utils/styles.d.ts.map +0 -1
  986. package/lib/types/utils/types.d.ts.map +0 -1
  987. package/lib/types/utils/urlParams.d.ts.map +0 -1
  988. package/lib/types/utils/useArray.d.ts.map +0 -1
  989. package/lib/types/utils/useDebounce.d.ts.map +0 -1
  990. package/lib/types/utils/useEqualSheetHeight.d.ts.map +0 -1
  991. package/lib/types/utils/useFontsLoaded.d.ts.map +0 -1
  992. package/lib/types/utils/useGeolocation.d.ts.map +0 -1
  993. package/lib/types/utils/useIE.d.ts.map +0 -1
  994. package/lib/types/utils/useImgPreload.d.ts.map +0 -1
  995. package/lib/types/utils/useInterval.d.ts.map +0 -1
  996. package/lib/types/utils/useItemHeight.d.ts.map +0 -1
  997. package/lib/types/utils/useLazyInput.d.ts.map +0 -1
  998. package/lib/types/utils/useLeafletMap.d.ts.map +0 -1
  999. package/lib/types/utils/useMediaQuery.d.ts.map +0 -1
  1000. package/lib/types/utils/useMounted.d.ts.map +0 -1
  1001. package/lib/types/utils/useObserverSupport.d.ts.map +0 -1
  1002. package/lib/types/utils/usePageScroll.d.ts.map +0 -1
  1003. package/lib/types/utils/useParams.d.ts.map +0 -1
  1004. package/lib/types/utils/usePoster.d.ts.map +0 -1
  1005. package/lib/types/utils/usePrevious.d.ts.map +0 -1
  1006. package/lib/types/utils/useResizeThrottle.d.ts.map +0 -1
  1007. package/lib/types/utils/useScroll.d.ts.map +0 -1
  1008. package/lib/types/utils/useScrollIntoView.d.ts.map +0 -1
  1009. package/lib/types/utils/useScrollThrottle.d.ts.map +0 -1
  1010. package/lib/types/utils/useScrollTo.d.ts.map +0 -1
  1011. package/lib/types/utils/useTimeout.d.ts.map +0 -1
  1012. package/lib/types/utils/useTouch.d.ts.map +0 -1
  1013. package/lib/types/utils/useUpdateEffect.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles-0f1a0aea.js","sources":["../../src/utils/dataURI.ts","../../src/utils/styles.tsx"],"sourcesContent":["import React from 'react';\nimport { renderToString } from 'react-dom/server';\n\nexport const getSVGDataImg = (\n svg: React.ReactElement,\n encode = true\n): string => {\n let svgString = '';\n if (!svg) return '';\n\n if (typeof svg === 'string') {\n svgString = svg;\n } else {\n svgString = renderToString(svg);\n }\n\n if (!encode) return `data:image/svg+xml;utf8,${svgString}`;\n\n if (typeof window !== 'undefined') {\n return `data:image/svg+xml;base64,${btoa(svgString)}`;\n } else {\n const baseString = Buffer.from(svgString).toString('base64');\n return `data:image/svg+xml;base64,${baseString}`;\n }\n};\n","/* eslint-disable react/display-name */\nimport * as Icons from 'icons';\nimport React from 'react';\n\nimport { css, DefaultTheme } from 'styled-components';\nimport { getSVGDataImg as getSVGData } from 'utils/dataURI';\nimport { CookieTypes } from './cookie-consent/useCookieConsent';\nimport { XOR } from './types';\n\nexport type MediaQueryType =\n | 'small'\n | 'medium'\n | 'semilarge'\n | 'large'\n | 'xlarge'\n | 'xxlarge';\n\nexport const mq: { [key in Exclude<MediaQueryType, 'small'>]: string } = {\n medium: '(min-width: 40em)', // 640 px\n semilarge: '(min-width: 52em)', // 832 px\n large: '(min-width: 64em)', // 1024 px\n xlarge: '(min-width: 90em)', // 1440 px\n xxlarge: '(min-width: 150em)', // 2400 px\n};\n\nexport const spacings = {\n nudge: 8,\n spacer: 32,\n wrapperSmall: 1000,\n wrapper: 1440,\n wrapperLarge: 2400,\n};\n\n/***** Range Helper *****/\nexport const getSizeByRange = (range: [number, number]): string =>\n `calc(${range[0]}px + (${range[1]} - ${range[0]}) * ((100vw - 300px) / (${spacings.wrapper} - 320)));`;\n\nexport const withRange = (range: [number, number?], property: string) => {\n if (!property) return '';\n const min = range[0];\n const max = range[1];\n\n if (max !== undefined) {\n return `\n ${property}: ${min}px;\n ${property}: ${getSizeByRange(range as [number, number])};\n\n @media ${mq.xlarge} {\n ${property}: ${max}px;\n }\n `;\n } else {\n return `\n ${property}: ${min}px;\n `;\n }\n};\n\n/**\n * Generate css attributes to style text color with plain color or gradient\n * @param fallbackColor\n * @param gradient\n */\nexport const styleTextColor = (fallbackColor?: string, gradient?: string) => {\n if (gradient) {\n return css`\n color: ${fallbackColor};\n\n @supports (-webkit-text-stroke: thin) {\n padding-top: 2px;\n background: ${gradient};\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n }\n `;\n } else {\n return css`\n color: ${fallbackColor};\n `;\n }\n};\n\n/***** Color Types *****/\ninterface ColorOptions {\n default: string;\n inverted: string;\n hover: string;\n invertedHover: string;\n}\n\nexport type ColorOptionsType = keyof ColorOptions;\n\nexport interface Colors {\n text: {\n default: string;\n inverted: string;\n error: string;\n errorInverted: string;\n heading: string;\n headingInverted: string;\n copy: string;\n copyInverted: string;\n subtile: string;\n subtileInverted: string;\n };\n sectionBg: {\n light: string;\n medium: string;\n dark: string;\n };\n elementBg: {\n light: string;\n lightHover: string;\n medium: string;\n mediumHover: string;\n dark: string;\n darkHover: string;\n };\n primary: ColorOptions;\n secondary: ColorOptions;\n error: string;\n errorInverted: string;\n}\n\nexport type ColorType = keyof Colors;\n\n/***** Font Types *****/\nexport interface FontProps {\n family: string;\n weight?: string;\n style?: string;\n lineHeight?: string;\n letterSpacing?: string;\n size: [number, number?];\n textTransform?: string;\n textDecoration?: string;\n color?: string;\n colorInverted?: string;\n colorGradient?: string;\n colorGradientInverted?: string;\n}\n\nexport type FontPropsType = keyof FontProps;\n\nexport interface FontOptions {\n small: FontProps;\n medium: FontProps;\n big: FontProps;\n}\n\nexport type FontOptionType = keyof FontOptions;\n\nexport interface Fonts {\n copy: FontOptions;\n 'copy-i': FontOptions;\n 'copy-b': FontOptions;\n super: FontProps;\n 'heading-1': FontProps;\n 'heading-2': FontProps;\n 'heading-3': FontProps;\n 'heading-4': FontProps;\n callout: FontOptions;\n link: {\n color: string;\n colorInverted: string;\n colorHover: string;\n colorHoverInverted: string;\n textTransform?: string;\n textDecoration?: string;\n };\n navigation: {\n featured: FontProps;\n main: FontProps;\n sub: FontProps;\n secondary: FontProps;\n };\n}\n\nexport type FontType = keyof Fonts;\n\n/**\n * Base font styles for all font types\n */\nexport type FontBase = FontProps;\n\n/***** Colors *****/\nconst defaultColors: Colors = {\n text: {\n default: '#333333',\n inverted: '#FAFAFA',\n error: '#FF2D2D',\n errorInverted: '#FF2D2D',\n heading: '#333333',\n headingInverted: '#FFFFFF',\n copy: '#333333',\n copyInverted: '#FFFFFF',\n subtile: '#878787',\n subtileInverted: '#878787',\n },\n sectionBg: {\n light: 'transparent',\n medium: '#F0F0F0',\n dark: '#000000',\n },\n elementBg: {\n light: '#FFFFFF',\n lightHover: '#FFDEDE',\n medium: '#DBDBDB',\n mediumHover: '#E0B5B5',\n dark: '#393434',\n darkHover: '#653434',\n },\n primary: {\n default: '#7749F8',\n inverted: '#A88AFB',\n hover: '#42278F',\n invertedHover: '#D2C1FF',\n },\n secondary: {\n default: '#6C757D',\n inverted: '#C5BEE0',\n hover: '#3b4045',\n invertedHover: '#BCB7C9',\n },\n error: '#FF2D2D',\n errorInverted: '#FF2D2D',\n};\n\n/***** Fonts *****/\nconst copyBase: FontProps = {\n family: '\"Roboto\", Roboto-fallback, Helvetica, sans-serif',\n weight: '400',\n style: 'normal',\n lineHeight: '1.5',\n letterSpacing: '0',\n size: [16],\n textTransform: '',\n color: defaultColors.text.copy,\n colorInverted: defaultColors.text.copyInverted,\n};\n\nconst headingBase: FontProps = {\n family: '\"Roboto\", Roboto-fallback, Helvetica, sans-serif',\n weight: '700',\n style: 'normal',\n lineHeight: '1.17',\n letterSpacing: '0',\n size: [56],\n color: defaultColors.text.heading,\n colorInverted: defaultColors.text.headingInverted,\n};\n\nconst defaultFonts: Fonts = {\n copy: {\n small: {\n ...copyBase,\n lineHeight: '1.42',\n size: [14],\n },\n medium: {\n ...copyBase,\n lineHeight: '1.5',\n size: [16],\n },\n big: {\n ...copyBase,\n lineHeight: '1.2',\n size: [20],\n },\n },\n 'copy-i': {\n small: {\n ...copyBase,\n style: 'italic',\n lineHeight: '1.42',\n size: [14],\n },\n medium: {\n ...copyBase,\n style: 'italic',\n lineHeight: '1.5',\n size: [16],\n },\n big: {\n ...copyBase,\n style: 'italic',\n lineHeight: '1.2',\n size: [20],\n },\n },\n 'copy-b': {\n small: {\n ...copyBase,\n weight: '700',\n lineHeight: '1.42',\n size: [14],\n },\n medium: {\n ...copyBase,\n weight: '700',\n lineHeight: '1.5',\n size: [16],\n },\n big: {\n ...copyBase,\n weight: '700',\n lineHeight: '1.2',\n size: [20],\n },\n },\n super: {\n ...headingBase,\n lineHeight: '1.43',\n size: [16],\n },\n 'heading-1': headingBase,\n 'heading-2': {\n ...headingBase,\n size: [40],\n lineHeight: '1.17',\n },\n 'heading-3': {\n ...headingBase,\n size: [32],\n lineHeight: '1.17',\n },\n 'heading-4': {\n ...headingBase,\n size: [24],\n lineHeight: '1.17',\n },\n callout: {\n small: {\n ...headingBase,\n lineHeight: '1.5',\n weight: '300',\n size: [32],\n },\n medium: {\n ...headingBase,\n weight: '300',\n lineHeight: '1.17',\n size: [72],\n },\n big: {\n ...headingBase,\n weight: '300',\n lineHeight: '1.17',\n size: [92],\n },\n },\n link: {\n color: '#2441DA',\n colorHover: '#122278',\n colorInverted: '#fff',\n colorHoverInverted: '#C8C8C8',\n },\n navigation: {\n featured: {\n ...copyBase,\n weight: '700',\n lineHeight: '1.5',\n size: [16],\n },\n main: {\n ...copyBase,\n weight: '700',\n lineHeight: '1.5',\n size: [16],\n },\n sub: {\n ...copyBase,\n weight: '700',\n lineHeight: '1.5',\n size: [16],\n },\n secondary: {\n ...copyBase,\n weight: '700',\n lineHeight: '1.5',\n size: [16],\n },\n },\n};\n\n/***** Global Settings *****/\nexport type NavBarHeights = {\n small: number;\n large: number;\n};\n\ninterface LinkIcon {\n isExternal?: boolean;\n /** Patterns of Href value to show this icon (e.g. .svg, .png) */\n patterns: string[];\n /** Icon scale factor. 1 is default */\n scale?: (props: { type?: keyof Fonts; size?: FontOptionType }) => number;\n /** Set vertical alignment of icon in text */\n vAlign?:\n | 'bottom'\n | 'baseline'\n | 'middle'\n | 'top'\n | 'text-top'\n | 'text-bottom'\n | 'super'\n | 'sub';\n}\n\nexport interface LinkUrlIcon extends LinkIcon {\n // icon (e.g. URL, base64 or icon font char)\n iconUrl: (isInverted?: boolean) => string;\n}\n\nexport interface LinkFontIcon extends LinkIcon {\n /** Define font family for icon font */\n iconFont: string;\n /** Define icon font character */\n iconChar: string;\n}\n\nexport interface GlobalSettings {\n sections: {\n /** Paddings and Margins for seperating each section */\n seperation: {\n forcePadding: boolean;\n padding: {\n default: [number, number?];\n stackable: [number, number?];\n };\n margin: {\n default: [number, number?];\n stackable: [number, number?];\n };\n };\n\n /** Radius of image and card edges */\n edgeRadius: string | null;\n\n /** Customnize gradient for all text on image background gradients */\n imageTextGradient: string;\n\n /** Customnize gradient for all text on image background gradients if text is centered */\n imageTextGradientCentered?: string;\n\n /** Show placeholder background unitl image has been loaded */\n imagePlaceholderBg: {\n default: string;\n inverted: string;\n };\n\n /** Date and Time Formats for all news sections */\n newsDateFormat: (date: Date) => string;\n newsTimeFormat: (date: Date) => string;\n newsLocaleKey: 'de' | 'en';\n\n /** Date and Time Formats for all event sections */\n eventDateFormat: (date: Date) => string;\n eventTimeFormat: (date: Date) => string;\n eventTimespanFormat: (start: Date, duration?: number) => string;\n eventLocaleKey: 'de' | 'en';\n\n /** Date and Time Formats for Datepickers */\n datepickerLocaleKey: 'de' | 'en';\n datepickerDateFormat: string;\n\n /** Filters */\n newsFilterName: string;\n eventFilterName: string;\n jobFilterName: string;\n poiFilterName: string;\n };\n cookie: {\n name: string;\n types: CookieTypes;\n lifetime: number;\n\n /** Date and Time Formats for cookie consent */\n consentDateFormat: (date: Date) => string;\n consentTimeFormat: (date: Date) => string;\n consentLocaleKey: 'de' | 'en';\n consentStatusFormat: string;\n\n videoCookieTypeRestrictions: string[];\n };\n navigation: {\n /** Settings of top navigation bar */\n navBar: {\n /**\n * Heights of top bar.\n * Array values are like: [mobile, desktop]\n * Top navbar is hidden if value equal 0\n */\n topHeight: {\n small: [number, number?];\n large: [number, number?];\n };\n /**\n * Heights of main bar.\n * Array values are like: [mobile, desktop]\n */\n mainHeight: {\n small: [number, number?];\n large: [number, number?];\n };\n /**\n * Heights of bottom bar.\n * Array values are like: [mobile, desktop]\n */\n bottomHeight: {\n small: [number, number?];\n large: [number, number?];\n };\n };\n menu: {\n /**\n * Heights of menu header.\n * Array values are like: [mobile, desktop]\n * Menu header is hidden if value equal 0\n */\n headerHeight: {\n small: [number, number?];\n large: [number, number?];\n };\n };\n };\n icons: {\n /** Icon setup for link/download lists */\n // linkIcons: {\n // default: (isInverted?: boolean) => React.ReactNode;\n // variations: Array<LinkIcon>;\n // };\n linkIcons: Array<XOR<LinkUrlIcon, LinkFontIcon>>;\n };\n}\n\nconst getLinkIconScale = (props: {\n type?: keyof Fonts;\n size?: FontOptionType;\n}) => {\n if (\n props.type === 'copy' ||\n props.type === 'copy-b' ||\n props.type === 'copy-i'\n ) {\n if (props.size === 'medium') return 0.8;\n if (props.size === 'small') return 0.7;\n if (props.size === 'big') return 0.9;\n }\n return 0.8;\n};\n\nconst defaultGlobalSettings: GlobalSettings = {\n sections: {\n seperation: {\n forcePadding: false,\n padding: {\n default: [spacings.nudge * 5, spacings.nudge * 10],\n stackable: [spacings.spacer],\n },\n margin: {\n default: [spacings.nudge * 5, spacings.nudge * 10],\n stackable: [spacings.spacer],\n },\n },\n edgeRadius: null,\n imageTextGradient: `\n linear-gradient(\n 0deg,\n rgba(0, 0, 0, 0.6) 0%,\n rgba(0, 0, 0, 0.4) 30%,\n rgba(0, 0, 0, 0.1) 60%,\n rgba(0, 0, 0, 0) 100%\n );\n `,\n imageTextGradientCentered: `linear-gradient(\n 0deg,\n rgba(0, 0, 0, 0.4) 0%,\n rgba(0, 0, 0, 0.3) 30%,\n rgba(0, 0, 0, 0.2) 60%,\n rgba(0, 0, 0, 0.15) 100%\n );`,\n imagePlaceholderBg: {\n default: '#e2e2e2',\n inverted: '#1e1c1f',\n },\n newsDateFormat: () => 'dd.mm.yy',\n newsTimeFormat: () => 'hh:mm',\n newsLocaleKey: 'de',\n eventDateFormat: () => 'ddd, dd.mm.yyyy',\n eventTimeFormat: () => 'hh:mm',\n eventTimespanFormat: () => '<START><SEP><END> Uhr',\n eventLocaleKey: 'de',\n datepickerLocaleKey: 'de',\n datepickerDateFormat: 'dd.MM.yyyy',\n\n newsFilterName: 'newsFilter',\n eventFilterName: 'eventFilter',\n jobFilterName: 'jobFilter',\n poiFilterName: 'poiFilter',\n },\n cookie: {\n name: 'cookie-consent-v2',\n lifetime: 365,\n types: {\n essentials: {\n isAccepted: true,\n isEditable: false,\n label: 'Essentielle Funktionen',\n },\n analytics: {\n isAccepted: false,\n isEditable: true,\n label: 'Analyse & Marketing',\n },\n functionals: {\n isAccepted: false,\n isEditable: true,\n label: 'Funktionelle Erweiterungen',\n },\n },\n consentDateFormat: () => 'dd.mm.yy',\n consentTimeFormat: () => 'hh:mm',\n consentLocaleKey: 'de',\n consentStatusFormat: 'Cookie aktualisiert am <DATE> um <TIME> Uhr',\n\n videoCookieTypeRestrictions: ['functionals'],\n },\n navigation: {\n navBar: {\n topHeight: {\n small: [0, 40],\n large: [30, 40],\n },\n mainHeight: {\n small: [80, 90],\n large: [100, 120],\n },\n bottomHeight: {\n small: [0, 40],\n large: [30, 40],\n },\n },\n menu: {\n headerHeight: {\n small: [210],\n large: [210],\n },\n },\n },\n icons: {\n linkIcons: [\n {\n iconUrl: (isInverted) =>\n getSVGData(\n <Icons.BoxArrowUpRight\n iconColor={\n isInverted\n ? defaultFonts.link.colorInverted\n : defaultFonts.link.color\n }\n />\n ),\n patterns: [], // default link icon\n isExternal: true,\n scale: getLinkIconScale,\n },\n {\n iconUrl: (isInverted) =>\n getSVGData(\n <Icons.Mail\n iconColor={\n isInverted\n ? defaultFonts.link.colorInverted\n : defaultFonts.link.color\n }\n />\n ),\n patterns: ['mailto:'],\n scale: getLinkIconScale,\n },\n {\n iconUrl: (isInverted) =>\n getSVGData(\n <Icons.Phone\n iconColor={\n isInverted\n ? defaultFonts.link.colorInverted\n : defaultFonts.link.color\n }\n />\n ),\n patterns: ['tel:'],\n scale: getLinkIconScale,\n },\n {\n iconUrl: (isInverted) =>\n getSVGData(\n <Icons.Pdf\n iconColor={\n isInverted\n ? defaultFonts.link.colorInverted\n : defaultFonts.link.color\n }\n />\n ),\n patterns: ['.pdf'],\n scale: getLinkIconScale,\n },\n {\n iconUrl: (isInverted) =>\n getSVGData(\n <Icons.Word\n iconColor={\n isInverted\n ? defaultFonts.link.colorInverted\n : defaultFonts.link.color\n }\n />\n ),\n patterns: ['.docx'],\n scale: getLinkIconScale,\n },\n {\n iconUrl: (isInverted) =>\n getSVGData(\n <Icons.Excel\n iconColor={\n isInverted\n ? defaultFonts.link.colorInverted\n : defaultFonts.link.color\n }\n />\n ),\n patterns: ['.xlsx'],\n scale: getLinkIconScale,\n },\n {\n iconUrl: (isInverted) =>\n getSVGData(\n <Icons.PowerPoint\n iconColor={\n isInverted\n ? defaultFonts.link.colorInverted\n : defaultFonts.link.color\n }\n />\n ),\n patterns: ['.pptx'],\n scale: getLinkIconScale,\n },\n {\n iconUrl: (isInverted) =>\n getSVGData(\n <Icons.Image\n iconColor={\n isInverted\n ? defaultFonts.link.colorInverted\n : defaultFonts.link.color\n }\n />\n ),\n patterns: ['.jpg', '.jpeg', '.png', '.svg'],\n scale: getLinkIconScale,\n },\n {\n iconUrl: (isInverted) =>\n getSVGData(\n <Icons.Zip\n iconColor={\n isInverted\n ? defaultFonts.link.colorInverted\n : defaultFonts.link.color\n }\n />\n ),\n patterns: ['.zip', '.tar'],\n scale: getLinkIconScale,\n },\n ],\n },\n};\n\n/***** Theme Helper *****/\nexport const baseTheme: DefaultTheme = {\n colors: { ...defaultColors },\n fonts: { types: { ...defaultFonts } },\n globals: { ...defaultGlobalSettings },\n};\n\nexport const getTheme = (theme?: DefaultTheme) => {\n return theme && theme.colors && theme.fonts && theme.globals\n ? theme\n : baseTheme;\n};\n\nexport const getColors = (theme?: DefaultTheme) => {\n return theme && theme.colors ? theme.colors : baseTheme.colors;\n};\n\nexport const getFonts = (theme?: DefaultTheme) => {\n return theme && theme.fonts?.types\n ? theme.fonts.types\n : baseTheme.fonts.types;\n};\n\nexport const getGlobals = (theme?: DefaultTheme) => {\n return theme && theme.globals ? theme.globals : baseTheme.globals;\n};\n"],"names":["getSVGDataImg","svg","encode","svgString","renderToString","concat","window","btoa","baseString","Buffer","from","toString","mq","medium","semilarge","large","xlarge","xxlarge","spacings","nudge","spacer","wrapperSmall","wrapper","wrapperLarge","defaultColors","text","default","inverted","error","errorInverted","heading","headingInverted","copy","copyInverted","subtile","subtileInverted","sectionBg","light","dark","elementBg","lightHover","mediumHover","darkHover","primary","hover","invertedHover","secondary","copyBase","family","weight","style","lineHeight","letterSpacing","size","textTransform","color","colorInverted","headingBase","defaultFonts","small","__assign","big","super","callout","link","colorHover","colorHoverInverted","navigation","featured","main","sub","getLinkIconScale","props","type","defaultGlobalSettings","sections","seperation","forcePadding","padding","stackable","margin","edgeRadius","imageTextGradient","imageTextGradientCentered","imagePlaceholderBg","newsDateFormat","newsTimeFormat","newsLocaleKey","eventDateFormat","eventTimeFormat","eventTimespanFormat","eventLocaleKey","datepickerLocaleKey","datepickerDateFormat","newsFilterName","eventFilterName","jobFilterName","poiFilterName","cookie","name","lifetime","types","essentials","isAccepted","isEditable","label","analytics","functionals","consentDateFormat","consentTimeFormat","consentLocaleKey","consentStatusFormat","videoCookieTypeRestrictions","navBar","topHeight","mainHeight","bottomHeight","menu","headerHeight","icons","linkIcons","iconUrl","isInverted","getSVGData","React","createElement","Icons","iconColor","patterns","isExternal","scale","baseTheme","colors","fonts","globals","theme","_a","fallbackColor","gradient","css","templateObject_1","__makeTemplateObject","templateObject_2","range","property","min","max","undefined","getSizeByRange"],"mappings":"+NAGaA,EAAgB,SACzBC,EACAC,QAAA,IAAAA,IAAAA,GAAa,GAETC,IAAAA,EAAY,GAChB,IAAKF,EAAK,MAAO,GAQb,GALAE,EADe,iBAARF,EACKA,EAEAG,EAAAA,eAAeH,IAG1BC,EAAQ,MAAO,2BAAAG,OAA2BF,GAE/C,GAAsB,oBAAXG,OACP,MAAO,oCAA6BC,KAAKJ,IAEnCK,IAAAA,EAAaC,OAAOC,KAAKP,GAAWQ,SAA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AAA,4HAAA,6KAAA,CAAA,wBACgB,4HAII,+KAJjBJ,EAISC,GAOfC,EAAGA,IAAAG,IAAAA,EAAAD,EAAAA,qBAAA,CAAA,wBAAA,eAAA,CAAA,wBACgB,iBAAbJ,sBAzCI,SAACM,EAA0BC,GAChD,IAAKA,EAAU,MAAO,GACtB,IAAMC,EAAMF,EAAM,GACZG,EAAMH,EAAM,GAEdG,YAAQC,IAARD,EACO,iBAAA7I,OACD2I,EAAa,MAAA3I,OAAA4I,8BACbD,EAAQ,MAAA3I,OAXQ,SAAC0I,GAC3B,MAAA,eAAQA,EAAM,GAAE,UAAA1I,OAAS0I,EAAM,GAAQ,OAAA1I,OAAA0I,EAAM,sCAA6B7H,EAASI,QAAmB,cAU/E8H,CAAeL,GAErB,4BAAA1I,OAAAO,EAAGI,OAAM,wBAAAX,OACZ2I,EAAa,MAAA3I,OAAA6I,kCAIhB,iBACD7I,OAAA2I,EAAa,MAAA3I,OAAA4I"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"urlParams-51ce7168.js","sources":["../../src/utils/useFontsLoaded.ts","../../src/utils/useResizeThrottle.ts","../../src/utils/urlParams.ts","../../src/utils/useEqualSheetHeight.ts","../../src/utils/useIE.ts","../../src/utils/useScrollTo.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\n\nexport const useFontsLoaded = () => {\n const [allFontsLoaded, setFontLoaded] = useState<boolean | undefined>(\n false\n );\n\n useEffect(() => {\n const waitForFonts = () => {\n (document as any)?.fonts?.ready?.then(() => {\n setFontLoaded(true);\n });\n };\n\n if ((document as any).fonts === undefined) setFontLoaded(undefined);\n else waitForFonts();\n }, []);\n\n return allFontsLoaded;\n};\n","import { useEffect, useRef, useState } from 'react';\n\nexport interface ResizeState {\n clientWidth: number;\n clientHeight: number;\n innerHeight: number;\n innerWidth: number;\n}\n\nconst useResizeThrottle = (\n timeout = 0,\n callback?: (state: ResizeState) => void\n) => {\n const [throttledState, setThrottledState] =\n useState<ResizeState | null>(null);\n\n const timeoutRef = useRef<number>(-1);\n const lastState = useRef<ResizeState>({\n clientWidth: 0,\n clientHeight: 0,\n innerHeight: 0,\n innerWidth: 0,\n });\n\n const updateResizeState = () => {\n if (typeof window === 'undefined' || typeof document === 'undefined') {\n return;\n }\n\n lastState.current = {\n clientWidth: document.documentElement.clientWidth,\n clientHeight: document.documentElement.clientHeight,\n innerHeight: window.innerHeight,\n innerWidth: window.innerWidth,\n };\n };\n\n useEffect(() => {\n if (typeof window === 'undefined') return;\n\n const handleResize = () => {\n updateResizeState();\n\n if (timeoutRef.current === -1) {\n timeoutRef.current = window.setTimeout(() => {\n callback?.(lastState.current);\n setThrottledState(lastState.current);\n timeoutRef.current = -1;\n }, timeout);\n }\n };\n\n updateResizeState();\n callback?.(lastState.current);\n setThrottledState(lastState.current);\n\n window.addEventListener('resize', handleResize);\n\n return () => {\n window.removeEventListener('resize', handleResize);\n };\n }, [callback, timeout]);\n\n return throttledState;\n};\n\nexport default useResizeThrottle;\n","import { concat } from './concat';\n\nconst isSupported =\n typeof window !== 'undefined' && 'URLSearchParams' in window;\n\nexport const getUrlParams = () => {\n const obj: Record<string, string> = {};\n if (!isSupported) return obj;\n\n const paramsObj = Object.fromEntries(\n new URLSearchParams(window.location.search)\n );\n\n for (const param in paramsObj) {\n let value = paramsObj[param];\n if (typeof value === 'string') {\n value = decodeURIComponent(value);\n }\n obj[param] = value;\n }\n\n return obj;\n};\n\nexport const setUrlParam = (key: string, value: string | number) => {\n if (\n !isSupported ||\n (typeof value !== 'string' && typeof value !== 'number')\n ) {\n return;\n }\n\n const params = getUrlParams();\n params[key] = value.toString();\n\n const currentParams = new URLSearchParams(window.location.search);\n for (const param in params) {\n currentParams.set(param, encodeURIComponent(params[param]));\n }\n\n updateUrl(currentParams);\n};\n\nexport const deleteUrlParam = (key: string) => {\n if (!isSupported) return;\n const currentParams = new URLSearchParams(window.location.search);\n currentParams.delete(key);\n\n updateUrl(currentParams);\n};\n\nconst updateUrl = (params: URLSearchParams) => {\n if (!params) return;\n\n const queries = params.toString();\n const url = queries\n ? concat([location.pathname, queries + location.hash], '?')\n : location.pathname + location.hash;\n\n window.history.replaceState({}, '', url);\n};\n","import {\n useEffect,\n useState,\n MutableRefObject,\n createRef,\n useCallback,\n} from 'react';\nimport { useMediaQuery } from './useMediaQuery';\nimport { useFontsLoaded } from 'utils/useFontsLoaded';\nimport useResizeThrottle from './useResizeThrottle';\n\ninterface ItemsPerRow {\n small?: number;\n medium?: number;\n semilarge?: number;\n large?: number;\n xlarge?: number;\n}\n\ntype Mq = keyof ItemsPerRow;\n\n// ********************\n// useEqualSheetHeight\n// ********************\n\nexport const useEqualSheetHeight = <T extends HTMLElement>(props: {\n listLength: number;\n identifiers: string[];\n responsive?: ItemsPerRow;\n /** Throttle timeout for resize events. Default: 400ms */\n resizeThrottleTimeout?: number;\n}) => {\n const defaultResponsive = {\n small: 1,\n medium: 1,\n semilarge: 2,\n large: 3,\n xlarge: 3,\n ...props.responsive,\n };\n const mqs: Mq[] = ['small', 'medium', 'semilarge', 'large', 'xlarge'];\n const currentMq = useMediaQuery(mqs) as Mq | undefined;\n const itemsPerRow = currentMq\n ? defaultResponsive[currentMq]\n : defaultResponsive.small;\n\n const [sheetRefs, setSheetRefs] = useState<MutableRefObject<T>[]>([]);\n const fontsLoaded = useFontsLoaded();\n\n const setHeights = useCallback(\n (\n heights: (number | null)[],\n selector: string,\n refs: MutableRefObject<T>[]\n ) => {\n const makeRows = (\n result: Array<number | null>[],\n _: number,\n index: number,\n arr: Array<number | null>\n ) => {\n // make new row after 3 items\n if (index % itemsPerRow === 0) {\n result.push(\n arr.slice(index, index + itemsPerRow) as Array<number>\n );\n }\n return result;\n };\n\n // put item heights in 2-dimensional array to sort them in rows\n const heightsInRows = heights.reduce(makeRows, []);\n\n heightsInRows.forEach((rowHeights, y) => {\n const validHeights = rowHeights.filter(\n (height) => height !== null\n ) as number[];\n\n const highest = validHeights.slice().sort((vA, vB) => {\n if (vA && vB) {\n if (vA > vB) return -1;\n return 1;\n } else return 0;\n })[0];\n\n // set height of all items in row to the highest value\n if (rowHeights.length > 1 && highest) {\n for (let x = 0; x < rowHeights.length; x++) {\n const index = x + y * itemsPerRow;\n const el = refs[index].current.querySelector(selector);\n\n el?.setAttribute('style', `height: ${highest}px`);\n }\n }\n });\n },\n [itemsPerRow]\n );\n\n // Throttle viewport resize event for performance\n const resizeState = useResizeThrottle(\n props.resizeThrottleTimeout !== undefined\n ? props.resizeThrottleTimeout\n : 400\n );\n\n useEffect(() => {\n const resize = (refs: MutableRefObject<T>[]) => () => {\n const identifierSizes = new Map<string, Array<number | null>>();\n\n // create identifier map\n for (let i = 0; i < props.identifiers.length; i++) {\n identifierSizes.set(props.identifiers[i], []);\n }\n\n // set height values\n refs.filter((ref) => ref.current).forEach(({ current }) => {\n // get height for each element\n props.identifiers.forEach((id) => {\n const element = current.querySelector(id);\n const prevHeights = identifierSizes.get(id);\n let height: number | null = null;\n\n if (element) {\n element.removeAttribute('style');\n height = element.getBoundingClientRect().height;\n }\n\n if (prevHeights) {\n identifierSizes.set(id, [...prevHeights, height]);\n }\n });\n });\n\n // set heights for each identifier\n identifierSizes.forEach((value, key) => {\n setHeights(value, key, refs);\n });\n };\n\n const resizeHandler = resize(sheetRefs);\n resizeHandler();\n }, [props.identifiers, resizeState, setHeights, sheetRefs, fontsLoaded]);\n\n const triggerCalculation = useCallback(() => {\n setSheetRefs((prev) =>\n Array(props.listLength)\n .fill(null)\n .map((_, i) => prev[i] || createRef())\n );\n }, [props.listLength]);\n\n useEffect(() => {\n setSheetRefs((prev) =>\n Array(props.listLength)\n .fill(null)\n .map((_, i) => prev[i] || createRef())\n );\n }, [props.listLength]);\n\n return {\n sheetRefs,\n triggerCalculation,\n };\n};\n","import { useState, useEffect } from 'react';\n\nconst useIE = (initialValue?: boolean) => {\n const [isIE, setIE] = useState(initialValue || false);\n\n useEffect(() => {\n setIE((document.body.style as any).msTouchAction !== undefined);\n }, []);\n return isIE;\n};\n\nexport default useIE;\n","import { useEffect, useRef, useState } from 'react';\n\nexport const useScrollTo = (fallbackScrollDuration: number) => {\n const startTime = useRef<number>(-1);\n const firstPos = useRef<number>(0);\n const [targetPos, setTargetPos] = useState<number | undefined>(undefined);\n\n const outQuad = (n: number) => {\n return n * (2 - n);\n };\n\n useEffect(() => {\n if (targetPos === undefined) return;\n if ('scrollBehavior' in document.documentElement.style) {\n window.scroll({\n top: targetPos,\n left: 0,\n behavior: 'smooth',\n });\n setTargetPos(undefined);\n } else {\n const animate = (timestamp: number) => {\n if (startTime.current === -1) {\n startTime.current = timestamp || new Date().getTime();\n }\n\n const elapsed = timestamp - startTime.current;\n const progress = elapsed / fallbackScrollDuration;\n const easeProgress = +outQuad(progress).toFixed(2);\n\n const newPos =\n targetPos === 0\n ? firstPos.current - firstPos.current * easeProgress\n : firstPos.current + targetPos * easeProgress;\n\n // scroll to new position\n window.scrollTo(0, newPos);\n\n if (\n (targetPos > 0 && newPos >= firstPos.current + targetPos) ||\n (targetPos < 0 && newPos <= firstPos.current + targetPos) ||\n (targetPos === 0 && newPos <= 0)\n ) {\n cancelAnimationFrame(startTime.current);\n startTime.current = -1;\n setTargetPos(undefined);\n } else {\n window.requestAnimationFrame(animate);\n }\n };\n\n cancelAnimationFrame(startTime.current);\n startTime.current = -1;\n firstPos.current =\n window.pageYOffset || document.documentElement.scrollTop;\n window.requestAnimationFrame(animate);\n }\n }, [targetPos, fallbackScrollDuration]);\n\n return setTargetPos;\n};\n"],"names":["useFontsLoaded","_a","useState","allFontsLoaded","setFontLoaded","useEffect","undefined","document","fonts","_b","ready","then","waitForFonts","useResizeThrottle","timeout","callback","throttledState","setThrottledState","timeoutRef","useRef","lastState","clientWidth","clientHeight","innerHeight","innerWidth","updateResizeState","window","current","documentElement","handleResize","setTimeout","addEventListener","removeEventListener","isSupported","getUrlParams","obj","paramsObj","Object","fromEntries","URLSearchParams","location","search","param","value","decodeURIComponent","updateUrl","params","queries","toString","url","concat","pathname","hash","history","replaceState","key","currentParams","delete","set","encodeURIComponent","props","defaultResponsive","__assign","small","medium","semilarge","large","xlarge","responsive","currentMq","useMediaQuery","itemsPerRow","sheetRefs","setSheetRefs","fontsLoaded","setHeights","useCallback","heights","selector","refs","reduce","result","_","index","arr","push","slice","forEach","rowHeights","y","validHeights","highest","filter","height","sort","vA","vB","length","x","el","querySelector","setAttribute","resizeState","resizeThrottleTimeout","resizeHandler","identifierSizes","Map","i","identifiers","ref","id","element","prevHeights","get","removeAttribute","getBoundingClientRect","triggerCalculation","prev","Array","listLength","fill","map","createRef","initialValue","isIE","setIE","body","style","msTouchAction","fallbackScrollDuration","startTime","firstPos","targetPos","setTargetPos","scroll","top","left","behavior","animate_1","timestamp","Date","getTime","n","elapsed","easeProgress","toFixed","newPos","scrollTo","cancelAnimationFrame","requestAnimationFrame","pageYOffset","scrollTop"],"mappings":"sJAEaA,EAAiB,WACpB,IAAAC,EAAkCC,EAAQA,UAC5C,GADGC,EAAcF,EAAA,GAAEG,EAAaH,EAAA,GAepC,OAXAI,EAAAA,WAAU,gBAO0BC,IAA3BC,SAAiBC,MAAqBJ,OAAcE,GANpC,mBACgB,QAAjCG,EAA0B,QAAzBR,EAAA,OAAAM,eAAA,IAAAA,cAAA,EAAAA,SAAkBC,aAAO,IAAAP,OAAA,EAAAA,EAAAS,aAAO,IAAAD,GAAAA,EAAAE,MAAK,WAClCP,GAAc,MAKjBQ,KACN,IAEIT,GCTLU,EAAoB,SACtBC,EACAC,QADA,IAAAD,IAAAA,EAAW,GAGL,IAAAb,EACFC,EAAQA,SAAqB,MAD1Bc,EAAcf,EAAA,GAAEgB,EAAiBhB,EAAA,GAGlCiB,EAAaC,EAAAA,QAAgB,GAC7BC,EAAYD,EAAAA,OAAoB,CAClCE,YAAa,EACbC,aAAc,EACdC,YAAa,EACbC,WAAY,IAGVC,EAAoB,WACA,oBAAXC,QAA8C,oBAAbnB,WAI5Ca,EAAUO,QAAU,CAChBN,YAAad,SAASqB,gBAAgBP,YACtCC,aAAcf,SAASq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BgH,EAAWhH,SAAe,GAC1BlB,EAA4BC,EAAQA,cAAqBI,GAAxD8H,EAASnI,EAAA,GAAEoI,EAAYpI,EAAA,GAsD9B,OAhDAI,EAAAA,WAAU,WACF+H,QAAc9H,IAAd8H,EACJ,GAAI,mBAAoB7H,SAASqB,gBAAgBmG,MAC7CrG,OAAO4G,OAAO,CACVC,IAAKH,EACLI,KAAM,EACNC,SAAU,WAEdJ,OAAa/H,OACV,CACH,IAAMoI,EAAU,SAACC,IACc,IAAvBT,EAAUvG,UACVuG,EAAUvG,QAAUgH,IAAa,IAAIC,MAAOC,WAGhD,IAnBKC,EAmBCC,EAAUJ,EAAYT,EAAUvG,QAEhCqH,IArBDF,EAoBYC,EAAUd,EAnB5Ba,GAAK,EAAIA,IAoBgCG,QAAQ,GAE1CC,EACY,IAAdd,EACMD,EAASxG,QAAUwG,EAASxG,QAAUqH,EACtCb,EAASxG,QAAUyG,EAAYY,EAGzCtH,OAAOyH,SAAS,EAAGD,GAGdd,EAAY,GAAKc,GAAUf,EAASxG,QAAUyG,GAC9CA,EAAY,GAAKc,GAAUf,EAASxG,QAAUyG,GAChC,IAAdA,GAAmBc,GAAU,GAE9BE,qBAAqBlB,EAAUvG,SAC/BuG,EAAUvG,SAAW,EACrB0G,OAAa/H,IAEboB,OAAO2H,sBAAsBX,IAIrCU,qBAAqBlB,EAAUvG,SAC/BuG,EAAUvG,SAAW,EACrBwG,EAASxG,QACLD,OAAO4H,aAAe/I,SAASqB,gBAAgB2H,UACnD7H,OAAO2H,sBAAsBX,MAElC,CAACN,EAAWH,IAERI"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCookieConsent-0bf94751.js","sources":["../../src/utils/cookie-consent/cookie.ts","../../src/utils/cookie-consent/useCookieConsent.tsx","../../src/utils/cookie-consent/mutations.ts"],"sourcesContent":["export interface Cookie<T extends object> {\n name: string;\n data: T;\n}\n\nexport const setCookie = <T extends object>({\n name,\n data,\n days = -1,\n path = '/',\n}: {\n name: string;\n data: T;\n days?: number;\n path?: string;\n}) => {\n let cookieString = `${name}=`;\n\n try {\n const stringifiedData = JSON.stringify(data);\n cookieString += encodeURIComponent(stringifiedData);\n } catch (err) {\n console.warn('Cannot save data to cookie!');\n }\n\n // specify path\n cookieString += `; path=${path};`;\n\n // check if cookie should have lifetime\n if (days >= 0) {\n const date = new Date();\n date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);\n cookieString += ` expires=${date.toUTCString()};`;\n }\n document.cookie = cookieString;\n};\n\nexport const getCookie = <T extends object>(\n name: string\n): Cookie<T> | undefined => {\n let cookie = undefined;\n\n try {\n // get cookie value\n const b = document.cookie.match(\n '(^|;)\\\\s*' + name + '\\\\s*=\\\\s*([^;]+)'\n );\n let cookieValue = b ? b.pop() : '';\n cookieValue = cookieValue ? decodeURIComponent(cookieValue) : '';\n\n if (!cookieValue) return;\n\n cookie = {\n name: name,\n data: JSON.parse(cookieValue) as T,\n } as Cookie<T>;\n } catch (err) {\n console.warn(err);\n }\n\n return cookie;\n};\n\nexport const deleteCookie = (name: string) => {\n setCookie<any>({ name, data: {} });\n};\n","import React, { useEffect, useState, useMemo, useCallback } from 'react';\nimport ReactDOMServer from 'react-dom/server';\n\nimport { Cookie, getCookie, setCookie } from './cookie';\nimport { activateTrackingScripts, updateConsentStatus } from './mutations';\n\nexport interface CookieType {\n label: string;\n isAccepted: boolean;\n isEditable: boolean;\n}\n\nexport interface CookieTypes {\n [key: string]: CookieType;\n}\n\nexport interface CookieConsentData {\n types: Record<string, boolean>;\n updatedAt: number;\n}\n\nexport interface CookieConsentSettings {\n cookieName?: string;\n initialCookieTypes?: CookieTypes;\n lifetime?: number;\n}\n\nexport const selectors = {\n buttons: {\n class: 'cookie-consent-button',\n attribute: 'data-consent-button',\n },\n status: {\n class: 'cookie-consent-status',\n attribute: 'data-consent-status',\n },\n script: (key: string) => `cookie-consent-script-${key}`,\n};\n\nconst useCookieConsent = (\n props: CookieConsentSettings,\n onSubmit?: () => void,\n statusRenderer?: (props: {\n updatedAt: number;\n state: CookieTypes;\n }) => React.ReactElement\n) => {\n const settings: Required<CookieConsentSettings> = useMemo(() => {\n return {\n cookieName: 'cookie-consent-v2',\n lifetime: 365,\n initialCookieTypes: {\n essentials: {\n isEditable: false,\n isAccepted: true,\n label: 'Essential functionalities',\n },\n },\n ...props,\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const [cookieTypes, setCookieTypes] = useState<CookieTypes>(\n settings.initialCookieTypes\n );\n\n const updateStatus = useCallback(() => {\n const cookie = getCookie(\n settings.cookieName\n ) as Cookie<CookieConsentData>;\n\n let statusMsg = '-';\n\n if (cookie && cookie.data) {\n const statusHtml = statusRenderer?.({\n updatedAt: cookie.data.updatedAt,\n state: cookieTypes,\n });\n if (statusHtml) {\n statusMsg = ReactDOMServer.renderToStaticMarkup(statusHtml);\n }\n }\n\n updateConsentStatus(statusMsg, [\n `[${selectors.status.attribute}]`,\n `.${selectors.status.class}`,\n ]);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [settings.cookieName]);\n\n useEffect(() => {\n const cookie = getCookie(\n settings.cookieName\n ) as Cookie<CookieConsentData>;\n\n if (cookie && cookie.data?.types) {\n setCookieTypes((prev) => {\n const cPrev = { ...prev };\n for (const key in cPrev) {\n if (!cookie.data.types[key]) continue;\n cPrev[key].isAccepted = cookie.data.types[key];\n }\n\n handleScriptActivation(cPrev);\n\n return cPrev;\n });\n }\n updateStatus();\n }, [settings, settings.cookieName, updateStatus]);\n\n const mapToCookieData = (types: CookieTypes): Record<string, boolean> => {\n const data = {};\n if (!types) return data;\n\n for (const key in types) {\n data[key] = types[key].isAccepted;\n }\n\n return data;\n };\n\n /** Accept all types of cookies */\n const acceptAll = useCallback(() => {\n console.info('Accept all cookie types');\n\n setCookieTypes((prev) => {\n const types = { ...prev };\n for (const key in types) {\n if (!types[key].isEditable) continue;\n types[key].isAccepted = true;\n }\n\n setCookie<CookieConsentData>({\n name: settings.cookieName,\n data: {\n types: mapToCookieData(types),\n updatedAt: new Date().getTime(),\n },\n days: settings.lifetime,\n });\n\n updateStatus();\n handleScriptActivation(types);\n return types;\n });\n onSubmit?.();\n }, [onSubmit, settings.cookieName, settings.lifetime, updateStatus]);\n\n /** Decline all types of cookies (except required ones) */\n const declineAll = useCallback(() => {\n console.info('Decline all cookie types');\n\n setCookieTypes((prev) => {\n const types = { ...prev };\n for (const key in types) {\n if (!types[key].isEditable) continue;\n types[key].isAccepted = false;\n }\n\n setCookie<CookieConsentData>({\n name: settings.cookieName,\n data: {\n types: mapToCookieData(types),\n updatedAt: new Date().getTime(),\n },\n days: settings.lifetime,\n });\n\n updateStatus();\n handleScriptActivation(types);\n return types;\n });\n onSubmit?.();\n }, [onSubmit, settings.cookieName, settings.lifetime, updateStatus]);\n\n /** Accept selected types of cookies */\n const acceptSelected = useCallback(() => {\n console.info('Accept selected cookie types');\n\n setCookie<CookieConsentData>({\n name: settings.cookieName,\n data: {\n types: mapToCookieData(cookieTypes),\n updatedAt: new Date().getTime(),\n },\n days: settings.lifetime,\n });\n\n updateStatus();\n handleScriptActivation(cookieTypes);\n onSubmit?.();\n }, [\n cookieTypes,\n onSubmit,\n settings.cookieName,\n settings.lifetime,\n updateStatus,\n ]);\n\n const handleScriptActivation = (types: CookieTypes) => {\n if (!types) return;\n\n // activate scripts from cookie types\n const acceptedKeys = Object.keys(types).filter(\n (key) => types[key].isAccepted\n );\n activateTrackingScripts(\n acceptedKeys.map((key) => selectors.script(key))\n );\n };\n\n /** Set or toggle consent status of cookie type */\n const setConsent = (type: keyof CookieTypes, isAccepted?: boolean) => {\n setCookieTypes((prev) => {\n const types = { ...prev };\n if (!types[type] || !types[type].isEditable) return types;\n\n if (isAccepted !== undefined) {\n types[type].isAccepted = isAccepted;\n } else {\n types[type].isAccepted = !types[type].isAccepted;\n }\n\n return types;\n });\n };\n\n const getCookieValue = (): Cookie<CookieConsentData> | undefined => {\n return getCookie(settings.cookieName) as Cookie<CookieConsentData>;\n };\n\n return {\n cookieTypes,\n acceptAll,\n acceptSelected,\n declineAll,\n setConsent,\n getCookieValue,\n };\n};\n\nexport default useCookieConsent;\n","export const isUrlInWhitelist = (\n urlString: string,\n whitelist: string[] = []\n) => {\n let isInWhiteList = false;\n for (let i = 0; i < whitelist.length; i++) {\n if (urlString.indexOf(whitelist[i]) > -1) {\n isInWhiteList = true;\n break;\n }\n }\n return isInWhiteList;\n};\n\nexport const bindConsentButtons = (\n callback: () => void,\n selectors: string[] = []\n) => {\n const allConsentButtons = document.querySelectorAll(selectors.join(', '));\n\n for (let i = 0, len = allConsentButtons.length; i < len; i++) {\n allConsentButtons[i].addEventListener('click', callback);\n }\n};\n\nexport const activateTrackingScripts = (scriptTypeSelectors: string[] = []) => {\n const selectors = scriptTypeSelectors\n .filter((selector) => selector)\n .map((selector) => `script[type='text/${selector}']`)\n .join(', ');\n\n const scriptElements = selectors\n ? document.querySelectorAll(selectors)\n : [];\n\n let i = scriptElements.length;\n const newScriptElements: HTMLScriptElement[] = [];\n while (i--) {\n // create new script element to call it\n const newScriptElement = document.createElement('script');\n newScriptElement.type = 'text/javascript';\n\n if (scriptElements[i].hasAttribute('src')) {\n newScriptElement.src = scriptElements[i].getAttribute('src')!;\n newScriptElement.async = true;\n } else {\n newScriptElement.innerHTML = scriptElements[i].innerHTML;\n }\n\n // add new script tags to list\n newScriptElements.push(newScriptElement);\n\n // delete old helper element\n if (scriptElements[i].parentNode) {\n // eslint-disable-next-line no-unused-expressions\n scriptElements[i].parentNode?.removeChild(scriptElements[i]);\n }\n }\n\n // append new script tags\n i = newScriptElements.length;\n while (i--) {\n // append / activate script\n document.body.appendChild(newScriptElements[i]);\n }\n};\n\nexport const updateConsentStatus = (\n content: string,\n selectors: string[] = []\n) => {\n if (!content) return;\n const statusElements = document.querySelectorAll(selectors.join(', '));\n\n for (let i = 0, len = statusElements.length; i < len; i++) {\n statusElements[i].innerHTML = content;\n }\n};\n"],"names":["setCookie","_a","name","data","_b","days","_c","path","cookieString","concat","stringifiedData","JSON","stringify","encodeURIComponent","err","console","warn","date","Date","setTime","getTime","toUTCString","document","cookie","getCookie","undefined","b","match","cookieValue","pop","decodeURIComponent","parse","selectors","buttons","class","attribute","status","script","key","callback","allConsentButtons","querySelectorAll","join","i","len","length","addEventListener","urlString","whitelist","isInWhiteList","indexOf","props","onSubmit","statusRenderer","settings","useMemo","__assign","cookieName","lifetime","initialCookieTypes","essentials","isEditable","isAccepted","label","useState","cookieTypes","setCookieTypes","updateStatus","useCallback","statusMsg","statusHtml","updatedAt","state","ReactDOMServer","renderToStaticMarkup","content","statusElements","innerHTML","updateConsentStatus","useEffect","types","prev","cPrev","handleScriptActivation","mapToCookieData","acceptAll","info","declineAll","acceptSelected","scriptTypeSelectors","filter","selector","map","scriptElements","newScriptElements","newScriptElement","createElement","type","hasAttribute","src","getAttribute","async","push","parentNode","removeChild","body","appendChild","activateTrackingScripts","Object","keys","setConsent","getCookieValue"],"mappings":"wLAKaA,EAAY,SAAmBC,GACxC,IAAAC,SACAC,SACAC,EAAAH,EAAAI,KAAAA,OAAI,IAAAD,GAAI,IACRE,EAAAL,EAAAM,KAAAA,OAAI,IAAAD,EAAG,IAAGA,EAONE,EAAe,GAAGC,OAAAP,OAElB,IACA,IAAMQ,EAAkBC,KAAKC,UAAUT,GACvCK,GAAgBK,mBAAmBH,GACrC,MAAOI,GACLC,QAAQC,KAAK,+BAObX,GAHJG,GAAgB,UAAAC,OAAUF,EAAI,KAG1BF,GAAQ,EAAG,CACX,IAAMY,EAAO,IAAIC,KACjBD,EAAKE,QAAQF,EAAKG,UAAmB,GAAPf,EAAY,GAAK,GAAK,KACpDG,GAAgB,YAAYC,OAAAQ,EAAKI,mBAErCC,SAASC,OAASf,GAGTgB,EAAY,SACrBtB,GAEIqB,IAAAA,OAASE,EAET,IAEA,IAAMC,EAAIJ,SAASC,OAAOI,MACtB,YAAczB,EAAO,oBAErB0B,EAAcF,EAAIA,EAAEG,MAAQ,GAG5B,KAFJD,EAAcA,EAAcE,m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AAMN,EAAelD,GAAGyD,aAAa,OACtDL,EAAiBM,OAAQ,GAEzBN,EAAiBlB,UAAYgB,EAAelD,GAAGkC,UAInDiB,EAAkBQ,KAAKP,GAGnBF,EAAelD,GAAG4D,aAEU,QAA5BtG,EAAA4F,EAAelD,GAAG4D,kBAAU,IAAAtG,GAAAA,EAAEuG,YAAYX,EAAelD,KAM1DA,IADPA,EAAImD,EAAkBjD,OACfF,KAEHrB,SAASmF,KAAKC,YAAYZ,EAAkBnD,IDiJ5CgE,CAHqBC,OAAOC,KAAK7B,GAAOU,QACpC,SAACpD,GAAQ,OAAA0C,EAAM1C,GAAKwB,cAGP8B,KAAI,SAACtD,GAAQ,OAAAN,EAAUK,OAAOC,QAwB5C,MAAA,CACH2B,YAAWA,EACXoB,UAASA,EACTG,eAAcA,EACdD,WAAUA,EACVuB,WAxBe,SAACb,EAAyBnC,GACzCI,GAAe,SAACe,GACZ,IAAMD,EAAKxB,EAAAA,SAAA,GAAQyB,GACnB,OAAKD,EAAMiB,IAAUjB,EAAMiB,GAAMpC,YAG7BmB,EAAMiB,GAAMnC,gBADGrC,IAAfqC,EACyBA,GAECkB,EAAMiB,GAAMnC,WAGnCkB,GAR6CA,MAsBxD+B,eAVmB,WACnB,OAAOvF,EAAU8B,EAASG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useGeolocation-4d38150b.js","sources":["../../src/utils/useTimeout.ts","../../src/utils/useDebounce.ts","../../src/utils/useGeolocation.ts","../../src/utils/useLazyInput.ts","../../src/utils/useLeafletMap.tsx"],"sourcesContent":["import { useCallback, useEffect, useRef } from 'react';\n\nconst useTimeout = (callback: () => void, delay: number) => {\n const callbackRef = useRef(callback);\n const timeoutRef = useRef<number>();\n\n useEffect(() => {\n callbackRef.current = callback;\n }, [callback]);\n\n const set = useCallback(() => {\n timeoutRef.current = window.setTimeout(\n () => callbackRef.current?.(),\n delay\n );\n }, [delay]);\n\n const clear = useCallback(() => {\n timeoutRef.current && window.clearTimeout(timeoutRef.current);\n }, []);\n\n useEffect(() => {\n set();\n return clear;\n }, [delay, set, clear]);\n\n const reset = useCallback(() => {\n clear();\n set();\n }, [clear, set]);\n\n return { clear, reset };\n};\n\nexport default useTimeout;\n","import { DependencyList, useEffect } from 'react';\nimport useTimeout from './useTimeout';\n\nconst useDebounce = (\n callback: () => void,\n delay: number,\n deps: DependencyList\n) => {\n const { clear, reset } = useTimeout(callback, delay);\n\n useEffect(reset, [...deps, reset]);\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n useEffect(clear, []);\n\n return {\n clear,\n reset,\n };\n};\n\nexport default useDebounce;\n","import { useCallback, useEffect, useRef, useState } from 'react';\n\nconst useGeolocation = (enableHighAccuracy = true, autostart = true) => {\n const [isSupported, setIsSupported] = useState<boolean>();\n const [isEnabled, setIsEnabled] = useState<boolean>();\n const [location, setLocation] = useState<GeolocationPosition>();\n const [error, setError] = useState<GeolocationPositionError>();\n const watchRef = useRef<number | null>();\n\n useEffect(() => {\n setIsSupported('geolocation' in navigator);\n }, []);\n\n const cancel = useCallback(() => {\n setIsEnabled(false);\n if (watchRef.current) {\n navigator.geolocation.clearWatch(watchRef.current);\n }\n }, []);\n\n useEffect(() => {\n if (!autostart || !('geolocation' in navigator)) {\n return;\n }\n\n cancel();\n navigator.geolocation.watchPosition(handleSuccess, handleError, {\n enableHighAccuracy,\n });\n setIsEnabled(true);\n const watch = watchRef.current;\n\n return () => {\n if (watch) {\n setIsEnabled(false);\n navigator.geolocation.clearWatch(watch);\n }\n };\n }, [autostart, cancel, enableHighAccuracy]);\n\n const reset = useCallback(() => {\n return new Promise<GeolocationPosition>((resolve, reject) => {\n cancel();\n setIsEnabled(false);\n navigator.geolocation.watchPosition(\n (position) => {\n handleSuccess(position);\n resolve(position);\n },\n (err) => {\n handleError(err);\n reject(err);\n },\n {\n enableHighAccuracy,\n }\n );\n setIsEnabled(true);\n });\n }, [cancel, enableHighAccuracy]);\n\n const handleSuccess = (position: GeolocationPosition) => {\n setLocation(position);\n };\n\n const handleError = (error: GeolocationPositionError) => {\n setIsEnabled(false);\n console.log(error);\n\n setError(error);\n };\n\n return { isSupported, isEnabled, location, error, reset, cancel };\n};\n\nexport default useGeolocation;\n","import { useCallback, useState } from 'react';\nimport useDebounce from './useDebounce';\n\nconst useLazyInput = (\n callback: (value: string) => void,\n initial: string,\n delay = 600\n) => {\n const [value, setValue] = useState<string>(initial);\n const { clear } = useDebounce(() => callback?.(value), delay, [value]);\n\n const update = useCallback((value: string, withoutDelay = false) => {\n setValue(value);\n if (withoutDelay) {\n clear();\n callback?.(value);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const forceUpdate = useCallback(() => {\n clear();\n callback?.(value);\n }, [callback, clear, value]);\n\n return {\n update,\n value,\n forceUpdate,\n };\n};\n\nexport default useLazyInput;\n","import { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport {\n FeatureGroup,\n LatLng,\n LeafletMouseEvent,\n Map,\n Marker,\n MarkerOptions,\n} from 'leaflet';\n\nexport interface LeafletMapSettings {\n center: [number, number];\n zoom: number;\n minZoom?: number;\n maxZoom?: number;\n touchZoom: boolean;\n scrollWheelZoom: boolean;\n onlyScrollOnFocus: boolean;\n url: string;\n attribution: string;\n markers: Array<LeafletMapMarker>;\n activeMarkerId?: string;\n fitBoundsPadding: [number, number];\n restrictToMarkersArea?: boolean;\n showZoomControls?: boolean;\n zoomControlPosition?: 'bottomleft' | 'bottomright' | 'topleft' | 'topright';\n onMarkerClick?: (markerId: string) => void;\n onActiveMarkerChanged?: (props: { markerId: string }) => void;\n onReady?: () => void;\n onClick?: (ev: LeafletMouseEvent, currentZoom: number) => void;\n}\n\nexport interface LeafletMapMarker {\n id: string;\n position: [number, number];\n isInteractive?: boolean;\n icon?: {\n url: string;\n size: [number, number];\n anchor: [number, number];\n\n sizeActive: [number, number];\n anchorActive: [number, number];\n };\n popup?: {\n text: string;\n };\n}\n\nconst useLeafletMap = (settings: Partial<LeafletMapSettings>) => {\n const [container, setContainer] = useState<HTMLElement | null>(null);\n const [L, setLeaflet] = useState<any>(null);\n const [map, setMap] = useState<Map | null>(null);\n const [markersLayerGroup, setMarkersLayerGroup] =\n useState<FeatureGroup<any> | null>(null);\n const prevMarkerId = useRef<string | null>(null);\n const [isLoaded, setLoaded] = useState<boolean>(false);\n const isRenderedRef = useRef<boolean>(false);\n\n const lastValidCenter = useRef<LatLng | null>(null);\n\n const mapSettings: LeafletMapSettings = useMemo(() => {\n // removing undefined keys\n Object.keys(settings).forEach((key) => {\n if (settings[key] === undefined) {\n delete settings[key];\n }\n });\n\n return {\n center: [0, 0],\n zoom: 2.5,\n touchZoom: true,\n scrollWheelZoom: false,\n showZoomControls: true,\n zoomControlPosition: 'topleft',\n onlyScrollOnFocus: true,\n url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',\n attribution:\n '&copy; <a href=\"http://osm.org/copyright\">OpenStreetMap</a> contributors',\n markers: [],\n fitBoundsPadding: [20, 20], // 0 = TopLeft, 1 = BottomRight\n ...settings,\n };\n }, [settings]);\n\n useEffect(() => {\n if (!container) return;\n\n const init = async () => {\n if (L || !container || isRenderedRef.current) return;\n isRenderedRef.current = true;\n\n // init leaflet\n const leaflet = await import('leaflet');\n if (!leaflet) return;\n\n // set leaflet state\n setLeaflet(leaflet);\n\n // setup map\n const map = leaflet.map(container, {\n center: mapSettings.center,\n zoom: mapSettings.zoom,\n touchZoom: mapSettings.touchZoom,\n scrollWheelZoom: mapSettings.scrollWheelZoom,\n zoomControl: false,\n minZoom: mapSettings.minZoom,\n maxZoom: mapSettings.maxZoom,\n });\n\n if (mapSettings.showZoomControls) {\n leaflet.control\n .zoom({\n position: mapSettings.zoomControlPosition,\n })\n .addTo(map);\n }\n\n // activate map scrolling on focus\n map.once('focus', () => {\n if (mapSettings.onlyScrollOnFocus) {\n map.scrollWheelZoom.enable();\n }\n });\n\n // deactivate map scrolling on focus is lost\n map.once('blur', () => {\n if (mapSettings.onlyScrollOnFocus) {\n map.scrollWheelZoom.disable();\n }\n });\n\n map.on('click', (ev) => {\n mapSettings.onClick?.(ev as LeafletMouseEvent, map.getZoom());\n });\n\n // set map state\n setMap(map);\n\n // add map layer from map provider\n leaflet\n .tileLayer(mapSettings.url, {\n attribution: mapSettings.attribution,\n })\n .addTo(map);\n\n // setup layer for markers\n const group = new leaflet.FeatureGroup();\n group.addTo(map);\n\n setMarkersLayerGroup(group);\n };\n\n init();\n }, [\n L,\n container,\n mapSettings,\n mapSettings.attribution,\n mapSettings.center,\n mapSettings.onlyScrollOnFocus,\n mapSettings.scrollWheelZoom,\n mapSettings.touchZoom,\n mapSettings.url,\n mapSettings.zoom,\n ]);\n\n useEffect(() => {\n if (!map || !markersLayerGroup) return;\n\n markersLayerGroup.clearLayers();\n mapSettings.markers?.forEach(\n ({ position, icon, id, isInteractive }) => {\n if (!icon?.url || !icon?.size || !position) return;\n const isActive = id === mapSettings.activeMarkerId;\n\n const markerIcon = L.icon({\n iconUrl: icon.url,\n\n iconSize: isActive ? icon.sizeActive : icon.size, // size of the icon\n // shadowSize: [50, 64], // size of the shadow\n iconAnchor: isActive ? icon.anchorActive : icon?.anchor, // point of the icon which will correspond to marker's location\n // shadowAnchor: [4, 62], // the same for the shadow\n // popupAnchor: [0, -16], // point from which the popup should open relative to the iconAnchor\n });\n\n const marker: Marker = L.marker(\n L.latLng(position[0], position[1]),\n {\n icon: markerIcon,\n riseOnHover: true,\n interactive: isInteractive,\n } as MarkerOptions\n ).addTo(map);\n\n if (isInteractive) {\n marker.on('click', () => {\n mapSettings.onMarkerClick?.(id);\n });\n }\n\n // add marker to markers layer\n markersLayerGroup.addLayer(marker);\n\n if (L && map && markersLayerGroup) {\n if (!isLoaded) {\n // on first load\n mapSettings.onReady?.();\n setLoaded(true);\n if (mapSettings.activeMarkerId) {\n prevMarkerId.current = mapSettings.activeMarkerId;\n }\n } else {\n // check if active marker changed\n if (\n mapSettings.activeMarkerId &&\n mapSettings.activeMarkerId !== prevMarkerId?.current\n ) {\n prevMarkerId.current = mapSettings.activeMarkerId;\n\n mapSettings.onActiveMarkerChanged?.({\n markerId: mapSettings.activeMarkerId,\n });\n }\n }\n }\n }\n );\n\n const handleMapMove = () => {\n if (!map) return;\n if (!mapSettings.restrictToMarkersArea) return;\n\n const markersBounds = markersLayerGroup?.getBounds()?.pad(0.3);\n if (!markersBounds || !markersBounds.isValid()) return;\n\n const northEdge = markersBounds.getNorth();\n const eastEdge = markersBounds.getEast();\n const southEdge = markersBounds.getSouth();\n const westEdge = markersBounds.getWest();\n\n const center = map.getCenter();\n let newLat: number | null = null;\n let newLng: number | null = null;\n\n // on latitude overshoot\n if (\n (center.lat < southEdge || center.lat > northEdge) &&\n lastValidCenter.current\n ) {\n newLat = lastValidCenter.current?.lat;\n }\n\n // on longitude overshoot\n if (\n (center.lng < westEdge || center.lng > eastEdge) &&\n lastValidCenter.current\n ) {\n newLng = lastValidCenter.current?.lng;\n }\n\n if (newLng !== null || newLat !== null) {\n if (newLng !== null) center.lng = newLng;\n if (newLat !== null) center.lat = newLat;\n\n map.panTo(center, { animate: false });\n }\n\n lastValidCenter.current = center;\n };\n\n // if set restrict map movement to markers\n if (mapSettings.restrictToMarkersArea) {\n const markersBounds = markersLayerGroup?.getBounds();\n\n if (markersBounds.isValid()) {\n map.on('drag', handleMapMove);\n }\n }\n\n return () => {\n lastValidCenter.current = null;\n map?.off('drag', handleMapMove);\n };\n }, [L, isLoaded, map, mapSettings, mapSettings.markers, markersLayerGroup]);\n\n /**\n * Adjust zoom to show all markers\n */\n const showAllMarkers = useCallback(() => {\n if (map && markersLayerGroup) {\n map.fitBounds(markersLayerGroup.getBounds(), {\n padding: L.point(mapSettings.fitBoundsPadding),\n });\n }\n }, [L, map, mapSettings.fitBoundsPadding, markersLayerGroup]);\n\n /**\n * Pan and zoom to active marker position on map\n * @param zoom\n */\n const flyToActive = useCallback(\n (zoom?: number) => {\n const mapZoom = zoom || mapSettings.zoom;\n const marker = mapSettings.markers?.find(\n (m) => m.id === mapSettings.activeMarkerId\n );\n if (marker) map?.flyTo(marker.position, mapZoom);\n },\n [map, mapSettings.activeMarkerId, mapSettings.markers, mapSettings.zoom]\n );\n\n /**\n * Pan and zoom to marker position on map\n * @param position\n * @param zoom\n */\n const flyToPosition = useCallback(\n (position?: [number, number], zoom?: number) => {\n const mapZoom = zoom || mapSettings.zoom;\n\n if (position) map?.flyTo(position, mapZoom);\n else flyToActive(mapZoom);\n },\n [flyToActive, map, mapSettings.zoom]\n );\n\n /**\n * Pan to marker position on map\n * @param position\n */\n const panToPosition = useCallback(\n (position?: [number, number]) => {\n if (position) map?.panTo(position);\n },\n [map]\n );\n\n /** Recalculate map size */\n const recalculateMapSize = useCallback(() => {\n map?.invalidateSize();\n }, [map]);\n\n const getCurrentZoom = useCallback(() => {\n return map?.getZoom() || mapSettings.zoom;\n }, [map, mapSettings.zoom]);\n\n return {\n setContainer,\n flyToActive,\n flyToPosition,\n panToPosition,\n showAllMarkers,\n recalculateMapSize,\n getCurrentZoom,\n isLoaded,\n };\n};\n\nexport default useLeafletMap;\n"],"names":["useTimeout","callback","delay","callbackRef","useRef","timeoutRef","useEffect","current","set","useCallback","window","setTimeout","_a","call","clear","clearTimeout","reset","useDebounce","deps","__spreadArray","enableHighAccuracy","autostart","useState","isSupported","setIsSupported","_b","isEnabled","setIsEnabled","_c","location","setLocation","_d","error","setError","watchRef","navigator","cancel","geolocation","clearWatch","watchPosition","handleSuccess","handleError","watch","Promise","resolve","reject","position","err","console","log","initial","value","setValue","update","withoutDelay","forceUpdate","settings","container","setContainer","L","setLeaflet","map","setMap","markersLayerGroup","setMarkersLayerGroup","prevMarkerId","_e","isLoaded","setLoaded","isRenderedRef","lastValidCenter","mapSettings","useMemo","Object","keys","forEach","key","undefined","__assign","center","zoom","touchZoom","scrollWheelZoom","showZoomControls","zoomControlPosition","onlyScrollOnFocus","url","attribution","markers","fitBoundsPadding","__awaiter","then","_interopNamespace","require","leaflet","sent","zoomControl","minZoom","maxZoom","control","addTo","once","enable","disable","on","ev","onClick","getZoom","tileLayer","group","FeatureGroup","clearLayers","icon","id","isInteractive","size","isActive","activeMarkerId","markerIcon","iconUrl","iconSize","sizeActive","iconAnchor","anchorActive","anchor","marker","latLng","riseOnHover","interactive","onMarkerClick","addLayer","onActiveMarkerChanged","markerId","onReady","handleMapMove","restrictToMarkersArea","markersBounds","getBounds","pad","isValid","northEdge","getNorth","eastEdge","getEast","southEdge","getSouth","westEdge","getWest","getCenter","newLat","newLng","lat","lng","panTo","animate","off","showAllMarkers","fitBounds","padding","point","flyToActive","mapZoom","find","m","flyTo","flyToPosition","panToPosition","recalculateMapSize","invalidateSize","getCurrentZoom"],"mappings":"0WAEA,IAAMA,EAAa,SAACC,EAAsBC,GACtC,IAAMC,EAAcC,SAAOH,GACrBI,EAAaD,EAAAA,SAEnBE,EAAAA,WAAU,WACNH,EAAYI,QAAUN,IACvB,CAACA,IAEJ,IAAMO,EAAMC,EAAAA,aAAY,WACpBJ,EAAWE,QAAUG,OAAOC,YACxB,WAAM,IAAAC,EAAA,OAAuB,UAAvBT,EAAYI,eAAW,IAAAK,OAAA,EAAAA,EAAAC,KAAAV,KAC7BD,KAEL,CAACA,IAEEY,EAAQL,EAAAA,aAAY,WACtBJ,EAAWE,SAAWG,OAAOK,aAAaV,EAAWE,WACtD,IAEHD,EAAAA,WAAU,WAEN,OADAE,IACOM,IACR,CAACZ,EAAOM,EAAKM,IAEhB,IAAME,EAAQP,EAAAA,aAAY,WACtBK,IACAN,MACD,CAACM,EAAON,IAEJ,MAAA,CAAEM,MAAKA,EAAEE,MAAKA,IC5BnBC,EAAc,SAChBhB,EACAC,EACAgB,GAEM,IAAAN,EAAmBZ,EAAWC,EAAUC,GAAtCY,EAAKF,EAAAE,MAAEE,UAOR,OALPV,EAAAA,UAAUU,EAAKG,gBAAAA,EAAAA,cAAA,GAAMD,GAAM,GAAA,CAAAF,QAG3BV,YAAUQ,EAAO,IAEV,CACHA,MAAKA,EACLE,MAAKA,iDCfU,SAACI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6C,EAA4B,QAAnBjH,EAAA2D,EAAYiB,eAAO,IAAA5E,OAAA,EAAAA,EAAEsJ,MAChC,SAACC,GAAM,OAAAA,EAAElD,KAAO1C,EAAY8C,kBAE5BQ,IAAQhE,MAAAA,GAAAA,EAAKuG,MAAMvC,EAAO/E,SAAUmH,MAE5C,CAACpG,EAAKU,EAAY8C,eAAgB9C,EAAYiB,QAASjB,EAAYS,OAQjEqF,EAAgB5J,EAAAA,aAClB,SAACqC,EAA6BkC,GAC1B,IAAMiF,EAAUjF,GAAQT,EAAYS,KAEhClC,EAAUe,MAAAA,GAAAA,EAAKuG,MAAMtH,EAAUmH,GAC9BD,EAAYC,KAErB,CAACD,EAAanG,EAAKU,EAAYS,OAO7BsF,EAAgB7J,eAClB,SAACqC,GACOA,IAAUe,MAAAA,GAAAA,EAAK4F,MAAM3G,MAE7B,CAACe,IAIC0G,EAAqB9J,EAAAA,aAAY,WACnCoD,MAAAA,GAAAA,EAAK2G,mBACN,CAAC3G,IAEE4G,EAAiBhK,EAAAA,aAAY,WACxB,OAAAoD,MAAAA,OAAA,EAAAA,EAAK8C,YAAapC,EAAYS,OACtC,CAACnB,EAAKU,EAAYS,OAEd,MAAA,CACHtB,aAAYA,EACZsG,YAAWA,EACXK,cAAaA,EACbC,cAAaA,EACbV,eAAcA,EACdW,mBAAkBA,EAClBE,eAAcA,EACdtG,SAAQA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useMediaQuery-d4f81f88.js","sources":["../../src/utils/useMediaQuery.ts"],"sourcesContent":["import { useEffect, useMemo, useState } from 'react';\nimport { MediaQueryType, mq } from './styles';\n\nexport const isBrowser =\n typeof window !== 'undefined' && typeof window.document !== 'undefined';\n\n// *****************\n// useBreakpoint\n// *****************\nconst checkMq = (cmq: MediaQueryType, checkMqs: MediaQueryType[]) => {\n return (\n isBrowser &&\n (checkMqs.length <= 0 || checkMqs.indexOf(cmq) > -1) &&\n (cmq !== 'small' ? window.matchMedia(mq[cmq]).matches : true)\n );\n};\n\nexport const getMediaQuery = (checkMqs: MediaQueryType[]): MediaQueryType => {\n if (checkMq('xxlarge', checkMqs)) {\n return 'xxlarge';\n } else if (checkMq('xlarge', checkMqs)) {\n return 'xlarge';\n } else if (checkMq('large', checkMqs)) {\n return 'large';\n } else if (checkMq('semilarge', checkMqs)) {\n return 'semilarge';\n } else if (checkMq('medium', checkMqs)) {\n return 'medium';\n } else {\n return 'small';\n }\n};\n\nexport const getMediaQueries = (): { [key in MediaQueryType]: boolean } => {\n return {\n small: true,\n medium: window.matchMedia(mq['medium']).matches,\n semilarge: window.matchMedia(mq['semilarge']).matches,\n large: window.matchMedia(mq['large']).matches,\n xlarge: window.matchMedia(mq['xlarge']).matches,\n xxlarge: window.matchMedia(mq['xxlarge']).matches,\n };\n};\n\nconst isEqual = (\n currentMqs: { [key in MediaQueryType]: boolean },\n newMqs: { [key in MediaQueryType]: boolean }\n) => {\n let isDifferent = false;\n\n for (const key in mq) {\n if (currentMqs[key] !== newMqs[key]) {\n isDifferent = true;\n break;\n }\n }\n\n return !isDifferent;\n};\n\nexport const useMediaQueries = () => {\n const [mediaQueries, setMediaQueries] = useState<\n { [key in MediaQueryType]: boolean }\n >({\n small: true,\n medium: false,\n semilarge: false,\n large: false,\n xlarge: false,\n xxlarge: false,\n });\n\n useEffect(() => {\n const handleResize = () => {\n const newMediaQueries = getMediaQueries();\n setMediaQueries((prev) => {\n if (!isEqual(prev, newMediaQueries)) {\n return newMediaQueries;\n } else return prev;\n });\n };\n\n window.addEventListener('resize', handleResize);\n setMediaQueries(getMediaQueries());\n\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n\n return mediaQueries;\n};\n\nexport const useMediaQuery = (mqs?: MediaQueryType[]) => {\n const checkMqs = useMemo(() => mqs || [], [mqs]);\n const [mediaQuery, setMediaQuery] = useState<MediaQueryType | undefined>();\n\n useEffect(() => {\n const handleResize = () => {\n const newMediaQuery = getMediaQuery(checkMqs);\n\n if (newMediaQuery !== mediaQuery) {\n setMediaQuery(newMediaQuery);\n }\n };\n\n window.addEventListener('resize', handleResize);\n setMediaQuery(getMediaQuery(checkMqs));\n\n return () => window.removeEventListener('resize', handleResize);\n }, [checkMqs, mediaQuery]);\n\n return mediaQuery;\n};\n"],"names":["isBrowser","window","document","checkMq","cmq","checkMqs","length","indexOf","matchMedia","mq","matches","getMediaQuery","getMediaQueries","small","medium","semilarge","large","xlarge","xxlarge","_a","useState","mediaQueries","setMediaQueries","useEffect","handleResize","newMediaQueries","prev","currentMqs","newMqs","isDifferent","key","isEqual","addEventListener","removeEventListener","mqs","useMemo","mediaQuery","setMediaQuery","newMediaQuery"],"mappings":"sEAGaA,EACS,oBAAXC,aAAqD,IAApBA,OAAOC,SAK7CC,EAAU,SAACC,EAAqBC,GAClC,OACIL,IACCK,EAASC,QAAU,GAAKD,EAASE,QAAQH,IAAQ,KACzC,UAARA,GAAkBH,OAAOO,WAAWC,EAAAA,GAAGL,IAAMM,UAIzCC,EAAgB,SAACN,GAC1B,OAAIF,EAAQ,UAAWE,GACZ,UACAF,EAAQ,SAAUE,GAClB,SACAF,EAAQ,QAASE,GACjB,QACAF,EAAQ,YAAaE,GACrB,YACAF,EAAQ,SAAUE,GAClB,SAEA,SAIFO,EAAkB,WACpB,MAAA,CACHC,OAAO,EACPC,OAAQb,OAAOO,WAAWC,EAAEA,GAAA,QAAYC,QACxCK,UAAWd,OAAOO,WAAWC,EAAEA,GAAA,WAAeC,QAC9CM,MAAOf,OAAOO,WAAWC,EAAEA,GAAA,OAAWC,QACtCO,OAAQhB,OAAOO,WAAWC,EAAEA,GAAA,QAAYC,QACxCQ,QAASjB,OAAOO,WAAWC,EAAEA,GAAA,SAAaC,8EAoBnB,WACrBS,IAAAA,EAAkCC,EAAAA,SAEtC,CACEP,OAAO,EACPC,QAAQ,EACRC,WAAW,EACXC,OAAO,EACPC,QAAQ,EACRC,SAAS,IARNG,EAAYF,EAAA,GAAEG,OA2BrB,OAhBAC,EAAAA,WAAU,WACAC,IAAAA,EAAe,WACXC,IAAAA,EAAkBb,IACxBU,GAAgB,SAACI,GACb,OAhCA,SACZC,EACAC,GAEIC,IAAAA,GAAc,EAElB,IAAK,IAAMC,KAAOrB,KACVkB,GAAAA,EAAWG,KAASF,EAAOE,GAAM,CACjCD,GAAc,EACd,MAIR,OAAQA,EAmBSE,CAAQL,EAAMD,GAELC,EADHD,MAQnB,OAHAxB,OAAO+B,iBAAiB,SAAUR,GAClCF,EAAgBV,KAET,WAAM,OAAAX,OAAOgC,oBAAoB,SAAUT,MACnD,IAEIH,yBAGkB,SAACa,GAC1B,IAAM7B,EAAW8B,EAAAA,SAAQ,WAAMD,OAAAA,GAAO,KAAI,CAACA,IACrCf,EAA8BC,EAAAA,WAA7BgB,EAAUjB,EAAA,GAAEkB,EAAalB,EAAA,GAiBhC,OAfAI,EAAAA,WAAU,WACAC,IAAAA,EAAe,WACjB,IAAMc,EAAgB3B,EAAcN,GAEhCiC,IAAkBF,GAClBC,EAAcC,IAOtB,OAHArC,OAAO+B,iBAAiB,SAAUR,GAClCa,EAAc1B,EAAcN,IAErB,WAAM,OAAAJ,OAAOgC,oBAAoB,SAAUT,MACnD,CAACnB,EAAU+B,IAEPA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useMounted-0bba9869.js","sources":["../../src/utils/useMounted.ts"],"sourcesContent":["import { useEffect, useRef } from 'react';\n\nconst useMounted = () => {\n const isMountedRef = useRef<boolean>(false);\n\n useEffect(() => {\n isMountedRef.current = true;\n }, []);\n\n return isMountedRef.current;\n};\n\nexport default useMounted;\n"],"names":["isMountedRef","useRef","useEffect","current"],"mappings":"uDAEmB,WACf,IAAMA,EAAeC,UAAgB,GAM9BD,OAJPE,EAAAA,WAAU,WACNF,EAAaG,SAAU,IACxB,IAEIH,EAAaG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useObserverSupport-5ab320dd.js","sources":["../../src/utils/useObserverSupport.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\n\nexport const useObserverSupport = (inital?: boolean) => {\n const [observerSupported, setObserverSupport] = useState(inital || false);\n\n useEffect(() => {\n if (\n !('IntersectionObserver' in window) ||\n !('IntersectionObserverEntry' in window) ||\n !('intersectionRatio' in window.IntersectionObserverEntry.prototype)\n ) {\n setObserverSupport(false);\n } else {\n setObserverSupport(true);\n }\n }, []);\n\n return observerSupported;\n};\n"],"names":["inital","_a","useState","observerSupported","setObserverSupport","useEffect","window","IntersectionObserverEntry","prototype"],"mappings":"+DAEkC,SAACA,GACzB,IAAAC,EAA0CC,EAAAA,SAASF,IAAU,GAA5DG,EAAiBF,EAAA,GAAEG,OAc1B,OAZAC,EAAAA,WAAU,WAEA,yBAA0BC,QAC1B,8BAA+BA,QAC/B,sBAAuBA,OAAOC,0BAA0BC,UAI1DJ,GAAmB,GAFnBA,GAAmB,KAIxB,IAEID"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useUpdateEffect-4d233e2c.js","sources":["../../src/utils/useUpdateEffect.ts"],"sourcesContent":["import { DependencyList, EffectCallback, useEffect, useRef } from 'react';\n\n/** useEffect function that runs only on update (not on first render) */\nconst useUpdateEffect = (effect: EffectCallback, deps?: DependencyList) => {\n const firstRenderRef = useRef<boolean>(true);\n\n useEffect(() => {\n if (firstRenderRef.current) {\n firstRenderRef.current = false;\n return;\n }\n effect?.();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, deps);\n};\n\nexport default useUpdateEffect;\n"],"names":["effect","deps","firstRenderRef","useRef","useEffect","current"],"mappings":"4DAGwB,SAACA,EAAwBC,GAC7C,IAAMC,EAAiBC,UAAgB,GAEvCC,EAAAA,WAAU,WACFF,EAAeG,QACfH,EAAeG,SAAU,EAG7BL,MAAAA,GAAAA,MAEDC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Actions-59bdbbf7.js","sources":["../../src/utils/statusFormatter.ts","../../src/components/blocks/Actions.tsx"],"sourcesContent":["interface DateReplacementHolder {\n [key: string]: () => string;\n}\n\nexport default class StatusFormatter {\n private timestamp: number;\n private input: string;\n private dateFormat: string;\n private timeFormat: string;\n\n private localeKey: string;\n private date: Date;\n\n constructor(\n timestamp: number,\n input: string,\n dateFormat: string,\n timeFormat: string,\n localeKey?: string\n ) {\n this.timestamp = timestamp;\n this.input = input;\n this.dateFormat = dateFormat;\n this.timeFormat = timeFormat;\n\n this.localeKey = localeKey ? localeKey : 'de';\n this.date = new Date(this.timestamp);\n }\n\n private dateReplacements: DateReplacementHolder = {\n dddd: () => {\n return weekDays[this.localeKey].long[this.date.getDay()];\n },\n DDDD: () => {\n return weekDays[this.localeKey].long[this.date.getDay()];\n },\n ddd: () => {\n return weekDays[this.localeKey].short[this.date.getDay()];\n },\n DDD: () => {\n return weekDays[this.localeKey].short[this.date.getDay()];\n },\n dd: () => {\n return this.getDay();\n },\n DD: () => {\n return this.getDay();\n },\n MMMM: () => {\n return monthNames[this.localeKey].long[this.date.getMonth()];\n },\n mmmm: () => {\n return monthNames[this.localeKey].long[this.date.getMonth()];\n },\n MMM: () => {\n return monthNames[this.localeKey].short[this.date.getMonth()];\n },\n mmm: () => {\n return monthNames[this.localeKey].short[this.date.getMonth()];\n },\n mm: () => {\n return this.getMonth();\n },\n MM: () => {\n return this.getMonth();\n },\n yyyy: () => {\n return this.getYear();\n },\n YYYY: () => {\n return this.getYear();\n },\n yy: () => {\n return this.getYear().substr(-2);\n },\n YY: () => {\n return this.getYear().substr(-2);\n },\n };\n\n private timeReplacements: DateReplacementHolder = {\n hh: () => {\n return this.getHours();\n },\n HH: () => {\n return this.getHours();\n },\n hs: () => {\n return this.getHours12h();\n },\n HS: () => {\n return this.getHours12h();\n },\n mm: () => {\n return this.getMinutes();\n },\n MM: () => {\n return this.getMinutes();\n },\n ss: () => {\n return this.getSeconds();\n },\n SS: () => {\n return this.getSeconds();\n },\n ap: () => {\n const hours = this.date.getHours();\n return hours >= 12 ? 'pm' : 'am';\n },\n AP: () => {\n const hours = this.date.getHours();\n return hours >= 12 ? 'PM' : 'AM';\n },\n };\n\n public setDate(timestamp: number) {\n this.date = new Date(timestamp);\n }\n\n public setLocale(localeKey: string) {\n this.localeKey = localeKey;\n }\n\n public getFormattedStatus() {\n const placeholders: {\n [key: string]: any;\n } = {\n '<DATE>': this.getFormattedDate(),\n '<TIME>': this.getFormattedTime(),\n };\n\n const formattedInput = this.input.replace(/<\\w+>/g, (foundString) => {\n return placeholders[foundString] || foundString;\n });\n return formattedInput;\n }\n\n public getFormattedDate() {\n // replace placeholders with values from dateReplacements object\n const dataKeys = Object.keys(this.dateReplacements);\n let formattedDate = this.dateFormat;\n for (let i = 0; i < dataKeys.length; i++) {\n formattedDate = formattedDate.replace(\n new RegExp(dataKeys[i], 'g'),\n (foundString) => {\n return this.dateReplacements[foundString].call(this);\n }\n );\n }\n return formattedDate;\n }\n\n public getFormattedTime() {\n // replace placeholders with values from timeReplacements object\n const dataKeys = Object.keys(this.timeReplacements);\n let formattedTime = this.timeFormat;\n for (let i = 0; i < dataKeys.length; i++) {\n formattedTime = formattedTime.replace(\n new RegExp(dataKeys[i], 'g'),\n (foundString) => {\n return this.timeReplacements[foundString].call(this);\n }\n );\n }\n return formattedTime;\n }\n\n public areOnSameDay(first: Date, second: Date) {\n return (\n first.getFullYear() === second.getFullYear() &&\n first.getMonth() === second.getMonth() &&\n first.getDate() === second.getDate()\n );\n }\n\n /**\n * Get formatted string of timespan from current date + duration in seconds\n * @param duration Duration in seconds. Added to current date\n * @returns\n */\n public getFormattedTimespan(\n format = '',\n duration?: number,\n seperator = ' - '\n ) {\n const startTime = this.getFormattedTime();\n let endTime = '';\n\n if (duration === undefined) return '';\n\n // create endDate\n if (duration > 0) {\n const endDate = new Date(this.date);\n endDate.setSeconds(this.date.getSeconds() + duration);\n\n const endTimeFormatter = new StatusFormatter(\n endDate.getTime(),\n this.input,\n this.dateFormat,\n this.timeFormat,\n this.localeKey\n );\n\n endTime = endTimeFormatter.getFormattedTime();\n }\n\n // concatenate timespan string\n const placeholders: {\n [key: string]: any;\n } = {\n '<START>': startTime,\n '<END>': endTime,\n '<SEP>': seperator,\n };\n\n const formattedTimespan = format.replace(/<\\w+>/g, (foundString) => {\n if (foundString === '<SEP>' && !(startTime && endTime)) return '';\n if (foundString === '<END>' && !endTime) return '';\n\n return placeholders[foundString] || foundString;\n });\n\n return formattedTimespan;\n }\n\n private getDoubleDigitString(value: number) {\n return value < 10 ? '0' + value.toString() : value.toString();\n }\n\n private getDay() {\n return this.getDoubleDigitString(this.date.getDate());\n }\n\n private getMonth() {\n return this.getDoubleDigitString(this.date.getMonth() + 1);\n }\n\n private getYear() {\n return this.date.getFullYear().toString();\n }\n\n private getHours() {\n return this.getDoubleDigitString(this.date.getHours());\n }\n\n private getHours12h() {\n let hours = this.date.getHours();\n hours = hours % 12;\n hours = hours === 0 ? 12 : hours;\n return this.getDoubleDigitString(hours);\n }\n\n private getMinutes() {\n return this.getDoubleDigitString(this.date.getMinutes());\n }\n\n private getSeconds() {\n return this.getDoubleDigitString(this.date.getSeconds());\n }\n}\n\ninterface WeekDays {\n [key: string]: {\n long: string[];\n short: string[];\n };\n}\n\ninterface MonthNames {\n [key: string]: {\n long: string[];\n short: string[];\n };\n}\n\nconst weekDays: WeekDays = {\n de: {\n long: [\n 'Sonntag',\n 'Montag',\n 'Dienstag',\n 'Mittwoch',\n 'Donnerstag',\n 'Freitag',\n 'Samstag',\n ],\n short: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],\n },\n en: {\n long: [\n 'Sunday',\n 'Monday',\n 'Tuesday',\n 'Wednesday',\n 'Thursday',\n 'Friday',\n 'Saturday',\n ],\n short: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n },\n};\n\nconst monthNames: MonthNames = {\n de: {\n long: [\n 'Januar',\n 'Februar',\n 'März',\n 'April',\n 'Mai',\n 'Juni',\n 'Juli',\n 'August',\n 'September',\n 'Oktober',\n 'November',\n 'Dezember',\n ],\n short: [\n 'Jan.',\n 'Febr.',\n 'März',\n 'Apr.',\n 'Mai',\n 'Juni',\n 'Juli',\n 'Aug.',\n 'Sept.',\n 'Okt.',\n 'Nov.',\n 'Dez',\n ],\n },\n en: {\n long: [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n ],\n short: [\n 'Jan.',\n 'Feb.',\n 'Mar.',\n 'Apr.',\n 'May',\n 'June',\n 'July',\n 'Aug.',\n 'Sept.',\n 'Oct.',\n 'Nov.',\n 'Dec.',\n ],\n },\n};\n","import React, { FC } from 'react';\nimport styled from 'styled-components';\n\nimport { mq, spacings } from 'utils/styles';\n\nconst View = styled.div<{ isCovered?: boolean }>`\n display: block;\n\n @media ${mq.medium} {\n display: ${({ isCovered }) => (isCovered ? 'block' : 'inline-block')};\n }\n`;\n\nconst Content = styled.div<{\n isMirrored?: boolean;\n isCovered?: boolean;\n}>`\n display: flex;\n flex-wrap: wrap;\n flex-direction: ${({ isMirrored }) =>\n isMirrored ? 'column-reverse' : 'column'};\n\n margin-top: -${spacings.nudge * 2}px;\n margin-left: -${spacings.spacer}px;\n\n &&& > * {\n /* flex: 1 1 ${({ isCovered }) => (isCovered ? '100%' : '0px')}; */\n margin-top: ${spacings.nudge * 2}px;\n margin-left: ${spacings.spacer}px;\n\n /* min-width: ${({ isCovered }) => isCovered && '0px'}; */\n }\n\n @media ${mq.medium} {\n display: ${({ isCovered }) => (isCovered ? 'flex' : 'inline-flex')};\n flex-direction: ${({ isMirrored }) =>\n isMirrored ? 'row-reverse' : 'row'};\n align-items: stretch;\n width: auto;\n }\n`;\n\nconst TertiaryWrapper = styled.div`\n align-self: flex-start;\n\n @media ${mq.medium} {\n align-self: center;\n }\n`;\n\nexport type ActionMode = 'wrap' | 'cover';\n\nconst Actions: FC<{\n /** Behaviour of content wrapping. If set to cover the action container always tries to fill full width */\n mode?: ActionMode;\n /** Switch order of primary and secondary action */\n isMirrored?: boolean;\n /** React node of primary action */\n primary?: React.ReactNode;\n /** React node of secondary action */\n secondary?: React.ReactNode;\n /** React node of tertiary action */\n tertiary?: React.ReactNode;\n className?: string;\n}> = ({\n mode = 'wrap',\n isMirrored = false,\n primary,\n secondary,\n tertiary,\n className,\n}) => {\n return (\n <View isCovered={mode === 'cover'} className={className}>\n <Content isCovered={mode === 'cover'} isMirrored={isMirrored}>\n {primary && primary}\n {secondary && secondary}\n {tertiary && <TertiaryWrapper>{tertiary}</TertiaryWrapper>}\n </Content>\n </View>\n );\n};\n\nexport default Actions;\n"],"names":["StatusFormatter","timestamp","input","dateFormat","timeFormat","localeKey","_this","dateReplacements","dddd","weekDays","long","date","getDay","DDDD","ddd","short","DDD","dd","DD","MMMM","monthNames","getMonth","mmmm","MMM","mmm","mm","MM","yyyy","getYear","YYYY","yy","substr","YY","timeReplacements","hh","getHours","HH","hs","getHours12h","HS","getMinutes","ss","getSeconds","SS","ap","hours","AP","Date","prototype","setDate","setLocale","getFormattedStatus","placeholders","getFormattedDate","getFormattedTime","formattedInput","replace","foundString","dataKeys","Object","keys","formattedDate","i","length","RegExp","call","formattedTime","areOnSameDay","first","second","getFullYear","getDate","getFormattedTimespan","format","duration","seperator","startTime","endTime","undefined","endDate","setSeconds","endTimeFormatter","getTime","formattedTimespan","getDoubleDigitString","value","toString","de","en","View","styled","div","mq","medium","_a","isCovered","Content","templateObject_2","__makeTemplateObject","isMirrored","spacings","nudge","spacer","TertiaryWrapper","templateObject_3","Actions","_b","mode","_c","primary","secondary","tertiary","className","React","createElement"],"mappings":";;;;;AAIA,IAAAA,eAAA;AAAA;AAAA,YAAA;AASI,EACIA,SAAAA,eADJ,CACIC,SADJ,EAEIC,KAFJ,EAGIC,UAHJ,EAIIC,UAJJ,EAKIC,SALJ,EAKsB;AALtB,IAcCC,IAAAA,KAAA,GAAA,IAdD,CAAA;;AAgBQ,IAAA,IAAA,CAAAC,gBAAA,GAA0C;AAC9CC,MAAAA,IAAI,EAAE,YAAA;AACF,QAAA,OAAOC,QAAQ,CAACH,KAAI,CAACD,SAAN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