1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[164],{6820:function(e,s,r){var a=r(5893),t=r(7294),n=r(267),i=r(1252);s.Z=function(e){return(0,a.jsx)(t.Fragment,{children:(0,a.jsx)(n.Z,{children:(0,a.jsxs)(i.Z,{lg:{size:8,offset:2},children:[(0,a.jsx)("h1",{className:"section-title text-center",children:e.title}),(0,a.jsx)("div",{className:"section-title-border mt-3"}),(0,a.jsx)("p",{className:"section-subtitle text-muted text-center pt-4 font-secondary new-line",children:e.desc.replace("\\n","\n")})]})})})}},5164:function(e,s,r){r.r(s);var a=r(8520),t=r.n(a),n=r(5893),i=r(7294),c=r(8595),l=r(267),o=r(1252),m=r(2175),d=r(4231),u=r(6820);function x(e,s,r,a,t,n,i){try{var c=e[n](i),l=c.value}catch(o){return void r(o)}c.done?s(l):Promise.resolve(l).then(a,t)}function h(e){return function(){var s=this,r=arguments;return new Promise((function(a,t){var n=e.apply(s,r);function i(e){x(n,a,t,i,c,"next",e)}function c(e){x(n,a,t,i,c,"throw",e)}i(void 0)}))}}var j=d.Ry().shape({fullName:d.Z_().min(5,"Coloque seu nome completo. No m\xednimo 5 caracteres!").required("Obrigat\xf3rio"),email:d.Z_().email("Endere\xe7o de Email Inv\xe1lido").required("Obrigat\xf3rio"),subject:d.Z_().min(7,"D\xea mais detalhes. No m\xednimo 7 caracteres!").required("Obrigat\xf3rio"),message:d.Z_().min(10,"D\xea mais detalhes. No m\xednimo 10 caracteres!").required("Obrigat\xf3rio")}),p={fullName:"",email:"",subject:"",message:""};s.default=function(){return(0,n.jsx)(i.Fragment,{children:(0,n.jsx)("section",{className:"section ",id:"contact",children:(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(u.Z,{title:"ENTRE EM CONTATO",desc:"N\xf3s apoiamos ideias inovadoras, mas tamb\xe9m estamos totalmente abertos a cr\xedticas e sugest\xf5es!"}),(0,n.jsxs)(l.Z,{children:[(0,n.jsx)(o.Z,{lg:4,children:(0,n.jsxs)("div",{className:"mt-4 pt-4",children:[(0,n.jsxs)("p",{className:"mt-4",children:[(0,n.jsx)("span",{className:"h5",children:"Endere\xe7o:"}),(0,n.jsx)("br",{})," ",(0,n.jsxs)("span",{className:"text-muted d-block mt-2",children:["Rua Timbiras, N\xba 1940 / 1201 ",(0,n.jsx)("br",{}),"Belo Horizonte - MG ",(0,n.jsx)("br",{}),"CEP 30.160-041"]})]}),(0,n.jsxs)("p",{className:"mt-4",children:[(0,n.jsx)("span",{className:"h5",children:"Atendimento Comercial:"}),(0,n.jsx)("br",{})," ",(0,n.jsxs)("span",{className:"text-muted d-block mt-2",children:["Segunda-Feira \xe0 Sexta-Feira ",(0,n.jsx)("br",{}),"9:00hs \xe0s 12:00hs ",(0,n.jsx)("br",{}),"14:00hs \xe0s 18:00hs"]})]})]})}),(0,n.jsx)(o.Z,{lg:8,children:(0,n.jsxs)("div",{className:"custom-form mt-4 pt-4",children:[(0,n.jsx)("div",{id:"message"}),(0,n.jsx)(m.J9,{initialValues:p,validationSchema:j,onSubmit:h(t().mark((function e(s,r){var a,n;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=r.resetForm,n={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)},fetch("https://api.opendfe.com.br/contact/",n).then(h(t().mark((function e(s){var r,n,i,c,l;return t().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=null===(r=s.headers.get("content-type"))||void 0===r?void 0:r.includes("application/json"),e.t0=n,!e.t0){e.next=7;break}return e.next=6,s.json();case 6:e.t0=e.sent;case 7:if(i=e.t0,s.ok){e.next=11;break}return c=i&&i.message||s.status,e.abrupt("return",Promise.reject(c));case 11:alert(null!==(l=i.message)&&void 0!==l?l:"Recebemos sua mensagem!\nEm breve entraremos em contato. Obrigado!"),a();case 14:case"end":return e.stop()}}),e)})))).catch((function(e){alert((null!==e&&void 0!==e?e:"Ops, Algo deu errado!")+"\nTente novamente mais tarde."),console.error("contact-form-error ",e)}));case 3:case"end":return e.stop()}}),e)}))),children:function(e){var s=e.errors,r=e.touched,a=e.isValid,t=e.dirty;return(0,n.jsxs)(m.l0,{children:[(0,n.jsxs)(l.Z,{children:[(0,n.jsx)(o.Z,{lg:6,children:(0,n.jsxs)("div",{className:"mt-2",children:[(0,n.jsx)(m.gN,{required:!0,name:"fullName",id:"fullName",type:"text",className:"form-control "+(s.fullName&&r.fullName?"input-error":""),placeholder:"Seu Nome*"}),(0,n.jsx)(m.Bc,{name:"fullName",component:"span",className:"error"})]})}),(0,n.jsx)(o.Z,{lg:6,children:(0,n.jsxs)("div",{className:"mt-2",children:[(0,n.jsx)(m.gN,{required:!0,name:"email",id:"email",type:"email",className:"form-control "+(s.email&&r.email?"input-error":""),placeholder:"Seu email*"}),(0,n.jsx)(m.Bc,{name:"email",component:"span",className:"error"})]})})]}),(0,n.jsx)(l.Z,{children:(0,n.jsxs)(o.Z,{lg:12,children:[(0,n.jsx)("div",{className:"mt-2",children:(0,n.jsx)(m.gN,{required:!0,name:"subject",type:"text",className:"form-control "+(s.subject&&r.subject?"input-error":""),id:"subject",placeholder:"Assunto..."})}),(0,n.jsx)(m.Bc,{name:"subject",component:"span",className:"error"})]})}),(0,n.jsx)(l.Z,{children:(0,n.jsxs)(o.Z,{lg:12,children:[(0,n.jsx)("div",{className:"mt-2",children:(0,n.jsx)(m.gN,{as:"textarea",
1name:"message",id:"message",rows:"4",className:"form-control "+(s.message&&r.message?"input-error":""),placeholder:"Sua mensagem..."})}),(0,n.jsx)(m.Bc,{name:"message",component:"span",className:"error"})]})}),(0,n.jsx)(l.Z,{children:(0,n.jsxs)(o.Z,{lg:12,className:"text-end",children:[(0,n.jsx)("input",{type:"submit",id:"submit",name:"send",className:"submitBnt btn btn-primary "+(t&&a?"":"disabled-btn"),value:"Enviar"}),(0,n.jsx)("div",{id:"simple-msg"})]})})]})}})]})})]})]})})})}}}]);
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.