{"version":3,"sources":["webpack:///./src/pages/whitepaper/index.es.js","webpack:///./src/components/pages/Webinars/SelectorBlock.js","webpack:///./src/components/pages/Webinars/IntroBlocks.js","webpack:///./src/components/pages/Webinars/WebinarTitleBlock.js","webpack:///./src/components/pages/Webinars/WebinarProgramBlock.js","webpack:///./src/components/pages/WebinarsPage.js"],"names":["seo","title","keywords","description","props","whitepaper","pageQuery","StyledGrid","styled","Grid","breakpoint","down","ContentGrid","StyledMenuItem","MenuItem","theme","typography","fontFamily","subtitle2","fontSize","colors","shades","orange","light","StyledSelect","Select","StyledMobileSelect","NativeSelect","SelectorBlock","setSelectValue","webinars","data","selectedWebinar","isChecklist","isWhitepaper","isMobile","window","test","navigator","userAgent","container","justify","alignItems","item","xs","sm","md","lg","value","frontmatter","id","onChange","e","target","displayEmpty","map","web","autoFocusItem","disabled","disableScrollLock","ImagesBlocks","GridIntro","Content","StyledContainer","Container","Title","Typography","purple","IntroBlocks","useState","width","setWidth","heightHeader","setHeightHeader","heightIntro","setHeightIntro","heightTitleIntro","setHeightTitleIntro","updateDimensions","headerNav","document","getElementById","heightIntroDim","heightTitleIntroDim","innerWidth","offsetHeight","useEffect","addEventListener","removeEventListener","heightBackground","heightTitle","spacing","dangerouslySetInnerHTML","__html","dataIntroBlockTitle","html","variant","SubIntroBackground","widthWindow","StyledTypography","StyledButton","Button","WebinarTitleBlock","lang","openModal","setOpenModal","subtitle","duration","size","color","mt","onClick","FormModal","open","handleClose","type","FORM_TYPES","toUpperCase","webinar","WebinarProgramList","WebinarProgramBlock","style","textAlign","program","replace","LinkGrid","WebinarsPage","selectValue","allImages","allWebinars","nodes","linkBlocksData","markdownContent","dataBlockLinkBody","find","node","images","image","base","location","checklist","pageContext","langKey","ResourcesBlocks","LinkBlocks","LinkBlockBackground"],"mappings":"4LAIMA,EAAM,CACVC,MACE,8FACFC,SAAU,GACVC,YACE,sIAGW,mBAAAC,GAAK,OAAI,kBAAC,IAAD,iBAAkBA,EAAlB,CAAyBJ,I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G1BA,oBACAkC,EAJ0B,EAI1BA,UACsBlG,EALI,EAK1BmG,YAAeC,MAIXC,EAAiB,CACrBC,gBAV0B,EAM1BC,mBAMIrG,EACJsG,eAAKxG,GAAU,SAAAyG,GAAI,OAAIA,EAAKtF,YAAYC,KAAO6E,MAAgBjG,EAAS,GACpE0G,EAAS,CACbF,eAAKN,EAAUE,OAAO,SAAAO,GAAK,MAAmB,iBAAfA,EAAMC,QACrCJ,eAAKN,EAAUE,OAAO,SAAAO,GAAK,MAAmB,iBAAfA,EAAMC,SAEvC,OACE,kBAAC,IAAD,CAAQC,SAAUvI,EAAMuI,SAAU3I,IAAG,iBAAOI,EAAMJ,MAChD,kBAAC,EAAD,CACE+B,KAAM,CAAE+D,sBAAqB0C,UAC7BT,YAAaA,EACblG,eAAgBA,EAChBC,SAAUA,EACVE,gBAAiBA,EACjBC,YAAa7B,EAAMwI,UACnB1G,aAAc9B,EAAMC,aAEtB,kBAAC,EAAD,CACE2B,gBAAiBA,EACjBuE,KAAMnG,EAAMyI,YAAYC,QACxB7G,YAAa7B,EAAMwI,UACnB1G,aAAc9B,EAAMC,aAEtB,kBAAC,EAAD,CACE2B,gBAAiBA,EACjBuE,KAAMnG,EAAMyI,YAAYC,QACxB7G,YAAa7B,EAAMwI,UACnB1G,aAAc9B,EAAMC,aAEtB,kBAAC0I,GAAA,EAAD,CAAiBxC,KAAMnG,EAAMyI,YAAYC,UACzC,kBAACjB,GAAD,KACE,kBAACmB,EAAA,EAAD,CACEjH,KAAMoG,EAAeC,gBAAgBF,MACrC3B,KAAMnG,EAAMyI,YAAYC,UAE1B,kBAACG,EAAA,EAAD","file":"component---src-pages-whitepaper-index-es-js-76002fd8cc787b61305a.js","sourcesContent":["import React from 'react';\nimport { graphql } from 'gatsby';\nimport WebinarsPage from 'components/pages/WebinarsPage';\n\nconst seo = {\n title:\n 'Mejora tu conocimiento sobre el análisis semántico y emocional con nuestros libros blancos.',\n keywords: [],\n description:\n 'Consulte nuestros libros blancos y utilice las emociones para optimizar los viajes de sus clientes mediante el análisis semántico.',\n};\n\nexport default props => ;\n\nexport const pageQuery = graphql`\n query {\n dataIntroBlockTitle: markdownRemark(\n frontmatter: {\n pageType: { eq: \"whitepaper\" }\n blockType: { eq: \"introBlock\" }\n component: { eq: \"title\" }\n lang: { eq: \"es\" }\n }\n ) {\n html\n }\n allImages: allFile(filter: { relativeDirectory: { eq: \"bubbleImages\" } }) {\n nodes {\n base\n childImageSharp {\n fluid(maxWidth: 550, quality: 100) {\n presentationWidth\n ...GatsbyImageSharpFluid_withWebp_noBase64\n }\n }\n }\n }\n allWebinars: allMarkdownRemark(\n filter: {\n frontmatter: {\n pageType: { eq: \"whitepaper\" }\n blockType: { eq: \"webinarBlock\" }\n lang: { eq: \"es\" }\n }\n }\n sort: { fields: [frontmatter___index] }\n ) {\n nodes {\n frontmatter {\n title\n id\n subtitle\n program\n }\n html\n }\n }\n dataBlockLinkBody: allMarkdownRemark(\n filter: {\n frontmatter: {\n pageType: { eq: \"clientCase\" }\n blockType: { eq: \"linkBlock\" }\n lang: { eq: \"es\" }\n }\n }\n sort: { fields: [frontmatter___idBlock] }\n ) {\n nodes {\n rawMarkdownBody\n frontmatter {\n subTitle\n color\n link\n buttonText\n }\n }\n }\n }\n`;\n","import React from 'react';\nimport styled from 'styled-components';\nimport {\n Grid,\n Typography,\n Select,\n NativeSelect,\n MenuItem\n} from '@material-ui/core';\nimport { breakpoint } from 'utils/mediaQueries';\nimport ImagesBlocks from 'components/pages/ClientCase/ProblematicBlocks/ImagesBlocks';\nimport { colors } from 'styles';\nimport { FormattedMessage } from 'react-intl';\n\nconst StyledGrid = styled(Grid)`\n height: 15rem;\n padding-top: 3%;\n ${breakpoint.down('lg')`\n margin-top: 7%`};\n`;\n\nconst ContentGrid = styled(Grid)`\n width: 100%;\n text-align: center;\n padding-top: 2rem;\n`;\n\nconst StyledMenuItem = styled(MenuItem)`\n font-family: ${props => `${props.theme.typography.fontFamily}`};\n font-size: ${props => `${props.theme.typography.subtitle2.fontSize}px`};\n &:focus {\n background-color: transparent !important;\n color: white;\n }\n &:hover {\n background-color: ${colors.shades.orange.light} !important;\n color: white;\n }\n`;\n\nconst StyledSelect = styled(Select)`\n text-overflow: ellipsis !important;\n overflow: hidden;\n width: 33em;\n ${breakpoint.down('sm')`\n width: 20em;`};\n display: flex;\n flex-direction: row;\n justify-content: center;\n outline: none;\n background-color: rgba(173, 147, 160, 0.1);\n border-radius: 1rem;\n > div {\n display: flex;\n flex-direction: row;\n text-overflow: ellipsis !important;\n }\n > div > div {\n text-overflow: ellipsis !important;\n width: 100%;\n ${breakpoint.down('sm')`\n width: 75%; text-overflow: ellipsis;`};\n display: flex;\n justify-content: flex-start;\n align-items: center;\n padding-left: 1rem;\n font-family: ${props => `${props.theme.typography.fontFamily}`};\n font-size: ${props => `${props.theme.typography.subtitle2.fontSize}px`};\n &:focus {\n background-color: transparent;\n }\n }\n > div > svg {\n padding-left: 0.5em;\n color: ${colors.orange};\n width: 3rem;\n height: 3rem;\n top: -0.4rem;\n right: 0;\n position: absolute;\n }\n &:before {\n content: none;\n }\n &:after {\n content: none;\n }\n`;\n\nconst StyledMobileSelect = styled(NativeSelect)`\n text-overflow: ellipsis !important;\n width: 33em;\n ${breakpoint.down('sm')`\n width: 20em;`};\n display: flex;\n flex-direction: row;\n justify-content: center;\n outline: none;\n background-color: rgba(173, 147, 160, 0.1);\n border-radius: 1rem;\n > div {\n display: flex;\n flex-direction: row;\n text-overflow: ellipsis !important;\n }\n > div > div {\n text-overflow: ellipsis !important;\n width: 100%;\n ${breakpoint.down('sm')`\n width: 75%; text-overflow: ellipsis;`};\n display: flex;\n justify-content: flex-start;\n align-items: center;\n padding-left: 1rem;\n font-family: ${props => `${props.theme.typography.fontFamily}`};\n font-size: ${props => `${props.theme.typography.subtitle2.fontSize}px`};\n &:focus {\n background-color: transparent;\n }\n }\n > div > svg {\n padding-left: 0.5em;\n color: ${colors.orange};\n width: 3rem;\n height: 3rem;\n top: -0.4rem;\n right: 0;\n position: absolute;\n }\n &:before {\n content: none;\n }\n &:after {\n content: none;\n }\n`;\n\nconst SelectorBlock = ({\n setSelectValue,\n webinars,\n data,\n selectedWebinar,\n isChecklist,\n isWhitepaper,\n}) => {\n const isMobile =\n typeof window !== 'undefined' &&\n /iPhone|iPad|iPod|Android/i.test(window.navigator.userAgent);\n return (\n \n \n {isMobile ? (\n setSelectValue(e.target.value)}\n displayEmpty\n >\n {webinars.map(web => (\n \n ))}\n \n ) : (\n setSelectValue(e.target.value)}\n displayEmpty\n autoFocusItem={false}\n >\n \n \n \n \n \n \n \n {webinars.map(web => (\n \n {web.frontmatter.title}\n \n ))}\n \n )}\n \n \n \n );\n};\n\nexport default SelectorBlock;\n","import React, { useEffect, useState } from 'react';\nimport styled from 'styled-components';\nimport { Typography, Grid } from '@material-ui/core';\nimport { Container, Content } from 'components/basics';\nimport { colors } from 'styles';\nimport { breakpoint } from 'utils/mediaQueries';\nimport SubIntroBackground from 'components/pages/Solution/Marketing/SubIntroBackground';\nimport SelectorBlock from 'src/components/pages/Webinars/SelectorBlock';\n\nconst GridIntro = styled(Grid)`\n ${Content};\n max-width: 1080px;\n padding: 0 2rem;\n ${breakpoint.down('lg')`\n padding:1rem 2rem;`};\n`;\nconst StyledContainer = styled(Container)`\n padding-top: 2rem;\n ${breakpoint.down('md')`\n padding-top: 0; \n `}\n`;\n\nconst Title = styled(Typography)`\n & span {\n color: ${colors.purple};\n }\n width: 75%;\n ${breakpoint.down('lg')`\n font-size: 3em; width: 100%;`};\n`;\n\nconst IntroBlocks = ({ data, setSelectValue, webinars, selectedWebinar, isChecklist, isWhitepaper }) => {\n const [width, setWidth] = useState(200);\n const [heightHeader, setHeightHeader] = useState(0);\n const [heightIntro, setHeightIntro] = useState(0);\n const [heightTitleIntro, setHeightTitleIntro] = useState(0);\n\n const updateDimensions = () => {\n const headerNav = document.getElementById('headerNav');\n const heightIntroDim = document.getElementById('introBlock');\n const heightTitleIntroDim = document.getElementById('titleIntroBlock');\n setWidth(window.innerWidth);\n setHeightHeader(headerNav && headerNav.offsetHeight);\n setHeightIntro(heightIntroDim && heightIntroDim.offsetHeight);\n setHeightTitleIntro(\n heightTitleIntroDim && heightTitleIntroDim.offsetHeight\n );\n };\n\n useEffect(() => {\n const headerNav = document.getElementById('headerNav');\n if (headerNav) {\n updateDimensions();\n }\n }, [heightHeader]);\n\n useEffect(() => {\n window.addEventListener('resize', updateDimensions);\n return () => window.removeEventListener('resize', updateDimensions);\n }, []);\n\n const heightBackground = heightHeader + heightIntro + 216;\n const heightTitle = heightTitleIntro + heightHeader + 96;\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default IntroBlocks;\n","import React, { useState } from 'react';\nimport { Grid, Typography, Button } from '@material-ui/core';\nimport styled from 'styled-components';\nimport { breakpoint } from 'src/utils/mediaQueries';\nimport { FormattedMessage } from 'react-intl';\nimport FormModal from 'components/pages/Index/FormModals/FormModal';\nimport { FORM_TYPES } from 'components/pages/Index/FormModals/formConfigs';\n\nconst StyledGrid = styled(Grid)`\n height: 17.5rem;\n ${breakpoint.down('sm')`\n margin-top: -20%`};\n`;\n\nconst ContentGrid = styled(Grid)`\n width: 100%;\n text-align: center;\n`;\n\nconst StyledTypography = styled(Typography)`\n font-size: 2em !important;\n`;\n\nconst StyledButton = styled(Button)`\n margin-top: 3.5em;\n ${breakpoint.down('lg')`\n margin-top: 1em`};\n`;\n\nconst WebinarTitleBlock = ({\n selectedWebinar,\n lang,\n isChecklist,\n isWhitepaper,\n}) => {\n const [openModal, setOpenModal] = useState(false);\n return (\n \n \n {selectedWebinar && selectedWebinar.frontmatter && (\n
\n \n {selectedWebinar.frontmatter.subtitle ||\n `\"${selectedWebinar.frontmatter.title}\"`}\n \n {selectedWebinar.frontmatter.duration && (\n \n :{' '}\n {selectedWebinar.frontmatter.duration}\n \n )}\n setOpenModal(!openModal)}\n >\n \n \n setOpenModal(!openModal)}\n type={\n FORM_TYPES[\n `${\n isChecklist\n ? 'CHECKLIST'\n : isWhitepaper\n ? 'WHITEPAPER'\n : 'WEBINAR'\n }_${lang.toUpperCase()}`\n ]\n }\n webinar={selectedWebinar.frontmatter.id}\n />\n
\n )}\n \n
\n );\n};\n\nexport default WebinarTitleBlock;\n","import React, { useState } from 'react';\nimport styled from 'styled-components';\nimport { Grid, Typography } from '@material-ui/core';\nimport { breakpoint } from 'src/utils/mediaQueries';\nimport { Button } from 'components/basics';\nimport { FormattedMessage } from 'react-intl';\nimport FormModal from 'components/pages/Index/FormModals/FormModal';\nimport { FORM_TYPES } from 'components/pages/Index/FormModals/formConfigs';\n\nconst StyledGrid = styled(Grid)`\n min-height: 20rem;\n margin-bottom: 3%;\n ${breakpoint.down('lg')`\n margin-top: 10%`};\n`;\n\nconst ContentGrid = styled(Grid)`\n width: 100%;\n`;\n\nconst WebinarProgramList = styled(Typography)`\n & li ul li {\n font-size: 1.5rem !important;\n }\n margin-top: ${({ isChecklist }) => (isChecklist ? '2em' : '1em')};\n ${breakpoint.down('lg')`\n font-size: 1.5em;\n `}\n & ol li {\n font-size: 1.5em;\n padding: 0.5em 0;\n }\n`;\n\nconst WebinarProgramBlock = ({\n selectedWebinar,\n lang,\n isChecklist,\n isWhitepaper,\n}) => {\n const [openModal, setOpenModal] = useState(false);\n return (\n \n \n \n {isChecklist || isWhitepaper ? (\n selectedWebinar?.frontmatter?.program\n ) : (\n \n )}\n \n
\n \n \n \n setOpenModal(!openModal)}\n >\n \n \n setOpenModal(!openModal)}\n type={\n FORM_TYPES[\n `${\n isChecklist\n ? 'CHECKLIST'\n : isWhitepaper\n ? 'WHITEPAPER'\n : 'WEBINAR'\n }_${lang.toUpperCase()}`\n ]\n }\n webinar={selectedWebinar?.frontmatter?.id}\n />\n \n
\n );\n};\n\nexport default WebinarProgramBlock;\n","import React, { useState } from 'react';\nimport Layout from 'components/layout';\nimport IntroBlocks from 'components/pages/Webinars/IntroBlocks';\nimport styled from 'styled-components';\nimport { Grid } from '@material-ui/core';\nimport WebinarTitleBlock from 'components/pages/Webinars/WebinarTitleBlock';\nimport { find } from 'lodash';\nimport WebinarProgramBlock from 'src/components/pages/Webinars/WebinarProgramBlock';\nimport LinkBlocks from 'components/LinkBlock/LinkBlocks';\nimport LinkBlockBackground from 'components/pages/Solution/Marketing/LinkBlockBackground';\nimport { breakpoint } from 'utils/mediaQueries';\nimport ResourcesBlocks from 'components/pages/Webinars/ResourcesBlocks';\n\nconst LinkGrid = styled(Grid)`\n margin-top: -4rem;\n position: relative;\n padding-top: 10rem;\n padding-bottom: 4rem;\n background-position: top;\n ${breakpoint.down('lg')`\n padding-top: 6rem;padding-bottom: 2rem;margin-top: 0;`}\n ${breakpoint.down('md')`\n padding-bottom: 4rem;`}\n ${breakpoint.down('sm')`padding-top:0;padding-bottom: 6rem;`};\n`;\n\nconst WebinarsPage = props => {\n const [selectValue, setSelectValue] = useState('');\n const {\n dataIntroBlockTitle,\n allImages,\n allWebinars: { nodes: webinars },\n dataBlockLinkBody,\n } = props.data;\n\n const linkBlocksData = {\n markdownContent: dataBlockLinkBody,\n };\n const selectedWebinar =\n find(webinars, node => node.frontmatter.id === selectValue) || webinars[0];\n const images = [\n find(allImages.nodes, image => image.base === 'manGreen.png'),\n find(allImages.nodes, image => image.base === 'girlBlue.png'),\n ];\n return (\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default WebinarsPage;\n"],"sourceRoot":""}