1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[22394],{41015:function(n,t,r){r.d(t,{A:function(){return g}});var e=r(74848),o=r(8096),i=r(96540),a=r(1147),l=r(81051),s=function(n){var t=(0,i.useState)({amountChar:!1,numbers:!1}),r=t[0],e=t[1];return(0,i.useEffect)(function(){var t=a.A.atLeastOneNumber.test(n);e({amountChar:(0,l.ec)(6,10).test(n),numbers:t})},[n]),r},u=r(4999),c=r(59218),d=r(24537);function f(){var n=(0,d.A)(["\n list-style: none;\n margin-bottom: 20px;\n font-size: 14px;\n line-height: 20px;\n color: var(--color-neutral-500-later);\n transition: 300ms all ease;\n\n li {\n position: relative;\n padding-left: 18px;\n\n svg {\n display: none;\n }\n\n &::before {\n content: '-';\n width: 18px;\n text-align: center;\n position: absolute;\n left: 0;\n }\n\n &.valid {\n color: ",";\n\n svg {\n display: block;\n position: absolute;\n width: 18px;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n }\n\n &::before {\n content: none;\n }\n }\n }\n"]);return f=function(){return n},n}var p=o.Ay.ul.withConfig({displayName:"styles__Wrapper",componentId:"sc-6bd1c2b1-0"})(f(),function(n){return n.theme.colors.green[1300]}),g=function(n){var t=n.value,r=(0,o.DP)().colors,i=u.P.pages.authentication.signUp.password.passwordChecklist,a=s(t);return(0,e.jsx)(p,{children:Object.keys(a).map(function(n){if(i[n])return(0,e.jsxs)("li",{className:a[n]?"valid":"",children:[(0,e.jsx)(c.h,{name:"CheckLight",dimension:"12",fill:r.green[1200]})," ",i[n]]},n)})})}},4668:function(n,t,r){r.d(t,{A:function(){return S}});var e=r(53455),o=r(40568),i=r(74848),a=r(8969),l=r(96540),s=r(73064),u=r(8096),c=r(59218),d=r(76333),f=r(11695);function p(n){return(0,i.jsx)(f.i,{marginTop:n.marginTop,marginBottom:n.marginBottom,isError:n.isError,disabled:n.disabled,isFocus:n.isFocus,boxSize:n.boxSize,variant:n.variant,children:n.children})}var g=r(24537);function h(){var n=(0,g.A)(["\n width: 100%;\n height: auto;\n"]);return h=function(){return n},n}function m(){var n=(0,g.A)(["\n display: flex;\n flex-direction: column;\n width: 100%;\n margin-top: ",";\n\n .inputWrapper {\n display: flex;\n justify-content: center;
1\n align-items: center;\n position: relative;\n padding: ",";\n height: 100%;\n }\n"]);return m=function(){return n},n}function x(){var n=(0,g.A)(["\n height: 10px;\n padding: 0px 10px;\n padding-left: ",";\n padding-right: ",";\n margin-left: ",";\n margin-right: ",";\n margin-bottom: 5px;\n font-weight: 400;\n font-size: 10px;\n line-height: 10px;\n text-align: ",";\n color: ",";\n"]);return x=function(){return n},n}function v(){var n=(0,g.A)(["\n border: ",";\n outline: none;\n width: 100%;\n height: 100%;\n padding: ",";\n font-family: var(--font-primary-regular);\n font-style: normal;\n font-weight: 400;\n font-size: 14px;\n line-height: 20px;\n text-align: ",";\n background-color: ",";\n\n &:hover {\n transition: 0.6s;\n border-bottom: ",";\n }\n\n &:focus {\n transition: 0.6s;\n border-bottom: ",";\n }\n\n :disabled {\n background-color: var(--color-neutral-200-later);\n color: var(--color-neutral-400);\n\n &::placeholder {\n color: var(--color-neutral-400-later);\n }\n }\n\n &::placeholder {\n color: ",";\n }\n"]);return v=function(){return n},n}function y(){var n=(0,g.A)(["\n display: flex;\n position: ",";\n ",";\n padding: ",";\n font-weight: 600;\n font-size: 14px;\n line-height: 34px;\n color: ",";\n border-right: ",";\n"]);return y=function(){return n},n}function b(){var n=(0,g.A)(["\n right: 0;\n margin-right: 10px;\n\n font-weight: 600;\n font-size: 14px;\n line-height: 34px;\n color: ",";\n\n border-left: ",";\n padding-left: ",";\n"]);return b=function(){return n},n}function C(){var n=(0,g.A)(["\n display: flex;\n align-items: center;\n width: 100%;\n\n .optionalMessage {\n color: var(",");\n line-height: 18px;\n font-size: 12px;\n font-family: var(--font-primary-regular);\n font-style: normal;\n font-weight: 400;\n }\n"]);return C=function(){return n},n}function w(){var n=(0,g.A)(["\n display: flex;\n align-items: center;\n width: 100%;\n\n .leftSide {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n }\n"]);return w=function(){return n},n}function B(){var n=(0,g.A)(["\n color: var(--color-neutral-500-later);\n line-height: 18px;\n font-size: 12px;\n font-family: var(--font-primary-regular);\n font-style: normal;\n font-weight: 400;\n text-align: end;\n flex: 1;\n"]);return B=function(){return n},n}var A=u.Ay.div.withConfig({displayName:"styles__Container",componentId:"sc-379cbd17-0"})(h()),_=u.Ay.div.attrs(function(n){return n}).withConfig({displayName:"styles__ContentContainer",componentId:"sc-379cbd17-1"})(m(),function(n){return n.inputBorderBottom?"5px":"0"},function(n){return n.inputBorderBottom?"0 20px":"0"}),j=u.Ay.label.attrs(function(n){return n}).withConfig({displayName:"styles__InputLabel",componentId:"sc-379cbd17-2"})(x(),function(n){return n.hasLeftIcon||n.isCurrency?"30px":""},function(n){return n.hasRightIcon?"30px":""},function(n){return n.isCurrency?"20px":""},function(n){return n.isGaugeLength?"20px":""},function(n){return n.isGaugeLength?"end":""},function(n){return n.isError?"var(--color-error-300-later)":"var(--color-neutral-500)"}),I=u.Ay.input.attrs(function(n){return n}).withConfig({displayName:"styles__Content",componentId:"sc-379cbd17-3"})(v(),function(n){return n.inputBorderBottom?"1px solid transparent":"none"},function(n){return n.isLeftIcon?"0 10px 5px 30px":"0 10px"},function(n){return n.isGaugeLength?"end":""},function(n){return"default"===n.variant?"":"transparent"},function(n){return n.inputBorderBottom?"1px solid var(--color-neutral-400-later)":"none"},function(n){return n.inputBorderBottom?"1px solid var(--color-neutral-600-later)":"none"},function(n){return n.isError?"var(--color-error-300-later)":"var(--color-neutral-300-later)"}),L=u.Ay.div.attrs(function(n){return n}).withConfig({displayName:"styles__LeftIcon",componentId:"sc-379cbd17-4"})(y(),function(n){return n.inputBorderBottom?"absolute":"static"},function(n){return n.inputBorderBottom?"left: 20px":"margin-left: 10px"},function(n){return n.inputBorderBottom?"0 0 5px 0":"0 12px 0 0"},function(n){return n.hasValue?"var(--color-neutral-700)":"var(--color-neutral-600)"},function(n){return n.isCurrency?"1px solid ".concat(n.isError?"var(--color-error-300-later)":"var(--color-neutral-300-later)"):""}),N=u.Ay.div.attrs(function(n){return n}).withConfig({displayName:"styles__RightIcon",componentId:"sc-379cbd17-5"})(b(),function(n){return n.hasValue?"var(--color-neutral-700)":"var(--color-neutral-600)"},function(n){return n.isGaugeLength?"1px solid ".concat(n.isError?"var(--color-error-300-later)":"var(--color-neutral-300-later)"):"none"},function(n){return n.isGaugeLength?"12px":""}),E=u.Ay.div.attrs(function(n){return n}).withConfig({displayName:"styles__BottomText",componentId:"sc-379cbd17-6"})(C(),function(n){return n.bottomTextColor||"--color-neutral-500-later"}),k=u.Ay.div.withConfig({displayName:"styles__BottomInput",componentId:"sc-379cbd17-7"})(w()),z=u.Ay.div.withConfig({displayName:"styles__CountWord",componentId:"sc-379cbd17-8"})(B()),S=function(n){var t=n.placeholder,r=n.persistPlaceholder,f=n.name,g=n.onChange,h=n.boxSize,m=n.variant,x=void 0===m?"default":m,v=n.marginTop,y=n.marginBottom,b=n.maxLength,C=n.value,w=n.disabled,B=n.rightIcon,S=n.leftIcon,M=n.optionalMe
1ssage,T=n.wordCount,G=n.isError,F=void 0!==G&&G,R=n.touched,V=n.type,W=n.inputBorderBottom,P=n.bottomTextColor,D=n.className,O=n.inputRef,U=(0,e.A)(n,["placeholder","persistPlaceholder","name","onChange","boxSize","variant","marginTop","marginBottom","maxLength","value","disabled","rightIcon","leftIcon","optionalMessage","wordCount","isError","touched","type","inputBorderBottom","bottomTextColor","className","inputRef"]),Y=(0,o.A)((0,s.Mt)(f),3),$=Y[1],q=Y[2],H=(0,l.useState)(!1),J=H[0],K=H[1],Q=(0,l.useState)("password"),X=Q[0],Z=Q[1],nn=(0,u.DP)().colors,nt=(0,l.useState)((0,i.jsx)(c.h,{name:"EyeLight",dimension:"18",fill:nn.neutral[500]})),nr=nt[0],ne=nt[1],no=void 0!==$.error,ni=$.error,na="password"===V,nl="currency"===V||"currencyDecimal"===V,ns="gaugeLength"===V,nu=(0,a.A)({value:$.value||C||"",mask:V}),nc=function(n){var t=n.target.value,r=q.setValue;if(g){var e=(0,a.A)({value:t,mask:V});return n.target.value=e,r(t),g(n)}},nd=function(){na&&("password"===X?(Z("text"),ne((0,i.jsx)(c.h,{name:"EyeSlashLight",dimension:"18",fill:nn.primary[500]}))):(Z("password"),ne((0,i.jsx)(c.h,{name:"EyeLight",dimension:"18",fill:nn.neutral[500]}))))},nf=function(){K(!0)},np=function(n){U.onBlur&&U.onBlur(n),K(!1)};return(0,l.useEffect)(function(){(0,q.setValue)(C)},[C]),(0,i.jsxs)(A,{className:D,children:[(0,i.jsx)(p,{marginTop:v,marginBottom:y,isError:F,disabled:w,isFocus:J,boxSize:void 0===h?"default":h,variant:x,children:(0,i.jsxs)(_,{inputBorderBottom:W,children:[void 0!==r&&r&&C?(0,i.jsx)(j,{hasLeftIcon:!!S,hasRightIcon:!!B,isError:F,isCurrency:nl,isGaugeLength:ns,children:t}):null,(0,i.jsxs)("label",{className:"inputWrapper","aria-label":t,children:[(S||nl)&&(0,i.jsx)(L,{inputBorderBottom:W,isError:F,isCurrency:nl,hasValue:!!C,children:nl?"R$":S}),(0,i.jsx)(I,{ref:O,type:na?X:V,variant:x,isError:F,isLeftIcon:!!S,isGaugeLength:ns,disabled:w,placeholder:t,onChange:nc,onFocus:nf,onBlur:np,name:f,value:nu,maxLength:b,autoComplete:null==U?void 0:U.autoComplete,inputBorderBottom:W,autoFocus:null==U?void 0:U.autoFocus}),(B||na)&&(0,i.jsx)(N,{isError:F,isGaugeLength:"gaugeLength"===V,hasValue:!!C,onClick:nd,children:na?nr:B})]})]})}),(0,i.jsxs)(k,{children:[no&&R&&(0,i.jsx)(d.A,{errorMessage:ni}),M&&!no&&C&&(0,i.jsx)(E,{bottomTextColor:void 0===P?"--color-neutral-500-later":P,children:M&&(0,i.jsx)("div",{className:"optionalMessage",children:M})}),T&&(0,i.jsxs)(z,{children:[T,"/",b]})]})]})}},76333:function(n,t,r){r.d(t,{A:function(){return u}});var e=r(74848),o=r(13749),i=r(24537),a=r(8096);function l(){var n=(0,i.A)(["\n display: flex;\n align-items: center;\n width: 100%;\n height: 15px;\n margin-top: 5px;\n margin-left: 2px;\n\n .textMessage {\n margin-left: 6.5px;\n font-weight: 400;\n font-size: 10px;\n line-height: 15px;\n color: var(--color-error-300);\n }\n"]);return l=function(){return n},n}var s=a.Ay.div.withConfig({displayName:"styles__WarningMessage",componentId:"sc-22ab8bc2-0"})(l()),u=function(n){var t=n.errorMessage;return(0,e.jsxs)(s,{children:[(0,e.jsx)(o.A,{name:"WarningCircle",dimension:"12"}),(0,e.jsx)("div",{className:"textMessage",children:t})]})}}}]);
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.