PageSourceSearch

https://www.ifastgm.com.sg/igm/763.a6aa044196764aabd1d0.js

js ifastgm.com.sg collected 2026-09-24 12:30:32 UTC 36,439 bytes, 1 lines download raw bytes

1(self.webpackChunkigm_client=self.webpackChunkigm_client||[]).push([[763,2616,7031],{95416:(t,e,n)=>{"use strict";n.d(e,{c:()=>l});var i=n(55244),o=n(37716),s=n(26643),a=n(91841),r=n(32566);let l=(()=>{class t{constructor(t,e,n){this.httpService=t,this.http=e,this.paramsService=n}getTopBondPerformance(t,e,n){const o=this.paramsService.buildHttpParams({paramPeriod:t,paramIsGainer:e,paramSector:n});return this.http.post(i.h.BOND_BEST_WORST_PERFORMER+i.h.FIND_TOP_BOND_PERFORMANCE,null,{params:o})}getTopFundPerformance(t,e,n){const o=this.paramsService.buildHttpParams({paramIsBest:t,paramPeriod:e,paramSector:n});return this.http.post(i.h.FUNDS_BEST_WORST_PERFORMER+i.h.FIND_TOP_FUNDS_PERFORMANCE,o)}getUpdatedTime(){return this.http.post(i.h.FUNDS_BEST_WORST_PERFORMER+i.h.FIND_BEST_FUND_UPDATE_DATE,{})}getTopEtfPerformance(t,e,n){const o=this.paramsService.buildHttpParams({paramIsGainer:t,paramPeriod:e,paramSector:n});return this.http.post(i.h.ETF_BEST_WORST_PERFORMER+i.h.FIND_TOP_ETF_PERFORMANCE,o)}getTopLeveragedEtfPerformance(t){return this.http.post(i.h.ETF_BEST_WORST_PERFORMER+i.h.FIND_TOP_ETF_PERFORMANCE_INP,t,{})}getMarketIndicesList(t){const e=this.paramsService.buildHttpParams({paramPeriod:t});return this.http.post(i.h.FUNDS_BEST_WORST_PERFORMER+i.h.GET_FUND_INDICES_LIST,e)}}return t.\u0275fac=function(e){return new(e||t)(o.LFG(s.O),o.LFG(a.eN),o.LFG(r.O))},t.\u0275prov=o.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},7593:(t,e,n)=>{"use strict";n.d(e,{e:()=>_});var i=n(64762),o=n(28645),s=n(78641),a=n(35758),r=n(98506),l=n(69370),c=n(58412),d=n(37716),g=n(75248),p=n(38583),u=n(14169),f=n(20801),m=n(82083),h=n(29790);const x=function(t){return{mobile:t}};function b(t,e){if(1&t&&(d.ynx(0),d.TgZ(1,"div",14),d.TgZ(2,"span",15),d._uU(3),d.ALo(4,"uppercase"),d.ALo(5,"date"),d.qZA(),d.TgZ(6,"span",16),d._uU(7),d.ALo(8,"date"),d.qZA(),d.TgZ(9,"span",15),d._uU(10),d.ALo(11,"uppercase"),d.ALo(12,"date"),d.qZA(),d.qZA(),d.TgZ(13,"div",17),d.TgZ(14,"div",18),d._UZ(15,"div",19),d.ALo(16,"async"),d.TgZ(17,"div",20),d.ALo(18,"async"),d.TgZ(19,"div",21),d.TgZ(20,"p",22),d._uU(21),d.qZA(),d._UZ(22,"ui-tag",23),d.qZA(),d.qZA(),d.qZA(),d.qZA(),d.BQk()),2&t){const t=d.oxw().$implicit,e=d.oxw(2);d.xp6(3),d.Oqu(d.lcZ(4,6,d.xi3(5,8,e.getHolidayDate(t),"MMM"))),d.xp6(4),d.Oqu(d.xi3(8,11,e.getHolidayDate(t),"dd")),d.xp6(3),d.Oqu(d.lcZ(11,14,d.xi3(12,16,e.getHolidayDate(t),"YYY"))),d.xp6(5),d.Q6J("ngClass",d.VKq(23,x,d.lcZ(16,19,e.isMobileResolution$)||e.isCompactLogin())),d.xp6(2),d.Q6J("ngClass",d.VKq(25,x,d.lcZ(18,21,e.isMobileResolution$)||e.isCompactLogin())),d.xp6(4),d.Oqu(t.fundName)}}function T(t,e){1&t&&d._UZ(0,"ui-tag",27)}function v(t,e){1&t&&d._UZ(0,"ui-tag",23)}function Z(t,e){if(1&t&&(d.ynx(0),d.TgZ(1,"div",14),d.TgZ(2,"span",15),d._uU(3),d.ALo(4,"uppercase"),d.ALo(5,"date"),d.qZA(),d.TgZ(6,"span",16),d._uU(7),d.ALo(8,"date"),d.qZA(),d.TgZ(9,"span",15),d._uU(10),d.ALo(11,"uppercase"),d.ALo(12,"date"),d.qZA(),d.qZA(),d.TgZ(13,"div",17),d.TgZ(14,"div",18),d._UZ(15,"div",0),d.ALo(16,"async"),d.TgZ(17,"div",20),d.ALo(18,"async"),d.TgZ(19,"div",21),d.TgZ(20,"p",24),d._uU(21),d.qZA(),d.YNc(22,T,1,0,"ui-tag",25),d.YNc(23,v,1,0,"ui-tag",26),d.qZA(),d.qZA(),d.qZA(),d.qZA(),d.BQk()),2&t){const t=d.oxw().$implicit,e=d.oxw(2);d.xp6(3),d.Oqu(d.lcZ(4,11,d.xi3(5,13,e.getHolidayDate(t),"MMM"))),d.xp6(4),d.Oqu(d.xi3(8,16,e.getHolidayDate(t),"dd")),d.xp6(3),d.Oqu(d.lcZ(11,19,d.xi3(12,21,e.getHolidayDate(t),"YYY"))),d.xp6(5),d.Gre("left-tagging ",t.origin||"funds"==e.holidayType?"bg-funds":"bg-stocks",""),d.Q6J("ngClass",d.VKq(28,x,d.lcZ(16,24,e.isMobileResolution$)||e.isCompactLogin())),d.xp6(2),d.Q6J("ngClass",d.VKq(30,x,d.lcZ(18,26,e.isMobileResolution$)||e.isCompactLogin())),d.xp6(4),d.Oqu(t.description),d.xp6(1),d.Q6J("ngIf",!t.origin&&"funds"!=e.holidayType),d.xp6(1),d.Q6J("ngIf",t.origin||"funds"==e.holidayType)}}const y=function(t){return{"mb-2":t}};function w(t,e){if(1&t&&(d.TgZ(0,"div",12),d.YNc(1,b,23,27,"ng-container",13),d.YNc(2,Z,24,32,"ng-container",13),d.qZA()),2&t){const t=e.$implicit;d.Q6J("ngClass",d.VKq(3,y,!e.last)),d.xp6(1),d.Q6J("ngIf","Fund Holiday"==t.description),d.xp6(1),d.Q6J("ngIf","Fund Holiday"!=t.description)}}function A(t,e){if(1&t&&(d.ynx(0),d.TgZ(1,"div",9),d.TgZ(2,"div",10),d.YNc(3,w,3,5,"div",11),d.qZA(),d.qZA(),d.BQk()),2&t){const t=d.oxw();d.xp6(3),d.Q6J("ngForOf",t.displayTradingHoliday)}}const L=function(){return{default:"No Result Found"}};function C(t,e){1&t&&(d.TgZ(0,"div",28),d.TgZ(1,"div",29),d._UZ(2,"ui-empty",30),d.ALo(3,"translate"),d.qZA(),d.qZA()),2&t&&(d.xp6(2),d.Q6J("content",d.xi3(3,1,"b2b.igm.common.no.result.found",d.DdM(4,L))))}class _{constructor(t){this.calendarService=t,this.gotBorder=!0,this.holidayType="both",this.totalHolidayToday=0,this.countryList=[]}ngOnInit(){this.isMobileResolution$.subscribe(t=>{this.isMobile=t}),this.getLoginStatus$.subscribe(t=>{this.isLogin=t===l.$.CLIENT_LOGIN_STATUS_OK||t===l.$.CLIENT_LOGIN_STATUS_RISK_ASSESSMENT}),this.getHolidays()}getHolidays(){(0,a.D)([this.calendarService.findCountries(),this.calendarService.getExc
1hangeHolidayList(),this.calendarService.getPublicHolidayList(),this.calendarService.getFundHolidayList("")]).subscribe(t=>{let[e,n,i,o]=t;e&&c.P.RESPONSE_SUCCESS===e.status&&(null==e?void 0:e.data)&&(this.countryList=[],this.countryList=e.data);const s=new Date,a=new Date(s.setHours(0,0,0,0)).getTime(),r=new Date(s.setHours(23,59,59,999)).getTime(),l=o.filter(t=>this.getHolidayDate(t)>=a).sort((t,e)=>this.getHolidayDate(t)-this.getHolidayDate(e)),d=i.filter(t=>this.getHolidayDate(t)>=a).sort((t,e)=>this.getHolidayDate(t)-this.getHolidayDate(e)),g=n.filter(t=>t.exchangeCalendarPk.phdate>=a).sort((t,e)=>t.exchangeCalendarPk.phdate-e.exchangeCalendarPk.phdate),p=[],u=d.map(t=>Object.assign(Object.assign({},t),{origin:"Public"})),f=l.map(t=>Object.assign(Object.assign({},t),{origin:"Funds"})),m=[...u,...f];m.length>0&&p.push(m.shift()),g.length>0&&p.push(g.shift());const h=[...m,...g],x=o.filter(t=>{const e=this.getHolidayDate(t);return e>=a&&e<=r}).length,b=n.filter(t=>{const e=t.exchangeCalendarPk.phdate;return e>=a&&e<=r}).length;switch(this.holidayType){case"funds":this.displayTradingHoliday=[...d,...f].sort((t,e)=>this.getHolidayDate(t)-this.getHolidayDate(e)),console.log("this.displayTradingHoliday",this.displayTradingHoliday),this.totalHolidayToday=x;break;case"exchange":this.displayTradingHoliday=[...d,...g].sort((t,e)=>this.getHolidayDate(t)-this.getHolidayDate(e)),this.totalHolidayToday=b;break;default:this.displayTradingHoliday=[...p,...h].sort((t,e)=>this.getHolidayDate(t)-this.getHolidayDate(e)),this.totalHolidayToday=x+b}})}isCompactScreen(){const t=window.innerWidth;return t>=996&&t<=1366}isCompactLogin(){return this.isLogin&&this.isCompactScreen()}getHolidayDate(t){var e,n;const{phCalendarLocPk:i,date:o,exchangeCalendarPk:s}=null!=t?t:{};return null!==(n=null!==(e=null==i?void 0:i.phdate)&&void 0!==e?e:o)&&void 0!==n?n:null==s?void 0:s.phdate}}_.\u0275fac=function(t){return new(t||_)(d.Y36(g.o))},_.\u0275cmp=d.Xpm({type:_,selectors:[["app-trading-holidays"]],inputs:{product:"product",gotBorder:"gotBorder",holidayType:"holidayType"},decls:12,vars:4,consts:[[3,"ngClass"],[1,"flex","flex-row","gap-4","justify-between","items-center","mb-3"],[1,"flex","flex-row","gap-1","item-center"],[1,"mb-0","text-xs"],[1,"text-black-4"],["type","translate","value","b2b.igm.common.total.events.today","typeParam","Total Events Today"],[1,"font-weight-bold","text-black-6"],[4,"ngIf","ngIfElse"],["emptyTpl",""],[1,"overflow-y-auto","trading-holiday-height"],[1,"mr-2"],["class","flex flex-row gap-2 w-full",3,"ngClass",4,"ngFor","ngForOf"],[1,"flex","flex-row","gap-2","w-full",3,"ngClass"],[4,"ngIf"],[1,"flex","flex-col","justify-center","items-center"],[1,"text-black-4","text-xs"],[1,"font-weight-bold","text-md","text-black-6"],[1,"flex","flex-col","w-full"],[1,"flex","flex-row"],[1,"left-tagging","bg-funds",3,"ngClass"],[1,"card-container","bg-white","w-full",3,"ngClass"],[1,"flex","flex-col","gap-2"],[1,"mb-0","text-sm","text-black-7","font-weight-bold","truncate-text-line-1"],["nzType","fund-public"],[1,"mb-0","text-sm","text-black-7","font-weight-bold"],["nzType","exchange-holiday",4,"ngIf"],["nzType","fund-public",4,"ngIf"],["nzType","exchange-holiday"],[1,"flex","justify-center","trading-holiday-height"],[1,"flex","justify-center","items-center"],[1,"mt-9",3,"content"]],template:function(t,e){if(1&t&&(d.TgZ(0,"div",0),d.TgZ(1,"div",1),d.TgZ(2,"div",2),d.TgZ(3,"p",3),d.TgZ(4,"span",4),d._UZ(5,"ui-format-value",5),d.qZA(),d._uU(6,": "),d.TgZ(7,"span",6),d._uU(8),d.qZA(),d.qZA(),d.qZA(),d.qZA(),d.YNc(9,A,4,1,"ng-container",7),d.qZA(),d.YNc(10,C,4,5,"ng-template",null,8,d.W1O)),2&t){const t=d.MAs(11);d.Q6J("ngClass",e.gotBorder?"border border-black-2 p-4 rounded-2xl":""),d.xp6(8),d.Oqu(e.totalHolidayToday),d.xp6(1),d.Q6J("ngIf",e.displayTradingHoliday&&e.displayTradingHoliday.length>0)("ngIfElse",t)}},directives:[p.mk,u.i,p.O5,p.sg,f.v,m.L],pipes:[p.gd,p.uU,p.Ov,h.X$],styles:["app-trading-holidays .text-xxs{font-size:10px}app-trading-holidays .card-container{border-top-right-radius:8px;border-bottom-right-radius:8px;padding:16px 8px;border:1px solid var(--black-3)}app-trading-holidays .left-tagging{border-top-left-radius:8px;border-bottom-left-radius:8px;width:8px}app-trading-holidays .trading-holiday-height{height:330px}app-trading-holidays .truncate-text-line-1{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-width:300px}"],encapsulation:2}),(0,i.gn)([(0,o.Ph)(s.qU.isMobileResolution)],_.prototype,"isMobileResolution$",void 0),(0,i.gn)([(0,o.Ph)(r.j.getLoginStatus)],_.prototype,"getLoginStatus$",void 0)},95876:(t,e,n)=>{"use strict";n.d(e,{t:()=>u});var i=n(97706),o=n(53474),s=n(29790),a=n(46268),r=n(10167),l=n(54046),c=n(1279),d=n(41575),g=(n(7593),n(50635)),p=n(37716);let u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=p.oAB({type:t}),t.\u0275inj=p.cJS({imports:[[i.m,o.P,s.aw,a.a,r.$,l.c,c.x,d.kz,g.W]]}),t})()},74457:(t,e,n)=>{"use strict";n.d(e,{_:()=>kt});var i=n(12630),o=n(18368),s=n(64762),a=n(28645),r=n(78641),l=n(98506),c=n(69370),d=n(92340),g=n(37716),p=n(43368),u=n(7701),f=n(95416),m=n(75248),h=n(65142),x=n(38583),b=n(14169),T=n(7593),v=n(56988),Z=n(8620),y=n(71155),w=n(15023),A=n(74945),L=n(41575),C=n(82739),_=n(77805),S=n(20801),q=n(47420),F=n(8375),N=n(82083),k=n(23666),I=n(83959),O=n(29790);function U(t,e){if(1&t){const t=g.EpF();g.TgZ(0,"uic-chipbar",31),g.NdJ("click",function(){g.CHM(t);const e=g.oxw().$implicit;return g.oxw(2).setNewProductSelectedTab(e.value)}),g.qZA()}if(2&t){const t=g.oxw().$implicit,e=g.oxw(2);g.Q6J("activeState",t.value==e.selectedBestWorth)("nzText",null==t?null:t.label)("nzTextDefault",t.labelDefault)}}
1function Q(t,e){1&t&&g.YNc(0,U,1,3,"ng-template",30)}function M(t,e){if(1&t&&(g.TgZ(0,"swiper",28),g.YNc(1,Q,1,0,void 0,29),g.qZA()),2&t){const t=g.oxw();g.Q6J("config",t.bestWorthSwiperConfig),g.xp6(1),g.Q6J("ngForOf",t.bestWorstOption)}}function P(t,e){1&t&&g.GkF(0)}function J(t,e){if(1&t&&(g.ynx(0),g.YNc(1,P,1,0,"ng-container",32),g.BQk()),2&t){g.oxw(2);const t=g.MAs(40);g.xp6(1),g.Q6J("ngTemplateOutlet",t)}}function E(t,e){1&t&&g.GkF(0)}function R(t,e){if(1&t&&(g.ynx(0),g.YNc(1,E,1,0,"ng-container",32),g.BQk()),2&t){g.oxw(2);const t=g.MAs(42);g.xp6(1),g.Q6J("ngTemplateOutlet",t)}}function D(t,e){if(1&t&&(g.ynx(0),g.YNc(1,J,2,1,"ng-container",9),g.YNc(2,R,2,1,"ng-container",9),g.BQk()),2&t){const t=g.oxw();g.xp6(1),g.Q6J("ngIf","gainer"==t.selectedBestWorth),g.xp6(1),g.Q6J("ngIf","loser"==t.selectedBestWorth)}}function Y(t,e){1&t&&g.GkF(0)}function H(t,e){1&t&&g.GkF(0)}function B(t,e){if(1&t&&(g.TgZ(0,"div",33),g.TgZ(1,"div",34),g.TgZ(2,"p",35),g._UZ(3,"ui-format-value",36),g.qZA(),g.YNc(4,Y,1,0,"ng-container",32),g.qZA(),g.TgZ(5,"div",34),g.TgZ(6,"p",35),g._UZ(7,"ui-format-value",37),g.qZA(),g.YNc(8,H,1,0,"ng-container",32),g.qZA(),g.qZA()),2&t){g.oxw();const t=g.MAs(40),e=g.MAs(42);g.xp6(4),g.Q6J("ngTemplateOutlet",t),g.xp6(4),g.Q6J("ngTemplateOutlet",e)}}function G(t,e){if(1&t&&(g.TgZ(0,"div"),g.TgZ(1,"p",38),g._uU(2,"*"),g._UZ(3,"ui-format-value",39),g._uU(4),g.ALo(5,"dashNull"),g.ALo(6,"dateFormat"),g._UZ(7,"ui-format-value",40),g.qZA(),g.qZA()),2&t){const t=g.oxw();g.xp6(1),g.Q6J("ngClass",t.isMobile||t.isCompactLogin()?"text-xs mt-3":"mt-4 text-sm"),g.xp6(3),g.hij(": ",g.lcZ(5,2,g.xi3(6,4,t.lastUpdatedTimestamp,"dd MMMM yyyy")),", ")}}const W=function(t){return{"compact-full-bleed":t}};function z(t,e){if(1&t&&g._UZ(0,"ui-border-bottom",41),2&t){const t=g.oxw();g.Q6J("ngClass",g.VKq(1,W,t.isCompactLogin()))}}function $(t,e){if(1&t&&g._UZ(0,"ui-border-bottom",41),2&t){const t=g.oxw();g.Q6J("ngClass",g.VKq(1,W,t.isCompactLogin()))}}function j(t,e){1&t&&g._UZ(0,"ui-icon",58)}function V(t,e){1&t&&g._UZ(0,"ui-icon",59)}const K=function(t){return{"col-span-2":t}},X=function(t){return{"truncate-text":t}},tt=function(t,e,n){return{"text-profit-9":t,"text-loss-9":e,"text-black-4":n}},et=function(t){return{"text-right":t}};function nt(t,e){if(1&t&&(g.ynx(0),g.TgZ(1,"a",46),g.TgZ(2,"div"),g.TgZ(3,"div",47),g.TgZ(4,"div",48),g._UZ(5,"ui-tag",49),g.TgZ(6,"span",50),g._uU(7),g.qZA(),g.qZA(),g.TgZ(8,"p",51),g._uU(9),g.qZA(),g.qZA(),g.TgZ(10,"div"),g.TgZ(11,"div",52),g.TgZ(12,"span",53),g._uU(13),g.qZA(),g.YNc(14,j,1,0,"ui-icon",54),g.YNc(15,V,1,0,"ui-icon",55),g.qZA(),g.TgZ(16,"p",56),g._UZ(17,"ui-format-value",57),g.qZA(),g.qZA(),g.qZA(),g.qZA(),g.BQk()),2&t){const t=e.$implicit,n=g.oxw(3);g.xp6(1),g.ekj("h-full",!n.isMobile),g.Q6J("href",n.redirectToFundFactsheet(t.fundInfoSedolnumber,t.fundInfoFundName),g.LSH),g.xp6(1),g.Tol(n.isMobile?"py-3 grid grid-cols-3 gap-4 items-center":"flex flex-col justify-between border border-black-2 rounded-2xl p-4 h-full"),g.xp6(1),g.Q6J("ngClass",g.VKq(18,K,n.isMobile)),g.xp6(3),g.Q6J("ngClass",g.VKq(20,X,!n.isMobile))("nzTooltipTitle",t.fundInfoFundName),g.xp6(1),g.hij(" ",t.fundInfoFundName," "),g.xp6(1),g.Q6J("ngClass",n.isMobile?"mb-0":"mb-4"),g.xp6(1),g.Oqu(t.managerName),g.xp6(2),g.Q6J("ngClass",n.isMobile?"justify-end":"items-center"),g.xp6(1),g.Q6J("ngClass",g.kEZ(22,tt,t.sectorPerformanceW52>0,t.sectorPerformanceW52<0,0==t.sectorPerformanceW52)),g.xp6(1),g.hij("",t.sectorPerformanceW52,"%"),g.xp6(1),g.Q6J("ngIf",t.sectorPerformanceW52>0),g.xp6(1),g.Q6J("ngIf",t.sectorPerformanceW52<0),g.xp6(1),g.Q6J("ngClass",g.VKq(26,et,n.isMobile))}}function it(t,e){if(1&t&&(g.ynx(0),g.TgZ(1,"div",45),g.YNc(2,nt,18,28,"ng-container",29),g.qZA(),g.BQk()),2&t){const t=g.oxw(2);g.xp6(1),g.Q6J("ngClass",t.isMobile?"flex flex-col":t.isCompactLogin()?"grid grid-cols-3 gap-4":"grid grid-cols-5 gap-4"),g.xp6(1),g.Q6J("ngForOf",t.recommendedFundList)}}const ot=function(t){return{"px-4":t}};function st(t,e){if(1&t&&(g.TgZ(0,"div",42),g.TgZ(1,"p"),g._UZ(2,"ui-format-value",43),g.qZA(),g.YNc(3,it,3,2,"ng-container",44),g.qZA()),2&t){const t=g.oxw(),e=g.MAs(36);g.Q6J("ngClass",g.VKq(6,ot,t.isMobile)),g.xp6(1),g.Gre("font-weight-bold mb-4 ",t.isMobile?"text-xl":"text-lg",""),g.xp6(2),g.Q6J("ngIf",!t.isLoadingRecommendedFund)("ngIfElse",e)}}function at(t,e){if(1&t&&g._UZ(0,"ui-border-bottom",41),2&t){const t=g.oxw();g.Q6J("ngClass",g.VKq(1,W,t.isCompactLogin()))}}function rt(t,e){if(1&t&&g._UZ(0,"ui-border-bottom",41),2&t){const t=g.oxw();g.Q6J("ngClass",g.VKq(1,W,t.isCompactLogin()))}}function lt(t,e){1&t&&(g.TgZ(0,"div",60),g.TgZ(1,"span",61),g._UZ(2,"ui-format-value",62),g.qZA(),g.qZA(),g.TgZ(3,"div",63),g.TgZ(4,"span",61),g._UZ(5,"ui-format-value",64),g.qZA(),g.qZA(),g.TgZ(6,"div",65),g.TgZ(7,"span",61),g._UZ(8,"ui-format-value",66),g.qZA(),g.qZA()),2&t&&(g.oxw(),g.xp6(1),g.Q6J("ngClass","text-xs"),g.xp6(3),g.Q6J("ngClass","text-xs"),g.xp6(3),g.Q6J("ngClass","text-xs"))}function ct(t,e){1&t&&g._UZ(0,"ui-icon",72)}function dt(t,e){1&t&&g._UZ(0,"ui-icon",73)}const gt=function(t,e,n,i){return{"text-profit-9":t,"text-loss-9":e,"text-black-4":n,"font-weight-bold":i}};function pt(t,e){if(1&t&&(g.TgZ(0,"div",60),g.TgZ(1,"span"),g._uU(2),g.qZA(),g.qZA(),g.TgZ(3,"div",63),g.TgZ(4,"a",67),g._uU(5),g.qZA(),g.qZA(),g.TgZ(6,"div",65),g.TgZ(7,"div",68),g.YNc(8,ct,1,0,"ui-icon",69),g.YNc(9,dt,1,0,"ui-icon",70),g.TgZ(10,"span",71),g._uU(11),g.qZA(),g.qZA(),g.qZA()),2&t){const t=e.bestWorst,n=g.oxw();g.xp6(1),g.Gre("text-lg number-",t.rank," mobile"),g.xp6(1),g.Oqu(t.rank),g.xp6(2),g.Q6J("href",n.redirectToFundFactsheet(t.productId,t.productName),g.LSH
1),g.xp6(1),g.Oqu(t.productName),g.xp6(3),g.Q6J("ngIf",t.returnValue>0),g.xp6(1),g.Q6J("ngIf",t.returnValue<0),g.xp6(1),g.Q6J("ngClass",g.l5B(11,gt,t.returnValue>0,t.returnValue<0,0==t.returnValue,!n.isMobile)),g.xp6(1),g.AsE(" ",t.returnValue>0?"+":""," ",t.returnValue.toFixed(2),"%")}}function ut(t,e){1&t&&g._UZ(0,"ui-skeleton",74),2&t&&g.Q6J("nzLoading",!0)("nzParagraphRow",5)}const ft=function(){return{default:"No Result Found"}};function mt(t,e){1&t&&(g._UZ(0,"ui-empty",75),g.ALo(1,"translate")),2&t&&g.Q6J("content",g.xi3(1,1,"b2b.igm.common.no.result.found",g.DdM(4,ft)))}function ht(t,e){1&t&&g.GkF(0)}function xt(t,e){1&t&&g.GkF(0)}const bt=function(t){return{bestWorst:t}};function Tt(t,e){if(1&t&&(g.ynx(0),g.YNc(1,xt,1,0,"ng-container",80),g.BQk()),2&t){const t=e.$implicit;g.oxw(4);const n=g.MAs(34);g.xp6(1),g.Q6J("ngTemplateOutlet",n)("ngTemplateOutletContext",g.VKq(2,bt,t))}}function vt(t,e){if(1&t&&(g.ynx(0),g.TgZ(1,"div",79),g.YNc(2,Tt,2,4,"ng-container",29),g.qZA(),g.BQk()),2&t){const t=g.oxw(3);g.xp6(2),g.Q6J("ngForOf",t.topGainerDetails)}}function Zt(t,e){if(1&t&&(g.ynx(0),g.YNc(1,vt,3,1,"ng-container",44),g.BQk()),2&t){const t=g.oxw(2),e=g.MAs(38);g.xp6(1),g.Q6J("ngIf",t.topGainerDetails&&t.topGainerDetails.length>0)("ngIfElse",e)}}function yt(t,e){if(1&t&&(g.TgZ(0,"div",76),g.YNc(1,ht,1,0,"ng-container",32),g.qZA(),g.TgZ(2,"div",77),g.TgZ(3,"div",78),g.YNc(4,Zt,2,2,"ng-container",44),g.qZA(),g.qZA()),2&t){const t=g.oxw(),e=g.MAs(32),n=g.MAs(36);g.xp6(1),g.Q6J("ngTemplateOutlet",e),g.xp6(3),g.Q6J("ngIf",!t.topGainerLoading)("ngIfElse",n)}}function wt(t,e){1&t&&g.GkF(0)}function At(t,e){1&t&&g.GkF(0)}function Lt(t,e){if(1&t&&(g.ynx(0),g.YNc(1,At,1,0,"ng-container",80),g.BQk()),2&t){const t=e.$implicit;g.oxw(4);const n=g.MAs(34);g.xp6(1),g.Q6J("ngTemplateOutlet",n)("ngTemplateOutletContext",g.VKq(2,bt,t))}}function Ct(t,e){if(1&t&&(g.ynx(0),g.TgZ(1,"div",79),g.YNc(2,Lt,2,4,"ng-container",29),g.qZA(),g.BQk()),2&t){const t=g.oxw(3);g.xp6(2),g.Q6J("ngForOf",t.topLoserDetails)}}function _t(t,e){if(1&t&&(g.ynx(0),g.YNc(1,Ct,3,1,"ng-container",44),g.BQk()),2&t){const t=g.oxw(2),e=g.MAs(38);g.xp6(1),g.Q6J("ngIf",t.topLoserDetails&&t.topLoserDetails.length>0)("ngIfElse",e)}}function St(t,e){if(1&t&&(g.TgZ(0,"div",76),g.YNc(1,wt,1,0,"ng-container",32),g.qZA(),g.TgZ(2,"div",77),g.TgZ(3,"div",78),g.YNc(4,_t,2,2,"ng-container",44),g.qZA(),g.qZA()),2&t){const t=g.oxw(),e=g.MAs(32),n=g.MAs(36);g.xp6(1),g.Q6J("ngTemplateOutlet",e),g.xp6(3),g.Q6J("ngIf",!t.topLoserLoading)("ngIfElse",n)}}const qt=function(t){return{"mb-4 justify-items-start items-start":t}};class Ft{constructor(t,e,n,i){this.seoService=t,this.generalRestService=e,this.bestWorstPerformanceRestService=n,this.calendarService=i,this.bestWorthSwiperConfig={},this.selectedBestWorth="gainer",this.bestWorstOption=[{label:"b2b.igm.investments.funds.top.gainers",labelDefault:"Top Gainers",value:"gainer"},{label:"b2b.igm.investments.funds.top.losers",labelDefault:"Top Losers",value:"loser"}]}ngOnInit(){setTimeout(()=>window.scrollTo(0,0),0),this.isMobileResolution$.subscribe(t=>{this.isMobile=t}),this.getLoginStatus$.subscribe(t=>{this.isLogin=t===c.$.CLIENT_LOGIN_STATUS_OK||t===c.$.CLIENT_LOGIN_STATUS_RISK_ASSESSMENT}),this.bestWorthSwiperConfig={slidesPerView:"auto",spaceBetween:8,allowTouchMove:!0,navigation:!1,mousewheel:{forceToAxis:!0}},this.seoService.updateMeta({title:"Unit Trusts & Funds | iFAST Global Markets",description:"Build your wealth seamlessly. Access a wide range of global unit trusts on iGM via flexible lump-sum investments or monthly regular savings plans."}),this.getTopGainerFundPerformance(!0),this.getTopGainerFundPerformance(!1),this.getAllRecommendedFund(),this.generalRestService.getLocaleDate().subscribe(t=>{this.lastUpdatedTimestamp=this.getYtdDate(t)},()=>{})}getYtdDate(t){if(t){let e=new Date(t);return e.setDate(e.getDate()-1),e}return null}getTopGainerFundPerformance(t){this.topGainerLoading=!0,this.topLoserLoading=!1,this.bestWorstPerformanceRestService.getTopFundPerformance(t,"W4","all").subscribe(e=>{e?t?(this.topGainerDetails=e.slice(0,5),this.topGainerLoading=!1):(this.topLoserDetails=e.slice(0,5),this.topLoserLoading=!1):t?(this.topGainerDetails=[],this.topGainerLoading=!1):(this.topLoserDetails=[],this.topLoserLoading=!1)},()=>{t?(this.topGainerDetails=[],this.topGainerLoading=!1):(this.topLoserDetails=[],this.topLoserLoading=!1)})}getAllRecommendedFund(){this.isLoadingRecommendedFund=!0,this.calendarService.findAllRecommendFunds().subscribe(t=>
1{if(t){const e=t.fundSelectorResultTableDisplayList.sort((t,e)=>null===t.sectorPerformanceW52&&null===e.sectorPerformanceW52?0:null===t.sectorPerformanceW52?1:null===e.sectorPerformanceW52?-1:e.sectorPerformanceW52-t.sectorPerformanceW52);this.recommendedFundList=e.slice(0,5),this.isLoadingRecommendedFund=!1}else this.recommendedFundList=[],this.isLoadingRecommendedFund=!1},()=>{this.recommendedFundList=[],this.isLoadingRecommendedFund=!1})}setNewProductSelectedTab(t){this.selectedBestWorth=t}isCompactScreen(){const t=window.innerWidth;return t>=996&&t<=1366}isCompactLogin(){return this.isLogin&&this.isCompactScreen()}redirectToFundFactsheet(t,e){let n;const i=e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"");return n=d.N.igmUrl+"main/funds/factsheet/"+t+"/"+i,n}}Ft.\u0275fac=function(t){return new(t||Ft)(g.Y36(p.v),g.Y36(u.n),g.Y36(f.c),g.Y36(m.o))},Ft.\u0275cmp=g.Xpm({type:Ft,selectors:[["app-funds-overview"]],decls:43,vars:35,consts:[[1,"overflow-x-hidden"],["product","Funds","bannerSection","productPageFundsBanner"],[1,"bg-white","pb-16"],[1,"container-fluid"],[1,"py-8"],[1,"flex","flex-col",3,"ngClass"],[1,"flex","flex-col","gap-4",3,"ngClass"],["type","translate","value","b2b.igm.investments.funds.best.worst.performing","typeParam","Best & Worst Performing"],["class","slide-w-auto",3,"config",4,"ngIf"],[4,"ngIf"],["class","grid grid-cols-2 gap-6 flex-1",4,"ngIf"],["color","background",3,"ngClass",4,"ngIf"],[1,"flex","flex-col","h-full",3,"ngClass"],["type","translate","value","b2b.igm.common.trading.holidays","typeParam","Trading Holidays"],["holidayType","funds",1,"flex-1",3,"gotBorder"],["class","py-8",3,"ngClass",4,"ngIf"],["productType","UT","selectorRoute","/main/tools/product-selector/fund-selector","titleKey","b2b.igm.investments.explore.funds.by","titleDefault","Explore Funds By","descriptionKey","b2b.igm.investments.explore.funds.by.desc","descriptionDefault","Find unit trusts that match your investment style and goals"],["articleCategory","Funds",3,"displayLength","productPage","isCenter"],["routerLink","/main/insights","fragment","Funds"],["type","translate","value","b2b.igm.common.latest.insights","typeParam","Latest Insights"],["icon","right-arrow","iconClass","text-black-9 font-weight-bold text-md cursor-pointer"],["product","funds"],["topLoseGainerHeaderTpl",""],["topLoseGainerDetailTpl",""],["loadingTpl",""],["emptyTpl",""],["topGainerDataTpl",""],["topLoserDataTpl",""],[1,"slide-w-auto",3,"config"],[4,"ngFor","ngForOf"],["swiperSlide",""],[3,"activeState","nzText","nzTextDefault","click"],[4,"ngTemplateOutlet"],[1,"grid","grid-cols-2","gap-6","flex-1"],[1,"border","border-black-2","p-4","rounded-2xl","h-full"],[1,"mb-4","text-base","font-weight-bold"],["type","translate","value","b2b.igm.investments.funds.top.gainers","typeParam","Top Gainers"],["type","translate","value","b2b.igm.investments.funds.top.losers","typeParam","Top Losers"],[1,"text-black-5","mb-0",3,"ngClass"],["type","translate","value","b2b.igm.stock.last.updated","typeParam","Last updated"],["type","translate","value","b2b.igm.stock.returns.in.sgd.terms","typeParam","returns in SGD terms"],["color","background",3,"ngClass"],[1,"py-8",3,"ngClass"],["type","translate","value","b2b.igm.investments.recommended.funds","typeParam","Recommended Funds"],[4,"ngIf","ngIfElse"],[3,"ngClass"],["target","_blank",3,"href"],[1,"flex","flex-col","items-start","gap-2",3,"ngClass"],[1,"mb-0","text-sm","font-weight-bold"],["nzSize","small","nzType","FUNDS",1,"inline-block"],["nz-tooltip","",3,"ngClass","nzTooltipTitle"],[1,"text-xs","text-black-5",3,"ngClass"],[1,"flex","flex-row","gap-1",3,"ngClass"],[1,"text-md","font-weight-bold",3,"ngClass"],["icon","triangle-down_filled","iconClass","text-profit-9 text-sm transform rotate-180",4,"ngIf"],["icon","triangle-down_filled","iconClass","text-loss-9 text-sm transform",4,"ngIf"],[1,"mb-0","text-10px","text-black-4",3,"ngClass"],["type","translate","value","b2b.igm.common.1.year.return.without.percent","typeParam","1 Year Return"],["icon","triangle-down_filled","iconClass","text-profit-9 text-sm transform rotate-180"],["icon","triangle-down_filled","iconClass","text-loss-9 text-sm transform"],[1,"col-span-1"],[1,"text-black-5",3,"ngClass"],["type","translate","value","b2b.igm.common.numbering","typeParam","No."],[1,"col-span-6"],["type","translate","value","b2b.igm.common.name","typeParam","Name"],[1,"col-span-3","text-right"],["type","translate","value","b2b.igm.common.1.month.return","typeParam","1 Month Return"],["target","_blank",1,"text-sm","font-weight-medium","text-black-7","hover:text-primary-9",3,"href"],[1,"flex","flex-row","justify-end","items-center","gap-1"],["icon","triangle-down_filled","iconClass","text-profit-9 text-xs transform rotate-180",4,"ngIf"],["icon","triangle-down_filled","iconClass","text-loss-9 text-xs transform",4,"ngIf"],[1,"text-xs",3,"ngClass"],["
1icon","triangle-down_filled","iconClass","text-profit-9 text-xs transform rotate-180"],["icon","triangle-down_filled","iconClass","text-loss-9 text-xs transform"],[3,"nzLoading","nzParagraphRow"],[1,"mt-0",3,"content"],[1,"col-span-5","grid","grid-cols-10","gap-4","mb-3"],[1,"overflow-y-auto","trading-holiday-height"],[1,"mr-2"],[1,"col-span-5","grid","grid-cols-10","gap-4","items-center"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&(g.TgZ(0,"div",0),g._UZ(1,"app-investment-product-header",1),g.TgZ(2,"div",2),g.TgZ(3,"div",3),g.TgZ(4,"div",4),g.TgZ(5,"div"),g.TgZ(6,"div",5),g.TgZ(7,"div",6),g.TgZ(8,"p"),g._UZ(9,"ui-format-value",7),g.qZA(),g.YNc(10,M,2,2,"swiper",8),g.qZA(),g.YNc(11,D,3,2,"ng-container",9),g.YNc(12,B,9,2,"div",10),g.YNc(13,G,8,7,"div",9),g.qZA(),g.YNc(14,z,1,3,"ui-border-bottom",11),g.TgZ(15,"div",12),g.TgZ(16,"p"),g._UZ(17,"ui-format-value",13),g.qZA(),g._UZ(18,"app-trading-holidays",14),g.qZA(),g.qZA(),g.qZA(),g.YNc(19,$,1,3,"ui-border-bottom",11),g.YNc(20,st,4,8,"div",15),g.YNc(21,at,1,3,"ui-border-bottom",11),g.qZA(),g._UZ(22,"app-explore-by",16),g.TgZ(23,"app-article-card-display",17),g.TgZ(24,"div",18),g.TgZ(25,"p"),g._UZ(26,"ui-format-value",19),g.qZA(),g._UZ(27,"ui-icon",20),g.qZA(),g.qZA(),g.YNc(28,rt,1,3,"ui-border-bottom",11),g._UZ(29,"app-investment-product-description",21),g._UZ(30,"app-explore-investment-products",21),g.qZA(),g.qZA(),g.YNc(31,lt,9,3,"ng-template",null,22,g.W1O),g.YNc(33,pt,12,16,"ng-template",null,23,g.W1O),g.YNc(35,ut,1,2,"ng-template",null,24,g.W1O),g.YNc(37,mt,2,5,"ng-template",null,25,g.W1O),g.YNc(39,yt,5,3,"ng-template",null,26,g.W1O),g.YNc(41,St,5,3,"ng-template",null,27,g.W1O)),2&t&&(g.xp6(5),g.Gre("",e.isMobile||e.isCompactLogin()?"grid-cols-1":"grid-cols-3 items-stretch"," grid gap-8"),g.xp6(1),g.Q6J("ngClass",e.isMobile||e.isCompactLogin()?"px-4":"col-span-2"),g.xp6(1),g.Q6J("ngClass",g.VKq(31,qt,e.isMobile||e.isCompactLogin())),g.xp6(1),g.Gre("font-weight-bold ",e.isMobile||e.isCompactLogin()?"text-xl mb-0":"text-lg mb-6",""),g.xp6(2),g.Q6J("ngIf",e.isMobile||e.isCompactLogin()),g.xp6(1),g.Q6J("ngIf",e.isMobile||e.isCompactLogin()),g.xp6(1),g.Q6J("ngIf",!e.isMobile&&!e.isCompactLogin()),g.xp6(1),g.Q6J("ngIf",e.lastUpdatedTimestamp),g.xp6(1),g.Q6J("ngIf",e.isMobile||e.isCompactLogin()),g.xp6(1),g.Q6J("ngClass",g.VKq(33,ot,e.isMobile||e.isCompactLogin())),g.xp6(1),g.Gre("font-weight-bold ",e.isMobile||e.isCompactLogin()?"text-xl mb-4":"text-lg mb-6",""),g.xp6(2),g.Q6J("gotBorder",!e.isMobile&&!e.isCompactLogin()),g.xp6(1),g.Q6J("ngIf",e.isMobile||e.isCompactLogin()),g.xp6(1),g.Q6J("ngIf",e.re
1commendedFundList&&e.recommendedFundList.length>0||e.isLoadingRecommendedFund),g.xp6(1),g.Q6J("ngIf",e.isMobile||e.isCompactLogin()),g.xp6(2),g.Q6J("displayLength",5)("productPage",!0)("isCenter",!1),g.xp6(1),g.Gre("flex flex-row gap-2 items-center cursor-pointer w-fit ",e.isMobile?"mb-4":"mb-6",""),g.xp6(1),g.Gre("font-weight-bold ",e.isMobile?"text-xl mb-0":"text-lg mb-0",""),g.xp6(3),g.Q6J("ngIf",e.isMobile||e.isCompactLogin()))},directives:[h.c,x.mk,b.i,x.O5,T.e,v.D,Z.k,i.rH,y.f,w.C,A.j,L.nF,x.sg,L.YC,C.E,x.tP,_.L,S.v,q.SY,F.l,N.L],pipes:[k.M,I.E,O.X$],styles:["app-funds-overview .swiper{margin-left:0;margin-right:0}app-funds-overview .text-10px{font-size:10px}app-funds-overview .truncate-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}app-funds-overview .number-1,app-funds-overview .number-2,app-funds-overview .number-3{color:var(--brand-accent1-6);opacity:.3}app-funds-overview .number-1.mobile{color:#03a7d1;font-weight:800;opacity:1}app-funds-overview .number-2.mobile{color:#60bddb;font-weight:800;opacity:1}app-funds-overview .number-3.mobile{color:#90d0e4;font-weight:800;opacity:1}app-funds-overview .number-4,app-funds-overview .number-5{color:var(--black-4);opacity:.3}app-funds-overview .number-4.mobile,app-funds-overview .number-5.mobile{color:var(--black-4);font-weight:800;opacity:1}@media only screen and (min-width: 992px){app-funds-overview .trading-holiday-height{height:295px}}app-funds-overview ui-border-bottom.compact-full-bleed{display:block;margin-left:-64px;margin-right:-64px}"],encapsulation:2}),(0,s.gn)([(0,a.Ph)(r.qU.isMobileResolution)],Ft.prototype,"isMobileResolution$",void 0),(0,s.gn)([(0,a.Ph)(l.j.getLoginStatus)],Ft.prototype,"getLoginStatus$",void 0);const Nt=[{path:"",component:Ft},{path:o.o.FACTSHEET,loadChildren:()=>Promise.all([n.e(5317),n.e(6694),n.e(7773),n.e(7136),n.e(487),n.e(6402),n.e(6387),n.e(1203),n.e(5212),n.e(5206),n.e(6890),n.e(8592),n.e(1051)]).then(n.bind(n,91051)).then(t=>t.FundFactsheetModule)},{path:"**",redirectTo:o.o.HOME}];let kt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=g.oAB({type:t}),t.\u0275inj=g.cJS({imports:[[i.Bz.forChild(Nt)],i.Bz]}),t})()},30763:(t,e,n)=>{"use strict";n.r(e),n.d(e,{FundsModule:()=>L});var i=n(38583),o=n(97706),s=n(74457),a=n(29790),r=n(15392),l=n(90852),c=n(21007),d=n(2616),g=n(80990),p=n(1279),u=n(54046),f=n(91081),m=n(94780),h=n(95876),x=n(50635),b=n(49297),T=n(4444),v=n(41575),Z=n(10167),y=n(46268),w=n(47269),A=n(37716);let L=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=A.oAB({type:t}),t.\u0275inj=A.cJS({imports:[[i.ez,o.m,s._,a.aw,r.lt,l.W,c.W,d.s,g.O,p.x,u.c,f.b,m.T,h.t,x.W,b.y,T.R,v.kz,Z.$,y.a,w.v]]}),t})()},75248:(t,e,n)=>{"use strict";n.d(e,{o:()=>l});var i=n(37716),o=n(55244),s=n(26643),a=n(32566);let r=(()=>{class t{constructor(t,e){this.httpService=t,this.paramsService=e,this.BASE_URL=o.h.FUND_ETF}getExchangeHolidayList(){return this.httpService.post(this.BASE_URL+o.h.GET_EXCHANGE_HOLIDAY_LIST)}getPublicHolidayList(){return this.httpService.post(this.BASE_URL+o.h.GET_PUBLIC_HOLIDAY_LIST)}getFundHolidayList(t){return this.httpService.post(this.BASE_URL+o.h.GET_FUND_HOLIDAY_CALENDAR_LIST,null,{paramManagerCode:t})}findCountries(){return this.httpService.get(this.BASE_URL+o.h.FIND_COUNTRIES)}findAllRecommendFunds(){return this.httpService.post(this.BASE_URL+o.h.GET_FUND_SELECTOR_TABLE_INFO,{recommendedOnly:!0})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(s.O),i.LFG(a.O))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),l=(()=>{class t{constructor(t){this.calendarRestService=t}getExchangeHolidayList(){return this.calendarRestService.getExchangeHolidayList()}getPublicHolidayList(){return this.calendarRestService.getPublicHolidayList()}getFundHolidayList(t){return this.calendarRestService.getFundHolidayList(t)}findCountries(){return this.calendarRestService.findCountries()}findAllRecommendFunds(){return this.calendarRestService.findAllRecommendFunds()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},2616:(t,e,n)=>{"use strict";n.d(e,{s:()=>r});var i=n(38583),o=n(3082),s=n(46268),a=n(37716);let r=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=a.oAB({type:t}),t.\u0275inj=a.cJS({imports:[[i.ez,o.P,s.a]]}),t})()},85841:(t,e,n)=>{"use strict";n.d(e,{b:()=>y});var i=n(64762),o=n(28645),s=n(78641),a=n(98506),r=n(37716),l=n(38583),c=n(14169),d=n(12630),g=n(71155);function p(t,e){1&t&&r.GkF(0)}function u(t,e){if(1&t&&(r.TgZ(0,"a",9),r.YNc(1,p,1,0,"ng-container",10),r.qZA()),2&t){const t=r.oxw(3),e=r.MAs(3);r.Q6J("routerLink",t.routerLink),r.xp6(1),r.Q6J("ngTemplateOutlet",e)}}function f(t,e){1&t&&r.GkF(0)}function m(t,e){if(1&t&&(r.TgZ(0,"a"),r.YNc(1,f,1,0,"ng-container",10),r.qZA()),2&t){const t=r.oxw(3),e=r.MAs(3);
1r.uIk("href",t.hrefUrl,r.LSH),r.xp6(1),r.Q6J("ngTemplateOutlet",e)}}function h(t,e){1&t&&r.GkF(0)}function x(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",11),r.NdJ("click",function(){r.CHM(t);const e=r.oxw(3);return e.navigateToOldWeb(e.oldUrl)}),r.YNc(1,h,1,0,"ng-container",10),r.qZA()}if(2&t){r.oxw(3);const t=r.MAs(3);r.xp6(1),r.Q6J("ngTemplateOutlet",t)}}function b(t,e){if(1&t&&(r.ynx(0),r.TgZ(1,"div",4),r.YNc(2,u,2,2,"a",5),r.YNc(3,m,2,2,"a",3),r.YNc(4,x,2,1,"a",6),r.TgZ(5,"h4",7),r._UZ(6,"ui-format-value",8),r.qZA(),r.qZA(),r.BQk()),2&t){const t=r.oxw(2);r.xp6(2),r.Q6J("ngIf",t.routerLink),r.xp6(1),r.Q6J("ngIf",t.hrefUrl),r.xp6(1),r.Q6J("ngIf",t.oldUrl),r.xp6(2),r.Q6J("value",t.nzTitle)("typeParam",t.nzTitleDefault)}}function T(t,e){1&t&&(r.TgZ(0,"div"),r.Hsn(1),r.qZA())}function v(t,e){if(1&t&&(r.TgZ(0,"div",2),r.YNc(1,b,7,5,"ng-container",3),r.YNc(2,T,2,0,"div",3),r.qZA()),2&t){const t=r.oxw();r.Q6J("ngClass",t.getClassList()),r.xp6(1),r.Q6J("ngIf",!t.hideBackButton),r.xp6(1),r.Q6J("ngIf",t.rightContent)}}function Z(t,e){1&t&&r._UZ(0,"ui-icon",12)}class y{constructor(t){this.store=t,this.hrefUrl="",this.routerLink="",this.oldUrl="",this.nzTitle="",this.nzTitleDefault="",this.hideBackButton=!1,this.rightContent=!1}ngOnInit(){}navigateToOldWeb(t){const e=this.store.selectSnapshot(a.j.getToken);fetch(t,{method:"GET",headers:{"X-AUTH-TOKEN":e}}).then(e=>{window.open(t,"_blank")}).catch(t=>{console.error("There was a problem with the fetch operation:",t)})}getClassList(){return[this.nzClass,...this.rightContent?["flex-row",this.rightContentClass]:[]].filter(Boolean)}}y.\u0275fac=function(t){return new(t||y)(r.Y36(o.yh))},y.\u0275cmp=r.Xpm({type:y,selectors:[["ui-web-header"]],inputs:{hrefUrl:"hrefUrl",routerLink:"routerLink",oldUrl:"oldUrl",nzTitle:"nzTitle",nzTitleDefault:"nzTitleDefault",hideBackButton:"hideBackButton",rightContent:"rightContent",rightContentClass:"rightContentClass",nzClass:"nzClass"},ngContentSelectors:["*"],decls:4,vars:3,consts:[["class","flex pb-5 gap-3",3,"ngClass",4,"ngIf"],["icon",""],[1,"flex","pb-5","gap-3",3,"ngClass"],[4,"ngIf"],[1,"flex","gap-3"],[3,"routerLink",4,"ngIf"],[3,"click",4,"ngIf"],[1,"text-md","mb-0"],["type","translate",3,"value","typeParam"],[3,"routerLink"],[4,"ngTemplateOutlet"],[3,"click"],["icon","left-arrow-1","iconClass","cursor-pointer font-bold"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,v,3,3,"div",0),r.ALo(1,"async"),r.YNc(2,Z,1,0,"ng-template",null,1,r.W1O)),2&t&&r.Q6J("ngIf",!r.lcZ(1,1,e.isMobileResolution$))},directives:[l.O5,l.mk,c.i,d.yS,l.tP,g.f],pipes:[l.Ov],styles:[""],encapsulation:2}),(0,i.gn)([(0,o.Ph)(s.qU.isMobileResolution)],y.prototype,"isMobileResolution$",void 0)},90852:(t,e,n)=>{"use strict";n.d(e,{W:()=>l});var i=n(97706),o=(n(85841),n(29790)),s=n(54046),a=n(1279),r=n(37716);let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.m,o.aw,s.c,a.x]]}),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.