<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7762],{27762:function(e,t,o){o.d(t,{Z:function(){return $}});var a=o(4730),i=o(16835),r=o(59499),n=o(67294),s=o(50029),l=o(87794),c=o.n(l),d=o(46670),u=o(28900),m=o(633),h=o(285),g=o(57899),v=o(68045),p=(o(27986),o(77607)),f=o(7006),x=o(30080),b=o(732),C=o(11163),w=o(84655),y=o(80100),j=o(42664),P=o(97896),N=o(39503),S=o(85893);function B(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&amp;&amp;(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,a)}return o}function T(e){for(var t=1;t&lt;arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?B(Object(o),!0).forEach((function(t){(0,r.Z)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):B(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var V=(0,d.Pi)((function(e){var t=e.productDetail,o=e.productNameColor,a=e.isCenter,i=e.isBrandShow,r=e.showRating,n=e.isRightSidePrice,s=e.productNameFontSize,l=e.isFullProductName,c=e.productNameFontWeight,d=e.isCustomProductNameHeight,u=e.productNameHeight,m=e.productNameHeightMobile,h=e.isMob,g=e.productNameHTag,v=e.isProductNamePTag;return(0,S.jsx)(S.Fragment,{children:function(){if(v)return(0,S.jsx)("p",{className:"product-name ".concat(r&amp;&amp;t.averageRating&amp;&amp;t.reviewCount?"mb-0":n?"":"mb-2","  ").concat(i&amp;&amp;t.brand||n?"":"mt-3"," ").concat(n?"w-3/5":""," ").concat(l?"full-name":""),style:T({color:o||"#000",textAlign:a?"center":"unset",fontSize:s?s.value:14,fontWeight:c?c.value:400},d&amp;&amp;u?{height:h&amp;&amp;m?m.value:u.value,overflow:"hidden"}:{}),children:t.name});var e=(0,S.jsx)("h3",{className:"product-name ".concat(r&amp;&amp;t.averageRating&amp;&amp;t.reviewCount?"mb-0":n?"":"mb-2","  ").concat(i&amp;&amp;t.brand||n?"":"mt-3"," ").concat(n?"w-3/5":""," ").concat(l?"full-name":""),style:T({color:o||"#000",textAlign:a?"center":"unset",fontSize:s?s.value:14,fontWeight:c?c.value:400},d&amp;&amp;u?{height:h&amp;&amp;m?m.value:u.value,overflow:"hidden"}:{}),children:t.name});switch(g){case w._p.h1:e=(0,S.jsx)("h1",{className:"product-name ".concat(r&amp;&amp;t.averageRating&amp;&amp;t.reviewCount?"mb-0":n?"":"mb-2","  ").concat(i&amp;&amp;t.brand||n?"":"mt-3"," ").concat(n?"w-3/5":""," ").concat(l?"full-name":""),style:T({color:o||"#000",textAlign:a?"center":"unset",fontSize:s?s.value:14,fontWeight:c?c.value:400},d&amp;&amp;u?{height:h&amp;&amp;m?m.value:u.value,overflow:"hidden"}:{}),children:t.name});break;case w._p.h2:e=(0,S.jsx)("h2",{className:"product-name ".concat(r&amp;&amp;t.averageRating&amp;&amp;t.reviewCount?"mb-0":n?"":"mb-2","  ").concat(i&amp;&amp;t.brand||n?"":"mt-3"," ").concat(n?"w-3/5":""," ").concat(l?"full-name":""),style:T({color:o||"#000",textAlign:a?"center":"unset",fontSize:s?s.value:14,fontWeight:c?c.value:400},d&amp;&amp;u?{height:h&amp;&amp;m?m.value:u.value,overflow:"hidden"}:{}),children:t.name});break;case w._p.h3:e=(0,S.jsx)("h3",{className:"product-name ".concat(r&amp;&amp;t.averageRating&amp;&amp;t.reviewCount?"mb-0":n?"":"mb-2","  ").concat(i&amp;&amp;t.brand||n?"":"mt-3"," ").concat(n?"w-3/5":""," ").concat(l?"full-name":""),style:T({color:o||"#000",textAlign:a?"center":"unset",fontSize:s?s.value:14,fontWeight:c?c.value:400},d&amp;&amp;u?{height:h&amp;&amp;m?m.value:u.value,overflow:"hidden"}:{}),children:t.name});break;case w._p.h4:e=(0,S.jsx)("h4",{className:"product-name ".concat(r&amp;&amp;t.averageRating&amp;&amp;t.reviewCount?"mb-0":n?"":"mb-2","  ").concat(i&amp;&amp;t.brand||n?"":"mt-3"," ").concat(n?"w-3/5":""," ").concat(l?"full-name":""),style:T({color:o||"#000",textAlign:a?"center":"unset",fontSize:s?s.value:14,fontWeight:c?c.value:400},d&amp;&amp;u?{height:h&amp;&amp;m?m.value:u.value,overflow:"hidden"}:{}),children:t.name});break;case w._p.h5:e=(0,S.jsx)("h5",{className:"product-name ".concat(r&amp;&amp;t.averageRating&amp;&amp;t.reviewCount?"mb-0":n?"":"mb-2","  ").concat(i&amp;&amp;t.brand||n?"":"mt-3"," ").concat(n?"w-3/5":""," ").concat(l?"full-name":""),style:T({color:o||"#000",textAlign:a?"center":"unset",fontSize:s?s.value:14,fontWeight:c?c.value:400},d&amp;&amp;u?{height:h&amp;&amp;m?m.value:u.value,overflow:"hidden"}:{}),children:t.name});break;case w._p.h6:e=(0,S.jsx)("h6",{className:"product-name ".concat(r&amp;&amp;t.averageRating&amp;&amp;t.reviewCount?"mb-0":n?"":"mb-2","  ").concat(i&amp;&amp;t.brand||n?"":"mt-3"," ").concat(n?"w-3/5":""," ").concat(l?"full-name":""),style:T({color:o||"#000",textAlign:a?"center":"unset",fontSize:s?s.value:14,fontWeight:c?c.value:400},d&amp;&amp;u?{height:h&amp;&amp;m?m.value:u.value,overflow:"hidden"}:{}),children:t.name});break;default:e=(0,S.jsx)("h3",{className:"product-name ".concat(r&amp;&amp;t.averageRating&amp;&amp;t.reviewCount?"mb-0":n?"":"mb-2","  ").concat(i&amp;&amp;t.brand||n?"":"mt-3"," ").concat(n?"w-3/5":""," ").concat(l?"full-name":""),style:T({color:o||"#000",textAlign:a?"center":"unset",fontSize:s?s.value:14,fontWeight:c?c.value:400},d&amp;&amp;u?{height:h&amp;&amp;m?m.value:u.value,overflow:"hidden"}:{}),children:t.name})}return e}()})})),k=(0,d.Pi)((function(e){var t=e.productDetail,o=e.isCenter,a=e.priceFontWeight,i=e.isRightSidePrice,r=e.productNamePriceDistance,n=e.showPriceRange,s=e.productPriceColor,l=e.hideDiscountPercentage,c=e.discountRatioBg,d=e.discountRatioColor,u=e.isUseM2Format,m=(e.discountSellPriceColor,e.hasLengthFormat),h=e.discountPriceTextColor,g=e.discountPriceBorderRadius,v=t.variants.reduce((function(e,t){return e.finalPrice&lt;t.finalPrice?e:t})),p=t.variants.reduce((function(e,t){return e.finalPrice&gt;t.finalPrice?e:t}));return(0,S.jsx)(S.Fragment,{children:(0,S.jsx)("div",{style:{justifyContent:o?"center":"unset",fontWeight:a?a.value:900,marginTop:i?0:10,height:i?"unset":t.selectedVariant.hasDiscount?40:r?r.value:40},className:"price-main",children:n?(0,S.jsx)("div",{style:{color:s||"#000"},className:"sell-price",children:v.finalPrice===p.finalPrice?v.formattedFinalPrice:(0,S.jsxs)(S.Fragment,{children:[v.formattedFinalPrice," -"," ",p.formattedFinalPrice]})}):(0,S.jsx)(S.Fragment,{children:u||m?(0,S.jsx)("div",{style:{color:s||"#000"},className:"sell-price",children:t.selectedVariantUnitPriceText}):(0,S.jsx)(S.Fragment,{children:t.selectedVariant.hasDiscount?(0,S.jsxs)("div",{className:"discount-price-main flex flex-row",children:[!l&amp;&amp;(0,S.jsxs)("div",{style:{backgroundColor:c||"#000",color:d||"#fff",fontWeight:a?a.value:900,borderRadius:(null===g||void 0===g?void 0:g.value)||0},className:"discount-percent ",children:["%",t.selectedVariant.discountPercentage]}),(0,S.jsxs)("div",{className:"flex discount-price flex-col",children:[(0,S.jsx)("span",{style:h?{color:h}:{},children:t.selectedVariant.formattedSellPrice}),(0,S.jsx)("span",{className:i?"whitespace-nowrap":"",style:{color:s||"#000"},children:t.selectedVariant.formattedFinalPrice})]})]}):(0,S.jsx)("div",{style:{color:s||"#000"},className:"sell-price",children:t.selectedVariant.formattedFinalPrice})})})})})})),R=(0,d.Pi)((function(e){var t=e.variant,o=e.displayedVariantValues,a=e.productDetail,i=e.isSquare,r=e.isMob,s=e.isColorVariantValueFirstImage,l=e.variantData,c=e.variantWidth,d=e.variantHeight,u=n.useRef(null);if(s){var m,h,v=l.images?null===(m=l.images.find((function(e){return!e.isVideo})))||void 0===m?void 0:m.image:null;return(0,S.jsx)("div",{onMouseEnter:function(){a.selectVariantValue(t,!0),clearTimeout(u.current)},onMouseLeave:function(){o&amp;&amp;o.length&amp;&amp;(u.current=setTimeout((function(){if(a.variants[0].variantValues.length&amp;&amp;a.variants.length){var e=a.variants[0].variantValues.findIndex((function(e){return!!e.colorCode||!!e.thumbnailImage}));a.selectVariantValue(a.variants[0].variantValues[-1!==e?e:0],!0)}}),1500))},style:{width:(null===c||void 0===c?void 0:c.value)||30,height:(null===d||void 0===d?void 0:d.value)||30},className:"product-variant-choice-image mr-1 sm:mr-2 md:mr-2 lg:mr-2 mb-1  relative ".concat(i?"choice-circle":"choice-square"),children:(null===(h=l.mainImage)||void 0===h?void 0:h.image)&amp;&amp;(0,S.jsx)(g.E,{image:l.mainImage.isVideo&amp;&amp;v?v:l.mainImage.image,objectFit:"contain",sizes:"100px",layout:"fill",alt:t.name})})}var p=(0,S.jsx)("div",{onClick:function(e){r&amp;&amp;(e.preventDefault(),e.stopPropagation())},onMouseEnter:function(){a.selectVariantValue(t,!0),clearTimeout(u.current)},onMouseLeave:function(){r||o&amp;&amp;o.length&amp;&amp;(u.current=setTimeout((function(){if(a.variants[0].variantValues.length&amp;&amp;a.variants.length){var e=a.variants[0].variantValues.findIndex((function(e){return!!e.colorCode||!!e.thumbnailImage}));a.selectVariantValue(a.variants[0].variantValues[-1!==e?e:0],!0)}}),1500))},className:"product-variant-choice-bg mr-1 sm:mr-2 md:mr-2 lg:mr-2 mb-1 ".concat(i?"choice-circle":"choice-square"),style:{backgroundColor:t.colorCode||""}});return t.thumbnailImage&amp;&amp;(p=(0,S.jsx)("div",{onMouseEnter:function(){a.selectVariantValue(t,!0),clearTimeout(u.current)},onMouseLeave:function(){o&amp;&amp;o.length&amp;&amp;(u.current=setTimeout((function(){a.variants[0].variantValues.length&amp;&amp;a.variants.length&amp;&amp;a.selectVariantValue(a.variants[0].variantValues[a.variants[0].variantValues.length-1],!0)}),1500))},className:"product-variant-choice-image mr-1 sm:mr-2 md:mr-2 lg:mr-2 mb-1  relative ".concat(i?"choice-circle":"choice-square"),children:(0,S.jsx)(g.E,{image:t.thumbnailImage,objectFit:"contain",sizes:"100px",layout:"fill",alt:t.name})})),p})),O=o(92777),F=o(82262),H=o(68949),z=(0,d.Pi)((function(e){var t=e.viewModel,o=e.bannerImage;return n.useEffect((function(){return window.addEventListener("resize",t.handleResize),document.addEventListener("readystatechange",(function(e){"complete"===e.target.readyState&amp;&amp;t.handleResize()})),t.handleResize(),function(){return window.removeEventListener("resize",t.handleResize)}}),[o]),(0,S.jsxs)("style",{children:[" ",t.styleVideoCss," "]})})),I=function(){function e(t){(0,O.Z)(this,e),(0,r.Z)(this,"styleVideoCss",void 0),(0,r.Z)(this,"btnKey",void 0),this.styleVideoCss="",this.btnKey=t,(0,H.ky)(this)}return(0,F.Z)(e,[{key:"handleResize",value:function(){var e,t=(null===(e=document.getElementsByClassName("products-slider-image-".concat(this.btnKey||"0"))[0])||void 0===e?void 0:e.clientHeight)||0;t&amp;&amp;(this.styleVideoCss=".product-slider-video-container-".concat(this.btnKey||"0"," { height : ").concat(t,"px !important }"))}}]),e}(),W=o(56564),_=o(25197),D=o(91213);function L(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&amp;&amp;(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,a)}return o}function M(e){for(var t=1;t&lt;arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?L(Object(o),!0).forEach((function(t){(0,r.Z)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):L(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var A=(0,d.Pi)((function(e){var t,o,a,r,l,d,B,T,O,F,H,z=e.productDetail,L=e.hideVariantOptions,A=e.productNameColor,E=e.productPriceColor,Z=e.showColors,U=e.isSquare,G=e.isImageContain,q=e.isBigBrandName,K=e.addBasketModalShow,Y=e.isDrawerOpen,J=e.isCenter,X=e.isBrandShow,$=e.imageAspectRatio,Q=e.addBasketModalShowWhenHovered,ee=e.secondImageShow,te=e.addBasketButtonPosition,oe=e.isVideoAutoPlay,ae=e.isVideoControlsHide,ie=e.showRating,re=e.showReviewCount,ne=e.addBasketButtonBorderColor,se=e.addBasketButtonTextColor,le=e.addBasketButtonBgColor,ce=e.isAddBasketGoDetailPage,de=e.showVariantOptionsName,ue=e.brandFontWeight,me=e.priceFontWeight,he=e.hideDiscountPercentage,ge=e.isFreeShippingShow,ve=e.isExistSelectedVariantUnitPriceText,pe=e.hidePrice,fe=e.forceAddToCart,xe=e.isRightSidePrice,be=e.productNameFontSize,Ce=e.isCustomComponent,we=e.buttonBorderRadius,ye=e.buttonHoverBgColor,je=e.productNamePriceDistance,Pe=e.isFullProductName,Ne=e.discountRatioBg,Se=e.discountRatioColor,Be=e.showPriceRange,Te=e.borderColor,Ve=e.showBorder,ke=e.cartBorderRadius,Re=e.showModelTags,Oe=e.modelTagTexts,Fe=e.isCenterTag,He=(e.brandHTagLevel,e.isBrandNamePTag),ze=e.discountSellPriceColor,Ie=e.isUnitPriceUnderProductName,We=e.unitPriceFontSize,_e=e.unitPriceFontWeight,De=e.removeImageBg,Le=e.modelTagColor,Me=e.hideUnitPrice,Ae=e.hideOverlay,Ee=e.modelTagBgColor,Ze=e.isBorderHoverEffect,Ue=e.isColorVariantValueFirstImage,Ge=e.variantCount,qe=e.isVariantsSlider,Ke=e.variantWidth,Ye=e.variantHeight,Je=e.productNameFontWeight,Xe=e.discountPriceTextColor,$e=e.addButtonAnimationBgColor,Qe=e.addButtonAnimationTextColor,et=e.addButtonHeight,tt=e.btnKey,ot=e.isCustomProductNameHeight,at=e.productNameHeight,it=e.isCustomerReviewsStarAlignment,rt=e.productNameHeightMobile,nt=e.isMob,st=e.tagBadges,lt=e.variantMinHeight,ct=e.condPriceHide,dt=e.discountPriceBorderRadius,ut=e.removeMargins,mt=e.productNameHTag,ht=e.rateStarColor,gt=e.isVariantDesingRaunded,vt=e.isProductNamePTag,pt=e.freeShippingLabelBgColor,ft=e.freeShippingLabelTextColor,xt=e.tagImageMobileLeft,bt=e.showViewProductText,Ct=e.viewProductTextColor,wt=e.addButtonTextFontSize,yt=e.isImageSize,jt=e.imageType,Pt=e.unitPriceTextColor,Nt=e.boxBgColor,St=e.handleClick,Bt=e.columnGap,Tt=e.showVariantName,Vt=n.useState(!1),kt=(0,i.Z)(Vt,2),Rt=kt[0],Ot=kt[1],Ft=n.useState(""),Ht=(0,i.Z)(Ft,2),zt=Ht[0],It=Ht[1],Wt=n.useState({show:!1,productId:""}),_t=(0,i.Z)(Wt,2),Dt=_t[0],Lt=_t[1],Mt=(0,m.o)(),At=j.Z.getInstance(),Et=n.useMemo((function(){return new I(tt)}),[]),Zt=n.useState(Date.now()),Ut=(0,i.Z)(Zt,2),Gt=(Ut[0],Ut[1],(0,D.Z)(!1)),qt=(0,i.Z)(Gt,2),Kt=(qt[0],qt[1]),Yt=null===(t=z.campaigns)||void 0===t?void 0:t.some((function(e){return e.campaign.type===h.LL.FREE_SHIPPING})),Jt=n.useState(""),Xt=(0,i.Z)(Jt,2),$t=(Xt[0],Xt[1],At.b2bSettings),Qt=$t.isOnlyCustomersShowText,eo=$t.onlyCustomersText,to=$t.underlineText,oo=$t.onlyCustomerTextFontSize,ao=$t.onlyCustomerTextFontWeight,io=(0,_.Z)({tags:z.tags});var ro=(0,C.useRouter)(),no=(n.useRef(null),null===st||void 0===st?void 0:st.filter((function(e){var t;return null===(t=z.tags)||void 0===t?void 0:t.find((function(t){return t.name===e.tag}))}))),so=!z.hasStock,lo=(0,p.$)().t,co=z.selectedVariant.bundleSettings,uo=function(e){if(e.preventDefault(),so)return!1;if(co)ro.push(z.productHref);else{var t=z.displayedVariantTypes.every((function(e){return 1===e.displayedVariantValues.length}));if(fe&amp;&amp;t&amp;&amp;!z.productOptionSetId)mo();else if(z.hasVariant||z.productOptionSetId)if(ce)ro.push(z.productHref);else{if(z.groupVariantsByVariantTypeId&amp;&amp;1===z.displayedVariantTypes.length&amp;&amp;!z.productOptionSetId)return void mo();po()}else mo()}},mo=function(){var e=(0,s.Z)(c().mark((function e(){var t;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Ot(!0),It(lo("common:adding")),e.next=4,Mt.cartStore.addItem(z.selectedVariant,z);case 4:t=e.sent,setTimeout((function(){It((0,S.jsx)(x.HhX,{size:25}))}),300),setTimeout((function(){Ot(!1)}),1e3),t.success&amp;&amp;Y&amp;&amp;At.setCartVisible(!0),!t.success&amp;&amp;(0,P.Le)(t.response);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ho=function(){var e=(0,s.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,z.getProductOptionSet();case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),go=function(){return(0,S.jsx)("div",{style:M(M({textAlign:J?"center":"left",fontSize:(null===We||void 0===We?void 0:We.value)||12,fontWeight:(null===_e||void 0===_e?void 0:_e.value)||400},ve?{minHeight:16}:{}),Pt?{color:Pt}:{}),className:"text-xs font-normal text-gray-600 whitespace-nowrap",children:fo.useFormat||io.hasLengthFormat?"":z.selectedVariantUnitPriceText})},vo=function(){if(z.variants[0].variantValues.length&amp;&amp;z.variants.length){var e=z.variants[0].variantValues.findIndex((function(e){return!!e.colorCode||!!e.thumbnailImage}));z.selectVariantValue(z.variants[0].variantValues[-1!==e?e:0],!0)}},po=function(){var e=(0,s.Z)(c().mark((function e(){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ho();case 2:(0,v._1)({customUI:function(e){var t=e.onClose;return(0,S.jsx)("div",{className:"add-to-basket-modal relative",children:(0,S.jsxs)("div",{children:[(0,S.jsx)("span",{onClick:function(){vo(),t()},className:"absolute top-2 right-2 text-gray-600 cursor-pointer hover:text-gray-900 modal-close-button-product",children:(0,S.jsx)(x.FU5,{size:20})}),(0,S.jsx)(b.Z,{router:ro,onClose:function(){vo(),t()},productDetail:z,isDrawerOpen:Y,hidePrice:pe,discountRatioBg:Ne,discountRatioColor:Se,productPriceColor:E,productNameColor:A,isVariantDesingRaunded:gt,buttonBorderRadius:we,showVariantName:Tt})]})})},overlayClassName:"add-to-basket-overlay-modal",onClickOutside:function(){vo()},onKeypressEscape:function(){vo()}});case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),fo=(0,W.Z)({tags:z.tags,options:null===(o=z.productOptionSet)||void 0===o?void 0:o.displayedOptions}),xo=function(e){if(no){for(var t=0,o=0;o&lt;e;o++)t+=no[o].imageHeight.value+15;return t}return 0},bo=".add-to-cart-overlay .stock.".concat("btn-".concat(tt),":hover { background-color: ",ye," !important } ");return(0,S.jsxs)(S.Fragment,{children:[!!ye&amp;&amp;(0,S.jsxs)("style",{children:[" ",bo]}),(0,S.jsx)(u.Z,{passHref:!0,href:z.productHref,children:(0,S.jsx)("a",{onClick:St,children:(0,S.jsx)("div",{style:Bt?{padding:"".concat(Bt.value,"px")}:{},className:"".concat(Ce||ut?"":"p-3"," relative overflow-hidden product-container ").concat(K?"product-list-item":""," ").concat(nt?"mobile":""," "),children:(0,S.jsxs)("div",{style:Ve?M({border:"1px solid ".concat(Te||"#000"),padding:"12px",borderRadius:ke?ke.value:0},Nt?{backgroundColor:Nt}:{}):{},className:"".concat(Ve&amp;&amp;Ze?"border-effect":""),children:[z.selectedVariant.mainImage?(0,S.jsxs)("div",{className:"relative ".concat(Dt.show&amp;&amp;Dt.productId===z.selectedVariant.id&amp;&amp;z.selectedVariant.images&amp;&amp;z.selectedVariant.images.length&gt;0&amp;&amp;z.selectedVariant.images[1]?z.selectedVariant.images[1].isVideo?"product-slider-video-container product-slider-video-container-".concat(tt):"product-slider-image-container":z.selectedVariant.mainImage.isVideo?"product-slider-video-container product-slider-video-container-".concat(tt):"product-slider-image-container"),onMouseEnter:function(){nt||ee&amp;&amp;(Lt({show:!0,productId:z.selectedVariant.id}),Et.handleResize())},onMouseLeave:function(){nt||ee&amp;&amp;(Lt({show:!1,productId:""}),Et.handleResize())},children:[so&amp;&amp;(0,S.jsx)("div",{className:"stock-status ".concat(Ae?"bg-transparent":""),children:(0,S.jsx)("span",{className:"absolute top-0 right-0",children:lo("common:soldOut")})}),!!no&amp;&amp;no.map((function(e,t){return(0,S.jsx)("div",{style:{top:0===t?8:xo(t),left:nt&amp;&amp;xt?xt.value:8},className:"absolute z-50",children:(0,S.jsx)("div",{style:{width:e.imageWidth.value,height:e.imageHeight.value},className:"relative",children:(0,S.jsx)(g.E,{image:e.image,layout:"fill",sizes:"200px",objectFit:"contain"})})})})),Yt&amp;&amp;ge&amp;&amp;(0,S.jsx)("div",{className:"free-shipping-label",children:(0,S.jsx)("span",{style:M({color:ft||"#fff"},pt?{backgroundColor:pt}:{}),className:"absolute bottom-0 right-0",children:lo("common:freeShipping")})}),function(){var e,t,o,a,i,r;return z.selectedVariant.mainImage?Dt.show&amp;&amp;Dt.productId===z.selectedVariant.id?z.selectedVariant.images&amp;&amp;z.selectedVariant.images.length&gt;0&amp;&amp;z.selectedVariant.images[1]?z.selectedVariant.images[1].isVideo?(0,S.jsx)("video",{controls:!ae,autoPlay:!!oe,loop:!!oe,muted:!0,playsInline:!0,className:"product-video-list",children:(0,S.jsx)("source",{src:null===(t=z.selectedVariant.images[1].image)||void 0===t?void 0:t.src})},null===(e=z.selectedVariant.images[1].image)||void 0===e?void 0:e.src):(0,S.jsx)(g.E,{className:"products-slider-image products-slider-image-".concat(tt," ").concat(De?"remove-bg":""),layout:"responsive",image:z.selectedVariant.images[1].image,alt:z.name,useBlur:!At.isBlurRemove,objectFit:G?"cover":"contain",width:(0,P.yU)($).width,height:(0,P.yU)($).height,sizes:"(max-width: 320px) 136px, (max-width: 450px) 360px,  (max-width: 768px) 216px, ".concat(yt&amp;&amp;jt?"".concat(jt,"px"):"400px")}):z.selectedVariant.mainImage.isVideo?(0,S.jsx)("video",{controls:!ae,autoPlay:!!oe,loop:!!oe,muted:!0,playsInline:!0,className:"product-video-list",children:(0,S.jsx)("source",{src:null===(a=z.selectedVariant.mainImage.image)||void 0===a?void 0:a.src})},null===(o=z.selectedVariant.mainImage.image)||void 0===o?void 0:o.src):(0,S.jsx)(g.E,{className:"products-slider-image products-slider-image-".concat(tt," ").concat(De?"remove-bg":""),layout:"responsive",image:z.selectedVariant.mainImage.image,alt:z.name,useBlur:!At.isBlurRemove,objectFit:G?"cover":"contain",width:(0,P.yU)($).width,height:(0,P.yU)($).height,sizes:"(max-width: 320px) 136px, (max-width: 450px) 360px,  (max-width: 768px) 216px, ".concat(yt&amp;&amp;jt?"".concat(jt,"px"):"400px")}):z.selectedVariant.mainImage.isVideo?(0,S.jsx)("video",{controls:!ae,autoPlay:!!oe,loop:!!oe,muted:!0,playsInline:!0,className:"product-video-list",children:(0,S.jsx)("source",{src:null===(r=z.selectedVariant.mainImage.image)||void 0===r?void 0:r.src})},null===(i=z.selectedVariant.mainImage.image)||void 0===i?void 0:i.src):(0,S.jsx)(g.E,{className:"products-slider-image products-slider-image-".concat(tt," ").concat(De?"remove-bg":""),layout:"responsive",image:z.selectedVariant.mainImage.image,alt:z.name,useBlur:!At.isBlurRemove,objectFit:G?"cover":"contain",width:(0,P.yU)($).width,height:(0,P.yU)($).height,sizes:"(max-width: 320px) 136px, (max-width: 450px) 360px,  (max-width: 768px) 216px, ".concat(yt&amp;&amp;jt?"".concat(jt,"px"):"400px")}):null}(),(0,S.jsxs)("div",{className:"add-to-cart-overlay absolute mb-0 bottom-3 overlay-hover ".concat(Q?"":"hide"," ").concat(pe?"hide":""," "),style:{marginBottom:0},children:[Rt?(0,S.jsx)("button",{style:{borderRadius:null!==(a=null===we||void 0===we?void 0:we.value)&amp;&amp;void 0!==a?a:0,backgroundColor:$e||"#ededed",color:Qe||"#000"},className:"out-of-stock",children:so?lo("common:outOfStock"):zt}):(0,S.jsx)("button",{style:so?{borderRadius:we?we.value:0,height:(null===et||void 0===et?void 0:et.value)||44}:M({borderColor:ne||"#000",color:se||"#232323",backgroundColor:le||"#fff",borderRadius:we?we.value:0,height:(null===et||void 0===et?void 0:et.value)||44},wt?{fontSize:null===wt||void 0===wt?void 0:wt.value}:{}),className:"".concat(so&amp;&amp;!Rt?"out-of-stock":"stock"," ","btn-".concat(tt)),onClick:function(e){uo(e)},children:lo(so?"common:outOfStock":"common:addBasket")}),!!bt&amp;&amp;(0,S.jsx)("div",{style:Ct?{color:Ct}:{},className:"mt-2 flex justify-center items-center text-center font-medium",children:(0,S.jsx)(u.Z,{passHref:!0,href:z.productHref,children:(0,S.jsx)("a",{children:lo("common:viewProduct")})})})]})]}):(0,S.jsx)("div",{className:"product-no-image"}),(0,S.jsxs)("div",{className:" products-slider-info-main product-list-item-info relative",children:[!!K&amp;&amp;!pe&amp;&amp;te&amp;&amp;te===w.qF.TOP&amp;&amp;(0,S.jsx)("div",{className:"add-to-cart-overlay",children:Rt?(0,S.jsx)("button",{style:{borderRadius:null!==(r=null===we||void 0===we?void 0:we.value)&amp;&amp;void 0!==r?r:0,backgroundColor:$e||"#ededed",color:Qe||"#000"},className:"out-of-stock",children:so?lo("common:outOfStock"):zt}):(0,S.jsx)("button",{style:so?{borderRadius:we?we.value:0,height:(null===et||void 0===et?void 0:et.value)||44}:M({borderColor:ne||"#000",color:se||"#232323",backgroundColor:le||"#fff",borderRadius:we?we.value:0,height:(null===et||void 0===et?void 0:et.value)||44},wt?{fontSize:null===wt||void 0===wt?void 0:wt.value}:{}),className:"".concat(so&amp;&amp;!Rt?"out-of-stock":"stock"," ","btn-".concat(tt)),onClick:function(e){uo(e)},children:lo(so?"common:outOfStock":"common:addBasket")})}),!!K&amp;&amp;!te&amp;&amp;!pe&amp;&amp;(0,S.jsx)("div",{className:"add-to-cart-overlay",children:Rt?(0,S.jsx)("button",{style:{borderRadius:null!==(l=null===we||void 0===we?void 0:we.value)&amp;&amp;void 0!==l?l:0,backgroundColor:$e||"#ededed",color:Qe||"#000"},className:"out-of-stock",children:so?lo("common:outOfStock"):zt}):(0,S.jsx)("button",{style:so?{height:(null===et||void 0===et?void 0:et.value)||44}:M({borderColor:ne||"#000",color:se||"#232323",backgroundColor:le||"#fff",borderRadius:we?we.value:0,height:(null===et||void 0===et?void 0:et.value)||44},wt?{fontSize:null===wt||void 0===wt?void 0:wt.value}:{}),className:"".concat(so&amp;&amp;!Rt?"out-of-stock":"stock"," ","btn-".concat(tt)),onClick:function(e){uo(e)},children:lo(so?"common:outOfStock":"common:addBasket")})}),!!X&amp;&amp;(He?(0,S.jsx)("p",{className:"brand",style:{color:A||"#000",textAlign:J?"center":"unset",fontWeight:ue?ue.value:700},children:q?null===(d=z.brand)||void 0===d?void 0:d.name.toLocaleUpperCase(y.Y.getCurrentLocale()):null===(B=z.brand)||void 0===B?void 0:B.name}):(0,S.jsx)("h2",{className:"brand",style:{color:A||"#000",textAlign:J?"center":"unset",fontWeight:ue?ue.value:700},children:q?null===(T=z.brand)||void 0===T?void 0:T.name.toLocaleUpperCase(y.Y.getCurrentLocale()):null===(O=z.brand)||void 0===O?void 0:O.name})),!!Re&amp;&amp;(0,S.jsx)("div",{style:{justifyContent:Fe?"center":"unset"},className:"flex flex-wrap gap-2 mb-1 mt-1",children:null===(F=z.tags)||void 0===F?void 0:F.filter((function(e){return null===Oe||void 0===Oe?void 0:Oe.includes(e.name)})).map((function(e){return(0,S.jsx)("span",{className:"flex",style:{color:Le||"#000",textTransform:q?"uppercase":"none",fontWeight:400,fontSize:nt?12:14,backgroundColor:Ee||"transparent",padding:Ee?"5px 10px":0},children:"".concat(e.name," ")})}))}),xe?(0,S.jsxs)("div",{className:"flex justify-between items-center mb-2 ".concat(X&amp;&amp;z.brand?"":"mt-3"),children:[(0,S.jsx)(V,{productDetail:z,productNameColor:A,isCenter:J,isBrandShow:X,showRating:ie,productNameFontSize:be,isFullProductName:Pe,isRightSidePrice:xe,productNameFontWeight:Je,isCustomProductNameHeight:ot,productNameHeight:at,productNameHeightMobile:rt,isMob:nt,productNameHTag:mt,isProductNamePTag:vt}),!pe&amp;&amp;!(!z.hasStock&amp;&amp;ct)&amp;&amp;(0,S.jsx)(k,{productDetail:z,isCenter:J,priceFontWeight:me,isRightSidePrice:xe,productNamePriceDistance:je,showPriceRange:Be,productPriceColor:E,hideDiscountPercentage:he,discountRatioBg:Ne,discountRatioColor:Se,isUseM2Format:fo.useFormat,hasLengthFormat:io.hasLengthFormat,discountSellPriceColor:ze,discountPriceTextColor:Xe,discountPriceBorderRadius:dt})]}):(0,S.jsx)(V,{productDetail:z,productNameColor:A,isCenter:J,isBrandShow:X,showRating:ie,productNameFontSize:be,isFullProductName:Pe,isRightSidePrice:xe,productNameFontWeight:Je,isCustomProductNameHeight:ot,productNameHeight:at,productNameHeightMobile:rt,isMob:nt,productNameHTag:mt,isProductNamePTag:vt}),ie&amp;&amp;z.averageRating&amp;&amp;z.reviewCount?(0,S.jsxs)("div",{className:"flex flex-col sm:flex-col md:flex-row lg:flex-row items-start sm:items-start md:items-center lg:items-center -mt-1 space-x-0 sm:space-x-0 md:space-x-2 lg:space-x-2 ".concat(J?"items-center justify-center":""),style:{textAlign:J?"center":"unset"},children:[(0,S.jsx)("div",{children:(0,S.jsx)(N.Z,{svgIconViewBox:"0 0 576 512",svgIconPath:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z",rating:z.averageRating||0,starRatedColor:"".concat(ht||"#f7c603"),numberOfStars:5,name:"rating",starDimension:"16px",starSpacing:"1px"})}),!!re&amp;&amp;(0,S.jsx)("span",{style:{color:A||"#000"},className:"text-xs mt-1 font-light",children:lo("common:totalReviewSummaryCard",{fieldName:z.reviewCount})})]}):ie&amp;&amp;it?(0,S.jsx)("span",{className:"flex ".concat(re?"h-[32px] sm:h-[32px]":"h-[12px] sm:h-[12px]"," md:h-[12px] lg:h-[12px]")}):null,!Me&amp;&amp;Ie&amp;&amp;!Kt&amp;&amp;(0,S.jsx)(go,{}),(0,S.jsxs)("div",{children:[!pe&amp;&amp;!xe&amp;&amp;!(!z.hasStock&amp;&amp;ct)&amp;&amp;(0,S.jsx)(k,{productDetail:z,isCenter:J,priceFontWeight:me,isRightSidePrice:xe,productNamePriceDistance:je,showPriceRange:Be,productPriceColor:E,hideDiscountPercentage:he,discountRatioBg:Ne,discountRatioColor:Se,isUseM2Format:fo.useFormat,hasLengthFormat:io.hasLengthFormat,discountSellPriceColor:ze,discountPriceTextColor:Xe,discountPriceBorderRadius:dt}),!Me&amp;&amp;!Ie&amp;&amp;!Kt&amp;&amp;(0,S.jsx)(go,{}),Z&amp;&amp;z.displayedVariantTypes.length&gt;0?(0,S.jsxs)("div",{style:{justifyContent:J?"center":"unset",minHeight:qe?"42px":"34px"},className:"mt-2 flex ".concat(qe?"variant__slider__design":"flex-wrap items-center"),children:[z.displayedVariantTypes.map((function(e,t){var o=e.variantType,a=e.displayedVariantValues;return 0!==t?null:o.selectionType===f.C.COLOR&amp;&amp;a.map((function(e,t){var o=e.variantValue,i=(e.hasStock,e.isSelected,e.variant);if(t&lt;((null===Ge||void 0===Ge?void 0:Ge.value)||4))return(0,S.jsx)(R,{variant:o,displayedVariantValues:a,isMob:nt,isSquare:U,productDetail:z,isColorVariantValueFirstImage:Ue,variantData:i,variantWidth:Ke,variantHeight:Ye},o.id)}))})),z.displayedVariantTypes.map((function(e,t){var o=e.variantType,a=e.displayedVariantValues;return 0!==t?null:o.selectionType===f.C.COLOR&amp;&amp;a.length&gt;((null===Ge||void 0===Ge?void 0:Ge.value)||4)?(0,S.jsx)("div",{className:"product-variant-choice-bg borderless  flex items-center justify-center  text-gray-400 text-sm ",children:"+"+(a.length-((null===Ge||void 0===Ge?void 0:Ge.value)||4))}):null}))]}):(0,S.jsxs)(S.Fragment,{children:[!L&amp;&amp;(0,S.jsx)("div",{style:M({color:E||"#000",textAlign:J?"center":"unset"},lt?{height:lt.value,overflow:"hidden"}:{}),className:"variant",children:function(){var e="";return z.displayedVariantTypes.map((function(t){return e+=t.displayedVariantValues.length+" "+t.variantType.name+" "})),e}()}),!!de&amp;&amp;(0,S.jsx)("div",{style:{color:E||"#000",textAlign:J?"center":"unset"},className:"variant inline-block",children:function(){var e="";return z.displayedVariantTypes.map((function(t){return t.displayedVariantValues.map((function(t){return e+=t.variantValue.name+", "}))})),e.substring(0,e.length-2)}()})]}),pe&amp;&amp;Qt&amp;&amp;eo&amp;&amp;(0,S.jsx)(u.Z,{passHref:!0,href:"/account/login",children:(0,S.jsx)("a",{children:(0,S.jsx)("div",{style:M(M({},oo?{fontSize:oo}:{}),ao?{fontWeight:ao}:{}),className:"text-sm mt-4",dangerouslySetInnerHTML:{__html:(to?eo.replace(to,'&lt;span class="underline"&gt;'.concat(to,"&lt;/span&gt;")):"&lt;span&gt;".concat(eo,"&lt;/span&gt;"))||""}})})}),!!K&amp;&amp;!pe&amp;&amp;te&amp;&amp;te===w.qF.BOTTOM&amp;&amp;(0,S.jsx)("div",{className:"add-to-cart-overlay mt-2",children:Rt?(0,S.jsx)("button",{style:{borderRadius:null!==(H=null===we||void 0===we?void 0:we.value)&amp;&amp;void 0!==H?H:0,backgroundColor:$e||"#ededed",color:Qe||"#000"},className:"out-of-stock",children:so?lo("common:outOfStock"):zt}):(0,S.jsx)("button",{style:so?{borderRadius:we?we.value:0,height:(null===et||void 0===et?void 0:et.value)||44}:M({borderColor:ne||"#000",color:se||"#232323",backgroundColor:le||"#fff",borderRadius:we?we.value:0,height:(null===et||void 0===et?void 0:et.value)||44},wt?{fontSize:null===wt||void 0===wt?void 0:wt.value}:{}),className:"".concat(so&amp;&amp;!Rt?"out-of-stock":"stock"," ","btn-".concat(tt)),onClick:function(e){uo(e)},children:lo(so?"common:outOfStock":"common:addBasket")})})]})]})]})})})})]})})),E=o(46066),Z=o(36977),U=o(7696),G=o(96825),q=o(59359),K=["currentSlide","slideCount"],Y=["currentSlide","slideCount"];function J(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&amp;&amp;(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,a)}return o}function X(e){for(var t=1;t&lt;arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?J(Object(o),!0).forEach((function(t){(0,r.Z)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):J(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var $=(0,d.Pi)((function(e){var t,o=e.productsList,r=e.title,s=e.bgColor,l=e.hideVariantOptions,c=e.titleColor,d=e.productNameColor,m=e.productPriceColor,h=e.isImageContain,v=e.showColors,p=e.isSquare,f=e.isBigBrandName,b=e.addBasketModalShow,C=e.isDrawerOpen,j=e.isCenter,P=e.isBrandShow,N=e.imageAspectRatio,B=e.titlePosition,T=e.fontSize,V=e.fontWeight,k=e.itemCount,R=e.addBasketModalShowWhenHovered,O=e.secondImageShow,F=e.addBasketButtonPosition,H=e.isVideoAutoPlay,W=e.isVideoControlsHide,_=e.showRating,L=e.showReviewCount,M=e.addBasketButtonBorderColor,J=e.addBasketButtonTextColor,$=e.addBasketButtonBgColor,Q=e.isArrowsDesingWithBg,ee=e.isAddBasketGoDetailPage,te=e.showVariantOptionsName,oe=e.brandFontWeight,ae=e.priceFontWeight,ie=e.hideDiscountPercentage,re=e.isFreeShipping,ne=e.hidePrice,se=e.bannerImage,le=e.isBannerImageContain,ce=e.forceAddToCart,de=e.isRightSidePrice,ue=e.productNameFontSize,me=e.allProductLink,he=e.buttonBorderRadius,ge=e.buttonHoverBgColor,ve=e.arrowDesign,pe=e.arrowBorderPx,fe=e.isFullProductName,xe=e.discountRatioBg,be=e.discountRatioColor,Ce=e.showPriceRange,we=e.borderColor,ye=e.showBorder,je=e.cartBorderRadius,Pe=e.showModelTags,Ne=e.modelTagTexts,Se=e.isCenterTag,Be=e.isBrandNamePTag,Te=e.isUnitPriceUnderProductName,Ve=e.unitPriceFontSize,ke=e.unitPriceFontWeight,Re=e.titleLink,Oe=e.allProductLinkBottom,Fe=e.allProductLinkBottomColor,He=e.allProductLinkBottomBgColor,ze=e.removeImageBg,Ie=e.arrowBgColor,We=e.arrowsColor,_e=e.modelTagColor,De=e.hideUnitPrice,Le=e.hideOverlay,Me=e.arrowsTopHeight,Ae=e.modelTagBgColor,Ee=e.isBorderHoverEffect,Ze=e.isColorVariantValueFirstImage,Ue=e.variantCount,Ge=e.isVariantsSlider,qe=e.variantWidth,Ke=e.variantHeight,Ye=e.titleHTag,Je=e.productNameFontWeight,Xe=e.discountPriceTextColor,$e=e.addButtonAnimationBgColor,Qe=e.addButtonAnimationTextColor,et=e.addButtonHeight,tt=e.isCustomProductNameHeight,ot=e.productNameHeight,at=e.isCustomerReviewsStarAlignment,it=e.productNameHeightMobile,rt=e.tagBadges,nt=e.variantMinHeight,st=e.bottomLinkBorderRadius,lt=e.condPriceHide,ct=e.discountPriceBorderRadius,dt=e.removeMargins,ut=e.productNameHTag,mt=e.arrowBorderRadius,ht=e.rateStarColor,gt=e.isVariantDesingRaunded,vt=e.titlePTag,pt=e.isProductNamePTag,ft=e.mobilePaddingTopBottom,xt=e.freeShippingLabelBgColor,bt=e.freeShippingLabelTextColor,Ct=e.isAutoPlay,wt=e.autoPlayDuration,yt=e.tagImageMobileLeft,jt=e.showViewProductText,Pt=e.viewProductTextColor,Nt=e.addButtonTextFontSize,St=e.isImageSize,Bt=e.imageType,Tt=e.unitPriceTextColor,Vt=e.bannerImageLink,kt=e.boxBgColor,Rt=e.columnGap,Ot=function(){if(!ve)return(0,S.jsx)(x.KEG,{size:20,style:X({marginLeft:2},We&amp;&amp;Q?{color:We}:{}),className:"product-slider-arrow-right",color:"#000"});switch(ve){case w.JY.ARROW_ONE:return(0,S.jsx)(x.KEG,{size:20,style:X({marginLeft:2},We&amp;&amp;Q?{color:We}:{}),className:"product-slider-arrow-right",color:"#000"});case w.JY.ARROW_TWO:return(0,S.jsx)(Z.p6n,{size:14,style:X({marginLeft:2},We&amp;&amp;Q?{color:We}:{}),className:"product-slider-arrow-right",color:"#000"});case w.JY.ARROW_THREE:return(0,S.jsx)(U.jfD,{size:20,style:X({marginLeft:2},We&amp;&amp;Q?{color:We}:{}),className:"product-slider-arrow-right",color:"#000"});default:return(0,S.jsx)(x.KEG,{size:20,style:X({marginLeft:2},We&amp;&amp;Q?{color:We}:{}),className:"product-slider-arrow-right",color:"#000"})}},Ft=function(){if(!ve)return(0,S.jsx)(x.rpj,{style:X({marginLeft:7},We&amp;&amp;Q?{color:We}:{}),size:20,color:"#000"});switch(ve){case w.JY.ARROW_ONE:return(0,S.jsx)(x.rpj,{style:X({marginLeft:7},We&amp;&amp;Q?{color:We}:{}),size:20,color:"#000"});case w.JY.ARROW_TWO:return(0,S.jsx)(Z.YNj,{style:X({marginLeft:0},We&amp;&amp;Q?{color:We}:{}),size:14,color:"#000"});case w.JY.ARROW_THREE:return(0,S.jsx)(U.jW7,{style:X({marginLeft:0},We&amp;&amp;Q?{color:We}:{}),size:20,color:"#000"});default:return(0,S.jsx)(x.rpj,{style:X({marginLeft:7},We&amp;&amp;Q?{color:We}:{}),size:20,color:"#000"})}},Ht=(0,D.Z)(!!ne),zt=(0,i.Z)(Ht,2),It=zt[0],Wt=zt[1],_t=n.useState(Math.floor(300*Math.random())),Dt=(0,i.Z)(_t,2),Lt=Dt[0],Mt=(Dt[1],n.useMemo((function(){return new I(Lt)}),[])),At=n.useState(!1),Et=(0,i.Z)(At,2),Zt=Et[0],Ut=Et[1],Gt=(0,G.Z)(q.tq),qt=(0,i.Z)(Gt,1)[0],Kt=function(e){e.currentSlide,e.slideCount;var t=(0,a.Z)(e,K);return(0,S.jsx)("div",X(X({},t),{},{style:X(Q&amp;&amp;Ie?{backgroundColor:Ie,top:"".concat(null===Me||void 0===Me?void 0:Me.value,"%")||0}:{top:"".concat(null===Me||void 0===Me?void 0:Me.value,"%")||0},mt?{borderRadius:"".concat(mt.value,"px")}:{}),className:"".concat(t.className," ").concat(Q?"with-bg":""," ").concat(We?"arrow-color":""),children:Ot()}))},Yt=function(e){e.currentSlide,e.slideCount;var t=(0,a.Z)(e,Y);return(0,S.jsx)("div",X(X({},t),{},{style:X(Q&amp;&amp;Ie?{backgroundColor:Ie,top:"".concat(null===Me||void 0===Me?void 0:Me.value,"%")||0}:{top:"".concat(null===Me||void 0===Me?void 0:Me.value,"%")||0},mt?{borderRadius:"".concat(mt.value,"px")}:{}),className:"".concat(t.className," ").concat(Q?"with-bg":""," ").concat(We?"arrow-color":""),children:Ft()}))},Jt=n.useState({dots:!1,infinite:o.data.length&gt;4,speed:500,slidesToShow:k?k.value:4,arrows:!0,slidesToScroll:k?k.value:4,autoplay:Ct,autoplaySpeed:Ct?wt?1e3*wt.value:3e3:void 0,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3,infinite:!0,dots:!1,lazyLoad:"ondemand"}},{breakpoint:768,settings:{slidesToShow:3,slidesToScroll:3,lazyLoad:"ondemand"}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:2,lazyLoad:"ondemand"}},{breakpoint:480,settings:{slidesToShow:2,slidesToScroll:2,lazyLoad:"ondemand"}}]}),Xt=(0,i.Z)(Jt,2),$t=Xt[0],Qt=Xt[1];n.useEffect((function(){Qt(X(X({},$t),{},{infinite:o.data.length&gt;4,autoplay:Ct,autoplaySpeed:Ct?wt?1e3*wt.value:3e3:void 0},k?{slidesToScroll:k.value,slidesToShow:k.value}:{}))}),[Ct,wt,k,o.data.length]);var eo=n.useRef(null);n.useEffect((function(){eo.current&amp;&amp;o.isLastViewed&amp;&amp;(eo.current.slickGoTo(0),setTimeout((function(){Ut(!1)}),1e3))}),[o.data.length]);var to=function(){if(vt)return(0,S.jsx)("p",{className:"flex ".concat(oo()," ").concat(me?"slider__with__link":""),style:{color:c||"#000",fontSize:T?T.value:"2.2rem",fontWeight:V?V.value:900},children:r});var e=(0,S.jsx)("h2",{className:"flex ".concat(oo()," ").concat(me?"slider__with__link":""),style:{color:c||"#000",fontSize:T?T.value:"2.2rem",fontWeight:V?V.value:900},children:r});switch(Ye){case w._p.h1:e=(0,S.jsx)("h1",{className:"flex ".concat(oo()," ").concat(me?"slider__with__link":""),style:{color:c||"#000",fontSize:T?T.value:"2.2rem",fontWeight:V?V.value:900},children:r});break;case w._p.h2:e=(0,S.jsx)("h2",{className:"flex ".concat(oo()," ").concat(me?"slider__with__link":""),style:{color:c||"#000",fontSize:T?T.value:"2.2rem",fontWeight:V?V.value:900},children:r});break;case w._p.h3:e=(0,S.jsx)("h3",{className:"flex ".concat(oo()," ").concat(me?"slider__with__link":""),style:{color:c||"#000",fontSize:T?T.value:"2.2rem",fontWeight:V?V.value:900},children:r});break;case w._p.h4:e=(0,S.jsx)("h4",{className:"flex ".concat(oo()," ").concat(me?"slider__with__link":""),style:{color:c||"#000",fontSize:T?T.value:"2.2rem",fontWeight:V?V.value:900},children:r});break;case w._p.h5:e=(0,S.jsx)("h5",{className:"flex ".concat(oo()," ").concat(me?"slider__with__link":""),style:{color:c||"#000",fontSize:T?T.value:"2.2rem",fontWeight:V?V.value:900},children:r});break;case w._p.h6:e=(0,S.jsx)("h6",{className:"flex ".concat(oo()," ").concat(me?"slider__with__link":""),style:{color:c||"#000",fontSize:T?T.value:"2.2rem",fontWeight:V?V.value:900},children:r});break;default:"flex ".concat(oo()," ").concat(me?"slider__with__link":""),T&amp;&amp;T.value,V&amp;&amp;V.value}return e},oo=function(){if(!B)return"justify-start";switch(B){case w.I6.LEFT:return"justify-start";case w.I6.CENTER:return"justify-center text-center";case w.I6.RIGHT:return"justify-end"}},ao=o.data.some((function(e){return e.selectedVariantUnitPriceText}));if(y.Y.isB2BStorefront()&amp;&amp;It)return null;var io=".products-slider-main .slick-arrow.slick-prev {\n    border-width: ".concat(pe?pe.value:2,"px !important\n  } \n  \n  .products-slider-main .slick-arrow.slick-next {\n    border-width: ").concat(pe?pe.value:2,"px !important\n  } \n  ");return(0,S.jsxs)("div",{style:{backgroundColor:s},children:[!!pe&amp;&amp;(0,S.jsx)("style",{children:io}),(0,S.jsx)(z,{bannerImage:se,viewModel:Mt}),(0,S.jsxs)("div",{style:ft&amp;&amp;qt?{paddingTop:"".concat(ft.value,"px"),paddingBottom:"".concat(ft.value,"px")}:{},className:"container products-slider-main mx-auto relative pb-8 pt-8",children:[(0,S.jsxs)("div",{className:"products-slider-title relative",children:[r&amp;&amp;o.data.length?Re?(0,S.jsx)(u.Z,{passHref:!0,href:Re.href,children:(0,S.jsx)("a",{children:to()})}):to():null,!!me&amp;&amp;(0,S.jsx)("div",{className:"flex absolute right-4 sm:right-4 md:right-0 lg:right-0 top-2/4 -translate-y-2/4 product-slider-all-link",children:(0,S.jsx)(u.Z,{passHref:!0,href:me.href,children:(0,S.jsxs)("a",{className:"hover:underline text-sm flex items-center space-x-2",children:[(0,S.jsx)("span",{children:me.label}),(0,S.jsx)("span",{children:(0,S.jsx)(x.KEG,{})})]})})})]}),se?(0,S.jsxs)("div",{className:"flex",children:[(0,S.jsx)("div",{className:"w-1/4 relative p-3 hidden sm:hidden md:hidden lg:block",children:(0,S.jsx)("div",{className:"relative w-full h-full",children:Vt?(0,S.jsx)(u.Z,{passHref:!0,href:Vt.href,children:(0,S.jsx)("a",{children:(0,S.jsx)(g.E,{layout:"fill",objectFit:le?"contain":"cover",alt:"",image:se,sizes:"500px",className:""})})}):(0,S.jsx)(g.E,{layout:"fill",objectFit:le?"contain":"cover",alt:"",image:se,sizes:"500px",className:""})})}),(0,S.jsx)("div",{className:"w-full sm:full md:full lg:w-3/4",children:(0,S.jsx)(E.Z,X(X({ref:eo,nextArrow:(0,S.jsx)(Kt,{}),prevArrow:(0,S.jsx)(Yt,{})},$t),{},{beforeChange:function(){Ut(!0)},afterChange:function(){Ut(!1)},children:o.data.map((function(e){return(0,S.jsx)(A,{productDetail:e,productPriceColor:m,productNameColor:d,hideVariantOptions:l,showColors:v,isSquare:p,isImageContain:h,isBigBrandName:f,addBasketModalShow:b,isDrawerOpen:C,isCenter:j,isBrandShow:P,imageAspectRatio:N,addBasketModalShowWhenHovered:R,secondImageShow:O,addBasketButtonPosition:F,isVideoAutoPlay:H,isVideoControlsHide:W,showRating:_,showReviewCount:L,addBasketButtonBorderColor:M,addBasketButtonTextColor:J,addBasketButtonBgColor:$,isAddBasketGoDetailPage:ee,showVariantOptionsName:te,brandFontWeight:oe,priceFontWeight:ae,hideDiscountPercentage:ie,isFreeShippingShow:re,isExistSelectedVariantUnitPriceText:ao,hidePrice:Wt,forceAddToCart:ce,isRightSidePrice:de,productNameFontSize:ue,buttonBorderRadius:he,buttonHoverBgColor:ge,isFullProductName:fe,discountRatioBg:xe,discountRatioColor:be,showPriceRange:Ce,borderColor:we,showBorder:ye,cartBorderRadius:je,showModelTags:Pe,modelTagTexts:Ne,isCenterTag:Se,isBrandNamePTag:Be,isUnitPriceUnderProductName:Te,unitPriceFontSize:Ve,unitPriceFontWeight:ke,removeImageBg:ze,modelTagColor:_e,hideUnitPrice:De,hideOverlay:Le,modelTagBgColor:Ae,isBorderHoverEffect:Ee,isColorVariantValueFirstImage:Ze,variantCount:Ue,isVariantsSlider:Ge,variantWidth:qe,variantHeight:Ke,productNameFontWeight:Je,discountPriceTextColor:Xe,addButtonAnimationBgColor:$e,addButtonAnimationTextColor:Qe,addButtonHeight:et,btnKey:Lt,isCustomProductNameHeight:tt,productNameHeight:ot,isCustomerReviewsStarAlignment:at,productNameHeightMobile:it,isMob:qt,tagBadges:rt,variantMinHeight:nt,condPriceHide:lt,discountPriceBorderRadius:ct,removeMargins:dt,productNameHTag:ut,rateStarColor:ht,isVariantDesingRaunded:gt,isProductNamePTag:pt,freeShippingLabelBgColor:xt,freeShippingLabelTextColor:bt,tagImageMobileLeft:yt,showViewProductText:jt,viewProductTextColor:Pt,addButtonTextFontSize:Nt,isImageSize:St,imageType:Bt,unitPriceTextColor:Tt,boxBgColor:kt,handleClick:function(e){Zt&amp;&amp;e.preventDefault()},columnGap:Rt},e.selectedVariant.id)}))}))})]}):(0,S.jsx)(E.Z,X(X({ref:eo,nextArrow:(0,S.jsx)(Kt,{}),prevArrow:(0,S.jsx)(Yt,{})},$t),{},{beforeChange:function(){Ut(!0)},afterChange:function(){Ut(!1)},children:o.data.map((function(e){return(0,S.jsx)(A,{productDetail:e,productPriceColor:m,productNameColor:d,hideVariantOptions:l,showColors:v,isSquare:p,isImageContain:h,isBigBrandName:f,addBasketModalShow:b,isDrawerOpen:C,isCenter:j,isBrandShow:P,imageAspectRatio:N,addBasketModalShowWhenHovered:R,secondImageShow:O,addBasketButtonPosition:F,isVideoAutoPlay:H,isVideoControlsHide:W,showRating:_,showReviewCount:L,addBasketButtonBorderColor:M,addBasketButtonTextColor:J,addBasketButtonBgColor:$,isAddBasketGoDetailPage:ee,showVariantOptionsName:te,brandFontWeight:oe,priceFontWeight:ae,hideDiscountPercentage:ie,isFreeShippingShow:re,isExistSelectedVariantUnitPriceText:ao,hidePrice:Wt,forceAddToCart:ce,isRightSidePrice:de,productNameFontSize:ue,buttonBorderRadius:he,buttonHoverBgColor:ge,isFullProductName:fe,discountRatioBg:xe,discountRatioColor:be,showPriceRange:Ce,borderColor:we,showBorder:ye,cartBorderRadius:je,showModelTags:Pe,modelTagTexts:Ne,isCenterTag:Se,isBrandNamePTag:Be,isUnitPriceUnderProductName:Te,unitPriceFontSize:Ve,unitPriceFontWeight:ke,removeImageBg:ze,modelTagColor:_e,hideUnitPrice:De,hideOverlay:Le,modelTagBgColor:Ae,isBorderHoverEffect:Ee,isColorVariantValueFirstImage:Ze,variantCount:Ue,isVariantsSlider:Ge,variantWidth:qe,variantHeight:Ke,productNameFontWeight:Je,discountPriceTextColor:Xe,addButtonAnimationBgColor:$e,addButtonAnimationTextColor:Qe,addButtonHeight:et,btnKey:Lt,isCustomProductNameHeight:tt,productNameHeight:ot,isCustomerReviewsStarAlignment:at,productNameHeightMobile:it,isMob:qt,tagBadges:rt,variantMinHeight:nt,condPriceHide:lt,discountPriceBorderRadius:ct,removeMargins:dt,productNameHTag:ut,rateStarColor:ht,isVariantDesingRaunded:gt,isProductNamePTag:pt,freeShippingLabelBgColor:xt,freeShippingLabelTextColor:bt,tagImageMobileLeft:yt,showViewProductText:jt,viewProductTextColor:Pt,addButtonTextFontSize:Nt,isImageSize:St,imageType:Bt,unitPriceTextColor:Tt,boxBgColor:kt,handleClick:function(e){Zt&amp;&amp;e.preventDefault()},columnGap:Rt},e.selectedVariant.id)}))})),!!Oe&amp;&amp;(0,S.jsx)("div",{className:"flex justify-center mt-4",children:(0,S.jsx)(u.Z,{passHref:!0,href:Oe.href,children:(0,S.jsx)("a",{className:"text-sm font-bold min-w-[150px] flex items-center justify-center text-center layout_images_button_link",style:{padding:11,backgroundColor:He||"#000000",color:Fe||"#ffffff",borderRadius:null!==(t=null===st||void 0===st?void 0:st.value)&amp;&amp;void 0!==t?t:0},children:Oe.label})})})]})]})}))}}]);</pre></body></html>