whatmore-react-assets 1.0.1750 → 1.0.1752

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whatmore-react-assets",
3
- "version": "1.0.1750",
3
+ "version": "1.0.1752",
4
4
  "description": "public repo for all whatmore js and css assets",
5
5
  "main": "whatmore.js",
6
6
  "scripts": {
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[571],{16:function(e,t,n){n.d(t,{A:function(){return s}});var i=n(9950),r=(n(5410),n(5830)),o=n(4459),d=n(4414);var l=function(e){return(0,i.useEffect)(()=>{const e=(0,o.E2)((0,r.Xd)("whatmoreSecondaryColor"));!function(e,t,n,i){const r=`rgba(${e},${t},${n},${i})`,o=`\n @keyframes whatmore-loading-indicator-keyframe {\n 0%,\n 100% {\n box-shadow: 0em -2.6em 0em 0em ${r}, 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.5), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.7);\n }\n 12.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${n}, 0.7), 1.8em -1.8em 0 0em ${r}, 2.5em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.5);\n }\n 25% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${n}, 0.5), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.7), 2.5em 0em 0 0em ${r}, 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2);\n }\n 37.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${n}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.5), 2.5em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.7), 1.75em 1.75em 0 0em ${r}, 0em 2.5em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2);\n }\n 50% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${n}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.5), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${n}, 0.7), 0em 2.5em 0 0em ${r}, -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -2.6em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2);\n }\n 62.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${n}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${n}, 0.5), 0em 2.5em 0 0em rgba(${e}, ${t}, ${n}, 0.7), -1.8em 1.8em 0 0em ${r}, -2.6em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2);\n }\n 75% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${n}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${n}, 0.5), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.7), -2.6em 0em 0 0em ${r}, -1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2);\n }\n 87.5% {\n box-shadow: 0em -2.6em 0em 0em rgba(${e}, ${t}, ${n}, 0.2), 1.8em -1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 2.5em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 1.75em 1.75em 0 0em rgba(${e}, ${t}, ${n}, 0.2), 0em 2.5em 0 0em rgba(${e}, ${t}, ${n}, 0.2), -1.8em 1.8em 0 0em rgba(${e}, ${t}, ${n}, 0.5), -2.6em 0em 0 0em rgba(${e}, ${t}, ${n}, 0.7), -1.8em -1.8em 0 0em ${r};\n }\n }\n `,d=document.createElement("style");d.type="text/css",d.innerHTML=o,document.head.appendChild(d)}(e[0],e[1],e[2],.2)},[]),(0,d.jsx)(d.Fragment,{children:(0,d.jsx)("span",{className:"whatmore-loading-indicator"})})},a=n(8781);var s=function(e){var t,n;const i=null!==(t=e.height)&&void 0!==t?t:"100%",r=null!==(n=e.width)&&void 0!==n?n:"100%";return(0,d.jsxs)("div",{style:{width:r,height:i,overflow:"hidden",minHeight:i,minWidth:r},children:[(0,d.jsx)(a.A,{height:i,width:r}),(0,d.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"center",alignContent:"center",width:"100%",height:"100%",position:"relative",zIndex:1,bottom:"100%",className:"whatmore-ios-css-relative-fix"},children:(0,d.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",width:"100%",height:"fit-content"},children:(0,d.jsx)(l,{})})})]})}},1941:function(e,t,n){n.d(t,{A:function(){return c}});var i=n(5830),r=n(9950);function o(e){if(!e)return{};var t={};return Array.from(e.attributes).forEach(e=>{var n;t[e.name]=(n=e.value,isNaN(+n)?n:+n)}),t}function d(...e){try{var t;const n=document.getElementById("whatmorePreviewMode");if(!n)return null;const i=null===e||void 0===e?void 0:e[0];if(!i)return!0;let r={};return r=i.includes("function")?{}:o(n),null!==(t=r)&&void 0!==t&&t[i]?r[i]:null}catch(n){return null}}var l=function({disablePreview:e=!1}={}){var t,n,i=e?window.innerHeight:null!==(t=d("height-wh"))&&void 0!==t?t:window.innerHeight,o=e?window.innerWidth:null!==(n=d("width-wh"))&&void 0!==n?n:window.innerWidth,[l,a]=[i,o];const[s,m]=(0,r.useState)([l>a?"portrait":"landscape",l,a]);return(0,r.useLayoutEffect)(()=>{function t(){var t,n,i=e?window.innerHeight:null!==(t=d("height-wh"))&&void 0!==t?t:window.innerHeight,r=e?window.innerWidth:null!==(n=d("width-wh"))&&void 0!==n?n:window.innerWidth,[o,l]=[i,r];m(o>l?["portrait",o,l]:["landscape",o,l])}return window.addEventListener("resize",t),window.addEventListener("orientationchange",t),screen.orientation&&screen.orientation.addEventListener("change",t),t(),()=>{window.removeEventListener("resize",t),window.removeEventListener("orientationchange",t),screen.orientation&&screen.orientation.removeEventListener("change",t)}},[]),s},a=n(1348);const s=(0,i.Xd)("whatmoreShopId");function m(){if("90518552861"==s||"STRI4V3OYCH"==s||"56517427254"==s||"19506115"==s||"STR4YVJTT37"===s){var e,t,n;let i=document.querySelector('.whatmore-base:has(.whatmore-widget[data-wh="carousel"])');i||(i=document.querySelector('.whatmore-base:has(.whatmore-widget[data-wh="collection"])'));let r=i;for(;r&&r!==document&&(r=r.parentElement,!r||r.classList.contains("whatmore-base")););return[window.innerHeight,(null!==(e=null===(t=r)||void 0===t||null===(n=t.getBoundingClientRect())||void 0===n?void 0:n.width)&&void 0!==e?e:window.innerWidth)+(0,a.$du)(s)]}return"51273072796"==s?[document.documentElement.clientHeight,document.documentElement.clientWidth]:[window.innerHeight,window.innerWidth]}var u=function(){var[e,t]=m();const[n,i]=(0,r.useState)([e>t?"portrait":"landscape",e,t]);return(0,r.useLayoutEffect)(()=>{function e(){var[e,t]=m();i(e>t?["portrait",e,t]:["landscape",e,t])}return window.addEventListener("resize",e),window.addEventListener("orientationchange",e),screen.orientation&&screen.orientation.addEventListener("change",e),e(),()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e),screen.orientation&&screen.orientation.removeEventListener("change",e)}},[]),n};var c=function(e){var t;const n=(0,i.Xd)("isWhatmorePreviewMode"),r=u(),o=l({disablePreview:null!==(t=null===e||void 0===e?void 0:e.disablePreview)&&void 0!==t&&t});return n?o:r}},3788:function(e,t,n){n.d(t,{s:function(){return l}});var i=n(1348),r=n(5830);const o={"https://d3syezql093hs1.cloudfront.net":"https://whatmore-brand-video-assets.azureedge.net","https://d2r0bijhs9mx1s.cloudfront.net":"https://whatmore-brand-thumbnail-video-assets.azureedge.net","https://d2oouab8j9eigo.cloudfront.net":"https://whatmore-brand-story-assets.azureedge.net","https://d28nus7q7qajdn.cloudfront.net":"https://whatmore-video-assets.azureedge.net","https://d1zl4k1t5o4s75.cloudfront.net":"https://whatmore-brand-video-assets-720p.azureedge.net"},d={"https://d3syezql093hs1.cloudfront.net":"https://whatmore-brand-video-assets.b-cdn.net","https://d2r0bijhs9mx1s.cloudfront.net":"https://whatmore-brand-thumbnail-video-assets.b-cdn.net","https://d2oouab8j9eigo.cloudfront.net":"https://whatmore-brand-story-assets.b-cdn.net","https://d28nus7q7qajdn.cloudfront.net":"https://whatmore-video-assets-old.b-cdn.net","https://d1zl4k1t5o4s75.cloudfront.net":"https://whatmore-brand-video-assets-720p.b-cdn.net"},l=function(e){const t=(0,r.Xd)("whatmoreShopId");if(!e)return e;if(e.startsWith("https://cdn.shopify.com"))return e;if("AWSCDN"==(0,i.CfJ)(t))return e;if("AZURECDN"==(0,i.CfJ)(t)){if(e.includes(".azureedge.net"))return e;if(e.includes(".cloudfront.net")){for(const t of Object.keys(o))if(e.includes(t))return e.replace(t,o[t]);return e}}if("BUNNYCDN"==(0,i.CfJ)(t)){if(e.includes(".b-cdn.net"))return e;if(e.includes(".cloudfront.net")){for(const t of Object.keys(d))if(e.includes(t))return e.replace(t,d[t]);return e}}return e}},4033:function(e,t,n){n.d(t,{n:function(){return i}});const i=()=>{if("undefined"!==typeof window){const e=navigator.userAgent.toLowerCase();return e.includes("safari")&&!e.includes("chrome")&&navigator.vendor.includes("Apple")}return!1}},4365:function(){},5410:function(){},6493:function(e,t,n){n.d(t,{Cr:function(){return l},cb:function(){return d},lP:function(){return o},yD:function(){return a}});var i=n(1348);const r=(0,n(5830).Xd)("whatmoreShopId"),o=function(e){var t,n;return"event_media_urls"in e?"image"===e.event_type?e.event_media_urls.primary.portrait.content_image_original:"secondary"in e.event_media_urls&&e.event_media_urls.secondary.portrait.content_video_1080p?e.event_media_urls.secondary.portrait.content_video_1080p:null!==(t=e.event_media_urls.primary.portrait.content_video_1080p)&&void 0!==t?t:null===(n=e.event_media_urls.primary.landscape)||void 0===n?void 0:n.content_video_1080p:e.event_hls_url},d=function(e){var t;return"event_media_urls"in e?"image"===e.event_type?e.event_media_urls.primary.landscape.content_image_original:"secondary"in e.event_media_urls&&e.event_media_urls.secondary.landscape.content_video_1080p?e.event_media_urls.secondary.landscape.content_video_1080p:null!==(t=e.event_media_urls.primary.landscape.content_video_1080p)&&void 0!==t?t:e.event_media_urls.primary.portrait.content_video_1080p:e.event_hls_url},l=function(e){if(e.startsWith("https://cdn.shopify.com")&&e.includes("whatmore_")){const t=(0,i.ath)(r);if(!t)return e;return`https://whatmore-brand-video-assets-720p.b-cdn.net/${t}/${e.split("whatmore_")[1].split("?")[0]}`}return e},a=function(e){if(e.startsWith("https://cdn.shopify.com")&&e.includes("whatmore_")){const t=(0,i.ath)(r);if(!t)return e;return`https://whatmore-brand-thumbnail-video-assets.b-cdn.net/${t}/${e.split("whatmore_")[1].split("?")[0]}`}return e}},8781:function(e,t,n){var i=n(4414);t.A=function(e){var t,n,r;const o=null!==(t=e.height)&&void 0!==t?t:"100%",d=null!==(n=e.width)&&void 0!==n?n:"100%",l=null!==(r=e.borderRadius)&&void 0!==r?r:"10px";return(0,i.jsx)("div",{style:{height:o,width:o,borderRadius:l,overflow:"hidden",minHeight:o,minWidth:d,maxHeight:o,maxWidth:d},children:(0,i.jsx)("div",{style:{minHeight:o,minWidth:d},height:"100%",width:"100%",className:"whatmore-shimmer"})})}},9098:function(e,t,n){var i=n(9950),r=n(16),o=n(4414);t.A=function(e){var t,n,d;const[l,a]=(0,i.useState)(!1),s=i.useRef(0),m=(0,i.useRef)(null),u=null!==(t=e.timeUpdateCallback)&&void 0!==t?t:()=>{},c=null!==(n=e.height)&&void 0!==n?n:"100%",v=null!==(d=e.width)&&void 0!==d?d:"100%";return(0,i.useEffect)(()=>{s.current=0;const e=setInterval(()=>{s.current=s.current+.03,m.current&&u(s.current,5),s.current>=5&&(s.current=0)},30);return()=>{clearInterval(e)}},[e.isPlaying]),(0,o.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:v,height:"100%",overflow:"hidden"},children:[(0,o.jsx)("div",{style:{width:l?"100%":"0px",height:l?"100%":"0px"},children:(0,o.jsx)("img",{ref:m,src:e.url,style:{objectFit:"cover",height:"100%",width:v,backgroundColor:"white"},alt:"image player",onLoad:()=>{a(!0)}})}),l?(0,o.jsx)(o.Fragment,{}):(0,o.jsx)(r.A,{width:v,height:c})]})}},9879:function(e,t,n){n.d(t,{A:function(){return h}});var i=n(9950),r=n(6649),o=n(3788),d=n(6613),l=n(2039),a=n(9098),s=n(4033),m=n(5830),u=n(6493),c=n(4414);var v=function(e){var t,n,o,l,a,v,h,p,$,g,w,f,b,y,_,x,j,E,C,k,P,S,L,A,I,W,R;const z=(0,i.useRef)(null),[T,H,N]=(0,r.A)({triggerOnce:!0}),F=(0,m.Xd)("whatmoreShopId"),U=null!==(t=e.height)&&void 0!==t?t:"100%",D=null!==(n=e.width)&&void 0!==n?n:"100%";return(0,i.useEffect)(()=>{z.current&&(e.isPlaying?z.current.play():(((0,s.n)()||(0,d.At)())&&z.current.play(),"57939755089"==F?setTimeout(()=>{z.current.pause()},300):z.current.pause()))},[e.isPlaying,H]),(0,c.jsx)("div",{ref:T,style:{width:U,height:D,overflow:"hidden",display:"flex",alignItems:"center"},children:H||"51394281658"==F||"8968077397"==F?(0,c.jsxs)("div",{itemScope:!0,itemtype:"https://schema.org/VideoObject",style:{width:D,height:U},children:[(0,c.jsx)("meta",{itemprop:"name",content:null!==(o=null!==(l=null===e||void 0===e||null===(a=e.event)||void 0===a||null===(v=a.products)||void 0===v||null===(h=v[0])||void 0===h?void 0:h.title)&&void 0!==l?l:null===e||void 0===e||null===(p=e.event)||void 0===p?void 0:p.event_id)&&void 0!==o?o:"0"}),(0,c.jsx)("meta",{itemprop:"description",content:null!==($=null===e||void 0===e||null===(g=e.event)||void 0===g||null===(w=g.products)||void 0===w||null===(f=w[0])||void 0===f?void 0:f.title)&&void 0!==$?$:"whatmore-event"}),(0,c.jsx)("meta",{itemprop:"thumbnailUrl",content:null!==(b=null===e||void 0===e||null===(y=e.event)||void 0===y?void 0:y.poster_image)&&void 0!==b?b:""}),(0,c.jsx)("meta",{itemprop:"contentUrl",content:null!==(_=null===e||void 0===e||null===(x=e.event)||void 0===x?void 0:x.thumbnail_image)&&void 0!==_?_:""}),(0,c.jsx)("meta",{itemprop:"uploadDate",content:null!==(j=`${null===e||void 0===e||null===(E=e.event)||void 0===E?void 0:E.scheduled_date}T00:00:00Z`)&&void 0!==j?j:""}),(0,c.jsx)("meta",{itemprop:"duration",content:"PT3S"}),(0,c.jsx)("meta",{itemprop:"embedUrl",content:null!==(C=null===e||void 0===e||null===(k=e.event)||void 0===k||null===(P=k.products)||void 0===P||null===(S=P[0])||void 0===S?void 0:S.product_link)&&void 0!==C?C:""}),(0,c.jsx)("meta",{itemprop:"interactionCount",content:null!==(L=null===e||void 0===e||null===(A=e.event)||void 0===A?void 0:A.total_views)&&void 0!==L?L:0}),(0,c.jsxs)("video",{ref:z,className:"whatmore-video-player-muted",width:D,height:U,preload:"metadata",loop:!0,playsInline:!0,poster:e.isPlaying&&1!=(null===(I=e.event)||void 0===I?void 0:I.index)&&"STRTFEDEDAP"!==F&&"STRY2V4XO5L"!==F?e.url:null!==(W=e.poster)&&void 0!==W?W:e.url,muted:null===(R=e.isVideoMuted)||void 0===R||R,style:{backgroundColor:"white",borderRadius:e.borderRadius,objectFit:"cover"},children:[(0,c.jsx)("track",{src:"data:,",kind:"captions",srclang:"en",label:"english_captions"}),(0,c.jsx)("source",{src:e.url,type:"video/mp4"}),(0,c.jsx)("source",{src:(0,u.yD)(e.url),type:"video/mp4"})]})]}):(0,c.jsx)("div",{width:D,height:U,ref:e=>{e&&e.style.setProperty("display","block","important")}})})};var h=function(e){var t,n,s,h,p,$,g,w,f,b,y,_,x,j,E,C,k,P,S,L,A,I,W,R,z,T,H,N,F,U,D;const[M,V,q]=(0,r.A)({triggerOnce:!0}),O=(0,m.Xd)("whatmoreShopId"),X=(0,i.useRef)(null);if((0,i.useEffect)(()=>{X.current&&(e.isPlaying?X.current.play():X.current.pause())},[e.isPlaying,V]),(0,l.Il)(e.event))return(0,c.jsx)(a.A,{height:e.height,width:e.width,url:e.url,isPlaying:e.isPlaying,timeUpdateCallback:e.timeUpdateCallback});const J=null!==(t=e.pauseFromPlayTimeInMs)&&void 0!==t?t:200,Y=null!==e&&void 0!==e&&null!==(n=e.event)&&void 0!==n&&null!==(s=n.poster_image)&&void 0!==s&&s.startsWith("https://cdn.shopify.com")?(null===e||void 0===e||null===(h=e.event)||void 0===h||null===(p=h.poster_image)||void 0===p?void 0:p.split("?")[0])+"?width=400&height=400":null===e||void 0===e||null===($=e.event)||void 0===$?void 0:$.poster_image;if((0,d.MN)())return(0,c.jsx)(v,{isVideoMuted:e.isVideoMuted,event:null===e||void 0===e?void 0:e.event,borderRadius:e.borderRadius,height:"100%",width:"100%",poster:Y,url:(0,o.s)(e.url),isPlaying:e.isPlaying,pauseFromPlayTimeInMs:J});const B=null!==(g=e.height)&&void 0!==g?g:"100%",Z=null!==(w=e.width)&&void 0!==w?w:"100%";return(0,c.jsx)("div",{ref:M,style:{width:B,height:Z,overflow:"hidden",display:"flex",alignItems:"center"},children:V||"51394281658"==O||"8968077397"==O?(0,c.jsxs)("div",{itemScope:!0,itemtype:"https://schema.org/VideoObject",style:{width:B,height:Z},children:[(0,c.jsx)("meta",{itemprop:"name",content:null!==(f=null!==(b=null===e||void 0===e||null===(y=e.event)||void 0===y||null===(_=y.products)||void 0===_||null===(x=_[0])||void 0===x?void 0:x.title)&&void 0!==b?b:null===e||void 0===e||null===(j=e.event)||void 0===j?void 0:j.event_id)&&void 0!==f?f:"0"}),(0,c.jsx)("meta",{itemprop:"description",content:null!==(E=null===e||void 0===e||null===(C=e.event)||void 0===C||null===(k=C.products)||void 0===k||null===(P=k[0])||void 0===P?void 0:P.title)&&void 0!==E?E:"whatmore-event"}),(0,c.jsx)("meta",{itemprop:"thumbnailUrl",content:null!==(S=null===e||void 0===e||null===(L=e.event)||void 0===L?void 0:L.poster_image)&&void 0!==S?S:""}),(0,c.jsx)("meta",{itemprop:"contentUrl",content:null!==(A=null===e||void 0===e||null===(I=e.event)||void 0===I?void 0:I.thumbnail_image)&&void 0!==A?A:""}),(0,c.jsx)("meta",{itemprop:"uploadDate",content:null!==(W=`${null===e||void 0===e||null===(R=e.event)||void 0===R?void 0:R.scheduled_date}T00:00:00Z`)&&void 0!==W?W:""}),(0,c.jsx)("meta",{itemprop:"duration",content:"PT3S"}),(0,c.jsx)("meta",{itemprop:"embedUrl",content:null!==(z=null===e||void 0===e||null===(T=e.event)||void 0===T||null===(H=T.products)||void 0===H||null===(N=H[0])||void 0===N?void 0:N.product_link)&&void 0!==z?z:""}),(0,c.jsx)("meta",{itemprop:"interactionCount",content:null!==(F=null===e||void 0===e||null===(U=e.event)||void 0===U?void 0:U.total_views)&&void 0!==F?F:0}),(0,c.jsxs)("video",{ref:X,className:"whatmore-video-player-muted",width:Z,height:B,preload:"metadata",loop:!0,playsInline:!0,muted:null===(D=e.isVideoMuted)||void 0===D||D,poster:"57939755089"==O?"":Y,style:{backgroundColor:"white",objectFit:"cover"},children:[(0,c.jsx)("track",{src:"data:,",kind:"captions",srclang:"en",label:"english_captions"}),(0,c.jsx)("source",{src:(0,o.s)(e.url),type:"video/mp4"}),(0,c.jsx)("source",{src:(0,u.yD)(e.url),type:"video/mp4"})]})]}):(0,c.jsx)("div",{width:Z,height:B,ref:e=>{e&&e.style.setProperty("display","block","important")}})})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[676],{22:function(t,e,n){n.d(e,{$S:function(){return s},_:function(){return i},b4:function(){return r},dl:function(){return o},nN:function(){return d},tn:function(){return a},vF:function(){return l}});const i="device_type",o="device_mode",r="mobile",l="tablet",s="desktop",a="portrait",d="landscape"},932:function(t,e,n){var i=n(5830),o=n(1941),r=n(22),l=n(1348);e.A=function(t){const[e,n,s]=(0,o.A)(),[a]=(0,i.QN)("whatmoreLandscapePadding"),[d]=(0,i.QN)("whatmoreShopId"),[c]=(0,i.QN)("whatmoreVideoTileSize"),[u]=(0,i.QN)("whatmoreVideoTileSizePortrait"),p=s>n,h="portrait"==e?u:c,f=!("portrait"!=e||!(s>=481)),v=h/100*1.3*.5,m=h/100;var x=Math.min(s,n),[y,w,g,b]=[.6*x*(16/9),.6*x,1.4,0];function C(t){return Math.round(10*t)/10}var j={DEVICE_TYPE:r.b4,DEVICE_MODE:r.tn};if(p){const t=w*v,e=y*v;[y,w,g,b]=[e,t,(s-2*a-2*(0,l.$du)(d))/(1.1*t),a],j[r._]=r.$S,j[r.dl]=r.nN}else if(f){var S=.8*w,P=.8*y;"portrait"==e?(S*=m,P*=m,[y,w,g,b]=[P,S,C(s/(1.2*S)),0],j[r._]=r.vF,j[r.dl]=r.tn):([y,w,g,b]=[P,S,(s-2*a)/(1.1*S),a],j[r._]=r.vF,j[r.dl]=r.nN)}else{S=w,P=y;"portrait"==e?(S=S*m*.9,P=P*m*.9,[y,w,g,b]=[P,S,C(s/(1.15*S)),0],j[r._]=r.b4,j[r.dl]=r.tn):(S=.7*w,P=.7*y,[y,w,g,b]=[P,S,(s-2*a)/(1.1*S),a],j[r._]=r.b4,j[r.dl]=r.nN)}return[y,w,g,b,j]}},1131:function(t,e,n){var i=n(4994);e.A=void 0;var o=i(n(9526)),r=n(4414);e.A=(0,o.default)([(0,r.jsx)("path",{d:"M18 20H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2z",opacity:".3"},"0"),(0,r.jsx)("path",{d:"M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2m6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2z"},"1")],"ShoppingBagTwoTone")},3369:function(t,e,n){n.r(e),n.d(e,{default:function(){return O}});var i=n(9950),o=n(340),r=n(5089),l=n(5873),s=(n(3997),n(9130),n(4669),n(9733),n(4365),n(7229),n(6042),n(572)),a=n(8603),d=n(9946),c=n(9094),u=n(932),p=n(1941),h=n(5491),f=n.n(h),v=n(5830),m=n(7509),x=n(7136),y=n(1348),w=n(5551),g=n(1351),b=n(6157),C=n(6641),j=(n(4826),n(9879)),S=n(4616),P=n(6649),I=n(6613),k=n(1131),_=n(8141),A=n(4414);function E(t){const[e]=(0,v.QN)("whatmoreShopId"),[n,i,o,r,l]=(0,u.A)(),[s,a,d]=(0,P.A)({triggerOnce:!0}),c=t.event,p=(0,I.At)()?t.isOnFocus:a;return(0,A.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"200%",overflow:"hidden",width:"100%",height:"100%",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,A.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"center",height:"100%",width:"100%"},children:["56411783377"===e&&(0,A.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginTop:"10px"},children:(0,A.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center",filter:"drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.2))"},children:(0,A.jsx)(_.A,{width:.15*i,height:.15*i})})}),(0,A.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,A.jsx)("p",{children:" "})}),(0,A.jsx)("div",{ref:s,children:p&&(0,y.imx)(e)?(0,A.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,A.jsx)(S.A,{event:c})}):(0,A.jsx)("div",{height:"20px"})})]})})}var F=function(t){var e,n,o,r,l,s,a,d;const[c,p,h,f,x]=(0,u.A)();var w=(0,i.useContext)(m.h);const g=(0,v.Xd)("whatmoreUITheme"),b=(0,v.Xd)("whatmoreShopId"),C=(0,v.Xd)("whatmorePrimaryFont"),S=(0,v.Xd)("whatmoreSecondaryColor"),P=t.event,I=t.onClick,_=null===(e=t.isOnFocus)||void 0===e||e,F=null!==(n=t.playOnUnfocus)&&void 0!==n&&n,N=null!==(o=t.animateOnFocus&&(0,y.n5O)(b))&&void 0!==o&&o,L=(0,y.VYo)(b);return(0,A.jsxs)("div",{ref:t=>{t&&(t.style.setProperty("margin-top",w.tileTopMargin+"px"),t.style.setProperty("margin-bottom",w.tileBottomMMargin+"px"))},style:{margin:"0 10px",width:"8968077397"==b||"19501891"==b?void 0:p,aspectRatio:"8968077397"==b||"19501891"==b?9/16:void 0,height:"8968077397"==b||"19501891"==b?"100%":c,borderRadius:"round"==g?"5px":"0px",boxShadow:"round"==g||"61187850326"==b||"19501891"==b?L:null,borderWidth:(0,y.YcK)(b),borderColor:(0,y.Fwt)(b),overflow:"hidden",cursor:"pointer",position:"relative"},className:N?_?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{var t,e,n;if("12326200"==b&&"image"==P.event_type&&(null===(t=P.products)||void 0===t?void 0:t.length)>0&&"oos"!=(null===(e=P.products)||void 0===e||null===(n=e[0])||void 0===n?void 0:n.product_status)){var i,o;window.location.href=null===(i=P.products)||void 0===i||null===(o=i[0])||void 0===o?void 0:o.product_link}else{if("12326200"==b&&"image"==P.event_type)return;var r,l,s,a,d,c,u,p,h,f,v,m,x,y,w,g;if("10588815418"==b){if(null!==(r=P.cta)&&void 0!==r&&null!==(l=r[0])&&void 0!==l&&null!==(s=l.cta_link)&&void 0!==s&&s.includes("whatmore")&&""!=(null===(a=P.cta)||void 0===a||null===(d=a[1])||void 0===d?void 0:d.cta_link)&&""==(null===(c=P.cta)||void 0===c||null===(u=c[1])||void 0===u?void 0:u.cta_title))window.location.href=null===(w=P.cta)||void 0===w||null===(g=w[1])||void 0===g?void 0:g.cta_link;else if(null!==(p=P.cta)&&void 0!==p&&null!==(h=p[1])&&void 0!==h&&null!==(f=h.cta_link)&&void 0!==f&&f.includes("whatmore")&&""!=(null===(v=P.cta)||void 0===v||null===(m=v[0])||void 0===m?void 0:m.cta_link)&&""==(null===(x=P.cta)||void 0===x||null===(y=x[0])||void 0===y?void 0:y.cta_title)){var C,j;window.location.href=null===(C=P.cta)||void 0===C||null===(j=C[0])||void 0===j?void 0:j.cta_link}}else I(P)}},children:[(0,A.jsx)(j.A,{height:(0,y.u06)(b)+" !important",width:"100%",url:P.thumbnail_image,isPlaying:_||F,event:P}),""!==(null===P||void 0===P?void 0:P.title)?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{className:"wht-overlay-text",style:{position:"absolute",bottom:"4%",left:"50%",transform:"translateX(-50%)",color:"white",padding:"0.5rem 0rem 0rem 0.5rem",zIndex:1,width:"90%",maxWidth:"100%",wordWrap:"break-word",textShadow:"2px 2px 4px rgba(0, 0, 0, 0.5)",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:3,overflow:"hidden",textOverflow:"ellipsis"},children:(0,A.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"1px",alignItems:"center"},children:[(0,A.jsx)("p",{style:{fontFamily:C,fontSize:.1*p+"px",fontWeight:"600"},children:"12326200"==b?null===P||void 0===P||null===(r=P.title)||void 0===r?void 0:r.slice(7):null===P||void 0===P?void 0:P.title}),"12326200"==b&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("p",{style:{fontFamily:'"brandon-grotesque"',fontSize:.08*p+"px",fontWeight:"normal"},children:null===P||void 0===P||null===(l=P.title)||void 0===l?void 0:l.slice(0,7)}),(null===(s=P.products)||void 0===s?void 0:s.length)>0&&"oos"!=(null===(a=P.products)||void 0===a||null===(d=a[0])||void 0===d?void 0:d.product_status)&&(0,A.jsx)("button",{style:{display:"flex",alignItems:"center",borderRadius:"200px",marginTop:"4px",backgroundColor:S,padding:"8px 28px"},children:(0,A.jsx)("p",{style:{fontFamily:'"brandon-grotesque"',fontSize:.05*p+"px",fontWeight:"normal"},children:"SHOP NOW"})})]})]})}),(0,A.jsx)("div",{className:"wht-shopping-icon",style:{position:"absolute",top:"10px",right:"10px",zIndex:2},children:(0,A.jsx)(k.A,{sx:{color:"white",fontSize:"1.3rem",filter:"drop-shadow(0 0 5px black)"}})})]}):(0,y.Q$)(b)&&(0,A.jsxs)("div",{style:{width:p,height:c},children:[(0,A.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden",width:"100%",height:"100%",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix"}),(0,A.jsx)(E,{event:P,unfocusedDisplay:!_,isOnFocus:_})]})]})};const N=(0,a.A)({key:"whatmore-css-hv"});function L(t){const[e,n,o]=(0,u.A)(),[r,l,s]=(0,p.A)(),a=(0,v.Xd)("whatmoreShopId"),h=t.events,f=t.onClick,m=o*(0,y.kcl)(a),C=(0,y.cbh)(a),[j,S]=(0,i.useState)(C?h.length:m),{whatmoreWidgetSourceDetails:P}=(0,i.useContext)(w.B);(0,i.useEffect)(()=>{j<=m&&S(t=>t+m)},[m]);const I="6573064236"===a?.9*s:s,k="6573064236"===a?1.5:2;return(0,A.jsx)("div",{className:"whatmore-events-carousel-portrait",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,A.jsx)("div",{style:{width:I,height:"fit-content"},children:(0,A.jsx)(d.RC,{slidesPerView:k,initialSlide:0,centeredSlides:!1,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:1,onSlideChange:t=>{(0,g.UM)({userInteractionType:b.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:P}),t.realIndex>t.previousIndex&&S(t=>t+m)},loop:C,modules:(0,y.JSQ)(a)?[c.Vx]:[],navigation:(0,y.JSQ)(a),children:h.map((t,e)=>e<=j&&(0,A.jsx)(d.qr,{children:({isActive:e,isPrev:n,isNext:i,isVisible:o})=>n||i||e?(0,A.jsx)(F,{isOnFocus:o,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{f(t)}}):(0,A.jsx)(x.A,{})},"whatmore-event-tile-portrait-"+t.index))})})})}function M(t){const[e,n,o,r]=(0,u.A)(),[l,s]=(0,i.useState)(-1),a=(0,v.Xd)("whatmoreShopId"),[p]=(0,v.QN)("whatmoreLandingLocationType"),h=t.onClick,m=t.events,C=(0,y.cbh)(a),[j,S]=(0,i.useState)(C?m.length:o),P=Math.min(o,m.length),{whatmoreWidgetSourceDetails:I}=(0,i.useContext)(w.B),k=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(k.current){const t=n*P*(0,y.fHt)(a)+"px";m.length<4?k.current.style.setProperty("width",t,"important"):k.current.style.width=t}},[n,P,a,j,m.length]),(0,i.useEffect)(()=>{j<=o&&S(t=>t+o)},[o]),(0,A.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",paddingLeft:r+"px",paddingRight:r+"px"},className:"whatmore-events-carousel-landscape",children:(0,A.jsx)("div",{ref:k,style:{height:"100%"},children:(0,A.jsx)(d.RC,{slidesPerView:"product"===p&&"87174349065"===a?2:P,watchSlidesProgress:!0,modules:[c.Vx],navigation:!0,slidesPerGroup:parseInt(P),onSlideChange:t=>{(0,g.UM)({userInteractionType:b.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:I}),t.realIndex>t.previousIndex&&S(t=>t+o)},spaceBetween:0,loop:C&&m.length>4,style:{height:"100%"},children:m.map((t,e)=>{const n=f()(()=>s(e),300);return e<=j&&(0,A.jsx)(d.qr,{onMouseEnter:()=>{n()},onMouseLeave:()=>{n.cancel(),s(-1)},style:{height:"100%"},children:({isActive:n,isPrev:i,isNext:o,isVisible:r})=>r||i||o?(0,A.jsx)(F,{isOnFocus:e==l,playOnUnfocus:!(0,y.aO7)(a)||e==parseInt(P/2)&&-1==l,animateOnFocus:!0,event:t,onClick:()=>{h(t)}}):(0,A.jsx)(x.A,{})},"whatmore-event-tile-landscape-"+t.index)})})})})}var O=function(t){const[e,n,a]=(0,p.A)(),[d]=(0,v.QN)("whatmoreShopId"),[c]=(0,v.QN)("whatmorePrimaryColor"),[u]=(0,v.QN)("whatmoreTitleFont"),h="portrait"==e?(0,v.Xd)("whatmoreTitleFontSizePortrait"):(0,v.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:f}=(0,i.useContext)(w.B),{whatmoreCollectionHeading:x}=(0,i.useContext)(w.B),{whatmoreIsCollectionsTemplate:g}=(0,i.useContext)(w.B),b=t.events,j=t.onClick,S=u;function P(t){j(t)}return(0,i.useEffect)(()=>{(0,C.Fk)("Video shopping powered by Whatmore!")},[]),(0,i.useEffect)(()=>{l.Sn.forEach(t=>{var e;const n=null!==(e=t.querySelector('.whatmore-template-type[data-wh="template-g"]'))&&void 0!==e?e:t.querySelector('.whatmore-template-type[data="template-g"]');if(!n)return;n&&t&&(t.style.minHeight="0px")})},[]),delete r.Ay.styles.global,(0,A.jsx)(s.C,{value:N,children:(0,A.jsx)("div",{className:"whatmore-carousel-events",style:{height:"100%"},children:(0,A.jsx)(o.s,{theme:r.Ay,cssVarsRoot:f,resetCSS:!1,children:(0,A.jsxs)(m.h.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!0},children:[t.heading.trim().length>0||g?(0,A.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,A.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family",S),t.style.setProperty("font-size",h+"px","important"))},style:{color:c,backgroundClip:"text",textAlign:"center",fontWeight:(0,y.Odx)(d),lineHeight:(0,y.L0y)(d),letterSpacing:(0,y.l3V)(d)},children:g?"W"!==x?x:"":t.heading})}):(0,A.jsx)(A.Fragment,{}),"landscape"===e?(0,A.jsx)(M,{events:b,onClick:P}):(0,A.jsx)(L,{events:b,onClick:P})]})})})})}},3997:function(){},4616:function(t,e,n){var i=n(9950),o=n(5830),r=n(932),l=n(8538),s=(n(4826),n(1348)),a=n(7973),d=n(4414);e.A=function(t){var e,n,c,u,[p,h]=(0,r.A)();const f=(0,o.Xd)("whatmoreUITheme"),[v]=(0,o.QN)("whatmorePrimaryFont"),[m,x]=(0,i.useState)(0),y=(0,o.Xd)("whatmoreShopId"),w=t.event;if(0==w.products.length)return(0,d.jsx)(d.Fragment,{});const g=.3*h,b=g+"px",C=g+"px",j=.07*h,S=j+"px";return(0,d.jsx)("div",{style:{width:h+"px",height:"fit-content",backgroundImage:"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0.3)"},children:(0,d.jsxs)("div",{ref:t=>{t&&t.style.setProperty("height","fit-content","important")},style:{display:"flex",flexFlow:"row nowrap",width:"100%",justifyContent:"space-between",alignItems:"center",paddingLeft:"5px",paddingRight:"5px",paddingTop:"5px",paddingBottom:"5px",gap:"5px"},className:"whatmore-event-tile-product-scale-in-and-out-animation",children:[(0,d.jsx)("div",{ref:t=>{t&&t.style.setProperty("height",C,"important")},style:{width:(0,s.H$k)(y)?b:"auto",boxShadow:"round"==f?"0px 0px 5px 2px #B0B0B0":null,borderRadius:"round"==f?"5px":"0px",borderWidth:(0,s.YcK)(y),borderColor:(0,s.Fwt)(y),overflow:"hidden",backgroundColor:"rgb(220, 220, 220, 1)"},children:(0,d.jsx)("img",{ref:t=>{t&&(t.style.setProperty("object-fit",(0,s.KZe)(y),"important"),t.style.setProperty("max-width",b,"important"))},src:(0,a.b)(w.products[m].thumbnail_image,"&width=400&height=400"),style:{width:"100%",height:"100%",borderRadius:"round"==f?"5px":"0px"},alt:"product image"})}),(0,d.jsxs)("div",{style:{width:h-5-g+"px",height:"100%",borderRadius:"round"==f?"5px":"0px",overflow:"visible"},children:[(0,d.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"fit-content",justifyContent:"center",alignItems:"center",paddingBottom:"4px"},children:(0,d.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","white","important"),t.style.setProperty("font-size",S),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",v,"important"),t.style.setProperty("-webkit-line-clamp",3,"important"),t.style.setProperty("line-clamp",3,"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:"normal"},children:(0,l.v)(w.products[m].title)})}),(0,s.gZ6)(y)&&(null===(e=w.products[m])||void 0===e||null===(n=e.product_metadata)||void 0===n?void 0:n.product_type)&&(0,d.jsx)("div",{style:{display:"flex",opacity:.8,width:"fit-content",maxWidth:h-5-g+"px",padding:"3px 6px",backgroundColor:"#D3D3D3",borderRadius:"round"==f?"3px":"0"},children:(0,d.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","#000","important"),t.style.setProperty("maxWidth",h-5-g+"px","important"),t.style.setProperty("font-size",.7*j+"px","important"),t.style.setProperty("font-family",v,"important"),t.style.setProperty("font-weight","bold","important"),t.style.setProperty("text-overflow","ellipsis","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("-webkit-line-clamp",1,"important"),t.style.setProperty("line-clamp",1,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"))},children:null===(c=w.products[m])||void 0===c||null===(u=c.product_metadata)||void 0===u?void 0:u.product_type})})]})]},m)})}},4669:function(){},4826:function(){},6042:function(){},6474:function(t,e,n){n.r(e),n.d(e,{capitalize:function(){return o.A},createChainedFunction:function(){return r},createSvgIcon:function(){return l.A},debounce:function(){return s},deprecatedPropType:function(){return a},isMuiElement:function(){return u},ownerDocument:function(){return h},ownerWindow:function(){return f},requirePropFactory:function(){return v},setRef:function(){return x},unstable_ClassNameGenerator:function(){return V},unstable_useEnhancedEffect:function(){return w},unstable_useId:function(){return C},unsupportedProp:function(){return j},useControlled:function(){return S},useEventCallback:function(){return P},useForkRef:function(){return I},useIsFocusVisible:function(){return T}});var i=n(4501),o=n(1676);var r=function(...t){return t.reduce((t,e)=>null==e?t:function(...n){t.apply(this,n),e.apply(this,n)},()=>{})},l=n(3059);var s=function(t,e=166){let n;function i(...i){clearTimeout(n),n=setTimeout(()=>{t.apply(this,i)},e)}return i.clear=()=>{clearTimeout(n)},i};var a=function(t,e){return()=>null},d=n(9950),c=n.t(d,2);var u=function(t,e){var n,i;return d.isValidElement(t)&&-1!==e.indexOf(null!=(n=t.type.muiName)?n:null==(i=t.type)||null==(i=i._payload)||null==(i=i.value)?void 0:i.muiName)};function p(t){return t&&t.ownerDocument||document}var h=p;var f=function(t){return p(t).defaultView||window};var v=function(t,e){return()=>null};function m(t,e){"function"===typeof t?t(e):t&&(t.current=e)}var x=m;var y="undefined"!==typeof window?d.useLayoutEffect:d.useEffect,w=y;let g=0;const b=c["useId".toString()];var C=function(t){if(void 0!==b){const e=b();return null!=t?t:e}return function(t){const[e,n]=d.useState(t),i=t||e;return d.useEffect(()=>{null==e&&(g+=1,n(`mui-${g}`))},[e]),i}(t)};var j=function(t,e,n,i,o){return null};var S=function({controlled:t,default:e,name:n,state:i="value"}){const{current:o}=d.useRef(void 0!==t),[r,l]=d.useState(e);return[o?t:r,d.useCallback(t=>{o||l(t)},[])]};var P=function(t){const e=d.useRef(t);return y(()=>{e.current=t}),d.useRef((...t)=>(0,e.current)(...t)).current};var I=function(...t){return d.useMemo(()=>t.every(t=>null==t)?null:e=>{t.forEach(t=>{m(t,e)})},t)};class k{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new k}start(t,e){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,e()},t)}}let _=!0,A=!1;const E=new k,F={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 N(t){t.metaKey||t.altKey||t.ctrlKey||(_=!0)}function L(){_=!1}function M(){"hidden"===this.visibilityState&&A&&(_=!0)}function O(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch(n){}return _||function(t){const{type:e,tagName:n}=t;return!("INPUT"!==n||!F[e]||t.readOnly)||"TEXTAREA"===n&&!t.readOnly||!!t.isContentEditable}(e)}var T=function(){const t=d.useCallback(t=>{var e;null!=t&&((e=t.ownerDocument).addEventListener("keydown",N,!0),e.addEventListener("mousedown",L,!0),e.addEventListener("pointerdown",L,!0),e.addEventListener("touchstart",L,!0),e.addEventListener("visibilitychange",M,!0))},[]),e=d.useRef(!1);return{isFocusVisibleRef:e,onFocus:function(t){return!!O(t)&&(e.current=!0,!0)},onBlur:function(){return!!e.current&&(A=!0,E.start(100,()=>{A=!1}),e.current=!1,!0)},ref:t}};const V={configure:t=>{i.A.configure(t)}}},7136:function(t,e,n){var i=n(9950),o=n(932),r=n(7509),l=n(5830),s=n(4414);e.A=function(t){var[e,n]=(0,o.A)();(0,i.useContext)(r.h);const a=(0,l.Xd)("whatmoreShopId");return t.event,(0,s.jsx)("div",{style:{margin:"0 auto",width:"8968077397"==a?void 0:n,aspectRatio:"8968077397"==a?9/16:void 0,height:"8968077397"==a?"100%":e,overflow:"hidden"}})}},7229:function(){},7509:function(t,e,n){n.d(e,{h:function(){return i}});const i=(0,n(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},7973:function(t,e,n){n.d(e,{B:function(){return l},b:function(){return r}});var i=n(1348),o=n(5830);function r(t,e=""){const n=(0,o.Xd)("whatmoreShopId");return"shopify"!=(0,i.NCy)(n)?"STRNV8MHJTF"==n?t+"?format=webp":t:t+e}function l(t){var e;if(null!==t&&void 0!==t&&t.includes("https://w-media.b-cdn.net/process-media"))return"image";const n=null===t||void 0===t||null===(e=t.trim())||void 0===e?void 0:e.split("?")[0],i=/\.(jpeg|jpg|gif|png|svg|webp)$/i,o=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==i&&void 0!==i&&i.test(n)?"image":null!==o&&void 0!==o&&o.test(n)?"video":void 0}},8141:function(t,e,n){n(9950);var i=n(4414);e.A=({width:t=30,height:e=30})=>(0,i.jsxs)("svg",{width:t,height:e,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{width:"30",height:"30",rx:"15",fill:"white"}),(0,i.jsx)("g",{clipPath:"url(#clip0_1_19)",children:(0,i.jsx)("path",{d:"M16.942 9.3568C16.8684 9.32095 16.7862 9.30645 16.7048 9.31496C16.6234 9.32347 16.5461 9.35464 16.4815 9.40493L12.6621 12.375H10.1875C9.95544 12.375 9.73288 12.4672 9.56878 12.6313C9.40469 12.7954 9.3125 13.0179 9.3125 13.25V16.75C9.3125 16.9821 9.40469 17.2046 9.56878 17.3687C9.73288 17.5328 9.95544 17.625 10.1875 17.625H12.6621L16.4815 20.5951C16.5461 20.6453 16.6235 20.6764 16.705 20.6849C16.7864 20.6933 16.8686 20.6787 16.9421 20.6427C17.0157 20.6068 17.0777 20.5509 17.121 20.4815C17.1644 20.4121 17.1874 20.3319 17.1875 20.25V9.75C17.1875 9.66804 17.1645 9.58773 17.1211 9.51821C17.0777 9.44869 17.0156 9.39276 16.942 9.3568ZM16.3125 19.3553L13.081 16.8424C13.0044 16.7824 12.9098 16.7498 12.8125 16.75H10.1875V13.25H12.8125C12.9098 13.2502 13.0044 13.2176 13.081 13.1576L16.3125 10.6447V19.3553ZM21.872 16.003C21.9541 16.0851 22.0002 16.1964 22.0002 16.3125C22.0002 16.4286 21.9541 16.5399 21.872 16.622C21.7899 16.7041 21.6786 16.7502 21.5625 16.7502C21.4464 16.7502 21.3351 16.7041 21.253 16.622L20.25 15.6185L19.247 16.622C19.1649 16.7041 19.0536 16.7502 18.9375 16.7502C18.8214 16.7502 18.7101 16.7041 18.628 16.622C18.5459 16.5399 18.4998 16.4286 18.4998 16.3125C18.4998 16.1964 18.5459 16.0851 18.628 16.003L19.6315 15L18.628 13.997C18.5459 13.9149 18.4998 13.8036 18.4998 13.6875C18.4998 13.5714 18.5459 13.4601 18.628 13.378C18.7101 13.2959 18.8214 13.2498 18.9375 13.2498C19.0536 13.2498 19.1649 13.2959 19.247 13.378L20.25 14.3815L21.253 13.378C21.3351 13.2959 21.4464 13.2498 21.5625 13.2498C21.6786 13.2498 21.7899 13.2959 21.872 13.378C21.9541 13.4601 22.0002 13.5714 22.0002 13.6875C22.0002 13.8036 21.9541 13.9149 21.872 13.997L20.8685 15L21.872 16.003Z",fill:"#1A1A1A"})}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_1_19",children:(0,i.jsx)("rect",{width:"14",height:"14",fill:"white",transform:"translate(8 8)"})})})]})},8538:function(t,e,n){n.d(e,{v:function(){return o}});var i=n(5830);function o(t,e){const n=(0,i.Xd)("whatmoreShopId");return"undefined"==typeof t||"undefined"==t||null==t?"":"6873415750"==n||"72442478904"==n||"58562281529"==n?t:"66168324332"==n&&"prod-tile"!=e?null===t||void 0===t||null===(o=t.split("- "))||void 0===o?void 0:o[0]:"6573064236"===n?t.replace(/\b\w/g,function(t){return t.toUpperCase()}):t.replace(/\w\S*/g,function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()});var o}},9130:function(){},9526:function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i.createSvgIcon}});var i=n(6474)},9733:function(){}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[374],{1941:function(n,e,t){t.d(e,{A:function(){return u}});var i=t(5830),r=t(9950);function o(n){if(!n)return{};var e={};return Array.from(n.attributes).forEach(n=>{var t;e[n.name]=(t=n.value,isNaN(+t)?t:+t)}),e}function a(...n){try{var e;const t=document.getElementById("whatmorePreviewMode");if(!t)return null;const i=null===n||void 0===n?void 0:n[0];if(!i)return!0;let r={};return r=i.includes("function")?{}:o(t),null!==(e=r)&&void 0!==e&&e[i]?r[i]:null}catch(t){return null}}var s=function({disablePreview:n=!1}={}){var e,t,i=n?window.innerHeight:null!==(e=a("height-wh"))&&void 0!==e?e:window.innerHeight,o=n?window.innerWidth:null!==(t=a("width-wh"))&&void 0!==t?t:window.innerWidth,[s,d]=[i,o];const[c,l]=(0,r.useState)([s>d?"portrait":"landscape",s,d]);return(0,r.useLayoutEffect)(()=>{function e(){var e,t,i=n?window.innerHeight:null!==(e=a("height-wh"))&&void 0!==e?e:window.innerHeight,r=n?window.innerWidth:null!==(t=a("width-wh"))&&void 0!==t?t:window.innerWidth,[o,s]=[i,r];l(o>s?["portrait",o,s]:["landscape",o,s])}return window.addEventListener("resize",e),window.addEventListener("orientationchange",e),screen.orientation&&screen.orientation.addEventListener("change",e),e(),()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e),screen.orientation&&screen.orientation.removeEventListener("change",e)}},[]),c},d=t(1348);const c=(0,i.Xd)("whatmoreShopId");function l(){if("90518552861"==c||"STRI4V3OYCH"==c||"56517427254"==c||"19506115"==c||"STR4YVJTT37"===c){var n,e,t;let i=document.querySelector('.whatmore-base:has(.whatmore-widget[data-wh="carousel"])');i||(i=document.querySelector('.whatmore-base:has(.whatmore-widget[data-wh="collection"])'));let r=i;for(;r&&r!==document&&(r=r.parentElement,!r||r.classList.contains("whatmore-base")););return[window.innerHeight,(null!==(n=null===(e=r)||void 0===e||null===(t=e.getBoundingClientRect())||void 0===t?void 0:t.width)&&void 0!==n?n:window.innerWidth)+(0,d.$du)(c)]}return"51273072796"==c?[document.documentElement.clientHeight,document.documentElement.clientWidth]:[window.innerHeight,window.innerWidth]}var h=function(){var[n,e]=l();const[t,i]=(0,r.useState)([n>e?"portrait":"landscape",n,e]);return(0,r.useLayoutEffect)(()=>{function n(){var[n,e]=l();i(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)}},[]),t};var u=function(n){var e;const t=(0,i.Xd)("isWhatmorePreviewMode"),r=h(),o=s({disablePreview:null!==(e=null===n||void 0===n?void 0:n.disablePreview)&&void 0!==e&&e});return t?o:r}},5100:function(n,e,t){t.r(e);var i=t(9950),r=t(1941),o=t(5830),a=t(4414);const s=i.memo(()=>{if(!(0,o.Xd)("isLandingSharedLink"))return(0,a.jsx)(a.Fragment,{});const[n]=(0,r.A)();return(0,a.jsxs)("div",{className:`shimmer-container ${n}`,children:["portrait"===n?(0,a.jsx)("div",{className:"shimmer-item portrait-full",children:(0,a.jsx)("div",{className:"shimmer-effect"})}):Array(3).fill().map((n,e)=>(0,a.jsx)("div",{className:"shimmer-item landscape-item "+(1===e?"center-item":""),children:(0,a.jsx)("div",{className:"shimmer-effect"})},e)),(0,a.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}}]);