{"version":3,"sources":["webpack:///./src/components/panels/Hero.js","webpack:///./src/templates/_CaseStudy/CaseStudiesList.module.scss","webpack:///./src/components/panels/Hero.module.scss","webpack:///./src/components/non-panels/SlideRevealBox.module.scss","webpack:///./src/utils/useSetPageData.js","webpack:///./src/components/non-panels/SlideRevealBox.js","webpack:///./src/templates/_CaseStudy/CaseStudiesList.js"],"names":["Hero","rootClassName","rootStyle","rowClassName","rowStyle","overlay","overlayStyle","overlayColor","rootGatsbyBackgroundImageFluid","heading","icon","iconComponent","videoImage","isGatsbyLink","videoLink","useState","isVideoModelOpen","setIsVideoModelOpen","queryData","headerBackgroundImage","allStrapiHomePage","edges","node","main_cover_image","childImageSharp","fluid","s","heroMain","noLaptop","hero","className","content","fixed","heroRight","computerWrapper","onClick","src","computerOverlay","style","borderImageSource","laptopBackground","playButton","channel","ratio","autoplay","allowFullScreen","url","isOpen","onClose","module","exports","useSetPageData","location","setPageData","useContext","layoutContext","useLayoutEffect","SlideRevealBox","upper","lower","addedStyle","width","height","box","sliding","MediaList","data","pageCaseStudiesPosts","strapiPnCase","backgroundImage","seo","SEO","title","main_heading","description","subheading","main_subheading","insight_image","map","galleryObject","id","image","case_image","overview","slug","CaseStudyGalleryLink","CaseStudyUpper","sliderStyle","backgroundFluid","nodes","top","Tag","caption","arrowDown","CaseStudyLower","studySection","ssLower","to","addTrailingSlash","button","slider","webinarListQuery"],"mappings":"kPA8KeA,IA7JF,SAAC,GAkBP,IAAD,IAhBJC,qBAgBI,MAhBY,WAgBZ,EAfJC,EAeI,EAfJA,UACAC,EAcI,EAdJA,aACAC,EAaI,EAbJA,SAaI,IAZJC,eAYI,SAXJC,EAWI,EAXJA,aACAC,EAUI,EAVJA,aACAC,EASI,EATJA,+BAGAC,EAMI,EANJA,QACAC,EAKI,EALJA,KACAC,EAII,EAJJA,cACAC,EAGI,EAHJA,WACAC,EAEI,EAFJA,aACAC,EACI,EADJA,UACI,EAC4CC,oBAAS,GAAlDC,EADH,KACqBC,EADrB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AvE,EAMC,EANDA,QACAwE,EAKC,EALDA,MACAE,EAIC,EAJDA,SACAC,EAGC,EAHDA,KACAf,EAEC,EAFDA,gBACAvC,EACC,EADDA,UAEA,OACE,wBAAC2B,EAAD,CACE3B,UAAcJ,IAAE0E,OAAP,IAAiBtE,EAC1B4B,MAAO,SAAApB,GAAK,OACV,wBAACgD,EAAD,CACEC,YAAajD,EACb7B,QAASA,EACTwE,MAAOA,EACPZ,gBAAiBA,KAGrBV,MAAO,SAAArB,GAAK,OACV,wBAACwD,EAAD,CACEd,GAAIA,EACJO,YAAajD,EACb6C,SAAUA,EACVC,KAAMA,OAST,IAAMiB,EAAgB","file":"component---src-templates-case-study-case-studies-list-js-86f5d44a52525174fefb.js","sourcesContent":["import React, { useState } from \"react\";\nimport { useStaticQuery, graphql } from \"gatsby\";\nimport Img from \"gatsby-image\";\nimport BackgroundImage from \"gatsby-background-image\";\n// import scrollTo from \"gatsby-plugin-smoothscroll\";\n\n//components\nimport ModalVideo from \"../non-panels/react-modal-video/modal-video\";\nimport PanelFoundation from \"./PanelFoundation\";\n\n//images\nimport laptopBackground from \"../../images/hero-laptop-3.png\";\nimport playButton from \"../../images/play-button-2138735_640.png\";\n\n//styles\nimport s from \"./Hero.module.scss\";\n\nconst Hero = ({\n //from PanelFoundation\n rootClassName = \"bg-white\",\n rootStyle,\n rowClassName,\n rowStyle,\n overlay = true,\n overlayStyle,\n overlayColor,\n rootGatsbyBackgroundImageFluid,\n //component specific\n\n heading,\n icon,\n iconComponent,\n videoImage,\n isGatsbyLink,\n videoLink\n}) => {\n const [isVideoModelOpen, setIsVideoModelOpen] = useState(false);\n const queryData = useStaticQuery(graphql`\n query getHeroHeaderImage {\n allStrapiHomePage(sort: { fields: [created_at], order: DESC }, limit: 1) {\n edges {\n node {\n main_cover_image {\n childImageSharp {\n fluid(maxWidth: 1140) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n }\n }\n }\n }\n `);\n const headerBackgroundImage =\n queryData &&\n queryData.allStrapiHomePage &&\n queryData.allStrapiHomePage.edges &&\n queryData.allStrapiHomePage.edges[0] &&\n queryData.allStrapiHomePage.edges[0].node &&\n queryData.allStrapiHomePage.edges[0].node.main_cover_image &&\n queryData.allStrapiHomePage.edges[0].node.main_cover_image\n .childImageSharp &&\n queryData.allStrapiHomePage.edges[0].node.main_cover_image.childImageSharp\n .fluid;\n\n return (\n <>\n \n
\n {!iconComponent && icon && }{iconComponent && !icon ? iconComponent : \"\" }\n {heading &&

{heading}

}\n
\n {videoLink && (\n
\n setIsVideoModelOpen(true)}\n >\n {!isGatsbyLink && (\n \n )}\n \n
\n \n )}\n \n {videoLink && (\n setIsVideoModelOpen(false)}\n />\n )}\n \n // \n // \n //
\n //
\n //
\n // \n // {icon && }\n // \n // {heading &&

{heading}

}\n //
\n // {videoLink && (\n // \n // setIsVideoModelOpen(true)}\n // >\n // {!isGatsbyLink && (\n // \n // )}\n // \n //
\n //
\n // )}\n // \n // \n // {videoLink && (\n // setIsVideoModelOpen(false)}\n // />\n // )}\n // \n // \n );\n};\n\nexport default Hero;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"modal\":\"CaseStudiesList-module--modal--3clxs\",\"modalOverlay\":\"CaseStudiesList-module--modal-overlay--1I6w3\",\"closeButton\":\"CaseStudiesList-module--close-button--28b85\",\"modalContent\":\"CaseStudiesList-module--modal-content--1BXod\",\"modalImage\":\"CaseStudiesList-module--modal-image--3XVnW\",\"textFields\":\"CaseStudiesList-module--text-fields--2oXk4\",\"image\":\"CaseStudiesList-module--image--1d7Uf\",\"text\":\"CaseStudiesList-module--text--G6QFe\",\"studySection\":\"CaseStudiesList-module--study-section--2GEcA\",\"studySectionLower\":\"CaseStudiesList-module--study-section-lower--2iG6k\",\"overview\":\"CaseStudiesList-module--overview--2KmJS\",\"ssUpper\":\"CaseStudiesList-module--ss-upper--1ocpF\",\"ssLower\":\"CaseStudiesList-module--ss-lower--1rL1k\",\"button\":\"CaseStudiesList-module--button--1lglb\",\"top\":\"CaseStudiesList-module--top--1VR2R\",\"title\":\"CaseStudiesList-module--title--2Liew\",\"slider\":\"CaseStudiesList-module--slider--2BosA\",\"caption\":\"CaseStudiesList-module--caption--GK-2Q\",\"arrowDown\":\"CaseStudiesList-module--arrow-down--3OTai\",\"pageTitle\":\"CaseStudiesList-module--page-title--3nTKG\",\"over\":\"CaseStudiesList-module--over--3rQRl\",\"caseStudyFeature\":\"CaseStudiesList-module--case-study-feature--3jFFN\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"heroMain\":\"Hero-module--hero-main--3sio_\",\"hero\":\"Hero-module--hero--3IOyd\",\"overlay\":\"Hero-module--overlay--2vZkJ\",\"playButton\":\"Hero-module--play-button--1v_qT\",\"computerWrapper\":\"Hero-module--computer-wrapper--3RFCi\",\"computerOverlay\":\"Hero-module--computer-overlay--lnnx3\",\"content\":\"Hero-module--content--223Hl\",\"icon\":\"Hero-module--icon--3VLc8\",\"rowConstraint\":\"Hero-module--row-constraint--3Cxmi\",\"noLaptop\":\"Hero-module--no-laptop--1a_Sa\",\"heroRight\":\"Hero-module--hero-right--AsJ8U\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"box\":\"SlideRevealBox-module--box--2VqBt\",\"sliding\":\"SlideRevealBox-module--sliding--2PEtK\",\"upper\":\"SlideRevealBox-module--upper--1WnXc\",\"lower\":\"SlideRevealBox-module--lower--eEzcF\",\"slidingLower\":\"SlideRevealBox-module--sliding-lower--2z4KN\"};","import { useLayoutEffect, useContext } from \"react\";\r\nimport { layoutContext } from \"../components/layouts/original/layout\";\r\n\r\nexport default function useSetPageData(location) {\r\n const setPageData = useContext(layoutContext);\r\n\r\n useLayoutEffect(() => {\r\n setPageData(location);\r\n }, [setPageData, location]);\r\n}\r\n","import React from \"react\";\n\nimport s from \"./SlideRevealBox.module.scss\";\n\nexport default function SlideRevealBox({ upper, lower, className }) {\n const addedStyle = {\n width: \"100%\",\n height: \"100%\"\n };\n\n return (\n
\n
{upper(addedStyle)}
\n
{lower(addedStyle)}
\n
\n );\n}\n","import React from \"react\";\nimport { graphql, Link } from \"gatsby\";\nimport Img from \"gatsby-image\";\nimport BackgroundImage from \"gatsby-background-image\";\nimport { addTrailingSlash } from \"../../utils/utilities\";\n\n//components\nimport useSetPageData from \"../../utils/useSetPageData\";\nimport Hero from \"../../components/panels/Hero\";\nimport SlideRevealBox from \"../../components/non-panels/SlideRevealBox\";\nimport SEO from \"../../components/seo\";\n\n//styles\nimport s from \"./CaseStudiesList.module.scss\";\n\nexport default function MediaList({\n location,\n data: { pageCaseStudiesPosts, strapiPnCase, backgroundImage }\n}) {\n const { SEO: seo, hero } = strapiPnCase;\n\n useSetPageData(location);\n\n return (\n <>\n \n \n
\n
\n
\n {pageCaseStudiesPosts.edges.map(({ node }) => {\n let galleryObject = {\n id: node.id,\n heading: node.heading,\n image: node.case_image,\n overview: node.overview,\n slug: node.slug,\n backgroundImage\n };\n\n return (\n
\n \n
\n );\n })}\n
\n
\n
\n \n );\n}\n\nfunction CaseStudyUpper({ sliderStyle, heading, image, backgroundImage }) {\n const backgroundFluid = backgroundImage.nodes[0].fluid;\n return (\n
\n \n \n

{heading}

\n \n
\n
\n );\n}\n\nfunction CaseStudyLower({ sliderStyle, overview, slug }) {\n return (\n
\n

{overview}

\n \n See More!\n \n
\n );\n}\n\nfunction CaseStudyGalleryLink({\n id,\n heading,\n image,\n overview,\n slug,\n backgroundImage,\n className\n}) {\n return (\n (\n \n )}\n lower={style => (\n \n )}\n />\n );\n}\n\n// filter: { published: { eq: true } }\n // filter: { published: { eq: true } }\nexport const webinarListQuery = graphql`\n query caseStudyListQuery($skip: Int!, $limit: Int!, $recentLimit: Int!) {\n pageCaseStudiesPosts: allStrapiPostCase(\n sort: { fields: [created_at], order: DESC }\n limit: $limit\n skip: $skip\n ) {\n edges {\n node {\n id\n heading\n overview\n challenge\n solution\n benefits\n slug\n case_image {\n childImageSharp {\n fluid(maxWidth: 1000) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n }\n }\n }\n recentCaseStudiesPosts: allStrapiPostCase(\n sort: { fields: [created_at], order: DESC }\n limit: $recentLimit\n ) {\n edges {\n node {\n heading\n id\n slug\n created_at\n }\n }\n }\n strapiPnCase {\n SEO {\n description\n }\n hero {\n main_heading\n main_subheading\n insight_image {\n childImageSharp {\n fixed(width: 100, height: 100) {\n ...GatsbyImageSharpFixed\n }\n }\n }\n }\n }\n backgroundImage: allImageSharp(\n filter: { original: { src: { regex: \"/^.*hero-background-.[^-].*$/\" } } }\n ) {\n nodes {\n fluid(maxWidth: 1000) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n }\n`;\n"],"sourceRoot":""}