enqueueScripts([function(){ (window.webpackJsonpvtex_session_client_1_0_4=window.webpackJsonpvtex_session_client_1_0_4||[]).push([["useRenderSession"],{15:function(e,n,s){"use strict";s.r(n),function(e){var n=s(0);s.p=Object(n.getPublicPath)("vtex.session-client@1.0.4");var i=Object(n.register)((function(){return s(16)}),e,"vtex.session-client@1.0.4","vtex.session-client@1.x","useRenderSession");i.renderHotReload,i.setupHMR}.call(this,s(2)(e))},16:function(e,n,s){"use strict";s.r(n);var i=s(6),t=s(3);n.default=function(){var e,n=Object(t.useState)({loading:!0,session:void 0,error:void 0}),s=Object(i.a)(n,2),o=s[0],r=s[1],c=null===(e=null===window||void 0===window?void 0:window.__RENDER_8_SESSION__)||void 0===e?void 0:e.sessionPromise;return Object(t.useEffect)((function(){c&&c.then((function(e){var n=e.response;r({loading:!1,session:n,error:"type"in n&&"message"in n})}))}),[c]),o}},3:function(e,n){e.exports=React}},[[15,"common"]]]); },function(){ !function(e){function t(t){for(var r,u,a=t[0],c=t[1],l=t[2],s=0,d=[];se.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 t(t){for(var n,u,c=t[0],a=t[1],l=t[2],d=0,s=[];de.length)&&(t=e.length);for(var r=0,n=new Array(t);r?@[\\\]^`{|}~-]+/g,P=/(^-|-$)/g;function E(e){return e.replace(w,"-").replace(P,"")}var O=/(a)(d)/gi,_=function(e){return String.fromCharCode(e+(e>25?39:97))};function A(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=_(t%52)+r;return(_(t%52)+r).replace(O,"$1-$2")}var I,k=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},x=function(e){return k(5381,e)};function T(e){return A(x(e)>>>0)}function C(e){return e.displayName||e.name||"Component"}function N(e){return"string"==typeof e&&!0}var j="function"==typeof Symbol&&Symbol.for,R=j?Symbol.for("react.memo"):60115,D=j?Symbol.for("react.forward_ref"):60112,V={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},$={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},L={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},z=((I={})[D]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},I[R]=L,I);function X(e){return("type"in(t=e)&&t.type.$$typeof)===R?L:"$$typeof"in e?z[e.$$typeof]:V;var t}var M=Object.defineProperty,F=Object.getOwnPropertyNames,B=Object.getOwnPropertySymbols,G=Object.getOwnPropertyDescriptor,H=Object.getPrototypeOf,W=Object.prototype;function Y(e,t,r){if("string"!=typeof t){if(W){var n=H(t);n&&n!==W&&Y(e,n,r)}var o=F(t);B&&(o=o.concat(B(t)));for(var i=X(e),a=X(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var re=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)if((o<<=1)<0)throw te(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=n;i=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,i=n;i=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(c+="".concat(e,","))})),n+="".concat(a).concat(s,'{content:"').concat(c,'"}').concat(h)},i=0;i0?".".concat(t):e},p=u.slice();p.push((function(e){e.type===c.a&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Se,r).replace(n,l))})),a.prefix&&p.push(c.d),p.push(c.g);var f=function(e,o,i,s){void 0===o&&(o=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,r=o,n=new RegExp("\\".concat(r,"\\b"),"g");var u=e.replace(we,""),l=c.b(i||o?"".concat(i," ").concat(o," { ").concat(u," }"):u);a.namespace&&(l=function e(t,r){return t.map((function(t){return"rule"===t.type&&(t.value="".concat(r," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(r," ")),t.props=t.props.map((function(e){return"".concat(r," ").concat(e)}))),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,r)),t}))}(l,a.namespace));var f=[];return c.f(l,c.c(p.concat(c.e((function(e){return f.push(e)}))))),f};return f.hash=u.length?u.reduce((function(e,t){return t.name||te(15),k(e,t.name)}),5381).toString():"",f}var Ee=new be,Oe=Pe(),_e=i.a.createContext({shouldForwardProp:void 0,styleSheet:Ee,stylis:Oe}),Ae=(_e.Consumer,i.a.createContext(void 0));function Ie(){return Object(o.useContext)(_e)}function ke(e){var t=Object(o.useState)(e.stylisPlugins),r=t[0],n=t[1],a=Ie().styleSheet,c=Object(o.useMemo)((function(){var t=a;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,a]),u=Object(o.useMemo)((function(){return Pe({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:r})}),[e.enableVendorPrefixes,e.namespace,r]);Object(o.useEffect)((function(){s()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]);var l=Object(o.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:c,stylis:u}}),[e.shouldForwardProp,c,u]);return i.a.createElement(_e.Provider,{value:l},i.a.createElement(Ae.Provider,{value:u},e.children))}var xe=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=Oe);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ee(this,(function(){throw te(12,String(r.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Oe),this.name+e.hash},e}(),Te=function(e){return e>="A"&&e<="Z"};function Ce(e){for(var t="",r=0;r>>0);if(!t.hasNameForId(this.componentId,i)){var a=r(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}n=J(n,i),this.staticRulesId=i}else{for(var s=k(this.baseHash,r.hash),c="",u=0;u>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,r(c,".".concat(f),void 0,this.componentId)),n=J(n,f)}}return n},e}(),Le=i.a.createContext(void 0);Le.Consumer;var ze={};new Set;function Xe(e,t,r){var a=q(e),s=e,c=!N(e),u=t.attrs,l=void 0===u?y:u,p=t.componentId,f=void 0===p?function(e,t){var r="string"!=typeof e?"sc":E(e);ze[r]=(ze[r]||0)+1;var n="".concat(r,"-").concat(T(d+r+ze[r]));return t?"".concat(t,"-").concat(n):n}(t.displayName,t.parentComponentId):p,h=t.displayName,m=void 0===h?function(e){return N(e)?"styled.".concat(e):"Styled(".concat(C(e),")")}(e):h,g=t.displayName&&t.componentId?"".concat(E(t.displayName),"-").concat(t.componentId):t.componentId||f,w=a&&s.attrs?s.attrs.concat(l).filter(Boolean):l,P=t.shouldForwardProp;if(a&&s.shouldForwardProp){var O=s.shouldForwardProp;if(t.shouldForwardProp){var _=t.shouldForwardProp;P=function(e,t){return O(e,t)&&_(e,t)}}else P=O}var A=new $e(r,g,a?s.componentStyle:void 0);function I(e,t){return function(e,t,r){var a=e.attrs,s=e.componentStyle,c=e.defaultProps,u=e.foldedComponentIds,l=e.styledComponentId,p=e.target,f=i.a.useContext(Le),d=Ie(),h=e.shouldForwardProp||d.shouldForwardProp,m=b(t,f,c)||v,g=function(e,t,r){for(var o,i=Object(n.a)(Object(n.a)({},t),{className:void 0,theme:r}),a=0;a2&&be.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)}}();(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),r=fe(),n=K([r&&'nonce="'.concat(r,'"'),"".concat(l,'="true"'),"".concat(f,'="').concat(d,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw te(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw te(2);var r=((t={})[l]="",t[f]=d,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=fe();return o&&(r.nonce=o),[i.a.createElement("style",Object(n.a)({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new be({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw te(2);return i.a.createElement(ke,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw te(3)}})(),"__sc-".concat(l,"__")}).call(this,r(15))},,function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return H})),r.d(t,"c",(function(){return Z})),r.d(t,"d",(function(){return ee})),r.d(t,"e",(function(){return Q})),r.d(t,"f",(function(){return J})),r.d(t,"g",(function(){return K}));var n="-ms-",o="-moz-",i="-webkit-",a="comm",s="rule",c="decl",u="@keyframes",l=Math.abs,p=String.fromCharCode,f=Object.assign;function d(e){return e.trim()}function h(e,t){return(e=t.exec(e))?e[0]:e}function m(e,t,r){return e.replace(t,r)}function g(e,t,r){return e.indexOf(t,r)}function y(e,t){return 0|e.charCodeAt(t)}function v(e,t,r){return e.slice(t,r)}function b(e){return e.length}function S(e){return e.length}function w(e,t){return t.push(e),e}function P(e,t){return e.map(t).join("")}function E(e,t){return e.filter((function(e){return!h(e,t)}))}var O=1,_=1,A=0,I=0,k=0,x="";function T(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:O,column:_,length:a,return:"",siblings:s}}function C(e,t){return f(T("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function N(e){for(;e.root;)e=C(e.root,{children:[e]});w(e,e.siblings)}function j(){return k=I2||$(k)>3?"":" "}function F(e,t){for(;--t&&j()&&!(k<48||k>102||k>57&&k<65||k>70&&k<97););return V(e,D()+(t<6&&32==R()&&32==j()))}function B(e,t){for(;j()&&e+k!==57&&(e+k!==84||47!==R()););return"/*"+V(t,I-1)+"*"+p(47===e?e:j())}function G(e){for(;!$(R());)j();return V(e,I)}function H(e){return z(function e(t,r,n,o,i,a,s,c,u){var f=0,d=0,h=s,v=0,S=0,P=0,E=1,A=1,T=1,C=0,N="",V=i,$=a,L=o,z=N;for(;A;)switch(P=C,C=j()){case 40:if(108!=P&&58==y(z,h-1)){-1!=g(z+=m(X(C),"&","&\f"),"&\f",l(f?c[f-1]:0))&&(T=-1);break}case 34:case 39:case 91:z+=X(C);break;case 9:case 10:case 13:case 32:z+=M(P);break;case 92:z+=F(D()-1,7);continue;case 47:switch(R()){case 42:case 47:w(Y(B(j(),D()),r,n,u),u);break;default:z+="/"}break;case 123*E:c[f++]=b(z)*T;case 125*E:case 59:case 0:switch(C){case 0:case 125:A=0;case 59+d:-1==T&&(z=m(z,/\f/g,"")),S>0&&b(z)-h&&w(S>32?U(z+";",o,n,h-1,u):U(m(z," ","")+";",o,n,h-2,u),u);break;case 59:z+=";";default:if(w(L=W(z,r,n,f,d,i,c,N,V=[],$=[],h,a),a),123===C)if(0===d)e(z,r,L,L,V,a,h,c,$);else switch(99===v&&110===y(z,3)?100:v){case 100:case 108:case 109:case 115:e(t,L,L,o&&w(W(t,L,L,0,0,i,c,N,i,V=[],h,$),$),i,$,h,c,o?V:$);break;default:e(z,L,L,L,[""],$,0,c,$)}}f=d=S=0,E=T=1,N=z="",h=s;break;case 58:h=1+b(z),S=P;default:if(E<1)if(123==C)--E;else if(125==C&&0==E++&&125==(k=I>0?y(x,--I):0,_--,10===k&&(_=1,O--),k))continue;switch(z+=p(C),C*E){case 38:T=d>0?1:(z+="\f",-1);break;case 44:c[f++]=(b(z)-1)*T,T=1;break;case 64:45===R()&&(z+=X(j())),v=R(),d=h=b(N=z+=G(D())),C++;break;case 45:45===P&&2==b(z)&&(E=0)}}return a}("",null,null,null,[""],e=L(e),0,[0],e))}function W(e,t,r,n,o,i,a,c,u,p,f,h){for(var g=o-1,y=0===o?i:[""],b=S(y),w=0,P=0,E=0;w0?y[O]+" "+_:m(_,/&\f/g,y[O])))&&(u[E++]=A);return T(e,t,r,0===o?s:c,u,p,f,h)}function Y(e,t,r,n){return T(e,t,r,a,p(k),v(e,2,-2),0,n)}function U(e,t,r,n,o){return T(e,t,r,c,v(e,0,n),v(e,n+1,-1),n,o)}function q(e,t,r){switch(function(e,t){return 45^y(e,0)?(((t<<2^y(e,0))<<2^y(e,1))<<2^y(e,2))<<2^y(e,3):0}(e,t)){case 5103:return i+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return i+e+e;case 4789:return o+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return i+e+o+e+n+e+e;case 5936:switch(y(e,t+11)){case 114:return i+e+n+m(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return i+e+n+m(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return i+e+n+m(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return i+e+n+e+e;case 6165:return i+e+n+"flex-"+e+e;case 5187:return i+e+m(e,/(\w+).+(:[^]+)/,i+"box-$1$2"+n+"flex-$1$2")+e;case 5443:return i+e+n+"flex-item-"+m(e,/flex-|-self/g,"")+(h(e,/flex-|baseline/)?"":n+"grid-row-"+m(e,/flex-|-self/g,""))+e;case 4675:return i+e+n+"flex-line-pack"+m(e,/align-content|flex-|-self/g,"")+e;case 5548:return i+e+n+m(e,"shrink","negative")+e;case 5292:return i+e+n+m(e,"basis","preferred-size")+e;case 6060:return i+"box-"+m(e,"-grow","")+i+e+n+m(e,"grow","positive")+e;case 4554:return i+m(e,/([^-])(transform)/g,"$1"+i+"$2")+e;case 6187:return m(m(m(e,/(zoom-|grab)/,i+"$1"),/(image-set)/,i+"$1"),e,"")+e;case 5495:case 3959:return m(e,/(image-set\([^]*)/,i+"$1$`$1");case 4968:return m(m(e,/(.+:)(flex-)?(.*)/,i+"box-pack:$3"+n+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+i+e+e;case 4200:if(!h(e,/flex-|baseline/))return n+"grid-column-align"+v(e,t)+e;break;case 2592:case 3360:return n+m(e,"template-","")+e;case 4384:case 3616:return r&&r.some((function(e,r){return t=r,h(e.props,/grid-\w+-end/)}))?~g(e+(r=r[t].value),"span",0)?e:n+m(e,"-start","")+e+n+"grid-row-span:"+(~g(r,"span",0)?h(r,/\d+/):+h(r,/\d+/)-+h(e,/\d+/))+";":n+m(e,"-start","")+e;case 4896:case 4128:return r&&r.some((function(e){return h(e.props,/grid-\w+-start/)}))?e:n+m(m(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return m(e,/(.+)-inline(.+)/,i+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(b(e)-1-t>6)switch(y(e,t+1)){case 109:if(45!==y(e,t+4))break;case 102:return m(e,/(.+:)(.+)-([^]+)/,"$1"+i+"$2-$3$1"+o+(108==y(e,t+3)?"$3":"$2-$3"))+e;case 115:return~g(e,"stretch",0)?q(m(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return m(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,r,o,i,a,s,c){return n+r+":"+o+c+(i?n+r+"-span:"+(a?s:+s-+o)+c:"")+e}));case 4949:if(121===y(e,t+6))return m(e,":",":"+i)+e;break;case 6444:switch(y(e,45===y(e,14)?18:11)){case 120:return m(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+i+(45===y(e,14)?"inline-":"")+"box$3$1"+i+"$2$3$1"+n+"$2box$3")+e;case 100:return m(e,":",":"+n)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return m(e,"scroll-","scroll-snap-")+e}return e}function J(e,t){for(var r="",n=0;n-1&&!e.return)switch(e.type){case c:return void(e.return=q(e.value,e.length,r));case u:return J([C(e,{value:m(e.value,"@","@"+i)})],o);case s:if(e.length)return P(r=e.props,(function(t){switch(h(t,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":N(C(e,{props:[m(t,/:(read-\w+)/,":-moz-$1")]})),N(C(e,{props:[t]})),f(e,{props:E(r,o)});break;case"::placeholder":N(C(e,{props:[m(t,/:(plac\w+)/,":"+i+"input-$1")]})),N(C(e,{props:[m(t,/:(plac\w+)/,":-moz-$1")]})),N(C(e,{props:[m(t,/:(plac\w+)/,n+"input-$1")]})),N(C(e,{props:[t]})),f(e,{props:E(r,o)})}return""}))}}},,,,function(e,t){e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c1)for(var r=1;r9?"".concat(e):"".concat(Number("0")).concat(e)};Object(a.useEffect)((function(){var e=window.setInterval(R,1e3);return M(e),function(){clearInterval(e)}}),[e.targetDate]),Object(a.useEffect)((function(){var t=function(){var t,n,r=document.createElement("img");r.onload=function(){var e=r.width/r.height,t=window.innerWidth;s(t/e)},r.src="phone"===A?null!==(t=e.phoneBgImageUrl)&&void 0!==t?t:"":null!==(n=e.desktopBgImageUrl)&&void 0!==n?n:""};return t(),window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}}),[e.desktopBgImageUrl,e.phoneBgImageUrl,A]);var P=i.a.createElement("a",{className:"customBannerTimerAnchorLink",href:e.linkUrl,style:{margin:0,padding:0,textDecoration:"none"}},e.textBefore&&i.a.createElement("span",{className:"spantxtBefore"},e.textBefore),i.a.createElement("div",{className:"customBannerTimerContainer",style:{width:"100%",height:u||"auto",backgroundImage:"url(".concat("phone"===A?e.phoneBgImageUrl:e.desktopBgImageUrl,")"),backgroundSize:"100% 100%",backgroundPosition:"center"}},S>0?i.a.createElement(y,{days:L(m),hours:L(p),minutes:L(E),seconds:L(_),sx:function(e,t){return e&&t in e?e[t]:{}}(null!==(t=e.sx)&&void 0!==t?t:{},A)}):null),e.textAfter&&i.a.createElement("span",{className:"spantxtAfter"},e.textAfter));return i.a.createElement(i.a.Fragment,null,S>0&&(S<0&&e.children?e.children:P))};k.schema={title:"Custom Banner Timer",description:"Background image and timer on top",type:"object",properties:{targetDate:{title:"Target Date",type:"string",widget:{"ui:widget":"date-time"},description:"i.e: Sun Oct 01 2023 24:00:00 GMT-0400"},linkUrl:{title:"Link Url",type:"string"},textBefore:{title:"Text Before",type:"string"},textAfter:{title:"Text After",type:"string"}}};t.default=k},7:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.device-detector@0.x/useDevice"]}},[[14,"common",0]]]); },function(){ !function(e){function t(t){for(var r,c,u=t[0],a=t[1],l=t[2],s=0,p=[];s