PageSourceSearch

https://www.almanea.sa/version1790911664082/_next/static/chunks/1507.2d0e598abc6a83fe.js

js almanea.sa collected 2026-10-04 14:07:29 UTC 2,450 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1507],{1507:function(l,a,t){t.r(a),t.d(a,{HotCategoriesListDualDesign:function(){return HotCategoriesListDualDesign},default:function(){return HotCategoriesList}});var i=t(85893),e=t(58429),s=t(11163),c=t(3280),n=t(41664),o=t.n(n),d=t(67737),r=t(96663);function HotCategoriesList(l){var a,t;let{data:s,isMobile:c}=l,n=null==s?void 0:null===(a=s.value)||void 0===a?void 0:a.length;return(0,i.jsx)(e.Z,{className:"my-10 max-md:my-4",children:(0,i.jsx)("div",{className:"grid grid-cols-".concat(n," max-[570px]:grid-cols-1 gap-4 max-md:gap-2 bg-neutral-100 p-4 max-md:p-2 rounded-lg"),children:null==s?void 0:null===(t=s.value)||void 0===t?void 0:t.map((l,a)=>(0,i.jsx)(HotCategoriesListDualDesign,{data:l,sections:n,isMobile:c},l.id||l["title-en"]||a))})})}function HotCategoriesListDualDesign(l){var a;let{data:t,isMobile:e,sections:n}=l,{locale:u}=(0,s.useRouter)(),g=t[(0,c.GX)("img",e,u)];return(0,i.jsxs)("div",{className:"".concat(1===n?"grid ".concat(g?"grid-cols-6":"grid-cols-1"," gap-4 max-[768px]:gap-0 max-[768px]:grid-cols-2 max-[768px]:content-start"):"grid grid-cols-4 gap-4 max-[768px]:gap-0 max-[768px]:grid-cols-2 max-[768px]:content-start"," items-center"),children:[g?(0,i.jsx)(o(),{href:"/".concat((0,c.mQ)(null==t?void 0:t.url,null==t?void 0:t.type)),className:"h-full col-span-2",children:(0,i.jsx)(d.Z,{src:(0,r.validateImgSrc)(g),alt:t["title-".concat(u)],className:"w-full h-full",width:500,height:500,quality:100})}):null,(0,i.jsxs)("div",{className:"max-[768px]:mt-0 ".concat(1===n?"col-span-4 max-[768px]:col-span-2":"col-span-2"," grid ").concat(1===n?"grid-cols-4 max-[768px]:grid-cols-2":"grid-cols-2 max-[768px]:grid-cols-2"," gap-4 max-md:gap-2"),children:[2===n&&(0,i.jsx)("h2",{className:"col-span-2 font-bold text-center max-[570px]:hidden",children:t["title-".concat(u)]||""}),null==t?void 0:null===(a=t.value)||void 0===a?void 0:a.map((l,a)=>l[(0,c.GX)("active",e)]&&(0,i.jsx)(o(),{href:"/".concat((0,c.mQ)(null==l?void 0:l.url,null==l?void 0:l.type)),className:"col-span-1 p-4 overflow-hidden bg-white rounded-lg max-md:p-2",children:(0,i.jsx)(d.Z,{src:(0,r.validateImgSrc)(l[(0,c.GX)("img",e,u)]),alt:l["title-".concat(u)],className:"object-contain w-full h-full transition-all duration-500 lg:hover:scale-110",width:500,height:500,quality:100})},l.id||l["title-".concat(u)]||a))]})]})}}}]);
2//# sourceMappingURL=1507.2d0e598abc6a83fe.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.