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AK,CACHC,gBAAyB,cAARJ,EACND,EAAMM,UACNN,EAAMO,IAFQ,MAI3B7B,QAASA,EANX,UAQE,SAAC,IAAD,CAAkB8B,MAAM,UAAxB,UACE,SAACrB,EAAD,WACE,SAACG,EAAD,WACE,SAAC,EAAAmB,IAAD,mBACMC,EAAAA,EAAAA,IAAkBX,EAAa,aAAe,KADpD,IAEExB,MAAO,WACP6B,IAAK,CAAEO,EAAG,GAHZ,SAKGb,e,4GCNf,UA1BA,WACE,OACEc,EAAAA,EAAAA,KADMC,EAAR,EAAQA,WAAYC,EAApB,EAAoBA,UAAWC,EAA/B,EAA+BA,YAAahB,EAA5C,EAA4CA,WAG5C,OACE,gCACGe,IACC,SAAC,IAAD,CACEhB,OAAQe,EACRd,WAAYA,EACZC,MAAOc,EACPpC,SAAS,KAGb,SAAC,KAAD,gBACEsC,WAAW,EACX,uBACAC,KAAMlD,EAAAA,EAAAA,SACF2C,EAAAA,EAAAA,IAAkBX,GAAc,gBAJtC,aAMGmB,MAAMC,QAAQJ,KAAgB,SAAC,IAAD,CAAaK,WAAYL","sources":["Enums/GridSize.enum.ts","Organisms/Blocks/SmallHeroBlock.tsx","Pages/StandardPage/StandardPage.tsx"],"sourcesContent":["export enum GridSize {\r\n Twelve = 12,\r\n Six = 6,\r\n Four = 4,\r\n Three = 3,\r\n One = 1,\r\n ContentContainer = 'ContentContainer',\r\n}\r\n\r\nexport enum GridWidth {\r\n ContentWidth = 'contentWidth',\r\n ScreenWidth = 'screenWidth',\r\n Auto = 'auto',\r\n}\r\n","import { H1 } from 'Atoms/Typography/Headings/Heading';\r\nimport ImageModel from 'Models/Assets/ImageModel.interface';\r\nimport { applyEditModeAttr } from 'Shared/Common/Helpers';\r\nimport useMedia from 'Shared/Hooks/useMedia';\r\nimport { styled } from 'stitches.config';\r\nimport { mediaQueryTypes } from 'Theme/Settings/mediaQueries';\r\nimport ContentContainer from 'Molecules/ContentContainer/ContentContainer';\r\n\r\ntype HeroModuleType = {\r\n image: ImageModel;\r\n inEditMode?: boolean;\r\n header?: string;\r\n overlay?: boolean;\r\n};\r\n\r\nfunction SmallHeroBlock({\r\n header,\r\n inEditMode,\r\n image,\r\n overlay = false,\r\n}: HeroModuleType) {\r\n const isMobile = useMedia(mediaQueryTypes.mediaMaxMedium);\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n {header}\r\n
\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nconst ImageContainer = styled('div', {\r\n position: 'relative',\r\n display: 'flex',\r\n backgroundRepeat: 'no-repeat',\r\n backgroundSize: 'cover',\r\n color: '$heroTextPrimary',\r\n h: 54,\r\n '@mediaMinLarge': {\r\n h: 75,\r\n },\r\n variants: {\r\n overlay: {\r\n true: {\r\n '&:before': {\r\n position: 'absolute',\r\n content: '\"\"',\r\n top: 0,\r\n right: 0,\r\n bottom: 0,\r\n left: 0,\r\n backgroundColor: '$colors$backgroundPrimary',\r\n opacity: 0.4,\r\n },\r\n },\r\n },\r\n },\r\n});\r\n\r\nconst HeroWrapper = styled('div', {\r\n display: 'flex',\r\n height: '100%',\r\n alignItems: 'flex-end',\r\n});\r\n\r\nconst TextContainer = styled('div', {\r\n position: 'relative',\r\n display: 'flex',\r\n flexDirection: 'column',\r\n w: '100%',\r\n justifyContent: 'end',\r\n mt: 11,\r\n mb: 8,\r\n maxW: '$maxWidthMobile',\r\n '@mediaMinLarge': {\r\n mx: 0,\r\n maxW: 187,\r\n mb: 16,\r\n },\r\n});\r\n\r\nexport default SmallHeroBlock;\r\n","import Grid from 'Atoms/Grids/Grid';\r\nimport { GridSize } from 'Enums/GridSize.enum';\r\nimport StandardPageModel from 'Models/Pages/StandardPage/StandardPageModel.interface';\r\nimport SmallHeroBlock from 'Organisms/Blocks/SmallHeroBlock';\r\nimport ContentArea from 'Organisms/ContentArea/ContentArea';\r\nimport { applyEditModeAttr } from 'Shared/Common/Helpers';\r\nimport useCurrentPage from 'Shared/Hooks/useCurrentPage';\r\n\r\nfunction StandardPage() {\r\n const { heroHeader, heroImage, contentArea, inEditMode } =\r\n useCurrentPage();\r\n\r\n return (\r\n <>\r\n {heroImage && (\r\n \r\n )}\r\n \r\n {Array.isArray(contentArea) && }\r\n \r\n >\r\n );\r\n}\r\n\r\nexport default StandardPage;\r\n"],"names":["GridSize","GridWidth","ImageContainer","styled","position","display","backgroundRepeat","backgroundSize","color","h","variants","overlay","true","content","top","right","bottom","left","backgroundColor","opacity","HeroWrapper","height","alignItems","TextContainer","flexDirection","w","justifyContent","mt","mb","maxW","mx","header","inEditMode","image","isMobile","useMedia","mediaQueryTypes","css","backgroundImage","mobileSrc","src","width","H1","applyEditModeAttr","m","useCurrentPage","heroHeader","heroImage","contentArea","noPadding","type","Array","isArray","childItems"],"sourceRoot":""}