"use strict";exports.id=20,exports.ids=[20],exports.modules={95543:(a,e,l)=>{l.a(a,async(a,s)=>{try{l.d(e,{k:()=>v});var t=l(8732),r=l(62069),d=l(16886),u=l(39311),o=l(34806),i=l(36995),n=l(4106),p=l(27363),y=a([u,o]);[u,o]=y.then?(await y)():y;let m=/^([\d]{5})-?([\d]{3})$/,v=({formMethods:a,isDisabled:e})=>{let l=(0,r.useIntl)(),{control:s}=a,y=[{displayValue:"",value:""},...d.M];return(0,t.jsxs)("div",{className:p.Z,children:[t.jsx(o.C,{disabled:e,label:l.formatMessage(n.p.street),name:"address.street",control:s,rules:{required:(0,i.mw)({intl:l,name:"street"})}}),t.jsx(o.C,{disabled:e,label:l.formatMessage(n.p.complement),name:"address.complement",control:s,rules:{maxLength:(0,i.Ru)({intl:l,name:"complement",maxLength:750})}}),t.jsx(u.f,{disabled:e,optionList:y,label:l.formatMessage(n.p.state),name:"state"}),t.jsx(o.C,{disabled:e,label:l.formatMessage(n.p.city),name:"address.city",control:s}),t.jsx(o.C,{disabled:e,label:l.formatMessage(n.p.postalCode),name:"address.postalCode",control:s,rules:{required:(0,i.mw)({intl:l,name:"postalCode"}),maxLength:(0,i.Ru)({intl:l,name:"postalCode",maxLength:50}),pattern:(0,i.T1)({intl:l,name:"postalCode",regex:m})}})]})};s()}catch(a){s(a)}})},60020:(a,e,l)=>{l.a(a,async(a,s)=>{try{l.r(e),l.d(e,{BRAForm:()=>t.k});var t=l(95543),r=a([t]);t=(r.then?(await r)():r)[0],s()}catch(a){s(a)}})},16886:(a,e,l)=>{l.d(e,{M:()=>s});let s=[{displayValue:"Acre",value:"AC"},{displayValue:"Alagoas",value:"AL"},{displayValue:"Amap\xe1",value:"AP"},{displayValue:"Amazonas",value:"AM"},{displayValue:"Bahia",value:"BA"},{displayValue:"Cear\xe1",value:"CE"},{displayValue:"Distrito Federal",value:"DF"},{displayValue:"Esp\xedrito Santo",value:"ES"},{displayValue:"Goi\xe1s",value:"GO"},{displayValue:"Maranh\xe3o",value:"MA"},{displayValue:"Mato Grosso",value:"MT"},{displayValue:"Mato Grosso do Sul",value:"MS"},{displayValue:"Minas Gerais",value:"MG"},{displayValue:"Par\xe1",value:"PA"},{displayValue:"Para\xedba",value:"PB"},{displayValue:"Paran\xe1",value:"PR"},{displayValue:"Pernambuco",value:"PE"},{displayValue:"Piau\xed",value:"PI"},{displayValue:"Rio de Janeiro",value:"RJ"},{displayValue:"Rio Grande do Norte",value:"RN"},{displayValue:"Rio Grande do Sul",value:"RS"},{displayValue:"Rond\xf4nia",value:"RO"},{displayValue:"Roraima",value:"RR"},{displayValue:"Santa Catarina",value:"SC"},{displayValue:"S\xe3o Paulo",value:"SP"},{displayValue:"Sergipe",value:"SE"},{displayValue:"Tocantins",value:"TO"}]},23235:(a,e,l)=>{l.a(a,async(a,s)=>{try{l.d(e,{C:()=>i});var t=l(8732),r=l(95911),d=l(56884),u=l(82015),o=a([r,d]);[r,d]=o.then?(await o)():o;let i=(0,u.forwardRef)(function(a,e){let{label:l,...s}=a,{name:u,control:o,defaultValue:i,disabled:n,rules:p,shouldUnregister:y,id:m,...v}=s,{field:c,formState:{errors:V}}=(0,d.useController)({name:u,control:o,defaultValue:i,disabled:n,rules:p,shouldUnregister:y}),C=(0,r.SV)(c.ref,e),h=u.split(".")[1]??u,x=!!V.address&&Object.prototype.hasOwnProperty.call(V.address,h);return(0,t.jsxs)(r.L9,{children:[t.jsx(r.ks,{label:l,error:x,...v,...c,ref:C}),t.jsx(r.jQ,{errors:V,name:u,id:m})]})});s()}catch(a){s(a)}})},34806:(a,e,l)=>{l.a(a,async(a,s)=>{try{l.d(e,{C:()=>t.C});var t=l(23235),r=a([t]);t=(r.then?(await r)():r)[0],s()}catch(a){s(a)}})}};