@s_mart/telas-de-acesso 1.1.6 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -61,9 +61,13 @@ interface TelaCadastroProps extends Omit<TemplateTelaBaseProps, 'children'> {
61
61
  * <TelaCadastro linkTermosDeUso="https://www.google.com" />
62
62
  */
63
63
  linkTermosDeUso?: string;
64
+ /**
65
+ * Campo nome do que irá ser exibido no formulário
66
+ */
67
+ mostrarNomeUsuario?: boolean;
64
68
  }
65
69
 
66
- declare function TelaCadastro({ logo, nomeSistema, onSubmit, linkTermosDeUso, email, ...rest }: TelaCadastroProps): JSX.Element;
70
+ declare function TelaCadastro({ logo, nomeSistema, onSubmit, linkTermosDeUso, email, mostrarNomeUsuario, ...rest }: TelaCadastroProps): JSX.Element;
67
71
 
68
72
  interface TelaLoginFormValues {
69
73
  email: string;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var M3=Object.create;var Q=Object.defineProperty,m3=Object.defineProperties,g3=Object.getOwnPropertyDescriptor,Z3=Object.getOwnPropertyDescriptors,v3=Object.getOwnPropertyNames,a2=Object.getOwnPropertySymbols,h3=Object.getPrototypeOf,k2=Object.prototype.hasOwnProperty,W2=Object.prototype.propertyIsEnumerable;var z2=(C,e,r)=>e in C?Q(C,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):C[e]=r,x=(C,e)=>{for(var r in e||(e={}))k2.call(e,r)&&z2(C,r,e[r]);if(a2)for(var r of a2(e))W2.call(e,r)&&z2(C,r,e[r]);return C},S=(C,e)=>m3(C,Z3(e));var E=(C,e)=>{var r={};for(var a in C)k2.call(C,a)&&e.indexOf(a)<0&&(r[a]=C[a]);if(C!=null&&a2)for(var a of a2(C))e.indexOf(a)<0&&W2.call(C,a)&&(r[a]=C[a]);return r};var o2=(C,e)=>()=>(e||C((e={exports:{}}).exports,e),e.exports),y3=(C,e)=>{for(var r in e)Q(C,r,{get:e[r],enumerable:!0})},j2=(C,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of v3(e))!k2.call(C,n)&&n!==r&&Q(C,n,{get:()=>e[n],enumerable:!(a=g3(e,n))||a.enumerable});return C};var w=(C,e,r)=>(r=C!=null?M3(h3(C)):{},j2(e||!C||!C.__esModule?Q(r,"default",{value:C,enumerable:!0}):r,C)),x3=C=>j2(Q({},"__esModule",{value:!0}),C);var l1=o2(l=>{"use strict";var p=typeof Symbol=="function"&&Symbol.for,P2=p?Symbol.for("react.element"):60103,$2=p?Symbol.for("react.portal"):60106,u2=p?Symbol.for("react.fragment"):60107,V2=p?Symbol.for("react.strict_mode"):60108,p2=p?Symbol.for("react.profiler"):60114,f2=p?Symbol.for("react.provider"):60109,M2=p?Symbol.for("react.context"):60110,A2=p?Symbol.for("react.async_mode"):60111,m2=p?Symbol.for("react.concurrent_mode"):60111,g2=p?Symbol.for("react.forward_ref"):60112,Z2=p?Symbol.for("react.suspense"):60113,z3=p?Symbol.for("react.suspense_list"):60120,v2=p?Symbol.for("react.memo"):60115,h2=p?Symbol.for("react.lazy"):60116,W3=p?Symbol.for("react.block"):60121,j3=p?Symbol.for("react.fundamental"):60117,U3=p?Symbol.for("react.responder"):60118,Y3=p?Symbol.for("react.scope"):60119;function b(C){if(typeof C=="object"&&C!==null){var e=C.$$typeof;switch(e){case P2:switch(C=C.type,C){case A2:case m2:case u2:case p2:case V2:case Z2:return C;default:switch(C=C&&C.$$typeof,C){case M2:case g2:case h2:case v2:case f2:return C;default:return e}}case $2:return e}}}function s1(C){return b(C)===m2}l.AsyncMode=A2;l.ConcurrentMode=m2;l.ContextConsumer=M2;l.ContextProvider=f2;l.Element=P2;l.ForwardRef=g2;l.Fragment=u2;l.Lazy=h2;l.Memo=v2;l.Portal=$2;l.Profiler=p2;l.StrictMode=V2;l.Suspense=Z2;l.isAsyncMode=function(C){return s1(C)||b(C)===A2};l.isConcurrentMode=s1;l.isContextConsumer=function(C){return b(C)===M2};l.isContextProvider=function(C){return b(C)===f2};l.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===P2};l.isForwardRef=function(C){return b(C)===g2};l.isFragment=function(C){return b(C)===u2};l.isLazy=function(C){return b(C)===h2};l.isMemo=function(C){return b(C)===v2};l.isPortal=function(C){return b(C)===$2};l.isProfiler=function(C){return b(C)===p2};l.isStrictMode=function(C){return b(C)===V2};l.isSuspense=function(C){return b(C)===Z2};l.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===u2||C===m2||C===p2||C===V2||C===Z2||C===z3||typeof C=="object"&&C!==null&&(C.$$typeof===h2||C.$$typeof===v2||C.$$typeof===f2||C.$$typeof===M2||C.$$typeof===g2||C.$$typeof===j3||C.$$typeof===U3||C.$$typeof===Y3||C.$$typeof===W3)};l.typeOf=b});var L1=o2(L=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var C=typeof Symbol=="function"&&Symbol.for,e=C?Symbol.for("react.element"):60103,r=C?Symbol.for("react.portal"):60106,a=C?Symbol.for("react.fragment"):60107,n=C?Symbol.for("react.strict_mode"):60108,s=C?Symbol.for("react.profiler"):60114,u=C?Symbol.for("react.provider"):60109,c=C?Symbol.for("react.context"):60110,M=C?Symbol.for("react.async_mode"):60111,v=C?Symbol.for("react.concurrent_mode"):60111,m=C?Symbol.for("react.forward_ref"):60112,P=C?Symbol.for("react.suspense"):60113,X=C?Symbol.for("react.suspense_list"):60120,h=C?Symbol.for("react.memo"):60115,A=C?Symbol.for("react.lazy"):60116,r2=C?Symbol.for("react.block"):60121,i2=C?Symbol.for("react.fundamental"):60117,n2=C?Symbol.for("react.responder"):60118,W1=C?Symbol.for("react.scope"):60119;function j1(t){return typeof t=="string"||typeof t=="function"||t===a||t===v||t===s||t===n||t===P||t===X||typeof t=="object"&&t!==null&&(t.$$typeof===A||t.$$typeof===h||t.$$typeof===u||t.$$typeof===c||t.$$typeof===m||t.$$typeof===i2||t.$$typeof===n2||t.$$typeof===W1||t.$$typeof===r2)}function y(t){if(typeof t=="object"&&t!==null){var T2=t.$$typeof;switch(T2){case e:var t2=t.type;switch(t2){case M:case v:case a:case s:case n:case P:return t2;default:var q2=t2&&t2.$$typeof;switch(q2){case c:case m:case A:case h:case u:return q2;default:return T2}}case r:return T2}}}var U1=M,Y1=v,X1=c,K1=u,G1=e,Q1=m,J1=a,C3=A,e3=h,r3=r,i3=s,n3=n,t3=P,N2=!1;function a3(t){return N2||(N2=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),_2(t)||y(t)===M}function _2(t){return y(t)===v}function o3(t){return y(t)===c}function s3(t){return y(t)===u}function l3(t){return typeof t=="object"&&t!==null&&t.$$typeof===e}function L3(t){return y(t)===m}function d3(t){return y(t)===a}function c3(t){return y(t)===A}function H3(t){return y(t)===h}function u3(t){return y(t)===r}function V3(t){return y(t)===s}function p3(t){return y(t)===n}function f3(t){return y(t)===P}L.AsyncMode=U1,L.ConcurrentMode=Y1,L.ContextConsumer=X1,L.ContextProvider=K1,L.Element=G1,L.ForwardRef=Q1,L.Fragment=J1,L.Lazy=C3,L.Memo=e3,L.Portal=r3,L.Profiler=i3,L.StrictMode=n3,L.Suspense=t3,L.isAsyncMode=a3,L.isConcurrentMode=_2,L.isContextConsumer=o3,L.isContextProvider=s3,L.isElement=l3,L.isForwardRef=L3,L.isFragment=d3,L.isLazy=c3,L.isMemo=H3,L.isPortal=u3,L.isProfiler=V3,L.isStrictMode=p3,L.isSuspense=f3,L.isValidElementType=j1,L.typeOf=y}()});var d1=o2((P5,B2)=>{"use strict";process.env.NODE_ENV==="production"?B2.exports=l1():B2.exports=L1()});var M1=o2(($5,f1)=>{"use strict";var O2=d1(),X3={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},K3={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},G3={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},R2={};R2[O2.ForwardRef]=G3;R2[O2.Memo]=V1;function c1(C){return O2.isMemo(C)?V1:R2[C.$$typeof]||X3}var Q3=Object.defineProperty,J3=Object.getOwnPropertyNames,H1=Object.getOwnPropertySymbols,C5=Object.getOwnPropertyDescriptor,e5=Object.getPrototypeOf,u1=Object.prototype;function p1(C,e,r){if(typeof e!="string"){if(u1){var a=e5(e);a&&a!==u1&&p1(C,a,r)}var n=J3(e);H1&&(n=n.concat(H1(e)));for(var s=c1(C),u=c1(e),c=0;c<n.length;++c){var M=n[c];if(!K3[M]&&!(r&&r[M])&&!(u&&u[M])&&!(s&&s[M])){var v=C5(e,M);try{Q3(C,M,v)}catch(m){}}}}return C}f1.exports=p1});var a5={};y3(a5,{TelaCadastro:()=>o1,TelaConviteExpirado:()=>T1,TelaEsqueceuSenha:()=>z1,TelaInstrucoesEnviadas:()=>$1,TelaLogin:()=>S1,TelaNovaSenha:()=>I1,TemplateTelaBase:()=>Z});module.exports=x3(a5);var l2=require("@s_mart/core"),Q2=require("@s_mart/masks");var F={description:"M37.4802 11.2595L18.4955 30.6836L11.5198 23.5465C11.1816 23.2004 10.6333 23.2004 10.295 23.5465L8.25365 25.635C7.91545 25.9811 7.91545 26.5421 8.25365 26.8882L17.8831 36.7405C18.2213 37.0865 18.7696 37.0865 19.1079 36.7405L40.7463 14.6013C41.0845 14.2553 41.0845 13.6942 40.7463 13.3481L38.705 11.2595C38.3668 10.9135 37.8184 10.9135 37.4802 11.2595Z",viewBox:"0 0 48 48",id:"line-check-regular"};var s2={description:"M35.2071 12.65C32.2143 9.65 28.2286 8 23.9929 8C15.25 8 8.13571 15.1143 8.13571 23.8571C8.13571 26.65 8.86429 29.3786 10.25 31.7857L8 40L16.4071 37.7929C18.7214 39.0571 21.3286 39.7214 23.9857 39.7214H23.9929C32.7286 39.7214 40 32.6071 40 23.8643C40 19.6286 38.2 15.65 35.2071 12.65ZM23.9929 37.05C21.6214 37.05 19.3 36.4143 17.2786 35.2143L16.8 34.9286L11.8143 36.2357L13.1429 31.3714L12.8286 30.8714C11.5071 28.7714 10.8143 26.35 10.8143 23.8571C10.8143 16.5929 16.7286 10.6786 24 10.6786C27.5214 10.6786 30.8286 12.05 33.3143 14.5429C35.8 17.0357 37.3286 20.3429 37.3214 23.8643C37.3214 31.1357 31.2571 37.05 23.9929 37.05ZM31.2214 27.1786C30.8286 26.9786 28.8786 26.0214 28.5143 25.8929C28.15 25.7571 27.8857 25.6929 27.6214 26.0929C27.3571 26.4929 26.6 27.3786 26.3643 27.65C26.1357 27.9143 25.9 27.95 25.5071 27.75C23.1786 26.5857 21.65 25.6714 20.1143 23.0357C19.7071 22.3357 20.5214 22.3857 21.2786 20.8714C21.4071 20.6071 21.3429 20.3786 21.2429 20.1786C21.1429 19.9786 20.35 18.0286 20.0214 17.2357C19.7 16.4643 19.3714 16.5714 19.1286 16.5571C18.9 16.5429 18.6357 16.5429 18.3714 16.5429C18.1071 16.5429 17.6786 16.6429 17.3143 17.0357C16.95 17.4357 15.9286 18.3929 15.9286 20.3429C15.9286 22.2929 17.35 24.1786 17.5429 24.4429C17.7429 24.7071 20.3357 28.7071 24.3143 30.4286C26.8286 31.5143 27.8143 31.6071 29.0714 31.4214C29.8357 31.3071 31.4143 30.4643 31.7429 29.5357C32.0714 28.6071 32.0714 27.8143 31.9714 27.65C31.8786 27.4714 31.6143 27.3714 31.2214 27.1786Z",viewBox:"0 0 48 48",id:"line-whatsapp-regular"};var i=C=>`${C/16}rem`;var K=w(require("@emotion/styled"));var b3=Object.defineProperty,S3=(C,e)=>{for(var r in e)b3(C,r,{get:e[r],enumerable:!0})},H={};S3(H,{blue:()=>w3,green:()=>$3,neutral:()=>R3,red:()=>k3,yellow:()=>B3});var E3={75:"#AFD2FF",100:"#689DCB",300:"#045BA8",500:"#132C70"},w3=E3,T3={75:"#FEBCAC",100:"#F5917F",300:"#EF4829",500:"#BD2601"},k3=T3,P3={75:"#D6EEBC",100:"#A5D770",300:"#49BF00",500:"#518133"},$3=P3,A3={75:"#FDEFB3",100:"#FFE380",300:"#FFAB00",500:"#C56C00"},B3=A3,O3={0:"#FFFFFF",10:"#FBFBFB",20:"#F4F5F7",30:"#EEEEEE",40:"#DBDBDB",50:"#CACACA",100:"#8B8B8B",500:"#555555",600:"#464646",800:"#2E2E2E",900:"#262626"},R3=O3;var U2=K.default.div`
1
+ "use strict";var v3=Object.create;var Q=Object.defineProperty,h3=Object.defineProperties,y3=Object.getOwnPropertyDescriptor,x3=Object.getOwnPropertyDescriptors,b3=Object.getOwnPropertyNames,s2=Object.getOwnPropertySymbols,S3=Object.getPrototypeOf,$2=Object.prototype.hasOwnProperty,U2=Object.prototype.propertyIsEnumerable;var W2=(C,e,r)=>e in C?Q(C,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):C[e]=r,b=(C,e)=>{for(var r in e||(e={}))$2.call(e,r)&&W2(C,r,e[r]);if(s2)for(var r of s2(e))U2.call(e,r)&&W2(C,r,e[r]);return C},E=(C,e)=>h3(C,x3(e));var w=(C,e)=>{var r={};for(var a in C)$2.call(C,a)&&e.indexOf(a)<0&&(r[a]=C[a]);if(C!=null&&s2)for(var a of s2(C))e.indexOf(a)<0&&U2.call(C,a)&&(r[a]=C[a]);return r};var l2=(C,e)=>()=>(e||C((e={exports:{}}).exports,e),e.exports),E3=(C,e)=>{for(var r in e)Q(C,r,{get:e[r],enumerable:!0})},Y2=(C,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of b3(e))!$2.call(C,n)&&n!==r&&Q(C,n,{get:()=>e[n],enumerable:!(a=y3(e,n))||a.enumerable});return C};var M=(C,e,r)=>(r=C!=null?v3(S3(C)):{},Y2(e||!C||!C.__esModule?Q(r,"default",{value:C,enumerable:!0}):r,C)),w3=C=>Y2(Q({},"__esModule",{value:!0}),C);var c1=l2(l=>{"use strict";var V=typeof Symbol=="function"&&Symbol.for,A2=V?Symbol.for("react.element"):60103,O2=V?Symbol.for("react.portal"):60106,V2=V?Symbol.for("react.fragment"):60107,f2=V?Symbol.for("react.strict_mode"):60108,m2=V?Symbol.for("react.profiler"):60114,M2=V?Symbol.for("react.provider"):60109,g2=V?Symbol.for("react.context"):60110,B2=V?Symbol.for("react.async_mode"):60111,Z2=V?Symbol.for("react.concurrent_mode"):60111,v2=V?Symbol.for("react.forward_ref"):60112,h2=V?Symbol.for("react.suspense"):60113,Y3=V?Symbol.for("react.suspense_list"):60120,y2=V?Symbol.for("react.memo"):60115,x2=V?Symbol.for("react.lazy"):60116,X3=V?Symbol.for("react.block"):60121,K3=V?Symbol.for("react.fundamental"):60117,G3=V?Symbol.for("react.responder"):60118,Q3=V?Symbol.for("react.scope"):60119;function S(C){if(typeof C=="object"&&C!==null){var e=C.$$typeof;switch(e){case A2:switch(C=C.type,C){case B2:case Z2:case V2:case m2:case f2:case h2:return C;default:switch(C=C&&C.$$typeof,C){case g2:case v2:case x2:case y2:case M2:return C;default:return e}}case O2:return e}}}function L1(C){return S(C)===Z2}l.AsyncMode=B2;l.ConcurrentMode=Z2;l.ContextConsumer=g2;l.ContextProvider=M2;l.Element=A2;l.ForwardRef=v2;l.Fragment=V2;l.Lazy=x2;l.Memo=y2;l.Portal=O2;l.Profiler=m2;l.StrictMode=f2;l.Suspense=h2;l.isAsyncMode=function(C){return L1(C)||S(C)===B2};l.isConcurrentMode=L1;l.isContextConsumer=function(C){return S(C)===g2};l.isContextProvider=function(C){return S(C)===M2};l.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===A2};l.isForwardRef=function(C){return S(C)===v2};l.isFragment=function(C){return S(C)===V2};l.isLazy=function(C){return S(C)===x2};l.isMemo=function(C){return S(C)===y2};l.isPortal=function(C){return S(C)===O2};l.isProfiler=function(C){return S(C)===m2};l.isStrictMode=function(C){return S(C)===f2};l.isSuspense=function(C){return S(C)===h2};l.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===V2||C===Z2||C===m2||C===f2||C===h2||C===Y3||typeof C=="object"&&C!==null&&(C.$$typeof===x2||C.$$typeof===y2||C.$$typeof===M2||C.$$typeof===g2||C.$$typeof===v2||C.$$typeof===K3||C.$$typeof===G3||C.$$typeof===Q3||C.$$typeof===X3)};l.typeOf=S});var d1=l2(L=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var C=typeof Symbol=="function"&&Symbol.for,e=C?Symbol.for("react.element"):60103,r=C?Symbol.for("react.portal"):60106,a=C?Symbol.for("react.fragment"):60107,n=C?Symbol.for("react.strict_mode"):60108,s=C?Symbol.for("react.profiler"):60114,u=C?Symbol.for("react.provider"):60109,d=C?Symbol.for("react.context"):60110,f=C?Symbol.for("react.async_mode"):60111,h=C?Symbol.for("react.concurrent_mode"):60111,g=C?Symbol.for("react.forward_ref"):60112,P=C?Symbol.for("react.suspense"):60113,X=C?Symbol.for("react.suspense_list"):60120,D=C?Symbol.for("react.memo"):60115,y=C?Symbol.for("react.lazy"):60116,i2=C?Symbol.for("react.block"):60121,n2=C?Symbol.for("react.fundamental"):60117,t2=C?Symbol.for("react.responder"):60118,a2=C?Symbol.for("react.scope"):60119;function K1(t){return typeof t=="string"||typeof t=="function"||t===a||t===h||t===s||t===n||t===P||t===X||typeof t=="object"&&t!==null&&(t.$$typeof===y||t.$$typeof===D||t.$$typeof===u||t.$$typeof===d||t.$$typeof===g||t.$$typeof===n2||t.$$typeof===t2||t.$$typeof===a2||t.$$typeof===i2)}function x(t){if(typeof t=="object"&&t!==null){var P2=t.$$typeof;switch(P2){case e:var o2=t.type;switch(o2){case f:case h:case a:case s:case n:case P:return o2;default:var j2=o2&&o2.$$typeof;switch(j2){case d:case g:case y:case D:case u:return j2;default:return P2}}case r:return P2}}}var G1=f,Q1=h,J1=d,C3=u,e3=e,r3=g,i3=a,n3=y,t3=D,a3=r,o3=s,s3=n,l3=P,q2=!1;function L3(t){return q2||(q2=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),z2(t)||x(t)===f}function z2(t){return x(t)===h}function c3(t){return x(t)===d}function d3(t){return x(t)===u}function u3(t){return typeof t=="object"&&t!==null&&t.$$typeof===e}function H3(t){return x(t)===g}function p3(t){return x(t)===a}function V3(t){return x(t)===y}function f3(t){return x(t)===D}function m3(t){return x(t)===r}function M3(t){return x(t)===s}function g3(t){return x(t)===n}function Z3(t){return x(t)===P}L.AsyncMode=G1,L.ConcurrentMode=Q1,L.ContextConsumer=J1,L.ContextProvider=C3,L.Element=e3,L.ForwardRef=r3,L.Fragment=i3,L.Lazy=n3,L.Memo=t3,L.Portal=a3,L.Profiler=o3,L.StrictMode=s3,L.Suspense=l3,L.isAsyncMode=L3,L.isConcurrentMode=z2,L.isContextConsumer=c3,L.isContextProvider=d3,L.isElement=u3,L.isForwardRef=H3,L.isFragment=p3,L.isLazy=V3,L.isMemo=f3,L.isPortal=m3,L.isProfiler=M3,L.isStrictMode=g3,L.isSuspense=Z3,L.isValidElementType=K1,L.typeOf=x}()});var u1=l2((D5,D2)=>{"use strict";process.env.NODE_ENV==="production"?D2.exports=c1():D2.exports=d1()});var g1=l2((R5,M1)=>{"use strict";var R2=u1(),J3={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},C5={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},e5={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},N2={};N2[R2.ForwardRef]=e5;N2[R2.Memo]=f1;function H1(C){return R2.isMemo(C)?f1:N2[C.$$typeof]||J3}var r5=Object.defineProperty,i5=Object.getOwnPropertyNames,p1=Object.getOwnPropertySymbols,n5=Object.getOwnPropertyDescriptor,t5=Object.getPrototypeOf,V1=Object.prototype;function m1(C,e,r){if(typeof e!="string"){if(V1){var a=t5(e);a&&a!==V1&&m1(C,a,r)}var n=i5(e);p1&&(n=n.concat(p1(e)));for(var s=H1(C),u=H1(e),d=0;d<n.length;++d){var f=n[d];if(!C5[f]&&!(r&&r[f])&&!(u&&u[f])&&!(s&&s[f])){var h=n5(e,f);try{r5(C,f,h)}catch(g){}}}}return C}M1.exports=m1});var c5={};E3(c5,{TelaCadastro:()=>l1,TelaConviteExpirado:()=>O1,TelaEsqueceuSenha:()=>X1,TelaInstrucoesEnviadas:()=>R1,TelaLogin:()=>P1,TelaNovaSenha:()=>j1,TemplateTelaBase:()=>v});module.exports=w3(c5);var c2=require("@s_mart/core"),C1=require("@s_mart/masks");var F={description:"M37.4802 11.2595L18.4955 30.6836L11.5198 23.5465C11.1816 23.2004 10.6333 23.2004 10.295 23.5465L8.25365 25.635C7.91545 25.9811 7.91545 26.5421 8.25365 26.8882L17.8831 36.7405C18.2213 37.0865 18.7696 37.0865 19.1079 36.7405L40.7463 14.6013C41.0845 14.2553 41.0845 13.6942 40.7463 13.3481L38.705 11.2595C38.3668 10.9135 37.8184 10.9135 37.4802 11.2595Z",viewBox:"0 0 48 48",id:"line-check-regular"};var L2={description:"M35.2071 12.65C32.2143 9.65 28.2286 8 23.9929 8C15.25 8 8.13571 15.1143 8.13571 23.8571C8.13571 26.65 8.86429 29.3786 10.25 31.7857L8 40L16.4071 37.7929C18.7214 39.0571 21.3286 39.7214 23.9857 39.7214H23.9929C32.7286 39.7214 40 32.6071 40 23.8643C40 19.6286 38.2 15.65 35.2071 12.65ZM23.9929 37.05C21.6214 37.05 19.3 36.4143 17.2786 35.2143L16.8 34.9286L11.8143 36.2357L13.1429 31.3714L12.8286 30.8714C11.5071 28.7714 10.8143 26.35 10.8143 23.8571C10.8143 16.5929 16.7286 10.6786 24 10.6786C27.5214 10.6786 30.8286 12.05 33.3143 14.5429C35.8 17.0357 37.3286 20.3429 37.3214 23.8643C37.3214 31.1357 31.2571 37.05 23.9929 37.05ZM31.2214 27.1786C30.8286 26.9786 28.8786 26.0214 28.5143 25.8929C28.15 25.7571 27.8857 25.6929 27.6214 26.0929C27.3571 26.4929 26.6 27.3786 26.3643 27.65C26.1357 27.9143 25.9 27.95 25.5071 27.75C23.1786 26.5857 21.65 25.6714 20.1143 23.0357C19.7071 22.3357 20.5214 22.3857 21.2786 20.8714C21.4071 20.6071 21.3429 20.3786 21.2429 20.1786C21.1429 19.9786 20.35 18.0286 20.0214 17.2357C19.7 16.4643 19.3714 16.5714 19.1286 16.5571C18.9 16.5429 18.6357 16.5429 18.3714 16.5429C18.1071 16.5429 17.6786 16.6429 17.3143 17.0357C16.95 17.4357 15.9286 18.3929 15.9286 20.3429C15.9286 22.2929 17.35 24.1786 17.5429 24.4429C17.7429 24.7071 20.3357 28.7071 24.3143 30.4286C26.8286 31.5143 27.8143 31.6071 29.0714 31.4214C29.8357 31.3071 31.4143 30.4643 31.7429 29.5357C32.0714 28.6071 32.0714 27.8143 31.9714 27.65C31.8786 27.4714 31.6143 27.3714 31.2214 27.1786Z",viewBox:"0 0 48 48",id:"line-whatsapp-regular"};var i=C=>`${C/16}rem`;var K=M(require("@emotion/styled"));var T3=Object.defineProperty,k3=(C,e)=>{for(var r in e)T3(C,r,{get:e[r],enumerable:!0})},H={};k3(H,{blue:()=>$3,green:()=>D3,neutral:()=>I3,red:()=>O3,yellow:()=>N3});var P3={75:"#AFD2FF",100:"#689DCB",300:"#045BA8",500:"#132C70"},$3=P3,A3={75:"#FEBCAC",100:"#F5917F",300:"#EF4829",500:"#BD2601"},O3=A3,B3={75:"#D6EEBC",100:"#A5D770",300:"#49BF00",500:"#518133"},D3=B3,R3={75:"#FDEFB3",100:"#FFE380",300:"#FFAB00",500:"#C56C00"},N3=R3,F3={0:"#FFFFFF",10:"#FBFBFB",20:"#F4F5F7",30:"#EEEEEE",40:"#DBDBDB",50:"#CACACA",100:"#8B8B8B",500:"#555555",600:"#464646",800:"#2E2E2E",900:"#262626"},I3=F3;var X2=K.default.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -18,7 +18,7 @@
18
18
  @media (max-height: 600px) {
19
19
  justify-content: flex-start;
20
20
  }
21
- `,Y2=K.default.div`
21
+ `,K2=K.default.div`
22
22
  position: absolute;
23
23
  left: 0;
24
24
  bottom: 32px;
@@ -27,7 +27,7 @@
27
27
  @media (max-width: 768px) {
28
28
  display: none;
29
29
  }
30
- `,X2=K.default.h1`
30
+ `,G2=K.default.h1`
31
31
  position: absolute;
32
32
  left: 32px;
33
33
  top: 32px;
@@ -66,7 +66,7 @@
66
66
  @media (max-width: 500px) {
67
67
  display: none;
68
68
  }
69
- `,K2=K.default.div`
69
+ `,Q2=K.default.div`
70
70
  position: relative;
71
71
  z-index: 2;
72
72
 
@@ -75,7 +75,7 @@
75
75
  margin: ${i(16)};
76
76
 
77
77
  background-color: ${({theme:C})=>C.palette.common.white};
78
- `,G2=K.default.button`
78
+ `,J2=K.default.button`
79
79
  position: relative;
80
80
  z-index: 2;
81
81
 
@@ -99,17 +99,17 @@
99
99
  color: ${H.green[300]};
100
100
  }
101
101
  }
102
- `;var B=require("react/jsx-runtime");function Z({children:C,whatsapp:e,textoChamativo:r,style:a,paperStyle:n,ilustracao:s}){return(0,B.jsxs)(U2,{style:a,children:[r&&(0,B.jsx)(X2,{children:r}),s&&(0,B.jsx)(Y2,{children:typeof s=="string"?(0,B.jsx)("img",{src:s,alt:"Logo do sistema"}):s}),(0,B.jsx)(K2,{style:n,children:C}),e&&(0,B.jsxs)(G2,{onClick:()=>{window.open(`https://api.whatsapp.com/send?phone=${e}`)},style:{marginBottom:16},children:[(0,B.jsxs)(l2.Typography,{variant:"bodyXS",children:["Com d\xFAvidas? ",Q2.telefone.format(e.slice(2))]}),(0,B.jsx)(l2.LIcon,{icon:s2,size:"20px",removeMargin:!0})]})]})}var T=require("@s_mart/core"),I=require("@s_mart/form");var D3=Object.defineProperty,F3=Object.defineProperties,I3=Object.getOwnPropertyDescriptors,J2=Object.getOwnPropertySymbols,N3=Object.prototype.hasOwnProperty,_3=Object.prototype.propertyIsEnumerable,C1=(C,e,r)=>e in C?D3(C,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):C[e]=r,L2=(C,e)=>{for(var r in e||(e={}))N3.call(e,r)&&C1(C,r,e[r]);if(J2)for(var r of J2(e))_3.call(e,r)&&C1(C,r,e[r]);return C},q3=(C,e)=>F3(C,I3(e));var d2=C=>{let e={validate:{}};return C.forEach(r=>{e=q3(L2(L2({},e),r),{validate:L2(L2({},e.validate),r.validate)})}),e},R={validate:{required:C=>{if(!C)return"Campo obrigat\xF3rio"}}},c2={validate:{email:C=>{if(C&&!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(C))return"O email \xE9 inv\xE1lido"}}};var z=w(require("@emotion/styled"));var e1=z.default.div`
102
+ `;var A=require("react/jsx-runtime");function v({children:C,whatsapp:e,textoChamativo:r,style:a,paperStyle:n,ilustracao:s}){return(0,A.jsxs)(X2,{style:a,children:[r&&(0,A.jsx)(G2,{children:r}),s&&(0,A.jsx)(K2,{children:typeof s=="string"?(0,A.jsx)("img",{src:s,alt:"Logo do sistema"}):s}),(0,A.jsx)(Q2,{style:n,children:C}),e&&(0,A.jsxs)(J2,{onClick:()=>{window.open(`https://api.whatsapp.com/send?phone=${e}`)},style:{marginBottom:16},children:[(0,A.jsxs)(c2.Typography,{variant:"bodyXS",children:["Com d\xFAvidas? ",C1.telefone.format(e.slice(2))]}),(0,A.jsx)(c2.LIcon,{icon:L2,size:"20px",removeMargin:!0})]})]})}var T=require("@s_mart/core"),R=require("@s_mart/form");var _3=Object.defineProperty,q3=Object.defineProperties,z3=Object.getOwnPropertyDescriptors,e1=Object.getOwnPropertySymbols,j3=Object.prototype.hasOwnProperty,W3=Object.prototype.propertyIsEnumerable,r1=(C,e,r)=>e in C?_3(C,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):C[e]=r,d2=(C,e)=>{for(var r in e||(e={}))j3.call(e,r)&&r1(C,r,e[r]);if(e1)for(var r of e1(e))W3.call(e,r)&&r1(C,r,e[r]);return C},U3=(C,e)=>q3(C,z3(e));var u2=C=>{let e={validate:{}};return C.forEach(r=>{e=U3(d2(d2({},e),r),{validate:d2(d2({},e.validate),r.validate)})}),e},O={validate:{required:C=>{if(!(C!=null&&C.trim()))return"Campo obrigat\xF3rio"}}},H2={validate:{email:C=>{if(C&&!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(C))return"O email \xE9 inv\xE1lido"}}};var z=M(require("@emotion/styled"));var i1=z.default.div`
103
103
  display: grid;
104
104
  gap: ${i(32)};
105
- `,r1=z.default.header`
105
+ `,n1=z.default.header`
106
106
  display: grid;
107
107
  text-align: center;
108
108
  gap: ${i(16)};
109
- `,i1=z.default.div`
109
+ `,t1=z.default.div`
110
110
  display: grid;
111
111
  gap: ${i(32)};
112
- `,n1=z.default.div`
112
+ `,a1=z.default.div`
113
113
  display: grid;
114
114
  gap: ${i(4)};
115
115
 
@@ -128,11 +128,11 @@
128
128
  display: grid;
129
129
  gap: ${i(4)};
130
130
  }
131
- `,t1=z.default.div`
131
+ `,o1=z.default.div`
132
132
  display: flex;
133
133
  flex-wrap: wrap;
134
134
  gap: ${i(8)};
135
- `,H2=z.default.div`
135
+ `,p2=z.default.div`
136
136
  display: flex;
137
137
  align-items: center;
138
138
  gap: ${i(4)};
@@ -149,7 +149,7 @@
149
149
  color: ${H.green[300]};
150
150
  border-color: ${H.green[300]};
151
151
  `}}
152
- `;function a1(){let C=n=>n?n.match(/[a-z]/i):!1,e=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:C,senhaContemNumero:e,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.email||!n.senha||!n.confirmarSenha||!n.termosDeUso||!C(n.senha)||!e(n.senha)||!r(n.senha)}}var o=require("react/jsx-runtime");function o1(u){var c=u,{logo:C,nomeSistema:e,onSubmit:r,linkTermosDeUso:a,email:n}=c,s=E(c,["logo","nomeSistema","onSubmit","linkTermosDeUso","email"]);let{senhaContemLetra:M,senhaContemNumero:v,senhaContemMinimoDe6Caracteres:m,desabilitarBotaoDeCadastro:P}=a1(),X=typeof C=="string"?(0,o.jsx)("img",{src:C,alt:"Logo do sistema"}):C;return(0,o.jsx)(Z,S(x({},s),{children:(0,o.jsxs)(e1,{children:[(0,o.jsxs)(r1,{children:[C&&(0,o.jsx)("div",{children:X}),(0,o.jsxs)(T.Typography,{variant:"titleSM",children:["Vamos cadastrar uma senha de acesso ao ",e,"."]})]}),(0,o.jsx)(I.Form,{onSubmit:r,defaultValues:{email:n,termosDeUso:!1},children:({watch:h})=>{let A=M(h("senha")),r2=v(h("senha")),i2=m(h("senha"));return(0,o.jsxs)(i1,{children:[(0,o.jsx)(I.TextField,{name:"email",label:"E-mail de acesso",required:!0,disabled:!0}),(0,o.jsxs)(n1,{children:[(0,o.jsxs)("div",{children:[(0,o.jsx)(I.TextField,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:R}),(0,o.jsx)(I.TextField,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:n2=>{if(!n2)return"Campo obrigat\xF3rio";if(n2!==h("senha"))return"As senhas devem ser iguais"}}})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)(T.Typography,{variant:"bodyXS",children:"Sua senha precisa conter:"}),(0,o.jsxs)(t1,{children:[(0,o.jsxs)(H2,{checked:Boolean(A),children:[A&&(0,o.jsx)(T.LIcon,{icon:F,size:"16px",removeMargin:!0}),(0,o.jsx)(T.Typography,{variant:"bodyXS",children:"Uma letra"})]}),(0,o.jsxs)(H2,{checked:Boolean(r2),children:[r2&&(0,o.jsx)(T.LIcon,{icon:F,size:"16px",removeMargin:!0}),(0,o.jsx)(T.Typography,{variant:"bodyXS",children:"Um n\xFAmero"})]}),(0,o.jsxs)(H2,{checked:Boolean(i2),children:[i2&&(0,o.jsx)(T.LIcon,{icon:F,size:"16px",removeMargin:!0}),(0,o.jsx)(T.Typography,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),(0,o.jsx)("div",{children:(0,o.jsx)(I.Checkbox,{name:"termosDeUso",label:(0,o.jsxs)("div",{style:{display:"flex",gap:4},children:[(0,o.jsx)("span",{children:"Li e aceito os"}),(0,o.jsx)("a",{href:a,target:"_blank",style:{color:"var(--color-primary)"},rel:"noreferrer",children:"termos de uso"})]})})}),(0,o.jsx)("div",{children:(0,o.jsx)(T.Button,{type:"submit",fullWidth:!0,disabled:P(h()),children:"Concluir meu cadastro"})})]})}})]})}))}var b1=require("react"),j=require("@s_mart/core"),U=require("@s_mart/form");var y2=require("react");var J=w(require("react"),1);var O=w(require("react")),r5=require("react-dom");var i5=w(M1());var n5="SnackbarContent",O5={root:n5+"-root"};var D="SnackbarItem",R5={contentRoot:D+"-contentRoot",lessPadding:D+"-lessPadding",variantSuccess:D+"-variantSuccess",variantError:D+"-variantError",variantInfo:D+"-variantInfo",variantWarning:D+"-variantWarning",message:D+"-message",action:D+"-action",wrappedRoot:D+"-wrappedRoot"};var W="SnackbarContainer",D5={root:W+"-root",rootDense:W+"-rootDense",top:W+"-top",bottom:W+"-bottom",left:W+"-left",right:W+"-right",center:W+"-center"};var F5=process.env.NODE_ENV!=="production";var x2=w(require("@emotion/styled"),1);var g1=w(require("@emotion/styled"),1),N=require("@emotion/react");var t5=require("react/jsx-runtime"),Z1=require("react/jsx-runtime"),D2=require("react/jsx-runtime"),v1=require("react");var m1=()=>{let[C,e]=(0,y2.useState)(!1);return(0,y2.useEffect)(()=>{let r=a=>{a.key==="CapsLock"&&e(a.getModifierState("CapsLock"))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}},[]),C};var _=({defaultValue:C}={})=>{let e=typeof window!="undefined",r=J.default.useCallback(()=>{if(!e){if(C){let{width:u=0,height:c=0}=C;return{width:u,height:c}}return{width:0,height:0}}return{width:window.innerWidth,height:window.innerHeight}},[e,C]),[a,n]=J.default.useState(r()),s=J.default.useCallback(()=>{n(r())},[n,r]);return J.default.useEffect(()=>e?(window.addEventListener("resize",s),()=>{window.removeEventListener("resize",s)}):()=>{},[s,e]),a},W5=x2.default.div`
152
+ `;function s1(){let C=n=>n?n.match(/[a-z]/i):!1,e=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:C,senhaContemNumero:e,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.email||!n.senha||!n.confirmarSenha||!n.termosDeUso||!C(n.senha)||!e(n.senha)||!r(n.senha)}}var o=require("react/jsx-runtime");function l1(d){var f=d,{logo:C,nomeSistema:e,onSubmit:r,linkTermosDeUso:a,email:n,mostrarNomeUsuario:s}=f,u=w(f,["logo","nomeSistema","onSubmit","linkTermosDeUso","email","mostrarNomeUsuario"]);let{senhaContemLetra:h,senhaContemNumero:g,senhaContemMinimoDe6Caracteres:P,desabilitarBotaoDeCadastro:X}=s1(),D=typeof C=="string"?(0,o.jsx)("img",{src:C,alt:"Logo do sistema"}):C;return(0,o.jsx)(v,E(b({},u),{children:(0,o.jsxs)(i1,{children:[(0,o.jsxs)(n1,{children:[C&&(0,o.jsx)("div",{children:D}),(0,o.jsxs)(T.Typography,{variant:"titleSM",children:["Vamos cadastrar uma senha de acesso ao ",e,"."]})]}),(0,o.jsx)(R.Form,{onSubmit:r,defaultValues:{email:n,termosDeUso:!1},children:({watch:y})=>{let i2=h(y("senha")),n2=g(y("senha")),t2=P(y("senha"));return(0,o.jsxs)(t1,{children:[(0,o.jsx)(R.TextField,{name:"email",label:"E-mail de acesso",required:!0,disabled:!0}),s&&(0,o.jsx)(R.TextField,{name:"nome",label:"Nome completo",required:!0,rules:O}),(0,o.jsxs)(a1,{children:[(0,o.jsxs)("div",{children:[(0,o.jsx)(R.TextField,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:O}),(0,o.jsx)(R.TextField,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:a2=>{if(!a2)return"Campo obrigat\xF3rio";if(a2!==y("senha"))return"As senhas devem ser iguais"}}})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)(T.Typography,{variant:"bodyXS",children:"Sua senha precisa conter:"}),(0,o.jsxs)(o1,{children:[(0,o.jsxs)(p2,{checked:Boolean(i2),children:[i2&&(0,o.jsx)(T.LIcon,{icon:F,size:"16px",removeMargin:!0}),(0,o.jsx)(T.Typography,{variant:"bodyXS",children:"Uma letra"})]}),(0,o.jsxs)(p2,{checked:Boolean(n2),children:[n2&&(0,o.jsx)(T.LIcon,{icon:F,size:"16px",removeMargin:!0}),(0,o.jsx)(T.Typography,{variant:"bodyXS",children:"Um n\xFAmero"})]}),(0,o.jsxs)(p2,{checked:Boolean(t2),children:[t2&&(0,o.jsx)(T.LIcon,{icon:F,size:"16px",removeMargin:!0}),(0,o.jsx)(T.Typography,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),(0,o.jsx)("div",{children:(0,o.jsx)(R.Checkbox,{name:"termosDeUso",label:(0,o.jsxs)("div",{style:{display:"flex",gap:4},children:[(0,o.jsx)("span",{children:"Li e aceito os"}),(0,o.jsx)("a",{href:a,target:"_blank",style:{color:"var(--color-primary)"},rel:"noreferrer",children:"termos de uso"})]})})}),(0,o.jsx)("div",{children:(0,o.jsx)(T.Button,{type:"submit",fullWidth:!0,disabled:X(y()),children:"Concluir meu cadastro"})})]})}})]})}))}var k1=require("react"),W=require("@s_mart/core"),U=require("@s_mart/form");var b2=require("react");var J=M(require("react"),1);var B=M(require("react")),a5=require("react-dom");var o5=M(g1());var s5="SnackbarContent",I5={root:s5+"-root"};var N="SnackbarItem",_5={contentRoot:N+"-contentRoot",lessPadding:N+"-lessPadding",variantSuccess:N+"-variantSuccess",variantError:N+"-variantError",variantInfo:N+"-variantInfo",variantWarning:N+"-variantWarning",message:N+"-message",action:N+"-action",wrappedRoot:N+"-wrappedRoot"};var j="SnackbarContainer",q5={root:j+"-root",rootDense:j+"-rootDense",top:j+"-top",bottom:j+"-bottom",left:j+"-left",right:j+"-right",center:j+"-center"};var z5=process.env.NODE_ENV!=="production";var S2=M(require("@emotion/styled"),1);var v1=M(require("@emotion/styled"),1),I=require("@emotion/react");var l5=require("react/jsx-runtime"),h1=require("react/jsx-runtime"),F2=require("react/jsx-runtime"),y1=require("react"),x1=M(require("react"),1),b1=M(require("react"),1),S1=M(require("react"),1),C2=M(require("react"),1);var Z1=()=>{let[C,e]=(0,b2.useState)(!1);return(0,b2.useEffect)(()=>{let r=a=>{a.key==="CapsLock"&&e(a.getModifierState("CapsLock"))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}},[]),C};var _=({defaultValue:C}={})=>{let e=typeof window!="undefined",r=J.default.useCallback(()=>{if(!e){if(C){let{width:u=0,height:d=0}=C;return{width:u,height:d}}return{width:0,height:0}}return{width:window.innerWidth,height:window.innerHeight}},[e,C]),[a,n]=J.default.useState(r()),s=J.default.useCallback(()=>{n(r())},[n,r]);return J.default.useEffect(()=>e?(window.addEventListener("resize",s),()=>{window.removeEventListener("resize",s)}):()=>{},[s,e]),a},K5=S2.default.div`
153
153
  display: flex;
154
154
  align-items: center;
155
155
  justify-content: space-between;
@@ -169,7 +169,7 @@
169
169
  align-items: center;
170
170
  gap: ${i(8)};
171
171
  }
172
- `,j5=x2.default.div`
172
+ `,G5=S2.default.div`
173
173
  display: flex;
174
174
  flex-direction: column;
175
175
  justify-content: center;
@@ -177,10 +177,10 @@
177
177
  > *:first-of-type {
178
178
  margin-bottom: ${i(4)};
179
179
  }
180
- `,U5=x2.default.div`
180
+ `,Q5=S2.default.div`
181
181
  cursor: pointer;
182
182
  align-self: flex-start;
183
- `,X5=g1.default.i`
183
+ `,C4=v1.default.i`
184
184
  align-self: center;
185
185
  display: inline-flex;
186
186
  color: ${({color:C})=>C};
@@ -191,23 +191,23 @@
191
191
  z-index: 0 !important;
192
192
  outline: 0 !important;
193
193
 
194
- ${({left:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&N.css`
194
+ ${({left:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&I.css`
195
195
  left: ${C};
196
196
  `}
197
197
 
198
- ${({right:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&N.css`
198
+ ${({right:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&I.css`
199
199
  right: ${C};
200
200
  `}
201
201
 
202
- ${({top:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&N.css`
202
+ ${({top:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&I.css`
203
203
  top: ${C};
204
204
  `}
205
205
 
206
- ${({bottom:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&N.css`
206
+ ${({bottom:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&I.css`
207
207
  bottom: ${C};
208
208
  `}
209
209
 
210
- ${({color:C})=>{let e=C;return C==="inherit"&&(e="currentColor"),N.css`
210
+ ${({color:C})=>{let e=C;return C==="inherit"&&(e="currentColor"),I.css`
211
211
  fill: ${e};
212
212
  `}}
213
213
  position: relative;
@@ -215,20 +215,20 @@
215
215
  height: ${({height:C})=>C} !important;
216
216
  width: ${({width:C})=>C} !important;
217
217
 
218
- ${({removeMargin:C})=>C?N.css`
218
+ ${({removeMargin:C})=>C?I.css`
219
219
  margin: 0;
220
- `:N.css`
220
+ `:I.css`
221
221
  margin: 0 ${i(4)};
222
222
  `}
223
223
  }
224
- `;var b2=w(require("@emotion/styled"));var h1=b2.default.div`
224
+ `;var L5=b1.createContext(null);process.env.NODE_ENV!=="production"&&(L5.displayName="ThemeContext");var E2=M(require("@emotion/styled"));var E1=E2.default.div`
225
225
  display: grid;
226
226
  gap: ${i(32)};
227
- `,y1=b2.default.header`
227
+ `,w1=E2.default.header`
228
228
  display: grid;
229
229
  text-align: center;
230
230
  gap: ${i(16)};
231
- `,x1=b2.default.div`
231
+ `,T1=E2.default.div`
232
232
  display: grid;
233
233
  gap: ${i(16)};
234
234
 
@@ -240,7 +240,7 @@
240
240
  > div:last-of-type {
241
241
  gap: ${i(8)};
242
242
  }
243
- `;var V=require("react/jsx-runtime");function S1(u){var c=u,{logo:C,initialValues:e,onSubmit:r,onEsqueciMinhaSenha:a,errorLabel:n}=c,s=E(c,["logo","initialValues","onSubmit","onEsqueciMinhaSenha","errorLabel"]);let M=typeof C=="string"?(0,V.jsx)("img",{src:C,alt:"Logo do sistema"}):C,{width:v}=_(),m=m1(),P=(0,b1.useMemo)(()=>x({manterConectado:!1},e),[e]);return(0,V.jsx)(Z,S(x({},s),{paperStyle:{minWidth:v>500?456:void 0,width:v>500?void 0:"90%"},children:(0,V.jsxs)(h1,{children:[(0,V.jsx)(y1,{children:C&&(0,V.jsx)("div",{children:M})}),(0,V.jsx)(U.Form,{onSubmit:r,defaultValues:P,children:(0,V.jsxs)(x1,{children:[(0,V.jsxs)("div",{children:[(0,V.jsx)(U.TextField,{name:"email",label:"E-mail de acesso",required:!0,rules:d2([R,c2])}),(0,V.jsxs)("div",{children:[(0,V.jsx)(U.TextField,{name:"senha",label:"Senha de acesso",type:"password",required:!0,rules:R}),m&&(0,V.jsx)(j.Indicator,{severity:"warning",children:"Capslock ativado"}),!!n&&(0,V.jsx)(j.Typography,{variant:"titleXXS",color:H.red[300],children:n})]})]}),(0,V.jsx)(U.Checkbox,{name:"manterConectado",label:"Manter conectado"}),(0,V.jsxs)("div",{children:[(0,V.jsx)(j.Button,{type:"submit",fullWidth:!0,children:"Entrar"}),a&&(0,V.jsx)(j.Button,{type:"button",fullWidth:!0,variant:"text",onClick:a,children:"Esqueci minha senha"})]})]})})]})}))}var q=require("@s_mart/core");var F2=w(require("@emotion/styled"));var E1=F2.default.div`
243
+ `;var p=require("react/jsx-runtime");function P1(u){var d=u,{logo:C,initialValues:e,onSubmit:r,onEsqueciMinhaSenha:a,errorLabel:n}=d,s=w(d,["logo","initialValues","onSubmit","onEsqueciMinhaSenha","errorLabel"]);let f=typeof C=="string"?(0,p.jsx)("img",{src:C,alt:"Logo do sistema"}):C,{width:h}=_(),g=Z1(),P=(0,k1.useMemo)(()=>b({manterConectado:!1},e),[e]);return(0,p.jsx)(v,E(b({},s),{paperStyle:{minWidth:h>500?456:void 0,width:h>500?void 0:"90%"},children:(0,p.jsxs)(E1,{children:[(0,p.jsx)(w1,{children:C&&(0,p.jsx)("div",{children:f})}),(0,p.jsx)(U.Form,{onSubmit:r,defaultValues:P,children:(0,p.jsxs)(T1,{children:[(0,p.jsxs)("div",{children:[(0,p.jsx)(U.TextField,{name:"email",label:"E-mail de acesso",required:!0,rules:u2([O,H2])}),(0,p.jsxs)("div",{children:[(0,p.jsx)(U.TextField,{name:"senha",label:"Senha de acesso",type:"password",required:!0,rules:O}),g&&(0,p.jsx)(W.Indicator,{severity:"warning",children:"Capslock ativado"}),!!n&&(0,p.jsx)(W.Typography,{variant:"titleXXS",color:H.red[300],children:n})]})]}),(0,p.jsx)(U.Checkbox,{name:"manterConectado",label:"Manter conectado"}),(0,p.jsxs)("div",{children:[(0,p.jsx)(W.Button,{type:"submit",fullWidth:!0,children:"Entrar"}),a&&(0,p.jsx)(W.Button,{type:"button",fullWidth:!0,variant:"text",onClick:a,children:"Esqueci minha senha"})]})]})})]})}))}var q=require("@s_mart/core");var I2=M(require("@emotion/styled"));var $1=I2.default.div`
244
244
  display: grid;
245
245
  gap: ${i(32)};
246
246
 
@@ -248,11 +248,11 @@
248
248
  display: grid;
249
249
  gap: ${i(16)};
250
250
  }
251
- `,w1=F2.default.header`
251
+ `,A1=I2.default.header`
252
252
  display: grid;
253
253
  text-align: center;
254
254
  gap: ${i(16)};
255
- `;var g=require("react/jsx-runtime");function T1(n){var s=n,{logo:C,onPrecisoDeAjuda:e,onRealizarAcesso:r}=s,a=E(s,["logo","onPrecisoDeAjuda","onRealizarAcesso"]);let u=typeof C=="string"?(0,g.jsx)("img",{src:C,alt:"Logo do sistema"}):C,{width:c}=_();return(0,g.jsx)(Z,S(x({},a),{paperStyle:{minWidth:c>500?456:void 0,width:c>500?void 0:"90%"},children:(0,g.jsxs)(E1,{children:[(0,g.jsxs)("div",{children:[(0,g.jsx)(w1,{children:C&&(0,g.jsx)("div",{children:u})}),(0,g.jsxs)("div",{style:{display:"flex",flexDirection:"column",textAlign:"center",gap:4},children:[(0,g.jsx)(q.Typography,{variant:"bodyMD",children:"O convite que voc\xEA utilizou, j\xE1 foi usado ou expirou."}),(0,g.jsx)(q.Typography,{variant:"titleSM",children:"Realize o acesso ou solicite um novo convite."})]})]}),(0,g.jsxs)("div",{children:[(0,g.jsx)(q.Button,{fullWidth:!0,onClick:r,children:"Realizar acesso"}),(0,g.jsxs)(q.Button,{fullWidth:!0,variant:"outlined",onClick:e,style:{display:"flex",gap:8},children:[(0,g.jsx)(q.LIcon,{icon:s2,size:"20px",removeMargin:!0,color:H.green[300]}),"Preciso de ajuda"]})]})]})}))}var C2=require("@s_mart/core");var I2=w(require("@emotion/styled"));var k1=I2.default.div`
255
+ `;var Z=require("react/jsx-runtime");function O1(n){var s=n,{logo:C,onPrecisoDeAjuda:e,onRealizarAcesso:r}=s,a=w(s,["logo","onPrecisoDeAjuda","onRealizarAcesso"]);let u=typeof C=="string"?(0,Z.jsx)("img",{src:C,alt:"Logo do sistema"}):C,{width:d}=_();return(0,Z.jsx)(v,E(b({},a),{paperStyle:{minWidth:d>500?456:void 0,width:d>500?void 0:"90%"},children:(0,Z.jsxs)($1,{children:[(0,Z.jsxs)("div",{children:[(0,Z.jsx)(A1,{children:C&&(0,Z.jsx)("div",{children:u})}),(0,Z.jsxs)("div",{style:{display:"flex",flexDirection:"column",textAlign:"center",gap:4},children:[(0,Z.jsx)(q.Typography,{variant:"bodyMD",children:"O convite que voc\xEA utilizou, j\xE1 foi usado ou expirou."}),(0,Z.jsx)(q.Typography,{variant:"titleSM",children:"Realize o acesso ou solicite um novo convite."})]})]}),(0,Z.jsxs)("div",{children:[(0,Z.jsx)(q.Button,{fullWidth:!0,onClick:r,children:"Realizar acesso"}),(0,Z.jsxs)(q.Button,{fullWidth:!0,variant:"outlined",onClick:e,style:{display:"flex",gap:8},children:[(0,Z.jsx)(q.LIcon,{icon:L2,size:"20px",removeMargin:!0,color:H.green[300]}),"Preciso de ajuda"]})]})]})}))}var e2=require("@s_mart/core");var _2=M(require("@emotion/styled"));var B1=_2.default.div`
256
256
  display: grid;
257
257
  gap: ${i(32)};
258
258
 
@@ -260,21 +260,21 @@
260
260
  display: grid;
261
261
  gap: ${i(16)};
262
262
  }
263
- `,P1=I2.default.header`
263
+ `,D1=_2.default.header`
264
264
  display: grid;
265
265
  text-align: center;
266
266
  gap: ${i(16)};
267
- `;var $=require("react/jsx-runtime");function $1(a){var n=a,{logo:C,onVoltarParaLogin:e}=n,r=E(n,["logo","onVoltarParaLogin"]);let s=typeof C=="string"?(0,$.jsx)("img",{src:C,alt:"Logo do sistema"}):C,{width:u}=_();return(0,$.jsx)(Z,S(x({},r),{paperStyle:{maxWidth:u>500?456:void 0,width:u>500?void 0:"90%"},children:(0,$.jsxs)(k1,{children:[(0,$.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[(0,$.jsx)(P1,{children:C&&(0,$.jsx)("div",{children:s})}),(0,$.jsx)(C2.Typography,{variant:"titleMD",textAlign:"center",children:"Instru\xE7\xF5es enviadas"}),(0,$.jsx)(C2.Typography,{variant:"bodySM",textAlign:"center",children:"Enviamos ao seu e-mail de acesso as instru\xE7\xF5es para criar uma nova senha. Verifique sua caixa de entrada e de Spam."})]}),(0,$.jsx)(C2.Button,{fullWidth:!0,onClick:e,children:"Voltar para login"})]})}))}var k=require("@s_mart/core"),e2=require("@s_mart/form");var Y=w(require("@emotion/styled"));var A1=Y.default.div`
267
+ `;var $=require("react/jsx-runtime");function R1(a){var n=a,{logo:C,onVoltarParaLogin:e}=n,r=w(n,["logo","onVoltarParaLogin"]);let s=typeof C=="string"?(0,$.jsx)("img",{src:C,alt:"Logo do sistema"}):C,{width:u}=_();return(0,$.jsx)(v,E(b({},r),{paperStyle:{maxWidth:u>500?456:void 0,width:u>500?void 0:"90%"},children:(0,$.jsxs)(B1,{children:[(0,$.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[(0,$.jsx)(D1,{children:C&&(0,$.jsx)("div",{children:s})}),(0,$.jsx)(e2.Typography,{variant:"titleMD",textAlign:"center",children:"Instru\xE7\xF5es enviadas"}),(0,$.jsx)(e2.Typography,{variant:"bodySM",textAlign:"center",children:"Enviamos ao seu e-mail de acesso as instru\xE7\xF5es para criar uma nova senha. Verifique sua caixa de entrada e de Spam."})]}),(0,$.jsx)(e2.Button,{fullWidth:!0,onClick:e,children:"Voltar para login"})]})}))}var k=require("@s_mart/core"),r2=require("@s_mart/form");var Y=M(require("@emotion/styled"));var N1=Y.default.div`
268
268
  display: grid;
269
269
  gap: ${i(32)};
270
- `,B1=Y.default.header`
270
+ `,F1=Y.default.header`
271
271
  display: grid;
272
272
  text-align: center;
273
273
  gap: ${i(16)};
274
- `,O1=Y.default.div`
274
+ `,I1=Y.default.div`
275
275
  display: grid;
276
276
  gap: ${i(32)};
277
- `,R1=Y.default.div`
277
+ `,_1=Y.default.div`
278
278
  display: grid;
279
279
  gap: ${i(4)};
280
280
 
@@ -293,11 +293,11 @@
293
293
  display: grid;
294
294
  gap: ${i(4)};
295
295
  }
296
- `,D1=Y.default.div`
296
+ `,q1=Y.default.div`
297
297
  display: flex;
298
298
  flex-wrap: wrap;
299
299
  gap: ${i(8)};
300
- `,S2=Y.default.div`
300
+ `,w2=Y.default.div`
301
301
  display: flex;
302
302
  align-items: center;
303
303
  gap: ${i(4)};
@@ -314,7 +314,7 @@
314
314
  color: ${H.green[300]};
315
315
  border-color: ${H.green[300]};
316
316
  `}}
317
- `;function F1(){let C=n=>n?n.match(/[a-z]/i):!1,e=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:C,senhaContemNumero:e,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.senha||!n.confirmarSenha||!C(n.senha)||!e(n.senha)||!r(n.senha)}}var d=require("react/jsx-runtime");function I1(a){var n=a,{logo:C,onTrocarMinhaSenha:e}=n,r=E(n,["logo","onTrocarMinhaSenha"]);let{senhaContemLetra:s,senhaContemNumero:u,senhaContemMinimoDe6Caracteres:c,desabilitarBotaoDeCadastro:M}=F1(),v=typeof C=="string"?(0,d.jsx)("img",{src:C,alt:"Logo do sistema"}):C;return(0,d.jsx)(Z,S(x({},r),{children:(0,d.jsxs)(A1,{children:[(0,d.jsxs)(B1,{children:[C&&(0,d.jsx)("div",{children:v}),(0,d.jsx)(k.Typography,{variant:"titleSM",children:"Vamos cadastrar uma nova senha de acesso."})]}),(0,d.jsx)(e2.Form,{onSubmit:e,children:({watch:m})=>{let P=s(m("senha")),X=u(m("senha")),h=c(m("senha"));return(0,d.jsxs)(O1,{children:[(0,d.jsxs)(R1,{children:[(0,d.jsxs)("div",{children:[(0,d.jsx)(e2.TextField,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:R}),(0,d.jsx)(e2.TextField,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:A=>{if(!A)return"Campo obrigat\xF3rio";if(A!==m("senha"))return"As senhas devem ser iguais"}}})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)(k.Typography,{variant:"bodyXS",children:"Sua senha precisa conter:"}),(0,d.jsxs)(D1,{children:[(0,d.jsxs)(S2,{checked:Boolean(P),children:[P&&(0,d.jsx)(k.LIcon,{icon:F,size:"16px",removeMargin:!0}),(0,d.jsx)(k.Typography,{variant:"bodyXS",children:"Uma letra"})]}),(0,d.jsxs)(S2,{checked:Boolean(X),children:[X&&(0,d.jsx)(k.LIcon,{icon:F,size:"16px",removeMargin:!0}),(0,d.jsx)(k.Typography,{variant:"bodyXS",children:"Um n\xFAmero"})]}),(0,d.jsxs)(S2,{checked:Boolean(h),children:[h&&(0,d.jsx)(k.LIcon,{icon:F,size:"16px",removeMargin:!0}),(0,d.jsx)(k.Typography,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),(0,d.jsx)("div",{children:(0,d.jsx)(k.Button,{type:"submit",fullWidth:!0,disabled:M(m()),children:"Trocar minha senha"})})]})}})]})}))}var G=require("@s_mart/core");var E2=w(require("@emotion/styled"));var N1=E2.default.div`
317
+ `;function z1(){let C=n=>n?n.match(/[a-z]/i):!1,e=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:C,senhaContemNumero:e,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.senha||!n.confirmarSenha||!C(n.senha)||!e(n.senha)||!r(n.senha)}}var c=require("react/jsx-runtime");function j1(a){var n=a,{logo:C,onTrocarMinhaSenha:e}=n,r=w(n,["logo","onTrocarMinhaSenha"]);let{senhaContemLetra:s,senhaContemNumero:u,senhaContemMinimoDe6Caracteres:d,desabilitarBotaoDeCadastro:f}=z1(),h=typeof C=="string"?(0,c.jsx)("img",{src:C,alt:"Logo do sistema"}):C;return(0,c.jsx)(v,E(b({},r),{children:(0,c.jsxs)(N1,{children:[(0,c.jsxs)(F1,{children:[C&&(0,c.jsx)("div",{children:h}),(0,c.jsx)(k.Typography,{variant:"titleSM",children:"Vamos cadastrar uma nova senha de acesso."})]}),(0,c.jsx)(r2.Form,{onSubmit:e,children:({watch:g})=>{let P=s(g("senha")),X=u(g("senha")),D=d(g("senha"));return(0,c.jsxs)(I1,{children:[(0,c.jsxs)(_1,{children:[(0,c.jsxs)("div",{children:[(0,c.jsx)(r2.TextField,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:O}),(0,c.jsx)(r2.TextField,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:y=>{if(!y)return"Campo obrigat\xF3rio";if(y!==g("senha"))return"As senhas devem ser iguais"}}})]}),(0,c.jsxs)("div",{children:[(0,c.jsx)(k.Typography,{variant:"bodyXS",children:"Sua senha precisa conter:"}),(0,c.jsxs)(q1,{children:[(0,c.jsxs)(w2,{checked:Boolean(P),children:[P&&(0,c.jsx)(k.LIcon,{icon:F,size:"16px",removeMargin:!0}),(0,c.jsx)(k.Typography,{variant:"bodyXS",children:"Uma letra"})]}),(0,c.jsxs)(w2,{checked:Boolean(X),children:[X&&(0,c.jsx)(k.LIcon,{icon:F,size:"16px",removeMargin:!0}),(0,c.jsx)(k.Typography,{variant:"bodyXS",children:"Um n\xFAmero"})]}),(0,c.jsxs)(w2,{checked:Boolean(D),children:[D&&(0,c.jsx)(k.LIcon,{icon:F,size:"16px",removeMargin:!0}),(0,c.jsx)(k.Typography,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),(0,c.jsx)("div",{children:(0,c.jsx)(k.Button,{type:"submit",fullWidth:!0,disabled:f(g()),children:"Trocar minha senha"})})]})}})]})}))}var G=require("@s_mart/core");var T2=M(require("@emotion/styled"));var W1=T2.default.div`
318
318
  display: grid;
319
319
  gap: ${i(32)};
320
320
 
@@ -322,11 +322,11 @@
322
322
  display: grid;
323
323
  gap: ${i(16)};
324
324
  }
325
- `,_1=E2.default.header`
325
+ `,U1=T2.default.header`
326
326
  display: grid;
327
327
  text-align: center;
328
328
  gap: ${i(16)};
329
- `,q1=E2.default.div`
329
+ `,Y1=T2.default.div`
330
330
  display: grid;
331
331
  gap: ${i(32)};
332
332
 
@@ -334,7 +334,21 @@
334
334
  display: grid;
335
335
  gap: ${i(16)};
336
336
  }
337
- `;var w2=require("@s_mart/form");var f=require("react/jsx-runtime");function z1(n){var s=n,{logo:C,onVoltarParaLogin:e,onConfirmar:r}=s,a=E(s,["logo","onVoltarParaLogin","onConfirmar"]);let u=typeof C=="string"?(0,f.jsx)("img",{src:C,alt:"Logo do sistema"}):C,{width:c}=_();return(0,f.jsx)(Z,S(x({},a),{paperStyle:{minWidth:c>500?456:void 0,width:c>500?void 0:"90%"},children:(0,f.jsxs)(N1,{children:[(0,f.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[(0,f.jsx)(_1,{children:C&&(0,f.jsx)("div",{children:u})}),(0,f.jsx)(G.Typography,{variant:"titleMD",textAlign:"center",children:"Esqueceu a senha?"}),(0,f.jsx)(G.Typography,{variant:"bodySM",textAlign:"center",children:"Informe seu e-mail de acesso para receber instru\xE7\xF5es e criar uma nova senha."})]}),(0,f.jsx)(w2.Form,{onSubmit:r,children:(0,f.jsxs)(q1,{children:[(0,f.jsx)("div",{children:(0,f.jsx)(w2.TextField,{name:"email",label:"E-mail de acesso",required:!0,rules:d2([R,c2])})}),(0,f.jsxs)("div",{children:[(0,f.jsx)(G.Button,{fullWidth:!0,type:"submit",children:"Confirmar"}),(0,f.jsx)(G.Button,{fullWidth:!0,onClick:e,variant:"neutral",children:"Voltar para login"})]})]})})]})}))}0&&(module.exports={TelaCadastro,TelaConviteExpirado,TelaEsqueceuSenha,TelaInstrucoesEnviadas,TelaLogin,TelaNovaSenha,TemplateTelaBase});
337
+ `;var k2=require("@s_mart/form");var m=require("react/jsx-runtime");function X1(n){var s=n,{logo:C,onVoltarParaLogin:e,onConfirmar:r}=s,a=w(s,["logo","onVoltarParaLogin","onConfirmar"]);let u=typeof C=="string"?(0,m.jsx)("img",{src:C,alt:"Logo do sistema"}):C,{width:d}=_();return(0,m.jsx)(v,E(b({},a),{paperStyle:{minWidth:d>500?456:void 0,width:d>500?void 0:"90%"},children:(0,m.jsxs)(W1,{children:[(0,m.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[(0,m.jsx)(U1,{children:C&&(0,m.jsx)("div",{children:u})}),(0,m.jsx)(G.Typography,{variant:"titleMD",textAlign:"center",children:"Esqueceu a senha?"}),(0,m.jsx)(G.Typography,{variant:"bodySM",textAlign:"center",children:"Informe seu e-mail de acesso para receber instru\xE7\xF5es e criar uma nova senha."})]}),(0,m.jsx)(k2.Form,{onSubmit:r,children:(0,m.jsxs)(Y1,{children:[(0,m.jsx)("div",{children:(0,m.jsx)(k2.TextField,{name:"email",label:"E-mail de acesso",required:!0,rules:u2([O,H2])})}),(0,m.jsxs)("div",{children:[(0,m.jsx)(G.Button,{fullWidth:!0,type:"submit",children:"Confirmar"}),(0,m.jsx)(G.Button,{fullWidth:!0,onClick:e,variant:"neutral",children:"Voltar para login"})]})]})})]})}))}0&&(module.exports={TelaCadastro,TelaConviteExpirado,TelaEsqueceuSenha,TelaInstrucoesEnviadas,TelaLogin,TelaNovaSenha,TemplateTelaBase});
338
+ /**
339
+ * @mui/material v5.11.7
340
+ *
341
+ * @license MIT
342
+ * This source code is licensed under the MIT license found in the
343
+ * LICENSE file in the root directory of this source tree.
344
+ */
345
+ /**
346
+ * @mui/private-theming v5.11.7
347
+ *
348
+ * @license MIT
349
+ * This source code is licensed under the MIT license found in the
350
+ * LICENSE file in the root directory of this source tree.
351
+ */
338
352
  /** @license React v16.13.1
339
353
  * react-is.development.js
340
354
  *
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=Object.getOwnPropertyDescriptor,u3=Object.getOwnPropertyDescriptors,V3=Object.getOwnPropertyNames,J=Object.getOwnPropertySymbols,p3=Object.getPrototypeOf,Z2=Object.prototype.hasOwnProperty,F2=Object.prototype.propertyIsEnumerable;var D2=(C,e,r)=>e in C?g2(C,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):C[e]=r,Z=(C,e)=>{for(var r in e||(e={}))Z2.call(e,r)&&D2(C,r,e[r]);if(J)for(var r of J(e))F2.call(e,r)&&D2(C,r,e[r]);return C},y=(C,e)=>c3(C,u3(e));var x=(C,e)=>{var r={};for(var a in C)Z2.call(C,a)&&e.indexOf(a)<0&&(r[a]=C[a]);if(C!=null&&J)for(var a of J(C))e.indexOf(a)<0&&F2.call(C,a)&&(r[a]=C[a]);return r};var C2=(C,e)=>()=>(e||C((e={exports:{}}).exports,e),e.exports);var f3=(C,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of V3(e))!Z2.call(C,n)&&n!==r&&g2(C,n,{get:()=>e[n],enumerable:!(a=H3(e,n))||a.enumerable});return C};var M3=(C,e,r)=>(r=C!=null?d3(p3(C)):{},f3(e||!C||!C.__esModule?g2(r,"default",{value:C,enumerable:!0}):r,C));var C1=C2(s=>{"use strict";var u=typeof Symbol=="function"&&Symbol.for,x2=u?Symbol.for("react.element"):60103,b2=u?Symbol.for("react.portal"):60106,a2=u?Symbol.for("react.fragment"):60107,o2=u?Symbol.for("react.strict_mode"):60108,s2=u?Symbol.for("react.profiler"):60114,l2=u?Symbol.for("react.provider"):60109,L2=u?Symbol.for("react.context"):60110,S2=u?Symbol.for("react.async_mode"):60111,d2=u?Symbol.for("react.concurrent_mode"):60111,c2=u?Symbol.for("react.forward_ref"):60112,H2=u?Symbol.for("react.suspense"):60113,z3=u?Symbol.for("react.suspense_list"):60120,u2=u?Symbol.for("react.memo"):60115,V2=u?Symbol.for("react.lazy"):60116,W3=u?Symbol.for("react.block"):60121,j3=u?Symbol.for("react.fundamental"):60117,U3=u?Symbol.for("react.responder"):60118,Y3=u?Symbol.for("react.scope"):60119;function h(C){if(typeof C=="object"&&C!==null){var e=C.$$typeof;switch(e){case x2:switch(C=C.type,C){case S2:case d2:case a2:case s2:case o2:case H2:return C;default:switch(C=C&&C.$$typeof,C){case L2:case c2:case V2:case u2:case l2:return C;default:return e}}case b2:return e}}}function J2(C){return h(C)===d2}s.AsyncMode=S2;s.ConcurrentMode=d2;s.ContextConsumer=L2;s.ContextProvider=l2;s.Element=x2;s.ForwardRef=c2;s.Fragment=a2;s.Lazy=V2;s.Memo=u2;s.Portal=b2;s.Profiler=s2;s.StrictMode=o2;s.Suspense=H2;s.isAsyncMode=function(C){return J2(C)||h(C)===S2};s.isConcurrentMode=J2;s.isContextConsumer=function(C){return h(C)===L2};s.isContextProvider=function(C){return h(C)===l2};s.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===x2};s.isForwardRef=function(C){return h(C)===c2};s.isFragment=function(C){return h(C)===a2};s.isLazy=function(C){return h(C)===V2};s.isMemo=function(C){return h(C)===u2};s.isPortal=function(C){return h(C)===b2};s.isProfiler=function(C){return h(C)===s2};s.isStrictMode=function(C){return h(C)===o2};s.isSuspense=function(C){return h(C)===H2};s.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===a2||C===d2||C===s2||C===o2||C===H2||C===z3||typeof C=="object"&&C!==null&&(C.$$typeof===V2||C.$$typeof===u2||C.$$typeof===l2||C.$$typeof===L2||C.$$typeof===c2||C.$$typeof===j3||C.$$typeof===U3||C.$$typeof===Y3||C.$$typeof===W3)};s.typeOf=h});var e1=C2(l=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var C=typeof Symbol=="function"&&Symbol.for,e=C?Symbol.for("react.element"):60103,r=C?Symbol.for("react.portal"):60106,a=C?Symbol.for("react.fragment"):60107,n=C?Symbol.for("react.strict_mode"):60108,o=C?Symbol.for("react.profiler"):60114,c=C?Symbol.for("react.provider"):60109,L=C?Symbol.for("react.context"):60110,V=C?Symbol.for("react.async_mode"):60111,M=C?Symbol.for("react.concurrent_mode"):60111,f=C?Symbol.for("react.forward_ref"):60112,E=C?Symbol.for("react.suspense"):60113,I=C?Symbol.for("react.suspense_list"):60120,m=C?Symbol.for("react.memo"):60115,T=C?Symbol.for("react.lazy"):60116,X=C?Symbol.for("react.block"):60121,K=C?Symbol.for("react.fundamental"):60117,G=C?Symbol.for("react.responder"):60118,D1=C?Symbol.for("react.scope"):60119;function F1(t){return typeof t=="string"||typeof t=="function"||t===a||t===M||t===o||t===n||t===E||t===I||typeof t=="object"&&t!==null&&(t.$$typeof===T||t.$$typeof===m||t.$$typeof===c||t.$$typeof===L||t.$$typeof===f||t.$$typeof===K||t.$$typeof===G||t.$$typeof===D1||t.$$typeof===X)}function g(t){if(typeof t=="object"&&t!==null){var m2=t.$$typeof;switch(m2){case e:var Q=t.type;switch(Q){case V:case M:case a:case o:case n:case E:return Q;default:var R2=Q&&Q.$$typeof;switch(R2){case L:case f:case T:case m:case c:return R2;default:return m2}}case r:return m2}}}var I1=V,N1=M,_1=L,q1=c,z1=e,W1=f,j1=a,U1=T,Y1=m,X1=r,K1=o,G1=n,Q1=E,B2=!1;function J1(t){return B2||(B2=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O2(t)||g(t)===V}function O2(t){return g(t)===M}function C3(t){return g(t)===L}function e3(t){return g(t)===c}function r3(t){return typeof t=="object"&&t!==null&&t.$$typeof===e}function i3(t){return g(t)===f}function n3(t){return g(t)===a}function t3(t){return g(t)===T}function a3(t){return g(t)===m}function o3(t){return g(t)===r}function s3(t){return g(t)===o}function l3(t){return g(t)===n}function L3(t){return g(t)===E}l.AsyncMode=I1,l.ConcurrentMode=N1,l.ContextConsumer=_1,l.ContextProvider=q1,l.Element=z1,l.ForwardRef=W1,l.Fragment=j1,l.Lazy=U1,l.Memo=Y1,l.Portal=X1,l.Profiler=K1,l.StrictMode=G1,l.Suspense=Q1,l.isAsyncMode=J1,l.isConcurrentMode=O2,l.isContextConsumer=C3,l.isContextProvider=e3,l.isElement=r3,l.isForwardRef=i3,l.isFragment=n3,l.isLazy=t3,l.isMemo=a3,l.isPortal=o3,l.isProfiler=s3,l.isStrictMode=l3,l.isSuspense=L3,l.isValidElementType=F1,l.typeOf=g}()});var r1=C2((r4,E2)=>{"use strict";process.env.NODE_ENV==="production"?E2.exports=C1():E2.exports=e1()});var l1=C2((i4,s1)=>{"use strict";var w2=r1(),X3={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},K3={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},G3={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},T2={};T2[w2.ForwardRef]=G3;T2[w2.Memo]=a1;function i1(C){return w2.isMemo(C)?a1:T2[C.$$typeof]||X3}var Q3=Object.defineProperty,J3=Object.getOwnPropertyNames,n1=Object.getOwnPropertySymbols,C5=Object.getOwnPropertyDescriptor,e5=Object.getPrototypeOf,t1=Object.prototype;function o1(C,e,r){if(typeof e!="string"){if(t1){var a=e5(e);a&&a!==t1&&o1(C,a,r)}var n=J3(e);n1&&(n=n.concat(n1(e)));for(var o=i1(C),c=i1(e),L=0;L<n.length;++L){var V=n[L];if(!K3[V]&&!(r&&r[V])&&!(c&&c[V])&&!(o&&o[V])){var M=C5(e,V);try{Q3(C,V,M)}catch(f){}}}}return C}s1.exports=o1});import{LIcon as k3,Typography as P3}from"@s_mart/core";import{telefone as $3}from"@s_mart/masks";var A={description:"M37.4802 11.2595L18.4955 30.6836L11.5198 23.5465C11.1816 23.2004 10.6333 23.2004 10.295 23.5465L8.25365 25.635C7.91545 25.9811 7.91545 26.5421 8.25365 26.8882L17.8831 36.7405C18.2213 37.0865 18.7696 37.0865 19.1079 36.7405L40.7463 14.6013C41.0845 14.2553 41.0845 13.6942 40.7463 13.3481L38.705 11.2595C38.3668 10.9135 37.8184 10.9135 37.4802 11.2595Z",viewBox:"0 0 48 48",id:"line-check-regular"};var e2={description:"M35.2071 12.65C32.2143 9.65 28.2286 8 23.9929 8C15.25 8 8.13571 15.1143 8.13571 23.8571C8.13571 26.65 8.86429 29.3786 10.25 31.7857L8 40L16.4071 37.7929C18.7214 39.0571 21.3286 39.7214 23.9857 39.7214H23.9929C32.7286 39.7214 40 32.6071 40 23.8643C40 19.6286 38.2 15.65 35.2071 12.65ZM23.9929 37.05C21.6214 37.05 19.3 36.4143 17.2786 35.2143L16.8 34.9286L11.8143 36.2357L13.1429 31.3714L12.8286 30.8714C11.5071 28.7714 10.8143 26.35 10.8143 23.8571C10.8143 16.5929 16.7286 10.6786 24 10.6786C27.5214 10.6786 30.8286 12.05 33.3143 14.5429C35.8 17.0357 37.3286 20.3429 37.3214 23.8643C37.3214 31.1357 31.2571 37.05 23.9929 37.05ZM31.2214 27.1786C30.8286 26.9786 28.8786 26.0214 28.5143 25.8929C28.15 25.7571 27.8857 25.6929 27.6214 26.0929C27.3571 26.4929 26.6 27.3786 26.3643 27.65C26.1357 27.9143 25.9 27.95 25.5071 27.75C23.1786 26.5857 21.65 25.6714 20.1143 23.0357C19.7071 22.3357 20.5214 22.3857 21.2786 20.8714C21.4071 20.6071 21.3429 20.3786 21.2429 20.1786C21.1429 19.9786 20.35 18.0286 20.0214 17.2357C19.7 16.4643 19.3714 16.5714 19.1286 16.5571C18.9 16.5429 18.6357 16.5429 18.3714 16.5429C18.1071 16.5429 17.6786 16.6429 17.3143 17.0357C16.95 17.4357 15.9286 18.3929 15.9286 20.3429C15.9286 22.2929 17.35 24.1786 17.5429 24.4429C17.7429 24.7071 20.3357 28.7071 24.3143 30.4286C26.8286 31.5143 27.8143 31.6071 29.0714 31.4214C29.8357 31.3071 31.4143 30.4643 31.7429 29.5357C32.0714 28.6071 32.0714 27.8143 31.9714 27.65C31.8786 27.4714 31.6143 27.3714 31.2214 27.1786Z",viewBox:"0 0 48 48",id:"line-whatsapp-regular"};var i=C=>`${C/16}rem`;import q from"@emotion/styled";var m3=Object.defineProperty,g3=(C,e)=>{for(var r in e)m3(C,r,{get:e[r],enumerable:!0})},d={};g3(d,{blue:()=>v3,green:()=>b3,neutral:()=>T3,red:()=>y3,yellow:()=>E3});var Z3={75:"#AFD2FF",100:"#689DCB",300:"#045BA8",500:"#132C70"},v3=Z3,h3={75:"#FEBCAC",100:"#F5917F",300:"#EF4829",500:"#BD2601"},y3=h3,x3={75:"#D6EEBC",100:"#A5D770",300:"#49BF00",500:"#518133"},b3=x3,S3={75:"#FDEFB3",100:"#FFE380",300:"#FFAB00",500:"#C56C00"},E3=S3,w3={0:"#FFFFFF",10:"#FBFBFB",20:"#F4F5F7",30:"#EEEEEE",40:"#DBDBDB",50:"#CACACA",100:"#8B8B8B",500:"#555555",600:"#464646",800:"#2E2E2E",900:"#262626"},T3=w3;var I2=q.div`
1
+ var p3=Object.create;var h2=Object.defineProperty,V3=Object.defineProperties,f3=Object.getOwnPropertyDescriptor,m3=Object.getOwnPropertyDescriptors,M3=Object.getOwnPropertyNames,e2=Object.getOwnPropertySymbols,g3=Object.getPrototypeOf,y2=Object.prototype.hasOwnProperty,I2=Object.prototype.propertyIsEnumerable;var F2=(C,e,r)=>e in C?h2(C,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):C[e]=r,Z=(C,e)=>{for(var r in e||(e={}))y2.call(e,r)&&F2(C,r,e[r]);if(e2)for(var r of e2(e))I2.call(e,r)&&F2(C,r,e[r]);return C},y=(C,e)=>V3(C,m3(e));var x=(C,e)=>{var r={};for(var a in C)y2.call(C,a)&&e.indexOf(a)<0&&(r[a]=C[a]);if(C!=null&&e2)for(var a of e2(C))e.indexOf(a)<0&&I2.call(C,a)&&(r[a]=C[a]);return r};var r2=(C,e)=>()=>(e||C((e={exports:{}}).exports,e),e.exports);var Z3=(C,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of M3(e))!y2.call(C,n)&&n!==r&&h2(C,n,{get:()=>e[n],enumerable:!(a=f3(e,n))||a.enumerable});return C};var v3=(C,e,r)=>(r=C!=null?p3(g3(C)):{},Z3(e||!C||!C.__esModule?h2(r,"default",{value:C,enumerable:!0}):r,C));var r1=r2(s=>{"use strict";var H=typeof Symbol=="function"&&Symbol.for,S2=H?Symbol.for("react.element"):60103,E2=H?Symbol.for("react.portal"):60106,l2=H?Symbol.for("react.fragment"):60107,L2=H?Symbol.for("react.strict_mode"):60108,c2=H?Symbol.for("react.profiler"):60114,d2=H?Symbol.for("react.provider"):60109,u2=H?Symbol.for("react.context"):60110,w2=H?Symbol.for("react.async_mode"):60111,H2=H?Symbol.for("react.concurrent_mode"):60111,p2=H?Symbol.for("react.forward_ref"):60112,V2=H?Symbol.for("react.suspense"):60113,Y3=H?Symbol.for("react.suspense_list"):60120,f2=H?Symbol.for("react.memo"):60115,m2=H?Symbol.for("react.lazy"):60116,X3=H?Symbol.for("react.block"):60121,K3=H?Symbol.for("react.fundamental"):60117,G3=H?Symbol.for("react.responder"):60118,Q3=H?Symbol.for("react.scope"):60119;function h(C){if(typeof C=="object"&&C!==null){var e=C.$$typeof;switch(e){case S2:switch(C=C.type,C){case w2:case H2:case l2:case c2:case L2:case V2:return C;default:switch(C=C&&C.$$typeof,C){case u2:case p2:case m2:case f2:case d2:return C;default:return e}}case E2:return e}}}function e1(C){return h(C)===H2}s.AsyncMode=w2;s.ConcurrentMode=H2;s.ContextConsumer=u2;s.ContextProvider=d2;s.Element=S2;s.ForwardRef=p2;s.Fragment=l2;s.Lazy=m2;s.Memo=f2;s.Portal=E2;s.Profiler=c2;s.StrictMode=L2;s.Suspense=V2;s.isAsyncMode=function(C){return e1(C)||h(C)===w2};s.isConcurrentMode=e1;s.isContextConsumer=function(C){return h(C)===u2};s.isContextProvider=function(C){return h(C)===d2};s.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===S2};s.isForwardRef=function(C){return h(C)===p2};s.isFragment=function(C){return h(C)===l2};s.isLazy=function(C){return h(C)===m2};s.isMemo=function(C){return h(C)===f2};s.isPortal=function(C){return h(C)===E2};s.isProfiler=function(C){return h(C)===c2};s.isStrictMode=function(C){return h(C)===L2};s.isSuspense=function(C){return h(C)===V2};s.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===l2||C===H2||C===c2||C===L2||C===V2||C===Y3||typeof C=="object"&&C!==null&&(C.$$typeof===m2||C.$$typeof===f2||C.$$typeof===d2||C.$$typeof===u2||C.$$typeof===p2||C.$$typeof===K3||C.$$typeof===G3||C.$$typeof===Q3||C.$$typeof===X3)};s.typeOf=h});var i1=r2(l=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var C=typeof Symbol=="function"&&Symbol.for,e=C?Symbol.for("react.element"):60103,r=C?Symbol.for("react.portal"):60106,a=C?Symbol.for("react.fragment"):60107,n=C?Symbol.for("react.strict_mode"):60108,o=C?Symbol.for("react.profiler"):60114,c=C?Symbol.for("react.provider"):60109,L=C?Symbol.for("react.context"):60110,p=C?Symbol.for("react.async_mode"):60111,m=C?Symbol.for("react.concurrent_mode"):60111,f=C?Symbol.for("react.forward_ref"):60112,E=C?Symbol.for("react.suspense"):60113,F=C?Symbol.for("react.suspense_list"):60120,P=C?Symbol.for("react.memo"):60115,M=C?Symbol.for("react.lazy"):60116,K=C?Symbol.for("react.block"):60121,G=C?Symbol.for("react.fundamental"):60117,Q=C?Symbol.for("react.responder"):60118,J=C?Symbol.for("react.scope"):60119;function q1(t){return typeof t=="string"||typeof t=="function"||t===a||t===m||t===o||t===n||t===E||t===F||typeof t=="object"&&t!==null&&(t.$$typeof===M||t.$$typeof===P||t.$$typeof===c||t.$$typeof===L||t.$$typeof===f||t.$$typeof===G||t.$$typeof===Q||t.$$typeof===J||t.$$typeof===K)}function g(t){if(typeof t=="object"&&t!==null){var v2=t.$$typeof;switch(v2){case e:var C2=t.type;switch(C2){case p:case m:case a:case o:case n:case E:return C2;default:var N2=C2&&C2.$$typeof;switch(N2){case L:case f:case M:case P:case c:return N2;default:return v2}}case r:return v2}}}var z1=p,j1=m,W1=L,U1=c,Y1=e,X1=f,K1=a,G1=M,Q1=P,J1=r,C3=o,e3=n,r3=E,D2=!1;function i3(t){return D2||(D2=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R2(t)||g(t)===p}function R2(t){return g(t)===m}function n3(t){return g(t)===L}function t3(t){return g(t)===c}function a3(t){return typeof t=="object"&&t!==null&&t.$$typeof===e}function o3(t){return g(t)===f}function s3(t){return g(t)===a}function l3(t){return g(t)===M}function L3(t){return g(t)===P}function c3(t){return g(t)===r}function d3(t){return g(t)===o}function u3(t){return g(t)===n}function H3(t){return g(t)===E}l.AsyncMode=z1,l.ConcurrentMode=j1,l.ContextConsumer=W1,l.ContextProvider=U1,l.Element=Y1,l.ForwardRef=X1,l.Fragment=K1,l.Lazy=G1,l.Memo=Q1,l.Portal=J1,l.Profiler=C3,l.StrictMode=e3,l.Suspense=r3,l.isAsyncMode=i3,l.isConcurrentMode=R2,l.isContextConsumer=n3,l.isContextProvider=t3,l.isElement=a3,l.isForwardRef=o3,l.isFragment=s3,l.isLazy=l3,l.isMemo=L3,l.isPortal=c3,l.isProfiler=d3,l.isStrictMode=u3,l.isSuspense=H3,l.isValidElementType=q1,l.typeOf=g}()});var n1=r2((o4,T2)=>{"use strict";process.env.NODE_ENV==="production"?T2.exports=r1():T2.exports=i1()});var c1=r2((s4,L1)=>{"use strict";var k2=n1(),J3={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},C5={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},e5={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},P2={};P2[k2.ForwardRef]=e5;P2[k2.Memo]=s1;function t1(C){return k2.isMemo(C)?s1:P2[C.$$typeof]||J3}var r5=Object.defineProperty,i5=Object.getOwnPropertyNames,a1=Object.getOwnPropertySymbols,n5=Object.getOwnPropertyDescriptor,t5=Object.getPrototypeOf,o1=Object.prototype;function l1(C,e,r){if(typeof e!="string"){if(o1){var a=t5(e);a&&a!==o1&&l1(C,a,r)}var n=i5(e);a1&&(n=n.concat(a1(e)));for(var o=t1(C),c=t1(e),L=0;L<n.length;++L){var p=n[L];if(!C5[p]&&!(r&&r[p])&&!(c&&c[p])&&!(o&&o[p])){var m=n5(e,p);try{r5(C,p,m)}catch(f){}}}}return C}L1.exports=l1});import{LIcon as O3,Typography as B3}from"@s_mart/core";import{telefone as D3}from"@s_mart/masks";var A={description:"M37.4802 11.2595L18.4955 30.6836L11.5198 23.5465C11.1816 23.2004 10.6333 23.2004 10.295 23.5465L8.25365 25.635C7.91545 25.9811 7.91545 26.5421 8.25365 26.8882L17.8831 36.7405C18.2213 37.0865 18.7696 37.0865 19.1079 36.7405L40.7463 14.6013C41.0845 14.2553 41.0845 13.6942 40.7463 13.3481L38.705 11.2595C38.3668 10.9135 37.8184 10.9135 37.4802 11.2595Z",viewBox:"0 0 48 48",id:"line-check-regular"};var i2={description:"M35.2071 12.65C32.2143 9.65 28.2286 8 23.9929 8C15.25 8 8.13571 15.1143 8.13571 23.8571C8.13571 26.65 8.86429 29.3786 10.25 31.7857L8 40L16.4071 37.7929C18.7214 39.0571 21.3286 39.7214 23.9857 39.7214H23.9929C32.7286 39.7214 40 32.6071 40 23.8643C40 19.6286 38.2 15.65 35.2071 12.65ZM23.9929 37.05C21.6214 37.05 19.3 36.4143 17.2786 35.2143L16.8 34.9286L11.8143 36.2357L13.1429 31.3714L12.8286 30.8714C11.5071 28.7714 10.8143 26.35 10.8143 23.8571C10.8143 16.5929 16.7286 10.6786 24 10.6786C27.5214 10.6786 30.8286 12.05 33.3143 14.5429C35.8 17.0357 37.3286 20.3429 37.3214 23.8643C37.3214 31.1357 31.2571 37.05 23.9929 37.05ZM31.2214 27.1786C30.8286 26.9786 28.8786 26.0214 28.5143 25.8929C28.15 25.7571 27.8857 25.6929 27.6214 26.0929C27.3571 26.4929 26.6 27.3786 26.3643 27.65C26.1357 27.9143 25.9 27.95 25.5071 27.75C23.1786 26.5857 21.65 25.6714 20.1143 23.0357C19.7071 22.3357 20.5214 22.3857 21.2786 20.8714C21.4071 20.6071 21.3429 20.3786 21.2429 20.1786C21.1429 19.9786 20.35 18.0286 20.0214 17.2357C19.7 16.4643 19.3714 16.5714 19.1286 16.5571C18.9 16.5429 18.6357 16.5429 18.3714 16.5429C18.1071 16.5429 17.6786 16.6429 17.3143 17.0357C16.95 17.4357 15.9286 18.3929 15.9286 20.3429C15.9286 22.2929 17.35 24.1786 17.5429 24.4429C17.7429 24.7071 20.3357 28.7071 24.3143 30.4286C26.8286 31.5143 27.8143 31.6071 29.0714 31.4214C29.8357 31.3071 31.4143 30.4643 31.7429 29.5357C32.0714 28.6071 32.0714 27.8143 31.9714 27.65C31.8786 27.4714 31.6143 27.3714 31.2214 27.1786Z",viewBox:"0 0 48 48",id:"line-whatsapp-regular"};var i=C=>`${C/16}rem`;import q from"@emotion/styled";var h3=Object.defineProperty,y3=(C,e)=>{for(var r in e)h3(C,r,{get:e[r],enumerable:!0})},d={};y3(d,{blue:()=>b3,green:()=>T3,neutral:()=>A3,red:()=>E3,yellow:()=>P3});var x3={75:"#AFD2FF",100:"#689DCB",300:"#045BA8",500:"#132C70"},b3=x3,S3={75:"#FEBCAC",100:"#F5917F",300:"#EF4829",500:"#BD2601"},E3=S3,w3={75:"#D6EEBC",100:"#A5D770",300:"#49BF00",500:"#518133"},T3=w3,k3={75:"#FDEFB3",100:"#FFE380",300:"#FFAB00",500:"#C56C00"},P3=k3,$3={0:"#FFFFFF",10:"#FBFBFB",20:"#F4F5F7",30:"#EEEEEE",40:"#DBDBDB",50:"#CACACA",100:"#8B8B8B",500:"#555555",600:"#464646",800:"#2E2E2E",900:"#262626"},A3=$3;var _2=q.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -18,7 +18,7 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
18
18
  @media (max-height: 600px) {
19
19
  justify-content: flex-start;
20
20
  }
21
- `,N2=q.div`
21
+ `,q2=q.div`
22
22
  position: absolute;
23
23
  left: 0;
24
24
  bottom: 32px;
@@ -27,7 +27,7 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
27
27
  @media (max-width: 768px) {
28
28
  display: none;
29
29
  }
30
- `,_2=q.h1`
30
+ `,z2=q.h1`
31
31
  position: absolute;
32
32
  left: 32px;
33
33
  top: 32px;
@@ -66,7 +66,7 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
66
66
  @media (max-width: 500px) {
67
67
  display: none;
68
68
  }
69
- `,q2=q.div`
69
+ `,j2=q.div`
70
70
  position: relative;
71
71
  z-index: 2;
72
72
 
@@ -75,7 +75,7 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
75
75
  margin: ${i(16)};
76
76
 
77
77
  background-color: ${({theme:C})=>C.palette.common.white};
78
- `,z2=q.button`
78
+ `,W2=q.button`
79
79
  position: relative;
80
80
  z-index: 2;
81
81
 
@@ -99,17 +99,17 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
99
99
  color: ${d.green[300]};
100
100
  }
101
101
  }
102
- `;import{jsx as z,jsxs as v2}from"react/jsx-runtime";function v({children:C,whatsapp:e,textoChamativo:r,style:a,paperStyle:n,ilustracao:o}){return v2(I2,{style:a,children:[r&&z(_2,{children:r}),o&&z(N2,{children:typeof o=="string"?z("img",{src:o,alt:"Logo do sistema"}):o}),z(q2,{style:n,children:C}),e&&v2(z2,{onClick:()=>{window.open(`https://api.whatsapp.com/send?phone=${e}`)},style:{marginBottom:16},children:[v2(P3,{variant:"bodyXS",children:["Com d\xFAvidas? ",$3.format(e.slice(2))]}),z(k3,{icon:e2,size:"20px",removeMargin:!0})]})]})}import{Button as I3,LIcon as h2,Typography as W}from"@s_mart/core";import{Checkbox as N3,Form as _3,TextField as y2}from"@s_mart/form";var A3=Object.defineProperty,B3=Object.defineProperties,O3=Object.getOwnPropertyDescriptors,W2=Object.getOwnPropertySymbols,R3=Object.prototype.hasOwnProperty,D3=Object.prototype.propertyIsEnumerable,j2=(C,e,r)=>e in C?A3(C,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):C[e]=r,r2=(C,e)=>{for(var r in e||(e={}))R3.call(e,r)&&j2(C,r,e[r]);if(W2)for(var r of W2(e))D3.call(e,r)&&j2(C,r,e[r]);return C},F3=(C,e)=>B3(C,O3(e));var i2=C=>{let e={validate:{}};return C.forEach(r=>{e=F3(r2(r2({},e),r),{validate:r2(r2({},e.validate),r.validate)})}),e},P={validate:{required:C=>{if(!C)return"Campo obrigat\xF3rio"}}},n2={validate:{email:C=>{if(C&&!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(C))return"O email \xE9 inv\xE1lido"}}};import N from"@emotion/styled";var U2=N.div`
102
+ `;import{jsx as z,jsxs as x2}from"react/jsx-runtime";function v({children:C,whatsapp:e,textoChamativo:r,style:a,paperStyle:n,ilustracao:o}){return x2(_2,{style:a,children:[r&&z(z2,{children:r}),o&&z(q2,{children:typeof o=="string"?z("img",{src:o,alt:"Logo do sistema"}):o}),z(j2,{style:n,children:C}),e&&x2(W2,{onClick:()=>{window.open(`https://api.whatsapp.com/send?phone=${e}`)},style:{marginBottom:16},children:[x2(B3,{variant:"bodyXS",children:["Com d\xFAvidas? ",D3.format(e.slice(2))]}),z(O3,{icon:i2,size:"20px",removeMargin:!0})]})]})}import{Button as z3,LIcon as b2,Typography as j}from"@s_mart/core";import{Checkbox as j3,Form as W3,TextField as s2}from"@s_mart/form";var R3=Object.defineProperty,N3=Object.defineProperties,F3=Object.getOwnPropertyDescriptors,U2=Object.getOwnPropertySymbols,I3=Object.prototype.hasOwnProperty,_3=Object.prototype.propertyIsEnumerable,Y2=(C,e,r)=>e in C?R3(C,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):C[e]=r,n2=(C,e)=>{for(var r in e||(e={}))I3.call(e,r)&&Y2(C,r,e[r]);if(U2)for(var r of U2(e))_3.call(e,r)&&Y2(C,r,e[r]);return C},q3=(C,e)=>N3(C,F3(e));var t2=C=>{let e={validate:{}};return C.forEach(r=>{e=q3(n2(n2({},e),r),{validate:n2(n2({},e.validate),r.validate)})}),e},T={validate:{required:C=>{if(!(C!=null&&C.trim()))return"Campo obrigat\xF3rio"}}},a2={validate:{email:C=>{if(C&&!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(C))return"O email \xE9 inv\xE1lido"}}};import I from"@emotion/styled";var X2=I.div`
103
103
  display: grid;
104
104
  gap: ${i(32)};
105
- `,Y2=N.header`
105
+ `,K2=I.header`
106
106
  display: grid;
107
107
  text-align: center;
108
108
  gap: ${i(16)};
109
- `,X2=N.div`
109
+ `,G2=I.div`
110
110
  display: grid;
111
111
  gap: ${i(32)};
112
- `,K2=N.div`
112
+ `,Q2=I.div`
113
113
  display: grid;
114
114
  gap: ${i(4)};
115
115
 
@@ -128,11 +128,11 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
128
128
  display: grid;
129
129
  gap: ${i(4)};
130
130
  }
131
- `,G2=N.div`
131
+ `,J2=I.div`
132
132
  display: flex;
133
133
  flex-wrap: wrap;
134
134
  gap: ${i(8)};
135
- `,t2=N.div`
135
+ `,o2=I.div`
136
136
  display: flex;
137
137
  align-items: center;
138
138
  gap: ${i(4)};
@@ -149,7 +149,7 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
149
149
  color: ${d.green[300]};
150
150
  border-color: ${d.green[300]};
151
151
  `}}
152
- `;function Q2(){let C=n=>n?n.match(/[a-z]/i):!1,e=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:C,senhaContemNumero:e,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.email||!n.senha||!n.confirmarSenha||!n.termosDeUso||!C(n.senha)||!e(n.senha)||!r(n.senha)}}import{jsx as H,jsxs as b}from"react/jsx-runtime";function q3(c){var L=c,{logo:C,nomeSistema:e,onSubmit:r,linkTermosDeUso:a,email:n}=L,o=x(L,["logo","nomeSistema","onSubmit","linkTermosDeUso","email"]);let{senhaContemLetra:V,senhaContemNumero:M,senhaContemMinimoDe6Caracteres:f,desabilitarBotaoDeCadastro:E}=Q2(),I=typeof C=="string"?H("img",{src:C,alt:"Logo do sistema"}):C;return H(v,y(Z({},o),{children:b(U2,{children:[b(Y2,{children:[C&&H("div",{children:I}),b(W,{variant:"titleSM",children:["Vamos cadastrar uma senha de acesso ao ",e,"."]})]}),H(_3,{onSubmit:r,defaultValues:{email:n,termosDeUso:!1},children:({watch:m})=>{let T=V(m("senha")),X=M(m("senha")),K=f(m("senha"));return b(X2,{children:[H(y2,{name:"email",label:"E-mail de acesso",required:!0,disabled:!0}),b(K2,{children:[b("div",{children:[H(y2,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:P}),H(y2,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:G=>{if(!G)return"Campo obrigat\xF3rio";if(G!==m("senha"))return"As senhas devem ser iguais"}}})]}),b("div",{children:[H(W,{variant:"bodyXS",children:"Sua senha precisa conter:"}),b(G2,{children:[b(t2,{checked:Boolean(T),children:[T&&H(h2,{icon:A,size:"16px",removeMargin:!0}),H(W,{variant:"bodyXS",children:"Uma letra"})]}),b(t2,{checked:Boolean(X),children:[X&&H(h2,{icon:A,size:"16px",removeMargin:!0}),H(W,{variant:"bodyXS",children:"Um n\xFAmero"})]}),b(t2,{checked:Boolean(K),children:[K&&H(h2,{icon:A,size:"16px",removeMargin:!0}),H(W,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),H("div",{children:H(N3,{name:"termosDeUso",label:b("div",{style:{display:"flex",gap:4},children:[H("span",{children:"Li e aceito os"}),H("a",{href:a,target:"_blank",style:{color:"var(--color-primary)"},rel:"noreferrer",children:"termos de uso"})]})})}),H("div",{children:H(I3,{type:"submit",fullWidth:!0,disabled:E(m()),children:"Concluir meu cadastro"})})]})}})]})}))}import{useMemo as o5}from"react";import{Button as u1,Indicator as s5,Typography as l5}from"@s_mart/core";import{Checkbox as L5,Form as d5,TextField as V1}from"@s_mart/form";import{useEffect as n5,useState as t5}from"react";import p2 from"react";import a4,{forwardRef as o4,useRef as s4,useCallback as l4,useLayoutEffect as L4,useEffect as d4,createElement as c4,useState as H4,Component as u4,useContext as V4}from"react";import{createPortal as f4}from"react-dom";var r5=M3(l1());var i5="SnackbarContent",m4={root:i5+"-root"};var $="SnackbarItem",g4={contentRoot:$+"-contentRoot",lessPadding:$+"-lessPadding",variantSuccess:$+"-variantSuccess",variantError:$+"-variantError",variantInfo:$+"-variantInfo",variantWarning:$+"-variantWarning",message:$+"-message",action:$+"-action",wrappedRoot:$+"-wrappedRoot"};var R="SnackbarContainer",Z4={root:R+"-root",rootDense:R+"-rootDense",top:R+"-top",bottom:R+"-bottom",left:R+"-left",right:R+"-right",center:R+"-center"};var v4=process.env.NODE_ENV!=="production";import k2 from"@emotion/styled";import a5 from"@emotion/styled";import{css as D}from"@emotion/react";import{jsx as F4}from"react/jsx-runtime";import{Fragment as N4,jsx as _4}from"react/jsx-runtime";import{Fragment as z4,jsx as W4,jsxs as j4}from"react/jsx-runtime";import{useEffect as Y4,useRef as X4}from"react";var L1=()=>{let[C,e]=t5(!1);return n5(()=>{let r=a=>{a.key==="CapsLock"&&e(a.getModifierState("CapsLock"))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}},[]),C};var B=({defaultValue:C}={})=>{let e=typeof window!="undefined",r=p2.useCallback(()=>{if(!e){if(C){let{width:c=0,height:L=0}=C;return{width:c,height:L}}return{width:0,height:0}}return{width:window.innerWidth,height:window.innerHeight}},[e,C]),[a,n]=p2.useState(r()),o=p2.useCallback(()=>{n(r())},[n,r]);return p2.useEffect(()=>e?(window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}):()=>{},[o,e]),a},k4=k2.div`
152
+ `;function C1(){let C=n=>n?n.match(/[a-z]/i):!1,e=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:C,senhaContemNumero:e,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.email||!n.senha||!n.confirmarSenha||!n.termosDeUso||!C(n.senha)||!e(n.senha)||!r(n.senha)}}import{jsx as u,jsxs as b}from"react/jsx-runtime";function U3(L){var p=L,{logo:C,nomeSistema:e,onSubmit:r,linkTermosDeUso:a,email:n,mostrarNomeUsuario:o}=p,c=x(p,["logo","nomeSistema","onSubmit","linkTermosDeUso","email","mostrarNomeUsuario"]);let{senhaContemLetra:m,senhaContemNumero:f,senhaContemMinimoDe6Caracteres:E,desabilitarBotaoDeCadastro:F}=C1(),P=typeof C=="string"?u("img",{src:C,alt:"Logo do sistema"}):C;return u(v,y(Z({},c),{children:b(X2,{children:[b(K2,{children:[C&&u("div",{children:P}),b(j,{variant:"titleSM",children:["Vamos cadastrar uma senha de acesso ao ",e,"."]})]}),u(W3,{onSubmit:r,defaultValues:{email:n,termosDeUso:!1},children:({watch:M})=>{let K=m(M("senha")),G=f(M("senha")),Q=E(M("senha"));return b(G2,{children:[u(s2,{name:"email",label:"E-mail de acesso",required:!0,disabled:!0}),o&&u(s2,{name:"nome",label:"Nome completo",required:!0,rules:T}),b(Q2,{children:[b("div",{children:[u(s2,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:T}),u(s2,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:J=>{if(!J)return"Campo obrigat\xF3rio";if(J!==M("senha"))return"As senhas devem ser iguais"}}})]}),b("div",{children:[u(j,{variant:"bodyXS",children:"Sua senha precisa conter:"}),b(J2,{children:[b(o2,{checked:Boolean(K),children:[K&&u(b2,{icon:A,size:"16px",removeMargin:!0}),u(j,{variant:"bodyXS",children:"Uma letra"})]}),b(o2,{checked:Boolean(G),children:[G&&u(b2,{icon:A,size:"16px",removeMargin:!0}),u(j,{variant:"bodyXS",children:"Um n\xFAmero"})]}),b(o2,{checked:Boolean(Q),children:[Q&&u(b2,{icon:A,size:"16px",removeMargin:!0}),u(j,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),u("div",{children:u(j3,{name:"termosDeUso",label:b("div",{style:{display:"flex",gap:4},children:[u("span",{children:"Li e aceito os"}),u("a",{href:a,target:"_blank",style:{color:"var(--color-primary)"},rel:"noreferrer",children:"termos de uso"})]})})}),u("div",{children:u(z3,{type:"submit",fullWidth:!0,disabled:F(M()),children:"Concluir meu cadastro"})})]})}})]})}))}import{useMemo as d5}from"react";import{Button as M1,Indicator as u5,Typography as H5}from"@s_mart/core";import{Checkbox as p5,Form as V5,TextField as g1}from"@s_mart/form";import{useEffect as s5,useState as l5}from"react";import M2 from"react";import c4,{forwardRef as d4,useRef as u4,useCallback as H4,useLayoutEffect as p4,useEffect as V4,createElement as f4,useState as m4,Component as M4,useContext as g4}from"react";import{createPortal as v4}from"react-dom";var a5=v3(c1());var o5="SnackbarContent",y4={root:o5+"-root"};var $="SnackbarItem",x4={contentRoot:$+"-contentRoot",lessPadding:$+"-lessPadding",variantSuccess:$+"-variantSuccess",variantError:$+"-variantError",variantInfo:$+"-variantInfo",variantWarning:$+"-variantWarning",message:$+"-message",action:$+"-action",wrappedRoot:$+"-wrappedRoot"};var D="SnackbarContainer",b4={root:D+"-root",rootDense:D+"-rootDense",top:D+"-top",bottom:D+"-bottom",left:D+"-left",right:D+"-right",center:D+"-center"};var S4=process.env.NODE_ENV!=="production";import $2 from"@emotion/styled";import L5 from"@emotion/styled";import{css as R}from"@emotion/react";import{jsx as z4}from"react/jsx-runtime";import{Fragment as W4,jsx as U4}from"react/jsx-runtime";import{Fragment as X4,jsx as K4,jsxs as G4}from"react/jsx-runtime";import{useEffect as J4,useRef as C8}from"react";import*as u1 from"react";import*as H1 from"react";import*as p1 from"react";import*as W from"react";var d1=()=>{let[C,e]=l5(!1);return s5(()=>{let r=a=>{a.key==="CapsLock"&&e(a.getModifierState("CapsLock"))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}},[]),C};var O=({defaultValue:C}={})=>{let e=typeof window!="undefined",r=M2.useCallback(()=>{if(!e){if(C){let{width:c=0,height:L=0}=C;return{width:c,height:L}}return{width:0,height:0}}return{width:window.innerWidth,height:window.innerHeight}},[e,C]),[a,n]=M2.useState(r()),o=M2.useCallback(()=>{n(r())},[n,r]);return M2.useEffect(()=>e?(window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}):()=>{},[o,e]),a},B4=$2.div`
153
153
  display: flex;
154
154
  align-items: center;
155
155
  justify-content: space-between;
@@ -169,7 +169,7 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
169
169
  align-items: center;
170
170
  gap: ${i(8)};
171
171
  }
172
- `,P4=k2.div`
172
+ `,D4=$2.div`
173
173
  display: flex;
174
174
  flex-direction: column;
175
175
  justify-content: center;
@@ -177,10 +177,10 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
177
177
  > *:first-of-type {
178
178
  margin-bottom: ${i(4)};
179
179
  }
180
- `,$4=k2.div`
180
+ `,R4=$2.div`
181
181
  cursor: pointer;
182
182
  align-self: flex-start;
183
- `,R4=a5.i`
183
+ `,_4=L5.i`
184
184
  align-self: center;
185
185
  display: inline-flex;
186
186
  color: ${({color:C})=>C};
@@ -191,23 +191,23 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
191
191
  z-index: 0 !important;
192
192
  outline: 0 !important;
193
193
 
194
- ${({left:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&D`
194
+ ${({left:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&R`
195
195
  left: ${C};
196
196
  `}
197
197
 
198
- ${({right:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&D`
198
+ ${({right:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&R`
199
199
  right: ${C};
200
200
  `}
201
201
 
202
- ${({top:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&D`
202
+ ${({top:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&R`
203
203
  top: ${C};
204
204
  `}
205
205
 
206
- ${({bottom:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&D`
206
+ ${({bottom:C})=>(typeof C=="string"||typeof C=="number"&&C>0)&&R`
207
207
  bottom: ${C};
208
208
  `}
209
209
 
210
- ${({color:C})=>{let e=C;return C==="inherit"&&(e="currentColor"),D`
210
+ ${({color:C})=>{let e=C;return C==="inherit"&&(e="currentColor"),R`
211
211
  fill: ${e};
212
212
  `}}
213
213
  position: relative;
@@ -215,20 +215,20 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
215
215
  height: ${({height:C})=>C} !important;
216
216
  width: ${({width:C})=>C} !important;
217
217
 
218
- ${({removeMargin:C})=>C?D`
218
+ ${({removeMargin:C})=>C?R`
219
219
  margin: 0;
220
- `:D`
220
+ `:R`
221
221
  margin: 0 ${i(4)};
222
222
  `}
223
223
  }
224
- `;import P2 from"@emotion/styled";var d1=P2.div`
224
+ `;var c5=H1.createContext(null);process.env.NODE_ENV!=="production"&&(c5.displayName="ThemeContext");import A2 from"@emotion/styled";var V1=A2.div`
225
225
  display: grid;
226
226
  gap: ${i(32)};
227
- `,c1=P2.header`
227
+ `,f1=A2.header`
228
228
  display: grid;
229
229
  text-align: center;
230
230
  gap: ${i(16)};
231
- `,H1=P2.div`
231
+ `,m1=A2.div`
232
232
  display: grid;
233
233
  gap: ${i(16)};
234
234
 
@@ -240,7 +240,7 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
240
240
  > div:last-of-type {
241
241
  gap: ${i(8)};
242
242
  }
243
- `;import{jsx as S,jsxs as j}from"react/jsx-runtime";function c5(c){var L=c,{logo:C,initialValues:e,onSubmit:r,onEsqueciMinhaSenha:a,errorLabel:n}=L,o=x(L,["logo","initialValues","onSubmit","onEsqueciMinhaSenha","errorLabel"]);let V=typeof C=="string"?S("img",{src:C,alt:"Logo do sistema"}):C,{width:M}=B(),f=L1(),E=o5(()=>Z({manterConectado:!1},e),[e]);return S(v,y(Z({},o),{paperStyle:{minWidth:M>500?456:void 0,width:M>500?void 0:"90%"},children:j(d1,{children:[S(c1,{children:C&&S("div",{children:V})}),S(d5,{onSubmit:r,defaultValues:E,children:j(H1,{children:[j("div",{children:[S(V1,{name:"email",label:"E-mail de acesso",required:!0,rules:i2([P,n2])}),j("div",{children:[S(V1,{name:"senha",label:"Senha de acesso",type:"password",required:!0,rules:P}),f&&S(s5,{severity:"warning",children:"Capslock ativado"}),!!n&&S(l5,{variant:"titleXXS",color:d.red[300],children:n})]})]}),S(L5,{name:"manterConectado",label:"Manter conectado"}),j("div",{children:[S(u1,{type:"submit",fullWidth:!0,children:"Entrar"}),a&&S(u1,{type:"button",fullWidth:!0,variant:"text",onClick:a,children:"Esqueci minha senha"})]})]})})]})}))}import{Button as m1,LIcon as H5,Typography as g1}from"@s_mart/core";import p1 from"@emotion/styled";var f1=p1.div`
243
+ `;import{jsx as S,jsxs as U}from"react/jsx-runtime";function f5(c){var L=c,{logo:C,initialValues:e,onSubmit:r,onEsqueciMinhaSenha:a,errorLabel:n}=L,o=x(L,["logo","initialValues","onSubmit","onEsqueciMinhaSenha","errorLabel"]);let p=typeof C=="string"?S("img",{src:C,alt:"Logo do sistema"}):C,{width:m}=O(),f=d1(),E=d5(()=>Z({manterConectado:!1},e),[e]);return S(v,y(Z({},o),{paperStyle:{minWidth:m>500?456:void 0,width:m>500?void 0:"90%"},children:U(V1,{children:[S(f1,{children:C&&S("div",{children:p})}),S(V5,{onSubmit:r,defaultValues:E,children:U(m1,{children:[U("div",{children:[S(g1,{name:"email",label:"E-mail de acesso",required:!0,rules:t2([T,a2])}),U("div",{children:[S(g1,{name:"senha",label:"Senha de acesso",type:"password",required:!0,rules:T}),f&&S(u5,{severity:"warning",children:"Capslock ativado"}),!!n&&S(H5,{variant:"titleXXS",color:d.red[300],children:n})]})]}),S(p5,{name:"manterConectado",label:"Manter conectado"}),U("div",{children:[S(M1,{type:"submit",fullWidth:!0,children:"Entrar"}),a&&S(M1,{type:"button",fullWidth:!0,variant:"text",onClick:a,children:"Esqueci minha senha"})]})]})})]})}))}import{Button as y1,LIcon as m5,Typography as x1}from"@s_mart/core";import Z1 from"@emotion/styled";var v1=Z1.div`
244
244
  display: grid;
245
245
  gap: ${i(32)};
246
246
 
@@ -248,11 +248,11 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
248
248
  display: grid;
249
249
  gap: ${i(16)};
250
250
  }
251
- `,M1=p1.header`
251
+ `,h1=Z1.header`
252
252
  display: grid;
253
253
  text-align: center;
254
254
  gap: ${i(16)};
255
- `;import{jsx as O,jsxs as U}from"react/jsx-runtime";function u5(n){var o=n,{logo:C,onPrecisoDeAjuda:e,onRealizarAcesso:r}=o,a=x(o,["logo","onPrecisoDeAjuda","onRealizarAcesso"]);let c=typeof C=="string"?O("img",{src:C,alt:"Logo do sistema"}):C,{width:L}=B();return O(v,y(Z({},a),{paperStyle:{minWidth:L>500?456:void 0,width:L>500?void 0:"90%"},children:U(f1,{children:[U("div",{children:[O(M1,{children:C&&O("div",{children:c})}),U("div",{style:{display:"flex",flexDirection:"column",textAlign:"center",gap:4},children:[O(g1,{variant:"bodyMD",children:"O convite que voc\xEA utilizou, j\xE1 foi usado ou expirou."}),O(g1,{variant:"titleSM",children:"Realize o acesso ou solicite um novo convite."})]})]}),U("div",{children:[O(m1,{fullWidth:!0,onClick:r,children:"Realizar acesso"}),U(m1,{fullWidth:!0,variant:"outlined",onClick:e,style:{display:"flex",gap:8},children:[O(H5,{icon:e2,size:"20px",removeMargin:!0,color:d.green[300]}),"Preciso de ajuda"]})]})]})}))}import{Button as V5,Typography as y1}from"@s_mart/core";import Z1 from"@emotion/styled";var v1=Z1.div`
255
+ `;import{jsx as B,jsxs as Y}from"react/jsx-runtime";function M5(n){var o=n,{logo:C,onPrecisoDeAjuda:e,onRealizarAcesso:r}=o,a=x(o,["logo","onPrecisoDeAjuda","onRealizarAcesso"]);let c=typeof C=="string"?B("img",{src:C,alt:"Logo do sistema"}):C,{width:L}=O();return B(v,y(Z({},a),{paperStyle:{minWidth:L>500?456:void 0,width:L>500?void 0:"90%"},children:Y(v1,{children:[Y("div",{children:[B(h1,{children:C&&B("div",{children:c})}),Y("div",{style:{display:"flex",flexDirection:"column",textAlign:"center",gap:4},children:[B(x1,{variant:"bodyMD",children:"O convite que voc\xEA utilizou, j\xE1 foi usado ou expirou."}),B(x1,{variant:"titleSM",children:"Realize o acesso ou solicite um novo convite."})]})]}),Y("div",{children:[B(y1,{fullWidth:!0,onClick:r,children:"Realizar acesso"}),Y(y1,{fullWidth:!0,variant:"outlined",onClick:e,style:{display:"flex",gap:8},children:[B(m5,{icon:i2,size:"20px",removeMargin:!0,color:d.green[300]}),"Preciso de ajuda"]})]})]})}))}import{Button as g5,Typography as w1}from"@s_mart/core";import b1 from"@emotion/styled";var S1=b1.div`
256
256
  display: grid;
257
257
  gap: ${i(32)};
258
258
 
@@ -260,21 +260,21 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
260
260
  display: grid;
261
261
  gap: ${i(16)};
262
262
  }
263
- `,h1=Z1.header`
263
+ `,E1=b1.header`
264
264
  display: grid;
265
265
  text-align: center;
266
266
  gap: ${i(16)};
267
- `;import{jsx as F,jsxs as x1}from"react/jsx-runtime";function p5(a){var n=a,{logo:C,onVoltarParaLogin:e}=n,r=x(n,["logo","onVoltarParaLogin"]);let o=typeof C=="string"?F("img",{src:C,alt:"Logo do sistema"}):C,{width:c}=B();return F(v,y(Z({},r),{paperStyle:{maxWidth:c>500?456:void 0,width:c>500?void 0:"90%"},children:x1(v1,{children:[x1("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[F(h1,{children:C&&F("div",{children:o})}),F(y1,{variant:"titleMD",textAlign:"center",children:"Instru\xE7\xF5es enviadas"}),F(y1,{variant:"bodySM",textAlign:"center",children:"Enviamos ao seu e-mail de acesso as instru\xE7\xF5es para criar uma nova senha. Verifique sua caixa de entrada e de Spam."})]}),F(V5,{fullWidth:!0,onClick:e,children:"Voltar para login"})]})}))}import{Button as f5,LIcon as $2,Typography as Y}from"@s_mart/core";import{Form as M5,TextField as P1}from"@s_mart/form";import _ from"@emotion/styled";var b1=_.div`
267
+ `;import{jsx as N,jsxs as T1}from"react/jsx-runtime";function Z5(a){var n=a,{logo:C,onVoltarParaLogin:e}=n,r=x(n,["logo","onVoltarParaLogin"]);let o=typeof C=="string"?N("img",{src:C,alt:"Logo do sistema"}):C,{width:c}=O();return N(v,y(Z({},r),{paperStyle:{maxWidth:c>500?456:void 0,width:c>500?void 0:"90%"},children:T1(S1,{children:[T1("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[N(E1,{children:C&&N("div",{children:o})}),N(w1,{variant:"titleMD",textAlign:"center",children:"Instru\xE7\xF5es enviadas"}),N(w1,{variant:"bodySM",textAlign:"center",children:"Enviamos ao seu e-mail de acesso as instru\xE7\xF5es para criar uma nova senha. Verifique sua caixa de entrada e de Spam."})]}),N(g5,{fullWidth:!0,onClick:e,children:"Voltar para login"})]})}))}import{Button as v5,LIcon as O2,Typography as X}from"@s_mart/core";import{Form as h5,TextField as D1}from"@s_mart/form";import _ from"@emotion/styled";var k1=_.div`
268
268
  display: grid;
269
269
  gap: ${i(32)};
270
- `,S1=_.header`
270
+ `,P1=_.header`
271
271
  display: grid;
272
272
  text-align: center;
273
273
  gap: ${i(16)};
274
- `,E1=_.div`
274
+ `,$1=_.div`
275
275
  display: grid;
276
276
  gap: ${i(32)};
277
- `,w1=_.div`
277
+ `,A1=_.div`
278
278
  display: grid;
279
279
  gap: ${i(4)};
280
280
 
@@ -293,11 +293,11 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
293
293
  display: grid;
294
294
  gap: ${i(4)};
295
295
  }
296
- `,T1=_.div`
296
+ `,O1=_.div`
297
297
  display: flex;
298
298
  flex-wrap: wrap;
299
299
  gap: ${i(8)};
300
- `,f2=_.div`
300
+ `,g2=_.div`
301
301
  display: flex;
302
302
  align-items: center;
303
303
  gap: ${i(4)};
@@ -314,7 +314,7 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
314
314
  color: ${d.green[300]};
315
315
  border-color: ${d.green[300]};
316
316
  `}}
317
- `;function k1(){let C=n=>n?n.match(/[a-z]/i):!1,e=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:C,senhaContemNumero:e,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.senha||!n.confirmarSenha||!C(n.senha)||!e(n.senha)||!r(n.senha)}}import{jsx as p,jsxs as k}from"react/jsx-runtime";function m5(a){var n=a,{logo:C,onTrocarMinhaSenha:e}=n,r=x(n,["logo","onTrocarMinhaSenha"]);let{senhaContemLetra:o,senhaContemNumero:c,senhaContemMinimoDe6Caracteres:L,desabilitarBotaoDeCadastro:V}=k1(),M=typeof C=="string"?p("img",{src:C,alt:"Logo do sistema"}):C;return p(v,y(Z({},r),{children:k(b1,{children:[k(S1,{children:[C&&p("div",{children:M}),p(Y,{variant:"titleSM",children:"Vamos cadastrar uma nova senha de acesso."})]}),p(M5,{onSubmit:e,children:({watch:f})=>{let E=o(f("senha")),I=c(f("senha")),m=L(f("senha"));return k(E1,{children:[k(w1,{children:[k("div",{children:[p(P1,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:P}),p(P1,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:T=>{if(!T)return"Campo obrigat\xF3rio";if(T!==f("senha"))return"As senhas devem ser iguais"}}})]}),k("div",{children:[p(Y,{variant:"bodyXS",children:"Sua senha precisa conter:"}),k(T1,{children:[k(f2,{checked:Boolean(E),children:[E&&p($2,{icon:A,size:"16px",removeMargin:!0}),p(Y,{variant:"bodyXS",children:"Uma letra"})]}),k(f2,{checked:Boolean(I),children:[I&&p($2,{icon:A,size:"16px",removeMargin:!0}),p(Y,{variant:"bodyXS",children:"Um n\xFAmero"})]}),k(f2,{checked:Boolean(m),children:[m&&p($2,{icon:A,size:"16px",removeMargin:!0}),p(Y,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),p("div",{children:p(f5,{type:"submit",fullWidth:!0,disabled:V(f()),children:"Trocar minha senha"})})]})}})]})}))}import{Button as O1,Typography as R1}from"@s_mart/core";import A2 from"@emotion/styled";var $1=A2.div`
317
+ `;function B1(){let C=n=>n?n.match(/[a-z]/i):!1,e=n=>n?n.match(/[0-9]/i):!1,r=n=>n?n.length>=6:!1;return{senhaContemLetra:C,senhaContemNumero:e,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:n=>!n.senha||!n.confirmarSenha||!C(n.senha)||!e(n.senha)||!r(n.senha)}}import{jsx as V,jsxs as k}from"react/jsx-runtime";function y5(a){var n=a,{logo:C,onTrocarMinhaSenha:e}=n,r=x(n,["logo","onTrocarMinhaSenha"]);let{senhaContemLetra:o,senhaContemNumero:c,senhaContemMinimoDe6Caracteres:L,desabilitarBotaoDeCadastro:p}=B1(),m=typeof C=="string"?V("img",{src:C,alt:"Logo do sistema"}):C;return V(v,y(Z({},r),{children:k(k1,{children:[k(P1,{children:[C&&V("div",{children:m}),V(X,{variant:"titleSM",children:"Vamos cadastrar uma nova senha de acesso."})]}),V(h5,{onSubmit:e,children:({watch:f})=>{let E=o(f("senha")),F=c(f("senha")),P=L(f("senha"));return k($1,{children:[k(A1,{children:[k("div",{children:[V(D1,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:T}),V(D1,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:M=>{if(!M)return"Campo obrigat\xF3rio";if(M!==f("senha"))return"As senhas devem ser iguais"}}})]}),k("div",{children:[V(X,{variant:"bodyXS",children:"Sua senha precisa conter:"}),k(O1,{children:[k(g2,{checked:Boolean(E),children:[E&&V(O2,{icon:A,size:"16px",removeMargin:!0}),V(X,{variant:"bodyXS",children:"Uma letra"})]}),k(g2,{checked:Boolean(F),children:[F&&V(O2,{icon:A,size:"16px",removeMargin:!0}),V(X,{variant:"bodyXS",children:"Um n\xFAmero"})]}),k(g2,{checked:Boolean(P),children:[P&&V(O2,{icon:A,size:"16px",removeMargin:!0}),V(X,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),V("div",{children:V(v5,{type:"submit",fullWidth:!0,disabled:p(f()),children:"Trocar minha senha"})})]})}})]})}))}import{Button as I1,Typography as _1}from"@s_mart/core";import B2 from"@emotion/styled";var R1=B2.div`
318
318
  display: grid;
319
319
  gap: ${i(32)};
320
320
 
@@ -322,11 +322,11 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
322
322
  display: grid;
323
323
  gap: ${i(16)};
324
324
  }
325
- `,A1=A2.header`
325
+ `,N1=B2.header`
326
326
  display: grid;
327
327
  text-align: center;
328
328
  gap: ${i(16)};
329
- `,B1=A2.div`
329
+ `,F1=B2.div`
330
330
  display: grid;
331
331
  gap: ${i(32)};
332
332
 
@@ -334,7 +334,21 @@ var d3=Object.create;var g2=Object.defineProperty,c3=Object.defineProperties,H3=
334
334
  display: grid;
335
335
  gap: ${i(16)};
336
336
  }
337
- `;import{Form as g5,TextField as Z5}from"@s_mart/form";import{jsx as w,jsxs as M2}from"react/jsx-runtime";function v5(n){var o=n,{logo:C,onVoltarParaLogin:e,onConfirmar:r}=o,a=x(o,["logo","onVoltarParaLogin","onConfirmar"]);let c=typeof C=="string"?w("img",{src:C,alt:"Logo do sistema"}):C,{width:L}=B();return w(v,y(Z({},a),{paperStyle:{minWidth:L>500?456:void 0,width:L>500?void 0:"90%"},children:M2($1,{children:[M2("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[w(A1,{children:C&&w("div",{children:c})}),w(R1,{variant:"titleMD",textAlign:"center",children:"Esqueceu a senha?"}),w(R1,{variant:"bodySM",textAlign:"center",children:"Informe seu e-mail de acesso para receber instru\xE7\xF5es e criar uma nova senha."})]}),w(g5,{onSubmit:r,children:M2(B1,{children:[w("div",{children:w(Z5,{name:"email",label:"E-mail de acesso",required:!0,rules:i2([P,n2])})}),M2("div",{children:[w(O1,{fullWidth:!0,type:"submit",children:"Confirmar"}),w(O1,{fullWidth:!0,onClick:e,variant:"neutral",children:"Voltar para login"})]})]})})]})}))}export{q3 as TelaCadastro,u5 as TelaConviteExpirado,v5 as TelaEsqueceuSenha,p5 as TelaInstrucoesEnviadas,c5 as TelaLogin,m5 as TelaNovaSenha,v as TemplateTelaBase};
337
+ `;import{Form as x5,TextField as b5}from"@s_mart/form";import{jsx as w,jsxs as Z2}from"react/jsx-runtime";function S5(n){var o=n,{logo:C,onVoltarParaLogin:e,onConfirmar:r}=o,a=x(o,["logo","onVoltarParaLogin","onConfirmar"]);let c=typeof C=="string"?w("img",{src:C,alt:"Logo do sistema"}):C,{width:L}=O();return w(v,y(Z({},a),{paperStyle:{minWidth:L>500?456:void 0,width:L>500?void 0:"90%"},children:Z2(R1,{children:[Z2("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[w(N1,{children:C&&w("div",{children:c})}),w(_1,{variant:"titleMD",textAlign:"center",children:"Esqueceu a senha?"}),w(_1,{variant:"bodySM",textAlign:"center",children:"Informe seu e-mail de acesso para receber instru\xE7\xF5es e criar uma nova senha."})]}),w(x5,{onSubmit:r,children:Z2(F1,{children:[w("div",{children:w(b5,{name:"email",label:"E-mail de acesso",required:!0,rules:t2([T,a2])})}),Z2("div",{children:[w(I1,{fullWidth:!0,type:"submit",children:"Confirmar"}),w(I1,{fullWidth:!0,onClick:e,variant:"neutral",children:"Voltar para login"})]})]})})]})}))}export{U3 as TelaCadastro,M5 as TelaConviteExpirado,S5 as TelaEsqueceuSenha,Z5 as TelaInstrucoesEnviadas,f5 as TelaLogin,y5 as TelaNovaSenha,v as TemplateTelaBase};
338
+ /**
339
+ * @mui/material v5.11.7
340
+ *
341
+ * @license MIT
342
+ * This source code is licensed under the MIT license found in the
343
+ * LICENSE file in the root directory of this source tree.
344
+ */
345
+ /**
346
+ * @mui/private-theming v5.11.7
347
+ *
348
+ * @license MIT
349
+ * This source code is licensed under the MIT license found in the
350
+ * LICENSE file in the root directory of this source tree.
351
+ */
338
352
  /** @license React v16.13.1
339
353
  * react-is.development.js
340
354
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@s_mart/telas-de-acesso",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",