enqueueScripts([function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["useRedirectAfterLogin"],{0:function(t,e){t.exports=React},103:function(t,e,r){"use strict";r.r(e),function(t){var e=r(6);r.p=Object(e.getPublicPath)("vtex.react-vtexid@4.67.1");var n=Object(e.register)((function(){return r(134)}),t,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","useRedirectAfterLogin");n.renderHotReload,n.setupHMR}.call(this,r(20)(t))},134:function(t,e,r){"use strict";r.r(e);var n=r(0),i=r(1),c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autorun,r=void 0!==e&&e,c=t.actionArgs,o=(c=void 0===c?{}:c).returnUrl,u=void 0===o?null:o,a=Object(n.useCallback)((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.returnUrl,r=void 0===e?u:e;return i.c.redirect({returnUrl:r})}),[u]);return Object(n.useEffect)((function(){r&&a()}),[r,a]),[a]};e.default=c},21:function(t,e){t.exports=regeneratorRuntime}},[[103,"common",1,0]]]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["useSendAccessCode"],{0:function(e,t){e.exports=React},109:function(e,t,n){"use strict";n.r(t),function(e){var t=n(6);n.p=Object(t.getPublicPath)("vtex.react-vtexid@4.67.1");var r=Object(t.register)((function(){return n(140)}),e,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","useSendAccessCode");r.renderHotReload,r.setupHMR}.call(this,n(20)(e))},140:function(e,t,n){"use strict";n.r(t);var r=n(3),c=n.n(r),a=n(5),u=n(30),i=n(9),o=n(28),s=n(1),l=n(22),p=n(27),d=function(){},f=function(e){var t=e.parentAppId,n=e.scope,r=e.returnUrl,f=e.onLoginAttemptTimeout,v=void 0===f?d:f,h=e.optionsAsyncCallback,b=Object(i.useRuntime)().culture.locale,w=Object(l.a)((function(){return v()}),[v],{scope:n,parentAppId:t}),m=Object(o.b)().getNewToken;return Object(u.a)(function(){var e=Object(a.a)(c.a.mark((function e(a){var u,i,o,l,d,f,v;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u=a.email,i=a.deliveryMethod,e.next=3,Object(p.a)(n);case 3:return o=e.sent,e.next=6,w({fingerprint:o,email:u,returnUrl:r});case 6:return l={email:u,deliveryMethod:null!=i?i:"email",locale:b,recaptcha:null,recaptchaToken:null,parentAppId:null!=t?t:null},e.prev=7,e.next=10,s.c.sendVerificationCode(l);case 10:return d=e.sent,e.abrupt("return",d);case 14:if(e.prev=14,e.t0=e.catch(7),"BlockedUser"===(null===e.t0||void 0===e.t0?void 0:e.t0.code)){e.next=18;break}throw e.t0;case 18:return e.next=20,m("login");case 20:return f=e.sent,e.next=23,s.c.sendVerificationCode(Object.assign(Object.assign({},l),{recaptchaToken:f}));case 23:return v=e.sent,e.abrupt("return",v);case 25:case"end":return e.stop()}}),e,null,[[7,14]])})));return function(t){return e.apply(this,arguments)}}(),[w,m,b,t,r,n],h)};t.default=f},21:function(e,t){e.exports=regeneratorRuntime},22:function(e,t,n){"use strict";var r=n(0),c=n(9),a=n(11),u=n(1),i=a.a.SessionDuration;t.a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.scope,s=void 0===o?a.a.Scopes.STORE:o,l=n.parentAppId,p=void 0===l?null:l,d=n.useOAuthPopup,f=void 0!==d&&d,v=Object(c.useRuntime)(),h=v.account,b=Object(r.useRef)(),w=Object(r.useCallback)(e,t);return Object(r.useCallback)((function(e){var t=e.fingerprint,n=void 0===t?null:t,r=e.email,c=void 0===r?null:r,a=e.returnUrl,o=void 0===a?null:a;return clearTimeout(b.current),b.current=setTimeout((function(){return w()}),i),u.c.startSession({accountName:h,returnUrl:o,scope:s,user:c,fingerprint:n,parentAppId:p,useOAuthPopup:f})}),[h,s,p,f,w])}},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f}));var r=n(3),c=n.n(r),a=n(5),u=n(0),i=n.n(u),o=n(29),s=n(9),l=Object(u.createContext)(null),p=function(){var e=function(){},t=function(){};return{promise:new Promise((function(n,r){e=n,t=r})),res:e,rej:t}},d=function(e){var t=e.children,n=Object(o.useIntl)().locale,r=Object(u.useMemo)((function(){return p()}),[]);return Object(u.useEffect)((function(){var e;void 0!==window.grecaptcha&&"enterprise"in window.grecaptcha?window.grecaptcha.enterprise.ready((function(){r.res()})):(window.___grecaptcha_cfg=Object.assign({fns:[]},window.___grecaptcha_cfg),null===(e=window.___grecaptcha_cfg.fns)||void 0===e||e.push((function(){r.res()})))}),[r]),i.a.createElement(l.Provider,{value:{recaptchaReady:r.promise}},i.a.createElement(s.Helmet,null,i.a.createElement("script",{src:"https://www.google.com/recaptcha/enterprise.js?render=".concat("6LdV7CIpAAAAAPUrHXWlFArQ5hSiNQJk6Ja-vcYM","&hl=").concat(n),async:!0}),i.a.createElement("script",null,"\n const style = document.createElement('style')\n\n style.textContent = '.grecaptcha-badge {visibility: hidden; }'\n document.head.appendChild(style)\n ")),t)},f=function(){var e=Object(u.useContext)(l);if(!e)throw new Error("Context must be used within Provider");var t=e.recaptchaReady;return{getNewToken:Object(u.useCallback)(function(){var e=Object(a.a)(c.a.mark((function e(n){var r,a,u;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u=new Promise((function(e,t){return setTimeout((function(){return t(new Error("`grecaptcha?.enterprise.ready()` timed out"))}),0)})),e.next=3,Promise.race([t,u]);case 3:return e.abrupt("return",null!==(a=null===(r=window.grecaptcha)||void 0===r?void 0:r.enterprise.execute("6LdV7CIpAAAAAPUrHXWlFArQ5hSiNQJk6Ja-vcYM",{action:n}))&&void 0!==a?a:"");case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[t])}}},29:function(e,t){e.exports=ReactIntl},9:function(e,t){e.exports=__RENDER_8_RUNTIME__}},[[109,"common",1,2,0]]]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["useSendAccessKey"],{0:function(e,t){e.exports=React},110:function(e,t,r){"use strict";r.r(t),function(e){var t=r(6);r.p=Object(t.getPublicPath)("vtex.react-vtexid@4.67.1");var n=Object(t.register)((function(){return r(141)}),e,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","useSendAccessKey");n.renderHotReload,n.setupHMR}.call(this,r(20)(e))},14:function(e,t,r){"use strict";var n=r(3),a=r.n(n),o=r(5),c=r(4),u=r(0),i=r(8),s=r(7);t.a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.onSuccess,l=void 0===n?i.a:n,p=r.onFailure,d=void 0===p?i.a:p,v=r.onFinish,f=void 0===v?i.a:v,b=r.autorun,O=void 0!==b&&b,h=Object(u.useState)(null),j=Object(c.a)(h,2),g=j[0],m=j[1],w=Object(u.useState)(null),x=Object(c.a)(w,2),y=x[0],S=x[1],k=Object(u.useState)(O),A=Object(c.a)(k,2),_=A[0],P=A[1],R=Object(u.useCallback)(e,t),U=Object(u.useCallback)(function(){var e=Object(o.a)(a.a.mark((function e(){var t,r=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return S(null),P(!0),e.prev=2,e.next=5,R.apply(void 0,r);case 5:return t=e.sent,m(t),S(null),l(t),e.abrupt("return",t);case 12:return e.prev=12,e.t0=e.catch(2),S(e.t0),m(null),d(Object(s.a)(e.t0)),e.abrupt("return",e.t0);case 18:return e.prev=18,P(!1),f(),e.finish(18);case 22:case"end":return e.stop()}}),e,null,[[2,12,18,22]])})));return function(){return e.apply(this,arguments)}}(),[R,d,f,l]);return Object(u.useEffect)((function(){O&&U()}),[O,U]),[U,{value:g,error:y,loading:_}]}},141:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r.n(n),o=r(25),c=r(5),u=r(4),i=r(9),s=r(1),l=r(11),p=r(27),d=r(14),v=r(22);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.onSuccess,r=void 0===t?s.b:t,n=e.onFailure,o=void 0===n?s.b:n,f=e.autorun,O=void 0!==f&&f,h=e.scope,j=void 0===h?l.a.Scopes.STORE:h,g=e.parentAppId,m=void 0===g?null:g,w=e.actionArgs,x=(w=void 0===w?{}:w).email,y=void 0===x?null:x,S=w.deliveryMethod,k=void 0===S?"email":S,A=w.preference,_=void 0===A?null:A,P=w.recaptcha,R=void 0===P?null:P,U=w.recaptchaToken,E=void 0===U?null:U,T=w.useNewLoginAttempt,I=void 0!==T&&T,C=e.loginAttempt,D=(C=void 0===C?{}:C).onTimeout,M=void 0===D?s.b:D,N=C.returnUrl,F=void 0===N?null:N,z=Object(i.useRuntime)(),B=z.culture.locale,H=Object(v.a)((function(){return M()}),[M],{scope:j,parentAppId:m}),J=Object(d.a)(function(){var e=Object(c.a)(a.a.mark((function e(){var t,r,n,o,c,u,i,l,d,v,f,O,h,g,w=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=w.length>0&&void 0!==w[0]?w[0]:{},r=t.email,n=void 0===r?y:r,o=t.deliveryMethod,c=void 0===o?k:o,u=t.preference,i=void 0===u?_:u,l=t.recaptcha,d=void 0===l?R:l,v=t.recaptchaToken,f=void 0===v?E:v,O=t.useNewLoginAttempt,!(void 0===O?I:O)){e.next=7;break}return e.next=4,Object(p.a)(j);case 4:return h=e.sent,e.next=7,H({fingerprint:h,email:n,returnUrl:F});case 7:return e.next=9,s.c.sendVerificationCode({email:n,deliveryMethod:c,locale:B,recaptcha:d,recaptchaToken:f,parentAppId:m});case 9:return g=e.sent,e.abrupt("return",b(b({email:n},i&&{preference:i}),g));case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),[y,k,_,R,E,I,B,m,j,H,F],{onSuccess:r,onFailure:o,autorun:O}),K=Object(u.a)(J,2),L=K[0],q=K[1],V=q.error,W=q.loading;return[L,{error:V,loading:W}]};t.default=O},21:function(e,t){e.exports=regeneratorRuntime},22:function(e,t,r){"use strict";var n=r(0),a=r(9),o=r(11),c=r(1),u=o.a.SessionDuration;t.a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.scope,s=void 0===i?o.a.Scopes.STORE:i,l=r.parentAppId,p=void 0===l?null:l,d=r.useOAuthPopup,v=void 0!==d&&d,f=Object(a.useRuntime)(),b=f.account,O=Object(n.useRef)(),h=Object(n.useCallback)(e,t);return Object(n.useCallback)((function(e){var t=e.fingerprint,r=void 0===t?null:t,n=e.email,a=void 0===n?null:n,o=e.returnUrl,i=void 0===o?null:o;return clearTimeout(O.current),O.current=setTimeout((function(){return h()}),u),c.c.startSession({accountName:b,returnUrl:i,scope:s,user:a,fingerprint:r,parentAppId:p,useOAuthPopup:v})}),[b,s,p,v,h])}},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(2),a={NetworkError:n.c,BlockedUser:n.a,WrongCredentials:n.i,InvalidMFAToken:n.i,InvalidRecaptcha:n.b,OAuthError:n.d,ThrottledError:n.f,PasswordAlreadyUsed:n.e,UnauthorizedUser:n.g},o=r(12);function c(e){if(!e)return new o.a;var t=function(e){if(e)return e.code?e.code:e.response&&"Seu login está bloqueado temporariamente."===e.response.data?"BlockedUser":e.authStatus?e.authStatus:e.response&&e.response.data&&e.response.data.authStatus?e.response.data.authStatus:e.message&&"string"==typeof e.message?e.message.replace(/\s+/g,""):e.response&&403===e.response.statusCode?"UnauthorizedUser":void 0}(e);return t&&a[t]?new(0,a[t])(e.details):new o.a(e.details)}},9:function(e,t){e.exports=__RENDER_8_RUNTIME__}},[[110,"common",1,0]]]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["useSetPassword"],{0:function(e,t){e.exports=React},111:function(e,t,r){"use strict";r.r(t),function(e){var t=r(6);r.p=Object(t.getPublicPath)("vtex.react-vtexid@4.67.1");var n=Object(t.register)((function(){return r(142)}),e,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","useSetPassword");n.renderHotReload,n.setupHMR}.call(this,r(20)(e))},14:function(e,t,r){"use strict";var n=r(3),a=r.n(n),o=r(5),u=r(4),s=r(0),i=r(8),c=r(7);t.a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.onSuccess,d=void 0===n?i.a:n,l=r.onFailure,p=void 0===l?i.a:l,v=r.onFinish,f=void 0===v?i.a:v,b=r.autorun,h=void 0!==b&&b,w=Object(s.useState)(null),O=Object(u.a)(w,2),g=O[0],x=O[1],S=Object(s.useState)(null),j=Object(u.a)(S,2),m=j[0],k=j[1],A=Object(s.useState)(h),_=Object(u.a)(A,2),P=_[0],U=_[1],R=Object(s.useCallback)(e,t),E=Object(s.useCallback)(function(){var e=Object(o.a)(a.a.mark((function e(){var t,r=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(null),U(!0),e.prev=2,e.next=5,R.apply(void 0,r);case 5:return t=e.sent,x(t),k(null),d(t),e.abrupt("return",t);case 12:return e.prev=12,e.t0=e.catch(2),k(e.t0),x(null),p(Object(c.a)(e.t0)),e.abrupt("return",e.t0);case 18:return e.prev=18,U(!1),f(),e.finish(18);case 22:case"end":return e.stop()}}),e,null,[[2,12,18,22]])})));return function(){return e.apply(this,arguments)}}(),[R,p,f,d]);return Object(s.useEffect)((function(){h&&E()}),[h,E]),[E,{value:g,error:m,loading:P}]}},142:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r.n(n),o=r(5),u=r(4),s=r(1),i=r(14),c=r(22),d=r(27),l=s.a.ApiAuthStatus,p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onSuccess,r=void 0===t?s.b:t,n=e.onFailure,p=void 0===n?s.b:n,v=e.autorun,f=void 0!==v&&v,b=e.scope,h=void 0===b?s.a.Scopes.STORE:b,w=e.parentAppId,O=void 0===w?null:w,g=e.actionArgs,x=(g=void 0===g?{}:g).email,S=void 0===x?null:x,j=g.newPassword,m=void 0===j?null:j,k=g.currentPassword,A=void 0===k?null:k,_=g.token,P=void 0===_?null:_,U=g.recaptcha,R=void 0===U?null:U,E=g.useNewLoginAttempt,I=void 0!==E&&E,T=e.loginAttempt,y=(T=void 0===T?{}:T).onTimeout,C=void 0===y?s.b:y,N=T.returnUrl,F=void 0===N?null:N,M=Object(c.a)((function(){return C()}),[C],{parentAppId:O,scope:h}),z=Object(i.a)(function(){var e=Object(o.a)(a.a.mark((function e(){var t,r,n,o,u,i,c,p,v,f,b,w,g,x,j,k=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=k.length>0&&void 0!==k[0]?k[0]:{},r=t.email,n=void 0===r?S:r,o=t.newPassword,u=void 0===o?m:o,i=t.currentPassword,c=void 0===i?A:i,p=t.token,v=void 0===p?P:p,f=t.recaptcha,b=void 0===f?R:f,w=t.useNewLoginAttempt,!(void 0===w?I:w)){e.next=7;break}return e.next=4,Object(d.a)(h);case 4:return g=e.sent,e.next=7,M({fingerprint:g,email:n,returnUrl:F});case 7:return e.next=9,s.c.setPassword({login:n,newPassword:u,currentPassword:c,accesskey:v,recaptcha:b,parentAppId:O});case 9:if(e.t0=e.sent,e.t0){e.next=12;break}e.t0={authStatus:"UnexpectedError"};case 12:if(x=e.t0,(j=x.authStatus)===l.Success){e.next=16;break}throw{authStatus:j};case 16:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),[S,m,A,P,R,I,O,h,M,F],{onSuccess:r,onFailure:p,autorun:f}),B=Object(u.a)(z,2),D=B[0],H=B[1],J=H.error,L=H.loading;return[D,{error:J,loading:L}]};t.default=p},21:function(e,t){e.exports=regeneratorRuntime},22:function(e,t,r){"use strict";var n=r(0),a=r(9),o=r(11),u=r(1),s=o.a.SessionDuration;t.a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.scope,c=void 0===i?o.a.Scopes.STORE:i,d=r.parentAppId,l=void 0===d?null:d,p=r.useOAuthPopup,v=void 0!==p&&p,f=Object(a.useRuntime)(),b=f.account,h=Object(n.useRef)(),w=Object(n.useCallback)(e,t);return Object(n.useCallback)((function(e){var t=e.fingerprint,r=void 0===t?null:t,n=e.email,a=void 0===n?null:n,o=e.returnUrl,i=void 0===o?null:o;return clearTimeout(h.current),h.current=setTimeout((function(){return w()}),s),u.c.startSession({accountName:b,returnUrl:i,scope:c,user:a,fingerprint:r,parentAppId:l,useOAuthPopup:v})}),[b,c,l,v,w])}},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(2),a={NetworkError:n.c,BlockedUser:n.a,WrongCredentials:n.i,InvalidMFAToken:n.i,InvalidRecaptcha:n.b,OAuthError:n.d,ThrottledError:n.f,PasswordAlreadyUsed:n.e,UnauthorizedUser:n.g},o=r(12);function u(e){if(!e)return new o.a;var t=function(e){if(e)return e.code?e.code:e.response&&"Seu login está bloqueado temporariamente."===e.response.data?"BlockedUser":e.authStatus?e.authStatus:e.response&&e.response.data&&e.response.data.authStatus?e.response.data.authStatus:e.message&&"string"==typeof e.message?e.message.replace(/\s+/g,""):e.response&&403===e.response.statusCode?"UnauthorizedUser":void 0}(e);return t&&a[t]?new(0,a[t])(e.details):new o.a(e.details)}},9:function(e,t){e.exports=__RENDER_8_RUNTIME__}},[[111,"common",1,0]]]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["useStartLoginAttempt"],{0:function(e,t){e.exports=React},113:function(e,t,r){"use strict";r.r(t),function(e){var t=r(6);r.p=Object(t.getPublicPath)("vtex.react-vtexid@4.67.1");var n=Object(t.register)((function(){return r(144)}),e,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","useStartLoginAttempt");n.renderHotReload,n.setupHMR}.call(this,r(20)(e))},14:function(e,t,r){"use strict";var n=r(3),a=r.n(n),u=r(5),o=r(4),i=r(0),c=r(8),s=r(7);t.a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.onSuccess,l=void 0===n?c.a:n,d=r.onFailure,p=void 0===d?c.a:d,v=r.onFinish,f=void 0===v?c.a:v,b=r.autorun,O=void 0!==b&&b,g=Object(i.useState)(null),h=Object(o.a)(g,2),j=h[0],m=h[1],S=Object(i.useState)(null),x=Object(o.a)(S,2),_=x[0],w=x[1],A=Object(i.useState)(O),k=Object(o.a)(A,2),R=k[0],U=k[1],E=Object(i.useCallback)(e,t),T=Object(i.useCallback)(function(){var e=Object(u.a)(a.a.mark((function e(){var t,r=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w(null),U(!0),e.prev=2,e.next=5,E.apply(void 0,r);case 5:return t=e.sent,m(t),w(null),l(t),e.abrupt("return",t);case 12:return e.prev=12,e.t0=e.catch(2),w(e.t0),m(null),p(Object(s.a)(e.t0)),e.abrupt("return",e.t0);case 18:return e.prev=18,U(!1),f(),e.finish(18);case 22:case"end":return e.stop()}}),e,null,[[2,12,18,22]])})));return function(){return e.apply(this,arguments)}}(),[E,p,f,l]);return Object(i.useEffect)((function(){O&&T()}),[O,T]),[T,{value:j,error:_,loading:R}]}},144:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r.n(n),u=r(5),o=r(4),i=r(1),c=r(14),s=r(11),l=r(22),d=r(27),p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onSuccess,r=void 0===t?i.b:t,n=e.onFailure,p=void 0===n?i.b:n,v=e.autorun,f=void 0!==v&&v,b=e.scope,O=void 0===b?s.a.Scopes.STORE:b,g=e.parentAppId,h=void 0===g?null:g,j=e.actionArgs,m=(j=void 0===j?{}:j).email,S=void 0===m?null:m,x=e.loginAttempt,_=(x=void 0===x?{}:x).onTimeout,w=void 0===_?i.b:_,A=x.returnUrl,k=void 0===A?null:A,R=Object(l.a)((function(){return w()}),[w],{scope:O,parentAppId:h}),U=Object(c.a)(function(){var e=Object(u.a)(a.a.mark((function e(){var t,r,n,u,o=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:{},r=t.email,n=void 0===r?S:r,e.next=3,Object(d.a)(O);case 3:return u=e.sent,e.abrupt("return",R({fingerprint:u,email:n,returnUrl:k}));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),[S,O,R,k],{onSuccess:r,onFailure:p,autorun:f}),E=Object(o.a)(U,2),T=E[0],I=E[1],C=I.error,y=I.loading;return[T,{error:C,loading:y}]};t.default=p},21:function(e,t){e.exports=regeneratorRuntime},22:function(e,t,r){"use strict";var n=r(0),a=r(9),u=r(11),o=r(1),i=u.a.SessionDuration;t.a=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=r.scope,s=void 0===c?u.a.Scopes.STORE:c,l=r.parentAppId,d=void 0===l?null:l,p=r.useOAuthPopup,v=void 0!==p&&p,f=Object(a.useRuntime)(),b=f.account,O=Object(n.useRef)(),g=Object(n.useCallback)(e,t);return Object(n.useCallback)((function(e){var t=e.fingerprint,r=void 0===t?null:t,n=e.email,a=void 0===n?null:n,u=e.returnUrl,c=void 0===u?null:u;return clearTimeout(O.current),O.current=setTimeout((function(){return g()}),i),o.c.startSession({accountName:b,returnUrl:c,scope:s,user:a,fingerprint:r,parentAppId:d,useOAuthPopup:v})}),[b,s,d,v,g])}},7:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(2),a={NetworkError:n.c,BlockedUser:n.a,WrongCredentials:n.i,InvalidMFAToken:n.i,InvalidRecaptcha:n.b,OAuthError:n.d,ThrottledError:n.f,PasswordAlreadyUsed:n.e,UnauthorizedUser:n.g},u=r(12);function o(e){if(!e)return new u.a;var t=function(e){if(e)return e.code?e.code:e.response&&"Seu login está bloqueado temporariamente."===e.response.data?"BlockedUser":e.authStatus?e.authStatus:e.response&&e.response.data&&e.response.data.authStatus?e.response.data.authStatus:e.message&&"string"==typeof e.message?e.message.replace(/\s+/g,""):e.response&&403===e.response.statusCode?"UnauthorizedUser":void 0}(e);return t&&a[t]?new(0,a[t])(e.details):new u.a(e.details)}},9:function(e,t){e.exports=__RENDER_8_RUNTIME__}},[[113,"common",1,0]]]); },function(){ (window.webpackJsonpvtex_react_vtexid_4_67_1=window.webpackJsonpvtex_react_vtexid_4_67_1||[]).push([["validations"],{118:function(e,t,r){"use strict";r.r(t),function(e){var t=r(6);r.p=Object(t.getPublicPath)("vtex.react-vtexid@4.67.1");var n=Object(t.register)((function(){return r(119)}),e,"vtex.react-vtexid@4.67.1","vtex.react-vtexid@4.x","validations");n.renderHotReload,n.setupHMR}.call(this,r(20)(e))},119:function(e,t,r){"use strict";r.r(t);var n=r(25),c=r(1);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}t.default=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?"values":"value",' in the props of a component. Please use "phone" and "tablet" in this case.'))}}}(e),{devices:{phone:a(e,["phone","mobile","tablet","desktop"]),tablet:a(e,["tablet","mobile","desktop","phone"]),desktop:a(e,["desktop","tablet","phone","mobile"])},queries:n}},l=function(e){var t=[],n=new Set;return Object.keys(e).forEach((function(o){var i=s(e[o]);Object.keys(i.queries).forEach((function(e){return n.add(e)})),t.push([o,i])})),{inputList:t,queryList:Object(o.a)(n)}}},,,,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.responsive-values@0.4.2");var o=Object(t.register)((function(){return n(17)}),e,"vtex.responsive-values@0.4.2","vtex.responsive-values@0.x","useResponsiveValues");o.renderHotReload,o.setupHMR}.call(this,n(11)(e))},function(e,t,n){"use strict";n.r(t);var o=n(0),i=n(5),r=n.n(i),u=n(6),c=n(2);t.default=function(e){var t=r()().device,n=Object(u.b)(e),i=n.inputList,a=n.queryList,s=Object(c.b)(a).mediaQueries,l={};return i.forEach((function(e){var n=Object(o.a)(e,2),i=n[0],r=n[1];if(Object.keys(r.queries).length>0){var u=Object(c.a)(s);if(u)return void(l[i]=r.queries[u])}l[i]=r.devices[t]})),l}}],[[16,"common"]]]); },function(){ (window.webpackJsonpvtex_responsive_values_0_4_2=window.webpackJsonpvtex_responsive_values_0_4_2||[]).push([["useResponsiveValue"],[,,function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return s}));var o=n(4),i=n(0),r=n(3),u={};function a(e){return u[e]||"function"!=typeof(null===window||void 0===window?void 0:window.matchMedia)||(u[e]=window.matchMedia(e)),u[e]}function c(e){var t=Object(r.useState)((function(){var t={};return e.forEach((function(e){var n;t[e]=Boolean(null===(n=a(e))||void 0===n?void 0:n.matches)})),t})),n=Object(i.a)(t,2),u=n[0],c=n[1];return Object(r.useLayoutEffect)((function(){if("function"==typeof(null===window||void 0===window?void 0:window.matchMedia)&&0!==e.length){var t=e.map((function(e){var t=!0,n=a(e);void 0!==u[e]&&null!==u[e]||c((function(t){return Object.assign(Object.assign({},t),Object(o.a)({},e,Boolean(null==n?void 0:n.matches)))}));var i=function(n){t&&c((function(t){return Object.assign(Object.assign({},t),Object(o.a)({},e,n.matches))}))};return null==n||n.addListener(i),function(){t=!1,null==n||n.removeListener(i)}}));return function(){t.forEach((function(e){return e()}))}}}),[JSON.stringify(e),c]),{mediaQueries:Object.entries(u)}}var s=function(e){var t=e.find((function(e){return Object(i.a)(e,2)[1]}));if(t)return Object(i.a)(t,1)[0]}},function(e,t){e.exports=React},,function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.device-detector@0.x/useDevice"]},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l}));var o=n(10),i=n(9),r=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i1?"values":"value",' in the props of a component. Please use "phone" and "tablet" in this case.'))}}}(e),{devices:{phone:c(e,["phone","mobile","tablet","desktop"]),tablet:c(e,["tablet","mobile","desktop","phone"]),desktop:c(e,["desktop","tablet","phone","mobile"])},queries:n}},l=function(e){var t=[],n=new Set;return Object.keys(e).forEach((function(o){var i=s(e[o]);Object.keys(i.queries).forEach((function(e){return n.add(e)})),t.push([o,i])})),{inputList:t,queryList:Object(o.a)(n)}}},,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.responsive-values@0.4.2");var o=Object(t.register)((function(){return n(15)}),e,"vtex.responsive-values@0.4.2","vtex.responsive-values@0.x","useResponsiveValue");o.renderHotReload,o.setupHMR}.call(this,n(11)(e))},function(e,t,n){"use strict";n.r(t);var o=n(5),i=n.n(o),r=n(6),u=n(2);t.default=function(e){var t=i()().device,n=Object(r.a)(e),o=n.devices,a=n.queries,c=Object.keys(a),s=Object(u.b)(c).mediaQueries;if(c.length>0){var l=Object(u.a)(s);if(l)return a[l]}return o[t]}}],[[14,"common"]]]); },function(){ !function(e){function n(n){for(var r,u,c=n[0],a=n[1],l=n[2],p=0,s=[];p