{"version":3,"sources":["webpack:///./src/Avensia.Common/Features/Shared/Page/index.tsx","webpack:///./src/Avensia.Common/Features/Start/StartPage.tsx"],"names":["StrictPage","_a","breadcrumbs","restProps","tslib__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_1___default","a","createElement","Shared_PageLayout__WEBPACK_IMPORTED_MODULE_2__","Shared_Viewport__WEBPACK_IMPORTED_MODULE_4__","appearance","Normal","Gap","Shared_Breadcrumbs__WEBPACK_IMPORTED_MODULE_3__","PageExtensive","subnavigation","children","prioritizedSubContent","unprioritizedSubContent","passProps","asideNode","margin","Shared_Style__WEBPACK_IMPORTED_MODULE_5__","Small","layout","OneToFour","PageCompact","__webpack_exports__","props","isCompact","CenterContent","_glitz_react__WEBPACK_IMPORTED_MODULE_5__","div","width","Object","_glitz_core__WEBPACK_IMPORTED_MODULE_6__","Shared_Style__WEBPACK_IMPORTED_MODULE_7__","_avensia_scope__WEBPACK_IMPORTED_MODULE_2__","textAlign","MainWrapper","Shared_PageLayout__WEBPACK_IMPORTED_MODULE_4__","top","left","right","padding","Medium","Large","BkgPattern","backgroundImage","__webpack_require__","backgroundPosition","backgroundRepeat","position","bottom","zIndex","ImageContainer","overflow","height","BkgImage","Shared_Image__WEBPACK_IMPORTED_MODULE_8__","objectFit","ImageHeaderContentWrapper","color","textShadow","x","maxWidth","ImageHeaderFontSize","fontSize","Tiny","ButtonWrapper","display","flexWrap","justifyContent","Fragment","src","content","imageUrl","Shared_Page__WEBPACK_IMPORTED_MODULE_3__","BackgroundImage","Center","id","Shared_Animations_FadeIntoView__WEBPACK_IMPORTED_MODULE_11__","for","headerContent","headerButtonLink","Shared_Button_Hexagon__WEBPACK_IMPORTED_MODULE_9__","Shared_Button__WEBPACK_IMPORTED_MODULE_10__","Highlight","to","headerButtonText","headerButton2Link","headerButton2Text","headerButton3Link","headerButton3Text","mainContent"],"mappings":"qJA6BaA,EAAwE,SAACC,GACpF,IAAAC,EAAAD,EAAAC,YACAC,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,QAAQS,mBAC9B/E,EAAAC,EAAAC,cAAC8D,EAAa,KACZhE,EAAAC,EAAAC,cAAC8E,EAAA,GACC3E,WAAY4E,EAAA,EAAiBC,UAC7BC,GAAItD,OAAAG,EAAA,EAAAH,CAAiBN,EAAM+C,QAAQS,mBAEnC/E,EAAAC,EAAAC,cAAA,gBAAQ2B,OAAAG,EAAA,EAAAH,CAAiBN,EAAM+C,QAAQc,oBAExCvD,OAAAG,EAAA,EAAAH,CAAiBN,EAAM+C,QAAQe,oBAC9BrF,EAAAC,EAAAC,cAAC8E,EAAA,GACC3E,WAAY4E,EAAA,EAAiBC,UAC7BC,GAAItD,OAAAG,EAAA,EAAAH,CAAiBN,EAAM+C,QAAQe,oBAEnCrF,EAAAC,EAAAC,cAAA,gBAAQ2B,OAAAG,EAAA,EAAAH,CAAiBN,EAAM+C,QAAQgB,qBAG1CzD,OAAAG,EAAA,EAAAH,CAAiBN,EAAM+C,QAAQiB,oBAC9BvF,EAAAC,EAAAC,cAAC8E,EAAA,GACC3E,WAAY4E,EAAA,EAAiBC,UAC7BC,GAAItD,OAAAG,EAAA,EAAAH,CAAiBN,EAAM+C,QAAQiB,oBAEnCvF,EAAAC,EAAAC,cAAA,gBAAQ2B,OAAAG,EAAA,EAAAH,CAAiBN,EAAM+C,QAAQkB,wBAQnDxF,EAAAC,EAAAC,cAAC8B,EAAA,GAAY6C,IAAKtD,EAAM+C,QAAQmB","file":"assets/start.chunk.53922f4891118343c526.js","sourcesContent":["import React from 'react';\r\nimport {\r\n Main,\r\n Part,\r\n Aside,\r\n Basic,\r\n MarginProvider,\r\n Layout as PageLayout,\r\n Appearance as PageAppearance,\r\n} from 'Shared/PageLayout';\r\nimport MainMenuItem from 'SiteLayout/MainMenu/MainMenuItem.type';\r\nimport BreadcrumbsViewModel from 'Shared/Breadcrumbs/BreadcrumbsViewModel.type';\r\nimport Breadcrumbs from 'Shared/Breadcrumbs';\r\nimport Viewport, { ForExtensive } from 'Shared/Viewport';\r\nimport { AppearanceType } from '../appearance';\r\nimport * as style from 'Shared/Style';\r\n\r\nexport { Appearance } from 'Shared/PageLayout';\r\n\r\ntype SharedPropType = {\r\n appearance?: AppearanceType;\r\n breadcrumbs?: BreadcrumbsViewModel[];\r\n};\r\n\r\ntype StrictPropType = {\r\n layout?: PageLayout;\r\n};\r\n\r\n// A `StrictPage` or `Page` component should be the root element to your page\r\nexport const StrictPage: React.StatelessComponent = ({\r\n breadcrumbs,\r\n ...restProps\r\n}) => (\r\n
\r\n {breadcrumbs && (\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n
\r\n);\r\n\r\ntype PropType = SharedPropType & {\r\n subnavigation?: MainMenuItem[];\r\n prioritizedSubContent?: React.ReactNode;\r\n unprioritizedSubContent?: React.ReactNode;\r\n};\r\n\r\nconst PageExtensive: React.StatelessComponent = ({\r\n subnavigation,\r\n children,\r\n prioritizedSubContent,\r\n unprioritizedSubContent,\r\n ...passProps\r\n}) => {\r\n const asideNode = (prioritizedSubContent || subnavigation || unprioritizedSubContent) && (\r\n \r\n \r\n \r\n );\r\n\r\n return asideNode ? (\r\n \r\n {children}\r\n {asideNode}\r\n \r\n ) : (\r\n {children}\r\n );\r\n};\r\n\r\nconst PageCompact: React.StatelessComponent = ({\r\n appearance,\r\n subnavigation,\r\n breadcrumbs,\r\n children,\r\n prioritizedSubContent,\r\n unprioritizedSubContent,\r\n ...passProps\r\n}) => (\r\n \r\n {prioritizedSubContent}\r\n {children}\r\n {unprioritizedSubContent}\r\n \r\n);\r\n\r\nconst Page: React.StatelessComponent = props => (\r\n {(isCompact: boolean) => (isCompact ? : )}\r\n);\r\n\r\nexport default Page;\r\n","/**\r\n * @ComponentFor StartPageViewModel\r\n */\r\nimport React from 'react';\r\nimport { EpiProperty, epiPropertyValue, Breakpoint } from '@avensia/scope';\r\nimport PropType from './StartPageViewModel.type';\r\nimport Page from 'Shared/Page';\r\nimport { Main, Appearance } from 'Shared/PageLayout';\r\nimport { styled } from '@glitz/react';\r\nimport { media } from '@glitz/core';\r\nimport * as style from 'Shared/Style';\r\nimport Image from 'Shared/Image';\r\nimport HexagonButton from 'Shared/Button/Hexagon';\r\nimport { Appearance as ButtonAppearance } from 'Shared/Button';\r\nimport FadeIntoView from 'Shared/Animations/FadeIntoView';\r\n\r\nconst CenterContent = styled.div({\r\n width: '100%',\r\n ...media(style.mediaMinQueries[Breakpoint.Small], {\r\n textAlign: 'center',\r\n }),\r\n});\r\n\r\nconst MainWrapper = styled(Main, {\r\n width: '100%',\r\n margin: {\r\n top: '29px',\r\n left: 'auto',\r\n right: 'auto',\r\n },\r\n padding: {\r\n left: '28px',\r\n right: '28px',\r\n },\r\n ...media(style.mediaMinQueries[Breakpoint.Medium], {\r\n margin: {\r\n top: '99px',\r\n },\r\n padding: {\r\n left: '4vw',\r\n right: '4vw',\r\n },\r\n }),\r\n ...media(style.mediaMinQueries[Breakpoint.Large], {\r\n padding: {\r\n left: '8vw',\r\n right: '8vw',\r\n },\r\n }),\r\n});\r\n\r\nconst BkgPattern = styled.div({\r\n ...media(style.mediaMinQueries[Breakpoint.Small], {\r\n backgroundImage:\r\n 'url(' +\r\n require('../Shared/Image/PatternLeft.png') +\r\n '), url(' +\r\n require('../Shared/Image/PatternRight.png') +\r\n ') ',\r\n backgroundPosition: 'top left, top right',\r\n backgroundRepeat: 'repeat-y',\r\n position: 'absolute',\r\n top: 0,\r\n bottom: 0,\r\n width: '100%',\r\n zIndex: -1,\r\n }),\r\n});\r\n\r\nconst ImageContainer = styled.div({\r\n position: 'absolute',\r\n top: 0,\r\n width: '100%',\r\n overflow: 'hidden',\r\n zIndex: -1,\r\n height: 'calc(800px - 50vw)',\r\n ...media(style.mediaMinQueries[Breakpoint.Small], {\r\n height: '560px',\r\n }),\r\n});\r\n\r\nconst BkgImage = styled(Image, {\r\n width: '100%',\r\n objectFit: 'cover',\r\n height: 'calc(800px - 50vw)',\r\n ...media(style.mediaMinQueries[Breakpoint.Small], {\r\n height: '560px',\r\n }),\r\n});\r\n\r\nconst ImageHeaderContentWrapper = styled.div({\r\n color: style.WHITE,\r\n textShadow: '0 0 10px rgba(0,0,0,0.5)',\r\n margin: {\r\n bottom: '80px',\r\n x: 'auto',\r\n },\r\n maxWidth: style.maxContentWidth - 480,\r\n padding: {\r\n top: '18px',\r\n bottom: '0',\r\n },\r\n ...media(style.mediaMinQueries[Breakpoint.Small], {\r\n padding: {\r\n top: '80px',\r\n },\r\n }),\r\n height: 'calc(690px - 50vw)',\r\n ...media(style.mediaMinQueries[Breakpoint.Small], {\r\n height: '450px',\r\n }),\r\n});\r\n\r\nconst ImageHeaderFontSize = styled.div({\r\n fontSize: '1em',\r\n ...media(style.mediaMinQueries[Breakpoint.Tiny], {\r\n fontSize: '1.2em',\r\n }),\r\n});\r\n\r\nconst ButtonWrapper = styled.div({\r\n display: 'flex',\r\n flexWrap: 'wrap',\r\n justifyContent: 'center',\r\n margin: {\r\n top: '2em',\r\n bottom: '2em',\r\n right: '-2em',\r\n },\r\n});\r\n\r\nexport default (props: PropType) => {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {epiPropertyValue(props.content.headerButtonLink) && (\r\n \r\n \r\n {epiPropertyValue(props.content.headerButtonText)}\r\n \r\n {epiPropertyValue(props.content.headerButton2Link) && (\r\n \r\n {epiPropertyValue(props.content.headerButton2Text)}\r\n \r\n )}\r\n {epiPropertyValue(props.content.headerButton3Link) && (\r\n \r\n {epiPropertyValue(props.content.headerButton3Text)}\r\n \r\n )}\r\n \r\n )}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n"],"sourceRoot":""}