enqueueScripts([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(){ (window.webpackJsonpvtex_responsive_values_0_4_2=window.webpackJsonpvtex_responsive_values_0_4_2||[]).push([["useResponsiveValues"],[,,function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var o=n(4),i=n(0),r=n(3),u={};function c(e){return u[e]||"function"!=typeof(null===window||void 0===window?void 0:window.matchMedia)||(u[e]=window.matchMedia(e)),u[e]}function a(e){var t=Object(r.useState)((function(){var t={};return e.forEach((function(e){var n;t[e]=Boolean(null===(n=c(e))||void 0===n?void 0:n.matches)})),t})),n=Object(i.a)(t,2),u=n[0],a=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=c(e);void 0!==u[e]&&null!==u[e]||a((function(t){return Object.assign(Object.assign({},t),Object(o.a)({},e,Boolean(null==n?void 0:n.matches)))}));var i=function(n){t&&a((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),a]),{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: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(){ !function(e){function t(t){for(var r,c,u=t[0],a=t[1],l=t[2],s=0,p=[];s=t?a():i=setTimeout(a,t-e)),o};function a(){i=0,c=+new Date,o=e.apply(n,r),n=null,r=null}}},12:function(e,t,n){"use strict";var r=n(0),o=n.n(r),i=n(11),c=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){a&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),d?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){a&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;h.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),v=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),S="undefined"!=typeof WeakMap?new WeakMap:new c,R=function(){return function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=p.getInstance(),r=new M(t,n,this);S.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(e){R.prototype[e]=function(){var t;return(t=S.get(this))[e].apply(t,arguments)}});var A=void 0!==u.ResizeObserver?u.ResizeObserver:R,k=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i=t||n<0||l&&e-s>=i}function v(){var e=C();if(p(e))return b(e);a=setTimeout(v,function(e){var n=t-(e-u);return l?ae(n,i-(e-s)):n}(e))}function b(e){return a=void 0,h&&r?d(e):(r=o=void 0,c)}function y(){var e=C(),n=p(e);if(r=arguments,o=this,u=e,n){if(void 0===a)return function(e){return s=e,a=setTimeout(v,t),f?d(e):c}(u);if(l)return clearTimeout(a),a=setTimeout(v,t),d(u)}return void 0===a&&(a=setTimeout(v,t)),c}return t=oe(t)||0,z(n)&&(f=!!n.leading,i=(l="maxWait"in n)?ce(oe(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h),y.cancel=function(){void 0!==a&&clearTimeout(a),s=0,r=u=o=a=void 0},y.flush=function(){return void 0===a?c:b(C())},y},se="Expected a function";var fe=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(se);return z(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ue(e,t,{leading:r,maxWait:t,trailing:o})},le={debounce:ue,throttle:fe},he=function(e){return le[e]},de=function(e){return"function"==typeof e},pe=function(){return"undefined"==typeof window},ve=function(e){return e instanceof Element||e instanceof HTMLDocument};function be(e){return(be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ye(e,t){for(var n=0;n=o;d!==c&&v(c)}},[u,s,e,d,a,i])),{isStuck:d}}({stickOffset:C,position:N,verticalSpacing:p,contentHeight:j,wrapperOffsetTop:R}).isStuck;null!=H&&null!=s&&console.warn('"StackContainer" overrides the "StickyLayout" "position" prop.');var I=[O.container,!l&&"z-999",M?"fixed":"relative","left-0 right-0"].filter(Boolean).join(" "),D=M?d()(O.wrapper,["stuck"]):O.wrapper,A=(e={},Object(r.a)(e,N,M?p+C:0),Object(r.a)(e,"zIndex",l),e),B={position:"relative",height:j};return a.a.createElement("div",{ref:w,className:D,style:B},a.a.createElement("div",{ref:b,className:I,style:A},i,a.a.createElement(u.a,{handleHeight:!0,onResize:function(t,e){!1===M&&_(e),T(e)}})))}}],[[15,"common",0]]]); },function(){ !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t){e.exports=React},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPublicPath=t.register=void 0;var o="__RENDER_8_RUNTIME__",r="__RENDER_8_COMPONENTS__",i=!("undefined"==typeof window||!window.document);i&&!window.global&&(window.global=window),window[r]=window[r]||{},t.register=function(e,t,n,i,a){var c="".concat(n,"/").concat(a),l="".concat(i,"/").concat(a),s=function(){return function(e,t){try{var n=e();return n.__esModule?n.default:n.default||n}catch(e){throw new Error("An error happened while requiring the app ".concat(t,", please check your app's code.\\n").concat(e.stack))}}(e,c)};if(window[o]&&window[o].registerComponent){var u=!!window.__RENDER_LAZY__;window[o].registerComponent(t,u?s:s(),n,a,u)}else{var d=s();window[o]&&window[o].withHMR?window[r][c]=window[r][l]=window[o].withHMR(t,d):window[r][c]=window[r][l]=d}return{}},t.getPublicPath=function(e){var t=window.__hostname__,n="/_v/public/assets/v1/published/";return i&&window.__RUNTIME__&&(t=__RUNTIME__.assetServerPublishedHost||window.location.hostname,n=__RUNTIME__.assetServerPublishedPath||"/_v/public/assets/v1/published/"),"https://"+t+n+"".concat(e,"/public/react/")}},function(e,t){e.exports=ReactIntl},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@0.x/applyModifiers"]},function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@0.x/useCssHandles"]},function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.stack-layout@0.1.2");var o=Object(t.register)((function(){return n(7)}),e,"vtex.stack-layout@0.1.2","vtex.stack-layout@0.x","index");o.renderHotReload,o.setupHMR}.call(this,n(6)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";n.r(t);var o=n(0),r=n.n(o),i=n(2),a=n(4),c=n.n(a),l=n(3),s=n.n(l),u=["stackContainer","stackItem"],d=function(e){var t=e.children,n=e.zIndexOffset,o=void 0===n?0:n,a=c()(u),l=Object(i.useIntl)();return r.a.createElement("div",{className:"".concat(a.stackContainer," relative"),"aria-label":l.formatMessage({id:"store/stack-layout.aria-label"})},r.a.Children.toArray(t).map((function(e,t){var n,i,c,l=(null===(c=null===(i=null===(n=e)||void 0===n?void 0:n.props)||void 0===i?void 0:i.blockProps)||void 0===c?void 0:c.blockClass)||"",u="";return l&&(u=s()(a.stackItem,l)),0===t?r.a.createElement("div",{key:t,className:"".concat(s()(a.stackItem,"first")," ").concat(u),style:{zIndex:o+1}},e):r.a.createElement("div",{key:t,className:"".concat(a.stackItem," absolute top-0 left-0 w-auto h-auto ").concat(u),style:{zIndex:o+t+1}},e)})))},f=Object(i.defineMessages)({title:{id:"admin/editor.stack-layout.title"},description:{id:"admin/editor.stack-layout.description"}});d.schema={title:f.title.id,description:f.description.id},t.default=d}]); }], document.currentScript.dataset.index)