PageSourceSearch

https://www.hellomagazine.com/_next/static/chunks/5100.e7bd6e0930515942.js

js hellomagazine.com collected 2026-10-01 08:46:10 UTC 3,297 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5100],{65100:(e,t,l)=>{l.r(t),l.d(t,{default:()=>u});var a=l(80263),n=l(4958),i=l.n(n),r=l(53239),o=l(87886),d=l(23727);let s=e=>{let t=document.getElementById("pagination");t&&(t.style.display=e?"block":"none")},u=e=>{var t,l;let{data:n,children:u}=e,[c,g]=(0,r.useState)([]),p=(0,r.useRef)(),m=n.liveReportPosts.map(e=>e.id),v=(e=>{let t=d.env.NEXT_PUBLIC_BASEPATH||"";return"".concat(t.replace(/\/$/,"")).concat(e)})("/api/livereport/".concat(n.liveReportID,"/"));console.debug("API ENDPOINT",v);let h=async()=>{var e;p.current&&p.current.abort(),p.current=new AbortController;let t=await fetch(v,{signal:null==(e=p.current)?void 0:e.signal});g(await t.json()),p.current=null};(0,r.useEffect)(()=>{let e=setInterval(()=>{h()},Number("30000"));return()=>{var t;null==(t=p.current)||t.abort(),clearInterval(e)}},[]);let I=null==(t=n.liveReportPosts)?void 0:t.map(e=>{var t,l,a,i,r,o,d,s,u,c,g,p;let m,v=null,h={"@type":"Person",name:e.dataItems.author};(null==e||null==(l=e.dataItems)||null==(t=l.image)?void 0:t.credits)&&(m={"@type":"Organization",name:null==e||null==(i=e.dataItems)||null==(a=i.image)?void 0:a.credits}),e.dataItems.image&&(v={"@type":"ImageObject",url:(null==e||null==(o=e.dataItems)||null==(r=o.image)?void 0:r.src)||null,width:(null==e||null==(s=e.dataItems)||null==(d=s.image)?void 0:d.width)||null,height:(null==e||null==(c=e.dataItems)||null==(u=c.image)?void 0:u.height)||null,caption:(null==e||null==(p=e.dataItems)||null==(g=p.image)?void 0:g.caption)||null,copyrightHolder:m||null});let I=e.bodyTemplate.template.replace(/(<([^>]+)>|\{\{\{([^{}]+)\}\}\}|\n)/g,"");return{"@type":"BlogPosting",datePublished:new Date(e.publishedAt).toISOString(),dateModified:new Date(e.updatedAt).toISOString(),articleBody:I,url:"".concat(n.url,"#").concat(e.glideId),...v&&{image:v},author:h,headline:e.headline,mainEntityOfPage:e.dataItems.entityPost,publisher:n.publisher}}),b={"@context":"https://schema.org","@type":"LiveBlogPosting",dateModified:null==(l=I[0])?void 0:l.dateModified,datePublished:n.coverageStartTime||new Date(n.datePublished).toISOString(),coverageStartTime:n.coverageStartTime,coverageEndTime:n.coverageEndTime,headline:n.headline,description:n.descriptionLiveReport,url:n.url,image:{"@type":"ImageObject",url:n.image.src,width:n.image.width||null,height:n.image.height||null},mainEntityOfPage:{"@type":"WebPage","@id":n.url,isAccessibleForFree:!0},publisher:n.publisher,author:n.authorPost,keywords:n.keywords,liveBlogUpdate:I},y=new Date,w="LIVE";return!n.isNowLive&&(n.coverageStartTime&&new Date(n.coverageStartTime)>y?w="NONE":n.coverageEndTime&&new Date(n.coverageEndTime)<y&&n.liveReportPosts.length>0?w="COMPLETED":n.coverageEndTime&&new Date(n.coverageEndTime)<y&&0===n.liveReportPosts.length&&(w="NONE")),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i(),{children:[(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(b)}}),(0,a.jsx)("meta",{name:"live-coverage-state",content:w})]}),(0,a.jsx)(o.tG,{description:n.description,liveReportRelatedTab:n.liveReportRelatedTab,numUpdates:c.filter(e=>!m.includes(e)).length,newUpdatesLiveReport:n.newUpdatesLiveReport,togglePagination:s,liveReportRelated:n.liveReportRelated,children:u})]})}}}]);

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.