PageSourceSearch

https://www.beritaharian.sg/web2-assets/SubSectionNav-BvvrgMLH.js

js beritaharian.sg collected 2026-10-01 10:37:06 UTC 1,968 bytes, 5 lines download raw bytes

1import{K as e}from"./utils-7dcmseyr.js";import{m as t}from"./components-1i6KEH5A.js";import{S as n}from"./removeTrailingLeadingSlash-Dq7LkeYT.js";import{t as r}from"./jsx-runtime-BnyDFgfM.js";import{B as i,F as a,I as o,L as s,R as c,l,z as u}from"./getErrorMessage-B6QttKlK.js";import{d,f}from"./HeaderNewV2-CEB2GIs1.js";import{r as p}from"./components-CzEvH-SH.js";var m=e(p(),1),h=r();function g({items:e,displaySection:r}){let{pathname:i,search:a}=t(),o=new URLSearchParams(a).get(`mobwebview`),s=e=>{let t=e.split(`?`)[0];return i===t},{selectedColor:c}=l(r)||{};return e===void 0?o?null:(0,h.jsx)(`div`,{className:`border-b-2 lg:border-t-2 lg:border-b-0 border-${c}`}):(0,h.jsx)(f,{testId:`sub-section-nav`,className:`flex items-center gap-[28px] lg:gap-[36px] pb-2 lg:pb-[5px] lg:pt-[12px]
2        overflow-x-scroll lg:overflow-visible
3        border-b-2 lg:border-b-0 lg:border-t-2 border-${e[0].selectedColor}`,children:e.map((e,t)=>(0,h.jsx)(d,{testId:`sub-section-nav-item`,className:`cursor-pointer flex items-center justify-center text-base lg:text-xs leading-[150%]`,children:(0,h.jsx)(`div`,{className:`flex items-center gap-xxs min-w-max text-nowrap`,children:(0,h.jsx)(n,{reloadDocument:!0,to:e.url,className:(0,m.default)(`
4                ${s(e.url)?`text-${e.selectedColor} font-bold`:`text-text-muted font-regular`}`),...e.newTab&&{target:`_blank`},children:e.title},t)})},t))})}var _={singapura:u,kesihatan:u,dunia:a,"ekonomi-kerja":o,"gaya-hidup":s,wacana:i,hidayah:i,podcasts:c,videos:c,ringkas:c},v={"Kaki Makan":{displaySectionName:`Gaya Hidup`,uniqueSectionName:`gaya-hidup`},"Kaki Jalan":{displaySectionName:`Gaya Hidup`,uniqueSectionName:`gaya-hidup`},"DNA Dunia Anak":{displaySectionName:`Gaya Hidup`,uniqueSectionName:`gaya-hidup`}};function y(e){let t=_[e.sectionName];return(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(g,{items:t,displaySection:e.displaySection})})}export{v as n,y as t};
5//# sourceMappingURL=SubSectionNav-BvvrgMLH.js.map

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.