{"version":3,"sources":["webpack:///./src/components/blog/category-banner.js","webpack:///./src/hooks/use-blog-categories.js","webpack:///./src/components/blog/category-content.js","webpack:///./src/templates/blog-category.js","webpack:///./src/components/blog/categories-sidebar.js"],"names":["CategoryBanner","props","blogCategory","blogSubCategory","crumbs","path","label","slug","nombre","push","id","className","to","imagen_principal","style","publicURL","defaultProps","useBlogCategories","useStaticQuery","allStrapiBlogCategoria","edges","CategoryContent","blog_subcategorias","length","map","blogSubcategory","index","key","role","src","icono_principal","alt","strapiId","BlogCategoryTemplate","data","blogCategories","simpleLayout","meta","og_tipo","og_titulo","og_imagen","blogCategoryId","CategoriesSidebar","renderSidebarCategories","data-toggle","aria-expanded","data-target","aria-controls","aria-labelledby","data-parent","category","node"],"mappings":"8FAAA,iDAOMA,EAAiB,SAAAC,GACrB,IAAQC,EAAkCD,EAAlCC,aAAcC,EAAoBF,EAApBE,gBAEhBC,EAAS,CACb,CAAEC,KAAK,QAAUC,MAAO,QACxB,CAAED,KAAK,SAAUH,EAAaK,KAAQD,MAAOJ,EAAaM,SAS5D,OANIL,GACFC,EAAOK,KAAK,CACVJ,KAAK,SAAUF,EAAgBI,KAAQD,MAAOH,EAAgBK,SAKhE,yBAAKE,GAAG,sBAAsBC,UAAU,iBACtC,yBAAKA,UAAU,aACb,yBAAKA,UAAU,OACb,yBAAKA,UAAU,uCACb,kBAAC,OAAI,CAACC,GAAE,QAAWD,UAAU,oBAG/B,uCACEA,UAAU,+CACLT,EAAaW,iBACd,CACEC,MAAO,CACL,4BAA4B,OAAQZ,EAAaW,iBAAiBE,UAAS,MAG/E,IAEJ,wBAAIJ,UAAU,4EACZ,0BAAMA,UAAU,gBAAgBT,EAAaM,QAC7C,kBAAC,IAAU,CAACJ,OAAQA,UAuBlCJ,EAAegB,aAAe,CAC5Bd,aAAc,CACZK,KAAK,YACLC,OAAO,YACPK,iBAAkB,CAChBE,UAAU,+CAGdZ,gBAAiB,MAGJH,O,kCC3Ef,kDAEaiB,EAAoB,WA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eAAgBM,EAAmBxC,EAAnBwC,eACxB,OACE,yBAAK/B,GAAG,uBAAuBC,UAAU,gCACvC,yBAAKA,UAAU,OACb,yBAAKA,UAAU,oDAEb,yBAAKA,UAAU,0BACZgC,EAAwBR,EAAgBM,IAG3C,yBACE9B,UAAU,mCACVD,GAAG,2BAEH,yBAAKC,UAAU,qDACb,yBACEA,UAAU,4BACVD,GAAG,yBAEH,kBAAC,OAAI,CACHE,GAAE,IACFgB,KAAK,SACLgB,cAAY,WACZC,gBAAc,QACdC,cAAY,6BACZC,gBAAc,6BAEd,wBAAIpC,UAAU,sBAAoB,uBAEhC,uBAAGA,UAAU,oCAInB,yBACED,GAAG,4BACHC,UAAU,WACVqC,kBAAgB,wBAChBC,cAAY,4BAEZ,yBAAKtC,UAAU,kBACZgC,EAAwBR,EAAgBM,WAW3D,SAASE,EAAwBR,EAAgBM,GAC/C,OAAON,EAAeX,KAAI,SAAC0B,EAAUxB,GACnC,OACE,kBAAC,OAAI,CACHd,GAAE,SAAWsC,EAASC,KAAK5C,KAC3BoB,IAAKD,EACLf,UACE,wDACC8B,IAAmBS,EAASC,KAAKnB,SAAW,SAAW,IAE1DJ,KAAK,UAEJsB,EAASC,KAAK3C,WAmBvBkC,EAAkB1B,aAAe,CAC/BmB,eAAgB,CACd,CACEgB,KAAM,CACJnB,SAAU,2BACVzB,KAAK,mBACLC,OAAQ,cAGZ,CACE2C,KAAM,CACJnB,SAAU,2BACVzB,KAAK,mBACLC,OAAQ,cAGZ,CACE2C,KAAM,CACJnB,SAAU,2BACVzB,KAAK,mBACLC,OAAQ,cAGZ,CACE2C,KAAM,CACJnB,SAAU,2BACVzB,KAAK,mBACLC,OAAQ,cAGZ,CACE2C,KAAM,CACJnB,SAAU,2BACVzB,KAAK,mBACLC,OAAQ,eAIdiC,eAAgB,4BAGHC","file":"component---src-templates-blog-category-js-9c38024530b96a668d15.js","sourcesContent":["import React from \"react\"\nimport { Link } from \"gatsby\"\nimport PropTypes from \"prop-types\"\n\n// Components\nimport Breadcrumb from \"../elements/breadcrumb\"\n\nconst CategoryBanner = props => {\n const { blogCategory, blogSubCategory } = props\n\n const crumbs = [\n { path: `/blog`, label: \"Blog\" },\n { path: `/blog/${blogCategory.slug}`, label: blogCategory.nombre },\n ]\n\n if (blogSubCategory) {\n crumbs.push({\n path: `/blog/${blogSubCategory.slug}`, label: blogSubCategory.nombre,\n })\n }\n\n return (\n
\n )\n}\n\nCategoryBanner.propTypes = {\n blogCategory: PropTypes.shape({\n slug: PropTypes.string.isRequired,\n nombre: PropTypes.string.isRequired,\n imagen_principal: PropTypes.shape({\n publicURL: PropTypes.string.isRequired,\n }),\n }),\n blogSubCategory: PropTypes.shape({\n slug: PropTypes.string.isRequired,\n nombre: PropTypes.string.isRequired,\n }),\n}\n\nCategoryBanner.defaultProps = {\n blogCategory: {\n slug: `categoria`,\n nombre: `Categoría`,\n imagen_principal: {\n publicURL: `http://placehold.it/800x365?text=Categoría`,\n },\n },\n blogSubCategory: null,\n}\n\nexport default CategoryBanner\n","import { useStaticQuery, graphql } from \"gatsby\"\n\nexport const useBlogCategories = () => {\n const data = useStaticQuery(\n graphql`\n query CategoryQuery {\n allStrapiBlogCategoria {\n edges {\n node {\n strapiId\n slug\n nombre\n destacado\n icono_principal {\n publicURL\n }\n imagen_principal {\n publicURL\n }\n }\n }\n }\n }\n `\n )\n return data.allStrapiBlogCategoria.edges\n}\n","import React from \"react\"\nimport { Link } from \"gatsby\"\nimport PropTypes from \"prop-types\"\n\nconst CategoryContent = props => {\n const { blogCategory } = props\n return (\nNo hay contenido disponible!
\n )}\n