1import{A as e,I as t,T as n,j as r}from"./chunk-KS7C4IRE-DIkipulk.js";import{t as i}from"./jsx-runtime-CsaOnxTR.js";import{da as a}from"./Elements-BJgAzht_.js";import{n as o,t as s}from"./ssr-CJ2n4bG3.js";import{t as c}from"./PageLayout-VSFjvclv.js";import{n as l}from"./MetaTags-DxD1Vn5J.js";import{t as u}from"./BlockHelper-CxA3Q3ex.js";import{t as d}from"./StatusHandler-BAQGTOm7.js";import{t as f}from"./adsHelper-D-PUDSBN.js";var p=t(r(),1),m=i(),h=!1,g=e=>{let t=e.loaderData;if(t.type===s.SUCCESS){let e=t.payload.metaData;return l(e)}},_=e(function(){let e=n();if(e.type===s.CLIENT_ERROR||e.type===s.SERVER_ERROR)return(0,m.jsx)(d,{response:e});let t=e.payload,r=t.results,{advertisements:i,gaData:o}=t,l=a(i)?i[0]:void 0;return!h&&i&&(f(i),h=!0),(0,m.jsx)(c,{lb1Ad:l,gaData:o,children:(0,m.jsx)(`div`,{children:a(r)&&r.map((e,t)=>(0,m.jsx)(p.Fragment,{children:u({...e})},t))})})});async function v(e){let t=await o(e);if(!t.context)return console.error(`Error occured during client-side routing for breaking news, returning server Loader Data`),await e.serverLoader();let n=t.context;return(!n||typeof n!=`object`||!(`payload`in n)||typeof n.payload!=`object`)&&console.error(`Client Loader: fetchContext() returned an invalid payload for breaking news`),n}export{v as clientLoader,_ as default,g as meta};
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.