whatmore-react-assets 1.0.1893 → 1.0.1895
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 +1 -1
- package/static/js/{wht-neo-banner.63a86a41.chunk.js → wht-neo-banner.891504a8.chunk.js} +1 -1
- package/static/js/wht-neo-floating.a7e3c335.chunk.js +1 -0
- package/static/js/wht-neo-shopper.1e154cce.chunk.js +1 -0
- package/static/js/wht-neo-stories.fcb2483f.chunk.js +1 -0
- package/static/js/{wht-neo-video-answers.ce8ab386.chunk.js → wht-neo-video-answers.c8b748fa.chunk.js} +1 -1
- package/static/js/{wht-neo.fb508e7f.chunk.js → wht-neo.705b82dc.chunk.js} +1 -1
- package/static/js/wht-skin-video-answers-i.5d2e2768.chunk.js +1 -0
- package/whatmore.js +2 -2
- package/static/js/wht-neo-floating.cfd41a92.chunk.js +0 -1
- package/static/js/wht-neo-shopper.fd6064c2.chunk.js +0 -1
- package/static/js/wht-neo-stories.6fbe0c74.chunk.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[719],{1839:function(t,e,n){function o(t,e){let n=document.getElementById(t);n||(n=document.createElement("style"),n.id=t,document.head.appendChild(n)),n.textContent=e}function r(t,e){if(!t||!e)return t||"";const n=document.createElement("style");n.media="not all",n.textContent=t,document.head.appendChild(n);let o=t;try{const t=n.sheet;t&&(s(t.cssRules,e),o=function(t){let e="";for(let n=0;n<t.length;n++)e+=t[n].cssText+"\n";return e}(t.cssRules))}catch(r){}return n.remove(),o}function s(t,e){for(let n=0;n<t.length;n++){const o=t[n];void 0!==o.selectorText&&void 0!==o.style?o.selectorText=i(o.selectorText,e):!o.cssRules||"undefined"!==typeof CSSKeyframesRule&&o instanceof CSSKeyframesRule||s(o.cssRules,e)}}function i(t,e){return function(t){const e=[];let n=0,o="";for(let r=0;r<t.length;r++){const s=t[r];"("===s||"["===s?n++:")"!==s&&"]"!==s||n--,","===s&&0===n?(e.push(o),o=""):o+=s}return e.push(o),e}(t).map(t=>{const n=t.trim();return n?e+" "+n:n}).join(", ")}function a(t,e,n,o){if(!t)return null;const r=t[e];if(!r||"object"!==typeof r)return Object.assign({},t,{brandCss:""});const s="string"===typeof t.customCss?t.customCss:"",i=t.shopper&&t.shopper.widgets&&t.shopper.widgets[e],a=l(r.widgets,n)||l(i,n),c=a?null:function(t){return 0===String(t||"").indexOf("product")?"product":null}(o),d=c&&r[c]&&"object"===typeof r[c]?r[c]:null,u=a?Object.assign({},r,a):d?Object.assign({},r,d):r;return Object.assign({},u,{brandCss:s,perInstance:!!a,pageScoped:!!d})}function l(t,e){if(!t||"object"!==typeof t||!e)return null;const n=Array.isArray(e)?e:[e];for(let o=0;o<n.length;o++){const e=n[o];if(null==e||""===e)continue;const r=t[e];if(r&&"object"===typeof r)return r}return null}n.d(e,{GJ:function(){return r},RO:function(){return a},fz:function(){return o}})},5e3:function(t,e,n){n.d(e,{Au:function(){return a},YJ:function(){return c},k5:function(){return l}});const o=6,r="https://whatmore-other-assets.b-cdn.net/whatmore/dummy_for_video_pool_3s_muted_11kb.mp4",s="whatmore-video-player whatmore-main-video-player-from-pool";function i(){return"undefined"===typeof window?{}:(window.__whatmoreNeoVideoPool||(window.__whatmoreNeoVideoPool={}),window.__whatmoreNeoVideoPool)}function a(){const t=i();if(t.armed||"undefined"===typeof document)return;if(!function(){if("undefined"===typeof navigator||"undefined"===typeof document)return!1;const t=navigator.userAgent||"";return!(!/iPad|iPhone|iPod/.test(t)||window.MSStream)||/Macintosh/.test(t)&&"ontouchend"in document}())return;t.armed=!0,function(){const t=i();if(t.pool||"undefined"===typeof document)return;const e=document.createDocumentFragment();for(let n=0;n<o;n++){const t=document.createElement("video");t.setAttribute("class",s),t.setAttribute("src",r),t.muted=!0,t.setAttribute("width","100%"),t.setAttribute("height","100%"),t.setAttribute("preload","auto"),t.setAttribute("loop",""),t.setAttribute("playsinline",""),t.setAttribute("webkit-playsinline",""),t.setAttribute("x-webkit-airplay","allow"),t.controls=!1,e.appendChild(t)}t.pool=e}();const e=()=>{document.removeEventListener("click",e),document.removeEventListener("touchstart",e),function(){const t=i();if(t.blessed||!t.pool)return;const e=t.pool.childNodes;for(let n=0;n<e.length;n++){const t=e[n];t.muted=!0;const o=t.play();o&&o.then&&o.then(()=>t.pause()).catch(()=>{})}t.blessed=!0}()};document.addEventListener("click",e,{passive:!0}),document.addEventListener("touchstart",e,{passive:!0})}function l(){return i().pool||null}function c(){return!!i().blessed}},6387:function(t,e,n){n.d(e,{P:function(){return r}});const o={standard:()=>n.e(508).then(n.t.bind(n,5071,17)),card:()=>n.e(545).then(n.t.bind(n,9362,17)),"mosaic-ring":()=>n.e(457).then(n.t.bind(n,8171,17)),"mosaic-plain":()=>n.e(764).then(n.t.bind(n,5635,17)),hoverplay:()=>n.e(781).then(n.t.bind(n,3168,17)),"info-strip":()=>n.e(94).then(n.t.bind(n,2109,17)),"text-overlay":()=>n.e(833).then(n.t.bind(n,3930,17)),focused:()=>n.e(506).then(n.t.bind(n,1987,17)),coverflow:()=>n.e(172).then(n.t.bind(n,9033,17)),minimal:()=>n.e(244).then(n.t.bind(n,3981,17)),feed:()=>n.e(315).then(n.t.bind(n,7456,17)),circle:()=>n.e(31).then(n.t.bind(n,5112,17)),viewmore:()=>n.e(343).then(n.t.bind(n,7672,17)),overlay:()=>n.e(936).then(n.t.bind(n,75,17)),"shop-the-look":()=>n.e(696).then(n.t.bind(n,9902,17)),"stories-b":()=>n.e(565).then(n.t.bind(n,1958,17)),"videoAnswers-b":()=>n.e(169).then(n.t.bind(n,3426,17)),"videoAnswers-c":()=>n.e(776).then(n.t.bind(n,6683,17)),"videoAnswers-d":()=>n.e(799).then(n.t.bind(n,3864,17)),"videoAnswers-e":()=>n.e(990).then(n.t.bind(n,713,17)),"videoAnswers-f":()=>n.e(989).then(n.t.bind(n,7742,17)),"videoAnswers-g":()=>n.e(596).then(n.t.bind(n,5543,17)),"videoAnswers-h":()=>n.e(395).then(n.t.bind(n,7604,17)),"videoAnswers-i":()=>n.e(810).then(n.t.bind(n,8453,17)),"product-broad-no-cta":()=>n.e(838).then(n.t.bind(n,5955,17)),"product-broad-atc":()=>n.e(648).then(n.t.bind(n,2699,17)),"product-narrow":()=>n.e(594).then(n.t.bind(n,4859,17)),"product-premium":()=>n.e(566).then(n.t.bind(n,2529,17)),"product-navigation":()=>n.e(45).then(n.t.bind(n,4368,17)),"product-multi-product":()=>n.e(856).then(n.t.bind(n,3703,17)),"product-thumbnail-strip":()=>n.e(620).then(n.t.bind(n,4383,17)),"product-link-only":()=>n.e(750).then(n.t.bind(n,3365,17)),"product-minimal-atc":()=>n.e(685).then(n.t.bind(n,1890,17))};async function r(t,e){const n=o["carousel"===t||"collections"===t?e:t+"-"+e];if(!n)return"";try{return(await n()).default||""}catch(r){return""}}},7983:function(t,e,n){function o(t,e=!1){if(null==t)return{events:[],all_events:[]};if(e){return{events:t.events&&t.events[0]&&t.events[0].events||[],all_events:t.all_events||[]}}return{events:t.events||[],all_events:t.all_events||[]}}function r(t,e){if(null==t||!t.eventsets||!t.eventsets[e])return{events:[],all_events:[]};return{events:(Array.isArray(t.eventsets[e])?t.eventsets[e]:[]).reduce((t,e)=>t.concat(e&&e.events||[]),[]),all_events:[]}}function s(t){return!(void 0==t.products||0==t.products.length)}n.d(e,{Hl:function(){return s},Np:function(){return o},Po:function(){return r}})},8235:function(t,e,n){n.d(e,{renderNeoStories:function(){return k}});var o=n(7983),r=n(6287),s=n(5e3),i=n(6387),a=n(1839),l=n(9439),c='.wht-neo-stories-widget{font-family:var(--wht-neo-font,var(--wht-neo-font-auto,inherit));margin-block:var(--wht-neo-stories-pad,var(--wht-neo-stories-pad-auto,10px));width:100%}.wht-neo-stories-wrap{position:relative;width:100%}.wht-neo-stories{-webkit-overflow-scrolling:touch;display:flex;flex-flow:row nowrap;justify-content:center;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y;width:100%}.wht-neo-stories::-webkit-scrollbar{display:none}.wht-neo-stories[data-wht-overflow="1"]{justify-content:flex-start}.wht-neo-story{align-items:center;cursor:pointer;display:flex;flex-direction:column;flex-shrink:0;height:fit-content;margin:10px;width:calc(var(--wht-neo-story-size, var(--wht-neo-story-size-auto, 72px))*var(--wht-neo-story-spacing, 1))}.wht-neo-story:active .wht-neo-story-ring{transform:scale(.92)}.wht-neo-story-ring{box-shadow:var(--wht-neo-story-ring-shadow,none);transition:transform .2s ease;width:fit-content}.wht-neo-story-ring,.wht-neo-story-thumb{border-radius:var(--wht-neo-story-radius,50%);box-sizing:border-box}.wht-neo-story-thumb{background:var(--wht-neo-story-thumb-bg,var(--wht-neo-story-thumb-bg-auto,#d3d3d3));border:var(--wht-neo-story-border,3px solid #fff);height:var(--wht-neo-story-size,var(--wht-neo-story-size-auto,72px));overflow:hidden;width:var(--wht-neo-story-size,var(--wht-neo-story-size-auto,72px))}.wht-neo-story-img,.wht-neo-story-video{background:#fff;display:block;height:100%;object-fit:cover;width:100%}.wht-neo-story-title{color:var(--wht-neo-story-title-color,var(--wht-neo-story-title-color-auto,#000));font-family:var(--wht-neo-story-title-font,var(--wht-neo-story-title-font-auto,inherit));font-size:calc(var(--wht-neo-story-size, var(--wht-neo-story-size-auto, 72px))*.12*var(--wht-neo-story-title-factor, 1));font-weight:400;line-height:110%;margin:10px 0 0;overflow:hidden;text-align:center;text-overflow:ellipsis;width:100%}.wht-neo-stories-nav{display:none}:where([data-wht-vp=landscape]) .wht-neo-stories-wrap[data-wht-arrows="1"] .wht-neo-stories-nav{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:var(--wht-neo-stories-nav-bg,rgba(0,0,0,.7));border:none;border-radius:50%;color:var(--wht-neo-stories-nav-color,#fff);cursor:pointer;display:flex;height:var(--wht-neo-stories-nav-size,48px);justify-content:center;padding:0;position:absolute;top:40%;transform:translateY(-50%);width:var(--wht-neo-stories-nav-size,48px);z-index:2}:where([data-wht-vp=landscape]) .wht-neo-stories-wrap[data-wht-arrows="1"] .wht-neo-stories-nav:hover{background:rgba(0,0,0,.8)}:where([data-wht-vp=landscape]) .wht-neo-stories-nav-prev{left:16px}:where([data-wht-vp=landscape]) .wht-neo-stories-nav-next{right:16px}.wht-neo-stories-nav svg{display:block;height:42%;width:42%}';const d="https://consumer.whatmore.live",u="stories",h="wht-neo-stories-css",p="wht-neo-stories-critical",w='.wht-neo-stories-widget{width:100%}.wht-neo-stories-wrap{position:relative;width:100%}.wht-neo-stories{display:flex;flex-flow:row nowrap;width:100%;overflow-x:auto;scrollbar-width:none;justify-content:center}.wht-neo-stories::-webkit-scrollbar{display:none}.wht-neo-stories[data-wht-overflow="1"]{justify-content:flex-start}.wht-neo-story{display:flex;flex-direction:column;align-items:center;flex-shrink:0;margin:10px;cursor:pointer;width:calc(var(--wht-neo-story-size,var(--wht-neo-story-size-auto,72px)) * var(--wht-neo-story-spacing,1))}.wht-neo-story-thumb{width:var(--wht-neo-story-size,var(--wht-neo-story-size-auto,72px));height:var(--wht-neo-story-size,var(--wht-neo-story-size-auto,72px));border-radius:50%;overflow:hidden}.wht-neo-story-img,.wht-neo-story-video{width:100%;height:100%;object-fit:cover;display:block}.wht-neo-stories-nav{display:none}';async function v(t){let e=null;try{e=new URLSearchParams(window.location.search).get("neoskin")}catch(d){}let n="";const o=e||t&&t.skin;o&&"default"!==o&&"a"!==o&&(n=await(0,i.P)(u,o));const r=o&&"default"!==o?o:"a",s=t&&t.customCss,l="string"===typeof s?s:s&&"object"===typeof s&&"string"===typeof s[r]?s[r]:"";return(0,a.fz)(h,c+"\n"+n+(t&&t.brandCss?"\n"+t.brandCss:"")+(l?"\n"+l:"")),!0}const f=(t,e=null)=>{const n=function(){try{return JSON.parse(localStorage.getItem("whatmore_brand_customizations")).customizations}catch(t){return null}}(),o=t.split(".").reduce((t,e)=>null==t?void 0:t[e],n);return null==o?e:o};async function m({shopId:t,landingLocationType:e,widgetContainer:n}){if(e.startsWith("index")){const t=window.whatmore&&window.whatmore.storyEvents&&window.whatmore.storyEvents.events;if(Array.isArray(t)&&t.length)return t.slice()}let r;if(e.startsWith("product")){var s,i,a,l;const e=f("product_config.use_product_page_link_as_client_product_id")?window.location.href.split(/[?#]/)[0]:null!==(s=null!==(i=null===(a=document.querySelector("#whatmoreProductId"))||void 0===a?void 0:a.getAttribute("data-wh"))&&void 0!==i?i:null===(l=document.querySelector("#whatmoreProductId"))||void 0===l?void 0:l.getAttribute("data"))&&void 0!==s?s:"";r=`${d}/v2/brand/${t}/product-events?client_product_id=${encodeURIComponent(e)}&status=live,upcoming&event_type=video,image`}else r=`${d}/v2/events/${t}?status=live,upcoming&is_active=true&template_type=stories`;const c=await fetch(r).then(t=>t.json()),{events:u,all_events:h}=(0,o.Np)(c,!1);let p=[...u,...h];return f("oos_config.show_oos_videos")||(p=p.filter(t=>t&&!1!==t.in_stock)),p}const y=t=>!!t&&"image"===t.event_type;function b(t){const e=t&&t.event_media_urls;if(!e)return t&&t.thumbnail_image||"";const n=t=>{var n,o,r,s;return(null===(n=e.secondary)||void 0===n||null===(o=n[t])||void 0===o?void 0:o.content_image_original)||(null===(r=e.primary)||void 0===r||null===(s=r[t])||void 0===s?void 0:s.content_image_original)||""};return n("portrait")||n("landscape")||t.thumbnail_image||""}function g(t){var e,n,o,r;const s=t.event_media_urls;let i=s?(null===(e=s.primary)||void 0===e||null===(n=e.portrait)||void 0===n?void 0:n.poster_image)||(null===(o=s.secondary)||void 0===o||null===(r=o.portrait)||void 0===r?void 0:r.poster_image)||t.poster_image||"":t.poster_image||"";return!i&&y(t)?b(t):(i&&i.startsWith("https://cdn.shopify.com")&&(i=i.split("?")[0]+"?width=400&height=400"),i)}function _(t,e,n){var o;const r=t&&t.querySelector("#"+e),s=r&&(null!==(o=r.getAttribute("data-wh"))&&void 0!==o?o:r.getAttribute("data")),i=null!=s?parseFloat(s):NaN;return isFinite(i)?i:n}function x(t){const e=document.createElement("button");e.type="button",e.className="wht-neo-stories-nav wht-neo-stories-nav-"+t,e.dataset.role="navArrows",e.setAttribute("aria-label","prev"===t?"Previous stories":"Next stories");const n="prev"===t?"M15 5l-7 7 7 7":"M9 5l7 7-7 7";return e.innerHTML='<svg viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="'+n+'" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>',e}function A(t,e,{navPrev:n,navNext:o}){const r=t=>{if(!t.dataset.loaded&&t.dataset.src)if(t.dataset.loaded="1","VIDEO"===t.tagName){var e;t.dataset.poster&&(t.poster=t.dataset.poster);const n=document.createElement("source");n.src=t.dataset.src,n.type="video/mp4",t.appendChild(n),null===(e=t.load)||void 0===e||e.call(t);const o=t.play&&t.play();o&&o.catch&&o.catch(()=>{})}else t.src=t.dataset.src},s=t.querySelectorAll(".wht-neo-story-img, .wht-neo-story-video");if("IntersectionObserver"in window){const t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(r(e.target),t.unobserve(e.target))})},{rootMargin:"0px 100px 0px 0px"});s.forEach(e=>t.observe(e))}else s.forEach(r);const i=()=>t.style.setProperty("--wht-neo-story-size-auto",function(t){var e;const n=(0,l.vC)(),o=n.w>n.h?n.h*(_(t,"whatmoreStoryTileSizeDesktop",40)/340):(null!==(e=(0,l.eG)(t))&&void 0!==e?e:n.w)*(_(t,"whatmoreStoryTileSize",40)/200);return Math.round(o)}(e)+"px"),a=()=>t.setAttribute("data-wht-overflow",t.scrollWidth>t.offsetWidth?"1":"0");i(),requestAnimationFrame(a);const c=e=>{const n=parseFloat(getComputedStyle(t).getPropertyValue("--wht-neo-story-size-auto"))||72;t.scrollBy({left:e*n*4,behavior:"smooth"})};n.addEventListener("click",t=>{t.stopPropagation(),c(-1)}),o.addEventListener("click",t=>{t.stopPropagation(),c(1)});let d=!1;window.addEventListener("resize",()=>{d||(d=!0,requestAnimationFrame(()=>{d=!1,(0,l.Vo)(t.closest(".wht-neo-stories-widget")),i(),a()}))},{passive:!0})}async function k(t){var e,n,o,i;const{rootElement:c,widgetContainer:d,shopId:h,landingLocationType:k="index",whatmoreRootId:C,onWidgetView:E,onOpenStories:S}=t;if((0,l.V2)(t.storeFlags&&t.storeFlags.viewportSizedTiles),!c||!h)return!1;const P=()=>{c.removeAttribute("data-shimmer-active"),d&&(d.style.minHeight="0px");const t=d&&d.querySelector("#storiesLoader");t&&t.remove()},z=(0,l.vC)();if(z.w>z.h?!f("stories_config.show_stories_in_landscape_mode"):!f("stories_config.show_stories_in_mobile_mode"))return P(),!0;let N;(0,a.fz)(p,w);try{[N]=await Promise.all([m({shopId:h,landingLocationType:k,widgetContainer:d}),v((0,a.RO)(t.neoJson,u))])}catch($){return!1}if(!N||!N.length)return P(),!0;const I=function(t){const e={};return t.forEach((t,n)=>{const o=t.storyset_id;var r;e[o]||(e[o]={id:o,title:t.storyset_name,thumbnail_image:t.storyset_thumbnail_image,total_events:0,start_event_index:n,storyset_dynamic_thumbnail:null!==(r=t.storyset_dynamic_thumbnail)&&void 0!==r&&r,events:[]}),e[o].total_events+=1,e[o].events.push(t)}),Object.values(e).sort((t,e)=>t.start_event_index-e.start_event_index)}(N),j={action(t,e){if("openStories"!==t)return;const n=e.storyset.events[0];(0,r.w)(g(n)),null===S||void 0===S||S({events:N,eventIndex:0,eventsStories:I,storyIndex:e.storyIndex})}},L=document.createElement("div");L.className="wht-neo-stories-widget",(0,l.Vo)(L);const O=_(d,"whatmoreStoriesTopBottomPadding",null);null!=O&&L.style.setProperty("--wht-neo-stories-pad-auto",O+"px"),function(t){const e=f("brand_theme_color","#343434"),n=f("tertiary_color","#bc2a8d");let o=f("stories_config.stories_border_colors")||[e,n,e,n,e];Array.isArray(o)||(o=Array(5).fill(o)),o.slice(0,5).forEach((e,n)=>t.style.setProperty(`--wht-neo-story-ring-c${n}`,e)),t.style.setProperty("--wht-neo-story-thumb-bg-auto","#343434"===e?"#d3d3d3":e);const r=f("stories_config.story_tiles_spacing_factor");null!=r&&isFinite(Number(r))&&t.style.setProperty("--wht-neo-story-spacing",String(r));const s=f("brand_fonts.story_title_font")||f("brand_fonts.carousel_title_font");s&&t.style.setProperty("--wht-neo-story-title-font-auto",s);const i=f("stories_config.stories_title_font_color");i&&t.style.setProperty("--wht-neo-story-title-color-auto",i);const a=f("stories_config.stories_title_font_factor");null!=a&&isFinite(Number(a))&&t.style.setProperty("--wht-neo-story-title-factor",String(a))}(L);const T=null!==(e=null===(n=document.querySelector("#whatmorePrimaryFont"))||void 0===n?void 0:n.getAttribute("data-wh"))&&void 0!==e?e:null===(o=document.querySelector("#whatmorePrimaryFont"))||void 0===o?void 0:o.getAttribute("data");T&&L.style.setProperty("--wht-neo-font-auto",T);const F=document.createElement("div");F.className="wht-neo-stories-wrap",f("stories_config.story_show_navigation_arrows")&&F.setAttribute("data-wht-arrows","1");const R=document.createElement("div");R.className="wht-neo-stories",R.setAttribute("role","listbox"),R.setAttribute("aria-label","Shoppable stories"),h&&R.setAttribute("data-wht-shop",h),R.setAttribute("data-wht-widget","wgt_stories"),I.forEach((t,e)=>R.appendChild(function(t,e,n){const o=document.createElement("div");o.className="wht-neo-story",o.dataset.role="storyTile",o.setAttribute("role","option"),o.tabIndex=0;const r=document.createElement("div");r.className="wht-neo-story-ring";const s=document.createElement("div");s.className="wht-neo-story-thumb";const i=t=>t&&(t.thumbnail_image||(y(t)?b(t):""))||"";let a=t.thumbnail_image||i(t.events[0]),l=t.events[0];if(t.storyset_dynamic_thumbnail&&t.events.length>1){const e=t.events[Math.floor(Math.random()*(t.events.length-1))],n=e&&e.poster_image||i(e);n&&(a=n,l=e)}if(function(t){if(!t)return!1;if(t.includes("https://w-media.b-cdn.net/process-media"))return!1;const e=t.trim().split("?")[0];return/\.(mp4|mov|wmv|avi|flv|mkv)$/i.test(e)}(a)){const t=document.createElement("video");t.className="wht-neo-story-video",t.muted=!0,t.loop=!0,t.playsInline=!0,t.preload="none",t.setAttribute("muted",""),t.setAttribute("playsinline",""),t.setAttribute("webkit-playsinline",""),t.dataset.src=a;const e=l&&g(l);e&&(t.dataset.poster=e),s.appendChild(t)}else{const e=document.createElement("img");e.className="wht-neo-story-img",e.alt=t.title||"",e.dataset.src=function(t){return t?t.startsWith("https://cdn.shopify.com")?t.split("?")[0]+"?width=400&height=400":t:""}(a),s.appendChild(e)}r.appendChild(s),o.appendChild(r);const c=document.createElement("p");c.className="wht-neo-story-title",c.dataset.role="storyTitle",c.textContent=(t.title||"").substring(0,24),o.appendChild(c);const d=()=>n.action("openStories",{storyset:t,storyIndex:e});return o.addEventListener("click",d),o.addEventListener("keydown",t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),d())}),o}(t,e,j)));const q=x("prev"),M=x("next");if(F.appendChild(R),F.appendChild(q),F.appendChild(M),L.appendChild(F),c.innerHTML="",c.appendChild(L),c.style.opacity="1",(0,s.Au)(),A(R,d,{navPrev:q,navNext:M}),E)if("IntersectionObserver"in window){new IntersectionObserver((t,e)=>{t.some(t=>t.isIntersecting)&&(E(),e.disconnect())},{threshold:0}).observe(R)}else E();const V=document.querySelector(`.whatmore-shimmer-container[data-widget-id="${C}"]`);return V&&V.remove(),P(),null===(i=t.onEventsReady)||void 0===i||i.call(t,N,I),!0}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[507],{1752:function(t,e,n){n.d(e,{renderNeoVideoAnswers:function(){return F}});const a="http://www.w3.org/2000/svg",o="M8 5.5v13l11-6.5z",r="M4 9v6h4l5 4V5L8 9H4zm11.5 3a3.5 3.5 0 0 0-2-3.2v6.4a3.5 3.5 0 0 0 2-3.2zm-2-7.6v2.1a6 6 0 0 1 0 11v2.1a8 8 0 0 0 0-15.2z",i="M4 9v6h4l5 4V5L8 9H4zm12.6 3 2.7-2.7-1.4-1.4-2.7 2.7-2.7-2.7-1.4 1.4 2.7 2.7-2.7 2.7 1.4 1.4 2.7-2.7 2.7 2.7 1.4-1.4z",s="M15.4 7.4 14 6l-6 6 6 6 1.4-1.4L10.8 12z",d="M7 5h3.5v14H7zm6.5 0H17v14h-3.5z",l="M8.6 16.6 10 18l6-6-6-6-1.4 1.4 4.6 4.6z",h="undefined"!==typeof window&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function c(t){if(null==t)return null;if("number"===typeof t&&isFinite(t))return t;const e=String(t).trim().split(":").map(t=>parseInt(t,10));return!e.length||e.some(t=>!isFinite(t))?null:e.reduce((t,e)=>60*t+e,0)}function p(t){const e=Math.max(0,Math.round(t||0));return Math.floor(e/60)+":"+String(e%60).padStart(2,"0")}function v(t){const e="string"===typeof t?parseFloat(t):t;return"number"===typeof e&&isFinite(e)&&e>0?e>=1e6?(e/1e6).toFixed(e>=1e7?0:1).replace(/\.0$/,"")+"M":e>=1e3?(e/1e3).toFixed(e>=1e4?0:1).replace(/\.0$/,"")+"K":String(Math.round(e)):null}function w(t){const e=t&&t.event_media_urls&&t.event_media_urls.secondary,n=e&&e.portrait&&e.portrait.content_video_m3u8_original||t&&t.event_m3u8_url||"";return/\.m3u8(\?|$)/i.test(n)?n:""}function u(t,e,n,a){const o=t.createElement(e);return n&&(o.className=n),null!=a&&(o.textContent=a),o}function g(t,e,n){const o=t.createElementNS(a,"svg");o.setAttribute("viewBox","0 0 24 24"),o.setAttribute("aria-hidden","true"),o.setAttribute("focusable","false"),n&&o.setAttribute("class",n);const r=t.createElementNS(a,"path");return r.setAttribute("d",e),r.setAttribute("fill","currentColor"),o.appendChild(r),o}function b(t,e,n,a){if(!(e>0&&n>0))return;const o=Math.min(16/9,Math.max(9/16,e/n));t.style.aspectRatio=String(o);const r=o>1.05?"wide":o>.7?"tall":"portrait";t.setAttribute("data-wht-ar",r),a&&a(r)}function f(t){return p(t.start)+(null!=t.end?"\u2013"+p(t.end):"")}const m=new Set;if("undefined"!==typeof document&&document.addEventListener){const t=()=>m.forEach(t=>t());document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&t()}),"undefined"!==typeof window&&window.addEventListener("pagehide",t)}function y(t,e,a,c,p,v,w){const f=u(t,"div","wht-neo-va-stage"),y=u(t,"video","wht-neo-va-video");y.setAttribute("playsinline",""),y.setAttribute("muted",""),y.muted=!0,y.preload="none",e.length>1&&f.setAttribute("data-wht-multi","");let x=!1;const k=()=>{!x&&e[0]&&(x=!0,e[0].poster&&(y.setAttribute("poster",e[0].poster),function(t,e,n,a){const o=u(t,"img");o.decoding="async",o.addEventListener("load",()=>{e.hasAttribute("data-wht-ar-media")||b(e,o.naturalWidth,o.naturalHeight,a)}),o.src=n}(t,f,e[0].poster,c)))};let C=null,A=null;y.addEventListener("loadedmetadata",()=>{f.setAttribute("data-wht-ar-media",""),b(f,y.videoWidth,y.videoHeight,c)});const _=u(t,"div","wht-neo-va-progress"),z=e.reduce((t,e)=>t+Math.max(1,(null!=e.end?e.end:e.start+6)-e.start),0),E=e.map((n,o)=>{const r=u(t,"button","wht-neo-va-seg");r.type="button",r.tabIndex=-1,r.setAttribute("aria-label",a.moment(o+1,e.length)),r.style.flexGrow=String(Math.max(1,(null!=n.end?n.end:n.start+6)-n.start)/z);const i=u(t,"i","");return r.appendChild(i),_.appendChild(r),r.addEventListener("click",t=>{t.stopPropagation(),Y(o)}),i}),S=u(t,"button","wht-neo-va-mute");S.type="button",S.setAttribute("aria-label",a.unmute),S.setAttribute("aria-pressed","false"),S.appendChild(g(t,i));const I=(e,n,a)=>{const o=u(t,"button","wht-neo-va-nav");return o.type="button",o.setAttribute("data-wht-dir",e),o.setAttribute("aria-label",a),o.appendChild(g(t,n)),o},L=I("prev",s,a.prev),M=I("next",l,a.next),j=u(t,"button","wht-neo-va-toggle");j.type="button",j.setAttribute("aria-label",a.pause),j.appendChild(g(t,d));const P=u(t,"span","wht-neo-va-who",""),q=u(t,"div","wht-neo-va-stage-by"),R=u(t,"span","wht-neo-va-stage-by-avatar",""),O=u(t,"span","wht-neo-va-stage-by-handle","");q.appendChild(R),q.appendChild(O);const V=t=>{P.textContent=t.source.handle?"@"+t.source.handle:"",q.hidden=!t.source.handle,O.textContent=t.source.handle?"@"+t.source.handle:"",R.textContent=t.source.handle.charAt(0).toUpperCase()};e[0]&&V(e[0]);const B=u(t,"button","wht-neo-va-stage-play");B.type="button",B.setAttribute("aria-label",a.play),B.appendChild(g(t,o)),f.appendChild(y),f.appendChild(_),f.appendChild(q),f.appendChild(P),e.length>1&&(f.appendChild(L),f.appendChild(M)),f.appendChild(j),f.appendChild(S),f.appendChild(B);let W=-1,T=null,F=!1,N=!1,D=!1,K=!1,$=!1,H="";const J="function"===typeof IntersectionObserver,G=()=>{S.replaceChildren(g(t,y.muted?i:r)),S.setAttribute("aria-label",y.muted?a.unmute:a.mute),S.setAttribute("aria-pressed",y.muted?"false":"true")},U=()=>{w&&(y.muted=!w.on),G()};w&&(w.listeners.push(U),U());const Y=t=>{if(!e.length)return;F=!0,N=!1,D=!0,W=(t%e.length+e.length)%e.length,T=e[W],V(T),f.setAttribute("data-wht-clip",String(W)),E.forEach((t,e)=>{t.style.width=e<W?"100%":"0"}),k();const a=T,o=a.stream||a.url,r=()=>{if(T===a)try{y.currentTime=a.start}catch(t){}},i=()=>{if(T!==a)return;const t=y.play();t&&t.catch&&t.catch(()=>{})},s=t=>{if(T===a){if(t||y.readyState<1)return y.addEventListener("loadedmetadata",()=>{r(),i()},{once:!0}),void(t||i());r(),i()}};if(o!==H){H=o;const t=(null!=a.end?a.end:a.start+12)-a.start;d=e=>{T===a&&(e.attachSource(y,o,e.PRIORITY.ACTIVE,{bufferAhead:Math.max(6,Math.min(15,t+4))}),s(!0))},C?d(C):(A||(A=Promise.all([n.e(296),n.e(71)]).then(n.bind(n,725)).then(t=>(C=t,t))),A.then(d).catch(()=>{}))}else s(!1);var d;p&&p(W)},X=()=>{const t=y.play();t&&t.catch&&t.catch(()=>{})},Q=()=>{N=!0;try{y.pause()}catch(t){}};J&&(new IntersectionObserver(t=>{$=t.some(t=>t.isIntersecting),$&&D&&k()},{rootMargin:"600px 0px"}).observe(f),new IntersectionObserver(t=>{K=t.some(t=>t.isIntersecting&&t.intersectionRatio>=.25),D&&(!K||N||h?K||(()=>{if(F&&!y.paused)try{y.pause()}catch(t){}})():F?X():Y(0))},{threshold:[0,.25,.5]}).observe(f));const Z=e=>{j.replaceChildren(g(t,e?d:o)),j.setAttribute("aria-label",e?a.pause:a.play)};let tt=0,et=null,nt=null;const at=()=>{et&&Number.isFinite(y.duration)&&y.duration>0&&(nt=Math.round(10*y.duration)/10)};y.addEventListener("durationchange",at);const ot=()=>{if(!tt||!et)return;const t=(Date.now()-tt)/1e3,e=et,n=nt;tt=0,et=null,nt=null,t>=1&&v&&v.onWatched&&e.event&&v.onWatched(e,{watchTime:Math.round(10*t)/10,duration:n})};m.add(()=>{const t=et&&!y.paused;ot(),t&&(tt=Date.now(),et=T,at())}),y.addEventListener("playing",()=>{f.setAttribute("data-wht-playing",""),Z(!0),T&&(et&&et.eventId!==T.eventId&&ot(),tt||(tt=Date.now(),et=T,at()),!(v&&v.onView&&T.event)||v.viewed&&v.viewed.has(T.eventId)||(v.viewed&&v.viewed.add(T.eventId),v.onView(T)))}),y.addEventListener("pause",()=>{f.removeAttribute("data-wht-playing"),Z(!1),ot()}),y.addEventListener("emptied",()=>{f.removeAttribute("data-wht-playing"),Z(!1),ot()}),j.addEventListener("click",t=>{t.stopPropagation(),F?y.paused?(N=!1,X()):Q():Y(0)}),B.addEventListener("click",t=>{t.stopPropagation(),F?(N=!1,X()):Y(0)}),y.addEventListener("timeupdate",()=>{if(!T)return;const t=null!=T.end?T.end:y.duration||0,e=Math.max(.1,t-T.start);E[W].style.width=Math.max(0,Math.min(100,(y.currentTime-T.start)/e*100))+"%",null!=T.end&&y.currentTime>=T.end&&Y(W+1)}),y.addEventListener("ended",()=>Y(W+1));S.addEventListener("click",t=>{t.stopPropagation(),(()=>{if(!w)return y.muted=!y.muted,void G();w.on=y.muted,w.listeners.forEach(t=>t())})()}),L.addEventListener("click",t=>{t.stopPropagation(),Y(W-1)}),M.addEventListener("click",t=>{t.stopPropagation(),Y(W+1)}),y.addEventListener("click",t=>{if(!F)return void Y(0);const n=y.getBoundingClientRect(),a=(t.clientX-n.left)/Math.max(1,n.width);e.length>1&&a<.22?Y(W-1):e.length>1&&a>.78?Y(W+1):y.paused?(N=!1,X()):Q()}),f.addEventListener("keydown",t=>{"ArrowRight"===t.key&&e.length>1?(t.preventDefault(),Y(W+1)):"ArrowLeft"===t.key&&e.length>1?(t.preventDefault(),Y(W-1)):" "===t.key&&F&&(t.preventDefault(),y.paused?(N=!1,X()):Q())});return{element:f,play:Y,prime:k,start:()=>{D=!0,N=!1,J||(K=$=f.isConnected),$&&k(),!h&&K&&f.isConnected&&(F?X():Y(W<0?0:W))},pause:()=>{if(D=!1,F)try{y.pause()}catch(t){}},index:()=>W}}const x={eyebrow:"Shopper questions",title:"What the videos show",clips:t=>1===t?"1 clip":t+" clips",unmute:"Tap for sound",mute:"Mute",play:"Play",pause:"Pause",prev:"Previous moment",next:"Next moment",paid:"Paid partnership",views:"views",likes:"likes",viewPost:"View the original post",moment:(t,e)=>"Moment "+t+" of "+e};function k(t,e,n={}){const a=n.track?{onView:n.track.onView,onWatched:n.track.onWatched,viewed:new Set}:null,r={on:!1,listeners:[]},i=n.events||{},s=e&&e.sources||{},d=(e&&Array.isArray(e.sections)?e.sections:[]).map(t=>({label:String(t&&(t.label||t.context)||"").trim(),entries:(t&&t.entries||[]).filter(t=>t&&t.title)})).filter(t=>t.label&&t.entries.length);if(!d.length)return null;const l=Object.assign({},x,n.labels||{}),h="wht-va-"+(n.instanceKey||"r"),p=u(t,"section","wht-neo-va");p.setAttribute("data-wht-role","videoAnswers"),n.shopId&&p.setAttribute("data-wht-shop",String(n.shopId)),p.setAttribute("data-wht-widget",n.widgetKey||"wgt_default"),n.instanceKey&&p.setAttribute("data-wht-instance",n.instanceKey),p.setAttribute("data-wht-look",n.look||"a");const b="stacked"===n.layout;p.setAttribute("data-wht-layout",b?"stacked":"tabs");const m=u(t,"header","wht-neo-va-head");l.eyebrow&&m.appendChild(u(t,"p","wht-neo-va-eyebrow",l.eyebrow)),l.title&&m.appendChild(u(t,"h3","wht-neo-va-title",l.title)),l.eyebrow||l.title||(m.hidden=!0),p.appendChild(m);const k=b?null:u(t,"div","wht-neo-va-tabs");k&&(k.setAttribute("role","tablist"),p.appendChild(k));const C=u(t,"div","wht-neo-va-sections");p.appendChild(C);const A=[],_=t=>A.forEach(e=>{e!==t&&e.pause()});let z=null;const E=[];if(d.forEach((e,n)=>{const d=u(t,"div","wht-neo-va-section");d.id=h+"-p"+n,d.setAttribute("data-wht-section",e.label.toLowerCase().replace(/[^a-z0-9]+/g,"-"));let p=null;if(b){const a=u(t,"h4","wht-neo-va-section-label");a.id=h+"-t"+n,a.appendChild(u(t,"span","wht-neo-va-section-name",e.label)),a.appendChild(u(t,"span","wht-neo-va-section-n",String(e.entries.length))),d.setAttribute("role","region"),d.setAttribute("aria-labelledby",a.id),d.appendChild(a)}else d.setAttribute("role","tabpanel"),p=u(t,"button","wht-neo-va-tab"),p.type="button",p.id=h+"-t"+n,p.setAttribute("role","tab"),p.setAttribute("aria-controls",d.id),d.setAttribute("aria-labelledby",p.id),p.appendChild(u(t,"span","wht-neo-va-tab-label",e.label)),p.appendChild(u(t,"span","wht-neo-va-tab-n",String(e.entries.length))),k.appendChild(p);const m=[];e.entries.forEach((e,p)=>{const b=function(t,e,n){const a=[];for(const o of t&&t.evidence||[]){if(!o||!o.video_url)continue;const t=String(o.event_id),r=e&&e[t]||{},i=c(o.start),s=c(o.end),d=n&&n[t]||null;a.push({url:o.video_url,stream:w(r),eventId:t,event:e&&e[t]?e[t]:null,start:null==i?0:i,end:null!=s&&null!=i&&s>i?s:null,label:String(o.label||"").trim(),poster:r.poster_image||"",source:d?{handle:String(d.handle||"").replace(/^@/,""),type:"creator"===d.type?"creator":"brand",paid:!!d.paid,views:d.views,likes:d.likes,comments:d.comments,posted:d.posted||null,url:d.post_url||null}:{handle:"",type:"brand",paid:!1,views:r.total_views,likes:null,comments:null,posted:null,url:null}})}return a}(e,i,s),x=u(t,"div","wht-neo-va-entry"),k=h+"-"+n+"-"+p,C=u(t,"button","wht-neo-va-q");C.type="button",C.setAttribute("aria-controls",k),C.appendChild(u(t,"span","wht-neo-va-qtext",e.title)),b.length&&C.appendChild(u(t,"span","wht-neo-va-qmeta",l.clips(b.length))),C.appendChild(u(t,"span","wht-neo-va-chev",""));const E=u(t,"div","wht-neo-va-a");E.id=k;const S=u(t,"div","wht-neo-va-a-in");E.appendChild(S);const I=u(t,"div","wht-neo-va-text");e.body&&I.appendChild(u(t,"p","wht-neo-va-body",e.body)),S.appendChild(I);let L=null;if(b.length){const e=function(t,e,n){const a=u(t,"div","wht-neo-va-source"),o=u(t,"span","wht-neo-va-avatar",""),r=u(t,"div","wht-neo-va-source-main"),i=u(t,"a","wht-neo-va-handle",""),s=u(t,"span","wht-neo-va-tag",n.paid),d=u(t,"span","wht-neo-va-stats","");r.appendChild(i),r.appendChild(s),r.appendChild(d),a.appendChild(o),a.appendChild(r);const l=t=>{const r=e[t];if(!r)return;const l=r.source,h=!l.handle;a.setAttribute("data-wht-uncredited",h?"true":"false"),a.setAttribute("data-wht-type",l.type),a.setAttribute("data-wht-paid",l.paid?"true":"false"),o.hidden=h,i.hidden=h,i.textContent=l.handle?"@"+l.handle:"",l.url?(i.href=l.url,i.target="_blank",i.rel="noopener",i.title=n.viewPost):(i.removeAttribute("href"),i.removeAttribute("target"),i.removeAttribute("title")),s.hidden=!l.paid,o.textContent=l.handle.charAt(0).toUpperCase();const c=v(l.views),p=v(l.likes);d.textContent=[c&&c+" "+n.views,p&&p+" "+n.likes].filter(Boolean).join(" \xb7 "),d.hidden=!d.textContent,a.hidden=h&&d.hidden};return l(0),{element:a,show:l}}(t,b,l),n=u(t,"div","wht-neo-va-clips");b.length<2&&(n.hidden=!0);const i=b.map((e,a)=>{const r=u(t,"button","wht-neo-va-clip");return r.type="button",r.appendChild(g(t,o,"wht-neo-va-clip-icon")),e.label?r.appendChild(u(t,"span","wht-neo-va-clip-label",e.label)):r.appendChild(u(t,"span","wht-neo-va-clip-time",f(e))),r.title=f(e),r.setAttribute("aria-label",l.play+" "+(e.label||f(e))),r.addEventListener("click",()=>{_(L),L.play(a)}),n.appendChild(r),r}),s=t=>i.forEach((e,n)=>{n===t?e.setAttribute("data-wht-current",""):e.removeAttribute("data-wht-current")});s(0),L=y(t,b,l,t=>E.setAttribute("data-wht-ar",t),t=>{e.show(t),s(t)},a,r),A.push(L),S.appendChild(L.element),S.appendChild(n),S.appendChild(e.element)}const M=t=>{t?(z&&z.entry!==x&&z.close(),z={entry:x,close:()=>M(!1)},x.setAttribute("data-wht-open",""),L&&(_(L),L.start())):(z&&z.entry===x&&(z=null),x.removeAttribute("data-wht-open"),L&&L.pause()),C.setAttribute("aria-expanded",t?"true":"false")};C.addEventListener("click",()=>M(!x.hasAttribute("data-wht-open"))),M(!1),m.push(M),x.appendChild(C),x.appendChild(E),d.appendChild(x)}),C.appendChild(d),E.push({tab:p,sec:d,openFirst:()=>m[0](!0)})}),b)return E[0].openFirst(),p;const S=(t,e)=>{E.forEach((e,n)=>{const a=n===t;e.tab.setAttribute("aria-selected",a?"true":"false"),e.tab.tabIndex=a?0:-1,a?e.tab.setAttribute("data-wht-current",""):e.tab.removeAttribute("data-wht-current"),e.sec.hidden=!a}),_(null),E[t].openFirst(),e&&E[t].tab.focus(),k.scrollTo&&k.scrollWidth>k.clientWidth&&k.scrollTo({left:E[t].tab.offsetLeft-(k.clientWidth-E[t].tab.offsetWidth)/2,behavior:"smooth"})};return E.forEach((t,e)=>t.tab.addEventListener("click",()=>{t.sec.hidden&&S(e,!1)})),k.addEventListener("keydown",t=>{const e=E.findIndex(t=>!t.sec.hidden),n="ArrowRight"===t.key?1:"ArrowLeft"===t.key?-1:0;n&&(t.preventDefault(),S((e+n+E.length)%E.length,!0))}),S(0,!1),p}var C=n(1839),A=n(9439),_=n(3959),z=n(6387),E=".wht-neo-va{background:var(--wht-neo-va-bg,transparent);border-radius:var(--wht-neo-va-radius,0);color:var(--wht-neo-va-fg,#1a1a1a);padding:var(--wht-neo-va-pad,0)}.wht-neo-va-eyebrow{color:var(--wht-neo-va-eyebrow-fg,var(--wht-neo-va-muted,rgba(0,0,0,.55)));font-size:.72em;font-weight:500;letter-spacing:.18em;text-transform:uppercase}.wht-neo-va-title{font-family:var(--wht-neo-va-title-font,var(--font-heading-family,inherit));font-weight:var(--wht-neo-va-title-weight,400);letter-spacing:-.02em;line-height:1.15}.wht-neo-va-tab{background:var(--wht-neo-va-surface,#fff);border:1px solid var(--wht-neo-va-line,rgba(0,0,0,.14));border-radius:999px;color:var(--wht-neo-va-tab-fg,var(--wht-neo-va-fg,#1a1a1a));font-size:.95em;font-weight:500;padding:.6em 1.05em;transition:background .15s ease,color .15s ease,border-color .15s ease}.wht-neo-va-tab-n{color:var(--wht-neo-va-tab-n-fg,var(--wht-neo-va-muted,rgba(0,0,0,.5)));height:auto;min-width:0;padding:0}.wht-neo-va-tab[data-wht-current]{background:var(--wht-neo-va-tab-bg-current,var(--wht-neo-va-fg,#1a1a1a));border-color:var(--wht-neo-va-tab-bg-current,var(--wht-neo-va-fg,#1a1a1a));color:var(--wht-neo-va-tab-fg-current,#fff)}.wht-neo-va-tab[data-wht-current] .wht-neo-va-tab-n{color:inherit;opacity:.7}.wht-neo-va-tab:focus-visible{outline:2px solid var(--wht-neo-va-accent,var(--wht-neo-va-fg,#1a1a1a));outline-offset:2px}.wht-neo-va-section-label{color:var(--wht-neo-va-section-label-fg,var(--wht-neo-va-fg,#1a1a1a));font-family:var(--wht-neo-va-section-label-font,var(--wht-neo-va-title-font,var(--font-heading-family,inherit)));font-size:var(--wht-neo-va-section-label-size,1.2em);font-weight:var(--wht-neo-va-section-label-weight,500);letter-spacing:-.01em}.wht-neo-va-section-n{color:var(--wht-neo-va-section-n-fg,var(--wht-neo-va-muted,rgba(0,0,0,.5)));font-weight:400}.wht-neo-va-entry{background:var(--wht-neo-va-surface,#fff);border:1px solid var(--wht-neo-va-card-line,var(--wht-neo-va-line,rgba(0,0,0,.12)));border-radius:var(--wht-neo-va-card-radius,12px);transition:border-color .2s ease}.wht-neo-va-entry:not([data-wht-open]):hover{border-color:var(--wht-neo-va-muted,rgba(0,0,0,.3))}.wht-neo-va-q{border-radius:var(--wht-neo-va-card-radius,12px);font-size:var(--wht-neo-va-q-size,1.05em);font-weight:var(--wht-neo-va-q-weight,500);letter-spacing:-.01em;line-height:1.35}.wht-neo-va-q:focus-visible{outline:2px solid var(--wht-neo-va-accent,var(--wht-neo-va-fg,#1a1a1a));outline-offset:2px}.wht-neo-va-qmeta{color:var(--wht-neo-va-muted,rgba(0,0,0,.5));font-size:.8em;font-weight:400;letter-spacing:0}.wht-neo-va-chev{color:var(--wht-neo-va-muted,rgba(0,0,0,.55))}.wht-neo-va-body{color:var(--wht-neo-va-body-fg,var(--wht-neo-va-fg,#1a1a1a));font-size:var(--wht-neo-va-body-size,1em);line-height:1.65;opacity:var(--wht-neo-va-body-opacity,.88)}.wht-neo-va-clip{background:var(--wht-neo-va-chip-bg,transparent);border:1px solid var(--wht-neo-va-chip-line,var(--wht-neo-va-line,rgba(0,0,0,.2)));border-radius:999px;color:var(--wht-neo-va-chip-fg,var(--wht-neo-va-fg,#1a1a1a));font-size:.9em;padding:.55em 1em;transition:background .15s ease,color .15s ease,border-color .15s ease}.wht-neo-va-clip:hover{border-color:var(--wht-neo-va-chip-bg-current,var(--wht-neo-va-fg,#1a1a1a))}.wht-neo-va-clip-icon{fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}.wht-neo-va-clip-icon path{fill:none}.wht-neo-va-clip-label{color:inherit}.wht-neo-va-clip[data-wht-current]{background:var(--wht-neo-va-chip-bg-current,var(--wht-neo-va-fg,#1a1a1a));border-color:var(--wht-neo-va-chip-bg-current,var(--wht-neo-va-fg,#1a1a1a));color:var(--wht-neo-va-chip-fg-current,#fff)}.wht-neo-va-clip[data-wht-current] .wht-neo-va-clip-icon path{fill:currentColor}.wht-neo-va-clip[data-wht-current] .wht-neo-va-clip-label{color:inherit}.wht-neo-va-clip:focus-visible{outline:2px solid var(--wht-neo-va-accent,var(--wht-neo-va-fg,#1a1a1a));outline-offset:2px}.wht-neo-va-avatar{background:var(--wht-neo-va-avatar-bg,rgba(0,0,0,.07));color:var(--wht-neo-va-avatar-fg,var(--wht-neo-va-fg,#1a1a1a));font-size:.85em;font-weight:600}.wht-neo-va-handle{font-size:.95em;font-weight:500}.wht-neo-va-handle[href]:hover{text-decoration:underline;text-underline-offset:.15em}.wht-neo-va-tag{background:var(--wht-neo-va-tag-bg-paid,rgba(29,95,191,.1));border-radius:999px;color:var(--wht-neo-va-tag-fg-paid,#1d5fbf);font-size:.62em;font-weight:700;letter-spacing:.08em;padding:.2em .6em;text-transform:uppercase}.wht-neo-va-stats{color:var(--wht-neo-va-muted,rgba(0,0,0,.5));font-size:.85em}.wht-neo-va-stage{background:var(--wht-neo-va-stage-bg,#111);border-radius:var(--wht-neo-va-stage-radius,12px)}.wht-neo-va-seg{background:var(--wht-neo-va-seg-bg,hsla(0,0%,100%,.35))}.wht-neo-va-seg i{background:var(--wht-neo-va-seg-fill,#fff)}.wht-neo-va-mute{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:var(--wht-neo-va-control-bg,rgba(0,0,0,.5))}.wht-neo-va-mute:hover{background:var(--wht-neo-va-control-bg-hover,rgba(0,0,0,.75))}.wht-neo-va-nav,.wht-neo-va-toggle{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:var(--wht-neo-va-control-bg,rgba(0,0,0,.5))}.wht-neo-va-nav:hover,.wht-neo-va-toggle:hover{background:var(--wht-neo-va-control-bg-hover,rgba(0,0,0,.75))}.wht-neo-va-stage-play{background:var(--wht-neo-va-play-bg,hsla(0,0%,100%,.92));color:var(--wht-neo-va-play-fg,#111);transition:transform .15s ease}.wht-neo-va-stage-play:hover{transform:translate(-50%,-50%) scale(1.06)}.wht-neo-va-who{color:#fff;font-size:.82em;font-variant-numeric:tabular-nums;font-weight:500;text-shadow:0 1px 2px rgba(0,0,0,.5)}@container (min-width: 560px){.wht-neo-va-tabs{background:var(--wht-neo-va-tabs-bg,rgba(0,0,0,.055));border-radius:999px;padding:5px}.wht-neo-va-tab{background:transparent;border:0;color:var(--wht-neo-va-tab-fg,var(--wht-neo-va-muted,rgba(0,0,0,.6)));font-size:1em;padding:.7em 1.4em}.wht-neo-va-tab:hover{color:var(--wht-neo-va-fg,#1a1a1a)}.wht-neo-va-tab-n{background:var(--wht-neo-va-tab-n-bg,rgba(0,0,0,.07));height:1.55em;min-width:1.55em;padding:0 .4em}.wht-neo-va-tab[data-wht-current]{background:var(--wht-neo-va-tab-bg-current,var(--wht-neo-va-surface,#fff));box-shadow:0 1px 2px rgba(0,0,0,.08);color:var(--wht-neo-va-tab-fg-current,var(--wht-neo-va-fg,#1a1a1a))}.wht-neo-va-tab[data-wht-current] .wht-neo-va-tab-n{background:var(--wht-neo-va-tab-n-bg-current,var(--wht-neo-va-fg,#1a1a1a));color:var(--wht-neo-va-tab-n-fg-current,#fff);opacity:1}.wht-neo-va-q{font-size:var(--wht-neo-va-q-size,1.2em);font-weight:var(--wht-neo-va-q-weight,400)}.wht-neo-va-body{font-size:var(--wht-neo-va-body-size,1.07em)}}";const S=["tabs","stacked"];function I(t,e){const n=String(e||t&&t.layout||"tabs").toLowerCase();return S.includes(n)?n:"tabs"}function L(t,e){const n=t&&t[e];return"string"===typeof n&&n.trim()?n.trim():null}const M="https://consumer.whatmore.live",j="https://cdn-consumer.whatmore.live",P="wht-neo-va-critical",q="wht-neo-va-skin",R="videoAnswers",O=["a","b","c","d","e","f","g","h"],V={b:"family=Instrument+Serif",c:"family=Geist:wght@400;500;600",d:"family=Barlow+Condensed:wght@500;600;700"};const B='\n.wht-neo-va{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:var(--wht-neo-va-maxw,1000px);margin:var(--wht-neo-va-margin,24px auto);container-type:inline-size;font-family:var(--wht-neo-va-font,inherit);font-size:var(--wht-neo-va-font-size,14px);line-height:1.5}\n.wht-neo-va *,.wht-neo-va *::before,.wht-neo-va *::after{box-sizing:inherit}\n.wht-neo-va [hidden]{display:none!important}\n.wht-neo-va-head{text-align:center;margin-bottom:1.2em}\n.wht-neo-va-eyebrow{margin:0 0 .6em}\n.wht-neo-va-title{margin:0;font-size:var(--wht-neo-va-title-size,1.75em)}\n.wht-neo-va-tabs{display:flex;gap:.5em;width:max-content;max-width:100%;margin:0 auto 1.2em;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}\n.wht-neo-va-tabs::-webkit-scrollbar{display:none}\n.wht-neo-va-tab{display:inline-flex;align-items:center;gap:.5em;flex:0 0 auto;margin:0;font:inherit;line-height:1.2;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent}\n.wht-neo-va-tab-n{display:inline-flex;align-items:center;justify-content:center;min-width:1.55em;height:1.55em;padding:0 .4em;border-radius:999px;font-size:.78em;font-variant-numeric:tabular-nums}\n.wht-neo-va-sections,.wht-neo-va-section,.wht-neo-va-entry{display:block}\n.wht-neo-va-section-label{display:flex;align-items:baseline;gap:.5em;margin:0 0 .8em;font:inherit;line-height:1.2}\n.wht-neo-va-section-n{font-size:.78em;font-variant-numeric:tabular-nums}\n.wht-neo-va[data-wht-layout="stacked"] .wht-neo-va-section+.wht-neo-va-section{margin-top:var(--wht-neo-va-section-gap,2.4em)}\n.wht-neo-va-entry+.wht-neo-va-entry{margin-top:var(--wht-neo-va-card-gap,10px)}\n.wht-neo-va-q{display:flex;align-items:center;gap:.75em;width:100%;margin:0;padding:var(--wht-neo-va-card-pad-y,16px) var(--wht-neo-va-card-pad-x,16px);border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}\n.wht-neo-va-qtext{flex:1 1 auto;min-width:0}\n.wht-neo-va-qmeta{display:none;flex:0 0 auto;white-space:nowrap}\n.wht-neo-va-chev{display:grid;place-items:center;flex:0 0 auto;width:1.2em;height:1.2em}\n.wht-neo-va-chev::before{content:"";display:block;width:.5em;height:.5em;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-25%) rotate(45deg);transition:transform .25s ease}\n.wht-neo-va-entry[data-wht-open] .wht-neo-va-chev::before{transform:translateY(25%) rotate(225deg)}\n.wht-neo-va-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}\n.wht-neo-va-a-in{min-height:0;overflow:hidden;visibility:hidden;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"text" "stage" "clips" "source";column-gap:var(--wht-neo-va-cols-gap,36px);align-items:start;padding:0 var(--wht-neo-va-card-pad-x,16px);transition:visibility 0s .3s}\n.wht-neo-va-entry[data-wht-open] .wht-neo-va-a{grid-template-rows:1fr}\n.wht-neo-va-entry[data-wht-open] .wht-neo-va-a-in{visibility:visible;transition:none;padding-bottom:var(--wht-neo-va-card-pad-y,16px)}\n.wht-neo-va-text{grid-area:text;min-width:0}\n.wht-neo-va-body{margin:0}\n.wht-neo-va-clips{grid-area:clips;display:flex;flex-wrap:wrap;gap:.5em;margin-top:1em}\n.wht-neo-va-clip{display:inline-flex;align-items:center;gap:.55em;margin:0;font:inherit;line-height:1.2;white-space:nowrap;cursor:pointer}\n.wht-neo-va-clip-icon{width:.85em;height:.85em;flex:0 0 auto}\n.wht-neo-va-clip-time{font-variant-numeric:tabular-nums}\n.wht-neo-va-clip-label{display:inline}\n.wht-neo-va-source{grid-area:source;display:flex;align-items:center;gap:.75em;margin-top:1.1em;min-width:0}\n.wht-neo-va-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:2.2em;height:2.2em;border-radius:50%;overflow:hidden}\n.wht-neo-va-source-main{display:flex;flex-direction:column;align-items:flex-start;min-width:0}\n.wht-neo-va-handle{text-decoration:none;color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}\n.wht-neo-va-handle[href]{cursor:pointer}\n.wht-neo-va-tag{display:inline-block;white-space:nowrap}\n.wht-neo-va-stats{white-space:nowrap;font-variant-numeric:tabular-nums}\n.wht-neo-va-stage{grid-area:stage;position:relative;width:100%;margin-top:1em;aspect-ratio:9/16;overflow:hidden;background:#111}\n.wht-neo-va-stage::after{content:"";position:absolute;left:0;right:0;bottom:0;height:30%;pointer-events:none;background:var(--wht-neo-va-stage-scrim,linear-gradient(180deg,transparent,rgba(0,0,0,.5)))}\n.wht-neo-va-video{display:block;width:100%;height:100%;object-fit:cover;cursor:pointer}\n.wht-neo-va-progress{position:absolute;left:8px;right:8px;top:8px;z-index:2;display:flex;gap:3px;opacity:0;transition:opacity .2s}\n.wht-neo-va-stage[data-wht-clip] .wht-neo-va-progress{opacity:1}\n.wht-neo-va-seg{position:relative;display:block;flex:1 1 0;height:3px;padding:0;margin:0;border:0;border-radius:2px;overflow:hidden;cursor:pointer}\n.wht-neo-va-seg i{display:block;height:100%;width:0}\n.wht-neo-va-mute{position:absolute;right:10px;bottom:10px;z-index:2;display:none;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;cursor:pointer;color:#fff}\n.wht-neo-va-stage[data-wht-clip] .wht-neo-va-mute{display:inline-flex}\n.wht-neo-va-mute svg{width:18px;height:18px}\n.wht-neo-va-toggle{position:absolute;right:52px;bottom:10px;z-index:2;display:none;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;cursor:pointer;color:#fff}\n.wht-neo-va-stage[data-wht-clip] .wht-neo-va-toggle{display:inline-flex}\n.wht-neo-va-toggle svg{width:16px;height:16px}\n.wht-neo-va-stage[data-wht-clip] .wht-neo-va-who{max-width:calc(100% - 110px)}\n.wht-neo-va-nav{position:absolute;top:50%;z-index:2;display:none;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;transform:translateY(-50%);cursor:pointer;color:#fff;opacity:0;transition:opacity .2s}\n.wht-neo-va-nav svg{width:18px;height:18px}\n.wht-neo-va-nav[data-wht-dir="prev"]{left:8px}\n.wht-neo-va-nav[data-wht-dir="next"]{right:8px}\n.wht-neo-va-stage[data-wht-multi][data-wht-clip] .wht-neo-va-nav{display:inline-flex}\n.wht-neo-va-stage:hover .wht-neo-va-nav,.wht-neo-va-stage:focus-within .wht-neo-va-nav{opacity:1}\n@media (hover:none){.wht-neo-va-stage[data-wht-multi][data-wht-clip] .wht-neo-va-nav{opacity:.85}}\n.wht-neo-va-who{position:absolute;left:12px;bottom:12px;z-index:2;max-width:calc(100% - 60px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}\n.wht-neo-va-stage-play{position:absolute;left:50%;top:50%;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;transform:translate(-50%,-50%);cursor:pointer}\n.wht-neo-va-stage-play svg{width:22px;height:22px;margin-left:2px}\n.wht-neo-va-stage[data-wht-playing] .wht-neo-va-stage-play{display:none}\n.wht-neo-va-stage-by{position:absolute;left:12px;right:12px;top:22px;z-index:2;display:none;align-items:center;gap:8px;min-width:0;pointer-events:none}\n.wht-neo-va-stage-by-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:26px;height:26px;border-radius:50%}\n.wht-neo-va-stage-by-handle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n@container (max-width:559.98px){.wht-neo-va-head,.wht-neo-va-tabs,.wht-neo-va-sections{padding-inline:var(--wht-neo-va-gutter,16px)}.wht-neo-va-entry+.wht-neo-va-entry{margin-top:var(--wht-neo-va-card-gap,12px)}.wht-neo-va-q{padding:var(--wht-neo-va-card-pad-y,18px) var(--wht-neo-va-card-pad-x,18px)}.wht-neo-va-a-in{padding:0 var(--wht-neo-va-card-pad-x,18px)}.wht-neo-va-entry[data-wht-open] .wht-neo-va-a-in{padding-bottom:var(--wht-neo-va-card-pad-y,18px)}.wht-neo-va-stage{margin-top:1.25em}.wht-neo-va-a:not([data-wht-ar="wide"]) .wht-neo-va-stage{aspect-ratio:9/16!important;width:min(100%,calc(var(--wht-neo-va-stage-h-max,560px) * 9 / 16));margin-inline:auto}.wht-neo-va-clips{margin-top:1.25em}.wht-neo-va-source{margin-top:1.25em}}\n@container (min-width:560px){.wht-neo-va-head,.wht-neo-va-tabs,.wht-neo-va-sections{font-size:var(--wht-neo-va-font-size-wide,1.07em)}.wht-neo-va-entry+.wht-neo-va-entry{margin-top:var(--wht-neo-va-card-gap,12px)}.wht-neo-va-q{padding:var(--wht-neo-va-card-pad-y,24px) var(--wht-neo-va-card-pad-x,28px)}.wht-neo-va-a-in{padding:0 var(--wht-neo-va-card-pad-x,28px)}.wht-neo-va-entry[data-wht-open] .wht-neo-va-a-in{padding-bottom:var(--wht-neo-va-card-pad-y,28px)}.wht-neo-va-title{font-size:var(--wht-neo-va-title-size-wide,2.4em)}.wht-neo-va-head{margin-bottom:1.6em}.wht-neo-va-tabs{gap:2px;margin-bottom:2.4em}.wht-neo-va-qmeta{display:inline}.wht-neo-va-entry[data-wht-open] .wht-neo-va-qmeta{display:none}.wht-neo-va-source-main{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:.2em .8em}.wht-neo-va-a-in{grid-template-columns:minmax(0,1fr) var(--wht-neo-va-stage-w,250px);grid-template-rows:auto auto 1fr;grid-template-areas:"text stage" "clips stage" "source stage"}.wht-neo-va-a-in:not(:has(.wht-neo-va-stage)){grid-template-columns:minmax(0,1fr)}.wht-neo-va-stage{margin-top:0}.wht-neo-va-text{max-width:var(--wht-neo-va-measure,62ch)}.wht-neo-va-a[data-wht-ar="wide"] .wht-neo-va-a-in{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"text" "stage" "clips" "source"}.wht-neo-va-a[data-wht-ar="wide"] .wht-neo-va-stage{width:min(100%,var(--wht-neo-va-stage-w-max,560px));margin-top:1.1em}}\n@media (prefers-reduced-motion:reduce){.wht-neo-va-chev::before,.wht-neo-va-progress,.wht-neo-va-a,.wht-neo-va-a-in{transition:none}}\n';const W=t=>{const e=function(){try{return JSON.parse(localStorage.getItem("whatmore_brand_customizations")).customizations}catch(t){return null}}();return t.split(".").reduce((t,e)=>null==t?void 0:t[e],e)};function T({shopId:t,productId:e,storeFlags:n,hostname:a}){const o=!0===W("product_page_popup_config.show_all_events")||!0===W("recommendation_config.show_all_events_with_pdp");return`${function(t){return!0===W("backend_config.use_instance_endpoint_for_product_events")||t&&t.productEventsUseInstance?M:j}(n)}/v2/brand/${t}/product-events/recommendation/cdn?client_product_id=${e}&limit=10&recommended=${!o}&origin=${a}&status=live,upcoming&event_type=video,image`}async function F(t){const{rootElement:e,widgetContainer:n,shopId:a,productId:o,widgetIdentity:r,isDefaultIdentity:i,whatmoreRootId:s,storeFlags:d,neoJson:l,onWidgetView:h,onTileView:c,onEmbedVideoWatched:p}=t;if(!e||!a||!o)return!1;const v={};e.__whtVaRender=v;const w=()=>e.__whtVaRender!==v;(0,C.fz)(P,B);let u=null,g=null;try{const t=new URLSearchParams(window.location.search);u=t.get("neoskin"),g=t.get("neolayout")}catch($){}const b=i||!r?"wgt_default":r,f=["wgt_default"!==b?b:null,s].filter(Boolean),{look:m,stack:y}=await async function(t,e,n){const a=(0,C.RO)(t,R,e)||{},o=String(n||a.skin||"a").toLowerCase(),r=O.includes(o)?o:"a",i=a.customCss;let s="";"string"===typeof i?s=i:i&&"object"===typeof i&&"string"===typeof i[r]&&(s=i[r]);const d="a"===r?"":await(0,z.P)(R,r);return{look:r,stack:E+(d?"\n"+d:"")+("string"===typeof a.brandCss&&a.brandCss?"\n"+a.brandCss:"")+(s?"\n"+s:"")}}(l,f,u);if(w())return!0;let x;!function(t){const e=V[t];if(!e||document.getElementById("wht-neo-va-font-"+t))return;const n=document.createElement("link");n.id="wht-neo-va-font-"+t,n.rel="stylesheet",n.href="https://fonts.googleapis.com/css2?"+e+"&display=swap",document.head.appendChild(n)}(m),s?(0,C.fz)(q+"-"+s,(0,C.GJ)(y,':where([data-wht-instance="'+s+'"])')):(0,C.fz)(q,y);try{x=await fetch(T({shopId:a,productId:o,storeFlags:d,hostname:window.location.hostname})).then(t=>t.json())}catch($){x=null}if(w())return!0;let S=x&&x.video_sense;try{const t=e.closest?e.closest(".whatmore-base"):null,n=t&&t.querySelector("#whatmoreVideoAnswersDraft");if(n){const t=JSON.parse(n.textContent||"null");t&&Array.isArray(t.sections)&&(S=t)}}catch($){}if(!S)return!1;const M={};for(const k of[].concat(x&&x.events||[],x&&x.related_events||[],x&&x.all_events||[]))k&&null!=k.event_id&&!M[String(k.event_id)]&&(M[String(k.event_id)]=k);const j=(0,C.RO)(l,R,f)||{},W=L(j,"title"),F=L(j,"eyebrow"),N=!(j&&!0===j.hideEyebrow),D=k(document,S,{track:c||p?{onView:t=>{c&&t.event&&c(t.event)},onWatched:(t,e)=>{p&&t.event&&p(t.event,e)}}:null,shopId:a,widgetKey:b,instanceKey:s,look:m,layout:I(j,g),events:M,labels:{eyebrow:N?null!==F?F:(0,_.rB)("video_answers_eyebrow","Shopper questions"):"",title:null!==W?W:(0,_.rB)("video_answers_title","What the videos show"),unmute:(0,_.rB)("video_answers_unmute","Tap for sound"),mute:(0,_.rB)("video_answers_mute","Mute"),play:(0,_.rB)("video_answers_play","Play"),pause:(0,_.rB)("video_answers_pause","Pause"),paid:(0,_.rB)("video_answers_paid","Paid partnership"),viewPost:(0,_.rB)("video_answers_view_post","View the original post")}});if(!D)return!1;const K=function(t){const e=(t,e,n)=>{const a=Number(t);return Number.isFinite(a)&&""!==t&&null!==t?Math.min(n,Math.max(e,Math.round(a))):null},n=e(t&&t.spaceAbove,0,200),a=e(t&&t.spaceBelow,0,200),o=e(t&&t.maxWidth,320,2e3),r={};return null===n&&null===a||(r["--wht-neo-va-margin"]=(null!==n?n:24)+"px auto "+(null!==a?a:24)+"px"),null!==o&&(r["--wht-neo-va-maxw"]=o+"px"),r}(j);if(Object.keys(K).forEach(t=>D.style.setProperty(t,K[t])),h)if("function"===typeof IntersectionObserver){const t=new IntersectionObserver(e=>{e.some(t=>t.isIntersecting&&t.intersectionRatio>=.25)&&(t.disconnect(),h())},{threshold:[0,.25]});t.observe(D)}else h();return s&&e.setAttribute("data-wht-instance",s),(0,A.Vo)(D,n||e),e.replaceChildren(D),e.style.opacity="1",e.removeAttribute("data-shimmer-active"),!0}},1839:function(t,e,n){function a(t,e){let n=document.getElementById(t);n||(n=document.createElement("style"),n.id=t,document.head.appendChild(n)),n.textContent=e}function o(t,e){if(!t||!e)return t||"";const n=document.createElement("style");n.media="not all",n.textContent=t,document.head.appendChild(n);let a=t;try{const t=n.sheet;t&&(r(t.cssRules,e),a=function(t){let e="";for(let n=0;n<t.length;n++)e+=t[n].cssText+"\n";return e}(t.cssRules))}catch(o){}return n.remove(),a}function r(t,e){for(let n=0;n<t.length;n++){const a=t[n];void 0!==a.selectorText&&void 0!==a.style?a.selectorText=i(a.selectorText,e):!a.cssRules||"undefined"!==typeof CSSKeyframesRule&&a instanceof CSSKeyframesRule||r(a.cssRules,e)}}function i(t,e){return function(t){const e=[];let n=0,a="";for(let o=0;o<t.length;o++){const r=t[o];"("===r||"["===r?n++:")"!==r&&"]"!==r||n--,","===r&&0===n?(e.push(a),a=""):a+=r}return e.push(a),e}(t).map(t=>{const n=t.trim();return n?e+" "+n:n}).join(", ")}function s(t,e,n,a){if(!t)return null;const o=t[e];if(!o||"object"!==typeof o)return Object.assign({},t,{brandCss:""});const r="string"===typeof t.customCss?t.customCss:"",i=t.shopper&&t.shopper.widgets&&t.shopper.widgets[e],s=d(o.widgets,n)||d(i,n),l=s?null:function(t){return 0===String(t||"").indexOf("product")?"product":null}(a),h=l&&o[l]&&"object"===typeof o[l]?o[l]:null,c=s?Object.assign({},o,s):h?Object.assign({},o,h):o;return Object.assign({},c,{brandCss:r,perInstance:!!s,pageScoped:!!h})}function d(t,e){if(!t||"object"!==typeof t||!e)return null;const n=Array.isArray(e)?e:[e];for(let a=0;a<n.length;a++){const e=n[a];if(null==e||""===e)continue;const o=t[e];if(o&&"object"===typeof o)return o}return null}n.d(e,{GJ:function(){return o},RO:function(){return s},fz:function(){return a}})},6387:function(t,e,n){n.d(e,{P:function(){return o}});const a={standard:()=>n.e(508).then(n.t.bind(n,5071,17)),card:()=>n.e(545).then(n.t.bind(n,9362,17)),"mosaic-ring":()=>n.e(457).then(n.t.bind(n,8171,17)),"mosaic-plain":()=>n.e(764).then(n.t.bind(n,5635,17)),hoverplay:()=>n.e(781).then(n.t.bind(n,3168,17)),"info-strip":()=>n.e(94).then(n.t.bind(n,2109,17)),"text-overlay":()=>n.e(833).then(n.t.bind(n,3930,17)),focused:()=>n.e(506).then(n.t.bind(n,1987,17)),coverflow:()=>n.e(172).then(n.t.bind(n,9033,17)),minimal:()=>n.e(244).then(n.t.bind(n,3981,17)),feed:()=>n.e(315).then(n.t.bind(n,7456,17)),circle:()=>n.e(31).then(n.t.bind(n,5112,17)),viewmore:()=>n.e(343).then(n.t.bind(n,7672,17)),overlay:()=>n.e(936).then(n.t.bind(n,75,17)),"shop-the-look":()=>n.e(696).then(n.t.bind(n,9902,17)),"stories-b":()=>n.e(565).then(n.t.bind(n,1958,17)),"videoAnswers-b":()=>n.e(169).then(n.t.bind(n,3426,17)),"videoAnswers-c":()=>n.e(776).then(n.t.bind(n,6683,17)),"videoAnswers-d":()=>n.e(799).then(n.t.bind(n,3864,17)),"videoAnswers-e":()=>n.e(990).then(n.t.bind(n,713,17)),"videoAnswers-f":()=>n.e(989).then(n.t.bind(n,7742,17)),"videoAnswers-g":()=>n.e(596).then(n.t.bind(n,5543,17)),"videoAnswers-h":()=>n.e(395).then(n.t.bind(n,7604,17)),"product-broad-no-cta":()=>n.e(838).then(n.t.bind(n,5955,17)),"product-broad-atc":()=>n.e(648).then(n.t.bind(n,2699,17)),"product-narrow":()=>n.e(594).then(n.t.bind(n,4859,17)),"product-premium":()=>n.e(566).then(n.t.bind(n,2529,17)),"product-navigation":()=>n.e(45).then(n.t.bind(n,4368,17)),"product-multi-product":()=>n.e(856).then(n.t.bind(n,3703,17)),"product-thumbnail-strip":()=>n.e(620).then(n.t.bind(n,4383,17)),"product-link-only":()=>n.e(750).then(n.t.bind(n,3365,17)),"product-minimal-atc":()=>n.e(685).then(n.t.bind(n,1890,17))};async function o(t,e){const n=a["carousel"===t||"collections"===t?e:t+"-"+e];if(!n)return"";try{return(await n()).default||""}catch(o){return""}}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[507],{1752:function(t,e,n){n.d(e,{renderNeoVideoAnswers:function(){return N}});const a="http://www.w3.org/2000/svg",o="M8 5.5v13l11-6.5z",r="M4 9v6h4l5 4V5L8 9H4zm11.5 3a3.5 3.5 0 0 0-2-3.2v6.4a3.5 3.5 0 0 0 2-3.2zm-2-7.6v2.1a6 6 0 0 1 0 11v2.1a8 8 0 0 0 0-15.2z",i="M4 9v6h4l5 4V5L8 9H4zm12.6 3 2.7-2.7-1.4-1.4-2.7 2.7-2.7-2.7-1.4 1.4 2.7 2.7-2.7 2.7 1.4 1.4 2.7-2.7 2.7 2.7 1.4-1.4z",s="M15.4 7.4 14 6l-6 6 6 6 1.4-1.4L10.8 12z",d="M7 5h3.5v14H7zm6.5 0H17v14h-3.5z",h="M8.6 16.6 10 18l6-6-6-6-1.4 1.4 4.6 4.6z",l="undefined"!==typeof window&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function c(t){if(null==t)return null;if("number"===typeof t&&isFinite(t))return t;const e=String(t).trim().split(":").map(t=>parseInt(t,10));return!e.length||e.some(t=>!isFinite(t))?null:e.reduce((t,e)=>60*t+e,0)}function p(t){const e=Math.max(0,Math.round(t||0));return Math.floor(e/60)+":"+String(e%60).padStart(2,"0")}function v(t){const e="string"===typeof t?parseFloat(t):t;return"number"===typeof e&&isFinite(e)&&e>0?e>=1e6?(e/1e6).toFixed(e>=1e7?0:1).replace(/\.0$/,"")+"M":e>=1e3?(e/1e3).toFixed(e>=1e4?0:1).replace(/\.0$/,"")+"K":String(Math.round(e)):null}function w(t){const e=t&&t.event_media_urls&&t.event_media_urls.secondary,n=e&&e.portrait&&e.portrait.content_video_m3u8_original||t&&t.event_m3u8_url||"";return/\.m3u8(\?|$)/i.test(n)?n:""}function u(t,e,n,a){const o=t.createElement(e);return n&&(o.className=n),null!=a&&(o.textContent=a),o}function g(t,e,n){const o=t.createElementNS(a,"svg");o.setAttribute("viewBox","0 0 24 24"),o.setAttribute("aria-hidden","true"),o.setAttribute("focusable","false"),n&&o.setAttribute("class",n);const r=t.createElementNS(a,"path");return r.setAttribute("d",e),r.setAttribute("fill","currentColor"),o.appendChild(r),o}function b(t,e,n,a){if(!(e>0&&n>0))return;const o=Math.min(16/9,Math.max(9/16,e/n));t.style.aspectRatio=String(o);const r=o>1.05?"wide":o>.7?"tall":"portrait";t.setAttribute("data-wht-ar",r),a&&a(r)}function f(t){return p(t.start)+(null!=t.end?"\u2013"+p(t.end):"")}const m=new Set;if("undefined"!==typeof document&&document.addEventListener){const t=()=>m.forEach(t=>t());document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&t()}),"undefined"!==typeof window&&window.addEventListener("pagehide",t)}function y(t,e,a,c,p,v,w){const f=u(t,"div","wht-neo-va-stage"),y=u(t,"video","wht-neo-va-video");y.setAttribute("playsinline",""),y.setAttribute("muted",""),y.muted=!0,y.preload="none",e.length>1&&f.setAttribute("data-wht-multi","");let x=!1;const k=()=>{!x&&e[0]&&(x=!0,e[0].poster&&(y.setAttribute("poster",e[0].poster),function(t,e,n,a){const o=u(t,"img");o.decoding="async",o.addEventListener("load",()=>{e.hasAttribute("data-wht-ar-media")||b(e,o.naturalWidth,o.naturalHeight,a)}),o.src=n}(t,f,e[0].poster,c)))};let C=null,A=null;y.addEventListener("loadedmetadata",()=>{f.setAttribute("data-wht-ar-media",""),b(f,y.videoWidth,y.videoHeight,c)});const _=u(t,"div","wht-neo-va-progress"),z=e.reduce((t,e)=>t+Math.max(1,(null!=e.end?e.end:e.start+6)-e.start),0),E=e.map((n,o)=>{const r=u(t,"button","wht-neo-va-seg");r.type="button",r.tabIndex=-1,r.setAttribute("aria-label",a.moment(o+1,e.length)),r.style.flexGrow=String(Math.max(1,(null!=n.end?n.end:n.start+6)-n.start)/z);const i=u(t,"i","");return r.appendChild(i),_.appendChild(r),r.addEventListener("click",t=>{t.stopPropagation(),Y(o)}),i}),S=u(t,"button","wht-neo-va-mute");S.type="button",S.setAttribute("aria-label",a.unmute),S.setAttribute("aria-pressed","false"),S.appendChild(g(t,i));const I=(e,n,a)=>{const o=u(t,"button","wht-neo-va-nav");return o.type="button",o.setAttribute("data-wht-dir",e),o.setAttribute("aria-label",a),o.appendChild(g(t,n)),o},L=I("prev",s,a.prev),M=I("next",h,a.next),j=u(t,"button","wht-neo-va-toggle");j.type="button",j.setAttribute("aria-label",a.pause),j.appendChild(g(t,d));const P=u(t,"span","wht-neo-va-who",""),q=u(t,"div","wht-neo-va-stage-by"),R=u(t,"span","wht-neo-va-stage-by-avatar",""),O=u(t,"span","wht-neo-va-stage-by-handle","");q.appendChild(R),q.appendChild(O);const V=t=>{P.textContent=t.source.handle?"@"+t.source.handle:"",q.hidden=!t.source.handle,O.textContent=t.source.handle?"@"+t.source.handle:"",R.textContent=t.source.handle.charAt(0).toUpperCase()};e[0]&&V(e[0]);const B=u(t,"button","wht-neo-va-stage-play");B.type="button",B.setAttribute("aria-label",a.play),B.appendChild(g(t,o)),f.appendChild(y),f.appendChild(_),f.appendChild(q),f.appendChild(P),e.length>1&&(f.appendChild(L),f.appendChild(M)),f.appendChild(j),f.appendChild(S),f.appendChild(B);let W=-1,T=null,F=!1,N=!1,D=!1,K=!1,$=!1,H="";const J="function"===typeof IntersectionObserver,G=()=>{S.replaceChildren(g(t,y.muted?i:r)),S.setAttribute("aria-label",y.muted?a.unmute:a.mute),S.setAttribute("aria-pressed",y.muted?"false":"true")},U=()=>{w&&(y.muted=!w.on),G()};w&&(w.listeners.push(U),U());const Y=t=>{if(!e.length)return;F=!0,N=!1,D=!0,W=(t%e.length+e.length)%e.length,T=e[W],V(T),f.setAttribute("data-wht-clip",String(W)),E.forEach((t,e)=>{t.style.width=e<W?"100%":"0"}),k();const a=T,o=a.stream||a.url,r=()=>{if(T===a)try{y.currentTime=a.start}catch(t){}},i=()=>{if(T!==a)return;const t=y.play();t&&t.catch&&t.catch(()=>{})},s=t=>{if(T===a){if(t||y.readyState<1)return y.addEventListener("loadedmetadata",()=>{r(),i()},{once:!0}),void(t||i());r(),i()}};if(o!==H){H=o;const t=(null!=a.end?a.end:a.start+12)-a.start;d=e=>{T===a&&(e.attachSource(y,o,e.PRIORITY.ACTIVE,{bufferAhead:Math.max(6,Math.min(15,t+4))}),s(!0))},C?d(C):(A||(A=Promise.all([n.e(296),n.e(71)]).then(n.bind(n,725)).then(t=>(C=t,t))),A.then(d).catch(()=>{}))}else s(!1);var d;p&&p(W)},X=()=>{const t=y.play();t&&t.catch&&t.catch(()=>{})},Q=()=>{N=!0;try{y.pause()}catch(t){}};J&&(new IntersectionObserver(t=>{$=t.some(t=>t.isIntersecting),$&&D&&k()},{rootMargin:"600px 0px"}).observe(f),new IntersectionObserver(t=>{K=t.some(t=>t.isIntersecting&&t.intersectionRatio>=.25),D&&(!K||N||l?K||(()=>{if(F&&!y.paused)try{y.pause()}catch(t){}})():F?X():Y(0))},{threshold:[0,.25,.5]}).observe(f));const Z=e=>{j.replaceChildren(g(t,e?d:o)),j.setAttribute("aria-label",e?a.pause:a.play)};let tt=0,et=null,nt=null;const at=()=>{et&&Number.isFinite(y.duration)&&y.duration>0&&(nt=Math.round(10*y.duration)/10)};y.addEventListener("durationchange",at);const ot=()=>{if(!tt||!et)return;const t=(Date.now()-tt)/1e3,e=et,n=nt;tt=0,et=null,nt=null,t>=1&&v&&v.onWatched&&e.event&&v.onWatched(e,{watchTime:Math.round(10*t)/10,duration:n})};m.add(()=>{const t=et&&!y.paused;ot(),t&&(tt=Date.now(),et=T,at())}),y.addEventListener("playing",()=>{f.setAttribute("data-wht-playing",""),Z(!0),T&&(et&&et.eventId!==T.eventId&&ot(),tt||(tt=Date.now(),et=T,at()),!(v&&v.onView&&T.event)||v.viewed&&v.viewed.has(T.eventId)||(v.viewed&&v.viewed.add(T.eventId),v.onView(T)))}),y.addEventListener("pause",()=>{f.removeAttribute("data-wht-playing"),Z(!1),ot()}),y.addEventListener("emptied",()=>{f.removeAttribute("data-wht-playing"),Z(!1),ot()}),j.addEventListener("click",t=>{t.stopPropagation(),F?y.paused?(N=!1,X()):Q():Y(0)}),B.addEventListener("click",t=>{t.stopPropagation(),F?(N=!1,X()):Y(0)}),y.addEventListener("timeupdate",()=>{if(!T)return;const t=null!=T.end?T.end:y.duration||0,e=Math.max(.1,t-T.start);E[W].style.width=Math.max(0,Math.min(100,(y.currentTime-T.start)/e*100))+"%",null!=T.end&&y.currentTime>=T.end&&Y(W+1)}),y.addEventListener("ended",()=>Y(W+1));S.addEventListener("click",t=>{t.stopPropagation(),(()=>{if(!w)return y.muted=!y.muted,void G();w.on=y.muted,w.listeners.forEach(t=>t())})()}),L.addEventListener("click",t=>{t.stopPropagation(),Y(W-1)}),M.addEventListener("click",t=>{t.stopPropagation(),Y(W+1)}),y.addEventListener("click",t=>{if(!F)return void Y(0);const n=y.getBoundingClientRect(),a=(t.clientX-n.left)/Math.max(1,n.width);e.length>1&&a<.22?Y(W-1):e.length>1&&a>.78?Y(W+1):y.paused?(N=!1,X()):Q()}),f.addEventListener("keydown",t=>{"ArrowRight"===t.key&&e.length>1?(t.preventDefault(),Y(W+1)):"ArrowLeft"===t.key&&e.length>1?(t.preventDefault(),Y(W-1)):" "===t.key&&F&&(t.preventDefault(),y.paused?(N=!1,X()):Q())});return{element:f,play:Y,prime:k,start:()=>{D=!0,N=!1,J||(K=$=f.isConnected),$&&k(),!l&&K&&f.isConnected&&(F?X():Y(W<0?0:W))},pause:()=>{if(D=!1,F)try{y.pause()}catch(t){}},index:()=>W}}const x={eyebrow:"Shopper questions",title:"What the videos show",clips:t=>1===t?"1 clip":t+" clips",unmute:"Tap for sound",mute:"Mute",play:"Play",pause:"Pause",prev:"Previous moment",next:"Next moment",paid:"Paid partnership",views:"views",likes:"likes",viewPost:"View the original post",moment:(t,e)=>"Moment "+t+" of "+e};function k(t,e,n={}){const a=n.track?{onView:n.track.onView,onWatched:n.track.onWatched,viewed:new Set}:null,r={on:!1,listeners:[]},i=n.events||{},s=e&&e.sources||{},d=(e&&Array.isArray(e.sections)?e.sections:[]).map(t=>({label:String(t&&(t.label||t.context)||"").trim(),entries:(t&&t.entries||[]).filter(t=>t&&t.title)})).filter(t=>t.label&&t.entries.length);if(!d.length)return null;const h=Object.assign({},x,n.labels||{}),l="wht-va-"+(n.instanceKey||"r"),p=u(t,"section","wht-neo-va");p.setAttribute("data-wht-role","videoAnswers"),n.shopId&&p.setAttribute("data-wht-shop",String(n.shopId)),p.setAttribute("data-wht-widget",n.widgetKey||"wgt_default"),n.instanceKey&&p.setAttribute("data-wht-instance",n.instanceKey),p.setAttribute("data-wht-look",n.look||"a");const b="stacked"===n.layout;p.setAttribute("data-wht-layout",b?"stacked":"tabs");const m=u(t,"header","wht-neo-va-head");h.eyebrow&&m.appendChild(u(t,"p","wht-neo-va-eyebrow",h.eyebrow)),h.title&&m.appendChild(u(t,"h3","wht-neo-va-title",h.title)),h.eyebrow||h.title||(m.hidden=!0),p.appendChild(m);const k=b?null:u(t,"div","wht-neo-va-tabs");k&&(k.setAttribute("role","tablist"),p.appendChild(k));const C=u(t,"div","wht-neo-va-sections");p.appendChild(C);const A=[],_=t=>A.forEach(e=>{e!==t&&e.pause()});let z=null;const E=[];if(d.forEach((e,n)=>{const d=u(t,"div","wht-neo-va-section");d.id=l+"-p"+n,d.setAttribute("data-wht-section",e.label.toLowerCase().replace(/[^a-z0-9]+/g,"-"));let p=null;if(b){const a=u(t,"h4","wht-neo-va-section-label");a.id=l+"-t"+n,a.appendChild(u(t,"span","wht-neo-va-section-name",e.label)),a.appendChild(u(t,"span","wht-neo-va-section-n",String(e.entries.length))),d.setAttribute("role","region"),d.setAttribute("aria-labelledby",a.id),d.appendChild(a)}else d.setAttribute("role","tabpanel"),p=u(t,"button","wht-neo-va-tab"),p.type="button",p.id=l+"-t"+n,p.setAttribute("role","tab"),p.setAttribute("aria-controls",d.id),d.setAttribute("aria-labelledby",p.id),p.appendChild(u(t,"span","wht-neo-va-tab-label",e.label)),p.appendChild(u(t,"span","wht-neo-va-tab-n",String(e.entries.length))),k.appendChild(p);const m=[];e.entries.forEach((e,p)=>{const b=function(t,e,n){const a=[];for(const o of t&&t.evidence||[]){if(!o||!o.video_url)continue;const t=String(o.event_id),r=e&&e[t]||{},i=c(o.start),s=c(o.end),d=n&&n[t]||null;a.push({url:o.video_url,stream:w(r),eventId:t,event:e&&e[t]?e[t]:null,start:null==i?0:i,end:null!=s&&null!=i&&s>i?s:null,label:String(o.label||"").trim(),poster:r.poster_image||"",source:d?{handle:String(d.handle||"").replace(/^@/,""),type:"creator"===d.type?"creator":"brand",paid:!!d.paid,views:d.views,likes:d.likes,comments:d.comments,posted:d.posted||null,url:d.post_url||null}:{handle:"",type:"brand",paid:!1,views:r.total_views,likes:null,comments:null,posted:null,url:null}})}return a}(e,i,s),x=u(t,"div","wht-neo-va-entry"),k=l+"-"+n+"-"+p,C=u(t,"button","wht-neo-va-q");C.type="button",C.setAttribute("aria-controls",k),C.appendChild(u(t,"span","wht-neo-va-qtext",e.title)),b.length&&C.appendChild(u(t,"span","wht-neo-va-qmeta",h.clips(b.length))),C.appendChild(u(t,"span","wht-neo-va-chev",""));const E=u(t,"div","wht-neo-va-a");E.id=k;const S=u(t,"div","wht-neo-va-a-in");E.appendChild(S);const I=u(t,"div","wht-neo-va-text");e.body&&I.appendChild(u(t,"p","wht-neo-va-body",e.body)),S.appendChild(I);let L=null;if(b.length){const e=function(t,e,n){const a=u(t,"div","wht-neo-va-source"),o=u(t,"span","wht-neo-va-avatar",""),r=u(t,"div","wht-neo-va-source-main"),i=u(t,"a","wht-neo-va-handle",""),s=u(t,"span","wht-neo-va-tag",n.paid),d=u(t,"span","wht-neo-va-stats","");r.appendChild(i),r.appendChild(s),r.appendChild(d),a.appendChild(o),a.appendChild(r);const h=t=>{const r=e[t];if(!r)return;const h=r.source,l=!h.handle;a.setAttribute("data-wht-uncredited",l?"true":"false"),a.setAttribute("data-wht-type",h.type),a.setAttribute("data-wht-paid",h.paid?"true":"false"),o.hidden=l,i.hidden=l,i.textContent=h.handle?"@"+h.handle:"",h.url?(i.href=h.url,i.target="_blank",i.rel="noopener",i.title=n.viewPost):(i.removeAttribute("href"),i.removeAttribute("target"),i.removeAttribute("title")),s.hidden=!h.paid,o.textContent=h.handle.charAt(0).toUpperCase();const c=v(h.views),p=v(h.likes);d.textContent=[c&&c+" "+n.views,p&&p+" "+n.likes].filter(Boolean).join(" \xb7 "),d.hidden=!d.textContent,a.hidden=l&&d.hidden};return h(0),{element:a,show:h}}(t,b,h),n=u(t,"div","wht-neo-va-clips");b.length<2&&(n.hidden=!0);const i=b.map((e,a)=>{const r=u(t,"button","wht-neo-va-clip");return r.type="button",r.appendChild(g(t,o,"wht-neo-va-clip-icon")),e.label?r.appendChild(u(t,"span","wht-neo-va-clip-label",e.label)):r.appendChild(u(t,"span","wht-neo-va-clip-time",f(e))),r.title=f(e),r.setAttribute("aria-label",h.play+" "+(e.label||f(e))),r.addEventListener("click",()=>{_(L),L.play(a)}),n.appendChild(r),r}),s=t=>i.forEach((e,n)=>{n===t?e.setAttribute("data-wht-current",""):e.removeAttribute("data-wht-current")});s(0),L=y(t,b,h,t=>E.setAttribute("data-wht-ar",t),t=>{e.show(t),s(t)},a,r),A.push(L),S.appendChild(L.element),S.appendChild(n),S.appendChild(e.element)}const M=t=>{t?(z&&z.entry!==x&&z.close(),z={entry:x,close:()=>M(!1)},x.setAttribute("data-wht-open",""),L&&(_(L),L.start())):(z&&z.entry===x&&(z=null),x.removeAttribute("data-wht-open"),L&&L.pause()),C.setAttribute("aria-expanded",t?"true":"false")};C.addEventListener("click",()=>M(!x.hasAttribute("data-wht-open"))),M(!1),m.push(M),x.appendChild(C),x.appendChild(E),d.appendChild(x)}),C.appendChild(d),E.push({tab:p,sec:d,openFirst:()=>m[0](!0)})}),b)return E[0].openFirst(),p;const S=(t,e)=>{E.forEach((e,n)=>{const a=n===t;e.tab.setAttribute("aria-selected",a?"true":"false"),e.tab.tabIndex=a?0:-1,a?e.tab.setAttribute("data-wht-current",""):e.tab.removeAttribute("data-wht-current"),e.sec.hidden=!a}),_(null),E[t].openFirst(),e&&E[t].tab.focus(),k.scrollTo&&k.scrollWidth>k.clientWidth&&k.scrollTo({left:E[t].tab.offsetLeft-(k.clientWidth-E[t].tab.offsetWidth)/2,behavior:"smooth"})};return E.forEach((t,e)=>t.tab.addEventListener("click",()=>{t.sec.hidden&&S(e,!1)})),k.addEventListener("keydown",t=>{const e=E.findIndex(t=>!t.sec.hidden),n="ArrowRight"===t.key?1:"ArrowLeft"===t.key?-1:0;n&&(t.preventDefault(),S((e+n+E.length)%E.length,!0))}),S(0,!1),p}var C=n(1839),A=n(9439),_=n(3959),z=n(6387),E=".wht-neo-va{background:var(--wht-neo-va-bg,transparent);border-radius:var(--wht-neo-va-radius,0);color:var(--wht-neo-va-fg,#1a1a1a);padding:var(--wht-neo-va-pad,0)}.wht-neo-va-eyebrow{color:var(--wht-neo-va-eyebrow-fg,var(--wht-neo-va-muted,rgba(0,0,0,.55)));font-size:.72em;font-weight:500;letter-spacing:.18em;text-transform:uppercase}.wht-neo-va-title{font-family:var(--wht-neo-va-title-font,var(--font-heading-family,inherit));font-weight:var(--wht-neo-va-title-weight,400);letter-spacing:-.02em;line-height:1.15}.wht-neo-va-tab{background:var(--wht-neo-va-surface,#fff);border:1px solid var(--wht-neo-va-line,rgba(0,0,0,.14));border-radius:999px;color:var(--wht-neo-va-tab-fg,var(--wht-neo-va-fg,#1a1a1a));font-size:.95em;font-weight:500;padding:.6em 1.05em;transition:background .15s ease,color .15s ease,border-color .15s ease}.wht-neo-va-tab-n{color:var(--wht-neo-va-tab-n-fg,var(--wht-neo-va-muted,rgba(0,0,0,.5)));height:auto;min-width:0;padding:0}.wht-neo-va-tab[data-wht-current]{background:var(--wht-neo-va-tab-bg-current,var(--wht-neo-va-fg,#1a1a1a));border-color:var(--wht-neo-va-tab-bg-current,var(--wht-neo-va-fg,#1a1a1a));color:var(--wht-neo-va-tab-fg-current,#fff)}.wht-neo-va-tab[data-wht-current] .wht-neo-va-tab-n{color:inherit;opacity:.7}.wht-neo-va-tab:focus-visible{outline:2px solid var(--wht-neo-va-accent,var(--wht-neo-va-fg,#1a1a1a));outline-offset:2px}.wht-neo-va-section-label{color:var(--wht-neo-va-section-label-fg,var(--wht-neo-va-fg,#1a1a1a));font-family:var(--wht-neo-va-section-label-font,var(--wht-neo-va-title-font,var(--font-heading-family,inherit)));font-size:var(--wht-neo-va-section-label-size,1.2em);font-weight:var(--wht-neo-va-section-label-weight,500);letter-spacing:-.01em}.wht-neo-va-section-n{color:var(--wht-neo-va-section-n-fg,var(--wht-neo-va-muted,rgba(0,0,0,.5)));font-weight:400}.wht-neo-va-entry{background:var(--wht-neo-va-surface,#fff);border:1px solid var(--wht-neo-va-card-line,var(--wht-neo-va-line,rgba(0,0,0,.12)));border-radius:var(--wht-neo-va-card-radius,12px);transition:border-color .2s ease}.wht-neo-va-entry:not([data-wht-open]):hover{border-color:var(--wht-neo-va-muted,rgba(0,0,0,.3))}.wht-neo-va-q{border-radius:var(--wht-neo-va-card-radius,12px);font-size:var(--wht-neo-va-q-size,1.05em);font-weight:var(--wht-neo-va-q-weight,500);letter-spacing:-.01em;line-height:1.35}.wht-neo-va-q:focus-visible{outline:2px solid var(--wht-neo-va-accent,var(--wht-neo-va-fg,#1a1a1a));outline-offset:2px}.wht-neo-va-qmeta{color:var(--wht-neo-va-muted,rgba(0,0,0,.5));font-size:.8em;font-weight:400;letter-spacing:0}.wht-neo-va-chev{color:var(--wht-neo-va-muted,rgba(0,0,0,.55))}.wht-neo-va-body{color:var(--wht-neo-va-body-fg,var(--wht-neo-va-fg,#1a1a1a));font-size:var(--wht-neo-va-body-size,1em);line-height:1.65;opacity:var(--wht-neo-va-body-opacity,.88)}.wht-neo-va-clip{background:var(--wht-neo-va-chip-bg,transparent);border:1px solid var(--wht-neo-va-chip-line,var(--wht-neo-va-line,rgba(0,0,0,.2)));border-radius:999px;color:var(--wht-neo-va-chip-fg,var(--wht-neo-va-fg,#1a1a1a));font-size:.9em;padding:.55em 1em;transition:background .15s ease,color .15s ease,border-color .15s ease}.wht-neo-va-clip:hover{border-color:var(--wht-neo-va-chip-bg-current,var(--wht-neo-va-fg,#1a1a1a))}.wht-neo-va-clip-icon{fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}.wht-neo-va-clip-icon path{fill:none}.wht-neo-va-clip-label{color:inherit}.wht-neo-va-clip[data-wht-current]{background:var(--wht-neo-va-chip-bg-current,var(--wht-neo-va-fg,#1a1a1a));border-color:var(--wht-neo-va-chip-bg-current,var(--wht-neo-va-fg,#1a1a1a));color:var(--wht-neo-va-chip-fg-current,#fff)}.wht-neo-va-clip[data-wht-current] .wht-neo-va-clip-icon path{fill:currentColor}.wht-neo-va-clip[data-wht-current] .wht-neo-va-clip-label{color:inherit}.wht-neo-va-clip:focus-visible{outline:2px solid var(--wht-neo-va-accent,var(--wht-neo-va-fg,#1a1a1a));outline-offset:2px}.wht-neo-va-avatar{background:var(--wht-neo-va-avatar-bg,rgba(0,0,0,.07));color:var(--wht-neo-va-avatar-fg,var(--wht-neo-va-fg,#1a1a1a));font-size:.85em;font-weight:600}.wht-neo-va-handle{font-size:.95em;font-weight:500}.wht-neo-va-handle[href]:hover{text-decoration:underline;text-underline-offset:.15em}.wht-neo-va-tag{background:var(--wht-neo-va-tag-bg-paid,rgba(29,95,191,.1));border-radius:999px;color:var(--wht-neo-va-tag-fg-paid,#1d5fbf);font-size:.62em;font-weight:700;letter-spacing:.08em;padding:.2em .6em;text-transform:uppercase}.wht-neo-va-stats{color:var(--wht-neo-va-muted,rgba(0,0,0,.5));font-size:.85em}.wht-neo-va-stage{background:var(--wht-neo-va-stage-bg,#111);border-radius:var(--wht-neo-va-stage-radius,12px)}.wht-neo-va-seg{background:var(--wht-neo-va-seg-bg,hsla(0,0%,100%,.35))}.wht-neo-va-seg i{background:var(--wht-neo-va-seg-fill,#fff)}.wht-neo-va-mute{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:var(--wht-neo-va-control-bg,rgba(0,0,0,.5))}.wht-neo-va-mute:hover{background:var(--wht-neo-va-control-bg-hover,rgba(0,0,0,.75))}.wht-neo-va-nav,.wht-neo-va-toggle{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:var(--wht-neo-va-control-bg,rgba(0,0,0,.5))}.wht-neo-va-nav:hover,.wht-neo-va-toggle:hover{background:var(--wht-neo-va-control-bg-hover,rgba(0,0,0,.75))}.wht-neo-va-stage-play{background:var(--wht-neo-va-play-bg,hsla(0,0%,100%,.92));color:var(--wht-neo-va-play-fg,#111);transition:transform .15s ease}.wht-neo-va-stage-play:hover{transform:translate(-50%,-50%) scale(1.06)}.wht-neo-va-who{color:#fff;font-size:.82em;font-variant-numeric:tabular-nums;font-weight:500;text-shadow:0 1px 2px rgba(0,0,0,.5)}@container (min-width: 560px){.wht-neo-va-tabs{background:var(--wht-neo-va-tabs-bg,rgba(0,0,0,.055));border-radius:999px;padding:5px}.wht-neo-va-tab{background:transparent;border:0;color:var(--wht-neo-va-tab-fg,var(--wht-neo-va-muted,rgba(0,0,0,.6)));font-size:1em;padding:.7em 1.4em}.wht-neo-va-tab:hover{color:var(--wht-neo-va-fg,#1a1a1a)}.wht-neo-va-tab-n{background:var(--wht-neo-va-tab-n-bg,rgba(0,0,0,.07));height:1.55em;min-width:1.55em;padding:0 .4em}.wht-neo-va-tab[data-wht-current]{background:var(--wht-neo-va-tab-bg-current,var(--wht-neo-va-surface,#fff));box-shadow:0 1px 2px rgba(0,0,0,.08);color:var(--wht-neo-va-tab-fg-current,var(--wht-neo-va-fg,#1a1a1a))}.wht-neo-va-tab[data-wht-current] .wht-neo-va-tab-n{background:var(--wht-neo-va-tab-n-bg-current,var(--wht-neo-va-fg,#1a1a1a));color:var(--wht-neo-va-tab-n-fg-current,#fff);opacity:1}.wht-neo-va-q{font-size:var(--wht-neo-va-q-size,1.2em);font-weight:var(--wht-neo-va-q-weight,400)}.wht-neo-va-body{font-size:var(--wht-neo-va-body-size,1.07em)}}";const S=["tabs","stacked"],I={i:"stacked"};function L(t,e){const n=String(e||I[t]||"tabs").toLowerCase();return S.includes(n)?n:"tabs"}function M(t,e){const n=t&&t[e];return"string"===typeof n&&n.trim()?n.trim():null}const j="https://consumer.whatmore.live",P="https://cdn-consumer.whatmore.live",q="wht-neo-va-critical",R="wht-neo-va-skin",O="videoAnswers",V=["a","b","c","d","e","f","g","h","i"],B={b:"family=Instrument+Serif",c:"family=Geist:wght@400;500;600",d:"family=Barlow+Condensed:wght@500;600;700"};const W='\n.wht-neo-va{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:var(--wht-neo-va-maxw,1000px);margin:var(--wht-neo-va-margin,24px auto);container-type:inline-size;font-family:var(--wht-neo-va-font,inherit);font-size:var(--wht-neo-va-font-size,14px);line-height:1.5}\n.wht-neo-va *,.wht-neo-va *::before,.wht-neo-va *::after{box-sizing:inherit}\n.wht-neo-va [hidden]{display:none!important}\n.wht-neo-va-head{text-align:center;margin-bottom:1.2em}\n.wht-neo-va-eyebrow{margin:0 0 .6em}\n.wht-neo-va-title{margin:0;font-size:var(--wht-neo-va-title-size,1.75em)}\n.wht-neo-va-tabs{display:flex;gap:.5em;width:max-content;max-width:100%;margin:0 auto 1.2em;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}\n.wht-neo-va-tabs::-webkit-scrollbar{display:none}\n.wht-neo-va-tab{display:inline-flex;align-items:center;gap:.5em;flex:0 0 auto;margin:0;font:inherit;line-height:1.2;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent}\n.wht-neo-va-tab-n{display:inline-flex;align-items:center;justify-content:center;min-width:1.55em;height:1.55em;padding:0 .4em;border-radius:999px;font-size:.78em;font-variant-numeric:tabular-nums}\n.wht-neo-va-sections,.wht-neo-va-section,.wht-neo-va-entry{display:block}\n.wht-neo-va-section-label{display:flex;align-items:baseline;gap:.5em;margin:0 0 .8em;font:inherit;line-height:1.2}\n.wht-neo-va-section-n{font-size:.78em;font-variant-numeric:tabular-nums}\n.wht-neo-va[data-wht-layout="stacked"] .wht-neo-va-section+.wht-neo-va-section{margin-top:var(--wht-neo-va-section-gap,2.4em)}\n.wht-neo-va-entry+.wht-neo-va-entry{margin-top:var(--wht-neo-va-card-gap,10px)}\n.wht-neo-va-q{display:flex;align-items:center;gap:.75em;width:100%;margin:0;padding:var(--wht-neo-va-card-pad-y,16px) var(--wht-neo-va-card-pad-x,16px);border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}\n.wht-neo-va-qtext{flex:1 1 auto;min-width:0}\n.wht-neo-va-qmeta{display:none;flex:0 0 auto;white-space:nowrap}\n.wht-neo-va-chev{display:grid;place-items:center;flex:0 0 auto;width:1.2em;height:1.2em}\n.wht-neo-va-chev::before{content:"";display:block;width:.5em;height:.5em;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-25%) rotate(45deg);transition:transform .25s ease}\n.wht-neo-va-entry[data-wht-open] .wht-neo-va-chev::before{transform:translateY(25%) rotate(225deg)}\n.wht-neo-va-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}\n.wht-neo-va-a-in{min-height:0;overflow:hidden;visibility:hidden;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"text" "stage" "clips" "source";column-gap:var(--wht-neo-va-cols-gap,36px);align-items:start;padding:0 var(--wht-neo-va-card-pad-x,16px);transition:visibility 0s .3s}\n.wht-neo-va-entry[data-wht-open] .wht-neo-va-a{grid-template-rows:1fr}\n.wht-neo-va-entry[data-wht-open] .wht-neo-va-a-in{visibility:visible;transition:none;padding-bottom:var(--wht-neo-va-card-pad-y,16px)}\n.wht-neo-va-text{grid-area:text;min-width:0}\n.wht-neo-va-body{margin:0}\n.wht-neo-va-clips{grid-area:clips;display:flex;flex-wrap:wrap;gap:.5em;margin-top:1em}\n.wht-neo-va-clip{display:inline-flex;align-items:center;gap:.55em;margin:0;font:inherit;line-height:1.2;white-space:nowrap;cursor:pointer}\n.wht-neo-va-clip-icon{width:.85em;height:.85em;flex:0 0 auto}\n.wht-neo-va-clip-time{font-variant-numeric:tabular-nums}\n.wht-neo-va-clip-label{display:inline}\n.wht-neo-va-source{grid-area:source;display:flex;align-items:center;gap:.75em;margin-top:1.1em;min-width:0}\n.wht-neo-va-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:2.2em;height:2.2em;border-radius:50%;overflow:hidden}\n.wht-neo-va-source-main{display:flex;flex-direction:column;align-items:flex-start;min-width:0}\n.wht-neo-va-handle{text-decoration:none;color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}\n.wht-neo-va-handle[href]{cursor:pointer}\n.wht-neo-va-tag{display:inline-block;white-space:nowrap}\n.wht-neo-va-stats{white-space:nowrap;font-variant-numeric:tabular-nums}\n.wht-neo-va-stage{grid-area:stage;position:relative;width:100%;margin-top:1em;aspect-ratio:9/16;overflow:hidden;background:#111}\n.wht-neo-va-stage::after{content:"";position:absolute;left:0;right:0;bottom:0;height:30%;pointer-events:none;background:var(--wht-neo-va-stage-scrim,linear-gradient(180deg,transparent,rgba(0,0,0,.5)))}\n.wht-neo-va-video{display:block;width:100%;height:100%;object-fit:cover;cursor:pointer}\n.wht-neo-va-progress{position:absolute;left:8px;right:8px;top:8px;z-index:2;display:flex;gap:3px;opacity:0;transition:opacity .2s}\n.wht-neo-va-stage[data-wht-clip] .wht-neo-va-progress{opacity:1}\n.wht-neo-va-seg{position:relative;display:block;flex:1 1 0;height:3px;padding:0;margin:0;border:0;border-radius:2px;overflow:hidden;cursor:pointer}\n.wht-neo-va-seg i{display:block;height:100%;width:0}\n.wht-neo-va-mute{position:absolute;right:10px;bottom:10px;z-index:2;display:none;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;cursor:pointer;color:#fff}\n.wht-neo-va-stage[data-wht-clip] .wht-neo-va-mute{display:inline-flex}\n.wht-neo-va-mute svg{width:18px;height:18px}\n.wht-neo-va-toggle{position:absolute;right:52px;bottom:10px;z-index:2;display:none;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;cursor:pointer;color:#fff}\n.wht-neo-va-stage[data-wht-clip] .wht-neo-va-toggle{display:inline-flex}\n.wht-neo-va-toggle svg{width:16px;height:16px}\n.wht-neo-va-stage[data-wht-clip] .wht-neo-va-who{max-width:calc(100% - 110px)}\n.wht-neo-va-nav{position:absolute;top:50%;z-index:2;display:none;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;transform:translateY(-50%);cursor:pointer;color:#fff;opacity:0;transition:opacity .2s}\n.wht-neo-va-nav svg{width:18px;height:18px}\n.wht-neo-va-nav[data-wht-dir="prev"]{left:8px}\n.wht-neo-va-nav[data-wht-dir="next"]{right:8px}\n.wht-neo-va-stage[data-wht-multi][data-wht-clip] .wht-neo-va-nav{display:inline-flex}\n.wht-neo-va-stage:hover .wht-neo-va-nav,.wht-neo-va-stage:focus-within .wht-neo-va-nav{opacity:1}\n@media (hover:none){.wht-neo-va-stage[data-wht-multi][data-wht-clip] .wht-neo-va-nav{opacity:.85}}\n.wht-neo-va-who{position:absolute;left:12px;bottom:12px;z-index:2;max-width:calc(100% - 60px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}\n.wht-neo-va-stage-play{position:absolute;left:50%;top:50%;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;transform:translate(-50%,-50%);cursor:pointer}\n.wht-neo-va-stage-play svg{width:22px;height:22px;margin-left:2px}\n.wht-neo-va-stage[data-wht-playing] .wht-neo-va-stage-play{display:none}\n.wht-neo-va-stage-by{position:absolute;left:12px;right:12px;top:22px;z-index:2;display:none;align-items:center;gap:8px;min-width:0;pointer-events:none}\n.wht-neo-va-stage-by-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:26px;height:26px;border-radius:50%}\n.wht-neo-va-stage-by-handle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n@container (max-width:559.98px){.wht-neo-va-head,.wht-neo-va-tabs,.wht-neo-va-sections{padding-inline:var(--wht-neo-va-gutter,16px)}.wht-neo-va-entry+.wht-neo-va-entry{margin-top:var(--wht-neo-va-card-gap,12px)}.wht-neo-va-q{padding:var(--wht-neo-va-card-pad-y,18px) var(--wht-neo-va-card-pad-x,18px)}.wht-neo-va-a-in{padding:0 var(--wht-neo-va-card-pad-x,18px)}.wht-neo-va-entry[data-wht-open] .wht-neo-va-a-in{padding-bottom:var(--wht-neo-va-card-pad-y,18px)}.wht-neo-va-stage{margin-top:1.25em}.wht-neo-va-a:not([data-wht-ar="wide"]) .wht-neo-va-stage{aspect-ratio:9/16!important;width:min(100%,calc(var(--wht-neo-va-stage-h-max,560px) * 9 / 16));margin-inline:auto}.wht-neo-va-clips{margin-top:1.25em}.wht-neo-va-source{margin-top:1.25em}}\n@container (min-width:560px){.wht-neo-va-head,.wht-neo-va-tabs,.wht-neo-va-sections{font-size:var(--wht-neo-va-font-size-wide,1.07em)}.wht-neo-va-entry+.wht-neo-va-entry{margin-top:var(--wht-neo-va-card-gap,12px)}.wht-neo-va-q{padding:var(--wht-neo-va-card-pad-y,24px) var(--wht-neo-va-card-pad-x,28px)}.wht-neo-va-a-in{padding:0 var(--wht-neo-va-card-pad-x,28px)}.wht-neo-va-entry[data-wht-open] .wht-neo-va-a-in{padding-bottom:var(--wht-neo-va-card-pad-y,28px)}.wht-neo-va-title{font-size:var(--wht-neo-va-title-size-wide,2.4em)}.wht-neo-va-head{margin-bottom:1.6em}.wht-neo-va-tabs{gap:2px;margin-bottom:2.4em}.wht-neo-va-qmeta{display:inline}.wht-neo-va-entry[data-wht-open] .wht-neo-va-qmeta{display:none}.wht-neo-va-source-main{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:.2em .8em}.wht-neo-va-a-in{grid-template-columns:minmax(0,1fr) var(--wht-neo-va-stage-w,250px);grid-template-rows:auto auto 1fr;grid-template-areas:"text stage" "clips stage" "source stage"}.wht-neo-va-a-in:not(:has(.wht-neo-va-stage)){grid-template-columns:minmax(0,1fr)}.wht-neo-va-stage{margin-top:0}.wht-neo-va-text{max-width:var(--wht-neo-va-measure,62ch)}.wht-neo-va-a[data-wht-ar="wide"] .wht-neo-va-a-in{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"text" "stage" "clips" "source"}.wht-neo-va-a[data-wht-ar="wide"] .wht-neo-va-stage{width:min(100%,var(--wht-neo-va-stage-w-max,560px));margin-top:1.1em}}\n@media (prefers-reduced-motion:reduce){.wht-neo-va-chev::before,.wht-neo-va-progress,.wht-neo-va-a,.wht-neo-va-a-in{transition:none}}\n';const T=t=>{const e=function(){try{return JSON.parse(localStorage.getItem("whatmore_brand_customizations")).customizations}catch(t){return null}}();return t.split(".").reduce((t,e)=>null==t?void 0:t[e],e)};function F({shopId:t,productId:e,storeFlags:n,hostname:a}){const o=!0===T("product_page_popup_config.show_all_events")||!0===T("recommendation_config.show_all_events_with_pdp");return`${function(t){return!0===T("backend_config.use_instance_endpoint_for_product_events")||t&&t.productEventsUseInstance?j:P}(n)}/v2/brand/${t}/product-events/recommendation/cdn?client_product_id=${e}&limit=10&recommended=${!o}&origin=${a}&status=live,upcoming&event_type=video,image`}async function N(t){const{rootElement:e,widgetContainer:n,shopId:a,productId:o,widgetIdentity:r,isDefaultIdentity:i,whatmoreRootId:s,storeFlags:d,neoJson:h,onWidgetView:l,onTileView:c,onEmbedVideoWatched:p}=t;if(!e||!a||!o)return!1;const v={};e.__whtVaRender=v;const w=()=>e.__whtVaRender!==v;(0,C.fz)(q,W);let u=null,g=null;try{const t=new URLSearchParams(window.location.search);u=t.get("neoskin"),g=t.get("neolayout")}catch($){}const b=i||!r?"wgt_default":r,f=["wgt_default"!==b?b:null,s].filter(Boolean),{look:m,stack:y}=await async function(t,e,n){const a=(0,C.RO)(t,O,e)||{},o=String(n||a.skin||"a").toLowerCase(),r=V.includes(o)?o:"a",i=a.customCss;let s="";"string"===typeof i?s=i:i&&"object"===typeof i&&"string"===typeof i[r]&&(s=i[r]);const d="a"===r?"":await(0,z.P)(O,r);return{look:r,stack:E+(d?"\n"+d:"")+("string"===typeof a.brandCss&&a.brandCss?"\n"+a.brandCss:"")+(s?"\n"+s:"")}}(h,f,u);if(w())return!0;let x;!function(t){const e=B[t];if(!e||document.getElementById("wht-neo-va-font-"+t))return;const n=document.createElement("link");n.id="wht-neo-va-font-"+t,n.rel="stylesheet",n.href="https://fonts.googleapis.com/css2?"+e+"&display=swap",document.head.appendChild(n)}(m),s?(0,C.fz)(R+"-"+s,(0,C.GJ)(y,':where([data-wht-instance="'+s+'"])')):(0,C.fz)(R,y);try{x=await fetch(F({shopId:a,productId:o,storeFlags:d,hostname:window.location.hostname})).then(t=>t.json())}catch($){x=null}if(w())return!0;let S=x&&x.video_sense;try{const t=e.closest?e.closest(".whatmore-base"):null,n=t&&t.querySelector("#whatmoreVideoAnswersDraft");if(n){const t=JSON.parse(n.textContent||"null");t&&Array.isArray(t.sections)&&(S=t)}}catch($){}if(!S)return!1;const I={};for(const k of[].concat(x&&x.events||[],x&&x.related_events||[],x&&x.all_events||[]))k&&null!=k.event_id&&!I[String(k.event_id)]&&(I[String(k.event_id)]=k);const j=(0,C.RO)(h,O,f)||{},P=M(j,"title"),T=M(j,"eyebrow"),N=!(j&&!0===j.hideEyebrow),D=k(document,S,{track:c||p?{onView:t=>{c&&t.event&&c(t.event)},onWatched:(t,e)=>{p&&t.event&&p(t.event,e)}}:null,shopId:a,widgetKey:b,instanceKey:s,look:m,layout:L(m,g),events:I,labels:{eyebrow:N?null!==T?T:(0,_.rB)("video_answers_eyebrow","Shopper questions"):"",title:null!==P?P:(0,_.rB)("video_answers_title","What the videos show"),unmute:(0,_.rB)("video_answers_unmute","Tap for sound"),mute:(0,_.rB)("video_answers_mute","Mute"),play:(0,_.rB)("video_answers_play","Play"),pause:(0,_.rB)("video_answers_pause","Pause"),paid:(0,_.rB)("video_answers_paid","Paid partnership"),viewPost:(0,_.rB)("video_answers_view_post","View the original post")}});if(!D)return!1;const K=function(t){const e=(t,e,n)=>{const a=Number(t);return Number.isFinite(a)&&""!==t&&null!==t?Math.min(n,Math.max(e,Math.round(a))):null},n=e(t&&t.spaceAbove,0,200),a=e(t&&t.spaceBelow,0,200),o=e(t&&t.maxWidth,320,2e3),r={};return null===n&&null===a||(r["--wht-neo-va-margin"]=(null!==n?n:24)+"px auto "+(null!==a?a:24)+"px"),null!==o&&(r["--wht-neo-va-maxw"]=o+"px"),r}(j);if(Object.keys(K).forEach(t=>D.style.setProperty(t,K[t])),l)if("function"===typeof IntersectionObserver){const t=new IntersectionObserver(e=>{e.some(t=>t.isIntersecting&&t.intersectionRatio>=.25)&&(t.disconnect(),l())},{threshold:[0,.25]});t.observe(D)}else l();return s&&e.setAttribute("data-wht-instance",s),(0,A.Vo)(D,n||e),e.replaceChildren(D),e.style.opacity="1",e.removeAttribute("data-shimmer-active"),!0}},1839:function(t,e,n){function a(t,e){let n=document.getElementById(t);n||(n=document.createElement("style"),n.id=t,document.head.appendChild(n)),n.textContent=e}function o(t,e){if(!t||!e)return t||"";const n=document.createElement("style");n.media="not all",n.textContent=t,document.head.appendChild(n);let a=t;try{const t=n.sheet;t&&(r(t.cssRules,e),a=function(t){let e="";for(let n=0;n<t.length;n++)e+=t[n].cssText+"\n";return e}(t.cssRules))}catch(o){}return n.remove(),a}function r(t,e){for(let n=0;n<t.length;n++){const a=t[n];void 0!==a.selectorText&&void 0!==a.style?a.selectorText=i(a.selectorText,e):!a.cssRules||"undefined"!==typeof CSSKeyframesRule&&a instanceof CSSKeyframesRule||r(a.cssRules,e)}}function i(t,e){return function(t){const e=[];let n=0,a="";for(let o=0;o<t.length;o++){const r=t[o];"("===r||"["===r?n++:")"!==r&&"]"!==r||n--,","===r&&0===n?(e.push(a),a=""):a+=r}return e.push(a),e}(t).map(t=>{const n=t.trim();return n?e+" "+n:n}).join(", ")}function s(t,e,n,a){if(!t)return null;const o=t[e];if(!o||"object"!==typeof o)return Object.assign({},t,{brandCss:""});const r="string"===typeof t.customCss?t.customCss:"",i=t.shopper&&t.shopper.widgets&&t.shopper.widgets[e],s=d(o.widgets,n)||d(i,n),h=s?null:function(t){return 0===String(t||"").indexOf("product")?"product":null}(a),l=h&&o[h]&&"object"===typeof o[h]?o[h]:null,c=s?Object.assign({},o,s):l?Object.assign({},o,l):o;return Object.assign({},c,{brandCss:r,perInstance:!!s,pageScoped:!!l})}function d(t,e){if(!t||"object"!==typeof t||!e)return null;const n=Array.isArray(e)?e:[e];for(let a=0;a<n.length;a++){const e=n[a];if(null==e||""===e)continue;const o=t[e];if(o&&"object"===typeof o)return o}return null}n.d(e,{GJ:function(){return o},RO:function(){return s},fz:function(){return a}})},6387:function(t,e,n){n.d(e,{P:function(){return o}});const a={standard:()=>n.e(508).then(n.t.bind(n,5071,17)),card:()=>n.e(545).then(n.t.bind(n,9362,17)),"mosaic-ring":()=>n.e(457).then(n.t.bind(n,8171,17)),"mosaic-plain":()=>n.e(764).then(n.t.bind(n,5635,17)),hoverplay:()=>n.e(781).then(n.t.bind(n,3168,17)),"info-strip":()=>n.e(94).then(n.t.bind(n,2109,17)),"text-overlay":()=>n.e(833).then(n.t.bind(n,3930,17)),focused:()=>n.e(506).then(n.t.bind(n,1987,17)),coverflow:()=>n.e(172).then(n.t.bind(n,9033,17)),minimal:()=>n.e(244).then(n.t.bind(n,3981,17)),feed:()=>n.e(315).then(n.t.bind(n,7456,17)),circle:()=>n.e(31).then(n.t.bind(n,5112,17)),viewmore:()=>n.e(343).then(n.t.bind(n,7672,17)),overlay:()=>n.e(936).then(n.t.bind(n,75,17)),"shop-the-look":()=>n.e(696).then(n.t.bind(n,9902,17)),"stories-b":()=>n.e(565).then(n.t.bind(n,1958,17)),"videoAnswers-b":()=>n.e(169).then(n.t.bind(n,3426,17)),"videoAnswers-c":()=>n.e(776).then(n.t.bind(n,6683,17)),"videoAnswers-d":()=>n.e(799).then(n.t.bind(n,3864,17)),"videoAnswers-e":()=>n.e(990).then(n.t.bind(n,713,17)),"videoAnswers-f":()=>n.e(989).then(n.t.bind(n,7742,17)),"videoAnswers-g":()=>n.e(596).then(n.t.bind(n,5543,17)),"videoAnswers-h":()=>n.e(395).then(n.t.bind(n,7604,17)),"videoAnswers-i":()=>n.e(810).then(n.t.bind(n,8453,17)),"product-broad-no-cta":()=>n.e(838).then(n.t.bind(n,5955,17)),"product-broad-atc":()=>n.e(648).then(n.t.bind(n,2699,17)),"product-narrow":()=>n.e(594).then(n.t.bind(n,4859,17)),"product-premium":()=>n.e(566).then(n.t.bind(n,2529,17)),"product-navigation":()=>n.e(45).then(n.t.bind(n,4368,17)),"product-multi-product":()=>n.e(856).then(n.t.bind(n,3703,17)),"product-thumbnail-strip":()=>n.e(620).then(n.t.bind(n,4383,17)),"product-link-only":()=>n.e(750).then(n.t.bind(n,3365,17)),"product-minimal-atc":()=>n.e(685).then(n.t.bind(n,1890,17))};async function o(t,e){const n=a["carousel"===t||"collections"===t?e:t+"-"+e];if(!n)return"";try{return(await n()).default||""}catch(o){return""}}}}]);
|