PageSourceSearch

https://newsvinehub.com/_next/static/chunks/7111-24c5d4896e7ede6f.js

js newsvinehub.com collected 2026-10-04 13:27:12 UTC 149,712 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7111],{87:(e,s,a)=>{a.d(s,{Y7:()=>t,fo:()=>c,lq:()=>i});var n=a(8762);function l(e){return e.replace(/[-_]+/g," ").replace(/\s+/g," ").trim().replace(/\b([a-z])/g,e=>e.toUpperCase())}function t(e,s){return e?"en"===s?e.nameEn||l(e.slug):e.name:""}function i(e){return t(e,(0,n.J)())}function c(e,s){let a=e.find(e=>e.slug===s);return a?i(a):l(s)}},2950:(e,s,a)=>{a.d(s,{e7:()=>n,fJ:()=>i});let n="html-article-embed",l=/<!doctype\s+html\b|<html[\s>]/i;function t(e,s){return e.replace(RegExp("<".concat(s,"\\b[^>]*>[\\s\\S]*?</").concat(s,">|<").concat(s,"\\b[^>]*/?>"),"gi"),"")}function i(e){let s=l.test(e),a=function(e){let s,a=[],n=/<style\b[^>]*>([\s\S]*?)<\/style>/gi;for(;null!==(s=n.exec(e));)s[1].trim()&&a.push(s[1]);return a}(e);if(!s&&0===a.length)return e;let i=s?function(e){let s=e.match(/<body\b[^>]*>([\s\S]*?)<\/body>/i);if(s)return s[1];let a=e.match(/<html\b[^>]*>([\s\S]*?)<\/html>/i);return a?a[1]:e}(e):e;return i=t(i,"style"),i=t(i,"script"),a.map(e=>"<style>".concat(function e(s,a){let n="",l=0,t=s.length;for(;l<t;){for(;l<t&&/\s/.test(s[l]);)n+=s[l],l++;if(l>=t)break;let i=l,c="";for(;i<t;){let e=s[i];if(c){if("\\"===e){i+=2;continue}e===c&&(c=""),i++;continue}if('"'===e||"'"===e){c=e,i++;continue}if("{"===e||";"===e)break;i++}if(i>=t){n+=s.slice(l);break}let r=s.slice(l,i).trim();if(";"===s[i]){n+=s.slice(l,i+1),l=i+1;continue}let o=i,d=0;for(;o<t;){let e=s[o];if('"'===e||"'"===e){for(o++;o<t&&s[o]!==e;)"\\"===s[o]&&o++,o++;o++;continue}if("{"===e)d++;else if("}"===e&&0==--d)break;o++}let h=s.slice(i+1,o);if(/^@(?:media|supports|layer|container)\b/i.test(r))n+="".concat(r,"{").concat(e(h,a),"}");else if(/^@/.test(r))n+="".concat(r,"{").concat(h,"}");else{let e=function(e,s){return e.split(",").map(e=>(function(e,s){let a=e.trim();return a?/^(?:html|body|:root)$/i.test(a)?"":/^(?:html|body|:root)(?:$|[\s>.:+~,[(:])/i.test(a)?a.replace(/^(?:html|body|:root)/i,s):"".concat(s," ").concat(a):a})(e,s)).filter(e=>""!==e).join(", ")}(r,a);e&&(n+="".concat(e,"{").concat(h,"}"))}l=o+1}return n}(e,".".concat(n)),"</style>")).join("")+i.trim()}},5912:(e,s,a)=>{a.d(s,{X:()=>n}),a(5704);let n="https://new.daoben.net"},7111:(e,s,a)=>{a.d(s,{TemplatePreviewClient:()=>eE});var n=a(5155),l=a(2619),t=a.n(l),i=a(2115);let c=(0,i.createContext)(null);function r(e){let{config:s,children:a}=e,l=(0,i.useMemo)(()=>({config:s,tokens:s.themeTokens}),[s]),t={"--preview-background":s.themeTokens.background,"--preview-surface":s.themeTokens.surface,"--preview-text":s.themeTokens.text,"--preview-muted":s.themeTokens.muted,"--preview-accent":s.themeTokens.accent},r=Array.isArray(s.visualModifiers)?s.visualModifiers:[],o="template-preview ".concat(r.map(e=>"template-preview--".concat(e)).join(" "));return(0,n.jsx)(c.Provider,{value:l,children:(0,n.jsx)("div",{className:o,style:t,"data-template-key":s.key,children:a})})}let o={name:"World Pulse",domain:"worldpulse.news",locale:"en",templateKey:"international-news-live",friendlyLinks:[{name:"Reuters",href:"https://www.reuters.com"},{name:"BBC News",href:"https://www.bbc.com/news"},{name:"Associated Press",href:"https://apnews.com"}]};function d(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,a=e.map((e,s)=>({a:e,index:s}));return a.sort((e,s)=>{let a=e.a.views||0,n=s.a.views||0;return n!==a?n-a:e.index!==s.index?e.index-s.index:e.a.slug.localeCompare(s.a.slug)}),a.map(e=>{let{a:s}=e;return s}).slice(0,s)}function h(e){return d(e,1)[0]||e[0]}function m(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9;return d(e,1+s).slice(1)}function u(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,a=h(e);return e.filter(e=>e.slug!==a.slug).slice(0,s)}function _(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,a=h(e);return e.filter(e=>e.slug!==a.slug).slice(0,s)}function p(e,s){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return s.map(s=>({section:s,articles:e.filter(e=>e.section===s.slug).slice(0,a)})).filter(e=>e.articles.length>0)}function g(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8,a=new Set,n=[];for(let l of e)for(let e of l.relatedTopics&&l.relatedTopics.length>0?l.relatedTopics:l.tags)if(!a.has(e)&&(a.add(e),n.push(e),n.length>=s))return n;return n}function x(e,s){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3;return e.filter(e=>e.slug!==s).slice(0,a)}let j={tagline:"Independent coverage \xb7 International",contact:"Contact",home:"Home",about:"About",editorialPolicy:"Editorial Policy",privacy:"Privacy",termsOfUse:"Terms of Use",cookiePolicy:"Cookie Policy",disclaimer:"Disclaimer",templateLabel:"Template",more:"More sections",close:"Close",breaking:"Breaking",headlines:"Headlines",keyReports:"Key Reports",liveUpdate:"Live updates",viewSection:"View section",readMore:"Read more",views:"views",mostRead:"Most Read",exploreTopics:"Topics",todaysEdition:"Today's Edition",gallery:"Gallery",visualStories:"Visual stories from around the world",longRead:"Long Read",keyFacts:"Key Facts",relatedTopics:"Topics",aboutAuthor:"About the author",comments:"Comments",replies:"Replies",updated:"Updated",relatedStories:"Related Stories",latest:"Latest",context:"Context",minRead:"min read",articlesCount:e=>"".concat(e," ").concat(1===e?"article":"articles"),allStories:"All Stories",notFoundTitle:"Page Not Found",notFoundBody:"The page you are looking for does not exist or has moved.",backHome:"Back to home",articleNotFound:"Article not found",sectionNotFound:"Section not found"},w={en:j};function v(e){return w[e]||j}let N={"en-US":{code:"en",label:"English",shortLabel:"EN"},"en-GB":{code:"en",label:"English (UK)",shortLabel:"EN"}};var f=a(87);let b=[4,5,6,7,8,9],y=i.useLayoutEffect;function k(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto";if(!e)return;let n=e.querySelector('[aria-current="page"]');if(!n)return;let l=e.getBoundingClientRect(),t=n.getBoundingClientRect();if("x"===s){if(0===t.width||t.left>=l.left&&t.right<=l.right)return;let s=e.scrollWidth-e.clientWidth;if(s<=0)return;let n=Math.round(t.left-l.left+e.scrollLeft-(e.clientWidth-t.width)/2);e.scrollTo({left:Math.max(0,Math.min(n,s)),behavior:a});return}if(0===t.height||t.top>=l.top&&t.bottom<=l.bottom)return;let i=e.scrollHeight-e.clientHeight;if(i<=0)return;let c=Math.round(t.top-l.top+e.scrollTop-(e.clientHeight-t.height)/2);e.scrollTo({top:Math.max(0,Math.min(c,i)),behavior:a})}function C(e){let{navSelector:s,activeKey:a}=e,n=(0,i.useRef)(!0);return y(()=>{var e;let a=n.current?"instant":"auto",l=()=>k(document.querySelector(s),"x",a);
1l(),"undefined"!=typeof document&&(null==(e=document.fonts)?void 0:e.ready)&&document.fonts.ready.then(l).catch(()=>{}),n.current=!1},[s,a]),null}function L(e){let{moreLabel:s,closeLabel:a,hostSelector:l="details.template-preview__nav-more",mobileQuery:t="(max-width: 900px)"}=e,c=(0,i.useRef)(null),r=(0,i.useCallback)(()=>{var e;return null==(e=c.current)?void 0:e.closest(l)},[l]);return(0,i.useEffect)(()=>{let e=r();if(!e)return;let s=e.querySelector("summary"),a=e.querySelector(".template-preview__nav-drawer-close"),n=window.matchMedia(t),l=()=>{e.open=!1},i=()=>{n.matches&&(e.open?(document.body.style.overflow="hidden",null==a||a.focus({preventScroll:!0}),k(e.querySelector("ul"),"y")):(document.body.style.overflow="",null==s||s.focus()))},c=s=>{"Escape"===s.key&&e.open&&l()},o=e=>{let s=e.target;if(s&&"function"==typeof s.closest){if(s.closest(".template-preview__nav-drawer-backdrop"))return void l();s.closest("a")&&l()}},d=()=>{!n.matches&&e.open&&l()};return e.addEventListener("toggle",i),e.addEventListener("click",o),document.addEventListener("keydown",c),n.addEventListener("change",d),()=>{e.removeEventListener("toggle",i),e.removeEventListener("click",o),document.removeEventListener("keydown",c),n.removeEventListener("change",d),document.body.style.overflow=""}},[r,t]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{ref:c,hidden:!0}),(0,n.jsxs)("div",{className:"template-preview__nav-drawer-head",children:[(0,n.jsx)("span",{className:"template-preview__nav-drawer-title",children:s}),(0,n.jsx)("button",{type:"button",className:"template-preview__nav-drawer-close","aria-label":a,onClick:()=>{let e=r();e&&(e.open=!1)},children:(0,n.jsx)("span",{"aria-hidden":"true",children:"\xd7"})})]}),(0,n.jsx)("div",{className:"template-preview__nav-drawer-backdrop","aria-hidden":"true"})]})}function S(e){let{navSelector:s=".section-nav",companionSelector:a}=e;return y(()=>{var e,n;let l=document.querySelector(s),t=l?null!=(n=l.closest("nav"))?n:l:null;if(!t)return;let i=t.closest("header"),c=a?document.querySelector(a):null,r=0,o=0,d=0,h=0,m=!1,u=0,_=["left","width","paddingLeft","paddingRight","marginLeft","marginRight"],p=["position","top","left","zIndex","margin"],g=()=>{for(let e of(null==i||i.classList.remove("is-nav-pinned"),_))t.style[e]="";if(t.style.removeProperty("--preview-nav-pin-right"),t.style.removeProperty("--preview-nav-pin-bar-h"),c)for(let e of p)c.style[e]="";m=!1},x=()=>{var e,s,a;let n=t.getBoundingClientRect(),l=null==i?void 0:i.getBoundingClientRect();if(m){(null!=(e=null==l?void 0:l.top)?e:0)+r>.5&&g();return}if(r=n.top-(null!=(s=null==l?void 0:l.top)?s:0),o=null!=(a=null==l?void 0:l.height)?a:0,c){let e=c.getBoundingClientRect();d=e.top-n.top,h=e.left}n.top<=-.5&&(e=>{let s=getComputedStyle(t),a=e.left+parseFloat(s.paddingLeft||"0"),n=parseFloat(s.paddingRight||"0"),l="border-box"===s.boxSizing?e.right:e.right-a-n;t.style.marginLeft="0",t.style.marginRight="0",t.style.left="0",t.style.width="".concat(l,"px"),t.style.paddingLeft="".concat(a,"px"),t.style.removeProperty("padding-right"),t.style.setProperty("--preview-nav-pin-right","".concat(e.right,"px")),t.style.setProperty("--preview-nav-pin-bar-h","".concat(e.height,"px")),c&&(c.style.position="fixed",c.style.margin="0",c.style.top="".concat(d,"px"),c.style.left="".concat(h,"px"),c.style.zIndex="44"),i&&(i.style.setProperty("--preview-nav-pin-h","".concat(o,"px")),i.classList.add("is-nav-pinned")),m=!0})(n)},j=()=>{m&&g(),x()},w=()=>{u||(u=requestAnimationFrame(()=>{u=0,x()}))};x(),null==(e=document.fonts)||e.ready.then(j).catch(()=>{});let v=i?new ResizeObserver(()=>{m||x()}):null;return v&&i&&v.observe(i),window.addEventListener("scroll",w,{passive:!0}),window.addEventListener("resize",j),()=>{window.removeEventListener("scroll",w),window.removeEventListener("resize",j),null==v||v.disconnect(),u&&cancelAnimationFrame(u),g(),null==i||i.style.removeProperty("--preview-nav-pin-h")}},[s,a]),null}function A(e){let{navSelector:s=".section-nav"}=e;return y(()=>{var e,a;let n=document.querySelector(s);if(!n)return;let l=null!=(a=document.querySelector(".section-nav__more"))?a:document.querySelector(".template-preview__nav-more");if(!l)return;let t=0,i=()=>{n.scrollWidth-n.clientWidth>1?l.setAttribute("data-overflowing","true"):l.removeAttribute("data-overflowing")},c=()=>{t||(t=requestAnimationFrame(()=>{t=0,i()}))};
1i(),null==(e=document.fonts)||e.ready.then(c).catch(()=>{}),requestAnimationFrame(c);let r=new ResizeObserver(c);return r.observe(n),window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c),r.disconnect(),t&&cancelAnimationFrame(t),l.removeAttribute("data-overflowing")}},[s]),null}function T(){return(0,n.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",focusable:"false",style:{display:"block",flexShrink:0},children:[(0,n.jsx)("circle",{cx:"3",cy:"9",r:"1.7",fill:"currentColor"}),(0,n.jsx)("circle",{cx:"9",cy:"9",r:"1.7",fill:"currentColor"}),(0,n.jsx)("circle",{cx:"15",cy:"9",r:"1.7",fill:"currentColor"})]})}function R(e){let{base:s,homeHref:a,activeSection:l,items:c,linkClass:r,labels:o}=e,d=(0,i.useRef)(null),h=(0,i.useRef)(!0);return y(()=>{var e;let s=h.current?"instant":"auto",a=()=>k(d.current,"x",s);a(),null==(e=document.fonts)||e.ready.then(a).catch(()=>{}),h.current=!1},[l]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(S,{}),(0,n.jsx)(A,{}),(0,n.jsxs)("div",{className:"section-nav",ref:d,children:[(0,n.jsx)(t(),{href:a,className:r,prefetch:!1,children:o.home}),c.map(e=>(0,n.jsx)(t(),{href:"".concat(s,"/").concat(e.slug),className:r,"aria-current":l===e.slug?"page":void 0,prefetch:!1,children:e.label},e.slug))]}),(0,n.jsxs)("details",{className:"section-nav__more",children:[(0,n.jsx)("summary",{"aria-label":o.more,children:(0,n.jsx)(T,{})}),(0,n.jsx)(L,{moreLabel:o.more,closeLabel:o.close,hostSelector:"details.section-nav__more",mobileQuery:"(max-width: 768px)"}),(0,n.jsxs)("ul",{children:[c.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)(t(),{href:"".concat(s,"/").concat(e.slug),"aria-current":l===e.slug?"page":void 0,prefetch:!1,children:e.label})},e.slug)),(0,n.jsx)("li",{className:"section-nav__more-about",children:(0,n.jsx)(t(),{href:"".concat(s,"/about"),"aria-current":"about"===l?"page":void 0,prefetch:!1,children:o.about})})]})]})]})}var P=a(7260);function F(e){var s;let{options:a}=e,l=(0,P.usePathname)(),t=(0,P.useRouter)(),[c,r]=(0,i.useState)(!1),o=(0,i.useRef)(null),d=l.split("/"),h="sites"===d[1]&&!!d[2]&&!!d[3],m=h?d[3]:"",u=m.startsWith("zh")?"zh":"en";if((0,i.useEffect)(()=>{if(!c)return;let e=e=>{o.current&&!o.current.contains(e.target)&&r(!1)},s=e=>{"Escape"===e.key&&r(!1)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",s),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",s)}},[c]),!h||a.length<=1)return null;let _=a.find(e=>e.siteLocale===m)||a.find(e=>e.code===u);return(0,n.jsxs)("div",{ref:o,className:"language-switcher",children:[(0,n.jsxs)("button",{type:"button",className:"language-switcher__trigger","aria-label":"Language","aria-haspopup":"menu","aria-expanded":c,onClick:()=>r(e=>!e),children:[(0,n.jsxs)("svg",{className:"language-switcher__icon",viewBox:"0 0 24 24",width:"16",height:"16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,n.jsx)("path",{d:"M2 12h20"}),(0,n.jsx)("path",{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"})]}),(0,n.jsx)("span",{className:"language-switcher__code",children:null!=(s=null==_?void 0:_.shortLabel)?s:"EN"})]}),c&&(0,n.jsx)("ul",{className:"language-switcher__menu",role:"menu","aria-label":"Language",children:a.map(e=>{let s=e.code===u;return(0,n.jsx)("li",{role:"none",children:(0,n.jsxs)("button",{type:"button",role:"menuitem",className:"language-switcher__item".concat(s?" is-active":""),onClick:()=>(e=>{let s=[...d];s[3]=e,r(!1),t.push(s.join("/")||"/")})(e.siteLocale),children:[(0,n.jsx)("span",{className:"language-switcher__item-label",children:e.label}),s&&(0,n.jsx)("span",{className:"language-switcher__item-check",children:"✓"})]})},e.siteLocale)})})]})}function E(e){let{view:s,homeHref:a,className:l,imgClass:i,textClass:c}=e,r=s.logoAlt||s.name,o=s.logoUrl?"".concat(null!=l?l:""," template-preview__brand-with-logo").trim():l;return(0,n.jsxs)(t(),{className:o,href:a,children:[s.logoUrl&&(0,n.jsx)("img",{src:s.logoUrl,alt:r,className:i?"template-preview__brand-logo ".concat(i):"template-preview__brand-logo"}),(0,n.jsx)("span",{className:c,children:s.name})]})}function q(e){let{links:s}=e;return s&&0!==s.length?(0,n.jsx)("nav",{className:"template-friendly-links","aria-label":"Friendly Links",children:(0,n.jsx)("div",{className:"template-friendly-links__inner",children:(0,n.jsx)("ul",{className:"template-friendly-links__list",children:s.map(e=>(0,n.jsx)("li",{className:"template-friendly-links__item",children:(0,n.jsx)("a",{href:e.href,className:"template-friendly-links__link",target:"_blank",rel:"noopener noreferrer",children:e.name})},"".concat(e.name,"-").concat(e.href)))})})}):null}function U(){return(0,n.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":"true",focusable:"false",style:{display:"block",flexShrink:0},children:[(0,n.jsx)("rect",{x:"1",y:"3.6",width:"16",height:"2",rx:"1",fill:"currentColor"}),(0,n.jsx)("rect",{x:"1",y:"8",width:"16",height:"2",rx:"1",fill:"currentColor"}),(0,n.jsx)("rect",{x:"1",y:"12.4",width:"16",height:"2",rx:"1",fill:"currentColor"})]})}function M(e){var s;
1let{config:a,site:l,sections:i,articles:c,children:r,activeSection:d,basePath:h,availableLocales:m}=e,u=l||o,_=v(u.locale||"en"),p=(null!=m?m:[]).map(e=>{let s=N[e];return s?{...s,siteLocale:e}:null}).filter(e=>null!==e),g=null!=h?h:"/template-preview/".concat(a.key),x=g||"/",j=(null==(s=c[0])?void 0:s.publishedAt)?function(e){let s=new Date(e),a=String(s.getUTCHours()).padStart(2,"0"),n=String(s.getUTCMinutes()).padStart(2,"0");return"".concat(a,":").concat(n," UTC")}(c[0].publishedAt):"";return"guardian"===a.editorialFamily?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("header",{className:"news-guardian__shell",children:[(0,n.jsx)("div",{className:"news-guardian__shell-topbar",children:(0,n.jsxs)("div",{className:"news-guardian__shell-inner",children:[(0,n.jsxs)("div",{className:"news-guardian__shell-identity",children:[(0,n.jsx)("span",{className:"news-guardian__shell-support",children:u.name}),(0,n.jsx)("span",{className:"news-guardian__shell-tagline",children:_.tagline})]}),(0,n.jsxs)(t(),{href:"".concat(g,"/about"),className:"news-guardian__shell-cta",children:[_.about,(0,n.jsx)("span",{"aria-hidden":"true",children:"→"})]})]})}),(0,n.jsx)("div",{className:"news-guardian__shell-masthead",children:(0,n.jsxs)("div",{className:"news-guardian__shell-inner",children:[function(e){let{base:s,homeHref:a,activeSection:l,sections:i,navClass:c,linkClass:r,moreIcon:o,navMode:d="fold",moreExtras:h,navExtras:m,t:u}=e,{all:_,defaultVisible:p,overflowed:g}=function(e){let{base:s,activeSection:a,sections:n}=e,{all:l,byBreakpoint:t,overflowedByBreakpoint:i,breakpoints:c}=function(e){let s={},a={};for(let n of b)s[n]=e.slice(0,n),a[n]=e.slice(n);return{all:e,byBreakpoint:s,overflowedByBreakpoint:a,breakpoints:[...b]}}(n),r=c[0],o=c[c.length-1];return{all:l,hasOverflow:l.length>0&&i[r].length>0,defaultVisible:t[o],overflowed:i[r]}}({base:s,activeSection:l,sections:i}),x="scroll"===d,j=x?_:g;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("nav",{className:c,"aria-label":u.home,children:[(0,n.jsx)(t(),{href:a,className:r,children:u.home}),(x?_:p).map((e,a)=>(0,n.jsx)(t(),{href:"".concat(s,"/").concat(e.slug),className:r,...x?{}:{"data-nav-show-gt":a+1},"aria-current":l===e.slug?"page":void 0,children:(0,f.lq)(e)},e.slug))]}),m,j.length>0&&(0,n.jsxs)("details",{className:"template-preview__nav-more",children:[(0,n.jsx)("summary",{"aria-label":u.more,children:null!=o?o:"⋯"}),h,(0,n.jsxs)("ul",{children:[j.map((e,a)=>(0,n.jsx)("li",{children:(0,n.jsx)(t(),{href:"".concat(s,"/").concat(e.slug),"aria-current":l===e.slug?"page":void 0,...x?{}:{"data-nav-show-lt":a+1},children:(0,f.lq)(e)})},e.slug)),(0,n.jsx)("li",{className:"template-preview__nav-more-about",children:(0,n.jsx)(t(),{href:"".concat(s,"/about"),"aria-current":"about"===l?"page":void 0,children:u.about})})]})]})]})}({base:g,homeHref:x,activeSection:d,sections:i,navClass:"news-guardian__shell-nav",linkClass:"news-guardian__shell-navlink",moreIcon:(0,n.jsx)(U,{}),navMode:"scroll",moreExtras:(0,n.jsx)(L,{moreLabel:_.more,closeLabel:_.close}),navExtras:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(C,{navSelector:".news-guardian__shell-nav",activeKey:d}),(0,n.jsx)(S,{navSelector:".news-guardian__shell-nav",companionSelector:".news-guardian__shell-masthead .template-preview__nav-more"}),(0,n.jsx)(A,{navSelector:".news-guardian__shell-nav"})]}),t:_}),(0,n.jsxs)("div",{className:"news-guardian__shell-brandblock",children:[(0,n.jsx)("span",{className:"news-guardian__shell-edition",children:u.domain}),(0,n.jsx)(E,{view:u,homeHref:x,className:"news-guardian__shell-brand",textClass:"news-guardian__shell-brand-text"})]})]})}),(0,n.jsx)("div",{className:"news-guardian__shell-utility",children:(0,n.jsxs)("div",{className:"news-guardian__shell-inner",children:[(0,n.jsxs)("div",{className:"news-guardian__shell-utilitylinks",children:[(0,n.jsx)(t(),{href:"".concat(g,"/editorial-policy"),className:"news-guardian__shell-toplink",children:_.editorialPolicy}),(0,n.jsx)(t(),{href:"".concat(g,"/privacy"),className:"news-guardian__shell-toplink",children:_.privacy}),(0,n.jsx)(t(),{href:"".concat(g,"/contact"),className:"news-guardian__shell-toplink",children:_.contact})]}),j&&(0,n.jsx)("span",{className:"news-guardian__shell-date",children:j})]})})]}),(0,n.jsx)("main",{className:"template-preview__main",children:r}),(0,n.jsx)(q,{links:u.friendlyLinks}),(0,n.jsxs)("footer",{className:"news-guardian__shell-footer",children:[(0,n.jsx)("div",{className:"news-guardian__shell-footbrand",children:u.name}),(0,n.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," ",u.name," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/editorial-policy"),children:_.editorialPolicy})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/contact"),children:_.contact})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/privacy"),children:_.privacy})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/terms-of-use"),children:_.termsOfUse})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/cookie-policy"),children:_.cookiePolicy})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/disclaimer"),children:_.disclaimer})]})]}),(0,n.jsx)(F,{options:p})]}):"bloomberg"===a.editorialFamily?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("header",{className:"news-bloomberg__shell",children:[(0,n.jsxs)("div",{className:"news-bloomberg__shell-topbar",children:[(0,n.jsx)("span",{className:"news-bloomberg__shell-tagline",children:_.tagline}),(0,n.jsx)(t(),{href:"".concat(g,"/contact"),className:"news-bloomberg__shell-toplink",children:_.contact})]}),(0,n.jsx)("div",{className:"news-bloomberg__shell-brandrow",children:(0,n.jsx)(E,{view:u,homeHref:x,className:"news-bloomberg__shell-brand",textClass:"news-bloomberg__shell-brand-text"})}),(0,n.jsx)("nav",{className:"news-bloomberg__shell-nav","aria-label":_.home,children:(0,n.jsx)(R,{base:g,homeHref:x,activeSection:d,items:i.map(e=>({slug:e.slug,label:(0,f.lq)(e)})),linkClass:"news-bloomberg__shell-navlink",labels:{home:_.home,about:_.about,more:_.more,close:_.close}})})]}),(0,n.jsx)("main",{className:"template-preview__main",children:r}),(0,n.jsx)(q,{links:u.friendlyLinks}),(0,n.jsxs)("footer",{className:"news-bloomberg__shell-footer",children:[(0,n.jsx)("div",{className:"news-bloomberg__shell-footbrand",children:u.name}),(0,n.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," ",u.name," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/editorial-policy"),children:_.editorialPolicy})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/contact"),children:_.contact})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/privacy"),children:_.privacy})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/terms-of-use"),children:_.termsOfUse})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/cookie-policy"),children:_.cookiePolicy})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/disclaimer"),children:_.disclaimer})]})]}),(0,n.jsx)(F,{options:p})]}):"international-news-radio"===a.key?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("header",{className:"template-preview__header news-public-radio__header",children:[(0,n.jsxs)("div",{className:"template-preview__utility news-
1public-radio__utility",children:[(0,n.jsx)("span",{className:"template-preview__utility-side",children:_.tagline}),j&&(0,n.jsx)("span",{className:"template-preview__utility-time",children:j}),(0,n.jsx)(t(),{href:"".concat(g,"/contact"),className:"template-preview__utility-side--right",children:_.contact})]}),(0,n.jsx)("div",{className:"news-public-radio__header-top",children:(0,n.jsx)(E,{view:u,homeHref:x,className:"news-public-radio__brand",textClass:"news-public-radio__brand-text"})}),(0,n.jsx)("nav",{className:"news-public-radio__header-nav","aria-label":_.home,children:(0,n.jsx)(R,{base:g,homeHref:x,activeSection:d,items:i.map(e=>({slug:e.slug,label:(0,f.lq)(e)})),labels:{home:_.home,about:_.about,more:_.more,close:_.close}})})]}),(0,n.jsx)("main",{className:"template-preview__main",children:r}),(0,n.jsx)(q,{links:u.friendlyLinks}),(0,n.jsx)("footer",{children:(0,n.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," ",u.name," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/editorial-policy"),children:_.editorialPolicy})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/contact"),children:_.contact})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/privacy"),children:_.privacy})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/terms-of-use"),children:_.termsOfUse})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/cookie-policy"),children:_.cookiePolicy})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/disclaimer"),children:_.disclaimer})]})}),(0,n.jsx)(F,{options:p})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("header",{className:"template-preview__header",children:[(0,n.jsxs)("div",{className:"template-preview__utility",children:[(0,n.jsx)("span",{className:"template-preview__utility-side",children:_.tagline}),j&&(0,n.jsx)("span",{className:"template-preview__utility-time",children:j}),(0,n.jsx)(t(),{href:"".concat(g,"/contact"),className:"template-preview__utility-side--right",children:_.contact})]}),(0,n.jsx)(E,{view:u,homeHref:x,className:"template-preview__brand",textClass:"template-preview__brand-text"}),(0,n.jsx)("nav",{"aria-label":_.home,children:(0,n.jsx)(R,{base:g,homeHref:x,activeSection:d,items:i.map(e=>({slug:e.slug,label:(0,f.lq)(e)})),labels:{home:_.home,about:_.about,more:_.more,close:_.close}})})]}),(0,n.jsx)("main",{className:"template-preview__main",children:r}),(0,n.jsx)(q,{links:u.friendlyLinks}),(0,n.jsx)("footer",{children:(0,n.jsxs)("p",{children:["\xa9 ",new Date().getFullYear()," ",u.name," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/editorial-policy"),children:_.editorialPolicy})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/contact"),children:_.contact})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/privacy"),children:_.privacy})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/terms-of-use"),children:_.termsOfUse})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/cookie-policy"),children:_.cookiePolicy})," \xb7"," ",(0,n.jsx)(t(),{href:"".concat(g,"/disclaimer"),children:_.disclaimer})]})}),(0,n.jsx)(F,{options:p})]})}function B(e){return function(e){var s,a;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"UTC",l=new Date(e),t=new Intl.DateTimeFormat("en-US",{timeZone:n,hour:"2-digit",minute:"2-digit",hour12:!1}).formatToParts(l),i=(null==(s=t.find(e=>"hour"===e.type))?void 0:s.value)||"00",c=(null==(a=t.find(e=>"minute"===e.type))?void 0:a.value)||"00",r="UTC";if("UTC"!==n)try{let e=new Intl.DateTimeFormat("en-US",{timeZone:n,timeZoneName:"short"}).formatToParts(l).find(e=>"timeZoneName"===e.type);e&&(r=e.value)}catch(e){r="UTC"}return"".concat(i,":").concat(c," ").concat(r)}(e,"UTC")}function D(e){return e.toLocaleString("en-US")}function H(e){let s=Date.now(),a=Math.floor((s-new Date(e).getTime())/1e3),n=Math.floor(a/60),l=Math.floor(n/60),t=Math.floor(l/24);if(a<60)return"just now";if(n<60)return"".concat(n," min ago");if(l<24)return"".concat(l," hour").concat(l>1?"s":""," ago");if(t<7)return"".concat(t," day").concat(t>1?"s":""," ago");let i=new Date(e),c=i.toLocaleString("en-US",{month:"short"});return"".concat(c," ").concat(i.getDate())}var z=a(8762);let I=new Proxy({},{get:(e,s)=>v((0,z.J)())[s]});function J(e,s){return(0,f.fo)(e,s)}function $(e,s,a,n,l){let t=e=>e.trim().toLowerCase().replace(/\s+/g,"-"),i=a?t(a):"";return{filtered:a?e.filter(e=>t(e.section)===i):n?e.filter(e=>e.author===n):l?e.filter(e=>(e.relatedTopics||e.tags||[]).some(e=>e.toLowerCase().replace(/\s+/g,"-")===l)):e,title:a?(0,f.fo)(s,a):n||(null==l?void 0:l.replace(/-/g," "))||I.allStories}}var O=a(2950);let W=/!\[([^\]]*)\]\(([^)\s]+)\)|\[([^\]]+)\]\(([^)\s]+)\)|(\*\*|__)(.+?)\5|(\*|_)(.+?)\7|`([^`]+)`/g;function K(e,s){let a,l=[],t=RegExp(W.source,"g"),i=0,c=0;for(;null!==(a=t.exec(e));){a.index>i&&l.push(e.slice(i,a.index));let t="".concat(s,"-i").concat(c++);void 0!==a[1]?l.push((0,n.jsx)("img",{src:a[2],alt:a[1]},t)):void 0!==a[3]?l.push((0,n.jsx)("a",{href:a[4],children:a[3]},t)):void 0!==a[5]?l.push((0,n.jsx)("strong",{children:a[6]},t)):void 0!==a[7]?l.push((0,n.jsx)("em",{children:a[8]},t)):l.push((0,n.jsx)("code",{children:a[9]},t)),i=a.index+a[0].length}return i<e.length&&l.push(e.slice(i)),l}let Y=/^\s{0,3}(#{1,6})\s+(.*)$/,V=/^\s{0,3}>\s?(.*)$/,Z=/^\s{0,3}[-*+]\s+(.*)$/,G=/^\s{0,3}\d+\.\s+(.*)$/,Q=/^\s{0,3}(-{3,}|\*{3,}|_{3,})\s*$/,X=/^\s{0,3}!\[([^\]]*)\]\(([^)\s]+)\)\s*$/;function ee(e,s){let a="b".concat(s);switch(e.type){case"heading":{let s="h".concat(Math.min(e.level,6));return(0,n.jsx)(s,{children:K(e.text,a)},a)}case"paragraph":return(0,n.jsx)("p",{children:K(e.text,a)},a);case"quote":return(0,n.jsx)("blockquote",{children:e.lines.map((e,s)=>(0,n.jsx)("p",{children:K(e,"".concat(a,"-q").concat(s))},"".concat(a,"-q").concat(s)))},a);case"list":return e.ordered?(0,n.jsx)("ol",{children:e.items.map((e,s)=>(0,n.jsx)("li",{children:K(e,"".concat(a,"-l").concat(s))},"".concat(a,"-l").concat(s)))},a):(0,n.jsx)("ul",{children:e.items.map((e,s)=>(0,n.jsx)("li",{children:K(e,"".concat(a,"-l").concat(s))},"".concat(a,"-l").concat(s)))},a);case"code":return(0,n.jsx)("pre",{children:(0,n.jsx)("code",{children:e.lines.join("\n")})},a);case"hr":return(0,n.jsx)("hr",{},a);case"image":return(0,n.jsx)("img",{src:e.src,alt:e.alt},a)}}
1function es(e){let{content:s}=e;if(!s)return null;if(/^\s*</.test(s))return(0,n.jsx)("div",{className:O.e7,dangerouslySetInnerHTML:{__html:s}});let a=function(e){let s=e.split(/\r?\n/),a=[],n=[],l=()=>{n.length>0&&(a.push({type:"paragraph",text:n.join("\n")}),n=[])},t=0;for(;t<s.length;){let e=s[t],i=e.match(/^\s{0,3}```(\S*)\s*$/);if(i){l();let e=[];for(t++;t<s.length&&!/^\s{0,3}```\s*$/.test(s[t]);)e.push(s[t]),t++;t++,a.push({type:"code",lang:i[1]||"",lines:e});continue}if(!e.trim()){l(),t++;continue}let c=e.match(Y);if(c){l(),a.push({type:"heading",level:c[1].length,text:c[2].trim()}),t++;continue}if(Q.test(e)){l(),a.push({type:"hr"}),t++;continue}let r=e.match(X);if(r){l(),a.push({type:"image",alt:r[1],src:r[2]}),t++;continue}let o=e.match(V);if(o){l();let e=[o[1]];for(t++;t<s.length;){let a=s[t].match(V);if(!a)break;e.push(a[1]),t++}a.push({type:"quote",lines:e});continue}let d=e.match(Z),h=e.match(G);if(d||h){l();let e=!!h,n=e?G:Z,i=[(e?h:d)[1]];for(t++;t<s.length;){let e=s[t].match(n);if(!e)break;i.push(e[1]),t++}a.push({type:"list",ordered:e,items:i});continue}n.push(e),t++}return l(),a}(s);return(0,n.jsx)(n.Fragment,{children:a.map(ee)})}let ea=new Proxy({},{get:(e,s)=>v((0,z.J)())[s]});function en(e,s){return(0,f.fo)(e,s)}function el(e,s,a,n,l){let t=e=>e.trim().toLowerCase().replace(/\s+/g,"-"),i=a?t(a):"";return{filtered:a?e.filter(e=>t(e.section)===i):n?e.filter(e=>e.author===n):l?e.filter(e=>(e.relatedTopics||e.tags||[]).some(e=>e.toLowerCase().replace(/\s+/g,"-")===l)):e,title:a?(0,f.fo)(s,a):n||(null==l?void 0:l.replace(/-/g," "))||ea.allStories}}let et=new Proxy({},{get:(e,s)=>v((0,z.J)())[s]});function ei(e,s){return(0,f.fo)(e,s)}function ec(e,s,a,n,l){let t=e=>e.trim().toLowerCase().replace(/\s+/g,"-"),i=a?t(a):"";return{filtered:a?e.filter(e=>t(e.section)===i):n?e.filter(e=>e.author===n):l?e.filter(e=>(e.relatedTopics||e.tags||[]).some(e=>e.toLowerCase().replace(/\s+/g,"-")===l)):e,title:a?(0,f.fo)(s,a):n||(null==l?void 0:l.replace(/-/g," "))||et.allStories}}let er=new Proxy({},{get:(e,s)=>v((0,z.J)())[s]});function eo(e,s){return(0,f.fo)(e,s)}function ed(e,s,a,n,l){let t=e=>e.trim().toLowerCase().replace(/\s+/g,"-"),i=a?t(a):"";return{filtered:a?e.filter(e=>t(e.section)===i):n?e.filter(e=>e.author===n):l?e.filter(e=>(e.relatedTopics||e.tags||[]).some(e=>e.toLowerCase().replace(/\s+/g,"-")===l)):e,title:a?(0,f.fo)(s,a):n||(null==l?void 0:l.replace(/-/g," "))||er.allStories}}let eh=new Proxy({},{get:(e,s)=>v((0,z.J)())[s]});function em(e,s){return(0,f.fo)(e,s)}function eu(e,s,a,n,l){let t=e=>e.trim().toLowerCase().replace(/\s+/g,"-"),i=a?t(a):"";return{filtered:a?e.filter(e=>t(e.section)===i):n?e.filter(e=>e.author===n):l?e.filter(e=>(e.relatedTopics||e.tags||[]).some(e=>e.toLowerCase().replace(/\s+/g,"-")===l)):e,title:a?(0,f.fo)(s,a):n||(null==l?void 0:l.replace(/-/g," "))||eh.allStories}}let e_=new Proxy({},{get:(e,s)=>v((0,z.J)())[s]});function ep(e,s){return(0,f.fo)(e,s)}function eg(e,s,a,n,l){let t=e=>e.trim().toLowerCase().replace(/\s+/g,"-"),i=a?t(a):"";return{filtered:a?e.filter(e=>t(e.section)===i):n?e.filter(e=>e.author===n):l?e.filter(e=>(e.relatedTopics||e.tags||[]).some(e=>e.toLowerCase().replace(/\s+/g,"-")===l)):e,title:a?(0,f.fo)(s,a):n||(null==l?void 0:l.replace(/-/g," "))||e_.allStories}}function ex(e,s){if(s<=1)return e;let a=e.includes("?")?"&":"?";return"".concat(e).concat(a,"page=").concat(s)}function ej(e){let{pagination:s,basePath:a}=e;if(!s||s.pages<=1)return null;let{current:l,pages:t,basePath:i}=s,c=function(e,s){let a=[];if(s<=7){for(let e=1;e<=s;e++)a.push(e);return a}a.push(1);let n=Math.max(2,e-2),l=e-1;n>2&&a.push(null);for(let e=n;e<=l;e++)e>1&&a.push(e);1!==e&&e!==s&&a.push(e);let t=e+1,i=Math.min(s-1,e+2);for(let e=t;e<=i;e++)e<s&&a.push(e);return i<s-1&&a.push(null),s>1&&a.push(s),a}(l,t),r=l<t?l+1:t;return(0,n.jsxs)("nav",{className:"template-pagination","aria-label":"Pagination",children:[(0,n.jsx)("a",{href:ex(i,l>1?l-1:1),className:"template-pagination__prev ".concat(l<=1?"template-pagination__prev--disabled":""),"aria-disabled":l<=1,children:"← Previous"}),(0,n.jsx)("ul",{className:"template-pagination__list",children:c.map((e,s)=>null===e?(0,n.jsx)("li",{className:"template-pagination__ellipsis",children:"…"},"ellipsis-".concat(s)):(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:ex(i,e),className:"template-pagination__page ".concat(e===l?"template-pagination__page--active":""),"aria-current":e===l?"page":void 0,children:e})},e))}),(0,n.jsx)("a",{href:ex(i,r),className:"template-pagination__next ".concat(l>=t?"template-pagination__next--disabled":""),"aria-disabled":l>=t,children:"Next →"})]})}let ew=new Proxy({},{get:(e,s)=>v((0,z.J)())[s]});function ev(e,s){return(0,f.fo)(e,s)}function eN(e,s,a,n,l){let t=e=>e.trim().toLowerCase().replace(/\s+/g,"-"),i=a?t(a):"";return{filtered:a?e.filter(e=>t(e.section)===i):n?e.filter(e=>e.author===n):l?e.filter(e=>(e.relatedTopics||e.tags||[]).some(e=>e.toLowerCase().replace(/\s+/g,"-")===l)):e,title:a?(0,f.fo)(s,a):n||(null==l?void 0:l.replace(/-/g," "))||ew.allStories}}let ef=new Proxy({},{get:(e,s)=>v((0,z.J)())[s]});function eb(e,s){return(0,f.fo)(e,s)}function ey(e,s,a,n,l){let t=e=>e.trim().toLowerCase().replace(/\s+/g,"-"),i=a?t(a):"";return{filtered:a?e.filter(e=>t(e.section)===i):n?e.filter(e=>e.author===n):l?e.filter(e=>(e.relatedTopics||e.tags||[]).some(e=>e.toLowerCase().replace(/\s+/g,"-")===l)):e,title:a?(0,f.fo)(s,a):n||(null==l?void 0:l.replace(/-/g," "))||ef.allStories}}let ek=new Proxy({},{get:(e,s)=>v((0,z.J)())[s]});function eC(e,s){return(0,f.fo)(e,s)}function eL(e,s){var a,n;
1let l=(null==(a=e.relatedTopics)?void 0:a[0])||(null==(n=e.tags)?void 0:n[0]);return l?l.replace(/[-_]+/g," ").replace(/\s+/g," ").trim().replace(/\b([a-z])/g,e=>e.toUpperCase()):eC(s,e.section)}function eS(e){return m(e,9).slice(0,3)}function eA(e,s,a,n,l){let t=e=>e.trim().toLowerCase().replace(/\s+/g,"-"),i=a?t(a):"";return{filtered:a?e.filter(e=>t(e.section)===i):n?e.filter(e=>e.author===n):l?e.filter(e=>(e.relatedTopics||e.tags||[]).some(e=>e.toLowerCase().replace(/\s+/g,"-")===l)):e,title:a?(0,f.fo)(s,a):n||(null==l?void 0:l.replace(/-/g," "))||ek.allStories}}let eT={"daily-edition":{prefix:"news-daily",home:{breaking:function(e){let{config:s,articles:a,basePath:l}=e,t=h(a);return t?(0,n.jsx)("section",{className:"news-daily__breaking",children:(0,n.jsxs)("div",{className:"news-daily__breaking-inner",children:[(0,n.jsx)("span",{className:"news-daily__breaking-label",children:I.breaking}),(0,n.jsx)("a",{href:"".concat(l,"/").concat((t.sectionSlug||t.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(t.slug,".html"),className:"news-daily__breaking-title",children:t.title}),(0,n.jsx)("time",{className:"news-daily__breaking-time",children:B(t.publishedAt)})]})}):null},hero:function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=h(a),c=u(a,6).slice(0,2),r=m(a,8);return i?(0,n.jsxs)("section",{className:"news-daily__frontpage",children:[(0,n.jsxs)("article",{className:"news-daily__lead",children:[i.image&&(0,n.jsxs)("a",{href:"".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),className:"news-daily__lead-image-wrap",children:[(0,n.jsx)("img",{className:"news-daily__lead-image",src:i.image.src,alt:i.image.alt}),i.image.credit&&(0,n.jsx)("span",{className:"news-daily__lead-image-credit",children:i.image.credit})]}),(0,n.jsxs)("div",{className:"news-daily__lead-body",children:[(0,n.jsx)("p",{className:"news-daily__lead-section",children:J(l,i.section)}),(0,n.jsx)("h1",{className:"news-daily__lead-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),children:i.title})}),(0,n.jsx)("p",{className:"news-daily__lead-excerpt",children:i.excerpt}),(0,n.jsxs)("p",{className:"news-daily__lead-byline",children:["By ",(0,n.jsx)("span",{className:"news-daily__lead-author",children:i.author}),(0,n.jsx)("span",{className:"news-daily__lead-dot",children:"\xb7"}),(0,n.jsx)("time",{children:B(i.publishedAt)}),null!=i.views&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"news-daily__lead-dot",children:"\xb7"}),(0,n.jsxs)("span",{children:[D(i.views)," ",I.views]})]})]})]})]}),(0,n.jsx)("div",{className:"news-daily__secondary",children:c.map(e=>(0,n.jsxs)("article",{className:"news-daily__secondary-story",children:[e.image&&(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-daily__secondary-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsxs)("div",{className:"news-daily__secondary-body",children:[(0,n.jsx)("p",{className:"news-daily__secondary-section",children:J(l,e.section)}),(0,n.jsx)("h2",{className:"news-daily__secondary-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{className:"news-daily__secondary-excerpt",children:e.excerpt})]})]},e.slug))}),(0,n.jsxs)("aside",{className:"news-daily__headline-rail",children:[(0,n.jsx)("h2",{className:"news-daily__headline-rail-title",children:I.headlines}),(0,n.jsx)("ol",{className:"news-daily__headline-list",children:r.map((e,s)=>(0,n.jsxs)("li",{className:"news-daily__headline-item",children:[(0,n.jsx)("span",{className:"news-daily__headline-rank",children:s+1}),(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-daily__headline-link",children:e.title})]},e.slug))})]})]}):null}
1,"top-stories":function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=u(a,6).slice(2,6);return(0,n.jsxs)("section",{className:"news-daily__edition",children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("h2",{children:I.todaysEdition}),(0,n.jsx)("span",{children:I.keyReports})]}),(0,n.jsx)("div",{children:i.map((e,s)=>(0,n.jsxs)("article",{className:"news-daily__edition-story".concat(0===s?" news-daily__edition-story--lead":""),children:[e.image&&(0,n.jsx)("img",{className:"news-daily__edition-story__image",src:e.image.src,alt:e.image.alt}),(0,n.jsx)("span",{className:"template-preview__meta",children:J(l,e.section)}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{children:e.excerpt})]},e.slug))})]})},"section-streams":function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=p(a,l,2);return 0===i.length?null:(0,n.jsx)("section",{className:"news-daily__sections",children:i.map(e=>{let{section:s,articles:a}=e;return(0,n.jsxs)("section",{className:"news-daily__section",children:[(0,n.jsx)("header",{className:"news-daily__section-header",children:(0,n.jsx)("h2",{className:"news-daily__section-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat(s.slug),children:(0,f.lq)(s)})})}),(0,n.jsx)("div",{className:"news-daily__section-stories",children:a.map(e=>(0,n.jsxs)("article",{className:"news-daily__section-story",children:[e.image&&(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-daily__section-story-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsxs)("div",{className:"news-daily__section-story-body",children:[(0,n.jsx)("p",{className:"news-daily__section-story-section",children:J(l,e.section)}),(0,n.jsx)("h3",{className:"news-daily__section-story-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{className:"news-daily__section-story-excerpt",children:e.excerpt}),(0,n.jsxs)("p",{className:"news-daily__section-story-byline",children:[e.author," \xb7 ",(0,n.jsx)("time",{children:B(e.publishedAt)})]})]})]},e.slug))})]},s.slug)})})},"most-read":function(e){let{config:s,articles:a,basePath:l}=e,t=_(a,5),i=g(a,8);return 0===t.length?null:(0,n.jsxs)("section",{className:"news-daily__bottom",children:[(0,n.jsxs)("section",{className:"news-daily__ranked",children:[(0,n.jsx)("h2",{className:"news-daily__ranked-title",children:I.mostRead}),(0,n.jsx)("ol",{className:"news-daily__ranked-list",children:t.map((e,s)=>(0,n.jsxs)("li",{className:"news-daily__ranked-item",children:[(0,n.jsx)("span",{className:"news-daily__ranked-number",children:s+1}),(0,n.jsxs)("div",{className:"news-daily__ranked-content",children:[(0,n.jsx)("a",{href:"".concat(l,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-daily__ranked-link",children:e.title}),(0,n.jsx)("time",{className:"news-daily__ranked-time",children:B(e.publishedAt)})]})]},e.slug))})]}),(0,n.jsxs)("section",{className:"news-daily__topics",children:[(0,n.jsx)("h2",{className:"news-daily__topics-title",children:I.exploreTopics}),(0,n.jsx)("div",{className:"news-daily__topics-list",children:i.map(e=>(0,n.jsx)("a",{href:"".concat(l,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),className:"news-daily__topic-item",children:e},e))})]})]})}},article:{header:function(e){let{config:s,article:a,sections:l}=e;return(0,n.jsxs)("header",{className:"template-preview__article-header",children:[(0,n.jsx)("p",{className:"template-preview__eyebrow",children:J(l,a.section)}),(0,n.jsx)("h1",{children:a.title}),(0,n.jsxs)("p",{className:"template-preview__meta",children:[J(l,a.section)," \xb7 ",a.author," \xb7"," ",B(a.publishedAt),a.readingTime?" \xb7 ".concat(a.readingTime," ").concat(I.minRead):""]}),a.updatedAt&&(0,n.jsxs)("p",{className:"template-preview__updated",children:[I.updated," \xb7 ",B(a.updatedAt)]})]})},media:function(e){let{article:s}=e;return s.image?(0,n.jsxs)("figure",{className:"template-preview__article-figure",children:[(0,n.jsx)("img",{className:"template-preview__article-image",src:s.image.src,alt:s.image.alt||s.title}),(s.image.caption||s.image.credit)&&(0,n.jsxs)("figcaption",{children:[s.image.caption,s.image.caption&&s.image.credit?" \xb7 ":"",s.image.credit]})]}):null},body:function(e){let{article:s}=e;return(0,n.jsxs)("div",{className:"template-preview__article-body",children:[(0,n.jsx)("p",{className:"template-preview__article-summary",children:s.excerpt}),(0,n.jsx)(es,{content:s.content})]})},context:function(e){let{article:s}=e;return(0,n.jsxs)("section",{className:"news-daily__article-context",children:[(0,n.jsx)("h3",{children:I.context}),(0,n.jsx)("p",{children:s.excerpt})]})}
1,author:function(e){let{config:s,article:a,authors:l,basePath:t}=e,i=l.find(e=>e.name===a.author);return i?(0,n.jsxs)("section",{className:"template-preview__author-card",children:[(0,n.jsx)("p",{children:I.aboutAuthor}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(t,"/author/").concat(i.slug),children:i.name})}),(0,n.jsx)("p",{children:i.bio})]}):null},comments:function(e){let{comments:s}=e;if(0===s.length)return null;let a=s.reduce((e,s)=>{var a;return e+1+((null==(a=s.replies)?void 0:a.length)||0)},0);return(0,n.jsxs)("section",{className:"template-preview__comments",children:[(0,n.jsxs)("h2",{children:[I.comments," ",(0,n.jsx)("span",{children:a})]}),s.map(e=>(0,n.jsxs)("article",{className:"template-preview__comment",children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("strong",{children:e.author}),(0,n.jsx)("time",{children:B(e.publishedAt)})]}),(0,n.jsx)("p",{children:e.content}),e.replies&&e.replies.length>0&&(0,n.jsxs)("section",{className:"template-preview__comment-replies",children:[(0,n.jsx)("h3",{children:I.replies}),e.replies.map(e=>(0,n.jsxs)("article",{className:"template-preview__comment",children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("strong",{children:e.author}),(0,n.jsx)("time",{children:B(e.publishedAt)})]}),(0,n.jsx)("p",{children:e.content})]},e.id))]})]},e.id))]})},related:function(e){let{config:s,article:a,articles:l,sections:t,basePath:i}=e,c=x(l,a.slug,3);return(0,n.jsxs)("section",{className:"news-daily__related",children:[(0,n.jsx)("h2",{children:I.relatedStories}),(0,n.jsx)("div",{children:c.map(e=>(0,n.jsxs)("article",{className:"news-daily__related__story",children:[e.image&&(0,n.jsx)("img",{className:"news-daily__related__story__image",src:e.image.src,alt:e.image.alt}),(0,n.jsxs)("p",{className:"template-preview__meta",children:[J(t,e.section)," \xb7 ",B(e.publishedAt)]}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{children:e.excerpt})]},e.slug))})]})}},archive:{"archive-header":function(e){let{articles:s,sections:a,currentSection:l,currentAuthor:t,currentTag:i}=e,{filtered:c,title:r}=$(s,a,l,t,i);return(0,n.jsxs)("header",{children:[(0,n.jsx)("p",{children:I.articlesCount(c.length)}),(0,n.jsx)("h1",{children:r})]})},"archive-stories":function(e){let{config:s,articles:a,sections:l,currentSection:t,currentAuthor:i,currentTag:c,basePath:r}=e,{filtered:o}=$(a,l,t,i,c);return(0,n.jsx)("div",{children:o.map(e=>(0,n.jsxs)("article",{className:"news-daily__archive-story",children:[e.image&&(0,n.jsx)("img",{className:"news-daily__archive-story__image",src:e.image.src,alt:e.image.alt}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("span",{className:"template-preview__meta",children:[J(l,e.section)," \xb7 ",B(e.publishedAt)]}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(r,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{children:e.excerpt})]})]},e.slug))})},pagination:ej}},"live-desk":{prefix:"news-live",home:{breaking:function(e){let{config:s,articles:a,basePath:l}=e,t=h(a);return t?(0,n.jsx)("section",{className:"news-live__breaking",children:(0,n.jsxs)("div",{className:"news-live__breaking-inner",children:[(0,n.jsxs)("div",{className:"news-live__breaking-label",children:[(0,n.jsx)("span",{className:"news-live__breaking-dot"}),(0,n.jsx)("span",{className:"news-live__breaking-text",children:ea.breaking})]}),(0,n.jsx)("a",{href:"".concat(l,"/").concat((t.sectionSlug||t.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(t.slug,".html"),className:"news-live__breaking-title",children:t.title}),(0,n.jsx)("time",{className:"news-live__breaking-time",children:B(t.publishedAt)})]})}):null},hero:function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=h(a),c=m(a,6);return i?(0,n.jsxs)("section",{className:"news-live__hero",children:[(0,n.jsxs)("article",{className:"news-live__hero-main",children:[i.image&&(0,n.jsxs)("a",{href:"".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),className:"news-live__hero-image",children:[(0,n.jsx)("img",{src:i.image.src,alt:i.image.alt}),i.image.caption&&(0,n.jsx)("span",{className:"news-live__hero-image-caption",children:i.image.caption})]}),(0,n.jsxs)("div",{className:"news-live__hero-content",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat(i.section),className:"news-live__hero-section",children:en(l,i.section)}),(0,n.jsx)("h1",{className:"news-live__hero-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),children:i.title})}),(0,n.jsx)("p",{className:"news-live__hero-excerpt",children:i.excerpt}),(0,n.jsxs)("div",{className:"news-live__hero-meta",children:[null!=i.views&&(0,n.jsxs)("span",{className:"news-live__hero-views",children:[D(i.views)," ",ea.views]}),(0,n.jsx)("span",{className:"news-live__hero-dot",children:"\xb7"}),(0,n.jsx)("time",{className:"news-live__hero-time",children:H(i.publishedAt)}),(0,n.jsx)("span",{className:"news-live__hero-dot",children:"\xb7"}),(0,n.jsx)("span",{className:"news-live__hero-author",children:i.author})]}),(0,n.jsxs)("a",{href:"".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),className:"news-live__hero-readmore",children:[ea.readMore," →"]})]})]}),(0,n.jsxs)("aside",{className:"news-live__hero-timeline",children:[(0,n.jsx)("h2",{className:"news-live__hero-timeline-title",children:ea.headlines}),(0,n.jsx)("ol",{className:"news-live__timeline-list",children:c.map(e=>(0,n.jsx)("li",{className:"news-live__timeline-item",children:(0,n.jsxs)("div",{className:"news-live__timeline-content",children:[(0,n.jsx)("time",{className:"news-live__timeline-time",children:H(e.publishedAt)}),(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-live__timeline-title",children:e.title}),(0,n.jsx)("span",{className:"news-live__timeline-section",children:en(l,e.section)})]})},e.slug))})]})]}):null}
1,"top-stories":function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=u(a,4);return 0===i.length?null:(0,n.jsxs)("section",{className:"news-live__key-reports",children:[(0,n.jsxs)("header",{className:"news-live__key-reports-header",children:[(0,n.jsx)("h2",{className:"news-live__key-reports-title",children:ea.keyReports}),(0,n.jsx)("span",{className:"news-live__key-reports-badge",children:ea.liveUpdate})]}),(0,n.jsx)("div",{className:"news-live__key-reports-grid",children:i.map(e=>(0,n.jsxs)("article",{className:"news-live__key-report-card",children:[(0,n.jsx)("span",{className:"news-live__key-report-accent"}),(0,n.jsxs)("div",{className:"news-live__key-report-body",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat(e.section),className:"news-live__key-report-section",children:en(l,e.section)}),(0,n.jsx)("h3",{className:"news-live__key-report-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("time",{className:"news-live__key-report-time",children:H(e.publishedAt)})]})]},e.slug))})]})},"section-streams":function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=p(a,l,3);return 0===i.length?null:(0,n.jsx)("section",{className:"news-live__sections",children:i.map(e=>{let{section:s,articles:a}=e;return(0,n.jsxs)("section",{className:"news-live__section-block",children:[(0,n.jsxs)("header",{className:"news-live__section-header",children:[(0,n.jsx)("h2",{className:"news-live__section-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat(s.slug),children:(0,f.lq)(s)})}),(0,n.jsxs)("a",{href:"".concat(t,"/").concat(s.slug),className:"news-live__section-more",children:[ea.viewSection," →"]})]}),(0,n.jsx)("ul",{className:"news-live__section-list",children:a.map(e=>(0,n.jsxs)("li",{className:"news-live__section-item",children:[(0,n.jsx)("time",{className:"news-live__section-time",children:H(e.publishedAt)}),(0,n.jsx)("div",{className:"news-live__section-item-content",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-live__section-item-title",children:e.title})})]},e.slug))})]},s.slug)})})},"most-read":function(e){let{config:s,articles:a,basePath:l}=e,t=_(a,5),i=g(a,8);return 0===t.length?null:(0,n.jsxs)("section",{className:"news-live__bottom",children:[(0,n.jsxs)("section",{className:"news-live__most-read",children:[(0,n.jsx)("h2",{className:"news-live__most-read-title",children:ea.mostRead}),(0,n.jsx)("ol",{className:"news-live__most-read-list",children:t.map((e,s)=>(0,n.jsxs)("li",{className:"news-live__most-read-item",children:[(0,n.jsx)("span",{className:"news-live__most-read-number",children:s+1}),(0,n.jsxs)("div",{className:"news-live__most-read-content",children:[(0,n.jsx)("a",{href:"".concat(l,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-live__most-read-link",children:e.title}),(0,n.jsx)("time",{className:"news-live__most-read-time",children:H(e.publishedAt)})]})]},e.slug))})]}),(0,n.jsxs)("section",{className:"news-live__topics",children:[(0,n.jsx)("h2",{className:"news-live__topics-title",children:ea.exploreTopics}),(0,n.jsx)("div",{className:"news-live__topics-tags",children:i.map(e=>(0,n.jsx)("a",{href:"".concat(l,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),className:"news-live__topic-tag",children:e},e))})]})]})}},article:{header:function(e){let{config:s,article:a,sections:l}=e;return(0,n.jsxs)("header",{className:"template-preview__article-header",children:[(0,n.jsx)("p",{className:"template-preview__eyebrow",children:en(l,a.section)}),(0,n.jsx)("h1",{children:a.title}),(0,n.jsxs)("p",{className:"template-preview__meta",children:[en(l,a.section)," \xb7 ",a.author," \xb7"," ",B(a.publishedAt),a.readingTime?" \xb7 ".concat(a.readingTime," ").concat(ea.minRead):""]}),a.updatedAt&&(0,n.jsxs)("p",{className:"template-preview__updated",children:[ea.updated," \xb7 ",B(a.updatedAt)]})]})},media:function(e){let{article:s}=e;return s.image?(0,n.jsxs)("figure",{className:"template-preview__article-figure",children:[(0,n.jsx)("img",{className:"template-preview__article-image",src:s.image.src,alt:s.image.alt||s.title}),(s.image.caption||s.image.credit)&&(0,n.jsxs)("figcaption",{children:[s.image.caption,s.image.caption&&s.image.credit?" \xb7 ":"",s.image.credit]})]}):null},"key-facts":function(e){let{article:s}=e;return s.keyFacts&&0!==s.keyFacts.length?(0,n.jsxs)("section",{className:"news-live__key-facts",children:[(0,n.jsx)("h2",{children:ea.keyFacts}),(0,n.jsx)("ul",{children:s.keyFacts.map((e,s)=>(0,n.jsx)("li",{children:e},s))})]}):null},body:function(e){let{article:s}=e;return(0,n.jsxs)("div",{className:"template-preview__article-body",children:[(0,n.jsx)("p",{className:"template-preview__article-summary",children:s.excerpt}),(0,n.jsx)(es,{content:s.content})]})}
1,topics:function(e){let{config:s,article:a,basePath:l}=e,t=a.relatedTopics&&a.relatedTopics.length>0?a.relatedTopics:a.tags;return(0,n.jsxs)("section",{className:"template-preview__article-tags",children:[(0,n.jsx)("h2",{children:ea.relatedTopics}),(0,n.jsx)("div",{children:t.map(e=>(0,n.jsx)("a",{href:"".concat(l,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),children:e},e))})]})},author:function(e){let{config:s,article:a,authors:l,basePath:t}=e,i=l.find(e=>e.name===a.author);return i?(0,n.jsxs)("section",{className:"template-preview__author-card",children:[(0,n.jsx)("p",{children:ea.aboutAuthor}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(t,"/author/").concat(i.slug),children:i.name})}),(0,n.jsx)("p",{children:i.bio})]}):null},comments:function(e){let{comments:s}=e;if(0===s.length)return null;let a=s.reduce((e,s)=>{var a;return e+1+((null==(a=s.replies)?void 0:a.length)||0)},0);return(0,n.jsxs)("section",{className:"template-preview__comments",children:[(0,n.jsxs)("h2",{children:[ea.comments," ",(0,n.jsx)("span",{children:a})]}),s.map(e=>(0,n.jsxs)("article",{className:"template-preview__comment",children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("strong",{children:e.author}),(0,n.jsx)("time",{children:B(e.publishedAt)})]}),(0,n.jsx)("p",{children:e.content}),e.replies&&e.replies.length>0&&(0,n.jsxs)("section",{className:"template-preview__comment-replies",children:[(0,n.jsx)("h3",{children:ea.replies}),e.replies.map(e=>(0,n.jsxs)("article",{className:"template-preview__comment",children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("strong",{children:e.author}),(0,n.jsx)("time",{children:B(e.publishedAt)})]}),(0,n.jsx)("p",{children:e.content})]},e.id))]})]},e.id))]})},related:function(e){let{config:s,article:a,articles:l,sections:t,basePath:i}=e,c=x(l,a.slug,3);return(0,n.jsxs)("section",{className:"news-live__related",children:[(0,n.jsx)("h2",{children:ea.relatedStories}),(0,n.jsx)("div",{children:c.map(e=>(0,n.jsxs)("article",{className:"news-live__related__story",children:[e.image&&(0,n.jsx)("img",{className:"news-live__related__story__image",src:e.image.src,alt:e.image.alt}),(0,n.jsxs)("p",{className:"template-preview__meta",children:[en(t,e.section)," \xb7 ",B(e.publishedAt)]}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{children:e.excerpt})]},e.slug))})]})},rail:function(e){let{config:s,article:a,articles:l,sections:t,basePath:i}=e,c=function(e,s){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5;return e.filter(e=>e.slug!==s).slice(0,a)}(l,a.slug,5),r=g(l,8);return(0,n.jsxs)("aside",{className:"news-live__article-rail",children:[(0,n.jsx)("h2",{children:ea.latest}),(0,n.jsx)("ol",{children:c.map(e=>(0,n.jsxs)("li",{children:[(0,n.jsxs)("p",{className:"template-preview__meta",children:[en(t,e.section)," \xb7 ",B(e.publishedAt)]}),(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})]},e.slug))}),(0,n.jsxs)("section",{className:"news-live__topics",children:[(0,n.jsx)("h2",{children:ea.exploreTopics}),(0,n.jsx)("div",{children:r.map(e=>(0,n.jsx)("a",{href:"".concat(i,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),children:e},e))})]})]})}},archive:{"archive-header":function(e){let{articles:s,sections:a,currentSection:l,currentAuthor:t,currentTag:i}=e,{filtered:c,title:r}=el(s,a,l,t,i);return(0,n.jsxs)("header",{className:"news-live__archive-header",children:[(0,n.jsxs)("div",{className:"news-live__archive-header-top",children:[(0,n.jsx)("span",{className:"news-live__archive-label",children:l?"Section":t?"Author":i?"Topic":"All Stories"}),(0,n.jsx)("span",{className:"news-live__archive-count",children:ea.articlesCount(c.length)})]}),(0,n.jsx)("h1",{className:"news-live__archive-title",children:r})]})},"archive-stories":function(e){let{config:s,articles:a,sections:l,currentSection:t,currentAuthor:i,currentTag:c,basePath:r}=e,{filtered:o}=el(a,l,t,i,c);return(0,n.jsx)("div",{className:"news-live__archive-stories",children:o.map(e=>(0,n.jsxs)("article",{className:"news-live__archive-item",children:[e.image&&(0,n.jsx)("a",{href:"".concat(r,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-live__archive-item-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsxs)("div",{className:"news-live__archive-item-content",children:[(0,n.jsx)("a",{href:"".concat(r,"/").concat(e.section),className:"news-live__archive-item-section",children:en(l,e.section)}),(0,n.jsx)("h2",{className:"news-live__archive-item-title",children:(0,n.jsx)("a",{href:"".concat(r,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{className:"news-live__archive-item-excerpt",children:e.excerpt}),(0,n.jsxs)("div",{className:"news-live__archive-item-meta",children:[(0,n.jsx)("time",{className:"news-live__archive-item-time",children:H(e.publishedAt)}),(0,n.jsx)("span",{className:"news-live__archive-item-dot",children:"\xb7"}),(0,n.jsx)("span",{className:"news-live__archive-item-author",children:e.author})]})]})]},e.slug))})},pagination:ej}},journal:{prefix:"news-journal",home:{breaking:function(e){let{c
1onfig:s,articles:a,basePath:l}=e,t=h(a);return(0,n.jsxs)("section",{className:"template-preview__breaking news-journal__breaking",children:[(0,n.jsx)("strong",{children:et.breaking}),(0,n.jsx)("a",{href:"".concat(l,"/").concat((t.sectionSlug||t.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(t.slug,".html"),children:t.title}),(0,n.jsx)("span",{children:B(t.publishedAt)})]})},hero:function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=h(a),c=m(a,5);return i?(0,n.jsxs)("section",{className:"news-journal__cover",children:[(0,n.jsxs)("article",{className:"news-journal__lead",children:[i.image&&(0,n.jsx)("a",{href:"".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),className:"news-journal__lead-image-wrap",children:(0,n.jsx)("img",{className:"news-journal__lead-image",src:i.image.src,alt:i.image.alt})}),(0,n.jsxs)("div",{className:"news-journal__lead-content",children:[(0,n.jsx)("p",{className:"news-journal__lead-section",children:ei(l,i.section)}),(0,n.jsx)("h1",{className:"news-journal__lead-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),children:i.title})}),(0,n.jsx)("p",{className:"news-journal__lead-dek",children:i.excerpt}),(0,n.jsxs)("div",{className:"news-journal__lead-byline",children:[(0,n.jsx)("span",{className:"news-journal__lead-author",children:i.author}),(0,n.jsx)("span",{className:"news-journal__lead-dot",children:"\xb7"}),(0,n.jsx)("time",{children:B(i.publishedAt)}),i.readingTime&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"news-journal__lead-dot",children:"\xb7"}),(0,n.jsxs)("span",{children:[i.readingTime," ",et.minRead]})]}),null!=i.views&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"news-journal__lead-dot",children:"\xb7"}),(0,n.jsxs)("span",{children:[D(i.views)," ",et.views]})]})]}),(0,n.jsxs)("a",{href:"".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),className:"news-journal__lead-readmore",children:[et.readMore," →"]})]})]}),(0,n.jsxs)("aside",{className:"news-journal__cover-rail",children:[(0,n.jsx)("h2",{className:"news-journal__cover-rail-title",children:et.headlines}),(0,n.jsx)("ol",{className:"news-journal__cover-rail-list",children:c.map((e,s)=>(0,n.jsxs)("li",{className:"news-journal__cover-rail-item",children:[(0,n.jsx)("span",{className:"news-journal__cover-rail-number",children:s+1}),(0,n.jsxs)("div",{className:"news-journal__cover-rail-content",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-journal__cover-rail-link",children:e.title}),(0,n.jsx)("span",{className:"news-journal__cover-rail-section",children:ei(l,e.section)})]})]},e.slug))})]})]}):null},"long-reads":function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=u(a,3);return 0===i.length?null:(0,n.jsxs)("section",{className:"news-journal__longreads",children:[(0,n.jsxs)("header",{className:"news-journal__longreads-header",children:[(0,n.jsx)("h2",{className:"news-journal__longreads-title",children:et.longRead}),(0,n.jsx)("div",{className:"news-journal__longreads-rule"})]}),(0,n.jsx)("div",{className:"news-journal__longreads-grid",children:i.map(e=>(0,n.jsxs)("article",{className:"news-journal__longread-card",children:[e.image&&(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-journal__longread-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsxs)("div",{className:"news-journal__longread-body",children:[(0,n.jsxs)("p",{className:"news-journal__longread-section",children:[ei(l,e.section),e.readingTime?" \xb7 ".concat(e.readingTime," ").concat(et.minRead):""]}),(0,n.jsx)("h3",{className:"news-journal__longread-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{className:"news-journal__longread-excerpt",children:e.excerpt}),(0,n.jsxs)("p",{className:"news-journal__longread-byline",children:[e.author," \xb7 ",(0,n.jsx)("time",{children:B(e.publishedAt)})]})]})]},e.slug))})]})}
1,topics:function(e){let{config:s,articles:a,basePath:l}=e,t=g(a,8);return(0,n.jsxs)("section",{className:"news-journal__topics",children:[(0,n.jsx)("h2",{children:et.exploreTopics}),(0,n.jsx)("div",{children:t.map(e=>(0,n.jsx)("a",{href:"".concat(l,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),children:e},e))})]})},chapters:function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=p(a,l,2);return(0,n.jsx)("section",{className:"news-journal__chapters",children:i.map(e=>{let{section:s,articles:a}=e;return(0,n.jsxs)("section",{children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("h2",{children:(0,f.lq)(s)}),(0,n.jsx)("a",{href:"".concat(t,"/").concat(s.slug),children:et.viewSection})]}),(0,n.jsx)("div",{children:a.map(e=>(0,n.jsxs)("article",{className:"news-journal__chapter-story",children:[(0,n.jsxs)("p",{className:"template-preview__meta",children:[ei(l,e.section),e.readingTime?" \xb7 ".concat(e.readingTime," ").concat(et.minRead):""]}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{children:e.excerpt})]},e.slug))})]},s.slug)})})},"most-read":function(e){let{config:s,articles:a,basePath:l}=e,t=_(a,5);return(0,n.jsxs)("section",{className:"news-journal__ranked",children:[(0,n.jsx)("h2",{children:et.mostRead}),(0,n.jsx)("ol",{children:t.map(e=>(0,n.jsxs)("li",{children:[(0,n.jsx)("a",{href:"".concat(l,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title}),(0,n.jsx)("span",{children:e.readingTime?"".concat(e.readingTime," ").concat(et.minRead):B(e.publishedAt)})]},e.slug))})]})}},article:{header:function(e){let{config:s,article:a,sections:l,basePath:t}=e;return(0,n.jsxs)("header",{className:"template-preview__article-header",children:[(0,n.jsx)("p",{className:"template-preview__eyebrow",children:ei(l,a.section)}),(0,n.jsx)("h1",{children:a.title}),(0,n.jsxs)("p",{className:"template-preview__meta",children:[ei(l,a.section)," \xb7 ",a.author," \xb7 ",B(a.publishedAt),a.readingTime?" \xb7 ".concat(a.readingTime," ").concat(et.minRead):""]}),(0,n.jsxs)("p",{className:"template-preview__updated",children:[et.updated," \xb7 ",B(a.updatedAt||a.publishedAt)]})]})},media:function(e){let{article:s}=e;return s.image?(0,n.jsxs)("figure",{className:"template-preview__article-figure",children:[(0,n.jsx)("img",{src:s.image.src,alt:s.image.alt,className:"template-preview__article-image"}),s.image.caption&&(0,n.jsx)("figcaption",{children:s.image.caption})]}):null},author:function(e){let{config:s,article:a,authors:l,basePath:t}=e,i=l.find(e=>e.name===a.author);return i?(0,n.jsxs)("section",{className:"template-preview__author-card",children:[(0,n.jsx)("p",{children:et.aboutAuthor}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(t,"/author/").concat(i.slug),children:i.name})}),(0,n.jsx)("p",{children:i.bio})]}):null},body:function(e){let{article:s}=e;return(0,n.jsxs)("div",{className:"news-journal__article-body",children:[s.excerpt&&(0,n.jsx)("p",{className:"news-journal__article-dek",children:s.excerpt}),(0,n.jsx)("div",{className:"news-journal__article-content",children:(0,n.jsx)(es,{content:s.content})})]})},topics:function(e){let{config:s,article:a,basePath:l}=e;return(0,n.jsxs)("section",{className:"template-preview__article-tags",children:[(0,n.jsx)("h2",{children:et.relatedTopics}),(0,n.jsx)("div",{children:Array.from(new Set([...a.relatedTopics||[],...a.tags||[]])).map(e=>(0,n.jsx)("a",{href:"".concat(l,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),children:e},e))})]})},related:function(e){let{config:s,article:a,articles:l,sections:t,basePath:i}=e,c=l.filter(e=>e.slug!==a.slug).slice(0,2);return(0,n.jsxs)("section",{className:"news-journal__related",children:[(0,n.jsx)("h2",{children:et.relatedStories}),(0,n.jsx)("div",{children:c.map(e=>(0,n.jsxs)("article",{className:"news-journal__related__story",children:[e.image&&(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt,className:"news-journal__related__story__image"}),(0,n.jsxs)("p",{className:"template-preview__meta",children:[ei(t,e.section)," \xb7 ",B(e.publishedAt)]}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{children:e.excerpt})]},e.slug))})]})}
1,comments:function(e){let{comments:s}=e;return 0===s.length?null:(0,n.jsxs)("section",{className:"template-preview__comments",children:[(0,n.jsxs)("h2",{children:[et.comments," ",(0,n.jsx)("span",{children:s.reduce((e,s)=>{var a;return e+1+((null==(a=s.replies)?void 0:a.length)||0)},0)})]}),s.map(e=>(0,n.jsxs)("article",{className:"template-preview__comment",children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("strong",{children:e.author}),(0,n.jsx)("time",{children:B(e.publishedAt)})]}),(0,n.jsx)("p",{children:e.content}),e.replies&&e.replies.length>0&&(0,n.jsxs)("section",{className:"template-preview__comment-replies",children:[(0,n.jsx)("h3",{children:et.replies}),e.replies.map(e=>(0,n.jsxs)("article",{className:"template-preview__comment",children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("strong",{children:e.author}),(0,n.jsx)("time",{children:B(e.publishedAt)})]}),(0,n.jsx)("p",{children:e.content})]},e.id))]})]},e.id))]})},rail:function(e){let{config:s,articles:a,basePath:l}=e,t=_(a,5);return(0,n.jsx)("aside",{className:"news-journal__article-rail",children:(0,n.jsxs)("section",{className:"news-journal__ranked",children:[(0,n.jsx)("h2",{children:et.mostRead}),(0,n.jsx)("ol",{children:t.map(e=>(0,n.jsxs)("li",{children:[(0,n.jsx)("a",{href:"".concat(l,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title}),(0,n.jsx)("span",{children:e.readingTime?"".concat(e.readingTime," ").concat(et.minRead):B(e.publishedAt)})]},e.slug))})]})})}},archive:{"archive-header":function(e){let{articles:s,sections:a,currentSection:l,currentAuthor:t,currentTag:i}=e,{filtered:c,title:r}=ec(s,a,l,t,i);return(0,n.jsxs)("header",{children:[(0,n.jsx)("p",{children:i?"#".concat(i):r}),(0,n.jsx)("h1",{children:r})]})},"archive-stories":function(e){let{config:s,articles:a,sections:l,currentSection:t,currentAuthor:i,currentTag:c,basePath:r}=e,{filtered:o}=ec(a,l,t,i,c);return(0,n.jsx)("div",{children:o.map(e=>(0,n.jsxs)("article",{className:"news-journal__archive-story",children:[e.image&&(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt,className:"news-journal__archive-story__image"}),(0,n.jsxs)("p",{className:"template-preview__meta",children:[ei(l,e.section),e.readingTime?" \xb7 ".concat(e.readingTime," ").concat(et.minRead):""]}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(r,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{children:e.excerpt})]},e.slug))})},pagination:ej}},briefing:{prefix:"news-briefing",home:{breaking:function(e){let{config:s,articles:a,basePath:l}=e,t=h(a);return(0,n.jsxs)("section",{className:"template-preview__breaking news-briefing__breaking",children:[(0,n.jsx)("strong",{children:er.breaking}),(0,n.jsx)("a",{href:"".concat(l,"/").concat((t.sectionSlug||t.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(t.slug,".html"),children:t.title}),(0,n.jsx)("span",{children:B(t.publishedAt)})]})},hero:function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=h(a),c=m(a,5);return i?(0,n.jsxs)("section",{className:"news-briefing__hero",children:[(0,n.jsxs)("article",{className:"news-briefing__lead",children:[i.image&&(0,n.jsx)("a",{href:"".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),className:"news-briefing__lead-image",children:(0,n.jsx)("img",{src:i.image.src,alt:i.image.alt})}),(0,n.jsxs)("div",{className:"news-briefing__lead-content",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat(i.section),className:"news-briefing__lead-category",children:eo(l,i.section)}),(0,n.jsx)("h1",{className:"news-briefing__lead-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),children:i.title})}),(0,n.jsx)("p",{className:"news-briefing__lead-summary",children:i.excerpt}),(0,n.jsxs)("div",{className:"news-briefing__lead-meta",children:[(0,n.jsx)("time",{className:"news-briefing__lead-time",children:H(i.publishedAt)}),null!=i.views&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"news-briefing__lead-dot",children:"\xb7"}),(0,n.jsxs)("span",{className:"news-briefing__lead-views",children:[D(i.views)," ",er.views]})]}),(0,n.jsx)("span",{className:"news-briefing__lead-dot",children:"\xb7"}),(0,n.jsx)("span",{className:"news-briefing__lead-author",children:i.author})]})]})]}),(0,n.jsxs)("aside",{className:"news-briefing__headlines",children:[(0,n.jsx)("h2",{className:"news-briefing__headlines-title",children:er.headlines}),(0,n.jsx)("ul",{className:"news-briefing__headlines-list",children:c.map((e,s)=>(0,n.jsxs)("li",{className:"news-briefing__headlines-item",children:[(0,n.jsx)("span",{className:"news-briefing__headlines-number",children:s+1}),(0,n.jsxs)("div",{className:"news-briefing__headlines-content",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-briefing__headlines-link",children:e.title}),(0,n.jsx)("span",{className:"news-briefing__headlines-time",children:H(e.publishedAt)})]})]},e.slug))})]})]}):null}
1,"top-stories":function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=u(a,6);return(0,n.jsxs)("section",{className:"news-briefing__briefs",children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("h2",{children:er.keyReports}),(0,n.jsx)("span",{children:er.liveUpdate})]}),(0,n.jsx)("div",{children:i.map((e,s)=>(0,n.jsxs)("article",{className:"news-briefing__brief".concat(0===s?" news-briefing__brief--lead":""),children:[(0,n.jsxs)("p",{className:"template-preview__meta",children:[eo(l,e.section)," \xb7 ",B(e.publishedAt)]}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{children:e.excerpt})]},e.slug))})]})},"section-streams":function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=p(a,l,2);return 0===i.length?null:(0,n.jsx)("section",{className:"news-briefing__sections",children:i.map(e=>{let{section:s,articles:a}=e;return(0,n.jsxs)("section",{className:"news-briefing__section",children:[(0,n.jsxs)("header",{className:"news-briefing__section-header",children:[(0,n.jsx)("h2",{className:"news-briefing__section-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat(s.slug),children:(0,f.lq)(s)})}),(0,n.jsxs)("a",{href:"".concat(t,"/").concat(s.slug),className:"news-briefing__section-more",children:[er.viewSection," →"]})]}),(0,n.jsx)("ul",{className:"news-briefing__section-list",children:a.map(e=>(0,n.jsxs)("li",{className:"news-briefing__section-item",children:[(0,n.jsxs)("div",{className:"news-briefing__section-item-top",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat(e.section),className:"news-briefing__section-item-category",children:eo(l,e.section)}),(0,n.jsx)("time",{className:"news-briefing__section-item-time",children:H(e.publishedAt)})]}),(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-briefing__section-item-title",children:e.title})]},e.slug))})]},s.slug)})})},discovery:function(e){let{config:s,articles:a,basePath:l}=e,t=_(a,5),i=g(a,8);return 0===t.length?null:(0,n.jsxs)("section",{className:"news-briefing__bottom",children:[(0,n.jsxs)("section",{className:"news-briefing__most-read",children:[(0,n.jsx)("h2",{className:"news-briefing__most-read-title",children:er.mostRead}),(0,n.jsx)("ol",{className:"news-briefing__most-read-list",children:t.map((e,s)=>(0,n.jsxs)("li",{className:"news-briefing__most-read-item",children:[(0,n.jsx)("span",{className:"news-briefing__most-read-number",children:s+1}),(0,n.jsxs)("div",{className:"news-briefing__most-read-content",children:[(0,n.jsx)("a",{href:"".concat(l,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-briefing__most-read-link",children:e.title}),(0,n.jsx)("time",{className:"news-briefing__most-read-time",children:H(e.publishedAt)})]})]},e.slug))})]}),(0,n.jsxs)("section",{className:"news-briefing__topics",children:[(0,n.jsx)("h2",{className:"news-briefing__topics-title",children:er.exploreTopics}),(0,n.jsx)("div",{className:"news-briefing__topics-tags",children:i.map(e=>(0,n.jsx)("a",{href:"".concat(l,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),className:"news-briefing__topic-tag",children:e},e))})]})]})}},article:{header:function(e){let{config:s,article:a,sections:l,basePath:t}=e;return(0,n.jsxs)("header",{className:"template-preview__article-header",children:[(0,n.jsx)("p",{className:"template-preview__eyebrow",children:eo(l,a.section)}),(0,n.jsx)("h1",{children:a.title}),(0,n.jsxs)("p",{className:"template-preview__meta",children:[eo(l,a.section)," \xb7 ",a.author," \xb7 ",B(a.publishedAt),a.readingTime?" \xb7 ".concat(a.readingTime," ").concat(er.minRead):""]}),(0,n.jsxs)("p",{className:"template-preview__updated",children:[er.updated," \xb7 ",B(a.updatedAt||a.publishedAt)]})]})},"key-facts":function(e){let{article:s}=e;return s.keyFacts&&0!==s.keyFacts.length?(0,n.jsxs)("section",{className:"news-briefing__key-facts",children:[(0,n.jsx)("h2",{children:er.keyFacts}),s.keyFacts.map((e,s)=>(0,n.jsx)("p",{children:e},s))]}):null},media:function(e){let{article:s}=e;return s.image?(0,n.jsxs)("figure",{className:"template-preview__article-figure",children:[(0,n.jsx)("img",{src:s.image.src,alt:s.image.alt,className:"template-preview__article-image"}),s.image.caption&&(0,n.jsx)("figcaption",{children:s.image.caption})]}):null},body:function(e){let{article:s}=e;return(0,n.jsxs)("div",{className:"template-preview__article-body",children:[s.excerpt&&(0,n.jsx)("p",{className:"template-preview__article-summary",children:s.excerpt}),(0,n.jsx)(es,{content:s.content})]})}
1,topics:function(e){let{config:s,article:a,basePath:l}=e;return(0,n.jsxs)("section",{className:"template-preview__article-tags",children:[(0,n.jsx)("h2",{children:er.relatedTopics}),(0,n.jsx)("div",{children:Array.from(new Set([...a.relatedTopics||[],...a.tags||[]])).map(e=>(0,n.jsx)("a",{href:"".concat(l,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),children:e},e))})]})},author:function(e){let{config:s,article:a,authors:l,basePath:t}=e,i=l.find(e=>e.name===a.author);return i?(0,n.jsxs)("section",{className:"template-preview__author-card",children:[(0,n.jsx)("p",{children:er.aboutAuthor}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(t,"/author/").concat(i.slug),children:i.name})}),(0,n.jsx)("p",{children:i.bio})]}):null},comments:function(e){let{comments:s}=e;return 0===s.length?null:(0,n.jsxs)("section",{className:"template-preview__comments",children:[(0,n.jsxs)("h2",{children:[er.comments," ",(0,n.jsx)("span",{children:s.reduce((e,s)=>{var a;return e+1+((null==(a=s.replies)?void 0:a.length)||0)},0)})]}),s.map(e=>(0,n.jsxs)("article",{className:"template-preview__comment",children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("strong",{children:e.author}),(0,n.jsx)("time",{children:B(e.publishedAt)})]}),(0,n.jsx)("p",{children:e.content}),e.replies&&e.replies.length>0&&(0,n.jsxs)("section",{className:"template-preview__comment-replies",children:[(0,n.jsx)("h3",{children:er.replies}),e.replies.map(e=>(0,n.jsxs)("article",{className:"template-preview__comment",children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("strong",{children:e.author}),(0,n.jsx)("time",{children:B(e.publishedAt)})]}),(0,n.jsx)("p",{children:e.content})]},e.id))]})]},e.id))]})},related:function(e){let{config:s,article:a,articles:l,sections:t,basePath:i}=e,c=l.filter(e=>e.slug!==a.slug).slice(0,3);return(0,n.jsxs)("section",{className:"news-briefing__related",children:[(0,n.jsx)("h2",{children:er.relatedStories}),(0,n.jsx)("div",{children:c.map(e=>(0,n.jsxs)("article",{className:"news-briefing__related__story",children:[e.image&&(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt,className:"news-briefing__related__story__image"}),(0,n.jsxs)("p",{className:"template-preview__meta",children:[eo(t,e.section)," \xb7 ",B(e.publishedAt)]}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{children:e.excerpt})]},e.slug))})]})},rail:function(e){let{config:s,articles:a,basePath:l}=e,t=_(a,4),i=g(a,5);return(0,n.jsxs)("aside",{className:"news-briefing__article-rail",children:[(0,n.jsxs)("section",{className:"news-briefing__ranked",children:[(0,n.jsx)("h2",{children:er.latest}),(0,n.jsx)("ol",{children:t.map(e=>(0,n.jsxs)("li",{children:[(0,n.jsx)("a",{href:"".concat(l,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title}),(0,n.jsx)("span",{children:B(e.publishedAt)})]},e.slug))})]}),(0,n.jsxs)("section",{className:"news-briefing__topics",children:[(0,n.jsx)("h2",{children:er.exploreTopics}),(0,n.jsx)("div",{children:i.map(e=>(0,n.jsx)("a",{href:"".concat(l,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),children:e},e))})]})]})}},archive:{"archive-header":function(e){let{articles:s,sections:a,currentSection:l,currentAuthor:t,currentTag:i}=e,{filtered:c,title:r}=ed(s,a,l,t,i);return(0,n.jsxs)("header",{children:[(0,n.jsx)("p",{children:i?"#".concat(i):r}),(0,n.jsx)("h1",{children:r})]})},"archive-stories":function(e){let{config:s,articles:a,sections:l,currentSection:t,currentAuthor:i,currentTag:c,basePath:r}=e,{filtered:o}=ed(a,l,t,i,c);return(0,n.jsx)("ol",{children:o.map((e,s)=>(0,n.jsxs)("li",{children:[(0,n.jsx)("span",{children:String(s+1).padStart(2,"0")}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("p",{className:"template-preview__meta",children:[eo(l,e.section)," \xb7 ",B(e.publishedAt),e.readingTime?" \xb7 ".concat(e.readingTime," min read"):""]}),(0,n.jsx)("a",{href:"".concat(r,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title}),(0,n.jsx)("p",{children:e.excerpt})]})]},e.slug))})},pagination:ej}},"photo-desk":{prefix:"news-photo",home:{hero:function(e){var s;
1let{config:a,articles:l,sections:t,basePath:i}=e,c=h(l);return c?(0,n.jsxs)("section",{className:"news-photo__cover",children:[c.image&&(0,n.jsxs)("a",{href:"".concat(i,"/").concat((c.sectionSlug||c.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(c.slug,".html"),className:"news-photo__cover-image-wrap",children:[(0,n.jsx)("img",{src:c.image.src,alt:c.image.alt,className:"news-photo__cover-image"}),(0,n.jsx)("div",{className:"news-photo__cover-overlay"})]}),(0,n.jsxs)("article",{className:"news-photo__cover-content",children:[(0,n.jsx)("p",{className:"news-photo__cover-section",children:em(t,c.section)}),(0,n.jsx)("h1",{className:"news-photo__cover-title",children:(0,n.jsx)("a",{href:"".concat(i,"/").concat((c.sectionSlug||c.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(c.slug,".html"),children:c.title})}),(0,n.jsx)("p",{className:"news-photo__cover-excerpt",children:c.excerpt}),(0,n.jsxs)("div",{className:"news-photo__cover-meta",children:[(0,n.jsxs)("span",{className:"news-photo__cover-photographer",children:["\uD83D\uDCF7 ",(null==(s=c.image)?void 0:s.credit)||c.author]}),(0,n.jsx)("span",{className:"news-photo__cover-dot",children:"\xb7"}),(0,n.jsx)("time",{children:B(c.publishedAt)}),null!=c.views&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"news-photo__cover-dot",children:"\xb7"}),(0,n.jsxs)("span",{children:[D(c.views)," ",eh.views]})]})]})]})]}):null},breaking:function(e){let{config:s,articles:a,basePath:l}=e,t=h(a);return(0,n.jsxs)("div",{className:"template-preview__breaking news-photo__breaking",children:[(0,n.jsx)("strong",{children:eh.breaking}),(0,n.jsx)("a",{href:"".concat(l,"/").concat((t.sectionSlug||t.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(t.slug,".html"),children:t.title}),(0,n.jsx)("span",{children:B(t.publishedAt)})]})},"top-stories":function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=m(a,5);return 0===i.length?null:(0,n.jsxs)("section",{className:"news-photo__gallery",children:[(0,n.jsx)("header",{className:"news-photo__gallery-header",children:(0,n.jsx)("h2",{className:"news-photo__gallery-title",children:eh.headlines})}),(0,n.jsx)("div",{className:"news-photo__gallery-grid",children:i.map((e,s)=>(0,n.jsx)("article",{className:"news-photo__gallery-item ".concat(0===s?"news-photo__gallery-item--featured":""),children:e.image&&(0,n.jsxs)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-photo__gallery-image",children:[(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt}),(0,n.jsx)("div",{className:"news-photo__gallery-overlay",children:(0,n.jsxs)("div",{className:"news-photo__gallery-info",children:[(0,n.jsx)("span",{className:"news-photo__gallery-section",children:em(l,e.section)}),(0,n.jsx)("h3",{className:"news-photo__gallery-item-title",children:e.title})]})})]})},e.slug))})]})},"section-streams":function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=p(a,l,4);return 0===i.length?null:(0,n.jsx)("section",{className:"news-photo__dispatches",children:i.map(e=>{let{section:s,articles:a}=e;return(0,n.jsxs)("div",{className:"news-photo__dispatch-section",children:[(0,n.jsxs)("header",{className:"news-photo__dispatch-header",children:[(0,n.jsx)("h2",{className:"news-photo__dispatch-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat(s.slug),children:(0,f.lq)(s)})}),(0,n.jsxs)("a",{href:"".concat(t,"/").concat(s.slug),className:"news-photo__dispatch-more",children:[eh.viewSection," →"]})]}),(0,n.jsx)("div",{className:"news-photo__dispatch-scroll",children:a.map(e=>(0,n.jsxs)("article",{className:"news-photo__dispatch-card",children:[e.image&&(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-photo__dispatch-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsxs)("div",{className:"news-photo__dispatch-body",children:[(0,n.jsx)("span",{className:"news-photo__dispatch-section",children:em(l,e.section)}),(0,n.jsx)("h3",{className:"news-photo__dispatch-card-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("time",{className:"news-photo__dispatch-time",children:B(e.publishedAt)})]})]},e.slug))})]},s.slug)})})}
1,discovery:function(e){let{config:s,articles:a,basePath:l}=e,t=_(a,5),i=g(a,8);return(0,n.jsxs)("div",{className:"news-photo__bottom",children:[(0,n.jsxs)("div",{className:"news-photo__ranked",children:[(0,n.jsx)("h2",{children:eh.mostRead}),(0,n.jsx)("ol",{children:t.map(e=>(0,n.jsxs)("li",{children:[(0,n.jsx)("a",{href:"".concat(l,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title}),(0,n.jsx)("span",{children:e.readingTime?"".concat(e.readingTime," ").concat(eh.minRead):B(e.publishedAt)})]},e.slug))})]}),(0,n.jsxs)("div",{className:"news-photo__topics",children:[(0,n.jsx)("h2",{children:eh.exploreTopics}),(0,n.jsx)("div",{children:i.map(e=>(0,n.jsx)("a",{href:"".concat(l,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),children:e},e))})]})]})}},article:{header:function(e){let{config:s,article:a,sections:l,basePath:t}=e;return(0,n.jsxs)("header",{className:"template-preview__article-header",children:[(0,n.jsx)("p",{className:"template-preview__eyebrow",children:em(l,a.section)}),(0,n.jsx)("h1",{children:a.title}),(0,n.jsxs)("p",{className:"template-preview__meta",children:[em(l,a.section)," \xb7 ",a.author," \xb7 ",B(a.publishedAt),a.readingTime?" \xb7 ".concat(a.readingTime," ").concat(eh.minRead):""]}),(0,n.jsxs)("p",{className:"template-preview__updated",children:[eh.updated," \xb7 ",B(a.updatedAt||a.publishedAt)]})]})},media:function(e){let{article:s}=e;return s.image?(0,n.jsxs)("figure",{className:"template-preview__article-figure",children:[(0,n.jsx)("img",{src:s.image.src,alt:s.image.alt,className:"template-preview__article-image"}),s.image.caption&&(0,n.jsx)("figcaption",{children:s.image.caption})]}):null},body:function(e){let{article:s}=e;return(0,n.jsxs)("div",{className:"template-preview__article-body",children:[s.excerpt&&(0,n.jsx)("p",{className:"template-preview__article-summary",children:s.excerpt}),(0,n.jsx)(es,{content:s.content})]})},topics:function(e){let{config:s,article:a,basePath:l}=e;return(0,n.jsxs)("section",{className:"template-preview__article-tags",children:[(0,n.jsx)("h2",{children:eh.relatedTopics}),(0,n.jsx)("div",{children:Array.from(new Set([...a.relatedTopics||[],...a.tags||[]])).map(e=>(0,n.jsx)("a",{href:"".concat(l,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),children:e},e))})]})},related:function(e){let{config:s,article:a,articles:l,sections:t,basePath:i}=e,c=l.filter(e=>e.slug!==a.slug).slice(0,4);return(0,n.jsxs)("section",{className:"news-photo__related",children:[(0,n.jsx)("h2",{children:eh.relatedStories}),(0,n.jsx)("div",{children:c.map(e=>(0,n.jsxs)("article",{className:"news-photo__related__story",children:[e.image&&(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt,className:"news-photo__related__story__image"}),(0,n.jsxs)("p",{className:"template-preview__meta",children:[em(t,e.section)," \xb7 ",B(e.publishedAt)]}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{children:e.excerpt})]},e.slug))})]})},author:function(e){let{config:s,article:a,authors:l,basePath:t}=e,i=l.find(e=>e.name===a.author);return i?(0,n.jsxs)("section",{className:"template-preview__author-card",children:[(0,n.jsx)("p",{children:eh.aboutAuthor}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(t,"/author/").concat(i.slug),children:i.name})}),(0,n.jsx)("p",{children:i.bio})]}):null},comments:function(e){let{comments:s}=e;return 0===s.length?null:(0,n.jsxs)("section",{className:"template-preview__comments",children:[(0,n.jsxs)("h2",{children:[eh.comments," ",(0,n.jsx)("span",{children:s.reduce((e,s)=>{var a;return e+1+((null==(a=s.replies)?void 0:a.length)||0)},0)})]}),s.map(e=>(0,n.jsxs)("article",{className:"template-preview__comment",children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("strong",{children:e.author}),(0,n.jsx)("time",{children:B(e.publishedAt)})]}),(0,n.jsx)("p",{children:e.content}),e.replies&&e.replies.length>0&&(0,n.jsxs)("section",{className:"template-preview__comment-replies",children:[(0,n.jsx)("h3",{children:eh.replies}),e.replies.map(e=>(0,n.jsxs)("article",{className:"template-preview__comment",children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("strong",{children:e.author}),(0,n.jsx)("time",{children:B(e.publishedAt)})]}),(0,n.jsx)("p",{children:e.content})]},e.id))]})]},e.id))]})}},archive:{"archive-header":function(e){let{articles:s,sections:a,currentSection:l,currentAuthor:t,currentTag:i}=e,{filtered:c,title:r}=eu(s,a,l,t,i);return(0,n.jsxs)("header",{children:[(0,n.jsx)("p",{children:i?"#".concat(i):r}),(0,n.jsx)("h1",{children:r})]})}
1,"archive-stories":function(e){let{config:s,articles:a,sections:l,currentSection:t,currentAuthor:i,currentTag:c,basePath:r}=e,{filtered:o}=eu(a,l,t,i,c);return(0,n.jsx)("div",{children:o.map((e,s)=>(0,n.jsxs)("article",{className:"news-photo__archive-story".concat(0===s?" news-photo__archive-story--lead":""),children:[e.image&&(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt,className:"news-photo__archive-story__image"}),(0,n.jsxs)("p",{className:"template-preview__meta",children:[em(l,e.section),e.readingTime?" \xb7 ".concat(e.readingTime," ").concat(eh.minRead):""]}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(r,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{children:e.excerpt})]},e.slug))})},pagination:ej}},review:{prefix:"news-review",home:{hero:function(e){let{config:s,articles:a,sections:l,authors:t,basePath:i}=e,c=h(a),r=m(a,4);if(!c)return null;let o=t.find(e=>e.name===c.author);return(0,n.jsxs)("section",{className:"news-review__opener",children:[(0,n.jsxs)("div",{className:"news-review__opener-label",children:[(0,n.jsx)("span",{className:"news-review__opener-tag",children:e_.keyReports}),(0,n.jsx)("span",{className:"news-review__opener-divider"}),(0,n.jsx)("span",{className:"news-review__opener-date",children:B(c.publishedAt)})]}),(0,n.jsxs)("article",{className:"news-review__lead",children:[(0,n.jsxs)("div",{className:"news-review__lead-content",children:[(0,n.jsx)("p",{className:"news-review__lead-section",children:ep(l,c.section)}),(0,n.jsx)("h1",{className:"news-review__lead-title",children:(0,n.jsx)("a",{href:"".concat(i,"/").concat((c.sectionSlug||c.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(c.slug,".html"),children:c.title})}),(0,n.jsxs)("blockquote",{className:"news-review__lead-dek",children:['"',c.excerpt,'"']}),(0,n.jsxs)("div",{className:"news-review__lead-byline",children:[(null==o?void 0:o.avatar)&&(0,n.jsx)("img",{className:"news-review__lead-avatar",src:o.avatar,alt:c.author}),(0,n.jsxs)("div",{className:"news-review__lead-byline-text",children:[(0,n.jsx)("span",{className:"news-review__lead-author",children:c.author}),(0,n.jsx)("span",{className:"news-review__lead-role",children:"Columnist"})]})]}),null!=c.views&&(0,n.jsxs)("p",{className:"news-review__lead-views",children:[D(c.views)," ",e_.views]}),(0,n.jsxs)("a",{href:"".concat(i,"/").concat((c.sectionSlug||c.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(c.slug,".html"),className:"news-review__lead-readmore",children:[e_.readMore," →"]})]}),c.image&&(0,n.jsx)("a",{href:"".concat(i,"/").concat((c.sectionSlug||c.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(c.slug,".html"),className:"news-review__lead-image-wrap",children:(0,n.jsx)("img",{className:"news-review__lead-image",src:c.image.src,alt:c.image.alt})})]}),(0,n.jsxs)("aside",{className:"news-review__opinion-rail",children:[(0,n.jsx)("h2",{className:"news-review__opinion-rail-title",children:e_.headlines}),(0,n.jsx)("ul",{className:"news-review__opinion-rail-list",children:r.map(e=>{let s=t.find(s=>s.name===e.author);return(0,n.jsxs)("li",{className:"news-review__opinion-rail-item",children:[(null==s?void 0:s.avatar)&&(0,n.jsx)("img",{className:"news-review__opinion-rail-avatar",src:s.avatar,alt:e.author}),(0,n.jsxs)("div",{className:"news-review__opinion-rail-content",children:[(0,n.jsx)("span",{className:"news-review__opinion-rail-author",children:e.author}),(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-review__opinion-rail-link",children:e.title})]})]},e.slug)})})]})]})},breaking:function(e){let{config:s,articles:a,basePath:l}=e,t=h(a);return(0,n.jsxs)("div",{className:"template-preview__breaking news-review__breaking",children:[(0,n.jsx)("strong",{children:e_.breaking}),(0,n.jsx)("a",{href:"".concat(l,"/").concat((t.sectionSlug||t.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(t.slug,".html"),children:t.title}),(0,n.jsx)("span",{children:B(t.publishedAt)})]})}
1,"long-reads":function(e){let{config:s,articles:a,sections:l,authors:t,basePath:i}=e,c=u(a,4);return 0===c.length?null:(0,n.jsxs)("section",{className:"news-review__arguments",children:[(0,n.jsxs)("header",{className:"news-review__arguments-header",children:[(0,n.jsx)("div",{className:"news-review__arguments-rule"}),(0,n.jsx)("h2",{className:"news-review__arguments-title",children:e_.longRead}),(0,n.jsx)("div",{className:"news-review__arguments-rule"})]}),(0,n.jsx)("div",{className:"news-review__arguments-grid",children:c.map(e=>{let s=t.find(s=>s.name===e.author);return(0,n.jsxs)("article",{className:"news-review__argument-card",children:[(0,n.jsxs)("div",{className:"news-review__argument-top",children:[(0,n.jsx)("span",{className:"news-review__argument-section",children:ep(l,e.section)}),(0,n.jsx)("time",{className:"news-review__argument-time",children:B(e.publishedAt)})]}),(0,n.jsx)("h3",{className:"news-review__argument-title",children:(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{className:"news-review__argument-excerpt",children:e.excerpt}),(0,n.jsxs)("div",{className:"news-review__argument-byline",children:[(null==s?void 0:s.avatar)&&(0,n.jsx)("img",{className:"news-review__argument-avatar",src:s.avatar,alt:e.author}),(0,n.jsx)("span",{className:"news-review__argument-author",children:e.author})]})]},e.slug)})})]})},topics:function(e){let{config:s,articles:a,basePath:l}=e,t=g(a,8);return(0,n.jsxs)("section",{className:"news-review__topics",children:[(0,n.jsx)("h2",{children:e_.exploreTopics}),(0,n.jsx)("div",{children:t.map(e=>(0,n.jsx)("a",{href:"".concat(l,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),children:e},e))})]})},chapters:function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=p(a,l,2);return(0,n.jsx)("section",{className:"news-review__sections",children:i.map(e=>{let{section:s,articles:a}=e;return(0,n.jsxs)("section",{children:[(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(t,"/").concat(s.slug),children:(0,f.lq)(s)})}),a.map(e=>(0,n.jsxs)("article",{className:"news-review__section-story",children:[(0,n.jsxs)("p",{className:"template-preview__meta",children:[ep(l,e.section)," \xb7 ",B(e.publishedAt)]}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{children:e.excerpt})]},e.slug))]},s.slug)})})},"most-read":function(e){let{config:s,articles:a,basePath:l}=e,t=_(a,5),i=g(a,6);return(0,n.jsxs)("div",{className:"news-review__bottom",children:[(0,n.jsxs)("div",{className:"news-review__ranked",children:[(0,n.jsx)("h2",{children:e_.mostRead}),(0,n.jsx)("ol",{children:t.map(e=>(0,n.jsxs)("li",{children:[(0,n.jsx)("a",{href:"".concat(l,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title}),(0,n.jsx)("span",{children:e.readingTime?"".concat(e.readingTime," ").concat(e_.minRead):B(e.publishedAt)})]},e.slug))})]}),(0,n.jsxs)("div",{className:"news-review__topics",children:[(0,n.jsx)("h2",{children:e_.exploreTopics}),(0,n.jsx)("div",{children:i.map(e=>(0,n.jsx)("a",{href:"".concat(l,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),children:e},e))})]})]})}},article:{header:function(e){let{config:s,article:a,sections:l,basePath:t}=e;return(0,n.jsxs)("header",{className:"template-preview__article-header",children:[(0,n.jsx)("p",{className:"template-preview__eyebrow",children:ep(l,a.section)}),(0,n.jsx)("h1",{children:a.title}),(0,n.jsxs)("p",{className:"template-preview__meta",children:[ep(l,a.section)," \xb7 ",a.author," \xb7 ",B(a.publishedAt),a.readingTime?" \xb7 ".concat(a.readingTime," ").concat(e_.minRead):""]}),(0,n.jsxs)("p",{className:"template-preview__updated",children:[e_.updated," \xb7 ",B(a.updatedAt||a.publishedAt)]})]})},author:function(e){let{config:s,article:a,authors:l,basePath:t}=e,i=l.find(e=>e.name===a.author);return i?(0,n.jsxs)("section",{className:"template-preview__author-card",children:[(0,n.jsx)("p",{children:e_.aboutAuthor}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(t,"/author/").concat(i.slug),children:i.name})}),(0,n.jsx)("p",{children:i.bio})]}):null},media:function(e){let{article:s}=e;return s.image?(0,n.jsxs)("figure",{className:"template-preview__article-figure",children:[(0,n.jsx)("img",{src:s.image.src,alt:s.image.alt,className:"template-preview__article-image"}),s.image.caption&&(0,n.jsx)("figcaption",{children:s.image.caption})]}):null},body:function(e){let{article:s}=e;return(0,n.jsxs)("div",{className:"template-preview__article-body",children:[s.excerpt&&(0,n.jsx)("p",{className:"template-preview__article-summary",children:s.excerpt}),(0,n.jsx)(es,{content:s.content})]})}
1,topics:function(e){let{config:s,article:a,basePath:l}=e;return(0,n.jsxs)("section",{className:"template-preview__article-tags",children:[(0,n.jsx)("h2",{children:e_.relatedTopics}),(0,n.jsx)("div",{children:Array.from(new Set([...a.relatedTopics||[],...a.tags||[]])).map(e=>(0,n.jsx)("a",{href:"".concat(l,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),children:e},e))})]})},related:function(e){let{config:s,article:a,articles:l,sections:t,basePath:i}=e,c=l.filter(e=>e.slug!==a.slug).slice(0,3);return(0,n.jsxs)("section",{className:"news-review__related",children:[(0,n.jsx)("h2",{children:e_.relatedStories}),(0,n.jsx)("div",{children:c.map(e=>(0,n.jsxs)("article",{className:"news-review__related__story",children:[e.image&&(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt,className:"news-review__related__story__image"}),(0,n.jsxs)("p",{className:"template-preview__meta",children:[ep(t,e.section)," \xb7 ",B(e.publishedAt)]}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{children:e.excerpt})]},e.slug))})]})},comments:function(e){let{comments:s}=e;return 0===s.length?null:(0,n.jsxs)("section",{className:"template-preview__comments",children:[(0,n.jsxs)("h2",{children:[e_.comments," ",(0,n.jsx)("span",{children:s.reduce((e,s)=>{var a;return e+1+((null==(a=s.replies)?void 0:a.length)||0)},0)})]}),s.map(e=>(0,n.jsxs)("article",{className:"template-preview__comment",children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("strong",{children:e.author}),(0,n.jsx)("time",{children:B(e.publishedAt)})]}),(0,n.jsx)("p",{children:e.content}),e.replies&&e.replies.length>0&&(0,n.jsxs)("section",{className:"template-preview__comment-replies",children:[(0,n.jsx)("h3",{children:e_.replies}),e.replies.map(e=>(0,n.jsxs)("article",{className:"template-preview__comment",children:[(0,n.jsxs)("header",{children:[(0,n.jsx)("strong",{children:e.author}),(0,n.jsx)("time",{children:B(e.publishedAt)})]}),(0,n.jsx)("p",{children:e.content})]},e.id))]})]},e.id))]})},rail:function(e){let{config:s,articles:a,basePath:l}=e,t=_(a,5);return(0,n.jsx)("aside",{className:"news-review__article-rail",children:(0,n.jsxs)("section",{className:"news-review__headline-rail",children:[(0,n.jsx)("h2",{children:e_.mostRead}),(0,n.jsx)("ol",{children:t.map(e=>(0,n.jsxs)("li",{children:[(0,n.jsx)("a",{href:"".concat(l,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title}),(0,n.jsx)("span",{children:e.readingTime?"".concat(e.readingTime," ").concat(e_.minRead):B(e.publishedAt)})]},e.slug))})]})})}},archive:{"archive-header":function(e){let{articles:s,sections:a,currentSection:l,currentAuthor:t,currentTag:i}=e,{filtered:c,title:r}=eg(s,a,l,t,i);return(0,n.jsxs)("header",{children:[(0,n.jsx)("p",{children:i?"#".concat(i):r}),(0,n.jsx)("h1",{children:r})]})},"archive-stories":function(e){let{config:s,articles:a,sections:l,currentSection:t,currentAuthor:i,currentTag:c,basePath:r}=e,{filtered:o}=eg(a,l,t,i,c);return(0,n.jsx)("div",{children:o.map(e=>(0,n.jsxs)("article",{className:"news-review__archive-story",children:[(0,n.jsxs)("p",{className:"template-preview__meta",children:[ep(l,e.section),e.readingTime?" \xb7 ".concat(e.readingTime," ").concat(e_.minRead):""]}),(0,n.jsx)("h2",{children:(0,n.jsx)("a",{href:"".concat(r,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{children:e.excerpt})]},e.slug))})},pagination:ej}},"public-radio":{prefix:"news-public-radio",home:{hero:function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=h(a),c=u(a,6).slice(0,3);return i?(0,n.jsxs)("section",{className:"news-public-radio__hero",children:[(0,n.jsxs)("article",{className:"news-public-radio__hero-main",children:[(0,n.jsxs)("div",{className:"news-public-radio__hero-main-content",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat(i.section),className:"news-public-radio__section-tag",children:ev(l,i.section)}),(0,n.jsx)("h1",{className:"news-public-radio__hero-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),children:i.title})}),(0,n.jsx)("p",{className:"news-public-radio__hero-excerpt",children:i.excerpt}),(0,n.jsxs)("div",{className:"news-public-radio__hero-meta",children:[(0,n.jsx)("span",{className:"news-public-radio__hero-author",children:i.author}),(0,n.jsx)("span",{className:"news-public-radio__hero-dot",children:"\xb7"}),(0,n.jsx)("time",{className:"news-public-radio__hero-time",children:B(i.publishedAt)})]})]}),i.image&&(0,n.jsxs)("a",{href:"".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),className:"news-public-radio__hero-main-image",children:[(0,n.jsx)("img",{src:i.image.src,alt:i.image.alt}),i.image.credit&&(0,n.jsx)("span",{className:"news-public-radio__image-credit",children:i.image.credit})]})]}),(0,n.jsx)("div",{className:"news-public-radio__hero-secondary",children:c.map(e=>(0,n.jsxs)("article",{className:"news-public-radio__story-card",children:[e.image&&(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-public-radio__story-card-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsxs)("div",{className:"news-public-radio__story-card-body",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat(e.section),className:"news-public-radio__section-tag--small",children:ev(l,e.section)}),(0,n.jsx)("h2",{className:"news-public-radio__story-card-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{className:"news-public-radio__story-card-excerpt",children:e.excerpt})]})]},e.slug))})]}):null}
1,"top-stories":function(e){let{config:s,articles:a,basePath:l}=e,t=m(a,5);return 0===t.length?null:(0,n.jsxs)("section",{className:"news-public-radio__top-stories",children:[(0,n.jsx)("h2",{className:"news-public-radio__section-heading",children:ew.headlines}),(0,n.jsx)("ol",{className:"news-public-radio__top-stories-list",children:t.map((e,s)=>(0,n.jsxs)("li",{className:"news-public-radio__top-stories-item",children:[(0,n.jsx)("span",{className:"news-public-radio__top-stories-number",children:s+1}),(0,n.jsxs)("div",{className:"news-public-radio__top-stories-content",children:[(0,n.jsx)("a",{href:"".concat(l,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-public-radio__top-stories-title",children:e.title}),(0,n.jsxs)("div",{className:"news-public-radio__top-stories-meta",children:[null!=e.views&&(0,n.jsxs)("span",{className:"news-public-radio__top-stories-views",children:[D(e.views)," ",ew.views]}),(0,n.jsx)("time",{className:"news-public-radio__top-stories-time",children:B(e.publishedAt)})]})]})]},e.slug))})]})},"section-streams":function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=p(a,l,2);return 0===i.length?null:(0,n.jsx)("section",{className:"news-public-radio__sections",children:i.map(e=>{let{section:s,articles:a}=e;return(0,n.jsxs)("section",{className:"news-public-radio__section-block",children:[(0,n.jsx)("header",{className:"news-public-radio__section-header",children:(0,n.jsx)("h2",{className:"news-public-radio__section-heading",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat(s.slug),children:(0,f.lq)(s)})})}),(0,n.jsx)("div",{className:"news-public-radio__section-grid",children:a.map(e=>(0,n.jsxs)("article",{className:"news-public-radio__story-card",children:[e.image&&(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-public-radio__story-card-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsxs)("div",{className:"news-public-radio__story-card-body",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat(e.section),className:"news-public-radio__section-tag--small",children:ev(l,e.section)}),(0,n.jsx)("h3",{className:"news-public-radio__story-card-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{className:"news-public-radio__story-card-excerpt",children:e.excerpt}),(0,n.jsx)("div",{className:"news-public-radio__story-card-meta",children:(0,n.jsx)("time",{children:B(e.publishedAt)})})]})]},e.slug))})]},s.slug)})})},"most-read":function(e){let{config:s,articles:a,basePath:l}=e,t=_(a,5);return 0===t.length?null:(0,n.jsxs)("section",{className:"news-public-radio__most-read",children:[(0,n.jsx)("h2",{className:"news-public-radio__section-heading",children:ew.mostRead}),(0,n.jsx)("ol",{className:"news-public-radio__most-read-list",children:t.map((e,s)=>(0,n.jsxs)("li",{className:"news-public-radio__most-read-item",children:[(0,n.jsx)("span",{className:"news-public-radio__most-read-number",children:s+1}),(0,n.jsxs)("div",{className:"news-public-radio__most-read-content",children:[(0,n.jsx)("a",{href:"".concat(l,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-public-radio__most-read-title",children:e.title}),(0,n.jsx)("time",{className:"news-public-radio__most-read-time",children:B(e.publishedAt)})]})]},e.slug))})]})}},article:{header:function(e){let{config:s,article:a,sections:l,basePath:t}=e;return(0,n.jsxs)("header",{className:"news-public-radio__article-header",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat(a.section),className:"news-public-radio__section-tag",children:ev(l,a.section)}),(0,n.jsx)("h1",{className:"news-public-radio__article-title",children:a.title}),(0,n.jsxs)("div",{className:"news-public-radio__article-meta",children:[(0,n.jsx)("span",{className:"news-public-radio__article-author",children:a.author}),(0,n.jsx)("span",{className:"news-public-radio__article-dot",children:"\xb7"}),(0,n.jsx)("time",{className:"news-public-radio__article-time",children:B(a.publishedAt)}),a.readingTime?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"news-public-radio__article-dot",children:"\xb7"}),(0,n.jsxs)("span",{className:"news-public-radio__article-reading",children:[a.readingTime," ",ew.minRead]})]}):null]}),a.updatedAt&&(0,n.jsxs)("p",{className:"news-public-radio__article-updated",children:[ew.updated," \xb7 ",B(a.updatedAt)]})]})},media:function(e){let{article:s}=e;return s.image?(0,n.jsxs)("figure",{className:"news-public-radio__article-figure",children:[(0,n.jsx)("img",{className:"news-public-radio__article-image",src:s.image.src,alt:s.image.alt||s.title}),(s.image.caption||s.image.credit)&&(0,n.jsxs)("figcaption",{className:"news-public-radio__article-caption",children:[s.image.caption,s.image.caption&&s.image.credit?" \xb7 ":"",s.image.credit]})]}):null},body:function(e){let{article:s}=e;return(0,n.jsxs)("div",{className:"news-public-radio__article-body",children:[(0,n.jsx)("p",{className:"news-public-radio__article-summary",children:s.excerpt}),(0,n.jsx)(es,{content:s.content})]})}
1,author:function(e){let{config:s,article:a,authors:l,basePath:t}=e,i=l.find(e=>e.name===a.author);return i?(0,n.jsxs)("section",{className:"news-public-radio__author-card",children:[i.avatar&&(0,n.jsx)("img",{className:"news-public-radio__author-avatar",src:i.avatar,alt:i.name}),(0,n.jsxs)("div",{className:"news-public-radio__author-info",children:[(0,n.jsx)("p",{className:"news-public-radio__author-label",children:ew.aboutAuthor}),(0,n.jsx)("h2",{className:"news-public-radio__author-name",children:(0,n.jsx)("a",{href:"".concat(t,"/author/").concat(i.slug),children:i.name})}),(0,n.jsx)("p",{className:"news-public-radio__author-bio",children:i.bio})]})]}):null},related:function(e){let{config:s,article:a,articles:l,sections:t,basePath:i}=e,c=x(l,a.slug,3);return 0===c.length?null:(0,n.jsxs)("section",{className:"news-public-radio__related",children:[(0,n.jsx)("h2",{className:"news-public-radio__section-heading",children:ew.relatedStories}),(0,n.jsx)("div",{className:"news-public-radio__related-grid",children:c.map(e=>(0,n.jsxs)("article",{className:"news-public-radio__story-card",children:[e.image&&(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-public-radio__story-card-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsxs)("div",{className:"news-public-radio__story-card-body",children:[(0,n.jsx)("a",{href:"".concat(i,"/").concat(e.section),className:"news-public-radio__section-tag--small",children:ev(t,e.section)}),(0,n.jsx)("h3",{className:"news-public-radio__story-card-title",children:(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{className:"news-public-radio__story-card-excerpt",children:e.excerpt}),(0,n.jsx)("div",{className:"news-public-radio__story-card-meta",children:(0,n.jsx)("time",{children:B(e.publishedAt)})})]})]},e.slug))})]})},comments:function(e){let{comments:s}=e;if(0===s.length)return null;let a=s.reduce((e,s)=>{var a;return e+1+((null==(a=s.replies)?void 0:a.length)||0)},0);return(0,n.jsxs)("section",{className:"news-public-radio__comments",children:[(0,n.jsxs)("h2",{className:"news-public-radio__section-heading",children:[ew.comments," ",(0,n.jsx)("span",{className:"news-public-radio__comments-count",children:a})]}),s.map(e=>(0,n.jsxs)("article",{className:"news-public-radio__comment",children:[(0,n.jsxs)("header",{className:"news-public-radio__comment-header",children:[(0,n.jsx)("strong",{className:"news-public-radio__comment-author",children:e.author}),(0,n.jsx)("time",{className:"news-public-radio__comment-time",children:B(e.publishedAt)})]}),(0,n.jsx)("p",{className:"news-public-radio__comment-content",children:e.content}),e.replies&&e.replies.length>0&&(0,n.jsxs)("section",{className:"news-public-radio__comment-replies",children:[(0,n.jsx)("h3",{className:"news-public-radio__comment-replies-title",children:ew.replies}),e.replies.map(e=>(0,n.jsxs)("article",{className:"news-public-radio__comment news-public-radio__comment--reply",children:[(0,n.jsxs)("header",{className:"news-public-radio__comment-header",children:[(0,n.jsx)("strong",{className:"news-public-radio__comment-author",children:e.author}),(0,n.jsx)("time",{className:"news-public-radio__comment-time",children:B(e.publishedAt)})]}),(0,n.jsx)("p",{className:"news-public-radio__comment-content",children:e.content})]},e.id))]})]},e.id))]})}},archive:{"archive-header":function(e){let{articles:s,sections:a,currentSection:l,currentAuthor:t,currentTag:i}=e,{filtered:c,title:r}=eN(s,a,l,t,i);return(0,n.jsxs)("header",{className:"news-public-radio__archive-header",children:[(0,n.jsx)("p",{className:"news-public-radio__archive-count",children:ew.articlesCount(c.length)}),(0,n.jsx)("h1",{className:"news-public-radio__archive-title",children:r})]})},"archive-stories":function(e){let{config:s,articles:a,sections:l,currentSection:t,currentAuthor:i,currentTag:c,basePath:r}=e,{filtered:o}=eN(a,l,t,i,c);return(0,n.jsx)("div",{className:"news-public-radio__archive-stories",children:o.map(e=>(0,n.jsxs)("article",{className:"news-public-radio__archive-story",children:[e.image&&(0,n.jsx)("a",{href:"".concat(r,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-public-radio__archive-story-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsxs)("div",{className:"news-public-radio__archive-story-content",children:[(0,n.jsx)("a",{href:"".concat(r,"/").concat(e.section),className:"news-public-radio__section-tag--small",children:ev(l,e.section)}),(0,n.jsx)("h2",{className:"news-public-radio__archive-story-title",children:(0,n.jsx)("a",{href:"".concat(r,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{className:"news-public-radio__archive-story-excerpt",children:e.excerpt}),(0,n.jsxs)("div",{className:"news-public-radio__archive-story-meta",children:[(0,n.jsx)("span",{className:"news-public-radio__archive-story-author",children:e.author}),(0,n.jsx)("span",{className:"news-public-radio__article-dot",children:"\xb7"}),(0,n.jsx)("time",{children:B(e.publishedAt)})]})]})]},e.slug))})},pagination:ej}},bloomberg:{prefix:"news-bloomberg",home:{breaking:function(e){let{c
1onfig:s,articles:a,basePath:l}=e,t=h(a);return t?(0,n.jsxs)("section",{className:"news-bloomberg__breaking",children:[(0,n.jsxs)("span",{className:"news-bloomberg__breaking-label",children:[(0,n.jsx)("span",{className:"news-bloomberg__breaking-dot"}),ef.breaking]}),(0,n.jsx)("a",{href:"".concat(l,"/").concat((t.sectionSlug||t.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(t.slug,".html"),className:"news-bloomberg__breaking-title",children:t.title}),(0,n.jsx)("time",{className:"news-bloomberg__breaking-time",children:H(t.publishedAt)})]}):null},hero:function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=h(a),c=m(a,5);return i?(0,n.jsxs)("section",{className:"news-bloomberg__hero",children:[(0,n.jsxs)("article",{className:"news-bloomberg__hero-main",children:[i.image&&(0,n.jsx)("a",{href:"".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),className:"news-bloomberg__hero-image",children:(0,n.jsx)("img",{src:i.image.src,alt:i.image.alt})}),(0,n.jsxs)("div",{className:"news-bloomberg__hero-content",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat(i.section),className:"news-bloomberg__section-tag",children:eb(l,i.section)}),(0,n.jsx)("h1",{className:"news-bloomberg__hero-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),children:i.title})}),(0,n.jsx)("p",{className:"news-bloomberg__hero-excerpt",children:i.excerpt}),(0,n.jsxs)("div",{className:"news-bloomberg__hero-meta",children:[null!=i.views&&(0,n.jsxs)("span",{className:"news-bloomberg__hero-views",children:[D(i.views)," ",ef.views]}),(0,n.jsx)("span",{className:"news-bloomberg__hero-dot",children:"\xb7"}),(0,n.jsx)("time",{className:"news-bloomberg__hero-time",children:H(i.publishedAt)})]})]})]}),(0,n.jsxs)("aside",{className:"news-bloomberg__hero-rail",children:[(0,n.jsx)("h2",{className:"news-bloomberg__rail-heading",children:ef.headlines}),(0,n.jsx)("ol",{className:"news-bloomberg__rail-list",children:c.map((e,s)=>(0,n.jsxs)("li",{className:"news-bloomberg__rail-item",children:[(0,n.jsx)("span",{className:"news-bloomberg__rail-number",children:s+1}),(0,n.jsxs)("div",{className:"news-bloomberg__rail-content",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-bloomberg__rail-title",children:e.title}),(0,n.jsx)("time",{className:"news-bloomberg__rail-time",children:H(e.publishedAt)})]})]},e.slug))})]})]}):null},"top-stories":function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=u(a,4);return 0===i.length?null:(0,n.jsxs)("section",{className:"news-bloomberg__key-stories",children:[(0,n.jsx)("header",{className:"news-bloomberg__section-header",children:(0,n.jsx)("h2",{className:"news-bloomberg__section-title",children:ef.keyReports})}),(0,n.jsx)("div",{className:"news-bloomberg__key-stories-grid",children:i.map(e=>(0,n.jsxs)("article",{className:"news-bloomberg__story-card",children:[e.image&&(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-bloomberg__story-card-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsxs)("div",{className:"news-bloomberg__story-card-body",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat(e.section),className:"news-bloomberg__section-tag--small",children:eb(l,e.section)}),(0,n.jsx)("h3",{className:"news-bloomberg__story-card-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("time",{className:"news-bloomberg__story-card-time",children:H(e.publishedAt)})]})]},e.slug))})]})},"section-streams":function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=p(a,l,2);return 0===i.length?null:(0,n.jsx)("section",{className:"news-bloomberg__sections",children:i.map(e=>{let{section:s,articles:a}=e;return(0,n.jsxs)("section",{className:"news-bloomberg__section-block",children:[(0,n.jsx)("header",{className:"news-bloomberg__section-header",children:(0,n.jsx)("h2",{className:"news-bloomberg__section-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat(s.slug),children:(0,f.lq)(s)})})}),(0,n.jsx)("div",{className:"news-bloomberg__section-grid",children:a.map(e=>(0,n.jsxs)("article",{className:"news-bloomberg__story-card",children:[e.image&&(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-bloomberg__story-card-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsxs)("div",{className:"news-bloomberg__story-card-body",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat(e.section),className:"news-bloomberg__section-tag--small",children:eb(l,e.section)}),(0,n.jsx)("h3",{className:"news-bloomberg__story-card-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("time",{className:"news-bloomberg__story-card-time",children:H(e.publishedAt)})]})]},e.slug))})]},s.slug)})})}
1,"most-read":function(e){let{config:s,articles:a,basePath:l}=e,t=_(a,5);return 0===t.length?null:(0,n.jsxs)("section",{className:"news-bloomberg__most-read",children:[(0,n.jsx)("h2",{className:"news-bloomberg__section-title",children:ef.mostRead}),(0,n.jsx)("ol",{className:"news-bloomberg__most-read-list",children:t.map((e,s)=>(0,n.jsxs)("li",{className:"news-bloomberg__most-read-item",children:[(0,n.jsx)("span",{className:"news-bloomberg__most-read-number",children:s+1}),(0,n.jsxs)("div",{className:"news-bloomberg__most-read-content",children:[(0,n.jsx)("a",{href:"".concat(l,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-bloomberg__most-read-title",children:e.title}),(0,n.jsx)("time",{className:"news-bloomberg__most-read-time",children:H(e.publishedAt)})]})]},e.slug))})]})}},article:{header:function(e){let{config:s,article:a,sections:l,basePath:t}=e;return(0,n.jsxs)("header",{className:"news-bloomberg__article-header",children:[(0,n.jsx)("a",{href:"".concat(t,"/").concat(a.section),className:"news-bloomberg__section-tag",children:eb(l,a.section)}),(0,n.jsx)("h1",{className:"news-bloomberg__article-title",children:a.title}),(0,n.jsxs)("div",{className:"news-bloomberg__article-meta",children:[(0,n.jsx)("span",{className:"news-bloomberg__article-author",children:a.author}),(0,n.jsx)("span",{className:"news-bloomberg__article-dot",children:"\xb7"}),(0,n.jsx)("time",{className:"news-bloomberg__article-time",children:B(a.publishedAt)}),a.readingTime?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"news-bloomberg__article-dot",children:"\xb7"}),(0,n.jsxs)("span",{className:"news-bloomberg__article-reading",children:[a.readingTime," ",ef.minRead]})]}):null]}),a.updatedAt&&(0,n.jsxs)("p",{className:"news-bloomberg__article-updated",children:[ef.updated," \xb7 ",B(a.updatedAt)]})]})},media:function(e){let{article:s}=e;return s.image?(0,n.jsxs)("figure",{className:"news-bloomberg__article-figure",children:[(0,n.jsx)("img",{className:"news-bloomberg__article-image",src:s.image.src,alt:s.image.alt||s.title}),(s.image.caption||s.image.credit)&&(0,n.jsxs)("figcaption",{className:"news-bloomberg__article-caption",children:[s.image.caption,s.image.caption&&s.image.credit?" \xb7 ":"",s.image.credit]})]}):null},body:function(e){let{article:s}=e;return(0,n.jsxs)("div",{className:"news-bloomberg__article-body",children:[(0,n.jsx)("p",{className:"news-bloomberg__article-summary",children:s.excerpt}),(0,n.jsx)(es,{content:s.content})]})},topics:function(e){let{config:s,article:a,articles:l,basePath:t}=e,i=g([a],8);return 0===i.length?null:(0,n.jsxs)("section",{className:"news-bloomberg__topics",children:[(0,n.jsx)("h2",{className:"news-bloomberg__section-title",children:ef.relatedTopics}),(0,n.jsx)("div",{className:"news-bloomberg__topics-list",children:i.map(e=>(0,n.jsx)("a",{href:"".concat(t,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),className:"news-bloomberg__topic-tag",children:e},e))})]})},author:function(e){let{config:s,article:a,authors:l,basePath:t}=e,i=l.find(e=>e.name===a.author);return i?(0,n.jsxs)("section",{className:"news-bloomberg__author-card",children:[i.avatar&&(0,n.jsx)("img",{className:"news-bloomberg__author-avatar",src:i.avatar,alt:i.name}),(0,n.jsxs)("div",{className:"news-bloomberg__author-info",children:[(0,n.jsx)("p",{className:"news-bloomberg__author-label",children:ef.aboutAuthor}),(0,n.jsx)("h2",{className:"news-bloomberg__author-name",children:(0,n.jsx)("a",{href:"".concat(t,"/author/").concat(i.slug),children:i.name})}),(0,n.jsx)("p",{className:"news-bloomberg__author-bio",children:i.bio})]})]}):null},related:function(e){let{config:s,article:a,articles:l,sections:t,basePath:i}=e,c=x(l,a.slug,3);return 0===c.length?null:(0,n.jsxs)("section",{className:"news-bloomberg__related",children:[(0,n.jsx)("h2",{className:"news-bloomberg__section-title",children:ef.relatedStories}),(0,n.jsx)("div",{className:"news-bloomberg__related-grid",children:c.map(e=>(0,n.jsxs)("article",{className:"news-bloomberg__story-card",children:[e.image&&(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-bloomberg__story-card-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsxs)("div",{className:"news-bloomberg__story-card-body",children:[(0,n.jsx)("a",{href:"".concat(i,"/").concat(e.section),className:"news-bloomberg__section-tag--small",children:eb(t,e.section)}),(0,n.jsx)("h3",{className:"news-bloomberg__story-card-title",children:(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("time",{className:"news-bloomberg__story-card-time",children:H(e.publishedAt)})]})]},e.slug))})]})}
1,comments:function(e){let{comments:s}=e;if(0===s.length)return null;let a=s.reduce((e,s)=>{var a;return e+1+((null==(a=s.replies)?void 0:a.length)||0)},0);return(0,n.jsxs)("section",{className:"news-bloomberg__comments",children:[(0,n.jsxs)("h2",{className:"news-bloomberg__section-title",children:[ef.comments," ",(0,n.jsx)("span",{className:"news-bloomberg__comments-count",children:a})]}),s.map(e=>(0,n.jsxs)("article",{className:"news-bloomberg__comment",children:[(0,n.jsxs)("header",{className:"news-bloomberg__comment-header",children:[(0,n.jsx)("strong",{className:"news-bloomberg__comment-author",children:e.author}),(0,n.jsx)("time",{className:"news-bloomberg__comment-time",children:B(e.publishedAt)})]}),(0,n.jsx)("p",{className:"news-bloomberg__comment-content",children:e.content}),e.replies&&e.replies.length>0&&(0,n.jsxs)("section",{className:"news-bloomberg__comment-replies",children:[(0,n.jsx)("h3",{className:"news-bloomberg__comment-replies-title",children:ef.replies}),e.replies.map(e=>(0,n.jsxs)("article",{className:"news-bloomberg__comment news-bloomberg__comment--reply",children:[(0,n.jsxs)("header",{className:"news-bloomberg__comment-header",children:[(0,n.jsx)("strong",{className:"news-bloomberg__comment-author",children:e.author}),(0,n.jsx)("time",{className:"news-bloomberg__comment-time",children:B(e.publishedAt)})]}),(0,n.jsx)("p",{className:"news-bloomberg__comment-content",children:e.content})]},e.id))]})]},e.id))]})}},archive:{"archive-header":function(e){let{articles:s,sections:a,currentSection:l,currentAuthor:t,currentTag:i}=e,{filtered:c,title:r}=ey(s,a,l,t,i);return(0,n.jsxs)("header",{className:"news-bloomberg__archive-header",children:[(0,n.jsx)("p",{className:"news-bloomberg__archive-count",children:ef.articlesCount(c.length)}),(0,n.jsx)("h1",{className:"news-bloomberg__archive-title",children:r})]})},"archive-stories":function(e){let{articles:s,sections:a,currentSection:l,currentAuthor:t,currentTag:i,basePath:c}=e,{filtered:r}=ey(s,a,l,t,i);return(0,n.jsx)("div",{className:"news-bloomberg__archive-stories",children:r.map(e=>(0,n.jsxs)("article",{className:"news-bloomberg__archive-story",children:[e.image&&(0,n.jsx)("a",{href:"".concat(c,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-bloomberg__archive-story-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsxs)("div",{className:"news-bloomberg__archive-story-content",children:[(0,n.jsx)("a",{href:"".concat(c,"/").concat(e.section),className:"news-bloomberg__section-tag--small",children:eb(a,e.section)}),(0,n.jsx)("h2",{className:"news-bloomberg__archive-story-title",children:(0,n.jsx)("a",{href:"".concat(c,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{className:"news-bloomberg__archive-story-excerpt",children:e.excerpt}),(0,n.jsxs)("div",{className:"news-bloomberg__archive-story-meta",children:[(0,n.jsx)("span",{className:"news-bloomberg__archive-story-author",children:e.author}),(0,n.jsx)("span",{className:"news-bloomberg__article-dot",children:"\xb7"}),(0,n.jsx)("time",{children:H(e.publishedAt)})]})]})]},e.slug))})},pagination:ej}},guardian:{prefix:"news-guardian",home:{hero:function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=h(a);if(!i)return null;let c="".concat(t,"/").concat((i.sectionSlug||i.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(i.slug,".html"),r=eS(a);return(0,n.jsxs)("section",{className:"news-guardian__hero",children:[(0,n.jsx)("div",{className:"news-guardian__hero-label",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat(i.section),className:"news-guardian__hero-labeltext",children:eC(l,i.section)})}),(0,n.jsxs)("div",{className:"news-guardian__hero-main",children:[(0,n.jsxs)("article",{className:"news-guardian__hero-lead",children:[(0,n.jsx)("span",{className:"news-guardian__hero-kicker",children:eL(i,l)}),(0,n.jsx)("h1",{className:"news-guardian__hero-title",children:(0,n.jsx)("a",{href:c,children:i.title})}),(0,n.jsx)("p",{className:"news-guardian__hero-excerpt",children:i.excerpt}),(0,n.jsxs)("div",{className:"news-guardian__hero-meta",children:[(0,n.jsx)("span",{className:"news-guardian__hero-author",children:i.author}),(0,n.jsx)("time",{children:H(i.publishedAt)})]})]}),r.length>0&&(0,n.jsx)("ul",{className:"news-guardian__hero-briefs",children:r.map(e=>(0,n.jsxs)("li",{className:"news-guardian__hero-brief",children:[(0,n.jsx)("span",{className:"news-guardian__hero-brief-kicker",children:eL(e,l)}),(0,n.jsx)("h2",{className:"news-guardian__hero-brief-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})})]},e.slug))})]}),i.image&&(0,n.jsxs)("figure",{className:"news-guardian__hero-figure",children:[(0,n.jsx)("a",{href:c,className:"news-guardian__hero-image",children:(0,n.jsx)("img",{src:i.image.src,alt:i.image.alt})}),i.image.caption&&(0,n.jsx)("figcaption",{className:"news-guardian__hero-caption",children:i.image.caption})]})]})}
1,"top-stories":function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=new Set(eS(a).map(e=>e.slug)),c=u(a,9).filter(e=>!i.has(e.slug)).slice(0,6);return 0===c.length?null:(0,n.jsxs)("section",{className:"news-guardian__top-stories",children:[(0,n.jsx)("div",{className:"news-guardian__section-header",children:(0,n.jsx)("h2",{className:"news-guardian__section-title",children:ek.keyReports})}),(0,n.jsx)("div",{className:"news-guardian__key-stories-grid",children:c.map(e=>(0,n.jsxs)("article",{className:"news-guardian__key-story-card",children:[e.image&&(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-guardian__key-story-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsx)("span",{className:"news-guardian__key-story-section",children:eL(e,l)}),(0,n.jsx)("h3",{className:"news-guardian__key-story-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})})]},e.slug))})]})},"section-streams":function(e){let{config:s,articles:a,sections:l,basePath:t}=e,i=p(a,l,2);return 0===i.length?null:(0,n.jsx)("section",{className:"news-guardian__sections",children:i.map(e=>{let{section:s,articles:a}=e;return(0,n.jsxs)("section",{className:"news-guardian__section-block",children:[(0,n.jsxs)("div",{className:"news-guardian__section-header",children:[(0,n.jsx)("h2",{className:"news-guardian__section-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat(s.slug),children:(0,f.lq)(s)})}),(0,n.jsx)("a",{href:"".concat(t,"/").concat(s.slug),className:"news-guardian__section-more",children:ek.viewSection})]}),(0,n.jsx)("div",{className:"news-guardian__section-grid",children:a.map(e=>(0,n.jsxs)("article",{className:"news-guardian__section-card",children:[(0,n.jsxs)("div",{className:"news-guardian__section-card-content",children:[(0,n.jsx)("span",{className:"news-guardian__section-card-kicker",children:eL(e,l)}),(0,n.jsx)("h3",{className:"news-guardian__section-card-title",children:(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{className:"news-guardian__section-card-excerpt",children:e.excerpt}),(0,n.jsx)("time",{className:"news-guardian__section-card-time",children:H(e.publishedAt)})]}),e.image&&(0,n.jsx)("a",{href:"".concat(t,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-guardian__section-card-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})})]},e.slug))})]},s.slug)})})},"most-read":function(e){let{config:s,articles:a,basePath:l}=e,t=_(a,10);return 0===t.length?null:(0,n.jsxs)("section",{className:"news-guardian__most-read",children:[(0,n.jsx)("div",{className:"news-guardian__section-header",children:(0,n.jsx)("h2",{className:"news-guardian__section-title",children:ek.mostRead})}),(0,n.jsx)("ol",{className:"news-guardian__most-read-list",children:t.map((e,s)=>(0,n.jsx)("li",{className:"news-guardian__most-read-item",children:(0,n.jsxs)("div",{className:"news-guardian__most-read-content",children:[(0,n.jsx)("h3",{className:"news-guardian__most-read-title",children:(0,n.jsx)("a",{href:"".concat(l,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("time",{className:"news-guardian__most-read-time",children:H(e.publishedAt)})]})},e.slug))})]})}},article:{header:function(e){let{config:s,article:a,sections:l,basePath:t}=e;return(0,n.jsxs)("header",{className:"news-guardian__article-header",children:[(0,n.jsx)("span",{className:"news-guardian__article-section",children:eC(l,a.section)}),(0,n.jsx)("h1",{className:"news-guardian__article-title",children:a.title}),(0,n.jsxs)("div",{className:"news-guardian__article-meta",children:[(0,n.jsx)("span",{className:"news-guardian__article-author",children:a.author}),(0,n.jsx)("span",{className:"news-guardian__article-dot",children:"\xb7"}),(0,n.jsx)("time",{className:"news-guardian__article-time",children:B(a.publishedAt)}),a.readingTime?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"news-guardian__article-dot",children:"\xb7"}),(0,n.jsxs)("span",{className:"news-guardian__article-reading",children:[a.readingTime," ",ek.minRead]})]}):null]})]})},media:function(e){let{article:s}=e;return s.image?(0,n.jsxs)("figure",{className:"news-guardian__article-figure",children:[(0,n.jsx)("img",{className:"news-guardian__article-image",src:s.image.src,alt:s.image.alt||s.title}),(s.image.caption||s.image.credit)&&(0,n.jsxs)("figcaption",{className:"news-guardian__article-caption",children:[s.image.caption,s.image.caption&&s.image.credit?" \xb7 ":"",s.image.credit]})]}):null},body:function(e){let{article:s}=e;return(0,n.jsxs)("div",{className:"news-guardian__article-body",children:[(0,n.jsx)("p",{className:"news-guardian__article-summary",children:s.excerpt}),(0,n.jsx)(es,{content:s.content})]})}
1,topics:function(e){let{config:s,article:a,articles:l,basePath:t}=e,i=g([a],8);return 0===i.length?null:(0,n.jsxs)("section",{className:"news-guardian__topics",children:[(0,n.jsx)("p",{className:"news-guardian__topics-label",children:ek.relatedTopics}),(0,n.jsx)("div",{className:"news-guardian__topics-list",children:i.map(e=>(0,n.jsx)("a",{href:"".concat(t,"/tag/").concat(e.toLowerCase().replace(/\s+/g,"-")),className:"news-guardian__topic-tag",children:e},e))})]})},author:function(e){let{config:s,article:a,authors:l,basePath:t}=e,i=l.find(e=>e.name===a.author);return i?(0,n.jsxs)("section",{className:"news-guardian__author-card",children:[i.avatar&&(0,n.jsx)("div",{className:"news-guardian__author-avatar",children:(0,n.jsx)("img",{src:i.avatar,alt:i.name})}),(0,n.jsxs)("div",{className:"news-guardian__author-info",children:[(0,n.jsx)("h3",{className:"news-guardian__author-name",children:(0,n.jsx)("a",{href:"".concat(t,"/author/").concat(i.slug),children:i.name})}),(0,n.jsx)("p",{className:"news-guardian__author-bio",children:i.bio})]})]}):null},related:function(e){let{config:s,article:a,articles:l,sections:t,basePath:i}=e,c=x(l,a.slug,3);return 0===c.length?null:(0,n.jsxs)("section",{className:"news-guardian__related",children:[(0,n.jsx)("h2",{className:"news-guardian__related-title",children:ek.relatedStories}),(0,n.jsx)("div",{className:"news-guardian__related-grid",children:c.map(e=>(0,n.jsxs)("article",{className:"news-guardian__related-card",children:[e.image&&(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-guardian__related-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsx)("span",{className:"news-guardian__related-section",children:eC(t,e.section)}),(0,n.jsx)("h3",{className:"news-guardian__related-card-title",children:(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})})]},e.slug))})]})},rail:function(e){let{config:s,article:a,articles:l,sections:t,basePath:i}=e,c=_(l,5).filter(e=>e.slug!==a.slug).slice(0,5);return 0===c.length?null:(0,n.jsxs)("aside",{className:"news-guardian__article-rail",children:[(0,n.jsx)("h2",{className:"news-guardian__rail-heading",children:ek.mostRead}),(0,n.jsx)("ol",{className:"news-guardian__rail-list",children:c.map((e,s)=>(0,n.jsxs)("li",{className:"news-guardian__rail-item",children:[(0,n.jsx)("span",{className:"news-guardian__rail-index",children:s+1}),(0,n.jsxs)("div",{className:"news-guardian__rail-content",children:[(0,n.jsx)("span",{className:"news-guardian__rail-section",children:eC(t,e.section)}),(0,n.jsx)("h3",{className:"news-guardian__rail-title",children:(0,n.jsx)("a",{href:"".concat(i,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})})]})]},e.slug))})]})},comments:function(e){let{comments:s}=e;if(0===s.length)return null;let a=s.reduce((e,s)=>{var a;return e+1+((null==(a=s.replies)?void 0:a.length)||0)},0);return(0,n.jsxs)("section",{className:"news-guardian__comments",children:[(0,n.jsxs)("h2",{className:"news-guardian__comments-title",children:[ek.comments," (",a,")"]}),(0,n.jsx)("ul",{className:"news-guardian__comment-list",children:s.map(e=>(0,n.jsxs)("li",{className:"news-guardian__comment-item",children:[(0,n.jsxs)("div",{className:"news-guardian__comment-header",children:[(0,n.jsx)("span",{className:"news-guardian__comment-author",children:e.author}),(0,n.jsx)("time",{className:"news-guardian__comment-time",children:B(e.publishedAt)})]}),(0,n.jsx)("p",{className:"news-guardian__comment-body",children:e.content}),e.replies&&e.replies.length>0&&(0,n.jsx)("ul",{className:"news-guardian__comment-replies",children:e.replies.map(e=>(0,n.jsxs)("li",{className:"news-guardian__comment-item",children:[(0,n.jsxs)("div",{className:"news-guardian__comment-header",children:[(0,n.jsx)("span",{className:"news-guardian__comment-author",children:e.author}),(0,n.jsx)("time",{className:"news-guardian__comment-time",children:B(e.publishedAt)})]}),(0,n.jsx)("p",{className:"news-guardian__comment-body",children:e.content})]},e.id))})]},e.id))})]})}},archive:{"archive-header":function(e){let{articles:s,sections:a,currentSection:l,currentAuthor:t,currentTag:i}=e,{filtered:c,title:r}=eA(s,a,l,t,i);return(0,n.jsxs)("header",{className:"news-guardian__archive-header",children:[(0,n.jsx)("p",{className:"news-guardian__archive-count",children:ek.articlesCount(c.length)}),(0,n.jsx)("h1",{className:"news-guardian__archive-title",children:r})]})},"archive-stories":function(e){let{articles:s,sections:a,currentSection:l,currentAuthor:t,currentTag:i,basePath:c}=e,{filtered:r}=eA(s,a,l,t,i);return(0,n.jsx)("div",{className:"news-guardian__archive-stories",children:r.map(e=>(0,n.jsxs)("article",{className:"news-guardian__archive-story",children:[e.image&&(0,n.jsx)("a",{href:"".concat(c,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),className:"news-guardian__archive-story-image",children:(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt})}),(0,n.jsxs)("div",{className:"news-guardian__archive-story-content",children:[(0,n.jsx)("span",{className:"news-guardian__archive-story-section",children:eC(a,e.section)}),(0,n.jsx)("h2",{className:"news-guardian__archive-story-title",children:(0,n.jsx)("a",{href:"".concat(c,"/").concat((e.sectionSlug||e.section).toLowerCase().replace(/\s+/g,"-"),"/").concat(e.slug,".html"),children:e.title})}),(0,n.jsx)("p",{className:"news-guardian__archive-story-excerpt",children:e.excerpt}),(0,n.jsxs)("div",{className:"news-guardian__archive-story-meta",children:[(0,n.jsx)("span",{className:"news-guardian__archive-story-author",children:e.author}),(0,n.jsx)("time",{children:H(e.publishedAt)})]})]})]},e.slug))})},pagination:ej}}};
1function eR(e){let{config:s}=function(){let e=(0,i.useContext)(c);if(!e)throw Error("useTheme must be used within ThemeProvider");return e}(),a=eT[s.editorialFamily];if(!a)return(0,n.jsxs)("section",{children:["Unregistered editorial family: ",s.editorialFamily]});let{pageType:l}=e,t=s.pageComposition[l],r=a.prefix,o="".concat(s.editorialFamily,"-").concat(l),d=(e,n)=>{var l,t;let i=null==(t=s.moduleSources)||null==(l=t[e])?void 0:l[n],c=i?eT[i]:a;return(null==c?void 0:c[e])||{}};if("home"===l)return(0,n.jsx)("section",{className:"".concat(r," ").concat(r,"--home"),"data-template-module":o,children:t.map(a=>{let l=d("home",a)[a];return l?(0,n.jsx)(l,{config:s,articles:e.articles,sections:e.sections,authors:e.authors,basePath:e.basePath},a):null})});if("article"===l){if(!e.currentArticle)return null;let a=e.currentArticle,l=t.filter(e=>"rail"!==e),i=t.includes("rail")?d("article","rail").rail:void 0,c={config:s,article:a,articles:e.articles,sections:e.sections,authors:e.authors,comments:e.comments||[],basePath:e.basePath};return(0,n.jsxs)("section",{className:"".concat(r,"__article-page"),"data-template-module":o,children:[(0,n.jsx)("article",{children:l.map(e=>{let s=d("article",e)[e];return s?(0,n.jsx)(s,{...c},e):null})}),i&&(0,n.jsx)(i,{...c})]})}return(0,n.jsx)("section",{className:"".concat(r,"__archive"),"data-template-module":o,children:t.map(a=>{let l=d("archive",a)[a];return l?(0,n.jsx)(l,{config:s,articles:e.articles,sections:e.sections,authors:e.authors,currentSection:e.currentSection,currentAuthor:e.currentAuthor,currentTag:e.currentTag,pagination:e.pagination,basePath:e.basePath},a):null})})}async function eP(e){try{await fetch("".concat("https://new.daoben.net","/api/v1/analytics/track"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,userAgent:"undefined"!=typeof navigator?navigator.userAgent:void 0}),keepalive:!0})}catch(e){}}function eF(e){let{siteId:s,pageType:a,articleId:l,children:t}=e,c=(0,P.usePathname)(),r=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{r.current||(r.current=!0,eP({siteId:s,articleId:"article"===a?l:void 0,pagePath:c||window.location.pathname,eventType:"VIEW",referrer:document.referrer||void 0}))},[s,a,l,c]),(0,i.useEffect)(()=>{return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)};function e(e){let a=e.target.closest("a");if(!a)return;let n=a.getAttribute("href")||"",l=!1;if(n.includes("/article/"))l=!0;else{let e=n.match(/^\/([^/?#]+)\/([^/?#]+)$/);if(e){let s=e[1];"section"!==s&&"about"!==s&&"contact"!==s&&"privacy"!==s&&"editorial-policy"!==s&&"all"!==s&&"author"!==s&&"tag"!==s&&"dev"!==s&&"template-preview"!==s&&(l=!0)}}if(l)eP({siteId:s,articleId:function(e){let s=e.getAttribute("data-article-id");if(s&&/^\d+$/.test(s))return Number(s);let a=(e.getAttribute("href")||"").match(/\/(?:article|([^/?#]+))\/([^/?#]+)/);if(a&&/^\d+$/.test(a[2]))return Number(a[2])}(a),pagePath:n,eventType:"CLICK",referrer:c||window.location.pathname})}},[s,c]),(0,n.jsx)(n.Fragment,{children:t})}function eE(e){let{config:s,data:a,pageType:l,siteId:i,basePath:c}=e,o=a.site.locale||"en";(0,z.x)(o);let d=v(o),h=null!=c?c:"/template-preview/".concat(s.key),m=t=>{let o=(0,n.jsx)(r,{config:s,children:(0,n.jsx)(M,{config:s,site:a.site,sections:a.sections,articles:a.articles,activeSection:e.currentSection,basePath:c,children:t})});if(i){var d;return(0,n.jsx)(eF,{siteId:i,pageType:l,articleId:null==(d=e.currentArticle)?void 0:d.id,children:o})}return o};if("static"===l){var u;let s=e.staticPageKey?null==(u=a.staticPages)?void 0:u[e.staticPageKey]:void 0;return m((0,n.jsxs)("div",{className:"template-static-page",children:[(0,n.jsx)("h1",{children:(null==s?void 0:s.title)||""}),s&&(0,n.jsx)(es,{content:s.content})]}))}return m("notfound"===l?(0,n.jsxs)("div",{className:"template-not-found",children:[(0,n.jsx)("h1",{children:"404"}),(0,n.jsx)("h2",{children:d.notFoundTitle}),(0,n.jsx)("p",{children:d.notFoundBody}),(0,n.jsx)(t(),{href:h,children:d.backHome})]}):(0,n.jsx)(eR,{pageType:l,articles:a.articles,sections:a.sections,authors:a.authors,currentArticle:e.currentArticle,currentSection:e.currentSection,currentAuthor:e.currentAuthor,currentTag:e.currentTag,comments:e.articleComments||[],pagination:e.pagination,basePath:h}))}a(5912)},8762:(e,s,a)=>{a.d(s,{J:()=>t,x:()=>l});let n="en";function l(e){n=e}function t(){return n}}}]);

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.