1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[182],{429:(e,t,l)=>{"use strict";l.d(t,{ArticleShare:()=>h});var s=l(5155),r=l(1847);let n=(0,r.A)("facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]),i=(0,r.A)("linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]),a=(0,r.A)("slack",[["rect",{width:"3",height:"8",x:"13",y:"2",rx:"1.5",key:"diqz80"}],["path",{d:"M19 8.5V10h1.5A1.5 1.5 0 1 0 19 8.5",key:"183iwg"}],["rect",{width:"3",height:"8",x:"8",y:"14",rx:"1.5",key:"hqg7r1"}],["path",{d:"M5 15.5V14H3.5A1.5 1.5 0 1 0 5 15.5",key:"76g71w"}],["rect",{width:"8",height:"3",x:"14",y:"13",rx:"1.5",key:"1kmz0a"}],["path",{d:"M15.5 19H14v1.5a1.5 1.5 0 1 0 1.5-1.5",key:"jc4sz0"}],["rect",{width:"8",height:"3",x:"2",y:"8",rx:"1.5",key:"1omvl4"}],["path",{d:"M8.5 5H10V3.5A1.5 1.5 0 1 0 8.5 5",key:"16f3cl"}]]),o=(0,r.A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]),c=(0,r.A)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);var d=l(2115);function h({url:e,title:t,description:l}){let[r,h]=(0,d.useState)(!1),m=encodeURIComponent(e),x=encodeURIComponent(t),f=encodeURIComponent(l||""),u=[{name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${m}`,icon:n,bgColor:"bg-blue-500 [&_svg]:fill-white [&_svg]:stroke-none"},{name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${m}`,icon:i,bgColor:"bg-sky-600 [&_svg]:fill-white [&_svg]:stroke-none"},{name:"Slack",href:`https://slack.com/intent/share?url=${m}&text=${x}${l?`%20-%20${f}`:""}`,icon:a,bgColor:"bg-fuchsia-800 [&_svg]:fill-white [&_svg]:stroke-none"},{name:"Email",href:`mailto:?subject=${x}&body=${encodeURIComponent(l?`${l} 2 3Leia mais: ${e}`:`Confira este artigo: ${e}`)}`,icon:o,bgColor:"bg-pink-600"},{name:"Compartilhar",href:"#",icon:c,bgColor:"bg-slate-500",onClick:async s=>{s.preventDefault();let r=l?`${t} 4 5${l} 6 7${e}`:`${t} 8 9${e}`;await navigator.clipboard.writeText(r),h(!0),setTimeout(()=>h(!1),2e3)}}];return(0,s.jsxs)("div",{className:"mb-0 sm:mb-8 flex flex-col gap-2 sm:gap-4",children:[(0,s.jsx)("h3",{className:"text-base font-bold font-public-sans text-slate-700 leading-tight",children:"Compartilhar"}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-2 items-center",children:[u.map(e=>{let t=e.icon,l="Facebook"===e.name||"LinkedIn"===e.name;return(0,s.jsx)("a",{href:e.href,onClick:e.onClick,target:"Compartilhar"===e.name||"Email"===e.name?void 0:"_blank",rel:"Compartilhar"===e.name||"Email"===e.name?void 0:"noopener noreferrer",className:`${e.bgColor} w-7 h-7 rounded-lg flex items-center justify-center text-white hover:opacity-90 transition-opacity p-1`,"aria-label":`Compartilhar no ${e.name}`,children:l?(0,s.jsx)(t,{className:"flex-shrink-0 ",size:18}):(0,s.jsx)(t,{className:"flex-shrink-0",size:18})},e.name)}),r&&(0,s.jsx)("span",{className:"text-xs text-slate-600 font-medium ml-2 animate-in fade-in duration-200",children:"Copiado!"})]})]})}},3430:(e,t,l)=>{"use strict";l.d(t,{ArticleNavigation:()=>o});var s=l(5155),r=l(2115),n=l(3496),i=l(8463),a=l(4269);function o({headings:e,className:t}){let l=e.map(e=>e.id),o=(0,r.useRef)(null),c=(0,r.useRef)(null),{activeSection:d,scrollToSection:h}=(0,i.p)({blockIds:l,offset:180});if((0,r.useEffect)(()=>{if(c.current&&o.current){let e=c.current,t=o.current,l=e.offsetTop,s=e.offsetHeight,r=t.scrollTop,n=t.clientHeight;l<r?t.scrollTo({top:l-20,behavior:"smooth"}):l+s>r+n&&t.scrollTo({top:l-n+s+20,behavior:"smooth"})}},[d]),!e||0===e.length)return null;let m=()=>e.map(e=>{let t=d===e.id;return(0,s.jsxs)("button",{ref:t?c:null,onClick:()=>h(e.id),className:(0,a.cn)("block w-full text-sm leading-tight text-left pl-4 py-1 border-l-2 transition-all duration-200 hover:bg-slate-50 flex-shrink-0 min-h-[2rem] ",t?"border-l-sky-500 text-slate-700 font-bold":"border-l-slate-200 text-slate-600 hover:border-l-slate-300"),children:[(0,s.jsx)("span",{className:"font-bold invisible block h-0","aria-hidden":"true",children:e.title}),(0,s.jsx)("span",{className:(0,a.cn)(t&&"font-bold"),children:e.title})]},e.id)});return(0,s.jsxs)("div",{className:(0,a.cn)("bg-white rounded-lg w-full md:w-60 flex flex-col",t),children:[(0,s.jsx)("div",{className:"md:hidden",children:(0,s.jsx)(n.nD,{type:"single",collapsible:!0,className:"w-full border border-slate-300 rounded-lg",children:(0,s.jsxs)(n.As,{value:"navigation",className:"border-none",children:[(0,s.jsx)(n.$m,{className:"text-base font-bold font-public-sans text-blue-950 p-3 leading-tight hover:no-underline ",children:"Navega\xe7\xe3o"}),(0,s.jsx)(n.ub,{children:(0,s.jsx)("nav",{className:"flex flex-col gap-3 pt-2",children:m()})})]})})}),(0,s.jsxs)("div",{className:"hidden md:flex flex-col",children:[(0,s.jsx)("div",{className:"text-base font-bold font-public-sans text-blue-950 mb-4 flex-shrink-0",children:"Navega\xe7\xe3o"}),(0,s.jsx)("nav",{ref:o,className:"flex flex-col gap-3 scrollbar-thin",children:m()})]})]})}},3613:(e,t,l)=>{"use strict";l.r(t),l.d(t,{BannerCTA:()=>i});var s=l(5155),r=l(7937),n=l(600);function i({navigationCta:e,href:t,text:l}){let i=e?.href||t||"https://proposta.bixtecnologia.com.br/",a=e?.label||l||"Tire o seu projeto do papel";return(0,s.jsx)(n.UtmLink,{href:i,className:"block bg-blue-950 rounded-xl pl-4 pr-2 py-3 md:py-2 font-bold text-white hover:bg-blue-900 transition-colors group md:max-w-56",children:(0,s.jsxs)("div",{className:"flex items-center justify-between ",children:[(0,s.jsx)("p",{className:"text-base font-semibold font-public-sans leading-relaxed pr-4 break-words ",children:a}),(0,s.jsx)(r.A,{className:"w-5 h-5 flex-shrink-0 group-hover:translate-x-1 transition-transform"})]})})}},3787:(e,t,l)=>{"use strict";l.d(t,{default:()=>n});var s=l(5155),r=l(2115);function n({height:e="4px",colorClass:t="bg-sky-500",trackClass:l="bg-transparent",className:n="",zIndex:i=50}){let a=(0,r.useRef)(null),o=(0,r.useRef)(null),c=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{let e=a.current;if(!e)return;let t=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)"),l=!!t&&t.matches,s=()=>{let t=document.documentElement,l=window.scrollY||t.scrollTop||0,s=t.scrollHeight-window.innerHeight,r=s>0?Math.min(1,Math.max(0,l/s)):0;e.style.transform=`scaleX(${r})`,c.current=!1},r=()=>{if(l)return void s();c.current||(c.current=!0,o.current=requestAnimationFrame(s))},n=()=>{r()};return e.style.transform="scaleX(0)",e.style.transformOrigin="left",e.style.willChange="transform",l&&(e.style.transition="none"),window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",n),r(),()=>{window.removeEventListener("scroll",r),window.removeEventListener("resize",n),o.current&&cancelAnimationFrame(o.current)}},[]),(0,s.jsx)("div",{"aria-hidden":"true",className:`fixed top-0 left-0 right-0 pointer-events-none ${n}`,style:{zIndex:i},children:(0,s.jsx)("div",{className:`w-full ${l}`,style:{height:e},children:(0,s.jsx)("div",{ref:a,className:`${t} origin-left transition-transform duration-150 ease-linear`,style:{transform:"scaleX(0)",height:e}})})})}},5020:(e,t,l)=>{"use strict";l.d(t,{ScrollNavigation:()=>c});var s=l(5155),r=l(2115),n=l(3496),i=l(8463),a=l(4269),o=l(8211);function c({blocks:e,className:t}){let l=(0,r.useRef)(null),c=(0,r.useRef)(null),d=[];e.forEach((e,t)=>{e.title&&d.push({id:(0,a.ss)(e.title,t),title:e.title,isHeading:!1}),"blocks.two-column-section"===e.__component&&e.row&&e.row.length>0&&e.row.forEach((e,l)=>{if(e.title){let s=(0,a.Tq)(e.title),r=`row-${t}-${l}-${s}`;d.push({id:r,title:e.title,isHeading:!1})}}),"blocks.markdown"===e.__component&&(0,o.$v)(e.content,2).forEach(e
9=>{d.push({id:(0,a.dy)(e),title:e,isHeading:!0})})});let h=d.map(e=>e.id),{activeSection:m,scrollToSection:x}=(0,i.p)({blockIds:h,offset:120});if((0,r.useEffect)(()=>{if(c.current&&l.current){let e=c.current,t=l.current,s=e.offsetTop,r=e.offsetHeight,n=t.scrollTop,i=t.clientHeight;s<n?t.scrollTo({top:s-20,behavior:"smooth"}):s+r>n+i&&t.scrollTo({top:s-i+r+20,behavior:"smooth"})}},[m]),!d||0===d.length)return null;let f=()=>d.map((e,t)=>{let l=m===e.id;return(0,s.jsxs)("button",{ref:l?c:null,onClick:()=>x(e.id),className:(0,a.cn)("block w-full text-sm leading-tight text-left pl-4 py-1 border-l-2 transition-all duration-200 hover:bg-slate-50 flex-shrink-0 min-h-[2rem] ",l?"border-l-sky-500 text-slate-700 font-bold":"border-l-slate-200 text-slate-600 hover:border-l-slate-300"),children:[(0,s.jsx)("span",{className:"font-bold invisible block h-0","aria-hidden":"true",children:e.title}),(0,s.jsx)("span",{className:(0,a.cn)(l&&"font-bold"),children:e.title})]},`nav-${e.id}-${t}`)});return(0,s.jsxs)("div",{className:(0,a.cn)("bg-white rounded-lg w-full md:w-60 flex flex-col",t),children:[(0,s.jsx)("div",{className:"md:hidden",children:(0,s.jsx)(n.nD,{type:"single",collapsible:!0,className:"w-full border border-slate-300 rounded-lg",children:(0,s.jsxs)(n.As,{value:"navigation",className:"border-none",children:[(0,s.jsx)(n.$m,{className:"text-base font-bold font-public-sans text-blue-950 p-3 leading-tight hover:no-underline ",children:"Navega\xe7\xe3o"}),(0,s.jsx)(n.ub,{children:(0,s.jsx)("nav",{className:"flex flex-col gap-3 pt-2",children:f()})})]})})}),(0,s.jsxs)("div",{className:"hidden md:flex flex-col",children:[(0,s.jsx)("div",{className:"text-base font-bold font-public-sans text-blue-950 mb-4 flex-shrink-0",children:"Navega\xe7\xe3o"}),(0,s.jsx)("nav",{ref:l,className:"flex flex-col gap-3 scrollbar-thin",children:f()})]})]})}},5164:(e,t,l)=>{"use strict";l.d(t,{BlogCard:()=>d});var s=l(5155),r=l(6485),n=l(6983),i=l(2619),a=l.n(i),o=l(5765),c=l(185);function d({article:e,readTimeMinutes:t}){let l=e.date||e.publishedAt,i=l?new Date(l).toLocaleDateString("pt-BR",{year:"numeric",month:"long",day:"numeric"}):"",d=e.content&&e.content.trim().length>0?`${Math.max(1,Math.ceil((e.content.split(/\s+/).length||0)/200))} min de leitura`:t?`${t} min de leitura`:null,h=(e.slug||"").replace(/\/$/,"");return(0,s.jsxs)("article",{className:"group flex flex-col h-full",children:[e.cover&&(0,s.jsxs)(a(),{href:(0,c.dI)(`/${h}`),className:"block aspect-[16/9] overflow-hidden rounded-xl drop-shadow-sm",children:[(0,s.jsx)(o.StrapiImage,{src:e.cover.url,alt:e.cover.alternativeText||e.title||"",width:e.cover.width||800,height:e.cover.height||450,className:"w-full h-full object-cover group-hover:scale-105 transition-all duration-300 z-0"}),e.categories&&e.categories.length>0&&(0,s.jsx)("div",{className:"flex flex-wrap gap-2 mb-3 absolute top-3 right-3 z-40",children:e.categories.slice(0,2).map(e=>(0,s.jsx)("div",{className:"flex text-xs font-semibold text-sky-900 bg-sky-50/90 px-2 py-1 rounded-md drop-shadow-sm z-50",children:e.name},e.id))})]}),(0,s.jsxs)("div",{className:"flex flex-col flex-1 py-4",children:[(0,s.jsx)(a(),{href:(0,c.dI)(`/${h}`),children:(0,s.jsx)("h2",{className:"text-xl font-bold text-blue-950 mb-3 group-hover:text-blue-800 transition-colors line-clamp-2 font-public-sans",children:e.title})}),e.description&&(0,s.jsx)("p",{className:"text-slate-600 mb-4 line-clamp-3 flex-1 font-roboto",children:e.description}),(0,s.jsxs)("div",{className:"flex items-center gap-6 text-sm text-slate-500 mt-auto pt-2",children:[i&&(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(r.A,{className:"w-4 h-4 mr-1"}),(0,s.jsx)("time",{dateTime:l||"",children:i})]}),d&&(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(n.A,{className:"w-4 h-4 mr-1"}),(0,s.jsx)("span",{children:d})]})]})]})]})}},5268:(e,t,l)=>{"use strict";l.d(t,{RelatedArticlesCarousel:()=>i});var s=l(5155),r=l(5164),n=l(7808);function i({articles:e}){return e&&0!==e.length?(0,s.jsx)("section",{className:"w-full pt-8 sm:pt-12 lg:pt-16 pb-16 sm:pb-20 lg:pb-24 bg-white",children:(0,s.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-3 sm:px-6 md:px-8",children:[(0,s.jsx)("div",{className:"mb-8 sm:mb-10 lg:mb-12",children:(0,s.jsx)("h2",{className:"font-public-sans text-2xl sm:text-2xl lg:text-3xl leading-[130%] tracking-[-2%] text-slate-700 text-left",children:"Artigos relacionados"})}),(0,s.jsxs)(n.FN,{opts:{align:"start",loop:!0},className:"w-full",children:[(0,s.jsx)(n.Wk,{className:"-ml-4 sm:-ml-4",children:e.map(e=>(0,s.jsx)(n.A7,{className:"pr-2 sm:pr-2 pl-6 sm:pl-6 basis-full sm:basis-1/2 lg:basis-1/3 xl:basis-1/4 gap-2 sm:gap-[10px]",children:(0,s.jsx)(r.BlogCard,{article:e})},e.id))}),(0,s.jsx)(n.Q8,{className:"hidden lg:flex border-none text-slate-500 hover:text-slate-700"}),(0,s.jsx)(n.Oj,{className:"hidden lg:flex border-none text-slate-500 hover:text-slate-700"})]})]})}):null}},6485:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});let s=(0,l(1847).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},6983:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});let s=(0,l(1847).A)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},7382:(e,t,l)=>{Promise.resolve().then(l.t.bind(l,2619,23)),Promise.resolve().then(l.t.bind(l,1356,23)),Promise.resolve().then(l.bind(l,6493)),Promise.resolve().then(l.bind(l,4537)),Promise.resolve().then(l.bind(l,5287)),Promise.resolve().then(l.bind(l,5664)),Promise.resolve().then(l.bind(l,6764)),Promise.resolve().then(l.bind(l,579)),Promise.resolve().then(l.bind(l,6286)),Promise.resolve().then(l.bind(l,7418)),Promise.resolve().then(l.bind(l,8732)),Promise.resolve().then(l.bind(l,9747)),Promise.resolve().then(l.bind(l,3430)),Promise.resolve().then(l.bind(l,429)),Promise.resolve().then(l.bind(l,5268)),Promise.resolve().then(l.bind(l,5384)),Promise.resolve().then(l.bind(l,8015)),Promise.resolve().then(l.bind(l,6918)),Promise.resolve().then(l.bind(l,6766)),Promise.resolve().then(l.bind(l,3613)),Promise.resolve().then(l.bind(l,3017)),Promise.resolve().then(l.bind(l,5020)),Promise.resolve().then(l.bind(l,3787)),Promise.resolve().then(l.bind(l,5765)),Promise.resolve().then(l.bind(l,600))},8463:(e,t,l)=>{"use strict";l.d(t,{p:()=>r});var s=l(2115);function r({blockIds:e,offset:t=100}
9){let[l,r]=(0,s.useState)("");return(0,s.useEffect)(()=>{let l=()=>{let l=window.scrollY+t;for(let t=e.length-1;t>=0;t--){let s=document.getElementById(e[t]);if(s&&s.offsetTop<=l){r(e[t]);break}}};return l(),window.addEventListener("scroll",l,{passive:!0}),()=>{window.removeEventListener("scroll",l)}},[e,t]),{activeSection:l,scrollToSection:(0,s.useCallback)(e=>{let l=document.getElementById(e);if(l){let e=l.offsetTop-t;window.scrollTo({top:e,behavior:"smooth"})}},[t])}}},9747:(e,t,l)=>{"use strict";l.d(t,{ArticleContent:()=>h});var s=l(5155),r=l(2115),n=l(1238),i=l(6969),a=l(4514),o=l(2837),c=l(4269),d=l(8211);function h({content:e,headings:t}){let l=(0,r.useRef)(null);(0,r.useEffect)(()=>{l.current&&l.current.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(e=>{let l=e.textContent?.trim()||"",s=t.find(e=>e.title===l);s?e.id=s.id:e.id=(0,c.ss)(l,0)})},[e,t]);let h=(0,d.KE)(e);return(0,s.jsx)("div",{ref:l,className:"article-content max-w-none [&_h1]:scroll-mt-32 [&_h2]:scroll-mt-32 [&_h3]:scroll-mt-32 [&_h4]:scroll-mt-32",children:(0,s.jsx)(n.oz,{remarkPlugins:[a.A],rehypePlugins:[i.A],components:o.x,children:h})})}}},e=>{e.O(0,[619,13,409,980,587,687,516,566,690,216,441,255,358],()=>e(e.s=7382)),_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.