whatmore-react-assets 1.0.299 → 1.0.301

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whatmore-react-assets",
3
- "version": "1.0.299",
3
+ "version": "1.0.301",
4
4
  "description": "public repo for all whatmore js and css assets",
5
5
  "main": "whatmore.js",
6
6
  "scripts": {
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[136],{3827:function(e,t,l){l.r(t);var n=l(7313),o=l(4664),r=l(7616),i=(l(6143),l(7850),l(4444),l(7244),l(123),l(5892),l(1811),l(9302)),a=l(2575),s=l(8866),h=l(7753),c=l(7129),d=l(6966),m=l(8631),u=l(6066),j=l(8782),v=l(9821),w=l(6417);const x=(0,a.Z)({key:"whatmore-css-cv"});t.default=function(e){const[t,l,a]=(0,s.Z)(),[g,p,C,f,k]=(0,v.Z)(),[y]=(0,h.j1)("whatmoreCollectionsTileSize"),[P]=(0,h.j1)("whatmoreShopId"),[S]=(0,h.j1)("whatmorePrimaryColor"),[Z]=(0,h.j1)("whatmoreSecondaryColor"),[M]=(0,h.j1)("whatmoreTitleFont"),[R]=(0,h.j1)("whatmoreTitleFontSize"),[T]=(0,h.j1)("whatmoreLandscapePadding"),[b]=(0,h.j1)("whatmoreCollectionsTilesSpacing"),{whatmoreRootId:F}=(0,n.useContext)(d.I),I=e.events,L=e.onClick;function z(e){L(e)}delete r.ZP.styles.global;var B=[];for(let n=0,o=!1;n<I.length;)o&&n!=I.length-1&&Math.random()>.2?(B.push((0,w.jsx)(u.Z,{event1:I[n],event2:I[n+1],onClick:()=>{z(I[n-1])}},"collections-tile-"+n)),n+=2,o=!o):(B.push((0,w.jsx)(m.Z,{event:I[n],onClick:()=>{z(I[n-1])},borderRadius:"10%"},"collections-tile-"+n)),n+=1,o=!o);return(0,w.jsx)(i.C,{value:x,children:(0,w.jsx)("div",{children:(0,w.jsx)(o.x,{theme:r.ZP,cssVarsRoot:F,resetCSS:!1,children:(0,w.jsx)(c.V.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:(0,w.jsx)("div",{style:{left:T+"px",right:T+"px"},children:(0,w.jsx)(j.P,{renderElement:e=>(0,w.jsx)(w.Fragment,{children:e.eventData}),dataList:B,spacing:b,defaultHeight:g*y*.01+"px",defaultWidth:p*y*.01+"px",retainAlreadyRenderedElements:!0})})})})})})}}}]);
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[136],{3827:function(e,t,l){l.r(t);var n=l(7313),o=l(4664),r=l(7616),i=(l(6143),l(7850),l(4444),l(7244),l(123),l(5892),l(1811),l(9302)),a=l(2575),s=l(8866),h=l(7753),c=l(7129),d=l(2641),m=l(8631),u=l(6066),j=l(8782),v=l(9821),w=l(6417);const x=(0,a.Z)({key:"whatmore-css-cv"});t.default=function(e){const[t,l,a]=(0,s.Z)(),[g,p,C,f,k]=(0,v.Z)(),[y]=(0,h.j1)("whatmoreCollectionsTileSize"),[P]=(0,h.j1)("whatmoreShopId"),[S]=(0,h.j1)("whatmorePrimaryColor"),[Z]=(0,h.j1)("whatmoreSecondaryColor"),[M]=(0,h.j1)("whatmoreTitleFont"),[R]=(0,h.j1)("whatmoreTitleFontSize"),[T]=(0,h.j1)("whatmoreLandscapePadding"),[b]=(0,h.j1)("whatmoreCollectionsTilesSpacing"),{whatmoreRootId:F}=(0,n.useContext)(d.I),I=e.events,L=e.onClick;function z(e){L(e)}delete r.ZP.styles.global;var B=[];for(let n=0,o=!1;n<I.length;)o&&n!=I.length-1&&Math.random()>.2?(B.push((0,w.jsx)(u.Z,{event1:I[n],event2:I[n+1],onClick:()=>{z(I[n-1])}},"collections-tile-"+n)),n+=2,o=!o):(B.push((0,w.jsx)(m.Z,{event:I[n],onClick:()=>{z(I[n-1])},borderRadius:"10%"},"collections-tile-"+n)),n+=1,o=!o);return(0,w.jsx)(i.C,{value:x,children:(0,w.jsx)("div",{children:(0,w.jsx)(o.x,{theme:r.ZP,cssVarsRoot:F,resetCSS:!1,children:(0,w.jsx)(c.V.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:(0,w.jsx)("div",{style:{left:T+"px",right:T+"px"},children:(0,w.jsx)(j.P,{renderElement:e=>(0,w.jsx)(w.Fragment,{children:e.eventData}),dataList:B,spacing:b,defaultHeight:g*y*.01+"px",defaultWidth:p*y*.01+"px",retainAlreadyRenderedElements:!0})})})})})})}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[245],{1291:function(e,t,r){r.r(t);var o=r(7313),a=r(4664),l=r(7616),i=(r(6143),r(7850),r(4444),r(7244),r(123),r(5892),r(1811),r(9302)),n=r(2575),s=r(8866),h=r(7753),c=r(7129),d=r(6966),m=r(8631),j=(r(6066),r(9821)),u=r(8782),v=r(6417);const w=(0,n.Z)({key:"whatmore-css-cv"});t.default=function(e){const[t,r,n,x,g]=(0,j.Z)(),[p]=(0,h.j1)("whatmoreCollectionsTileSize"),[C,f,k]=(0,s.Z)(),[y]=(0,h.j1)("whatmoreShopId"),[P]=(0,h.j1)("whatmorePrimaryColor"),[S]=(0,h.j1)("whatmoreSecondaryColor"),[Z]=(0,h.j1)("whatmoreTitleFont"),[M]=(0,h.j1)("whatmoreTitleFontSize"),[R]=(0,h.j1)("whatmoreLandscapePadding"),[T]=(0,h.j1)("whatmoreCollectionsTilesSpacing"),{whatmoreRootId:b}=(0,o.useContext)(d.I),B=e.events,F=e.onClick;delete l.ZP.styles.global;var I=[];for(let o=0;o<B.length;)I.push((0,v.jsx)(m.Z,{event:B[o],onClick:()=>{var e;e=B[o-1],F(e)},removeBorders:!0,borderRadius:"5%"},"collections-tile-"+o)),o+=1;return(0,v.jsx)(i.C,{value:w,children:(0,v.jsx)("div",{children:(0,v.jsx)(a.x,{theme:l.ZP,cssVarsRoot:b,resetCSS:!1,children:(0,v.jsx)(c.V.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:(0,v.jsx)("div",{style:{left:R+"px",right:R+"px"},children:(0,v.jsx)(u.P,{renderElement:e=>(0,v.jsx)(v.Fragment,{children:e.eventData}),dataList:I,spacing:T,defaultHeight:t*p*.01+"px",defaultWidth:r*p*.01+"px",retainAlreadyRenderedElements:!0})})})})})})}}}]);
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[245],{1291:function(e,t,r){r.r(t);var o=r(7313),a=r(4664),l=r(7616),i=(r(6143),r(7850),r(4444),r(7244),r(123),r(5892),r(1811),r(9302)),n=r(2575),s=r(8866),h=r(7753),c=r(7129),d=r(2641),m=r(8631),j=(r(6066),r(9821)),u=r(8782),v=r(6417);const w=(0,n.Z)({key:"whatmore-css-cv"});t.default=function(e){const[t,r,n,x,g]=(0,j.Z)(),[p]=(0,h.j1)("whatmoreCollectionsTileSize"),[C,f,k]=(0,s.Z)(),[y]=(0,h.j1)("whatmoreShopId"),[P]=(0,h.j1)("whatmorePrimaryColor"),[S]=(0,h.j1)("whatmoreSecondaryColor"),[Z]=(0,h.j1)("whatmoreTitleFont"),[M]=(0,h.j1)("whatmoreTitleFontSize"),[R]=(0,h.j1)("whatmoreLandscapePadding"),[T]=(0,h.j1)("whatmoreCollectionsTilesSpacing"),{whatmoreRootId:b}=(0,o.useContext)(d.I),B=e.events,F=e.onClick;delete l.ZP.styles.global;var I=[];for(let o=0;o<B.length;)I.push((0,v.jsx)(m.Z,{event:B[o],onClick:()=>{var e;e=B[o-1],F(e)},removeBorders:!0,borderRadius:"5%"},"collections-tile-"+o)),o+=1;return(0,v.jsx)(i.C,{value:w,children:(0,v.jsx)("div",{children:(0,v.jsx)(a.x,{theme:l.ZP,cssVarsRoot:b,resetCSS:!1,children:(0,v.jsx)(c.V.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:(0,v.jsx)("div",{style:{left:R+"px",right:R+"px"},children:(0,v.jsx)(u.P,{renderElement:e=>(0,v.jsx)(v.Fragment,{children:e.eventData}),dataList:I,spacing:T,defaultHeight:t*p*.01+"px",defaultWidth:r*p*.01+"px",retainAlreadyRenderedElements:!0})})})})})})}}}]);
@@ -1 +1 @@
1
- (self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[517],{9262:function(n,t,e){"use strict";e(7313),e(9821),e(2634),e(6417)},8675:function(n,t,e){"use strict";e.d(t,{Z:function(){return w}});var i,o,r=e(3271),a=e(5098),c=e(7313),l=e(9821),s=e(2634),u=e(5180),d=e(168),f=e(686);const h=(0,f.F4)(i||(i=(0,d.Z)(["\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(1.05);\n }\n"]))),x=(0,f.F4)(o||(o=(0,d.Z)(["\n 0% {\n transform: scale(1.05);\n }\n 100% {\n transform: scale(1);\n }\n"]))),m="\n ".concat(h,"; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n"),g="\n ".concat(x,"; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n");var p=e(7753),v=e(7129),j=e(6417);var w=function(n){var t,e,[i,o]=(0,l.Z)();const[d]=(0,p.j1)("whatmorePrimaryFont");var f=(0,c.useContext)(v.V);const h=n.event,x=n.onClick,w=null===(t=n.isOnFocus)||void 0===t||t,b=(n.playOnUnfocus,null!==(e=n.animateOnFocus)&&void 0!==e&&e);return(0,j.jsxs)(r.xu,{animation:b?w?m:g:"none",marginTop:f.tileTopMargin,marginBottom:f.tileBottomMMargin,marginLeft:f.tileLeftMargin,marginRight:f.tileRightMargin,width:o,height:i,borderRadius:"lg",sx:{boxShadow:"0px 0px 10px 3px #B0B0B0"},overflow:"hidden",onClick:()=>{x(h)},cursor:"pointer",children:[(0,j.jsx)(a.Ee,{width:"full",height:"full",src:h.thumbnail_image,objectFit:"cover",fallback:(0,j.jsx)(u.Z,{width:o,height:i}),borderRadius:"lg"}),(0,j.jsx)(r.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,j.jsxs)(r.Kq,{direction:"column",height:"full",width:"full",justifyContent:"space-between",children:[(0,j.jsx)(r.xu,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-t, transparent, blackAlpha.200, blackAlpha.400, blackAlpha.600)",children:(0,j.jsx)(r.Kq,{direction:"column",justifyContent:"flex-start",children:(0,j.jsx)(r.xu,{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px",children:(0,j.jsx)(r.Kq,{direction:"row",justifyContent:"space-between",children:(0,j.jsx)(s.Z,{event:h,fontSize:.05*i+"px",maxWidth:.8*o})})})})}),(0,j.jsx)(r.xu,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-b, transparent, blackAlpha.300, blackAlpha.400, blackAlpha.500, blackAlpha.600)",children:(0,j.jsx)(r.Kq,{direction:"column",width:"full",height:"full",justifyContent:"flex-end",alignContent:"center",children:(0,j.jsx)(r.xu,{width:"full",borderRadius:"lg",children:(0,j.jsxs)(r.Kq,{direction:"column",justifyContent:"space-between",alignContent:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px",children:[(0,j.jsx)(r.xv,{color:"white",fontSize:.08*o+"px",fontWeight:"normal",align:"left",children:" "}),(0,j.jsx)(r.xv,{fontSize:.08*o+"px",fontWeight:"normal",align:"left",sx:{fontFamily:d+" !important",color:"white !important"},children:h.title.substring(0,40)}),(0,j.jsx)(r.xv,{fontSize:.08*o+"px",fontWeight:"bold",align:"left",sx:{fontFamily:d+" !important",color:"white !important"},children:h.presenter_name.substring(0,15)})]})})})})]})})]})}},5523:function(n,t,e){"use strict";e.r(t);var i=e(7313),o=e(8675),r=(e(9262),e(4664)),a=e(7616),c=(e(6143),e(7244),e(123),e(9302)),l=e(2575),s=e(3271),u=e(9821),d=e(8866),f=(e(2279),e(7753)),h=e(9316),x=e(7129),m=e(9854),g=e(6966),p=e(7300),v=e(7148),j=e(6417);const w=(0,l.Z)({key:"whatmore-css-hv"});function b(n,t){var e=[];const i=t;for(let o=0;o<n.length;o+=i){const t=n.slice(o,o+i);e.push(t)}return e}function y(n){var t;const[e,o]=(0,i.useState)(!1),[r,a]=(0,i.useState)(!1),[c]=(0,f.j1)("whatmoreSecondaryColorShade600"),[l]=(0,f.j1)("whatmoreSecondaryColorShade300"),[u]=(0,f.j1)("whatmorePrimaryFont"),d=null!==(t=n.baseFontSize)&&void 0!==t?t:10,x=n.onClick;return(0,j.jsx)(s.xu,{width:"fit-content",height:"fit-content",paddingY:"4px",boxShadow:"lg",borderRadius:"md",backgroundColor:e?l:c,animation:r?h.mT:null,onClick:n=>{n.stopPropagation(),a(!0),x()},sx:{cursor:"pointer"},onMouseEnter:()=>{o(!0)},onMouseLeave:()=>{o(!1)},children:(0,j.jsx)(s.Kq,{direction:"row",width:"fit-content",alignContent:"center",children:(0,j.jsxs)(s.xv,{fontSize:d,fontWeight:"normal",sx:{fontFamily:u+" !important",color:"white !important"},children:["\xa0"," view more ","\xa0"]})})})}function C(n){var t;const[e,r,a]=(0,u.Z)();var[c,l]=(0,i.useState)(0);const d=n.events,f=n.onClick,h=null!==(t=n.seeMoreIncrement)&&void 0!==t?t:1,x=b(d,Math.floor(Math.min(a,d.length)));return(0,j.jsx)(s.M5,{children:(0,j.jsxs)(s.Kq,{direction:"column",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:[(0,j.jsx)(j.Fragment,{children:x.map(((n,t)=>t>c?(0,j.jsx)(j.Fragment,{}):(0,j.jsx)(s.Kq,{direction:"row",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:n.map(((n,t)=>(0,j.jsx)(s.xu,{style:{margin:"10px"},children:(0,p.B6)(n)||(0,p.WJ)(n)?(0,j.jsx)(v.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:n,onClick:()=>{f(n)}}):(0,j.jsx)(o.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:n,onClick:()=>{f(n)}})},"event-"+t)))},"event-stack-"+t)))}),(0,j.jsx)(j.Fragment,{children:c<x.length-1?(0,j.jsx)(s.Kq,{direction:"row",width:"100%",height:"fit-content",marginY:"10px",justifyContent:"center",alignContent:"center",children:(0,j.jsx)(y,{baseFontSize:.1*r,onClick:()=>{c>=x.length-1||l((n=>n+h))}})}):(0,j.jsx)(j.Fragment,{})})]})})}function F(n){var t;const[e,r,a,c]=(0,u.Z)();var[l,d]=(0,i.useState)(0);const f=n.events,h=n.onClick,x=null!==(t=n.seeMoreIncrement)&&void 0!==t?t:1,m=b(f,Math.floor(Math.min(a,f.length)));return(0,j.jsx)(s.M5,{paddingLeft:c+"px",paddingRight:c+"px",children:(0,j.jsxs)(s.Kq,{direction:"column",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:[(0,j.jsx)(j.Fragment,{children:m.map(((n,t)=>t>l?(0,j.jsx)(j.Fragment,{}):(0,j.jsx)(s.Kq,{direction:"row",width:"100%",height:"fit-content",marginY:"10px",justifyContent:"center",alignContent:"center",children:n.map(((n,t)=>(0,j.jsx)(s.xu,{style:{margin:"10px"},children:(0,p.B6)(n)||(0,p.WJ)(n)?(0,j.jsx)(v.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:n,onClick:()=>{h(n)}}):(0,j.jsx)(o.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:n,onClick:()=>{h(n)}})},"event-"+t)))},"event-stack-"+t)))}),(0,j.jsx)(j.Fragment,{children:l<m.length-1?(0,j.jsx)(s.Kq,{direction:"row",width:"100%",height:"fit-content",marginY:"10px",justifyContent:"center",alignContent:"center",children:(0,j.jsx)(y,{baseFontSize:.1*r,onClick:()=>{l>=m.length-1||d((n=>n+x))}})}):(0,j.jsx)(j.Fragment,{})})]})})}t.default=function(n){var t;const[e,o,l]=(0,d.Z)(),[u]=(0,f.j1)("whatmoreShopId"),[h]=(0,f.j1)("whatmorePrimaryColor"),[p]=(0,f.j1)("whatmoreSecondaryColor"),[v]=(0,f.j1)("whatmoreTitleFont"),[b]=(0,f.j1)("whatmoreTitleFontSize"),{whatmoreRootId:y}=(0,i.useContext)(g.I),S=n.events,k=n.onClick,M=null!==(t=(0,m.aR)(u))&&void 0!==t?t:v;function O(n){k(n)}return delete a.ZP.styles.global,(0,j.jsx)(c.C,{value:w,children:(0,j.jsx)("div",{children:(0,j.jsx)(r.x,{theme:a.ZP,cssVarsRoot:y,resetCSS:!1,children:(0,j.jsxs)(x.V.Provider,{value:{tileTopMargin:3,tileBottomMMargin:3,tileLeftMargin:3,tileRightMargin:3,showPlayButton:!1},children:[n.heading.trim().length>0?(0,j.jsx)(s.M5,{children:(0,j.jsx)(s.xv,{bgColor:h,bgClip:"text",fontSize:b,sx:{fontFamily:M+" !important"},align:"center",children:n.heading})}):(0,j.jsx)(j.Fragment,{}),"landscape"===e?(0,j.jsx)(F,{events:S,onClick:O,seeMoreIncrement:1}):(0,j.jsx)(C,{events:S,onClick:O,seeMoreIncrement:2})]})})})})}},9316:function(n,t,e){"use strict";e.d(t,{mT:function(){return s}});var i,o,r,a=e(168),c=e(686);const l=(0,c.F4)(i||(i=(0,a.Z)(["\n 0% { transform: scale(1); }\n 50%, { transform: scale(0.95); }\n 100% { transform: scale(1); }\n"]))),s="\n ".concat(l," 0.2s linear;\n"),u=(0,c.F4)(o||(o=(0,a.Z)(["\n 100% { \n -webkit-transform: rotate(360deg); \n transform:rotate(360deg); \n }\n"]))),d=("\n ".concat(u," 0.5s infinite linear;\n"),(0,c.F4)(r||(r=(0,a.Z)(["\n 0% { \n opacity: 1;\n transform: translateY(100%);\n }\n 10%{\n transform: translateY(0%);\n }\n 12%{\n transform: translateY(-5%);\n }\n 20%{\n transform: translateY(0%);\n }\n 95%{\n opacity: 1;\n transform: scale(1);\n }\n 100%{\n opacity: 0;\n }\n"]))));"\n ".concat(d," ").concat(3,"s ease-in-out;\n")},2634:function(n,t,e){"use strict";var i=e(3271),o=e(4897),r=e(499),a=e(6417);t.Z=function(n){var t,e=n.event,c=n.fontSize,l=null!==(t=n.maxWidth)&&void 0!==t?t:"100%",{status:s,bannerText:u,timeToStartInMins:d}=o.Z.getEventStatus(e);return s.name===r.Z.LIVE.name?(0,a.jsx)(i.xu,{maxWidth:l,width:"fit-content",borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"tomato",color:s.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:c,fontWeight:"bold",color:"white",children:u})})}):(0,a.jsx)(i.xu,{maxWidth:l,borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"white",color:s.color,children:(0,a.jsx)(i.Kq,{direction:"row",justifyContent:"flex-start",width:"fit-content",alignContent:"center",children:(0,a.jsx)(i.xv,{fontSize:c,fontWeight:"medium",children:u})})})}},5180:function(n,t,e){"use strict";var i=e(3271),o=e(208),r=e(6417);t.Z=function(n){var t,e,a;const c=null!==(t=n.height)&&void 0!==t?t:"100%",l=null!==(e=n.width)&&void 0!==e?e:"100%",s=null!==(a=n.borderRadius)&&void 0!==a?a:"lg";return(0,r.jsx)(i.xu,{borderRadius:s,overflow:"hidden",children:(0,r.jsx)(o.Od,{height:c,width:l,speed:.5,startColor:"gray.400",endColor:"white"})})}},8624:function(n,t,e){var i=e(7289).Symbol;n.exports=i},8665:function(n,t,e){var i=e(8624),o=e(3596),r=e(8186),a=i?i.toStringTag:void 0;n.exports=function(n){return null==n?void 0===n?"[object Undefined]":"[object Null]":a&&a in Object(n)?o(n):r(n)}},2306:function(n,t,e){var i=e(5510),o=/^\s+/;n.exports=function(n){return n?n.slice(0,i(n)+1).replace(o,""):n}},2692:function(n,t,e){var i="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;n.exports=i},3596:function(n,t,e){var i=e(8624),o=Object.prototype,r=o.hasOwnProperty,a=o.toString,c=i?i.toStringTag:void 0;n.exports=function(n){var t=r.call(n,c),e=n[c];try{n[c]=void 0;var i=!0}catch(l){}var o=a.call(n);return i&&(t?n[c]=e:delete n[c]),o}},8186:function(n){var t=Object.prototype.toString;n.exports=function(n){return t.call(n)}},7289:function(n,t,e){var i=e(2692),o="object"==typeof self&&self&&self.Object===Object&&self,r=i||o||Function("return this")();n.exports=r},5510:function(n){var t=/\s/;n.exports=function(n){for(var e=n.length;e--&&t.test(n.charAt(e)););return e}},2279:function(n,t,e){var i=e(1845),o=e(6170),r=e(7923),a=Math.max,c=Math.min;n.exports=function(n,t,e){var l,s,u,d,f,h,x=0,m=!1,g=!1,p=!0;if("function"!=typeof n)throw new TypeError("Expected a function");function v(t){var e=l,i=s;return l=s=void 0,x=t,d=n.apply(i,e)}function j(n){return x=n,f=setTimeout(b,t),m?v(n):d}function w(n){var e=n-h;return void 0===h||e>=t||e<0||g&&n-x>=u}function b(){var n=o();if(w(n))return y(n);f=setTimeout(b,function(n){var e=t-(n-h);return g?c(e,u-(n-x)):e}(n))}function y(n){return f=void 0,p&&l?v(n):(l=s=void 0,d)}function C(){var n=o(),e=w(n);if(l=arguments,s=this,h=n,e){if(void 0===f)return j(h);if(g)return clearTimeout(f),f=setTimeout(b,t),v(h)}return void 0===f&&(f=setTimeout(b,t)),d}return t=r(t)||0,i(e)&&(m=!!e.leading,u=(g="maxWait"in e)?a(r(e.maxWait)||0,t):u,p="trailing"in e?!!e.trailing:p),C.cancel=function(){void 0!==f&&clearTimeout(f),x=0,l=h=s=f=void 0},C.flush=function(){return void 0===f?d:y(o())},C}},1845:function(n){n.exports=function(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}},9752:function(n){n.exports=function(n){return null!=n&&"object"==typeof n}},2060:function(n,t,e){var i=e(8665),o=e(9752);n.exports=function(n){return"symbol"==typeof n||o(n)&&"[object Symbol]"==i(n)}},6170:function(n,t,e){var i=e(7289);n.exports=function(){return i.Date.now()}},7923:function(n,t,e){var i=e(2306),o=e(1845),r=e(2060),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;n.exports=function(n){if("number"==typeof n)return n;if(r(n))return NaN;if(o(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=o(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=i(n);var e=c.test(n);return e||l.test(n)?s(n.slice(2),e?2:8):a.test(n)?NaN:+n}}}]);
1
+ (self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[517],{9262:function(n,t,e){"use strict";e(7313),e(9821),e(2634),e(6417)},8675:function(n,t,e){"use strict";e.d(t,{Z:function(){return w}});var i,o,r=e(3271),a=e(5098),c=e(7313),l=e(9821),s=e(2634),u=e(5180),d=e(168),f=e(686);const h=(0,f.F4)(i||(i=(0,d.Z)(["\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(1.05);\n }\n"]))),x=(0,f.F4)(o||(o=(0,d.Z)(["\n 0% {\n transform: scale(1.05);\n }\n 100% {\n transform: scale(1);\n }\n"]))),m="\n ".concat(h,"; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n"),g="\n ".concat(x,"; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n");var p=e(7753),v=e(7129),j=e(6417);var w=function(n){var t,e,[i,o]=(0,l.Z)();const[d]=(0,p.j1)("whatmorePrimaryFont");var f=(0,c.useContext)(v.V);const h=n.event,x=n.onClick,w=null===(t=n.isOnFocus)||void 0===t||t,b=(n.playOnUnfocus,null!==(e=n.animateOnFocus)&&void 0!==e&&e);return(0,j.jsxs)(r.xu,{animation:b?w?m:g:"none",marginTop:f.tileTopMargin,marginBottom:f.tileBottomMMargin,marginLeft:f.tileLeftMargin,marginRight:f.tileRightMargin,width:o,height:i,borderRadius:"lg",sx:{boxShadow:"0px 0px 10px 3px #B0B0B0"},overflow:"hidden",onClick:()=>{x(h)},cursor:"pointer",children:[(0,j.jsx)(a.Ee,{width:"full",height:"full",src:h.thumbnail_image,objectFit:"cover",fallback:(0,j.jsx)(u.Z,{width:o,height:i}),borderRadius:"lg"}),(0,j.jsx)(r.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,j.jsxs)(r.Kq,{direction:"column",height:"full",width:"full",justifyContent:"space-between",children:[(0,j.jsx)(r.xu,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-t, transparent, blackAlpha.200, blackAlpha.400, blackAlpha.600)",children:(0,j.jsx)(r.Kq,{direction:"column",justifyContent:"flex-start",children:(0,j.jsx)(r.xu,{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px",children:(0,j.jsx)(r.Kq,{direction:"row",justifyContent:"space-between",children:(0,j.jsx)(s.Z,{event:h,fontSize:.05*i+"px",maxWidth:.8*o})})})})}),(0,j.jsx)(r.xu,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-b, transparent, blackAlpha.300, blackAlpha.400, blackAlpha.500, blackAlpha.600)",children:(0,j.jsx)(r.Kq,{direction:"column",width:"full",height:"full",justifyContent:"flex-end",alignContent:"center",children:(0,j.jsx)(r.xu,{width:"full",borderRadius:"lg",children:(0,j.jsxs)(r.Kq,{direction:"column",justifyContent:"space-between",alignContent:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px",children:[(0,j.jsx)(r.xv,{color:"white",fontSize:.08*o+"px",fontWeight:"normal",align:"left",children:" "}),(0,j.jsx)(r.xv,{fontSize:.08*o+"px",fontWeight:"normal",align:"left",sx:{fontFamily:d+" !important",color:"white !important"},children:h.title.substring(0,40)}),(0,j.jsx)(r.xv,{fontSize:.08*o+"px",fontWeight:"bold",align:"left",sx:{fontFamily:d+" !important",color:"white !important"},children:h.presenter_name.substring(0,15)})]})})})})]})})]})}},5523:function(n,t,e){"use strict";e.r(t);var i=e(7313),o=e(8675),r=(e(9262),e(4664)),a=e(7616),c=(e(6143),e(7244),e(123),e(9302)),l=e(2575),s=e(3271),u=e(9821),d=e(8866),f=(e(2279),e(7753)),h=e(9316),x=e(7129),m=e(9854),g=e(2641),p=e(7300),v=e(7148),j=e(6417);const w=(0,l.Z)({key:"whatmore-css-hv"});function b(n,t){var e=[];const i=t;for(let o=0;o<n.length;o+=i){const t=n.slice(o,o+i);e.push(t)}return e}function y(n){var t;const[e,o]=(0,i.useState)(!1),[r,a]=(0,i.useState)(!1),[c]=(0,f.j1)("whatmoreSecondaryColorShade600"),[l]=(0,f.j1)("whatmoreSecondaryColorShade300"),[u]=(0,f.j1)("whatmorePrimaryFont"),d=null!==(t=n.baseFontSize)&&void 0!==t?t:10,x=n.onClick;return(0,j.jsx)(s.xu,{width:"fit-content",height:"fit-content",paddingY:"4px",boxShadow:"lg",borderRadius:"md",backgroundColor:e?l:c,animation:r?h.mT:null,onClick:n=>{n.stopPropagation(),a(!0),x()},sx:{cursor:"pointer"},onMouseEnter:()=>{o(!0)},onMouseLeave:()=>{o(!1)},children:(0,j.jsx)(s.Kq,{direction:"row",width:"fit-content",alignContent:"center",children:(0,j.jsxs)(s.xv,{fontSize:d,fontWeight:"normal",sx:{fontFamily:u+" !important",color:"white !important"},children:["\xa0"," view more ","\xa0"]})})})}function C(n){var t;const[e,r,a]=(0,u.Z)();var[c,l]=(0,i.useState)(0);const d=n.events,f=n.onClick,h=null!==(t=n.seeMoreIncrement)&&void 0!==t?t:1,x=b(d,Math.floor(Math.min(a,d.length)));return(0,j.jsx)(s.M5,{children:(0,j.jsxs)(s.Kq,{direction:"column",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:[(0,j.jsx)(j.Fragment,{children:x.map(((n,t)=>t>c?(0,j.jsx)(j.Fragment,{}):(0,j.jsx)(s.Kq,{direction:"row",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:n.map(((n,t)=>(0,j.jsx)(s.xu,{style:{margin:"10px"},children:(0,p.B6)(n)||(0,p.WJ)(n)?(0,j.jsx)(v.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:n,onClick:()=>{f(n)}}):(0,j.jsx)(o.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:n,onClick:()=>{f(n)}})},"event-"+t)))},"event-stack-"+t)))}),(0,j.jsx)(j.Fragment,{children:c<x.length-1?(0,j.jsx)(s.Kq,{direction:"row",width:"100%",height:"fit-content",marginY:"10px",justifyContent:"center",alignContent:"center",children:(0,j.jsx)(y,{baseFontSize:.1*r,onClick:()=>{c>=x.length-1||l((n=>n+h))}})}):(0,j.jsx)(j.Fragment,{})})]})})}function F(n){var t;const[e,r,a,c]=(0,u.Z)();var[l,d]=(0,i.useState)(0);const f=n.events,h=n.onClick,x=null!==(t=n.seeMoreIncrement)&&void 0!==t?t:1,m=b(f,Math.floor(Math.min(a,f.length)));return(0,j.jsx)(s.M5,{paddingLeft:c+"px",paddingRight:c+"px",children:(0,j.jsxs)(s.Kq,{direction:"column",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:[(0,j.jsx)(j.Fragment,{children:m.map(((n,t)=>t>l?(0,j.jsx)(j.Fragment,{}):(0,j.jsx)(s.Kq,{direction:"row",width:"100%",height:"fit-content",marginY:"10px",justifyContent:"center",alignContent:"center",children:n.map(((n,t)=>(0,j.jsx)(s.xu,{style:{margin:"10px"},children:(0,p.B6)(n)||(0,p.WJ)(n)?(0,j.jsx)(v.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:n,onClick:()=>{h(n)}}):(0,j.jsx)(o.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:n,onClick:()=>{h(n)}})},"event-"+t)))},"event-stack-"+t)))}),(0,j.jsx)(j.Fragment,{children:l<m.length-1?(0,j.jsx)(s.Kq,{direction:"row",width:"100%",height:"fit-content",marginY:"10px",justifyContent:"center",alignContent:"center",children:(0,j.jsx)(y,{baseFontSize:.1*r,onClick:()=>{l>=m.length-1||d((n=>n+x))}})}):(0,j.jsx)(j.Fragment,{})})]})})}t.default=function(n){var t;const[e,o,l]=(0,d.Z)(),[u]=(0,f.j1)("whatmoreShopId"),[h]=(0,f.j1)("whatmorePrimaryColor"),[p]=(0,f.j1)("whatmoreSecondaryColor"),[v]=(0,f.j1)("whatmoreTitleFont"),[b]=(0,f.j1)("whatmoreTitleFontSize"),{whatmoreRootId:y}=(0,i.useContext)(g.I),S=n.events,k=n.onClick,M=null!==(t=(0,m.aR)(u))&&void 0!==t?t:v;function O(n){k(n)}return delete a.ZP.styles.global,(0,j.jsx)(c.C,{value:w,children:(0,j.jsx)("div",{children:(0,j.jsx)(r.x,{theme:a.ZP,cssVarsRoot:y,resetCSS:!1,children:(0,j.jsxs)(x.V.Provider,{value:{tileTopMargin:3,tileBottomMMargin:3,tileLeftMargin:3,tileRightMargin:3,showPlayButton:!1},children:[n.heading.trim().length>0?(0,j.jsx)(s.M5,{children:(0,j.jsx)(s.xv,{bgColor:h,bgClip:"text",fontSize:b,sx:{fontFamily:M+" !important"},align:"center",children:n.heading})}):(0,j.jsx)(j.Fragment,{}),"landscape"===e?(0,j.jsx)(F,{events:S,onClick:O,seeMoreIncrement:1}):(0,j.jsx)(C,{events:S,onClick:O,seeMoreIncrement:2})]})})})})}},9316:function(n,t,e){"use strict";e.d(t,{mT:function(){return s}});var i,o,r,a=e(168),c=e(686);const l=(0,c.F4)(i||(i=(0,a.Z)(["\n 0% { transform: scale(1); }\n 50%, { transform: scale(0.95); }\n 100% { transform: scale(1); }\n"]))),s="\n ".concat(l," 0.2s linear;\n"),u=(0,c.F4)(o||(o=(0,a.Z)(["\n 100% { \n -webkit-transform: rotate(360deg); \n transform:rotate(360deg); \n }\n"]))),d=("\n ".concat(u," 0.5s infinite linear;\n"),(0,c.F4)(r||(r=(0,a.Z)(["\n 0% { \n opacity: 1;\n transform: translateY(100%);\n }\n 10%{\n transform: translateY(0%);\n }\n 12%{\n transform: translateY(-5%);\n }\n 20%{\n transform: translateY(0%);\n }\n 95%{\n opacity: 1;\n transform: scale(1);\n }\n 100%{\n opacity: 0;\n }\n"]))));"\n ".concat(d," ").concat(3,"s ease-in-out;\n")},2634:function(n,t,e){"use strict";var i=e(3271),o=e(4897),r=e(499),a=e(6417);t.Z=function(n){var t,e=n.event,c=n.fontSize,l=null!==(t=n.maxWidth)&&void 0!==t?t:"100%",{status:s,bannerText:u,timeToStartInMins:d}=o.Z.getEventStatus(e);return s.name===r.Z.LIVE.name?(0,a.jsx)(i.xu,{maxWidth:l,width:"fit-content",borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"tomato",color:s.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:c,fontWeight:"bold",color:"white",children:u})})}):(0,a.jsx)(i.xu,{maxWidth:l,borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"white",color:s.color,children:(0,a.jsx)(i.Kq,{direction:"row",justifyContent:"flex-start",width:"fit-content",alignContent:"center",children:(0,a.jsx)(i.xv,{fontSize:c,fontWeight:"medium",children:u})})})}},5180:function(n,t,e){"use strict";var i=e(3271),o=e(208),r=e(6417);t.Z=function(n){var t,e,a;const c=null!==(t=n.height)&&void 0!==t?t:"100%",l=null!==(e=n.width)&&void 0!==e?e:"100%",s=null!==(a=n.borderRadius)&&void 0!==a?a:"lg";return(0,r.jsx)(i.xu,{borderRadius:s,overflow:"hidden",children:(0,r.jsx)(o.Od,{height:c,width:l,speed:.5,startColor:"gray.400",endColor:"white"})})}},8624:function(n,t,e){var i=e(7289).Symbol;n.exports=i},8665:function(n,t,e){var i=e(8624),o=e(3596),r=e(8186),a=i?i.toStringTag:void 0;n.exports=function(n){return null==n?void 0===n?"[object Undefined]":"[object Null]":a&&a in Object(n)?o(n):r(n)}},2306:function(n,t,e){var i=e(5510),o=/^\s+/;n.exports=function(n){return n?n.slice(0,i(n)+1).replace(o,""):n}},2692:function(n,t,e){var i="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g;n.exports=i},3596:function(n,t,e){var i=e(8624),o=Object.prototype,r=o.hasOwnProperty,a=o.toString,c=i?i.toStringTag:void 0;n.exports=function(n){var t=r.call(n,c),e=n[c];try{n[c]=void 0;var i=!0}catch(l){}var o=a.call(n);return i&&(t?n[c]=e:delete n[c]),o}},8186:function(n){var t=Object.prototype.toString;n.exports=function(n){return t.call(n)}},7289:function(n,t,e){var i=e(2692),o="object"==typeof self&&self&&self.Object===Object&&self,r=i||o||Function("return this")();n.exports=r},5510:function(n){var t=/\s/;n.exports=function(n){for(var e=n.length;e--&&t.test(n.charAt(e)););return e}},2279:function(n,t,e){var i=e(1845),o=e(6170),r=e(7923),a=Math.max,c=Math.min;n.exports=function(n,t,e){var l,s,u,d,f,h,x=0,m=!1,g=!1,p=!0;if("function"!=typeof n)throw new TypeError("Expected a function");function v(t){var e=l,i=s;return l=s=void 0,x=t,d=n.apply(i,e)}function j(n){return x=n,f=setTimeout(b,t),m?v(n):d}function w(n){var e=n-h;return void 0===h||e>=t||e<0||g&&n-x>=u}function b(){var n=o();if(w(n))return y(n);f=setTimeout(b,function(n){var e=t-(n-h);return g?c(e,u-(n-x)):e}(n))}function y(n){return f=void 0,p&&l?v(n):(l=s=void 0,d)}function C(){var n=o(),e=w(n);if(l=arguments,s=this,h=n,e){if(void 0===f)return j(h);if(g)return clearTimeout(f),f=setTimeout(b,t),v(h)}return void 0===f&&(f=setTimeout(b,t)),d}return t=r(t)||0,i(e)&&(m=!!e.leading,u=(g="maxWait"in e)?a(r(e.maxWait)||0,t):u,p="trailing"in e?!!e.trailing:p),C.cancel=function(){void 0!==f&&clearTimeout(f),x=0,l=h=s=f=void 0},C.flush=function(){return void 0===f?d:y(o())},C}},1845:function(n){n.exports=function(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}},9752:function(n){n.exports=function(n){return null!=n&&"object"==typeof n}},2060:function(n,t,e){var i=e(8665),o=e(9752);n.exports=function(n){return"symbol"==typeof n||o(n)&&"[object Symbol]"==i(n)}},6170:function(n,t,e){var i=e(7289);n.exports=function(){return i.Date.now()}},7923:function(n,t,e){var i=e(2306),o=e(1845),r=e(2060),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;n.exports=function(n){if("number"==typeof n)return n;if(r(n))return NaN;if(o(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=o(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=i(n);var e=c.test(n);return e||l.test(n)?s(n.slice(2),e?2:8):a.test(n)?NaN:+n}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[55],{51:function(e,t,n){n.d(t,{Z:function(){return i}});n(7313);var o=n(6417);var i=function(e){return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("span",{className:"whatmore-loading-indicator"})})}},3175:function(e,t,n){var o=n(208),i=n(51),r=n(6417);t.Z=function(e){var t,n;const a=null!==(t=e.height)&&void 0!==t?t:"100%",s=null!==(n=e.width)&&void 0!==n?n:"100%";return(0,r.jsxs)("div",{style:{width:s,height:a,overflow:"hidden"},children:[(0,r.jsx)(o.Od,{height:"100%",width:"100%",speed:0,startColor:"#202020",endColor:"#606060"}),(0,r.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,r.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",width:"100%",height:"fit-content"},children:(0,r.jsx)(i.Z,{})})})]})}},941:function(e,t,n){n.d(t,{D:function(){return o}});const o=async function(e,t,n,o){if("STRNV8MHJTF"!=e&&"STR6HU283UZ"!=e&&"STR9T3LLEJB"!=e&&"STRWJMIOJNX"!=e&&"STRUDQ36YAC"!=e&&"STR1D5ONOZX"!=e){var i=await fetch("https://"+window.location.hostname+"/cart.js",{cache:"reload"}).then((e=>e.json()));if("27358003275"==e||"63748341981"==e||"68237558034"==e)document.documentElement.dispatchEvent(new CustomEvent("cart:refresh",{bubbles:!0,detail:{cart:i,openMiniCart:!0}}));else if("19506115"==e)window.PXUTheme.jsAjaxCart.showDrawer(),window.PXUTheme.jsAjaxCart.updateView();else if("54465429691"==e)refreshCart(i),window.setTimeout((function(){$.fancybox.close(),$(".cart-button").click()}),500);else if("25427564"==e||"4243849314"==e){(new theme.CartDrawer).open()}else"62602182872"==e||"57362710572"==e?(CartJS.getCart(),$(".block-cart").addClass("active")):"60492578980"==e||"12183765088"==e||"58546946211"==e||"42070737058"==e||"71321583919"==e||"68492624171"==e||"74541891876"==e?(document.documentElement.dispatchEvent(new CustomEvent("ajaxProduct:added",{bubbles:!0,detail:{}})),document.documentElement.dispatchEvent(new CustomEvent("cart:open",{bubbles:!0,detail:{}}))):"36300750986"==e||"2665447536"==e?fetch("/?section_id=cart-drawer").then((e=>e.text())).then((e=>{const t=(new DOMParser).parseFromString(e,"text/html").getElementById("cart-drawer").innerHTML;$("#cart-drawer").html(t),$('[aria-controls="cart-drawer"]')[0].click(),$(".header__cart-count .count-bubble ").html(cart.item_count).css("opacity",1)})):"57824805033"==e?fetch("/cart.json").then((e=>e.json())).then((e=>{fetch("/cart?view=item").then((e=>e.text())).then((t=>{const n=(new DOMParser).parseFromString(t,"text/html"),o=n.getElementById("CartDrawer"),i=document.getElementById("CartDrawer");o&&i&&(i.innerHTML=o.innerHTML),n.querySelector("#CartDrawer .totals__subtotal-value");const r=document.querySelector("cart-drawer");r&&r.classList.remove("is-empty");const a=document.querySelector("cart-drawer-items");a&&a.classList.remove("is-empty");const s=document.getElementById("cart-icon-bubble");if(s.querySelector(".cart-count-bubble"))s.querySelectorAll('.cart-count-bubble span[aria-hidden="true"]').forEach((t=>{t.textContent=e.item_count}));else{const t=document.createElement("div");t.className="cart-count-bubble",t.innerHTML='\n <span aria-hidden="true">'.concat(e.item_count,'</span>\n <span class="visually-hidden">').concat(e.item_count," items</span>\n "),s.appendChild(t)}s.click(),document.getElementById("CartDrawer-Overlay").addEventListener("click",(()=>{const e=document.querySelector("cart-drawer");e&&e.classList.remove("active"),document.body.classList.remove("overflow-hidden")}))}))})):document.documentElement.dispatchEvent(new CustomEvent("product:added",{bubbles:!0,detail:{}}));setTimeout(t,n)}else{console.log("Executing cart refresh script..");document.getElementById("whatsmorecart").value=Math.random()}}},2887:function(e,t,n){var o=n(7313),i=(n(6422),n(3175)),r=n(6417);t.Z=function(e){var t,n,a;const[s,c]=(0,o.useState)(!1),d=o.useRef(0),l=(0,o.useRef)(null),u=null!==(t=e.timeUpdateCallback)&&void 0!==t?t:()=>{},h=null!==(n=e.height)&&void 0!==n?n:"100%",p=null!==(a=e.width)&&void 0!==a?a:"100%";return(0,o.useEffect)((()=>{d.current=0;const e=setInterval((()=>{d.current=d.current+.03,l.current&&u(d.current,5),d.current>=5&&(d.current=0)}),30);return()=>{clearInterval(e)}}),[e.isPlaying]),(0,r.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:p,height:h,overflow:"hidden"},children:[(0,r.jsx)("div",{style:{width:s?"100%":"0px",height:s?"100%":"0px"},children:(0,r.jsx)("img",{ref:l,src:e.url,style:{objectFit:"cover",height:h,width:p,backgroundColor:"white"},alt:"image player",onLoad:()=>{c(!0)}})}),s?(0,r.jsx)(r.Fragment,{}):(0,r.jsx)(i.Z,{width:"100%",height:"100%"})]})}},4892:function(e,t,n){n.d(t,{Z:function(){return u}});var o=n(7313),i=n(3933),r=n(868),a=n(8984),s=n(7300),c=(n(6422),n(2887)),d=n(6417);var l=function(e){var t,n;const r=(0,o.useRef)(null),[a,s,c]=(0,i.YD)({triggerOnce:!0}),l=null!==(t=e.height)&&void 0!==t?t:"100%",u=null!==(n=e.width)&&void 0!==n?n:"100%";return(0,o.useEffect)((()=>{r.current&&(e.isPlaying?r.current.play():r.current.pause())}),[e.isPlaying,s]),(0,d.jsx)("div",{ref:a,style:{width:l,height:u,overflow:"hidden"},children:s?(0,d.jsx)("video",{ref:r,className:"whatmore-video-player",width:u,height:l,preload:"auto",loop:!0,playsInline:!0,muted:!0,autoPlay:!0,src:e.url,style:{backgroundColor:"white"}}):(0,d.jsx)("div",{width:u,height:l,ref:e=>{e&&e.style.setProperty("display","block","important")}})})};var u=function(e){var t,n,u;const[h,p,f]=(0,i.YD)({triggerOnce:!0});if((0,s.WJ)(e.event))return(0,d.jsx)(c.Z,{height:e.height,width:e.width,url:e.url,isPlaying:e.isPlaying,timeUpdateCallback:e.timeUpdateCallback});const v=null!==(t=e.pauseFromPlayTimeInMs)&&void 0!==t?t:200;if((0,a.KE)())return(0,d.jsx)(l,{height:"100%",width:"100%",url:(0,r.V)(e.url),isPlaying:e.isPlaying,pauseFromPlayTimeInMs:v});const m=(0,o.useRef)(null),g=null!==(n=e.height)&&void 0!==n?n:"100%",w=null!==(u=e.width)&&void 0!==u?u:"100%";return(0,o.useEffect)((()=>{m.current&&(e.isPlaying?m.current.play():m.current.pause())}),[e.isPlaying,p]),(0,d.jsx)("div",{ref:h,style:{width:g,height:w,overflow:"hidden"},children:p?(0,d.jsx)("video",{ref:m,className:"whatmore-video-player",width:w,height:g,preload:"auto",loop:!0,playsInline:!0,muted:!0,src:(0,r.V)(e.url),style:{backgroundColor:"white"}}):(0,d.jsx)("div",{width:w,height:g,ref:e=>{e&&e.style.setProperty("display","block","important")}})})}},6055:function(e,t,n){n.r(t),n.d(t,{default:function(){return O}});var o=n(7313),i=n(9854),r=n(2860),a=n(7753),s=n(5160),c=(n(4844),n(6967)),d=n(4959),l=n(4892),u=n(6805),h=n(9821);var p=function(e){const[t,n,o,i,r]=(0,h.Z)(),[s]=(0,a.j1)("whatmoreEmbedAppVideoPlayerSizePortrait"),[c]=(0,a.j1)("whatmoreEmbedAppVideoPlayerSizeLandscape"),d=r[u.YP]===u.$w?c/100:s/100*1.2;return[t*d,n*d,r]},f=n(9723),v=n(9461),m=n.n(v),g=n(1195),w=n(7108),y=(n(7244),n(123),n(6417));var b=function(e){const t=o.useRef(null);var[n,r,s]=p();const[c]=(0,a.j1)("whatmoreEmbedAppVideoTitle"),[h]=(0,a.j1)("whatmoreEmbedAppPositionPortrait"),[v]=(0,a.j1)("whatmoreEmbedAppHorizontalPaddingPortrait"),[b]=(0,a.j1)("whatmoreEmbedAppVerticalPaddingPortrait"),[x]=(0,a.j1)("whatmoreEmbedAppPositionLandscape"),[j]=(0,a.j1)("whatmoreEmbedAppHorizontalPaddingLandscape"),[E]=(0,a.j1)("whatmoreEmbedAppVerticalPaddingLandscape"),_=(0,a.MO)("whatmoreShopId");var S=h,P=v,C=b;s[u.YP]===u.$w&&(S=x,P=j,C=E);const[T,k]=(0,o.useState)(["initial",window.pageYOffset]),[I,z]=(0,o.useState)(!1);function O(e,t){k(e),e[1]<=100?z(!1):t!=I&&z(t)}(0,o.useEffect)((()=>{let e=window.pageYOffset,t=!1;const n=()=>{const n=window.pageYOffset;Math.abs(n-e)<100||(O([n>e?"scrolled-down":"scrolled-up",n],!0),e=n>0?n:0),t=!1},o=()=>{t||(window.requestAnimationFrame(n),t=!0)};return window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)}),[T]),(0,d.O3)({ref:t,handler:()=>{O(["scrolled-up",T[1]],!0)}});const A=e.event,L=e.inVideoClick,N=e.closeClick,M=.3*r,D=.6*r,Z=.1*r,V=.1*(.5*r),B="10px",J=(0,i.Z$)(_);var H=!1,R=0,F=0;function q(e){H=e}return(0,y.jsx)("div",{children:I&&(0,i.lV)(_)?(0,y.jsx)("div",{style:"left"===S?{left:"1px",bottom:C+"px",position:"fixed",zIndex:J}:{right:"5px",bottom:C+"px",position:"fixed",zIndex:J},children:(0,y.jsxs)("div",{onClick:()=>{O(["initial",T[1]],!1)},style:{margin:"1px",width:r+"px",height:n+"px"},className:"left"===S?"whatmore-ultraminimized-video-view-left":"whatmore-ultraminimized-video-view-right",children:[(0,y.jsx)("div",{style:{boxShadow:"0px 0px 10px 3px #B0B0B0",borderRadius:B,overflow:"hidden"},children:(0,y.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:9/16},children:(0,y.jsx)(l.Z,{url:A.thumbnail_image,isPlaying:!1,event:A})})}),(0,y.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,y.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",height:"100%"},children:[(0,y.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content"},children:(0,y.jsx)("div",{className:"whatmore-ultraminimized-content-scale-out",children:(0,y.jsx)(g.Z,{sx:{filter:"drop-shadow(0 0 15px black);",color:"white",fontSize:M+"px"},style:{position:"relative",zIndex:1,left:V+"px",bottom:V+"px"},onClick:N})})}),(0,y.jsx)("div",{style:{height:"100%",display:"flex",flexFlow:"column nowrap",alignItems:"center",justifyContent:"center"},children:(0,y.jsx)(w.Z,{sx:{color:"white",fontSize:2*M+"px",filter:"drop-shadow(0 0 15px black);"}})})]})})]})}):(0,y.jsx)(m(),{nodeRef:t,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 n,o;n=t.x,o=t.y,R=n,F=o},onDrag:(e,t)=>{q(!0)},onStop:(e,t)=>{H&&(Math.abs(t.x-R)>5||Math.abs(t.y-F)>5)?q(!1):L(A)},children:(0,y.jsx)("div",{ref:t,style:"left"===S?{left:P+"px",bottom:C+"px",position:"fixed",zIndex:J}:{right:P+"px",bottom:C+"px",position:"fixed",zIndex:J},children:(0,y.jsxs)("div",{style:Object.assign({},{boxSizing:"border-box",margin:"1px",width:r+"px",height:n+"px"}),className:"left"===S?"whatmore-minimized-video-view-left":"whatmore-minimized-video-view-right",children:[(0,y.jsx)("div",{style:{boxShadow:"0px 0px 10px 3px #B0B0B0",borderRadius:B,overflow:"hidden",position:"relative"},children:(0,y.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:9/16},children:(0,y.jsx)(l.Z,{url:A.thumbnail_image,isMuted:!0,isPlaying:!0,event:A})})}),(0,y.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,y.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",height:"100%"},children:[(0,y.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content"},children:(0,y.jsx)(g.Z,{className:"close-btn",sx:{filter:"drop-shadow(0 0 15px black);",color:"white",fontSize:M+"px"},onClick:N,style:{position:"relative",zIndex:1,left:Z+"px",bottom:Z+"px"}})}),(0,y.jsx)("div",{style:{marginLeft:"auto",marginRight:"auto"},children:(0,y.jsx)(f.Z,{sx:{color:"white",fontSize:D+"px",filter:"drop-shadow(0 0 15px black);"}})}),(0,y.jsx)("div",{style:{paddingLeft:"2px",paddingRight:"2px",borderBottomLeftRadius:B,borderBottomRightRadius:B,backgroundImage:c?"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0.6))":""},children:(0,y.jsxs)("p",{style:{textAlign:"center",color:"white",fontFamily:"Sans-serif",fontWeight:"semi-bold",fontSize:.4*M+"px",margin:0,padding:0,lineHeight:"110%"},children:["\xa0",c]})})]})})]})})})})},x=n(58),j=n(8984),E=(n(7247),n(1824),n(4669)),_=n(941),S=n(9302),P=n(2575),C=n(7300),T=n(6524);const k=(0,P.Z)({key:"whatmore-css-ppv"}),I=o.lazy((()=>Promise.all([n.e(648),n.e(576),n.e(853),n.e(843),n.e(926),n.e(921),n.e(282),n.e(204)]).then(n.bind(n,7490))));function z(e){return e.split(/[?#]/)[0]}var O=function(e){const[t,n]=(0,o.useState)(),[d,l]=(0,o.useState)(),[u]=(0,a.j1)("isInDesignMode"),[h]=(0,a.j1)("isDemoBrand"),[p]=(0,a.j1)("whatmoreEmbedAppUseVariant"),[f,v]=(0,o.useState)(-2),[m]=(0,a.j1)("whatmoreVariantId"),[g]=(0,a.j1)("whatmoreShopId");var[w]=(0,a.j1)("whatmoreProductId");const P=(0,a.MO)("isLandingSharedLink"),O=(0,a.MO)("whatmoreShareTemplateId"),A=((0,a.MO)("whatmoreShareStoryId"),(0,a.MO)("whatmoreShareEventId"));w=(0,i.iX)(g)?z(window.location.href):w;const[L,N]=(0,o.useState)((()=>"true"===p?m:w));var M=r.Gc+"/v1/brand/"+g+"/product-events";(0,o.useEffect)((()=>{(0,c.hb)()}),[]),(0,o.useEffect)((()=>{(0,E.ll)(g)}),[]),(0,o.useEffect)((()=>{null==t||0==t.length||d||!(0,j.KE)()||(0,a.MO)("whatmoreVideoPlayerPoolInitiated")||(0,x.b5)(x.UD)}),[t]),(0,o.useEffect)((()=>{v(-1),fetch(M.toString()+"?client_product_id="+L.toString()+"&status="+"upcoming".toString()+"&event_type=video").then((e=>e.json())).then((e=>(n(e),e))).then((e=>((0,i.yo)(g)&&function(e,t){setTimeout((async()=>{const n=e.reduce(((e,t)=>[...e,...t.products]),[]).filter((e=>e.client_product_id==t))[0];if(!n||n.product_link==z(window.location.href))return;const o={product_id:n.product_id,product_link:z(window.location.href)};fetch(r.Gc+"/product",{method:"PUT",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(o)})}),500)}(e,L),e))).catch((e=>{l(e.message)}))}),[L]),(0,o.useEffect)((()=>{v(-2)}),[t]),(0,o.useEffect)((()=>{let e=history.pushState;history.pushState=function(){let t=e.apply(this,arguments);return window.dispatchEvent(new Event("pushstate")),window.dispatchEvent(new Event("locationchange")),t};let t=history.replaceState;history.replaceState=function(){let e=t.apply(this,arguments);return window.dispatchEvent(new Event("replacestate")),window.dispatchEvent(new Event("locationchange")),e},window.addEventListener("popstate",(()=>{window.dispatchEvent(new Event("locationchange"))})),window.addEventListener("locationchange",(function(){if("true"===p){const e=function(e){for(var t=window.location.search.substring(1).split("&"),n=0;n<t.length;n++){var o=t[n].split("=");if(o[0]==e)return o[1]}return!1}("variant");e&&""!==e&&N(e)}}))}),[]),(0,o.useEffect)((()=>{null==t||0==t.length||d||P&&"template-embed"==(0,T.zv)(O)&&null!=A&&t.forEach(((e,t)=>{A==e.event_id&&D(e,!0,t)}))}),[t]);const D=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if((0,j.KE)()&&!t&&(0,x.QV)(),(0,C.B6)(e)||(0,C.WJ)(e))return u||h||(async()=>{(0,s.wh)(e),(0,E.Tc)(g,r.h7,r.dU),(0,c.H4)(e.event_id,e.products,"product_page","video_popup")})(),void v(n)};function Z(){return(0,y.jsx)(y.Fragment,{})}return null==t||0==t.length||d?(0,y.jsx)("div",{}):(0,y.jsx)(S.C,{value:k,children:"no-product"===L||-1===f||0===t.length?(0,y.jsx)(Z,{}):-2===f&&t.length>0?(0,y.jsx)("div",{children:(0,y.jsx)(b,{event:t[0],inVideoClick:D,closeClick:e=>{e.stopPropagation(),v(-1)}})}):(0,y.jsx)("div",{children:(0,y.jsx)(o.Suspense,{children:(0,y.jsx)(I,{events:t,index:f,onBack:function(){(0,i.n2)(g)&&(0,a.MO)("whatmoreAddedToCart")&&(0,_.D)(g,(()=>{}),100,window.location.hostname),v(-2)},template:"template-product-page"})})})})}},868:function(e,t,n){n.d(t,{V:function(){return s}});var o=n(9854),i=n(7753);const r={"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.startsWith("https://cdn.shopify.com"))return e;if("AWSCDN"==(0,o.zp)(t))return e;if("AZURECDN"==(0,o.zp)(t)){if(e.includes(".azureedge.net"))return e;if(e.includes(".cloudfront.net")){for(const t of Object.keys(r))if(e.includes(t))return e.replace(t,r[t]);return e}}if("BUNNYCDN"==(0,o.zp)(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}},7300:function(e,t,n){n.d(t,{B6:function(){return o},WJ:function(){return i},yC:function(){return r}});const o=function(e){return"video"===e.event_type},i=function(e){return"image"===e.event_type},r=function(e){return"livestream"===e.event_type}},6805:function(e,t,n){n.d(t,{$I:function(){return s},$w:function(){return d},AK:function(){return r},AL:function(){return a},YP:function(){return i},me:function(){return o},rE:function(){return c}});const o="device_type",i="device_mode",r="mobile",a="tablet",s="desktop",c="portrait",d="landscape"},6422:function(e,t,n){var o=n(7313),i=n(7753);t.Z=function(e){const[t,n]=(0,i.j1)("muted");return(0,o.useEffect)((()=>{}),[]),[t,n]}},8866:function(e,t,n){var o=n(7313);function i(){return[window.innerHeight,window.innerWidth]}t.Z=function(e){var[t,n]=i();const[r,a]=(0,o.useState)(["portrait",t,n]);return(0,o.useLayoutEffect)((()=>{function e(){var[e,t]=i();a(e>t?["portrait",e,t]:["landscape",e,t])}return window.addEventListener("resize",e),window.addEventListener("orientationchange",e),screen.orientation&&screen.orientation.addEventListener("change",e),e(),()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e),screen.orientation&&screen.orientation.removeEventListener("change",e)}}),[]),r}},9821:function(e,t,n){var o=n(6367),i=n(7753),r=n(8866),a=n(6805);t.Z=function(e){const[t,n,s]=(0,r.Z)(),[c]=(0,i.j1)("whatmoreLandscapePadding"),[d]=(0,i.j1)("whatmoreVideoTileSize"),l=(0,o.useMediaQuery)({query:"(min-width: 1025px)"}),u=(0,o.useMediaQuery)({query:"(min-width: 481px)"}),h=!("portrait"!=t||!u),p=d/100*1.3*.5,f=d/100;var v=Math.min(s,n),[m,g,w,y]=[.6*v*(16/9),.6*v,1.4,0];function b(e){return Math.round(10*e)/10}var x={DEVICE_TYPE:a.AK,DEVICE_MODE:a.rE};if(l){const e=g*p,t=m*p;[m,g,w,y]=[t,e,(s-2*c)/(1.1*e),c],x[a.me]=a.$I,x[a.YP]=a.$w}else if(h){var j=.8*g,E=.8*m;"portrait"==t?(j*=f,E*=f,[m,g,w,y]=[E,j,b(s/(1.2*j)),0],x[a.me]=a.AL,x[a.YP]=a.rE):([m,g,w,y]=[E,j,(s-2*c)/(1.1*j),c],x[a.me]=a.AL,x[a.YP]=a.$w)}else{j=g,E=m;"portrait"==t?(j*=f,E*=f,[m,g,w,y]=[E,j,b(s/(1.2*j)),0],x[a.me]=a.AK,x[a.YP]=a.rE):(j=.7*g,E=.7*m,[m,g,w,y]=[E,j,(s-2*c)/(1.1*j),c],x[a.me]=a.AK,x[a.YP]=a.$w)}return[m,g,w,y,x]}},5160:function(e,t,n){n.d(t,{$L:function(){return d},JX:function(){return c},Z6:function(){return r},rp:function(){return l},wh:function(){return i},wz:function(){return s},x0:function(){return a}});var o=n(2860);n(7753);function i(e){console.debug("updating user view count for event.");const t={event_id:e.event_id,increase_by:1};fetch(o.Gc+"/event/metrics/views",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)}).then((e=>(console.debug("updating user view count response : HTTP "+e.status),e.json()))).then((e=>{console.debug("updating user view count response : "+JSON.stringify(e))})).catch((e=>{console.error("error updating user view count user for event : ",e)}))}function r(e,t){console.debug("updating like count for event.");const n={event_id:e.event_id,increase_by:t};fetch(o.Gc+"/event/metrics/like",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(n)}).then((e=>(console.debug("updating like count response : HTTP "+e.status),e.json()))).then((e=>{console.debug("updating like count response : "+JSON.stringify(e))})).catch((e=>{console.error("error updating like count user for event : ",e)}))}function a(e){console.debug("updating share count for event.");const t={event_id:e.event_id,increase_by:1};fetch(o.Gc+"/event/metrics/share",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(t)}).then((e=>(console.debug("updating share count response : HTTP "+e.status),e.json()))).then((e=>{console.debug("updating share count response : "+JSON.stringify(e))})).catch((e=>{console.error("error updating share count user for event : ",e)}))}function s(e,t){console.debug("updating event-product click count for event {} and product {}.",e.event_id,t.product_id);const n={event_id:e.event_id,product_id:t.product_id,increase_by:1};fetch(o.Gc+"/event/metrics/clicks",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(n)}).then((e=>(console.debug("updating user event-product click count response : HTTP "+e.status),e.json()))).then((e=>{console.debug("updating user event-product click count response : "+JSON.stringify(e))})).catch((t=>{console.error("error updating user event-product click count for event {} : ",e.event_id,t)}))}function c(e,t,n){console.debug("updating event-product add to cart count for event {} and product {}.",e.event_id,t.product_id);const i={event_id:e.event_id,product_id:t.product_id,increase_by:n};fetch(o.Gc+"/event/metrics/add_to_cart",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(i)}).then((e=>(console.debug("updating user event-product add to cart count response : HTTP "+e.status),e.json()))).then((e=>{console.debug("updating user event-product add to cart count response : "+JSON.stringify(e))})).catch((t=>{console.error("error updating user event-product add to cart count for event {} : ",e.event_id,t)}))}function d(e,t){console.debug("updating event-product buy now count for event {} and product {}.",e.event_id,t.product_id);const n={event_id:e.event_id,product_id:t.product_id,increase_by:1};fetch(o.Gc+"/event/metrics/buy_now",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(n)}).then((e=>(console.debug("updating user event-product buy now count response : HTTP "+e.status),e.json()))).then((e=>{console.debug("updating user event-product buy now count response : "+JSON.stringify(e))})).catch((t=>{console.error("error updating user event-product buy now count for event {} : ",e.event_id,t)}))}async function l(){let{storeId:e="",eventId:t=0,productId:n="",variantId:i="",cartToken:r="",checkoutToken:a="",quantity:s=0,price:c="",actionType:d="",trackingId:l=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u={event_id:t,product_id:n,cart_token:r,checkout_token:a,quantity:s,price:c,variant_id:i,action_type:d,tracking_id:l};console.debug("initiating ATC metadata event for eventId {}, productId {}, variantId {} ",t,n,i);const h=await fetch(o.Gc+"/cart-metadata/"+e,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(u)}).then((e=>(console.debug("initiating ATC metadata event for eventId {}, productId {}, variantId {} : HTTP "+e.status),e.json()))).catch((e=>{console.error("error initiating ATC metadata event for eventId {}, productId {}, variantId {} : ",t,n,i)}));return h}},4669:function(e,t,n){n.d(t,{Tc:function(){return u},ll:function(){return l}});var o=n(1824),i=n(7786),r=n(9854);n(7753);const a="Whatmore Video Shopping",s="Video View",c={carousel:"Carousel",stories:"Stories",video_popup:"Video Popup"},d={homepage:"Home Page",product_page:"Product Page"};async function l(e){if((0,r.Dv)(e)&&null!==(0,r.hf)(e)&&(i.ZP.initialize((0,r.hf)(e)),console.debug("Whatmore: initialized GA4")),(0,r.hv)(e)&&null!==(0,r.BH)(e)){const t=(0,r.OQ)(e);o.ZP.initialize((0,r.BH)(e),{useExistingGa:t}),console.debug("Whatmore: initialized GA3")}}async function u(e,t,n){(0,r.hv)(e)&&null!==(0,r.BH)(e)&&(o.ZP.event({category:a,action:s,label:d[t]+":"+c[n]}),console.debug("Whatmore: pushed view event to GA3")),(0,r.Dv)(e)&&null!==(0,r.hf)(e)&&(i.ZP.event({category:a,action:s+":"+d[t]+":"+c[n],value:1,nonInteraction:!1}),console.debug("Whatmore: pushed view event to GA4"))}},123:function(){},7244:function(){}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[602],{9262:function(n,t,e){e(7313),e(9821),e(2634),e(6417)},8091:function(n,t,e){e.r(t),e.d(t,{default:function(){return y}});var i=e(7313),o=e(8675),r=(e(9262),e(4664)),a=e(7616),l=(e(6143),e(7244),e(123),e(9302)),s=e(2575),d=e(3271),c=e(8866),h=e(7753),u=e(7129),f=e(9854),x=e(6966),m=e(9821),g=e(3933),p=e(6417);function j(n){var t;const{ref:e,inView:i,entry:o}=(0,g.YD)({triggerOnce:!1}),r=null!==(t=n.defaultHeight)&&void 0!==t?t:"fit-content";return(0,p.jsx)(d.Kq,{ref:e,direction:"row",minHeight:r,height:r,width:"100%",justifyContent:"center",alignItems:"center",children:i?n.data.map(((t,e)=>(0,p.jsx)("div",{children:n.renderElement({eventData:t})},"key"+e))):(0,p.jsx)("div",{style:{minHeight:{rowHeight:r},minWidth:"100%"}})})}function v(n){var t;const[e,i,o]=(0,m.Z)(),r=null!==(t=n.elementsPerRow)&&void 0!==t?t:Math.floor(Math.min(o,n.dataList.length)),a=function(n,t){var e=[];const i=t;for(let o=0;o<n.length;o+=i){const t=n.slice(o,o+i);e.push(t)}return e}(n.dataList,r);return(0,p.jsx)(d.Kq,{direction:"column",height:"100%",width:"100%",justifyContent:"flex-start",alignItems:"center",spacing:.2*e,children:a.map(((t,o)=>(0,p.jsx)(j,{renderElement:n.renderElement,data:t,defaultHeight:e,defaultWidth:i},"key-"+o)))})}var w=e(7300),b=e(7148);const C=(0,s.Z)({key:"whatmore-css-hv"});var y=function(n){var t;const[e,s,g]=(0,c.Z)(),[j,y,R]=(0,m.Z)(),[k]=(0,h.j1)("whatmoreShopId"),[Z]=(0,h.j1)("whatmorePrimaryColor"),[F]=(0,h.j1)("whatmoreSecondaryColor"),[S]=(0,h.j1)("whatmoreTitleFont"),[M]=(0,h.j1)("whatmoreTitleFontSize"),{whatmoreRootId:O}=(0,i.useContext)(x.I),L=n.events,W=n.onClick,z=null!==(t=(0,f.aR)(k))&&void 0!==t?t:S;function q(n){W(n)}const B=parseInt(Math.floor(R));return delete a.ZP.styles.global,(0,p.jsx)(l.C,{value:C,children:(0,p.jsx)("div",{children:(0,p.jsx)(r.x,{theme:a.ZP,cssVarsRoot:O,resetCSS:!1,children:(0,p.jsxs)(u.V.Provider,{value:{tileTopMargin:3,tileBottomMMargin:3,tileLeftMargin:3,tileRightMargin:3,showPlayButton:!1},children:[n.heading.trim().length>0?(0,p.jsx)(d.M5,{children:(0,p.jsx)(d.xv,{bgColor:Z,bgClip:"text",fontSize:M,sx:{fontFamily:z+" !important"},align:"center",children:n.heading})}):(0,p.jsx)(p.Fragment,{}),"landscape"===e?(0,p.jsx)(v,{renderElement:n=>{const t=n.eventData;return(0,p.jsx)("div",{style:{margin:"10px"},children:(0,w.B6)(t)||(0,w.WJ)(t)?(0,p.jsx)(b.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{q(t)}}):(0,p.jsx)(o.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{q(t)}})})},dataList:L,elementsPerRow:B}):(0,p.jsx)(v,{renderElement:n=>{const t=n.eventData;return(0,p.jsx)("div",{style:{margin:"10px"},children:(0,p.jsx)(b.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{q(t)}})})},dataList:L,elementsPerRow:B})]})})})})}},8675:function(n,t,e){e.d(t,{Z:function(){return w}});var i,o,r=e(3271),a=e(5098),l=e(7313),s=e(9821),d=e(2634),c=e(5180),h=e(168),u=e(686);const f=(0,u.F4)(i||(i=(0,h.Z)(["\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(1.05);\n }\n"]))),x=(0,u.F4)(o||(o=(0,h.Z)(["\n 0% {\n transform: scale(1.05);\n }\n 100% {\n transform: scale(1);\n }\n"]))),m="\n ".concat(f,"; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n"),g="\n ".concat(x,"; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n");var p=e(7753),j=e(7129),v=e(6417);var w=function(n){var t,e,[i,o]=(0,s.Z)();const[h]=(0,p.j1)("whatmorePrimaryFont");var u=(0,l.useContext)(j.V);const f=n.event,x=n.onClick,w=null===(t=n.isOnFocus)||void 0===t||t,b=(n.playOnUnfocus,null!==(e=n.animateOnFocus)&&void 0!==e&&e);return(0,v.jsxs)(r.xu,{animation:b?w?m:g:"none",marginTop:u.tileTopMargin,marginBottom:u.tileBottomMMargin,marginLeft:u.tileLeftMargin,marginRight:u.tileRightMargin,width:o,height:i,borderRadius:"lg",sx:{boxShadow:"0px 0px 10px 3px #B0B0B0"},overflow:"hidden",onClick:()=>{x(f)},cursor:"pointer",children:[(0,v.jsx)(a.Ee,{width:"full",height:"full",src:f.thumbnail_image,objectFit:"cover",fallback:(0,v.jsx)(c.Z,{width:o,height:i}),borderRadius:"lg"}),(0,v.jsx)(r.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,v.jsxs)(r.Kq,{direction:"column",height:"full",width:"full",justifyContent:"space-between",children:[(0,v.jsx)(r.xu,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-t, transparent, blackAlpha.200, blackAlpha.400, blackAlpha.600)",children:(0,v.jsx)(r.Kq,{direction:"column",justifyContent:"flex-start",children:(0,v.jsx)(r.xu,{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px",children:(0,v.jsx)(r.Kq,{direction:"row",justifyContent:"space-between",children:(0,v.jsx)(d.Z,{event:f,fontSize:.05*i+"px",maxWidth:.8*o})})})})}),(0,v.jsx)(r.xu,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-b, transparent, blackAlpha.300, blackAlpha.400, blackAlpha.500, blackAlpha.600)",children:(0,v.jsx)(r.Kq,{direction:"column",width:"full",height:"full",justifyContent:"flex-end",alignContent:"center",children:(0,v.jsx)(r.xu,{width:"full",borderRadius:"lg",children:(0,v.jsxs)(r.Kq,{direction:"column",justifyContent:"space-between",alignContent:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px",children:[(0,v.jsx)(r.xv,{color:"white",fontSize:.08*o+"px",fontWeight:"normal",align:"left",children:" "}),(0,v.jsx)(r.xv,{fontSize:.08*o+"px",fontWeight:"normal",align:"left",sx:{fontFamily:h+" !important",color:"white !important"},children:f.title.substring(0,40)}),(0,v.jsx)(r.xv,{fontSize:.08*o+"px",fontWeight:"bold",align:"left",sx:{fontFamily:h+" !important",color:"white !important"},children:f.presenter_name.substring(0,15)})]})})})})]})})]})}},2634:function(n,t,e){var i=e(3271),o=e(4897),r=e(499),a=e(6417);t.Z=function(n){var t,e=n.event,l=n.fontSize,s=null!==(t=n.maxWidth)&&void 0!==t?t:"100%",{status:d,bannerText:c,timeToStartInMins:h}=o.Z.getEventStatus(e);return d.name===r.Z.LIVE.name?(0,a.jsx)(i.xu,{maxWidth:s,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:l,fontWeight:"bold",color:"white",children:c})})}):(0,a.jsx)(i.xu,{maxWidth:s,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:l,fontWeight:"medium",children:c})})})}},5180:function(n,t,e){var i=e(3271),o=e(208),r=e(6417);t.Z=function(n){var t,e,a;const l=null!==(t=n.height)&&void 0!==t?t:"100%",s=null!==(e=n.width)&&void 0!==e?e:"100%",d=null!==(a=n.borderRadius)&&void 0!==a?a:"lg";return(0,r.jsx)(i.xu,{borderRadius:d,overflow:"hidden",children:(0,r.jsx)(o.Od,{height:l,width:s,speed:.5,startColor:"gray.400",endColor:"white"})})}}}]);
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[602],{9262:function(n,t,e){e(7313),e(9821),e(2634),e(6417)},8091:function(n,t,e){e.r(t),e.d(t,{default:function(){return y}});var i=e(7313),o=e(8675),r=(e(9262),e(4664)),a=e(7616),l=(e(6143),e(7244),e(123),e(9302)),s=e(2575),d=e(3271),c=e(8866),h=e(7753),u=e(7129),f=e(9854),x=e(2641),m=e(9821),g=e(3933),p=e(6417);function j(n){var t;const{ref:e,inView:i,entry:o}=(0,g.YD)({triggerOnce:!1}),r=null!==(t=n.defaultHeight)&&void 0!==t?t:"fit-content";return(0,p.jsx)(d.Kq,{ref:e,direction:"row",minHeight:r,height:r,width:"100%",justifyContent:"center",alignItems:"center",children:i?n.data.map(((t,e)=>(0,p.jsx)("div",{children:n.renderElement({eventData:t})},"key"+e))):(0,p.jsx)("div",{style:{minHeight:{rowHeight:r},minWidth:"100%"}})})}function v(n){var t;const[e,i,o]=(0,m.Z)(),r=null!==(t=n.elementsPerRow)&&void 0!==t?t:Math.floor(Math.min(o,n.dataList.length)),a=function(n,t){var e=[];const i=t;for(let o=0;o<n.length;o+=i){const t=n.slice(o,o+i);e.push(t)}return e}(n.dataList,r);return(0,p.jsx)(d.Kq,{direction:"column",height:"100%",width:"100%",justifyContent:"flex-start",alignItems:"center",spacing:.2*e,children:a.map(((t,o)=>(0,p.jsx)(j,{renderElement:n.renderElement,data:t,defaultHeight:e,defaultWidth:i},"key-"+o)))})}var w=e(7300),b=e(7148);const C=(0,s.Z)({key:"whatmore-css-hv"});var y=function(n){var t;const[e,s,g]=(0,c.Z)(),[j,y,R]=(0,m.Z)(),[k]=(0,h.j1)("whatmoreShopId"),[Z]=(0,h.j1)("whatmorePrimaryColor"),[F]=(0,h.j1)("whatmoreSecondaryColor"),[S]=(0,h.j1)("whatmoreTitleFont"),[M]=(0,h.j1)("whatmoreTitleFontSize"),{whatmoreRootId:O}=(0,i.useContext)(x.I),L=n.events,W=n.onClick,z=null!==(t=(0,f.aR)(k))&&void 0!==t?t:S;function q(n){W(n)}const B=parseInt(Math.floor(R));return delete a.ZP.styles.global,(0,p.jsx)(l.C,{value:C,children:(0,p.jsx)("div",{children:(0,p.jsx)(r.x,{theme:a.ZP,cssVarsRoot:O,resetCSS:!1,children:(0,p.jsxs)(u.V.Provider,{value:{tileTopMargin:3,tileBottomMMargin:3,tileLeftMargin:3,tileRightMargin:3,showPlayButton:!1},children:[n.heading.trim().length>0?(0,p.jsx)(d.M5,{children:(0,p.jsx)(d.xv,{bgColor:Z,bgClip:"text",fontSize:M,sx:{fontFamily:z+" !important"},align:"center",children:n.heading})}):(0,p.jsx)(p.Fragment,{}),"landscape"===e?(0,p.jsx)(v,{renderElement:n=>{const t=n.eventData;return(0,p.jsx)("div",{style:{margin:"10px"},children:(0,w.B6)(t)||(0,w.WJ)(t)?(0,p.jsx)(b.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{q(t)}}):(0,p.jsx)(o.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{q(t)}})})},dataList:L,elementsPerRow:B}):(0,p.jsx)(v,{renderElement:n=>{const t=n.eventData;return(0,p.jsx)("div",{style:{margin:"10px"},children:(0,p.jsx)(b.Z,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{q(t)}})})},dataList:L,elementsPerRow:B})]})})})})}},8675:function(n,t,e){e.d(t,{Z:function(){return w}});var i,o,r=e(3271),a=e(5098),l=e(7313),s=e(9821),d=e(2634),c=e(5180),h=e(168),u=e(686);const f=(0,u.F4)(i||(i=(0,h.Z)(["\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(1.05);\n }\n"]))),x=(0,u.F4)(o||(o=(0,h.Z)(["\n 0% {\n transform: scale(1.05);\n }\n 100% {\n transform: scale(1);\n }\n"]))),m="\n ".concat(f,"; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n"),g="\n ".concat(x,"; \n infinite;\n animation-duration:0.2s; \n animation-direction: linear ;\n animation-timing-function: ease-in;\n animation-fill-mode: forwards;\n");var p=e(7753),j=e(7129),v=e(6417);var w=function(n){var t,e,[i,o]=(0,s.Z)();const[h]=(0,p.j1)("whatmorePrimaryFont");var u=(0,l.useContext)(j.V);const f=n.event,x=n.onClick,w=null===(t=n.isOnFocus)||void 0===t||t,b=(n.playOnUnfocus,null!==(e=n.animateOnFocus)&&void 0!==e&&e);return(0,v.jsxs)(r.xu,{animation:b?w?m:g:"none",marginTop:u.tileTopMargin,marginBottom:u.tileBottomMMargin,marginLeft:u.tileLeftMargin,marginRight:u.tileRightMargin,width:o,height:i,borderRadius:"lg",sx:{boxShadow:"0px 0px 10px 3px #B0B0B0"},overflow:"hidden",onClick:()=>{x(f)},cursor:"pointer",children:[(0,v.jsx)(a.Ee,{width:"full",height:"full",src:f.thumbnail_image,objectFit:"cover",fallback:(0,v.jsx)(c.Z,{width:o,height:i}),borderRadius:"lg"}),(0,v.jsx)(r.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,v.jsxs)(r.Kq,{direction:"column",height:"full",width:"full",justifyContent:"space-between",children:[(0,v.jsx)(r.xu,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-t, transparent, blackAlpha.200, blackAlpha.400, blackAlpha.600)",children:(0,v.jsx)(r.Kq,{direction:"column",justifyContent:"flex-start",children:(0,v.jsx)(r.xu,{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px",children:(0,v.jsx)(r.Kq,{direction:"row",justifyContent:"space-between",children:(0,v.jsx)(d.Z,{event:f,fontSize:.05*i+"px",maxWidth:.8*o})})})})}),(0,v.jsx)(r.xu,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-b, transparent, blackAlpha.300, blackAlpha.400, blackAlpha.500, blackAlpha.600)",children:(0,v.jsx)(r.Kq,{direction:"column",width:"full",height:"full",justifyContent:"flex-end",alignContent:"center",children:(0,v.jsx)(r.xu,{width:"full",borderRadius:"lg",children:(0,v.jsxs)(r.Kq,{direction:"column",justifyContent:"space-between",alignContent:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px",children:[(0,v.jsx)(r.xv,{color:"white",fontSize:.08*o+"px",fontWeight:"normal",align:"left",children:" "}),(0,v.jsx)(r.xv,{fontSize:.08*o+"px",fontWeight:"normal",align:"left",sx:{fontFamily:h+" !important",color:"white !important"},children:f.title.substring(0,40)}),(0,v.jsx)(r.xv,{fontSize:.08*o+"px",fontWeight:"bold",align:"left",sx:{fontFamily:h+" !important",color:"white !important"},children:f.presenter_name.substring(0,15)})]})})})})]})})]})}},2634:function(n,t,e){var i=e(3271),o=e(4897),r=e(499),a=e(6417);t.Z=function(n){var t,e=n.event,l=n.fontSize,s=null!==(t=n.maxWidth)&&void 0!==t?t:"100%",{status:d,bannerText:c,timeToStartInMins:h}=o.Z.getEventStatus(e);return d.name===r.Z.LIVE.name?(0,a.jsx)(i.xu,{maxWidth:s,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:l,fontWeight:"bold",color:"white",children:c})})}):(0,a.jsx)(i.xu,{maxWidth:s,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:l,fontWeight:"medium",children:c})})})}},5180:function(n,t,e){var i=e(3271),o=e(208),r=e(6417);t.Z=function(n){var t,e,a;const l=null!==(t=n.height)&&void 0!==t?t:"100%",s=null!==(e=n.width)&&void 0!==e?e:"100%",d=null!==(a=n.borderRadius)&&void 0!==a?a:"lg";return(0,r.jsx)(i.xu,{borderRadius:d,overflow:"hidden",children:(0,r.jsx)(o.Od,{height:l,width:s,speed:.5,startColor:"gray.400",endColor:"white"})})}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[850],{4048:function(e,t,n){n.r(t);var i=n(7313),s=n(4664),r=n(7616),o=(n(6143),n(7850),n(4444),n(7244),n(123),n(5892),n(1811),n(9302)),l=n(2575),a=n(2210),c=n(8486),d=n(9821),h=n(8866),u=n(2279),x=n.n(u),m=n(7753),v=n(7129),g=n(1855),f=n(9854),p=n(6966),j=n(7148),w=n(6417);const y=(0,l.Z)({key:"whatmore-css-hv"});function C(e){const[t,n,i]=(0,d.Z)(),s=(0,m.MO)("whatmoreShopId"),r=e.events,o=e.onClick;return(0,w.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,w.jsx)("div",{style:{width:window.innerWidth,height:"fit-content"},children:(0,w.jsx)(a.tq,{slidesPerView:i*(0,f.u6)(s),initialSlide:r.length>1?1:0,centeredSlides:!0,centeredSlidesBounds:!0,watchSlidesProgress:!0,touchRatio:.5,children:r.map((e=>(0,w.jsx)(a.o5,{children:t=>{let{isActive:n,isPrev:i,isNext:s,isVisible:r}=t;return i||s||n?(0,w.jsx)(j.Z,{isOnFocus:n&&r,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{o(e)}}):(0,w.jsx)(g.Z,{})}},"whatmore-event-tile-portrait-"+e.index)))})})})}function M(e){const[t,n,s,r]=(0,d.Z)(),[o,l]=(0,i.useState)((h=s,Math.floor(Math.random()*Math.floor(h))));var h;const u=e.onClick,m=e.events,v=Math.min(s,m.length);return(0,w.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:r+"px",paddingRight:r+"px"},children:(0,w.jsx)("div",{style:{width:n*v*1.1+"px"},children:(0,w.jsx)(a.tq,{slidesPerView:v,watchSlidesProgress:!0,modules:[c.W_],navigation:!0,slidesPerGroup:parseInt(v),children:m.map(((e,t)=>{const n=x()((()=>l(t)),300);return(0,w.jsx)(a.o5,{onMouseEnter:()=>{n()},onMouseLeave:()=>{n.cancel()},children:n=>{let{isActive:i,isPrev:s,isNext:r,isVisible:l}=n;return l?(0,w.jsx)(j.Z,{isOnFocus:t==o,playOnUnfocus:!0,animateOnFocus:!0,event:e,onClick:()=>{u(e)}}):(0,w.jsx)(g.Z,{})}},"whatmore-event-tile-landscape-"+e.index)}))})})})}t.default=function(e){var t;const[n,l,a]=(0,h.Z)(),[c]=(0,m.j1)("whatmoreShopId"),[d]=(0,m.j1)("whatmorePrimaryColor"),[u]=(0,m.j1)("whatmoreSecondaryColor"),[x]=(0,m.j1)("whatmoreTitleFont"),[g]=(0,m.j1)("whatmoreTitleFontSize"),{whatmoreRootId:j}=(0,i.useContext)(p.I),P=e.events,k=e.onClick,S=null!==(t=(0,f.aR)(c))&&void 0!==t?t:x;function Z(e){k(e)}return delete r.ZP.styles.global,(0,w.jsx)(o.C,{value:y,children:(0,w.jsx)("div",{children:(0,w.jsx)(s.x,{theme:r.ZP,cssVarsRoot:j,resetCSS:!1,children:(0,w.jsxs)(v.V.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0?(0,w.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,w.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",S,"important"),e.style.setProperty("font-size",g+"px","important"))},style:{color:d,backgroundClip:"text",textAlign:"center"},children:e.heading})}):(0,w.jsx)(w.Fragment,{}),"landscape"===n?(0,w.jsx)(M,{events:P,onClick:Z}):(0,w.jsx)(C,{events:P,onClick:Z})]})})})})}},1855:function(e,t,n){var i=n(7313),s=n(9821),r=n(7129),o=n(6417);t.Z=function(e){var[t,n]=(0,s.Z)(),l=(0,i.useContext)(r.V);return e.event,(0,o.jsx)("div",{style:{marginTop:l.tileTopMargin,marginBottom:l.tileBottomMMargin,marginLeft:l.tileLeftMargin,marginRight:l.tileRightMargin,width:n,height:t,overflow:"hidden"}})}},5892:function(){},4444:function(){},1811:function(){},7850:function(){}}]);
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[850],{4048:function(e,t,n){n.r(t);var i=n(7313),s=n(4664),r=n(7616),o=(n(6143),n(7850),n(4444),n(7244),n(123),n(5892),n(1811),n(9302)),l=n(2575),a=n(2210),c=n(8486),d=n(9821),h=n(8866),u=n(2279),x=n.n(u),m=n(7753),v=n(7129),g=n(1855),f=n(9854),p=n(2641),j=n(7148),w=n(6417);const y=(0,l.Z)({key:"whatmore-css-hv"});function C(e){const[t,n,i]=(0,d.Z)(),s=(0,m.MO)("whatmoreShopId"),r=e.events,o=e.onClick;return(0,w.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,w.jsx)("div",{style:{width:window.innerWidth,height:"fit-content"},children:(0,w.jsx)(a.tq,{slidesPerView:i*(0,f.u6)(s),initialSlide:r.length>1?1:0,centeredSlides:!0,centeredSlidesBounds:!0,watchSlidesProgress:!0,touchRatio:.5,children:r.map((e=>(0,w.jsx)(a.o5,{children:t=>{let{isActive:n,isPrev:i,isNext:s,isVisible:r}=t;return i||s||n?(0,w.jsx)(j.Z,{isOnFocus:n&&r,playOnUnfocus:!1,animateOnFocus:!0,event:e,onClick:()=>{o(e)}}):(0,w.jsx)(g.Z,{})}},"whatmore-event-tile-portrait-"+e.index)))})})})}function M(e){const[t,n,s,r]=(0,d.Z)(),[o,l]=(0,i.useState)((h=s,Math.floor(Math.random()*Math.floor(h))));var h;const u=e.onClick,m=e.events,v=Math.min(s,m.length);return(0,w.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:r+"px",paddingRight:r+"px"},children:(0,w.jsx)("div",{style:{width:n*v*1.1+"px"},children:(0,w.jsx)(a.tq,{slidesPerView:v,watchSlidesProgress:!0,modules:[c.W_],navigation:!0,slidesPerGroup:parseInt(v),children:m.map(((e,t)=>{const n=x()((()=>l(t)),300);return(0,w.jsx)(a.o5,{onMouseEnter:()=>{n()},onMouseLeave:()=>{n.cancel()},children:n=>{let{isActive:i,isPrev:s,isNext:r,isVisible:l}=n;return l?(0,w.jsx)(j.Z,{isOnFocus:t==o,playOnUnfocus:!0,animateOnFocus:!0,event:e,onClick:()=>{u(e)}}):(0,w.jsx)(g.Z,{})}},"whatmore-event-tile-landscape-"+e.index)}))})})})}t.default=function(e){var t;const[n,l,a]=(0,h.Z)(),[c]=(0,m.j1)("whatmoreShopId"),[d]=(0,m.j1)("whatmorePrimaryColor"),[u]=(0,m.j1)("whatmoreSecondaryColor"),[x]=(0,m.j1)("whatmoreTitleFont"),[g]=(0,m.j1)("whatmoreTitleFontSize"),{whatmoreRootId:j}=(0,i.useContext)(p.I),P=e.events,k=e.onClick,S=null!==(t=(0,f.aR)(c))&&void 0!==t?t:x;function Z(e){k(e)}return delete r.ZP.styles.global,(0,w.jsx)(o.C,{value:y,children:(0,w.jsx)("div",{children:(0,w.jsx)(s.x,{theme:r.ZP,cssVarsRoot:j,resetCSS:!1,children:(0,w.jsxs)(v.V.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[e.heading.trim().length>0?(0,w.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,w.jsx)("p",{ref:e=>{e&&(e.style.setProperty("font-family",S,"important"),e.style.setProperty("font-size",g+"px","important"))},style:{color:d,backgroundClip:"text",textAlign:"center"},children:e.heading})}):(0,w.jsx)(w.Fragment,{}),"landscape"===n?(0,w.jsx)(M,{events:P,onClick:Z}):(0,w.jsx)(C,{events:P,onClick:Z})]})})})})}},1855:function(e,t,n){var i=n(7313),s=n(9821),r=n(7129),o=n(6417);t.Z=function(e){var[t,n]=(0,s.Z)(),l=(0,i.useContext)(r.V);return e.event,(0,o.jsx)("div",{style:{marginTop:l.tileTopMargin,marginBottom:l.tileBottomMMargin,marginLeft:l.tileLeftMargin,marginRight:l.tileRightMargin,width:n,height:t,overflow:"hidden"}})}},5892:function(){},4444:function(){},1811:function(){},7850:function(){}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[92],{6071:function(e,t,r){r.r(t);var o=r(7313),l=r(4664),n=r(7616),i=(r(6143),r(7850),r(4444),r(7244),r(123),r(5892),r(1811),r(9302)),a=r(2575),s=r(8866),h=r(7753),c=r(7129),d=r(6966),m=r(8631),u=r(6066),j=r(8782),v=r(9821),w=r(6417);const x=(0,a.Z)({key:"whatmore-css-cv"});t.default=function(e){const[t,r,a]=(0,s.Z)(),[g,p,C,f,k]=(0,v.Z)(),[y]=(0,h.j1)("whatmoreCollectionsTileSize"),[P]=(0,h.j1)("whatmoreShopId"),[S]=(0,h.j1)("whatmorePrimaryColor"),[Z]=(0,h.j1)("whatmoreSecondaryColor"),[M]=(0,h.j1)("whatmoreTitleFont"),[R]=(0,h.j1)("whatmoreTitleFontSize"),[T]=(0,h.j1)("whatmoreLandscapePadding"),[b]=(0,h.j1)("whatmoreCollectionsTilesSpacing"),{whatmoreRootId:B}=(0,o.useContext)(d.I),F=e.events,I=e.onClick;function L(e){I(e)}delete n.ZP.styles.global;var z=[];for(let o=0,l=!1;o<F.length;)l&&o!=F.length-1&&Math.random()>.2?(z.push((0,w.jsx)(u.Z,{event1:F[o],event2:F[o+1],onClick:()=>{L(F[o-1])},removeBorders:!0},"collections-tile-"+o)),o+=2,l=!l):(z.push((0,w.jsx)(m.Z,{event:F[o],onClick:()=>{L(F[o-1])},removeBorders:!0,borderRadius:"0%"},"collections-tile-"+o)),o+=1,l=!l);return(0,w.jsx)(i.C,{value:x,children:(0,w.jsx)("div",{children:(0,w.jsx)(l.x,{theme:n.ZP,cssVarsRoot:B,resetCSS:!1,children:(0,w.jsx)(c.V.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:(0,w.jsx)("div",{style:{left:T+"px",right:T+"px"},children:(0,w.jsx)(j.P,{renderElement:e=>(0,w.jsx)(w.Fragment,{children:e.eventData}),dataList:z,spacing:b,defaultHeight:g*y*.01+"px",defaultWidth:p*y*.01+"px",retainAlreadyRenderedElements:!0})})})})})})}}}]);
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[92],{6071:function(e,t,r){r.r(t);var o=r(7313),l=r(4664),n=r(7616),i=(r(6143),r(7850),r(4444),r(7244),r(123),r(5892),r(1811),r(9302)),a=r(2575),s=r(8866),h=r(7753),c=r(7129),d=r(2641),m=r(8631),u=r(6066),j=r(8782),v=r(9821),w=r(6417);const x=(0,a.Z)({key:"whatmore-css-cv"});t.default=function(e){const[t,r,a]=(0,s.Z)(),[g,p,C,f,k]=(0,v.Z)(),[y]=(0,h.j1)("whatmoreCollectionsTileSize"),[P]=(0,h.j1)("whatmoreShopId"),[S]=(0,h.j1)("whatmorePrimaryColor"),[Z]=(0,h.j1)("whatmoreSecondaryColor"),[M]=(0,h.j1)("whatmoreTitleFont"),[R]=(0,h.j1)("whatmoreTitleFontSize"),[T]=(0,h.j1)("whatmoreLandscapePadding"),[b]=(0,h.j1)("whatmoreCollectionsTilesSpacing"),{whatmoreRootId:B}=(0,o.useContext)(d.I),F=e.events,I=e.onClick;function L(e){I(e)}delete n.ZP.styles.global;var z=[];for(let o=0,l=!1;o<F.length;)l&&o!=F.length-1&&Math.random()>.2?(z.push((0,w.jsx)(u.Z,{event1:F[o],event2:F[o+1],onClick:()=>{L(F[o-1])},removeBorders:!0},"collections-tile-"+o)),o+=2,l=!l):(z.push((0,w.jsx)(m.Z,{event:F[o],onClick:()=>{L(F[o-1])},removeBorders:!0,borderRadius:"0%"},"collections-tile-"+o)),o+=1,l=!l);return(0,w.jsx)(i.C,{value:x,children:(0,w.jsx)("div",{children:(0,w.jsx)(l.x,{theme:n.ZP,cssVarsRoot:B,resetCSS:!1,children:(0,w.jsx)(c.V.Provider,{value:{tileTopMargin:0,tileBottomMMargin:0,tileLeftMargin:0,tileRightMargin:0,showPlayButton:!1},children:(0,w.jsx)("div",{style:{left:T+"px",right:T+"px"},children:(0,w.jsx)(j.P,{renderElement:e=>(0,w.jsx)(w.Fragment,{children:e.eventData}),dataList:z,spacing:b,defaultHeight:g*y*.01+"px",defaultWidth:p*y*.01+"px",retainAlreadyRenderedElements:!0})})})})})})}}}]);