{"version":3,"sources":["webpack:///./src/components/molecules/ExploreTopics/ExploreTopics.tsx","webpack:///./src/components/molecules/PopularPosts/PopularPosts.tsx","webpack:///./src/components/organisms/aside/AsideBar.tsx","webpack:///./src/components/organisms/grid-layout/GridLayout.tsx","webpack:///./src/components/organisms/videos-carousel/videos-carousel.tsx","webpack:///./src/templates/videosTemplate.tsx","webpack:///./src/components/molecules/PreviewCard/PreviewCard.tsx","webpack:///./src/components/molecules/paginator/Paginator.tsx","webpack:///./src/utils/arrayUtilities.ts"],"names":["ExploreTopics","topics","useStaticQuery","allContentfulSubcategoria","nodes","referenciaSubcategorias","React","createElement","className","map","topic","key","Link","to","slug","nombreSubcategoria","PopularPosts","posts","setPosts","useState","data","useEffect","_data$allContentfulHo","_data$allContentfulHo2","allContentfulHome","process","shuffleArray","node","_node$referenciaSubca","filter","item","tipoContenido","length","flat","titulo","referenciaInterna","referenciaCabecera","tituloPrincipal","imagen","imagenHeader","file","url","fecha","dateToRelativeFormat","createdAt","slice","post","withPrefix","src","alt","AsideBar","GridLayout","props","children","trim","style","gridTemplateColumns","columns","gap","padding","VideosCarousel","_ref","actualVideo","setActualVideo","videos","carouselRef","useRef","actualIndex","setActualIndex","showPopUp","setShowPopUp","scrollCarousel","direction","carousel","current","newActualIndex","video","image","indexOf","valueToScroll","scrollLeft","scroll","scrollWidth","compClass","Fragment","VideosPopUp","FaLongArrowAltLeft","onClick","FaLongArrowAltRight","ref","index","updateActualVideo","dangerouslySetInnerHTML","__html","span","VideosTemplate","pageData","pageContext","pageContent","numPages","currentPage","elements","redireccionBoton","tituloSpan","migaDePan","Layout","hideHeaderDesktop","hideHeaderMobile","isNotRoot","SEO","title","metaTitulo","nombreCategoria","description","metaDescripcion","json","content","value","lang","VideosHeader","element","i","_element$video","imageUrl","leftSub","link","replace","external","rightSub","icon","FaYoutube","PreviewCard","Object","assign","Paginator","quantity","Suscribe","adapterSuscribe","Disclaimer","target","next","back","Array","from","_","active","array","randomIndex","currentIndex","Math","floor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tDP,kCAAO,MAAM7G,EAAgBwH,IAC3B,IAAIA,EAAO,MAAO,GAClB,IACEC,EADEC,EAAeF,EAAMlH,OAEzB,KAAuB,GAAhBoH,GACLD,EAAcE,KAAKC,MAAMD,KAAKE,SAAWH,GACzCA,KACCF,EAAME,GAAeF,EAAMC,IAAgB,CAC1CD,EAAMC,GACND,EAAME,IAGV,OAAOF,I","file":"component---src-templates-videos-template-tsx-5c639d277629630c2b81.js","sourcesContent":["import React, { useState } from \"react\";\r\nimport { useStaticQuery, graphql, Link } from \"gatsby\";\r\nimport \"./ExploreTopics.scss\";\r\n\r\nconst ExploreTopics = () => {\r\n const data = useStaticQuery(graphql`\r\n query exploreQuery {\r\n allContentfulSubcategoria(\r\n filter: { contentful_id: { eq: \"409cITTPuyHorR4bnTIBWl\" } }\r\n ) {\r\n nodes {\r\n titulo\r\n referenciaSubcategorias {\r\n slug\r\n nombreSubcategoria\r\n }\r\n id\r\n contentful_id\r\n }\r\n }\r\n }\r\n `);\r\n\r\n const topics =\r\n data.allContentfulSubcategoria.nodes[0].referenciaSubcategorias;\r\n \r\n return (\r\n
{video?.span || \"Span\"}
\r\n\r\n {description || \"Ver más.\"}\r\n
\r\n