(()=>{"use strict";var __webpack_modules__={8199:(e,t,r)=>{r.d(t,{ZP:()=>s});var n=r(3907);function o(e){return o="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},o(e)}function i(){i=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function d(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(A){d=function(e,t,r){return e[t]=r}}function p(e,t,r,o){var i=t&&t.prototype instanceof f?t:f,a=Object.create(i.prototype),c=new T(o||[]);return n(a,"_invoke",{value:E(e,r,c)}),a}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(A){return{type:"throw",arg:A}}}e.wrap=p;var _={};function f(){}function h(){}function y(){}var w={};d(w,c,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(P([])));v&&v!==t&&r.call(v,c)&&(w=v);var g=y.prototype=f.prototype=Object.create(w);function b(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function i(n,a,c,s){var u=l(e[n],e,a);if("throw"!==u.type){var d=u.arg,p=d.value;return p&&"object"==o(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){i("next",e,c,s)}),(function(e){i("throw",e,c,s)})):t.resolve(p).then((function(e){d.value=e,c(d)}),(function(e){return i("throw",e,c,s)}))}s(u.arg)}var a;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){i(e,r,t,n)}))}return a=a?a.then(n,n):n()}})}function E(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=C(a,r);if(c){if(c===_)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===_)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function C(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),_;var o=l(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,_;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,_):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,_)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:L}}function L(){return{value:void 0,done:!0}}return h.prototype=y,n(g,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:h,configurable:!0}),h.displayName=d(y,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,d(e,u,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},b(S.prototype),d(S.prototype,s,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(p(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(g),d(g,u,"Generator"),d(g,c,(function(){return this})),d(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=P,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(I),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,_):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),_}},e}function a(e,t,r,n,o,i,a){try{var c=e[i](a),s=c.value}catch(u){return void r(u)}c.done?t(s):Promise.resolve(s).then(n,o)}function c(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function c(e){a(i,n,o,c,s,"next",e)}function s(e){a(i,n,o,c,s,"throw",e)}c(void 0)}))}}const s=c(i().mark((function e(){var t,r,o,a;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=[],a=document.querySelectorAll("img"),Array.from(a).find((function(e){r=!(!e.parentNode.classList.value.includes("thumb")&&!e.parentNode.classList.value.includes("cart"));var i=e.getAttribute("src")||[],a=e.getAttribute("data-src")||[],c=e.getAttribute("data-image-src")||[],s=e.getAttribute("data-srcset")||[];if((i.includes("reeview-app-widget")||a.includes("reeview-app-widget")||c.includes("reeview-app-widget")||s.includes("reeview-app-widget"))&&!r){i.includes("reeview-app-widget")?t=i.split("reeview-app-widget")[1].substring(1,25):a.includes("reeview-app-widget")?t=a.split("reeview-app-widget")[1].substring(1,25):c.includes("reeview-app-widget")?t=c.split("reeview-app-widget")[1].substring(1,25):s.includes("reeview-app-widget")&&(t=s.split("reeview-app-widget")[1].substring(1,25)),o.push(t),!(0,n.ZP)().isProductPage()>-1&&e.parentNode.parentNode.classList.add("vw-product-widgets-container");var p=u("reeview-app-widget_".concat(t));e.parentNode.classList.add("vw-parent");document.querySelectorAll(".vw-parent");e.parentNode.insertBefore(p,e)}if((i.includes("reeview-app-widget")||a.includes("reeview-app-widget")||s.includes("reeview-app-widget"))&&e.parentNode.classList.value.includes("thumb")){var l=d();e.parentNode.insertBefore(l,e)}})),window.VideoWiseWidgetsIds=o;case 5:case"end":return e.stop()}}),e)})));var u=function(e){var t=window.document.createElement("div");return t.setAttribute("id",e),t.setAttribute("class","reeview-app-widget vw-product-widget ".concat(e)),t},d=function(){var e=window.document.createElement("div");return e.setAttribute("id","cloneVwBtn"),e.setAttribute("class","vw-product-widget-btn"),e}},5918:(e,t,r)=>{r.d(t,{Z:()=>b,t:()=>m});var n=r(9748),o=r(5697),i=r.n(o),a=r(8311);function c(e){return c="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},c(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=l(e);if(t){var o=l(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}(this,r)}}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function _(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===c(t)?t:String(t)}var h=function(){return"undefined"!==typeof window.videowiseShadow},y=function(){return null!==document.getElementById("videowise-style-css")},w=function(e){return!0===h()||!0===y()&&!0===e},m=function(){var e;return!0===h()&&null!==(e=window.videowiseShadow.mode)&&void 0!==e?e:"closed"},v="undefined"!==typeof window&&window.ShadowRoot&&window.ShadowRoot.prototype.hasOwnProperty("adoptedStyleSheets")&&window.CSSStyleSheet&&window.CSSStyleSheet.prototype.hasOwnProperty("replace"),g="undefined"!==typeof window&&window.Element&&window.Element.prototype.hasOwnProperty("attachShadow"),b=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(c,e);var t,r,o,i=d(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),_(p(t=i.call(this,e)),"state",{initialized:!1}),t.placeholder=n.default.createRef(),t}return t=c,(r=[{key:"componentDidMount",value:function(){if(!1!==w(this.props.useShadowDom)){var e=this.props,t=e.delegatesFocus,r=e.mode,n=e.stylesheets;this.shadowRoot=this.placeholder.current.parentNode.attachShadow({delegatesFocus:t,mode:r}),window.currentShadow=this.shadowRoot,"undefined"===typeof window.videowiseShadowRoots&&(window.videowiseShadowRoots={}),window.videowiseShadowRoots[this.props.widgetId]=this.shadowRoot,this.placeholder.current.parentNode.style.display="block";var o='\n      <style type="text/css">\n        #vw-modal-root {\n          height: 100%;\n        }\n        #vw-modal-root .vw-cmp__modal--content {\n          height: 100%;\n        }\n        #vw-modal-root .vw-cmp__modal--content .vw-cmp__keen-root {\n          height: 100%;\n        }\n        #vw-modal-root .vw-cmp__modal--content .vw-cmp__keen-root .vw-cmp__keen-player-slider {\n          height: 100%;\n        }\n        #vw-modal-root .vw-cmp__modal--content .vw-cmp__keen-root .vw-cmp__keen-player-slider .vw-cmp__keen-player-slide {\n          height: 100%;\n        }\n        #vw-modal-root .vw-cmp__modal--content .vw-cmp__keen-root .vw-cmp__keen-player-slider .vw-cmp__keen-player-slide .vw-cmp__player--video-container {\n          height: 100%;\n        }\n        #vw-modal-root .vw-cmp__modal--content .vw-cmp__keen-root .vw-cmp__keen-player-slider .vw-cmp__keen-player-slide .vw-cmp__player--video-container .vw-cmp__player--video-container-embed {\n          height: 100%;\n        }\n        #vw-modal-root .vw-cmp__modal--content .vw-cmp__keen-root .vw-cmp__keen-player-slider .vw-cmp__keen-player-slide .vw-cmp__player--video-container .vw-cmp__player--video-container-embed .vw-cmp__player--video {\n          height: 100%;\n        }\n      </style>\n    ',i="";(function(){if(!0===y()){var e=[{type:"style",src:document.getElementById("videowise-style-css").href}];return!0===h()&&window.videowiseShadow.assets.forEach((function(t){t.src!==e[0].src&&e.push(t)})),e}return!0===h()?window.videowiseShadow.assets:[]})().forEach((function(e){"script"===e.type?i+='<script src="'.concat(e.src,'"><\/script>'):"style"===e.type&&(o+='<link rel="stylesheet" href="'.concat(e.src,'" />'))})),this.shadowRoot.innerHTML="".concat(i," ").concat(o),n&&(this.shadowRoot.adoptedStyleSheets=n),this.setState({initialized:!0})}}},{key:"render",value:function(){return!1===w(this.props.useShadowDom)?this.props.children:this.state.initialized?n.default.createPortal(this.props.children,this.shadowRoot):this.props.declarative?(0,a.tZ)("template",{ref:this.placeholder,shadowroot:this.props.mode,children:this.props.children}):(0,a.tZ)("span",{ref:this.placeholder})}}])&&s(t.prototype,r),o&&s(t,o),Object.defineProperty(t,"prototype",{writable:!1}),c}(n.default.PureComponent);_(b,"constructableStylesheetsSupported",v),_(b,"constructibleStylesheetsSupported",v),_(b,"defaultProps",{declarative:!1,delegatesFocus:!1,mode:"open",useShadowDom:!1,widgetId:null}),_(b,"displayName","ShadowRoot"),_(b,"propTypes",{declarative:i().bool,delegatesFocus:i().bool,mode:i().oneOf(["open","closed"]),stylesheets:i().arrayOf("undefined"!==typeof window?i().instanceOf(window.CSSStyleSheet):i().any),useShadowDom:i().bool,widgetId:i().oneOf([null,i().string])}),_(b,"shadowRootSupported",g)},3523:(e,t,r)=>{r.d(t,{Nk:()=>y,jW:()=>n.jW,LR:()=>f,fD:()=>o,X_:()=>u,Iu:()=>p,a_:()=>w,cl:()=>d,I$:()=>m,X8:()=>s,Zy:()=>h,wy:()=>_,Cv:()=>l,I0:()=>a,l9:()=>c});var n=r(8292),o={ADD_TO_CART:"VideowiseProductAddToCart",BUY_NOW:"VideowiseProductBuyNow",VIDEO_PRODUCT_CLICK:"VideowiseProductClick",VIDEO_CLICK:"VideowiseVideoClick",VIDEO_START:"VideowiseVideoStart",VIDEO_IS_PLAYING:"videowiseVideoIsPlaying",VIDEO_FULL:"VideowiseVideoFull",VIDEO_SWIPE:"VideowiseVideoSwipe",VIDEO_CLOSE:"VideowisePlayerClose",VIDEO_SOUND_ON:"VideowiseVideoSoundOn",VIDEO_SOUND_OFF:"VideowiseVideoSoundOff",VIDEO_BOUNCE:"VideowiseVideoBounce"},i="reeview",a=("".concat(i,"_hide_widget"),"".concat(i,"_widget_context"),{Inline:"Inline",Floating:"Floating",Story:"Story",Background:"Background",Product:"Product"}),c={Product:"Product",Independent:"Independent"},s={Interest:"interest",Cart:"cart",View:"view",Video:"video",Click:"click",Close:"close",Order:"order",EngagementTime:"engagementtime",VideoWatch:"videowatch",Swipe:"swipe",Interaction:"interaction"},u={xsSmall:375,smSmall:576,ExtraSmall:767,Small:991,Medium:1024,Large:1280,ExtraLarge:1440},d={YOUTUBE:"youtube_video",INSTAGRAM:"instagram_video",CUSTOM:"custom"},p={SINGLE:"single",GALLERY:"gallery",CAROUSEL:"carousel",PORTRAIT_CAROUSEL:"portraitcarousel",LANDSCAPE_CAROUSEL:"landscapecarousel",CENTER_PIECE_CAROUSEL:"carouselcenterpiece",SHOPPABLE_CAROUSEL:"carouselshoppable"},l={DESKTOP:"DESKTOP",MOBILE:"MOBILE"},_={icon:"ICON_BUTTON",text:"TEXT_BUTTON"},f={PRODUCT:"PRODUCT",LINK:"LINK"},h={STORE_LOGO:"STORE_LOGO",NO_LOGO:"NO_LOGO",VIDEOWISE_LOGO:"VIDEOWISE_LOGO"},y={DIRECT_TO_CHECKOUT:"DIRECT_TO_CHECKOUT",DIRECT_TO_CART:"DIRECT_TO_CART",ADD_TO_CART:"ADD_TO_CART",DIRECT_TO_CART_CUSTOM:"DIRECT_TO_CART_CUSTOM",DIRECT_TO_CART_REDIRECT:"DIRECT_TO_CART_REDIRECT",CUSTOM_URL:"CUSTOM_URL"},w={USE_INVENTORY:"USE_INVENTORY",IGNORE_INVENTORY:"IGNORE_INVENTORY"},m={ONE_TIME:"onetime",SUBSCRIBE:"subscribe"}},8292:(e,t,r)=>{r.d(t,{jW:()=>n});"@media (max-width: ".concat(375,"px)"),"@media (min-width: ".concat(375,"px)"),"@media (min-width: ".concat(567,"px)"),"@media (max-width: ".concat(415,"px)"),"@media (min-width: ".concat(415,"px)"),"@media (max-width: ".concat(567,"px)"),"@media (max-width: ".concat(767,"px)"),"@media (max-width: ".concat(768,"px)"),"@media (min-width: ".concat(768,"px)"),"@media (min-width: ".concat(1024,"px)"),"@media (max-width: ".concat(1023,"px)"),"@media (max-width: ".concat(1198,"px)"),"@media (min-width: ".concat(1199,"px)"),"@media (min-width: ".concat(416,"px)"),"@media (min-width: ".concat(1281,"px)"),"@media (min-width: ".concat(1441,"px)");var n="vw"},802:(e,t,r)=>{function n(){var e=new URLSearchParams(window.location.search);return new Proxy(e,{get:function(e,t){return e.get(t)}})}r.d(t,{K:()=>n})},7835:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{a:()=>renderAllWidgets,y:()=>renderWidgets});var _renderWidget__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(6052),_components_Product_widgetPDP__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(8199),_core_data_access_proxy__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(3907);function _typeof(e){return _typeof="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},_typeof(e)}function _regeneratorRuntime(){_regeneratorRuntime=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(P){s=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof l?t:l,a=Object.create(i.prototype),c=new O(o||[]);return n(a,"_invoke",{value:b(e,r,c)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(P){return{type:"throw",arg:P}}}e.wrap=u;var p={};function l(){}function _(){}function f(){}var h={};s(h,i,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(I([])));w&&w!==t&&r.call(w,i)&&(h=w);var m=f.prototype=l.prototype=Object.create(h);function v(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function g(e,t){function o(n,i,a,c){var s=d(e[n],e,i);if("throw"!==s.type){var u=s.arg,p=u.value;return p&&"object"==_typeof(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,a,c)}),(function(e){o("throw",e,a,c)})):t.resolve(p).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,c)}))}c(s.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function b(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return T()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=d(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=d(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function I(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:T}}function T(){return{value:void 0,done:!0}}return _.prototype=f,n(m,"constructor",{value:f,configurable:!0}),n(f,"constructor",{value:_,configurable:!0}),_.displayName=s(f,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,s(e,c,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},v(g.prototype),s(g.prototype,a,(function(){return this})),e.AsyncIterator=g,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new g(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},v(m),s(m,c,"Generator"),s(m,i,(function(){return this})),s(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=I,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:I(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function asyncGeneratorStep(e,t,r,n,o,i,a){try{var c=e[i](a),s=c.value}catch(u){return void r(u)}c.done?t(s):Promise.resolve(s).then(n,o)}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){asyncGeneratorStep(i,n,o,a,c,"next",e)}function c(e){asyncGeneratorStep(i,n,o,a,c,"throw",e)}a(void 0)}))}}function renderAllWidgets(e){return _renderAllWidgets.apply(this,arguments)}function _renderAllWidgets(){return(_renderAllWidgets=_asyncToGenerator(_regeneratorRuntime().mark((function e(t){var r,n,o;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,_components_Product_widgetPDP__WEBPACK_IMPORTED_MODULE_1__.ZP)();case 2:if(t&&t.widgets){e.next=4;break}return e.abrupt("return");case 4:if((null===(r=t.widgets)||void 0===r?void 0:r.length)>0)for(n=0;n<t.widgets.length;n++)o={showBadge:t.showBadge,logoUrl:t.storeLogoUrl,inventorySetting:t.inventorySetting,organisationId:t.organisationId,siteId:t.siteId},renderWidgets(t.widgets[n],t.page,!0,o,t.useShadowDom).then((function(){checkCart()})).catch((function(e){return console.log("An error occur during widget rendering. ",e)}));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function renderWidgets(e,t,r,n,o){return _renderWidgets.apply(this,arguments)}function _renderWidgets(){return(_renderWidgets=_asyncToGenerator(_regeneratorRuntime().mark((function e(t,r,n,o,i){var a,c,s,u,d;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((a=t.videos)&&0!==a.length&&t){e.next=3;break}return e.abrupt("return");case 3:if(c={trackingId:null===r||void 0===r?void 0:r.id,widgetId:t.id,videoType:"",widgetType:t.type,siteId:o.siteId,organisationId:o.organisationId,campaignId:"undefined"!==typeof window.CAMPAIGN_DATA?window.CAMPAIGN_DATA.id:null,event_source:"undefined"!==typeof window.videowiseTapcart?"TAPCART":"SHOP"},!a.length){e.next=10;break}if(s=[],"Background"===t.displayType&&null!==(u=document.getElementById("reeview-app-widget_".concat(t.id)))&&null!==u.children)for(d=0;d<u.children.length;d++)s.push(u.children[d]);return(0,_core_data_access_proxy__WEBPACK_IMPORTED_MODULE_2__.ZP)().isProductPage()||"Product"!==t.displayType||t.skins[0].showInCollection||document.querySelectorAll("#reeview-app-widget_".concat(t.id)).forEach((function(e){e.remove()})),e.next=10,(0,_renderWidget__WEBPACK_IMPORTED_MODULE_0__.ZP)({widget:t,page:r,trackingContext:c,settings:o,previousChildren:s,useShadowDom:i});case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var checkCart=function checkCart(){if(sessionStorage.getItem("openCart")){var jsData=window.atob(sessionStorage.getItem("openCart"));eval(jsData),sessionStorage.removeItem("openCart")}}},9782:(e,t,r)=>{r.d(t,{Av:()=>S,FB:()=>h,Fn:()=>l,Gk:()=>E,Jh:()=>I,Xy:()=>y,a:()=>b,c$:()=>f,c6:()=>p,cI:()=>C,hf:()=>m,mj:()=>_,mr:()=>O,oo:()=>v,vT:()=>g,xT:()=>T,xb:()=>w});var n=r(3907),o=r(4627),i=r(3523);function a(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e){return s="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},s(e)}function u(){u=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function d(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(A){d=function(e,t,r){return e[t]=r}}function p(e,t,r,o){var i=t&&t.prototype instanceof f?t:f,a=Object.create(i.prototype),c=new T(o||[]);return n(a,"_invoke",{value:E(e,r,c)}),a}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(A){return{type:"throw",arg:A}}}e.wrap=p;var _={};function f(){}function h(){}function y(){}var w={};d(w,i,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(P([])));v&&v!==t&&r.call(v,i)&&(w=v);var g=y.prototype=f.prototype=Object.create(w);function b(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function o(n,i,a,c){var u=l(e[n],e,i);if("throw"!==u.type){var d=u.arg,p=d.value;return p&&"object"==s(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,a,c)}),(function(e){o("throw",e,a,c)})):t.resolve(p).then((function(e){d.value=e,a(d)}),(function(e){return o("throw",e,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function E(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=C(a,r);if(c){if(c===_)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===_)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function C(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),_;var o=l(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,_;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,_):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,_)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:L}}function L(){return{value:void 0,done:!0}}return h.prototype=y,n(g,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:h,configurable:!0}),h.displayName=d(y,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,d(e,c,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},b(S.prototype),d(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(p(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(g),d(g,c,"Generator"),d(g,i,(function(){return this})),d(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=P,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(I),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,_):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),_}},e}function d(e,t,r,n,o,i,a){try{var c=e[i](a),s=c.value}catch(u){return void r(u)}c.done?t(s):Promise.resolve(s).then(n,o)}var p=function(e,t,r){var n=t||{},i=n.title,a=n.featured_image,c=n.options,s=n.variants,u=n.id,d=n.images,p=n.description,l=n.tag,_=n.productReviews,f=n.selling_plan_groups,h=n.variantId,y=n.quantity,w=n.excludedVariants,m=h?s.find((function(e){return e.id===Number(h)})):s[0],v=y||1,g="0";"undefined"!==typeof m&&(g=isNaN(parseInt(m.compare_at_price))?void 0:m.compare_at_price),e({type:o.a.ADD_PRODUCT,payload:{product:{id:u,available:"undefined"!==typeof m?m.available:t.available,title:i,image:a,options:c,variants:s,price:"undefined"!==typeof m?m.price:t.price,oldPrice:g,selectedId:"undefined"!==typeof m?m.id:t.id,handle:r,images:d,description:p,tag:l,productReviews:_,selling_plan_groups:f,variantId:h,excludedVariants:w,quantity:v}}})},l=function(){var e,t=(e=u().mark((function e(t){var r,i,a,c,s,d,l,_,f,h;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=(r=t||{}).handle,a=r.dispatch,c=r.tag,s=r.variantId,d=r.shoppableCtx,l=r.productReviews,_=r.excludedVariants,!d.viewedProducts.filter((function(e){return e.handle===i})).length){e.next=9;break}a({type:o.a.HIDE_SHOPPABLE_LIST}),a({type:o.a.TOGGLE_PANEL,payload:{visible:!0}}),a({type:o.a.TOGGLE_PANEL_HEADER,payload:{showHeader:!0}}),f=d.viewedProducts.filter((function(e){return e.handle===i}))[0],p(a,f,i),e.next=25;break;case 9:return e.next=11,(0,n.ZP)().getProductByHandle(i,_,void 0);case 11:if(h=e.sent){e.next=17;break}return a({type:o.a.ERROR_ON_PRODUCT,payload:{errorOnProduct:!0}}),setTimeout((function(){a({type:o.a.ERROR_ON_PRODUCT,payload:{errorOnProduct:!1}})}),1e3),console.error("This item is not available anymore"),e.abrupt("return");case 17:a({type:o.a.HIDE_SHOPPABLE_LIST}),a({type:o.a.TOGGLE_PANEL,payload:{visible:!0}}),a({type:o.a.TOGGLE_PANEL_HEADER,payload:{showHeader:!0}}),a({type:o.a.TOGGLE_SHOPPABLE_LOADING,payload:{loading:!0}}),c&&(h.tag=c),l&&(h.productReviews=l),s&&(h.variantId=s),h&&(p(a,h,i),a({type:o.a.TOGGLE_SHOPPABLE_LOADING,payload:{loading:!1}}));case 25:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){d(i,n,o,a,c,"next",e)}function c(e){d(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),_=function(e){var t="https://reeview-videos.s3.us-east-2.amazonaws.com";return-1===(null===e||void 0===e?void 0:e.indexOf(t))?e:null===e||void 0===e?void 0:e.replace(t,"https://cdn2.videowise.com")},f=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(e){return e.type===i.LR.PRODUCT})).length>0},h=function(e){var t="0123456789abcdef";function r(e){var r,n="";for(r=0;r<=3;r++)n+=t.charAt(e>>8*r+4&15)+t.charAt(e>>8*r&15);return n}function n(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function o(e,t,r,o,i,a){return n(function(e,t){return e<<t|e>>>32-t}(n(n(t,e),n(o,a)),i),r)}function i(e,t,r,n,i,a,c){return o(t&r|~t&n,e,t,i,a,c)}function a(e,t,r,n,i,a,c){return o(t&n|r&~n,e,t,i,a,c)}function c(e,t,r,n,i,a,c){return o(t^r^n,e,t,i,a,c)}function s(e,t,r,n,i,a,c){return o(r^(t|~n),e,t,i,a,c)}var u,d,p,l,_,f=function(e){var t,r=1+(e.length+8>>6),n=new Array(16*r);for(t=0;t<16*r;t++)n[t]=0;for(t=0;t<e.length;t++)n[t>>2]|=e.charCodeAt(t)<<t%4*8;return n[t>>2]|=128<<t%4*8,n[16*r-2]=8*e.length,n}(e),h=1732584193,y=-271733879,w=-1732584194,m=271733878;for(u=0;u<f.length;u+=16)d=h,p=y,l=w,_=m,h=i(h,y,w,m,f[u+0],7,-680876936),m=i(m,h,y,w,f[u+1],12,-389564586),w=i(w,m,h,y,f[u+2],17,606105819),y=i(y,w,m,h,f[u+3],22,-1044525330),h=i(h,y,w,m,f[u+4],7,-176418897),m=i(m,h,y,w,f[u+5],12,1200080426),w=i(w,m,h,y,f[u+6],17,-1473231341),y=i(y,w,m,h,f[u+7],22,-45705983),h=i(h,y,w,m,f[u+8],7,1770035416),m=i(m,h,y,w,f[u+9],12,-1958414417),w=i(w,m,h,y,f[u+10],17,-42063),y=i(y,w,m,h,f[u+11],22,-1990404162),h=i(h,y,w,m,f[u+12],7,1804603682),m=i(m,h,y,w,f[u+13],12,-40341101),w=i(w,m,h,y,f[u+14],17,-1502002290),h=a(h,y=i(y,w,m,h,f[u+15],22,1236535329),w,m,f[u+1],5,-165796510),m=a(m,h,y,w,f[u+6],9,-1069501632),w=a(w,m,h,y,f[u+11],14,643717713),y=a(y,w,m,h,f[u+0],20,-373897302),h=a(h,y,w,m,f[u+5],5,-701558691),m=a(m,h,y,w,f[u+10],9,38016083),w=a(w,m,h,y,f[u+15],14,-660478335),y=a(y,w,m,h,f[u+4],20,-405537848),h=a(h,y,w,m,f[u+9],5,568446438),m=a(m,h,y,w,f[u+14],9,-1019803690),w=a(w,m,h,y,f[u+3],14,-187363961),y=a(y,w,m,h,f[u+8],20,1163531501),h=a(h,y,w,m,f[u+13],5,-1444681467),m=a(m,h,y,w,f[u+2],9,-51403784),w=a(w,m,h,y,f[u+7],14,1735328473),h=c(h,y=a(y,w,m,h,f[u+12],20,-1926607734),w,m,f[u+5],4,-378558),m=c(m,h,y,w,f[u+8],11,-2022574463),w=c(w,m,h,y,f[u+11],16,1839030562),y=c(y,w,m,h,f[u+14],23,-35309556),h=c(h,y,w,m,f[u+1],4,-1530992060),m=c(m,h,y,w,f[u+4],11,1272893353),w=c(w,m,h,y,f[u+7],16,-155497632),y=c(y,w,m,h,f[u+10],23,-1094730640),h=c(h,y,w,m,f[u+13],4,681279174),m=c(m,h,y,w,f[u+0],11,-358537222),w=c(w,m,h,y,f[u+3],16,-722521979),y=c(y,w,m,h,f[u+6],23,76029189),h=c(h,y,w,m,f[u+9],4,-640364487),m=c(m,h,y,w,f[u+12],11,-421815835),w=c(w,m,h,y,f[u+15],16,530742520),h=s(h,y=c(y,w,m,h,f[u+2],23,-995338651),w,m,f[u+0],6,-198630844),m=s(m,h,y,w,f[u+7],10,1126891415),w=s(w,m,h,y,f[u+14],15,-1416354905),y=s(y,w,m,h,f[u+5],21,-57434055),h=s(h,y,w,m,f[u+12],6,1700485571),m=s(m,h,y,w,f[u+3],10,-1894986606),w=s(w,m,h,y,f[u+10],15,-1051523),y=s(y,w,m,h,f[u+1],21,-2054922799),h=s(h,y,w,m,f[u+8],6,1873313359),m=s(m,h,y,w,f[u+15],10,-30611744),w=s(w,m,h,y,f[u+6],15,-1560198380),y=s(y,w,m,h,f[u+13],21,1309151649),h=s(h,y,w,m,f[u+4],6,-145523070),m=s(m,h,y,w,f[u+11],10,-1120210379),w=s(w,m,h,y,f[u+2],15,718787259),y=s(y,w,m,h,f[u+9],21,-343485551),h=n(h,d),y=n(y,p),w=n(w,l),m=n(m,_);return r(h)+r(y)+r(w)+r(m)},y=function e(t,r){function n(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}var o=n(t);return o===n(r)&&("array"===o?function(){if(t.length!==r.length)return!1;for(var n=0;n<t.length;n++)if(!e(t[n],r[n]))return!1;return!0}():"object"===o?function(){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&!e(t[n],r[n]))return!1;return!0}():"function"===o?t.toString()===r.toString():t===r)},w=function(e){return null==e||"object"===s(e)&&0===Object.keys(e).length||"string"===typeof e&&0===e.trim().length},m=function(e){return!!(e&&e.subtitles&&Object.keys(e.subtitles).length>0)},v=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:null},g=function(e){var t="".concat(e).split("");return t.splice(-2,0,","),t.join("")},b=function(e,t,r){return[].concat(a(e.slice(0,t)),[r],a(e.slice(t)))},S=function(e,t){if(!e.readyState){var r=t.substring(0,t.indexOf("&vsid")+1);r&&e.open("GET",r,!0)}},E=function(e){return e&&e.columns?e.columns:2},C=function(e){return!!(e||{}).muxPlaybackId},O=function(e){var t=Math.floor(e/3600),r=Math.floor(e%3600/60),n=Math.round(e%60);return[t,r>9?r:t?"0"+r:r||"0",n>9?n:"0"+n].filter(Boolean).join(":")},I=function(e){return String(e).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)},T=function(e){return/^\+(?:[0-9] ?){6,14}[0-9]$/.test(e)}},6052:(e,t,r)=>{r.d(t,{ZP:()=>b});r(813);var n=r(9748),o=r(9823),i=r(3523),a=r(5918),c=r(3216),s=r(802),u=r(8311);function d(e){return d="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},d(e)}function p(){p=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(A){s=function(e,t,r){return e[t]=r}}function u(e,t,r,o){var i=t&&t.prototype instanceof f?t:f,a=Object.create(i.prototype),c=new T(o||[]);return n(a,"_invoke",{value:E(e,r,c)}),a}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(A){return{type:"throw",arg:A}}}e.wrap=u;var _={};function f(){}function h(){}function y(){}var w={};s(w,i,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(P([])));v&&v!==t&&r.call(v,i)&&(w=v);var g=y.prototype=f.prototype=Object.create(w);function b(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function o(n,i,a,c){var s=l(e[n],e,i);if("throw"!==s.type){var u=s.arg,p=u.value;return p&&"object"==d(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){o("next",e,a,c)}),(function(e){o("throw",e,a,c)})):t.resolve(p).then((function(e){u.value=e,a(u)}),(function(e){return o("throw",e,a,c)}))}c(s.arg)}var i;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return i=i?i.then(n,n):n()}})}function E(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return L()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=C(a,r);if(c){if(c===_)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=l(e,t,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===_)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function C(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),_;var o=l(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,_;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,_):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,_)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:L}}function L(){return{value:void 0,done:!0}}return h.prototype=y,n(g,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:h,configurable:!0}),h.displayName=s(y,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,s(e,c,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},b(S.prototype),s(S.prototype,a,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(g),s(g,c,"Generator"),s(g,i,(function(){return this})),s(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=P,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(I),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,_):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),_}},e}function l(e,t,r,n,o,i,a){try{var c=e[i](a),s=c.value}catch(u){return void r(u)}c.done?t(s):Promise.resolve(s).then(n,o)}var _=(0,n.lazy)((function(){return r.e(2840).then(r.bind(r,2840))})),f="reeview-app-widget_",h=function(e){var t="".concat(f).concat(e.id);return(null===e||void 0===e?void 0:e.type)===i.l9.Product&&e.displayType===i.I0.Inline?window.document.getElementById(t)?t:"reeview-app__inline-widget":"".concat(f).concat(e.id)},y=function(e,t){if("undefined"!==typeof e)return e.find((function(e){return e.skinType===t}))},w=function(e){return e[0]};window.dispatchEvent(new Event("resize"));var m=function(){var e,t=(e=p().mark((function e(t){var r,d,l,f,m,b,S,E,C,O,I,T,P,L,A,k,x,N,R,D,j,G,$,q,H,U,B,F,V,M;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.widget,d=t.page,l=t.trackingContext,f=t.settings,b=(m=void 0===f?{}:f).showBadge,S=m.inventorySetting,E=m.logoUrl,C=t.previousChildren,O=t.useShadowDom,I=(0,s.K)()||{},T=I.widgetId,P=I.videoId,L=r.displayType,A=r.skins,k=r.videoPlayers,x=r.videos,N=h(r),R=(0,c.l7)(),D=w(k)||{},j=[i.I0.Story,i.I0.Inline,i.I0.Background,i.I0.Product].includes(L),G=r.displayType===i.I0.Product,$=y(A,G?"DESKTOP":R),q=!0!==G&&O,H=j?window.document.getElementById(N):v(N),j||window.document.body.appendChild(H),H){e.next=14;break}return e.abrupt("return");case 14:if(!g(N,"vw-root")){e.next=18;break}return console.log("VideoWise widget is already loaded!"),e.abrupt("return");case 18:if("DESKTOP"===R&&"undefined"!==typeof $&&"undefined"!==typeof $.style&&"undefined"!==typeof $.style.carouselType&&!0===["CarouselCenterPiece","CarouselShoppable"].includes(r.theme)&&(U=$.layout.columns-x.length+1)>0)for(B=0;B<U;B++)x.push(x[Math.floor(Math.random()*x.length)]);F={widget:r,widgetID:N,videos:x,containerElement:H,page:d,trackingContext:l,showBadge:b,storeLogo:E,inventorySetting:S,hashParams:{widgetId:T,videoId:P},previousChildren:C,currentSlideForQuizInteraction:0,currentVideoType:"",useShadowDom:O},V={deviceType:R,player:D,skin:$},M=function(e){(0,o.so)(e).render((0,u.tZ)(a.Z,{mode:(0,a.t)(),useShadowDom:q,widgetId:r.id,children:(0,u.tZ)(n.Suspense,{fallback:(0,u.tZ)(u.HY,{}),children:(0,u.tZ)(_,{initialState:F,theme:V})})}))},G?document.querySelectorAll(".".concat(N)).forEach((function(e){M(e)})):M(H);case 23:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){l(i,n,o,a,c,"next",e)}function c(e){l(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),v=function(e){var t=window.document.createElement("div");return t.setAttribute("id",e),t},g=function(e,t){var r=window.document.getElementById(t),n=r?r.parentNode:{};return!(null===n||void 0===n||!n.id||(null===n||void 0===n?void 0:n.id)!==e)};const b=m},7694:(e,t,r)=>{r.d(t,{Yi:()=>d,j:()=>u});var n=r(2516),o=r(3216);function i(e){return i="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},i(e)}function a(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 c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e){(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return fetch("".concat("https://api.videowise.com","/tracking/").concat(e),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c(c({},t),{},{uid:(0,n.Z)(),deviceType:(0,o.l7)()}))})})(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).then((function(){})).catch((function(e){return console.log("Tracking error: ",e)}))},d=function(e){var t=(new Date).getTime();return Math.round((t-e)/1e3)}},3216:(e,t,r)=>{r.d(t,{al:()=>s,l7:()=>a,rW:()=>c});var n=r(3523);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],s=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(d){u=!0,o=d}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=function(){return window.screen.width>767?n.Cv.DESKTOP:n.Cv.MOBILE},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=o(e.match(/\w\w/g).map((function(e){return parseInt(e,16)})),3),n=r[0],i=r[1],a=r[2];return"rgba(".concat(n,",").concat(i,",").concat(a,",").concat(t,")")},s=function(){var e={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"},t=document.body.style;for(var r in e)if(void 0!==t[r])return e[r]}},4627:(e,t,r)=>{function n(e){return n="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},n(e)}function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function a(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 c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===n(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{a:()=>u,l:()=>d});var u={ADD_PRODUCT:"add_product",GET_CART:"get_cart",SET_CART:"set_cart",UPDATE_PRODUCT:"update_product",HIDE_PANEL:"hide_panel",TOGGLE_PANEL:"toggle_panel",SHOW_MORE:"show_more",SHOW_MORE_SHARE:"show_more_share",HIDE_MORE:"hide_more",HIDE_MORE_SHARE:"hide_more_share",ADD_TO_CART:"add_to_cart",TOGGLE_SOUND:"toggle_sound",SHOW_SHOPPABLE_LIST:"show_shoppable_list",HIDE_SHOPPABLE_LIST:"hide_shoppable_list",SET_SHOPPABLE_LIST:"set_shoppable_list",TOGGLE_PANEL_HEADER:"toggle_panel_header",SET_IS_LOADING_IN_PROGRESS:"set_is_loading_in_progress",TOGGLE_SHOPPABLE_LOADING:"toggle_shoppable_loading",ADD_SUBSCRIPTION:"add_subscription",ERROR_ON_PRODUCT:"error_on_product",TOGGLE_PANEL_INTERACTION:"toggle_panel_interaction",VIDEO_CARD_MUTED:"video_card_muted"},d=function(e,t){switch(t.type){case u.GET_CART:return c(c({},e),{},{cart:c(c({},e.cart),t.payload.cart)});case u.ADD_PRODUCT:case u.UPDATE_PRODUCT:return e.viewedProducts.filter((function(e){return e.id==t.payload.product.id})).length?c(c({},e),{},{product:c(c({},e.product),t.payload.product)}):c(c({},e),{},{product:c(c({},e.product),t.payload.product),viewedProducts:[].concat(o(e.viewedProducts),[t.payload.product])});case u.HIDE_PANEL:return c(c({},e),{},{product:null,isVisible:!1});case u.TOGGLE_PANEL:case u.TOGGLE_PANEL_INTERACTION:return c(c({},e),{},{isVisible:t.payload.visible});case u.SHOW_MORE:return c(c({},e),{},{isVisible:!0,showMore:!0});case u.SHOW_MORE_SHARE:return c(c({},e),{},{showShare:!0});case u.HIDE_MORE:return c(c({},e),{},{isVisible:!1,showMore:!1});case u.HIDE_MORE_SHARE:return c(c({},e),{},{showShare:!1});case u.TOGGLE_SOUND:return c(c({},e),{},{muted:t.payload.muted});case u.SHOW_SHOPPABLE_LIST:return c(c({},e),{},{toggleShoppableList:!0,isVisible:!0});case u.HIDE_SHOPPABLE_LIST:return c(c({},e),{},{toggleShoppableList:!1,isVisible:!1});case u.SET_SHOPPABLE_LIST:return c(c({},e),{},{shoppableList:t.payload.shoppableList});case u.TOGGLE_PANEL_HEADER:return c(c({},e),{},{showHeader:t.payload.showHeader});case u.SET_IS_LOADING_IN_PROGRESS:return c(c({},e),{},{isLoadingInProgress:t.payload.isLoadingInProgress});case u.TOGGLE_SHOPPABLE_LOADING:return c(c({},e),{},{isShoppableLoading:t.payload.loading});case u.ADD_SUBSCRIPTION:return c(c({},e),{},{subscriptionId:t.payload.subscriptionId});case u.ERROR_ON_PRODUCT:return c(c({},e),{},{errorOnProduct:t.payload.errorOnProduct});case u.VIDEO_CARD_MUTED:return c(c({},e),{},{videoCardMuted:t.payload.videoCardMuted});default:return e}}},813:(e,t,r)=>{var n=r(4783)(e.id,{locals:!1});e.hot.dispose(n),e.hot.accept(void 0,n)},2025:(e,t,r)=>{r.d(t,{aM:()=>p,dv:()=>m,rr:()=>c,$h:()=>f,fh:()=>s,iP:()=>y,qB:()=>w,zq:()=>u,wi:()=>h,nv:()=>_,oo:()=>l,R4:()=>d});var n=r(2516);const o=e=>{window.VIDEOWISE_SUPPORT_H265=!1;let t="";for(let r=0;r<e.length;r++)for(let n=0;n<e[r].videos.length;n++){const o=e[r].videos[n],i=o?.meta?.convertedH265?.videoUrl;if("undefined"!==typeof i){t=i;break}}if(""!==t){const e=document.createElement("video");e.src=t,e.addEventListener("loadedmetadata",(e=>{e.target.videoHeight>0&&(window.VIDEOWISE_SUPPORT_H265=!0)}),!1)}return window.VIDEOWISE_SUPPORT_H265};window.consolAdv=!1;const i=e=>{if(e?.data?.errorMessage)return void console.log(e?.data?.errorMessage);o(e.data.widgets);return window.consolAdv||(window.consolAdv=!0,(()=>{let e="\n";e+="\ud83d\ude80\xa0Increase shooper engagement on-site\n",e+="\ud83d\ude80\xa0Increase conversions\n",e+="\u26a1\ufe0f Zero page-speed impact\n",e+="\n",e+="Learn more at:\xa0https://videowise.com\n\n",console.group("%cInteractive & Shoppable Video powered by Videowise.","display: inline-block; font-size: 14px; background: #3CFECF; color: #121212; padding: 4px;"),console.log("%c\n\ud83d\ude80\xa0Increase shooper engagement on-site\n\ud83d\ude80\xa0Increase conversions\n\u26a1\ufe0f Zero page-speed impact\n\nLearn more at:\xa0https://videowise.com\n\n%cBuild: 577","font-style: normal;","background: rgba(135,131,120,0.15); color: #EB5757; border-radius: 3px; font-size: 80%; padding: 0.1em 0.2em;"),console.groupEnd()})()),e?.data},a="https://api.videowise.com",c=async e=>{const t=await fetch(`${a}/widget/independent?shop=${e.shop}&url=${e.url}&uid=${(0,n.Z)()}`,{headers:{"Content-type":"application/json"}});return i({data:await t.json()})},s=async e=>{const t=await fetch(`${a}/widget/product?shop=${e.shop}&productId=${e.productId}&uid=${(0,n.Z)()}`,{headers:{"Content-type":"application/json"}});return i({data:await t.json()})},u=async e=>{const t=await fetch(`${a}/external-ugc/ugcForm?shop=${e.shop}`,{headers:{"Content-type":"application/json"}});return await t.json()},d=async e=>(await fetch(`${a}/external-ugc/videoUpload?shop=${e.shop}`,{method:"POST",body:e.formData})).status,p=async e=>{if(!Array.isArray(e.widgetIds)||0===e.widgetIds.length||!e.widgetIds)return;const t=await fetch(`${a}/widget/bulk?shop=${e.shop}&widgets=${e.widgetIds.join()}&uid=${(0,n.Z)()}`);return i({data:await t.json()})},l=async(e,t)=>{const r=await fetch(`${a}/formData/${e}/vote/`,{method:"POST",headers:{"Content-type":"application/json"},body:JSON.stringify(t)});return{data:await r.json()}},_=async(e,t)=>await fetch(`${a}/formData/${e}/`,{method:"POST",headers:{"Content-type":"application/json"},body:JSON.stringify(t)}),f=async e=>{const t=await fetch(`https://${window?.Shopify?.domain}/products/${e}.js`,{headers:{"Content-type":"application/json"}});return{data:await t.json()}},h=async(e,t)=>await fetch(e,{method:"POST",headers:{"Content-type":"application/json"},body:JSON.stringify(t)}),y=async e=>await fetch(e,{method:"GET"}),w=async e=>{const t=await fetch(e,{headers:{"Content-type":"application/json"}});return{data:await t.json()}},m=async e=>{const t=await fetch(e,{headers:{"Content-type":"application/json"}});return{data:await t.json()}}},3907:(e,t,r)=>{r.d(t,{ZP:()=>A,fo:()=>L,h0:()=>P,Mg:()=>I,K0:()=>T});var n,o=r(1955),i=r(2025),a=r(9782),c=r(4627),s=r(7694),u=r(3523);class d{}n=d,d.initialization=async()=>{let{Shopify:e,__st:t}=window;if(!e)return;const r=document.querySelector("#videowise-css");if(r&&r.disabled&&r.removeAttribute("disabled"),window.videowise_use_handlers){const e=window.location.href;if(e.indexOf("/products/")>-1){const r=await fetch(`${e}.js`),n=await r.json();t.rid=n.id,t.p="product"}else t.p=""}n.isProductPage()?await T(e.shop,t.rid):(await I(e.shop),await P(e.shop,window.VideoWiseWidgetsIds))},d.urlHelper=e=>(!0===window.FORCE_DOMAIN?"https://"+window.Shopify?.shop:"")+e,d.postToCart=async(e,t,r,a,c)=>{let d={id:e,quantity:a};t&&(d.selling_plan=t);try{await(0,i.wi)(n.urlHelper("/cart/add.js"),d),(0,s.j)(u.X8.Cart,{shop:window.Shopify.shop,productRefId:r||window.__st.rid,shopableVideo:!0,cartId:o.Z.get("cart"),...c})}catch(p){console.error("Add to cart error: ",p)}},d.isProductPage=()=>window.__st&&"product"===window.__st.p&&null!==window.__st.rid,d.getProductByHandle=async(e,t,r,o)=>{try{const c=await(0,i.iP)(n.urlHelper(`/products/${e}.js`)),s=await c.json(),u=s.variants.filter((e=>0!=e?.price)).map((e=>({...e,compare_at_price:(0,a.vT)(e.compare_at_price),price:(0,a.vT)(e.price)})));if("undefined"!==typeof r)for(let e=0;e<u.length;e++)u[e].id===parseInt(r)&&(s.price=u[e].price);let d,p=u;if(t?.length){const e=t.map((e=>Number(e)));if(d=u.filter((t=>e.includes(t.id))),1===s.options.length){const e=d.map((e=>e.option1));s.options[0].values=s.options[0].values.filter((t=>!e.includes(t)))}p=u.filter((e=>!d.some((t=>e.id===t.id))))}return{...s,compare_at_price:(0,a.vT)(s.compare_at_price),compare_at_price_max:(0,a.vT)(s.compare_at_price_max),compare_at_price_min:(0,a.vT)(s.compare_at_price_min),price:(0,a.vT)(s.price),price_max:(0,a.vT)(s.price_max),price_min:(0,a.vT)(s.price_min),variants:p,quantity:o,excludedVariants:d?.length?d:[]}}catch(c){return!1}},d.getStoreCart=async()=>{try{const{data:e}=await(0,i.dv)(n.urlHelper("/cart.json"));return e}catch(e){return console.error("Shopify cart error: ",e),null}},d.getRecommendedProductsById=async e=>{try{const{data:t}=await(0,i.qB)(n.urlHelper(`/recommendations/products.json?product_id=${e}`));return t}catch(t){return console.error("Shopify recommended products error: ",t),null}},d.setCommercials=async(e,t,r,o)=>{const i=e[t]?.commercials;if(i&&i.length)for(const a in i){const e=i[a];if("PRODUCT"===e.type&&!e.hasOwnProperty("compare_at_price"))try{const t=await n.getProductByHandle(e?.handle,e?.excludedVariants,e?.variantId,e?.quantity);!1===t&&i.splice(a,1);const r="undefined"!==typeof e.variantId?t.variants.find((t=>t.id===Number(e.variantId))):t.variants[0];e.compare_at_price=isNaN(parseInt(t.compare_at_price))?void 0:t.compare_at_price,e.compare_at_price_max=isNaN(parseInt(t.compare_at_price_max))?void 0:t.compare_at_price_max,e.compare_at_price_min=isNaN(parseInt(t.compare_at_price_min))?void 0:t.compare_at_price_min,e.price=isNaN(parseInt(t.price))?void 0:t.price,e.price_max=isNaN(parseInt(t.price_max))?void 0:t.price_max,e.price_min=isNaN(parseInt(t.price_min))?void 0:t.price_min,e.compareAtPrice=!1===isNaN(parseInt(r.compare_at_price))?r.compare_at_price:void 0,e.previewImageSrc=t.featured_image}catch(p){return p}}const s=(0,a.c$)(i??[]);r({type:c.a.SET_SHOPPABLE_LIST,payload:{shoppableList:i}});const d=i.filter((e=>e.type===u.LR.PRODUCT))??[];d.length>1&&s?o||r({type:c.a.SHOW_SHOPPABLE_LIST}):1===d.length&&s?o||(r({type:c.a.HIDE_SHOPPABLE_LIST}),r({type:c.a.TOGGLE_PANEL_HEADER,payload:{showHeader:!1}}),r({type:c.a.TOGGLE_PANEL,payload:{visible:!0}})):(r({type:c.a.HIDE_SHOPPABLE_LIST}),r({type:c.a.TOGGLE_PANEL_HEADER,payload:{showHeader:!1}}))},d.redirectToCheckout=async(e,t,r,o,i,a)=>{e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!0}}),await n.postToCart(t,r,o,i,a),e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!1}}),window.location=`${window.location.origin}/checkout`},d.redirectToCart=async(e,t,r,o,i,a)=>{e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!0}}),await n.postToCart(t,r,o,i,a),e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!1}});const s=window.FORCE_DOMAIN?`/cart/add?items[][id]=${t}&items[][quantity]=${i}&return_to=/checkout`:`${window.location.origin}/cart`;window.location=n.urlHelper(s)},d.redirectToCartCustom=async(e,t,r,o,i,a,s)=>{e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!0}}),await n.postToCart(t,r,o,i,a),e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!1}}),sessionStorage.setItem("openCart",s),window.document.location.reload()},d.redirectToCustomURL=async(e,t,r,o,i,a,s)=>{e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!0}}),await n.postToCart(t,r,o,i,a),e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!1}}),window.location.replace(s)},d.handleAddToCart=async(e,t,r,o,i,a,s,u)=>{e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!0}}),await n.postToCart(t,r,o,i,a),e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!1}});try{const t=await n.getStoreCart();e({type:c.a.GET_CART,payload:{cart:t}})}catch(d){return d}},d.redirectToClientURL=e=>{window.location.replace(e)},d.getCurrency=()=>window.Shopify?.currency.active||"";const p=d;var l;class _{}l=_,_.initialization=async()=>{console.warn("SFCCClass.initialization();"),l.isProductPage()?await T(window.videowiseSFCC.host,window.videowiseSFCC.pid):(await I(window.videowiseSFCC.host),await P(window.videowiseSFCC.host,window.VideoWiseWidgetsIds))},_.urlHelper=e=>{console.warn(`SFCCClass.urlHelper(${e});`)},_.postToCart=async(e,t,r,n,a)=>{console.warn(`SFCCClass.postToCart(${e}, ${t}, ${r}, ${n}, ${a});`);const c=new FormData;c.append("pid",e),c.append("quantity",n);try{await(0,i.wi)(window.videowiseSFCC.addToCartURL,c),(0,s.j)(u.X8.Cart,{shop:window.videowiseSFCC.host,productRefId:r||window.videowiseSFCC.pid,shopableVideo:!0,cartId:o.Z.get("cart"),...a})}catch(d){console.error("Add to cart error: ",d)}},_.isProductPage=()=>window.videowiseSFCC&&window.videowiseSFCC.pid&&"null"!==window.videowiseSFCC.pid,_.getProductByHandle=async(e,t,r,n)=>{console.warn(`SFCCClass.getProductByHandle(${e}, ${t}, ${r});`);try{const n=await(0,i.iP)(`${window?.videowiseSFCC?.productDetailsURL}?pid=${e}`),o=await n.json(),a=o.data[0].variants.filter((e=>0!=e?.price)).map((e=>({...e,compare_at_price:e.compare_at_price.toString(),price:e.price.toString()})));if("undefined"!==typeof r)for(let e=0;e<a.length;e++)a[e].id===parseInt(r)&&(o.data[0].price=a[e].price);let c,s=a;if(t?.length){const e=t.map((e=>Number(e)));if(c=a.filter((t=>e.includes(t.id))),1===o.data[0].options.length){const e=c.map((e=>e.option1));o.data[0].options[0].values=o.data[0].options[0].values.filter((t=>!e.includes(t)))}s=a.filter((e=>!c.some((t=>e.id===t.id))))}return{...o.data[0],compare_at_price:o.data[0].compare_at_price.toString(),compare_at_price_max:"undefined"!==typeof o.data[0].compare_at_price_max?o.data[0].compare_at_price_max.toString():"0",compare_at_price_min:"undefined"!==typeof o.data[0].compare_at_price_min?o.data[0].compare_at_price_min.toString():"0",price:o.data[0].price.toString(),price_max:"undefined"!==typeof o.data[0].price_max?o.data[0].price_max.toString():"0",price_min:"undefined"!==typeof o.data[0].price_min?o.data[0].price_min.toString():"0",variants:s,excludedVariants:c?.length?c:[]}}catch(o){return!1}},_.getStoreCart=async()=>{console.warn("SFCCClass.getStoreCart();")},_.getRecommendedProductsById=async e=>{console.warn(`SFCCClass.getRecommendedProductsById(${e});`)},_.setCommercials=async(e,t,r,n)=>{console.warn(`SFCCClass.setCommercials(${e}, ${t}, ${r}, ${n});`);const o=e[t]?.commercials;if(o&&o.length)for(const a in o){const e=o[a];if("PRODUCT"===e.type&&!e.hasOwnProperty("compare_at_price"))try{const t=await l.getProductByHandle(e?.productRefId,e?.excludedVariants,e?.variantId,e?.quantity);!1===t&&o.splice(a,1);const r="undefined"!==typeof e.variantId?t.variants.find((t=>t.id===Number(e.variantId))):t.variants[0];e.compare_at_price=isNaN(parseInt(t.compare_at_price))?void 0:t.compare_at_price,e.compare_at_price_max=isNaN(parseInt(t.compare_at_price_max))?void 0:t.compare_at_price_max,e.compare_at_price_min=isNaN(parseInt(t.compare_at_price_min))?void 0:t.compare_at_price_min,e.price=isNaN(parseInt(t.price))?void 0:t.price,e.price_max=isNaN(parseInt(t.price_max))?void 0:t.price_max,e.price_min=isNaN(parseInt(t.price_min))?void 0:t.price_min,e.compareAtPrice=!1===isNaN(parseInt(r.compare_at_price))?r.compare_at_price:void 0,e.previewImageSrc=t.featured_image}catch(d){return!1}}const i=(0,a.c$)(o??[]);r({type:c.a.SET_SHOPPABLE_LIST,payload:{shoppableList:o}});const s=o.filter((e=>e.type===u.LR.PRODUCT))??[];s.length>1&&i?n||r({type:c.a.SHOW_SHOPPABLE_LIST}):1===s.length&&i?n||(r({type:c.a.HIDE_SHOPPABLE_LIST}),r({type:c.a.TOGGLE_PANEL_HEADER,payload:{showHeader:!1}}),r({type:c.a.TOGGLE_PANEL,payload:{visible:!0}})):(r({type:c.a.HIDE_SHOPPABLE_LIST}),r({type:c.a.TOGGLE_PANEL_HEADER,payload:{showHeader:!1}}))},_.redirectToCheckout=async(e,t,r,n,o,i)=>{console.warn(`SFCCClass.redirectToCheckout(${e}, ${t}, ${r}, ${n}, ${o}, ${i});`),e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!0}}),await l.postToCart(t,r,n,o,i),e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!1}}),window.location=window.videowiseSFCC.checkoutURL},_.redirectToCart=async(e,t,r,n,o,i)=>{console.warn(`SFCCClass.redirectToCart(${e}, ${t}, ${r}, ${n}, ${o}, ${i});`),e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!0}}),await l.postToCart(t,r,n,o,i),e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!1}}),window.location=window.videowiseSFCC.cartURL},_.redirectToCartCustom=async(e,t,r,n,o,i,a)=>{console.warn(`SFCCClass.redirectToCartCustom(${e}, ${t}, ${r}, ${n}, ${o}, ${i}, ${a});`),e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!0}}),await l.postToCart(t,r,n,o,i),e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!1}}),sessionStorage.setItem("openCart",a),window.document.location.reload()},_.redirectToCustomURL=async(e,t,r,n,o,i,a)=>{console.warn(`SFCCClass.redirectToCustomURL(${e}, ${t}, ${r}, ${n}, ${o}, ${i}, ${a});`),e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!0}}),await l.postToCart(t,r,n,o,i),e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!1}}),window.location.replace(a)},_.handleAddToCart=async(e,t,r,n,o,i,a,c)=>{console.warn(`SFCCClass.redirectToCart(${e}, ${t}, ${r}, ${n}, ${o}, ${i}, ${a}, ${c});`),await l.redirectToCart(e,t,r,n,o,i)},_.redirectToClientURL=e=>{console.warn(`SFCCClass.redirectToClientURL(${e});`),window.location.replace(e)},_.getCurrency=()=>(console.warn("SFCCClass.getCurrency();"),window.videowiseSFCC.currency);const f=_;var h,y=r(3216),w=r(7835);class m{}h=m,m.initialization=async()=>{console.warn("ShopifyCampaignsClass.initialization();");const e={showBadge:!1,logoUrl:null,inventorySetting:"USE_INVENTORY",organisationId:window.SITE_DATA.organisationId,siteId:window.SITE_DATA.siteId};await(0,w.y)(window.INITIAL_DATA.widget,window.SITE_DATA,!1,e,!1)},m.urlHelper=e=>(!0===window.FORCE_DOMAIN?"https://"+window.Shopify.shop:"")+e,m.postToCart=async(e,t,r,n,i,a)=>{if(console.warn(`ShopifyCampaignsClass.postToCart(${e}, ${t}, ${r}, ${n}, ${i});`),0===a.items.length)return;const c=new URLSearchParams(document.location.search),s=c.get("email"),u=c.get("medium");let d=null;if(a.selling_plan)d=new URL(`${window.SITE_DATA.url}/cart/add?items[][id]=${a.items[0].id}&items[][quantity]=${a.items[0].quantity}&items[][selling_plan]=${a.selling_plan}&return_to=/checkout`);else{let e="";for(let t=0;t<a.items.length;t++)e+=`${a.items[t].id}:${a.items[t].quantity}`;d=new URL(`${window.SITE_DATA.url}/cart/${e}`)}d.searchParams.set("attributes[videowise_uid]",o.Z.get("vw_marketing_landing_uid")),d.searchParams.set("attributes[videowise_campaign_id]",window.CAMPAIGN_DATA.id),d.searchParams.set("attributes[videowise_device_type]",(0,y.l7)()),s&&d.searchParams.set("attributes[videowise_email]",s),u&&d.searchParams.set("attributes[videowise_medium]",u),d.toString(),"iframe"===u?window.open(d):window.location=d},m.isProductPage=()=>{console.warn("ShopifyCampaignsClass.isProductPage();")},m.getProductByHandle=async(e,t,r,n)=>{console.warn(`ShopifyCampaignsClass.getProductByHandle(${e}, ${t}, ${r}, ${n});`);try{const n=window.INITIAL_PRODUCTS.find((t=>t.handle===e)),o=n.variants.filter((e=>0!=e?.price)).map((e=>({...e,compare_at_price:(0,a.vT)(e.compare_at_price??0),price:(0,a.vT)(e.price??0)})));if("undefined"!==typeof r)for(let e=0;e<o.length;e++)o[e].id===parseInt(r)&&(n.price=o[e].price);let i,c=o;if(t?.length){const e=t.map((e=>Number(e)));if(i=o.filter((t=>e.includes(t.id))),1===n.options.length){const e=i.map((e=>e.option1));n.options[0].values=n.options[0].values.filter((t=>!e.includes(t)))}c=o.filter((e=>!i.some((t=>e.id===t.id))))}return{...n,compare_at_price:(0,a.vT)(n.compare_at_price??0),compare_at_price_max:(0,a.vT)(n.compare_at_price_max??0),compare_at_price_min:(0,a.vT)(n.compare_at_price_min??0),price:(0,a.vT)(n.price??0),price_max:(0,a.vT)(n.price_max??0),price_min:(0,a.vT)(n.price_min??0),variants:c}}catch(o){return!1}},m.getStoreCart=async()=>{console.warn("ShopifyCampaignsClass.getStoreCart();")},m.getRecommendedProductsById=async e=>{console.warn(`ShopifyCampaignsClass.getRecommendedProductsById(${e});`);const t=window.INITIAL_PRODUCTS.find((t=>t.id===e));if("undefined"!==typeof t){let e=t.recommended??[];for(let t=0;t<e.length;t++)e[t].url=`${window.SITE_DATA.url}${e[t].url}`;return{products:e}}return{products:[]}},m.setCommercials=async(e,t,r,n)=>{console.warn(`ShopifyCampaignsClass.setCommercials(${e}, ${t}, ${r}, ${n});`);const o=e[t]?.products;if(o&&o.length)for(const a in o){const e=o[a];if("PRODUCT"===e.type&&!e.hasOwnProperty("compare_at_price"))try{const t=await h.getProductByHandle(e?.handle,e?.excludedVariants,e?.variantId,e?.quantity);if(!1===t)return;const r="undefined"!==typeof e.variantId?t.variants.find((t=>t.id===Number(e.variantId))):t.variants[0];e.compare_at_price=isNaN(parseInt(t.compare_at_price))?void 0:t.compare_at_price,e.compare_at_price_max=isNaN(parseInt(t.compare_at_price_max))?void 0:t.compare_at_price_max,e.compare_at_price_min=isNaN(parseInt(t.compare_at_price_min))?void 0:t.compare_at_price_min,e.price=isNaN(parseInt(t.price))?void 0:t.price,e.price_max=isNaN(parseInt(t.price_max))?void 0:t.price_max,e.price_min=isNaN(parseInt(t.price_min))?void 0:t.price_min,e.compareAtPrice=!1===isNaN(parseInt(r.compare_at_price))?r.compare_at_price:void 0,e.previewImageSrc=t.featured_image,!0===L()&&(e.name=t.title)}catch(s){return!1}}const i=(0,a.c$)(o??[]);r({type:c.a.SET_SHOPPABLE_LIST,payload:{shoppableList:o??[]}}),o?.length>1&&i?n||r({type:c.a.SHOW_SHOPPABLE_LIST}):1===o?.length&&i?n||(r({type:c.a.HIDE_SHOPPABLE_LIST}),r({type:c.a.TOGGLE_PANEL_HEADER,payload:{showHeader:!1}}),r({type:c.a.TOGGLE_PANEL,payload:{visible:!0}})):(r({type:c.a.HIDE_SHOPPABLE_LIST}),r({type:c.a.TOGGLE_PANEL_HEADER,payload:{showHeader:!1}}))},m.redirectToCheckout=async(e,t,r,n,o,i)=>{console.warn(`ShopifyCampaignsClass.redirectToCheckout(${e}, ${t}, ${r}, ${n}, ${o}, ${i});`),e({type:c.a.SET_IS_LOADING_IN_PROGRESS,payload:{isLoadingInProgress:!0}});const a={items:[{id:t,quantity:o}]};r&&(a.selling_plan=r),h.postToCart(t,r,n,o,i,a)},m.redirectToCart=async()=>{console.warn("ShopifyCampaignsClass.redirectToCart();")},m.redirectToCartCustom=async()=>{console.warn("ShopifyCampaignsClass.redirectToCartCustom();")},m.redirectToCustomURL=async()=>{console.warn("ShopifyCampaignsClass.redirectToCustomURL();")},m.handleAddToCart=async(e,t,r,n,o,i,a,s)=>{console.warn(`ShopifyCampaignsClass.handleAddToCart(${e}, ${t}, ${r}, ${n}, ${o}, ${i}, ${a}, ${s});`);const u="undefined"!==typeof s.items_subtotal_price?s.items_subtotal_price:0,d="undefined"!==typeof s.item_count?s.item_count:0;let p="undefined"!==typeof s.items?s.items:[];if(0===p.length)p.push({id:t,quantity:o});else for(let c=0;c<p.length;c++)p[c].id===t?p[c].quantity+=o:p.push({id:t,quantity:o});const l={cart:{items_subtotal_price:u+a,currency:h.getCurrency(),item_count:d+o,items:p}};e({type:c.a.GET_CART,payload:l})},m.redirectToClientURL=async()=>{console.warn("ShopifyCampaignsClass.redirectToClientURL();")},m.getCurrency=()=>(console.warn("ShopifyCampaignsClass.getCurrency();"),window.Shopify.currency||"");const v=m;class g{}g.initialization=async()=>{console.warn("SFCCCampaignsClass.initialization();")},g.urlHelper=e=>{console.warn(`SFCCCampaignsClass.urlHelper(${e});`)},g.postToCart=async()=>{console.warn("SFCCCampaignsClass.postToCart();")},g.isProductPage=()=>{console.warn("SFCCCampaignsClass.isProductPage();")},g.getProductByHandle=async()=>{console.warn("SFCCCampaignsClass.getProductByHandle();")},g.getStoreCart=async()=>{console.warn("SFCCCampaignsClass.getStoreCart();")},g.getRecommendedProductsById=async()=>{console.warn("SFCCCampaignsClass.getRecommendedProductsById();")},g.setCommercials=async()=>{console.warn("SFCCCampaignsClass.setCommercials();")},g.redirectToCheckout=async()=>{console.warn("SFCCCampaignsClass.redirectToCheckout();")},g.redirectToCart=async()=>{console.warn("SFCCCampaignsClass.redirectToCart();")},g.redirectToCartCustom=async()=>{console.warn("SFCCCampaignsClass.redirectToCartCustom();")},g.redirectToCustomURL=async()=>{console.warn("SFCCCampaignsClass.redirectToCustomURL();")},g.handleAddToCart=async()=>{console.warn("SFCCCampaignsClass.handleAddToCart();")},g.redirectToClientURL=async()=>{console.warn("ShopifyCampaignsClass.redirectToClientURL();")},g.getCurrency=async()=>{console.warn("ShopifyCampaignsClass.getCurrency();")};const b=g;var S;class E{}S=E,E.initialization=async()=>{console.warn("TapcartClass.initialization();"),"tapcart://product"===window.videowiseTapcart?.page?setTimeout((async()=>{await T(window.videowiseTapcart.shop,Tapcart.variables.product.id)}),500):await I(window.videowiseTapcart?.shop??"")},E.urlHelper=e=>(console.warn(`TapcartClass.urlHelper(${e});`),`https://${window.videowiseTapcart.shop}${e}`),E.postToCart=async()=>{console.warn("TapcartClass.postToCart();")},E.isProductPage=()=>{console.warn("TapcartClass.isProductPage();")},E.getProductByHandle=async(e,t,r,n)=>{console.log(`TapcartClass.getProductByHandle(${e}, ${t}, ${r}, ${n});`);try{const o=await(0,i.iP)(`${S.urlHelper(`/products/${e}.js`)}`),c=await o.json(),s=c.variants.filter((e=>0!=e?.price)).map((e=>({...e,compare_at_price:(0,a.vT)(e.compare_at_price),price:(0,a.vT)(e.price)})));if("undefined"!==typeof r)for(let e=0;e<s.length;e++)s[e].id===parseInt(r)&&(c.price=s[e].price);let u,d=s;if(t?.length){const e=t.map((e=>Number(e)));if(u=s.filter((t=>e.includes(t.id))),1===c.options.length){const e=u.map((e=>e.option1));c.options[0].values=c.options[0].values.filter((t=>!e.includes(t)))}d=s.filter((e=>!u.some((t=>e.id===t.id))))}return{...c,compare_at_price:(0,a.vT)(c.compare_at_price),compare_at_price_max:(0,a.vT)(c.compare_at_price_max),compare_at_price_min:(0,a.vT)(c.compare_at_price_min),price:(0,a.vT)(c.price),price_max:(0,a.vT)(c.price_max),price_min:(0,a.vT)(c.price_min),variants:d,quantity:n,excludedVariants:u?.length?u:[]}}catch(o){return!1}},E.getStoreCart=async()=>{console.warn("TapcartClass.getStoreCart();")},E.getRecommendedProductsById=async e=>{console.warn(`TapcartClass.getRecommendedProductsById(${e});`);try{const{data:t}=await(0,i.qB)(S.urlHelper(`/recommendations/products.json?product_id=${e}`));return t}catch(t){return console.error("Shopify recommended products error: ",t),t}},E.setCommercials=async(e,t,r,n)=>{console.warn("TapcartClass.setCommercials();");const o=e[t]?.commercials;if(o&&o.length)for(const a in o){const e=o[a];if("PRODUCT"===e.type&&!e.hasOwnProperty("compare_at_price"))try{const t=await S.getProductByHandle(e?.handle,e?.excludedVariants,e?.variantId,e?.quantity);!1===t&&o.splice(a,1);const r="undefined"!==typeof e.variantId?t.variants.find((t=>t.id===Number(e.variantId))):t.variants[0];e.compare_at_price=isNaN(parseInt(t.compare_at_price))?void 0:t.compare_at_price,e.compare_at_price_max=isNaN(parseInt(t.compare_at_price_max))?void 0:t.compare_at_price_max,e.compare_at_price_min=isNaN(parseInt(t.compare_at_price_min))?void 0:t.compare_at_price_min,e.price=isNaN(parseInt(t.price))?void 0:t.price,e.price_max=isNaN(parseInt(t.price_max))?void 0:t.price_max,e.price_min=isNaN(parseInt(t.price_min))?void 0:t.price_min,e.compareAtPrice=!1===isNaN(parseInt(r.compare_at_price))?r.compare_at_price:void 0,e.previewImageSrc=t.featured_image}catch(d){return d}}const i=(0,a.c$)(o??[]);r({type:c.a.SET_SHOPPABLE_LIST,payload:{shoppableList:o}});const s=o.filter((e=>e.type===u.LR.PRODUCT))??[];s.length>1&&i?n||r({type:c.a.SHOW_SHOPPABLE_LIST}):1===s.length&&i?n||(r({type:c.a.HIDE_SHOPPABLE_LIST}),r({type:c.a.TOGGLE_PANEL_HEADER,payload:{showHeader:!1}}),r({type:c.a.TOGGLE_PANEL,payload:{visible:!0}})):(r({type:c.a.HIDE_SHOPPABLE_LIST}),r({type:c.a.TOGGLE_PANEL_HEADER,payload:{showHeader:!1}}))},E.redirectToCheckout=async()=>{console.warn("TapcartClass.redirectToCheckout();")},E.redirectToCart=async(e,t,r,n,o,i)=>{console.warn(`TapcartClass.redirectToCart(${e}, ${t}, ${r}, ${n}, ${o}, ${i});`),Tapcart.actions.addToCart({lineItems:[{variantId:t,quantity:o}]})},E.redirectToCartCustom=async()=>{console.warn("TapcartClass.redirectToCartCustom();")},E.redirectToCustomURL=async()=>{console.warn("TapcartClass.redirectToCustomURL();")},E.handleAddToCart=async()=>{console.warn("TapcartClass.handleAddToCart();")},E.redirectToClientURL=async()=>{console.warn("ShopifyCampaignsClass.redirectToClientURL();")},E.getCurrency=()=>(console.warn("ShopifyCampaignsClass.getCurrency();"),Tapcart.variables.cart.currency??"RON");const C=E,O=e=>e.replace(/\/\s*$/,""),I=async e=>{let t=O(`${window.location.protocol}//${window.location.hostname}${window.location.pathname}`);"undefined"!==typeof window.videowiseTapcart&&(t="tapcart://home");const r=await(0,i.rr)({shop:e,url:t});await(0,w.a)(r)},T=async(e,t)=>{const r=await(0,i.fh)({shop:e,productId:t});await(0,w.a)(r)},P=async(e,t)=>{const r=await(0,i.aM)({shop:e,widgetIds:t});await(0,w.a)(r)},L=()=>{const e="undefined"!==typeof window.INITIAL_DATA,t="undefined"!==typeof window.INITIAL_PRODUCTS,r="undefined"!==typeof window.SITE_DATA,n="undefined"!==typeof window.CAMPAIGN_DATA;return!0===e&&!0===t&&!0===r&&!0===n},A=()=>{let e=null;if("undefined"!==typeof window.Shopify?e=!0===L()?v:p:"undefined"!==typeof window.videowiseSFCC?e=!0===L()?b:f:"undefined"!==typeof window.videowiseTapcart&&(e=C),null===e)throw Error("The object does not exist.");return new Proxy(e,{get:(e,t)=>{if("function"===typeof e[t])return e[t];throw Error("Error from proxy.js!")}})}},8589:(e,t,r)=>{r.d(t,{F:()=>n});const n="reeview_uid"},2516:(e,t,r)=>{r.d(t,{Z:()=>a});var n=r(1955),o=r(5877),i=r(8589);const a=()=>{let e=n.Z.get(i.F);if(e)return e;e=(0,o.v4)();const t=new Date;return t.setTime(t.getTime()+12096e5),n.Z.set(i.F,e??"",{expires:t,domain:function(){let e=new URL(window.location.href),t=e.hostname.split(".");return-1!=e.hostname.indexOf("myshopify.com")||t.length<3?e.hostname:-1===e.hostname.indexOf(".co.uk")||3!==t.length?(t.shift(),t.join(".")):void 0}()}),e}},2629:(e,t,r)=>{var n=r(9748),o=r(9823),i=(r(5666),r(3907));const a=(0,n.lazy)((()=>Promise.all([r.e(3143),r.e(4508)]).then(r.bind(r,4508))));window.initVideowise=(0,i.ZP)().initialization,(0,i.ZP)().initialization();const c=document.getElementById("videowise_ugc");if(null!==c){(0,o.so)(c).render(n.default.createElement(n.Suspense,{fallback:n.default.createElement(n.default.Fragment,null)},n.default.createElement(a,null)))}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t){if(void 0!==t.error)throw t.error;return t.exports}var r=__webpack_module_cache__[e]={id:e,exports:{}};try{var n={id:e,module:r,factory:__webpack_modules__[e],require:__webpack_require__};__webpack_require__.i.forEach((function(e){e(n)})),r=n.module,n.factory.call(r.exports,r,r.exports,n.require)}catch(o){throw r.error=o,o}return r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.c=__webpack_module_cache__,__webpack_require__.i=[],(()=>{var e=[];__webpack_require__.O=(t,r,n,o)=>{if(!r){var i=1/0;for(u=0;u<e.length;u++){for(var[r,n,o]=e[u],a=!0,c=0;c<r.length;c++)(!1&o||i>=o)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](r[c])))?r.splice(c--,1):(a=!1,o<i&&(i=o));if(a){e.splice(u--,1);var s=n();void 0!==s&&(t=s)}}return t}o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,n,o]}})(),__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((t,r)=>(__webpack_require__.f[r](e,t),t)),[])),__webpack_require__.u=e=>"577-"+({525:"GridMasonryBigVideoVideoFeature",1495:"Grid",1987:"CarouselFeature",2522:"CarouselScatteredFeature",2673:"Floating",2845:"BackgroundFeature",5022:"StoryFeature",5341:"SingleFeature",7297:"SeoBlock",8265:"Player",8685:"GridMasonryFeature",9883:"ProductWidget"}[e]||e)+".js",__webpack_require__.hu=e=>e+"."+__webpack_require__.h()+".hot-update.js",__webpack_require__.miniCssF=e=>{},__webpack_require__.hmrF=()=>"client."+__webpack_require__.h()+".hot-update.json",__webpack_require__.h=()=>"bc94c2d8f7f644fae26f",__webpack_require__.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="videowise-widget:";__webpack_require__.l=(r,n,o,i)=>{if(e[r])e[r].push(n);else{var a,c;if(void 0!==o)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var d=s[u];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+o){a=d;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,__webpack_require__.nc&&a.setAttribute("nonce",__webpack_require__.nc),a.setAttribute("data-webpack",t+o),a.src=r),e[r]=[n];var p=(t,n)=>{a.onerror=a.onload=null,clearTimeout(l);var o=e[r];if(delete e[r],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((e=>e(n))),t)return t(n)},l=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),c&&document.head.appendChild(a)}}})(),__webpack_require__.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e,t,r,n={},o=__webpack_require__.c,i=[],a=[],c="idle",s=0,u=[];function d(e){c=e;for(var t=[],r=0;r<a.length;r++)t[r]=a[r].call(null,e);return Promise.all(t)}function p(){0===--s&&d("ready").then((function(){if(0===s){var e=u;u=[];for(var t=0;t<e.length;t++)e[t]()}}))}function l(e){if("idle"!==c)throw new Error("check() is only allowed in idle status");return d("check").then(__webpack_require__.hmrM).then((function(r){return r?d("prepare").then((function(){var n=[];return t=[],Promise.all(Object.keys(__webpack_require__.hmrC).reduce((function(e,o){return __webpack_require__.hmrC[o](r.c,r.r,r.m,e,t,n),e}),[])).then((function(){return t=function(){return e?f(e):d("ready").then((function(){return n}))},0===s?t():new Promise((function(e){u.push((function(){e(t())}))}));var t}))})):d(h()?"ready":"idle").then((function(){return null}))}))}function _(e){return"ready"!==c?Promise.resolve().then((function(){throw new Error("apply() is only allowed in ready status (state: "+c+")")})):f(e)}function f(e){e=e||{},h();var n=t.map((function(t){return t(e)}));t=void 0;var o=n.map((function(e){return e.error})).filter(Boolean);if(o.length>0)return d("abort").then((function(){throw o[0]}));var i=d("dispose");n.forEach((function(e){e.dispose&&e.dispose()}));var a,c=d("apply"),s=function(e){a||(a=e)},u=[];return n.forEach((function(e){if(e.apply){var t=e.apply(s);if(t)for(var r=0;r<t.length;r++)u.push(t[r])}})),Promise.all([i,c]).then((function(){return a?d("fail").then((function(){throw a})):r?f(e).then((function(e){return u.forEach((function(t){e.indexOf(t)<0&&e.push(t)})),e})):d("idle").then((function(){return u}))}))}function h(){if(r)return t||(t=[]),Object.keys(__webpack_require__.hmrI).forEach((function(e){r.forEach((function(r){__webpack_require__.hmrI[e](r,t)}))})),r=void 0,!0}__webpack_require__.hmrD=n,__webpack_require__.i.push((function(u){var f=u.module,h=function(t,r){var n=o[r];if(!n)return t;var a=function(a){if(n.hot.active){if(o[a]){var c=o[a].parents;-1===c.indexOf(r)&&c.push(r)}else i=[r],e=a;-1===n.children.indexOf(a)&&n.children.push(a)}else console.warn("[HMR] unexpected require("+a+") from disposed module "+r),i=[];return t(a)},u=function(e){return{configurable:!0,enumerable:!0,get:function(){return t[e]},set:function(r){t[e]=r}}};for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&"e"!==l&&Object.defineProperty(a,l,u(l));return a.e=function(e){return function(e){switch(c){case"ready":d("prepare");case"prepare":return s++,e.then(p,p),e;default:return e}}(t.e(e))},a}(u.require,u.id);f.hot=function(o,s){var u=e!==o,p={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:u,_requireSelf:function(){i=s.parents.slice(),e=u?void 0:o,__webpack_require__(o)},active:!0,accept:function(e,t,r){if(void 0===e)p._selfAccepted=!0;else if("function"===typeof e)p._selfAccepted=e;else if("object"===typeof e&&null!==e)for(var n=0;n<e.length;n++)p._acceptedDependencies[e[n]]=t||function(){},p._acceptedErrorHandlers[e[n]]=r;else p._acceptedDependencies[e]=t||function(){},p._acceptedErrorHandlers[e]=r},decline:function(e){if(void 0===e)p._selfDeclined=!0;else if("object"===typeof e&&null!==e)for(var t=0;t<e.length;t++)p._declinedDependencies[e[t]]=!0;else p._declinedDependencies[e]=!0},dispose:function(e){p._disposeHandlers.push(e)},addDisposeHandler:function(e){p._disposeHandlers.push(e)},removeDisposeHandler:function(e){var t=p._disposeHandlers.indexOf(e);t>=0&&p._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,c){case"idle":t=[],Object.keys(__webpack_require__.hmrI).forEach((function(e){__webpack_require__.hmrI[e](o,t)})),d("ready");break;case"ready":Object.keys(__webpack_require__.hmrI).forEach((function(e){__webpack_require__.hmrI[e](o,t)}));break;case"prepare":case"check":case"dispose":case"apply":(r=r||[]).push(o)}},check:l,apply:_,status:function(e){if(!e)return c;a.push(e)},addStatusHandler:function(e){a.push(e)},removeStatusHandler:function(e){var t=a.indexOf(e);t>=0&&a.splice(t,1)},data:n[o]};return e=void 0,p}(u.id,f),f.parents=i,f.children=[],i=[],u.require=h})),__webpack_require__.hmrC={},__webpack_require__.hmrI={}})(),__webpack_require__.p="https://assets.videowise.com/",(()=>{if("undefined"!==typeof document){var e=(e,t,r,n,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css";return i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&("load"===r.type?"missing":r.type),c=r&&r.target&&r.target.href||t,s=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");s.code="CSS_CHUNK_LOAD_FAILED",s.type=a,s.request=c,i.parentNode&&i.parentNode.removeChild(i),o(s)}},i.href=t,r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i),i},t=(e,t)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(a=r[n]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(n=0;n<i.length;n++){var a;if((o=(a=i[n]).getAttribute("data-href"))===e||o===t)return a}},r=[],n=[],o=e=>({dispose:()=>{for(var e=0;e<r.length;e++){var t=r[e];t.parentNode&&t.parentNode.removeChild(t)}r.length=0},apply:()=>{for(var e=0;e<n.length;e++)n[e].rel="stylesheet";n.length=0}});__webpack_require__.hmrC.miniCss=(i,a,c,s,u,d)=>{u.push(o),i.forEach((o=>{var i=__webpack_require__.miniCssF(o),a=__webpack_require__.p+i,c=t(i,a);c&&s.push(new Promise(((t,i)=>{var s=e(o,a,c,(()=>{s.as="style",s.rel="preload",t()}),i);r.push(c),n.push(s)})))}))}}})(),(()=>{var e,t=__webpack_require__.hmrS_jsonp=__webpack_require__.hmrS_jsonp||{6047:0};__webpack_require__.f.j=(e,r)=>{var n=__webpack_require__.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,o)=>n=t[e]=[r,o]));r.push(n[2]=o);var i=__webpack_require__.p+__webpack_require__.u(e),a=new Error;__webpack_require__.l(i,(r=>{if(__webpack_require__.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}}),"chunk-"+e,e)}};var r,n,o,i,a={};function c(t,r){return e=r,new Promise(((e,r)=>{a[t]=e;var n=__webpack_require__.p+__webpack_require__.hu(t),o=new Error;__webpack_require__.l(n,(e=>{if(a[t]){a[t]=void 0;var n=e&&("load"===e.type?"missing":e.type),i=e&&e.target&&e.target.src;o.message="Loading hot update chunk "+t+" failed.\n("+n+": "+i+")",o.name="ChunkLoadError",o.type=n,o.request=i,r(o)}}))}))}function s(e){function a(e){for(var t=[e],r={},n=t.map((function(e){return{chain:[e],id:e}}));n.length>0;){var o=n.pop(),i=o.id,a=o.chain,s=__webpack_require__.c[i];if(s&&(!s.hot._selfAccepted||s.hot._selfInvalidated)){if(s.hot._selfDeclined)return{type:"self-declined",chain:a,moduleId:i};if(s.hot._main)return{type:"unaccepted",chain:a,moduleId:i};for(var u=0;u<s.parents.length;u++){var d=s.parents[u],p=__webpack_require__.c[d];if(p){if(p.hot._declinedDependencies[i])return{type:"declined",chain:a.concat([d]),moduleId:i,parentId:d};-1===t.indexOf(d)&&(p.hot._acceptedDependencies[i]?(r[d]||(r[d]=[]),c(r[d],[i])):(delete r[d],t.push(d),n.push({chain:a.concat([d]),id:d})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:r}}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];-1===e.indexOf(n)&&e.push(n)}}__webpack_require__.f&&delete __webpack_require__.f.jsonpHmr,r=void 0;var s={},u=[],d={},p=function(e){console.warn("[HMR] unexpected require("+e.id+") to disposed module")};for(var l in n)if(__webpack_require__.o(n,l)){var _,f=n[l],h=!1,y=!1,w=!1,m="";switch((_=f?a(l):{type:"disposed",moduleId:l}).chain&&(m="\nUpdate propagation: "+_.chain.join(" -> ")),_.type){case"self-declined":e.onDeclined&&e.onDeclined(_),e.ignoreDeclined||(h=new Error("Aborted because of self decline: "+_.moduleId+m));break;case"declined":e.onDeclined&&e.onDeclined(_),e.ignoreDeclined||(h=new Error("Aborted because of declined dependency: "+_.moduleId+" in "+_.parentId+m));break;case"unaccepted":e.onUnaccepted&&e.onUnaccepted(_),e.ignoreUnaccepted||(h=new Error("Aborted because "+l+" is not accepted"+m));break;case"accepted":e.onAccepted&&e.onAccepted(_),y=!0;break;case"disposed":e.onDisposed&&e.onDisposed(_),w=!0;break;default:throw new Error("Unexception type "+_.type)}if(h)return{error:h};if(y)for(l in d[l]=f,c(u,_.outdatedModules),_.outdatedDependencies)__webpack_require__.o(_.outdatedDependencies,l)&&(s[l]||(s[l]=[]),c(s[l],_.outdatedDependencies[l]));w&&(c(u,[_.moduleId]),d[l]=p)}n=void 0;for(var v,g=[],b=0;b<u.length;b++){var S=u[b],E=__webpack_require__.c[S];E&&(E.hot._selfAccepted||E.hot._main)&&d[S]!==p&&!E.hot._selfInvalidated&&g.push({module:S,require:E.hot._requireSelf,errorHandler:E.hot._selfAccepted})}return{dispose:function(){var e;o.forEach((function(e){delete t[e]})),o=void 0;for(var r,n=u.slice();n.length>0;){var i=n.pop(),a=__webpack_require__.c[i];if(a){var c={},d=a.hot._disposeHandlers;for(b=0;b<d.length;b++)d[b].call(null,c);for(__webpack_require__.hmrD[i]=c,a.hot.active=!1,delete __webpack_require__.c[i],delete s[i],b=0;b<a.children.length;b++){var p=__webpack_require__.c[a.children[b]];p&&((e=p.parents.indexOf(i))>=0&&p.parents.splice(e,1))}}}for(var l in s)if(__webpack_require__.o(s,l)&&(a=__webpack_require__.c[l]))for(v=s[l],b=0;b<v.length;b++)r=v[b],(e=a.children.indexOf(r))>=0&&a.children.splice(e,1)},apply:function(t){for(var r in d)__webpack_require__.o(d,r)&&(__webpack_require__.m[r]=d[r]);for(var n=0;n<i.length;n++)i[n](__webpack_require__);for(var o in s)if(__webpack_require__.o(s,o)){var a=__webpack_require__.c[o];if(a){v=s[o];for(var c=[],p=[],l=[],_=0;_<v.length;_++){var f=v[_],h=a.hot._acceptedDependencies[f],y=a.hot._acceptedErrorHandlers[f];if(h){if(-1!==c.indexOf(h))continue;c.push(h),p.push(y),l.push(f)}}for(var w=0;w<c.length;w++)try{c[w].call(null,v)}catch(E){if("function"===typeof p[w])try{p[w](E,{moduleId:o,dependencyId:l[w]})}catch(C){e.onErrored&&e.onErrored({type:"accept-error-handler-errored",moduleId:o,dependencyId:l[w],error:C,originalError:E}),e.ignoreErrored||(t(C),t(E))}else e.onErrored&&e.onErrored({type:"accept-errored",moduleId:o,dependencyId:l[w],error:E}),e.ignoreErrored||t(E)}}}for(var m=0;m<g.length;m++){var b=g[m],S=b.module;try{b.require(S)}catch(E){if("function"===typeof b.errorHandler)try{b.errorHandler(E,{moduleId:S,module:__webpack_require__.c[S]})}catch(C){e.onErrored&&e.onErrored({type:"self-accept-error-handler-errored",moduleId:S,error:C,originalError:E}),e.ignoreErrored||(t(C),t(E))}else e.onErrored&&e.onErrored({type:"self-accept-errored",moduleId:S,error:E}),e.ignoreErrored||t(E)}}return u}}}self.webpackHotUpdatevideowise_widget=(t,r,o)=>{for(var c in r)__webpack_require__.o(r,c)&&(n[c]=r[c],e&&e.push(c));o&&i.push(o),a[t]&&(a[t](),a[t]=void 0)},__webpack_require__.hmrI.jsonp=function(e,t){n||(n={},i=[],o=[],t.push(s)),__webpack_require__.o(n,e)||(n[e]=__webpack_require__.m[e])},__webpack_require__.hmrC.jsonp=function(e,a,u,d,p,l){p.push(s),r={},o=a,n=u.reduce((function(e,t){return e[t]=!1,e}),{}),i=[],e.forEach((function(e){__webpack_require__.o(t,e)&&void 0!==t[e]?(d.push(c(e,l)),r[e]=!0):r[e]=!1})),__webpack_require__.f&&(__webpack_require__.f.jsonpHmr=function(e,t){r&&__webpack_require__.o(r,e)&&!r[e]&&(t.push(c(e)),r[e]=!0)})},__webpack_require__.hmrM=()=>{if("undefined"===typeof fetch)throw new Error("No browser support: need fetch API");return fetch(__webpack_require__.p+__webpack_require__.hmrF()).then((e=>{if(404!==e.status){if(!e.ok)throw new Error("Failed to fetch update manifest "+e.statusText);return e.json()}}))},__webpack_require__.O.j=e=>0===t[e];var u=(e,r)=>{var n,o,[i,a,c]=r,s=0;if(i.some((e=>0!==t[e]))){for(n in a)__webpack_require__.o(a,n)&&(__webpack_require__.m[n]=a[n]);if(c)var u=c(__webpack_require__)}for(e&&e(r);s<i.length;s++)o=i[s],__webpack_require__.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return __webpack_require__.O(u)},d=self.webpackChunkvideowise_widget=self.webpackChunkvideowise_widget||[];d.forEach(u.bind(null,0)),d.push=u.bind(null,d.push.bind(d))})();var __webpack_exports__=__webpack_require__.O(void 0,[2130],(()=>__webpack_require__(2629)));__webpack_exports__=__webpack_require__.O(__webpack_exports__)})();