PageSourceSearch

https://redrive.com.br/_next/static/chunks/pages/blog/[slug]-ecac9c0c3e440f83.js

js redrive.com.br collected 2026-10-01 23:45:13 UTC 14,796 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7812],{3717:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},14741:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});var l=t(75157),r=t(37876);function a(e){let{date:s}=e;return(0,r.jsx)("time",{dateTime:(0,l.y)(s),children:(0,l.h)(s)})}},15061:e=>{e.exports={relatedPosts:"RelatedPosts_relatedPosts__6YTMi",container:"RelatedPosts_container__hHM9o",header:"RelatedPosts_header__aSeG0",title:"RelatedPosts_title__i_3pW",subtitle:"RelatedPosts_subtitle__XQ_TL",grid:"RelatedPosts_grid__xj_Lz",card:"RelatedPosts_card__jfUHv",imageOverlay:"RelatedPosts_imageOverlay__gNxDg",cardTitle:"RelatedPosts_cardTitle__LvJSZ",cardImage:"RelatedPosts_cardImage__764Bk",image:"RelatedPosts_image__3uWH7",readMore:"RelatedPosts_readMore__pgUNw",cardContent:"RelatedPosts_cardContent__kyDl_",category:"RelatedPosts_category__PRKKL",cardSummary:"RelatedPosts_cardSummary__xyGQi",cardMeta:"RelatedPosts_cardMeta__6PYcd",separator:"RelatedPosts_separator__SKUkO",debugScore:"RelatedPosts_debugScore___0Qj_",cta:"RelatedPosts_cta__xzoyr",ctaButton:"RelatedPosts_ctaButton__eoQuu"}},31027:e=>{e.exports={breadcrumbs:"Breadcrumbs_breadcrumbs__Q3f6H",container:"Breadcrumbs_container__nUsGE",list:"Breadcrumbs_list__qkk_r",item:"Breadcrumbs_item__rnrxO",link:"Breadcrumbs_link__hGFhZ",homeIcon:"Breadcrumbs_homeIcon__nUW41",separator:"Breadcrumbs_separator__KmGFS",current:"Breadcrumbs_current__0fgxc"}},36078:(e,s,t)=>{"use strict";t.d(s,{A:()=>o});var l=t(48230),r=t.n(l),a=t(89099),i=t(31027),n=t.n(i),c=t(37876);function o({post:e=null,currentPage:s=null}){let t=(0,a.useRouter)(),l=(()=>{let l=t.pathname,r=[{label:"Home",href:"/"},{label:"Blog",href:"/blog"}];if(e)e.hat&&r.push({label:e.hat,href:`/blog/categoria/${encodeURIComponent(e.hat.toLowerCase())}`}),r.push({label:e.title,href:`/blog/${e.slug}`,current:!0});else if(s)r.push({label:`P\xe1gina ${s}`,href:`/blog/page/${s}`,current:!0});else if(l.includes("/busca")){let e=t.query.q;r.push({label:e?`Busca: "${e}"`:"Busca",href:t.asPath,current:!0})}else if(l.includes("/categoria")){let e=t.query.categoria;r.push({label:e?`Categoria: ${e}`:"Categorias",href:t.asPath,current:!0})}return r})(),i={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:l.map((e,s)=>({"@type":"ListItem",position:s+1,name:e.label,item:`https://redrive.com.br${e.href}`}))};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(i)}}),(0,c.jsx)("nav",{className:n().breadcrumbs,"aria-label":"Breadcrumb",children:(0,c.jsx)("div",{className:n().container,children:(0,c.jsx)("ol",{className:n().list,children:l.map((e,s)=>(0,c.jsx)("li",{className:n().item,children:e.current?(0,c.jsx)("span",{className:n().current,"aria-current":"page",children:e.label.length>50?e.label.substring(0,50)+"...":e.label}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(r(),{href:e.href,children:(0,c.jsxs)("span",{className:n().link,children:[0===s&&(0,c.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",className:n().homeIcon,children:(0,c.jsx)("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z",fill:"currentColor"})}),e.label]})}),s<l.length-1&&(0,c.jsx)("span",{className:n().separator,children:(0,c.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",children:(0,c.jsx)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",fill:"currentColor"})})})]})},s))})})})]})}},50702:(e,s,t)=>{"use strict";t.d(s,{A:()=>i});var l=t(98101),r=t.n(l),a=t(37876);function i(e){let{tags:s}=e,t=Array.isArray(s)?s:"string"==typeof s&&s?s.split(",").map(e=>e.trim()).filter(Boolean):[];return t.length?(0,a.jsx)("ul",{className:r().tags,children:t.map(e=>(0,a.jsx)("li",{className:r().tags__tag,children:e},e))}):null}},59762:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});var l=t(14232),r=t(84984),a=t.n(r),i=t(37876);function n({html:e,className:s,as:t="div"}){let r=(0,l.useMemo)(()=>(function(e=""){return e?String(e).replace(/<script[\s\S]*?>[\s\S]*?<\/script>/gi,"").replace(/\son\w+="[^"]*"/gi,"").replace(/\son\w+='[^']*'/gi,"").replace(/javascript:/gi,""):""})(e),[e]);if(!r)return null;
1let c=[a().content,s].filter(Boolean).join(" ");return(0,i.jsx)(t,{className:c,dangerouslySetInnerHTML:{__html:r}})}},75157:(e,s,t)=>{"use strict";function l(e){let s=new Date(Date.parse(e));return`${s.getFullYear()}-${function(e){for(e=e.toString();e.length<2;)e="0"+e;return e}(s.getMonth()+1)}-${s.getDate()}`}function r(e){let s=new Date(Date.parse(e));return`${s.getDate()} ${["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"][s.getMonth()]} ${s.getFullYear()}`}t.d(s,{h:()=>r,y:()=>l})},79706:(e,s,t)=>{"use strict";var l=t(3717);function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){function e(e,s,t,r,a,i){if(i!==l){var n=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw n.name="Invariant Violation",n}}function s(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:s,element:e,elementType:e,instanceOf:s,node:e,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:a,resetWarningCache:r};return t.PropTypes=t,t}},84984:e=>{e.exports={content:"cmsHtml_content__KbOTP"}},85308:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[slug]",function(){return t(86918)}])},86918:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSG:()=>T,default:()=>P});var l=t(62867),r=t(50702),a=t(80015),i=t(10841),n=t.n(i),c=t(85456),o=t(59762),d=t(14741),m=t(14232),h=t(37876);function u({content:e,showIcon:s=!0}){let[t,l]=(0,m.useState)(0);(0,m.useEffect)(()=>{let s;s="",e?.html?s=String(e.html).replace(/<[^>]*>/g," "):e?.json?s=r(e.json):"string"==typeof e?s=e.replace(/<[^>]*>/g," "):e?.innerHTML&&(s=e.innerHTML.replace(/<[^>]*>/g,"")),l(Math.ceil(s.trim().split(/\s+/).length/200))},[e]);let r=e=>{let s="",t=e=>{"text"===e.nodeType?s+=e.value+" ":e.content&&e.content.forEach(t)};return e?.content&&e.content.forEach(t),s};return(0,h.jsxs)("span",{className:"reading-time",style:{display:"inline-flex",alignItems:"center",gap:"6px",color:"#718096",fontSize:"14px"},children:[s&&(0,h.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",style:{flexShrink:0},children:(0,h.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 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.25 3.15.75-1.23-4.5-2.67z",fill:"currentColor"})}),t," min de leitura"]})}var g=t(48230),p=t.n(g),x=t(54587),j=t.n(x),_=t(15061),b=t.n(_);function f({currentPost:e,allPosts:s=[]}){let[t,l]=(0,m.useState)([]);return((0,m.useEffect)(()=>{e&&0!==s.length&&l(s.map(s=>({...s,similarityScore:(s=>{if(s.slug===e.slug)return -1;let t=0;e.tags&&s.tags&&(t+=3*e.tags.filter(e=>s.tags.includes(e)).length),e.hat&&s.hat&&e.hat===s.hat&&(t+=2);let l=e.title.toLowerCase().split(/\s+/),r=s.title.toLowerCase().split(/\s+/);if(t+=l.filter(e=>r.includes(e)&&e.length>3).length,e.summary&&s.summary){let l=e.summary.toLowerCase().split(/\s+/),r=s.summary.toLowerCase().split(/\s+/);t+=.5*l.filter(e=>r.includes(e)&&e.length>4).length}let a=Math.abs((new Date(e.entryDate)-new Date(s.entryDate))/864e5);return a<30&&(t+=1),a<7&&(t+=1),t})(s)})).filter(e=>e.similarityScore>0).sort((e,s)=>s.similarityScore-e.similarityScore).slice(0,4))},[e,s]),0===t.length)?null:(0,h.jsx)("section",{className:b().relatedPosts,children:(0,h.jsxs)("div",{className:b().container,children:[(0,h.jsxs)("div",{className:b().header,children:[(0,h.jsx)("h2",{className:b().title,children:"Posts Relacionados"}),(0,h.jsx)("p",{className:b().subtitle,children:"Continue explorando conte\xfados similares"})]}),(0,h.jsx)("div",{className:b().grid,children:t.map(e=>(0,h.jsxs)("article",{className:b().card,children:[(0,h.jsx)(p(),{href:`/blog/${e.slug}`,children:(0,h.jsxs)("div",{className:b().cardImage,children:[(0,h.jsx)(j(),{src:e.image?.url||e.thumb?.url||"/images/blog/placeholder.jpg",alt:e.title,width:400,height:250,className:b().image,loading:"lazy"}),(0,h.jsx)("div",{className:b().imageOverlay,children:(0,h.jsx)("span",{className:b().readMore,children:"Ler mais →"})})]})}),(0,h.jsxs)("div",{className:b().cardContent,children:[e.hat&&(0,h.jsx)("span",{className:b().category,children:e.hat}),(0,h.jsx)(p(),{href:`/blog/${e.slug}`,children:(0,h.jsx)("h3",{className:b().cardTitle,children:e.title})}),(0,h.jsxs)("p",{className:b().cardSummary,children:[e.summary?.substring(0,120),"..."]}),(0,h.jsxs)("div",{className:b().cardMeta,children:[(0,h.jsx)(d.A,{date:e.entryDate}),(0,h.jsx)("span",{className:b().separator,children:"•"}),(0,h.jsx)(u,{content:e.text,showIcon:!1})]}),!1]})]},e.slug))}),(0,h.jsx)("div",{className:b().cta,children:(0,h.jsx)(p(),{href:"/blog",children:(0,h.jsx)("button",{className:b().ctaButton,children:"Ver todos os posts"})})})]})})}var N=t(36078),y=t(83606),v=t(18108),T=!0;function P(e){let{post:s,relatedPosts:t,allPosts:i,preview:m}=e,g={url:a.T.url+"/blog/"+s.slug,identifier:s.slug,title:s.title};return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(l.bV,{title:s.title,de
1scription:s.summary,canonical:a.T.url+"/blog/"+s.slug,useAppDir:!0,images:{url:s.image?.url||s.thumb?.url||"",width:850,height:650,alt:s.title},openGraph:{type:"article",article:{publishedTime:s.sys.firstPublishedAt?n()(s.sys.firstPublishedAt).format("YYYY-MM-DDTHH:mm:ssZ"):n()(s.entryDate).format("YYYY-MM-DDTHH:mm:ssZ"),modifiedTime:s.sys.publishedAt?n()(s.sys.publishedAt).format("YYYY-MM-DDTHH:mm:ssZ"):n()(s.entryDate).format("YYYY-MM-DDTHH:mm:ssZ"),authors:["https://www.redrive.com/authors/@redrive"],tags:[s.tags]},url:a.T.url+"/blog/"+s.slug,images:[{url:s.image?.url||s.thumb?.url||"",width:850,height:650,alt:s.title,type:"image/jpeg"}],site_name:"Redrive Blog"}}),(0,h.jsx)(l.dp,{type:"BlogPosting",url:"https://redrive.com.br/blog",title:s.title+" | Redrive",images:[s.image?.url||s.thumb?.url||""],datePublished:s.sys.firstPublishedAt?n()(s.sys.firstPublishedAt).format("YYYY-MM-DDTHH:mm:ssZ"):n()(s.entryDate).format("YYYY-MM-DDTHH:mm:ssZ"),dateModified:s.sys.publishedAt?n()(s.sys.publishedAt).format("YYYY-MM-DDTHH:mm:ssZ"):n()(s.entryDate).format("YYYY-MM-DDTHH:mm:ssZ"),authorName:"Redrive Blog",description:s.summary}),(0,h.jsx)(c.A,{headerStyle:4,footerStyle:4,headerCls:"navbar-dark inner-page-header",children:(0,h.jsxs)("div",{children:[(0,h.jsx)(N.A,{post:s}),(0,h.jsxs)("section",{id:"single-post",className:"pb-40 inner-page-hero blog-page-section",children:[(0,h.jsxs)("div",{className:"container",children:[(0,h.jsxs)("div",{className:"row justify-content-center",children:[(0,h.jsx)("div",{className:"col-xl-10",children:(0,h.jsxs)("div",{className:"post-content",children:[(0,h.jsxs)("div",{className:"single-post-title text-center",children:[(0,h.jsx)("span",{className:"post-tag color--red-400",children:s.hat}),(0,h.jsx)("h2",{className:"s-46 w-700",children:s.title}),(0,h.jsx)("div",{className:"blog-post-meta mt-35",children:(0,h.jsxs)("ul",{className:"post-meta-list ico-10",children:[(0,h.jsx)("li",{children:(0,h.jsx)("p",{className:"p-md w-500",children:"Por Redrive"})}),(0,h.jsx)("li",{className:"meta-list-divider",children:(0,h.jsx)("p",{children:(0,h.jsx)("span",{className:"flaticon-minus"})})}),(0,h.jsx)("li",{children:(0,h.jsx)("p",{className:"p-md",children:(0,h.jsx)(d.A,{date:s.entryDate})})}),(0,h.jsx)("li",{className:"meta-list-divider",children:(0,h.jsx)("p",{children:(0,h.jsx)("span",{className:"flaticon-minus"})})}),(0,h.jsx)("li",{children:(0,h.jsx)("p",{className:"p-md",children:(0,h.jsx)(u,{content:s.text})})})]})})]}),(s.image?.url||s.thumb?.url)&&(0,h.jsx)("div",{className:"blog-post-img py-50",children:(0,h.jsx)("img",{className:"img-fluid r-16",src:s.image?.url||s.thumb?.url,alt:"blog-post-image"})}),(0,h.jsxs)("div",{className:"single-post-txt",children:[(0,h.jsx)("article",{children:(0,h.jsx)(o.A,{html:s.text?.html||""})}),s.tags&&(0,h.jsx)(r.A,{tags:s.tags})]}),(0,h.jsx)("div",{className:"row",children:(0,h.jsxs)("div",{className:"col post-share-list text-center",children:[(0,h.jsx)("h6",{className:"s-14 w-500 m-2",children:"Compartilhe conhecimento!"}),(0,h.jsxs)("ul",{className:"share-social-icons ico-20 text-center clearfix",children:[(0,h.jsx)("li",{className:"p-2",children:(0,h.jsx)(v.Kz,{url:a.T.url+"/blog/"+s.slug,title:s.title,separator:":: ",children:(0,h.jsx)(v.Y4,{size:32,round:!0})})}),(0,h.jsx)("li",{className:"p-2",children:(0,h.jsx)(v.wk,{url:a.T.url+"/blog/"+s.slug,children:(0,h.jsx)(v._z,{size:32,round:!0})})}),(0,h.jsx)("li",{className:"p-2",children:(0,h.jsx)(v.VI,{url:a.T.url+"/blog/"+s.slug,title:s.title,children:(0,h.jsx)(v.hZ,{size:32,round:!0})})}),(0,h.jsx)("li",{className:"p-2",children:(0,h.jsx)(v.uI,{url:a.T.url+"/blog/"+s.slug,quote:s.title,hashtag:s.tags,children:(0,h.jsx)(v.ik,{size:32,round:!0})})}),(0,h.jsx)("li",{className:"p-2",children:(0,h.jsx)(v.r6,{url:a.T.url+"/blog/"+s.slug,title:s.title,children:(0,h.jsx)(v.Fi,{size:32,round:!0})})}),(0,h.jsx)("li",{className:"p-2",children:(0,h.jsx)(v.oB,{url:a.T.url+"/blog/"+s.slug,media:s.title,children:(0,h.jsx)(v.yY,{size:32,round:!0})})}),(0,h.jsx)("li",{className:"p-2",children:(0,h.jsx)(v._G,{url:a.T.url+"/blog/"+s.slug,title:s.title,children:(0,h.jsx)(v.G,{size:32,round:!0})})}),(0,h.jsx)("li",{className:"p-2",children:(0,h.jsx)(v.tD,{url:a.T.url+"/blog/"+s.slug,appId:"320812825745284",children:(0,h.jsx)(v.RG,{size:32,round:!0})})}),(0,h.jsx)("li",{className:"p-2",children:(0,h.jsx)(v.Ot,{url:a.T.url+"/blog/"+s.slug,subject:s.title,body:s.summary+" "+a.T.url+"/blog/"+s.slug,children:(0,h.jsx)(v.aZ,{size:32,round:!0})})})]})]})})," "]})})," "]})," "]})," "]})," ",(0,h.jsx)(f,{currentPost:s,allPosts:i}),(0,h.jsxs)("section",{id:"blog-1",className:"bg--white-300 py-100 blog-section division",children:[(0,h.jsxs)("div",{className:"container",children:[(0,h.jsx)("div",{className:"row",children:(0,h.jsx)("div",{className:"post-comments",children:(0,h.jsx)("div",{className:"comments-wrapper",children:(0,h.jsx)("div",{className:"row justify-content-center",children:(0,h.jsx)("div",{className:"col-md-10 col-lg-9",children:(0,h.jsxs)("div",{className:"section-title mb-50",children:[(0,h.jsx)("h2",{className:"s-50 w-700",children:"D\xea o seu feedback e continue a leitura \uD83E\uDD70"}),(0,h.jsx)(y.Mq,{shortname:"redrive",config:g})]})})})})})})," "]})," "]})]})})]})}},95062:(e,s,t)=>{e.exports=t(79706)()},98101:e=>{e.exports={tags:"Tags_tags__3NWWx",tags__tag:"Tags_tags__tag__OLEEY"}}},e=>{e.O(0,[9659,4969,1147,8585,4938,3716,8230,1040,1789,2466,5330,2264,2242,4587,4754,4707,4403,6450,8726,5456,5579,636,6593,8792],()=>e(e.s=85308)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.