1/* See licenses of bundled dependencies at /license.md */ 2import{It as e,K as t,Tt as n,ht as r,wt as i}from"../chunks/DcjuydPa.js";import{r as a}from"../chunks/D0FtTdoM.js";import{t as o}from"../chunks/XuHFjMO7.js";import{A as s,E as c,M as l,O as u,P as d,j as f}from"../chunks/DhMyOeM9.js";import{l as p,t as m}from"../chunks/M6_fRNVl.js";import{t as h}from"../chunks/B2BmC7So.js";import{t as g}from"../chunks/CXsRe-Zf.js";var _=e({load:()=>v}),v=({url:e,fetch:t})=>({listPromise:(async()=>{try{let n=l(e.searchParams),r=e.searchParams.get(`ym`),i=s(e.searchParams);return await f(h,t,{pageNo:n,archiveYearMonth:r,categoryLabel:i===`all`?null:c[i],app:d.official})}catch{return null}})()});function y(e,c){n(c,!0);let f=r(()=>o.url.searchParams),h=r(()=>l(t(f))),_=r(()=>t(f).get(`ym`)),v=r(()=>s(t(f))),y=e=>{let n=new URLSearchParams(t(f));return t(v)===`all`&&n.delete(`category`),n.set(`page`,String(e)),a(`/news/?${n}`)};m({getPageNo:()=>t(h),getCurrentCategory:()=>t(v),getCurrentArchiveParam:()=>t(_),getCurrentSearchParams:()=>t(f),getCategories:()=>u}),g(e,{pageName:`NEWS`,headingInitialColor:`#f55291`,barDarkColor:`#f55291`,barLightColor:`#faa9c8`,children:(e,n)=>{p(e,{get listPromise(){return c.data.listPromise},get pageNo(){return t(h)},getPageHref:y,get app(){return d.official}})},$$slots:{default:!0}}),i()}export{y as component,_ as universal};
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.