whatmore-react-assets 1.0.1809 → 1.0.1811

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.1809",
3
+ "version": "1.0.1811",
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([[387],{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 a=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"})})},l=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)(l.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)(a,{})})})]})}},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 a=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,[a,l]=[i,o];const[s,m]=(0,r.useState)([a>l?"portrait":"landscape",a,l]);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,a]=[i,r];m(o>a?["portrait",o,a]:["landscape",o,a])}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},l=n(1348);const s=(0,i.Xd)("whatmoreShopId");function m(){if("8908406869"==s||"90518552861"==s||"STRI4V3OYCH"==s||"56517427254"==s||"19506115"==s||"STR4YVJTT37"===s||"71079985468"===s||"1977843785"===s||"63512346790"===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,l.$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=a({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 a}});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"},a=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}},5410:function(){},6493:function(e,t,n){n.d(t,{Cr:function(){return a},cb:function(){return d},lP:function(){return o},yD:function(){return l}});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},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-video-assets-720p.b-cdn.net/${t}/${e.split("whatmore_")[1].split("?")[0]}`}return e},l=function(e){if(e.startsWith("https://cdn.shopify.com")&&e.includes("whatmore_")){const t=(0,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%",a=null!==(r=e.borderRadius)&&void 0!==r?r:"10px";return(0,i.jsx)("div",{style:{height:o,width:o,borderRadius:a,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[a,l]=(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:a?"100%":"0px",height:a?"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:()=>{l(!0)}})}),a?(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),a=n(2039),l=n(9098),s=n(4033),m=n(5830),u=n(6493),c=n(4414);var v=function(e){var t,n,o,a,l,v,h,p,$,g,w,f,b,y,_,x,j,E,C,P,k,S,L,A,I;const W=(0,i.useRef)(null),[R,z,T]=(0,r.A)({triggerOnce:!0}),H=(0,m.Xd)("whatmoreShopId"),N=null!==(t=e.height)&&void 0!==t?t:"100%",F=null!==(n=e.width)&&void 0!==n?n:"100%";return(0,i.useEffect)(()=>{W.current&&(e.isPlaying?W.current.play():(((0,s.n)()||(0,d.At)())&&W.current.play(),"57939755089"==H?setTimeout(()=>{W.current.pause()},300):W.current.pause()))},[e.isPlaying,z]),(0,c.jsx)("div",{ref:R,style:{width:N,height:F,overflow:"hidden",display:"flex",alignItems:"center"},children:z||"51394281658"==H||"8968077397"==H?(0,c.jsxs)("div",{itemScope:!0,itemtype:"https://schema.org/VideoObject",style:{width:F,height:N},children:[(0,c.jsx)("meta",{itemprop:"name",content:null!==(o=null!==(a=null===e||void 0===e||null===(l=e.event)||void 0===l||null===(v=l.products)||void 0===v||null===(h=v[0])||void 0===h?void 0:h.title)&&void 0!==a?a: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===(P=e.event)||void 0===P?void 0:P.thumbnail_image)&&void 0!==C?C:""}),(0,c.jsx)("meta",{itemprop:"interactionCount",content:null!==(k=null===e||void 0===e||null===(S=e.event)||void 0===S?void 0:S.total_views)&&void 0!==k?k:0}),(0,c.jsxs)("video",{ref:W,className:"whatmore-video-player-muted",width:F,height:N,preload:"metadata",loop:!0,playsInline:!0,poster:e.isPlaying&&1!=(null===(L=e.event)||void 0===L?void 0:L.index)&&"STRTFEDEDAP"!==H&&"STRY2V4XO5L"!==H?e.url:null!==(A=e.poster)&&void 0!==A?A:e.url,muted:null===(I=e.isVideoMuted)||void 0===I||I,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:F,height:N,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,P,k,S,L,A,I,W,R,z,T,H,N,F;const[U,D,M]=(0,r.A)({triggerOnce:!0}),V=(0,m.Xd)("whatmoreShopId"),q=(0,i.useRef)(null);if((0,i.useEffect)(()=>{q.current&&(e.isPlaying?q.current.play():q.current.pause())},[e.isPlaying,D]),(0,a.Il)(e.event))return(0,c.jsx)(l.A,{height:e.height,width:e.width,url:e.url,isPlaying:e.isPlaying,timeUpdateCallback:e.timeUpdateCallback});const O=null!==(t=e.pauseFromPlayTimeInMs)&&void 0!==t?t:200,X=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:X,url:(0,o.s)(e.url),isPlaying:e.isPlaying,pauseFromPlayTimeInMs:O});const J=null!==(g=e.height)&&void 0!==g?g:"100%",Y=null!==(w=e.width)&&void 0!==w?w:"100%";return(0,c.jsx)("div",{ref:U,style:{width:J,height:Y,overflow:"hidden",display:"flex",alignItems:"center"},children:D||"51394281658"==V||"8968077397"==V?(0,c.jsxs)("div",{itemScope:!0,itemtype:"https://schema.org/VideoObject",style:{width:J,height:Y},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===(P=C.products)||void 0===P||null===(k=P[0])||void 0===k?void 0:k.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?void 0:T.thumbnail_image)&&void 0!==z?z:""}),(0,c.jsx)("meta",{itemprop:"interactionCount",content:null!==(H=null===e||void 0===e||null===(N=e.event)||void 0===N?void 0:N.total_views)&&void 0!==H?H:0}),(0,c.jsxs)("video",{ref:q,className:"whatmore-video-player-muted",width:Y,height:J,preload:"metadata",loop:!0,playsInline:!0,muted:null===(F=e.isVideoMuted)||void 0===F||F,poster:"57939755089"==V?"":X,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:Y,height:J,ref:e=>{e&&e.style.setProperty("display","block","important")}})})}}}]);