text: (window.webpackJsonp=window.webpackJsonp||[]).push([[9],{"0/Pd":function(e,t,n){"use strict";var a=n("q1tI"),r=n.n(a),i=n("qzLn"),o=n("MUpH"),l=n("vOnD"),c=n("ibEc"),d=n("kOA+"),m=n.n(d),s=n("Ooly"),g=a.forwardRef((function(e,t){return a.createElement(s.StyledIconBase,Object.assign({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},e,{ref:t}),a.createElement("path",{fill:"none",d:"M4.998 8H19v12H4.998z"}),a.createElement("path",{d:"M2.999 6v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2V6c0-1.103-.897-2-2-2h-2V2h-2v2h-6V2h-2v2h-2c-1.103 0-2 .897-2 2zm16.002 14H4.999V8h14l.002 12z"}))}));g.displayName="CalendarAlt";var u=a.forwardRef((function(e,t){return a.createElement(s.StyledIconBase,Object.assign({iconAttrs:{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},iconVerticalAlign:"middle",iconViewBox:"0 0 24 24"},e,{ref:t}),a.createElement("rect",{width:24,height:24,fill:"none"}),a.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.5-13H11v6l5.2 3.2.8-1.3-4.5-2.7V7z"}))}));u.displayName="WatchLater";function p(){var e=Object(o.a)(["\n    margin: 0;\n  "]);return p=function(){return e},e}function f(){var e=Object(o.a)(["\n    border-radius: 0;\n    font-size: 1rem;\n    min-height: auto;\n    min-width: auto;\n    padding: .2rem .5rem;\n    margin-bottom: .7rem;\n  "]);return f=function(){return e},e}function h(){var e=Object(o.a)(["\n    align-items: flex-start;\n    flex-direction: column;\n    padding: 2rem 1rem;\n  "]);return h=function(){return e},e}var w=Object(l.default)(m.a).withConfig({displayName:"styled__PostItemLink",componentId:"sc-1w5cmwb-0"})(["color:var(--texts);display:flex;text-decoration:none;&:hover{color:var(--highlight);}body#grid &{background-color:var(--background);}"]),b=l.default.section.withConfig({displayName:"styled__PostItemWrapper",componentId:"sc-1w5cmwb-1"})(["align-items:center;display:flex;padding:2rem 3rem;width:100%;body#grid &{border:none;padding:2rem 1rem;flex-direction:column;justify-content:flex-start;}",""],c.a.lessThan("large")(h())),y=l.default.div.withConfig({displayName:"styled__PostItemTag",componentId:"sc-1w5cmwb-2"})(['font-family:"Lora",serif;align-items:center;background:',";border-radius:50%;color:var(--black);display:flex;font-size:32px;font-weight:700;justify-content:center;min-height:120px;min-width:120px;text-transform:uppercase;body#grid &{margin-bottom:1.5rem;}",""],(function(e){return e.background?e.background:"var(--highlight)"}),c.a.lessThan("large")(f())),v=l.default.div.withConfig({displayName:"styled__PostItemInfo",componentId:"sc-1w5cmwb-3"})(["display:flex;flex-direction:column;margin-left:1.5rem;body#grid &{text-align:center;margin-left:unset;}",""],c.a.lessThan("large")(p())),x=l.default.time.withConfig({displayName:"styled__PostItemDate",componentId:"sc-1w5cmwb-4"})(["font-size:0.9rem;display:flex;"]),E=Object(l.default)(g).withConfig({displayName:"styled__CalendarIcon",componentId:"sc-1w5cmwb-5"})(["width:16px;margin-right:4px;"]),I=Object(l.default)(u).withConfig({displayName:"styled__TimerIcon",componentId:"sc-1w5cmwb-6"})(["width:16px;margin:0px 4px 0px 12px;"]),_=l.default.h1.withConfig({displayName:"styled__PostItemTitle",componentId:"sc-1w5cmwb-7"})(['font-family:"Lora",serif;font-size:32px;font-weight:700;margin:0.2rem 0 0.5rem;body#grid &{line-height:1.1;margin:0.8rem 0;}']),P=l.default.p.withConfig({displayName:"styled__PostItemDescription",componentId:"sc-1w5cmwb-8"})(["font-size:1.2rem;font-weight:300;line-height:1.2;margin-top:16px;"]);t.a=function(e){var t=e.slug,n=e.background,a=e.category,o=e.date,l=e.timeToRead,c=e.title,d=e.description;return r.a.createElement(w,{to:t,cover:!0,direction:"right",bg:Object(i.a)(),duration:.6},r.a.createElement(b,null,r.a.createElement(y,{background:n},a),r.a.createElement(v,null,r.a.createElement(_,null,c),r.a.createElement(x,null,r.a.createElement(E,null)," ",o," ",r.a.createElement(I,null)," ",l," min de leitura"),r.a.createElement(P,null,d))))}},eWDE:function(e,t,n){"use strict";n.r(t),n.d(t,"query",(function(){return b}));var a=n("q1tI"),r=n.n(a),i=n("Zttt"),o=n("vrFN"),l=n("0/Pd"),c=n("kOA+"),d=n.n(c),m=n("qzLn"),s=n("MUpH"),g=n("vOnD"),u=n("ibEc");function p(){var e=Object(s.a)(["\n    font-size: .8rem;\n    padding: 1rem;\n  "]);return p=function(){return e},e}var f=g.default.section.withConfig({displayName:"styled__PaginationWrapper",componentId:"yo2rsq-0"})(["align-items:center;border-top:1px solid var(--borders);color:var(--texts);display:flex;padding:1.5rem 3rem;justify-content:space-between;a{color:var(--texts);text-decoration:none;transition:color 0.5s;&:hover{color:var(--highlight);}}",""],u.a.lessThan("large")(p())),h=function(e){var t=e.isFirst,n=e.isLast,a=e.currentPage,i=e.numPages,o=e.prevPage,l=e.nextPage;return r.a.createElement(f,null,!t&&r.a.createElement(d.a,{cover:!0,direction:"left",bg:Object(m.a)(),duration:.6,to:o},"← página anterior"),r.a.createElement("p",null,a," de ",i),!n&&r.a.createElement(d.a,{cover:!0,direction:"right",bg:Object(m.a)(),duration:.6,to:l},"próxima página →"))},w=g.default.section.withConfig({displayName:"styled__ListWrapper",componentId:"jwa7he-0"})(["body#grid &{background-color:var(--borders);border-bottom:1px solid var(--borders);display:grid;grid-area:posts;grid-gap:1px;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));}"]),b="536191802";t.default=function(e){var t=e.data.allMarkdownRemark.edges,n=e.pageContext,a=n.currentPage,c=n.numPages,d=1===a,m=a===c,s=a-1==1?"/":"/page/"+(a-1),g="/page/"+(a+1);return r.a.createElement(i.a,null,r.a.createElement(o.a,{title:"Home"}),r.a.createElement(w,null,t.map((function(e){var t=e.node,n=t.frontmatter,a=n.background,i=n.category,o=n.date,c=n.description,d=n.title,m=t.timeToRead,s=t.fields.slug;return r.a.createElement(l.a,{slug:s,background:a,category:i,date:o,timeToRead:m,title:d,description:c,key:s})}))),r.a.createElement(h,{isFirst:d,isLast:m,currentPage:a,numPages:c,prevPage:s,nextPage:g}))}}}]);
  //# sourceMappingURL=component---src-templates-blog-list-js-7ddd4f5d1b6a0c94ceff.js.map