1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2615],{1901:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/personal-data",function(){return t(161)}])},8654:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var a=t(5893),r=t(4184),l=t.n(r),i=t(5697),o=t.n(i),s=t(5927),u=t.n(s),p=function(e){var n=e.inputRef,t=e.id,r=e.label,i=e.name,o=e.containerStyle,s=e.checkboxStyle,p=e.disabled,c=e.onChange,d=e.checked,b=e.title;return(0,a.jsx)("div",{className:l()(u().checkboxContainer,o),children:(0,a.jsxs)("label",{className:u().checkboxLabel,children:[(0,a.jsx)("input",{type:"checkbox",ref:n,id:t,name:i,disabled:p,onChange:c,checked:d,title:b,className:l()(u().checkboxInput,s)}),r]})})};p.propTypes={checkboxStyle:o().string,checked:o().bool.isRequired,containerStyle:o().string,disabled:o().bool,id:o().string.isRequired,inputRef:o().shape({}),label:o().string.isRequired,name:o().string.isRequired,onChange:o().func.isRequired,title:o().string},p.defaultProps={containerStyle:null,checkboxStyle:null,disabled:!1,inputRef:null,title:null};var c=p},2586:function(e,n,t){"use strict";t.d(n,{Z:function(){return b}});var a=t(5893),r=t(4184),l=t.n(r),i=t(5697),o=t.n(i),s=t(6747),u=t.n(s),p=t(5643),c=t.n(p),d=function(e){var n=e.title,t=e.buttonStyle,r=e.onClick,i=e.type,o=e.disabled,s=e.loading;return(0,a.jsx)("button",{className:l()(c().formButton,t),onClick:r,type:i,disabled:o||s,children:s?(0,a.jsx)(u(),{}):n})};d.propTypes={buttonStyle:o().string,disabled:o().bool,loading:o().bool,onClick:o().func,title:o().string.isRequired,type:o().oneOf(["button","submit"])},d.defaultProps={buttonStyle:null,type:"button",disabled:!1,loading:!1,onClick:null};var b=d},5843:function(e,n,t){"use strict";t.d(n,{Z:function(){return b}});var a=t(4924),r=t(6042),l=t(5893),i=t(4184),o=t.n(i),s=t(5697),u=t.n(s),p=t(8050),c=t.n(p),d=function(e){var n=e.inputRef,t=e.id,i=e.label,s=e.name,u=e.type,p=e.placeholder,d=e.value,b=e.min,m=e.invalid,g=e.invalidMessage,f=e.containerStyle,h=e.inputStyle,_=e.disabled,x=e.maxLength,C=e.required,k=e.autoComplete,R=e.onChange,y=e.onConfirm,F=e.pattern,v=e.title,D=function(e){var n=e.target,t=n.value;R(n.name,t)},j=function(e){"Enter"===e.key&&y&&y()};return(0,l.jsxs)("div",{className:o()(c().inputContainer,f),children:[i&&(0,l.jsxs)("label",{className:o()(c().inputLabel,(0,a.Z)({},c().inputLabelFilled,!!d)),htmlFor:t,children:[i,C&&(0,l.jsx)("span",{children:"*"})]}),(0,l.jsx)("div",{className:c().inputWrapper,children:(0,l.jsx)("input",(0,r.Z)({ref:n,className:o()(c().input,h),id:t,name:s,type:u,placeholder:i?null:p,value:d,min:b,onChange:D,onKeyPress:j,disabled:_,maxLength:x,autoComplete:k,pattern:F,title:v},C?{required:!0}:null))}),m&&(0,l.jsx)("span",{className:c().inputInvalidMessage,children:g})]})};d.propTypes={autoComplete:u().oneOf(["on","off"]),containerStyle:u().string,disabled:u().bool,id:u().string.isRequired,inputRef:u().shape({}),inputStyle:u().string,invalid:u().bool,invalidMessage:u().string,label:u().string,maxLength:u().number,min:u().string,name:u().string.isRequired,onChange:u().func.isRequired,onConfirm:u().func,pattern:u().string,placeholder:u().string,required:u().bool,title:u().string,type:u().oneOf(["text","search","email","tel"]),value:u().oneOfType([u().string,u().number]).isRequired},d.defaultProps={inputRef:null,type:"text",label:null,placeholder:null,min:null,invalid:!1,invalidMessage:null,containerStyle:null,inputStyle:null,disabled:!1,maxLength:null,required:!1,autoComplete:"off",onConfirm:null,pattern:null,title:null};var b=d},161:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return R},default:function(){return y}});var a=t(5893),r=t(5697),l=t.n(r),i=t(947),o=t(4924),s=t(6042),u=t(9396),p=t(2556),c=t(7294),d=t(2920),b=t(8657),m=t(5705),g=t(8654),f=t(2586),h=t(5843),_=t(8924),x=t.n(_),C=function(e){var n=e.locale,t=e.lgpdRights,r=(0,p.QT)(),l={subject:"LGPD",name:"",email:"",rights:t.reduce(function(e,n){return(0,u.Z)((0,s.Z)({},e),(0,o.Z)({},n.label,!1))},{})},i=(0,c.useState)(l),b=i[0],_=i[1],C=(0,c.useState)(!1),k=C[0],R=C[1],y=function(e,n){var t=null;t=(0,o.Z)({},e,n),_((0,s.Z)({},b,t))},F=function(e){R(!0),(0,m.sF)(n,b).then(function(e){e?d.Am.success(r.t("forms.emailSuccess"),{position:"top-right",theme:"light",autoClose:3500,transition:d.Mi,onClose:v}):d.Am.error(r.t("forms.emailError"),{position:"top-right",theme:"light",autoClose:3500,transition:d.Mi,onClose:function(){return R(!1)}})}),e.preventDefault()},v=function(){_(l),R(!1)};return(0,a.jsxs)("div",{className:x().personalDataFormContainer,children:[(0,a.jsx)("h1",{className:x().personalDataFormTitle,children:r.t("forms.personalData.title")}),(0,a.jsxs)("form",{onSubmit:F,className:x().personalDataForm,children:[(0,a.jsx)(h.Z,{onChange:y,value:b.name,id:"name",name:"name",label:r.t("forms.name"),inputStyle:x().personalDataFormInput,containerStyle:x().personalDataFormInputContainer,disabled:k,required:!0}),(0,a.jsx)(h.Z,{onChange:y,value:b.email,id:"email",name:"email",type:"email",label:r.t("forms.email"),inputStyle:x().personalDataFormInput,containerStyle:x().personalDataFormInputContainer,pattern:"[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$",title:r.t("forms.emailTitle"),disabled:k,required:!0}),(0,a.jsxs)("div",{className:x().personalDataFormCheckboxGroupContainer,children:[(0,a.jsx)("p",{children:r.t("forms.personalData.lgpdDefinition")}),t.map(function(e){return(0,a.jsx)(g.Z,{onChange:function(){return y("rights",(0,u.Z)((0,s.Z)({},b.rights),(0,o.Z)({},e.label,!b.rights[e.label])))},checked:b.rights[e.label],id:e.label.toLowerCase(),name:e.label.toLowerCase(),label:e.label,disabled:k},e.label)}),(0,a.jsx)("p",{children:r.t("forms.personalData.emailInfo")})]}),(0,a.jsx)("p",{className:x().personalDataFormLegend,children:r.t("forms.legend")}),(0,a.jsx)(f.Z,{title:r.t("forms.send"),buttonStyle:x().personalDataFormButton,loading:k,type:"submit"})]})]})};C.propTypes={lgpdRights:b.PH.isRequired,locale:l().string.isRequired};var k=function(e){var n=e.locale,t=e.userConsent,r=e.generalInfo,l=e.productGroups,o=e.lgpdRights;return(0,a.jsx)(i.Z,{userConsent:t,generalInfo:r,productGroups:l,n
1avbarDarkContent:!0,children:(0,a.jsx)("section",{children:(0,a.jsx)(C,{locale:n,lgpdRights:o})})})};k.propTypes={generalInfo:b.lW.isRequired,lgpdRights:b.PH.isRequired,locale:l().string.isRequired,productGroups:b.ks.isRequired,userConsent:b.jj.isRequired};var R=!0,y=k},5927:function(e){e.exports={checkboxContainer:"Checkbox_checkboxContainer__RNxPR",checkboxLabel:"Checkbox_checkboxLabel__J6_te",checkboxInput:"Checkbox_checkboxInput__tJGVf"}},5643:function(e){e.exports={transparent:"rgba(0,0,0,0)",white:"#fff",black:"#000",gray:"#999",whiteTransparentRgba:"rgba(255,255,255,0)",whiteRgba:"rgba(255,255,255,.999)",blackTransparentRgba:"rgba(0,0,0,0)",blackRgba:"rgba(0,0,0,.999)",formButton:"FormButton_formButton__aoSi8"}},8050:function(e){e.exports={transparent:"rgba(0,0,0,0)",white:"#fff",black:"#000",gray:"#999",whiteTransparentRgba:"rgba(255,255,255,0)",whiteRgba:"rgba(255,255,255,.999)",blackTransparentRgba:"rgba(0,0,0,0)",blackRgba:"rgba(0,0,0,.999)",input:"Input_input__lvORT",inputContainer:"Input_inputContainer__hBXjM",inputLabel:"Input_inputLabel__FfF50",inputLabelFilled:"Input_inputLabelFilled__foos_",inputWrapper:"Input_inputWrapper__zlvpU"}},8924:function(e){e.exports={transparent:"rgba(0,0,0,0)",white:"#fff",black:"#000",gray:"#999",whiteTransparentRgba:"rgba(255,255,255,0)",whiteRgba:"rgba(255,255,255,.999)",blackTransparentRgba:"rgba(0,0,0,0)",blackRgba:"rgba(0,0,0,.999)",personalDataFormContainer:"PersonalDataForm_personalDataFormContainer__cyaBJ",personalDataFormTitle:"PersonalDataForm_personalDataFormTitle__uC0r5",personalDataFormInput:"PersonalDataForm_personalDataFormInput___4esg",personalDataFormInputContainer:"PersonalDataForm_personalDataFormInputContainer__IktZA",personalDataFormCheckboxGroupContainer:"PersonalDataForm_personalDataFormCheckboxGroupContainer____iX9",personalDataFormLegend:"PersonalDataForm_personalDataFormLegend__XjQIZ",personalDataFormButton:"PersonalDataForm_personalDataFormButton__lzRH_"}}},function(e){e.O(0,[9866,2609,3848,6747,2729,5705,9774,2888,179],function(){return e(e.s=1901)}),_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.