PageSourceSearch

https://alriyadh.gov.sa/_next/static/chunks/app/%5Blocale%5D/new/news/page-4947a324f93ddd64.js

js alriyadh.gov.sa collected 2026-09-24 09:28:42 UTC 4,184 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7584],{27706:function(e,t,a){Promise.resolve().then(a.bind(a,24817))},24817:function(e,t,a){"use strict";a.d(t,{default:function(){return m}});var i=a(98765),l=a(24561),s=a(18645);a(45905);var r=a(23539);a(5205),a(91545),a(87297);var n=a(11736),d=a(27522),o=a(64121),c=e=>{let{sliders:t}=e,a=(0,d.useRouter)();return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("section",{className:"w-full sm:h-[491px] h-[250px] rounded-dga-md",children:(0,i.jsx)(r.tq,{style:{"--swiper-pagination-color":"#09A66C","--swiper-pagination-bullet-inactive-color":"#fff","--swiper-pagination-bullet-inactive-opacity":"1","--swiper-pagination-bullet-size":"10px","--swiper-pagination-bullet-horizontal-gap":"6px"},className:"rounded-dga-md",spaceBetween:0,loop:!0,pagination:{clickable:!0},navigation:!1,modules:[n.tl],breakpoints:{0:{slidesPerView:1}},children:t.map((e,t)=>(0,i.jsx)(r.o5,{children:(0,i.jsxs)("div",{className:"relative flex flex-col rounded-dga-md w-full justify-end h-full py-dga-5xl px-dga-xl md:px-dga-8xl gap-dga-4xl overflow-hidden",children:[(0,i.jsx)(o.default,{src:e.image,alt:e.title||"Slider image",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",className:"object-cover bg-center",priority:0===t,quality:0===t?90:80,loading:0===t?"eager":"lazy",fetchPriority:0===t?"high":"auto"}),(0,i.jsx)("div",{className:"absolute inset-0 bg-dga-primary-950/80 z-0"}),(0,i.jsxs)("div",{className:"relative flex flex-col justify-end gap-dga-4xl z-10 text-white",children:[void 0===e.description?(0,i.jsx)("a",{href:e.href,className:"font-dga-semiBold md:text-dga-display-sm text-dga-text-lg text-white hover:underline",children:e.title}):(0,i.jsx)("h2",{className:"font-dga-semiBold md:text-dga-display-sm text-dga-text-lg text-white",children:e.title}),e.description&&(0,i.jsx)("p",{className:"text-dga-text-xl font-dga-regular text-white",children:e.description}),e.button&&(0,i.jsx)(l.zx,{variant:"solid",className:"bg-white text-dga-neutral-800",onClick:()=>{a.push(e.href||"")},children:e.button})]})]})},t))})})})},u=a(28667),g=e=>{let{featuredNews:t,newsCards:a,itemsPerPage:r}=e,n=(0,s.useTranslations)(),d=(0,s.useLocale)(),o=(null==t?void 0:t.data.map(e=>{var t;return{image:null===(t=e.NewsHeader.Image)||void 0===t?void 0:t.url,title:e.NewsHeader.Title,href:"/".concat(d,"/news/").concat(e.pageSlug)}}))||[],g=(null==a?void 0:a.data.map(e=>{var t;
1return{title:e.NewsHeader.Title,image:(null==e?void 0:null===(t=e.featuredImage)||void 0===t?void 0:t.url)||"",href:"/".concat(d,"/news/").concat(e.pageSlug),publishedAt:e.PublishDate||"",button:n("general.read_more")}}))||[],m={homeItem:{text:n("general.home")},items:[{text:"".concat(n("metadata.news")),href:"/news"}]},x={item:{title:n("metadata.news")}};return(0,i.jsxs)(l.LY,{pageHeader:x,breadCrumbItems:m,children:[(0,i.jsx)(c,{sliders:o}),(0,i.jsx)(u.Z,{news:g}),(0,i.jsx)(l.tl,{totalItems:a.meta.pagination.total,itemsPerPage:r,showPagination:!0,dir:"ar"===d?"rtl":"ltr"})]})},m=e=>{let{featuredNews:t,newsCards:a,itemsPerPage:l}=e;return(0,i.jsx)(g,{featuredNews:t,newsCards:a,itemsPerPage:l})}},28667:function(e,t,a){"use strict";var i=a(98765),l=a(24561),s=a(51768),r=a(50442),n=a(15462),d=a(18645),o=a(27522);t.Z=e=>{let{news:t}=e,a=(0,o.useRouter)(),c=(0,d.useLocale)();return(0,i.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-x-dga-3xl gap-y-dga-4xl w-full",children:t.map((e,t)=>(0,i.jsx)(l.Zb,{className:"w-full",imgClassName:"aspect-[4/3]",title:e.title,imageSrc:e.image,imgProps:{loading:"eager",fetchPriority:"high"},tags:e.publishedAt?[{text:e.publishedAt,tagIcon:s.Z,size:"medium",variant:"box",type:"success",iconSize:"small"}]:[],PrimaryAction:(0,i.jsxs)(l.zx,{variant:"outline",size:"md",className:"[&_svg]:size-5",onClick:()=>{a.push(e.href)},children:[e.button,(0,i.jsx)(l.zx.Icon,{children:"ar"===c?(0,i.jsx)(r.Z,{}):(0,i.jsx)(n.Z,{})})]})},t))})}}},function(e){e.O(0,[7274,5751,9864,4273,300,2462,4528,7772,9963,176,2723,7642,7349,806,4109,881,8645,5952,1604,7611,551,8888,1883,7705,7078,6912,1765,3613,2124,7622,8005,5176,2672,4561,6827,7968,1744],function(){return e(e.s=27706)}),_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.