@s_mart/telas-de-acesso 3.0.1 → 3.1.0

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.
Files changed (3) hide show
  1. package/dist/index.js +103 -103
  2. package/dist/index.mjs +103 -103
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var M2=Object.create;var G=Object.defineProperty,C2=Object.defineProperties,H2=Object.getOwnPropertyDescriptor,b2=Object.getOwnPropertyDescriptors,x2=Object.getOwnPropertyNames,l1=Object.getOwnPropertySymbols,V2=Object.getPrototypeOf,P1=Object.prototype.hasOwnProperty,U1=Object.prototype.propertyIsEnumerable;var W1=(e,a,r)=>a in e?G(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,S=(e,a)=>{for(var r in a||(a={}))P1.call(a,r)&&W1(e,r,a[r]);if(l1)for(var r of l1(a))U1.call(a,r)&&W1(e,r,a[r]);return e},L=(e,a)=>C2(e,b2(a));var T=(e,a)=>{var r={};for(var c in e)P1.call(e,c)&&a.indexOf(c)<0&&(r[c]=e[c]);if(e!=null&&l1)for(var c of l1(e))a.indexOf(c)<0&&U1.call(e,c)&&(r[c]=e[c]);return r};var s1=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports),S2=(e,a)=>{for(var r in a)G(e,r,{get:a[r],enumerable:!0})},Y1=(e,a,r,c)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of x2(a))!P1.call(e,i)&&i!==r&&G(e,i,{get:()=>a[i],enumerable:!(c=H2(a,i))||c.enumerable});return e};var M=(e,a,r)=>(r=e!=null?M2(V2(e)):{},Y1(a||!e||!e.__esModule?G(r,"default",{value:e,enumerable:!0}):r,e)),E2=e=>Y1(G({},"__esModule",{value:!0}),e);var d0=s1(s=>{"use strict";var f=typeof Symbol=="function"&&Symbol.for,$1=f?Symbol.for("react.element"):60103,O1=f?Symbol.for("react.portal"):60106,f1=f?Symbol.for("react.fragment"):60107,g1=f?Symbol.for("react.strict_mode"):60108,Z1=f?Symbol.for("react.profiler"):60114,y1=f?Symbol.for("react.provider"):60109,M1=f?Symbol.for("react.context"):60110,D1=f?Symbol.for("react.async_mode"):60111,C1=f?Symbol.for("react.concurrent_mode"):60111,H1=f?Symbol.for("react.forward_ref"):60112,b1=f?Symbol.for("react.suspense"):60113,W2=f?Symbol.for("react.suspense_list"):60120,x1=f?Symbol.for("react.memo"):60115,V1=f?Symbol.for("react.lazy"):60116,U2=f?Symbol.for("react.block"):60121,Y2=f?Symbol.for("react.fundamental"):60117,K2=f?Symbol.for("react.responder"):60118,X2=f?Symbol.for("react.scope"):60119;function E(e){if(typeof e=="object"&&e!==null){var a=e.$$typeof;switch(a){case $1:switch(e=e.type,e){case D1:case C1:case f1:case Z1:case g1:case b1:return e;default:switch(e=e&&e.$$typeof,e){case M1:case H1:case V1:case x1:case y1:return e;default:return a}}case O1:return a}}}function h0(e){return E(e)===C1}s.AsyncMode=D1;s.ConcurrentMode=C1;s.ContextConsumer=M1;s.ContextProvider=y1;s.Element=$1;s.ForwardRef=H1;s.Fragment=f1;s.Lazy=V1;s.Memo=x1;s.Portal=O1;s.Profiler=Z1;s.StrictMode=g1;s.Suspense=b1;s.isAsyncMode=function(e){return h0(e)||E(e)===D1};s.isConcurrentMode=h0;s.isContextConsumer=function(e){return E(e)===M1};s.isContextProvider=function(e){return E(e)===y1};s.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===$1};s.isForwardRef=function(e){return E(e)===H1};s.isFragment=function(e){return E(e)===f1};s.isLazy=function(e){return E(e)===V1};s.isMemo=function(e){return E(e)===x1};s.isPortal=function(e){return E(e)===O1};s.isProfiler=function(e){return E(e)===Z1};s.isStrictMode=function(e){return E(e)===g1};s.isSuspense=function(e){return E(e)===b1};s.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===f1||e===C1||e===Z1||e===g1||e===b1||e===W2||typeof e=="object"&&e!==null&&(e.$$typeof===V1||e.$$typeof===x1||e.$$typeof===y1||e.$$typeof===M1||e.$$typeof===H1||e.$$typeof===Y2||e.$$typeof===K2||e.$$typeof===X2||e.$$typeof===U2)};s.typeOf=E});var v0=s1(h=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=typeof Symbol=="function"&&Symbol.for,a=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,c=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,g=e?Symbol.for("react.async_mode"):60111,b=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,A=e?Symbol.for("react.suspense"):60113,K=e?Symbol.for("react.suspense_list"):60120,R=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,n1=e?Symbol.for("react.block"):60121,i1=e?Symbol.for("react.fundamental"):60117,t1=e?Symbol.for("react.responder"):60118,c1=e?Symbol.for("react.scope"):60119;function Y0(t){return typeof t=="string"||typeof t=="function"||t===c||t===b||t===l||t===i||t===A||t===K||typeof t=="object"&&t!==null&&(t.$$typeof===x||t.$$typeof===R||t.$$typeof===u||t.$$typeof===m||t.$$typeof===y||t.$$typeof===i1||t.$$typeof===t1||t.$$typeof===c1||t.$$typeof===n1)}function V(t){if(typeof t=="object"&&t!==null){var A1=t.$$typeof;switch(A1){case a:var o1=t.type;switch(o1){case g:case b:case c:case l:case i:case A:return o1;default:var z1=o1&&o1.$$typeof;switch(z1){case m:case y:case x:case R:case u:return z1;default:return A1}}case r:return A1}}}var K0=g,X0=b,Q0=m,G0=u,J0=a,e2=y,a2=c,r2=x,n2=R,i2=r,t2=l,c2=i,o2=A,q1=!1;function l2(t){return q1||(q1=!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.")),j1(t)||V(t)===g}function j1(t){return V(t)===b}function s2(t){return V(t)===m}function h2(t){return V(t)===u}function d2(t){return typeof t=="object"&&t!==null&&t.$$typeof===a}function v2(t){return V(t)===y}function m2(t){return V(t)===c}function u2(t){return V(t)===x}function p2(t){return V(t)===R}function f2(t){return V(t)===r}function g2(t){return V(t)===l}function Z2(t){return V(t)===i}function y2(t){return V(t)===A}h.AsyncMode=K0,h.ConcurrentMode=X0,h.ContextConsumer=Q0,h.ContextProvider=G0,h.Element=J0,h.ForwardRef=e2,h.Fragment=a2,h.Lazy=r2,h.Memo=n2,h.Portal=i2,h.Profiler=t2,h.StrictMode=c2,h.Suspense=o2,h.isAsyncMode=l2,h.isConcurrentMode=j1,h.isContextConsumer=s2,h.isContextProvider=h2,h.isElement=d2,h.isForwardRef=v2,h.isFragment=m2,h.isLazy=u2,h.isMemo=p2,h.isPortal=f2,h.isProfiler=g2,h.isStrictMode=Z2,h.isSuspense=y2,h.isValidElementType=Y0,h.typeOf=V}()});var m0=s1((D3,R1)=>{"use strict";process.env.NODE_ENV==="production"?R1.exports=d0():R1.exports=v0()});var M0=s1((R3,y0)=>{"use strict";var F1=m0(),Q2={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},G2={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},J2={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},g0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},I1={};I1[F1.ForwardRef]=J2;I1[F1.Memo]=g0;function u0(e){return F1.isMemo(e)?g0:I1[e.$$typeof]||Q2}var e3=Object.defineProperty,a3=Object.getOwnPropertyNames,p0=Object.getOwnPropertySymbols,r3=Object.getOwnPropertyDescriptor,n3=Object.getPrototypeOf,f0=Object.prototype;function Z0(e,a,r){if(typeof a!="string"){if(f0){var c=n3(a);c&&c!==f0&&Z0(e,c,r)}var i=a3(a);p0&&(i=i.concat(p0(a)));for(var l=u0(e),u=u0(a),m=0;m<i.length;++m){var g=i[m];if(!G2[g]&&!(r&&r[g])&&!(u&&u[g])&&!(l&&l[g])){var b=r3(a,g);try{e3(e,g,b)}catch(y){}}}}return e}y0.exports=Z0});var h3={};S2(h3,{TelaCadastro:()=>s0,TelaConviteExpirado:()=>P0,TelaEsqueceuSenha:()=>U0,TelaInstrucoesEnviadas:()=>D0,TelaLogin:()=>k0,TelaNovaSenha:()=>q0,TemplateTelaBase:()=>H});module.exports=E2(h3);var d1=require("@s_mart/core"),e0=require("@s_mart/masks");var N={description:"m37.5 11.3-19 19.4-7-7.2a.9.9 0 0 0-1.2 0l-2 2.1c-.4.4-.4 1 0 1.3l9.6 9.8c.3.4.9.4 1.2 0l21.6-22.1c.4-.3.4-1 0-1.3l-2-2a.9.9 0 0 0-1.2 0Z",id:"line-check-regular"};var h1={description:"M35.2 12.7a15.9 15.9 0 0 0-25 19.1L8 40l8.4-2.2a16 16 0 0 0 23.6-14 16 16 0 0 0-4.8-11.1ZM24 37a13 13 0 0 1-6.7-1.9l-.5-.3-5 1.3 1.3-4.8-.3-.5a13.2 13.2 0 0 1 20.5-16.3c2.5 2.4 4 5.7 4 9.3C37.3 31 31.3 37 24 37Zm7.2-10-2.7-1c-.4-.1-.6-.2-.9.2l-1.2 1.5c-.3.3-.5.3-.9.1-2.3-1.1-3.9-2-5.4-4.7-.4-.7.4-.6 1.2-2.1v-.7c-.2-.2-1-2.2-1.3-3-.3-.7-.6-.6-.9-.6h-.7c-.3 0-.7 0-1 .4-.4.4-1.5 1.4-1.5 3.3 0 2 1.5 3.9 1.6 4.1.2.3 2.8 4.3 6.8 6 2.5 1.1 3.5 1.2 4.8 1 .7 0 2.3-1 2.6-1.9.4-.9.4-1.7.3-1.9l-.8-.4Z",id:"line-whatsapp-regular"};var n=e=>`${e/16}rem`;var X=M(require("@emotion/styled"));var L2=Object.defineProperty,T2=(e,a)=>{for(var r in a)L2(e,r,{get:a[r],enumerable:!0})},v={};T2(v,{blue:()=>w2,green:()=>O2,neutral:()=>I2,red:()=>P2,yellow:()=>R2});var k2={75:"#AFD2FF",100:"#689DCB",300:"#045BA8",500:"#132C70"},w2=k2,A2={75:"#FEBCAC",100:"#F5917F",300:"#EF4829",500:"#BD2601"},P2=A2,$2={75:"#D6EEBC",100:"#A5D770",300:"#49BF00",500:"#518133"},O2=$2,D2={75:"#FDEFB3",100:"#FFE380",300:"#FFAB00",500:"#C56C00"},R2=D2,F2={0:"#FFFFFF",10:"#FBFBFB",20:"#F4F5F7",30:"#EEEEEE",40:"#DBDBDB",50:"#CACACA",100:"#8B8B8B",500:"#555555",600:"#464646",800:"#2E2E2E",900:"#262626"},I2=F2;var K1=X.default.div`
1
+ "use strict";var b2=Object.create;var L1=Object.defineProperty,x2=Object.defineProperties,V2=Object.getOwnPropertyDescriptor,S2=Object.getOwnPropertyDescriptors,E2=Object.getOwnPropertyNames,P1=Object.getOwnPropertySymbols,L2=Object.getPrototypeOf,c0=Object.prototype.hasOwnProperty,M0=Object.prototype.propertyIsEnumerable;var y0=(e,a,r)=>a in e?L1(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,B=(e,a)=>{for(var r in a||(a={}))c0.call(a,r)&&y0(e,r,a[r]);if(P1)for(var r of P1(a))M0.call(a,r)&&y0(e,r,a[r]);return e},z=(e,a)=>x2(e,S2(a));var W=(e,a)=>{var r={};for(var s in e)c0.call(e,s)&&a.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&P1)for(var s of P1(e))a.indexOf(s)<0&&M0.call(e,s)&&(r[s]=e[s]);return r};var w1=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports),w2=(e,a)=>{for(var r in a)L1(e,r,{get:a[r],enumerable:!0})},C0=(e,a,r,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of E2(a))!c0.call(e,i)&&i!==r&&L1(e,i,{get:()=>a[i],enumerable:!(s=V2(a,i))||s.enumerable});return e};var R=(e,a,r)=>(r=e!=null?b2(L2(e)):{},C0(a||!e||!e.__esModule?L1(r,"default",{value:e,enumerable:!0}):r,e)),T2=e=>C0(L1({},"__esModule",{value:!0}),e);var L0=w1((o0,l0)=>{(function(e,a){typeof o0=="object"&&typeof l0!="undefined"?l0.exports=a():typeof define=="function"&&define.amd?define(a):(e=typeof globalThis!="undefined"?globalThis:e||self).dayjs=a()})(o0,function(){"use strict";var e=1e3,a=6e4,r=36e5,s="millisecond",i="second",m="minute",Z="hour",f="day",S="week",b="month",$="quarter",w="year",N="date",j="Invalid Date",_=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Z1=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y1={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(h){var o=["th","st","nd","rd"],n=h%100;return"["+h+(o[(n-20)%10]||o[n]||o[0])+"]"}},i1=function(h,o,n){var d=String(h);return!d||d.length>=o?h:""+Array(o+1-d.length).join(n)+h},M1={s:i1,z:function(h){var o=-h.utcOffset(),n=Math.abs(o),d=Math.floor(n/60),t=n%60;return(o<=0?"+":"-")+i1(d,2,"0")+":"+i1(t,2,"0")},m:function h(o,n){if(o.date()<n.date())return-h(n,o);var d=12*(n.year()-o.year())+(n.month()-o.month()),t=o.clone().add(d,b),u=n-t<0,v=o.clone().add(d+(u?-1:1),b);return+(-(d+(n-t)/(u?t-v:v-t))||0)},a:function(h){return h<0?Math.ceil(h)||0:Math.floor(h)},p:function(h){return{M:b,y:w,w:S,d:f,D:N,h:Z,m,s:i,ms:s,Q:$}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(h){return h===void 0}},h1="en",L={};L[h1]=y1;var S1=function(h){return h instanceof H1},C1=function h(o,n,d){var t;if(!o)return h1;if(typeof o=="string"){var u=o.toLowerCase();L[u]&&(t=u),n&&(L[u]=n,t=u);var v=o.split("-");if(!t&&v.length>1)return h(v[0])}else{var g=o.name;L[g]=o,t=g}return!d&&t&&(h1=t),t||!d&&h1},T=function(h,o){if(S1(h))return h.clone();var n=typeof o=="object"?o:{};return n.date=h,n.args=arguments,new H1(n)},y=M1;y.l=C1,y.i=S1,y.w=function(h,o){return T(h,{locale:o.$L,utc:o.$u,x:o.$x,$offset:o.$offset})};var H1=function(){function h(n){this.$L=C1(n.locale,null,!0),this.parse(n)}var o=h.prototype;return o.parse=function(n){this.$d=function(d){var t=d.date,u=d.utc;if(t===null)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var v=t.match(_);if(v){var g=v[2]-1||0,E=(v[7]||"0").substring(0,3);return u?new Date(Date.UTC(v[1],g,v[3]||1,v[4]||0,v[5]||0,v[6]||0,E)):new Date(v[1],g,v[3]||1,v[4]||0,v[5]||0,v[6]||0,E)}}return new Date(t)}(n),this.$x=n.x||{},this.init()},o.init=function(){var n=this.$d;this.$y=n.getFullYear(),this.$M=n.getMonth(),this.$D=n.getDate(),this.$W=n.getDay(),this.$H=n.getHours(),this.$m=n.getMinutes(),this.$s=n.getSeconds(),this.$ms=n.getMilliseconds()},o.$utils=function(){return y},o.isValid=function(){return this.$d.toString()!==j},o.isSame=function(n,d){var t=T(n);return this.startOf(d)<=t&&t<=this.endOf(d)},o.isAfter=function(n,d){return T(n)<this.startOf(d)},o.isBefore=function(n,d){return this.endOf(d)<T(n)},o.$g=function(n,d,t){return y.u(n)?this[d]:this.set(t,n)},o.unix=function(){return Math.floor(this.valueOf()/1e3)},o.valueOf=function(){return this.$d.getTime()},o.startOf=function(n,d){var t=this,u=!!y.u(d)||d,v=y.p(n),g=function(t1,P){var G=y.w(t.$u?Date.UTC(t.$y,P,t1):new Date(t.$y,P,t1),t);return u?G:G.endOf(f)},E=function(t1,P){return y.w(t.toDate()[t1].apply(t.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(P)),t)},x=this.$W,A=this.$M,Q=this.$D,K="set"+(this.$u?"UTC":"");switch(v){case w:return u?g(1,0):g(31,11);case b:return u?g(1,A):g(0,A+1);case S:var d1=this.$locale().weekStart||0,v1=(x<d1?x+7:x)-d1;return g(u?Q-v1:Q+(6-v1),A);case f:case N:return E(K+"Hours",0);case Z:return E(K+"Minutes",1);case m:return E(K+"Seconds",2);case i:return E(K+"Milliseconds",3);default:return this.clone()}},o.endOf=function(n){return this.startOf(n,!1)},o.$set=function(n,d){var t,u=y.p(n),v="set"+(this.$u?"UTC":""),g=(t={},t[f]=v+"Date",t[N]=v+"Date",t[b]=v+"Month",t[w]=v+"FullYear",t[Z]=v+"Hours",t[m]=v+"Minutes",t[i]=v+"Seconds",t[s]=v+"Milliseconds",t)[u],E=u===f?this.$D+(d-this.$W):d;if(u===b||u===w){var x=this.clone().set(N,1);x.$d[g](E),x.init(),this.$d=x.set(N,Math.min(this.$D,x.daysInMonth())).$d}else g&&this.$d[g](E);return this.init(),this},o.set=function(n,d){return this.clone().$set(n,d)},o.get=function(n){return this[y.p(n)]()},o.add=function(n,d){var t,u=this;n=Number(n);var v=y.p(d),g=function(A){var Q=T(u);return y.w(Q.date(Q.date()+Math.round(A*n)),u)};if(v===b)return this.set(b,this.$M+n);if(v===w)return this.set(w,this.$y+n);if(v===f)return g(1);if(v===S)return g(7);var E=(t={},t[m]=a,t[Z]=r,t[i]=e,t)[v]||1,x=this.$d.getTime()+n*E;return y.w(x,this)},o.subtract=function(n,d){return this.add(-1*n,d)},o.format=function(n){var d=this,t=this.$locale();if(!this.isValid())return t.invalidDate||j;var u=n||"YYYY-MM-DDTHH:mm:ssZ",v=y.z(this),g=this.$H,E=this.$m,x=this.$M,A=t.weekdays,Q=t.months,K=function(P,G,E1,b1){return P&&(P[G]||P(d,u))||E1[G].slice(0,b1)},d1=function(P){return y.s(g%12||12,P,"0")},v1=t.meridiem||function(P,G,E1){var b1=P<12?"AM":"PM";return E1?b1.toLowerCase():b1},t1={YY:String(this.$y).slice(-2),YYYY:this.$y,M:x+1,MM:y.s(x+1,2,"0"),MMM:K(t.monthsShort,x,Q,3),MMMM:K(Q,x),D:this.$D,DD:y.s(this.$D,2,"0"),d:String(this.$W),dd:K(t.weekdaysMin,this.$W,A,2),ddd:K(t.weekdaysShort,this.$W,A,3),dddd:A[this.$W],H:String(g),HH:y.s(g,2,"0"),h:d1(1),hh:d1(2),a:v1(g,E,!0),A:v1(g,E,!1),m:String(E),mm:y.s(E,2,"0"),s:String(this.$s),ss:y.s(this.$s,2,"0"),SSS:y.s(this.$ms,3,"0"),Z:v};return u.replace(Z1,function(P,G){return G||t1[P]||v.replace(":","")})},o.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},o.diff=function(n,d,t){var u,v=y.p(d),g=T(n),E=(g.utcOffset()-this.utcOffset())*a,x=this-g,A=y.m(this,g);return A=(u={},u[w]=A/12,u[b]=A,u[$]=A/3,u[S]=(x-E)/6048e5,u[f]=(x-E)/864e5,u[Z]=x/r,u[m]=x/a,u[i]=x/e,u)[v]||x,t?A:y.a(A)},o.daysInMonth=function(){return this.endOf(b).$D},o.$locale=function(){return L[this.$L]},o.locale=function(n,d){if(!n)return this.$L;var t=this.clone(),u=C1(n,d,!0);return u&&(t.$L=u),t},o.clone=function(){return y.w(this.$d,this)},o.toDate=function(){return new Date(this.valueOf())},o.toJSON=function(){return this.isValid()?this.toISOString():null},o.toISOString=function(){return this.$d.toISOString()},o.toString=function(){return this.$d.toUTCString()},h}(),O1=H1.prototype;return T.prototype=O1,[["$ms",s],["$s",i],["$m",m],["$H",Z],["$W",f],["$M",b],["$y",w],["$D",N]].forEach(function(h){O1[h[1]]=function(o){return this.$g(o,h[0],h[1])}}),T.extend=function(h,o){return h.$i||(h(o,H1,T),h.$i=!0),T},T.locale=C1,T.isDayjs=S1,T.unix=function(h){return T(1e3*h)},T.en=L[h1],T.Ls=L,T.p={},T})});var F0=w1(M=>{"use strict";var O=typeof Symbol=="function"&&Symbol.for,s0=O?Symbol.for("react.element"):60103,h0=O?Symbol.for("react.portal"):60106,q1=O?Symbol.for("react.fragment"):60107,j1=O?Symbol.for("react.strict_mode"):60108,z1=O?Symbol.for("react.profiler"):60114,W1=O?Symbol.for("react.provider"):60109,U1=O?Symbol.for("react.context"):60110,d0=O?Symbol.for("react.async_mode"):60111,Y1=O?Symbol.for("react.concurrent_mode"):60111,K1=O?Symbol.for("react.forward_ref"):60112,X1=O?Symbol.for("react.suspense"):60113,X2=O?Symbol.for("react.suspense_list"):60120,Q1=O?Symbol.for("react.memo"):60115,G1=O?Symbol.for("react.lazy"):60116,Q2=O?Symbol.for("react.block"):60121,G2=O?Symbol.for("react.fundamental"):60117,J2=O?Symbol.for("react.responder"):60118,e3=O?Symbol.for("react.scope"):60119;function q(e){if(typeof e=="object"&&e!==null){var a=e.$$typeof;switch(a){case s0:switch(e=e.type,e){case d0:case Y1:case q1:case z1:case j1:case X1:return e;default:switch(e=e&&e.$$typeof,e){case U1:case K1:case G1:case Q1:case W1:return e;default:return a}}case h0:return a}}}function _0(e){return q(e)===Y1}M.AsyncMode=d0;M.ConcurrentMode=Y1;M.ContextConsumer=U1;M.ContextProvider=W1;M.Element=s0;M.ForwardRef=K1;M.Fragment=q1;M.Lazy=G1;M.Memo=Q1;M.Portal=h0;M.Profiler=z1;M.StrictMode=j1;M.Suspense=X1;M.isAsyncMode=function(e){return _0(e)||q(e)===d0};M.isConcurrentMode=_0;M.isContextConsumer=function(e){return q(e)===U1};M.isContextProvider=function(e){return q(e)===W1};M.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===s0};M.isForwardRef=function(e){return q(e)===K1};M.isFragment=function(e){return q(e)===q1};M.isLazy=function(e){return q(e)===G1};M.isMemo=function(e){return q(e)===Q1};M.isPortal=function(e){return q(e)===h0};M.isProfiler=function(e){return q(e)===z1};M.isStrictMode=function(e){return q(e)===j1};M.isSuspense=function(e){return q(e)===X1};M.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===q1||e===Y1||e===z1||e===j1||e===X1||e===X2||typeof e=="object"&&e!==null&&(e.$$typeof===G1||e.$$typeof===Q1||e.$$typeof===W1||e.$$typeof===U1||e.$$typeof===K1||e.$$typeof===G2||e.$$typeof===J2||e.$$typeof===e3||e.$$typeof===Q2)};M.typeOf=q});var I0=w1(C=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=typeof Symbol=="function"&&Symbol.for,a=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,m=e?Symbol.for("react.profiler"):60114,Z=e?Symbol.for("react.provider"):60109,f=e?Symbol.for("react.context"):60110,S=e?Symbol.for("react.async_mode"):60111,b=e?Symbol.for("react.concurrent_mode"):60111,$=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,N=e?Symbol.for("react.suspense_list"):60120,j=e?Symbol.for("react.memo"):60115,_=e?Symbol.for("react.lazy"):60116,Z1=e?Symbol.for("react.block"):60121,y1=e?Symbol.for("react.fundamental"):60117,i1=e?Symbol.for("react.responder"):60118,M1=e?Symbol.for("react.scope"):60119;function h1(l){return typeof l=="string"||typeof l=="function"||l===s||l===b||l===m||l===i||l===w||l===N||typeof l=="object"&&l!==null&&(l.$$typeof===_||l.$$typeof===j||l.$$typeof===Z||l.$$typeof===f||l.$$typeof===$||l.$$typeof===y1||l.$$typeof===i1||l.$$typeof===M1||l.$$typeof===Z1)}function L(l){if(typeof l=="object"&&l!==null){var t0=l.$$typeof;switch(t0){case a:var D1=l.type;switch(D1){case S:case b:case s:case m:case i:case w:return D1;default:var Z0=D1&&D1.$$typeof;switch(Z0){case f:case $:case _:case j:case Z:return Z0;default:return t0}}case r:return t0}}}var S1=S,C1=b,T=f,y=Z,H1=a,O1=$,h=s,o=_,n=j,d=r,t=m,u=i,v=w,g=!1;function E(l){return g||(g=!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.")),x(l)||L(l)===S}function x(l){return L(l)===b}function A(l){return L(l)===f}function Q(l){return L(l)===Z}function K(l){return typeof l=="object"&&l!==null&&l.$$typeof===a}function d1(l){return L(l)===$}function v1(l){return L(l)===s}function t1(l){return L(l)===_}function P(l){return L(l)===j}function G(l){return L(l)===r}function E1(l){return L(l)===m}function b1(l){return L(l)===i}function H2(l){return L(l)===w}C.AsyncMode=S1,C.ConcurrentMode=C1,C.ContextConsumer=T,C.ContextProvider=y,C.Element=H1,C.ForwardRef=O1,C.Fragment=h,C.Lazy=o,C.Memo=n,C.Portal=d,C.Profiler=t,C.StrictMode=u,C.Suspense=v,C.isAsyncMode=E,C.isConcurrentMode=x,C.isContextConsumer=A,C.isContextProvider=Q,C.isElement=K,C.isForwardRef=d1,C.isFragment=v1,C.isLazy=t1,C.isMemo=P,C.isPortal=G,C.isProfiler=E1,C.isStrictMode=b1,C.isSuspense=H2,C.isValidElementType=h1,C.typeOf=L}()});var N0=w1((I3,v0)=>{"use strict";process.env.NODE_ENV==="production"?v0.exports=F0():v0.exports=I0()});var Y0=w1((N3,U0)=>{"use strict";var u0=N0(),a3={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r3={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n3={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},z0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},m0={};m0[u0.ForwardRef]=n3;m0[u0.Memo]=z0;function B0(e){return u0.isMemo(e)?z0:m0[e.$$typeof]||a3}var i3=Object.defineProperty,t3=Object.getOwnPropertyNames,q0=Object.getOwnPropertySymbols,c3=Object.getOwnPropertyDescriptor,o3=Object.getPrototypeOf,j0=Object.prototype;function W0(e,a,r){if(typeof a!="string"){if(j0){var s=o3(a);s&&s!==j0&&W0(e,s,r)}var i=t3(a);q0&&(i=i.concat(q0(a)));for(var m=B0(e),Z=B0(a),f=0;f<i.length;++f){var S=i[f];if(!r3[S]&&!(r&&r[S])&&!(Z&&Z[S])&&!(m&&m[S])){var b=c3(a,S);try{i3(e,S,b)}catch($){}}}}return e}U0.exports=W0});var m3={};w2(m3,{TelaCadastro:()=>R0,TelaConviteExpirado:()=>o2,TelaEsqueceuSenha:()=>C2,TelaInstrucoesEnviadas:()=>h2,TelaLogin:()=>i2,TelaNovaSenha:()=>g2,TemplateTelaBase:()=>I});module.exports=T2(m3);var _1=require("@s_mart/core"),E0=require("@s_mart/masks");var c1={description:"m37.5 11.3-19 19.4-7-7.2a.9.9 0 0 0-1.2 0l-2 2.1c-.4.4-.4 1 0 1.3l9.6 9.8c.3.4.9.4 1.2 0l21.6-22.1c.4-.3.4-1 0-1.3l-2-2a.9.9 0 0 0-1.2 0Z",id:"line-check-regular"};var R1={description:"M35.2 12.7a15.9 15.9 0 0 0-25 19.1L8 40l8.4-2.2a16 16 0 0 0 23.6-14 16 16 0 0 0-4.8-11.1ZM24 37a13 13 0 0 1-6.7-1.9l-.5-.3-5 1.3 1.3-4.8-.3-.5a13.2 13.2 0 0 1 20.5-16.3c2.5 2.4 4 5.7 4 9.3C37.3 31 31.3 37 24 37Zm7.2-10-2.7-1c-.4-.1-.6-.2-.9.2l-1.2 1.5c-.3.3-.5.3-.9.1-2.3-1.1-3.9-2-5.4-4.7-.4-.7.4-.6 1.2-2.1v-.7c-.2-.2-1-2.2-1.3-3-.3-.7-.6-.6-.9-.6h-.7c-.3 0-.7 0-1 .4-.4.4-1.5 1.4-1.5 3.3 0 2 1.5 3.9 1.6 4.1.2.3 2.8 4.3 6.8 6 2.5 1.1 3.5 1.2 4.8 1 .7 0 2.3-1 2.6-1.9.4-.9.4-1.7.3-1.9l-.8-.4Z",id:"line-whatsapp-regular"};var c=e=>`${e/16}rem`;var x1=R(require("@emotion/styled"));var k2=Object.defineProperty,$2=(e,a)=>{for(var r in a)k2(e,r,{get:a[r],enumerable:!0})},V={};$2(V,{blue:()=>O2,green:()=>_2,neutral:()=>B2,red:()=>P2,yellow:()=>I2});var A2={75:"#AFD2FF",100:"#689DCB",300:"#045BA8",500:"#132C70"},O2=A2,D2={75:"#FEBCAC",100:"#F5917F",300:"#EF4829",500:"#BD2601"},P2=D2,R2={75:"#D6EEBC",100:"#A5D770",300:"#49BF00",500:"#518133"},_2=R2,F2={75:"#FDEFB3",100:"#FFE380",300:"#FFAB00",500:"#C56C00"},I2=F2,N2={0:"#FFFFFF",10:"#FBFBFB",20:"#F4F5F7",30:"#EEEEEE",40:"#DBDBDB",50:"#CACACA",100:"#8B8B8B",500:"#555555",600:"#464646",800:"#2E2E2E",900:"#262626"},B2=N2;var H0=x1.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
- `,X1=X.default.div`
21
+ `,b0=x1.default.div`
22
22
  position: absolute;
23
23
  left: 0;
24
24
  bottom: 32px;
@@ -27,26 +27,26 @@
27
27
  @media (max-width: 768px) {
28
28
  display: none;
29
29
  }
30
- `,Q1=X.default.h1`
30
+ `,x0=x1.default.h1`
31
31
  position: absolute;
32
32
  left: 32px;
33
33
  top: 32px;
34
34
 
35
35
  color: ${({theme:e})=>e.palette.common.white};
36
- font-size: ${n(32)};
36
+ font-size: ${c(32)};
37
37
  line-height: 150%;
38
38
  font-weight: normal;
39
39
 
40
40
  @media (max-width: 768px) {
41
41
  left: 16px;
42
42
  top: 16px;
43
- font-size: ${n(24)};
43
+ font-size: ${c(24)};
44
44
  }
45
45
 
46
46
  @media (max-height: 830px) {
47
47
  left: 16px;
48
48
  top: 16px;
49
- font-size: ${n(24)};
49
+ font-size: ${c(24)};
50
50
 
51
51
  @media (max-width: 768px) {
52
52
  display: none;
@@ -59,35 +59,35 @@
59
59
 
60
60
  span {
61
61
  background-color: #262626;
62
- padding: ${n(4)} ${n(8)};
63
- border-radius: ${n(12)};
62
+ padding: ${c(4)} ${c(8)};
63
+ border-radius: ${c(12)};
64
64
  }
65
65
 
66
66
  @media (max-width: 500px) {
67
67
  display: none;
68
68
  }
69
- `,G1=X.default.div`
69
+ `,V0=x1.default.div`
70
70
  position: relative;
71
71
  z-index: 2;
72
72
 
73
- padding: ${n(32)};
74
- border-radius: ${n(24)};
75
- margin: ${n(16)};
73
+ padding: ${c(32)};
74
+ border-radius: ${c(24)};
75
+ margin: ${c(16)};
76
76
 
77
77
  background-color: ${({theme:e})=>e.palette.common.white};
78
- `,J1=X.default.button`
78
+ `,S0=x1.default.button`
79
79
  position: relative;
80
80
  z-index: 2;
81
81
 
82
82
  background-color: ${({theme:e})=>e.palette.primary.main};
83
- padding: ${n(4)} ${n(8)};
83
+ padding: ${c(4)} ${c(8)};
84
84
  border: none;
85
- border-radius: ${n(8)};
85
+ border-radius: ${c(8)};
86
86
  cursor: pointer;
87
87
 
88
88
  display: flex;
89
89
  align-items: center;
90
- gap: ${n(4)};
90
+ gap: ${c(4)};
91
91
 
92
92
  color: ${({theme:e})=>e.palette.common.white};
93
93
 
@@ -96,91 +96,91 @@
96
96
  background-color: transparent;
97
97
 
98
98
  svg {
99
- color: ${v.green[300]};
99
+ color: ${V.green[300]};
100
100
  }
101
101
  }
102
- `;var $=require("react/jsx-runtime");function H({children:e,whatsapp:a,textoChamativo:r,style:c,paperStyle:i,ilustracao:l}){return(0,$.jsxs)(K1,{style:c,children:[r&&(0,$.jsx)(Q1,{children:r}),l&&(0,$.jsx)(X1,{children:typeof l=="string"?(0,$.jsx)("img",{src:l,alt:"Logo do sistema"}):l}),(0,$.jsx)(G1,{style:i,children:e}),a&&(0,$.jsxs)(J1,{onClick:()=>{window.open(`https://api.whatsapp.com/send?phone=${a}`)},style:{marginBottom:16},children:[(0,$.jsxs)(d1.Typography,{variant:"bodyXS",children:["Com d\xFAvidas? ",e0.telefone.format(a.slice(2))]}),(0,$.jsx)(d1.LIcon,{icon:h1,size:"20px",removeMargin:!0})]})]})}var k=require("@s_mart/core"),F=require("@s_mart/form");var N2=Object.defineProperty,_2=Object.defineProperties,B2=Object.getOwnPropertyDescriptors,a0=Object.getOwnPropertySymbols,q2=Object.prototype.hasOwnProperty,j2=Object.prototype.propertyIsEnumerable,r0=(e,a,r)=>a in e?N2(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,v1=(e,a)=>{for(var r in a||(a={}))q2.call(a,r)&&r0(e,r,a[r]);if(a0)for(var r of a0(a))j2.call(a,r)&&r0(e,r,a[r]);return e},z2=(e,a)=>_2(e,B2(a));var m1=e=>{let a={validate:{}};return e.forEach(r=>{a=z2(v1(v1({},a),r),{validate:v1(v1({},a.validate),r.validate)})}),a},O={validate:{required:e=>{if(!e)return"Obrigat\xF3rio"}}};var u1={validate:{email:e=>{if(e&&!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(e))return"O email \xE9 inv\xE1lido"}}};var j=M(require("@emotion/styled"));var n0=j.default.div`
102
+ `;var J=require("react/jsx-runtime");function I({children:e,whatsapp:a,textoChamativo:r,style:s,paperStyle:i,ilustracao:m}){return(0,J.jsxs)(H0,{style:s,children:[r&&(0,J.jsx)(x0,{children:r}),m&&(0,J.jsx)(b0,{children:typeof m=="string"?(0,J.jsx)("img",{src:m,alt:"Logo do sistema"}):m}),(0,J.jsx)(V0,{style:i,children:e}),a&&(0,J.jsxs)(S0,{onClick:()=>{window.open(`https://api.whatsapp.com/send?phone=${a}`)},style:{marginBottom:16},children:[(0,J.jsxs)(_1.Typography,{variant:"bodyXS",children:["Com d\xFAvidas? ",E0.telefone.format(a.slice(2))]}),(0,J.jsx)(_1.LIcon,{icon:R1,size:"20px",removeMargin:!0})]})]})}var U=require("@s_mart/core"),r1=require("@s_mart/form");var K2=R(L0(),1),q2=Object.defineProperty,j2=Object.defineProperties,z2=Object.getOwnPropertyDescriptors,w0=Object.getOwnPropertySymbols,W2=Object.prototype.hasOwnProperty,U2=Object.prototype.propertyIsEnumerable,T0=(e,a,r)=>a in e?q2(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,F1=(e,a)=>{for(var r in a||(a={}))W2.call(a,r)&&T0(e,r,a[r]);if(w0)for(var r of w0(a))U2.call(a,r)&&T0(e,r,a[r]);return e},Y2=(e,a)=>j2(e,z2(a));var I1=e=>{let a={validate:{}};return e.forEach(r=>{a=Y2(F1(F1({},a),r),{validate:F1(F1({},a.validate),r.validate)})}),a},e1={validate:{required:e=>{if(!e)return"Obrigat\xF3rio"}}};var N1={validate:{email:e=>{if(e&&!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(e))return"O email \xE9 inv\xE1lido"}}};var u1=R(require("@emotion/styled"));var k0=u1.default.div`
103
103
  display: grid;
104
- gap: ${n(32)};
105
- `,i0=j.default.header`
104
+ gap: ${c(32)};
105
+ `,$0=u1.default.header`
106
106
  display: grid;
107
107
  text-align: center;
108
- gap: ${n(16)};
109
- `,t0=j.default.div`
108
+ gap: ${c(16)};
109
+ `,A0=u1.default.div`
110
110
  display: grid;
111
- gap: ${n(32)};
112
- `,c0=j.default.div`
111
+ gap: ${c(32)};
112
+ `,O0=u1.default.div`
113
113
  display: grid;
114
- gap: ${n(4)};
114
+ gap: ${c(4)};
115
115
 
116
116
  > div:first-of-type {
117
117
  display: grid;
118
118
  grid-template-columns: 1fr 1fr;
119
- gap: ${n(16)};
119
+ gap: ${c(16)};
120
120
 
121
121
  @media (max-width: 768px) {
122
122
  grid-template-columns: 1fr;
123
- gap: ${n(8)};
123
+ gap: ${c(8)};
124
124
  }
125
125
  }
126
126
 
127
127
  > div:last-of-type {
128
128
  display: grid;
129
- gap: ${n(4)};
129
+ gap: ${c(4)};
130
130
  }
131
- `,o0=j.default.div`
131
+ `,D0=u1.default.div`
132
132
  display: flex;
133
133
  flex-wrap: wrap;
134
- gap: ${n(8)};
135
- `,p1=j.default.div`
134
+ gap: ${c(8)};
135
+ `,B1=u1.default.div`
136
136
  display: flex;
137
137
  align-items: center;
138
- gap: ${n(4)};
138
+ gap: ${c(4)};
139
139
 
140
- color: ${v.neutral[600]};
141
- border: 1px solid ${v.neutral[600]};
142
- border-radius: ${n(4)};
143
- padding: ${n(3)} ${n(4)};
140
+ color: ${V.neutral[600]};
141
+ border: 1px solid ${V.neutral[600]};
142
+ border-radius: ${c(4)};
143
+ padding: ${c(3)} ${c(4)};
144
144
 
145
145
  line-height: 1em;
146
146
  vertical-align: middle;
147
147
 
148
148
  ${({checked:e})=>{if(e)return`
149
- color: ${v.green[300]};
150
- border-color: ${v.green[300]};
149
+ color: ${V.green[300]};
150
+ border-color: ${V.green[300]};
151
151
  `}}
152
- `;function l0(){let e=i=>i?i.match(/[a-z]/i):!1,a=i=>i?i.match(/[0-9]/i):!1,r=i=>i?i.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:i=>!i.email||!i.senha||!i.confirmarSenha||!i.termosDeUso||!e(i.senha)||!a(i.senha)||!r(i.senha)}}var o=require("react/jsx-runtime");function s0(m){var g=m,{logo:e,nomeSistema:a,onSubmit:r,linkTermosDeUso:c,email:i,nome:l}=g,u=T(g,["logo","nomeSistema","onSubmit","linkTermosDeUso","email","nome"]);let{senhaContemLetra:b,senhaContemNumero:y,senhaContemMinimoDe6Caracteres:A,desabilitarBotaoDeCadastro:K}=l0(),R=typeof e=="string"?(0,o.jsx)("img",{src:e,alt:"Logo do sistema"}):e;return(0,o.jsx)(H,L(S({},u),{children:(0,o.jsxs)(n0,{children:[(0,o.jsxs)(i0,{children:[e&&(0,o.jsx)("div",{children:R}),(0,o.jsxs)(k.Typography,{variant:"titleSM",children:["Vamos cadastrar uma senha de acesso ao ",a,"."]})]}),(0,o.jsx)(F.Form,{onSubmit:r,defaultValues:{email:i,nome:l,termosDeUso:!1},children:({watch:x})=>{let n1=b(x("senha")),i1=y(x("senha")),t1=A(x("senha"));return(0,o.jsxs)(t0,{children:[(0,o.jsx)(F.TextField,{name:"email",label:"E-mail de acesso",required:!0,disabled:!0}),(0,o.jsx)(F.TextField,{name:"nome",label:"Nome completo",required:!0,rules:O}),(0,o.jsxs)(c0,{children:[(0,o.jsxs)("div",{children:[(0,o.jsx)(F.TextField,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:O}),(0,o.jsx)(F.TextField,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:c1=>{if(!c1)return"Campo obrigat\xF3rio";if(c1!==x("senha"))return"As senhas devem ser iguais"}}})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)(k.Typography,{variant:"bodyXS",children:"Sua senha precisa conter:"}),(0,o.jsxs)(o0,{children:[(0,o.jsxs)(p1,{checked:!!n1,children:[n1&&(0,o.jsx)(k.LIcon,{icon:N,size:"16px",removeMargin:!0}),(0,o.jsx)(k.Typography,{variant:"bodyXS",children:"Uma letra"})]}),(0,o.jsxs)(p1,{checked:!!i1,children:[i1&&(0,o.jsx)(k.LIcon,{icon:N,size:"16px",removeMargin:!0}),(0,o.jsx)(k.Typography,{variant:"bodyXS",children:"Um n\xFAmero"})]}),(0,o.jsxs)(p1,{checked:!!t1,children:[t1&&(0,o.jsx)(k.LIcon,{icon:N,size:"16px",removeMargin:!0}),(0,o.jsx)(k.Typography,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),(0,o.jsx)("div",{children:(0,o.jsx)(F.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:c,target:"_blank",style:{color:"var(--color-primary)"},rel:"noreferrer",children:"termos de uso"})]})})}),(0,o.jsx)("div",{children:(0,o.jsx)(k.Button,{type:"submit",fullWidth:!0,disabled:K(x()),children:"Concluir meu cadastro"})})]})}})]})}))}var T0=require("react"),W=require("@s_mart/core"),U=require("@s_mart/form");var S1=require("react");var J=M(require("react"),1);var D=M(require("react")),i3=require("react-dom");var t3=M(M0());var c3="SnackbarContent",N3={root:c3+"-root"};var I="SnackbarItem",_3={contentRoot:I+"-contentRoot",lessPadding:I+"-lessPadding",variantSuccess:I+"-variantSuccess",variantError:I+"-variantError",variantInfo:I+"-variantInfo",variantWarning:I+"-variantWarning",message:I+"-message",action:I+"-action",wrappedRoot:I+"-wrappedRoot"};var z="SnackbarContainer",B3={root:z+"-root",rootDense:z+"-rootDense",top:z+"-top",bottom:z+"-bottom",left:z+"-left",right:z+"-right",center:z+"-center"};var q3=process.env.NODE_ENV!=="production";var E1=M(require("@emotion/styled"),1);var H0=M(require("@emotion/styled"),1),_=require("@emotion/react");var o3=require("react/jsx-runtime"),b0=require("react/jsx-runtime"),N1=require("react/jsx-runtime"),x0=require("react"),V0=M(require("react"),1),ee=require("@emotion/styled"),l3=require("@emotion/react"),s3=M(require("react"),1),e1=M(require("react"),1);var C0=()=>{let[e,a]=(0,S1.useState)(!1);return(0,S1.useEffect)(()=>{let r=c=>{c.key==="CapsLock"&&a(c.getModifierState("CapsLock"))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}},[]),e};var B=({defaultValue:e}={})=>{let a=typeof window!="undefined",r=J.default.useCallback(()=>{if(!a){if(e){let{width:u=0,height:m=0}=e;return{width:u,height:m}}return{width:0,height:0}}return{width:window.innerWidth,height:window.innerHeight}},[a,e]),[c,i]=J.default.useState(r()),l=J.default.useCallback(()=>{i(r())},[i,r]);return J.default.useEffect(()=>a?(window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l)}):()=>{},[l,a]),c},K3=E1.default.div`
152
+ `;function P0(){let e=i=>i?i.match(/[a-z]/i):!1,a=i=>i?i.match(/[0-9]/i):!1,r=i=>i?i.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:i=>!i.email||!i.senha||!i.confirmarSenha||!i.termosDeUso||!e(i.senha)||!a(i.senha)||!r(i.senha)}}var p=require("react/jsx-runtime");function R0(f){var S=f,{logo:e,nomeSistema:a,onSubmit:r,linkTermosDeUso:s,email:i,nome:m}=S,Z=W(S,["logo","nomeSistema","onSubmit","linkTermosDeUso","email","nome"]);let{senhaContemLetra:b,senhaContemNumero:$,senhaContemMinimoDe6Caracteres:w,desabilitarBotaoDeCadastro:N}=P0(),j=typeof e=="string"?(0,p.jsx)("img",{src:e,alt:"Logo do sistema"}):e;return(0,p.jsx)(I,z(B({},Z),{children:(0,p.jsxs)(k0,{children:[(0,p.jsxs)($0,{children:[e&&(0,p.jsx)("div",{children:j}),(0,p.jsxs)(U.Typography,{variant:"titleSM",children:["Vamos cadastrar uma senha de acesso ao ",a,"."]})]}),(0,p.jsx)(r1.Form,{onSubmit:r,defaultValues:{email:i,nome:m,termosDeUso:!1},children:({watch:_})=>{let Z1=b(_("senha")),y1=$(_("senha")),i1=w(_("senha"));return(0,p.jsxs)(A0,{children:[(0,p.jsx)(r1.TextField,{name:"email",label:"E-mail de acesso",required:!0,disabled:!0}),(0,p.jsx)(r1.TextField,{name:"nome",label:"Nome completo",required:!0,rules:e1}),(0,p.jsxs)(O0,{children:[(0,p.jsxs)("div",{children:[(0,p.jsx)(r1.TextField,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:e1}),(0,p.jsx)(r1.TextField,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:M1=>{if(!M1)return"Campo obrigat\xF3rio";if(M1!==_("senha"))return"As senhas devem ser iguais"}}})]}),(0,p.jsxs)("div",{children:[(0,p.jsx)(U.Typography,{variant:"bodyXS",children:"Sua senha precisa conter:"}),(0,p.jsxs)(D0,{children:[(0,p.jsxs)(B1,{checked:!!Z1,children:[Z1&&(0,p.jsx)(U.LIcon,{icon:c1,size:"16px",removeMargin:!0}),(0,p.jsx)(U.Typography,{variant:"bodyXS",children:"Uma letra"})]}),(0,p.jsxs)(B1,{checked:!!y1,children:[y1&&(0,p.jsx)(U.LIcon,{icon:c1,size:"16px",removeMargin:!0}),(0,p.jsx)(U.Typography,{variant:"bodyXS",children:"Um n\xFAmero"})]}),(0,p.jsxs)(B1,{checked:!!i1,children:[i1&&(0,p.jsx)(U.LIcon,{icon:c1,size:"16px",removeMargin:!0}),(0,p.jsx)(U.Typography,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),(0,p.jsx)("div",{children:(0,p.jsx)(r1.Checkbox,{name:"termosDeUso",label:(0,p.jsxs)("div",{style:{display:"flex",gap:4},children:[(0,p.jsx)("span",{children:"Li e aceito os"}),(0,p.jsx)("a",{href:s,target:"_blank",style:{color:"var(--color-primary)"},rel:"noreferrer",children:"termos de uso"})]})})}),(0,p.jsx)("div",{children:(0,p.jsx)(U.Button,{type:"submit",fullWidth:!0,disabled:N(_()),children:"Concluir meu cadastro"})})]})}})]})}))}var n2=require("react"),p1=require("@s_mart/core"),f1=require("@s_mart/form");var J1=require("react");var T1=R(require("react"),1);var a1=R(require("react")),l3=require("react-dom");var s3=R(Y0());var h3="SnackbarContent",j3={root:h3+"-root"};var n1="SnackbarItem",z3={contentRoot:n1+"-contentRoot",lessPadding:n1+"-lessPadding",variantSuccess:n1+"-variantSuccess",variantError:n1+"-variantError",variantInfo:n1+"-variantInfo",variantWarning:n1+"-variantWarning",message:n1+"-message",action:n1+"-action",wrappedRoot:n1+"-wrappedRoot"};var m1="SnackbarContainer",W3={root:m1+"-root",rootDense:m1+"-rootDense",top:m1+"-top",bottom:m1+"-bottom",left:m1+"-left",right:m1+"-right",center:m1+"-center"};var U3=process.env.NODE_ENV!=="production";var e0=R(require("@emotion/styled"),1);var X0=R(require("@emotion/styled"),1),o1=require("@emotion/react");var d3=require("react/jsx-runtime"),Q0=require("react/jsx-runtime"),p0=require("react/jsx-runtime"),G0=require("react"),J0=R(require("react"),1),ie=require("@emotion/styled"),v3=require("@emotion/react"),u3=R(require("react"),1),k1=R(require("react"),1);var K0=()=>{let[e,a]=(0,J1.useState)(!1);return(0,J1.useEffect)(()=>{let r=s=>{s.key==="CapsLock"&&a(s.getModifierState("CapsLock"))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}},[]),e};var l1=({defaultValue:e}={})=>{let a=typeof window!="undefined",r=T1.default.useCallback(()=>{if(!a){if(e){let{width:Z=0,height:f=0}=e;return{width:Z,height:f}}return{width:0,height:0}}return{width:window.innerWidth,height:window.innerHeight}},[a,e]),[s,i]=T1.default.useState(r()),m=T1.default.useCallback(()=>{i(r())},[i,r]);return T1.default.useEffect(()=>a?(window.addEventListener("resize",m),()=>{window.removeEventListener("resize",m)}):()=>{},[m,a]),s},J3=e0.default.div`
153
153
  display: flex;
154
154
  align-items: center;
155
155
  justify-content: space-between;
156
- gap: ${n(8)};
156
+ gap: ${c(8)};
157
157
 
158
158
  background-color: white;
159
159
  border-radius: 4px;
160
- padding: ${n(16)} ${n(16)};
160
+ padding: ${c(16)} ${c(16)};
161
161
 
162
162
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.12);
163
163
 
164
164
  border-left: 6px solid
165
- ${({variant:e})=>{switch(e){case"error":return v.red[300];case"warning":return v.yellow[300];case"info":return v.blue[100];default:case"success":return v.green[300]}}};
165
+ ${({variant:e})=>{switch(e){case"error":return V.red[300];case"warning":return V.yellow[300];case"info":return V.blue[100];default:case"success":return V.green[300]}}};
166
166
 
167
167
  > div {
168
168
  display: flex;
169
169
  align-items: center;
170
- gap: ${n(8)};
170
+ gap: ${c(8)};
171
171
  }
172
- `,X3=E1.default.div`
172
+ `,ee=e0.default.div`
173
173
  display: flex;
174
174
  flex-direction: column;
175
175
  justify-content: center;
176
176
 
177
177
  > *:first-of-type {
178
- margin-bottom: ${n(4)};
178
+ margin-bottom: ${c(4)};
179
179
  }
180
- `,Q3=E1.default.div`
180
+ `,ae=e0.default.div`
181
181
  cursor: pointer;
182
182
  align-self: flex-start;
183
- `,J3=H0.default.i`
183
+ `,ne=X0.default.i`
184
184
  align-self: center;
185
185
  display: inline-flex;
186
186
  color: ${({color:e})=>e};
@@ -191,23 +191,23 @@
191
191
  z-index: 0 !important;
192
192
  outline: 0 !important;
193
193
 
194
- ${({left:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&_.css`
194
+ ${({left:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&o1.css`
195
195
  left: ${e};
196
196
  `}
197
197
 
198
- ${({right:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&_.css`
198
+ ${({right:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&o1.css`
199
199
  right: ${e};
200
200
  `}
201
201
 
202
- ${({top:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&_.css`
202
+ ${({top:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&o1.css`
203
203
  top: ${e};
204
204
  `}
205
205
 
206
- ${({bottom:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&_.css`
206
+ ${({bottom:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&o1.css`
207
207
  bottom: ${e};
208
208
  `}
209
209
 
210
- ${({color:e})=>{let a=e;return e==="inherit"&&(a="currentColor"),_.css`
210
+ ${({color:e})=>{let a=e;return e==="inherit"&&(a="currentColor"),o1.css`
211
211
  fill: ${a};
212
212
  `}}
213
213
  position: relative;
@@ -215,126 +215,126 @@
215
215
  height: ${({height:e})=>e} !important;
216
216
  width: ${({width:e})=>e} !important;
217
217
 
218
- ${({removeMargin:e})=>e?_.css`
218
+ ${({removeMargin:e})=>e?o1.css`
219
219
  margin: 0;
220
- `:_.css`
221
- margin: 0 ${n(4)};
220
+ `:o1.css`
221
+ margin: 0 ${c(4)};
222
222
  `}
223
223
  }
224
- `;var L1=M(require("@emotion/styled"));var S0=L1.default.div`
224
+ `;var a0=R(require("@emotion/styled"));var e2=a0.default.div`
225
225
  display: grid;
226
- gap: ${n(32)};
227
- `,E0=L1.default.header`
226
+ gap: ${c(32)};
227
+ `,a2=a0.default.header`
228
228
  display: grid;
229
229
  text-align: center;
230
- gap: ${n(16)};
231
- `,L0=L1.default.div`
230
+ gap: ${c(16)};
231
+ `,r2=a0.default.div`
232
232
  display: grid;
233
- gap: ${n(16)};
233
+ gap: ${c(16)};
234
234
 
235
235
  > div {
236
236
  display: grid;
237
- gap: ${n(16)};
237
+ gap: ${c(16)};
238
238
  }
239
239
 
240
240
  > div:last-of-type {
241
- gap: ${n(8)};
241
+ gap: ${c(8)};
242
242
  }
243
- `;var p=require("react/jsx-runtime");function k0(u){var m=u,{logo:e,initialValues:a,onSubmit:r,onEsqueciMinhaSenha:c,errorLabel:i}=m,l=T(m,["logo","initialValues","onSubmit","onEsqueciMinhaSenha","errorLabel"]);let g=typeof e=="string"?(0,p.jsx)("img",{src:e,alt:"Logo do sistema"}):e,{width:b}=B(),y=C0(),A=(0,T0.useMemo)(()=>S({manterConectado:!1},a),[a]);return(0,p.jsx)(H,L(S({},l),{paperStyle:{minWidth:b>500?456:void 0,width:b>500?void 0:"90%"},children:(0,p.jsxs)(S0,{children:[(0,p.jsx)(E0,{children:e&&(0,p.jsx)("div",{children:g})}),(0,p.jsx)(U.Form,{onSubmit:r,defaultValues:A,children:(0,p.jsxs)(L0,{children:[(0,p.jsxs)("div",{children:[(0,p.jsx)(U.TextField,{name:"email",label:"E-mail de acesso",required:!0,rules:m1([O,u1]),autoComplete:"email",type:"email"}),(0,p.jsxs)("div",{children:[(0,p.jsx)(U.TextField,{name:"senha",label:"Senha de acesso",type:"password",required:!0,rules:O}),y&&(0,p.jsx)(W.Indicator,{severity:"warning",children:"Capslock ativado"}),!!i&&(0,p.jsx)(W.Typography,{variant:"titleXXS",color:v.red[300],children:i})]})]}),(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"}),c&&(0,p.jsx)(W.Button,{type:"button",fullWidth:!0,variant:"text",onClick:c,children:"Esqueci minha senha"})]})]})})]})}))}var q=require("@s_mart/core");var _1=M(require("@emotion/styled"));var w0=_1.default.div`
243
+ `;var k=require("react/jsx-runtime");function i2(Z){var f=Z,{logo:e,initialValues:a,onSubmit:r,onEsqueciMinhaSenha:s,errorLabel:i}=f,m=W(f,["logo","initialValues","onSubmit","onEsqueciMinhaSenha","errorLabel"]);let S=typeof e=="string"?(0,k.jsx)("img",{src:e,alt:"Logo do sistema"}):e,{width:b}=l1(),$=K0(),w=(0,n2.useMemo)(()=>B({manterConectado:!1},a),[a]);return(0,k.jsx)(I,z(B({},m),{paperStyle:{minWidth:b>500?456:void 0,width:b>500?void 0:"90%"},children:(0,k.jsxs)(e2,{children:[(0,k.jsx)(a2,{children:e&&(0,k.jsx)("div",{children:S})}),(0,k.jsx)(f1.Form,{onSubmit:r,defaultValues:w,children:(0,k.jsxs)(r2,{children:[(0,k.jsxs)("div",{children:[(0,k.jsx)(f1.TextField,{name:"email",label:"E-mail de acesso",required:!0,rules:I1([e1,N1]),autoComplete:"email",type:"email"}),(0,k.jsxs)("div",{children:[(0,k.jsx)(f1.TextField,{name:"senha",label:"Senha de acesso",type:"password",required:!0,rules:e1}),$&&(0,k.jsx)(p1.Indicator,{severity:"warning",children:"Capslock ativado"}),!!i&&(0,k.jsx)(p1.Typography,{variant:"titleXXS",color:V.red[300],children:i})]})]}),(0,k.jsx)(f1.Checkbox,{name:"manterConectado",label:"Manter conectado"}),(0,k.jsxs)("div",{children:[(0,k.jsx)(p1.Button,{type:"submit",fullWidth:!0,children:"Entrar"}),s&&(0,k.jsx)(p1.Button,{type:"button",fullWidth:!0,variant:"text",onClick:s,children:"Esqueci minha senha"})]})]})})]})}))}var s1=require("@s_mart/core");var f0=R(require("@emotion/styled"));var t2=f0.default.div`
244
244
  display: grid;
245
- gap: ${n(32)};
245
+ gap: ${c(32)};
246
246
 
247
247
  > div {
248
248
  display: grid;
249
- gap: ${n(8)};
249
+ gap: ${c(8)};
250
250
  }
251
- `,A0=_1.default.header`
251
+ `,c2=f0.default.header`
252
252
  display: grid;
253
253
  text-align: center;
254
- gap: ${n(16)};
255
- `;var C=require("react/jsx-runtime");function P0(i){var l=i,{logo:e,onPrecisoDeAjuda:a,onRealizarAcesso:r}=l,c=T(l,["logo","onPrecisoDeAjuda","onRealizarAcesso"]);let u=typeof e=="string"?(0,C.jsx)("img",{src:e,alt:"Logo do sistema"}):e,{width:m}=B();return(0,C.jsx)(H,L(S({},c),{paperStyle:{minWidth:m>500?456:void 0,width:m>500?void 0:"90%"},children:(0,C.jsxs)(w0,{children:[(0,C.jsxs)("div",{children:[(0,C.jsx)(A0,{children:e&&(0,C.jsx)("div",{children:u})}),(0,C.jsxs)("div",{style:{display:"flex",flexDirection:"column",textAlign:"center",gap:8,color:v.neutral[800]},children:[(0,C.jsx)(q.Typography,{variant:"bodyMD",children:"Parece que este convite j\xE1 foi usado ou expirou."}),(0,C.jsx)(q.Typography,{variant:"bodyMD",children:"J\xE1 se cadastrou? Realize o login."})]})]}),(0,C.jsxs)("div",{children:[(0,C.jsx)(q.Button,{fullWidth:!0,onClick:r,children:"Realizar login"}),(0,C.jsxs)(q.Button,{fullWidth:!0,variant:"text",onClick:a,style:{display:"flex",gap:4,color:v.neutral[900]},children:[(0,C.jsx)(q.LIcon,{icon:h1,size:"20px",removeMargin:!0,color:v.neutral[900]}),"Preciso de outro convite"]})]})]})}))}var a1=require("@s_mart/core");var B1=M(require("@emotion/styled"));var $0=B1.default.div`
254
+ gap: ${c(16)};
255
+ `;var F=require("react/jsx-runtime");function o2(i){var m=i,{logo:e,onPrecisoDeAjuda:a,onRealizarAcesso:r}=m,s=W(m,["logo","onPrecisoDeAjuda","onRealizarAcesso"]);let Z=typeof e=="string"?(0,F.jsx)("img",{src:e,alt:"Logo do sistema"}):e,{width:f}=l1();return(0,F.jsx)(I,z(B({},s),{paperStyle:{minWidth:f>500?456:void 0,width:f>500?void 0:"90%"},children:(0,F.jsxs)(t2,{children:[(0,F.jsxs)("div",{children:[(0,F.jsx)(c2,{children:e&&(0,F.jsx)("div",{children:Z})}),(0,F.jsxs)("div",{style:{display:"flex",flexDirection:"column",textAlign:"center",gap:8,color:V.neutral[800]},children:[(0,F.jsx)(s1.Typography,{variant:"bodyMD",children:"Parece que este convite j\xE1 foi usado ou expirou."}),(0,F.jsx)(s1.Typography,{variant:"bodyMD",children:"J\xE1 se cadastrou? Realize o login."})]})]}),(0,F.jsxs)("div",{children:[(0,F.jsx)(s1.Button,{fullWidth:!0,onClick:r,children:"Realizar login"}),(0,F.jsxs)(s1.Button,{fullWidth:!0,variant:"text",onClick:a,style:{display:"flex",gap:4,color:V.neutral[900]},children:[(0,F.jsx)(s1.LIcon,{icon:R1,size:"20px",removeMargin:!0,color:V.neutral[900]}),"Preciso de outro convite"]})]})]})}))}var $1=require("@s_mart/core");var g0=R(require("@emotion/styled"));var l2=g0.default.div`
256
256
  display: grid;
257
- gap: ${n(32)};
257
+ gap: ${c(32)};
258
258
 
259
259
  > div {
260
260
  display: grid;
261
- gap: ${n(16)};
261
+ gap: ${c(16)};
262
262
  }
263
- `,O0=B1.default.header`
263
+ `,s2=g0.default.header`
264
264
  display: grid;
265
265
  text-align: center;
266
- gap: ${n(16)};
267
- `;var P=require("react/jsx-runtime");function D0(c){var i=c,{logo:e,onVoltarParaLogin:a}=i,r=T(i,["logo","onVoltarParaLogin"]);let l=typeof e=="string"?(0,P.jsx)("img",{src:e,alt:"Logo do sistema"}):e,{width:u}=B();return(0,P.jsx)(H,L(S({},r),{paperStyle:{maxWidth:u>500?456:void 0,width:u>500?void 0:"90%"},children:(0,P.jsxs)($0,{children:[(0,P.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[(0,P.jsx)(O0,{children:e&&(0,P.jsx)("div",{children:l})}),(0,P.jsx)(a1.Typography,{variant:"titleMD",textAlign:"center",children:"Instru\xE7\xF5es enviadas"}),(0,P.jsx)(a1.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,P.jsx)(a1.Button,{fullWidth:!0,onClick:a,children:"Voltar para login"})]})}))}var w=require("@s_mart/core"),r1=require("@s_mart/form");var Y=M(require("@emotion/styled"));var R0=Y.default.div`
266
+ gap: ${c(16)};
267
+ `;var X=require("react/jsx-runtime");function h2(s){var i=s,{logo:e,onVoltarParaLogin:a}=i,r=W(i,["logo","onVoltarParaLogin"]);let m=typeof e=="string"?(0,X.jsx)("img",{src:e,alt:"Logo do sistema"}):e,{width:Z}=l1();return(0,X.jsx)(I,z(B({},r),{paperStyle:{maxWidth:Z>500?456:void 0,width:Z>500?void 0:"90%"},children:(0,X.jsxs)(l2,{children:[(0,X.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[(0,X.jsx)(s2,{children:e&&(0,X.jsx)("div",{children:m})}),(0,X.jsx)($1.Typography,{variant:"titleMD",textAlign:"center",children:"Instru\xE7\xF5es enviadas"}),(0,X.jsx)($1.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,X.jsx)($1.Button,{fullWidth:!0,onClick:a,children:"Voltar para login"})]})}))}var Y=require("@s_mart/core"),A1=require("@s_mart/form");var g1=R(require("@emotion/styled"));var d2=g1.default.div`
268
268
  display: grid;
269
- gap: ${n(32)};
270
- `,F0=Y.default.header`
269
+ gap: ${c(32)};
270
+ `,v2=g1.default.header`
271
271
  display: grid;
272
272
  text-align: center;
273
- gap: ${n(16)};
274
- `,I0=Y.default.div`
273
+ gap: ${c(16)};
274
+ `,u2=g1.default.div`
275
275
  display: grid;
276
- gap: ${n(32)};
277
- `,N0=Y.default.div`
276
+ gap: ${c(32)};
277
+ `,m2=g1.default.div`
278
278
  display: grid;
279
- gap: ${n(4)};
279
+ gap: ${c(4)};
280
280
 
281
281
  > div:first-of-type {
282
282
  display: grid;
283
283
  grid-template-columns: 1fr 1fr;
284
- gap: ${n(16)};
284
+ gap: ${c(16)};
285
285
 
286
286
  @media (max-width: 768px) {
287
287
  grid-template-columns: 1fr;
288
- gap: ${n(8)};
288
+ gap: ${c(8)};
289
289
  }
290
290
  }
291
291
 
292
292
  > div:last-of-type {
293
293
  display: grid;
294
- gap: ${n(4)};
294
+ gap: ${c(4)};
295
295
  }
296
- `,_0=Y.default.div`
296
+ `,p2=g1.default.div`
297
297
  display: flex;
298
298
  flex-wrap: wrap;
299
- gap: ${n(8)};
300
- `,T1=Y.default.div`
299
+ gap: ${c(8)};
300
+ `,r0=g1.default.div`
301
301
  display: flex;
302
302
  align-items: center;
303
- gap: ${n(4)};
303
+ gap: ${c(4)};
304
304
 
305
- color: ${v.neutral[600]};
306
- border: 1px solid ${v.neutral[600]};
307
- border-radius: ${n(4)};
308
- padding: ${n(3)} ${n(4)};
305
+ color: ${V.neutral[600]};
306
+ border: 1px solid ${V.neutral[600]};
307
+ border-radius: ${c(4)};
308
+ padding: ${c(3)} ${c(4)};
309
309
 
310
310
  line-height: 1em;
311
311
  vertical-align: middle;
312
312
 
313
313
  ${({checked:e})=>{if(e)return`
314
- color: ${v.green[300]};
315
- border-color: ${v.green[300]};
314
+ color: ${V.green[300]};
315
+ border-color: ${V.green[300]};
316
316
  `}}
317
- `;function B0(){let e=i=>i?i.match(/[a-z]/i):!1,a=i=>i?i.match(/[0-9]/i):!1,r=i=>i?i.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:i=>!i.senha||!i.confirmarSenha||!e(i.senha)||!a(i.senha)||!r(i.senha)}}var d=require("react/jsx-runtime");function q0(c){var i=c,{logo:e,onTrocarMinhaSenha:a}=i,r=T(i,["logo","onTrocarMinhaSenha"]);let{senhaContemLetra:l,senhaContemNumero:u,senhaContemMinimoDe6Caracteres:m,desabilitarBotaoDeCadastro:g}=B0(),b=typeof e=="string"?(0,d.jsx)("img",{src:e,alt:"Logo do sistema"}):e;return(0,d.jsx)(H,L(S({},r),{children:(0,d.jsxs)(R0,{children:[(0,d.jsxs)(F0,{children:[e&&(0,d.jsx)("div",{children:b}),(0,d.jsx)(w.Typography,{variant:"titleSM",children:"Vamos cadastrar uma nova senha de acesso."})]}),(0,d.jsx)(r1.Form,{onSubmit:a,children:({watch:y})=>{let A=l(y("senha")),K=u(y("senha")),R=m(y("senha"));return(0,d.jsxs)(I0,{children:[(0,d.jsxs)(N0,{children:[(0,d.jsxs)("div",{children:[(0,d.jsx)(r1.TextField,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:O}),(0,d.jsx)(r1.TextField,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:x=>{if(!x)return"Campo obrigat\xF3rio";if(x!==y("senha"))return"As senhas devem ser iguais"}}})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)(w.Typography,{variant:"bodyXS",children:"Sua senha precisa conter:"}),(0,d.jsxs)(_0,{children:[(0,d.jsxs)(T1,{checked:!!A,children:[A&&(0,d.jsx)(w.LIcon,{icon:N,size:"16px",removeMargin:!0}),(0,d.jsx)(w.Typography,{variant:"bodyXS",children:"Uma letra"})]}),(0,d.jsxs)(T1,{checked:!!K,children:[K&&(0,d.jsx)(w.LIcon,{icon:N,size:"16px",removeMargin:!0}),(0,d.jsx)(w.Typography,{variant:"bodyXS",children:"Um n\xFAmero"})]}),(0,d.jsxs)(T1,{checked:!!R,children:[R&&(0,d.jsx)(w.LIcon,{icon:N,size:"16px",removeMargin:!0}),(0,d.jsx)(w.Typography,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),(0,d.jsx)("div",{children:(0,d.jsx)(w.Button,{type:"submit",fullWidth:!0,disabled:g(y()),children:"Trocar minha senha"})})]})}})]})}))}var Q=require("@s_mart/core");var k1=M(require("@emotion/styled"));var j0=k1.default.div`
317
+ `;function f2(){let e=i=>i?i.match(/[a-z]/i):!1,a=i=>i?i.match(/[0-9]/i):!1,r=i=>i?i.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:i=>!i.senha||!i.confirmarSenha||!e(i.senha)||!a(i.senha)||!r(i.senha)}}var H=require("react/jsx-runtime");function g2(s){var i=s,{logo:e,onTrocarMinhaSenha:a}=i,r=W(i,["logo","onTrocarMinhaSenha"]);let{senhaContemLetra:m,senhaContemNumero:Z,senhaContemMinimoDe6Caracteres:f,desabilitarBotaoDeCadastro:S}=f2(),b=typeof e=="string"?(0,H.jsx)("img",{src:e,alt:"Logo do sistema"}):e;return(0,H.jsx)(I,z(B({},r),{children:(0,H.jsxs)(d2,{children:[(0,H.jsxs)(v2,{children:[e&&(0,H.jsx)("div",{children:b}),(0,H.jsx)(Y.Typography,{variant:"titleSM",children:"Vamos cadastrar uma nova senha de acesso."})]}),(0,H.jsx)(A1.Form,{onSubmit:a,children:({watch:$})=>{let w=m($("senha")),N=Z($("senha")),j=f($("senha"));return(0,H.jsxs)(u2,{children:[(0,H.jsxs)(m2,{children:[(0,H.jsxs)("div",{children:[(0,H.jsx)(A1.TextField,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:e1}),(0,H.jsx)(A1.TextField,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:_=>{if(!_)return"Campo obrigat\xF3rio";if(_!==$("senha"))return"As senhas devem ser iguais"}}})]}),(0,H.jsxs)("div",{children:[(0,H.jsx)(Y.Typography,{variant:"bodyXS",children:"Sua senha precisa conter:"}),(0,H.jsxs)(p2,{children:[(0,H.jsxs)(r0,{checked:!!w,children:[w&&(0,H.jsx)(Y.LIcon,{icon:c1,size:"16px",removeMargin:!0}),(0,H.jsx)(Y.Typography,{variant:"bodyXS",children:"Uma letra"})]}),(0,H.jsxs)(r0,{checked:!!N,children:[N&&(0,H.jsx)(Y.LIcon,{icon:c1,size:"16px",removeMargin:!0}),(0,H.jsx)(Y.Typography,{variant:"bodyXS",children:"Um n\xFAmero"})]}),(0,H.jsxs)(r0,{checked:!!j,children:[j&&(0,H.jsx)(Y.LIcon,{icon:c1,size:"16px",removeMargin:!0}),(0,H.jsx)(Y.Typography,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),(0,H.jsx)("div",{children:(0,H.jsx)(Y.Button,{type:"submit",fullWidth:!0,disabled:S($()),children:"Trocar minha senha"})})]})}})]})}))}var V1=require("@s_mart/core");var n0=R(require("@emotion/styled"));var Z2=n0.default.div`
318
318
  display: grid;
319
- gap: ${n(32)};
319
+ gap: ${c(32)};
320
320
 
321
321
  > div {
322
322
  display: grid;
323
- gap: ${n(16)};
323
+ gap: ${c(16)};
324
324
  }
325
- `,z0=k1.default.header`
325
+ `,y2=n0.default.header`
326
326
  display: grid;
327
327
  text-align: center;
328
- gap: ${n(16)};
329
- `,W0=k1.default.div`
328
+ gap: ${c(16)};
329
+ `,M2=n0.default.div`
330
330
  display: grid;
331
- gap: ${n(32)};
331
+ gap: ${c(32)};
332
332
 
333
333
  > div:last-of-type {
334
334
  display: grid;
335
- gap: ${n(16)};
335
+ gap: ${c(16)};
336
336
  }
337
- `;var w1=require("@s_mart/form");var Z=require("react/jsx-runtime");function U0(i){var l=i,{logo:e,onVoltarParaLogin:a,onConfirmar:r}=l,c=T(l,["logo","onVoltarParaLogin","onConfirmar"]);let u=typeof e=="string"?(0,Z.jsx)("img",{src:e,alt:"Logo do sistema"}):e,{width:m}=B();return(0,Z.jsx)(H,L(S({},c),{paperStyle:{minWidth:m>500?456:void 0,width:m>500?void 0:"90%"},children:(0,Z.jsxs)(j0,{children:[(0,Z.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[(0,Z.jsx)(z0,{children:e&&(0,Z.jsx)("div",{children:u})}),(0,Z.jsx)(Q.Typography,{variant:"titleMD",textAlign:"center",children:"Esqueceu a senha?"}),(0,Z.jsx)(Q.Typography,{variant:"bodySM",textAlign:"center",children:"Informe seu e-mail de acesso para receber instru\xE7\xF5es e criar uma nova senha."})]}),(0,Z.jsx)(w1.Form,{onSubmit:r,children:(0,Z.jsxs)(W0,{children:[(0,Z.jsx)("div",{children:(0,Z.jsx)(w1.TextField,{name:"email",label:"E-mail de acesso",required:!0,rules:m1([O,u1])})}),(0,Z.jsxs)("div",{children:[(0,Z.jsx)(Q.Button,{fullWidth:!0,type:"submit",children:"Confirmar"}),(0,Z.jsx)(Q.Button,{fullWidth:!0,onClick:a,variant:"neutral",children:"Voltar para login"})]})]})})]})}))}0&&(module.exports={TelaCadastro,TelaConviteExpirado,TelaEsqueceuSenha,TelaInstrucoesEnviadas,TelaLogin,TelaNovaSenha,TemplateTelaBase});
337
+ `;var i0=require("@s_mart/form");var D=require("react/jsx-runtime");function C2(i){var m=i,{logo:e,onVoltarParaLogin:a,onConfirmar:r}=m,s=W(m,["logo","onVoltarParaLogin","onConfirmar"]);let Z=typeof e=="string"?(0,D.jsx)("img",{src:e,alt:"Logo do sistema"}):e,{width:f}=l1();return(0,D.jsx)(I,z(B({},s),{paperStyle:{minWidth:f>500?456:void 0,width:f>500?void 0:"90%"},children:(0,D.jsxs)(Z2,{children:[(0,D.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[(0,D.jsx)(y2,{children:e&&(0,D.jsx)("div",{children:Z})}),(0,D.jsx)(V1.Typography,{variant:"titleMD",textAlign:"center",children:"Esqueceu a senha?"}),(0,D.jsx)(V1.Typography,{variant:"bodySM",textAlign:"center",children:"Informe seu e-mail de acesso para receber instru\xE7\xF5es e criar uma nova senha."})]}),(0,D.jsx)(i0.Form,{onSubmit:r,children:(0,D.jsxs)(M2,{children:[(0,D.jsx)("div",{children:(0,D.jsx)(i0.TextField,{name:"email",label:"E-mail de acesso",required:!0,rules:I1([e1,N1])})}),(0,D.jsxs)("div",{children:[(0,D.jsx)(V1.Button,{fullWidth:!0,type:"submit",children:"Confirmar"}),(0,D.jsx)(V1.Button,{fullWidth:!0,onClick:a,variant:"neutral",children:"Voltar para login"})]})]})})]})}))}0&&(module.exports={TelaCadastro,TelaConviteExpirado,TelaEsqueceuSenha,TelaInstrucoesEnviadas,TelaLogin,TelaNovaSenha,TemplateTelaBase});
338
338
  /*! Bundled license information:
339
339
 
340
340
  @mui/styled-engine/index.js:
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- var m2=Object.create;var b1=Object.defineProperty,u2=Object.defineProperties,p2=Object.getOwnPropertyDescriptor,f2=Object.getOwnPropertyDescriptors,g2=Object.getOwnPropertyNames,a1=Object.getOwnPropertySymbols,Z2=Object.getPrototypeOf,x1=Object.prototype.hasOwnProperty,_1=Object.prototype.propertyIsEnumerable;var N1=(e,a,r)=>a in e?b1(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,C=(e,a)=>{for(var r in a||(a={}))x1.call(a,r)&&N1(e,r,a[r]);if(a1)for(var r of a1(a))_1.call(a,r)&&N1(e,r,a[r]);return e},x=(e,a)=>u2(e,f2(a));var V=(e,a)=>{var r={};for(var c in e)x1.call(e,c)&&a.indexOf(c)<0&&(r[c]=e[c]);if(e!=null&&a1)for(var c of a1(e))a.indexOf(c)<0&&_1.call(e,c)&&(r[c]=e[c]);return r};var r1=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports);var y2=(e,a,r,c)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of g2(a))!x1.call(e,i)&&i!==r&&b1(e,i,{get:()=>a[i],enumerable:!(c=p2(a,i))||c.enumerable});return e};var M2=(e,a,r)=>(r=e!=null?m2(Z2(e)):{},y2(a||!e||!e.__esModule?b1(r,"default",{value:e,enumerable:!0}):r,e));var r0=r1(l=>{"use strict";var u=typeof Symbol=="function"&&Symbol.for,E1=u?Symbol.for("react.element"):60103,L1=u?Symbol.for("react.portal"):60106,s1=u?Symbol.for("react.fragment"):60107,h1=u?Symbol.for("react.strict_mode"):60108,d1=u?Symbol.for("react.profiler"):60114,v1=u?Symbol.for("react.provider"):60109,m1=u?Symbol.for("react.context"):60110,T1=u?Symbol.for("react.async_mode"):60111,u1=u?Symbol.for("react.concurrent_mode"):60111,p1=u?Symbol.for("react.forward_ref"):60112,f1=u?Symbol.for("react.suspense"):60113,W2=u?Symbol.for("react.suspense_list"):60120,g1=u?Symbol.for("react.memo"):60115,Z1=u?Symbol.for("react.lazy"):60116,U2=u?Symbol.for("react.block"):60121,Y2=u?Symbol.for("react.fundamental"):60117,K2=u?Symbol.for("react.responder"):60118,X2=u?Symbol.for("react.scope"):60119;function b(e){if(typeof e=="object"&&e!==null){var a=e.$$typeof;switch(a){case E1:switch(e=e.type,e){case T1:case u1:case s1:case d1:case h1:case f1:return e;default:switch(e=e&&e.$$typeof,e){case m1:case p1:case Z1:case g1:case v1:return e;default:return a}}case L1:return a}}}function a0(e){return b(e)===u1}l.AsyncMode=T1;l.ConcurrentMode=u1;l.ContextConsumer=m1;l.ContextProvider=v1;l.Element=E1;l.ForwardRef=p1;l.Fragment=s1;l.Lazy=Z1;l.Memo=g1;l.Portal=L1;l.Profiler=d1;l.StrictMode=h1;l.Suspense=f1;l.isAsyncMode=function(e){return a0(e)||b(e)===T1};l.isConcurrentMode=a0;l.isContextConsumer=function(e){return b(e)===m1};l.isContextProvider=function(e){return b(e)===v1};l.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===E1};l.isForwardRef=function(e){return b(e)===p1};l.isFragment=function(e){return b(e)===s1};l.isLazy=function(e){return b(e)===Z1};l.isMemo=function(e){return b(e)===g1};l.isPortal=function(e){return b(e)===L1};l.isProfiler=function(e){return b(e)===d1};l.isStrictMode=function(e){return b(e)===h1};l.isSuspense=function(e){return b(e)===f1};l.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===s1||e===u1||e===d1||e===h1||e===f1||e===W2||typeof e=="object"&&e!==null&&(e.$$typeof===Z1||e.$$typeof===g1||e.$$typeof===v1||e.$$typeof===m1||e.$$typeof===p1||e.$$typeof===Y2||e.$$typeof===K2||e.$$typeof===X2||e.$$typeof===U2)};l.typeOf=b});var n0=r1(s=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=typeof Symbol=="function"&&Symbol.for,a=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,c=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,v=e?Symbol.for("react.provider"):60109,d=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,Z=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,L=e?Symbol.for("react.suspense"):60113,N=e?Symbol.for("react.suspense_list"):60120,A=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,X=e?Symbol.for("react.block"):60121,Q=e?Symbol.for("react.fundamental"):60117,G=e?Symbol.for("react.responder"):60118,J=e?Symbol.for("react.scope"):60119;function _0(t){return typeof t=="string"||typeof t=="function"||t===c||t===Z||t===o||t===i||t===L||t===N||typeof t=="object"&&t!==null&&(t.$$typeof===y||t.$$typeof===A||t.$$typeof===v||t.$$typeof===d||t.$$typeof===g||t.$$typeof===Q||t.$$typeof===G||t.$$typeof===J||t.$$typeof===X)}function M(t){if(typeof t=="object"&&t!==null){var H1=t.$$typeof;switch(H1){case a:var e1=t.type;switch(e1){case p:case Z:case c:case o:case i:case L:return e1;default:var I1=e1&&e1.$$typeof;switch(I1){case d:case g:case y:case A:case v:return I1;default:return H1}}case r:return H1}}}var B0=p,q0=Z,j0=d,z0=v,W0=a,U0=g,Y0=c,K0=y,X0=A,Q0=r,G0=o,J0=i,e2=L,R1=!1;function a2(t){return R1||(R1=!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.")),F1(t)||M(t)===p}function F1(t){return M(t)===Z}function r2(t){return M(t)===d}function n2(t){return M(t)===v}function i2(t){return typeof t=="object"&&t!==null&&t.$$typeof===a}function t2(t){return M(t)===g}function c2(t){return M(t)===c}function o2(t){return M(t)===y}function l2(t){return M(t)===A}function s2(t){return M(t)===r}function h2(t){return M(t)===o}function d2(t){return M(t)===i}function v2(t){return M(t)===L}s.AsyncMode=B0,s.ConcurrentMode=q0,s.ContextConsumer=j0,s.ContextProvider=z0,s.Element=W0,s.ForwardRef=U0,s.Fragment=Y0,s.Lazy=K0,s.Memo=X0,s.Portal=Q0,s.Profiler=G0,s.StrictMode=J0,s.Suspense=e2,s.isAsyncMode=a2,s.isConcurrentMode=F1,s.isContextConsumer=r2,s.isContextProvider=n2,s.isElement=i2,s.isForwardRef=t2,s.isFragment=c2,s.isLazy=o2,s.isMemo=l2,s.isPortal=s2,s.isProfiler=h2,s.isStrictMode=d2,s.isSuspense=v2,s.isValidElementType=_0,s.typeOf=M}()});var i0=r1((te,k1)=>{"use strict";process.env.NODE_ENV==="production"?k1.exports=r0():k1.exports=n0()});var d0=r1((ce,h0)=>{"use strict";var w1=i0(),Q2={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},G2={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},J2={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},A1={};A1[w1.ForwardRef]=J2;A1[w1.Memo]=l0;function t0(e){return w1.isMemo(e)?l0:A1[e.$$typeof]||Q2}var e3=Object.defineProperty,a3=Object.getOwnPropertyNames,c0=Object.getOwnPropertySymbols,r3=Object.getOwnPropertyDescriptor,n3=Object.getPrototypeOf,o0=Object.prototype;function s0(e,a,r){if(typeof a!="string"){if(o0){var c=n3(a);c&&c!==o0&&s0(e,c,r)}var i=a3(a);c0&&(i=i.concat(c0(a)));for(var o=t0(e),v=t0(a),d=0;d<i.length;++d){var p=i[d];if(!G2[p]&&!(r&&r[p])&&!(v&&v[p])&&!(o&&o[p])){var Z=r3(a,p);try{e3(e,p,Z)}catch(g){}}}}return e}h0.exports=s0});import{LIcon as P2,Typography as $2}from"@s_mart/core";import{telefone as O2}from"@s_mart/masks";var $={description:"m37.5 11.3-19 19.4-7-7.2a.9.9 0 0 0-1.2 0l-2 2.1c-.4.4-.4 1 0 1.3l9.6 9.8c.3.4.9.4 1.2 0l21.6-22.1c.4-.3.4-1 0-1.3l-2-2a.9.9 0 0 0-1.2 0Z",id:"line-check-regular"};var n1={description:"M35.2 12.7a15.9 15.9 0 0 0-25 19.1L8 40l8.4-2.2a16 16 0 0 0 23.6-14 16 16 0 0 0-4.8-11.1ZM24 37a13 13 0 0 1-6.7-1.9l-.5-.3-5 1.3 1.3-4.8-.3-.5a13.2 13.2 0 0 1 20.5-16.3c2.5 2.4 4 5.7 4 9.3C37.3 31 31.3 37 24 37Zm7.2-10-2.7-1c-.4-.1-.6-.2-.9.2l-1.2 1.5c-.3.3-.5.3-.9.1-2.3-1.1-3.9-2-5.4-4.7-.4-.7.4-.6 1.2-2.1v-.7c-.2-.2-1-2.2-1.3-3-.3-.7-.6-.6-.9-.6h-.7c-.3 0-.7 0-1 .4-.4.4-1.5 1.4-1.5 3.3 0 2 1.5 3.9 1.6 4.1.2.3 2.8 4.3 6.8 6 2.5 1.1 3.5 1.2 4.8 1 .7 0 2.3-1 2.6-1.9.4-.9.4-1.7.3-1.9l-.8-.4Z",id:"line-whatsapp-regular"};var n=e=>`${e/16}rem`;import q from"@emotion/styled";var C2=Object.defineProperty,H2=(e,a)=>{for(var r in a)C2(e,r,{get:a[r],enumerable:!0})},h={};H2(h,{blue:()=>x2,green:()=>L2,neutral:()=>A2,red:()=>S2,yellow:()=>k2});var b2={75:"#AFD2FF",100:"#689DCB",300:"#045BA8",500:"#132C70"},x2=b2,V2={75:"#FEBCAC",100:"#F5917F",300:"#EF4829",500:"#BD2601"},S2=V2,E2={75:"#D6EEBC",100:"#A5D770",300:"#49BF00",500:"#518133"},L2=E2,T2={75:"#FDEFB3",100:"#FFE380",300:"#FFAB00",500:"#C56C00"},k2=T2,w2={0:"#FFFFFF",10:"#FBFBFB",20:"#F4F5F7",30:"#EEEEEE",40:"#DBDBDB",50:"#CACACA",100:"#8B8B8B",500:"#555555",600:"#464646",800:"#2E2E2E",900:"#262626"},A2=w2;var B1=q.div`
1
+ var g2=Object.create;var X1=Object.defineProperty,Z2=Object.defineProperties,y2=Object.getOwnPropertyDescriptor,M2=Object.getOwnPropertyDescriptors,C2=Object.getOwnPropertyNames,w1=Object.getOwnPropertySymbols,H2=Object.getPrototypeOf,Q1=Object.prototype.hasOwnProperty,m0=Object.prototype.propertyIsEnumerable;var u0=(e,a,r)=>a in e?X1(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,R=(e,a)=>{for(var r in a||(a={}))Q1.call(a,r)&&u0(e,r,a[r]);if(w1)for(var r of w1(a))m0.call(a,r)&&u0(e,r,a[r]);return e},N=(e,a)=>Z2(e,M2(a));var B=(e,a)=>{var r={};for(var s in e)Q1.call(e,s)&&a.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&w1)for(var s of w1(e))a.indexOf(s)<0&&m0.call(e,s)&&(r[s]=e[s]);return r};var y1=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports);var b2=(e,a,r,s)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of C2(a))!Q1.call(e,i)&&i!==r&&X1(e,i,{get:()=>a[i],enumerable:!(s=y2(a,i))||s.enumerable});return e};var p0=(e,a,r)=>(r=e!=null?g2(H2(e)):{},b2(a||!e||!e.__esModule?X1(r,"default",{value:e,enumerable:!0}):r,e));var C0=y1((J1,e0)=>{(function(e,a){typeof J1=="object"&&typeof e0!="undefined"?e0.exports=a():typeof define=="function"&&define.amd?define(a):(e=typeof globalThis!="undefined"?globalThis:e||self).dayjs=a()})(J1,function(){"use strict";var e=1e3,a=6e4,r=36e5,s="millisecond",i="second",m="minute",g="hour",p="day",x="week",C="month",T="quarter",L="year",P="date",I="Invalid Date",D=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,s1=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h1={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(h){var o=["th","st","nd","rd"],n=h%100;return"["+h+(o[(n-20)%10]||o[n]||o[0])+"]"}},G=function(h,o,n){var d=String(h);return!d||d.length>=o?h:""+Array(o+1-d.length).join(n)+h},d1={s:G,z:function(h){var o=-h.utcOffset(),n=Math.abs(o),d=Math.floor(n/60),t=n%60;return(o<=0?"+":"-")+G(d,2,"0")+":"+G(t,2,"0")},m:function h(o,n){if(o.date()<n.date())return-h(n,o);var d=12*(n.year()-o.year())+(n.month()-o.month()),t=o.clone().add(d,C),u=n-t<0,v=o.clone().add(d+(u?-1:1),C);return+(-(d+(n-t)/(u?t-v:v-t))||0)},a:function(h){return h<0?Math.ceil(h)||0:Math.floor(h)},p:function(h){return{M:C,y:L,w:x,d:p,D:P,h:g,m,s:i,ms:s,Q:T}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(h){return h===void 0}},n1="en",S={};S[n1]=h1;var g1=function(h){return h instanceof u1},v1=function h(o,n,d){var t;if(!o)return n1;if(typeof o=="string"){var u=o.toLowerCase();S[u]&&(t=u),n&&(S[u]=n,t=u);var v=o.split("-");if(!t&&v.length>1)return h(v[0])}else{var f=o.name;S[f]=o,t=f}return!d&&t&&(n1=t),t||!d&&n1},w=function(h,o){if(g1(h))return h.clone();var n=typeof o=="object"?o:{};return n.date=h,n.args=arguments,new u1(n)},Z=d1;Z.l=v1,Z.i=g1,Z.w=function(h,o){return w(h,{locale:o.$L,utc:o.$u,x:o.$x,$offset:o.$offset})};var u1=function(){function h(n){this.$L=v1(n.locale,null,!0),this.parse(n)}var o=h.prototype;return o.parse=function(n){this.$d=function(d){var t=d.date,u=d.utc;if(t===null)return new Date(NaN);if(Z.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var v=t.match(D);if(v){var f=v[2]-1||0,V=(v[7]||"0").substring(0,3);return u?new Date(Date.UTC(v[1],f,v[3]||1,v[4]||0,v[5]||0,v[6]||0,V)):new Date(v[1],f,v[3]||1,v[4]||0,v[5]||0,v[6]||0,V)}}return new Date(t)}(n),this.$x=n.x||{},this.init()},o.init=function(){var n=this.$d;this.$y=n.getFullYear(),this.$M=n.getMonth(),this.$D=n.getDate(),this.$W=n.getDay(),this.$H=n.getHours(),this.$m=n.getMinutes(),this.$s=n.getSeconds(),this.$ms=n.getMilliseconds()},o.$utils=function(){return Z},o.isValid=function(){return this.$d.toString()!==I},o.isSame=function(n,d){var t=w(n);return this.startOf(d)<=t&&t<=this.endOf(d)},o.isAfter=function(n,d){return w(n)<this.startOf(d)},o.isBefore=function(n,d){return this.endOf(d)<w(n)},o.$g=function(n,d,t){return Z.u(n)?this[d]:this.set(t,n)},o.unix=function(){return Math.floor(this.valueOf()/1e3)},o.valueOf=function(){return this.$d.getTime()},o.startOf=function(n,d){var t=this,u=!!Z.u(d)||d,v=Z.p(n),f=function(J,A){var Y=Z.w(t.$u?Date.UTC(t.$y,A,J):new Date(t.$y,A,J),t);return u?Y:Y.endOf(p)},V=function(J,A){return Z.w(t.toDate()[J].apply(t.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(A)),t)},H=this.$W,k=this.$M,U=this.$D,z="set"+(this.$u?"UTC":"");switch(v){case L:return u?f(1,0):f(31,11);case C:return u?f(1,k):f(0,k+1);case x:var i1=this.$locale().weekStart||0,t1=(H<i1?H+7:H)-i1;return f(u?U-t1:U+(6-t1),k);case p:case P:return V(z+"Hours",0);case g:return V(z+"Minutes",1);case m:return V(z+"Seconds",2);case i:return V(z+"Milliseconds",3);default:return this.clone()}},o.endOf=function(n){return this.startOf(n,!1)},o.$set=function(n,d){var t,u=Z.p(n),v="set"+(this.$u?"UTC":""),f=(t={},t[p]=v+"Date",t[P]=v+"Date",t[C]=v+"Month",t[L]=v+"FullYear",t[g]=v+"Hours",t[m]=v+"Minutes",t[i]=v+"Seconds",t[s]=v+"Milliseconds",t)[u],V=u===p?this.$D+(d-this.$W):d;if(u===C||u===L){var H=this.clone().set(P,1);H.$d[f](V),H.init(),this.$d=H.set(P,Math.min(this.$D,H.daysInMonth())).$d}else f&&this.$d[f](V);return this.init(),this},o.set=function(n,d){return this.clone().$set(n,d)},o.get=function(n){return this[Z.p(n)]()},o.add=function(n,d){var t,u=this;n=Number(n);var v=Z.p(d),f=function(k){var U=w(u);return Z.w(U.date(U.date()+Math.round(k*n)),u)};if(v===C)return this.set(C,this.$M+n);if(v===L)return this.set(L,this.$y+n);if(v===p)return f(1);if(v===x)return f(7);var V=(t={},t[m]=a,t[g]=r,t[i]=e,t)[v]||1,H=this.$d.getTime()+n*V;return Z.w(H,this)},o.subtract=function(n,d){return this.add(-1*n,d)},o.format=function(n){var d=this,t=this.$locale();if(!this.isValid())return t.invalidDate||I;var u=n||"YYYY-MM-DDTHH:mm:ssZ",v=Z.z(this),f=this.$H,V=this.$m,H=this.$M,k=t.weekdays,U=t.months,z=function(A,Y,Z1,m1){return A&&(A[Y]||A(d,u))||Z1[Y].slice(0,m1)},i1=function(A){return Z.s(f%12||12,A,"0")},t1=t.meridiem||function(A,Y,Z1){var m1=A<12?"AM":"PM";return Z1?m1.toLowerCase():m1},J={YY:String(this.$y).slice(-2),YYYY:this.$y,M:H+1,MM:Z.s(H+1,2,"0"),MMM:z(t.monthsShort,H,U,3),MMMM:z(U,H),D:this.$D,DD:Z.s(this.$D,2,"0"),d:String(this.$W),dd:z(t.weekdaysMin,this.$W,k,2),ddd:z(t.weekdaysShort,this.$W,k,3),dddd:k[this.$W],H:String(f),HH:Z.s(f,2,"0"),h:i1(1),hh:i1(2),a:t1(f,V,!0),A:t1(f,V,!1),m:String(V),mm:Z.s(V,2,"0"),s:String(this.$s),ss:Z.s(this.$s,2,"0"),SSS:Z.s(this.$ms,3,"0"),Z:v};return u.replace(s1,function(A,Y){return Y||J[A]||v.replace(":","")})},o.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},o.diff=function(n,d,t){var u,v=Z.p(d),f=w(n),V=(f.utcOffset()-this.utcOffset())*a,H=this-f,k=Z.m(this,f);return k=(u={},u[L]=k/12,u[C]=k,u[T]=k/3,u[x]=(H-V)/6048e5,u[p]=(H-V)/864e5,u[g]=H/r,u[m]=H/a,u[i]=H/e,u)[v]||H,t?k:Z.a(k)},o.daysInMonth=function(){return this.endOf(C).$D},o.$locale=function(){return S[this.$L]},o.locale=function(n,d){if(!n)return this.$L;var t=this.clone(),u=v1(n,d,!0);return u&&(t.$L=u),t},o.clone=function(){return Z.w(this.$d,this)},o.toDate=function(){return new Date(this.valueOf())},o.toJSON=function(){return this.isValid()?this.toISOString():null},o.toISOString=function(){return this.$d.toISOString()},o.toString=function(){return this.$d.toUTCString()},h}(),E1=u1.prototype;return w.prototype=E1,[["$ms",s],["$s",i],["$m",m],["$H",g],["$W",p],["$M",C],["$y",L],["$D",P]].forEach(function(h){E1[h[1]]=function(o){return this.$g(o,h[0],h[1])}}),w.extend=function(h,o){return h.$i||(h(o,u1,w),h.$i=!0),w},w.locale=v1,w.isDayjs=g1,w.unix=function(h){return w(1e3*h)},w.en=S[n1],w.Ls=S,w.p={},w})});var k0=y1(y=>{"use strict";var $=typeof Symbol=="function"&&Symbol.for,r0=$?Symbol.for("react.element"):60103,n0=$?Symbol.for("react.portal"):60106,P1=$?Symbol.for("react.fragment"):60107,R1=$?Symbol.for("react.strict_mode"):60108,_1=$?Symbol.for("react.profiler"):60114,F1=$?Symbol.for("react.provider"):60109,I1=$?Symbol.for("react.context"):60110,i0=$?Symbol.for("react.async_mode"):60111,N1=$?Symbol.for("react.concurrent_mode"):60111,B1=$?Symbol.for("react.forward_ref"):60112,q1=$?Symbol.for("react.suspense"):60113,X2=$?Symbol.for("react.suspense_list"):60120,j1=$?Symbol.for("react.memo"):60115,z1=$?Symbol.for("react.lazy"):60116,Q2=$?Symbol.for("react.block"):60121,G2=$?Symbol.for("react.fundamental"):60117,J2=$?Symbol.for("react.responder"):60118,e3=$?Symbol.for("react.scope"):60119;function F(e){if(typeof e=="object"&&e!==null){var a=e.$$typeof;switch(a){case r0:switch(e=e.type,e){case i0:case N1:case P1:case _1:case R1:case q1:return e;default:switch(e=e&&e.$$typeof,e){case I1:case B1:case z1:case j1:case F1:return e;default:return a}}case n0:return a}}}function T0(e){return F(e)===N1}y.AsyncMode=i0;y.ConcurrentMode=N1;y.ContextConsumer=I1;y.ContextProvider=F1;y.Element=r0;y.ForwardRef=B1;y.Fragment=P1;y.Lazy=z1;y.Memo=j1;y.Portal=n0;y.Profiler=_1;y.StrictMode=R1;y.Suspense=q1;y.isAsyncMode=function(e){return T0(e)||F(e)===i0};y.isConcurrentMode=T0;y.isContextConsumer=function(e){return F(e)===I1};y.isContextProvider=function(e){return F(e)===F1};y.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===r0};y.isForwardRef=function(e){return F(e)===B1};y.isFragment=function(e){return F(e)===P1};y.isLazy=function(e){return F(e)===z1};y.isMemo=function(e){return F(e)===j1};y.isPortal=function(e){return F(e)===n0};y.isProfiler=function(e){return F(e)===_1};y.isStrictMode=function(e){return F(e)===R1};y.isSuspense=function(e){return F(e)===q1};y.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===P1||e===N1||e===_1||e===R1||e===q1||e===X2||typeof e=="object"&&e!==null&&(e.$$typeof===z1||e.$$typeof===j1||e.$$typeof===F1||e.$$typeof===I1||e.$$typeof===B1||e.$$typeof===G2||e.$$typeof===J2||e.$$typeof===e3||e.$$typeof===Q2)};y.typeOf=F});var $0=y1(M=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=typeof Symbol=="function"&&Symbol.for,a=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,s=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,m=e?Symbol.for("react.profiler"):60114,g=e?Symbol.for("react.provider"):60109,p=e?Symbol.for("react.context"):60110,x=e?Symbol.for("react.async_mode"):60111,C=e?Symbol.for("react.concurrent_mode"):60111,T=e?Symbol.for("react.forward_ref"):60112,L=e?Symbol.for("react.suspense"):60113,P=e?Symbol.for("react.suspense_list"):60120,I=e?Symbol.for("react.memo"):60115,D=e?Symbol.for("react.lazy"):60116,s1=e?Symbol.for("react.block"):60121,h1=e?Symbol.for("react.fundamental"):60117,G=e?Symbol.for("react.responder"):60118,d1=e?Symbol.for("react.scope"):60119;function n1(l){return typeof l=="string"||typeof l=="function"||l===s||l===C||l===m||l===i||l===L||l===P||typeof l=="object"&&l!==null&&(l.$$typeof===D||l.$$typeof===I||l.$$typeof===g||l.$$typeof===p||l.$$typeof===T||l.$$typeof===h1||l.$$typeof===G||l.$$typeof===d1||l.$$typeof===s1)}function S(l){if(typeof l=="object"&&l!==null){var K1=l.$$typeof;switch(K1){case a:var L1=l.type;switch(L1){case x:case C:case s:case m:case i:case L:return L1;default:var v0=L1&&L1.$$typeof;switch(v0){case p:case T:case D:case I:case g:return v0;default:return K1}}case r:return K1}}}var g1=x,v1=C,w=p,Z=g,u1=a,E1=T,h=s,o=D,n=I,d=r,t=m,u=i,v=L,f=!1;function V(l){return f||(f=!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.")),H(l)||S(l)===x}function H(l){return S(l)===C}function k(l){return S(l)===p}function U(l){return S(l)===g}function z(l){return typeof l=="object"&&l!==null&&l.$$typeof===a}function i1(l){return S(l)===T}function t1(l){return S(l)===s}function J(l){return S(l)===D}function A(l){return S(l)===I}function Y(l){return S(l)===r}function Z1(l){return S(l)===m}function m1(l){return S(l)===i}function f2(l){return S(l)===L}M.AsyncMode=g1,M.ConcurrentMode=v1,M.ContextConsumer=w,M.ContextProvider=Z,M.Element=u1,M.ForwardRef=E1,M.Fragment=h,M.Lazy=o,M.Memo=n,M.Portal=d,M.Profiler=t,M.StrictMode=u,M.Suspense=v,M.isAsyncMode=V,M.isConcurrentMode=H,M.isContextConsumer=k,M.isContextProvider=U,M.isElement=z,M.isForwardRef=i1,M.isFragment=t1,M.isLazy=J,M.isMemo=A,M.isPortal=Y,M.isProfiler=Z1,M.isStrictMode=m1,M.isSuspense=f2,M.isValidElementType=n1,M.typeOf=S}()});var A0=y1((se,t0)=>{"use strict";process.env.NODE_ENV==="production"?t0.exports=k0():t0.exports=$0()});var I0=y1((he,F0)=>{"use strict";var c0=A0(),a3={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r3={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n3={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},R0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o0={};o0[c0.ForwardRef]=n3;o0[c0.Memo]=R0;function O0(e){return c0.isMemo(e)?R0:o0[e.$$typeof]||a3}var i3=Object.defineProperty,t3=Object.getOwnPropertyNames,D0=Object.getOwnPropertySymbols,c3=Object.getOwnPropertyDescriptor,o3=Object.getPrototypeOf,P0=Object.prototype;function _0(e,a,r){if(typeof a!="string"){if(P0){var s=o3(a);s&&s!==P0&&_0(e,s,r)}var i=t3(a);D0&&(i=i.concat(D0(a)));for(var m=O0(e),g=O0(a),p=0;p<i.length;++p){var x=i[p];if(!r3[x]&&!(r&&r[x])&&!(g&&g[x])&&!(m&&m[x])){var C=c3(a,x);try{i3(e,x,C)}catch(T){}}}}return e}F0.exports=_0});import{LIcon as P2,Typography as R2}from"@s_mart/core";import{telefone as _2}from"@s_mart/masks";var e1={description:"m37.5 11.3-19 19.4-7-7.2a.9.9 0 0 0-1.2 0l-2 2.1c-.4.4-.4 1 0 1.3l9.6 9.8c.3.4.9.4 1.2 0l21.6-22.1c.4-.3.4-1 0-1.3l-2-2a.9.9 0 0 0-1.2 0Z",id:"line-check-regular"};var T1={description:"M35.2 12.7a15.9 15.9 0 0 0-25 19.1L8 40l8.4-2.2a16 16 0 0 0 23.6-14 16 16 0 0 0-4.8-11.1ZM24 37a13 13 0 0 1-6.7-1.9l-.5-.3-5 1.3 1.3-4.8-.3-.5a13.2 13.2 0 0 1 20.5-16.3c2.5 2.4 4 5.7 4 9.3C37.3 31 31.3 37 24 37Zm7.2-10-2.7-1c-.4-.1-.6-.2-.9.2l-1.2 1.5c-.3.3-.5.3-.9.1-2.3-1.1-3.9-2-5.4-4.7-.4-.7.4-.6 1.2-2.1v-.7c-.2-.2-1-2.2-1.3-3-.3-.7-.6-.6-.9-.6h-.7c-.3 0-.7 0-1 .4-.4.4-1.5 1.4-1.5 3.3 0 2 1.5 3.9 1.6 4.1.2.3 2.8 4.3 6.8 6 2.5 1.1 3.5 1.2 4.8 1 .7 0 2.3-1 2.6-1.9.4-.9.4-1.7.3-1.9l-.8-.4Z",id:"line-whatsapp-regular"};var c=e=>`${e/16}rem`;import M1 from"@emotion/styled";var x2=Object.defineProperty,V2=(e,a)=>{for(var r in a)x2(e,r,{get:a[r],enumerable:!0})},b={};V2(b,{blue:()=>E2,green:()=>k2,neutral:()=>D2,red:()=>w2,yellow:()=>A2});var S2={75:"#AFD2FF",100:"#689DCB",300:"#045BA8",500:"#132C70"},E2=S2,L2={75:"#FEBCAC",100:"#F5917F",300:"#EF4829",500:"#BD2601"},w2=L2,T2={75:"#D6EEBC",100:"#A5D770",300:"#49BF00",500:"#518133"},k2=T2,$2={75:"#FDEFB3",100:"#FFE380",300:"#FFAB00",500:"#C56C00"},A2=$2,O2={0:"#FFFFFF",10:"#FBFBFB",20:"#F4F5F7",30:"#EEEEEE",40:"#DBDBDB",50:"#CACACA",100:"#8B8B8B",500:"#555555",600:"#464646",800:"#2E2E2E",900:"#262626"},D2=O2;var f0=M1.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -18,7 +18,7 @@ var m2=Object.create;var b1=Object.defineProperty,u2=Object.defineProperties,p2=
18
18
  @media (max-height: 600px) {
19
19
  justify-content: flex-start;
20
20
  }
21
- `,q1=q.div`
21
+ `,g0=M1.div`
22
22
  position: absolute;
23
23
  left: 0;
24
24
  bottom: 32px;
@@ -27,26 +27,26 @@ var m2=Object.create;var b1=Object.defineProperty,u2=Object.defineProperties,p2=
27
27
  @media (max-width: 768px) {
28
28
  display: none;
29
29
  }
30
- `,j1=q.h1`
30
+ `,Z0=M1.h1`
31
31
  position: absolute;
32
32
  left: 32px;
33
33
  top: 32px;
34
34
 
35
35
  color: ${({theme:e})=>e.palette.common.white};
36
- font-size: ${n(32)};
36
+ font-size: ${c(32)};
37
37
  line-height: 150%;
38
38
  font-weight: normal;
39
39
 
40
40
  @media (max-width: 768px) {
41
41
  left: 16px;
42
42
  top: 16px;
43
- font-size: ${n(24)};
43
+ font-size: ${c(24)};
44
44
  }
45
45
 
46
46
  @media (max-height: 830px) {
47
47
  left: 16px;
48
48
  top: 16px;
49
- font-size: ${n(24)};
49
+ font-size: ${c(24)};
50
50
 
51
51
  @media (max-width: 768px) {
52
52
  display: none;
@@ -59,35 +59,35 @@ var m2=Object.create;var b1=Object.defineProperty,u2=Object.defineProperties,p2=
59
59
 
60
60
  span {
61
61
  background-color: #262626;
62
- padding: ${n(4)} ${n(8)};
63
- border-radius: ${n(12)};
62
+ padding: ${c(4)} ${c(8)};
63
+ border-radius: ${c(12)};
64
64
  }
65
65
 
66
66
  @media (max-width: 500px) {
67
67
  display: none;
68
68
  }
69
- `,z1=q.div`
69
+ `,y0=M1.div`
70
70
  position: relative;
71
71
  z-index: 2;
72
72
 
73
- padding: ${n(32)};
74
- border-radius: ${n(24)};
75
- margin: ${n(16)};
73
+ padding: ${c(32)};
74
+ border-radius: ${c(24)};
75
+ margin: ${c(16)};
76
76
 
77
77
  background-color: ${({theme:e})=>e.palette.common.white};
78
- `,W1=q.button`
78
+ `,M0=M1.button`
79
79
  position: relative;
80
80
  z-index: 2;
81
81
 
82
82
  background-color: ${({theme:e})=>e.palette.primary.main};
83
- padding: ${n(4)} ${n(8)};
83
+ padding: ${c(4)} ${c(8)};
84
84
  border: none;
85
- border-radius: ${n(8)};
85
+ border-radius: ${c(8)};
86
86
  cursor: pointer;
87
87
 
88
88
  display: flex;
89
89
  align-items: center;
90
- gap: ${n(4)};
90
+ gap: ${c(4)};
91
91
 
92
92
  color: ${({theme:e})=>e.palette.common.white};
93
93
 
@@ -96,91 +96,91 @@ var m2=Object.create;var b1=Object.defineProperty,u2=Object.defineProperties,p2=
96
96
  background-color: transparent;
97
97
 
98
98
  svg {
99
- color: ${h.green[300]};
99
+ color: ${b.green[300]};
100
100
  }
101
101
  }
102
- `;import{jsx as j,jsxs as V1}from"react/jsx-runtime";function H({children:e,whatsapp:a,textoChamativo:r,style:c,paperStyle:i,ilustracao:o}){return V1(B1,{style:c,children:[r&&j(j1,{children:r}),o&&j(q1,{children:typeof o=="string"?j("img",{src:o,alt:"Logo do sistema"}):o}),j(z1,{style:i,children:e}),a&&V1(W1,{onClick:()=>{window.open(`https://api.whatsapp.com/send?phone=${a}`)},style:{marginBottom:16},children:[V1($2,{variant:"bodyXS",children:["Com d\xFAvidas? ",O2.format(a.slice(2))]}),j(P2,{icon:n1,size:"20px",removeMargin:!0})]})]})}import{Button as B2,LIcon as S1,Typography as z}from"@s_mart/core";import{Checkbox as q2,Form as j2,TextField as l1}from"@s_mart/form";var D2=Object.defineProperty,R2=Object.defineProperties,F2=Object.getOwnPropertyDescriptors,U1=Object.getOwnPropertySymbols,I2=Object.prototype.hasOwnProperty,N2=Object.prototype.propertyIsEnumerable,Y1=(e,a,r)=>a in e?D2(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,i1=(e,a)=>{for(var r in a||(a={}))I2.call(a,r)&&Y1(e,r,a[r]);if(U1)for(var r of U1(a))N2.call(a,r)&&Y1(e,r,a[r]);return e},_2=(e,a)=>R2(e,F2(a));var t1=e=>{let a={validate:{}};return e.forEach(r=>{a=_2(i1(i1({},a),r),{validate:i1(i1({},a.validate),r.validate)})}),a},k={validate:{required:e=>{if(!e)return"Obrigat\xF3rio"}}};var c1={validate:{email:e=>{if(e&&!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(e))return"O email \xE9 inv\xE1lido"}}};import _ from"@emotion/styled";var K1=_.div`
102
+ `;import{jsx as C1,jsxs as G1}from"react/jsx-runtime";function _({children:e,whatsapp:a,textoChamativo:r,style:s,paperStyle:i,ilustracao:m}){return G1(f0,{style:s,children:[r&&C1(Z0,{children:r}),m&&C1(g0,{children:typeof m=="string"?C1("img",{src:m,alt:"Logo do sistema"}):m}),C1(y0,{style:i,children:e}),a&&G1(M0,{onClick:()=>{window.open(`https://api.whatsapp.com/send?phone=${a}`)},style:{marginBottom:16},children:[G1(R2,{variant:"bodyXS",children:["Com d\xFAvidas? ",_2.format(a.slice(2))]}),C1(P2,{icon:T1,size:"20px",removeMargin:!0})]})]})}import{Button as W2,LIcon as a0,Typography as H1}from"@s_mart/core";import{Checkbox as U2,Form as Y2,TextField as D1}from"@s_mart/form";var z2=p0(C0(),1),F2=Object.defineProperty,I2=Object.defineProperties,N2=Object.getOwnPropertyDescriptors,H0=Object.getOwnPropertySymbols,B2=Object.prototype.hasOwnProperty,q2=Object.prototype.propertyIsEnumerable,b0=(e,a,r)=>a in e?F2(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,k1=(e,a)=>{for(var r in a||(a={}))B2.call(a,r)&&b0(e,r,a[r]);if(H0)for(var r of H0(a))q2.call(a,r)&&b0(e,r,a[r]);return e},j2=(e,a)=>I2(e,N2(a));var $1=e=>{let a={validate:{}};return e.forEach(r=>{a=j2(k1(k1({},a),r),{validate:k1(k1({},a.validate),r.validate)})}),a},K={validate:{required:e=>{if(!e)return"Obrigat\xF3rio"}}};var A1={validate:{email:e=>{if(e&&!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(e))return"O email \xE9 inv\xE1lido"}}};import p1 from"@emotion/styled";var x0=p1.div`
103
103
  display: grid;
104
- gap: ${n(32)};
105
- `,X1=_.header`
104
+ gap: ${c(32)};
105
+ `,V0=p1.header`
106
106
  display: grid;
107
107
  text-align: center;
108
- gap: ${n(16)};
109
- `,Q1=_.div`
108
+ gap: ${c(16)};
109
+ `,S0=p1.div`
110
110
  display: grid;
111
- gap: ${n(32)};
112
- `,G1=_.div`
111
+ gap: ${c(32)};
112
+ `,E0=p1.div`
113
113
  display: grid;
114
- gap: ${n(4)};
114
+ gap: ${c(4)};
115
115
 
116
116
  > div:first-of-type {
117
117
  display: grid;
118
118
  grid-template-columns: 1fr 1fr;
119
- gap: ${n(16)};
119
+ gap: ${c(16)};
120
120
 
121
121
  @media (max-width: 768px) {
122
122
  grid-template-columns: 1fr;
123
- gap: ${n(8)};
123
+ gap: ${c(8)};
124
124
  }
125
125
  }
126
126
 
127
127
  > div:last-of-type {
128
128
  display: grid;
129
- gap: ${n(4)};
129
+ gap: ${c(4)};
130
130
  }
131
- `,J1=_.div`
131
+ `,L0=p1.div`
132
132
  display: flex;
133
133
  flex-wrap: wrap;
134
- gap: ${n(8)};
135
- `,o1=_.div`
134
+ gap: ${c(8)};
135
+ `,O1=p1.div`
136
136
  display: flex;
137
137
  align-items: center;
138
- gap: ${n(4)};
138
+ gap: ${c(4)};
139
139
 
140
- color: ${h.neutral[600]};
141
- border: 1px solid ${h.neutral[600]};
142
- border-radius: ${n(4)};
143
- padding: ${n(3)} ${n(4)};
140
+ color: ${b.neutral[600]};
141
+ border: 1px solid ${b.neutral[600]};
142
+ border-radius: ${c(4)};
143
+ padding: ${c(3)} ${c(4)};
144
144
 
145
145
  line-height: 1em;
146
146
  vertical-align: middle;
147
147
 
148
148
  ${({checked:e})=>{if(e)return`
149
- color: ${h.green[300]};
150
- border-color: ${h.green[300]};
149
+ color: ${b.green[300]};
150
+ border-color: ${b.green[300]};
151
151
  `}}
152
- `;function e0(){let e=i=>i?i.match(/[a-z]/i):!1,a=i=>i?i.match(/[0-9]/i):!1,r=i=>i?i.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:i=>!i.email||!i.senha||!i.confirmarSenha||!i.termosDeUso||!e(i.senha)||!a(i.senha)||!r(i.senha)}}import{jsx as m,jsxs as S}from"react/jsx-runtime";function z2(d){var p=d,{logo:e,nomeSistema:a,onSubmit:r,linkTermosDeUso:c,email:i,nome:o}=p,v=V(p,["logo","nomeSistema","onSubmit","linkTermosDeUso","email","nome"]);let{senhaContemLetra:Z,senhaContemNumero:g,senhaContemMinimoDe6Caracteres:L,desabilitarBotaoDeCadastro:N}=e0(),A=typeof e=="string"?m("img",{src:e,alt:"Logo do sistema"}):e;return m(H,x(C({},v),{children:S(K1,{children:[S(X1,{children:[e&&m("div",{children:A}),S(z,{variant:"titleSM",children:["Vamos cadastrar uma senha de acesso ao ",a,"."]})]}),m(j2,{onSubmit:r,defaultValues:{email:i,nome:o,termosDeUso:!1},children:({watch:y})=>{let X=Z(y("senha")),Q=g(y("senha")),G=L(y("senha"));return S(Q1,{children:[m(l1,{name:"email",label:"E-mail de acesso",required:!0,disabled:!0}),m(l1,{name:"nome",label:"Nome completo",required:!0,rules:k}),S(G1,{children:[S("div",{children:[m(l1,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:k}),m(l1,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:J=>{if(!J)return"Campo obrigat\xF3rio";if(J!==y("senha"))return"As senhas devem ser iguais"}}})]}),S("div",{children:[m(z,{variant:"bodyXS",children:"Sua senha precisa conter:"}),S(J1,{children:[S(o1,{checked:!!X,children:[X&&m(S1,{icon:$,size:"16px",removeMargin:!0}),m(z,{variant:"bodyXS",children:"Uma letra"})]}),S(o1,{checked:!!Q,children:[Q&&m(S1,{icon:$,size:"16px",removeMargin:!0}),m(z,{variant:"bodyXS",children:"Um n\xFAmero"})]}),S(o1,{checked:!!G,children:[G&&m(S1,{icon:$,size:"16px",removeMargin:!0}),m(z,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),m("div",{children:m(q2,{name:"termosDeUso",label:S("div",{style:{display:"flex",gap:4},children:[m("span",{children:"Li e aceito os"}),m("a",{href:c,target:"_blank",style:{color:"var(--color-primary)"},rel:"noreferrer",children:"termos de uso"})]})})}),m("div",{children:m(B2,{type:"submit",fullWidth:!0,disabled:N(y()),children:"Concluir meu cadastro"})})]})}})]})}))}import{useMemo as h3}from"react";import{Button as g0,Indicator as d3,Typography as v3}from"@s_mart/core";import{Checkbox as m3,Form as u3,TextField as Z0}from"@s_mart/form";import{useEffect as c3,useState as o3}from"react";import y1 from"react";import se,{forwardRef as he,useRef as de,useCallback as ve,useLayoutEffect as me,useEffect as ue,createElement as pe,useState as fe,Component as ge,useContext as Ze}from"react";import{createPortal as Me}from"react-dom";var i3=M2(d0());var t3="SnackbarContent",He={root:t3+"-root"};var P="SnackbarItem",be={contentRoot:P+"-contentRoot",lessPadding:P+"-lessPadding",variantSuccess:P+"-variantSuccess",variantError:P+"-variantError",variantInfo:P+"-variantInfo",variantWarning:P+"-variantWarning",message:P+"-message",action:P+"-action",wrappedRoot:P+"-wrappedRoot"};var R="SnackbarContainer",xe={root:R+"-root",rootDense:R+"-rootDense",top:R+"-top",bottom:R+"-bottom",left:R+"-left",right:R+"-right",center:R+"-center"};var Ve=process.env.NODE_ENV!=="production";import P1 from"@emotion/styled";import l3 from"@emotion/styled";import{css as F}from"@emotion/react";import{jsx as Be}from"react/jsx-runtime";import{Fragment as je,jsx as ze}from"react/jsx-runtime";import{Fragment as Ue,jsx as Ye,jsxs as Ke}from"react/jsx-runtime";import{useEffect as Qe,useRef as Ge}from"react";import*as m0 from"react";import"@emotion/styled";import{ThemeContext as ra}from"@emotion/react";import*as s3 from"react";import*as W from"react";var v0=()=>{let[e,a]=o3(!1);return c3(()=>{let r=c=>{c.key==="CapsLock"&&a(c.getModifierState("CapsLock"))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}},[]),e};var O=({defaultValue:e}={})=>{let a=typeof window!="undefined",r=y1.useCallback(()=>{if(!a){if(e){let{width:v=0,height:d=0}=e;return{width:v,height:d}}return{width:0,height:0}}return{width:window.innerWidth,height:window.innerHeight}},[a,e]),[c,i]=y1.useState(r()),o=y1.useCallback(()=>{i(r())},[i,r]);return y1.useEffect(()=>a?(window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}):()=>{},[o,a]),c},$e=P1.div`
152
+ `;function w0(){let e=i=>i?i.match(/[a-z]/i):!1,a=i=>i?i.match(/[0-9]/i):!1,r=i=>i?i.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:i=>!i.email||!i.senha||!i.confirmarSenha||!i.termosDeUso||!e(i.senha)||!a(i.senha)||!r(i.senha)}}import{jsx as E,jsxs as q}from"react/jsx-runtime";function K2(p){var x=p,{logo:e,nomeSistema:a,onSubmit:r,linkTermosDeUso:s,email:i,nome:m}=x,g=B(x,["logo","nomeSistema","onSubmit","linkTermosDeUso","email","nome"]);let{senhaContemLetra:C,senhaContemNumero:T,senhaContemMinimoDe6Caracteres:L,desabilitarBotaoDeCadastro:P}=w0(),I=typeof e=="string"?E("img",{src:e,alt:"Logo do sistema"}):e;return E(_,N(R({},g),{children:q(x0,{children:[q(V0,{children:[e&&E("div",{children:I}),q(H1,{variant:"titleSM",children:["Vamos cadastrar uma senha de acesso ao ",a,"."]})]}),E(Y2,{onSubmit:r,defaultValues:{email:i,nome:m,termosDeUso:!1},children:({watch:D})=>{let s1=C(D("senha")),h1=T(D("senha")),G=L(D("senha"));return q(S0,{children:[E(D1,{name:"email",label:"E-mail de acesso",required:!0,disabled:!0}),E(D1,{name:"nome",label:"Nome completo",required:!0,rules:K}),q(E0,{children:[q("div",{children:[E(D1,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:K}),E(D1,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:d1=>{if(!d1)return"Campo obrigat\xF3rio";if(d1!==D("senha"))return"As senhas devem ser iguais"}}})]}),q("div",{children:[E(H1,{variant:"bodyXS",children:"Sua senha precisa conter:"}),q(L0,{children:[q(O1,{checked:!!s1,children:[s1&&E(a0,{icon:e1,size:"16px",removeMargin:!0}),E(H1,{variant:"bodyXS",children:"Uma letra"})]}),q(O1,{checked:!!h1,children:[h1&&E(a0,{icon:e1,size:"16px",removeMargin:!0}),E(H1,{variant:"bodyXS",children:"Um n\xFAmero"})]}),q(O1,{checked:!!G,children:[G&&E(a0,{icon:e1,size:"16px",removeMargin:!0}),E(H1,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),E("div",{children:E(U2,{name:"termosDeUso",label:q("div",{style:{display:"flex",gap:4},children:[E("span",{children:"Li e aceito os"}),E("a",{href:s,target:"_blank",style:{color:"var(--color-primary)"},rel:"noreferrer",children:"termos de uso"})]})})}),E("div",{children:E(W2,{type:"submit",fullWidth:!0,disabled:P(D()),children:"Concluir meu cadastro"})})]})}})]})}))}import{useMemo as m3}from"react";import{Button as W0,Indicator as p3,Typography as f3}from"@s_mart/core";import{Checkbox as g3,Form as Z3,TextField as U0}from"@s_mart/form";import{useEffect as h3,useState as d3}from"react";import W1 from"react";import ue,{forwardRef as me,useRef as pe,useCallback as fe,useLayoutEffect as ge,useEffect as Ze,createElement as ye,useState as Me,Component as Ce,useContext as He}from"react";import{createPortal as xe}from"react-dom";var l3=p0(I0());var s3="SnackbarContent",Se={root:s3+"-root"};var Q="SnackbarItem",Ee={contentRoot:Q+"-contentRoot",lessPadding:Q+"-lessPadding",variantSuccess:Q+"-variantSuccess",variantError:Q+"-variantError",variantInfo:Q+"-variantInfo",variantWarning:Q+"-variantWarning",message:Q+"-message",action:Q+"-action",wrappedRoot:Q+"-wrappedRoot"};var c1="SnackbarContainer",Le={root:c1+"-root",rootDense:c1+"-rootDense",top:c1+"-top",bottom:c1+"-bottom",left:c1+"-left",right:c1+"-right",center:c1+"-center"};var we=process.env.NODE_ENV!=="production";import l0 from"@emotion/styled";import v3 from"@emotion/styled";import{css as o1}from"@emotion/react";import{jsx as We}from"react/jsx-runtime";import{Fragment as Ye,jsx as Ke}from"react/jsx-runtime";import{Fragment as Qe,jsx as Ge,jsxs as Je}from"react/jsx-runtime";import{useEffect as aa,useRef as ra}from"react";import*as B0 from"react";import"@emotion/styled";import{ThemeContext as ca}from"@emotion/react";import*as u3 from"react";import*as b1 from"react";var N0=()=>{let[e,a]=d3(!1);return h3(()=>{let r=s=>{s.key==="CapsLock"&&a(s.getModifierState("CapsLock"))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}},[]),e};var a1=({defaultValue:e}={})=>{let a=typeof window!="undefined",r=W1.useCallback(()=>{if(!a){if(e){let{width:g=0,height:p=0}=e;return{width:g,height:p}}return{width:0,height:0}}return{width:window.innerWidth,height:window.innerHeight}},[a,e]),[s,i]=W1.useState(r()),m=W1.useCallback(()=>{i(r())},[i,r]);return W1.useEffect(()=>a?(window.addEventListener("resize",m),()=>{window.removeEventListener("resize",m)}):()=>{},[m,a]),s},_e=l0.div`
153
153
  display: flex;
154
154
  align-items: center;
155
155
  justify-content: space-between;
156
- gap: ${n(8)};
156
+ gap: ${c(8)};
157
157
 
158
158
  background-color: white;
159
159
  border-radius: 4px;
160
- padding: ${n(16)} ${n(16)};
160
+ padding: ${c(16)} ${c(16)};
161
161
 
162
162
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.12);
163
163
 
164
164
  border-left: 6px solid
165
- ${({variant:e})=>{switch(e){case"error":return h.red[300];case"warning":return h.yellow[300];case"info":return h.blue[100];default:case"success":return h.green[300]}}};
165
+ ${({variant:e})=>{switch(e){case"error":return b.red[300];case"warning":return b.yellow[300];case"info":return b.blue[100];default:case"success":return b.green[300]}}};
166
166
 
167
167
  > div {
168
168
  display: flex;
169
169
  align-items: center;
170
- gap: ${n(8)};
170
+ gap: ${c(8)};
171
171
  }
172
- `,Oe=P1.div`
172
+ `,Fe=l0.div`
173
173
  display: flex;
174
174
  flex-direction: column;
175
175
  justify-content: center;
176
176
 
177
177
  > *:first-of-type {
178
- margin-bottom: ${n(4)};
178
+ margin-bottom: ${c(4)};
179
179
  }
180
- `,De=P1.div`
180
+ `,Ie=l0.div`
181
181
  cursor: pointer;
182
182
  align-self: flex-start;
183
- `,Ne=l3.i`
183
+ `,je=v3.i`
184
184
  align-self: center;
185
185
  display: inline-flex;
186
186
  color: ${({color:e})=>e};
@@ -191,23 +191,23 @@ var m2=Object.create;var b1=Object.defineProperty,u2=Object.defineProperties,p2=
191
191
  z-index: 0 !important;
192
192
  outline: 0 !important;
193
193
 
194
- ${({left:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&F`
194
+ ${({left:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&o1`
195
195
  left: ${e};
196
196
  `}
197
197
 
198
- ${({right:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&F`
198
+ ${({right:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&o1`
199
199
  right: ${e};
200
200
  `}
201
201
 
202
- ${({top:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&F`
202
+ ${({top:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&o1`
203
203
  top: ${e};
204
204
  `}
205
205
 
206
- ${({bottom:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&F`
206
+ ${({bottom:e})=>(typeof e=="string"||typeof e=="number"&&e>0)&&o1`
207
207
  bottom: ${e};
208
208
  `}
209
209
 
210
- ${({color:e})=>{let a=e;return e==="inherit"&&(a="currentColor"),F`
210
+ ${({color:e})=>{let a=e;return e==="inherit"&&(a="currentColor"),o1`
211
211
  fill: ${a};
212
212
  `}}
213
213
  position: relative;
@@ -215,126 +215,126 @@ var m2=Object.create;var b1=Object.defineProperty,u2=Object.defineProperties,p2=
215
215
  height: ${({height:e})=>e} !important;
216
216
  width: ${({width:e})=>e} !important;
217
217
 
218
- ${({removeMargin:e})=>e?F`
218
+ ${({removeMargin:e})=>e?o1`
219
219
  margin: 0;
220
- `:F`
221
- margin: 0 ${n(4)};
220
+ `:o1`
221
+ margin: 0 ${c(4)};
222
222
  `}
223
223
  }
224
- `;import $1 from"@emotion/styled";var u0=$1.div`
224
+ `;import s0 from"@emotion/styled";var q0=s0.div`
225
225
  display: grid;
226
- gap: ${n(32)};
227
- `,p0=$1.header`
226
+ gap: ${c(32)};
227
+ `,j0=s0.header`
228
228
  display: grid;
229
229
  text-align: center;
230
- gap: ${n(16)};
231
- `,f0=$1.div`
230
+ gap: ${c(16)};
231
+ `,z0=s0.div`
232
232
  display: grid;
233
- gap: ${n(16)};
233
+ gap: ${c(16)};
234
234
 
235
235
  > div {
236
236
  display: grid;
237
- gap: ${n(16)};
237
+ gap: ${c(16)};
238
238
  }
239
239
 
240
240
  > div:last-of-type {
241
- gap: ${n(8)};
241
+ gap: ${c(8)};
242
242
  }
243
- `;import{jsx as E,jsxs as U}from"react/jsx-runtime";function p3(v){var d=v,{logo:e,initialValues:a,onSubmit:r,onEsqueciMinhaSenha:c,errorLabel:i}=d,o=V(d,["logo","initialValues","onSubmit","onEsqueciMinhaSenha","errorLabel"]);let p=typeof e=="string"?E("img",{src:e,alt:"Logo do sistema"}):e,{width:Z}=O(),g=v0(),L=h3(()=>C({manterConectado:!1},a),[a]);return E(H,x(C({},o),{paperStyle:{minWidth:Z>500?456:void 0,width:Z>500?void 0:"90%"},children:U(u0,{children:[E(p0,{children:e&&E("div",{children:p})}),E(u3,{onSubmit:r,defaultValues:L,children:U(f0,{children:[U("div",{children:[E(Z0,{name:"email",label:"E-mail de acesso",required:!0,rules:t1([k,c1]),autoComplete:"email",type:"email"}),U("div",{children:[E(Z0,{name:"senha",label:"Senha de acesso",type:"password",required:!0,rules:k}),g&&E(d3,{severity:"warning",children:"Capslock ativado"}),!!i&&E(v3,{variant:"titleXXS",color:h.red[300],children:i})]})]}),E(m3,{name:"manterConectado",label:"Manter conectado"}),U("div",{children:[E(g0,{type:"submit",fullWidth:!0,children:"Entrar"}),c&&E(g0,{type:"button",fullWidth:!0,variant:"text",onClick:c,children:"Esqueci minha senha"})]})]})})]})}))}import{Button as H0,LIcon as f3,Typography as b0}from"@s_mart/core";import y0 from"@emotion/styled";var M0=y0.div`
243
+ `;import{jsx as j,jsxs as x1}from"react/jsx-runtime";function y3(g){var p=g,{logo:e,initialValues:a,onSubmit:r,onEsqueciMinhaSenha:s,errorLabel:i}=p,m=B(p,["logo","initialValues","onSubmit","onEsqueciMinhaSenha","errorLabel"]);let x=typeof e=="string"?j("img",{src:e,alt:"Logo do sistema"}):e,{width:C}=a1(),T=N0(),L=m3(()=>R({manterConectado:!1},a),[a]);return j(_,N(R({},m),{paperStyle:{minWidth:C>500?456:void 0,width:C>500?void 0:"90%"},children:x1(q0,{children:[j(j0,{children:e&&j("div",{children:x})}),j(Z3,{onSubmit:r,defaultValues:L,children:x1(z0,{children:[x1("div",{children:[j(U0,{name:"email",label:"E-mail de acesso",required:!0,rules:$1([K,A1]),autoComplete:"email",type:"email"}),x1("div",{children:[j(U0,{name:"senha",label:"Senha de acesso",type:"password",required:!0,rules:K}),T&&j(p3,{severity:"warning",children:"Capslock ativado"}),!!i&&j(f3,{variant:"titleXXS",color:b.red[300],children:i})]})]}),j(g3,{name:"manterConectado",label:"Manter conectado"}),x1("div",{children:[j(W0,{type:"submit",fullWidth:!0,children:"Entrar"}),s&&j(W0,{type:"button",fullWidth:!0,variant:"text",onClick:s,children:"Esqueci minha senha"})]})]})})]})}))}import{Button as Q0,LIcon as M3,Typography as G0}from"@s_mart/core";import Y0 from"@emotion/styled";var K0=Y0.div`
244
244
  display: grid;
245
- gap: ${n(32)};
245
+ gap: ${c(32)};
246
246
 
247
247
  > div {
248
248
  display: grid;
249
- gap: ${n(8)};
249
+ gap: ${c(8)};
250
250
  }
251
- `,C0=y0.header`
251
+ `,X0=Y0.header`
252
252
  display: grid;
253
253
  text-align: center;
254
- gap: ${n(16)};
255
- `;import{jsx as D,jsxs as Y}from"react/jsx-runtime";function g3(i){var o=i,{logo:e,onPrecisoDeAjuda:a,onRealizarAcesso:r}=o,c=V(o,["logo","onPrecisoDeAjuda","onRealizarAcesso"]);let v=typeof e=="string"?D("img",{src:e,alt:"Logo do sistema"}):e,{width:d}=O();return D(H,x(C({},c),{paperStyle:{minWidth:d>500?456:void 0,width:d>500?void 0:"90%"},children:Y(M0,{children:[Y("div",{children:[D(C0,{children:e&&D("div",{children:v})}),Y("div",{style:{display:"flex",flexDirection:"column",textAlign:"center",gap:8,color:h.neutral[800]},children:[D(b0,{variant:"bodyMD",children:"Parece que este convite j\xE1 foi usado ou expirou."}),D(b0,{variant:"bodyMD",children:"J\xE1 se cadastrou? Realize o login."})]})]}),Y("div",{children:[D(H0,{fullWidth:!0,onClick:r,children:"Realizar login"}),Y(H0,{fullWidth:!0,variant:"text",onClick:a,style:{display:"flex",gap:4,color:h.neutral[900]},children:[D(f3,{icon:n1,size:"20px",removeMargin:!0,color:h.neutral[900]}),"Preciso de outro convite"]})]})]})}))}import{Button as Z3,Typography as E0}from"@s_mart/core";import x0 from"@emotion/styled";var V0=x0.div`
254
+ gap: ${c(16)};
255
+ `;import{jsx as r1,jsxs as V1}from"react/jsx-runtime";function C3(i){var m=i,{logo:e,onPrecisoDeAjuda:a,onRealizarAcesso:r}=m,s=B(m,["logo","onPrecisoDeAjuda","onRealizarAcesso"]);let g=typeof e=="string"?r1("img",{src:e,alt:"Logo do sistema"}):e,{width:p}=a1();return r1(_,N(R({},s),{paperStyle:{minWidth:p>500?456:void 0,width:p>500?void 0:"90%"},children:V1(K0,{children:[V1("div",{children:[r1(X0,{children:e&&r1("div",{children:g})}),V1("div",{style:{display:"flex",flexDirection:"column",textAlign:"center",gap:8,color:b.neutral[800]},children:[r1(G0,{variant:"bodyMD",children:"Parece que este convite j\xE1 foi usado ou expirou."}),r1(G0,{variant:"bodyMD",children:"J\xE1 se cadastrou? Realize o login."})]})]}),V1("div",{children:[r1(Q0,{fullWidth:!0,onClick:r,children:"Realizar login"}),V1(Q0,{fullWidth:!0,variant:"text",onClick:a,style:{display:"flex",gap:4,color:b.neutral[900]},children:[r1(M3,{icon:T1,size:"20px",removeMargin:!0,color:b.neutral[900]}),"Preciso de outro convite"]})]})]})}))}import{Button as H3,Typography as r2}from"@s_mart/core";import J0 from"@emotion/styled";var e2=J0.div`
256
256
  display: grid;
257
- gap: ${n(32)};
257
+ gap: ${c(32)};
258
258
 
259
259
  > div {
260
260
  display: grid;
261
- gap: ${n(16)};
261
+ gap: ${c(16)};
262
262
  }
263
- `,S0=x0.header`
263
+ `,a2=J0.header`
264
264
  display: grid;
265
265
  text-align: center;
266
- gap: ${n(16)};
267
- `;import{jsx as I,jsxs as L0}from"react/jsx-runtime";function y3(c){var i=c,{logo:e,onVoltarParaLogin:a}=i,r=V(i,["logo","onVoltarParaLogin"]);let o=typeof e=="string"?I("img",{src:e,alt:"Logo do sistema"}):e,{width:v}=O();return I(H,x(C({},r),{paperStyle:{maxWidth:v>500?456:void 0,width:v>500?void 0:"90%"},children:L0(V0,{children:[L0("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[I(S0,{children:e&&I("div",{children:o})}),I(E0,{variant:"titleMD",textAlign:"center",children:"Instru\xE7\xF5es enviadas"}),I(E0,{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."})]}),I(Z3,{fullWidth:!0,onClick:a,children:"Voltar para login"})]})}))}import{Button as M3,LIcon as O1,Typography as K}from"@s_mart/core";import{Form as C3,TextField as O0}from"@s_mart/form";import B from"@emotion/styled";var T0=B.div`
266
+ gap: ${c(16)};
267
+ `;import{jsx as l1,jsxs as n2}from"react/jsx-runtime";function b3(s){var i=s,{logo:e,onVoltarParaLogin:a}=i,r=B(i,["logo","onVoltarParaLogin"]);let m=typeof e=="string"?l1("img",{src:e,alt:"Logo do sistema"}):e,{width:g}=a1();return l1(_,N(R({},r),{paperStyle:{maxWidth:g>500?456:void 0,width:g>500?void 0:"90%"},children:n2(e2,{children:[n2("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[l1(a2,{children:e&&l1("div",{children:m})}),l1(r2,{variant:"titleMD",textAlign:"center",children:"Instru\xE7\xF5es enviadas"}),l1(r2,{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."})]}),l1(H3,{fullWidth:!0,onClick:a,children:"Voltar para login"})]})}))}import{Button as x3,LIcon as h0,Typography as S1}from"@s_mart/core";import{Form as V3,TextField as h2}from"@s_mart/form";import f1 from"@emotion/styled";var i2=f1.div`
268
268
  display: grid;
269
- gap: ${n(32)};
270
- `,k0=B.header`
269
+ gap: ${c(32)};
270
+ `,t2=f1.header`
271
271
  display: grid;
272
272
  text-align: center;
273
- gap: ${n(16)};
274
- `,w0=B.div`
273
+ gap: ${c(16)};
274
+ `,c2=f1.div`
275
275
  display: grid;
276
- gap: ${n(32)};
277
- `,A0=B.div`
276
+ gap: ${c(32)};
277
+ `,o2=f1.div`
278
278
  display: grid;
279
- gap: ${n(4)};
279
+ gap: ${c(4)};
280
280
 
281
281
  > div:first-of-type {
282
282
  display: grid;
283
283
  grid-template-columns: 1fr 1fr;
284
- gap: ${n(16)};
284
+ gap: ${c(16)};
285
285
 
286
286
  @media (max-width: 768px) {
287
287
  grid-template-columns: 1fr;
288
- gap: ${n(8)};
288
+ gap: ${c(8)};
289
289
  }
290
290
  }
291
291
 
292
292
  > div:last-of-type {
293
293
  display: grid;
294
- gap: ${n(4)};
294
+ gap: ${c(4)};
295
295
  }
296
- `,P0=B.div`
296
+ `,l2=f1.div`
297
297
  display: flex;
298
298
  flex-wrap: wrap;
299
- gap: ${n(8)};
300
- `,M1=B.div`
299
+ gap: ${c(8)};
300
+ `,U1=f1.div`
301
301
  display: flex;
302
302
  align-items: center;
303
- gap: ${n(4)};
303
+ gap: ${c(4)};
304
304
 
305
- color: ${h.neutral[600]};
306
- border: 1px solid ${h.neutral[600]};
307
- border-radius: ${n(4)};
308
- padding: ${n(3)} ${n(4)};
305
+ color: ${b.neutral[600]};
306
+ border: 1px solid ${b.neutral[600]};
307
+ border-radius: ${c(4)};
308
+ padding: ${c(3)} ${c(4)};
309
309
 
310
310
  line-height: 1em;
311
311
  vertical-align: middle;
312
312
 
313
313
  ${({checked:e})=>{if(e)return`
314
- color: ${h.green[300]};
315
- border-color: ${h.green[300]};
314
+ color: ${b.green[300]};
315
+ border-color: ${b.green[300]};
316
316
  `}}
317
- `;function $0(){let e=i=>i?i.match(/[a-z]/i):!1,a=i=>i?i.match(/[0-9]/i):!1,r=i=>i?i.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:i=>!i.senha||!i.confirmarSenha||!e(i.senha)||!a(i.senha)||!r(i.senha)}}import{jsx as f,jsxs as w}from"react/jsx-runtime";function H3(c){var i=c,{logo:e,onTrocarMinhaSenha:a}=i,r=V(i,["logo","onTrocarMinhaSenha"]);let{senhaContemLetra:o,senhaContemNumero:v,senhaContemMinimoDe6Caracteres:d,desabilitarBotaoDeCadastro:p}=$0(),Z=typeof e=="string"?f("img",{src:e,alt:"Logo do sistema"}):e;return f(H,x(C({},r),{children:w(T0,{children:[w(k0,{children:[e&&f("div",{children:Z}),f(K,{variant:"titleSM",children:"Vamos cadastrar uma nova senha de acesso."})]}),f(C3,{onSubmit:a,children:({watch:g})=>{let L=o(g("senha")),N=v(g("senha")),A=d(g("senha"));return w(w0,{children:[w(A0,{children:[w("div",{children:[f(O0,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:k}),f(O0,{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"}}})]}),w("div",{children:[f(K,{variant:"bodyXS",children:"Sua senha precisa conter:"}),w(P0,{children:[w(M1,{checked:!!L,children:[L&&f(O1,{icon:$,size:"16px",removeMargin:!0}),f(K,{variant:"bodyXS",children:"Uma letra"})]}),w(M1,{checked:!!N,children:[N&&f(O1,{icon:$,size:"16px",removeMargin:!0}),f(K,{variant:"bodyXS",children:"Um n\xFAmero"})]}),w(M1,{checked:!!A,children:[A&&f(O1,{icon:$,size:"16px",removeMargin:!0}),f(K,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),f("div",{children:f(M3,{type:"submit",fullWidth:!0,disabled:p(g()),children:"Trocar minha senha"})})]})}})]})}))}import{Button as I0,Typography as N0}from"@s_mart/core";import D1 from"@emotion/styled";var D0=D1.div`
317
+ `;function s2(){let e=i=>i?i.match(/[a-z]/i):!1,a=i=>i?i.match(/[0-9]/i):!1,r=i=>i?i.length>=6:!1;return{senhaContemLetra:e,senhaContemNumero:a,senhaContemMinimoDe6Caracteres:r,desabilitarBotaoDeCadastro:i=>!i.senha||!i.confirmarSenha||!e(i.senha)||!a(i.senha)||!r(i.senha)}}import{jsx as O,jsxs as X}from"react/jsx-runtime";function S3(s){var i=s,{logo:e,onTrocarMinhaSenha:a}=i,r=B(i,["logo","onTrocarMinhaSenha"]);let{senhaContemLetra:m,senhaContemNumero:g,senhaContemMinimoDe6Caracteres:p,desabilitarBotaoDeCadastro:x}=s2(),C=typeof e=="string"?O("img",{src:e,alt:"Logo do sistema"}):e;return O(_,N(R({},r),{children:X(i2,{children:[X(t2,{children:[e&&O("div",{children:C}),O(S1,{variant:"titleSM",children:"Vamos cadastrar uma nova senha de acesso."})]}),O(V3,{onSubmit:a,children:({watch:T})=>{let L=m(T("senha")),P=g(T("senha")),I=p(T("senha"));return X(c2,{children:[X(o2,{children:[X("div",{children:[O(h2,{type:"password",name:"senha",label:"Senha de acesso",required:!0,rules:K}),O(h2,{type:"password",name:"confirmarSenha",label:"Confirme sua senha",required:!0,rules:{validate:D=>{if(!D)return"Campo obrigat\xF3rio";if(D!==T("senha"))return"As senhas devem ser iguais"}}})]}),X("div",{children:[O(S1,{variant:"bodyXS",children:"Sua senha precisa conter:"}),X(l2,{children:[X(U1,{checked:!!L,children:[L&&O(h0,{icon:e1,size:"16px",removeMargin:!0}),O(S1,{variant:"bodyXS",children:"Uma letra"})]}),X(U1,{checked:!!P,children:[P&&O(h0,{icon:e1,size:"16px",removeMargin:!0}),O(S1,{variant:"bodyXS",children:"Um n\xFAmero"})]}),X(U1,{checked:!!I,children:[I&&O(h0,{icon:e1,size:"16px",removeMargin:!0}),O(S1,{variant:"bodyXS",children:"M\xEDnimo de 6 caracteres"})]})]})]})]}),O("div",{children:O(x3,{type:"submit",fullWidth:!0,disabled:x(T()),children:"Trocar minha senha"})})]})}})]})}))}import{Button as m2,Typography as p2}from"@s_mart/core";import d0 from"@emotion/styled";var d2=d0.div`
318
318
  display: grid;
319
- gap: ${n(32)};
319
+ gap: ${c(32)};
320
320
 
321
321
  > div {
322
322
  display: grid;
323
- gap: ${n(16)};
323
+ gap: ${c(16)};
324
324
  }
325
- `,R0=D1.header`
325
+ `,v2=d0.header`
326
326
  display: grid;
327
327
  text-align: center;
328
- gap: ${n(16)};
329
- `,F0=D1.div`
328
+ gap: ${c(16)};
329
+ `,u2=d0.div`
330
330
  display: grid;
331
- gap: ${n(32)};
331
+ gap: ${c(32)};
332
332
 
333
333
  > div:last-of-type {
334
334
  display: grid;
335
- gap: ${n(16)};
335
+ gap: ${c(16)};
336
336
  }
337
- `;import{Form as b3,TextField as x3}from"@s_mart/form";import{jsx as T,jsxs as C1}from"react/jsx-runtime";function V3(i){var o=i,{logo:e,onVoltarParaLogin:a,onConfirmar:r}=o,c=V(o,["logo","onVoltarParaLogin","onConfirmar"]);let v=typeof e=="string"?T("img",{src:e,alt:"Logo do sistema"}):e,{width:d}=O();return T(H,x(C({},c),{paperStyle:{minWidth:d>500?456:void 0,width:d>500?void 0:"90%"},children:C1(D0,{children:[C1("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[T(R0,{children:e&&T("div",{children:v})}),T(N0,{variant:"titleMD",textAlign:"center",children:"Esqueceu a senha?"}),T(N0,{variant:"bodySM",textAlign:"center",children:"Informe seu e-mail de acesso para receber instru\xE7\xF5es e criar uma nova senha."})]}),T(b3,{onSubmit:r,children:C1(F0,{children:[T("div",{children:T(x3,{name:"email",label:"E-mail de acesso",required:!0,rules:t1([k,c1])})}),C1("div",{children:[T(I0,{fullWidth:!0,type:"submit",children:"Confirmar"}),T(I0,{fullWidth:!0,onClick:a,variant:"neutral",children:"Voltar para login"})]})]})})]})}))}export{z2 as TelaCadastro,g3 as TelaConviteExpirado,V3 as TelaEsqueceuSenha,y3 as TelaInstrucoesEnviadas,p3 as TelaLogin,H3 as TelaNovaSenha,H as TemplateTelaBase};
337
+ `;import{Form as E3,TextField as L3}from"@s_mart/form";import{jsx as W,jsxs as Y1}from"react/jsx-runtime";function w3(i){var m=i,{logo:e,onVoltarParaLogin:a,onConfirmar:r}=m,s=B(m,["logo","onVoltarParaLogin","onConfirmar"]);let g=typeof e=="string"?W("img",{src:e,alt:"Logo do sistema"}):e,{width:p}=a1();return W(_,N(R({},s),{paperStyle:{minWidth:p>500?456:void 0,width:p>500?void 0:"90%"},children:Y1(d2,{children:[Y1("div",{style:{display:"flex",flexDirection:"column",gap:24},children:[W(v2,{children:e&&W("div",{children:g})}),W(p2,{variant:"titleMD",textAlign:"center",children:"Esqueceu a senha?"}),W(p2,{variant:"bodySM",textAlign:"center",children:"Informe seu e-mail de acesso para receber instru\xE7\xF5es e criar uma nova senha."})]}),W(E3,{onSubmit:r,children:Y1(u2,{children:[W("div",{children:W(L3,{name:"email",label:"E-mail de acesso",required:!0,rules:$1([K,A1])})}),Y1("div",{children:[W(m2,{fullWidth:!0,type:"submit",children:"Confirmar"}),W(m2,{fullWidth:!0,onClick:a,variant:"neutral",children:"Voltar para login"})]})]})})]})}))}export{K2 as TelaCadastro,C3 as TelaConviteExpirado,w3 as TelaEsqueceuSenha,b3 as TelaInstrucoesEnviadas,y3 as TelaLogin,S3 as TelaNovaSenha,_ as TemplateTelaBase};
338
338
  /*! Bundled license information:
339
339
 
340
340
  @mui/styled-engine/index.js:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@s_mart/telas-de-acesso",
3
- "version": "3.0.1",
3
+ "version": "3.1.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",