whatmore-react-assets 1.0.1547 → 1.0.1548

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whatmore-react-assets",
3
- "version": "1.0.1547",
3
+ "version": "1.0.1548",
4
4
  "description": "public repo for all whatmore js and css assets",
5
5
  "main": "whatmore.js",
6
6
  "scripts": {
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[387],{7802:function(t,e,a){a.d(e,{Hl:function(){return s},Np:function(){return _},Po:function(){return r},Z_:function(){return i},zJ:function(){return n}});const i=function(t,e){return!((void 0==t.products||0==t.products.length)&&(void 0==t.cta||0==t.cta.length))},s=function(t,e){return!(void 0==t.products||0==t.products.length)},n=function(t,e){if(null!=t)return t},_=function(t){if(null!=t)return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?t.events[0].events:t.events};const r=function(t,e){let a=[];if(null==t)return[];if("eventsets"in t&&t.eventsets[e]){const i=function(t){if(null==t||0==t.length)return[];let e=[];return t.forEach((t=>{t.events.forEach((t=>{e.push(t)}))})),e}(t.eventsets[e]);a=[...i]}return"all_events"in t&&Array.isArray(t.all_events)&&(a=[...a,...t.all_events]),a}},6018:function(t,e,a){a.d(e,{N9:function(){return n},Yo:function(){return s},nw:function(){return _},uG:function(){return i}});const i=[{event_id:2333,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:204,brand:"whatmore-dev",product_link:"https://www.aachho.com/products/sadabahaar-chanderi-suit-set",client_product_id:"6780183806018",price:"2800.00",currency:"INR",title:"Sadabahaar Chanderi Suit Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/2542/7564/products/5_72f81f91-e027-4497-9dfe-20480b862c54.jpg?v=1684509430",compare_price:"6999.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2022-12-27",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_b9c6f02e-6d5e-4250-97f8-71551c18c4e8.mp4",discount_coupon_image:"",event_hls_url:"https://d3syezql093hs1.cloudfront.net/whatmoredev/b9c6f02e-6d5e-4250-97f8-71551c18c4e8.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:1,event_state:"ready",poster_image:null,total_views:37,total_like:1,total_share:0,total_whatsapp:0},{event_id:2335,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:2108,brand:"whatmore-dev",product_link:"https://www.ordinaree.com/products/grease-black-designer-blackless-long-dress-for-women-online",client_product_id:"7210211311652",price:"5040.00",currency:"INR",title:"Grease Backless Long Dress",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0106/4897/7444/products/DSC_0377_45ee56eb-1240-4a17-9332-841809f132cf.jpg?v=1673001396",compare_price:"5600.00",product_metadata:null,product_status:"active"},{product_id:1955,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/black-anarkali-and-pant-with-dupatta",client_product_id:"7600010723466",price:"4125.00",currency:"INR",title:"BLACK ANARKALI AND PANT WITH DUPATTA",description:"BLACK ANARKALI AND PANT WITH DUPATTA",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/salwarsuitonlineindia-07285.jpg?v=1669434027&width=823",compare_price:"5200.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2022-12-27",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_e433898b-a5ec-4af6-b74f-2153ad609ffb.mp4",discount_coupon_image:"",event_hls_url:"https://d3syezql093hs1.cloudfront.net/whatmoredev/e433898b-a5ec-4af6-b74f-2153ad609ffb.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:4,event_state:"ready",poster_image:null,total_views:31,total_like:0,total_share:0,total_whatsapp:0},{event_id:2336,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:632,brand:"whatmore-dev",product_link:"https://www.meerasplussizestore.com/products/basil-brick-ajrakh-handblock-printed-kurta",client_product_id:"6864880173194",price:"876.00",currency:"INR",title:"Basil & Brick Ajrakh Handblock Printed Kurta",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0363/0075/0986/products/Dark-Green-Maroon-Pati-Ajrakh-Kurti-SCL_6948.jpg?v=1653729466",compare_price:"2190.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2022-12-27",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_5ddea9a1-4839-4db8-aa1c-843c14dd1cbb.mp4",discount_coupon_image:"",event_hls_url:"https://d3syezql093hs1.cloudfront.net/whatmoredev/5ddea9a1-4839-4db8-aa1c-843c14dd1cbb.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:5,event_state:"ready",poster_image:null,total_views:21,total_like:0,total_share:0,total_whatsapp:0},{event_id:2338,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:1728,brand:"whatmore-dev",product_link:"https://suta.in/products/ratri-kamal",client_product_id:"6916488003649",price:"4200.00",currency:"INR",title:"Ratri kamal",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0026/6544/7536/products/ratri-kamal-293774.jpg?v=1668084259",compare_price:null,product_metadata:null,product_status:"active"},{product_id:1732,brand:"whatmore-dev",product_link:"https://suta.in/products/kedar-ki-dor-blouse",client_product_id:"6625859502145",price:"4200.00",currency:"INR",title:"Kedar Ki Dor",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0026/6544/7536/files/DSC01009.jpg?v=1712326816",compare_price:null,product_metadata:null,product_status:"active"},{product_id:1736,brand:"whatmore-dev",product_link:"https://suta.in/products/swarna-kamal",client_product_id:"6916483317825",price:"4200.00",currency:"INR",title:"Swarna Kamal",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0026/6544/7536/products/swarna-kamal-472043.jpg?v=1668093054",compare_price:null,product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2022-12-27",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_496a26de-50cd-4823-8731-a97e0757efcf.mp4",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_496a26de-50cd-4823-8731-a97e0757efcf.mp4?v=1677477938",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:6,event_state:"ready",poster_image:null,total_views:28,total_like:0,total_share:0,total_whatsapp:0},{event_id:3255,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:3636,brand:"whatmore-dev",product_link:"https://buysohi.com/products/sohear8383",client_product_id:"7679599771864",price:"543.00",currency:"INR",title:"Gold Plated Pearl Stud",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0626/0218/2872/products/SS22_SOHEAR8383_1.jpg?v=1651755514",compare_price:"1699.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2023-01-24",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_b0045891-f042-47d4-a87a-187c96a1857e.mp4",discount_coupon_image:"",event_hls_url:"https://d3syezql093hs1.cloudfront.net/whatmoredev/b0045891-f042-47d4-a87a-187c96a1857e.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:7,event_state:"ready",poster_image:null,total_views:36,total_like:1,total_share:3,total_whatsapp:0},{event_id:3877,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:1955,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/black-anarkali-and-pant-with-dupatta",client_product_id:"7600010723466",price:"4125.00",currency:"INR",title:"BLACK ANARKALI AND PANT WITH DUPATTA",description:"BLACK ANARKALI AND PANT WITH DUPATTA",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/salwarsuitonlineindia-07285.jpg?v=1669434027&width=823",compare_price:"5200.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2023-02-03",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_CoH_liSAYOj.mp4",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_CoH_liSAYOj_b1999a62-134d-4301-9808-5d09e64a8979.mp4?v=1677477812",presenter_email:null,presenter_phone:null,room_id:null,event_type:"video",is_active:!0,rank:20,event_state:"ready",poster_image:null,total_views:16,total_like:0,total_share:0,total_whatsapp:0},{event_id:4188,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:4459,brand:"whatmore-dev",product_link:"https://theethnic.co/products/black-ruching-jacket-kurta-set",client_product_id:"8011323769076",price:"7499.00",currency:"INR",title:"Black Ruching Jacket Kurta Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0650/7937/8164/products/1_5102cd2e-a419-4682-abf1-d9619e6e96d7.jpg?v=1674275880",compare_price:"9999.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2023-02-07",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_c398aa0e-f0ac-4aba-91f5-4b1bcc5b1d51.mp4",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_7acda7d8-9762-47c7-9ee2-35e14db4c3fb.mp4?v=1677477803",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:23,event_state:"ready",poster_image:null,total_views:8,total_like:0,total_share:1,total_whatsapp:0},{event_id:28701,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:364,cta_link:"https://lovechild.in/collections/fragrances",client_cta_id:"https://lovechild.in/collections/fragrances",cta_title:"Explore",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-01-10",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_20c05e5e-43cd-45cd-b1a4-5c942fb732d1.mp4",discount_coupon_image:"",event_hls_url:"https://d1zl4k1t5o4s75.cloudfront.net/whatmoredev/1080p_20c05e5e-43cd-45cd-b1a4-5c942fb732d1.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:57,event_state:"ready",poster_image:null,total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:28767,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:26392,brand:"whatmore-dev",product_link:"https://www.aachho.com/products/shimmering-mustard-sequin-georgette-suit-set",client_product_id:"6981740691522",price:"4199.00",currency:"INR",title:"Shimmering Mustard Sequin Georgette Suit Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/2542/7564/files/0H8A1426.jpg?v=1697874844",compare_price:"5999.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-01-11",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_4820fd98-246f-46b7-8af6-be1e949ff0e2.mp4?v=1704973716",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_4820fd98-246f-46b7-8af6-be1e949ff0e2.mp4?v=1704973708",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:58,event_state:"ready",poster_image:null,total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:48,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:24,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/evil-eye-adjustable-ring-gold",client_product_id:"6923301748874",price:"1250.00",currency:"INR",title:"Evil Eye adjustable ring - Gold",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/WhatsAppImage2020-09-21at11.38.01AM_1_700x_c51dd690-b6d8-4059-b3e0-13a2edf3feea.jpg?v=1656673474",compare_price:"1300",product_metadata:null,product_status:"active"},{product_id:23,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/rose-water-200ml",client_product_id:"6923319771274",price:"250.00",currency:"INR",title:"ROSE WATER 200ML",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/RoseWaterFront-01_250x_2x_c4cd34f3-625d-463a-bf36-3b159322b7ed.png?v=1656673764",compare_price:null,product_metadata:null,product_status:"active"},{product_id:21,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/honey-lemon-face-cleanser-200ml-1",client_product_id:"6923307647114",price:"1300.00",currency:"INR",title:"HONEY & LEMON FACE CLEANSER 200ML",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/C5D_9156-01_250x_2x_2f91ab64-e5a4-42f1-baf3-5f3ecffb2b50_1.png?v=1656673584",compare_price:"1340",product_metadata:null,product_status:"active"},{product_id:22,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/honey-lemon-face-cleanser-200ml-1",client_product_id:"6923317051530",price:"350.00",currency:"INR",title:"HONEY AND ROSE BODY CREAM 200ML",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/products/2_250x_2x_47ffd4b3-4100-4afb-b4c8-a09867e40ddb.png?v=1656673726",compare_price:null,product_metadata:null,product_status:"active"}],cta:[{cta_id:73,cta_link:"https://honeyandspice.in/collections/central-indian",client_cta_id:"https://honeyandspice.in/collections/central-indian",cta_title:"Shop Now",thumbnail_image:"",cta_type:""}],title:"BTS of HoneyAndSpice",description:"",brand:"whatmore-dev",scheduled_date:"2023-08-10",status:"upcoming",start_time:"19:00",end_time:"20:00",actual_start_time:null,actual_end_time:null,presenter_name:"Honey and Spice",thumbnail_image:"https://d28nus7q7qajdn.cloudfront.net/videos/whatmore-video-01942fec-68a5-4417-aa28-a0bff121a3ec.mp4",discount_coupon_image:"",event_hls_url:"https://d28nus7q7qajdn.cloudfront.net/videos/whatmore-video-2f0d18e6-a519-4e70-b8b3-529b90a04c28.mp4",presenter_email:null,presenter_phone:"+919888988889",room_id:null,event_type:"video",is_active:!0,rank:59,event_state:"ready",poster_image:null,total_views:13,total_like:0,total_share:0,total_whatsapp:0},{event_id:33888,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:26392,brand:"whatmore-dev",product_link:"https://www.aachho.com/products/shimmering-mustard-sequin-georgette-suit-set",client_product_id:"6981740691522",price:"4199.00",currency:"INR",title:"Shimmering Mustard Sequin Georgette Suit Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/2542/7564/files/0H8A1426.jpg?v=1697874844",compare_price:"5999.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:402,cta_link:"https://custom.com",client_cta_id:"https://custom.com",cta_title:"custom",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-02-26",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_2b78b138-b18f-45e3-b8dc-6ce59075872f.mp4?v=1708937498",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_2b78b138-b18f-45e3-b8dc-6ce59075872f.mp4?v=1708937490",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:60,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2b78b138-b18f-45e3-b8dc-6ce59075872f.webp?v=1708937505",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:33890,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[{product_id:26392,brand:"whatmore-dev",product_link:"https://www.aachho.com/products/shimmering-mustard-sequin-georgette-suit-set",client_product_id:"6981740691522",price:"4199.00",currency:"INR",title:"Shimmering Mustard Sequin Georgette Suit Set",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/2542/7564/files/0H8A1426.jpg?v=1697874844",compare_price:"5999.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:402,cta_link:"https://custom.com",client_cta_id:"https://custom.com",cta_title:"custom",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-02-26",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_08ec5ed2-3aca-4d32-b51e-d3f88123cca8.mp4?v=1708937809",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_08ec5ed2-3aca-4d32-b51e-d3f88123cca8.mp4?v=1708937801",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:61,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_08ec5ed2-3aca-4d32-b51e-d3f88123cca8.webp?v=1708937816",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:33947,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:403,cta_link:"https://test.com",client_cta_id:"https://test.com",cta_title:"test",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-02-26",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_81844dee-68c7-425e-96bf-d3ac63c664e7.mp4?v=1708947355",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_81844dee-68c7-425e-96bf-d3ac63c664e7.mp4?v=1708947347",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:62,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_81844dee-68c7-425e-96bf-d3ac63c664e7.webp?v=1708947362",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:41975,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:482,cta_link:"https://tests.com",client_cta_id:"https://tests.com",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-04-25",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_51411814-cff2-491f-aca3-303e84307049.mp4?v=1714033522",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_51411814-cff2-491f-aca3-303e84307049.mp4?v=1714033514",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:69,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_51411814-cff2-491f-aca3-303e84307049.webp?v=1714033531",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:41976,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:481,cta_link:"https://test1231.com",client_cta_id:"https://test1231.com",cta_title:" ",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-04-25",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_c2a47941-cafb-4765-ac6c-d6414679c6bd.mp4?v=1714033522",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_c2a47941-cafb-4765-ac6c-d6414679c6bd.mp4?v=1714033514",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:70,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_c2a47941-cafb-4765-ac6c-d6414679c6bd.webp?v=1714033530",total_views:0,total_like:0,total_share:0,total_whatsapp:0},{event_id:41977,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,products:[],cta:[{cta_id:403,cta_link:"https://test.com",client_cta_id:"https://test.com",cta_title:"test",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-04-25",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_a0f26d1d-462b-4548-848c-806702cf9c95.mp4?v=1714033522",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_a0f26d1d-462b-4548-848c-806702cf9c95.mp4?v=1714033513",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:71,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_a0f26d1d-462b-4548-848c-806702cf9c95.webp?v=1714033530",total_views:0,total_like:0,total_share:0,total_whatsapp:0}],s=[{event_id:51771,storyset_id:2428,storyset_name:"Jordan 11",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_d717c269-b583-49c1-a824-fbff481d4bcf.webp?v=1717565002",storyset_event_rank:1,storyset_dynamic_thumbnail:!0,products:[{product_id:45352,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/air-jordan-11-retro-low-black-varsity-royal",client_product_id:"8172829409418",price:"150.00",currency:null,title:'Air Jordan 11 Retro Low "Black/Varsity Royal"',description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-jordan-11-retro-low-black-varsity-royal-big-kids-shoes-Fw0r7C_5.webp?v=1717415768",compare_price:"13000.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:981,cta_link:"https://www.youtube.com/watch?v=o8MPzuKa0kk",client_cta_id:"https://www.youtube.com/watch?v=o8MPzuKa0kk",cta_title:"yt video",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-05",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_6179c4ad-b50b-46ec-bea7-c295f194ee65.mp4?v=1717564356",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_6179c4ad-b50b-46ec-bea7-c295f194ee65.mp4?v=1717564349",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!1,rank:58,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_6179c4ad-b50b-46ec-bea7-c295f194ee65.webp?v=1717564363",gif_image:null,total_views:73,total_like:1,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:62737,storyset_id:2428,storyset_name:"Jordan 11",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_d717c269-b583-49c1-a824-fbff481d4bcf.webp?v=1717565002",storyset_event_rank:5,storyset_dynamic_thumbnail:!0,products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-07-18",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2oouab8j9eigo.cloudfront.net/whatmoredev/f4a0bd71-f845-4b7e-b33d-2ef49e8eb7e9.webp",discount_coupon_image:"",event_hls_url:"https://d2oouab8j9eigo.cloudfront.net/whatmoredev/f4a0bd71-f845-4b7e-b33d-2ef49e8eb7e9.webp",presenter_email:null,presenter_phone:"",room_id:null,event_type:"image",is_active:!0,rank:71,event_state:"ready",poster_image:null,gif_image:null,total_views:11,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:51761,storyset_id:2430,storyset_name:"86 OG",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_ed308ae1-2b51-4645-8887-3eb91e132c0f.mp4?v=1724150740",storyset_event_rank:3,storyset_dynamic_thumbnail:!0,products:[{product_id:45596,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/nike-air-max-1-86-og",client_product_id:"8177839865994",price:"160.00",currency:null,title:"Nike Air Max 1 '86 OG",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-max-1-86-og-mens-shoes-gKcnc4_1.jpg?v=1717563099",compare_price:"180.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-05",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_2a1b2831-f396-4ca6-b2af-4e4d2cc8c7af.mp4?v=1724151068",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_8fca9eb3-61f6-43c7-bcb2-8907829984d9.mp4?v=1717564355",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!1,rank:61,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_8fca9eb3-61f6-43c7-bcb2-8907829984d9.webp?v=1717564369",gif_image:null,total_views:38,total_like:1,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:54146,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:1,storyset_dynamic_thumbnail:!0,products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-14",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_f4832882-abae-4211-81b1-864bb4454ec5.mp4?v=1718369029",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_f4832882-abae-4211-81b1-864bb4454ec5.mp4?v=1718369021",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:36,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_f4832882-abae-4211-81b1-864bb4454ec5.webp?v=1718369036",gif_image:null,total_views:58,total_like:2,total_share:1,total_whatsapp:0,in_stock:!0},{event_id:51764,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:2,storyset_dynamic_thumbnail:!0,products:[{product_id:45595,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/nike-air-force-1-07-lv8",client_product_id:"8177876074634",price:"125.00",currency:null,title:"Nike Air Force 1 '07 LV8",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-force-1-07-lv8-mens-shoes-CgLD9b_1.webp?v=1717564002",compare_price:"150.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-05",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_ae3074b5-de26-4ab0-ac18-cfc72dfe8abb.mp4?v=1717564353",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_ae3074b5-de26-4ab0-ac18-cfc72dfe8abb.mp4?v=1717564346",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!1,rank:59,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_ae3074b5-de26-4ab0-ac18-cfc72dfe8abb.webp?v=1717564360",gif_image:null,total_views:10,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:54144,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:3,storyset_dynamic_thumbnail:!0,products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-14",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_b2df1a7d-e4fc-4947-823a-32d905e3dd65.mp4?v=1718369027",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_b2df1a7d-e4fc-4947-823a-32d905e3dd65.mp4?v=1718369020",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:34,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_b2df1a7d-e4fc-4947-823a-32d905e3dd65.webp?v=1718369034",gif_image:null,total_views:13,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:54145,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:4,storyset_dynamic_thumbnail:!0,products:[{product_id:49151,brand:"whatmore-dev",product_link:"https://mymoonstruck.com/products/multi-color-floral-print-front-mid-waist-cut-maxi",client_product_id:"8451541336276",price:"1999.00",currency:"INR",title:"Mid-Waist Cut Maxi Dress with Multi-Color Floral Print",description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0214/9724/9892/files/044A5356.jpg?v=1717840649",compare_price:"3499.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-14",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_2f9f937f-690d-4924-9151-b10e11ef8885.mp4?v=1718369034",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_2f9f937f-690d-4924-9151-b10e11ef8885.mp4?v=1718369026",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:35,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",gif_image:null,total_views:9,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0},{event_id:54143,storyset_id:2429,storyset_name:"Airforce",storyset_thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_2f9f937f-690d-4924-9151-b10e11ef8885.webp?v=1718369042",storyset_event_rank:5,storyset_dynamic_thumbnail:!0,products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-14",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://d2r0bijhs9mx1s.cloudfront.net/whatmoredev/tn_630a1493-8a5a-463d-baa3-e852c9f59eb0.mp4",discount_coupon_image:"",event_hls_url:"https://d1zl4k1t5o4s75.cloudfront.net/whatmoredev/1080p_630a1493-8a5a-463d-baa3-e852c9f59eb0.mp4",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:33,event_state:"ready",poster_image:"https://whatmorelive-brand-image-poster-assets.b-cdn.net/whatmoredev/poster_630a1493-8a5a-463d-baa3-e852c9f59eb0.webp",gif_image:null,total_views:13,total_like:0,total_share:0,total_whatsapp:0,in_stock:!0}],n=[{event_id:53794,title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-13",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_fa2c9012-744f-4ed4-b57f-999e4416d173.mp4?v=1718279110",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_fa2c9012-744f-4ed4-b57f-999e4416d173.mp4?v=1718279102",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:28,event_state:"ready",products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}]},{event_id:53796,title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-13",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_f6a021eb-d66f-4fe6-8344-6d57f0c59bd3.mp4?v=1718279143",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_f6a021eb-d66f-4fe6-8344-6d57f0c59bd3.mp4?v=1718279136",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:30,event_state:"ready",products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}]},{event_id:97566,title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-11-07",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_92d8c48a-f937-4e2e-8cd4-e93b0af583cb.mp4?v=1730968309",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_92d8c48a-f937-4e2e-8cd4-e93b0af583cb.mp4?v=1730968301",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:271,event_state:"ready",products:[],cta:[{cta_id:616,cta_link:"https://whatmore.ai",client_cta_id:"https://whatmore.ai",cta_title:"",thumbnail_image:"",cta_type:""}]}],_=[{event_id:53437,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,storyset_dynamic_thumbnail:!1,products:[{product_id:45352,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/air-jordan-11-retro-low-black-varsity-royal",client_product_id:"8172829409418",price:"150.00",currency:null,title:'Air Jordan 11 Retro Low "Black/Varsity Royal"',description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-jordan-11-retro-low-black-varsity-royal-big-kids-shoes-Fw0r7C_5.webp?v=1717415768",compare_price:"13000.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-12",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_dff713cb-45c9-47bd-b895-284fb57844d7.mp4?v=1718177755",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_dff713cb-45c9-47bd-b895-284fb57844d7.mp4?v=1718177747",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:20,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_dff713cb-45c9-47bd-b895-284fb57844d7.webp?v=1718177762",gif_image:null,total_views:49,total_like:1,total_share:1,total_whatsapp:0,in_stock:!0},{event_id:53412,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,storyset_dynamic_thumbnail:!1,products:[{product_id:45352,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/air-jordan-11-retro-low-black-varsity-royal",client_product_id:"8172829409418",price:"150.00",currency:null,title:'Air Jordan 11 Retro Low "Black/Varsity Royal"',description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-jordan-11-retro-low-black-varsity-royal-big-kids-shoes-Fw0r7C_5.webp?v=1717415768",compare_price:"13000.00",product_metadata:null,product_status:"active"}],cta:[],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-12",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_bedf634b-94eb-4f1b-be9a-cca174a1cbcb.mp4?v=1718176568",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_bedf634b-94eb-4f1b-be9a-cca174a1cbcb.mp4?v=1718176560",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!0,rank:6,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_bedf634b-94eb-4f1b-be9a-cca174a1cbcb.webp?v=1718176574",gif_image:null,total_views:42,total_like:1,total_share:2,total_whatsapp:0,in_stock:!0},{event_id:51771,storyset_id:null,storyset_name:null,storyset_thumbnail_image:null,storyset_event_rank:null,storyset_dynamic_thumbnail:!1,products:[{product_id:45352,brand:"whatmore-dev",product_link:"https://whatmore-dev.myshopify.com/products/air-jordan-11-retro-low-black-varsity-royal",client_product_id:"8172829409418",price:"150.00",currency:null,title:'Air Jordan 11 Retro Low "Black/Varsity Royal"',description:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/air-jordan-11-retro-low-black-varsity-royal-big-kids-shoes-Fw0r7C_5.webp?v=1717415768",compare_price:"13000.00",product_metadata:null,product_status:"active"}],cta:[{cta_id:981,cta_link:"https://www.youtube.com/watch?v=o8MPzuKa0kk",client_cta_id:"https://www.youtube.com/watch?v=o8MPzuKa0kk",cta_title:"yt video",thumbnail_image:"",cta_type:""}],title:"",description:"",brand:"whatmore-dev",scheduled_date:"2024-06-05",status:"upcoming",start_time:"",end_time:"",actual_start_time:null,actual_end_time:null,presenter_name:"",thumbnail_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_tn_6179c4ad-b50b-46ec-bea7-c295f194ee65.mp4?v=1717564356",discount_coupon_image:"",event_hls_url:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_1080p_6179c4ad-b50b-46ec-bea7-c295f194ee65.mp4?v=1717564349",presenter_email:null,presenter_phone:"",room_id:null,event_type:"video",is_active:!1,rank:58,event_state:"ready",poster_image:"https://cdn.shopify.com/s/files/1/0586/6979/3418/files/whatmore_poster_6179c4ad-b50b-46ec-bea7-c295f194ee65.webp?v=1717564363",gif_image:null,total_views:73,total_like:1,total_share:0,total_whatsapp:0,in_stock:!0}]}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[665],{2835:function(t,e,i){var n=i(7891),o=i(8454),r=i(3781),l=i(5830),s=i(4414);e.A=function(t){var e;const i=(0,l.Xd)("whatmoreUITheme"),[a]=(0,l.QN)("whatmoreSecondaryColor"),[d,p]=(0,l.QN)("productRatings"),c=(0,l.Xd)("whatmorePrimaryFont"),h=t.productId,x=t.fontSize,y=null!==(e=t.fontColor)&&void 0!==e?e:"gray";if(null===d||"undefined"==typeof d||!(h in d)||d[h].avgRating>5)return(0,s.jsx)(s.Fragment,{});const f=d[h].avgRating,m=d[h].totalRatings;return(0,s.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center"},children:(0,s.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center",gap:"0px"},children:[[...Array(Math.floor(f))].map(((t,e)=>(0,s.jsx)(n.A,{sx:{color:a,fontSize:x+"px"}},"star-icon"+e))),f-Math.floor(f)>.2?(0,s.jsx)(o.A,{sx:{color:a,fontSize:x+"px"}},"star-half-icon"):f-Math.floor(f)==0?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(r.A,{sx:{color:a,fontSize:x+"px"}},"star-outline-icon"),[...Array(Math.floor(5-f))].map(((t,e)=>(0,s.jsx)(r.A,{sx:{color:a,fontSize:x+"px"}},"star-outline-icon-"+e))),(0,s.jsx)("div",{children:(0,s.jsx)("div",{width:"2px"})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{style:{backgroundColor:a,borderRadius:"round"==i?"2px":"0px",padding:"1px",overflow:"hidden"},children:(0,s.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color","white","important"),t.style.setProperty("font-size",.8*x+"px","important"),t.style.setProperty("font-family",c,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0",f,"\xa0"]})})}),(0,s.jsx)("div",{children:(0,s.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",y,"important"),t.style.setProperty("font-size",.8*x+"px","important"),t.style.setProperty("font-family",c,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0","("+m+")"]})})]})})}},8582:function(t,e,i){i.r(e),i.d(e,{default:function(){return U}});var n=i(9950),o=i(340),r=i(9983),l=i(5873),s=(i(3997),i(9130),i(4669),i(9733),i(4365),i(7229),i(6042),i(572)),a=i(8603),d=i(8378),p=i(9094),c=i(932),h=i(7300),x=i(5491),y=i.n(x),f=i(5830),m=i(7509),u=i(1348),g=i(4737),w=i(7136),v=i(9879),j=i(6649),C=i(3590),b=i(8538),P=i(7458),S=i(2835),k=i(6594),I=i(7973),F=i(8149),A=i(7740),M=i(4414);const L=n.lazy((()=>Promise.all([i.e(437),i.e(181),i.e(650),i.e(939)]).then(i.bind(i,9408))));var _=function(t){var e,i,o,r;const l=(0,f.QN)("whatmoreUITheme");var[s,a]=(0,c.A)();const[d]=(0,f.QN)("whatmorePrimaryFont"),[p]=(0,f.QN)("whatmoreSecondaryColorShade900"),[h]=(0,f.QN)("whatmoreShopId"),[x,y]=(0,n.useState)(0),[m,w]=(0,n.useState)(t.event),[v,j]=(0,n.useState)(),[C,_]=(0,n.useState)(!1),O=t.onClick,R=m.products.length,{whatmoreIsPreviewMode:z}=(0,n.useContext)(g.B);if(0==R)return(0,M.jsx)(M.Fragment,{});(0,n.useEffect)((()=>{(0,u.w4b)(h)&&(0,k.fu)(m,(0,u.NCy)(h),h).then((t=>{w(t),_(!0)}));(async()=>{var t;const e=await(0,F.M)(null===m||void 0===m||null===(t=m.products)||void 0===t?void 0:t[0],(0,u.NCy)(h),h);j(e),_(!0)})()}),[]);const T=z,N=.3*a,B=N+"px",W=N+"px",X=.05*a*(0,u.PpQ)(h)+"px",E=.07*a*(0,u.y3u)(h),H=E+"px",U=.05*a;return(0,M.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-around",alignItems:"center",marginTop:"2px",marginBottom:"2px",gap:"0px"},children:[(0,M.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",width:.95*a,height:"fit-content",paddingLeft:"4px",paddingRight:"4px",justifyContent:"space-between",alignItems:"center",gap:"4px"},className:"whatmore-event-tile-product-scale-in-and-out-animation",onClick:O,children:[(0,M.jsx)("div",{style:{width:B,height:W,overflow:"hidden",backgroundColor:"28062416930"===h?void 0:p,borderRadius:"round"==l?"5px":"0px",borderWidth:"0px"==(0,u.YcK)(h)?"2px":(0,u.YcK)(h),borderColor:"28062416930"===h?"white":"white"===(0,u.Fwt)(h)?p:(0,u.Fwt)(h)},children:"28062416930"!==h&&(0,M.jsx)("img",{ref:t=>{t&&t.style.setProperty("object-fit",(0,u.KZe)(h),"important")},src:(0,I.b)(m.products[x].thumbnail_image,"&width=400&height=400"),style:{width:B,height:B,borderRadius:"round"==l?"5px":"0px",backgroundColor:p},alt:"product image"})}),(0,M.jsx)("div",{style:{width:.7*a+"px",height:"100%",overflow:"visible",marginBottom:"2px",marginRight:"28062416930"===h?"18px":"2px",borderRadius:"round"==l?"5px":"0px"},children:(0,M.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"center",alignItems:"center",paddingTop:"5px"},children:[(0,M.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",width:"100%",height:"fit-content",justifyContent:"28062416930"===h?"center":"flex-start",alignItems:"center"},children:(0,M.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","black","important"),t.style.setProperty("font-size","28062416930"===h?"80%":X,"important"),t.style.setProperty("line-height","28062416930"===h?"170%":"140%","important"),t.style.setProperty("font-family",d,"important"),"28062416930"===h?(t.style.setProperty("white-space","nowrap","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"),t.style.setProperty("text-align","center","important"),t.style.setProperty("display","block","important")):(t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important")))},style:{textAlign:"28062416930"===h?"center":"left",fontWeight:"medium"},children:(0,b.v)("56411783377"===h?m.products[x].title.split("|")[0].trim():m.products[x].title)})}),(0,M.jsxs)("div",{className:"wht-price-tb",style:{display:"flex",flexFlow:(0,u.vw2)(h)?"row nowrap":"row-reverse nowrap",width:"100%",height:"fit-content",justifyContent:"28062416930"===h?"center":(0,u.vw2)(h)?"flex-start":"flex-end",alignItems:"center",gap:"4px"},children:[C&&(0,M.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,u.uoB)(h),"important"),t.style.setProperty("font-size",H,"important"),t.style.setProperty("line-height","28062416930"===h?"160%":"140%","important"),t.style.setProperty("font-family",d,"important"),t.style.setProperty("font-weight","28062416930"===h?"bold":void 0,"important"))},style:{textAlign:"28062416930"===h?"center":"left",fontWeight:"medium",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:1,overflow:"hidden",textOverflow:"ellipsis"},children:[" ",(0,k.Sb)(parseFloat((0,A.U)()?null===v||void 0===v?void 0:v.price:null===m||void 0===m||null===(e=m.products)||void 0===e||null===(i=e[0])||void 0===i?void 0:i.price),"",h,m.products[x].currency)]}),(0,P.P)(m.products[x].price,m.products[x].compare_price)&&C?(0,M.jsxs)("strike",{ref:t=>{t&&(t.style.setProperty("color",(0,u.gld)(h),"important"),t.style.setProperty("font-size",.9*E+"px","important"),t.style.setProperty("line-height","140%","important"),t.style.setProperty("font-family",d,"important"),t.style.setProperty("text-decoration","line-through","important"))},style:{textAlign:"28062416930"===h?"center":"left",fontWeight:"medium",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:1,overflow:"hidden",textOverflow:"ellipsis"},children:[" ",(0,k.Sb)(parseFloat((0,A.U)()?null===v||void 0===v?void 0:v.compare_at_price:null===m||void 0===m||null===(o=m.products)||void 0===o||null===(r=o[0])||void 0===r?void 0:r.compare_price),"",h,m.products[x].currency)]}):(0,M.jsx)(M.Fragment,{})]}),(0,M.jsx)(S.A,{storeId:h,productId:m.products[x].client_product_id,productLink:m.products[x].product_link,fontSize:U}),"28062416930"===h&&(0,M.jsx)("button",{onClick:O,onMouseEnter:t=>t.target.style.backgroundColor="#555",onMouseLeave:t=>t.target.style.backgroundColor="black",style:{padding:"2px 5px 2px 5px",backgroundColor:"black",color:"#fff",border:"none",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textAlign:"center"},children:"Buy Now"})]})})]},x),(0,u.nP1)(h)||T&&"5141594210"==h?(0,M.jsx)(n.Suspense,{children:(0,M.jsx)(L,{baseFontSize:.05*a,event:m,product:m.products[0],width:.9*a,height:"fit-content"})}):(0,M.jsx)(M.Fragment,{})]})},O=i(7802);var R=t=>{let{width:e=30,height:i=30}=t;return(0,M.jsxs)("svg",{width:e,height:i,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,M.jsx)("rect",{width:"30",height:"30",rx:"15",fill:"white"}),(0,M.jsx)("g",{clipPath:"url(#clip0_1_19)",children:(0,M.jsx)("path",{d:"M16.942 9.3568C16.8684 9.32095 16.7862 9.30645 16.7048 9.31496C16.6234 9.32347 16.5461 9.35464 16.4815 9.40493L12.6621 12.375H10.1875C9.95544 12.375 9.73288 12.4672 9.56878 12.6313C9.40469 12.7954 9.3125 13.0179 9.3125 13.25V16.75C9.3125 16.9821 9.40469 17.2046 9.56878 17.3687C9.73288 17.5328 9.95544 17.625 10.1875 17.625H12.6621L16.4815 20.5951C16.5461 20.6453 16.6235 20.6764 16.705 20.6849C16.7864 20.6933 16.8686 20.6787 16.9421 20.6427C17.0157 20.6068 17.0777 20.5509 17.121 20.4815C17.1644 20.4121 17.1874 20.3319 17.1875 20.25V9.75C17.1875 9.66804 17.1645 9.58773 17.1211 9.51821C17.0777 9.44869 17.0156 9.39276 16.942 9.3568ZM16.3125 19.3553L13.081 16.8424C13.0044 16.7824 12.9098 16.7498 12.8125 16.75H10.1875V13.25H12.8125C12.9098 13.2502 13.0044 13.2176 13.081 13.1576L16.3125 10.6447V19.3553ZM21.872 16.003C21.9541 16.0851 22.0002 16.1964 22.0002 16.3125C22.0002 16.4286 21.9541 16.5399 21.872 16.622C21.7899 16.7041 21.6786 16.7502 21.5625 16.7502C21.4464 16.7502 21.3351 16.7041 21.253 16.622L20.25 15.6185L19.247 16.622C19.1649 16.7041 19.0536 16.7502 18.9375 16.7502C18.8214 16.7502 18.7101 16.7041 18.628 16.622C18.5459 16.5399 18.4998 16.4286 18.4998 16.3125C18.4998 16.1964 18.5459 16.0851 18.628 16.003L19.6315 15L18.628 13.997C18.5459 13.9149 18.4998 13.8036 18.4998 13.6875C18.4998 13.5714 18.5459 13.4601 18.628 13.378C18.7101 13.2959 18.8214 13.2498 18.9375 13.2498C19.0536 13.2498 19.1649 13.2959 19.247 13.378L20.25 14.3815L21.253 13.378C21.3351 13.2959 21.4464 13.2498 21.5625 13.2498C21.6786 13.2498 21.7899 13.2959 21.872 13.378C21.9541 13.4601 22.0002 13.5714 22.0002 13.6875C22.0002 13.8036 21.9541 13.9149 21.872 13.997L20.8685 15L21.872 16.003Z",fill:"#1A1A1A"})}),(0,M.jsx)("defs",{children:(0,M.jsx)("clipPath",{id:"clip0_1_19",children:(0,M.jsx)("rect",{width:"14",height:"14",fill:"white",transform:"translate(8 8)"})})})]})};function z(t){const[e,i,n,o,r]=(0,c.A)(),l=(0,f.Xd)("whatmoreUITheme"),s=(0,f.Xd)("whatmoreShowViews"),a=(0,f.Xd)("whatmoreShopId"),d=t.PRODUCT_BOX_HEIGHT,p=t.PRODUCT_BOX_HEIGHT_IN_PX,h=t.PRODUCT_BOX_MARGIN,[x,y,m]=(0,j.A)({triggerOnce:!0}),g=t.event;t.isOnFocus;return(0,M.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,M.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-between",alignItems:"center"},children:[(0,M.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-start",alignItems:"center",width:"100%"},onClick:()=>{t.onClick(g)},children:["56411783377"===a&&(0,M.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginTop:"10px"},children:(0,M.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center",filter:"drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.2))"},children:(0,M.jsx)(R,{width:.15*i,height:.15*i})})}),"show"===s?(0,M.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px"},children:(0,M.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center"},children:(0,M.jsx)(C.A,{event:g,fontSize:.07*i+"px"})})}):(0,M.jsx)(M.Fragment,{})]}),(0,M.jsx)("div",{style:{display:"flex",width:"100%",height:e-d+"px"},onClick:()=>{t.onClick(g)}}),(0,O.Hl)(g,a)?(0,M.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"28062416930"===a?void 0:h+"px",display:"flex",flexFlow:"column nowrap",justifyContent:"center",alignItems:"center",width:"28062416930"===a?"110%":.95*i,height:"28062416930"===a?"20%":p,marginLeft:h+"px",marginRight:h+"px",backgroundColor:"white",borderRadius:"round"==l?"5px":"0px",borderWidth:(0,u.YcK)(a),borderColor:(0,u.Fwt)(a),paddingLeft:"5px",paddingRight:"5px",overflow:"hidden"},children:(0,M.jsx)("div",{ref:x,children:y&&(0,u.imx)(a)?(0,M.jsx)(_,{event:g,onClick:()=>{var e,i;(0,u.gq8)(a)?window.location.href=(i=null===(e=g.products)||void 0===e?void 0:e[0],(0,u.BLb)(a)?i.product_link+"?"+(0,u.VCz)(a)+"&"+(0,u.Spk)(a)+"&"+(0,u.$lz)(a):i.product_link):t.onClick(g)}}):(0,M.jsx)("div",{height:"20px"})})}):(0,M.jsx)(M.Fragment,{})]})})}var T=function(t){var e,i,o;const[r,l,s,a,d]=(0,c.A)();var p=(0,n.useContext)(m.h);const h=(0,f.Xd)("whatmoreUITheme"),x=(0,f.Xd)("whatmoreShopId"),y=(0,f.Xd)("whatmoreSecondaryColorShade600"),g=t.event,w=t.onClick,j=null===(e=t.isOnFocus)||void 0===e||e,C=null!==(i=t.playOnUnfocus)&&void 0!==i&&i,b=null!==(o=t.animateOnFocus&&(0,u.n5O)(x))&&void 0!==o&&o,P=(0,u.nP1)(x)?.7:.8,S=r*P+"px",k=1-P,I=r*k,F=r*k+"px",A=r*k*.1,L=(0,u.VYo)(x);return(0,M.jsxs)("div",{ref:t=>{t&&(t.style.setProperty("margin-top",p.tileTopMargin+"px","important"),t.style.setProperty("margin-bottom",p.tileBottomMMargin+"px","important"))},style:{margin:"0 auto",width:l+"px",height:1.2*r+"px",borderRadius:"round"==h?"5px":"0px",boxShadow:"28062416930"===x?void 0:"round"===h?L:null,borderWidth:(0,u.YcK)(x),borderColor:(0,u.Fwt)(x),overflow:"hidden",cursor:"pointer",position:"relative"},className:b?j?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",children:[(0,M.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"flex-start",alignItems:"center"},className:"whatmore-template-b-event-tile",onClick:()=>{w(g)},children:[(0,M.jsx)(v.A,{height:S,width:"100%",url:g.thumbnail_image,isPlaying:j||C,event:g}),(0,u.Q$)(x)&&(0,O.Hl)(g,x)&&"56411783377"!==x?(0,M.jsx)("div",{style:{width:"100%",height:F,backgroundColor:y}}):(0,M.jsx)(M.Fragment,{})]}),(0,u.Q$)(x)&&(0,M.jsx)(z,{event:g,isOnFocus:j,PRODUCT_BOX_HEIGHT:I,PRODUCT_BOX_HEIGHT_IN_PX:F,PRODUCT_BOX_MARGIN:A,onClick:w})]})},N=i(6157),B=i(1351),W=i(6641);const X=(0,a.A)({key:"whatmore-css-hv"});function E(t){const[e,i,o]=(0,h.A)(),[r,l,s]=(0,c.A)(),a=(0,f.Xd)("whatmoreShopId"),p=t.events,x=t.onClick,y=s*(0,u.kcl)(a),m=(0,u.cbh)(a),[w,v]=(0,n.useState)(Math.min(p.length,m?p.length:y+5)),{whatmoreWidgetSourceDetails:j}=(0,n.useContext)(g.B);return(0,n.useEffect)((()=>{w<y+5&&v((t=>Math.min(t+5,p.length)))}),[y,5]),(0,M.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,M.jsx)("div",{style:{width:0==o?window.innerWidth:o,height:"fit-content"},children:(0,M.jsx)(d.RC,{slidesPerView:p.length>1?y:1,initialSlide:"25075712047"===a?0:p.length>1?1:0,centeredSlides:"25075712047"!==a,centeredSlidesBounds:!1,watchSlidesProgress:!0,touchRatio:.5,onSlideChange:t=>{(0,B.UM)({userInteractionType:N.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:j}),t.realIndex>t.previousIndex&&v((t=>Math.min(t+5,p.length)))},loop:(0,u.cbh)(a),children:p.map(((t,e)=>e<=w&&(0,M.jsx)(d.qr,{children:e=>{let{isActive:i,isPrev:n,isNext:o,isVisible:r}=e;return(0,M.jsx)(T,{isOnFocus:i&&r,playOnUnfocus:!1,animateOnFocus:!0,event:t,onClick:()=>{x(t)}})}},"whatmore-event-tile-portrait-"+t.index)))})})})}function H(t){const[e,i,o,r]=(0,c.A)(),[l,s]=(0,n.useState)(-1),a=(0,f.Xd)("whatmoreShopId"),h=t.onClick,x=t.events,m=(0,u.cbh)(a),[v,j]=(0,n.useState)(m?x.length:o),C=Math.min(o,x.length),{whatmoreWidgetSourceDetails:b}=(0,n.useContext)(g.B);return(0,n.useEffect)((()=>{v<=o&&j((t=>t+o))}),[o]),(0,M.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",paddingLeft:r+"px",paddingRight:r+"px"},children:(0,M.jsx)("div",{style:{width:i*C*1.1+"px"},children:(0,M.jsx)(d.RC,{slidesPerView:C,watchSlidesProgress:!0,modules:[p.Vx],navigation:!0,slidesPerGroup:parseInt(C),onSlideChange:t=>{(0,B.UM)({userInteractionType:N.O.HOMEPAGE_CAROUSEL_SWIPED,widgetSourceDetails:b}),t.realIndex>t.previousIndex&&j((t=>t+o))},spaceBetween:(0,u.If9)(a),loop:(0,u.cbh)(a),children:x.map(((t,e)=>{const i=y()((()=>s(e)),300);return e<=v&&(0,M.jsx)(d.qr,{onMouseEnter:()=>{i()},onMouseLeave:()=>{i.cancel(),s(-1)},children:i=>{let{isActive:n,isPrev:o,isNext:r,isVisible:s}=i;return s?(0,M.jsx)(T,{isOnFocus:e==l,playOnUnfocus:!(0,u.aO7)(a)||e==parseInt(C/2)&&-1==l,animateOnFocus:!0,event:t,onClick:()=>{h(t)}}):(0,M.jsx)(w.A,{})}},"whatmore-event-tile-landscape-"+t.index)}))})})})}var U=function(t){const[e,i,a]=(0,h.A)(),[d]=(0,f.QN)("whatmorePrimaryColor"),[p]=(0,f.QN)("whatmoreShopId"),[c]=(0,f.QN)("whatmoreSecondaryColor"),[x]=(0,f.QN)("whatmoreTitleFont"),y="portrait"==e?(0,f.Xd)("whatmoreTitleFontSizePortrait"):(0,f.Xd)("whatmoreTitleFontSize"),{whatmoreRootId:u}=(0,n.useContext)(g.B),w=((0,f.Xd)("isInDesignMode"),t.events),v=t.onClick,j=x,C=(0,f.Xd)("whatmoreCollectionHeading"),{whatmoreIsCollectionsTemplate:b}=(0,n.useContext)(g.B);function P(t){v(t)}function S(t){const e=t.indexOf(" ",t.indexOf(" ")+1);return-1===e?[t,""]:[t.substring(0,e),t.substring(e)]}return(0,n.useEffect)((()=>{(0,W.Fk)("Video shopping powered by Whatmore!")}),[]),(0,n.useEffect)((()=>{l.Sn.forEach((t=>{var e;const i=null!==(e=t.querySelector('.whatmore-template-type[data-wh="template-b"]'))&&void 0!==e?e:t.querySelector('.whatmore-template-type[data="template-b"]');if(!i)return;i&&t&&(t.style.minHeight="0px")}))}),[]),delete r.Ay.styles.global,(0,M.jsx)(s.C,{value:X,children:(0,M.jsx)("div",{className:"whatmore-carousel-events",children:(0,M.jsx)(o.s,{theme:r.Ay,cssVarsRoot:u,resetCSS:!1,children:(0,M.jsxs)(m.h.Provider,{value:{tileTopMargin:25,tileBottomMMargin:25,tileLeftMargin:4,tileRightMargin:4,showPlayButton:!1},children:["10588815418"!==p&&"2310668401"!==p&&"10648977444"!==p&&(t.heading.trim().length>0||b)?(0,M.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:(0,M.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family",j,"important"),t.style.setProperty("font-size",y+"px","important"))},style:{color:d,backgroundClip:"text",textAlign:"center"},children:b?"W"!==C?C:"":t.heading})}):(0,M.jsx)(M.Fragment,{}),"10588815418"==p||"2310668401"==p||"10648977444"==p?(0,M.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"left"},children:(0,M.jsxs)("div",{style:{display:"flex",gap:"4px"},children:[(0,M.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family",j,"important"),t.style.setProperty("font-size",y+"px","important"))},style:{color:d,backgroundClip:"text",textAlign:"center",fontStyle:"normal"},children:b?"W"!==C?C:"":S(t.heading)[0]}),(0,M.jsx)("p",{ref:t=>{t&&(t.style.setProperty("font-family","Austin Text SemiBold Trial","important"),t.style.setProperty("font-size",y+"px","important"))},style:{color:d,backgroundClip:"text",textAlign:"center"},children:b?"W"!==C?C:"":S(t.heading)[1]})]})}):(0,M.jsx)(M.Fragment,{}),"landscape"===e?(0,M.jsx)(H,{events:w,onClick:P}):(0,M.jsx)(E,{events:w,onClick:P})]})})})})}},3590:function(t,e,i){var n=i(2375),o=i(1348),r=i(5830),l=i(4414);function s(t){return t<1e3?t:t<1e5?(t/1e3).toFixed(0)+"K":(t/1e5).toFixed(0)+"L"}e.A=function(t){const e=(0,r.Xd)("whatmoreUITheme"),i=(0,r.Xd)("whatmoreShopId"),a=(0,r.Xd)("whatmorePrimaryFont"),d=t.event,p=t.fontSize;if(d.total_views<=0)return(0,l.jsx)(l.Fragment,{});const c=(0,o.FVo)(i);return"template-icon"==c?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,o.sIk)(i),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,o.YcK)(i),borderColor:(0,o.Fwt)(i)},children:(0,l.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:[(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)(n.A,{sx:{color:(0,o.s0t)(i)+" !important",fontSize:p,fontWeight:"normal"}})}),(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,o.s0t)(i),"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",a,"important"),t.style.setProperty("font-size",p,"important"),t.style.setProperty("min-height","0","important"),t.style.setProperty("display","inline","important"),t.style.setProperty("width","auto","important"))},style:{fontWeight:"normal"},children:" "+s(d.total_views)+" "})})]})})}):"template-text"==c?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,o.sIk)(i),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,o.YcK)(i),borderColor:(0,o.Fwt)(i)},children:(0,l.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,o.s0t)(i),"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",a,"important"))},style:{fontSize:p,fontWeight:"bold"},children:" "+s(d.total_views)+" views"})})})})}):void 0}},7509:function(t,e,i){i.d(e,{h:function(){return n}});const n=(0,i(9950).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},7136:function(t,e,i){var n=i(9950),o=i(932),r=i(7509),l=i(5830),s=i(4414);e.A=function(t){var[e,i]=(0,o.A)();(0,n.useContext)(r.h);const a=(0,l.Xd)("whatmoreShopId");return t.event,(0,s.jsx)("div",{style:{margin:"0 auto",width:"8968077397"==a?void 0:i,aspectRatio:"8968077397"==a?9/16:void 0,height:"8968077397"==a?"100%":e,overflow:"hidden"}})}},7973:function(t,e,i){i.d(e,{B:function(){return l},b:function(){return r}});var n=i(1348),o=i(5830);function r(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const i=(0,o.Xd)("whatmoreShopId");return"shopify"!=(0,n.NCy)(i)?"STRNV8MHJTF"==i?t+"?format=webp":t:t+e}function l(t){var e;if(null!==t&&void 0!==t&&t.includes("https://w-media.b-cdn.net/process-media"))return"image";const i=null===t||void 0===t||null===(e=t.trim())||void 0===e?void 0:e.split("?")[0],n=/\.(jpeg|jpg|gif|png|svg|webp)$/i,o=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==n&&void 0!==n&&n.test(i)?"image":null!==o&&void 0!==o&&o.test(i)?"video":void 0}},7458:function(t,e,i){i.d(e,{P:function(){return n}});const n=function(t,e){return!(isNaN(e)||!e||("string"===typeof e||e instanceof String)&&!e.trim().length)&&!(parseInt(e)<=parseInt(t))}},7891:function(t,e,i){var n=i(4994);e.A=void 0;var o=n(i(9526)),r=i(4414);e.A=(0,o.default)((0,r.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star")},8454:function(t,e,i){var n=i(4994);e.A=void 0;var o=n(i(9526)),r=i(4414);e.A=(0,o.default)((0,r.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarHalf")},3781:function(t,e,i){var n=i(4994);e.A=void 0;var o=n(i(9526)),r=i(4414);e.A=(0,o.default)((0,r.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarOutline")},2375:function(t,e,i){var n=i(4994);e.A=void 0;var o=n(i(9526)),r=i(4414);e.A=(0,o.default)((0,r.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility")},7229:function(){},4669:function(){},6042:function(){},9130:function(){}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[592],{2835:function(t,e,n){var r=n(7891),o=n(8454),i=n(3781),l=n(5830),s=n(4414);e.A=function(t){var e;const n=(0,l.Xd)("whatmoreUITheme"),[a]=(0,l.QN)("whatmoreSecondaryColor"),[p,u]=(0,l.QN)("productRatings"),f=(0,l.Xd)("whatmorePrimaryFont"),c=t.productId,d=t.fontSize,v=null!==(e=t.fontColor)&&void 0!==e?e:"gray";if(null===p||"undefined"==typeof p||!(c in p)||p[c].avgRating>5)return(0,s.jsx)(s.Fragment,{});const y=p[c].avgRating,m=p[c].totalRatings;return(0,s.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center"},children:(0,s.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center",gap:"0px"},children:[[...Array(Math.floor(y))].map(((t,e)=>(0,s.jsx)(r.A,{sx:{color:a,fontSize:d+"px"}},"star-icon"+e))),y-Math.floor(y)>.2?(0,s.jsx)(o.A,{sx:{color:a,fontSize:d+"px"}},"star-half-icon"):y-Math.floor(y)==0?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(i.A,{sx:{color:a,fontSize:d+"px"}},"star-outline-icon"),[...Array(Math.floor(5-y))].map(((t,e)=>(0,s.jsx)(i.A,{sx:{color:a,fontSize:d+"px"}},"star-outline-icon-"+e))),(0,s.jsx)("div",{children:(0,s.jsx)("div",{width:"2px"})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{style:{backgroundColor:a,borderRadius:"round"==n?"2px":"0px",padding:"1px",overflow:"hidden"},children:(0,s.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color","white","important"),t.style.setProperty("font-size",.8*d+"px","important"),t.style.setProperty("font-family",f,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0",y,"\xa0"]})})}),(0,s.jsx)("div",{children:(0,s.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",v,"important"),t.style.setProperty("font-size",.8*d+"px","important"),t.style.setProperty("font-family",f,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0","("+m+")"]})})]})})}},7802:function(t,e,n){n.d(e,{Hl:function(){return o},Np:function(){return l},Po:function(){return s},Z_:function(){return r},zJ:function(){return i}});const r=function(t,e){return!((void 0==t.products||0==t.products.length)&&(void 0==t.cta||0==t.cta.length))},o=function(t,e){return!(void 0==t.products||0==t.products.length)},i=function(t,e){if(null!=t)return t},l=function(t){if(null!=t)return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?t.events[0].events:t.events};const s=function(t,e){var n;if(null==t)return[];if(!("eventsets"in t))return[];const r=null!==(n=t.eventsets[e])&&void 0!==n?n:null;return r?function(t){if(null==t||0==t.length)return[];let e=[];return t.forEach((t=>{t.events.forEach((t=>{e.push(t)}))})),e}(r):[]}},7973:function(t,e,n){n.d(e,{B:function(){return l},b:function(){return i}});var r=n(1348),o=n(5830);function i(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=(0,o.Xd)("whatmoreShopId");return"shopify"!=(0,r.NCy)(n)?"STRNV8MHJTF"==n?t+"?format=webp":t:t+e}function l(t){var e;if(null!==t&&void 0!==t&&t.includes("https://w-media.b-cdn.net/process-media"))return"image";const n=null===t||void 0===t||null===(e=t.trim())||void 0===e?void 0:e.split("?")[0],r=/\.(jpeg|jpg|gif|png|svg|webp)$/i,o=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==r&&void 0!==r&&r.test(n)?"image":null!==o&&void 0!==o&&o.test(n)?"video":void 0}},7458:function(t,e,n){n.d(e,{P:function(){return r}});const r=function(t,e){return!(isNaN(e)||!e||("string"===typeof e||e instanceof String)&&!e.trim().length)&&!(parseInt(e)<=parseInt(t))}},7891:function(t,e,n){var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star")},8454:function(t,e,n){var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarHalf")},3781:function(t,e,n){var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarOutline")},7229:function(){},4669:function(){},6042:function(){},9130:function(){}}]);
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[592],{2835:function(t,e,n){var r=n(7891),o=n(8454),i=n(3781),l=n(5830),s=n(4414);e.A=function(t){var e;const n=(0,l.Xd)("whatmoreUITheme"),[a]=(0,l.QN)("whatmoreSecondaryColor"),[p,f]=(0,l.QN)("productRatings"),u=(0,l.Xd)("whatmorePrimaryFont"),c=t.productId,d=t.fontSize,v=null!==(e=t.fontColor)&&void 0!==e?e:"gray";if(null===p||"undefined"==typeof p||!(c in p)||p[c].avgRating>5)return(0,s.jsx)(s.Fragment,{});const y=p[c].avgRating,m=p[c].totalRatings;return(0,s.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center"},children:(0,s.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",width:"100%",height:"fit-content",justifyContent:"flex-start",alignItems:"center",gap:"0px"},children:[[...Array(Math.floor(y))].map(((t,e)=>(0,s.jsx)(r.A,{sx:{color:a,fontSize:d+"px"}},"star-icon"+e))),y-Math.floor(y)>.2?(0,s.jsx)(o.A,{sx:{color:a,fontSize:d+"px"}},"star-half-icon"):y-Math.floor(y)==0?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(i.A,{sx:{color:a,fontSize:d+"px"}},"star-outline-icon"),[...Array(Math.floor(5-y))].map(((t,e)=>(0,s.jsx)(i.A,{sx:{color:a,fontSize:d+"px"}},"star-outline-icon-"+e))),(0,s.jsx)("div",{children:(0,s.jsx)("div",{width:"2px"})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{style:{backgroundColor:a,borderRadius:"round"==n?"2px":"0px",padding:"1px",overflow:"hidden"},children:(0,s.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color","white","important"),t.style.setProperty("font-size",.8*d+"px","important"),t.style.setProperty("font-family",u,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0",y,"\xa0"]})})}),(0,s.jsx)("div",{children:(0,s.jsxs)("p",{ref:t=>{t&&(t.style.setProperty("color",v,"important"),t.style.setProperty("font-size",.8*d+"px","important"),t.style.setProperty("font-family",u,"important"),t.style.setProperty("-webkit-line-clamp",2,"important"),t.style.setProperty("line-clamp",2,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"medium"},children:["\xa0","("+m+")"]})})]})})}},7802:function(t,e,n){n.d(e,{Hl:function(){return o},Np:function(){return l},Po:function(){return s},Z_:function(){return r},zJ:function(){return i}});const r=function(t,e){return!((void 0==t.products||0==t.products.length)&&(void 0==t.cta||0==t.cta.length))},o=function(t,e){return!(void 0==t.products||0==t.products.length)},i=function(t,e){if(null!=t)return t},l=function(t){if(null!=t)return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?t.events[0].events:t.events};const s=function(t,e){let n=[];if(null==t)return[];if("eventsets"in t&&t.eventsets[e]){const r=function(t){if(null==t||0==t.length)return[];let e=[];return t.forEach((t=>{t.events.forEach((t=>{e.push(t)}))})),e}(t.eventsets[e]);n=[...r]}return"all_events"in t&&Array.isArray(t.all_events)&&(n=[...n,...t.all_events]),n}},7973:function(t,e,n){n.d(e,{B:function(){return l},b:function(){return i}});var r=n(1348),o=n(5830);function i(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=(0,o.Xd)("whatmoreShopId");return"shopify"!=(0,r.NCy)(n)?"STRNV8MHJTF"==n?t+"?format=webp":t:t+e}function l(t){var e;if(null!==t&&void 0!==t&&t.includes("https://w-media.b-cdn.net/process-media"))return"image";const n=null===t||void 0===t||null===(e=t.trim())||void 0===e?void 0:e.split("?")[0],r=/\.(jpeg|jpg|gif|png|svg|webp)$/i,o=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==r&&void 0!==r&&r.test(n)?"image":null!==o&&void 0!==o&&o.test(n)?"video":void 0}},7458:function(t,e,n){n.d(e,{P:function(){return r}});const r=function(t,e){return!(isNaN(e)||!e||("string"===typeof e||e instanceof String)&&!e.trim().length)&&!(parseInt(e)<=parseInt(t))}},7891:function(t,e,n){var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star")},8454:function(t,e,n){var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarHalf")},3781:function(t,e,n){var r=n(4994);e.A=void 0;var o=r(n(9526)),i=n(4414);e.A=(0,o.default)((0,i.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarOutline")},7229:function(){},4669:function(){},6042:function(){},9130:function(){}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[760],{8289:function(e,t,n){n.r(t),n.d(t,{default:function(){return K}});var i=n(5830),o=n(9950),a=n(964),r=n(140),l=n(1348),s=n(4533),d=n(6613),c=n(1085),u=n(3330),h=n(852),m=n(4737),p=n(2039),v=n(4833),g=n(2979),S=n(6157),_=n(5100),y=n(8945),w=n(9821),f=n(4414);const I=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(296),n.e(987),n.e(669),n.e(665)]).then(n.bind(n,7206)))),x=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(437),n.e(296),n.e(620),n.e(116)]).then(n.bind(n,7144)))),E=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(879),n.e(296),n.e(987),n.e(180),n.e(423)]).then(n.bind(n,517)))),O=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(879),n.e(296),n.e(987),n.e(180),n.e(412)]).then(n.bind(n,7646)))),T=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(879),n.e(296),n.e(987),n.e(180),n.e(221)]).then(n.bind(n,5451)))),C=o.lazy((()=>Promise.all([n.e(572),n.e(491)]).then(n.bind(n,3319)))),j=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(437),n.e(181),n.e(987),n.e(669),n.e(650),n.e(956)]).then(n.bind(n,8650)))),L=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(296),n.e(987),n.e(669),n.e(620),n.e(474)]).then(n.bind(n,6945)))),D=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(296),n.e(669),n.e(485)]).then(n.bind(n,9418)))),b=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(296),n.e(987),n.e(676)]).then(n.bind(n,3369)))),q=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(296),n.e(987),n.e(669),n.e(891)]).then(n.bind(n,7178)))),N=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(437),n.e(296),n.e(669),n.e(620),n.e(933)]).then(n.bind(n,6989)))),P=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(437),n.e(181),n.e(987),n.e(669),n.e(650),n.e(806)]).then(n.bind(n,3278)))),k=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(879),n.e(296),n.e(987),n.e(1)]).then(n.bind(n,4596))));var W=function(e){const[t]=(0,i.QN)("isInDesignMode"),[n]=(0,i.QN)("isDemoBrand"),[W]=(0,i.QN)("whatmoreTopBottomPadding"),[A]=(0,i.QN)("whatmoreStoriesTopBottomPadding"),{whatmoreIsStoriesTemplate:F}=(0,o.useContext)(m.B),[$]=(0,i.QN)("whatmoreShopId"),{whatmoreEventsBrowsingTemplate:M}=(0,o.useContext)(m.B),B=(0,i.Xd)("isLandingSharedLink"),V=(0,i.Xd)("whatmoreShareTemplateId"),G=(0,i.Xd)("whatmoreShareStoryId"),R=(0,i.Xd)("whatmoreShareEventId"),{whatmoreWidgetSourceDetails:z,whatmoreUserInfo:K}=(0,o.useContext)(m.B),H=B&&M===(0,v.Mm)(V),[J,Q]=(0,o.useState)(H),[X,U]=(0,o.useState)(-1),[Y,Z]=(0,o.useState)(null);let ee=e.events,te=null===e||void 0===e?void 0:e.allEvents,ne=[],ie=[];if("template-banner-a"!==M){let e=0;for(let t=0;t<(null===ee||void 0===ee?void 0:ee.length);t++){var oe,ae;((0,p.ij)(ee[t])||(0,p.Il)(ee[t]))&&(null===(oe=null===(ae=ee[t])||void 0===ae?void 0:ae.in_stock)||void 0===oe||oe||(0,l.xku)($))&&(ne.push({...null===ee||void 0===ee?void 0:ee[t],index:e}),e++)}for(let t=0;t<(null===te||void 0===te?void 0:te.length);t++){var re,le;!(0,p.ij)(null===te||void 0===te?void 0:te[t])&&!(0,p.Il)(null===te||void 0===te?void 0:te[t])||null!==(re=null===te||void 0===te||null===(le=te[t])||void 0===le?void 0:le.in_stock)&&void 0!==re&&!re||(ie.push({...null===te||void 0===te?void 0:te[t],index:e}),e++)}}let se=[...ne,...ie];var de=null;F&&!de&&(de=function(e){var t=e.reduce(((e,t,n)=>{var i,o=t.storyset_id;return o in e?(e[o].total_events=e[o].total_events+1,e[o].events.push(t)):e[o]={id:t.storyset_id,title:t.storyset_name,thumbnail_image:t.storyset_thumbnail_image,total_events:1,start_event_index:n,storyset_dynamic_thumbnail:null!==(i=null===t||void 0===t?void 0:t.storyset_dynamic_thumbnail)&&void 0!==i&&i,events:[t]},e}),{}),n=Object.values(t);return n.sort(((e,t)=>e.start_event_index-t.start_event_index)),n}(ne));const ce=z.landingLocationType,ue=z.templateType;function he(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(0,d.MN)()&&(0,w._)()&&!i&&(0,c.bo)(),t||n||(async()=>{const t=de[e].events[0],n=(0,v.Wd)(ce)+(0,v.gf)(ue)+(null!==t&&void 0!==t&&t.isRelatedEvent?"R":"E")+"_"+(null===t||void 0===t?void 0:t.event_id);(0,r.lB)(t),(0,u.Si)($,a.TB,a.OL),(0,s.Ch)(t.event_id,t.products,"homepage","stories",n,null===t||void 0===t?void 0:t.location,null===K||void 0===K?void 0:K.userType)})();var l=0;null!=o&&de[e].events.map(((e,t)=>{e.event_id==o&&(l=t)})),U(l),Z(e)}async function me(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,d.MN)()&&(0,w._)()&&!i&&await(0,c.bo)(),U(e.index),((0,p.ij)(e)||(0,p.Il)(e))&&(t||n||(async()=>{const t=(0,v.Wd)(ce)+(0,v.gf)(ue)+(null!==e&&void 0!==e&&e.isRelatedEvent?"R":"E")+"_"+(null===e||void 0===e?void 0:e.event_id);(0,r.lB)(e),(0,u.Si)($,a.TB,a.Dk),(0,s.Ch)(e.event_id,e.products,"homepage","carousel",t)})())}function pe(e){return(0,f.jsx)(f.Fragment,{})}return(0,o.useEffect)((()=>{if(H)if((0,y.H)("whatmore-video-player",(()=>{Q(!1)})),null!=G&&F){const e=de.find((e=>G==e.id));if(e)return void he(de.indexOf(e),!0,R)}else if(null!=R){const e=ne.find((e=>R==e.event_id));if(e)return void me(e,!0)}}),[]),(0,f.jsxs)(f.Fragment,{children:[J&&(0,f.jsx)(_.A,{}),(0,f.jsx)("div",{className:"whatmore-widget-container",style:{height:"100%",marginTop:(F?A:W)+"px",marginBottom:(F?A:W)+"px"},children:"template-b"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(I,{events:ne,onClick:me,heading:e.heading})})}):"template-a-1"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(x,{events:ne,onClick:me,heading:e.heading})}):"template-feed-a"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(N,{events:ne,onClick:me,heading:e.heading})}):"template-collections-a"===M||"template-c"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(E,{events:ne,index:X,setScreen:U,onClick:me,heading:e.heading})})}):"template-collections-b"===M||"template-d"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(O,{events:ne,index:X,setScreen:U,onClick:me,heading:e.heading})})}):"template-collections-c"===M||"template-e"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(T,{events:ne,index:X,setScreen:U,onClick:me,heading:e.heading})})}):"template-collections-d"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(I,{events:ne,index:X,setScreen:U,onClick:me,heading:e.heading})})}):"template-collections-e"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(L,{events:ne,index:X,setScreen:U,onClick:me,heading:e.heading})})}):"template-collections-stories"===M||"template-stories"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(k,{events:ne,index:X,setScreen:U,onClick:me,heading:e.heading})})}):"template-f"===M||"template-collections-f"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(D,{events:ne,onClick:me,heading:e.heading})})}):"template-g"===M||"template-collections-g"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(b,{events:ne,onClick:me,heading:e.heading})})}):"template-h"===M||"template-collections-h"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(q,{events:ne,onClick:me,heading:e.heading})})}):"template-banner-a"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.BANNER_WIDGET_VIEW,event:ee[0],triggerFlag:!t&&!n,children:(0,f.jsx)(P,{events:ee})})}):F?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.STORIES_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(C,{eventsStories:de,onClick:he,template:M})})}):(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(L,{events:ne,onClick:me,heading:e.heading})})})}),-1==X||-2==X?(0,f.jsx)(pe,{}):(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.EVENT_VIEW,event:ee[X],productList:ee[X].products,cta:ee[X].cta,triggerFlag:!t&&!n,children:(0,f.jsx)(j,{events:se,index:X,onBack:function(e){(0,l.ei)($)&&(0,i.Xd)("whatmoreAddedToCart")&&(0,h.H)($,(()=>{}),100,window.location.hostname,e),U(-1),Q(!1)},slideDirection:F||"horizontal"===(0,l.br0)($)?"horizontal":"vertical",eventsStories:de,initialStoryIndex:Y,template:M})})})]})};const A=function(e,t,n){const o=(0,i.Xd)("whatmoreShopId");var a=t.reduce(((e,t,n)=>(t.products.map((e=>e.client_product_id)).forEach((t=>{t in e||(e[t]=!0)})),e)),{}),r=Object.keys(a);if("60960964855"==o&&"undefined"!=typeof fera&&"function"===typeof fera.getRatings){var l={};fera.getRatings(r,(e=>{new Promise(((t,n)=>{e.forEach((e=>{l[e.external_product_id]={avgRating:e.average,totalRatings:e.count}})),t(l)})).then((e=>n(e)))}))}if("23114481744"==o){const e="1e6MQXxzYR19mpw9Km6Dcm86";l={};fetch("https://api.juniphq.com/v1/products?filter[remote_ids]="+r.toString(),{headers:{"Junip-Store-Key":e}}).then((e=>e.json())).then((e=>(e.products.forEach((e=>{l[e.remote_id]={avgRating:parseFloat(e.rating_average).toFixed(1),totalRatings:e.rating_count}})),l))).then((e=>n(e))).catch((e=>console.error(e)))}};var F=n(7802),$=n(6641),M=n(1351),B=n(4820),V=n(5873),G=n(6018);var R=function(e){const[t,n]=(0,o.useState)(),[r,u]=(0,o.useState)([]),[h,p]=(0,o.useState)(),{whatmoreIsStoriesTemplate:g}=(0,o.useContext)(m.B),{whatmoreIsCollectionsTemplate:_}=(0,o.useContext)(m.B),{whatmoreIsBannerTemplate:y}=(0,o.useContext)(m.B),[I]=(0,i.QN)("whatmoreShopId"),[x]=(0,i.QN)("whatmoreCollectionId"),E=(0,i.Xd)("whatmoreLandingLocationType"),O=(0,i.Xd)("whatmoreLoggingActive"),{whatmoreWidgetSourceDetails:T}=(0,o.useContext)(m.B),{whatmoreUserInfo:C,whatmoreIsPreviewMode:j}=(0,o.useContext)(m.B),L=(0,i.Xd)("whatmoreCollectionUrl"),[D]=(0,i.QN)("isInDesignMode"),[b]=(0,i.QN)("isDemoBrand"),q=(0,l.mJ$)(I)?(0,l.jLA)(I)?L:window.location.href.split(/[?#]/)[0]:x,[N,P]=(0,i.QN)("productRatings"),[k,R]=(0,o.useState)(!1);var z=(0,l.SOt)(I)?a.aD+"/v2/events/":a.$$+"/v2/events/",K=(0,l.SOt)(I)?a.aD+"/v3/events/":a.$$+"/v3/events/",H=(0,l.SOt)(I)?a.aD+"/v4/events/":a.$$+"/v4/events/",J=(0,l.SOt)(I)?a.aD+"/v5/events/":a.$$+"/v5/events/",Q=(0,l.SOt)(I)?a.aD+"/v6/events/":a.$$+"/v6/events/",X=(0,l.SOt)(I)?a.aD+"/get_eventset/":a.$$+"/get_eventset/",U=(0,l.SOt)(I)?a.aD+"/v2/collection":a.$$+"/v2/collection",Y=(0,l.SOt)(I)?a.aD+"/v3/collection":a.$$+"/v3/collection",Z=(0,l.SOt)(I)?a.aD+"/v4/collection":a.$$+"/v4/collection",ee=(0,l.SOt)(I)?a.aD+"/v2/brand/"+I+"/product-events":a.$$+"/v2/brand/"+I+"/product-events",te=e.shopId,ne="live,upcoming",ie="true";return(0,o.useEffect)((()=>{(0,s.wm)();const e=()=>{const e="_whatmore_bulk_events",t=JSON.parse(localStorage.getItem(e))||[];t&&t.length>0&&((0,B.u)(t),localStorage.removeItem(e))};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}}),[]),(0,o.useEffect)((()=>{null!=t&&0!=t.length&&!h&&(0,d.MN)()&&!(0,i.Xd)("whatmoreVideoPlayerPoolInitiated")&&(0,w._)()&&(0,c.Pc)(c.F5)}),[t]),(0,o.useEffect)((()=>{var e;if(E.startsWith("product"))if((0,l.vvU)(I))e=z.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()+(g?"&template_type=stories":"");else{var t=(0,i.Xd)("whatmoreProductId");t=(0,l.BcY)(I)?function(e,t){return"STRQMPNF7QK"==t?encodeURIComponent(e):e.split(/[?#]/)[0]}(window.location.href,I):t,e=ee.toString()+"?client_product_id="+t.toString()+"&status="+ne.toString()+"&event_type=video"}else if(_||"invalid-url"!==L)e=(0,l.JwJ)(I)?`${Y.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==E&&(0,l.FKG)(I).length>0?(0,l.FKG)(I)[0]:q}`:"78232846646"==I?`${Z.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==E&&(0,l.FKG)(I).length>0?(0,l.FKG)(I)[0]:q}`:`${U.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==E&&(0,l.FKG)(I).length>0?(0,l.FKG)(I)[0]:q}`;else if(y){const t=v.Jh,n=(0,v.t6)(E);e=X.toString()+te.toString()+"?eventset_type="+t+"&source="+n+"&source_id="+I}else{var o,a,r,d;if(("72201044272"==I||"2665447536"==I&&j)&&!g)e=K.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()+"&latitude="+(null!==(o=null===(a=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===a?void 0:a.latitude)&&void 0!==o?o:"")+"&longitude="+(null!==(r=null===(d=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===d?void 0:d.longitude)&&void 0!==r?r:"")+"&user_type="+(null!==C&&void 0!==C&&C.userType?"olduser":"newuser");else if((0,l.JwJ)(I)&&!g)e=H.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString();else if("78232846646"==I&&j){var c,h,m,S;e=Q.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()+"&latitude="+(null!==(c=null===(h=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===h?void 0:h.latitude)&&void 0!==c?c:"")+"&longitude="+(null!==(m=null===(S=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===S?void 0:S.longitude)&&void 0!==m?m:"")+"&user_type="+(null!==C&&void 0!==C&&C.userType?"olduser":"newuser")}else e="78232846646"==I?J.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString():z.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()+(g?"&template_type=stories":"")}fetch(e).then((e=>e.json())).then((e=>{var t;if(y){const t=v.Jh;return(0,F.Po)(e,t)}return(0,l.JwJ)(I)&&(null===e||void 0===e||null===(t=e.questions)||void 0===t?void 0:t.length)>0&&(null==localStorage.getItem("_whatmore_qview_index")&&localStorage.setItem("_whatmore_qview_index",0),(0,s.d3)(null===e||void 0===e?void 0:e.questions)),(null===e||void 0===e?void 0:e.all_events)&&u(null===e||void 0===e?void 0:e.all_events),(0,F.Np)(e,_||"invalid-url"!==L)})).then((e=>(O&&console.debug("initial received events size : "+e.length),g||_||y?e:(0,F.zJ)(e,te)))).then((e=>(("28849832033"===I||"85317058852"===I&&Array.isArray(e))&&(e=function(e){for(let t=e.length-1;t>0;t--){const n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return e}(e)),null!=e&&0!=e.length&&(0,l.WiD)(I)&&function(e,t,n){const o=setInterval((()=>{null===(0,i.Xd)("productRatings")&&A(e,t,n)}),1e3);setTimeout((()=>{clearInterval(o)}),1e4)}(I,e,(e=>{P(e)})),e))).then((e=>{(b||D)&&(null==e||e&&0==(null===e||void 0===e?void 0:e.length))?n(g?G.Yo:y?G.N9:G.uG):n(e),R(!0)})).catch((e=>{p(e.message),R(!0)}))}),[]),(0,o.useEffect)((()=>{"index"===E?t&&t.length>0&&(0,M.yP)({userInteractionType:S.O.HOMEPAGE_VISITED,widgetSourceDetails:T}):"collection"===E&&(t&&t.length>0||(0,l.BZ$)(I))&&(0,M.yP)({userInteractionType:S.O.COLLECTION_PAGE_VISITED,widgetSourceDetails:T})}),[t]),k&&(null==t||0==t.length||h)&&V.Sn.forEach((e=>{var t,n,i,o;const a=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-stories-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-stories-a"]'),r=null!==(n=e.querySelector('.whatmore-template-type[data-wh="template-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-feed-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-b"]')||e.querySelector('.whatmore-template-type[data-wh="template-f"]')||e.querySelector('.whatmore-template-type[data-wh="template-stories"]')||e.querySelector('.whatmore-template-type[data-wh="template-e"]')||e.querySelector('.whatmore-template-type[data-wh="template-a-1"]')||e.querySelector('.whatmore-template-type[data-wh="template-g"]')||e.querySelector('.whatmore-template-type[data-wh="template-h"]'))&&void 0!==n?n:e.querySelector('.whatmore-template-type[data="template-a"]')||e.querySelector('.whatmore-template-type[data="template-b"]')||e.querySelector('.whatmore-template-type[data="template-f"]')||e.querySelector('.whatmore-template-type[data="template-stories"]')||e.querySelector('.whatmore-template-type[data="template-e"]')||e.querySelector('.whatmore-template-type[data="template-a-1"]')||e.querySelector('.whatmore-template-type[data="template-g"]')||e.querySelector('.whatmore-template-type[data="template-h"]'),l=null!==(i=e.querySelector('.whatmore-template-type[data-wh="template-collections-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-b"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-c"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-stories"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-d"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-e"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-f"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-g"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-h"]'))&&void 0!==i?i:e.querySelector('.whatmore-template-type[data="template-collections-a"]')||e.querySelector('.whatmore-template-type[data="template-collections-b"]')||e.querySelector('.whatmore-template-type[data="template-collections-c"]')||e.querySelector('.whatmore-template-type[data="template-collections-stories"]')||e.querySelector('.whatmore-template-type[data="template-collections-e"]')||e.querySelector('.whatmore-template-type[data="template-collections-d"]')||e.querySelector('.whatmore-template-type[data="template-collections-f"]')||e.querySelector('.whatmore-template-type[data="template-collections-g"]')||e.querySelector('.whatmore-template-type[data="template-collections-h"]'),s=null!==(o=e.querySelector('.whatmore-template-type[data-wh="template-banner-a"]'))&&void 0!==o?o:e.querySelector('.whatmore-template-type[data="template-banner-a"]'),d=e;if(g){const t=e.querySelector(".whatmore-shimmer-stories");t&&(t.style.display="none")}else if(!_){const t=e.querySelector(".loading-skeleton-wrapper");t&&(t.style.display="none")}(s||l||r||a)&&(r&&d||a&&d||s&&d||l&&d)&&(d.style.minHeight="0px")})),null==t||0==t.length||h?(0,f.jsx)("div",{}):(O&&(0,$.xv)(t),function(e){if(null!=e){var t=0;e.forEach((e=>{e.index=t++}))}}(t),O&&console.debug("final transformed events data : "+JSON.stringify(t)),O&&console.debug("valid events size : "+t.length),(0,f.jsx)(W,{heading:e.heading,events:t,allEvents:r}))},z=n(6649);var K=function(e){const[t]=(0,i.QN)("whatmoreShopId"),[n]=(0,i.QN)("whatmoreHeading"),[a,r]=(0,o.useState)(["initial",window.pageYOffset]),[s,d]=(0,o.useState)(!1),c="2665447536"==t?30:10,h=(0,i.Xd)("isLandingSharedLink");(0,o.useEffect)((()=>{if((0,u.hr)(t),!(0,l.FlM)(t))return;const e=c;let n=window.pageYOffset,i=!1;const o=()=>{const t=window.pageYOffset;var o,a;Math.abs(t-n)<e?i=!1:(a=!0,r(o=[t>n?"scrolled-down":"scrolled-up",t]),o[1]>c&&d(a),n=t>0?t:0,i=!1)},a=()=>{i||(window.requestAnimationFrame(o),i=!0)};return window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)}),[]);const[m,p,v]=(0,z.A)({triggerOnce:!0});return(0,f.jsx)("div",{ref:m,style:{display:"block",height:"100%"},children:s||p||h||!(0,l.FlM)(t)||(0,l.wQ2)(t)?(0,f.jsx)(R,{heading:n,shopId:t}):(0,f.jsx)("div",{})})}},5100:function(e,t,n){var i=n(9950),o=n(7300),a=n(5830),r=n(4414);const l=i.memo((()=>{if(!(0,a.Xd)("isLandingSharedLink"))return(0,r.jsx)(r.Fragment,{});const[e]=(0,o.A)();return(0,r.jsxs)("div",{className:`shimmer-container ${e}`,children:["portrait"===e?(0,r.jsx)("div",{className:"shimmer-item portrait-full",children:(0,r.jsx)("div",{className:"shimmer-effect"})}):Array(3).fill().map(((e,t)=>(0,r.jsx)("div",{className:"shimmer-item landscape-item "+(1===t?"center-item":""),children:(0,r.jsx)("div",{className:"shimmer-effect"})},t))),(0,r.jsx)("style",{children:"\n .shimmer-container {\n display: flex;\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n overflow-x: scroll;\n scroll-snap-type: x mandatory;\n scroll-behavior: smooth;\n z-index: 1000;\n }\n\n .portrait {\n justify-content: center;\n align-items: center;\n background: rgba(0, 0, 0, 0.6);\n }\n\n .landscape {\n justify-content: center;\n align-items: center;\n background: rgba(0, 0, 0, 0.8);\n }\n\n .shimmer-item {\n scroll-snap-align: start;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n transition: transform 0.3s ease;\n }\n\n .portrait-full {\n width: 100vw;\n height: 100vh;\n margin: 0; \n }\n\n .landscape-item {\n width: 250px;\n height: 450px;\n background: #D3D3D3;\n border-radius: 8px;\n margin-left: -50px; \n }\n\n .center-item {\n width: 360px;\n height: 620px;\n box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5); \n z-index: 10; \n }\n\n .shimmer-effect {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 75%);\n animation: shimmer 2s infinite;\n background-size: 200% 100%;\n }\n\n @keyframes shimmer {\n 0% {\n background-position: -200% 0;\n }\n 100% {\n background-position: 200% 0;\n }\n }\n "})]})}));t.A=l},8945:function(e,t,n){function i(e,t){let n=0;let i=new MutationObserver((function(){document.querySelector("."+e)?(t(),i.disconnect()):0==n&&(n=1,setTimeout((()=>{t(),i.disconnect()}),8e3))}));i.observe(document.body,{childList:!0,subtree:!0})}n.d(t,{H:function(){return i}})},1351:function(e,t,n){n.d(t,{Qj:function(){return s},kz:function(){return d},UM:function(){return u},yP:function(){return h},DG:function(){return c}});var i=n(1348),o=n(5830),a=n(6157);function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=(0,o.Xd)("whatmoreShopId");(e!=a.O.EVENT_VIEW||(0,i.NFF)(r))&&(e!=a.O.VIDEO_PLAYBACK||(0,i.Eel)(r))&&(e!=a.O.SHOPNOW_ATC_CLICKED&&e!=a.O.PRODUCT_TILE_ATC_CLICKED||(0,i.T9r)(r))&&(e!=a.O.VIDEO_LIKED||(0,i.Mz3)(r))&&(e!=a.O.VIDEO_SHARE_CTA_CLICKED||(0,i.OLZ)(r))&&(e!=a.O.PRODUCT_TILE_SHOPNOW_CLICKED&&e!=a.O.SHOPNOW_CLICKED||(0,i.nEf)(r))&&"function"==typeof fbq&&(async()=>{fbq("trackCustom",s[e],{id:null===t||void 0===t?void 0:t.client_product_id,product_url:null===t||void 0===t?void 0:t.product_link,...e===a.O.VIDEO_PLAYBACK?{watch_time:n.watch_time,video_duration:n.video_duration}:{}})})()}var l=n(7145);const s={[a.O.EVENT_VIEW]:"whatmore_video_click_event",[a.O.VIDEO_LIKED]:"whatmore_video_like_event",[a.O.VIDEO_SHARE_CTA_CLICKED]:"whatmore_video_share_event",[a.O.PRODUCT_TILE_ATC_CLICKED]:"whatmore_video_atc_event",[a.O.SHOPNOW_ATC_CLICKED]:"whatmore_video_atc_event",[a.O.SHOPNOW_CLICKED]:"whatmore_product_tile_click_event",[a.O.PRODUCT_TILE_SHOPNOW_CLICKED]:"whatmore_product_tile_click_event",[a.O.VIDEO_PLAYBACK]:"whatmore_video_watch_event"};function d(e){var t;let{userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:a,productList:d,ctaList:c}=e;(0,l.B)({userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:a,productList:d,ctaList:c}),n in s&&r(n,null!==(t=null===d||void 0===d?void 0:d[1])&&void 0!==t?t:null===d||void 0===d?void 0:d[0])}function c(e){var t;let{userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:a,productList:d,ctaList:c}=e;(0,l.B)({userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:a,productList:d,ctaList:c}),n in s&&r(n,null!==(t=null===d||void 0===d?void 0:d[1])&&void 0!==t?t:null===d||void 0===d?void 0:d[0],i)}function u(e){let{userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:a,ctaList:r}=e;(0,l.B)({userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:a,ctaList:r})}function h(e){let{userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:a,ctaList:r}=e;(0,l.B)({userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:a,ctaList:r})}}}]);
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[760],{8289:function(e,t,n){n.r(t),n.d(t,{default:function(){return K}});var i=n(5830),o=n(9950),a=n(964),r=n(140),l=n(1348),s=n(4533),d=n(6613),c=n(1085),u=n(3330),h=n(852),m=n(4737),p=n(2039),v=n(4833),g=n(2979),S=n(6157),_=n(5100),y=n(8945),w=n(9821),f=n(4414);const I=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(296),n.e(987),n.e(669),n.e(665)]).then(n.bind(n,8582)))),x=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(437),n.e(296),n.e(620),n.e(116)]).then(n.bind(n,7144)))),E=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(879),n.e(296),n.e(987),n.e(180),n.e(423)]).then(n.bind(n,517)))),O=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(879),n.e(296),n.e(987),n.e(180),n.e(412)]).then(n.bind(n,7646)))),T=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(879),n.e(296),n.e(987),n.e(180),n.e(221)]).then(n.bind(n,5451)))),C=o.lazy((()=>Promise.all([n.e(572),n.e(491)]).then(n.bind(n,3319)))),j=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(437),n.e(181),n.e(987),n.e(669),n.e(650),n.e(956)]).then(n.bind(n,8650)))),L=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(296),n.e(987),n.e(669),n.e(620),n.e(474)]).then(n.bind(n,6945)))),D=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(296),n.e(669),n.e(485)]).then(n.bind(n,9418)))),b=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(296),n.e(987),n.e(676)]).then(n.bind(n,3369)))),q=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(296),n.e(987),n.e(669),n.e(891)]).then(n.bind(n,7178)))),N=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(437),n.e(296),n.e(669),n.e(620),n.e(933)]).then(n.bind(n,6989)))),P=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(378),n.e(437),n.e(181),n.e(987),n.e(669),n.e(650),n.e(806)]).then(n.bind(n,3278)))),k=o.lazy((()=>Promise.all([n.e(572),n.e(714),n.e(526),n.e(879),n.e(296),n.e(987),n.e(1)]).then(n.bind(n,4596))));var W=function(e){const[t]=(0,i.QN)("isInDesignMode"),[n]=(0,i.QN)("isDemoBrand"),[W]=(0,i.QN)("whatmoreTopBottomPadding"),[A]=(0,i.QN)("whatmoreStoriesTopBottomPadding"),{whatmoreIsStoriesTemplate:F}=(0,o.useContext)(m.B),[$]=(0,i.QN)("whatmoreShopId"),{whatmoreEventsBrowsingTemplate:M}=(0,o.useContext)(m.B),B=(0,i.Xd)("isLandingSharedLink"),V=(0,i.Xd)("whatmoreShareTemplateId"),G=(0,i.Xd)("whatmoreShareStoryId"),R=(0,i.Xd)("whatmoreShareEventId"),{whatmoreWidgetSourceDetails:z,whatmoreUserInfo:K}=(0,o.useContext)(m.B),H=B&&M===(0,v.Mm)(V),[J,Q]=(0,o.useState)(H),[X,U]=(0,o.useState)(-1),[Y,Z]=(0,o.useState)(null);let ee=e.events,te=null===e||void 0===e?void 0:e.allEvents,ne=[],ie=[];if("template-banner-a"!==M){let e=0;for(let t=0;t<(null===ee||void 0===ee?void 0:ee.length);t++){var oe,ae;((0,p.ij)(ee[t])||(0,p.Il)(ee[t]))&&(null===(oe=null===(ae=ee[t])||void 0===ae?void 0:ae.in_stock)||void 0===oe||oe||(0,l.xku)($))&&(ne.push({...null===ee||void 0===ee?void 0:ee[t],index:e}),e++)}for(let t=0;t<(null===te||void 0===te?void 0:te.length);t++){var re,le;!(0,p.ij)(null===te||void 0===te?void 0:te[t])&&!(0,p.Il)(null===te||void 0===te?void 0:te[t])||null!==(re=null===te||void 0===te||null===(le=te[t])||void 0===le?void 0:le.in_stock)&&void 0!==re&&!re||(ie.push({...null===te||void 0===te?void 0:te[t],index:e}),e++)}}let se=[...ne,...ie];var de=null;F&&!de&&(de=function(e){var t=e.reduce(((e,t,n)=>{var i,o=t.storyset_id;return o in e?(e[o].total_events=e[o].total_events+1,e[o].events.push(t)):e[o]={id:t.storyset_id,title:t.storyset_name,thumbnail_image:t.storyset_thumbnail_image,total_events:1,start_event_index:n,storyset_dynamic_thumbnail:null!==(i=null===t||void 0===t?void 0:t.storyset_dynamic_thumbnail)&&void 0!==i&&i,events:[t]},e}),{}),n=Object.values(t);return n.sort(((e,t)=>e.start_event_index-t.start_event_index)),n}(ne));const ce=z.landingLocationType,ue=z.templateType;function he(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(0,d.MN)()&&(0,w._)()&&!i&&(0,c.bo)(),t||n||(async()=>{const t=de[e].events[0],n=(0,v.Wd)(ce)+(0,v.gf)(ue)+(null!==t&&void 0!==t&&t.isRelatedEvent?"R":"E")+"_"+(null===t||void 0===t?void 0:t.event_id);(0,r.lB)(t),(0,u.Si)($,a.TB,a.OL),(0,s.Ch)(t.event_id,t.products,"homepage","stories",n,null===t||void 0===t?void 0:t.location,null===K||void 0===K?void 0:K.userType)})();var l=0;null!=o&&de[e].events.map(((e,t)=>{e.event_id==o&&(l=t)})),U(l),Z(e)}async function me(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,d.MN)()&&(0,w._)()&&!i&&await(0,c.bo)(),U(e.index),((0,p.ij)(e)||(0,p.Il)(e))&&(t||n||(async()=>{const t=(0,v.Wd)(ce)+(0,v.gf)(ue)+(null!==e&&void 0!==e&&e.isRelatedEvent?"R":"E")+"_"+(null===e||void 0===e?void 0:e.event_id);(0,r.lB)(e),(0,u.Si)($,a.TB,a.Dk),(0,s.Ch)(e.event_id,e.products,"homepage","carousel",t)})())}function pe(e){return(0,f.jsx)(f.Fragment,{})}return(0,o.useEffect)((()=>{if(H)if((0,y.H)("whatmore-video-player",(()=>{Q(!1)})),null!=G&&F){const e=de.find((e=>G==e.id));if(e)return void he(de.indexOf(e),!0,R)}else if(null!=R){const e=ne.find((e=>R==e.event_id));if(e)return void me(e,!0)}}),[]),(0,f.jsxs)(f.Fragment,{children:[J&&(0,f.jsx)(_.A,{}),(0,f.jsx)("div",{className:"whatmore-widget-container",style:{height:"100%",marginTop:(F?A:W)+"px",marginBottom:(F?A:W)+"px"},children:"template-b"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(I,{events:ne,onClick:me,heading:e.heading})})}):"template-a-1"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(x,{events:ne,onClick:me,heading:e.heading})}):"template-feed-a"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(N,{events:ne,onClick:me,heading:e.heading})}):"template-collections-a"===M||"template-c"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(E,{events:ne,index:X,setScreen:U,onClick:me,heading:e.heading})})}):"template-collections-b"===M||"template-d"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(O,{events:ne,index:X,setScreen:U,onClick:me,heading:e.heading})})}):"template-collections-c"===M||"template-e"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(T,{events:ne,index:X,setScreen:U,onClick:me,heading:e.heading})})}):"template-collections-d"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(I,{events:ne,index:X,setScreen:U,onClick:me,heading:e.heading})})}):"template-collections-e"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(L,{events:ne,index:X,setScreen:U,onClick:me,heading:e.heading})})}):"template-collections-stories"===M||"template-stories"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.COLLECTION_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(k,{events:ne,index:X,setScreen:U,onClick:me,heading:e.heading})})}):"template-f"===M||"template-collections-f"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(D,{events:ne,onClick:me,heading:e.heading})})}):"template-g"===M||"template-collections-g"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(b,{events:ne,onClick:me,heading:e.heading})})}):"template-h"===M||"template-collections-h"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(q,{events:ne,onClick:me,heading:e.heading})})}):"template-banner-a"===M?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.BANNER_WIDGET_VIEW,event:ee[0],triggerFlag:!t&&!n,children:(0,f.jsx)(P,{events:ee})})}):F?(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.STORIES_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(C,{eventsStories:de,onClick:he,template:M})})}):(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.HOMEPAGE_CAROUSEL_WIDGET_VIEW,triggerFlag:!t&&!n,children:(0,f.jsx)(L,{events:ne,onClick:me,heading:e.heading})})})}),-1==X||-2==X?(0,f.jsx)(pe,{}):(0,f.jsx)(o.Suspense,{children:(0,f.jsx)(g.S,{userInteractionType:S.O.EVENT_VIEW,event:ee[X],productList:ee[X].products,cta:ee[X].cta,triggerFlag:!t&&!n,children:(0,f.jsx)(j,{events:se,index:X,onBack:function(e){(0,l.ei)($)&&(0,i.Xd)("whatmoreAddedToCart")&&(0,h.H)($,(()=>{}),100,window.location.hostname,e),U(-1),Q(!1)},slideDirection:F||"horizontal"===(0,l.br0)($)?"horizontal":"vertical",eventsStories:de,initialStoryIndex:Y,template:M})})})]})};const A=function(e,t,n){const o=(0,i.Xd)("whatmoreShopId");var a=t.reduce(((e,t,n)=>(t.products.map((e=>e.client_product_id)).forEach((t=>{t in e||(e[t]=!0)})),e)),{}),r=Object.keys(a);if("60960964855"==o&&"undefined"!=typeof fera&&"function"===typeof fera.getRatings){var l={};fera.getRatings(r,(e=>{new Promise(((t,n)=>{e.forEach((e=>{l[e.external_product_id]={avgRating:e.average,totalRatings:e.count}})),t(l)})).then((e=>n(e)))}))}if("23114481744"==o){const e="1e6MQXxzYR19mpw9Km6Dcm86";l={};fetch("https://api.juniphq.com/v1/products?filter[remote_ids]="+r.toString(),{headers:{"Junip-Store-Key":e}}).then((e=>e.json())).then((e=>(e.products.forEach((e=>{l[e.remote_id]={avgRating:parseFloat(e.rating_average).toFixed(1),totalRatings:e.rating_count}})),l))).then((e=>n(e))).catch((e=>console.error(e)))}};var F=n(7802),$=n(6641),M=n(1351),B=n(4820),V=n(5873),G=n(6018);var R=function(e){const[t,n]=(0,o.useState)(),[r,u]=(0,o.useState)([]),[h,p]=(0,o.useState)(),{whatmoreIsStoriesTemplate:g}=(0,o.useContext)(m.B),{whatmoreIsCollectionsTemplate:_}=(0,o.useContext)(m.B),{whatmoreIsBannerTemplate:y}=(0,o.useContext)(m.B),[I]=(0,i.QN)("whatmoreShopId"),[x]=(0,i.QN)("whatmoreCollectionId"),E=(0,i.Xd)("whatmoreLandingLocationType"),O=(0,i.Xd)("whatmoreLoggingActive"),{whatmoreWidgetSourceDetails:T}=(0,o.useContext)(m.B),{whatmoreUserInfo:C,whatmoreIsPreviewMode:j}=(0,o.useContext)(m.B),L=(0,i.Xd)("whatmoreCollectionUrl"),[D]=(0,i.QN)("isInDesignMode"),[b]=(0,i.QN)("isDemoBrand"),q=(0,l.mJ$)(I)?(0,l.jLA)(I)?L:window.location.href.split(/[?#]/)[0]:x,[N,P]=(0,i.QN)("productRatings"),[k,R]=(0,o.useState)(!1);var z=(0,l.SOt)(I)?a.aD+"/v2/events/":a.$$+"/v2/events/",K=(0,l.SOt)(I)?a.aD+"/v3/events/":a.$$+"/v3/events/",H=(0,l.SOt)(I)?a.aD+"/v4/events/":a.$$+"/v4/events/",J=(0,l.SOt)(I)?a.aD+"/v5/events/":a.$$+"/v5/events/",Q=(0,l.SOt)(I)?a.aD+"/v6/events/":a.$$+"/v6/events/",X=(0,l.SOt)(I)?a.aD+"/get_eventset/":a.$$+"/get_eventset/",U=(0,l.SOt)(I)?a.aD+"/v2/collection":a.$$+"/v2/collection",Y=(0,l.SOt)(I)?a.aD+"/v3/collection":a.$$+"/v3/collection",Z=(0,l.SOt)(I)?a.aD+"/v4/collection":a.$$+"/v4/collection",ee=(0,l.SOt)(I)?a.aD+"/v2/brand/"+I+"/product-events":a.$$+"/v2/brand/"+I+"/product-events",te=e.shopId,ne="live,upcoming",ie="true";return(0,o.useEffect)((()=>{(0,s.wm)();const e=()=>{const e="_whatmore_bulk_events",t=JSON.parse(localStorage.getItem(e))||[];t&&t.length>0&&((0,B.u)(t),localStorage.removeItem(e))};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}}),[]),(0,o.useEffect)((()=>{null!=t&&0!=t.length&&!h&&(0,d.MN)()&&!(0,i.Xd)("whatmoreVideoPlayerPoolInitiated")&&(0,w._)()&&(0,c.Pc)(c.F5)}),[t]),(0,o.useEffect)((()=>{var e;if(E.startsWith("product"))if((0,l.vvU)(I))e=z.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()+(g?"&template_type=stories":"");else{var t=(0,i.Xd)("whatmoreProductId");t=(0,l.BcY)(I)?function(e,t){return"STRQMPNF7QK"==t?encodeURIComponent(e):e.split(/[?#]/)[0]}(window.location.href,I):t,e=ee.toString()+"?client_product_id="+t.toString()+"&status="+ne.toString()+"&event_type=video"}else if(_||"invalid-url"!==L)e=(0,l.JwJ)(I)?`${Y.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==E&&(0,l.FKG)(I).length>0?(0,l.FKG)(I)[0]:q}`:"78232846646"==I?`${Z.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==E&&(0,l.FKG)(I).length>0?(0,l.FKG)(I)[0]:q}`:`${U.toString()}?store_id=${te.toString()}&client_collection_id=${"index"==E&&(0,l.FKG)(I).length>0?(0,l.FKG)(I)[0]:q}`;else if(y){const t=v.Jh,n=(0,v.t6)(E);e=X.toString()+te.toString()+"?eventset_type="+t+"&source="+n+"&source_id="+I}else{var o,a,r,d;if(("72201044272"==I||"2665447536"==I&&j)&&!g)e=K.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()+"&latitude="+(null!==(o=null===(a=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===a?void 0:a.latitude)&&void 0!==o?o:"")+"&longitude="+(null!==(r=null===(d=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===d?void 0:d.longitude)&&void 0!==r?r:"")+"&user_type="+(null!==C&&void 0!==C&&C.userType?"olduser":"newuser");else if((0,l.JwJ)(I)&&!g)e=H.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString();else if("78232846646"==I&&j){var c,h,m,S;e=Q.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()+"&latitude="+(null!==(c=null===(h=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===h?void 0:h.latitude)&&void 0!==c?c:"")+"&longitude="+(null!==(m=null===(S=JSON.parse(localStorage.getItem("_user_wh_lc")))||void 0===S?void 0:S.longitude)&&void 0!==m?m:"")+"&user_type="+(null!==C&&void 0!==C&&C.userType?"olduser":"newuser")}else e="78232846646"==I?J.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString():z.toString()+te.toString()+"?status="+ne.toString()+"&is_active="+ie.toString()+(g?"&template_type=stories":"")}fetch(e).then((e=>e.json())).then((e=>{var t;if(y){const t=v.Jh;return(0,F.Po)(e,t)}return(0,l.JwJ)(I)&&(null===e||void 0===e||null===(t=e.questions)||void 0===t?void 0:t.length)>0&&(null==localStorage.getItem("_whatmore_qview_index")&&localStorage.setItem("_whatmore_qview_index",0),(0,s.d3)(null===e||void 0===e?void 0:e.questions)),(null===e||void 0===e?void 0:e.all_events)&&u(null===e||void 0===e?void 0:e.all_events),(0,F.Np)(e,_||"invalid-url"!==L)})).then((e=>(O&&console.debug("initial received events size : "+e.length),g||_||y?e:(0,F.zJ)(e,te)))).then((e=>(("28849832033"===I||"85317058852"===I&&Array.isArray(e))&&(e=function(e){for(let t=e.length-1;t>0;t--){const n=Math.floor(Math.random()*(t+1));[e[t],e[n]]=[e[n],e[t]]}return e}(e)),null!=e&&0!=e.length&&(0,l.WiD)(I)&&function(e,t,n){const o=setInterval((()=>{null===(0,i.Xd)("productRatings")&&A(e,t,n)}),1e3);setTimeout((()=>{clearInterval(o)}),1e4)}(I,e,(e=>{P(e)})),e))).then((e=>{(b||D)&&(null==e||e&&0==(null===e||void 0===e?void 0:e.length))?n(g?G.Yo:y?G.N9:G.uG):n(e),R(!0)})).catch((e=>{p(e.message),R(!0)}))}),[]),(0,o.useEffect)((()=>{"index"===E?t&&t.length>0&&(0,M.yP)({userInteractionType:S.O.HOMEPAGE_VISITED,widgetSourceDetails:T}):"collection"===E&&(t&&t.length>0||(0,l.BZ$)(I))&&(0,M.yP)({userInteractionType:S.O.COLLECTION_PAGE_VISITED,widgetSourceDetails:T})}),[t]),k&&(null==t||0==t.length||h)&&V.Sn.forEach((e=>{var t,n,i,o;const a=null!==(t=e.querySelector('.whatmore-template-type[data-wh="template-stories-a"]'))&&void 0!==t?t:e.querySelector('.whatmore-template-type[data="template-stories-a"]'),r=null!==(n=e.querySelector('.whatmore-template-type[data-wh="template-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-feed-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-b"]')||e.querySelector('.whatmore-template-type[data-wh="template-f"]')||e.querySelector('.whatmore-template-type[data-wh="template-stories"]')||e.querySelector('.whatmore-template-type[data-wh="template-e"]')||e.querySelector('.whatmore-template-type[data-wh="template-a-1"]')||e.querySelector('.whatmore-template-type[data-wh="template-g"]')||e.querySelector('.whatmore-template-type[data-wh="template-h"]'))&&void 0!==n?n:e.querySelector('.whatmore-template-type[data="template-a"]')||e.querySelector('.whatmore-template-type[data="template-b"]')||e.querySelector('.whatmore-template-type[data="template-f"]')||e.querySelector('.whatmore-template-type[data="template-stories"]')||e.querySelector('.whatmore-template-type[data="template-e"]')||e.querySelector('.whatmore-template-type[data="template-a-1"]')||e.querySelector('.whatmore-template-type[data="template-g"]')||e.querySelector('.whatmore-template-type[data="template-h"]'),l=null!==(i=e.querySelector('.whatmore-template-type[data-wh="template-collections-a"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-b"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-c"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-stories"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-d"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-e"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-f"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-g"]')||e.querySelector('.whatmore-template-type[data-wh="template-collections-h"]'))&&void 0!==i?i:e.querySelector('.whatmore-template-type[data="template-collections-a"]')||e.querySelector('.whatmore-template-type[data="template-collections-b"]')||e.querySelector('.whatmore-template-type[data="template-collections-c"]')||e.querySelector('.whatmore-template-type[data="template-collections-stories"]')||e.querySelector('.whatmore-template-type[data="template-collections-e"]')||e.querySelector('.whatmore-template-type[data="template-collections-d"]')||e.querySelector('.whatmore-template-type[data="template-collections-f"]')||e.querySelector('.whatmore-template-type[data="template-collections-g"]')||e.querySelector('.whatmore-template-type[data="template-collections-h"]'),s=null!==(o=e.querySelector('.whatmore-template-type[data-wh="template-banner-a"]'))&&void 0!==o?o:e.querySelector('.whatmore-template-type[data="template-banner-a"]'),d=e;if(g){const t=e.querySelector(".whatmore-shimmer-stories");t&&(t.style.display="none")}else if(!_){const t=e.querySelector(".loading-skeleton-wrapper");t&&(t.style.display="none")}(s||l||r||a)&&(r&&d||a&&d||s&&d||l&&d)&&(d.style.minHeight="0px")})),null==t||0==t.length||h?(0,f.jsx)("div",{}):(O&&(0,$.xv)(t),function(e){if(null!=e){var t=0;e.forEach((e=>{e.index=t++}))}}(t),O&&console.debug("final transformed events data : "+JSON.stringify(t)),O&&console.debug("valid events size : "+t.length),(0,f.jsx)(W,{heading:e.heading,events:t,allEvents:r}))},z=n(6649);var K=function(e){const[t]=(0,i.QN)("whatmoreShopId"),[n]=(0,i.QN)("whatmoreHeading"),[a,r]=(0,o.useState)(["initial",window.pageYOffset]),[s,d]=(0,o.useState)(!1),c="2665447536"==t?30:10,h=(0,i.Xd)("isLandingSharedLink");(0,o.useEffect)((()=>{if((0,u.hr)(t),!(0,l.FlM)(t))return;const e=c;let n=window.pageYOffset,i=!1;const o=()=>{const t=window.pageYOffset;var o,a;Math.abs(t-n)<e?i=!1:(a=!0,r(o=[t>n?"scrolled-down":"scrolled-up",t]),o[1]>c&&d(a),n=t>0?t:0,i=!1)},a=()=>{i||(window.requestAnimationFrame(o),i=!0)};return window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)}),[]);const[m,p,v]=(0,z.A)({triggerOnce:!0});return(0,f.jsx)("div",{ref:m,style:{display:"block",height:"100%"},children:s||p||h||!(0,l.FlM)(t)||(0,l.wQ2)(t)?(0,f.jsx)(R,{heading:n,shopId:t}):(0,f.jsx)("div",{})})}},5100:function(e,t,n){var i=n(9950),o=n(7300),a=n(5830),r=n(4414);const l=i.memo((()=>{if(!(0,a.Xd)("isLandingSharedLink"))return(0,r.jsx)(r.Fragment,{});const[e]=(0,o.A)();return(0,r.jsxs)("div",{className:`shimmer-container ${e}`,children:["portrait"===e?(0,r.jsx)("div",{className:"shimmer-item portrait-full",children:(0,r.jsx)("div",{className:"shimmer-effect"})}):Array(3).fill().map(((e,t)=>(0,r.jsx)("div",{className:"shimmer-item landscape-item "+(1===t?"center-item":""),children:(0,r.jsx)("div",{className:"shimmer-effect"})},t))),(0,r.jsx)("style",{children:"\n .shimmer-container {\n display: flex;\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n overflow-x: scroll;\n scroll-snap-type: x mandatory;\n scroll-behavior: smooth;\n z-index: 1000;\n }\n\n .portrait {\n justify-content: center;\n align-items: center;\n background: rgba(0, 0, 0, 0.6);\n }\n\n .landscape {\n justify-content: center;\n align-items: center;\n background: rgba(0, 0, 0, 0.8);\n }\n\n .shimmer-item {\n scroll-snap-align: start;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n transition: transform 0.3s ease;\n }\n\n .portrait-full {\n width: 100vw;\n height: 100vh;\n margin: 0; \n }\n\n .landscape-item {\n width: 250px;\n height: 450px;\n background: #D3D3D3;\n border-radius: 8px;\n margin-left: -50px; \n }\n\n .center-item {\n width: 360px;\n height: 620px;\n box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5); \n z-index: 10; \n }\n\n .shimmer-effect {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 75%);\n animation: shimmer 2s infinite;\n background-size: 200% 100%;\n }\n\n @keyframes shimmer {\n 0% {\n background-position: -200% 0;\n }\n 100% {\n background-position: 200% 0;\n }\n }\n "})]})}));t.A=l},8945:function(e,t,n){function i(e,t){let n=0;let i=new MutationObserver((function(){document.querySelector("."+e)?(t(),i.disconnect()):0==n&&(n=1,setTimeout((()=>{t(),i.disconnect()}),8e3))}));i.observe(document.body,{childList:!0,subtree:!0})}n.d(t,{H:function(){return i}})},1351:function(e,t,n){n.d(t,{Qj:function(){return s},kz:function(){return d},UM:function(){return u},yP:function(){return h},DG:function(){return c}});var i=n(1348),o=n(5830),a=n(6157);function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=(0,o.Xd)("whatmoreShopId");(e!=a.O.EVENT_VIEW||(0,i.NFF)(r))&&(e!=a.O.VIDEO_PLAYBACK||(0,i.Eel)(r))&&(e!=a.O.SHOPNOW_ATC_CLICKED&&e!=a.O.PRODUCT_TILE_ATC_CLICKED||(0,i.T9r)(r))&&(e!=a.O.VIDEO_LIKED||(0,i.Mz3)(r))&&(e!=a.O.VIDEO_SHARE_CTA_CLICKED||(0,i.OLZ)(r))&&(e!=a.O.PRODUCT_TILE_SHOPNOW_CLICKED&&e!=a.O.SHOPNOW_CLICKED||(0,i.nEf)(r))&&"function"==typeof fbq&&(async()=>{fbq("trackCustom",s[e],{id:null===t||void 0===t?void 0:t.client_product_id,product_url:null===t||void 0===t?void 0:t.product_link,...e===a.O.VIDEO_PLAYBACK?{watch_time:n.watch_time,video_duration:n.video_duration}:{}})})()}var l=n(7145);const s={[a.O.EVENT_VIEW]:"whatmore_video_click_event",[a.O.VIDEO_LIKED]:"whatmore_video_like_event",[a.O.VIDEO_SHARE_CTA_CLICKED]:"whatmore_video_share_event",[a.O.PRODUCT_TILE_ATC_CLICKED]:"whatmore_video_atc_event",[a.O.SHOPNOW_ATC_CLICKED]:"whatmore_video_atc_event",[a.O.SHOPNOW_CLICKED]:"whatmore_product_tile_click_event",[a.O.PRODUCT_TILE_SHOPNOW_CLICKED]:"whatmore_product_tile_click_event",[a.O.VIDEO_PLAYBACK]:"whatmore_video_watch_event"};function d(e){var t;let{userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:a,productList:d,ctaList:c}=e;(0,l.B)({userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:a,productList:d,ctaList:c}),n in s&&r(n,null!==(t=null===d||void 0===d?void 0:d[1])&&void 0!==t?t:null===d||void 0===d?void 0:d[0])}function c(e){var t;let{userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:a,productList:d,ctaList:c}=e;(0,l.B)({userInteractionType:n,userInteractionMetadata:i,widgetSourceDetails:o,event:a,productList:d,ctaList:c}),n in s&&r(n,null!==(t=null===d||void 0===d?void 0:d[1])&&void 0!==t?t:null===d||void 0===d?void 0:d[0],i)}function u(e){let{userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:a,ctaList:r}=e;(0,l.B)({userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:a,ctaList:r})}function h(e){let{userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:a,ctaList:r}=e;(0,l.B)({userInteractionType:t,userInteractionMetadata:n,widgetSourceDetails:i,event:o,productList:a,ctaList:r})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[717],{69:function(e,t,i){i.d(t,{Ij:function(){return a},bi:function(){return s}});let n,o=!1;function a(){return n?n.play().then((()=>{o=!0,console.debug("iOS autoplay restrictions bypassed."),n.pause()})).catch((e=>{console.error("Failed to bless videos:",e.message)})):Promise.reject(new Error("Blessing video not initialized."))}function s(){n||(n=document.createElement("video"),n.src="https://whatmore-other-assets.b-cdn.net/whatmore/dummy_for_video_pool_3s_muted_11kb.mp4",n.muted=!0,n.playsInline=!0,n.style.display="none",document.body.appendChild(n));const e=()=>{o||a()};document.addEventListener("click",e,{once:!0}),document.addEventListener("touchstart",e,{once:!0})}},5901:function(e,t,i){i.d(t,{A:function(){return v}});var n=i(1005),o=i(9950),a=i(9879),s=i(22),l=i(5830),r=i(932);var d=function(e){const[t,i,n,o,a]=(0,r.A)(),[d]=(0,l.QN)("whatmoreEmbedAppVideoPlayerSizePortrait"),[c]=(0,l.QN)("whatmoreEmbedAppVideoPlayerSizeLandscape"),h=a[s.dl]===s.nN?c/100:d/100*1.2;return[t*h,i*h,a]},c=i(5727),h=i(1628),p=i.n(h),m=i(2209),g=i(6702),x=(i(9733),i(4365),i(1348)),u=i(7300),f=i(4414);var v=function(e){var t;const i=o.useRef(null);var[r,h,v]=d();const[w,y,b]=(0,u.A)(),j=(0,l.Xd)("whatmoreUITheme"),[S]=(0,l.QN)("whatmoreEmbedAppVideoTitle"),[_]=(0,l.QN)("whatmoreEmbedAppPositionPortrait"),[E]=(0,l.QN)("whatmoreEmbedAppHorizontalPaddingPortrait"),[I]=(0,l.QN)("whatmoreEmbedAppVerticalPaddingPortrait"),[A]=(0,l.QN)("whatmoreEmbedAppPositionLandscape"),[N]=(0,l.QN)("whatmoreEmbedAppHorizontalPaddingLandscape"),[z]=(0,l.QN)("whatmoreEmbedAppVerticalPaddingLandscape"),L=(0,l.Xd)("whatmoreShopId"),k=(0,l.Xd)("isDummyVideo");var P=_,C=E,Q=I;v[s.dl]===s.nN&&(P=A,C=N,Q=z);const[T,F]=(0,o.useState)(["initial",window.pageYOffset]),[D,X]=(0,o.useState)(!1),R=null!==(t=e.isSpotlight)&&void 0!==t&&t,O=v[s.dl]===s.nN?.7*(0,x.O86)(L):(0,x.O86)(L),V=R?O:1;r*=V,h*=V;const M=R?(0,x.LrK)(L):P,W=R?(0,x._2D)(L):(0,x.GSq)(L),[B,H]=(0,o.useState)(!R&&(0,x.n8Q)(L));function U(e,t){F(e),e[1]<=100?X(!1):t!=D&&(X(t),H(!1))}(0,o.useEffect)((()=>{let e=window.pageYOffset,t=!1;const i=()=>{const i=window.pageYOffset;Math.abs(i-e)<100||(U([i>e?"scrolled-down":"scrolled-up",i],!0),e=i>0?i:0),t=!1},n=()=>{t||(window.requestAnimationFrame(i),t=!0)};return window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)}),[T]),(0,n.j)({ref:i,handler:()=>{U(["scrolled-up",T[1]],!0)}});const G=e.event,K=e.inVideoClick,$=e.closeClick,Y=.3*h,q=.6*h,J=.1*h,Z=.1*(.5*h),ee="round"==j?"10px":"0px",te=(0,x.GvQ)(L);var ie=!1,ne=0,oe=0;function ae(e){ie=e}return(0,f.jsxs)("div",{children:[B&&!W?(0,f.jsx)(f.Fragment,{}):D&&W?(0,f.jsx)("div",{style:"left"===M?{left:"1px",bottom:R?(0,x.pUQ)(L)+"px":Q+"px",position:"fixed",zIndex:te}:{right:"5px",bottom:R?(0,x.pUQ)(L)+"px":Q+"px",position:"fixed",zIndex:te},children:(0,f.jsxs)("div",{onClick:()=>{U(["initial",T[1]],!1)},style:{margin:"1px",width:h+"px",height:r+"px"},className:"left"===M?"whatmore-ultraminimized-video-view-left":"whatmore-ultraminimized-video-view-right",children:[(0,f.jsx)("div",{style:{overflow:"hidden"},children:(0,f.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:9/16},children:(0,f.jsx)(a.A,{url:G.thumbnail_image,isPlaying:!1,event:G})})}),(0,f.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,f.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",height:"100%"},children:[(0,f.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content"},children:(0,f.jsx)("div",{className:"whatmore-ultraminimized-content-scale-out",children:(0,f.jsx)(m.A,{sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:Y+"px"},style:{position:"relative",zIndex:1,left:Z+"px",bottom:Z+"px"},onClick:$})})}),(0,f.jsx)("div",{style:{height:"100%",display:"flex",flexFlow:"column nowrap",alignItems:"center",justifyContent:"center"},children:(0,f.jsx)(g.A,{sx:{color:"white",fontSize:2*Y+"px",filter:"drop-shadow(0 0 2px black);"}})})]})})]})}):(0,f.jsx)(p(),{nodeRef:i,cancel:".activate-button,.close-btn",defaultClassName:"whatmore-react-draggable",defaultClassNameDragging:"whatmore-react-draggable-dragging",defaultClassNameDragged:"whatmore-react-draggable-dragged",bounds:"html",onStart:(e,t)=>{var i,n;i=t.x,n=t.y,ne=i,oe=n},onDrag:(e,t)=>{ae(!0)},onStop:(e,t)=>{ie&&(Math.abs(t.x-ne)>5||Math.abs(t.y-oe)>5)?ae(!1):K(G)},children:(0,f.jsx)("div",{ref:i,style:"left"===M?{left:R?(0,x.D2A)(L)+"px":C+"px",bottom:R?(0,x.pUQ)(L)+"px":Q+"px",position:"fixed",zIndex:te}:{right:R?(0,x.D2A)(L)+"px":C+"px",bottom:R?(0,x.pUQ)(L)+"px":Q+"px",position:"fixed",zIndex:te},children:(0,f.jsxs)("div",{style:Object.assign({},{boxSizing:"border-box",margin:"1px",width:e.isSpotlight&&"60122562760"==L?r+"px":h+"px",height:e.isSpotlight&&"60122562760"==L?h+"px":r+"px"}),className:"left"===M?"whatmore-minimized-video-view-left":"whatmore-minimized-video-view-right",children:[(0,f.jsx)("div",{style:{overflow:"hidden",position:"relative"},children:(0,f.jsx)("div",{style:{width:"100%",height:"100%",aspectRatio:e.isSpotlight&&"60122562760"==L?16/9:9/16},children:(0,f.jsx)(a.A,{url:G.thumbnail_image,isMuted:!0,isPlaying:!0,event:G})})}),(0,f.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",width:"100%",height:"100%"},children:(0,f.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",height:"100%"},children:[(0,f.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"flex-end",width:"100%",height:"fit-content"},children:(0,f.jsx)(m.A,{className:"close-btn",sx:{filter:"drop-shadow(0 0 2px black);",color:"white",fontSize:Y+"px"},onClick:$,style:{position:"relative",zIndex:1,left:J+"px",bottom:J+"px"}})}),(0,f.jsx)("div",{style:{marginLeft:"auto",marginRight:"auto"},children:(0,f.jsx)(c.A,{sx:{color:(0,x.KFN)(L),fontSize:q+"px",filter:"drop-shadow(0 0 2px black);"}})}),(0,f.jsx)("div",{style:{paddingLeft:"2px",paddingRight:"2px",borderBottomLeftRadius:ee,borderBottomRightRadius:ee,backgroundImage:S?"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0.6))":""},children:(0,f.jsxs)("p",{style:{textAlign:"center",color:"white",fontFamily:"Sans-serif",fontWeight:"semi-bold",fontSize:.4*Y+"px",margin:0,padding:0,lineHeight:"110%"},children:["\xa0",S]})})]})})]})})}),k&&(0,f.jsxs)("div",{style:{color:"black",position:"fixed",bottom:"5%",left:"0",width:b,overflow:"hidden",whiteSpace:"nowrap"},children:[(0,f.jsx)("div",{style:{display:"inline-block",animation:"moveLeftToRight 15s linear infinite",whiteSpace:"nowrap"},dangerouslySetInnerHTML:{__html:k}}),(0,f.jsx)("style",{children:"\n @keyframes moveLeftToRight {\n 0% { transform: translateX(-100%); }\n 100% { transform: translateX(100%); }\n }\n "})]})]})}},8154:function(e,t,i){i.r(t);var n=i(9950),o=i(1348),a=i(964),s=i(5830),l=i(140),r=i(4533),d=i(5901),c=i(1085),h=i(6613),p=i(3330),m=i(852),g=i(572),x=i(6641),u=i(8603),f=i(2039),v=i(4833),w=i(7802),y=i(2979),b=i(6157),j=i(4737),S=i(69),_=i(9821),E=i(6018),I=i(4414);const A=(0,u.A)({key:"whatmore-css-wsv"}),N=n.lazy((()=>Promise.all([i.e(714),i.e(378),i.e(437),i.e(181),i.e(987),i.e(669),i.e(650),i.e(657)]).then(i.bind(i,8650))));t.default=function(e){const[t,i]=(0,n.useState)(),[u,z]=(0,n.useState)(),[L]=(0,s.QN)("isInDesignMode"),[k]=(0,s.QN)("isDemoBrand"),[P,C]=(0,n.useState)(-2),[Q]=(0,s.QN)("whatmoreShopId"),T=(0,s.Xd)("isLandingSharedLink"),F=(0,s.Xd)("whatmoreShareTemplateId"),D=((0,s.Xd)("whatmoreShareStoryId"),(0,s.Xd)("whatmoreShareEventId")),X=(0,s.Xd)("whatmoreLandingLocationType"),R=(0,s.Xd)("whatmoreLoggingActive"),O=(0,s.Xd)("isWhatmorePreviewModeWidth"),{whatmoreWidgetSourceDetails:V}=(0,n.useContext)(j.B);var M=(0,o.SOt)(Q)?a.aD+"/get_eventset/":a.$$+"/get_eventset/",W=(0,o.SOt)(Q)?a.aD+"/get_eventset_v1/":a.$$+"/get_eventset_v1/";(0,n.useEffect)((()=>{(0,r.wm)()}),[]),(0,n.useEffect)((()=>{(0,p.hr)(Q)}),[]),(0,n.useEffect)((()=>{null==t||0==t.length||u||!(0,h.MN)()||(0,s.Xd)("whatmoreVideoPlayerPoolInitiated")||((0,_._)()?(0,c.Pc)(c.F5):(0,S.bi)())}),[t]),(0,n.useEffect)((()=>{C(-1);const e=v.JA,t=(0,v.t6)(X),n="78232846646"===Q.toString()?W.toString()+Q.toString()+"?eventset_type="+e+"&event_type=video&source="+t+"&source_id="+Q:M.toString()+Q.toString()+"?eventset_type="+e+"&source="+t+"&source_id="+Q;fetch(n).then((e=>e.json())).then((t=>(0,w.Po)(t,e))).then((e=>1==O&&(null==e||e&&0==(null===e||void 0===e?void 0:e.length))?(i(E.nw),E.nw):(i(e),e))).catch((e=>{z(e.message)}))}),[]),(0,n.useEffect)((()=>{C(-2)}),[t]),(0,n.useEffect)((()=>{null==t||0==t.length||u||T&&"template-embed"==(0,v.Mm)(F)&&null!=D&&t.forEach(((e,t)=>{D==e.event_id&&U(e,!0,t)}))}),[t]);const B=V.landingLocationType,H=V.templateType,U=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if((0,h.MN)()&&!t&&((0,_._)()?(0,c.bo)():(0,S.Ij)()),(0,f.ij)(e)||(0,f.Il)(e))return L||k||(async()=>{const t=(0,v.Wd)(B)+(0,v.gf)(H)+(null!==e&&void 0!==e&&e.isRelatedEvent?"R":"E")+"_"+(null===e||void 0===e?void 0:e.event_id);(0,l.lB)(e),(0,p.Si)(Q,a.DK,a.K1),(0,r.Ch)(e.event_id,e.products,"spotlight","video_popup",t)})(),void C(i)};function G(){return(0,I.jsx)(I.Fragment,{})}return null==t||0==t.length||u?(0,I.jsx)("div",{}):(R&&(0,x.xv)(t),(0,o.ALN)(Q)&&P<0&&null!==localStorage.getItem("_whatmore_spotlight_viewed")?(0,I.jsx)(I.Fragment,{}):(localStorage.setItem("_whatmore_spotlight_viewed",!0),(0,I.jsx)(g.C,{value:A,children:-1===P||0===t.length?(0,I.jsx)(G,{}):-2===P&&t.length>0?(0,I.jsx)("div",{children:(0,I.jsx)(y.S,{userInteractionType:b.O.SPOTLIGHT_WIDGET_VIEW,event:t[0],productList:t[0].products,cta:t[0].cta,triggerFlag:!L&&!k,children:(0,I.jsx)(d.A,{event:t[0],inVideoClick:U,closeClick:e=>{e.stopPropagation(),C(-1)},isSpotlight:!0})})}):(0,I.jsx)("div",{children:(0,I.jsx)(n.Suspense,{children:(0,I.jsx)(y.S,{userInteractionType:b.O.EVENT_VIEW,event:t[0],productList:t[0].products,cta:t[0].cta,triggerFlag:!L&&!k,children:(0,I.jsx)(N,{events:t,index:P,onBack:function(){(0,o.ei)(Q)&&(0,s.Xd)("whatmoreAddedToCart")&&(0,m.H)(Q,(()=>{}),100,window.location.hostname),C(-2)},template:"template-embed"})})})})})))}}}]);