1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[183,580,1761,2512,2513,9911],{388:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>a});var d=l(37876);l(14232);let a=e=>{var t;let{customType:l,customSize:a,backgroundStyle:o,borderStyle:i,customClass:n,enableShine:s=!1,children:c,...r}=e,u="text-xs md:text-base font-semibold rounded-md md:rounded-xl",m=(null==o?void 0:o.color)?"bg-".concat(null==o?void 0:o.color):"",x=null!=(t=null==i?void 0:i.color)?t:"";return o&&(m=(null==o?void 0:o.color)?"bg-".concat(null==o?void 0:o.color," hover:bg-").concat(null==o?void 0:o.hoverColor):""),i&&(x=(null==i?void 0:i.color)?"border border-".concat(null==i?void 0:i.color," text-").concat(null==i?void 0:i.textColor):""),["primary","secondary"].includes(l)&&(u="".concat(u," ").concat(m," ").concat(x," ").concat("large"==a?"px-3 w-[122px] h-[36px] md:w-[208px] md:h-[64px] leading-[14px] md-leading-[22px]":"px-2 w-[89px] h-[28px] md:w-[128px] md:h-[36px] leading-[14px] md-leading-[22px]")),(0,d.jsx)("button",{type:"button",className:"".concat(u," ").concat(n," ").concat(s?"shiny-btn":""),...r,children:c})}},2513:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>b});var d=l(37876),a=l(98433),o=l(6825),i=l(79096),n=l(50377),s=l(388),c=l(51312),r=l(85775),u=l(40919),m=l(10967),x=l(14232);let p=e=>{var t,l,o,p,h,b,v,g,f,k,_,j;let y=null==e?void 0:e.keyValue,C=null==e?void 0:e.item,T=null==e?void 0:e.openWVProps,N=(0,m.hj)(null==e?void 0:e.deviceType,null==e?void 0:e.deviceType,""),w=(0,m.hj)(null==e?void 0:e.cksCouponsDetailsData,null==e?void 0:e.cksCouponsDetailsData,{}),S=null==w?void 0:w.attributes,E=null==S?void 0:S.merchant,D=null==S?void 0:S.price,A=null==w?void 0:w.id,O=null==E?void 0:E.offer_id,P=null==D?void 0:D.cashback_amount,I=(0,m.hj)(null==E?void 0:E.cashback_type,null==E?void 0:E.cashback_type,""),R=(0,m.hj)(null==S?void 0:S.cashback_url,null==S?void 0:S.cashback_url,"");(null==e||null==(t=e.ppsExitClickObject)?void 0:t.pageType)=="pps"&&(A=(0,m.hj)(null==e||null==(l=e.ppsExitClickObject)?void 0:l.productId,null==e||null==(o=e.ppsExitClickObject)?void 0:o.productId,""),O=(0,m.hj)(null==e||null==(p=e.ppsExitClickObject)?void 0:p.storeId,null==e||null==(h=e.ppsExitClickObject)?void 0:h.storeId,""),P=(0,m.hj)(null==e||null==(b=e.ppsExitClickObject)?void 0:b.cashbackAmount,null==e||null==(v=e.ppsExitClickObject)?void 0:v.cashbackAmount,0),I=(0,m.hj)(null==e||null==(g=e.ppsExitClickObject)?void 0:g.cashbackType,null==e||null==(f=e.ppsExitClickObject)?void 0:f.cashbackType,""),R=(0,m.hj)(null==e||null==(k=e.ppsExitClickObject)?void 0:k.cashbackUrl,null==e||null==(_=e.ppsExitClickObject)?void 0:_.cashbackUrl,""));let B=!1;(null==S?void 0:S.availability)&&(null==S?void 0:S.availability)=="No"&&(B=!0);let[M,L]=(0,x.useState)(!1),F=()=>{M||(L(!0),(0,u.W)(null==C?void 0:C.code))},U="";return N!=a.R.DESKTOP_TEXT&&(U="text-sm"),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"mt-2",children:(0,d.jsx)("p",{className:"text-base font-semibold ".concat(U),children:null!=(j=null==C?void 0:C.title)?j:""})},y),(0,d.jsx)("div",{className:"my-2 flex items-center",children:(0,d.jsxs)("div",{className:"flex items-center justify-center",children:[(0,d.jsx)("span",{onClick:()=>F(),className:"text-ck-text-black text-sm font-semibold rounded border cursor-pointer border-dashed border-ck-blue flex items-center justify-center py-2 px-4 md:p-2 h-8 md:text-base md:font-extrabold md:leading-6 md:w-[136px] md:h-10 ".concat(M?"bg-ck-blue text-white border-white":""),children:null==C?void 0:C.code}),(0,d.jsxs)(c.A,{customStyle:"!text-sm md:text-base text-ck-blue font-semibold md:font-extrabold ml-3 gap-2 md:font-semibold",onClick:()=>F(),children:[M?"Copied":"Copy Code",(0,d.jsx)(r.A,{src:i.C.CKS_PRODUCTS_COPY_CODE_IMAGE,desktopWidthHeight:{width:24,height:24},mobileWidthHeight:{width:16,height:16}})]})]})}),(0,d.jsx)(s.default,{customType:"primary",customSize:"large",backgroundStyle:{color:"bg-ck-artBoard-orange",hoverColor:"bg-ck-artBoard-orange"},borderStyle:{color:"ck-orange",textColor:"ck-orange"},customClass:"md:!w-full !h-8 md:!h-10 !rounded-md md:!rounded-lg !text-xs md:!text-sm md:mt-4 bg-ck-artBoard-orange",id:"coupon_grab_deal_btn",onClick:()=>(()=>{var t,l;B&&(null==e||null==(l=e.handleModalBottomSheet)||l.call(e,!1)),F(),null==e||null==(t=e.handleModalBottomSheet)||t.call(e,!1,A),P&&Number(P)>0&&I!=a.R.COUPON_ONLY_TEXT?(0,n.mE)({sid:O,vid:"",pid:A,redirect:R}):(0,n.Be)(R,"_blank",T)})(),children:"GRAB DEAL"})]})};var h=l(55749);let b=e=>{var t;
1let l=null!=(t=null==e?void 0:e.popupPosition)?t:"right",i=null==e?void 0:e.deviceType,n=null==e?void 0:e.isModalBottomSheetOpen,s=null==e?void 0:e.cksCouponsDataItem,c=(0,m.hj)(s,s,[]),r=null==e?void 0:e.openWVProps,u=(t,l)=>{var d;null==e||null==(d=e.handleClickModalBottomSheet)||d.call(e,t,l),t||document.body.classList.remove("overflow-hidden")},x=()=>(0,d.jsx)(d.Fragment,{children:c.map((t,l)=>{let a=String(l+1);return(0,d.jsx)(p,{keyValue:a,item:t,cksCouponsDetailsData:null==e?void 0:e.cksCouponsDetailsData,handleModalBottomSheet:u,ppsExitClickObject:null==e?void 0:e.ppsExitClickObject,openWVProps:r,deviceType:i},a)})});return c.length>0?(0,d.jsx)(o.A,{deviceType:i,popupPosition:l,isModalBottomSheetOpen:n,handleClickModalBottomSheet:u,children:i==a.R.DESKTOP_TEXT?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"md:mt-4",children:(0,d.jsx)(h.A,{title:"Coupon Available",alignText:"left",customStyle:"md:text-lg md:font-extrabold",customParentStyle:"md:!pt-0"})}),(0,d.jsx)("div",{className:"md:mt-7 border border-ck-stroke-gray rounded-lg md:py-6 md:px-4",children:x()})]}):(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"pb-4 md:mb-0 border-b md:border-none border-ck-stroke-gray",children:(0,d.jsx)("p",{className:"text-base md:text-2xl font-bold md:font-bold text-center",children:"Coupon Available"})}),(0,d.jsx)("div",{className:"flex flex-col justify-center items-center gap-6 py-8 px-6",children:x()})]})}):null}},5877:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var d=l(37876),a=l(14232),o=l(79096),i=l(51312),n=l(85775),s=l(40919);let c=e=>{var t,l,c;let r=null==e?void 0:e.couponCode,u=null==e?void 0:e.customClass,m=null==e?void 0:e.customClassOfferCode,x=null==e?void 0:e.customCopyClass,p=null==e?void 0:e.customCopyTextClass,h=null!=(t=null==e?void 0:e.isFuture)&&t,b=null!=(l=null==e?void 0:e.hasDealExpired)&&l,v=null!=(c=null==e?void 0:e.isHeroOfferPage)&&c,[g,f]=(0,a.useState)("");(0,a.useEffect)(()=>{var t;let l=null!=(t=null==e?void 0:e.couponCodeCopyStatus)&&t;l&&((0,s.W)(r),f(l?r:""))},[e]);let k=()=>{!h&&!b&&(f(()=>r),(0,s.W)(r),(null==e?void 0:e.setActiveCouponCode)&&(null==e||e.setActiveCouponCode(r)))},_=t=>((null==e?void 0:e.activeCouponCode)?null==e?void 0:e.activeCouponCode:g)===t;return(0,a.useEffect)(()=>{_(r)},[g]),(0,a.useEffect)(()=>{if(v){var t;f(null!=(t=null==e?void 0:e.activeCouponCode)?t:"")}},[null==e?void 0:e.activeCouponCode]),(0,d.jsx)("div",{className:"my-4 flex items-center ".concat(u),id:"coupons_code_section",children:(0,d.jsxs)("div",{className:"flex items-center justify-center",children:[(0,d.jsxs)("span",{onClick:()=>k(),className:"".concat(h||b?"!text-ck-text-inactive !cursor-not-allowed grayscale border-ck-text-inactive":"border-ck-blue"," text-ck-text-black text-sm font-semibold rounded cursor-pointer border border-dashed flex items-center justify-center p-[10px] h-8 ").concat(m," ").concat(_(r)?"bg-ck-blue text-white border-white":""),id:"coupons_code",children:[" ",(0,d.jsx)("span",{className:"flex justify-around w-auto max-w-[220px] whitespace-break-spaces md:max-w-[300px] grayscale truncate ".concat(p),children:r})]}),(0,d.jsxs)(i.A,{customStyle:"".concat(h||b?"text-ck-text-inactive !cursor-not-allowed grayscale":"text-ck-blue"," text-xs md:text-base text-ck-blue font-semibold md:font-extrabold ml-3 gap-2 min-w-[85px] md:min-w-[116px] ").concat(x),onClick:()=>k(),id:"coupons_code_copy_txt",children:[_(r)?"Copied":"Copy Code",(0,d.jsx)(n.A,{className:"w-4 h-4 md:w-6 md:h-6 ",src:o.C.CKS_PRODUCTS_COPY_CODE_IMAGE,desktopWidthHeight:{width:24,height:24},mobileWidthHeight:{width:16,height:16},id:"coupons_code_copy_image",alt:"coupons_code_copy_image"})]})]})})}},6149:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSP:()=>K,default:()=>Y});var d=l(37876),a=l(14232),o=l(18847),i=l.n(o),n=l(10967),s=l(63660),c=l(79096),r=l(98433),u=l(50416),m=l(85775),x=l(82512),p=l(50377),h=l(388),b=l(40919),v=l(19026);let g=e=>{var t;let l=null==e?void 0:e.productDetailsMerchant,o=null==l?void 0:l.cashback_amount,i=null!=(t=null==l?void 0:l.cashback_type)?t:"",n=null==l?void 0:l.offer_id,s=null==e?void 0:e.couponCode,u=null==e?void 0:e.buttonText,x=null==e?void 0:e.buttonType,g=null==e?void 0:e.isFuture,f=null==e?void 0:e.hasDealExpired,k="flex justify-center items-center m-auto rounded-none w-full !h-12 !text-base text-white fixed capitalize md:relative left-0 bottom-0 z-10 !bg-[#FF6D1D] md:mt-6 md:mb-[20px] ",_="";
1g?(u="Coming Soon",k+="!bg-ck-card-inactive !text-ck-text-inactive md:!text-ck-text-black customFontGrab",_="!hidden"):f?(u="Deal Expired",k+="!bg-ck-card-inactive !text-ck-text-inactive md:!text-ck-text-black md:!font-extrabold md:!text-base",_="!hidden"):k+="!bg-ck-orange !font-semibold";let[j,y]=(0,a.useState)("");return(0,d.jsxs)(h.default,{enableShine:!g&&!f,customType:"primary",customSize:"large",customClass:" ".concat(k," ").concat(x?"flash_btn_desk":"normal_btn_desk md:!h-[60px] relative"," max-sm:rounded-lg\n \n "),onClick:()=>(()=>{var t,d;if(g||f)null==e||null==(t=e.handleClickDealPopup)||t.call(e);else if(s&&j!=s&&((0,b.W)(s),y(s),null==e||null==(d=e.handleDealCopyCode)||d.call(e,!0)),o>0&&i!=r.R.COUPON_ONLY_TEXT)(0,p.mE)({sid:n,vid:"",pid:null==e?void 0:e.productId,redirect:null==e?void 0:e.cashbackUrl});else{let t=(0,v.NU)(l);(0,p.Be)(null==e?void 0:e.cashbackUrl,"_blank",t)}})(),children:[u,!["Coming Soon","Deal Expired"].includes(u)&&(0,d.jsx)("span",{className:"animate-shake md:ml-2",children:(0,d.jsx)(m.A,{className:"".concat(_," hidden md:block"),src:c.C.ARROW_ICON_ALT,alt:"
1Visit Store Button",title:"Visit Store Button",priority:!0,desktopWidthHeight:{width:16,height:8},mobileWidthHeight:{width:16,height:8}})})]})};var f=l(62121),k=l(5877),_=l(86649),j=l(6825),y=l(20458),C=l(89099),T=l.n(C);let N=e=>{var t;let l=null!=(t=null==e?void 0:e.popupPosition)?t:"right",a=null==e?void 0:e.deviceType,o=null==e?void 0:e.isModalBottomSheetOpen,i=null==e?void 0:e.isFuture,n=null==e?void 0:e.hasDealExpired,s=null==e?void 0:e.timerValue,r=(0,C.useRouter)(),u=t=>{var l;n&&r.push(y.S.HOME),null==e||null==(l=e.handleClickDealModalBottomSheet)||l.call(e,t),t||document.body.classList.remove("overflow-hidden")},x="",p="",b=0,v=0,g="",f="",k="";return(i?(x="Coming Soon!",p=c.C.DEAL_DETAILS_COMING_SOON_IMAGE,b=110,v=110,g="Deal Coming Soon",k="Okay, got it",f="You're early! This deal is not live yet."):n&&(x="You are a little late!",p=c.C.DEAL_DETAILS_EXPIRED_IMAGE,b=156,v=117,g="Deal Expired",k="See More Deals",f="You just missed this deal. \n Donât worry thereâs more!"),i||n)?(0,d.jsx)(j.A,{deviceType:a,popupPosition:l,isModalBottomSheetOpen:o,handleClickModalBottomSheet:u,children:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"pb-4 md:mb-0 border-b md:border-none border-ck-stroke-gray",children:(0,d.jsx)("p",{className:"text-base md:text-2xl font-bold md:font-bold text-center",children:x})}),(0,d.jsxs)("div",{className:"md:px-[58px]",children:[(0,d.jsx)("div",{className:"flex flex-col items-center justify-center my-4",children:(0,d.jsx)(m.A,{src:p,desktopWidthHeight:{width:b,height:v},mobileWidthHeight:{width:b,height:v},alt:g})}),(0,d.jsx)("div",{className:"px-4",children:(0,d.jsx)("div",{className:"flex justify-center",children:(0,d.jsx)("p",{className:"text-sm md:text-base font-medium text-center md:leading-6 md:px-0 max-sm:whitespace-pre-line",children:f})})})]}),i&&(0,d.jsx)("div",{className:"flex items-center justify-center md:mt-4 mt-2 max-sm:mb-4 md:bg-ck-section-blue",children:(0,d.jsx)("div",{className:"md:my-6 !w-[180px] !h-7 md:!w-[270px] md:!h-[40px] m-auto bg-white px-2 z-1 timer_grad_line timer_coming md:flex rounded flex justify-center items-center",id:"countDownTitle2",children:(0,d.jsxs)("p",{className:"!text-xs md:!text-lg classForTimerIcon text-[10px] lg:text-md text-ck-red font-semibold flex items-center gap-1 leading-4 whitespace-nowrap max-sm:border max-sm:border-ck-stroke-gray max-sm:rounded-md max-sm:px-2 max-sm:py-1",id:"dealstartItem_11_itesm_11",children:[(0,d.jsx)("i",{id:"item_timer_itesm_11",className:"material-symbols-outlined mdi-schedule text-sm md:text-xl lg:text-2xl max-sm:leading-4","aria-hidden":"true"})," Grab this deal in ",s]})})}),(0,d.jsx)("div",{className:"md:px-[58px]",children:(0,d.jsx)("div",{className:"px-4",children:(0,d.jsx)("div",{className:"flex items-center justify-center",children:(0,d.jsx)(h.default,{customType:"primary",customSize:"large",className:"w-full md:w-[360px] my-4 md:my-4 h-[48px] md:h-[60px] bg-ck-blue rounded-lg text-white font-semibold md:font-extrabold text-base shiny-btn",backgroundStyle:{color:"ck-blue",hoverColor:""},onClick:()=>u(!1),children:k})})})})]})}):null};var w=l(91083),S=l(54587),E=l.n(S),D=l(65364);let A=e=>{var t,l,o,i,p;let h=null==e?void 0:e.deviceType,b=(0,n.hj)(null==e?void 0:e.apiData,null==e?void 0:e.apiData,{}),j=(0,n.hj)(null==b?void 0:b.data,null==b?void 0:b.data,{}),y=(0,n.hj)(null==j?void 0:j.attributes,null==j?void 0:j.attributes,{}),C=(0,n.hj)(null==b?void 0:b.included,null==b?void 0:b.included,[]),T=null==C?void 0:C.filter(e=>"seo_content"==e.type),S=(0,n.hj)(T,T,{}),A=(0,n.hj)(null==y?void 0:y.merchant,null==y?void 0:y.merchant,{}),O=null==y?void 0:y.name,P=null==j?void 0:j.id,I=(0,u.Hs)({productID:P,productDataAttributes:y,meaTagAttribute:(0,n.hj)(null==S||null==(t=S.attributes)?void 0:t.meta_tags,null==S||null==(l=S.attributes)?void 0:l.meta_tags,"")}),R=null==D||null==D.env?void 0:"cashkaro.com",B=A.coupons&&(null==A?void 0:A.coupons.length)>0?null==A||null==(i=A.coupons)||null==(o=i[0])?void 0:o.code:"",M=(0,n.hj)(null==y?void 0:y.product_button_text,null==y?void 0:y.product_button_text,"GRAB DEAL"),[L,F]=(0,a.useState)(!1),[U,X]=(0,a.useState)(!1),W=()=>{X(!0)},H=e=>{F(e)},G=e=>{document.body.classList.remove("overflow-hidden"),X(e)},[V,z]=(0,a.useState)(!1),[K,Y]=(0,a.useState)(!1),Z=(0,n.hj)(null==y?void 0:y.product_start_datetime,null==y?void 0:y.product_start_datetime,""),q=(0,n.hj)(null==y?void 0:y.product_end_datetime,null==y?void 0:y.product_end_datetime,""),J=0,Q=!1,$=new Date(Z),ee=new Date(q),{days:et,hours:el,minutes:ed,seconds:ea,isFuture:eo}=(0,s.A)({startDate:$,targetDate:ee,onInit:()=>{z(()=>!0),Y(!0),G(!1)},onExpire:()=>{z(()=>!1),Y(!0)},isGMT:!0});J=new Date(ee).getTime(),et+el+ed+ea<=0&&J&&(Q=!0);let ei="";
1V&&(ei="".concat(et.toString().padStart(2,"0")+(0,n.Hn)(et>1," days"," day")),et<=0&&(ei="".concat(el.toString().padStart(2,"0")+":"+ed.toString().padStart(2,"0")+":"+ea.toString().padStart(2,"0"))));let en=()=>{let e="",t="",l="";return h!=r.R.MOBILE_TEXT&&(eo||Q)&&(e="md:w-[453px] md:m-auto md:py-4 md:h-[72px] md:!mt-3 md:mb-4 md:rounded-xl",t="md:!my-0",l="!mt-0"),(0,d.jsx)("div",{className:"".concat(e),children:(0,d.jsx)(f.A,{itration:"itesm_11",itemId:P,deal_card_type:null==y?void 0:y.deal_card_type,timerValue:ei,dealLabel:eo?"Deal Starts in":"Ends in",classNotFlash:t,classFlash:l})})},es=null==y?void 0:y.deal_card_type,{imageWidth:ec,imageHeight:er,imageSectionStyle:eu,retaillerImageStyle:em,topSectionStyle:ex,imageTopSectionStyle:ep,desktopCouponSectionStyle:eh,desktopCouponComponentStyle:eb}=(0,v.Cu)(es,eo,Q),ev="";return"flash"!=es||B||(ev="relative bottom-[-96px]"),(0,a.useEffect)(()=>{U&&G(!1)},[eo]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(w.w,{metaTags:I,seoContent:""}),"flash"!==es&&(0,d.jsx)("br",{}),(0,d.jsxs)("div",{className:"relative w-full text-center ".concat((0,n.Hn)("flash"==es,"md:h-[710px] h-[450px]","")," ").concat(ex),children:["flash"==es&&(()=>{let e="md:h-[710px]";return"flash"==es&&B&&V&&(eo||Q)&&(e="md:h-[800px]"),(0,d.jsx)(d.Fragment,{children:(null==y?void 0:y.background_image_url)&&(0,d.jsx)(E(),{src:null==y?void 0:y.background_image_url,alt:null!=O?O:r.R.PARTNER_NAME,className:"".concat(e," w-full h-[450px] rounded-b-2xl md:rounded-none object-cover"),width:[r.R.DESKTOP_TEXT,r.R.TABLET_TEXT].includes(h)?"1720":"360",height:[r.R.DESKTOP_TEXT,r.R.TABLET_TEXT].includes(h)?"710":"450",priority:!1,unoptimized:!1})})})(),V&&"flash"!=es&&[r.R.DESKTOP_TEXT,r.R.TABLET_TEXT].includes(h)&&en(),(0,d.jsxs)("div",{className:"".concat(ep),children:["flash"==es&&(0,d.jsxs)("div",{className:"w-full",children:[(0,d.jsx)("h4",{className:"uppercase text-white text-[34px] leading-[34px] font-black drop-shadow-[0_7.626px_16.524px_rgba(54,61,69,1)] ".concat((0,n.Hn)(Q,"mb-10","")),children:"Flash Deal"}),V&&en()]}),(0,d.jsxs)("div",{className:"".concat("flex items-center justify-center overflow-hidden rounded-xl"," relative ").concat(eu),children:[(0,d.jsx)("div",{className:"".concat(eu),children:(0,d.jsx)(m.A,{src:null==y?void 0:y.image_urls.image_url_2,desktopWidthHeight:{width:ec,height:er},mobileWidthHeight:{width:ec,height:er},alt:null==y?void 0:y.name,errSrc:c.C.PRODUCT_CARD_NO_IMAGE,className:"w-full h-full object-cover rounded-xl ".concat((0,n.n4)(es,"flash","!object-contain"," "))})}),(0,d.jsxs)("div",{className:"w-full absolute inset-0 z-10",children:[(0,d.jsxs)("div",{className:"absolute left-2.5 rounded-lg overflow-hidden ".concat((0,n.EA)(es,"flash","top-2.5 bg-white","top-12 md:top-16 flex items-center")),children:[(0,d.jsx)(m.A,{src:null==A?void 0:A.image_url,desktopWidthHeight:{width:112,height:56},mobileWidthHeight:{width:112,height:56},alt:null!=(p=null==A?void 0:A.name)?p:"",errSrc:c.C.STORE_CARD_NO_IMAGE,className:"object-contain bg-white w-[72px] h-10 rounded-lg overflow-hidden ".concat(em," md:h-14"),unoptimized:!0}),(null==y?void 0:y.product_label)&&"flash"===es&&(0,d.jsx)("label",{className:"text-ck-text-black text-[10px] md:text-xs font-normal w-[80px] md:w-20 text-left stribe_text2 border-l border-ck-text-black p-2 pr-0",children:null==y?void 0:y.product_label})]}),(null==y?void 0:y.product_label)&&"flash"!=es&&(0,d.jsx)(x.default,{labelText:null==y?void 0:y.product_label,labelType:"end",customClass:"absolute top-0 right-0",labelTextSize:"md:text-xs",pageType:"deal_details"})]})]}),K&&(0,d.jsx)(d.Fragment,{children:B&&[r.R.DESKTOP_TEXT,r.R.TABLET_TEXT].includes(h)&&(0,d.jsx)("div",{className:"".concat(eh),children:eo||Q?(0,d.jsxs)("div",{className:"".concat((0,n.n4)(es,"flash","md:bg-ck-section-blue","")," md:w-[453px] md:mx-auto md:pt-2 md:pb-4 md:h-[114px] rounded-xl"),children:[(0,d.jsx)("h4",{className:"text-ck-text-black text-base font-extrabold text-center",children:"Use Code"}),(0,d.jsx)(k.A,{customClass:"".concat(eb," md:mt-4 md:mb-[20px] !bg-transparent"),customClassOfferCode:"md:text-2xl md:font-bold md:h-[46px] md:leading-[24px] md:tracking-[-0.72px]",couponCode:B,couponCodeCopyStatus:L,customCopyClass:"ml-[27px] md:gap-[10px]",isFuture:eo,hasDealExpired:Q})," "]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("h4",{className:"text-ck-text-black text-base font-extrabold text-center",children:"Use Code"}),(0,d.jsx)(k.A,{customClass:"".concat(eb," md:mt-4 md:mb-[20px]"),customClassOfferCode:"md:text-2xl md:font-bold md:h-[46px] md:leading-[24px] md:tracking-[-0.72px]",couponCode:B,couponCodeCopyStatus:L,customCopyClass:"ml-[27px] md:gap-[10px]",isFuture:eo,hasDealExpired:Q})," "]})})}),(0,n.Hn)(K,(0,d.jsx)("div",{className:"hidden md:block ".concat(ev),children:(0,d.jsx)(g,{deviceType:h,couponCode:B,buttonText:M,productId:P,cashbackUrl:null==y?void 0:y.cashback_url,isFuture:eo,hasDealExpired:Q,handleClickDealPopup:W,handleDealCopyCode:H,productDetailsMerchant:A})}),(0,d.jsx)("div",{className:"fixed md:relative bottom-0 w-full md:w-[408px] h-[56px] bg-ck-skeleton flex items-center justify-center md:rounded-lg md:mt-4 ".concat(ev),children:(0,d.jsx)("span",{className:"w-[60%] h-[20px] bg-white rounded-lg"})}))]})]}),V&&"flash"!=es&&h==r.R.MOBILE_TEXT&&(0,d.jsx)(f.A,{itration:"itesm_11",itemId:P,deal_card_type:null==y?void 0:y.deal_card_type,timerValue:ei,dealLabel:(0,n.Hn)(eo,"Deal Starts in","Ends in")}),B&&h==r.R.MOBILE_TEXT&&(0,d.jsxs)("div",{className:"".concat((0,n.EA)(es,"flash","md:hidden mt-4 pb-2","md:hidden pt-4 pb-2")),children:[(0,d.jsx)("h4",{className:"text-ck-text-black text-base font-extrabold text-center md:mr-3",children:" Use Code "}),(0,d.jsx)(k.A,{customClass:"flex-col md:hidden mt-2 mb-2",couponCode:B,couponCodeCopyStatus:L,customCopyClass:"!ml-2",isFuture:eo,hasDealExpired:Q})," "]}),(null==y?void 0:y.highlights)&&(0,d.jsxs)(d.Fragment,{children:["flash"!=es&&(0,d.jsx)(d.Fragment,{children:(h==r.R.MOBILE_TEXT&&(V||B)||h!==r.R.MOBILE_TEXT)&&(0,d.jsx)("div",{className:"w-full h-1 md:h-3 md:mt-1 bg-ck-artBoard-gray md:bg-ck-section-light-blue"})}
1),"flash"==es&&(0,d.jsx)(d.Fragment,{children:h==r.R.MOBILE_TEXT&&B&&(0,d.jsx)("div",{className:"w-full h-1 md:h-3 md:mt-1 bg-ck-artBoard-gray md:bg-ck-section-light-blue"})}),(0,d.jsx)("div",{className:"product_more_details prod_more_custom md:px-8 lg:px-40 mb-10 seoStatic",children:(0,_.Ay)(null==y?void 0:y.highlights)}),(0,d.jsx)("div",{className:"w-full h-1 bg-ck-artBoard-gray md:bg-ck-section-light-blue hidden"})]}),!(0,n.Im)(S)&&(0,d.jsx)(w.D,{seo_content:S,seoName:O,seoUrl:"",partnerDomain:null!=R?R:""}),(0,n.Hn)(K,(0,d.jsx)("div",{className:"md:hidden bg-white py-4 px-4 sticky bottom-0 [box-shadow:0px_-4px_12px_0px_rgba(0,_0,_0,_0.11)]",children:(0,d.jsx)(g,{deviceType:h,couponCode:B,buttonText:M,productId:P,cashbackUrl:null==y?void 0:y.cashback_url,isFuture:eo,hasDealExpired:Q,handleClickDealPopup:W,handleDealCopyCode:H,productDetailsMerchant:A})}),(0,d.jsx)("div",{className:"md:hidden fixed md:relative bottom-0 w-full md:w-[408px] h-[56px] bg-ck-skeleton flex items-center justify-center md:rounded-lg md:mt-4",children:(0,d.jsx)("span",{className:"w-[60%] h-[20px] bg-white rounded-lg"})})),(0,d.jsx)(N,{popupPosition:"center",deviceType:h,isModalBottomSheetOpen:U,handleClickDealModalBottomSheet:G,isFuture:eo,hasDealExpired:Q,timerValue:ei,deal_card_type:null==y?void 0:y.deal_card_type})]})};var O=l(51312),P=l(40183),I=l(22816),R=l(2513);let B=e=>{let t=null==e?void 0:e.deviceType,l=null==e?void 0:e.cashbackAmount,a=null==e?void 0:e.cashbackType,o=null==e?void 0:e.openWVProps,i=[r.R.MOBILE_TEXT,r.R.TABLET_TEXT].includes(t)?"!text-ck-orange bg-ck-artBoard-orange border border-ck-orange !h-8 lg:hidden":"!text-ck-orange bg-ck-artBoard-orange border border-ck-orange md:!text-base !rounded-lg xl:!h-10 2xl:!h-12 hidden lg:block";return(0,d.jsx)(h.default,{customType:"primary",customSize:"small",backgroundStyle:{color:"bg-ck-artBoard-orange",hoverColor:"bg-ck-artBoard-orange"},borderStyle:{color:"ck-orange",textColor:"ck-orange"},customClass:i,id:"pps_grab_deal_btn",onClick:()=>(l&&l>0&&a!=r.R.COUPON_ONLY_TEXT?(0,p.mE)({sid:null==e?void 0:e.storeId,pid:null==e?void 0:e.productId,redirect:null==e?void 0:e.cashbackUrl}):(0,p.Be)(null==e?void 0:e.cashbackUrl,"_blank",o),!1),children:"GRAB DEAL"})};var M=l(49347);let L=e=>{let t=null==e?void 0:e.productID,l=null==e?void 0:e.priceData,a=null==e?void 0:e.cashbackType,o=null==e?void 0:e.couponsCount,i=parseInt(null==l?void 0:l.original_price),s=parseInt(null==l?void 0:l.discounted_price),c=(0,n.hj)(null==l?void 0:l.cashback_amount,null==l?void 0:l.cashback_amount,""),u=parseInt(null==l?void 0:l.price_aftercashback);return(0,d.jsxs)("div",{className:"flex lg:flex-col border-t border-ck-stroke-gray lg:border-b mx-3 pb-6 lg:py-3",children:[(s>0||i>0)&&(0,d.jsxs)("div",{className:"flex flex-col lg:flex-row lg:justify-between items-center text-center w-full p-2 lg:p-0",children:[(0,d.jsxs)("div",{className:"flex lg:items-center lg:order-2",id:"lblPrice_".concat(t),children:[i>0&&s>0&&(0,d.jsx)("span",{className:"text-ck-text-inactive text-xs md:text-sm font-semibold pr-1 line-through",id:"iconSellerPrice_".concat(t),children:i>s?n.Gl.format(i):s>i?n.Gl.format(s):(0,d.jsx)(d.Fragment,{})}),(0,d.jsx)("span",{className:"text-ck-text-black text-xs md:text-base font-semibold",id:"discountPrice_".concat(t),children:s>0&&s<i?n.Gl.format(s):i>0?n.Gl.format(i):s>0?n.Gl.format(s):(0,d.jsx)(d.Fragment,{})})]}),(0,d.jsx)("span",{className:"text-ck-text-inactive text-[10px] md:text-base font-semibold mt-1 lg:order-1",id:"lblSellerPrice_".concat(t),children:"Seller Price"})]}),(0,d.jsx)("div",{className:"flex flex-col lg:flex-row lg:justify-between items-center text-center w-full border-l lg:border-none border-ck-stroke-gray p-2 lg:px-0 lg:py-2",id:"secCashback",children:c>0&&a!=r.R.COUPON_ONLY_TEXT?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"text-ck-orange text-sm md:text-lg font-extrabold lg:order-2",id:"lblCashback_".concat(t),children:(0,M.SW)(Math.round(c))}),(0,d.jsxs)("span",{className:"text-ck-orange text-[10px] md:text-base font-bold lg:font-semibold lg:order-1",id:"lblCashbackAmt_".concat(t),children:[r.R.PARTNER_NAME," ",a]})]}):(0,d.jsx)("span",{className:"text-ck-text-inactive text-[10px] md:text-base font-semibold lg:order-1",id:"lblCashbackBestPrice_".concat(t),children:"Product at its best price"})}),(0,d.jsxs)("div",{className:"flex flex-col lg:flex-row lg:justify-between items-center text-center w-full border-l lg:border-none border-ck-stroke-gray p-2 lg:p-0",id:"secBestPrice",children:[(0,d.jsx)("span",{className:"text-ck-text-black text-sm md:text-lg font-extrabold lg:order-2",id:"lblBestPriceAmt_".concat(t),children:u>0?n.Gl.format(u):s&&s<i?n.Gl.format(s):i>0?n.Gl.format(i):s>0?n.Gl.format(s):(0,d.jsx)(d.Fragment,{children:"0"})}),(0,d.jsx)("span",{className:"text-ck-text-inactive text-[10px] md:text-base font-semibold lg:order-1",id:"lblBestPrice_".concat(t),children:"Best Price"})]}),a!=r.R.COUPON_ONLY_TEXT&&o>0?(0,d.jsx)("div",{className:"lg:w-full lg:flex lg:justify-end",id:"lnkCashbackCodeVoucher",children:(0,d.jsxs)(O.A,{onClick:()=>(t=>{(null==e?void 0:e.handleClickCouponPopup)&&e.handleClickCouponPopup(null!=t?t:"")})(t),customStyle:"flex-inline flex-col lg:flex-row lg:justify-end items-center w-auto border-l max-sm:h-full border-ck-stroke-gray lg:border-none p-2 lg:px-0 lg:pb-0",children:[(0,d.jsx)("i",{className:"material-icons mdi-sell !relative !text-ck-blue !text-base !leading-4 max-sm:!mb-1 max-sm:!top-1 md:!text-lg
1!pl-0 lg:!pl-0 after:content[''] after:absolute after:w-1 after:h-1 after:rounded-full after:bg-ck-red after:top-0 md:after:top-1 after:right-0","aria-hidden":"true"}),(0,d.jsxs)("span",{className:"text-ck-blue text-[10px] lg:text-base font-semibold lg:pl-2",children:["Coupon",o>1?"s":""]})]})}):null]})},F=e=>{var t,l,a;let o=null!=(t=null==e?void 0:e.popupPosition)?t:"center",i=null==e?void 0:e.deviceType,s=null==e?void 0:e.isModalBottomSheetOpen,c=null==e?void 0:e.merchantDataItem;if((0,n.Im)(c))return(0,d.jsx)(d.Fragment,{});{let t=[{id:null==c?void 0:c.offer_id,type:null!=(l=null==c?void 0:c.cashback_payment_type)?l:"",amount:null==c?void 0:c.cashback_amount,details:null!=(a=null==c?void 0:c.cashback_details)?a:""}];(null==c?void 0:c.secondary_cashback)&&(t=t.concat(null==c?void 0:c.secondary_cashback));let r="".concat((null==c?void 0:c.cashback_type)?(null==c?void 0:c.cashback_type)+" Offers":""),u="".concat((null==c?void 0:c.cashback_type)?"This "+(null==c?void 0:c.cashback_type)+" is paid over & above Coupons and discounts":"");return(0,d.jsx)(j.A,{deviceType:i,popupPosition:o,isModalBottomSheetOpen:s,handleClickModalBottomSheet:t=>{var l;null==e||null==(l=e.handleClickModalBottomSheet)||l.call(e,t),t||document.body.classList.remove("overflow-hidden")},children:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"pb-4 md:pb-0 md:mb-0 border-b md:border-none border-ck-stroke-gray md:px-6",children:(0,d.jsx)("p",{className:"text-base md:text-2xl font-bold md:font-bold text-center text-ck-text-black",id:"productRatesandCoupons",children:r})}),(0,d.jsx)("p",{className:"text-xs md:text-base font-medium text-center text-ck-text-inactive py-6 md:pt-0 md:pb-2",children:u}),t.map((e,t)=>{var l,a;let o=String(t+1),i="lblCashback_".concat(o);return(0,d.jsxs)("div",{className:"py-4 md:py-4 md:px-12 flex items-center mx-[30px] md:mx-0 gap-[22px] md:gap-6 border-b border-ck-stroke-gray border-dashed",children:[(0,d.jsx)("p",{className:"text-sm md:text-base font-extrabold md:leading-6 text-ck-orange",id:i+o,children:(null==e?void 0:e.type)=="percent"?"".concat(null==e?void 0:e.amount,"%"):n.Gl.format(null!=(l=null==e?void 0:e.amount)?l:"")}),(0,d.jsx)("p",{className:"text-xs md:text-base font-medium md:leading-6 text-ck-text-black",id:i+"Details_"+o,children:null!=(a=null==e?void 0:e.details)?a:""})]},o)})]})})}};var U=l(29911),X=l(11761),W=l(45362);let H=e=>{var t,l,o,i,s,x,p,h,b,g,f,k,_,j;let y=null==e?void 0:e.deviceType,C=[],N=(0,n.hj)(null==e?void 0:e.apiData,null==e?void 0:e.apiData,{}),S=(0,n.hj)(null==N?void 0:N.data,null==N?void 0:N.data,{}),E=(0,n.hj)(null==S?void 0:S.attributes,null==S?void 0:S.attributes,{}),D=(0,n.hj)(null==N?void 0:N.included,null==N?void 0:N.included,[]),A=null==D?void 0:D.filter(e=>"seo_content"==e.type),M=(0,n.hj)(null==D||null==(t=D[0])?void 0:t.similer_products,null==D||null==(l=D[0])?void 0:l.similer_products,[]),H=(0,n.hj)(null==D||null==(o=D[0])?void 0:o.similer_brand_products,null==D||null==(i=D[0])?void 0:i.similer_brand_products,[]),G=(0,n.hj)(null==D||null==(s=D[0])?void 0:s.breadcrumbs,null==D||null==(x=D[0])?void 0:x.breadcrumbs,[]),V=(0,n.hj)(A,A,{}),z=(0,n.hj)(null==E?void 0:E.merchant,null==E?void 0:E.merchant,{}),K=(0,n.hj)(null==E?void 0:E.price,null==E?void 0:E.price,{}),Y=(0,n.hj)(null==K?void 0:K.discount_percentage,null==K?void 0:K.discount_percentage,""),Z=(0,n.hj)(null==E?void 0:E.key_features,null==E?void 0:E.key_features,{}),q=(0,n.hj)(null==z?void 0:z.terms_and_conditions,null==z?void 0:z.terms_and_conditions,""),J=null==E?void 0:E.name,Q=null==S?void 0:S.id;if(G.length>0){let e="product";G.forEach(t=>{e+="/".concat(t.id),C.push({link:e,name:t.attributes.name})})}C.push({name:J,link:"#"});let[$,ee]=(0,a.useState)(!1),et=(0,u.Hs)({productID:Q,productDataAttributes:E,meaTagAttribute:(null==V||null==(h=V[0])||null==(p=h.attributes)?void 0:p.meta_tags)||""}),[el,ed]=(0,a.useState)(!1),[ea,eo]=(0,a.useState)(!1),[ei,en]=(0,a.useState)(""),[es,ec]=(0,a.useState)(!1),er=()=>{ec(!0)},eu=e=>{e&&T().push(e)},em={pageType:"pps",cashbackAmount:Number(null==K?void 0:K.cashback_amount),cashbackType:(0,n.hj)(null==z?void 0:z.cashback_type,null==z?void 0:z.cashback_type,""),storeId:(0,n.hj)(null==z?void 0:z.offer_id,z.offer_id,""),productId:Q,cashbackUrl:null==E?void 0:E.
1cashback_url},ex=r.R.SIMILAR_PRODUCTS,ep=r.R.SIMILAR_MORE_PRODUCTS;return y==(null===r.R||void 0===r.R?void 0:r.R.DESKTOP_TEXT)&&(ex="Products Similar To ".concat(null!=J?J:""),ep="More Products From ".concat(null!=(g=null==Z?void 0:Z.Brand)?g:"")),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(w.w,{metaTags:et,seoContent:""}),(0,d.jsxs)("div",{className:"pb-0 md:pb-0",children:[(0,d.jsx)(P.default,{breadcrumbLists:C}),(0,d.jsxs)("section",{className:"flex flex-col lg:flex-row lg:my-10 lg:mb-7 md:px-10 lg:px-[64px]",children:[(0,d.jsxs)("div",{className:"relative w-full h-64 lg:w-1/3 lg:h-[330px] overflow-hidden md:border md:border-ck-stroke-gray p-5 flex items-center justify-center md:rounded-lg",id:"secProductImage",children:[Y&&(0,d.jsxs)("span",{className:"bg_labelimage absolute bg-ck-section-light-blue h-[17px] right-0 md:right-auto md:left-0 top-5 text-ck-text-black text-[10px] font-bold pr-1 md:pr-4 md:pl-2",id:"lblDiscountTag",children:[Y,"% Off"]}),(0,d.jsx)(m.A,{id:"imgProduct",src:null==E?void 0:E.image_url,errSrc:null===c.C||void 0===c.C?void 0:c.C.PRODUCT_CARD_NO_IMAGE,alt:J,desktopWidthHeight:{width:320,height:200},mobileWidthHeight:{width:320,height:200},className:"w-full h-full object-contain"}),(null==E?void 0:E.product_label)&&(0,d.jsx)("span",{className:"bestseller_bfr absolute top-0 left-0 md:right-0 md:left-auto z-10 inline-block text-xs text-[#005375] bg-[#9fe3ff] md:rounded-tr-lg font-bold p-1",id:"lblBestSeller",children:null==E?void 0:E.product_label.toUpperCase()})]}),(0,d.jsxs)("div",{className:"w-full lg:w-2/3",id:"secProductDetails",itemScope:!0,itemType:"https://schema.org/Product",children:[(0,d.jsxs)("h1",{className:"text-ck-text-black text-sm md:text-2xl font-semibold md:font-bold p-4 lg:py-0 tracking-tight lg:mb-5",id:"secProductTitle",children:[(0,d.jsxs)("span",{itemProp:"name",id:"lblProductName",children:[$||(null==J?void 0:J.length)<=70||"Desktop"===W.Ie?"".concat(J):"".concat(null==J?void 0:J.substring(0,70),"... "),(null==J?void 0:J.length)>70&&"Desktop"!==W.Ie&&(0,d.jsx)(O.A,{customStyle:"text-ck-text-black text-sm md:text-2xl font-extrabold md:font-black !inline-block",onClick:()=>ee(!$),children:(0,n.Hn)($,"... Less","More")})]}),(0,d.jsx)("meta",{itemProp:"description",content:J})]}),(0,d.jsx)("div",{className:"w-full h-2 bg-ck-artBoard-gray lg:hidden"}),(0,d.jsxs)("div",{className:"group transition-all md:relative md:overflow-hidden duration-500 ease-out lg:hover:border-ck-orange/30 border-b-8 lg:border border-ck-artBoard-gray lg:border-ck-stroke-gray lg:rounded-lg lg:mx-4 lg:w-[360px]",id:"secProductCashbackDetails",children:[(0,d.jsx)("div",{className:" pointer-events-none absolute bottom-0 left-0 right-0 mx-auto inset-X-0 w-12/12 h-0.5 bg-ck-orange opacity-0 lg:group-hover:opacity-100 transition-all duration-500 ease-out blur-md"}),(0,d.jsxs)("div",{className:"flex items-center justify-between p-4 ",children:[(0,d.jsxs)("div",{className:"flex items-center lg:justify-between lg:w-full",children:[(0,d.jsx)(m.A,{src:null==z?void 0:z.image_url,errSrc:null===c.C||void 0===c.C?void 0:c.C.STORE_CARD_NO_IMAGE,alt:null!=(f=null==z?void 0:z.name)?f:"retailer logo",desktopWidthHeight:{width:92,height:25},mobileWidthHeight:{width:92,height:25},unoptimized:!0}),(null==z?void 0:z.terms_and_conditions)&&(0,d.jsx)(O.A,{onClick:()=>void(q&&(en(q),eo(!0))),ariaLabel:"Info Popup",children:(0,d.jsx)("i",{className:"material-symbols-outlined mdi-error text-lg lg:text-2xl text-ck-text-inactive md:transform rotate-180 cursor-pointer ml-3 lg:ml-0 transition-all duration-200 ease-out md:group-hover:text-ck-orange md:group-hover:scale-105","aria-hidden":"true"})})]}),[r.R.MOBILE_TEXT,r.R.TABLET_TEXT].includes(y)&&(0,d.jsx)(B,{deviceType:y,cashbackAmount:Number(null==K?void 0:K.cashback_amount),cashbackType:null!=(k=null==z?void 0:z.cashback_type)?k:"",storeId:(0,n.hj)(null==z?void 0:z.offer_id,z.offer_id,""),productId:Q,cashbackUrl:null==E?void 0:E.cashback_url,openWVProps:(0,v.NU)(z)})]}),(0,d.jsx)(L,{priceData:K,deviceType:y,productID:Q,cashbackType:null!=(_=null==z?void 0:z.cashback_type)?_:"",couponsCount:null==z||null==(b=z.coupons)?void 0:b.length,handleClickCouponPopup:()=>{ed(!0)},couponsNonCoupon:null==z?void 0:z.is_coupon_noncoupon,handleClickNonCouponPopup:er}),![r.R.MOBILE_TEXT,r.R.TABLET_TEXT].includes(y)&&(0,d.jsx)("div",{className:"lg:px-3 lg:py-4",children:(0,d.jsx)(B,{deviceType:y,cashbackAmount:Number(null==K?void 0:K.cashback_amount),cashbackType:null!=(j=null==z?void 0:z.cashback_type)?j:"",storeId:(0,n.hj)(null==z?void 0:z.offer_id,z.offer_id,""),productId:Q,cashbackUrl:null==E?void 0:E.
1cashback_url,openWVProps:(0,v.NU)(z)})})]}),!(0,n.b0)(null==z?void 0:z.is_coupon_noncoupon)&&(null==z?void 0:z.is_coupon_noncoupon)!="false"&&(0,d.jsx)("div",{className:"px-0 md:pl-5 md:pr-0 mt-2",children:(0,d.jsxs)("div",{id:"lnkCashbackCodeVoucher",className:"px-4 md:pl-5 md:pr-0 justify-start mt-2 flex flex-col md:contents text-left",children:[(0,d.jsx)("p",{className:"text-ck-text-inactive font-semibold md:font-medium text-[10px] md:text-base contents",children:"Cashback rate varies for new/existing shoppers & orders."}),(0,d.jsx)(O.A,{onClick:()=>er(),customStyle:"flex flex-col lg:flex-row lg:justify-start items-center w-full border-l max-sm:h-full border-ck-stroke-gray lg:border-none p-2 lg:px-0 lg:pb-0 md:text-left contents",children:(0,d.jsx)("span",{className:"text-ck-blue text-[10px] md:text-base font-semibold text-left pl-0 md:pl-1",children:"See Details"})})]})})]})]}),(0,d.jsx)("div",{className:"w-full lg:h-[10px] md:bg-ck-section-light-blue"}),Z&&Object.keys(Z).length>0&&(0,d.jsx)(I.A,{keyFeatureData:Z,deviceType:y}),!(0,n.Im)(M)&&(0,d.jsx)(U.default,{productsData:M,title:ex,id:"similar_products",deviceType:y,handleNavigation:eu,pageType:"product-details"}),!(0,n.Im)(H)&&(0,d.jsx)(U.default,{productsData:H,title:ep,id:"similar_more_products",deviceType:y,handleNavigation:eu,pageType:"product-details"}),es&&(0,d.jsx)(F,{popupPosition:"center",deviceType:y,isModalBottomSheetOpen:es,handleClickModalBottomSheet:e=>{ec(e)},merchantDataItem:z}),el&&(0,d.jsx)(R.default,{popupPosition:"right",deviceType:y,isModalBottomSheetOpen:el,handleClickModalBottomSheet:e=>{ed(e)},cksCouponsDataItem:null==z?void 0:z.coupons,ppsExitClickObject:em,openWVProps:(0,v.NU)(z)}),ea&&(0,d.jsx)(X.default,{popupPosition:"center",deviceType:y,isModalBottomSheetOpen:ea,handleClickCTermsPopup:e=>{eo(e)},termsAndConditionData:ei})]})]})},G=i()(()=>l.e(3487).then(l.bind(l,13487)),{loadableGenerated:{webpack:()=>[13487]}}),V=i()(()=>l.e(6445).then(l.bind(l,76445)),{loadableGenerated:{webpack:()=>[76445]}}),z=e=>{let t=(0,n.hj)(null==e?void 0:e.apiData,null==e?void 0:e.apiData,{}),l=(0,n.hj)(null==t?void 0:t.data,null==t?void 0:t.data,{}),a=(0,n.hj)(null==l?void 0:l.attributes,null==l?void 0:l.attributes,{});return"object"==typeof t.errors?(0,d.jsx)(V,{}):(null==a?void 0:a.card_type)?(0,n.Im)(t)?(0,d.jsx)(G,{}):(0,d.jsx)(H,{apiData:null==e?void 0:e.apiData,deviceType:null==e?void 0:e.deviceType}):["normal","finance","flash"].includes(null==a?void 0:a.deal_card_type)?(0,d.jsx)(A,{apiData:null==e?void 0:e.apiData,deviceType:null==e?void 0:e.deviceType}):(0,d.jsx)(V,{})};var K=!0;let Y=e=>(0,d.jsx)(z,{apiData:null==e?void 0:e.apiData,deviceType:null==e?void 0:e.deviceType})},11761:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>s});var d=l(37876),a=l(98433),o=l(6825),i=l(55749),n=l(86649);let s=e=>{var t;let l=null!=(t=null==e?void 0:e.popupPosition)?t:"center",s=null==e?void 0:e.deviceType,c=null==e?void 0:e.isModalBottomSheetOpen,r=null==e?void 0:e.termsAndConditionData;return r?(0,d.jsx)(o.A,{deviceType:s,popupPosition:l,isModalBottomSheetOpen:c,handleClickModalBottomSheet:t=>{var l;null==e||null==(l=e.handleClickCTermsPopup)||l.call(e,t),t||document.body.classList.remove("overflow-hidden")},children:s==a.R.DESKTOP_TEXT?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.A,{title:"Terms & Conditions",alignText:"left",customStyle:"md:text-2xl md:font-bold md:text-ck-text-black",customParentStyle:"!pt-0 !mt-0 justify-center"}),(0,d.jsx)("div",{className:"prod_desk_terms popupDesktopScroll custom_default_scrollbar md:px-14",children:(0,n.Ay)(r)})]}):(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"pb-4 md:mb-0 border-b md:border-none border-ck-stroke-gray",children:(0,d.jsx)("p",{className:"text-base md:text-2xl font-bold md:font-bold text-center",children:"Terms & Conditions"})}),(0,d.jsx)("div",{className:"prod_details_terms flex flex-col gap-3 p-6",children:(0,n.Ay)(r)})]})}):null}},29911:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>x});var d=l(37876),a=l(50416),o=l(55749),i=l(19357);l(60094),l(97590);var n=l(85775),s=l(79096),c=l(14232),r=l(87253),u=l(98433),m=l(10967);let x=e=>{let t=null==e?void 0:e.id,l=null==e?void 0:e.productsData,x=null==e?void 0:e.title,p=null==e?void 0:e.pageType,h=(0,a.hR)(),[b,v]=(0,c.useState)(!0);return(0,d.jsxs)("section",{className:"mb-0",children:[(0,d.jsxs)("div",{className:"max-w-full md:px-10 lg:px-[64px]",children:[(null==e?void 0:e.deviceType)!=u.R.DESKTOP_TEXT?(0,d.jsxs)("div",{className:"flex items-center justify-between cursor-pointer px-4 md:px-0",onClick:()=>v(!b),children:[(0,d.jsx)(o.A,{title:x,id:t,customStyle:"text-ck-text-black text-sm md:text-base !leading-none font-semibold md:font-extrabold pb-4 ",customParentStyle:"md:!mt-0",alignText:"left"}),b?(0,d.jsx)("i",{className:"material-symbols-outlined mdi-arrow-drop-up !pt-[6px]","aria-hidden":"true"}):(0,d.jsx)("i",{className:"material-symbols-outlined mdi-arrow-drop-down !pt-[6px]","aria-hidden":"true"})]}):(0,d.jsx)("div",{className:"flex items-center justify-between px-4 md:px-0",children:(0,d.jsx)(o.A,{title:x,id:t,customStyle:"text-ck-text-black text-sm md:text-base !leading-none font-semibold md:font-extrabold pb-4 ",customParentStyle:"md:!mt-0",alignText:"left"})}),(0,m.Im)(l)?(0,d.jsx)("div",{className:"overflow-hidden h-auto accordion_
1item ".concat(b?"":"collapsed"),children:(0,d.jsxs)("div",{className:"p-4 flex items-center flex-col mb-2",children:[(0,d.jsx)(n.A,{src:s.C.SIMILAR_MORE_PRODUCTS_NO_DATA_IMAGE,desktopWidthHeight:{width:100,height:100},mobileWidthHeight:{width:48,height:48},alt:"".concat(x,"-no data image")}),(0,d.jsx)("p",{className:"text-ck-text-inactive text-xs md:text-sm lg:text-base font-medium text-center mt-4",children:"We are curating similar products. Kindly check again later!"})]})}):(0,d.jsx)("div",{className:"overflow-hidden h-auto accordion_item ".concat(b?"":"collapsed"),children:(0,d.jsx)("div",{className:"cks_product_slider pb-4 overflow-hidden h-auto accordion_item ".concat(!b?"collapsed":""," ").concat(x==u.R.SIMILAR_MORE_PRODUCTS&&"pb-8 md-0"),children:(0,d.jsx)(i.A,{...h,className:"w-full",children:l.map((e,t)=>{let l="simprod"+String(t);return(0,d.jsx)(r.A,{keyValue:l,index:t,item:e,pageType:p},l)})})})})]}),(0,d.jsx)("div",{className:"w-full h-2 lg:h-[10px] bg-ck-artBoard-gray md:bg-ck-section-light-blue ".concat(x==u.R.SIMILAR_MORE_PRODUCTS&&"hidden")})]})}},35529:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/product-details",function(){return l(6149)}])},40183:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>i});var d=l(37876),a=l(48230),o=l.n(a);let i=e=>{let{breadcrumbLists:t,clickAction:l,clickFor:a}=e;return(0,d.jsx)("nav",{className:"hidden md:flex md:px-10 lg:px-[72px] py-4","aria-label":"Breadcrumb",id:"breadcrumb_top_section",children:(0,d.jsxs)("ol",{className:"inline-flex flex-wrap items-center space-x-1 md:space-x-2",itemScope:!0,itemType:"https://schema.org/BreadcrumbList",id:"breadcrumb_section",children:[(0,d.jsxs)("li",{className:"flex items-center",itemProp:"itemListElement",itemScope:!0,itemType:"https://schema.org/ListItem",id:"breadcrumb_home_section",children:[(0,d.jsx)(o(),{href:"/",className:"text-sm font-medium text-ck-text-inactive md:leading-4",prefetch:!1,itemProp:"item",id:"breadcrumb_home_link",children:(0,d.jsx)("span",{itemProp:"name",className:"hover:text-ck-blue",children:"Home"})}),(0,d.jsx)("meta",{itemProp:"position",content:"1"})]}),t&&(null==t?void 0:t.length)>0&&(0,d.jsx)(d.Fragment,{children:t.map((e,i)=>{let n="brcdk_"+i,s=e.name.replace(/[^a-zA-Z0-9]/g,"_");return(s=s.toLowerCase()+"_"+(i+2),t.length!==i+1)?(0,d.jsxs)("li",{className:"flex items-center",itemProp:"itemListElement",itemScope:!0,itemType:"https://schema.org/ListItem",id:"breadcrumb_".concat(s,"_section"),children:[(0,d.jsxs)(o(),{href:"".concat(e.link),itemProp:"item",className:"text-sm font-medium text-ck-text-inactive md:leading-4",onClick:()=>{var t;return t=e.link,void(l&&a&&t===a&&l())},id:"breadcrumb_".concat(s,"_link"),children:[(0,d.jsx)("span",{className:"mr-2",children:"/"}),(0,d.jsx)("span",{className:"hover:text-ck-blue",itemProp:"name",children:e.name})]}),(0,d.jsx)("meta",{itemProp:"position",content:(i+2).toString()})]},n):(0,d.jsxs)("li",{"aria-current":"page",itemProp:"itemListElement",itemScope:!0,itemType:"https://schema.org/ListItem",id:"breadcrumb_".concat(s,"_section"),children:[(0,d.jsx)("div",{className:"flex items-center",children:(0,d.jsxs)("span",{className:"ms-1 text-sm font-semibold text-black tracking-tight md:leading-4",id:"breadcrumb_".concat(s,"_link"),children:[(0,d.jsx)("span",{className:"mr-2 font-medium text-ck-text-black md:leading-4",children:"/"}),(0,d.jsx)("span",{itemProp:"name",children:e.name})]})}),(0,d.jsx)("meta",{itemProp:"position",content:(i+2).toString()})]},n)})})]})})}},40919:(e,t,l)=>{"use strict";l.d(t,{V:()=>a,W:()=>d});let d=async e=>{try{await navigator.clipboard.writeText(e),sessionStorage.setItem("_ck_co_cd_",e)}catch(d){var t,l;if(!(null==(l=navigator)||null==(t=l.clipboard)?void 0:t.writeText)){let t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),sessionStorage.setItem("_ck_co_cd_",e)}}},a=async()=>{try{return await sessionStorage.getItem("_ck_co_cd_")}catch(e){return""}}},62121:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var d=l(37876);let a=e=>{let t=null==e?void 0:e.itration,l=null==e?void 0:e.itemId,a=null==e?void 0:e.deal_card_type,o=null==e?void 0:e.timerValue,i=null==e?void 0:e.dealLabel,n=null==e?void 0:e.classNotFlas
1h,s=null==e?void 0:e.classFlash;return(0,d.jsx)("div",{className:"".concat("flash"==a?"flashDealTimer mb-[18px] md:mb-6 mt-2 p-1 !h-[28px] "+s:"mt-5 mb-5 md:mt-10 md:mb-8 "+n," !h-6 !w-fit px-2 md:px-4 md:!h-[40px] m-auto bg-white z-1 timer_grad_line md:flex border border-ck-stroke-gray rounded-md flex justify-center items-center"),id:"countDownTitle2",children:(0,d.jsxs)("p",{className:"!text-xs md:!text-lg classForTimerIcon text-[10px] lg:text-md ".concat("flash"==a?"text-[#51606A]":"text-ck-red"," font-semibold flex items-center gap-1 leading-4 whitespace-nowrap"),id:l+"_"+t,children:[(0,d.jsx)("i",{id:"item_timer_"+t,className:"material-symbols-outlined mdi-schedule text-[16px] !leading-4 md:text-xl lg:text-2xl","aria-hidden":"true"})," ",i," ",o]})})}},63660:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var d=l(14232);let a=0,o=null;async function i(){return o||(o=(async()=>{try{let e=await fetch("/gct"),t=e.headers.get("x-gct")||e.headers.get("date");t&&(a=new Date(t).getTime()-Date.now())}catch(e){a=0}})())}function n(e){let{startDate:t,targetDate:l,onInit:o,onExpire:n,isGMT:s}=e,[c,r]=(0,d.useState)({days:0,hours:0,minutes:0,seconds:0,isFuture:!1}),u=(0,d.useRef)(null),m=(0,d.useRef)(!1),x=()=>{u.current&&clearInterval(u.current)};return(0,d.useEffect)(()=>{let e=!0;return async function(){await i(),u.current=setInterval(()=>{let{diff:d,isFuture:i}=function(){let e,d=(e=Date.now()+a,s&&(e+=198e5),e),o=null==t?void 0:t.getTime(),i=l.getTime(),n=!1,c=i;if(o&&o>d&&(n=!0,c=o),!c)return{diff:0,isFuture:!1};let r=c-d;return r<=0?{diff:0,isFuture:n}:{diff:r,isFuture:n}}();if(!Number.isNaN(d)&&Number.isFinite(d)&&e){if(d<=0){x(),null==n||n();return}m.current||(null==o||o(),m.current=!0),r({days:Math.floor(d/864e5),hours:Math.floor(d/36e5%24),minutes:Math.floor(d/6e4%60),seconds:Math.floor(d/1e3%60),isFuture:i})}},1e3)}(),()=>{e=!1,x()}},[t,l]),c}},82512:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>o});var d=l(37876),a=l(84246);let o=e=>{let{labelText:t,labelType:l,labelTextSize:o,customClass:i,id:n,pageType:s}=e,c=null!=l?l:"start",r="",u="";switch(c){case"center":r="h-[18px] w-auto md:max-w-[90%] md:h-[31px] bg-ck-labelGradient rounded-b-lg md:rounded-b-[13px]",u=t.length>18?"".concat(null==t?void 0:t.substring(0,18),"..."):t;break;case"end":r="w-auto h-[18px] md:h-[26px] bg-ck-red rounded-tr-2xl !px-5 rounded-bl-lg !relative",u=t.length>21?"".concat(null==t?void 0:t.substring(0,21),"..."):t;break;default:r="w-[200px] h-[31px] bg-ck-red rounded-tl-2xl rounded-br-lg",u=t.length>21?"".concat(null==t?void 0:t.substring(0,21),"..."):t}return(0,d.jsx)("div",{className:"flex h-8 justify-".concat(c," ").concat(null!=i?i:""),id:"card_label_".concat(null!=n?n:t.split(" ").join("_"),"_").concat((0,a.hw)()),children:(0,d.jsx)("div",{className:" ".concat(r," flex justify-center items-center z-0 px-4 ").concat("deal_details"==s?"md:rounded-bl-xl":""),children:(0,d.jsx)("p",{className:" text-white text-[9px] md:text-base ".concat(null!=o?o:""," line-clamp-1 font-semibold text-center"),children:u})})})}}},e=>{e.O(0,[7253,8534,5834,8255,6593,8792],()=>e(e.s=35529)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.