whatmore-react-assets 1.0.1648 → 1.0.1649

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.
Files changed (63) hide show
  1. package/package.json +1 -1
  2. package/static/js/{137.3f374049.chunk.js → 137.c204446d.chunk.js} +1 -1
  3. package/static/js/262.38dc5116.chunk.js +1 -0
  4. package/static/js/304.024ba064.chunk.js +280 -0
  5. package/static/js/340.7bf77729.chunk.js +2 -0
  6. package/static/js/437.4ec0efaf.chunk.js +1 -0
  7. package/static/js/438.0d78087f.chunk.js +2 -0
  8. package/static/js/{498.e82b91d7.chunk.js → 451.8b0f1d96.chunk.js} +2 -2
  9. package/static/js/571.93bc3a3d.chunk.js +1 -0
  10. package/static/js/59.d947034b.chunk.js +2 -0
  11. package/static/js/620.0989f175.chunk.js +1 -0
  12. package/static/js/{647.e656bdd7.chunk.js → 647.c3af639c.chunk.js} +2 -2
  13. package/static/js/691.151a2fc3.chunk.js +2 -0
  14. package/static/js/72.4f779c68.chunk.js +2 -0
  15. package/static/js/879.b4278841.chunk.js +1 -0
  16. package/static/js/{925.14e2015f.chunk.js → 925.b301cf3b.chunk.js} +1 -1
  17. package/static/js/946.f96cd49c.chunk.js +1 -0
  18. package/static/js/968.baa2c975.chunk.js +15 -0
  19. package/static/js/carousel-template-a.d504d9aa.chunk.js +1 -0
  20. package/static/js/carousel-template-b.3cba552a.chunk.js +1 -0
  21. package/static/js/carousel-template-feed.fd453a82.chunk.js +2 -0
  22. package/static/js/carousel-template-g.3f96b508.chunk.js +1 -0
  23. package/static/js/carousel-template-h.70efb640.chunk.js +1 -0
  24. package/static/js/{carousel-template-i.aa7f7ff6.chunk.js → carousel-template-i.edf5e918.chunk.js} +1 -1
  25. package/static/js/carousel-template-view-more.3af121be.chunk.js +41 -0
  26. package/static/js/event-click-product.c7d627cf.chunk.js +2 -0
  27. package/static/js/event-click-spotlight.93dcffbf.chunk.js +2 -0
  28. package/static/js/event-click.324cacb2.chunk.js +2 -0
  29. package/static/js/homepage-carousel-view.5b2f5d87.chunk.js +1 -0
  30. package/static/js/product-page-view.dff87f24.chunk.js +1 -0
  31. package/static/js/share-shimmer-loader.325ec052.chunk.js +1 -0
  32. package/static/js/{spotlight-view.6375015f.chunk.js → spotlight-view.89cd2e98.chunk.js} +1 -1
  33. package/static/js/stories-template-a.3c063429.chunk.js +1 -0
  34. package/static/js/whatmore-root.b841b4c6.chunk.js +1 -0
  35. package/whatmore.js +2 -2
  36. package/static/js/131.90afb45a.chunk.js +0 -1
  37. package/static/js/262.5014b74a.chunk.js +0 -1
  38. package/static/js/304.e3530c2f.chunk.js +0 -280
  39. package/static/js/310.40b47755.chunk.js +0 -2
  40. package/static/js/375.2cd5e9d8.chunk.js +0 -1
  41. package/static/js/437.bb6da7be.chunk.js +0 -1
  42. package/static/js/438.edcc26ce.chunk.js +0 -2
  43. package/static/js/571.6d50c925.chunk.js +0 -1
  44. package/static/js/59.0b037ebd.chunk.js +0 -2
  45. package/static/js/620.f1fb0745.chunk.js +0 -1
  46. package/static/js/691.9956e71d.chunk.js +0 -2
  47. package/static/js/72.5b4a0a96.chunk.js +0 -2
  48. package/static/js/879.b16b58a2.chunk.js +0 -1
  49. package/static/js/946.7875c6c1.chunk.js +0 -1
  50. package/static/js/carousel-template-a.8ccd196e.chunk.js +0 -2
  51. package/static/js/carousel-template-b.fdc48abc.chunk.js +0 -2
  52. package/static/js/carousel-template-feed.7b41dc2f.chunk.js +0 -16
  53. package/static/js/carousel-template-g.a334d92c.chunk.js +0 -1
  54. package/static/js/carousel-template-h.ffd5d66b.chunk.js +0 -1
  55. package/static/js/carousel-template-view-more.1138eae5.chunk.js +0 -55
  56. package/static/js/event-click-product.006e7126.chunk.js +0 -2
  57. package/static/js/event-click-spotlight.0f108d8b.chunk.js +0 -2
  58. package/static/js/event-click.71a94c90.chunk.js +0 -2
  59. package/static/js/homepage-carousel-view.962a01c8.chunk.js +0 -1
  60. package/static/js/product-page-view.a33bf39c.chunk.js +0 -1
  61. package/static/js/share-shimmer-loader.f70b8c55.chunk.js +0 -1
  62. package/static/js/stories-template-a.9e364754.chunk.js +0 -1
  63. package/static/js/whatmore-root.1d3634f1.chunk.js +0 -1
@@ -1,55 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[116],{22:function(t,n,e){e.d(n,{$S:function(){return s},_:function(){return i},b4:function(){return r},dl:function(){return o},nN:function(){return c},tn:function(){return l},vF:function(){return a}});const i="device_type",o="device_mode",r="mobile",a="tablet",s="desktop",l="portrait",c="landscape"},932:function(t,n,e){var i=e(5830),o=e(1941),r=e(22),a=e(1348);n.A=function(t){const[n,e,s]=(0,o.A)(),[l]=(0,i.QN)("whatmoreLandscapePadding"),[c]=(0,i.QN)("whatmoreShopId"),[d]=(0,i.QN)("whatmoreVideoTileSize"),[u]=(0,i.QN)("whatmoreVideoTileSizePortrait"),h=s>=1025,m="portrait"==n?u:d,f=!("portrait"!=n||!(s>=481)),g=m/100*1.3*.5,p=m/100;var x=Math.min(s,e),[v,w,j,C]=[.6*x*(16/9),.6*x,1.4,0];function b(t){return Math.round(10*t)/10}var y={DEVICE_TYPE:r.b4,DEVICE_MODE:r.tn};if(h){const t=w*g,n=v*g;[v,w,j,C]=[n,t,(s-2*l-2*(0,a.$du)(c))/(1.1*t),l],y[r._]=r.$S,y[r.dl]=r.nN}else if(f){var M=.8*w,S=.8*v;"portrait"==n?(M*=p,S*=p,[v,w,j,C]=[S,M,b(s/(1.2*M)),0],y[r._]=r.vF,y[r.dl]=r.tn):([v,w,j,C]=[S,M,(s-2*l)/(1.1*M),l],y[r._]=r.vF,y[r.dl]=r.nN)}else{M=w,S=v;"portrait"==n?(M=M*p*.9,S=S*p*.9,[v,w,j,C]=[S,M,b(s/(1.15*M)),0],y[r._]=r.b4,y[r.dl]=r.tn):(M=.7*w,S=.7*v,[v,w,j,C]=[S,M,(s-2*l)/(1.1*M),l],y[r._]=r.b4,y[r.dl]=r.nN)}return[v,w,j,C,y]}},3852:function(t,n,e){e.d(n,{A:function(){return w}});var i=e(3247),o=e(1422),r=e(3731),a=e(211),s=e(9950),l=e(932),c=e(5242),d=e(8781),u=e(8283);const h=u.i7`
2
- 0% {
3
- transform: scale(1);
4
- }
5
- 100% {
6
- transform: scale(1.05);
7
- }
8
- `,m=u.i7`
9
- 0% {
10
- transform: scale(1.05);
11
- }
12
- 100% {
13
- transform: scale(1);
14
- }
15
- `,f=`\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`,g=`\n ${m}; \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(5830),x=e(7509),v=e(4414);var w=function(t){var n,e,[u,h]=(0,l.A)();const[m]=(0,p.QN)("whatmorePrimaryFont");var w=(0,s.useContext)(x.h);const j=t.event,C=t.onClick,b=null===(n=t.isOnFocus)||void 0===n||n,y=(t.playOnUnfocus,null!==(e=t.animateOnFocus)&&void 0!==e&&e);return(0,v.jsxs)(i.az,{animation:y?b?f:g:"none",marginTop:w.tileTopMargin,marginBottom:w.tileBottomMMargin,marginLeft:w.tileLeftMargin,marginRight:w.tileRightMargin,width:h,height:u,borderRadius:"lg",sx:{boxShadow:"0px 0px 10px 3px #B0B0B0"},overflow:"hidden",onClick:()=>{C(j)},cursor:"pointer",children:[(0,v.jsx)(a._,{width:"full",height:"full",src:j.thumbnail_image,objectFit:"cover",fallback:(0,v.jsx)(d.A,{width:h,height:u}),borderRadius:"lg"}),(0,v.jsx)(i.az,{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden"},width:"full",height:"full",borderRadius:"lg",overflow:"hidden",className:"whatmore-ios-css-relative-fix",children:(0,v.jsxs)(o.B,{direction:"column",height:"full",width:"full",justifyContent:"space-between",children:[(0,v.jsx)(i.az,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-t, transparent, blackAlpha.200, blackAlpha.400, blackAlpha.600)",children:(0,v.jsx)(o.B,{direction:"column",justifyContent:"flex-start",children:(0,v.jsx)(i.az,{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px",children:(0,v.jsx)(o.B,{direction:"row",justifyContent:"space-between",children:(0,v.jsx)(c.A,{event:j,fontSize:.05*u+"px",maxWidth:.8*h})})})})}),(0,v.jsx)(i.az,{w:"100%",borderRadius:"lg",bgGradient:"linear(to-b, transparent, blackAlpha.300, blackAlpha.400, blackAlpha.500, blackAlpha.600)",children:(0,v.jsx)(o.B,{direction:"column",width:"full",height:"full",justifyContent:"flex-end",alignContent:"center",children:(0,v.jsx)(i.az,{width:"full",borderRadius:"lg",children:(0,v.jsxs)(o.B,{direction:"column",justifyContent:"space-between",alignContent:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px",children:[(0,v.jsx)(r.E,{color:"white",fontSize:.08*h+"px",fontWeight:"normal",align:"left",children:" "}),(0,v.jsx)(r.E,{fontSize:.08*h+"px",fontWeight:"normal",align:"left",sx:{fontFamily:m+" !important",color:"white !important"},children:j.title.substring(0,40)}),(0,v.jsx)(r.E,{fontSize:.08*h+"px",fontWeight:"bold",align:"left",sx:{fontFamily:m+" !important",color:"white !important"},children:j.presenter_name.substring(0,15)})]})})})})]})})]})}},3997:function(){},4063:function(t,n,e){var i=e(9950),o=e(3247),r=e(3731),a=e(5830),s=e(5144),l=e(4414);n.A=function(t){var n,e;const[c,d]=(0,i.useState)(!1),[u,h]=(0,i.useState)(!1),[m]=(0,a.QN)("whatmoreSecondaryColor"),[f]=(0,a.QN)("whatmoreSecondaryColorShade600"),[g]=(0,a.QN)("whatmoreSecondaryColorShade300"),[p]=(0,a.QN)("whatmorePrimaryFont"),x=t.onClick,v=t.icon,w=null!==(n=t.borderRadius)&&void 0!==n?n:"sm",j=null!==(e=t.baseFontSize)&&void 0!==e?e:12;return(0,l.jsxs)(o.az,{display:"flex",alignItems:"center",width:"fit-content",height:"fit-content",boxShadow:"lg",borderRadius:w,backgroundColor:c?g:m,animation:u?s.jd:null,padding:"6px 12px",cursor:"pointer",gap:"6px",onClick:t=>{t.stopPropagation(),h(!0),x()},onMouseEnter:()=>{d(!0)},onMouseLeave:()=>{d(!1)},children:[(0,l.jsx)(r.E,{fontSize:j+"px !important",fontWeight:"normal",sx:{fontFamily:p+" !important",color:"white !important"},children:"VIEW MORE"}),v]})}},4826:function(){},5144:function(t,n,e){e.d(n,{jd:function(){return o},so:function(){return r}});var i=e(8283);const o=`\n ${i.i7`
16
- 0% { transform: scale(1); }
17
- 50%, { transform: scale(0.95); }
18
- 100% { transform: scale(1); }
19
- `} 0.2s linear;\n`,r=(i.i7`
20
- 100% {
21
- -webkit-transform: rotate(360deg);
22
- transform:rotate(360deg);
23
- }
24
- `,i.i7`
25
- 0% {
26
- opacity: 1;
27
- transform: translateY(100%);
28
- }
29
- 10%{
30
- transform: translateY(0%);
31
- }
32
- 12%{
33
- transform: translateY(-5%);
34
- }
35
- 20%{
36
- transform: translateY(0%);
37
- }
38
- 95%{
39
- opacity: 1;
40
- transform: scale(1);
41
- }
42
- 100%{
43
- opacity: 0;
44
- }
45
- `,`\n ${i.i7`
46
- 0% {
47
- transform: scale(0.3);
48
- }
49
- 70% {
50
- transform: scale(1.05);
51
- }
52
- 100% {
53
- transform: scale(1);
54
- }
55
- `} 0.3s ease-in-out;\n`)},5242:function(t,n,e){var i=e(3247),o=e(1422),r=e(3731),a=e(7239),s=e(5388),l=e(4414);n.A=function(t){var n,e=t.event,c=t.fontSize,d=null!==(n=t.maxWidth)&&void 0!==n?n:"100%",{status:u,bannerText:h,timeToStartInMins:m}=a.A.getEventStatus(e);return u.name===s.A.LIVE.name?(0,l.jsx)(i.az,{maxWidth:d,width:"fit-content",borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"tomato",color:u.color,children:(0,l.jsx)(o.B,{direction:"row",justifyContent:"flex-start",width:"fit-content",alignContent:"center",paddingLeft:"2px",paddingRight:"2px",children:(0,l.jsx)(r.E,{fontSize:c,fontWeight:"bold",color:"white",children:h})})}):(0,l.jsx)(i.az,{maxWidth:d,borderRadius:"md",paddingLeft:"2px",paddingRight:"2px",backgroundColor:"white",color:u.color,children:(0,l.jsx)(o.B,{direction:"row",justifyContent:"flex-start",width:"fit-content",alignContent:"center",children:(0,l.jsx)(r.E,{fontSize:c,fontWeight:"medium",children:h})})})}},5388:function(t,n){n.A={LIVE:{name:"LIVE",color:"gray.600"},UPCOMING:{name:"UPCOMING",color:"gray.600"},DEFAULT:{name:"LIVE EVENT",color:"gray.600"},COMPLETED:{name:"ENDED",color:"gray.600"}}},7144:function(t,n,e){e.r(n);var i=e(9950),o=e(3852),r=e(340),a=e(5089),s=e(8726),l=(e(3997),e(9733),e(4365),e(572)),c=e(8603),d=e(6086),u=e(1422),h=e(3247),m=e(3731),f=e(932),g=e(1941),p=e(5830),x=(e(5144),e(7509)),v=e(1348),w=e(5551),j=e(2039),C=e(5620),b=e(4063),y=e(4414);const M=(0,c.A)({key:"whatmore-css-hv"});function S(t,n){var e=[];const i=n;for(let o=0;o<t.length;o+=i){const n=t.slice(o,o+i);e.push(n)}return e}function A(t){var n;const[e,r,a]=(0,f.A)();var[l,c]=(0,i.useState)(0);const m=t.events,g=t.onClick,p=null!==(n=t.seeMoreIncrement)&&void 0!==n?n:1,x=S(m,Math.floor(Math.min(a,m.length)));return(0,y.jsx)(d.o,{children:(0,y.jsxs)(u.B,{direction:"column",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:[(0,y.jsx)(y.Fragment,{children:x.map(((t,n)=>n>l?(0,y.jsx)(y.Fragment,{}):(0,y.jsx)(u.B,{direction:"row",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:t.map(((t,n)=>(0,y.jsx)(h.az,{style:{margin:"10px"},children:(0,j.ij)(t)||(0,j.Il)(t)?(0,y.jsx)(C.A,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{g(t)}}):(0,y.jsx)(o.A,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{g(t)}})},"event-"+n)))},"event-stack-"+n)))}),(0,y.jsx)(y.Fragment,{children:l<x.length-1?(0,y.jsx)(u.B,{direction:"row",width:"100%",height:"fit-content",marginY:"10px !important",justifyContent:"center",alignContent:"center",children:(0,y.jsx)(b.A,{baseFontSize:.1*r,icon:(0,y.jsx)(s.A,{style:{color:"white"}}),onClick:()=>{l>=x.length-1||c((t=>t+p))}})}):(0,y.jsx)(y.Fragment,{})})]})})}function T(t){var n;const[e,r,a,l]=(0,f.A)();var[c,m]=(0,i.useState)(0);const g=t.events,p=t.onClick,x=null!==(n=t.seeMoreIncrement)&&void 0!==n?n:1,v=S(g,Math.floor(Math.min(a,g.length)));return(0,y.jsx)(d.o,{paddingLeft:l+"px",paddingRight:l+"px",children:(0,y.jsxs)(u.B,{direction:"column",width:"100%",height:"fit-content",justifyContent:"center",alignContent:"center",children:[(0,y.jsx)(y.Fragment,{children:v.map(((t,n)=>n>c?(0,y.jsx)(y.Fragment,{}):(0,y.jsx)(u.B,{direction:"row",width:"100%",height:"fit-content",marginY:"10px",justifyContent:"center",alignContent:"center",children:t.map(((t,n)=>(0,y.jsx)(h.az,{style:{margin:"10px"},children:(0,j.ij)(t)||(0,j.Il)(t)?(0,y.jsx)(C.A,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{p(t)}}):(0,y.jsx)(o.A,{isOnFocus:!0,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{p(t)}})},"event-"+n)))},"event-stack-"+n)))}),(0,y.jsx)(y.Fragment,{children:c<v.length-1?(0,y.jsx)(u.B,{direction:"row",width:"100%",height:"fit-content",marginY:"10px !important",justifyContent:"center",alignContent:"center",children:(0,y.jsx)(b.A,{baseFontSize:.1*r,onClick:()=>{c>=v.length-1||m((t=>t+x))},icon:(0,y.jsx)(s.A,{style:{color:"white"}})})}):(0,y.jsx)(y.Fragment,{})})]})})}n.default=function(t){var n;const[e,o,s]=(0,g.A)(),[c]=(0,p.QN)("whatmoreShopId"),[u]=(0,p.QN)("whatmorePrimaryColor"),[h]=(0,p.QN)("whatmoreSecondaryColor"),[f]=(0,p.QN)("whatmoreTitleFont"),j="portrait"==e?(0,p.Xd)("whatmoreTitleFontSizePortrait"):(0,p.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:C}=(0,i.useContext)(w.B),b=t.events,S=t.onClick,I=null!==(n=(0,v.sa6)(c))&&void 0!==n?n:f;function F(t){S(t)}return delete a.Ay.styles.global,(0,y.jsx)(l.C,{value:M,children:(0,y.jsx)("div",{className:"whatmore-carousel-events-view-more",children:(0,y.jsx)(r.s,{theme:a.Ay,cssVarsRoot:C,resetCSS:!1,children:(0,y.jsxs)(x.h.Provider,{value:{tileTopMargin:3,tileBottomMMargin:3,tileLeftMargin:3,tileRightMargin:3,showPlayButton:!1},children:[t.heading.trim().length>0?(0,y.jsx)(d.o,{children:(0,y.jsx)(m.E,{bgColor:u,bgClip:"text",fontSize:j,sx:{fontFamily:I+" !important"},align:"center",children:t.heading})}):(0,y.jsx)(y.Fragment,{}),"landscape"===e?(0,y.jsx)(T,{events:b,onClick:F,seeMoreIncrement:1}):(0,y.jsx)(A,{events:b,onClick:F,seeMoreIncrement:2})]})})})})}},7239:function(t,n,e){var i=e(5388);n.A=class{static getEventStatus(t){t.time_zone="GMT+5:30";var n=t.start_time+":00",e=t.end_time,o=t.scheduled_date,r=t.status,a=t.time_zone;if(r.toUpperCase()==i.A.LIVE.name)return{status:i.A.LIVE,bannerText:" "+i.A.LIVE.name+" ",timeToStartInMins:0};if(r.toUpperCase()==i.A.UPCOMING.name){var s=new Date(o+" "+n+" "+a),l=(new Date(o+" "+e+" "+a),function(t){var n=new Date,e=(t.getTime()-n.getTime())/1e3,o=e/60,r=o/60,a=r/24;return e<=0?{status:i.A.COMPLETED,bannerText:" "+i.A.COMPLETED.name+" ",timeToStartInMins:0}:e>=1&&e<=30?{status:i.A.UPCOMING,bannerText:"Starts in "+Math.round(e)+" sec ",timeToStartInMins:e/60}:o<60?{status:i.A.UPCOMING,bannerText:"Starts in "+Math.round(o)+" min ",timeToStartInMins:o}:r<24?{status:i.A.UPCOMING,bannerText:"Starts in "+Math.round(r)+" hr ",timeToStartInMins:60*r}:a<7?{status:i.A.UPCOMING,bannerText:" "+["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][t.getDay()]+" ",timeToStartInMins:60*a*24}:{status:i.A.UPCOMING,bannerText:"Upcoming",timeToStartInMins:2880}}(s));return{status:l.status,bannerText:l.bannerText,timeToStartInMins:l.timeToStartInMins}}return console.error("invalid status for event :: id : "+t.event_id+", status : "+t.status),{status:i.A.DEFAULT,bannerText:"live event",timeToStartInMins:2880}}}},7509:function(t,n,e){e.d(n,{h:function(){return i}});const i=(0,e(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},7973:function(t,n,e){e.d(n,{B:function(){return a},b:function(){return r}});var i=e(1348),o=e(5830);function r(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const e=(0,o.Xd)("whatmoreShopId");return"shopify"!=(0,i.NCy)(e)?"STRNV8MHJTF"==e?t+"?format=webp":t:t+n}function a(t){var n;if(null!==t&&void 0!==t&&t.includes("https://w-media.b-cdn.net/process-media"))return"image";const e=null===t||void 0===t||null===(n=t.trim())||void 0===n?void 0:n.split("?")[0],i=/\.(jpeg|jpg|gif|png|svg|webp)$/i,o=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==i&&void 0!==i&&i.test(e)?"image":null!==o&&void 0!==o&&o.test(e)?"video":void 0}},8538:function(t,n,e){e.d(n,{v:function(){return o}});var i=e(5830);function o(t,n){const e=(0,i.Xd)("whatmoreShopId");return"undefined"==typeof t||"undefined"==t||null==t?"":"6873415750"==e||"72442478904"==e||"58562281529"==e?t:"66168324332"==e&&"prod-tile"!=n?null===t||void 0===t||null===(o=t.split("- "))||void 0===o?void 0:o[0]:t.replace(/\w\S*/g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()}));var o}},8726:function(t,n,e){var i=e(4994);n.A=void 0;var o=i(e(9526)),r=e(4414);n.A=(0,o.default)((0,r.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},9733:function(){}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see event-click-product.006e7126.chunk.js.LICENSE.txt */
2
- (self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[592],{2173:function(t,e,n){const r=n(8558);t.exports=function(t){if("string"!==typeof t)return;const e=t.toUpperCase();return Object.prototype.hasOwnProperty.call(r,e)?r[e]:void 0},t.exports.currencySymbolMap=r},2835:function(t,e,n){"use strict";var r=n(7891),o=n(8454),i=n(3781),l=n(5830),s=n(4414);e.A=function(t){var e;const n=(0,l.Xd)("whatmoreUITheme"),[u]=(0,l.QN)("whatmoreSecondaryColor"),[a,c]=(0,l.QN)("productRatings"),f=(0,l.Xd)("whatmorePrimaryFont"),p=t.productId,d=t.fontSize,v=null!==(e=t.fontColor)&&void 0!==e?e:"gray";if(null===a||"undefined"==typeof a||!(p in a)||a[p].avgRating>5)return(0,s.jsx)(s.Fragment,{});const y=a[p].avgRating,h=a[p].totalRatings;return(0,s.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center"},children:(0,s.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center",gap:"0px"},children:[[...Array(Math.floor(y))].map(((t,e)=>(0,s.jsx)(r.A,{sx:{color:u,fontSize:d+"px"}},"star-icon"+e))),y-Math.floor(y)>.2?(0,s.jsx)(o.A,{sx:{color:u,fontSize:d+"px"}},"star-half-icon"):y-Math.floor(y)==0?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(i.A,{sx:{color:u,fontSize:d+"px"}},"star-outline-icon"),[...Array(Math.floor(5-y))].map(((t,e)=>(0,s.jsx)(i.A,{sx:{color:u,fontSize:d+"px"}},"star-outline-icon-"+e))),(0,s.jsx)("div",{children:(0,s.jsx)("div",{width:"2px"})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{style:{backgroundColor:u,borderRadius:"round"==n?"2px":"0px",padding:"1px",overflow:"hidden"},children:(0,s.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color","white","important"),t.style.setProperty("font-size",.8*d+"px","important"),t.style.setProperty("font-family",f,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0",y,"\xa0"]})})}),(0,s.jsx)("div",{children:(0,s.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",v,"important"),t.style.setProperty("font-size",.8*d+"px","important"),t.style.setProperty("font-family",f,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0","("+h+")"]})})]})})}},3781:function(t,e,n){"use strict";var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarOutline")},4669:function(){},6042:function(){},7229:function(){},7458:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});const r=function(t,e){return!(isNaN(e)||!e||("string"===typeof e||e instanceof String)&&!e.trim().length)&&!(parseInt(e)<=parseInt(t))}},7802:function(t,e,n){"use strict";n.d(e,{Hl:function(){return o},Np:function(){return l},Po:function(){return s},Z_:function(){return r},Zf:function(){return a},d8:function(){return u},zJ:function(){return i}});const r=function(t,e){return!((void 0==t.products||0==t.products.length)&&(void 0==t.cta||0==t.cta.length))},o=function(t,e){return!(void 0==t.products||0==t.products.length)},i=function(t){if(null!=t)return t.filter((t=>{var e;return null===(e=null===t||void 0===t?void 0:t.in_stock)||void 0===e||e}))},l=function(t){var e;var n;if(null!=t)return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?{events:t.events[0].events,all_events:null!==(n=null===t||void 0===t?void 0:t.all_events)&&void 0!==n?n:[]}:{events:null===t||void 0===t?void 0:t.events,all_events:null!==(e=null===t||void 0===t?void 0:t.all_events)&&void 0!==e?e:[]}};const s=function(t,e){var n,r;let o=[];if(null==t)return[];if("eventsets"in t&&t.eventsets[e]){const n=function(t){if(null==t||0==t.length)return[];let e=[];return t.forEach((t=>{e=e.concat(t.events)})),e}(t.eventsets[e]);o=[...n]}return{events:o,all_events:null!==(n=null===(r=o)||void 0===r?void 0:r.all_events)&&void 0!==n?n:[]}};function u(t){if(null!=t){var e=0;return t.forEach((t=>{t.index=e++})),t}}function a(t){if(null==t)return;let e=0;return t.reduce(((t,n)=>{var r;return(null===(r=null===n||void 0===n?void 0:n.in_stock)||void 0===r||r)&&(n.index=e++,t.push(n)),t}),[])}},7891:function(t,e,n){"use strict";var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star")},8454:function(t,e,n){"use strict";var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarHalf")},8558: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:"$"}},9130:function(){},9211:function(t,e,n){"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}n.d(e,{A:function(){return o}});var o=function t(e,n){function o(t,o,i){if("undefined"!==typeof document){"number"===typeof(i=r({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var l="";for(var s in i)i[s]&&(l+="; "+s,!0!==i[s]&&(l+="="+i[s].split(";")[0]));return document.cookie=t+"="+e.write(o,t)+l}}return Object.create({set:o,get:function(t){if("undefined"!==typeof document&&(!arguments.length||t)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),l=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(r[s]=e.read(l,s),t===s)break}catch(u){}}return t?r[t]:r}},remove:function(t,e){o(t,"",r({},e,{expires:-1}))},withAttributes:function(e){return t(this.converter,r({},this.attributes,e))},withConverter:function(e){return t(r({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(n)},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:"/"})}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see event-click-spotlight.0f108d8b.chunk.js.LICENSE.txt */
2
- (self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[657],{1351:function(t,e,o){"use strict";o.d(e,{PG:function(){return a},kz:function(){return s},UM:function(){return u},yP:function(){return d},DG:function(){return l}});var n=o(1348),i=o(6157);function r(t,e){var o;let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;const c=a[t];if(!c)return;const s=c.isActionEnabled(),l=null===r||void 0===r||null===(o=r.meta_actions)||void 0===o?void 0:o[c.customAction];(s||l)&&"function"==typeof fbq&&(async()=>{const o={id:null===e||void 0===e?void 0:e.client_product_id,product_url:null===e||void 0===e?void 0:e.product_link,...t===i.O.VIDEO_PLAYBACK&&{watch_time:n.watch_time,video_duration:n.video_duration}};fbq("trackCustom",c.action,o),l&&setTimeout((()=>{null===l||void 0===l||l.forEach((t=>{fbq("trackCustom",t,o)}))}),500)})()}var c=o(7145);const a={[i.O.EVENT_VIEW]:{isActionEnabled:n.NFF,action:"whatmore_video_click_event",customAction:"video_clicked"},[i.O.VIDEO_PLAYBACK]:{isActionEnabled:n.Eel,action:"whatmore_video_watch_event",customAction:"video_watched"},[i.O.VIDEO_LIKED]:{isActionEnabled:n.Mz3,action:"whatmore_video_like_event",customAction:"video_liked"},[i.O.VIDEO_SHARE_CTA_CLICKED]:{isActionEnabled:n.OLZ,action:"whatmore_video_share_event",customAction:"video_shared"},[i.O.SHOPNOW_ATC_CLICKED]:{isActionEnabled:n.T9r,action:"whatmore_video_atc_event",customAction:"video_atc_clicked"},[i.O.PRODUCT_TILE_ATC_CLICKED]:{isActionEnabled:n.T9r,action:"whatmore_video_atc_event",customAction:"video_atc_clicked"},[i.O.SHOPNOW_CLICKED]:{isActionEnabled:n.nEf,action:"whatmore_product_tile_click_event",customAction:"video_product_tile_clicked"},[i.O.PRODUCT_TILE_SHOPNOW_CLICKED]:{isActionEnabled:n.nEf,action:"whatmore_product_tile_click_event",customAction:"video_product_tile_clicked"}};function s(t){var e;let{userInteractionType:o,userInteractionMetadata:n,widgetSourceDetails:i,event:s,productList:l,ctaList:u}=t;(0,c.B)({userInteractionType:o,userInteractionMetadata:n,widgetSourceDetails:i,event:s,productList:l,ctaList:u}),o in a&&r(o,null!==(e=null===l||void 0===l?void 0:l[1])&&void 0!==e?e:null===l||void 0===l?void 0:l[0],n,s)}function l(t){var e;let{userInteractionType:o,userInteractionMetadata:n,widgetSourceDetails:i,event:s,productList:l,ctaList:u}=t;(0,c.B)({userInteractionType:o,userInteractionMetadata:n,widgetSourceDetails:i,event:s,productList:l,ctaList:u}),o in a&&r(o,null!==(e=null===l||void 0===l?void 0:l[1])&&void 0!==e?e:null===l||void 0===l?void 0:l[0],n,s)}function u(t){let{userInteractionType:e,userInteractionMetadata:o,widgetSourceDetails:n,event:i,productList:r,ctaList:a}=t;(0,c.B)({userInteractionType:e,userInteractionMetadata:o,widgetSourceDetails:n,event:i,productList:r,ctaList:a})}function d(t){let{userInteractionType:e,userInteractionMetadata:o,widgetSourceDetails:n,event:i,productList:r,ctaList:a}=t;(0,c.B)({userInteractionType:e,userInteractionMetadata:o,widgetSourceDetails:n,event:i,productList:r,ctaList:a})}},2173:function(t,e,o){const n=o(8558);t.exports=function(t){if("string"!==typeof t)return;const e=t.toUpperCase();return Object.prototype.hasOwnProperty.call(n,e)?n[e]:void 0},t.exports.currencySymbolMap=n},2835:function(t,e,o){"use strict";var n=o(7891),i=o(8454),r=o(3781),c=o(5830),a=o(4414);e.A=function(t){var e;const o=(0,c.Xd)("whatmoreUITheme"),[s]=(0,c.QN)("whatmoreSecondaryColor"),[l,u]=(0,c.QN)("productRatings"),d=(0,c.Xd)("whatmorePrimaryFont"),p=t.productId,f=t.fontSize,v=null!==(e=t.fontColor)&&void 0!==e?e:"gray";if(null===l||"undefined"==typeof l||!(p in l)||l[p].avgRating>5)return(0,a.jsx)(a.Fragment,{});const m=l[p].avgRating,D=l[p].totalRatings;return(0,a.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center"},children:(0,a.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center",gap:"0px"},children:[[...Array(Math.floor(m))].map(((t,e)=>(0,a.jsx)(n.A,{sx:{color:s,fontSize:f+"px"}},"star-icon"+e))),m-Math.floor(m)>.2?(0,a.jsx)(i.A,{sx:{color:s,fontSize:f+"px"}},"star-half-icon"):m-Math.floor(m)==0?(0,a.jsx)(a.Fragment,{}):(0,a.jsx)(r.A,{sx:{color:s,fontSize:f+"px"}},"star-outline-icon"),[...Array(Math.floor(5-m))].map(((t,e)=>(0,a.jsx)(r.A,{sx:{color:s,fontSize:f+"px"}},"star-outline-icon-"+e))),(0,a.jsx)("div",{children:(0,a.jsx)("div",{width:"2px"})}),(0,a.jsx)("div",{children:(0,a.jsx)("div",{style:{backgroundColor:s,borderRadius:"round"==o?"2px":"0px",padding:"1px",overflow:"hidden"},children:(0,a.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color","white","important"),t.style.setProperty("font-size",.8*f+"px","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:["\xa0",m,"\xa0"]})})}),(0,a.jsx)("div",{children:(0,a.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",v,"important"),t.style.setProperty("font-size",.8*f+"px","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:["\xa0","("+D+")"]})})]})})}},3781:function(t,e,o){"use strict";var n=o(4994);e.A=void 0;var i=n(o(9526)),r=o(4414);e.A=(0,i.default)((0,r.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarOutline")},4669:function(){},6042:function(){},7229:function(){},7458:function(t,e,o){"use strict";o.d(e,{P:function(){return n}});const n=function(t,e){return!(isNaN(e)||!e||("string"===typeof e||e instanceof String)&&!e.trim().length)&&!(parseInt(e)<=parseInt(t))}},7891:function(t,e,o){"use strict";var n=o(4994);e.A=void 0;var i=n(o(9526)),r=o(4414);e.A=(0,i.default)((0,r.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star")},8454:function(t,e,o){"use strict";var n=o(4994);e.A=void 0;var i=n(o(9526)),r=o(4414);e.A=(0,i.default)((0,r.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarHalf")},8558: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:"$"}},9130:function(){},9211:function(t,e,o){"use strict";function n(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var n in o)t[n]=o[n]}return t}o.d(e,{A:function(){return i}});var i=function t(e,o){function i(t,i,r){if("undefined"!==typeof document){"number"===typeof(r=n({},o,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var a in r)r[a]&&(c+="; "+a,!0!==r[a]&&(c+="="+r[a].split(";")[0]));return document.cookie=t+"="+e.write(i,t)+c}}return Object.create({set:i,get:function(t){if("undefined"!==typeof document&&(!arguments.length||t)){for(var o=document.cookie?document.cookie.split("; "):[],n={},i=0;i<o.length;i++){var r=o[i].split("="),c=r.slice(1).join("=");try{var a=decodeURIComponent(r[0]);if(n[a]=e.read(c,a),t===a)break}catch(s){}}return t?n[t]:n}},remove:function(t,e){i(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(o)},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:"/"})}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see event-click.71a94c90.chunk.js.LICENSE.txt */
2
- (self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[72,310,691,906,907,939],{2173:function(t,e,n){const r=n(8558);t.exports=function(t){if("string"!==typeof t)return;const e=t.toUpperCase();return Object.prototype.hasOwnProperty.call(r,e)?r[e]:void 0},t.exports.currencySymbolMap=r},2209:function(t,e,n){"use strict";var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel")},2835:function(t,e,n){"use strict";var r=n(7891),o=n(8454),i=n(3781),u=n(5830),a=n(4414);e.A=function(t){var e;const n=(0,u.Xd)("whatmoreUITheme"),[c]=(0,u.QN)("whatmoreSecondaryColor"),[s,l]=(0,u.QN)("productRatings"),f=(0,u.Xd)("whatmorePrimaryFont"),d=t.productId,p=t.fontSize,v=null!==(e=t.fontColor)&&void 0!==e?e:"gray";if(null===s||"undefined"==typeof s||!(d in s)||s[d].avgRating>5)return(0,a.jsx)(a.Fragment,{});const y=s[d].avgRating,m=s[d].totalRatings;return(0,a.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center"},children:(0,a.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,a.jsx)(r.A,{sx:{color:c,fontSize:p+"px"}},"star-icon"+e))),y-Math.floor(y)>.2?(0,a.jsx)(o.A,{sx:{color:c,fontSize:p+"px"}},"star-half-icon"):y-Math.floor(y)==0?(0,a.jsx)(a.Fragment,{}):(0,a.jsx)(i.A,{sx:{color:c,fontSize:p+"px"}},"star-outline-icon"),[...Array(Math.floor(5-y))].map(((t,e)=>(0,a.jsx)(i.A,{sx:{color:c,fontSize:p+"px"}},"star-outline-icon-"+e))),(0,a.jsx)("div",{children:(0,a.jsx)("div",{width:"2px"})}),(0,a.jsx)("div",{children:(0,a.jsx)("div",{style:{backgroundColor:c,borderRadius:"round"==n?"2px":"0px",padding:"1px",overflow:"hidden"},children:(0,a.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color","white","important"),t.style.setProperty("font-size",.8*p+"px","important"),t.style.setProperty("font-family",f,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0",y,"\xa0"]})})}),(0,a.jsx)("div",{children:(0,a.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",v,"important"),t.style.setProperty("font-size",.8*p+"px","important"),t.style.setProperty("font-family",f,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0","("+m+")"]})})]})})}},3330:function(t,e,n){"use strict";n.d(e,{initializeGA:function(){return d},sendVideoViewEventToGA:function(){return p}});var r,o=n(2595),i=n(7732),u=n(1348);const a="Whatmore Video Shopping",c=null!==(r="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==r&&r,s={video_view:"Video View",add_to_cart:"Add to Cart",buy_now:"Buy Now"},l={carousel:"Carousel",stories:"Stories",video_popup:"Video Popup"},f={homepage:"Home Page",product_page:"Product Page"};async function d(t){if((0,u.M$H)(t)&&null!==(0,u.xIo)(t)&&(i.Ay.initialize((0,u.xIo)(t)),c&&console.debug("Whatmore: initialized GA4")),(0,u.B6P)(t)&&null!==(0,u.jWS)(t)){const e=(0,u.Gc6)(t);o.Ay.initialize((0,u.jWS)(t),{useExistingGa:e}),c&&console.debug("Whatmore: initialized GA3")}}async function p(t,e,n){(0,u.B6P)(t)&&null!==(0,u.jWS)(t)&&(o.Ay.event({category:a,action:s.video_view,label:f[e]+":"+l[n]}),c&&console.debug("Whatmore: pushed view event to GA3")),(0,u.M$H)(t)&&null!==(0,u.xIo)(t)&&(i.Ay.event({category:a,action:s.video_view+":"+f[e]+":"+l[n],value:1,nonInteraction:!1}),c&&console.debug("Whatmore: pushed view event to GA4"))}},3781:function(t,e,n){"use strict";var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarOutline")},4669:function(){},5727:function(t,e,n){"use strict";var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.jsx)("path",{d:"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82"}),"PlayArrowRounded")},6042:function(){},6474:function(t,e,n){"use strict";n.r(e),n.d(e,{capitalize:function(){return o.A},createChainedFunction:function(){return i},createSvgIcon:function(){return u.A},debounce:function(){return a},deprecatedPropType:function(){return c},isMuiElement:function(){return f},ownerDocument:function(){return p},ownerWindow:function(){return v},requirePropFactory:function(){return y},setRef:function(){return h},unstable_ClassNameGenerator:function(){return U},unstable_useEnhancedEffect:function(){return S},unstable_useId:function(){return x},unsupportedProp:function(){return C},useControlled:function(){return D},useEventCallback:function(){return g},useForkRef:function(){return M},useIsFocusVisible:function(){return K}});var r=n(4501),o=n(1676);var i=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce(((t,e)=>null==e?t:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];t.apply(this,r),e.apply(this,r)}),(()=>{}))},u=n(3059);var a=function(t){let e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];clearTimeout(e),e=setTimeout((()=>{t.apply(this,o)}),n)}return r.clear=()=>{clearTimeout(e)},r};var c=function(t,e){return()=>null},s=n(9950),l=n.t(s,2);var f=function(t,e){var n,r;return s.isValidElement(t)&&-1!==e.indexOf(null!=(n=t.type.muiName)?n:null==(r=t.type)||null==(r=r._payload)||null==(r=r.value)?void 0:r.muiName)};function d(t){return t&&t.ownerDocument||document}var p=d;var v=function(t){return d(t).defaultView||window};n(8168);var y=function(t,e){return()=>null};function m(t,e){"function"===typeof t?t(e):t&&(t.current=e)}var h=m;var A="undefined"!==typeof window?s.useLayoutEffect:s.useEffect,S=A;let w=0;const P=l["useId".toString()];var x=function(t){if(void 0!==P){const e=P();return null!=t?t:e}return function(t){const[e,n]=s.useState(t),r=t||e;return s.useEffect((()=>{null==e&&(w+=1,n(`mui-${w}`))}),[e]),r}(t)};var C=function(t,e,n,r,o){return null};var D=function(t){let{controlled:e,default:n,name:r,state:o="value"}=t;const{current:i}=s.useRef(void 0!==e),[u,a]=s.useState(n);return[i?e:u,s.useCallback((t=>{i||a(t)}),[])]};var R=function(t){const e=s.useRef(t);return A((()=>{e.current=t})),s.useRef((function(){return(0,e.current)(...arguments)})).current},g=R;var M=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return s.useMemo((()=>e.every((t=>null==t))?null:t=>{e.forEach((e=>{m(e,t)}))}),e)};class b{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new b}start(t,e){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,e()}),t)}}let L=!0,T=!1;const B=new b,$={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function E(t){t.metaKey||t.altKey||t.ctrlKey||(L=!0)}function N(){L=!1}function F(){"hidden"===this.visibilityState&&T&&(L=!0)}function I(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch(n){}return L||function(t){const{type:e,tagName:n}=t;return!("INPUT"!==n||!$[e]||t.readOnly)||"TEXTAREA"===n&&!t.readOnly||!!t.isContentEditable}(e)}var K=function(){const t=s.useCallback((t=>{var e;null!=t&&((e=t.ownerDocument).addEventListener("keydown",E,!0),e.addEventListener("mousedown",N,!0),e.addEventListener("pointerdown",N,!0),e.addEventListener("touchstart",N,!0),e.addEventListener("visibilitychange",F,!0))}),[]),e=s.useRef(!1);return{isFocusVisibleRef:e,onFocus:function(t){return!!I(t)&&(e.current=!0,!0)},onBlur:function(){return!!e.current&&(T=!0,B.start(100,(()=>{T=!1})),e.current=!1,!0)},ref:t}};const U={configure:t=>{r.A.configure(t)}}},7229:function(){},7458:function(t,e,n){"use strict";n.d(e,{P:function(){return r}});const r=function(t,e){return!(isNaN(e)||!e||("string"===typeof e||e instanceof String)&&!e.trim().length)&&!(parseInt(e)<=parseInt(t))}},7891:function(t,e,n){"use strict";var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star")},8454:function(t,e,n){"use strict";var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarHalf")},8558: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:"$"}},9130:function(){},9211:function(t,e,n){"use strict";function r(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}n.d(e,{A:function(){return o}});var o=function t(e,n){function o(t,o,i){if("undefined"!==typeof document){"number"===typeof(i=r({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var u="";for(var a in i)i[a]&&(u+="; "+a,!0!==i[a]&&(u+="="+i[a].split(";")[0]));return document.cookie=t+"="+e.write(o,t)+u}}return Object.create({set:o,get:function(t){if("undefined"!==typeof document&&(!arguments.length||t)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),u=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(r[a]=e.read(u,a),t===a)break}catch(c){}}return t?r[t]:r}},remove:function(t,e){o(t,"",r({},e,{expires:-1}))},withAttributes:function(e){return t(this.converter,r({},this.attributes,e))},withConverter:function(e){return t(r({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(n)},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:"/"})},9526:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(6474)},9733:function(){}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[760],{1985:function(e,t,n){n.r(t);var r=n(5830),o=n(9950),s=n(1348),i=n(6649),c=n(4414);const a=o.lazy((()=>Promise.all([n.e(925),n.e(199)]).then(n.bind(n,3350))));t.default=function(e){const[t]=(0,r.QN)("whatmoreShopId"),[n]=(0,r.QN)("whatmoreHeading"),[l,d]=(0,o.useState)(["initial",window.pageYOffset]),[u,h]=(0,o.useState)(!1),f="2665447536"==t?30:10,w=(0,r.Xd)("isLandingSharedLink");(0,o.useEffect)((()=>{if(!(0,s.FlM)(t))return;const e=f;let n=window.pageYOffset,r=!1;const o=()=>{const t=window.pageYOffset;var o,s;Math.abs(t-n)<e?r=!1:(s=!0,d(o=[t>n?"scrolled-down":"scrolled-up",t]),o[1]>f&&h(s),n=t>0?t:0,r=!1)},i=()=>{r||(window.requestAnimationFrame(o),r=!0)};return window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)}),[]);const[g,v,p]=(0,i.A)({triggerOnce:!0});return(0,c.jsx)("div",{ref:g,style:{display:"block",height:"100%"},children:u||v||w||!(0,s.FlM)(t)||(0,s.wQ2)(t)?(0,c.jsx)(a,{heading:n,shopId:t}):(0,c.jsx)("div",{})})}},6649:function(e,t,n){var r=n(9950);t.A=function(){let{triggerOnce:e=!1,root:t=null,rootMargin:n="0px",threshold:o=0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[s,i]=(0,r.useState)(!1),[c,a]=(0,r.useState)(null),l=(0,r.useRef)(null);return(0,r.useEffect)((()=>{const r=new IntersectionObserver(((t,n)=>{t.forEach((t=>{a(t),t.isIntersecting?(i(!0),e&&n.disconnect()):e||i(!1)}))}),{root:t,rootMargin:n,threshold:o});return l.current&&r.observe(l.current),()=>{r.disconnect()}}),[e,t,n,o]),[l,s,c]}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[774,907],{22:function(e,t,n){n.d(t,{$S:function(){return d},_:function(){return i},b4:function(){return r},dl:function(){return o},nN:function(){return l},tn:function(){return c},vF:function(){return a}});const i="device_type",o="device_mode",r="mobile",a="tablet",d="desktop",c="portrait",l="landscape"},69:function(e,t,n){n.d(t,{Ij:function(){return r},bi:function(){return a}});let i,o=!1;function r(){return i?i.play().then((()=>{o=!0,console.debug("iOS autoplay restrictions bypassed."),i.pause()})).catch((e=>{console.error("Failed to bless videos:",e.message)})):Promise.reject(new Error("Blessing video not initialized."))}function a(){i||(i=document.createElement("video"),i.src="https://whatmore-other-assets.b-cdn.net/whatmore/dummy_for_video_pool_3s_muted_11kb.mp4",i.muted=!0,i.playsInline=!0,i.style.display="none",document.body.appendChild(i));const e=()=>{o||r()};document.addEventListener("click",e,{once:!0}),document.addEventListener("touchstart",e,{once:!0})}},932:function(e,t,n){var i=n(5830),o=n(1941),r=n(22),a=n(1348);t.A=function(e){const[t,n,d]=(0,o.A)(),[c]=(0,i.QN)("whatmoreLandscapePadding"),[l]=(0,i.QN)("whatmoreShopId"),[s]=(0,i.QN)("whatmoreVideoTileSize"),[u]=(0,i.QN)("whatmoreVideoTileSizePortrait"),p=d>=1025,v="portrait"==t?u:s,h=!("portrait"!=t||!(d>=481)),f=v/100*1.3*.5,m=v/100;var w=Math.min(d,n),[g,_,x,b]=[.6*w*(16/9),.6*w,1.4,0];function y(e){return Math.round(10*e)/10}var E={DEVICE_TYPE:r.b4,DEVICE_MODE:r.tn};if(p){const e=_*f,t=g*f;[g,_,x,b]=[t,e,(d-2*c-2*(0,a.$du)(l))/(1.1*e),c],E[r._]=r.$S,E[r.dl]=r.nN}else if(h){var S=.8*_,I=.8*g;"portrait"==t?(S*=m,I*=m,[g,_,x,b]=[I,S,y(d/(1.2*S)),0],E[r._]=r.vF,E[r.dl]=r.tn):([g,_,x,b]=[I,S,(d-2*c)/(1.1*S),c],E[r._]=r.vF,E[r.dl]=r.nN)}else{S=_,I=g;"portrait"==t?(S=S*m*.9,I=I*m*.9,[g,_,x,b]=[I,S,y(d/(1.15*S)),0],E[r._]=r.b4,E[r.dl]=r.tn):(S=.7*_,I=.7*g,[g,_,x,b]=[I,S,(d-2*c)/(1.1*S),c],E[r._]=r.b4,E[r.dl]=r.nN)}return[g,_,x,b,E]}},1351:function(e,t,n){n.d(t,{PG:function(){return d},kz:function(){return c},UM:function(){return s},yP:function(){return u},DG:function(){return l}});var i=n(1348),o=n(6157);function r(e,t){var n;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;const a=d[e];if(!a)return;const c=a.isActionEnabled(),l=null===r||void 0===r||null===(n=r.meta_actions)||void 0===n?void 0:n[a.customAction];(c||l)&&"function"==typeof fbq&&(async()=>{const n={id:null===t||void 0===t?void 0:t.client_product_id,product_url:null===t||void 0===t?void 0:t.product_link,...e===o.O.VIDEO_PLAYBACK&&{watch_time:i.watch_time,video_duration:i.video_duration}};fbq("trackCustom",a.action,n),l&&setTimeout((()=>{null===l||void 0===l||l.forEach((e=>{fbq("trackCustom",e,n)}))}),500)})()}var a=n(7145);const d={[o.O.EVENT_VIEW]:{isActionEnabled:i.NFF,action:"whatmore_video_click_event",customAction:"video_clicked"},[o.O.VIDEO_PLAYBACK]:{isActionEnabled:i.Eel,action:"whatmore_video_watch_event",customAction:"video_watched"},[o.O.VIDEO_LIKED]:{isActionEnabled:i.Mz3,action:"whatmore_video_like_event",customAction:"video_liked"},[o.O.VIDEO_SHARE_CTA_CLICKED]:{isActionEnabled:i.OLZ,action:"whatmore_video_share_event",customAction:"video_shared"},[o.O.SHOPNOW_ATC_CLICKED]:{isActionEnabled:i.T9r,action:"whatmore_video_atc_event",customAction:"video_atc_clicked"},[o.O.PRODUCT_TILE_ATC_CLICKED]:{isActionEnabled:i.T9r,action:"whatmore_video_atc_event",customAction:"video_atc_clicked"},[o.O.SHOPNOW_CLICKED]:{isActionEnabled:i.nEf,action:"whatmore_product_tile_click_event",customAction:"video_product_tile_clicked"},[o.O.PRODUCT_TILE_SHOPNOW_CLICKED]:{isActionEnabled:i.nEf,action:"whatmore_product_tile_click_event",customAction:"video_product_tile_clicked"}};function c(e){var t;let{userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:c,productList:l,ctaList:s}=e;(0,a.B)({userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:c,productList:l,ctaList:s}),n in d&&r(n,null!==(t=null===l||void 0===l?void 0:l[1])&&void 0!==t?t:null===l||void 0===l?void 0:l[0],i,c)}function l(e){var t;let{userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:c,productList:l,ctaList:s}=e;(0,a.B)({userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:c,productList:l,ctaList:s}),n in d&&r(n,null!==(t=null===l||void 0===l?void 0:l[1])&&void 0!==t?t:null===l||void 0===l?void 0:l[0],i,c)}function s(e){let{userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:r,ctaList:d}=e;(0,a.B)({userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:r,ctaList:d})}function u(e){let{userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:r,ctaList:d}=e;(0,a.B)({userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:r,ctaList:d})}},3330:function(e,t,n){n.d(t,{initializeGA:function(){return p},sendVideoViewEventToGA:function(){return v}});var i,o=n(2595),r=n(7732),a=n(1348);const d="Whatmore Video Shopping",c=null!==(i="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==i&&i,l={video_view:"Video View",add_to_cart:"Add to Cart",buy_now:"Buy Now"},s={carousel:"Carousel",stories:"Stories",video_popup:"Video Popup"},u={homepage:"Home Page",product_page:"Product Page"};async function p(e){if((0,a.M$H)(e)&&null!==(0,a.xIo)(e)&&(r.Ay.initialize((0,a.xIo)(e)),c&&console.debug("Whatmore: initialized GA4")),(0,a.B6P)(e)&&null!==(0,a.jWS)(e)){const t=(0,a.Gc6)(e);o.Ay.initialize((0,a.jWS)(e),{useExistingGa:t}),c&&console.debug("Whatmore: initialized GA3")}}async function v(e,t,n){(0,a.B6P)(e)&&null!==(0,a.jWS)(e)&&(o.Ay.event({category:d,action:l.video_view,label:u[t]+":"+s[n]}),c&&console.debug("Whatmore: pushed view event to GA3")),(0,a.M$H)(e)&&null!==(0,a.xIo)(e)&&(r.Ay.event({category:d,action:l.video_view+":"+u[t]+":"+s[n],value:1,nonInteraction:!1}),c&&console.debug("Whatmore: pushed view event to GA4"))}},3389:function(e,t,n){n.r(t);var i=n(9950),o=n(1348),r=n(964),a=n(5830),d=n(140),c=n(4533),l=n(5901),s=n(1085),u=n(6613),p=n(3330),v=(n(3262),n(572)),h=n(8603),f=n(2039),m=n(4833),w=n(5551),g=n(1351),_=n(6157),x=n(2979),b=n(6641),y=n(8945),E=n(9821),S=n(69),I=n(4414);const A=(0,h.A)({key:"whatmore-css-ppv"}),j=i.lazy((()=>Promise.all([n.e(304),n.e(437),n.e(946),n.e(498),n.e(987),n.e(137),n.e(647),n.e(592)]).then(n.bind(n,5647)))),P=i.lazy((()=>n.e(374).then(n.bind(n,5100))));function L(e){return e.split(/[?#]/)[0]}t.default=function(e){const[t,n]=(0,i.useState)(),[h,C]=(0,i.useState)(),[T]=(0,a.QN)("isInDesignMode"),[N]=(0,a.QN)("isDemoBrand"),[O]=(0,a.QN)("whatmoreEmbedAppUseVariant"),[D,k]=(0,i.useState)(-2),[z]=(0,a.QN)("whatmoreVariantId"),[V]=(0,a.QN)("whatmoreShopId");var[M]=(0,a.QN)("whatmoreProductId");const Q=(0,a.Xd)("isLandingSharedLink"),R=(0,a.Xd)("whatmoreShareTemplateId"),F=(0,a.Xd)("whatmoreShareEventId"),W=Q&&"template-embed"===(0,m.Mm)(R),[B,$]=(0,i.useState)(W);M=(0,o.BcY)(V)?function(e){if("STRR72TX6AT"==e){var t;const e=null===(t=window.location.pathname)||void 0===t?void 0:t.split("/");return e[e.length-1]}return"STR6HARJ3QY"==e||"STRI4V3OYCH"==e?L(window.location.href).split("/").pop():L(window.location.href)}(V):M;const[G,H]=(0,i.useState)((()=>"true"===O?z:M));var K=r.$$+"/v2/brand/"+V+"/product-events";const{whatmoreWidgetSourceDetails:U}=(0,i.useContext)(w.B);(0,i.useEffect)((()=>{(0,p.initializeGA)(V),(0,b.Fk)("Video shopping powered by Whatmore!"),(0,c.wm)()}),[]),(0,i.useEffect)((()=>{null==t||0==t.length||h||!(0,u.MN)()||(0,a.Xd)("whatmoreVideoPlayerPoolInitiated")||((0,E._)()?(0,s.Pc)(s.F5):(0,S.bi)())}),[t]),(0,i.useEffect)((()=>{if(k(-1),(0,o.WH1)(V)){const e=`${r.$$}/v2/brand/${V}/product-events/recommendation`,t=(0,o.buK)(V);fetch(`${e}?client_product_id=${G}&limit=10&recommended=${!t}&origin=${window.location.hostname}&status=live,upcoming&event_type=video`).then((e=>e.json())).then((e=>{const i=null===e||void 0===e?void 0:e.events;if((null===i||void 0===i?void 0:i.length)>0){var o;const r=t?null===e||void 0===e?void 0:e.all_events:null===e||void 0===e||null===(o=e.related_events)||void 0===o?void 0:o.map((e=>({...e,isRelatedEvent:!0})));n([...i,...r])}else n([])})).catch((e=>C(e.message)))}else fetch(K.toString()+"?client_product_id="+G.toString()+"&status="+"upcoming".toString()+"&event_type=video").then((e=>e.json())).then((e=>e.events)).then((e=>(null!=e&&0!=e.length&&(0,o.vfi)(V)&&(0,o.YOR)(e),n(e),e))).then((e=>((0,o.Uht)(V)&&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==L(window.location.href))return;const i={product_id:n.product_id,product_link:L(window.location.href)};fetch(r.$$+"/product",{method:"PUT",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(i)})}),500)}(e,G),e))).catch((e=>{C(e.message)}))}),[G]),(0,i.useEffect)((()=>{var e,n;k(-2),(t&&t.length>0||"Free"!==(0,o.yt9)(V))&&(0,g.yP)({userInteractionType:_.O.PDP_VISITED,widgetSourceDetails:U,event:null===t||void 0===t?void 0:t[0],productList:null===t||void 0===t||null===(e=t[0])||void 0===e?void 0:e.products,ctaList:null===t||void 0===t||null===(n=t[0])||void 0===n?void 0:n.cta})}),[t]),(0,i.useEffect)((()=>{const e=L(window.location.href);let t=history.pushState;history.pushState=function(){let e=t.apply(this,arguments);return window.dispatchEvent(new Event("pushstate")),window.dispatchEvent(new Event("locationchange")),e};let n=history.replaceState;history.replaceState=function(){let e=n.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("24950997070"==V&&window.location.origin+window.location.pathname!=e&&fetch(window.location.origin+window.location.pathname+".json").then((e=>e.json())).then((e=>{var t;return H(null===e||void 0===e||null===(t=e.product)||void 0===t?void 0:t.id)})),"true"===O){const e=function(e){for(var t=window.location.search.substring(1).split("&"),n=0;n<t.length;n++){var i=t[n].split("=");if(i[0]==e)return i[1]}return!1}("variant");e&&""!==e&&H(e)}}))}),[]),(0,i.useEffect)((()=>{if(null!=t&&0!==t.length&&!h&&W&&((0,y.H)("whatmore-video-player",(()=>{$(!1)})),null!=F)){const e=t.find((e=>F==e.event_id));if(e)return void q(e,!0,t.indexOf(e))}}),[t]);const Y=U.landingLocationType,X=U.templateType,q=async 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,u.MN)()&&!t&&await((0,E._)()?(0,s.bo)():(0,S.bi)()),(0,f.ij)(e)||(0,f.Il)(e))return T||N||(async()=>{const t=(0,m.Wd)(Y)+(0,m.gf)(X)+(null!==e&&void 0!==e&&e.isRelatedEvent?"R":"E")+"_"+(null===e||void 0===e?void 0:e.event_id);(0,d.lB)(e),(0,p.sendVideoViewEventToGA)(V,r.DK,r.K1),(0,c.Ch)(e.event_id,e.products,"product_page","video_popup",t)})(),void k(n)};function J(){return(0,I.jsx)(I.Fragment,{})}return null==t||0==t.length||h||(0,m.Ig)(U.templateType)?(0,I.jsx)("div",{}):(0,I.jsxs)(v.C,{value:A,children:[B&&(0,I.jsx)(P,{}),"no-product"===G||-1===D||0===t.length?(0,I.jsx)(J,{}):-2===D&&t.length>0?(0,I.jsx)("div",{children:(0,I.jsx)(x.S,{userInteractionType:_.O.PDP_POPUP_WIDGET_VIEW,event:t[0],productList:t[0].products,cta:t[0].cta,triggerFlag:!T&&!N,children:(0,I.jsx)(l.A,{event:t[0],inVideoClick:q,closeClick:e=>{var n;e.stopPropagation(),k(-1),(0,g.kz)({userInteractionType:_.O.PDP_POPUP_CLOSED,widgetSourceDetails:U,event:null===t||void 0===t?void 0:t[0],productList:null===t||void 0===t||null===(n=t[0])||void 0===n?void 0:n.products})}})})}):(0,I.jsx)("div",{children:(0,I.jsx)(i.Suspense,{children:(0,I.jsx)(x.S,{userInteractionType:_.O.EVENT_VIEW,event:t[0],productList:t[0].products,cta:t[0].cta,triggerFlag:!T&&!N,children:(0,I.jsx)(j,{events:t,index:D,onBack:function(){k(-2),$(!1)},template:"template-product-page"})})})})]})}},5901:function(e,t,n){n.d(t,{A:function(){return w}});var i=n(1005),o=n(9950),r=n(9879),a=n(22),d=n(5830),c=n(932);var l=function(e){const[t,n,i,o,r]=(0,c.A)(),[l]=(0,d.QN)("whatmoreEmbedAppVideoPlayerSizePortrait"),[s]=(0,d.QN)("whatmoreEmbedAppVideoPlayerSizeLandscape"),u=r[a.dl]===a.nN?s/100:l/100*1.2;return[t*u,n*u,r]},s=n(5727),u=n(1628),p=n.n(u),v=n(2209),h=n(6702),f=(n(9733),n(4365),n(1348)),m=n(4414);var w=function(e){var t;const n=o.useRef(null);var[c,u,w]=l();const g=(0,d.Xd)("whatmoreUITheme"),[_]=(0,d.QN)("whatmoreEmbedAppVideoTitle"),[x]=(0,d.QN)("whatmoreEmbedAppPositionPortrait"),[b]=(0,d.QN)("whatmoreEmbedAppHorizontalPaddingPortrait"),[y]=(0,d.QN)("whatmoreEmbedAppVerticalPaddingPortrait"),[E]=(0,d.QN)("whatmoreEmbedAppPositionLandscape"),[S]=(0,d.QN)("whatmoreEmbedAppHorizontalPaddingLandscape"),[I]=(0,d.QN)("whatmoreEmbedAppVerticalPaddingLandscape"),A=(0,d.Xd)("whatmoreShopId"),j=(0,d.Xd)("isWhatmorePreviewMode");var P=x,L=b,C=y;w[a.dl]===a.nN&&(P=E,L=S,C=I);const[T,N]=(0,o.useState)(["initial",window.pageYOffset]),[O,D]=(0,o.useState)(!1),k=null!==(t=e.isSpotlight)&&void 0!==t&&t,z=w[a.dl]===a.nN?.7*(0,f.O86)(A):(0,f.O86)(A),V=k?z:1;c*=V,u*=V;const M=k?(0,f.LrK)(A):P,Q=k?(0,f._2D)(A):(0,f.GSq)(A),[R,F]=(0,o.useState)(!k&&(0,f.n8Q)(A));function W(e,t){N(e),e[1]<=100?D(!1):t!=O&&(D(t),F(!1))}(0,o.useEffect)((()=>{let e=window.pageYOffset,t=!1;const n=()=>{const n=window.pageYOffset;Math.abs(n-e)<100||(W([n>e?"scrolled-down":"scrolled-up",n],!0),e=n>0?n:0),t=!1},i=()=>{t||(window.requestAnimationFrame(n),t=!0)};return window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)}),[T]),(0,i.j)({ref:n,handler:()=>{W(["scrolled-up",T[1]],!0)}});const B=e.event,$=e.inVideoClick,G=e.closeClick,H=.3*u,K=.6*u,U=.1*u,Y=.1*(.5*u),X="round"==g?"10px":"0px",q=(0,f.GvQ)(A);var J=!1,Z=0,ee=0;function te(e){J=e}return(0,m.jsx)("div",{className:"wht-popup",children:R&&!Q?(0,m.jsx)(m.Fragment,{}):O&&Q?(0,m.jsx)("div",{style:"left"===M?{left:"1px",bottom:k?(0,f.pUQ)(A)+"px":C+"px",position:"fixed",zIndex:q}:{right:"5px",bottom:k?(0,f.pUQ)(A)+"px":C+"px",position:"fixed",zIndex:q},children:(0,m.jsxs)("div",{onClick:()=>{W(["initial",T[1]],!1)},style:{margin:"1px",width:u+"px",height:c+"px"},className:"left"===M?"whatmore-ultraminimized-video-view-left":"whatmore-ultraminimized-video-view-right",children:[(0,m.jsx)("div",{style:{overflow:"hidden"},children:(0,m.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:9/16},children:(0,m.jsx)(r.A,{url:B.thumbnail_image,isPlaying:!1,event:B})})}),(0,m.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,m.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",height:"100%"},children:[(0,m.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content"},children:(0,m.jsx)("div",{className:"whatmore-ultraminimized-content-scale-out",children:(0,m.jsx)(v.A,{sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:H+"px"},style:{position:"relative",zIndex:1,left:Y+"px",bottom:Y+"px"},onClick:G})})}),(0,m.jsx)("div",{style:{height:"100%",display:"flex",flexFlow:"column nowrap",alignItems:"center",justifyContent:"center"},children:(0,m.jsx)(h.A,{sx:{color:"white",fontSize:2*H+"px",filter:"drop-shadow(0 0 2px black);"}})})]})})]})}):(0,m.jsx)(p(),{nodeRef:n,cancel:".activate-button,.close-btn",bounds:j?"parent":"html",defaultClassName:"whatmore-react-draggable",defaultClassNameDragging:"whatmore-react-draggable-dragging",defaultClassNameDragged:"whatmore-react-draggable-dragged",onStart:(e,t)=>{var n,i;n=t.x,i=t.y,Z=n,ee=i},onDrag:(e,t)=>{te(!0)},onStop:(e,t)=>{J&&(Math.abs(t.x-Z)>5||Math.abs(t.y-ee)>5)?te(!1):$(B)},children:(0,m.jsx)("div",{ref:n,style:"left"===M?{left:k?(0,f.D2A)(A)+"px":L+"px",bottom:k?(0,f.pUQ)(A)+"px":C+"px",position:"fixed",zIndex:q}:{right:k?(0,f.D2A)(A)+"px":L+"px",bottom:k?(0,f.pUQ)(A)+"px":C+"px",position:"fixed",zIndex:q},children:(0,m.jsxs)("div",{style:Object.assign({},{boxSizing:"border-box",margin:"1px",width:e.isSpotlight&&"60122562760"==A?c+"px":u+"px",height:e.isSpotlight&&"60122562760"==A?u+"px":c+"px"}),className:"left"===M?"whatmore-minimized-video-view-left":"whatmore-minimized-video-view-right",children:[(0,m.jsx)("div",{style:{overflow:"hidden",position:"relative"},children:(0,m.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:e.isSpotlight&&"60122562760"==A?16/9:9/16},children:(0,m.jsx)(r.A,{url:B.thumbnail_image,isMuted:!0,isPlaying:!0,event:B})})}),(0,m.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,m.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",height:"100%"},children:[(0,m.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content"},children:(0,m.jsx)(v.A,{className:"close-btn",sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:H+"px"},onClick:G,style:{position:"relative",zIndex:1,left:U+"px",bottom:U+"px"}})}),(0,m.jsx)("div",{style:{marginLeft:"auto",marginRight:"auto"},children:(0,m.jsx)(s.A,{sx:{color:(0,f.KFN)(A),fontSize:K+"px",filter:"drop-shadow(0 0 2px black);"}})}),(0,m.jsx)("div",{style:{paddingLeft:"2px",paddingRight:"2px",borderBottomLeftRadius:X,borderBottomRightRadius:X,backgroundImage:_?"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0.6))":""},children:(0,m.jsxs)("p",{style:{textAlign:"center",color:"white",fontFamily:"Sans-serif",fontWeight:"semi-bold",fontSize:.4*H+"px",margin:0,padding:0,lineHeight:"110%"},children:["\xa0",_]})})]})})]})})})})}},6649:function(e,t,n){var i=n(9950);t.A=function(){let{triggerOnce:e=!1,root:t=null,rootMargin:n="0px",threshold:o=0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[r,a]=(0,i.useState)(!1),[d,c]=(0,i.useState)(null),l=(0,i.useRef)(null);return(0,i.useEffect)((()=>{const i=new IntersectionObserver(((t,n)=>{t.forEach((t=>{c(t),t.isIntersecting?(a(!0),e&&n.disconnect()):e||a(!1)}))}),{root:t,rootMargin:n,threshold:o});return l.current&&i.observe(l.current),()=>{i.disconnect()}}),[e,t,n,o]),[l,r,d]}},8945:function(e,t,n){function i(e,t){let n=0;let i=new MutationObserver((function(){document.querySelector("."+e)?(t(),i.disconnect()):0==n&&(n=1,setTimeout((()=>{t(),i.disconnect()}),8e3))}));i.observe(document.body,{childList:!0,subtree:!0})}n.d(t,{H:function(){return i}})},9733:function(){}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[374],{1941:function(n,e,i){i.d(e,{A:function(){return l}});var t=i(5830),r=i(9950);function a(n){if(!n)return{};var e={};return Array.from(n.attributes).forEach((n=>{var i;e[n.name]=(i=n.value,isNaN(+i)?i:+i)})),e}function o(){try{var n;const r=document.getElementById("whatmorePreviewMode");if(!r)return null;for(var e=arguments.length,i=new Array(e),t=0;t<e;t++)i[t]=arguments[t];const o=null===i||void 0===i?void 0:i[0];if(!o)return!0;let s={};return s=o.includes("function")?{}:a(r),null!==(n=s)&&void 0!==n&&n[o]?s[o]:null}catch(r){return null}}var s=function(){var n,e;let{disablePreview:i=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t=i?window.innerHeight:null!==(n=o("height-wh"))&&void 0!==n?n:window.innerHeight,a=i?window.innerWidth:null!==(e=o("width-wh"))&&void 0!==e?e:window.innerWidth,[s,d]=[t,a];const[c,l]=(0,r.useState)([s>d?"portrait":"landscape",s,d]);return(0,r.useLayoutEffect)((()=>{function n(){var n,e,t=i?window.innerHeight:null!==(n=o("height-wh"))&&void 0!==n?n:window.innerHeight,r=i?window.innerWidth:null!==(e=o("width-wh"))&&void 0!==e?e:window.innerWidth,[a,s]=[t,r];l(a>s?["portrait",a,s]:["landscape",a,s])}return window.addEventListener("resize",n),window.addEventListener("orientationchange",n),screen.orientation&&screen.orientation.addEventListener("change",n),n(),()=>{window.removeEventListener("resize",n),window.removeEventListener("orientationchange",n),screen.orientation&&screen.orientation.removeEventListener("change",n)}}),[]),c};function d(){return[window.innerHeight,window.innerWidth]}var c=function(){var[n,e]=d();const[i,t]=(0,r.useState)([n>e?"portrait":"landscape",n,e]);return(0,r.useLayoutEffect)((()=>{function n(){var[n,e]=d();t(n>e?["portrait",n,e]:["landscape",n,e])}return window.addEventListener("resize",n),window.addEventListener("orientationchange",n),screen.orientation&&screen.orientation.addEventListener("change",n),n(),()=>{window.removeEventListener("resize",n),window.removeEventListener("orientationchange",n),screen.orientation&&screen.orientation.removeEventListener("change",n)}}),[]),i};var l=function(n){var e;const i=(0,t.Xd)("isWhatmorePreviewMode"),r=c(),a=s({disablePreview:null!==(e=null===n||void 0===n?void 0:n.disablePreview)&&void 0!==e&&e});return i?a:r}},5100:function(n,e,i){i.r(e);var t=i(9950),r=i(1941),a=i(5830),o=i(4414);const s=t.memo((()=>{if(!(0,a.Xd)("isLandingSharedLink"))return(0,o.jsx)(o.Fragment,{});const[n]=(0,r.A)();return(0,o.jsxs)("div",{className:`shimmer-container ${n}`,children:["portrait"===n?(0,o.jsx)("div",{className:"shimmer-item portrait-full",children:(0,o.jsx)("div",{className:"shimmer-effect"})}):Array(3).fill().map(((n,e)=>(0,o.jsx)("div",{className:"shimmer-item landscape-item "+(1===e?"center-item":""),children:(0,o.jsx)("div",{className:"shimmer-effect"})},e))),(0,o.jsx)("style",{children:"\n .shimmer-container {\n display: flex;\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n overflow-x: scroll;\n scroll-snap-type: x mandatory;\n scroll-behavior: smooth;\n z-index: 1000;\n }\n\n .portrait {\n justify-content: center;\n align-items: center;\n background: rgba(0, 0, 0, 0.6);\n }\n\n .landscape {\n justify-content: center;\n align-items: center;\n background: rgba(0, 0, 0, 0.8);\n }\n\n .shimmer-item {\n scroll-snap-align: start;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n transition: transform 0.3s ease;\n }\n\n .portrait-full {\n width: 100vw;\n height: 100vh;\n margin: 0; \n }\n\n .landscape-item {\n width: 250px;\n height: 450px;\n background: #D3D3D3;\n border-radius: 8px;\n margin-left: -50px; \n }\n\n .center-item {\n width: 360px;\n height: 620px;\n box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5); \n z-index: 10; \n }\n\n .shimmer-effect {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 75%);\n animation: shimmer 2s infinite;\n background-size: 200% 100%;\n }\n\n @keyframes shimmer {\n 0% {\n background-position: -200% 0;\n }\n 100% {\n background-position: 200% 0;\n }\n }\n "})]})}));e.default=s}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[491],{4295:function(e,t,r){r.r(t),r.d(t,{default:function(){return v}});var o=r(9950),n=r(1941),i=r(5830),l=(r(6125),r(4365),r(6614),r(1348)),s=r(3788),a=r(7973),c=r(9879),d=r(4414);var u=function(e){var t,r;const n=(0,i.Xd)("whatmorePrimaryFont"),u=(0,i.Xd)("whatmoreSecondaryColor"),p=(0,i.Xd)("whatmoreShopId"),[h,f]=(0,o.useState)(!1),x=e.storyId,m=(0,s.s)(e.imageUrl),g=e.title,v=e.onClick,y=e.template,w=(0,l.ivI)(p),b="template-stories-a"===y?"50%":"30%",j=e.tileSize,S=.12*j*(0,l.cYm)(p),C=null!==(t=(0,l.Pjz)(p))&&void 0!==t?t:n;let k=null!==(r=(0,l.qAx)(p))&&void 0!==r?r:[u,w,u,w,u];Array.isArray(k)||(k=Array(5).fill(k));const z=(0,o.useRef)(0),E=(0,o.useRef)(null),F=(0,o.useRef)(null);return(0,o.useEffect)((()=>{F.current&&F.current.play();const e=document.querySelector('.whatmore-base:has(.whatmore-widget[data-wh="stories"])');e&&function t(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const o=e.querySelector("#storiesLoader");o?o.style.display="none":r<10&&setTimeout((()=>t(r+1)),100)}()}),[]),(0,o.useEffect)((()=>{const e=E.current,t=new IntersectionObserver(((e,t)=>{e.forEach((e=>{if(e.isIntersecting){const r=e.target;r.src=r.dataset.src,t.unobserve(r)}}))}),{rootMargin:"0px 100px 0px 0px",threshold:0});return e&&t.observe(e),()=>{e&&t.unobserve(e)}}),[m]),(0,d.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",alignItems:"center",flexShrink:0,height:"fit-content",width:j*(0,l.rMH)(p)+"px",marginLeft:"10px",marginRight:"10px",marginTop:"10px",marginBottom:"10px",cursor:"pointer"},onClick:()=>{f(!0),v(x)},className:[h?"whatmore-scale-on-tap":""].join(" "),children:[(0,d.jsx)("div",{style:{display:"flex",boxSizing:"border-box",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,height:"fit-content",width:"fit-content",borderRadius:b,boxShadow:"0px 2px 1px 0px "+k[0]+"50, 0px -2px 1px 0px "+k[1]+"50, 2px 0px 1px 0px "+k[2]+"50, -2px 0px 1px 0px "+k[3]+"80, 2px -2px 1px 0px "+k[4]+"80, -2px 2px 1px 0px "+k[0]+"DA, 2px 2px 1px 0px "+k[1]+"DA, -2px -2px 1px 0px "+k[2]+"DA"},children:(0,d.jsx)("div",{className:"whatmore-story-thumbnail-wrapper",style:{flexShrink:0,objectFit:"cover",height:j+"px",width:j+"px",borderRadius:b,border:"3px solid white",backgroundColor:"#343434"===u?"#d3d3d3":u,overflow:"hidden"},children:"video"==(0,a.B)(m)?(0,d.jsx)(c.A,{height:"100%",width:"100%",url:m,isPlaying:!0,event:{event_type:"video"},borderRadius:b}):(0,d.jsx)("img",{ref:E,className:"whatmore-story-thumbnail","data-src":m.startsWith("https://cdn.shopify.com")?m.split("?")[0]+"?width=400&height=400":m,loading:"lazy",style:{objectFit:"cover",width:"100%",height:"100%",backgroundColor:"white"},alt:"story",onError:function(){if(z.current<3){let t=(0,s.s)(e.imageUrl);E.current.src="",E.current.src=t,z.current=z.current+1}else console.log("Failed to load image after several attempts"),E.current.src="https://d2oouab8j9eigo.cloudfront.net/background_white.png"}})})}),(0,d.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",flexShrink:0,height:"fit-content",width:"100%",marginTop:"10px"},children:(0,d.jsx)("p",{ref:e=>{e&&e.style.setProperty("font-size",S+"px","important")},style:{textAlign:"center",color:(0,l.o9q)(p),fontFamily:C,fontWeight:"normal",lineHeight:"110%",margin:0,padding:0,overflow:"hidden",textOverflow:"ellipsis",width:"auto"},children:null===g||void 0===g?void 0:g.substring(0,24)})})]})},p=r(5873),h=r(572),f=r(3059),x=(0,f.A)((0,d.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft"),m=(0,f.A)((0,d.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");const g=(0,r(8603).A)({key:"whatmore-stories-css"});var v=function(e){const[t,r,s]=(0,n.A)(),[a]=(0,i.QN)("whatmoreStoryTileSize"),[c]=(0,i.QN)("whatmoreStoryTileSizeDesktop"),[f]=(0,i.QN)("whatmoreShopId"),[v,y]=(0,o.useState)("portrait"===t?"flex-start":"center"),[w,b]=(0,o.useState)(!1),[j,S]=(0,o.useState)(!1),C=(0,o.useRef)(null),k=(0,o.useRef)(null);var z=e.eventsStories;const E=e.onClick,F=e.template,A="landscape"===t&&(0,l.lDJ)(f);function I(){if(!A||!C.current)return;const{scrollLeft:e,scrollWidth:t,clientWidth:r}=C.current;b(e>0),S(e<t-r-1)}(0,o.useEffect)((()=>{p.Sn.forEach((e=>{var t;if(!(null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-stories-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-stories-a"]')))return;e&&(e.style.minHeight="0px")}))}),[]);const R=e=>{if(C.current){const t="left"===e?4*-M:4*M;C.current.scrollBy({left:t,behavior:"smooth"})}};(0,o.useEffect)((()=>{!function(){if(C.current){const e=C.current.scrollWidth,t=C.current.offsetWidth;y(e>t?"flex-start":"center")}}()}),[v,s]),(0,o.useEffect)((()=>{if(!A)return;const e=()=>{I()},t=()=>{I()},r=C.current;return r?(r.addEventListener("scroll",e),window.addEventListener("resize",t),I(),()=>{r.removeEventListener("scroll",e),window.removeEventListener("resize",t)}):void 0}),[A]);const[_,L]=(0,o.useState)([]);(0,o.useEffect)((()=>{L(z.map((e=>e.storyset_dynamic_thumbnail?Math.floor(Math.random()*(e.events.length-1)):0)))}),[]);const M="landscape"===t?r*(c/340):s*(a/200);return(0,d.jsx)(h.C,{value:g,children:"landscape"==t&&!(0,l.AFg)(f)||"portrait"==t&&!(0,l.rC6)(f)?(0,d.jsx)(d.Fragment,{}):(0,d.jsxs)("div",{ref:k,style:{position:"relative",width:"100%",height:"fit-content"},className:"whatmore-story-container",children:[(0,d.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:v,height:"fit-content",width:"100%",overflowX:"auto",scrollbarWidth:"none",msOverflowStyle:"none"},className:"whatmore-story-horizontal-flex",ref:C,children:z.map(((e,t)=>{var r,o,n,i,l;const s=e.storyset_dynamic_thumbnail?null!==(r=null===(o=e.events[_[t]])||void 0===o?void 0:o.poster_image)&&void 0!==r?r:e.thumbnail_image:null!==(n=e.thumbnail_image)&&void 0!==n?n:null===e||void 0===e||null===(i=e.events)||void 0===i||null===(l=i[0])||void 0===l?void 0:l.thumbnail_image;return(0,d.jsx)(u,{storyId:e.id,tileSize:M,onClick:e=>{E(t)},template:F,imageUrl:s,fallbackUrl:e.thumbnail_image,title:e.title},"whatmore-story-"+e.id)}))}),A&&(0,d.jsxs)(d.Fragment,{children:[w&&(0,d.jsx)("button",{onClick:()=>R("left"),style:{width:"48px",height:"48px",borderRadius:"50%",backgroundColor:"rgba(0, 0, 0, 0.7)",border:"none",position:"absolute",top:"40%",left:"16px",transform:"translateY(-50%)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"all 0.2s ease-in-out",backdropFilter:"blur(4px)",color:"white",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.2)"},onMouseEnter:e=>{e.target.style.backgroundColor="rgba(0, 0, 0, 0.8)"},onMouseLeave:e=>{e.target.style.backgroundColor="rgba(0, 0, 0, 0.7)"},children:(0,d.jsx)(x,{style:{fontSize:"32px",display:"flex",alignItems:"center",justifyContent:"center"}})}),j&&(0,d.jsx)("button",{onClick:()=>R("right"),style:{width:"48px",height:"48px",borderRadius:"50%",backgroundColor:"rgba(0, 0, 0, 0.7)",border:"none",position:"absolute",top:"40%",right:"16px",transform:"translateY(-50%)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"all 0.2s ease-in-out",backdropFilter:"blur(4px)",color:"white",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.2)"},onMouseEnter:e=>{e.target.style.backgroundColor="rgba(0, 0, 0, 0.8)"},onMouseLeave:e=>{e.target.style.backgroundColor="rgba(0, 0, 0, 0.7)"},children:(0,d.jsx)(m,{style:{fontSize:"32px",display:"flex",alignItems:"center",justifyContent:"center"}})})]})]})})}},6125:function(){},6614:function(){},7973:function(e,t,r){r.d(t,{B:function(){return l},b:function(){return i}});var o=r(1348),n=r(5830);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const r=(0,n.Xd)("whatmoreShopId");return"shopify"!=(0,o.NCy)(r)?"STRNV8MHJTF"==r?e+"?format=webp":e:e+t}function l(e){var t;if(null!==e&&void 0!==e&&e.includes("https://w-media.b-cdn.net/process-media"))return"image";const r=null===e||void 0===e||null===(t=e.trim())||void 0===t?void 0:t.split("?")[0],o=/\.(jpeg|jpg|gif|png|svg|webp)$/i,n=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==o&&void 0!==o&&o.test(r)?"image":null!==n&&void 0!==n&&n.test(r)?"video":void 0}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[199],{1351:function(e,t,n){n.d(t,{PG:function(){return r},kz:function(){return s},UM:function(){return d},yP:function(){return u},DG:function(){return c}});var i=n(1348),o=n(6157);function l(e,t){var n;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;const a=r[e];if(!a)return;const s=a.isActionEnabled(),c=null===l||void 0===l||null===(n=l.meta_actions)||void 0===n?void 0:n[a.customAction];(s||c)&&"function"==typeof fbq&&(async()=>{const n={id:null===t||void 0===t?void 0:t.client_product_id,product_url:null===t||void 0===t?void 0:t.product_link,...e===o.O.VIDEO_PLAYBACK&&{watch_time:i.watch_time,video_duration:i.video_duration}};fbq("trackCustom",a.action,n),c&&setTimeout((()=>{null===c||void 0===c||c.forEach((e=>{fbq("trackCustom",e,n)}))}),500)})()}var a=n(7145);const r={[o.O.EVENT_VIEW]:{isActionEnabled:i.NFF,action:"whatmore_video_click_event",customAction:"video_clicked"},[o.O.VIDEO_PLAYBACK]:{isActionEnabled:i.Eel,action:"whatmore_video_watch_event",customAction:"video_watched"},[o.O.VIDEO_LIKED]:{isActionEnabled:i.Mz3,action:"whatmore_video_like_event",customAction:"video_liked"},[o.O.VIDEO_SHARE_CTA_CLICKED]:{isActionEnabled:i.OLZ,action:"whatmore_video_share_event",customAction:"video_shared"},[o.O.SHOPNOW_ATC_CLICKED]:{isActionEnabled:i.T9r,action:"whatmore_video_atc_event",customAction:"video_atc_clicked"},[o.O.PRODUCT_TILE_ATC_CLICKED]:{isActionEnabled:i.T9r,action:"whatmore_video_atc_event",customAction:"video_atc_clicked"},[o.O.SHOPNOW_CLICKED]:{isActionEnabled:i.nEf,action:"whatmore_product_tile_click_event",customAction:"video_product_tile_clicked"},[o.O.PRODUCT_TILE_SHOPNOW_CLICKED]:{isActionEnabled:i.nEf,action:"whatmore_product_tile_click_event",customAction:"video_product_tile_clicked"}};function s(e){var t;let{userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:s,productList:c,ctaList:d}=e;(0,a.B)({userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:s,productList:c,ctaList:d}),n in r&&l(n,null!==(t=null===c||void 0===c?void 0:c[1])&&void 0!==t?t:null===c||void 0===c?void 0:c[0],i,s)}function c(e){var t;let{userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:s,productList:c,ctaList:d}=e;(0,a.B)({userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:s,productList:c,ctaList:d}),n in r&&l(n,null!==(t=null===c||void 0===c?void 0:c[1])&&void 0!==t?t:null===c||void 0===c?void 0:c[0],i,s)}function d(e){let{userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:l,ctaList:r}=e;(0,a.B)({userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:l,ctaList:r})}function u(e){let{userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:l,ctaList:r}=e;(0,a.B)({userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:l,ctaList:r})}},3350:function(e,t,n){n.r(t),n.d(t,{default:function(){return F}});var i=n(9950),o=n(964),l=n(140),a=n(5830),r=n(1348),s=n(4533),c=n(6613),d=n(1085),u=n(5551),v=n(2039),p=n(4833),m=n(2979),h=n(6157),g=n(8945),_=n(9821),S=n(4414);const y=i.lazy((()=>Promise.all([n.e(59),n.e(304),n.e(946),n.e(375),n.e(571),n.e(987),n.e(137),n.e(665)]).then(n.bind(n,7206)))),w=i.lazy((()=>Promise.all([n.e(59),n.e(304),n.e(437),n.e(375),n.e(571),n.e(620),n.e(116)]).then(n.bind(n,7144)))),I=i.lazy((()=>Promise.all([n.e(59),n.e(304),n.e(879),n.e(571),n.e(987),n.e(703),n.e(423)]).then(n.bind(n,517)))),f=i.lazy((()=>Promise.all([n.e(59),n.e(304),n.e(879),n.e(571),n.e(987),n.e(703),n.e(412)]).then(n.bind(n,7646)))),E=i.lazy((()=>Promise.all([n.e(59),n.e(304),n.e(879),n.e(571),n.e(987),n.e(703),n.e(221)]).then(n.bind(n,5451)))),x=i.lazy((()=>Promise.all([n.e(59),n.e(571),n.e(491)]).then(n.bind(n,4295)))),O=i.lazy((()=>Promise.all([n.e(59),n.e(304),n.e(437),n.e(946),n.e(286),n.e(498),n.e(375),n.e(571),n.e(987),n.e(137),n.e(262),n.e(647),n.e(46),n.e(620),n.e(474)]).then(n.bind(n,6945)))),T=i.lazy((()=>Promise.all([n.e(59),n.e(304),n.e(437),n.e(946),n.e(286),n.e(498),n.e(310),n.e(571),n.e(987),n.e(137),n.e(262),n.e(647),n.e(485)]).then(n.bind(n,9418)))),C=i.lazy((()=>Promise.all([n.e(59),n.e(304),n.e(946),n.e(131),n.e(571),n.e(987),n.e(676)]).then(n.bind(n,3369)))),b=i.lazy((()=>Promise.all([n.e(59),n.e(304),n.e(437),n.e(946),n.e(286),n.e(498),n.e(691),n.e(571),n.e(987),n.e(137),n.e(262),n.e(647),n.e(46),n.e(891)]).then(n.bind(n,7178)))),D=i.lazy((()=>Promise.all([n.e(59),n.e(304),n.e(437),n.e(946),n.e(286),n.e(498),n.e(72),n.e(571),n.e(987),n.e(137),n.e(262),n.e(647),n.e(46),n.e(306)]).then(n.bind(n,9406)))),j=i.lazy((()=>Promise.all([n.e(59),n.e(304),n.e(437),n.e(375),n.e(571),n.e(137),n.e(933)]).then(n.bind(n,6989)))),L=i.lazy((()=>Promise.all([n.e(59),n.e(304),n.e(437),n.e(946),n.e(286),n.e(498),n.e(438),n.e(571),n.e(987),n.e(137),n.e(262),n.e(647),n.e(806)]).then(n.bind(n,3278)))),q=i.lazy((()=>Promise.all([n.e(59),n.e(304),n.e(879),n.e(571),n.e(987),n.e(1)]).then(n.bind(n,4596)))),P=i.lazy((()=>Promise.all([n.e(59),n.e(304),n.e(437),n.e(946),n.e(286),n.e(498),n.e(571),n.e(987),n.e(137),n.e(262),n.e(647),n.e(906)]).then(n.bind(n,5647)))),A=i.lazy((()=>n.e(374).then(n.bind(n,5100))));var k=function(e){var t,k;const[W]=(0,a.QN)("isInDesignMode"),[$]=(0,a.QN)("isDemoBrand"),[N]=(0,a.QN)("whatmoreTopBottomPadding"),[G]=(0,a.QN)("whatmoreStoriesTopBottomPadding"),{whatmoreIsStoriesTemplate:V}=(0,i.useContext)(u.B),[F]=(0,a.QN)("whatmoreShopId"),{whatmoreEventsBrowsingTemplate:B}=(0,i.useContext)(u.B),M=(0,a.Xd)("isLandingSharedLink"),z=(0,a.Xd)("whatmoreShareTemplateId"),R=(0,a.Xd)("whatmoreShareStoryId"),H=(0,a.Xd)("whatmoreShareEventId"),{whatmoreWidgetSourceDetails:K,whatmoreUserInfo:J}=(0,i.useContext)(u.B),U=M&&B===(0,p.Mm)(z),[Q,X]=(0,i.useState)(U),[Y,Z]=(0,i.useState)(-1),[ee,te]=(0,i.useState)(null);let ne=e.events;const ie=e.allEvents;var oe=null;V&&!oe&&(oe=function(e){var t=e.reduce(((e,t,n)=>{var i,o=t.storyset_id;return o in e?(e[o].total_events=e[o].total_events+1,e[o].events.push(t)):e[o]={id:t.storyset_id,title:t.storyset_name,thumbnail_image:t.storyset_thumbnail_image,total_events:1,start_event_index:n,storyset_dynamic_thumbnail:null!==(i=null===t||void 0===t?void 0:t.storyset_dynamic_thumbnail)&&void 0!==i&&i,events:[t]},e}),{}),n=Object.values(t);return n.sort(((e,t)=>e.start_event_index-t.start_event_index)),n}(ne));const le=K.landingLocationType,ae=K.templateType;function re(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(0,c.MN)()&&(0,_._)()&&!t&&(0,d.bo)(),W||$||(async()=>{const{initializeGA:t,sendVideoViewEventToGA:i}=await Promise.all([n.e(286),n.e(907)]).then(n.bind(n,3330));t();const a=oe[e].events[0],r=(0,p.Wd)(le)+(0,p.gf)(ae)+(null!==a&&void 0!==a&&a.isRelatedEvent?"R":"E")+"_"+(null===a||void 0===a?void 0:a.event_id);(0,l.lB)(a),i(F,o.TB,o.OL),(0,s.Ch)(a.event_id,a.products,"homepage","stories",r,null===a||void 0===a?void 0:a.location,null===J||void 0===J?void 0:J.userType)})();var a=0;null!=i&&oe[e].events.map(((e,t)=>{e.event_id==i&&(a=t)})),Z(a),te(e)}async function se(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,c.MN)()&&(0,_._)()&&!t&&await(0,d.bo)(),Z(e.index),((0,v.ij)(e)||(0,v.Il)(e))&&(W||$||(async()=>{const{initializeGA:t,sendVideoViewEventToGA:i}=await Promise.all([n.e(286),n.e(907)]).then(n.bind(n,3330));t();const a=(0,p.Wd)(le)+(0,p.gf)(ae)+(null!==e&&void 0!==e&&e.isRelatedEvent?"R":"E")+"_"+(null===e||void 0===e?void 0:e.event_id);(0,l.lB)(e),i(F,o.TB,o.Dk),(0,s.Ch)(e.event_id,e.products,"homepage","carousel",a)})())}function ce(e){return(0,S.jsx)(S.Fragment,{})}return(0,i.useEffect)((()=>{if(U)if((0,g.H)("whatmore-video-player",(()=>{X(!1)})),null!=R&&V){const e=oe.find((e=>R==e.id));if(e)return void re(oe.indexOf(e),!0,H)}else if(null!=H){const e=ne.find((e=>H==e.event_id));if(e)return void se(e,!0)}}),[]),(0,S.jsxs)(S.Fragment,{children:[Q&&(0,S.jsx)(A,{}),-1==Y||-2==Y?(0,S.jsx)(ce,{}):(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.EVENT_VIEW,event:ne[Y],productList:null===(t=ne[Y])||void 0===t?void 0:t.products,cta:null===(k=ne[Y])||void 0===k?void 0:k.cta,triggerFlag:!W&&!$,children:(0,S.jsx)(P,{events:ie,index:Y,onBack:async function(){Z(-1),X(!1)},slideDirection:V||"horizontal"===(0,r.br0)(F)?"horizontal":"vertical",eventsStories:oe,initialStoryIndex:ee,template:B})})}),(0,S.jsx)("div",{className:"whatmore-widget-container",style:{height:"100%",marginTop:(V?G:N)+"px",marginBottom:(V?G:N)+"px"},children:"template-b"===B?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!W&&!$,children:(0,S.jsx)(y,{events:ne,onClick:se,heading:e.heading})})}):"template-a-1"===B||"template-collections-a-1"===B?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(w,{events:ne,onClick:se,heading:e.heading})}):"template-feed-a"===B||"template-collections-feed-a"===B?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(j,{events:ne,onClick:se,heading:e.heading})}):"template-collections-a"===B||"template-c"===B?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!W&&!$,children:(0,S.jsx)(I,{events:ne,index:Y,setScreen:Z,onClick:se,heading:e.heading})})}):"template-collections-b"===B||"template-d"===B?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!W&&!$,children:(0,S.jsx)(f,{events:ne,index:Y,setScreen:Z,onClick:se,heading:e.heading})})}):"template-collections-c"===B||"template-e"===B?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!W&&!$,children:(0,S.jsx)(E,{events:ne,index:Y,setScreen:Z,onClick:se,heading:e.heading})})}):"template-collections-d"===B?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!W&&!$,children:(0,S.jsx)(y,{events:ne,index:Y,setScreen:Z,onClick:se,heading:e.heading})})}):"template-collections-e"===B?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!W&&!$,children:(0,S.jsx)(O,{events:ne,index:Y,setScreen:Z,onClick:se,heading:e.heading})})}):"template-collections-stories"===B||"template-stories"===B?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.COLLECTION_WIDGET_VIEW,triggerFlag:!W&&!$,children:(0,S.jsx)(q,{events:ne,index:Y,setScreen:Z,onClick:se,heading:e.heading})})}):"template-f"===B||"template-collections-f"===B?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!W&&!$,children:(0,S.jsx)(T,{events:ne,onClick:se,heading:e.heading})})}):"template-g"===B||"template-collections-g"===B?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!W&&!$,children:(0,S.jsx)(C,{events:ne,onClick:se,heading:e.heading})})}):"template-h"===B||"template-collections-h"===B?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!W&&!$,children:(0,S.jsx)(b,{events:ne,onClick:se,heading:e.heading})})}):"template-i"===B||"template-collections-i"===B?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!W&&!$,children:(0,S.jsx)(D,{index:Y,events:ne,onClick:se,heading:e.heading})})}):"template-banner-a"===B?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.BANNER_WIDGET_VIEW,event:ne[0],triggerFlag:!W&&!$,children:(0,S.jsx)(L,{events:ne})})}):V?(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.STORIES_WIDGET_VIEW,triggerFlag:!W&&!$,children:(0,S.jsx)(x,{eventsStories:oe,onClick:re,template:B})})}):(0,S.jsx)(i.Suspense,{children:(0,S.jsx)(m.S,{userInteractionType:h.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!W&&!$,children:(0,S.jsx)(O,{events:ne,onClick:se,heading:e.heading})})})})]})},W=n(7802),$=n(6641),N=n(1351),G=n(5873);function V(e){return e.split(/[?#]/)[0]}var F=function(e){const[t,l]=(0,i.useState)(),[v,m]=(0,i.useState)(),[g,y]=(0,i.useState)(),{whatmoreIsStoriesTemplate:w}=(0,i.useContext)(u.B),{whatmoreIsCollectionsTemplate:I}=(0,i.useContext)(u.B),{whatmoreIsBannerTemplate:f}=(0,i.useContext)(u.B),[E]=(0,a.QN)("whatmoreShopId"),[x]=(0,a.QN)("whatmoreCollectionId"),O=(0,a.Xd)("whatmoreLandingLocationType"),T=(0,a.Xd)("whatmoreLoggingActive"),{whatmoreWidgetSourceDetails:C}=(0,i.useContext)(u.B),{whatmoreUserInfo:b,whatmoreIsPreviewMode:D}=(0,i.useContext)(u.B),j=(0,a.Xd)("whatmoreCollectionUrl"),[L]=(0,a.QN)("isInDesignMode"),[q]=(0,a.QN)("isDemoBrand"),P=(0,r.mJ$)(E)?(0,r.jLA)(E)?j:window.location.href.split(/[?#]/)[0]:x,[A,F]=(0,a.QN)("productRatings"),[B,M]=(0,i.useState)(!1);var z=(0,r.SOt)(E)?o.aD+"/v2/events/":o.$$+"/v2/events/",R=(0,r.SOt)(E)?o.aD+"/v3/events/":o.$$+"/v3/events/",H=(0,r.SOt)(E)?o.aD+"/v4/events/":o.$$+"/v4/events/",K=(0,r.SOt)(E)?o.aD+"/v5/events/":o.$$+"/v5/events/",J=((0,r.SOt)(E)?o.aD:o.$$,(0,r.SOt)(E)?o.aD+"/get_eventset/":o.$$+"/get_eventset/"),U=(0,r.SOt)(E)?o.aD+"/v2/collection":o.$$+"/v2/collection",Q=(0,r.SOt)(E)?o.aD+"/v3/collection":o.$$+"/v3/collection",X=(0,r.SOt)(E)?o.aD+"/v4/collection":o.$$+"/v4/collection",Y=(0,r.SOt)(E)?o.aD+"/v2/brand/"+E+"/product-events":o.$$+"/v2/brand/"+E+"/product-events",Z=e.shopId,ee="live,upcoming",te="true";return(0,i.useEffect)((()=>{null!=t&&0!=t.length&&!g&&(0,c.MN)()&&!(0,a.Xd)("whatmoreVideoPlayerPoolInitiated")&&(0,_._)()&&(0,d.Pc)(d.F5)}),[t]),(0,i.useEffect)((()=>{var e,t,i,c;if((0,s.wm)(),O.startsWith("product")){var d=(0,a.Xd)("whatmoreProductId");if(d=(0,r.BcY)(E)?function(e){return"STRQMPNF7QK"==e?encodeURIComponent(window.location.href):"STR6HARJ3QY"==e||"STRI4V3OYCH"==e?V(window.location.href).split("/").pop():V(window.location.href)}(E):d,(0,r.vvU)(E))c=z.toString()+Z.toString()+"?status="+ee.toString()+"&is_active="+te.toString()+(w?"&template_type=stories":"");else if((0,r.WH1)(E)){c=`${c=`${o.$$}/v2/brand/${E}/product-events/recommendation`}?client_product_id=${d}&limit=10&recommended=${!(0,r.buK)(E)}&origin=${window.location.hostname}&status=live,upcoming&event_type=video`}else c=Y.toString()+"?client_product_id="+d.toString()+"&status="+ee.toString()+"&event_type=video"}else if(I||"invalid-url"!==j)c=(0,r.JwJ)(E)?`${Q.toString()}?store_id=${Z.toString()}&client_collection_id=${"index"==O&&(0,r.FKG)(E).length>0?(0,r.FKG)(E)[0]:P}`:"78232846646"==E?`${X.toString()}?store_id=${Z.toString()}&client_collection_id=${"index"==O&&(0,r.FKG)(E).length>0?(0,r.FKG)(E)[0]:P}`:`${U.toString()}?store_id=${Z.toString()}&client_collection_id=${"index"==O&&(0,r.FKG)(E).length>0?(0,r.FKG)(E)[0]:P}`;else if(f){const e=p.Jh,t=(0,p.t6)(O);c=J.toString()+Z.toString()+"?eventset_type="+e+"&source="+t+"&source_id="+E}else{var u,v,h,g;if(("72201044272"==E||"2665447536"==E&&D)&&!w)c=R.toString()+Z.toString()+"?status="+ee.toString()+"&is_active="+te.toString()+"&latitude="+(null!==(u=null===(v=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===v?void 0:v.latitude)&&void 0!==u?u:"")+"&longitude="+(null!==(h=null===(g=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===g?void 0:g.longitude)&&void 0!==h?h:"")+"&user_type="+(null!==b&&void 0!==b&&b.userType?"olduser":"newuser");else c=(0,r.JwJ)(E)&&!w?H.toString()+Z.toString()+"?status="+ee.toString()+"&is_active="+te.toString():"78232846646"!=E||w?z.toString()+Z.toString()+"?status="+ee.toString()+"&is_active="+te.toString()+(w?"&template_type=stories":""):K.toString()+Z.toString()+"?status="+ee.toString()+"&is_active="+te.toString()}const _=null===(e=window)||void 0===e||null===(t=e.whatmore)||void 0===t||null===(i=t.storyEvents)||void 0===i?void 0:i.events;w&&O.startsWith("index")&&"object"==typeof _&&(null===_||void 0===_?void 0:_.length)>0?(l(_),m(_),M(!0)):fetch(c).then((e=>e.json())).then((e=>{var t;if(f){const t=p.Jh;return(0,W.Po)(e,t)}return(0,r.JwJ)(E)&&(null===e||void 0===e||null===(t=e.questions)||void 0===t?void 0:t.length)>0&&(null==localStorage.getItem("_whatmore_qview_index")&&localStorage.setItem("_whatmore_qview_index",0),(0,s.d3)(null===e||void 0===e?void 0:e.questions)),(0,W.Np)(e,I||"invalid-url"!==j)})).then((e=>{var t,n;T&&console.debug("initial received events size : "+e.length);let i=[...null===e||void 0===e?void 0:e.events,...null===e||void 0===e?void 0:e.all_events];i=(0,r.xku)(E)?(0,W.d8)(i):(0,W.Zf)(i),m(i);const o=null!==(t=null===e||void 0===e||null===(n=e.events)||void 0===n?void 0:n.length)&&void 0!==t?t:0;return i.slice(0,o)})).then((e=>{if((q||L)&&(null==e||e&&0==(null===e||void 0===e?void 0:e.length))){const e=async()=>{const{eventsData:e,storiesData:t,bannerData:i}=await n.e(365).then(n.bind(n,6018));l(w?t:f?i:e)};e()}else l(e);M(!0)})).catch((e=>{y(e.message),M(!0)}))}),[]),(0,i.useEffect)((()=>{"index"===O?t&&t.length>0&&(0,N.yP)({userInteractionType:h.O.HOMEPAGE_VISITED,widgetSourceDetails:C}):"collection"===O?(t&&t.length>0||"Free"!==(0,r.yt9)(E))&&(0,N.yP)({userInteractionType:h.O.COLLECTION_PAGE_VISITED,widgetSourceDetails:C}):"product"===O&&(t&&t.length>0||"Free"!==(0,r.yt9)(E))&&(0,N.yP)({userInteractionType:h.O.PDP_VISITED,widgetSourceDetails:C})}),[t]),B&&(null==t||0==t.length||g)&&G.Sn.forEach((e=>{var t,n,i,o;const l=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-stories-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-stories-a"]'),a=null!==(n=e.querySelector('.whatmore-template-type[data-wh="template-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-feed-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-b"]')||e.querySelector('.whatmore-template-type[data-wh="template-f"]')||e.querySelector('.whatmore-template-type[data-wh="template-stories"]')||e.querySelector('.whatmore-template-type[data-wh="template-e"]')||e.querySelector('.whatmore-template-type[data-wh="template-a-1"]')||e.querySelector('.whatmore-template-type[data-wh="template-g"]')||e.querySelector('.whatmore-template-type[data-wh="template-h"]'))&&void 0!==n?n:e.querySelector('.whatmore-template-type[data="template-a"]')||e.querySelector('.whatmore-template-type[data="template-b"]')||e.querySelector('.whatmore-template-type[data="template-f"]')||e.querySelector('.whatmore-template-type[data="template-stories"]')||e.querySelector('.whatmore-template-type[data="template-e"]')||e.querySelector('.whatmore-template-type[data="template-a-1"]')||e.querySelector('.whatmore-template-type[data="template-g"]')||e.querySelector('.whatmore-template-type[data="template-h"]'),r=null!==(i=e.querySelector('.whatmore-template-type[data-wh="template-collections-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-b"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-c"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-stories"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-d"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-e"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-f"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-g"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-h"]'))&&void 0!==i?i:e.querySelector('.whatmore-template-type[data="template-collections-a"]')||e.querySelector('.whatmore-template-type[data="template-collections-b"]')||e.querySelector('.whatmore-template-type[data="template-collections-c"]')||e.querySelector('.whatmore-template-type[data="template-collections-stories"]')||e.querySelector('.whatmore-template-type[data="template-collections-e"]')||e.querySelector('.whatmore-template-type[data="template-collections-d"]')||e.querySelector('.whatmore-template-type[data="template-collections-f"]')||e.querySelector('.whatmore-template-type[data="template-collections-g"]')||e.querySelector('.whatmore-template-type[data="template-collections-h"]'),s=null!==(o=e.querySelector('.whatmore-template-type[data-wh="template-banner-a"]'))&&void 0!==o?o:e.querySelector('.whatmore-template-type[data="template-banner-a"]'),c=e;if(w){const t=e.querySelector(".whatmore-shimmer-stories");t&&(t.style.display="none")}else if(!I){const t=e.querySelector(".loading-skeleton-wrapper");t&&(t.style.display="none")}(s||r||a||l)&&(a&&c||l&&c||s&&c||r&&c)&&(c.style.minHeight="0px")})),null==t||0==t.length||g?(0,S.jsx)("div",{}):(T&&(0,$.xv)(t),T&&console.debug("final transformed events data : "+JSON.stringify(t)),T&&console.debug("valid events size : "+t.length),(0,S.jsx)(k,{heading:e.heading,events:t,allEvents:v}))}},7802:function(e,t,n){n.d(t,{Hl:function(){return o},Np:function(){return a},Po:function(){return r},Z_:function(){return i},Zf:function(){return c},d8:function(){return s},zJ:function(){return l}});const i=function(e,t){return!((void 0==e.products||0==e.products.length)&&(void 0==e.cta||0==e.cta.length))},o=function(e,t){return!(void 0==e.products||0==e.products.length)},l=function(e){if(null!=e)return e.filter((e=>{var t;return null===(t=null===e||void 0===e?void 0:e.in_stock)||void 0===t||t}))},a=function(e){var t;var n;if(null!=e)return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?{events:e.events[0].events,all_events:null!==(n=null===e||void 0===e?void 0:e.all_events)&&void 0!==n?n:[]}:{events:null===e||void 0===e?void 0:e.events,all_events:null!==(t=null===e||void 0===e?void 0:e.all_events)&&void 0!==t?t:[]}};const r=function(e,t){var n,i;let o=[];if(null==e)return[];if("eventsets"in e&&e.eventsets[t]){const n=function(e){if(null==e||0==e.length)return[];let t=[];return e.forEach((e=>{t=t.concat(e.events)})),t}(e.eventsets[t]);o=[...n]}return{events:o,all_events:null!==(n=null===(i=o)||void 0===i?void 0:i.all_events)&&void 0!==n?n:[]}};function s(e){if(null!=e){var t=0;return e.forEach((e=>{e.index=t++})),e}}function c(e){if(null==e)return;let t=0;return e.reduce(((e,n)=>{var i;return(null===(i=null===n||void 0===n?void 0:n.in_stock)||void 0===i||i)&&(n.index=t++,e.push(n)),e}),[])}},8945:function(e,t,n){function i(e,t){let n=0;let i=new MutationObserver((function(){document.querySelector("."+e)?(t(),i.disconnect()):0==n&&(n=1,setTimeout((()=>{t(),i.disconnect()}),8e3))}));i.observe(document.body,{childList:!0,subtree:!0})}n.d(t,{H:function(){return i}})}}]);