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,KAAM,c","sources":["webpack://gatsby-starter-typescript-plus/./node_modules/@material-ui/core/esm/Grid/Grid.js","webpack://gatsby-starter-typescript-plus/./node_modules/@material-ui/icons/Equalizer.js","webpack://gatsby-starter-typescript-plus/./src/components/Banner.tsx","webpack://gatsby-starter-typescript-plus/./src/components/BannerMobile.tsx","webpack://gatsby-starter-typescript-plus/./src/styles/HomeNovadeLiteSection.ts","webpack://gatsby-starter-typescript-plus/./src/components/HomeNovadeLiteSection.tsx","webpack://gatsby-starter-typescript-plus/./src/styles/CategorySection.ts","webpack://gatsby-starter-typescript-plus/./src/components/CategorySection.tsx","webpack://gatsby-starter-typescript-plus/./src/styles/FeaturedTemplatesSection.ts","webpack://gatsby-starter-typescript-plus/./src/components/FeaturedTemplatesSection.tsx","webpack://gatsby-starter-typescript-plus/./src/layouts/index.tsx","webpack://gatsby-starter-typescript-plus/./src/pages/index.tsx","webpack://gatsby-starter-typescript-plus/./src/utils/getFilterOptions.ts"],"sourcesContent":["import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\"; // A grid component using the following libs as inspiration.\n//\n// For the implementation:\n// - https://getbootstrap.com/docs/4.3/layout/grid/\n// - https://github.com/kristoferjoseph/flexboxgrid/blob/master/src/css/flexboxgrid.css\n// - https://github.com/roylee0704/react-flexbox-grid\n// - https://material.angularjs.org/latest/layout/introduction\n//\n// Follow this flexbox Guide to better understand the underlying model:\n// - https://css-tricks.com/snippets/css/a-guide-to-flexbox/\n\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport requirePropFactory from '../utils/requirePropFactory';\nvar SPACINGS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\nvar GRID_SIZES = ['auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];\n\nfunction generateGrid(globalStyles, theme, breakpoint) {\n var styles = {};\n GRID_SIZES.forEach(function (size) {\n var key = \"grid-\".concat(breakpoint, \"-\").concat(size);\n\n if (size === true) {\n // For the auto layouting\n styles[key] = {\n flexBasis: 0,\n flexGrow: 1,\n maxWidth: '100%'\n };\n return;\n }\n\n if (size === 'auto') {\n styles[key] = {\n flexBasis: 'auto',\n flexGrow: 0,\n maxWidth: 'none'\n };\n return;\n } // Keep 7 significant numbers.\n\n\n var width = \"\".concat(Math.round(size / 12 * 10e7) / 10e5, \"%\"); // Close to the bootstrap implementation:\n // https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41\n\n styles[key] = {\n flexBasis: width,\n flexGrow: 0,\n maxWidth: width\n };\n }); // No need for a media query for the first size.\n\n if (breakpoint === 'xs') {\n _extends(globalStyles, styles);\n } else {\n globalStyles[theme.breakpoints.up(breakpoint)] = styles;\n }\n}\n\nfunction getOffset(val) {\n var div = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n var parse = parseFloat(val);\n return \"\".concat(parse / div).concat(String(val).replace(String(parse), '') || 'px');\n}\n\nfunction generateGutter(theme, breakpoint) {\n var styles = {};\n SPACINGS.forEach(function (spacing) {\n var themeSpacing = theme.spacing(spacing);\n\n if (themeSpacing === 0) {\n return;\n }\n\n styles[\"spacing-\".concat(breakpoint, \"-\").concat(spacing)] = {\n margin: \"-\".concat(getOffset(themeSpacing, 2)),\n width: \"calc(100% + \".concat(getOffset(themeSpacing), \")\"),\n '& > $item': {\n padding: getOffset(themeSpacing, 2)\n }\n };\n });\n return styles;\n} // Default CSS values\n// flex: '0 1 auto',\n// flexDirection: 'row',\n// alignItems: 'flex-start',\n// flexWrap: 'nowrap',\n// justifyContent: 'flex-start',\n\n\nexport var styles = function styles(theme) {\n return _extends({\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the root element if `container={true}`. */\n container: {\n boxSizing: 'border-box',\n display: 'flex',\n flexWrap: 'wrap',\n width: '100%'\n },\n\n /* Styles applied to the root element if `item={true}`. */\n item: {\n boxSizing: 'border-box',\n margin: '0' // For instance, it's useful when used with a `figure` element.\n\n },\n\n /* Styles applied to the root element if `zeroMinWidth={true}`. */\n zeroMinWidth: {\n minWidth: 0\n },\n\n /* Styles applied to the root element if `direction=\"column\"`. */\n 'direction-xs-column': {\n flexDirection: 'column'\n },\n\n /* Styles applied to the root element if `direction=\"column-reverse\"`. */\n 'direction-xs-column-reverse': {\n flexDirection: 'column-reverse'\n },\n\n /* Styles applied to the root element if `direction=\"row-reverse\"`. */\n 'direction-xs-row-reverse': {\n flexDirection: 'row-reverse'\n },\n\n /* Styles applied to the root element if `wrap=\"nowrap\"`. */\n 'wrap-xs-nowrap': {\n flexWrap: 'nowrap'\n },\n\n /* Styles applied to the root element if `wrap=\"reverse\"`. */\n 'wrap-xs-wrap-reverse': {\n flexWrap: 'wrap-reverse'\n },\n\n /* Styles applied to the root element if `alignItems=\"center\"`. */\n 'align-items-xs-center': {\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `alignItems=\"flex-start\"`. */\n 'align-items-xs-flex-start': {\n alignItems: 'flex-start'\n },\n\n /* Styles applied to the root element if `alignItems=\"flex-end\"`. */\n 'align-items-xs-flex-end': {\n alignItems: 'flex-end'\n },\n\n /* Styles applied to the root element if `alignItems=\"baseline\"`. */\n 'align-items-xs-baseline': {\n alignItems: 'baseline'\n },\n\n /* Styles applied to the root element if `alignContent=\"center\"`. */\n 'align-content-xs-center': {\n alignContent: 'center'\n },\n\n /* Styles applied to the root element if `alignContent=\"flex-start\"`. */\n 'align-content-xs-flex-start': {\n alignContent: 'flex-start'\n },\n\n /* Styles applied to the root element if `alignContent=\"flex-end\"`. */\n 'align-content-xs-flex-end': {\n alignContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `alignContent=\"space-between\"`. */\n 'align-content-xs-space-between': {\n alignContent: 'space-between'\n },\n\n /* Styles applied to the root element if `alignContent=\"space-around\"`. */\n 'align-content-xs-space-around': {\n alignContent: 'space-around'\n },\n\n /* Styles applied to the root element if `justify=\"center\"`. */\n 'justify-xs-center': {\n justifyContent: 'center'\n },\n\n /* Styles applied to the root element if `justify=\"flex-end\"`. */\n 'justify-xs-flex-end': {\n justifyContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `justify=\"space-between\"`. */\n 'justify-xs-space-between': {\n justifyContent: 'space-between'\n },\n\n /* Styles applied to the root element if `justify=\"space-around\"`. */\n 'justify-xs-space-around': {\n justifyContent: 'space-around'\n },\n\n /* Styles applied to the root element if `justify=\"space-evenly\"`. */\n 'justify-xs-space-evenly': {\n justifyContent: 'space-evenly'\n }\n }, generateGutter(theme, 'xs'), theme.breakpoints.keys.reduce(function (accumulator, key) {\n // Use side effect over immutability for better performance.\n generateGrid(accumulator, theme, key);\n return accumulator;\n }, {}));\n};\nvar Grid = /*#__PURE__*/React.forwardRef(function Grid(props, ref) {\n var _props$alignContent = props.alignContent,\n alignContent = _props$alignContent === void 0 ? 'stretch' : _props$alignContent,\n _props$alignItems = props.alignItems,\n alignItems = _props$alignItems === void 0 ? 'stretch' : _props$alignItems,\n classes = props.classes,\n classNameProp = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$container = props.container,\n container = _props$container === void 0 ? false : _props$container,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'row' : _props$direction,\n _props$item = props.item,\n item = _props$item === void 0 ? false : _props$item,\n _props$justify = props.justify,\n justify = _props$justify === void 0 ? 'flex-start' : _props$justify,\n _props$lg = props.lg,\n lg = _props$lg === void 0 ? false : _props$lg,\n _props$md = props.md,\n md = _props$md === void 0 ? false : _props$md,\n _props$sm = props.sm,\n sm = _props$sm === void 0 ? false : _props$sm,\n _props$spacing = props.spacing,\n spacing = _props$spacing === void 0 ? 0 : _props$spacing,\n _props$wrap = props.wrap,\n wrap = _props$wrap === void 0 ? 'wrap' : _props$wrap,\n _props$xl = props.xl,\n xl = _props$xl === void 0 ? false : _props$xl,\n _props$xs = props.xs,\n xs = _props$xs === void 0 ? false : _props$xs,\n _props$zeroMinWidth = props.zeroMinWidth,\n zeroMinWidth = _props$zeroMinWidth === void 0 ? false : _props$zeroMinWidth,\n other = _objectWithoutProperties(props, [\"alignContent\", \"alignItems\", \"classes\", \"className\", \"component\", \"container\", \"direction\", \"item\", \"justify\", \"lg\", \"md\", \"sm\", \"spacing\", \"wrap\", \"xl\", \"xs\", \"zeroMinWidth\"]);\n\n var className = clsx(classes.root, classNameProp, container && [classes.container, spacing !== 0 && classes[\"spacing-xs-\".concat(String(spacing))]], item && classes.item, zeroMinWidth && classes.zeroMinWidth, direction !== 'row' && classes[\"direction-xs-\".concat(String(direction))], wrap !== 'wrap' && classes[\"wrap-xs-\".concat(String(wrap))], alignItems !== 'stretch' && classes[\"align-items-xs-\".concat(String(alignItems))], alignContent !== 'stretch' && classes[\"align-content-xs-\".concat(String(alignContent))], justify !== 'flex-start' && classes[\"justify-xs-\".concat(String(justify))], xs !== false && classes[\"grid-xs-\".concat(String(xs))], sm !== false && classes[\"grid-sm-\".concat(String(sm))], md !== false && classes[\"grid-md-\".concat(String(md))], lg !== false && classes[\"grid-lg-\".concat(String(lg))], xl !== false && classes[\"grid-xl-\".concat(String(xl))]);\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: className,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nvar StyledGrid = withStyles(styles, {\n name: 'MuiGrid'\n})(Grid);\n\nif (process.env.NODE_ENV !== 'production') {\n var requireProp = requirePropFactory('Grid');\n StyledGrid.propTypes = _extends({}, StyledGrid.propTypes, {\n alignContent: requireProp('container'),\n alignItems: requireProp('container'),\n direction: requireProp('container'),\n justify: requireProp('container'),\n lg: requireProp('item'),\n md: requireProp('item'),\n sm: requireProp('item'),\n spacing: requireProp('container'),\n wrap: requireProp('container'),\n xs: requireProp('item'),\n zeroMinWidth: requireProp('item')\n });\n}\n\nexport default StyledGrid;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z\"\n}), 'Equalizer');\n\nexports.default = _default;","import { Paper, InputBase, InputAdornment } from '@material-ui/core';\nimport Container from '@material-ui/core/Container';\nimport IconButton from '@material-ui/core/IconButton';\nimport { createStyles, makeStyles, Theme } from '@material-ui/core/styles';\nimport Typography from '@material-ui/core/Typography';\nimport SearchIcon from '@material-ui/icons/Search';\nimport { graphql, Link, StaticQuery } from 'gatsby';\nimport { GatsbyImage } from 'gatsby-plugin-image';\nimport * as React from 'react';\nimport { LocationLanguageContext } from '../contexts/LocationLanguageContext';\nimport { enterToSearch, clickToSearch } from '../utils/common';\nimport { LocationLanguageContextType } from '../typings';\nimport { Languages } from '../utils/getAllSupportedLanguages';\n\ninterface StrapiBanner {\n strapiId: number;\n Title: string;\n Subtitle: string;\n Link: string;\n locale: string;\n Image: string;\n}\n\ninterface StrapiHeader {\n SearchLabel: string;\n locale: string;\n}\n\ninterface BannerQueryProps {\n allStrapiBanners: {\n nodes: StrapiBanner[];\n };\n allStrapiHeader: {\n nodes: StrapiHeader[];\n };\n}\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n bannerSection: {\n position: 'relative',\n textAlign: 'center',\n color: '#fff',\n display: 'grid'\n },\n bannerImage: {\n gridArea: '1/1'\n },\n bannerText: {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n color: '#fff'\n },\n bannerTitle: {\n fontSize: '2.0243em',\n marginBottom: '0.5rem',\n fontWeight: 500,\n textAlign: 'center',\n lineHeight: '1'\n },\n bannerDesc: {\n textAlign: 'center',\n fontSize: '1.25em',\n lineHeight: '1.2'\n },\n searchContainer: {\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n alignItems: 'center'\n },\n searchInput: {\n width: '23rem',\n height: '1.375rem',\n display: 'flex',\n margin: '16px 190px 16px 190px',\n padding: '0.5rem 0.8rem',\n backgroundColor: '#fff',\n border: 'solid 1.1px #e0e0e0',\n borderRadius: '4px'\n },\n slides: {\n position: 'relative',\n overflow: 'hidden'\n },\n currentSlide: {\n opacity: '1',\n height: '100%',\n position: 'absolute'\n },\n [theme.breakpoints.up('lg')]: {\n slides: {\n minHeight: '266px'\n }\n },\n [theme.breakpoints.down('lg')]: {\n slides: {\n minHeight: '150px'\n },\n bannerTitle: {\n fontSize: '1.3em'\n },\n bannerDesc: {\n fontSize: '1.1em'\n }\n },\n [theme.breakpoints.down('md')]: {\n slides: {\n minHeight: '160px'\n }\n }\n })\n);\n\nconst Banner: React.FC<{}> = () => (\n {\n const [searchFieldValue, setSearchFieldValue] = React.useState('');\n\n const locationLanguage = React.useContext(LocationLanguageContext);\n const language: string = locationLanguage?.language ?? Languages.English;\n\n const banners = bannersData.allStrapiBanners;\n let filterBanner = banners.nodes;\n filterBanner = filterBanner.filter((eachBanner) => eachBanner.locale.includes(language));\n\n const header = bannersData.allStrapiHeader.nodes.find((eachLabel) => eachLabel.locale === language);\n const searchLabel = header ? header.SearchLabel : '';\n\n // Technically we can create multiple banners in Strapi.\n // For now, only one banner with multi-languages\n const firstBanner = filterBanner[0];\n\n const handleSearchChange = (event: React.ChangeEvent) => {\n setSearchFieldValue(event.target.value);\n };\n\n const search = (event: React.KeyboardEvent) => {\n enterToSearch(event, searchFieldValue);\n };\n\n const handleSearchClick = () => {\n clickToSearch(searchFieldValue);\n };\n\n const classes = useStyles();\n\n if (firstBanner) {\n return (\n
\n \n \n
\n \n
\n \n
\n \n {firstBanner.Title}\n \n
\n \n \n \n \n \n \n }\n inputProps={{ 'aria-label': `${searchLabel}` }}\n />\n \n
\n \n {firstBanner.Subtitle}\n \n
\n
\n
\n );\n }\n return null;\n }}\n />\n);\n\nexport default Banner;\n","import { Paper, InputBase, InputAdornment } from '@material-ui/core';\nimport Container from '@material-ui/core/Container';\nimport IconButton from '@material-ui/core/IconButton';\nimport { createStyles, makeStyles } from '@material-ui/core/styles';\nimport Typography from '@material-ui/core/Typography';\nimport SearchIcon from '@material-ui/icons/Search';\nimport { graphql, Link, StaticQuery } from 'gatsby';\nimport { GatsbyImage } from 'gatsby-plugin-image';\nimport * as React from 'react';\nimport { LocationLanguageContext } from '../contexts/LocationLanguageContext';\nimport { LocationLanguageContextType } from '../typings';\nimport { enterToSearch, clickToSearch } from '../utils/common';\nimport { Languages } from '../utils/getAllSupportedLanguages';\n\ninterface StrapiBanner {\n strapiId: number;\n Title: string;\n Subtitle: string;\n Link: string;\n locale: string;\n Image: string;\n}\n\ninterface StrapiHeader {\n SearchLabel: string;\n locale: string;\n}\n\ninterface BannerQueryProps {\n allStrapiBanners: {\n nodes: StrapiBanner[];\n };\n allStrapiHeader: {\n nodes: StrapiHeader[];\n };\n}\n\nconst useStyles = makeStyles(() =>\n createStyles({\n bannerSection: {\n position: 'relative',\n textAlign: 'center',\n color: '#fff',\n display: 'grid',\n height: '100%'\n },\n bannerImage: {\n gridArea: '1/1',\n minHeight: '220px'\n },\n bannerText: {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n color: '#fff',\n width: '100%',\n height: '100%',\n padding: '1em',\n boxSizing: 'border-box',\n textAlign: 'center',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center'\n },\n bannerTitle: {\n fontSize: '1.2em',\n fontWeight: 500,\n textAlign: 'center',\n lineHeight: '1.2',\n margin: '0.5em 0'\n },\n bannerDesc: {\n textAlign: 'center',\n fontSize: '0.9em',\n lineHeight: '1.2',\n margin: '0.5em 0'\n },\n searchContainer: {\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n alignItems: 'center'\n },\n searchInput: {\n width: '18rem',\n height: '1.3rem',\n display: 'flex',\n margin: '12px 190px 12px 190px',\n padding: '0.5rem 0.8rem',\n backgroundColor: '#fff',\n border: 'solid 1.1px #e0e0e0',\n borderRadius: '4px'\n },\n slides: {\n position: 'relative',\n overflow: 'hidden',\n display: 'flex',\n flexDirection: 'column'\n },\n currentSlide: {\n flex: 1\n }\n })\n);\n\nconst BannerMobile: React.FC<{}> = () => (\n {\n const [searchFieldValue, setSearchFieldValue] = React.useState('');\n\n const locationLanguage = React.useContext(LocationLanguageContext);\n const language: string = locationLanguage?.language ?? Languages.English;\n\n const banners = bannersData.allStrapiBanners;\n let filterBanner = banners.nodes;\n filterBanner = filterBanner.filter((eachBanner) => eachBanner.locale.includes(language));\n\n const header = bannersData.allStrapiHeader.nodes.find((eachLabel) => eachLabel.locale === language);\n const searchLabel = header ? header.SearchLabel : '';\n\n // Technically we can create multiple banners in Strapi.\n // For now, only one banner with multi-languages\n const firstBanner = filterBanner[0];\n\n const handleSearchChange = (event: React.ChangeEvent) => {\n setSearchFieldValue(event.target.value);\n };\n\n const search = (event: React.KeyboardEvent) => {\n enterToSearch(event, searchFieldValue);\n };\n\n const handleSearchClick = () => {\n clickToSearch(searchFieldValue);\n };\n\n const classes = useStyles();\n\n if (firstBanner) {\n return (\n
\n \n
\n \n \n \n
\n\n
\n \n {firstBanner.Title}\n \n
\n \n \n \n \n \n \n }\n inputProps={{ 'aria-label': `${searchLabel}` }}\n />\n \n
\n \n {firstBanner.Subtitle}\n \n
\n
\n
\n );\n }\n return null;\n }}\n />\n);\n\nexport default BannerMobile;\n","import { createStyles, makeStyles, Theme } from '@material-ui/core/styles';\nimport { globalColors } from './globalColorVariables';\n\nconst useHomeNovadeLiteSectionStyles = makeStyles((theme: Theme) =>\n createStyles({\n boldCenterText: {\n textAlign: 'center',\n fontWeight: 500\n },\n centerAlign: {\n textAlign: 'center'\n },\n imageCenterAlign: {\n margin: 'auto'\n },\n formControl: {\n marginBottom: '1rem'\n },\n sectionContainerColumns: {\n padding: '2rem 0',\n display: 'flex'\n },\n containerColumn: {\n padding: '15px'\n },\n logoImage: {\n width: '60%',\n margin: 'auto'\n },\n sectionHeader: {\n fontSize: '2rem',\n color: '#5182BB',\n padding: '0.5rem 1rem'\n },\n sectionBodyText: {\n color: '#5182BB',\n margin: '1em 0'\n },\n sectionSignUpButton: {\n color: 'white',\n textTransform: 'uppercase',\n fontSize: '19px',\n paddingLeft: '65px',\n paddingRight: '65px',\n '&:hover': {\n backgroundColor: globalColors.secondaryColor\n }\n },\n appDownloadSection: {\n margin: '0.5em 1.5em',\n padding: '1em 1.5em'\n },\n overlaySection: {\n opacity: '1',\n transition: '.3s ease',\n position: 'absolute',\n top: 0,\n right: 0,\n left: 0,\n bottom: 0,\n backgroundColor: 'transparent',\n height: '100%',\n width: '100%'\n },\n videoSection: {\n cursor: 'pointer',\n position: 'relative',\n width: '100%',\n padding: '15px'\n },\n videoPlayBackground: {\n marginTop: '20px',\n width: '600px'\n },\n playIconImage: {\n width: '5.5em',\n height: '5.5em',\n position: 'absolute',\n left: '50%',\n top: '50%',\n zIndex: 2,\n transform: 'translate(-50%, -50%)'\n },\n // Match [0, 900px)\n [theme.breakpoints.down('md')]: {\n sectionContainerColumns: {\n flexDirection: 'column'\n },\n videoPlayBackground: {\n width: '100% !important'\n },\n sectionHeader: {\n fontSize: '1.25em'\n },\n sectionSignUpButton: {\n fontSize: '1em'\n }\n }\n })\n);\n\nexport default useHomeNovadeLiteSectionStyles;\n","import * as React from 'react';\nimport { Container, Typography, Button } from '@material-ui/core';\nimport { StaticImage } from 'gatsby-plugin-image';\nimport useHomeNovadeLiteSectionStyles from '../styles/HomeNovadeLiteSection';\nimport { StrapiNovadeLiteSection } from '../typings';\nimport { getLiteAppDataByLocale } from '../utils/common';\n\nconst NovadeLiteSection: React.FC = (sectionProps) => {\n const { title, subtitle, signupLabel, signupLink, locale } = sectionProps;\n\n const [enableIframe, setEnableIframe] = React.useState(false);\n const classes = useHomeNovadeLiteSectionStyles();\n const handleIframe = () => {\n setEnableIframe(true);\n };\n\n const { iosLink, androidLink } = getLiteAppDataByLocale(locale);\n const novadeLiteYoutubeUrl = 'https://www.youtube.com/embed/T19fYj8RU-I?autoplay=1';\n\n return (\n
\n \n \n \n \n \n {title}\n \n \n {subtitle}\n \n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n
\n
\n {!enableIframe ? (\n \n \n
\n \n
\n
\n ) : (\n \n \n \n )}\n
\n );\n};\n\nexport default NovadeLiteSection;\n","import { createStyles, makeStyles, Theme } from '@material-ui/core/styles';\n\nconst useCategorySectionStyles = makeStyles((theme: Theme) =>\n createStyles({\n // general css rules\n categoryContainer: {\n display: 'grid',\n gridTemplateColumns: '18px 1fr',\n gap: '0.5rem',\n padding: '1rem',\n alignItems: 'center',\n '& p': {\n fontSize: '1em'\n }\n },\n mainSectionContainer: {\n padding: '1rem 0',\n margin: '1rem 0',\n '& a': {\n textDecoration: 'none'\n }\n },\n mainSectionTitle: {\n fontWeight: 600,\n marginBottom: '1.5rem',\n fontSize: '1.5em',\n lineHeight: '1.42'\n },\n // Match [0, 900px)\n [theme.breakpoints.down('md')]: {\n categoryContainer: {\n '& p': {\n fontSize: '0.875em'\n }\n },\n mainSectionTitle: {\n textAlign: 'center',\n fontWeight: 500,\n marginBottom: '1rem',\n fontSize: '1.25em',\n lineHeight: '1.2'\n }\n },\n // Match [0, 600px)\n [theme.breakpoints.down('sm')]: {\n categoryContainer: {\n '& p': {\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n textOverflow: 'ellipsis'\n }\n }\n }\n })\n);\n\nexport default useCategorySectionStyles;\n","import * as React from 'react';\nimport { Typography, Grid, Paper } from '@material-ui/core';\nimport { graphql, useStaticQuery, Link } from 'gatsby';\nimport EqualizerIcon from '@material-ui/icons/Equalizer';\nimport { GatsbyImage } from 'gatsby-plugin-image';\nimport { LocationLanguageContextType, CategorySectionProps } from '../typings';\nimport { LocationLanguageContext } from '../contexts/LocationLanguageContext';\nimport useCategorySectionStyles from '../styles/CategorySection';\nimport { getTemplateCategoryByLocale, getCategoriesWithTemplates } from '../utils/getFilterOptions';\n\nconst templateCategoriesQuery = graphql`\n query CategoriesQuery {\n allStrapiCategories(sort: { fields: rank, order: ASC }) {\n nodes {\n name\n rank\n Localizations {\n displayName\n locale\n localeName\n }\n templates {\n id\n }\n icon {\n localFile {\n childImageSharp {\n gatsbyImageData(width: 24, height: 24, layout: CONSTRAINED)\n }\n }\n }\n }\n }\n }\n`;\n\nconst CategorySection: React.FC = ({ header }) => {\n const data = useStaticQuery(templateCategoriesQuery);\n\n const locationLanguage = React.useContext(LocationLanguageContext);\n const language: string = locationLanguage?.language ?? 'en';\n const { allStrapiCategories } = data;\n const categories = getTemplateCategoryByLocale(getCategoriesWithTemplates(allStrapiCategories.nodes), language);\n const classes = useCategorySectionStyles();\n\n if (!categories || categories.length === 0) return null;\n\n return (\n
\n \n {header}\n \n \n {categories.map((category) => (\n \n \n \n {category.icon ? (\n <>\n \n \n ) : (\n <>\n \n \n )}\n {category.displayName}\n \n \n \n ))}\n \n
\n );\n};\n\nexport default CategorySection;\n","import { createStyles, makeStyles, Theme } from '@material-ui/core/styles';\n\nconst useFeaturedTemplatesSectionStyles = makeStyles((theme: Theme) =>\n createStyles({\n mainSectionContainer: {\n padding: '1rem 0',\n margin: '1rem 0',\n '& a': {\n textDecoration: 'none'\n },\n '& div': {\n display: 'flex',\n alignItems: 'center'\n }\n },\n mainSectionTitle: {\n fontWeight: 600,\n marginBottom: '1rem',\n fontSize: '1.5em',\n lineHeight: '1.42',\n flex: '1',\n display: 'flex',\n flexDirection: 'column'\n },\n browseBtn: {\n color: '#2864ac',\n fontSize: '0.875em',\n fontWeight: 500,\n margin: '0 1em 1em 1em',\n flex: '0 0 auto',\n letterSpacing: '0.5px',\n textTransform: 'uppercase'\n },\n browseBtnMobile: {\n display: 'none'\n },\n [theme.breakpoints.down('md')]: {\n mainSectionTitle: {\n textAlign: 'center',\n fontWeight: 500,\n marginBottom: '1rem',\n fontSize: '1.25em',\n lineHeight: '1.2'\n },\n browseBtn: {\n display: 'none'\n },\n browseBtnMobile: {\n display: 'block',\n textAlign: 'center',\n color: '#2864ac',\n textDecoration: 'none',\n margin: '1rem 0',\n '& p': {\n fontSize: '14px',\n lineHeight: 1.14,\n fontWeight: 500\n }\n }\n },\n templateCard: {\n borderWidth: '0px',\n cursor: 'pointer',\n padding: '0px',\n textAlign: 'left',\n width: '100%',\n fontWeight: 'bold',\n textDecoration: 'none',\n '& div': {\n padding: '1rem'\n },\n '& div h4': {\n fontSize: '1em',\n fontWeight: '500',\n display: '-webkit-box',\n lineClamp: 1,\n boxOrient: 'vertical',\n overflow: 'hidden'\n }\n },\n [theme.breakpoints.up('md')]: {\n templateCard: {\n '& div': {\n height: '35px'\n }\n }\n }\n })\n);\n\nexport default useFeaturedTemplatesSectionStyles;\n","import * as React from 'react';\nimport { Typography, Grid, Paper } from '@material-ui/core';\nimport { Link, graphql, useStaticQuery } from 'gatsby';\nimport { StrapiTemplate, LocationLanguageContextType } from 'typings';\nimport { LocationLanguageContext } from '../contexts/LocationLanguageContext';\nimport { defaultLocation, getSupportedLanguage } from '../utils/getAllSupportedLanguages';\nimport useFeaturedTemplatesSectionStyles from '../styles/FeaturedTemplatesSection';\n\nconst featuredTemplatesQuery = graphql`\n query FeaturedTemplatesQuery {\n allStrapiTemplate(filter: { isPromoted: { eq: true } }, sort: { order: DESC, fields: updated_at }) {\n nodes {\n Slug\n id\n Title\n template_language {\n name\n }\n }\n }\n }\n`;\n\nconst FeaturedTemplatesSection: React.FC = ({ homePageContent }) => {\n const data = useStaticQuery(featuredTemplatesQuery);\n const locationLanguage = React.useContext(LocationLanguageContext);\n const country = locationLanguage?.country ?? defaultLocation;\n\n const maxTemplates = 12;\n const tempaltes = data.allStrapiTemplate.nodes as StrapiTemplate[];\n const initialFeaturedTemplates = tempaltes.slice(0, maxTemplates); // the latest 12 featured templates\n const [promotedTemplates, setPromotedTemplates] = React.useState(initialFeaturedTemplates);\n\n // Trigger to refresh the featured templates based on current country\n // Note: For EN templates it should show for all EN-speaking countries\n React.useEffect(() => {\n const supportedLang = getSupportedLanguage(country);\n const getPromotedTemplates = tempaltes.filter((template) => template.template_language?.name === supportedLang.localeName);\n const templates = getPromotedTemplates.length > 0 ? getPromotedTemplates : initialFeaturedTemplates;\n setPromotedTemplates(templates.slice(0, maxTemplates));\n }, [country.locationCode]);\n\n const classes = useFeaturedTemplatesSectionStyles();\n\n return (\n
\n
\n \n {homePageContent.FeaturedTemplatesLabel}\n \n \n {homePageContent.ViewMoreLabel}\n \n
\n\n \n {promotedTemplates.map((eachTemplate: StrapiTemplate) => (\n \n \n \n \n {eachTemplate.Title}\n \n \n \n \n ))}\n \n \n {homePageContent.ViewMoreLabel}\n \n
\n );\n};\n\nexport default FeaturedTemplatesSection;\n","import * as React from 'react';\nimport { Container } from '@material-ui/core';\nimport { graphql, useStaticQuery } from 'gatsby';\nimport Seo from '../components/Seo';\nimport Banner from '../components/Banner';\nimport BannerMobile from '../components/BannerMobile';\nimport { LocationLanguageContext } from '../contexts/LocationLanguageContext';\nimport { LocationLanguageContextType, StrapiHomePage } from '../typings';\nimport { Languages } from '../utils/getAllSupportedLanguages';\nimport NovadeLiteSection from '../components/HomeNovadeLiteSection';\nimport CategorySection from '../components/CategorySection';\nimport { matchesMobile } from '../utils/mediaQuery';\nimport FeaturedTemplatesSection from '../components/FeaturedTemplatesSection';\n\nconst strapiHomePageQuery = graphql`\n query IndexLayoutQuery {\n allStrapiHomePage {\n nodes {\n Title\n FeaturedTemplatesLabel\n BrowseByCategoryLabel\n ViewMoreLabel\n NLSectionTitle\n NLSectionSubtitle\n SignUpLabel\n SignUpUrl\n locale\n }\n }\n }\n`;\n\nconst IndexLayout: React.FC = () => {\n const data = useStaticQuery(strapiHomePageQuery);\n const allStrapiHomePage: StrapiHomePage[] = data.allStrapiHomePage.nodes;\n const locationLanguage = React.useContext(LocationLanguageContext);\n const language: string = locationLanguage?.language ?? Languages.English;\n const homePageContent = allStrapiHomePage.find((x) => x.locale === language);\n const isMobile = matchesMobile();\n\n if (homePageContent) {\n return (\n <>\n \n {isMobile ? : }\n \n \n \n \n \n \n );\n }\n\n return null;\n};\n\nexport default IndexLayout;\n","import * as React from 'react';\n\nimport IndexLayout from '../layouts/index';\n\nconst IndexPage = () => ;\n\nexport default IndexPage;\n","import { TemplateCategory, StrapiTemplateCategory, CountryInfo } from '../typings';\nimport { getSupportedLanguage, Languages } from './getAllSupportedLanguages';\n\n// Filter the list of categories that contains templates\nexport function getCategoriesWithTemplates(categoryArray: StrapiTemplateCategory[]) {\n let filteredCategories = categoryArray;\n filteredCategories = filteredCategories.filter((eachCategory: any) => eachCategory.templates.length > 0);\n return filteredCategories;\n}\n\n// Get the list of information for template categories, according to the selected language\nexport function getTemplateCategoryByLocale(categoryArray: StrapiTemplateCategory[], language: string) {\n const result: TemplateCategory[] = [];\n if (categoryArray.length === 0) return null;\n\n for (const eachCategory of categoryArray) {\n const foundCategory = !result ? false : result.some((x) => x.name === eachCategory.name);\n if (!foundCategory) {\n // use unique category name as default display name, if localizations not created yet\n let displayName = eachCategory.name;\n if (eachCategory.Localizations && eachCategory.Localizations.length > 0) {\n const localization = eachCategory.Localizations.find((x: any) => x.locale === language);\n if (localization) {\n displayName = localization.displayName;\n }\n }\n\n const tempArray = {\n name: eachCategory.name,\n icon: eachCategory.icon && eachCategory.icon.localFile ? eachCategory.icon.localFile.childImageSharp.gatsbyImageData : '',\n displayName,\n locale: language\n };\n result.push(tempArray);\n }\n }\n\n return result;\n}\n\n// get the display name of selected filters corresponding to the current language\nexport function getCategoryDisplayName(filterArray: string[], categoryArray: TemplateCategory[]) {\n const result: string[] = [];\n for (const eachCategory of categoryArray) {\n if (filterArray.includes(eachCategory.name)) {\n result.push(eachCategory.displayName);\n }\n }\n return result;\n}\n\n/**\n * @function setLanguageFilterByGeo\n * @description Return the array of initial language filter based on user's country.\n * @param {CountryInfo} country - user's current location\n * @param {TemplateCategory[] | null} templateLanguages - template's languages set in Strapi\n * @returns {string[]} Initial language filter in array\n */\nexport function setLanguageFilterByGeo(country: CountryInfo, templateLanguages: TemplateCategory[] | null) {\n // Get supported language based on user's country code\n const supportedLang = getSupportedLanguage(country);\n // Find the corresponding name in Strapi\n const result = templateLanguages?.find((templateLang: any) => templateLang.name === supportedLang?.localeName);\n return result ? [result.name] : [Languages.English];\n}\n\n/**\n * @function getDefaultFilters\n * @description Get the default filter values.\n * For language filter, default value is English when there is no initial language filter assigned.\n * @param {string[]} initialLangFilter\n * @returns {FilterSort}\n */\nexport function getDefaultFilters(initialLangFilter: string[] = [Languages.English]) {\n return {\n filters: {\n language: initialLangFilter,\n categories: [],\n trades: []\n },\n sort: 'titleasc'\n };\n}\n"],"names":["SPACINGS","GRID_SIZES","getOffset","val","div","arguments","length","undefined","parse","parseFloat","concat","String","replace","Grid","props","ref","_props$alignContent","alignContent","_props$alignItems","alignItems","classes","classNameProp","className","_props$component","component","Component","_props$container","container","_props$direction","direction","_props$item","item","_props$justify","justify","_props$lg","lg","_props$md","md","_props$sm","sm","_props$spacing","spacing","_props$wrap","wrap","_props$xl","xl","_props$xs","xs","_props$zeroMinWidth","zeroMinWidth","other","root","StyledGrid","theme","boxSizing","display","flexWrap","width","margin","minWidth","flexDirection","justifyContent","breakpoint","styles","forEach","themeSpacing","padding","generateGutter","breakpoints","keys","reduce","accumulator","key","globalStyles","size","Math","round","flexBasis","flexGrow","maxWidth","up","generateGrid","name","_interopRequireDefault","_interopRequireWildcard","exports","React","_default","default","createElement","d","useStyles","makeStyles","createStyles","bannerSection","position","textAlign","color","bannerImage","gridArea","bannerText","top","left","transform","bannerTitle","fontSize","marginBottom","fontWeight","lineHeight","bannerDesc","searchContainer","searchInput","height","backgroundColor","border","borderRadius","slides","overflow","currentSlide","opacity","minHeight","down","StaticQuery","query","render","bannersData","searchFieldValue","setSearchFieldValue","locationLanguage","LocationLanguageContext","language","Languages","filterBanner","allStrapiBanners","nodes","filter","eachBanner","locale","includes","header","allStrapiHeader","find","eachLabel","searchLabel","SearchLabel","firstBanner","Container","disableGutters","strapiId","Link","to","style","textDecoration","G","alt","Title","image","Image","localFile","childImageSharp","gatsbyImageData","Typography","variant","align","Paper","elevation","InputBase","onChange","event","target","value","fullWidth","onKeyDown","enterToSearch","placeholder","endAdornment","InputAdornment","IconButton","edge","onClick","clickToSearch","Search","inputProps","Subtitle","flex","boldCenterText","centerAlign","imageCenterAlign","formControl","sectionContainerColumns","containerColumn","logoImage","sectionHeader","sectionBodyText","sectionSignUpButton","textTransform","paddingLeft","paddingRight","globalColors","appDownloadSection","overlaySection","transition","right","bottom","videoSection","cursor","videoPlayBackground","marginTop","playIconImage","zIndex","sectionProps","title","subtitle","signupLabel","signupLink","enableIframe","setEnableIframe","useHomeNovadeLiteSectionStyles","getLiteAppDataByLocale","iosLink","androidLink","href","S","layout","src","Button","frameBorder","allow","allowFullScreen","categoryContainer","gridTemplateColumns","gap","mainSectionContainer","mainSectionTitle","whiteSpace","textOverflow","data","useStaticQuery","allStrapiCategories","categories","getTemplateCategoryByLocale","getCategoriesWithTemplates","useCategorySectionStyles","map","category","icon","displayName","Equalizer","browseBtn","letterSpacing","browseBtnMobile","templateCard","borderWidth","lineClamp","boxOrient","homePageContent","country","defaultLocation","tempaltes","allStrapiTemplate","initialFeaturedTemplates","slice","promotedTemplates","setPromotedTemplates","supportedLang","getSupportedLanguage","getPromotedTemplates","template","template_language","localeName","templates","locationCode","useFeaturedTemplatesSectionStyles","FeaturedTemplatesLabel","ViewMoreLabel","eachTemplate","Slug","allStrapiHomePage","x","isMobile","matchesMobile","Seo","isTemplatePage","BrowseByCategoryLabel","NLSectionTitle","NLSectionSubtitle","SignUpLabel","SignUpUrl","categoryArray","filteredCategories","eachCategory","result","some","Localizations","localization","tempArray","push","getCategoryDisplayName","filterArray","setLanguageFilterByGeo","templateLanguages","templateLang","getDefaultFilters","initialLangFilter","filters","trades","sort"],"sourceRoot":""}