1"use strict";(self.webpackChunkcorporate_prototype=self.webpackChunkcorporate_prototype||[]).push([[3291],{8860:(e,s,a)=>{a.d(s,{A:()=>d});a(9950);var n=a(97937),t=a(68459),i=a(45358),c=a(94615),r=a(86781),l=a(70030),o=a(44414);const d=function(e){let{duplicateItem:s,show:a,onHide:d}=e;const{t:m}=(0,l.B)();return(0,o.jsxs)(c.A,{show:a,onHide:d,children:[(0,o.jsx)(c.A.Header,{closeButton:!0}),(0,o.jsx)(c.A.Body,{children:(0,o.jsxs)(i.A,{className:"trial-modal-container",children:[(0,o.jsx)(r.A,{children:(0,o.jsxs)(t.A,{className:"subtitle-goepik",children:[`${m(s?"trial_alreadyRegisteredMsg":"trial_errorMsg")}`," ",(0,o.jsx)("span",{className:"text-highlight",children:m(s)})," ","!"]})}),(0,o.jsx)(r.A,{className:"justify-content-md-center",children:(0,o.jsx)(t.A,{md:6,xs:6,children:(0,o.jsx)(n.A,{variant:"primary",onClick:d,children:m("common_close")})})})]})})]})}},24615:(e,s,a)=>{a.d(s,{A:()=>n});const n=a(60552).J1` 2mutation ClientCreate($data: ClientInput!) { 3 clientCreate(data: $data) { 4 name 5 } 6} 7`},50245:(e,s,a)=>{a.d(s,{A:()=>p});a(9950);var n=a(45358),t=a(86781),i=a(68459),c=a(51960),r=a(15419),l=a(97937),o=a(70030),d=a(44414);const m=function(e){let{onSubmit:s,validated:a,onChangeValue:c}=e;const{t:m}=(0,o.B)();return(0,d.jsx)(n.A,{className:"trial-form-container",children:(0,d.jsxs)(r.A,{noValidate:!0,validated:a,onSubmit:s,children:[(0,d.jsxs)(r.A.Group,{className:"mb-5",children:[(0,d.jsx)(r.A.Label,{className:"titletrial required",children:m("trial_labelCompanyName")}),(0,d.jsx)(r.A.Control,{type:"text",name:"name",placeholder:m("common_input_field"),required:!0,onChange:c}),(0,d.jsx)(r.A.Control.Feedback,{type:"invalid",children:m("common_field_required")})]}),(0,d.jsx)(n.A,{children:(0,d.jsx)(t.A,{className:"justify-content-center",children:(0,d.jsx)(i.A,{md:"auto",children:(0,d.jsx)(l.A,{variant:"primary",type:"submit",children:m("trial_createAccount")})})})})]})})};const h=function(e){let{children:s}=e;return(0,d.jsx)("span",{className:"primary-color",children:s})};const x=a.p+"static/media/mobile01.1b370f1bd580485122bcea60a614e895.svg";const u=a.p+"static/media/mobile02.220aaf27c437ea10b69026a152bcf4ce.svg";const j=a.p+"static/media/mobile03.8c9138e25393f9c93e1733411d410db7.svg";var A=a(70079);const p=function(e){let{onSubmit:s,validated:a,onChangeValue:r,onChangeMaskedValue:l,formValue:o}=e;const p=(0,A.A)();return(0,d.jsx)("div",{className:"trial-container",children:(0,d.jsx)(n.A,{className:"trial-content "+(p&&p.xs?"mobile":"webView"),children:(0,d.jsxs)(t.A,{className:""+(p&&p.xs?"mobile":"webView"),children:[(0,d.jsx)(i.A,{md:"6",xs:"12",className:"trial-description-wrapper",children:(0,d.jsxs)(n.A,{className:"trial-description-container",children:[(0,d.jsx)(t.A,{className:"titleDescription",children:(0,d.jsx)(i.A,{children:"GERE IMPACTO E OBTENHA RESULTADOS"})}),(0,d.jsxs)(t.A,{children:[(0,d.jsx)(i.A,{md:"2",xs:"2",children:(0,d.jsx)(c.A,{src:x})}),(0,d.jsxs)(i.A,{className:"descriptionText",xs:"10",children:[(0,d.jsx)(h,{children:"Digitalize"}),"\xa0e\xa0",(0,d.jsx)(h,{children:"automatize"}),"\xa0seus processos."]})]}),(0,d.jsxs)(t.A,{children:[(0,d.jsx)(i.A,{md:"2",xs:"2",children:(0,d.jsx)(c.A,{src:u})}),(0,d.jsxs)(i.A,{className:"descriptionText",children:["Crie e\xa0",(0,d.jsx)(h,{children:"execute"}),"\xa0 checklist para coleta de dados em diversas \xe1reas."]})]}),(0,d.jsxs)(t.A,{children:[(0,d.jsx)(i.A,{md:"2",xs:"2",children:(0,d.jsx)(c.A,{src:j})}),(0,d.jsxs)(i.A,{className:"descriptionText",children:["Execute suas atividades em \xa0",(0,d.jsx)(h,{children:"diferentes dispositivos"}),"\xa0 recebendo \xa0",(0,d.jsx)(h,{children:"notifica\xe7\xf5es"}),"\xa0 em \xa0",(0,d.jsx)(h,{children:"tempo real."})]})]})]})}),(0,d.jsx)(i.A,{md:{span:5,offset:1},xs:"12",className:"trial-form-wrapper",children:(0,d.jsx)(m,{onSubmit:s,validated:a,onChangeValue:r,onChangeMaskedValue:l,formValue:o})})]})})})}},61224:(e,s,a)=>{a.d(s,{A:()=>x});a(9950);var n=a(94615),t=a(45358),i=a(86781),c=a(68459),r=a(51960),l=a(97937),o=a(70030);const d=a.p+"static/media/success.7895ab5d7af799cfe5add5ec4db3aa50.svg";var m=a(16673),h=a(44414);const x=function(e){let{name:s,email:a,show:x,onHide:u}=e;const{t:j}=(0,o.B)(),A=(0,m.useHistory)();return(0,h.jsxs)(n.A,{show:x,onHide:u,children:[(0,h.jsx)(n.A.Header,{closeButton:!0}),(0,h.jsx)(n.A.Body,{children:(0,h.jsxs)(t.A,{className:"trial-modal-container",children:[(0,h.jsx)(i.A,{children:(0,h.jsx)(c.A,{className:"subtitle-goepik",children:`${j("common_congratulations").toUpperCase()} ${s.toUpperCase()} !`})}),(0,h.jsxs)(i.A,{children:[(0,h.jsxs)(c.A,{md:"auto",children:[`${j("trial_createEmailSuccess01")}`," ",(0,h.jsx)("span",{className:"text-highlight",children:`\u201c${a}\u201d`})," ",j("trial_createEmailSuccess02")]}),(0,h.jsx)(c.A,{md:"auto",children:(0,h.jsx)("b",{children:j("trial_letsTogetherMsg")})})]}),(0,h.jsx)(i.A,{children:(0,h.jsx)(c.A,{children:(0,h.jsx)("i",{children:"*lembrando de deslogar e logar pra incluir o novo cliente na troca"})})}),(0,h.jsx)(i.A,{className:"justify-content-md-center img-row",children:(0,h.jsx)(c.A,{md:"auto",xs:"auto",children:(0,h.jsx)(r.A,{src:d})})}),(0,h.jsx)(i.A,{className:"justify-content-md-center",children:(0,h.jsx)(c.A,{md:6,xs:6,children:(0,h.jsx)(l.A,{variant:"primary",className:"block",onClick:()=>
7A.push("/"),children:j("trial_letsTogetherLabel")})})})]})})]})}},93291:(e,s,a)=>{a.a(e,async(e,n)=>{try{a.r(s),a.d(s,{default:()=>g});var t=a(9950),i=a(37740),c=a(55117),r=a.n(c),l=a(24615),o=a(6951),d=a(50245),m=a(61224),h=a(8860),x=a(53406),u=a(44414),j=e([o,x]);function p(){const{user:e}=(0,x.U)(),[s]=(0,i.n)(l.A),[a,n]=(0,t.useState)(!1),[c,j]=(0,t.useState)({name:""}),[A,p]=(0,t.useState)(!1),[g,b]=(0,t.useState)(!1),[f,v]=(0,t.useState)("");return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(d.A,{onSubmit:e=>{e.preventDefault();const a=r()(c);n(!0),(0,o.l)(e.target)&&s({variables:{data:a}}).then(()=>{p(!0)}).catch(e=>{b(!0),e.graphQLErrors.forEach(e=>{const s=e.message.message;null!==s&&void 0!==s&&s.includes(["already"])&&(null!==s&&void 0!==s&&s.includes("e-mail")&&v("common_email"),null!==s&&void 0!==s&&s.includes("Phone")&&v("common_phone"),null!==s&&void 0!==s&&s.includes("name")&&v("common_name"))})})},validated:a,onChangeValue:e=>{const s=r()(c);s[e.target.name]=e.target.value,j(s)},onChangeMaskedValue:e=>s=>{const a=r()(c);a[e]=s,j(a)},formValue:c}),(0,u.jsx)(m.A,{name:c.name,email:e.data.email,show:A,onHide:()=>p(!A)}),(0,u.jsx)(h.A,{duplicateItem:f,show:g,onHide:()=>{b(!1),v("")}})]})}[o,x]=j.then?(await j)():j;const g=p;n()}catch(A){n(A)}})}}]);
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.