PageSourceSearch

https://ripplemind.com/_next/static/chunks/pages/departments.html-d1aa4ea8f459f7d5.js

js ripplemind.com collected 2026-10-06 13:15:55 UTC 4,776 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7016],{98332:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/departments.html",function(){return r(40638)}])},40638:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return h}});var n=r(85893),s=r(41664),a=r.n(s),l=r(67294),o=r(7430),i=r(88446),c=r(30120),u=r(61839),d=()=>{let[e,t]=(0,l.useState)([]),[r,s]=(0,l.useState)([]);(0,l.useEffect)(()=>{d(),h()},[]);let d=async()=>{try{let e=[];e.push({basicSearchKey:"status",basicSearchValue:1,basicSearchType:"number"});let r=await i.Z.post("banner/publicGetAllBanner",{sortDetails:{sortKey:"id",sortType:1},searchDetailsAnd:e}),n=r.data,s=null==n?void 0:n.banner,a=(e,t)=>{let r=c.ou.now(),n=(0,u.Z)(e,""),s=(0,u.Z)(t,""),a=c.ou.fromISO(n),l=c.ou.fromISO(s);return r>=a&&r<=l},l=[],o=[];if(Array.isArray(l)&&(l=s,Array.isArray(l))){for(let e=0;e<=l.length;e++)if("object"==typeof l[e]&&Object.keys(l[e]).length>0){let t=l[e].start_time,r=l[e].end_time,n=a(t,r);0!=l[e].order_by&&n&&1===l[e].show_at&&1===l[e].status&&o.push({images:l[e].images,url:l[e].url,status:n,order_by:l[e].order_by})}}return t(o),{sideBannerArr:o}}catch(e){return console.error(e),{bannerArr:[],sideBannerArr:[]}}},h=async()=>{try{var e;let t=await i.Z.get("product_3/getProduct_3_categoryHP_public");s(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.data)}catch(e){console.error(e)}},m=(e,t)=>{let s=r.filter(t=>(null==t?void 0:t.head_id)===e);return(0,n.jsx)(n.Fragment,{children:s.length>0?(0,n.jsxs)("p",{className:" ",children:[(0,n.jsxs)("span",{className:"text-xl font-bold",children:[t,": "]}),s.map((e,t)=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a(),{href:null==e?void 0:e.HPcatURL,children:null==e?void 0:e.head}),s.length-1!==t&&(0,n.jsx)("strong",{className:"text-xl",children:" | "})]}))]}):null})};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"lg:mx-28",children:[(0,n.jsxs)("div",{className:"container mx-auto bg-gray-200 h-10 lg:my-3 rounded-md p-2 text-gray-500",children:[(0,n.jsx)(a(),{className:"hover:text-red-700",href:"/",children:"Home"}),"\xa0/\xa0",(0,n.jsx)(a(),{className:"hover:text-red-700",href:"/departments.html",children:"Department"})]}),(0,n.jsxs)("div",{className:"flex p-5 flex-col  lg:flex-row",children:[(0,n.jsxs)("div",{className:"w-2/3 flex flex-col gap-5 ",children:[m(1,"Numismatic"),m(2,"Jewellery"),m(3,"Book & Catalogue"),m(4,"Philately"),m(5,"Painting"),m(6,"Bank Notes"),m(7,"Other Collectibles"),m(8,"Gandhi Collectibles"),m(9,"Accessories"),m(10,"Autograph")]}),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("section",{className:"md:w-1/6 xxxs:mx-20",children:(0,n.jsx)(o.Z,{sideBannerDetail:e})})})]})]})})},h=()=>(0,n.jsx)(d,{})},7430:function(e,t,r){"use strict";var n=r(85893);r(67294),r(1538);var s=r(10615),a=r(29552),l=r(41664),o=r.n(l);let i=()=>({autoPlay:!0,showArrows:!1,showStatus:!1,showIndicators:!1,infiniteLoop:!0,showThumbs:!1,stopOnHover:!0,interval:6e3,transitionTime:500,swipeScrollTolerance:5,style:{}});t.Z=e=>{let{sideBannerDetail:t}=e;Array.isArray(t)&&t.reverse();let r={};for(let e of t){let{images:t,url:n,order_by:s}=e,a="images(".concat(s,")");r[a]?r[a].images.push({images:t,url:n}):r[a]={images:[{images:t,url:n}]}}return(0,n.jsx)(n.Fragment,{children:(()=>{let e=[];for(let c in r){let u=r[c],{images:d}=u;if((null==d?void 0:d.length)>1)e.push((0,n.jsx)(s.lr,{...i(),animationHandler:"slide",children:d.map((e,t)=>(0,n.jsx)("div",{className:"mt-2",children:(0,n.jsx)(o(),{href:"".concat(null==e?void 0:e.url),children:(0,n.jsx)("img",{src:"".concat(null===a.Z||void 0===a.Z?void 0:a.Z.CDN_URL_PUBLIC,"/uploads/banner/").concat(null==e?void 0:e.images),className:"object-contain"})})},t))},c));else if((null==d?void 0:d.length)===1){var t,l;e.push((0,n.jsx)(o(),{href:"".concat(null===(t=d[0])||void 0===t?void 0:t.url),children:(0,n.jsx)("div",{className:"mt-2 ",children:(0,n.jsx)("img",{src:"".concat(a.Z.CDN_URL_PUBLIC,"/uploads/banner/").concat(null===(l=d[0])||void 0===l?void 0:l.images),className:"object-contain w-[100%] h-[100%]"})})},c))}}return e})()})}},61839:function(e,t,r){"use strict";var n=r(30120);t.Z=(e,t)=>{try{if(!e)return"Date does not exist";let r=new Date(e),s=r.valueOf();if("number"!=typeof s||isNaN(s))return"Invalid Date";let a={year:r.getUTCFullYear(),month:r.getUTCMonth(),date:r.getUTCDate(),hours:r.getUTCHours(),minutes:r.getUTCMinutes(),seconds:r.getUTCSeconds()},l=n.ou.fromObject({year:a.year,month:a.month+1,day:a.date,hour:a.hours,minute:a.minutes,second:a.seconds});if(t.length>0)return l.setZone("Asia/Kolkata").toFormat(t).toString();return l.setZone("Asia/Kolkata").toString()}catch(e){return console.error(e),"Invalid Date"}}}},function(e){e.O(0,[120,1624,9774,2888,179],function(){return e(e.s=98332)}),_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.