(()=>{"use strict";var e={4294:(e,t,r)=>{r(5666);var n=r(9669),o=r.n(n),i=("@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)"),"vw"),a="reeview",c=("".concat(a,"_hide_widget"),"".concat(a,"_uid")),l=("".concat(a,"_widget_context"),"Inline"),s="Floating",u="Product",d="Independent",p="cart",f="view",h="video",v="click",m="engagementtime",w="videowatch",y="swipe",g={xsSmall:375,smSmall:576,ExtraSmall:767,Small:991,Medium:1024,Large:1280,ExtraLarge:1440},x="youtube_video",b="instagram_video",C="portrait",j="landscape",A="single",_="gallery",O="carousel",k="DESKTOP",S="MOBILE",B="ICON_BUTTON",E="TEXT_BUTTON",L=r(1955),P=r(5877),M=function(){var e=L.Z.get(c);if(e)return e;e=(0,P.v4)();var t=new Date;return t.setTime(t.getTime()+12096e5),L.Z.set(c,e,{expires:t}),e};function I(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(s){return void r(s)}c.done?t(l):Promise.resolve(l).then(n,o)}function N(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){I(i,n,o,a,c,"next",e)}function c(e){I(i,n,o,a,c,"throw",e)}a(void 0)}))}}var T,R,D=o().create({baseURL:"https://api.videowise.com"}),H=function(){var e=N(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D.get("/widget/independent",{params:{shop:t,url:r,uid:M()}});case 2:return n=e.sent,e.abrupt("return",F(n));case 4:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),V=function(){var e=N(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D.get("/widget/product",{params:{shop:t,productId:r,uid:M()}});case 2:return n=e.sent,e.abrupt("return",F(n));case 4:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),F=function(e){var t,r;if(null===e||void 0===e||null===(t=e.data)||void 0===t||!t.errorMessage)return null===e||void 0===e?void 0:e.data;console.log("Errors during loading product widgets! ",null===e||void 0===e||null===(r=e.data)||void 0===r?void 0:r.errorMessage)},Z=r(9748),W=r(1032),U=(0,Z.createContext)({}),G=(0,Z.createContext)({}),z=function(e,t){return function(){var r=(0,Z.useContext)(t);if(void 0===r)throw new Error("use".concat(e,"Context must be used withing a ").concat(e,"ContextProvider."));return r}},Y=z("ShoppableContext",U),q=z("ShoppableActionContext",G),Q=function(e){var t=e.children,r=e.value,n=e.action;return(0,W.jsx)(U.Provider,{value:r,children:(0,W.jsx)(G.Provider,{value:n,children:t})})},K=(0,Z.createContext)({}),J=(T="AppContext",R=K,function(){var e=(0,Z.useContext)(R);if(void 0===e)throw new Error("use".concat(T,"Context must be used withing a ").concat(T,"ContextProvider."));return e}),X=function(e){var t=e.children,r=e.value;return(0,W.jsx)(K.Provider,{value:r,children:t})};function $(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 ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach((function(t){te(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var re="add_product",ne="update_product",oe="hide_panel",ie="show_more",ae="hide_more",ce="toggle_sound",le=function(e,t){switch(t.type){case re:return ee(ee({},e),{},{isVisible:!0,product:ee(ee({},e.product),t.payload.product)});case ne:return ee(ee({},e),{},{product:ee(ee({},e.product),t.payload.product)});case oe:return ee(ee({},e),{},{product:null,isVisible:t.payload.visible});case ie:return ee(ee({},e),{},{showMore:!0});case ae:return ee(ee({},e),{},{showMore:!1});case ce:return ee(ee({},e),{},{muted:!e.muted});default:return e}},se=r(6010),ue=o().create({baseURL:"https://events.hookdeck.com/e/src_FmdOAHhvIIFyHpVR9dXQVdOf"});function de(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)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return pe(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 pe(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 pe(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 fe=function(){return window.screen.width>767?k:S};function he(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 ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach((function(t){me(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var we=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ue.post("/tracking/".concat(e),ve(ve({},t),{},{uid:M(),deviceType:fe()}))},ye=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};we(e,t).then((function(){})).catch((function(e){return console.log("Tracking error: ",e)}))},ge=function(e){var t=(new Date).getTime();return Math.round((t-e)/1e3)},xe=r(3253),be=r.n(xe),Ce=r(4017),je=r(2004),Ae=r(5396);r(5697);const _e=function(e){var t=e.isMuted,r=e.callback,n=t?"OFF":"ON",o=t?function(){return(0,W.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,W.jsx)("path",{d:"M2 10H7.81818L17 3V29L7.81818 22H2V10ZM8.49361 12L15 7.03968V24.9603L8.49361 20H4V12H8.49361Z",fill:"white"}),(0,W.jsx)("path",{d:"M20.8219 10.4325C20.4314 10.042 19.7982 10.042 19.4077 10.4325C19.0172 10.8231 19.0172 11.4562 19.4077 11.8468L23.643 16.0821L19.4077 20.3174C19.0172 20.708 19.0172 21.3411 19.4077 21.7316C19.7982 22.1222 20.4314 22.1222 20.8219 21.7316L25.0573 17.4963L29.2926 21.7316C29.6831 22.1222 30.3163 22.1222 30.7068 21.7316C31.0973 21.3411 31.0973 20.708 30.7068 20.3174L26.4715 16.0821L30.7068 11.8468C31.0973 11.4562 31.0973 10.8231 30.7068 10.4325C30.3163 10.042 29.6831 10.042 29.2926 10.4325L25.0573 14.6679L20.8219 10.4325Z",fill:"white"})]})}:function(){return(0,W.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:[(0,W.jsx)("path",{d:"M7.81818 10H2V22H7.81818L17 29V3L7.81818 10Z",fill:"white"}),(0,W.jsx)("path",{d:"M21.8642 15.3638C21.8642 13.7454 21.0183 12.3245 19.7446 11.5191C19.1424 11.1383 18.7963 10.3527 19.1446 9.73111C19.4028 9.27025 19.9605 9.05403 20.4304 9.29546C22.6312 10.4263 24.1369 12.7192 24.1369 15.3638C24.1369 18.0084 22.6312 20.3014 20.4304 21.4322C19.9605 21.6736 19.4028 21.4574 19.1446 20.9965C18.7963 20.375 19.1424 19.5893 19.7446 19.2085C21.0183 18.4031 21.8642 16.9822 21.8642 15.3638Z",fill:"white"}),(0,W.jsx)("path",{d:"M23.3875 8.37237C25.8645 9.72016 27.5457 12.3459 27.5457 15.3643C27.5457 18.3826 25.8645 21.0084 23.3875 22.3562C22.8014 22.6751 22.4991 23.3888 22.7871 23.9907C23.0394 24.518 23.6578 24.7694 24.18 24.5067C27.524 22.825 29.8184 19.3626 29.8184 15.3643C29.8184 11.366 27.524 7.90355 24.18 6.2218C23.6578 5.95916 23.0394 6.21054 22.7871 6.73783C22.4991 7.3397 22.8014 8.05347 23.3875 8.37237Z",fill:"white"})]})};return(0,W.jsxs)("button",{"aria-label":"sound",className:"vw-cmp__player--sound-button",type:"button",onClick:function(){r()},children:[(0,W.jsx)("span",{className:"vw-cmp__player--sound-icon",children:(0,W.jsx)(o,{})}),(0,W.jsxs)("span",{className:"vw-cmp__player--sound-label",children:["Sound ",n]})]})};const Oe=function(e){var t=e.state,r=e.callback,n=t?function(){return(0,W.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("circle",{opacity:"0.7",cx:"40",cy:"40",r:"40",fill:"black"}),(0,W.jsx)("path",{d:"M29 25C28.4477 25 28 25.4477 28 26V55C28 55.5523 28.4477 56 29 56H35C35.5523 56 36 55.5523 36 55V26C36 25.4477 35.5523 25 35 25H29ZM45 25C44.4477 25 44 25.4477 44 26V55C44 55.5523 44.4477 56 45 56H51C51.5523 56 52 55.5523 52 55V26C52 25.4477 51.5523 25 51 25H45Z",fill:"white"})]})}:function(){return(0,W.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 80 80",fill:"none",children:[(0,W.jsx)("circle",{opacity:"0.7",cx:"40",cy:"40",r:"40",fill:"black"}),(0,W.jsx)("path",{d:"M31.25 25.5162C31.25 24.7389 32.098 24.2588 32.7645 24.6587L57.6188 39.5713C57.9424 39.7655 57.9424 40.2345 57.6188 40.4287L32.7645 55.3413C32.098 55.7412 31.25 55.2611 31.25 54.4838V25.5162Z",fill:"white"})]})};return(0,W.jsx)(W.Fragment,{children:!t&&(0,W.jsx)("span",{className:"vw-cmp__player--play-icon",onClick:r,children:(0,W.jsx)(n,{})})})};const ke=function(){return(0,W.jsx)("div",{className:"vw-cmp__player--is-loading",children:(0,W.jsx)("span",{className:"vw-cmp__player--is-loading-icon"})})};var Se=(0,Z.createContext)({}),Be=function(e,t){return function(){var r=(0,Z.useContext)(t);if(void 0===r)throw new Error("use".concat(e,"Context must be used withing a ").concat(e,"ContextProvider."));return r}}("ThemeContext",Se),Ee=function(e){var t=e.children,r=e.value;return(0,W.jsx)(Se.Provider,{value:r,children:t})};const Le=function(e){return e.type?(0,W.jsx)("div",{className:"vw-powerby vw-powerby__gray vw-cmp__badge--root",children:(0,W.jsxs)("a",{rel:"noreferrer",target:"_blank",href:"https://apps.shopify.com/videowise-shoppable-video",title:"VideoWise - Shopify Video Marketing","aria-label":"VideoWise Shopify Shoppable Video Marketing",children:[(0,W.jsx)("span",{className:"vw-cmp__badge--icon",children:(0,W.jsxs)("svg",{width:"98",height:"20",viewBox:"0 0 98 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("path",{d:"M0 1.3759C0 0.367128 1.05066 -0.297851 1.96238 0.133887L20.1742 8.75798C21.2223 9.25431 21.2223 10.7457 20.1742 11.242L1.96238 19.8661C1.05066 20.2979 0 19.6329 0 18.6241V17.1923L13.44 10.8279C14.1382 10.4972 14.1382 9.50365 13.44 9.173L0 2.80859V1.3759ZM6.76279 9.58333L0 6.38086V13.6185L6.76279 10.416C7.11414 10.2496 7.11414 9.74971 6.76279 9.58333Z",fill:"white"}),(0,W.jsx)("path",{d:"M24.9007 4.30017H27.1204L30.1705 11.9482L33.2366 4.30017H35.4563L30.9371 15.5002H29.42L24.9007 4.30017Z",fill:"white"}),(0,W.jsx)("path",{d:"M38.2456 15.5002H36.1696V7.74017H38.2456V15.5002ZM35.8502 5.62819C35.8502 5.25486 35.9833 4.94019 36.2494 4.68419C36.5156 4.42819 36.835 4.30019 37.2076 4.30019C37.5802 4.30019 37.8996 4.42819 38.1657 4.68419C38.4319 4.94019 38.565 5.25486 38.565 5.62819C38.565 6.00152 38.4319 6.31619 38.1657 6.57219C37.8996 6.82819 37.5802 6.95619 37.2076 6.95619C36.835 6.95619 36.5156 6.82819 36.2494 6.57219C35.9833 6.31619 35.8502 6.00152 35.8502 5.62819Z",fill:"white"}),(0,W.jsx)("path",{d:"M45.3562 10.4602C45.1433 10.1722 44.8718 9.94284 44.5418 9.77217C44.2118 9.59084 43.8445 9.50017 43.4399 9.50017C43.1312 9.50017 42.8544 9.55884 42.6095 9.67617C42.3647 9.7935 42.1571 9.9535 41.9867 10.1562C41.8164 10.3482 41.6833 10.5722 41.5875 10.8282C41.4917 11.0842 41.4438 11.3508 41.4438 11.6282C41.4438 11.9375 41.4917 12.2202 41.5875 12.4762C41.694 12.7322 41.8377 12.9562 42.0187 13.1482C42.2103 13.3295 42.4285 13.4735 42.6734 13.5802C42.9289 13.6868 43.2004 13.7402 43.4878 13.7402C43.8817 13.7402 44.2384 13.6548 44.5578 13.4842C44.8878 13.3028 45.1539 13.0682 45.3562 12.7802V10.4602ZM45.4361 15.5002V14.8762C45.1167 15.1535 44.776 15.3562 44.414 15.4842C44.0521 15.6015 43.6741 15.6602 43.2802 15.6602C42.7053 15.6602 42.1571 15.5428 41.6354 15.3082C41.1244 15.0735 40.6985 14.7535 40.3579 14.3482C40.0491 13.9962 39.8043 13.5908 39.6233 13.1322C39.453 12.6628 39.3678 12.1615 39.3678 11.6282C39.3678 11.0522 39.4636 10.5188 39.6552 10.0282C39.8575 9.5375 40.129 9.11084 40.4697 8.74817C40.821 8.3855 41.2255 8.10284 41.6833 7.90017C42.1411 7.68684 42.6361 7.58017 43.1684 7.58017C44.0201 7.58017 44.7494 7.82017 45.3562 8.30017V4.30019H47.4322V15.5002H45.4361Z",fill:"white"}),(0,W.jsx)("path",{d:"M55.7878 14.2682C55.4152 14.7162 54.9415 15.0628 54.3666 15.3082C53.8023 15.5428 53.2168 15.6602 52.61 15.6602C52.0351 15.6602 51.4975 15.5642 50.9971 15.3722C50.5074 15.1802 50.0815 14.9082 49.7196 14.5562C49.3576 14.2042 49.0701 13.7828 48.8572 13.2922C48.6549 12.7908 48.5538 12.2362 48.5538 11.6282C48.5538 11.0842 48.639 10.5722 48.8093 10.0922C48.9903 9.6015 49.2458 9.1695 49.5758 8.79617C49.9059 8.42284 50.2998 8.1295 50.7576 7.91617C51.226 7.69217 51.7476 7.58017 52.3225 7.58017C52.8548 7.58017 53.3446 7.68684 53.7917 7.90017C54.2388 8.1135 54.6221 8.4015 54.9415 8.76417C55.2715 9.11617 55.527 9.53217 55.708 10.0122C55.889 10.4922 55.9795 11.0042 55.9795 11.5482C55.9795 11.7722 55.9635 11.9695 55.9316 12.1402H50.5659C50.5979 12.4175 50.6724 12.6682 50.7895 12.8922C50.9066 13.1162 51.0556 13.3082 51.2366 13.4682C51.4283 13.6282 51.6412 13.7562 51.8754 13.8522C52.1203 13.9375 52.3811 13.9802 52.6579 13.9802C53.105 13.9802 53.4936 13.8842 53.8236 13.6922C54.1643 13.4895 54.4251 13.2868 54.6061 13.0842L55.7878 14.2682ZM53.8556 10.6202C53.8343 10.4495 53.781 10.2842 53.6959 10.1242C53.6214 9.9535 53.5149 9.80417 53.3765 9.67617C53.2487 9.54817 53.0944 9.44684 52.9134 9.37217C52.7324 9.2975 52.5354 9.26017 52.3225 9.26017C51.886 9.26017 51.5134 9.39884 51.2047 9.67617C50.896 9.9535 50.715 10.2682 50.6617 10.6202H53.8556Z",fill:"white"}),(0,W.jsx)("path",{d:"M56.617 11.6282C56.617 11.0735 56.7181 10.5508 56.9204 10.0602C57.1333 9.55884 57.4208 9.12684 57.7827 8.76417C58.1554 8.4015 58.5918 8.1135 59.0922 7.90017C59.6032 7.68684 60.1515 7.58017 60.737 7.58017C61.3226 7.58017 61.8655 7.68684 62.3659 7.90017C62.8769 8.1135 63.3134 8.4015 63.6754 8.76417C64.048 9.12684 64.3354 9.55884 64.5377 10.0602C64.7506 10.5508 64.8571 11.0735 64.8571 11.6282C64.8571 12.1935 64.7506 12.7215 64.5377 13.2122C64.3354 13.6922 64.048 14.1188 63.6754 14.4922C63.3134 14.8548 62.8769 15.1428 62.3659 15.3562C61.8655 15.5588 61.3226 15.6602 60.737 15.6602C60.1515 15.6602 59.6032 15.5588 59.0922 15.3562C58.5918 15.1428 58.1554 14.8548 57.7827 14.4922C57.4208 14.1188 57.1333 13.6922 56.9204 13.2122C56.7181 12.7215 56.617 12.1935 56.617 11.6282ZM58.693 11.6282C58.693 11.9162 58.7409 12.1882 58.8367 12.4442C58.9432 12.7002 59.0816 12.9242 59.2519 13.1162C59.4329 13.3082 59.6458 13.4628 59.8907 13.5802C60.1462 13.6868 60.4283 13.7402 60.737 13.7402C61.0351 13.7402 61.3119 13.6868 61.5674 13.5802C61.8229 13.4628 62.0359 13.3082 62.2062 13.1162C62.3872 12.9242 62.5256 12.7002 62.6214 12.4442C62.7279 12.1882 62.7811 11.9162 62.7811 11.6282C62.7811 11.3402 62.7279 11.0682 62.6214 10.8122C62.5256 10.5455 62.3872 10.3162 62.2062 10.1242C62.0359 9.93217 61.8229 9.78284 61.5674 9.67617C61.3119 9.55884 61.0351 9.50017 60.737 9.50017C60.4283 9.50017 60.1462 9.55884 59.8907 9.67617C59.6458 9.78284 59.4329 9.93217 59.2519 10.1242C59.0816 10.3162 58.9432 10.5455 58.8367 10.8122C58.7409 11.0682 58.693 11.3402 58.693 11.6282Z",fill:"white"}),(0,W.jsx)("path",{d:"M63.9359 4.30017H66.1077L68.4233 11.2922L70.8825 4.30017H72.3996L74.8589 11.2922L77.1744 4.30017H79.3462L75.6413 15.5002H74.1243L71.6331 8.41217L69.1579 15.5002H67.6408L63.9359 4.30017Z",fill:"white"}),(0,W.jsx)("path",{d:"M82.1464 15.5002H80.0704V7.74017H82.1464V15.5002ZM79.751 5.62817C79.751 5.25484 79.8841 4.94017 80.1503 4.68417C80.4164 4.42817 80.7358 4.30017 81.1084 4.30017C81.481 4.30017 81.8004 4.42817 82.0666 4.68417C82.3327 4.94017 82.4658 5.25484 82.4658 5.62817C82.4658 6.0015 82.3327 6.31617 82.0666 6.57217C81.8004 6.82817 81.481 6.95617 81.1084 6.95617C80.7358 6.95617 80.4164 6.82817 80.1503 6.57217C79.8841 6.31617 79.751 6.0015 79.751 5.62817Z",fill:"white"}),(0,W.jsx)("path",{d:"M84.1469 13.1322C84.4131 13.3775 84.7325 13.5695 85.1051 13.7082C85.4883 13.8362 85.8769 13.9002 86.2708 13.9002C86.5476 13.9002 86.7818 13.8415 86.9735 13.7242C87.1651 13.5962 87.2609 13.4362 87.2609 13.2442C87.2609 13.0522 87.1651 12.8975 86.9735 12.7802C86.7925 12.6522 86.5636 12.5402 86.2868 12.4442C86.01 12.3375 85.7066 12.2308 85.3765 12.1242C85.0572 12.0068 84.7591 11.8628 84.4823 11.6922C84.2055 11.5108 83.9713 11.2868 83.7796 11.0202C83.5986 10.7535 83.5082 10.4122 83.5082 9.99617C83.5082 9.62284 83.588 9.28684 83.7477 8.98817C83.918 8.6895 84.1416 8.43884 84.4184 8.23617C84.6952 8.02284 85.0093 7.86284 85.3606 7.75617C85.7225 7.63884 86.0952 7.58017 86.4784 7.58017C86.7339 7.58017 86.9894 7.6015 87.2449 7.64417C87.5005 7.68684 87.74 7.7455 87.9636 7.82017C88.1978 7.89484 88.4107 7.98017 88.6023 8.07617C88.8046 8.17217 88.9696 8.26817 89.0974 8.36417L88.1232 9.86817C87.921 9.71884 87.6921 9.59617 87.4366 9.50017C87.1811 9.3935 86.9149 9.34017 86.6381 9.34017C86.3507 9.34017 86.1005 9.3935 85.8876 9.50017C85.6853 9.60684 85.5841 9.7615 85.5841 9.96417C85.5841 10.1348 85.6746 10.2735 85.8556 10.3802C86.0473 10.4762 86.2815 10.5722 86.5583 10.6682C86.8351 10.7642 87.1332 10.8708 87.4525 10.9882C87.7826 11.0948 88.086 11.2442 88.3628 11.4362C88.6396 11.6282 88.8685 11.8682 89.0495 12.1562C89.2411 12.4442 89.3369 12.8122 89.3369 13.2602C89.3369 13.6335 89.2517 13.9695 89.0814 14.2682C88.9111 14.5562 88.6822 14.8068 88.3947 15.0202C88.1179 15.2228 87.7932 15.3828 87.4206 15.5002C87.048 15.6068 86.6594 15.6602 86.2548 15.6602C85.7119 15.6602 85.1689 15.5748 84.626 15.4042C84.0937 15.2228 83.5986 14.9615 83.1409 14.6202L84.1469 13.1322Z",fill:"white"}),(0,W.jsx)("path",{d:"M97.2091 14.2682C96.8365 14.7162 96.3627 15.0628 95.7878 15.3082C95.2236 15.5428 94.638 15.6602 94.0312 15.6602C93.4563 15.6602 92.9187 15.5642 92.4183 15.3722C91.9286 15.1802 91.5028 14.9082 91.1408 14.5562C90.7788 14.2042 90.4914 13.7828 90.2785 13.2922C90.0762 12.7908 89.975 12.2362 89.975 11.6282C89.975 11.0842 90.0602 10.5722 90.2306 10.0922C90.4115 9.6015 90.667 9.1695 90.9971 8.79617C91.3271 8.42284 91.721 8.1295 92.1788 7.91617C92.6472 7.69217 93.1689 7.58017 93.7438 7.58017C94.2761 7.58017 94.7658 7.68684 95.2129 7.90017C95.6601 8.1135 96.0433 8.4015 96.3627 8.76417C96.6927 9.11617 96.9482 9.53217 97.1292 10.0122C97.3102 10.4922 97.4007 11.0042 97.4007 11.5482C97.4007 11.7722 97.3847 11.9695 97.3528 12.1402H91.9872C92.0191 12.4175 92.0936 12.6682 92.2107 12.8922C92.3278 13.1162 92.4769 13.3082 92.6579 13.4682C92.8495 13.6282 93.0624 13.7562 93.2966 13.8522C93.5415 13.9375 93.8023 13.9802 94.0791 13.9802C94.5263 13.9802 94.9148 13.8842 95.2449 13.6922C95.5855 13.4895 95.8464 13.2868 96.0274 13.0842L97.2091 14.2682ZM95.2768 10.6202C95.2555 10.4495 95.2023 10.2842 95.1171 10.1242C95.0426 9.9535 94.9361 9.80417 94.7977 9.67617C94.67 9.54817 94.5156 9.44684 94.3346 9.37217C94.1536 9.2975 93.9567 9.26017 93.7438 9.26017C93.3073 9.26017 92.9347 9.39884 92.6259 9.67617C92.3172 9.9535 92.1362 10.2682 92.083 10.6202H95.2768Z",fill:"white"})]})}),(0,W.jsx)("span",{className:"vw-cmp__badge--label",children:"Shoppable videos"})]})}):(0,W.jsx)("div",{className:"vw-powerby vw-cmp__badge--root",children:(0,W.jsxs)("a",{rel:"noreferrer",target:"_blank",href:"https://apps.shopify.com/videowise-shoppable-video",title:"VideoWise - Shopify Video Marketing","aria-label":"VideoWise Shopify Shoppable Video Marketing",children:[(0,W.jsx)("span",{className:"vw-cmp__badge--icon",children:(0,W.jsxs)("svg",{width:"98",height:"20",viewBox:"0 0 98 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("path",{d:"M0 1.3759C0 0.367128 1.05066 -0.297851 1.96238 0.133887L20.1742 8.75798C21.2223 9.25431 21.2223 10.7457 20.1742 11.242L1.96238 19.8661C1.05066 20.2979 0 19.6329 0 18.6241V1.3759Z",fill:"url(#paint0_linearLogo)"}),(0,W.jsx)("path",{d:"M0 2.80847L13.44 9.17288C14.1382 9.50353 14.1382 10.4971 13.44 10.8277L0 17.1921V2.80847Z",fill:"url(#paint1_linearLogo)"}),(0,W.jsx)("path",{d:"M0 6.38098L6.76279 9.58345C7.11414 9.74983 7.11414 10.2498 6.76279 10.4162L0 13.6186V6.38098Z",fill:"url(#paint2_linearLogo)"}),(0,W.jsx)("path",{d:"M24.9007 4.30017H27.1204L30.1706 11.9482L33.2366 4.30017H35.4564L30.9371 15.5002H29.42L24.9007 4.30017Z",fill:"#473059"}),(0,W.jsx)("path",{d:"M38.2456 15.5002H36.1696V7.74017H38.2456V15.5002ZM35.8502 5.62819C35.8502 5.25486 35.9833 4.94019 36.2494 4.68419C36.5156 4.42819 36.835 4.30019 37.2076 4.30019C37.5802 4.30019 37.8996 4.42819 38.1657 4.68419C38.4319 4.94019 38.565 5.25486 38.565 5.62819C38.565 6.00152 38.4319 6.31619 38.1657 6.57219C37.8996 6.82819 37.5802 6.95619 37.2076 6.95619C36.835 6.95619 36.5156 6.82819 36.2494 6.57219C35.9833 6.31619 35.8502 6.00152 35.8502 5.62819Z",fill:"#473059"}),(0,W.jsx)("path",{d:"M45.3562 10.4602C45.1433 10.1722 44.8718 9.94284 44.5418 9.77217C44.2118 9.59084 43.8445 9.50017 43.4399 9.50017C43.1312 9.50017 42.8544 9.55884 42.6095 9.67617C42.3647 9.7935 42.1571 9.9535 41.9867 10.1562C41.8164 10.3482 41.6833 10.5722 41.5875 10.8282C41.4917 11.0842 41.4438 11.3508 41.4438 11.6282C41.4438 11.9375 41.4917 12.2202 41.5875 12.4762C41.694 12.7322 41.8377 12.9562 42.0187 13.1482C42.2103 13.3295 42.4286 13.4735 42.6734 13.5802C42.9289 13.6868 43.2004 13.7402 43.4878 13.7402C43.8818 13.7402 44.2384 13.6548 44.5578 13.4842C44.8878 13.3028 45.154 13.0682 45.3562 12.7802V10.4602ZM45.4361 15.5002V14.8762C45.1167 15.1535 44.776 15.3562 44.4141 15.4842C44.0521 15.6015 43.6742 15.6602 43.2802 15.6602C42.7054 15.6602 42.1571 15.5428 41.6354 15.3082C41.1244 15.0735 40.6986 14.7535 40.3579 14.3482C40.0492 13.9962 39.8043 13.5908 39.6233 13.1322C39.453 12.6628 39.3678 12.1615 39.3678 11.6282C39.3678 11.0522 39.4636 10.5188 39.6552 10.0282C39.8575 9.5375 40.129 9.11084 40.4697 8.74817C40.821 8.3855 41.2255 8.10284 41.6833 7.90017C42.1411 7.68684 42.6362 7.58017 43.1685 7.58017C44.0202 7.58017 44.7494 7.82017 45.3562 8.30017V4.30019H47.4322V15.5002H45.4361Z",fill:"#473059"}),(0,W.jsx)("path",{d:"M55.7879 14.2682C55.4152 14.7162 54.9415 15.0628 54.3666 15.3082C53.8024 15.5428 53.2168 15.6602 52.61 15.6602C52.0351 15.6602 51.4975 15.5642 50.9971 15.3722C50.5074 15.1802 50.0815 14.9082 49.7196 14.5562C49.3576 14.2042 49.0702 13.7828 48.8572 13.2922C48.655 12.7908 48.5538 12.2362 48.5538 11.6282C48.5538 11.0842 48.639 10.5722 48.8093 10.0922C48.9903 9.6015 49.2458 9.1695 49.5758 8.79617C49.9059 8.42284 50.2998 8.1295 50.7576 7.91617C51.226 7.69217 51.7477 7.58017 52.3225 7.58017C52.8548 7.58017 53.3446 7.68684 53.7917 7.90017C54.2388 8.1135 54.6221 8.4015 54.9415 8.76417C55.2715 9.11617 55.527 9.53217 55.708 10.0122C55.889 10.4922 55.9795 11.0042 55.9795 11.5482C55.9795 11.7722 55.9635 11.9695 55.9316 12.1402H50.5659C50.5979 12.4175 50.6724 12.6682 50.7895 12.8922C50.9066 13.1162 51.0557 13.3082 51.2366 13.4682C51.4283 13.6282 51.6412 13.7562 51.8754 13.8522C52.1203 13.9375 52.3811 13.9802 52.6579 13.9802C53.105 13.9802 53.4936 13.8842 53.8236 13.6922C54.1643 13.4895 54.4252 13.2868 54.6061 13.0842L55.7879 14.2682ZM53.8556 10.6202C53.8343 10.4495 53.7811 10.2842 53.6959 10.1242C53.6214 9.9535 53.5149 9.80417 53.3765 9.67617C53.2488 9.54817 53.0944 9.44684 52.9134 9.37217C52.7324 9.2975 52.5355 9.26017 52.3225 9.26017C51.8861 9.26017 51.5134 9.39884 51.2047 9.67617C50.896 9.9535 50.715 10.2682 50.6618 10.6202H53.8556Z",fill:"#473059"}),(0,W.jsx)("path",{d:"M56.617 11.6282C56.617 11.0735 56.7181 10.5508 56.9204 10.0602C57.1333 9.55884 57.4208 9.12684 57.7828 8.76417C58.1554 8.4015 58.5919 8.1135 59.0922 7.90017C59.6032 7.68684 60.1515 7.58017 60.7371 7.58017C61.3226 7.58017 61.8655 7.68684 62.3659 7.90017C62.8769 8.1135 63.3134 8.4015 63.6754 8.76417C64.048 9.12684 64.3354 9.55884 64.5377 10.0602C64.7506 10.5508 64.8571 11.0735 64.8571 11.6282C64.8571 12.1935 64.7506 12.7215 64.5377 13.2122C64.3354 13.6922 64.048 14.1188 63.6754 14.4922C63.3134 14.8548 62.8769 15.1428 62.3659 15.3562C61.8655 15.5588 61.3226 15.6602 60.7371 15.6602C60.1515 15.6602 59.6032 15.5588 59.0922 15.3562C58.5919 15.1428 58.1554 14.8548 57.7828 14.4922C57.4208 14.1188 57.1333 13.6922 56.9204 13.2122C56.7181 12.7215 56.617 12.1935 56.617 11.6282ZM58.693 11.6282C58.693 11.9162 58.7409 12.1882 58.8367 12.4442C58.9432 12.7002 59.0816 12.9242 59.2519 13.1162C59.4329 13.3082 59.6458 13.4628 59.8907 13.5802C60.1462 13.6868 60.4283 13.7402 60.7371 13.7402C61.0351 13.7402 61.3119 13.6868 61.5675 13.5802C61.823 13.4628 62.0359 13.3082 62.2062 13.1162C62.3872 12.9242 62.5256 12.7002 62.6214 12.4442C62.7279 12.1882 62.7811 11.9162 62.7811 11.6282C62.7811 11.3402 62.7279 11.0682 62.6214 10.8122C62.5256 10.5455 62.3872 10.3162 62.2062 10.1242C62.0359 9.93217 61.823 9.78284 61.5675 9.67617C61.3119 9.55884 61.0351 9.50017 60.7371 9.50017C60.4283 9.50017 60.1462 9.55884 59.8907 9.67617C59.6458 9.78284 59.4329 9.93217 59.2519 10.1242C59.0816 10.3162 58.9432 10.5455 58.8367 10.8122C58.7409 11.0682 58.693 11.3402 58.693 11.6282Z",fill:"#473059"}),(0,W.jsx)("path",{d:"M63.9359 4.30017H66.1078L68.4233 11.2922L70.8825 4.30017H72.3996L74.8589 11.2922L77.1744 4.30017H79.3462L75.6414 15.5002H74.1243L71.6331 8.41217L69.1579 15.5002H67.6408L63.9359 4.30017Z",fill:"#473059"}),(0,W.jsx)("path",{d:"M82.1464 15.5002H80.0704V7.74017H82.1464V15.5002ZM79.751 5.62817C79.751 5.25484 79.8841 4.94017 80.1503 4.68417C80.4164 4.42817 80.7358 4.30017 81.1084 4.30017C81.481 4.30017 81.8004 4.42817 82.0666 4.68417C82.3327 4.94017 82.4658 5.25484 82.4658 5.62817C82.4658 6.0015 82.3327 6.31617 82.0666 6.57217C81.8004 6.82817 81.481 6.95617 81.1084 6.95617C80.7358 6.95617 80.4164 6.82817 80.1503 6.57217C79.8841 6.31617 79.751 6.0015 79.751 5.62817Z",fill:"#473059"}),(0,W.jsx)("path",{d:"M84.1469 13.1322C84.4131 13.3775 84.7325 13.5695 85.1051 13.7082C85.4883 13.8362 85.8769 13.9002 86.2708 13.9002C86.5476 13.9002 86.7819 13.8415 86.9735 13.7242C87.1651 13.5962 87.2609 13.4362 87.2609 13.2442C87.2609 13.0522 87.1651 12.8975 86.9735 12.7802C86.7925 12.6522 86.5636 12.5402 86.2868 12.4442C86.01 12.3375 85.7066 12.2308 85.3766 12.1242C85.0572 12.0068 84.7591 11.8628 84.4823 11.6922C84.2055 11.5108 83.9713 11.2868 83.7796 11.0202C83.5987 10.7535 83.5082 10.4122 83.5082 9.99617C83.5082 9.62284 83.588 9.28684 83.7477 8.98817C83.918 8.6895 84.1416 8.43884 84.4184 8.23617C84.6952 8.02284 85.0093 7.86284 85.3606 7.75617C85.7226 7.63884 86.0952 7.58017 86.4784 7.58017C86.7339 7.58017 86.9895 7.6015 87.245 7.64417C87.5005 7.68684 87.74 7.7455 87.9636 7.82017C88.1978 7.89484 88.4107 7.98017 88.6023 8.07617C88.8046 8.17217 88.9696 8.26817 89.0974 8.36417L88.1233 9.86817C87.921 9.71884 87.6921 9.59617 87.4366 9.50017C87.1811 9.3935 86.9149 9.34017 86.6381 9.34017C86.3507 9.34017 86.1005 9.3935 85.8876 9.50017C85.6853 9.60684 85.5842 9.7615 85.5842 9.96417C85.5842 10.1348 85.6747 10.2735 85.8556 10.3802C86.0473 10.4762 86.2815 10.5722 86.5583 10.6682C86.8351 10.7642 87.1332 10.8708 87.4526 10.9882C87.7826 11.0948 88.086 11.2442 88.3628 11.4362C88.6396 11.6282 88.8685 11.8682 89.0495 12.1562C89.2411 12.4442 89.3369 12.8122 89.3369 13.2602C89.3369 13.6335 89.2517 13.9695 89.0814 14.2682C88.9111 14.5562 88.6822 14.8068 88.3947 15.0202C88.1179 15.2228 87.7932 15.3828 87.4206 15.5002C87.048 15.6068 86.6594 15.6602 86.2549 15.6602C85.7119 15.6602 85.169 15.5748 84.626 15.4042C84.0937 15.2228 83.5987 14.9615 83.1409 14.6202L84.1469 13.1322Z",fill:"#473059"}),(0,W.jsx)("path",{d:"M97.2091 14.2682C96.8365 14.7162 96.3627 15.0628 95.7878 15.3082C95.2236 15.5428 94.6381 15.6602 94.0312 15.6602C93.4563 15.6602 92.9187 15.5642 92.4183 15.3722C91.9286 15.1802 91.5028 14.9082 91.1408 14.5562C90.7788 14.2042 90.4914 13.7828 90.2785 13.2922C90.0762 12.7908 89.9751 12.2362 89.9751 11.6282C89.9751 11.0842 90.0602 10.5722 90.2306 10.0922C90.4116 9.6015 90.6671 9.1695 90.9971 8.79617C91.3271 8.42284 91.721 8.1295 92.1788 7.91617C92.6472 7.69217 93.1689 7.58017 93.7438 7.58017C94.2761 7.58017 94.7658 7.68684 95.2129 7.90017C95.6601 8.1135 96.0434 8.4015 96.3627 8.76417C96.6928 9.11617 96.9483 9.53217 97.1292 10.0122C97.3102 10.4922 97.4007 11.0042 97.4007 11.5482C97.4007 11.7722 97.3848 11.9695 97.3528 12.1402H91.9872C92.0191 12.4175 92.0936 12.6682 92.2107 12.8922C92.3279 13.1162 92.4769 13.3082 92.6579 13.4682C92.8495 13.6282 93.0624 13.7562 93.2967 13.8522C93.5415 13.9375 93.8023 13.9802 94.0791 13.9802C94.5263 13.9802 94.9149 13.8842 95.2449 13.6922C95.5856 13.4895 95.8464 13.2868 96.0274 13.0842L97.2091 14.2682ZM95.2768 10.6202C95.2555 10.4495 95.2023 10.2842 95.1171 10.1242C95.0426 9.9535 94.9362 9.80417 94.7978 9.67617C94.67 9.54817 94.5156 9.44684 94.3346 9.37217C94.1537 9.2975 93.9567 9.26017 93.7438 9.26017C93.3073 9.26017 92.9347 9.39884 92.6259 9.67617C92.3172 9.9535 92.1362 10.2682 92.083 10.6202H95.2768Z",fill:"#473059"}),(0,W.jsxs)("defs",{children:[(0,W.jsxs)("linearGradient",{id:"paint0_linearLogo",x1:"0",y1:"7.95393",x2:"25.1027",y2:"7.95393",gradientUnits:"userSpaceOnUse",children:[(0,W.jsx)("stop",{stopColor:"#FF6451"}),(0,W.jsx)("stop",{offset:"1",stopColor:"#FF7658"})]}),(0,W.jsxs)("linearGradient",{id:"paint1_linearLogo",x1:"-1.89884",y1:"10.2904",x2:"9.57017",y2:"10.288",gradientUnits:"userSpaceOnUse",children:[(0,W.jsx)("stop",{stopColor:"#FFC47D"}),(0,W.jsx)("stop",{offset:"1",stopColor:"#FFE9AF"})]}),(0,W.jsxs)("linearGradient",{id:"paint2_linearLogo",x1:"-2.55942",y1:"10.4349",x2:"9.05156",y2:"10.4159",gradientUnits:"userSpaceOnUse",children:[(0,W.jsx)("stop",{stopColor:"#6054E5"}),(0,W.jsx)("stop",{offset:"1",stopColor:"#B8BFFF"})]})]})]})}),(0,W.jsx)("span",{className:"vw-cmp__badge--label",children:"Shoppable videos"})]})})};const Pe=function(e){var t=e.options,r=e.variants,n=e.onCallback,o=r.length,i=function(){var e=Lr(r);if(e){var t=e.price,o=e.id;n({price:t,id:o})}};return(0,W.jsx)("div",{className:"vw-cmp__select-root",children:t&&o>1&&(0,W.jsx)("div",{className:"vw-shoppable__options",children:t.map((function(e,t){var r=e.name;return(0,W.jsxs)("div",{className:"vw__select-row",children:[(0,W.jsx)("label",{children:r}),(0,W.jsx)("div",{className:"vw__select",children:(0,W.jsxs)("div",{className:"vw__select-item",children:[(0,W.jsx)("select",{className:"vw-shoppable__select-item",onChange:i,children:e.values.map((function(e,t){return(0,W.jsx)("option",{value:e,children:e},t)}))}),(0,W.jsx)("span",{className:"shoppable__select--arrow",children:(0,W.jsx)("svg",{width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,W.jsx)("path",{d:"M2 1.5L7 6.5L12 1.5",stroke:"#8F8F8F","stroke-width":"1.5","stroke-linecap":"square"})})})]})})]},"selectitem-".concat(t))}))})})};function Me(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 Ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(r),!0).forEach((function(t){Ne(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Te(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(s){return void r(s)}c.done?t(l):Promise.resolve(l).then(n,o)}function Re(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Te(i,n,o,a,c,"next",e)}function c(e){Te(i,n,o,a,c,"throw",e)}a(void 0)}))}}function De(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)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return He(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 He(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 He(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}const Ve=function(e){var t=e.product,r=e.appState,n=Be().player,i=r.trackingContext,a=n.addToCartButton,c=!t.available||s,l=De((0,Z.useState)(!1),2),s=l[0],u=l[1];function d(e,t,r){return f.apply(this,arguments)}function f(){return(f=Re(regeneratorRuntime.mark((function e(t,r,n){var o,a,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=window,a=o.Shopify,c=o.__st,e.abrupt("return",we(p,Ie({shop:a.shop,productRefId:n||c.rid,shopableVideo:r,cartId:t},i)));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var h=function(){var e=Re(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u(!0),r={"Content-type":"application/json"},n={items:[{id:t.selectedId,quantity:1}]},e.prev=3,e.next=6,o().post("/cart/add.js",n,{headers:r});case 6:return window.location="".concat(window.location.origin,"/cart"),e.next=9,d(L.Z.get(jr),!0,t.id);case 9:u(!1),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(3),console.error("Add to cart error: ",e.t0),u(!1);case 16:case"end":return e.stop()}}),e,null,[[3,12]])})));return function(){return e.apply(this,arguments)}}();return(0,W.jsxs)("button",{"aria-label":"add to cart",className:"vw-cmp__button-shoppable--primary",style:{background:a.backgroundColor,color:a.textColor,borderRadius:a.radius,border:a.showBorder?"".concat(a.borderColor," solid"):0,borderWidth:a.showBorder?"".concat(a.borderWidth):0},type:"button",disabled:c,onClick:h,children:[s&&(0,W.jsx)("span",{className:"vw__atc-loader"}),!s&&t.available&&(0,W.jsx)("span",{children:(0,W.jsxs)("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("path",{d:"M1.5  1.5H2.71922C3.17809 1.5 3.57807 1.8123 3.68937 2.25746L6.31063 12.7425C6.42193 13.1877 6.82191 13.5 7.28078 13.5H15.7792C16.2097 13.5 16.5918 13.2246 16.7279 12.8162L19.0613 5.81623C19.2771 5.16869 18.7951 4.5 18.1126 4.5H4.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,W.jsx)("circle",{cx:"14.5",cy:"18",r:"1.5",stroke:"currentColor",strokeWidth:"1.5"}),(0,W.jsx)("circle",{cx:"8.5",cy:"18",r:"1.5",stroke:"currentColor",strokeWidth:"1.5"})]})}),!s&&t.available&&a.text,!s&&!t.available&&"Sold out"]})};function Fe(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 Ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(r),!0).forEach((function(t){We(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function We(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ue(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)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Ge(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 Ge(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 Ge(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}const ze=function(){var e=Y(),t=q(),r=Be(),n=J(),o=r.player,i=o.customContent,a=o.addToCartButton,c=o.productInfo,l=o.playerFormat,s=e.product,u=n.showBadge,d=n.widget,p=(0,Ae.ac)("(max-width: 1023px)"),f=(null===d||void 0===d?void 0:d.videoType)===b,h=l?l.toLowerCase():C;f&&(h=C);var v=Ue((0,Z.useState)(!1),2),m=v[0],w=v[1],y=(0,se.Z)(We({},"vw-more--on",m)),g=(0,se.Z)("vw-cmp__details--bottom",We({},"vw-badge--visible",u)),x=function(e){var t,r=e.toString().replace(/,/g,"."),n=function(){var e=window.Shopify;return(null===e||void 0===e?void 0:e.currency.active)||""}();return t=parseFloat(r),new Intl.NumberFormat(void 0,{style:"currency",currency:"".concat(n)}).format(t)},j=function(){w(!0),t({type:ie})},A=function(e){e.preventDefault(),w(!1),t({type:ae})},_=function(e){var r=s.variants.find((function(t){return t.id===e.id}));s.available=r.available,s.selectedId=e.id,s.price=e.price;var n={product:Ze({},s)};t({type:ne,payload:n})},O=function(){return(0,W.jsxs)(W.Fragment,{children:[s&&s.image&&(0,W.jsx)("div",{className:"vw-cmp__image-wrapper",children:(0,W.jsx)("img",{src:s.image,alt:s.title})}),(0,W.jsxs)("div",{className:"vw-cmp__details--content",children:[s&&s.title&&(0,W.jsx)("div",{className:"vw-cmp__details--title",style:{color:c&&c.nameColor?c.nameColor:"#000"},children:s.title}),(0,W.jsxs)("div",{className:"vw-cmp__details--price-wrapper",children:[s&&s.oldPrice&&(0,W.jsx)("div",{className:"vw-cmp__details--price-old vw-cmp__details--price",children:x(s.oldPrice)}),s&&s.price&&(0,W.jsx)("div",{className:"vw-cmp__details--price",style:{color:c&&c.priceColor?c.priceColor:"#000"},children:x(s.price)})]}),s&&s.options&&s.variants&&(0,W.jsx)(Pe,{options:s.options,variants:s.variants,onCallback:_}),s&&Object.keys(s).length>0&&(0,W.jsx)(Ve,{product:s,appState:n}),i&&(null===i||void 0===i?void 0:i.showText)&&(null===i||void 0===i?void 0:i.text)&&(0,W.jsx)("small",{style:{color:i.textColor,fontWeight:"BOLD"===i.textWeight?"bold":"normal"},children:i.text})]}),u&&(0,W.jsx)(Le,{})]})};return(0,W.jsx)("div",{className:"vw-cmp__details ".concat(y),children:h===C?(0,W.jsx)(W.Fragment,{children:p?(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)("div",{className:"vw-cmp__details-inner",children:[(0,W.jsx)("a",{href:"#",className:"vw-button--hide",onClick:A,children:(0,W.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 45 44",fill:"none",children:[(0,W.jsx)("rect",{x:"2.51318",y:"2",width:"40",height:"40",rx:"20",fill:"white"}),(0,W.jsx)("path",{d:"M32.1792 18.6667L22.8459 29L13.5125 18.6667",stroke:"black",strokeWidth:"2"}),(0,W.jsx)("rect",{x:"1.51318",y:"1",width:"42",height:"42",rx:"21",stroke:"#2D2D2D",strokeOpacity:"0.2",strokeWidth:"2"})]})}),O()]}),(0,W.jsxs)("div",{className:"vw-cmp__details-preview",children:[(0,W.jsxs)("div",{className:"vw-cmp__details-preview-header",children:[(0,W.jsxs)("div",{onClick:j,children:[s&&s.image&&(0,W.jsx)("div",{className:"vw-cmp__image-wrapper",children:(0,W.jsx)("img",{src:s.image,alt:s.title})}),(0,W.jsxs)("div",{className:"vw-cmp__details--content",children:[s&&s.title&&(0,W.jsx)("div",{className:"vw-cmp__details--title",children:s.title}),s&&s.price&&(0,W.jsx)("div",{className:"vw-cmp__details--price",style:{color:s.color},children:x(s.price)})]})]}),(0,W.jsx)(_e,{callback:function(){return t({type:ce})},isMuted:e.muted})]}),(0,W.jsxs)("div",{className:g,children:[(0,W.jsx)("button",{"aria-label":"shop now",className:"vw-cmp__button-shoppable--secondary",style:{background:a.backgroundColor,color:a.textColor,borderRadius:a.radius,border:a.showBorder?"".concat(a.borderColor," solid"):0,borderWidth:a.showBorder?"".concat(a.borderWidth):0},type:"button",onClick:j,children:"Shop now"}),u&&(0,W.jsx)(Le,{type:"gray"})]})]})]}):(0,W.jsx)("div",{className:"vw-cmp__details-inner",children:O()})}):(0,W.jsx)(W.Fragment,{children:(0,W.jsx)("div",{className:"vw-cmp__details-inner",children:O()})})})};function Ye(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)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return qe(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 qe(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 qe(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}const Qe=function(){var e=Y(),t=e.togglePannel,r=e.isVisible,n=Ye((0,Z.useState)(r),2),o=n[0],i=n[1];return(0,Z.useEffect)((function(){i(!!t&&r)}),[r,t]),(0,W.jsx)(W.Fragment,{children:o&&(0,W.jsx)("div",{className:"vw-cmp__shoppable--root",children:(0,W.jsx)(ze,{})})})};function Ke(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(s){return void r(s)}c.done?t(l):Promise.resolve(l).then(n,o)}function Je(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 Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $e(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)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return et(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 et(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 et(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}const tt=function(e){var t=e.video,r=e.isPlaying,n=e.onEndedCallback,o=q(),i=Y(),a=J(),c=Be(),l=a.widget,s=a.trackingContext,u=c.player,p=$e((0,Z.useState)(!1),2),f=p[0],h=p[1],v=$e((0,Z.useState)(r),2),m=v[0],y=v[1],g=$e((0,Z.useState)(void 0),2),A=g[0],_=g[1],O=$e((0,Z.useState)(!1),2),k=O[0],S=O[1],B=$e((0,Z.useState)(!1),2),E=B[0],L=B[1],P=$e((0,Z.useState)(!0),2),M=P[0],I=P[1],N=(0,Z.useRef)(null),T=t.products&&t.products.length>0;i.togglePannel||(T=!1);var R=(0,Ae.ac)("(max-width: 1023px)"),D=(null===l||void 0===l?void 0:l.videoType)===x,H=(null===l||void 0===l?void 0:l.videoType)===b,V=u&&u.playerFormat&&u.playerFormat.toLowerCase()===j?j:C;H&&(V=C);var F=V===C,U=!F,G=function(e){A>80*Math.floor(e.duration)/100&&M&&(ye(w,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Je(Object(r),!0).forEach((function(t){Xe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Je(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({videoId:e.id},s)),I(!1))},z=function(){var e;return null===(e=t.thumbnail)||void 0===e?void 0:e.url},Q=function(){var e=N.current.getInternalPlayer();if(e){var t=e.muted;e.muted=!t,S(!t)}},K=function(){var e=N.current.getInternalPlayer();e.paused?e.play():e.pause()};return(0,Z.useEffect)((function(){var e;(e=regeneratorRuntime.mark((function e(){var n,i,a,c,s,u,p,f,h,v,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r||l.type!==d){e.next=16;break}if(i=t.products[0],a=null===(n=t.products[0])||void 0===n?void 0:n.handle,i){e.next=6;break}return o({type:oe,payload:{visible:!1}}),e.abrupt("return");case 6:return e.prev=6,e.next=9,Er(a);case 9:(c=e.sent)&&(s=c.title,u=c.featured_image,p=c.options,f=c.variants,h=c.id,v=f[0],m=isNaN(parseInt(v.compare_at_price))?void 0:parseInt(v.compare_at_price),o({type:re,payload:{product:{id:h,available:v.available,title:s,image:u,options:p,variants:f,price:v.price,oldPrice:m,selectedId:v.id,handle:a}}})),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(6),console.error("fetch product error: ",e.t0);case 16:case"end":return e.stop()}}),e,null,[[6,13]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ke(i,n,o,a,c,"next",e)}function c(e){Ke(i,n,o,a,c,"throw",e)}a(void 0)}))})()}),[r]),(0,Z.useEffect)((function(){i.showMore?N.current.getInternalPlayer()&&N.current.getInternalPlayer().pause():r&&N.current.getInternalPlayer()&&N.current.getInternalPlayer().paused&&N.current.getInternalPlayer().play()}),[i.showMore,r]),(0,Z.useEffect)((function(){i.muted?function(){var e=N.current.getInternalPlayer();e&&(e.muted=!0,S(!0))}():function(){var e=N.current.getInternalPlayer();e&&(e.muted=!1,S(!1))}()}),[i.muted,r]),(0,Z.useEffect)((function(){if(r){if(!i.togglePannel)return void L(!1);L(i.product)}}),[r,i.product,i.togglePannel]),(0,Z.useEffect)((function(){A&&G(t)}),[A]),(0,W.jsxs)("div",{className:"vw-cmp__player--video-container",children:[(0,W.jsxs)("div",{className:"vw-cmp__player--video-container-inner",children:[(0,W.jsxs)("div",{className:"vw-cmp__player--video-container-embed",children:[(0,W.jsx)(je.Z,{ref:N,url:function(e){var t=e.url,r=e.refId;return D?"https://www.youtube.com/watch?v=".concat(r):t}(t),className:"vw__video-player",width:"100%",height:"100%",controls:D,muted:!1,progressInterval:1e3,playing:r,playsinline:!0,onClick:K,onPause:function(){return h(!1)},onProgress:function(e){var t=e.playedSeconds;t>0&&_(t)},onDuration:function(){t.startTime&&N.current.seekTo(parseFloat(t.startTime),"seconds")},onEnded:function(){_(0),n()},onPlay:function(){h(!0),y(!1)}}),!D&&(0,W.jsxs)(W.Fragment,{children:[!m&&(0,W.jsx)(Oe,{callback:K,state:f}),(U||F&&!T)&&(0,W.jsx)(_e,{isMuted:k,callback:Q}),m&&(0,W.jsx)(ke,{})]}),(0,W.jsx)("div",{className:"vw-cmp__player--shadow vw-cmp__player--shadow-top"}),(0,W.jsx)("div",{className:"vw-cmp__player--shadow vw-cmp__player--shadow-bottom"})]}),function(e){if(!D&&!U)return(0,W.jsx)(W.Fragment,{children:(0,W.jsx)("img",{src:z(),className:"vw-cmp__player--background vw-cmp__player--background-img has-blur",alt:"VideoWise video image background"})})}()]}),R&&r&&E&&(0,W.jsx)(Qe,{})]})};const rt=function(e){var t=e.onPrev,r=e.onNext,n=e.position;return(0,W.jsxs)("div",{className:"vw-cmp__player-navigation",children:[(0,W.jsx)("button",{"aria-label":"pervious",type:"button",onClick:t,className:"vw-cmp__player-navigation-button vw-swiper__btn vw-swiper__btn--prev vw-swiper__btn-modal--prev vw-swiper__btn-".concat(n),children:"top"===n?(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)("span",{className:"vw-cmp__player-navigation-button-icon",children:(0,W.jsx)("svg",{width:"13",height:"22",viewBox:"0 0 13 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,W.jsx)("path",{d:"M11.3333 1.66699L2 11.0003L11.3333 20.3337",stroke:"white",strokeWidth:"2"})})}),(0,W.jsx)("span",{className:"vw-cmp__player-navigation-button-label",children:"Previous"})]}):(0,W.jsx)(W.Fragment,{children:(0,W.jsx)("span",{className:"vw-cmp__player-navigation-button-icon",children:(0,W.jsx)("svg",{width:"16",height:"30",viewBox:"0 0 16 30",fill:"none",children:(0,W.jsx)("path",{d:"M15.1111 1.66663L1.77777 15L15.1111 28.3333",stroke:"white",strokeWidth:"2"})})})})}),(0,W.jsx)("button",{"aria-label":"next",type:"button",onClick:r,className:"vw-cmp__player-navigation-button vw__swiper-btn vw-swiper__btn--next vw-swiper__btn-modal--next vw-swiper__btn-".concat(n),children:"top"===n?(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)("span",{className:"vw-cmp__player-navigation-button-label",children:"Next"}),(0,W.jsx)("span",{className:"vw-cmp__player-navigation-button-icon",children:(0,W.jsx)("svg",{width:"13",height:"22",viewBox:"0 0 13 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,W.jsx)("path",{d:"M1.66667 1.66699L11 11.0003L1.66667 20.3337",stroke:"white",strokeWidth:"2"})})})]}):(0,W.jsx)(W.Fragment,{children:(0,W.jsx)("span",{className:"vw-cmp__player-navigation-button-icon",children:(0,W.jsx)("svg",{width:"16",height:"30",viewBox:"0 0 16 30",fill:"none",children:(0,W.jsx)("path",{d:"M0.888837 1.66663L14.2222 15L0.888837 28.3333",stroke:"white",strokeWidth:"2"})})})})})]})};r(6039);function nt(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 ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function it(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)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return at(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 at(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 at(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}const ct=function(e){var t=e.selectedVideoId,r=e.onSelectVideo,n=(0,Z.useRef)(null),o=J(),i=Y().togglePannel,a=o.widget,c=o.videos,l=o.trackingContext,s=it((0,Z.useState)(void 0),2),u=s[0],p=s[1],f=it((0,Z.useState)(0),2),h=f[0],v=f[1],m=null===c||void 0===c?void 0:c.find((function(e){return e.id===t})),w=c.indexOf(m),g=(0,Ae.ac)("(max-width: 1023px)"),b=c.length,C=a.type===d,j=a.videoType===x,A=(0,se.Z)(ot({},"vw-player--independent",C)),_=function(){ye(y,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(r),!0).forEach((function(t){ot(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({videoId:t},l))},O=function(){var e;_(),n.current.isBeginning?n.current.slideTo(n.current.slides.length-1):null===(e=n.current)||void 0===e||e.slidePrev()},k=function(){_(),n.current.isEnd?n.current.slideTo(0):n.current.slideNext()},S=function(){n.current.slideNext()},B=function(){var e=j?"top":"center";return(0,W.jsx)(rt,{position:e,onNext:k,onPrev:O})},E=function(e){return e===u};return(0,Z.useEffect)((function(){p(w)}),[t]),(0,W.jsxs)("div",{className:"vw-cmp__swiper-root ".concat(A),children:[(0,W.jsx)(Ce.tq,{onSwiper:function(e){return n.current=e},initialSlide:w,onBeforeInit:function(e){return e.activeIndex=w},slidesPerView:1,spaceBetween:0,watchSlidesProgress:!0,cssMode:g,direction:g?"vertical":"horizontal",simulateTouch:g,onTouchEnd:_,onSlideChange:function(e){var t,n=e.realIndex;n!==w&&(p(n),h>0&&r((t=n)<c.length?c[t]:null),v(h+1))},children:c.map((function(e,t){var r,n=e&&e.products&&(null===e||void 0===e?void 0:e.products.length)>0&&(null===(r=e.products[0])||void 0===r?void 0:r.handle);i||(n=!1);var o=n?"vw-slide--has-product":"vw-slide--no-product";return(0,W.jsx)(Ce.o5,{className:o,children:(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(tt,{video:e,isPlaying:E(t),onEndedCallback:S}),b>1&&C&&B()]})},e.id)}))}),b>1&&!C&&B()]})};function lt(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(s){return void r(s)}c.done?t(l):Promise.resolve(l).then(n,o)}function st(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 ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?st(Object(r),!0).forEach((function(t){dt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pt(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)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return ft(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 ft(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 ft(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 ht={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.8)",zIndex:10010},content:{position:"absolute",top:"0",left:"0",right:"0",bottom:"0",border:"0",background:"none",overflow:"hidden",borderRadius:"0",WebkitOverflowScrolling:"touch",outline:"none",padding:"0"}};const vt=function(e){var t,r,n,o=e.selectedVideoId,i=e.onSelectVideo,a=e.onClose,c=e.isOpen,l=J(),s=Be(),d=(s.skin,s.player),p=Y(),f=p.showMore,m=p.product,w=p.togglePannel,y=q(),g=l.widget,x=l.trackingContext,A=pt((0,Z.useState)(0),2),_=A[0],O=A[1],k=pt((0,Z.useState)(m&&m.handle),2),S=k[0],B=k[1],E=(0,Ae.ac)("(max-width: 1023px)"),L=((0,Ae.ac)("(max-width: 576px)"),(null===g||void 0===g?void 0:g.videoType)===b),P=d&&d.cropVideo,M=d&&d.playerFormat&&d.playerFormat.toLowerCase()===j?j:C;L&&(M=C);var I=(0,se.Z)("vw-player__container vw-player__".concat(null===(t=g.videoType)||void 0===t?void 0:t.toLowerCase()," vw-player__").concat(M," vw-type__").concat(null===(r=g.type)||void 0===r?void 0:r.toLowerCase()),(dt(n={},"vw-show--badge",!1),dt(n,"vw-player--shoppable",S),dt(n,"vw-player--fullscreen",P),n));return(0,Z.useEffect)((function(){c?(ye(v,ut({videoId:o},x)),clearTimeout(_),O(setTimeout((function(){ye(h,ut({videoId:o},x))}),3e3))):clearTimeout(_)}),[o,c]),(0,Z.useEffect)((function(){if(c){var e=m&&m.price;w||(e=!1),B(e)}}),[c,m,w]),(0,Z.useEffect)((function(){var e;c&&g.type===u&&(e=regeneratorRuntime.mark((function e(){var t,r,n,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Er(m.handle);case 3:t=e.sent,r=t.title,n=t.options,o=t.variants,i=o[0],a=isNaN(parseInt(i.compare_at_price))?void 0:parseInt(i.compare_at_price),y({type:re,payload:{product:{available:i.available,title:r,options:n,variants:o,price:i.price,oldPrice:a,selectedId:i.id}}}),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error("fetch product error: ",e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){lt(i,n,o,a,c,"next",e)}function c(e){lt(i,n,o,a,c,"throw",e)}a(void 0)}))})()}),[c]),(0,W.jsx)(W.Fragment,{children:(0,W.jsx)(be(),{isOpen:c,ariaHideApp:!1,onBe:!0,onAfterOpen:function(){document.querySelector("html").classList.add("of-modal--open")},onAfterClose:function(){document.querySelector("html").classList.remove("of-modal--open")},shouldCloseOnEsc:!0,style:ht,onRequestClose:a,children:(0,W.jsxs)("div",{id:"vw-modal-root",className:"vw-cmp__modal-root vw-cmp__modal-root--".concat(M," ").concat(I),children:[(0,W.jsxs)("div",{className:"vw-cmp__modal--content",children:[(0,W.jsx)(ct,{selectedVideoId:o,onSelectVideo:i}),!E&&(0,W.jsx)(Qe,{})]}),!f&&(0,W.jsx)("div",{className:"vw-cmp__modal--button-close",onClick:a,children:(0,W.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("rect",{width:"48",height:"48",rx:"24",fill:"white"}),(0,W.jsx)("path",{d:"M15 15L33 33M15 33L33 15",stroke:"black",strokeWidth:"2"})]})})]})})})},mt=function(e){var t=Math.floor(e/3600),r=Math.floor((e-3600*t)/60),n=Math.floor(e-3600*t-60*r),o="";return t&&(o+="".concat(t<10?"0".concat(t):t.toString(),":")),o+="".concat(r<10?"0".concat(r):r.toString(),":"),o+="".concat(n<10?"0".concat(n):n.toString())};var wt=function(e){var t=e.style,r=e.size,n=e.position,o=e.opacity,i=e.borderColor,a=e.borderSize,c=e.background,l=e.animation,s=e.color,u=0===o?0:o/100;console.log("iconOpacity",u),console.log("opacity",o);var d={STANDARD:function(){return(0,W.jsxs)("svg",{viewBox:"0 0 200 200",fill:"none",children:[(0,W.jsx)("mask",{id:"qA",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"200",height:"200",maskType:"alpha",children:(0,W.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M200 0H0v200h200V0zM100 150c27.614 0 50-22.386 50-50s-22.386-50-50-50-50 22.386-50 50 22.386 50 50 50z"})}),(0,W.jsxs)("g",{mask:"url(#qA)",fillOpacity:u,children:[(0,W.jsx)("circle",{className:"pulse",fillOpacity:u<.1?0:u,fill:c,cx:"100",cy:"100",r:"50"}),(0,W.jsx)("circle",{className:"shine",strokeOpacity:u<.1?0:u,stroke:c,strokeWidth:"5",cx:"100",cy:"100",r:"47.5"})]}),(0,W.jsx)("path",{fill:c,fillOpacity:u,fillRule:"evenodd",d:"M100 150c27.614 0 50-22.386 50-50s-22.386-50-50-50-50 22.386-50 50 22.386 50 50 50zm22-50L89 81v38l33-19z"}),(0,W.jsx)("path",{fill:s,d:"M89 119V81l33 19-33 19z"})]})},OUTLINE:function(){return(0,W.jsxs)("svg",{viewBox:"0 0 200 200",fill:"none",children:[(0,W.jsx)("mask",{id:"qB",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"200",height:"200",maskType:"alpha",children:(0,W.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M200 0H0v200h200V0zM100 150c27.614 0 50-22.386 50-50s-22.386-50-50-50-50 22.386-50 50 22.386 50 50 50z"})}),(0,W.jsxs)("g",{mask:"url(#qB)",fillOpacity:u,children:[(0,W.jsx)("circle",{className:"pulse",fill:c,cx:"100",cy:"100",r:"50"}),(0,W.jsx)("circle",{className:"shine",stroke:c,strokeWidth:"5",cx:"100",cy:"100",r:"47.5"})]}),(0,W.jsx)("path",{fill:c,fillOpacity:u,fillRule:"evenodd",d:"M147 100c0 25.957-21.043 47-47 47s-47-21.043-47-47 21.043-47 47-47 47 21.043 47 47zm3 0c0 27.614-22.386 50-50 50s-50-22.386-50-50 22.386-50 50-50 50 22.386 50 50zm-28 0L89 81v38l33-19z"})]})},MINIMAL:function(){return(0,W.jsxs)("svg",{viewBox:"0 0 150 172",fill:"none",children:[(0,W.jsx)("mask",{id:"qC",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"150",height:"172",maskType:"alpha",children:(0,W.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M150 0H0v172h150V0zm-38 86L37 43v86l75-43z"})}),(0,W.jsxs)("g",{mask:"url(#qC)",fillOpacity:u,children:[(0,W.jsx)("path",{className:"pulse",fill:c,d:"M37 129V43l75 43-75 43z"}),(0,W.jsx)("path",{className:"shine",stroke:c,strokeWidth:"5",d:"M39.5 124.685v-77.37L106.974 86 39.5 124.685z"})]}),(0,W.jsx)("path",{fill:c,fillOpacity:u,d:"M37 129V43l75 43-75 43z"})]})},RECTANGLE:function(){return(0,W.jsxs)("svg",{viewBox:"0 0 200 148",fill:"none",children:[(0,W.jsx)("mask",{id:"qD",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"200",height:"148",maskType:"alpha",children:(0,W.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M200 0H0v148h200V0zM56 37a6 6 0 0 0-6 6v62a6 6 0 0 0 6 6h88a6 6 0 0 0 6-6V43a6 6 0 0 0-6-6H56z"})}),(0,W.jsxs)("g",{mask:"url(#qD)",fillOpacity:u,children:[(0,W.jsx)("rect",{className:"pulse",fill:c,x:"50",y:"37",width:"100",height:"74",rx:"6"}),(0,W.jsx)("rect",{className:"shine",stroke:c,strokeWidth:"5",x:"52.5",y:"39.5",width:"95",height:"69",rx:"3.5"})]}),(0,W.jsx)("path",{fill:c,fillOpacity:u,fillRule:"evenodd",d:"M56 37a6 6 0 0 0-6 6v62a6 6 0 0 0 6 6h88a6 6 0 0 0 6-6V43a6 6 0 0 0-6-6H56zm66 37L89 55v38l33-19z"}),(0,W.jsx)("path",{fill:s,d:"M89 93V55l33 19-33 19z"})]})}},p=l?"vw-cmp__animation--".concat(l.toLowerCase()):"",f={};a&&(f.border="".concat(a,"px solid ").concat(i)),c&&(f["--vw-button-background"]=c);var h=d[t];return(0,W.jsx)(W.Fragment,{children:(0,W.jsx)("div",{className:"vw-cmp__in-video-card-button vw-cmp__video-card--play-icon vw-cmp__icon-size--".concat(r," vw-cmp__icon-position--").concat(n," ").concat(p," ").concat(t),style:f,children:(0,W.jsx)("div",{children:(0,W.jsx)(h,{})})})})};wt.defaultProps={style:"Outline",size:"medium",background:"#FF4367",position:"center",opacity:"0.8",borderSize:0,borderColor:"transparent"};const yt=wt;function gt(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(s){return void r(s)}c.done?t(l):Promise.resolve(l).then(n,o)}var xt={landscape:"56.25%",portrait:"177.77%",square:"100%"};const bt=function(e){var t,r,n,o=e.video,a=e.onClick,c=Be().skin,l=J().widget,s=c.playButton,u=c.thumbnail,d=c.videoMetaData,p=o.thumbnail.url,f=o.title,h=o.duration,v=(null===s||void 0===s?void 0:s.type)===B?"iconButton":"textButton",m=s&&s.iconButton&&"NO_ANIMATION"!==s.iconButton.animation,w=s&&c.playButton[v].size?c.playButton[v].size.toLowerCase():"small",y=s&&s[v].position?s[v].position.toLowerCase():"center",g=m?s.iconButton.animation:null,x=u&&u.format?null===(t=u.format)||void 0===t?void 0:t.toLowerCase():"landscape",b=(0,se.Z)("vw-cmp__in-video-card--preview vw-cmp__in-video-card--position-".concat(y)),C="custom"===x?function(){var e=Number.parseFloat(u.width/u.height*100).toFixed(2);return"".concat(e,"%")}():xt[x],j={borderRadius:u&&u.radius?u.radius:null},A=d&&"BOLD"===d.titleTextWeight?"700":"400",_={color:d&&d.showTitle?d.titleTextColor:"#000",fontSize:d&&d.showTitle?d.titleTextSize:null,fontWeight:d&&d.showTitle?A:null},O={color:c.playButton[v]&&c.playButton[v].color?c.playButton[v].color:"#fff",background:c.playButton[v]&&c.playButton[v].backgroundColor?c.playButton[v].backgroundColor:"#000",border:c.playButton[v]&&c.playButton[v].showBorder?"".concat(c.playButton[v].borderWidth,"px solid ").concat(c.playButton[v].borderColor):0};(null===s||void 0===s?void 0:s.type)===E&&(O.borderRadius="".concat(c.playButton[v].radius,"px"));var k,S=function(){var e,t=(e=regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a();case 1: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){gt(i,n,o,a,c,"next",e)}function c(e){gt(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}();return(0,W.jsxs)("div",{onClick:S,className:"".concat(function(){var e=d&&d.placement.toLowerCase()||"over",t=["over","under","hidden"].find((function(t){return e.includes(t)}))||"over";return"".concat(i,"-content-").concat(t)}()," vw-cmp__in-video-card--root"),children:[(0,W.jsxs)("div",{className:b,style:{paddingBottom:C},children:[(0,W.jsxs)("div",{className:"vw-cmp__in-video-card--thumb",style:j,children:[(0,W.jsx)("img",{src:p,alt:"thumbnail"}),u&&u.showBorder&&(0,W.jsx)("span",{className:"vw-cmp__in-video-card--thumb-border",style:{boxShadow:"inset 0 0 0 ".concat(u.borderWidth,"px ").concat(u.borderColor),borderRadius:u&&u.radius?u.radius:null}})]}),u&&u.autoplay&&(0,W.jsx)("div",{className:"vw-cmp__in-video-card--video",children:(0,W.jsx)(je.Z,{url:function(){var e=o.url,t=o.refId;return"youtube_video"===l.videoType?"https://www.youtube.com/watch?v=".concat(t):e}(),className:"vw__video-player",width:"100%",height:"100%",controls:!1,muted:!0,loop:!0,playing:!0,playsinline:!0})}),s&&s.type===B&&(0,W.jsx)(yt,{color:s[v].color,animation:g,style:s[v].style,size:w,position:y,opacity:s[v].backgroundOpacity,borderColor:s[v].borderColor,background:s[v].backgroundColor,borderSize:s[v]&&s[v].showBorder?s[v].borderWidth:null}),s&&s.type===E&&(null===(r=s[v])||void 0===r?void 0:r.text)&&(0,W.jsx)("div",{className:"vw-cmp__popup-card--cta-button vw-cmp__in-video-card-button",style:O,children:(0,W.jsx)("span",{children:null===(n=s[v])||void 0===n?void 0:n.text})}),d&&d.showDuration&&!!h&&(0,W.jsx)("div",{className:"vw-cmp__in-video-card--duration",children:mt(h)})]}),d&&d.showTitle&&(0,W.jsx)("div",{className:"vw-cmp__in-video-card--details vw-cmp__in-video-card--details--position-".concat(y),children:(0,W.jsx)("div",{className:"vw-cmp__in-video-card--title",style:_,dangerouslySetInnerHTML:(k=f,{__html:k})})})]})};const Ct=function(){var e=Be();if(e.skin.heading){var t=e.skin.heading,r=t.mainHeading,n=t.subHeading,o=t.alignment,i=t.bottomPadding,a=("CSS"===r.style&&"vw-cmp__top-heading--title ".concat(n.cssClass),"CSS"===n.style&&"vw-cmp__top-heading--subtitle ".concat(n.cssClass),function(e){var t=e.textSize,r=e.textWeight,n=e.textColor;return"SIMPLE"===e.style?{fontSize:t,fontWeight:"BOLD"===r?"700":"400",color:n||"#000"}:null}),c=function(e,t){var r=e.cssClass,n={title:"vw-cmp__top-heading--title",subtitle:"vw-cmp__top-heading--subtitle"};return"CSS"===e.style?"".concat(n[t]," ").concat(r):n[t]};return(0,W.jsx)(W.Fragment,{children:(r&&r.show||n&&n.show)&&(0,W.jsxs)("div",{className:"vw-cmp__top-heading vw-cmp__align--".concat(o.toLowerCase()),style:{marginBottom:i||null},children:[r&&r.show&&r.text&&(0,W.jsx)("div",{className:c(r,"title"),style:a(r),children:r.text}),n&&n.show&&n.text&&(0,W.jsx)("div",{className:c(n,"subtitle"),style:a(n),children:n.text})]})})}};const jt=function(e){var t=e.onSelect,r=J(),n=Be().skin,o=n.layout,i=n.spacing,a=r.videos[0],c=(0,se.Z)("vw-cmp__single--root vw-cmp__single--layout- vw-cmp__single--align-".concat("center")),l={background:o.background?o.background:"transparent",padding:"".concat(i.marginTopAndBottom,"px ").concat(i.marginSides,"px")};return(0,W.jsxs)("div",{className:c,style:l,children:[(0,W.jsx)(Ct,{}),(0,W.jsx)("div",{className:"vw-cmp__single--wrapper",children:(0,W.jsx)(bt,{video:a,onClick:function(){return t(a)}})})]})};function At(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)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return _t(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 _t(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 _t(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 Ot(e){var t=At((0,Z.useState)({width:0,height:0,displayType:g.Medium}),2),r=t[0],n=t[1],o=r.width,i=r.height,a=r.displayType;function c(){if(e){var t=e.getBoundingClientRect(),r=t.height,a=t.width,c=Object.keys(g).find((function(e){return a<=Number(g[e])}));a===o&&r===i||n({width:a,height:r,displayType:g[c]})}}return(0,Z.useEffect)((function(){function e(){c()}return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}})),c(),{height:i,width:o,displayType:a}}const kt=function(e){var t=e.onSelect,r=J(),n=Be(),o=r.containerElement,a=r.videos,c=n.skin,l=c.layout,s=c.spacing,u=Ot(o).displayType,d={columnGap:s.paddingBetween,rowGap:s.paddingBetween,gridTemplateColumns:"repeat(".concat(l.columns,", 1fr)")},p={background:l.background?l.background:"transparent",padding:"".concat(s.marginTopAndBottom,"px ").concat(s.marginSides,"px")};return(0,W.jsx)(W.Fragment,{children:(0,W.jsxs)("div",{className:"vw-cmp__inline-grid--root ".concat(function(){var e="".concat(i,"__grid--lg");return g.ExtraSmall===u&&(e="".concat(i,"__grid--sm")),e}()),style:p,children:[(0,W.jsx)(Ct,{}),(0,W.jsx)("div",{className:"vw-cmp__inline-grid--wrapper",style:d,children:a.map((function(e,r){return(0,W.jsx)(bt,{video:e,onClick:function(){return t(e)}},r)}))})]})})};var St=r(9257);r(4544);const Bt=function(e){var t=e.navKey,r=Be().skin;if(r.navigationArrows){var n=r.navigationArrows,o=n.arrowColor,i=n.backgroundColor,a=n.backgroundOpacity,c=n.iconType,l=n.position,s=n.size,u=o||"#000",d={ARROWS_LEFT:function(){return(0,W.jsx)("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,W.jsx)("path",{d:"M9.5 4.5L2 12M2 12L9.5 19.5M2 12H22",stroke:u,strokeWidth:"2",strokeLinecap:"square"})})},ARROWS_RIGHT:function(){return(0,W.jsx)("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,W.jsx)("path",{d:"M14.5 4.5L22 12M22 12L14.5 19.5M22 12H2",stroke:u,strokeWidth:"2",strokeLinecap:"square"})})},CIRCLE_ARROW_LEFT:function(){return(0,W.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("path",{d:"M32 16C32 7.16344 24.8366 0 16 0V0C7.16344 0 0 7.16344 0 16V16C0 24.8366 7.16344 32 16 32V32C24.8366 32 32 24.8366 32 16V16Z",fill:i,fillOpacity:a}),(0,W.jsx)("path",{d:"M13.5 9.5L7 16M7 16L13.5 22.5M7 16H25",stroke:u,strokeWidth:"2",strokeLinecap:"square"})]})},CIRCLE_ARROW_RIGHT:function(){return(0,W.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("path",{d:"M32 16C32 7.16344 24.8366 0 16 0V0C7.16344 0 0 7.16344 0 16V16C0 24.8366 7.16344 32 16 32V32C24.8366 32 32 24.8366 32 16V16Z",fill:i,fillOpacity:a}),(0,W.jsx)("path",{d:"M18.5 9.5L25 16M25 16L18.5 22.5M25 16H7",stroke:u,strokeWidth:"2",strokeLinecap:"square"})]})},SQUARE_ARROW_LEFT:function(){return(0,W.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("path",{d:"M32 4C32 1.79086 30.2091 0 28 0H4C1.79086 0 0 1.79086 0 4V28C0 30.2091 1.79086 32 4 32H28C30.2091 32 32 30.2091 32 28V4Z",fill:i,fillOpacity:a}),(0,W.jsx)("path",{d:"M12.5 9.5L6 16M6 16L12.5 22.5M6 16H26",stroke:u,strokeWidth:"2",strokeLinecap:"square"})]})},SQUARE_ARROW_RIGHT:function(){return(0,W.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("path",{d:"M32 4C32 1.79086 30.2091 0 28 0H4C1.79086 0 0 1.79086 0 4V28C0 30.2091 1.79086 32 4 32H28C30.2091 32 32 30.2091 32 28V4Z",fill:i,fillOpacity:a}),(0,W.jsx)("path",{d:"M19.5 9.5L26 16M26 16L19.5 22.5M26 16H6",stroke:u,strokeWidth:"2",strokeLinecap:"square"})]})},CHEVRON_LEFT:function(){return(0,W.jsx)("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,W.jsx)("path",{d:"M15.5 3.5L7 12L15.5 20.5",stroke:u,strokeWidth:"2",strokeLinecap:"square"})})},CHEVRON_RIGHT:function(){return(0,W.jsx)("svg",{width:"100%",height:"100%",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,W.jsx)("path",{d:"M8.5 3.5L17 12L8.5 20.5",stroke:u,strokeWidth:"2",strokeLinecap:"square"})})},CIRCLE_CHEVRON_LEFT:function(){return(0,W.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("path",{d:"M32 16C32 7.16344 24.8366 0 16 0V0C7.16344 0 0 7.16344 0 16V16C0 24.8366 7.16344 32 16 32V32C24.8366 32 32 24.8366 32 16V16Z",fill:i,fillOpacity:a}),(0,W.jsx)("path",{d:"M18.5 8.5L11 16L18.5 23.5",stroke:u,strokeWidth:"2",strokeLinecap:"square"})]})},CIRCLE_CHEVRON_RIGHT:function(){return(0,W.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("path",{d:"M32 16C32 7.16344 24.8366 0 16 0V0C7.16344 0 0 7.16344 0 16V16C0 24.8366 7.16344 32 16 32V32C24.8366 32 32 24.8366 32 16V16Z",fill:i,fillOpacity:a}),(0,W.jsx)("path",{d:"M13.5 8.5L21 16L13.5 23.5",stroke:u,strokeWidth:"2",strokeLinecap:"square"})]})},SQUARE_CHEVRON_LEFT:function(){return(0,W.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("path",{d:"M32 4C32 1.79086 30.2091 0 28 0H4C1.79086 0 0 1.79086 0 4V28C0 30.2091 1.79086 32 4 32H28C30.2091 32 32 30.2091 32 28V4Z",fill:i,fillOpacity:a}),(0,W.jsx)("path",{d:"M18.5 8.5L11 16L18.5 23.5",stroke:u,strokeWidth:"2",strokeLinecap:"square"})]})},SQUARE_CHEVRON_RIGHT:function(){return(0,W.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("path",{d:"M32 4C32 1.79086 30.2091 0 28 0H4C1.79086 0 0 1.79086 0 4V28C0 30.2091 1.79086 32 4 32H28C30.2091 32 32 30.2091 32 28V4Z",fill:i,fillOpacity:a}),(0,W.jsx)("path",{d:"M13.5 8.5L21 16L13.5 23.5",stroke:u,strokeWidth:"2",strokeLinecap:"square"})]})}},p=d["".concat(c,"_LEFT")],f=d["".concat(c,"_RIGHT")];return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)("button",{"aria-label":"prev",className:"rw__swiper--carousel-btn rw__swiper-btn--prev rw__swiper-btn--prev-carousel-".concat(t," rw__swiper--position-").concat(l.toLowerCase()," rw__swiper--carousel-btn-").concat(s.toLowerCase()),children:(0,W.jsx)(p,{})}),(0,W.jsx)("button",{"aria-label":"next",className:"rw__swiper--carousel-btn rw__swiper-btn--next rw__swiper-btn--next-carousel-".concat(t," rw__swiper--position-").concat(l.toLowerCase()," rw__swiper--carousel-btn-").concat(s.toLowerCase()),children:(0,W.jsx)(f,{})})]})}};const Et=function(e){var t,r,n,o=e.onSelect,i=J(),a=Be(),c=(0,Ae.ac)("(max-width: 1023px)"),l=i.containerElement,s=i.videos,u=a.skin,d=u.layout,p=u.spacing,f=u.navigationArrows,h=u.carouselAutoplay,v=u.videoMetaData,m=f&&"OUTSIDE_THE_SLIDER"===(null===f||void 0===f?void 0:f.position)?"outside":"inside",w=f.showNavigationDots,y=null===h||void 0===h?void 0:h.autoplay,g=null!==h&&void 0!==h&&h.secondsTillFlip?1e3*(null===h||void 0===h?void 0:h.secondsTillFlip):3e3,x=!!y&&{delay:g},b=v&&v.placement.toLowerCase()||"over",C=(0,se.Z)("vw-cmp__carousel--wrapper vw-cmp__carousel--navigation-".concat(m," vw-cmp__carousel-content-").concat(b),(n=w,(r="vw-cmp__carousel--pagination")in(t={})?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t)),j=((0,Ae.ac)("(max-width: 576px)"),Ot(l).displayType,Math.floor(100*Math.random())),A=d?{background:d.background?d.background:null,padding:"".concat(p.marginTopAndBottom,"px ").concat(p.marginSides,"px")}:null;return(0,W.jsx)(W.Fragment,{children:(0,W.jsxs)("div",{className:"vw-cmp__carousel--root",style:A,children:[(0,W.jsx)(Ct,{}),(0,W.jsxs)("div",{className:C,children:[(0,W.jsx)(W.Fragment,{children:(0,W.jsx)(Ce.tq,{modules:[St.W_,St.tl,St.pt],slidesPerView:d&&d.columns?d.columns:2,simulateTouch:c,pagination:w,shortSwipes:!0,autoplay:x,loop:!!y,spaceBetween:p&&p.paddingBetween||0,navigation:{prevEl:".rw__swiper-btn--prev-carousel-".concat(j),nextEl:".rw__swiper-btn--next-carousel-".concat(j)},children:s.map((function(e,t){return(0,W.jsx)(Ce.o5,{virtualIndex:t,children:(0,W.jsx)(bt,{video:e,isPortrait:!0,onClick:function(){return o(e)}},t)},t)}))})}),(0,W.jsx)(Bt,{navKey:j})]})]})})};function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pt(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)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Mt(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 Mt(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 Mt(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}const It=function(e){var t,r,n,o,a,c,s,u,d,p,f,h,v,m,w,y,g,x,b,C,j,A,_=e.onSelect,O=e.isOpen,k=J(),S=k.videos,L=k.widget,P=Be().skin,M=S[0],I=P.skinType===l,N=P&&P.appearance.position?null===(t=P.appearance)||void 0===t?void 0:t.position.toLowerCase():WIDGET_FLOATING_POSTION.BOTTOM_LEFT,T=P&&P.introAnimation&&null!==(r=P.introAnimation)&&void 0!==r&&r.introAnimation?null===(n=P.introAnimation)||void 0===n?void 0:n.introAnimation.toLowerCase():WIDGET_FLOATING_POSTION.BOTTOM_LEFT,R=P&&P.playButton.type&&P.playButton.type===B?"iconButton":"textButton",D=P&&P.playButton[R].position?P.playButton[R].position.toLowerCase():"center",H="CLOSE"===(null===(o=P.closeButton)||void 0===o?void 0:o.buttonType),V="MINIMIZED"===(null===(a=P.closeButton)||void 0===a?void 0:a.buttonType),F=P.playButton&&P.playButton.iconButton&&"NO_ANIMATION"!==P.playButton.iconButton.animation?P.playButton.iconButton.animation:null,U=P.playButton&&P.playButton.iconButton.size?P.playButton.iconButton.size.toLowerCase():"small",G=(0,Z.useRef)(!1),z=(0,Z.useRef)(!1),Y=(0,Z.useRef)(!1),q=Pt((0,Z.useState)(!0),2),Q=q[0],K=q[1],X=Pt((0,Z.useState)(!1),2),$=X[0],ee=X[1],te=function(e,t){var r=(0,Z.useRef)();return{start:(0,Z.useCallback)((function(){r.current=setTimeout(e,t)}),[e,t]),cancel:(0,Z.useCallback)((function(){var e=r.current;e&&(r.current=void 0,clearTimeout(e))}),[r]),timeoutIdRef:r}}((function(){return K(false)}),1e3),re=Pt((0,Z.useState)(null),2),ne=re[0],oe=re[1],ie=(0,se.Z)("".concat(i,"__layout--").concat(null===(c=P.appearance)||void 0===c?void 0:c.type.toLowerCase()," ").concat(i,"__shadow--").concat(null===(s=P.appearance)||void 0===s?void 0:s.dropShadow.toLowerCase()," ").concat(i,"--position-").concat(N," ").concat(i,"--animation-").concat(T),(Lt(d={},"".concat(i,"-hidden"),Q),Lt(d,"".concat(i,"-has-video"),P.autoplay),Lt(d,"".concat(i,"--is-minimized"),$),Lt(d,"".concat(i,"--button-on-hover"),"ON_HOVER"===(null===(u=P.callToActionButton)||void 0===u?void 0:u.visibility)),Lt(d,"".concat(i,"--transition-end"),ne),d)),ae=(Lt(w={},"--vw-popup-width","".concat(null===(p=P.appearance)||void 0===p?void 0:p.width,"px")),Lt(w,"--vw-popup-height","".concat(null===(f=P.appearance)||void 0===f?void 0:f.height,"px")),Lt(w,"--vw-popup-position-left","".concat(null===(h=P.appearance)||void 0===h?void 0:h.marginLeft,"px")),Lt(w,"--vw-popup-position-bottom","".concat(null===(v=P.appearance)||void 0===v?void 0:v.marginBottom,"px")),Lt(w,"--vw-popup-border-radius","".concat(null===(m=P.appearance)||void 0===m?void 0:m.radius,"px")),w);"bottom_right"===N&&(ae["--vw-popup-position-left"]="auto",ae["--vw-popup-position-right"]="".concat(null===(A=P.appearance)||void 0===A?void 0:A.marginLeft,"px"));P&&null!==(y=P.introAnimation)&&void 0!==y&&y.appearAfter&&(ae["--vw-animation-delay"]="".concat(P.introAnimation.appearAfter,"s"));var ce,le,ue,pe={};null!==(g=P.appearance)&&void 0!==g&&g.showBorder&&(pe["--vw-popup-border"]="".concat(null===(ce=P.appearance)||void 0===ce?void 0:ce.borderWidth,"px solid ").concat(null===(le=P.appearance)||void 0===le?void 0:le.borderColor),pe["--vw-popup-border-radius"]="".concat(null===(ue=P.appearance)||void 0===ue?void 0:ue.radius,"px"));var fe,he,ve,me={};null!==(x=P.textOnTop)&&void 0!==x&&x.textColor&&(me["--vw-popup-text-color"]=null===(fe=P.textOnTop)||void 0===fe?void 0:fe.textColor);null!==(b=P.textOnTop)&&void 0!==b&&b.textWeight&&(me["--vw-popup-text-font-weight"]=null===(he=P.textOnTop)||void 0===he?void 0:he.textWeight.toLowerCase());null!==(C=P.textOnTop)&&void 0!==C&&C.size&&(me["--vw-popup-text-font-size"]="".concat(null===(ve=P.textOnTop)||void 0===ve?void 0:ve.size,"px"));var we={};if(P.playButton[R].color&&(we["--vw-popup-button-color"]=P.playButton[R].color),P.playButton[R].backgroundColor){var ye=P.playButton[R].backgroundOpacity?P.playButton[R].backgroundOpacity/100:1;we["--vw-popup-button-bg"]=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=de(e.match(/\w\w/g).map((function(e){return parseInt(e,16)})),3),n=r[0],o=r[1],i=r[2];return"rgba(".concat(n,",").concat(o,",").concat(i,",").concat(t,")")}(P.playButton[R].backgroundColor,ye)}P.playButton[R].borderWidth&&(we["--vw-popup-button-border"]="".concat(P.playButton[R].borderWidth,"px solid ").concat(P.playButton[R].borderColor));var ge=function(){var e=M.url,t=M.refId;return"youtube_video"===L.videoType?"https://www.youtube.com/watch?v=".concat(t):e},xe=function(e){e.stopPropagation(),K(!0)},be=function(){oe(!0)};(0,Z.useEffect)((function(){!O&&z.current&&K(!1)}),[O]),(0,Z.useEffect)((function(){return z.current=!0,te.start(),function(){return te.cancel()}}),[]),(0,Z.useEffect)((function(){return Q?function(){}:P.autoplay?void(G.current&&G.current.getInternalPlayer()&&G.current.getInternalPlayer().playVideo()):function(){}}),[Q]),(0,Z.useEffect)((function(){var e=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]}();return Y.current&&Y.current.addEventListener(e,be,{once:!0}),function(){Y.current&&Y.current.removeEventListener(e,be)}}),[]);return(0,W.jsx)("div",{className:"vw-cmp__popup-card--root ".concat(ie),style:ae,ref:Y,children:(0,W.jsxs)("div",{className:"vw-cmp__popup-card--wrapper",onClick:function(){_(M)},children:[(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)("div",{className:"vw-cmp__popup-card--preview",children:[!$&&P&&P.autoplay&&(0,W.jsx)(W.Fragment,{children:(0,W.jsx)("div",{className:"vw-cmp__popup-card--video-container",children:(0,W.jsx)(je.Z,{ref:G,url:ge(),className:"vw__video-player",width:"100%",height:"100%",controls:!1,muted:!0,loop:!0,playing:!0,playsinline:!0})})}),(0,W.jsx)("div",{className:"vw-cmp__popup-card--img-container",children:(0,W.jsx)("img",{src:M.thumbnail.url,alt:M.title})})]}),!$&&P.textOnTop.showTextOnTop&&P.textOnTop.text&&(0,W.jsx)("h4",{className:"vw-cmp__popup-card--content",style:me,children:P.textOnTop.text})]}),(0,W.jsxs)(W.Fragment,{children:[!$&&H&&(0,W.jsx)("div",{className:"vw-cmp__popup-card--button vw-cmp__popup-card--close",onClick:xe,children:(0,W.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("circle",{cx:"16",cy:"16",r:"16",fill:"black"}),(0,W.jsx)("g",{filter:"url(#filter0_d_18:1125)",children:(0,W.jsx)("path",{d:"M10.5 22L22 10.5M10.5 10.5L22 22",stroke:"white",strokeWidth:"2",strokeLinecap:"square",className:"vw-cmp__popup-card--button-icon"})}),(0,W.jsx)("defs",{children:(0,W.jsxs)("filter",{id:"filter0_d_18:1125",x:"5.08582",y:"5.08582",width:"22.3284",height:"22.3284",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,W.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,W.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,W.jsx)("feOffset",{}),(0,W.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,W.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,W.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),(0,W.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_18:1125"}),(0,W.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_18:1125",result:"shape"})]})})]})}),!$&&V&&(0,W.jsx)("div",{className:"vw-cmp__popup-card--button vw-cmp__popup-card--minimize",onClick:function(e){return e.stopPropagation(),void ee(!0)},children:(0,W.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("circle",{cx:"16",cy:"16",r:"16",fill:"black",fillOpacity:"0.2"}),(0,W.jsx)("g",{filter:"url(#filter0_d_18:1239)",children:(0,W.jsx)("rect",{x:"8",y:"15",width:"16",height:"2",fill:"white"})}),(0,W.jsx)("defs",{children:(0,W.jsxs)("filter",{id:"filter0_d_18:1239",x:"4",y:"4",width:"24",height:"24",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,W.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,W.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,W.jsx)("feOffset",{}),(0,W.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,W.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,W.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),(0,W.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_18:1239"}),(0,W.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_18:1239",result:"shape"})]})})]})})]}),function(){var e,t,r,n,o,i,a,c,l;if(!$&&null!==P&&void 0!==P&&null!==(e=P.playButton)&&void 0!==e&&e.showButton)return(0,W.jsxs)(W.Fragment,{children:[(null===(t=P.playButton)||void 0===t?void 0:t.type)===B&&(0,W.jsx)(yt,{color:null===(r=P.playButton[R])||void 0===r?void 0:r.color,animation:F,style:null===(n=P.playButton[R])||void 0===n?void 0:n.style,size:U,position:D,opacity:null===(o=P.playButton[R])||void 0===o?void 0:o.backgroundOpacity,borderColor:null===(i=P.playButton[R])||void 0===i?void 0:i.borderColor,background:null===(a=P.playButton[R])||void 0===a?void 0:a.backgroundColor,borderSize:P.playButton[R]&&P.playButton[R].showBorder?P.playButton[R].borderWidth:null}),(null===(c=P.playButton)||void 0===c?void 0:c.type)===E&&(0,W.jsx)("div",{className:"vw-cmp__popup-card--cta-button vw-cmp__popup--text-button vw--align-".concat(D),style:we,children:(0,W.jsx)("span",{children:null===(l=P.playButton[R])||void 0===l?void 0:l.text})})]})}(),(0,W.jsx)(W.Fragment,{children:$&&(0,W.jsx)("div",{className:"vw-cmp__popup-card--button vw-cmp__popup-card--minimize-button",children:(0,W.jsxs)("svg",{width:"39",height:"46",viewBox:"0 0 39 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,W.jsx)("g",{filter:"url(#filter0_d_6738_6271)",children:(0,W.jsx)("path",{d:"M8.125 8.375L30.625 23L8.125 37.625V8.375Z",fill:"white"})}),(0,W.jsx)("defs",{children:(0,W.jsxs)("filter",{id:"filter0_d_6738_6271",x:"0.125",y:"0.375",width:"38.5",height:"45.25",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,W.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,W.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,W.jsx)("feOffset",{}),(0,W.jsx)("feGaussianBlur",{stdDeviation:"4"}),(0,W.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,W.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"}),(0,W.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_6738_6271"}),(0,W.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_6738_6271",result:"shape"})]})})]})})}),(null===(j=P["".concat(I?"thumbnail":"appearance")])||void 0===j?void 0:j.showBorder)&&(0,W.jsx)("div",{style:pe,className:"vw-cmp__popup-card--border"})]})})};const Nt=function(){return(0,W.jsx)("div",{className:"vw--widget-bottom",style:"display: none",children:(0,W.jsx)("a",{target:"_blank",href:"https://www.videowise.com/",title:"Shopify shoppable video","aria-label":"Shopify shoppable video",children:"VideoWise - shoppable video"})})};function Tt(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 Rt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(r),!0).forEach((function(t){Dt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ht(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)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Vt(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 Vt(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 Vt(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}const Ft=function(){var e=J(),t=e.widget,r=e.videos,n=e.trackingContext,o=t.displayType!==s,i=Ht((0,Z.useState)(!1),2),a=i[0],c=i[1],l=Ht((0,Z.useState)(r[0].id),2),u=l[0],d=l[1],p=Ht((0,Z.useState)(0),2),h=p[0],v=p[1],w="".concat(t.theme.toLowerCase()),y=t.widgetAlign||"center",g={maxWidth:"custom"===t.maxWidth?"".concat(400,"px"):"inherit",width:"100%"},x=(0,P.v4)(),b="rw__inline-widget--container-".concat(x),C=(0,se.Z)("vw-root__container-inner vw-root__container-embed",Dt({},"rw__inline-widget--container-".concat(y),"custom"===t.maxWidth)),j=(0,se.Z)("vw-root__container-inner vw-root__container-popup"),k=o?C:j;function S(){h&&(ye(m,Rt({videoId:u,time:ge(h)},n)),v(0))}var B=function(e){u?(d(e.id),S()):d(e.id),v((new Date).getTime()),c(!0),v((new Date).getTime())};return(0,Z.useEffect)((function(){return a?(v((new Date).getTime()),function(){S()}):function(){}}),[a]),(0,Z.useEffect)((function(){ye(f,Rt({url:window.location.href},n))}),[]),(0,W.jsxs)("div",{id:"w-root",className:k,onClick:function(e){return e.stopPropagation()},children:[(0,W.jsx)(vt,{selectedVideoId:u,onSelectVideo:B,isOpen:a,onClose:function(){c(!1)}}),o&&w===A&&(0,W.jsxs)("div",{className:b,style:g,children:[(0,W.jsx)(jt,{onSelect:B}),(0,W.jsx)(Nt,{})]}),o&&w===_&&(0,W.jsxs)("div",{className:b,style:g,children:[(0,W.jsx)(kt,{onSelect:B}),(0,W.jsx)(Nt,{})]}),o&&(w===O||"portraitcarousel"===w||"landscapecarousel"===w)&&(0,W.jsxs)("div",{className:b,style:g,children:[(0,W.jsx)(Et,{onSelect:B}),(0,W.jsx)(Nt,{})]}),!o&&(0,W.jsx)(It,{isOpen:a,onSelect:B})]})};r(9722);function Zt(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)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(l){c=!0,o=l}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return Wt(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 Wt(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 Wt(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}const Ut=function(){var e,t,r,n,o=J(),i=o.widget,a=o.page,c=Be().deviceType,l=i.displayType===s,u=(0,se.Z)("vw-root__container",(n=l,(r="vw-popup__widget")in(t={})?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t)),d=i.videoPlayers[c===k?0:1].shoppableVideos;a&&a.customId&&a.handle&&(e={customId:a.customId,handle:a.handle,price:a.price,image:a.previewImageSrc,productRefId:a.productRefId});var p={product:e,isVisible:!1,togglePannel:d,pageType:i.type,showMore:!1,muted:!1,selectedId:null},f=Zt((0,Z.useReducer)(le,p),2),h=f[0],v=f[1];return(0,W.jsx)("div",{id:"vw-root",className:u,children:(0,W.jsx)(Q,{value:h,action:v,children:(0,W.jsx)(Ft,{})})})};function Gt(e){return Gt="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},Gt(e)}function zt(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,n.key,n)}}function Yt(e,t){return Yt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Yt(e,t)}function qt(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=Kt(e);if(t){var o=Kt(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Qt(this,r)}}function Qt(e,t){if(t&&("object"===Gt(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Kt(e){return Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Kt(e)}const Jt=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}}),t&&Yt(e,t)}(i,e);var t,r,n,o=qt(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this,e)).state={hasError:!1},t}return t=i,n=[{key:"getDerivedStateFromError",value:function(){return{hasError:!0}}}],(r=[{key:"componentDidCatch",value:function(e,t){console.log(e,t)}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}])&&zt(t.prototype,r),n&&zt(t,n),i}(Z.Component);function Xt(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(s){return void r(s)}c.done?t(l):Promise.resolve(l).then(n,o)}var $t="reeview-app-widget_";function er(e){var t="".concat($t).concat(e.id);return(null===e||void 0===e?void 0:e.type)===u&&e.displayType===l?window.document.getElementById(t)?t:"reeview-app__inline-widget":"".concat($t).concat(e.id)}var tr=function(e){var t=fe();return e.find((function(e){return e.skinType===t}))},rr=function(e){var t=fe();return e.find((function(e){return e.videoPlayerType===t}))};const nr=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var r,n,o,i,a,c,s,u,d,p,f,h,v,m,w;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.widget,n=t.page,o=t.showBadge,i=t.trackingContext,a=r.displayType,c=r.skins,s=r.videoPlayers,u=r.videos,d=er(r),p=fe(),f=tr(c),h=rr(s),v=a===l?window.document.getElementById(d):or(d),a!==l&&window.document.body.appendChild(v),v){e.next=11;break}return console.log("VideoWise widget is not rendered, because is defined as Inline, but not allowed from Shopify store!"),e.abrupt("return");case 11:if(!ir(d,"vw-root")){e.next=15;break}return console.log("VideoWise widget is already loaded!"),e.abrupt("return");case 15:m={widget:r,videos:u,containerElement:v,trackingContext:i,widgetID:d,page:n,showBadge:o},w={deviceType:p,skin:f,player:h},Z.default.render((0,W.jsx)(Jt,{children:(0,W.jsx)(X,{value:m,children:(0,W.jsx)(Ee,{value:w,children:(0,W.jsx)(Ut,{})})})}),v);case 18: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){Xt(i,n,o,a,c,"next",e)}function c(e){Xt(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();var or=function(e){var t=window.document.createElement("div");return t.setAttribute("id",e),t},ir=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)};function ar(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(s){return void r(s)}c.done?t(l):Promise.resolve(l).then(n,o)}function cr(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){ar(i,n,o,a,c,"next",e)}function c(e){ar(i,n,o,a,c,"throw",e)}a(void 0)}))}}function lr(e){return sr.apply(this,arguments)}function sr(){return(sr=cr(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&t.widgets){e.next=2;break}return e.abrupt("return");case 2:if((null===(r=t.widgets)||void 0===r?void 0:r.length)>0)for(n=0;n<t.widgets.length;n++)ur(t.widgets[n],t.page,t.showBadge,!0).then((function(){return console.log("Widget is loaded")})).catch((function(e){return console.log("An error occur during widget rendering. ",e)}));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ur(e,t,r,n){return dr.apply(this,arguments)}function dr(){return(dr=cr(regeneratorRuntime.mark((function e(t,r,n,o){var i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((i=t.videos)&&0!==i.length&&t){e.next=3;break}return e.abrupt("return");case 3:if(a={trackingId:null===r||void 0===r?void 0:r.id,widgetId:t.id,videoType:t.videoType,widgetType:t.type},!i.length){e.next=7;break}return e.next=7,nr({widget:t,page:r,showBadge:n,trackingContext:a});case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var pr=r(8446),fr=r.n(pr),hr=r(8367),vr=r.n(hr),mr=r(691),wr=r.n(mr);function yr(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 gr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yr(Object(r),!0).forEach((function(t){xr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function br(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(s){return void r(s)}c.done?t(l):Promise.resolve(l).then(n,o)}function Cr(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){br(i,n,o,a,c,"next",e)}function c(e){br(i,n,o,a,c,"throw",e)}a(void 0)}))}}var jr="cart";function Ar(e){return e&&"product"===e.p&&e.rid}function _r(e,t){return Or.apply(this,arguments)}function Or(){return(Or=Cr(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,V(t,r.rid);case 2:return n=e.sent,e.next=5,lr(n);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function kr(e){return Sr.apply(this,arguments)}function Sr(){return(Sr=Cr(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=wr()("".concat(window.location.protocol,"//").concat(window.location.hostname).concat(window.location.pathname),"/"),e.next=3,H(t,encodeURI(r));case 3:return n=e.sent,e.next=6,lr(n);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Br=function(e){var t="".concat(e).split("");return t.splice(-2,0,","),t.join("")},Er=function(){var e=Cr(regeneratorRuntime.mark((function e(t){var r,n,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={"Content-type":"application/json"},e.prev=1,e.next=4,o().get("/products/".concat(t,".js"),{headers:r});case 4:return n=e.sent,i=n.data,e.abrupt("return",gr(gr({},i),{},{compare_at_price:Br(i.compare_at_price),compare_at_price_max:Br(i.compare_at_price_max),compare_at_price_min:Br(i.compare_at_price_min),price:Br(i.price),price_max:Br(i.price_max),price_min:Br(i.price_min),variants:i.variants.map((function(e){return gr(gr({},e),{},{compare_at_price:Br(e.compare_at_price),price:Br(e.price)})}))}));case 9:return e.prev=9,e.t0=e.catch(1),console.error("Shopify error: ",e.t0),e.abrupt("return",null);case 13:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t){return e.apply(this,arguments)}}(),Lr=function(e){var t=[];document.querySelectorAll(".vw-shoppable__select-item").forEach((function(e){t.push(e.selectedOptions[0].value.trim())}));var r=e.filter((function(e){return fr()(e.options,t)}));return vr()(r)?null:r[0]};const Pr=Cr(regeneratorRuntime.mark((function e(){var t,r,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=window,r=t.Shopify,n=t.__st,r){e.next=3;break}return e.abrupt("return");case 3:if((o=document.querySelector("#videowise-css"))&&o.disabled&&o.removeAttribute("disabled"),!Ar(n)){e.next=10;break}return e.next=8,_r(r.shop,n);case 8:e.next=12;break;case 10:return e.next=12,kr(r.shop);case 12:case"end":return e.stop()}}),e)})));function Mr(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 Ir(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Mr(Object(r),!0).forEach((function(t){Nr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Nr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tr(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(s){return void r(s)}c.done?t(l):Promise.resolve(l).then(n,o)}const Rr=function(){var e,t=(e=regeneratorRuntime.mark((function e(t,r){var n,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,H("reeview-store.myshopify.com",encodeURI("https://reeview-store.myshopify.com"));case 2:if(!(n=e.sent)){e.next=12;break}o=n.widgets,i=n.page,a=0;case 6:if(!(a<o.length)){e.next=12;break}return e.next=9,ur(Ir(Ir({},o[a]),{},{page:i}),!1);case 9:a+=1,e.next=6;break;case 12: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){Tr(i,n,o,a,c,"next",e)}function c(e){Tr(i,n,o,a,c,"throw",e)}a(void 0)}))});return function(e,r){return t.apply(this,arguments)}}();function Dr(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(s){return void r(s)}c.done?t(l):Promise.resolve(l).then(n,o)}function Hr(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Dr(i,n,o,a,c,"next",e)}function c(e){Dr(i,n,o,a,c,"throw",e)}a(void 0)}))}}const Vr=Hr(regeneratorRuntime.mark((function e(){var t,r,n,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=window,r=t.REEVIEW_CONFIG){e.next=3;break}return e.abrupt("return");case 3:if(n=r,o=wr()("".concat(window.location.protocol,"//").concat(window.location.hostname).concat(window.location.pathname),"/"),i=n.filter((function(e){var t;return wr()(null===(t=e.page)||void 0===t?void 0:t.url,"/")===o}))){e.next=8;break}return e.abrupt("return");case 8:a=0;case 9:if(!(a<i.length)){e.next=15;break}return e.next=12,ur(i[a]);case 12:a+=1,e.next=9;break;case 15:case"end":return e.stop()}}),e)})));window.initReeview=Rr,Pr(),window.addEventListener("DOMContentLoaded",Vr)},9722:(e,t,r)=>{var n=r(4783)(e.id,{locals:!1});e.hot.dispose(n),e.hot.accept(void 0,n)},9954:e=>{e.exports="data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA"}},t={};function r(n){var o=t[n];if(void 0!==o){if(void 0!==o.error)throw o.error;return o.exports}var i=t[n]={id:n,loaded:!1,exports:{}};try{var a={id:n,module:i,factory:e[n],require:r};r.i.forEach((function(e){e(a)})),i=a.module,a.factory.call(i.exports,i,i.exports,a.require)}catch(c){throw i.error=c,c}return i.loaded=!0,i.exports}r.m=e,r.c=t,r.i=[],(()=>{var e=[];r.O=(t,n,o,i)=>{if(!n){var a=1/0;for(u=0;u<e.length;u++){for(var[n,o,i]=e[u],c=!0,l=0;l<n.length;l++)(!1&i||a>=i)&&Object.keys(r.O).every((e=>r.O[e](n[l])))?n.splice(l--,1):(c=!1,i<a&&(a=i));if(c){e.splice(u--,1);var s=o();void 0!==s&&(t=s)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[n,o,i]}})(),r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.hu=e=>e+"."+r.h()+".hot-update.js",r.miniCssF=e=>{},r.hmrF=()=>"client."+r.h()+".hot-update.json",r.h=()=>"878315f1ffa368b32da4",r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="videowise-widget:";r.l=(n,o,i,a)=>{if(e[n])e[n].push(o);else{var c,l;if(void 0!==i)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var d=s[u];if(d.getAttribute("src")==n||d.getAttribute("data-webpack")==t+i){c=d;break}}c||(l=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,r.nc&&c.setAttribute("nonce",r.nc),c.setAttribute("data-webpack",t+i),c.src=n),e[n]=[o];var p=(t,r)=>{c.onerror=c.onload=null,clearTimeout(f);var o=e[n];if(delete e[n],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(r))),t)return t(r)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),l&&document.head.appendChild(c)}}})(),r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e,t,n,o,i={},a=r.c,c=[],l=[],s="idle";function u(e){s=e;for(var t=[],r=0;r<l.length;r++)t[r]=l[r].call(null,e);return Promise.all(t)}function d(e){if(0===t.length)return e();var r=t;return t=[],Promise.all(r).then((function(){return d(e)}))}function p(e){if("idle"!==s)throw new Error("check() is only allowed in idle status");return u("check").then(r.hmrM).then((function(o){return o?u("prepare").then((function(){var i=[];return t=[],n=[],Promise.all(Object.keys(r.hmrC).reduce((function(e,t){return r.hmrC[t](o.c,o.r,o.m,e,n,i),e}),[])).then((function(){return d((function(){return e?h(e):u("ready").then((function(){return i}))}))}))})):u(v()?"ready":"idle").then((function(){return null}))}))}function f(e){return"ready"!==s?Promise.resolve().then((function(){throw new Error("apply() is only allowed in ready status")})):h(e)}function h(e){e=e||{},v();var t=n.map((function(t){return t(e)}));n=void 0;var r=t.map((function(e){return e.error})).filter(Boolean);if(r.length>0)return u("abort").then((function(){throw r[0]}));var i=u("dispose");t.forEach((function(e){e.dispose&&e.dispose()}));var a,c=u("apply"),l=function(e){a||(a=e)},s=[];return t.forEach((function(e){if(e.apply){var t=e.apply(l);if(t)for(var r=0;r<t.length;r++)s.push(t[r])}})),Promise.all([i,c]).then((function(){return a?u("fail").then((function(){throw a})):o?h(e).then((function(e){return s.forEach((function(t){e.indexOf(t)<0&&e.push(t)})),e})):u("idle").then((function(){return s}))}))}function v(){if(o)return n||(n=[]),Object.keys(r.hmrI).forEach((function(e){o.forEach((function(t){r.hmrI[e](t,n)}))})),o=void 0,!0}r.hmrD=i,r.i.push((function(h){var v=h.module,m=function(r,n){var o=a[n];if(!o)return r;var i=function(t){if(o.hot.active){if(a[t]){var i=a[t].parents;-1===i.indexOf(n)&&i.push(n)}else c=[n],e=t;-1===o.children.indexOf(t)&&o.children.push(t)}else console.warn("[HMR] unexpected require("+t+") from disposed module "+n),c=[];return r(t)},l=function(e){return{configurable:!0,enumerable:!0,get:function(){return r[e]},set:function(t){r[e]=t}}};for(var p in r)Object.prototype.hasOwnProperty.call(r,p)&&"e"!==p&&Object.defineProperty(i,p,l(p));return i.e=function(e){return function(e){switch(s){case"ready":return u("prepare"),t.push(e),d((function(){return u("ready")})),e;case"prepare":return t.push(e),e;default:return e}}(r.e(e))},i}(h.require,h.id);v.hot=function(t,a){var d=e!==t,h={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:d,_requireSelf:function(){c=a.parents.slice(),e=d?void 0:t,r(t)},active:!0,accept:function(e,t,r){if(void 0===e)h._selfAccepted=!0;else if("function"===typeof e)h._selfAccepted=e;else if("object"===typeof e&&null!==e)for(var n=0;n<e.length;n++)h._acceptedDependencies[e[n]]=t||function(){},h._acceptedErrorHandlers[e[n]]=r;else h._acceptedDependencies[e]=t||function(){},h._acceptedErrorHandlers[e]=r},decline:function(e){if(void 0===e)h._selfDeclined=!0;else if("object"===typeof e&&null!==e)for(var t=0;t<e.length;t++)h._declinedDependencies[e[t]]=!0;else h._declinedDependencies[e]=!0},dispose:function(e){h._disposeHandlers.push(e)},addDisposeHandler:function(e){h._disposeHandlers.push(e)},removeDisposeHandler:function(e){var t=h._disposeHandlers.indexOf(e);t>=0&&h._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,s){case"idle":n=[],Object.keys(r.hmrI).forEach((function(e){r.hmrI[e](t,n)})),u("ready");break;case"ready":Object.keys(r.hmrI).forEach((function(e){r.hmrI[e](t,n)}));break;case"prepare":case"check":case"dispose":case"apply":(o=o||[]).push(t)}},check:p,apply:f,status:function(e){if(!e)return s;l.push(e)},addStatusHandler:function(e){l.push(e)},removeStatusHandler:function(e){var t=l.indexOf(e);t>=0&&l.splice(t,1)},data:i[t]};return e=void 0,h}(h.id,v),v.parents=c,v.children=[],c=[],h.require=m})),r.hmrC={},r.hmrI={}})(),(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e=(e,t,r,n)=>{var o=document.createElement("link");o.rel="stylesheet",o.type="text/css";return o.onerror=o.onload=i=>{if(o.onerror=o.onload=null,"load"===i.type)r();else{var a=i&&("load"===i.type?"missing":i.type),c=i&&i.target&&i.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=a,l.request=c,o.parentNode.removeChild(o),n(l)}},o.href=t,document.head.appendChild(o),o},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}},n=[],o=[],i=e=>({dispose:()=>{for(var e=0;e<n.length;e++){var t=n[e];t.parentNode&&t.parentNode.removeChild(t)}n.length=0},apply:()=>{for(var e=0;e<o.length;e++)o[e].rel="stylesheet";o.length=0}});r.hmrC.miniCss=(a,c,l,s,u,d)=>{u.push(i),a.forEach((i=>{var a=r.miniCssF(i),c=r.p+a,l=t(a,c);l&&s.push(new Promise(((t,r)=>{var a=e(i,c,(()=>{a.as="style",a.rel="preload",t()}),r);n.push(l),o.push(a)})))}))}})(),(()=>{r.b=document.baseURI||self.location.href;var e,t,n,o,i=r.hmrS_jsonp=r.hmrS_jsonp||{47:0},a={};function c(e){return new Promise(((t,n)=>{a[e]=t;var o=r.p+r.hu(e),i=new Error;r.l(o,(t=>{if(a[e]){a[e]=void 0;var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading hot update chunk "+e+" failed.\n("+r+": "+o+")",i.name="ChunkLoadError",i.type=r,i.request=o,n(i)}}))}))}function l(a){function c(e){for(var t=[e],n={},o=t.map((function(e){return{chain:[e],id:e}}));o.length>0;){var i=o.pop(),a=i.id,c=i.chain,s=r.c[a];if(s&&(!s.hot._selfAccepted||s.hot._selfInvalidated)){if(s.hot._selfDeclined)return{type:"self-declined",chain:c,moduleId:a};if(s.hot._main)return{type:"unaccepted",chain:c,moduleId:a};for(var u=0;u<s.parents.length;u++){var d=s.parents[u],p=r.c[d];if(p){if(p.hot._declinedDependencies[a])return{type:"declined",chain:c.concat([d]),moduleId:a,parentId:d};-1===t.indexOf(d)&&(p.hot._acceptedDependencies[a]?(n[d]||(n[d]=[]),l(n[d],[a])):(delete n[d],t.push(d),o.push({chain:c.concat([d]),id:d})))}}}}return{type:"accepted",moduleId:e,outdatedModules:t,outdatedDependencies:n}}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];-1===e.indexOf(n)&&e.push(n)}}r.f&&delete r.f.jsonpHmr,e=void 0;var s={},u=[],d={},p=function(e){console.warn("[HMR] unexpected require("+e.id+") to disposed module")};for(var f in t)if(r.o(t,f)){var h,v=t[f],m=!1,w=!1,y=!1,g="";switch((h=v?c(f):{type:"disposed",moduleId:f}).chain&&(g="\nUpdate propagation: "+h.chain.join(" -> ")),h.type){case"self-declined":a.onDeclined&&a.onDeclined(h),a.ignoreDeclined||(m=new Error("Aborted because of self decline: "+h.moduleId+g));break;case"declined":a.onDeclined&&a.onDeclined(h),a.ignoreDeclined||(m=new Error("Aborted because of declined dependency: "+h.moduleId+" in "+h.parentId+g));break;case"unaccepted":a.onUnaccepted&&a.onUnaccepted(h),a.ignoreUnaccepted||(m=new Error("Aborted because "+f+" is not accepted"+g));break;case"accepted":a.onAccepted&&a.onAccepted(h),w=!0;break;case"disposed":a.onDisposed&&a.onDisposed(h),y=!0;break;default:throw new Error("Unexception type "+h.type)}if(m)return{error:m};if(w)for(f in d[f]=v,l(u,h.outdatedModules),h.outdatedDependencies)r.o(h.outdatedDependencies,f)&&(s[f]||(s[f]=[]),l(s[f],h.outdatedDependencies[f]));y&&(l(u,[h.moduleId]),d[f]=p)}t=void 0;for(var x,b=[],C=0;C<u.length;C++){var j=u[C],A=r.c[j];A&&(A.hot._selfAccepted||A.hot._main)&&d[j]!==p&&!A.hot._selfInvalidated&&b.push({module:j,require:A.hot._requireSelf,errorHandler:A.hot._selfAccepted})}return{dispose:function(){var e;n.forEach((function(e){delete i[e]})),n=void 0;for(var t,o=u.slice();o.length>0;){var a=o.pop(),c=r.c[a];if(c){var l={},d=c.hot._disposeHandlers;for(C=0;C<d.length;C++)d[C].call(null,l);for(r.hmrD[a]=l,c.hot.active=!1,delete r.c[a],delete s[a],C=0;C<c.children.length;C++){var p=r.c[c.children[C]];p&&((e=p.parents.indexOf(a))>=0&&p.parents.splice(e,1))}}}for(var f in s)if(r.o(s,f)&&(c=r.c[f]))for(x=s[f],C=0;C<x.length;C++)t=x[C],(e=c.children.indexOf(t))>=0&&c.children.splice(e,1)},apply:function(e){for(var t in d)r.o(d,t)&&(r.m[t]=d[t]);for(var n=0;n<o.length;n++)o[n](r);for(var i in s)if(r.o(s,i)){var c=r.c[i];if(c){x=s[i];for(var l=[],p=[],f=[],h=0;h<x.length;h++){var v=x[h],m=c.hot._acceptedDependencies[v],w=c.hot._acceptedErrorHandlers[v];if(m){if(-1!==l.indexOf(m))continue;l.push(m),p.push(w),f.push(v)}}for(var y=0;y<l.length;y++)try{l[y].call(null,x)}catch(A){if("function"===typeof p[y])try{p[y](A,{moduleId:i,dependencyId:f[y]})}catch(_){a.onErrored&&a.onErrored({type:"accept-error-handler-errored",moduleId:i,dependencyId:f[y],error:_,originalError:A}),a.ignoreErrored||(e(_),e(A))}else a.onErrored&&a.onErrored({type:"accept-errored",moduleId:i,dependencyId:f[y],error:A}),a.ignoreErrored||e(A)}}}for(var g=0;g<b.length;g++){var C=b[g],j=C.module;try{C.require(j)}catch(A){if("function"===typeof C.errorHandler)try{C.errorHandler(A,{moduleId:j,module:r.c[j]})}catch(_){a.onErrored&&a.onErrored({type:"self-accept-error-handler-errored",moduleId:j,error:_,originalError:A}),a.ignoreErrored||(e(_),e(A))}else a.onErrored&&a.onErrored({type:"self-accept-errored",moduleId:j,error:A}),a.ignoreErrored||e(A)}}return u}}}self.webpackHotUpdatevideowise_widget=(e,n,i)=>{for(var c in n)r.o(n,c)&&(t[c]=n[c]);i&&o.push(i),a[e]&&(a[e](),a[e]=void 0)},r.hmrI.jsonp=function(e,i){t||(t={},o=[],n=[],i.push(l)),r.o(t,e)||(t[e]=r.m[e])},r.hmrC.jsonp=function(a,s,u,d,p,f){p.push(l),e={},n=s,t=u.reduce((function(e,t){return e[t]=!1,e}),{}),o=[],a.forEach((function(t){r.o(i,t)&&void 0!==i[t]&&(d.push(c(t)),e[t]=!0)})),r.f&&(r.f.jsonpHmr=function(t,n){e&&!r.o(e,t)&&r.o(i,t)&&void 0!==i[t]&&(n.push(c(t)),e[t]=!0)})},r.hmrM=()=>{if("undefined"===typeof fetch)throw new Error("No browser support: need fetch API");return fetch(r.p+r.hmrF()).then((e=>{if(404!==e.status){if(!e.ok)throw new Error("Failed to fetch update manifest "+e.statusText);return e.json()}}))},r.O.j=e=>0===i[e];var s=(e,t)=>{var n,o,[a,c,l]=t,s=0;if(a.some((e=>0!==i[e]))){for(n in c)r.o(c,n)&&(r.m[n]=c[n]);if(l)var u=l(r)}for(e&&e(t);s<a.length;s++)o=a[s],r.o(i,o)&&i[o]&&i[o][0](),i[a[s]]=0;return r.O(u)},u=self.webpackChunkvideowise_widget=self.webpackChunkvideowise_widget||[];u.forEach(s.bind(null,0)),u.push=s.bind(null,u.push.bind(u))})();var n=r.O(void 0,[332],(()=>r(4294)));n=r.O(n)})();