"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[982],{3554:function(s,c,e){e.d(c,{Z:function(){return W}});var o=e(5893),t=e(7294),n=e(9473),a=e(2830),i=e(1289);e(5389),e(5889);var l=e(6066),r=s=>{let{categoryData:c,onSelectCategory:e,selectedCategory:n}=s,{name:a,navigationId:i,items:r,colors:u}=c;(0,t.useEffect)(()=>{let s=document.querySelector(".slick-prev"),c=document.querySelector(".slick-next");s&&s.style.setProperty("--color",u.secondary),c&&c.style.setProperty("--color",u.secondary)},[r]);let x={dots:!1,infinite:!0,speed:300,autoplay:!0,centerPadding:"0",centerMode:!0,autoplaySpeed:5e3,slidesToShow:r.length<4?r.length:4,slidesToScroll:r.length<4?r.length:4,responsive:[{breakpoint:1024,settings:{slidesToShow:r.length<4?r.length:3,slidesToScroll:r.length<4?r.length:3,infinite:!0,dots:!1}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1==r.length?1:2,slidesToScroll:1==r.length?1:2}}]};return(0,o.jsxs)(g,{id:i,className:"category-01-slide category-01",$_css6:"".concat(u.background," !important"),children:[(0,o.jsx)("link",{href:"/ecommerce/assets/css/layout/category/category-01.css",rel:"stylesheet"}),(0,o.jsx)("div",{className:"container-fluid",children:(0,o.jsx)("div",{className:"row",children:(0,o.jsx)("div",{className:"col-lg-12 p-0",children:(0,o.jsx)(p,{$_css5:"".concat(r.length<4&&window.innerWidth>600?"".concat(249*r.length,"px"):r.length<3&&window.innerWidth<600?"".concat(185*r.length,"px"):void 0," !important"),children:(0,o.jsx)(l.Z,{...x,children:r&&r.map((s,c)=>(0,o.jsx)(h,{onClick:()=>e(s.id),$_css4:"".concat(u.background," !important"),children:(0,o.jsx)(m,{className:"image-wrap ".concat(n===s.id?"active-slick":""),$_css3:"".concat(n===s.id?2:0,"px solid ").concat(u.secondary," !important"),children:(0,o.jsx)("div",{className:"image",style:{backgroundImage:"url(".concat(null==s?void 0:s.thumb,")")},children:(0,o.jsx)(d,{$_css:"linear-gradient(to top,".concat(u.background,", transparent) !important"),$_css2:"".concat(u.text," !important"),children:s.name})})})},c))})})})})})]})},d=(0,i.ZP)("h6").withConfig({componentId:"sc-d5135bab-0"})(s=>({backgroundImage:s.$_css,color:s.$_css2,fontSize:"23px"})),m=(0,i.ZP)("div").withConfig({componentId:"sc-d5135bab-1"})(s=>({borderBottom:s.$_css3})),h=(0,i.ZP)("div").withConfig({componentId:"sc-d5135bab-2"})(s=>({backgroundColor:s.$_css4})),p=(0,i.ZP)("div").withConfig({componentId:"sc-d5135bab-3"})(s=>({width:s.$_css5})),g=(0,i.ZP)("div").withConfig({componentId:"sc-d5135bab-4"})(s=>({backgroundColor:s.$_css6})),u=s=>{let{categoryData:c,selectedCategory:e,onSelectCategory:n}=s,{name:a,navigationId:i,items:r,colors:d}=c;(0,t.useEffect)(()=>{let s=document.querySelector(".slick-prev"),c=document.querySelector(".slick-next");s&&s.style.setProperty("--color",d.secondary),c&&c.style.setProperty("--color",d.secondary)},[r]);let m={dots:!1,infinite:!1,speed:300,autoplay:!0,autoplaySpeed:5e3,slidesToShow:r.length<4?r.length:4,slidesToScroll:r.length<4?r.length:4,responsive:[{breakpoint:1024,settings:{slidesToShow:r.length<4?r.length:3,slidesToScroll:r.length<4?r.length:3,infinite:!0,dots:!1}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1==r.length?1:2,slidesToScroll:(r.length,1)}}]};return(0,o.jsxs)(C,{id:i,className:"category-02-slide category-02",$_css5:"".concat(d.background," !important"),children:[(0,o.jsx)("link",{href:"/ecommerce/assets/css/layout/category/category-02.css",rel:"stylesheet"}),(0,o.jsx)("div",{className:"container",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-lg-12",children:(0,o.jsx)(x,{className:"heading text-center",$_css:"".concat(d.text," !important"),children:a})}),(0,o.jsx)("div",{className:"col-lg-12",children:(0,o.jsx)(v,{$_css4:"".concat(r.length<4&&window.innerWidth>600?"".concat(249*r.length,"px"):r.length<3&&window.innerWidth<600?"".concat(150*r.length,"px"):void 0," !important"),children:(0,o.jsx)(l.Z,{...m,children:r&&r.map((s,c)=>(0,o.jsxs)(j,{className:" ".concat(e==s.id?"active-slick":""),onClick:()=>n(s.id),$_css3:"".concat(e==s.id?d.secondary:""," !important"),children:[(0,o.jsx)("div",{className:"image-wrap ",children:(0,o.jsx)("div",{className:"image",style:{backgroundImage:"url(".concat(null==s?void 0:s.thumb,")")}})}),(0,o.jsx)("div",{className:"info",children:(0,o.jsx)(f,{$_css2:"".concat(d.text," !important"),children:s.name})})]},c))})})})]})})]})},x=(0,i.ZP)("h2").withConfig({componentId:"sc-65d38412-0"})(s=>({color:s.$_css,fontSize:"23px"})),f=(0,i.ZP)("h6").withConfig({componentId:"sc-65d38412-1"})(s=>({color:s.$_css2})),j=(0,i.ZP)("div").withConfig({componentId:"sc-65d38412-2"})(s=>({backgroundColor:s.$_css3})),v=(0,i.ZP)("div").withConfig({componentId:"sc-65d38412-3"})(s=>({width:s.$_css4})),C=(0,i.ZP)("div").withConfig({componentId:"sc-65d38412-4"})(s=>({backgroundColor:s.$_css5})),w=s=>{let{categoryData:c,onSelectCategory:e,selectedCategory:n}=s,{name:a,navigationId:i,items:r,colors:d}=c;(0,t.useEffect)(()=>{let s=document.querySelector(".slick-prev"),c=document.querySelector(".slick-next");s&&s.style.setProperty("--color",d.secondary),c&&c.style.setProperty("--color",d.secondary)},[r]);let m={dots:!1,infinite:!1,speed:300,autoplay:!0,autoplaySpeed:5e3,slidesToShow:r.length<4?r.length:4,slidesToScroll:r.length<4?r.length:4,responsive:[{breakpoint:1024,settings:{slidesToShow:r.length<4?r.length:3,slidesToScroll:r.length<4?r.length:3,infinite:!0,dots:!1}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1==r.length?1:3,slidesToScroll:(r.length,1)}}]};return(0,o.jsxs)(P,{id:i,className:"category-03-slide category-03",$_css5:"".concat(d.background," !important"),children:[(0,o.jsx)("link",{href:"/ecommerce/assets/css/layout/category/category-03.css",rel:"stylesheet"}),(0,o.jsxs)("div",{className:"container",children:[(0,o.jsx)(b,{className:"heading text-center",$_css:"".concat(d.text," !important"),children:a}),(0,o.jsx)($,{$_css4:"".concat((()=>{if(r.length<4&&window.innerWidth>600)return"".concat(249*r.length,"px")})()," !important"),children:(0,o.jsx)(l.Z,{...m,children:r&&r.map((s,c)=>(0,o.jsx)("div",{className:"".concat(n==s.id?"active-slick":""),onClick:()=>e(s.id),children:(0,o.jsxs)("div",{className:"product-item",children:[(0,o.jsx)("div",{className:"image-wrap ",children:(0,o.jsx)(N,{className:"image",src:"".concat(null==s?void 0:s.thumb),$_css2:"".concat(n===s.id?4:0,"px solid ").concat(d.secondary," !important")})}),(0,o.jsx)("div",{className:"info",children:(0,o.jsx)(_,{$_css3:"".concat(d.text," !important"),children:s.name})})]})},c))})})]})]})},b=(0,i.ZP)("h2").withConfig({componentId:"sc-e72efed0-0"})(s=>({color:s.$_css,fontSize:"23px"})),N=(0,i.ZP)("img").withConfig({componentId:"sc-e72efed0-1"})(s=>({border:s.$_css2})),_=(0,i.ZP)("h6").withConfig({componentId:"sc-e72efed0-2"})(s=>({color:s.$_css3})),$=(0,i.ZP)("div").withConfig({componentId:"sc-e72efed0-3"})(s=>({width:s.$_css4})),P=(0,i.ZP)("div").withConfig({componentId:"sc-e72efed0-4"})(s=>({backgroundColor:s.$_css5}));function k(s){let{className:c,style:e,onClick:t}=s;return(0,o.jsx)("svg",{className:c,style:{...e,display:"block",fill:"white"},onClick:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8C0 3.58887 3.58875 0 8 0C12.4113 0 16 3.58887 16 8C16 12.4111 12.4113 16 8 16C3.58875 16 0 12.4111 0 8ZM10.3704 11.291L12.5522 8.74609C12.7856 8.47363 12.7856 8.07129 12.5522 7.79883L10.3704 5.25391C10.109 4.94922 9.6499 4.91406 9.34485 5.1748C9.11853 5.36914 9.04065 5.67188 9.12256 5.94043C9.151 6.0332 9.19861 6.12207 9.26599 6.2002L10.4187 7.54492H4.72729C4.32568 7.54492 4 7.87109 4 8.27246C4 8.67383 4.32568 9 4.72729 9H10.4187L9.26599 10.3447C9.00464 10.6494 9.03992 11.1094 9.34485 11.3701C9.48206 11.4883 9.65039 11.5449 9.81787 11.5449C10.0227 11.5449 10.2266 11.459 10.3704 11.291Z",fill:"inherit"})})}function y(s){let{className:c,style:e,onClick:t}=s;return(0,o.jsx)("svg",{className:c,style:{...e,display:"block",fill:"white"},onClick:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16 8C16 3.58887 12.4113 0 8 0C3.58875 0 0 3.58887 0 8C0 12.4111 3.58875 16 8 16C12.4113 16    16 12.4111 16 8ZM5.62964 11.291L3.44775 8.74609C3.21436 8.47363 3.21436 8.07129 3.44775 7.79883L5.62964    5.25391C5.89099 4.94922 6.3501 4.91406 6.65515 5.1748C6.88147 5.36914 6.95935 5.67188 6.87744    5.94043C6.849 6.0332 6.80139 6.12207 6.73401 6.2002L5.5813 7.54492H11.2727C11.6743 7.54492 12    7.87109 12 8.27246C12 8.67383 11.6743 9 11.2727 9H5.5813L6.73401 10.3447C6.99536 10.6494 6.96008    11.1094 6.65515 11.3701C6.51794 11.4883 6.34961 11.5449 6.18213 11.5449C5.97729 11.5449 5.77344 11.459    5.62964 11.291Z",fill:"inherit"})})}var I=s=>{let{categoryData:c,onSelectCategory:e,selectedCategory:n}=s,{name:a,navigationId:i,items:r,colors:d}=c;(0,t.useEffect)(()=>{let s=document.querySelector(".slick-prev"),c=document.querySelector(".slick-next");s&&s.style.setProperty("--color",d.secondary),c&&c.style.setProperty("--color",d.secondary)},[r]);let m={dots:!0,infinite:!1,speed:300,centerPadding:"60px",arrows:!0,nextArrow:(0,o.jsx)(k,{}),prevArrow:(0,o.jsx)(y,{}),autoplay:!0,autoplaySpeed:5e3,slidesToShow:r.length<4?r.length:4,slidesToScroll:r.length<4?r.length:4,responsive:[{breakpoint:1024,settings:{slidesToShow:r.length<4?r.length:3,slidesToScroll:r.length<4?r.length:3,infinite:!0,dots:!1}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1==r.length?1:2,slidesToScroll:(r.length,1)}}]};return(0,o.jsxs)(M,{id:i,className:"category-04-slide category-04",$_css5:"".concat(d.background," !important"),children:[(0,o.jsx)("link",{href:"/ecommerce/assets/css/layout/category/category-04.css",rel:"stylesheet"}),(0,o.jsxs)("div",{className:"container",children:[(0,o.jsx)("div",{className:"row",children:(0,o.jsx)("div",{className:"col-lg-12",children:(0,o.jsx)(Z,{className:"heading text-center",$_css:"".concat(d.text," !important"),children:a})})}),(0,o.jsx)("div",{className:"row",children:(0,o.jsx)("div",{className:"col-lg-12",children:(0,o.jsx)(H,{$_css4:"".concat(r.length<4&&window.innerWidth>600?"".concat(249*r.length,"px"):r.length<3&&window.innerWidth<600?"".concat(150*r.length,"px"):void 0," !important"),children:(0,o.jsx)(l.Z,{...m,children:r&&r.map((s,c)=>(0,o.jsxs)("div",{className:"px-2 ".concat(n==s.id?"active-slick":""),onClick:()=>e(s.id),children:[(0,o.jsx)(S,{className:"image-wrap ",$_css2:"".concat(n===s.id?6:0,"px solid ").concat(d.secondary," !important"),children:(0,o.jsx)("div",{className:"image",style:{backgroundImage:"url(".concat(null==s?void 0:s.thumb,")")}})}),(0,o.jsx)("div",{className:"info",children:(0,o.jsx)(T,{$_css3:"".concat(d.text," !important"),children:s.name})})]},c))})})})})]})]})},Z=(0,i.ZP)("h2").withConfig({componentId:"sc-a47d379e-0"})(s=>({color:s.$_css,fontSize:"23px"})),S=(0,i.ZP)("div").withConfig({componentId:"sc-a47d379e-1"})(s=>({borderBottom:s.$_css2})),T=(0,i.ZP)("h6").withConfig({componentId:"sc-a47d379e-2"})(s=>({color:s.$_css3})),H=(0,i.ZP)("div").withConfig({componentId:"sc-a47d379e-3"})(s=>({width:s.$_css4})),M=(0,i.ZP)("div").withConfig({componentId:"sc-a47d379e-4"})(s=>({backgroundColor:s.$_css5}));function D(s){let{className:c,style:e,onClick:t}=s;return(0,o.jsx)("svg",{className:c,style:{...e,display:"block",fill:"white"},onClick:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8C0 3.58887 3.58875 0 8 0C12.4113 0 16 3.58887 16 8C16 12.4111 12.4113 16 8 16C3.58875 16 0 12.4111 0 8ZM10.3704 11.291L12.5522 8.74609C12.7856 8.47363 12.7856 8.07129 12.5522 7.79883L10.3704 5.25391C10.109 4.94922 9.6499 4.91406 9.34485 5.1748C9.11853 5.36914 9.04065 5.67188 9.12256 5.94043C9.151 6.0332 9.19861 6.12207 9.26599 6.2002L10.4187 7.54492H4.72729C4.32568 7.54492 4 7.87109 4 8.27246C4 8.67383 4.32568 9 4.72729 9H10.4187L9.26599 10.3447C9.00464 10.6494 9.03992 11.1094 9.34485 11.3701C9.48206 11.4883 9.65039 11.5449 9.81787 11.5449C10.0227 11.5449 10.2266 11.459 10.3704 11.291Z",fill:"inherit"})})}function L(s){let{className:c,style:e,onClick:t}=s;return(0,o.jsx)("svg",{className:c,style:{...e,display:"block",fill:"white"},onClick:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16 8C16 3.58887 12.4113 0 8 0C3.58875 0 0 3.58887 0 8C0 12.4111 3.58875 16 8 16C12.4113 16    16 12.4111 16 8ZM5.62964 11.291L3.44775 8.74609C3.21436 8.47363 3.21436 8.07129 3.44775 7.79883L5.62964    5.25391C5.89099 4.94922 6.3501 4.91406 6.65515 5.1748C6.88147 5.36914 6.95935 5.67188 6.87744    5.94043C6.849 6.0332 6.80139 6.12207 6.73401 6.2002L5.5813 7.54492H11.2727C11.6743 7.54492 12    7.87109 12 8.27246C12 8.67383 11.6743 9 11.2727 9H5.5813L6.73401 10.3447C6.99536 10.6494 6.96008    11.1094 6.65515 11.3701C6.51794 11.4883 6.34961 11.5449 6.18213 11.5449C5.97729 11.5449 5.77344 11.459    5.62964 11.291Z",fill:"inherit"})})}var V=s=>{let{categoryData:c,onSelectCategory:e,selectedCategory:n}=s,{name:a,navigationId:i,items:r,colors:d}=c;(0,t.useEffect)(()=>{let s=document.querySelector(".slick-prev"),c=document.querySelector(".slick-next");s&&s.style.setProperty("--color",d.secondary),c&&c.style.setProperty("--color",d.secondary)},[r]);let m={centerMode:!1,dots:!1,infinite:!1,variableWidth:!0,speed:300,arrows:!1,nextArrow:(0,o.jsx)(D,{}),prevArrow:(0,o.jsx)(L,{}),autoplay:!0,autoplaySpeed:5e3,slidesToShow:r.length<4?r.length:4,slidesToScroll:r.length<4?r.length:4,responsive:[{breakpoint:1024,settings:{slidesToShow:r.length<4?r.length:3,slidesToScroll:r.length<4?r.length:3,infinite:!0,dots:!1}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1==r.length?1:2.5,slidesToScroll:(r.length,1)}}]};return(0,o.jsxs)(U,{id:i,className:"category-05 ",$_css3:"".concat(d.background," !important"),children:[(0,o.jsx)("link",{href:"/ecommerce/assets/css/layout/category/category-05.css",rel:"stylesheet"}),(0,o.jsx)("div",{className:"container",children:(0,o.jsx)(l.Z,{...m,children:r&&r.map((s,c)=>(0,o.jsxs)(q,{className:"category-card",onClick:()=>e(s.id),children:[(0,o.jsx)("img",{src:null==s?void 0:s.thumb,alt:""}),(0,o.jsx)(R,{$_css:"".concat(d.secondary," !important"),$_css2:"".concat(d.text," !important"),children:s.name})]},c))})})]})},R=(0,i.ZP)("p").withConfig({componentId:"sc-77fb183a-0"})(s=>({backgroundColor:s.$_css,color:s.$_css2})),q=(0,i.ZP)("div").withConfig({componentId:"sc-77fb183a-1"})({paddingBottom:"0px !important"}),U=(0,i.ZP)("div").withConfig({componentId:"sc-77fb183a-2"})(s=>({backgroundColor:s.$_css3})),B=e(1273),E=e(988),O=e(1614),W=s=>{let{isSinglePage:c,sectionsId:e}=s,i=(0,n.I0)();(0,n.v9)(O.iq);let l=(0,n.v9)(a.G_),d=(0,n.v9)(a.sm),m=(0,n.v9)(a.bt),[h,p]=(0,t.useState)({className:null}),[g,x]=(0,t.useState)(null),[f,j]=(0,t.useState)(null),[v,C]=(0,t.useState)(0);(0,t.useEffect)(()=>{null!==m&&b()},[m]);let b=()=>{let s=(0,B.r0)(m,3),c=(0,B.r0)(m,e);console.log("categoryData ",c),c.items=s.categories;let o={...l,...s.colors};c.colors=o,s.items.length>0&&(x(c),j(s.items));let t={...d,...null==s?void 0:s.font};p((0,B.xt)(null==t?void 0:t.font))},N=s=>{if(s==v){C(0),i((0,E.pl)(!0)),i((0,E.RU)(f));return}let c=f.filter(c=>!!c.categories&&c.categories.some(c=>c.id===s));C(s),i((0,E.pl)(!0)),i((0,E.RU)(c))};return(0,o.jsx)("div",{className:null==h?void 0:h.className,children:(()=>{if((null==g?void 0:g.items.length)==0)return null;switch(null==g?void 0:g.optionId){case 264:return(0,o.jsx)(r,{categoryData:g,selectedCategory:v,onSelectCategory:N});case 265:return(0,o.jsx)(u,{categoryData:g,selectedCategory:v,onSelectCategory:N});case 266:return(0,o.jsx)(w,{categoryData:g,selectedCategory:v,onSelectCategory:N});case 267:return(0,o.jsx)(I,{categoryData:g,selectedCategory:v,onSelectCategory:N});case 270:return(0,o.jsx)(V,{categoryData:g,selectedCategory:v,onSelectCategory:N});default:return null}})()})}},8547:function(s,c,e){e.d(c,{Z:function(){return sq}});var o=e(5893),t=e(7294),n=e(9473),a=e(2830),i=e(1289),l=s=>{let{colors:c}=s;return(0,o.jsxs)("div",{className:"no-product",children:[(0,o.jsx)("img",{src:"/assets/img/no-product.png"}),(0,o.jsx)(r,{$_css:"".concat(c.text," !important"),children:"Sorry No Product Found! "}),(0,o.jsxs)(d,{$_css2:"".concat(c.buttonText," !important"),children:[(0,o.jsx)("br",{}),"Please Search Again"]})]})},r=(0,i.ZP)("h5").withConfig({componentId:"sc-9331a3a0-0"})(s=>({color:s.$_css})),d=(0,i.ZP)("p").withConfig({componentId:"sc-9331a3a0-1"})(s=>({color:s.$_css2})),m=e(1664),h=e.n(m),p=e(1273),g=s=>{let{productData:c,sectionRef:e,showCartMessage:t,addToCart:i,selectedProduct:r,shouldProductDetailVisible:d,openProductOverView:m,onHideModal:g}=s,{name:b,navigationId:N,items:_,colors:$}=c,P=(0,n.v9)(a.g3);return(0,o.jsxs)(w,{id:N,ref:e,className:"ecom-temp-01-product-01",$_css8:"".concat($.background," !important"),children:[(0,o.jsx)("link",{href:"/ecommerce/assets/css/layout/product-listing/ecom-temp-01-product-01.css",rel:"stylesheet"}),(0,o.jsxs)("div",{className:"container-fluid",children:[(0,o.jsxs)("div",{className:"row mb-5",children:[(0,o.jsx)("div",{className:"col-lg-9 col-md-7 col-5",children:(0,o.jsx)(u,{className:"head",$_css:"".concat($.text," !important"),children:b})}),(0,o.jsx)("div",{className:"col-lg-3 col-md-5 col-7"})]}),(0,o.jsxs)("div",{className:"row",children:[!_.length&&(0,o.jsx)(l,{colors:$}),_&&_.map((s,c)=>{var e;return(0,o.jsx)("div",{className:"col-lg-3 col-6 col-md-4",children:(0,o.jsxs)(v,{className:"image-wrap",$_css5:"".concat($.text," !important"),children:[(0,o.jsx)("div",{className:"image",style:{backgroundImage:"url(".concat(null===(e=s.imageUpload)||void 0===e?void 0:e[0],")")}}),(0,o.jsx)(x,{$_css2:"".concat($.background," !important"),children:s.title}),(0,o.jsxs)(j,{$_css4:"".concat($.background," !important"),children:[P," ",s.price," ",(null==s?void 0:s.marketPrice)&&(0,o.jsxs)(f,{$_css3:"".concat($.background," !important"),children:[P," ",s.marketPrice]})]}),(0,o.jsx)("div",{className:"actions",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-lg-6 col-6",children:(0,o.jsx)(h(),{href:"/product/".concat((0,p.HI)(s.id.toString())),children:(0,o.jsx)("i",{className:"fas fa-shopping-cart"})})}),(0,o.jsx)("div",{className:"col-lg-6 col-6",children:(0,o.jsx)(h(),{href:"/product/".concat((0,p.HI)(s.id.toString())),children:(0,o.jsx)("i",{onClick:()=>m&&m(s),className:"fas fa-search-plus"})})})]})})]})},c)})]})]}),t&&(0,o.jsxs)(C,{className:"cart-message",$_css6:"".concat($.secondary," !important"),$_css7:"".concat($.text," !important"),children:[(0,o.jsx)("i",{className:"fas fa-shopping-cart me-2","aria-hidden":"true"})," Product added to cart"]})]})},u=(0,i.ZP)("h2").withConfig({componentId:"sc-efe28bdd-0"})(s=>({color:s.$_css})),x=(0,i.ZP)("h6").withConfig({componentId:"sc-efe28bdd-1"})(s=>({color:s.$_css2})),f=(0,i.ZP)("del").withConfig({componentId:"sc-efe28bdd-2"})(s=>({color:s.$_css3})),j=(0,i.ZP)("span").withConfig({componentId:"sc-efe28bdd-3"})(s=>({color:s.$_css4})),v=(0,i.ZP)("div").withConfig({componentId:"sc-efe28bdd-4"})(s=>({backgroundColor:s.$_css5})),C=(0,i.ZP)("div").withConfig({componentId:"sc-efe28bdd-5"})(s=>({backgroundColor:s.$_css6,color:s.$_css7})),w=(0,i.ZP)("div").withConfig({componentId:"sc-efe28bdd-6"})(s=>({backgroundColor:s.$_css8})),b=s=>{let{productData:c,sectionRef:e,showCartMessage:t,addToCart:i,selectedProduct:r,shouldProductDetailVisible:d,openProductOverView:m,onHideModal:h}=s,{name:g,navigationId:u,items:x,colors:f}=c,j=(0,n.v9)(a.g3);return(0,o.jsxs)(S,{id:u,ref:e,className:"ecom-temp-01-product-02",$_css14:"".concat(f.background," !important"),children:[(0,o.jsx)("link",{href:"/ecommerce/assets/css/layout/product-listing/ecom-temp-01-product-02.css",rel:"stylesheet"}),(0,o.jsxs)("div",{className:"container-fluid",children:[(0,o.jsxs)("div",{className:"row mb-5",children:[(0,o.jsx)("div",{className:"col-lg-9 col-md-7 col-5",children:(0,o.jsx)(_,{className:"head",$_css:"".concat(f.text," !important"),children:g})}),(0,o.jsx)("div",{className:"col-lg-3 col-md-5 col-7"})]}),(0,o.jsxs)("div",{className:"row",children:[!x.length&&(0,o.jsx)(l,{colors:f}),x&&x.map((s,c)=>{var e;return(0,o.jsx)("div",{className:"col-lg-3 col-6 col-md-4",children:(0,o.jsxs)(I,{className:"image-wrap",$_css11:"".concat(f.text," !important"),children:[(0,o.jsx)("div",{className:"image",style:{backgroundImage:"url(".concat(null===(e=s.imageUpload)||void 0===e?void 0:e[0],")")}}),(0,o.jsx)($,{$_css2:"".concat(f.background," !important"),children:s.title}),(0,o.jsxs)(k,{className:"price-outer",$_css4:"".concat(f.background," !important"),children:[(0,o.jsxs)("h6",{children:[j," ",s.price]}),(null==s?void 0:s.marketPrice)&&(0,o.jsxs)(P,{$_css3:"".concat(f.background," !important"),children:[j," ",s.marketPrice]})]}),(0,o.jsx)("div",{className:"actions",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-xl-8 col-lg-9 col-6",children:(0,o.jsxs)(y,{className:"btn btn-dark w-100",href:"/product/".concat((0,p.HI)(s.id.toString())),$_css5:"".concat(f.buttonText," !important"),$_css6:"".concat(f.button," !important"),$_css7:"".concat(f.button," !important"),$_css8:"".concat(f.buttonText," !important"),children:[(0,o.jsx)("i",{className:"fas fa-shopping-cart me-2"}),(0,o.jsx)("span",{className:"d-none d-lg-inline-block",children:"Add to Cart"})]})}),(0,o.jsx)("div",{className:"col-xl-4 col-lg-3 col-6",children:(0,o.jsx)(N,{href:"/product/".concat((0,p.HI)(s.id.toString())),className:"btn btn-default  w-100",$_css9:"".concat(f.button," !important"),$_css10:"".concat(f.buttonText," !important"),children:(0,o.jsx)("i",{className:"fas fa-search-plus"})})})]})})]})},c)})]})]}),t&&(0,o.jsxs)(Z,{className:"cart-message",$_css12:"".concat(f.secondary," !important"),$_css13:"".concat(f.text," !important"),children:[(0,o.jsx)("i",{className:"fas fa-shopping-cart me-2","aria-hidden":"true"})," Product added to cart"]})]})},N=(0,i.ZP)(h()).withConfig({componentId:"sc-46cee485-0"})(s=>({borderColor:s.$_css9,color:s.$_css10})),_=(0,i.ZP)("h2").withConfig({componentId:"sc-46cee485-1"})(s=>({color:s.$_css})),$=(0,i.ZP)("h6").withConfig({componentId:"sc-46cee485-2"})(s=>({color:s.$_css2})),P=(0,i.ZP)("p").withConfig({componentId:"sc-46cee485-3"})(s=>({color:s.$_css3})),k=(0,i.ZP)("div").withConfig({componentId:"sc-46cee485-4"})(s=>({color:s.$_css4})),y=(0,i.ZP)("a").withConfig({componentId:"sc-46cee485-5"})(s=>({color:s.$_css5,backgroundColor:s.$_css6,"&:hover":{color:s.$_css7,backgroundColor:s.$_css8}})),I=(0,i.ZP)("div").withConfig({componentId:"sc-46cee485-6"})(s=>({backgroundColor:s.$_css11})),Z=(0,i.ZP)("div").withConfig({componentId:"sc-46cee485-7"})(s=>({backgroundColor:s.$_css12,color:s.$_css13})),S=(0,i.ZP)("div").withConfig({componentId:"sc-46cee485-8"})(s=>({backgroundColor:s.$_css14})),T=s=>{let{productData:c,sectionRef:e,showCartMessage:t,addToCart:i,selectedProduct:r,shouldProductDetailVisible:d,openProductOverView:m,onHideModal:g}=s,{name:u,navigationId:x,items:f,colors:j}=c,v=(0,n.v9)(a.g3);return(0,o.jsxs)(q,{id:x,ref:e,className:"ecom-temp-01-product-03",$_css7:"".concat(j.background," !important"),children:[(0,o.jsx)("link",{href:"/ecommerce/assets/css/layout/product-listing/ecom-temp-01-product-03.css",rel:"stylesheet"}),(0,o.jsxs)("div",{className:"container",children:[(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-xl-6",children:(0,o.jsx)(H,{className:"heading",$_css:"".concat(j.text," !important"),children:u})}),(0,o.jsx)("div",{className:"col-xl-6"})]}),(0,o.jsxs)("div",{className:"row",children:[!f.length&&(0,o.jsx)(l,{colors:j}),f&&f.map((s,c)=>{var e;return(0,o.jsxs)("div",{className:"col-lg-3 col-6 col-md-4",children:[(0,o.jsxs)(M,{className:"image-wrap",$_css2:"".concat(j.secondary," !important"),children:[(0,o.jsx)("div",{className:"image",style:{backgroundImage:"url(".concat(null===(e=s.imageUpload)||void 0===e?void 0:e[0],")")}}),(0,o.jsx)("div",{className:"actions",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-lg-6 col-6",children:(0,o.jsx)(h(),{href:"/product/".concat((0,p.HI)(s.id.toString())),children:(0,o.jsx)("i",{className:"fas fa-shopping-bag shopping-cart","aria-hidden":"true"})})}),(0,o.jsx)("div",{className:"col-lg-6 col-6",children:(0,o.jsx)(h(),{href:"/product/".concat((0,p.HI)(s.id.toString())),children:(0,o.jsx)("i",{className:"fas fa-search-plus","aria-hidden":"true"})})})]})})]}),(0,o.jsxs)("div",{className:"info",children:[(0,o.jsx)(D,{$_css3:"".concat(j.text," !important"),children:s.title}),(0,o.jsxs)(V,{$_css5:"".concat(j.text," !important"),children:[v," ",s.price," ",(null==s?void 0:s.marketPrice)&&(0,o.jsxs)(L,{$_css4:"".concat(j.text," !important"),children:[v," ",s.marketPrice]})]})]})]},c)})]})]}),t&&(0,o.jsxs)(R,{className:"cart-message",$_css6:"".concat(j.text," !important"),children:[(0,o.jsx)("i",{className:"fas fa-shopping-cart me-2","aria-hidden":"true"})," Product added to cart"]})]})},H=(0,i.ZP)("h2").withConfig({componentId:"sc-e59b55c0-0"})(s=>({color:s.$_css})),M=(0,i.ZP)("div").withConfig({componentId:"sc-e59b55c0-1"})(s=>({borderColor:s.$_css2})),D=(0,i.ZP)("h6").withConfig({componentId:"sc-e59b55c0-2"})(s=>({color:s.$_css3})),L=(0,i.ZP)("del").withConfig({componentId:"sc-e59b55c0-3"})(s=>({color:s.$_css4})),V=(0,i.ZP)("span").withConfig({componentId:"sc-e59b55c0-4"})(s=>({color:s.$_css5})),R=(0,i.ZP)("div").withConfig({componentId:"sc-e59b55c0-5"})(s=>({color:s.$_css6})),q=(0,i.ZP)("div").withConfig({componentId:"sc-e59b55c0-6"})(s=>({backgroundColor:s.$_css7})),U=s=>{let{productData:c,sectionRef:e,showCartMessage:t,addToCart:i,selectedProduct:r,shouldProductDetailVisible:d,openProductOverView:m,onHideModal:h}=s,{name:g,navigationId:u,items:x,colors:f}=c,j=(0,n.v9)(a.g3);return(0,o.jsxs)(F,{id:u,ref:e,className:"ecom-temp-01-product-04",$_css12:"".concat(f.background," !important"),children:[(0,o.jsx)("link",{href:"/ecommerce/assets/css/layout/product-listing/ecom-temp-01-product-04.css",rel:"stylesheet"}),(0,o.jsxs)("div",{className:"container",children:[(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-xl-9 col-md-7",children:(0,o.jsx)(E,{className:"heading",$_css:"".concat(f.text," !important"),children:g})}),(0,o.jsx)("div",{className:"col-xl-3 col-md-5"}),!x.length&&(0,o.jsx)(l,{colors:f}),x&&x.map((s,c)=>{var e;return(0,o.jsx)("div",{className:"col-xl-6 col-md-6",children:(0,o.jsx)(G,{className:"card",$_css11:"".concat(f.text," !important"),children:(0,o.jsxs)("div",{className:"row g-0",children:[(0,o.jsx)("div",{className:"col-xl-5",children:(0,o.jsx)("a",{href:"#",children:(0,o.jsx)("div",{className:"image",style:{backgroundImage:"url(".concat(null===(e=s.imageUpload)||void 0===e?void 0:e[0],")")}})})}),(0,o.jsx)("div",{className:"col-xl-7",children:(0,o.jsxs)("div",{className:"product-info",children:[(0,o.jsx)(O,{className:"product-title",href:"#",$_css2:"".concat(f.background," !important"),children:s.title}),(0,o.jsxs)(A,{$_css4:"".concat(f.background," !important"),children:[j," ",s.price," ",(null==s?void 0:s.marketPrice)&&(0,o.jsxs)(W,{$_css3:"".concat(f.background," !important"),children:[j," ",s.marketPrice]})]}),(0,o.jsx)("div",{className:"actions",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-xl-8 col-lg-9 col-6",children:(0,o.jsxs)(z,{className:"btn btn-warning w-100",href:"/product/".concat((0,p.HI)(s.id.toString())),$_css5:"".concat(f.button," !important"),$_css6:"".concat(f.button," !important"),$_css7:"".concat(f.buttonText," !important"),children:[(0,o.jsx)("i",{className:"fas fa-shopping-bag shopping-cart me-2","aria-hidden":"true"}),(0,o.jsx)("span",{className:"d-none d-lg-inline-block",children:"Add to Cart"})]})}),(0,o.jsx)("div",{className:"col-xl-4 col-lg-3 col-6",children:(0,o.jsx)(B,{href:"/product/".concat((0,p.HI)(s.id.toString())),className:"btn btn-info  w-100",legacyBehavior:!0,$_css8:"".concat(f.secondary," !important"),$_css9:"".concat(f.secondary," !important"),$_css10:"".concat(f.buttonText," !important"),children:(0,o.jsx)("i",{className:"fas fa-search-plus",onClick:()=>m&&m(s),"aria-hidden":"true"})})})]})})]})})]})})},c)})]}),t&&(0,o.jsxs)("div",{className:"cart-message",children:[(0,o.jsx)("i",{className:"fas fa-shopping-cart me-2","aria-hidden":"true"})," Product added to cart"]})]})]})},B=(0,i.ZP)(h()).withConfig({componentId:"sc-53e9d6e3-0"})(s=>({borderColor:s.$_css8,backgroundColor:s.$_css9,color:s.$_css10})),E=(0,i.ZP)("h2").withConfig({componentId:"sc-53e9d6e3-1"})(s=>({color:s.$_css})),O=(0,i.ZP)("a").withConfig({componentId:"sc-53e9d6e3-2"})(s=>({color:s.$_css2})),W=(0,i.ZP)("del").withConfig({componentId:"sc-53e9d6e3-3"})(s=>({color:s.$_css3})),A=(0,i.ZP)("span").withConfig({componentId:"sc-53e9d6e3-4"})(s=>({color:s.$_css4})),z=(0,i.ZP)("a").withConfig({componentId:"sc-53e9d6e3-5"})(s=>({borderColor:s.$_css5,backgroundColor:s.$_css6,color:s.$_css7})),G=(0,i.ZP)("div").withConfig({componentId:"sc-53e9d6e3-6"})(s=>({backgroundColor:s.$_css11})),F=(0,i.ZP)("div").withConfig({componentId:"sc-53e9d6e3-7"})(s=>({backgroundColor:s.$_css12})),J=s=>{let{productData:c,sectionRef:e,showCartMessage:t,addToCart:i,selectedProduct:r,shouldProductDetailVisible:d,openProductOverView:m,onHideModal:g}=s,{name:u,navigationId:x,items:f,colors:j}=c,v=(0,n.v9)(a.g3);return(0,o.jsxs)(st,{id:x,ref:e,className:"ecom-temp-01-product-05",$_css11:"".concat(j.background," !important"),children:[(0,o.jsx)("link",{href:"/ecommerce/assets/css/layout/product-listing/ecom-temp-01-product-05.css",rel:"stylesheet"}),(0,o.jsx)("div",{className:"container",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-xl-9 col-md-8",children:(0,o.jsx)(K,{className:"heading",$_css:"".concat(j.text," !important"),children:u})}),(0,o.jsx)("div",{className:"col-xl-3 col-md-4"}),!f.length&&(0,o.jsx)(l,{colors:j}),f&&f.map((s,c)=>{var e;return(0,o.jsx)("div",{className:"col-lg-3 col-6 col-md-4",children:(0,o.jsxs)("div",{className:"item",children:[(0,o.jsx)(Q,{className:"image-wrap",$_css2:"".concat(j.secondary," !important"),children:(0,o.jsx)("div",{className:"image",style:{backgroundImage:"url(".concat(null===(e=s.imageUpload)||void 0===e?void 0:e[0],")")}})}),(0,o.jsxs)(so,{className:"infos",$_css10:"".concat(j.secondary," !important"),children:[(0,o.jsx)("div",{className:"actions",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-lg-6 col-6",children:(0,o.jsx)(h(),{href:"/product/".concat((0,p.HI)(s.id.toString())),children:(0,o.jsx)(X,{className:"fas fa-shopping-bag shopping-cart","aria-hidden":"true",$_css3:"".concat(j.button," !important"),$_css4:"".concat(j.secondary," !important")})})}),(0,o.jsx)("div",{className:"col-lg-6 col-6",children:(0,o.jsx)(h(),{href:"/product/".concat((0,p.HI)(s.id.toString())),children:(0,o.jsx)(Y,{className:"fas fa-search-plus","aria-hidden":"true",$_css5:"".concat(j.button," !important"),$_css6:"".concat(j.secondary," !important")})})})]})}),(0,o.jsx)(ss,{$_css7:"".concat(j.text," !important"),children:s.title}),(0,o.jsxs)(se,{$_css9:"".concat(j.text," !important"),children:[v," ",s.price," ",(null==s?void 0:s.marketPrice)&&(0,o.jsxs)(sc,{$_css8:"".concat(j.text," !important"),children:[v," ",s.marketPrice]})]})]})]})},c)})]})}),t&&(0,o.jsxs)("div",{className:"cart-message",children:[(0,o.jsx)("i",{className:"fas fa-shopping-cart me-2","aria-hidden":"true"})," Product added to cart"]})]})},K=(0,i.ZP)("h2").withConfig({componentId:"sc-9bf41a1c-0"})(s=>({color:s.$_css})),Q=(0,i.ZP)("div").withConfig({componentId:"sc-9bf41a1c-1"})(s=>({borderColor:s.$_css2})),X=(0,i.ZP)("i").withConfig({componentId:"sc-9bf41a1c-2"})(s=>({borderColor:s.$_css3,color:s.$_css4})),Y=(0,i.ZP)("i").withConfig({componentId:"sc-9bf41a1c-3"})(s=>({borderColor:s.$_css5,color:s.$_css6})),ss=(0,i.ZP)("h6").withConfig({componentId:"sc-9bf41a1c-4"})(s=>({color:s.$_css7})),sc=(0,i.ZP)("del").withConfig({componentId:"sc-9bf41a1c-5"})(s=>({color:s.$_css8})),se=(0,i.ZP)("span").withConfig({componentId:"sc-9bf41a1c-6"})(s=>({color:s.$_css9})),so=(0,i.ZP)("div").withConfig({componentId:"sc-9bf41a1c-7"})(s=>({borderColor:s.$_css10})),st=(0,i.ZP)("div").withConfig({componentId:"sc-9bf41a1c-8"})(s=>({backgroundColor:s.$_css11})),sn=s=>{let{productData:c,sectionRef:e,showCartMessage:t,addToCart:i,selectedProduct:r,shouldProductDetailVisible:d,openProductOverView:m,onHideModal:g}=s,{name:u,navigationId:x,items:f,colors:j}=c,v=(0,n.v9)(a.g3);return(0,o.jsxs)(sm,{id:x,ref:e,className:"ecom-temp-02-product-01",$_css6:"".concat(j.background," !important"),children:[(0,o.jsx)("link",{href:"/ecommerce/assets/css/layout/product-listing/ecom-temp-02-product-01.css",rel:"stylesheet"}),(0,o.jsx)("div",{className:"container",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-xl-6 col-7",children:(0,o.jsx)(sa,{className:"heading",$_css:"".concat(j.text," !important"),children:u})}),(0,o.jsx)("div",{className:"col-xl-6 col-5"}),!f.length&&(0,o.jsx)(l,{colors:j}),f&&f.map((s,c)=>{var e;return(0,o.jsxs)("div",{className:"col-lg-3 col-6 col-md-4",children:[(0,o.jsxs)(si,{className:"image-wrap",$_css2:"".concat(j.secondary," !important"),children:[(0,o.jsx)("div",{className:"image",style:{backgroundImage:"url(".concat(null===(e=s.imageUpload)||void 0===e?void 0:e[0],")")}}),(0,o.jsx)("div",{className:"actions",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-lg-6 col-6",children:(0,o.jsx)(h(),{href:"/product/".concat((0,p.HI)(s.id.toString())),children:(0,o.jsx)("i",{className:"fas fa-shopping-bag shopping-cart","aria-hidden":"true"})})}),(0,o.jsx)("div",{className:"col-lg-6 col-6",children:(0,o.jsx)(h(),{href:"/product/".concat((0,p.HI)(s.id.toString())),children:(0,o.jsx)("i",{className:"fas fa-search-plus","aria-hidden":"true"})})})]})})]}),(0,o.jsxs)("div",{className:"info",children:[(0,o.jsx)(sl,{$_css3:"".concat(j.text," !important"),children:s.title}),(0,o.jsxs)(sd,{$_css5:"".concat(j.text," !important"),children:[v," ",s.price," ",(null==s?void 0:s.marketPrice)&&(0,o.jsxs)(sr,{$_css4:"".concat(j.text," !important"),children:[v," ",s.marketPrice]})]})]})]},c)})]})}),t&&(0,o.jsxs)("div",{className:"cart-message",children:[(0,o.jsx)("i",{className:"fas fa-shopping-cart me-2","aria-hidden":"true"})," Product added to cart"]})]})},sa=(0,i.ZP)("h2").withConfig({componentId:"sc-6b0c95c4-0"})(s=>({color:s.$_css})),si=(0,i.ZP)("div").withConfig({componentId:"sc-6b0c95c4-1"})(s=>({borderColor:s.$_css2})),sl=(0,i.ZP)("h6").withConfig({componentId:"sc-6b0c95c4-2"})(s=>({color:s.$_css3})),sr=(0,i.ZP)("del").withConfig({componentId:"sc-6b0c95c4-3"})(s=>({color:s.$_css4})),sd=(0,i.ZP)("span").withConfig({componentId:"sc-6b0c95c4-4"})(s=>({color:s.$_css5})),sm=(0,i.ZP)("div").withConfig({componentId:"sc-6b0c95c4-5"})(s=>({backgroundColor:s.$_css6})),sh=s=>{let{productData:c,sectionRef:e,showCartMessage:t,addToCart:i,selectedProduct:r,shouldProductDetailVisible:d,openProductOverView:m,onHideModal:g}=s,{name:u,navigationId:x,items:f,colors:j}=c,v=(0,n.v9)(a.g3);return(0,o.jsxs)(sC,{id:x,ref:e,className:"ecom-temp-02-product-02",$_css10:"".concat(j.background," !important"),children:[(0,o.jsx)("link",{href:"/ecommerce/assets/css/layout/product-listing/ecom-temp-02-product-02.css",rel:"stylesheet"}),(0,o.jsx)("div",{className:"container",children:(0,o.jsxs)("div",{className:"row justify-content-center",children:[(0,o.jsx)("div",{className:"col-xl-6 col-7",children:(0,o.jsx)(sp,{className:"heading",$_css:"".concat(j.text," !important"),children:u})}),(0,o.jsx)("div",{className:"col-xl-6 col-5"}),!f.length&&(0,o.jsx)(l,{colors:j}),f&&f.map((s,c)=>{var e;return(0,o.jsx)("div",{className:"col-lg-4 col-6 col-md-4",children:(0,o.jsx)(sj,{className:"product-item",$_css6:"".concat(j.secondary," !important"),$_css7:"".concat(j.text," !important"),children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-lg-5",children:(0,o.jsx)(sg,{className:"image-wrap",$_css2:"".concat(j.secondary," !important"),children:(0,o.jsx)("div",{className:"image",style:{backgroundImage:"url(".concat(null===(e=s.imageUpload)||void 0===e?void 0:e[0],")")}})})}),(0,o.jsx)("div",{className:"col-lg-7",children:(0,o.jsxs)("div",{className:"info",children:[(0,o.jsx)(su,{$_css3:"".concat(j.background," !important"),children:s.title}),(0,o.jsxs)(sf,{$_css5:"".concat(j.background," !important"),children:[v," ",s.price," ",(null==s?void 0:s.marketPrice)&&(0,o.jsxs)(sx,{$_css4:"".concat(j.background," !important"),children:[v," ",s.marketPrice]})]}),(0,o.jsx)("div",{className:"actions",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-xl-3 col-lg-4 col-6",children:(0,o.jsx)(h(),{href:"/product/".concat((0,p.HI)(s.id.toString())),children:(0,o.jsx)("i",{className:"fas fa-shopping-bag shopping-cart",onClick:()=>i&&i(s),"aria-hidden":"true"})})}),(0,o.jsx)("div",{className:"col-xl-3 col-lg-4 col-6",children:(0,o.jsx)(h(),{href:"/product/".concat((0,p.HI)(s.id.toString())),children:(0,o.jsx)("i",{className:"fas fa-search-plus","aria-hidden":"true"})})})]})})]})})]})})},c)})]})}),t&&(0,o.jsxs)(sv,{className:"cart-message",$_css8:"".concat(j.secondary," !important"),$_css9:"".concat(j.text," !important"),children:[(0,o.jsx)("i",{className:"fas fa-shopping-cart me-2","aria-hidden":"true"})," Product added to cart"]})]})},sp=(0,i.ZP)("h2").withConfig({componentId:"sc-c1cbb1f5-0"})(s=>({color:s.$_css})),sg=(0,i.ZP)("div").withConfig({componentId:"sc-c1cbb1f5-1"})(s=>({borderColor:s.$_css2})),su=(0,i.ZP)("h6").withConfig({componentId:"sc-c1cbb1f5-2"})(s=>({color:s.$_css3})),sx=(0,i.ZP)("del").withConfig({componentId:"sc-c1cbb1f5-3"})(s=>({color:s.$_css4})),sf=(0,i.ZP)("span").withConfig({componentId:"sc-c1cbb1f5-4"})(s=>({color:s.$_css5})),sj=(0,i.ZP)("div").withConfig({componentId:"sc-c1cbb1f5-5"})(s=>({borderColor:s.$_css6,backgroundColor:s.$_css7})),sv=(0,i.ZP)("div").withConfig({componentId:"sc-c1cbb1f5-6"})(s=>({backgroundColor:s.$_css8,color:s.$_css9})),sC=(0,i.ZP)("div").withConfig({componentId:"sc-c1cbb1f5-7"})(s=>({backgroundColor:s.$_css10})),sw=s=>{let{productData:c,sectionRef:e,showCartMessage:t,addToCart:i,selectedProduct:r,shouldProductDetailVisible:d,openProductOverView:m,onHideModal:g}=s,{name:u,navigationId:x,items:f,colors:j}=c,v=(0,n.v9)(a.g3);return(0,o.jsxs)(sk,{id:x,ref:e,className:"ecom-temp-02-product-03",$_css6:"".concat(j.background," !important"),children:[(0,o.jsx)("link",{href:"/ecommerce/assets/css/layout/product-listing/ecom-temp-02-product-03.css",rel:"stylesheet"}),(0,o.jsx)("div",{className:"container",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-xl-6 col-7",children:(0,o.jsx)(sb,{className:"heading",$_css:"".concat(j.text," !important"),children:u})}),(0,o.jsx)("div",{className:"col-xl-6 col-5"}),!f.length&&(0,o.jsx)(l,{colors:j}),f&&f.map((s,c)=>{var e;return(0,o.jsxs)("div",{className:"col-lg-3 col-6 col-md-4",children:[(0,o.jsxs)("div",{className:"image-wrap ",children:[(0,o.jsx)("div",{className:"image",style:{backgroundImage:"url(".concat(null===(e=s.imageUpload)||void 0===e?void 0:e[0],")")}}),(0,o.jsx)("div",{className:"actions",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-lg-6 col-6",children:(0,o.jsx)(h(),{href:"/product/".concat((0,p.HI)(s.id.toString())),children:(0,o.jsx)("i",{className:"fas fa-shopping-bag shopping-cart",onClick:()=>i&&i(s),"aria-hidden":"true"})})}),(0,o.jsx)("div",{className:"col-lg-6 col-6",children:(0,o.jsx)(h(),{href:"/product/".concat((0,p.HI)(s.id.toString())),children:(0,o.jsx)("i",{className:"fas fa-search-plus","aria-hidden":"true"})})})]})})]}),(0,o.jsxs)(sP,{className:"info",$_css5:"".concat(j.text," !important"),children:[(0,o.jsx)(sN,{$_css2:"".concat(j.background," !important"),children:s.title}),(0,o.jsxs)(s$,{$_css4:"".concat(j.background," !important"),children:[v," ",s.price," ",(null==s?void 0:s.marketPrice)&&(0,o.jsxs)(s_,{$_css3:"".concat(j.background," !important"),children:[v,s.marketPrice]})]})]})]},c)})]})}),t&&(0,o.jsxs)("div",{className:"cart-message",children:[(0,o.jsx)("i",{className:"fas fa-shopping-cart me-2","aria-hidden":"true"})," Product added to cart"]})]})},sb=(0,i.ZP)("h2").withConfig({componentId:"sc-5a65e0d6-0"})(s=>({color:s.$_css})),sN=(0,i.ZP)("h6").withConfig({componentId:"sc-5a65e0d6-1"})(s=>({color:s.$_css2})),s_=(0,i.ZP)("del").withConfig({componentId:"sc-5a65e0d6-2"})(s=>({color:s.$_css3})),s$=(0,i.ZP)("span").withConfig({componentId:"sc-5a65e0d6-3"})(s=>({color:s.$_css4})),sP=(0,i.ZP)("div").withConfig({componentId:"sc-5a65e0d6-4"})(s=>({backgroundColor:s.$_css5})),sk=(0,i.ZP)("div").withConfig({componentId:"sc-5a65e0d6-5"})(s=>({backgroundColor:s.$_css6})),sy=e(1163),sI=s=>{let{productData:c,sectionRef:e,showCartMessage:t,addToCart:i,selectedProduct:r,shouldProductDetailVisible:d,openProductOverView:m,onHideModal:g}=s,{name:u,navigationId:x,items:f,colors:j}=c,v=(0,n.v9)(a.g3),C=(0,sy.useRouter)();return(0,o.jsxs)(sL,{id:x,ref:e,className:"ecom-temp-02-product-04 pb-5",$_css8:"".concat(j.background," !important"),children:[(0,o.jsx)("link",{href:"/ecommerce/assets/css/layout/product-listing/ecom-temp-02-product-04.css",rel:"stylesheet"}),(0,o.jsxs)("div",{className:"container",children:[(0,o.jsxs)("div",{className:"d-flex justify-content-between",children:[(0,o.jsx)(sZ,{$_css:"".concat(j.text," !important"),children:u}),"/shop-now"!=C.route&&(0,o.jsxs)("div",{className:"mr-pdts d-flex justify-content-between align-items-center",children:[(0,o.jsx)(h(),{href:"/shop-now",legacyBehavior:!0,children:(0,o.jsx)("p",{className:"me-2",children:"more products"})}),(0,o.jsx)("svg",{width:"13",height:"11",viewBox:"0 0 13 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M12.7922 4.90244L8.09745 0.207575C7.96344 0.0735603 7.78482 0 7.59437 0C7.4037 0 7.22519 0.073666 7.09118 0.207575L6.66493 0.63393C6.53102 0.767733 6.45725 0.946456 6.45725 1.13701C6.45725 1.32747 6.53102 1.51222 6.66493 1.64602L9.40378 4.3909H0.702311C0.309989 4.3909 0 4.69803 0 5.09046V5.69321C0 6.08564 0.309989 6.42374 0.702311 6.42374H9.43486L6.66503 9.18395C6.53112 9.31796 6.45735 9.49182 6.45735 9.68238C6.45735 9.87273 6.53112 10.0491 6.66503 10.183L7.09128 10.608C7.2253 10.742 7.40381 10.8151 7.59447 10.8151C7.78493 10.8151 7.96354 10.7411 8.09756 10.6071L12.7923 5.91231C12.9266 5.77787 13.0005 5.59841 13 5.40764C13.0004 5.21623 12.9266 5.03667 12.7922 4.90244Z",fill:"black"})})]})]}),(0,o.jsxs)("div",{className:"row",children:[!f.length&&(0,o.jsx)(l,{colors:j}),f&&f.map((s,c)=>{var e;return(0,o.jsx)("div",{className:"col-6 col-md-6 col-lg-3",children:(0,o.jsxs)(sD,{className:"product-card",$_css7:"".concat(j.background),children:[(0,o.jsx)(h(),{href:"/product/".concat((0,p.HI)(s.id.toString())),children:(0,o.jsx)("img",{src:null===(e=s.imageUpload)||void 0===e?void 0:e[0],alt:"",onClick:()=>m&&m(s)})}),(0,o.jsxs)("div",{className:"d-flex justify-content-between switch-dir",children:[(0,o.jsxs)("div",{className:"card-details",children:[(0,o.jsxs)("div",{className:"d-flex align-items-baseline flex-wrap",children:[(0,o.jsxs)(sS,{className:"price mb-2",$_css2:"".concat(j.text," !important"),children:[" ",(0,o.jsx)("b",{children:v})," ",s.price," "]}),(null==s?void 0:s.marketPrice)&&(0,o.jsxs)(sT,{className:"strike-price mb-2",$_css3:"".concat(j.text," !important"),children:[v," ",s.marketPrice]})]}),(0,o.jsx)(sH,{className:"product-name",$_css4:"".concat(j.text," !important"),children:s.title})]}),(0,o.jsx)(h(),{href:"/product/".concat((0,p.HI)(s.id.toString())),children:(0,o.jsx)(sM,{className:"product-plus",$_css5:"".concat(j.button),$_css6:"".concat(j.buttonText," !important"),children:(0,o.jsx)("i",{className:"fa fa-plus","aria-hidden":"true"})})})]})]})},c)})]})]}),t&&(0,o.jsxs)("div",{className:"cart-message",children:[(0,o.jsx)("i",{className:"fas fa-shopping-cart me-2","aria-hidden":"true"})," Product added to cart"]})]})},sZ=(0,i.ZP)("h1").withConfig({componentId:"sc-6f068a7f-0"})(s=>({color:s.$_css})),sS=(0,i.ZP)("p").withConfig({componentId:"sc-6f068a7f-1"})(s=>({color:s.$_css2})),sT=(0,i.ZP)("p").withConfig({componentId:"sc-6f068a7f-2"})(s=>({color:s.$_css3})),sH=(0,i.ZP)("p").withConfig({componentId:"sc-6f068a7f-3"})(s=>({color:s.$_css4})),sM=(0,i.ZP)("div").withConfig({componentId:"sc-6f068a7f-4"})(s=>({backgroundColor:s.$_css5,color:s.$_css6})),sD=(0,i.ZP)("div").withConfig({componentId:"sc-6f068a7f-5"})(s=>({backgroundColor:s.$_css7})),sL=(0,i.ZP)("div").withConfig({componentId:"sc-6f068a7f-6"})(s=>({backgroundColor:s.$_css8})),sV=e(988),sR=e(1614),sq=s=>{let{isSinglePage:c,sectionsId:e,index:i}=s,l=(0,t.useRef)(null),r=(0,n.I0)(),d=(0,n.v9)(sR.iq),m=(0,n.v9)(a.G_),h=(0,n.v9)(sR.yn),u=(0,n.v9)(a.sm),x=(0,n.v9)(sR.TP),f=(0,n.v9)(a.bt),[j,v]=(0,t.useState)(null),[C,w]=(0,t.useState)(!1),[N,_]=(0,t.useState)(null),[$,P]=(0,t.useState)(null),[k,y]=(0,t.useState)(!1),[I,Z]=(0,t.useState)({className:null});(0,t.useEffect)(()=>{if(null===f||h||0!=x.length||S(),h||x.length>0){let s=(0,p.r0)(f,e),c={...m,...s.colors};s.items=x,s.colors=c,l.current&&l.current.scrollIntoView({behavior:"smooth"});let o={...u,...null==s?void 0:s.font};Z((0,p.xt)(null==o?void 0:o.font)),v(s);let t={...s},n=t.items.filter(s=>!1!==s.isProductVisibile);t.items=n,P(t)}},[f,h,x,i]);let S=()=>{let s=(0,p.r0)(f,e),c={...m,...s.colors};if(s.colors=c,s.items.length>0){v(s);let c={...s},e=c.items.filter(s=>s.isProductVisibile);c.items=e,P(c),r((0,sV.RU)(s.items))}},H=s=>{y(!0),_(s)},M=()=>{y(!1),_(null)},D=s=>{var c,e,o;let{variants:t}=s,{size:n,color:a,weight:i}=t,l=(null===(c=n[0])||void 0===c?void 0:c.name)||"",m=(null===(e=a[0])||void 0===e?void 0:e.name)||"",h=(null===(o=i[0])||void 0===o?void 0:o.name)||"",p=$.items.map(c=>c.id===(null==s?void 0:s.id)?{...c,selectedColor:m,selectedWeight:h,selectedSize:l}:c);r((0,sV.RU)(p));let g=d[null==s?void 0:s.id]||0;g<parseInt(s.quantity)&&(g+=1),r((0,sV.z8)({productId:s.id,quantity:g})),w(!0),setTimeout(()=>{w(!1)},1e3)};return(0,o.jsx)("div",{className:null==I?void 0:I.className,children:(()=>{switch(console.log("filteredProducts?.optionId ",null==$?void 0:$.optionId),null==$?void 0:$.optionId){case 218:return(0,o.jsx)(g,{productData:$,selectedProduct:N,shouldProductDetailVisible:k,openProductOverView:H,addToCart:D,showCartMessage:C,isSearch:h,onHideModal:M,sectionRef:l});case 219:return(0,o.jsx)(b,{productData:$,selectedProduct:N,shouldProductDetailVisible:k,openProductOverView:H,addToCart:D,showCartMessage:C,isSearch:h,onHideModal:M,sectionRef:l});case 220:return(0,o.jsx)(T,{productData:$,selectedProduct:N,shouldProductDetailVisible:k,openProductOverView:H,addToCart:D,isSearch:h,showCartMessage:C,onHideModal:M,sectionRef:l});case 221:return(0,o.jsx)(U,{productData:$,selectedProduct:N,shouldProductDetailVisible:k,openProductOverView:H,addToCart:D,isSearch:h,showCartMessage:C,onHideModal:M,sectionRef:l});case 222:return(0,o.jsx)(J,{productData:$,selectedProduct:N,shouldProductDetailVisible:k,openProductOverView:H,addToCart:D,isSearch:h,showCartMessage:C,onHideModal:M,sectionRef:l});case 223:return(0,o.jsx)(sn,{productData:$,selectedProduct:N,shouldProductDetailVisible:k,openProductOverView:H,isSearch:h,addToCart:D,showCartMessage:C,onHideModal:M,sectionRef:l});case 224:return(0,o.jsx)(sh,{productData:$,selectedProduct:N,shouldProductDetailVisible:k,openProductOverView:H,addToCart:D,isSearch:h,showCartMessage:C,onHideModal:M,sectionRef:l});case 225:return(0,o.jsx)(sw,{productData:$,selectedProduct:N,shouldProductDetailVisible:k,openProductOverView:H,addToCart:D,isSearch:h,showCartMessage:C,onHideModal:M,sectionRef:l});case 271:return(0,o.jsx)(sI,{productData:$,selectedProduct:N,shouldProductDetailVisible:k,openProductOverView:H,addToCart:D,isSearch:h,showCartMessage:C,onHideModal:M,sectionRef:l});default:return null}})()})}}}]);