1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7746],{6611:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});class i{static getDescendantProperty(t,e,n=[]){let s,r,o,a,c,l;if(e){if(-1===(o=e.indexOf("."))?s=e:(s=e.slice(0,o),r=e.slice(o+1)),null!=(a=t[s])){if(r||"string"!=typeof a&&"number"!=typeof a){if("[object Array]"===Object.prototype.toString.call(a))for(c=0,l=a.length;c<l;c++)i.getDescendantProperty(a[c],r,n);else r&&i.getDescendantProperty(a,r,n)}else n.push(a)}}else n.push(t);return n}}class s{constructor(t=[],e=[],n={}){Array.isArray(e)||(n=e,e=[]),this.haystack=t,this.keys=e,this.options=Object.assign({caseSensitive:!1,sort:!1},n)}search(t=""){if(""===t)return this.haystack;let e=[];for(let n=0;n<this.haystack.length;n++){let r=this.haystack[n];if(0===this.keys.length){let o=s.isMatch(r,t,this.options.caseSensitive);o&&e.push({item:r,score:o})}else for(let a=0;a<this.keys.length;a++){let c=i.getDescendantProperty(r,this.keys[a]),l=!1;for(let u=0;u<c.length;u++){let p=s.isMatch(c[u],t,this.options.caseSensitive);if(p){l=!0,e.push({item:r,score:p});break}}if(l)break}}return this.options.sort&&e.sort((t,e)=>t.score-e.score),e.map(t=>t.item)}static isMatch(t,e,n){t=String(t),e=String(e),n||(t=t.toLocaleLowerCase(),e=e.toLocaleLowerCase());let i=s.nearestIndexesFor(t,e);return!!i&&(t===e?1:i.length>1?2+(i[i.length-1]-i[0]):2+i[0])}static nearestIndexesFor(t,e){let n=e.split(""),i=[],r=s.indexesOfFirstLetter(t,e);return r.forEach((e,s)=>{let r=e+1;i[s]=[e];for(let o=1;o<n.length;o++){let a=n[o];if(-1===(r=t.indexOf(a,r))){i[s]=!1;break}i[s].push(r),r++}}),!!(i=i.filter(t=>!1!==t)).length&&i.sort((t,e)=>1===t.length?t[0]-e[0]:(t=t[t.length-1]-t[0])-(e=e[e.length-1]-e[0]))[0]}static indexesOfFirstLetter(t,e){let n=e[0];return t.split("").map((t,e)=>t===n&&e).filter(t=>!1!==t)}}},1671:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/faq",function(){return n(2634)}])},7882:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var i=n(5893),s=n(7294),r=n(1163),o=n(8527),a=n(7496),c=n(7464),l=n(9318),u=n(5146),p=n(5835),h=n.n(p);function f(t){var e=t.question,n=t.answer,p=t.id,f=t.active,g=(0,s.useState)(!1),d=g[0],x=g[1],y=(0,r.useRouter)(),j=function(t){var e=document.getElementById(t);if(e){var n=e.getBoundingClientRect(),i=window.innerHeight,s=n.top;window.scrollTo(0,s-i/2)}};(0,s.useEffect)(function(){x(!1)},[f]),(0,s.useEffect)(function(){if(y.asPath.split("#")[1]===p)return x(!0)},[p,y.asPath]),(0,s.useEffect)(function(){if(y.asPath.split("#")[1]===p)return j(p)},[d,y.asPath]);var m=function(){x(!d)};return(0,i.jsxs)(o.Kq,{spacing:0,className:h().questionContainer,children:[(0,i.jsxs)(o.xu,{display:"flex",cursor:"pointer",paddingBottom:"24px",gap:"20px",alignItems:"center",justifyContent:"space-between",_hover:{opacity:.8},transition:"opacity 0.2s ease",onClick:function(){return m()},children:[(0,i.jsx)(l.Z,{typography:"x-large",children:e}),(0,i.jsx)(u.Z,{alt:d?"fecha pergunta":"abrir pergunta",color:"#252A32",transform:d?"none":"rotate(45deg)",width:"20px",height:"20px"})]}),(0,i.jsx)(a.UO,{in:d,animateOpacity:!0,children:(0,i.jsx)(o.xu,{id:p,as:"div",height:d?"100%":"0",marginBottom:d?"32px !important":void 0,overflow:"hidden",transition:"all 1s ease",fontFamily:"Roboto",color:"#464A51",fontSize:"18px",lineHeight:"28px",fontWeight:"400",children:(0,i.jsx)(c.D,{children:n})})}),(0,i.jsx)(o.iz,{borderColor:"#DEDFE0"})]})}},2634:function(t,e,n){"use strict";n.r(e),n.d(e,{__N_SSG:function(){return m},default:function(){return w}});var i=n(5893),s=n(8527),r=n(3692),o=n(9008),a=n.n(o),c=n(6611),l=n(7294),u=n(9573),p=n(5065),h=n(9318),f=n(763),g=n(660),d=n(1081),x=n(7882),y=n(5146),j=n(8649),m=!0;function w(t){var e=t.faqs,n=(0,u.$G)("faq").t,o=(0,l.useState)([]),m=o[0],w=o[1],b=(0,l.useState)([]),v=b[0],C=b[1],_=(0,l.useState)(""),k=_[0],L=_[1],S=(0,l.useState)(""),q=S[0],E=S[1],D=(0,l.useState)(!1),B=D[0],Z=D[1];(0,l.useEffect)(function(){w(e),C(e)},[e]);var P=new c.Z(k?v:m,["question","keywords"],{sort:!0}),A=function(t){return m.filter(function(e){return e.categories.includes(t)})};(0,l.useEffect)(function(){if(k){var t=A(k);C(t)}else C(m);E("")},[k,m]),(0,l.useEffect)(function(){""===q.trim()?C(k?A(k):m):(C(P.search(q.trim())),Z(!B),window.scrollTo({top:1}))},[q]);var O=function(){E(""),C(k?A(k):m)},T=function(t){var e=t.category,n=t.label,s=function(){e===k?(L(""),C(m)):L(e),Z(!B),window.scrollTo({top:1})};return(0,i.jsx)(h.Z,{color:k===e?"#2B8C4D":"#71757A",width:"max-content",curs
1or:"pointer",_hover:{color:"#2B8C4D"},onClick:s,children:n||e})};return(0,i.jsxs)(g.A,{paddingX:"24px",children:[(0,i.jsxs)(a(),{children:[(0,i.jsx)("title",{children:n("pageTitle")}),(0,i.jsx)("meta",{property:"og:title",content:n("pageTitle")},"ogtitle"),(0,i.jsx)("meta",{property:"og:description",content:n("pageDescription")},"ogdesc")]}),(0,i.jsxs)(s.gC,{width:"100%",maxWidth:"1440px",margin:"50px auto auto",spacing:0,children:[(0,i.jsx)(p.Z,{paddingBottom:{base:"56px",lg:"66px"},color:"#2B8C4D",textAlign:"center",typography:"small",children:n("title")}),(0,i.jsx)(d.LT,{width:"100%",maxWidth:"600px",paddingBottom:{base:"56px",lg:"126px"},value:q,onChange:E,placeholder:n("searchPlaceholder"),icon:q?(0,i.jsx)(y.Z,{alt:"limpar pesquisa",width:"17px",height:"17px",cursor:"pointer",fill:"#464A51",onClick:function(){return O()}}):(0,i.jsx)(j.Z,{alt:"pesquisar",width:"17px",height:"17px",cursor:"normal",fill:"#464A51"})}),(0,i.jsxs)(s.Kq,{width:"100%",position:"relative",gap:{base:"64px",lg:"160px"},spacing:0,flexDirection:{base:"column",lg:"row"},paddingBottom:"32px",children:[(0,i.jsxs)(s.xu,{display:"flex",height:"100%",flexDirection:"column",gap:"16px",position:{base:"relative",lg:"sticky"},top:{base:"0",lg:"120px"},children:[(0,i.jsx)(T,{category:"Dados",label:n("categories.data")}),(0,i.jsx)(T,{category:"Planos Pagos",label:n("categories.paidPlans")}),(0,i.jsx)(T,{category:"BigQuery",label:n("categories.bigQuery")}),(0,i.jsx)(T,{category:"BD Lab",label:n("categories.bdLab")}),(0,i.jsx)(T,{category:"BD Edu",label:n("categories.bdEdu")}),(0,i.jsx)(T,{category:"Institucional",label:n("categories.institutional")})]}),(0,i.jsxs)(s.Kq,{width:"100%",spacing:8,children:[0===v.length?(0,i.jsx)(h.Z,{typography:"x-large",children:n("noQuestionsFound")}):v.map(function(t,e){return(0,i.jsx)(x.Z,{question:t.question,answer:t.content,id:t.id&&t.id,active:B},e)}),(0,i.jsxs)(f.Z,{marginTop:"60px !important",children:[n("contactText"),(0,i.jsx)(r.Z,{display:"inline",href:"/contact",color:"#0068C5",fontSize:"16px",fontWeight:"400",lineHeight:"24px",_hover:{color:"#0057A4"},children:n("contactLink")})]})]})]})]})]})}},5146:function(t,e,n){"use strict";var i=n(5893),s=(0,n(894).IU)({displayName:"cross",viewBox:"0 0 16 16",path:(0,i.jsx)("path",{fill:"current-color",d:"M3.78742 11.4931C3.54259 11.7557 3.55695 12.167 3.8195 12.4118C4.08204 12.6566 4.49335 12.6423 4.73818 12.3797L8.04464 8.83398L11.3519 12.3806C11.5967 12.6431 12.008 12.6575 12.2706 12.4127C12.5331 12.1678 12.5475 11.7565 12.3027 11.494L8.9334 7.8809L12.0356 4.55424C12.2804 4.29169 12.266 3.88039 12.0035 3.63556C11.7409 3.39073 11.3296 3.4051 11.0848 3.66764L8.04464 6.92781L5.00527 3.66849C4.76044 3.40595 4.34913 3.39158 4.08659 3.63641C3.82404 3.88124 3.80968 4.29254 4.05451 4.55509L7.15587 7.8809L3.78742 11.4931Z"})});e.Z=s},5835:function(t){t.exports={questionContainer:"faq_questionContainer__87sSS",link:"faq_link__3Xt2B"}}},function(t){t.O(0,[9744,5093,7464,660,9774,2888,179],function(){return t(t.s=1671)}),_N_E=t.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.