whatmore-react-assets 1.0.1180 → 1.0.1182

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. package/package.json +1 -1
  2. package/static/css/926.a9bfc3e2.chunk.css +1 -0
  3. package/static/css/atc-with-form.1c72edff.chunk.css +1 -0
  4. package/static/css/banner-template-a.4e431eee.chunk.css +2 -0
  5. package/static/css/carousel-template-a.59976cb2.chunk.css +2 -0
  6. package/static/css/carousel-template-b.1672d707.chunk.css +2 -0
  7. package/static/css/carousel-template-f.599c1ca5.chunk.css +2 -0
  8. package/static/css/carousel-template-feed.e2240c87.chunk.css +2 -0
  9. package/static/css/carousel-template-g.59976cb2.chunk.css +2 -0
  10. package/static/css/carousel-template-h.59976cb2.chunk.css +2 -0
  11. package/static/css/carousel-template-view-more.e2240c87.chunk.css +2 -0
  12. package/static/css/collections-template-a.dc868ab3.chunk.css +2 -0
  13. package/static/css/collections-template-b.dc868ab3.chunk.css +2 -0
  14. package/static/css/collections-template-c.dc868ab3.chunk.css +2 -0
  15. package/static/css/collections-template-stories.dc868ab3.chunk.css +2 -0
  16. package/static/css/event-click-main.3373f4ca.chunk.css +2 -0
  17. package/static/css/event-click-product.1c72edff.chunk.css +1 -0
  18. package/static/css/event-click-spotlight.1c72edff.chunk.css +1 -0
  19. package/static/css/product-page-view.87a3bb51.chunk.css +2 -0
  20. package/static/css/spotlight-view.87a3bb51.chunk.css +2 -0
  21. package/static/css/stories-template-a.ff6f5f73.chunk.css +2 -0
  22. package/static/js/13.b216da25.chunk.js +1 -0
  23. package/static/js/145.3a1ea5cb.chunk.js +1 -0
  24. package/static/js/240.9c510ae9.chunk.js +2 -0
  25. package/static/js/249.8d06733c.chunk.js +1 -0
  26. package/static/js/351.3d3ea3c1.chunk.js +2 -0
  27. package/static/js/{548.fd822b0d.chunk.js → 548.835e0a00.chunk.js} +1 -1
  28. package/static/js/577.646fa55d.chunk.js +1 -0
  29. package/static/js/745.107e7775.chunk.js +2 -0
  30. package/static/js/766.c37f46b9.chunk.js +1 -0
  31. package/static/js/818.f38c152f.chunk.js +117 -0
  32. package/static/js/819.c2077f1e.chunk.js +2 -0
  33. package/static/js/824.4e7624f9.chunk.js +1 -0
  34. package/static/js/920.45e31f21.chunk.js +1 -0
  35. package/static/js/app-main.544edb71.chunk.js +1 -0
  36. package/static/js/banner-template-a.16af4071.chunk.js +1 -0
  37. package/static/js/carousel-template-a.ee32e4be.chunk.js +1 -0
  38. package/static/js/carousel-template-b.e363afe0.chunk.js +1 -0
  39. package/static/js/carousel-template-f.2d8e07e4.chunk.js +2 -0
  40. package/static/js/carousel-template-feed.2a46447b.chunk.js +16 -0
  41. package/static/js/{carousel-template-g.83982812.chunk.js → carousel-template-g.490f70d6.chunk.js} +1 -1
  42. package/static/js/carousel-template-h.4ec81ba7.chunk.js +1 -0
  43. package/static/js/carousel-template-view-more.6fee8817.chunk.js +45 -0
  44. package/static/js/collections-template-a.a32aa9b7.chunk.js +1 -0
  45. package/static/js/collections-template-b.fe4cdbbf.chunk.js +1 -0
  46. package/static/js/collections-template-c.660b920a.chunk.js +1 -0
  47. package/static/js/collections-template-stories.407b3524.chunk.js +1 -0
  48. package/static/js/event-click-main.b2fd1c5f.chunk.js +1 -0
  49. package/static/js/homepage-carousel-view.16a2bf47.chunk.js +1 -0
  50. package/static/js/product-page-view.ea8dd19e.chunk.js +1 -0
  51. package/static/js/recommended-carousel.9a69fdec.chunk.js +2 -0
  52. package/static/js/spotlight-view.ca45bae3.chunk.js +1 -0
  53. package/static/js/stories-template-a.15d8f805.chunk.js +1 -0
  54. package/whatmore.js +2 -2
  55. package/static/css/926.36fbef9a.chunk.css +0 -1
  56. package/static/css/atc-with-form.4dd2fc0f.chunk.css +0 -1
  57. package/static/css/banner-template-a.646138cd.chunk.css +0 -2
  58. package/static/css/carousel-template-a.1471d6e3.chunk.css +0 -2
  59. package/static/css/carousel-template-b.42b647f6.chunk.css +0 -2
  60. package/static/css/carousel-template-f.740de75c.chunk.css +0 -2
  61. package/static/css/carousel-template-feed.e325bb93.chunk.css +0 -2
  62. package/static/css/carousel-template-g.1471d6e3.chunk.css +0 -2
  63. package/static/css/carousel-template-h.1471d6e3.chunk.css +0 -2
  64. package/static/css/carousel-template-view-more.e325bb93.chunk.css +0 -2
  65. package/static/css/collections-template-a.55d08668.chunk.css +0 -2
  66. package/static/css/collections-template-b.55d08668.chunk.css +0 -2
  67. package/static/css/collections-template-c.55d08668.chunk.css +0 -2
  68. package/static/css/collections-template-stories.55d08668.chunk.css +0 -2
  69. package/static/css/event-click-main.35f97ebb.chunk.css +0 -2
  70. package/static/css/event-click-product.4dd2fc0f.chunk.css +0 -1
  71. package/static/css/event-click-spotlight.4dd2fc0f.chunk.css +0 -1
  72. package/static/css/product-page-view.4c845eb0.chunk.css +0 -2
  73. package/static/css/spotlight-view.4c845eb0.chunk.css +0 -2
  74. package/static/css/stories-template-a.6f769dad.chunk.css +0 -2
  75. package/static/js/13.f1f86e40.chunk.js +0 -1
  76. package/static/js/240.b51848e0.chunk.js +0 -2
  77. package/static/js/305.f81af841.chunk.js +0 -1
  78. package/static/js/351.62a14617.chunk.js +0 -2
  79. package/static/js/576.4ab6f670.chunk.js +0 -1
  80. package/static/js/731.c7e92797.chunk.js +0 -1
  81. package/static/js/745.ffffc6ff.chunk.js +0 -2
  82. package/static/js/751.372dd214.chunk.js +0 -1
  83. package/static/js/766.3331538a.chunk.js +0 -1
  84. package/static/js/818.d1218a10.chunk.js +0 -1
  85. package/static/js/819.0610382e.chunk.js +0 -2
  86. package/static/js/824.927b399c.chunk.js +0 -1
  87. package/static/js/app-main.a38f4d20.chunk.js +0 -1
  88. package/static/js/banner-template-a.115cfc83.chunk.js +0 -1
  89. package/static/js/carousel-template-a.f3f8795e.chunk.js +0 -1
  90. package/static/js/carousel-template-b.dacdb486.chunk.js +0 -1
  91. package/static/js/carousel-template-f.106fd7fb.chunk.js +0 -2
  92. package/static/js/carousel-template-feed.3cbb9f37.chunk.js +0 -2
  93. package/static/js/carousel-template-h.91f21c5d.chunk.js +0 -1
  94. package/static/js/carousel-template-view-more.b121cf14.chunk.js +0 -1
  95. package/static/js/collections-template-a.d50a7319.chunk.js +0 -1
  96. package/static/js/collections-template-b.78ffdc93.chunk.js +0 -1
  97. package/static/js/collections-template-c.a1678c8a.chunk.js +0 -1
  98. package/static/js/collections-template-stories.1493da9e.chunk.js +0 -1
  99. package/static/js/event-click-main.e9e26fc2.chunk.js +0 -1
  100. package/static/js/homepage-carousel-view.18fcfddd.chunk.js +0 -1
  101. package/static/js/product-page-view.3e327935.chunk.js +0 -1
  102. package/static/js/recommended-carousel.dc3caff3.chunk.js +0 -2
  103. package/static/js/spotlight-view.d1456f56.chunk.js +0 -1
  104. package/static/js/stories-template-a.5581a88a.chunk.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[978],{4048:function(e,t,o){o.r(t);var n=o(7313),i=o(6090),r=o(7616),l=o(32),s=(o(6143),o(7850),o(4444),o(7244),o(123),o(5892),o(1811),o(9302)),a=o(2575),d=o(2210),p=o(8486),c=o(9821),u=o(8866),h=o(2279),m=o.n(h),y=o(7753),v=o(7129),x=o(1855),f=o(9854),g=o(364),w=o(4920),P=o(4522),j=o(778),S=o(7381),C=o(9069),O=o(6417);const I=(0,a.Z)({key:"whatmore-css-hv"});function M(e){const[t,o,i]=(0,c.Z)(),r=(0,y.MO)("whatmoreShopId"),l=e.events,s=e.onClick,a=i*(0,f.u6l)(r),p=(0,f.yBw)(r),[u,h]=(0,n.useState)(p?l.length:a),{whatmoreWidgetSourceDetails:m}=(0,n.useContext)(g.I);return(0,n.useEffect)((()=>{u<=a&&h((e=>e+a))}),[a]),(0,O.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,O.jsx)("div",{style:{width:"8968077397"===r&&l.length<4?"200px":window.innerWidth,height:"fit-content"},children:(0,O.jsx)(d.tq,{slidesPerView:l.length>1?"51394281658"==r||"55820812447"==r?2:a:1,initialSlide:l.length>1&&"51394281658"!=r&&"55820812447"!=r?1:0,centeredSlides:"51394281658"!=r&&"55820812447"!=r,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:"51394281658"==r?1:.5,onSlideChange:e=>{(0,P.y4)({userInteractionType:j.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:m}),e.realIndex>e.previousIndex&&h((e=>e+a))},loop:p&&l.length>2,children:l.map(((e,t)=>t<=u&&(0,O.jsx)(d.o5,{children:t=>{let{isActive:o,isPrev:n,isNext:i,isVisible:l}=t;return n||i||o||"51394281658"==r||"8968077397"==r?(0,f.$X$)(r)?(0,O.jsx)(C.Z,{isOnFocus:o&&l,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{s(e)}}):(0,O.jsx)(w.Z,{isOnFocus:("51394281658"==r||"55820812447"==r||o)&&l,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{s(e)}}):(0,O.jsx)(x.Z,{})}},"whatmore-event-tile-portrait-"+e.index)))})})})}function b(e){const[t,o,i,r]=(0,c.Z)(),[l,s]=(0,n.useState)(-1),a=(0,y.MO)("whatmoreShopId"),u=e.onClick,h=e.events,v=(0,f.yBw)(a),[S,I]=(0,n.useState)(v?h.length:i),M="8968077397"==a||"19501891"==a?Math.floor(Math.min(i,h.length)):Math.min(i,h.length),b=Math.floor(Math.min(4,h.length)),{whatmoreWidgetSourceDetails:k}=(0,n.useContext)(g.I),Z=(0,n.useRef)(null);return(0,n.useEffect)((()=>{if(Z.current){const e="8968077397"===a&&h.length>=4?.7:(0,f.Su5)(a),t=o*M*e+"px";h.length<4||"8968077397"===a?Z.current.style.setProperty("width",t,"important"):Z.current.style.width=t}}),[o,M,a,S,h.length]),(0,n.useEffect)((()=>{S<=i&&I((e=>e+i))}),[i]),(0,O.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",paddingLeft:r+"px",paddingRight:r+"px"},className:"whatmore-events-carousel-landscape",children:(0,O.jsx)("div",{ref:Z,style:{height:"100%"},children:(0,O.jsx)(d.tq,{slidesPerView:"8968077397"==a?b:M,watchSlidesProgress:!0,modules:[p.W_],navigation:!0,slidesPerGroup:"8968077397"==a||"19501891"==a?Math.min(2,h.length):parseInt(M),onSlideChange:e=>{(0,P.y4)({userInteractionType:j.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:k}),e.realIndex>e.previousIndex&&I((e=>e+i))},spaceBetween:0,loop:(v||"8968077397"==a||"19501891"==a)&&h.length>4,style:{height:"100%"},children:h.map(((e,t)=>{const o=m()((()=>s(t)),300);return t<=S&&(0,O.jsx)(d.o5,{onMouseEnter:()=>{o()},onMouseLeave:()=>{o.cancel(),s(-1)},style:{height:"100%"},children:o=>{let{isActive:n,isPrev:i,isNext:r,isVisible:s}=o;return s||"8968077397"==a||"19501891"==a&&(i||r)?(0,f.$X$)(a)?(0,O.jsx)(C.Z,{isOnFocus:t==l,playOnUnfocus:!(0,f.dHy)(a)||t==parseInt(M/2)&&-1==l,animateOnFocus:!0,event:e,onClick:()=>{u(e)}}):(0,O.jsx)(w.Z,{isOnFocus:t==l,playOnUnfocus:!(0,f.dHy)(a)||t==parseInt(M/2)&&-1==l,animateOnFocus:!0,event:e,onClick:()=>{u(e)}}):(0,O.jsx)(x.Z,{})}},"whatmore-event-tile-landscape-"+e.index)}))})})})}t.default=function(e){const[t,o,a]=(0,u.Z)(),[d]=(0,y.j1)("whatmoreShopId"),[p]=(0,y.j1)("whatmorePrimaryColor"),[c]=(0,y.j1)("whatmoreTitleFont"),h="portrait"==t?(0,y.MO)("whatmoreTitleFontSizePortrait"):(0,y.MO)("whatmoreTitleFontSize"),{whatmoreRootId:m}=(0,n.useContext)(g.I),x=(0,y.MO)("whatmoreCollectionHeading"),{whatmoreIsCollectionsTemplate:w}=(0,n.useContext)(g.I),P=e.events,j=e.onClick,C=c;function k(e){j(e)}return(0,n.useEffect)((()=>{(0,S.Oo)("Video shopping powered by Whatmore!")}),[]),(0,n.useEffect)((()=>{l.IR.forEach((e=>{var t;const o=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-a"]');if(!o)return;o&&e&&(e.style.minHeight="0px")}))}),[]),delete r.ZP.styles.global,(0,O.jsx)(s.C,{value:I,children:(0,O.jsx)("div",{className:"whatmore-carousel-events",style:{height:"100%"},children:(0,O.jsx)(i.x,{theme:r.ZP,cssVarsRoot:m,resetCSS:!1,children:(0,O.jsxs)(v.V.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0||w?(0,O.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,O.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",C,"important"),e.style.setProperty("font-size",h+"px","important"))},style:{color:p,backgroundClip:"text",textAlign:"center",fontWeight:(0,f.wOV)(d),lineHeight:(0,f.vY4)(d),letterSpacing:(0,f.X2K)(d)},children:w?"W"!==x?x:"":e.heading})}):(0,O.jsx)(O.Fragment,{}),"landscape"===t?(0,O.jsx)(b,{events:P,onClick:k}):(0,O.jsx)(M,{events:P,onClick:k})]})})})})}},1855:function(e,t,o){var n=o(7313),i=o(9821),r=o(7129),l=o(7753),s=o(6417);t.Z=function(e){var[t,o]=(0,i.Z)();(0,n.useContext)(r.V);const a=(0,l.MO)("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"}})}},9069:function(e,t,o){var n=o(7313),i=o(9821),r=(o(3439),o(7753)),l=o(4892),s=o(7129),a=o(6805),d=o(9854),p=o(364),c=o(9219),u=o(5945),h=o(7053),m=o(6417);t.Z=function(e){var t,o,y,v,x,f,g,w,P,j,S,C,O,I,M,b,k,Z,F;const[E,_,N,R,W]=(0,i.Z)();var T=(0,n.useContext)(s.V);const D=(0,r.MO)("whatmoreUITheme"),U=(0,r.MO)("whatmoreShopId"),z=(0,r.MO)("whatmorePrimaryFont"),V=(0,r.MO)("whatmoreSecondaryColor"),H=e.onClick,A=null===(t=e.isOnFocus)||void 0===t||t,$=null!==(o=e.playOnUnfocus)&&void 0!==o&&o,B=null!==(y=e.animateOnFocus&&(0,d.iWI)(U))&&void 0!==y&&y,G="portrait"===W[a.YP],q=(G?1.076*_*(0,d.pEd)(U):_*(0,d.H4g)(U))+"px",L=(G?1.076*_*(0,d.pEd)(U):_*(0,d.H4g)(U))+"px",X=(G?.965*_*(0,d.pEd)(U):.859*_*(0,d.H4g)(U))+"px",Y=(0,d.nzC)(U),{whatmoreIsPreviewMode:J}=(0,n.useContext)(p.I),K=.25*_,Q=K+"px",[ee,te]=(0,n.useState)(e.event),[oe,ne]=(0,n.useState)(),ie=Math.round(+(null===(v=ee.products)||void 0===v||null===(x=v[0])||void 0===x?void 0:x.price)),re=Math.round(+(null===ee||void 0===ee||null===(f=ee.products[0])||void 0===f?void 0:f.compare_price)),le=re&&0!=re&&re>ie?Math.round((re-ie)/re*100):NaN,[se,ae]=(0,n.useState)(le);return(0,n.useEffect)((()=>{(0,d.N8M)(U)&&(0,c.p_)(ee,(0,d.Ipo)(U),U).then((e=>{var t,o,n;te(e);const i=Math.round(null===(t=e.products)||void 0===t||null===(o=t[0])||void 0===o?void 0:o.price),r=Math.round(null===e||void 0===e||null===(n=e.products[0])||void 0===n?void 0:n.compare_price),l=r&&0!=r&&r>i?Math.round((r-i)/r*100):NaN;ae(l)}));(async()=>{var e;const t=await(0,h.p)(null===ee||void 0===ee||null===(e=ee.products)||void 0===e?void 0:e[0],(0,d.Ipo)(U),U);ne(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:_,height:G&&A?"STR2FOC6KG9"==U||"STRDOIDF6O7"==U?E:1.1*E:E,borderRadius:"round"==D?"5px":"0px",boxShadow:"round"==D?Y:null,borderWidth:(0,d.alU)(U),borderColor:(0,d.qPe)(U),overflow:"hidden",cursor:"pointer"},className:B?A?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{H(ee)},children:(0,m.jsx)(l.Z,{height:(0,d.dXm)(U)+" !important",width:"100%",url:ee.thumbnail_image,isPlaying:A||$,event:ee})}),"STRSJFOP1GI"!=U&&(0,m.jsxs)("div",{onClick:()=>{H(ee)},className:B?A?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",style:{cursor:"pointer",display:"flex",gap:"6px",padding:"16px 12px"},children:[(J?(0,d.uU$)(U):(0,d.EIj)(U))&&(0,m.jsx)("div",{style:{maxWidth:Q,minWidth:null!==(g=ee.products)&&void 0!==g&&null!==(w=g[0])&&void 0!==w&&w.thumbnail_image?Q:"0",overflow:"hidden"},children:(0,m.jsx)("img",{ref:e=>{e&&e.style.setProperty("object-fit",(0,d.yOX)(U),"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",{style:{display:"flex",flexDirection:"column",gap:"5px"},children:[(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-size",q,"important"),e.style.setProperty("line-height","120%","important"),e.style.setProperty("font-family",z,"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.s)(null===(S=ee.products[0])||void 0===S?void 0:S.title)}),(0,d.QaY)(U)&&(0,m.jsxs)("div",{style:{display:"flex",gap:"12px",flexDirection:(0,d.$zZ)(U)?"row":"row-reverse",justifyContent:(0,d.$zZ)(U)?"flex-start":"flex-end"},children:[(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.Uyp)(U),"important"),e.style.setProperty("font-size",L,"important"),e.style.setProperty("font-family",z,"important"),e.style.setProperty("overflow","hidden","important"))},style:{textAlign:"left",fontWeight:"normal"==(0,d.rPP)(U)?"normal":"bold"},children:(0,c.jx)(parseFloat(null!==(C=null===oe||void 0===oe?void 0:oe.price)&&void 0!==C?C:null===ee||void 0===ee||null===(O=ee.products)||void 0===O||null===(I=O[0])||void 0===I?void 0:I.price)," ",U,null===(M=ee.products[0])||void 0===M?void 0:M.currency)}),!isNaN(re)&&re>ie&&(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.kPs)(U),"important"),e.style.setProperty("font-size",L,"important"),e.style.setProperty("font-family",z,"important"),e.style.setProperty("overflow","hidden","important"))},style:{textDecoration:"line-through"},children:(0,c.jx)(parseFloat(null!==(b=null===oe||void 0===oe?void 0:oe.compare_at_price)&&void 0!==b?b:null===ee||void 0===ee||null===(k=ee.products)||void 0===k||null===(Z=k[0])||void 0===Z?void 0:Z.compare_price)," ",U,null===(F=ee.products[0])||void 0===F?void 0:F.currency)})]}),(0,d.QaY)(U)&&!isNaN(se)&&0!=se&&(0,m.jsx)("div",{style:{display:"flex",backgroundColor:"green"==(0,d.ZJm)(U)?"#343434"==V?(0,d.ZJm)(U):V:(0,d.ZJm)(U),alignItems:"center",borderRadius:(0,d.CF_)(U)+"px",width:"fit-content",padding:(0,d.Spx)(U)?"3px 6px":"0px"},children:(0,d.Spx)(U)?(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.mso)(U),"important"),e.style.setProperty("font-size",X,"important"),e.style.setProperty("font-family",z,"important"))},children:`${se}% Off`}):(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.aUT)(U),"important"),e.style.setProperty("font-size",X,"important"),e.style.setProperty("font-family",(0,d.V3Y)(U),"important"))},children:(0,d.sG7)(U)})})]})]})]})}},5892:function(){},4444:function(){},1811:function(){},7850:function(){}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[437],{3867:function(t,e,i){var o=i(8816),n=i(417),r=i(4885),l=i(7753),s=i(6417);e.Z=function(t){var e;const i=(0,l.MO)("whatmoreUITheme"),[a]=(0,l.j1)("whatmoreSecondaryColor"),[d,p]=(0,l.j1)("productRatings"),c=(0,l.MO)("whatmorePrimaryFont"),h=t.productId,x=t.fontSize,m=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 y=d[h].avgRating,f=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(y))].map(((t,e)=>(0,s.jsx)(o.Z,{sx:{color:a,fontSize:x+"px"}},"star-icon"+e))),y-Math.floor(y)>.2?(0,s.jsx)(n.Z,{sx:{color:a,fontSize:x+"px"}},"star-half-icon"):y-Math.floor(y)==0?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(r.Z,{sx:{color:a,fontSize:x+"px"}},"star-outline-icon"),[...Array(Math.floor(5-y))].map(((t,e)=>(0,s.jsx)(r.Z,{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",y,"\xa0"]})})}),(0,s.jsx)("div",{children:(0,s.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",m,"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","("+f+")"]})})]})})}},4095:function(t,e,i){i.r(e),i.d(e,{default:function(){return E}});var o=i(7313),n=i(6090),r=i(7616),l=i(32),s=(i(6143),i(7850),i(4444),i(7244),i(123),i(5892),i(1811),i(9302)),a=i(2575),d=i(2210),p=i(8486),c=i(9821),h=i(8866),x=i(2279),m=i.n(x),y=i(7753),f=i(7129),u=i(9854),g=i(364),w=i(1855),v=i(4892),j=i(3933),P=i(1092),C=i(5945),b=i(5456),I=i(3867),S=i(9219),k=i(9363),O=i(7053),M=i(5416),F=i(6417);const _=o.lazy((()=>Promise.all([i.e(577),i.e(745),i.e(818),i.e(842)]).then(i.bind(i,6163))));var R=function(t){var e,i,n,r;const l=(0,y.j1)("whatmoreUITheme");var[s,a]=(0,c.Z)();const[d]=(0,y.j1)("whatmorePrimaryFont"),[p]=(0,y.j1)("whatmoreSecondaryColorShade900"),[h]=(0,y.j1)("whatmoreShopId"),[x,m]=(0,o.useState)(0),[f,w]=(0,o.useState)(t.event),[v,j]=(0,o.useState)(),[P,R]=(0,o.useState)(!1),z=t.onClick,Z=f.products.length,{whatmoreIsPreviewMode:L}=(0,o.useContext)(g.I);if(0==Z)return(0,F.jsx)(F.Fragment,{});(0,o.useEffect)((()=>{(0,u.N8M)(h)&&(0,S.p_)(f,(0,u.Ipo)(h),h).then((t=>{w(t),R(!0)}));(async()=>{var t;const e=await(0,O.p)(null===f||void 0===f||null===(t=f.products)||void 0===t?void 0:t[0],(0,u.Ipo)(h),h);j(e),R(!0)})()}),[]);const T=L,W=.3*a,U=W+"px",B=W+"px",A=.05*a*(0,u.PI4)(h)+"px",D=.07*a*(0,u.wdV)(h),E=D+"px",H=.05*a;return(0,F.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,F.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",width:.95*a,height:"fit-content",paddingLeft:"4px",paddingRight:"4px",justifyContent:"space-between",alignItems:"center",gap:"4px"},className:"whatmore-event-tile-product-scale-in-and-out-animation",onClick:z,children:[(0,F.jsx)("div",{style:{width:U,height:B,overflow:"hidden",backgroundColor:p,borderRadius:"round"==l?"5px":"0px",borderWidth:"0px"==(0,u.alU)(h)?"2px":(0,u.alU)(h),borderColor:"white"==(0,u.qPe)(h)?p:(0,u.qPe)(h)},children:(0,F.jsx)("img",{ref:t=>{t&&t.style.setProperty("object-fit",(0,u.yOX)(h),"important")},src:(0,k.s)(f.products[x].thumbnail_image,"&width=400&height=400"),style:{width:U,height:U,borderRadius:"round"==l?"5px":"0px",backgroundColor:p},alt:"product image"})}),(0,F.jsx)("div",{style:{width:.7*a+"px",height:"100%",overflow:"visible",marginBottom:"2px",marginRight:"2px",borderRadius:"round"==l?"5px":"0px"},children:(0,F.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"center",alignItems:"center",paddingTop:"5px"},children:[(0,F.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center"},children:(0,F.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","black","important"),t.style.setProperty("font-size",A,"important"),t.style.setProperty("line-height","140%","important"),t.style.setProperty("font-family",d,"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:(0,C.s)(f.products[x].title)})}),(0,F.jsxs)("div",{style:{display:"flex",flexFlow:(0,u.$zZ)(h)?"row nowrap":"row-reverse nowrap",width:"100%",height:"fit-content",justifyContent:(0,u.$zZ)(h)?"flex-start":"flex-end",alignItems:"center",gap:"4px"},children:[P&&(0,F.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,u.Uyp)(h),"important"),t.style.setProperty("font-size",E,"important"),t.style.setProperty("line-height","140%","important"),t.style.setProperty("font-family",d,"important"))},style:{textAlign:"left",fontWeight:"medium",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:1,overflow:"hidden",textOverflow:"ellipsis"},children:[" ",(0,S.jx)(parseFloat((0,M.G)()?null===v||void 0===v?void 0:v.price:null===f||void 0===f||null===(e=f.products)||void 0===e||null===(i=e[0])||void 0===i?void 0:i.price),"",h,f.products[x].currency)]}),(0,b.B)(f.products[x].price,f.products[x].compare_price)&&P?(0,F.jsxs)("strike",{ref:t=>{t&&(t.style.setProperty("color",(0,u.kPs)(h),"important"),t.style.setProperty("font-size",.9*D+"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:"left",fontWeight:"medium",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:1,overflow:"hidden",textOverflow:"ellipsis"},children:[" ",(0,S.jx)(parseFloat((0,M.G)()?null===v||void 0===v?void 0:v.compare_at_price:null===f||void 0===f||null===(n=f.products)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.compare_price),"",h,f.products[x].currency)]}):(0,F.jsx)(F.Fragment,{})]}),(0,F.jsx)(I.Z,{storeId:h,productId:f.products[x].client_product_id,productLink:f.products[x].product_link,fontSize:H})]})})]},x),(0,u.IXJ)(h)||T&&"5141594210"==h?(0,F.jsx)(o.Suspense,{children:(0,F.jsx)(_,{baseFontSize:.05*a,event:f,product:f.products[0],width:.9*a,height:"fit-content"})}):(0,F.jsx)(F.Fragment,{})]})},z=i(3388);function Z(t){const[e,i,o,n,r]=(0,c.Z)(),l=(0,y.MO)("whatmoreUITheme"),s=(0,y.MO)("whatmoreShowViews"),a=(0,y.MO)("whatmoreShopId"),d=t.PRODUCT_BOX_HEIGHT,p=t.PRODUCT_BOX_HEIGHT_IN_PX,h=t.PRODUCT_BOX_MARGIN,[x,m,f]=(0,j.YD)({triggerOnce:!0}),g=t.event;t.isOnFocus;return(0,F.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,F.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-between",alignItems:"center"},children:[(0,F.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-start",alignItems:"center",width:"100%"},onClick:()=>{t.onClick(g)},children:"show"===s?(0,F.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px"},children:(0,F.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center"},children:(0,F.jsx)(P.Z,{event:g,fontSize:.07*i+"px"})})}):(0,F.jsx)(F.Fragment,{})}),(0,F.jsx)("div",{style:{display:"flex",width:"100%",height:e-d+"px"},onClick:()=>{t.onClick(g)}}),(0,z.xg)(g,a)?(0,F.jsx)("div",{style:{position:"relative",zIndex:1,bottom:h+"px",display:"flex",flexFlow:"column nowrap",justifyContent:"center",alignItems:"center",width:.95*i,height:p,marginLeft:h+"px",marginRight:h+"px",backgroundColor:"white",borderRadius:"round"==l?"5px":"0px",borderWidth:(0,u.alU)(a),borderColor:(0,u.qPe)(a),paddingLeft:"5px",paddingRight:"5px",overflow:"hidden"},children:(0,F.jsx)("div",{ref:x,children:m&&(0,u.PWD)(a)?(0,F.jsx)(R,{event:g,onClick:()=>{var e,i;(0,u.I6m)(a)?window.location.href=(i=null===(e=g.products)||void 0===e?void 0:e[0],(0,u.lj5)(a)?i.product_link+"?"+(0,u.awP)(a)+"&"+(0,u.n9s)(a)+"&"+(0,u.vaK)(a):i.product_link):t.onClick(g)}}):(0,F.jsx)("div",{height:"20px"})})}):(0,F.jsx)(F.Fragment,{})]})})}var L=function(t){var e,i,n;const[r,l,s,a,d]=(0,c.Z)();var p=(0,o.useContext)(f.V);const h=(0,y.MO)("whatmoreUITheme"),x=(0,y.MO)("whatmoreShopId"),m=(0,y.MO)("whatmoreSecondaryColorShade600"),g=t.event,w=t.onClick,j=null===(e=t.isOnFocus)||void 0===e||e,P=null!==(i=t.playOnUnfocus)&&void 0!==i&&i,C=null!==(n=t.animateOnFocus&&(0,u.iWI)(x))&&void 0!==n&&n,b=(0,u.IXJ)(x)?.7:.8,I=r*b+"px",S=1-b,k=r*S,O=r*S+"px",M=r*S*.1,_=(0,u.nzC)(x);return(0,F.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:"round"==h?_:null,borderWidth:(0,u.alU)(x),borderColor:(0,u.qPe)(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,F.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"flex-start",alignItems:"center"},className:"whatmore-template-b-event-tile",onClick:()=>{w(g)},children:[(0,F.jsx)(v.Z,{height:I,width:"100%",url:g.thumbnail_image,isPlaying:j||P,event:g}),(0,u.wxm)(x)&&(0,z.xg)(g,x)?(0,F.jsx)("div",{style:{width:"100%",height:O,backgroundColor:m}}):(0,F.jsx)(F.Fragment,{})]}),(0,u.wxm)(x)&&(0,F.jsx)(Z,{event:g,isOnFocus:j,PRODUCT_BOX_HEIGHT:k,PRODUCT_BOX_HEIGHT_IN_PX:O,PRODUCT_BOX_MARGIN:M,onClick:w})]})},T=i(778),W=i(4522),U=i(7381);const B=(0,a.Z)({key:"whatmore-css-hv"});function A(t){const[e,i,n]=(0,c.Z)(),r=(0,y.MO)("whatmoreShopId"),l=t.events,s=t.onClick,a=n*(0,u.u6l)(r),{whatmoreWidgetSourceDetails:p}=(0,o.useContext)(g.I);return(0,F.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,F.jsx)("div",{style:{width:window.innerWidth,height:"fit-content"},children:(0,F.jsx)(d.tq,{slidesPerView:l.length>1?a:1,initialSlide:l.length>1?1:0,centeredSlides:!0,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:.5,onSlideChange:t=>{(0,W.y4)({userInteractionType:T.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:p})},loop:(0,u.yBw)(r),children:l.map((t=>(0,F.jsx)(d.o5,{children:e=>{let{isActive:i,isPrev:o,isNext:n,isVisible:r}=e;return o||n||i?(0,F.jsx)(L,{isOnFocus:i&&r,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{s(t)}}):(0,F.jsx)(w.Z,{})}},"whatmore-event-tile-portrait-"+t.index)))})})})}function D(t){const[e,i,n,r]=(0,c.Z)(),[l,s]=(0,o.useState)(-1),a=(0,y.MO)("whatmoreShopId"),h=t.onClick,x=t.events,f=Math.min(n,x.length),{whatmoreWidgetSourceDetails:v}=(0,o.useContext)(g.I);return(0,F.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:r+"px",paddingRight:r+"px"},children:(0,F.jsx)("div",{style:{width:i*f*1.1+"px"},children:(0,F.jsx)(d.tq,{slidesPerView:f,watchSlidesProgress:!0,modules:[p.W_],navigation:!0,slidesPerGroup:parseInt(f),onSlideChange:()=>{(0,W.y4)({userInteractionType:T.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:v})},spaceBetween:(0,u.WGf)(a),loop:(0,u.yBw)(a),children:x.map(((t,e)=>{const i=m()((()=>s(e)),300);return(0,F.jsx)(d.o5,{onMouseEnter:()=>{i()},onMouseLeave:()=>{i.cancel(),s(-1)},children:i=>{let{isActive:o,isPrev:n,isNext:r,isVisible:s}=i;return s?(0,F.jsx)(L,{isOnFocus:e==l,playOnUnfocus:!(0,u.dHy)(a)||e==parseInt(f/2)&&-1==l,animateOnFocus:!0,event:t,onClick:()=>{h(t)}}):(0,F.jsx)(w.Z,{})}},"whatmore-event-tile-landscape-"+t.index)}))})})})}var E=function(t){const[e,i,a]=(0,h.Z)(),[d]=(0,y.j1)("whatmorePrimaryColor"),[p]=(0,y.j1)("whatmoreShopId"),[c]=(0,y.j1)("whatmoreSecondaryColor"),[x]=(0,y.j1)("whatmoreTitleFont"),m="portrait"==e?(0,y.MO)("whatmoreTitleFontSizePortrait"):(0,y.MO)("whatmoreTitleFontSize"),{whatmoreRootId:u}=(0,o.useContext)(g.I),w=((0,y.MO)("isInDesignMode"),t.events),v=t.onClick,j=x,P=(0,y.MO)("whatmoreCollectionHeading"),{whatmoreIsCollectionsTemplate:C}=(0,o.useContext)(g.I);function b(t){v(t)}function I(t){const e=t.indexOf(" ",t.indexOf(" ")+1);return-1===e?[t,""]:[t.substring(0,e),t.substring(e)]}return(0,o.useEffect)((()=>{(0,U.Oo)("Video shopping powered by Whatmore!")}),[]),(0,o.useEffect)((()=>{l.IR.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.ZP.styles.global,(0,F.jsx)(s.C,{value:B,children:(0,F.jsx)("div",{className:"whatmore-carousel-events",children:(0,F.jsx)(n.x,{theme:r.ZP,cssVarsRoot:u,resetCSS:!1,children:(0,F.jsxs)(f.V.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,F.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,F.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family",j,"important"),t.style.setProperty("font-size",m+"px","important"))},style:{color:d,backgroundClip:"text",textAlign:"center"},children:C?"W"!==P?P:"":t.heading})}):(0,F.jsx)(F.Fragment,{}),"10588815418"==p||"2310668401"==p||"10648977444"==p?(0,F.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"left"},children:(0,F.jsxs)("div",{style:{display:"flex",gap:"4px"},children:[(0,F.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family",j,"important"),t.style.setProperty("font-size",m+"px","important"))},style:{color:d,backgroundClip:"text",textAlign:"center",fontStyle:"normal"},children:C?"W"!==P?P:"":I(t.heading)[0]}),(0,F.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family","Austin Text SemiBold Trial","important"),t.style.setProperty("font-size",m+"px","important"))},style:{color:d,backgroundClip:"text",textAlign:"center"},children:C?"W"!==P?P:"":I(t.heading)[1]})]})}):(0,F.jsx)(F.Fragment,{}),"landscape"===e?(0,F.jsx)(D,{events:w,onClick:b}):(0,F.jsx)(A,{events:w,onClick:b})]})})})})}},1092:function(t,e,i){var o=i(237),n=i(9854),r=i(7753),l=i(6417);function s(t){return t<1e3?t:t<1e5?(t/1e3).toFixed(0)+"K":(t/1e5).toFixed(0)+"L"}e.Z=function(t){const e=(0,r.MO)("whatmoreUITheme"),i=(0,r.MO)("whatmoreShopId"),a=(0,r.MO)("whatmorePrimaryFont"),d=t.event,p=t.fontSize;if(d.total_views<=0)return(0,l.jsx)(l.Fragment,{});const c=(0,n.S_M)(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.XCH)(i),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,n.alU)(i),borderColor:(0,n.qPe)(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.Z,{sx:{color:(0,n.aLw)(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.aLw)(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.XCH)(i),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,n.alU)(i),borderColor:(0,n.qPe)(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.aLw)(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}},7129:function(t,e,i){i.d(e,{V:function(){return o}});const o=(0,i(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},1855:function(t,e,i){var o=i(7313),n=i(9821),r=i(7129),l=i(7753),s=i(6417);e.Z=function(t){var[e,i]=(0,n.Z)();(0,o.useContext)(r.V);const a=(0,l.MO)("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"}})}},9363:function(t,e,i){i.d(e,{$:function(){return l},s:function(){return r}});var o=i(9854),n=i(7753);function r(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const i=(0,n.MO)("whatmoreShopId");return"shopify"!=(0,o.Ipo)(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}},5456:function(t,e,i){i.d(e,{B: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))}},8816:function(t,e,i){var o=i(5318);e.Z=void 0;var n=o(i(5045)),r=i(6417),l=(0,n.default)((0,r.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star");e.Z=l},417:function(t,e,i){var o=i(5318);e.Z=void 0;var n=o(i(5045)),r=i(6417),l=(0,n.default)((0,r.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarHalf");e.Z=l},4885:function(t,e,i){var o=i(5318);e.Z=void 0;var n=o(i(5045)),r=i(6417),l=(0,n.default)((0,r.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarOutline");e.Z=l},237:function(t,e,i){var o=i(5318);e.Z=void 0;var n=o(i(5045)),r=i(6417),l=(0,n.default)((0,r.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");e.Z=l},5892:function(){},4444:function(){},1811:function(){},7850:function(){}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see carousel-template-f.2d8e07e4.chunk.js.LICENSE.txt */
2
+ (self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[116],{9085:function(e,t,o){"use strict";o.r(t),o.d(t,{default:function(){return N}});var r=o(7313),n=(o(3439),o(6090)),i=o(32),s=o(7616),l=(o(6143),o(4444),o(7244),o(123),o(5892),o(9302)),a=o(2575),c=o(9821),d=o(8866),p=o(2279),u=o.n(p),h=o(7753),x=o(7129),m=o(1855),f=o(9854),v=o(364),y=o(4522),g=o(778),C=o(4892),M=o(5945),S=o(9219),w=o(6805),P=o(8984),D=o(7053),j=o(5416),R=o(6417);var O=function(e){var t,o,n,i,s,l,a,d,p,u,m,v;const[y,g,O,b,T]=(0,c.Z)(),B=(0,h.MO)("whatmoreShopId"),I="portrait"===T[w.YP],N=(I?1.076*g*(0,f.pEd)(B):g*(0,f.H4g)(B))+"px",$=(I?1.076*g*(0,f.pEd)(B):g*(0,f.H4g)(B))+"px",U=(I?.965*g*(0,f.pEd)(B):.859*g*(0,f.H4g)(B))+"px",[E,F]=(0,r.useState)(e.event),L=(0,h.MO)("whatmoreSecondaryColor");var A=(0,r.useContext)(x.V);const K=null===(t=e.isOnFocus)||void 0===t||t,k=null!==(o=e.playOnUnfocus)&&void 0!==o&&o,G=e.onClick,Y=(0,h.MO)("whatmoreUITheme"),Z=null!==(n=e.animateOnFocus&&(0,f.iWI)(B))&&void 0!==n&&n,[W,H]=(0,r.useState)(!1),V=(0,h.MO)("whatmorePrimaryFont"),X=Math.round(+(null===(i=E.products[0])||void 0===i?void 0:i.price)),z=Math.round(+(null===(s=E.products[0])||void 0===s?void 0:s.compare_price)),_=z&&0!=z&&z>X?Math.round((z-X)/z*100):NaN,[J,Q]=(0,r.useState)(_),[q,ee]=(0,r.useState)(),te="55143268394"===B;return(0,r.useEffect)((()=>{(0,f.N8M)(B)&&(0,S.p_)(E,(0,f.Ipo)(B),B).then((e=>{var t,o,r;F(e),(null===e||void 0===e||null===(t=e.products)||void 0===t||null===(o=t[0])||void 0===o?void 0:o.discount)&&Q(null===e||void 0===e||null===(r=e.products[0])||void 0===r?void 0:r.discount),H(!0)}));(async()=>{var e;const t=await(0,D.p)(null===E||void 0===E||null===(e=E.products)||void 0===e?void 0:e[0],(0,f.Ipo)(B),B);ee(t),H(!0)})()}),[]),(0,R.jsxs)("div",{ref:e=>{e&&(e.style.setProperty("margin-top",A.tileTopMargin+"px"),e.style.setProperty("margin-bottom",A.tileBottomMMargin+"px"))},className:Z&&!I?K?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",style:{margin:"0 auto",cursor:"pointer",width:g},onClick:()=>{G(E)},children:[(0,R.jsx)("div",{style:{borderRadius:"round"==Y?"5%":"0px",boxShadow:"round"==Y?"0px 0px 5px 0px #B0B0B0":null,height:y,borderWidth:(0,f.alU)(B),borderColor:(0,f.qPe)(B),overflow:"hidden"},children:(0,R.jsx)(C.Z,{height:(0,f.dXm)(B)+" !important",width:"100%",url:E.thumbnail_image,isPlaying:K||k||(0,P.gE)(),event:E})}),(0,R.jsxs)("div",{style:{display:(0,f.pvY)(B)?"flex":"none",flexDirection:"column",padding:"12px 4px",gap:te?"8px":"5px",alignItems:te?"center":"flex-start"},children:[(0,R.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-size","62636458233"==B?"14px":N,"important"),e.style.setProperty("line-height","120%","important"),e.style.setProperty("font-family",V,"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,M.s)(null===(l=E.products[0])||void 0===l?void 0:l.title)}),W&&(0,f.QaY)(B)&&(0,R.jsxs)("div",{style:{display:"flex",gap:"12px",flexDirection:(0,f.$zZ)(B)?"row":"row-reverse",justifyContent:te?"center":(0,f.$zZ)(B)?"flex-start":"flex-end"},children:[(0,R.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,f.Uyp)(B),"important"),e.style.setProperty("font-size","62636458233"==B?"14px":$,"important"),e.style.setProperty("font-family",V,"important"),e.style.setProperty("overflow","hidden","important"))},style:{textAlign:"left",fontWeight:"normal"==(0,f.rPP)(B)?"normal":"bold"},children:(0,S.jx)(parseFloat((0,j.G)()?null===q||void 0===q?void 0:q.price:null===E||void 0===E||null===(a=E.products)||void 0===a||null===(d=a[0])||void 0===d?void 0:d.price)," ",B,null===(p=E.products[0])||void 0===p?void 0:p.currency)}),!isNaN(z)&&z>X&&(0,R.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,f.kPs)(B),"important"),e.style.setProperty("font-size","62636458233"==B?"14px":$,"important"),e.style.setProperty("font-family",V,"important"),e.style.setProperty("overflow","hidden","important"))},style:{textDecoration:"line-through",alignItems:te?"center":void 0},children:(0,S.jx)(parseFloat((0,j.G)()?null===q||void 0===q?void 0:q.compare_at_price:null===E||void 0===E||null===(u=E.products)||void 0===u||null===(m=u[0])||void 0===m?void 0:m.compare_price)," ",B,null===(v=E.products[0])||void 0===v?void 0:v.currency)})]}),((0,f.QaY)(B)&&!isNaN(J)&&0!=J&&W||te)&&(0,R.jsx)("div",{style:{display:(0,f.aKo)(B)?"flex":"none",backgroundColor:te?L:"green"===(0,f.ZJm)(B)?"#343434"===L?(0,f.ZJm)(B):L:(0,f.ZJm)(B),alignItems:"center",justifyContent:te?"center":void 0,borderRadius:te?"25px":(0,f.CF_)(B)+"px",width:te?.5*g:"fit-content",padding:(0,f.Spx)(B)?te?"12px 12px":"3px 6px":"0px",margin:te?"0 auto":void 0,textAlign:te?"center":void 0,height:te?"7%":void 0},children:(0,f.Spx)(B)?(0,R.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,f.mso)(B),"important"),e.style.setProperty("font-size",U,"important"),e.style.setProperty("font-family",V,"important"),e.style.setProperty("font-weight",te?"600":"normal","important"))},children:te?"BUY NOW":`${J}% Off`}):(0,R.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,f.aUT)(B),"important"),e.style.setProperty("font-size",U,"important"),e.style.setProperty("font-family",(0,f.V3Y)(B),"important"))},children:(0,f.sG7)(B)})})]})]})},b=o(7381);const T=(0,a.Z)({key:"whatmore-css-hv"});function B(e){const[t,o,n]=(0,c.Z)(),i=(0,h.MO)("whatmoreShopId"),s=e.events,l=e.onClick,{whatmoreWidgetSourceDetails:a}=(0,r.useContext)(v.I),d=Math.ceil(n),p=2*d,[u,x]=(0,r.useState)(p),[C,M]=(0,r.useState)(2*d),S=0===(0,f.WGf)(i)?24:(0,f.WGf)(i),[w,P]=(0,r.useState)({touchX:0,touchY:0}),D=()=>(0,R.jsx)("div",{style:{width:"50px",borderRadius:"50%",height:"50px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,R.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-right-portrait"})}),j=()=>(0,R.jsx)("div",{style:{width:"50px",borderRadius:"50%",height:"50px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,R.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-left-portrait"})}),b=e=>{if("next"===e){const e=2;M((e=>Math.min(e+Math.floor(n),s.length+d+1))),x((t=>Math.min(t+e,s.length+d+1)))}else M((e=>Math.max(e-Math.floor(n),p)));(0,y.y4)({userInteractionType:g.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:a})};return(0,R.jsxs)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"flex-start",paddingLeft:"12px",overflow:"hidden",position:"relative"},onTouchStart:e=>{P({touchX:e.touches[0].clientX,touchY:e.touches[0].clientY})},onTouchEnd:e=>{var t,o,r,n;const i=(null===(t=e.changedTouches)||void 0===t||null===(o=t[0])||void 0===o?void 0:o.clientX)-w.touchX,s=(null===(r=e.changedTouches)||void 0===r||null===(n=r[0])||void 0===n?void 0:n.clientY)-w.touchY;Math.sqrt(i**2+s**2)>10&&Math.abs(i)>Math.abs(s)&&b(i>0?"prev":"next")},children:[(0,f.Yxs)(i)&&(0,R.jsxs)(R.Fragment,{children:[C<=s.length+d&&(0,R.jsx)("div",{onClick:()=>b("next"),style:{position:"absolute",zIndex:1,top:"50%",right:"0",transform:"translateY(-100%)"},children:(0,R.jsx)(D,{})}),C>2*d&&(0,R.jsx)("div",{onClick:()=>b("prev"),style:{position:"absolute",left:"0",zIndex:1,top:"50%",transform:"translateY(-100%)"},children:(0,R.jsx)(j,{})})]}),(0,R.jsx)("div",{style:{display:"flex",gap:S,transform:`translateX(-${(C-p)*(o+S)}px)`,transition:"transform 0.4s ease-in-out"},children:s.map(((e,t)=>t<u?(0,R.jsx)("div",{children:(0,R.jsx)(O,{isOnFocus:t<=C-d-1&&t>=Math.max(0,C-p),playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>l(e)})},`whatmore-carousel-tile-${t}`):(0,R.jsx)(m.Z,{})))})]})}function I(e){const[t,o,n,i]=(0,c.Z)(),[s,l]=(0,r.useState)(-1),a=(0,h.MO)("whatmoreShopId"),[d,p]=(0,r.useState)("next"),x=e.onClick,m=e.events,{whatmoreWidgetSourceDetails:C}=(0,r.useContext)(v.I),M=Math.min(Math.ceil(n),m.length),[S,w]=(0,r.useState)(0),P=0===(0,f.WGf)(a)?24:(0,f.WGf)(a),D=()=>(0,R.jsx)("div",{children:(0,R.jsx)("button",{onClick:B,style:{width:"50px",borderRadius:"6px",height:"100px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,R.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-right"})})}),j=()=>(0,R.jsx)("div",{children:(0,R.jsx)("button",{onClick:T,style:{width:"50px",borderRadius:"6px",height:"100px",backgroundColor:"rgba(0, 0, 0, 0.3)"},children:(0,R.jsx)("div",{style:{display:"flex"},className:"whatmore-arrow-left"})})});(0,r.useEffect)((()=>{S<=M&&w((e=>e+M))}),[M]);const b=()=>{l(-1)},T=()=>{S!==M&&(p("prev"),w((e=>Math.max(Math.ceil(e-n),M))),(0,y.y4)({userInteractionType:g.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:C}))},B=()=>{S>m.length+n||(p("next"),w((e=>Math.floor(e+n))),(0,y.y4)({userInteractionType:g.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:C}))},I=S>m.length?m.length-M+1:S-M,N=S>=m.length?m.length:I+M,$=m.slice(I,N);return(0,R.jsxs)("div",{className:"whatmore-events-carousel-landscape",style:{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:`${i}px`,paddingRight:`${i}px`},children:[m.length>=n-1&&m.length>4&&(0,R.jsx)("div",{style:{position:"absolute",left:i+"px",zIndex:1,top:"50%",transform:"translateY(-65%)"},children:S!==M&&(0,R.jsx)(j,{})}),(0,R.jsx)("div",{style:{display:"flex",gap:P+"px",width:o*n*(0,f.Su5)(a)+"px",justifyContent:m.length<=n-1||m.length<5?"center":"flex-start",overflow:"hidden"},children:$.map(((e,t)=>{const o=`whatmore-event-tile-landscape-${e.index}${t===M-1?"-last":""}`,r=t===s;return(0,R.jsx)("div",{className:"whatmore-event-tile-horizontal-swipe-animation-"+("next"===d?"next":"prev"),onMouseEnter:()=>(e=>{const t=u()((()=>l(e)),300);return t(),t.cancel})(t),onMouseLeave:b,children:(0,R.jsx)(O,{isOnFocus:r,playOnUnfocus:!0,animateOnFocus:!0,event:e,onClick:()=>(e=>{x(e)})(e)})},o)}))}),m.length>=n-1&&m.length>4&&(0,R.jsx)("div",{style:{position:"absolute",zIndex:1,top:"50%",right:i+"px",transform:"translateY(-65%)"},children:S<=m.length&&(0,R.jsx)(D,{})})]})}var N=function(e){const[t,o,a]=(0,d.Z)(),[c]=(0,h.j1)("whatmoreShopId"),[p]=(0,h.j1)("whatmorePrimaryColor"),[u]=(0,h.j1)("whatmoreSecondaryColor"),[m]=(0,h.j1)("whatmoreTitleFont"),y="portrait"==t?(0,h.MO)("whatmoreTitleFontSizePortrait"):(0,h.MO)("whatmoreTitleFontSize"),{whatmoreRootId:g}=(0,r.useContext)(v.I),C=((0,h.MO)("isInDesignMode"),(0,h.MO)("whatmoreCollectionHeading")),{whatmoreIsCollectionsTemplate:M}=(0,r.useContext)(v.I),S=e.events,w=e.onClick,P=m;function D(e){w(e)}return(0,r.useEffect)((()=>{(0,b.Oo)("Video shopping powered by Whatmore!")}),[]),(0,r.useEffect)((()=>{i.IR.forEach((e=>{var t;const o=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-f"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-f"]');if(!o)return;o&&e&&(e.style.minHeight="0px")}))}),[]),delete s.ZP.styles.global,(0,R.jsx)(l.C,{value:T,children:(0,R.jsx)("div",{className:"whatmore-carousel-events",children:(0,R.jsx)(n.x,{theme:s.ZP,cssVarsRoot:g,resetCSS:!1,children:(0,R.jsxs)(x.V.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0||M?(0,R.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"62636458233"==c?"flex-start":"center"},children:(0,R.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",P,"important"),e.style.setProperty("font-size",y+"px","important"))},style:{color:p,backgroundClip:"text",textAlign:"center",fontWeight:(0,f.wOV)(c),lineHeight:(0,f.vY4)(c),letterSpacing:(0,f.X2K)(c)},children:M?"W"!==C?C:"":e.heading})}):(0,R.jsx)(R.Fragment,{}),"landscape"===t?(0,R.jsx)(I,{events:S,onClick:D}):(0,R.jsx)(B,{events:S,onClick:D})]})})})})}},7129:function(e,t,o){"use strict";o.d(t,{V:function(){return r}});const r=(0,o(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},1855:function(e,t,o){"use strict";var r=o(7313),n=o(9821),i=o(7129),s=o(7753),l=o(6417);t.Z=function(e){var[t,o]=(0,n.Z)();(0,r.useContext)(i.V);const a=(0,s.MO)("whatmoreShopId");return e.event,(0,l.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"}})}},6040:function(e,t,o){const r=o(500);e.exports=function(e){if("string"!==typeof e)return;const t=e.toUpperCase();return Object.prototype.hasOwnProperty.call(r,t)?r[t]:void 0},e.exports.currencySymbolMap=r},500:function(e){e.exports={AED:"\u062f.\u0625",AFN:"\u060b",ALL:"L",AMD:"\u058f",ANG:"\u0192",AOA:"Kz",ARS:"$",AUD:"$",AWG:"\u0192",AZN:"\u20bc",BAM:"KM",BBD:"$",BDT:"\u09f3",BGN:"\u043b\u0432",BHD:".\u062f.\u0628",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BOV:"BOV",BRL:"R$",BSD:"$",BTC:"\u20bf",BTN:"Nu.",BWP:"P",BYN:"Br",BYR:"Br",BZD:"BZ$",CAD:"$",CDF:"FC",CHE:"CHE",CHF:"CHF",CHW:"CHW",CLF:"CLF",CLP:"$",CNH:"\xa5",CNY:"\xa5",COP:"$",COU:"COU",CRC:"\u20a1",CUC:"$",CUP:"\u20b1",CVE:"$",CZK:"K\u010d",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"\u062f\u062c",EEK:"kr",EGP:"\xa3",ERN:"Nfk",ETB:"Br",ETH:"\u039e",EUR:"\u20ac",FJD:"$",FKP:"\xa3",GBP:"\xa3",GEL:"\u20be",GGP:"\xa3",GHC:"\u20b5",GHS:"GH\u20b5",GIP:"\xa3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20aa",IMP:"\xa3",INR:"\u20b9",IQD:"\u0639.\u062f",IRR:"\ufdfc",ISK:"kr",JEP:"\xa3",JMD:"J$",JOD:"JD",JPY:"\xa5",KES:"KSh",KGS:"\u043b\u0432",KHR:"\u17db",KMF:"CF",KPW:"\u20a9",KRW:"\u20a9",KWD:"KD",KYD:"$",KZT:"\u20b8",LAK:"\u20ad",LBP:"\xa3",LKR:"\u20a8",LRD:"$",LSL:"M",LTC:"\u0141",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"\u0434\u0435\u043d",MMK:"K",MNT:"\u20ae",MOP:"MOP$",MRO:"UM",MRU:"UM",MUR:"\u20a8",MVR:"Rf",MWK:"MK",MXN:"$",MXV:"MXV",MYR:"RM",MZN:"MT",NAD:"$",NGN:"\u20a6",NIO:"C$",NOK:"kr",NPR:"\u20a8",NZD:"$",OMR:"\ufdfc",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20b1",PKR:"\u20a8",PLN:"z\u0142",PYG:"Gs",QAR:"\ufdfc",RMB:"\uffe5",RON:"lei",RSD:"\u0414\u0438\u043d.",RUB:"\u20bd",RWF:"R\u20a3",SAR:"\ufdfc",SBD:"$",SCR:"\u20a8",SDG:"\u062c.\u0633.",SEK:"kr",SGD:"S$",SHP:"\xa3",SLL:"Le",SOS:"S",SRD:"$",SSP:"\xa3",STD:"Db",STN:"Db",SVC:"$",SYP:"\xa3",SZL:"E",THB:"\u0e3f",TJS:"SM",TMT:"T",TND:"\u062f.\u062a",TOP:"T$",TRL:"\u20a4",TRY:"\u20ba",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20b4",UGX:"USh",USD:"$",UYI:"UYI",UYU:"$U",UYW:"UYW",UZS:"\u043b\u0432",VEF:"Bs",VES:"Bs.S",VND:"\u20ab",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"\u0243",XCD:"$",XOF:"CFA",XPF:"\u20a3",XSU:"Sucre",XUA:"XUA",YER:"\ufdfc",ZAR:"R",ZMW:"ZK",ZWD:"Z$",ZWL:"$"}},3439:function(){},5892:function(){},4444:function(){},8507:function(e,t){"use strict";function o(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)e[r]=o[r]}return e}var r=function e(t,r){function n(e,n,i){if("undefined"!==typeof document){"number"===typeof(i=o({},r,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var l in i)i[l]&&(s+="; "+l,!0!==i[l]&&(s+="="+i[l].split(";")[0]));return document.cookie=e+"="+t.write(n,e)+s}}return Object.create({set:n,get:function(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var o=document.cookie?document.cookie.split("; "):[],r={},n=0;n<o.length;n++){var i=o[n].split("="),s=i.slice(1).join("=");try{var l=decodeURIComponent(i[0]);if(r[l]=t.read(s,l),e===l)break}catch(a){}}return e?r[e]:r}},remove:function(e,t){n(e,"",o({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,o({},this.attributes,t))},withConverter:function(t){return e(o({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});t.Z=r}}]);
@@ -0,0 +1,16 @@
1
+ /*! For license information please see carousel-template-feed.2a46447b.chunk.js.LICENSE.txt */
2
+ (self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[796],{4362:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return F}});var i=n(7313),r=n(8675),o=n(6090),a=n(7616),s=(n(6143),n(7244),n(123),n(9302)),l=n(2575),d=n(3271),c=n(8866),u=n(7753),h=n(7129),p=n(9854),m=n(364),f=n(9821),x=n(3933),g=n(6417);function v(t){var e;const{ref:n,inView:i,entry:r}=(0,x.YD)({triggerOnce:!1}),o=null!==(e=t.defaultHeight)&&void 0!==e?e:"fit-content";return(0,g.jsx)(d.Kq,{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.Z)(),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.Kq,{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(7300),C=(n(4920),n(3439),n(4892)),j=n(1092),b=n(5945),M=n(9219),S=n(7053);var T=function(t){var e,n,r,o,a,s,[l,d]=(0,f.Z)();const[c,h]=(0,i.useState)(0),[m,x]=(0,i.useState)(t.event),[v]=(0,u.j1)("whatmoreShopId"),y=(0,u.j1)("whatmoreUITheme"),[w]=(0,u.j1)("whatmorePrimaryFont"),C=m.products.length,[j,T]=(0,i.useState)(),[D,P]=(0,i.useState)(!1);if(0==C)return(0,g.jsx)(g.Fragment,{});(0,i.useEffect)((()=>{const t=setInterval((()=>{h((t=>(t+1)%C))}),3e3);return()=>{clearInterval(t)}}),[]),(0,i.useEffect)((()=>{(0,p.N8M)(v)&&(0,M.p_)(m,(0,p.Ipo)(v),v).then((t=>{x(t),P(!0)}));(async()=>{var t;const e=await(0,S.p)(null===m||void 0===m||null===(t=m.products)||void 0===t?void 0:t[0],(0,p.Ipo)(v),v);T(e),P(!0)})()}),[]);const R=.08*d+"px",I=.075*d+"px",F=(+m.products[c].price).toFixed(),L=(+m.products[c].compare_price).toFixed();return(0,g.jsxs)("div",{style:{background:(0,p.Ys7)(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",R,"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,b.s)(m.products[c].title)}),(0,g.jsxs)("div",{style:{display:"flex",gap:"4px"},children:[D&&(0,g.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","black","important"),t.style.setProperty("font-size",I,"important"),t.style.setProperty("font-family",w,"important"),t.style.setProperty("overflow","hidden","important"))},style:{textAlign:"left",fontWeight:"bold"},children:(0,M.jx)(parseFloat(null!==(e=null===j||void 0===j?void 0:j.price)&&void 0!==e?e:null===m||void 0===m||null===(n=m.products)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.price)," ",v,m.products[c].currency)}),!isNaN(L)&&L>F&&D&&(0,g.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","#808191","important"),t.style.setProperty("font-size",I,"important"),t.style.setProperty("font-family",w,"important"),t.style.setProperty("overflow","hidden","important"))},style:{fontWeight:"bold",textDecoration:"line-through"},children:(0,M.jx)(parseFloat(null!==(o=null===j||void 0===j?void 0:j.compare_at_price)&&void 0!==o?o:null===m||void 0===m||null===(a=m.products)||void 0===a||null===(s=a[0])||void 0===s?void 0:s.compare_price)," ",v,m.products[c].currency)})]})]})},D=n(8984);function P(t){const[e,n]=(0,f.Z)(),[i]=(0,u.j1)("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)(j.Z,{event:r,fontSize:.07*n+"px"})})}):(0,g.jsx)(g.Fragment,{})})})})})}var R=function(t){var e,n,r;const[o,a]=(0,f.Z)();var s=(0,i.useContext)(h.V);const l=(0,u.MO)("whatmoreUITheme"),d=(0,u.MO)("whatmoreSecondaryColor"),c=(0,u.MO)("whatmoreShopId"),m=t.event,v=t.onClick,y=null===(e=t.isOnFocus)||void 0===e||e,w=null!==(n=t.playOnUnfocus)&&void 0!==n&&n,j=null!==(r=t.animateOnFocus&&(0,p.iWI)(c))&&void 0!==r&&r,[b,M,S]=(0,x.YD)({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,p.en2)(c),borderColor:"white"==(0,p.qPe)(c)?d:(0,p.qPe)(c),overflow:"hidden",cursor:"pointer"},className:j?y?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{v(m)},children:[(0,g.jsx)(C.Z,{height:"100%",width:"100%",url:m.thumbnail_image,isPlaying:y||w||(0,D.gE)(),event:m}),(0,g.jsxs)("div",{style:{width:a,height:o},ref:b,children:[(0,g.jsx)(P,{event:m,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:M&&(0,p.PWD)(c)?(0,g.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,g.jsx)(T,{event:m})}):(0,g.jsx)("div",{height:"20px"})})]})})]})]})};const I=(0,l.Z)({key:"whatmore-css-hv"});var F=function(t){var e;const[n,l,x]=(0,c.Z)(),[v,C,j]=(0,f.Z)(),[b]=(0,u.j1)("whatmoreShopId"),[M]=(0,u.j1)("whatmorePrimaryColor"),[S]=(0,u.j1)("whatmoreTitleFont"),T="portrait"==n?(0,u.MO)("whatmoreTitleFontSizePortrait"):(0,u.MO)("whatmoreTitleFontSize"),{whatmoreRootId:D}=(0,i.useContext)(m.I),P=t.events,F=t.onClick,L=null!==(e=(0,p.aRS)(b))&&void 0!==e?e:S;function O(t){F(t)}const U=parseInt(Math.floor(j));return delete a.ZP.styles.global,(0,g.jsx)(s.C,{value:I,children:(0,g.jsx)("div",{className:"whatmore-carousel-events-feed",children:(0,g.jsx)(o.x,{theme:a.ZP,cssVarsRoot:D,resetCSS:!1,children:(0,g.jsxs)(h.V.Provider,{value:{tileTopMargin:3,tileBottomMMargin:3,tileLeftMargin:3,tileRightMargin:3,showPlayButton:!1},children:[t.heading.trim().length>0?(0,g.jsx)(d.M5,{paddingBottom:"28px",children:(0,g.jsx)(d.xv,{bgColor:M,bgClip:"text",fontSize:T,sx:{fontFamily:L+" !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.B6)(e)||(0,w.WJ)(e)?(0,g.jsx)(R,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{O(e)}}):(0,g.jsx)(r.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{O(e)}})})},dataList:P,elementsPerRow:U}):(0,g.jsx)(y,{renderElement:t=>{const e=t.eventData;return(0,g.jsx)("div",{style:{margin:"10px"},children:(0,g.jsx)(R,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{O(e)}})})},dataList:P,elementsPerRow:U})]})})})})}},8675:function(t,e,n){"use strict";n.d(e,{Z:function(){return g}});var i=n(3271),r=n(5098),o=n(7313),a=n(9821),s=n(2634),l=n(5180),d=n(686);const c=d.F4`
3
+ 0% {
4
+ transform: scale(1);
5
+ }
6
+ 100% {
7
+ transform: scale(1.05);
8
+ }
9
+ `,u=d.F4`
10
+ 0% {
11
+ transform: scale(1.05);
12
+ }
13
+ 100% {
14
+ transform: scale(1);
15
+ }
16
+ `,h=`\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`,p=`\n ${u}; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n`;var m=n(7753),f=n(7129),x=n(6417);var g=function(t){var e,n,[d,c]=(0,a.Z)();const[u]=(0,m.j1)("whatmorePrimaryFont");var g=(0,o.useContext)(f.V);const v=t.event,y=t.onClick,w=null===(e=t.isOnFocus)||void 0===e||e,C=(t.playOnUnfocus,null!==(n=t.animateOnFocus)&&void 0!==n&&n);return(0,x.jsxs)(i.xu,{animation:C?w?h:p:"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.Ee,{width:"full",height:"full",src:v.thumbnail_image,objectFit:"cover",fallback:(0,x.jsx)(l.Z,{width:c,height:d}),borderRadius:"lg"}),(0,x.jsx)(i.xu,{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.Kq,{direction:"column",height:"full",width:"full",justifyContent:"space-between",children:[(0,x.jsx)(i.xu,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-t, transparent, blackAlpha.200, blackAlpha.400, blackAlpha.600)",children:(0,x.jsx)(i.Kq,{direction:"column",justifyContent:"flex-start",children:(0,x.jsx)(i.xu,{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px",children:(0,x.jsx)(i.Kq,{direction:"row",justifyContent:"space-between",children:(0,x.jsx)(s.Z,{event:v,fontSize:.05*d+"px",maxWidth:.8*c})})})})}),(0,x.jsx)(i.xu,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-b, transparent, blackAlpha.300, blackAlpha.400, blackAlpha.500, blackAlpha.600)",children:(0,x.jsx)(i.Kq,{direction:"column",width:"full",height:"full",justifyContent:"flex-end",alignContent:"center",children:(0,x.jsx)(i.xu,{width:"full",borderRadius:"lg",children:(0,x.jsxs)(i.Kq,{direction:"column",justifyContent:"space-between",alignContent:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px",children:[(0,x.jsx)(i.xv,{color:"white",fontSize:.08*c+"px",fontWeight:"normal",align:"left",children:" "}),(0,x.jsx)(i.xv,{fontSize:.08*c+"px",fontWeight:"normal",align:"left",sx:{fontFamily:u+" !important",color:"white !important"},children:v.title.substring(0,40)}),(0,x.jsx)(i.xv,{fontSize:.08*c+"px",fontWeight:"bold",align:"left",sx:{fontFamily:u+" !important",color:"white !important"},children:v.presenter_name.substring(0,15)})]})})})})]})})]})}},2634:function(t,e,n){"use strict";var i=n(3271),r=n(4897),o=n(499),a=n(6417);e.Z=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:u}=r.Z.getEventStatus(n);return d.name===o.Z.LIVE.name?(0,a.jsx)(i.xu,{maxWidth:l,width:"fit-content",borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"tomato",color:d.color,children:(0,a.jsx)(i.Kq,{direction:"row",justifyContent:"flex-start",width:"fit-content",alignContent:"center",paddingLeft:"2px",paddingRight:"2px",children:(0,a.jsx)(i.xv,{fontSize:s,fontWeight:"bold",color:"white",children:c})})}):(0,a.jsx)(i.xu,{maxWidth:l,borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"white",color:d.color,children:(0,a.jsx)(i.Kq,{direction:"row",justifyContent:"flex-start",width:"fit-content",alignContent:"center",children:(0,a.jsx)(i.xv,{fontSize:s,fontWeight:"medium",children:c})})})}},499:function(t,e){"use strict";e.Z={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"}}},4897:function(t,e,n){"use strict";var i=n(499);e.Z=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.Z.LIVE.name)return{status:i.Z.LIVE,bannerText:" "+i.Z.LIVE.name+" ",timeToStartInMins:0};if(o.toUpperCase()==i.Z.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.Z.COMPLETED,bannerText:" "+i.Z.COMPLETED.name+" ",timeToStartInMins:0}:n>=1&&n<=30?{status:i.Z.UPCOMING,bannerText:"Starts in "+Math.round(n)+" sec ",timeToStartInMins:n/60}:r<60?{status:i.Z.UPCOMING,bannerText:"Starts in "+Math.round(r)+" min ",timeToStartInMins:r}:o<24?{status:i.Z.UPCOMING,bannerText:"Starts in "+Math.round(o)+" hr ",timeToStartInMins:60*o}:a<7?{status:i.Z.UPCOMING,bannerText:" "+["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][t.getDay()]+" ",timeToStartInMins:60*a*24}:{status:i.Z.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.Z.DEFAULT,bannerText:"live event",timeToStartInMins:2880}}}},6040:function(t,e,n){const i=n(500);t.exports=function(t){if("string"!==typeof t)return;const e=t.toUpperCase();return Object.prototype.hasOwnProperty.call(i,e)?i[e]:void 0},t.exports.currencySymbolMap=i},500:function(t){t.exports={AED:"\u062f.\u0625",AFN:"\u060b",ALL:"L",AMD:"\u058f",ANG:"\u0192",AOA:"Kz",ARS:"$",AUD:"$",AWG:"\u0192",AZN:"\u20bc",BAM:"KM",BBD:"$",BDT:"\u09f3",BGN:"\u043b\u0432",BHD:".\u062f.\u0628",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BOV:"BOV",BRL:"R$",BSD:"$",BTC:"\u20bf",BTN:"Nu.",BWP:"P",BYN:"Br",BYR:"Br",BZD:"BZ$",CAD:"$",CDF:"FC",CHE:"CHE",CHF:"CHF",CHW:"CHW",CLF:"CLF",CLP:"$",CNH:"\xa5",CNY:"\xa5",COP:"$",COU:"COU",CRC:"\u20a1",CUC:"$",CUP:"\u20b1",CVE:"$",CZK:"K\u010d",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"\u062f\u062c",EEK:"kr",EGP:"\xa3",ERN:"Nfk",ETB:"Br",ETH:"\u039e",EUR:"\u20ac",FJD:"$",FKP:"\xa3",GBP:"\xa3",GEL:"\u20be",GGP:"\xa3",GHC:"\u20b5",GHS:"GH\u20b5",GIP:"\xa3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20aa",IMP:"\xa3",INR:"\u20b9",IQD:"\u0639.\u062f",IRR:"\ufdfc",ISK:"kr",JEP:"\xa3",JMD:"J$",JOD:"JD",JPY:"\xa5",KES:"KSh",KGS:"\u043b\u0432",KHR:"\u17db",KMF:"CF",KPW:"\u20a9",KRW:"\u20a9",KWD:"KD",KYD:"$",KZT:"\u20b8",LAK:"\u20ad",LBP:"\xa3",LKR:"\u20a8",LRD:"$",LSL:"M",LTC:"\u0141",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"\u0434\u0435\u043d",MMK:"K",MNT:"\u20ae",MOP:"MOP$",MRO:"UM",MRU:"UM",MUR:"\u20a8",MVR:"Rf",MWK:"MK",MXN:"$",MXV:"MXV",MYR:"RM",MZN:"MT",NAD:"$",NGN:"\u20a6",NIO:"C$",NOK:"kr",NPR:"\u20a8",NZD:"$",OMR:"\ufdfc",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20b1",PKR:"\u20a8",PLN:"z\u0142",PYG:"Gs",QAR:"\ufdfc",RMB:"\uffe5",RON:"lei",RSD:"\u0414\u0438\u043d.",RUB:"\u20bd",RWF:"R\u20a3",SAR:"\ufdfc",SBD:"$",SCR:"\u20a8",SDG:"\u062c.\u0633.",SEK:"kr",SGD:"S$",SHP:"\xa3",SLL:"Le",SOS:"S",SRD:"$",SSP:"\xa3",STD:"Db",STN:"Db",SVC:"$",SYP:"\xa3",SZL:"E",THB:"\u0e3f",TJS:"SM",TMT:"T",TND:"\u062f.\u062a",TOP:"T$",TRL:"\u20a4",TRY:"\u20ba",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20b4",UGX:"USh",USD:"$",UYI:"UYI",UYU:"$U",UYW:"UYW",UZS:"\u043b\u0432",VEF:"Bs",VES:"Bs.S",VND:"\u20ab",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"\u0243",XCD:"$",XOF:"CFA",XPF:"\u20a3",XSU:"Sucre",XUA:"XUA",YER:"\ufdfc",ZAR:"R",ZMW:"ZK",ZWD:"Z$",ZWL:"$"}},8507:function(t,e){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}var i=function t(e,i){function r(t,r,o){if("undefined"!==typeof document){"number"===typeof(o=n({},i,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=t+"="+e.write(r,t)+a}}return Object.create({set:r,get:function(t){if("undefined"!==typeof document&&(!arguments.length||t)){for(var n=document.cookie?document.cookie.split("; "):[],i={},r=0;r<n.length;r++){var o=n[r].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(i[s]=e.read(a,s),t===s)break}catch(l){}}return t?i[t]:i}},remove:function(t,e){r(t,"",n({},e,{expires:-1}))},withAttributes:function(e){return t(this.converter,n({},this.attributes,e))},withConverter:function(e){return t(n({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(i)},converter:{value:Object.freeze(e)}})}({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});e.Z=i}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[892],{9515:function(e,t,o){o.r(t);var i=o(7313),n=o(6090),r=o(7616),l=o(32),s=(o(6143),o(7850),o(4444),o(7244),o(123),o(5892),o(1811),o(9302)),a=o(2575),d=o(2210),p=o(8486),c=o(9821),u=o(8866),h=o(2279),m=o.n(h),y=o(7753),v=o(7129),x=o(1855),f=o(9854),g=o(364),w=o(4920),P=o(4522),j=o(778),S=o(7381),C=(o(9069),o(6417));const I=(0,a.Z)({key:"whatmore-css-hv"});function M(e){const[t,o,n]=(0,c.Z)(),r=(0,y.MO)("whatmoreShopId"),l=e.events,s=e.onClick,a=n*(0,f.u6l)(r),p=(0,f.yBw)(r),[u,h]=(0,i.useState)(p?l.length:a),{whatmoreWidgetSourceDetails:m}=(0,i.useContext)(g.I);return(0,i.useEffect)((()=>{u<=a&&h((e=>e+a))}),[a]),(0,C.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,C.jsx)("div",{style:{width:window.innerWidth,height:"fit-content"},children:(0,C.jsx)(d.tq,{slidesPerView:2,initialSlide:0,centeredSlides:!1,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:1,onSlideChange:e=>{(0,P.y4)({userInteractionType:j.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:m}),e.realIndex>e.previousIndex&&h((e=>e+a))},loop:p,children:l.map(((e,t)=>t<=u&&(0,C.jsx)(d.o5,{children:t=>{let{isActive:o,isPrev:i,isNext:n,isVisible:r}=t;return i||n||o?(0,C.jsx)(w.Z,{isOnFocus:r,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{s(e)}}):(0,C.jsx)(x.Z,{})}},"whatmore-event-tile-portrait-"+e.index)))})})})}function O(e){const[t,o,n,r]=(0,c.Z)(),[l,s]=(0,i.useState)(-1),a=(0,y.MO)("whatmoreShopId"),u=e.onClick,h=e.events,v=(0,f.yBw)(a),[S,I]=(0,i.useState)(v?h.length:n),M=Math.min(n,h.length),{whatmoreWidgetSourceDetails:O}=(0,i.useContext)(g.I),b=(0,i.useRef)(null);return(0,i.useEffect)((()=>{if(b.current){const e=o*M*(0,f.Su5)(a)+"px";h.length<4?b.current.style.setProperty("width",e,"important"):b.current.style.width=e}}),[o,M,a,S,h.length]),(0,i.useEffect)((()=>{S<=n&&I((e=>e+n))}),[n]),(0,C.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",paddingLeft:r+"px",paddingRight:r+"px"},className:"whatmore-events-carousel-landscape",children:(0,C.jsx)("div",{ref:b,style:{height:"100%"},children:(0,C.jsx)(d.tq,{slidesPerView:M,watchSlidesProgress:!0,modules:[p.W_],navigation:!0,slidesPerGroup:parseInt(M),onSlideChange:e=>{(0,P.y4)({userInteractionType:j.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:O}),e.realIndex>e.previousIndex&&I((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<=S&&(0,C.jsx)(d.o5,{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,C.jsx)(w.Z,{isOnFocus:t==l,playOnUnfocus:!(0,f.dHy)(a)||t==parseInt(M/2)&&-1==l,animateOnFocus:!0,event:e,onClick:()=>{u(e)}}):(0,C.jsx)(x.Z,{})}},"whatmore-event-tile-landscape-"+e.index)}))})})})}t.default=function(e){const[t,o,a]=(0,u.Z)(),[d]=(0,y.j1)("whatmoreShopId"),[p]=(0,y.j1)("whatmorePrimaryColor"),[c]=(0,y.j1)("whatmoreTitleFont"),h="portrait"==t?(0,y.MO)("whatmoreTitleFontSizePortrait"):(0,y.MO)("whatmoreTitleFontSize"),{whatmoreRootId:m}=(0,i.useContext)(g.I),x=(0,y.MO)("whatmoreCollectionHeading"),{whatmoreIsCollectionsTemplate:w}=(0,i.useContext)(g.I),P=e.events,j=e.onClick,b=c;function k(e){j(e)}return(0,i.useEffect)((()=>{(0,S.Oo)("Video shopping powered by Whatmore!")}),[]),(0,i.useEffect)((()=>{l.IR.forEach((e=>{var t;const o=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-g"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-g"]');if(!o)return;o&&e&&(e.style.minHeight="0px")}))}),[]),delete r.ZP.styles.global,(0,C.jsx)(s.C,{value:I,children:(0,C.jsx)("div",{className:"whatmore-carousel-events",style:{height:"100%"},children:(0,C.jsx)(n.x,{theme:r.ZP,cssVarsRoot:m,resetCSS:!1,children:(0,C.jsxs)(v.V.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0||w?(0,C.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,C.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",b,"important"),e.style.setProperty("font-size",h+"px","important"))},style:{color:p,backgroundClip:"text",textAlign:"center",fontWeight:(0,f.wOV)(d),lineHeight:(0,f.vY4)(d),letterSpacing:(0,f.X2K)(d)},children:w?"W"!==x?x:"":e.heading})}):(0,C.jsx)(C.Fragment,{}),"landscape"===t?(0,C.jsx)(O,{events:P,onClick:k}):(0,C.jsx)(M,{events:P,onClick:k})]})})})})}},1855:function(e,t,o){var i=o(7313),n=o(9821),r=o(7129),l=o(7753),s=o(6417);t.Z=function(e){var[t,o]=(0,n.Z)();(0,i.useContext)(r.V);const a=(0,l.MO)("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"}})}},9069:function(e,t,o){var i=o(7313),n=o(9821),r=(o(3439),o(7753)),l=o(4892),s=o(7129),a=o(6805),d=o(9854),p=o(364),c=o(9219),u=o(5945),h=o(7053),m=o(6417);t.Z=function(e){var t,o,y,v,x,f,g,w,P,j,S,C,I,M,O,b,k,E,Z;const[F,_,N,R,W]=(0,n.Z)();var T=(0,i.useContext)(s.V);const D=(0,r.MO)("whatmoreUITheme"),z=(0,r.MO)("whatmoreShopId"),V=(0,r.MO)("whatmorePrimaryFont"),U=(0,r.MO)("whatmoreSecondaryColor"),H=e.onClick,A=null===(t=e.isOnFocus)||void 0===t||t,B=null!==(o=e.playOnUnfocus)&&void 0!==o&&o,G=null!==(y=e.animateOnFocus&&(0,d.iWI)(z))&&void 0!==y&&y,q="portrait"===W[a.YP],L=(q?1.076*_*(0,d.pEd)(z):_*(0,d.H4g)(z))+"px",Y=(q?1.076*_*(0,d.pEd)(z):_*(0,d.H4g)(z))+"px",J=(q?.965*_*(0,d.pEd)(z):.859*_*(0,d.H4g)(z))+"px",K=(0,d.nzC)(z),{whatmoreIsPreviewMode:X}=(0,i.useContext)(p.I),$=.25*_,Q=$+"px",[ee,te]=(0,i.useState)(e.event),[oe,ie]=(0,i.useState)(),ne=Math.round(+(null===(v=ee.products)||void 0===v||null===(x=v[0])||void 0===x?void 0:x.price)),re=Math.round(+(null===ee||void 0===ee||null===(f=ee.products[0])||void 0===f?void 0:f.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.N8M)(z)&&(0,c.p_)(ee,(0,d.Ipo)(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.p)(null===ee||void 0===ee||null===(e=ee.products)||void 0===e?void 0:e[0],(0,d.Ipo)(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:_,height:q&&A?"STR2FOC6KG9"==z||"STRDOIDF6O7"==z?F:1.1*F:F,borderRadius:"round"==D?"5px":"0px",boxShadow:"round"==D?K:null,borderWidth:(0,d.alU)(z),borderColor:(0,d.qPe)(z),overflow:"hidden",cursor:"pointer"},className:G?A?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{H(ee)},children:(0,m.jsx)(l.Z,{height:(0,d.dXm)(z)+" !important",width:"100%",url:ee.thumbnail_image,isPlaying:A||B,event:ee})}),"STRSJFOP1GI"!=z&&(0,m.jsxs)("div",{onClick:()=>{H(ee)},className:G?A?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",style:{cursor:"pointer",display:"flex",gap:"6px",padding:"16px 12px"},children:[(X?(0,d.uU$)(z):(0,d.EIj)(z))&&(0,m.jsx)("div",{style:{maxWidth:Q,minWidth:null!==(g=ee.products)&&void 0!==g&&null!==(w=g[0])&&void 0!==w&&w.thumbnail_image?Q:"0",overflow:"hidden"},children:(0,m.jsx)("img",{ref:e=>{e&&e.style.setProperty("object-fit",(0,d.yOX)(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",{style:{display:"flex",flexDirection:"column",gap:"5px"},children:[(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-size",L,"important"),e.style.setProperty("line-height","120%","important"),e.style.setProperty("font-family",V,"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.s)(null===(S=ee.products[0])||void 0===S?void 0:S.title)}),(0,d.QaY)(z)&&(0,m.jsxs)("div",{style:{display:"flex",gap:"12px",flexDirection:(0,d.$zZ)(z)?"row":"row-reverse",justifyContent:(0,d.$zZ)(z)?"flex-start":"flex-end"},children:[(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.Uyp)(z),"important"),e.style.setProperty("font-size",Y,"important"),e.style.setProperty("font-family",V,"important"),e.style.setProperty("overflow","hidden","important"))},style:{textAlign:"left",fontWeight:"normal"==(0,d.rPP)(z)?"normal":"bold"},children:(0,c.jx)(parseFloat(null!==(C=null===oe||void 0===oe?void 0:oe.price)&&void 0!==C?C:null===ee||void 0===ee||null===(I=ee.products)||void 0===I||null===(M=I[0])||void 0===M?void 0:M.price)," ",z,null===(O=ee.products[0])||void 0===O?void 0:O.currency)}),!isNaN(re)&&re>ne&&(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.kPs)(z),"important"),e.style.setProperty("font-size",Y,"important"),e.style.setProperty("font-family",V,"important"),e.style.setProperty("overflow","hidden","important"))},style:{textDecoration:"line-through"},children:(0,c.jx)(parseFloat(null!==(b=null===oe||void 0===oe?void 0:oe.compare_at_price)&&void 0!==b?b:null===ee||void 0===ee||null===(k=ee.products)||void 0===k||null===(E=k[0])||void 0===E?void 0:E.compare_price)," ",z,null===(Z=ee.products[0])||void 0===Z?void 0:Z.currency)})]}),(0,d.QaY)(z)&&!isNaN(se)&&0!=se&&(0,m.jsx)("div",{style:{display:"flex",backgroundColor:"green"==(0,d.ZJm)(z)?"#343434"==U?(0,d.ZJm)(z):U:(0,d.ZJm)(z),alignItems:"center",borderRadius:(0,d.CF_)(z)+"px",width:"fit-content",padding:(0,d.Spx)(z)?"3px 6px":"0px"},children:(0,d.Spx)(z)?(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.mso)(z),"important"),e.style.setProperty("font-size",J,"important"),e.style.setProperty("font-family",V,"important"))},children:"".concat(se,"% Off")}):(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.aUT)(z),"important"),e.style.setProperty("font-size",J,"important"),e.style.setProperty("font-family",(0,d.V3Y)(z),"important"))},children:(0,d.sG7)(z)})})]})]})]})}},5892:function(){},4444:function(){},1811:function(){},7850:function(){}}]);
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[892],{9515:function(e,t,o){o.r(t);var i=o(7313),n=o(6090),r=o(7616),l=o(32),s=(o(6143),o(7850),o(4444),o(7244),o(123),o(5892),o(1811),o(9302)),a=o(2575),d=o(2210),p=o(8486),c=o(9821),u=o(8866),h=o(2279),m=o.n(h),y=o(7753),v=o(7129),x=o(1855),f=o(9854),g=o(364),w=o(4920),P=o(4522),j=o(778),S=o(7381),C=(o(9069),o(6417));const I=(0,a.Z)({key:"whatmore-css-hv"});function M(e){const[t,o,n]=(0,c.Z)(),r=(0,y.MO)("whatmoreShopId"),l=e.events,s=e.onClick,a=n*(0,f.u6l)(r),p=(0,f.yBw)(r),[u,h]=(0,i.useState)(p?l.length:a),{whatmoreWidgetSourceDetails:m}=(0,i.useContext)(g.I);return(0,i.useEffect)((()=>{u<=a&&h((e=>e+a))}),[a]),(0,C.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,C.jsx)("div",{style:{width:window.innerWidth,height:"fit-content"},children:(0,C.jsx)(d.tq,{slidesPerView:2,initialSlide:0,centeredSlides:!1,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:1,onSlideChange:e=>{(0,P.y4)({userInteractionType:j.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:m}),e.realIndex>e.previousIndex&&h((e=>e+a))},loop:p,children:l.map(((e,t)=>t<=u&&(0,C.jsx)(d.o5,{children:t=>{let{isActive:o,isPrev:i,isNext:n,isVisible:r}=t;return i||n||o?(0,C.jsx)(w.Z,{isOnFocus:r,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{s(e)}}):(0,C.jsx)(x.Z,{})}},"whatmore-event-tile-portrait-"+e.index)))})})})}function O(e){const[t,o,n,r]=(0,c.Z)(),[l,s]=(0,i.useState)(-1),a=(0,y.MO)("whatmoreShopId"),u=e.onClick,h=e.events,v=(0,f.yBw)(a),[S,I]=(0,i.useState)(v?h.length:n),M=Math.min(n,h.length),{whatmoreWidgetSourceDetails:O}=(0,i.useContext)(g.I),b=(0,i.useRef)(null);return(0,i.useEffect)((()=>{if(b.current){const e=o*M*(0,f.Su5)(a)+"px";h.length<4?b.current.style.setProperty("width",e,"important"):b.current.style.width=e}}),[o,M,a,S,h.length]),(0,i.useEffect)((()=>{S<=n&&I((e=>e+n))}),[n]),(0,C.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",paddingLeft:r+"px",paddingRight:r+"px"},className:"whatmore-events-carousel-landscape",children:(0,C.jsx)("div",{ref:b,style:{height:"100%"},children:(0,C.jsx)(d.tq,{slidesPerView:M,watchSlidesProgress:!0,modules:[p.W_],navigation:!0,slidesPerGroup:parseInt(M),onSlideChange:e=>{(0,P.y4)({userInteractionType:j.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:O}),e.realIndex>e.previousIndex&&I((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<=S&&(0,C.jsx)(d.o5,{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,C.jsx)(w.Z,{isOnFocus:t==l,playOnUnfocus:!(0,f.dHy)(a)||t==parseInt(M/2)&&-1==l,animateOnFocus:!0,event:e,onClick:()=>{u(e)}}):(0,C.jsx)(x.Z,{})}},"whatmore-event-tile-landscape-"+e.index)}))})})})}t.default=function(e){const[t,o,a]=(0,u.Z)(),[d]=(0,y.j1)("whatmoreShopId"),[p]=(0,y.j1)("whatmorePrimaryColor"),[c]=(0,y.j1)("whatmoreTitleFont"),h="portrait"==t?(0,y.MO)("whatmoreTitleFontSizePortrait"):(0,y.MO)("whatmoreTitleFontSize"),{whatmoreRootId:m}=(0,i.useContext)(g.I),x=(0,y.MO)("whatmoreCollectionHeading"),{whatmoreIsCollectionsTemplate:w}=(0,i.useContext)(g.I),P=e.events,j=e.onClick,b=c;function k(e){j(e)}return(0,i.useEffect)((()=>{(0,S.Oo)("Video shopping powered by Whatmore!")}),[]),(0,i.useEffect)((()=>{l.IR.forEach((e=>{var t;const o=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-g"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-g"]');if(!o)return;o&&e&&(e.style.minHeight="0px")}))}),[]),delete r.ZP.styles.global,(0,C.jsx)(s.C,{value:I,children:(0,C.jsx)("div",{className:"whatmore-carousel-events",style:{height:"100%"},children:(0,C.jsx)(n.x,{theme:r.ZP,cssVarsRoot:m,resetCSS:!1,children:(0,C.jsxs)(v.V.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0||w?(0,C.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,C.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",b,"important"),e.style.setProperty("font-size",h+"px","important"))},style:{color:p,backgroundClip:"text",textAlign:"center",fontWeight:(0,f.wOV)(d),lineHeight:(0,f.vY4)(d),letterSpacing:(0,f.X2K)(d)},children:w?"W"!==x?x:"":e.heading})}):(0,C.jsx)(C.Fragment,{}),"landscape"===t?(0,C.jsx)(O,{events:P,onClick:k}):(0,C.jsx)(M,{events:P,onClick:k})]})})})})}},1855:function(e,t,o){var i=o(7313),n=o(9821),r=o(7129),l=o(7753),s=o(6417);t.Z=function(e){var[t,o]=(0,n.Z)();(0,i.useContext)(r.V);const a=(0,l.MO)("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"}})}},9069:function(e,t,o){var i=o(7313),n=o(9821),r=(o(3439),o(7753)),l=o(4892),s=o(7129),a=o(6805),d=o(9854),p=o(364),c=o(9219),u=o(5945),h=o(7053),m=o(6417);t.Z=function(e){var t,o,y,v,x,f,g,w,P,j,S,C,I,M,O,b,k,E,Z;const[F,_,N,R,W]=(0,n.Z)();var T=(0,i.useContext)(s.V);const D=(0,r.MO)("whatmoreUITheme"),z=(0,r.MO)("whatmoreShopId"),V=(0,r.MO)("whatmorePrimaryFont"),U=(0,r.MO)("whatmoreSecondaryColor"),H=e.onClick,A=null===(t=e.isOnFocus)||void 0===t||t,B=null!==(o=e.playOnUnfocus)&&void 0!==o&&o,G=null!==(y=e.animateOnFocus&&(0,d.iWI)(z))&&void 0!==y&&y,q="portrait"===W[a.YP],L=(q?1.076*_*(0,d.pEd)(z):_*(0,d.H4g)(z))+"px",Y=(q?1.076*_*(0,d.pEd)(z):_*(0,d.H4g)(z))+"px",J=(q?.965*_*(0,d.pEd)(z):.859*_*(0,d.H4g)(z))+"px",K=(0,d.nzC)(z),{whatmoreIsPreviewMode:$}=(0,i.useContext)(p.I),X=.25*_,Q=X+"px",[ee,te]=(0,i.useState)(e.event),[oe,ie]=(0,i.useState)(),ne=Math.round(+(null===(v=ee.products)||void 0===v||null===(x=v[0])||void 0===x?void 0:x.price)),re=Math.round(+(null===ee||void 0===ee||null===(f=ee.products[0])||void 0===f?void 0:f.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.N8M)(z)&&(0,c.p_)(ee,(0,d.Ipo)(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.p)(null===ee||void 0===ee||null===(e=ee.products)||void 0===e?void 0:e[0],(0,d.Ipo)(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:_,height:q&&A?"STR2FOC6KG9"==z||"STRDOIDF6O7"==z?F:1.1*F:F,borderRadius:"round"==D?"5px":"0px",boxShadow:"round"==D?K:null,borderWidth:(0,d.alU)(z),borderColor:(0,d.qPe)(z),overflow:"hidden",cursor:"pointer"},className:G?A?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{H(ee)},children:(0,m.jsx)(l.Z,{height:(0,d.dXm)(z)+" !important",width:"100%",url:ee.thumbnail_image,isPlaying:A||B,event:ee})}),"STRSJFOP1GI"!=z&&(0,m.jsxs)("div",{onClick:()=>{H(ee)},className:G?A?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",style:{cursor:"pointer",display:"flex",gap:"6px",padding:"16px 12px"},children:[($?(0,d.uU$)(z):(0,d.EIj)(z))&&(0,m.jsx)("div",{style:{maxWidth:Q,minWidth:null!==(g=ee.products)&&void 0!==g&&null!==(w=g[0])&&void 0!==w&&w.thumbnail_image?Q:"0",overflow:"hidden"},children:(0,m.jsx)("img",{ref:e=>{e&&e.style.setProperty("object-fit",(0,d.yOX)(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",{style:{display:"flex",flexDirection:"column",gap:"5px"},children:[(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-size",L,"important"),e.style.setProperty("line-height","120%","important"),e.style.setProperty("font-family",V,"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.s)(null===(S=ee.products[0])||void 0===S?void 0:S.title)}),(0,d.QaY)(z)&&(0,m.jsxs)("div",{style:{display:"flex",gap:"12px",flexDirection:(0,d.$zZ)(z)?"row":"row-reverse",justifyContent:(0,d.$zZ)(z)?"flex-start":"flex-end"},children:[(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.Uyp)(z),"important"),e.style.setProperty("font-size",Y,"important"),e.style.setProperty("font-family",V,"important"),e.style.setProperty("overflow","hidden","important"))},style:{textAlign:"left",fontWeight:"normal"==(0,d.rPP)(z)?"normal":"bold"},children:(0,c.jx)(parseFloat(null!==(C=null===oe||void 0===oe?void 0:oe.price)&&void 0!==C?C:null===ee||void 0===ee||null===(I=ee.products)||void 0===I||null===(M=I[0])||void 0===M?void 0:M.price)," ",z,null===(O=ee.products[0])||void 0===O?void 0:O.currency)}),!isNaN(re)&&re>ne&&(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.kPs)(z),"important"),e.style.setProperty("font-size",Y,"important"),e.style.setProperty("font-family",V,"important"),e.style.setProperty("overflow","hidden","important"))},style:{textDecoration:"line-through"},children:(0,c.jx)(parseFloat(null!==(b=null===oe||void 0===oe?void 0:oe.compare_at_price)&&void 0!==b?b:null===ee||void 0===ee||null===(k=ee.products)||void 0===k||null===(E=k[0])||void 0===E?void 0:E.compare_price)," ",z,null===(Z=ee.products[0])||void 0===Z?void 0:Z.currency)})]}),(0,d.QaY)(z)&&!isNaN(se)&&0!=se&&(0,m.jsx)("div",{style:{display:"flex",backgroundColor:"green"==(0,d.ZJm)(z)?"#343434"==U?(0,d.ZJm)(z):U:(0,d.ZJm)(z),alignItems:"center",borderRadius:(0,d.CF_)(z)+"px",width:"fit-content",padding:(0,d.Spx)(z)?"3px 6px":"0px"},children:(0,d.Spx)(z)?(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.mso)(z),"important"),e.style.setProperty("font-size",J,"important"),e.style.setProperty("font-family",V,"important"))},children:`${se}% Off`}):(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.aUT)(z),"important"),e.style.setProperty("font-size",J,"important"),e.style.setProperty("font-family",(0,d.V3Y)(z),"important"))},children:(0,d.sG7)(z)})})]})]})]})}},5892:function(){},4444:function(){},1811:function(){},7850:function(){}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[562],{4784:function(e,t,o){o.r(t);var i=o(7313),n=o(6090),r=o(7616),l=o(32),s=(o(6143),o(7850),o(4444),o(7244),o(123),o(5892),o(1811),o(9302)),a=o(2575),d=o(2210),p=o(8486),c=o(9821),u=o(8866),h=o(2279),m=o.n(h),y=o(7753),v=o(7129),x=o(1855),f=o(9854),g=o(364),w=o(4522),P=o(778),j=o(7381),S=o(9069),C=o(6417);const M=(0,a.Z)({key:"whatmore-css-hv"});function I(e){const[t,o,n]=(0,c.Z)(),r=(0,y.MO)("whatmoreShopId"),l=e.events,s=e.onClick,a=n*(0,f.u6l)(r),p=(0,f.yBw)(r),[u,h]=(0,i.useState)(p?l.length:a),{whatmoreWidgetSourceDetails:m}=(0,i.useContext)(g.I);return(0,i.useEffect)((()=>{u<=a&&h((e=>e+a))}),[a]),(0,C.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,C.jsx)("div",{style:{width:window.innerWidth,height:"fit-content"},children:(0,C.jsx)(d.tq,{slidesPerView:l.length>1?a:1,initialSlide:l.length>1?1:0,centeredSlides:!0,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:.5,onSlideChange:e=>{(0,w.y4)({userInteractionType:P.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:m}),e.realIndex>e.previousIndex&&h((e=>e+a))},loop:p,children:l.map(((e,t)=>t<=u&&(0,C.jsx)(d.o5,{children:t=>{let{isActive:o,isPrev:i,isNext:n,isVisible:r}=t;return i||n||o?(0,C.jsx)(S.Z,{isOnFocus:o&&r,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{s(e)}}):(0,C.jsx)(x.Z,{})}},"whatmore-event-tile-portrait-"+e.index)))})})})}function O(e){const[t,o,n,r]=(0,c.Z)(),[l,s]=(0,i.useState)(-1),a=(0,y.MO)("whatmoreShopId"),u=e.onClick,h=e.events,v=(0,f.yBw)(a),[j,M]=(0,i.useState)(v?h.length:n),I=Math.min(n,h.length),{whatmoreWidgetSourceDetails:O}=(0,i.useContext)(g.I),b=(0,i.useRef)(null);return(0,i.useEffect)((()=>{if(b.current){const e=o*I*(0,f.Su5)(a)+"px";h.length<4?b.current.style.setProperty("width",e,"important"):b.current.style.width=e}}),[o,I,a,j,h.length]),(0,i.useEffect)((()=>{j<=n&&M((e=>e+n))}),[n]),(0,C.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",paddingLeft:r+"px",paddingRight:r+"px"},className:"whatmore-events-carousel-landscape",children:(0,C.jsx)("div",{ref:b,style:{height:"100%"},children:(0,C.jsx)(d.tq,{slidesPerView:I,watchSlidesProgress:!0,modules:[p.W_],navigation:!0,slidesPerGroup:parseInt(I),onSlideChange:e=>{(0,w.y4)({userInteractionType:P.K.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:O}),e.realIndex>e.previousIndex&&M((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,C.jsx)(d.o5,{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,C.jsx)(S.Z,{isOnFocus:t==l,playOnUnfocus:!(0,f.dHy)(a)||t==parseInt(I/2)&&-1==l,animateOnFocus:!0,event:e,onClick:()=>{u(e)}}):(0,C.jsx)(x.Z,{})}},"whatmore-event-tile-landscape-"+e.index)}))})})})}t.default=function(e){const[t,o,a]=(0,u.Z)(),[d]=(0,y.j1)("whatmoreShopId"),[p]=(0,y.j1)("whatmorePrimaryColor"),[c]=(0,y.j1)("whatmoreTitleFont"),h="portrait"==t?(0,y.MO)("whatmoreTitleFontSizePortrait"):(0,y.MO)("whatmoreTitleFontSize"),{whatmoreRootId:m}=(0,i.useContext)(g.I),x=(0,y.MO)("whatmoreCollectionHeading"),{whatmoreIsCollectionsTemplate:w}=(0,i.useContext)(g.I),P=e.events,S=e.onClick,b=c;function k(e){S(e)}return(0,i.useEffect)((()=>{(0,j.Oo)("Video shopping powered by Whatmore!")}),[]),(0,i.useEffect)((()=>{l.IR.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.ZP.styles.global,(0,C.jsx)(s.C,{value:M,children:(0,C.jsx)("div",{className:"whatmore-carousel-events",style:{height:"100%"},children:(0,C.jsx)(n.x,{theme:r.ZP,cssVarsRoot:m,resetCSS:!1,children:(0,C.jsxs)(v.V.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0||w?(0,C.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,C.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",b,"important"),e.style.setProperty("font-size",h+"px","important"))},style:{color:p,backgroundClip:"text",textAlign:"center",fontWeight:(0,f.wOV)(d),lineHeight:(0,f.vY4)(d),letterSpacing:(0,f.X2K)(d)},children:w?"W"!==x?x:"":e.heading})}):(0,C.jsx)(C.Fragment,{}),"landscape"===t?(0,C.jsx)(O,{events:P,onClick:k}):(0,C.jsx)(I,{events:P,onClick:k})]})})})})}},7129:function(e,t,o){o.d(t,{V:function(){return i}});const i=(0,o(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},1855:function(e,t,o){var i=o(7313),n=o(9821),r=o(7129),l=o(7753),s=o(6417);t.Z=function(e){var[t,o]=(0,n.Z)();(0,i.useContext)(r.V);const a=(0,l.MO)("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"}})}},9069:function(e,t,o){var i=o(7313),n=o(9821),r=(o(3439),o(7753)),l=o(4892),s=o(7129),a=o(6805),d=o(9854),p=o(364),c=o(9219),u=o(5945),h=o(7053),m=o(6417);t.Z=function(e){var t,o,y,v,x,f,g,w,P,j,S,C,M,I,O,b,k,E,Z;const[F,_,N,R,T]=(0,n.Z)();var W=(0,i.useContext)(s.V);const D=(0,r.MO)("whatmoreUITheme"),V=(0,r.MO)("whatmoreShopId"),z=(0,r.MO)("whatmorePrimaryFont"),U=(0,r.MO)("whatmoreSecondaryColor"),B=e.onClick,H=null===(t=e.isOnFocus)||void 0===t||t,A=null!==(o=e.playOnUnfocus)&&void 0!==o&&o,G=null!==(y=e.animateOnFocus&&(0,d.iWI)(V))&&void 0!==y&&y,L="portrait"===T[a.YP],q=(L?1.076*_*(0,d.pEd)(V):_*(0,d.H4g)(V))+"px",Y=(L?1.076*_*(0,d.pEd)(V):_*(0,d.H4g)(V))+"px",J=(L?.965*_*(0,d.pEd)(V):.859*_*(0,d.H4g)(V))+"px",K=(0,d.nzC)(V),{whatmoreIsPreviewMode:$}=(0,i.useContext)(p.I),X=.25*_,Q=X+"px",[ee,te]=(0,i.useState)(e.event),[oe,ie]=(0,i.useState)(),ne=Math.round(+(null===(v=ee.products)||void 0===v||null===(x=v[0])||void 0===x?void 0:x.price)),re=Math.round(+(null===ee||void 0===ee||null===(f=ee.products[0])||void 0===f?void 0:f.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.N8M)(V)&&(0,c.p_)(ee,(0,d.Ipo)(V),V).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.p)(null===ee||void 0===ee||null===(e=ee.products)||void 0===e?void 0:e[0],(0,d.Ipo)(V),V);ie(t)})()}),[]),(0,m.jsxs)("div",{ref:e=>{e&&(e.style.setProperty("margin-top",W.tileTopMargin+"px","important"),e.style.setProperty("margin-bottom",W.tileBottomMMargin+"px","important"))},children:[(0,m.jsx)("div",{style:{margin:"0 auto",width:_,height:L&&H?"STR2FOC6KG9"==V||"STRDOIDF6O7"==V?F:1.1*F:F,borderRadius:"round"==D?"5px":"0px",boxShadow:"round"==D?K:null,borderWidth:(0,d.alU)(V),borderColor:(0,d.qPe)(V),overflow:"hidden",cursor:"pointer"},className:G?H?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{B(ee)},children:(0,m.jsx)(l.Z,{height:(0,d.dXm)(V)+" !important",width:"100%",url:ee.thumbnail_image,isPlaying:H||A,event:ee})}),"STRSJFOP1GI"!=V&&(0,m.jsxs)("div",{onClick:()=>{B(ee)},className:G?H?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",style:{cursor:"pointer",display:"flex",gap:"6px",padding:"16px 12px"},children:[($?(0,d.uU$)(V):(0,d.EIj)(V))&&(0,m.jsx)("div",{style:{maxWidth:Q,minWidth:null!==(g=ee.products)&&void 0!==g&&null!==(w=g[0])&&void 0!==w&&w.thumbnail_image?Q:"0",overflow:"hidden"},children:(0,m.jsx)("img",{ref:e=>{e&&e.style.setProperty("object-fit",(0,d.yOX)(V),"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",{style:{display:"flex",flexDirection:"column",gap:"5px"},children:[(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-size",q,"important"),e.style.setProperty("line-height","120%","important"),e.style.setProperty("font-family",z,"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.s)(null===(S=ee.products[0])||void 0===S?void 0:S.title)}),(0,d.QaY)(V)&&(0,m.jsxs)("div",{style:{display:"flex",gap:"12px",flexDirection:(0,d.$zZ)(V)?"row":"row-reverse",justifyContent:(0,d.$zZ)(V)?"flex-start":"flex-end"},children:[(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.Uyp)(V),"important"),e.style.setProperty("font-size",Y,"important"),e.style.setProperty("font-family",z,"important"),e.style.setProperty("overflow","hidden","important"))},style:{textAlign:"left",fontWeight:"normal"==(0,d.rPP)(V)?"normal":"bold"},children:(0,c.jx)(parseFloat(null!==(C=null===oe||void 0===oe?void 0:oe.price)&&void 0!==C?C:null===ee||void 0===ee||null===(M=ee.products)||void 0===M||null===(I=M[0])||void 0===I?void 0:I.price)," ",V,null===(O=ee.products[0])||void 0===O?void 0:O.currency)}),!isNaN(re)&&re>ne&&(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.kPs)(V),"important"),e.style.setProperty("font-size",Y,"important"),e.style.setProperty("font-family",z,"important"),e.style.setProperty("overflow","hidden","important"))},style:{textDecoration:"line-through"},children:(0,c.jx)(parseFloat(null!==(b=null===oe||void 0===oe?void 0:oe.compare_at_price)&&void 0!==b?b:null===ee||void 0===ee||null===(k=ee.products)||void 0===k||null===(E=k[0])||void 0===E?void 0:E.compare_price)," ",V,null===(Z=ee.products[0])||void 0===Z?void 0:Z.currency)})]}),(0,d.QaY)(V)&&!isNaN(se)&&0!=se&&(0,m.jsx)("div",{style:{display:"flex",backgroundColor:"green"==(0,d.ZJm)(V)?"#343434"==U?(0,d.ZJm)(V):U:(0,d.ZJm)(V),alignItems:"center",borderRadius:(0,d.CF_)(V)+"px",width:"fit-content",padding:(0,d.Spx)(V)?"3px 6px":"0px"},children:(0,d.Spx)(V)?(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.mso)(V),"important"),e.style.setProperty("font-size",J,"important"),e.style.setProperty("font-family",z,"important"))},children:`${se}% Off`}):(0,m.jsx)("p",{ref:e=>{e&&(e.style.setProperty("color",(0,d.aUT)(V),"important"),e.style.setProperty("font-size",J,"important"),e.style.setProperty("font-family",(0,d.V3Y)(V),"important"))},children:(0,d.sG7)(V)})})]})]})]})}},3439:function(){},5892:function(){},4444:function(){},1811:function(){},7850:function(){}}]);
@@ -0,0 +1,45 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[748],{8675:function(t,n,e){e.d(n,{Z:function(){return p}});var i=e(3271),r=e(5098),o=e(7313),a=e(9821),s=e(2634),l=e(5180),c=e(686);const d=c.F4`
2
+ 0% {
3
+ transform: scale(1);
4
+ }
5
+ 100% {
6
+ transform: scale(1.05);
7
+ }
8
+ `,h=c.F4`
9
+ 0% {
10
+ transform: scale(1.05);
11
+ }
12
+ 100% {
13
+ transform: scale(1);
14
+ }
15
+ `,u=`\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`,m=`\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 x=e(7753),f=e(7129),g=e(6417);var p=function(t){var n,e,[c,d]=(0,a.Z)();const[h]=(0,x.j1)("whatmorePrimaryFont");var p=(0,o.useContext)(f.V);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,g.jsxs)(i.xu,{animation:C?w?u:m:"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,g.jsx)(r.Ee,{width:"full",height:"full",src:j.thumbnail_image,objectFit:"cover",fallback:(0,g.jsx)(l.Z,{width:d,height:c}),borderRadius:"lg"}),(0,g.jsx)(i.xu,{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,g.jsxs)(i.Kq,{direction:"column",height:"full",width:"full",justifyContent:"space-between",children:[(0,g.jsx)(i.xu,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-t, transparent, blackAlpha.200, blackAlpha.400, blackAlpha.600)",children:(0,g.jsx)(i.Kq,{direction:"column",justifyContent:"flex-start",children:(0,g.jsx)(i.xu,{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px",children:(0,g.jsx)(i.Kq,{direction:"row",justifyContent:"space-between",children:(0,g.jsx)(s.Z,{event:j,fontSize:.05*c+"px",maxWidth:.8*d})})})})}),(0,g.jsx)(i.xu,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-b, transparent, blackAlpha.300, blackAlpha.400, blackAlpha.500, blackAlpha.600)",children:(0,g.jsx)(i.Kq,{direction:"column",width:"full",height:"full",justifyContent:"flex-end",alignContent:"center",children:(0,g.jsx)(i.xu,{width:"full",borderRadius:"lg",children:(0,g.jsxs)(i.Kq,{direction:"column",justifyContent:"space-between",alignContent:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px",children:[(0,g.jsx)(i.xv,{color:"white",fontSize:.08*d+"px",fontWeight:"normal",align:"left",children:" "}),(0,g.jsx)(i.xv,{fontSize:.08*d+"px",fontWeight:"normal",align:"left",sx:{fontFamily:h+" !important",color:"white !important"},children:j.title.substring(0,40)}),(0,g.jsx)(i.xv,{fontSize:.08*d+"px",fontWeight:"bold",align:"left",sx:{fontFamily:h+" !important",color:"white !important"},children:j.presenter_name.substring(0,15)})]})})})})]})})]})}},5523:function(t,n,e){e.r(n);var i=e(7313),r=e(8675),o=e(6090),a=e(7616),s=e(6306),l=(e(6143),e(7244),e(123),e(9302)),c=e(2575),d=e(3271),h=e(9821),u=e(8866),m=e(7753),x=e(9316),f=e(7129),g=e(9854),p=e(364),j=e(7300),v=e(4920),w=e(6417);const C=(0,c.Z)({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 M(t){var n;const[e,r]=(0,i.useState)(!1),[o,a]=(0,i.useState)(!1),[l]=(0,m.j1)("whatmoreSecondaryColorShade600"),[c]=(0,m.j1)("whatmoreSecondaryColorShade300"),[h]=(0,m.j1)("whatmorePrimaryFont"),u=(n=t.baseFontSize,t.onClick);return(0,w.jsxs)(d.xu,{display:"flex",alignItems:"center",width:"fit-content",height:"fit-content",boxShadow:"lg",borderRadius:"sm",backgroundColor:e?c:l,animation:o?x.mT:null,padding:"6px 10px",onClick:t=>{t.stopPropagation(),a(!0),u()},onMouseEnter:()=>{r(!0)},onMouseLeave:()=>{r(!1)},children:[(0,w.jsxs)(d.xv,{fontSize:"12px",fontWeight:"normal",sx:{fontFamily:h+" !important",color:"white !important"},children:["\xa0","VIEW MORE"]}),(0,w.jsx)(s.Z,{style:{color:"white",marginLeft:"2px"}})]})}function y(t){var n;const[e,o,a]=(0,h.Z)();var[s,l]=(0,i.useState)(0);const c=t.events,u=t.onClick,m=null!==(n=t.seeMoreIncrement)&&void 0!==n?n:1,x=b(c,Math.floor(Math.min(a,c.length)));return(0,w.jsx)(d.M5,{children:(0,w.jsxs)(d.Kq,{direction:"column",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:[(0,w.jsx)(w.Fragment,{children:x.map(((t,n)=>n>s?(0,w.jsx)(w.Fragment,{}):(0,w.jsx)(d.Kq,{direction:"row",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:t.map(((t,n)=>(0,w.jsx)(d.xu,{style:{margin:"10px"},children:(0,j.B6)(t)||(0,j.WJ)(t)?(0,w.jsx)(v.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{u(t)}}):(0,w.jsx)(r.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{u(t)}})},"event-"+n)))},"event-stack-"+n)))}),(0,w.jsx)(w.Fragment,{children:s<x.length-1?(0,w.jsx)(d.Kq,{direction:"row",width:"100%",height:"fit-content",marginY:"10px !important",justifyContent:"center",alignContent:"center",children:(0,w.jsx)(M,{baseFontSize:.1*o,onClick:()=>{s>=x.length-1||l((t=>t+m))}})}):(0,w.jsx)(w.Fragment,{})})]})})}function S(t){var n;const[e,o,a,s]=(0,h.Z)();var[l,c]=(0,i.useState)(0);const u=t.events,m=t.onClick,x=null!==(n=t.seeMoreIncrement)&&void 0!==n?n:1,f=b(u,Math.floor(Math.min(a,u.length)));return(0,w.jsx)(d.M5,{paddingLeft:s+"px",paddingRight:s+"px",children:(0,w.jsxs)(d.Kq,{direction:"column",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:[(0,w.jsx)(w.Fragment,{children:f.map(((t,n)=>n>l?(0,w.jsx)(w.Fragment,{}):(0,w.jsx)(d.Kq,{direction:"row",width:"100%",height:"fit-content",marginY:"10px",justifyContent:"center",alignContent:"center",children:t.map(((t,n)=>(0,w.jsx)(d.xu,{style:{margin:"10px"},children:(0,j.B6)(t)||(0,j.WJ)(t)?(0,w.jsx)(v.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{m(t)}}):(0,w.jsx)(r.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{m(t)}})},"event-"+n)))},"event-stack-"+n)))}),(0,w.jsx)(w.Fragment,{children:l<f.length-1?(0,w.jsx)(d.Kq,{direction:"row",width:"100%",height:"fit-content",marginY:"10px !important",justifyContent:"center",alignContent:"center",children:(0,w.jsx)(M,{baseFontSize:.1*o,onClick:()=>{l>=f.length-1||c((t=>t+x))}})}):(0,w.jsx)(w.Fragment,{})})]})})}n.default=function(t){var n;const[e,r,s]=(0,u.Z)(),[c]=(0,m.j1)("whatmoreShopId"),[h]=(0,m.j1)("whatmorePrimaryColor"),[x]=(0,m.j1)("whatmoreSecondaryColor"),[j]=(0,m.j1)("whatmoreTitleFont"),v="portrait"==e?(0,m.MO)("whatmoreTitleFontSizePortrait"):(0,m.MO)("whatmoreTitleFontSize"),{whatmoreRootId:b}=(0,i.useContext)(p.I),M=t.events,T=t.onClick,F=null!==(n=(0,g.aRS)(c))&&void 0!==n?n:j;function I(t){T(t)}return delete a.ZP.styles.global,(0,w.jsx)(l.C,{value:C,children:(0,w.jsx)("div",{className:"whatmore-carousel-events-view-more",children:(0,w.jsx)(o.x,{theme:a.ZP,cssVarsRoot:b,resetCSS:!1,children:(0,w.jsxs)(f.V.Provider,{value:{tileTopMargin:3,tileBottomMMargin:3,tileLeftMargin:3,tileRightMargin:3,showPlayButton:!1},children:[t.heading.trim().length>0?(0,w.jsx)(d.M5,{children:(0,w.jsx)(d.xv,{bgColor:h,bgClip:"text",fontSize:v,sx:{fontFamily:F+" !important"},align:"center",children:t.heading})}):(0,w.jsx)(w.Fragment,{}),"landscape"===e?(0,w.jsx)(S,{events:M,onClick:I,seeMoreIncrement:1}):(0,w.jsx)(y,{events:M,onClick:I,seeMoreIncrement:2})]})})})})}},9316:function(t,n,e){e.d(n,{mT:function(){return r}});var i=e(686);const r=`\n ${i.F4`
16
+ 0% { transform: scale(1); }
17
+ 50%, { transform: scale(0.95); }
18
+ 100% { transform: scale(1); }
19
+ `} 0.2s linear;\n`;i.F4`
20
+ 100% {
21
+ -webkit-transform: rotate(360deg);
22
+ transform:rotate(360deg);
23
+ }
24
+ `,i.F4`
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
+ `},2634:function(t,n,e){var i=e(3271),r=e(4897),o=e(499),a=e(6417);n.Z=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.Z.getEventStatus(e);return c.name===o.Z.LIVE.name?(0,a.jsx)(i.xu,{maxWidth:l,width:"fit-content",borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"tomato",color:c.color,children:(0,a.jsx)(i.Kq,{direction:"row",justifyContent:"flex-start",width:"fit-content",alignContent:"center",paddingLeft:"2px",paddingRight:"2px",children:(0,a.jsx)(i.xv,{fontSize:s,fontWeight:"bold",color:"white",children:d})})}):(0,a.jsx)(i.xu,{maxWidth:l,borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"white",color:c.color,children:(0,a.jsx)(i.Kq,{direction:"row",justifyContent:"flex-start",width:"fit-content",alignContent:"center",children:(0,a.jsx)(i.xv,{fontSize:s,fontWeight:"medium",children:d})})})}},499:function(t,n){n.Z={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"}}},4897:function(t,n,e){var i=e(499);n.Z=class{static getEventStatus(t){t.time_zone="GMT+5:30";var n=t.start_time+":00",e=t.end_time,r=t.scheduled_date,o=t.status,a=t.time_zone;if(o.toUpperCase()==i.Z.LIVE.name)return{status:i.Z.LIVE,bannerText:" "+i.Z.LIVE.name+" ",timeToStartInMins:0};if(o.toUpperCase()==i.Z.UPCOMING.name){var s=new Date(r+" "+n+" "+a),l=(new Date(r+" "+e+" "+a),function(t){var n=new Date,e=(t.getTime()-n.getTime())/1e3,r=e/60,o=r/60,a=o/24;return e<=0?{status:i.Z.COMPLETED,bannerText:" "+i.Z.COMPLETED.name+" ",timeToStartInMins:0}:e>=1&&e<=30?{status:i.Z.UPCOMING,bannerText:"Starts in "+Math.round(e)+" sec ",timeToStartInMins:e/60}:r<60?{status:i.Z.UPCOMING,bannerText:"Starts in "+Math.round(r)+" min ",timeToStartInMins:r}:o<24?{status:i.Z.UPCOMING,bannerText:"Starts in "+Math.round(o)+" hr ",timeToStartInMins:60*o}:a<7?{status:i.Z.UPCOMING,bannerText:" "+["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][t.getDay()]+" ",timeToStartInMins:60*a*24}:{status:i.Z.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.Z.DEFAULT,bannerText:"live event",timeToStartInMins:2880}}}},5945:function(t,n,e){e.d(n,{s:function(){return r}});var i=e(7753);function r(t){const n=(0,i.MO)("whatmoreShopId");return"undefined"==typeof t||"undefined"==t||null==t?"":"6873415750"==n||"72442478904"==n?t:t.replace(/\w\S*/g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()}))}},6306:function(t,n,e){var i=e(5318);n.Z=void 0;var r=i(e(5045)),o=e(6417),a=(0,r.default)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");n.Z=a},6143:function(){}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[615],{3827:function(e,t,o){o.r(t);var l=o(7313),r=o(6090),a=o(7616),i=(o(6143),o(7850),o(4444),o(7244),o(123),o(5892),o(1811),o(9302)),n=o(2575),s=o(8866),c=o(7753),h=o(7129),d=o(364),m=o(8631),p=o(6066),u=o(8782),g=o(9821),v=o(7381),f=o(5380),w=o(3933),x=o(9854),C=o(32),y=o(6417);const M=(0,n.Z)({key:"whatmore-css-cv"});t.default=function(e){const t=e.events,[o,n,j]=(0,s.Z)(),[k,S,P,Z,O]=(0,g.Z)(),[R,I]=(0,l.useState)(Array(t.length).fill(0).map((()=>Math.random()))),b=(0,c.MO)("whatmoreCollectionsTileSize"),E=(0,c.MO)("whatmoreCollectionsTileSizePortrait"),T="portrait"===o?E:b,L="portrait"==o?0:(0,c.MO)("whatmoreLandscapePadding"),V=(0,c.MO)("whatmoreCollectionsTilesSpacing"),{whatmoreIsCollectionsTemplate:B}=(0,l.useContext)(d.I),q=(0,c.MO)("whatmoreShopId"),{whatmoreRootId:z}=(0,l.useContext)(d.I),A=e.onClick;function D(e){A(e)}(0,l.useEffect)((()=>{(0,v.Oo)("Video shopping powered by Whatmore!")}),[]),delete a.ZP.styles.global;var H=[];for(let l=0,r=!1;l<t.length;)r&&l!=t.length-1&&R[l]>.2?(H.push((0,y.jsx)(p.Z,{mode:o,event1:t[l],event2:t[l+1],onClick:()=>{D(t[l-1])}},"collections-tile-"+l)),l+=2,r=!r):(H.push((0,y.jsx)(m.Z,{mode:o,event:t[l],onClick:()=>{D(t[l-1])},borderRadius:"10%",removeBorders:!1},"collections-tile-"+l)),l+=1,r=!r);(0,l.useEffect)((()=>{C.IR.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[W,_,F]=(0,w.YD)({triggerOnce:!1});return(0,y.jsx)(i.C,{value:M,children:(0,y.jsx)("div",{className:B?"whatmore-collection-events":"whatmore-carousel-events",children:(0,y.jsx)(r.x,{theme:a.ZP,cssVarsRoot:z,resetCSS:!1,children:(0,y.jsxs)(h.V.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:[(0,y.jsx)("div",{ref:W,style:{marginLeft:L+"px",marginRight:L+"px"},children:(0,y.jsx)(u.P,{renderElement:e=>(0,y.jsx)(y.Fragment,{children:e.eventData}),dataList:H,spacing:V,defaultHeight:k*T*.01+"px",defaultWidth:S*T*.01+"px",retainAlreadyRenderedElements:!0})}),(0,x.dhc)(q)&&B&&!_&&-1==e.index&&(0,y.jsx)(f.Z,{event:t[0],inVideoClick:D,closeClick:t=>{t.stopPropagation(),e.setScreen(-2)}})]})})})})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[91],{6071:function(e,t,o){o.r(t);var r=o(7313),a=o(6090),l=o(7616),i=(o(6143),o(7850),o(4444),o(7244),o(123),o(5892),o(1811),o(9302)),n=o(2575),s=o(8866),c=o(7753),h=o(7129),d=o(364),m=o(32),p=o(8631),u=o(6066),g=o(8782),v=o(9821),w=o(7381),f=o(9854),x=o(5380),y=o(3933),C=o(6417);const S=(0,n.Z)({key:"whatmore-css-cv"});t.default=function(e){const t=e.events,[o,n,M]=(0,s.Z)(),[j,k]=(0,r.useState)(Array(t.length).fill(0).map((()=>Math.random()))),[P,Z,b,O,R]=(0,v.Z)(),I=(0,c.MO)("whatmoreCollectionsTileSize"),E=(0,c.MO)("whatmoreCollectionsTileSizePortrait"),T="portrait"===o?E:I,q="portrait"==o?0:(0,c.MO)("whatmoreLandscapePadding"),B=(0,c.MO)("whatmoreCollectionsTilesSpacing"),{whatmoreIsCollectionsTemplate:L}=(0,r.useContext)(d.I),V=(0,c.MO)("whatmoreShopId"),{whatmoreRootId:z}=(0,r.useContext)(d.I),A=e.onClick,[D,H,W]=(0,y.YD)({triggerOnce:!1});function _(e){A(e)}delete l.ZP.styles.global;var F=[];for(let r=0,a=!1;r<t.length;)a&&r!=t.length-1&&j[r]>.2?(F.push((0,C.jsx)(u.Z,{event1:t[r],event2:t[r+1],onClick:()=>{_(t[r-1])},removeBorders:!0},"collections-tile-"+r)),r+=2,a=!a):(F.push((0,C.jsx)(p.Z,{mode:o,event:t[r],onClick:()=>{_(t[r-1])},removeBorders:!0,borderRadius:"0%"},"collections-tile-"+r)),r+=1,a=!a);return(0,r.useEffect)((()=>{(0,w.Oo)("Video shopping powered by Whatmore!")}),[]),(0,r.useEffect)((()=>{m.IR.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:L?"whatmore-collection-events":"whatmore-carousel-events",children:(0,C.jsx)(a.x,{theme:l.ZP,cssVarsRoot:z,resetCSS:!1,children:(0,C.jsxs)(h.V.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:[(0,C.jsx)("div",{ref:D,style:{marginLeft:q+"px",marginRight:q+"px"},children:(0,C.jsx)(g.P,{renderElement:e=>(0,C.jsx)(C.Fragment,{children:e.eventData}),dataList:F,spacing:B,defaultHeight:P*T*.01+"px",defaultWidth:Z*T*.01+"px",retainAlreadyRenderedElements:!0})}),(0,f.dhc)(V)&&L&&!H&&-1==e.index&&(0,C.jsx)(x.Z,{event:t[0],inVideoClick:_,closeClick:t=>{t.stopPropagation(),e.setScreen(-2)}})]})})})})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[229],{1291:function(e,t,i){i.r(t);var o=i(7313),n=i(6090),r=i(7616),l=i(32),a=(i(6143),i(7850),i(4444),i(7244),i(123),i(5892),i(1811),i(9212)),s=i(9302),d=i(2575),p=i(8866),c=i(7753),h=i(7129),m=i(364),x=i(8631),u=i(9821),f=i(8782),v=i(7381),w=i(9854),y=i(5380),g=i(3933),j=i(6417);const b=(0,d.Z)({key:"whatmore-css-cv"});t.default=function(e){var t;const[i,d,P]=(0,p.Z)(),[S,z,C,E,k]=(0,u.Z)(),L=(0,c.MO)("whatmoreCollectionsTileSize"),M=(0,c.MO)("whatmoreCollectionsTileSizePortrait"),R="portrait"===i?M:L,I="portrait"==i?0:(0,c.MO)("whatmoreLandscapePadding"),Z=(0,c.MO)("whatmoreCollectionsTilesSpacing"),V=(0,c.MO)("whatmoreShopId"),[A]=(0,c.MO)("whatmorePrimaryColor"),{whatmoreRootId:O}=(0,o.useContext)(m.I),{whatmoreIsCollectionsTemplate:F}=(0,o.useContext)(m.I),T=e.events,H=e.onClick,D=(0,c.MO)("whatmoreTitleFont"),N="portrait"==i?(0,c.MO)("whatmoreTitleFontSizePortrait"):(0,c.MO)("whatmoreTitleFontSize"),X=null!==(t=(0,w.aRS)(V))&&void 0!==t?t:D,Y=(0,c.MO)("whatmorePrimaryFont");function B(e){H(e)}delete r.ZP.styles.global;const W=.055*z;var q=[];for(let o=0;o<T.length;){const e=T[o],t="STR1EXZ7ZRD"===V;q.push((0,j.jsxs)("div",{style:{position:"relative"},children:[(0,j.jsx)(x.Z,{mode:i,event:e,onClick:()=>{B(T[o-1])},removeBorders:!0,borderRadius:"5%",fontSize:W},"collections-tile-"+o),t&&(0,j.jsxs)(j.Fragment,{children:[(0,j.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*W+"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",Y,"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,j.jsx)("div",{style:{position:"absolute",top:"10px",right:"10px",zIndex:2},children:(0,j.jsx)(a.Z,{sx:{color:"white",fontSize:"1.3rem",filter:"drop-shadow(0 0 5px black)"}})})]})]})),o++}(0,o.useEffect)((()=>{(0,v.Oo)("Video shopping powered by Whatmore!")}),[]),(0,o.useEffect)((()=>{l.IR.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[$,_,G]=(0,g.YD)({triggerOnce:!1});return(0,j.jsx)(s.C,{value:b,children:(0,j.jsx)("div",{className:F?"whatmore-collection-events":"whatmore-carousel-events",children:(0,j.jsx)(n.x,{theme:r.ZP,cssVarsRoot:O,resetCSS:!1,children:(0,j.jsxs)(h.V.Provider,{value:{tileTopMargin:0,tileBottomMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:[e.heading.trim().length>0&&!F&&(0,w.wXY)(V)?(0,j.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,j.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",X,"important"),e.style.setProperty("font-size",N+"px","important"))},style:{color:A,backgroundClip:"text",textAlign:"center",fontWeight:(0,w.wOV)(V),lineHeight:(0,w.vY4)(V),letterSpacing:(0,w.X2K)(V)},children:e.heading})}):(0,j.jsx)(j.Fragment,{}),(0,j.jsx)("div",{ref:$,style:{marginLeft:I+"px",marginRight:I+"px"},children:(0,j.jsx)(f.P,{renderElement:e=>(0,j.jsx)(j.Fragment,{children:e.eventData}),dataList:q,spacing:Z,defaultHeight:S*R*.01+"px",defaultWidth:z*R*.01+"px",retainAlreadyRenderedElements:!0})}),(0,w.dhc)(V)&&F&&!_&&-1==e.index&&(0,j.jsx)(y.Z,{event:T[0],inVideoClick:B,closeClick:t=>{t.stopPropagation(),e.setScreen(-2)}})]})})})})}},7129:function(e,t,i){i.d(t,{V:function(){return o}});const o=(0,i(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},8631:function(e,t,i){var o=i(7313),n=i(9854),r=i(7753),l=(i(9111),i(123),i(9778),i(4892)),a=i(7129),s=i(9821),d=i(364),p=i(6417);t.Z=function(e){var t;const[i,c,h,m,x]=(0,s.Z)(),[u]=(0,r.j1)("whatmoreSecondaryColor"),[f]=(0,r.j1)("whatmoreShopId"),[v]=(0,r.j1)("whatmoreCollectionsTileSize"),[w]=(0,r.j1)("whatmoreCollectionsTileSizePortrait"),y="portrait"===e.mode?w:v,g=(0,r.j1)("whatmorePrimaryFont"),{whatmoreWidgetSourceDetails:j}=(0,o.useContext)(d.I),[b,P]=(0,o.useState)(!1),S=(0,n.f63)(f),z=j.landingLocationType;(0,o.useContext)(a.V);const C=e.event,E=e.onClick,k=e.removeBorders,L=i*y*.01,M=c*y*.01,R=null!==(t=e.borderRadius)&&void 0!==t?t:"0%";return(0,p.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,height:"fit-content",width:(0,n.XnJ)(f)?"auto":M+"px",marginLeft:k?"2px":"5px",marginRight:k?"2px":(0,n.VwM)(f)+"px",marginTop:k?"2px":"5px",marginBottom:k?"2px":"5px",cursor:"pointer"},onClick:()=>{P(!0),E(C)},className:[b?"whatmore-scale-on-tap":""].join(" "),children:[(0,p.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,height:"fit-content",width:"fit-content",borderRadius:R,overflow:"hidden",boxShadow:k?"":"0px 1px 1px 0px "+u+"50, 0px -1px 1px 0px "+S+"50, 1px 0px 1px 0px "+u+"50, -1px 0px 1px 0px "+S+"80, 1px -1px 1px 0px "+u+"80, -1px 1px 1px 0px "+S+"DA, 1px 1px 1px 0px "+u+"DA, -1px -1px 1px 0px "+S+"DA"},children:(0,p.jsx)("div",{className:"whatmore-collection-event-tile",style:{flexShrink:0,objectFit:"cover",height:L+"px",width:"40273707171"==f?"auto":M+"px",borderRadius:R,backgroundColor:"gray",overflow:"hidden"},children:(0,p.jsx)(l.Z,{height:"100%",width:"100%",url:C.thumbnail_image,isPlaying:!0,event:C})})}),z.startsWith("product")&&(0,p.jsx)("div",{style:{display:"flex",justifyContent:"center",padding:"8px 4px 0 4px"},children:(0,p.jsx)("p",{ref:t=>{var i;t&&(t.style.setProperty("font-family",g,"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===C||void 0===C?void 0:C.title})})]})}},8782:function(e,t,i){i.d(t,{P:function(){return a}});var o=i(3933),n=i(7313),r=(i(123),i(6417));function l(e){const{ref:t,inView:i,entry:n}=(0,o.YD)({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)))})}},5380:function(e,t,i){i.d(t,{Z:function(){return v}});var o=i(4959),n=i(7313),r=i(4892),l=i(6805),a=i(7753),s=i(9821);var d=function(e){const[t,i,o,n,r]=(0,s.Z)(),[d]=(0,a.j1)("whatmoreEmbedAppVideoPlayerSizePortrait"),[p]=(0,a.j1)("whatmoreEmbedAppVideoPlayerSizeLandscape"),c=r[l.YP]===l.$w?p/100:d/100*1.2;return[t*c,i*c,r]},p=i(9723),c=i(9461),h=i.n(c),m=i(1195),x=i(7108),u=(i(7244),i(123),i(9854)),f=i(6417);var v=function(e){var t;const i=n.useRef(null);var[s,c,v]=d();const w=(0,a.MO)("whatmoreUITheme"),[y]=(0,a.j1)("whatmoreEmbedAppVideoTitle"),[g]=(0,a.j1)("whatmoreEmbedAppPositionPortrait"),[j]=(0,a.j1)("whatmoreEmbedAppHorizontalPaddingPortrait"),[b]=(0,a.j1)("whatmoreEmbedAppVerticalPaddingPortrait"),[P]=(0,a.j1)("whatmoreEmbedAppPositionLandscape"),[S]=(0,a.j1)("whatmoreEmbedAppHorizontalPaddingLandscape"),[z]=(0,a.j1)("whatmoreEmbedAppVerticalPaddingLandscape"),C=(0,a.MO)("whatmoreShopId");var E=g,k=j,L=b;v[l.YP]===l.$w&&(E=P,k=S,L=z);const[M,R]=(0,n.useState)(["initial",window.pageYOffset]),[I,Z]=(0,n.useState)(!1),V=null!==(t=e.isSpotlight)&&void 0!==t&&t,A=v[l.YP]===l.$w?.7*(0,u.zGA)(C):(0,u.zGA)(C),O=V?A:1;s*=O,c*=O;const F=V?(0,u.G0o)(C):E,T=V?(0,u.X8j)(C):(0,u.lVn)(C),[H,D]=(0,n.useState)(!V&&(0,u.eXi)(C));function N(e,t){R(e),e[1]<=100?Z(!1):t!=I&&(Z(t),D(!1))}(0,n.useEffect)((()=>{let e=window.pageYOffset,t=!1;const i=()=>{const i=window.pageYOffset;Math.abs(i-e)<100||(N([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)}),[M]),(0,o.O3)({ref:i,handler:()=>{N(["scrolled-up",M[1]],!0)}});const X=e.event,Y=e.inVideoClick,B=e.closeClick,W=.3*c,q=.6*c,$=.1*c,_=.1*(.5*c),G="round"==w?"10px":"0px",J=(0,u.Z$A)(C);var K=!1,U=0,Q=0;function ee(e){K=e}return(0,f.jsx)("div",{children:H&&!T?(0,f.jsx)(f.Fragment,{}):I&&T?(0,f.jsx)("div",{style:"left"===F?{left:"1px",bottom:V?(0,u.vnu)(C)+"px":L+"px",position:"fixed",zIndex:J}:{right:"5px",bottom:V?(0,u.vnu)(C)+"px":L+"px",position:"fixed",zIndex:J},children:(0,f.jsxs)("div",{onClick:()=>{N(["initial",M[1]],!1)},style:{margin:"1px",width:c+"px",height:s+"px"},className:"left"===F?"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.Z,{url:X.thumbnail_image,isPlaying:!1,event:X})})}),(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.Z,{sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:W+"px"},style:{position:"relative",zIndex:1,left:_+"px",bottom:_+"px"},onClick:B})})}),(0,f.jsx)("div",{style:{height:"100%",display:"flex",flexFlow:"column nowrap",alignItems:"center",justifyContent:"center"},children:(0,f.jsx)(x.Z,{sx:{color:"white",fontSize:2*W+"px",filter:"drop-shadow(0 0 2px black);"}})})]})})]})}):(0,f.jsx)(h(),{nodeRef:i,cancel:".activate-button,.close-btn",defaultClassName:"whatmore-react-draggable",defaultClassNameDragging:"whatmore-react-draggable-dragging",defaultClassNameDragged:"whatmore-react-draggable-dragged",bounds:"html",onStart:(e,t)=>{var i,o;i=t.x,o=t.y,U=i,Q=o},onDrag:(e,t)=>{ee(!0)},onStop:(e,t)=>{K&&(Math.abs(t.x-U)>5||Math.abs(t.y-Q)>5)?ee(!1):Y(X)},children:(0,f.jsx)("div",{ref:i,style:"left"===F?{left:V?(0,u.$II)(C)+"px":k+"px",bottom:V?(0,u.vnu)(C)+"px":L+"px",position:"fixed",zIndex:J}:{right:V?(0,u.$II)(C)+"px":k+"px",bottom:V?(0,u.vnu)(C)+"px":L+"px",position:"fixed",zIndex:J},children:(0,f.jsxs)("div",{style:Object.assign({},{boxSizing:"border-box",margin:"1px",width:e.isSpotlight&&"60122562760"==C?s+"px":c+"px",height:e.isSpotlight&&"60122562760"==C?c+"px":s+"px"}),className:"left"===F?"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"==C?16/9:9/16},children:(0,f.jsx)(r.Z,{url:X.thumbnail_image,isMuted:!0,isPlaying:!0,event:X})})}),(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.Z,{className:"close-btn",sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:W+"px"},onClick:B,style:{position:"relative",zIndex:1,left:$+"px",bottom:$+"px"}})}),(0,f.jsx)("div",{style:{marginLeft:"auto",marginRight:"auto"},children:(0,f.jsx)(p.Z,{sx:{color:(0,u.Ya_)(C),fontSize:q+"px",filter:"drop-shadow(0 0 2px black);"}})}),(0,f.jsx)("div",{style:{paddingLeft:"2px",paddingRight:"2px",borderBottomLeftRadius:G,borderBottomRightRadius:G,backgroundImage:y?"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",y]})})]})})]})})})})}},9212:function(e,t,i){var o=i(5318);t.Z=void 0;var n=o(i(5045)),r=i(6417),l=(0,n.default)([(0,r.jsx)("path",{d:"M18 20H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z",opacity:".3"},"0"),(0,r.jsx)("path",{d:"M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2zm6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z"},"1")],"ShoppingBagTwoTone");t.Z=l},9111:function(){},5892:function(){},4444:function(){},1811:function(){},6143:function(){},7850:function(){},9778:function(){}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[105],{8767:function(e,t,i){i.r(t),i.d(t,{default:function(){return S}});var n=i(7313),o=i(6090),r=i(7616),l=i(32),a=(i(6143),i(7850),i(4444),i(7244),i(123),i(5892),i(1811),i(9302)),s=i(2575),d=i(8866),c=i(7753),h=i(7129),p=i(364),x=i(9854),m=(i(9111),i(9778),i(4892)),u=i(9821),f=i(6417);var v=function(e){var t;const[i,o,r,l,a]=(0,u.Z)(),s=(0,c.MO)("whatmoreSecondaryColor"),d=(0,c.MO)("whatmorePrimaryFont"),h=(0,c.MO)("whatmoreShopId"),p=(0,c.MO)("whatmoreCollectionsTileSize"),v=(0,c.MO)("whatmoreCollectionsTileSizePortrait"),w="portrait"===e.mode?v:p,[g,y]=(0,n.useState)(!1),j=(0,x.f63)(h),b=e.event,S=e.onClick,E=e.removeBorders,C=o*w*.01,z=(0,x.eHp)(h);return(0,f.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",alignItems:"center",flexShrink:0,marginRight:E?"2px":(0,x.VwM)(h)+"px",marginTop:E?"2px":"5px",marginBottom:E?"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:E?"":"0px 1px 1px 0px "+s+"50, 0px -1px 1px 0px "+j+"50, 1px 0px 1px 0px "+s+"50, -1px 0px 1px 0px "+j+"80, 1px -1px 1px 0px "+s+"80, -1px 1px 1px 0px "+j+"DA, 1px 1px 1px 0px "+s+"DA, -1px -1px 1px 0px "+j+"DA"},children:(0,f.jsx)(f.Fragment,{children:(0,f.jsx)("div",{style:{flexShrink:0,objectFit:"cover",height:C*z+"px",width:C*z+"px",borderRadius:"50%",backgroundColor:s,overflow:"hidden",border:"3px solid white"},children:(0,f.jsx)(m.Z,{height:"100%",width:"100%",url:b.thumbnail_image,isPlaying:!0,event:b})})})}),(0,f.jsx)("div",{style:{fontFamily:d,paddingTop:"10px",fontSize:null!==(t=e.fontSize)&&void 0!==t?t:10},children:(0,f.jsx)("p",{children:b.title})})]})},w=i(8782),g=i(7381),y=i(5380),j=i(3933);const b=(0,s.Z)({key:"whatmore-css-cv"});var S=function(e){const[t,i,s]=(0,d.Z)(),[m,S,E,C,z]=(0,u.Z)(),P=(0,c.MO)("whatmoreCollectionsTileSize"),L=(0,c.MO)("whatmoreCollectionsTileSizePortrait"),M="portrait"===t?L:P,k="portrait"==t?0:(0,c.MO)("whatmoreLandscapePadding"),I=(0,c.MO)("whatmoreCollectionsTilesSpacing"),R=(0,c.MO)("whatmoreShopId"),{whatmoreRootId:A}=(0,n.useContext)(p.I),O=e.events,Z=e.onClick,{whatmoreIsCollectionsTemplate:F}=(0,n.useContext)(p.I);function V(e){Z(e)}const[T,D,H]=(0,j.YD)({triggerOnce:!1});delete r.ZP.styles.global;const N=.055*S;var B=[];for(let n=0;n<O.length;)B.push((0,f.jsx)(v,{mode:t,event:O[n],onClick:()=>{V(O[n-1])},removeBorders:(0,x.Xtg)(R),fontSize:N},"collections-tile-"+n)),n+=1;return(0,n.useEffect)((()=>{(0,g.Oo)("Video shopping powered by Whatmore!")}),[]),(0,n.useEffect)((()=>{l.IR.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:F?"whatmore-collection-events":"whatmore-carousel-events",children:(0,f.jsx)(o.x,{theme:r.ZP,cssVarsRoot:A,resetCSS:!1,children:(0,f.jsxs)(h.V.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:[(0,f.jsx)("div",{ref:T,style:{marginLeft:k+"px",marginRight:k+"px"},children:(0,f.jsx)(w.P,{renderElement:e=>(0,f.jsx)(f.Fragment,{children:e.eventData}),dataList:B,spacing:I,defaultHeight:m*M*.01+"px",defaultWidth:S*M*.01+"px",retainAlreadyRenderedElements:!0})}),(0,x.dhc)(R)&&!D&&-1==e.index&&(0,f.jsx)(y.Z,{event:O[0],inVideoClick:V,closeClick:t=>{t.stopPropagation(),e.setScreen(-2)}})]})})})})}},7129:function(e,t,i){i.d(t,{V:function(){return n}});const n=(0,i(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},8782:function(e,t,i){i.d(t,{P:function(){return a}});var n=i(3933),o=i(7313),r=(i(123),i(6417));function l(e){const{ref:t,inView:i,entry:o}=(0,n.YD)({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)))})}},5380:function(e,t,i){i.d(t,{Z:function(){return v}});var n=i(4959),o=i(7313),r=i(4892),l=i(6805),a=i(7753),s=i(9821);var d=function(e){const[t,i,n,o,r]=(0,s.Z)(),[d]=(0,a.j1)("whatmoreEmbedAppVideoPlayerSizePortrait"),[c]=(0,a.j1)("whatmoreEmbedAppVideoPlayerSizeLandscape"),h=r[l.YP]===l.$w?c/100:d/100*1.2;return[t*h,i*h,r]},c=i(9723),h=i(9461),p=i.n(h),x=i(1195),m=i(7108),u=(i(7244),i(123),i(9854)),f=i(6417);var v=function(e){var t;const i=o.useRef(null);var[s,h,v]=d();const w=(0,a.MO)("whatmoreUITheme"),[g]=(0,a.j1)("whatmoreEmbedAppVideoTitle"),[y]=(0,a.j1)("whatmoreEmbedAppPositionPortrait"),[j]=(0,a.j1)("whatmoreEmbedAppHorizontalPaddingPortrait"),[b]=(0,a.j1)("whatmoreEmbedAppVerticalPaddingPortrait"),[S]=(0,a.j1)("whatmoreEmbedAppPositionLandscape"),[E]=(0,a.j1)("whatmoreEmbedAppHorizontalPaddingLandscape"),[C]=(0,a.j1)("whatmoreEmbedAppVerticalPaddingLandscape"),z=(0,a.MO)("whatmoreShopId");var P=y,L=j,M=b;v[l.YP]===l.$w&&(P=S,L=E,M=C);const[k,I]=(0,o.useState)(["initial",window.pageYOffset]),[R,A]=(0,o.useState)(!1),O=null!==(t=e.isSpotlight)&&void 0!==t&&t,Z=v[l.YP]===l.$w?.7*(0,u.zGA)(z):(0,u.zGA)(z),F=O?Z:1;s*=F,h*=F;const V=O?(0,u.G0o)(z):P,T=O?(0,u.X8j)(z):(0,u.lVn)(z),[D,H]=(0,o.useState)(!O&&(0,u.eXi)(z));function N(e,t){I(e),e[1]<=100?A(!1):t!=R&&(A(t),H(!1))}(0,o.useEffect)((()=>{let e=window.pageYOffset,t=!1;const i=()=>{const i=window.pageYOffset;Math.abs(i-e)<100||(N([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)}),[k]),(0,n.O3)({ref:i,handler:()=>{N(["scrolled-up",k[1]],!0)}});const B=e.event,Y=e.inVideoClick,W=e.closeClick,X=.3*h,q=.6*h,$=.1*h,_=.1*(.5*h),G="round"==w?"10px":"0px",U=(0,u.Z$A)(z);var J=!1,K=0,Q=0;function ee(e){J=e}return(0,f.jsx)("div",{children:D&&!T?(0,f.jsx)(f.Fragment,{}):R&&T?(0,f.jsx)("div",{style:"left"===V?{left:"1px",bottom:O?(0,u.vnu)(z)+"px":M+"px",position:"fixed",zIndex:U}:{right:"5px",bottom:O?(0,u.vnu)(z)+"px":M+"px",position:"fixed",zIndex:U},children:(0,f.jsxs)("div",{onClick:()=>{N(["initial",k[1]],!1)},style:{margin:"1px",width:h+"px",height:s+"px"},className:"left"===V?"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.Z,{url:B.thumbnail_image,isPlaying:!1,event:B})})}),(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.Z,{sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:X+"px"},style:{position:"relative",zIndex:1,left:_+"px",bottom:_+"px"},onClick:W})})}),(0,f.jsx)("div",{style:{height:"100%",display:"flex",flexFlow:"column nowrap",alignItems:"center",justifyContent:"center"},children:(0,f.jsx)(m.Z,{sx:{color:"white",fontSize:2*X+"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,K=i,Q=n},onDrag:(e,t)=>{ee(!0)},onStop:(e,t)=>{J&&(Math.abs(t.x-K)>5||Math.abs(t.y-Q)>5)?ee(!1):Y(B)},children:(0,f.jsx)("div",{ref:i,style:"left"===V?{left:O?(0,u.$II)(z)+"px":L+"px",bottom:O?(0,u.vnu)(z)+"px":M+"px",position:"fixed",zIndex:U}:{right:O?(0,u.$II)(z)+"px":L+"px",bottom:O?(0,u.vnu)(z)+"px":M+"px",position:"fixed",zIndex:U},children:(0,f.jsxs)("div",{style:Object.assign({},{boxSizing:"border-box",margin:"1px",width:e.isSpotlight&&"60122562760"==z?s+"px":h+"px",height:e.isSpotlight&&"60122562760"==z?h+"px":s+"px"}),className:"left"===V?"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.Z,{url:B.thumbnail_image,isMuted:!0,isPlaying:!0,event:B})})}),(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.Z,{className:"close-btn",sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:X+"px"},onClick:W,style:{position:"relative",zIndex:1,left:$+"px",bottom:$+"px"}})}),(0,f.jsx)("div",{style:{marginLeft:"auto",marginRight:"auto"},children:(0,f.jsx)(c.Z,{sx:{color:(0,u.Ya_)(z),fontSize:q+"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*X+"px",margin:0,padding:0,lineHeight:"110%"},children:["\xa0",g]})})]})})]})})})})}},9111:function(){},5892:function(){},4444:function(){},1811:function(){},6143:function(){},7850:function(){},9778:function(){}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[950,842],{1332:function(e,t,r){var n=r(7313),i=(r(8743),r(7753)),o=r(5254),a=r(6417);t.Z=function(e){return(0,n.useEffect)((()=>{const e=(0,o.oo)((0,i.MO)("whatmoreSecondaryColor"));!function(e,t,r,n){const i=`rgba(${e},${t},${r},${n})`,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}, ${r}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${r}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${r}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${r}, 0.5), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.7);\n }\n 12.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${r}, 0.7), 1.8em -1.8em 0 0em ${i}, 2.5em 0em 0 0em rgba(${e}, ${t}, ${r}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${r}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.5);\n }\n 25% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${r}, 0.5), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.7), 2.5em 0em 0 0em ${i}, 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${r}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.2);\n }\n 37.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${r}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.5), 2.5em 0em 0 0em rgba(${e}, ${t}, ${r}, 0.7), 1.75em 1.75em 0 0em ${i}, 0em 2.5em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.2);\n }\n 50% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${r}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${r}, 0.5), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${r}, 0.7), 0em 2.5em 0 0em ${i}, -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.2);\n }\n 62.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${r}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${r}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${r}, 0.5), 0em 2.5em 0 0em rgba(${e}, ${t}, ${r}, 0.7), -1.8em 1.8em 0 0em ${i}, -2.6em 0em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.2);\n }\n 75% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${r}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${r}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${r}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${r}, 0.5), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.7), -2.6em 0em 0 0em ${i}, -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.2);\n }\n 87.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${r}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${r}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${r}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${r}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${r}, 0.5), -2.6em 0em 0 0em rgba(${e}, ${t}, ${r}, 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"})})}},3867:function(e,t,r){var n=r(8816),i=r(417),o=r(4885),a=r(7753),s=r(6417);t.Z=function(e){var t;const r=(0,a.MO)("whatmoreUITheme"),[m]=(0,a.j1)("whatmoreSecondaryColor"),[l,d]=(0,a.j1)("productRatings"),u=(0,a.MO)("whatmorePrimaryFont"),c=e.productId,h=e.fontSize,p=null!==(t=e.fontColor)&&void 0!==t?t:"gray";if(null===l||"undefined"==typeof l||!(c in l)||l[c].avgRating>5)return(0,s.jsx)(s.Fragment,{});const $=l[c].avgRating,f=l[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($))].map(((e,t)=>(0,s.jsx)(n.Z,{sx:{color:m,fontSize:h+"px"}},"star-icon"+t))),$-Math.floor($)>.2?(0,s.jsx)(i.Z,{sx:{color:m,fontSize:h+"px"}},"star-half-icon"):$-Math.floor($)==0?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(o.Z,{sx:{color:m,fontSize:h+"px"}},"star-outline-icon"),[...Array(Math.floor(5-$))].map(((e,t)=>(0,s.jsx)(o.Z,{sx:{color:m,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:m,borderRadius:"round"==r?"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",$,"\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","("+f+")"]})})]})})}},3175:function(e,t,r){var n=r(1332),i=r(5180),o=r(6417);t.Z=function(e){var t,r;const a=null!==(t=e.height)&&void 0!==t?t:"100%",s=null!==(r=e.width)&&void 0!==r?r:"100%";return(0,o.jsxs)("div",{style:{width:s,height:a,overflow:"hidden",minHeight:a,minWidth:s},children:[(0,o.jsx)(i.Z,{height:a,width:s}),(0,o.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,o.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",width:"100%",height:"fit-content"},children:(0,o.jsx)(n.Z,{})})})]})}},5180:function(e,t,r){var n=r(6417);t.Z=function(e){var t,r,i;const o=null!==(t=e.height)&&void 0!==t?t:"100%",a=null!==(r=e.width)&&void 0!==r?r:"100%",s=null!==(i=e.borderRadius)&&void 0!==i?i:"10px";return(0,n.jsx)("div",{style:{height:o,width:o,borderRadius:s,overflow:"hidden",minHeight:o,minWidth:a,maxHeight:o,maxWidth:a},children:(0,n.jsx)("div",{style:{minHeight:o,minWidth:a},height:"100%",width:"100%",className:"whatmore-shimmer"})})}},2887:function(e,t,r){var n=r(7313),i=r(3175),o=r(6417);t.Z=function(e){var t,r,a;const[s,m]=(0,n.useState)(!1),l=n.useRef(0),d=(0,n.useRef)(null),u=null!==(t=e.timeUpdateCallback)&&void 0!==t?t:()=>{},c=null!==(r=e.height)&&void 0!==r?r:"100%",h=null!==(a=e.width)&&void 0!==a?a:"100%";return(0,n.useEffect)((()=>{l.current=0;const e=setInterval((()=>{l.current=l.current+.03,d.current&&u(l.current,5),l.current>=5&&(l.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:()=>{m(!0)}})}),s?(0,o.jsx)(o.Fragment,{}):(0,o.jsx)(i.Z,{width:h,height:c})]})}},4892:function(e,t,r){r.d(t,{Z:function(){return p}});var n=r(7313),i=r(3933),o=r(868),a=r(8984),s=r(7300),m=r(2887),l=r(4862),d=r(7753),u=r(342),c=(r(9854),r(6417));var h=function(e){var t,r,o,s;const m=(0,n.useRef)(null),[h,p,$]=(0,i.YD)({triggerOnce:!0}),f=(0,d.MO)("whatmoreShopId"),v=null!==(t=e.height)&&void 0!==t?t:"100%",g=null!==(r=e.width)&&void 0!==r?r:"100%";return(0,n.useEffect)((()=>{m.current&&(e.isPlaying?m.current.play():((l.G6||(0,a.gE)())&&m.current.play(),"57939755089"==f?setTimeout((()=>{m.current.pause()}),300):m.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"==f||"8968077397"==f?(0,c.jsxs)("video",{ref:m,className:"whatmore-video-player-muted",width:g,height:v,preload:"metadata",loop:!0,src:e.url,playsInline:!0,poster:e.isPlaying&&1!=(null===(o=e.event)||void 0===o?void 0:o.index)&&"STRTFEDEDAP"!==f&&"STRY2V4XO5L"!==f?e.url:e.poster,muted:null===(s=e.isVideoMuted)||void 0===s||s,style:{backgroundColor:"white",borderRadius:e.borderRadius,objectFit:"cover"},children:[(0,c.jsx)("source",{src:e.url,type:"video/mp4"}),(0,c.jsx)("source",{src:(0,u.vW)(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,r,l,p,$;const[f,v,g]=(0,i.YD)({triggerOnce:!0}),y=(0,d.MO)("whatmoreShopId");if((0,s.WJ)(e.event))return(0,c.jsx)(m.Z,{height:e.height,width:e.width,url:e.url,isPlaying:e.isPlaying,timeUpdateCallback:e.timeUpdateCallback});const b=null!==(t=e.pauseFromPlayTimeInMs)&&void 0!==t?t:200;var w;if((0,a.KE)())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:null===e||void 0===e||null===(w=e.event)||void 0===w?void 0:w.poster_image,url:(0,o.V)(e.url),isPlaying:e.isPlaying,pauseFromPlayTimeInMs:b});const x=(0,n.useRef)(null),j=null!==(r=e.height)&&void 0!==r?r:"100%",_=null!==(l=e.width)&&void 0!==l?l:"100%";return(0,n.useEffect)((()=>{x.current&&(e.isPlaying?x.current.play():x.current.pause())}),[e.isPlaying,v]),(0,c.jsx)("div",{ref:f,style:{width:j,height:_,overflow:"hidden",display:"flex",alignItems:"center"},children:v||"51394281658"==y||"8968077397"==y?(0,c.jsxs)("video",{ref:x,className:"whatmore-video-player-muted",width:_,height:j,preload:"metadata",loop:!0,playsInline:!0,muted:null===(p=e.isVideoMuted)||void 0===p||p,poster:"57939755089"==y?"":null===e||void 0===e||null===($=e.event)||void 0===$?void 0:$.poster_image,style:{backgroundColor:"white",objectFit:"cover"},children:[(0,c.jsx)("source",{src:(0,o.V)(e.url),type:"video/mp4"}),(0,c.jsx)("source",{src:(0,u.vW)(e.url),type:"video/mp4"})]}):(0,c.jsx)("div",{width:_,height:j,ref:e=>{e&&e.style.setProperty("display","block","important")}})})}},868:function(e,t,r){r.d(t,{V:function(){return s}});var n=r(9854),i=r(7753);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.MO)("whatmoreShopId");if(!e)return e;if(e.startsWith("https://cdn.shopify.com"))return e;if("AWSCDN"==(0,n.zpr)(t))return e;if("AZURECDN"==(0,n.zpr)(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,n.zpr)(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}},342:function(e,t,r){r.d(t,{$W:function(){return s},WN:function(){return a},uv:function(){return o},vW:function(){return m}});var n=r(9854);const i=(0,r(7753).MO)("whatmoreShopId"),o=function(e){var t,r;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===(r=e.event_media_urls.primary.landscape)||void 0===r?void 0:r.content_video_1080p:e.event_hls_url},a=function(e){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:e.event_media_urls.primary.landscape.content_video_1080p:e.event_hls_url},s=function(e){if(e.startsWith("https://cdn.shopify.com")&&e.includes("whatmore_")){const t=(0,n.QFt)(i);if(!t)return e;return`https://whatmore-brand-video-assets-720p.b-cdn.net/${t}/${e.split("whatmore_")[1].split("?")[0]}`}return e},m=function(e){if(e.startsWith("https://cdn.shopify.com")&&e.includes("whatmore_")){const t=(0,n.QFt)(i);if(!t)return e;return`https://whatmore-brand-thumbnail-video-assets.b-cdn.net/${t}/${e.split("whatmore_")[1].split("?")[0]}`}return e}},9363:function(e,t,r){r.d(t,{$:function(){return a},s:function(){return o}});var n=r(9854),i=r(7753);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const r=(0,i.MO)("whatmoreShopId");return"shopify"!=(0,n.Ipo)(r)?"STRNV8MHJTF"==r?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 r=null===e||void 0===e||null===(t=e.trim())||void 0===t?void 0:t.split("?")[0],n=/\.(jpeg|jpg|gif|png|svg|webp)$/i,i=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==n&&void 0!==n&&n.test(r)?"image":null!==i&&void 0!==i&&i.test(r)?"video":void 0}},5456:function(e,t,r){r.d(t,{B:function(){return n}});const n=function(e,t){return!(isNaN(t)||!t||("string"===typeof t||t instanceof String)&&!t.trim().length)&&!(parseInt(t)<=parseInt(e))}},1195:function(e,t,r){var n=r(5318);t.Z=void 0;var i=n(r(5045)),o=r(6417),a=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");t.Z=a},9723:function(e,t,r){var n=r(5318);t.Z=void 0;var i=n(r(5045)),o=r(6417),a=(0,i.default)((0,o.jsx)("path",{d:"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82z"}),"PlayArrowRounded");t.Z=a},8816:function(e,t,r){var n=r(5318);t.Z=void 0;var i=n(r(5045)),o=r(6417),a=(0,i.default)((0,o.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star");t.Z=a},417:function(e,t,r){var n=r(5318);t.Z=void 0;var i=n(r(5045)),o=r(6417),a=(0,i.default)((0,o.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarHalf");t.Z=a},4885:function(e,t,r){var n=r(5318);t.Z=void 0;var i=n(r(5045)),o=r(6417),a=(0,i.default)((0,o.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarOutline");t.Z=a},8743:function(){},123:function(){},7244:function(){},5892:function(){},4444:function(){},1811:function(){},7850:function(){}}]);