whatmore-react-assets 1.0.1905 → 1.0.1906

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whatmore-react-assets",
3
- "version": "1.0.1905",
3
+ "version": "1.0.1906",
4
4
  "description": "public repo for all whatmore js and css assets",
5
5
  "main": "whatmore.js",
6
6
  "scripts": {
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[5866],{1518:function(t,e,o){o.r(e),o.d(e,{fireNeoAtcClick:function(){return n.fireNeoAtcClick},fireNeoBuyNowMetric:function(){return n.fireNeoBuyNowMetric},fireNeoOutsideAtcFunnel:function(){return n.fireNeoOutsideAtcFunnel},fireNeoProductClick:function(){return n.fireNeoProductClick},neoAddAllToCart:function(){return l},neoAddToCart:function(){return u}});var n=o(3297),r=o(5118),i=o(4563),a=o(5443),c=o(2567);function d(t){return(0,a.hG)(t,"brand_metadata->domain_context")}async function s(t,e,o){const{product:d,event:s,customizations:u,widget:l,userType:p,closeClickComponent:h,onState:m}=t,f=(0,c.Ry)(),y=(0,r.getVariantIdFromSelectedOption)(o,e);if(!y)return m&&m("init"),{status:"noop"};m&&m("atcApiCallInProgress");try{const t="55586586685"===f&&"function"===typeof h;await(0,i.initiateNeoCartSliderEvent)(f,t?h:()=>{},t?400:100,window.location.hostname,y,d.client_product_id,l,s&&s.location,p,d.product_link),(0,n.fireNeoAtcMetric)(s,d,1),(0,a.hG)(u,"product_config->navigate_to_cart_page")&&setTimeout(()=>{window.location.href=`${window.Shopify&&window.Shopify.routes&&window.Shopify.routes.root||"/"}cart`},500);const e=o.filter(t=>t&&"Default Title"!==t).join(" \xb7 ");return m&&m("added",e),{status:"added",variantId:y,variantLabel:e}}catch(w){return m&&m("errored"),console.error("Whatmore :: neo ATC add failed",w),{status:"errored"}}}async function u(t){const{product:e,event:o,customizations:n,mode:i="direct",selectedOptions:a,variants:u,onState:l}=t;if(!e||!o)return{status:"noop"};const p=(0,c.Ry)();if(a&&u)return s(t,u,a);let h;l&&l("productVariantDetailsApiCallInProgress");try{h=await(0,r.productDetailsDetailed)(e,d(n),p)}catch(y){return l&&l("errored"),{status:"errored"}}const m=h&&h.variants||[],f=(0,r.getVariantOptions)(h);if((0,r.isSingleVariantProduct)(f)||"direct"===i){if(!(0,r.atleastOneVariantAvailableInStock)(m))return l&&l("errored"),{status:"errored"};return s(t,m,[(0,r.getFirstAvailableOption)(f[0]),(0,r.getFirstAvailableOption)(f[1]),(0,r.getFirstAvailableOption)(f[2])])}return l&&l("awaitingVariantSelection"),{status:"needs_selection",variantOptions:f,variants:m}}async function l(t){const{products:e,event:o,customizations:a,widget:s,userType:u,onState:l}=t;if(!e||0===e.length||!o)return{status:"noop",added:0};const p=(0,c.Ry)();l&&l("productVariantDetailsApiCallInProgress");const h=(await Promise.all(e.map(async t=>{try{const e=await(0,r.productDetailsDetailed)(t,d(a),p),o=e&&e.variants||[],n=(0,r.getVariantOptions)(e);if(!(0,r.isSingleVariantProduct)(n))return null;if(!(0,r.atleastOneVariantAvailableInStock)(o))return null;const i=(0,r.getVariantIdFromSelectedOption)([(0,r.getFirstAvailableOption)(n[0]),(0,r.getFirstAvailableOption)(n[1]),(0,r.getFirstAvailableOption)(n[2])],o);return i?{product:t,variantId:i}:null}catch(e){return null}}))).filter(Boolean);if(0===h.length)return l&&l("init"),{status:"noop",added:0};l&&l("atcApiCallInProgress");try{const t=h.slice(0,-1),e=h[h.length-1];if(t.length){if(!await(0,i.addVariantsBatch)(t.map(t=>t.variantId),1))for(const{product:e,variantId:n}of t)await(0,i.initiateNeoCartSliderEvent)(p,()=>{},100,window.location.hostname,n,e.client_product_id,s,o&&o.location,u,e.product_link)}return await(0,i.initiateNeoCartSliderEvent)(p,()=>{},100,window.location.hostname,e.variantId,e.product.client_product_id,s,o&&o.location,u,e.product.product_link),h.forEach(({product:t})=>(0,n.fireNeoAtcMetric)(o,t,1)),l&&l("added"),{status:"added",added:h.length}}catch(m){return l&&l("errored"),console.error("Whatmore :: neo bulk ATC failed",m),{status:"errored",added:0}}}},3297:function(t,e,o){o.r(e),o.d(e,{fireNeoAtcClick:function(){return h},fireNeoAtcMetric:function(){return w},fireNeoBuyNowMetric:function(){return y},fireNeoOutsideAtcFunnel:function(){return m},fireNeoProductClick:function(){return f}});var n=o(6694),r=o(9383),i=o(5443),a=o(2567),c=o(1637),d=o(7156);const s=["56352899156"];function u(t){if(t)return t.startsWith("index")?"home":t.startsWith("product")?"product_page":t.startsWith("collection")||t.startsWith("page")?"collection_page":void 0}const l={[d.O.EVENT_VIEW]:{gate:"meta_pixel_events->video_click_event",action:"whatmore_video_click_event",custom:"video_clicked"},[d.O.PRODUCT_TILE_SHOPNOW_CLICKED]:{gate:"meta_pixel_events->video_product_tile_click_event",action:"whatmore_product_tile_click_event",custom:"video_product_tile_clicked"}};function p(t,e,o,n,r){const c=l[t];if(c){if("function"===typeof fbq){var d;const t=!!(0,i.hG)(n,c.gate),r=null===o||void 0===o||null===(d=o.meta_actions)||void 0===d?void 0:d[c.custom];if(t||r){const t={id:null===e||void 0===e?void 0:e.client_product_id,product_url:null===e||void 0===e?void 0:e.product_link};fbq("trackCustom",c.action,t),r&&setTimeout(()=>{r.forEach(e=>fbq("trackCustom",e,t))},500)}}var p,h,m;if(s.includes((0,a.Ry)())&&"object"===typeof window.dataLayer)window.dataLayer.push({event:"video_interaction",page_type:null!==(p=u(null===r||void 0===r?void 0:r.landingLocationType))&&void 0!==p?p:"NA",selection_type:c.action,video_name:null!==(h=null===o||void 0===o?void 0:o.event_id)&&void 0!==h?h:"NA",video_percentage:"NA",product_name:null!==(m=null===e||void 0===e?void 0:e.title)&&void 0!==m?m:"NA"})}}function h({event:t,productList:e,ctaList:o=[],customizations:r,widgetSourceDetails:c,interactionType:l}){var p;if(!t||!e||0===e.length)return;const h=(0,a.Ry)();(0,n.trackWhatmoreAnalyticsEvent)({userInteractionType:l||d.O.PRODUCT_TILE_ATC_CLICKED,widgetSourceDetails:c,event:t,productList:e,ctaList:o}),function(t,e,o){var n;if("function"!==typeof fbq)return;const r=!!(0,i.hG)(o,"meta_pixel_events->video_atc_event"),a=null===e||void 0===e||null===(n=e.meta_actions)||void 0===n?void 0:n.video_atc_clicked;if(!r&&!a)return;const c={id:null===t||void 0===t?void 0:t.client_product_id,product_url:null===t||void 0===t?void 0:t.product_link};fbq("trackCustom","whatmore_video_atc_event",c),a&&setTimeout(()=>{a.forEach(t=>fbq("trackCustom",t,c))},500)}(null!==(p=e[1])&&void 0!==p?p:e[0],t,r),function(t,e,o,n){var r,i,a,c,d,l;s.includes(t)&&"object"===typeof window.dataLayer&&window.dataLayer.push({event:"video_interaction",page_type:null!==(r=u(null===e||void 0===e?void 0:e.landingLocationType))&&void 0!==r?r:"NA",selection_type:"whatmore_video_atc_event",video_name:null!==(i=null===o||void 0===o?void 0:o.event_id)&&void 0!==i?i:"NA",video_percentage:"NA",product_name:null!==(a=null!==(c=null===n||void 0===n||null===(d=n[1])||void 0===d?void 0:d.title)&&void 0!==c?c:null===n||void 0===n||null===(l=n[0])||void 0===l?void 0:l.title)&&void 0!==a?a:"NA"})}(h,c,t,e)}function m({event:t,product:e,customizations:o,widgetSourceDetails:i}){var a,c;if(!t)return;(0,r.increaseViewCount)(t);const s=e?[e]:null!==(a=t.products)&&void 0!==a?a:[];(0,n.trackWhatmoreAnalyticsEvent)({userInteractionType:d.O.EVENT_VIEW,widgetSourceDetails:i,event:t,productList:s,ctaList:t.cta}),p(d.O.EVENT_VIEW,null!==(c=s[1])&&void 0!==c?c:s[0],t,o,i),(0,n.trackWhatmoreAnalyticsEvent)({userInteractionType:d.O.PRODUCT_CTA_VIEW,widgetSourceDetails:i,event:t,productList:s,ctaList:t.cta})}function f({event:t,product:e,kind:o,customizations:r,widgetSourceDetails:i}){if(!t||!e)return;const a="thumbnail"===o?d.O.VIDEO_TILE_PRODUCT_THUMBNAIL_CLICKED:d.O.PRODUCT_TILE_SHOPNOW_CLICKED;(0,n.trackWhatmoreAnalyticsEvent)({userInteractionType:a,widgetSourceDetails:i,event:t,productList:[e],ctaList:t.cta}),p(a,e,t,r,i)}function y(t,e){t&&e&&((0,a.U)()||(0,a.Ry)()===c.YZ||(0,r.increaseEventProductBuyNowCount)(t,e))}function w(t,e,o=1){t&&e&&((0,a.U)()||(0,a.Ry)()===c.YZ||(0,r.increaseEventProductAddToCartCount)(t,e,o))}},4563:function(t,e,o){o.r(e),o.d(e,{addVariantsBatch:function(){return s},getCartDetailsShopifyAsync:function(){return c},initiateNeoCartSliderEvent:function(){return f},openNeoCartDrawer:function(){return m},removeOneFromNeoCart:function(){return l},updateCartLineItemPropertiesDirect:function(){return d}});var n=o(5566),r=o(6080),i=o(2567),a=o(5443);async function c(){const t="https://"+window.location.hostname+"/cart.json";return await fetch(t,{method:"GET"})}async function d(t,e,o,c,d="default",s,u,l,p){const h=(0,i.Ry)(),m=u?(0,n.wm)()+("72201044272"==h?`#${c}#${d}#${s?"olduser":"newuser"}:direct`:`#${c}:direct`):p?"_wt_vs":l?"_wt_vi":"";if(""==m||"_wt_vs"==m||"_wt_vi"==m||"77604192550"==h||"64157352183"==h||"80856187185"==h||"86486974743"==h||"62758289602"==h||"65972830359"==h||"75310563627"==h||"86968402213"==h||(0,a.hG)((0,a.VA)(),"order_tracking->track_using_wtot"))return;let f={id:t,quantity:e,properties:{...m?{[r.B_]:m}:{},...o}};return await fetch("https://"+window.location.hostname+"/cart/change.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(f)}).then(t=>t.json()).catch(t=>{console.error("Whatmore :: Error while updating cart line item properties direct.",t)})}async function s(t,e=1){if(!t||0===t.length)return!0;try{return(await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:t.map(t=>({id:t,quantity:e}))})})).ok}catch(o){return!1}}async function u(t,e,o){const n=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:t,quantity:e}]})});return n.ok?(setTimeout(()=>{o(t)},500),setTimeout(()=>{var t,e;window.location.href=`${(null===(t=window.Shopify)||void 0===t||null===(e=t.routes)||void 0===e?void 0:e.root)||"/"}cart`},1e3),!0):(console.error("[ATC Fallback] Add to cart failed:",n.status),!1)}async function l(t){if(!t)return null;try{const o=await c().then(t=>t.ok?t.json():null),n=o&&Array.isArray(o.items)&&o.items.find(e=>String(e.id)===String(t));if(!n)return null;const r=Math.max(0,(n.quantity||0)-1);if(!(await fetch("/cart/change.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({id:n.key,quantity:r})})).ok)return null;try{window.Rebuy&&window.Rebuy.Cart&&window.Rebuy.Cart.fetchCart()}catch(e){}return document.dispatchEvent(new CustomEvent("cart:refresh",{bubbles:!0})),r}catch(o){return console.error("[Whatmore] neo cart decrement failed:",o),null}}function p(){const t=document.querySelectorAll("[data-minicart-input]");for(let e=0;e<t.length;e++){const o=t[e],n=o.id&&document.querySelector('label.minicart__label[for="'+o.id+'"]');if(n&&n.clientHeight>0&&n.clientWidth>0)return o.checked=!0,!0}return!!t.length&&(t[0].checked=!0,!0)}function h(t){const e=window.gsCartDrawerCore||window.gsCartDrawerManager;return!!e&&(t&&t.length?(window.dispatchEvent(new CustomEvent("cart_changed_gs",{detail:{added:t}})),!0):"function"===typeof e.open&&(e.open(),!0))}async function m(t){const e=window.Rebuy&&window.Rebuy.SmartCart;if(e&&"function"===typeof e.show&&("ready"===e.status||e.hasBoundEvents||document.querySelector("#rebuy-cart"))){try{window.Rebuy.Cart&&window.Rebuy.Cart.fetchCart()}catch(n){}return e.show(),!0}if(h(null))return!0;const o=["[data-cart-open]",'[data-drawer-open="cart"]','[data-action="open-drawer"][data-drawer="cart"]','[data-action="open-drawer"][data-drawer-id="sidebar-cart"]',".js-drawer-open-cart",'a[href$="/cart"]:not([disable-rebuy]):not(.disable-rebuy)'];for(let r=0;r<o.length;r++){const t=document.querySelectorAll(o[r]);for(let e=0;e<t.length;e++)if(!t[e].closest('#CartDrawer, #sidebar-cart, cart-drawer, .gs_cart_drawer, .minicart__holder, .Drawer, .cart-drawer, [data-section-type="cart"]'))return t[e].click(),!0}return!!p()}async function f(t,e,o,s,l="",m="",f="",y="",w="",v="",T=null){(0,i.yI)();const b=t=>{c().then(t=>t.json()).then(e=>{const o=e.items.find(e=>e.id==t);if(!o)return;d(o.key,o.quantity,o.properties,f,y,w,!0,!0,!0)}).catch(t=>{console.error("[Whatmore] updateATCLineItemProperties error:",t)})};if("STRNV8MHJTF"==t||"STR6HU283UZ"==t||"STR9T3LLEJB"==t||"STRWJMIOJNX"==t||"STRUDQ36YAC"==t||"STR1D5ONOZX"==t){console.log("Executing cart refresh script..");return void(document.getElementById("whatsmorecart").value=Math.random())}if("38678331531"===t){const q="In stock \u2014 ship now";async function k(t,e=1){const o=[...document.querySelectorAll('form[action*="/cart/add"]')].find(e=>{var o;return String(null===(o=e.querySelector('[name="id"]'))||void 0===o?void 0:o.value)===String(t)});if(o)return o.requestSubmit(o.querySelector('[type="submit"]')),setTimeout(()=>b(t),1500),!0;const n=await fetch("/cart/add.js?app=upez",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:[{id:t,quantity:e,properties:{Fulfilment:q}}]}),_isAddon:!0});if(!n.ok)return console.error("[ATC] Add to cart failed:",n.status),!1;const r=document.querySelector("[data-upez-cart]");return r?r.click():window.location.href="/cart",setTimeout(()=>b(t),500),!0}return void k(l,1).then(()=>{setTimeout(e,o)}).catch(t=>{console.error("[Whatmore] ATC 38678331531 error:",t)})}if("75026858234"===t){try{const N=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:l,quantity:1}]})}),P=await N.json();N.ok?setTimeout(()=>{b(l),window.location.href="/cart"},500):console.error("[Whatmore] ATC 75026858234 failed:",P)}catch(O){console.error("[Whatmore] ATC 75026858234 error:",O)}return void setTimeout(e,o)}if("52398751922"===t){async function W(){var t;const e=window.jQuery;if(!e||!v||"function"!==typeof(null===(t=window.theme)||void 0===t?void 0:t.initAjaxAddToCartForm))return u(l,1,b);const o=await(await fetch(v.split(/[?#]/)[0]+".js")).json();if(!document.querySelector(".ProductJson-"+o.id)){o.options=o.options.map(t=>t.name||t);const t=document.createElement("script");t.type="application/json",t.className="ProductJson-"+o.id,t.textContent=JSON.stringify(o),document.body.appendChild(t)}const n=document.createElement("div");n.style.display="none",n.innerHTML='<form class="ajax-product-form" action="/cart/add" method="post"><input type="hidden" name="id" value="'+l+'"><input type="hidden" name="quantity" value="1"><button type="submit"></button></form>',document.body.appendChild(n);const r=e(n.firstChild);return new Promise(t=>{r.one("cc:addToCart:success cc:addToCart:error",e=>{n.remove();const o="cc:addToCart:success"===e.type;o&&setTimeout(()=>b(l),500),t(o)}),window.theme.initAjaxAddToCartForm(r),r.trigger("submit")})}return void W().then(()=>{setTimeout(e,o)}).catch(t=>{console.error("[Whatmore] ATC 52398751922 error:",t)})}if("65606910124"===t){async function L(t,e=1){const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:t,quantity:e}]})});if(!o.ok)return console.error("[ATC] Add to cart failed:",o.status),!1;document.dispatchEvent(new CustomEvent("cart:build"));const n=document.querySelector("cart-drawer");if(!n)return window.location.href="/cart",!0;const r=await(await fetch("/?section_id=cart-drawer")).text(),i=(new DOMParser).parseFromString(r,"text/html");return n.innerHTML=i.querySelector("cart-drawer").innerHTML,n.classList.remove("is-empty"),n.open(),setTimeout(()=>b(t),500),!0}return void L(l,1).then(()=>{setTimeout(e,o)}).catch(t=>{console.error("[Whatmore] ATC 65606910124 error:",t)})}if("17994587"===t||"68660855106"===t){async function J(t,e=1){const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","X-Requested-With":"XMLHttpRequest"},body:JSON.stringify({items:[{id:t,quantity:e}]})});if(!o.ok)return console.error("[ATC] Add to cart failed:",o.status),!1;document.dispatchEvent(new CustomEvent("cart:build"));const n=document.querySelector("cart-drawer");return n&&"function"===typeof n.open?n.open():document.dispatchEvent(new CustomEvent("cart:open")),setTimeout(()=>b(t),500),!0}return void J(l,1).then(()=>{setTimeout(e,o)}).catch(t=>{console.error("[Whatmore] ATC 17994587/68660855106 error:",t)})}if("57217876118"===t){async function R(t,e=1){const o=new FormData;o.append("id",t),o.append("quantity",e),o.append("sections","side-cart");const n=await fetch("/cart/add.js",{method:"POST",body:o,headers:{"X-Requested-With":"XMLHttpRequest",Accept:"application/javascript"}}).then(t=>t.json());n.status?console.error("atc failed",n.description):(window.ajaxCart.load(n),setTimeout(()=>{b(t)},500))}return void R(l,1).then(()=>{setTimeout(e,o)}).catch(t=>{console.error("[Whatmore] ATC 57217876118 error:",t)})}if("75310563627"===t){async function D(t,e=1){const o=new FormData;o.append("id",t),o.append("quantity",e),o.append("sections","cart-drawer,cart-icon-bubble");const n=await fetch("/cart/add.js",{method:"POST",body:o,headers:{Accept:"application/javascript"}}).then(t=>t.json());if(n.status)return void console.error("atc failed",n.description);const r=document.querySelector("cart-drawer");r&&(r.renderContents(n),r.classList.remove("is-empty"),r.open())}return D(l,1).then(()=>{setTimeout(()=>{b(l)},500)}).catch(t=>{console.error("[Whatmore] ATC 75310563627 error:",t)}),void setTimeout(e,o)}if("81308287252"===t)return(async()=>{const t={};(0,a.hG)((0,a.VA)(),"order_tracking->track_using_wtot")||(t[r.B_]=`${(0,n.wm)()}#${f}:direct`);const e=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({id:Number(l),quantity:1,properties:t})}).then(t=>t.json()).catch(()=>null);e&&!e.status?setTimeout(()=>{const t=document.querySelector(".iCartBtnToggle")||document.querySelector("#iCartBtnToggle");t?t.click():console.warn("[Whatmore] iCart toggle not found for 81308287252")},250):console.error("[Whatmore] ATC 81308287252 failed:",e&&e.description)})(),void setTimeout(e,o);if("67841720509"===t){async function I(t,e=1){const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({id:Number(t),quantity:e})});o.ok?(document.dispatchEvent(new CustomEvent("on:cart:change",{bubbles:!0,cancelable:!1})),document.dispatchEvent(new CustomEvent("dispatch:cart-drawer:refresh",{bubbles:!0}))):console.error("[Whatmore] ATC 67841720509 failed:",await o.text())}return I(l,1).then(()=>{setTimeout(()=>{b(l)},500)}).catch(t=>{console.error("[Whatmore] ATC 67841720509 error:",t)}),void setTimeout(e,o)}if("72603631788"===t||"5220302897"===t){const V=new FormData;V.append("id",l),V.append("quantity","1"),T&&V.append("properties[Size]",T);try{const x=await fetch("/cart/add.js",{method:"POST",body:V}),M=await x.json();M.id?setTimeout(()=>{b(l),window.location.href="/cart"},500):console.error("Afrozeh ATC failed:",M)}catch(O){console.error("Afrozeh ATC error:",O)}return void setTimeout(e,o)}if("67083239728"===t){try{const F=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:l,quantity:1}]})});F.ok||console.error("[ATC] Add to cart failed:",F.status)}catch(O){console.error("[ATC] Error while adding to cart:",O)}return setTimeout(()=>{b(l)},1e3),void setTimeout(e,o)}if("61442818186"===t){async function G(t,e=1){const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:t,quantity:e}]})});if(!o.ok)return void console.error("[ATC] Add to cart failed:",o.status);document.dispatchEvent(new CustomEvent("cart:build"));const n=document.querySelector(".js-drawer-open-cart");n&&n.click()}return G(l,1).then(()=>{setTimeout(()=>{b(l)},500)}).catch(t=>{console.error("[Whatmore] ATC 61442818186 error:",t)}),void setTimeout(e,o)}if("9311420495"===t){async function B(t){const e=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:[{id:Number(t),quantity:1}]})}),o=await e.json();if(!e.ok||o.status)return console.error("[Whatmore] ATC 9311420495 failed:",o);document.dispatchEvent(new CustomEvent("ajaxProduct:added",{detail:{product:o}})),setTimeout(()=>b(t),500)}return B(l).catch(t=>{console.error("[Whatmore] ATC 9311420495 error:",t)}),void setTimeout(e,o)}if("56352899156"===t){async function H(t,e=1){const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:[{id:t,quantity:e}]})}),n=await o.json();if(!o.ok)throw new Error(n.description||n.message||"Could not add to cart");document.dispatchEvent(new CustomEvent("theme:cart:refresh",{bubbles:!0}));const r=Array.prototype.slice.call(document.querySelectorAll("[data-cart-drawer-toggle]")),i=r.filter(t=>null!==t.offsetParent)[0]||r[0];i?i.click():window.location.href="/cart",setTimeout(()=>b(t),500)}return H(l,1).catch(t=>{console.error("[Whatmore] ATC 56352899156 error:",t)}),void setTimeout(e,o)}if("62226792677"===t){async function U(t,e=1){const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:t,quantity:e}]})});var n;o.ok?("function"===typeof(null===(n=window.cleverSopify)||void 0===n?void 0:n.onCartUpdate)&&window.cleverSopify.onCartUpdate(1,1,m),setTimeout(()=>{b(t)},500)):console.error("[ATC] Add to cart failed:",o.status)}return U(l).catch(t=>{console.error("[Whatmore] Error:",t)}),void setTimeout(e,o)}if("64655163636"===t){async function X(t,e=1){const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},body:JSON.stringify({items:[{id:t,quantity:e}]})});return o.ok?(setTimeout(()=>b(t),500),document.getElementById("CartDrawer")?document.dispatchEvent(new CustomEvent("ajaxProduct:added")):setTimeout(()=>{window.location.href="/cart"},500),!0):(console.error("[Whatmore] ATC 64655163636 failed:",o.status),!1)}return X(l,1).catch(t=>{console.error("[Whatmore] ATC 64655163636 error:",t)}),void setTimeout(e,o)}if("3065315386"===t){async function Q(t,e=1){const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},body:JSON.stringify({items:[{id:t,quantity:e}]})});return o.ok?(setTimeout(()=>b(t),500),h([{id:t,quantity:e}])||setTimeout(()=>{window.location.href="/cart"},500),!0):(console.error("[Whatmore] ATC 3065315386 failed:",o.status),!1)}return Q(l,1).catch(t=>{console.error("[Whatmore] ATC 3065315386 error:",t)}),void setTimeout(e,o)}if("78393540856"===t){async function z(t,e=1){const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},body:JSON.stringify({items:[{id:t,quantity:e}]})});return o.ok?(setTimeout(()=>b(t),500),p()||setTimeout(()=>{window.location.href="/cart"},500),!0):(console.error("[Whatmore] ATC 78393540856 failed:",o.status),!1)}return z(l,1).catch(t=>{console.error("[Whatmore] ATC 78393540856 error:",t)}),void setTimeout(e,o)}if("60595503283"===t){async function K(t,e=1){const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},body:JSON.stringify({items:[{id:t,quantity:e}]})});if(!o.ok)return console.error("[Whatmore] ATC 60595503283 failed:",o.status),!1;setTimeout(()=>b(t),500);return document.querySelector('#sidebar-cart[data-section-type="cart"]')?(document.dispatchEvent(new CustomEvent("product:added",{bubbles:!0,detail:{quantity:e}})),!0):(setTimeout(()=>{window.location.href="/cart"},500),!0)}return K(l,1).catch(t=>{console.error("[Whatmore] ATC 60595503283 error:",t)}),void setTimeout(e,o)}if("47682683045"===t){async function Z(t,e=1){const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:t,quantity:e}]})});return o.ok?(b(t),setTimeout(()=>{document.getElementById("CartDrawer")&&!document.body.classList.contains("template-cart")?document.dispatchEvent(new CustomEvent("ajaxProduct:added")):window.location.href="/cart"},1500),!0):(console.error("[ATC] Add to cart failed:",o.status),!1)}return Z(l,1).catch(t=>{console.error("[Whatmore] ATC 47682683045 error:",t)}),void setTimeout(e,o)}if("64188973306"===t){async function Y(t,e=1){const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:t,quantity:e}]})});return o.ok?(b(t),setTimeout(async()=>{if(!document.querySelector("cart-drawer-component"))return void(window.location.href="/cart");const t=await(await fetch("/cart.js")).json();document.dispatchEvent(new CustomEvent("cart:update",{bubbles:!0,detail:{resource:t,sourceId:"whatmore",data:{itemCount:t.item_count,source:"whatmore"}}}))},1500),!0):(console.error("[ATC] Add to cart failed:",o.status),!1)}return Y(l,1).catch(t=>{console.error("[Whatmore] ATC 64188973306 error:",t)}),void setTimeout(e,o)}if("55586586685"===t){async function tt(t,e=1){const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:t,quantity:e}]})});return o.ok?(b(t),setTimeout(()=>{const t=document.querySelector("cart-drawer");t?(document.dispatchEvent(new CustomEvent("cart:refresh")),t.show()):window.location.href="/cart"},1500),!0):(console.error("[ATC] Add to cart failed:",o.status),!1)}return tt(l,1).catch(t=>{console.error("[Whatmore] ATC 55586586685 error:",t)}),void setTimeout(e,o)}if("72915616066"===t||"84966080805"===t){function et(){var t,e;const o=window.customElements.get("cart-drawer")&&document.querySelector("cart-drawer");let n=[];const r=new CustomEvent("cart:prepare-bundled-sections",{bubbles:!0,detail:{sections:n}});document.documentElement.dispatchEvent(r);const i=n.length>0,a="string"===typeof(null===(t=window.themeVariables)||void 0===t||null===(e=t.settings)||void 0===e?void 0:e.cartType);return(!a||"page"!==window.themeVariables.settings.cartType)&&(o&&i&&a)}async function ot(t,e){document.documentElement.dispatchEvent(new CustomEvent("theme:loading:start",{bubbles:!0}));let o=[];document.documentElement.dispatchEvent(new CustomEvent("cart:prepare-bundled-sections",{bubbles:!0,detail:{sections:o}}));const n=await fetch(`${window.Shopify.routes.root}cart/add.js`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:t,quantity:e}],sections:o.join(",")})});if(document.documentElement.dispatchEvent(new CustomEvent("theme:loading:end",{bubbles:!0})),!n.ok)return console.error("[ATC] Add to cart failed:",n.status),document.dispatchEvent(new CustomEvent("cart:refresh")),!1;const r=await n.json(),i=await(await fetch(`${window.Shopify.routes.root}cart.js`)).json();return i.sections=r.sections,document.documentElement.dispatchEvent(new CustomEvent("cart:change",{bubbles:!0,detail:{baseEvent:"variant:add",cart:i}})),setTimeout(()=>{b(t)},500),!0}async function nt(t,e=1){return et()?ot(t,e):u(t,e,b)}return nt(l).catch(t=>{console.error("[Whatmore] Error:",t)}),void setTimeout(e,o)}if("44061622423"===t){async function rt(t,e=1){const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:t,quantity:e}]})});o.ok?window.cart&&"function"===typeof window.cart.getCart?(window.cart.getCart(),setTimeout(()=>{b(t)},500)):fetch("/cart?section_id=api-cart-items").then(t=>t.text()).then(e=>{const o=document.createElement("div");if(o.innerHTML=e,window.cart&&"function"===typeof window.cart.build){const t=o.querySelector("[data-api-content]");t&&window.cart.build(t)}document.dispatchEvent(new CustomEvent("theme:product:added",{bubbles:!0})),setTimeout(()=>{b(t)},500)}).catch(()=>{const e=document.querySelector('[href="/cart"], [data-cart-toggle], a[href*="/cart"]');e&&e.click(),setTimeout(()=>{b(t)},500)}):console.error("[ATC] Add to cart failed:",o.status)}return rt(l).catch(t=>{console.error("[Whatmore] Error:",t)}),void setTimeout(e,o)}if("60183445561"===t){async function it(t,e=1,o="/cart"){const n=new URLSearchParams;n.append("id",t),n.append("quantity",e.toString()),n.append("return_to",o);const r=await fetch("https://tapee.in/cart/add",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:n.toString(),credentials:"include"}),i=await r.text();return r.ok&&setTimeout(()=>{b(t),window.location.href="https://tapee.in/cart"},500),i}return it(l).catch(t=>{console.error("Error:",t)}),void setTimeout(e,o)}if("22907887"===t){async function at(t,e=1){const o=new FormData;o.append("id",t),o.append("quantity",e.toString());const n=document.querySelector("cart-notification, cart-drawer");if(n){const t=n.getSectionsToRender();o.append("sections",t.map(t=>t.id).join(","))}o.append("sections_url",window.location.pathname);const r=await fetch("/cart/add.js",{method:"POST",body:o});if(!r.ok){const t=await r.text();throw new Error(`Failed to add to cart: ${t}`)}const i=await r.json();return n&&n.renderContents&&n.renderContents(i),document.body.classList.remove("overflow-hidden"),document.querySelectorAll(".atc-container.active, .atc-variant-container.active, .pdp-atc-container.active").forEach(t=>t.classList.remove("active")),window.dispatchEvent(new CustomEvent("cart:added",{detail:{variantId:t,quantity:e,data:i}})),i}return at(l).then(t=>{setTimeout(()=>{b(l)},500)}).catch(t=>{console.error("Error:",t)}),void setTimeout(e,o)}if("28575536"===t||"64287408360"===t||"8473575520"===t||"65972830359"===t||"75000480020"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:l,quantity:1})}).then(t=>{if(!t.ok)throw new Error("Add to cart failed");return t.json()}).then(t=>{"function"===typeof window.handleFloCartBtn&&window.handleFloCartBtn(),setTimeout(()=>{b(l)},500)}).catch(t=>console.error("[Whatmore] Ripped Up Nutrition ATC error:",t)),void setTimeout(e,o);if("58692075703"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:l,quantity:1})}).then(t=>{if(!t.ok)throw new Error("Add to cart failed");return t.json()}).then(t=>{"function"===typeof window.openGokwikSideCart&&window.openGokwikSideCart(),setTimeout(()=>{b(l)},500)}).catch(t=>console.error("[Whatmore] Lakshita ATC error:",t)),void setTimeout(e,o);if("22907887"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:l,quantity:1})}).then(t=>t.json()).then(t=>{setTimeout(()=>{b(l)},500)}).catch(t=>console.error("Add to cart error:",t)),void setTimeout(e,o);if("58501496967"===t)return(async()=>{const t=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:l,quantity:1}]})});t.ok?(window.ajaxCart&&"function"===typeof window.ajaxCart.load&&window.ajaxCart.load(),window.jQuery&&window.jQuery("body").trigger("drawer.open"),setTimeout(()=>{b(l)},500)):console.error("[Whatmore] ATC 58501496967 failed:",t.status)})().catch(t=>console.error("[Whatmore] ATC 58501496967 error:",t)),void setTimeout(e,o);if("56444977250"===t){const ct=document.querySelector('button[data-pf-type="ProductATC2"]');return ct?(m&&ct.setAttribute("data-product-id",m),ct.click(),setTimeout(()=>{c().then(t=>t.json()).then(t=>{const e=t.items.find(t=>String(t.id)===String(l));if(e){d(e.key,e.quantity,e.properties,f,y,w,!0,!0,!0)}})},500),void setTimeout(e,o)):(fetch(null===v||void 0===v||null===(C=v.split("?"))||void 0===C?void 0:C[0]).then(t=>t.text()).then(t=>{const e=(new DOMParser).parseFromString(t,"text/html").querySelector('button[data-pf-type="ProductATC2"]');e&&m&&e.setAttribute("data-product-id",m)}),void setTimeout(e,o));var C}if("64379584700"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:l,quantity:1})}).then(t=>t.json()).then(t=>fetch("/cart.js")).then(t=>t.json()).then(t=>{$(".paira-cart-item-count").text(t.item_count),$(".paira-cartEmpty").hide(),$(".paira-cartNotEmpty").show(),$(".paira-cart-total-price .money").text("Rs. "+t.total_price/100),$(".cart-drop").addClass("open"),$(".cart-icon").trigger("mouseenter"),setTimeout(()=>{b(l)},500)}).catch(t=>console.error("Add to cart error:",t)),void setTimeout(e,o);if("66947219508"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:[{id:Number(l),quantity:1}]})}).then(async()=>{const t=document.getElementById("mini-cart");t&&"function"===typeof t._rerenderCart&&await t._rerenderCart({detail:{openMiniCart:!0}}),setTimeout(()=>{b(l)},500)}).catch(t=>console.error("[Whatmore] ATC 66947219508 error:",t)),void setTimeout(e,o);if("76767920441"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:l,quantity:1})}).then(t=>t.json()).then(t=>{"function"===typeof window.openGokwikSideCart&&window.openGokwikSideCart(),setTimeout(()=>{b(l)},500)}).catch(t=>console.error("Add to cart error:",t)),void setTimeout(e,o);if("26767687757"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:l,quantity:1})}).then(t=>t.json()).then(t=>{"function"===typeof window.openGokwikSideCart&&window.openGokwikSideCart(),setTimeout(()=>{b(l)},500)}).catch(t=>console.error("[Whatmore] CHOSEN ATC error:",t)),void setTimeout(e,o);if("70840582336"===t){const dt=l,st=1,ut=document.querySelector('product-form form.product-form, form[action*="/cart/add"]');if(ut){let lt=ut.querySelector('input[name="id"]');lt||(lt=document.createElement("input"),lt.type="hidden",lt.name="id",ut.appendChild(lt)),lt.disabled=!1,lt.value=dt;const pt=ut.querySelector('input[name="quantity"]');pt&&(pt.value=st);const ht=ut.querySelector('button[data-add-to-cart], button[type="submit"]');return ht?(ht.dispatchEvent(new MouseEvent("pointerdown",{bubbles:!0})),ht.click(),ht.dispatchEvent(new MouseEvent("pointerup",{bubbles:!0}))):console.warn("[ATC] button not found"),setTimeout(()=>{b(dt)},500),void setTimeout(e,o)}return void fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({id:dt,quantity:st}),credentials:"same-origin"}).then(()=>{setTimeout(()=>{b(dt)},500),setTimeout(e,o)}).catch(t=>{console.error("[ATC] error for 70840582336:",t),setTimeout(e,o)})}if("64683278550"===t){try{const mt=document.querySelector('form[action="/cart/add"]');if(!mt)return console.warn("[ATC 64683278550] form not found"),void setTimeout(e,o);const ft=mt.querySelector('input[name="id"]');if(!ft)return console.warn("[ATC 64683278550] id input not found"),void setTimeout(e,o);ft.value=l;const yt=mt.querySelector('button[type="submit"]');if(!yt)return console.warn("[ATC 64683278550] submit button not found"),void setTimeout(e,o);yt.click(),setTimeout(()=>{b(l)},500),setTimeout(e,o)}catch(E){console.error("[ATC 64683278550] error:",E),setTimeout(e,o)}return}if("95562924310"===t||"61810999367"===t){try{const wt=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:l,quantity:1}]})});if(wt.ok){const vt=await wt.json();document.dispatchEvent(new CustomEvent("cart:update",{detail:{cart:vt}})),document.dispatchEvent(new CustomEvent("theme:cart:refresh",{detail:{target:"product_flood_atc"},bubbles:!0})),setTimeout(()=>{b(l)},500)}else console.error("[ATC 95562924310] Add to cart failed:",wt.status)}catch(O){console.error("[ATC 95562924310] error:",O)}return void setTimeout(e,o)}if("45050691744"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:l,quantity:1})}).then(t=>t.json()).then(t=>{jQuery.ajax({type:"GET",url:"/",dataType:"html",success:function(t){jQuery(".drawer__inner.cart-drawer-content").html(jQuery(t).find(".drawer__inner.cart-drawer-content").html()),jQuery(".custom_doscunt_bar").html(jQuery(t).find(".custom_doscunt_bar").html()),jQuery(".some_js_items").html(jQuery(t).find(".some_js_items").html()),jQuery(".header-cart-icon__count").html(jQuery(t).find(".header-cart-icon__count").html());try{jQuery("#FreeShippingText").slick({dots:!0,autoplay:!0,autoplaySpeed:2500,arrows:!0})}catch(e){}jQuery("div#HeaderCartIcon button").trigger("click"),setTimeout(()=>{b(l)},500)}})}).catch(t=>console.error("Add to cart error:",t)),void setTimeout(e,o);if("55337746621"===t){async function Tt(t,e=1){var o;await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:t,quantity:e}]})});const n=await fetch("/cart.js").then(t=>t.json());document.querySelectorAll("[data-cart-count]").forEach(t=>{const e=t.querySelector(":scope > span:last-of-type");e&&(e.textContent=n.item_count)});const r=document.querySelector("[data-cart-container]");if(!r)return;const i=((null===(o=r.parentElement)||void 0===o?void 0:o.id)||"").replace("shopify-section-","");let a=null;if(i){const t=await fetch(`/?sections=${encodeURIComponent(i)}`).then(t=>t.json()).catch(()=>null);if(null!==t&&void 0!==t&&t[i]){const e=document.createElement("div");e.innerHTML=t[i];const o=e.querySelector("[data-cart-container]");o&&(a=o.innerHTML)}}if(!a){const t=await fetch("/cart").then(t=>t.text()),e=(new DOMParser).parseFromString(t,"text/html").querySelector("[data-cart-container]");e&&(a=e.innerHTML)}if(!a)return;r.innerHTML=a,r.classList.add("is-drawer-open"),document.body.classList.add("is-scroll-disabled");const c=()=>{r.classList.remove("is-drawer-open"),document.body.classList.remove("is-scroll-disabled")};r.querySelectorAll("[data-cart-drawer-toggle]").forEach(t=>{t.addEventListener("click",t=>{t.preventDefault(),c()})}),document.addEventListener("keydown",t=>{"Escape"===t.key&&c()},{once:!0})}return Tt(l,1).then(()=>{setTimeout(()=>{b(l)},500)}).catch(t=>{console.error("[Whatmore] ATC 55337746621 error:",t)}),void setTimeout(e,o)}if("12175954"===t){async function bt(t,e=1){const o=await fetch(theme.routes.cart_add_url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:t,quantity:e}]})});return o.ok?(document.dispatchEvent(new CustomEvent("theme:cartchanged",{bubbles:!0,cancelable:!1,detail:{openDrawer:!0}})),setTimeout(()=>{b(t)},500),!0):(console.error("[ATC] Add to cart failed:",o.status),!1)}return bt(l).catch(t=>{console.error("[Whatmore] ATC 12175954 error:",t)}),void setTimeout(e,o)}if("2754609263"===t){const Ct=()=>{const t=["cart:open","CartDrawer:open","drawerOpen"],e=[document,window];try{window.parent&&window.parent!==window&&window.parent.document&&e.push(window.parent.document)}catch(n){}const o=t=>e.forEach(e=>{try{e.dispatchEvent(new CustomEvent(t,{bubbles:!0}))}catch(n){console.error(`[Whatmore] ATC 2754609263 dispatch ${t} failed:`,n)}});["cart:refresh","cart:build","cart:updated"].forEach(o),setTimeout(()=>t.forEach(o),150)};async function St(t,e=1){var o,n,r;const i=(null===(o=window.Shopify)||void 0===o||null===(n=o.routes)||void 0===n?void 0:n.root)||"/",a={"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest",Accept:"application/javascript"},c=Number(e)||1,d=()=>fetch(`${i}cart/add.js`,{method:"POST",headers:a,body:JSON.stringify({items:[{id:t,quantity:c}]})}).then(t=>t.json()),s=await fetch(`${i}cart.js`,{headers:{Accept:"application/json"},cache:"no-store"}).then(t=>t.json()).catch(()=>null),u=null===s||void 0===s||null===(r=s.items)||void 0===r?void 0:r.find(e=>e.id==t);let l;var p,h;(u?(l=await fetch(`${i}cart/change.js`,{method:"POST",headers:a,body:JSON.stringify({id:u.key,quantity:u.quantity+c})}).then(t=>t.json()).catch(()=>null),l&&!l.status||(console.warn("[Whatmore] ATC 2754609263 change.js rejected, falling back to add.js"),l=await d())):l=await d(),l&&!l.status)?(Ct(),setTimeout(()=>{b(t)},500)):console.error("[Whatmore] ATC 2754609263 failed:",(null===(p=l)||void 0===p?void 0:p.description)||(null===(h=l)||void 0===h?void 0:h.message))}return St(l).catch(t=>{console.error("[Whatmore] ATC 2754609263 error:",t)}),void setTimeout(e,o)}if("25786679341"===t)return(async(t,e)=>{const o={};(0,a.hG)((0,a.VA)(),"order_tracking->track_using_wtot")||(o[r.B_]=`${(0,n.wm)()}#${f}:direct`);const i=await fetch(`${(null===(t=window.Shopify)||void 0===t||null===(e=t.routes)||void 0===e?void 0:e.root)||"/"}cart/add.js`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:[{id:Number(l),quantity:1,properties:o}]})}).then(t=>t.json()).catch(()=>null);if(i&&!i.status)if(document.dispatchEvent(new CustomEvent("vd:cart:added",{bubbles:!0,detail:{items:i.items||[i]}})),"function"===typeof window.vdOpenCart)window.vdOpenCart();else{const t=document.querySelector("a.vd-bag");t?t.click():console.warn("[Whatmore] vdOpenCart missing and no .vd-bag for 25786679341")}else console.error("[Whatmore] ATC 25786679341 failed:",i&&i.description)})().catch(t=>{console.error("[Whatmore] ATC 25786679341 error:",t)}),void setTimeout(e,o);if("8111554613"===t)return(async()=>{const t=()=>{const t=document.querySelector("cart-drawer#CartDrawer");t?(document.querySelectorAll(".add-to-cart-popup, .exit-intent-popup").forEach(t=>t.classList.add("hide")),t.removeAttribute("hidden"),t.removeAttribute("inert"),"function"!==typeof t.show||t.open?(t.setAttribute("open","true"),t.setAttribute("active","true")):t.show()):console.warn("[Whatmore] cart-drawer#CartDrawer not found for 8111554613")},e=()=>{const e=document.querySelector("cart-drawer#CartDrawer");let o=!1;const n=()=>{o||(o=!0,r.disconnect(),clearTimeout(i),t())},r=new MutationObserver(()=>{const t=document.querySelector("cart-drawer#CartDrawer");t&&t!==e&&n()});r.observe(document.body,{childList:!0,subtree:!0});const i=setTimeout(n,3e3)};if("function"!==typeof window.cartGiftUpdate){console.warn("[Whatmore] cartGiftUpdate missing for 8111554613, falling back to /cart/add.js");const e=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:[{id:Number(l),quantity:1}]})}).then(t=>t.json()).catch(()=>null);return!e||e.status?void console.error("[Whatmore] ATC 8111554613 fallback failed:",e&&e.description):void setTimeout(()=>{b(l),document.dispatchEvent(new CustomEvent("cart:updated",{detail:{cart:e}})),t()},500)}const{price:o,productType:n}=await(async()=>{try{var t,e;const o=await fetch("/cart.js",{headers:{Accept:"application/json"},cache:"no-store"}).then(t=>t.json()),n=null===o||void 0===o||null===(t=o.items)||void 0===t?void 0:t.find(t=>String(t.variant_id)===String(l));if(n)return{price:n.price,productType:null!==(e=n.product_type)&&void 0!==e?e:""}}catch(r){}try{var o,n;const t=(v||window.location.href).split(/[?#]/)[0],e=await fetch(`${t}.js`,{headers:{Accept:"application/json"}}).then(t=>t.json()),r=null===e||void 0===e||null===(o=e.variants)||void 0===o?void 0:o.find(t=>String(t.id)===String(l));if(r)return{price:r.price,productType:null!==(n=e.product_type)&&void 0!==n?n:""}}catch(r){}return{price:0,productType:""}})(),r=()=>{document.removeEventListener("cart:updated",r),clearTimeout(i),b(l),e()},i=setTimeout(()=>{document.removeEventListener("cart:updated",r),b(l),e()},2500);document.addEventListener("cart:updated",r,{once:!1}),window.cartGiftUpdate(String(l),o,1,n,"ADD_TO_CART")})().catch(t=>{console.error("[Whatmore] ATC 8111554613 error:",t)}),void setTimeout(e,o);if("5801421"===t)return(async()=>{const t={};(0,a.hG)((0,a.VA)(),"order_tracking->track_using_wtot")||(t[r.B_]=`${(0,n.wm)()}#${f}:direct`);const e=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({id:Number(l),quantity:1,properties:t})}).then(t=>t.json()).catch(()=>null);if(!e||e.status)return void console.error("[Whatmore] ATC 5801421 failed:",e&&e.description);let o=!1;const i=()=>{if(o)return!0;const t=window.Rebuy&&window.Rebuy.SmartCart;if(!t||"function"!==typeof t.show)return!1;if("ready"!==t.status&&!t.hasBoundEvents&&!document.querySelector("#rebuy-cart"))return!1;if(!0===t.isOpen||!0===t.isVisible)return o=!0,!0;o=!0;try{window.Rebuy.Cart&&window.Rebuy.Cart.fetchCart()}catch(e){}return t.show(),!0};document.addEventListener("rebuy:smartcart.ready",i,{once:!0});const c=(t=0)=>{if(i())return;if(t<40)return void setTimeout(()=>c(t+1),150);const e=window.Rebuy&&window.Rebuy.SmartCart;if(e&&"function"===typeof e.show)return o=!0,void e.show();const n=document.querySelector('[data-cart-open], a[href$="/cart"]:not([disable-rebuy], .disable-rebuy)');n?n.click():console.warn("[Whatmore] Rebuy SmartCart unavailable for 5801421")};c()})().catch(t=>{console.error("[Whatmore] ATC 5801421 error:",t)}),void setTimeout(e,o);const S=e=>{if("61126934766"==t){let t=e.querySelector(".productView-buttons").querySelector('form[action*="/cart/add"]');if(t)return t}let o=Array.from(e.querySelectorAll("product-form")).find(t=>t.querySelector('form > input[name="id"]')&&t.querySelector('form button[type="submit"]'));return o||(o=Array.from(e.querySelectorAll('form[action*="/cart/add"]')).find(t=>t.querySelector('button[type="submit"]'))),o},g=(e,o,n)=>{const r=e.cloneNode(!0);if(r){r.hasAttribute("data-product-variant-id")&&r.setAttribute("data-product-variant-id",o),r.hasAttribute("data-product-id")&&r.setAttribute("data-product-id",n);let e=r.querySelector('input[name="id"]');if(e)e.setAttribute("value",o),e.hasAttribute("disabled")&&e.removeAttribute("disabled");else{const t=r.querySelector('select[name="id"]');if(t){const e=t.querySelector('option[selected="selected"]');e&&e.setAttribute("value",o)}}const i=r.querySelector('input[name="product-id"]');i&&i.setAttribute("value",n);const a=document.createElement("div");return a.className="whatmore-atc",a.appendChild(r),document.body.appendChild(a),console.log(a,"formElement"),"92319318403"!==t&&"80261644574"!==t||((t,e,o)=>{var n;const r=null!==(n=t.matches)&&void 0!==n&&n.call(t,"form")?t:t.querySelector("form");if(!r)return;let i=r.querySelector('input[name="id"]');i||(i=document.createElement("input"),i.type="hidden",i.name="id",r.prepend(i)),i.value=String(e),i.removeAttribute("disabled");const a=r.querySelector('select[name="id"]');a&&([...a.options].some(t=>t.value===String(e))?(a.value=String(e),[...a.options].forEach(t=>t.selected=t.value===String(e)),a.dispatchEvent(new Event("change",{bubbles:!0}))):a.removeAttribute("name"));const c=r.querySelector('input[name="product-id"]');c&&(c.value=String(o))})(a,o,n),a}},_=t=>{const e=null===t||void 0===t?void 0:t.querySelector('button[type="submit"]');e&&e.click()},A=S(document);if(A||(null===A||void 0===A?void 0:A.length)>0){const gt=g(A,l,m);_(gt),setTimeout(()=>{b(l)},500),gt.remove()}else{var j;fetch(null===v||void 0===v||null===(j=v.split("?"))||void 0===j?void 0:j[0]).then(t=>t.text()).then(t=>{const e=(new DOMParser).parseFromString(t,"text/html"),o=S(e);if(o||(null===o||void 0===o?void 0:o.length)>0){const t=g(o,l,m);_(t),setTimeout(()=>{b(l)},500),t.remove()}})}setTimeout(e,o)}},5118:function(t,e,o){async function n(t,e=""){let o;if("27303477337"===e){var n,r;const e="https://"+window.location.hostname,i=window.location.pathname.split("/");o=e+"/"+(null!==i&&void 0!==i&&null!==(n=i[1])&&void 0!==n&&n.startsWith("en-")?(null===i||void 0===i?void 0:i[1])+"/":"")+(null===t||void 0===t||null===(r=t.product_link)||void 0===r?void 0:r.split(".co")[1])+".js"}else o=(null===t||void 0===t?void 0:t.product_link)+".js";const i=await fetch(o,{method:"GET"});if(!i.ok)throw new Error(`Error! status: ${i.status}`);return await i.json()}async function r(t){if(!t||!t.product_link)return null;const e=await fetch(t.product_link+".json",{method:"GET"});if(!e.ok)throw new Error("Error! status: "+e.status);return e.json()}async function i(t,e,o){if(t)return n(t,o)}function a(t){var e=[],o=[],n=[];const r=t&&t.variants||[],i=t&&t.options||[];return r.forEach(t=>{var r,a,c;t.option1&&e.push({option:t.option1,available:null===(r=t.available)||void 0===r||r,type:i[0]&&i[0].name}),t.option2&&o.push({option:t.option2,available:null===(a=t.available)||void 0===a||a,type:i[1]&&i[1].name}),t.option3&&n.push({option:t.option3,available:null===(c=t.available)||void 0===c||c,type:i[2]&&i[2].name})}),e=e.reduce((t,e,o)=>{var n=t.filter(t=>t.option==e.option);return 0==n.length?[...t,e]:(n[0].available=n[0].available|e.available,t)},[]),o=o.reduce((t,e,o)=>{var n=t.filter(t=>t.option==e.option);return 0==n.length?[...t,e]:(n[0].available=n[0].available|e.available,t)},[]),n=n.reduce((t,e,o)=>{var n=t.filter(t=>t.option==e.option);return 0==n.length?[...t,e]:(n[0].available=n[0].available|e.available,t)},[]),[e,o,n]}function c(t){if(0==t.length)return null;const e=t.filter(t=>t.available);return 0==e.length?null:e[0].option}function d(t){return t[0].length<=1&&t[1].length<=1&&t[2].length<=1}function s(t,e){const o=e.filter(e=>e.option1==t[0]&&e.option2==t[1]&&e.option3==t[2]);return 0==o.length?null:o[0].id}function u(t){if(t&&t.length>=1){return t.filter(t=>t.available).length>=1}return!1}o.r(e),o.d(e,{atleastOneVariantAvailableInStock:function(){return u},getFirstAvailableOption:function(){return c},getVariantIdFromSelectedOption:function(){return s},getVariantOptions:function(){return a},isSingleVariantProduct:function(){return d},productDetailsDetailed:function(){return i},productDetailsShopifyJS:function(){return n},productDetailsShopifyJSON:function(){return r}})},8847:function(t,e,o){o.r(e),o.d(e,{addWhatmoreAttributeToCart:function(){return u}});var n=o(5616),r=o(4563),i=o(2567),a=o(5443),c=o(5566),d=o(6080);async function s(t){return await fetch("https://"+window.location.hostname+"/cart/update.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({attributes:t})}).then(t=>t.json()).catch(t=>{console.error("Whatmore :: Error while updating cart attribute.",t)})}async function u(t){var e;let o,u=(0,n.Ak)(),l=null,p=null,h={},m=null,f=null,y=null,w={};const v=(0,i.Ry)();let T=(0,c.CK)(),b=null===(e=localStorage)||void 0===e?void 0:e.wht_is_impression,C=T.length>0;T.forEach(t=>{w.hasOwnProperty(null===t||void 0===t?void 0:t.product_id)||(w[null===t||void 0===t?void 0:t.product_id]={widgetInfo:null===t||void 0===t?void 0:t.widget_info,location:null===t||void 0===t?void 0:t.location,userType:null===t||void 0===t?void 0:t.user_type})});const S=localStorage.getItem("_whatmore_session_id"),g=localStorage.getItem("wht_user_group"),_=window.whatmore&&window.whatmore.abTestConfig&&window.whatmore.abTestConfig.ab_test_id||null,A=window.whatmore&&window.whatmore.abTestConfig&&null!=window.whatmore.abTestConfig.version?window.whatmore.abTestConfig.version:null,j=localStorage.getItem("_whatmore_user_id"),O=localStorage.getItem("_whatmore_last_video_view_session"),E=(()=>{try{var t;return JSON.parse(null!==(t=localStorage.getItem("_whatmore_add_to_cart_products"))&&void 0!==t?t:"[]")}catch(e){return[]}})(),q=new Set(E.map(t=>String(null===t||void 0===t?void 0:t.product_id))),k=(()=>{try{var t;return JSON.parse(null!==(t=localStorage.getItem("_whatmore_buynow_products"))&&void 0!==t?t:"[]")}catch(e){return[]}})(),N=new Set(k.map(t=>String(null===t||void 0===t?void 0:t.variant_id))),P={buynow:3,direct:2,indirect:1};await(0,r.getCartDetailsShopifyAsync)().then(t=>t.json()).then(e=>{u=e.token,o=e.attributes;let n={};try{var r,T;const t=null===(r=o)||void 0===r?void 0:r._wtot;n="string"===typeof t?JSON.parse(t):null!==t&&void 0!==t?t:{};const i=new Set((null!==(T=e.items)&&void 0!==T?T:[]).map(t=>String(null===t||void 0===t?void 0:t.product_id)));n=Object.fromEntries(Object.entries(n).filter(([t])=>i.has(String(t))))}catch(L){n={}}let E=[];if(E=!0===t?e.items.map(t=>{const e=w[null===t||void 0===t?void 0:t.variant_id];return{...t,location:null===e||void 0===e?void 0:e.location,userType:null===e||void 0===e?void 0:e.userType,widget_info:null===e||void 0===e?void 0:e.widgetInfo}}):e.items.map(t=>{const e=w[null===t||void 0===t?void 0:t.product_id];return{...t,location:null===e||void 0===e?void 0:e.location,userType:null===e||void 0===e?void 0:e.userType,widget_info:null===e||void 0===e?void 0:e.widgetInfo}}),0==E.length)return console.debug("Whatmore :: no cart items available for view products"),null;let k={},W={};if(null!=S){const t={wht_session_id:null!==O&&void 0!==O?O:S,wht_user_id:j,...g&&{wht_user_group:g},..._&&{wht_ab_test_id:_},...null!=A&&{wht_ab_test_version:A}};W={[d.Uv]:(0,d.dK)(v)?JSON.stringify(t):t,[d.Um]:""}}if(b||C){const t="1";W[C?d.Rm:d.AG]=t,W[C?d.bZ:d.SW]=""}!(0,a.hG)((0,a.VA)(),"order_tracking->disable_impression_order_tracking")&&(W.hasOwnProperty(d.Uv)||W.hasOwnProperty(d.Rm)&&!o.hasOwnProperty(d.Rm)||W.hasOwnProperty(d.AG)&&!o.hasOwnProperty(d.AG))&&s(W),E.map((e,o)=>{if(l=e.key,p=e.quantity,h=e.properties,m=e.widget_info,f=e.location,y=e.userType,("63330517149"==v||"77604192550"==v||"64157352183"==v||"62758289602"==v||"65972830359"==v||"75310563627"==v||(0,a.hG)((0,a.VA)(),"order_tracking->track_using_wtot"))&&w.hasOwnProperty(JSON.stringify(!0===t?e.variant_id:e.product_id))){const t="65972830359"==v||"75310563627"==v||(0,a.hG)((0,a.VA)(),"order_tracking->track_using_wtot"),o=t?"_wtot":"wtot";let i=(0,c.wm)()+`#${m}`;if(t){var r;const t=N.has(String(null===e||void 0===e?void 0:e.variant_id))?"buynow":q.has(String(null===e||void 0===e?void 0:e.product_id))?"direct":"indirect",o=n[null===e||void 0===e?void 0:e.product_id];i=(null!==(r=P[("string"===typeof o?o:"").split(":")[1]])&&void 0!==r?r:0)>=P[t]?o:i+`:${t}`}k={...k,[null===e||void 0===e?void 0:e.product_id]:i};s({[o]:t?{...n,...k}:k})}null!==h&&d.B_ in h||!w.hasOwnProperty(JSON.stringify(!0===t?e.variant_id:e.product_id))||async function(t,e,o,n,r="default",s,u,l,p){const h=(0,i.Ry)(),m=u?(0,c.wm)()+("72201044272"==h?`#${n}#${r}#${s?"olduser":"newuser"}`:`#${n}`):p?"_wt_vs":l?"_wt_vi":"";if(""==m||"_wt_vs"==m||"_wt_vi"==m||"77604192550"==h||"64157352183"==h||"80856187185"==h||"86486974743"==h||"62758289602"==h||"63046287536"==h||"65972830359"==h||"75310563627"==h||"86968402213"==h||(0,a.hG)((0,a.VA)(),"order_tracking->track_using_wtot"))return;let f={id:t,quantity:e,properties:{...m?{[d.B_]:m}:{},...o}};await fetch("https://"+window.location.hostname+"/cart/change.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(f)}).then(t=>t.json()).catch(t=>{console.error("Whatmore :: Error while updating cart line item properties.",t)})}(l,p,h,m,f,y,!0,b,C)})}).catch(t=>{console.error("Whatmore :: Error while fetching cart_token for cart attribute update.",t)})}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[9507],{1752:function(t,e,n){n.r(e),n.d(e,{CRITICAL_CSS:function(){return W},layoutOption:function(){return j},layoutVars:function(){return I},pdpUrl:function(){return D},renderNeoVideoAnswers:function(){return $},resolveLook:function(){return K}});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 f(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 b(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 b=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&&b.setAttribute("data-wht-multi","");let x=!1;const C=()=>{!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")||f(e,o.naturalWidth,o.naturalHeight,a)}),o.src=n}(t,b,e[0].poster,c)))};let k=null,A=null;y.addEventListener("loadedmetadata",()=>{b.setAttribute("data-wht-ar-media",""),f(b,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 R=u(t,"span","wht-neo-va-who",""),q=u(t,"div","wht-neo-va-stage-by"),P=u(t,"span","wht-neo-va-stage-by-avatar",""),O=u(t,"span","wht-neo-va-stage-by-handle","");q.appendChild(P),q.appendChild(O);const V=t=>{R.textContent=t.source.handle?"@"+t.source.handle:"",q.hidden=!t.source.handle,O.textContent=t.source.handle?"@"+t.source.handle:"",P.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)),b.appendChild(y),b.appendChild(_),b.appendChild(q),b.appendChild(R),e.length>1&&(b.appendChild(L),b.appendChild(M)),b.appendChild(j),b.appendChild(S),b.appendChild(B);let T=-1,W=null,F=!1,N=!1,D=!1,K=!1,$=!1,H="";const J="function"===typeof IntersectionObserver,U=()=>{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")},G=()=>{w&&(y.muted=!w.on),U()};w&&(w.listeners.push(G),G());const Y=t=>{if(!e.length)return;F=!0,N=!1,D=!0,T=(t%e.length+e.length)%e.length,W=e[T],V(W),b.setAttribute("data-wht-clip",String(T)),E.forEach((t,e)=>{t.style.width=e<T?"100%":"0"}),C();const a=W,o=a.stream||a.url,r=()=>{if(W===a)try{y.currentTime=a.start}catch(t){}},i=()=>{if(W!==a)return;const t=y.play();t&&t.catch&&t.catch(()=>{})},s=t=>{if(W===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=>{W===a&&(e.attachSource(y,o,e.PRIORITY.ACTIVE,{bufferAhead:Math.max(6,Math.min(15,t+4))}),s(!0))},k?d(k):(A||(A=Promise.all([n.e(1296,"high"),n.e(4071,"high")]).then(n.bind(n,725)).then(t=>(k=t,t))),A.then(d).catch(()=>{}))}else s(!1);var d;p&&p(T)},X=()=>{const t=y.play();t&&t.catch&&t.catch(()=>{})},Z=()=>{N=!0;try{y.pause()}catch(t){}};J&&(new IntersectionObserver(t=>{$=t.some(t=>t.isIntersecting),$&&D&&C()},{rootMargin:"600px 0px"}).observe(b),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(b));const Q=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=W,at())}),y.addEventListener("playing",()=>{b.setAttribute("data-wht-playing",""),Q(!0),W&&(et&&et.eventId!==W.eventId&&ot(),tt||(tt=Date.now(),et=W,at()),!(v&&v.onView&&W.event)||v.viewed&&v.viewed.has(W.eventId)||(v.viewed&&v.viewed.add(W.eventId),v.onView(W)))}),y.addEventListener("pause",()=>{b.removeAttribute("data-wht-playing"),Q(!1),ot()}),y.addEventListener("emptied",()=>{b.removeAttribute("data-wht-playing"),Q(!1),ot()}),j.addEventListener("click",t=>{t.stopPropagation(),F?y.paused?(N=!1,X()):Z():Y(0)}),B.addEventListener("click",t=>{t.stopPropagation(),F?(N=!1,X()):Y(0)}),y.addEventListener("timeupdate",()=>{if(!W)return;const t=null!=W.end?W.end:y.duration||0,e=Math.max(.1,t-W.start);E[T].style.width=Math.max(0,Math.min(100,(y.currentTime-W.start)/e*100))+"%",null!=W.end&&y.currentTime>=W.end&&Y(T+1)}),y.addEventListener("ended",()=>Y(T+1));S.addEventListener("click",t=>{t.stopPropagation(),(()=>{if(!w)return y.muted=!y.muted,void U();w.on=y.muted,w.listeners.forEach(t=>t())})()}),L.addEventListener("click",t=>{t.stopPropagation(),Y(T-1)}),M.addEventListener("click",t=>{t.stopPropagation(),Y(T+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(T-1):e.length>1&&a>.78?Y(T+1):y.paused?(N=!1,X()):Z()}),b.addEventListener("keydown",t=>{"ArrowRight"===t.key&&e.length>1?(t.preventDefault(),Y(T+1)):"ArrowLeft"===t.key&&e.length>1?(t.preventDefault(),Y(T-1)):" "===t.key&&F&&(t.preventDefault(),y.paused?(N=!1,X()):Z())});return{element:b,play:Y,prime:C,start:()=>{D=!0,N=!1,J||(K=$=b.isConnected),$&&C(),!h&&K&&b.isConnected&&(F?X():Y(T<0?0:T))},pause:()=>{if(D=!1,F)try{y.pause()}catch(t){}},index:()=>T}}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 C(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 f="stacked"===n.layout;p.setAttribute("data-wht-layout",f?"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 C=f?null:u(t,"div","wht-neo-va-tabs");C&&(C.setAttribute("role","tablist"),p.appendChild(C));const k=u(t,"div","wht-neo-va-sections");p.appendChild(k);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(f){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))),C.appendChild(p);const m=[];e.entries.forEach((e,p)=>{const f=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"),C=h+"-"+n+"-"+p,k=u(t,"button","wht-neo-va-q");k.type="button",k.setAttribute("aria-controls",C),k.appendChild(u(t,"span","wht-neo-va-qtext",e.title)),f.length&&k.appendChild(u(t,"span","wht-neo-va-qmeta",l.clips(f.length))),k.appendChild(u(t,"span","wht-neo-va-chev",""));const E=u(t,"div","wht-neo-va-a");E.id=C;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(f.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,f,l),n=u(t,"div","wht-neo-va-clips");f.length<2&&(n.hidden=!0);const i=f.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",b(e))),r.title=b(e),r.setAttribute("aria-label",l.play+" "+(e.label||b(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,f,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()),k.setAttribute("aria-expanded",t?"true":"false")};k.addEventListener("click",()=>M(!x.hasAttribute("data-wht-open"))),M(!1),m.push(M),x.appendChild(k),x.appendChild(E),d.appendChild(x)}),k.appendChild(d),E.push({tab:p,sec:d,openFirst:()=>m[0](!0)})}),f)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(),C.scrollTo&&C.scrollWidth>C.clientWidth&&C.scrollTo({left:E[t].tab.offsetLeft-(C.clientWidth-E[t].tab.offsetWidth)/2,behavior:"smooth"})};return E.forEach((t,e)=>t.tab.addEventListener("click",()=>{t.sec.hidden&&S(e,!1)})),C.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 k=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)}}",S=n(651);function I(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}const L=["tabs","stacked"],M={j:"tabs"};function j(t,e){const n=String(e||M[t]||"stacked").toLowerCase();return L.includes(n)?n:"stacked"}function R(t,e){const n=t&&t[e];return"string"===typeof n&&n.trim()?n.trim():null}const q="wht-neo-va-critical",P="wht-neo-va-skin",O="videoAnswers",V=["a","b","c","d","e","f","g","h","i","j"],B=["a","j"],T={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';function F(){try{return JSON.parse(localStorage.getItem("whatmore_brand_customizations")).customizations}catch(t){return null}}const N=t=>{const e=F();return t.split(".").reduce((t,e)=>null==t?void 0:t[e],e)};function D({shopId:t,productId:e,hostname:n}){const a=!0===N("product_page_popup_config.show_all_events")||!0===N("recommendation_config.show_all_events_with_pdp");return`${(0,S.y0)(F(),"/v2/brand/{store_id}/product-events/recommendation/cdn",t)}?client_product_id=${encodeURIComponent(e)}&limit=10&recommended=${!a}&origin=${n}&status=live,upcoming&event_type=video,image`}async function K(t,e,n){const a=(0,k.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=B.includes(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:"")}}async function $(t){const{rootElement:e,widgetContainer:n,shopId:a,productId:o,widgetIdentity:r,isDefaultIdentity:i,whatmoreRootId:s,neoJson:d,onWidgetView:l,onTileView:h,onEmbedVideoWatched:c}=t;if(!e||!a||!o)return!1;const p={};e.__whtVaRender=p;const v=()=>e.__whtVaRender!==p;(0,k.fz)(q,W);let w=null,u=null;try{const t=new URLSearchParams(window.location.search);w=t.get("neoskin"),u=t.get("neolayout")}catch(N){}const g=i||!r?"wgt_default":r,f=["wgt_default"!==g?g:null,s].filter(Boolean),{look:b,stack:m}=await K(d,f,w);if(v())return!0;let y;!function(t){const e=T[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)}(b),s?(0,k.fz)(P+"-"+s,(0,k.GJ)(m,':where([data-wht-instance="'+s+'"])')):(0,k.fz)(P,m);try{y=await(0,S.Zq)(D({shopId:a,productId:o,hostname:window.location.hostname})).then(t=>t.json())}catch(N){y=null}if(v())return!0;let x=y&&y.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)&&(x=t)}}catch(N){}if(!x)return!1;const z={};for(const C of[].concat(y&&y.events||[],y&&y.related_events||[],y&&y.all_events||[]))C&&null!=C.event_id&&!z[String(C.event_id)]&&(z[String(C.event_id)]=C);const E=(0,k.RO)(d,O,f)||{},L=R(E,"title"),M=R(E,"eyebrow"),V=!(E&&!0===E.hideEyebrow),B=C(document,x,{track:h||c?{onView:t=>{h&&t.event&&h(t.event)},onWatched:(t,e)=>{c&&t.event&&c(t.event,e)}}:null,shopId:a,widgetKey:g,instanceKey:s,look:b,layout:j(b,u),events:z,labels:{eyebrow:V?null!==M?M:(0,_.rB)("video_answers_eyebrow","Shopper questions"):"",title:null!==L?L:(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(!B)return!1;const F=I(E);if(Object.keys(F).forEach(t=>B.style.setProperty(t,F[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(B)}else l();return s&&e.setAttribute("data-wht-instance",s),(0,A.Vo)(B,n||e),e.replaceChildren(B),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}})}}]);
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[9507],{1752:function(e,t,n){n.r(t),n.d(t,{CRITICAL_CSS:function(){return W},layoutOption:function(){return j},layoutVars:function(){return S},pdpUrl:function(){return D},renderNeoVideoAnswers:function(){return $},resolveLook:function(){return K}});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(e){if(null==e)return null;if("number"===typeof e&&isFinite(e))return e;const t=String(e).trim().split(":").map(e=>parseInt(e,10));return!t.length||t.some(e=>!isFinite(e))?null:t.reduce((e,t)=>60*e+t,0)}function p(e){const t=Math.max(0,Math.round(e||0));return Math.floor(t/60)+":"+String(t%60).padStart(2,"0")}function v(e){const t="string"===typeof e?parseFloat(e):e;return"number"===typeof t&&isFinite(t)&&t>0?t>=1e6?(t/1e6).toFixed(t>=1e7?0:1).replace(/\.0$/,"")+"M":t>=1e3?(t/1e3).toFixed(t>=1e4?0:1).replace(/\.0$/,"")+"K":String(Math.round(t)):null}function w(e){const t=e&&e.event_media_urls&&e.event_media_urls.secondary,n=t&&t.portrait&&t.portrait.content_video_m3u8_original||e&&e.event_m3u8_url||"";return/\.m3u8(\?|$)/i.test(n)?n:""}function u(e,t,n,a){const o=e.createElement(t);return n&&(o.className=n),null!=a&&(o.textContent=a),o}function g(e,t,n){const o=e.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=e.createElementNS(a,"path");return r.setAttribute("d",t),r.setAttribute("fill","currentColor"),o.appendChild(r),o}function m(e,t,n,a){if(!(t>0&&n>0))return;const o=Math.min(16/9,Math.max(9/16,t/n));e.style.aspectRatio=String(o);const r=o>1.05?"wide":o>.7?"tall":"portrait";e.setAttribute("data-wht-ar",r),a&&a(r)}function f(e){return p(e.start)+(null!=e.end?"\u2013"+p(e.end):"")}const b=new Set;if("undefined"!==typeof document&&document.addEventListener){const e=()=>b.forEach(e=>e());document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&e()}),"undefined"!==typeof window&&window.addEventListener("pagehide",e)}function y(e,t,a,c,p,v,w){const f=u(e,"div","wht-neo-va-stage"),y=u(e,"video","wht-neo-va-video");y.setAttribute("playsinline",""),y.setAttribute("muted",""),y.muted=!0,y.preload="none",t.length>1&&f.setAttribute("data-wht-multi","");let x=!1;const C=()=>{!x&&t[0]&&(x=!0,t[0].poster&&(y.setAttribute("poster",t[0].poster),function(e,t,n,a){const o=u(e,"img");o.decoding="async",o.addEventListener("load",()=>{t.hasAttribute("data-wht-ar-media")||m(t,o.naturalWidth,o.naturalHeight,a)}),o.src=n}(e,f,t[0].poster,c)))};let k=null,A=null;y.addEventListener("loadedmetadata",()=>{f.setAttribute("data-wht-ar-media",""),m(f,y.videoWidth,y.videoHeight,c)});const _=u(e,"div","wht-neo-va-progress"),z=t.reduce((e,t)=>e+Math.max(1,(null!=t.end?t.end:t.start+6)-t.start),0),E=t.map((n,o)=>{const r=u(e,"button","wht-neo-va-seg");r.type="button",r.tabIndex=-1,r.setAttribute("aria-label",a.moment(o+1,t.length)),r.style.flexGrow=String(Math.max(1,(null!=n.end?n.end:n.start+6)-n.start)/z);const i=u(e,"i","");return r.appendChild(i),_.appendChild(r),r.addEventListener("click",e=>{e.stopPropagation(),Y(o)}),i}),I=u(e,"button","wht-neo-va-mute");I.type="button",I.setAttribute("aria-label",a.unmute),I.setAttribute("aria-pressed","false"),I.appendChild(g(e,i));const S=(t,n,a)=>{const o=u(e,"button","wht-neo-va-nav");return o.type="button",o.setAttribute("data-wht-dir",t),o.setAttribute("aria-label",a),o.appendChild(g(e,n)),o},L=S("prev",s,a.prev),M=S("next",l,a.next),j=u(e,"button","wht-neo-va-toggle");j.type="button",j.setAttribute("aria-label",a.pause),j.appendChild(g(e,d));const q=u(e,"span","wht-neo-va-who",""),R=u(e,"div","wht-neo-va-stage-by"),P=u(e,"span","wht-neo-va-stage-by-avatar",""),V=u(e,"span","wht-neo-va-stage-by-handle","");R.appendChild(P),R.appendChild(V);const B=e=>{q.textContent=e.source.handle?"@"+e.source.handle:"",R.hidden=!e.source.handle,V.textContent=e.source.handle?"@"+e.source.handle:"",P.textContent=e.source.handle.charAt(0).toUpperCase()};t[0]&&B(t[0]);const O=u(e,"button","wht-neo-va-stage-play");O.type="button",O.setAttribute("aria-label",a.play),O.appendChild(g(e,o)),f.appendChild(y),f.appendChild(_),f.appendChild(R),f.appendChild(q),t.length>1&&(f.appendChild(L),f.appendChild(M)),f.appendChild(j),f.appendChild(I),f.appendChild(O);let T=-1,W=null,F=!1,N=!1,D=!1,K=!1,$=!1,H="";const U="function"===typeof IntersectionObserver,J=()=>{I.replaceChildren(g(e,y.muted?i:r)),I.setAttribute("aria-label",y.muted?a.unmute:a.mute),I.setAttribute("aria-pressed",y.muted?"false":"true")},G=()=>{w&&(y.muted=!w.on),J()};w&&(w.listeners.push(G),G());const Y=e=>{if(!t.length)return;F=!0,N=!1,D=!0,T=(e%t.length+t.length)%t.length,W=t[T],B(W),f.setAttribute("data-wht-clip",String(T)),E.forEach((e,t)=>{e.style.width=t<T?"100%":"0"}),C();const a=W,o=a.stream||a.url,r=()=>{if(W===a)try{y.currentTime=a.start}catch(e){}},i=()=>{if(W!==a)return;const e=y.play();e&&e.catch&&e.catch(()=>{})},s=e=>{if(W===a){if(e||y.readyState<1)return y.addEventListener("loadedmetadata",()=>{r(),i()},{once:!0}),void(e||i());r(),i()}};if(o!==H){H=o;const e=(null!=a.end?a.end:a.start+12)-a.start;d=t=>{W===a&&(t.attachSource(y,o,t.PRIORITY.ACTIVE,{bufferAhead:Math.max(6,Math.min(15,e+4))}),s(!0))},k?d(k):(A||(A=Promise.all([n.e(1296,"high"),n.e(4071,"high")]).then(n.bind(n,725)).then(e=>(k=e,e))),A.then(d).catch(()=>{}))}else s(!1);var d;p&&p(T)},Z=()=>{const e=y.play();e&&e.catch&&e.catch(()=>{})},X=()=>{N=!0;try{y.pause()}catch(e){}};U&&(new IntersectionObserver(e=>{$=e.some(e=>e.isIntersecting),$&&D&&C()},{rootMargin:"600px 0px"}).observe(f),new IntersectionObserver(e=>{K=e.some(e=>e.isIntersecting&&e.intersectionRatio>=.25),D&&(!K||N||h?K||(()=>{if(F&&!y.paused)try{y.pause()}catch(e){}})():F?Z():Y(0))},{threshold:[0,.25,.5]}).observe(f));const Q=t=>{j.replaceChildren(g(e,t?d:o)),j.setAttribute("aria-label",t?a.pause:a.play)};let ee=0,te=null,ne=null;const ae=()=>{te&&Number.isFinite(y.duration)&&y.duration>0&&(ne=Math.round(10*y.duration)/10)};y.addEventListener("durationchange",ae);const oe=()=>{if(!ee||!te)return;const e=(Date.now()-ee)/1e3,t=te,n=ne;ee=0,te=null,ne=null,e>=1&&v&&v.onWatched&&t.event&&v.onWatched(t,{watchTime:Math.round(10*e)/10,duration:n})};b.add(()=>{const e=te&&!y.paused;oe(),e&&(ee=Date.now(),te=W,ae())}),y.addEventListener("playing",()=>{f.setAttribute("data-wht-playing",""),Q(!0),W&&(te&&te.eventId!==W.eventId&&oe(),ee||(ee=Date.now(),te=W,ae()),!(v&&v.onView&&W.event)||v.viewed&&v.viewed.has(W.eventId)||(v.viewed&&v.viewed.add(W.eventId),v.onView(W)))}),y.addEventListener("pause",()=>{f.removeAttribute("data-wht-playing"),Q(!1),oe()}),y.addEventListener("emptied",()=>{f.removeAttribute("data-wht-playing"),Q(!1),oe()}),j.addEventListener("click",e=>{e.stopPropagation(),F?y.paused?(N=!1,Z()):X():Y(0)}),O.addEventListener("click",e=>{e.stopPropagation(),F?(N=!1,Z()):Y(0)}),y.addEventListener("timeupdate",()=>{if(!W)return;const e=null!=W.end?W.end:y.duration||0,t=Math.max(.1,e-W.start);E[T].style.width=Math.max(0,Math.min(100,(y.currentTime-W.start)/t*100))+"%",null!=W.end&&y.currentTime>=W.end&&Y(T+1)}),y.addEventListener("ended",()=>Y(T+1));I.addEventListener("click",e=>{e.stopPropagation(),(()=>{if(!w)return y.muted=!y.muted,void J();w.on=y.muted,w.listeners.forEach(e=>e())})()}),L.addEventListener("click",e=>{e.stopPropagation(),Y(T-1)}),M.addEventListener("click",e=>{e.stopPropagation(),Y(T+1)}),y.addEventListener("click",e=>{if(!F)return void Y(0);const n=y.getBoundingClientRect(),a=(e.clientX-n.left)/Math.max(1,n.width);t.length>1&&a<.22?Y(T-1):t.length>1&&a>.78?Y(T+1):y.paused?(N=!1,Z()):X()}),f.addEventListener("keydown",e=>{"ArrowRight"===e.key&&t.length>1?(e.preventDefault(),Y(T+1)):"ArrowLeft"===e.key&&t.length>1?(e.preventDefault(),Y(T-1)):" "===e.key&&F&&(e.preventDefault(),y.paused?(N=!1,Z()):X())});return{element:f,play:Y,prime:C,start:()=>{D=!0,N=!1,U||(K=$=f.isConnected),$&&C(),!h&&K&&f.isConnected&&(F?Z():Y(T<0?0:T))},pause:()=>{if(D=!1,F)try{y.pause()}catch(e){}},index:()=>T}}const x={eyebrow:"Shopper questions",title:"What the videos show",clips:e=>1===e?"1 clip":e+" 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:(e,t)=>"Moment "+e+" of "+t};function C(e,t,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=t&&t.sources||{},d=(t&&Array.isArray(t.sections)?t.sections:[]).map(e=>({label:String(e&&(e.label||e.context)||"").trim(),entries:(e&&e.entries||[]).filter(e=>e&&e.title)})).filter(e=>e.label&&e.entries.length);if(!d.length)return null;const l=Object.assign({},x,n.labels||{}),h="wht-va-"+(n.instanceKey||"r"),p=u(e,"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 m="stacked"===n.layout;p.setAttribute("data-wht-layout",m?"stacked":"tabs");const b=u(e,"header","wht-neo-va-head");l.eyebrow&&b.appendChild(u(e,"p","wht-neo-va-eyebrow",l.eyebrow)),l.title&&b.appendChild(u(e,"h3","wht-neo-va-title",l.title)),l.eyebrow||l.title||(b.hidden=!0),p.appendChild(b);const C=m?null:u(e,"div","wht-neo-va-tabs");C&&(C.setAttribute("role","tablist"),p.appendChild(C));const k=u(e,"div","wht-neo-va-sections");p.appendChild(k);const A=[],_=e=>A.forEach(t=>{t!==e&&t.pause()});let z=null;const E=[];if(d.forEach((t,n)=>{const d=u(e,"div","wht-neo-va-section");d.id=h+"-p"+n,d.setAttribute("data-wht-section",t.label.toLowerCase().replace(/[^a-z0-9]+/g,"-"));let p=null;if(m){const a=u(e,"h4","wht-neo-va-section-label");a.id=h+"-t"+n,a.appendChild(u(e,"span","wht-neo-va-section-name",t.label)),a.appendChild(u(e,"span","wht-neo-va-section-n",String(t.entries.length))),d.setAttribute("role","region"),d.setAttribute("aria-labelledby",a.id),d.appendChild(a)}else d.setAttribute("role","tabpanel"),p=u(e,"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(e,"span","wht-neo-va-tab-label",t.label)),p.appendChild(u(e,"span","wht-neo-va-tab-n",String(t.entries.length))),C.appendChild(p);const b=[];t.entries.forEach((t,p)=>{const m=function(e,t,n){const a=[];for(const o of e&&e.evidence||[]){if(!o||!o.video_url)continue;const e=String(o.event_id),r=t&&t[e]||{},i=c(o.start),s=c(o.end),d=n&&n[e]||null;a.push({url:o.video_url,stream:w(r),eventId:e,event:t&&t[e]?t[e]: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}(t,i,s),x=u(e,"div","wht-neo-va-entry"),C=h+"-"+n+"-"+p,k=u(e,"button","wht-neo-va-q");k.type="button",k.setAttribute("aria-controls",C),k.appendChild(u(e,"span","wht-neo-va-qtext",t.title)),m.length&&k.appendChild(u(e,"span","wht-neo-va-qmeta",l.clips(m.length))),k.appendChild(u(e,"span","wht-neo-va-chev",""));const E=u(e,"div","wht-neo-va-a");E.id=C;const I=u(e,"div","wht-neo-va-a-in");E.appendChild(I);const S=u(e,"div","wht-neo-va-text");t.body&&S.appendChild(u(e,"p","wht-neo-va-body",t.body)),I.appendChild(S);let L=null;if(m.length){const t=function(e,t,n){const a=u(e,"div","wht-neo-va-source"),o=u(e,"span","wht-neo-va-avatar",""),r=u(e,"div","wht-neo-va-source-main"),i=u(e,"a","wht-neo-va-handle",""),s=u(e,"span","wht-neo-va-tag",n.paid),d=u(e,"span","wht-neo-va-stats","");r.appendChild(i),r.appendChild(s),r.appendChild(d),a.appendChild(o),a.appendChild(r);const l=e=>{const r=t[e];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}}(e,m,l),n=u(e,"div","wht-neo-va-clips");m.length<2&&(n.hidden=!0);const i=m.map((t,a)=>{const r=u(e,"button","wht-neo-va-clip");return r.type="button",r.appendChild(g(e,o,"wht-neo-va-clip-icon")),t.label?r.appendChild(u(e,"span","wht-neo-va-clip-label",t.label)):r.appendChild(u(e,"span","wht-neo-va-clip-time",f(t))),r.title=f(t),r.setAttribute("aria-label",l.play+" "+(t.label||f(t))),r.addEventListener("click",()=>{_(L),L.play(a)}),n.appendChild(r),r}),s=e=>i.forEach((t,n)=>{n===e?t.setAttribute("data-wht-current",""):t.removeAttribute("data-wht-current")});s(0),L=y(e,m,l,e=>E.setAttribute("data-wht-ar",e),e=>{t.show(e),s(e)},a,r),A.push(L),I.appendChild(L.element),I.appendChild(n),I.appendChild(t.element)}const M=e=>{e?(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()),k.setAttribute("aria-expanded",e?"true":"false")};k.addEventListener("click",()=>M(!x.hasAttribute("data-wht-open"))),M(!1),b.push(M),x.appendChild(k),x.appendChild(E),d.appendChild(x)}),k.appendChild(d),E.push({tab:p,sec:d,openFirst:()=>b[0](!0)})}),m)return E[0].openFirst(),p;const I=(e,t)=>{E.forEach((t,n)=>{const a=n===e;t.tab.setAttribute("aria-selected",a?"true":"false"),t.tab.tabIndex=a?0:-1,a?t.tab.setAttribute("data-wht-current",""):t.tab.removeAttribute("data-wht-current"),t.sec.hidden=!a}),_(null),E[e].openFirst(),t&&E[e].tab.focus(),C.scrollTo&&C.scrollWidth>C.clientWidth&&C.scrollTo({left:E[e].tab.offsetLeft-(C.clientWidth-E[e].tab.offsetWidth)/2,behavior:"smooth"})};return E.forEach((e,t)=>e.tab.addEventListener("click",()=>{e.sec.hidden&&I(t,!1)})),C.addEventListener("keydown",e=>{const t=E.findIndex(e=>!e.sec.hidden),n="ArrowRight"===e.key?1:"ArrowLeft"===e.key?-1:0;n&&(e.preventDefault(),I((t+n+E.length)%E.length,!0))}),I(0,!1),p}var k=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)}}",I=n(651);function S(e){const t=(e,t,n)=>{const a=Number(e);return Number.isFinite(a)&&""!==e&&null!==e?Math.min(n,Math.max(t,Math.round(a))):null},n=t(e&&e.spaceAbove,0,200),a=t(e&&e.spaceBelow,0,200),o=t(e&&e.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}const L=["tabs","stacked"],M={j:"tabs"};function j(e,t){const n=String(t||M[e]||"stacked").toLowerCase();return L.includes(n)?n:"stacked"}function q(e,t){const n=e&&e[t];return"string"===typeof n&&n.trim()?n.trim():null}const R="wht-neo-va-critical",P="wht-neo-va-skin",V="videoAnswers",B=["a","b","c","d","e","f","g","h","i","j"],O=["a","j"],T={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';function F(){try{return JSON.parse(localStorage.getItem("whatmore_brand_customizations")).customizations}catch(e){return null}}const N=e=>{const t=F();return e.split(".").reduce((e,t)=>null==e?void 0:e[t],t)};function D({shopId:e,productId:t,hostname:n}){const a=!0===N("product_page_popup_config.show_all_events")||!0===N("recommendation_config.show_all_events_with_pdp");return`${(0,I.y0)(F(),"/v2/brand/{store_id}/product-events/recommendation/cdn",e)}?client_product_id=${encodeURIComponent(t)}&limit=10&recommended=${!a}&origin=${n}&status=live,upcoming&event_type=video,image`}async function K(e,t,n){const a=(0,k.RO)(e,V,t)||{},o=String(n||a.skin||"a").toLowerCase(),r=B.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=O.includes(r)?"":await(0,z.P)(V,r);return{look:r,stack:E+(d?"\n"+d:"")+("string"===typeof a.brandCss&&a.brandCss?"\n"+a.brandCss:"")+(s?"\n"+s:"")}}async function $(e){const{rootElement:t,widgetContainer:n,shopId:a,productId:o,widgetIdentity:r,isDefaultIdentity:i,whatmoreRootId:s,neoJson:d,onWidgetView:l,onTileView:h,onEmbedVideoWatched:c,videoAnswersSample:p}=e;if(!t||!a||!o)return!1;const v={};t.__whtVaRender=v;const w=()=>t.__whtVaRender!==v;(0,k.fz)(R,W);let u=null,g=null;try{const e=new URLSearchParams(window.location.search);u=e.get("neoskin"),g=e.get("neolayout")}catch(H){}const m=i||!r?"wgt_default":r,f=["wgt_default"!==m?m:null,s].filter(Boolean),{look:b,stack:y}=await K(d,f,u);if(w())return!0;let x;!function(e){const t=T[e];if(!t||document.getElementById("wht-neo-va-font-"+e))return;const n=document.createElement("link");n.id="wht-neo-va-font-"+e,n.rel="stylesheet",n.href="https://fonts.googleapis.com/css2?"+t+"&display=swap",document.head.appendChild(n)}(b),s?(0,k.fz)(P+"-"+s,(0,k.GJ)(y,':where([data-wht-instance="'+s+'"])')):(0,k.fz)(P,y);try{x=await(0,I.Zq)(D({shopId:a,productId:o,hostname:window.location.hostname})).then(e=>e.json())}catch(H){x=null}if(w())return!0;let z=x&&x.video_sense;try{const e=t.closest?t.closest(".whatmore-base"):null,n=e&&e.querySelector("#whatmoreVideoAnswersDraft");if(n){const e=JSON.parse(n.textContent||"null");e&&Array.isArray(e.sections)&&(z=e)}}catch(H){}let E=!1;if(!z&&p&&p.shopId&&p.productId){try{const e=await(0,I.Zq)(D({shopId:p.shopId,productId:p.productId,hostname:window.location.hostname})).then(e=>e.json());e&&e.video_sense&&(x=e,z=e.video_sense,E=!0)}catch(H){}if(w())return!0}if(!z)return!1;const L={};for(const C of[].concat(x&&x.events||[],x&&x.related_events||[],x&&x.all_events||[]))C&&null!=C.event_id&&!L[String(C.event_id)]&&(L[String(C.event_id)]=C);const M=(0,k.RO)(d,V,f)||{},B=q(M,"title"),O=q(M,"eyebrow"),F=!(M&&!0===M.hideEyebrow),N=C(document,z,{track:E||!h&&!c?null:{onView:e=>{h&&e.event&&h(e.event)},onWatched:(e,t)=>{c&&e.event&&c(e.event,t)}},shopId:a,widgetKey:m,instanceKey:s,look:b,layout:j(b,g),events:L,labels:{eyebrow:F?null!==O?O:(0,_.rB)("video_answers_eyebrow","Shopper questions"):"",title:null!==B?B:(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(!N)return!1;const $=S(M);if(Object.keys($).forEach(e=>N.style.setProperty(e,$[e])),E){const e=document.createElement("div");e.className="wht-neo-va-sample-note",e.setAttribute("role","note"),e.style.cssText="margin:0 0 16px;padding:10px 14px;border:1px solid #F2D675;border-radius:8px;background:#FFF8E1;color:#5F4B00;font:500 13px/1.45 system-ui,-apple-system,'Segoe UI',sans-serif;text-align:left",e.textContent=(0,_.rB)("video_answers_sample_note","Sample preview. This product has no Video Answers to show yet, so these questions and clips are from the Whatmore demo store. Shoppers only see this block on products that have their own answers."),N.insertBefore(e,N.firstChild),N.setAttribute("data-wht-sample","")}if(l&&!E)if("function"===typeof IntersectionObserver){const e=new IntersectionObserver(t=>{t.some(e=>e.isIntersecting&&e.intersectionRatio>=.25)&&(e.disconnect(),l())},{threshold:[0,.25]});e.observe(N)}else l();return s&&t.setAttribute("data-wht-instance",s),(0,A.Vo)(N,n||t),t.replaceChildren(N),t.style.opacity="1",t.removeAttribute("data-shimmer-active"),!0}},1839:function(e,t,n){function a(e,t){let n=document.getElementById(e);n||(n=document.createElement("style"),n.id=e,document.head.appendChild(n)),n.textContent=t}function o(e,t){if(!e||!t)return e||"";const n=document.createElement("style");n.media="not all",n.textContent=e,document.head.appendChild(n);let a=e;try{const e=n.sheet;e&&(r(e.cssRules,t),a=function(e){let t="";for(let n=0;n<e.length;n++)t+=e[n].cssText+"\n";return t}(e.cssRules))}catch(o){}return n.remove(),a}function r(e,t){for(let n=0;n<e.length;n++){const a=e[n];void 0!==a.selectorText&&void 0!==a.style?a.selectorText=i(a.selectorText,t):!a.cssRules||"undefined"!==typeof CSSKeyframesRule&&a instanceof CSSKeyframesRule||r(a.cssRules,t)}}function i(e,t){return function(e){const t=[];let n=0,a="";for(let o=0;o<e.length;o++){const r=e[o];"("===r||"["===r?n++:")"!==r&&"]"!==r||n--,","===r&&0===n?(t.push(a),a=""):a+=r}return t.push(a),t}(e).map(e=>{const n=e.trim();return n?t+" "+n:n}).join(", ")}function s(e,t,n,a){if(!e)return null;const o=e[t];if(!o||"object"!==typeof o)return Object.assign({},e,{brandCss:""});const r="string"===typeof e.customCss?e.customCss:"",i=e.shopper&&e.shopper.widgets&&e.shopper.widgets[t],s=d(o.widgets,n)||d(i,n),l=s?null:function(e){return 0===String(e||"").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(e,t){if(!e||"object"!==typeof e||!t)return null;const n=Array.isArray(t)?t:[t];for(let a=0;a<n.length;a++){const t=n[a];if(null==t||""===t)continue;const o=e[t];if(o&&"object"===typeof o)return o}return null}n.d(t,{GJ:function(){return o},RO:function(){return s},fz:function(){return a}})}}]);