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GACnDI,GAAYC,EAAAA,EAAAA,IAAmBH,EAAc,GAC7CI,EAAM,CACVC,UAAWd,EAAKe,MAChBC,gBAAiB,GACjBC,WAAYjB,EAAKkB,MACjBC,SAAS,GAQX,OACA,gCACA,gBAAC,IAAD,CAAKN,IAAMA,IACX,gBAAC,IAAD,CAAWO,MAAM,MACb,gBAAC,IAAD,KACA,gBAAC,IAAD,KACI,gBAAC,IAAD,QAGJ,gBAAC,IAAD,CAAKrC,GAAI,eACT,gBAAC,IAAD,KACA,gBAAC,IAAD,KACA,gBAAC,IAAD,CAAesC,IAAKrB,EAAKe,OAAS,GAAIG,MAAOlB,EAAKkB,OAAS,GAAIlB,MAAO,KAEtE,gBAAC,IAAD,CAAee,MAAQf,EAAKe,OAAS,GAAIO,QAAStB,EAAKsB,SAAW,GAAIC,WAAW,EAAMC,YAAY,EAAMC,UApB1F,IAqBf,gBAAC,IAAD,CAAc/C,KAAMsB,EAAKtB,KAAMC,OAAQqB,EAAKrB,OAAQC,SAAUoB,EAAKpB,SAAUC,KAAMmB,EAAKnB,OACxF,gBAAC,WAAD,CACE6C,OAAQC,EAAAA,GACRC,KAAMC,EAAAA,KAER,gBAAC,IAAD,CAAUC,IAAQC,EAAAA,GAAL,UAAsB/B,EAAKT,KAAQA,KAAI,SAAWS,EAAKT,KAAQwB,MAAOf,EAAKe,UAGxF,gBAAC,IAAD,CAAKhC,GAAG,kBACR,oDAEA,gBAAC,IAAD,KACA,gBAAC,IAAD,CAAWiD,MAAOrB,KAElB,gBAAC,IAAD","sources":["webpack://gatsby-starter-default/./src/components/post-identity.js","webpack://gatsby-starter-default/./src/templates/post.js"],"sourcesContent":["import React from \"react\"\r\nimport { Link } from \"gatsby\"\r\nconst PostIdentity = ({date, author, category, tags}) => {\r\n return (\r\n <>\r\n
\r\n {` `}{new Date(date).toLocaleDateString('es-mx',{year: 'numeric',month: 'long',day: 'numeric'})}{` `}\r\n {` `}{author.name} {` `}\r\n {` `}{category.name} {` `}\r\n {` `}{tags?.map((tag)=>(\r\n <>{tag.name}{` `}>\r\n ))}\r\n
\r\n {((author.donation !== null && author.donation !== \"\") ?{` `}Apoya al autor\r\n\r\n {` `}¿Por qué apoyar?\r\n\r\n
:<>>)}\r\n\r\n >\r\n )\r\n}\r\n\r\nexport default PostIdentity\r\n\r\n","import React from \"react\"\r\nimport { graphql } from \"gatsby\"\r\nimport Container from 'react-bootstrap/Container'\r\nimport Row from 'react-bootstrap/Row'\r\nimport Col from 'react-bootstrap/Col'\r\n\r\nimport Menu from '../components/menu'\r\nimport PostsGrid from '../components/posts-grid'\r\nimport Footer from '../components/footer'\r\nimport Comments from '../components/comments'\r\nimport Seo from '../components/seo'\r\nimport FeaturedImage from '../components/featured-image'\r\nimport FormattedText from '../components/formatted-text'\r\nimport PostIdentity from '../components/post-identity'\r\nimport AdSense from 'react-adsense'\r\n\r\n\r\nimport {siteUrl, adClient, adSlotInArticle} from '../utils/config'\r\nimport {getRandomFromArray,getRelatedFromArray} from '../utils/utils'\r\n\r\nconst Post = ({ data }) => {\r\n const post = data.strapiPosts\r\n const allposts = data.allStrapiPosts.edges\r\n const allStories = data.allStrapiStories.edges\r\n const postAndStories = allposts.concat(allStories)\r\n const tags = post.tags\r\n const category = post.category.slug\r\n const relatedPosts = getRelatedFromArray(category, tags, postAndStories)\r\n const morePosts = getRandomFromArray(relatedPosts, 3)\r\n const seo = {\r\n metaTitle: post.title,\r\n metaDescription: \"\",\r\n shareImage: post.image,\r\n article: true,\r\n }\r\n let allPageViews = 0\r\n /*/\r\n data.allPageViews.nodes.forEach((page)=>{\r\n allPageViews += page.totalCount\r\n })\r\n /*/\r\n return (\r\n <>\r\n