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9CW,EAAqBD,EAAuBV,EAAQ,QACxD,SAASU,EAAuBE,GAAO,OAAOA,GAAOA,EAAIC,WAAaD,EAAM,CAAEE,QAASF,EAAO,CAiC/EX,EAAQ,EAhCD,SAAAc,GACpB,IAAAhG,GAAmB,EAAImF,EAAOzH,YAAYgI,EAAaK,SAAhDnI,EAAwD5E,EAAAgH,EAAA,GAAhD,GACfiG,GAAsB,EAAId,EAAOzH,YAAYkI,EAAmBG,SAAzDG,EAAiElN,EAAAiN,EAAA,GAAtD,GAEhBE,EACEvI,EADFuI,KAEFC,GAAwB,EAAIjB,EAAOrM,UAAU,CAC3C8H,SAAU,MACVyF,EAAArN,EAAAoN,EAAA,GAFK3F,EAAI4F,EAAA,GAAEC,EAAOD,EAAA,GAGpBE,EAGIL,GAAe,CAAC,EAFlBM,EAAKD,EAALC,MACA/C,EAAI8C,EAAJ9C,KAmBF,OAjBA,EAAI0B,EAAOhM,YAAW,WACpB,IAEEsN,IAFqB,OAAVD,QAA4B,IAAVA,OAAmB,EAASA,EAAME,MAAK,SAAAjG,GAAI,OAAIA,EAAKuF,aAAeA,CAAU,MAGhG,CAAC,GADXS,SAEE7F,EAAW,IACX6F,IACW,OAATN,IACFvF,EAAW,IAAIvF,OAAO8K,EAAM,MAE9BG,EAAQ,CACN3F,IAAK8C,EACL7C,SAAAA,EACAvB,IAAKoH,IAGX,GAAG,CAACT,EAAYG,EAAMK,EAAO/C,IACtBhD,CACT,C","sources":["hooks/useScrollDirection.js","hooks/useScrollPosition.js","components/views/Header/Animation/Animation.styles.js","components/views/Header/Animation/index.jsx","components/views/Header/Logo/Logo.styles.js","components/views/Header/Logo/index.jsx","components/views/Header/Header.styles.js","components/views/Header/index.jsx","../node_modules/@material-ui/core/esm/useMediaQuery/useMediaQuery.js","../node_modules/@micado-digital/react-ui/hooks/useIsScrolling.js","../node_modules/@micado-digital/react-ui/hooks/useSystemLogo.js"],"sourcesContent":["import { useEffect, useState } from \"react\";\r\n\r\nconst useScrollDirection = () => {\r\n\tconst [scrollDirection, setScrollDirection] = useState(null);\r\n\r\n\tuseEffect(() => {\r\n\t\tlet lastScrollY = window.pageYOffset;\r\n\r\n\t\tconst updateScrollDirection = () => {\r\n\t\t\tconst scrollY = window.pageYOffset;\r\n\t\t\tconst direction = scrollY > lastScrollY ? \"down\" : \"up\";\r\n\r\n\t\t\tif (\r\n\t\t\t\tdirection !== scrollDirection &&\r\n\t\t\t\t(scrollY - lastScrollY > 120 || scrollY - lastScrollY < -10)\r\n\t\t\t) {\r\n\t\t\t\tsetScrollDirection(direction);\r\n\t\t\t}\r\n\r\n\t\t\tlastScrollY = scrollY > 0 ? scrollY : 0;\r\n\t\t};\r\n\r\n\t\twindow.addEventListener(\"scroll\", updateScrollDirection);\r\n\r\n\t\treturn () => {\r\n\t\t\twindow.removeEventListener(\"scroll\", updateScrollDirection);\r\n\t\t};\r\n\t}, [scrollDirection]);\r\n\r\n\treturn scrollDirection;\r\n};\r\n\r\nexport default useScrollDirection;\r\n","import { useEffect, useState } from \"react\";\r\n\r\nconst useScrollPosition = () => {\r\n\tconst [scrollPosition, setScrollPosition] = useState(0);\r\n\r\n\tuseEffect(() => {\r\n\t\tconst updatePosition = () => {\r\n\t\t\tsetScrollPosition(window.pageYOffset ?? 0);\r\n\t\t};\r\n\r\n\t\twindow.addEventListener(\"scroll\", updatePosition);\r\n\r\n\t\tupdatePosition();\r\n\r\n\t\treturn () => window.removeEventListener(\"scroll\", updatePosition);\r\n\t}, []);\r\n\r\n\treturn scrollPosition;\r\n};\r\n\r\nexport default useScrollPosition;\r\n","/* eslint-disable no-dupe-keys */\r\nimport makeStyles from \"@material-ui/styles/makeStyles\";\r\n\r\nconst styles = makeStyles(theme => ({\r\n\tanimationWrapper: {\r\n\t\tcolor: theme.palette.common.white,\r\n\t\theight: \"70vh\",\r\n\t\tposition: \"relative\",\r\n\t\twidth: \"100%\"\r\n\t},\r\n\tanimationWrapperIntro: {\r\n\t\t// height: `calc((var(--vh, 1vh) * 100) - ${headerHeight}px)`,\r\n\t\theight: `calc((var(--vh, 1vh) * 100))`,\r\n\t\t[theme.breakpoints.up(\"md\")]: {\r\n\t\t\theight: `calc((var(--vh, 1vh) * 100))`\r\n\t\t}\r\n\t},\r\n\tanimation: {\r\n\t\theight: \"100%\",\r\n\t\tposition: \"relative\",\r\n\t\t\"& .mco-animation-01__texts\": {\r\n\t\t\tbottom: theme.spacing(10),\r\n\t\t\tleft: \"50%\",\r\n\t\t\tmaxWidth: 1536,\r\n\t\t\tpadding: theme.spacing(0, 3),\r\n\t\t\ttransform: \"translate(-50%, 0)\",\r\n\t\t\twidth: \"100%\",\r\n\t\t\t[theme.breakpoints.up(\"lg\")]: {\r\n\t\t\t\tbottom: theme.spacing(15)\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"& .mco-animation-01__text--1\": {\r\n\t\t\tcolor: `${theme.palette.common.white} !important`,\r\n\t\t\tfontSize: \"clamp(40px, 5vw, 56px) !important\",\r\n\t\t\tfontWeight: theme.typography.fontWeightBlack,\r\n\t\t\thyphens: \"auto\",\r\n\t\t\ttextTransform: \"uppercase\"\r\n\t\t},\r\n\t\t\"& .mco-animation-01__text--2\": {\r\n\t\t\tcolor: `${theme.palette.common.white} !important`,\r\n\t\t\tfontSize: \"clamp(24px, 4vw, 40px) !important\",\r\n\t\t\tfontWeight: theme.typography.fontWeightRegular,\r\n\t\t\thyphens: \"auto\",\r\n\t\t\tmarginTop: theme.spacing(1)\r\n\t\t},\r\n\t\t\"& .mco-animation-01__text--3\": {\r\n\t\t\tmarginTop: theme.spacing(4),\r\n\t\t\t\"& a\": {\r\n\t\t\t\tbackground: theme.palette.primary.main,\r\n\t\t\t\tborderRadius: theme.shape.borderRadius,\r\n\t\t\t\tcolor: `${theme.palette.common.white} !important`,\r\n\t\t\t\tdisplay: \"inline-block\",\r\n\t\t\t\tpadding: theme.spacing(2, 3),\r\n\t\t\t\ttransition: \"background 500ms ease\",\r\n\t\t\t\t...theme.typography.button,\r\n\t\t\t\t\"&:hover\": {\r\n\t\t\t\t\tbackground: theme.palette.primary.dark\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"& .mco-animation-01__image, .mco-animation-01__video\": {\r\n\t\t\t\"&::before\": {\r\n\t\t\t\tbackground: \"linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%)\",\r\n\t\t\t\tcontent: \"''\",\r\n\t\t\t\tdisplay: \"block\",\r\n\t\t\t\tinset: 0,\r\n\t\t\t\tpointerEvents: \"none\",\r\n\t\t\t\tposition: \"absolute\"\r\n\t\t\t},\r\n\t\t\t\"&::after\": {\r\n\t\t\t\tbackground: \"linear-gradient(360deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%)\",\r\n\t\t\t\tcontent: \"''\",\r\n\t\t\t\tdisplay: \"block\",\r\n\t\t\t\tinset: 0,\r\n\t\t\t\tpointerEvents: \"none\",\r\n\t\t\t\tposition: \"absolute\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"& .mco-animation-01__arrow-prev\": {\r\n\t\t\tleft: theme.spacing(1),\r\n\t\t\t[theme.breakpoints.down(\"sm\")]: {\r\n\t\t\t\tdisplay: \"none\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"& .mco-animation-01__arrow-next\": {\r\n\t\t\tright: theme.spacing(1),\r\n\t\t\t[theme.breakpoints.down(\"sm\")]: {\r\n\t\t\t\tdisplay: \"none\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"& .mco-animation-01__bullets\": {\r\n\t\t\tbottom: theme.spacing(4),\r\n\t\t\tjustifyContent: \"flex-start\",\r\n\t\t\tleft: \"50%\",\r\n\t\t\tmaxWidth: 1536,\r\n\t\t\tpaddingLeft: theme.spacing(3),\r\n\t\t\tpaddingRight: theme.spacing(3),\r\n\t\t\ttransform: \"translate(-50%, 0)\",\r\n\t\t\twidth: \"100%\",\r\n\t\t\t[theme.breakpoints.up(\"lg\")]: {\r\n\t\t\t\tbottom: theme.spacing(8)\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"& .mco-animation-01__bullet\": {\r\n\t\t\theight: 2,\r\n\t\t\tmaxWidth: 16,\r\n\t\t\twidth: \"100%\",\r\n\t\t\tzIndex: 4,\r\n\t\t\t\"&--selected\": {\r\n\t\t\t\tmaxWidth: 24\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"& .mco-animation-01__sound-control\": {\r\n\t\t\tbackground: \"none !important\",\r\n\t\t\tbackdropFilter: \"blur(30px)\",\r\n\t\t\ttransform: \"translate(-50%, -32px)\",\r\n\t\t\t[theme.breakpoints.up(\"lg\")]: {\r\n\t\t\t\ttransform: \"translate(-50%, -64px)\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t[theme.breakpoints.up(\"sm\")]: {\r\n\t\t\t\"& .mco-animation-01__arrow-prev\": {\r\n\t\t\t\tleft: theme.spacing(2)\r\n\t\t\t},\r\n\t\t\t\"& .mco-animation-01__arrow-prev svg\": {\r\n\t\t\t\twidth: 48 + \"px !important\"\r\n\t\t\t},\r\n\t\t\t\"& .mco-animation-01__arrow-next\": {\r\n\t\t\t\tright: theme.spacing(2)\r\n\t\t\t},\r\n\t\t\t\"& .mco-animation-01__arrow-next svg\": {\r\n\t\t\t\twidth: 48 + \"px !important\"\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\tanimationIntro: {\r\n\t\t[theme.breakpoints.up(\"sm\")]: {\r\n\t\t\tflex: 1,\r\n\t\t\theight: \"100%\",\r\n\t\t\torder: 2\r\n\t\t}\r\n\t}\r\n}));\r\n\r\nexport default styles;\r\n","import React, { useContext, useMemo, useRef } from \"react\";\r\nimport loadable from \"@loadable/component\";\r\nimport clsx from \"clsx\";\r\nimport isEmpty from \"lodash/isEmpty\";\r\nimport PageContext from \"@PageContext\";\r\n\r\nimport styles from \"./Animation.styles\";\r\n\r\nconst ReactAnimation = loadable(() =>\r\n\timport(\"@micado-digital/react-animation/ReactAnimation\")\r\n);\r\nconst ReactSVGIcon = loadable(() => import(\"@micado-digital/react-svg-icon/ReactSVGIcon\"));\r\n\r\nconst Animation = () => {\r\n\tconst { REACT_APP_PATH } = process.env;\r\n\tconst [pageData] = useContext(PageContext);\r\n\tconst { animation, animationID, layoutTag, layoutVariant } = pageData;\r\n\tconst $wrapper = useRef(null);\r\n\tconst css = styles();\r\n\r\n\tconst isIntro = layoutVariant === \"intro\";\r\n\r\n\tconst mediaFormats = useMemo(() => {\r\n\t\tconst layout = layoutVariant ? `${layoutTag}-${layoutVariant}` : layoutTag;\r\n\r\n\t\tswitch (layout) {\r\n\t\t\tcase \"default\":\r\n\t\t\tdefault: {\r\n\t\t\t\treturn {\r\n\t\t\t\t\txs: \"header-animation-small\",\r\n\t\t\t\t\tsm: \"header-animation-medium\",\r\n\t\t\t\t\tlg: \"header-animation\"\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t\tcase \"default-intro\": {\r\n\t\t\t\treturn {\r\n\t\t\t\t\txs: \"header-animation-intro-small\",\r\n\t\t\t\t\tsm: \"header-animation-intro-medium\",\r\n\t\t\t\t\tlg: \"header-animation-intro\"\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t}\r\n\t}, [layoutTag, layoutVariant]);\r\n\r\n\tif (isEmpty(pageData)) return null;\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\tnextIcon={}\r\n\t\t\t\t\tshowArrows\r\n\t\t\t\t\tshowBullets\r\n\t\t\t\t\ttextComponents={{\r\n\t\t\t\t\t\ttext1: \"p\",\r\n\t\t\t\t\t\ttext2: \"p\"\r\n\t\t\t\t\t}}\r\n\t\t\t\t\ttextVariants={{\r\n\t\t\t\t\t\ttext1: {\r\n\t\t\t\t\t\t\txs: \"title-large\",\r\n\t\t\t\t\t\t\tsm: \"display-small\",\r\n\t\t\t\t\t\t\tmd: \"display-large\"\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\ttext2: {\r\n\t\t\t\t\t\t\txs: \"titel-medium\",\r\n\t\t\t\t\t\t\tmd: \"title-large\"\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}}\r\n\t\t\t\t\twebpFallback\r\n\t\t\t\t/>\r\n\t\t\t\r\n\t\t\r\n\t);\r\n};\r\n\r\nexport default Animation;\r\n","import makeStyles from \"@material-ui/styles/makeStyles\";\r\n\r\nconst styles = ({ isScrolling }) => {\r\n\treturn makeStyles(theme => ({\r\n\t\timage: {\r\n\t\t\tdisplay: \"block\",\r\n\t\t\t[theme.breakpoints.up(\"md\")]: {\r\n\t\t\t\theight: isScrolling ? 45 : 68,\r\n\t\t\t\twidth: isScrolling ? 100 : 150\r\n\t\t\t}\r\n\t\t}\r\n\t}))();\r\n};\r\n\r\nexport default styles;\r\n","import React, { useContext } from \"react\";\r\nimport loadable from \"@loadable/component\";\r\nimport clsx from \"clsx\";\r\nimport UiContext from \"@UiContext\";\r\nimport useIsScrolling from \"@micado-digital/react-ui/hooks/useIsScrolling\";\r\nimport useSystemLogo from \"@micado-digital/react-ui/hooks/useSystemLogo\";\r\n\r\nimport styles from \"./Logo.styles\";\r\n\r\nconst ReactLink = loadable(() => import(\"@micado-digital/react-link/ReactLink\"));\r\n\r\nconst Logo = () => {\r\n\tconst [ui, setUi] = useContext(UiContext);\r\n\tconst { menuOpen } = ui;\r\n\tconst logo = useSystemLogo(\"logo\");\r\n\tconst { alt, homeLink, src } = logo;\r\n\tconst isScrolling = useIsScrolling(0);\r\n\tconst css = styles({ isScrolling });\r\n\r\n\tconst handleMenuClose = () => {\r\n\t\tif (menuOpen) {\r\n\t\t\tsetUi(prevState => ({ ...prevState, menuOpen: false }));\r\n\t\t}\r\n\t};\r\n\r\n\treturn (\r\n\t\t<>\r\n\t\t\t{src && (\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t)}\r\n\t\t\r\n\t);\r\n};\r\n\r\nexport default Logo;\r\n","import makeStyles from \"@material-ui/styles/makeStyles\";\r\n\r\nconst styles = ({ isIntro, isScrolling, menuOpen }) => {\r\n\treturn makeStyles(theme => ({\r\n\t\theader: {\r\n\t\t\tuserSelect: \"none\",\r\n\t\t\tpaddingTop: 0\r\n\t\t},\r\n\t\ttop: {\r\n\t\t\tbackground: theme.palette.background.dark,\r\n\t\t\tdisplay: \"flex\",\r\n\t\t\tflexDirection: \"column\",\r\n\t\t\theight: \"100%\",\r\n\t\t\tleft: 0,\r\n\t\t\tmaxHeight: 120,\r\n\t\t\tposition: \"fixed\",\r\n\t\t\tright: 0,\r\n\t\t\ttop: 0,\r\n\t\t\ttransition: \"background 500ms ease, max-height 500ms ease, top 500ms ease\",\r\n\t\t\tzIndex: theme.zIndex.modal - 1,\r\n\t\t\t[theme.breakpoints.up(\"md\")]: {\r\n\t\t\t\tbackground: menuOpen\r\n\t\t\t\t\t? theme.palette.background.dark\r\n\t\t\t\t\t: isScrolling || !isIntro\r\n\t\t\t\t\t? theme.palette.background.dark\r\n\t\t\t\t\t: \"transparent\",\r\n\t\t\t\tmaxHeight: isScrolling ? 120 : 160,\r\n\t\t\t\t\"&:after\": {\r\n\t\t\t\t\tbackground: \"linear-gradient(180deg, rgba(33,38,45,0.6) 0%, rgba(33,38,45,0) 100%)\",\r\n\t\t\t\t\tcontent: \"''\",\r\n\t\t\t\t\tdisplay: isIntro && !isScrolling ? \"block\" : \"none\",\r\n\t\t\t\t\tinset: 0,\r\n\t\t\t\t\tposition: \"absolute\",\r\n\t\t\t\t\tzIndex: -1\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tscrollDown: {\r\n\t\t\ttop: -120,\r\n\t\t\t[theme.breakpoints.up(\"md\")]: {\r\n\t\t\t\ttop: isScrolling ? -120 : -160\r\n\t\t\t}\r\n\t\t},\r\n\t\tcontainer: {\r\n\t\t\talignItems: \"center\",\r\n\t\t\tdisplay: \"grid\",\r\n\t\t\tflex: 1,\r\n\t\t\tgap: theme.spacing(2),\r\n\t\t\tgridTemplateColumns: \"auto 1fr\",\r\n\t\t\tjustifyContent: \"space-between\",\r\n\t\t\tpadding: theme.spacing(0, 3),\r\n\t\t\tposition: \"relative\",\r\n\t\t\t[theme.breakpoints.up(\"md\")]: {\r\n\t\t\t\tgridTemplateColumns: \"150px auto 150px\"\r\n\t\t\t}\r\n\t\t},\r\n\t\twrapper: {\r\n\t\t\talignItems: \"center\",\r\n\t\t\tdisplay: \"flex\",\r\n\t\t\tgap: theme.spacing(1),\r\n\t\t\tjustifyContent: \"flex-end\",\r\n\t\t\t[theme.breakpoints.up(\"sm\")]: {\r\n\t\t\t\tgap: theme.spacing(2)\r\n\t\t\t}\r\n\t\t}\r\n\t}))();\r\n};\r\n\r\nexport default styles;\r\n","import React, { useContext } from \"react\";\r\nimport loadable from \"@loadable/component\";\r\nimport clsx from \"clsx\";\r\nimport UiContext from \"@UiContext\";\r\nimport PageContext from \"@PageContext\";\r\nimport useTheme from \"@material-ui/core/styles/useTheme\";\r\nimport useMediaQuery from \"@material-ui/core/useMediaQuery\";\r\nimport useIsScrolling from \"@micado-digital/react-ui/hooks/useIsScrolling\";\r\nimport useScrollDirection from \"../../../hooks/useScrollDirection\";\r\nimport useScrollPosition from \"../../../hooks/useScrollPosition\";\r\nimport Animation from \"./Animation\";\r\nimport Logo from \"./Logo\";\r\n\r\nimport styles from \"./Header.styles\";\r\n\r\nconst Banner = loadable(() => import(\"./Banner\"));\r\nconst Container = loadable(() => import(\"@Components/views/Container\"));\r\nconst DesktopMenu = loadable(() => import(\"./DesktopMenu\"));\r\nconst Hamburger = loadable(() => import(\"./Hamburger\"));\r\nconst Icons = loadable(() => import(\"./Icons\"));\r\nconst MobileMenu = loadable(() => import(\"./MobileMenu\"));\r\nconst Search = loadable(() => import(\"../Search\"));\r\n\r\nconst Header = () => {\r\n\tconst [pageData] = useContext(PageContext);\r\n\tconst { layoutTag, layoutVariant } = pageData;\r\n\tconst [ui] = useContext(UiContext);\r\n\tconst { menuOpen, searchOverlayOpen } = ui;\r\n\tconst theme = useTheme();\r\n\tconst isMobile = useMediaQuery(theme.breakpoints.down(\"sm\"));\r\n\tconst isScrolling = useIsScrolling(0);\r\n\tconst scrollDirection = useScrollDirection();\r\n\tconst scrollPosition = useScrollPosition();\r\n\tconst isIntro = layoutVariant === \"intro\";\r\n\tconst css = styles({ isIntro, isScrolling, menuOpen });\r\n\r\n\tconst hasAnimation =\r\n\t\tlayoutVariant === \"no-animation\" || layoutTag === \"shop\" || layoutTag === \"shop-product\"\r\n\t\t\t? false\r\n\t\t\t: true;\r\n\r\n\treturn (\r\n\t\t\r\n\t\t\t 100\r\n\t\t\t\t})}\r\n\t\t\t>\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t{!isMobile && }\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t{isMobile && menuOpen && }\r\n\t\t\t\t\t\t{isMobile && }\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\r\n\t\t\t{hasAnimation && }\r\n\t\t\t{searchOverlayOpen && }\r\n\t\t\r\n\t);\r\n};\r\n\r\nexport default Header;\r\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { getThemeProps, useTheme } from '@material-ui/styles';\nexport default function useMediaQuery(queryInput) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var theme = useTheme();\n var props = getThemeProps({\n theme: theme,\n name: 'MuiUseMediaQuery',\n props: {}\n });\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof queryInput === 'function' && theme === null) {\n console.error(['Material-UI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\\n'));\n }\n }\n\n var query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;\n query = query.replace(/^@media( ?)/m, ''); // Wait for jsdom to support the match media feature.\n // All the browsers Material-UI support have this built-in.\n // This defensive check is here for simplicity.\n // Most of the time, the match media logic isn't central to people tests.\n\n var supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';\n\n var _props$options = _extends({}, props, options),\n _props$options$defaul = _props$options.defaultMatches,\n defaultMatches = _props$options$defaul === void 0 ? false : _props$options$defaul,\n _props$options$matchM = _props$options.matchMedia,\n matchMedia = _props$options$matchM === void 0 ? supportMatchMedia ? window.matchMedia : null : _props$options$matchM,\n _props$options$noSsr = _props$options.noSsr,\n noSsr = _props$options$noSsr === void 0 ? false : _props$options$noSsr,\n _props$options$ssrMat = _props$options.ssrMatchMedia,\n ssrMatchMedia = _props$options$ssrMat === void 0 ? null : _props$options$ssrMat;\n\n var _React$useState = React.useState(function () {\n if (noSsr && supportMatchMedia) {\n return matchMedia(query).matches;\n }\n\n if (ssrMatchMedia) {\n return ssrMatchMedia(query).matches;\n } // Once the component is mounted, we rely on the\n // event listeners to return the correct matches value.\n\n\n return defaultMatches;\n }),\n match = _React$useState[0],\n setMatch = _React$useState[1];\n\n React.useEffect(function () {\n var active = true;\n\n if (!supportMatchMedia) {\n return undefined;\n }\n\n var queryList = matchMedia(query);\n\n var updateMatch = function updateMatch() {\n // Workaround Safari wrong implementation of matchMedia\n // TODO can we remove it?\n // https://github.com/mui-org/material-ui/pull/17315#issuecomment-528286677\n if (active) {\n setMatch(queryList.matches);\n }\n };\n\n updateMatch();\n queryList.addListener(updateMatch);\n return function () {\n active = false;\n queryList.removeListener(updateMatch);\n };\n }, [query, matchMedia, supportMatchMedia]);\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue({\n query: query,\n match: match\n });\n }\n\n return match;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _react = require(\"react\");\nconst useIsScrolling = topValue => {\n const [isScrolling, setIsScrolling] = (0, _react.useState)(false);\n const targetValue = topValue ? topValue : 0;\n (0, _react.useEffect)(() => {\n const onScroll = () => setIsScrolling(window.pageYOffset > targetValue);\n window.removeEventListener(\"scroll\", onScroll);\n window.addEventListener(\"scroll\", onScroll, {\n passive: true\n });\n return () => window.removeEventListener(\"scroll\", onScroll);\n }, [targetValue]);\n return isScrolling;\n};\nvar _default = exports.default = useIsScrolling;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _react = require(\"react\");\nvar _PageContext = _interopRequireDefault(require(\"../context/PageContext\"));\nvar _WebProfileContext = _interopRequireDefault(require(\"../context/WebProfileContext\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\nconst useSystemLogo = identifier => {\n const [pageData] = (0, _react.useContext)(_PageContext.default);\n const [profileData] = (0, _react.useContext)(_WebProfileContext.default);\n const {\n lang\n } = pageData;\n const [logo, setLogo] = (0, _react.useState)({\n homeLink: \"/\"\n });\n const {\n logos,\n name\n } = profileData || {};\n (0, _react.useEffect)(() => {\n const logo = logos === null || logos === void 0 ? void 0 : logos.find(logo => logo.identifier === identifier);\n const {\n filename\n } = logo || {};\n let homeLink = \"/\";\n if (filename) {\n if (lang !== \"de\") {\n homeLink = \"/\".concat(lang, \"/\");\n }\n setLogo({\n alt: name,\n homeLink,\n src: filename\n });\n }\n }, [identifier, lang, logos, name]);\n return logo;\n};\nvar _default = exports.default = useSystemLogo;"],"names":["_useState","useState","_useState2","_slicedToArray","scrollDirection","setScrollDirection","useEffect","lastScrollY","window","pageYOffset","updateScrollDirection","scrollY","direction","addEventListener","removeEventListener","scrollPosition","setScrollPosition","updatePosition","_window$pageYOffset","makeStyles","theme","animationWrapper","color","palette","common","white","height","position","width","animationWrapperIntro","_defineProperty","breakpoints","up","animation","bottom","spacing","left","maxWidth","padding","transform","concat","fontSize","fontWeight","typography","fontWeightBlack","hyphens","textTransform","fontWeightRegular","marginTop","_objectSpread","background","primary","main","borderRadius","shape","display","transition","button","dark","content","inset","pointerEvents","down","right","justifyContent","paddingLeft","paddingRight","zIndex","backdropFilter","animationIntro","flex","order","ReactAnimation","loadable","ReactSVGIcon","_clsx2","_useContext","useContext","PageContext","pageData","animationID","layoutTag","layoutVariant","$wrapper","useRef","css","styles","isIntro","mediaFormats","useMemo","xs","sm","lg","isEmpty","_jsx","className","clsx","ref","children","api","process","data","id","prevIcon","src","size","nextIcon","showArrows","showBullets","textComponents","text1","text2","textVariants","md","webpFallback","_ref","isScrolling","image","ReactLink","UiContext","_useContext2","ui","setUi","menuOpen","logo","useSystemLogo","alt","homeLink","useIsScrolling","_Fragment","onClick","prevState","to","header","userSelect","paddingTop","top","flexDirection","maxHeight","modal","scrollDown","container","alignItems","gap","gridTemplateColumns","wrapper","Banner","Container","DesktopMenu","Hamburger","Icons","MobileMenu","Search","_clsx","_useContext3","searchOverlayOpen","useTheme","isMobile","useMediaQuery","useScrollDirection","useScrollPosition","hasAnimation","_jsxs","Logo","Animation","queryInput","options","arguments","length","undefined","props","getThemeProps","name","query","replace","supportMatchMedia","matchMedia","_props$options","_extends","_props$options$defaul","defaultMatches","_props$options$matchM","_props$options$noSsr","noSsr","_props$options$ssrMat","ssrMatchMedia","_React$useState","React","matches","match","setMatch","active","queryList","updateMatch","addListener","removeListener","require","exports","_react","topValue","_ref2","setIsScrolling","targetValue","onScroll","passive","_PageContext","_interopRequireDefault","_WebProfileContext","obj","__esModule","default","identifier","_ref3","profileData","lang","_ref5","_ref6","setLogo","_ref7","logos","filename","find"],"sourceRoot":""}