PageSourceSearch

https://assets.zawya.com/prod/NewsWidgetBasic.553c6ce1ae8dc1b55841.js

js zawya.com collected 2026-10-01 07:52:23 UTC 2,838 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkzawya_glide_deliver=self.webpackChunkzawya_glide_deliver||[]).push([[3602,9008],{OPqi(e,a,s){s.d(a,{V:()=>i});var r=s("nKUr");const i=({src:e,alt:a,sources:s=[],nativeLazy:i=!0,classList:c=[],responsive:d=!0,width:t,height:n})=>{const l=["gd-picture__img",...d?["gd-picture__img--responsive"]:[],...c].filter(Boolean).join(" "),o={src:e};return i&&(o.loading="lazy"),(0,r.jsxs)("picture",{className:"gd-picture",children:[s.map((e,a)=>(0,r.jsx)("source",{srcSet:e.srcset,media:e.media},a)),(0,r.jsx)("img",{className:l,...o,alt:a,...t?{width:String(t)}:{},...n?{height:String(n)}:{}})]})}},cRbG(e,a,s){s.r(a),s.d(a,{default:()=>o,onLoad:()=>l});var r=s("nKUr"),i=s("q1tI"),c=s("EbEg"),d=s("OPqi");function t(e){const[a,s]=(0,i.useState)(!1),{widgetHeadline:c="",articlesResolved:t=[],headlinePageUrl:n="",direction:l=""}=e;return(0,i.useEffect)(()=>{s(!0)},[]),a?(0,r.jsxs)("div",{className:"news-cards gd-frame",dir:l,children:[c&&(0,r.jsxs)("div",{className:"news-cards__header",children:[(0,r.jsx)("a",{className:"news-cards__title",href:n,children:c}),e.actionMenu&&(0,r.jsx)("div",{className:"news-cards__action-menu",dangerouslySetInnerHTML:{__html:e.actionMenu}})]}),(0,r.jsx)("div",{className:"news-cards__grid",children:t.map((e,a)=>(0,r.jsxs)("article",{className:"news-cards__card",children:[(0,r.jsx)("a",{href:e.path,className:"news-cards__image-link",children:(0,r.jsx)("div",{className:"news-cards__image-wrapper",children:(0,r.jsx)(d.V,{src:e.wideImage||e.image,alt:e.headline||"article image",nativeLazy:a>0,width:432,height:243,sources:e.isPlaceholder?[]:[...e.imageMobile?[{srcset:e.imageMobile,media:"(max-width: 767px)"}]:[]],classList:e.isPlaceholder?["gd-picture__img--placeholder"]:[]})})}),(0,r.jsxs)("div",{className:"news-cards__content",children:[e.primaryKeyword&&(0,r.jsx)("a",{href:e.primaryKeywordTopicPageUrl,className:"news-cards__category",children:e.primaryKeyword}),(0,r.jsx)("a",{href:e.path,className:"news-cards__headline-link",children:(0,r.jsx)("h2",{className:"news-cards__headline",children:e.headline})}),(0,r.jsx)("div",{className:"news-cards__bookmark",dangerouslySetInnerHTML:{__html:e.bookmark}})]})]},e.id||a))})]}):null}let n=0;function l(){n++;try{document.querySelectorAll(".zawya-news-widget-basic-wrapper:not([data-hydrated])").forEach(e=>{const a=null==e?void 0:e.getAttribute("data-configuration");if(!a)throw new Error("News widget basic Hydration error");{e.setAttribute("data-hydrated","true");const{widgetHeadline:s="",articlesResolved:i,actionMenu:d="",headlinePageUrl:n="",direction:l="",backgroundColour:o=""}=JSON.parse(a)||{};(0,c.c)(e,(0,r.jsx)(t,{widgetHeadline:s,articlesResolved:i,actionMenu:d,headlinePageUrl:n,direction:l,backgroundColour:o})),o&&(e.style.backgroundColor=o)}})}catch(e){n<100&&setTimeout(()=>{l()},500)}}const o=t}}]);

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.