whatmore-react-assets 1.0.1409 → 1.0.1411
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/static/js/13.b216da25.chunk.js +1 -0
- package/static/js/210.d4c6f9a4.chunk.js +1 -0
- package/static/js/219.a0c7f0d6.chunk.js +1 -0
- package/static/js/240.9c510ae9.chunk.js +2 -0
- package/static/js/302.41f7dffe.chunk.js +1 -0
- package/static/js/348.b3f40dd8.chunk.js +117 -0
- package/static/js/423.4d5ac85a.chunk.js +1 -0
- package/static/js/561.95fd0242.chunk.js +1 -0
- package/static/js/577.646fa55d.chunk.js +1 -0
- package/static/js/731.4a524607.chunk.js +1 -0
- package/static/js/733.b0e46e99.chunk.js +1 -0
- package/static/js/745.107e7775.chunk.js +2 -0
- package/static/js/751.4f97aaf7.chunk.js +1 -0
- package/static/js/819.c2077f1e.chunk.js +2 -0
- package/static/js/824.5e1bcf5b.chunk.js +2 -0
- package/static/js/app-main.12f402fb.chunk.js +1 -0
- package/static/js/{atc-with-form.958f95e3.chunk.js → atc-with-form.c6e794f2.chunk.js} +1 -1
- package/static/js/banner-template-a.17b6cfa5.chunk.js +1 -0
- package/static/js/carousel-template-a.9bab2855.chunk.js +1 -0
- package/static/js/carousel-template-b.59ad5f64.chunk.js +1 -0
- package/static/js/carousel-template-f.bd001127.chunk.js +1 -0
- package/static/js/carousel-template-feed.ad73c3ed.chunk.js +15 -0
- package/static/js/carousel-template-g.d874fad3.chunk.js +1 -0
- package/static/js/carousel-template-h.eada0967.chunk.js +1 -0
- package/static/js/carousel-template-view-more.4b1e8a28.chunk.js +45 -0
- package/static/js/collections-template-a.d79da3e9.chunk.js +1 -0
- package/static/js/collections-template-b.d191151d.chunk.js +1 -0
- package/static/js/collections-template-c.6aadef97.chunk.js +1 -0
- package/static/js/collections-template-stories.9696a048.chunk.js +1 -0
- package/static/js/event-click-main.e9e26fc2.chunk.js +1 -0
- package/static/js/event-click-product.60b5a8fa.chunk.js +1 -0
- package/static/js/event-click-spotlight.929fb915.chunk.js +1 -0
- package/static/js/homepage-carousel-view.8510dc03.chunk.js +1 -0
- package/static/js/{location-details.b14d3704.chunk.js → location-details.c0431f85.chunk.js} +1 -1
- package/static/js/product-page-view.6f93465d.chunk.js +1 -0
- package/static/js/recommended-carousel.9a69fdec.chunk.js +2 -0
- package/static/js/spotlight-view.2f2adc85.chunk.js +1 -0
- package/static/js/stories-template-a.69cd6742.chunk.js +1 -0
- package/whatmore.js +2 -2
- package/static/js/2.a6e5564f.chunk.js +0 -1
- package/static/js/286.4d801177.chunk.js +0 -1
- package/static/js/296.25439eea.chunk.js +0 -1
- package/static/js/311.96c6c80a.chunk.js +0 -1
- package/static/js/378.bce12c1d.chunk.js +0 -1
- package/static/js/461.28347fc7.chunk.js +0 -1
- package/static/js/620.d4ace010.chunk.js +0 -1
- package/static/js/650.c9df08ab.chunk.js +0 -117
- package/static/js/669.fcb5e7c7.chunk.js +0 -2
- package/static/js/682.8623fb18.chunk.js +0 -1
- package/static/js/756.7523a583.chunk.js +0 -2
- package/static/js/842.85030e08.chunk.js +0 -2
- package/static/js/850.5091474f.chunk.js +0 -2
- package/static/js/859.3d380911.chunk.js +0 -1
- package/static/js/920.298a46d6.chunk.js +0 -1
- package/static/js/app-main.a73fe865.chunk.js +0 -1
- package/static/js/banner-template-a.86b38542.chunk.js +0 -1
- package/static/js/carousel-template-a.1173f55c.chunk.js +0 -1
- package/static/js/carousel-template-b.406fc806.chunk.js +0 -1
- package/static/js/carousel-template-f.52aade62.chunk.js +0 -1
- package/static/js/carousel-template-feed.cc5f97a1.chunk.js +0 -15
- package/static/js/carousel-template-g.876e9781.chunk.js +0 -1
- package/static/js/carousel-template-h.264e373e.chunk.js +0 -1
- package/static/js/carousel-template-view-more.12a1f50b.chunk.js +0 -45
- package/static/js/collections-template-a.daea1564.chunk.js +0 -1
- package/static/js/collections-template-b.22c9d294.chunk.js +0 -1
- package/static/js/collections-template-c.6ea927fa.chunk.js +0 -1
- package/static/js/collections-template-stories.57f85909.chunk.js +0 -1
- package/static/js/event-click-main.73709ad2.chunk.js +0 -1
- package/static/js/event-click-product.873632c6.chunk.js +0 -1
- package/static/js/event-click-spotlight.87acc60c.chunk.js +0 -1
- package/static/js/homepage-carousel-view.bc3b5f4b.chunk.js +0 -1
- package/static/js/product-page-view.d08a5a1a.chunk.js +0 -1
- package/static/js/recommended-carousel.22249e9e.chunk.js +0 -2
- package/static/js/spotlight-view.2163ff18.chunk.js +0 -1
- package/static/js/stories-template-a.a97215e7.chunk.js +0 -1
- /package/static/css/{139.a9bfc3e2.chunk.css → 926.a9bfc3e2.chunk.css} +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[920],{7509:function(e,t,i){i.d(t,{h:function(){return o}});const o=(0,i(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},2410:function(e,t,i){var o=i(9950),n=i(1348),r=i(664),l=(i(6125),i(4365),i(6614),i(9879)),a=(i(7509),i(932)),d=i(4737),s=i(4414);t.A=function(e){var t;const[i,p]=(0,a.A)(),[x]=(0,r.QN)("whatmoreSecondaryColor"),[h]=(0,r.QN)("whatmoreShopId"),c="STR1EXZ7ZRD"===h?60:(0,r.Xd)("whatmoreVideoTileSize"),m="STR1EXZ7ZRD"===h?60:(0,r.Xd)("whatmoreVideoTileSizePortrait"),u="portrait"===e.mode?m:c,f=(0,r.QN)("whatmorePrimaryFont"),{whatmoreWidgetSourceDetails:v}=(0,o.useContext)(d.B),[w,g]=(0,o.useState)(!1),y=(0,n.ivI)(h),b=v.landingLocationType,j=e.event,S=e.onClick,A=e.removeBorders,E=i*u*.01,k=p*u*.01,z=null!==(t=e.borderRadius)&&void 0!==t?t:"0%";return(0,s.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,height:"fit-content",width:(0,n._hU)(h)?"auto":k+"px",marginLeft:A?"2px":"5px",marginRight:A?"2px":(0,n.FZM)(h)+"px",marginTop:A?"2px":"5px",marginBottom:A?"2px":"5px",cursor:"pointer"},onClick:()=>{g(!0),S(j)},className:[w?"whatmore-scale-on-tap":""].join(" "),children:[(0,s.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,height:"fit-content",width:"fit-content",borderRadius:z,overflow:"hidden",boxShadow:A?"":"0px 1px 1px 0px "+x+"50, 0px -1px 1px 0px "+y+"50, 1px 0px 1px 0px "+x+"50, -1px 0px 1px 0px "+y+"80, 1px -1px 1px 0px "+x+"80, -1px 1px 1px 0px "+y+"DA, 1px 1px 1px 0px "+x+"DA, -1px -1px 1px 0px "+y+"DA"},children:(0,s.jsx)("div",{className:"whatmore-collection-event-tile",style:{flexShrink:0,objectFit:"cover",height:E+"px",width:"40273707171"==h?"auto":k+"px",borderRadius:z,backgroundColor:"gray",overflow:"hidden"},children:(0,s.jsx)(l.A,{height:"100%",width:"100%",url:j.thumbnail_image,isPlaying:!0,event:j})})}),b.startsWith("product")&&(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",padding:"8px 4px 0 4px"},children:(0,s.jsx)("p",{ref:t=>{var i;t&&(t.style.setProperty("font-family",f,"important"),t.style.setProperty("font-size",(null!==(i=e.fontSize)&&void 0!==i?i:10)+"px","important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},children:null===j||void 0===j?void 0:j.title})})]})}},9611:function(e,t,i){var o=i(9950),n=i(1348),r=i(664),l=(i(6125),i(4365),i(6614),i(9879)),a=i(932),d=i(4414);t.A=function(e){var t;const[i,s]=(0,a.A)(),[p]=(0,r.QN)("whatmoreSecondaryColor"),[x]=(0,r.QN)("whatmoreShopId"),[h]=(0,r.QN)("whatmoreVideoTileSize"),[c]=(0,r.QN)("whatmoreVideoTileSizePortrait"),m="portrait"===e.mode?c:h,[u,f]=(0,o.useState)(!1),v=(0,n.ivI)(x),w=e.event1,g=e.event2,y=e.onClick,b=.01*m,j=i*b,S=i*b*.5,A=s*b,E=null!==(t=e.borderRadius)&&void 0!==t?t:"10%",k="15%",z=e.removeBorders;return(0,d.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",flexShrink:0,height:j+"px",width:A+"px",marginLeft:z?"2px":"5px",marginRight:z?"2px":"5px",marginTop:z?"2px":"5px",marginBottom:z?"2px":"5px",cursor:"pointer"},children:(0,d.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,height:"fit-content",width:"fit-content",borderRadius:z?"0px":E,boxShadow:z?"":"0px 1px 1px 0px "+p+"50, 0px -1px 1px 0px "+v+"50, 1px 0px 1px 0px "+p+"50, -1px 0px 1px 0px "+v+"80, 1px -1px 1px 0px "+p+"80, -1px 1px 1px 0px "+v+"DA, 1px 1px 1px 0px "+p+"DA, -1px -1px 1px 0px "+v+"DA"},onClick:()=>{f(!0),y(w)},className:[u?"whatmore-scale-on-tap":""].join(" "),children:[(0,d.jsx)("div",{style:{flexShrink:0,objectFit:"cover",height:S+"px",width:A+"px",borderTopLeftRadius:z?"0px":k,borderTopRightRadius:z?"0px":k,borderBottom:"2px solid transparent",backgroundColor:"transparent",overflow:"hidden"},children:(0,d.jsx)(l.A,{height:"100%",width:"100%",url:w.thumbnail_image,isPlaying:!0,event:w})}),(0,d.jsx)("div",{style:{flexShrink:0,objectFit:"cover",height:S+"px",width:A+"px",borderBottomLeftRadius:z?"0px":k,borderBottomRightRadius:z?"0px":k,borderTop:"2px solid transparent",backgroundColor:"transparent",overflow:"hidden"},children:(0,d.jsx)(l.A,{height:"100%",width:"100%",url:g.thumbnail_image,isPlaying:!0,event:g})})]})})}},8385:function(e,t,i){i.d(t,{c:function(){return a}});var o=i(6649),n=i(9950),r=(i(4365),i(4414));function l(e){const[t,i,n]=(0,o.A)({triggerOnce:e.retainAlreadyRenderedElements});return(0,r.jsx)("div",{ref:t,children:i?e.renderElement({eventData:null===e||void 0===e?void 0:e.data}):(0,r.jsx)("div",{style:{minWidth:e.defaultHeight,minHeight:e.defaultWidth}})})}function a(e){var t,i;return(0,n.useEffect)((()=>{const e=document.querySelector(".whatmore-carousel-horizontal-flex");let t,i=!1;function o(e){e.touches&&(null===e||void 0===e?void 0:e.touches.length)>0?(i=!0,t=e.touches[0].clientX):(i=!0,t=e.clientX)}function n(o){if(!i)return;const n=o.touches?o.touches[0].clientX:o.clientX;e.style.pointerEvents="none";const r=2*(t-n);e.scrollLeft+=r,t=n}function r(t){e.style.pointerEvents="auto",i=!1}return e&&("ontouchstart"in window&&(e.addEventListener("touchstart",o),e.addEventListener("touchmove",n),e.addEventListener("touchend",r)),e.addEventListener("mousedown",o),document.addEventListener("mousemove",n),document.addEventListener("mouseup",r)),()=>{e&&("ontouchstart"in window&&(e.removeEventListener("touchstart",o),e.removeEventListener("touchmove",n),e.removeEventListener("touchend",r)),e.removeEventListener("mousedown",o),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r))}}),[]),(0,r.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",height:"fit-content",width:"100%",gap:null!==(t=e.spacing)&&void 0!==t?t:3},className:"whatmore-carousel-horizontal-flex",children:null===e||void 0===e||null===(i=e.dataList)||void 0===i?void 0:i.map(((t,i)=>(0,r.jsx)(l,{renderElement:e.renderElement,data:t,defaultHeight:e.defaultHeight,defaultWidth:e.defaultWidth,retainAlreadyRenderedElements:e.retainAlreadyRenderedElements},"key-"+i)))})}},5901:function(e,t,i){i.d(t,{A:function(){return v}});var o=i(2713),n=i(9950),r=i(9879),l=i(22),a=i(664),d=i(932);var s=function(e){const[t,i,o,n,r]=(0,d.A)(),[s]=(0,a.QN)("whatmoreEmbedAppVideoPlayerSizePortrait"),[p]=(0,a.QN)("whatmoreEmbedAppVideoPlayerSizeLandscape"),x=r[l.dl]===l.nN?p/100:s/100*1.2;return[t*x,i*x,r]},p=i(5727),x=i(1628),h=i.n(x),c=i(2209),m=i(6702),u=(i(9733),i(4365),i(1348)),f=i(4414);var v=function(e){var t;const i=n.useRef(null);var[d,x,v]=s();const w=(0,a.Xd)("whatmoreUITheme"),[g]=(0,a.QN)("whatmoreEmbedAppVideoTitle"),[y]=(0,a.QN)("whatmoreEmbedAppPositionPortrait"),[b]=(0,a.QN)("whatmoreEmbedAppHorizontalPaddingPortrait"),[j]=(0,a.QN)("whatmoreEmbedAppVerticalPaddingPortrait"),[S]=(0,a.QN)("whatmoreEmbedAppPositionLandscape"),[A]=(0,a.QN)("whatmoreEmbedAppHorizontalPaddingLandscape"),[E]=(0,a.QN)("whatmoreEmbedAppVerticalPaddingLandscape"),k=(0,a.Xd)("whatmoreShopId");var z=y,N=b,C=j;v[l.dl]===l.nN&&(z=S,N=A,C=E);const[L,R]=(0,n.useState)(["initial",window.pageYOffset]),[P,Q]=(0,n.useState)(!1),F=null!==(t=e.isSpotlight)&&void 0!==t&&t,D=v[l.dl]===l.nN?.7*(0,u.O86)(k):(0,u.O86)(k),I=F?D:1;d*=I,x*=I;const T=F?(0,u.LrK)(k):z,B=F?(0,u._2D)(k):(0,u.GSq)(k),[M,V]=(0,n.useState)(!F&&(0,u.n8Q)(k));function X(e,t){R(e),e[1]<=100?Q(!1):t!=P&&(Q(t),V(!1))}(0,n.useEffect)((()=>{let e=window.pageYOffset,t=!1;const i=()=>{const i=window.pageYOffset;Math.abs(i-e)<100||(X([i>e?"scrolled-down":"scrolled-up",i],!0),e=i>0?i:0),t=!1},o=()=>{t||(window.requestAnimationFrame(i),t=!0)};return window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)}),[L]),(0,o.jz)({ref:i,handler:()=>{X(["scrolled-up",L[1]],!0)}});const _=e.event,H=e.inVideoClick,O=e.closeClick,W=.3*x,U=.6*x,Z=.1*x,q=.1*(.5*x),Y="round"==w?"10px":"0px",G=(0,u.GvQ)(k);var K=!1,J=0,$=0;function ee(e){K=e}return(0,f.jsx)("div",{children:M&&!B?(0,f.jsx)(f.Fragment,{}):P&&B?(0,f.jsx)("div",{style:"left"===T?{left:"1px",bottom:F?(0,u.pUQ)(k)+"px":C+"px",position:"fixed",zIndex:G}:{right:"5px",bottom:F?(0,u.pUQ)(k)+"px":C+"px",position:"fixed",zIndex:G},children:(0,f.jsxs)("div",{onClick:()=>{X(["initial",L[1]],!1)},style:{margin:"1px",width:x+"px",height:d+"px"},className:"left"===T?"whatmore-ultraminimized-video-view-left":"whatmore-ultraminimized-video-view-right",children:[(0,f.jsx)("div",{style:{overflow:"hidden"},children:(0,f.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:9/16},children:(0,f.jsx)(r.A,{url:_.thumbnail_image,isPlaying:!1,event:_})})}),(0,f.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,f.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",height:"100%"},children:[(0,f.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content"},children:(0,f.jsx)("div",{className:"whatmore-ultraminimized-content-scale-out",children:(0,f.jsx)(c.A,{sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:W+"px"},style:{position:"relative",zIndex:1,left:q+"px",bottom:q+"px"},onClick:O})})}),(0,f.jsx)("div",{style:{height:"100%",display:"flex",flexFlow:"column nowrap",alignItems:"center",justifyContent:"center"},children:(0,f.jsx)(m.A,{sx:{color:"white",fontSize:2*W+"px",filter:"drop-shadow(0 0 2px black);"}})})]})})]})}):(0,f.jsx)(h(),{nodeRef:i,cancel:".activate-button,.close-btn",defaultClassName:"whatmore-react-draggable",defaultClassNameDragging:"whatmore-react-draggable-dragging",defaultClassNameDragged:"whatmore-react-draggable-dragged",bounds:"html",onStart:(e,t)=>{var i,o;i=t.x,o=t.y,J=i,$=o},onDrag:(e,t)=>{ee(!0)},onStop:(e,t)=>{K&&(Math.abs(t.x-J)>5||Math.abs(t.y-$)>5)?ee(!1):H(_)},children:(0,f.jsx)("div",{ref:i,style:"left"===T?{left:F?(0,u.D2A)(k)+"px":N+"px",bottom:F?(0,u.pUQ)(k)+"px":C+"px",position:"fixed",zIndex:G}:{right:F?(0,u.D2A)(k)+"px":N+"px",bottom:F?(0,u.pUQ)(k)+"px":C+"px",position:"fixed",zIndex:G},children:(0,f.jsxs)("div",{style:Object.assign({},{boxSizing:"border-box",margin:"1px",width:e.isSpotlight&&"60122562760"==k?d+"px":x+"px",height:e.isSpotlight&&"60122562760"==k?x+"px":d+"px"}),className:"left"===T?"whatmore-minimized-video-view-left":"whatmore-minimized-video-view-right",children:[(0,f.jsx)("div",{style:{overflow:"hidden",position:"relative"},children:(0,f.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:e.isSpotlight&&"60122562760"==k?16/9:9/16},children:(0,f.jsx)(r.A,{url:_.thumbnail_image,isMuted:!0,isPlaying:!0,event:_})})}),(0,f.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,f.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",height:"100%"},children:[(0,f.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content"},children:(0,f.jsx)(c.A,{className:"close-btn",sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:W+"px"},onClick:O,style:{position:"relative",zIndex:1,left:Z+"px",bottom:Z+"px"}})}),(0,f.jsx)("div",{style:{marginLeft:"auto",marginRight:"auto"},children:(0,f.jsx)(p.A,{sx:{color:(0,u.KFN)(k),fontSize:U+"px",filter:"drop-shadow(0 0 2px black);"}})}),(0,f.jsx)("div",{style:{paddingLeft:"2px",paddingRight:"2px",borderBottomLeftRadius:Y,borderBottomRightRadius:Y,backgroundImage:g?"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0.6))":""},children:(0,f.jsxs)("p",{style:{textAlign:"center",color:"white",fontFamily:"Sans-serif",fontWeight:"semi-bold",fontSize:.4*W+"px",margin:0,padding:0,lineHeight:"110%"},children:["\xa0",g]})})]})})]})})})})}},6125:function(){},7229:function(){},4669:function(){},6042:function(){},3997:function(){},9130:function(){},6614:function(){}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[590],{7220:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return _}});var o=n(664),i=n(9950),r=n(1348),l=n(1745);const a=function(t){new PerformanceObserver((e=>{for(const n of e.getEntries()){[`${window.location.origin}/cart/add.js`,`${window.location.origin}/cart/add`].includes(n.name)&&(console.debug("Whatmore :: Fetch request detected to",n.name),(0,r.dnh)(whatmoreShopId)&&setTimeout((()=>{(0,l.sw)(t)}),1e3))}})).observe({entryTypes:["resource"]})};var c=n(7740),s=n(4737),u=n(4833);var d,f=n(5491),h=n.n(f),g=n(964),m=n(4414);const p=i.lazy((()=>Promise.all([n.e(286),n.e(461),n.e(760)]).then(n.bind(n,1746)))),v=i.lazy((()=>Promise.all([n.e(682),n.e(2),n.e(850),n.e(859),n.e(286),n.e(296),n.e(461),n.e(774)]).then(n.bind(n,3389)))),w=i.lazy((()=>Promise.all([n.e(682),n.e(2),n.e(850),n.e(859),n.e(286),n.e(296),n.e(461),n.e(717)]).then(n.bind(n,8154)))),S=null!==(d="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==d&&d;let y=h()((t=>{fetch(g.$$+"/customization/frontend/"+t).then((t=>t.json())).then((e=>{(0,r.Tzr)(e,t),(0,o.t2)("brandCustomizationsLoaded",!0)})).catch((t=>{console.error("Whatmore : Error while fetching brandCustomizations : "+t)}))}),100,{leading:!0,trailing:!1});var _=function(){var t;const[e]=(0,o.QN)("whatmoreLandingLocationType"),[d]=(0,o.QN)("whatmoreShopId"),f=(0,o.Xd)("isInDesignMode"),[h,g]=(0,o.QN)("brandCustomizationsLoaded"),[_]=(0,o.QN)("whatmoreEmbedAppUseVariant"),{whatmoreEventsBrowsingTemplate:b}=(0,i.useContext)(s.B),[j]=null===(t=performance)||void 0===t?void 0:t.getEntriesByType("navigation");if((0,i.useEffect)((()=>{if(!h){const t=3e5;(0,r.tVc)(t)&&"reload"!=(null===j||void 0===j?void 0:j.type)?g(!0):y(d)}null==localStorage.getItem("_user_wh_lc")&&"72201044272"==d&&n.e(259).then(n.bind(n,3446)).then((t=>{let{getLocationDetails:e}=t;return e()})).then((t=>(localStorage.setItem("_user_wh_lc",JSON.stringify(t)),{}))).catch((t=>{localStorage.setItem("_user_wh_lc",JSON.stringify({latitude:"",longitude:""})),console.error(`Error: ${t}`)}))}),[]),(0,i.useEffect)((()=>{a("true"===_),(0,r.WmJ)(d)&&function(t){let e=document.createElement("style");e.innerHTML=t,document.head.appendChild(e)}((0,r.WmJ)(d))}),[h]),!h)return(0,m.jsx)(m.Fragment,{});if((0,c.U)()){if((0,u.Ig)(b))return(0,m.jsx)(m.Fragment,{});if("index"===e||"collection"===e||e.startsWith("collection")||e.startsWith("page")){if(!(0,u.io)(b))return S&&console.debug("Whatmore : Shopify, rendering index/collection page carousels : "+b),(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(i.Suspense,{children:(0,m.jsx)(p,{})})});if(function(){var t,e,n,i,l,a,c,s,u,h,g,m;const p=(0,o.Xd)("whatmoreCollectionId");return f||(null===(t=window)||void 0===t||null===(e=t.Shopify)||void 0===e||null===(n=e.theme)||void 0===n?void 0:n.role)&&"main"!==(null===(i=window)||void 0===i||null===(l=i.Shopify)||void 0===l||null===(a=l.theme)||void 0===a?void 0:a.role)||(0,r.hbj)(d)&&(null===(c=window)||void 0===c||null===(s=c.Shopify)||void 0===s||null===(u=s.theme)||void 0===u?void 0:u.role)&&"main"===(null===(h=window)||void 0===h||null===(g=h.Shopify)||void 0===g||null===(m=g.theme)||void 0===m?void 0:m.role)&&((0,r.R2w)(d)||p&&(0,r.Idi)(d).includes(p))}())return S&&console.debug("Whatmore : Shopify, rendering index/collection page spotlight : "+b),(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(i.Suspense,{children:(0,m.jsx)(w,{})})})}var x,I,T,O,N,$,W,E,P,k,J,F;return e.startsWith("product")?(0,u.io)(b)?(null!==(x=window)&&void 0!==x&&null!==(I=x.Shopify)&&void 0!==I&&null!==(T=I.theme)&&void 0!==T&&T.role&&"main"===(null===(O=window)||void 0===O||null===(N=O.Shopify)||void 0===N||null===($=N.theme)||void 0===$?void 0:$.role)||window.location.href.includes("localhost:"))&&(0,r.fDZ)(d)?(S&&console.debug("Whatmore : Shopify, rendering PDP-page popup : "+b),(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(i.Suspense,{children:(0,m.jsx)(v,{})})})):(null!==(W=window)&&void 0!==W&&null!==(E=W.Shopify)&&void 0!==E&&null!==(P=E.theme)&&void 0!==P&&P.role&&"main"!==(null===(k=window)||void 0===k||null===(J=k.Shopify)||void 0===J||null===(F=J.theme)||void 0===F?void 0:F.role)||f)&&(0,r.C1J)(d)?(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(i.Suspense,{children:(0,m.jsx)(v,{})})}):(S&&console.debug("Whatmore : Shopify, PDP-page popup disabled."),(0,m.jsx)(m.Fragment,{})):(S&&console.debug("Whatmore : Shopify, rendering PDP-page carousels : "+b),(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(i.Suspense,{children:(0,m.jsx)(p,{})})})):((0,r.dnh)(d)&&(0,r.bQo)(d)&&"cart"===e&&(S&&console.debug("Whatmore : initiating whatmore attribution from cart page."),(0,l.sw)("true"===_)),(0,m.jsx)(m.Fragment,{}))}return"index"===e||"collection"===e?(0,u.io)(b)?(S&&console.debug("Whatmore : External, rendering index/collection page popup : "+b),(0,m.jsx)(m.Fragment,{})):(S&&console.debug("Whatmore : External, rendering index/collection page carousels : "+b),(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(i.Suspense,{children:(0,m.jsx)(p,{})})})):e.startsWith("product")||"embed"===e?(0,u.Ig)(b)||(0,u.io)(b)?(0,r.fDZ)(d)?(S&&console.debug("Whatmore : External, rendering PDP-page popup : "+b),(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(i.Suspense,{children:(0,m.jsx)(v,{})})})):(S&&console.debug("Whatmore : External, PDP-page popup disabled."),(0,m.jsx)(m.Fragment,{})):(S&&console.debug("Whatmore : External, rendering PDP-page carousels : "+b),(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(i.Suspense,{children:(0,m.jsx)(p,{})})})):(0,m.jsx)(m.Fragment,{})}},7740:function(t,e,n){"use strict";function o(){return!(void 0==window.Shopify&&!window.location.href.includes("shopify")&&!window.location.href.includes("localhost:"))}n.d(e,{U:function(){return o}})},6641:function(t,e,n){"use strict";n.d(e,{Fk:function(){return s},gv:function(){return c},xv:function(){return a}});var o=n(664);const i="Whatmore : ",r=(0,o.Xd)("whatmoreShopId");function l(t){console.debug(i+t)}function a(t){var e;null!==(e="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==e&&e&&(l("total events received : "+(t&&t.length)),l("events data : "+JSON.stringify(t)))}function c(t){var e;null!==(e="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==e&&e&&l(t)}const s=t=>{"STR60LW4WMA"!=r&&console.log(`%c ${t}`,"background: #D53F8C; color: white; font-size: 19px; padding: 5px; font-weight: semibold;","\n\nFind us here -> https://www.whatmore.ai")}},1745:function(t,e,n){"use strict";n.d(e,{RX:function(){return d},sw:function(){return u},iL:function(){return h},oV:function(){return f},Lt:function(){return c},js:function(){return s},tN:function(){return g},_N:function(){return m}});var o=n(1348);const i="_whatmore-tracking-id";var r=n(2089),l=n(4533),a=n(664);function c(){const t="https://"+window.location.hostname+"/cart.json";return fetch(t,{method:"GET"})}async function s(){const t="https://"+window.location.hostname+"/cart.json";return await fetch(t,{method:"GET"})}async function u(t){var e;let n=(0,r.Ak)(),o=null,c=null,u={},d=null,f=null,h=null,g={},m=(0,l.CK)(),p=null===(e=localStorage)||void 0===e?void 0:e.wht_is_impression,v=m.length>0;m.forEach((t=>{g.hasOwnProperty(null===t||void 0===t?void 0:t.product_id)||(g[null===t||void 0===t?void 0:t.product_id]={widgetInfo:null===t||void 0===t?void 0:t.widget_info,location:null===t||void 0===t?void 0:t.location,userType:null===t||void 0===t?void 0:t.user_type})})),await s().then((t=>t.json())).then((e=>{n=e.token;let r=[];if(r=!0===t?e.items.map((t=>{const e=g[null===t||void 0===t?void 0:t.variant_id];return{...t,location:null===e||void 0===e?void 0:e.location,userType:null===e||void 0===e?void 0:e.userType,widget_info:null===e||void 0===e?void 0:e.widgetInfo}})):e.items.map((t=>{const e=g[null===t||void 0===t?void 0:t.product_id];return{...t,location:null===e||void 0===e?void 0:e.location,userType:null===e||void 0===e?void 0:e.userType,widget_info:null===e||void 0===e?void 0:e.widgetInfo}})),0==r.length)return console.debug("Whatmore :: no cart items available for view products"),null;r.map((e=>{if(o=e.key,c=e.quantity,u=e.properties,d=e.widget_info,f=e.location,h=e.userType,null===u||!(i in u)){const n=async function(t,e,n,o){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"default",c=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0,u=arguments.length>7?arguments[7]:void 0,d=arguments.length>8?arguments[8]:void 0;const f=(0,a.Xd)("whatmoreShopId"),h=s?(0,l.wm)()+("72201044272"==f?`#${o}#${r}#${c?"olduser":"newuser"}`:`#${o}`):d?"_wt_vs":u?"_wt_vi":"";let g={id:t,quantity:e,properties:{...h?{[i]:h}:{},...n}};const m=await fetch("https://"+window.location.hostname+"/cart/change.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(g)}).then((t=>t.json())).catch((t=>{console.error("Whatmore :: Error while updating cart attribute.",t)}));return m}(o,c,u,d,f,h,g.hasOwnProperty(JSON.stringify(!0===t?e.variant_id:e.product_id)),p,v);return n}}))})).catch((t=>{console.error("Whatmore :: Error while fetching cart_token for cart attribute update.",t)}))}async function d(t,e,n,r){let a,c,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"default",u=arguments.length>5?arguments[5]:void 0,d=arguments.length>6?arguments[6]:void 0;if((0,o.dnh)(n)){const o=(0,l.wm)()+("72201044272"==n?`#${r}#${s}#${u?"olduser":"newuser"}:direct`:`#${r}:direct`);if(a={items:[{id:t,quantity:e,properties:{[i]:o}}]},"77105758517"==n){c=new URLSearchParams,c.append("product-id",null===d||void 0===d?void 0:d.client_product_id),c.append("id",t),c.append("quantity",e);return await fetch("https://"+window.location.hostname+"/cart/add.js",{method:"POST",body:c})}}else a={items:[{id:t,quantity:e}]};return await fetch("https://"+window.location.hostname+"/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})}function f(t,e,n,i){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"default",l=arguments.length>5?arguments[5]:void 0;const a="https://"+window.location.hostname;var c;const s="72201044272"==n?`came-from-whatmore-live_${i}_${r}_${l?"olduser":"newuser"}`:`came-from-whatmore-live_${i}`;(0,o.BLb)(n)?(c=`${a}/cart/${t}:${e}?`+(0,o.VCz)(n)+"&"+(0,o.Spk)(n)+"&"+(0,o.KMo)(n),(0,o.dnh)(n)&&(c=`${c}&ref=`+s)):(c=`${a}/cart/${t}:${e}`,(0,o.dnh)(n)&&(c=`${c}?ref=`+s)),window.location.href=c}function h(t){const e="https://"+window.location.hostname+"/cart";(0,o.BLb)(t)?window.location.href=e+"?"+(0,o.VCz)(t)+"&"+(0,o.Spk)(t)+"&"+(0,o.yD5)(t):window.location.href=e}async function g(t){let e;if("27303477337"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")){var n,o;const i="https://"+window.location.hostname,r=window.location.pathname.split("/");e=i+"/"+(null!==r&&void 0!==r&&null!==(n=r[1])&&void 0!==n&&n.startsWith("en-")?(null===r||void 0===r?void 0:r[1])+"/":"")+(null===t||void 0===t||null===(o=t.product_link)||void 0===o?void 0:o.split(".co")[1])+".js"}else e=(null===t||void 0===t?void 0:t.product_link)+".js";const i=await fetch(e,{method:"GET"});if(!i.ok)throw new Error(`Error! status: ${i.status}`);return await i.json()}async function m(t){const e=t.product_link+".json",n=await fetch(e,{method:"GET"});if(!n.ok)throw new Error(`Error! status: ${n.status}`);return await n.json()}},4533:function(t,e,n){"use strict";n.d(e,{CK:function(){return j},Ch:function(){return b},Fu:function(){return _},Hm:function(){return x},d3:function(){return I},wm:function(){return S},zv:function(){return y}});var o=n(2089),i=n(664),r=n(4820);const l="_whatmore_user_id",a="_whatmore_session_id",c="_whatmore_viewed_products",s="_whatmore_add_to_cart_products",u="_whatmore_session_time",d="_whatmore_store_id",f="_whatmore_qview_index",h="_whatmore_brand_questions",g=(0,i.Xd)("whatmoreShopId"),m=18e5,p=2592e5,v=6e5,w="_whatmore_bulk_events";function S(){return localStorage.getItem(d)!=g&&localStorage.setItem(d,g),null==localStorage.getItem(l)&&function(){new Date;const t=(0,o.Ak)();localStorage.setItem(l,t)}(),localStorage.getItem(l)}function y(){const t=new Date,e=JSON.parse(localStorage.getItem(w))||[],n=localStorage.getItem(u);return(null==localStorage.getItem(a)||null==n||t.getTime()>n)&&(localStorage.removeItem(a),localStorage.removeItem(u),function(){const t=(0,o.Ak)(),e=(new Date).getTime()+m;localStorage.setItem(a,t),localStorage.setItem(u,e)}(),e&&e.length>0&&((0,r.u)(e),localStorage.removeItem(w))),localStorage.getItem(a)}function _(t,e,n,o,i){const r=(new Date).getTime(),l={event_id:t.event_id,product_id:e.client_product_id,product_title:e.title,price:e.price,timestamp:r,widget_info:n,location:o,user_type:i?"olduser":"newuser",variants:[]};if(null===localStorage.getItem(s))localStorage.setItem(s,JSON.stringify([l]));else{let t=JSON.parse(localStorage.getItem(s)).filter((t=>t.timestamp+p>r));localStorage.setItem(s,JSON.stringify([...t,l]))}}function b(t,e,n,o,i){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"default",l=arguments.length>6?arguments[6]:void 0;const a=[],s=(new Date).getTime();if(e.map((e=>{const c={event_id:t,product_id:e.client_product_id,product_title:e.title,price:e.price,timestamp:s,variants:[],page:n,widget_type:o,widget_info:i,location:r,user_type:l?"olduser":"newuser"};a.push(c)})),null===localStorage.getItem(c))console.debug("viewed Products",JSON.stringify(a)),localStorage.setItem(c,JSON.stringify(a));else{let e=JSON.parse(localStorage.getItem(c)),n=!1;e.map((e=>{let o=Object.assign({},e);return e.event_id===t&&(e.timestamp=s,n=!0),o})),n?localStorage.setItem(c,JSON.stringify(e)):localStorage.setItem(c,JSON.stringify([...e,...a]))}}function j(){const t=(new Date).getTime();let e=JSON.parse(localStorage.getItem(c));if(!e)return[];let n=e.filter((e=>e.timestamp+p>t));return localStorage.setItem(c,JSON.stringify(n)),n}function x(){if(null!=localStorage.getItem(f)){const t=parseInt(localStorage.getItem(f))+1;localStorage.setItem(f,t)}}function I(t){const e=(new Date).getTime();if(null==localStorage.getItem(h)){const n={questionList:null===t||void 0===t?void 0:t.filter((t=>1==(null===t||void 0===t?void 0:t.is_active))),timestamp:e};localStorage.setItem(h,JSON.stringify(n))}else{const n=JSON.parse(localStorage.getItem(h));if((null===n||void 0===n?void 0:n.timestamp)+v>e){const n={questionList:null===t||void 0===t?void 0:t.filter((t=>1==(null===t||void 0===t?void 0:t.is_active))),timestamp:e};localStorage.setItem(h,JSON.stringify(n))}}}},4820:function(t,e,n){"use strict";n.d(e,{u:function(){return r}});var o=n(964),i=n(6641);const r=function(t){let e={};const n=t.length<10;e.metric_event_list=t,(async()=>{!function(t,e){const n="ingesting analytis-event";(0,i.gv)(n);const r=t;fetch(o.qW+"/event_metrics/bulk",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(r),keepalive:e}).then((t=>t.json())).then((t=>{})).catch((t=>{console.error("error "+n,t)}))}(e,n)})()}},4635:function(t,e,n){var o=n(4759).Symbol;t.exports=o},2022:function(t,e,n){var o=n(4635),i=n(1581),r=n(5336),l=o?o.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":l&&l in Object(t)?i(t):r(t)}},6914:function(t,e,n){var o=n(8798),i=/^\s+/;t.exports=function(t){return t?t.slice(0,o(t)+1).replace(i,""):t}},6658:function(t,e,n){var o="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=o},1581:function(t,e,n){var o=n(4635),i=Object.prototype,r=i.hasOwnProperty,l=i.toString,a=o?o.toStringTag:void 0;t.exports=function(t){var e=r.call(t,a),n=t[a];try{t[a]=void 0;var o=!0}catch(c){}var i=l.call(t);return o&&(e?t[a]=n:delete t[a]),i}},5336:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},4759:function(t,e,n){var o=n(6658),i="object"==typeof self&&self&&self.Object===Object&&self,r=o||i||Function("return this")();t.exports=r},8798:function(t){var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},5491:function(t,e,n){var o=n(4567),i=n(4378),r=n(2588),l=Math.max,a=Math.min;t.exports=function(t,e,n){var c,s,u,d,f,h,g=0,m=!1,p=!1,v=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function w(e){var n=c,o=s;return c=s=void 0,g=e,d=t.apply(o,n)}function S(t){var n=t-h;return void 0===h||n>=e||n<0||p&&t-g>=u}function y(){var t=i();if(S(t))return _(t);f=setTimeout(y,function(t){var n=e-(t-h);return p?a(n,u-(t-g)):n}(t))}function _(t){return f=void 0,v&&c?w(t):(c=s=void 0,d)}function b(){var t=i(),n=S(t);if(c=arguments,s=this,h=t,n){if(void 0===f)return function(t){return g=t,f=setTimeout(y,e),m?w(t):d}(h);if(p)return clearTimeout(f),f=setTimeout(y,e),w(h)}return void 0===f&&(f=setTimeout(y,e)),d}return e=r(e)||0,o(n)&&(m=!!n.leading,u=(p="maxWait"in n)?l(r(n.maxWait)||0,e):u,v="trailing"in n?!!n.trailing:v),b.cancel=function(){void 0!==f&&clearTimeout(f),g=0,c=h=s=f=void 0},b.flush=function(){return void 0===f?d:_(i())},b}},4567:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},9248:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},184:function(t,e,n){var o=n(2022),i=n(9248);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==o(t)}},4378:function(t,e,n){var o=n(4759);t.exports=function(){return o.Date.now()}},2588:function(t,e,n){var o=n(6914),i=n(4567),r=n(184),l=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(r(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=o(t);var n=a.test(t);return n||c.test(t)?s(t.slice(2),n?2:8):l.test(t)?NaN:+t}},2089:function(t,e,n){"use strict";n.d(e,{Ak:function(){return o}});let o=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;return crypto.getRandomValues(new Uint8Array(t)).reduce(((t,e)=>t+=(e&=63)<36?e.toString(36):e<62?(e-26).toString(36).toUpperCase():e>62?"-":"_"),"")}}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[806,939,956],{3278:function(e,t,n){n.r(t),n.d(t,{default:function(){return F}});var r=n(9950),i=n(9769),o=n(9108),a=(n(3997),n(9130),n(4669),n(9733),n(4365),n(7229),n(6042),n(2682)),s=n(4910),l=n(7509),d=n(4737),m=(n(4826),n(664)),c=n(7575),u=n(2257),h=n(1348),p=n(6649),v=n(7300),f=n(3788),g=n(6493),y=n(4895),x=n(5375),$=n(4414);var b=function(e){var t;const n=e.isMuted,r=null!==(t=e.iconSize)&&void 0!==t?t:30;function i(t){e.onToggle(t)}return(0,$.jsx)("div",{style:{cursor:"pointer"},children:n?(0,$.jsx)(x.A,{sx:{color:"white",fontSize:r,filter:"drop-shadow(0 0 5px black);"},onClick:e=>{i(e)}}):(0,$.jsx)(y.A,{sx:{color:"white",fontSize:r,filter:"drop-shadow(0 0 5px black);"},onClick:e=>{i(e)}})})},w=n(3771),j=n(6613),_=n(1085),A=n(1079),C=n(5873),I=n(1351),k=n(6157),P=n(3294),S=n(9879),z=n(9821),M=n(69);function N(e){const[t,n]=(0,r.useState)(e.initialMuteState),i=e.events,o=e.activeEventIndex,a=e.setActiveEventIndex,s=(0,m.Xd)("whatmoreShopId"),l="portrait"===e.mode;function d(r){r.stopPropagation(),n(!t),(0,j.MN)()&&((0,z._)()?(0,_.bo)():(0,M.bi)()),e.onMuteToggle()}const p=e.event;return(0,$.jsx)("div",{style:{position:(0,h.D7t)(s)?"absolute":"relative",top:(0,h.D7t)(s)?0:"",zIndex:1,bottom:(0,h.D7t)(s)?"":"100%",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,$.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-between",alignItems:"center"},children:[(0,$.jsxs)("div",{className:"banner-event-overlay",style:{display:"flex",flexFlow:"row nowrap",justifyContent:"space-between",alignItems:"center",width:"100%",paddingRight:"1%",paddingLeft:"1%",paddingTop:"1%",backgroundImage:"linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0.3))"},children:["video"==p.event_type&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)("div",{style:{width:"100%",height:"100%"},onClick:e=>{d(e)}}),(0,$.jsx)(b,{isMuted:t,onToggle:e=>{d(e)}})]}),i.length>1&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)("div",{classname:"banner-navigation-overlay-left",style:{position:"absolute",left:"10px",top:"50%",transform:"translateY(-50%)",backgroundColor:"transparent",borderRadius:"50%",zIndex:2,border:"2px solid white",padding:"2px",cursor:"pointer"},onClick:e=>{e.stopPropagation(),a(0===o?i.length-1:o-1)},children:(0,$.jsx)("div",{style:{backgroundColor:"#fff",borderRadius:"50%",padding:"6px"},children:(0,$.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"20px",color:"#252525",height:"20px"},children:(0,$.jsx)(c.A,{})})})}),(0,$.jsx)("div",{classname:"banner-navigation-overlay-right",style:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)",backgroundColor:"transparent",borderRadius:"50%",zIndex:2,border:"2px solid white",padding:"2px",cursor:"pointer"},onClick:e=>{e.stopPropagation(),a(o===i.length-1?0:o+1)},children:(0,$.jsx)("div",{style:{backgroundColor:"#fff",borderRadius:"50%",padding:"6px"},children:(0,$.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"20px",color:"#252525",height:"20px",textAlign:"center"},children:(0,$.jsx)(u.A,{})})})}),(0,h.JiT)(s)&&(0,$.jsx)("div",{style:{display:"flex",position:"absolute",bottom:"7%",left:"50%",transform:"translateX(-50%)",gap:"24px",zIndex:1},children:i.map(((e,t)=>{const n=t===o;return(0,$.jsx)("button",{onClick:e=>{e.stopPropagation(),a(t)},style:{width:n?"25px":l?"12px":"14px",height:l?"12px":"14px",borderRadius:n?"10px":"50%",backgroundColor:n?(0,h.z1s)(s):"#f8eeec",boxShadow:"0px 0px 8px rgba(0, 0, 0, 0.3)"}},t)}))})]})]}),!(0,h.OC6)(s)&&(0,$.jsx)("div",{style:{width:"100%",height:"100%"},onClick:d})]})})}var R=function(e){var t,n,i,o;const[a,s,l]=(0,v.A)(),[c,u]=(0,r.useState)(!0),y=(0,m.Xd)("whatmoreVideoTileSize"),[x,b,j]=(0,p.A)({triggerOnce:!1}),{whatmoreWidgetSourceDetails:_}=(0,r.useContext)(d.B),z=(0,m.Xd)("whatmoreShopId"),M=e.events,R=e.activeEventIndex,E=e.setActiveEventIndex,F=M[R],L=(0,g.lP)(F),D=(0,g.cb)(F);if((0,r.useEffect)((()=>{C.Sn.forEach((e=>{var t;if(!(null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-banner-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-banner-a"]')))return;e&&(e.style.minHeight="0px")}))}),[]),"portrait"===a&&!L)return(0,$.jsx)($.Fragment,{});if("landscape"===a&&!D)return(0,$.jsx)($.Fragment,{});const T=(0,f.s)("portrait"===a?L:D),X=y/100*(0,h.igk)(z),B=y/100*(0,h.Y_l)(z),W="portrait"===a?(0,h.G0Q)(z):(0,h.ga9)(z),O="portrait"===a?l*X:l*B,V=O*W,H=null!=(null===(t=F.cta)||void 0===t||null===(n=t[1])||void 0===n?void 0:n.cta_link);return(0,$.jsxs)("div",{ref:x,onClick:()=>{var e,t;(0,I.kz)({userInteractionType:k.O.BANNER_WIDGET_CLICKED,widgetSourceDetails:_,event:M[R]}),(0,h.OC6)(z)&&H&&window.open(null===(e=F.cta)||void 0===e||null===(t=e[1])||void 0===t?void 0:t.cta_link,"_self")},style:{position:"relative",margin:"0 auto",width:(0,h.D7t)(z)?"100%":O,minHeight:(0,h.D7t)(z)?l*W:"",height:(0,h.D7t)(z)?"auto":V,borderWidth:(0,h.YcK)(z),borderColor:(0,h.Fwt)(z),overflow:"hidden",cursor:"pointer"},children:["28273541192"===z?(0,$.jsx)(S.A,{height:"100%",width:"100%",url:T,isPlaying:b,event:F,isVideoMuted:!b||c,source:P.N.BANNER}):(0,$.jsx)(w.A,{height:"100%",width:"100%",url:T,isPlaying:b,event:F,isVideoMuted:!b||c,setDuration:e.setDuration,source:P.N.BANNER}),(0,$.jsx)(N,{isCTAPresent:H,events:M,activeEventIndex:R,setActiveEventIndex:E,event:F,mode:a,onMuteToggle:()=>u(!c),initialMuteState:c}),(0,h.XYM)(z)&&(null===F||void 0===F||null===(i=F.cta)||void 0===i?void 0:i.length)>1&&(0,$.jsx)("div",{style:{position:"absolute",zIndex:1,bottom:"10%",left:"50%",transform:"translateX(-50%)"},className:"whatmore-ios-css-relative-fix",children:(0,$.jsx)(A.A,{isBanner:!0,event:F,cta:null===F||void 0===F||null===(o=F.cta)||void 0===o?void 0:o[1],fontFactor:.6})})]})};const E=(0,s.A)({key:"whatmore-css-bv"});var F=function(e){const{whatmoreRootId:t}=(0,r.useContext)(d.B),[n,s]=(0,r.useState)(0),m=e.events,[c,u]=(0,r.useState)(-1);let h;return(0,r.useEffect)((()=>{h&&clearInterval(h);const e="video"===m[n].event_type,t=e?1e3*c:6e3;return e?-1!=c&&(h=setInterval((()=>{s((e=>e===m.length-1?0:e+1))}),t)):h=setInterval((()=>{s((e=>e===m.length-1?0:e+1))}),t),()=>{clearInterval(h)}}),[c,n]),delete o.Ay.styles.global,(0,$.jsx)(a.C,{value:E,children:(0,$.jsx)("div",{className:"whatmore-banner-events",children:(0,$.jsx)(i.s,{theme:o.Ay,cssVarsRoot:t,resetCSS:!1,children:(0,$.jsx)(l.h.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:(0,$.jsx)(R,{activeEventIndex:n,events:m,setActiveEventIndex:s,setDuration:u})})})})})}},2835:function(e,t,n){var r=n(7891),i=n(8454),o=n(3781),a=n(664),s=n(4414);t.A=function(e){var t;const n=(0,a.Xd)("whatmoreUITheme"),[l]=(0,a.QN)("whatmoreSecondaryColor"),[d,m]=(0,a.QN)("productRatings"),c=(0,a.Xd)("whatmorePrimaryFont"),u=e.productId,h=e.fontSize,p=null!==(t=e.fontColor)&&void 0!==t?t:"gray";if(null===d||"undefined"==typeof d||!(u in d)||d[u].avgRating>5)return(0,s.jsx)(s.Fragment,{});const v=d[u].avgRating,f=d[u].totalRatings;return(0,s.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center"},children:(0,s.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center",gap:"0px"},children:[[...Array(Math.floor(v))].map(((e,t)=>(0,s.jsx)(r.A,{sx:{color:l,fontSize:h+"px"}},"star-icon"+t))),v-Math.floor(v)>.2?(0,s.jsx)(i.A,{sx:{color:l,fontSize:h+"px"}},"star-half-icon"):v-Math.floor(v)==0?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(o.A,{sx:{color:l,fontSize:h+"px"}},"star-outline-icon"),[...Array(Math.floor(5-v))].map(((e,t)=>(0,s.jsx)(o.A,{sx:{color:l,fontSize:h+"px"}},"star-outline-icon-"+t))),(0,s.jsx)("div",{children:(0,s.jsx)("div",{width:"2px"})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{style:{backgroundColor:l,borderRadius:"round"==n?"2px":"0px",padding:"1px",overflow:"hidden"},children:(0,s.jsxs)("p",{ref:e=>{e&&(e.style.setProperty("color","white","important"),e.style.setProperty("font-size",.8*h+"px","important"),e.style.setProperty("font-family",c,"important"),e.style.setProperty("-webkit-line-clamp",2,"important"),e.style.setProperty("line-clamp",2,"important"),e.style.setProperty("-webkit-box-orient","vertical","important"),e.style.setProperty("display","-webkit-box","important"),e.style.setProperty("overflow","hidden","important"),e.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0",v,"\xa0"]})})}),(0,s.jsx)("div",{children:(0,s.jsxs)("p",{ref:e=>{e&&(e.style.setProperty("color",p,"important"),e.style.setProperty("font-size",.8*h+"px","important"),e.style.setProperty("font-family",c,"important"),e.style.setProperty("-webkit-line-clamp",2,"important"),e.style.setProperty("line-clamp",2,"important"),e.style.setProperty("-webkit-box-orient","vertical","important"),e.style.setProperty("display","-webkit-box","important"),e.style.setProperty("overflow","hidden","important"),e.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0","("+f+")"]})})]})})}},7509:function(e,t,n){n.d(t,{h:function(){return r}});const r=(0,n(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},16:function(e,t,n){n.d(t,{A:function(){return d}});var r=n(9950),i=(n(5410),n(664)),o=n(4459),a=n(4414);var s=function(e){return(0,r.useEffect)((()=>{const e=(0,o.E2)((0,i.Xd)("whatmoreSecondaryColor"));!function(e,t,n,r){const i=`rgba(${e},${t},${n},${r})`,o=`\n @keyframes whatmore-loading-indicator-keyframe {\n 0%,\n 100% {\n box-shadow: 0em -2.6em 0em 0em ${i}, 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.5), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.7);\n }\n 12.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${n}, 0.7), 1.8em -1.8em 0 0em ${i}, 2.5em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.5);\n }\n 25% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${n}, 0.5), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.7), 2.5em 0em 0 0em ${i}, 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2);\n }\n 37.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${n}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.5), 2.5em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.7), 1.75em 1.75em 0 0em ${i}, 0em 2.5em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2);\n }\n 50% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${n}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.5), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${n}, 0.7), 0em 2.5em 0 0em ${i}, -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2);\n }\n 62.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${n}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${n}, 0.5), 0em 2.5em 0 0em rgba(${e}, ${t}, ${n}, 0.7), -1.8em 1.8em 0 0em ${i}, -2.6em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2);\n }\n 75% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${n}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${n}, 0.5), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.7), -2.6em 0em 0 0em ${i}, -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2);\n }\n 87.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${n}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.5), -2.6em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.7), -1.8em -1.8em 0 0em ${i};\n }\n }\n `,a=document.createElement("style");a.type="text/css",a.innerHTML=o,document.head.appendChild(a)}(e[0],e[1],e[2],.2)}),[]),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("span",{className:"whatmore-loading-indicator"})})},l=n(8781);var d=function(e){var t,n;const r=null!==(t=e.height)&&void 0!==t?t:"100%",i=null!==(n=e.width)&&void 0!==n?n:"100%";return(0,a.jsxs)("div",{style:{width:i,height:r,overflow:"hidden",minHeight:r,minWidth:i},children:[(0,a.jsx)(l.A,{height:r,width:i}),(0,a.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",alignContent:"center",width:"100%",height:"100%",position:"relative",zIndex:1,bottom:"100%",className:"whatmore-ios-css-relative-fix"},children:(0,a.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",width:"100%",height:"fit-content"},children:(0,a.jsx)(s,{})})})]})}},8781:function(e,t,n){var r=n(4414);t.A=function(e){var t,n,i;const o=null!==(t=e.height)&&void 0!==t?t:"100%",a=null!==(n=e.width)&&void 0!==n?n:"100%",s=null!==(i=e.borderRadius)&&void 0!==i?i:"10px";return(0,r.jsx)("div",{style:{height:o,width:o,borderRadius:s,overflow:"hidden",minHeight:o,minWidth:a,maxHeight:o,maxWidth:a},children:(0,r.jsx)("div",{style:{minHeight:o,minWidth:a},height:"100%",width:"100%",className:"whatmore-shimmer"})})}},4033:function(e,t,n){n.d(t,{n:function(){return r}});const r=()=>{if("undefined"!==typeof window){const e=navigator.userAgent.toLowerCase();return e.includes("safari")&&!e.includes("chrome")&&navigator.vendor.includes("Apple")}return!1}},69:function(e,t,n){n.d(t,{Ij:function(){return o},bi:function(){return a}});let r,i=!1;function o(){return r?r.play().then((()=>{i=!0,console.debug("iOS autoplay restrictions bypassed."),r.pause()})).catch((e=>{console.error("Failed to bless videos:",e.message)})):Promise.reject(new Error("Blessing video not initialized."))}function a(){r||(r=document.createElement("video"),r.src="https://whatmore-other-assets.b-cdn.net/whatmore/dummy_for_video_pool_3s_muted_11kb.mp4",r.muted=!0,r.playsInline=!0,r.style.display="none",document.body.appendChild(r));const e=()=>{i||o()};document.addEventListener("click",e,{once:!0}),document.addEventListener("touchstart",e,{once:!0})}},9098:function(e,t,n){var r=n(9950),i=n(16),o=n(4414);t.A=function(e){var t,n,a;const[s,l]=(0,r.useState)(!1),d=r.useRef(0),m=(0,r.useRef)(null),c=null!==(t=e.timeUpdateCallback)&&void 0!==t?t:()=>{},u=null!==(n=e.height)&&void 0!==n?n:"100%",h=null!==(a=e.width)&&void 0!==a?a:"100%";return(0,r.useEffect)((()=>{d.current=0;const e=setInterval((()=>{d.current=d.current+.03,m.current&&c(d.current,5),d.current>=5&&(d.current=0)}),30);return()=>{clearInterval(e)}}),[e.isPlaying]),(0,o.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:h,height:"100%",overflow:"hidden"},children:[(0,o.jsx)("div",{style:{width:s?"100%":"0px",height:s?"100%":"0px"},children:(0,o.jsx)("img",{ref:m,src:e.url,style:{objectFit:"cover",height:"100%",width:h,backgroundColor:"white"},alt:"image player",onLoad:()=>{l(!0)}})}),s?(0,o.jsx)(o.Fragment,{}):(0,o.jsx)(i.A,{width:h,height:u})]})}},9879:function(e,t,n){n.d(t,{A:function(){return p}});var r=n(9950),i=n(6649),o=n(3788),a=n(6613),s=n(2039),l=n(9098),d=n(4033),m=n(664),c=n(6493),u=n(4414);var h=function(e){var t,n,o,s;const l=(0,r.useRef)(null),[h,p,v]=(0,i.A)({triggerOnce:!0}),f=(0,m.Xd)("whatmoreShopId"),g=null!==(t=e.height)&&void 0!==t?t:"100%",y=null!==(n=e.width)&&void 0!==n?n:"100%";return(0,r.useEffect)((()=>{l.current&&(e.isPlaying?l.current.play():(((0,d.n)()||(0,a.At)())&&l.current.play(),"57939755089"==f?setTimeout((()=>{l.current.pause()}),300):l.current.pause()))}),[e.isPlaying,p]),(0,u.jsx)("div",{ref:h,style:{width:g,height:y,overflow:"hidden",display:"flex",alignItems:"center"},children:p||"51394281658"==f||"8968077397"==f?(0,u.jsxs)("video",{ref:l,className:"whatmore-video-player-muted",width:y,height:g,preload:"metadata",loop:!0,src:"86878257455"!=f?e.url:(0,c.yD)(e.url),playsInline:!0,poster:e.isPlaying&&1!=(null===(o=e.event)||void 0===o?void 0:o.index)&&"STRTFEDEDAP"!==f&&"STRY2V4XO5L"!==f?e.url:e.poster,muted:null===(s=e.isVideoMuted)||void 0===s||s,style:{backgroundColor:"white",borderRadius:e.borderRadius,objectFit:"cover"},children:[(0,u.jsx)("source",{src:e.url,type:"video/mp4"}),(0,u.jsx)("source",{src:(0,c.yD)(e.url),type:"video/mp4"})]}):(0,u.jsx)("div",{width:y,height:g,ref:e=>{e&&e.style.setProperty("display","block","important")}})})};var p=function(e){var t,n,d,p,v,f,g,y,x;const[$,b,w]=(0,i.A)({triggerOnce:!0}),j=(0,m.Xd)("whatmoreShopId"),_=(0,r.useRef)(null);if((0,r.useEffect)((()=>{_.current&&(e.isPlaying?_.current.play():_.current.pause())}),[e.isPlaying,b]),(0,s.Il)(e.event))return(0,u.jsx)(l.A,{height:e.height,width:e.width,url:e.url,isPlaying:e.isPlaying,timeUpdateCallback:e.timeUpdateCallback});const A=null!==(t=e.pauseFromPlayTimeInMs)&&void 0!==t?t:200,C=null!==e&&void 0!==e&&null!==(n=e.event)&&void 0!==n&&null!==(d=n.poster_image)&&void 0!==d&&d.startsWith("https://cdn.shopify.com")?(null===e||void 0===e||null===(p=e.event)||void 0===p||null===(v=p.poster_image)||void 0===v?void 0:v.split("?")[0])+"?width=400&height=400":null===e||void 0===e||null===(f=e.event)||void 0===f?void 0:f.poster_image;if((0,a.MN)())return(0,u.jsx)(h,{isVideoMuted:e.isVideoMuted,event:null===e||void 0===e?void 0:e.event,borderRadius:e.borderRadius,height:"100%",width:"100%",poster:C,url:(0,o.s)(e.url),isPlaying:e.isPlaying,pauseFromPlayTimeInMs:A});const I=null!==(g=e.height)&&void 0!==g?g:"100%",k=null!==(y=e.width)&&void 0!==y?y:"100%";return(0,u.jsx)("div",{ref:$,style:{width:I,height:k,overflow:"hidden",display:"flex",alignItems:"center"},children:b||"51394281658"==j||"8968077397"==j?(0,u.jsxs)("video",{ref:_,className:"whatmore-video-player-muted",width:k,height:I,preload:"metadata",loop:!0,playsInline:!0,muted:null===(x=e.isVideoMuted)||void 0===x||x,poster:"57939755089"==j?"":C,style:{backgroundColor:"white",objectFit:"cover"},children:[(0,u.jsx)("source",{src:(0,o.s)(e.url),type:"video/mp4"}),(0,u.jsx)("source",{src:(0,c.yD)(e.url),type:"video/mp4"})]}):(0,u.jsx)("div",{width:k,height:I,ref:e=>{e&&e.style.setProperty("display","block","important")}})})}},3788:function(e,t,n){n.d(t,{s:function(){return s}});var r=n(1348),i=n(664);const o={"https://d3syezql093hs1.cloudfront.net":"https://whatmore-brand-video-assets.azureedge.net","https://d2r0bijhs9mx1s.cloudfront.net":"https://whatmore-brand-thumbnail-video-assets.azureedge.net","https://d2oouab8j9eigo.cloudfront.net":"https://whatmore-brand-story-assets.azureedge.net","https://d28nus7q7qajdn.cloudfront.net":"https://whatmore-video-assets.azureedge.net","https://d1zl4k1t5o4s75.cloudfront.net":"https://whatmore-brand-video-assets-720p.azureedge.net"},a={"https://d3syezql093hs1.cloudfront.net":"https://whatmore-brand-video-assets.b-cdn.net","https://d2r0bijhs9mx1s.cloudfront.net":"https://whatmore-brand-thumbnail-video-assets.b-cdn.net","https://d2oouab8j9eigo.cloudfront.net":"https://whatmore-brand-story-assets.b-cdn.net","https://d28nus7q7qajdn.cloudfront.net":"https://whatmore-video-assets-old.b-cdn.net","https://d1zl4k1t5o4s75.cloudfront.net":"https://whatmore-brand-video-assets-720p.b-cdn.net"},s=function(e){const t=(0,i.Xd)("whatmoreShopId");if(!e)return e;if(e.startsWith("https://cdn.shopify.com"))return e;if("AWSCDN"==(0,r.CfJ)(t))return e;if("AZURECDN"==(0,r.CfJ)(t)){if(e.includes(".azureedge.net"))return e;if(e.includes(".cloudfront.net")){for(const t of Object.keys(o))if(e.includes(t))return e.replace(t,o[t]);return e}}if("BUNNYCDN"==(0,r.CfJ)(t)){if(e.includes(".b-cdn.net"))return e;if(e.includes(".cloudfront.net")){for(const t of Object.keys(a))if(e.includes(t))return e.replace(t,a[t]);return e}}return e}},6493:function(e,t,n){n.d(t,{Cr:function(){return s},cb:function(){return a},lP:function(){return o},yD:function(){return l}});var r=n(1348);const i=(0,n(664).Xd)("whatmoreShopId"),o=function(e){var t,n;return"event_media_urls"in e?"image"===e.event_type?e.event_media_urls.primary.portrait.content_image_original:"secondary"in e.event_media_urls&&e.event_media_urls.secondary.portrait.content_video_1080p?e.event_media_urls.secondary.portrait.content_video_1080p:null!==(t=e.event_media_urls.primary.portrait.content_video_1080p)&&void 0!==t?t:null===(n=e.event_media_urls.primary.landscape)||void 0===n?void 0:n.content_video_1080p:e.event_hls_url},a=function(e){var t;return"event_media_urls"in e?"image"===e.event_type?e.event_media_urls.primary.landscape.content_image_original:"secondary"in e.event_media_urls&&e.event_media_urls.secondary.landscape.content_video_1080p?e.event_media_urls.secondary.landscape.content_video_1080p:null!==(t=e.event_media_urls.primary.landscape.content_video_1080p)&&void 0!==t?t:e.event_media_urls.primary.portrait.content_video_1080p:e.event_hls_url},s=function(e){if(e.startsWith("https://cdn.shopify.com")&&e.includes("whatmore_")){const t=(0,r.ath)(i);if(!t)return e;return`https://whatmore-brand-video-assets-720p.b-cdn.net/${t}/${e.split("whatmore_")[1].split("?")[0]}`}return e},l=function(e){if(e.startsWith("https://cdn.shopify.com")&&e.includes("whatmore_")){const t=(0,r.ath)(i);if(!t)return e;return`https://whatmore-brand-thumbnail-video-assets.b-cdn.net/${t}/${e.split("whatmore_")[1].split("?")[0]}`}return e}},7973:function(e,t,n){n.d(t,{B:function(){return a},b:function(){return o}});var r=n(1348),i=n(664);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=(0,i.Xd)("whatmoreShopId");return"shopify"!=(0,r.NCy)(n)?"STRNV8MHJTF"==n?e+"?format=webp":e:e+t}function a(e){var t;if(null!==e&&void 0!==e&&e.includes("https://w-media.b-cdn.net/process-media"))return"image";const n=null===e||void 0===e||null===(t=e.trim())||void 0===t?void 0:t.split("?")[0],r=/\.(jpeg|jpg|gif|png|svg|webp)$/i,i=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==r&&void 0!==r&&r.test(n)?"image":null!==i&&void 0!==i&&i.test(n)?"video":void 0}},7458:function(e,t,n){n.d(t,{P:function(){return r}});const r=function(e,t){return!(isNaN(t)||!t||("string"===typeof t||t instanceof String)&&!t.trim().length)&&!(parseInt(t)<=parseInt(e))}},2209:function(e,t,n){var r=n(5709);t.A=void 0;var i=r(n(9526)),o=n(4414),a=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");t.A=a},7575:function(e,t,n){var r=n(5709);t.A=void 0;var i=r(n(9526)),o=n(4414),a=(0,i.default)((0,o.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore");t.A=a},2257:function(e,t,n){var r=n(5709);t.A=void 0;var i=r(n(9526)),o=n(4414),a=(0,i.default)((0,o.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");t.A=a},5727:function(e,t,n){var r=n(5709);t.A=void 0;var i=r(n(9526)),o=n(4414),a=(0,i.default)((0,o.jsx)("path",{d:"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82z"}),"PlayArrowRounded");t.A=a},7891:function(e,t,n){var r=n(5709);t.A=void 0;var i=r(n(9526)),o=n(4414),a=(0,i.default)((0,o.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star");t.A=a},8454:function(e,t,n){var r=n(5709);t.A=void 0;var i=r(n(9526)),o=n(4414),a=(0,i.default)((0,o.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarHalf");t.A=a},3781:function(e,t,n){var r=n(5709);t.A=void 0;var i=r(n(9526)),o=n(4414),a=(0,i.default)((0,o.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarOutline");t.A=a},5410:function(){},4826:function(){},4365:function(){},9733:function(){},7229:function(){},4669:function(){},6042:function(){},9130:function(){}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[474],{6945:function(e,t,o){o.r(t);var n=o(9950),i=o(9769),r=o(9108),l=o(5873),s=(o(3997),o(9130),o(4669),o(9733),o(4365),o(7229),o(6042),o(2682)),a=o(4910),d=o(8378),c=o(9094),p=o(932),h=o(7300),u=o(5491),m=o.n(u),y=o(664),v=o(7509),f=o(7136),x=o(1348),g=o(4737),w=o(5620),P=o(1351),j=o(6157),C=o(6641),S=o(1957),b=o(4414);const M=(0,a.A)({key:"whatmore-css-hv"});function O(e){const[t,o,i]=(0,p.A)(),r=(0,y.Xd)("whatmoreShopId"),l=e.events,s=e.onClick,a=i*(0,x.kcl)(r),c=(0,x.cbh)(r),[h,u]=(0,n.useState)(Math.min(l.length,c?l.length:a+5)),{whatmoreWidgetSourceDetails:m}=(0,n.useContext)(g.B);return(0,n.useEffect)((()=>{h<a+5&&u((e=>Math.min(e+5,l.length)))}),[a,5]),(0,b.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,b.jsx)("div",{style:{width:"8968077397"===r&&l.length<4?"200px":window.innerWidth,height:"fit-content"},children:(0,b.jsx)(d.RC,{slidesPerView:l.length>1?"51394281658"==r||"55820812447"==r?2:a:1,initialSlide:l.length>1&&"51394281658"!=r&&"55820812447"!=r?1:0,centeredSlides:"51394281658"!=r&&"55820812447"!=r,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:"51394281658"==r?1:.5,onSlideChange:e=>{(0,P.UM)({userInteractionType:j.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:m}),e.realIndex>e.previousIndex&&u((e=>Math.min(e+5,l.length)))},loop:c&&l.length>2,children:l.map(((e,t)=>t<=h&&(0,b.jsx)(d.qr,{children:t=>{let{isActive:o,isPrev:n,isNext:i,isVisible:l}=t;return(0,x.DmD)(r)?(0,b.jsx)(S.A,{isOnFocus:o&&l,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{s(e)}}):(0,b.jsx)(w.A,{isOnFocus:("51394281658"==r||"55820812447"==r||o)&&l,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{s(e)}})}},"whatmore-event-tile-portrait-"+e.index)))})})})}function I(e){const[t,o,i,r]=(0,p.A)(),[l,s]=(0,n.useState)(-1),a=(0,y.Xd)("whatmoreShopId"),h=e.onClick,u=e.events,v=(0,x.cbh)(a),[C,M]=(0,n.useState)(v?u.length:i),O="8968077397"==a||"19501891"==a?Math.floor(Math.min(i,u.length)):Math.min(i,u.length),I=Math.floor(Math.min(4,u.length)),{whatmoreWidgetSourceDetails:N}=(0,n.useContext)(g.B),k=(0,n.useRef)(null);return(0,n.useEffect)((()=>{if(k.current){const e="8968077397"===a&&u.length>=4?.7:(0,x.fHt)(a),t=o*O*e+"px";u.length<4||"8968077397"===a?k.current.style.setProperty("width",t,"important"):k.current.style.width=t}}),[o,O,a,C,u.length]),(0,n.useEffect)((()=>{C<=i&&M((e=>e+i))}),[i]),(0,b.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",paddingLeft:r+"px",paddingRight:r+"px"},className:"whatmore-events-carousel-landscape",children:(0,b.jsx)("div",{ref:k,style:{height:"100%"},children:(0,b.jsx)(d.RC,{slidesPerView:"8968077397"==a?I:O,watchSlidesProgress:!0,modules:[c.Vx],navigation:!0,slidesPerGroup:"8968077397"==a||"19501891"==a?Math.min(2,u.length):parseInt(O),onSlideChange:e=>{(0,P.UM)({userInteractionType:j.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:N}),e.realIndex>e.previousIndex&&M((e=>e+i))},spaceBetween:0,loop:(v||"8968077397"==a||"19501891"==a)&&u.length>4,style:{height:"100%"},children:u.map(((e,t)=>{const o=m()((()=>s(t)),300);return t<=C&&(0,b.jsx)(d.qr,{onMouseEnter:()=>{o()},onMouseLeave:()=>{o.cancel(),s(-1)},style:{height:"100%"},children:o=>{let{isActive:n,isPrev:i,isNext:r,isVisible:s}=o;return s||"8968077397"==a||"19501891"==a&&(i||r)?(0,x.DmD)(a)?(0,b.jsx)(S.A,{isOnFocus:t==l,playOnUnfocus:!(0,x.aO7)(a)||t==parseInt(O/2)&&-1==l,animateOnFocus:!0,event:e,onClick:()=>{h(e)}}):(0,b.jsx)(w.A,{isOnFocus:t==l,playOnUnfocus:!(0,x.aO7)(a)||t==parseInt(O/2)&&-1==l,animateOnFocus:!0,event:e,onClick:()=>{h(e)}}):(0,b.jsx)(f.A,{})}},"whatmore-event-tile-landscape-"+e.index)}))})})})}t.default=function(e){const[t,o,a]=(0,h.A)(),[d]=(0,y.QN)("whatmoreShopId"),[c]=(0,y.QN)("whatmorePrimaryColor"),[p]=(0,y.QN)("whatmoreTitleFont"),u="portrait"==t?(0,y.Xd)("whatmoreTitleFontSizePortrait"):(0,y.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:m}=(0,n.useContext)(g.B),f=(0,y.Xd)("whatmoreCollectionHeading"),{whatmoreIsCollectionsTemplate:w}=(0,n.useContext)(g.B),P=e.events,j=e.onClick,S=p;function N(e){j(e)}return(0,n.useEffect)((()=>{(0,C.Fk)("Video shopping powered by Whatmore!")}),[]),(0,n.useEffect)((()=>{l.Sn.forEach((e=>{var t;const o=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-a"]');if(!o)return;o&&e&&(e.style.minHeight="0px")}))}),[]),delete r.Ay.styles.global,(0,b.jsx)(s.C,{value:M,children:(0,b.jsx)("div",{className:"whatmore-carousel-events",style:{height:"100%"},children:(0,b.jsx)(i.s,{theme:r.Ay,cssVarsRoot:m,resetCSS:!1,children:(0,b.jsxs)(v.h.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0||w?(0,b.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,b.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",S,"important"),e.style.setProperty("font-size",u+"px","important"))},style:{color:c,backgroundClip:"text",textAlign:"center",fontWeight:(0,x.Odx)(d),lineHeight:(0,x.L0y)(d),letterSpacing:(0,x.l3V)(d)},children:w?"W"!==f?f:"":e.heading})}):(0,b.jsx)(b.Fragment,{}),"landscape"===t?(0,b.jsx)(I,{events:P,onClick:N}):(0,b.jsx)(O,{events:P,onClick:N})]})})})})}},7136:function(e,t,o){var n=o(9950),i=o(932),r=o(7509),l=o(664),s=o(4414);t.A=function(e){var[t,o]=(0,i.A)();(0,n.useContext)(r.h);const a=(0,l.Xd)("whatmoreShopId");return e.event,(0,s.jsx)("div",{style:{margin:"0 auto",width:"8968077397"==a?void 0:o,aspectRatio:"8968077397"==a?9/16:void 0,height:"8968077397"==a?"100%":t,overflow:"hidden"}})}},1957:function(e,t,o){var n=o(9950),i=o(932),r=(o(4826),o(664)),l=o(9879),s=o(7509),a=o(22),d=o(1348),c=o(4737),p=o(6594),h=o(8538),u=o(8149),m=o(4414);t.A=function(e){var t,o,y,v,f,x,g,w,P,j,C,S,b,M,O,I,N,k,A;const[F,_,R,D,E]=(0,i.A)();var W=(0,n.useContext)(s.h);const T=(0,r.Xd)("whatmoreUITheme"),z=(0,r.Xd)("whatmoreShopId"),B=(0,r.Xd)("whatmorePrimaryFont"),U=(0,r.Xd)("whatmoreSecondaryColor"),X=e.onClick,H=null===(t=e.isOnFocus)||void 0===t||t,V=null!==(o=e.playOnUnfocus)&&void 0!==o&&o,L=null!==(y=e.animateOnFocus&&(0,d.n5O)(z))&&void 0!==y&&y,G="portrait"===E[a.dl],q=(G?1.076*_*(0,d.HWj)(z):_*(0,d.N_4)(z))+"px",$=(G?1.076*_*(0,d.HWj)(z):_*(0,d.N_4)(z))+"px",K=(G?.965*_*(0,d.HWj)(z):.859*_*(0,d.N_4)(z))+"px",Q=(0,d.VYo)(z),{whatmoreIsPreviewMode:Y}=(0,n.useContext)(c.B),J=.25*_,Z=J+"px",[ee,te]=(0,n.useState)(e.event),[oe,ne]=(0,n.useState)(),ie=Math.round(+(null===(v=ee.products)||void 0===v||null===(f=v[0])||void 0===f?void 0:f.price)),re=Math.round(+(null===ee||void 0===ee||null===(x=ee.products[0])||void 0===x?void 0:x.compare_price)),le=re&&0!=re&&re>ie?Math.round((re-ie)/re*100):NaN,[se,ae]=(0,n.useState)(le);return(0,n.useEffect)((()=>{(0,d.w4b)(z)&&(0,p.fu)(ee,(0,d.NCy)(z),z).then((e=>{var t,o,n;te(e);const i=Math.round(null===(t=e.products)||void 0===t||null===(o=t[0])||void 0===o?void 0:o.price),r=Math.round(null===e||void 0===e||null===(n=e.products[0])||void 0===n?void 0:n.compare_price),l=r&&0!=r&&r>i?Math.round((r-i)/r*100):NaN;ae(l)}));(async()=>{var e;const t=await(0,u.M)(null===ee||void 0===ee||null===(e=ee.products)||void 0===e?void 0:e[0],(0,d.NCy)(z),z);ne(t)})()}),[]),(0,m.jsxs)("div",{ref:e=>{e&&(e.style.setProperty("margin-top",W.tileTopMargin+"px","important"),e.style.setProperty("margin-bottom",W.tileBottomMMargin+"px","important"))},children:[(0,m.jsx)("div",{style:{margin:"0 auto",width:_,height:G&&H?"STR2FOC6KG9"==z||"STRDOIDF6O7"==z?F:1.1*F:F,borderRadius:"round"==T?"5px":"0px",boxShadow:"round"==T?Q:null,borderWidth:(0,d.YcK)(z),borderColor:(0,d.Fwt)(z),overflow:"hidden",cursor:"pointer"},className:L?H?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{X(ee)},children:(0,m.jsx)(l.A,{height:(0,d.u06)(z)+" !important",width:"100%",url:ee.thumbnail_image,isPlaying:H||V,event:ee})}),"STRSJFOP1GI"!=z&&(0,m.jsxs)("div",{onClick:()=>{X(ee)},className:L?H?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",style:{cursor:"pointer",display:"flex",gap:"6px",padding:"16px 12px"},children:[(Y?(0,d.Tr1)(z):(0,d.UmS)(z))&&(0,m.jsx)("div",{style:{maxWidth:Z,minWidth:null!==(g=ee.products)&&void 0!==g&&null!==(w=g[0])&&void 0!==w&&w.thumbnail_image?Z:"0",overflow:"hidden"},children:(0,m.jsx)("img",{ref:e=>{e&&e.style.setProperty("object-fit",(0,d.KZe)(z),"important")},src:null===(P=ee.products)||void 0===P||null===(j=P[0])||void 0===j?void 0:j.thumbnail_image})}),(0,m.jsxs)("div",{className:"wht-prod-info",style:{display:"flex",flexDirection:"column",gap:"5px"},children:[(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.m5c)(z),"important"),e.style.setProperty("font-size",q,"important"),e.style.setProperty("line-height","120%","important"),e.style.setProperty("font-family",B,"important"),e.style.setProperty("-webkit-line-clamp",1,"important"),e.style.setProperty("line-clamp",1,"important"),e.style.setProperty("-webkit-box-orient","vertical","important"),e.style.setProperty("display","-webkit-box","important"),e.style.setProperty("overflow","hidden","important"),e.style.setProperty("text-overflow","ellipsis","important"))},children:(0,h.v)(null===(C=ee.products[0])||void 0===C?void 0:C.title)}),(0,d.Nzx)(z)&&(0,m.jsxs)("div",{style:{display:"flex",gap:"12px",flexDirection:(0,d.vw2)(z)?"row":"row-reverse",justifyContent:(0,d.vw2)(z)?"flex-start":"flex-end"},children:[(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.m5c)(z),"important"),e.style.setProperty("font-size",$,"important"),e.style.setProperty("font-family",B,"important"),e.style.setProperty("overflow","hidden","important"))},style:{textAlign:"left",fontWeight:"normal"==(0,d.i6j)(z)?"normal":"bold"},children:(0,p.Sb)(parseFloat(null!==(S=null===oe||void 0===oe?void 0:oe.price)&&void 0!==S?S:null===ee||void 0===ee||null===(b=ee.products)||void 0===b||null===(M=b[0])||void 0===M?void 0:M.price)," ",z,null===(O=ee.products[0])||void 0===O?void 0:O.currency)}),!isNaN(re)&&re>ie&&(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.gld)(z),"important"),e.style.setProperty("font-size",$,"important"),e.style.setProperty("font-family",B,"important"),e.style.setProperty("overflow","hidden","important"))},style:{textDecoration:"line-through"},children:(0,p.Sb)(parseFloat(null!==(I=null===oe||void 0===oe?void 0:oe.compare_at_price)&&void 0!==I?I:null===ee||void 0===ee||null===(N=ee.products)||void 0===N||null===(k=N[0])||void 0===k?void 0:k.compare_price)," ",z,null===(A=ee.products[0])||void 0===A?void 0:A.currency)})]}),(0,d.Nzx)(z)&&!isNaN(se)&&0!=se&&(0,m.jsx)("div",{style:{display:"flex",backgroundColor:"green"==(0,d.ub$)(z)?"#343434"==U?(0,d.ub$)(z):U:(0,d.ub$)(z),alignItems:"center",borderRadius:(0,d.v8m)(z)+"px",width:"fit-content",padding:(0,d.Cf)(z)?"3px 6px":"0px"},children:(0,d.Cf)(z)?(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.BRY)(z),"important"),e.style.setProperty("font-size",K,"important"),e.style.setProperty("font-family",B,"important"))},children:`${se}% Off`}):(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d._zx)(z),"important"),e.style.setProperty("font-size",K,"important"),e.style.setProperty("font-family",(0,d.ogW)(z),"important"))},children:(0,d.rsz)(z)})})]})]})]})}},7229:function(){},4669:function(){},6042:function(){},9130:function(){}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[665],{2835:function(t,e,i){var o=i(7891),n=i(8454),r=i(3781),l=i(664),s=i(4414);e.A=function(t){var e;const i=(0,l.Xd)("whatmoreUITheme"),[a]=(0,l.QN)("whatmoreSecondaryColor"),[d,p]=(0,l.QN)("productRatings"),c=(0,l.Xd)("whatmorePrimaryFont"),h=t.productId,x=t.fontSize,y=null!==(e=t.fontColor)&&void 0!==e?e:"gray";if(null===d||"undefined"==typeof d||!(h in d)||d[h].avgRating>5)return(0,s.jsx)(s.Fragment,{});const m=d[h].avgRating,u=d[h].totalRatings;return(0,s.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center"},children:(0,s.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center",gap:"0px"},children:[[...Array(Math.floor(m))].map(((t,e)=>(0,s.jsx)(o.A,{sx:{color:a,fontSize:x+"px"}},"star-icon"+e))),m-Math.floor(m)>.2?(0,s.jsx)(n.A,{sx:{color:a,fontSize:x+"px"}},"star-half-icon"):m-Math.floor(m)==0?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(r.A,{sx:{color:a,fontSize:x+"px"}},"star-outline-icon"),[...Array(Math.floor(5-m))].map(((t,e)=>(0,s.jsx)(r.A,{sx:{color:a,fontSize:x+"px"}},"star-outline-icon-"+e))),(0,s.jsx)("div",{children:(0,s.jsx)("div",{width:"2px"})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{style:{backgroundColor:a,borderRadius:"round"==i?"2px":"0px",padding:"1px",overflow:"hidden"},children:(0,s.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color","white","important"),t.style.setProperty("font-size",.8*x+"px","important"),t.style.setProperty("font-family",c,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0",m,"\xa0"]})})}),(0,s.jsx)("div",{children:(0,s.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",y,"important"),t.style.setProperty("font-size",.8*x+"px","important"),t.style.setProperty("font-family",c,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0","("+u+")"]})})]})})}},7206:function(t,e,i){i.r(e),i.d(e,{default:function(){return U}});var o=i(9950),n=i(9769),r=i(9108),l=i(5873),s=(i(3997),i(9130),i(4669),i(9733),i(4365),i(7229),i(6042),i(2682)),a=i(4910),d=i(8378),p=i(9094),c=i(932),h=i(7300),x=i(5491),y=i.n(x),m=i(664),u=i(7509),f=i(1348),g=i(4737),v=i(7136),w=i(9879),j=i(6649),b=i(3590),C=i(8538),P=i(7458),S=i(2835),k=i(6594),I=i(7973),F=i(8149),A=i(7740),M=i(4414);const O=o.lazy((()=>Promise.all([i.e(311),i.e(842),i.e(650),i.e(939)]).then(i.bind(i,9408))));var R=function(t){var e,i,n,r;const l=(0,m.QN)("whatmoreUITheme");var[s,a]=(0,c.A)();const[d]=(0,m.QN)("whatmorePrimaryFont"),[p]=(0,m.QN)("whatmoreSecondaryColorShade900"),[h]=(0,m.QN)("whatmoreShopId"),[x,y]=(0,o.useState)(0),[u,v]=(0,o.useState)(t.event),[w,j]=(0,o.useState)(),[b,R]=(0,o.useState)(!1),z=t.onClick,_=u.products.length,{whatmoreIsPreviewMode:L}=(0,o.useContext)(g.B);if(0==_)return(0,M.jsx)(M.Fragment,{});(0,o.useEffect)((()=>{(0,f.w4b)(h)&&(0,k.fu)(u,(0,f.NCy)(h),h).then((t=>{v(t),R(!0)}));(async()=>{var t;const e=await(0,F.M)(null===u||void 0===u||null===(t=u.products)||void 0===t?void 0:t[0],(0,f.NCy)(h),h);j(e),R(!0)})()}),[]);const T=L,N=.3*a,B=N+"px",W=N+"px",X=.05*a*(0,f.PpQ)(h)+"px",E=.07*a*(0,f.y3u)(h),U=E+"px",H=.05*a;return(0,M.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-around",alignItems:"center",marginTop:"2px",marginBottom:"2px",gap:"0px"},children:[(0,M.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",width:.95*a,height:"fit-content",paddingLeft:"4px",paddingRight:"4px",justifyContent:"space-between",alignItems:"center",gap:"4px"},className:"whatmore-event-tile-product-scale-in-and-out-animation",onClick:z,children:[(0,M.jsx)("div",{style:{width:B,height:W,overflow:"hidden",backgroundColor:"28062416930"===h?void 0:p,borderRadius:"round"==l?"5px":"0px",borderWidth:"0px"==(0,f.YcK)(h)?"2px":(0,f.YcK)(h),borderColor:"28062416930"===h?"white":"white"===(0,f.Fwt)(h)?p:(0,f.Fwt)(h)},children:"28062416930"!==h&&(0,M.jsx)("img",{ref:t=>{t&&t.style.setProperty("object-fit",(0,f.KZe)(h),"important")},src:(0,I.b)(u.products[x].thumbnail_image,"&width=400&height=400"),style:{width:B,height:B,borderRadius:"round"==l?"5px":"0px",backgroundColor:p},alt:"product image"})}),(0,M.jsx)("div",{style:{width:.7*a+"px",height:"100%",overflow:"visible",marginBottom:"2px",marginRight:"28062416930"===h?"18px":"2px",borderRadius:"round"==l?"5px":"0px"},children:(0,M.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"center",alignItems:"center",paddingTop:"5px"},children:[(0,M.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",width:"100%",height:"fit-content",justifyContent:"28062416930"===h?"center":"flex-start",alignItems:"center"},children:(0,M.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","black","important"),t.style.setProperty("font-size","28062416930"===h?"80%":X,"important"),t.style.setProperty("line-height","28062416930"===h?"170%":"140%","important"),t.style.setProperty("font-family",d,"important"),"28062416930"===h?(t.style.setProperty("white-space","nowrap","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"),t.style.setProperty("text-align","center","important"),t.style.setProperty("display","block","important")):(t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important")))},style:{textAlign:"28062416930"===h?"center":"left",fontWeight:"medium"},children:(0,C.v)(u.products[x].title)})}),(0,M.jsxs)("div",{style:{display:"flex",flexFlow:(0,f.vw2)(h)?"row nowrap":"row-reverse nowrap",width:"100%",height:"fit-content",justifyContent:"28062416930"===h?"center":(0,f.vw2)(h)?"flex-start":"flex-end",alignItems:"center",gap:"4px"},children:[b&&(0,M.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,f.uoB)(h),"important"),t.style.setProperty("font-size",U,"important"),t.style.setProperty("line-height","28062416930"===h?"160%":"140%","important"),t.style.setProperty("font-family",d,"important"),t.style.setProperty("font-weight","28062416930"===h?"bold":void 0,"important"))},style:{textAlign:"28062416930"===h?"center":"left",fontWeight:"medium",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:1,overflow:"hidden",textOverflow:"ellipsis"},children:[" ",(0,k.Sb)(parseFloat((0,A.U)()?null===w||void 0===w?void 0:w.price:null===u||void 0===u||null===(e=u.products)||void 0===e||null===(i=e[0])||void 0===i?void 0:i.price),"",h,u.products[x].currency)]}),(0,P.P)(u.products[x].price,u.products[x].compare_price)&&b?(0,M.jsxs)("strike",{ref:t=>{t&&(t.style.setProperty("color",(0,f.gld)(h),"important"),t.style.setProperty("font-size",.9*E+"px","important"),t.style.setProperty("line-height","140%","important"),t.style.setProperty("font-family",d,"important"),t.style.setProperty("text-decoration","line-through","important"))},style:{textAlign:"28062416930"===h?"center":"left",fontWeight:"medium",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:1,overflow:"hidden",textOverflow:"ellipsis"},children:[" ",(0,k.Sb)(parseFloat((0,A.U)()?null===w||void 0===w?void 0:w.compare_at_price:null===u||void 0===u||null===(n=u.products)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.compare_price),"",h,u.products[x].currency)]}):(0,M.jsx)(M.Fragment,{})]}),(0,M.jsx)(S.A,{storeId:h,productId:u.products[x].client_product_id,productLink:u.products[x].product_link,fontSize:H}),"28062416930"===h&&(0,M.jsx)("button",{onClick:z,onMouseEnter:t=>t.target.style.backgroundColor="#555",onMouseLeave:t=>t.target.style.backgroundColor="black",style:{padding:"2px 5px 2px 5px",backgroundColor:"black",color:"#fff",border:"none",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textAlign:"center"},children:"Buy Now"})]})})]},x),(0,f.nP1)(h)||T&&"5141594210"==h?(0,M.jsx)(o.Suspense,{children:(0,M.jsx)(O,{baseFontSize:.05*a,event:u,product:u.products[0],width:.9*a,height:"fit-content"})}):(0,M.jsx)(M.Fragment,{})]})},z=i(7802);function _(t){const[e,i,o,n,r]=(0,c.A)(),l=(0,m.Xd)("whatmoreUITheme"),s=(0,m.Xd)("whatmoreShowViews"),a=(0,m.Xd)("whatmoreShopId"),d=t.PRODUCT_BOX_HEIGHT,p=t.PRODUCT_BOX_HEIGHT_IN_PX,h=t.PRODUCT_BOX_MARGIN,[x,y,u]=(0,j.A)({triggerOnce:!0}),g=t.event;t.isOnFocus;return(0,M.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,M.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-between",alignItems:"center"},children:[(0,M.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-start",alignItems:"center",width:"100%"},onClick:()=>{t.onClick(g)},children:"show"===s?(0,M.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px"},children:(0,M.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center"},children:(0,M.jsx)(b.A,{event:g,fontSize:.07*i+"px"})})}):(0,M.jsx)(M.Fragment,{})}),(0,M.jsx)("div",{style:{display:"flex",width:"100%",height:e-d+"px"},onClick:()=>{t.onClick(g)}}),(0,z.Hl)(g,a)?(0,M.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"28062416930"===a?void 0:h+"px",display:"flex",flexFlow:"column nowrap",justifyContent:"center",alignItems:"center",width:"28062416930"===a?"110%":.95*i,height:"28062416930"===a?"20%":p,marginLeft:h+"px",marginRight:h+"px",backgroundColor:"white",borderRadius:"round"==l?"5px":"0px",borderWidth:(0,f.YcK)(a),borderColor:(0,f.Fwt)(a),paddingLeft:"5px",paddingRight:"5px",overflow:"hidden"},children:(0,M.jsx)("div",{ref:x,children:y&&(0,f.imx)(a)?(0,M.jsx)(R,{event:g,onClick:()=>{var e,i;(0,f.gq8)(a)?window.location.href=(i=null===(e=g.products)||void 0===e?void 0:e[0],(0,f.BLb)(a)?i.product_link+"?"+(0,f.VCz)(a)+"&"+(0,f.Spk)(a)+"&"+(0,f.$lz)(a):i.product_link):t.onClick(g)}}):(0,M.jsx)("div",{height:"20px"})})}):(0,M.jsx)(M.Fragment,{})]})})}var L=function(t){var e,i,n;const[r,l,s,a,d]=(0,c.A)();var p=(0,o.useContext)(u.h);const h=(0,m.Xd)("whatmoreUITheme"),x=(0,m.Xd)("whatmoreShopId"),y=(0,m.Xd)("whatmoreSecondaryColorShade600"),g=t.event,v=t.onClick,j=null===(e=t.isOnFocus)||void 0===e||e,b=null!==(i=t.playOnUnfocus)&&void 0!==i&&i,C=null!==(n=t.animateOnFocus&&(0,f.n5O)(x))&&void 0!==n&&n,P=(0,f.nP1)(x)?.7:.8,S=r*P+"px",k=1-P,I=r*k,F=r*k+"px",A=r*k*.1,O=(0,f.VYo)(x);return(0,M.jsxs)("div",{ref:t=>{t&&(t.style.setProperty("margin-top",p.tileTopMargin+"px","important"),t.style.setProperty("margin-bottom",p.tileBottomMMargin+"px","important"))},style:{margin:"0 auto",width:l+"px",height:1.2*r+"px",borderRadius:"round"==h?"5px":"0px",boxShadow:"28062416930"===x?void 0:"round"===h?O:null,borderWidth:(0,f.YcK)(x),borderColor:(0,f.Fwt)(x),overflow:"hidden",cursor:"pointer",position:"relative"},className:C?j?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",children:[(0,M.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"flex-start",alignItems:"center"},className:"whatmore-template-b-event-tile",onClick:()=>{v(g)},children:[(0,M.jsx)(w.A,{height:S,width:"100%",url:g.thumbnail_image,isPlaying:j||b,event:g}),(0,f.Q$)(x)&&(0,z.Hl)(g,x)?(0,M.jsx)("div",{style:{width:"100%",height:F,backgroundColor:y}}):(0,M.jsx)(M.Fragment,{})]}),(0,f.Q$)(x)&&(0,M.jsx)(_,{event:g,isOnFocus:j,PRODUCT_BOX_HEIGHT:I,PRODUCT_BOX_HEIGHT_IN_PX:F,PRODUCT_BOX_MARGIN:A,onClick:v})]})},T=i(6157),N=i(1351),B=i(6641);const W=(0,a.A)({key:"whatmore-css-hv"});function X(t){const[e,i,n]=(0,c.A)(),r=(0,m.Xd)("whatmoreShopId"),l=t.events,s=t.onClick,a=n*(0,f.kcl)(r),p=(0,f.cbh)(r),[h,x]=(0,o.useState)(Math.min(l.length,p?l.length:a+5)),{whatmoreWidgetSourceDetails:y}=(0,o.useContext)(g.B);return(0,o.useEffect)((()=>{h<a+5&&x((t=>Math.min(t+5,l.length)))}),[a,5]),(0,M.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,M.jsx)("div",{style:{width:window.innerWidth,height:"fit-content"},children:(0,M.jsx)(d.RC,{slidesPerView:l.length>1?a:1,initialSlide:"25075712047"===r?0:l.length>1?1:0,centeredSlides:"25075712047"!==r,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:.5,onSlideChange:t=>{(0,N.UM)({userInteractionType:T.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:y}),t.realIndex>t.previousIndex&&x((t=>Math.min(t+5,l.length)))},loop:(0,f.cbh)(r),children:l.map(((t,e)=>e<=h&&(0,M.jsx)(d.qr,{children:e=>{let{isActive:i,isPrev:o,isNext:n,isVisible:r}=e;return(0,M.jsx)(L,{isOnFocus:i&&r,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{s(t)}})}},"whatmore-event-tile-portrait-"+t.index)))})})})}function E(t){const[e,i,n,r]=(0,c.A)(),[l,s]=(0,o.useState)(-1),a=(0,m.Xd)("whatmoreShopId"),h=t.onClick,x=t.events,u=(0,f.cbh)(a),[w,j]=(0,o.useState)(u?x.length:n),b=Math.min(n,x.length),{whatmoreWidgetSourceDetails:C}=(0,o.useContext)(g.B);return(0,o.useEffect)((()=>{w<=n&&j((t=>t+n))}),[n]),(0,M.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:r+"px",paddingRight:r+"px"},children:(0,M.jsx)("div",{style:{width:i*b*1.1+"px"},children:(0,M.jsx)(d.RC,{slidesPerView:b,watchSlidesProgress:!0,modules:[p.Vx],navigation:!0,slidesPerGroup:parseInt(b),onSlideChange:t=>{(0,N.UM)({userInteractionType:T.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:C}),t.realIndex>t.previousIndex&&j((t=>t+n))},spaceBetween:(0,f.If9)(a),loop:(0,f.cbh)(a),children:x.map(((t,e)=>{const i=y()((()=>s(e)),300);return e<=w&&(0,M.jsx)(d.qr,{onMouseEnter:()=>{i()},onMouseLeave:()=>{i.cancel(),s(-1)},children:i=>{let{isActive:o,isPrev:n,isNext:r,isVisible:s}=i;return s?(0,M.jsx)(L,{isOnFocus:e==l,playOnUnfocus:!(0,f.aO7)(a)||e==parseInt(b/2)&&-1==l,animateOnFocus:!0,event:t,onClick:()=>{h(t)}}):(0,M.jsx)(v.A,{})}},"whatmore-event-tile-landscape-"+t.index)}))})})})}var U=function(t){const[e,i,a]=(0,h.A)(),[d]=(0,m.QN)("whatmorePrimaryColor"),[p]=(0,m.QN)("whatmoreShopId"),[c]=(0,m.QN)("whatmoreSecondaryColor"),[x]=(0,m.QN)("whatmoreTitleFont"),y="portrait"==e?(0,m.Xd)("whatmoreTitleFontSizePortrait"):(0,m.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:f}=(0,o.useContext)(g.B),v=((0,m.Xd)("isInDesignMode"),t.events),w=t.onClick,j=x,b=(0,m.Xd)("whatmoreCollectionHeading"),{whatmoreIsCollectionsTemplate:C}=(0,o.useContext)(g.B);function P(t){w(t)}function S(t){const e=t.indexOf(" ",t.indexOf(" ")+1);return-1===e?[t,""]:[t.substring(0,e),t.substring(e)]}return(0,o.useEffect)((()=>{(0,B.Fk)("Video shopping powered by Whatmore!")}),[]),(0,o.useEffect)((()=>{l.Sn.forEach((t=>{var e;const i=null!==(e=t.querySelector('.whatmore-template-type[data-wh="template-b"]'))&&void 0!==e?e:t.querySelector('.whatmore-template-type[data="template-b"]');if(!i)return;i&&t&&(t.style.minHeight="0px")}))}),[]),delete r.Ay.styles.global,(0,M.jsx)(s.C,{value:W,children:(0,M.jsx)("div",{className:"whatmore-carousel-events",children:(0,M.jsx)(n.s,{theme:r.Ay,cssVarsRoot:f,resetCSS:!1,children:(0,M.jsxs)(u.h.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!1},children:["10588815418"!==p&&"2310668401"!==p&&"10648977444"!==p&&(t.heading.trim().length>0||C)?(0,M.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,M.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family",j,"important"),t.style.setProperty("font-size",y+"px","important"))},style:{color:d,backgroundClip:"text",textAlign:"center"},children:C?"W"!==b?b:"":t.heading})}):(0,M.jsx)(M.Fragment,{}),"10588815418"==p||"2310668401"==p||"10648977444"==p?(0,M.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"left"},children:(0,M.jsxs)("div",{style:{display:"flex",gap:"4px"},children:[(0,M.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family",j,"important"),t.style.setProperty("font-size",y+"px","important"))},style:{color:d,backgroundClip:"text",textAlign:"center",fontStyle:"normal"},children:C?"W"!==b?b:"":S(t.heading)[0]}),(0,M.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family","Austin Text SemiBold Trial","important"),t.style.setProperty("font-size",y+"px","important"))},style:{color:d,backgroundClip:"text",textAlign:"center"},children:C?"W"!==b?b:"":S(t.heading)[1]})]})}):(0,M.jsx)(M.Fragment,{}),"landscape"===e?(0,M.jsx)(E,{events:v,onClick:P}):(0,M.jsx)(X,{events:v,onClick:P})]})})})})}},3590:function(t,e,i){var o=i(2375),n=i(1348),r=i(664),l=i(4414);function s(t){return t<1e3?t:t<1e5?(t/1e3).toFixed(0)+"K":(t/1e5).toFixed(0)+"L"}e.A=function(t){const e=(0,r.Xd)("whatmoreUITheme"),i=(0,r.Xd)("whatmoreShopId"),a=(0,r.Xd)("whatmorePrimaryFont"),d=t.event,p=t.fontSize;if(d.total_views<=0)return(0,l.jsx)(l.Fragment,{});const c=(0,n.FVo)(i);return"template-icon"==c?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,n.sIk)(i),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,n.YcK)(i),borderColor:(0,n.Fwt)(i)},children:(0,l.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:[(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)(o.A,{sx:{color:(0,n.s0t)(i)+" !important",fontSize:p,fontWeight:"normal"}})}),(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,n.s0t)(i),"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",a,"important"),t.style.setProperty("font-size",p,"important"),t.style.setProperty("min-height","0","important"),t.style.setProperty("display","inline","important"),t.style.setProperty("width","auto","important"))},style:{fontWeight:"normal"},children:" "+s(d.total_views)+" "})})]})})}):"template-text"==c?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,n.sIk)(i),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,n.YcK)(i),borderColor:(0,n.Fwt)(i)},children:(0,l.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,n.s0t)(i),"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",a,"important"))},style:{fontSize:p,fontWeight:"bold"},children:" "+s(d.total_views)+" views"})})})})}):void 0}},7509:function(t,e,i){i.d(e,{h:function(){return o}});const o=(0,i(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},7136:function(t,e,i){var o=i(9950),n=i(932),r=i(7509),l=i(664),s=i(4414);e.A=function(t){var[e,i]=(0,n.A)();(0,o.useContext)(r.h);const a=(0,l.Xd)("whatmoreShopId");return t.event,(0,s.jsx)("div",{style:{margin:"0 auto",width:"8968077397"==a?void 0:i,aspectRatio:"8968077397"==a?9/16:void 0,height:"8968077397"==a?"100%":e,overflow:"hidden"}})}},7973:function(t,e,i){i.d(e,{B:function(){return l},b:function(){return r}});var o=i(1348),n=i(664);function r(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const i=(0,n.Xd)("whatmoreShopId");return"shopify"!=(0,o.NCy)(i)?"STRNV8MHJTF"==i?t+"?format=webp":t:t+e}function l(t){var e;if(null!==t&&void 0!==t&&t.includes("https://w-media.b-cdn.net/process-media"))return"image";const i=null===t||void 0===t||null===(e=t.trim())||void 0===e?void 0:e.split("?")[0],o=/\.(jpeg|jpg|gif|png|svg|webp)$/i,n=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==o&&void 0!==o&&o.test(i)?"image":null!==n&&void 0!==n&&n.test(i)?"video":void 0}},7458:function(t,e,i){i.d(e,{P:function(){return o}});const o=function(t,e){return!(isNaN(e)||!e||("string"===typeof e||e instanceof String)&&!e.trim().length)&&!(parseInt(e)<=parseInt(t))}},7891:function(t,e,i){var o=i(5709);e.A=void 0;var n=o(i(9526)),r=i(4414),l=(0,n.default)((0,r.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star");e.A=l},8454:function(t,e,i){var o=i(5709);e.A=void 0;var n=o(i(9526)),r=i(4414),l=(0,n.default)((0,r.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarHalf");e.A=l},3781:function(t,e,i){var o=i(5709);e.A=void 0;var n=o(i(9526)),r=i(4414),l=(0,n.default)((0,r.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarOutline");e.A=l},2375:function(t,e,i){var o=i(5709);e.A=void 0;var n=o(i(9526)),r=i(4414),l=(0,n.default)((0,r.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");e.A=l},7229:function(){},4669:function(){},6042:function(){},9130:function(){}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[485],{9418:function(t,e,o){o.r(e),o.d(e,{default:function(){return E}});var i=o(9950),n=(o(4826),o(9769)),r=o(5873),l=o(9108),s=(o(3997),o(4669),o(9733),o(4365),o(7229),o(2682)),a=o(4910),d=o(932),c=o(7300),p=o(5491),u=o.n(p),h=o(664),v=o(7509),x=o(7136),m=o(1348),y=o(4737),f=o(1351),g=o(6157),w=o(9879),j=o(8538),C=o(6594),b=o(22),P=o(6613),M=o(8149),S=o(7740),N=o(4414);var k=function(t){var e,o,n,r,l,s,a,c,p,u,x,y,f,g,k,I,A,O,_,E,X,z,R,T,F;const[W,B,D,L,U]=(0,d.A)(),Y=(0,h.Xd)("whatmoreShopId"),H=(0,h.Xd)("whatmoreLandingLocationType"),$="portrait"===U[b.dl],Q=($?1.076*B*(0,m.HWj)(Y):B*(0,m.N_4)(Y))+"px",q=($?1.076*B*(0,m.HWj)(Y):B*(0,m.N_4)(Y))+"px",G=($?.965*B*(0,m.HWj)(Y):.859*B*(0,m.N_4)(Y))+"px",[V,J]=(0,i.useState)(t.event),K=(0,h.Xd)("whatmoreSecondaryColor");var Z=(0,i.useContext)(v.h);const tt=null===(e=t.isOnFocus)||void 0===e||e,et=null!==(o=t.playOnUnfocus)&&void 0!==o&&o,ot=t.onClick,it=(0,h.Xd)("whatmoreUITheme"),nt=null!==(n=t.animateOnFocus&&(0,m.n5O)(Y))&&void 0!==n&&n,[rt,lt]=(0,i.useState)(!1),st=(0,h.Xd)("whatmorePrimaryFont"),at=Math.round(+(null===(r=V.products[0])||void 0===r?void 0:r.price)),dt=Math.round(+(null===(l=V.products[0])||void 0===l?void 0:l.compare_price)),ct=dt&&0!=dt&&dt>at?Math.round((dt-at)/dt*100):NaN,[pt,ut]=(0,i.useState)(ct),[ht,vt]=(0,i.useState)(),xt="55143268394"===Y;return(0,i.useEffect)((()=>{(0,m.w4b)(Y)&&(0,C.fu)(V,(0,m.NCy)(Y),Y).then((t=>{var e,o,i;J(t),(null===t||void 0===t||null===(e=t.products)||void 0===e||null===(o=e[0])||void 0===o?void 0:o.discount)&&ut(null===t||void 0===t||null===(i=t.products[0])||void 0===i?void 0:i.discount),lt(!0)}));(async()=>{var t;const e=await(0,M.M)(null===V||void 0===V||null===(t=V.products)||void 0===t?void 0:t[0],(0,m.NCy)(Y),Y);vt(e),lt(!0)})()}),[]),(0,N.jsxs)("div",{ref:t=>{t&&(t.style.setProperty("margin-top",Z.tileTopMargin+"px"),t.style.setProperty("margin-bottom",Z.tileBottomMMargin+"px"))},className:nt&&!$?tt?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",style:{margin:"0 auto",cursor:"pointer",width:B},onClick:()=>{ot(V)},children:[(0,N.jsx)("div",{style:{borderRadius:"round"==it?"5%":"0px",boxShadow:"round"==it?"0px 0px 5px 0px #B0B0B0":null,height:W,borderWidth:(0,m.YcK)(Y),borderColor:(0,m.Fwt)(Y),overflow:"hidden"},children:(0,N.jsx)(w.A,{height:(0,m.u06)(Y)+" !important",width:"100%",url:V.thumbnail_image,isPlaying:tt||et||(0,P.At)(),event:V})}),(0,N.jsxs)("div",{className:"wht-prod-info",style:{display:(0,m.AmR)(Y)?"flex":"none",flexDirection:"column",padding:"12px 4px",gap:xt?"8px":"5px",alignItems:xt?"center":"flex-start"},children:[(0,N.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,m.m5c)(Y),"important"),t.style.setProperty("font-size","45034766485"==Y&&"product"==H?"9px":Q),t.style.setProperty("line-height","120%"),t.style.setProperty("font-family",st,"important"),t.style.setProperty("-webkit-line-clamp",1,"important"),t.style.setProperty("line-clamp",1,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},children:(0,j.v)(null===(s=V.products[0])||void 0===s?void 0:s.title)}),rt&&(0,m.Nzx)(Y)&&(0,N.jsxs)("div",{style:{display:"flex",gap:"12px",flexDirection:(0,m.vw2)(Y)?"row":"row-reverse",justifyContent:xt?"center":(0,m.vw2)(Y)?"flex-start":"flex-end"},children:[(0,N.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,m.m5c)(Y),"important"),t.style.setProperty("font-size","45034766485"==Y&&"product"==H?"8px":q),t.style.setProperty("font-family",st,"important"),t.style.setProperty("overflow","hidden","important"))},style:{textAlign:"left",fontWeight:"normal"==(0,m.i6j)(Y)?"normal":"bold"},children:(0,C.Sb)(parseFloat((0,S.U)()?"61916709004"==Y?(null===ht||void 0===ht||null===(a=ht.variants)||void 0===a||null===(c=a[0])||void 0===c?void 0:c.price)>0?null===ht||void 0===ht||null===(p=ht.variants)||void 0===p||null===(u=p[0])||void 0===u?void 0:u.price:null===ht||void 0===ht?void 0:ht.price:(null===ht||void 0===ht?void 0:ht.price)>0?null===ht||void 0===ht?void 0:ht.price:null===ht||void 0===ht||null===(x=ht.variants)||void 0===x||null===(y=x[0])||void 0===y?void 0:y.price:(null===V||void 0===V||null===(f=V.products)||void 0===f||null===(g=f[0])||void 0===g?void 0:g.price)>0?null===V||void 0===V||null===(k=V.products)||void 0===k||null===(I=k[0])||void 0===I?void 0:I.price:null===V||void 0===V||null===(A=V.products)||void 0===A||null===(O=A[0])||void 0===O?void 0:O.price_max)," ",Y,null===(_=V.products[0])||void 0===_?void 0:_.currency)}),!isNaN(dt)&&dt>at&&(0,N.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,m.gld)(Y),"important"),t.style.setProperty("font-size",q),t.style.setProperty("font-family",st,"important"),t.style.setProperty("overflow","hidden","important"))},style:{textDecoration:"line-through",alignItems:xt?"center":void 0},children:(0,C.Sb)(parseFloat((0,S.U)()?"61916709004"==Y&&null!==(E=null===ht||void 0===ht||null===(X=ht.variants)||void 0===X||null===(z=X[0])||void 0===z?void 0:z.compare_at_price)&&void 0!==E?E:null===ht||void 0===ht?void 0:ht.compare_at_price:null===V||void 0===V||null===(R=V.products)||void 0===R||null===(T=R[0])||void 0===T?void 0:T.compare_price)," ",Y,null===(F=V.products[0])||void 0===F?void 0:F.currency)})]}),((0,m.Nzx)(Y)&&!isNaN(pt)&&0!=pt&&rt||xt)&&(0,N.jsx)("div",{style:{display:(0,m.QNr)(Y)?"flex":"none",backgroundColor:xt?K:"green"===(0,m.ub$)(Y)?"#343434"===K?(0,m.ub$)(Y):K:(0,m.ub$)(Y),alignItems:"center",justifyContent:xt?"center":void 0,borderRadius:xt?"25px":(0,m.v8m)(Y)+"px",width:xt?.5*B:"fit-content",padding:(0,m.Cf)(Y)?xt?"12px 12px":"3px 6px":"0px",margin:xt?"0 auto":void 0,textAlign:xt?"center":void 0,height:xt?"7%":void 0},children:(0,m.Cf)(Y)?(0,N.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,m.BRY)(Y),"important"),t.style.setProperty("font-size",G,"important"),t.style.setProperty("font-family",st,"important"),t.style.setProperty("font-weight",xt?"600":"normal","important"))},children:xt?"BUY NOW":`${pt}% Off`}):(0,N.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,m._zx)(Y),"important"),t.style.setProperty("font-size",G,"important"),t.style.setProperty("font-family",(0,m.ogW)(Y),"important"))},children:(0,m.rsz)(Y)})})]})]})},I=o(6641);const A=(0,a.A)({key:"whatmore-css-hv"});function O(t){const[e,o,n]=(0,d.A)(),r=(0,h.Xd)("whatmoreShopId"),l=(0,h.Xd)("whatmoreLandingLocationType"),s=t.events,a=t.onClick,{whatmoreWidgetSourceDetails:c}=(0,i.useContext)(y.B),p=Math.ceil(n),u=2*p,[v,w]=(0,i.useState)(u),[j,C]=(0,i.useState)(2*p),b=0===(0,m.If9)(r)?24:(0,m.If9)(r),[P,M]=(0,i.useState)({touchX:0,touchY:0}),S=()=>(0,N.jsx)("div",{className:"navigation-button-next-container",style:{width:"50px",borderRadius:"50%",height:"50px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,N.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-right-portrait"})}),I=()=>(0,N.jsx)("div",{className:"navigation-button-prev-container",style:{width:"50px",borderRadius:"50%",height:"50px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,N.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-left-portrait"})}),A=t=>{if("next"===t){const t=2;C((t=>Math.min(t+Math.floor(n),s.length+p+1))),w((e=>Math.min(e+t,s.length+p+1)))}else C((t=>Math.max(t-Math.floor(n),u)));(0,f.UM)({userInteractionType:g.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:c})};return(0,N.jsxs)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"45034766485"==r&&"product"==l?"center":"flex-start",paddingLeft:"12px",overflow:"hidden",position:"relative"},onTouchStart:t=>{M({touchX:t.touches[0].clientX,touchY:t.touches[0].clientY})},onTouchEnd:t=>{var e,o,i,n;const r=(null===(e=t.changedTouches)||void 0===e||null===(o=e[0])||void 0===o?void 0:o.clientX)-P.touchX,l=(null===(i=t.changedTouches)||void 0===i||null===(n=i[0])||void 0===n?void 0:n.clientY)-P.touchY;Math.sqrt(r**2+l**2)>10&&Math.abs(r)>Math.abs(l)&&A(r>0?"prev":"next")},children:[(0,m.JSQ)(r)&&(0,N.jsxs)(N.Fragment,{children:[j<=s.length+p&&(0,N.jsx)("div",{onClick:()=>A("next"),style:{position:"absolute",zIndex:1,top:"50%",right:"0",transform:"translateY(-100%)"},children:(0,N.jsx)(S,{})}),j>2*p&&(0,N.jsx)("div",{onClick:()=>A("prev"),style:{position:"absolute",left:"0",zIndex:1,top:"50%",transform:"translateY(-100%)"},children:(0,N.jsx)(I,{})})]}),(0,N.jsx)("div",{style:{display:"flex",gap:b,transform:`translateX(-${(j-u)*(o+b)}px)`,transition:"transform 0.4s ease-in-out"},children:s.map(((t,e)=>e<v?(0,N.jsx)("div",{children:(0,N.jsx)(k,{isOnFocus:e<=j-p-1&&e>=Math.max(0,j-u),playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>a(t)})},`whatmore-carousel-tile-${e}`):(0,N.jsx)(x.A,{})))})]})}function _(t){const[e,o,n,r]=(0,d.A)(),[l,s]=(0,i.useState)(-1),a=(0,h.Xd)("whatmoreShopId"),[c,p]=(0,i.useState)("next"),v=t.onClick,x=t.events,{whatmoreWidgetSourceDetails:w}=(0,i.useContext)(y.B),j=Math.min(Math.ceil(n),x.length),[C,b]=(0,i.useState)(0),P=0===(0,m.If9)(a)?24:(0,m.If9)(a),M=()=>(0,N.jsx)("div",{children:(0,N.jsx)("button",{onClick:O,style:{width:"50px",borderRadius:"6px",height:"100px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,N.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-right"})})}),S=()=>(0,N.jsx)("div",{children:(0,N.jsx)("button",{onClick:A,style:{width:"50px",borderRadius:"6px",height:"100px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,N.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-left"})})});(0,i.useEffect)((()=>{C<=j&&b((t=>t+j))}),[j]);const I=()=>{s(-1)},A=()=>{C!==j&&(p("prev"),b((t=>Math.max(Math.ceil(t-n),j))),(0,f.UM)({userInteractionType:g.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:w}))},O=()=>{C>x.length+n||(p("next"),b((t=>Math.floor(t+n))),(0,f.UM)({userInteractionType:g.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:w}))},_=C>x.length?x.length-j+1:C-j,E=C>=x.length?x.length:_+j,X=x.slice(_,E);return(0,N.jsxs)("div",{className:"whatmore-events-carousel-landscape",style:{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:`${r}px`,paddingRight:`${r}px`},children:[C!==j&&(0,N.jsx)("div",{style:{position:"absolute",left:r+"px",zIndex:1,top:"50%",transform:"translateY(-65%)"},children:(0,N.jsx)(S,{})}),(0,N.jsx)("div",{className:"wht-hide-scrollbar",style:{display:"flex",gap:P+"px",width:o*n*(0,m.fHt)(a)+"px",justifyContent:x.length>j?"flex-start":"center",overflow:"auto"},children:X.map(((t,e)=>{const o=`whatmore-event-tile-landscape-${t.index}${e===j-1?"-last":""}`,i=e===l;return(0,N.jsx)("div",{className:"whatmore-event-tile-horizontal-swipe-animation-"+("next"===c?"next":"prev"),onMouseEnter:()=>(t=>{const e=u()((()=>s(t)),300);return e(),e.cancel})(e),onMouseLeave:I,children:(0,N.jsx)(k,{isOnFocus:i,playOnUnfocus:!0,animateOnFocus:!0,event:t,onClick:()=>(t=>{v(t)})(t)})},o)}))}),C<x.length&&(0,N.jsx)("div",{style:{position:"absolute",zIndex:1,top:"50%",right:r+"px",transform:"translateY(-65%)"},children:(0,N.jsx)(M,{})})]})}var E=function(t){const[e,o,a]=(0,c.A)(),[d]=(0,h.QN)("whatmoreShopId"),[p]=(0,h.QN)("whatmorePrimaryColor"),[u]=(0,h.QN)("whatmoreSecondaryColor"),[x]=(0,h.QN)("whatmoreTitleFont"),f="portrait"==e?(0,h.Xd)("whatmoreTitleFontSizePortrait"):(0,h.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:g}=(0,i.useContext)(y.B),w=((0,h.Xd)("isInDesignMode"),(0,h.Xd)("whatmoreCollectionHeading")),{whatmoreIsCollectionsTemplate:j}=(0,i.useContext)(y.B),C=t.events,b=t.onClick,P=x;function M(t){b(t)}return(0,i.useEffect)((()=>{(0,I.Fk)("Video shopping powered by Whatmore!")}),[]),(0,i.useEffect)((()=>{r.Sn.forEach((t=>{var e;const o=null!==(e=t.querySelector('.whatmore-template-type[data-wh="template-f"]'))&&void 0!==e?e:t.querySelector('.whatmore-template-type[data="template-f"]');if(!o)return;o&&t&&(t.style.minHeight="0px")}))}),[]),delete l.Ay.styles.global,(0,N.jsx)(s.C,{value:A,children:(0,N.jsx)("div",{className:"whatmore-carousel-events",children:(0,N.jsx)(n.s,{theme:l.Ay,cssVarsRoot:g,resetCSS:!1,children:(0,N.jsxs)(v.h.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[t.heading.trim().length>0||j?(0,N.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"62636458233"==d?"flex-start":"center"},children:(0,N.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family",P,"important"),t.style.setProperty("font-size",f+"px","important"))},style:{color:p,backgroundClip:"text",textAlign:"center",fontWeight:(0,m.Odx)(d),lineHeight:(0,m.L0y)(d),letterSpacing:(0,m.l3V)(d)},children:j?"W"!==w?w:"":t.heading})}):(0,N.jsx)(N.Fragment,{}),"landscape"===e?(0,N.jsx)(_,{events:C,onClick:M}):(0,N.jsx)(O,{events:C,onClick:M})]})})})})}},7509:function(t,e,o){o.d(e,{h:function(){return i}});const i=(0,o(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},7136:function(t,e,o){var i=o(9950),n=o(932),r=o(7509),l=o(664),s=o(4414);e.A=function(t){var[e,o]=(0,n.A)();(0,i.useContext)(r.h);const a=(0,l.Xd)("whatmoreShopId");return t.event,(0,s.jsx)("div",{style:{margin:"0 auto",width:"8968077397"==a?void 0:o,aspectRatio:"8968077397"==a?9/16:void 0,height:"8968077397"==a?"100%":e,overflow:"hidden"}})}},4826:function(){},7229:function(){},4669:function(){}}]);
|
@@ -1,15 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[933],{6989:function(t,e,n){n.r(e),n.d(e,{default:function(){return k}});var i=n(9950),r=n(3852),o=n(9769),a=n(9108),s=(n(3997),n(9733),n(4365),n(2682)),l=n(4910),d=n(10),c=n(7300),h=n(664),m=n(7509),u=n(1348),p=n(4737),f=n(932),x=n(6649),g=n(4414);function v(t){var e;const[n,i,r]=(0,x.A)({triggerOnce:!1}),o=null!==(e=t.defaultHeight)&&void 0!==e?e:"fit-content";return(0,g.jsx)(d.BJ,{ref:n,direction:"row",minHeight:o,height:o,width:"100%",justifyContent:"center",alignItems:"center",children:i?t.data.map(((e,n)=>(0,g.jsx)("div",{children:t.renderElement({eventData:e})},"key"+n))):(0,g.jsx)("div",{style:{minHeight:{rowHeight:o},minWidth:"100%"}})})}function y(t){var e;const[n,i,r]=(0,f.A)(),o=null!==(e=t.elementsPerRow)&&void 0!==e?e:Math.floor(Math.min(r,t.dataList.length)),a=function(t,e){var n=[];const i=e;for(let r=0;r<t.length;r+=i){const e=t.slice(r,r+i);n.push(e)}return n}(t.dataList,o);return(0,g.jsx)(d.BJ,{direction:"column",height:"100%",width:"100%",justifyContent:"flex-start",alignItems:"center",spacing:.2*n,children:a.map(((e,r)=>(0,g.jsx)(v,{renderElement:t.renderElement,data:e,defaultHeight:n,defaultWidth:i},"key-"+r)))})}var w=n(2039),j=(n(5620),n(4826),n(9879)),b=n(3590),C=n(8538),A=n(6594),I=n(8149);var M=function(t){var e,n,r,o,a,s,[l,d]=(0,f.A)();const[c,m]=(0,i.useState)(0),[p,x]=(0,i.useState)(t.event),[v]=(0,h.QN)("whatmoreShopId"),y=(0,h.QN)("whatmoreUITheme"),[w]=(0,h.QN)("whatmorePrimaryFont"),j=p.products.length,[b,M]=(0,i.useState)(),[T,S]=(0,i.useState)(!1);if(0==j)return(0,g.jsx)(g.Fragment,{});(0,i.useEffect)((()=>{const t=setInterval((()=>{m((t=>(t+1)%j))}),3e3);return()=>{clearInterval(t)}}),[]),(0,i.useEffect)((()=>{(0,u.w4b)(v)&&(0,A.fu)(p,(0,u.NCy)(v),v).then((t=>{x(t),S(!0)}));(async()=>{var t;const e=await(0,I.M)(null===p||void 0===p||null===(t=p.products)||void 0===t?void 0:t[0],(0,u.NCy)(v),v);M(e),S(!0)})()}),[]);const P=.08*d+"px",F=.075*d+"px",k=(+p.products[c].price).toFixed(),E=(+p.products[c].compare_price).toFixed();return(0,g.jsxs)("div",{style:{background:(0,u.ivR)(v),display:"flex",flexDirection:"column",padding:"10px 12px",gap:"6px",borderRadius:"round"==y?"0 0 12px 12px":"0"},children:[(0,g.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","black","important"),t.style.setProperty("font-size",P,"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",w,"important"),t.style.setProperty("-webkit-line-clamp",1,"important"),t.style.setProperty("line-clamp",1,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"bolder"},children:(0,C.v)(p.products[c].title)}),(0,g.jsxs)("div",{style:{display:"flex",gap:"4px"},children:[T&&(0,g.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","black","important"),t.style.setProperty("font-size",F,"important"),t.style.setProperty("font-family",w,"important"),t.style.setProperty("overflow","hidden","important"))},style:{textAlign:"left",fontWeight:"bold"},children:(0,A.Sb)(parseFloat(null!==(e=null===b||void 0===b?void 0:b.price)&&void 0!==e?e:null===p||void 0===p||null===(n=p.products)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.price)," ",v,p.products[c].currency)}),!isNaN(E)&&E>k&&T&&(0,g.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","#808191","important"),t.style.setProperty("font-size",F,"important"),t.style.setProperty("font-family",w,"important"),t.style.setProperty("overflow","hidden","important"))},style:{fontWeight:"bold",textDecoration:"line-through"},children:(0,A.Sb)(parseFloat(null!==(o=null===b||void 0===b?void 0:b.compare_at_price)&&void 0!==o?o:null===p||void 0===p||null===(a=p.products)||void 0===a||null===(s=a[0])||void 0===s?void 0:s.compare_price)," ",v,p.products[c].currency)})]})]})},T=n(6613);function S(t){const[e,n]=(0,f.A)(),[i]=(0,h.QN)("whatmoreShowViews"),r=t.event;return(0,g.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,g.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-between",alignItems:"center"},children:(0,g.jsx)("div",{style:{width:"100%",backgroundImage:"linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0.3))"},children:(0,g.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-start",alignItems:"center"},children:"show"===i?(0,g.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px"},children:(0,g.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center"},children:(0,g.jsx)(b.A,{event:r,fontSize:.07*n+"px"})})}):(0,g.jsx)(g.Fragment,{})})})})})}var P=function(t){var e,n,r;const[o,a]=(0,f.A)();var s=(0,i.useContext)(m.h);const l=(0,h.Xd)("whatmoreUITheme"),d=(0,h.Xd)("whatmoreSecondaryColor"),c=(0,h.Xd)("whatmoreShopId"),p=t.event,v=t.onClick,y=null===(e=t.isOnFocus)||void 0===e||e,w=null!==(n=t.playOnUnfocus)&&void 0!==n&&n,b=null!==(r=t.animateOnFocus&&(0,u.n5O)(c))&&void 0!==r&&r,[C,A,I]=(0,x.A)({triggerOnce:!0});return(0,g.jsxs)("div",{ref:t=>{t&&(t.style.setProperty("margin-top",s.tileTopMargin+"px","important"),t.style.setProperty("margin-bottom",s.tileBottomMMargin+"px","important"))},style:{margin:"0 auto",width:a,height:o,borderRadius:"round"==l?"12px":"0px",borderWidth:(0,u.MRv)(c),borderColor:"white"==(0,u.Fwt)(c)?d:(0,u.Fwt)(c),overflow:"hidden",cursor:"pointer"},className:b?y?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{v(p)},children:[(0,g.jsx)(j.A,{height:"100%",width:"100%",url:p.thumbnail_image,isPlaying:y||w||(0,T.At)(),event:p}),(0,g.jsxs)("div",{style:{width:a,height:o},ref:C,children:[(0,g.jsx)(S,{event:p,isOnFocus:y}),(0,g.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"200%",overflow:"hidden",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,g.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"center",height:"100%",width:"100%"},children:[(0,g.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,g.jsx)("p",{children:" "})}),(0,g.jsx)("div",{style:{width:"100%"},children:A&&(0,u.imx)(c)?(0,g.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,g.jsx)(M,{event:p})}):(0,g.jsx)("div",{height:"20px"})})]})})]})]})};const F=(0,l.A)({key:"whatmore-css-hv"});var k=function(t){var e;const[n,l,x]=(0,c.A)(),[v,j,b]=(0,f.A)(),[C]=(0,h.QN)("whatmoreShopId"),[A]=(0,h.QN)("whatmorePrimaryColor"),[I]=(0,h.QN)("whatmoreTitleFont"),M="portrait"==n?(0,h.Xd)("whatmoreTitleFontSizePortrait"):(0,h.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:T}=(0,i.useContext)(p.B),S=t.events,k=t.onClick,E=null!==(e=(0,u.sa6)(C))&&void 0!==e?e:I;function O(t){k(t)}const N=parseInt(Math.floor(b));return delete a.Ay.styles.global,(0,g.jsx)(s.C,{value:F,children:(0,g.jsx)("div",{className:"whatmore-carousel-events-feed",children:(0,g.jsx)(o.s,{theme:a.Ay,cssVarsRoot:T,resetCSS:!1,children:(0,g.jsxs)(m.h.Provider,{value:{tileTopMargin:3,tileBottomMMargin:3,tileLeftMargin:3,tileRightMargin:3,showPlayButton:!1},children:[t.heading.trim().length>0?(0,g.jsx)(d.ov,{paddingBottom:"28px",children:(0,g.jsx)(d.EY,{bgColor:A,bgClip:"text",fontSize:M,sx:{fontFamily:E+" !important"},align:"center",children:t.heading})}):(0,g.jsx)(g.Fragment,{}),"landscape"===n?(0,g.jsx)(y,{renderElement:t=>{const e=t.eventData;return(0,g.jsx)("div",{style:{margin:"10px"},children:(0,w.ij)(e)||(0,w.Il)(e)?(0,g.jsx)(P,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{O(e)}}):(0,g.jsx)(r.A,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{O(e)}})})},dataList:S,elementsPerRow:N}):(0,g.jsx)(y,{renderElement:t=>{const e=t.eventData;return(0,g.jsx)("div",{style:{margin:"10px"},children:(0,g.jsx)(P,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{O(e)}})})},dataList:S,elementsPerRow:N})]})})})})}},3852:function(t,e,n){n.d(e,{A:function(){return g}});var i=n(10),r=n(9310),o=n(9950),a=n(932),s=n(5242),l=n(8781),d=n(8283);const c=d.i7`
|
2
|
-
0% {
|
3
|
-
transform: scale(1);
|
4
|
-
}
|
5
|
-
100% {
|
6
|
-
transform: scale(1.05);
|
7
|
-
}
|
8
|
-
`,h=d.i7`
|
9
|
-
0% {
|
10
|
-
transform: scale(1.05);
|
11
|
-
}
|
12
|
-
100% {
|
13
|
-
transform: scale(1);
|
14
|
-
}
|
15
|
-
`,m=`\n ${c}; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n`,u=`\n ${h}; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n`;var p=n(664),f=n(7509),x=n(4414);var g=function(t){var e,n,[d,c]=(0,a.A)();const[h]=(0,p.QN)("whatmorePrimaryFont");var g=(0,o.useContext)(f.h);const v=t.event,y=t.onClick,w=null===(e=t.isOnFocus)||void 0===e||e,j=(t.playOnUnfocus,null!==(n=t.animateOnFocus)&&void 0!==n&&n);return(0,x.jsxs)(i.az,{animation:j?w?m:u:"none",marginTop:g.tileTopMargin,marginBottom:g.tileBottomMMargin,marginLeft:g.tileLeftMargin,marginRight:g.tileRightMargin,width:c,height:d,borderRadius:"lg",sx:{boxShadow:"0px 0px 10px 3px #B0B0B0"},overflow:"hidden",onClick:()=>{y(v)},cursor:"pointer",children:[(0,x.jsx)(r._V,{width:"full",height:"full",src:v.thumbnail_image,objectFit:"cover",fallback:(0,x.jsx)(l.A,{width:c,height:d}),borderRadius:"lg"}),(0,x.jsx)(i.az,{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden"},width:"full",height:"full",borderRadius:"lg",overflow:"hidden",className:"whatmore-ios-css-relative-fix",children:(0,x.jsxs)(i.BJ,{direction:"column",height:"full",width:"full",justifyContent:"space-between",children:[(0,x.jsx)(i.az,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-t, transparent, blackAlpha.200, blackAlpha.400, blackAlpha.600)",children:(0,x.jsx)(i.BJ,{direction:"column",justifyContent:"flex-start",children:(0,x.jsx)(i.az,{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px",children:(0,x.jsx)(i.BJ,{direction:"row",justifyContent:"space-between",children:(0,x.jsx)(s.A,{event:v,fontSize:.05*d+"px",maxWidth:.8*c})})})})}),(0,x.jsx)(i.az,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-b, transparent, blackAlpha.300, blackAlpha.400, blackAlpha.500, blackAlpha.600)",children:(0,x.jsx)(i.BJ,{direction:"column",width:"full",height:"full",justifyContent:"flex-end",alignContent:"center",children:(0,x.jsx)(i.az,{width:"full",borderRadius:"lg",children:(0,x.jsxs)(i.BJ,{direction:"column",justifyContent:"space-between",alignContent:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px",children:[(0,x.jsx)(i.EY,{color:"white",fontSize:.08*c+"px",fontWeight:"normal",align:"left",children:" "}),(0,x.jsx)(i.EY,{fontSize:.08*c+"px",fontWeight:"normal",align:"left",sx:{fontFamily:h+" !important",color:"white !important"},children:v.title.substring(0,40)}),(0,x.jsx)(i.EY,{fontSize:.08*c+"px",fontWeight:"bold",align:"left",sx:{fontFamily:h+" !important",color:"white !important"},children:v.presenter_name.substring(0,15)})]})})})})]})})]})}},5242:function(t,e,n){var i=n(10),r=n(7239),o=n(5388),a=n(4414);e.A=function(t){var e,n=t.event,s=t.fontSize,l=null!==(e=t.maxWidth)&&void 0!==e?e:"100%",{status:d,bannerText:c,timeToStartInMins:h}=r.A.getEventStatus(n);return d.name===o.A.LIVE.name?(0,a.jsx)(i.az,{maxWidth:l,width:"fit-content",borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"tomato",color:d.color,children:(0,a.jsx)(i.BJ,{direction:"row",justifyContent:"flex-start",width:"fit-content",alignContent:"center",paddingLeft:"2px",paddingRight:"2px",children:(0,a.jsx)(i.EY,{fontSize:s,fontWeight:"bold",color:"white",children:c})})}):(0,a.jsx)(i.az,{maxWidth:l,borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"white",color:d.color,children:(0,a.jsx)(i.BJ,{direction:"row",justifyContent:"flex-start",width:"fit-content",alignContent:"center",children:(0,a.jsx)(i.EY,{fontSize:s,fontWeight:"medium",children:c})})})}},5388:function(t,e){e.A={LIVE:{name:"LIVE",color:"gray.600"},UPCOMING:{name:"UPCOMING",color:"gray.600"},DEFAULT:{name:"LIVE EVENT",color:"gray.600"},COMPLETED:{name:"ENDED",color:"gray.600"}}},7239:function(t,e,n){var i=n(5388);e.A=class{static getEventStatus(t){t.time_zone="GMT+5:30";var e=t.start_time+":00",n=t.end_time,r=t.scheduled_date,o=t.status,a=t.time_zone;if(o.toUpperCase()==i.A.LIVE.name)return{status:i.A.LIVE,bannerText:" "+i.A.LIVE.name+" ",timeToStartInMins:0};if(o.toUpperCase()==i.A.UPCOMING.name){var s=new Date(r+" "+e+" "+a),l=(new Date(r+" "+n+" "+a),function(t){var e=new Date,n=(t.getTime()-e.getTime())/1e3,r=n/60,o=r/60,a=o/24;return n<=0?{status:i.A.COMPLETED,bannerText:" "+i.A.COMPLETED.name+" ",timeToStartInMins:0}:n>=1&&n<=30?{status:i.A.UPCOMING,bannerText:"Starts in "+Math.round(n)+" sec ",timeToStartInMins:n/60}:r<60?{status:i.A.UPCOMING,bannerText:"Starts in "+Math.round(r)+" min ",timeToStartInMins:r}:o<24?{status:i.A.UPCOMING,bannerText:"Starts in "+Math.round(o)+" hr ",timeToStartInMins:60*o}:a<7?{status:i.A.UPCOMING,bannerText:" "+["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][t.getDay()]+" ",timeToStartInMins:60*a*24}:{status:i.A.UPCOMING,bannerText:"Upcoming",timeToStartInMins:2880}}(s));return{status:l.status,bannerText:l.bannerText,timeToStartInMins:l.timeToStartInMins}}return console.error("invalid status for event :: id : "+t.event_id+", status : "+t.status),{status:i.A.DEFAULT,bannerText:"live event",timeToStartInMins:2880}}}}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[676],{3369:function(e,t,i){i.r(t),i.d(t,{default:function(){return W}});var o=i(9950),n=i(9769),r=i(9108),l=i(5873),s=(i(3997),i(9130),i(4669),i(9733),i(4365),i(7229),i(6042),i(2682)),a=i(4910),d=i(8378),c=i(9094),p=i(932),h=i(7300),u=i(5491),m=i.n(u),x=i(664),v=i(7509),y=i(7136),f=i(1348),g=i(4737),w=i(1351),b=i(6157),j=i(6641),P=(i(4826),i(9879)),S=i(4616),C=i(6649),k=i(6613),I=i(1131),A=i(4414);function F(e){const[t]=(0,x.QN)("whatmoreShopId"),[i,o,n]=(0,C.A)({triggerOnce:!0}),r=e.event,l=(0,k.At)()?e.isOnFocus:o;return(0,A.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"200%",overflow:"hidden",width:"100%",height:"100%",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,A.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"center",height:"100%",width:"100%"},children:[(0,A.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,A.jsx)("p",{children:" "})}),(0,A.jsx)("div",{ref:i,children:l&&(0,f.imx)(t)?(0,A.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,A.jsx)(S.A,{event:r})}):(0,A.jsx)("div",{height:"20px"})})]})})}var O=function(e){var t,i,n,r,l;const[s,a,d,c,h]=(0,p.A)();var u=(0,o.useContext)(v.h);const m=(0,x.Xd)("whatmoreUITheme"),y=(0,x.Xd)("whatmoreShopId"),g=(0,x.Xd)("whatmorePrimaryFont"),w=(0,x.Xd)("whatmoreSecondaryColor"),b=e.event,j=e.onClick,S=null===(t=e.isOnFocus)||void 0===t||t,C=null!==(i=e.playOnUnfocus)&&void 0!==i&&i,k=null!==(n=e.animateOnFocus&&(0,f.n5O)(y))&&void 0!==n&&n,O=(0,f.VYo)(y);return(0,A.jsxs)("div",{ref:e=>{e&&(e.style.setProperty("margin-top",u.tileTopMargin+"px"),e.style.setProperty("margin-bottom",u.tileBottomMMargin+"px"))},style:{margin:"0 10px",width:"8968077397"==y||"19501891"==y?void 0:a,aspectRatio:"8968077397"==y||"19501891"==y?9/16:void 0,height:"8968077397"==y||"19501891"==y?"100%":s,borderRadius:"round"==m?"5px":"0px",boxShadow:"round"==m||"61187850326"==y||"19501891"==y?O:null,borderWidth:(0,f.YcK)(y),borderColor:(0,f.Fwt)(y),overflow:"hidden",cursor:"pointer",position:"relative"},className:k?S?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{var e,t;"12326200"==y&&"image"==b.event_type?window.location.href=null===(e=b.products)||void 0===e||null===(t=e[0])||void 0===t?void 0:t.product_link:j(b)},children:[(0,A.jsx)(P.A,{height:(0,f.u06)(y)+" !important",width:"100%",url:b.thumbnail_image,isPlaying:S||C,event:b}),""!==(null===b||void 0===b?void 0:b.title)?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{className:"wht-overlay-text",style:{position:"absolute",bottom:"4%",left:"50%",transform:"translateX(-50%)",color:"white",padding:"0.5rem 0rem 0rem 0.5rem",zIndex:1,width:"90%",maxWidth:"100%",wordWrap:"break-word",textShadow:"2px 2px 4px rgba(0, 0, 0, 0.5)",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:3,overflow:"hidden",textOverflow:"ellipsis"},children:(0,A.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"1px",alignItems:"center"},children:[(0,A.jsx)("p",{style:{fontFamily:g,fontSize:.1*a+"px",fontWeight:"600"},children:"12326200"==y?null===b||void 0===b||null===(r=b.title)||void 0===r?void 0:r.slice(7):null===b||void 0===b?void 0:b.title}),"12326200"==y&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("p",{style:{fontFamily:'"brandon-grotesque"',fontSize:.08*a+"px",fontWeight:"normal"},children:null===b||void 0===b||null===(l=b.title)||void 0===l?void 0:l.slice(0,7)}),(0,A.jsx)("button",{style:{display:"flex",alignItems:"center",borderRadius:"200px",marginTop:"4px",backgroundColor:w,padding:"8px 28px"},children:(0,A.jsx)("p",{style:{fontFamily:'"brandon-grotesque"',fontSize:.05*a+"px",fontWeight:"normal"},children:"SHOP NOW"})})]})]})}),(0,A.jsx)("div",{className:"wht-shopping-icon",style:{position:"absolute",top:"10px",right:"10px",zIndex:2},children:(0,A.jsx)(I.A,{sx:{color:"white",fontSize:"1.3rem",filter:"drop-shadow(0 0 5px black)"}})})]}):(0,f.Q$)(y)&&(0,A.jsxs)("div",{style:{width:a,height:s},children:[(0,A.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden",width:"100%",height:"100%",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix"}),(0,A.jsx)(F,{event:b,unfocusedDisplay:!S,isOnFocus:S})]})]})};const M=(0,a.A)({key:"whatmore-css-hv"});function N(e){const[t,i,n]=(0,p.A)(),r=(0,x.Xd)("whatmoreShopId"),l=e.events,s=e.onClick,a=n*(0,f.kcl)(r),c=(0,f.cbh)(r),[h,u]=(0,o.useState)(c?l.length:a),{whatmoreWidgetSourceDetails:m}=(0,o.useContext)(g.B);return(0,o.useEffect)((()=>{h<=a&&u((e=>e+a))}),[a]),(0,A.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,A.jsx)("div",{style:{width:window.innerWidth,height:"fit-content"},children:(0,A.jsx)(d.RC,{slidesPerView:2,initialSlide:0,centeredSlides:!1,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:1,onSlideChange:e=>{(0,w.UM)({userInteractionType:b.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:m}),e.realIndex>e.previousIndex&&u((e=>e+a))},loop:c,children:l.map(((e,t)=>t<=h&&(0,A.jsx)(d.qr,{children:t=>{let{isActive:i,isPrev:o,isNext:n,isVisible:r}=t;return o||n||i?(0,A.jsx)(O,{isOnFocus:r,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{s(e)}}):(0,A.jsx)(y.A,{})}},"whatmore-event-tile-portrait-"+e.index)))})})})}function R(e){const[t,i,n,r]=(0,p.A)(),[l,s]=(0,o.useState)(-1),a=(0,x.Xd)("whatmoreShopId"),[h]=(0,x.QN)("whatmoreLandingLocationType"),u=e.onClick,v=e.events,j=(0,f.cbh)(a),[P,S]=(0,o.useState)(j?v.length:n),C=Math.min(n,v.length),{whatmoreWidgetSourceDetails:k}=(0,o.useContext)(g.B),I=(0,o.useRef)(null);return(0,o.useEffect)((()=>{if(I.current){const e=i*C*(0,f.fHt)(a)+"px";v.length<4?I.current.style.setProperty("width",e,"important"):I.current.style.width=e}}),[i,C,a,P,v.length]),(0,o.useEffect)((()=>{P<=n&&S((e=>e+n))}),[n]),(0,A.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",paddingLeft:r+"px",paddingRight:r+"px"},className:"whatmore-events-carousel-landscape",children:(0,A.jsx)("div",{ref:I,style:{height:"100%"},children:(0,A.jsx)(d.RC,{slidesPerView:"product"===h&&"87174349065"===a?2:C,watchSlidesProgress:!0,modules:[c.Vx],navigation:!0,slidesPerGroup:parseInt(C),onSlideChange:e=>{(0,w.UM)({userInteractionType:b.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:k}),e.realIndex>e.previousIndex&&S((e=>e+n))},spaceBetween:0,loop:j&&v.length>4,style:{height:"100%"},children:v.map(((e,t)=>{const i=m()((()=>s(t)),300);return t<=P&&(0,A.jsx)(d.qr,{onMouseEnter:()=>{i()},onMouseLeave:()=>{i.cancel(),s(-1)},style:{height:"100%"},children:i=>{let{isActive:o,isPrev:n,isNext:r,isVisible:s}=i;return s||n||r?(0,A.jsx)(O,{isOnFocus:t==l,playOnUnfocus:!(0,f.aO7)(a)||t==parseInt(C/2)&&-1==l,animateOnFocus:!0,event:e,onClick:()=>{u(e)}}):(0,A.jsx)(y.A,{})}},"whatmore-event-tile-landscape-"+e.index)}))})})})}var W=function(e){const[t,i,a]=(0,h.A)(),[d]=(0,x.QN)("whatmoreShopId"),[c]=(0,x.QN)("whatmorePrimaryColor"),[p]=(0,x.QN)("whatmoreTitleFont"),u="portrait"==t?(0,x.Xd)("whatmoreTitleFontSizePortrait"):(0,x.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:m}=(0,o.useContext)(g.B),y=(0,x.Xd)("whatmoreCollectionHeading"),{whatmoreIsCollectionsTemplate:w}=(0,o.useContext)(g.B),b=e.events,P=e.onClick,S=p;function C(e){P(e)}return(0,o.useEffect)((()=>{(0,j.Fk)("Video shopping powered by Whatmore!")}),[]),(0,o.useEffect)((()=>{l.Sn.forEach((e=>{var t;const i=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-g"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-g"]');if(!i)return;i&&e&&(e.style.minHeight="0px")}))}),[]),delete r.Ay.styles.global,(0,A.jsx)(s.C,{value:M,children:(0,A.jsx)("div",{className:"whatmore-carousel-events",style:{height:"100%"},children:(0,A.jsx)(n.s,{theme:r.Ay,cssVarsRoot:m,resetCSS:!1,children:(0,A.jsxs)(v.h.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0||w?(0,A.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,A.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",S),e.style.setProperty("font-size",u+"px","important"))},style:{color:c,backgroundClip:"text",textAlign:"center",fontWeight:(0,f.Odx)(d),lineHeight:(0,f.L0y)(d),letterSpacing:(0,f.l3V)(d)},children:w?"W"!==y?y:"":e.heading})}):(0,A.jsx)(A.Fragment,{}),"landscape"===t?(0,A.jsx)(R,{events:b,onClick:C}):(0,A.jsx)(N,{events:b,onClick:C})]})})})})}},7509:function(e,t,i){i.d(t,{h:function(){return o}});const o=(0,i(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},8538:function(e,t,i){i.d(t,{v:function(){return n}});var o=i(664);function n(e,t){const i=(0,o.Xd)("whatmoreShopId");return"undefined"==typeof e||"undefined"==e||null==e?"":"6873415750"==i||"72442478904"==i||"58562281529"==i?e:"66168324332"==i&&"prod-tile"!=t?null===e||void 0===e||null===(n=e.split("- "))||void 0===n?void 0:n[0]:e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}));var n}},7136:function(e,t,i){var o=i(9950),n=i(932),r=i(7509),l=i(664),s=i(4414);t.A=function(e){var[t,i]=(0,n.A)();(0,o.useContext)(r.h);const a=(0,l.Xd)("whatmoreShopId");return e.event,(0,s.jsx)("div",{style:{margin:"0 auto",width:"8968077397"==a?void 0:i,aspectRatio:"8968077397"==a?9/16:void 0,height:"8968077397"==a?"100%":t,overflow:"hidden"}})}},4616:function(e,t,i){var o=i(9950),n=i(664),r=i(932),l=i(8538),s=(i(4826),i(1348)),a=i(7973),d=i(4414);t.A=function(e){var t,i,c,p,[h,u]=(0,r.A)();const m=(0,n.Xd)("whatmoreUITheme"),[x]=(0,n.QN)("whatmorePrimaryFont"),[v,y]=(0,o.useState)(0),f=(0,n.Xd)("whatmoreShopId"),g=e.event;if(0==g.products.length)return(0,d.jsx)(d.Fragment,{});const w=.3*u,b=w+"px",j=w+"px",P=.07*u,S=P+"px";return(0,d.jsx)("div",{style:{width:u+"px",height:"fit-content",backgroundImage:"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0.3)"},children:(0,d.jsxs)("div",{ref:e=>{e&&e.style.setProperty("height","fit-content","important")},style:{display:"flex",flexFlow:"row nowrap",width:"100%",justifyContent:"space-between",alignItems:"center",paddingLeft:"5px",paddingRight:"5px",paddingTop:"5px",paddingBottom:"5px",gap:"5px"},className:"whatmore-event-tile-product-scale-in-and-out-animation",children:[(0,d.jsx)("div",{ref:e=>{e&&e.style.setProperty("height",j,"important")},style:{width:(0,s.H$k)(f)?b:"auto",boxShadow:"round"==m?"0px 0px 5px 2px #B0B0B0":null,borderRadius:"round"==m?"5px":"0px",borderWidth:(0,s.YcK)(f),borderColor:(0,s.Fwt)(f),overflow:"hidden",backgroundColor:"rgb(220, 220, 220, 1)"},children:(0,d.jsx)("img",{ref:e=>{e&&(e.style.setProperty("object-fit",(0,s.KZe)(f),"important"),e.style.setProperty("max-width",b,"important"))},src:(0,a.b)(g.products[v].thumbnail_image,"&width=400&height=400"),style:{width:"100%",height:"100%",borderRadius:"round"==m?"5px":"0px"},alt:"product image"})}),(0,d.jsxs)("div",{style:{width:u-5-w+"px",height:"100%",borderRadius:"round"==m?"5px":"0px",overflow:"visible"},children:[(0,d.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"fit-content",justifyContent:"center",alignItems:"center",paddingBottom:"4px"},children:(0,d.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color","white","important"),e.style.setProperty("font-size",S,"important"),e.style.setProperty("line-height","120%","important"),e.style.setProperty("font-family",x,"important"),e.style.setProperty("-webkit-line-clamp",3,"important"),e.style.setProperty("line-clamp",3,"important"),e.style.setProperty("-webkit-box-orient","vertical","important"),e.style.setProperty("display","-webkit-box","important"),e.style.setProperty("overflow","hidden","important"),e.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"normal"},children:(0,l.v)(g.products[v].title)})}),(null===(t=g.products[v])||void 0===t||null===(i=t.product_metadata)||void 0===i?void 0:i.product_type)&&(0,d.jsx)("div",{style:{display:"flex",opacity:.8,width:"fit-content",maxWidth:u-5-w+"px",padding:"3px 6px",backgroundColor:"#D3D3D3",borderRadius:"round"==m?"3px":"0"},children:(0,d.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color","#000","important"),e.style.setProperty("maxWidth",u-5-w+"px","important"),e.style.setProperty("font-size",.7*P+"px","important"),e.style.setProperty("font-family",x,"important"),e.style.setProperty("font-weight","bold","important"),e.style.setProperty("text-overflow","ellipsis","important"),e.style.setProperty("overflow","hidden","important"),e.style.setProperty("-webkit-line-clamp",1,"important"),e.style.setProperty("line-clamp",1,"important"),e.style.setProperty("-webkit-box-orient","vertical","important"),e.style.setProperty("display","-webkit-box","important"))},children:null===(c=g.products[v])||void 0===c||null===(p=c.product_metadata)||void 0===p?void 0:p.product_type})})]})]},v)})}},7973:function(e,t,i){i.d(t,{B:function(){return l},b:function(){return r}});var o=i(1348),n=i(664);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const i=(0,n.Xd)("whatmoreShopId");return"shopify"!=(0,o.NCy)(i)?"STRNV8MHJTF"==i?e+"?format=webp":e:e+t}function l(e){var t;if(null!==e&&void 0!==e&&e.includes("https://w-media.b-cdn.net/process-media"))return"image";const i=null===e||void 0===e||null===(t=e.trim())||void 0===t?void 0:t.split("?")[0],o=/\.(jpeg|jpg|gif|png|svg|webp)$/i,n=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==o&&void 0!==o&&o.test(i)?"image":null!==n&&void 0!==n&&n.test(i)?"video":void 0}},1131:function(e,t,i){var o=i(5709);t.A=void 0;var n=o(i(9526)),r=i(4414),l=(0,n.default)([(0,r.jsx)("path",{d:"M18 20H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z",opacity:".3"},"0"),(0,r.jsx)("path",{d:"M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2zm6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z"},"1")],"ShoppingBagTwoTone");t.A=l},4826:function(){},7229:function(){},4669:function(){},6042:function(){},3997:function(){},9130:function(){}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[891],{7178:function(e,t,o){o.r(t);var i=o(9950),n=o(9769),r=o(9108),l=o(5873),s=(o(3997),o(9130),o(4669),o(9733),o(4365),o(7229),o(6042),o(2682)),a=o(4910),d=o(8378),c=o(9094),p=o(932),u=o(7300),h=o(5491),m=o.n(h),y=o(664),v=o(7509),f=o(7136),x=o(1348),g=o(4737),w=o(1351),P=o(6157),j=o(6641),C=o(1957),S=o(4414);const b=(0,a.A)({key:"whatmore-css-hv"});function M(e){const[t,o,n]=(0,p.A)(),r=(0,y.Xd)("whatmoreShopId"),l=e.events,s=e.onClick,a=n*(0,x.kcl)(r),c=(0,x.cbh)(r),[u,h]=(0,i.useState)(c?l.length:a),{whatmoreWidgetSourceDetails:m}=(0,i.useContext)(g.B);return(0,i.useEffect)((()=>{u<=a&&h((e=>e+a))}),[a]),(0,S.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,S.jsx)("div",{style:{width:window.innerWidth,height:"fit-content"},children:(0,S.jsx)(d.RC,{slidesPerView:l.length>1?a:1,initialSlide:l.length>1?1:0,centeredSlides:!0,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:.5,onSlideChange:e=>{(0,w.UM)({userInteractionType:P.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:m}),e.realIndex>e.previousIndex&&h((e=>e+a))},loop:c,children:l.map(((e,t)=>t<=u&&(0,S.jsx)(d.qr,{children:t=>{let{isActive:o,isPrev:i,isNext:n,isVisible:r}=t;return i||n||o?(0,S.jsx)(C.A,{isOnFocus:o&&r,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{s(e)}}):(0,S.jsx)(f.A,{})}},"whatmore-event-tile-portrait-"+e.index)))})})})}function N(e){const[t,o,n,r]=(0,p.A)(),[l,s]=(0,i.useState)(-1),a=(0,y.Xd)("whatmoreShopId"),u=e.onClick,h=e.events,v=(0,x.cbh)(a),[j,b]=(0,i.useState)(v?h.length:n),M=Math.min(n,h.length),{whatmoreWidgetSourceDetails:N}=(0,i.useContext)(g.B),I=(0,i.useRef)(null);return(0,i.useEffect)((()=>{if(I.current){const e=o*M*(0,x.fHt)(a)+"px";h.length<4?I.current.style.setProperty("width",e,"important"):I.current.style.width=e}}),[o,M,a,j,h.length]),(0,i.useEffect)((()=>{j<=n&&b((e=>e+n))}),[n]),(0,S.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",paddingLeft:r+"px",paddingRight:r+"px"},className:"whatmore-events-carousel-landscape",children:(0,S.jsx)("div",{ref:I,style:{height:"100%"},children:(0,S.jsx)(d.RC,{slidesPerView:M,watchSlidesProgress:!0,modules:[c.Vx],navigation:!0,slidesPerGroup:parseInt(M),onSlideChange:e=>{(0,w.UM)({userInteractionType:P.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:N}),e.realIndex>e.previousIndex&&b((e=>e+n))},spaceBetween:0,loop:v&&h.length>4,style:{height:"100%"},children:h.map(((e,t)=>{const o=m()((()=>s(t)),300);return t<=j&&(0,S.jsx)(d.qr,{onMouseEnter:()=>{o()},onMouseLeave:()=>{o.cancel(),s(-1)},style:{height:"100%"},children:o=>{let{isActive:i,isPrev:n,isNext:r,isVisible:s}=o;return s||n||r?(0,S.jsx)(C.A,{isOnFocus:t==l,playOnUnfocus:!(0,x.aO7)(a)||t==parseInt(M/2)&&-1==l,animateOnFocus:!0,event:e,onClick:()=>{u(e)}}):(0,S.jsx)(f.A,{})}},"whatmore-event-tile-landscape-"+e.index)}))})})})}t.default=function(e){const[t,o,a]=(0,u.A)(),[d]=(0,y.QN)("whatmoreShopId"),[c]=(0,y.QN)("whatmorePrimaryColor"),[p]=(0,y.QN)("whatmoreTitleFont"),h="portrait"==t?(0,y.Xd)("whatmoreTitleFontSizePortrait"):(0,y.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:m}=(0,i.useContext)(g.B),f=(0,y.Xd)("whatmoreCollectionHeading"),{whatmoreIsCollectionsTemplate:w}=(0,i.useContext)(g.B),P=e.events,C=e.onClick,I=p;function A(e){C(e)}return(0,i.useEffect)((()=>{(0,j.Fk)("Video shopping powered by Whatmore!")}),[]),(0,i.useEffect)((()=>{l.Sn.forEach((e=>{var t;const o=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-h"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-h"]');if(!o)return;o&&e&&(e.style.minHeight="0px")}))}),[]),delete r.Ay.styles.global,(0,S.jsx)(s.C,{value:b,children:(0,S.jsx)("div",{className:"whatmore-carousel-events",style:{height:"100%"},children:(0,S.jsx)(n.s,{theme:r.Ay,cssVarsRoot:m,resetCSS:!1,children:(0,S.jsxs)(v.h.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0||w?(0,S.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,S.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",I,"important"),e.style.setProperty("font-size",h+"px","important"))},style:{color:c,backgroundClip:"text",textAlign:"center",fontWeight:(0,x.Odx)(d),lineHeight:(0,x.L0y)(d),letterSpacing:(0,x.l3V)(d)},children:w?"W"!==f?f:"":e.heading})}):(0,S.jsx)(S.Fragment,{}),"landscape"===t?(0,S.jsx)(N,{events:P,onClick:A}):(0,S.jsx)(M,{events:P,onClick:A})]})})})})}},7509:function(e,t,o){o.d(t,{h:function(){return i}});const i=(0,o(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},7136:function(e,t,o){var i=o(9950),n=o(932),r=o(7509),l=o(664),s=o(4414);t.A=function(e){var[t,o]=(0,n.A)();(0,i.useContext)(r.h);const a=(0,l.Xd)("whatmoreShopId");return e.event,(0,s.jsx)("div",{style:{margin:"0 auto",width:"8968077397"==a?void 0:o,aspectRatio:"8968077397"==a?9/16:void 0,height:"8968077397"==a?"100%":t,overflow:"hidden"}})}},1957:function(e,t,o){var i=o(9950),n=o(932),r=(o(4826),o(664)),l=o(9879),s=o(7509),a=o(22),d=o(1348),c=o(4737),p=o(6594),u=o(8538),h=o(8149),m=o(4414);t.A=function(e){var t,o,y,v,f,x,g,w,P,j,C,S,b,M,N,I,A,O,k;const[F,R,_,E,W]=(0,n.A)();var T=(0,i.useContext)(s.h);const B=(0,r.Xd)("whatmoreUITheme"),z=(0,r.Xd)("whatmoreShopId"),D=(0,r.Xd)("whatmorePrimaryFont"),X=(0,r.Xd)("whatmoreSecondaryColor"),H=e.onClick,U=null===(t=e.isOnFocus)||void 0===t||t,V=null!==(o=e.playOnUnfocus)&&void 0!==o&&o,L=null!==(y=e.animateOnFocus&&(0,d.n5O)(z))&&void 0!==y&&y,G="portrait"===W[a.dl],q=(G?1.076*R*(0,d.HWj)(z):R*(0,d.N_4)(z))+"px",$=(G?1.076*R*(0,d.HWj)(z):R*(0,d.N_4)(z))+"px",K=(G?.965*R*(0,d.HWj)(z):.859*R*(0,d.N_4)(z))+"px",Q=(0,d.VYo)(z),{whatmoreIsPreviewMode:Y}=(0,i.useContext)(c.B),J=.25*R,Z=J+"px",[ee,te]=(0,i.useState)(e.event),[oe,ie]=(0,i.useState)(),ne=Math.round(+(null===(v=ee.products)||void 0===v||null===(f=v[0])||void 0===f?void 0:f.price)),re=Math.round(+(null===ee||void 0===ee||null===(x=ee.products[0])||void 0===x?void 0:x.compare_price)),le=re&&0!=re&&re>ne?Math.round((re-ne)/re*100):NaN,[se,ae]=(0,i.useState)(le);return(0,i.useEffect)((()=>{(0,d.w4b)(z)&&(0,p.fu)(ee,(0,d.NCy)(z),z).then((e=>{var t,o,i;te(e);const n=Math.round(null===(t=e.products)||void 0===t||null===(o=t[0])||void 0===o?void 0:o.price),r=Math.round(null===e||void 0===e||null===(i=e.products[0])||void 0===i?void 0:i.compare_price),l=r&&0!=r&&r>n?Math.round((r-n)/r*100):NaN;ae(l)}));(async()=>{var e;const t=await(0,h.M)(null===ee||void 0===ee||null===(e=ee.products)||void 0===e?void 0:e[0],(0,d.NCy)(z),z);ie(t)})()}),[]),(0,m.jsxs)("div",{ref:e=>{e&&(e.style.setProperty("margin-top",T.tileTopMargin+"px","important"),e.style.setProperty("margin-bottom",T.tileBottomMMargin+"px","important"))},children:[(0,m.jsx)("div",{style:{margin:"0 auto",width:R,height:G&&U?"STR2FOC6KG9"==z||"STRDOIDF6O7"==z?F:1.1*F:F,borderRadius:"round"==B?"5px":"0px",boxShadow:"round"==B?Q:null,borderWidth:(0,d.YcK)(z),borderColor:(0,d.Fwt)(z),overflow:"hidden",cursor:"pointer"},className:L?U?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{H(ee)},children:(0,m.jsx)(l.A,{height:(0,d.u06)(z)+" !important",width:"100%",url:ee.thumbnail_image,isPlaying:U||V,event:ee})}),"STRSJFOP1GI"!=z&&(0,m.jsxs)("div",{onClick:()=>{H(ee)},className:L?U?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",style:{cursor:"pointer",display:"flex",gap:"6px",padding:"16px 12px"},children:[(Y?(0,d.Tr1)(z):(0,d.UmS)(z))&&(0,m.jsx)("div",{style:{maxWidth:Z,minWidth:null!==(g=ee.products)&&void 0!==g&&null!==(w=g[0])&&void 0!==w&&w.thumbnail_image?Z:"0",overflow:"hidden"},children:(0,m.jsx)("img",{ref:e=>{e&&e.style.setProperty("object-fit",(0,d.KZe)(z),"important")},src:null===(P=ee.products)||void 0===P||null===(j=P[0])||void 0===j?void 0:j.thumbnail_image})}),(0,m.jsxs)("div",{className:"wht-prod-info",style:{display:"flex",flexDirection:"column",gap:"5px"},children:[(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.m5c)(z),"important"),e.style.setProperty("font-size",q,"important"),e.style.setProperty("line-height","120%","important"),e.style.setProperty("font-family",D,"important"),e.style.setProperty("-webkit-line-clamp",1,"important"),e.style.setProperty("line-clamp",1,"important"),e.style.setProperty("-webkit-box-orient","vertical","important"),e.style.setProperty("display","-webkit-box","important"),e.style.setProperty("overflow","hidden","important"),e.style.setProperty("text-overflow","ellipsis","important"))},children:(0,u.v)(null===(C=ee.products[0])||void 0===C?void 0:C.title)}),(0,d.Nzx)(z)&&(0,m.jsxs)("div",{style:{display:"flex",gap:"12px",flexDirection:(0,d.vw2)(z)?"row":"row-reverse",justifyContent:(0,d.vw2)(z)?"flex-start":"flex-end"},children:[(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.m5c)(z),"important"),e.style.setProperty("font-size",$,"important"),e.style.setProperty("font-family",D,"important"),e.style.setProperty("overflow","hidden","important"))},style:{textAlign:"left",fontWeight:"normal"==(0,d.i6j)(z)?"normal":"bold"},children:(0,p.Sb)(parseFloat(null!==(S=null===oe||void 0===oe?void 0:oe.price)&&void 0!==S?S:null===ee||void 0===ee||null===(b=ee.products)||void 0===b||null===(M=b[0])||void 0===M?void 0:M.price)," ",z,null===(N=ee.products[0])||void 0===N?void 0:N.currency)}),!isNaN(re)&&re>ne&&(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.gld)(z),"important"),e.style.setProperty("font-size",$,"important"),e.style.setProperty("font-family",D,"important"),e.style.setProperty("overflow","hidden","important"))},style:{textDecoration:"line-through"},children:(0,p.Sb)(parseFloat(null!==(I=null===oe||void 0===oe?void 0:oe.compare_at_price)&&void 0!==I?I:null===ee||void 0===ee||null===(A=ee.products)||void 0===A||null===(O=A[0])||void 0===O?void 0:O.compare_price)," ",z,null===(k=ee.products[0])||void 0===k?void 0:k.currency)})]}),(0,d.Nzx)(z)&&!isNaN(se)&&0!=se&&(0,m.jsx)("div",{style:{display:"flex",backgroundColor:"green"==(0,d.ub$)(z)?"#343434"==X?(0,d.ub$)(z):X:(0,d.ub$)(z),alignItems:"center",borderRadius:(0,d.v8m)(z)+"px",width:"fit-content",padding:(0,d.Cf)(z)?"3px 6px":"0px"},children:(0,d.Cf)(z)?(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.BRY)(z),"important"),e.style.setProperty("font-size",K,"important"),e.style.setProperty("font-family",D,"important"))},children:`${se}% Off`}):(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d._zx)(z),"important"),e.style.setProperty("font-size",K,"important"),e.style.setProperty("font-family",(0,d.ogW)(z),"important"))},children:(0,d.rsz)(z)})})]})]})]})}},4826:function(){},7229:function(){},4669:function(){},6042:function(){},9130:function(){}}]);
|
@@ -1,45 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[116],{3852:function(t,n,e){e.d(n,{A:function(){return p}});var i=e(10),r=e(9310),a=e(9950),o=e(932),s=e(5242),l=e(8781),c=e(8283);const d=c.i7`
|
2
|
-
0% {
|
3
|
-
transform: scale(1);
|
4
|
-
}
|
5
|
-
100% {
|
6
|
-
transform: scale(1.05);
|
7
|
-
}
|
8
|
-
`,h=c.i7`
|
9
|
-
0% {
|
10
|
-
transform: scale(1.05);
|
11
|
-
}
|
12
|
-
100% {
|
13
|
-
transform: scale(1);
|
14
|
-
}
|
15
|
-
`,m=`\n ${d}; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n`,u=`\n ${h}; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n`;var f=e(664),g=e(7509),x=e(4414);var p=function(t){var n,e,[c,d]=(0,o.A)();const[h]=(0,f.QN)("whatmorePrimaryFont");var p=(0,a.useContext)(g.h);const j=t.event,v=t.onClick,w=null===(n=t.isOnFocus)||void 0===n||n,C=(t.playOnUnfocus,null!==(e=t.animateOnFocus)&&void 0!==e&&e);return(0,x.jsxs)(i.az,{animation:C?w?m:u:"none",marginTop:p.tileTopMargin,marginBottom:p.tileBottomMMargin,marginLeft:p.tileLeftMargin,marginRight:p.tileRightMargin,width:d,height:c,borderRadius:"lg",sx:{boxShadow:"0px 0px 10px 3px #B0B0B0"},overflow:"hidden",onClick:()=>{v(j)},cursor:"pointer",children:[(0,x.jsx)(r._V,{width:"full",height:"full",src:j.thumbnail_image,objectFit:"cover",fallback:(0,x.jsx)(l.A,{width:d,height:c}),borderRadius:"lg"}),(0,x.jsx)(i.az,{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden"},width:"full",height:"full",borderRadius:"lg",overflow:"hidden",className:"whatmore-ios-css-relative-fix",children:(0,x.jsxs)(i.BJ,{direction:"column",height:"full",width:"full",justifyContent:"space-between",children:[(0,x.jsx)(i.az,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-t, transparent, blackAlpha.200, blackAlpha.400, blackAlpha.600)",children:(0,x.jsx)(i.BJ,{direction:"column",justifyContent:"flex-start",children:(0,x.jsx)(i.az,{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px",children:(0,x.jsx)(i.BJ,{direction:"row",justifyContent:"space-between",children:(0,x.jsx)(s.A,{event:j,fontSize:.05*c+"px",maxWidth:.8*d})})})})}),(0,x.jsx)(i.az,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-b, transparent, blackAlpha.300, blackAlpha.400, blackAlpha.500, blackAlpha.600)",children:(0,x.jsx)(i.BJ,{direction:"column",width:"full",height:"full",justifyContent:"flex-end",alignContent:"center",children:(0,x.jsx)(i.az,{width:"full",borderRadius:"lg",children:(0,x.jsxs)(i.BJ,{direction:"column",justifyContent:"space-between",alignContent:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px",children:[(0,x.jsx)(i.EY,{color:"white",fontSize:.08*d+"px",fontWeight:"normal",align:"left",children:" "}),(0,x.jsx)(i.EY,{fontSize:.08*d+"px",fontWeight:"normal",align:"left",sx:{fontFamily:h+" !important",color:"white !important"},children:j.title.substring(0,40)}),(0,x.jsx)(i.EY,{fontSize:.08*d+"px",fontWeight:"bold",align:"left",sx:{fontFamily:h+" !important",color:"white !important"},children:j.presenter_name.substring(0,15)})]})})})})]})})]})}},7144:function(t,n,e){e.r(n);var i=e(9950),r=e(3852),a=e(9769),o=e(9108),s=e(8726),l=(e(3997),e(9733),e(4365),e(2682)),c=e(4910),d=e(10),h=e(932),m=e(7300),u=e(664),f=e(5144),g=e(7509),x=e(1348),p=e(4737),j=e(2039),v=e(5620),w=e(4414);const C=(0,c.A)({key:"whatmore-css-hv"});function b(t,n){var e=[];const i=n;for(let r=0;r<t.length;r+=i){const n=t.slice(r,r+i);e.push(n)}return e}function y(t){var n;const[e,r]=(0,i.useState)(!1),[a,o]=(0,i.useState)(!1),[l]=(0,u.QN)("whatmoreSecondaryColorShade600"),[c]=(0,u.QN)("whatmoreSecondaryColorShade300"),[h]=(0,u.QN)("whatmorePrimaryFont"),m=(n=t.baseFontSize,t.onClick);return(0,w.jsxs)(d.az,{display:"flex",alignItems:"center",width:"fit-content",height:"fit-content",boxShadow:"lg",borderRadius:"sm",backgroundColor:e?c:l,animation:a?f.jd:null,padding:"6px 10px",onClick:t=>{t.stopPropagation(),o(!0),m()},onMouseEnter:()=>{r(!0)},onMouseLeave:()=>{r(!1)},children:[(0,w.jsxs)(d.EY,{fontSize:"12px",fontWeight:"normal",sx:{fontFamily:h+" !important",color:"white !important"},children:["\xa0","VIEW MORE"]}),(0,w.jsx)(s.A,{style:{color:"white",marginLeft:"2px"}})]})}function M(t){var n;const[e,a,o]=(0,h.A)();var[s,l]=(0,i.useState)(0);const c=t.events,m=t.onClick,u=null!==(n=t.seeMoreIncrement)&&void 0!==n?n:1,f=b(c,Math.floor(Math.min(o,c.length)));return(0,w.jsx)(d.ov,{children:(0,w.jsxs)(d.BJ,{direction:"column",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:[(0,w.jsx)(w.Fragment,{children:f.map(((t,n)=>n>s?(0,w.jsx)(w.Fragment,{}):(0,w.jsx)(d.BJ,{direction:"row",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:t.map(((t,n)=>(0,w.jsx)(d.az,{style:{margin:"10px"},children:(0,j.ij)(t)||(0,j.Il)(t)?(0,w.jsx)(v.A,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{m(t)}}):(0,w.jsx)(r.A,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{m(t)}})},"event-"+n)))},"event-stack-"+n)))}),(0,w.jsx)(w.Fragment,{children:s<f.length-1?(0,w.jsx)(d.BJ,{direction:"row",width:"100%",height:"fit-content",marginY:"10px !important",justifyContent:"center",alignContent:"center",children:(0,w.jsx)(y,{baseFontSize:.1*a,onClick:()=>{s>=f.length-1||l((t=>t+u))}})}):(0,w.jsx)(w.Fragment,{})})]})})}function S(t){var n;const[e,a,o,s]=(0,h.A)();var[l,c]=(0,i.useState)(0);const m=t.events,u=t.onClick,f=null!==(n=t.seeMoreIncrement)&&void 0!==n?n:1,g=b(m,Math.floor(Math.min(o,m.length)));return(0,w.jsx)(d.ov,{paddingLeft:s+"px",paddingRight:s+"px",children:(0,w.jsxs)(d.BJ,{direction:"column",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:[(0,w.jsx)(w.Fragment,{children:g.map(((t,n)=>n>l?(0,w.jsx)(w.Fragment,{}):(0,w.jsx)(d.BJ,{direction:"row",width:"100%",height:"fit-content",marginY:"10px",justifyContent:"center",alignContent:"center",children:t.map(((t,n)=>(0,w.jsx)(d.az,{style:{margin:"10px"},children:(0,j.ij)(t)||(0,j.Il)(t)?(0,w.jsx)(v.A,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{u(t)}}):(0,w.jsx)(r.A,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{u(t)}})},"event-"+n)))},"event-stack-"+n)))}),(0,w.jsx)(w.Fragment,{children:l<g.length-1?(0,w.jsx)(d.BJ,{direction:"row",width:"100%",height:"fit-content",marginY:"10px !important",justifyContent:"center",alignContent:"center",children:(0,w.jsx)(y,{baseFontSize:.1*a,onClick:()=>{l>=g.length-1||c((t=>t+f))}})}):(0,w.jsx)(w.Fragment,{})})]})})}n.default=function(t){var n;const[e,r,s]=(0,m.A)(),[c]=(0,u.QN)("whatmoreShopId"),[h]=(0,u.QN)("whatmorePrimaryColor"),[f]=(0,u.QN)("whatmoreSecondaryColor"),[j]=(0,u.QN)("whatmoreTitleFont"),v="portrait"==e?(0,u.Xd)("whatmoreTitleFontSizePortrait"):(0,u.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:b}=(0,i.useContext)(p.B),y=t.events,A=t.onClick,T=null!==(n=(0,x.sa6)(c))&&void 0!==n?n:j;function I(t){A(t)}return delete o.Ay.styles.global,(0,w.jsx)(l.C,{value:C,children:(0,w.jsx)("div",{className:"whatmore-carousel-events-view-more",children:(0,w.jsx)(a.s,{theme:o.Ay,cssVarsRoot:b,resetCSS:!1,children:(0,w.jsxs)(g.h.Provider,{value:{tileTopMargin:3,tileBottomMMargin:3,tileLeftMargin:3,tileRightMargin:3,showPlayButton:!1},children:[t.heading.trim().length>0?(0,w.jsx)(d.ov,{children:(0,w.jsx)(d.EY,{bgColor:h,bgClip:"text",fontSize:v,sx:{fontFamily:T+" !important"},align:"center",children:t.heading})}):(0,w.jsx)(w.Fragment,{}),"landscape"===e?(0,w.jsx)(S,{events:y,onClick:I,seeMoreIncrement:1}):(0,w.jsx)(M,{events:y,onClick:I,seeMoreIncrement:2})]})})})})}},5144:function(t,n,e){e.d(n,{jd:function(){return r}});var i=e(8283);const r=`\n ${i.i7`
|
16
|
-
0% { transform: scale(1); }
|
17
|
-
50%, { transform: scale(0.95); }
|
18
|
-
100% { transform: scale(1); }
|
19
|
-
`} 0.2s linear;\n`;i.i7`
|
20
|
-
100% {
|
21
|
-
-webkit-transform: rotate(360deg);
|
22
|
-
transform:rotate(360deg);
|
23
|
-
}
|
24
|
-
`,i.i7`
|
25
|
-
0% {
|
26
|
-
opacity: 1;
|
27
|
-
transform: translateY(100%);
|
28
|
-
}
|
29
|
-
10%{
|
30
|
-
transform: translateY(0%);
|
31
|
-
}
|
32
|
-
12%{
|
33
|
-
transform: translateY(-5%);
|
34
|
-
}
|
35
|
-
20%{
|
36
|
-
transform: translateY(0%);
|
37
|
-
}
|
38
|
-
95%{
|
39
|
-
opacity: 1;
|
40
|
-
transform: scale(1);
|
41
|
-
}
|
42
|
-
100%{
|
43
|
-
opacity: 0;
|
44
|
-
}
|
45
|
-
`},5242:function(t,n,e){var i=e(10),r=e(7239),a=e(5388),o=e(4414);n.A=function(t){var n,e=t.event,s=t.fontSize,l=null!==(n=t.maxWidth)&&void 0!==n?n:"100%",{status:c,bannerText:d,timeToStartInMins:h}=r.A.getEventStatus(e);return c.name===a.A.LIVE.name?(0,o.jsx)(i.az,{maxWidth:l,width:"fit-content",borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"tomato",color:c.color,children:(0,o.jsx)(i.BJ,{direction:"row",justifyContent:"flex-start",width:"fit-content",alignContent:"center",paddingLeft:"2px",paddingRight:"2px",children:(0,o.jsx)(i.EY,{fontSize:s,fontWeight:"bold",color:"white",children:d})})}):(0,o.jsx)(i.az,{maxWidth:l,borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"white",color:c.color,children:(0,o.jsx)(i.BJ,{direction:"row",justifyContent:"flex-start",width:"fit-content",alignContent:"center",children:(0,o.jsx)(i.EY,{fontSize:s,fontWeight:"medium",children:d})})})}},5388:function(t,n){n.A={LIVE:{name:"LIVE",color:"gray.600"},UPCOMING:{name:"UPCOMING",color:"gray.600"},DEFAULT:{name:"LIVE EVENT",color:"gray.600"},COMPLETED:{name:"ENDED",color:"gray.600"}}},7239:function(t,n,e){var i=e(5388);n.A=class{static getEventStatus(t){t.time_zone="GMT+5:30";var n=t.start_time+":00",e=t.end_time,r=t.scheduled_date,a=t.status,o=t.time_zone;if(a.toUpperCase()==i.A.LIVE.name)return{status:i.A.LIVE,bannerText:" "+i.A.LIVE.name+" ",timeToStartInMins:0};if(a.toUpperCase()==i.A.UPCOMING.name){var s=new Date(r+" "+n+" "+o),l=(new Date(r+" "+e+" "+o),function(t){var n=new Date,e=(t.getTime()-n.getTime())/1e3,r=e/60,a=r/60,o=a/24;return e<=0?{status:i.A.COMPLETED,bannerText:" "+i.A.COMPLETED.name+" ",timeToStartInMins:0}:e>=1&&e<=30?{status:i.A.UPCOMING,bannerText:"Starts in "+Math.round(e)+" sec ",timeToStartInMins:e/60}:r<60?{status:i.A.UPCOMING,bannerText:"Starts in "+Math.round(r)+" min ",timeToStartInMins:r}:a<24?{status:i.A.UPCOMING,bannerText:"Starts in "+Math.round(a)+" hr ",timeToStartInMins:60*a}:o<7?{status:i.A.UPCOMING,bannerText:" "+["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][t.getDay()]+" ",timeToStartInMins:60*o*24}:{status:i.A.UPCOMING,bannerText:"Upcoming",timeToStartInMins:2880}}(s));return{status:l.status,bannerText:l.bannerText,timeToStartInMins:l.timeToStartInMins}}return console.error("invalid status for event :: id : "+t.event_id+", status : "+t.status),{status:i.A.DEFAULT,bannerText:"live event",timeToStartInMins:2880}}}},8538:function(t,n,e){e.d(n,{v:function(){return r}});var i=e(664);function r(t,n){const e=(0,i.Xd)("whatmoreShopId");return"undefined"==typeof t||"undefined"==t||null==t?"":"6873415750"==e||"72442478904"==e||"58562281529"==e?t:"66168324332"==e&&"prod-tile"!=n?null===t||void 0===t||null===(r=t.split("- "))||void 0===r?void 0:r[0]:t.replace(/\w\S*/g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()}));var r}},8726:function(t,n,e){var i=e(5709);n.A=void 0;var r=i(e(9526)),a=e(4414),o=(0,r.default)((0,a.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");n.A=o},3997:function(){}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[423],{517:function(e,t,o){o.r(t);var r=o(9950),a=o(9769),i=o(9108),l=(o(3997),o(9130),o(4669),o(9733),o(4365),o(7229),o(6042),o(2682)),n=o(4910),s=o(7300),c=o(664),d=o(7509),h=o(4737),m=o(2410),p=o(9611),u=o(8385),g=o(932),v=o(6641),w=o(5901),f=o(6649),x=o(1348),y=o(5873),C=o(4414);const k=(0,n.A)({key:"whatmore-css-cv"});t.default=function(e){const t=e.events,[o]=(0,s.A)(),[n,A]=(0,g.A)(),[S,j]=(0,r.useState)(Array(t.length).fill(0).map((()=>Math.random()))),M=(0,c.Xd)("whatmoreVideoTileSize"),R=(0,c.Xd)("whatmoreVideoTileSizePortrait"),b="portrait"===o?R:M,B="portrait"==o?0:(0,c.Xd)("whatmoreLandscapePadding"),E=(0,c.Xd)("whatmoreCollectionsTilesSpacing"),{whatmoreIsCollectionsTemplate:P}=(0,r.useContext)(h.B),T=(0,c.Xd)("whatmoreShopId"),{whatmoreRootId:V}=(0,r.useContext)(h.B),X=e.onClick;function L(e){X(e)}(0,r.useEffect)((()=>{(0,v.Fk)("Video shopping powered by Whatmore!")}),[]),delete i.Ay.styles.global;var I=[];for(let r=0,a=!1;r<t.length;)a&&r!=t.length-1&&S[r]>.2?(I.push((0,C.jsx)(p.A,{mode:o,event1:t[r],event2:t[r+1],onClick:()=>{L(t[r-1])}},"collections-tile-"+r)),r+=2,a=!a):(I.push((0,C.jsx)(m.A,{mode:o,event:t[r],onClick:()=>{L(t[r-1])},borderRadius:"10%",removeBorders:!1},"collections-tile-"+r)),r+=1,a=!a);(0,r.useEffect)((()=>{y.Sn.forEach((e=>{var t;if(!(null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-collections-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-collections-a"]')))return;e&&(e.style.minHeight="0px")}))}),[]);const[q,z,F]=(0,f.A)({triggerOnce:!1});return(0,C.jsx)(l.C,{value:k,children:(0,C.jsx)("div",{className:P?"whatmore-collection-events":"whatmore-carousel-events",children:(0,C.jsx)(a.s,{theme:i.Ay,cssVarsRoot:V,resetCSS:!1,children:(0,C.jsxs)(d.h.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:[(0,C.jsx)("div",{ref:q,style:{marginLeft:B+"px",marginRight:B+"px"},children:(0,C.jsx)(u.c,{renderElement:e=>(0,C.jsx)(C.Fragment,{children:e.eventData}),dataList:I,spacing:E,defaultHeight:n*b*.01+"px",defaultWidth:A*b*.01+"px",retainAlreadyRenderedElements:!0})}),(0,x.wQ2)(T)&&P&&!z&&-1==e.index&&(0,C.jsx)(w.A,{event:t[0],inVideoClick:L,closeClick:t=>{t.stopPropagation(),e.setScreen(-2)}})]})})})})}}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[412],{7646:function(e,t,r){r.r(t);var a=r(9950),o=r(9769),l=r(9108),i=(r(3997),r(9130),r(4669),r(9733),r(4365),r(7229),r(6042),r(2682)),n=r(4910),s=r(7300),c=r(664),d=r(7509),h=r(4737),m=r(5873),p=r(2410),u=r(9611),w=r(8385),g=r(932),v=r(6641),f=r(1348),x=r(5901),y=r(6649),C=r(4414);const S=(0,n.A)({key:"whatmore-css-cv"});t.default=function(e){const t=e.events,[r]=(0,s.A)(),[n,k]=(0,a.useState)(Array(t.length).fill(0).map((()=>Math.random()))),[A,j]=(0,g.A)(),b=(0,c.Xd)("whatmoreVideoTileSize"),B=(0,c.Xd)("whatmoreVideoTileSizePortrait"),M="portrait"===r?B:b,R="portrait"==r?0:(0,c.Xd)("whatmoreLandscapePadding"),E=(0,c.Xd)("whatmoreCollectionsTilesSpacing"),{whatmoreIsCollectionsTemplate:P}=(0,a.useContext)(h.B),T=(0,c.Xd)("whatmoreShopId"),{whatmoreRootId:V}=(0,a.useContext)(h.B),X=e.onClick,[q,L,I]=(0,y.A)({triggerOnce:!1});function z(e){X(e)}delete l.Ay.styles.global;var F=[];for(let a=0,o=!1;a<t.length;)o&&a!=t.length-1&&n[a]>.2?(F.push((0,C.jsx)(u.A,{event1:t[a],event2:t[a+1],onClick:()=>{z(t[a-1])},removeBorders:!0},"collections-tile-"+a)),a+=2,o=!o):(F.push((0,C.jsx)(p.A,{mode:r,event:t[a],onClick:()=>{z(t[a-1])},removeBorders:!0,borderRadius:"0%"},"collections-tile-"+a)),a+=1,o=!o);return(0,a.useEffect)((()=>{(0,v.Fk)("Video shopping powered by Whatmore!")}),[]),(0,a.useEffect)((()=>{m.Sn.forEach((e=>{var t;if(!(null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-collections-b"]')||e.querySelector('.whatmore-template-type[data-wh="template-d"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-collections-b"]')||e.querySelector('.whatmore-template-type[data="template-d"]')))return;e&&(e.style.minHeight="0px")}))}),[]),(0,C.jsx)(i.C,{value:S,children:(0,C.jsx)("div",{className:P?"whatmore-collection-events":"whatmore-carousel-events",children:(0,C.jsx)(o.s,{theme:l.Ay,cssVarsRoot:V,resetCSS:!1,children:(0,C.jsxs)(d.h.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:[(0,C.jsx)("div",{ref:q,style:{marginLeft:R+"px",marginRight:R+"px"},children:(0,C.jsx)(w.c,{renderElement:e=>(0,C.jsx)(C.Fragment,{children:e.eventData}),dataList:F,spacing:E,defaultHeight:A*M*.01+"px",defaultWidth:j*M*.01+"px",retainAlreadyRenderedElements:!0})}),(0,f.wQ2)(T)&&P&&!L&&-1==e.index&&(0,C.jsx)(x.A,{event:t[0],inVideoClick:z,closeClick:t=>{t.stopPropagation(),e.setScreen(-2)}})]})})})})}}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[221],{5451:function(e,t,i){i.r(t);var o=i(9950),n=i(9769),r=i(9108),l=i(5873),a=(i(3997),i(9130),i(4669),i(9733),i(4365),i(7229),i(6042),i(1131)),s=i(2682),d=i(4910),p=i(7300),c=i(664),h=i(7509),m=i(4737),x=i(2410),u=i(932),f=i(8385),y=i(6641),v=i(1348),w=i(5901),g=i(6649),b=i(4414);const j=(0,d.A)({key:"whatmore-css-cv"});t.default=function(e){var t;const[i]=(0,p.A)(),[d,P]=(0,u.A)(),S=(0,c.Xd)("whatmoreShopId"),A=(0,c.Xd)("whatmoreVideoTileSize"),z=(0,c.Xd)("whatmoreVideoTileSizePortrait"),E="portrait"===i?z:A,k="portrait"==i?0:(0,c.Xd)("whatmoreLandscapePadding"),C=(0,c.Xd)("whatmoreCollectionsTilesSpacing"),[L]=(0,c.Xd)("whatmorePrimaryColor"),{whatmoreRootId:R}=(0,o.useContext)(m.B),{whatmoreIsCollectionsTemplate:N}=(0,o.useContext)(m.B),F=e.events,X=e.onClick,V=(0,c.Xd)("whatmoreTitleFont"),T="portrait"==i?(0,c.Xd)("whatmoreTitleFontSizePortrait"):(0,c.Xd)("whatmoreTitleFontSize"),I=null!==(t=(0,v.sa6)(S))&&void 0!==t?t:V,Q=(0,c.Xd)("whatmorePrimaryFont");function D(e){X(e)}delete r.Ay.styles.global;const M=.055*P;var B=[];for(let o=0;o<F.length;){const e=F[o],t="STR1EXZ7ZRD"===S;B.push((0,b.jsxs)("div",{style:{position:"relative"},children:[(0,b.jsx)(x.A,{mode:i,event:e,onClick:()=>{D(F[o-1])},removeBorders:!0,borderRadius:"5%",fontSize:M},"collections-tile-"+o),t&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("p",{ref:e=>{e&&(e.style.setProperty("position","absolute","important"),e.style.setProperty("bottom","4%","important"),e.style.setProperty("left","50%","important"),e.style.setProperty("transform","translateX(-50%)","important"),e.style.setProperty("color","white","important"),e.style.setProperty("padding","0.5rem 0rem 0rem 0.5rem","important"),e.style.setProperty("font-size",.9*M+"px","important"),e.style.setProperty("font-weight","600","important"),e.style.setProperty("width","90%","important"),e.style.setProperty("max-width","100%","important"),e.style.setProperty("word-wrap","break-word","important"),e.style.setProperty("text-shadow","2px 2px 4px rgba(0, 0, 0, 0.5)","important"),e.style.setProperty("font-family",Q,"important"),e.style.setProperty("-webkit-line-clamp",3,"important"),e.style.setProperty("line-clamp",3,"important"),e.style.setProperty("-webkit-box-orient","vertical","important"),e.style.setProperty("display","-webkit-box","important"),e.style.setProperty("overflow","hidden","important"),e.style.setProperty("text-overflow","ellipsis","important"))},children:null===e||void 0===e?void 0:e.title}),(0,b.jsx)("div",{style:{position:"absolute",top:"10px",right:"10px",zIndex:2},children:(0,b.jsx)(a.A,{sx:{color:"white",fontSize:"1.3rem",filter:"drop-shadow(0 0 5px black)"}})})]})]})),o++}(0,o.useEffect)((()=>{(0,y.Fk)("Video shopping powered by Whatmore!")}),[]),(0,o.useEffect)((()=>{l.Sn.forEach((e=>{var t;const i=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-collections-c"]')||e.querySelector('.whatmore-template-type[data-wh="template-e"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-collections-c"]')||e.querySelector('.whatmore-template-type[data="template-e"]');if(!i)return;i&&e&&(e.style.minHeight="0px")}))}),[]);const[H,W,O]=(0,g.A)({triggerOnce:!1});return(0,b.jsx)(s.C,{value:j,children:(0,b.jsx)("div",{className:N?"whatmore-collection-events":"whatmore-carousel-events",children:(0,b.jsx)(n.s,{theme:r.Ay,cssVarsRoot:R,resetCSS:!1,children:(0,b.jsxs)(h.h.Provider,{value:{tileTopMargin:0,tileBottomMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:[e.heading.trim().length>0&&!N&&(0,v.DLl)(S)?(0,b.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,b.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",I,"important"),e.style.setProperty("font-size",T+"px","important"))},style:{color:L,backgroundClip:"text",textAlign:"center",fontWeight:(0,v.Odx)(S),lineHeight:(0,v.L0y)(S),letterSpacing:(0,v.l3V)(S)},children:e.heading})}):(0,b.jsx)(b.Fragment,{}),(0,b.jsx)("div",{ref:H,style:{marginLeft:k+"px",marginRight:k+"px"},children:(0,b.jsx)(f.c,{renderElement:e=>(0,b.jsx)(b.Fragment,{children:e.eventData}),dataList:B,spacing:C,defaultHeight:d*E*.01+"px",defaultWidth:P*E*.01+"px",retainAlreadyRenderedElements:!0})}),(0,v.wQ2)(S)&&N&&!W&&-1==e.index&&(0,b.jsx)(w.A,{event:F[0],inVideoClick:D,closeClick:t=>{t.stopPropagation(),e.setScreen(-2)}})]})})})})}},7509:function(e,t,i){i.d(t,{h:function(){return o}});const o=(0,i(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},2410:function(e,t,i){var o=i(9950),n=i(1348),r=i(664),l=(i(6125),i(4365),i(6614),i(9879)),a=(i(7509),i(932)),s=i(4737),d=i(4414);t.A=function(e){var t;const[i,p]=(0,a.A)(),[c]=(0,r.QN)("whatmoreSecondaryColor"),[h]=(0,r.QN)("whatmoreShopId"),m="STR1EXZ7ZRD"===h?60:(0,r.Xd)("whatmoreVideoTileSize"),x="STR1EXZ7ZRD"===h?60:(0,r.Xd)("whatmoreVideoTileSizePortrait"),u="portrait"===e.mode?x:m,f=(0,r.QN)("whatmorePrimaryFont"),{whatmoreWidgetSourceDetails:y}=(0,o.useContext)(s.B),[v,w]=(0,o.useState)(!1),g=(0,n.ivI)(h),b=y.landingLocationType,j=e.event,P=e.onClick,S=e.removeBorders,A=i*u*.01,z=p*u*.01,E=null!==(t=e.borderRadius)&&void 0!==t?t:"0%";return(0,d.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,height:"fit-content",width:(0,n._hU)(h)?"auto":z+"px",marginLeft:S?"2px":"5px",marginRight:S?"2px":(0,n.FZM)(h)+"px",marginTop:S?"2px":"5px",marginBottom:S?"2px":"5px",cursor:"pointer"},onClick:()=>{w(!0),P(j)},className:[v?"whatmore-scale-on-tap":""].join(" "),children:[(0,d.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,height:"fit-content",width:"fit-content",borderRadius:E,overflow:"hidden",boxShadow:S?"":"0px 1px 1px 0px "+c+"50, 0px -1px 1px 0px "+g+"50, 1px 0px 1px 0px "+c+"50, -1px 0px 1px 0px "+g+"80, 1px -1px 1px 0px "+c+"80, -1px 1px 1px 0px "+g+"DA, 1px 1px 1px 0px "+c+"DA, -1px -1px 1px 0px "+g+"DA"},children:(0,d.jsx)("div",{className:"whatmore-collection-event-tile",style:{flexShrink:0,objectFit:"cover",height:A+"px",width:"40273707171"==h?"auto":z+"px",borderRadius:E,backgroundColor:"gray",overflow:"hidden"},children:(0,d.jsx)(l.A,{height:"100%",width:"100%",url:j.thumbnail_image,isPlaying:!0,event:j})})}),b.startsWith("product")&&(0,d.jsx)("div",{style:{display:"flex",justifyContent:"center",padding:"8px 4px 0 4px"},children:(0,d.jsx)("p",{ref:t=>{var i;t&&(t.style.setProperty("font-family",f,"important"),t.style.setProperty("font-size",(null!==(i=e.fontSize)&&void 0!==i?i:10)+"px","important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},children:null===j||void 0===j?void 0:j.title})})]})}},8385:function(e,t,i){i.d(t,{c:function(){return a}});var o=i(6649),n=i(9950),r=(i(4365),i(4414));function l(e){const[t,i,n]=(0,o.A)({triggerOnce:e.retainAlreadyRenderedElements});return(0,r.jsx)("div",{ref:t,children:i?e.renderElement({eventData:null===e||void 0===e?void 0:e.data}):(0,r.jsx)("div",{style:{minWidth:e.defaultHeight,minHeight:e.defaultWidth}})})}function a(e){var t,i;return(0,n.useEffect)((()=>{const e=document.querySelector(".whatmore-carousel-horizontal-flex");let t,i=!1;function o(e){e.touches&&(null===e||void 0===e?void 0:e.touches.length)>0?(i=!0,t=e.touches[0].clientX):(i=!0,t=e.clientX)}function n(o){if(!i)return;const n=o.touches?o.touches[0].clientX:o.clientX;e.style.pointerEvents="none";const r=2*(t-n);e.scrollLeft+=r,t=n}function r(t){e.style.pointerEvents="auto",i=!1}return e&&("ontouchstart"in window&&(e.addEventListener("touchstart",o),e.addEventListener("touchmove",n),e.addEventListener("touchend",r)),e.addEventListener("mousedown",o),document.addEventListener("mousemove",n),document.addEventListener("mouseup",r)),()=>{e&&("ontouchstart"in window&&(e.removeEventListener("touchstart",o),e.removeEventListener("touchmove",n),e.removeEventListener("touchend",r)),e.removeEventListener("mousedown",o),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r))}}),[]),(0,r.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",height:"fit-content",width:"100%",gap:null!==(t=e.spacing)&&void 0!==t?t:3},className:"whatmore-carousel-horizontal-flex",children:null===e||void 0===e||null===(i=e.dataList)||void 0===i?void 0:i.map(((t,i)=>(0,r.jsx)(l,{renderElement:e.renderElement,data:t,defaultHeight:e.defaultHeight,defaultWidth:e.defaultWidth,retainAlreadyRenderedElements:e.retainAlreadyRenderedElements},"key-"+i)))})}},5901:function(e,t,i){i.d(t,{A:function(){return y}});var o=i(2713),n=i(9950),r=i(9879),l=i(22),a=i(664),s=i(932);var d=function(e){const[t,i,o,n,r]=(0,s.A)(),[d]=(0,a.QN)("whatmoreEmbedAppVideoPlayerSizePortrait"),[p]=(0,a.QN)("whatmoreEmbedAppVideoPlayerSizeLandscape"),c=r[l.dl]===l.nN?p/100:d/100*1.2;return[t*c,i*c,r]},p=i(5727),c=i(1628),h=i.n(c),m=i(2209),x=i(6702),u=(i(9733),i(4365),i(1348)),f=i(4414);var y=function(e){var t;const i=n.useRef(null);var[s,c,y]=d();const v=(0,a.Xd)("whatmoreUITheme"),[w]=(0,a.QN)("whatmoreEmbedAppVideoTitle"),[g]=(0,a.QN)("whatmoreEmbedAppPositionPortrait"),[b]=(0,a.QN)("whatmoreEmbedAppHorizontalPaddingPortrait"),[j]=(0,a.QN)("whatmoreEmbedAppVerticalPaddingPortrait"),[P]=(0,a.QN)("whatmoreEmbedAppPositionLandscape"),[S]=(0,a.QN)("whatmoreEmbedAppHorizontalPaddingLandscape"),[A]=(0,a.QN)("whatmoreEmbedAppVerticalPaddingLandscape"),z=(0,a.Xd)("whatmoreShopId");var E=g,k=b,C=j;y[l.dl]===l.nN&&(E=P,k=S,C=A);const[L,R]=(0,n.useState)(["initial",window.pageYOffset]),[N,F]=(0,n.useState)(!1),X=null!==(t=e.isSpotlight)&&void 0!==t&&t,V=y[l.dl]===l.nN?.7*(0,u.O86)(z):(0,u.O86)(z),T=X?V:1;s*=T,c*=T;const I=X?(0,u.LrK)(z):E,Q=X?(0,u._2D)(z):(0,u.GSq)(z),[D,M]=(0,n.useState)(!X&&(0,u.n8Q)(z));function B(e,t){R(e),e[1]<=100?F(!1):t!=N&&(F(t),M(!1))}(0,n.useEffect)((()=>{let e=window.pageYOffset,t=!1;const i=()=>{const i=window.pageYOffset;Math.abs(i-e)<100||(B([i>e?"scrolled-down":"scrolled-up",i],!0),e=i>0?i:0),t=!1},o=()=>{t||(window.requestAnimationFrame(i),t=!0)};return window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)}),[L]),(0,o.jz)({ref:i,handler:()=>{B(["scrolled-up",L[1]],!0)}});const H=e.event,W=e.inVideoClick,O=e.closeClick,q=.3*c,Z=.6*c,_=.1*c,U=.1*(.5*c),Y="round"==v?"10px":"0px",G=(0,u.GvQ)(z);var K=!1,J=0,$=0;function ee(e){K=e}return(0,f.jsx)("div",{children:D&&!Q?(0,f.jsx)(f.Fragment,{}):N&&Q?(0,f.jsx)("div",{style:"left"===I?{left:"1px",bottom:X?(0,u.pUQ)(z)+"px":C+"px",position:"fixed",zIndex:G}:{right:"5px",bottom:X?(0,u.pUQ)(z)+"px":C+"px",position:"fixed",zIndex:G},children:(0,f.jsxs)("div",{onClick:()=>{B(["initial",L[1]],!1)},style:{margin:"1px",width:c+"px",height:s+"px"},className:"left"===I?"whatmore-ultraminimized-video-view-left":"whatmore-ultraminimized-video-view-right",children:[(0,f.jsx)("div",{style:{overflow:"hidden"},children:(0,f.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:9/16},children:(0,f.jsx)(r.A,{url:H.thumbnail_image,isPlaying:!1,event:H})})}),(0,f.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,f.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",height:"100%"},children:[(0,f.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content"},children:(0,f.jsx)("div",{className:"whatmore-ultraminimized-content-scale-out",children:(0,f.jsx)(m.A,{sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:q+"px"},style:{position:"relative",zIndex:1,left:U+"px",bottom:U+"px"},onClick:O})})}),(0,f.jsx)("div",{style:{height:"100%",display:"flex",flexFlow:"column nowrap",alignItems:"center",justifyContent:"center"},children:(0,f.jsx)(x.A,{sx:{color:"white",fontSize:2*q+"px",filter:"drop-shadow(0 0 2px black);"}})})]})})]})}):(0,f.jsx)(h(),{nodeRef:i,cancel:".activate-button,.close-btn",defaultClassName:"whatmore-react-draggable",defaultClassNameDragging:"whatmore-react-draggable-dragging",defaultClassNameDragged:"whatmore-react-draggable-dragged",bounds:"html",onStart:(e,t)=>{var i,o;i=t.x,o=t.y,J=i,$=o},onDrag:(e,t)=>{ee(!0)},onStop:(e,t)=>{K&&(Math.abs(t.x-J)>5||Math.abs(t.y-$)>5)?ee(!1):W(H)},children:(0,f.jsx)("div",{ref:i,style:"left"===I?{left:X?(0,u.D2A)(z)+"px":k+"px",bottom:X?(0,u.pUQ)(z)+"px":C+"px",position:"fixed",zIndex:G}:{right:X?(0,u.D2A)(z)+"px":k+"px",bottom:X?(0,u.pUQ)(z)+"px":C+"px",position:"fixed",zIndex:G},children:(0,f.jsxs)("div",{style:Object.assign({},{boxSizing:"border-box",margin:"1px",width:e.isSpotlight&&"60122562760"==z?s+"px":c+"px",height:e.isSpotlight&&"60122562760"==z?c+"px":s+"px"}),className:"left"===I?"whatmore-minimized-video-view-left":"whatmore-minimized-video-view-right",children:[(0,f.jsx)("div",{style:{overflow:"hidden",position:"relative"},children:(0,f.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:e.isSpotlight&&"60122562760"==z?16/9:9/16},children:(0,f.jsx)(r.A,{url:H.thumbnail_image,isMuted:!0,isPlaying:!0,event:H})})}),(0,f.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,f.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",height:"100%"},children:[(0,f.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content"},children:(0,f.jsx)(m.A,{className:"close-btn",sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:q+"px"},onClick:O,style:{position:"relative",zIndex:1,left:_+"px",bottom:_+"px"}})}),(0,f.jsx)("div",{style:{marginLeft:"auto",marginRight:"auto"},children:(0,f.jsx)(p.A,{sx:{color:(0,u.KFN)(z),fontSize:Z+"px",filter:"drop-shadow(0 0 2px black);"}})}),(0,f.jsx)("div",{style:{paddingLeft:"2px",paddingRight:"2px",borderBottomLeftRadius:Y,borderBottomRightRadius:Y,backgroundImage:w?"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0.6))":""},children:(0,f.jsxs)("p",{style:{textAlign:"center",color:"white",fontFamily:"Sans-serif",fontWeight:"semi-bold",fontSize:.4*q+"px",margin:0,padding:0,lineHeight:"110%"},children:["\xa0",w]})})]})})]})})})})}},1131:function(e,t,i){var o=i(5709);t.A=void 0;var n=o(i(9526)),r=i(4414),l=(0,n.default)([(0,r.jsx)("path",{d:"M18 20H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z",opacity:".3"},"0"),(0,r.jsx)("path",{d:"M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2zm6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z"},"1")],"ShoppingBagTwoTone");t.A=l},6125:function(){},7229:function(){},4669:function(){},6042:function(){},3997:function(){},9130:function(){},6614:function(){}}]);
|