PageSourceSearch

https://musaffa.com/chunk-PD3ILIDA.js

js musaffa.com collected 2026-09-24 09:14:16 UTC 46,497 bytes, 1 lines download raw bytes

1import{a as M}from"./chunk-TLBT7OIX.js";import{a as mt,b as L}from"./chunk-3ALF6ENX.js";import{a as q,b as G}from"./chunk-D6POJOBQ.js";import{a as pt}from"./chunk-UYOUYTEQ.js";import{a as z,b as W,c as wt,d as dt,e as ct,f as Y}from"./chunk-4BSUTUK2.js";import{a as st}from"./chunk-ID6NRHAM.js";import"./chunk-Q5A5LVVH.js";import"./chunk-TW5YFF3T.js";import{a as lt}from"./chunk-QIJ6C3OQ.js";import"./chunk-PGVNR6T5.js";import"./chunk-JB7BGWHJ.js";import"./chunk-RCEA52E5.js";import"./chunk-W37XKLVM.js";import"./chunk-67HI2W2E.js";import"./chunk-VFV5YEE4.js";import"./chunk-PRACUC7H.js";import{a as rt,b as at}from"./chunk-OAHCL3TA.js";import"./chunk-2EI6IAVE.js";import"./chunk-3PRPTJWC.js";import"./chunk-VKYJ6PDM.js";import"./chunk-A2MKP65J.js";import"./chunk-IKAWFEGQ.js";import"./chunk-WPHMTRGD.js";import"./chunk-YSH2LEMW.js";import"./chunk-RZWUF2WE.js";import"./chunk-UPJN6QK6.js";import{a as B}from"./chunk-7WMAZ4BZ.js";import{c as nt}from"./chunk-5BDXO5V3.js";import"./chunk-KCEJCXJZ.js";import{d as Z}from"./chunk-5BVZXLFA.js";import"./chunk-RTGIJOJ3.js";import{a as D,c as j}from"./chunk-N4VJFAAV.js";import"./chunk-7LORS5UB.js";import"./chunk-OCRPHCVN.js";import"./chunk-WXLVEQ4T.js";import{e as et,h as R}from"./chunk-I335Z6VX.js";import"./chunk-YYKWFEMG.js";import"./chunk-D2N3WVHQ.js";import"./chunk-OP5LXOJA.js";import"./chunk-ARD6OICO.js";import{c as it,e as ot}from"./chunk-BBHJ2D5U.js";import"./chunk-RH7YKMCI.js";import"./chunk-2P2IIG2U.js";import"./chunk-J3TYBNDU.js";import"./chunk-4QCSDQDN.js";import"./chunk-W3MH5BOT.js";import"./chunk-GUQT3FOM.js";import"./chunk-GWGWIYPE.js";import{Aa as A,Ba as P,Db as X,Ea as O,Eb as a,Jc as S,K,La as g,Nd as I,Qc as k,Sc as d,Ub as V,_d as U,cd as N,ed as tt,fd as s,gd as h,hd as v,mc as T,o as Q,pc as m,ra as C,rc as p,sb as E,tc as H,uc as x,vc as f,vd as $,wc as u,xc as i,ya as _,yc as n,za as b,zc as c}from"./chunk-H5RMQNTW.js";import"./chunk-EU2KAMEK.js";import{a as J}from"./chunk-YNC7RVHT.js";var bt=()=>[1,2,3],ut=(e,l)=>l.value,Ct=(e,l)=>l.type+l.link,ht=(e,l)=>l.slug,vt=(e,l)=>l.id;function yt(e,l){e&1&&c(0,"app-not-found",0),e&2&&u("embedded",!0)}function St(e,l){e&1&&(A(),i(0,"svg",6),c(1,"path",7),n(),P(),i(2,"span",20),s(3),n()),e&2&&(a(3),h(l.name))}function kt(e,l){e&1&&(i(0,"li",37),c(1,"div",38),i(2,"div",23),c(3,"div",39)(4,"div",40)(5,"div",41),n()())}function At(e,l){e&1&&(i(0,"section",9)(1,"div",21),c(2,"span",22),i(3,"div",23),c(4,"div",24)(5,"div",25)(6,"div",26)(7,"div",27),n()(),i(8,"div",28),c(9,"span",29)(10,"span",30)(11,"span",31),n(),i(12,"div",32),c(13,"div",33),n(),i(14,"div",34),c(15,"div",35),i(16,"ul",36),x(17,kt,6,0,"li",37,H),n()()()),e&2&&(a(17),f($(0,bt)))}function Nt(e,l){if(e&1){let t=S();i(0,"section",10)(1,"h1",42),s(2,"Author could not be loaded"),n(),i(3,"p",43),s(4,"Please try again."),n(),i(5,"button",44),k("click",function(){_(t);let o=d(2);return b(o.retryLoadArticles())}),s(6,"Try again"),n()()}}function Et(e,l){if(e&1&&c(0,"img",46),e&2){let t=d();u("src",t.photo,E)("alt",t.name)}}function Tt(e,l){if(e&1&&(i(0,"span",47),s(1),n()),e&2){let t=d(),r=d(2);a(),h(r.authorInitials(t))}}function Lt(e,l){if(e&1&&(i(0,"p",50),s(1),n()),e&2){let t=d();a(),h(t.description)}}function Pt(e,l){if(e&1&&(i(0,"span",59),s(1),n()),e&2){let t=d().$implicit;a(),h(t.label)}}function It(e,l){if(e&1&&m(0,Pt,2,1,"span",59),e&2){let t=l.$implicit;p(t.value!=="all"?0:-1)}}function Dt(e,l){if(e&1&&(i(0,"a",61),c(1,"i",62),s(2),n()),e&2){let t=l.$implicit,r=d(4);u("href",r.socialLinkHref(t),E),T("target",t.type==="email"?null:"_blank")("rel",t.type==="email"?null:"noreferrer noopener")("aria-label",r.socialLinkAriaLabel(t)),a(),tt(r.socialLinkIconClasses(t.type)),a(),v(" ",r.socialLinkLabel(t.type)," ")}}function Mt(e,l){if(e&1&&(i(0,"div",54)(1,"span",53),s(2,"Connect"),n(),i(3,"div",60),x(4,Dt,3,7,"a",61,Ct),n()()),e&2){let t=d();a(4),f(t.socialLinks)}}function Ft(e,l){if(e&1&&(i(0,"section",32)(1,"div",63)(2,"p",64),s(3,"Articles published"),n(),i(4,"p",65),s(5),n()()()),e&2){let t=d();a(5),h(t.articleCount)}
1}function Ot(e,l){if(e&1){let t=S();i(0,"button",67),k("click",function(){let o=_(t).$implicit,w=d(4);return b(w.selectCategory(o.value))}),s(1),n()}if(e&2){let t=l.$implicit,r=d(4);N("tw-border-0",r.activeCategory()===t.value)("tw-bg-[#1c252d]",r.activeCategory()===t.value)("tw-text-white",r.activeCategory()===t.value)("tw-border",r.activeCategory()!==t.value)("tw-border-solid",r.activeCategory()!==t.value)("tw-border-[#e5e1dc]",r.activeCategory()!==t.value)("tw-bg-white",r.activeCategory()!==t.value)("tw-text-[#1c252d]",r.activeCategory()!==t.value),T("aria-pressed",r.activeCategory()===t.value),a(),v(" ",t.label," ")}}function Vt(e,l){if(e&1&&(i(0,"div",56),x(1,Ot,2,18,"button",66,ut),n()),e&2){let t=d(3);a(),f(t.categoryOptions())}}function Ht(e,l){if(e&1){let t=S();i(0,"li")(1,"a",68),k("pointerenter",function(){let o=_(t).$implicit,w=d(4);return b(w.prefetchArticle(o))})("focus",function(){let o=_(t).$implicit,w=d(4);return b(w.prefetchArticle(o))}),i(2,"div",69),c(3,"img",70),n(),i(4,"div",23)(5,"h3",71),s(6),n(),i(7,"p",72),s(8),n(),i(9,"p",73),s(10),i(11,"span",62),s(12," - "),n(),c(13,"app-news-article-date",74),i(14,"span",62),s(15," - "),n(),s(16),n()(),A(),i(17,"svg",75),c(18,"path",76)(19,"path",77),n()()()}if(e&2){let t=l.$implicit,r=d(4),o=r.coverImage(t),w=r.isCoverPlaceholder(t);a(),u("routerLink",r.articleUrl(t)),a(),N("tw-bg-[#2d2d2d]",w)("tw-bg-[#edf0eb]",!w),a(),N("tw-object-contain",w)("tw-object-cover",!w),u("src",o.src,E)("alt",o.alt)("width",o.width)("height",o.height),a(3),h(t.headline),a(2),h(t.excerpt),a(2),v(" ",r.categoryLabel(t.category)," "),a(3),u("dateIso",t.articleDateIso)("fallbackDate",t.articleDate),a(3),v(" ",t.readTime," ")}}function $t(e,l){if(e&1&&(i(0,"ul",36),x(1,Ht,20,19,"li",null,ht),n()),e&2){let t=d(3);a(),f(t.visibleArticles())}}function Ut(e,l){if(e&1&&(i(0,"p",57),s(1),n()),e&2){let t=d(3);a(),v("You're all caught up on ",t.caughtUpLabel(),".")}}function Rt(e,l){if(e&1){let t=S();i(0,"button",78),k("click",function(){_(t);let o=d(3);return b(o.loadMoreArticles())}),s(1),n()}if(e&2){let t=d(3);u("disabled",t.isLoadingMore()),a(),v(" ",t.isLoadingMore()?"Loading...":"Load more"," ")}}function jt(e,l){if(e&1&&(i(0,"header",45),m(1,Et,1,2,"img",46)(2,Tt,2,1,"span",47),i(3,"div",3)(4,"h1",48),s(5),n(),i(6,"span",49),s(7,"Markets writer"),n(),m(8,Lt,2,1,"p",50),n()(),i(9,"section",51)(10,"div",52)(11,"span",53),s(12,"Covers"),n(),x(13,It,1,1,null,null,ut),n(),m(15,Mt,6,0,"div",54),n(),m(16,Ft,6,1,"section",32),i(17,"section",34)(18,"h2",55),s(19),n(),m(20,Vt,3,0,"div",56),m(21,$t,3,0,"ul",36)(22,Ut,2,1,"p",57),m(23,Rt,2,2,"button",58),n()),e&2){let t=l,r=d(2);a(),p(t.photo?1:2),a(4),h(t.name),a(3),p(t.description?8:-1),a(5),f(r.categoryOptions()),a(2),p(t.socialLinks.length?15:-1),a(),p(t.articleCount!==void 0?16:-1),a(3),v("Articles by ",t.name),a(),p(r.categoryOptions().length>1?20:-1),a(),p(r.visibleArticles().length?21:22),a(2),p(r.hasMoreArticles()?23:-1)}}function Bt(e,l){if(e&1){let t=S();i(0,"section",12)(1,"span",79),A(),i(2,"svg",80),c(3,"path",81)(4,"path",82)(5,"path",83)(6,"path",84)(7,"path",85),n()(),P(),i(8,"h2",86),s(9,"Unlock 1 Year Free Musaffa Premium"),n(),i(10,"p",87),s(11,"Answer a few quick questions and get the full Research platform free for 12 months."),n(),i(12,"button",88),k("click",function(){_(t);let o=d(2);return b(o.claimPremium())}),s(13),n()()}if(e&2){let t=d(2);a(12),u("disabled",t.isClaimFlowOpening()),T("aria-busy",t.isClaimFlowOpening()),a(),v(" ",t.isClaimFlowOpening()?"Opening...":"Claim 1 Year Free"," ")}}function zt(e,l){if(e&1&&(i(0,"span"),s(1),n()),e&2){let t=d(2).$implicit;a(),h(t.ticker)}}function Wt(e,l){if(e&1&&(i(0,"span",98),s(1),n()),e&2){let t=d(2).$implicit;a(),h(t.movement)}}function Yt(e,l){if(e&1&&(i(0,"p",97),m(1,zt,2,1,"span"),m(2,Wt,2,1,"span",98),n()),e&2){let t=d().$implicit;a(),p(t.ticker?1:-1),a(),p(t.movement?2:-1)}}function qt(e,l){if(e&1){let t=S();i(0,"a",95),k("pointerenter",function(){let o=_(t).$implicit,w=d(3);return b(w.prefetchArticle(o))})("focus",function(){let o=_(t).$implicit,w=d(3);return b(w.prefetchArticle(o))}),i(1,"h3",96),s(2),n(),m(3,Yt,3,2,"p",97),n()}if(e&2){let t=l.$implicit,r=d(3);u("routerLink",r.articleUrl(t)),a(2),h(t.headline),a(),p(t.ticker||t.movement?3:-1)}}function Gt(e,l){if(e&1&&(i(0,"section",12)(1,"h2",89),A(),i(2,"
1svg",90),c(3,"polyline",91)(4,"polyline",92),n(),s(5," Trending news "),n(),P(),i(6,"div",93),x(7,qt,4,3,"a",94,ht),n()()),e&2){let t=d(2);a(7),f(t.rightRailTrendingArticles())}}function Zt(e,l){if(e&1&&(i(0,"div",99)(1,"h3",100),s(2),n(),i(3,"p",101),s(4),n()()),e&2){let t=l.$implicit;a(2),h(t.title),a(2),h(t.timeLabel)}}function Jt(e,l){if(e&1&&(i(0,"div",18),x(1,Zt,5,2,"div",99,vt),n()),e&2){let t=d(2);a(),f(t.upcomingWebinars())}}function Qt(e,l){if(e&1&&(i(0,"main",1)(1,"div",2)(2,"div",3)(3,"nav",4)(4,"a",5),s(5,"Musaffa News"),n(),A(),i(6,"svg",6),c(7,"path",7),n(),P(),i(8,"span",8),s(9,"Authors"),n(),m(10,St,4,1),n(),m(11,At,19,1,"section",9)(12,Nt,7,0,"section",10)(13,jt,24,9),n(),i(14,"aside",11),m(15,Bt,14,3,"section",12),m(16,Gt,9,0,"section",12),i(17,"section",12)(18,"h2",13),A(),i(19,"svg",14),c(20,"path",15)(21,"rect",16),n(),s(22," Free weekly webinars "),n(),P(),i(23,"p",17),s(24,"Live sessions with our team - register free, no experience needed."),n(),m(25,Jt,3,0,"div",18),i(26,"a",19),s(27,"Register for free"),n()()()(),c(28,"app-news-cta"),n()),e&2){let t,r,o=d();T("aria-busy",o.isLoadingArticles()),a(10),p((t=o.author())?10:-1,t),a(),p(o.isLoadingArticles()?11:o.hasLoadError()&&!o.author()?12:(r=o.author())?13:-1,r),a(4),p(o.showClaimOneYearFreeOffer()?15:-1),a(),p(o.rightRailTrendingArticles().length?16:-1),a(9),p(o.upcomingWebinars().length?25:-1)}}var gt=(()=>{class e{constructor(){this.route=C(et),this.news=C(Y),this.seo=C(B),this.auth=C(ot),this.claimOffer=C(nt),this.webinarService=C(lt),this.destroyRef=C(O),this.responseInit=C(U,{optional:!0}),this.author=g(void 0),this.articles=g([]),this.rightRailTrendingArticles=g([]),this.activeCategory=g("all"),this.isLoadingArticles=g(!0),this.isLoadingMore=g(!1),this.hasMoreArticles=g(!1),this.hasLoadError=g(!1),this.authorNotFound=g(!1),this.isClaimFlowOpening=g(!1),this.claimEligibilityReady=g(!1),this.isLoggedIn=j(this.auth.isLoggedIn$,{initialValue:this.auth.isLoggedIn()}),this.isOnboardingTrialClaimed=j(this.auth.isTrialClaimed$,{initialValue:this.auth.getIsOnboardingTrialClaimed()}),this.subscriptionData=j(Z.subscriptionData,{initialValue:Z.subscriptionData.value}),this.visibleArticles=I(()=>{let t=this.activeCategory();return t==="all"?this.articles():this.articles().filter(r=>r.category===t)}),this.caughtUpLabel=I(()=>{let t=this.author(),r=this.activeCategory();return r==="all"?t?`${t.name}'s stories`:"this author":this.categoryLabel(r)}),this.categoryOptions=I(()=>{let t=new Set(this.articles().map(o=>o.category)),r=[{label:"All",value:"all"}];return t.forEach(o=>{r.push({label:this.categoryLabel(o),value:o})}),r}),this.showClaimOneYearFreeOffer=I(()=>{if(!this.claimEligibilityReady())return!1;let t=this.isLoggedIn(),r=this.subscriptionData();return it(t,this.isOnboardingTrialClaimed(),t&&r.isSubscribed,!t||r.isDataFetched)}),this.upcomingWebinars=I(()=>this.getUpcomingWebinars()),this.pageSize=10,this.authorSlug="",this.currentPage=1,X(()=>{this.claimEligibilityReady.set(!0),this.webinarService.loadWebinarData()})}ngOnInit(){this.route.paramMap.pipe(D(this.destroyRef)).subscribe(t=>{this.authorSlug=t.get("slug")??"",this.activeCategory.set("all"),this.loadAuthorArticles(1,!0),this.loadRightRailTrendingArticles()})}selectCategory(t){this.activeCategory.set(t)}loadMoreArticles(){this.isLoadingMore()||!this.hasMoreArticles()||this.loadAuthorArticles(this.currentPage+1,!1)}retryLoadArticles(){this.loadAuthorArticles(this.articles().length?this.currentPage+1:1,!this.articles().length)}articleUrl(t){return t.category==="daily-market-news"?["/news","daily-us-market-news"]:["/news",t.category,t.slug]}coverImage(t){return z(t)}isCoverPlaceholder(t){return W(t)}prefetchArticle(t){this.news.prefetchNewsArticle(t)}authorInitials(t){return t.name.split(/\s+/).filter(Boolean).slice(0,2).map(r=>r[0]?.toUpperCase()).join("")}categoryLabel(t){return t==="all"?"All":{"daily-market-news":"Daily US market news","week-ahead":"Week ahead","quarterly-results":"Quarterly results",trending:"Trending","barakah-brief":"Barakah Brief","halal-investing":"Halal Investing"}[t]}socialLinkLabel(t){return wt(t)}socialLinkHref(t){return dt(t)}socialLinkIconClasses(t){return`bi ${ct(t)} tw-text-[15px] tw-leading-none tw-text-[#68737d]`}socialLinkAriaLabel(t){return t.type==="email"?`Email ${this.author()?.name??"author"}`:`Open author ${this.socialLinkLabel(t.type)} profile`}async claimPremium(){if(!(!this.showClaimOneYearFreeOffer()||this.isClaimFlowOpening())){this.isClaimFlowOpening.set(!0);try{await this.claimOffer.triggerClaimOneYearFreeOffer({signupSource:"News Author Premium Card"})}finally{this.isClaimFlowOpening.set(!1)}}}loadAuthorArticles(t,r){if(!this.authorSlug){this.isLoadingArticles.set(!1),this.authorNotFound.set(!0);return}r&&(this.isLoadingArticles.set(!0),this.authorNotFound.set(!1),this.author.set(void 0),this.articles.set([]),this.hasMoreArticles.set(!1),this.currentPage=1),this.hasLoadError.set(!1),this.isLoadingMore.set(!r),this.news.getAuthorNewsPage(this.authorSlug,{page:t,perPage:this.pageSize}).pipe(D(this.destroyRef)).subscribe({next:o=>{this.currentPage=o.pagination?.currentPage??t,this.hasMoreArticles.set(o.pagination?.hasMorePages??!1),this.author.set(o.author??(r?void 0:this.author())),this.articles.set(r?o.articles:this.mergeArticlesBySlug(this.articles(),o.articles)),this.isLoadingArticles.set(!1),this.isLoadingMore.set(!1);let w=this.author();if(!w&&!this.articles().length){this.authorNotFound.set(!0);return}w&&this.updateSeo(w)},error:()=>{this.responseInit&&(this.responseInit.status=503),this.isLoadingArticles.set(!1),this.isLoadingMore.set(!1),this.hasLoadError.set(!0)}})}loadRightRailTrendingArticles(){this.news.getLatestTrendingNewsArticles(5).pipe(K(()=>Q([])),D(this.destroyRef)).subscribe(t=>this.rightRailTrendingArticles.set(t.slice(0,5)))}mergeArticlesBySlug(t,r){let o=new Map;return[...t,...r].forEach(w=>o.set(w.slug,w)),[...o.values()]}updateSeo(t){let r=`${t.name} Articles | Musaffa News`,o=t.description??`Read the latest Musaffa News articles by ${t.name}.`,w=`https://musaffa.com/news/authors/${t.slug}/`,y=this.socialProfileLinks(t.socialLinks);this.seo.updateTitle(r),this.seo.updateDescription(o),this.seo.updateCanonicalUrl(w),this.seo.updateRobots("index, follow"),this.seo.updateOgType("profile"),this.seo.updateJsonLd({"@context":"https://schema.org","@type":"ProfilePage",name:r,description:o,url:w,mainEntity:J({"@type":"Person",name:t.name},y.length?{sameAs:y}:{})})}socialProfileLinks(t){return t.filter(r=>r.type!=="email"&&/^https?:\/\//i.test(r.link)).map(r=>r.link)}getUpcomingWebinars(){let t=this.webinarService.webinarData();if(!t?.topics?.length)return[];let r=new Date;return t.topics.map(o=>this.getNextWebinarForTopic(o,r)).filter(o=>o!==void 0).sort((o,w)=>new Date(o.startsAt).getTime()-new Date(w.startsAt).getTime()).slice(0,4)}
1getNextWebinarForTopic(t,r){let o=(t.timeSlots??[]).flatMap(w=>w.webinars??[]).filter(w=>w.status==="published"&&new Date(w.startsAt).getTime()>r.getTime()).sort((w,y)=>new Date(w.startsAt).getTime()-new Date(y.startsAt).getTime())[0];if(o?.startsAt)return{id:o.id,title:(o.title||t.title).replace(/\s+Webinar$/i,""),timeLabel:this.formatWebinarTimeLabel(o.startsAt),startsAt:o.startsAt}}formatWebinarTimeLabel(t){let r=new Date(t);if(Number.isNaN(r.getTime()))return"";let o=this.getUserTimeZone(),w=r.toLocaleDateString("en-US",{weekday:"short",timeZone:o}),y=r.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,timeZone:o}).replace(/am/gi,"AM").replace(/pm/gi,"PM"),ft=this.getTimeZoneLabel(r,o);return[w,[y,ft].filter(Boolean).join(" ")].filter(Boolean).join(" - ")}getUserTimeZone(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone||"America/New_York"}catch{return"America/New_York"}}getTimeZoneLabel(t,r){let o={"Asia/Calcutta":"IST","Asia/Kolkata":"IST"};if(o[r])return o[r];try{return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:r,timeZoneName:"short"}).formatToParts(t).find(y=>y.type==="timeZoneName")?.value||""}catch{return""}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=V({type:e,selectors:[["app-news-author-page"]],decls:2,vars:1,consts:[[3,"embedded"],[1,"tw-min-h-screen","tw-bg-[#f7f8f5]","tw-text-[#182027]"],[1,"tw-mx-auto","tw-grid","tw-w-full","tw-max-w-[1360px]","tw-gap-10","tw-px-4","tw-pb-16","tw-pt-8","sm:tw-px-6","sm:tw-pt-10","lg:tw-grid-cols-[minmax(0,880px)_320px]","lg:tw-items-start","lg:tw-justify-center","lg:tw-gap-12","lg:tw-px-10"],[1,"tw-min-w-0"],["aria-label","Breadcrumb",1,"tw-flex","tw-flex-wrap","tw-items-center","tw-gap-x-2","tw-gap-y-1","tw-text-[14px]"],["routerLink","/news",1,"tw-font-medium","tw-text-[#68737d]","tw-no-underline","tw-transition-colors","hover:tw-text-[#1c252d]"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"tw-h-4","tw-w-4","tw-text-[#7b858e]"],["d","m9 18 6-6-6-6"],[1,"tw-font-medium","tw-text-[#68737d]"],["aria-label","Loading author details","role","status","aria-live","polite",1,"tw-mt-10","sm:tw-mt-12"],["role","alert",1,"tw-mt-10","tw-rounded-2xl","tw-border","tw-border-solid","tw-border-[#e5e1dc]","tw-bg-white","tw-p-8","tw-text-center"],[1,"tw-space-y-6","lg:tw-sticky","lg:tw-top-24"],[1,"tw-rounded-2xl","tw-border","tw-border-solid","tw-border-[#dedbd6]","tw-bg-white","tw-p-4","sm:tw-p-5"],[1,"tw-m-0","tw-flex","tw-items-center","tw-gap-3","tw-text-[16
1px]","tw-leading-7","tw-tracking-normal","tw-text-[#68737d]"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"tw-h-4","tw-w-4","tw-shrink-0","tw-text-[#68737d]"],["d","m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5"],["x","2","y","6","width","14","height","12","rx","2"],[1,"tw-m-0","tw-mt-3","tw-text-[14px]","tw-leading-relaxed","tw-text-[#68737d]"],[1,"tw-mt-6"],["routerLink","/webinar",1,"tw-mt-6","tw-inline-flex","tw-h-12","tw-items-center","tw-justify-center","tw-rounded-full","tw-border","tw-border-solid","tw-border-[#dedbd6]","tw-bg-[#f7f8f5]","tw-px-4","tw-text-[14px]","tw-font-semibold","tw-text-[#4d5963]","tw-no-underline","tw-transition-colors","hover:tw-border-[#9fc9b3]","hover:tw-bg-[#eef7f1]","hover:tw-text-[#16845d]"],[1,"tw-font-semibold","tw-text-[#2c805c]"],[1,"tw-flex","tw-flex-col","tw-gap-6","tw-border-x-0","tw-border-t-0","tw-border-b","tw-border-solid","tw-border-[#e5e1dc]","tw-pb-10","sm:tw-flex-row","sm:tw-items-start","sm:tw-gap-8"],[1,"tw-h-24","tw-w-24","tw-shrink-0","tw-animate-pulse","tw-rounded-full","tw-bg-[#edf0eb]","sm:tw-h-28","sm:tw-w-28"],[1,"tw-min-w-0","tw-flex-1"],[1,"tw-h-10","tw-w-60","tw-max-w-full","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-mt-3","tw-h-7","tw-w-36","tw-animate-pulse","tw-rounded-full","tw-bg-[#edf0eb]"],[1,"tw-mt-5","tw-h-5","tw-w-full","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-mt-3","tw-h-5","tw-w-5/6","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-mt-8","tw-flex","tw-flex-wrap","tw-items-center","tw-gap-2"],[1,"tw-h-4","tw-w-16","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-h-8","tw-w-24","tw-animate-pulse","tw-rounded-full","tw-bg-[#edf0eb]"],[1,"tw-h-8","tw-w-28","tw-animate-pulse","tw-rounded-full","tw-bg-[#edf0eb]"],[1,"tw-mt-8","tw-grid","tw-gap-4","sm:tw-max-w-xl","sm:tw-grid-cols-2"],[1,"tw-h-24","tw-animate-pulse","tw-rounded-2xl","tw-border","tw-border-solid","tw-border-[#e5e1dc]","tw-bg-white"],[1,"tw-mt-14"],[1,"tw-h-6","tw-w-44","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-m-0","tw-mt-6","tw-list-none","tw-divide-y","tw-divide-[#e5e1dc]","tw-border-x-0","tw-border-b-0","tw-border-t","tw-border-solid","tw-border-[#e5e1dc]","tw-p-0"],[1,"tw-flex","tw-items-start","tw-gap-4","tw-py-5","sm:tw-gap-5"],[1,"tw-h-20","tw-w-28","tw-shrink-0","tw-animate-pulse","tw-rounded-xl","tw-bg-[#edf0eb]","sm:tw-h-24","sm:tw-w-36"],[1,"tw-h-5","tw-w-4/5","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-mt-3","tw-h-4","tw-w-full","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-mt-2","tw-h-4","tw-w-2/3","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-m-0","tw-text-[18px]","tw-font-semibold"],[1,"tw-m-0","tw-mt-2","tw-text-[14px]","tw-text-[#68737d]"],["type","button",1,"tw-mt-4","tw-rounded-full","tw-border-0","tw-bg-[#2c936a]","tw-px-5","tw-py-2.5","tw-font-semibold","tw-text-white",3,"click"],[1,"tw-mt-10","tw-flex","tw-flex-col","tw-gap-6","tw-border-x-0","tw-border-t-0","tw-border-b","tw-border-solid","tw-border-[#e5e1dc]","tw-pb-10","sm:tw-mt-12","sm:tw-flex-row","sm:tw-items-start","sm:tw-gap-8"],["loading","lazy","width","112","height","112",1,"tw-h-24","tw-w-24","tw-shrink-0","tw-rounded-full","tw-object-cover","sm:tw-h-28","sm:tw-w-28",3,"src","alt"],["aria-hidden","true",1,"tw-flex","tw-h-24","tw-w-24","tw-shrink-0","tw-items-center","tw-justify-center","tw-rounded-full","tw-bg-[#eeece8]","tw-text-[28px]","tw-font-semibold","tw-text-[#68737d]","sm:tw-h-28","sm:tw-w-28"],[1,"tw-m-0","tw-text-[32px]","tw-font-semibold","tw-leading-tight","tw-tracking-normal","tw-text-[#1c252d]","sm:tw-text-[40px]"],[1,"tw-mt-2","tw-inline-flex","tw-items-center","tw-rounded-full","tw-bg-[#e8f6ee]","tw-px-3","tw-py-1","tw-text-[12.5px]","tw-font-semibold","tw-text-[#2c805c]"],[1,"tw-m-0","tw-mt-4","tw-max-w-2xl","tw-text-[16
1px]","tw-leading-[1.7]","tw-text-[#68737d]"],[1,"tw-mt-8","tw-flex","tw-flex-col","tw-gap-6","sm:tw-flex-row","sm:tw-flex-wrap","sm:tw-items-center","sm:tw-gap-x-8"],[1,"tw-flex","tw-flex-wrap","tw-items-center","tw-gap-2"],[1,"tw-text-[13px]","tw-text-[#68737d]"],[1,"tw-flex","tw-items-center","tw-gap-5"],[1,"tw-m-0","tw-text-[17px]","tw-font-semibold","tw-text-[#1c252d]"],["aria-label","Filter articles by category",1,"tw-mt-4","tw-flex","tw-flex-wrap","tw-gap-2"],[1,"tw-m-0","tw-mt-7","tw-text-[13.5px]","tw-text-[#68737d]"],["type","button",1,"tw-mt-7","tw-inline-flex","tw-h-10","tw-items-center","tw-rounded-full","tw-border-0","tw-bg-[#2c936a]","tw-px-5","tw-text-[14px]","tw-font-semibold","tw-text-white","tw-transition-opacity","hover:tw-opacity-90","disabled:tw-cursor-wait","disabled:tw-opacity-70",3,"disabled"],[1,"tw-inline-flex","tw-h-8","tw-items-center","tw-rounded-full","tw-border","tw-border-solid","tw-border-[#e5e1dc]","tw-bg-white","tw-px-3.5","tw-text-[13px]","tw-font-medium","tw-text-[#1c252d]"],[1,"tw-flex","tw-flex-wrap","tw-items-center","tw-gap-x-4","tw-gap-y-2"],[1,"tw-inline-flex","tw-items-center","tw-gap-1.5","tw-text-[14px]","tw-font-medium","tw-text-[#1c252d]","tw-no-underline","hover:tw-text-[#2c805c]","hover:tw-underline",3,"href"],["aria-hidden","true"],[1,"tw-rounded-2xl","tw-border","tw-border-solid","tw-border-[#e5e1dc]","tw-bg-white","tw-p-5"],[1,"tw-m-0","tw-text-[13px]","tw-font-medium","tw-text-[#68737d]"],[1,"tw-m-0","tw-mt-1.5","tw-text-[24px]","tw-font-semibold","tw-tracking-normal","tw-text-[#1c252d]"],["type","button",1,"tw-h-8","tw-rounded-full","tw-px-3.5","tw-text-[13px]","tw-font-medium","tw-transition-colors","hover:tw-border-[#9fc9b3]","hover:tw-text-[#2c805c]",3,"tw-border-0","tw-bg-[#1c252d]","tw-text-white","tw-border","tw-border-solid","tw-border-[#e5e1dc]","tw-bg-white","tw-text-[#1c252d]"],["type","button",1,"tw-h-8","tw-rounded-full","tw-px-3.5","tw-text-[13px]","tw-font-medium","tw-transition-colors","hover:tw-border-[#9fc9b3]","hover:tw-text-[#2c805c]",3,"click"],[1,"tw-group","tw-flex","tw-items-start","tw-gap-4","tw-py-5","tw-text-[#1c252d]","tw-no-underline","sm:tw-gap-5",3,"pointerenter","focus","routerLink"],[1,"tw-h-20","tw-w-28","tw-shrink-0","tw-overflow-hidden","tw-rounded-xl","sm:tw-h-24","sm:tw-w-36"],["loading","lazy",1,"tw-h-full","tw-w-full",3,"src","alt","width","height"],[1,"tw-m-0","tw-text-[16
1px]","tw-font-semibold","tw-leading-snug","tw-text-[#1c252d]","group-hover:tw-text-[#2c805c]"],[1,"tw-m-0","tw-mt-1.5","tw-line-clamp-2","tw-text-[14px]","tw-leading-relaxed","tw-text-[#68737d]"],[1,"tw-m-0","tw-mt-2","tw-text-[12.5px]","tw-text-[#68737d]"],[3,"dateIso","fallbackDate"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"tw-mt-1","tw-h-4","tw-w-4","tw-shrink-0","tw-text-[#68737d]","group-hover:tw-text-[#2c805c]"],["d","M7 17 17 7"],["d","M7 7h10v10"],["type","button",1,"tw-mt-7","tw-inline-flex","tw-h-10","tw-items-center","tw-rounded-full","tw-border-0","tw-bg-[#2c936a]","tw-px-5","tw-text-[14px]","tw-font-semibold","tw-text-white","tw-transition-opacity","hover:tw-opacity-90","disabled:tw-cursor-wait","disabled:tw-opacity-70",3,"click","disabled"],["aria-hidden","true",1,"tw-inline-flex","tw-h-10","tw-w-10","tw-items-center","tw-justify-center","tw-rounded-xl","tw-border","tw-border-solid","tw-border-[#e5e1dc]","tw-bg-[#f4f3ef]","tw-text-[#4d5963]"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"tw-h-5","tw-w-5"],["d","M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .962 0L14.064 8.5A2 2 0 0 0 15.5 9.937l6.135 1.582a.5.5 0 0 1 0 .962L15.5 14.064a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.962 0z"],["d","M20 3v4"],["d","M22 5h-4"],["d","M4 17v2"],["d","M5 18H3"],[1,"tw-m-0","tw-mt-4","tw-text-[18px]","tw-leading-tight","tw-tracking-normal","tw-text-[#1c252d]"],[1,"tw-m-0","tw-mt-2","tw-text-[14px]","tw-leading-normal","tw-text-[#68737d]"],["type","button",1,"tw-mt-4","tw-inline-flex","tw-h-11","tw-items-center","tw-justify-center","tw-rounded-full","tw-border-0","tw-bg-[#2c936a]","tw-px-4","tw-text-[12px]","tw-font-semibold","tw-text-white","tw-transition-colors","hover:tw-bg-[#1f7f59]","disabled:tw-cursor-wait","disabled:tw-opacity-70",3,"click","disabled"],[1,"tw-m-0","tw-flex","tw-items-center","tw-gap-3","tw-text-[16
1px]","tw-font-medium","tw-leading-6","tw-text-[#68737d]"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"tw-h-5","tw-w-5"],["points","22 7 13.5 15.5 8.5 10.5 2 17"],["points","16 7 22 7 22 13"],[1,"tw-mt-4"],[1,"tw-block","tw-border-b","tw-border-solid","tw-border-[#e5e1dc]","tw-py-5","tw-text-[#1c252d]","tw-no-underline","tw-border-0","first:tw-pt-0","last:tw-border-b-0","last:tw-pb-0","hover:tw-text-[#16845d]",3,"routerLink"],[1,"tw-block","tw-border-b","tw-border-solid","tw-border-[#e5e1dc]","tw-py-5","tw-text-[#1c252d]","tw-no-underline","tw-border-0","first:tw-pt-0","last:tw-border-b-0","last:tw-pb-0","hover:tw-text-[#16845d]",3,"pointerenter","focus","routerLink"],[1,"tw-m-0","tw-text-[14px]","tw-font-medium","tw-leading-snug","tw-tracking-normal"],[1,"tw-m-0","tw-mt-2","tw-flex","tw-items-center","tw-gap-3","tw-text-[12px]","tw-font-medium","tw-leading-5"],[1,"tw-text-[#16845d]"],[1,"tw-border-x-0","tw-border-t-0","tw-border-b","tw-border-solid","tw-border-b-[#dedbd6]","tw-py-3","first:tw-pt-0","last:tw-border-b-0","last:tw-pb-0"],[1,"tw-m-0","tw-text-[14px]","tw-leading-7","tw-tracking-normal","tw-text-[#1c252d]"],[1,"tw-m-0","tw-mt-0","tw-text-[13px]","tw-leading-6","tw-text-[#68737d]"]],template:function(r,o){r&1&&m(0,yt,1,1,"app-not-found",0)(1,Qt,29,6,"main",1),r&2&&p(o.authorNotFound()?0:1)},dependencies:[R,q,G,pt],encapsulation:2})}}return e})();var Kt=()=>[1,2,3],Xt=(e,l)=>l.route,F=(e,l)=>l.slug;function te(e,l){e&1&&(i(0,"div",5),c(1,"div",18),i(2,"div",19)(3,"div",20),c(4,"span",21)(5,"span",22),n(),c(6,"div",23)(7,"div",24)(8,"div",25)(9,"div",26),i(10,"div",27),c(11,"span",28)(12,"span",29),n()()())}function ee(e,l){if(e&1){let t=S();i(0,"div",6)(1,"h2",30),s(2,"News could not be loaded"),n(),i(3,"p",31),s(4,"Please try again."),n(),i(5,"button",32),k("click",function(){_(t);let o=d();return b(o.retryLoadHomeSections())}),s(6,"Try again"),n()()}}function ie(e,l){if(e&1&&(i(0,"span",38),s(1),n()),e&2){let t=d();a(),h(t.ticker)}}function ne(e,l){if(e&1&&c(0,"img",41),e&2){let t=d();u("src",t.authorPhoto,E)}}function oe(e,l){e&1&&(i(0,"span",42),A(),i(1,"svg",47),c(2,"path",48),n()())}function re(e,l){if(e&1){let t=S();i(0,"a",33),k("pointerenter",function(){let o=_(t),w=d();return b(w.prefetchArticle(o))})("focus",function(){let o=_(t),w=d();return b(w.prefetchArticle(o))}),i(1,"div",34),c(2,"img",35),n(),i(3,"div",19)(4,"div",36)(5,"span",37),s(6),n(),m(7,ie,2,1,"span",38),n(),i(8,"h2",39),s(9),n(),i(10,"p",40),s(11),n(),i(12,"div",27),m(13,ne,1,1,"img",41)(14,oe,3,0,"span",42),i(15,"p",43)(16,"span",44),s(17),n(),i(18,"span",45),s(19," \xB7 "),n(),c(20,"app-news-article-date",46),i(21,"span",45),s(22," \xB7 "),n(),i(23,"span"),s(24),n()()()()()}if(e&2){let t=l,r=d(),o=r.coverImage(t),w=r.isCoverPlaceholder(t);u("routerLink",r.articleUrl(t)),a(),N("tw-bg-[#2d2d2d]",w)("tw-bg-[#edf0eb]",!w),a(),N("tw-object-contain",w)("tw-object-cover",!w),u("src",o.src,E)("alt",o.alt)("width",o.width)("height",o.height),a(4),h(t.label),a(),p(t.ticker?7:-1),a(2),v(" ",t.headline," "),a(2),v(" ",t.summary," "),a(2),p(t.authorPhoto?13:14),a(4),h(t.author),a(3),u("dateIso",t.articleDateIso)("fallbackDate",t.articleDate),a(4),h(t.readTime)}}function ae(e,l){e&1&&c(0,"span",50)}function le(e,l){if(e&1&&(i(0,"li",13)(1,"a",49),s(2),n(),m(3,ae,1,0,"span",50),n()),e&2){let t=l.$implicit,r=l.$index,o=l.$count;a(),N("tw-text-[#21825f]",t.isActive)("tw-font-medium",t.isActive)("tw-text-[#444b55]",!t.isActive),u("routerLink",t.route),T("aria-current",t.isActive?"page":null),a(),v(" ",t.label," "),a(),p(r!==o-1?3:-1)}}function se(e,l){e&1&&(i(0,"div"),c(1,"div",59)(2,"div",60)(3,"div",56),n())}function we(e,l){e&1&&(i(0,"section",14),c(1,"div",51),i(2,"div",52),c(3,"div",53),i(4,"div",54),c(5,"div",55)(6,"div",56),n(),c(7,"div",57),n(),i(8,"div",58),x(9,se,4,0,"div",null,H),n()()),e&2&&(a(9),f($(0,Kt)))}function de(e,l){if(e&1){let t=S();i(0,"section")(1,"h2",61),s(2,"Daily US Market News"),n(),i(3,"a",62),k("pointerenter",function(){let o=_(t),w=d();return b(w.prefetchArticle(o))})("focus",function(){let o=_(t),w=d();return b(w.prefetchArticle(o))}),c(4,"img",63),i(5,"div",54)(6,"p",64),s(7),n(),i(8,"p",65),s(9),n()(),i(10,"span",66),s(11," Updated today "),A(),i(12,"svg",67),c(13,"path",68)(14,"path",69),n()()()()}if(e&2){let t=l,r=d(),o=r.coverImage(t),w=r.isCoverPlaceholder(t);a(3),u("routerLink",r.articleUrl(t)),a(),N("tw-object-contain",w)("tw-object-cover",!w)("tw-bg-[#2d2d2d]",w),u("src",o.src,E)("alt",o.alt)("width",o.width)("height",o.height),a(3),h(t.headline),a(2),h(t.summary)}}function ce(e,l){e&1&&(i(0,"section",15)(1,"h2",70),s(2,"No news available"),n()())}function me(e,l){if(e&1&&c(0,"app-news-article-card",72),e&2){let t=l.$implicit;u("article",t)}}function pe(e,l){if(e&1&&(i(0,"section",16)(1,"h2",61),s(2,"Week Ahead"),n(),i(3,"div",71),x(4,me,1,1,"app-news-article-card",72,F),n(),i(6,"div",73)(7,"a",74),s(8,"See more"),n()()()),e&2){let t=d();a(4),f(t.sections().weekArticles)}}function ue(e,l){if(e&1&&c(0,"app-news-article-card",72),e&2){let t=l.$implicit;u("article",t)}}function he(e,l){if(e&1&&(i(0,"section",16)(1,"h2",61),s(2,"Trending News"),n(),i(3,"div",71),x(4,ue,1,1,"app-news-article-card",72,F),n(),i(6,"div",73)(7,"a",75),s(8,"See more"),n()()()),e&2){let t=d();a(4),f(t.sections().trendingArticles)}}function ge(e,l){if(e&1&&c(0,"app-news-article-card",72),e&2){let t=l.$implicit;u("article",t)}}function xe(e,l){if(e&1&&(i(0,"section",16)(1,"h2",61),s(2,"Barakah Brief"),n(),i(3,"div",71),x(4,ge,1,1,"app-news-article-card",72,F),n(),i(6,"div",73)(7,"a",76),s(8,"See more"),n()()()),e&2){let t=d();a(4),f(t.sections().barakahBriefArticles)}}function fe(e,l){if(e&1&&c(0,"app-news-article-card",72),e&2){let t=l.$implicit;u("article",t)}}function _e(e,l){if(e&1&&(i(0,"section",16)(1,"h2",61),s(2,"Halal Investing"),n(),i(3,"div",71),x(4,fe,1,1,"app-news-article-card",72,F),n(),i(6,"div",73)(7,"a",77),s(8,"See more"),n()()()),e&2){let t=d();a(4),f(t.sections().halalInvestingArticles)}}function be(e,l){if(e&1&&c(0,"app-news-article-card",79),e&2){let t=l.$implicit;u("article",t)}}function Ce(e,l){if(e&1&&(i(0,"section",17)(1,"h2",61),s(2,"Quarterly Earnings 2026"),n(),i(3,"div",78),x(4,be,1,1,"app-news-article-card",79,F),n(),i(6,"div",73)(7,"a",80),s(8,"See more"),n()()()),e&2){let t=d();a(4),f(t.sections().resultArticles)}}var xt=(()=>{class e{constructor(){this.news=C(Y),this.seo=C(B),this.destroyRef=C(O),this.responseInit=C(U,{optional:!0}),this.page=this.news.getLandingPage(),this.newsTabs=[{label:"All News",route:"/news",isActive:!0},...rt.map(t=>({label:t.title,route:at(t.path),isActive:!1}))],this.isLoadingNews=g(!0),this.hasLoadError=g(!1),this.sections=g({heroArticle:void 0,dailyArticle:void 0,weekArticles:[],trendingArticles:[],barakahBriefArticles:[],halalInvestingArticles:[],resultArticles:[]})}ngOnInit(){this.seo.updateTitle(this.page.seo.title),this.seo.updateDescription(this.page.seo.description),this.seo.updateCanonicalUrl(this.page.seo.canonicalUrl),this.seo.updateRobots("index, follow"),this.seo.updateJsonLd({"@context":"https://schema.org","@type":"CollectionPage",name:this.page.seo.title,de
1scription:this.page.seo.description,url:this.page.seo.canonicalUrl}),this.loadHomeSections()}articleUrl(t){return t.category==="daily-market-news"?["/news","daily-us-market-news"]:["/news",t.category,t.slug]}coverImage(t){return z(t)}isCoverPlaceholder(t){return W(t)}prefetchArticle(t){this.news.prefetchNewsArticle(t)}retryLoadHomeSections(){this.loadHomeSections()}loadHomeSections(){this.isLoadingNews.set(!0),this.hasLoadError.set(!1),this.news.getHomeSectionsFromCms().pipe(D(this.destroyRef)).subscribe({next:t=>{this.sections.set(t),this.isLoadingNews.set(!1)},error:()=>{this.responseInit&&(this.responseInit.status=503),this.isLoadingNews.set(!1),this.hasLoadError.set(!0)}})}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=V({type:e,selectors:[["app-news-home-page"]],decls:26,vars:11,consts:[[1,"tw-min-h-screen","tw-bg-[#f7f8f5]","tw-text-[#182027]"],[1,"tw-mx-auto","tw-w-full","tw-max-w-[1440px]","tw-px-4","tw-pt-8","sm:tw-px-6","sm:tw-pt-10","lg:tw-px-10"],[1,"tw-max-w-3xl"],[1,"main-heading","mb-0"],[1,"tw-m-0","tw-mt-1.5","tw-text-[15px]","tw-leading-6","tw-text-[#68737d]"],["aria-label","Loading featured news",1,"tw-mt-8","tw-grid","tw-gap-6","lg:tw-grid-cols-[1.15fr_1fr]","lg:tw-items-center","lg:tw-gap-10"],["role","alert",1,"tw-mt-8","tw-rounded-2xl","tw-border","tw-border-solid","tw-border-[#e5e1dc]","tw-bg-white","tw-p-8","tw-text-center"],[1,"tw-group","tw-mt-8","tw-grid","tw-gap-6","tw-text-[#182027]","tw-no-underline","lg:tw-grid-cols-[1.15fr_1fr]","lg:tw-items-center","lg:tw-gap-10",3,"routerLink"],[1,"tw-mx-auto","tw-w-full","tw-pt-10","lg:tw-pt-12"],[3,"complianceAfterTicker"],[1,"tw-mx-auto","tw-w-full","tw-max-w-[1440px]","tw-px-4","tw-py-10","sm:tw-px-6","lg:tw-px-10"],["aria-label","News categories",1,"tw-mb-9","tw-overflow-x-auto","tw-pb-1"],[1,"tw-m-0","tw-flex","tw-w-max","tw-list-none","tw-items-center","tw-p-0"],[1,"tw-flex","tw-items-center"],["aria-label","Loading latest news"],[1,"tw-rounded-2xl","tw-border","tw-border-solid","tw-border-[#e5e1dc]","tw-bg-white","tw-p-8","tw-text-center"],[1,"tw-mt-10"],[1,"tw-mt-12"],[1,"tw-aspect-[16/9]","tw-animate-pulse","tw-rounded-2xl","tw-bg-[#edf0eb]"],[1,"tw-flex","tw-max-w-2xl","tw-flex-col","tw-justify-center"],[1,"tw-flex","tw-gap-2"],[1,"tw-h-7","tw-w-24","tw-animate-pulse","tw-rounded-full","tw-bg-[#edf0eb]"],[1,"tw-h-7","tw-w-16","tw-animate-pulse","tw-rounded-full","tw-bg-[#edf0eb]"],[1,"tw-mt-5","tw-h-9","tw-w-11/12","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-mt-2","tw-h-9","tw-w-4/5","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-mt-4","tw-h-4","tw-w-full","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-mt-2","tw-h-4","tw-w-3/4","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-mt-5","tw-flex","tw-items-center","tw-gap-3"],[1,"tw-h-9","tw-w-9","tw-animate-pulse","tw-rounded-full","tw-bg-[#edf0eb]"],[1,"tw-h-4","tw-w-56","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-m-0","tw-text-[18px]","tw-font-semibold","tw-text-[#1c252d]"],[1,"tw-m-0","tw-mt-2","tw-text-[14px]","tw-text-[#68737d]"],["type","button",1,"tw-mt-4","tw-rounded-full","tw-border-0","tw-bg-[#2c936a]","tw-px-5","tw-py-2.5","tw-font-semibold","tw-text-white",3,"click"],[1,"tw-group","tw-mt-8","tw-grid","tw-gap-6","tw-text-[#182027]","tw-no-underline","lg:tw-grid-cols-[1.15fr_1fr]","lg:tw-items-center","lg:tw-gap-10",3,"pointerenter","focus","routerLink"],[1,"tw-overflow-hidden","tw-rounded-2xl"],["loading","eager","fetchpriority","high",1,"tw-block","tw-aspect-[16/9]","tw-w-full","tw-transition-opacity","group-hover:tw-opacity-90","h-auto",3,"src","alt","width","height"],[1,"tw-flex","tw-flex-wrap","tw-items-center","tw-gap-2"],[1,"tw-rounded-full","tw-bg-[#e8f6ee]","tw-px-3","tw-py-1","tw-text-[12px]","tw-font-medium","tw-leading-5","tw-text-[#25895f]"],[1,"tw-rounded-full","tw-border","tw-border-[#e3e1dc]","tw-bg-[#f1f2ee]","tw-px-3","tw-py-1","tw-text-[12px]","tw-font-medium","tw-leading-5","tw-text-[#1c252d]"],[1,"tw-mt-4","tw-text-[24px]","tw-font-semibold","tw-leading-[1.15]","tw-tracking-tight","tw-text-[#1c252d]","group-hover:tw-text-[#0f6d4b]","sm:tw-text-[30px]"],[1,"tw-m-0","tw-mt-3","tw-max-w-xl","tw-text-[15px]","tw-leading-relaxed","tw-text-[#68737d]"],["alt","","width","36","height","36",1,"tw-h-9","tw-w-9","tw-shrink-0","tw-rounded-full","tw-object-cover",3,"src"],["aria-hidden","true",1,"tw-flex","tw-h-9","tw-w-9","tw-shrink-0","tw-items-center","tw-justify-center","tw-rounded-full","tw-bg-[#eeece8]"],[1,"tw-m-0","tw-text-[13px]","tw-leading-5","tw-text-[#68737d]"],[1,"tw-font-medium","tw-text-[#1c252d]"],["aria-hidden","true"],[3,"dateIso","fallbackDate"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 640 640",1,"tw-h-4","tw-w-4"],["fill","rgb(0, 0, 0)","d","M240 192C240 147.8 275.8 112 320 112C364.2 112 400 147.8 400 192C400 236.2 364.2 272 320 272C275.8 272 240 236.2 240 192zM448 192C448 121.3 390.7 64 320 64
1C249.3 64 192 121.3 192 192C192 262.7 249.3 320 320 320C390.7 320 448 262.7 448 192zM144 544C144 473.3 201.3 416 272 416L368 416C438.7 416 496 473.3 496 544L496 552C496 565.3 506.7 576 520 576C533.3 576 544 565.3 544 552L544 544C544 446.8 465.2 368 368 368L272 368C174.8 368 96 446.8 96 544L96 552C96 565.3 106.7 576 120 576C133.3 576 144 565.3 144 552L144 544z"],[1,"tw-inline-flex","tw-min-h-10","tw-items-center","tw-whitespace-nowrap","tw-text-sm","tw-leading-6","tw-no-underline","tw-outline-none","tw-transition-colors","hover:tw-text-[#0f6d4b]","focus-visible:tw-rounded","focus-visible:tw-ring-2","focus-visible:tw-ring-[#2c936a]","focus-visible:tw-ring-offset-2","focus-visible:tw-ring-offset-[#f7f8f5]","sm:tw-text-base",3,"routerLink"],["aria-hidden","true",1,"tw-mx-5","tw-h-8","tw-w-px","tw-bg-[#dedbd6]","sm:tw-mx-7"],[1,"tw-h-6","tw-w-48","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-mt-4","tw-flex","tw-items-center","tw-gap-4","tw-rounded-2xl","tw-border","tw-border-solid","tw-border-[#dedbd6]","tw-bg-white","tw-p-4","sm:tw-gap-5","sm:tw-p-5"],[1,"tw-h-16","tw-w-24","tw-shrink-0","tw-animate-pulse","tw-rounded-xl","tw-bg-[#edf0eb]","sm:tw-h-20","sm:tw-w-32"],[1,"tw-min-w-0","tw-flex-1"],[1,"tw-h-5","tw-w-2/3","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-mt-2","tw-h-4","tw-w-full","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-hidden","tw-h-10","tw-w-32","tw-shrink-0","tw-animate-pulse","tw-rounded-full","tw-bg-[#edf0eb]","sm:tw-block"],[1,"tw-mt-10","tw-grid","tw-gap-x-5","tw-gap-y-7","sm:tw-grid-cols-2","lg:tw-grid-cols-3"],[1,"tw-aspect-[16/10]","tw-animate-pulse","tw-rounded-2xl","tw-bg-[#edf0eb]"],[1,"tw-mt-4","tw-h-5","tw-w-5/6","tw-animate-pulse","tw-rounded","tw-bg-[#edf0eb]"],[1,"tw-m-0","tw-text-[17px]","tw-font-semibold","tw-leading-6","tw-text-[#1c252d]"],[1,"tw-group","tw-mt-4","tw-flex","tw-items-center","tw-gap-4","tw-rounded-2xl","tw-border","tw-border-solid","tw-border-[#dedbd6]","tw-bg-white","tw-p-4","tw-text-[#182027]","tw-no-underline","tw-transition-colors","hover:tw-border-[#74c5a4]","sm:tw-gap-5","sm:tw-p-5",3,"pointerenter","focus","routerLink"],["loading","lazy",1,"tw-block","tw-h-16","tw-w-24","tw-shrink-0","tw-rounded-xl","sm:tw-h-20","sm:tw-w-32",3,"src","alt","width","height"],[1,"tw-m-0","tw-truncate","tw-text-[15px]","tw-font-semibold","tw-leading-6","tw-text-[#1c252d]","group-hover:tw-text-[#0f6d4b]"],[1,"tw-m-0","tw-mt-0.5","tw-truncate","tw-text-[13px]","tw-leading-5","tw-text-[#68737d]"],[1,"tw-hidden","tw-h-10","tw-shrink-0","tw-items-center","tw-gap-1.5","tw-rounded-full","tw-border","tw-border-solid","tw-border-[#dedbd6]","tw-bg-[#f7f8f5]","tw-px-4","tw-text-[12px]","tw-font-medium","tw-leading-5","tw-text-[#1c252d]","sm:tw-inline-flex"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"tw-h-3.5","tw-w-3.5"],["d","M7 7h10v10"],["d","M7 17 17 7"],[1,"tw-m-0","tw-text-[18px]","tw-font-semibold","tw-leading-6","tw-text-[#1c252d]"],[1,"tw-mt-4","tw-grid","tw-gap-x-5","tw-gap-y-7","sm:tw-grid-cols-2","lg:tw-grid-cols-3"],[3,"article"],[1,"tw-mt-5","tw-flex","tw-justify-center"],["routerLink","/news/week-ahead",1,"tw-inline-flex","tw-h-9","tw-items-center","tw-justify-center","tw-rounded-full","tw-bg-white","tw-px-5","tw-text-[12px]","tw-font-medium","tw-text-[#4d5963]","tw-no-underline","tw-ring-1","tw-ring-[#e6e2dc]","hover:tw-bg-[#f1f3ee]","hover:tw-text-[#1c252d]"],["routerLink","/news/trending",1,"tw-inline-flex","tw-h-9","tw-items-center","tw-justify-center","tw-rounded-full","tw-bg-white","tw-px-5","tw-text-[12px]","tw-font-medium","tw-text-[#4d5963]","tw-no-underline","tw-ring-1","tw-ring-[#e6e2dc]","hover:tw-bg-[#f1f3ee]","hover:tw-text-[#1c252d]"],["routerLink","/news/barakah-brief",1,"tw-inline-flex","tw-h-9","tw-items-center","tw-justify-center","tw-rounded-full","tw-bg-white","tw-px-5","tw-text-[12px]","tw-font-medium","tw-text-[#4d5963]","tw-no-underline","tw-ring-1","tw-ring-[#e6e2dc]","hover:tw-bg-[#f1f3ee]","hover:tw-text-[#1c252d]"],["routerLink","/news/halal-investing",1,"tw-inline-flex","tw-h-9","tw-items-center","tw-justify-center","tw-rounded-full","tw-bg-white","tw-px-5","tw-text-[12px]","tw-font-medium","tw-text-[#4d5963]","tw-no-underline","tw-ring-1","tw-ring-[#e6e2dc]","hover:tw-bg-[#f1f3ee]","hover:tw-text-[#1c252d]"],[1,"tw-mt-5","tw-grid","tw-gap-x-5","tw-gap-y-7","sm:tw-grid-cols-2","lg:tw-grid-cols-3"],["imageVariant","spotlight",3,"article"],["routerLink","/news/quarterly-results",1,"tw-inline-flex","tw-h-9","tw-items-center","tw-justify-center","tw-rounded-full","tw-bg-white","tw-px-5","tw-text-[12px]","tw-font-medium","tw-text-[#4d5963]","tw-no-underline","tw-ring-1","tw-ring-[#e6e2dc]","hover:tw-bg-[#f1f3ee]","hover:tw-text-[#1c252d]"]],template:function(r,o){if(r&1&&(i(0,"main",0)(1,"section",1)(2,"div",2)(3,"h1",3),s(4),n(),i(5,"p",4),s(6),n()(),m(7,te,13,0,"div",5)(8,ee,7,0,"div",6)(9,re,25,22,"a",7),n(),i(10,"section",8),c(11,"app-stock-ticker-marquee",9),n(),i(12,"section",10)(13,"nav",11)(14,"ul",12),x(15,le,4,10,"li",13,Xt),n()(),m(1
17,we,11,1,"section",14)(18,de,15,13,"section"),m(19,ce,3,0,"section",15),m(20,pe,9,0,"section",16),m(21,he,9,0,"section",16),m(22,xe,9,0,"section",16),m(23,_e,9,0,"section",16),m(24,Ce,9,0,"section",17),n(),c(25,"app-news-cta"),n()),r&2){let w,y;a(4),v(" ",o.page.title," "),a(2),h(o.page.description),a(),p(o.isLoadingNews()?7:o.hasLoadError()?8:(w=o.sections().heroArticle)?9:-1,w),a(4),u("complianceAfterTicker",!0),a(4),f(o.newsTabs),a(2),p(o.isLoadingNews()?17:(y=o.sections().dailyArticle)?18:-1,y),a(2),p(!o.isLoadingNews()&&!o.hasLoadError()&&!o.sections().heroArticle&&!o.sections().dailyArticle&&!o.sections().weekArticles.length&&!o.sections().trendingArticles.length&&!o.sections().barakahBriefArticles.length&&!o.sections().halalInvestingArticles.length&&!o.sections().resultArticles.length?19:-1),a(),p(o.sections().weekArticles.length?20:-1),a(),p(o.sections().trendingArticles.length?21:-1),a(),p(o.sections().barakahBriefArticles.length?22:-1),a(),p(o.sections().halalInvestingArticles.length?23:-1),a(),p(o.sections().resultArticles.length?24:-1)}},dependencies:[R,mt,q,G,st],encapsulation:2})}}return e})();var ni=[{path:"",component:xt,data:{hideSidebarOnDesktop:!0}},{path:"daily-us-market-news",component:L,data:{category:"daily-market-news",articleSlug:"daily-news",hideSidebarOnDesktop:!0}},{path:"authors/:slug",component:gt,data:{hideSidebarOnDesktop:!0}},{path:"author/:slug",redirectTo:"authors/:slug"},{path:"week-ahead",component:M,data:{category:"week-ahead",hideSidebarOnDesktop:!0}},{path:"week-ahead/:slug",component:L,data:{category:"week-ahead",hideSidebarOnDesktop:!0}},{path:"quarterly-results",component:M,data:{category:"quarterly-results",hideSidebarOnDesktop:!0}},{path:"quarterly-results/:slug",component:L,data:{category:"quarterly-results",hideSidebarOnDesktop:!0}},{path:"trending",component:M,data:{category:"trending",hideSidebarOnDesktop:!0}},{path:"trending/:slug",component:L,data:{category:"trending",hideSidebarOnDesktop:!0}},{path:"barakah-brief",component:M,data:{category:"barakah-brief",hideSidebarOnDesktop:!0}},{path:"barakah-brief/:slug",component:L,data:{category:"barakah-brief",hideSidebarOnDesktop:!0}},{path:"halal-investing",component:M,data:{category:"halal-investing",hideSidebarOnDesktop:!0}},{path:"halal-investing/:slug",component:L,data:{category:"halal-investing",hideSidebarOnDesktop:!0}}];export{ni as NEWS_ROUTES};

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.