whatmore-react-assets 1.0.1837 → 1.0.1839

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/package.json +1 -1
  2. package/static/js/{12.8b847224.chunk.js → 12.0695d38d.chunk.js} +2 -2
  3. package/static/js/event-click-component.1acb23ef.chunk.js +76 -0
  4. package/static/js/homepage-carousel-view.37d5cb91.chunk.js +15 -0
  5. package/static/js/react-main-app.c4f63b42.chunk.js +1 -0
  6. package/static/js/wht-neo-atc.a8e9ee2c.chunk.js +1 -0
  7. package/static/js/{wht-neo-banner.3fb4afc0.chunk.js → wht-neo-banner.8c736a20.chunk.js} +1 -1
  8. package/static/js/{wht-neo-floating.23ff28fb.chunk.js → wht-neo-floating.03f78956.chunk.js} +1 -1
  9. package/static/js/wht-neo-stories.2d691503.chunk.js +1 -0
  10. package/static/js/wht-neo.24e3ebfe.chunk.js +1 -0
  11. package/static/js/wht-skin-shared-feed.a3f86c52.chunk.js +1 -0
  12. package/static/js/{wht-skin-shared-info-strip.279ec785.chunk.js → wht-skin-shared-info-strip.6c0d316e.chunk.js} +1 -1
  13. package/static/js/{wht-skin-shared-mosaic-ring.6a918394.chunk.js → wht-skin-shared-mosaic-plain.564fa4b4.chunk.js} +1 -1
  14. package/static/js/wht-skin-shared-mosaic-ring.067519e4.chunk.js +1 -0
  15. package/static/js/wht-skin-shared-standard.0dcbce67.chunk.js +1 -0
  16. package/whatmore.js +2 -2
  17. package/static/js/event-click-component.2dfe4dd5.chunk.js +0 -76
  18. package/static/js/homepage-carousel-view.65f9a4cf.chunk.js +0 -15
  19. package/static/js/react-main-app.1c7bf6ea.chunk.js +0 -1
  20. package/static/js/wht-neo-atc.6390b41b.chunk.js +0 -1
  21. package/static/js/wht-neo-stories.caf29f46.chunk.js +0 -1
  22. package/static/js/wht-neo.a059239a.chunk.js +0 -1
  23. package/static/js/wht-skin-shared-feed.8837f19b.chunk.js +0 -1
  24. package/static/js/wht-skin-shared-mosaic-plain.92137333.chunk.js +0 -1
  25. package/static/js/wht-skin-shared-standard.5337eef9.chunk.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[866],{8365:function(t,e,o){o.r(e),o.d(e,{neoAddToCart:function(){return b}});var n=o(6694),r=o(9383),i=o(5443),a=o(2567),c=o(1637),s=o(7156);const d=["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}function l({event:t,productList:e,ctaList:o=[],customizations:r,widgetSourceDetails:c}){var l;if(!t||!e||0===e.length)return;const p=(0,a.Ry)();(0,n.B)({userInteractionType:s.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!==(l=e[1])&&void 0!==l?l:e[0],t,r),function(t,e,o,n){var r,i,a,c,s,l;d.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===(s=n[1])||void 0===s?void 0:s.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"})}(p,c,t,e)}async function p(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()}function h(t){if(0==t.length)return null;const e=t.filter(t=>t.available);return 0==e.length?null:e[0].option}var m=o(5566),f=o(6080);async function v(){const t="https://"+window.location.hostname+"/cart.json";return await fetch(t,{method:"GET"})}async function y(t,e,o,n,r="default",c,s,d,u){const l=(0,a.Ry)(),p=s?(0,m.wm)()+("72201044272"==l?`#${n}#${r}#${c?"olduser":"newuser"}:direct`:`#${n}:direct`):u?"_wt_vs":d?"_wt_vi":"";if(""==p||"_wt_vs"==p||"_wt_vi"==p||"77604192550"==l||"64157352183"==l||"80856187185"==l||"86486974743"==l||"62758289602"==l||"65972830359"==l||"75310563627"==l||"86968402213"==l||(0,i.hG)((0,i.VA)(),"order_tracking->track_using_wtot"))return;let h={id:t,quantity:e,properties:{...p?{[f.B_]:p}:{},...o}};return await fetch("https://"+window.location.hostname+"/cart/change.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(h)}).then(t=>t.json()).catch(t=>{console.error("Whatmore :: Error while updating cart line item properties direct.",t)})}async function w(t,e,o,n,r="",c="",s="",d="",u="",l="",p=null){(0,a.yI)();const h=t=>{v().then(t=>t.json()).then(e=>{const o=e.items.find(e=>e.id==t);if(!o)return;y(o.key,o.quantity,o.properties,s,d,u,!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("57217876118"===t){async function A(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(()=>{h(t)},500))}return void A(r,1).then(()=>{setTimeout(e,o)}).catch(t=>{console.error("[Whatmore] ATC 57217876118 error:",t)})}if("75310563627"===t){async function O(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 O(r,1).then(()=>{setTimeout(()=>{h(r)},500)}).catch(t=>{console.error("[Whatmore] ATC 75310563627 error:",t)}),void setTimeout(e,o)}if("81308287252"===t)return(async()=>{const t={};(0,i.hG)((0,i.VA)(),"order_tracking->track_using_wtot")||(t[f.B_]=`${(0,m.wm)()}#${s}:direct`);const e=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({id:Number(r),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 E(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 E(r,1).then(()=>{setTimeout(()=>{h(r)},500)}).catch(t=>{console.error("[Whatmore] ATC 67841720509 error:",t)}),void setTimeout(e,o)}if("72603631788"===t||"5220302897"===t){const q=new FormData;q.append("id",r),q.append("quantity","1"),p&&q.append("properties[Size]",p);try{const k=await fetch("/cart/add.js",{method:"POST",body:q}),N=await k.json();N.id?setTimeout(()=>{h(r),window.location.href="/cart"},500):console.error("Afrozeh ATC failed:",N)}catch(_){console.error("Afrozeh ATC error:",_)}return void setTimeout(e,o)}if("67083239728"===t){try{const P=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:r,quantity:1}]})});P.ok||console.error("[ATC] Add to cart failed:",P.status)}catch(_){console.error("[ATC] Error while adding to cart:",_)}return setTimeout(()=>{h(r)},1e3),void setTimeout(e,o)}if("62226792677"===t){async function J(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,c),setTimeout(()=>{h(t)},500)):console.error("[ATC] Add to cart failed:",o.status)}return J(r).catch(t=>{console.error("[Whatmore] Error:",t)}),void setTimeout(e,o)}if("60595503283"===t){async function L(t,e=1){try{const o=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:t,quantity:e})});o.ok?setTimeout(()=>{h(t),window.location.href="/cart"},500):console.error("Failed to add item to cart:",o.status)}catch(_){console.error("Error adding to cart:",_)}}return L(r,1),void setTimeout(e,o)}if("72915616066"===t){function W(){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 D(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(()=>{h(t)},500),!0}async function x(t,e=1){return W()?D(t,e):async function(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)}(t,e,h)}return x(r).catch(t=>{console.error("[Whatmore] Error:",t)}),void setTimeout(e,o)}if("44061622423"===t){async function R(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(()=>{h(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(()=>{h(t)},500)}).catch(()=>{const e=document.querySelector('[href="/cart"], [data-cart-toggle], a[href*="/cart"]');e&&e.click(),setTimeout(()=>{h(t)},500)}):console.error("[ATC] Add to cart failed:",o.status)}return R(r).catch(t=>{console.error("[Whatmore] Error:",t)}),void setTimeout(e,o)}if("60183445561"===t){async function H(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(()=>{h(t),window.location.href="https://tapee.in/cart"},500),i}return H(r).catch(t=>{console.error("Error:",t)}),void setTimeout(e,o)}if("22907887"===t){async function G(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 G(r).then(t=>{setTimeout(()=>{h(r)},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:r,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(()=>{h(r)},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:r,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(()=>{h(r)},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:r,quantity:1})}).then(t=>t.json()).then(t=>{setTimeout(()=>{h(r)},500)}).catch(t=>console.error("Add to cart error:",t)),void setTimeout(e,o);if("56444977250"===t){const M=document.querySelector('button[data-pf-type="ProductATC2"]');return M?(c&&M.setAttribute("data-product-id",c),M.click(),setTimeout(()=>{v().then(t=>t.json()).then(t=>{const e=t.items.find(t=>String(t.id)===String(r));if(e){y(e.key,e.quantity,e.properties,s,d,u,!0,!0,!0)}})},500),void setTimeout(e,o)):(fetch(null===l||void 0===l||null===(w=l.split("?"))||void 0===w?void 0:w[0]).then(t=>t.text()).then(t=>{const e=(new DOMParser).parseFromString(t,"text/html").querySelector('button[data-pf-type="ProductATC2"]');e&&c&&e.setAttribute("data-product-id",c)}),void setTimeout(e,o));var w}if("64379584700"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:r,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(()=>{h(r)},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(r),quantity:1}]})}).then(async()=>{const t=document.getElementById("mini-cart");t&&"function"===typeof t._rerenderCart&&await t._rerenderCart({detail:{openMiniCart:!0}}),setTimeout(()=>{h(r)},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:r,quantity:1})}).then(t=>t.json()).then(t=>{"function"===typeof window.openGokwikSideCart&&window.openGokwikSideCart(),setTimeout(()=>{h(r)},500)}).catch(t=>console.error("Add to cart error:",t)),void setTimeout(e,o);if("70840582336"===t){const I=r,F=1,B=document.querySelector('product-form form.product-form, form[action*="/cart/add"]');if(B){let U=B.querySelector('input[name="id"]');U||(U=document.createElement("input"),U.type="hidden",U.name="id",B.appendChild(U)),U.disabled=!1,U.value=I;const Q=B.querySelector('input[name="quantity"]');Q&&(Q.value=F);const V=B.querySelector('button[data-add-to-cart], button[type="submit"]');return V?(V.dispatchEvent(new MouseEvent("pointerdown",{bubbles:!0})),V.click(),V.dispatchEvent(new MouseEvent("pointerup",{bubbles:!0}))):console.warn("[ATC] button not found"),setTimeout(()=>{h(I)},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:I,quantity:F}),credentials:"same-origin"}).then(()=>{setTimeout(()=>{h(I)},500),setTimeout(e,o)}).catch(t=>{console.error("[ATC] error for 70840582336:",t),setTimeout(e,o)})}if("64683278550"===t){try{const z=document.querySelector('form[action="/cart/add"]');if(!z)return console.warn("[ATC 64683278550] form not found"),void setTimeout(e,o);const X=z.querySelector('input[name="id"]');if(!X)return console.warn("[ATC 64683278550] id input not found"),void setTimeout(e,o);X.value=r;const Z=z.querySelector('button[type="submit"]');if(!Z)return console.warn("[ATC 64683278550] submit button not found"),void setTimeout(e,o);Z.click(),setTimeout(()=>{h(r)},500),setTimeout(e,o)}catch(C){console.error("[ATC 64683278550] error:",C),setTimeout(e,o)}return}if("95562924310"===t||"61810999367"===t){try{const Y=await fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:r,quantity:1}]})});if(Y.ok){const K=await Y.json();document.dispatchEvent(new CustomEvent("cart:update",{detail:{cart:K}})),document.dispatchEvent(new CustomEvent("theme:cart:refresh",{detail:{target:"product_flood_atc"},bubbles:!0})),setTimeout(()=>{h(r)},500)}else console.error("[ATC 95562924310] Add to cart failed:",Y.status)}catch(_){console.error("[ATC 95562924310] error:",_)}return void setTimeout(e,o)}if("45050691744"===t)return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({id:r,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(()=>{h(r)},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(r,1).then(()=>{setTimeout(()=>{h(r)},500)}).catch(t=>{console.error("[Whatmore] ATC 55337746621 error:",t)}),void setTimeout(e,o)}if("12175954"===t){async function et(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(()=>{h(t)},500),!0):(console.error("[ATC] Add to cart failed:",o.status),!1)}return et(r).catch(t=>{console.error("[Whatmore] ATC 12175954 error:",t)}),void setTimeout(e,o)}if("2754609263"===t){const ot=()=>{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 nt(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,s=()=>fetch(`${i}cart/add.js`,{method:"POST",headers:a,body:JSON.stringify({items:[{id:t,quantity:c}]})}).then(t=>t.json()),d=await fetch(`${i}cart.js`,{headers:{Accept:"application/json"},cache:"no-store"}).then(t=>t.json()).catch(()=>null),u=null===d||void 0===d||null===(r=d.items)||void 0===r?void 0:r.find(e=>e.id==t);let l;var p,m;(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 s())):l=await s(),l&&!l.status)?(ot(),setTimeout(()=>{h(t)},500)):console.error("[Whatmore] ATC 2754609263 failed:",(null===(p=l)||void 0===p?void 0:p.description)||(null===(m=l)||void 0===m?void 0:m.message))}return nt(r).catch(t=>{console.error("[Whatmore] ATC 2754609263 error:",t)}),void setTimeout(e,o)}if("25786679341"===t)return(async(t,e)=>{const o={};(0,i.hG)((0,i.VA)(),"order_tracking->track_using_wtot")||(o[f.B_]=`${(0,m.wm)()}#${s}:direct`);const n=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(r),quantity:1,properties:o}]})}).then(t=>t.json()).catch(()=>null);if(n&&!n.status)if(document.dispatchEvent(new CustomEvent("vd:cart:added",{bubbles:!0,detail:{items:n.items||[n]}})),"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:",n&&n.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(r),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(()=>{h(r),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(r));if(n)return{price:n.price,productType:null!==(e=n.product_type)&&void 0!==e?e:""}}catch(i){}try{var o,n;const t=(l||window.location.href).split(/[?#]/)[0],e=await fetch(`${t}.js`,{headers:{Accept:"application/json"}}).then(t=>t.json()),i=null===e||void 0===e||null===(o=e.variants)||void 0===o?void 0:o.find(t=>String(t.id)===String(r));if(i)return{price:i.price,productType:null!==(n=e.product_type)&&void 0!==n?n:""}}catch(i){}return{price:0,productType:""}})(),i=()=>{document.removeEventListener("cart:updated",i),clearTimeout(a),h(r),e()},a=setTimeout(()=>{document.removeEventListener("cart:updated",i),h(r),e()},2500);document.addEventListener("cart:updated",i,{once:!1}),window.cartGiftUpdate(String(r),o,1,n,"ADD_TO_CART")})().catch(t=>{console.error("[Whatmore] ATC 8111554613 error:",t)}),void setTimeout(e,o);const T=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},b=(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&&((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}},g=t=>{const e=null===t||void 0===t?void 0:t.querySelector('button[type="submit"]');e&&e.click()},S=T(document);if(S||(null===S||void 0===S?void 0:S.length)>0){const rt=b(S,r,c);g(rt),setTimeout(()=>{h(r)},500),rt.remove()}else{var j;fetch(null===l||void 0===l||null===(j=l.split("?"))||void 0===j?void 0:j[0]).then(t=>t.text()).then(t=>{const e=(new DOMParser).parseFromString(t,"text/html"),o=T(e);if(o||(null===o||void 0===o?void 0:o.length)>0){const t=b(o,r,c);g(t),setTimeout(()=>{h(r)},500),t.remove()}})}setTimeout(e,o)}async function T(t,e,o){const{product:n,event:s,customizations:d,widget:u,widgetSourceDetails:p,userType:h,closeClickComponent:m,onState:f}=t,v=(0,a.Ry)(),y=function(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}(o,e);if(!y)return f&&f("init"),{status:"noop"};f&&f("atcApiCallInProgress");try{const t="55586586685"===v&&"function"===typeof m;return await w(v,t?m:()=>{},t?400:100,window.location.hostname,y,n.client_product_id,u,s&&s.location,h,n.product_link),l({event:s,productList:[n],ctaList:s&&s.cta||[],customizations:d,widgetSourceDetails:p}),function(t,e,o=1){t&&e&&((0,a.U)()||(0,a.Ry)()===c.YZ||(0,r.tO)(t,e,o))}(s,n,1),(0,i.hG)(d,"product_config->navigate_to_cart_page")&&setTimeout(()=>{window.location.href=`${window.Shopify&&window.Shopify.routes&&window.Shopify.routes.root||"/"}cart`},500),f&&f("added"),{status:"added",variantId:y}}catch(T){return f&&f("errored"),console.error("Whatmore :: neo ATC add failed",T),{status:"errored"}}}async function b(t){const{product:e,event:o,customizations:n,mode:r="direct",selectedOptions:c,variants:s,onState:d}=t;if(!e||!o)return{status:"noop"};const u=(0,a.Ry)();if(c&&s)return T(t,s,c);let l;d&&d("productVariantDetailsApiCallInProgress");try{l=await async function(t,e,o){if(t)return p(t,o)}(e,function(t){(0,i.hG)(t,"brand_metadata->domain_context")}(n),u)}catch(v){return d&&d("errored"),{status:"errored"}}const m=l&&l.variants||[],f=function(t){var e=[],o=[],n=[];return t.variants.forEach(r=>{var i,a,c;r.option1&&e.push({option:r.option1,available:null===(i=r.available)||void 0===i||i,type:t.options[0].name}),r.option2&&o.push({option:r.option2,available:null===(a=r.available)||void 0===a||a,type:t.options[1].name}),r.option3&&n.push({option:r.option3,available:null===(c=r.available)||void 0===c||c,type:t.options[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]}(l);if(function(t){return t[0].length<=1&&t[1].length<=1&&t[2].length<=1}(f)||"direct"===r){if(!function(t){if(t&&t.length>=1)return t.filter(t=>t.available).length>=1;return!1}(m))return d&&d("errored"),{status:"errored"};return T(t,m,[h(f[0]),h(f[1]),h(f[2])])}return d&&d("awaitingVariantSelection"),{status:"needs_selection",variantOptions:f,variants:m}}},9383:function(t,e,o){o.d(e,{$B:function(){return c},A9:function(){return d},Pb:function(){return u},TG:function(){return h},TJ:function(){return p},Zh:function(){return s},lB:function(){return a},tO:function(){return l}});var n,r=o(1637);const i=null!==(n="true"==localStorage.getItem("whatmoreActivateLogs"))&&void 0!==n&&n;function a(t){i&&console.debug("updating user view count for event.");const e={event_id:t.event_id,increase_by:1};fetch(r.$$+"/event/metrics/views",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(e)}).then(t=>(i&&console.debug("updating user view count response : HTTP "+t.status),t.json())).then(t=>{i&&console.debug("updating user view count response : "+JSON.stringify(t))}).catch(t=>{console.error("error updating user view count user for event : ",t)})}function c(t,e){i&&console.debug("updating like count for event.");const o={event_id:t.event_id,increase_by:e};fetch(r.$$+"/event/metrics/like",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(o)}).then(t=>(i&&console.debug("updating like count response : HTTP "+t.status),t.json())).then(t=>{i&&console.debug("updating like count response : "+JSON.stringify(t))}).catch(t=>{console.error("error updating like count user for event : ",t)})}function s(t){i&&console.debug("updating share count for event.");const e={event_id:t.event_id,increase_by:1};fetch(r.$$+"/event/metrics/share",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(e)}).then(t=>(i&&console.debug("updating share count response : HTTP "+t.status),t.json())).then(t=>{i&&console.debug("updating share count response : "+JSON.stringify(t))}).catch(t=>{console.error("error updating share count user for event : ",t)})}function d(t,e){i&&console.debug("updating wa click count for event.");const o={event_id:t.event_id,increase_by:e};fetch(r.$$+"/event/metrics/whatsapp",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(o)}).then(t=>(i&&console.debug("updating whatsapp click count response : HTTP "+t.status),t.json())).then(t=>{i&&console.debug("updating whatsapp click count response : "+JSON.stringify(t))}).catch(t=>{console.error("error updating whatsapp click count user for event : ",t)})}function u(t,e){i&&console.debug("updating event-product click count for event {} and product {}.",t.event_id,e.product_id);const o={event_id:t.event_id,product_id:e.product_id,increase_by:1};fetch(r.$$+"/event/metrics/clicks",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(o)}).then(t=>(i&&console.debug("updating user event-product click count response : HTTP "+t.status),t.json())).then(t=>{i&&console.debug("updating user event-product click count response : "+JSON.stringify(t))}).catch(e=>{console.error("error updating user event-product click count for event {} : ",t.event_id,e)})}function l(t,e,o){i&&console.debug("updating event-product add to cart count for event {} and product {}.",t.event_id,e.product_id);const n={event_id:t.event_id,product_id:e.product_id,increase_by:o};fetch(r.$$+"/event/metrics/add_to_cart",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(n)}).then(t=>(i&&console.debug("updating user event-product add to cart count response : HTTP "+t.status),t.json())).then(t=>{i&&console.debug("updating user event-product add to cart count response : "+JSON.stringify(t))}).catch(e=>{console.error("error updating user event-product add to cart count for event {} : ",t.event_id,e)})}function p(t,e){i&&console.debug("updating event-product buy now count for event {} and product {}.",t.event_id,e.product_id);const o={event_id:t.event_id,product_id:e.product_id,increase_by:1};fetch(r.$$+"/event/metrics/buy_now",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(o)}).then(t=>(i&&console.debug("updating user event-product buy now count response : HTTP "+t.status),t.json())).then(t=>{i&&console.debug("updating user event-product buy now count response : "+JSON.stringify(t))}).catch(e=>{console.error("error updating user event-product buy now count for event {} : ",t.event_id,e)})}function h(t){const e={event_id:t.event.event_id,cta_id:t.cta.cta_id,increase_by:1};fetch(r.$$+"/event/metrics/cta/clicks",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(e)}).then(t=>(i&&console.debug("updating user cta click count response : HTTP "+t.status),t.json())).then(t=>{i&&console.debug("updating user cta click count response : "+JSON.stringify(t))}).catch(t=>{console.error("error updating cta click count : ",t)})}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[719],{5e3:function(t,e,o){o.d(e,{Au:function(){return a},YJ:function(){return c},k5:function(){return l}});const n=6,r="https://whatmore-other-assets.b-cdn.net/whatmore/dummy_for_video_pool_3s_muted_11kb.mp4",s="whatmore-video-player whatmore-main-video-player-from-pool";function i(){return"undefined"===typeof window?{}:(window.__whatmoreNeoVideoPool||(window.__whatmoreNeoVideoPool={}),window.__whatmoreNeoVideoPool)}function a(){const t=i();if(t.armed||"undefined"===typeof document)return;t.armed=!0,function(){const t=i();if(t.pool||"undefined"===typeof document)return;const e=document.createDocumentFragment();for(let o=0;o<n;o++){const t=document.createElement("video");t.setAttribute("class",s),t.setAttribute("src",r),t.muted=!0,t.setAttribute("width","100%"),t.setAttribute("height","100%"),t.setAttribute("preload","auto"),t.setAttribute("loop",""),t.setAttribute("playsinline",""),t.setAttribute("webkit-playsinline",""),t.setAttribute("x-webkit-airplay","allow"),t.controls=!1,e.appendChild(t)}t.pool=e}();const e=()=>{document.removeEventListener("click",e),document.removeEventListener("touchstart",e),function(){const t=i();if(t.blessed||!t.pool)return;const e=t.pool.childNodes;for(let o=0;o<e.length;o++){const t=e[o];t.muted=!0;const n=t.play();n&&n.then&&n.then(()=>t.pause()).catch(()=>{})}t.blessed=!0}()};document.addEventListener("click",e,{passive:!0}),document.addEventListener("touchstart",e,{passive:!0})}function l(){return i().pool||null}function c(){return!!i().blessed}},6387:function(t,e,o){o.d(e,{P:function(){return r}});const n={standard:()=>o.e(508).then(o.t.bind(o,5071,17)),card:()=>o.e(545).then(o.t.bind(o,9362,17)),"mosaic-ring":()=>o.e(838).then(o.t.bind(o,8171,17)),"mosaic-plain":()=>o.e(764).then(o.t.bind(o,5635,17)),hoverplay:()=>o.e(781).then(o.t.bind(o,787,17)),"info-strip":()=>o.e(94).then(o.t.bind(o,2109,17)),"text-overlay":()=>o.e(833).then(o.t.bind(o,3930,17)),focused:()=>o.e(506).then(o.t.bind(o,1987,17)),coverflow:()=>o.e(172).then(o.t.bind(o,9033,17)),minimal:()=>o.e(244).then(o.t.bind(o,6362,17)),feed:()=>o.e(315).then(o.t.bind(o,7456,17)),circle:()=>o.e(31).then(o.t.bind(o,5112,17)),viewmore:()=>o.e(343).then(o.t.bind(o,7672,17)),overlay:()=>o.e(936).then(o.t.bind(o,75,17)),"stories-b":()=>o.e(565).then(o.t.bind(o,1958,17))};async function r(t,e){const o=n["carousel"===t||"collections"===t?e:t+"-"+e];if(!o)return"";try{return(await o()).default||""}catch(r){return""}}},7983:function(t,e,o){function n(t,e=!1){if(null==t)return{events:[],all_events:[]};if(e){return{events:t.events&&t.events[0]&&t.events[0].events||[],all_events:t.all_events||[]}}return{events:t.events||[],all_events:t.all_events||[]}}function r(t,e){if(null==t||!t.eventsets||!t.eventsets[e])return{events:[],all_events:[]};return{events:t.eventsets[e].reduce((t,e)=>t.concat(e.events||[]),[]),all_events:[]}}o.d(e,{Np:function(){return n},Po:function(){return r}})},8235:function(t,e,o){o.r(e),o.d(e,{REGISTRY:function(){return y},renderNeoStories:function(){return A}});var n=o(7983),r=o(6287),s=o(5e3),i=o(6387),a=o(9439),l='.wht-neo-stories-widget{font-family:var(--wht-neo-font,var(--wht-neo-font-auto,inherit));padding-block:var(--wht-neo-stories-pad,var(--wht-neo-stories-pad-auto,10px));width:100%}.wht-neo-stories-wrap{position:relative;width:100%}.wht-neo-stories{-webkit-overflow-scrolling:touch;display:flex;flex-flow:row nowrap;justify-content:center;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x;width:100%}.wht-neo-stories::-webkit-scrollbar{display:none}.wht-neo-stories[data-wht-overflow="1"]{justify-content:flex-start}.wht-neo-story{align-items:center;cursor:pointer;display:flex;flex-direction:column;flex-shrink:0;height:fit-content;margin:10px;width:calc(var(--wht-neo-story-size, var(--wht-neo-story-size-auto, 72px))*var(--wht-neo-story-spacing, 1))}.wht-neo-story:active .wht-neo-story-ring{transform:scale(.92)}.wht-neo-story-ring{box-shadow:0 2px 1px 0 color-mix(in srgb,var(--wht-neo-story-ring-c0,#343434) 31%,transparent),0 -2px 1px 0 color-mix(in srgb,var(--wht-neo-story-ring-c1,#bc2a8d) 31%,transparent),2px 0 1px 0 color-mix(in srgb,var(--wht-neo-story-ring-c2,#343434) 31%,transparent),-2px 0 1px 0 color-mix(in srgb,var(--wht-neo-story-ring-c3,#bc2a8d) 50%,transparent),2px -2px 1px 0 color-mix(in srgb,var(--wht-neo-story-ring-c4,#343434) 50%,transparent),-2px 2px 1px 0 color-mix(in srgb,var(--wht-neo-story-ring-c0,#343434) 85%,transparent),2px 2px 1px 0 color-mix(in srgb,var(--wht-neo-story-ring-c1,#bc2a8d) 85%,transparent),-2px -2px 1px 0 color-mix(in srgb,var(--wht-neo-story-ring-c2,#343434) 85%,transparent);transition:transform .2s ease;width:fit-content}.wht-neo-story-ring,.wht-neo-story-thumb{border-radius:var(--wht-neo-story-radius,50%);box-sizing:border-box}.wht-neo-story-thumb{background:var(--wht-neo-story-thumb-bg,var(--wht-neo-story-thumb-bg-auto,#d3d3d3));border:var(--wht-neo-story-border,3px solid #fff);height:var(--wht-neo-story-size,var(--wht-neo-story-size-auto,72px));overflow:hidden;width:var(--wht-neo-story-size,var(--wht-neo-story-size-auto,72px))}.wht-neo-story-img,.wht-neo-story-video{background:#fff;display:block;height:100%;object-fit:cover;width:100%}.wht-neo-story-title{color:var(--wht-neo-story-title-color,var(--wht-neo-story-title-color-auto,#000));font-family:var(--wht-neo-story-title-font,var(--wht-neo-story-title-font-auto,inherit));font-size:calc(var(--wht-neo-story-size, var(--wht-neo-story-size-auto, 72px))*.12*var(--wht-neo-story-title-factor, 1));font-weight:400;line-height:110%;margin:10px 0 0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%}.wht-neo-stories-nav{display:none}:where([data-wht-vp=landscape]) .wht-neo-stories-wrap[data-wht-arrows="1"] .wht-neo-stories-nav{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:var(--wht-neo-stories-nav-bg,rgba(0,0,0,.7));border:none;border-radius:50%;color:var(--wht-neo-stories-nav-color,#fff);cursor:pointer;display:flex;height:var(--wht-neo-stories-nav-size,48px);justify-content:center;padding:0;position:absolute;top:40%;transform:translateY(-50%);width:var(--wht-neo-stories-nav-size,48px);z-index:2}:where([data-wht-vp=landscape]) .wht-neo-stories-wrap[data-wht-arrows="1"] .wht-neo-stories-nav:hover{background:rgba(0,0,0,.8)}:where([data-wht-vp=landscape]) .wht-neo-stories-nav-prev{left:16px}:where([data-wht-vp=landscape]) .wht-neo-stories-nav-next{right:16px}.wht-neo-stories-nav svg{display:block;height:42%;width:42%}';const c="https://consumer.whatmore.live",d="stories",h="wht-neo-stories-css",u="wht-neo-stories-critical",w='.wht-neo-stories-widget{width:100%}.wht-neo-stories-wrap{position:relative;width:100%}.wht-neo-stories{display:flex;flex-flow:row nowrap;width:100%;overflow-x:auto;scrollbar-width:none;justify-content:center}.wht-neo-stories::-webkit-scrollbar{display:none}.wht-neo-stories[data-wht-overflow="1"]{justify-content:flex-start}.wht-neo-story{display:flex;flex-direction:column;align-items:center;flex-shrink:0;margin:10px;cursor:pointer;width:calc(var(--wht-neo-story-size,var(--wht-neo-story-size-auto,72px)) * var(--wht-neo-story-spacing,1))}.wht-neo-story-thumb{width:var(--wht-neo-story-size,var(--wht-neo-story-size-auto,72px));height:var(--wht-neo-story-size,var(--wht-neo-story-size-auto,72px));border-radius:50%;overflow:hidden}.wht-neo-story-img,.wht-neo-story-video{width:100%;height:100%;object-fit:cover;display:block}.wht-neo-stories-nav{display:none}';function p(t,e){let o=document.getElementById(t);o||(o=document.createElement("style"),o.id=t,document.head.appendChild(o)),o.textContent=e}function v(t,e){if(!t)return null;const o=t[e];return o&&"object"===typeof o?{skin:o.skin,customCss:o.customCss}:t}async function m(t){let e=null;try{e=new URLSearchParams(window.location.search).get("neoskin")}catch(c){}let o="";const n=e||t&&t.skin;n&&"default"!==n&&"a"!==n&&(o=await(0,i.P)(d,n));const r=n&&"default"!==n?n:"a",s=t&&t.customCss,a="string"===typeof s?s:s&&"object"===typeof s&&"string"===typeof s[r]?s[r]:"";return p(h,l+"\n"+o+(a?"\n"+a:"")),!0}const y={storyTile:{data:{source:"backend",field:"storyset.thumbnail_image"},action:"openStories"},storyTitle:{data:{source:"backend",field:"storyset.title"},action:null},navArrows:{data:{source:"runtime",field:"bar.scrollLeft"},action:"step"}};const f=(t,e=null)=>{const o=function(){try{return JSON.parse(localStorage.getItem("whatmore_brand_customizations")).customizations}catch(t){return null}}(),n=t.split(".").reduce((t,e)=>null==t?void 0:t[e],o);return null==n?e:n};async function b({shopId:t,landingLocationType:e,widgetContainer:o}){if(e.startsWith("index")){const t=window.whatmore&&window.whatmore.storyEvents&&window.whatmore.storyEvents.events;if(Array.isArray(t)&&t.length)return t.slice()}let r;if(e.startsWith("product")){var s;const e=(null===o||void 0===o||null===(s=o.querySelector("#whatmoreProductId"))||void 0===s?void 0:s.getAttribute("data-wh"))||"";r=`${c}/v2/brand/${t}/product-events?client_product_id=${encodeURIComponent(e)}&status=live,upcoming&event_type=video`}else r=`${c}/v2/events/${t}?status=live,upcoming&is_active=true&template_type=stories`;const i=await fetch(r).then(t=>t.json()),{events:a,all_events:l}=(0,n.Np)(i,!1);let d=[...a,...l];return f("oos_config.show_oos_videos")||(d=d.filter(t=>t&&!1!==t.in_stock)),d}function g(t){var e,o,n,r;const s=t.event_media_urls;let i=s?(null===(e=s.primary)||void 0===e||null===(o=e.portrait)||void 0===o?void 0:o.poster_image)||(null===(n=s.secondary)||void 0===n||null===(r=n.portrait)||void 0===r?void 0:r.poster_image)||t.poster_image||"":t.poster_image||"";return i&&i.startsWith("https://cdn.shopify.com")&&(i=i.split("?")[0]+"?width=400&height=400"),i}function _(t,e,o){var n;const r=t&&t.querySelector("#"+e),s=r&&(null!==(n=r.getAttribute("data-wh"))&&void 0!==n?n:r.getAttribute("data")),i=null!=s?parseFloat(s):NaN;return isFinite(i)?i:o}function x(t){const e=document.createElement("button");e.type="button",e.className="wht-neo-stories-nav wht-neo-stories-nav-"+t,e.dataset.role="navArrows",e.setAttribute("aria-label","prev"===t?"Previous stories":"Next stories");const o="prev"===t?"M15 5l-7 7 7 7":"M9 5l7 7-7 7";return e.innerHTML='<svg viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="'+o+'" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>',e}function k(t,e,{navPrev:o,navNext:n}){const r=t=>{if(!t.dataset.loaded&&t.dataset.src)if(t.dataset.loaded="1","VIDEO"===t.tagName){var e;t.dataset.poster&&(t.poster=t.dataset.poster);const o=document.createElement("source");o.src=t.dataset.src,o.type="video/mp4",t.appendChild(o),null===(e=t.load)||void 0===e||e.call(t);const n=t.play&&t.play();n&&n.catch&&n.catch(()=>{})}else t.src=t.dataset.src},s=t.querySelectorAll(".wht-neo-story-img, .wht-neo-story-video");if("IntersectionObserver"in window){const t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(r(e.target),t.unobserve(e.target))})},{rootMargin:"0px 100px 0px 0px"});s.forEach(e=>t.observe(e))}else s.forEach(r);const i=()=>t.style.setProperty("--wht-neo-story-size-auto",function(t){var e;const o=(0,a.vC)(),n=o.w>o.h?o.h*(_(t,"whatmoreStoryTileSizeDesktop",40)/340):(null!==(e=(0,a.eG)(t))&&void 0!==e?e:o.w)*(_(t,"whatmoreStoryTileSize",40)/200);return Math.round(n)}(e)+"px"),l=()=>t.setAttribute("data-wht-overflow",t.scrollWidth>t.offsetWidth?"1":"0");i(),requestAnimationFrame(l);const c=e=>{const o=parseFloat(getComputedStyle(t).getPropertyValue("--wht-neo-story-size-auto"))||72;t.scrollBy({left:e*o*4,behavior:"smooth"})};o.addEventListener("click",t=>{t.stopPropagation(),c(-1)}),n.addEventListener("click",t=>{t.stopPropagation(),c(1)});let d=!1;window.addEventListener("resize",()=>{d||(d=!0,requestAnimationFrame(()=>{d=!1,(0,a.Vo)(t.closest(".wht-neo-stories-widget")),i(),l()}))},{passive:!0})}async function A(t){var e;const{rootElement:o,widgetContainer:n,shopId:i,landingLocationType:l="index",whatmoreRootId:c,onWidgetView:h,onOpenStories:y}=t;if(!o||!i)return!1;const A=()=>{o.removeAttribute("data-shimmer-active"),n&&(n.style.minHeight="0px");const t=n&&n.querySelector("#storiesLoader");t&&t.remove()},E=(0,a.vC)();if(E.w>E.h?!f("stories_config.show_stories_in_landscape_mode"):!f("stories_config.show_stories_in_mobile_mode"))return A(),!0;let C;p(u,w);try{[C]=await Promise.all([b({shopId:i,landingLocationType:l,widgetContainer:n}),m(v(t.neoJson,d))])}catch(M){return!1}if(!C||!C.length)return A(),!0;const z=function(t){const e={};return t.forEach((t,o)=>{const n=t.storyset_id;var r;e[n]||(e[n]={id:n,title:t.storyset_name,thumbnail_image:t.storyset_thumbnail_image,total_events:0,start_event_index:o,storyset_dynamic_thumbnail:null!==(r=t.storyset_dynamic_thumbnail)&&void 0!==r&&r,events:[]}),e[n].total_events+=1,e[n].events.push(t)}),Object.values(e).sort((t,e)=>t.start_event_index-e.start_event_index)}(C),N={action(t,e){if("openStories"!==t)return;const o=e.storyset.events[0];(0,r.w)(g(o)),null===y||void 0===y||y({events:C,eventIndex:e.storyset.start_event_index,eventsStories:z,storyIndex:e.storyIndex})}},P=document.createElement("div");P.className="wht-neo-stories-widget",(0,a.Vo)(P);const S=_(n,"whatmoreStoriesTopBottomPadding",null);null!=S&&P.style.setProperty("--wht-neo-stories-pad-auto",S+"px"),function(t){const e=f("brand_theme_color","#343434"),o=f("tertiary_color","#bc2a8d");let n=f("stories_config.stories_border_colors")||[e,o,e,o,e];Array.isArray(n)||(n=Array(5).fill(n)),n.slice(0,5).forEach((e,o)=>t.style.setProperty(`--wht-neo-story-ring-c${o}`,e)),t.style.setProperty("--wht-neo-story-thumb-bg-auto","#343434"===e?"#d3d3d3":e);const r=f("stories_config.story_tiles_spacing_factor");null!=r&&isFinite(Number(r))&&t.style.setProperty("--wht-neo-story-spacing",String(r));const s=f("brand_fonts.story_title_font")||f("brand_fonts.carousel_title_font");s&&t.style.setProperty("--wht-neo-story-title-font-auto",s);const i=f("stories_config.stories_title_font_color");i&&t.style.setProperty("--wht-neo-story-title-color-auto",i);const a=f("stories_config.stories_title_font_factor");null!=a&&isFinite(Number(a))&&t.style.setProperty("--wht-neo-story-title-factor",String(a))}(P);const I=null===n||void 0===n||null===(e=n.querySelector("#whatmorePrimaryFont"))||void 0===e?void 0:e.getAttribute("data-wh");I&&P.style.setProperty("--wht-neo-font-auto",I);const L=document.createElement("div");L.className="wht-neo-stories-wrap",f("stories_config.story_show_navigation_arrows")&&L.setAttribute("data-wht-arrows","1");const T=document.createElement("div");T.className="wht-neo-stories",T.setAttribute("role","listbox"),T.setAttribute("aria-label","Shoppable stories"),i&&T.setAttribute("data-wht-shop",i),T.setAttribute("data-wht-widget","wgt_stories"),z.forEach((t,e)=>T.appendChild(function(t,e,o){const n=document.createElement("div");n.className="wht-neo-story",n.dataset.role="storyTile",n.setAttribute("role","option"),n.tabIndex=0;const r=document.createElement("div");r.className="wht-neo-story-ring";const s=document.createElement("div");s.className="wht-neo-story-thumb";let i=t.thumbnail_image||t.events[0]&&t.events[0].thumbnail_image||"",a=t.events[0];if(t.storyset_dynamic_thumbnail&&t.events.length>1){const e=t.events[Math.floor(Math.random()*(t.events.length-1))];e&&(e.poster_image||e.thumbnail_image)&&(i=e.poster_image||e.thumbnail_image,a=e)}if(function(t){if(!t)return!1;if(t.includes("https://w-media.b-cdn.net/process-media"))return!1;const e=t.trim().split("?")[0];return/\.(mp4|mov|wmv|avi|flv|mkv)$/i.test(e)}(i)){const t=document.createElement("video");t.className="wht-neo-story-video",t.muted=!0,t.loop=!0,t.playsInline=!0,t.preload="none",t.setAttribute("muted",""),t.setAttribute("playsinline",""),t.setAttribute("webkit-playsinline",""),t.dataset.src=i;const e=a&&g(a);e&&(t.dataset.poster=e),s.appendChild(t)}else{const e=document.createElement("img");e.className="wht-neo-story-img",e.alt=t.title||"",e.dataset.src=function(t){return t?t.startsWith("https://cdn.shopify.com")?t.split("?")[0]+"?width=400&height=400":t:""}(i),s.appendChild(e)}r.appendChild(s),n.appendChild(r);const l=document.createElement("p");l.className="wht-neo-story-title",l.dataset.role="storyTitle",l.textContent=(t.title||"").substring(0,24),n.appendChild(l);const c=()=>o.action("openStories",{storyset:t,storyIndex:e});return n.addEventListener("click",c),n.addEventListener("keydown",t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),c())}),n}(t,e,N)));const j=x("prev"),F=x("next");if(L.appendChild(T),L.appendChild(j),L.appendChild(F),P.appendChild(L),o.innerHTML="",o.appendChild(P),o.style.opacity="1",(0,s.Au)(),k(T,n,{navPrev:j,navNext:F}),h)if("IntersectionObserver"in window){new IntersectionObserver((t,e)=>{t.some(t=>t.isIntersecting)&&(h(),e.disconnect())},{threshold:0}).observe(T)}else h();const q=document.querySelector(`.whatmore-shimmer-container[data-widget-id="${c}"]`);return q&&q.remove(),A(),!0}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[508,579,838],{5e3:function(e,t,n){n.d(t,{Au:function(){return s},YJ:function(){return l},k5:function(){return d}});const o=6,a="https://whatmore-other-assets.b-cdn.net/whatmore/dummy_for_video_pool_3s_muted_11kb.mp4",i="whatmore-video-player whatmore-main-video-player-from-pool";function r(){return"undefined"===typeof window?{}:(window.__whatmoreNeoVideoPool||(window.__whatmoreNeoVideoPool={}),window.__whatmoreNeoVideoPool)}function s(){const e=r();if(e.armed||"undefined"===typeof document)return;e.armed=!0,function(){const e=r();if(e.pool||"undefined"===typeof document)return;const t=document.createDocumentFragment();for(let n=0;n<o;n++){const e=document.createElement("video");e.setAttribute("class",i),e.setAttribute("src",a),e.muted=!0,e.setAttribute("width","100%"),e.setAttribute("height","100%"),e.setAttribute("preload","auto"),e.setAttribute("loop",""),e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("x-webkit-airplay","allow"),e.controls=!1,t.appendChild(e)}e.pool=t}();const t=()=>{document.removeEventListener("click",t),document.removeEventListener("touchstart",t),function(){const e=r();if(e.blessed||!e.pool)return;const t=e.pool.childNodes;for(let n=0;n<t.length;n++){const e=t[n];e.muted=!0;const o=e.play();o&&o.then&&o.then(()=>e.pause()).catch(()=>{})}e.blessed=!0}()};document.addEventListener("click",t,{passive:!0}),document.addEventListener("touchstart",t,{passive:!0})}function d(){return r().pool||null}function l(){return!!r().blessed}},5071:function(e){e.exports='.wht-neo-rail{-webkit-overflow-scrolling:touch;display:flex;gap:var(--wht-neo-gap,calc(var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 160px))*var(--wht-neo-gap-ratio, .13)));height:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-block:0;padding-inline:var(--wht-neo-rail-pad-inline,calc((100% - var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 64%)))/2));scroll-padding-inline:0;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x}.wht-neo-rail::-webkit-scrollbar{display:none}.wht-neo-slide{aspect-ratio:var(--wht-neo-aspect,9/16);background:var(--wht-neo-slide-bg,#ececec);border-radius:var(--wht-neo-radius,var(--wht-neo-radius-auto,12px));box-shadow:none;container-type:inline-size;cursor:pointer;flex:0 0 auto;max-width:var(--wht-neo-slide-max-width,none);opacity:var(--wht-neo-side-opacity,1);overflow:hidden;position:relative;scroll-snap-align:center;scroll-snap-stop:always;transform:scale(var(--wht-neo-side-scale,1));transform-origin:center center;transition:transform .28s ease,opacity .28s ease;width:var(--wht-neo-slide-width,var(--wht-neo-slide-width-auto,64%))}:where([data-wht-vp=portrait]) .wht-neo-slide{transform:scale(var(--wht-neo-side-scale,.952));width:calc(var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 64%))*var(--wht-neo-center-boost, 1.05))}.wht-neo-slide.wht-neo-active{opacity:1;transform:scale(1)}.wht-neo-media{aspect-ratio:auto;background:transparent;border-radius:0;height:100%;overflow:visible;position:relative;width:100%}.wht-neo-video{display:block;height:100%;object-fit:var(--wht-neo-fit,cover);width:100%}:where([data-wht-vp=landscape]) .wht-neo-rail{gap:var(--wht-neo-gap,calc(var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 187px))*var(--wht-neo-gap-ratio-landscape, .1)));padding-inline:var(--wht-neo-rail-pad-inline,0)}:where([data-wht-vp=landscape]) .wht-neo-slide{scroll-snap-align:start}.wht-neo-rail-wrap{position:relative}.wht-neo-nav{display:none}:where([data-wht-vp=landscape]) .wht-neo-nav{align-items:center;background:var(--wht-neo-nav-bg,#fff);border:none;border-radius:50%;box-shadow:var(--wht-neo-nav-shadow,0 1px 4px rgba(0,0,0,.18));color:var(--wht-neo-nav-color,#090a0b);cursor:pointer;display:flex;height:var(--wht-neo-nav-size,36px);justify-content:center;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:var(--wht-neo-nav-size,36px);z-index:2}:where([data-wht-vp=landscape]) .wht-neo-nav-prev{left:var(--wht-neo-nav-inset,6px)}:where([data-wht-vp=landscape]) .wht-neo-nav-next{right:var(--wht-neo-nav-inset,6px)}.wht-neo-nav svg{display:block;height:42%;width:42%}.wht-neo-products{align-items:flex-end;bottom:0;display:flex;font-family:var(--wht-neo-font,inherit);justify-content:center;left:0;padding-bottom:var(--wht-neo-drawer-bottom,12px);pointer-events:none;position:absolute;right:0;top:0}.wht-neo-products>*{pointer-events:auto}.wht-neo-pill{align-items:center;-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:var(--wht-neo-pill-bg,hsla(0,0%,100%,.72));border:none;border-radius:999px;box-shadow:0 4px 16px rgba(0,0,0,.12);cursor:pointer;gap:6px;padding:5px 10px 5px 6px}.wht-neo-pill,.wht-neo-pill-thumbs{display:inline-flex}.wht-neo-pill-thumb{background:#f4f4f4;border:var(--wht-neo-thumb-border,2px solid #fff);border-radius:50%;height:var(--wht-neo-pill-thumb-size,34px);object-fit:cover;width:var(--wht-neo-pill-thumb-size,34px)}.wht-neo-pill-thumb+.wht-neo-pill-thumb{margin-left:-14px}.wht-neo-chevron{background:transparent;border:none;cursor:pointer;display:inline-block;flex-shrink:0;height:16px;position:relative;width:16px}.wht-neo-chevron:before{border-left:2px solid var(--wht-neo-chevron-color,#303632);border-top:2px solid var(--wht-neo-chevron-color,#303632);content:"";height:7px;left:50%;margin:-2px 0 0 -4px;position:absolute;top:50%;transform:rotate(45deg);width:7px}.wht-neo-chevron-down:before{margin-top:-6px;transform:rotate(225deg)}.wht-neo-panel{-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:var(--wht-neo-panel-bg,hsla(0,0%,100%,.72));border-radius:var(--wht-neo-panel-radius,16px);box-shadow:0 8px 30px rgba(0,0,0,.12);display:none;flex-direction:column;padding:8px;width:var(--wht-neo-panel-width,88%)}.wht-neo-products[data-wht-expanded=true] .wht-neo-pill{display:none}.wht-neo-products[data-wht-expanded=true] .wht-neo-panel{display:flex}.wht-neo-row{align-items:center;border-bottom:1px solid rgba(0,0,0,.06);cursor:pointer;display:flex;gap:var(--wht-neo-row-gap,10px);padding:var(--wht-neo-row-padding,7px 8px)}.wht-neo-row:last-of-type{border-bottom:none}.wht-neo-row-thumb{background:#f4f4f4;border:var(--wht-neo-thumb-border,2px solid #fff);border-radius:50%;flex-shrink:0;height:var(--wht-neo-row-thumb-size,38px);object-fit:cover;width:var(--wht-neo-row-thumb-size,38px)}.wht-neo-row-info{display:flex;flex-direction:column;gap:3px;min-width:0;text-align:left}.wht-neo-row-title{color:var(--wht-neo-row-title-color,#1a1a1a);font-size:var(--wht-neo-row-title-size,14px);font-weight:var(--wht-neo-row-title-weight,500);line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wht-neo-row-price{color:var(--wht-neo-row-price-color,#1a1a1a);font-size:var(--wht-neo-row-price-size,14px);font-weight:700;line-height:1.2}.wht-neo-panel .wht-neo-chevron-down{align-self:center;box-sizing:content-box;margin-top:12px;padding:8px 28px}:where([data-wht-vp=portrait]) .wht-neo-panel{padding:6px;width:var(--wht-neo-panel-width,96%)}:where([data-wht-vp=portrait]) .wht-neo-row{gap:var(--wht-neo-row-gap,7px);padding:var(--wht-neo-row-padding,5px 6px)}:where([data-wht-vp=portrait]) .wht-neo-row-thumb{border-width:1.5px;height:var(--wht-neo-row-thumb-size,30px);width:var(--wht-neo-row-thumb-size,30px)}:where([data-wht-vp=portrait]) .wht-neo-row-title{font-size:var(--wht-neo-row-title-size,12px)}:where([data-wht-vp=portrait]) .wht-neo-row-price{font-size:var(--wht-neo-row-price-size,12.5px)}:where([data-wht-vp=portrait]) .wht-neo-pill-thumb{height:var(--wht-neo-pill-thumb-size,28px);width:var(--wht-neo-pill-thumb-size,28px)}.wht-neo-poster{background:#000;height:100%;left:0;overflow:hidden;pointer-events:none;position:fixed;top:0;width:100%;z-index:2147483648}.wht-neo-poster--hidden{height:0;visibility:hidden;width:0}.wht-neo-poster-img{height:100%;object-fit:cover;pointer-events:none;width:100%}.wht-neo-poster-spin{left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%)}.wht-neo-sfp-spinner{height:64px;position:relative;width:64px}.wht-neo-sfp-spinner span{animation:wht-neo-sfp-fade 1s linear infinite;background-color:#d8cdd0;border-radius:50%;height:10px;left:50%;margin:-5px 0 0 -5px;position:absolute;top:50%;width:10px}.wht-neo-sfp-spinner span:first-child{animation-delay:-1s;transform:rotate(0deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(2){animation-delay:-.875s;transform:rotate(45deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(3){animation-delay:-.75s;transform:rotate(90deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(4){animation-delay:-.625s;transform:rotate(135deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(5){animation-delay:-.5s;transform:rotate(180deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(6){animation-delay:-.375s;transform:rotate(225deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(7){animation-delay:-.25s;transform:rotate(270deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(8){animation-delay:-.125s;transform:rotate(315deg) translateY(-22px)}@keyframes wht-neo-sfp-fade{0%,87.5%,to{background-color:#d8cdd0}12.5%{background-color:#8d6f78}}.wht-neo-heading{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:6px;position:relative;z-index:1}.wht-neo-heading-inner{padding:2px 24px;position:relative}.wht-neo-heading h2{color:#1a1a1a;font-weight:300;letter-spacing:.5px;line-height:1.2;margin:0;position:relative;text-align:center;text-transform:uppercase;z-index:1}.wht-neo-heading-basic h2{font-family:var(--wht-neo-title-font,inherit);font-size:var(--wht-neo-title-size-portrait,24px)}:where([data-wht-vp=landscape]) .wht-neo-heading{margin-bottom:2px}:where([data-wht-vp=landscape]) .wht-neo-heading-basic h2{font-size:var(--wht-neo-title-size,24px)}.wht-neo-atc,.wht-neo-mute,.wht-neo-playpause,.wht-neo-products,.wht-neo-views{display:none}.wht-neo-card{display:flex}:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-slide .wht-neo-card{align-items:center;background:var(--wht-neo-ov-bg,linear-gradient(to top,rgba(0,0,0,.55),rgba(0,0,0,.12),transparent));bottom:0;flex-direction:row;gap:var(--wht-neo-ov-gap,8px);left:0;padding:var(--wht-neo-ov-pad,6px 8px);pointer-events:none;position:absolute;right:0;z-index:3}:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-card .wht-neo-card-row{align-items:center;display:flex;gap:var(--wht-neo-ov-gap,8px);min-width:0;padding:0;width:100%}:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-card .wht-neo-card-row:nth-child(n+2){display:none}:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-card-thumb{background:#f4f4f4;border:none;border-radius:var(--wht-neo-ov-thumb-radius,6px);flex-shrink:0;height:var(--wht-neo-ov-thumb,30cqw);object-fit:cover;width:var(--wht-neo-ov-thumb,30cqw)}:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-card-info{display:flex;flex:1;flex-direction:column;min-width:0;text-align:left}:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-card-title{-webkit-line-clamp:var(--wht-neo-ov-title-lines,3);-webkit-box-orient:vertical;color:var(--wht-neo-ov-title-color,#fff);display:-webkit-box;font-family:var(--wht-neo-font,inherit);font-size:var(--wht-neo-ov-title-size,7cqw);font-weight:var(--wht-neo-ov-title-weight,500);line-height:1.2;overflow:hidden;text-overflow:ellipsis}:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-cta,:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-discount,:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-mrp,:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-price,:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-price-line{display:none}'},6387:function(e,t,n){n.d(t,{P:function(){return a}});const o={standard:()=>n.e(508).then(n.t.bind(n,5071,17)),card:()=>n.e(545).then(n.t.bind(n,9362,17)),"mosaic-ring":()=>n.e(838).then(n.t.bind(n,8171,17)),"mosaic-plain":()=>n.e(764).then(n.t.bind(n,5635,17)),hoverplay:()=>n.e(781).then(n.t.bind(n,787,17)),"info-strip":()=>n.e(94).then(n.t.bind(n,2109,17)),"text-overlay":()=>n.e(833).then(n.t.bind(n,3930,17)),focused:()=>n.e(506).then(n.t.bind(n,1987,17)),coverflow:()=>n.e(172).then(n.t.bind(n,9033,17)),minimal:()=>n.e(244).then(n.t.bind(n,6362,17)),feed:()=>n.e(315).then(n.t.bind(n,7456,17)),circle:()=>n.e(31).then(n.t.bind(n,5112,17)),viewmore:()=>n.e(343).then(n.t.bind(n,7672,17)),overlay:()=>n.e(936).then(n.t.bind(n,75,17)),"stories-b":()=>n.e(565).then(n.t.bind(n,1958,17))};async function a(e,t){const n=o["carousel"===e||"collections"===e?t:e+"-"+t];if(!n)return"";try{return(await n()).default||""}catch(a){return""}}},7983:function(e,t,n){function o(e,t=!1){if(null==e)return{events:[],all_events:[]};if(t){return{events:e.events&&e.events[0]&&e.events[0].events||[],all_events:e.all_events||[]}}return{events:e.events||[],all_events:e.all_events||[]}}function a(e,t){if(null==e||!e.eventsets||!e.eventsets[t])return{events:[],all_events:[]};return{events:e.eventsets[t].reduce((e,t)=>e.concat(t.events||[]),[]),all_events:[]}}n.d(t,{Np:function(){return o},Po:function(){return a}})},8171:function(e){e.exports=".wht-neo-rail{-webkit-overflow-scrolling:touch;display:flex;gap:var(--wht-neo-gap,var(--wht-neo-gap-auto,14px));height:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-block:var(--wht-neo-rail-pad-block-inner,6px);padding-inline:var(--wht-neo-rail-pad-inline,12px);scroll-padding-inline:var(--wht-neo-rail-pad-inline,12px);scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x}.wht-neo-rail::-webkit-scrollbar{display:none}.wht-neo-slide{aspect-ratio:var(--wht-neo-aspect,2/3);background:var(--wht-neo-slide-bg,#ececec);border-radius:var(--wht-neo-radius,min(10%,calc(var(--wht-neo-radius-auto, 5px)*100)));box-shadow:1px 1px 1px 0 var(--wht-neo-ring-c1,var(--wht-neo-ring-c1-auto,rgba(52,52,52,.55))),-1px -1px 1px 0 var(--wht-neo-ring-c2,var(--wht-neo-ring-c2-auto,rgba(188,42,141,.55))),1px -1px 1px 0 var(--wht-neo-ring-c1,var(--wht-neo-ring-c1-auto,rgba(52,52,52,.55))),-1px 1px 1px 0 var(--wht-neo-ring-c2,var(--wht-neo-ring-c2-auto,rgba(188,42,141,.55)));cursor:pointer;flex:0 0 auto;max-width:var(--wht-neo-slide-max-width,240px);overflow:hidden;position:relative;scroll-snap-align:start;scroll-snap-stop:normal;transform-origin:bottom center;transition:transform .2s ease;width:var(--wht-neo-slide-width,var(--wht-neo-slide-width-auto,44%))}.wht-neo-slide,.wht-neo-slide.wht-neo-active{opacity:1;transform:none}:where([data-wht-vp=portrait]) .wht-neo-slide{width:calc(var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 44%))*var(--wht-neo-mosaic-portrait-boost, 1.08))}:where([data-wht-vp=landscape]) .wht-neo-slide:hover{transform:scale(1.04)}.wht-neo-slide--duo{background:transparent;border-radius:0;box-shadow:none;display:flex;flex-direction:column;gap:var(--wht-neo-duo-gap,8px);overflow:visible}:where([data-wht-vp=landscape]) .wht-neo-slide--duo:hover{transform:none}.wht-neo-duo-item{background:var(--wht-neo-slide-bg,#ececec);border-radius:var(--wht-neo-radius,min(10%,calc(var(--wht-neo-radius-auto, 5px)*100)));box-shadow:1px 1px 1px 0 var(--wht-neo-ring-c1,var(--wht-neo-ring-c1-auto,rgba(52,52,52,.55))),-1px -1px 1px 0 var(--wht-neo-ring-c2,var(--wht-neo-ring-c2-auto,rgba(188,42,141,.55)));cursor:pointer;flex:1 1 0;min-height:0;overflow:hidden;position:relative;transition:transform .2s ease}:where([data-wht-vp=landscape]) .wht-neo-duo-item:hover{transform:scale(1.04)}.wht-neo-media{aspect-ratio:auto;background:transparent;border-radius:0;height:100%;overflow:visible;position:relative;width:100%}.wht-neo-video{display:block;height:100%;object-fit:var(--wht-neo-fit,cover);width:100%}:where([data-wht-vp=landscape]) .wht-neo-rail{padding-inline:var(--wht-neo-rail-pad-inline,12px)}:where([data-wht-vp=landscape]) .wht-neo-slide{scroll-snap-align:start}.wht-neo-rail-wrap{position:relative}.wht-neo-nav{display:none}:where([data-wht-vp=landscape]) .wht-neo-nav{align-items:center;background:var(--wht-neo-nav-bg,#fff);border:none;border-radius:50%;box-shadow:var(--wht-neo-nav-shadow,0 1px 4px rgba(0,0,0,.18));color:var(--wht-neo-nav-color,#090a0b);cursor:pointer;display:flex;height:var(--wht-neo-nav-size,36px);justify-content:center;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:var(--wht-neo-nav-size,36px);z-index:2}:where([data-wht-vp=landscape]) .wht-neo-nav-prev{left:var(--wht-neo-nav-inset,6px)}:where([data-wht-vp=landscape]) .wht-neo-nav-next{right:var(--wht-neo-nav-inset,6px)}.wht-neo-nav svg{display:block;height:42%;width:42%}.wht-neo-poster{background:#000;height:100%;left:0;overflow:hidden;pointer-events:none;position:fixed;top:0;width:100%;z-index:2147483648}.wht-neo-poster--hidden{height:0;visibility:hidden;width:0}.wht-neo-poster-img{height:100%;object-fit:cover;pointer-events:none;width:100%}.wht-neo-poster-spin{left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%)}.wht-neo-sfp-spinner{height:64px;position:relative;width:64px}.wht-neo-sfp-spinner span{animation:wht-neo-sfp-fade 1s linear infinite;background-color:#d8cdd0;border-radius:50%;height:10px;left:50%;margin:-5px 0 0 -5px;position:absolute;top:50%;width:10px}.wht-neo-sfp-spinner span:first-child{animation-delay:-1s;transform:rotate(0deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(2){animation-delay:-.875s;transform:rotate(45deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(3){animation-delay:-.75s;transform:rotate(90deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(4){animation-delay:-.625s;transform:rotate(135deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(5){animation-delay:-.5s;transform:rotate(180deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(6){animation-delay:-.375s;transform:rotate(225deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(7){animation-delay:-.25s;transform:rotate(270deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(8){animation-delay:-.125s;transform:rotate(315deg) translateY(-22px)}@keyframes wht-neo-sfp-fade{0%,87.5%,to{background-color:#d8cdd0}12.5%{background-color:#8d6f78}}.wht-neo-heading{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:6px;position:relative;z-index:1}:where([data-wht-surface=carousel]) .wht-neo-heading{display:none}.wht-neo-heading-inner{padding:2px 24px;position:relative}.wht-neo-heading h2{color:#1a1a1a;font-weight:300;letter-spacing:.5px;line-height:1.2;margin:0;position:relative;text-align:center;text-transform:uppercase;z-index:1}.wht-neo-heading-basic h2{font-family:var(--wht-neo-title-font,inherit);font-size:var(--wht-neo-title-size-portrait,24px)}:where([data-wht-vp=landscape]) .wht-neo-heading{margin-bottom:2px}:where([data-wht-vp=landscape]) .wht-neo-heading-basic h2{font-size:var(--wht-neo-title-size,24px)}.wht-neo-atc,.wht-neo-card,.wht-neo-mute,.wht-neo-playpause,.wht-neo-products,.wht-neo-title,.wht-neo-views{display:none}"},8933:function(e,t,n){n.r(t),n.d(t,{REGISTRY:function(){return b},renderNeoCarousel:function(){return W}});var o=n(7983),a=n(6287),i=n(5e3),r=n(9439),s=n(6387),d=n(8924),l=n(5071),c=n(8171);const h=e=>e?"collections":"carousel",p="https://consumer.whatmore.live",u="wht-neo-css",w="wht-neo-critical",v='.wht-neo-widget{margin-block:var(--wht-neo-rail-pad-block,var(--wht-neo-rail-pad-block-auto,20px))}:where([data-wht-vp="landscape"]) .wht-neo-rail{margin-inline:var(--wht-neo-widget-pad-inline,var(--wht-neo-widget-pad-inline-auto,40px))}.wht-neo-rail{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}.wht-neo-rail::-webkit-scrollbar{display:none}.wht-neo-slide{position:relative;display:flex;flex-direction:column;flex:0 0 auto;width:60%;max-width:360px;scroll-snap-align:center}.wht-neo-media{position:relative;width:100%;aspect-ratio:9/16;border-radius:var(--wht-neo-radius,var(--wht-neo-radius-auto,12px));overflow:hidden;background:#ececec}.wht-neo-video{width:100%;height:100%;object-fit:cover;display:block}.wht-neo-views,.wht-neo-mute,.wht-neo-playpause,.wht-neo-card,.wht-neo-products,.wht-neo-nav,.wht-neo-title,.wht-neo-viewmore,.wht-neo-discount{display:none}';function m(e,t){let n=document.getElementById(e);n||(n=document.createElement("style"),n.id=e,document.head.appendChild(n)),n.textContent=t}function f(e,t){if(!e)return null;const n=e[t];return n&&"object"===typeof n?{skin:n.skin,customCss:n.customCss}:e}async function g(e,t){let n=null;try{n=new URLSearchParams(window.location.search).get("neoskin")}catch(w){}const o="collections"===e?c:l;let a="";const i=n||t&&t.skin,r=(0,d.Ny)(e,i);r&&r!==d.f1[e]&&(a=await(0,s.P)(e,r));const h=t&&t.customCss;let p="";if("string"===typeof h)p=h;else if(h&&"object"===typeof h){const t=r||d.f1[e],n="string"===typeof h[i]?i:Object.keys(h).find(n=>"string"===typeof h[n]&&((0,d.Ny)(e,n)||d.f1[e])===t);n&&(p=h[n])}return m(u,o+"\n"+a+(p?"\n"+p:"")),!0}const b={heading:{data:{source:"embed",field:"whatmoreHeading"},action:null},viewBadge:{data:{source:"backend",field:"event.total_views"},action:null},muteButton:{data:{source:"runtime",field:"video.muted"},action:"toggleMute"},playPauseButton:{data:{source:"runtime",field:"video.paused"},action:"togglePlay"},productCard:{data:{source:"backend",field:"event.products"},action:"redirectPdp"},eventTitle:{data:{source:"backend",field:"event.title"},action:null},productDrawer:{data:{source:"backend",field:"event.products"},action:"redirectPdp"},productThumb:{data:{source:"backend",field:"product.thumbnail_image"},action:null},productTitle:{data:{source:"backend",field:"product.title"},action:null},price:{data:{source:"backend",field:"product.price"},action:null},mrp:{data:{source:"backend",field:"product.compare_price"},action:null},ctaButton:{data:{source:"backend",field:"product.product_link"},action:"redirectPdp"},atcButton:{data:{source:"backend",field:"product.product_link"},action:"addToCart"},navArrows:{data:{source:"runtime",field:"rail.scrollLeft"},action:"step"}};function x(e){var t,n;return null!==(t=null===(n=b[e])||void 0===n?void 0:n.action)&&void 0!==t?t:"none"}function y(e,t){var n,o,a;const i=null===(n=b[e])||void 0===n?void 0:n.data;if(!i)return;if("embed"===i.source)return null===(o=t.embed)||void 0===o?void 0:o[i.field];if("runtime"===i.source)return null===(a=t.video)||void 0===a?void 0:a[i.field.split(".").pop()];const r=i.field.split("."),s="product"===r.shift()?t.product:t.event;return r.reduce((e,t)=>null==e?void 0:e[t],s)}const k={INR:"\u20b9",USD:"$",EUR:"\u20ac",GBP:"\xa3",AUD:"A$",CAD:"C$",AED:"AED",SGD:"S$"},_=3,E=3e3,C=5;function L(e){var t,n,o,a;const i=e.event_media_urls;let r=i?(null===(t=i.primary)||void 0===t||null===(n=t.portrait)||void 0===n?void 0:n.poster_image)||(null===(o=i.secondary)||void 0===o||null===(a=o.portrait)||void 0===a?void 0:a.poster_image)||e.poster_image||"":e.poster_image||"";return r&&r.startsWith("https://cdn.shopify.com")&&(r=r.split("?")[0]+"?width=400&height=400"),r}function N(e){return e?e.startsWith("https://cdn.shopify.com")?e.split("?")[0]+"?width=160&height=160":e:""}function z(e,t){const n=Math.round(Number(e));if(!isFinite(n))return"";const o=k[t]||t||"",a=n.toLocaleString("en-IN");return o?`${o} ${a}`:a}function A(e){return(e.products||[]).filter(e=>e&&e.thumbnail_image).sort((e,t)=>("active"===t.product_status)-("active"===e.product_status))}function P(){try{return JSON.parse(localStorage.getItem("whatmore_brand_customizations")).customizations}catch(e){return null}}function M(e){return!!function(e){const t=P();return t?e.split("->").reduce((e,t)=>null==e?void 0:e[t],t):null}("feed"===e?"event_tile_with_product_info->show_atc_button_template_feed":"event_tile_with_product_info->show_atc_button_outside_tile")}function I(e,t,n,o){const a=(t||"").trim();if(!a)return null;const i=document.createElement("div");i.className="wht-neo-heading wht-neo-heading-basic",i.dataset.role="heading",null!=n&&""!==n&&i.setAttribute("data-wht-heading-id",String(n));const r=document.createElement("div");r.className="wht-neo-heading-inner";const s=document.createElement("h2");s.className="wht-premium-heading";const d=(e,t)=>{const n=document.createElement("span");return n.className=e,n.textContent=t,n},l=e=>{var t,n,a,i;return null!==(t=null!==(n=null===o||void 0===o||null===(a=o.querySelector("#"+e))||void 0===a?void 0:a.getAttribute("data-wh"))&&void 0!==n?n:null===o||void 0===o||null===(i=o.querySelector("#"+e))||void 0===i?void 0:i.getAttribute("data"))&&void 0!==t?t:""};i.style.setProperty("--wht-neo-title-font",function(){const e=P();return e&&(e.brand_fonts&&e.brand_fonts.carousel_title_font||e.homepage_carousel&&e.homepage_carousel.carousel_title_font)||"inherit"}()),i.style.setProperty("--wht-neo-title-size-portrait",(parseInt(l("whatmoreTitleFontSizePortrait"),10)||24)+"px"),i.style.setProperty("--wht-neo-title-size",(parseInt(l("whatmoreTitleFontSize"),10)||24)+"px");const c=a.split(" ");s.appendChild(d("wht-neo-heading-lead",c.slice(0,2).join(" ")));const h=c.slice(2,4).join(" ");h&&(s.appendChild(document.createTextNode(" ")),s.appendChild(d("wht-neo-heading-mid",h)));const p=c.slice(4).join(" ");return p&&(s.appendChild(document.createTextNode(" ")),s.appendChild(d("wht-neo-heading-tail",p))),r.appendChild(s),i.appendChild(r),i}async function S({shopId:e,widgetIdentity:t,landingLocationType:n="index",collectionId:a,productId:i,isCollections:r}){let s;if(t&&"wgt_default"!==t){const i=r?"collection":"carousel",d=r?n.startsWith("collection")?"collection":n.startsWith("page")?"page":"collection":n.startsWith("product")?"product":"homepage",l=`${p}/brand/${e}/eventset?widget_id=${t}&source_type=${d}&source_id=${r&&a||e}&eventset_type=${i}&status=active,active`;s=(0,o.Po)(await fetch(l).then(e=>e.json()),i)}else if(r){const t=function(){const e=P();return!(!e||!0!==e.collection_product_sync)}()?`${p}/v5/collection?store_id=${e}&client_collection_id=${a||e}&sync_products=true`:`${p}/v2/collection?store_id=${e}&client_collection_id=${a||e}`;s=(0,o.Np)(await fetch(t).then(e=>e.json()),!0)}else if(n.startsWith("product")&&i&&!function(){const e=P();return!(!e||!0!==e.show_homepage_videos_in_pdp)}()){const t=function(){const e=P();return!(!e||!e.recommendation_config||!0!==e.recommendation_config.show_collection_events)}()?`${p}/v2/brand/${e}/product-events/collection/cdn?client_product_id=${i}&limit=50&status=live,upcoming&event_type=video`:function(){const e=P();return!(!e||!e.recommendation_config||!0!==e.recommendation_config.show_recommended_events)}()?`${p}/v2/brand/${e}/product-events/recommendation/cdn?client_product_id=${i}&limit=10&recommended=${!function(){const e=P();return!(!e||!e.product_page_popup_config||!0!==e.product_page_popup_config.show_all_events)}()}&origin=${window.location.hostname}&status=live,upcoming&event_type=video`:`${p}/v2/brand/${e}/product-events?client_product_id=${i}&status=live,upcoming&event_type=video`;s=(0,o.Np)(await fetch(t).then(e=>e.json()),!1)}else{const t=`${p}/v2/events/${e}?status=live,upcoming&is_active=true`;s=(0,o.Np)(await fetch(t).then(e=>e.json()),!1)}return s&&s.events||[]}const T=e=>{const t=`<svg viewBox="0 0 24 24" fill="none" aria-hidden="true">${e}</svg>`,n=document.createElement("span");return n.innerHTML=t,n.firstChild};function $(e){const t=function(e){return e=Number(e),!isFinite(e)||e<=0?"":e<1e3?String(e):e<1e5?(e/1e3).toFixed(0)+"K":(e/1e5).toFixed(0)+"L"}(y("viewBadge",{event:e}));if(!t)return null;const n=document.createElement("div");n.className="wht-neo-views",n.dataset.role="viewBadge",n.appendChild(T('<path d="M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z" stroke="currentColor" stroke-width="2"/><circle cx="12" cy="12" r="3" stroke="currentColor" stroke-width="2"/>'));const o=document.createElement("span");return o.textContent=t,n.appendChild(o),n}function B(e,t,n,o){const a=document.createElement("button");return a.type="button",a.className=t,a.dataset.role=e,a.appendChild(T(n)),a.addEventListener("click",e=>{e.stopPropagation(),o(e)}),a}function j(e,t){const n=A(e);if(!n.length)return null;const o=document.createElement("div");o.className="wht-neo-card",o.dataset.role="productCard",n.slice(0,_).forEach(n=>{const a=document.createElement("div");a.className="wht-neo-card-row",a.dataset.role="productRow";const i=y("productThumb",{product:n});if(i){const e=document.createElement("img");e.className="wht-neo-card-thumb",e.dataset.role="productThumb",e.loading="lazy",e.alt="",e.src=N(i),a.appendChild(e)}const r=document.createElement("div");r.className="wht-neo-card-info";const s=document.createElement("div");s.className="wht-neo-card-title",s.dataset.role="productTitle",s.textContent=y("productTitle",{product:n})||"",r.appendChild(s);const d=document.createElement("div");d.className="wht-neo-price-line";const l=z(y("price",{product:n}),n.currency);if(l){const e=document.createElement("span");e.className="wht-neo-price",e.dataset.role="price",e.textContent=l,d.appendChild(e)}const c=function(e){return null!=e.compare_at_price?Number(e.compare_at_price)/100:null!=e.compare_price?Number(e.compare_price):null}(n);let h=null;if(c&&c>Number(n.price)){const e=document.createElement("span");e.className="wht-neo-mrp",e.dataset.role="mrp",e.textContent=z(c,n.currency),d.appendChild(e);const t=Math.round((c-Number(n.price))/c*100);t>0&&(h=document.createElement("span"),h.className="wht-neo-discount",h.dataset.role="discount",h.textContent=t+"% OFF")}if(r.appendChild(d),h&&r.appendChild(h),a.appendChild(r),y("ctaButton",{product:n})){const o=document.createElement("button");o.type="button",o.className="wht-neo-cta",o.dataset.role="ctaButton",o.textContent="Shop now",o.addEventListener("click",o=>{o.stopPropagation(),t.action(x("ctaButton"),{event:e,product:n})}),a.appendChild(o)}if(t.atcEnabled&&y("atcButton",{product:n})){const o=B("atcButton","wht-neo-atc",'<path d="M12 5v14M5 12h14" stroke="currentColor" stroke-width="2.4" stroke-linecap="round"/>',()=>t.action(x("atcButton"),{event:e,product:n})),i=document.createElement("span");i.className="wht-neo-atc-label",i.textContent=function(){const e=P();return e&&e.atc_button_text||"ADD TO CART"}(),o.appendChild(i),a.appendChild(o)}a.addEventListener("click",()=>t.action(x("productCard"),{event:e,product:n})),o.appendChild(a)});const a=Math.min(n.length,_);if(a>1){o.dataset.cyActive="0";let e=0;const t=setInterval(()=>{o.isConnected?(e=(e+1)%a,o.dataset.cyActive=String(e)):clearInterval(t)},E)}return o}function Y(e){const t=document.createElement("button");t.type="button",t.className="wht-neo-nav wht-neo-nav-"+e,t.dataset.role="navArrows",t.setAttribute("aria-label","prev"===e?"Previous":"Next");const n="prev"===e?"M15 5l-7 7 7 7":"M9 5l7 7-7 7";return t.innerHTML='<svg viewBox="0 0 24 24" fill="none" aria-hidden="true"><path d="'+n+'" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>',t}function D(e,t,n,o){const a=document.createElement("div");a.className="wht-neo-slide",a.setAttribute("role","option"),a.tabIndex=0,a.dataset.ri=t;const i=document.createElement("div");i.className="wht-neo-media";const r=function(e){const t=document.createElement("video");t.muted=!0,t.loop=!0,t.playsInline=!0,t.preload="none",t.setAttribute("muted",""),t.setAttribute("playsinline",""),t.setAttribute("webkit-playsinline",""),t.dataset.role="video",t.className="wht-neo-video";const n=L(e),o=function(e){return e.thumbnail_image||""}(e);return n&&(t.dataset.poster=n),o&&(t.dataset.src=o),t}(e);i.appendChild(r);const s=$(e);s&&i.appendChild(s),i.appendChild(B("muteButton","wht-neo-mute",'<path d="M11 5 6 9H2v6h4l5 4V5z" fill="currentColor"/><path d="M16 9l5 6M21 9l-5 6" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>',()=>o.action(x("muteButton"),{video:r}))),i.appendChild(B("playPauseButton","wht-neo-playpause",'<rect x="7" y="6" width="3" height="12" fill="currentColor"/><rect x="14" y="6" width="3" height="12" fill="currentColor"/>',()=>o.action(x("playPauseButton"),{video:r})));const d=function(e,t){const n=A(e);if(!n.length)return null;const o=document.createElement("div");o.className="wht-neo-products",o.dataset.role="productDrawer",o.setAttribute("data-wht-expanded","false");const a=document.createElement("button");a.type="button",a.className="wht-neo-pill",a.setAttribute("aria-label","Show products");const i=document.createElement("span");i.className="wht-neo-pill-thumbs",n.slice(0,2).forEach(e=>{const t=document.createElement("img");t.className="wht-neo-pill-thumb",t.loading="lazy",t.alt="",t.src=N(e.thumbnail_image),i.appendChild(t)}),a.appendChild(i);const r=document.createElement("span");r.className="wht-neo-chevron",r.setAttribute("aria-hidden","true"),a.appendChild(r);const s=document.createElement("div");s.className="wht-neo-panel",n.slice(0,C).forEach(n=>{const o=document.createElement("div");o.className="wht-neo-row",o.setAttribute("role","button"),o.tabIndex=0;const a=document.createElement("img");a.className="wht-neo-row-thumb",a.loading="lazy",a.alt="",a.src=N(n.thumbnail_image),o.appendChild(a);const i=document.createElement("div");i.className="wht-neo-row-info";const r=document.createElement("div");r.className="wht-neo-row-title",r.textContent=n.title||"",i.appendChild(r);const d=z(n.price,n.currency);if(d){const e=document.createElement("div");e.className="wht-neo-row-price",e.textContent=d,i.appendChild(e)}o.appendChild(i);const l=o=>{o.stopPropagation(),t.action(x("productDrawer"),{event:e,product:n})};o.addEventListener("click",l),o.addEventListener("keydown",e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),l(e))}),s.appendChild(o)});const d=document.createElement("button");d.type="button",d.className="wht-neo-chevron wht-neo-chevron-down",d.setAttribute("aria-label","Hide products"),s.appendChild(d);const l=e=>o.setAttribute("data-wht-expanded",e?"true":"false");return a.addEventListener("click",e=>{e.stopPropagation(),l(!0)}),d.addEventListener("click",e=>{e.stopPropagation(),l(!1)}),o.appendChild(a),o.appendChild(s),o}(e,o);if(d&&i.appendChild(d),a.appendChild(i),e.title){const t=document.createElement("div");t.className="wht-neo-title",t.dataset.role="eventTitle",t.textContent=e.title,a.appendChild(t)}const l=j(e,o);l&&a.appendChild(l);const c=()=>o.action("openFullscreen",{event:e,index:t,events:n});return a.addEventListener("click",c),a.addEventListener("keydown",e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),c())}),{slide:a,video:r}}function F(e,t,n){const o=n||e.getAttribute("data-wht-mode"),a=(0,r.di)(t,o);a&&e.style.setProperty("--wht-neo-slide-width-auto",a+"px");const i=(0,r.PV)(t,o);i&&e.style.setProperty("--wht-neo-circle-size-auto",Math.round(i*function(){const e=P(),t=e&&e.collections_config&&e.collections_config.story_tile_size_factor;return"number"===typeof t&&t>0?t:1}())+"px");const s=(0,r.GK)(t,o);s&&e.style.setProperty("--wht-neo-slide-height-auto",s+"px")}function q(e,t,{slides:n,realSlides:o,videos:a,cloneCount:i,isLoop:s,onSwipe:d,navPrev:l,navNext:c,mosaic:h,mode:p}){const u=o.length,w=()=>{const e=(0,r.vC)();return e.w>e.h},v="hoverplay"===p&&!(!window.matchMedia||!window.matchMedia("(hover: hover)").matches),m=e=>{if(!e.dataset.loaded&&(e.dataset.loaded="1",e.dataset.poster&&(e.poster=e.dataset.poster),e.dataset.src)){const t=document.createElement("source");t.src=e.dataset.src,t.type="video/mp4",e.appendChild(t),e.load&&e.load()}};let f=null;if("IntersectionObserver"in window?f=(()=>{if(!("IntersectionObserver"in window))return null;const e=new IntersectionObserver(e=>{e.forEach(e=>{const t=e.target;if(e.isIntersecting){if(m(t),!v){const e=t.play&&t.play();e&&e.catch&&e.catch(()=>{})}}else t.pause&&t.pause()})},{threshold:.01,rootMargin:"0px 150px 0px 150px"});return a.forEach(t=>e.observe(t)),e})():a.forEach(e=>{if(m(e),!v){const t=e.play&&e.play();t&&t.catch&&t.catch(()=>{})}}),v&&n.forEach(e=>{const t=e.querySelector(".wht-neo-video");t&&(e.addEventListener("pointerenter",()=>{m(t);const e=t.play&&t.play();e&&e.catch&&e.catch(()=>{})}),e.addEventListener("pointerleave",()=>{t.pause&&t.pause()}))}),"coverflow"===p){f&&(f.disconnect(),f=null);const n=o.length;e.style.overflow="hidden",e.style.scrollSnapType="none";let a=Math.floor(n/2),i=0,s=null,h=0,p=1,u=!0,w=null;const v=e=>(n<=1||(e=(e%n+n)%n)>n/2&&(e-=n),e),g=()=>{o.forEach((e,t)=>{const n=v(t-a)+i,o=Math.max(-3,Math.min(3,n));e.style.setProperty("--wht-neo-cf",o.toFixed(3)),e.style.zIndex=String(100-Math.abs(Math.round(o)))})},b=()=>{o.forEach((e,t)=>{const n=e.querySelector(".wht-neo-video");if(!n)return;const o=Math.abs(v(t-a));if(o<=2&&m(n),o<.5){const e=n.play&&n.play();e&&e.catch&&e.catch(()=>{})}else n.pause&&n.pause()})},x=()=>{var n;const a=null!==(n=(0,r.eG)(t))&&void 0!==n?n:(0,r.vC)().w;a>0&&(e.style.width=Math.round(a)+"px");const i=o[0],s=i&&i.querySelector(".wht-neo-media"),d=i&&i.querySelector(".wht-neo-card"),l=s?s.offsetHeight:i?Math.round(16*i.offsetWidth/9):0,c=d?d.offsetHeight:0;l&&(e.style.setProperty("--wht-neo-cf-card-half",Math.round(c/2)+"px"),e.style.height=Math.round(l+c+48)+"px")},y=e=>{a=((a+e)%n+n)%n,g(),b()};e.addEventListener("pointerdown",t=>{s=t.clientX,h=0,p=o[0]&&o[0].getBoundingClientRect().width||1,e.setAttribute("data-dragging","1");try{e.setPointerCapture(t.pointerId)}catch(n){}}),e.addEventListener("pointermove",e=>{if(null==s)return;const t=e.clientX-s;h=Math.max(h,Math.abs(t)),i=t/p,g()});const k=()=>{null!=s&&(a=((a-Math.round(i))%n+n)%n,i=0,s=null,e.removeAttribute("data-dragging"),g(),b(),h>8&&d&&d())};return e.addEventListener("pointerup",k),e.addEventListener("pointercancel",k),e.addEventListener("click",e=>{h>8&&(e.stopPropagation(),e.preventDefault())},!0),e.addEventListener("wheel",e=>{if(Math.abs(e.deltaX)<=Math.abs(e.deltaY))return;e.preventDefault();const t=Math.abs(e.deltaX);clearTimeout(w),w=setTimeout(()=>{u=!0},70),t<4?u=!0:u&&t>=10&&(u=!1,y(e.deltaX>0?1:-1))},{passive:!1}),l&&l.addEventListener("click",e=>{e.stopPropagation(),y(-1)}),c&&c.addEventListener("click",e=>{e.stopPropagation(),y(1)}),window.addEventListener("resize",()=>{(0,r.Vo)(e.closest(".wht-neo-widget")),x(),g()},{passive:!0}),x(),g(),void b()}let g=0,b=0,x=0,y=0;const k=()=>{g=n.length>1?n[1].offsetLeft-n[0].offsetLeft:n[0].offsetWidth,b=n[0].offsetWidth,x=n[0].offsetLeft,y=u*g};k();const _=t=>{if(!g)return;const n=Math.round((e.scrollLeft-x)/g);e.scrollTo({left:x+(n+t)*g,behavior:"smooth"})};l&&l.addEventListener("click",e=>{e.stopPropagation(),_(-1)}),c&&c.addEventListener("click",e=>{e.stopPropagation(),_(1)});const E=(0,r.vC)(),C=E.h>=E.w,L=t=>Math.max(0,t.offsetLeft-(e.clientWidth-t.offsetWidth)/2);if(s){const t=o[C&&!h&&u>=2?1:0];e.scrollLeft=C&&!h?L(t):t.offsetLeft}else n.length>=2&&C&&!h&&(e.scrollLeft=L(n[1]));const N=()=>{const t=Math.round((e.scrollLeft+e.clientWidth/2-x-b/2)/g);t<i?e.scrollLeft+=y:t>=i+u&&(e.scrollLeft-=y)};let z=!1,A=null,P=!1,M=-1;const I=()=>{P=!0};e.addEventListener("pointerdown",I,{passive:!0}),e.addEventListener("touchstart",I,{passive:!0});const S=e=>n.forEach(t=>t.classList.toggle("wht-neo-active",t===e)),T=()=>{if(z=!1,w())return;const t=e.getBoundingClientRect(),o=t.left+t.width/2;let a=null,i=1/0;n.forEach(e=>{const t=e.getBoundingClientRect(),n=Math.abs(t.left+t.width/2-o);n<i&&(i=n,a=e)});const r=a?parseInt(a.dataset.ri,10):-1;r!==M&&(-1!==M&&P&&d&&d(),P=!1,M=r),S(a)};n.forEach(e=>{e.addEventListener("mouseenter",()=>{w()&&(A=e,S(e))}),e.addEventListener("mouseleave",()=>{w()&&A===e&&(A=null,S(null))})}),e.addEventListener("mouseleave",()=>{w()&&(A=null,S(null))});let $=null;const B=()=>{clearTimeout($),$=setTimeout(N,120)};e.addEventListener("scroll",()=>{z||(z=!0,requestAnimationFrame(T)),s&&B()},{passive:!0}),s&&(e.addEventListener("touchend",B,{passive:!0}),e.addEventListener("touchcancel",B,{passive:!0})),requestAnimationFrame(T);let j=!1;window.addEventListener("resize",()=>{j||(j=!0,requestAnimationFrame(()=>{j=!1,(0,r.Vo)(e.closest(".wht-neo-widget")),F(e,t,p),k(),T()}))},{passive:!0})}async function W(e){var t;const{rootElement:n,widgetContainer:o,shopId:s,widgetIdentity:l,landingLocationType:c="index",collectionId:p,productId:u,isCollections:b,whatmoreRootId:x,onWidgetView:y,onSwipe:k,showMockOnEmpty:_}=e;if(!n||!s)return!1;let E;document.getElementById(w)||m(w,v);try{[E]=await Promise.all([S({shopId:s,widgetIdentity:l,landingLocationType:c,collectionId:p,productId:u,isCollections:b}),g(h(b),f(e.neoJson,h(b)))])}catch(pe){E=null}if(!E||!E.length){if(_)try{const e=await fetch("https://api.whatmore.live/vs/mock-data").then(e=>e.json());E=e&&e.eventsData||[]}catch(pe){E=[]}if(!E||!E.length)return!1}const C=(N=e,{action(e,t){var n,o,i,r,s,d,l,c;switch(e){case"openFullscreen":(0,a.w)(L(t.event)),null===(n=N.onOpenEvent)||void 0===n||n.call(N,t.event,t.index,t.events);break;case"redirectPdp":var h;null!==(o=t.product)&&void 0!==o&&o.product_link?window.location.href=t.product.product_link:((0,a.w)(L(t.event)),null===(h=N.onOpenEvent)||void 0===h||h.call(N,t.event));break;case"toggleMute":t.video.muted=!t.video.muted,null===(i=t.video.closest(".wht-neo-slide"))||void 0===i||i.classList.toggle("wht-neo-muted",t.video.muted);break;case"togglePlay":t.video.paused?null===(r=(s=t.video).play)||void 0===r||r.call(s):null===(d=(l=t.video).pause)||void 0===d||d.call(l);break;case"addToCart":null===(c=N.onAddToCart)||void 0===c||c.call(N,t.product,t.event)}}});var N;const z=h(b);let A=null;try{A=new URLSearchParams(window.location.search).get("neoskin")||(f(e.neoJson,z)||{}).skin}catch(pe){}const T=(0,d.Ny)(z,A)||d.f1[z],$=(0,d.U5)(T);C.atcEnabled=M(T),C.atcEnabled&&(null===(t=e.onAtcEnabled)||void 0===t||t.call(e));const B="mosaic"===$,j=function(){const e=P();return!!(e&&e.carousel_config&&e.carousel_config.is_event_loop)}()&&E.length>1&&("rail"===$||"mosaic"===$||"hoverplay"===$),W=E.length,O=document.createElement("div");O.className="wht-neo-rail","rail"!==$&&O.setAttribute("data-wht-mode",$),O.setAttribute("data-wht-look",T),O.setAttribute("role","listbox"),O.setAttribute("aria-label","Video shopping carousel"),s&&O.setAttribute("data-wht-shop",s),l&&O.setAttribute("data-wht-widget",l);const R=[];if(B)for(let a=0,i=!1;a<W;i=!i)i&&a+1<W?(R.push([a,a+1]),a+=2):(R.push([a]),a+=1);else for(let a=0;a<W;a++)R.push([a]);const H=[],V=[],U=[];let G=0;const X=(e,t)=>{let n;if(1===e.length){const t=D(E[e[0]],e[0],E,C);U.push(t.video),n=t.slide}else n=document.createElement("div"),n.className="wht-neo-slide wht-neo-slide--duo",n.dataset.ri=String(e[0]),e.forEach(e=>{const t=D(E[e],e,E,C);t.slide.classList.remove("wht-neo-slide"),t.slide.classList.add("wht-neo-duo-item"),U.push(t.video),n.appendChild(t.slide)});H.push(n),t&&V.push(n),O.appendChild(n)};if(j){G=Math.min(R.length,Math.ceil((0,r.vC)().w/((0,r.di)(o,$)||200))+3);for(let e=R.length-G;e<R.length;e++)X(R[e],!1)}if(R.forEach(e=>X(e,!0)),j)for(let a=0;a<G;a++)X(R[a],!1);F(O,o,$),(0,r.aT)(O,o);const J=P();J&&J.tertiary_color&&O.style.setProperty("--wht-neo-cta-bg-auto",J.tertiary_color),J&&J.brand_theme_color&&O.style.setProperty("--wht-neo-secondary-auto",J.brand_theme_color),O.style.setProperty("--wht-neo-radius-auto",J&&"square"===J.brand_ui_theme?"0px":"5px"),B&&J&&(J.brand_theme_color&&O.style.setProperty("--wht-neo-ring-c1-auto",J.brand_theme_color),J.tertiary_color&&O.style.setProperty("--wht-neo-ring-c2-auto",J.tertiary_color));const K=e=>{var t,n,a,i;return null!==(t=null!==(n=null===o||void 0===o||null===(a=o.querySelector("#"+e))||void 0===a?void 0:a.getAttribute("data-wh"))&&void 0!==n?n:null===o||void 0===o||null===(i=o.querySelector("#"+e))||void 0===i?void 0:i.getAttribute("data"))&&void 0!==t?t:""},Q=K("whatmoreCollectionHeading"),Z=Q&&"W"!==Q?Q:K("whatmoreHeading"),ee=K("whatmoreCollectionId"),te=I(0,Z,ee&&"0"!==ee?ee:K("whatmorePageId"),o),ne=document.createElement("div");ne.className="wht-neo-widget",(0,r.Vo)(ne),ne.setAttribute("data-wht-surface",h(b)),s&&ne.setAttribute("data-wht-shop",s);const oe=parseInt(K("whatmoreTopBottomPadding"),10);ne.style.setProperty("--wht-neo-rail-pad-block-auto",(isFinite(oe)?oe:20)+"px");const ae=parseInt(K("whatmoreLandscapePadding"),10);ne.style.setProperty("--wht-neo-widget-pad-inline-auto",(isFinite(ae)?ae:40)+"px"),te&&ne.appendChild(te);let ie=null,re=null,se=null;if("viewmore"===$){let e=1,t=1;const n=()=>{const e=H[0]?H[0].offsetTop:0;return H.filter(t=>t.offsetTop===e).length||1},o=o=>{if(o&&H.forEach(e=>O.appendChild(e)),t=n(),!O.hasAttribute("data-wht-collapsed"))return;const a=e*t;H.forEach((e,t)=>{t>=a&&e.parentNode===O&&O.removeChild(e)})};re=()=>o(!1),se=()=>o(!0),O.setAttribute("data-wht-collapsed","1"),ie=document.createElement("button"),ie.type="button",ie.className="wht-neo-viewmore",ie.textContent="View more",ie.addEventListener("click",n=>{n.stopPropagation();const o=(0,r.vC)(),a=o.w>o.h?1:2,i=e*t;e+=a;const s=Math.min(e*t,H.length);for(let e=i;e<s;e++)O.appendChild(H[e]);s>=H.length&&(O.removeAttribute("data-wht-collapsed"),ie.remove())})}const de=document.createElement("div");de.className="wht-neo-rail-wrap";const le=Y("prev"),ce=Y("next");if(de.appendChild(O),de.appendChild(le),de.appendChild(ce),ne.appendChild(de),ie&&ne.appendChild(ie),n.innerHTML="",n.appendChild(ne),n.style.opacity="1",(0,i.Au)(),q(O,o,{slides:H,realSlides:V,videos:U,cloneCount:G,isLoop:j,onSwipe:k,navPrev:le,navNext:ce,mosaic:B,mode:$}),re&&(re(),window.addEventListener("resize",se,{passive:!0})),y)if("IntersectionObserver"in window){new IntersectionObserver((e,t)=>{e.some(e=>e.isIntersecting)&&(y(),t.disconnect())},{threshold:0}).observe(O)}else y();const he=document.querySelector(`.whatmore-shimmer-container[data-widget-id="${x}"]`);return he&&he.remove(),n.removeAttribute("data-shimmer-active"),o&&(o.style.minHeight="0px"),!0}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[315],{7456:function(e){e.exports='.wht-neo-slide{border-radius:var(--wht-neo-radius,var(--wht-neo-radius-auto,12px));box-shadow:none;max-width:var(--wht-neo-slide-max-width,340px);scroll-snap-align:center;transform-origin:center center;transition:none;width:var(--wht-neo-slide-width,var(--wht-neo-slide-width-auto,64%))}.wht-neo-slide,.wht-neo-slide.wht-neo-active{opacity:1;transform:none}.wht-neo-rail{padding-block:0;scroll-padding-inline:0}:where([data-wht-vp=landscape]) .wht-neo-slide:hover{transform:none}.wht-neo-mute,.wht-neo-playpause,.wht-neo-products,.wht-neo-title,.wht-neo-views{display:none}.wht-neo-rail[data-wht-mode=feed]{align-items:start;column-gap:0;display:grid;grid-template-columns:repeat(auto-fill,calc(var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 140px))*var(--wht-neo-feed-slot, 1.15)));justify-content:center;justify-items:center;overflow-x:visible;overflow-y:visible;padding-inline:0;row-gap:var(--wht-neo-feed-row-gap,calc(var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 140px))*.37));scroll-snap-type:none;touch-action:auto}:where([data-wht-vp=landscape]) .wht-neo-rail[data-wht-mode=feed]{--wht-neo-feed-slot:1.1;row-gap:var(--wht-neo-feed-row-gap,calc(var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 140px))*.31))}.wht-neo-rail[data-wht-mode=feed] .wht-neo-slide{aspect-ratio:var(--wht-neo-aspect,9/16);background:var(--wht-neo-slide-bg,#ececec);border:var(--wht-neo-tile-border,1px solid #000);border-radius:var(--wht-neo-radius,var(--wht-neo-radius-auto,0));container-type:inline-size;cursor:pointer;max-width:none;overflow:hidden;position:relative;scroll-snap-align:none;width:var(--wht-neo-slide-width,var(--wht-neo-slide-width-auto,140px))}.wht-neo-rail[data-wht-mode=feed] .wht-neo-media{aspect-ratio:var(--wht-neo-aspect,9/16);border-radius:0;height:100%;width:100%}:where([data-wht-vp=landscape]) .wht-neo-nav{display:none}.wht-neo-card{align-items:center;background:var(--wht-neo-card-bg,#fff);bottom:0;display:flex;font-family:var(--wht-neo-font,inherit);gap:clamp(6px,5cqw,10px);left:0;padding:clamp(7px,5cqw,12px);pointer-events:none;position:absolute;right:0;z-index:3}.wht-neo-card .wht-neo-card-row:nth-child(n+2){display:none}.wht-neo-card-row{align-items:center;display:flex;flex-wrap:wrap;gap:clamp(6px,5cqw,10px);min-width:0;width:100%}.wht-neo-card-info{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0;order:1;text-align:left}.wht-neo-card-thumb{aspect-ratio:1;background:#f4f4f4;border-radius:var(--wht-neo-card-thumb-radius,0);flex-shrink:0;height:auto;object-fit:cover;order:2;width:var(--wht-neo-card-thumb-size,25%)}.wht-neo-card-title{color:var(--wht-neo-card-title-color,#000);font-size:var(--wht-neo-card-title-size,clamp(12px,9.5cqw,15px));font-weight:var(--wht-neo-card-title-weight,700);line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wht-neo-price-line{align-items:baseline;display:flex;flex-wrap:nowrap;gap:5px}.wht-neo-price{color:var(--wht-neo-price-color,#000);font-size:var(--wht-neo-price-size,clamp(12px,9.5cqw,16px));font-weight:700;white-space:nowrap}.wht-neo-mrp{color:var(--wht-neo-mrp-color,#808191);font-size:var(--wht-neo-mrp-size,clamp(10px,7cqw,13px));text-decoration:line-through}.wht-neo-discount{align-self:flex-start;background:var(--wht-neo-discount-bg,color-mix(in srgb,var(--wht-neo-discount-color,#1a7f5a) 15%,transparent));border-radius:var(--wht-neo-discount-radius,4px);color:var(--wht-neo-discount-color,#1a7f5a);display:inline-block;font-size:var(--wht-neo-discount-size,clamp(9px,6cqw,12px));font-weight:600;letter-spacing:.2px;padding:1px 5px;white-space:nowrap}.wht-neo-cta{display:var(--wht-neo-cta-display,none);pointer-events:auto}.wht-neo-atc{align-items:center;background:var(--wht-neo-atc-bg,var(--wht-neo-secondary-auto,#343434));border:none;border-radius:var(--wht-neo-atc-radius,12px);color:var(--wht-neo-atc-color,#fff);cursor:pointer;display:flex;flex:1 0 100%;height:auto;justify-content:center;margin-top:8px;order:3;padding:10px 8px;pointer-events:auto;width:100%}.wht-neo-atc svg{display:none}.wht-neo-atc-label{color:inherit;display:inline;font-size:var(--wht-neo-atc-label-size,clamp(11px,3.4cqw,14px));font-weight:600;letter-spacing:.5px;text-transform:uppercase}.wht-neo-card[data-cy-active]{display:grid}.wht-neo-card[data-cy-active] .wht-neo-card-row{display:flex;grid-area:1/1;opacity:0;pointer-events:none;transition:opacity .5s ease}.wht-neo-card[data-cy-active="0"] .wht-neo-card-row:first-child,.wht-neo-card[data-cy-active="1"] .wht-neo-card-row:nth-child(2),.wht-neo-card[data-cy-active="2"] .wht-neo-card-row:nth-child(3){opacity:1}'}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[764],{5635:function(e){e.exports=".wht-neo-rail{-webkit-overflow-scrolling:touch;display:flex;gap:var(--wht-neo-gap,var(--wht-neo-gap-auto,7px));height:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-block:var(--wht-neo-rail-pad-block-inner,6px);padding-inline:var(--wht-neo-rail-pad-inline,12px);scroll-padding-inline:var(--wht-neo-rail-pad-inline,12px);scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x}.wht-neo-rail::-webkit-scrollbar{display:none}.wht-neo-slide{aspect-ratio:var(--wht-neo-aspect,2/3);background:var(--wht-neo-slide-bg,#ececec);border-radius:var(--wht-neo-radius,0);box-shadow:none;cursor:pointer;flex:0 0 auto;max-width:var(--wht-neo-slide-max-width,240px);overflow:hidden;position:relative;scroll-snap-align:start;scroll-snap-stop:normal;transform-origin:bottom center;transition:transform .2s ease;width:var(--wht-neo-slide-width,var(--wht-neo-slide-width-auto,44%))}.wht-neo-slide,.wht-neo-slide.wht-neo-active{opacity:1;transform:none}:where([data-wht-vp=portrait]) .wht-neo-slide{width:calc(var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 44%))*var(--wht-neo-mosaic-portrait-boost, 1.08))}:where([data-wht-vp=landscape]) .wht-neo-slide:hover{transform:scale(1.04)}.wht-neo-slide--duo{background:transparent;border-radius:0;box-shadow:none;display:flex;flex-direction:column;gap:var(--wht-neo-duo-gap,8px);overflow:visible}:where([data-wht-vp=landscape]) .wht-neo-slide--duo:hover{transform:none}.wht-neo-duo-item{background:var(--wht-neo-slide-bg,#ececec);border-radius:var(--wht-neo-radius,0);box-shadow:none;cursor:pointer;flex:1 1 0;min-height:0;overflow:hidden;position:relative;transition:transform .2s ease}:where([data-wht-vp=landscape]) .wht-neo-duo-item:hover{transform:scale(1.04)}.wht-neo-media{aspect-ratio:auto;background:transparent;border-radius:0;height:100%;overflow:visible;position:relative;width:100%}.wht-neo-video{display:block;height:100%;object-fit:var(--wht-neo-fit,cover);width:100%}:where([data-wht-vp=landscape]) .wht-neo-rail{padding-inline:var(--wht-neo-rail-pad-inline,12px)}:where([data-wht-vp=landscape]) .wht-neo-slide{scroll-snap-align:start}.wht-neo-rail-wrap{position:relative}.wht-neo-nav{display:none}:where([data-wht-vp=landscape]) .wht-neo-nav{align-items:center;background:var(--wht-neo-nav-bg,#fff);border:none;border-radius:50%;box-shadow:var(--wht-neo-nav-shadow,0 1px 4px rgba(0,0,0,.18));color:var(--wht-neo-nav-color,#090a0b);cursor:pointer;display:flex;height:var(--wht-neo-nav-size,36px);justify-content:center;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:var(--wht-neo-nav-size,36px);z-index:2}:where([data-wht-vp=landscape]) .wht-neo-nav-prev{left:var(--wht-neo-nav-inset,6px)}:where([data-wht-vp=landscape]) .wht-neo-nav-next{right:var(--wht-neo-nav-inset,6px)}.wht-neo-nav svg{display:block;height:42%;width:42%}.wht-neo-poster{background:#000;height:100%;left:0;overflow:hidden;pointer-events:none;position:fixed;top:0;width:100%;z-index:2147483648}.wht-neo-poster--hidden{height:0;visibility:hidden;width:0}.wht-neo-poster-img{height:100%;object-fit:cover;pointer-events:none;width:100%}.wht-neo-poster-spin{left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%)}.wht-neo-sfp-spinner{height:64px;position:relative;width:64px}.wht-neo-sfp-spinner span{animation:wht-neo-sfp-fade 1s linear infinite;background-color:#d8cdd0;border-radius:50%;height:10px;left:50%;margin:-5px 0 0 -5px;position:absolute;top:50%;width:10px}.wht-neo-sfp-spinner span:first-child{animation-delay:-1s;transform:rotate(0deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(2){animation-delay:-.875s;transform:rotate(45deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(3){animation-delay:-.75s;transform:rotate(90deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(4){animation-delay:-.625s;transform:rotate(135deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(5){animation-delay:-.5s;transform:rotate(180deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(6){animation-delay:-.375s;transform:rotate(225deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(7){animation-delay:-.25s;transform:rotate(270deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(8){animation-delay:-.125s;transform:rotate(315deg) translateY(-22px)}@keyframes wht-neo-sfp-fade{0%,87.5%,to{background-color:#d8cdd0}12.5%{background-color:#8d6f78}}.wht-neo-heading{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:6px;position:relative;z-index:1}:where([data-wht-surface=carousel]) .wht-neo-heading{display:none}.wht-neo-heading-inner{padding:2px 24px;position:relative}.wht-neo-heading h2{color:#1a1a1a;font-weight:300;letter-spacing:.5px;line-height:1.2;margin:0;position:relative;text-align:center;text-transform:uppercase;z-index:1}.wht-neo-heading-basic h2{font-family:var(--wht-neo-title-font,inherit);font-size:var(--wht-neo-title-size-portrait,24px)}:where([data-wht-vp=landscape]) .wht-neo-heading{margin-bottom:2px}:where([data-wht-vp=landscape]) .wht-neo-heading-basic h2{font-size:var(--wht-neo-title-size,24px)}.wht-neo-atc,.wht-neo-card,.wht-neo-mute,.wht-neo-playpause,.wht-neo-products,.wht-neo-title,.wht-neo-views{display:none}"}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[508],{5071:function(t){t.exports='.wht-neo-rail{-webkit-overflow-scrolling:touch;display:flex;gap:var(--wht-neo-gap,calc(var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 160px))*var(--wht-neo-gap-ratio, .13)));height:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-block:0;padding-inline:var(--wht-neo-rail-pad-inline,calc((100% - var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 64%)))/2));scroll-padding-inline:0;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x}.wht-neo-rail::-webkit-scrollbar{display:none}.wht-neo-slide{aspect-ratio:var(--wht-neo-aspect,9/16);background:var(--wht-neo-slide-bg,#ececec);border-radius:var(--wht-neo-radius,var(--wht-neo-radius-auto,12px));box-shadow:none;container-type:inline-size;cursor:pointer;flex:0 0 auto;max-width:var(--wht-neo-slide-max-width,none);opacity:var(--wht-neo-side-opacity,1);overflow:hidden;position:relative;scroll-snap-align:center;scroll-snap-stop:always;transform:scale(var(--wht-neo-side-scale,1));transform-origin:center center;transition:transform .28s ease,opacity .28s ease;width:var(--wht-neo-slide-width,var(--wht-neo-slide-width-auto,64%))}:where([data-wht-vp=portrait]) .wht-neo-slide{transform:scale(var(--wht-neo-side-scale,.952));width:calc(var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 64%))*var(--wht-neo-center-boost, 1.05))}.wht-neo-slide.wht-neo-active{opacity:1;transform:scale(1)}.wht-neo-media{aspect-ratio:auto;background:transparent;border-radius:0;height:100%;overflow:visible;position:relative;width:100%}.wht-neo-video{display:block;height:100%;object-fit:var(--wht-neo-fit,cover);width:100%}:where([data-wht-vp=landscape]) .wht-neo-rail{gap:var(--wht-neo-gap,calc(var(--wht-neo-slide-width, var(--wht-neo-slide-width-auto, 187px))*var(--wht-neo-gap-ratio-landscape, .1)));padding-inline:var(--wht-neo-rail-pad-inline,0)}:where([data-wht-vp=landscape]) .wht-neo-slide{scroll-snap-align:start}.wht-neo-rail-wrap{position:relative}.wht-neo-nav{display:none}:where([data-wht-vp=landscape]) .wht-neo-nav{align-items:center;background:var(--wht-neo-nav-bg,#fff);border:none;border-radius:50%;box-shadow:var(--wht-neo-nav-shadow,0 1px 4px rgba(0,0,0,.18));color:var(--wht-neo-nav-color,#090a0b);cursor:pointer;display:flex;height:var(--wht-neo-nav-size,36px);justify-content:center;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:var(--wht-neo-nav-size,36px);z-index:2}:where([data-wht-vp=landscape]) .wht-neo-nav-prev{left:var(--wht-neo-nav-inset,6px)}:where([data-wht-vp=landscape]) .wht-neo-nav-next{right:var(--wht-neo-nav-inset,6px)}.wht-neo-nav svg{display:block;height:42%;width:42%}.wht-neo-products{align-items:flex-end;bottom:0;display:flex;font-family:var(--wht-neo-font,inherit);justify-content:center;left:0;padding-bottom:var(--wht-neo-drawer-bottom,12px);pointer-events:none;position:absolute;right:0;top:0}.wht-neo-products>*{pointer-events:auto}.wht-neo-pill{align-items:center;-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:var(--wht-neo-pill-bg,hsla(0,0%,100%,.72));border:none;border-radius:999px;box-shadow:0 4px 16px rgba(0,0,0,.12);cursor:pointer;gap:6px;padding:5px 10px 5px 6px}.wht-neo-pill,.wht-neo-pill-thumbs{display:inline-flex}.wht-neo-pill-thumb{background:#f4f4f4;border:var(--wht-neo-thumb-border,2px solid #fff);border-radius:50%;height:var(--wht-neo-pill-thumb-size,34px);object-fit:cover;width:var(--wht-neo-pill-thumb-size,34px)}.wht-neo-pill-thumb+.wht-neo-pill-thumb{margin-left:-14px}.wht-neo-chevron{background:transparent;border:none;cursor:pointer;display:inline-block;flex-shrink:0;height:16px;position:relative;width:16px}.wht-neo-chevron:before{border-left:2px solid var(--wht-neo-chevron-color,#303632);border-top:2px solid var(--wht-neo-chevron-color,#303632);content:"";height:7px;left:50%;margin:-2px 0 0 -4px;position:absolute;top:50%;transform:rotate(45deg);width:7px}.wht-neo-chevron-down:before{margin-top:-6px;transform:rotate(225deg)}.wht-neo-panel{-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);background:var(--wht-neo-panel-bg,hsla(0,0%,100%,.72));border-radius:var(--wht-neo-panel-radius,16px);box-shadow:0 8px 30px rgba(0,0,0,.12);display:none;flex-direction:column;padding:8px;width:var(--wht-neo-panel-width,88%)}.wht-neo-products[data-wht-expanded=true] .wht-neo-pill{display:none}.wht-neo-products[data-wht-expanded=true] .wht-neo-panel{display:flex}.wht-neo-row{align-items:center;border-bottom:1px solid rgba(0,0,0,.06);cursor:pointer;display:flex;gap:var(--wht-neo-row-gap,10px);padding:var(--wht-neo-row-padding,7px 8px)}.wht-neo-row:last-of-type{border-bottom:none}.wht-neo-row-thumb{background:#f4f4f4;border:var(--wht-neo-thumb-border,2px solid #fff);border-radius:50%;flex-shrink:0;height:var(--wht-neo-row-thumb-size,38px);object-fit:cover;width:var(--wht-neo-row-thumb-size,38px)}.wht-neo-row-info{display:flex;flex-direction:column;gap:3px;min-width:0;text-align:left}.wht-neo-row-title{color:var(--wht-neo-row-title-color,#1a1a1a);font-size:var(--wht-neo-row-title-size,14px);font-weight:var(--wht-neo-row-title-weight,500);line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wht-neo-row-price{color:var(--wht-neo-row-price-color,#1a1a1a);font-size:var(--wht-neo-row-price-size,14px);font-weight:700;line-height:1.2}.wht-neo-panel .wht-neo-chevron-down{align-self:center;box-sizing:content-box;margin-top:12px;padding:8px 28px}:where([data-wht-vp=portrait]) .wht-neo-panel{padding:6px;width:var(--wht-neo-panel-width,96%)}:where([data-wht-vp=portrait]) .wht-neo-row{gap:var(--wht-neo-row-gap,7px);padding:var(--wht-neo-row-padding,5px 6px)}:where([data-wht-vp=portrait]) .wht-neo-row-thumb{border-width:1.5px;height:var(--wht-neo-row-thumb-size,30px);width:var(--wht-neo-row-thumb-size,30px)}:where([data-wht-vp=portrait]) .wht-neo-row-title{font-size:var(--wht-neo-row-title-size,12px)}:where([data-wht-vp=portrait]) .wht-neo-row-price{font-size:var(--wht-neo-row-price-size,12.5px)}:where([data-wht-vp=portrait]) .wht-neo-pill-thumb{height:var(--wht-neo-pill-thumb-size,28px);width:var(--wht-neo-pill-thumb-size,28px)}.wht-neo-poster{background:#000;height:100%;left:0;overflow:hidden;pointer-events:none;position:fixed;top:0;width:100%;z-index:2147483648}.wht-neo-poster--hidden{height:0;visibility:hidden;width:0}.wht-neo-poster-img{height:100%;object-fit:cover;pointer-events:none;width:100%}.wht-neo-poster-spin{left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%)}.wht-neo-sfp-spinner{height:64px;position:relative;width:64px}.wht-neo-sfp-spinner span{animation:wht-neo-sfp-fade 1s linear infinite;background-color:#d8cdd0;border-radius:50%;height:10px;left:50%;margin:-5px 0 0 -5px;position:absolute;top:50%;width:10px}.wht-neo-sfp-spinner span:first-child{animation-delay:-1s;transform:rotate(0deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(2){animation-delay:-.875s;transform:rotate(45deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(3){animation-delay:-.75s;transform:rotate(90deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(4){animation-delay:-.625s;transform:rotate(135deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(5){animation-delay:-.5s;transform:rotate(180deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(6){animation-delay:-.375s;transform:rotate(225deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(7){animation-delay:-.25s;transform:rotate(270deg) translateY(-22px)}.wht-neo-sfp-spinner span:nth-child(8){animation-delay:-.125s;transform:rotate(315deg) translateY(-22px)}@keyframes wht-neo-sfp-fade{0%,87.5%,to{background-color:#d8cdd0}12.5%{background-color:#8d6f78}}.wht-neo-heading{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:6px;position:relative;z-index:1}.wht-neo-heading-inner{padding:2px 24px;position:relative}.wht-neo-heading h2{color:#1a1a1a;font-weight:300;letter-spacing:.5px;line-height:1.2;margin:0;position:relative;text-align:center;text-transform:uppercase;z-index:1}.wht-neo-heading-basic h2{font-family:var(--wht-neo-title-font,inherit);font-size:var(--wht-neo-title-size-portrait,24px)}:where([data-wht-vp=landscape]) .wht-neo-heading{margin-bottom:2px}:where([data-wht-vp=landscape]) .wht-neo-heading-basic h2{font-size:var(--wht-neo-title-size,24px)}.wht-neo-atc,.wht-neo-mute,.wht-neo-playpause,.wht-neo-products,.wht-neo-views{display:none}.wht-neo-card{display:flex}:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-slide .wht-neo-card{align-items:center;background:var(--wht-neo-ov-bg,linear-gradient(to top,rgba(0,0,0,.55),rgba(0,0,0,.12),transparent));bottom:0;flex-direction:row;gap:var(--wht-neo-ov-gap,8px);left:0;padding:var(--wht-neo-ov-pad,6px 8px);pointer-events:none;position:absolute;right:0;z-index:3}:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-card .wht-neo-card-row{align-items:center;display:flex;gap:var(--wht-neo-ov-gap,8px);min-width:0;padding:0;width:100%}:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-card .wht-neo-card-row:nth-child(n+2){display:none}:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-card-thumb{background:#f4f4f4;border:none;border-radius:var(--wht-neo-ov-thumb-radius,6px);flex-shrink:0;height:var(--wht-neo-ov-thumb,30cqw);object-fit:cover;width:var(--wht-neo-ov-thumb,30cqw)}:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-card-info{display:flex;flex:1;flex-direction:column;min-width:0;text-align:left}:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-card-title{-webkit-line-clamp:var(--wht-neo-ov-title-lines,3);-webkit-box-orient:vertical;color:var(--wht-neo-ov-title-color,#fff);display:-webkit-box;font-family:var(--wht-neo-font,inherit);font-size:var(--wht-neo-ov-title-size,7cqw);font-weight:var(--wht-neo-ov-title-weight,500);line-height:1.2;overflow:hidden;text-overflow:ellipsis}:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-cta,:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-discount,:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-mrp,:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-price,:where([data-wht-look=standard],[data-wht-look=text-overlay]) .wht-neo-price-line{display:none}'}}]);