whatmore-react-assets 1.0.1425 → 1.0.1427

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. package/package.json +1 -1
  2. package/static/js/2.a6e5564f.chunk.js +1 -0
  3. package/static/js/286.4d801177.chunk.js +1 -0
  4. package/static/js/296.25439eea.chunk.js +1 -0
  5. package/static/js/311.96c6c80a.chunk.js +1 -0
  6. package/static/js/378.bce12c1d.chunk.js +1 -0
  7. package/static/js/461.f3e9debc.chunk.js +1 -0
  8. package/static/js/497.5bfb4d06.chunk.js +2 -0
  9. package/static/js/620.e23ff8de.chunk.js +1 -0
  10. package/static/js/650.7a189533.chunk.js +117 -0
  11. package/static/js/669.68b5c416.chunk.js +2 -0
  12. package/static/js/682.d59c82bd.chunk.js +1 -0
  13. package/static/js/732.252d2132.chunk.js +2 -0
  14. package/static/js/756.7523a583.chunk.js +2 -0
  15. package/static/js/859.7a919acd.chunk.js +1 -0
  16. package/static/js/920.298a46d6.chunk.js +1 -0
  17. package/static/js/app-main.70f7a568.chunk.js +1 -0
  18. package/static/js/atc-with-form.43621d03.chunk.js +1 -0
  19. package/static/js/banner-template-a.32024e15.chunk.js +1 -0
  20. package/static/js/carousel-template-a.1173f55c.chunk.js +1 -0
  21. package/static/js/carousel-template-b.97c5133d.chunk.js +1 -0
  22. package/static/js/carousel-template-f.52aade62.chunk.js +1 -0
  23. package/static/js/carousel-template-feed.cc5f97a1.chunk.js +15 -0
  24. package/static/js/carousel-template-g.6375c2a4.chunk.js +1 -0
  25. package/static/js/carousel-template-h.264e373e.chunk.js +1 -0
  26. package/static/js/carousel-template-view-more.f32e33c2.chunk.js +45 -0
  27. package/static/js/collections-template-a.daea1564.chunk.js +1 -0
  28. package/static/js/collections-template-b.22c9d294.chunk.js +1 -0
  29. package/static/js/collections-template-c.ba832b97.chunk.js +1 -0
  30. package/static/js/collections-template-stories.57f85909.chunk.js +1 -0
  31. package/static/js/event-click-main.0c383ac3.chunk.js +1 -0
  32. package/static/js/event-click-product.21e6f6d4.chunk.js +1 -0
  33. package/static/js/event-click-spotlight.fab8b156.chunk.js +1 -0
  34. package/static/js/homepage-carousel-view.3b36049a.chunk.js +1 -0
  35. package/static/js/{location-details.c0431f85.chunk.js → location-details.b14d3704.chunk.js} +1 -1
  36. package/static/js/product-page-view.3aa9a4ce.chunk.js +1 -0
  37. package/static/js/recommended-carousel.22249e9e.chunk.js +2 -0
  38. package/static/js/spotlight-view.864358a9.chunk.js +1 -0
  39. package/static/js/stories-template-a.a97215e7.chunk.js +1 -0
  40. package/whatmore.js +2 -2
  41. package/static/js/13.b216da25.chunk.js +0 -1
  42. package/static/js/154.77527b19.chunk.js +0 -2
  43. package/static/js/210.d4c6f9a4.chunk.js +0 -1
  44. package/static/js/219.a0c7f0d6.chunk.js +0 -1
  45. package/static/js/240.9c510ae9.chunk.js +0 -2
  46. package/static/js/302.41f7dffe.chunk.js +0 -1
  47. package/static/js/348.2f3932eb.chunk.js +0 -117
  48. package/static/js/423.4d5ac85a.chunk.js +0 -1
  49. package/static/js/561.95fd0242.chunk.js +0 -1
  50. package/static/js/577.646fa55d.chunk.js +0 -1
  51. package/static/js/731.4a524607.chunk.js +0 -1
  52. package/static/js/733.b0e46e99.chunk.js +0 -1
  53. package/static/js/751.4f97aaf7.chunk.js +0 -1
  54. package/static/js/819.c2077f1e.chunk.js +0 -2
  55. package/static/js/824.be000355.chunk.js +0 -2
  56. package/static/js/app-main.e481a23d.chunk.js +0 -1
  57. package/static/js/atc-with-form.c6e794f2.chunk.js +0 -1
  58. package/static/js/banner-template-a.87707e64.chunk.js +0 -1
  59. package/static/js/carousel-template-a.9bab2855.chunk.js +0 -1
  60. package/static/js/carousel-template-b.d52ffc0b.chunk.js +0 -1
  61. package/static/js/carousel-template-f.bd001127.chunk.js +0 -1
  62. package/static/js/carousel-template-feed.ad73c3ed.chunk.js +0 -15
  63. package/static/js/carousel-template-g.d874fad3.chunk.js +0 -1
  64. package/static/js/carousel-template-h.eada0967.chunk.js +0 -1
  65. package/static/js/carousel-template-view-more.4b1e8a28.chunk.js +0 -45
  66. package/static/js/collections-template-a.d79da3e9.chunk.js +0 -1
  67. package/static/js/collections-template-b.d191151d.chunk.js +0 -1
  68. package/static/js/collections-template-c.6aadef97.chunk.js +0 -1
  69. package/static/js/collections-template-stories.9696a048.chunk.js +0 -1
  70. package/static/js/event-click-main.e9e26fc2.chunk.js +0 -1
  71. package/static/js/event-click-product.60b5a8fa.chunk.js +0 -1
  72. package/static/js/event-click-spotlight.929fb915.chunk.js +0 -1
  73. package/static/js/homepage-carousel-view.bdf39eac.chunk.js +0 -1
  74. package/static/js/product-page-view.1baa0964.chunk.js +0 -1
  75. package/static/js/recommended-carousel.9a69fdec.chunk.js +0 -2
  76. package/static/js/spotlight-view.0d1ff2a1.chunk.js +0 -1
  77. package/static/js/stories-template-a.69cd6742.chunk.js +0 -1
  78. /package/static/css/{926.a9bfc3e2.chunk.css → 139.a9bfc3e2.chunk.css} +0 -0
@@ -0,0 +1 @@
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(732),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),_=t.onClick,z=u.products.length,{whatmoreIsPreviewMode:T}=(0,o.useContext)(g.B);if(0==z)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 N=T,B=.3*a,L=B+"px",W=B+"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:_,children:[(0,M.jsx)("div",{style:{width:L,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:L,height:L,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:_,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)||N&&"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,{})]})},_=i(7802);function z(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,_.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 T=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,_.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)(z,{event:g,isOnFocus:j,PRODUCT_BOX_HEIGHT:I,PRODUCT_BOX_HEIGHT_IN_PX:F,PRODUCT_BOX_MARGIN:A,onClick:v})]})},N=i(6157),B=i(1351),L=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,B.UM)({userInteractionType:N.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)(T,{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,B.UM)({userInteractionType:N.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)(T,{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,L.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(4994);e.A=void 0;var n=o(i(9526)),r=i(4414);e.A=(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")},8454:function(t,e,i){var o=i(4994);e.A=void 0;var n=o(i(9526)),r=i(4414);e.A=(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.03zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarHalf")},3781:function(t,e,i){var o=i(4994);e.A=void 0;var n=o(i(9526)),r=i(4414);e.A=(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.03zM12 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.28z"}),"StarOutline")},2375:function(t,e,i){var o=i(4994);e.A=void 0;var n=o(i(9526)),r=i(4414);e.A=(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.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility")},7229:function(){},4669:function(){},6042:function(){},9130:function(){}}]);
@@ -0,0 +1 @@
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(){}}]);
@@ -0,0 +1,15 @@
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}}}}}]);
@@ -0,0 +1 @@
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)})}),(0,s.gZ6)(f)&&(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(4994);t.A=void 0;var n=o(i(9526)),r=i(4414);t.A=(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-1V8h2z",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-2m-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2m6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2z"},"1")],"ShoppingBagTwoTone")},4826:function(){},7229:function(){},4669:function(){},6042:function(){},3997:function(){},9130:function(){}}]);
@@ -0,0 +1 @@
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(){}}]);
@@ -0,0 +1,45 @@
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(4994);n.A=void 0;var r=i(e(9526)),a=e(4414);n.A=(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")},3997:function(){}}]);
@@ -0,0 +1 @@
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)}})]})})})})}}}]);
@@ -0,0 +1 @@
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)}})]})})})})}}}]);
@@ -0,0 +1 @@
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(4994);t.A=void 0;var n=o(i(9526)),r=i(4414);t.A=(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-1V8h2z",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-2m-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2m6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2z"},"1")],"ShoppingBagTwoTone")},6125:function(){},7229:function(){},4669:function(){},6042:function(){},3997:function(){},9130:function(){},6614:function(){}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[1],{4596:function(e,t,i){i.r(t),i.d(t,{default:function(){return S}});var n=i(9950),o=i(9769),r=i(9108),l=i(5873),a=(i(3997),i(9130),i(4669),i(9733),i(4365),i(7229),i(6042),i(2682)),d=i(4910),s=i(7300),c=i(664),h=i(7509),p=i(4737),x=i(1348),m=(i(6125),i(6614),i(9879)),u=i(932),f=i(4414);var v=function(e){var t;const[i,o,r,l,a]=(0,u.A)(),d=(0,c.Xd)("whatmoreSecondaryColor"),s=(0,c.Xd)("whatmorePrimaryFont"),h=(0,c.Xd)("whatmoreShopId"),p=(0,c.Xd)("whatmoreVideoTileSize"),v=(0,c.Xd)("whatmoreVideoTileSizePortrait"),w="portrait"===e.mode?v:p,[g,y]=(0,n.useState)(!1),j=(0,x.ivI)(h),b=e.event,S=e.onClick,A=e.removeBorders,E=o*w*.01,z=(0,x.esc)(h);return(0,f.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",alignItems:"center",flexShrink:0,marginRight:A?"2px":(0,x.FZM)(h)+"px",marginTop:A?"2px":"5px",marginBottom:A?"2px":"5px",cursor:"pointer"},onClick:()=>{y(!0),S(b)},className:[g?"whatmore-scale-on-tap":""].join(" "),children:[(0,f.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,borderRadius:"50%",overflow:"hidden",boxShadow:A?"":"0px 1px 1px 0px "+d+"50, 0px -1px 1px 0px "+j+"50, 1px 0px 1px 0px "+d+"50, -1px 0px 1px 0px "+j+"80, 1px -1px 1px 0px "+d+"80, -1px 1px 1px 0px "+j+"DA, 1px 1px 1px 0px "+d+"DA, -1px -1px 1px 0px "+j+"DA"},children:(0,f.jsx)(f.Fragment,{children:(0,f.jsx)("div",{style:{flexShrink:0,objectFit:"cover",height:E*z+"px",width:E*z+"px",borderRadius:"50%",backgroundColor:d,overflow:"hidden",border:"3px solid white"},children:(0,f.jsx)(m.A,{height:"100%",width:"100%",url:b.thumbnail_image,isPlaying:!0,event:b})})})}),(0,f.jsx)("div",{style:{fontFamily:s,paddingTop:"10px",fontSize:null!==(t=e.fontSize)&&void 0!==t?t:10},children:(0,f.jsx)("p",{children:b.title})})]})},w=i(8385),g=i(6641),y=i(5901),j=i(6649);const b=(0,d.A)({key:"whatmore-css-cv"});var S=function(e){const[t]=(0,s.A)(),[i,d]=(0,u.A)(),m=(0,c.Xd)("whatmoreVideoTileSize"),S=(0,c.Xd)("whatmoreVideoTileSizePortrait"),A="portrait"===t?S:m,E="portrait"==t?0:(0,c.Xd)("whatmoreLandscapePadding"),z=(0,c.Xd)("whatmoreCollectionsTilesSpacing"),C=(0,c.Xd)("whatmoreShopId"),{whatmoreRootId:L}=(0,n.useContext)(p.B),k=e.events,N=e.onClick,{whatmoreIsCollectionsTemplate:P}=(0,n.useContext)(p.B);function R(e){N(e)}const[F,I,Q]=(0,j.A)({triggerOnce:!1});delete r.Ay.styles.global;const X=.055*d;var M=[];for(let n=0;n<k.length;)M.push((0,f.jsx)(v,{mode:t,event:k[n],onClick:()=>{R(k[n-1])},removeBorders:(0,x.U74)(C),fontSize:X},"collections-tile-"+n)),n+=1;return(0,n.useEffect)((()=>{(0,g.Fk)("Video shopping powered by Whatmore!")}),[]),(0,n.useEffect)((()=>{l.Sn.forEach((e=>{var t;const i=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-collections-stories"]')||e.querySelector('.whatmore-template-type[data-wh="template-stories"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-collections-stories"]')||e.querySelector('.whatmore-template-type[data="template-stories"]');if(!i)return;i&&e&&(e.style.minHeight="0px")}))}),[]),(0,f.jsx)(a.C,{value:b,children:(0,f.jsx)("div",{className:P?"whatmore-collection-events":"whatmore-carousel-events",children:(0,f.jsx)(o.s,{theme:r.Ay,cssVarsRoot:L,resetCSS:!1,children:(0,f.jsxs)(h.h.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:[(0,f.jsx)("div",{ref:F,style:{marginLeft:E+"px",marginRight:E+"px"},children:(0,f.jsx)(w.c,{renderElement:e=>(0,f.jsx)(f.Fragment,{children:e.eventData}),dataList:M,spacing:z,defaultHeight:i*A*.01+"px",defaultWidth:d*A*.01+"px",retainAlreadyRenderedElements:!0})}),(0,x.wQ2)(C)&&!I&&-1==e.index&&(0,f.jsx)(y.A,{event:k[0],inVideoClick:R,closeClick:t=>{t.stopPropagation(),e.setScreen(-2)}})]})})})})}},7509:function(e,t,i){i.d(t,{h:function(){return n}});const n=(0,i(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},8385:function(e,t,i){i.d(t,{c:function(){return a}});var n=i(6649),o=i(9950),r=(i(4365),i(4414));function l(e){const[t,i,o]=(0,n.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,o.useEffect)((()=>{const e=document.querySelector(".whatmore-carousel-horizontal-flex");let t,i=!1;function n(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 o(n){if(!i)return;const o=n.touches?n.touches[0].clientX:n.clientX;e.style.pointerEvents="none";const r=2*(t-o);e.scrollLeft+=r,t=o}function r(t){e.style.pointerEvents="auto",i=!1}return e&&("ontouchstart"in window&&(e.addEventListener("touchstart",n),e.addEventListener("touchmove",o),e.addEventListener("touchend",r)),e.addEventListener("mousedown",n),document.addEventListener("mousemove",o),document.addEventListener("mouseup",r)),()=>{e&&("ontouchstart"in window&&(e.removeEventListener("touchstart",n),e.removeEventListener("touchmove",o),e.removeEventListener("touchend",r)),e.removeEventListener("mousedown",n),document.removeEventListener("mousemove",o),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 n=i(2713),o=i(9950),r=i(9879),l=i(22),a=i(664),d=i(932);var s=function(e){const[t,i,n,o,r]=(0,d.A)(),[s]=(0,a.QN)("whatmoreEmbedAppVideoPlayerSizePortrait"),[c]=(0,a.QN)("whatmoreEmbedAppVideoPlayerSizeLandscape"),h=r[l.dl]===l.nN?c/100:s/100*1.2;return[t*h,i*h,r]},c=i(5727),h=i(1628),p=i.n(h),x=i(2209),m=i(6702),u=(i(9733),i(4365),i(1348)),f=i(4414);var v=function(e){var t;const i=o.useRef(null);var[d,h,v]=s();const w=(0,a.Xd)("whatmoreUITheme"),[g]=(0,a.QN)("whatmoreEmbedAppVideoTitle"),[y]=(0,a.QN)("whatmoreEmbedAppPositionPortrait"),[j]=(0,a.QN)("whatmoreEmbedAppHorizontalPaddingPortrait"),[b]=(0,a.QN)("whatmoreEmbedAppVerticalPaddingPortrait"),[S]=(0,a.QN)("whatmoreEmbedAppPositionLandscape"),[A]=(0,a.QN)("whatmoreEmbedAppHorizontalPaddingLandscape"),[E]=(0,a.QN)("whatmoreEmbedAppVerticalPaddingLandscape"),z=(0,a.Xd)("whatmoreShopId");var C=y,L=j,k=b;v[l.dl]===l.nN&&(C=S,L=A,k=E);const[N,P]=(0,o.useState)(["initial",window.pageYOffset]),[R,F]=(0,o.useState)(!1),I=null!==(t=e.isSpotlight)&&void 0!==t&&t,Q=v[l.dl]===l.nN?.7*(0,u.O86)(z):(0,u.O86)(z),X=I?Q:1;d*=X,h*=X;const M=I?(0,u.LrK)(z):C,V=I?(0,u._2D)(z):(0,u.GSq)(z),[T,B]=(0,o.useState)(!I&&(0,u.n8Q)(z));function D(e,t){P(e),e[1]<=100?F(!1):t!=R&&(F(t),B(!1))}(0,o.useEffect)((()=>{let e=window.pageYOffset,t=!1;const i=()=>{const i=window.pageYOffset;Math.abs(i-e)<100||(D([i>e?"scrolled-down":"scrolled-up",i],!0),e=i>0?i:0),t=!1},n=()=>{t||(window.requestAnimationFrame(i),t=!0)};return window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)}),[N]),(0,n.jz)({ref:i,handler:()=>{D(["scrolled-up",N[1]],!0)}});const H=e.event,O=e.inVideoClick,q=e.closeClick,W=.3*h,U=.6*h,_=.1*h,Y=.1*(.5*h),G="round"==w?"10px":"0px",K=(0,u.GvQ)(z);var Z=!1,J=0,$=0;function ee(e){Z=e}return(0,f.jsx)("div",{children:T&&!V?(0,f.jsx)(f.Fragment,{}):R&&V?(0,f.jsx)("div",{style:"left"===M?{left:"1px",bottom:I?(0,u.pUQ)(z)+"px":k+"px",position:"fixed",zIndex:K}:{right:"5px",bottom:I?(0,u.pUQ)(z)+"px":k+"px",position:"fixed",zIndex:K},children:(0,f.jsxs)("div",{onClick:()=>{D(["initial",N[1]],!1)},style:{margin:"1px",width:h+"px",height:d+"px"},className:"left"===M?"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)(x.A,{sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:W+"px"},style:{position:"relative",zIndex:1,left:Y+"px",bottom:Y+"px"},onClick:q})})}),(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)(p(),{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,n;i=t.x,n=t.y,J=i,$=n},onDrag:(e,t)=>{ee(!0)},onStop:(e,t)=>{Z&&(Math.abs(t.x-J)>5||Math.abs(t.y-$)>5)?ee(!1):O(H)},children:(0,f.jsx)("div",{ref:i,style:"left"===M?{left:I?(0,u.D2A)(z)+"px":L+"px",bottom:I?(0,u.pUQ)(z)+"px":k+"px",position:"fixed",zIndex:K}:{right:I?(0,u.D2A)(z)+"px":L+"px",bottom:I?(0,u.pUQ)(z)+"px":k+"px",position:"fixed",zIndex:K},children:(0,f.jsxs)("div",{style:Object.assign({},{boxSizing:"border-box",margin:"1px",width:e.isSpotlight&&"60122562760"==z?d+"px":h+"px",height:e.isSpotlight&&"60122562760"==z?h+"px":d+"px"}),className:"left"===M?"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)(x.A,{className:"close-btn",sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:W+"px"},onClick:q,style:{position:"relative",zIndex:1,left:_+"px",bottom:_+"px"}})}),(0,f.jsx)("div",{style:{marginLeft:"auto",marginRight:"auto"},children:(0,f.jsx)(c.A,{sx:{color:(0,u.KFN)(z),fontSize:U+"px",filter:"drop-shadow(0 0 2px black);"}})}),(0,f.jsx)("div",{style:{paddingLeft:"2px",paddingRight:"2px",borderBottomLeftRadius:G,borderBottomRightRadius:G,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(){}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[939,956],{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"),[m,d]=(0,a.QN)("productRatings"),u=(0,a.Xd)("whatmorePrimaryFont"),c=e.productId,h=e.fontSize,p=null!==(t=e.fontColor)&&void 0!==t?t:"gray";if(null===m||"undefined"==typeof m||!(c in m)||m[c].avgRating>5)return(0,s.jsx)(s.Fragment,{});const f=m[c].avgRating,$=m[c].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(f))].map(((e,t)=>(0,s.jsx)(r.A,{sx:{color:l,fontSize:h+"px"}},"star-icon"+t))),f-Math.floor(f)>.2?(0,s.jsx)(i.A,{sx:{color:l,fontSize:h+"px"}},"star-half-icon"):f-Math.floor(f)==0?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(o.A,{sx:{color:l,fontSize:h+"px"}},"star-outline-icon"),[...Array(Math.floor(5-f))].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",u,"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,"\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",u,"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","("+$+")"]})})]})})}},16:function(e,t,n){n.d(t,{A:function(){return m}});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 m=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}},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),m=r.useRef(0),d=(0,r.useRef)(null),u=null!==(t=e.timeUpdateCallback)&&void 0!==t?t:()=>{},c=null!==(n=e.height)&&void 0!==n?n:"100%",h=null!==(a=e.width)&&void 0!==a?a:"100%";return(0,r.useEffect)((()=>{m.current=0;const e=setInterval((()=>{m.current=m.current+.03,d.current&&u(m.current,5),m.current>=5&&(m.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:d,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:c})]})}},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),m=n(4033),d=n(664),u=n(6493),c=n(4414);var h=function(e){var t,n,o,s;const l=(0,r.useRef)(null),[h,p,f]=(0,i.A)({triggerOnce:!0}),$=(0,d.Xd)("whatmoreShopId"),v=null!==(t=e.height)&&void 0!==t?t:"100%",g=null!==(n=e.width)&&void 0!==n?n:"100%";return(0,r.useEffect)((()=>{l.current&&(e.isPlaying?l.current.play():(((0,m.n)()||(0,a.At)())&&l.current.play(),"57939755089"==$?setTimeout((()=>{l.current.pause()}),300):l.current.pause()))}),[e.isPlaying,p]),(0,c.jsx)("div",{ref:h,style:{width:v,height:g,overflow:"hidden",display:"flex",alignItems:"center"},children:p||"51394281658"==$||"8968077397"==$?(0,c.jsxs)("video",{ref:l,className:"whatmore-video-player-muted",width:g,height:v,preload:"metadata",loop:!0,src:"86878257455"!=$?e.url:(0,u.yD)(e.url),playsInline:!0,poster:e.isPlaying&&1!=(null===(o=e.event)||void 0===o?void 0:o.index)&&"STRTFEDEDAP"!==$&&"STRY2V4XO5L"!==$?e.url:e.poster,muted:null===(s=e.isVideoMuted)||void 0===s||s,style:{backgroundColor:"white",borderRadius:e.borderRadius,objectFit:"cover"},children:[(0,c.jsx)("source",{src:e.url,type:"video/mp4"}),(0,c.jsx)("source",{src:(0,u.yD)(e.url),type:"video/mp4"})]}):(0,c.jsx)("div",{width:g,height:v,ref:e=>{e&&e.style.setProperty("display","block","important")}})})};var p=function(e){var t,n,m,p,f,$,v,g,y;const[b,w,x]=(0,i.A)({triggerOnce:!0}),j=(0,d.Xd)("whatmoreShopId"),_=(0,r.useRef)(null);if((0,r.useEffect)((()=>{_.current&&(e.isPlaying?_.current.play():_.current.pause())}),[e.isPlaying,w]),(0,s.Il)(e.event))return(0,c.jsx)(l.A,{height:e.height,width:e.width,url:e.url,isPlaying:e.isPlaying,timeUpdateCallback:e.timeUpdateCallback});const P=null!==(t=e.pauseFromPlayTimeInMs)&&void 0!==t?t:200,A=null!==e&&void 0!==e&&null!==(n=e.event)&&void 0!==n&&null!==(m=n.poster_image)&&void 0!==m&&m.startsWith("https://cdn.shopify.com")?(null===e||void 0===e||null===(p=e.event)||void 0===p||null===(f=p.poster_image)||void 0===f?void 0:f.split("?")[0])+"?width=400&height=400":null===e||void 0===e||null===($=e.event)||void 0===$?void 0:$.poster_image;if((0,a.MN)())return(0,c.jsx)(h,{isVideoMuted:e.isVideoMuted,event:null===e||void 0===e?void 0:e.event,borderRadius:e.borderRadius,height:"100%",width:"100%",poster:A,url:(0,o.s)(e.url),isPlaying:e.isPlaying,pauseFromPlayTimeInMs:P});const C=null!==(v=e.height)&&void 0!==v?v:"100%",k=null!==(g=e.width)&&void 0!==g?g:"100%";return(0,c.jsx)("div",{ref:b,style:{width:C,height:k,overflow:"hidden",display:"flex",alignItems:"center"},children:w||"51394281658"==j||"8968077397"==j?(0,c.jsxs)("video",{ref:_,className:"whatmore-video-player-muted",width:k,height:C,preload:"metadata",loop:!0,playsInline:!0,muted:null===(y=e.isVideoMuted)||void 0===y||y,poster:"57939755089"==j?"":A,style:{backgroundColor:"white",objectFit:"cover"},children:[(0,c.jsx)("source",{src:(0,o.s)(e.url),type:"video/mp4"}),(0,c.jsx)("source",{src:(0,u.yD)(e.url),type:"video/mp4"})]}):(0,c.jsx)("div",{width:k,height:C,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(4994);t.A=void 0;var i=r(n(9526)),o=n(4414);t.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 2m5 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 12z"}),"Cancel")},5727:function(e,t,n){var r=n(4994);t.A=void 0;var i=r(n(9526)),o=n(4414);t.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.82"}),"PlayArrowRounded")},7891:function(e,t,n){var r=n(4994);t.A=void 0;var i=r(n(9526)),o=n(4414);t.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")},8454:function(e,t,n){var r=n(4994);t.A=void 0;var i=r(n(9526)),o=n(4414);t.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.03zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarHalf")},3781:function(e,t,n){var r=n(4994);t.A=void 0;var i=r(n(9526)),o=n(4414);t.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.03zM12 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.28z"}),"StarOutline")},5410:function(){},4365:function(){},9733:function(){},7229:function(){},4669:function(){},6042:function(){},9130:function(){}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[592],{2835:function(t,e,n){var r=n(7891),o=n(8454),i=n(3781),l=n(664),s=n(4414);e.A=function(t){var e;const n=(0,l.Xd)("whatmoreUITheme"),[a]=(0,l.QN)("whatmoreSecondaryColor"),[p,u]=(0,l.QN)("productRatings"),f=(0,l.Xd)("whatmorePrimaryFont"),c=t.productId,d=t.fontSize,v=null!==(e=t.fontColor)&&void 0!==e?e:"gray";if(null===p||"undefined"==typeof p||!(c in p)||p[c].avgRating>5)return(0,s.jsx)(s.Fragment,{});const y=p[c].avgRating,m=p[c].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(y))].map(((t,e)=>(0,s.jsx)(r.A,{sx:{color:a,fontSize:d+"px"}},"star-icon"+e))),y-Math.floor(y)>.2?(0,s.jsx)(o.A,{sx:{color:a,fontSize:d+"px"}},"star-half-icon"):y-Math.floor(y)==0?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(i.A,{sx:{color:a,fontSize:d+"px"}},"star-outline-icon"),[...Array(Math.floor(5-y))].map(((t,e)=>(0,s.jsx)(i.A,{sx:{color:a,fontSize:d+"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"==n?"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*d+"px","important"),t.style.setProperty("font-family",f,"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",y,"\xa0"]})})}),(0,s.jsx)("div",{children:(0,s.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",v,"important"),t.style.setProperty("font-size",.8*d+"px","important"),t.style.setProperty("font-family",f,"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+")"]})})]})})}},7802:function(t,e,n){n.d(e,{Hl:function(){return o},Np:function(){return l},Po:function(){return s},Z_:function(){return r},zJ:function(){return i}});const r=function(t,e){return!((void 0==t.products||0==t.products.length)&&(void 0==t.cta||0==t.cta.length))},o=function(t,e){return!(void 0==t.products||0==t.products.length)},i=function(t,e){if(null!=t)return t},l=function(t){if(null!=t)return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?t.events[0].events:t.events};const s=function(t,e){var n;if(null==t)return[];if(!("eventsets"in t))return[];const r=null!==(n=t.eventsets[e])&&void 0!==n?n:null;return r?function(t){if(null==t||0==t.length)return[];let e=[];return t.forEach((t=>{t.events.forEach((t=>{e.push(t)}))})),e}(r):[]}},7973:function(t,e,n){n.d(e,{B:function(){return l},b:function(){return i}});var r=n(1348),o=n(664);function i(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=(0,o.Xd)("whatmoreShopId");return"shopify"!=(0,r.NCy)(n)?"STRNV8MHJTF"==n?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 n=null===t||void 0===t||null===(e=t.trim())||void 0===e?void 0:e.split("?")[0],r=/\.(jpeg|jpg|gif|png|svg|webp)$/i,o=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==r&&void 0!==r&&r.test(n)?"image":null!==o&&void 0!==o&&o.test(n)?"video":void 0}},7458:function(t,e,n){n.d(e,{P:function(){return r}});const r=function(t,e){return!(isNaN(e)||!e||("string"===typeof e||e instanceof String)&&!e.trim().length)&&!(parseInt(e)<=parseInt(t))}},7891:function(t,e,n){var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.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")},8454:function(t,e,n){var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.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.03zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarHalf")},3781:function(t,e,n){var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.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.03zM12 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.28z"}),"StarOutline")},7229:function(){},4669:function(){},6042:function(){},9130:function(){}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[657],{2835:function(t,e,i){var o=i(7891),n=i(8454),r=i(3781),a=i(664),l=i(4414);e.A=function(t){var e;const i=(0,a.Xd)("whatmoreUITheme"),[s]=(0,a.QN)("whatmoreSecondaryColor"),[c,d]=(0,a.QN)("productRatings"),u=(0,a.Xd)("whatmorePrimaryFont"),p=t.productId,v=t.fontSize,f=null!==(e=t.fontColor)&&void 0!==e?e:"gray";if(null===c||"undefined"==typeof c||!(p in c)||c[p].avgRating>5)return(0,l.jsx)(l.Fragment,{});const y=c[p].avgRating,m=c[p].totalRatings;return(0,l.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center"},children:(0,l.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center",gap:"0px"},children:[[...Array(Math.floor(y))].map(((t,e)=>(0,l.jsx)(o.A,{sx:{color:s,fontSize:v+"px"}},"star-icon"+e))),y-Math.floor(y)>.2?(0,l.jsx)(n.A,{sx:{color:s,fontSize:v+"px"}},"star-half-icon"):y-Math.floor(y)==0?(0,l.jsx)(l.Fragment,{}):(0,l.jsx)(r.A,{sx:{color:s,fontSize:v+"px"}},"star-outline-icon"),[...Array(Math.floor(5-y))].map(((t,e)=>(0,l.jsx)(r.A,{sx:{color:s,fontSize:v+"px"}},"star-outline-icon-"+e))),(0,l.jsx)("div",{children:(0,l.jsx)("div",{width:"2px"})}),(0,l.jsx)("div",{children:(0,l.jsx)("div",{style:{backgroundColor:s,borderRadius:"round"==i?"2px":"0px",padding:"1px",overflow:"hidden"},children:(0,l.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color","white","important"),t.style.setProperty("font-size",.8*v+"px","important"),t.style.setProperty("font-family",u,"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",y,"\xa0"]})})}),(0,l.jsx)("div",{children:(0,l.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",f,"important"),t.style.setProperty("font-size",.8*v+"px","important"),t.style.setProperty("font-family",u,"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+")"]})})]})})}},7973:function(t,e,i){i.d(e,{B:function(){return a},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 a(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))}},1351:function(t,e,i){i.d(e,{Qj:function(){return s},kz:function(){return c},UM:function(){return u},yP:function(){return p},DG:function(){return d}});var o=i(1348),n=i(664),r=i(6157);function a(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const a=(0,n.Xd)("whatmoreShopId");(t!=r.O.EVENT_VIEW||(0,o.NFF)(a))&&(t!=r.O.VIDEO_PLAYBACK||(0,o.Eel)(a))&&(t!=r.O.SHOPNOW_ATC_CLICKED&&t!=r.O.PRODUCT_TILE_ATC_CLICKED||(0,o.T9r)(a))&&(t!=r.O.VIDEO_LIKED||(0,o.Mz3)(a))&&(t!=r.O.VIDEO_SHARE_CTA_CLICKED||(0,o.OLZ)(a))&&(t!=r.O.PRODUCT_TILE_SHOPNOW_CLICKED&&t!=r.O.SHOPNOW_CLICKED||(0,o.nEf)(a))&&"function"==typeof fbq&&(async()=>{fbq("trackCustom",s[t],{id:null===e||void 0===e?void 0:e.client_product_id,product_url:null===e||void 0===e?void 0:e.product_link,...t===r.O.VIDEO_PLAYBACK?{watch_time:i.watch_time,video_duration:i.video_duration}:{}})})()}var l=i(7145);const s={[r.O.EVENT_VIEW]:"whatmore_video_click_event",[r.O.VIDEO_LIKED]:"whatmore_video_like_event",[r.O.VIDEO_SHARE_CTA_CLICKED]:"whatmore_video_share_event",[r.O.PRODUCT_TILE_ATC_CLICKED]:"whatmore_video_atc_event",[r.O.SHOPNOW_ATC_CLICKED]:"whatmore_video_atc_event",[r.O.SHOPNOW_CLICKED]:"whatmore_product_tile_click_event",[r.O.PRODUCT_TILE_SHOPNOW_CLICKED]:"whatmore_product_tile_click_event",[r.O.VIDEO_PLAYBACK]:"whatmore_video_watch_event"};function c(t){var e;let{userInteractionType:i,userInteractionMetadata:o,widgetSourceDetails:n,event:r,productList:c,ctaList:d}=t;(0,l.B)({userInteractionType:i,userInteractionMetadata:o,widgetSourceDetails:n,event:r,productList:c,ctaList:d}),i in s&&a(i,null!==(e=null===c||void 0===c?void 0:c[1])&&void 0!==e?e:null===c||void 0===c?void 0:c[0])}function d(t){var e;let{userInteractionType:i,userInteractionMetadata:o,widgetSourceDetails:n,event:r,productList:c,ctaList:d}=t;(0,l.B)({userInteractionType:i,userInteractionMetadata:o,widgetSourceDetails:n,event:r,productList:c,ctaList:d}),i in s&&a(i,null!==(e=null===c||void 0===c?void 0:c[1])&&void 0!==e?e:null===c||void 0===c?void 0:c[0],o)}function u(t){let{userInteractionType:e,userInteractionMetadata:i,widgetSourceDetails:o,event:n,productList:r,ctaList:a}=t;(0,l.B)({userInteractionType:e,userInteractionMetadata:i,widgetSourceDetails:o,event:n,productList:r,ctaList:a})}function p(t){let{userInteractionType:e,userInteractionMetadata:i,widgetSourceDetails:o,event:n,productList:r,ctaList:a}=t;(0,l.B)({userInteractionType:e,userInteractionMetadata:i,widgetSourceDetails:o,event:n,productList:r,ctaList:a})}},7891:function(t,e,i){var o=i(4994);e.A=void 0;var n=o(i(9526)),r=i(4414);e.A=(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")},8454:function(t,e,i){var o=i(4994);e.A=void 0;var n=o(i(9526)),r=i(4414);e.A=(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.03zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarHalf")},3781:function(t,e,i){var o=i(4994);e.A=void 0;var n=o(i(9526)),r=i(4414);e.A=(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.03zM12 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.28z"}),"StarOutline")},7229:function(){},4669:function(){},6042:function(){},9130:function(){}}]);