PageSourceSearch

https://cashkaro.com/_next/static/chunks/7431.684754019f8a88fa.js

js cashkaro.com collected 2026-09-24 09:22:53 UTC 4,709 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7431],{7431:(e,t,s)=>{s.r(t),s.d(t,{default:()=>u});var i=s(95155),l=s(96139),d=s(62262),r=s(92581),n=s(74900),a=s(12115),m=s(9110);let o=e=>{let{storeName:t,handleClose:s}=e;return(0,i.jsxs)("div",{className:"",children:[(0,i.jsx)("div",{className:"pb-4 md:mb-0 border-b md:border-none border-ck-stroke-gray",children:(0,i.jsx)("p",{className:"text-base md:text-2xl font-bold md:font-bold text-center",id:"mcbNewExistingLearnMoreTitle",children:"New/Existing user cashback"})}),(0,i.jsxs)("div",{className:"md:px-[58px]",children:[(0,i.jsx)("div",{className:"flex flex-col items-center justify-center"}),(0,i.jsxs)("div",{className:"px-4",children:[(0,i.jsxs)("p",{className:"text-sm font-medium md:text-base md:font-medium md:leading-6 md:mb-8 md:mt-8 mt-6 mb-2 md:w-[444px] text-ck-text-inactive",id:"mcbNewExistingLearnMoreInfo",children:["Once ",t," confirms you as a new or existing user, your cashback may increase or decrease."]}),(0,i.jsx)("div",{className:"flex items-center justify-center",children:(0,i.jsx)(r.default,{enableShine:!0,id:"mcbNewExistingLearnMoreGotItCTA",onClick:()=>s(),customStyle:"bg-ck-blue text-white min-w-[328px] w-full max-w-[360px] h-[48px] rounded-lg flex items-center justify-center !text-base !font-semibold mt-6 mb-4",children:m.R.OKAY_GOT_IT_TEXT})})]})]})]})};var c=s(27754),x=s(32492);let u=()=>{var e,t,s,m,u,b;let{currentTicket:h,handleAdditionalInfoAdd:p}=(0,n.useMcbContext)(),g=[],[w,f]=(0,a.useState)(""),[N,v]=(0,a.useState)(!1);null==h||h.relationships.action.forEach(e=>{let t=e.data.attribute;["New","Existing"].includes(t.user_type)&&g.push(t)});let j=async e=>{let t=await p(null==h?void 0:h.id,e);(null==t?void 0:t.code)=="error"&&f(()=>null==t?void 0:t.message)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"px-4 md:py-2 md:px-10 h-full flex flex-col justify-between md:w-[500px] lg:w-[800px]",children:[(0,i.jsxs)("div",{className:"sm:grid md:block sm:place-content-center sm:place-items-center",children:[(0,i.jsx)("div",{className:"max-w-[104px] md:max-w-[120px] max-h-[48px] md:max-h-[72px] rounded-md md:rounded-[6px] mb-4 border bg-white border-ck-stroke-gray p-2 grid place-content-center",children:(0,i.jsx)(d.default,{src:null==h||null==(e=h.attributes)?void 0:e.imageurl,alt:null==h||null==(t=h.attributes)?void 0:t.report_storename,title:null==h||null==(s=h.attributes)?void 0:s.report_storename,priority:!0,desktopWidthHeight:{width:0,height:0},mobileWidthHeight:{width:0,height:0},id:"mcbNewExistingStoreImage",className:"w-[104px] md:w-[120px] h-[48px] md:h-[72px] p-1 object-contain"})}),(0,i.jsxs)("p",{className:"text-base md:font-semibold font-extrabold",id:"mcbNewExistingNewUserQuestion",children:["Great! Are you a new user on"," ",null==h||null==(m
1=h.attributes)?void 0:m.report_storename]}),(0,i.jsxs)("p",{className:"text-sm md:text-base font-medium mt-[10px] md:mt-2",id:"mcbNewExistingCashbackInfo",children:[null==h||null==(u=h.attributes)?void 0:u.report_storename," gives different Cashbacks to new and existing users."]}),(0,i.jsxs)(r.default,{onClick:()=>v(!0),id:"mcbNewExistingLearnMore",customStyle:"!text-ck-blue !text-base md:!text-sm font-semibold gap-1 my-4 md:my-2 -tracking-[0.28px] group",children:["Learn More",(0,i.jsx)(d.default,{src:l.C.ARROW_ICON,alt:"Learn More",title:"Learn More",priority:!0,desktopWidthHeight:{width:20,height:20},mobileWidthHeight:{width:24,height:24},className:"size-6 md:group-hover:translate-x-1 transition-all ease-out duration-500"})]})]}),(0,i.jsxs)("div",{className:"mb-4",children:[(null==g?void 0:g.length)>0&&(0,i.jsx)("div",{className:"bg-white md:relative bottom-4 md:bottom-0 grid md:flex place-content-center md:justify-end left-0  right-0 mx-auto w-full px-4 gap-y-2 md:gap-2 md:mt-[35px]",children:g.toReversed().map(e=>(0,i.jsx)(r.default,{enableShine:"New"===e.user_type,id:"mcbNewExisting_".concat(e.user_type,"_CTA"),onClick:()=>j(e.user_type),customStyle:"min-w-[208px] h-12 ".concat("New"===e.user_type?"bg-ck-blue text-white":"bg-white text-ck-blue order-1"," rounded-lg grid place-items-center  !text-base font-semibold md:border md:border-ck-blue md:order-2"),children:e.name},e.user_type))}),w&&(0,i.jsx)("span",{className:"text-ck-red text-xs md:text-sm font-medium w-[95%] md:w-full mb-1 text-center !leading-[16px] inline-block mt-2",id:"mcbNewExistingErrorMessage",children:w})]})]}),(0,i.jsx)(c.default,{deviceType:x.Ie,isModalBottomSheetOpen:N,handleClickModalBottomSheet:()=>v(!1),children:(0,i.jsx)(o,{storeName:null==h||null==(b=h.attributes)?void 0:b.report_storename,handleClose:()=>{v(!1),document.body.classList.remove("overflow-hidden")}})})]})}}}]);

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.