PageSourceSearch

https://www.bagchee.com/static/js/8017.2804a044.chunk.js

js bagchee.com collected 2026-10-02 11:18:06 UTC 1,397 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[8017],{8017(e,a,t){t.r(a),t.d(a,{default:()=>o});var r=t(5043),l=t(7874),i=t(2532),s=t(3046),c=t(579);const n=()=>{var e;const{data:a,isLoading:t}=(0,i.I)({queryKey:["eGiftCardBannerWebsite"],queryFn:async()=>(await s.A.get("".concat("https://www.bagchee.com/api","/e-gift-card-banner/list"),{params:{isActive:"yes"}})).data.data,staleTime:6e5}),r=e=>{var a;if(!e)return"";if(e.startsWith("http"))return e;const t=(null===(a="https://www.bagchee.com/api")?void 0:a.replace("/api",""))||"http://localhost:5000";return"".concat(t,"/").concat(e.replace(/^\//,""))};if(t)return null;const n=null===a||void 0===a||null===(e=a.filter(e=>e.isActive&&(e.desktopImage||e.mobileImage)))||void 0===e?void 0:e.sort((e,a)=>(e.order||0)-(a.order||0));if(!n||0===n.length)return null;const o=n[0];return(0,c.jsx)("div",{className:"w-full bg-cream-50 py-4 md:py-8 flex items-center justify-center",children:(0,c.jsx)(l.N_,{to:"/gift-card-detail",className:"block w-full cursor-pointer group",children:(0,c.jsxs)("picture",{className:"block w-full",children:[o.mobileImage&&(0,c.jsx)("source",{media:"(max-width: 1023px)",srcSet:r(o.mobileImage)}),(0,c.jsx)("img",{src:r(o.desktopImage||o.mobileImage),alt:"E-Gift Card Banner",className:"block w-full h-auto",loading:"lazy"})]})})})},o=r.memo(n)}}]);
2//# sourceMappingURL=8017.2804a044.chunk.js.map

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.