1import{I as e,j as t}from"./chunk-KS7C4IRE-DIkipulk.js";import{t as n}from"./jsx-runtime-CsaOnxTR.js";import{l as r,x as i}from"./components-JSzoenoU.js";import{$i as a,Ba as o,Bi as s,Fi as c,Gi as l,Ha as u,La as d,Na as f,Pa as p,Pi as m,Qa as h,Va as g,Vi as _,Xa as v,Ya as y,aa as b,ar as x,ea as S,ei as C,ia as w,ni as T,oa as E,ta as D,ti as O,zi as k}from"./Elements-BJgAzht_.js";var A=`/assets/subscribe-placeholder-CAZVQ3f8.png`,j=e(t(),1),M=[{title:`Twitter`,url:`https://x.com/straits_times`,iconName:g.SOCIAL_TWITTER,target:`_blank`},{title:`TikTok`,url:`https://www.tiktok.com/@straitstimes`,iconName:g.SOCIAL_TIKTOK,target:`_blank`},{title:`Instagram`,url:`https://instagram.com/straits_times`,iconName:g.SOCIAL_INSTAGRAM,target:`_blank`},{title:`Facebook`,url:`https://www.facebook.com/TheStraitsTimes`,iconName:g.SOCIAL_FACEBOOK,target:`_blank`},{title:`Youtube`,url:`https://www.youtube.com/user/StraitsTimesOnline`,iconName:g.SOCIAL_YOUTUBE,target:`_blank`},{title:`Telegram`,url:`https://t.me/TheStraitsTimes`,iconName:g.SOCIAL_TELEGRAM,target:`_blank`},{title:`LinkedIn`,url:`https://sg.linkedin.com/company/the-straits-times`,iconName:g.SOCIAL_LINKEDIN,target:`_blank`}],N=[{title:`E-paper`,url:`https://e-paper.sph.com.sg/st`,target:`_blank`},{title:`Newsletters`,url:`/newsletter-signup`,target:`_blank`},{title:`Podcasts`,url:`/st-podcasts`},{title:`RSS Feed`,url:`/RSS-Feeds`,target:`_blank`},{title:`About Us`,url:`https://www.straitstimes.com/singapore/about-the-straits-times-leadership`}],P=[{title:`Terms & Conditions`,url:`https://www.sph.com.sg/legal/website_tnc/`},{title:`Personal Data Protection Notice`,url:`https://www.sph.com.sg/tnc/pdpa/`},{title:`Need help? Reach us here.`,url:E()},{title:`Advertise with us`,url:`https://www.sph.com.sg/advertising-solutions`},...h()?[]:[{title:`䏿ç (beta)`,url:`/zh-hans`}]],F=`https://itunes.apple.com/sg/app/the-straits-times-for-iphone/id547465441?mt=8`,I=`https://play.google.com/store/apps/details?id=com.buuuk.st&hl=en`,L=[{title:`The Straits Times`,url:`https://www.straitstimes.com`,target:`_blank`},{title:`The Business Times`,url:`https://www.businesstimes.com.sg`,target:`_blank`},{title:`Lianhe Zaobao`,url:`https://www.zaobao.com.sg`,target:`_blank`},{title:`Berita Harian`,url:`https://www.beritaharian.sg`,target:`_blank`},{title:`Tamil Murasu`,url:`https://www.tamilmurasu.com.sg`,target:`_blank`},{title:`Stomp`,url:`https://www.stomp.sg`,target:`_blank`}],R=`utm_source=st&utm_medium=sph-publication&utm_campaign=backlinks-footer`,z=n();function B(){let[e,t]=(0,j.useState)(P);(0,j.useEffect)(()=>{if(r){let e=P.map(e=>e.url.startsWith(`mailto:`)?{...e,url:E(window.navigator.userAgent)}:e);t(e)}},[]);let n=(0,j.useCallback)(()=>{r&&(p({eventCategory:d.SUBSCRIBE,eventAction:`click`,eventLabel:window.location.href,click_reference:`subscribe-footer`}),f.ESAAS_GA_TAGGING?window.location.assign(window._data.articleid?`${i}&article_id=${window._data.articleid}`:i):window.location.assign(i))},[]);return(0,z.jsxs)(`div`,{id:`footer-body`,className:`flex flex-row max-tablet:flex-col`,"data-testid":`footer-body`,children:[(0,z.jsxs)(`div`,{className:`w-full h-full`,"data-testid":`footer-body-left`,children:[(0,z.jsxs)(`div`,{className:`flex tablet:items-start mobile:items-stretch desktop:w-2/3`,"data-testid":`footer-body-utility-links`,children:[(0,z.jsx)(x,{arrayList:N,vertical:!0,linkProps:{className:`py-10`,textClassName:`font-button-md-regular text-inverse`},className:`w-1/2 items-start`,testId:`footer-body-left-utility-links`}),(0,z.jsx)(c,{type:m.DASHED,className:`h-auto px-15.5 mx-00 tablet:hidden mobile:block`,testId:`footer-header-between-links-divider`,vertical:!0}),(0,z.jsx)(x,{arrayList:e,vertical:!0,linkProps:{className:`py-10`,textClassName:`font-button-md-regular text-inverse`},className:`w-1/2 items-start self-start`,testId:`footer-body-right-utility-links`})]}),(0,z.jsx)(c,{type:m.DASHED,className:`border-default h-01 my-16 mx-00 tablet:hidden mobile:block`,testId:`footer-body-left-below-utility-links`}),(0,z.jsxs)(`div`,{className:`w-full max-tablet:text-center max-tablet:justify-center mt-00 tablet:mt-48`,"data-testid":`footer-body-left-download-app`,children:[(0,z.jsx)(`div`,{className:`font-footer-baseline-regular py-08 tablet:py-16`,children:`Download the app`}),(0,z.jsxs)(`div`,{className:`flex mobile:gap-x-16 tablet:gap-x-24 max-tablet:text-center max-tablet:justify-center mobile:py-08 tablet:py-00`,children:[(0,z.jsx)(w,{type:b.ICON_LEFT,url:F,leftIconProps:{iconName:g.APP_STORE_
1LOGO,symmetric:!1,className:`h-40 w-128 aspect-auto tablet:-ml-04`}},g.APP_STORE_LOGO),(0,z.jsx)(w,{type:b.ICON_LEFT,url:I,leftIconProps:{iconName:g.PLAY_STORE_LOGO,symmetric:!1,className:`h-40 w-135 aspect-auto`}},g.PLAY_STORE_LOGO)]})]}),(0,z.jsx)(c,{type:m.DASHED,className:`border-default h-01 my-16 mx-00 tablet:hidden mobile:block`,testId:`footer-body-left-below-download-app`})]}),(0,z.jsx)(c,{type:m.DASHED,className:`h-auto mx-24 desktop:mx-32 mobile:hidden tablet:block`,testId:`footer-body-after-left-divider`,vertical:!0}),(0,z.jsxs)(`div`,{className:`text-left justify-start max-tablet:text-center max-tablet:justify-center`,"data-testid":`footer-body-right`,children:[(0,z.jsx)(`div`,{className:`font-navigation-baseline-regular py-08`,"data-testid":`footer-body-right-content`,children:`Get unlimited access to exclusive stories and incisive insights from the ST newsroom`}),(0,z.jsx)(C,{testId:`footer-subscribe-button-test-id`,fill:k.PREMIUM,size:s.SMALL,text:`Subscribe`,type:_.TEXT_ONLY,className:`my-08`,textClassName:`font-secondary-label-md-semibold`,handler:n}),(0,z.jsx)(`button`,{onClick:n,"aria-label":`link`,rel:`noopener`,className:`flex select-none gap-x-04 items-center font-button-baseline-regular text-primary justify-self-center`,"data-testid":`footer-subscribe-anchor-image-test-id`,children:(0,z.jsx)(`img`,{src:A,alt:`Subscribe Placeholder`,className:`footer-subscribe-image h-auto object-cover`,"data-testid":`image-Subscribe Placeholder`})})]})]})}function V(){return(0,z.jsxs)(`div`,{id:`footer-header`,className:`flex flex-row max-tablet:flex-col justify-between gap-16 items-center`,"data-testid":`footer-header`,children:[(0,z.jsx)(T,{iconName:g.ST_FULL_LOGO_WHITE,className:o(`h-32 w-auto mobile:aspect-auto max-tablet:h-24`),symmetric:!1,iconWidth:`100%`}),(0,z.jsx)(O,{iconClassName:`icon-inverse no-fill`,textClassName:`text-inverse`})]})}function H(){return(0,z.jsxs)(`div`,{id:`footer-pub-logo`,"data-testid":`footer-news-publications-test-id`,className:`flex justify-center items-center gap-16 flex-col py-08 desktop:py-00`,children:[(0,z.jsx)(l,{category:a.LABEL,size:S.SM,style:D.SEMIBOLD,className:`w-full tablet:text-center`,testId:`footer-pub-logo-title-test-id`,children:`News titles published by SPH Media`}),(0,z.jsx)(`div`,{className:`grid grid-cols-2 gap-16 w-full tablet:flex tablet:flex-row tablet:flex-wrap tablet:justify-center `,children:L.map((e,t)=>(0,z.jsxs)(w,{url:`${e.url}?${R}`,type:b.CUSTOM,target:e.target,className:`flex flex-row gap-16 items-center text-reverse text-nowrap`,children:[(0,z.jsx)(l,{category:a.LABEL,size:S.SM,style:D.REGULAR,element:`span`,children:e.title}),t<L.length-1&&(0,z.jsx)(l,{category:a.LABEL,size:S.SM,style:D.REGULAR,element:`span`,className:`text-tertiary hidden tablet:inline-block`,children:`|`})]},t))})]})}function U(){return(0,z.jsx)(`div`,{id:`footer-social-icons`,"data-testid":`footer-social-icons`,className:`flex justify-center flex-wrap`,children:M.map(e=>(0,z.jsx)(`span`,{className:`mobile:p-08 tablet:p-16`,children:e.iconName&&(0,z.jsx)(w,{type:b.ICON_ONLY,url:e.url,leftIconProps:{iconName:e.iconName,className:`icon-inverse`,iconWidth:u.LARGE}},e.iconName)},e.iconName))})}function W({className:e}){let t=new Date().getFullYear();return(0,z.jsx)(`div`,{className:o(`background-brand py-32 text-inverse footer-main-container`,e),"data-testid":`footer-main-container`,children:(0,z.jsxs)(`div`,{className:`container`,children:[(0,z.jsx)(V,{}),(0,z.jsx)(c,{type:m.DEFAULT,className:`h-01 my-16 tablet:my-24 mx-00 !border-subtle`,testId:`footer-header-below-divider`}),(0,z.jsx)(B,{}),(0,z.jsx)(c,{type:m.DASHED,className:`h-01 my-16 mx-00 !border-subtle`,testId:`footer-header-below-divider`}),(0,z.jsx)(H,{}),(0,z.jsx)(c,{type:m.DEFAULT,className:`h-01 my-16 tablet:mb-24 desktop:mb-32 mx-00 !border-subtle opacity-20`,testId:`footer-body-below-divider`}),(0,z.jsx)(U,{}),(0,z.jsxs)(`div`,{id:`footer-copyright`,className:`justify-center text-center font-caption-baseline-regular py-08`,"data-testid":`footer-copyright`,children:[`MDDI (P) `,y,`. Published by SPH Media Limited, Co. Regn. No.`,v,`. Copyright © `,t,` SPH Media Limited. All rights reserved.`]})]})})}export{W as t};
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.