@blateral/b.kit 2.4.1 → 2.5.0-beta.1.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.
- package/cjs/Actions-c7b16449.js +2 -0
- package/cjs/Actions-c7b16449.js.map +1 -0
- package/cjs/Bdot-5f8e0450.js +2 -0
- package/cjs/Bdot-5f8e0450.js.map +1 -0
- package/cjs/Button-51ea72b7.js +2 -0
- package/cjs/Button-51ea72b7.js.map +1 -0
- package/cjs/ButtonGhost-628bbd60.js +2 -0
- package/cjs/ButtonGhost-628bbd60.js.map +1 -0
- package/cjs/Callout-5dd16679.js +2 -0
- package/cjs/Callout-5dd16679.js.map +1 -0
- package/cjs/Checkbox-1c34c7e6.js +2 -0
- package/cjs/Checkbox-1c34c7e6.js.map +1 -0
- package/cjs/ClockFilled-2483aa4a.js +2 -0
- package/cjs/ClockFilled-2483aa4a.js.map +1 -0
- package/cjs/Control-08d09950.js +2 -0
- package/cjs/Control-08d09950.js.map +1 -0
- package/cjs/Copy-ea6ab025.js +2 -0
- package/cjs/Copy-ea6ab025.js.map +1 -0
- package/cjs/EventBlock-d191a8ae.js +2 -0
- package/cjs/EventBlock-d191a8ae.js.map +1 -0
- package/cjs/Filter-d6d90b8b.js +2 -0
- package/cjs/Filter-d6d90b8b.js.map +1 -0
- package/cjs/FilterField-b1547fb4.js +2 -0
- package/cjs/FilterField-b1547fb4.js.map +1 -0
- package/cjs/Grid-6f4f99bc.js +2 -0
- package/cjs/Grid-6f4f99bc.js.map +1 -0
- package/cjs/Image-c72f7a80.js +2 -0
- package/cjs/Image-c72f7a80.js.map +1 -0
- package/cjs/InfoList-71d3388a.js +2 -0
- package/cjs/InfoList-71d3388a.js.map +1 -0
- package/cjs/LanguageSwitcher-8fdd22ba.js +2 -0
- package/cjs/LanguageSwitcher-8fdd22ba.js.map +1 -0
- package/cjs/LibThemeProvider-4823de57.js +2 -0
- package/cjs/LibThemeProvider-4823de57.js.map +1 -0
- package/cjs/Link-5a6f1633.js +2 -0
- package/cjs/Link-5a6f1633.js.map +1 -0
- package/cjs/Navigation-ca78100c.js +2 -0
- package/cjs/Navigation-ca78100c.js.map +1 -0
- package/cjs/POICard-e46f9041.js +2 -0
- package/cjs/POICard-e46f9041.js.map +1 -0
- package/cjs/Pointer-fde7b548.js +2 -0
- package/cjs/Pointer-fde7b548.js.map +1 -0
- package/cjs/Section-e8e8cf81.js +2 -0
- package/cjs/Section-e8e8cf81.js.map +1 -0
- package/cjs/SocialList-1d5f75a8.js +2 -0
- package/cjs/SocialList-1d5f75a8.js.map +1 -0
- package/cjs/TableBlock-007f8e34.js +2 -0
- package/cjs/TableBlock-007f8e34.js.map +1 -0
- package/cjs/Tag-9238cf0c.js +2 -0
- package/cjs/Tag-9238cf0c.js.map +1 -0
- package/cjs/Textarea-485efa2d.js +2 -0
- package/cjs/Textarea-485efa2d.js.map +1 -0
- package/cjs/Textfield-56996c98.js +2 -0
- package/cjs/Textfield-56996c98.js.map +1 -0
- package/cjs/VideoBlock-a7d6ff7d.js +2 -0
- package/cjs/VideoBlock-a7d6ff7d.js.map +1 -0
- package/cjs/VideoCard-d48a37fe.js +2 -0
- package/cjs/VideoCard-d48a37fe.js.map +1 -0
- package/cjs/Wrapper-ff6854d7.js +2 -0
- package/cjs/Wrapper-ff6854d7.js.map +1 -0
- package/cjs/arrays-c272ed59.js +2 -0
- package/cjs/arrays-c272ed59.js.map +1 -0
- package/cjs/base.js +2 -0
- package/cjs/base.js.map +1 -0
- package/cjs/blocks.js +2 -0
- package/cjs/blocks.js.map +1 -0
- package/cjs/buttons.js +2 -0
- package/cjs/buttons.js.map +1 -0
- package/cjs/clamp-bd21d587.js +2 -0
- package/cjs/clamp-bd21d587.js.map +1 -0
- package/cjs/concat-f387d848.js +2 -0
- package/cjs/concat-f387d848.js.map +1 -0
- package/cjs/cookies.js +2 -0
- package/cjs/cookies.js.map +1 -0
- package/cjs/escape-1ef8dd83.js +2 -0
- package/cjs/escape-1ef8dd83.js.map +1 -0
- package/cjs/fields.js +2 -0
- package/cjs/fields.js.map +1 -0
- package/cjs/footer.js +2 -0
- package/cjs/footer.js.map +1 -0
- package/cjs/headers.js +2 -0
- package/cjs/headers.js.map +1 -0
- package/cjs/hexRgbConverter-91b28aea.js +2 -0
- package/cjs/hexRgbConverter-91b28aea.js.map +1 -0
- package/cjs/hooks.js +2 -0
- package/cjs/hooks.js.map +1 -0
- package/cjs/icons.js +2 -0
- package/cjs/icons.js.map +1 -0
- package/cjs/index.js +2 -0
- package/cjs/index.js.map +1 -0
- package/cjs/navigation-389b22e2.js +2 -0
- package/cjs/navigation-389b22e2.js.map +1 -0
- package/cjs/navigation.js +2 -0
- package/cjs/navigation.js.map +1 -0
- package/cjs/sections.dynamicform.js +2 -0
- package/cjs/sections.dynamicform.js.map +1 -0
- package/cjs/sections.events.js +2 -0
- package/cjs/sections.events.js.map +1 -0
- package/cjs/sections.forms.js +2 -0
- package/cjs/sections.forms.js.map +1 -0
- package/cjs/sections.jobs.js +2 -0
- package/cjs/sections.jobs.js.map +1 -0
- package/cjs/sections.js +2 -0
- package/cjs/sections.js.map +1 -0
- package/cjs/sections.news.js +2 -0
- package/cjs/sections.news.js.map +1 -0
- package/cjs/sections.pois.js +2 -0
- package/cjs/sections.pois.js.map +1 -0
- package/cjs/statusFormatter-0393122b.js +2 -0
- package/cjs/statusFormatter-0393122b.js.map +1 -0
- package/cjs/structuredData-0b1278a9.js +2 -0
- package/cjs/structuredData-0b1278a9.js.map +1 -0
- package/cjs/styles-3a495a2d.js +2 -0
- package/cjs/styles-3a495a2d.js.map +1 -0
- package/cjs/typography.js +2 -0
- package/cjs/typography.js.map +1 -0
- package/cjs/urlParams-7525f638.js +2 -0
- package/cjs/urlParams-7525f638.js.map +1 -0
- package/cjs/useCookieConsent-1af2af74.js +2 -0
- package/cjs/useCookieConsent-1af2af74.js.map +1 -0
- package/cjs/useEqualSheetHeight-8f92c912.js +2 -0
- package/cjs/useEqualSheetHeight-8f92c912.js.map +1 -0
- package/cjs/useGeolocation-d8946470.js +2 -0
- package/cjs/useGeolocation-d8946470.js.map +1 -0
- package/cjs/useLazyInput-0b912584.js +2 -0
- package/cjs/useLazyInput-0b912584.js.map +1 -0
- package/cjs/useLeafletMap-2e608b01.js +2 -0
- package/cjs/useLeafletMap-2e608b01.js.map +1 -0
- package/cjs/useMediaQuery-0bd70e6a.js +2 -0
- package/cjs/useMediaQuery-0bd70e6a.js.map +1 -0
- package/cjs/useMounted-0bba9869.js +2 -0
- package/cjs/useMounted-0bba9869.js.map +1 -0
- package/cjs/useObserverSupport-5ab320dd.js +2 -0
- package/cjs/useObserverSupport-5ab320dd.js.map +1 -0
- package/cjs/useScrollTo-fdd665da.js +2 -0
- package/cjs/useScrollTo-fdd665da.js.map +1 -0
- package/cjs/useUpdateEffect-4d233e2c.js +2 -0
- package/cjs/useUpdateEffect-4d233e2c.js.map +1 -0
- package/esm/Actions-21372b3a.js +57 -0
- package/esm/Actions-21372b3a.js.map +1 -0
- package/esm/Bdot-4db38753.js +24 -0
- package/esm/Bdot-4db38753.js.map +1 -0
- package/esm/Button-f9279013.js +115 -0
- package/esm/Button-f9279013.js.map +1 -0
- package/esm/ButtonGhost-ae2e97a2.js +112 -0
- package/esm/ButtonGhost-ae2e97a2.js.map +1 -0
- package/esm/Callout-a926194d.js +99 -0
- package/esm/Callout-a926194d.js.map +1 -0
- package/esm/Checkbox-dd12facd.js +135 -0
- package/esm/Checkbox-dd12facd.js.map +1 -0
- package/esm/ClockFilled-62515a8f.js +1793 -0
- package/esm/ClockFilled-62515a8f.js.map +1 -0
- package/esm/Control-2d605e12.js +52 -0
- package/esm/Control-2d605e12.js.map +1 -0
- package/esm/Copy-a28aeb61.js +270 -0
- package/esm/Copy-a28aeb61.js.map +1 -0
- package/esm/EventBlock-41d68d0a.js +136 -0
- package/esm/EventBlock-41d68d0a.js.map +1 -0
- package/esm/Filter-2b5f5e53.js +32 -0
- package/esm/Filter-2b5f5e53.js.map +1 -0
- package/esm/FilterField-7805bdb4.js +129 -0
- package/esm/FilterField-7805bdb4.js.map +1 -0
- package/esm/Grid-5eec127f.js +203 -0
- package/esm/Grid-5eec127f.js.map +1 -0
- package/esm/Image-dc2b33c1.js +193 -0
- package/esm/Image-dc2b33c1.js.map +1 -0
- package/esm/InfoList-5c4586ed.js +74 -0
- package/esm/InfoList-5c4586ed.js.map +1 -0
- package/esm/LanguageSwitcher-3fa20077.js +70 -0
- package/esm/LanguageSwitcher-3fa20077.js.map +1 -0
- package/esm/LibThemeProvider-52555ac9.js +115 -0
- package/esm/LibThemeProvider-52555ac9.js.map +1 -0
- package/esm/Link-3fd9c9b8.js +60 -0
- package/esm/Link-3fd9c9b8.js.map +1 -0
- package/esm/Navigation-3ded0cfc.js +1713 -0
- package/esm/Navigation-3ded0cfc.js.map +1 -0
- package/esm/POICard-96ec71d8.js +116 -0
- package/esm/POICard-96ec71d8.js.map +1 -0
- package/esm/Pointer-5c77b1f1.js +111 -0
- package/esm/Pointer-5c77b1f1.js.map +1 -0
- package/esm/Section-b76e6909.js +185 -0
- package/esm/Section-b76e6909.js.map +1 -0
- package/esm/SocialList-402b8f20.js +61 -0
- package/esm/SocialList-402b8f20.js.map +1 -0
- package/esm/TableBlock-cc49e089.js +159 -0
- package/esm/TableBlock-cc49e089.js.map +1 -0
- package/esm/Tag-ac51e916.js +67 -0
- package/esm/Tag-ac51e916.js.map +1 -0
- package/esm/Textarea-380665db.js +4598 -0
- package/esm/Textarea-380665db.js.map +1 -0
- package/esm/Textfield-d2f201a9.js +202 -0
- package/esm/Textfield-d2f201a9.js.map +1 -0
- package/esm/VideoBlock-5fe94711.js +260 -0
- package/esm/VideoBlock-5fe94711.js.map +1 -0
- package/esm/VideoCard-784c2a51.js +160 -0
- package/esm/VideoCard-784c2a51.js.map +1 -0
- package/esm/Wrapper-90dccc89.js +45 -0
- package/esm/Wrapper-90dccc89.js.map +1 -0
- package/esm/arrays-65b644ef.js +17 -0
- package/esm/arrays-65b644ef.js.map +1 -0
- package/esm/base.js +12 -0
- package/esm/base.js.map +1 -0
- package/esm/blocks.js +23 -0
- package/esm/blocks.js.map +1 -0
- package/esm/buttons.js +12 -0
- package/esm/buttons.js.map +1 -0
- package/esm/clamp-12d37b65.js +10 -0
- package/esm/clamp-12d37b65.js.map +1 -0
- package/esm/concat-ab3c66f2.js +40 -0
- package/esm/concat-ab3c66f2.js.map +1 -0
- package/esm/cookies.js +269 -0
- package/esm/cookies.js.map +1 -0
- package/esm/escape-cbff9c25.js +6 -0
- package/esm/escape-cbff9c25.js.map +1 -0
- package/esm/fields.js +191 -0
- package/esm/fields.js.map +1 -0
- package/esm/footer.js +302 -0
- package/esm/footer.js.map +1 -0
- package/esm/headers.js +639 -0
- package/esm/headers.js.map +1 -0
- package/esm/hexRgbConverter-edb91624.js +36 -0
- package/esm/hexRgbConverter-edb91624.js.map +1 -0
- package/esm/hooks.js +372 -0
- package/esm/hooks.js.map +1 -0
- package/esm/icons.js +70 -0
- package/esm/icons.js.map +1 -0
- package/esm/index.js +7 -0
- package/esm/index.js.map +1 -0
- package/esm/navigation-ada7fd84.js +82 -0
- package/esm/navigation-ada7fd84.js.map +1 -0
- package/esm/navigation.js +159 -0
- package/esm/navigation.js.map +1 -0
- package/esm/sections.dynamicform.js +1144 -0
- package/esm/sections.dynamicform.js.map +1 -0
- package/esm/sections.events.js +623 -0
- package/esm/sections.events.js.map +1 -0
- package/esm/sections.forms.js +283 -0
- package/esm/sections.forms.js.map +1 -0
- package/esm/sections.jobs.js +509 -0
- package/esm/sections.jobs.js.map +1 -0
- package/esm/sections.js +3740 -0
- package/esm/sections.js.map +1 -0
- package/esm/sections.news.js +1024 -0
- package/esm/sections.news.js.map +1 -0
- package/esm/sections.pois.js +720 -0
- package/esm/sections.pois.js.map +1 -0
- package/esm/statusFormatter-9be0fbff.js +255 -0
- package/esm/statusFormatter-9be0fbff.js.map +1 -0
- package/esm/structuredData-abf610d8.js +117 -0
- package/esm/structuredData-abf610d8.js.map +1 -0
- package/esm/styles-da982973.js +467 -0
- package/esm/styles-da982973.js.map +1 -0
- package/esm/typography.js +11 -0
- package/esm/typography.js.map +1 -0
- package/esm/urlParams-9cfdaf71.js +51 -0
- package/esm/urlParams-9cfdaf71.js.map +1 -0
- package/esm/useCookieConsent-0fc8667c.js +339 -0
- package/esm/useCookieConsent-0fc8667c.js.map +1 -0
- package/esm/useEqualSheetHeight-4030635e.js +199 -0
- package/esm/useEqualSheetHeight-4030635e.js.map +1 -0
- package/esm/useGeolocation-f9f073cc.js +95 -0
- package/esm/useGeolocation-f9f073cc.js.map +1 -0
- package/esm/useLazyInput-16a0b633.js +85 -0
- package/esm/useLazyInput-16a0b633.js.map +1 -0
- package/esm/useLeafletMap-84170d32.js +300 -0
- package/esm/useLeafletMap-84170d32.js.map +1 -0
- package/esm/useMediaQuery-b08dda62.js +159 -0
- package/esm/useMediaQuery-b08dda62.js.map +1 -0
- package/esm/useMounted-1e4cc87b.js +12 -0
- package/esm/useMounted-1e4cc87b.js.map +1 -0
- package/esm/useObserverSupport-02bce7f5.js +19 -0
- package/esm/useObserverSupport-02bce7f5.js.map +1 -0
- package/esm/useScrollTo-70af34bf.js +57 -0
- package/esm/useScrollTo-70af34bf.js.map +1 -0
- package/esm/useUpdateEffect-824c0c84.js +18 -0
- package/esm/useUpdateEffect-824c0c84.js.map +1 -0
- package/lib/base/package.json +7 -0
- package/lib/blocks/package.json +7 -0
- package/lib/buttons/package.json +7 -0
- package/lib/cookies/package.json +7 -0
- package/lib/fields/package.json +7 -0
- package/lib/footer/package.json +7 -0
- package/lib/headers/package.json +7 -0
- package/lib/hooks/package.json +7 -0
- package/lib/icons/package.json +7 -0
- package/lib/navigation/package.json +7 -0
- package/lib/sections/package.json +7 -0
- package/lib/sections.dynamicform/package.json +7 -0
- package/lib/sections.events/package.json +7 -0
- package/lib/sections.forms/package.json +7 -0
- package/lib/sections.jobs/package.json +7 -0
- package/lib/sections.news/package.json +7 -0
- package/lib/sections.pois/package.json +7 -0
- package/lib/typography/package.json +7 -0
- package/package.json +10 -6
- package/types/base.d.ts +5 -0
- package/types/base.d.ts.map +1 -0
- package/types/blocks.d.ts +16 -0
- package/types/blocks.d.ts.map +1 -0
- package/types/buttons.d.ts +6 -0
- package/types/buttons.d.ts.map +1 -0
- package/types/components/blocks/IntroBlock.d.ts.map +1 -0
- package/types/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +1 -0
- package/types/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +1 -0
- package/types/cookies.d.ts +2 -0
- package/types/cookies.d.ts.map +1 -0
- package/types/fields.d.ts +14 -0
- package/types/fields.d.ts.map +1 -0
- package/types/footer.d.ts +5 -0
- package/types/footer.d.ts.map +1 -0
- package/types/headers.d.ts +5 -0
- package/types/headers.d.ts.map +1 -0
- package/types/hooks.d.ts +37 -0
- package/types/hooks.d.ts.map +1 -0
- package/types/icons.d.ts +3 -0
- package/types/icons.d.ts.map +1 -0
- package/types/index.d.ts +18 -0
- package/types/index.d.ts.map +1 -0
- package/types/navigation.d.ts +10 -0
- package/types/navigation.d.ts.map +1 -0
- package/types/sections.d.ts +32 -0
- package/types/sections.d.ts.map +1 -0
- package/types/sections.dynamicform.d.ts +2 -0
- package/types/sections.dynamicform.d.ts.map +1 -0
- package/types/sections.events.d.ts +4 -0
- package/types/sections.events.d.ts.map +1 -0
- package/types/sections.forms.d.ts +2 -0
- package/types/sections.forms.d.ts.map +1 -0
- package/types/sections.jobs.d.ts +3 -0
- package/types/sections.jobs.d.ts.map +1 -0
- package/types/sections.news.d.ts +10 -0
- package/types/sections.news.d.ts.map +1 -0
- package/types/sections.pois.d.ts +4 -0
- package/types/sections.pois.d.ts.map +1 -0
- package/types/typography.d.ts +6 -0
- package/types/typography.d.ts.map +1 -0
- package/lib/components/blocks/IntroBlock.d.ts.map +0 -1
- package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +0 -1
- package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +0 -1
- package/lib/index.d.ts +0 -158
- package/lib/index.d.ts.map +0 -1
- package/lib/index.es.js +0 -2
- package/lib/index.es.js.map +0 -1
- package/lib/index.js +0 -2
- package/lib/index.js.map +0 -1
- /package/{lib → types}/components/base/Grid.d.ts +0 -0
- /package/{lib → types}/components/base/Grid.d.ts.map +0 -0
- /package/{lib → types}/components/base/Section.d.ts +0 -0
- /package/{lib → types}/components/base/Section.d.ts.map +0 -0
- /package/{lib → types}/components/base/Wrapper.d.ts +0 -0
- /package/{lib → types}/components/base/Wrapper.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/AngleDown.d.ts +0 -0
- /package/{lib → types}/components/base/icons/AngleDown.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/AngleLeft.d.ts +0 -0
- /package/{lib → types}/components/base/icons/AngleLeft.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/AngleRight.d.ts +0 -0
- /package/{lib → types}/components/base/icons/AngleRight.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/AngleUp.d.ts +0 -0
- /package/{lib → types}/components/base/icons/AngleUp.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/ArrowDown.d.ts +0 -0
- /package/{lib → types}/components/base/icons/ArrowDown.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/ArrowLeft.d.ts +0 -0
- /package/{lib → types}/components/base/icons/ArrowLeft.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/ArrowLeftGhost.d.ts +0 -0
- /package/{lib → types}/components/base/icons/ArrowLeftGhost.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/ArrowLeftRight.d.ts +0 -0
- /package/{lib → types}/components/base/icons/ArrowLeftRight.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/ArrowRight.d.ts +0 -0
- /package/{lib → types}/components/base/icons/ArrowRight.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/ArrowRightGhost.d.ts +0 -0
- /package/{lib → types}/components/base/icons/ArrowRightGhost.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/ArrowUp.d.ts +0 -0
- /package/{lib → types}/components/base/icons/ArrowUp.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/BoxArrowUpRight.d.ts +0 -0
- /package/{lib → types}/components/base/icons/BoxArrowUpRight.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/CalendarToday.d.ts +0 -0
- /package/{lib → types}/components/base/icons/CalendarToday.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Category.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Category.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Check.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Check.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Clock.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Clock.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/ClockFilled.d.ts +0 -0
- /package/{lib → types}/components/base/icons/ClockFilled.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Computer.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Computer.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Cross.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Cross.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/CrossSmall.d.ts +0 -0
- /package/{lib → types}/components/base/icons/CrossSmall.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/CurrentLocation.d.ts +0 -0
- /package/{lib → types}/components/base/icons/CurrentLocation.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/DateRange.d.ts +0 -0
- /package/{lib → types}/components/base/icons/DateRange.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/DeleteForever.d.ts +0 -0
- /package/{lib → types}/components/base/icons/DeleteForever.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/External.d.ts +0 -0
- /package/{lib → types}/components/base/icons/External.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Filter.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Filter.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/FlyTo.d.ts +0 -0
- /package/{lib → types}/components/base/icons/FlyTo.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Icons.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Icons.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Info.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Info.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Language.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Language.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/LocationPin.d.ts +0 -0
- /package/{lib → types}/components/base/icons/LocationPin.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/LocationSearch.d.ts +0 -0
- /package/{lib → types}/components/base/icons/LocationSearch.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Magnifier.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Magnifier.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Mail.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Mail.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Map.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Map.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/MenuBurger.d.ts +0 -0
- /package/{lib → types}/components/base/icons/MenuBurger.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Minus.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Minus.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Money.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Money.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/MyLocation.d.ts +0 -0
- /package/{lib → types}/components/base/icons/MyLocation.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Person.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Person.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Phone.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Phone.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Place.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Place.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Play.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Play.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Plus.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Plus.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Route.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Route.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/Star.d.ts +0 -0
- /package/{lib → types}/components/base/icons/Star.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/ToggleOff.d.ts +0 -0
- /package/{lib → types}/components/base/icons/ToggleOff.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/ToggleOn.d.ts +0 -0
- /package/{lib → types}/components/base/icons/ToggleOn.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/UnfoldMore.d.ts +0 -0
- /package/{lib → types}/components/base/icons/UnfoldMore.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/files/Excel.d.ts +0 -0
- /package/{lib → types}/components/base/icons/files/Excel.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/files/Image.d.ts +0 -0
- /package/{lib → types}/components/base/icons/files/Image.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/files/Pdf.d.ts +0 -0
- /package/{lib → types}/components/base/icons/files/Pdf.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/files/PowerPoint.d.ts +0 -0
- /package/{lib → types}/components/base/icons/files/PowerPoint.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/files/UploadFile.d.ts +0 -0
- /package/{lib → types}/components/base/icons/files/UploadFile.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/files/Word.d.ts +0 -0
- /package/{lib → types}/components/base/icons/files/Word.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/files/Zip.d.ts +0 -0
- /package/{lib → types}/components/base/icons/files/Zip.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/socials/Facebook.d.ts +0 -0
- /package/{lib → types}/components/base/icons/socials/Facebook.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/socials/Instagram.d.ts +0 -0
- /package/{lib → types}/components/base/icons/socials/Instagram.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/socials/LinkedIn.d.ts +0 -0
- /package/{lib → types}/components/base/icons/socials/LinkedIn.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/socials/Twitter.d.ts +0 -0
- /package/{lib → types}/components/base/icons/socials/Twitter.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/socials/Xing.d.ts +0 -0
- /package/{lib → types}/components/base/icons/socials/Xing.d.ts.map +0 -0
- /package/{lib → types}/components/base/icons/socials/Youtube.d.ts +0 -0
- /package/{lib → types}/components/base/icons/socials/Youtube.d.ts.map +0 -0
- /package/{lib → types}/components/base/nl2br.d.ts +0 -0
- /package/{lib → types}/components/base/nl2br.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/Actions.d.ts +0 -0
- /package/{lib → types}/components/blocks/Actions.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/Alert.d.ts +0 -0
- /package/{lib → types}/components/blocks/Alert.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/Bdot.d.ts +0 -0
- /package/{lib → types}/components/blocks/Bdot.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/CookieConsent.d.ts +0 -0
- /package/{lib → types}/components/blocks/CookieConsent.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/EventBlock.d.ts +0 -0
- /package/{lib → types}/components/blocks/EventBlock.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/Fact.d.ts +0 -0
- /package/{lib → types}/components/blocks/Fact.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/Feature.d.ts +0 -0
- /package/{lib → types}/components/blocks/Feature.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/Image.d.ts +0 -0
- /package/{lib → types}/components/blocks/Image.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/InfoList.d.ts +0 -0
- /package/{lib → types}/components/blocks/InfoList.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/IntroBlock.d.ts +0 -0
- /package/{lib → types}/components/blocks/JobCard.d.ts +0 -0
- /package/{lib → types}/components/blocks/JobCard.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/LanguageSwitcher.d.ts +0 -0
- /package/{lib → types}/components/blocks/LanguageSwitcher.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/NavBlock.d.ts +0 -0
- /package/{lib → types}/components/blocks/NavBlock.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/NewsCard.d.ts +0 -0
- /package/{lib → types}/components/blocks/NewsCard.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/POICard.d.ts +0 -0
- /package/{lib → types}/components/blocks/POICard.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/POIFacts.d.ts +0 -0
- /package/{lib → types}/components/blocks/POIFacts.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/PriceTag.d.ts +0 -0
- /package/{lib → types}/components/blocks/PriceTag.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/PromotionCard.d.ts +0 -0
- /package/{lib → types}/components/blocks/PromotionCard.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/SocialList.d.ts +0 -0
- /package/{lib → types}/components/blocks/SocialList.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/TableBlock.d.ts +0 -0
- /package/{lib → types}/components/blocks/TableBlock.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/Tag.d.ts +0 -0
- /package/{lib → types}/components/blocks/Tag.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/Title.d.ts +0 -0
- /package/{lib → types}/components/blocks/Title.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/VideoBlock.d.ts +0 -0
- /package/{lib → types}/components/blocks/VideoBlock.d.ts.map +0 -0
- /package/{lib → types}/components/blocks/VideoCard.d.ts +0 -0
- /package/{lib → types}/components/blocks/VideoCard.d.ts.map +0 -0
- /package/{lib → types}/components/buttons/Button.d.ts +0 -0
- /package/{lib → types}/components/buttons/Button.d.ts.map +0 -0
- /package/{lib → types}/components/buttons/ButtonGhost.d.ts +0 -0
- /package/{lib → types}/components/buttons/ButtonGhost.d.ts.map +0 -0
- /package/{lib → types}/components/buttons/Control.d.ts +0 -0
- /package/{lib → types}/components/buttons/Control.d.ts.map +0 -0
- /package/{lib → types}/components/buttons/Pointer.d.ts +0 -0
- /package/{lib → types}/components/buttons/Pointer.d.ts.map +0 -0
- /package/{lib → types}/components/debug/DebugLines.d.ts +0 -0
- /package/{lib → types}/components/debug/DebugLines.d.ts.map +0 -0
- /package/{lib → types}/components/examples/hooks/ArrayHookExample.d.ts +0 -0
- /package/{lib → types}/components/examples/hooks/ArrayHookExample.d.ts.map +0 -0
- /package/{lib → types}/components/examples/hooks/IntervalHookExample.d.ts +0 -0
- /package/{lib → types}/components/examples/hooks/IntervalHookExample.d.ts.map +0 -0
- /package/{lib → types}/components/fields/Checkbox.d.ts +0 -0
- /package/{lib → types}/components/fields/Checkbox.d.ts.map +0 -0
- /package/{lib → types}/components/fields/CompactForm.d.ts +0 -0
- /package/{lib → types}/components/fields/CompactForm.d.ts.map +0 -0
- /package/{lib → types}/components/fields/Datepicker.d.ts +0 -0
- /package/{lib → types}/components/fields/Datepicker.d.ts.map +0 -0
- /package/{lib → types}/components/fields/FileUpload.d.ts +0 -0
- /package/{lib → types}/components/fields/FileUpload.d.ts.map +0 -0
- /package/{lib → types}/components/fields/FilterField.d.ts +0 -0
- /package/{lib → types}/components/fields/FilterField.d.ts.map +0 -0
- /package/{lib → types}/components/fields/FormField.d.ts +0 -0
- /package/{lib → types}/components/fields/FormField.d.ts.map +0 -0
- /package/{lib → types}/components/fields/LocationField.d.ts +0 -0
- /package/{lib → types}/components/fields/LocationField.d.ts.map +0 -0
- /package/{lib → types}/components/fields/Radio.d.ts +0 -0
- /package/{lib → types}/components/fields/Radio.d.ts.map +0 -0
- /package/{lib → types}/components/fields/SearchInput.d.ts +0 -0
- /package/{lib → types}/components/fields/SearchInput.d.ts.map +0 -0
- /package/{lib → types}/components/fields/SelectDropdown.d.ts +0 -0
- /package/{lib → types}/components/fields/SelectDropdown.d.ts.map +0 -0
- /package/{lib → types}/components/fields/Textarea.d.ts +0 -0
- /package/{lib → types}/components/fields/Textarea.d.ts.map +0 -0
- /package/{lib → types}/components/fields/Textfield.d.ts +0 -0
- /package/{lib → types}/components/fields/Textfield.d.ts.map +0 -0
- /package/{lib → types}/components/sections/Accordion.d.ts +0 -0
- /package/{lib → types}/components/sections/Accordion.d.ts.map +0 -0
- /package/{lib → types}/components/sections/AlertList.d.ts +0 -0
- /package/{lib → types}/components/sections/AlertList.d.ts.map +0 -0
- /package/{lib → types}/components/sections/Article.d.ts +0 -0
- /package/{lib → types}/components/sections/Article.d.ts.map +0 -0
- /package/{lib → types}/components/sections/CallToAction.d.ts +0 -0
- /package/{lib → types}/components/sections/CallToAction.d.ts.map +0 -0
- /package/{lib → types}/components/sections/CardList.d.ts +0 -0
- /package/{lib → types}/components/sections/CardList.d.ts.map +0 -0
- /package/{lib → types}/components/sections/ComparisonSlider.d.ts +0 -0
- /package/{lib → types}/components/sections/ComparisonSlider.d.ts.map +0 -0
- /package/{lib → types}/components/sections/CrossPromotion.d.ts +0 -0
- /package/{lib → types}/components/sections/CrossPromotion.d.ts.map +0 -0
- /package/{lib → types}/components/sections/FactGrid.d.ts +0 -0
- /package/{lib → types}/components/sections/FactGrid.d.ts.map +0 -0
- /package/{lib → types}/components/sections/FactList.d.ts +0 -0
- /package/{lib → types}/components/sections/FactList.d.ts.map +0 -0
- /package/{lib → types}/components/sections/FeatureList.d.ts +0 -0
- /package/{lib → types}/components/sections/FeatureList.d.ts.map +0 -0
- /package/{lib → types}/components/sections/Gallery.d.ts +0 -0
- /package/{lib → types}/components/sections/Gallery.d.ts.map +0 -0
- /package/{lib → types}/components/sections/IconList.d.ts +0 -0
- /package/{lib → types}/components/sections/IconList.d.ts.map +0 -0
- /package/{lib → types}/components/sections/IndexList.d.ts +0 -0
- /package/{lib → types}/components/sections/IndexList.d.ts.map +0 -0
- /package/{lib → types}/components/sections/Intro.d.ts +0 -0
- /package/{lib → types}/components/sections/Intro.d.ts.map +0 -0
- /package/{lib → types}/components/sections/Map.d.ts +0 -0
- /package/{lib → types}/components/sections/Map.d.ts.map +0 -0
- /package/{lib → types}/components/sections/NavList.d.ts +0 -0
- /package/{lib → types}/components/sections/NavList.d.ts.map +0 -0
- /package/{lib → types}/components/sections/NewsletterForm.d.ts +0 -0
- /package/{lib → types}/components/sections/NewsletterForm.d.ts.map +0 -0
- /package/{lib → types}/components/sections/NumberList.d.ts +0 -0
- /package/{lib → types}/components/sections/NumberList.d.ts.map +0 -0
- /package/{lib → types}/components/sections/ParallaxBackground.d.ts +0 -0
- /package/{lib → types}/components/sections/ParallaxBackground.d.ts.map +0 -0
- /package/{lib → types}/components/sections/Poster.d.ts +0 -0
- /package/{lib → types}/components/sections/Poster.d.ts.map +0 -0
- /package/{lib → types}/components/sections/PriceList.d.ts +0 -0
- /package/{lib → types}/components/sections/PriceList.d.ts.map +0 -0
- /package/{lib → types}/components/sections/PriceTable.d.ts +0 -0
- /package/{lib → types}/components/sections/PriceTable.d.ts.map +0 -0
- /package/{lib → types}/components/sections/Quote.d.ts +0 -0
- /package/{lib → types}/components/sections/Quote.d.ts.map +0 -0
- /package/{lib → types}/components/sections/RawVideo.d.ts +0 -0
- /package/{lib → types}/components/sections/RawVideo.d.ts.map +0 -0
- /package/{lib → types}/components/sections/SimpleImage.d.ts +0 -0
- /package/{lib → types}/components/sections/SimpleImage.d.ts.map +0 -0
- /package/{lib → types}/components/sections/SocialWall.d.ts +0 -0
- /package/{lib → types}/components/sections/SocialWall.d.ts.map +0 -0
- /package/{lib → types}/components/sections/Table.d.ts +0 -0
- /package/{lib → types}/components/sections/Table.d.ts.map +0 -0
- /package/{lib → types}/components/sections/Teaser.d.ts +0 -0
- /package/{lib → types}/components/sections/Teaser.d.ts.map +0 -0
- /package/{lib → types}/components/sections/TeaserWide.d.ts +0 -0
- /package/{lib → types}/components/sections/TeaserWide.d.ts.map +0 -0
- /package/{lib → types}/components/sections/Timeline.d.ts +0 -0
- /package/{lib → types}/components/sections/Timeline.d.ts.map +0 -0
- /package/{lib → types}/components/sections/Video.d.ts +0 -0
- /package/{lib → types}/components/sections/Video.d.ts.map +0 -0
- /package/{lib → types}/components/sections/events/EventDetail.d.ts +0 -0
- /package/{lib → types}/components/sections/events/EventDetail.d.ts.map +0 -0
- /package/{lib → types}/components/sections/events/EventList.d.ts +0 -0
- /package/{lib → types}/components/sections/events/EventList.d.ts.map +0 -0
- /package/{lib → types}/components/sections/events/EventOverview.d.ts +0 -0
- /package/{lib → types}/components/sections/events/EventOverview.d.ts.map +0 -0
- /package/{lib → types}/components/sections/footer/Footer.d.ts +0 -0
- /package/{lib → types}/components/sections/footer/Footer.d.ts.map +0 -0
- /package/{lib → types}/components/sections/footer/partials/FooterBottomBar.d.ts +0 -0
- /package/{lib → types}/components/sections/footer/partials/FooterBottomBar.d.ts.map +0 -0
- /package/{lib → types}/components/sections/footer/partials/FooterColumn.d.ts +0 -0
- /package/{lib → types}/components/sections/footer/partials/FooterColumn.d.ts.map +0 -0
- /package/{lib → types}/components/sections/footer/partials/index.d.ts +0 -0
- /package/{lib → types}/components/sections/footer/partials/index.d.ts.map +0 -0
- /package/{lib → types}/components/sections/footer/skeletons/FooterArticle.d.ts +0 -0
- /package/{lib → types}/components/sections/footer/skeletons/FooterArticle.d.ts.map +0 -0
- /package/{lib → types}/components/sections/footer/skeletons/FooterBottomGrid.d.ts +0 -0
- /package/{lib → types}/components/sections/footer/skeletons/FooterBottomGrid.d.ts.map +0 -0
- /package/{lib → types}/components/sections/footer/skeletons/index.d.ts +0 -0
- /package/{lib → types}/components/sections/footer/skeletons/index.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/DynamicForm.d.ts +0 -0
- /package/{lib → types}/components/sections/form/DynamicForm.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/renderer/areaRenderer.d.ts +0 -0
- /package/{lib → types}/components/sections/form/renderer/areaRenderer.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/renderer/datepickerRenderer.d.ts +0 -0
- /package/{lib → types}/components/sections/form/renderer/datepickerRenderer.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/renderer/fieldGroupRenderer.d.ts +0 -0
- /package/{lib → types}/components/sections/form/renderer/fieldGroupRenderer.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/renderer/fieldRenderer.d.ts +0 -0
- /package/{lib → types}/components/sections/form/renderer/fieldRenderer.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/renderer/locationRenderer.d.ts +0 -0
- /package/{lib → types}/components/sections/form/renderer/locationRenderer.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/renderer/selectRenderer.d.ts +0 -0
- /package/{lib → types}/components/sections/form/renderer/selectRenderer.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/renderer/uploadRenderer.d.ts +0 -0
- /package/{lib → types}/components/sections/form/renderer/uploadRenderer.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/validators/areaValidator.d.ts +0 -0
- /package/{lib → types}/components/sections/form/validators/areaValidator.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/validators/datepickerValidator.d.ts +0 -0
- /package/{lib → types}/components/sections/form/validators/datepickerValidator.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/validators/fieldGroupValidator.d.ts +0 -0
- /package/{lib → types}/components/sections/form/validators/fieldGroupValidator.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/validators/fieldValidator.d.ts +0 -0
- /package/{lib → types}/components/sections/form/validators/fieldValidator.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/validators/locationValidator.d.ts +0 -0
- /package/{lib → types}/components/sections/form/validators/locationValidator.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/validators/selectValidator.d.ts +0 -0
- /package/{lib → types}/components/sections/form/validators/selectValidator.d.ts.map +0 -0
- /package/{lib → types}/components/sections/form/validators/uploadValidator.d.ts +0 -0
- /package/{lib → types}/components/sections/form/validators/uploadValidator.d.ts.map +0 -0
- /package/{lib → types}/components/sections/header/Header.d.ts +0 -0
- /package/{lib → types}/components/sections/header/Header.d.ts.map +0 -0
- /package/{lib → types}/components/sections/header/HeaderKenBurns.d.ts +0 -0
- /package/{lib → types}/components/sections/header/HeaderKenBurns.d.ts.map +0 -0
- /package/{lib → types}/components/sections/header/HeaderPoster.d.ts +0 -0
- /package/{lib → types}/components/sections/header/HeaderPoster.d.ts.map +0 -0
- /package/{lib → types}/components/sections/header/HeaderVideo.d.ts +0 -0
- /package/{lib → types}/components/sections/header/HeaderVideo.d.ts.map +0 -0
- /package/{lib → types}/components/sections/jobs/JobArticle.d.ts +0 -0
- /package/{lib → types}/components/sections/jobs/JobArticle.d.ts.map +0 -0
- /package/{lib → types}/components/sections/jobs/JobList.d.ts +0 -0
- /package/{lib → types}/components/sections/jobs/JobList.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/NavBar.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/NavBar.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/Navigation.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/Navigation.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/menu/Menu.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/menu/Menu.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/menu/variations/MenuFlyout.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/menu/variations/MenuLarge.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/partials/MenuFooter.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/partials/MenuFooter.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/partials/MenuHeader.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/partials/MenuHeader.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/partials/NavBarBottom.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/partials/NavBarBottom.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/partials/NavBarMain.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/partials/NavBarMain.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/partials/NavBarTop.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/partials/NavBarTop.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/partials/index.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/partials/index.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/skeletons/BarColumn.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/skeletons/BarColumn.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/skeletons/BarLogo.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/skeletons/BarLogo.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/skeletons/BarMenuToggle.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/skeletons/BarMenuToggle.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/skeletons/BarNavList.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/skeletons/BarNavList.d.ts.map +0 -0
- /package/{lib → types}/components/sections/navigation/skeletons/index.d.ts +0 -0
- /package/{lib → types}/components/sections/navigation/skeletons/index.d.ts.map +0 -0
- /package/{lib → types}/components/sections/news/NewsAuthorCard.d.ts +0 -0
- /package/{lib → types}/components/sections/news/NewsAuthorCard.d.ts.map +0 -0
- /package/{lib → types}/components/sections/news/NewsFooter.d.ts +0 -0
- /package/{lib → types}/components/sections/news/NewsFooter.d.ts.map +0 -0
- /package/{lib → types}/components/sections/news/NewsImages.d.ts +0 -0
- /package/{lib → types}/components/sections/news/NewsImages.d.ts.map +0 -0
- /package/{lib → types}/components/sections/news/NewsIntro.d.ts +0 -0
- /package/{lib → types}/components/sections/news/NewsIntro.d.ts.map +0 -0
- /package/{lib → types}/components/sections/news/NewsList.d.ts +0 -0
- /package/{lib → types}/components/sections/news/NewsList.d.ts.map +0 -0
- /package/{lib → types}/components/sections/news/NewsOverview.d.ts +0 -0
- /package/{lib → types}/components/sections/news/NewsOverview.d.ts.map +0 -0
- /package/{lib → types}/components/sections/news/NewsTable.d.ts +0 -0
- /package/{lib → types}/components/sections/news/NewsTable.d.ts.map +0 -0
- /package/{lib → types}/components/sections/news/NewsText.d.ts +0 -0
- /package/{lib → types}/components/sections/news/NewsText.d.ts.map +0 -0
- /package/{lib → types}/components/sections/news/NewsVideo.d.ts +0 -0
- /package/{lib → types}/components/sections/news/NewsVideo.d.ts.map +0 -0
- /package/{lib → types}/components/sections/pois/PointOfInterestDetail.d.ts +0 -0
- /package/{lib → types}/components/sections/pois/PointOfInterestDetail.d.ts.map +0 -0
- /package/{lib → types}/components/sections/pois/PointOfInterestMap.d.ts +0 -0
- /package/{lib → types}/components/sections/pois/PointOfInterestMap.d.ts.map +0 -0
- /package/{lib → types}/components/sections/pois/PointOfInterestOverview.d.ts +0 -0
- /package/{lib → types}/components/sections/pois/PointOfInterestOverview.d.ts.map +0 -0
- /package/{lib → types}/components/typography/Callout.d.ts +0 -0
- /package/{lib → types}/components/typography/Callout.d.ts.map +0 -0
- /package/{lib → types}/components/typography/Copy.d.ts +0 -0
- /package/{lib → types}/components/typography/Copy.d.ts.map +0 -0
- /package/{lib → types}/components/typography/Heading.d.ts +0 -0
- /package/{lib → types}/components/typography/Heading.d.ts.map +0 -0
- /package/{lib → types}/components/typography/Link.d.ts +0 -0
- /package/{lib → types}/components/typography/Link.d.ts.map +0 -0
- /package/{lib → types}/utils/LibThemeProvider.d.ts +0 -0
- /package/{lib → types}/utils/LibThemeProvider.d.ts.map +0 -0
- /package/{lib → types}/utils/arrays.d.ts +0 -0
- /package/{lib → types}/utils/arrays.d.ts.map +0 -0
- /package/{lib → types}/utils/backgroundImage.d.ts +0 -0
- /package/{lib → types}/utils/backgroundImage.d.ts.map +0 -0
- /package/{lib → types}/utils/clamp.d.ts +0 -0
- /package/{lib → types}/utils/clamp.d.ts.map +0 -0
- /package/{lib → types}/utils/concat.d.ts +0 -0
- /package/{lib → types}/utils/concat.d.ts.map +0 -0
- /package/{lib → types}/utils/cookie-consent/cookie.d.ts +0 -0
- /package/{lib → types}/utils/cookie-consent/cookie.d.ts.map +0 -0
- /package/{lib → types}/utils/cookie-consent/mutations.d.ts +0 -0
- /package/{lib → types}/utils/cookie-consent/mutations.d.ts.map +0 -0
- /package/{lib → types}/utils/cookie-consent/useCookieConsent.d.ts +0 -0
- /package/{lib → types}/utils/cookie-consent/useCookieConsent.d.ts.map +0 -0
- /package/{lib → types}/utils/dataURI.d.ts +0 -0
- /package/{lib → types}/utils/dataURI.d.ts.map +0 -0
- /package/{lib → types}/utils/escape.d.ts +0 -0
- /package/{lib → types}/utils/escape.d.ts.map +0 -0
- /package/{lib → types}/utils/filters.d.ts +0 -0
- /package/{lib → types}/utils/filters.d.ts.map +0 -0
- /package/{lib → types}/utils/fontLoading.d.ts +0 -0
- /package/{lib → types}/utils/fontLoading.d.ts.map +0 -0
- /package/{lib → types}/utils/formFieldText.d.ts +0 -0
- /package/{lib → types}/utils/formFieldText.d.ts.map +0 -0
- /package/{lib → types}/utils/getLinkIcon.d.ts +0 -0
- /package/{lib → types}/utils/getLinkIcon.d.ts.map +0 -0
- /package/{lib → types}/utils/hexRgbConverter.d.ts +0 -0
- /package/{lib → types}/utils/hexRgbConverter.d.ts.map +0 -0
- /package/{lib → types}/utils/menuHooks.d.ts +0 -0
- /package/{lib → types}/utils/menuHooks.d.ts.map +0 -0
- /package/{lib → types}/utils/navigation.d.ts +0 -0
- /package/{lib → types}/utils/navigation.d.ts.map +0 -0
- /package/{lib → types}/utils/statusFormatter.d.ts +0 -0
- /package/{lib → types}/utils/statusFormatter.d.ts.map +0 -0
- /package/{lib → types}/utils/storyHelpers.d.ts +0 -0
- /package/{lib → types}/utils/storyHelpers.d.ts.map +0 -0
- /package/{lib → types}/utils/structuredData.d.ts +0 -0
- /package/{lib → types}/utils/structuredData.d.ts.map +0 -0
- /package/{lib → types}/utils/styles.d.ts +0 -0
- /package/{lib → types}/utils/styles.d.ts.map +0 -0
- /package/{lib → types}/utils/types.d.ts +0 -0
- /package/{lib → types}/utils/types.d.ts.map +0 -0
- /package/{lib → types}/utils/urlParams.d.ts +0 -0
- /package/{lib → types}/utils/urlParams.d.ts.map +0 -0
- /package/{lib → types}/utils/useArray.d.ts +0 -0
- /package/{lib → types}/utils/useArray.d.ts.map +0 -0
- /package/{lib → types}/utils/useDebounce.d.ts +0 -0
- /package/{lib → types}/utils/useDebounce.d.ts.map +0 -0
- /package/{lib → types}/utils/useEqualSheetHeight.d.ts +0 -0
- /package/{lib → types}/utils/useEqualSheetHeight.d.ts.map +0 -0
- /package/{lib → types}/utils/useFontsLoaded.d.ts +0 -0
- /package/{lib → types}/utils/useFontsLoaded.d.ts.map +0 -0
- /package/{lib → types}/utils/useGeolocation.d.ts +0 -0
- /package/{lib → types}/utils/useGeolocation.d.ts.map +0 -0
- /package/{lib → types}/utils/useIE.d.ts +0 -0
- /package/{lib → types}/utils/useIE.d.ts.map +0 -0
- /package/{lib → types}/utils/useImgPreload.d.ts +0 -0
- /package/{lib → types}/utils/useImgPreload.d.ts.map +0 -0
- /package/{lib → types}/utils/useInterval.d.ts +0 -0
- /package/{lib → types}/utils/useInterval.d.ts.map +0 -0
- /package/{lib → types}/utils/useItemHeight.d.ts +0 -0
- /package/{lib → types}/utils/useItemHeight.d.ts.map +0 -0
- /package/{lib → types}/utils/useLazyInput.d.ts +0 -0
- /package/{lib → types}/utils/useLazyInput.d.ts.map +0 -0
- /package/{lib → types}/utils/useLeafletMap.d.ts +0 -0
- /package/{lib → types}/utils/useLeafletMap.d.ts.map +0 -0
- /package/{lib → types}/utils/useMediaQuery.d.ts +0 -0
- /package/{lib → types}/utils/useMediaQuery.d.ts.map +0 -0
- /package/{lib → types}/utils/useMounted.d.ts +0 -0
- /package/{lib → types}/utils/useMounted.d.ts.map +0 -0
- /package/{lib → types}/utils/useObserverSupport.d.ts +0 -0
- /package/{lib → types}/utils/useObserverSupport.d.ts.map +0 -0
- /package/{lib → types}/utils/usePageScroll.d.ts +0 -0
- /package/{lib → types}/utils/usePageScroll.d.ts.map +0 -0
- /package/{lib → types}/utils/useParams.d.ts +0 -0
- /package/{lib → types}/utils/useParams.d.ts.map +0 -0
- /package/{lib → types}/utils/usePoster.d.ts +0 -0
- /package/{lib → types}/utils/usePoster.d.ts.map +0 -0
- /package/{lib → types}/utils/usePrevious.d.ts +0 -0
- /package/{lib → types}/utils/usePrevious.d.ts.map +0 -0
- /package/{lib → types}/utils/useResizeThrottle.d.ts +0 -0
- /package/{lib → types}/utils/useResizeThrottle.d.ts.map +0 -0
- /package/{lib → types}/utils/useScroll.d.ts +0 -0
- /package/{lib → types}/utils/useScroll.d.ts.map +0 -0
- /package/{lib → types}/utils/useScrollIntoView.d.ts +0 -0
- /package/{lib → types}/utils/useScrollIntoView.d.ts.map +0 -0
- /package/{lib → types}/utils/useScrollThrottle.d.ts +0 -0
- /package/{lib → types}/utils/useScrollThrottle.d.ts.map +0 -0
- /package/{lib → types}/utils/useScrollTo.d.ts +0 -0
- /package/{lib → types}/utils/useScrollTo.d.ts.map +0 -0
- /package/{lib → types}/utils/useTimeout.d.ts +0 -0
- /package/{lib → types}/utils/useTimeout.d.ts.map +0 -0
- /package/{lib → types}/utils/useTouch.d.ts +0 -0
- /package/{lib → types}/utils/useTouch.d.ts.map +0 -0
- /package/{lib → types}/utils/useUpdateEffect.d.ts +0 -0
- /package/{lib → types}/utils/useUpdateEffect.d.ts.map +0 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { a as __makeTemplateObject } from './ClockFilled-62515a8f.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import styled from 'styled-components';
|
|
4
|
+
import { C as Copy, c as copyStyle } from './Copy-a28aeb61.js';
|
|
5
|
+
import { s as spacings, a as getFonts, g as getColors, c as getGlobals, w as withRange } from './styles-da982973.js';
|
|
6
|
+
import { u as useLibTheme } from './LibThemeProvider-52555ac9.js';
|
|
7
|
+
import { c as clampValue } from './clamp-12d37b65.js';
|
|
8
|
+
|
|
9
|
+
var View = styled.label.withConfig({
|
|
10
|
+
displayName: "FormField__View",
|
|
11
|
+
componentId: "sc-1rjz0eq-0"
|
|
12
|
+
})(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n display: block;\n text-align: left;\n\n pointer-events: ", ";\n user-select: ", ";\n opacity: ", ";\n"], ["\n display: block;\n text-align: left;\n\n pointer-events: ", ";\n user-select: ", ";\n opacity: ", ";\n"])), function (_a) {
|
|
13
|
+
var isDisabled = _a.isDisabled;
|
|
14
|
+
return isDisabled && 'none';
|
|
15
|
+
}, function (_a) {
|
|
16
|
+
var isDisabled = _a.isDisabled;
|
|
17
|
+
return isDisabled && 'none';
|
|
18
|
+
}, function (_a) {
|
|
19
|
+
var isDisabled = _a.isDisabled;
|
|
20
|
+
return isDisabled ? 0.3 : 1;
|
|
21
|
+
});
|
|
22
|
+
var FieldHead = styled(Copy).withConfig({
|
|
23
|
+
displayName: "FormField__FieldHead",
|
|
24
|
+
componentId: "sc-1rjz0eq-1"
|
|
25
|
+
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: inline-flex;\n flex-direction: row;\n align-items: top;\n justify-content: space-between;\n padding-bottom: ", "px;\n"], ["\n display: inline-flex;\n flex-direction: row;\n align-items: top;\n justify-content: space-between;\n padding-bottom: ", "px;\n"])), spacings.nudge);
|
|
26
|
+
var FieldMessage = styled(Copy).withConfig({
|
|
27
|
+
displayName: "FormField__FieldMessage",
|
|
28
|
+
componentId: "sc-1rjz0eq-2"
|
|
29
|
+
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n margin-top: ", "px;\n"], ["\n margin-top: ", "px;\n"])), spacings.nudge);
|
|
30
|
+
|
|
31
|
+
var FieldWrapper = function (_a) {
|
|
32
|
+
var isDisabled = _a.isDisabled,
|
|
33
|
+
onClick = _a.onClick,
|
|
34
|
+
className = _a.className,
|
|
35
|
+
children = _a.children;
|
|
36
|
+
return React__default.createElement(View, {
|
|
37
|
+
onClick: onClick,
|
|
38
|
+
isDisabled: isDisabled,
|
|
39
|
+
className: className
|
|
40
|
+
}, children);
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
var Head = function (_a) {
|
|
44
|
+
var label = _a.label,
|
|
45
|
+
isRequired = _a.isRequired,
|
|
46
|
+
isInverted = _a.isInverted,
|
|
47
|
+
className = _a.className;
|
|
48
|
+
if (!label) return null;
|
|
49
|
+
return React__default.createElement(FieldHead, {
|
|
50
|
+
renderAs: "span",
|
|
51
|
+
isInverted: isInverted,
|
|
52
|
+
size: "small",
|
|
53
|
+
type: "copy-b",
|
|
54
|
+
className: className
|
|
55
|
+
}, "".concat(label).concat(isRequired ? ' *' : ''));
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
var Messages = function (_a) {
|
|
59
|
+
var errorMessage = _a.errorMessage,
|
|
60
|
+
infoMessage = _a.infoMessage,
|
|
61
|
+
isInverted = _a.isInverted;
|
|
62
|
+
var colors = useLibTheme().colors;
|
|
63
|
+
return React__default.createElement(React__default.Fragment, null, infoMessage && React__default.createElement(FieldMessage, {
|
|
64
|
+
size: "small",
|
|
65
|
+
type: "copy",
|
|
66
|
+
isInverted: isInverted
|
|
67
|
+
}, infoMessage), errorMessage && React__default.createElement(FieldMessage, {
|
|
68
|
+
size: "small",
|
|
69
|
+
type: "copy",
|
|
70
|
+
textColor: isInverted ? colors.text.errorInverted : colors.text.error
|
|
71
|
+
}, errorMessage ? errorMessage : 'Bitte geben Sie einen gültigen Text ein'));
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
var Content = function (_a) {
|
|
75
|
+
var children = _a.children;
|
|
76
|
+
var addWrapper = typeof children === 'string' || children instanceof String;
|
|
77
|
+
if (addWrapper) return React__default.createElement("span", null, children);
|
|
78
|
+
return React__default.createElement(React__default.Fragment, null, children);
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
var FieldWrapper$1 = {
|
|
82
|
+
View: FieldWrapper,
|
|
83
|
+
Head: Head,
|
|
84
|
+
Messages: Messages,
|
|
85
|
+
Content: Content
|
|
86
|
+
};
|
|
87
|
+
var templateObject_1$1, templateObject_2, templateObject_3;
|
|
88
|
+
|
|
89
|
+
var getFormFieldTextSize = function (theme) {
|
|
90
|
+
var min = clampValue(getFonts(theme).copy.small.size[0], 16);
|
|
91
|
+
var max = getFonts(theme).copy.small.size[1];
|
|
92
|
+
return [min, max];
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
var InputField = styled.input.withConfig({
|
|
96
|
+
displayName: "Textfield__InputField",
|
|
97
|
+
componentId: "sc-11gw2iv-0"
|
|
98
|
+
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: block;\n outline: none;\n width: 100%;\n min-height: 40px;\n box-shadow: none;\n\n border-radius: 0px;\n -webkit-appearance: none;\n\n padding: ", "px;\n\n border: 1px solid\n ", ";\n border-radius: ", ";\n\n background: transparent;\n\n ", "\n /** Clamping min font size to 16px to prevent browser zooming */\n ", "\n\n color: ", ";\n\n &:active {\n border: ", ";\n }\n\n &:focus {\n outline: ", ";\n outline-offset: 0;\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &::placeholder {\n color: ", ";\n }\n"], ["\n display: block;\n outline: none;\n width: 100%;\n min-height: 40px;\n box-shadow: none;\n\n border-radius: 0px;\n -webkit-appearance: none;\n\n padding: ", "px;\n\n border: 1px solid\n ", ";\n border-radius: ", ";\n\n background: transparent;\n\n ", "\n /** Clamping min font size to 16px to prevent browser zooming */\n ", "\n\n color: ", ";\n\n &:active {\n border: ", ";\n }\n\n &:focus {\n outline: ", ";\n outline-offset: 0;\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &::placeholder {\n color: ", ";\n }\n"])), spacings.nudge, function (_a) {
|
|
99
|
+
var theme = _a.theme,
|
|
100
|
+
isInverted = _a.isInverted,
|
|
101
|
+
hasError = _a.hasError;
|
|
102
|
+
|
|
103
|
+
if (isInverted) {
|
|
104
|
+
return hasError ? getColors(theme).errorInverted : getColors(theme).elementBg.light;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
return hasError ? getColors(theme).error : getColors(theme).elementBg.dark;
|
|
108
|
+
}, function (_a) {
|
|
109
|
+
var theme = _a.theme;
|
|
110
|
+
return getGlobals(theme).sections.edgeRadius;
|
|
111
|
+
}, copyStyle('copy', 'small'), function (_a) {
|
|
112
|
+
var theme = _a.theme;
|
|
113
|
+
return withRange(getFormFieldTextSize(theme), 'font-size');
|
|
114
|
+
}, function (_a) {
|
|
115
|
+
var theme = _a.theme,
|
|
116
|
+
isInverted = _a.isInverted,
|
|
117
|
+
hasError = _a.hasError;
|
|
118
|
+
|
|
119
|
+
if (isInverted) {
|
|
120
|
+
return hasError ? getColors(theme).text.errorInverted : getFonts(theme).copy.small.colorInverted;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
return hasError ? getColors(theme).text.error : getFonts(theme).copy.small.color;
|
|
124
|
+
}, function (_a) {
|
|
125
|
+
var theme = _a.theme,
|
|
126
|
+
isInverted = _a.isInverted;
|
|
127
|
+
return "1px solid ".concat(isInverted ? getColors(theme).primary.inverted : getColors(theme).primary.default);
|
|
128
|
+
}, function (_a) {
|
|
129
|
+
var theme = _a.theme,
|
|
130
|
+
isInverted = _a.isInverted;
|
|
131
|
+
return "1px solid ".concat(isInverted ? getColors(theme).primary.inverted : getColors(theme).primary.default);
|
|
132
|
+
}, function (_a) {
|
|
133
|
+
var theme = _a.theme,
|
|
134
|
+
isInverted = _a.isInverted;
|
|
135
|
+
return isInverted ? getColors(theme).text.subtileInverted : getColors(theme).text.subtile;
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
var Textfield = function (_a) {
|
|
139
|
+
var _b = _a.type,
|
|
140
|
+
type = _b === void 0 ? 'text' : _b,
|
|
141
|
+
label = _a.label,
|
|
142
|
+
errorMessage = _a.errorMessage,
|
|
143
|
+
infoMessage = _a.infoMessage,
|
|
144
|
+
isRequired = _a.isRequired,
|
|
145
|
+
isDisabled = _a.isDisabled,
|
|
146
|
+
isInverted = _a.isInverted,
|
|
147
|
+
placeholder = _a.placeholder,
|
|
148
|
+
value = _a.value,
|
|
149
|
+
name = _a.name,
|
|
150
|
+
onChange = _a.onChange,
|
|
151
|
+
onBlur = _a.onBlur;
|
|
152
|
+
|
|
153
|
+
if (isDisabled) {
|
|
154
|
+
errorMessage = '';
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
return React__default.createElement(FieldWrapper$1.View, {
|
|
158
|
+
isDisabled: isDisabled
|
|
159
|
+
}, React__default.createElement(FieldWrapper$1.Head, {
|
|
160
|
+
label: label,
|
|
161
|
+
isRequired: isRequired,
|
|
162
|
+
isInverted: isInverted
|
|
163
|
+
}), React__default.createElement(FieldWrapper$1.Content, null, React__default.createElement(InputField, {
|
|
164
|
+
placeholder: placeholder,
|
|
165
|
+
hasError: !!errorMessage,
|
|
166
|
+
type: type,
|
|
167
|
+
isInverted: isInverted,
|
|
168
|
+
name: name,
|
|
169
|
+
value: value,
|
|
170
|
+
required: isRequired,
|
|
171
|
+
onChange: onChange,
|
|
172
|
+
onBlur: onBlur
|
|
173
|
+
})), React__default.createElement(FieldWrapper$1.Messages, {
|
|
174
|
+
infoMessage: infoMessage,
|
|
175
|
+
errorMessage: errorMessage,
|
|
176
|
+
isInverted: isInverted
|
|
177
|
+
}));
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* Function to compare both field prop states
|
|
181
|
+
* @param prev Previous props
|
|
182
|
+
* @param next Next props
|
|
183
|
+
* @returns
|
|
184
|
+
*/
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
var areEqual = function (prev, next) {
|
|
188
|
+
// only apply logic if memo functionality is enabled
|
|
189
|
+
if (!prev.enableMemo) return false;
|
|
190
|
+
if (prev.value !== next.value) return false;
|
|
191
|
+
if (prev.errorMessage !== next.errorMessage) return false;
|
|
192
|
+
if (prev.infoMessage !== next.infoMessage) return false;
|
|
193
|
+
if (prev.label !== next.label) return false;
|
|
194
|
+
if (prev.placeholder !== next.placeholder) return false;
|
|
195
|
+
return true;
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
var Textfield$1 = React__default.memo(Textfield, areEqual);
|
|
199
|
+
var templateObject_1;
|
|
200
|
+
|
|
201
|
+
export { FieldWrapper$1 as F, Textfield$1 as T, getFormFieldTextSize as g };
|
|
202
|
+
//# sourceMappingURL=Textfield-d2f201a9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Textfield-d2f201a9.js","sources":["../src/components/fields/FormField.tsx","../src/utils/formFieldText.ts","../src/components/fields/Textfield.tsx"],"sourcesContent":["import React from 'react';\nimport styled from 'styled-components';\n\nimport Copy from 'components/typography/Copy';\nimport { useLibTheme } from 'utils/LibThemeProvider';\nimport { spacings } from 'utils/styles';\n\nconst View = styled.label<{ isDisabled?: boolean }>`\n display: block;\n text-align: left;\n\n pointer-events: ${({ isDisabled }) => isDisabled && 'none'};\n user-select: ${({ isDisabled }) => isDisabled && 'none'};\n opacity: ${({ isDisabled }) => (isDisabled ? 0.3 : 1)};\n`;\n\nconst FieldHead = styled(Copy)`\n display: inline-flex;\n flex-direction: row;\n align-items: top;\n justify-content: space-between;\n padding-bottom: ${spacings.nudge}px;\n`;\n\nconst FieldMessage = styled(Copy)`\n margin-top: ${spacings.nudge}px;\n`;\n\nexport interface FieldProps {\n label?: string;\n errorMessage?: string;\n infoMessage?: string;\n isRequired?: boolean;\n isDisabled?: boolean;\n isInverted?: boolean;\n}\n\nconst FieldWrapper: React.FC<{\n isDisabled?: boolean;\n onClick?: (ev: React.SyntheticEvent<HTMLLabelElement>) => void;\n className?: string;\n children: React.ReactNode;\n}> = ({ isDisabled, onClick, className, children }) => {\n return (\n <View onClick={onClick} isDisabled={isDisabled} className={className}>\n {children}\n </View>\n );\n};\n\nconst Head: React.FC<{\n label?: string;\n isRequired?: boolean;\n isInverted?: boolean;\n className?: string;\n}> = ({ label, isRequired, isInverted, className }) => {\n if (!label) return null;\n return (\n <FieldHead\n renderAs=\"span\"\n isInverted={isInverted}\n size=\"small\"\n type=\"copy-b\"\n className={className}\n >\n {`${label}${isRequired ? ' *' : ''}`}\n </FieldHead>\n );\n};\n\nconst Messages: React.FC<{\n errorMessage?: string;\n infoMessage?: string;\n isInverted?: boolean;\n}> = ({ errorMessage, infoMessage, isInverted }) => {\n const { colors } = useLibTheme();\n\n return (\n <React.Fragment>\n {infoMessage && (\n <FieldMessage size=\"small\" type=\"copy\" isInverted={isInverted}>\n {infoMessage}\n </FieldMessage>\n )}\n {errorMessage && (\n <FieldMessage\n size=\"small\"\n type=\"copy\"\n textColor={\n isInverted\n ? colors.text.errorInverted\n : colors.text.error\n }\n >\n {errorMessage\n ? errorMessage\n : 'Bitte geben Sie einen gültigen Text ein'}\n </FieldMessage>\n )}\n </React.Fragment>\n );\n};\n\nconst Content: React.FC<{ children: React.ReactNode }> = ({ children }) => {\n const addWrapper =\n typeof children === 'string' || children instanceof String;\n\n if (addWrapper) return <span>{children}</span>;\n return <React.Fragment>{children}</React.Fragment>;\n};\n\nexport default {\n View: FieldWrapper,\n Head: Head,\n Messages: Messages,\n Content: Content,\n};\n","import { DefaultTheme } from 'styled-components';\n\nimport { getFonts as font } from 'utils/styles';\nimport { clampValue } from './clamp';\n\nexport const getFormFieldTextSize = (\n theme: DefaultTheme\n): [number, number?] => {\n const min = clampValue(font(theme).copy.small.size[0], 16);\n const max = font(theme).copy.small.size[1];\n return [min, max];\n};\n","import React from 'react';\nimport styled from 'styled-components';\n\nimport { copyStyle } from 'components/typography/Copy';\nimport {\n getColors as color,\n getFonts as font,\n spacings,\n getGlobals as global,\n withRange,\n} from 'utils/styles';\nimport FieldWrapper, { FieldProps } from './FormField';\nimport { getFormFieldTextSize } from 'utils/formFieldText';\n\nconst InputField = styled.input<{\n isInverted?: boolean;\n hasError?: boolean;\n}>`\n display: block;\n outline: none;\n width: 100%;\n min-height: 40px;\n box-shadow: none;\n\n border-radius: 0px;\n -webkit-appearance: none;\n\n padding: ${spacings.nudge}px;\n\n border: 1px solid\n ${({ theme, isInverted, hasError }) => {\n if (isInverted) {\n return hasError\n ? color(theme).errorInverted\n : color(theme).elementBg.light;\n }\n return hasError ? color(theme).error : color(theme).elementBg.dark;\n }};\n border-radius: ${({ theme }) => global(theme).sections.edgeRadius};\n\n background: transparent;\n\n ${copyStyle('copy', 'small')}\n /** Clamping min font size to 16px to prevent browser zooming */\n ${({ theme }) => withRange(getFormFieldTextSize(theme), 'font-size')}\n\n color: ${({ theme, isInverted, hasError }) => {\n if (isInverted) {\n return hasError\n ? color(theme).text.errorInverted\n : font(theme).copy.small.colorInverted;\n }\n return hasError\n ? color(theme).text.error\n : font(theme).copy.small.color;\n }};\n\n &:active {\n border: ${({ theme, isInverted }) =>\n `1px solid ${\n isInverted\n ? color(theme).primary.inverted\n : color(theme).primary.default\n }`};\n }\n\n &:focus {\n outline: ${({ theme, isInverted }) =>\n `1px solid ${\n isInverted\n ? color(theme).primary.inverted\n : color(theme).primary.default\n }`};\n outline-offset: 0;\n }\n\n &:focus:not(:focus-visible) {\n outline: none;\n }\n\n &::placeholder {\n color: ${({ theme, isInverted }) =>\n isInverted\n ? color(theme).text.subtileInverted\n : color(theme).text.subtile};\n }\n`;\n\nexport type FormProps = FieldProps & {\n value?: string;\n name?: string;\n placeholder?: string;\n};\n\nexport type TextfieldProps = FormProps & {\n enableMemo?: boolean;\n type?: 'number' | 'text' | 'tel' | 'email' | 'password';\n isInverted?: boolean;\n onChange?: (ev: React.SyntheticEvent<HTMLInputElement>) => void;\n onBlur?: (ev: React.SyntheticEvent<HTMLInputElement>) => void;\n};\n\nconst Textfield: React.FC<TextfieldProps> = ({\n type = 'text',\n label,\n errorMessage,\n infoMessage,\n isRequired,\n isDisabled,\n isInverted,\n placeholder,\n value,\n name,\n onChange,\n onBlur,\n}) => {\n if (isDisabled) {\n errorMessage = '';\n }\n\n return (\n <FieldWrapper.View isDisabled={isDisabled}>\n <FieldWrapper.Head\n label={label}\n isRequired={isRequired}\n isInverted={isInverted}\n />\n <FieldWrapper.Content>\n <InputField\n placeholder={placeholder}\n hasError={!!errorMessage}\n type={type}\n isInverted={isInverted}\n name={name}\n value={value}\n required={isRequired}\n onChange={onChange}\n onBlur={onBlur}\n />\n </FieldWrapper.Content>\n <FieldWrapper.Messages\n infoMessage={infoMessage}\n errorMessage={errorMessage}\n isInverted={isInverted}\n />\n </FieldWrapper.View>\n );\n};\n\n/**\n * Function to compare both field prop states\n * @param prev Previous props\n * @param next Next props\n * @returns\n */\nconst areEqual = (prev: TextfieldProps, next: TextfieldProps) => {\n // only apply logic if memo functionality is enabled\n if (!prev.enableMemo) return false;\n\n if (prev.value !== next.value) return false;\n if (prev.errorMessage !== next.errorMessage) return false;\n if (prev.infoMessage !== next.infoMessage) return false;\n if (prev.label !== next.label) return false;\n if (prev.placeholder !== next.placeholder) return false;\n\n return true;\n};\n\nexport default React.memo(Textfield, areEqual);\n"],"names":["View","styled","label","templateObject_1","__makeTemplateObject","_a","isDisabled","FieldHead","Copy","templateObject_2","spacings","nudge","FieldMessage","templateObject_3","FieldWrapper","onClick","className","children","React","createElement","Head","isRequired","isInverted","renderAs","size","type","concat","Messages","errorMessage","infoMessage","colors","useLibTheme","Fragment","textColor","text","errorInverted","error","Content","addWrapper","String","getFormFieldTextSize","theme","min","clampValue","font","copy","small","max","InputField","input","hasError","color","elementBg","light","dark","global","sections","edgeRadius","copyStyle","withRange","colorInverted","primary","inverted","default","subtileInverted","subtile","Textfield","_b","placeholder","value","name","onChange","onBlur","required","areEqual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,CADJ,CANJ,EAmBItD,cAAA,CAAAC,aAAA,CAACL,cAAY,CAACa,QAAd;AACIE,IAAAA,WAAW,EAAEA;AACbD,IAAAA,YAAY,EAAEA;AACdN,IAAAA,UAAU,EAAEA,UAAAA;GAHhB,CAnBJ,CADJ,CAAA;AA2BH,CA7CD,CAAA;AA+CA;;;;;AAKG;;;AACH,IAAMoD,QAAQ,GAAG,UAACC,IAAD,EAAuBC,IAAvB,EAA2C;AACxD;AACA,EAAA,IAAI,CAACD,IAAI,CAACE,UAAV,EAAsB,OAAO,KAAP,CAAA;AAEtB,EAAIF,IAAAA,IAAI,CAACN,KAAL,KAAeO,IAAI,CAACP,KAAxB,EAA+B,OAAO,KAAP,CAAA;AAC/B,EAAIM,IAAAA,IAAI,CAAC/C,YAAL,KAAsBgD,IAAI,CAAChD,YAA/B,EAA6C,OAAO,KAAP,CAAA;AAC7C,EAAI+C,IAAAA,IAAI,CAAC9C,WAAL,KAAqB+C,IAAI,CAAC/C,WAA9B,EAA2C,OAAO,KAAP,CAAA;AAC3C,EAAI8C,IAAAA,IAAI,CAACzE,KAAL,KAAe0E,IAAI,CAAC1E,KAAxB,EAA+B,OAAO,KAAP,CAAA;AAC/B,EAAIyE,IAAAA,IAAI,CAACP,WAAL,KAAqBQ,IAAI,CAACR,WAA9B,EAA2C,OAAO,KAAP,CAAA;AAE3C,EAAA,OAAO,IAAP,CAAA;AACH,CAXD,CAAA;;AAaA,kBAAelD,cAAK,CAAC4D,IAAN,CAAWZ,SAAX,EAAsBQ,QAAtB,CAAf,CAAA;;;;;"}
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { a as __makeTemplateObject, _ as __assign } from './ClockFilled-62515a8f.js';
|
|
2
|
+
import React__default, { forwardRef, useRef, useImperativeHandle, useEffect } from 'react';
|
|
3
|
+
import styled, { css } from 'styled-components';
|
|
4
|
+
import { m as mq, s as spacings, c as getGlobals } from './styles-da982973.js';
|
|
5
|
+
import { T as Title } from './TableBlock-cc49e089.js';
|
|
6
|
+
import { C as Copy } from './Copy-a28aeb61.js';
|
|
7
|
+
import { A as Actions } from './Actions-21372b3a.js';
|
|
8
|
+
import { I as Image } from './Image-dc2b33c1.js';
|
|
9
|
+
|
|
10
|
+
var View = styled.div.withConfig({
|
|
11
|
+
displayName: "IntroBlock__View",
|
|
12
|
+
componentId: "sc-w71lok-0"
|
|
13
|
+
})(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n display: block;\n margin: 0;\n padding: 0;\n width: 100%;\n text-align: ", ";\n\n @media ", " {\n display: flex;\n flex-direction: row;\n\n & > * + * {\n margin-left: ", "px;\n }\n }\n"], ["\n display: block;\n margin: 0;\n padding: 0;\n width: 100%;\n text-align: ", ";\n\n @media ", " {\n display: flex;\n flex-direction: row;\n\n & > * + * {\n margin-left: ", "px;\n }\n }\n"])), function (_a) {
|
|
14
|
+
var isCentered = _a.isCentered;
|
|
15
|
+
return isCentered && 'center';
|
|
16
|
+
}, mq.semilarge, spacings.spacer);
|
|
17
|
+
var Content = styled.div.withConfig({
|
|
18
|
+
displayName: "IntroBlock__Content",
|
|
19
|
+
componentId: "sc-w71lok-1"
|
|
20
|
+
})(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n & > * + * {\n margin-top: ", "px;\n }\n\n max-width: 100%;\n\n @media ", " {\n flex: 1 0 66.66%;\n }\n"], ["\n & > * + * {\n margin-top: ", "px;\n }\n\n max-width: 100%;\n\n @media ", " {\n flex: 1 0 66.66%;\n }\n"])), spacings.spacer, mq.semilarge);
|
|
21
|
+
var StyledTitle = styled(Title).withConfig({
|
|
22
|
+
displayName: "IntroBlock__StyledTitle",
|
|
23
|
+
componentId: "sc-w71lok-2"
|
|
24
|
+
})(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n max-width: ", ";\n"], ["\n max-width: ", ";\n"])), function (_a) {
|
|
25
|
+
var clamp = _a.clamp;
|
|
26
|
+
return clamp && '880px';
|
|
27
|
+
});
|
|
28
|
+
var ContentBlock = styled(Copy).withConfig({
|
|
29
|
+
displayName: "IntroBlock__ContentBlock",
|
|
30
|
+
componentId: "sc-w71lok-3"
|
|
31
|
+
})(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n display: block;\n max-width: ", ";\n margin-left: ", ";\n margin-right: ", ";\n\n ", "\n\n & + & {\n margin-top: ", "px;\n }\n"], ["\n display: block;\n max-width: ", ";\n margin-left: ", ";\n margin-right: ", ";\n\n ", "\n\n & + & {\n margin-top: ", "px;\n }\n"])), function (_a) {
|
|
32
|
+
var clamp = _a.clamp;
|
|
33
|
+
return clamp && '880px';
|
|
34
|
+
}, function (_a) {
|
|
35
|
+
var isCentered = _a.isCentered;
|
|
36
|
+
return isCentered && 'auto';
|
|
37
|
+
}, function (_a) {
|
|
38
|
+
var isCentered = _a.isCentered;
|
|
39
|
+
return isCentered && 'auto';
|
|
40
|
+
}, function (_a) {
|
|
41
|
+
var maxLines = _a.maxLines;
|
|
42
|
+
return maxLines && maxLines > 0 && css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: ", "; /* number of lines to show */\n line-clamp: ", ";\n -webkit-box-orient: vertical;\n "], ["\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: ", "; /* number of lines to show */\n line-clamp: ", ";\n -webkit-box-orient: vertical;\n "])), maxLines, maxLines);
|
|
43
|
+
}, spacings.nudge * 3);
|
|
44
|
+
var StyledActions = styled(Actions).withConfig({
|
|
45
|
+
displayName: "IntroBlock__StyledActions",
|
|
46
|
+
componentId: "sc-w71lok-4"
|
|
47
|
+
})(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n @media ", " {\n display: block;\n text-align: ", ";\n }\n"], ["\n @media ", " {\n display: block;\n text-align: ", ";\n }\n"])), mq.medium, function (_a) {
|
|
48
|
+
var isCentered = _a.isCentered;
|
|
49
|
+
return isCentered && 'center';
|
|
50
|
+
});
|
|
51
|
+
var MobileImageContainer = styled.div.withConfig({
|
|
52
|
+
displayName: "IntroBlock__MobileImageContainer",
|
|
53
|
+
componentId: "sc-w71lok-5"
|
|
54
|
+
})(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n max-width: 400px;\n max-height: ", ";\n text-align: center;\n\n margin: 0 auto;\n margin-top: ", "px;\n\n @media ", " {\n display: ", ";\n }\n"], ["\n width: 100%;\n height: 100%;\n max-width: 400px;\n max-height: ", ";\n text-align: center;\n\n margin: 0 auto;\n margin-top: ", "px;\n\n @media ", " {\n display: ", ";\n }\n"])), function (_a) {
|
|
55
|
+
var coverSpace = _a.coverSpace;
|
|
56
|
+
return coverSpace && '400px';
|
|
57
|
+
}, spacings.spacer, mq.semilarge, function (_a) {
|
|
58
|
+
var isCentered = _a.isCentered;
|
|
59
|
+
return isCentered ? 'block' : 'none';
|
|
60
|
+
});
|
|
61
|
+
var DesktopImageContainer = styled.div.withConfig({
|
|
62
|
+
displayName: "IntroBlock__DesktopImageContainer",
|
|
63
|
+
componentId: "sc-w71lok-6"
|
|
64
|
+
})(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: none;\n width: 100%;\n\n @media ", " {\n display: block;\n\n max-width: 400px;\n max-width: calc(100% - 66.66% - ", "px);\n }\n"], ["\n display: none;\n width: 100%;\n\n @media ", " {\n display: block;\n\n max-width: 400px;\n max-width: calc(100% - 66.66% - ", "px);\n }\n"])), mq.semilarge, spacings.spacer);
|
|
65
|
+
|
|
66
|
+
var IntroBlock = function (_a) {
|
|
67
|
+
var _b = _a.renderAs,
|
|
68
|
+
renderAs = _b === void 0 ? 'div' : _b,
|
|
69
|
+
_c = _a.colorMode,
|
|
70
|
+
colorMode = _c === void 0 ? 'default' : _c,
|
|
71
|
+
title = _a.title,
|
|
72
|
+
titleAs = _a.titleAs,
|
|
73
|
+
_d = _a.titleSize,
|
|
74
|
+
titleSize = _d === void 0 ? 'heading-2' : _d,
|
|
75
|
+
superTitle = _a.superTitle,
|
|
76
|
+
superTitleAs = _a.superTitleAs,
|
|
77
|
+
abstract = _a.abstract,
|
|
78
|
+
text = _a.text,
|
|
79
|
+
_e = _a.textType,
|
|
80
|
+
textType = _e === void 0 ? 'copy' : _e,
|
|
81
|
+
_f = _a.textSize,
|
|
82
|
+
textSize = _f === void 0 ? 'medium' : _f,
|
|
83
|
+
primaryAction = _a.primaryAction,
|
|
84
|
+
secondaryAction = _a.secondaryAction,
|
|
85
|
+
_g = _a.isCentered,
|
|
86
|
+
isCentered = _g === void 0 ? false : _g,
|
|
87
|
+
_h = _a.clampTitle,
|
|
88
|
+
clampTitle = _h === void 0 ? false : _h,
|
|
89
|
+
_j = _a.clampAbstract,
|
|
90
|
+
clampAbstract = _j === void 0 ? false : _j,
|
|
91
|
+
maxTitleLines = _a.maxTitleLines,
|
|
92
|
+
maxAbstractLines = _a.maxAbstractLines,
|
|
93
|
+
_k = _a.clampText,
|
|
94
|
+
clampText = _k === void 0 ? false : _k,
|
|
95
|
+
maxTextLines = _a.maxTextLines,
|
|
96
|
+
className = _a.className,
|
|
97
|
+
titleHyphens = _a.titleHyphens,
|
|
98
|
+
image = _a.image;
|
|
99
|
+
var isInverted = colorMode === 'inverted' || colorMode === 'onImage';
|
|
100
|
+
var coverSpace = (image === null || image === void 0 ? void 0 : image.coverSpace) === false ? false : true;
|
|
101
|
+
return React__default.createElement(View, {
|
|
102
|
+
as: renderAs,
|
|
103
|
+
isCentered: isCentered,
|
|
104
|
+
className: className
|
|
105
|
+
}, React__default.createElement(Content, null, (title || superTitle) && React__default.createElement(StyledTitle, {
|
|
106
|
+
colorMode: colorMode,
|
|
107
|
+
title: title,
|
|
108
|
+
titleAs: titleAs,
|
|
109
|
+
titleSize: titleSize,
|
|
110
|
+
superTitle: superTitle,
|
|
111
|
+
superTitleAs: superTitleAs,
|
|
112
|
+
isCentered: isCentered,
|
|
113
|
+
clamp: clampTitle,
|
|
114
|
+
maxLines: maxTitleLines,
|
|
115
|
+
titleHyphens: titleHyphens
|
|
116
|
+
}), (image === null || image === void 0 ? void 0 : image.small) && React__default.createElement(MobileImageContainer, {
|
|
117
|
+
isCentered: isCentered,
|
|
118
|
+
coverSpace: coverSpace
|
|
119
|
+
}, React__default.createElement(Image, __assign({}, image, {
|
|
120
|
+
coverSpace: coverSpace,
|
|
121
|
+
allowEdgeRadius: true,
|
|
122
|
+
isInverted: isInverted
|
|
123
|
+
}))), abstract && React__default.createElement(ContentBlock, {
|
|
124
|
+
type: "copy",
|
|
125
|
+
size: "big",
|
|
126
|
+
textColor: colorMode === 'onImage' ? '#fff' : undefined,
|
|
127
|
+
isInverted: isInverted,
|
|
128
|
+
isCentered: isCentered,
|
|
129
|
+
innerHTML: abstract,
|
|
130
|
+
clamp: clampAbstract,
|
|
131
|
+
maxLines: maxAbstractLines
|
|
132
|
+
}), text && React__default.createElement(ContentBlock, {
|
|
133
|
+
type: textType,
|
|
134
|
+
size: textSize,
|
|
135
|
+
textColor: colorMode === 'onImage' ? '#fff' : undefined,
|
|
136
|
+
isInverted: isInverted,
|
|
137
|
+
isCentered: isCentered,
|
|
138
|
+
innerHTML: text,
|
|
139
|
+
clamp: clampText,
|
|
140
|
+
maxLines: maxTextLines
|
|
141
|
+
}), (primaryAction || secondaryAction) && React__default.createElement(StyledActions, {
|
|
142
|
+
primary: primaryAction && primaryAction({
|
|
143
|
+
isInverted: isInverted,
|
|
144
|
+
isTextCentered: isCentered
|
|
145
|
+
}),
|
|
146
|
+
secondary: secondaryAction && secondaryAction({
|
|
147
|
+
isInverted: isInverted,
|
|
148
|
+
isTextCentered: isCentered
|
|
149
|
+
})
|
|
150
|
+
})), (image === null || image === void 0 ? void 0 : image.small) && !isCentered && React__default.createElement(DesktopImageContainer, null, React__default.createElement(Image, __assign({}, image, {
|
|
151
|
+
coverSpace: coverSpace,
|
|
152
|
+
allowEdgeRadius: true,
|
|
153
|
+
isInverted: isInverted
|
|
154
|
+
}))));
|
|
155
|
+
};
|
|
156
|
+
var templateObject_1$1, templateObject_2$1, templateObject_3$1, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
|
|
157
|
+
|
|
158
|
+
var AspectContainer = styled.div.withConfig({
|
|
159
|
+
displayName: "VideoBlock__AspectContainer",
|
|
160
|
+
componentId: "sc-160aafd-0"
|
|
161
|
+
})(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n border-radius: ", ";\n overflow: hidden;\n\n aspect-ratio: ", ";\n width: ", ";\n max-width: 100%;\n\n background: ", ";\n object-position: center;\n\n @supports not (aspect-ratio: auto) {\n height: ", ";\n padding-top: ", ";\n }\n\n @media ", " {\n aspect-ratio: ", ";\n\n @supports not (aspect-ratio: auto) {\n padding-top: ", ";\n }\n }\n\n @media ", " {\n aspect-ratio: ", ";\n\n @supports not (aspect-ratio: auto) {\n padding-top: ", ";\n }\n }\n\n @media ", " {\n aspect-ratio: ", ";\n\n @supports not (aspect-ratio: auto) {\n padding-top: ", ";\n }\n }\n\n @media ", " {\n aspect-ratio: ", ";\n\n @supports not (aspect-ratio: auto) {\n padding-top: ", ";\n }\n }\n\n ", "\n"], ["\n position: relative;\n border-radius: ", ";\n overflow: hidden;\n\n aspect-ratio: ", ";\n width: ", ";\n max-width: 100%;\n\n background: ", ";\n object-position: center;\n\n @supports not (aspect-ratio: auto) {\n height: ", ";\n padding-top: ", ";\n }\n\n @media ", " {\n aspect-ratio: ", ";\n\n @supports not (aspect-ratio: auto) {\n padding-top: ", ";\n }\n }\n\n @media ", " {\n aspect-ratio: ", ";\n\n @supports not (aspect-ratio: auto) {\n padding-top: ", ";\n }\n }\n\n @media ", " {\n aspect-ratio: ", ";\n\n @supports not (aspect-ratio: auto) {\n padding-top: ", ";\n }\n }\n\n @media ", " {\n aspect-ratio: ", ";\n\n @supports not (aspect-ratio: auto) {\n padding-top: ", ";\n }\n }\n\n ", "\n"])), function (_a) {
|
|
162
|
+
var theme = _a.theme;
|
|
163
|
+
return getGlobals(theme).sections.edgeRadius;
|
|
164
|
+
}, function (_a) {
|
|
165
|
+
var ratios = _a.ratios;
|
|
166
|
+
return ratios === null || ratios === void 0 ? void 0 : ratios.small;
|
|
167
|
+
}, function (_a) {
|
|
168
|
+
var ratios = _a.ratios;
|
|
169
|
+
return (ratios === null || ratios === void 0 ? void 0 : ratios.small) && '100%';
|
|
170
|
+
}, function (_a) {
|
|
171
|
+
var theme = _a.theme,
|
|
172
|
+
isInverted = _a.isInverted;
|
|
173
|
+
return isInverted ? getGlobals(theme).sections.imagePlaceholderBg.inverted : getGlobals(theme).sections.imagePlaceholderBg.default;
|
|
174
|
+
}, function (_a) {
|
|
175
|
+
var ratios = _a.ratios;
|
|
176
|
+
return (ratios === null || ratios === void 0 ? void 0 : ratios.small) && 0;
|
|
177
|
+
}, function (_a) {
|
|
178
|
+
var ratios = _a.ratios;
|
|
179
|
+
return (ratios === null || ratios === void 0 ? void 0 : ratios.small) && "calc(100% / ".concat(ratios === null || ratios === void 0 ? void 0 : ratios.small, ")");
|
|
180
|
+
}, mq.medium, function (_a) {
|
|
181
|
+
var ratios = _a.ratios;
|
|
182
|
+
return ratios === null || ratios === void 0 ? void 0 : ratios.medium;
|
|
183
|
+
}, function (_a) {
|
|
184
|
+
var ratios = _a.ratios;
|
|
185
|
+
return (ratios === null || ratios === void 0 ? void 0 : ratios.medium) && "calc(100% / ".concat(ratios === null || ratios === void 0 ? void 0 : ratios.medium, ")");
|
|
186
|
+
}, mq.semilarge, function (_a) {
|
|
187
|
+
var ratios = _a.ratios;
|
|
188
|
+
return ratios === null || ratios === void 0 ? void 0 : ratios.semilarge;
|
|
189
|
+
}, function (_a) {
|
|
190
|
+
var ratios = _a.ratios;
|
|
191
|
+
return (ratios === null || ratios === void 0 ? void 0 : ratios.semilarge) && "calc(100% / ".concat(ratios === null || ratios === void 0 ? void 0 : ratios.semilarge, ")");
|
|
192
|
+
}, mq.large, function (_a) {
|
|
193
|
+
var ratios = _a.ratios;
|
|
194
|
+
return ratios === null || ratios === void 0 ? void 0 : ratios.large;
|
|
195
|
+
}, function (_a) {
|
|
196
|
+
var ratios = _a.ratios;
|
|
197
|
+
return (ratios === null || ratios === void 0 ? void 0 : ratios.large) && "calc(100% / ".concat(ratios === null || ratios === void 0 ? void 0 : ratios.large, ")");
|
|
198
|
+
}, mq.xlarge, function (_a) {
|
|
199
|
+
var ratios = _a.ratios;
|
|
200
|
+
return ratios === null || ratios === void 0 ? void 0 : ratios.xlarge;
|
|
201
|
+
}, function (_a) {
|
|
202
|
+
var ratios = _a.ratios;
|
|
203
|
+
return (ratios === null || ratios === void 0 ? void 0 : ratios.xlarge) && "calc(100% / ".concat(ratios === null || ratios === void 0 ? void 0 : ratios.xlarge, ")");
|
|
204
|
+
}, function (_a) {
|
|
205
|
+
var ratios = _a.ratios;
|
|
206
|
+
return ratios && css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n video {\n height: 100%;\n width: 100%;\n object-fit: cover;\n\n @supports not (aspect-ratio: auto) {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n }\n }\n "], ["\n video {\n height: 100%;\n width: 100%;\n object-fit: cover;\n\n @supports not (aspect-ratio: auto) {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n }\n }\n "])));
|
|
207
|
+
});
|
|
208
|
+
var Video = styled.video.withConfig({
|
|
209
|
+
displayName: "VideoBlock__Video",
|
|
210
|
+
componentId: "sc-160aafd-1"
|
|
211
|
+
})(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: block;\n"], ["\n display: block;\n"])));
|
|
212
|
+
var VideoBlock = forwardRef(function (_a, ref) {
|
|
213
|
+
var urls = _a.urls,
|
|
214
|
+
ratios = _a.ratios,
|
|
215
|
+
isInverted = _a.isInverted,
|
|
216
|
+
_b = _a.muted,
|
|
217
|
+
muted = _b === void 0 ? false : _b,
|
|
218
|
+
_c = _a.autoPlay,
|
|
219
|
+
autoPlay = _c === void 0 ? false : _c,
|
|
220
|
+
_d = _a.loop,
|
|
221
|
+
loop = _d === void 0 ? false : _d,
|
|
222
|
+
_e = _a.controls,
|
|
223
|
+
controls = _e === void 0 ? false : _e,
|
|
224
|
+
_f = _a.playsInline,
|
|
225
|
+
playsInline = _f === void 0 ? true : _f,
|
|
226
|
+
onCanPlayThrough = _a.onCanPlayThrough,
|
|
227
|
+
className = _a.className;
|
|
228
|
+
var videoRef = useRef(null);
|
|
229
|
+
useImperativeHandle(ref, function () {
|
|
230
|
+
return videoRef.current;
|
|
231
|
+
});
|
|
232
|
+
useEffect(function () {
|
|
233
|
+
if (videoRef.current && videoRef.current.readyState > 3) {
|
|
234
|
+
onCanPlayThrough === null || onCanPlayThrough === void 0 ? void 0 : onCanPlayThrough();
|
|
235
|
+
}
|
|
236
|
+
}, [onCanPlayThrough]);
|
|
237
|
+
return React__default.createElement(AspectContainer, {
|
|
238
|
+
ratios: ratios,
|
|
239
|
+
isInverted: isInverted,
|
|
240
|
+
className: className
|
|
241
|
+
}, React__default.createElement(Video, {
|
|
242
|
+
ref: videoRef,
|
|
243
|
+
muted: muted,
|
|
244
|
+
autoPlay: autoPlay,
|
|
245
|
+
loop: loop,
|
|
246
|
+
controls: controls,
|
|
247
|
+
onCanPlayThrough: onCanPlayThrough,
|
|
248
|
+
playsInline: playsInline
|
|
249
|
+
}, urls === null || urls === void 0 ? void 0 : urls.map(function (url, i) {
|
|
250
|
+
return React__default.createElement("source", {
|
|
251
|
+
src: url,
|
|
252
|
+
key: i
|
|
253
|
+
});
|
|
254
|
+
})));
|
|
255
|
+
});
|
|
256
|
+
VideoBlock.displayName = 'VideoBlock';
|
|
257
|
+
var templateObject_1, templateObject_2, templateObject_3;
|
|
258
|
+
|
|
259
|
+
export { IntroBlock as I, VideoBlock as V };
|
|
260
|
+
//# sourceMappingURL=VideoBlock-5fe94711.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoBlock-5fe94711.js","sources":["../src/components/blocks/IntroBlock.tsx","../src/components/blocks/VideoBlock.tsx"],"sourcesContent":["import React from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { spacings, mq, FontOptions } from 'utils/styles';\n\nimport Title, { TitleSize } from 'components/blocks/Title';\nimport Copy, { CopyType } from 'components/typography/Copy';\nimport Actions from 'components/blocks/Actions';\nimport { HeadlineTag } from 'components/typography/Heading';\nimport Image, { ImageProps } from './Image';\n\nconst View = styled.div<{ isCentered?: boolean }>`\n display: block;\n margin: 0;\n padding: 0;\n width: 100%;\n text-align: ${({ isCentered }) => isCentered && 'center'};\n\n @media ${mq.semilarge} {\n display: flex;\n flex-direction: row;\n\n & > * + * {\n margin-left: ${spacings.spacer}px;\n }\n }\n`;\n\nconst Content = styled.div`\n & > * + * {\n margin-top: ${spacings.spacer}px;\n }\n\n max-width: 100%;\n\n @media ${mq.semilarge} {\n flex: 1 0 66.66%;\n }\n`;\n\nconst StyledTitle = styled(Title)<{ clamp?: boolean }>`\n max-width: ${({ clamp }) => clamp && '880px'};\n`;\n\nconst ContentBlock = styled(Copy)<{\n isCentered?: boolean;\n clamp?: boolean;\n maxLines?: number;\n}>`\n display: block;\n max-width: ${({ clamp }) => clamp && '880px'};\n margin-left: ${({ isCentered }) => isCentered && 'auto'};\n margin-right: ${({ isCentered }) => isCentered && 'auto'};\n\n ${({ maxLines }) =>\n maxLines &&\n maxLines > 0 &&\n css`\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: ${maxLines}; /* number of lines to show */\n line-clamp: ${maxLines};\n -webkit-box-orient: vertical;\n `}\n\n & + & {\n margin-top: ${spacings.nudge * 3}px;\n }\n`;\n\nconst StyledActions = styled(Actions)<{ isCentered?: boolean }>`\n @media ${mq.medium} {\n display: block;\n text-align: ${({ isCentered }) => isCentered && 'center'};\n }\n`;\n\nconst MobileImageContainer = styled.div<{\n isCentered?: boolean;\n coverSpace?: boolean;\n}>`\n width: 100%;\n height: 100%;\n max-width: 400px;\n max-height: ${({ coverSpace }) => coverSpace && '400px'};\n text-align: center;\n\n margin: 0 auto;\n margin-top: ${spacings.spacer}px;\n\n @media ${mq.semilarge} {\n display: ${({ isCentered }) => (isCentered ? 'block' : 'none')};\n }\n`;\n\nconst DesktopImageContainer = styled.div`\n display: none;\n width: 100%;\n\n @media ${mq.semilarge} {\n display: block;\n\n max-width: 400px;\n max-width: calc(100% - 66.66% - ${spacings.spacer}px);\n }\n`;\n\nexport interface IntroActionProps {\n isInverted?: boolean;\n isTextCentered?: boolean;\n}\n\nconst IntroBlock: React.FC<{\n /** Define rendered HTML DOM tag of intro container */\n renderAs?: 'div' | 'figcaption';\n\n /** Color presets for text and blocks. onImage has always a white text color */\n colorMode?: 'default' | 'inverted' | 'onImage';\n\n /** Main title text */\n title?: string;\n\n /** Main title HTML tag type (h2, h3, h4...) */\n titleAs?: HeadlineTag;\n\n /** Main title size */\n titleSize?: TitleSize;\n\n /** Superior title that stands above main title */\n superTitle?: string;\n\n /** Superior title HTML tag type (h3, h4 ...) */\n superTitleAs?: HeadlineTag;\n\n /** Intro text underneath the title (richtext) */\n abstract?: string;\n\n /** Main intro text (richtext) */\n text?: string;\n\n /** Intro image. coverSpace defaults to true */\n image?: ImageProps;\n\n /** Copy type of intro text (limits richtext capabilites on textType == copy-b or copy-i) */\n textType?: CopyType;\n\n /** Copy size of intro text */\n textSize?: keyof FontOptions;\n\n /** Function to inject custom primary button */\n primaryAction?: (props: IntroActionProps) => React.ReactNode;\n\n /** Function to inject custom secondary button */\n secondaryAction?: (props: IntroActionProps) => React.ReactNode;\n\n /** Center text and actions */\n isCentered?: boolean;\n\n /** Clamp title to max width of 880px */\n clampTitle?: boolean;\n\n /** Limit lines of title. Cut of with elipsis */\n maxTitleLines?: number;\n\n /** Clamp text to max width of 880px */\n clampText?: boolean;\n\n /** Clamp abstract to max width of 880px */\n clampAbstract?: boolean;\n\n /** Limit lines of text. Cut of with elipsis */\n maxTextLines?: number;\n\n /** Limit lines of abstract text. Cut of with elipsis */\n maxAbstractLines?: number;\n\n /** Main title hyphens */\n titleHyphens?: boolean;\n\n className?: string;\n}> = ({\n renderAs = 'div',\n colorMode = 'default',\n title,\n titleAs,\n titleSize = 'heading-2',\n superTitle,\n superTitleAs,\n abstract,\n text,\n textType = 'copy',\n textSize = 'medium',\n primaryAction,\n secondaryAction,\n isCentered = false,\n clampTitle = false,\n clampAbstract = false,\n maxTitleLines,\n maxAbstractLines,\n clampText = false,\n maxTextLines,\n className,\n titleHyphens,\n image,\n}) => {\n const isInverted = colorMode === 'inverted' || colorMode === 'onImage';\n const coverSpace = image?.coverSpace === false ? false : true;\n\n return (\n <View as={renderAs} isCentered={isCentered} className={className}>\n <Content>\n {(title || superTitle) && (\n <StyledTitle\n colorMode={colorMode}\n title={title}\n titleAs={titleAs}\n titleSize={titleSize}\n superTitle={superTitle}\n superTitleAs={superTitleAs}\n isCentered={isCentered}\n clamp={clampTitle}\n maxLines={maxTitleLines}\n titleHyphens={titleHyphens}\n />\n )}\n {image?.small && (\n <MobileImageContainer\n isCentered={isCentered}\n coverSpace={coverSpace}\n >\n <Image\n {...image}\n coverSpace={coverSpace}\n allowEdgeRadius\n isInverted={isInverted}\n />\n </MobileImageContainer>\n )}\n {abstract && (\n <ContentBlock\n type=\"copy\"\n size=\"big\"\n textColor={colorMode === 'onImage' ? '#fff' : undefined}\n isInverted={isInverted}\n isCentered={isCentered}\n innerHTML={abstract}\n clamp={clampAbstract}\n maxLines={maxAbstractLines}\n />\n )}\n {text && (\n <ContentBlock\n type={textType}\n size={textSize}\n textColor={colorMode === 'onImage' ? '#fff' : undefined}\n isInverted={isInverted}\n isCentered={isCentered}\n innerHTML={text}\n clamp={clampText}\n maxLines={maxTextLines}\n />\n )}\n {(primaryAction || secondaryAction) && (\n <StyledActions\n primary={\n primaryAction &&\n primaryAction({\n isInverted,\n isTextCentered: isCentered,\n })\n }\n secondary={\n secondaryAction &&\n secondaryAction({\n isInverted,\n isTextCentered: isCentered,\n })\n }\n />\n )}\n </Content>\n\n {image?.small && !isCentered && (\n <DesktopImageContainer>\n <Image\n {...image}\n coverSpace={coverSpace}\n allowEdgeRadius\n isInverted={isInverted}\n />\n </DesktopImageContainer>\n )}\n </View>\n );\n};\n\nexport default IntroBlock;\n","import React, {\n forwardRef,\n useEffect,\n useImperativeHandle,\n useRef,\n} from 'react';\nimport styled, { css } from 'styled-components';\nimport { getGlobals as global, mq } from 'utils/styles';\n\nconst AspectContainer = styled.div<{\n ratios?: VideoAspectRatios;\n isInverted?: boolean;\n}>`\n position: relative;\n border-radius: ${({ theme }) => global(theme).sections.edgeRadius};\n overflow: hidden;\n\n aspect-ratio: ${({ ratios }) => ratios?.small};\n width: ${({ ratios }) => ratios?.small && '100%'};\n max-width: 100%;\n\n background: ${({ theme, isInverted }) =>\n isInverted\n ? global(theme).sections.imagePlaceholderBg.inverted\n : global(theme).sections.imagePlaceholderBg.default};\n object-position: center;\n\n @supports not (aspect-ratio: auto) {\n height: ${({ ratios }) => ratios?.small && 0};\n padding-top: ${({ ratios }) =>\n ratios?.small && `calc(100% / ${ratios?.small})`};\n }\n\n @media ${mq.medium} {\n aspect-ratio: ${({ ratios }) => ratios?.medium};\n\n @supports not (aspect-ratio: auto) {\n padding-top: ${({ ratios }) =>\n ratios?.medium && `calc(100% / ${ratios?.medium})`};\n }\n }\n\n @media ${mq.semilarge} {\n aspect-ratio: ${({ ratios }) => ratios?.semilarge};\n\n @supports not (aspect-ratio: auto) {\n padding-top: ${({ ratios }) =>\n ratios?.semilarge && `calc(100% / ${ratios?.semilarge})`};\n }\n }\n\n @media ${mq.large} {\n aspect-ratio: ${({ ratios }) => ratios?.large};\n\n @supports not (aspect-ratio: auto) {\n padding-top: ${({ ratios }) =>\n ratios?.large && `calc(100% / ${ratios?.large})`};\n }\n }\n\n @media ${mq.xlarge} {\n aspect-ratio: ${({ ratios }) => ratios?.xlarge};\n\n @supports not (aspect-ratio: auto) {\n padding-top: ${({ ratios }) =>\n ratios?.xlarge && `calc(100% / ${ratios?.xlarge})`};\n }\n }\n\n ${({ ratios }) =>\n ratios &&\n css`\n video {\n height: 100%;\n width: 100%;\n object-fit: cover;\n\n @supports not (aspect-ratio: auto) {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n }\n }\n `}\n`;\n\nconst Video = styled.video`\n display: block;\n`;\n\nexport interface VideoAspectRatios {\n small: number;\n medium?: number;\n semilarge?: number;\n large?: number;\n xlarge?: number;\n}\n\nexport interface VideoProps {\n urls?: string[];\n ratios?: VideoAspectRatios;\n isInverted?: boolean;\n\n muted?: boolean;\n autoPlay?: boolean;\n loop?: boolean;\n controls?: boolean;\n playsInline?: boolean;\n onCanPlayThrough?: () => void;\n}\n\nconst VideoBlock = forwardRef<\n HTMLVideoElement,\n VideoProps & { className?: string }\n>(\n (\n {\n urls,\n ratios,\n isInverted,\n muted = false,\n autoPlay = false,\n loop = false,\n controls = false,\n playsInline = true,\n onCanPlayThrough,\n className,\n },\n ref\n ) => {\n const videoRef = useRef<HTMLVideoElement | null>(null);\n\n useImperativeHandle<HTMLVideoElement | null, HTMLVideoElement | null>(\n ref,\n () => videoRef.current\n );\n\n useEffect(() => {\n if (videoRef.current && videoRef.current.readyState > 3) {\n onCanPlayThrough?.();\n }\n }, [onCanPlayThrough]);\n\n return (\n <AspectContainer\n ratios={ratios}\n isInverted={isInverted}\n className={className}\n >\n <Video\n ref={videoRef}\n muted={muted}\n autoPlay={autoPlay}\n loop={loop}\n controls={controls}\n onCanPlayThrough={onCanPlayThrough}\n playsInline={playsInline}\n >\n {urls?.map((url, i) => (\n <source src={url} key={i} />\n ))}\n </Video>\n </AspectContainer>\n );\n }\n);\n\nVideoBlock.displayName = 'VideoBlock';\n\nexport default VideoBlock;\n"],"names":["View","styled","div","templateObject_1","__makeTemplateObject","_a","isCentered","mq","semilarge","spacings","spacer","Content","templateObject_2","StyledTitle","Title","templateObject_3","clamp","ContentBlock","Copy","templateObject_5","maxLines","css","nudge","StyledActions","Actions","medium","MobileImageContainer","coverSpace","DesktopImageContainer","templateObject_8","IntroBlock","_b","renderAs","_c","colorMode","title","titleAs","_d","titleSize","superTitle","superTitleAs","abstract","text","_e","textType","_f","textSize","primaryAction","secondaryAction","_g","_h","clampTitle","_j","clampAbstract","maxTitleLines","maxAbstractLines","_k","clampText","maxTextLines","className","titleHyphens","image","isInverted","React","createElement","as","small","Image","__assign","allowEdgeRadius","type","size","textColor","undefined","innerHTML","primary","isTextCentered","secondary","AspectContainer","theme","global","sections","edgeRadius","ratios","imagePlaceholderBg","inverted","default","concat","large","xlarge","Video","video","VideoBlock","forwardRef","ref","urls","muted","autoPlay","loop","controls","playsInline","onCanPlayThrough","videoRef","useRef","useImperativeHandle","current","useEffect","readyState","map","url","i","src","key","displayName"],"mappings":";;;;;;;;;AAWA,IAAMA,IAAI,GAAGC,MAAM,CAACC,GAAV,CAAA,UAAA,CAAA;AAAA,EAAA,WAAA,EAAA,kBAAA;AAAA,EAAA,WAAA,EAAA,aAAA;AAAA,CAAA,CAAA,CAAuCC,kBAAA,KAAAA,kBAAA,GAAAC,oBAAA,CAAA,CAAA,4FAAA,EAAA,kBAAA,EAAA,4GAAA,EAAA,yBAAA,CAAA,EAAA,CAAA,4FAAA,EAKW,kBALX,EAOxB,4GAPwB,EAYP,yBAZO,CAAA,CAAA,CAAvC,EAKQ,UAACC,EAAD,EAAe;AAAZ,EAAA,IAAAC,UAAU,GAAAD,EAAA,CAAAC,UAAV,CAAA;AAAiB,EAAAA,OAAAA,UAAU,IAAI,QAAd,CAAA;AAAsB,CALlD,EAOGC,EAAE,CAACC,SAPN,EAYiBC,QAAQ,CAACC,MAZ1B,CAAV,CAAA;AAiBA,IAAMC,OAAO,GAAGV,MAAM,CAACC,GAAV,CAAA,UAAA,CAAA;AAAA,EAAA,WAAA,EAAA,qBAAA;AAAA,EAAA,WAAA,EAAA,aAAA;AAAA,CAAA,CAAA,CAAaU,kBAAA,KAAAA,kBAAA,GAAAR,oBAAA,CAAA,CAAA,yCAAA,EAAA,mDAAA,EAAA,wCAAA,CAAA,EAAA,CAAA,yCAAA,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