@blateral/b.kit 2.3.0-beta.1.4 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (833) hide show
  1. package/lib/components/base/icons/Icons.d.ts +66 -0
  2. package/lib/components/base/icons/Icons.d.ts.map +1 -0
  3. package/{types → lib}/components/fields/FilterField.d.ts.map +1 -1
  4. package/lib/components/sections/NumberList.d.ts +36 -0
  5. package/lib/components/sections/NumberList.d.ts.map +1 -0
  6. package/{types → lib}/components/sections/header/Header.d.ts +3 -3
  7. package/lib/components/sections/header/Header.d.ts.map +1 -0
  8. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -0
  9. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +1 -0
  10. package/{types → lib}/components/typography/Callout.d.ts +2 -2
  11. package/lib/components/typography/Callout.d.ts.map +1 -0
  12. package/lib/index.d.ts +158 -0
  13. package/lib/index.d.ts.map +1 -0
  14. package/lib/index.es.js +2 -0
  15. package/lib/index.es.js.map +1 -0
  16. package/lib/index.js +2 -0
  17. package/lib/index.js.map +1 -0
  18. package/{types → lib}/utils/styles.d.ts +8 -1
  19. package/lib/utils/styles.d.ts.map +1 -0
  20. package/{types → lib}/utils/useEqualSheetHeight.d.ts +9 -2
  21. package/lib/utils/useEqualSheetHeight.d.ts.map +1 -0
  22. package/{types → lib}/utils/useMediaQuery.d.ts +4 -0
  23. package/{types → lib}/utils/useMediaQuery.d.ts.map +1 -1
  24. package/package.json +5 -19
  25. package/base/package.json +0 -7
  26. package/blocks/package.json +0 -7
  27. package/buttons/package.json +0 -7
  28. package/cjs/Actions-6dd616e0.js +0 -2
  29. package/cjs/Actions-6dd616e0.js.map +0 -1
  30. package/cjs/Bdot-d898ba3b.js +0 -2
  31. package/cjs/Bdot-d898ba3b.js.map +0 -1
  32. package/cjs/Button-72747f63.js +0 -2
  33. package/cjs/Button-72747f63.js.map +0 -1
  34. package/cjs/ButtonGhost-046437c5.js +0 -2
  35. package/cjs/ButtonGhost-046437c5.js.map +0 -1
  36. package/cjs/Callout-2713f870.js +0 -2
  37. package/cjs/Callout-2713f870.js.map +0 -1
  38. package/cjs/Checkbox-14000bf0.js +0 -2
  39. package/cjs/Checkbox-14000bf0.js.map +0 -1
  40. package/cjs/ClockFilled-2483aa4a.js +0 -2
  41. package/cjs/ClockFilled-2483aa4a.js.map +0 -1
  42. package/cjs/Control-eead1a4c.js +0 -2
  43. package/cjs/Control-eead1a4c.js.map +0 -1
  44. package/cjs/Copy-e860efe7.js +0 -2
  45. package/cjs/Copy-e860efe7.js.map +0 -1
  46. package/cjs/EventBlock-10b9d78d.js +0 -2
  47. package/cjs/EventBlock-10b9d78d.js.map +0 -1
  48. package/cjs/FileUpload-ece8bb07.js +0 -2
  49. package/cjs/FileUpload-ece8bb07.js.map +0 -1
  50. package/cjs/Filter-d6d90b8b.js +0 -2
  51. package/cjs/Filter-d6d90b8b.js.map +0 -1
  52. package/cjs/FilterField-cf9e2f16.js +0 -2
  53. package/cjs/FilterField-cf9e2f16.js.map +0 -1
  54. package/cjs/Grid-39b12e21.js +0 -2
  55. package/cjs/Grid-39b12e21.js.map +0 -1
  56. package/cjs/Image-d9681be0.js +0 -2
  57. package/cjs/Image-d9681be0.js.map +0 -1
  58. package/cjs/InfoList-577f3c57.js +0 -2
  59. package/cjs/InfoList-577f3c57.js.map +0 -1
  60. package/cjs/LanguageSwitcher-47e25e95.js +0 -2
  61. package/cjs/LanguageSwitcher-47e25e95.js.map +0 -1
  62. package/cjs/LibThemeProvider-fb99fd6d.js +0 -2
  63. package/cjs/LibThemeProvider-fb99fd6d.js.map +0 -1
  64. package/cjs/Link-70143bb7.js +0 -2
  65. package/cjs/Link-70143bb7.js.map +0 -1
  66. package/cjs/Navigation-3f5d6088.js +0 -2
  67. package/cjs/Navigation-3f5d6088.js.map +0 -1
  68. package/cjs/POICard-492bf8d0.js +0 -2
  69. package/cjs/POICard-492bf8d0.js.map +0 -1
  70. package/cjs/Pointer-3588eadf.js +0 -2
  71. package/cjs/Pointer-3588eadf.js.map +0 -1
  72. package/cjs/SocialList-da77e994.js +0 -2
  73. package/cjs/SocialList-da77e994.js.map +0 -1
  74. package/cjs/TableBlock-a5b16e8f.js +0 -2
  75. package/cjs/TableBlock-a5b16e8f.js.map +0 -1
  76. package/cjs/Tag-5c72cc0d.js +0 -2
  77. package/cjs/Tag-5c72cc0d.js.map +0 -1
  78. package/cjs/VideoBlock-301997a9.js +0 -2
  79. package/cjs/VideoBlock-301997a9.js.map +0 -1
  80. package/cjs/VideoCard-405b518a.js +0 -2
  81. package/cjs/VideoCard-405b518a.js.map +0 -1
  82. package/cjs/Wrapper-91748bdb.js +0 -2
  83. package/cjs/Wrapper-91748bdb.js.map +0 -1
  84. package/cjs/arrays-c272ed59.js +0 -2
  85. package/cjs/arrays-c272ed59.js.map +0 -1
  86. package/cjs/base.js +0 -2
  87. package/cjs/base.js.map +0 -1
  88. package/cjs/blocks.js +0 -2
  89. package/cjs/blocks.js.map +0 -1
  90. package/cjs/buttons.js +0 -2
  91. package/cjs/buttons.js.map +0 -1
  92. package/cjs/clamp-bd21d587.js +0 -2
  93. package/cjs/clamp-bd21d587.js.map +0 -1
  94. package/cjs/concat-f387d848.js +0 -2
  95. package/cjs/concat-f387d848.js.map +0 -1
  96. package/cjs/cookies.js +0 -2
  97. package/cjs/cookies.js.map +0 -1
  98. package/cjs/escape-1ef8dd83.js +0 -2
  99. package/cjs/escape-1ef8dd83.js.map +0 -1
  100. package/cjs/fields.js +0 -2
  101. package/cjs/fields.js.map +0 -1
  102. package/cjs/footer.js +0 -2
  103. package/cjs/footer.js.map +0 -1
  104. package/cjs/hexRgbConverter-91b28aea.js +0 -2
  105. package/cjs/hexRgbConverter-91b28aea.js.map +0 -1
  106. package/cjs/hooks.js +0 -2
  107. package/cjs/hooks.js.map +0 -1
  108. package/cjs/icons.js +0 -2
  109. package/cjs/icons.js.map +0 -1
  110. package/cjs/index.js +0 -2
  111. package/cjs/index.js.map +0 -1
  112. package/cjs/navigation-bf154e6e.js +0 -2
  113. package/cjs/navigation-bf154e6e.js.map +0 -1
  114. package/cjs/navigation.js +0 -2
  115. package/cjs/navigation.js.map +0 -1
  116. package/cjs/sections.js +0 -2
  117. package/cjs/sections.js.map +0 -1
  118. package/cjs/sections_events.js +0 -2
  119. package/cjs/sections_events.js.map +0 -1
  120. package/cjs/sections_forms.js +0 -2
  121. package/cjs/sections_forms.js.map +0 -1
  122. package/cjs/sections_jobs.js +0 -2
  123. package/cjs/sections_jobs.js.map +0 -1
  124. package/cjs/sections_news.js +0 -2
  125. package/cjs/sections_news.js.map +0 -1
  126. package/cjs/sections_pois.js +0 -2
  127. package/cjs/sections_pois.js.map +0 -1
  128. package/cjs/statusFormatter-0393122b.js +0 -2
  129. package/cjs/statusFormatter-0393122b.js.map +0 -1
  130. package/cjs/structuredData-0b1278a9.js +0 -2
  131. package/cjs/structuredData-0b1278a9.js.map +0 -1
  132. package/cjs/styles-0f1a0aea.js +0 -2
  133. package/cjs/styles-0f1a0aea.js.map +0 -1
  134. package/cjs/typography.js +0 -2
  135. package/cjs/typography.js.map +0 -1
  136. package/cjs/urlParams-7525f638.js +0 -2
  137. package/cjs/urlParams-7525f638.js.map +0 -1
  138. package/cjs/useCookieConsent-0bf94751.js +0 -2
  139. package/cjs/useCookieConsent-0bf94751.js.map +0 -1
  140. package/cjs/useEqualSheetHeight-cfd4176e.js +0 -2
  141. package/cjs/useEqualSheetHeight-cfd4176e.js.map +0 -1
  142. package/cjs/useGeolocation-d8946470.js +0 -2
  143. package/cjs/useGeolocation-d8946470.js.map +0 -1
  144. package/cjs/useIE-aef9decc.js +0 -2
  145. package/cjs/useIE-aef9decc.js.map +0 -1
  146. package/cjs/useLazyInput-f71c221b.js +0 -2
  147. package/cjs/useLazyInput-f71c221b.js.map +0 -1
  148. package/cjs/useLeafletMap-2e608b01.js +0 -2
  149. package/cjs/useLeafletMap-2e608b01.js.map +0 -1
  150. package/cjs/useMediaQuery-d4f81f88.js +0 -2
  151. package/cjs/useMediaQuery-d4f81f88.js.map +0 -1
  152. package/cjs/useMounted-0bba9869.js +0 -2
  153. package/cjs/useMounted-0bba9869.js.map +0 -1
  154. package/cjs/useObserverSupport-5ab320dd.js +0 -2
  155. package/cjs/useObserverSupport-5ab320dd.js.map +0 -1
  156. package/cjs/useScrollTo-fdd665da.js +0 -2
  157. package/cjs/useScrollTo-fdd665da.js.map +0 -1
  158. package/cjs/useUpdateEffect-4d233e2c.js +0 -2
  159. package/cjs/useUpdateEffect-4d233e2c.js.map +0 -1
  160. package/cookies/package.json +0 -7
  161. package/esm/Actions-3f06c2e9.js +0 -57
  162. package/esm/Actions-3f06c2e9.js.map +0 -1
  163. package/esm/Bdot-fae262fc.js +0 -24
  164. package/esm/Bdot-fae262fc.js.map +0 -1
  165. package/esm/Button-ab1a4e79.js +0 -115
  166. package/esm/Button-ab1a4e79.js.map +0 -1
  167. package/esm/ButtonGhost-5b498dba.js +0 -112
  168. package/esm/ButtonGhost-5b498dba.js.map +0 -1
  169. package/esm/Callout-389fed95.js +0 -99
  170. package/esm/Callout-389fed95.js.map +0 -1
  171. package/esm/Checkbox-957d8f33.js +0 -135
  172. package/esm/Checkbox-957d8f33.js.map +0 -1
  173. package/esm/ClockFilled-6bae80dc.js +0 -1793
  174. package/esm/ClockFilled-6bae80dc.js.map +0 -1
  175. package/esm/Control-57a287dc.js +0 -52
  176. package/esm/Control-57a287dc.js.map +0 -1
  177. package/esm/Copy-fb124972.js +0 -270
  178. package/esm/Copy-fb124972.js.map +0 -1
  179. package/esm/EventBlock-0109da13.js +0 -132
  180. package/esm/EventBlock-0109da13.js.map +0 -1
  181. package/esm/FileUpload-4ba0a672.js +0 -4790
  182. package/esm/FileUpload-4ba0a672.js.map +0 -1
  183. package/esm/Filter-fec6dc5c.js +0 -32
  184. package/esm/Filter-fec6dc5c.js.map +0 -1
  185. package/esm/FilterField-03097694.js +0 -129
  186. package/esm/FilterField-03097694.js.map +0 -1
  187. package/esm/Grid-151498da.js +0 -203
  188. package/esm/Grid-151498da.js.map +0 -1
  189. package/esm/Image-b538f659.js +0 -193
  190. package/esm/Image-b538f659.js.map +0 -1
  191. package/esm/InfoList-616d17fd.js +0 -74
  192. package/esm/InfoList-616d17fd.js.map +0 -1
  193. package/esm/LanguageSwitcher-058e0145.js +0 -70
  194. package/esm/LanguageSwitcher-058e0145.js.map +0 -1
  195. package/esm/LibThemeProvider-a38c5bf1.js +0 -115
  196. package/esm/LibThemeProvider-a38c5bf1.js.map +0 -1
  197. package/esm/Link-0a1e35d6.js +0 -60
  198. package/esm/Link-0a1e35d6.js.map +0 -1
  199. package/esm/Navigation-13dce48c.js +0 -1664
  200. package/esm/Navigation-13dce48c.js.map +0 -1
  201. package/esm/POICard-392a2c3a.js +0 -116
  202. package/esm/POICard-392a2c3a.js.map +0 -1
  203. package/esm/Pointer-bc68154f.js +0 -111
  204. package/esm/Pointer-bc68154f.js.map +0 -1
  205. package/esm/SocialList-4396cad9.js +0 -61
  206. package/esm/SocialList-4396cad9.js.map +0 -1
  207. package/esm/TableBlock-26530c71.js +0 -159
  208. package/esm/TableBlock-26530c71.js.map +0 -1
  209. package/esm/Tag-72424779.js +0 -67
  210. package/esm/Tag-72424779.js.map +0 -1
  211. package/esm/VideoBlock-b3f4ae27.js +0 -624
  212. package/esm/VideoBlock-b3f4ae27.js.map +0 -1
  213. package/esm/VideoCard-3fd368ef.js +0 -160
  214. package/esm/VideoCard-3fd368ef.js.map +0 -1
  215. package/esm/Wrapper-29347885.js +0 -224
  216. package/esm/Wrapper-29347885.js.map +0 -1
  217. package/esm/arrays-65b644ef.js +0 -17
  218. package/esm/arrays-65b644ef.js.map +0 -1
  219. package/esm/base.js +0 -11
  220. package/esm/base.js.map +0 -1
  221. package/esm/blocks.js +0 -26
  222. package/esm/blocks.js.map +0 -1
  223. package/esm/buttons.js +0 -12
  224. package/esm/buttons.js.map +0 -1
  225. package/esm/clamp-12d37b65.js +0 -10
  226. package/esm/clamp-12d37b65.js.map +0 -1
  227. package/esm/concat-ab3c66f2.js +0 -40
  228. package/esm/concat-ab3c66f2.js.map +0 -1
  229. package/esm/cookies.js +0 -270
  230. package/esm/cookies.js.map +0 -1
  231. package/esm/escape-cbff9c25.js +0 -6
  232. package/esm/escape-cbff9c25.js.map +0 -1
  233. package/esm/fields.js +0 -190
  234. package/esm/fields.js.map +0 -1
  235. package/esm/footer.js +0 -301
  236. package/esm/footer.js.map +0 -1
  237. package/esm/hexRgbConverter-edb91624.js +0 -36
  238. package/esm/hexRgbConverter-edb91624.js.map +0 -1
  239. package/esm/hooks.js +0 -531
  240. package/esm/hooks.js.map +0 -1
  241. package/esm/icons.js +0 -4
  242. package/esm/icons.js.map +0 -1
  243. package/esm/index.js +0 -7
  244. package/esm/index.js.map +0 -1
  245. package/esm/navigation-a2998143.js +0 -132
  246. package/esm/navigation-a2998143.js.map +0 -1
  247. package/esm/navigation.js +0 -159
  248. package/esm/navigation.js.map +0 -1
  249. package/esm/sections.js +0 -3914
  250. package/esm/sections.js.map +0 -1
  251. package/esm/sections_events.js +0 -573
  252. package/esm/sections_events.js.map +0 -1
  253. package/esm/sections_forms.js +0 -1405
  254. package/esm/sections_forms.js.map +0 -1
  255. package/esm/sections_jobs.js +0 -508
  256. package/esm/sections_jobs.js.map +0 -1
  257. package/esm/sections_news.js +0 -1023
  258. package/esm/sections_news.js.map +0 -1
  259. package/esm/sections_pois.js +0 -719
  260. package/esm/sections_pois.js.map +0 -1
  261. package/esm/statusFormatter-9be0fbff.js +0 -255
  262. package/esm/statusFormatter-9be0fbff.js.map +0 -1
  263. package/esm/structuredData-87423414.js +0 -117
  264. package/esm/structuredData-87423414.js.map +0 -1
  265. package/esm/styles-f6c54818.js +0 -462
  266. package/esm/styles-f6c54818.js.map +0 -1
  267. package/esm/typography.js +0 -11
  268. package/esm/typography.js.map +0 -1
  269. package/esm/urlParams-9cfdaf71.js +0 -51
  270. package/esm/urlParams-9cfdaf71.js.map +0 -1
  271. package/esm/useCookieConsent-8caef116.js +0 -339
  272. package/esm/useCookieConsent-8caef116.js.map +0 -1
  273. package/esm/useEqualSheetHeight-c18cebd3.js +0 -196
  274. package/esm/useEqualSheetHeight-c18cebd3.js.map +0 -1
  275. package/esm/useGeolocation-f9f073cc.js +0 -95
  276. package/esm/useGeolocation-f9f073cc.js.map +0 -1
  277. package/esm/useIE-a9c56989.js +0 -15
  278. package/esm/useIE-a9c56989.js.map +0 -1
  279. package/esm/useLazyInput-e66fc5be.js +0 -85
  280. package/esm/useLazyInput-e66fc5be.js.map +0 -1
  281. package/esm/useLeafletMap-6dea7a8e.js +0 -300
  282. package/esm/useLeafletMap-6dea7a8e.js.map +0 -1
  283. package/esm/useMediaQuery-0d473a9c.js +0 -109
  284. package/esm/useMediaQuery-0d473a9c.js.map +0 -1
  285. package/esm/useMounted-1e4cc87b.js +0 -12
  286. package/esm/useMounted-1e4cc87b.js.map +0 -1
  287. package/esm/useObserverSupport-02bce7f5.js +0 -19
  288. package/esm/useObserverSupport-02bce7f5.js.map +0 -1
  289. package/esm/useScrollTo-70af34bf.js +0 -57
  290. package/esm/useScrollTo-70af34bf.js.map +0 -1
  291. package/esm/useUpdateEffect-824c0c84.js +0 -18
  292. package/esm/useUpdateEffect-824c0c84.js.map +0 -1
  293. package/fields/package.json +0 -7
  294. package/footer/package.json +0 -7
  295. package/hooks/package.json +0 -7
  296. package/icons/package.json +0 -7
  297. package/navigation/package.json +0 -7
  298. package/sections/events/package.json +0 -7
  299. package/sections/forms/package.json +0 -7
  300. package/sections/jobs/package.json +0 -7
  301. package/sections/news/package.json +0 -7
  302. package/sections/package.json +0 -7
  303. package/sections/pois/package.json +0 -7
  304. package/types/base.d.ts +0 -5
  305. package/types/base.d.ts.map +0 -1
  306. package/types/blocks.d.ts +0 -18
  307. package/types/blocks.d.ts.map +0 -1
  308. package/types/buttons.d.ts +0 -6
  309. package/types/buttons.d.ts.map +0 -1
  310. package/types/components/sections/NumberList.d.ts +0 -31
  311. package/types/components/sections/NumberList.d.ts.map +0 -1
  312. package/types/components/sections/header/Header.d.ts.map +0 -1
  313. package/types/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +0 -1
  314. package/types/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +0 -1
  315. package/types/components/typography/Callout.d.ts.map +0 -1
  316. package/types/cookies.d.ts +0 -3
  317. package/types/cookies.d.ts.map +0 -1
  318. package/types/fields.d.ts +0 -14
  319. package/types/fields.d.ts.map +0 -1
  320. package/types/footer.d.ts +0 -4
  321. package/types/footer.d.ts.map +0 -1
  322. package/types/hooks.d.ts +0 -35
  323. package/types/hooks.d.ts.map +0 -1
  324. package/types/icons.d.ts +0 -66
  325. package/types/icons.d.ts.map +0 -1
  326. package/types/index.d.ts +0 -18
  327. package/types/index.d.ts.map +0 -1
  328. package/types/navigation.d.ts +0 -10
  329. package/types/navigation.d.ts.map +0 -1
  330. package/types/sections.d.ts +0 -32
  331. package/types/sections.d.ts.map +0 -1
  332. package/types/sections_events.d.ts +0 -4
  333. package/types/sections_events.d.ts.map +0 -1
  334. package/types/sections_forms.d.ts +0 -3
  335. package/types/sections_forms.d.ts.map +0 -1
  336. package/types/sections_jobs.d.ts +0 -3
  337. package/types/sections_jobs.d.ts.map +0 -1
  338. package/types/sections_news.d.ts +0 -10
  339. package/types/sections_news.d.ts.map +0 -1
  340. package/types/sections_pois.d.ts +0 -4
  341. package/types/sections_pois.d.ts.map +0 -1
  342. package/types/typography.d.ts +0 -6
  343. package/types/typography.d.ts.map +0 -1
  344. package/types/utils/styles.d.ts.map +0 -1
  345. package/types/utils/useEqualSheetHeight.d.ts.map +0 -1
  346. package/typography/package.json +0 -7
  347. /package/{types → lib}/components/base/Grid.d.ts +0 -0
  348. /package/{types → lib}/components/base/Grid.d.ts.map +0 -0
  349. /package/{types → lib}/components/base/Section.d.ts +0 -0
  350. /package/{types → lib}/components/base/Section.d.ts.map +0 -0
  351. /package/{types → lib}/components/base/Wrapper.d.ts +0 -0
  352. /package/{types → lib}/components/base/Wrapper.d.ts.map +0 -0
  353. /package/{types → lib}/components/base/icons/AngleDown.d.ts +0 -0
  354. /package/{types → lib}/components/base/icons/AngleDown.d.ts.map +0 -0
  355. /package/{types → lib}/components/base/icons/AngleLeft.d.ts +0 -0
  356. /package/{types → lib}/components/base/icons/AngleLeft.d.ts.map +0 -0
  357. /package/{types → lib}/components/base/icons/AngleRight.d.ts +0 -0
  358. /package/{types → lib}/components/base/icons/AngleRight.d.ts.map +0 -0
  359. /package/{types → lib}/components/base/icons/AngleUp.d.ts +0 -0
  360. /package/{types → lib}/components/base/icons/AngleUp.d.ts.map +0 -0
  361. /package/{types → lib}/components/base/icons/ArrowDown.d.ts +0 -0
  362. /package/{types → lib}/components/base/icons/ArrowDown.d.ts.map +0 -0
  363. /package/{types → lib}/components/base/icons/ArrowLeft.d.ts +0 -0
  364. /package/{types → lib}/components/base/icons/ArrowLeft.d.ts.map +0 -0
  365. /package/{types → lib}/components/base/icons/ArrowLeftGhost.d.ts +0 -0
  366. /package/{types → lib}/components/base/icons/ArrowLeftGhost.d.ts.map +0 -0
  367. /package/{types → lib}/components/base/icons/ArrowLeftRight.d.ts +0 -0
  368. /package/{types → lib}/components/base/icons/ArrowLeftRight.d.ts.map +0 -0
  369. /package/{types → lib}/components/base/icons/ArrowRight.d.ts +0 -0
  370. /package/{types → lib}/components/base/icons/ArrowRight.d.ts.map +0 -0
  371. /package/{types → lib}/components/base/icons/ArrowRightGhost.d.ts +0 -0
  372. /package/{types → lib}/components/base/icons/ArrowRightGhost.d.ts.map +0 -0
  373. /package/{types → lib}/components/base/icons/ArrowUp.d.ts +0 -0
  374. /package/{types → lib}/components/base/icons/ArrowUp.d.ts.map +0 -0
  375. /package/{types → lib}/components/base/icons/BoxArrowUpRight.d.ts +0 -0
  376. /package/{types → lib}/components/base/icons/BoxArrowUpRight.d.ts.map +0 -0
  377. /package/{types → lib}/components/base/icons/CalendarToday.d.ts +0 -0
  378. /package/{types → lib}/components/base/icons/CalendarToday.d.ts.map +0 -0
  379. /package/{types → lib}/components/base/icons/Category.d.ts +0 -0
  380. /package/{types → lib}/components/base/icons/Category.d.ts.map +0 -0
  381. /package/{types → lib}/components/base/icons/Check.d.ts +0 -0
  382. /package/{types → lib}/components/base/icons/Check.d.ts.map +0 -0
  383. /package/{types → lib}/components/base/icons/Clock.d.ts +0 -0
  384. /package/{types → lib}/components/base/icons/Clock.d.ts.map +0 -0
  385. /package/{types → lib}/components/base/icons/ClockFilled.d.ts +0 -0
  386. /package/{types → lib}/components/base/icons/ClockFilled.d.ts.map +0 -0
  387. /package/{types → lib}/components/base/icons/Computer.d.ts +0 -0
  388. /package/{types → lib}/components/base/icons/Computer.d.ts.map +0 -0
  389. /package/{types → lib}/components/base/icons/Cross.d.ts +0 -0
  390. /package/{types → lib}/components/base/icons/Cross.d.ts.map +0 -0
  391. /package/{types → lib}/components/base/icons/CrossSmall.d.ts +0 -0
  392. /package/{types → lib}/components/base/icons/CrossSmall.d.ts.map +0 -0
  393. /package/{types → lib}/components/base/icons/CurrentLocation.d.ts +0 -0
  394. /package/{types → lib}/components/base/icons/CurrentLocation.d.ts.map +0 -0
  395. /package/{types → lib}/components/base/icons/DateRange.d.ts +0 -0
  396. /package/{types → lib}/components/base/icons/DateRange.d.ts.map +0 -0
  397. /package/{types → lib}/components/base/icons/DeleteForever.d.ts +0 -0
  398. /package/{types → lib}/components/base/icons/DeleteForever.d.ts.map +0 -0
  399. /package/{types → lib}/components/base/icons/External.d.ts +0 -0
  400. /package/{types → lib}/components/base/icons/External.d.ts.map +0 -0
  401. /package/{types → lib}/components/base/icons/Filter.d.ts +0 -0
  402. /package/{types → lib}/components/base/icons/Filter.d.ts.map +0 -0
  403. /package/{types → lib}/components/base/icons/FlyTo.d.ts +0 -0
  404. /package/{types → lib}/components/base/icons/FlyTo.d.ts.map +0 -0
  405. /package/{types → lib}/components/base/icons/Info.d.ts +0 -0
  406. /package/{types → lib}/components/base/icons/Info.d.ts.map +0 -0
  407. /package/{types → lib}/components/base/icons/Language.d.ts +0 -0
  408. /package/{types → lib}/components/base/icons/Language.d.ts.map +0 -0
  409. /package/{types → lib}/components/base/icons/LocationPin.d.ts +0 -0
  410. /package/{types → lib}/components/base/icons/LocationPin.d.ts.map +0 -0
  411. /package/{types → lib}/components/base/icons/LocationSearch.d.ts +0 -0
  412. /package/{types → lib}/components/base/icons/LocationSearch.d.ts.map +0 -0
  413. /package/{types → lib}/components/base/icons/Magnifier.d.ts +0 -0
  414. /package/{types → lib}/components/base/icons/Magnifier.d.ts.map +0 -0
  415. /package/{types → lib}/components/base/icons/Mail.d.ts +0 -0
  416. /package/{types → lib}/components/base/icons/Mail.d.ts.map +0 -0
  417. /package/{types → lib}/components/base/icons/Map.d.ts +0 -0
  418. /package/{types → lib}/components/base/icons/Map.d.ts.map +0 -0
  419. /package/{types → lib}/components/base/icons/MenuBurger.d.ts +0 -0
  420. /package/{types → lib}/components/base/icons/MenuBurger.d.ts.map +0 -0
  421. /package/{types → lib}/components/base/icons/Minus.d.ts +0 -0
  422. /package/{types → lib}/components/base/icons/Minus.d.ts.map +0 -0
  423. /package/{types → lib}/components/base/icons/Money.d.ts +0 -0
  424. /package/{types → lib}/components/base/icons/Money.d.ts.map +0 -0
  425. /package/{types → lib}/components/base/icons/MyLocation.d.ts +0 -0
  426. /package/{types → lib}/components/base/icons/MyLocation.d.ts.map +0 -0
  427. /package/{types → lib}/components/base/icons/Person.d.ts +0 -0
  428. /package/{types → lib}/components/base/icons/Person.d.ts.map +0 -0
  429. /package/{types → lib}/components/base/icons/Phone.d.ts +0 -0
  430. /package/{types → lib}/components/base/icons/Phone.d.ts.map +0 -0
  431. /package/{types → lib}/components/base/icons/Place.d.ts +0 -0
  432. /package/{types → lib}/components/base/icons/Place.d.ts.map +0 -0
  433. /package/{types → lib}/components/base/icons/Play.d.ts +0 -0
  434. /package/{types → lib}/components/base/icons/Play.d.ts.map +0 -0
  435. /package/{types → lib}/components/base/icons/Plus.d.ts +0 -0
  436. /package/{types → lib}/components/base/icons/Plus.d.ts.map +0 -0
  437. /package/{types → lib}/components/base/icons/Route.d.ts +0 -0
  438. /package/{types → lib}/components/base/icons/Route.d.ts.map +0 -0
  439. /package/{types → lib}/components/base/icons/Star.d.ts +0 -0
  440. /package/{types → lib}/components/base/icons/Star.d.ts.map +0 -0
  441. /package/{types → lib}/components/base/icons/ToggleOff.d.ts +0 -0
  442. /package/{types → lib}/components/base/icons/ToggleOff.d.ts.map +0 -0
  443. /package/{types → lib}/components/base/icons/ToggleOn.d.ts +0 -0
  444. /package/{types → lib}/components/base/icons/ToggleOn.d.ts.map +0 -0
  445. /package/{types → lib}/components/base/icons/UnfoldMore.d.ts +0 -0
  446. /package/{types → lib}/components/base/icons/UnfoldMore.d.ts.map +0 -0
  447. /package/{types → lib}/components/base/icons/files/Excel.d.ts +0 -0
  448. /package/{types → lib}/components/base/icons/files/Excel.d.ts.map +0 -0
  449. /package/{types → lib}/components/base/icons/files/Image.d.ts +0 -0
  450. /package/{types → lib}/components/base/icons/files/Image.d.ts.map +0 -0
  451. /package/{types → lib}/components/base/icons/files/Pdf.d.ts +0 -0
  452. /package/{types → lib}/components/base/icons/files/Pdf.d.ts.map +0 -0
  453. /package/{types → lib}/components/base/icons/files/PowerPoint.d.ts +0 -0
  454. /package/{types → lib}/components/base/icons/files/PowerPoint.d.ts.map +0 -0
  455. /package/{types → lib}/components/base/icons/files/UploadFile.d.ts +0 -0
  456. /package/{types → lib}/components/base/icons/files/UploadFile.d.ts.map +0 -0
  457. /package/{types → lib}/components/base/icons/files/Word.d.ts +0 -0
  458. /package/{types → lib}/components/base/icons/files/Word.d.ts.map +0 -0
  459. /package/{types → lib}/components/base/icons/files/Zip.d.ts +0 -0
  460. /package/{types → lib}/components/base/icons/files/Zip.d.ts.map +0 -0
  461. /package/{types → lib}/components/base/icons/socials/Facebook.d.ts +0 -0
  462. /package/{types → lib}/components/base/icons/socials/Facebook.d.ts.map +0 -0
  463. /package/{types → lib}/components/base/icons/socials/Instagram.d.ts +0 -0
  464. /package/{types → lib}/components/base/icons/socials/Instagram.d.ts.map +0 -0
  465. /package/{types → lib}/components/base/icons/socials/LinkedIn.d.ts +0 -0
  466. /package/{types → lib}/components/base/icons/socials/LinkedIn.d.ts.map +0 -0
  467. /package/{types → lib}/components/base/icons/socials/Twitter.d.ts +0 -0
  468. /package/{types → lib}/components/base/icons/socials/Twitter.d.ts.map +0 -0
  469. /package/{types → lib}/components/base/icons/socials/Xing.d.ts +0 -0
  470. /package/{types → lib}/components/base/icons/socials/Xing.d.ts.map +0 -0
  471. /package/{types → lib}/components/base/icons/socials/Youtube.d.ts +0 -0
  472. /package/{types → lib}/components/base/icons/socials/Youtube.d.ts.map +0 -0
  473. /package/{types → lib}/components/base/nl2br.d.ts +0 -0
  474. /package/{types → lib}/components/base/nl2br.d.ts.map +0 -0
  475. /package/{types → lib}/components/blocks/Actions.d.ts +0 -0
  476. /package/{types → lib}/components/blocks/Actions.d.ts.map +0 -0
  477. /package/{types → lib}/components/blocks/Alert.d.ts +0 -0
  478. /package/{types → lib}/components/blocks/Alert.d.ts.map +0 -0
  479. /package/{types → lib}/components/blocks/Bdot.d.ts +0 -0
  480. /package/{types → lib}/components/blocks/Bdot.d.ts.map +0 -0
  481. /package/{types → lib}/components/blocks/CookieConsent.d.ts +0 -0
  482. /package/{types → lib}/components/blocks/CookieConsent.d.ts.map +0 -0
  483. /package/{types → lib}/components/blocks/EventBlock.d.ts +0 -0
  484. /package/{types → lib}/components/blocks/EventBlock.d.ts.map +0 -0
  485. /package/{types → lib}/components/blocks/Fact.d.ts +0 -0
  486. /package/{types → lib}/components/blocks/Fact.d.ts.map +0 -0
  487. /package/{types → lib}/components/blocks/Feature.d.ts +0 -0
  488. /package/{types → lib}/components/blocks/Feature.d.ts.map +0 -0
  489. /package/{types → lib}/components/blocks/Image.d.ts +0 -0
  490. /package/{types → lib}/components/blocks/Image.d.ts.map +0 -0
  491. /package/{types → lib}/components/blocks/InfoList.d.ts +0 -0
  492. /package/{types → lib}/components/blocks/InfoList.d.ts.map +0 -0
  493. /package/{types → lib}/components/blocks/IntroBlock.d.ts +0 -0
  494. /package/{types → lib}/components/blocks/IntroBlock.d.ts.map +0 -0
  495. /package/{types → lib}/components/blocks/JobCard.d.ts +0 -0
  496. /package/{types → lib}/components/blocks/JobCard.d.ts.map +0 -0
  497. /package/{types → lib}/components/blocks/LanguageSwitcher.d.ts +0 -0
  498. /package/{types → lib}/components/blocks/LanguageSwitcher.d.ts.map +0 -0
  499. /package/{types → lib}/components/blocks/NavBlock.d.ts +0 -0
  500. /package/{types → lib}/components/blocks/NavBlock.d.ts.map +0 -0
  501. /package/{types → lib}/components/blocks/NewsCard.d.ts +0 -0
  502. /package/{types → lib}/components/blocks/NewsCard.d.ts.map +0 -0
  503. /package/{types → lib}/components/blocks/POICard.d.ts +0 -0
  504. /package/{types → lib}/components/blocks/POICard.d.ts.map +0 -0
  505. /package/{types → lib}/components/blocks/POIFacts.d.ts +0 -0
  506. /package/{types → lib}/components/blocks/POIFacts.d.ts.map +0 -0
  507. /package/{types → lib}/components/blocks/PriceTag.d.ts +0 -0
  508. /package/{types → lib}/components/blocks/PriceTag.d.ts.map +0 -0
  509. /package/{types → lib}/components/blocks/PromotionCard.d.ts +0 -0
  510. /package/{types → lib}/components/blocks/PromotionCard.d.ts.map +0 -0
  511. /package/{types → lib}/components/blocks/SocialList.d.ts +0 -0
  512. /package/{types → lib}/components/blocks/SocialList.d.ts.map +0 -0
  513. /package/{types → lib}/components/blocks/TableBlock.d.ts +0 -0
  514. /package/{types → lib}/components/blocks/TableBlock.d.ts.map +0 -0
  515. /package/{types → lib}/components/blocks/Tag.d.ts +0 -0
  516. /package/{types → lib}/components/blocks/Tag.d.ts.map +0 -0
  517. /package/{types → lib}/components/blocks/Title.d.ts +0 -0
  518. /package/{types → lib}/components/blocks/Title.d.ts.map +0 -0
  519. /package/{types → lib}/components/blocks/VideoBlock.d.ts +0 -0
  520. /package/{types → lib}/components/blocks/VideoBlock.d.ts.map +0 -0
  521. /package/{types → lib}/components/blocks/VideoCard.d.ts +0 -0
  522. /package/{types → lib}/components/blocks/VideoCard.d.ts.map +0 -0
  523. /package/{types → lib}/components/buttons/Button.d.ts +0 -0
  524. /package/{types → lib}/components/buttons/Button.d.ts.map +0 -0
  525. /package/{types → lib}/components/buttons/ButtonGhost.d.ts +0 -0
  526. /package/{types → lib}/components/buttons/ButtonGhost.d.ts.map +0 -0
  527. /package/{types → lib}/components/buttons/Control.d.ts +0 -0
  528. /package/{types → lib}/components/buttons/Control.d.ts.map +0 -0
  529. /package/{types → lib}/components/buttons/Pointer.d.ts +0 -0
  530. /package/{types → lib}/components/buttons/Pointer.d.ts.map +0 -0
  531. /package/{types → lib}/components/debug/DebugLines.d.ts +0 -0
  532. /package/{types → lib}/components/debug/DebugLines.d.ts.map +0 -0
  533. /package/{types → lib}/components/examples/hooks/ArrayHookExample.d.ts +0 -0
  534. /package/{types → lib}/components/examples/hooks/ArrayHookExample.d.ts.map +0 -0
  535. /package/{types → lib}/components/examples/hooks/IntervalHookExample.d.ts +0 -0
  536. /package/{types → lib}/components/examples/hooks/IntervalHookExample.d.ts.map +0 -0
  537. /package/{types → lib}/components/fields/Checkbox.d.ts +0 -0
  538. /package/{types → lib}/components/fields/Checkbox.d.ts.map +0 -0
  539. /package/{types → lib}/components/fields/CompactForm.d.ts +0 -0
  540. /package/{types → lib}/components/fields/CompactForm.d.ts.map +0 -0
  541. /package/{types → lib}/components/fields/Datepicker.d.ts +0 -0
  542. /package/{types → lib}/components/fields/Datepicker.d.ts.map +0 -0
  543. /package/{types → lib}/components/fields/FileUpload.d.ts +0 -0
  544. /package/{types → lib}/components/fields/FileUpload.d.ts.map +0 -0
  545. /package/{types → lib}/components/fields/FilterField.d.ts +0 -0
  546. /package/{types → lib}/components/fields/FormField.d.ts +0 -0
  547. /package/{types → lib}/components/fields/FormField.d.ts.map +0 -0
  548. /package/{types → lib}/components/fields/LocationField.d.ts +0 -0
  549. /package/{types → lib}/components/fields/LocationField.d.ts.map +0 -0
  550. /package/{types → lib}/components/fields/Radio.d.ts +0 -0
  551. /package/{types → lib}/components/fields/Radio.d.ts.map +0 -0
  552. /package/{types → lib}/components/fields/SearchInput.d.ts +0 -0
  553. /package/{types → lib}/components/fields/SearchInput.d.ts.map +0 -0
  554. /package/{types → lib}/components/fields/SelectDropdown.d.ts +0 -0
  555. /package/{types → lib}/components/fields/SelectDropdown.d.ts.map +0 -0
  556. /package/{types → lib}/components/fields/Textarea.d.ts +0 -0
  557. /package/{types → lib}/components/fields/Textarea.d.ts.map +0 -0
  558. /package/{types → lib}/components/fields/Textfield.d.ts +0 -0
  559. /package/{types → lib}/components/fields/Textfield.d.ts.map +0 -0
  560. /package/{types → lib}/components/sections/Accordion.d.ts +0 -0
  561. /package/{types → lib}/components/sections/Accordion.d.ts.map +0 -0
  562. /package/{types → lib}/components/sections/AlertList.d.ts +0 -0
  563. /package/{types → lib}/components/sections/AlertList.d.ts.map +0 -0
  564. /package/{types → lib}/components/sections/Article.d.ts +0 -0
  565. /package/{types → lib}/components/sections/Article.d.ts.map +0 -0
  566. /package/{types → lib}/components/sections/CallToAction.d.ts +0 -0
  567. /package/{types → lib}/components/sections/CallToAction.d.ts.map +0 -0
  568. /package/{types → lib}/components/sections/CardList.d.ts +0 -0
  569. /package/{types → lib}/components/sections/CardList.d.ts.map +0 -0
  570. /package/{types → lib}/components/sections/ComparisonSlider.d.ts +0 -0
  571. /package/{types → lib}/components/sections/ComparisonSlider.d.ts.map +0 -0
  572. /package/{types → lib}/components/sections/CrossPromotion.d.ts +0 -0
  573. /package/{types → lib}/components/sections/CrossPromotion.d.ts.map +0 -0
  574. /package/{types → lib}/components/sections/FactGrid.d.ts +0 -0
  575. /package/{types → lib}/components/sections/FactGrid.d.ts.map +0 -0
  576. /package/{types → lib}/components/sections/FactList.d.ts +0 -0
  577. /package/{types → lib}/components/sections/FactList.d.ts.map +0 -0
  578. /package/{types → lib}/components/sections/FeatureList.d.ts +0 -0
  579. /package/{types → lib}/components/sections/FeatureList.d.ts.map +0 -0
  580. /package/{types → lib}/components/sections/Gallery.d.ts +0 -0
  581. /package/{types → lib}/components/sections/Gallery.d.ts.map +0 -0
  582. /package/{types → lib}/components/sections/IconList.d.ts +0 -0
  583. /package/{types → lib}/components/sections/IconList.d.ts.map +0 -0
  584. /package/{types → lib}/components/sections/IndexList.d.ts +0 -0
  585. /package/{types → lib}/components/sections/IndexList.d.ts.map +0 -0
  586. /package/{types → lib}/components/sections/Intro.d.ts +0 -0
  587. /package/{types → lib}/components/sections/Intro.d.ts.map +0 -0
  588. /package/{types → lib}/components/sections/Map.d.ts +0 -0
  589. /package/{types → lib}/components/sections/Map.d.ts.map +0 -0
  590. /package/{types → lib}/components/sections/NavList.d.ts +0 -0
  591. /package/{types → lib}/components/sections/NavList.d.ts.map +0 -0
  592. /package/{types → lib}/components/sections/NewsletterForm.d.ts +0 -0
  593. /package/{types → lib}/components/sections/NewsletterForm.d.ts.map +0 -0
  594. /package/{types → lib}/components/sections/ParallaxBackground.d.ts +0 -0
  595. /package/{types → lib}/components/sections/ParallaxBackground.d.ts.map +0 -0
  596. /package/{types → lib}/components/sections/Poster.d.ts +0 -0
  597. /package/{types → lib}/components/sections/Poster.d.ts.map +0 -0
  598. /package/{types → lib}/components/sections/PriceList.d.ts +0 -0
  599. /package/{types → lib}/components/sections/PriceList.d.ts.map +0 -0
  600. /package/{types → lib}/components/sections/PriceTable.d.ts +0 -0
  601. /package/{types → lib}/components/sections/PriceTable.d.ts.map +0 -0
  602. /package/{types → lib}/components/sections/Quote.d.ts +0 -0
  603. /package/{types → lib}/components/sections/Quote.d.ts.map +0 -0
  604. /package/{types → lib}/components/sections/RawVideo.d.ts +0 -0
  605. /package/{types → lib}/components/sections/RawVideo.d.ts.map +0 -0
  606. /package/{types → lib}/components/sections/SimpleImage.d.ts +0 -0
  607. /package/{types → lib}/components/sections/SimpleImage.d.ts.map +0 -0
  608. /package/{types → lib}/components/sections/SocialWall.d.ts +0 -0
  609. /package/{types → lib}/components/sections/SocialWall.d.ts.map +0 -0
  610. /package/{types → lib}/components/sections/Table.d.ts +0 -0
  611. /package/{types → lib}/components/sections/Table.d.ts.map +0 -0
  612. /package/{types → lib}/components/sections/Teaser.d.ts +0 -0
  613. /package/{types → lib}/components/sections/Teaser.d.ts.map +0 -0
  614. /package/{types → lib}/components/sections/TeaserWide.d.ts +0 -0
  615. /package/{types → lib}/components/sections/TeaserWide.d.ts.map +0 -0
  616. /package/{types → lib}/components/sections/Timeline.d.ts +0 -0
  617. /package/{types → lib}/components/sections/Timeline.d.ts.map +0 -0
  618. /package/{types → lib}/components/sections/Video.d.ts +0 -0
  619. /package/{types → lib}/components/sections/Video.d.ts.map +0 -0
  620. /package/{types → lib}/components/sections/events/EventDetail.d.ts +0 -0
  621. /package/{types → lib}/components/sections/events/EventDetail.d.ts.map +0 -0
  622. /package/{types → lib}/components/sections/events/EventList.d.ts +0 -0
  623. /package/{types → lib}/components/sections/events/EventList.d.ts.map +0 -0
  624. /package/{types → lib}/components/sections/events/EventOverview.d.ts +0 -0
  625. /package/{types → lib}/components/sections/events/EventOverview.d.ts.map +0 -0
  626. /package/{types → lib}/components/sections/footer/Footer.d.ts +0 -0
  627. /package/{types → lib}/components/sections/footer/Footer.d.ts.map +0 -0
  628. /package/{types → lib}/components/sections/footer/partials/FooterBottomBar.d.ts +0 -0
  629. /package/{types → lib}/components/sections/footer/partials/FooterBottomBar.d.ts.map +0 -0
  630. /package/{types → lib}/components/sections/footer/partials/FooterColumn.d.ts +0 -0
  631. /package/{types → lib}/components/sections/footer/partials/FooterColumn.d.ts.map +0 -0
  632. /package/{types → lib}/components/sections/footer/partials/index.d.ts +0 -0
  633. /package/{types → lib}/components/sections/footer/partials/index.d.ts.map +0 -0
  634. /package/{types → lib}/components/sections/footer/skeletons/FooterArticle.d.ts +0 -0
  635. /package/{types → lib}/components/sections/footer/skeletons/FooterArticle.d.ts.map +0 -0
  636. /package/{types → lib}/components/sections/footer/skeletons/FooterBottomGrid.d.ts +0 -0
  637. /package/{types → lib}/components/sections/footer/skeletons/FooterBottomGrid.d.ts.map +0 -0
  638. /package/{types → lib}/components/sections/footer/skeletons/index.d.ts +0 -0
  639. /package/{types → lib}/components/sections/footer/skeletons/index.d.ts.map +0 -0
  640. /package/{types → lib}/components/sections/form/DynamicForm.d.ts +0 -0
  641. /package/{types → lib}/components/sections/form/DynamicForm.d.ts.map +0 -0
  642. /package/{types → lib}/components/sections/form/renderer/areaRenderer.d.ts +0 -0
  643. /package/{types → lib}/components/sections/form/renderer/areaRenderer.d.ts.map +0 -0
  644. /package/{types → lib}/components/sections/form/renderer/datepickerRenderer.d.ts +0 -0
  645. /package/{types → lib}/components/sections/form/renderer/datepickerRenderer.d.ts.map +0 -0
  646. /package/{types → lib}/components/sections/form/renderer/fieldGroupRenderer.d.ts +0 -0
  647. /package/{types → lib}/components/sections/form/renderer/fieldGroupRenderer.d.ts.map +0 -0
  648. /package/{types → lib}/components/sections/form/renderer/fieldRenderer.d.ts +0 -0
  649. /package/{types → lib}/components/sections/form/renderer/fieldRenderer.d.ts.map +0 -0
  650. /package/{types → lib}/components/sections/form/renderer/locationRenderer.d.ts +0 -0
  651. /package/{types → lib}/components/sections/form/renderer/locationRenderer.d.ts.map +0 -0
  652. /package/{types → lib}/components/sections/form/renderer/selectRenderer.d.ts +0 -0
  653. /package/{types → lib}/components/sections/form/renderer/selectRenderer.d.ts.map +0 -0
  654. /package/{types → lib}/components/sections/form/renderer/uploadRenderer.d.ts +0 -0
  655. /package/{types → lib}/components/sections/form/renderer/uploadRenderer.d.ts.map +0 -0
  656. /package/{types → lib}/components/sections/form/validators/areaValidator.d.ts +0 -0
  657. /package/{types → lib}/components/sections/form/validators/areaValidator.d.ts.map +0 -0
  658. /package/{types → lib}/components/sections/form/validators/datepickerValidator.d.ts +0 -0
  659. /package/{types → lib}/components/sections/form/validators/datepickerValidator.d.ts.map +0 -0
  660. /package/{types → lib}/components/sections/form/validators/fieldGroupValidator.d.ts +0 -0
  661. /package/{types → lib}/components/sections/form/validators/fieldGroupValidator.d.ts.map +0 -0
  662. /package/{types → lib}/components/sections/form/validators/fieldValidator.d.ts +0 -0
  663. /package/{types → lib}/components/sections/form/validators/fieldValidator.d.ts.map +0 -0
  664. /package/{types → lib}/components/sections/form/validators/locationValidator.d.ts +0 -0
  665. /package/{types → lib}/components/sections/form/validators/locationValidator.d.ts.map +0 -0
  666. /package/{types → lib}/components/sections/form/validators/selectValidator.d.ts +0 -0
  667. /package/{types → lib}/components/sections/form/validators/selectValidator.d.ts.map +0 -0
  668. /package/{types → lib}/components/sections/form/validators/uploadValidator.d.ts +0 -0
  669. /package/{types → lib}/components/sections/form/validators/uploadValidator.d.ts.map +0 -0
  670. /package/{types → lib}/components/sections/header/HeaderKenBurns.d.ts +0 -0
  671. /package/{types → lib}/components/sections/header/HeaderKenBurns.d.ts.map +0 -0
  672. /package/{types → lib}/components/sections/header/HeaderPoster.d.ts +0 -0
  673. /package/{types → lib}/components/sections/header/HeaderPoster.d.ts.map +0 -0
  674. /package/{types → lib}/components/sections/header/HeaderVideo.d.ts +0 -0
  675. /package/{types → lib}/components/sections/header/HeaderVideo.d.ts.map +0 -0
  676. /package/{types → lib}/components/sections/jobs/JobArticle.d.ts +0 -0
  677. /package/{types → lib}/components/sections/jobs/JobArticle.d.ts.map +0 -0
  678. /package/{types → lib}/components/sections/jobs/JobList.d.ts +0 -0
  679. /package/{types → lib}/components/sections/jobs/JobList.d.ts.map +0 -0
  680. /package/{types → lib}/components/sections/navigation/NavBar.d.ts +0 -0
  681. /package/{types → lib}/components/sections/navigation/NavBar.d.ts.map +0 -0
  682. /package/{types → lib}/components/sections/navigation/Navigation.d.ts +0 -0
  683. /package/{types → lib}/components/sections/navigation/Navigation.d.ts.map +0 -0
  684. /package/{types → lib}/components/sections/navigation/menu/Menu.d.ts +0 -0
  685. /package/{types → lib}/components/sections/navigation/menu/Menu.d.ts.map +0 -0
  686. /package/{types → lib}/components/sections/navigation/menu/variations/MenuFlyout.d.ts +0 -0
  687. /package/{types → lib}/components/sections/navigation/menu/variations/MenuLarge.d.ts +0 -0
  688. /package/{types → lib}/components/sections/navigation/partials/MenuFooter.d.ts +0 -0
  689. /package/{types → lib}/components/sections/navigation/partials/MenuFooter.d.ts.map +0 -0
  690. /package/{types → lib}/components/sections/navigation/partials/MenuHeader.d.ts +0 -0
  691. /package/{types → lib}/components/sections/navigation/partials/MenuHeader.d.ts.map +0 -0
  692. /package/{types → lib}/components/sections/navigation/partials/NavBarBottom.d.ts +0 -0
  693. /package/{types → lib}/components/sections/navigation/partials/NavBarBottom.d.ts.map +0 -0
  694. /package/{types → lib}/components/sections/navigation/partials/NavBarMain.d.ts +0 -0
  695. /package/{types → lib}/components/sections/navigation/partials/NavBarMain.d.ts.map +0 -0
  696. /package/{types → lib}/components/sections/navigation/partials/NavBarTop.d.ts +0 -0
  697. /package/{types → lib}/components/sections/navigation/partials/NavBarTop.d.ts.map +0 -0
  698. /package/{types → lib}/components/sections/navigation/partials/index.d.ts +0 -0
  699. /package/{types → lib}/components/sections/navigation/partials/index.d.ts.map +0 -0
  700. /package/{types → lib}/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts +0 -0
  701. /package/{types → lib}/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +0 -0
  702. /package/{types → lib}/components/sections/navigation/skeletons/BarColumn.d.ts +0 -0
  703. /package/{types → lib}/components/sections/navigation/skeletons/BarColumn.d.ts.map +0 -0
  704. /package/{types → lib}/components/sections/navigation/skeletons/BarLogo.d.ts +0 -0
  705. /package/{types → lib}/components/sections/navigation/skeletons/BarLogo.d.ts.map +0 -0
  706. /package/{types → lib}/components/sections/navigation/skeletons/BarMenuToggle.d.ts +0 -0
  707. /package/{types → lib}/components/sections/navigation/skeletons/BarMenuToggle.d.ts.map +0 -0
  708. /package/{types → lib}/components/sections/navigation/skeletons/BarNavList.d.ts +0 -0
  709. /package/{types → lib}/components/sections/navigation/skeletons/BarNavList.d.ts.map +0 -0
  710. /package/{types → lib}/components/sections/navigation/skeletons/index.d.ts +0 -0
  711. /package/{types → lib}/components/sections/navigation/skeletons/index.d.ts.map +0 -0
  712. /package/{types → lib}/components/sections/news/NewsAuthorCard.d.ts +0 -0
  713. /package/{types → lib}/components/sections/news/NewsAuthorCard.d.ts.map +0 -0
  714. /package/{types → lib}/components/sections/news/NewsFooter.d.ts +0 -0
  715. /package/{types → lib}/components/sections/news/NewsFooter.d.ts.map +0 -0
  716. /package/{types → lib}/components/sections/news/NewsImages.d.ts +0 -0
  717. /package/{types → lib}/components/sections/news/NewsImages.d.ts.map +0 -0
  718. /package/{types → lib}/components/sections/news/NewsIntro.d.ts +0 -0
  719. /package/{types → lib}/components/sections/news/NewsIntro.d.ts.map +0 -0
  720. /package/{types → lib}/components/sections/news/NewsList.d.ts +0 -0
  721. /package/{types → lib}/components/sections/news/NewsList.d.ts.map +0 -0
  722. /package/{types → lib}/components/sections/news/NewsOverview.d.ts +0 -0
  723. /package/{types → lib}/components/sections/news/NewsOverview.d.ts.map +0 -0
  724. /package/{types → lib}/components/sections/news/NewsTable.d.ts +0 -0
  725. /package/{types → lib}/components/sections/news/NewsTable.d.ts.map +0 -0
  726. /package/{types → lib}/components/sections/news/NewsText.d.ts +0 -0
  727. /package/{types → lib}/components/sections/news/NewsText.d.ts.map +0 -0
  728. /package/{types → lib}/components/sections/news/NewsVideo.d.ts +0 -0
  729. /package/{types → lib}/components/sections/news/NewsVideo.d.ts.map +0 -0
  730. /package/{types → lib}/components/sections/pois/PointOfInterestDetail.d.ts +0 -0
  731. /package/{types → lib}/components/sections/pois/PointOfInterestDetail.d.ts.map +0 -0
  732. /package/{types → lib}/components/sections/pois/PointOfInterestMap.d.ts +0 -0
  733. /package/{types → lib}/components/sections/pois/PointOfInterestMap.d.ts.map +0 -0
  734. /package/{types → lib}/components/sections/pois/PointOfInterestOverview.d.ts +0 -0
  735. /package/{types → lib}/components/sections/pois/PointOfInterestOverview.d.ts.map +0 -0
  736. /package/{types → lib}/components/typography/Copy.d.ts +0 -0
  737. /package/{types → lib}/components/typography/Copy.d.ts.map +0 -0
  738. /package/{types → lib}/components/typography/Heading.d.ts +0 -0
  739. /package/{types → lib}/components/typography/Heading.d.ts.map +0 -0
  740. /package/{types → lib}/components/typography/Link.d.ts +0 -0
  741. /package/{types → lib}/components/typography/Link.d.ts.map +0 -0
  742. /package/{types → lib}/utils/LibThemeProvider.d.ts +0 -0
  743. /package/{types → lib}/utils/LibThemeProvider.d.ts.map +0 -0
  744. /package/{types → lib}/utils/arrays.d.ts +0 -0
  745. /package/{types → lib}/utils/arrays.d.ts.map +0 -0
  746. /package/{types → lib}/utils/backgroundImage.d.ts +0 -0
  747. /package/{types → lib}/utils/backgroundImage.d.ts.map +0 -0
  748. /package/{types → lib}/utils/clamp.d.ts +0 -0
  749. /package/{types → lib}/utils/clamp.d.ts.map +0 -0
  750. /package/{types → lib}/utils/concat.d.ts +0 -0
  751. /package/{types → lib}/utils/concat.d.ts.map +0 -0
  752. /package/{types → lib}/utils/cookie-consent/cookie.d.ts +0 -0
  753. /package/{types → lib}/utils/cookie-consent/cookie.d.ts.map +0 -0
  754. /package/{types → lib}/utils/cookie-consent/mutations.d.ts +0 -0
  755. /package/{types → lib}/utils/cookie-consent/mutations.d.ts.map +0 -0
  756. /package/{types → lib}/utils/cookie-consent/useCookieConsent.d.ts +0 -0
  757. /package/{types → lib}/utils/cookie-consent/useCookieConsent.d.ts.map +0 -0
  758. /package/{types → lib}/utils/dataURI.d.ts +0 -0
  759. /package/{types → lib}/utils/dataURI.d.ts.map +0 -0
  760. /package/{types → lib}/utils/escape.d.ts +0 -0
  761. /package/{types → lib}/utils/escape.d.ts.map +0 -0
  762. /package/{types → lib}/utils/filters.d.ts +0 -0
  763. /package/{types → lib}/utils/filters.d.ts.map +0 -0
  764. /package/{types → lib}/utils/fontLoading.d.ts +0 -0
  765. /package/{types → lib}/utils/fontLoading.d.ts.map +0 -0
  766. /package/{types → lib}/utils/formFieldText.d.ts +0 -0
  767. /package/{types → lib}/utils/formFieldText.d.ts.map +0 -0
  768. /package/{types → lib}/utils/getLinkIcon.d.ts +0 -0
  769. /package/{types → lib}/utils/getLinkIcon.d.ts.map +0 -0
  770. /package/{types → lib}/utils/hexRgbConverter.d.ts +0 -0
  771. /package/{types → lib}/utils/hexRgbConverter.d.ts.map +0 -0
  772. /package/{types → lib}/utils/menuHooks.d.ts +0 -0
  773. /package/{types → lib}/utils/menuHooks.d.ts.map +0 -0
  774. /package/{types → lib}/utils/navigation.d.ts +0 -0
  775. /package/{types → lib}/utils/navigation.d.ts.map +0 -0
  776. /package/{types → lib}/utils/statusFormatter.d.ts +0 -0
  777. /package/{types → lib}/utils/statusFormatter.d.ts.map +0 -0
  778. /package/{types → lib}/utils/storyHelpers.d.ts +0 -0
  779. /package/{types → lib}/utils/storyHelpers.d.ts.map +0 -0
  780. /package/{types → lib}/utils/structuredData.d.ts +0 -0
  781. /package/{types → lib}/utils/structuredData.d.ts.map +0 -0
  782. /package/{types → lib}/utils/types.d.ts +0 -0
  783. /package/{types → lib}/utils/types.d.ts.map +0 -0
  784. /package/{types → lib}/utils/urlParams.d.ts +0 -0
  785. /package/{types → lib}/utils/urlParams.d.ts.map +0 -0
  786. /package/{types → lib}/utils/useArray.d.ts +0 -0
  787. /package/{types → lib}/utils/useArray.d.ts.map +0 -0
  788. /package/{types → lib}/utils/useDebounce.d.ts +0 -0
  789. /package/{types → lib}/utils/useDebounce.d.ts.map +0 -0
  790. /package/{types → lib}/utils/useFontsLoaded.d.ts +0 -0
  791. /package/{types → lib}/utils/useFontsLoaded.d.ts.map +0 -0
  792. /package/{types → lib}/utils/useGeolocation.d.ts +0 -0
  793. /package/{types → lib}/utils/useGeolocation.d.ts.map +0 -0
  794. /package/{types → lib}/utils/useIE.d.ts +0 -0
  795. /package/{types → lib}/utils/useIE.d.ts.map +0 -0
  796. /package/{types → lib}/utils/useImgPreload.d.ts +0 -0
  797. /package/{types → lib}/utils/useImgPreload.d.ts.map +0 -0
  798. /package/{types → lib}/utils/useInterval.d.ts +0 -0
  799. /package/{types → lib}/utils/useInterval.d.ts.map +0 -0
  800. /package/{types → lib}/utils/useItemHeight.d.ts +0 -0
  801. /package/{types → lib}/utils/useItemHeight.d.ts.map +0 -0
  802. /package/{types → lib}/utils/useLazyInput.d.ts +0 -0
  803. /package/{types → lib}/utils/useLazyInput.d.ts.map +0 -0
  804. /package/{types → lib}/utils/useLeafletMap.d.ts +0 -0
  805. /package/{types → lib}/utils/useLeafletMap.d.ts.map +0 -0
  806. /package/{types → lib}/utils/useMounted.d.ts +0 -0
  807. /package/{types → lib}/utils/useMounted.d.ts.map +0 -0
  808. /package/{types → lib}/utils/useObserverSupport.d.ts +0 -0
  809. /package/{types → lib}/utils/useObserverSupport.d.ts.map +0 -0
  810. /package/{types → lib}/utils/usePageScroll.d.ts +0 -0
  811. /package/{types → lib}/utils/usePageScroll.d.ts.map +0 -0
  812. /package/{types → lib}/utils/useParams.d.ts +0 -0
  813. /package/{types → lib}/utils/useParams.d.ts.map +0 -0
  814. /package/{types → lib}/utils/usePoster.d.ts +0 -0
  815. /package/{types → lib}/utils/usePoster.d.ts.map +0 -0
  816. /package/{types → lib}/utils/usePrevious.d.ts +0 -0
  817. /package/{types → lib}/utils/usePrevious.d.ts.map +0 -0
  818. /package/{types → lib}/utils/useResizeThrottle.d.ts +0 -0
  819. /package/{types → lib}/utils/useResizeThrottle.d.ts.map +0 -0
  820. /package/{types → lib}/utils/useScroll.d.ts +0 -0
  821. /package/{types → lib}/utils/useScroll.d.ts.map +0 -0
  822. /package/{types → lib}/utils/useScrollIntoView.d.ts +0 -0
  823. /package/{types → lib}/utils/useScrollIntoView.d.ts.map +0 -0
  824. /package/{types → lib}/utils/useScrollThrottle.d.ts +0 -0
  825. /package/{types → lib}/utils/useScrollThrottle.d.ts.map +0 -0
  826. /package/{types → lib}/utils/useScrollTo.d.ts +0 -0
  827. /package/{types → lib}/utils/useScrollTo.d.ts.map +0 -0
  828. /package/{types → lib}/utils/useTimeout.d.ts +0 -0
  829. /package/{types → lib}/utils/useTimeout.d.ts.map +0 -0
  830. /package/{types → lib}/utils/useTouch.d.ts +0 -0
  831. /package/{types → lib}/utils/useTouch.d.ts.map +0 -0
  832. /package/{types → lib}/utils/useUpdateEffect.d.ts +0 -0
  833. /package/{types → lib}/utils/useUpdateEffect.d.ts.map +0 -0
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./ClockFilled-2483aa4a.js"),n=require("react"),t=require("styled-components"),a=require("./Wrapper-91748bdb.js"),i=require("./Copy-e860efe7.js"),l=require("./styles-0f1a0aea.js"),r=require("./LibThemeProvider-fb99fd6d.js"),o=require("./Image-d9681be0.js"),d=require("./Tag-5c72cc0d.js"),s=require("./statusFormatter-0393122b.js"),c=require("./Link-70143bb7.js"),m=require("./arrays-c272ed59.js"),p=require("./useMediaQuery-d4f81f88.js"),u=require("./useEqualSheetHeight-cfd4176e.js"),f=require("./Grid-39b12e21.js"),g=require("./useObserverSupport-5ab320dd.js"),h=require("./useScrollTo-fdd665da.js"),x=require("./Pointer-3588eadf.js"),w=require("./urlParams-7525f638.js"),v=require("./Filter-d6d90b8b.js"),b=require("./useUpdateEffect-4d233e2c.js"),_=require("./useMounted-0bba9869.js"),y=require("./TableBlock-a5b16e8f.js"),k=require("./VideoCard-405b518a.js");function T(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./concat-f387d848.js"),require("./clamp-bd21d587.js"),require("react-dom/server"),require("./useCookieConsent-0bf94751.js"),require("./ButtonGhost-046437c5.js"),require("./hexRgbConverter-91b28aea.js");var I,C,E,N,j,B,M,O,S,q,L,A,W,z,F,P,R=T(n),U=T(t),V=U.default.div.withConfig({displayName:"NewsAuthorCard__Seperator",componentId:"sc-17dx8qw-0"})(I||(I=e.__makeTemplateObject(["\n border-bottom: solid 1px\n ",";\n\n margin-top: ","px;\n margin-bottom: ","px;\n"],["\n border-bottom: solid 1px\n ",";\n\n margin-top: ","px;\n margin-bottom: ","px;\n"])),(function(e){var n=e.isInverted,t=e.theme;return n?l.getColors(t).elementBg.light:l.getColors(t).elementBg.dark}),(function(e){return!e.isTop&&l.spacings.spacer}),(function(e){return e.isTop&&l.spacings.spacer})),H=U.default.div.withConfig({displayName:"NewsAuthorCard__AuthorContainer",componentId:"sc-17dx8qw-1"})(C||(C=e.__makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n & > * + * {\n margin-top: ","px;\n }\n\n @media "," {\n flex-direction: row;\n justify-content: flex-start;\n text-align: left;\n\n & > * + * {\n margin-top: 0;\n margin-left: ","px;\n }\n }\n"],["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n & > * + * {\n margin-top: ","px;\n }\n\n @media "," {\n flex-direction: row;\n justify-content: flex-start;\n text-align: left;\n\n & > * + * {\n margin-top: 0;\n margin-left: ","px;\n }\n }\n"])),l.spacings.spacer,l.mq.medium,l.spacings.spacer),D=U.default.img.withConfig({displayName:"NewsAuthorCard__Avatar",componentId:"sc-17dx8qw-2"})(E||(E=e.__makeTemplateObject(["\n border-radius: 50%; ;\n"],["\n border-radius: 50%; ;\n"]))),G=U.default.div.withConfig({displayName:"NewsAuthorCard__Author",componentId:"sc-17dx8qw-3"})(N||(N=e.__makeTemplateObject([""],[""]))),Q=U.default(i.Copy).withConfig({displayName:"NewsAuthorCard__StyledCopy",componentId:"sc-17dx8qw-4"})(j||(j=e.__makeTemplateObject(["\n text-transform: uppercase;\n margin-bottom: ","px;\n"],["\n text-transform: uppercase;\n margin-bottom: ","px;\n"])),3*l.spacings.nudge),K=r.withLibTheme((function(e){var n=e.label,t=e.author,l=e.avatar,o=e.bgMode,d=r.useLibTheme().colors,s="inverted"===o,c="full"===o;return R.default.createElement(a.Section,{addSeperation:!0,bgColor:s?d.sectionBg.dark:c?d.sectionBg.medium:d.sectionBg.light,bgMode:a.mapToBgMode(o,!0)},R.default.createElement(a.Wrapper,{clampWidth:"small",addWhitespace:!0},t&&R.default.createElement(R.default.Fragment,null,R.default.createElement(V,{isTop:!0,isInverted:s}),R.default.createElement(H,null,l&&R.default.createElement(D,{src:l.src,alt:l.alt}),R.default.createElement(G,null,t&&R.default.createElement(Q,{isInverted:s,type:"copy-b"},n||"Written By"),R.default.createElement(i.Heading,{isInverted:s,size:"heading-2"},t)))),R.default.createElement(V,{isInverted:s})))})),J=U.default.div.withConfig({displayName:"NewsCard__View",componentId:"sc-ahox9b-0"})(B||(B=e.__makeTemplateObject(["\n position: relative;\n text-decoration: none;\n margin: 0;\n padding: 0;\n"],["\n position: relative;\n text-decoration: none;\n margin: 0;\n padding: 0;\n"]))),X=U.default(c.Link).withConfig({displayName:"NewsCard__ImageLink",componentId:"sc-ahox9b-1"})(M||(M=e.__makeTemplateObject(["\n display: block;\n width: 100%;\n"],["\n display: block;\n width: 100%;\n"]))),Y=U.default(o.Image).withConfig({displayName:"NewsCard__StyledImage",componentId:"sc-ahox9b-2"})(O||(O=e.__makeTemplateObject(["\n overflow: hidden;\n border-radius: ",";\n"],["\n overflow: hidden;\n border-radius: ",";\n"])),(function(e){var n=e.theme;return l.getGlobals(n).sections.edgeRadius})),Z=U.default.div.withConfig({displayName:"NewsCard__BorderPlaceholder",componentId:"sc-ahox9b-3"})(S||(S=e.__makeTemplateObject(["\n border-top: 1px solid\n ",";\n"],["\n border-top: 1px solid\n ",";\n"])),(function(e){var n=e.theme;return e.hasBg?l.getColors(n).elementBg.light:l.getColors(n).elementBg.medium})),$=U.default(c.Link).withConfig({displayName:"NewsCard__TitleLink",componentId:"sc-ahox9b-4"})(q||(q=e.__makeTemplateObject(["\n display: inline-block;\n ","\n\n color: ",";\n text-decoration: none;\n"],["\n display: inline-block;\n ","\n\n color: ",";\n text-decoration: none;\n"])),i.copyStyle("copy-b","big"),(function(e){var n=e.theme;return e.isInverted?l.getFonts(n)["copy-b"].big.colorInverted:l.getFonts(n)["copy-b"].big.color})),ee=U.default.div.withConfig({displayName:"NewsCard__Head",componentId:"sc-ahox9b-5"})(L||(L=e.__makeTemplateObject(["\n display: flex;\n\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n &:not(:first-child) {\n margin-top: ","px;\n }\n\n &:not(:last-child) {\n margin-bottom: ","px;\n }\n\n & > * + * {\n margin-left: ","px;\n }\n"],["\n display: flex;\n\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n &:not(:first-child) {\n margin-top: ","px;\n }\n\n &:not(:last-child) {\n margin-bottom: ","px;\n }\n\n & > * + * {\n margin-left: ","px;\n }\n"])),3*l.spacings.nudge,3*l.spacings.nudge,3*l.spacings.nudge),ne=U.default.div.withConfig({displayName:"NewsCard__Tags",componentId:"sc-ahox9b-6"})(A||(A=e.__makeTemplateObject(["\n display: flex;\n overflow: scroll;\n scrollbar-width: none;\n\n &::-webkit-scrollbar {\n width: 0;\n height: 0;\n display: none;\n }\n\n & > * + * {\n margin-left: ","px;\n }\n"],["\n display: flex;\n overflow: scroll;\n scrollbar-width: none;\n\n &::-webkit-scrollbar {\n width: 0;\n height: 0;\n display: none;\n }\n\n & > * + * {\n margin-left: ","px;\n }\n"])),l.spacings.nudge),te=U.default(i.Copy).withConfig({displayName:"NewsCard__PublishDate",componentId:"sc-ahox9b-7"})(W||(W=e.__makeTemplateObject(["\n &:only-child {\n margin-left: auto;\n }\n"],["\n &:only-child {\n margin-left: auto;\n }\n"]))),ae=U.default.div.withConfig({displayName:"NewsCard__Main",componentId:"sc-ahox9b-8"})(z||(z=e.__makeTemplateObject(["\n max-width: 95%;\n\n & > * + * {\n margin-top: ","px;\n }\n"],["\n max-width: 95%;\n\n & > * + * {\n margin-top: ","px;\n }\n"])),3*l.spacings.nudge),ie=U.default(i.Copy).withConfig({displayName:"NewsCard__Text",componentId:"sc-ahox9b-9"})(F||(F=e.__makeTemplateObject(["\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 6; /* number of lines to show */\n line-clamp: 6;\n -webkit-box-orient: vertical;\n\n & > * {\n margin: 0 !important;\n }\n\n & > p:not(:first-of-type) {\n display: none;\n }\n\n & > ul,\n & > ol,\n & > table {\n display: none;\n }\n"],["\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 6; /* number of lines to show */\n line-clamp: 6;\n -webkit-box-orient: vertical;\n\n & > * {\n margin: 0 !important;\n }\n\n & > p:not(:first-of-type) {\n display: none;\n }\n\n & > ul,\n & > ol,\n & > table {\n display: none;\n }\n"]))),le=U.default.div.withConfig({displayName:"NewsCard__Action",componentId:"sc-ahox9b-10"})(P||(P=e.__makeTemplateObject(["\n margin-top: ","px;\n"],["\n margin-top: ","px;\n"])),3*l.spacings.nudge),re=n.forwardRef((function(t,a){var i=t.tags,l=t.onTagClick,o=t.publishDate,c=t.title,p=t.text,u=t.image,f=t.link,g=t.isInverted,h=t.action,x=t.customTag,w=t.className,v=t.hasBg,b=r.useLibTheme().globals,_="";o&&(_=new s.StatusFormatter(o.getTime(),"",b.sections.newsDateFormat(o),b.sections.newsTimeFormat(o),b.sections.newsLocaleKey).getFormattedDate());var y=function(e){return l?function(n){null==n||n.preventDefault(),l(e)}:void 0},k=n.useMemo((function(){return null==i?void 0:i.filter((function(e){return e.name}))}),[i]);return R.default.createElement(J,{ref:a,className:w},u?R.default.createElement(X,e.__assign({},f,{ariaLabel:c}),R.default.createElement(Y,e.__assign({},u,{coverSpace:!0,isInverted:g}))):R.default.createElement(Z,{hasBg:v}),R.default.createElement(ee,{"data-sheet":"head"},m.isValidArray(k,!1)&&R.default.createElement(ne,null,k.map((function(e,n){return x?x({key:n,name:e.name||"",isInverted:g,isActive:!1,link:e.link,clickHandler:y(e)}):R.default.createElement(d.Tag,{key:n,isInverted:g,name:e.name,link:e.link,onClick:y(e)})}))),_&&R.default.createElement(te,{size:"small",renderAs:"div",isInverted:g},_)),R.default.createElement(ae,null,c&&R.default.createElement($,e.__assign({},f,{ariaLabel:c,isInverted:g,dataSheet:"title"}),c),p&&R.default.createElement(ie,{isInverted:g,type:"copy",innerHTML:p,"data-sheet":"text",size:"medium"})),h&&R.default.createElement(le,null,h(g)))}));re.displayName="NewsCard";var oe,de,se,ce,me,pe,ue,fe,ge,he,xe,we,ve,be,_e,ye,ke,Te,Ie,Ce=U.default.div.withConfig({displayName:"NewsOverview__TagContainer",componentId:"sc-5r2c7-0"})(oe||(oe=e.__makeTemplateObject(["\n margin-top: -","px;\n margin-left: -","px;\n\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n\n &:not(:only-child) {\n margin-bottom: ","px;\n }\n"],["\n margin-top: -","px;\n margin-left: -","px;\n\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n\n &:not(:only-child) {\n margin-bottom: ","px;\n }\n"])),l.spacings.nudge,l.spacings.nudge,6*l.spacings.nudge),Ee=U.default.div.withConfig({displayName:"NewsOverview__TagWrapper",componentId:"sc-5r2c7-1"})(de||(de=e.__makeTemplateObject(["\n padding-top: ","px;\n padding-left: ","px;\n"],["\n padding-top: ","px;\n padding-left: ","px;\n"])),l.spacings.nudge,l.spacings.nudge),Ne=U.default.ul.withConfig({displayName:"NewsOverview__News",componentId:"sc-5r2c7-2"})(se||(se=e.__makeTemplateObject(["\n list-style: none;\n margin: 0;\n margin-top: -","px;\n margin-left: -","px;\n padding: 0;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n\n flex-wrap: wrap;\n"],["\n list-style: none;\n margin: 0;\n margin-top: -","px;\n margin-left: -","px;\n padding: 0;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n\n flex-wrap: wrap;\n"])),6*l.spacings.nudge,l.spacings.spacer),je=U.default.li.withConfig({displayName:"NewsOverview__NewsItem",componentId:"sc-5r2c7-3"})(ce||(ce=e.__makeTemplateObject(["\n padding-top: ","px;\n padding-left: ","px;\n flex: 1 0 100%;\n\n @media "," {\n flex: 1 0 50%;\n max-width: 50%;\n }\n\n @media "," {\n flex: 1 0 33.33%;\n max-width: 33.33%;\n }\n"],["\n padding-top: ","px;\n padding-left: ","px;\n flex: 1 0 100%;\n\n @media "," {\n flex: 1 0 50%;\n max-width: 50%;\n }\n\n @media "," {\n flex: 1 0 33.33%;\n max-width: 33.33%;\n }\n"])),6*l.spacings.nudge,l.spacings.spacer,l.mq.medium,l.mq.large),Be=U.default.div.withConfig({displayName:"NewsOverview__ListFooter",componentId:"sc-5r2c7-4"})(me||(me=e.__makeTemplateObject(["\n margin-top: ","px;\n text-align: center;\n\n @media "," {\n text-align: left;\n }\n"],["\n margin-top: ","px;\n text-align: center;\n\n @media "," {\n text-align: left;\n }\n"])),6*l.spacings.nudge,l.mq.medium),Me=U.default.span.withConfig({displayName:"NewsOverview__ShowMore",componentId:"sc-5r2c7-5"})(pe||(pe=e.__makeTemplateObject(["\n display: ",";\n"],["\n display: ",";\n"])),(function(e){var n=e.itemCount;return n&&n>2?"block":"none"})),Oe=U.default(i.Copy).withConfig({displayName:"NewsOverview__FilterIcon",componentId:"sc-5r2c7-6"})(ue||(ue=e.__makeTemplateObject(["\n display: flex;\n flex-direction: row;\n align-items: center;\n\n padding: ","px ","px 0 0;\n\n & > * + * {\n margin-left: ","px;\n }\n"],["\n display: flex;\n flex-direction: row;\n align-items: center;\n\n padding: ","px ","px 0 0;\n\n & > * + * {\n margin-left: ","px;\n }\n"])),l.spacings.nudge/2,l.spacings.nudge,l.spacings.nudge),Se=function(e,n,t){if(void 0===t&&(t=[]),!e)return"";if(!m.isValidArray(t,!1))return e;var a=n.globals.sections.newsFilterName;if(!a)return e;try{var i=new URL(e),l=new URLSearchParams(i.search);return l.set(a,encodeURIComponent(t.join(","))),"".concat(e,"?").concat(l.toString())}catch(n){return"".concat(e,"?").concat(a,"=").concat(encodeURIComponent(t.join(",")))}},qe=r.withLibTheme((function(t){var l=t.anchorId,o=t.news,s=t.tags,c=t.initial,f=t.showMoreText,y=t.bgMode,k=t.onTagClick,T=t.customTag,I=r.useLibTheme(),C=I.colors,E=I.globals.sections.newsFilterName,N="inverted"===y,j="full"===y,B=n.useState((null==c?void 0:c.activeTags)||[]),M=B[0],O=B[1],S=p.useMediaQuery(["small","semilarge","large"]),q=n.useState(3),L=q[0],A=q[1],W=n.useState((null==c?void 0:c.visibleRows)||3),z=W[0],F=W[1],P=_.useMounted(),U=n.useRef(null),V=g.useObserverSupport(),H=(null==o?void 0:o.length)||0,D=h.useScrollTo(800),G=u.useEqualSheetHeight({listLength:Math.min(z*L,H),identifiers:['[data-sheet="head"]','[data-sheet="title"]','[data-sheet="text"]'],responsive:{small:1,medium:1,semilarge:2,large:3,xlarge:3}}),Q=G.sheetRefs,K=G.triggerCalculation,J=n.useCallback((function(){var e=[],n=w.getUrlParams()[E];if(n){var t=null==n?void 0:n.split(",");m.isValidArray(t,!1)&&e.push.apply(e,t)}return e}),[E]);n.useEffect((function(){if(!c){var e=J(),n=parseInt(w.getUrlParams().rows);F(n||3),m.isValidArray(e,!1)&&O(e),K()}}),[J,c]),n.useEffect((function(){var e;c&&!P&&(w.setUrlParam("rows",(null==c?void 0:c.visibleRows)||3),m.isValidArray(null==c?void 0:c.activeTags,!1)?w.setUrlParam(E,null===(e=null==c?void 0:c.activeTags)||void 0===e?void 0:e.join(",")):w.deleteUrlParam(E))}),[E,c,P]),b.useUpdateEffect((function(){w.setUrlParam("rows",z)}),[z]),b.useUpdateEffect((function(){!k&&m.isValidArray(M)&&(M.length>0?w.setUrlParam(E,M.join(",")):w.deleteUrlParam(E))}),[M]),n.useEffect((function(){switch(S){case"large":A(3);break;case"semilarge":A(2);break;case"small":A(1),z<3&&F(3);break;default:A(1)}}),[S,z]);var X=function(n,t){void 0===t&&(t=!0),O((function(a){var i=e.__spreadArray([],a,!0),l=n.name?a.indexOf(n.name):-1;return-1===l&&n.name?e.__spreadArray(e.__spreadArray([],i,!0),[n.name],!1):t?(i.splice(l,1),i):a})),K(),F(3)},Y=n.useMemo((function(){var n=m.isValidArray(o)?e.__spreadArray([],o,!0):[];return n=null==n?void 0:n.filter((function(e){if(!m.isValidArray(M,!1))return!0;if(!e.tags)return!1;for(var n=!1,t=0;t<e.tags.length;t++)if(-1!==M.indexOf(e.tags[t].name||"")){n=!0;break}return n}))}),[o,M]),Z=n.useMemo((function(){return(null==Y?void 0:Y.filter((function(e,n){return n<z*L})))||[]}),[Y,L,z]);n.useEffect((function(){if(V){var e,n=U.current;if(n){(e=new IntersectionObserver((function(e){var n=e[0];(null==n?void 0:n.isIntersecting)&&z<Math.ceil(Y.length/L)&&F((function(e){return e+1}))}),{rootMargin:"0px 0px 100px 0px",threshold:0})).observe(n)}return function(){e&&e.disconnect()}}}),[L,H,z,V,Y.length]);var $=n.useMemo((function(){return null==s?void 0:s.filter((function(e){return e}))}),[s]);return R.default.createElement(a.Section,{addSeperation:!0,anchorId:l,bgColor:N?C.sectionBg.dark:j?C.sectionBg.medium:C.sectionBg.light,bgMode:a.mapToBgMode(y,!0)},R.default.createElement(a.Wrapper,{addWhitespace:!0},m.isValidArray($,!1)&&R.default.createElement(Ce,null,R.default.createElement(Oe,{size:"small",type:"copy",isInverted:N},R.default.createElement(v.Filter,null),R.default.createElement("span",null,"Filter")),$.map((function(e,n){return R.default.createElement(Ee,{key:n},T?T({key:n,name:e,isInverted:N,isActive:-1!==M.indexOf(e),clickHandler:function(n){null==n||n.preventDefault(),k?k({name:e}):X({name:e})}}):R.default.createElement(d.Tag,{isInverted:N,onClick:function(n){null==n||n.preventDefault(),k?k({name:e},!1):X({name:e})},isActive:-1!==M.indexOf(e)},e))}))),R.default.createElement(Ne,null,Z.map((function(n,t){var a;return R.default.createElement(je,{key:"".concat(t,"_news_").concat(n.title)},R.default.createElement(re,e.__assign({hasBg:j||N,ref:Q[t]},n,{tags:null===(a=n.tags)||void 0===a?void 0:a.map((function(e){return{name:e.name}})),isInverted:N,onTagClick:function(e){D(0),k?k({name:e.name},!0):X({name:e.name},!1)},customTag:T})))}))),R.default.createElement("div",{ref:U}),!V&&R.default.createElement(Be,null,o&&o.length>0&&R.default.createElement(i.Copy,{type:"copy",size:"medium",isInverted:N},R.default.createElement(Me,{itemCount:o.length,onClick:function(e){e.preventDefault(),z<Math.ceil(Y.length/L)&&F((function(e){return e+1}))}},z<Y.length/L&&R.default.createElement(x.Pointer.View,{as:"button",isInverted:N},R.default.createElement(x.Pointer.Label,null,f||"mehr anzeigen")))))))})),Le=r.withLibTheme((function(t){var i=t.anchorId,l=t.news,o=t.bgMode,d=t.customTag,s=r.useLibTheme(),c=s.colors,m=s.theme,g=(null==l?void 0:l.length)||0,h="inverted"===o,x="full"===o,w=p.useMediaQuery(["small","semilarge"]),v=n.useState(2),b=v[0],_=v[1],y=n.useState(1),k=y[0],T=y[1],I=u.useEqualSheetHeight({listLength:Math.min(k*b,g),identifiers:['[data-sheet="head"]','[data-sheet="title"]','[data-sheet="text"]'],responsive:{small:1,medium:1,semilarge:2,large:2,xlarge:2}}).sheetRefs;return n.useEffect((function(){switch(w){case"semilarge":_(2);break;case"small":_(1),k<3&&T(3);break;default:_(1)}}),[w,k]),R.default.createElement(a.Section,{addSeperation:!0,anchorId:i,bgColor:h?c.sectionBg.dark:x?c.sectionBg.medium:c.sectionBg.light,bgMode:a.mapToBgMode(o,!0)},R.default.createElement(a.Wrapper,{addWhitespace:!0,clampWidth:"small"},R.default.createElement(f.Grid.Row,null,null==l?void 0:l.filter((function(e,n){return n<k*b})).map((function(n,t){var a;return R.default.createElement(f.Grid.Col,{medium:{span:.5},key:"".concat(t,"_news_").concat(n.title)},R.default.createElement(re,e.__assign({key:t,ref:I[t]},n,{tags:null===(a=n.tags)||void 0===a?void 0:a.map((function(n){var t,a,i=void 0;return n.name&&(null===(t=n.link)||void 0===t?void 0:t.href)&&(i=Se(n.link.href,m,[n.name])),{name:n.name,link:(null===(a=n.link)||void 0===a?void 0:a.href)?e.__assign(e.__assign({},n.link),{href:i}):void 0}})),isInverted:h,customTag:d})))})))))})),Ae=U.default(o.Image).withConfig({displayName:"NewsImages__StyledImage",componentId:"sc-1l72vc0-0"})(fe||(fe=e.__makeTemplateObject(["\n width: 100%;\n border-radius: ",";\n overflow: hidden;\n\n picture > img {\n width: 100%;\n height: 100%;\n }\n"],["\n width: 100%;\n border-radius: ",";\n overflow: hidden;\n\n picture > img {\n width: 100%;\n height: 100%;\n }\n"])),(function(e){var n=e.theme;return l.getGlobals(n).sections.edgeRadius})),We=r.withLibTheme((function(n){var t,i=n.anchorId,l=n.images,o=n.bgMode,d=r.useLibTheme().colors,s="inverted"===o,c="full"===o;return R.default.createElement(a.Section,{addSeperation:!0,anchorId:i,bgColor:s?d.sectionBg.dark:c?d.sectionBg.medium:d.sectionBg.light,bgMode:a.mapToBgMode(o,!0)},R.default.createElement(a.Wrapper,{clampWidth:"small",addWhitespace:!0},R.default.createElement(f.Grid.Row,null,null===(t=null==l?void 0:l.filter((function(e){return e.small})))||void 0===t?void 0:t.map((function(n,t){return R.default.createElement(f.Grid.Col,{key:t,semilarge:{span:n.isFull?1:.5}},R.default.createElement(Ae,e.__assign({},n,{coverSpace:!0,isInverted:s})))})))))})),ze=U.default.div.withConfig({displayName:"NewsIntro__Content",componentId:"sc-zz6rn6-0"})(ge||(ge=e.__makeTemplateObject(["\n & > * + * {\n margin-top: ","px;\n }\n"],["\n & > * + * {\n margin-top: ","px;\n }\n"])),3*l.spacings.nudge),Fe=U.default(i.Copy).withConfig({displayName:"NewsIntro__IntroHead",componentId:"sc-zz6rn6-1"})(he||(he=e.__makeTemplateObject(["\n display: flex;\n\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n\n & > * + * {\n margin-top: ","px;\n }\n\n @media "," {\n flex-direction: row;\n align-items: center;\n\n & > * + * {\n margin-top: 0;\n margin-left: ","px;\n }\n }\n"],["\n display: flex;\n\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n\n & > * + * {\n margin-top: ","px;\n }\n\n @media "," {\n flex-direction: row;\n align-items: center;\n\n & > * + * {\n margin-top: 0;\n margin-left: ","px;\n }\n }\n"])),2*l.spacings.nudge,l.mq.medium,2*l.spacings.nudge),Pe=U.default.div.withConfig({displayName:"NewsIntro__Tags",componentId:"sc-zz6rn6-2"})(xe||(xe=e.__makeTemplateObject(["\n flex: 1 1 80%;\n\n display: flex;\n flex-wrap: wrap;\n margin-top: -","px;\n margin-left: -","px;\n"],["\n flex: 1 1 80%;\n\n display: flex;\n flex-wrap: wrap;\n margin-top: -","px;\n margin-left: -","px;\n"])),l.spacings.nudge,l.spacings.nudge),Re=U.default.span.withConfig({displayName:"NewsIntro__TagWrapper",componentId:"sc-zz6rn6-3"})(we||(we=e.__makeTemplateObject(["\n display: inline-block;\n padding-top: ","px;\n padding-left: ","px;\n"],["\n display: inline-block;\n padding-top: ","px;\n padding-left: ","px;\n"])),l.spacings.nudge,l.spacings.nudge),Ue=U.default.div.withConfig({displayName:"NewsIntro__MetaBlock",componentId:"sc-zz6rn6-4"})(ve||(ve=e.__makeTemplateObject(["\n flex: 1 0 auto;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-end;\n align-items: center;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n & > * + * {\n margin-left: ","px;\n }\n"],["\n flex: 1 0 auto;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-end;\n align-items: center;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n & > * + * {\n margin-left: ","px;\n }\n"])),3*l.spacings.nudge),Ve=U.default(y.Title).withConfig({displayName:"NewsIntro__StyledTitle",componentId:"sc-zz6rn6-5"})(be||(be=e.__makeTemplateObject(["\n max-width: ",";\n"],["\n max-width: ",";\n"])),(function(e){return e.clampTitle&&13/28*l.spacings.wrapperSmall+"px"})),He=U.default(i.Copy).withConfig({displayName:"NewsIntro__ContentBlock",componentId:"sc-zz6rn6-6"})(_e||(_e=e.__makeTemplateObject(["\n display: block;\n margin: ",";\n max-width: ",";\n\n :not(:first-child) {\n padding-top: ","px;\n }\n"],["\n display: block;\n margin: ",";\n max-width: ",";\n\n :not(:first-child) {\n padding-top: ","px;\n }\n"])),(function(e){return e.isCentered&&"0 auto"}),(function(e){return e.clampText&&19/28*l.spacings.wrapper+"px"}),l.spacings.spacer),De=r.withLibTheme((function(n){var t=n.anchorId,i=n.tags,l=n.meta,c=n.title,m=n.text,p=n.image,u=n.bgMode,f=n.customTag,g=r.useLibTheme(),h=g.globals,x=g.colors,w=g.theme,v="inverted"===u,b="full"===u,_="";(null==l?void 0:l.date)&&(_=new s.StatusFormatter(l.date.getTime(),"",h.sections.newsDateFormat(l.date),h.sections.newsTimeFormat(l.date),h.sections.newsLocaleKey).getFormattedDate());return R.default.createElement(a.Section,{addSeperation:!0,anchorId:t,bgColor:v?x.sectionBg.dark:b?x.sectionBg.medium:x.sectionBg.light,bgMode:a.mapToBgMode(u,!0)},R.default.createElement(a.Wrapper,{clampWidth:"small",addWhitespace:!0},R.default.createElement(ze,null,R.default.createElement(Fe,{isInverted:v},R.default.createElement(Pe,null,null==i?void 0:i.map((function(n,t){var a,i=void 0;return n.name&&(null===(a=n.link)||void 0===a?void 0:a.href)&&(i=e.__assign(e.__assign({},n.link),{href:Se(n.link.href,w,[n.name])})),R.default.createElement(Re,{key:"headtag-".concat(t)},f?f({key:"headtag-".concat(t),name:n.name||"",isInverted:v,isActive:!1,link:i}):R.default.createElement(d.Tag,{link:i,isInverted:v},n.name))}))),(_||(null==l?void 0:l.author))&&R.default.createElement(Ue,null,(null==l?void 0:l.author)&&R.default.createElement("div",null,null==l?void 0:l.author),_&&R.default.createElement("div",null,_))),R.default.createElement("div",null,R.default.createElement(Ve,{colorMode:v?"inverted":"default",title:c}),m&&R.default.createElement(He,{isInverted:v,type:"copy-b",innerHTML:m})),(null==p?void 0:p.small)&&R.default.createElement(o.Image,e.__assign({},p,{coverSpace:!0,allowEdgeRadius:!0,isInverted:v})))))})),Ge=U.default(a.Wrapper).withConfig({displayName:"NewsTable__TableWrapper",componentId:"sc-ph099f-0"})(ye||(ye=e.__makeTemplateObject(["\n & > * + * {\n margin-top: ","px;\n }\n"],["\n & > * + * {\n margin-top: ","px;\n }\n"])),l.spacings.spacer),Qe=r.withLibTheme((function(n){var t=n.anchorId,i=n.bgMode,l=n.tableItems,o=r.useLibTheme().colors,d="inverted"===i,s="full"===i||d;return R.default.createElement(a.Section,{addSeperation:!0,anchorId:t,bgColor:d?o.sectionBg.dark:s?o.sectionBg.medium:o.sectionBg.light,bgMode:a.mapToBgMode(i,!0)},R.default.createElement(Ge,{clampWidth:"small"},l.map((function(n,t){return R.default.createElement(y.TableBlock,e.__assign({},n,{key:t,hasBack:s,isInverted:d}))}))))})),Ke=U.default(i.Copy).withConfig({displayName:"NewsText__ContentBlock",componentId:"sc-2vavtq-0"})(ke||(ke=e.__makeTemplateObject(["\n display: block;\n margin: ",";\n max-width: ",";\n\n :not(:first-child) {\n padding-top: ","px;\n }\n"],["\n display: block;\n margin: ",";\n max-width: ",";\n\n :not(:first-child) {\n padding-top: ","px;\n }\n"])),(function(e){return e.isCentered&&"0 auto"}),(function(e){return e.clampText&&19/28*l.spacings.wrapperSmall+"px"}),5*l.spacings.nudge),Je=r.withLibTheme((function(e){var n=e.anchorId,t=e.text,i=e.bgMode,l=r.useLibTheme().colors,o="inverted"===i,d="full"===i;return R.default.createElement(a.Section,{addSeperation:!0,anchorId:n,bgColor:o?l.sectionBg.dark:d?l.sectionBg.medium:l.sectionBg.light,bgMode:a.mapToBgMode(i,!0)},R.default.createElement(a.Wrapper,{clampWidth:"small",addWhitespace:!0},t&&R.default.createElement(Ke,{isInverted:o,type:"copy",innerHTML:t})))})),Xe=r.withLibTheme((function(e){var n=e.anchorId,t=e.bgImage,i=e.embedId,l=e.playIcon,o=e.consentText,d=e.consentAction,s=e.bgMode,c=r.useLibTheme().colors,m="inverted"===s,p="full"===s;return R.default.createElement(a.Section,{addSeperation:!0,anchorId:n,bgColor:m?c.sectionBg.dark:p?c.sectionBg.medium:c.sectionBg.light,bgMode:a.mapToBgMode(s,!0)},R.default.createElement(a.Wrapper,{addWhitespace:!0,clampWidth:"small"},i&&t&&R.default.createElement(k.VideoCard,{bgImage:t,embedId:i,playIcon:l,consentText:o,consentAction:d})))})),Ye=U.default.ul.withConfig({displayName:"NewsList__News",componentId:"sc-sew5jz-0"})(Te||(Te=e.__makeTemplateObject(["\n list-style: none;\n margin: 0;\n margin-top: -","px;\n margin-left: -","px;\n padding: 0;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n\n flex-wrap: wrap;\n"],["\n list-style: none;\n margin: 0;\n margin-top: -","px;\n margin-left: -","px;\n padding: 0;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n\n flex-wrap: wrap;\n"])),6*l.spacings.nudge,l.spacings.spacer),Ze=U.default.li.withConfig({displayName:"NewsList__NewsItem",componentId:"sc-sew5jz-1"})(Ie||(Ie=e.__makeTemplateObject(["\n padding-top: ","px;\n padding-left: ","px;\n flex: 1 0 100%;\n max-width: 100%;\n\n @media "," {\n flex: 1 0 50%;\n max-width: 50%;\n }\n\n @media "," {\n flex: 1 0 33.33%;\n max-width: 33.33%;\n }\n"],["\n padding-top: ","px;\n padding-left: ","px;\n flex: 1 0 100%;\n max-width: 100%;\n\n @media "," {\n flex: 1 0 50%;\n max-width: 50%;\n }\n\n @media "," {\n flex: 1 0 33.33%;\n max-width: 33.33%;\n }\n"])),6*l.spacings.nudge,l.spacings.spacer,l.mq.medium,l.mq.large),$e=r.withLibTheme((function(t){var i=t.anchorId,l=t.mode,o=void 0===l?"short":l,d=t.news,s=t.bgMode,c=t.customTag,m=r.useLibTheme(),p=m.colors,f=m.theme,g=n.useMemo((function(){return d?"expanded"===o?d.slice(0,6):d.slice(0,3):[]}),[d,o]),h="inverted"===s,x="full"===s,w=u.useEqualSheetHeight({listLength:g.length,identifiers:['[data-sheet="head"]','[data-sheet="title"]','[data-sheet="text"]'],responsive:{small:1,medium:2,semilarge:2,large:3,xlarge:3}}).sheetRefs;return R.default.createElement(a.Section,{addSeperation:!0,anchorId:i,bgColor:h?p.sectionBg.dark:x?p.sectionBg.medium:p.sectionBg.light,bgMode:a.mapToBgMode(s,!0)},R.default.createElement(a.Wrapper,{addWhitespace:!0},R.default.createElement(Ye,null,null==g?void 0:g.map((function(n,t){var a;return R.default.createElement(Ze,{key:t},R.default.createElement(re,e.__assign({key:t,ref:w[t]},n,{isInverted:h,tags:null===(a=n.tags)||void 0===a?void 0:a.map((function(n){var t,a,i=void 0;return n.name&&(null===(t=n.link)||void 0===t?void 0:t.href)&&(i=Se(n.link.href,f,[n.name])),{name:n.name,link:(null===(a=n.link)||void 0===a?void 0:a.href)?e.__assign(e.__assign({},n.link),{href:i}):void 0}})),customTag:c})))})))))}));exports.NewsAuthorCard=K,exports.NewsFooter=Le,exports.NewsImages=We,exports.NewsIntro=De,exports.NewsList=$e,exports.NewsOverview=qe,exports.NewsTable=Qe,exports.NewsText=Je,exports.NewsVideo=Xe;
2
- //# sourceMappingURL=sections_news.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sections_news.js","sources":["../src/components/sections/news/NewsAuthorCard.tsx","../src/components/blocks/NewsCard.tsx","../src/components/sections/news/NewsOverview.tsx","../src/components/sections/news/NewsFooter.tsx","../src/components/sections/news/NewsImages.tsx","../src/components/sections/news/NewsIntro.tsx","../src/components/sections/news/NewsTable.tsx","../src/components/sections/news/NewsText.tsx","../src/components/sections/news/NewsVideo.tsx","../src/components/sections/news/NewsList.tsx"],"sourcesContent":["import React from 'react';\nimport styled from 'styled-components';\n\nimport Section, { mapToBgMode } from 'components/base/Section';\nimport Wrapper from 'components/base/Wrapper';\nimport Copy from 'components/typography/Copy';\nimport Heading from 'components/typography/Heading';\nimport { getColors as color, mq, spacings } from 'utils/styles';\nimport { useLibTheme, withLibTheme } from 'utils/LibThemeProvider';\n\nconst Seperator = styled.div<{ isInverted?: boolean; isTop?: boolean }>`\n border-bottom: solid 1px\n ${({ isInverted, theme }) =>\n isInverted\n ? color(theme).elementBg.light\n : color(theme).elementBg.dark};\n\n margin-top: ${({ isTop }) => !isTop && spacings.spacer}px;\n margin-bottom: ${({ isTop }) => isTop && spacings.spacer}px;\n`;\n\nconst AuthorContainer = styled.div`\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n & > * + * {\n margin-top: ${spacings.spacer}px;\n }\n\n @media ${mq.medium} {\n flex-direction: row;\n justify-content: flex-start;\n text-align: left;\n\n & > * + * {\n margin-top: 0;\n margin-left: ${spacings.spacer}px;\n }\n }\n`;\n\nconst Avatar = styled.img`\n border-radius: 50%; ;\n`;\n\nconst Author = styled.div``;\n\nconst StyledCopy = styled(Copy)`\n text-transform: uppercase;\n margin-bottom: ${spacings.nudge * 3}px;\n`;\n\nconst NewsAuthorCard: React.FC<{\n /** Text above author name */\n label?: string;\n\n /** Article's author name */\n author?: string;\n\n /** Author avatar image */\n avatar?: { src: string; alt?: string };\n\n /** Section background */\n bgMode?: 'full' | 'inverted';\n}> = ({ label, author, avatar, bgMode }) => {\n const { colors } = useLibTheme();\n const isInverted = bgMode === 'inverted';\n const hasBg = bgMode === 'full';\n\n return (\n <Section\n addSeperation\n bgColor={\n isInverted\n ? colors.sectionBg.dark\n : hasBg\n ? colors.sectionBg.medium\n : colors.sectionBg.light\n }\n bgMode={mapToBgMode(bgMode, true)}\n >\n <Wrapper clampWidth=\"small\" addWhitespace>\n {author && (\n <React.Fragment>\n <Seperator isTop isInverted={isInverted} />\n <AuthorContainer>\n {avatar && (\n <Avatar src={avatar.src} alt={avatar.alt} />\n )}\n <Author>\n {author && (\n <StyledCopy\n isInverted={isInverted}\n type=\"copy-b\"\n >\n {label || 'Written By'}\n </StyledCopy>\n )}\n <Heading\n isInverted={isInverted}\n size=\"heading-2\"\n >\n {author}\n </Heading>\n </Author>\n </AuthorContainer>\n </React.Fragment>\n )}\n <Seperator isInverted={isInverted} />\n </Wrapper>\n </Section>\n );\n};\n\nexport const NewsAuthorCardComponent = NewsAuthorCard;\nexport default withLibTheme(NewsAuthorCard);\n","import React, { forwardRef, useMemo } from 'react';\nimport styled from 'styled-components';\n\nimport {\n spacings,\n getGlobals as global,\n getFonts as font,\n getColors,\n} from 'utils/styles';\nimport Copy, { copyStyle } from 'components/typography/Copy';\nimport Image, { ImageProps } from 'components/blocks/Image';\nimport Tag, { TagProps } from 'components/blocks/Tag';\nimport StatusFormatter from 'utils/statusFormatter';\nimport Link, { LinkProps } from 'components/typography/Link';\nimport { useLibTheme } from 'utils/LibThemeProvider';\nimport { isValidArray } from 'utils/arrays';\n\nconst View = styled.div`\n position: relative;\n text-decoration: none;\n margin: 0;\n padding: 0;\n`;\n\nconst ImageLink = styled(Link)`\n display: block;\n width: 100%;\n`;\n\nconst StyledImage = styled(Image)`\n overflow: hidden;\n border-radius: ${({ theme }) => global(theme).sections.edgeRadius};\n`;\n\nconst BorderPlaceholder = styled.div<{ hasBg?: boolean }>`\n border-top: 1px solid\n ${({ theme, hasBg }) =>\n hasBg\n ? getColors(theme).elementBg.light\n : getColors(theme).elementBg.medium};\n`;\n\nconst TitleLink = styled(Link)`\n display: inline-block;\n ${copyStyle('copy-b', 'big')}\n\n color: ${({ theme, isInverted }) =>\n isInverted\n ? font(theme)['copy-b'].big.colorInverted\n : font(theme)['copy-b'].big.color};\n text-decoration: none;\n`;\n\nconst Head = styled.div`\n display: flex;\n\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n &:not(:first-child) {\n margin-top: ${spacings.nudge * 3}px;\n }\n\n &:not(:last-child) {\n margin-bottom: ${spacings.nudge * 3}px;\n }\n\n & > * + * {\n margin-left: ${spacings.nudge * 3}px;\n }\n`;\n\nconst Tags = styled.div`\n display: flex;\n overflow: scroll;\n scrollbar-width: none;\n\n &::-webkit-scrollbar {\n width: 0;\n height: 0;\n display: none;\n }\n\n & > * + * {\n margin-left: ${spacings.nudge}px;\n }\n`;\n\nconst PublishDate = styled(Copy)`\n &:only-child {\n margin-left: auto;\n }\n`;\n\nconst Main = styled.div`\n max-width: 95%;\n\n & > * + * {\n margin-top: ${spacings.nudge * 3}px;\n }\n`;\n\nconst Text = styled(Copy)`\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 6; /* number of lines to show */\n line-clamp: 6;\n -webkit-box-orient: vertical;\n\n & > * {\n margin: 0 !important;\n }\n\n & > p:not(:first-of-type) {\n display: none;\n }\n\n & > ul,\n & > ol,\n & > table {\n display: none;\n }\n`;\n\nconst Action = styled.div`\n margin-top: ${spacings.nudge * 3}px;\n`;\n\nexport interface NewsCardProps {\n /** Invert text and background for use on dark sections */\n isInverted?: boolean;\n\n /** News tag name */\n tags?: TagProps[];\n\n /** News publish date */\n publishDate?: Date;\n\n /** News title */\n title?: string;\n\n /** News text */\n text?: string;\n\n /** News image settings */\n image?: Omit<ImageProps, 'coverSpace'>;\n\n /** News link settings */\n link?: LinkProps;\n\n /** Callback function if tag in news iten has been clicked */\n onTagClick?: (tag: TagProps) => void;\n\n /** Function to inject primary action */\n action?: (isInverted?: boolean) => React.ReactNode;\n\n /** Function to inject custom tag node */\n customTag?: (props: {\n key: React.Key;\n name: string;\n isInverted?: boolean;\n isActive?: boolean;\n link?: LinkProps;\n clickHandler?: (ev?: React.SyntheticEvent<HTMLAnchorElement>) => void;\n }) => React.ReactNode;\n\n hasBg?: boolean;\n}\n\nconst NewsCard = forwardRef<\n HTMLDivElement,\n NewsCardProps & {\n className?: string;\n }\n>(\n (\n {\n tags,\n onTagClick,\n publishDate,\n title,\n text,\n image,\n link,\n isInverted,\n action,\n customTag,\n className,\n hasBg,\n },\n ref\n ) => {\n const { globals } = useLibTheme();\n\n let publishedAt = '';\n if (publishDate) {\n const formatter = new StatusFormatter(\n publishDate.getTime(),\n '',\n globals.sections.newsDateFormat(publishDate),\n globals.sections.newsTimeFormat(publishDate),\n globals.sections.newsLocaleKey\n );\n publishedAt = formatter.getFormattedDate();\n }\n\n const handleTagClick = (tag: TagProps) =>\n onTagClick\n ? (ev?: React.SyntheticEvent<HTMLAnchorElement>) => {\n ev?.preventDefault();\n onTagClick(tag);\n }\n : undefined;\n\n const filteredTags = useMemo(() => {\n return tags?.filter((tag) => tag.name);\n }, [tags]);\n\n return (\n <View ref={ref} className={className}>\n {image ? (\n <ImageLink {...link} ariaLabel={title}>\n <StyledImage\n {...image}\n coverSpace\n isInverted={isInverted}\n />\n </ImageLink>\n ) : (\n <BorderPlaceholder hasBg={hasBg} />\n )}\n <Head data-sheet=\"head\">\n {isValidArray(filteredTags, false) && (\n <Tags>\n {filteredTags.map((tag, i) => {\n if (customTag) {\n return customTag({\n key: i,\n name: tag.name || '',\n isInverted: isInverted,\n isActive: false,\n link: tag.link,\n clickHandler: handleTagClick(tag),\n });\n } else {\n return (\n <Tag\n key={i}\n isInverted={isInverted}\n name={tag.name}\n link={tag.link}\n onClick={handleTagClick(tag)}\n />\n );\n }\n })}\n </Tags>\n )}\n {publishedAt && (\n <PublishDate\n size=\"small\"\n renderAs=\"div\"\n isInverted={isInverted}\n >\n {publishedAt}\n </PublishDate>\n )}\n </Head>\n <Main>\n {title && (\n <TitleLink\n {...link}\n ariaLabel={title}\n isInverted={isInverted}\n dataSheet=\"title\"\n >\n {title}\n </TitleLink>\n )}\n {text && (\n <Text\n isInverted={isInverted}\n type=\"copy\"\n innerHTML={text}\n data-sheet=\"text\"\n size=\"medium\"\n />\n )}\n </Main>\n {action && <Action>{action(isInverted)}</Action>}\n </View>\n );\n }\n);\n\nNewsCard.displayName = 'NewsCard';\n\nexport default NewsCard;\n","import React, {\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport styled, { DefaultTheme } from 'styled-components';\n\nimport Section, { mapToBgMode } from 'components/base/Section';\nimport Wrapper from 'components/base/Wrapper';\n\nimport NewsCard, { NewsCardProps } from 'components/blocks/NewsCard';\nimport { mq, spacings } from 'utils/styles';\nimport { useLibTheme, withLibTheme } from 'utils/LibThemeProvider';\nimport Tag, { TagProps } from 'components/blocks/Tag';\nimport { useMediaQuery } from 'utils/useMediaQuery';\nimport { useEqualSheetHeight } from 'utils/useEqualSheetHeight';\nimport { useObserverSupport } from 'utils/useObserverSupport';\nimport Copy from 'components/typography/Copy';\nimport { useScrollTo } from 'utils/useScrollTo';\nimport Pointer from 'components/buttons/Pointer';\nimport { isValidArray } from 'utils/arrays';\nimport { deleteUrlParam, getUrlParams, setUrlParam } from 'utils/urlParams';\nimport Filter from 'components/base/icons/Filter';\nimport useUpdateEffect from 'utils/useUpdateEffect';\nimport useMounted from 'utils/useMounted';\n\nconst TagContainer = styled.div`\n margin-top: -${spacings.nudge}px;\n margin-left: -${spacings.nudge}px;\n\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n\n &:not(:only-child) {\n margin-bottom: ${spacings.nudge * 6}px;\n }\n`;\n\nconst TagWrapper = styled.div`\n padding-top: ${spacings.nudge}px;\n padding-left: ${spacings.nudge}px;\n`;\n\nconst News = styled.ul`\n list-style: none;\n margin: 0;\n margin-top: -${spacings.nudge * 6}px;\n margin-left: -${spacings.spacer}px;\n padding: 0;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n\n flex-wrap: wrap;\n`;\n\nconst NewsItem = styled.li`\n padding-top: ${spacings.nudge * 6}px;\n padding-left: ${spacings.spacer}px;\n flex: 1 0 100%;\n\n @media ${mq.medium} {\n flex: 1 0 50%;\n max-width: 50%;\n }\n\n @media ${mq.large} {\n flex: 1 0 33.33%;\n max-width: 33.33%;\n }\n`;\n\nconst ListFooter = styled.div`\n margin-top: ${spacings.nudge * 6}px;\n text-align: center;\n\n @media ${mq.medium} {\n text-align: left;\n }\n`;\n\nconst ShowMore = styled.span<{ itemCount?: number }>`\n display: ${({ itemCount }) =>\n itemCount && itemCount > 2 ? 'block' : 'none'};\n`;\n\nconst FilterIcon = styled(Copy)`\n display: flex;\n flex-direction: row;\n align-items: center;\n\n padding: ${spacings.nudge / 2}px ${spacings.nudge}px 0 0;\n\n & > * + * {\n margin-left: ${spacings.nudge}px;\n }\n`;\n\nexport const getNewsFilterParams = (\n url: string,\n theme: DefaultTheme,\n tags: string[] = []\n) => {\n if (!url) return '';\n if (!isValidArray(tags, false)) return url;\n\n const filterName = theme.globals.sections.newsFilterName;\n if (!filterName) return url;\n\n try {\n const validUrl = new URL(url);\n const newParams = new URLSearchParams(validUrl.search);\n newParams.set(filterName, encodeURIComponent(tags.join(',')));\n\n return `${url}?${newParams.toString()}`;\n } catch (err) {\n return `${url}?${filterName}=${encodeURIComponent(tags.join(','))}`;\n }\n};\n\ntype NewsOverviewMq = 'small' | 'semilarge' | 'large';\n\nexport type NewsItem = Omit<\n NewsCardProps,\n 'customTag' | 'isInverted' | 'onTagClick'\n>;\n\nconst NewsOverview: React.FC<{\n /** ID value for targeting section with anchor hashes */\n anchorId?: string;\n\n /** Array of news item settings */\n news?: NewsItem[];\n\n /** Tags for news filtering */\n tags?: string[];\n\n /** Initial data. If not defined the component tries to collect this from URL params */\n initial?: {\n activeTags?: string[];\n visibleRows?: number;\n };\n\n /** Text for load more toggle. Only visible if browser doesn't support IntersectionObserver. */\n showMoreText?: string;\n\n /** Section background */\n bgMode?: 'full' | 'inverted';\n\n /**\n * Callback function to handle tag click outside of component\n * If no callback is defined filtering is controlled on client\n * */\n onTagClick?: (tag: TagProps, insideList?: boolean) => void;\n\n /** Function to inject custom tag node */\n customTag?: (props: {\n key: React.Key;\n name: string;\n isInverted?: boolean;\n isActive?: boolean;\n clickHandler?: (ev?: React.SyntheticEvent<HTMLElement>) => void;\n }) => React.ReactNode;\n}> = ({\n anchorId,\n news,\n tags,\n initial,\n showMoreText,\n bgMode,\n\n onTagClick,\n customTag,\n}) => {\n const { colors, globals } = useLibTheme();\n const filterName = globals.sections.newsFilterName;\n\n const isInverted = bgMode === 'inverted';\n const hasBg = bgMode === 'full';\n\n const [selectedTags, setSelectedTags] = useState<string[]>(\n initial?.activeTags || []\n );\n\n const mqs: NewsOverviewMq[] = ['small', 'semilarge', 'large'];\n const currentMq = useMediaQuery(mqs) as NewsOverviewMq | undefined;\n const [itemsPerRow, setItemsPerRow] = useState(3);\n const [visibleRows, setVisibleRows] = useState(initial?.visibleRows || 3);\n const isMounted = useMounted();\n\n const targetRef = useRef<HTMLDivElement>(null);\n const observerSupported = useObserverSupport();\n\n const newsCount = news?.length || 0;\n\n const setNewPos = useScrollTo(800);\n const { sheetRefs: cardRefs, triggerCalculation } =\n useEqualSheetHeight<HTMLDivElement>({\n listLength: Math.min(visibleRows * itemsPerRow, newsCount),\n identifiers: [\n '[data-sheet=\"head\"]',\n '[data-sheet=\"title\"]',\n '[data-sheet=\"text\"]',\n ],\n responsive: {\n small: 1,\n medium: 1,\n semilarge: 2,\n large: 3,\n xlarge: 3,\n },\n });\n\n const getFilters = useCallback(() => {\n const tags: string[] = [];\n\n const filters = getUrlParams()[filterName];\n if (filters) {\n const tagsFilter = filters?.split(',');\n if (isValidArray(tagsFilter, false)) {\n tags.push(...tagsFilter);\n }\n }\n return tags;\n }, [filterName]);\n\n useEffect(() => {\n // if initial data is defined exit hook\n if (initial) return;\n\n // if no initial data provied try to find needed params in URL\n const paramTags = getFilters();\n const paramRows = parseInt(getUrlParams()['rows']);\n\n setVisibleRows(paramRows || 3);\n\n if (isValidArray(paramTags, false)) {\n setSelectedTags(paramTags);\n }\n\n // trigger equal sheet height recalculation\n triggerCalculation();\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [getFilters, initial]);\n\n useEffect(() => {\n if (!initial || isMounted) return;\n\n // set inital data into URL\n setUrlParam('rows', initial?.visibleRows || 3);\n\n if (isValidArray(initial?.activeTags, false)) {\n setUrlParam(filterName, initial?.activeTags?.join(','));\n } else {\n deleteUrlParam(filterName);\n }\n }, [filterName, initial, isMounted]);\n\n useUpdateEffect(() => {\n setUrlParam('rows', visibleRows);\n }, [visibleRows]);\n\n useUpdateEffect(() => {\n if (onTagClick || !isValidArray(selectedTags)) return;\n\n // set filters to URL params\n if (selectedTags.length > 0) {\n setUrlParam(filterName, selectedTags.join(','));\n } else {\n deleteUrlParam(filterName);\n }\n }, [selectedTags]);\n\n useEffect(() => {\n switch (currentMq) {\n case 'large':\n setItemsPerRow(3);\n break;\n\n case 'semilarge':\n setItemsPerRow(2);\n break;\n\n case 'small':\n setItemsPerRow(1);\n if (visibleRows < 3) setVisibleRows(3);\n break;\n\n default:\n setItemsPerRow(1);\n }\n }, [currentMq, visibleRows]);\n\n const handleTagClick = (tag: TagProps, enableToggling = true) => {\n setSelectedTags((prev) => {\n const prevCopy = [...prev];\n const itemIndex = tag.name ? prev.indexOf(tag.name) : -1;\n\n if (itemIndex === -1 && tag.name) {\n return [...prevCopy, tag.name];\n }\n if (enableToggling) {\n prevCopy.splice(itemIndex, 1);\n return prevCopy;\n }\n return prev;\n });\n // trigger equal sheet height recalculation\n triggerCalculation();\n setVisibleRows(3);\n };\n\n const filteredNews = useMemo(() => {\n const tagFilterFn = (item: NewsItem) => {\n if (!isValidArray(selectedTags, false)) return true;\n if (!item.tags) return false;\n\n let hasTags = false;\n for (let i = 0; i < item.tags.length; i++) {\n if (selectedTags.indexOf(item.tags[i].name || '') !== -1) {\n hasTags = true;\n break;\n }\n }\n return hasTags;\n };\n\n let filtered = isValidArray(news) ? [...news] : [];\n\n // adding filter\n filtered = filtered?.filter(tagFilterFn);\n\n return filtered;\n }, [news, selectedTags]);\n\n const visibleNews: NewsItem[] = useMemo(() => {\n return (\n filteredNews?.filter((_, i) => i < visibleRows * itemsPerRow) || []\n );\n }, [filteredNews, itemsPerRow, visibleRows]);\n\n useEffect(() => {\n // cancel if intersection observers are not supported\n if (!observerSupported) return;\n\n const element = targetRef.current;\n let observer: IntersectionObserver;\n\n if (element) {\n const options = {\n rootMargin: '0px 0px 100px 0px',\n threshold: 0,\n };\n\n observer = new IntersectionObserver((entries) => {\n const entry = entries[0];\n if (entry?.isIntersecting) {\n // on bottom of the wrapper load more news\n if (\n visibleRows <\n Math.ceil(filteredNews.length / itemsPerRow)\n ) {\n setVisibleRows((prev) => prev + 1);\n }\n }\n }, options);\n observer.observe(element);\n }\n\n return () => {\n if (observer) observer.disconnect();\n };\n }, [\n itemsPerRow,\n newsCount,\n visibleRows,\n observerSupported,\n filteredNews.length,\n ]);\n\n const filteredTags = useMemo(() => {\n return tags?.filter((tag) => tag);\n }, [tags]);\n\n return (\n <Section\n addSeperation\n anchorId={anchorId}\n bgColor={\n isInverted\n ? colors.sectionBg.dark\n : hasBg\n ? colors.sectionBg.medium\n : colors.sectionBg.light\n }\n bgMode={mapToBgMode(bgMode, true)}\n >\n <Wrapper addWhitespace>\n {isValidArray(filteredTags, false) && (\n <TagContainer>\n <FilterIcon\n size=\"small\"\n type=\"copy\"\n isInverted={isInverted}\n >\n <Filter />\n <span>Filter</span>\n </FilterIcon>\n {filteredTags.map((tag, i) => (\n <TagWrapper key={i}>\n {customTag ? (\n customTag({\n key: i,\n name: tag,\n isInverted: isInverted,\n isActive:\n selectedTags.indexOf(tag) !== -1,\n clickHandler: (ev) => {\n ev?.preventDefault();\n if (!onTagClick) {\n handleTagClick({ name: tag });\n } else onTagClick({ name: tag });\n },\n })\n ) : (\n <Tag\n isInverted={isInverted}\n onClick={(ev) => {\n ev?.preventDefault();\n if (!onTagClick) {\n handleTagClick({ name: tag });\n } else\n onTagClick(\n { name: tag },\n false\n );\n }}\n isActive={\n selectedTags.indexOf(tag) !== -1\n }\n >\n {tag}\n </Tag>\n )}\n </TagWrapper>\n ))}\n </TagContainer>\n )}\n <News>\n {visibleNews.map((item, i) => (\n <NewsItem key={`${i}_news_${item.title}`}>\n <NewsCard\n hasBg={hasBg || isInverted}\n ref={cardRefs[i]}\n {...item}\n tags={item.tags?.map((tag) => ({\n name: tag.name,\n }))}\n isInverted={isInverted}\n onTagClick={(tag) => {\n // scroll back to top\n setNewPos(0);\n if (!onTagClick) {\n // if no callback is defined handle filtering on client side inside the component\n handleTagClick(\n { name: tag.name },\n false\n );\n } else {\n onTagClick({ name: tag.name }, true);\n }\n }}\n customTag={customTag}\n />\n </NewsItem>\n ))}\n </News>\n <div ref={targetRef} />\n {!observerSupported && (\n <ListFooter>\n {news && news.length > 0 && (\n <Copy\n type=\"copy\"\n size=\"medium\"\n isInverted={isInverted}\n >\n <ShowMore\n itemCount={news.length}\n onClick={(ev) => {\n ev.preventDefault();\n if (\n visibleRows <\n Math.ceil(\n filteredNews.length /\n itemsPerRow\n )\n ) {\n setVisibleRows((prev) => prev + 1);\n }\n }}\n >\n {visibleRows <\n filteredNews.length / itemsPerRow && (\n <Pointer.View\n as=\"button\"\n isInverted={isInverted}\n >\n <Pointer.Label>\n {showMoreText ||\n 'mehr anzeigen'}\n </Pointer.Label>\n </Pointer.View>\n )}\n </ShowMore>\n </Copy>\n )}\n </ListFooter>\n )}\n </Wrapper>\n </Section>\n );\n};\n\nexport const NewsOverviewComponent = NewsOverview;\nexport default withLibTheme(NewsOverview);\n","import React from 'react';\nimport Section, { mapToBgMode } from 'components/base/Section';\nimport Wrapper from 'components/base/Wrapper';\nimport NewsCard, { NewsCardProps } from 'components/blocks/NewsCard';\nimport { useEffect, useState } from 'react';\nimport { useMediaQuery } from 'utils/useMediaQuery';\nimport { useEqualSheetHeight } from 'utils/useEqualSheetHeight';\nimport { useLibTheme, withLibTheme } from 'utils/LibThemeProvider';\nimport Grid from 'components/base/Grid';\nimport { LinkProps } from 'components/typography/Link';\nimport { getNewsFilterParams } from './NewsOverview';\n\ntype NewsFooterMq = 'small' | 'semilarge';\n\nexport type NewsItem = Omit<\n NewsCardProps,\n 'isInverted' | 'onTagClick' | 'customTag'\n>;\n\nconst NewsFooter: React.FC<{\n /** ID value for targeting section with anchor hashes */\n anchorId?: string;\n\n /** Array of news item settings */\n news: NewsItem[];\n\n /** Section background */\n bgMode?: 'full' | 'inverted';\n\n /** Function to inject custom tag node */\n customTag?: (props: {\n key: React.Key;\n name: string;\n isInverted?: boolean;\n isActive?: boolean;\n link?: LinkProps;\n }) => React.ReactNode;\n}> = ({ anchorId, news, bgMode, customTag }) => {\n const { colors, theme } = useLibTheme();\n const newsCount = news?.length || 0;\n\n const isInverted = bgMode === 'inverted';\n const hasBg = bgMode === 'full';\n\n const mqs: NewsFooterMq[] = ['small', 'semilarge'];\n const currentMq = useMediaQuery(mqs) as NewsFooterMq | undefined;\n const [itemsPerRow, setItemsPerRow] = useState(2);\n const [visibleRows, setVisibleRows] = useState(1);\n\n const { sheetRefs: cardRefs } = useEqualSheetHeight<HTMLDivElement>({\n listLength: Math.min(visibleRows * itemsPerRow, newsCount),\n identifiers: [\n '[data-sheet=\"head\"]',\n '[data-sheet=\"title\"]',\n '[data-sheet=\"text\"]',\n ],\n responsive: {\n small: 1,\n medium: 1,\n semilarge: 2,\n large: 2,\n xlarge: 2,\n },\n });\n\n useEffect(() => {\n switch (currentMq) {\n case 'semilarge':\n setItemsPerRow(2);\n break;\n\n case 'small':\n setItemsPerRow(1);\n if (visibleRows < 3) setVisibleRows(3);\n break;\n\n default:\n setItemsPerRow(1);\n }\n }, [currentMq, visibleRows]);\n\n return (\n <Section\n addSeperation\n anchorId={anchorId}\n bgColor={\n isInverted\n ? colors.sectionBg.dark\n : hasBg\n ? colors.sectionBg.medium\n : colors.sectionBg.light\n }\n bgMode={mapToBgMode(bgMode, true)}\n >\n <Wrapper addWhitespace clampWidth=\"small\">\n <Grid.Row>\n {news\n ?.filter((_, i) => i < visibleRows * itemsPerRow)\n .map((item, i) => (\n <Grid.Col\n medium={{ span: 6 / 12 }}\n key={`${i}_news_${item.title}`}\n >\n <NewsCard\n key={i}\n ref={cardRefs[i]}\n {...item}\n tags={item.tags?.map((tag) => {\n let tagHref: string | undefined =\n undefined;\n\n if (tag.name && tag.link?.href) {\n tagHref = getNewsFilterParams(\n tag.link.href,\n theme,\n [tag.name]\n );\n }\n\n return {\n name: tag.name,\n link: tag.link?.href\n ? {\n ...tag.link,\n href: tagHref,\n }\n : undefined,\n };\n })}\n isInverted={isInverted}\n customTag={customTag}\n />\n </Grid.Col>\n ))}\n </Grid.Row>\n </Wrapper>\n </Section>\n );\n};\n\nexport const NewsFooterComponent = NewsFooter;\nexport default withLibTheme(NewsFooter);\n","import React from 'react';\nimport styled from 'styled-components';\n\nimport { getGlobals as global } from 'utils/styles';\nimport { useLibTheme, withLibTheme } from 'utils/LibThemeProvider';\nimport Image, { ImageProps } from 'components/blocks/Image';\nimport Section, { mapToBgMode } from 'components/base/Section';\nimport Wrapper from 'components/base/Wrapper';\nimport Grid from 'components/base/Grid';\n\nconst StyledImage = styled(Image)`\n width: 100%;\n border-radius: ${({ theme }) => global(theme).sections.edgeRadius};\n overflow: hidden;\n\n picture > img {\n width: 100%;\n height: 100%;\n }\n`;\n\ntype ImageType = Omit<ImageProps, 'coverSpace'> & { isFull?: boolean };\n\nconst NewsImages: React.FC<{\n /** ID value for targeting section with anchor hashes */\n anchorId?: string;\n\n /** List of gallery images */\n images?: ImageType[];\n\n /** Image style */\n isFull?: boolean;\n\n /** Section background */\n bgMode?: 'full' | 'inverted';\n}> = ({ anchorId, images, bgMode }) => {\n const { colors } = useLibTheme();\n\n const isInverted = bgMode === 'inverted';\n const hasBg = bgMode === 'full';\n\n return (\n <Section\n addSeperation\n anchorId={anchorId}\n bgColor={\n isInverted\n ? colors.sectionBg.dark\n : hasBg\n ? colors.sectionBg.medium\n : colors.sectionBg.light\n }\n bgMode={mapToBgMode(bgMode, true)}\n >\n <Wrapper clampWidth=\"small\" addWhitespace>\n <Grid.Row>\n {images\n ?.filter((img) => img.small)\n ?.map((img, i) => (\n <Grid.Col\n key={i}\n semilarge={{\n span: img.isFull ? 12 / 12 : 6 / 12,\n }}\n >\n <StyledImage\n {...img}\n coverSpace\n isInverted={isInverted}\n />\n </Grid.Col>\n ))}\n </Grid.Row>\n {/* {images && (imageStyle === 'half' || images.length >= 2) ? (\n <Grid.Row>\n {images.map((img, i) => {\n return (\n <Grid.Col medium={{ span: 6 / 12 }} key={i}>\n <div>\n <StyledImage\n {...img}\n coverSpace\n isInverted={isInverted}\n />\n </div>\n </Grid.Col>\n );\n })}\n </Grid.Row>\n ) : (\n images && (\n <div>\n {images.map((img, i) => {\n return (\n <StyledImage\n key={i}\n {...img}\n coverSpace\n isInverted={isInverted}\n />\n );\n })}\n </div>\n )\n )} */}\n </Wrapper>\n </Section>\n );\n};\n\nexport const NewsImagesComponent = NewsImages;\nexport default withLibTheme(NewsImages);\n","import React from 'react';\nimport styled from 'styled-components';\n\nimport Section, { mapToBgMode } from 'components/base/Section';\nimport Wrapper from 'components/base/Wrapper';\nimport Image, { ImageProps } from 'components/blocks/Image';\nimport Title from 'components/blocks/Title';\nimport Copy from 'components/typography/Copy';\nimport Tag, { TagProps } from 'components/blocks/Tag';\nimport { mq, spacings } from 'utils/styles';\nimport StatusFormatter from 'utils/statusFormatter';\nimport { useLibTheme, withLibTheme } from 'utils/LibThemeProvider';\nimport { LinkProps } from 'components/typography/Link';\nimport { getNewsFilterParams } from './NewsOverview';\n\nconst Content = styled.div`\n & > * + * {\n margin-top: ${spacings.nudge * 3}px;\n }\n`;\n\nconst IntroHead = styled(Copy)`\n display: flex;\n\n flex-direction: column;\n align-items: flex-start;\n justify-content: space-between;\n\n & > * + * {\n margin-top: ${spacings.nudge * 2}px;\n }\n\n @media ${mq.medium} {\n flex-direction: row;\n align-items: center;\n\n & > * + * {\n margin-top: 0;\n margin-left: ${spacings.nudge * 2}px;\n }\n }\n`;\n\nconst Tags = styled.div`\n flex: 1 1 80%;\n\n display: flex;\n flex-wrap: wrap;\n margin-top: -${spacings.nudge}px;\n margin-left: -${spacings.nudge}px;\n`;\n\nconst TagWrapper = styled.span`\n display: inline-block;\n padding-top: ${spacings.nudge}px;\n padding-left: ${spacings.nudge}px;\n`;\n\nconst MetaBlock = styled.div`\n flex: 1 0 auto;\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-end;\n align-items: center;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n & > * + * {\n margin-left: ${spacings.nudge * 3}px;\n }\n`;\n\nconst StyledTitle = styled(Title)<{ clampTitle?: boolean }>`\n max-width: ${({ clampTitle }) =>\n clampTitle && (13 / 28) * spacings.wrapperSmall + 'px'};\n`;\n\nconst ContentBlock = styled(Copy)<{\n clampText?: boolean;\n isCentered?: boolean;\n}>`\n display: block;\n margin: ${({ isCentered }) => isCentered && '0 auto'};\n max-width: ${({ clampText }) =>\n clampText && (19 / 28) * spacings.wrapper + 'px'};\n\n :not(:first-child) {\n padding-top: ${spacings.spacer}px;\n }\n`;\n\nconst NewsIntro: React.FC<{\n /** ID value for targeting section with anchor hashes */\n anchorId?: string;\n\n /** Array of news tags */\n tags?: TagProps[];\n\n /** News article's meta informations */\n meta?: { date?: Date; author?: string };\n\n /** Title of news article */\n title?: string;\n\n /** Main image of news article */\n image?: Omit<ImageProps, 'coverSpace'>;\n\n /** Text of news article (richtext) */\n text?: string;\n\n /** Section background */\n bgMode?: 'full' | 'inverted';\n\n /** Function to inject custom tag node */\n customTag?: (props: {\n key: React.Key;\n name: string;\n isInverted?: boolean;\n isActive?: boolean;\n link?: LinkProps;\n }) => React.ReactNode;\n}> = ({ anchorId, tags, meta, title, text, image, bgMode, customTag }) => {\n const { globals, colors, theme } = useLibTheme();\n const isInverted = bgMode === 'inverted';\n const hasBg = bgMode === 'full';\n\n let publishedAt = '';\n if (meta?.date) {\n const formatter = new StatusFormatter(\n meta.date.getTime(),\n '',\n globals.sections.newsDateFormat(meta.date),\n globals.sections.newsTimeFormat(meta.date),\n globals.sections.newsLocaleKey\n );\n publishedAt = formatter.getFormattedDate();\n }\n\n return (\n <Section\n addSeperation\n anchorId={anchorId}\n bgColor={\n isInverted\n ? colors.sectionBg.dark\n : hasBg\n ? colors.sectionBg.medium\n : colors.sectionBg.light\n }\n bgMode={mapToBgMode(bgMode, true)}\n >\n <Wrapper clampWidth=\"small\" addWhitespace>\n <Content>\n <IntroHead isInverted={isInverted}>\n <Tags>\n {tags?.map((tag, i) => {\n let tagLink: LinkProps | undefined = undefined;\n\n if (tag.name && tag.link?.href) {\n tagLink = {\n ...tag.link,\n href: getNewsFilterParams(\n tag.link.href,\n theme,\n [tag.name]\n ),\n };\n }\n\n return (\n <TagWrapper key={`headtag-${i}`}>\n {customTag ? (\n customTag({\n key: `headtag-${i}`,\n name: tag.name || '',\n isInverted: isInverted,\n isActive: false,\n link: tagLink,\n })\n ) : (\n <Tag\n link={tagLink}\n isInverted={isInverted}\n >\n {tag.name}\n </Tag>\n )}\n </TagWrapper>\n );\n })}\n </Tags>\n {(publishedAt || meta?.author) && (\n <MetaBlock>\n {meta?.author && <div>{meta?.author}</div>}\n {publishedAt && <div>{publishedAt}</div>}\n </MetaBlock>\n )}\n </IntroHead>\n <div>\n <StyledTitle\n colorMode={isInverted ? 'inverted' : 'default'}\n title={title}\n />\n {text && (\n <ContentBlock\n isInverted={isInverted}\n type=\"copy-b\"\n innerHTML={text}\n />\n )}\n </div>\n {image?.small && (\n <Image\n {...image}\n coverSpace\n allowEdgeRadius\n isInverted={isInverted}\n />\n )}\n </Content>\n </Wrapper>\n </Section>\n );\n};\n\nexport const NewsIntroComponent = NewsIntro;\nexport default withLibTheme(NewsIntro);\n","import React from 'react';\n\nimport Section, { mapToBgMode } from 'components/base/Section';\nimport Wrapper from 'components/base/Wrapper';\nimport { useLibTheme, withLibTheme } from 'utils/LibThemeProvider';\nimport TableBlock, { TableProps } from 'components/blocks/TableBlock';\nimport styled from 'styled-components';\nimport { spacings } from 'utils/styles';\n\nconst TableWrapper = styled(Wrapper)`\n & > * + * {\n margin-top: ${spacings.spacer}px;\n }\n`;\n\nconst NewsTable: React.FC<{\n /** ID value for targeting section with anchor hashes */\n anchorId?: string;\n\n /** Table rows and columns */\n tableItems: TableProps[];\n\n /** Section background */\n bgMode?: 'full' | 'inverted';\n}> = ({ anchorId, bgMode, tableItems }) => {\n const { colors } = useLibTheme();\n const isInverted = bgMode === 'inverted';\n const hasBg = bgMode === 'full' || isInverted;\n\n return (\n <Section\n addSeperation\n anchorId={anchorId}\n bgColor={\n isInverted\n ? colors.sectionBg.dark\n : hasBg\n ? colors.sectionBg.medium\n : colors.sectionBg.light\n }\n bgMode={mapToBgMode(bgMode, true)}\n >\n <TableWrapper clampWidth=\"small\">\n {tableItems.map((item, i) => {\n return (\n <TableBlock\n {...item}\n key={i}\n hasBack={hasBg}\n isInverted={isInverted}\n />\n );\n })}\n </TableWrapper>\n </Section>\n );\n};\n\nexport const NewsTableComponent = NewsTable;\nexport default withLibTheme(NewsTable);\n","import React from 'react';\nimport styled from 'styled-components';\n\nimport Section, { mapToBgMode } from 'components/base/Section';\nimport Copy from 'components/typography/Copy';\nimport Wrapper from 'components/base/Wrapper';\nimport { spacings } from 'utils/styles';\nimport { useLibTheme, withLibTheme } from 'utils/LibThemeProvider';\n\nconst ContentBlock = styled(Copy)<{\n clampText?: boolean;\n isCentered?: boolean;\n}>`\n display: block;\n margin: ${({ isCentered }) => isCentered && '0 auto'};\n max-width: ${({ clampText }) =>\n clampText && (19 / 28) * spacings.wrapperSmall + 'px'};\n\n :not(:first-child) {\n padding-top: ${spacings.nudge * 5}px;\n }\n`;\n\nconst NewsText: React.FC<{\n /** ID value for targeting section with anchor hashes */\n anchorId?: string;\n\n /** Main text (RichText) */\n text: string;\n\n /** Section background */\n bgMode?: 'full' | 'inverted';\n}> = ({ anchorId, text, bgMode }) => {\n const { colors } = useLibTheme();\n const isInverted = bgMode === 'inverted';\n const hasBg = bgMode === 'full';\n\n return (\n <Section\n addSeperation\n anchorId={anchorId}\n bgColor={\n isInverted\n ? colors.sectionBg.dark\n : hasBg\n ? colors.sectionBg.medium\n : colors.sectionBg.light\n }\n bgMode={mapToBgMode(bgMode, true)}\n >\n <Wrapper clampWidth=\"small\" addWhitespace>\n {text && (\n <ContentBlock\n isInverted={isInverted}\n type=\"copy\"\n innerHTML={text}\n />\n )}\n </Wrapper>\n </Section>\n );\n};\n\nexport const NewsTextComponent = NewsText;\nexport default withLibTheme(NewsText);\n","import React from 'react';\n\nimport { ImageProps } from 'components/blocks/Image';\nimport Section, { mapToBgMode } from 'components/base/Section';\nimport { useLibTheme, withLibTheme } from 'utils/LibThemeProvider';\nimport Wrapper from 'components/base/Wrapper';\nimport VideoCard from 'components/blocks/VideoCard';\n\nconst NewsVideo: React.FC<{\n /** ID value for targeting section with anchor hashes */\n anchorId?: string;\n\n /** Placeholder image */\n bgImage?: ImageProps;\n\n /** Embed video ID. E.g. from Youtube */\n embedId?: string;\n\n /** Custom play icon */\n playIcon?: React.ReactNode;\n\n /** Text for cookie consent overlay */\n consentText?: string;\n\n /** Function to inject custom action on cookie consent overlay */\n consentAction?: (props: {\n handleClick?: () => void;\n consentProps: Record<string, string>;\n }) => React.ReactNode;\n\n /** Section background */\n bgMode?: 'full' | 'inverted';\n}> = ({\n anchorId,\n bgImage,\n embedId,\n playIcon,\n consentText,\n consentAction,\n bgMode,\n}) => {\n const { colors } = useLibTheme();\n\n const isInverted = bgMode === 'inverted';\n const hasBg = bgMode === 'full';\n\n return (\n <Section\n addSeperation\n anchorId={anchorId}\n bgColor={\n isInverted\n ? colors.sectionBg.dark\n : hasBg\n ? colors.sectionBg.medium\n : colors.sectionBg.light\n }\n bgMode={mapToBgMode(bgMode, true)}\n >\n <Wrapper addWhitespace clampWidth=\"small\">\n {embedId && bgImage && (\n <VideoCard\n bgImage={bgImage}\n embedId={embedId}\n playIcon={playIcon}\n consentText={consentText}\n consentAction={consentAction}\n />\n )}\n </Wrapper>\n </Section>\n );\n};\n\nexport const NewsVideoComponent = NewsVideo;\nexport default withLibTheme(NewsVideo);\n","import React, { useMemo } from 'react';\nimport styled from 'styled-components';\n\nimport Section, { mapToBgMode } from 'components/base/Section';\nimport Wrapper from 'components/base/Wrapper';\n\nimport NewsCard, { NewsCardProps } from 'components/blocks/NewsCard';\nimport { mq, spacings } from 'utils/styles';\nimport { useEqualSheetHeight } from 'utils/useEqualSheetHeight';\nimport { useLibTheme, withLibTheme } from 'utils/LibThemeProvider';\nimport { LinkProps } from 'components/typography/Link';\nimport { getNewsFilterParams } from './NewsOverview';\n\nconst News = styled.ul`\n list-style: none;\n margin: 0;\n margin-top: -${spacings.nudge * 6}px;\n margin-left: -${spacings.spacer}px;\n padding: 0;\n\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n\n flex-wrap: wrap;\n`;\n\nconst NewsItem = styled.li`\n padding-top: ${spacings.nudge * 6}px;\n padding-left: ${spacings.spacer}px;\n flex: 1 0 100%;\n max-width: 100%;\n\n @media ${mq.medium} {\n flex: 1 0 50%;\n max-width: 50%;\n }\n\n @media ${mq.large} {\n flex: 1 0 33.33%;\n max-width: 33.33%;\n }\n`;\n\nexport type NewsItem = Omit<\n NewsCardProps,\n 'isInverted' | 'onTagClick' | 'customTag'\n>;\n\nconst NewsList: React.FC<{\n /** ID value for targeting section with anchor hashes */\n anchorId?: string;\n\n /** Show a short version of three or a expanded version of six news items */\n mode?: 'short' | 'expanded';\n\n /** Array of news card settings */\n news?: NewsItem[];\n\n /** Sections background */\n bgMode?: 'full' | 'inverted';\n\n /** Function to inject custom tag node */\n customTag?: (props: {\n key: React.Key;\n name: string;\n isInverted?: boolean;\n isActive?: boolean;\n link?: LinkProps;\n }) => React.ReactNode;\n}> = ({ anchorId, mode = 'short', news, bgMode, customTag }) => {\n const { colors, theme } = useLibTheme();\n\n const items = useMemo<NewsCardProps[]>(() => {\n if (!news) return [];\n if (mode === 'expanded') return news.slice(0, 6);\n else return news.slice(0, 3);\n }, [news, mode]);\n\n const isInverted = bgMode === 'inverted';\n const hasBg = bgMode === 'full';\n\n const { sheetRefs: cardRefs } = useEqualSheetHeight<HTMLDivElement>({\n listLength: items.length,\n identifiers: [\n '[data-sheet=\"head\"]',\n '[data-sheet=\"title\"]',\n '[data-sheet=\"text\"]',\n ],\n responsive: {\n small: 1,\n medium: 2,\n semilarge: 2,\n large: 3,\n xlarge: 3,\n },\n });\n\n return (\n <Section\n addSeperation\n anchorId={anchorId}\n bgColor={\n isInverted\n ? colors.sectionBg.dark\n : hasBg\n ? colors.sectionBg.medium\n : colors.sectionBg.light\n }\n bgMode={mapToBgMode(bgMode, true)}\n >\n <Wrapper addWhitespace>\n <News>\n {items?.map((item, i) => (\n <NewsItem key={i}>\n <NewsCard\n key={i}\n ref={cardRefs[i]}\n {...item}\n isInverted={isInverted}\n tags={item.tags?.map((tag) => {\n let tagHref: string | undefined = undefined;\n\n if (tag.name && tag.link?.href) {\n tagHref = getNewsFilterParams(\n tag.link.href,\n theme,\n [tag.name]\n );\n }\n\n return {\n name: tag.name,\n link: tag.link?.href\n ? {\n ...tag.link,\n href: tagHref,\n }\n : undefined,\n };\n })}\n customTag={customTag}\n />\n </NewsItem>\n ))}\n </News>\n </Wrapper>\n </Section>\n );\n};\n\nexport const NewsListComponent = NewsList;\nexport default withLibTheme(NewsList);\n"],"names":["Seperator","styled","div","withConfig","displayName","componentId","templateObject_1","__makeTemplateObject","_a","isInverted","theme","color","elementBg","light","dark","isTop","spacings","spacer","AuthorContainer","templateObject_2","mq","medium","Avatar","img","templateObject_3","Author","templateObject_4","StyledCopy","Copy","templateObject_5","nudge","NewsAuthorCard$1","withLibTheme","label","author","avatar","bgMode","colors","useLibTheme","hasBg","React","Section","addSeperation","bgColor","sectionBg","mapToBgMode","createElement","Wrapper","clampWidth","addWhitespace","Fragment","src","alt","type","Heading","size","View","ImageLink","Link","StyledImage","Image","global","sections","edgeRadius","BorderPlaceholder","getColors","TitleLink","copyStyle","font","getFonts","big","colorInverted","Head","templateObject_6","Tags","templateObject_7","PublishDate","templateObject_8","Main","Text","templateObject_10","Action","NewsCard","forwardRef","ref","tags","onTagClick","publishDate","title","text","image","link","action","customTag","className","globals","publishedAt","StatusFormatter","getTime","newsDateFormat","newsTimeFormat","newsLocaleKey","getFormattedDate","handleTagClick","tag","ev","preventDefault","undefined","filteredTags","useMemo","filter","name","__assign","ariaLabel","coverSpace","isValidArray","map","i","key","isActive","clickHandler","Tag","onClick","renderAs","dataSheet","innerHTML","TagContainer","TagWrapper","News","ul","NewsItem","li","large","ListFooter","ShowMore","span","itemCount","FilterIcon","getNewsFilterParams","url","filterName","newsFilterName","validUrl","URL","newParams","URLSearchParams","search","set","encodeURIComponent","join","concat","toString","err","NewsOverview$1","anchorId","news","initial","showMoreText","_b","_c","useState","activeTags","selectedTags","setSelectedTags","currentMq","useMediaQuery","_d","itemsPerRow","setItemsPerRow","_e","visibleRows","setVisibleRows","isMounted","useMounted","targetRef","useRef","observerSupported","useObserverSupport","newsCount","length","setNewPos","useScrollTo","_f","useEqualSheetHeight","listLength","Math","min","identifiers","responsive","small","semilarge","xlarge","cardRefs","sheetRefs","triggerCalculation","getFilters","useCallback","filters","getUrlParams","tagsFilter","split","push","apply","useEffect","paramTags","paramRows","parseInt","setUrlParam","deleteUrlParam","useUpdateEffect","enableToggling","prev","prevCopy","__spreadArray","itemIndex","indexOf","splice","filteredNews","filtered","item","hasTags","visibleNews","_","observer","element","current","IntersectionObserver","entries","entry","isIntersecting","ceil","rootMargin","threshold","observe","disconnect","Filter","Pointer","as","Label","Grid","Row","Col","tagHref","href","NewsImages$1","images","isFull","Content","IntroHead","MetaBlock","StyledTitle","Title","clampTitle","wrapperSmall","ContentBlock","isCentered","clampText","wrapper","NewsIntro$1","meta","date","tagLink","colorMode","allowEdgeRadius","TableWrapper","NewsTable$1","tableItems","TableBlock","hasBack","NewsText$1","bgImage","embedId","playIcon","consentText","consentAction","VideoCard","NewsList$1","mode","items","slice"],"mappings":"+vCAUMA,EAAYC,EAAAA,QAAOC,IAAVC,WAAA,CAAAC,YAAA,4BAAAC,YAAA,gBAAGJ,CAAqDK,IAAAA,EAAAC,EAAAA,qBAAA,CAAA,2CAAA,wBAAA,2BAAA,SAAA,CAAA,2CAK1B,wBAEa,2BACE,YANlD,SAACC,OAAEC,EAAUD,EAAAC,WAAEC,EAAKF,EAAAE,MAClB,OAAAD,EACME,EAAAA,UAAMD,GAAOE,UAAUC,MACvBF,EAAAA,UAAMD,GAAOE,UAAUE,QAEvB,S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,EAAOO,UAAU9B,KACjByB,EACAF,EAAOO,UAAUvB,OACjBgB,EAAOO,UAAU/B,MAE3BuB,OAAQS,EAAAA,YAAYT,GAAQ,IAE5BI,EAAC,QAAAM,cAAAC,WAAQE,eAAa,GAClBT,EAAAA,QAAAM,cAACkF,GAAI,KACAsJ,MAAAA,OAAK,EAALA,EAAOlK,KAAI,SAACuG,EAAMtG,SAAM,OACrB7E,EAAC,QAAAM,cAAAoF,GAAS,CAAAZ,IAAKD,GACX7E,UAAAM,cAACoC,GAAQ8B,WAAA,CACLM,IAAKD,EACLjC,IAAK4G,EAAS3E,IACVsG,EACJ,CAAAlN,WAAYA,EACZ4E,KAAe,QAAT7E,EAAAmN,EAAKtI,YAAI,IAAA7E,OAAA,EAAAA,EAAE4G,KAAI,SAACZ,WACd0I,OAA8BvI,EAU3B,OARHH,EAAIO,OAAgB,QAARvG,EAAAgG,EAAIb,YAAI,IAAAnF,OAAA,EAAAA,EAAE2O,QACtBD,EAAUxG,GACNlC,EAAIb,KAAKwJ,KACTzO,EACA,CAAC8F,EAAIO,QAIN,CACHA,KAAMP,EAAIO,KACVpB,cAAMmE,EAAAtD,EAAIb,2BAAMwJ,MACXnI,EAAAA,SAAAA,EAAAA,SAAA,GACQR,EAAIb,MAAI,CACXwJ,KAAMD,SAEVvI,MAGdd,UAAWA"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./ClockFilled-2483aa4a.js"),n=require("react"),t=require("styled-components"),i=require("./Wrapper-91748bdb.js"),a=require("./Image-d9681be0.js"),r=require("./Copy-e860efe7.js"),o=require("./styles-0f1a0aea.js"),l=require("./LibThemeProvider-fb99fd6d.js"),s=require("./Grid-39b12e21.js"),c=require("./InfoList-577f3c57.js"),d=require("./POICard-492bf8d0.js"),u=require("./arrays-c272ed59.js"),p=require("./FilterField-cf9e2f16.js"),m=require("./useUpdateEffect-4d233e2c.js"),f=require("./escape-1ef8dd83.js"),g=require("./useMounted-0bba9869.js"),h=require("./urlParams-7525f638.js"),v=require("./useLeafletMap-2e608b01.js"),b=require("./Navigation-3f5d6088.js"),x=require("./useGeolocation-d8946470.js");function w(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./concat-f387d848.js"),require("./clamp-bd21d587.js"),require("react-dom/server"),require("./useLazyInput-f71c221b.js"),require("./useMediaQuery-d4f81f88.js"),require("./navigation-bf154e6e.js"),require("./Link-70143bb7.js"),require("./LanguageSwitcher-47e25e95.js");var y,_,C,I,k,E,j,M,O,P,T,q,L,z,F,N,S=w(n),A=w(t),V=A.default(a.Image).withConfig({displayName:"PointOfInterestDetail__StyledImage",componentId:"sc-hksryh-0"})(y||(y=e.__makeTemplateObject(["\n &:not(:last-child) {\n margin-bottom: ","px;\n }\n"],["\n &:not(:last-child) {\n margin-bottom: ","px;\n }\n"])),o.spacings.spacer),B=A.default(d.POIFacts).withConfig({displayName:"PointOfInterestDetail__Facts",componentId:"sc-hksryh-1"})(_||(_=e.__makeTemplateObject(["\n max-width: 880px;\n"],["\n max-width: 880px;\n"]))),R=A.default(r.Heading).withConfig({displayName:"PointOfInterestDetail__PoiTitle",componentId:"sc-hksryh-2"})(C||(C=e.__makeTemplateObject(["\n max-width: 880px;\n\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2; /* number of lines to show */\n line-clamp: 2;\n -webkit-box-orient: vertical;\n\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n max-width: 880px;\n\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2; /* number of lines to show */\n line-clamp: 2;\n -webkit-box-orient: vertical;\n\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),3*o.spacings.nudge),D=A.default(r.Copy).withConfig({displayName:"PointOfInterestDetail__PoiText",componentId:"sc-hksryh-3"})(I||(I=e.__makeTemplateObject(["\n max-width: 880px;\n\n &:not(:first-child) {\n margin-top: ","px;\n }\n"],["\n max-width: 880px;\n\n &:not(:first-child) {\n margin-top: ","px;\n }\n"])),3*o.spacings.nudge),G=l.withLibTheme((function(t){var a=t.anchorId,r=t.image,d=t.title,p=t.intro,m=t.text,f=t.facts,g=t.infos,h=t.bgMode,v=t.customFact,b=l.useLibTheme().colors,x="inverted"===h,w="full"===h,y=n.useMemo((function(){return u.isValidArray(null==g?void 0:g.filter((function(e){return u.isValidArray(e.items,!1)})),!1)}),[g]);return S.default.createElement(i.Section,{addSeperation:!0,anchorId:a,bgColor:x?b.sectionBg.dark:w?b.sectionBg.medium:b.sectionBg.light,bgMode:i.mapToBgMode(h,!0)},S.default.createElement(i.Wrapper,{addWhitespace:!0},(null==r?void 0:r.small)&&S.default.createElement(V,e.__assign({},r,{coverSpace:!0,allowEdgeRadius:!0,isInverted:x})),S.default.createElement(s.Grid.Row,{gutter:5*o.spacings.nudge,semilarge:{gutter:o.spacings.spacer}},S.default.createElement(s.Grid.Col,{semilarge:{span:y?5.7/8:1}},d&&S.default.createElement(R,{size:"heading-2",isInverted:x},d),u.isValidArray(f,!1)&&S.default.createElement(B,{isInverted:x,facts:f,customFact:v}),p&&S.default.createElement(D,{size:"medium",type:"copy-b",isInverted:x,innerHTML:p}),m&&S.default.createElement(D,{size:"medium",isInverted:x,innerHTML:m})),y&&S.default.createElement(s.Grid.Col,{semilarge:{span:2.3/8}},S.default.createElement(c.InfoList,{isInverted:x,items:g})))))})),H=A.default.div.withConfig({displayName:"PointOfInterestOverview__Content",componentId:"sc-epctuk-0"})(k||(k=e.__makeTemplateObject(["\n & > * + * {\n margin-top: ","px;\n }\n\n @media "," {\n & > * + * {\n margin-top: ","px;\n }\n }\n"],["\n & > * + * {\n margin-top: ","px;\n }\n\n @media "," {\n & > * + * {\n margin-top: ","px;\n }\n }\n"])),5*o.spacings.nudge,o.mq.large,3*o.spacings.nudge),U=A.default(p.FilterField).withConfig({displayName:"PointOfInterestOverview__Filter",componentId:"sc-epctuk-1"})(E||(E=e.__makeTemplateObject(["\n // margin to show prevent section overflow outline\n margin-top: 2px;\n\n &:not(:last-child) {\n margin-bottom: ","px;\n }\n"],["\n // margin to show prevent section overflow outline\n margin-top: 2px;\n\n &:not(:last-child) {\n margin-bottom: ","px;\n }\n"])),5*o.spacings.nudge),W=function(e,n){return n?null==n?void 0:n.filter((function(n){return!e.find((function(e){return e.item.id===n.id}))})):[]},Z=function(e,n){var t=[];if(!u.isValidArray(null==n?void 0:n.filter((function(e){return void 0!==e.id})),!1))return t;var i=null==n?void 0:n.filter(function(e){return function(n){return new RegExp(e).test(n.name)}}(e));u.isValidArray(i,!1)&&t.push.apply(t,i.map((function(e){return{item:e,priority:1}})));var a=W(t,null==n?void 0:n.filter(function(e){return function(n){var t=e.toLowerCase().replace(/\s/g,""),i=n.name.toLowerCase().replace(/\s/g,"");return new RegExp(t).test(i)}}(e)));u.isValidArray(a,!1)&&t.push.apply(t,a.map((function(e){return{item:e,priority:2}})));var r=W(t,null==n?void 0:n.filter(function(e){return function(n){if(!u.isValidArray(n.facts,!1))return!1;var t=e.toLowerCase().replace(/\s/g,""),i=new RegExp(t);return!!n.facts.find((function(e){var n=e.toLowerCase().replace(/\s/g,"");return i.test(n)}))}}(e)));u.isValidArray(r,!1)&&t.push.apply(t,r.map((function(e){return{item:e,priority:3}})));var o=W(t,null==n?void 0:n.filter(function(e){return function(n){if(!u.isValidArray(null==n?void 0:n.infos,!1))return!1;var t=e.toLowerCase().replace(/\s/g,""),i=new RegExp(t);return!!n.infos.find((function(e){if(!e.text)return!1;var n=e.text.toLowerCase().replace(/\s/g,"");return i.test(n)}))}}(e)));u.isValidArray(o,!1)&&t.push.apply(t,o.map((function(e){return{item:e,priority:4}})));var l=W(t,null==n?void 0:n.filter(function(e){return function(n){if(!n.shortDescription)return!1;var t=e.toLowerCase().replace(/\s/g,""),i=n.shortDescription.toLowerCase().replace(/\s/g,"");return new RegExp(t).test(i)}}(e)));return u.isValidArray(l,!1)&&t.push.apply(t,l.map((function(e){return{item:e,priority:5}}))),t},Q=l.withLibTheme((function(t){var a,r=t.anchorId,o=t.bgMode,s=t.pois,c=t.enableFiltering,u=t.initialFilterQuery,p=t.filterPlaceholder,v=void 0===p?"Filter":p,b=t.filterSubmitIcon,x=t.filterClearIcon,w=l.useLibTheme(),y=w.colors,_=w.globals.sections.poiFilterName,C="inverted"===o,I="full"===o,k=n.useState(u||""),E=k[0],j=k[1],M=g.useMounted(),O=S.default.useMemo((function(){for(var n=E.split(" ").map((function(e){return e.trim()})),t=[],i=0,a=n;i<a.length;i++)for(var r=a[i],o=function(e){var n=t.findIndex((function(n){return n.match.item.id===e.item.id}));-1!==n?t[n].intersections+=1:t.push({match:e,intersections:1})},l=0,c=Z(f.escapeRegExp(r),s||[]);l<c.length;l++){o(c[l])}return t.filter((function(e){return e.intersections>=n.length})).map((function(n){return e.__assign({},n.match)}))}),[E,s]),P=n.useCallback((function(){return h.getUrlParams()[_]}),[_]);return n.useEffect((function(){var e=P();null!=e&&"string"==typeof e&&j(e)}),[P]),n.useEffect((function(){M||(E?h.setUrlParam(_,E):h.deleteUrlParam(_))}),[_,E,M]),m.useUpdateEffect((function(){E?h.setUrlParam(_,E):h.deleteUrlParam(_)}),[E]),S.default.createElement(i.Section,{addSeperation:!0,anchorId:r,bgColor:C?y.sectionBg.dark:I?y.sectionBg.medium:y.sectionBg.light,bgMode:i.mapToBgMode(o,!0)},S.default.createElement(i.Wrapper,{addWhitespace:!0},c&&S.default.createElement(U,{value:E,initialValue:u,placeholder:v,onSubmit:j,submitIcon:b,clearIcon:x,isInverted:C}),S.default.createElement(H,null,null===(a=null==O?void 0:O.sort((function(e,n){return e.priority-n.priority})))||void 0===a?void 0:a.map((function(n,t){return S.default.createElement(d.POICard,e.__assign({key:t},n.item,{isInverted:C}))})))))})),J=A.default(i.Section).withConfig({displayName:"PointOfInterestMap__PoiMapSection",componentId:"sc-1ke8oz0-0"})(O||(O=e.__makeTemplateObject(["\n position: relative;\n ","\n\n header + & {\n ","\n ","\n }\n"],["\n position: relative;\n ","\n\n header + & {\n ","\n ","\n }\n"])),(function(n){return n.isLarge&&t.css(M||(M=e.__makeTemplateObject(["\n // Doing some crazy shit to calculate curent navbar height in CSS\n ","\n"],["\n // Doing some crazy shit to calculate curent navbar height in CSS\n ","\n"])),(function(n){var i=n.theme,a=b.generateNavbarIdent({pageFlow:"beforeContent",hasMain:!0}),r=b.generateNavbarIdent({pageFlow:"beforeContent",hasMain:!0,hasTop:!0}),l=b.generateNavbarIdent({pageFlow:"beforeContent",hasMain:!0,hasBottom:!0}),s=b.generateNavbarIdent({pageFlow:"beforeContent",hasTop:!0,hasMain:!0,hasBottom:!0}),c=b.getFullNavbarHeights(i,a).large,d=b.getFullNavbarHeights(i,r).large,u=b.getFullNavbarHeights(i,l).large,p=b.getFullNavbarHeights(i,s).large,m=function(e){return e.map((function(e){return"[data-navbar-ident*='".concat(e,"']")})).join("")},f="100vh";return t.css(j||(j=e.__makeTemplateObject(["\n "," {\n height: ",";\n }\n\n // with main navbar element\n header"," ~ & {\n "," {\n height: calc("," - ","px);\n }\n }\n\n // with main and top navbar elements\n header"," ~ & {\n "," {\n height: calc("," - ","px);\n }\n }\n\n // with main and bottom navbar elements\n header"," ~ & {\n "," {\n height: calc("," - ","px);\n }\n }\n\n // with all navbar elements\n header"," ~ & {\n "," {\n height: calc("," - ","px);\n }\n }\n\n @media "," {\n // with main navbar element\n header"," ~ & {\n "," {\n height: calc("," - ","px);\n }\n }\n\n // with main and top navbar elements\n header"," ~ & {\n "," {\n height: calc("," - ","px);\n }\n }\n\n // with main and bottom navbar elements\n header"," ~ & {\n "," {\n height: calc(\n "," - ","px\n );\n }\n }\n\n // with all navbar elements\n header"," ~ & {\n "," {\n height: calc("," - ","px);\n }\n }\n }\n "],["\n "," {\n height: ",";\n }\n\n // with main navbar element\n header"," ~ & {\n "," {\n height: calc("," - ","px);\n }\n }\n\n // with main and top navbar elements\n header"," ~ & {\n "," {\n height: calc("," - ","px);\n }\n }\n\n // with main and bottom navbar elements\n header"," ~ & {\n "," {\n height: calc("," - ","px);\n }\n }\n\n // with all navbar elements\n header"," ~ & {\n "," {\n height: calc("," - ","px);\n }\n }\n\n @media "," {\n // with main navbar element\n header"," ~ & {\n "," {\n height: calc("," - ","px);\n }\n }\n\n // with main and top navbar elements\n header"," ~ & {\n "," {\n height: calc("," - ","px);\n }\n }\n\n // with main and bottom navbar elements\n header"," ~ & {\n "," {\n height: calc(\n "," - ","px\n );\n }\n }\n\n // with all navbar elements\n header"," ~ & {\n "," {\n height: calc("," - ","px);\n }\n }\n }\n "])),X,f,m(a.split("-")),X,f,c[0],m(r.split("-")),X,f,d[0],m(l.split("-")),X,f,u[0],m(s.split("-")),X,f,p[0],o.mq.semilarge,m(a.split("-")),X,f,c[1],m(r.split("-")),X,f,d[1],m(l.split("-")),X,f,u[1],m(s.split("-")),X,f,p[1])}))}),o.withRange([0],"padding-top"),o.withRange([0],"margin-top")),K=A.default.div.withConfig({displayName:"PointOfInterestMap__MapContainer",componentId:"sc-1ke8oz0-1"})(P||(P=e.__makeTemplateObject(["\n position: relative;\n"],["\n position: relative;\n"]))),X=A.default.div.withConfig({displayName:"PointOfInterestMap__Map",componentId:"sc-1ke8oz0-2"})(T||(T=e.__makeTemplateObject(["\n min-height: 360px;\n height: 360px;\n max-height: 1300px;\n z-index: 0;\n\n @media "," {\n height: 600px;\n min-height: 600px;\n }\n"],["\n min-height: 360px;\n height: 360px;\n max-height: 1300px;\n z-index: 0;\n\n @media "," {\n height: 600px;\n min-height: 600px;\n }\n"])),o.mq.medium),Y=A.default.button.withConfig({displayName:"PointOfInterestMap__RequestGeolocationBtn",componentId:"sc-1ke8oz0-3"})(q||(q=e.__makeTemplateObject(["\n position: absolute;\n top: ","px;\n left: ","px;\n\n background-color: transparent;\n border: none;\n padding: ","px;\n cursor: pointer;\n\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n opacity: 0.6;\n }\n }\n\n &:focus {\n outline: 2px solid ",";\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n\n & > * {\n width: 30px;\n height: 30px;\n }\n"],["\n position: absolute;\n top: ","px;\n left: ","px;\n\n background-color: transparent;\n border: none;\n padding: ","px;\n cursor: pointer;\n\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n opacity: 0.6;\n }\n }\n\n &:focus {\n outline: 2px solid ",";\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n\n & > * {\n width: 30px;\n height: 30px;\n }\n"])),2*o.spacings.nudge,2*o.spacings.nudge,o.spacings.nudge,(function(e){var n=e.theme;return o.getColors(n).primary.default})),$=A.default.div.withConfig({displayName:"PointOfInterestMap__CardStage",componentId:"sc-1ke8oz0-4"})(L||(L=e.__makeTemplateObject(["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 10;\n\n display: flex;\n align-items: flex-end;\n justify-content: flex-end;\n\n pointer-events: all;\n background-color: rgba(255, 255, 255, 0.8);\n\n @media "," {\n position: absolute;\n background-color: transparent;\n padding: ","px;\n padding-bottom: ","px;\n\n pointer-events: none;\n }\n"],["\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 10;\n\n display: flex;\n align-items: flex-end;\n justify-content: flex-end;\n\n pointer-events: all;\n background-color: rgba(255, 255, 255, 0.8);\n\n @media "," {\n position: absolute;\n background-color: transparent;\n padding: ","px;\n padding-bottom: ","px;\n\n pointer-events: none;\n }\n"])),o.mq.medium,2*o.spacings.nudge,3*o.spacings.nudge),ee=A.default.div.withConfig({displayName:"PointOfInterestMap__MapCardView",componentId:"sc-1ke8oz0-5"})(z||(z=e.__makeTemplateObject(["\n max-height: 100%;\n width: 100%;\n padding: ","px;\n overflow: auto;\n\n background: ",";\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);\n pointer-events: all;\n border-radius: 8px;\n\n & > * + * {\n margin-top: ","px;\n }\n\n @media "," {\n max-width: 400px;\n }\n"],["\n max-height: 100%;\n width: 100%;\n padding: ","px;\n overflow: auto;\n\n background: ",";\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);\n pointer-events: all;\n border-radius: 8px;\n\n & > * + * {\n margin-top: ","px;\n }\n\n @media "," {\n max-width: 400px;\n }\n"])),2*o.spacings.nudge,(function(e){var n=e.theme;return o.getColors(n).elementBg.light}),3*o.spacings.nudge,o.mq.medium),ne=A.default.header.withConfig({displayName:"PointOfInterestMap__MapCardHeader",componentId:"sc-1ke8oz0-6"})(F||(F=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),te=A.default.button.withConfig({displayName:"PointOfInterestMap__CloseBtn",componentId:"sc-1ke8oz0-7"})(N||(N=e.__makeTemplateObject(["\n display: inline-block;\n border: none;\n background-color: transparent;\n cursor: pointer;\n margin-left: auto;\n padding: ","px;\n\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n opacity: 0.6;\n }\n }\n\n &:focus {\n outline: 2px solid ",";\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n"],["\n display: inline-block;\n border: none;\n background-color: transparent;\n cursor: pointer;\n margin-left: auto;\n padding: ","px;\n\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n opacity: 0.6;\n }\n }\n\n &:focus {\n outline: 2px solid ",";\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n"])),o.spacings.nudge,(function(e){var n=e.theme;return o.getColors(n).primary.default})),ie=function(n){var t=n.name,i=n.facts,a=n.description,o=n.infos,s=n.action,p=n.customFact,m=n.customClose,f=n.onClose,g=n.className,h=l.useLibTheme().colors;return S.default.createElement(ee,{className:g},S.default.createElement(ne,null,t&&S.default.createElement(r.Copy,{type:"copy-b",size:"big"},t),S.default.createElement(te,{onClick:f},m||S.default.createElement(e.Cross,{iconColor:h.text.default}))),u.isValidArray(i,!1)&&S.default.createElement(d.POIFacts,{facts:i,customFact:p}),a&&S.default.createElement(r.Copy,{type:"copy",size:"small",innerHTML:a}),u.isValidArray(o,!1)&&S.default.createElement(c.InfoList,{items:[{items:o}]}),s&&s)},ae=l.withLibTheme((function(t){var a=t.anchorId,r=t.size,s=t.pois,c=t.initialPointOfInterest,d=void 0===c?"":c,u=t.provider,p=t.attribution,m=t.center,f=void 0===m?[51.505,-.09]:m,g=t.zoom,h=void 0===g?5:g,b=t.fitBoundsPadding,w=t.allMarkersOnInit,y=void 0!==w&&w,_=t.restrictToMarkersArea,C=void 0===_||_,I=t.showOwnPosition,k=t.flyToZoom,E=t.customFact,j=t.currentPosMarker,M=t.customCardClose,O=t.customLocationRequest,P="large"===r,T=l.useLibTheme().colors,q=n.useState(d||""),L=q[0],z=q[1],F=n.useState(!1),N=F[0],A=F[1],V=n.useMemo((function(){return null==s?void 0:s.find((function(e){return e.id===L}))}),[L,s]),B=x.useGeolocation(!0,!1),R=B.isSupported,D=B.location,G=B.reset,H=n.useMemo((function(){var n,t={size:[28,28],anchor:[14,28],sizeActive:[70,70],anchorActive:[35,70],url:o.getSVGDataImg(S.default.createElement(e.LocationPin,null))},i={size:[24,24],anchor:[12,12],sizeActive:[24,24],anchorActive:[12,12],url:o.getSVGDataImg(S.default.createElement(e.CurrentLocation,{iconColor:"#5383EC"}))},a=(null===(n=null==s?void 0:s.filter((function(e){return void 0!==e.id})))||void 0===n?void 0:n.map((function(e){return{id:e.id,position:e.position,icon:e.icon||t,isInteractive:!0}})))||[];return R&&(null==D?void 0:D.coords.latitude)&&(null==D?void 0:D.coords.longitude)&&a.push({id:"my-current-position-123456789",position:[D.coords.latitude,D.coords.longitude],icon:j||i}),a}),[j,R,null==D?void 0:D.coords.latitude,null==D?void 0:D.coords.longitude,s]),U=v.useLeafletMap({url:u,attribution:p,center:f,zoom:h,activeMarkerId:L,markers:H,fitBoundsPadding:b,restrictToMarkersArea:C,showZoomControls:!0,zoomControlPosition:"bottomleft",onMarkerClick:function(e){z((function(n){return n===e?"":e}))}}),W=U.isLoaded,Z=U.setContainer,Q=U.flyToActive,ee=U.showAllMarkers,ne=U.flyToPosition,te=U.getCurrentZoom;n.useEffect((function(){if(W&&!N)y&&ee();else{var e=te(),n=k;void 0!==k&&e>k&&(n=e),Q(n)}}),[L,y,Q,k,te,d,N,W,ee]),n.useEffect((function(){N||L===d||A(!0)}),[L,d,N]);return S.default.createElement(J,{anchorId:a,bgColor:"image",bgMode:"full",isLarge:P},S.default.createElement(i.Wrapper,{clampWidth:P?"large":"normal"},S.default.createElement(K,null,S.default.createElement(X,{ref:Z,isLarge:"large"===r}),I&&S.default.createElement(Y,{onClick:function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n,t,i,a;return e.__generator(this,(function(e){switch(e.label){case 0:return(null===(i=null==D?void 0:D.coords)||void 0===i?void 0:i.latitude)&&(null===(a=null==D?void 0:D.coords)||void 0===a?void 0:a.longitude)?(n=te(),t=k,void 0!==k&&n>k&&(t=n),ne([D.coords.latitude,D.coords.longitude],t),[3,4]):[3,1];case 1:return e.trys.push([1,3,,4]),[4,G()];case 2:return e.sent()&&ee(),[3,4];case 3:return e.sent(),[3,4];case 4:return[2]}}))}))}},O||S.default.createElement(e.MyLocation,{iconColor:T.text.default})),V&&V.name&&S.default.createElement($,{onClick:function(e){e.target===e.currentTarget&&z("")}},S.default.createElement(ie,e.__assign({},V,{onClose:function(){return z("")},customFact:E,customClose:M}))))))}));exports.PointOfInterestDetail=G,exports.PointOfInterestMap=ae,exports.PointOfInterestOverview=Q;
2
- //# sourceMappingURL=sections_pois.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sections_pois.js","sources":["../src/components/sections/pois/PointOfInterestDetail.tsx","../src/components/sections/pois/PointOfInterestOverview.tsx","../src/components/sections/pois/PointOfInterestMap.tsx"],"sourcesContent":["import React, { useMemo } from 'react';\nimport styled from 'styled-components';\n\nimport Section, { mapToBgMode } from 'components/base/Section';\nimport Wrapper from 'components/base/Wrapper';\nimport Image, { ImageProps } from 'components/blocks/Image';\nimport Copy from 'components/typography/Copy';\nimport Heading from 'components/typography/Heading';\nimport { spacings } from 'utils/styles';\nimport { useLibTheme, withLibTheme } from 'utils/LibThemeProvider';\nimport Grid from 'components/base/Grid';\nimport InfoList, { InfoGroup } from 'components/blocks/InfoList';\nimport POIFacts from 'components/blocks/POIFacts';\nimport { isValidArray } from 'utils/arrays';\n\nconst StyledImage = styled(Image)`\n &:not(:last-child) {\n margin-bottom: ${spacings.spacer}px;\n }\n`;\n\nconst Facts = styled(POIFacts)`\n max-width: 880px;\n`;\n\nconst PoiTitle = styled(Heading)`\n max-width: 880px;\n\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2; /* number of lines to show */\n line-clamp: 2;\n -webkit-box-orient: vertical;\n\n &:not(:first-child) {\n margin-top: ${spacings.nudge * 3}px;\n }\n`;\n\nconst PoiText = styled(Copy)`\n max-width: 880px;\n\n &:not(:first-child) {\n margin-top: ${spacings.nudge * 3}px;\n }\n`;\n\nconst PointOfInterestDetail: React.FC<{\n /** ID value for targeting section with anchor hashes */\n anchorId?: string;\n\n /** POI image */\n image?: Omit<ImageProps, 'coverSpace'>;\n\n /** POI title */\n title?: string;\n\n /** POI intro text */\n intro?: string;\n\n /** POI text (richtext) */\n text?: string;\n\n /** Array of POI facts */\n facts?: string[];\n\n /** Additional POI infos */\n infos?: InfoGroup[];\n\n /** Section background */\n bgMode?: 'inverted' | 'full';\n\n /** Function to inject custom feature node */\n customFact?: (props: {\n key: React.Key;\n name: string;\n isInverted?: boolean;\n }) => React.ReactNode;\n}> = ({\n anchorId,\n image,\n title,\n intro,\n text,\n facts,\n infos,\n bgMode,\n customFact,\n}) => {\n const { colors } = useLibTheme();\n const isInverted = bgMode === 'inverted';\n const hasBg = bgMode === 'full';\n const hasInfos = useMemo(() => {\n return isValidArray(\n infos?.filter((info) => isValidArray(info.items, false)),\n false\n );\n }, [infos]);\n\n return (\n <Section\n addSeperation\n anchorId={anchorId}\n bgColor={\n isInverted\n ? colors.sectionBg.dark\n : hasBg\n ? colors.sectionBg.medium\n : colors.sectionBg.light\n }\n bgMode={mapToBgMode(bgMode, true)}\n >\n <Wrapper addWhitespace>\n {image?.small && (\n <StyledImage\n {...image}\n coverSpace\n allowEdgeRadius\n isInverted={isInverted}\n />\n )}\n <Grid.Row\n gutter={spacings.nudge * 5}\n semilarge={{ gutter: spacings.spacer }}\n >\n <Grid.Col semilarge={{ span: hasInfos ? 5.7 / 8 : 1 }}>\n {title && (\n <PoiTitle size=\"heading-2\" isInverted={isInverted}>\n {title}\n </PoiTitle>\n )}\n {isValidArray(facts, false) && (\n <Facts\n isInverted={isInverted}\n facts={facts}\n customFact={customFact}\n />\n )}\n {intro && (\n <PoiText\n size=\"medium\"\n type=\"copy-b\"\n isInverted={isInverted}\n innerHTML={intro}\n />\n )}\n {text && (\n <PoiText\n size=\"medium\"\n isInverted={isInverted}\n innerHTML={text}\n />\n )}\n </Grid.Col>\n {hasInfos && (\n <Grid.Col semilarge={{ span: 2.3 / 8 }}>\n <InfoList isInverted={isInverted} items={infos} />\n </Grid.Col>\n )}\n </Grid.Row>\n </Wrapper>\n </Section>\n );\n};\n\nexport const PointOfInterestDetailComponent = PointOfInterestDetail;\nexport default withLibTheme(PointOfInterestDetail);\n","import Section, { mapToBgMode } from 'components/base/Section';\nimport Wrapper from 'components/base/Wrapper';\nimport { Info } from 'components/blocks/InfoList';\nimport POICard, { POICardProps } from 'components/blocks/POICard';\nimport FilterField from 'components/fields/FilterField';\nimport useUpdateEffect from 'utils/useUpdateEffect';\nimport React, { useCallback, useEffect, useState } from 'react';\nimport styled from 'styled-components';\nimport { isValidArray } from 'utils/arrays';\nimport { useLibTheme, withLibTheme } from 'utils/LibThemeProvider';\nimport { mq, spacings } from 'utils/styles';\nimport { escapeRegExp } from 'utils/escape';\nimport useMounted from 'utils/useMounted';\nimport { deleteUrlParam, getUrlParams, setUrlParam } from 'utils/urlParams';\n\nconst Content = styled.div`\n & > * + * {\n margin-top: ${spacings.nudge * 5}px;\n }\n\n @media ${mq.large} {\n & > * + * {\n margin-top: ${spacings.nudge * 3}px;\n }\n }\n`;\n\nconst Filter = styled(FilterField)`\n // margin to show prevent section overflow outline\n margin-top: 2px;\n\n &:not(:last-child) {\n margin-bottom: ${spacings.nudge * 5}px;\n }\n`;\n\nconst poiExactNameFilter =\n (filterQuery: string) => (value: PointOfInterestOverviewItem) => {\n const regex = new RegExp(filterQuery);\n return regex.test(value.name);\n };\n\nconst poiSoftNameFilter =\n (filterQuery: string) => (value: PointOfInterestOverviewItem) => {\n const preparedQuery = filterQuery.toLowerCase().replace(/\\s/g, '');\n const preparedName = value.name.toLowerCase().replace(/\\s/g, '');\n\n const regex = new RegExp(preparedQuery);\n return regex.test(preparedName);\n };\n\nconst poiFactFilter =\n (filterQuery: string) => (value: PointOfInterestOverviewItem) => {\n if (!isValidArray(value.facts, false)) return false;\n\n const preparedQuery = filterQuery.toLowerCase().replace(/\\s/g, '');\n const regex = new RegExp(preparedQuery);\n\n const result = value.facts.find((fact) => {\n const preparedFact = fact.toLowerCase().replace(/\\s/g, '');\n return regex.test(preparedFact);\n });\n\n return !!result;\n };\n\nconst poiInfoFilter =\n (filterQuery: string) => (value: PointOfInterestOverviewItem) => {\n if (!isValidArray(value?.infos, false)) return false;\n\n const preparedQuery = filterQuery.toLowerCase().replace(/\\s/g, '');\n const regex = new RegExp(preparedQuery);\n\n return !!value.infos.find((info) => {\n if (!info.text) return false;\n const preparedText = info.text.toLowerCase().replace(/\\s/g, '');\n return regex.test(preparedText);\n });\n };\n\nconst poiDescriptionFilter =\n (filterQuery: string) => (value: PointOfInterestOverviewItem) => {\n if (!value.shortDescription) return false;\n\n const preparedQuery = filterQuery.toLowerCase().replace(/\\s/g, '');\n const preparedDesc = value.shortDescription\n .toLowerCase()\n .replace(/\\s/g, '');\n\n const regex = new RegExp(preparedQuery);\n return regex.test(preparedDesc);\n };\n\nconst removeMatchIntersections = (\n array: FilterMatch[],\n item?: PointOfInterestOverviewItem[]\n) => {\n if (!item) return [];\n return item?.filter(\n (m) => !array.find((prioItem) => prioItem.item.id === m.id)\n );\n};\n\nconst filterPois = (\n filterQuery: string,\n pois: PointOfInterestOverviewItem[]\n) => {\n const prioList: FilterMatch[] = [];\n if (\n !isValidArray(\n pois?.filter((poi) => poi.id !== undefined),\n false\n )\n ) {\n return prioList;\n }\n\n // PRIO 1 Filter: Exact name\n const exactNameMatches = pois?.filter(poiExactNameFilter(filterQuery));\n if (isValidArray(exactNameMatches, false)) {\n prioList.push(\n ...exactNameMatches.map((match) => ({\n item: match,\n priority: 1,\n }))\n );\n }\n\n // PRIO 2 Filter: Name\n const nameMatches = removeMatchIntersections(\n prioList,\n pois?.filter(poiSoftNameFilter(filterQuery))\n );\n\n if (isValidArray(nameMatches, false)) {\n prioList.push(\n ...nameMatches.map((match) => ({\n item: match,\n priority: 2,\n }))\n );\n }\n\n // PRIO 3 Filter: Facts\n const factMatches = removeMatchIntersections(\n prioList,\n pois?.filter(poiFactFilter(filterQuery))\n );\n\n if (isValidArray(factMatches, false)) {\n prioList.push(\n ...factMatches.map((match) => ({\n item: match,\n priority: 3,\n }))\n );\n }\n\n // PRIO 4 Filter: Description\n const infoMatches = removeMatchIntersections(\n prioList,\n pois?.filter(poiInfoFilter(filterQuery))\n );\n\n if (isValidArray(infoMatches, false)) {\n prioList.push(\n ...infoMatches.map((match) => ({\n item: match,\n priority: 4,\n }))\n );\n }\n\n // PRIO 5 Filter: Description\n const descMatches = removeMatchIntersections(\n prioList,\n pois?.filter(poiDescriptionFilter(filterQuery))\n );\n\n if (isValidArray(descMatches, false)) {\n prioList.push(\n ...descMatches.map((match) => ({\n item: match,\n priority: 5,\n }))\n );\n }\n\n return prioList;\n};\n\ninterface CardProps extends POICardProps {\n id: string;\n infos?: Array<Info & { allowFiltering?: boolean }>;\n}\n\nexport type PointOfInterestOverviewItem = Omit<CardProps, 'isInverted'>;\n\ninterface FilterMatch {\n item: PointOfInterestOverviewItem;\n priority: number;\n}\n\nconst PointOfInterestOverview: React.FC<{\n /** ID value for targeting section with anchor hashes */\n anchorId?: string;\n\n /** Array of POI card settings */\n pois?: PointOfInterestOverviewItem[];\n\n /** Enable/Disable filtering */\n enableFiltering?: boolean;\n\n /** Initial filter query on component render */\n initialFilterQuery?: string;\n\n /** Placeholder for filter input */\n filterPlaceholder?: string;\n\n /** Injection function for filter submit icon */\n filterSubmitIcon?: (isInverted?: boolean) => React.ReactNode;\n\n /** Injection function for filter reset icon */\n filterClearIcon?: (isInverted?: boolean) => React.ReactNode;\n\n /** Section background */\n bgMode?: 'full' | 'inverted';\n}> = ({\n anchorId,\n bgMode,\n pois,\n enableFiltering,\n initialFilterQuery,\n filterPlaceholder = 'Filter',\n filterSubmitIcon,\n filterClearIcon,\n}) => {\n const { colors, globals } = useLibTheme();\n const filterName = globals.sections.poiFilterName;\n\n const isInverted = bgMode === 'inverted';\n const hasBg = bgMode === 'full';\n\n const [filterQuery, setFilterQuery] = useState<string>(\n initialFilterQuery || ''\n );\n const isMounted = useMounted();\n\n const poiMatches: FilterMatch[] = React.useMemo(() => {\n const queryParts = filterQuery.split(' ').map((part) => part.trim());\n const searchMatches: Array<{\n match: FilterMatch;\n intersections: number;\n }> = [];\n\n // tracking matches of each query part\n for (const part of queryParts) {\n const matches = filterPois(escapeRegExp(part), pois || []);\n\n for (const match of matches) {\n const intersectionIndex = searchMatches.findIndex(\n (sItem) => sItem.match.item.id === match.item.id\n );\n\n if (intersectionIndex !== -1) {\n searchMatches[intersectionIndex].intersections += 1;\n } else {\n searchMatches.push({\n match,\n intersections: 1,\n });\n }\n }\n }\n\n // filter search matches by intersections so only matches with results for all search parts are shown\n return searchMatches\n .filter((m) => m.intersections >= queryParts.length)\n .map<FilterMatch>((m) => ({\n ...m.match,\n }));\n }, [filterQuery, pois]);\n\n const getFilter = useCallback(() => {\n return getUrlParams()[filterName];\n }, [filterName]);\n\n useEffect(() => {\n const urlFilter = getFilter();\n\n if (\n urlFilter !== undefined &&\n urlFilter !== null &&\n typeof urlFilter === 'string'\n ) {\n setFilterQuery(urlFilter);\n }\n }, [getFilter]);\n\n useEffect(() => {\n if (isMounted) return;\n\n // set inital data into URL\n if (filterQuery) {\n setUrlParam(filterName, filterQuery);\n } else {\n deleteUrlParam(filterName);\n }\n }, [filterName, filterQuery, isMounted]);\n\n useUpdateEffect(() => {\n // set filters to URL params\n if (filterQuery) {\n setUrlParam(filterName, filterQuery);\n } else {\n deleteUrlParam(filterName);\n }\n }, [filterQuery]);\n\n return (\n <Section\n addSeperation\n anchorId={anchorId}\n bgColor={\n isInverted\n ? colors.sectionBg.dark\n : hasBg\n ? colors.sectionBg.medium\n : colors.sectionBg.light\n }\n bgMode={mapToBgMode(bgMode, true)}\n >\n <Wrapper addWhitespace>\n {enableFiltering && (\n <Filter\n value={filterQuery}\n initialValue={initialFilterQuery}\n placeholder={filterPlaceholder}\n onSubmit={setFilterQuery}\n submitIcon={filterSubmitIcon}\n clearIcon={filterClearIcon}\n isInverted={isInverted}\n />\n )}\n <Content>\n {poiMatches\n ?.sort((a, b) => a.priority - b.priority)\n ?.map((poi, i) => (\n <POICard\n key={i}\n {...poi.item}\n isInverted={isInverted}\n />\n ))}\n </Content>\n </Wrapper>\n </Section>\n );\n};\n\nexport const PointOfInterestOverviewComponent = PointOfInterestOverview;\nexport default withLibTheme(PointOfInterestOverview);\n","import React, { FC, useEffect, useMemo, useState } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport Section from 'components/base/Section';\nimport Wrapper from 'components/base/Wrapper';\nimport { useLibTheme, withLibTheme } from 'utils/LibThemeProvider';\nimport useLeafletMap, { LeafletMapMarker } from 'utils/useLeafletMap';\nimport { mq, withRange, getColors as color, spacings } from 'utils/styles';\nimport {\n generateNavbarIdent as genIdent,\n getFullNavbarHeights as getNavHeight,\n} from '../navigation/Navigation';\nimport { getSVGDataImg as getSVGData } from 'utils/dataURI';\nimport LocationPin from 'components/base/icons/LocationPin';\nimport Copy from 'components/typography/Copy';\nimport { isValidArray } from 'utils/arrays';\nimport POIFacts from 'components/blocks/POIFacts';\nimport InfoList, { Info } from 'components/blocks/InfoList';\nimport useGeolocation from 'utils/useGeolocation';\nimport CurrentLocation from 'components/base/icons/CurrentLocation';\nimport Cross from 'components/base/icons/Cross';\nimport MyLocation from 'components/base/icons/MyLocation';\n\nconst genHeightStyles = () => css`\n // Doing some crazy shit to calculate curent navbar height in CSS\n ${({ theme }) => {\n // navbar main only\n const mainIdent = genIdent({\n pageFlow: 'beforeContent',\n hasMain: true,\n });\n\n // navbar main and top\n const mainTopIdent = genIdent({\n pageFlow: 'beforeContent',\n hasMain: true,\n hasTop: true,\n });\n\n // navbar main and bottom\n const mainBottomIdent = genIdent({\n pageFlow: 'beforeContent',\n hasMain: true,\n hasBottom: true,\n });\n\n // full navbar with all bars\n const fullIdent = genIdent({\n pageFlow: 'beforeContent',\n hasTop: true,\n hasMain: true,\n hasBottom: true,\n });\n\n const navMainHeight = getNavHeight(theme, mainIdent).large;\n const navMainTopHeight = getNavHeight(theme, mainTopIdent).large;\n const navMainBottomHeight = getNavHeight(theme, mainBottomIdent).large;\n const navFullHeight = getNavHeight(theme, fullIdent).large;\n\n const mapToSelector = (idents: string[]) => {\n return idents.map((id) => `[data-navbar-ident*='${id}']`).join('');\n };\n\n const refHeight = '100vh';\n\n return css`\n ${Map} {\n height: ${refHeight};\n }\n\n // with main navbar element\n header${mapToSelector(mainIdent.split('-'))} ~ & {\n ${Map} {\n height: calc(${refHeight} - ${navMainHeight[0]}px);\n }\n }\n\n // with main and top navbar elements\n header${mapToSelector(mainTopIdent.split('-'))} ~ & {\n ${Map} {\n height: calc(${refHeight} - ${navMainTopHeight[0]}px);\n }\n }\n\n // with main and bottom navbar elements\n header${mapToSelector(mainBottomIdent.split('-'))} ~ & {\n ${Map} {\n height: calc(${refHeight} - ${navMainBottomHeight[0]}px);\n }\n }\n\n // with all navbar elements\n header${mapToSelector(fullIdent.split('-'))} ~ & {\n ${Map} {\n height: calc(${refHeight} - ${navFullHeight[0]}px);\n }\n }\n\n @media ${mq.semilarge} {\n // with main navbar element\n header${mapToSelector(mainIdent.split('-'))} ~ & {\n ${Map} {\n height: calc(${refHeight} - ${navMainHeight[1]}px);\n }\n }\n\n // with main and top navbar elements\n header${mapToSelector(mainTopIdent.split('-'))} ~ & {\n ${Map} {\n height: calc(${refHeight} - ${navMainTopHeight[1]}px);\n }\n }\n\n // with main and bottom navbar elements\n header${mapToSelector(mainBottomIdent.split('-'))} ~ & {\n ${Map} {\n height: calc(\n ${refHeight} - ${navMainBottomHeight[1]}px\n );\n }\n }\n\n // with all navbar elements\n header${mapToSelector(fullIdent.split('-'))} ~ & {\n ${Map} {\n height: calc(${refHeight} - ${navFullHeight[1]}px);\n }\n }\n }\n `;\n }}\n`;\n\nconst PoiMapSection = styled(Section)<{ isLarge?: boolean }>`\n position: relative;\n ${({ isLarge }) => isLarge && genHeightStyles()}\n\n header + & {\n ${withRange([0], 'padding-top')}\n ${withRange([0], 'margin-top')}\n }\n`;\n\nconst MapContainer = styled.div`\n position: relative;\n`;\n\nconst Map = styled.div<{ isLarge?: boolean }>`\n min-height: 360px;\n height: 360px;\n max-height: 1300px;\n z-index: 0;\n\n @media ${mq.medium} {\n height: 600px;\n min-height: 600px;\n }\n`;\n\nconst RequestGeolocationBtn = styled.button`\n position: absolute;\n top: ${spacings.nudge * 2}px;\n left: ${spacings.nudge * 2}px;\n\n background-color: transparent;\n border: none;\n padding: ${spacings.nudge}px;\n cursor: pointer;\n\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n opacity: 0.6;\n }\n }\n\n &:focus {\n outline: 2px solid ${({ theme }) => color(theme).primary.default};\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n\n & > * {\n width: 30px;\n height: 30px;\n }\n`;\n\nconst CardStage = styled.div`\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 10;\n\n display: flex;\n align-items: flex-end;\n justify-content: flex-end;\n\n pointer-events: all;\n background-color: rgba(255, 255, 255, 0.8);\n\n @media ${mq.medium} {\n position: absolute;\n background-color: transparent;\n padding: ${spacings.nudge * 2}px;\n padding-bottom: ${spacings.nudge * 3}px;\n\n pointer-events: none;\n }\n`;\n\nconst MapCardView = styled.div`\n max-height: 100%;\n width: 100%;\n padding: ${spacings.nudge * 2}px;\n overflow: auto;\n\n background: ${({ theme }) => color(theme).elementBg.light};\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);\n pointer-events: all;\n border-radius: 8px;\n\n & > * + * {\n margin-top: ${spacings.nudge * 3}px;\n }\n\n @media ${mq.medium} {\n max-width: 400px;\n }\n`;\n\nconst MapCardHeader = styled.header`\n display: flex;\n align-items: center;\n`;\n\nconst CloseBtn = styled.button`\n display: inline-block;\n border: none;\n background-color: transparent;\n cursor: pointer;\n margin-left: auto;\n padding: ${spacings.nudge}px;\n\n transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;\n\n @media (hover: hover) and (pointer: fine) {\n &:hover {\n opacity: 0.6;\n }\n }\n\n &:focus {\n outline: 2px solid ${({ theme }) => color(theme).primary.default};\n transform: scale(1.012);\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &:active {\n transform: scale(0.95);\n }\n`;\n\nconst MapCard: FC<{\n name?: string;\n facts?: string[];\n description?: string;\n infos?: Info[];\n\n action?: React.ReactNode;\n onClose?: () => void;\n customFact?: (props: { key: React.Key; name: string }) => React.ReactNode;\n customClose?: React.ReactNode;\n\n className?: string;\n}> = ({\n name,\n facts,\n description,\n infos,\n action,\n customFact,\n customClose,\n onClose,\n className,\n}) => {\n const { colors } = useLibTheme();\n\n return (\n <MapCardView className={className}>\n <MapCardHeader>\n {name && (\n <Copy type=\"copy-b\" size=\"big\">\n {name}\n </Copy>\n )}\n <CloseBtn onClick={onClose}>\n {customClose || <Cross iconColor={colors.text.default} />}\n </CloseBtn>\n </MapCardHeader>\n {isValidArray(facts, false) && (\n <POIFacts facts={facts} customFact={customFact} />\n )}\n {description && (\n <Copy type=\"copy\" size=\"small\" innerHTML={description} />\n )}\n {isValidArray(infos, false) && (\n <InfoList\n items={[\n {\n items: infos,\n },\n ]}\n />\n )}\n {action && action}\n </MapCardView>\n );\n};\n\nexport interface LocationIcon {\n url: string;\n size: [number, number];\n anchor: [number, number];\n\n sizeActive: [number, number];\n anchorActive: [number, number];\n}\n\nexport interface MapPOI {\n /** Unique ID */\n id: string;\n\n /** Latitude and Longitude of item position */\n position: [number, number];\n\n /** Marker icon settings */\n icon?: LocationIcon;\n\n /** POI name */\n name?: string;\n\n /** POI short description text */\n description?: string;\n\n /** Array of POI facts */\n facts?: string[];\n\n /** Array of additional POI informations */\n infos?: Info[];\n\n /** Function to inject custom action node */\n action?: React.ReactNode;\n}\n\nconst PointOfInterestMap: FC<{\n /** ID value for targeting section with anchor hashes */\n anchorId?: string;\n\n /** Size mode */\n size?: 'default' | 'large';\n\n /** Array of POI card settings */\n pois?: MapPOI[];\n\n /** Use geolocation for own position */\n showOwnPosition?: boolean;\n\n /** Map tile provider */\n provider?: string;\n\n /** Map attribution text (richtext) */\n attribution?: string;\n\n /** Initial center of the map */\n center?: [number, number];\n\n /** Initial map zoom */\n zoom?: number;\n\n /** Min map zoom */\n minZoom?: number;\n\n /** Max map zoom */\n maxZoom?: number;\n\n /** Zoom if map jumps to location */\n flyToZoom?: number;\n\n /** Initial location */\n initialPointOfInterest?: string;\n\n /** Show all markers on first load */\n allMarkersOnInit?: boolean;\n\n /** Restrict map to bounds of markers area */\n restrictToMarkersArea?: boolean;\n\n /** Map container padding for show all markers */\n fitBoundsPadding?: [number, number];\n\n /** Function to inject custom fact node into MapCard */\n customFact?: (props: { key: React.Key; name: string }) => React.ReactNode;\n\n /** Custom current position marker */\n currentPosMarker?: LocationIcon;\n\n /** Custom card close icon */\n customCardClose?: React.ReactNode;\n\n /** Custom icon for my location request button */\n customLocationRequest?: React.ReactNode;\n}> = ({\n anchorId,\n size,\n pois,\n initialPointOfInterest = '',\n provider,\n attribution,\n center = [51.505, -0.09],\n zoom = 5,\n fitBoundsPadding,\n allMarkersOnInit = false,\n restrictToMarkersArea = true,\n showOwnPosition,\n flyToZoom,\n customFact,\n currentPosMarker,\n customCardClose,\n customLocationRequest,\n}) => {\n const isLarge = size === 'large';\n const { colors } = useLibTheme();\n\n const [activePoiId, setActivePoiId] = useState<string>(\n initialPointOfInterest || ''\n );\n const [isDirty, setIsDirty] = useState<boolean>(false);\n const activePOI = useMemo(() => {\n return pois?.find((poi) => poi.id === activePoiId);\n }, [activePoiId, pois]);\n\n const {\n isSupported: isGeolocationSupported,\n location,\n reset: resetGeolocation,\n // error,\n } = useGeolocation(true, false);\n\n const mapMarkers = useMemo(() => {\n const defaultMarker: LocationIcon = {\n size: [28, 28],\n anchor: [14, 28],\n sizeActive: [70, 70],\n anchorActive: [35, 70],\n url: getSVGData(<LocationPin />),\n };\n\n // marker of own position\n const defaultPosMarker: LocationIcon = {\n size: [24, 24],\n anchor: [12, 12],\n sizeActive: [24, 24],\n anchorActive: [12, 12],\n url: getSVGData(<CurrentLocation iconColor=\"#5383EC\" />),\n };\n\n const markers: LeafletMapMarker[] =\n pois\n ?.filter((poi) => poi.id !== undefined)\n ?.map(({ id, position, icon }) => ({\n id,\n position,\n icon: icon || defaultMarker,\n isInteractive: true,\n })) || [];\n\n if (\n isGeolocationSupported &&\n location?.coords.latitude &&\n location?.coords.longitude\n ) {\n markers.push({\n id: 'my-current-position-123456789',\n position: [location.coords.latitude, location.coords.longitude],\n icon: currentPosMarker || defaultPosMarker,\n });\n }\n\n return markers;\n }, [\n currentPosMarker,\n isGeolocationSupported,\n location?.coords.latitude,\n location?.coords.longitude,\n pois,\n ]);\n\n const {\n isLoaded,\n setContainer: setMapContainer,\n flyToActive,\n showAllMarkers,\n flyToPosition,\n getCurrentZoom,\n } = useLeafletMap({\n url: provider,\n attribution,\n center,\n zoom,\n activeMarkerId: activePoiId,\n markers: mapMarkers,\n fitBoundsPadding,\n restrictToMarkersArea,\n showZoomControls: true,\n zoomControlPosition: 'bottomleft',\n onMarkerClick: (markerId) => {\n setActivePoiId((prev) => {\n if (prev === markerId) {\n return '';\n }\n return markerId;\n });\n },\n });\n\n useEffect(() => {\n if (isLoaded && !isDirty) {\n if (allMarkersOnInit) showAllMarkers();\n } else {\n const currentZoom = getCurrentZoom();\n let zoom = flyToZoom;\n if (flyToZoom !== undefined && currentZoom > flyToZoom) {\n zoom = currentZoom;\n }\n\n flyToActive(zoom);\n }\n }, [\n activePoiId,\n allMarkersOnInit,\n flyToActive,\n flyToZoom,\n getCurrentZoom,\n initialPointOfInterest,\n isDirty,\n isLoaded,\n showAllMarkers,\n ]);\n\n useEffect(() => {\n if (!isDirty && activePoiId !== initialPointOfInterest) {\n setIsDirty(true);\n }\n }, [activePoiId, initialPointOfInterest, isDirty]);\n\n const handleLocationRequest = async () => {\n if (location?.coords?.latitude && location?.coords?.longitude) {\n const currentZoom = getCurrentZoom();\n let zoom = flyToZoom;\n if (flyToZoom !== undefined && currentZoom > flyToZoom) {\n zoom = currentZoom;\n }\n\n flyToPosition(\n [location.coords.latitude, location.coords.longitude],\n zoom\n );\n } else {\n try {\n const position = await resetGeolocation();\n if (position) showAllMarkers();\n } catch (err) {\n // console.log(err);\n }\n }\n };\n\n return (\n <PoiMapSection\n anchorId={anchorId}\n bgColor=\"image\"\n bgMode=\"full\"\n isLarge={isLarge}\n >\n <Wrapper clampWidth={isLarge ? 'large' : 'normal'}>\n <MapContainer>\n <Map ref={setMapContainer} isLarge={size === 'large'} />\n {showOwnPosition && (\n <RequestGeolocationBtn onClick={handleLocationRequest}>\n {customLocationRequest || (\n <MyLocation iconColor={colors.text.default} />\n )}\n </RequestGeolocationBtn>\n )}\n {activePOI && activePOI.name && (\n <CardStage\n onClick={(ev) => {\n if (ev.target !== ev.currentTarget) return;\n setActivePoiId('');\n }}\n >\n <MapCard\n {...activePOI}\n onClose={() => setActivePoiId('')}\n customFact={customFact}\n customClose={customCardClose}\n />\n </CardStage>\n )}\n </MapContainer>\n </Wrapper>\n </PoiMapSection>\n );\n};\n\nexport const PointOfInterestMapComponent = PointOfInterestMap;\nexport default withLibTheme(PointOfInterestMap);\n"],"names":["StyledImage","styled","Image","withConfig","displayName","componentId","templateObject_1","__makeTemplateObject","spacings","spacer","Facts","POIFacts","templateObject_2","PoiTitle","Heading","templateObject_3","nudge","PoiText","Copy","templateObject_4","PointOfInterestDetail$1","withLibTheme","_a","anchorId","image","title","intro","text","facts","infos","bgMode","customFact","colors","useLibTheme","isInverted","hasBg","hasInfos","useMemo","isValidArray","filter","info","items","React","createElement","Section","addSeperation","bgColor","sectionBg","dark","medium","light","mapToBgMode","Wrapper","addWhitespace","small","coverSpace","allowEdgeRadius","Grid","Row","gutter","semilarge","Col","span","size","type","innerHTML","InfoList","Content","div","mq","large","Filter","FilterField","removeMatchIntersections","array","item","m","find","prioItem","id","filterPois","filterQuery","pois","prioList","poi","undefined","exactNameMatches","value","RegExp","test","name","poiExactNameFilter","push","apply","map","match","priority","nameMatches","preparedQuery","toLowerCase","replace","preparedName","poiSoftNameFilter","factMatches","regex","fact","preparedFact","poiFactFilter","infoMatches","preparedText","poiInfoFilter","descMatches","shortDescription","preparedDesc","poiDescriptionFilter","PointOfInterestOverview$1","enableFiltering","initialFilterQuery","_c","filterPlaceholder","filterSubmitIcon","filterClearIcon","_d","filterName","globals","sections","poiFilterName","_e","useState","setFilterQuery","isMounted","useMounted","poiMatches","queryParts","split","part","trim","searchMatches","queryParts_1","_i","length","intersectionIndex","findIndex","sItem","intersections","matches_1","escapeRegExp","__assign","getFilter","useCallback","getUrlParams","useEffect","urlFilter","setUrlParam","deleteUrlParam","useUpdateEffect","initialValue","placeholder","onSubmit","submitIcon","clearIcon","_b","sort","a","b","i","POICard","key","PoiMapSection","isLarge","css","theme","mainIdent","genIdent","pageFlow","hasMain","mainTopIdent","hasTop","mainBottomIdent","hasBottom","fullIdent","navMainHeight","getNavHeight","getFullNavbarHeights","navMainTopHeight","navMainBottomHeight","navFullHeight","mapToSelector","idents","concat","join","refHeight","Map","withRange","MapContainer","templateObject_5","RequestGeolocationBtn","button","templateObject_6","color","primary","default","CardStage","templateObject_7","MapCardView","templateObject_8","elementBg","MapCardHeader","header","templateObject_9","CloseBtn","MapCard","description","action","customClose","onClose","className","onClick","Cross","iconColor","PointOfInterestMap$1","initialPointOfInterest","provider","attribution","center","zoom","fitBoundsPadding","allMarkersOnInit","_f","restrictToMarkersArea","showOwnPosition","flyToZoom","currentPosMarker","customCardClose","customLocationRequest","_g","activePoiId","setActivePoiId","_h","isDirty","setIsDirty","activePOI","_j","useGeolocation","isGeolocationSupported","isSupported","location","resetGeolocation","mapMarkers","defaultMarker","anchor","sizeActive","anchorActive","url","getSVGData","getSVGDataImg","LocationPin","defaultPosMarker","CurrentLocation","markers","position","icon","isInteractive","coords","latitude","longitude","_k","useLeafletMap","activeMarkerId","showZoomControls","zoomControlPosition","onMarkerClick","markerId","prev","isLoaded","setMapContainer","setContainer","flyToActive","showAllMarkers","flyToPosition","getCurrentZoom","currentZoom","zoom_1","clampWidth","ref","__awaiter","zoom_2","sent","MyLocation","ev","target","currentTarget"],"mappings":"kqCAeMA,EAAcC,EAAM,QAACC,SAAVC,WAAA,CAAAC,YAAA,qCAAAC,YAAA,eAAGJ,CAAaK,IAAAA,EAAAC,EAAAA,qBAAA,CAAA,sDAAA,gBAAA,CAAA,sDAEO,kBAAfC,EAAQA,SAACC,QAI5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A,SAAAA,EAAUiB,cAAM,IAAAjP,OAAA,EAAAA,EAAEkP,YAA4B,UAAhBlB,MAAAA,OAAQ,EAARA,EAAUiB,cAAM,IAAAtG,OAAA,EAAAA,EAAEwG,YAC1CgB,EAAcD,KAChBM,EAAOvD,OACOlJ,IAAdkJ,GAA2BkD,EAAclD,IACzCuD,EAAOL,GAGXF,GACI,CAACjC,EAASiB,OAAOC,SAAUlB,EAASiB,OAAOE,WAC3CqB,UATqD,CAAA,EAAA,UAapC,6BAAM,CAAA,EAAAvC,mBAANjI,EAAwByK,QAC3BT,kEAmBD5C,GACGhM,EAAAA,sBAACsP,aAAU,CAACrE,UAAW3L,EAAOL,KAAK8K,WAI9CwC,GAAaA,EAAUvJ,MACpBhD,EAAC,QAAAC,cAAA+J,EACG,CAAAe,QAAS,SAACwE,GACFA,EAAGC,SAAWD,EAAGE,eACrBtD,EAAe,MAGnBnM,EAAAA,QAAAC,cAACwK,GAAOhE,EAAAA,SAAA,GACA8F,EAAS,CACb1B,QAAS,WAAMsB,OAAAA,EAAe,KAC9B9M,WAAYA,EACZuL,YAAamB"}
@@ -1,2 +0,0 @@
1
- "use strict";var t=function(){function t(t,r,o,i,u){var a=this;this.dateReplacements={dddd:function(){return e[a.localeKey].long[a.date.getDay()]},DDDD:function(){return e[a.localeKey].long[a.date.getDay()]},ddd:function(){return e[a.localeKey].short[a.date.getDay()]},DDD:function(){return e[a.localeKey].short[a.date.getDay()]},dd:function(){return a.getDay()},DD:function(){return a.getDay()},MMMM:function(){return n[a.localeKey].long[a.date.getMonth()]},mmmm:function(){return n[a.localeKey].long[a.date.getMonth()]},MMM:function(){return n[a.localeKey].short[a.date.getMonth()]},mmm:function(){return n[a.localeKey].short[a.date.getMonth()]},mm:function(){return a.getMonth()},MM:function(){return a.getMonth()},yyyy:function(){return a.getYear()},YYYY:function(){return a.getYear()},yy:function(){return a.getYear().substr(-2)},YY:function(){return a.getYear().substr(-2)}},this.timeReplacements={hh:function(){return a.getHours()},HH:function(){return a.getHours()},hs:function(){return a.getHours12h()},HS:function(){return a.getHours12h()},mm:function(){return a.getMinutes()},MM:function(){return a.getMinutes()},ss:function(){return a.getSeconds()},SS:function(){return a.getSeconds()},ap:function(){return a.date.getHours()>=12?"pm":"am"},AP:function(){return a.date.getHours()>=12?"PM":"AM"}},this.timestamp=t,this.input=r,this.dateFormat=o,this.timeFormat=i,this.localeKey=u||"de",this.date=new Date(this.timestamp)}return t.prototype.setDate=function(t){this.date=new Date(t)},t.prototype.setLocale=function(t){this.localeKey=t},t.prototype.getFormattedStatus=function(){var t={"<DATE>":this.getFormattedDate(),"<TIME>":this.getFormattedTime()};return this.input.replace(/<\w+>/g,(function(e){return t[e]||e}))},t.prototype.getFormattedDate=function(){for(var t=this,e=Object.keys(this.dateReplacements),n=this.dateFormat,r=0;r<e.length;r++)n=n.replace(new RegExp(e[r],"g"),(function(e){return t.dateReplacements[e].call(t)}));return n},t.prototype.getFormattedTime=function(){for(var t=this,e=Object.keys(this.timeReplacements),n=this.timeFormat,r=0;r<e.length;r++)n=n.replace(new RegExp(e[r],"g"),(function(e){return t.timeReplacements[e].call(t)}));return n},t.prototype.areOnSameDay=function(t,e){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()},t.prototype.getFormattedTimespan=function(e,n,r){void 0===e&&(e=""),void 0===r&&(r=" - ");var o=this.getFormattedTime(),i="";if(void 0===n)return"";if(n>0){var u=new Date(this.date);u.setSeconds(this.date.getSeconds()+n);var a=new t(u.getTime(),this.input,this.dateFormat,this.timeFormat,this.localeKey);i=a.getFormattedTime()}var g={"<START>":o,"<END>":i,"<SEP>":r};return e.replace(/<\w+>/g,(function(t){return("<SEP>"!==t||o&&i)&&("<END>"!==t||i)?g[t]||t:""}))},t.prototype.getDoubleDigitString=function(t){return t<10?"0"+t.toString():t.toString()},t.prototype.getDay=function(){return this.getDoubleDigitString(this.date.getDate())},t.prototype.getMonth=function(){return this.getDoubleDigitString(this.date.getMonth()+1)},t.prototype.getYear=function(){return this.date.getFullYear().toString()},t.prototype.getHours=function(){return this.getDoubleDigitString(this.date.getHours())},t.prototype.getHours12h=function(){var t=this.date.getHours();return t=0===(t%=12)?12:t,this.getDoubleDigitString(t)},t.prototype.getMinutes=function(){return this.getDoubleDigitString(this.date.getMinutes())},t.prototype.getSeconds=function(){return this.getDoubleDigitString(this.date.getSeconds())},t}(),e={de:{long:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],short:["So","Mo","Di","Mi","Do","Fr","Sa"]},en:{long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]}},n={de:{long:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],short:["Jan.","Febr.","März","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez"]},en:{long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan.","Feb.","Mar.","Apr.","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."]}};exports.StatusFormatter=t;
2
- //# sourceMappingURL=statusFormatter-0393122b.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"statusFormatter-0393122b.js","sources":["../src/utils/statusFormatter.ts"],"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"],"names":["StatusFormatter","timestamp","input","dateFormat","timeFormat","localeKey","_this","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","AP","Date","prototype","setDate","setLocale","getFormattedStatus","placeholders","getFormattedDate","getFormattedTime","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","getDoubleDigitString","value","toString","hours","de","en"],"mappings":"aAIA,IAAAA,EAAA,WAUQA,SAAAA,EAAAC,EACAC,EACAC,EACAC,EACAC,GASHC,IAAAA,EAAAC,KAEOA,KAAAC,iBAA0C,CAC9CC,KAAM,WACF,OAAOC,EAASJ,EAAKD,WAAWM,KAAKL,EAAKM,KAAKC,WAEnDC,KAAM,WACF,OAAOJ,EAASJ,EAAKD,WAAWM,KAAKL,EAAKM,KAAKC,WAEnDE,IAAK,WACD,OAAOL,EAASJ,EAAKD,WAAWW,MAAMV,EAAKM,KAAKC,WAEpDI,IAAK,WACD,OAAOP,EAASJ,EAAKD,WAAWW,MAAMV,EAAKM,KAAKC,WAEpDK,GAAI,WACOZ,OAAAA,EAAKO,UAEhBM,GAAI,WACOb,OAAAA,EAAKO,UAEhBO,KAAM,WACF,OAAOC,EAAWf,EAAKD,WAAWM,KAAKL,EAAKM,KAAKU,aAErDC,KAAM,WACF,OAAOF,EAAWf,EAAKD,WAAWM,KAAKL,EAAKM,KAAKU,aAErDE,IAAK,WACD,OAAOH,EAAWf,EAAKD,WAAWW,MAAMV,EAAKM,KAAKU,aAEtDG,IAAK,WACD,OAAOJ,EAAWf,EAAKD,WAAWW,MAAMV,EAAKM,KAAKU,aAEtDI,GAAI,WACOpB,OAAAA,EAAKgB,YAEhBK,GAAI,WACOrB,O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WACA,QACA,QACA,MACA,OACA,OACA,SACA,YACA,UACA,WACA,YAEJK,MAAO,CACH,OACA,OACA,OACA,OACA,MACA,OACA,OACA,OACA,QACA,OACA,OACA"}
@@ -1,2 +0,0 @@
1
- "use strict";var e=require("react"),t=require("react-schemaorg");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=o(e),n=function(e,t,o){return o.indexOf(e)===t};exports.generateFAQ=function(e){return d.default.createElement(t.JsonLd,{item:{"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map((function(e){return{"@type":"Question",name:e.label,acceptedAnswer:{"@type":"Answer",text:e.text}}}))}})},exports.generateJob=function(e){var o,l,s,r,a,i=e.jobTitle,u=e.jobDesc,c=e.organization,p=e.directApply,v=e.locations,y=e.employmentTypes,m=e.datePosted;return d.default.createElement(t.JsonLd,{item:{"@context":"https://schema.org","@type":"JobPosting",title:i,description:u,datePosted:null==m?void 0:m.toISOString(),employmentType:null==y?void 0:y.filter(n),hiringOrganization:{"@type":"Organization",name:null==c?void 0:c.name,url:(null==c?void 0:c.url)?encodeURIComponent(null==c?void 0:c.url):"",logo:null==c?void 0:c.logo,telephone:null==c?void 0:c.telephone,email:null==c?void 0:c.email,address:(null===(o=null==c?void 0:c.address)||void 0===o?void 0:o.streetAddress)?{"@type":"PostalAddress",streetAddress:null===(l=null==c?void 0:c.address)||void 0===l?void 0:l.streetAddress,addressLocality:null===(s=null==c?void 0:c.address)||void 0===s?void 0:s.addressLocality,postalCode:null===(r=null==c?void 0:c.address)||void 0===r?void 0:r.postalCode,addressCountry:null===(a=null==c?void 0:c.address)||void 0===a?void 0:a.addressCountry}:void 0},jobLocation:null==v?void 0:v.map((function(e){return{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:e.addressLocality||e.name,streetAddress:e.streetAddress,addressRegion:e.addressRegion,postalCode:e.postalCode,addressCountry:e.addressCountry}}})),directApply:p}})},exports.generateLocalBusiness=function(e){return null==e?void 0:e.map((function(e,o){var n,l,s=e.position,r=e.address,a=e.contact,i=e.companyName,u=e.image;return i?d.default.createElement(t.JsonLd,{key:o,item:{"@context":"https://schema.org","@type":"LocalBusiness",name:i,geo:{"@type":"GeoCoordinates",name:"Coordinates",latitude:s[0],longitude:s[1]},address:{"@type":"PostalAddress",streetAddress:null==r?void 0:r.street,addressLocality:null==r?void 0:r.city,addressRegion:null==r?void 0:r.city,postalCode:null==r?void 0:r.postalCode,addressCountry:null==r?void 0:r.country},image:u||[],telephone:"".concat(null===(n=null==a?void 0:a.telephone)||void 0===n?void 0:n.label),email:"".concat(null===(l=null==a?void 0:a.email)||void 0===l?void 0:l.label)}}):""}))};
2
- //# sourceMappingURL=structuredData-0b1278a9.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"structuredData-0b1278a9.js","sources":["../src/utils/filters.ts","../src/utils/structuredData.tsx"],"sourcesContent":["export const distinct = <T>(value: T, index: number, array: T[]) => {\n return array.indexOf(value) === index;\n};\n","import React from 'react';\nimport { JsonLd } from 'react-schemaorg';\nimport { MapLocation } from 'components/sections/Map';\nimport { FAQPage, JobPosting, LocalBusiness, Place } from 'schema-dts';\nimport { OrganizationData } from 'components/sections/jobs/JobArticle';\nimport { distinct } from './filters';\nimport { JobLocation } from 'components/blocks/JobCard';\n\nexport const generateLocalBusiness = (locations: MapLocation[]) => {\n return locations?.map(\n ({ position, address, contact, companyName, image }, i) => {\n if (!companyName) return '';\n return (\n <JsonLd<LocalBusiness>\n key={i}\n item={{\n '@context': 'https://schema.org',\n '@type': 'LocalBusiness',\n name: companyName,\n\n geo: {\n '@type': 'GeoCoordinates',\n name: 'Coordinates',\n latitude: position[0],\n longitude: position[1],\n },\n\n address: {\n '@type': 'PostalAddress',\n streetAddress: address?.street,\n addressLocality: address?.city,\n addressRegion: address?.city,\n postalCode: address?.postalCode,\n addressCountry: address?.country,\n },\n\n image: image || [],\n\n telephone: `${contact?.telephone?.label}`,\n\n email: `${contact?.email?.label}`,\n }}\n />\n );\n }\n );\n};\n\nexport const generateFAQ = (\n items: {\n label?: string;\n text?: string;\n aside?: string;\n hasColumns?: boolean;\n }[]\n) => {\n return (\n <JsonLd<FAQPage>\n item={{\n '@context': 'https://schema.org',\n '@type': 'FAQPage',\n mainEntity: items.map(({ label, text }) => {\n return {\n '@type': 'Question',\n name: label,\n acceptedAnswer: {\n '@type': 'Answer',\n text: text,\n },\n };\n }),\n }}\n />\n );\n};\n\nexport type StructuredEmploymentType =\n | 'FULL_TIME'\n | 'PART_TIME'\n | 'CONTRACTOR'\n | 'TEMPORARY'\n | 'INTERN'\n | 'VOLUNTEER'\n | 'PER_DIEM'\n | 'OTHER';\n\nexport const generateJob = ({\n jobTitle,\n jobDesc,\n organization,\n directApply,\n locations,\n employmentTypes,\n datePosted,\n}: {\n jobTitle: string;\n jobDesc?: string;\n organization?: OrganizationData;\n directApply?: boolean;\n locations?: JobLocation[];\n employmentTypes?: StructuredEmploymentType[];\n datePosted?: Date;\n}) => {\n return (\n <JsonLd<JobPosting>\n item={{\n '@context': 'https://schema.org',\n '@type': 'JobPosting',\n title: jobTitle,\n description: jobDesc,\n datePosted: datePosted?.toISOString(),\n employmentType: employmentTypes?.filter(distinct),\n hiringOrganization: {\n '@type': 'Organization',\n name: organization?.name,\n url: organization?.url\n ? encodeURIComponent(organization?.url)\n : '',\n logo: organization?.logo,\n telephone: organization?.telephone,\n email: organization?.email,\n address: organization?.address?.streetAddress\n ? {\n '@type': 'PostalAddress',\n streetAddress:\n organization?.address?.streetAddress,\n addressLocality:\n organization?.address?.addressLocality,\n postalCode: organization?.address?.postalCode,\n addressCountry:\n organization?.address?.addressCountry,\n }\n : undefined,\n },\n jobLocation: locations?.map<Place>((loc) => ({\n '@type': 'Place',\n address: {\n '@type': 'PostalAddress',\n addressLocality: loc.addressLocality || loc.name,\n streetAddress: loc.streetAddress,\n addressRegion: loc.addressRegion,\n postalCode: loc.postalCode,\n addressCountry: loc.addressCountry,\n },\n })),\n directApply: directApply,\n }}\n />\n );\n};\n"],"names":["distinct","value","index","array","indexOf","items","React","createElement","JsonLd","item","mainEntity","map","_a","name","label","acceptedAnswer","text","jobTitle","jobDesc","organization","directApply","locations","employmentTypes","datePosted","title","description","toISOString","employmentType","filter","hiringOrganization","url","encodeURIComponent","logo","telephone","email","address","_b","streetAddress","_c","addressLocality","_d","postalCode","_e","addressCountry","_f","undefined","jobLocation","loc","addressRegion","i","position","contact","companyName","image","key","geo","latitude","longitude","street","city","country","concat"],"mappings":"oJAAaA,EAAW,SAAIC,EAAUC,EAAeC,GACjD,OAAOA,EAAMC,QAAQH,KAAWC,uBC+CT,SACvBG,GAOA,OACIC,EAAA,QAAAC,cAACC,SAAM,CACHC,KAAM,CACF,WAAY,qBACZ,QAAS,UACTC,WAAYL,EAAMM,KAAI,SAACC,GACZ,MAAA,CACH,QAAS,WACTC,KAHsBD,EAAAE,MAItBC,eAAgB,CACZ,QAAS,SACTC,KANwBJ,EAAAI,kCAyBzB,SAACJ,iBACxBK,aACAC,YACAC,iBACAC,EAAWR,EAAAQ,YACXC,EAAST,EAAAS,UACTC,EAAeV,EAAAU,gBACfC,EAAUX,EAAAW,WAUV,OACIjB,EAAA,QAAAC,cAACC,SAAM,CACHC,KAAM,CACF,WAAY,qBACZ,QAAS,aACTe,MAAOP,EACPQ,YAAaP,EACbK,WAAYA,MAAAA,SAAAA,EAAYG,cACxBC,eAAgBL,MAAAA,OAAe,EAAfA,EAAiBM,OAAO5B,GACxC6B,mBAAoB,CAChB,QAAS,eACThB,KAAMM,MAAAA,OAAA,EAAAA,EAAcN,KACpBiB,KAAKX,MAAAA,OAAA,EAAAA,EAAcW,KACbC,mBAAmBZ,MAAAA,OAAA,EAAAA,EAAcW,KACjC,GACNE,KAAMb,MAAAA,OAAA,EAAAA,EAAca,KACpBC,UAAWd,MAAAA,OAAA,EAAAA,EAAcc,UACzBC,MAAOf,MAAAA,OAAA,EAAAA,EAAce,MACrBC,SAA8B,QAArBC,EAAAjB,MAAAA,OAAY,EAAZA,EAAcgB,eAAO,IAAAC,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