PageSourceSearch

https://clashreport.com/assets/home-MUfEFmtE.js

js clashreport.com collected 2026-10-02 15:14:22 UTC 30,629 bytes, 1 lines download raw bytes

1import{r as p,j as e,w as ye,u as we,a as me}from"./jsx-runtime-cLmjXj0T.js";import{L as w,a as Se}from"./lib-CfqOrLfX.js";import{a as Ce,b as re,u as Ae}from"./use-preview-channel-DwBFReJN.js";import{a as Re}from"./ads-blackout-DTeUoT4s.js";import{t as te}from"./track-event-Dy0Jn8pW.js";import{I as fe}from"./image-Bqo3n9nP.js";import{a as Fe,I as _e}from"./infographic-viewer-BBT3W0lP.js";import{D as A}from"./dev-only-Oe1J1bd4.js";import{R as be}from"./color-theme-CnTEU41C.js";import{b as ne}from"./form-atoms-DQ2L4KGy.js";import{I as g,L as ge}from"./live-dot-DjwWMleU.js";import{S as Le}from"./shorts-reels-XqqJfLdl.js";import{u as Ie,c as le,p as De}from"./overlay-nav-Bxt6y7mA.js";import{o as Ee,b as oe}from"./origin-WxwQK_Wn.js";import{o as Oe}from"./organization-fSxd1pZj.js";import{b as Te}from"./config-BANvOByE.js";import{S as d,a as j,V as F}from"./skeleton-CTaDkcyA.js";import{B as O}from"./button-BPpqZKKr.js";import{C as S}from"./card-atoms-CxSaNELd.js";import{L as Pe}from"./lead-card-nKp5WmDi.js";import{N as T,M as ze}from"./news-card-DyqErsQh.js";import{O as ie}from"./opinion-card-CLu86MCO.js";import"./errorBoundaries-BuNKXYpd.js";import"./image-url-BZ60DQH-.js";import"./use-hls-source-5j71b5HS.js";import"./preload-helper-ckwbz45p.js";import"./tooltip-Dh_HmmPH.js";import"./index-CWmZxwWW.js";import"./share-article-modal-B4kpPqz5.js";import"./avatar-Dj2GlZlE.js";import"./live-badge-BoLnYAdz.js";const ue=["breaking","snapshot","opinions","shorts","videos","infographics","mostread","podcast","cookie"],Be={breaking:"Breaking bar",snapshot:"Daily Brief",opinions:"Opinion",shorts:"Shorts",videos:"Videos",infographics:"Infographics",mostread:"Most Read",podcast:"Podcast",cookie:"Cookie notice"},$e=[{label:"brand",hex:"#C8102E"},{label:"brand-hover",hex:"#A60D26"},{label:"cat-world",hex:"#C8102E"},{label:"cat-defense",hex:"#2D3E2C"},{label:"cat-focus",hex:"#003DA5"},{label:"cat-opinion",hex:"#6B4FBB"},{label:"cat-africa",hex:"#00843D"},{label:"cat-asia",hex:"#F4B400"},{label:"white",hex:"#FFFFFF"},{label:"off-white",hex:"#F7F7F5"},{label:"light-gray",hex:"#F0F0F0"},{label:"border-light",hex:"#DDDDDD"},{label:"dark",hex:"#0F0F0F"},{label:"dark-2",hex:"#1A1A1A"},{label:"dark-warm",hex:"#1A1611"},{label:"border-dark",hex:"#222222"},{label:"ink",hex:"#0F0F0F"},{label:"ink-2",hex:"#555555"},{label:"ink-3",hex:"#888888"},{label:"ink-on-dark",hex:"#FFFFFF"},{label:"ink-on-dark-2",hex:"#AAAAAA"},{label:"ink-on-dark-3",hex:"#666666"}];function Me(){const[a,s]=p.useState(null);function o(t,i){navigator.clipboard.writeText(i).then(()=>{s(t),setTimeout(()=>s(null),1200)})}return e.jsxs("div",{className:"px-4 py-3.5 border-t border-border-light",children:[e.jsxs("div",{className:"font-data text-[10px] font-bold uppercase tracking-[0.1em] text-ink-3 mb-2.5",children:["Design Tokens ",e.jsx("span",{className:"text-brand",children:"(dev)"})]}),$e.map(t=>e.jsxs("button",{type:"button",onClick:()=>o(t.label,t.hex),className:"w-full flex items-center gap-2 py-0.5 cursor-pointer text-left",children:[e.jsx("span",{"aria-hidden":!0,className:"w-3.5 h-3.5 shrink-0 border border-border-light",style:{background:t.hex}}),e.jsx("span",{className:"flex-1 font-data text-[11px] text-ink-2",children:t.label}),e.jsx("span",{className:`font-data text-[10px] ${a===t.label?"text-brand":"text-ink-3"}`,children:a===t.label?"✓ copied":t.hex})]},t.label))]})}const Ve=["breaking","daily","weekly"],He={breaking:"Breaking news alerts",daily:"Daily brief email",weekly:"Weekly analysis"},y={color:"white",mode:"full",density:"comfortable",lang:"en",vis:{breaking:!0,snapshot:!0,opinions:!0,shorts:!0,videos:!0,infographics:!0,mostread:!0,podcast:!0,cookie:!0},notif:{breaking:!1,daily:!1,weekly:!1}};function We(){try{const a=localStorage.getItem(be);if(!a)return y;const s=JSON.parse(a);return{...y,...s,vis:{...y.vis,...s.vis},notif:{...y.notif,...s.notif}}}catch{return y}}function Ue(a){try{localStorage.setItem(be,JSON.stringify(a))}catch{}}function qe(a){const s=document.body;s.classList.remove("theme-dark"),a.color!=="white"&&s.classList.add(`theme-${a.color}`),s.classList.toggle("mode-simple",a.mode==="simple"),s.classList.toggle("density-compact",a.density==="compact");for(const o of ue)s.classList.toggle(`hide-${o}`,!a.vis[o])}const Ge=[{key:"white",label:"White",swatch:"#FFFFFF"},{key:"dark",label:"Dark",swatch:"#161616"}];function C({active:a,onClick:s,children:o,disabled:t=!1}){return e.jsx("button",{type:"button",onClick:s,disabled:t,className:`flex-1 py-2 font-sans text-[12px] font-semibold uppercase tracking-[0.04em] transition-colors ${a?"bg-ink text-white":t?"text-ink-3 cursor-not-allowed":"text-ink-2 hover:text-ink"}`,children:o})}function N({label:a,children:s}){return e.jsxs("div",{className:"px-4 py-3.5 border-b border-border-light",children:[e.jsx("div",{className:"font-data text-[10px] font-bold uppercase tracking-[0.1em] text-ink-3 mb-2.5",children:a}),s]})}function Ze(){const[a,s]=p.useState(!1),[o,t]=p.useState(y);p.useEffect(()=>{t(We())},[]);function i(l){t(n=>{const u={...n,...l};return Ue(u),qe(u),u})}function c(){try{localStorage.removeItem("clash-cookie-v1")}catch{}window.location.reload()}return e.jsxs("div",{className:"fixed z-[310] left-6 bottom-6",children:[a?e.jsxs("div",{className:"absolute bottom-[64px] left-0 w-[280px] max-h-[calc(100vh-120px)] overflow-y-auto bg-white border border-border-light shadow-[0_18px_50px_rgba(0,0,0,0.22)]",children:[e.jsx(N,{label:"Quick View",children:e.jsxs("div",{className:"flex border border-border-light",children:[e.jsx(C,{active:o.mode==="full",onClick:()=>i({mode:"full"}),children:"Full"}),e.jsx(C,{active:o.mode==="simple",onClick:()=>i({mode:"simple"}),children:"Simple"})]})}),e.jsx(N,{label:"Visibility",children:e.jsx("div",{className:"flex flex-col",children:ue.map(l=>e.jsx(ne,{id:`sp-vis-${l}`,label:Be[l],checked:o.vis[l],onChange:n=>i({vis:{...o.vis,[l]:n}})},l))})}),e.jsx(N,{label:"Page Color",children:e.jsx("div",{className:"grid grid-cols-2 gap-1.5",children:Ge.map(l=>e.jsxs("button",{type:"button",title:l.label,"aria-label":l.label,"aria-pressed":o.color===l.key,onClick:()=>i({color:l.key}),className:`flex flex-col items-center gap-1.5 p-1.5 border transition-colors ${o.color===l.key?"border-brand":"border-transparent hover:border-border-light"}
1`,children:[e.jsx("span",{"aria-hidden":!0,className:"w-7 h-7 border border-border-light",style:{background:l.swatch}}),e.jsx("span",{className:"font-data text-[9px] uppercase text-ink-3",children:l.label})]},l.key))})}),e.jsx(N,{label:"Density",children:e.jsxs("div",{className:"flex border border-border-light",children:[e.jsx(C,{active:o.density==="comfortable",onClick:()=>i({density:"comfortable"}),children:"Comfortable"}),e.jsx(C,{active:o.density==="compact",onClick:()=>i({density:"compact"}),children:"Compact"})]})}),e.jsxs(N,{label:"Language",children:[e.jsx("div",{className:"flex border border-border-light",children:[{key:"en",label:"EN"},{key:"tr",label:"TR"},{key:"ar",label:"عربية"}].map(l=>e.jsx(C,{active:o.lang===l.key,disabled:l.key!=="en",onClick:()=>i({lang:l.key}),children:l.label},l.key))}),o.lang!=="en"?null:e.jsx("p",{className:"font-sans text-[11px] text-ink-3 mt-1.5",children:"Only English is available today."})]}),e.jsx(N,{label:"Notifications",children:e.jsx("div",{className:"flex flex-col",children:Ve.map(l=>e.jsx(ne,{id:`sp-notif-${l}`,label:He[l],checked:o.notif[l],onChange:n=>i({notif:{...o.notif,[l]:n}})},l))})}),e.jsxs("div",{className:"px-4 py-3.5",children:[e.jsx("div",{className:"font-data text-[10px] font-bold uppercase tracking-[0.1em] text-ink-3 mb-2.5",children:"Cookie Policy"}),e.jsx("button",{type:"button",onClick:c,className:"font-sans text-sm text-ink-2 hover:text-brand transition-colors",children:"Cookie preferences"})]}),e.jsx(A,{indicator:!1,children:e.jsx(Me,{})})]}):null,e.jsx("button",{type:"button",onClick:()=>s(l=>!l),"aria-expanded":a,"aria-label":"Reader settings",className:"w-14 h-14 rounded-full bg-dark text-ink-on-dark shadow-[0_6px_22px_rgba(0,0,0,0.28)] grid place-items-center hover:border-2 hover:border-brand transition-[border] cursor-pointer",children:e.jsx(g,{name:"settings",size:24})})]})}function f(a){return{"data-mainpage-target":a}}const de={id:"skydagger-banner",link:"https://www.skydagger.com/en",image:"https://clashreport-storage.b-cdn.net/ads/skydagger/skydagger-masthead-desktop.jpg",alt:"Skydagger — skydagger.com"};function Ke(){return Re()||!de?null:e.jsx(Ye,{ad:de})}function Ye({ad:a}){const s=p.useRef(!1);return p.useEffect(()=>{s.current||(s.current=!0,te("sponsor_banner_view",a.id,"ad",{placement:"after-mostread"}))},[a.id]),e.jsx("section",{className:"bg-page pt-section-y","data-section":"sponsor",children:e.jsxs("div",{className:"max-w-site mx-auto px-6 xl:px-0",children:[e.jsx("p",{className:"font-data text-[10px] tracking-[0.12em] uppercase text-ink-3 mb-3 text-right",children:"Sponsored"}),e.jsx("a",{href:a.link,target:"_blank",rel:"noopener noreferrer sponsored","aria-label":"Advertisement",className:"block",onClick:()=>te("sponsor_banner_click",a.id,"ad",{placement:"after-mostread",target:a.link}),children:e.jsx(fe,{src:a.image,alt:a.alt,width:1333,height:208,sizes:"(min-width: 1280px) 1280px, 100vw",className:"w-full h-auto"})})]})})}function Je(a){return new Intl.DateTimeFormat("en",{hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:"UTC"}).format(new Date(a))}function Qe(a){return{"@context":"https://schema.org","@type":"WebSite",name:Te,url:a,potentialAction:{"@type":"SearchAction",target:`${a}/search?q={search_term_string}`,"query-input":"required name=search_term_string"}}}function Xe({items:a,durationSec:s=46,label:o="Headlines"}){return e.jsxs("div",{className:"flex h-9 items-stretch overflow-hidden bg-dark-warm",children:[e.jsxs("div",{className:"flex h-9 shrink-0 items-center gap-2 whitespace-nowrap bg-brand pl-3.5 pr-4 font-data text-[11px] font-bold uppercase tracking-[0.1em] text-ink-on-dark",children:[e.jsx(ge,{size:7,color:"white",animated:!1,className:"animate-blink"}),o]}),e.jsx("div",{className:"group relative flex-1 overflow-hidden",children:a.length>0?e.jsx("div",{className:"flex h-full animate-scroll-left items-center whitespace-nowrap group-hover:[animation-play-state:paused]",style:{animationDuration:`${s}s`},children:[...a,...a].map((t,i)=>{const c=i>=a.length;return e.jsxs("span",{className:"inline-flex items-center gap-[18px] px-6 font-sans text-[13px] font-bold tracking-[0.005em] text-ink-on-dark","aria-hidden":c||void 0,children:[t.time?e.jsx("span",{className:"font-data text-[11px] font-bold tracking-[0.02em] text-brand-on-dark",children:t.time}):null,t.href?e.jsx(w,{to:t.href,tabIndex:c?-1:void 0,className:"transition-colors hover:text-brand-on-dark",children:t.headline}):t.headline,e.jsx("span",{className:"inline-block h-[5px] w-[5px] bg-ticker-sep","aria-hidden":!0})]},`${t.id}-${i}`)})}):e.jsx("div",{className:"flex h-full items-center px-4",children:e.jsx(d,{dark:!0,name:"HH:MM headline · HH:MM headline · …",className:"h-[22px] w-full !border-ink-on-dark/20 !text-ink-on-dark/80"})})})]})}function Ta({location:a,loaderData:s,matches:o}){const t=Ee(o);if(s!=null&&s.queryShort){const i=s.queryShort,c=a.pathname+a.search;return oe({title:`${i.headline} · Clash Report`,description:i.category?`${i.category} · Clash Report short.`:void 0,origin:t,path:c,image:i.image,ogType:"article"})}return oe({title:"Clash Report — Independent Conflict & Defense News",description:"Independent defense and conflict news. Real-time coverage of wars, military operations, and geopolitical developments across the globe.",origin:t,path:a.pathname,ogType:"website",jsonLd:[Oe
1(t),Qe(t)]})}const h="max-w-site mx-auto px-6 xl:px-0",ea=904;function ce({item:a}){const s=(a==null?void 0:a.badgeText)||(a==null?void 0:a.category);return e.jsxs(ze,{href:a==null?void 0:a.href,className:"grid flex-1 grid-cols-[1fr_116px] items-center gap-3.5 border-t border-rule-soft py-3 first:border-t-transparent first:pt-0 last:pb-0",children:[a!=null&&a.headline?e.jsx("div",{className:"min-h-[77px] font-display font-semibold text-[15px] leading-[1.24] tracking-[-0.005em] text-ink line-clamp-4",children:a.headline}):e.jsx(d,{name:"title",className:"h-[77px] w-full"}),e.jsxs("div",{className:"relative",children:[e.jsx(S,{src:a==null?void 0:a.image,alt:(a==null?void 0:a.headline)??"",ratio:"3:2",className:"w-full",sizes:"116px"}),s?e.jsx("span",{className:"absolute right-0 bottom-0 bg-brand px-1.5 py-[3px] font-sans font-black text-[9px] leading-none tracking-[0.06em] uppercase text-ink-on-dark",children:s}):null]})]})}function aa({weekday:a=!1,className:s="h-4 font-data text-[13px] text-ink-2"}){const[o,t]=p.useState("");return p.useEffect(()=>{if(a){const i=new Date().toLocaleDateString("en-GB",{weekday:"short",day:"2-digit",month:"short",year:"numeric",timeZone:"UTC"});t(i.toUpperCase().replace(/,/g,""));return}t(new Date().toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric",timeZone:"UTC"}).toUpperCase().replace(/,/g,""))},[a]),e.jsx("span",{className:s,children:o||" "})}function sa({item:a}){const s=[a.category,a.meta||null,a.publishedAt?`${Je(a.publishedAt)} GMT`:null].filter(Boolean).join(" · ");return e.jsxs("div",{className:`${h} grid grid-cols-1 md:grid-cols-[1.05fr_1fr]`,children:[e.jsxs("div",{className:"relative min-h-[440px] bg-dark-2",children:[a.image?e.jsx(fe,{src:a.image,alt:a.headline,className:"absolute inset-0 h-full w-full object-cover",sizes:"(min-width: 768px) 51vw, 100vw"}):e.jsx(d,{dark:!0,name:"investigation image",className:"absolute inset-0 !border-0"}),e.jsx("span",{className:"absolute right-[11px] top-[11px] inline-flex items-center bg-members-badge text-members-badge-ink font-data text-[9.5px] font-bold tracking-[0.07em] uppercase px-2 py-[5px]",children:"Members Only"})]}),e.jsxs("div",{className:"flex flex-col justify-center p-14 text-ink-on-dark",children:[e.jsx("span",{className:"font-data text-[11px] font-bold tracking-[0.12em] uppercase text-exc-kicker mb-3",children:"Clash Report Investigation"}),a.headline?e.jsx("h2",{className:"font-display font-extrabold text-[30px] md:text-[40px] leading-[1.08] tracking-[-0.02em] text-ink-on-dark mb-4 line-clamp-2",children:a.headline}):e.jsx(d,{dark:!0,name:"investigation title",className:"h-16 w-full mb-4"}),a.summary?e.jsx("p",{className:"font-sans text-[17px] leading-[1.6] text-ink-on-dark/[0.72] max-w-[50ch] mb-5",children:a.summary}):e.jsx(d,{dark:!0,name:"dek",className:"h-16 w-full mb-5"}),a.authorName||s?e.jsxs("div",{className:"font-data text-[11px] tracking-[0.04em] text-ink-on-dark/[0.55] mb-6",children:[a.authorName?e.jsx("b",{className:"font-semibold text-ink-on-dark",children:a.authorName}):null,a.authorName&&s?" · ":"",s]}):e.jsx(d,{dark:!0,name:"byline · role · date · time",className:"h-5 w-3/4 mb-6 !border-0"}),e.jsxs(w,{to:a.href,className:"inline-flex items-center gap-2.5 self-start bg-ink-on-dark text-dark font-sans font-extrabold text-[13px] tracking-[0.04em] uppercase px-[22px] py-[13px] transition-colors hover:bg-brand hover:text-ink-on-dark",children:["Read the investigation",e.jsx(g,{name:"arrow-right",size:16,strokeWidth:2.5})]})]})]})}function xe({item:a,onOpen:s}){return e.jsxs(w,{to:(a==null?void 0:a.href)??"#",className:"w-52 shrink-0",onClick:o=>{s&&(o.preventDefault(),s())},children:[e.jsxs("div",{className:"relative mb-3",children:[e.jsx(S,{src:a==null?void 0:a.image,alt:(a==null?void 0:a.headline)??"",ratio:"9:16",className:"w-full",sizes:"208px"}),a!=null&&a.image?e.jsx("span",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[52px] h-[52px] rounded-full bg-white/88 flex items-center justify-center",children:e.jsx(g,{name:"play",size:26,className:"text-ink ml-[3px]"})}):null]}),a!=null&&a.headline?e.jsx("div",{className:"font-sans font-medium text-sm leading-[1.35] text-ink mb-1.5 line-clamp-2",children:a.headline}):e.jsx(d,{name:"title",className:"h-9 w-full mb-2"}),e.jsx(A,{className:"block",children:a!=null&&a.meta?e.jsx("div",{className:"font-data text-[11px] text-meta-muted",children:a.meta}):e.jsx(d,{name:"date",className:"h-3.5 w-1/2"})})]})}function pe({n:a,item:s}){return e.jsxs(w,{to:(s==null?void 0:s.href)??"#",className:"grid grid-cols-[32px_96px_1fr] gap-4 items-center min-h-[96px] py-4 border-b border-mostread-border",children:[e.jsx("span",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-brand font-sans text-sm font-extrabold text-ink-on-dark",children:a}),e.jsx(S,{src:s==null?void 0:s.image,alt:(s==null?void 0:s.headline)??"",ratio:"3:2",className:"w-full",sizes:"96px"}),e.jsxs("div",{className:"flex flex-col",children:[s!=null&&s.category?e.jsx("span",{className:"mb-1.5 font-sans font-black text-[9.5px] tracking-[0.13em] uppercase text-brand",children:s.category}):e.jsx(d,{name:"cat",className:"h-3 w-16 mb-1.5"}),s!=null&&s.headline?e.jsx("h3",{className:"font-display font-bold text-[15px] leading-[1.28] text-ink line-clamp-2",children:s.headline}):e.jsx(d,{name:"headline",className:"h-9 w-full"}),s!=null&&s.meta?e.jsx("div",{className:"mt-1.5 font-data text-[10px] tracking-[0.03em] text-date-muted",children:s.meta}):e.jsx(d,{name:"date",className:"h-3 w-1/2 mt-1.5"})]})]})}function he({item:a}){const s=me();function o(){if(!(a!=null&&a.episodeNumber)){s("/podcast#play");return}const t=new URLSearchParams({n:String(a.episodeNumber),title:a.headline});a.slug&&t.set("slug",a.slug),a.audioSrc&&t.set("audioSrc",a.audioSrc),a.image&&t.set("image",a.image),s(`/podcast?${t.toString()}#play`)}return e.jsxs("button",{type:"button",onClick:o,className:"group grid grid-cols-[72px_1fr_auto] gap-4 items-center py-4 border-b border-episode-border last:border-b-0 w-full text-left cursor-pointer",children:[e.jsx(S,{src:a==null?void 0:a.image,alt:(a==null?void 0:a.headline)??"",ratio:"1:1",className:"w-[72px] h-[72px]",sizes:"72px"}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[a!=null&&a.episodeLabel?e.jsx("span",{className:"font-data text-[11px] tracking-[0.1em] uppercase text-ink-3",children:a.episodeLabel}):e.jsx(d,{name:"episode no",className:"h-3 w-20"}),a!=null&&a.headline?e.jsx("h4",{className:"font-display font-medium text-base leading-[1.25] text-ink line-clamp-2",children:a.headline}):e.jsx(d,{name:"title",className:"h-5 w-full"})]}),e.jsxs("div",{className:"flex flex-col items-end gap-2",children:[a!=null&&a.duration||a!=null&&a.date?e.jsxs("div",{className:"font-data text-[11px] text-right leading-[1.5] text-date-muted",children:[a.duration,a.duration&&a.date?e.jsx("br",{}):null,a.date]}):e.jsx(d,{name:"len · date",className:"h-8 w-12 !border-0"}),e.jsx("span",{className:"w-10 h-10 rounded-full bg-dark text-ink-on-dark grid place-items-center transition-colors duration-150 group-hover:bg-brand dark:bg-ink-on-dark dark:text-dark dark:group-hover:text-ink-on-dark","aria-hidden":!0,
1children:e.jsx(g,{name:"play",size:19})})]})]})}const P={world:{title:"World",viewAll:"All World",href:"/world",target:"strip_world"},defense:{title:"Defense",viewAll:"All Defense",href:"/defense",target:"strip_defense"},focus:{title:"Focus",viewAll:"All Focus",href:"/focus",target:"strip_focus"}};function ra(a){var i;const s=Se(),o=p.useRef(s.submit);o.current=s.submit;const t=p.useRef(null);return p.useEffect(()=>{var l;if(s.state!=="idle")return;const c=t.current;c&&(t.current=null,(l=s.data)!=null&&l.home?c.resolve():c.reject(new Error("Önizleme sunucusu taslağı işleyemedi.")))},[s.state,s.data]),Ae({editorOrigin:a,onRender:c=>{const l=c==null?void 0:c.blocks;return Array.isArray(l)?new Promise((n,u)=>{t.current={resolve:n,reject:u},o.current({blocks:l},{method:"post",encType:"application/json",action:"/api/mainpage-preview"})}):Promise.reject(new Error("Gelen mesajda blok listesi yok."))}}),(i=s.data)==null?void 0:i.home}const Pa=ye(function(){var W,U,q,G,Z,K,Y,J,Q,X,ee,ae,se;const s=we(),o=ra(s.editorOrigin),t=!!s.editorOrigin,{heroAndRail:i,homeFeed:c,opinions:l,infographic:n,mostRead:u,podcast:b,shorts:k,videos:ta,strips:ke,specialReport:_}=o??s,L=me(),z=p.useRef(null),B=r=>{var x;(x=z.current)==null||x.scrollBy({left:r*ea,behavior:"smooth"})},[$,I]=p.useState(!1);function M(){I(!0),n!=null&&n.id&&De("infographic",`/infographics/${n.id}`)}function je(){I(!1),le("infographic",L,"/infographics")}Ie($&&!!(n!=null&&n.id),n!=null&&n.id?`/infographics/${n.id}`:"",()=>I(!1));const[ve,D]=p.useState(k),[V,R]=p.useState(null),H=p.useRef(!1);p.useEffect(()=>{if(D(k),H.current)return;const r=new URLSearchParams(window.location.search).get("short");if(!r)return;H.current=!0;const x=k.findIndex(v=>v.id===r);if(x!==-1){R(x);return}let m=!1;return fetch(`/shorts-card/${r}`).then(v=>v.json()).then(v=>{m||!v.item||(D(Ne=>[v.item,...Ne]),R(0))}),()=>{m=!0}},[k]);const E=r=>{const x=ke[r.title];return e.jsx("section",{className:"bg-page py-section-y",...f(r.target),children:e.jsxs("div",{className:h,children:[e.jsx(j,{title:r.title,right:e.jsx(F,{label:r.viewAll,href:r.href})}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-x-6 gap-y-9",children:x.length>0?x.map(m=>e.jsx(T,{href:m.href,image:m.image,category:m.category,headline:m.headline,meta:m.meta},m.id)):[0,1,2,3].map(m=>e.jsx(T,{},m))})]})})};return e.jsxs(Ce.Provider,{value:t,children:[e.jsx("h1",{className:"sr-only",children:"Clash Report — Independent Conflict & Defense News"}),e.jsx("section",{className:"bg-page pt-12",children:e.jsx("div",{className:h,children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[minmax(0,1fr)_283px] gap-6 items-stretch",...f("top_slider"),children:[e.jsx(Pe,{variant:"shadow",className:"self-center",href:(W=i.hero)==null?void 0:W.href,image:(U=i.hero)==null?void 0:U.image,category:(q=i.hero)==null?void 0:q.category,headline:(G=i.hero)==null?void 0:G.headline,summary:(Z=i.hero)==null?void 0:Z.summary,author:(K=i.hero)==null?void 0:K.authorName,authorAvatar:(Y=i.hero)==null?void 0:Y.authorAvatar,date:(J=i.hero)==null?void 0:J.dateAbsolute}),e.jsxs("aside",{className:"flex h-full flex-col",children:[e.jsx("div",{className:"cr-label text-ink border-b-2 border-ink pb-2 mb-4",children:"Latest"}),e.jsx("div",{className:"flex flex-1 flex-col",children:i.rail.length>0?i.rail.map(r=>e.jsx(ce,{item:r},r.id)):[0,1,2,3].map(r=>e.jsx(ce,{},r))})]})]})})}),e.jsx("div",{className:`${h} my-12`,"data-section":"breaking",...f("breaking_news"),children:e.jsx(Xe,{items:c.ticker,durationSec:17})}),e.jsx("section",{className:"bg-page pb-section-y","data-section":"snapshot",...f("close_up"),children:e.jsxs("div",{className:h,children:[e.jsx(j,{title:"Top Stories",right:e.jsx(aa,{})}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-x-6 gap-y-9",children:[c.topStories.map(r=>e.jsx(T,{href:r.href,image:r.image,category:r.category,headline:r.headline,meta:r.meta},r.id)),c.topStories.length===0?e.jsx(re,{className:"sm:col-span-2 lg:col-span-4"}):null]})]})}),E(P.world),e.jsx("section",{className:"bg-page py-section-y","data-section":"opinions",...f("writers"),children:e.jsxs("div",{className:h,children:[e.jsx(j,{title:"Opinion",right:e.jsx(F,{label:"All Opinion",href:"/opinion"})}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-x-[72px] gap-y-10",children:l.length>0?l.map(r=>e.jsx(ie,{item:r},r.id)):[0,1,2,3].map(r=>e.jsx(ie,{},r))})]})}),_||t?e.jsx("section",{className:"bg-dark border-y-2 border-brand","data-section":"special-report",...f("special_report"),children:_?e.jsx(sa,{item:_}):e.jsx("div",{className:`${h} py-section-y`,children:e.jsx(re,{})})}):e.jsx(A,{className:"block",children:e.jsx("section",{className:"bg-dark border-y-2 border-brand",children:e.jsxs("div",{className:`${h} grid grid-cols-1 md:grid-cols-[1.05fr_1fr]`,children:[e.jsxs("div",{className:"relative min-h-[440px] bg-dark-2",children:[e.jsx(d,{dark:!0,name:"investigation image",className:"absolute inset-0 !border-0"}),e.jsx("span",{className:"absolute right-[11px] top-[11px] inline-flex items-center bg-members-badge text-members-badge-ink font-data text-[9.5px] font-bold tracking-[0.07em] uppercase px-2 py-[5px]",children:"Members Only"})]}),e.jsxs("div",{className:"flex flex-col justify-center p-14 text-ink-on-dark",children:[e.jsx("span",{className:"font-data text-[11px] font-bold tracking-[0.12em] uppercase text-exc-kicker mb-3",children:"Clash Report Investigation"}),e.jsx(d,{dark:!0,name:"investigation title",className:"h-16 w-full mb-4"}),e.jsx(d,{dark:!0,name:"dek",className:"h-16 w-full mb-5"}),e.jsx(d,{dark:!0,name:"byline · role · date · time",className:"h-5 w-3/4 mb-6 !border-0"}),e.jsxs(w,{to:"/special/example",className:"inline-flex items-center gap-2.5 self-start bg-ink-on-dark text-dark font-sans font-extrabold text-[13px] tracking-[0.04em] uppercase px-[22px] py-[13px] transition-colors hover:bg-brand hover:text-ink-on-dark",children:["Read the investigation",e.jsx(g,{name:"arrow-right",size:16,strokeWidth:2.5})]})]})]})})}),e.jsx("section",{className:"bg-page py-section-y","data-section":"shorts",...f("shorts"),children:e.jsxs("div",{className:h,children:[e.jsx(j,{title:"Shorts",right:e.jsxs("span",{className:"flex gap-2.5",children:[e.jsx(O,{variant:"outline",iconOnly:!0,ariaLabel:"Previous",iconLeft:e.jsx(g,{name:"chevron-left",size:18}),onClick:()=>B(-1),className:"!w-[42px] !h-[42px] !p-0 !border !border-ink/25"}),e.jsx(O,{variant:"outline",iconOnly:!0,ariaLabel:"Next",iconLeft:e.jsx(g,{name:"chevron-right",size:18}),onClick:()=>B(1),className:"!w-[42px] !h-[42px] !p-0 !border !border-ink/25"})]})}),e.jsx("div",{ref:z,className:"flex gap-[18px] overflow-x-auto pb-2 scroll-smooth [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:k.length>0?k.map((r,x)=>e.jsx(xe,{item:r,onOpen:()=>{D(k),R(x)}},r.id)):Array.from({length:8},(r,x)=>e.jsx(xe,{},x))})]})}),null,E(P.defense),E(P.focus),e.jsx(Ke,{}),e.jsx("section",{className:"bg-page py-section-y","data-section":"infographics",...f("infographic"),children:e.jsxs("div",{className:h,children:[e.jsx(j,{title:"Infographics",right:e.jsx(F,{label:"All Infographics",href:"/infographics"})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-[0.62fr_1fr] gap-6 md:gap-10 items-stretch",children:[n!=null&&n.video?e.jsx("button",{type:"button",onClick:M,"aria-label":"Zoom",className:"relative aspect-[4/5] w-full cursor-zoom-in overflow-hidden",children:e.jsx(Fe,{src:n.video,poster:n.image,loop:n.videoLoop??!1,className:"absolute inset-0 h-full w-full object-contain"})}):n!=null&&n.image?e.jsx("button",{type:"button",onClick:M,"aria-label":"Zoom",className:"aspect-[4/5] w-full cursor-zoom-in",children:e.jsx(S,{src:n.image,alt:n.headline,ratio:"auto",fit:"contain",className:"h-full w-full",sizes:"(min-width: 768px) 38vw, 100vw"})}):e.jsx(d,{name:"infographic 4:5",className:"aspect-[4/5] w-full"}),e.jsxs("div",{className:"flex flex-col justify-center md:pr-12 md:border-r border-border-light",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 mb-2 font-data text-[11px] font-bold tracking-[0.1em] uppercase text-brand",children:[e.jsx(ge,{size:7}
1),"Data Analysis · Live"]}),n!=null&&n.headline?e.jsx("h3",{className:"font-display font-bold text-[28px] leading-[1.15] tracking-[-0.01em] text-ink mb-2 line-clamp-3",children:n.headline}):e.jsx(d,{name:"infographic title",className:"h-12 w-full mb-2"}),n!=null&&n.description?e.jsx("p",{className:"font-sans text-sm leading-[1.55] text-ink-2 line-clamp-3",children:n.description}):e.jsx(d,{name:"description",className:"h-14 w-full"}),e.jsxs(w,{to:"/infographics",className:"mt-5 inline-flex items-center gap-2 self-start font-sans font-bold text-sm text-ink transition-[color,gap] hover:gap-3 hover:text-brand",children:["Explore the infographic",e.jsx(g,{name:"arrow-right",size:16,strokeWidth:2.5})]})]})]})]})}),e.jsx("section",{className:"bg-band py-section-y","data-section":"mostread",...f("highlights"),children:e.jsxs("div",{className:h,children:[e.jsx(j,{title:"Most Read",right:e.jsx(A,{className:"flex border border-range-border",children:[{label:"24H",active:!0},{label:"7D",active:!1},{label:"30D",active:!1}].map(r=>e.jsx("span",{className:`font-data text-[11px] font-semibold tracking-[0.08em] uppercase px-3.5 py-2 border-r border-range-border last:border-r-0 transition-colors ${r.active?"bg-dark text-ink-on-dark dark:bg-brand dark:text-ink-on-dark":"text-date-muted hover:text-ink"}`,children:r.label},r.label))})}),e.jsx("div",{className:"-mt-4 grid grid-cols-1 md:grid-cols-2 gap-x-10",children:u.length>0?u.slice(0,12).map((r,x)=>e.jsx(pe,{n:x+1,item:r},r.id)):Array.from({length:12},(r,x)=>e.jsx(pe,{n:x+1},x))})]})}),e.jsx("section",{className:"bg-page py-section-y mb-2xl","data-section":"podcast",...f("podcast"),children:e.jsxs("div",{className:h,children:[e.jsx(j,{title:"ClashPoint",right:e.jsx(F,{label:"All Episodes",href:"/podcast"})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-[40fr_60fr] gap-12",children:[e.jsxs("div",{className:"md:pr-12 md:border-r border-border-light",children:[e.jsxs("div",{className:"relative mb-5",children:[e.jsx(S,{src:(Q=b.featured)==null?void 0:Q.image,alt:((X=b.featured)==null?void 0:X.headline)??"",ratio:"1:1",className:"w-full",sizes:"(min-width: 768px) min(445px, 40vw), 100vw"}),e.jsx(O,{variant:"dark",iconOnly:!0,ariaLabel:"Play episode",iconLeft:e.jsx(g,{name:"play",size:26}),onClick:()=>L("/podcast#play"),className:"absolute bottom-3 left-3 z-[3] !h-14 !w-14 !p-0 rounded-full dark:bg-ink-on-dark dark:text-dark dark:hover:bg-brand dark:hover:text-ink-on-dark"})]}),(ee=b.featured)!=null&&ee.episodeLabel?e.jsx("div",{className:"font-data text-[11px] tracking-[0.1em] uppercase text-ink-3 mb-2.5",children:b.featured.episodeLabel}):e.jsx(d,{name:"episode no",className:"h-3.5 w-24 mb-2.5"}),(ae=b.featured)!=null&&ae.headline?e.jsx("h3",{className:"font-display font-semibold text-[22px] leading-[1.25] text-ink mb-2",children:b.featured.headline}):e.jsx(d,{name:"episode title",className:"h-12 w-full mb-3"}),(se=b.featured)!=null&&se.headline?null:e.jsx(d,{name:"guest",className:"h-4 w-48"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"font-sans font-bold text-[14px] tracking-[0.08em] uppercase text-ink pb-3.5 mb-1 border-b-2 border-dark",children:"Recent Episodes"}),b.recent.length>0?b.recent.map(r=>e.jsx(he,{item:r},r.id)):[0,1,2,3].map(r=>e.jsx(he,{},r))]})]})]})}),e.jsx(A,{children:e.jsx(Ze,{})}),$&&n?e.jsx(_e,{title:n.headline,src:n.image,video:n.video,videoLoop:n.videoLoop,onClose:je}):null,V!==null?e.jsx(Le,{items:ve,initialIndex:V,onClose:()=>{R(null),le("short",L,"/")}}):null]})});export{Pa as default,Ta as meta};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.