1"use strict";(self.webpackChunkreplatform_frontend=self.webpackChunkreplatform_frontend||[]).push([[580],{4580:(Lm,b1,_)=>{_.r(b1),_.d(b1,{AdminLayoutModule:()=>Nm});var s=_(6895),g=_(2761),U2=_(3081),T=_(2031),k=_(4826),$2=_(5642),E2=_(1986),j2=_(347),u=_(4750),t=_(4650),V=_(2915),Y=_(529);let R2=(()=>{class n extends V._{constructor(e){super(e),this.http=e,this.endPoint="/graphql",this.manualConstructor()}getBlockPostByTitle(e,i){const a=JSON.stringify({query:"\n fragment FileParts on UploadFileEntityResponse {\n data {\n id\n attributes {\n alternativeText\n width\n height\n mime\n url\n formats\n }\n }\n }\n fragment ButtonTextSectionComponent on ComponentSectionsButtonText {\n id\n button_title\n button_icon {\n ...FileParts\n }\n url\n button_font_color\n new_tab\n }\n query GetBlockPosts(\n $publicationState: PublicationState!,\n $locale: I18NLocaleCode!,\n $title: String!)\n {\n blockPosts(\n filters: {\n title: {\n eqi: $title\n }\n }\n publicationState: $publicationState\n locale: $locale\n ) {\n data {\n id\n attributes {\n title\n description\n published_date\n banners {\n carouselBannerList {\n id\n title\n subtitle\n clickableText\n url\n isNewTab\n bannerImage {\n ...FileParts\n }\n }\n }\n pageContent {\n __typename\n ... on ComponentSectionsRichTextEditor {\n id\n content\n }\n ... on ComponentSectionsCarouselBannerSection {\n id\n carouselBannerList {\n id\n title\n subtitle\n clickableText\n url\n isNewTab\n bannerImage {\n ...FileParts\n }\n }\n }\n ... on ComponentSectionsLargeVideo {\n id\n title\n video_link\n video {\n ...FileParts\n }\n poster {\n ...FileParts\n }\n }\n ... on ComponentSectionsBlock15 {\n id\n block_title\n faq_button: cta_button {\n ...ButtonTextSectionComponent\n }\n icon {\n ...FileParts\n }\n faq_questions(pagination: { limit: -1 }){\n data {\n id\n attributes {\n Question\n Answer\n }\n }\n }\n }\n }\n }\n }\n }\n }\n ",variables:{locale:e,publicationState:"LIVE",title:i}});return this.http.post(this.fullPathEndPoint,a,{headers:{"content-type":"application/json"}})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Y.eN))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var N=_(6955),I=_(1011),q=_(3376);function G2(n,o){if(1&n&&(t.TgZ(0,"div",6),t._UZ(1,"img",11),t.qZA()),2&n){const e=t.oxw(2).$implicit,i=t.oxw(2);t.Q6J("ngClass",null==e.title?"col-12":"col-md-6 col-sm-12"),t.xp6(1),t.Q6J("src",i.getImageUrl(e.bannerImage.data.attributes.url),t.LSH)("alt",(null==e||null==e.bannerImage||null==e.bannerImage.data||null==e.bannerImage.data.attributes?null:e.bannerImage.data.attributes.alternativeText)||"Pos Banner")}}function K2(n,o){if(1&n&&(t.TgZ(0,"div",5)(1,"div",6)(2,"div",7)(3,"div",8),t._uU(4),t.qZA(),t.TgZ(5,"p"),t._uU(6),t.qZA(),t.TgZ(7,"a",9),t._uU(8),t.qZA()()(),t.YNc(9,G2,2,3,"div",10),t.qZA()),2&n){const e=t.oxw().$implicit;t.Q6J("ngClass",e.title?"d-md-flex d-sm-block":"d-block"),t.xp6(1),t.Q6J("ngClass",e.title?"content-container col-md-6 col-sm-12":"d-none"),t.xp6(3),t.Oqu(e.title),t.xp6(2),t.Oqu(e.subtitle),t.xp6(1),t.Q6J("href",e.url,t.LSH)("target",e.isNewTab?"_blank":""),t.xp6(1),t.Oqu(e.clickableText),t.xp6(1),t.Q6J("ngIf",e.bannerImage.data)}}
1function W2(n,o){if(1&n&&(t.ynx(0),t.YNc(1,K2,10,8,"ng-template",4),t.BQk()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("id",e.bannerImage.id)}}function X2(n,o){if(1&n&&(t.TgZ(0,"div",1)(1,"owl-carousel-o",2),t.YNc(2,W2,2,1,"ng-container",3),t.qZA()()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("options",e.customOptions),t.xp6(1),t.Q6J("ngForOf",e.data.carouselBannerList)}}let F=(()=>{class n{constructor(){this.customOptions={loop:!0,mouseDrag:!0,touchDrag:!1,pullDrag:!1,autoplay:!0,dots:!0,navSpeed:700,responsive:{0:{items:1},400:{items:1},740:{items:1},940:{items:1}}}}getImageUrl(e){return(0,u.KS)(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-carousel"]],inputs:{data:"data"},decls:2,vars:1,consts:[["class","banner-container",4,"ngIf"],[1,"banner-container"],[1,"banner",3,"options"],[4,"ngFor","ngForOf"],["carouselSlide","",3,"id"],[1,"banner-wrapper",3,"ngClass"],[3,"ngClass"],[1,"inner-container"],[1,"carousel-title"],[1,"red-download",3,"href","target"],[3,"ngClass",4,"ngIf"],["loading","lazy",1,"img-fluid",3,"src","alt"]],template:function(e,i){1&e&&(t.TgZ(0,"div"),t.YNc(1,X2,3,2,"div",0),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",i.data.carouselBannerList))},dependencies:[k.Fy,k.Mp,s.mk,s.sg,s.O5],styles:[".banner-container[_ngcontent-%COMP%]{margin:2rem 0}.banner-container[_ngcontent-%COMP%] .banner-wrapper[_ngcontent-%COMP%]{background-color:var(--light-grey)}.banner-container[_ngcontent-%COMP%] .banner-wrapper[_ngcontent-%COMP%] .col-md-6[_ngcontent-%COMP%]{padding:0}.banner-container[_ngcontent-%COMP%] .banner-wrapper[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{background-color:var(--light-grey);display:flex;flex-direction:column;align-self:center;padding:1rem}.banner-container[_ngcontent-%COMP%] .banner-wrapper[_ngcontent-%COMP%] .carousel-title[_ngcontent-%COMP%]{font-weight:700;font-size:3.5rem}.banner-container[_ngcontent-%COMP%] .banner-wrapper[_ngcontent-%COMP%] .red-download[_ngcontent-%COMP%]{color:red;font-weight:700;text-decoration:none}.banner-container[_ngcontent-%COMP%] .banner-wrapper[_ngcontent-%COMP%] .red-download[_ngcontent-%COMP%]:hover{text-decoration:underline}"]}),n})();var Z=_(1635),P=_(1481);let U=(()=>{class n{constructor(e){this.sanitizer=e}ngOnInit(){this.safeSrc=this.sanitizer.bypassSecurityTrustResourceUrl(this.video.video_link)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(P.H7))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-video"]],inputs:{video:"video"},decls:2,vars:1,consts:[[1,"video-container"],["width","65%","height","500","webkitallowfullscreen","","mozallowfullscreen","","allowfullscreen","",3,"src"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t._UZ(1,"iframe",1),t.qZA()),2&e&&(t.xp6(1),t.Q6J("src",i.safeSrc,t.uOi))},styles:[".video-container[_ngcontent-%COMP%]{margin-bottom:4rem}"]}),n})();var x=_(9652);function t3(n,o){if(1&n&&t._UZ(0,"img",3),2&n){const e=t.oxw();t.s9C("src",null==e.button.button_icon||null==e.button.button_icon.data||null==e.button.button_icon.data.attributes?null:e.button.button_icon.data.attributes.url,t.LSH),t.Q6J("alt",(null==e.button.button_icon||null==e.button.button_icon.data||null==e.button.button_icon.data.attributes?null:e.button.button_icon.data.attributes.alternativeText)||"Pos Icon")}}function e3(n,o){if(1&n&&(t.TgZ(0,"div",4),t._uU(1),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Oqu(e.button.button_title)}}let i1=(()=>{class n{constructor(){this.hasMinWidth=!0,this.stopPropagation=!1}onButtonPress(){null!=this.onPress?this.onPress():window.open(this.button.url,this.button.new_tab?"_blank":"_self")}getButtonStyle(){var e;let i=`color:${null!==(e=this.button.button_font_color)&&void 0!==e?e:"#FF3358"}; `;return this.hasMinWidth||(i+="min-width: unset; padding: 0;"),i}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-text-button"]],inputs:{button:"button",hasMinWidth:"hasMinWidth",onPress:"onPress",stopPropagation:"stopPropagation"},decls:4,vars:4,consts:[[1,"btn","button",3,"click"],["loading","lazy","alt","button Icon","class","icon",3,"src","alt",4,"ngIf"],["class","title",4,"ngIf"],["loading","lazy","alt","button Icon",1,"icon",3,"src","alt"],[1,"title"]],template:function(e,i){1&e&&(t.TgZ(0,"div")(1,"button",0),t.NdJ("click",function(){return i.onButtonPress()}),t.YNc(2,t3,1,2,"img",1),t.YNc(3,e3,2,1,"div",2),t.qZA()()),2&e&&(t.xp6(1),t.Akn(i.getButtonStyle()),t.xp6(1),t.Q6J("ngIf",null==i.button.button_icon?null:i.button.button_icon.data),t.xp6(1),t.Q6J("ngIf",i.button.button_title))},dependencies:[s.O5],styles:[".button[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;
1min-width:200px}.button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:20px;height:20px;flex-shrink:0;margin-right:14px}.button[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;font-family:var(--font-regular)}@media only screen and (max-width: 767px){.button[_ngcontent-%COMP%]{height:44px;width:100%;padding:0 28px}.button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:16px;height:16px;margin-right:10px}.button[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:14px;font-weight:400}}"]}),n})();function n3(n,o){if(1&n&&(t.TgZ(0,"div",4),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Oqu(e.data.block_title)}}function i3(n,o){if(1&n&&t._UZ(0,"div",12),2&n){const e=t.oxw(4);t.Akn(e.getExpansionImage())}}function o3(n,o){if(1&n&&t._UZ(0,"div",12),2&n){const e=t.oxw(4);t.Akn(e.getCollapsingImage())}}function a3(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,i3,1,2,"div",11),t.YNc(2,o3,1,2,"div",11),t.qZA()),2&n){const e=t.oxw().index,i=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!i.panelOpenState[e]),t.xp6(1),t.Q6J("ngIf",i.panelOpenState[e])}}function c3(n,o){1&n&&t._UZ(0,"div",15)}function l3(n,o){1&n&&t._UZ(0,"div",16)}function r3(n,o){if(1&n&&(t.YNc(0,c3,1,0,"div",13),t.YNc(1,l3,1,0,"div",14)),2&n){const e=t.oxw().index,i=t.oxw(2);t.Q6J("ngIf",!i.panelOpenState[e]),t.xp6(1),t.Q6J("ngIf",i.panelOpenState[e])}}function s3(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-expansion-panel",7),t.NdJ("opened",function(){const c=t.CHM(e).index,l=t.oxw(2);return t.KtG(l.panelOpenState[c]=!0)})("closed",function(){const c=t.CHM(e).index,l=t.oxw(2);return t.KtG(l.panelOpenState[c]=!1)}),t.TgZ(1,"mat-expansion-panel-header")(2,"mat-panel-title"),t._uU(3),t.qZA(),t.TgZ(4,"mat-panel-description"),t.YNc(5,a3,3,2,"div",8),t.YNc(6,r3,2,2,"ng-template",null,9,t.W1O),t.qZA()(),t._UZ(8,"app-inner-html",10),t.qZA()}if(2&n){const e=o.$implicit,i=t.MAs(7),a=t.oxw(2);t.xp6(3),t.hij(" ",e.attributes.Question," "),t.xp6(2),t.Q6J("ngIf",null==a.data.icon||null==a.data.icon.data?null:a.data.icon.data.attributes)("ngIfElse",i),t.xp6(3),t.Q6J("data",e.attributes.Answer)}}function p3(n,o){if(1&n&&(t.TgZ(0,"div")(1,"mat-accordion",5),t.YNc(2,s3,9,4,"mat-expansion-panel",6),t.qZA()()),2&n){const e=t.oxw();t.Tol(e.data.block_title?"faq-container":""),t.xp6(2),t.Q6J("ngForOf",e.data.faq_questions.data)}}function m3(n,o){if(1&n&&(t.TgZ(0,"div",17),t._UZ(1,"app-block-text-button",18),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("button",e.data.faq_button)}}let j=(()=>{class n{constructor(){this.panelOpenState={}}getExpansionImage(){var e,i;return`background-image: url(${null===(i=null===(e=this.data.icon)||void 0===e?void 0:e.data)||void 0===i?void 0:i.attributes.url})`}getCollapsingImage(){var e,i;return`background-image: url(${null===(i=null===(e=this.data.icon)||void 0===e?void 0:e.data)||void 0===i?void 0:i.attributes.url}); transform: rotate(180deg);`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-fifteen"]],inputs:{data:"data"},decls:4,vars:3,consts:[[1,"block15-container"],["class","block-title",4,"ngIf"],[3,"class",4,"ngIf"],["class","button-container",4,"ngIf"],[1,"block-title"],[1,"example-headers-align"],[3,"opened","closed",4,"ngFor","ngForOf"],[3,"opened","closed"],[4,"ngIf","ngIfElse"],["defaultIcon",""],[3,"data"],["class","expansion-icon",3,"style",4,"ngIf"],[1,"expansion-icon"],["class","expansion-icon arrow-down-icon",4,"ngIf"],["class","expansion-icon arrow-up-icon",4,"ngIf"],[1,"expansion-icon","arrow-down-icon"],[1,"expansion-icon","arrow-up-icon"],[1,"button-container"],[3,"button"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,n3,2,1,"div",1),t.YNc(2,p3,3,3,"div",2),t.YNc(3,m3,2,1,"div",3),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",i.data.block_title),t.xp6(1),t.Q6J("ngIf",null==i.data.faq_questions?null:i.data.faq_questions.data),t.xp6(1),t.Q6J("ngIf",i.data.faq_button))},dependencies:[s.sg,s.O5,x.pp,x.ib,x.yz,x.yK,x.u4,Z.W,i1],styles:[".block15-container{border-radius:1rem;margin-bottom:3rem;font-family:var(--font-regular)}.block15-container .block-title{text-align:center;font-size:38px;font-weight:700;color:#2e2e2e}.block15-container .button-container{display:flex;justify-content:center;margin-top:2rem}.block15-container .faq-container{margin-top:2rem}.block15-container .mat-expansion-indicator:after{display:none!important}.block15-container .mat-expansion-panel-header-description{flex-grow:0!important}.block15-container .mat-expansion-panel-header{padding:0}.block15-container .mat-expansion-panel-header-title,.block15-container .mat-expansion-panel-header-description{color:#000;font-weight:700;font-family:var(--font-regular)!important}.block15-container .mat-expansion-panel-header{border-bottom:none!important}.block15-container .mat-expansion-panel-body{padding:1rem 2rem!important}.block15-container .mat-expansion-panel-content{color:var(--secondary-text)!important;font-family:var(--font-regular)!important;font-weight:300;padding-right:30px}.block15-container .mat-expansion-panel:not([class*=mat-elevation-z]){border-bottom:none!important;box-shadow:none;padding:.5rem 0}.block15-container .mat-expansion-panel:before{border-bottom:none!important}.block15-container .mat-accordion .mat-expansion-panel:last-of-type{border-radius:0}.block15-container .mat-expansion-panel-header:hover{background-color:#fff!important}.block15-container .mat-expansion-panel-header-title,.block15-container .mat-expansion-panel-header-description{font-size:1.3rem}.block15-container .expansion-icon{height:28px;width:28px;background-size:cover;border:none;border-width:0!important}.block15-container .arrow-up-icon{background-image:url(https://assets.pos.com.my/pos-corporate/images/arrow-up.png);height:28px;width:28px;background-size:cover;border:none;border-width:0!important}.block15-container .arrow-down-icon{background-image:url(https://assets.pos.com.my/pos-corporate/images/arrow-down.png);height:28px;width:28px;background-size:cover;border:none;border-width:0!important}@media only screen and (max-width: 767px){.block15-container{padding:1rem}.block15-container .mat-expansion-panel-header{padding:0rem!important}.block15-container .mat-expansion-panel-content{padding:0!important}.block15-container .mat-expansion-panel-body{padding-left:0rem!important;padding-right:0rem!important}.block15-container .mat-expansion-panel-header-title,.block15-container .mat-expansion-panel-header-description{font-size:16px}}\n"],encapsulation:2}),n})();function _3(n,o){if(1&n&&(t.TgZ(0,"div",10)(1,"div")(2,"a",11),t._UZ(3,"img",12),t.qZA()()()),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.xp6(2),t.Q6J("href",null==e?null:e.url,t.LSH),t.xp6(1),t.Q6J("src",i.getImageUrl(e.bannerImage.data.attributes.url),t.LSH)("alt",(null==e||null==e.bannerImage||null==e.bannerImage.data||null==e.bannerImage.data.attributes?null:e.bannerImage.data.attributes.alternativeText)||"Pos Banner Image")}}function d3(n,o){if(1&n&&(t.ynx(0),t.TgZ(1,"div"),t._uU(2),t.qZA(),t.YNc(3,_3,4,3,"ng-template",9),t.BQk()),2&n){const e=o.$implicit;t.xp6(2),t.Oqu(e.bannerImage.data.attributes.url),t.xp6(1),t.Q6J("id",e.id.toString())}}function f3(n,o){if(1&n&&(t.TgZ(0,"div",7)(1,"owl-carousel-o",8),t.YNc(2,d3,4,2,"ng-container",6),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("options",e.customOptions),t.xp6(1),t.Q6J("ngForOf",null==e.contentDetails||null==e.contentDetails.banners[0]?null:e.contentDetails.banners[0].carouselBannerList)}}function g3(n,o){if(1&n&&t._UZ(0,"app-inner-html",15),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function u3(n,o){if(1&n&&t._UZ(0,"app-carousel",15),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function v3(n,o){if(1&n&&t._UZ(0,"app-video",16),2&n){const e=t.oxw().$implicit;t.Q6J("video",e)}}function h3(n,o){if(1&n&&t._UZ(0,"app-block-fifteen",15),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function x3(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,g3,1,1,"app-inner-html",13),t.YNc(2,u3,1,1,"app-carousel",13),t.YNc(3,v3,1,1,"app-video",14),t.YNc(4,h3,1,1,"app-block-fifteen",13),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf","ComponentSectionsRichTextEditor"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCarouselBannerSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsLargeVideo"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock15"==e.__typename)}}function b3(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,f3,3,2,"div",2),t.TgZ(2,"div",3)(3,"div",4),t._uU(4),t.ALo(5,"amDateFormat"),t.qZA(),t.TgZ(6,"h1",5),t._uU(7),t.qZA()(),t.YNc(8,x3,5,4,"div",6),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",null==e.contentDetails?null:e.contentDetails.banners),t.xp6(3),t.Oqu(t.xi3(5,4,e.contentDetails.published_date,"DD MMM YYYY hh:mm a")),t.xp6(3),t.Oqu(e.contentDetails.title),t.xp6(1),t.Q6J("ngForOf",e.innerPageContent)}}let C3=(()=>{class n{constructor(e,i,a,c,l,r,p){this.blockPostService=e,this.location=i,this.router=a,this.popupService=c,this.activatedRoute=l,this.metaService=r,this.platformService=p,this.customOptions={loop:!0,mouseDrag:!0,touchDrag:!1,pullDrag:!1,autoplay:!0,dots:!0,navSpeed:700,responsive:{0:{items:1},400:{items:1},740:{items:1},940:{items:1}}}}ngOnInit(){this.metaService.updateMeta("Pos Malaysia | Your trusted Malaysian courier & logistics provider | Pos Laju","Pos Malaysia | Your trusted Malaysian courier & logistics provider | Pos Laju"),this.activatedRoute.queryParams.subscribe(e=>{this.postDetailSlug=e.postDetailId}),this.postDetailSlug?this.fetchData():this.router.navigate(["/"])}getImageUrl(e){return(0,u.KS)(e)}fetchData(){const e=this.popupService.openLoading();this.blockPostService.getBlockPostByTitle("en",this.postDetailSlug).subscribe({next:i=>{var a,c,l,r,p,m;null!==(c=null===(a=i?.data)||void 0===a?void 0:a.blockPosts)&&void 0!==c&&c.data&&(this.contentDetails=null===(r=null===(l=i?.data)||void 0===l?void 0:l.blockPosts)||void 0===r?void 0:r.data[0].attributes,this.innerPageContent=null===(m=null===(p=i?.data)||void 0===p?void 0:p.blockPosts)||void 0===m?void 0:m.data[0].attributes.pageContent)},error:i=>{if(i){const a={error:{name:"Error",message:"No data found."}};this.platformService.isBrowserPlatform()&&this.popupService.openAlert(a)}}}).add(()=>{e.close()})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(R2),t.Y36(s.Ye),t.Y36(g.F0),t.Y36(N.W),t.Y36(g.gz),t.Y36(I.R),t.Y36(q.m))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-post-detail"]],decls:2,vars:1,consts:[[1,"main-container"],[4,"ngIf"],["class","banner-wrapper",4,"ngIf"],[1,"text-center","my-5"],[1,"date"],[1,"title-text"],[4,"ngFor","ngForOf"],[1,"banner-wrapper"],[1,"w-100",3,"options"],["carouselSlide","",3,"id"],[1,""],[3,"href"],["loading","lazy",1,"img-fluid",3,"src","alt"],[3,"data",4,"ngIf"],[3,"video",4,"ngIf"],[3,"data"],[3,"video"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,b3,9,7,"div",1),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",i.contentDetails))},dependencies:[k.Fy,k.Mp,s.sg,s.O5,F,Z.W,U,j,T.Ek],styles:[".banner-wrapper img{border-radius:1rem}.owl-carousel.owl-drag .owl-item{height:100%}.date{color:#a9a9a9;font-weight:500;font-size:16px}h1{font-weight:700;margin-top:1rem;font-size:35.2px}.tag-container{flex-direction:row;display:inline-flex;margin-top:1rem;margin-right:.5rem;justify-content:center;flex-wrap:wrap}.tag-container .tagging-pill{border-radius:2rem;background:#FFD2D5;color:#ff3358;font-size:14px;text-align:center;padding:.5rem 1rem;margin-right:1rem;margin-bottom:.5rem;font-weight:500}.title-text{font-weight:700!important;font-family:GothamBold}\n"],encapsulation:2}),n})();var w=_(2619),H=_(2340),J=_(6300);let t1=(()=>{class n extends V._{constructor(e,i){super(e),this.http=e,this.generalService=i,this.endPoint="/graphql",this.manualConstructor()}getPageLayoutData(e,i,a,c,l,r,p){const m=JSON.stringify({query:'\n fragment FileParts on UploadFileEntityResponse {\n data {\n id\n attributes {\n alternativeText\n width\n height\n mime\n url\n formats\n }\n }\n }\n fragment Block2Component on ComponentSectionsBlock2 {\n id\n mainTitle\n sectionTitle\n block2Subtitle: subtitle\n block_2_image_position: image_position\n image {\n ...FileParts\n }\n buttons {\n button_title\n button_icon {\n ...FileParts\n }\n new_tab\n url\n button_background_color\n button_font_color\n button_border_color\n tracking_data\n }\n block_background_color_left\n block_background_color_right\n bullet_points {\n id\n bullet_title\n }\n }\n fragment ButtonSectionComponent on ComponentSectionsButtonSection {\n id\n button_title\n button_icon {\n ...FileParts\n }\n new_tab\n url\n button_background_color\n button_font_color\n button_border_color\n tracking_data\n }\n fragment ButtonTextSectionComponent on ComponentSectionsButtonText {\n id\n button_title\n button_icon {\n ...FileParts\n }\n url\n button_font_color\n new_tab\n }\n query GetLayouts(\n $slug: String!\n $publicationState: PublicationState!\n $locale: I18NLocaleCode!\n $blockNineContentSkip: Int\n $blockNineContentLimit: Int\n ) {\n layouts(\n filters: { slug: { eq: $slug } }\n publicationState: $publicationState\n locale: $locale\n ) {\n data {\n id\n attributes {\n createdAt\n locale\n localizations {\n data {\n id\n attributes {\n locale\n }\n }\n }\n slug\n title\n metadata {\n metaTitle\n metaDescription\n }\n schemaMarkup\n sidemenu_position\n isTopMenu\n design\n pageContent {\n __typename\n ... on ComponentSectionsRichTextEditor {\n id\n content\n }\n ... on ComponentSectionsReportSection {\n id\n reports {\n id\n title\n subtitle\n image {\n ...FileParts\n }\n buttonText\n url\n newTab\n }\n }\n ... on ComponentSectionsCollapsableSection {\n id\n collapsibleSectionList (pagination: { limit: -1 }) {\n id\n sectionTitle\n subtitle\n sectionData (pagination: { limit: -1 }) {\n id\n title\n buttonText\n url\n newTab\n image {\n ...FileParts\n }\n }\n }\n }\n ... on ComponentSectionsSimpleReportSection {\n id\n simpleReportList {\n id\n title\n icon {\n ...FileParts\n }\n url\n isNewTab\n buttonText\n }\n }\n ... on ComponentSectionsCarouselBannerSection {\n id\n carouselBannerList {\n id\n title\n subtitle\n clickableText\n url\n isNewTab\n bannerImage {\n ...FileParts\n }\n }\n }\n ... on ComponentSectionsPostList {\n id\n categories {\n data {\n attributes {\n title\n slug\n }\n }\n }\n }\n ... on ComponentSectionsTabsLayout {\n id\n Tab {\n title\n description\n tabData {\n id\n title\n short_description\n slug\n image {\n ...FileParts\n }\n }\n content\n }\n }\n ... on ComponentSectionsBlock1 {\n id\n mainTitle\n blok1Subtitle: subtitle\n image {\n ...FileParts\n }\n block_1_image_position: image_position\n buttons {\n button_title\n button_icon {\n ...FileParts\n }\n url\n button_background_color\n button_border_color\n button_font_color\n new_tab\n tracking_data\n }\n block_background_color_right\n block_background_color_left\n }\n ... on ComponentSectionsBlock2 {\n ...Block2Component\n }\n ... on ComponentSectionsBlock3 {\n id\n main_block_t
1itle\n body {\n id\n tab_button_text\n tracking_data\n block2 {\n ...Block2Component\n }\n }\n }\n ... on ComponentSectionsBlock5 {\n id\n mainTitle\n sectionTitle\n block_background_color_left\n block_background_color_right\n block_5_image_position: image_position\n contentList {\n id\n content_list_title\n content_list_description\n expansion_icon {\n ...FileParts\n }\n content_image {\n ...FileParts\n }\n tracking_data\n }\n }\n ... on ComponentSectionsBlock6 {\n id\n title\n description\n block6_image: image {\n ...FileParts\n }\n image_position\n block_background_color_left\n block_background_color_right\n block6_button: button {\n ...ButtonSectionComponent\n }\n text_button {\n ...ButtonTextSectionComponent\n }\n line_color\n line_points {\n id\n bullet_title\n }\n }\n ... on ComponentSectionsBlock9 {\n id\n block_header_title: block_header\n block9_block_contents: block_contents(\n sort: "id:desc"\n pagination: {\n start: $blockNineContentSkip\n limit: $blockNineContentLimit\n }\n ) {\n id\n title\n sectionTitle\n subtitle\n image {\n ...FileParts\n }\n block_background_color_left\n block_background_color_right\n sub_block_9_button {\n ...ButtonSectionComponent\n }\n }\n load_more_button_text\n }\n ... on ComponentSectionsBlock10 {\n id\n block10_block_header: block_header\n testimonials {\n data {\n id\n attributes {\n position\n customerName\n customerImage {\n ...FileParts\n }\n block_background_color_left\n block_background_color_right\n subtitle\n image_right_position\n }\n }\n }\n }\n ... on ComponentSectionsBlock11 {\n id\n block_header\n block_subtitle\n block_background_color_left\n block_background_color_right\n enabled_border\n block11_block_contents: block_contents {\n id\n icon {\n ...FileParts\n }\n icon_html\n cta_link\n is_new_tab\n }\n cta_button {\n ...ButtonSectionComponent\n }\n }\n ... on ComponentSectionsBlock12 {\n id\n block_background_color_left\n block_background_color_right\n enabled_border\n block12_block_contents: block_contents {\n id\n icon {\n ...FileParts\n }\n }\n }\n ... on ComponentSectionsBlock13 {\n id\n block13_title: title\n block13_description: description\n block_background_color_left\n block_background_color_right\n block13_border: enabled_border\n button {\n ...ButtonSectionComponent\n }\n }\n ... on ComponentSectionsBlock14 {\n id\n block14_title: title\n block14_description: description\n block_background_color_left\n block_background_color_right\n block14_button: button {\n ...ButtonSectionComponent\n }\n }\n ... on ComponentSectionsBlock18A {\n id\n block_list(pagination: { limit: -1 }) {\n id\n title\n icon {\n ...FileParts\n }\n attachment {\n ...FileParts\n }\n is_new_tab\n }\n }\n ... on ComponentSectionsBlock18B {\n id\n block_list(pagination: { limit: -1 }) {\n id\n section_title\n section_list(pagination: { limit: -1 }) {\n id\n title\n icon {\n ...FileParts\n }\n attachment {\n ...FileParts\n }\n is_new_tab\n }\n }\n }\n ... on ComponentSectionsBlock7 {\n id\n section_title\n block_background_color_right\n block_background_color_left\n block_list {\n id\n title\n image {\n ...FileParts\n }\n sub_title\n url\n }\n cta_button {\n ...ButtonSectionComponent\n }\n }\n ... on ComponentSectionsBlock15 {\n id\n block_title\n faq_button: cta_button {\n ...ButtonTextSectionComponent\n }\n icon {\n ...FileParts\n }\n faq_questions(pagination: { limit: -1 }) {\n data {\n id\n attributes {\n Question\n Answer\n }\n }\n }\n }\n ... on ComponentSectionsBlock16 {\n id\n header_title: title\n published_date\n post_tagging_list {\n id\n tag_title\n }\n banner_sections {\n id\n banner_title: title\n subtitle\n clickableText\n url\n isNewTab\n bannerImage {\n ...FileParts\n }\n }\n video_section {\n id\n vide_title: title\n video_link\n video {\n ...FileParts\n }\n poster {\n ...FileParts\n }\n }\n content_section {\n content\n }\n top_banners {\n id\n title\n subtitle\n clickableText\n url\n isNewTab\n bannerImage {\n ...FileParts\n }\n }\n }\n ... on ComponentSectionsBlock8 {\n id\n tags(pagination: { limit: -1 }) {\n id\n tag_title\n }\n filter_position\n post_items(pagination: { start: 0, limit: 3 }) {\n title\n sub_title\n post_image {\n ...FileParts\n }\n post_tagging_list {\n tag_title\n }\n published_date\n block_background_color_right\n block_background_color_left\n external_url_link\n post_type\n }\n post_button {\n ...ButtonSectionComponent\n }\n block_background_color_right\n block_background_color_left\n }\n ... on ComponentSectionsLargeVideo {\n id\n title\n video {\n ...FileParts\n }\n poster {\n ...FileParts\n }\n }\n ... on ComponentSectionsBlock19 {\n id\n form_name\n success_popup_t
1itle\n success_popup_description\n tnc\n form_input_fields(pagination: { limit: -1 }) {\n id\n section_divider_title\n form_groups(pagination: { limit: -1 }) {\n id\n field_name\n placeholder\n is_mandatory\n dropdown_options {\n dropdown_option_title\n }\n input_type\n }\n }\n }\n ... on ComponentSectionsBlock17 {\n id\n block17_title: title\n block17_description: description\n block_posts {\n data {\n id\n attributes {\n title\n description\n published_date\n }\n }\n }\n }\n ... on ComponentSectionsBlock20 {\n id\n block20_title\n block20_description\n }\n ... on ComponentSectionsBlock11A {\n id\n block11a_block_contents {\n id\n sub_block11a_icon {\n ...FileParts\n }\n sub_block11a_icon_html\n block_background_color_right\n block_background_color_left\n sub_block11a_action_button {\n button_title\n button_icon {\n ...FileParts\n }\n button_font_color\n url\n new_tab\n }\n }\n }\n ... on ComponentSectionsSpace {\n id\n height\n }\n ... on ComponentSectionsBlock21 {\n id\n block21_icon {\n ...FileParts\n }\n block21_title\n block21_description\n block21_bullet_points {\n id\n bullet_title\n bullet_icon {\n ...FileParts\n }\n }\n block21_reward_icons {\n reward_icon {\n ...FileParts\n }\n }\n block21_merchant_icons {\n merchant_icon {\n ...FileParts\n }\n }\n block21_form {\n form_name\n success_popup_title\n success_popup_description\n tnc\n form_input_fields(pagination: { limit: -1 }) {\n id\n section_divider_title\n form_groups(pagination: { limit: -1 }) {\n id\n field_name\n placeholder\n is_mandatory\n dropdown_options {\n dropdown_option_title\n }\n input_type\n }\n }\n }\n }\n ...on ComponentSectionsKnowledgeHub {\n title\n body_content\n banner {\n ...FileParts\n }\n published_date\n author\n social_media_share\n min_read\n }\n ...on ComponentSectionsKnowledgeHubVideoList {\n knowledge_hub_video_list(pagination: { limit: -1 }) {\n title\n description\n video_link\n }\n }\n ...on ComponentSectionsCurvedImageBanner {\n id\n heading\n description\n richText\n img{\n ...FileParts\n }\n image_mobile_1 {\n ...FileParts\n }\n image_mobile_2 {\n ...FileParts\n }\n showRichText\n }\n }\n sidemenu {\n data {\n id\n attributes {\n sidemenu_name\n sideMenuList {\n id\n title\n slug\n parent_slug\n isSubMenuOpen\n subMenu(pagination: { limit: -1 }) {\n id\n title\n slug\n parent_slug\n }\n }\n }\n }\n }\n breadcrumbs {\n id\n path\n title\n }\n }\n }\n }\n }\n ',variables:{slug:this.generalService.removeSlugParams(i),publicationState:a?"PREVIEW":"LIVE",locale:e,blockNineContentSkip:r,blockNineContentLimit:p}});return this.http.post(this.fullPathEndPoint,m,{headers:{"content-type":"application/json"}})}}
1return n.\u0275fac=function(e){return new(e||n)(t.LFG(Y.eN),t.LFG(J.m))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var C1=_(2289),o1=_(5225),R=_(3625);const k3=["navOptionsContainer"];function M3(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",4)(1,"a",5),t.NdJ("click",function(){const c=t.CHM(e).$implicit,l=t.oxw();return t.KtG(l.setActiveNarBar(c))}),t._uU(2),t.qZA(),t._UZ(3,"div",6),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.xp6(1),t.ekj("active",i.activeNavBar===e.slug&&!e.no_selectable),t.Q6J("href",e.slug,t.LSH),t.xp6(1),t.hij(" ",e.title," "),t.xp6(1),t.ekj("active",i.activeNavBar===e.slug&&!e.no_selectable)}}let k1=(()=>{class n{constructor(e,i){this.router=e,this.generalService=i,this.activeNavBar="updates/promo"}ngAfterViewInit(){setTimeout(()=>{const e=this.navOptionsContainer.nativeElement.querySelector(".active_nav_border.active");if(e){const i=e.closest(".nav-option");i&&i.scrollIntoView({behavior:"smooth",block:"center"})}},200)}ngOnInit(){const e=this.router.url.replace("/","");this.activeNavBar=this.generalService.removeSlugParams(e)}setActiveNarBar(e){this.activeNavBar=e.slug}isActiveMenu(e){return this.activeNavBar===e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(g.F0),t.Y36(J.m))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-module-top-navbar"]],viewQuery:function(e,i){if(1&e&&t.Gf(k3,5),2&e){let a;t.iGM(a=t.CRH())&&(i.navOptionsContainer=a.first)}},inputs:{menus:"menus"},decls:4,vars:1,consts:[[1,"navbar-container"],[1,"nav-options-container"],["navOptionsContainer",""],["class","nav-option",4,"ngFor","ngForOf"],[1,"nav-option"],["routerLinkActive","active",1,"nav-title",3,"href","click"],[1,"active_nav_border"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1,2),t.YNc(3,M3,4,6,"div",3),t.qZA()()),2&e&&(t.xp6(3),t.Q6J("ngForOf",i.menus))},dependencies:[s.sg,g.Od],styles:[".navbar-container[_ngcontent-%COMP%]{background-color:#fff;overflow-x:auto;max-width:1200px;margin:5rem 0;display:flex;box-shadow:#2123261a 0 10px 10px -10px}.navbar-container[_ngcontent-%COMP%]::-webkit-scrollbar{height:0rem}.nav-options-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;white-space:nowrap}.nav-option[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;margin-right:1rem;cursor:pointer}.nav-title[_ngcontent-%COMP%]{color:var(--mid-grey2);font-weight:700;font-size:16px;text-align:center;padding:1rem 1.5rem;text-decoration:none}.active[_ngcontent-%COMP%]{color:var(--primary)}.active_nav_border[_ngcontent-%COMP%]{height:.3rem;width:93%;border-radius:2rem}.active_nav_border.active[_ngcontent-%COMP%]{background-color:var(--primary)}@media only screen and (max-width: 420px){.navbar-container[_ngcontent-%COMP%]{margin:0 0 2rem}.navbar-container[_ngcontent-%COMP%] .nav-option[_ngcontent-%COMP%]{margin:0 1rem!important}.navbar-container[_ngcontent-%COMP%] .nav-option[_ngcontent-%COMP%] .nav-title[_ngcontent-%COMP%]{padding:1rem .8rem!important;font-size:1rem!important}}"]}),n})();var a1=_(5743),d=_(4006);const z3=function(n,o){return{"bg-red-50 border-l-4 pb-3 border-[#ED1C24] text-[#ED1C24]":n,"font-normal":o}},w3=function(n){return{"font-family":n}};function y3(n,o){if(1&n&&(t.TgZ(0,"a",4)(1,"h1",5),t._uU(2),t.qZA()()),2&n){const e=o.$implicit,i=t.oxw(2);t.Q6J("href",null==e?null:e.slug,t.LSH),t.xp6(1),t.Q6J("ngClass",t.WLB(4,z3,i.isActiveMenu(e.slug),!i.isActiveMenu(e.slug)))("ngStyle",t.VKq(7,w3,i.isActiveMenu(e.slug)?"var(--font-bold)":"var(--font-medium)")),t.xp6(1),t.hij(" ",null==e?null:e.title," ")}}function T3(n,o){if(1&n&&(t.TgZ(0,"div",2),t.YNc(1,y3,3,9,"a",3),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",null==e.menus?null:e.menus.slice(1))}}function P3(n,o){if(1&n&&(t.TgZ(0,"option",11),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.Q6J("value",e.slug),t.xp6(1),t.hij(" ",e.title," ")}}function Z3(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",6)(1,"div",7)(2,"label",8),t._uU(3,"Menu"),t.qZA(),t.TgZ(4,"select",9),t.NdJ("change",function(a){t.CHM(e);const c=t.oxw();return t.KtG(c.selectTab(a.target.value))}),t.YNc(5,P3,2,2,"option",10),t.qZA()()()}if(2&n){const e=t.oxw();t.xp6(4),t.Q6J("value",e.selectedMenuSlug),t.xp6(1),t.Q6J("ngForOf",e.menus)}}let c1=(()=>{class n{constructor(e){this.router=e,this.isNavListOpen="",this.removedLastPathUrl="",this.selectedMenuSlug=""}ngAfterViewInit(){this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.isNavListOpen=localStorage.getItem("navListOpen"),this.updateActiveMenu(),this.routerSubscription=this.router.events.subscribe(e=>{e instanceof g.m2&&this.updateActiveMenu()})}updateActiveMenu(){const e=this.router.url;if(this.menus&&this.menus.length>0){const i=this.menus.find(a=>a.slug===e||a.slug==e.substring(1,e.length));this.selectedMenuSlug=i?i.slug:this.menus[0].slug}}isActiveMenu(e){const i=e?.split("/"),a=i?.pop(),c=this.router.url.split("/");let l;l=localStorage.getItem("category")?localStorage.getItem("category").split("/").pop():c.pop();const r=this.router.url.split("/");return r.pop(),this.removedLastPathUrl=r.pop(),a==l||this.removedLastPathUrl==a}navigateTo(e){localStorage.removeItem("navListOpen"),localStorage.getItem("category")&&localStorage.removeItem("category"),localStorage.setItem("navListOpen",e.title)}selectTab(e){this.router.navigateByUrl(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(g.F0))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-sidebar"]],inputs:{menus:"menus"},decls:2,vars:2,consts:[["class","flex-shrink flex-col gap-2 hidden sm:block",4,"ngIf"],["class","block sm:hidden",4,"ngIf"],[1,"flex-shrink","flex-col","gap-2","hidden","sm:block"],["class","no-underline text-[#0E1111] text-left",3,"href",4,"ngFor","ngForOf"],[1,"no-underline","text-[#0E1111]","text-left",3,"href"],[1,"flex","items-center","text-left","justify-start","p-6","text-[18px]","hover:bg-red-50","cursor-pointer",3,"ngClass","ngStyle"],[1,"block","sm:hidden"],[1,"custom-select","shadow"],["for","menuSelect",1,"custom-label"],["id","menuSelect",3,"value","change"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(t.YNc(0,T3,2,1,"div",0),t.YNc(1,Z3,6,2,"div",1)),2&e&&(t.Q6J("ngIf",i.menus&&i.menus.length>0),t.xp6(1),t.Q6J("ngIf",i.menus&&i.menus.length>0))},dependencies:[s.mk,s.sg,s.O5,s.PC,d.YN,d.Kr],styles:[".tab-slider{display:flex;align-items:center;overflow:hidden;position:relative}.arrow{position:absolute;top:50%;transform:translateY(-50%);width:22px;height:22px;background-color:#fff;cursor:pointer;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:14px;color:#ff474f;transition:background-color .3s ease,opacity .3s ease;z-index:1;border:2px solid #ff474f;padding:13px}.left-arrow{left:0}.right-arrow{right:0}.tab-container{display:flex;overflow-x:hidden;scroll-behavior:smooth;border-bottom:1px solid #e0e0e0;flex:1;padding-left:36px;padding-right:36px}.tab{padding:10px 20px;cursor:pointer;font-size:20px;color:#d3d3d3;border-top-left-radius:8px;border-top-right-radius:8px;white-space:nowrap}.tab.active{color:#ed1c24;border-bottom:2px solid #ed1c24;background-color:#fde7e8;font-weight:bolder}.tab:not(.active):hover{color:#666}@media (min-width: 768px){.arrow{display:none}.tab-container{padding-left:0;padding-right:0}}.custom-select{position:relative;display:inline-block;width:100%;padding:8px;background-color:#fff;border-radius:10px;border:2px solid #e0e0e0}.custom-label{font-size:.9rem;color:#b3b3b3;display:block;margin-bottom:-2px;padding-left:10px}select{width:100%;padding-right:30px;font-weight:700;font-size:1rem;color:#000;background-color:transparent;border:none;outline:none;appearance:none;border-radius:10px}select:focus{border-color:#b3b3b3}.custom-arrow{position:absolute;top:50%;right:15px;pointer-events:none;font-size:.8rem;color:#333;transform:translateY(-50%)}select option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n"],encapsulation:2}),n})();
1const M1=function(n,o){return{"bg-red-50 border-l-4 border-[#ED1C24]":n,"font-normal":o}};function S3(n,o){if(1&n&&(t.TgZ(0,"a",7)(1,"h2",8),t._uU(2),t.qZA()()),2&n){const e=t.oxw(),i=e.$implicit,a=e.index,c=t.oxw(2);t.Q6J("href",null==i?null:i.slug,t.LSH)("ngClass",t.WLB(3,M1,c.isActiveMenu(i.slug,a),!c.isActiveMenu(i.slug,a))),t.xp6(2),t.Oqu(null==i?null:i.title)}}const N3=function(n,o){return{"text-[#ED1C24] underline":n,"text-black no-underline":o}};function L3(n,o){if(1&n&&(t.TgZ(0,"h3")(1,"a",16)(2,"span",17),t._uU(3),t.qZA()()()),2&n){const e=o.$implicit,i=t.oxw(6);t.xp6(1),t.Q6J("href",null==e?null:e.slug,t.LSH)("ngClass",t.WLB(3,N3,i.selectedSubMenuSlug==e.slug,i.selectedSubMenuSlug!=e.slug)),t.xp6(2),t.Oqu(null==e?null:e.title)}}function O3(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,L3,4,6,"h3",15),t.qZA()),2&n){const e=t.oxw(3).$implicit;t.xp6(1),t.Q6J("ngForOf",e.subMenu)}}function I3(n,o){if(1&n&&(t.O4$(),t.kcU(),t.TgZ(0,"div"),t.YNc(1,O3,2,1,"div",14),t.qZA()),2&n){const e=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngIf",(null==e?null:e.isSubMenuOpen)||!1)}}const H3=function(n){return{"bg-red-50":n}},J3=function(n){return{"bg-red-100 border-l-4 border-[#ED1C24]":n}},Q3=function(n,o){return{"transform -rotate-180":n,"pl-0 rotate-0":o}};function A3(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",9)(1,"div",10),t.NdJ("click",function(){t.CHM(e);const a=t.oxw().$implicit;return t.KtG(a.isSubMenuOpen=!a.isSubMenuOpen||!1)}),t.TgZ(2,"h2",8),t._uU(3),t.qZA(),t.TgZ(4,"span",11),t.O4$(),t.TgZ(5,"svg",12),t._UZ(6,"path",13),t.qZA()()(),t.YNc(7,I3,2,1,"div",14),t.qZA()}if(2&n){const e=t.oxw(),i=e.$implicit,a=e.index,c=t.oxw(2);t.Q6J("ngClass",t.VKq(6,H3,i.isSubMenuOpen))("ngClass",t.WLB(8,M1,c.isActiveMenu(i.slug,a),!c.isActiveMenu(i.slug,a))),t.xp6(1),t.Q6J("ngClass",t.VKq(11,J3,c.isSubMenuFound(null==i?null:i.subMenu))),t.xp6(2),t.Oqu(null==i?null:i.title),t.xp6(1),t.Q6J("ngClass",t.WLB(13,Q3,null==i?null:i.isSubMenuOpen,!(null!=i&&i.isSubMenuOpen))),t.xp6(3),t.Q6J("ngIf",(null==i?null:i.subMenu)&&(null==i?null:i.subMenu.length)>0)}}function B3(n,o){if(1&n&&(t.TgZ(0,"div",4),t.YNc(1,S3,3,6,"a",5),t.YNc(2,A3,8,16,"div",6),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf",(null==e?null:e.subMenu)&&0==(null==e?null:e.subMenu.length)),t.xp6(1),t.Q6J("ngIf",(null==e?null:e.subMenu)&&(null==e?null:e.subMenu.length)>0)}}function D3(n,o){if(1&n&&(t.TgZ(0,"div",2),t.YNc(1,B3,3,2,"div",3),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",null==e.menus?null:e.menus.slice(1))}}function V3(n,o){if(1&n&&(t.TgZ(0,"option",22),t._uU(1),t.qZA()),2&n){const e=t.oxw().$implicit;t.Q6J("value",e.slug),t.xp6(1),t.hij(" ",e.title," ")}}function Y3(n,o){if(1&n&&(t.TgZ(0,"option",22),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.Q6J("value",e.slug),t.xp6(1),t.Oqu(e.title)}}function q3(n,o){if(1&n&&(t.ynx(0),t.TgZ(1,"optgroup",23),t.YNc(2,Y3,2,2,"option",24),t.qZA(),t.BQk()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("label",null==e?null:e.title),t.xp6(1),t.Q6J("ngForOf",e.subMenu)}}function F3(n,o){if(1&n&&(t.ynx(0),t.YNc(1,V3,2,2,"option",21),t.YNc(2,q3,3,2,"ng-container",14),t.BQk()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf",!(null!=e&&e.subMenu)||0==(null==e?null:e.subMenu.length)),t.xp6(1),t.Q6J("ngIf",(null==e?null:e.subMenu)&&(null==e?null:e.subMenu.length)>0)}}function U3(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",18)(1,"div",19)(2,"select",20),t.NdJ("change",function(a){t.CHM(e);const c=t.oxw();return t.KtG(c.selectTab(a.target.value))}),t.YNc(3,F3,3,2,"ng-container",15),t.qZA()()()}if(2&n){const e=t.oxw();
1t.xp6(2),t.Q6J("value",e.selectedMenuSlug||e.selectedSubMenuSlug),t.xp6(1),t.Q6J("ngForOf",e.menus)}}let z1=(()=>{class n{constructor(e){this.router=e,this.isNavListOpen="",this.removedLastPathUrl="",this.selectedMenuSlug="",this.selectedSubMenuSlug="",console.log("menus",this.menus)}ngAfterViewInit(){this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.isNavListOpen=localStorage.getItem("navListOpen"),this.updateActiveMenu(),this.routerSubscription=this.router.events.subscribe(e=>{e instanceof g.m2&&this.updateActiveMenu()})}updateActiveMenu(){const e=this.router.url;if(this.menus&&this.menus.length>0){const i=this.menus.find(a=>a.slug===e||a.slug==e.substring(1,e.length));this.selectedMenuSlug=i?i.slug:this.menus[0].slug}}isActiveMenu(e,i){if(!e)return!1;const c=e?.split("/").pop(),l=this.router.url.split("/");let r;r=localStorage.getItem("category")?localStorage.getItem("category").split("/").pop():l.pop();const p=this.router.url.split("/");if(p.pop(),this.removedLastPathUrl=p.pop(),this.menus&&this.menus.length>0){const m=this.menus[i];m&&m.subMenu&&m.subMenu.forEach(f=>{f.slug===this.router.url.substring(1,this.router.url.length)&&(this.selectedSubMenuSlug=f.slug,m.isSubMenuOpen=!0)})}return r.endsWith("-bm")&&(r=r.slice(0,-3)),c==r||this.removedLastPathUrl==c}isActiveSubMenu(e){return console.log(e,this.router.url),e.some(i=>i.slug===this.router.url)}navigateTo(e){localStorage.removeItem("navListOpen"),localStorage.getItem("category")&&localStorage.removeItem("category"),localStorage.setItem("navListOpen",e.title)}selectTab(e){this.router.navigateByUrl(e)}scrollLeft(){document.querySelector(".tab-container").scrollLeft-=200}scrollRight(){document.querySelector(".tab-container").scrollLeft+=200}isSubMenuFound(e){return e.findIndex(i=>i.slug===this.selectedSubMenuSlug)>-1}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(g.F0))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-sidebar-v2"]],inputs:{menus:"menus"},decls:2,vars:2,consts:[["class","w-[20rem] flex-shrink flex-col gap-2 hidden sm:block",4,"ngIf"],["class","block sm:hidden",4,"ngIf"],[1,"w-[20rem]","flex-shrink","flex-col","gap-2","hidden","sm:block"],["class","text-left",4,"ngFor","ngForOf"],[1,"text-left"],["class","flex items-center text-left text-[#ED1C24] justify-start no-underline hover:bg-red-50 cursor-pointer",3,"href","ngClass",4,"ngIf"],[3,"ngClass",4,"ngIf"],[1,"flex","items-center","text-left","text-[#ED1C24]","justify-start","no-underline","hover:bg-red-50","cursor-pointer",3,"href","ngClass"],[1,"p-6","text-[18px]",2,"font-family","var(--font-regular)"],[3,"ngClass"],[1,"flex","items-center","text-left","text-[#ED1C24]","justify-start","cursor-pointer",3,"ngClass","click"],[1,"size-6",3,"ngClass"],["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,"lucide","lucide-chevron-down"],["d","m6 9 6 6 6-6"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"flex","items-center","text-left","justify-start","p-6","text-[18px]","hover:bg-red-100","cursor-pointer",2,"font-family","var(--font-regular)",3,"href","ngClass"],[1,"pl-6"],[1,"block","sm:hidden"],[1,"custom-select","shadow"],["id","menuSelect",3,"value","change"],[3,"value",4,"ngIf"],[3,"value"],[3,"label"],[3,"value",4,"ngFor","ngForOf"]],template:function(e,i){1&e&&(t.YNc(0,D3,2,1,"div",0),t.YNc(1,U3,4,2,"div",1)),2&e&&(t.Q6J("ngIf",i.menus&&i.menus.length>0),t.xp6(1),t.Q6J("ngIf",i.menus&&i.menus.length>0))},dependencies:[s.mk,s.sg,s.O5,d.YN,d.Kr],styles:[".tab-slider{display:flex;align-items:center;overflow:hidden;position:relative}.arrow{position:absolute;top:50%;transform:translateY(-50%);width:22px;height:22px;background-color:#fff;cursor:pointer;border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:14px;color:#ff474f;transition:background-color .3s ease,opacity .3s ease;z-index:1;border:2px solid #ff474f;padding:13px}.left-arrow{left:0}.right-arrow{right:0}.tab-container{display:flex;overflow-x:hidden;scroll-behavior:smooth;border-bottom:1px solid #e0e0e0;flex:1;padding-left:36px;padding-right:36px}.tab{padding:10px 20px;cursor:pointer;font-size:20px;color:#d3d3d3;border-top-left-radius:8px;border-top-right-radius:8px;white-space:nowrap}.tab.active{color:#ed1c24;border-bottom:2px solid #ED1C24;background-color:#fde7e8;font-weight:bolder}.tab:not(.active):hover{color:#666}@media (min-width: 768px){.arrow{display:none}.tab-container{padding-left:0;padding-right:0}}.custom-select{position:relative;display:inline-block;width:100%;padding:8px;background-color:#fff;border-radius:10px;border:2px solid #e0e0e0}.custom-label{font-size:.9rem;color:#b3b3b3;display:block;margin-bottom:-2px;padding-left:10px}select{width:100%;padding-right:30px;font-weight:700;font-size:1rem;color:#000;background-color:transparent;border:none;outline:none;appearance:none;border-radius:10px}select:focus{border-color:#b3b3b3}.custom-arrow{position:absolute;top:50%;right:15px;pointer-events:none;font-size:.8rem;color:#333;transform:translateY(-50%)}select option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n"],encapsulation:2}),n})();var w1=_(5222);const $3=function(n,o){return{"bg-red-50 text-red-500 font-semibold border-b-4 border-b-red-500":n,"bg-white text-gray-400 font-normal ":o}};function E3(n,o){if(1&n&&(t.TgZ(0,"a",6),t._uU(1),t.qZA()),2&n){const e=o.$implicit,i=t.oxw();t.Q6J("href",null==e?null:e.slug,t.LSH)("ngClass",t.WLB(3,$3,i.selectedMenuSlug==(null==e?null:e.slug),i.selectedMenuSlug!=(null==e?null:e.slug))),t.xp6(1),t.hij(" ",null==e?null:e.title," ")}}let y1=(()=>{class n{constructor(e){this.router=e,this.isNavListOpen="",this.removedLastPathUrl="",this.selectedMenuSlug="",this.activeTab="april",console.log("menus",this.menus)}ngAfterViewInit(){this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.isNavListOpen=localStorage.getItem("navListOpen"),this.updateActiveMenu(),this.routerSubscription=this.router.events.subscribe(e=>{e instanceof g.m2&&this.updateActiveMenu()})}updateActiveMenu(){const e=this.router.url;if(this.menus&&this.menus.length>0){const i=this.menus.find(a=>a.slug===e||a.slug==e.substring(1,e.length));this.selectedMenuSlug=i?i.slug:this.menus[0].slug}}scrollLeft(){document.querySelector(".tab-container").scrollLeft-=200}scrollRight(){document.querySelector(".tab-container").scrollLeft+=200}isActiveMenu(e){if(!e)return!1;const a=e?.split("/").pop(),c=this.router.url.split("/");let l;l=localStorage.getItem("category")?localStorage.getItem("category").split("/").pop():c.pop();const r=this.router.url.split("/");return r.pop(),this.removedLastPathUrl=r.pop(),a==l||this.removedLastPathUrl==a}navigateTo(e){localStorage.removeItem("navListOpen"),localStorage.getItem("category")&&localStorage.removeItem("category"),localStorage.setItem("navListOpen",e.title)}selectTab(e){this.router.navigateByUrl(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(g.F0))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-topbar"]],inputs:{menus:"menus"},decls:9,vars:1,consts:[[1,"tab-slider"],[1,"arrow","left-arrow","rounded-full",3,"click"],[1,"arrow-text"],[1,"tab-container"],["class","tab no-underline","style","font-family: var(--font-regular)",3,"href","ngClass",4,"ngFor","ngForOf"],[1,"arrow","right-arrow","rounded-full",3,"click"],[1,"tab","no-underline",2,"font-family","var(--font-regular)",3,"href","ngClass"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1),t.NdJ("click",function(){return i.scrollLeft()}),t.TgZ(2,"span",2),t._uU(3,"<"),t.qZA()(),t.TgZ(4,"div",3),t.YNc(5,E3,2,6,"a",4),t.qZA(),t.TgZ(6,"div",5),t.NdJ("click",function(){return i.scrollRight()}),t.TgZ(7,"span",2),t._uU(8,">"),t.qZA()()()),2&e&&(t.xp6(5),t.Q6J("ngForOf",i.menus))},dependencies:[s.mk,s.sg],styles:[".tab-slider{display:flex;align-items:center;overflow:hidden;position:relative}.arrow{position:absolute;top:50%;transform:translateY(-50%);width:22px;height:22px;background-color:#fff;cursor:pointer;display:flex;justify-content:center;align-items:center;font-size:14px;color:#ff474f;transition:background-color .3s ease,opacity .3s ease;z-index:1;border:2px solid #ff474f;padding:13px}.left-arrow{left:0}.right-arrow{right:0}.tab-container{display:flex;overflow-x:hidden;scroll-behavior:smooth;border-bottom:1px solid #e0e0e0;flex:1;padding-left:36px;padding-right:36px}.tab{padding:10px 20px;cursor:pointer;font-size:20px;color:#d3d3d3;border-top-left-radius:8px;border-top-right-radius:8px;white-space:nowrap}.tab.active{color:#2b3990;border-bottom:2px solid #2b3990;background-color:#e6e9f3;font-weight:700}.tab:not(.active):hover{color:#666}@media (min-width: 768px){.arrow{display:none}.tab-container{padding-left:0;padding-right:0}}\n"],encapsulation:2}),n})();var T1=_(34);function j3(n,o){1&n&&t._UZ(0,"app-svg-icon",10)}function R3(n,o){1&n&&t._UZ(0,"app-svg-icon",11)}function G3(n,o){if(1&n&&(t.TgZ(0,"div",18),t._UZ(1,"img",19),t.qZA()),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.xp6(1),t.Q6J("src",i.getImageUrl(e.image.data.attributes.url||""),t.LSH)("alt",(null==e||null==e.image||null==e.image.data||null==e.image.data.attributes?null:e.image.data.attributes.alternativeText)||"Pos Section")}}function K3(n,o){if(1&n&&(t.TgZ(0,"div",14)(1,"a",15)(2,"p",16),t._uU(3),t.qZA(),t.YNc(4,G3,2,2,"div",17),t.qZA()()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("href",e.url||"javascript:void(0)",t.LSH)("target",e.newTab&&e.url?"_blank":""),t.xp6(2),t.Oqu(e.title||""),t.xp6(1),t.Q6J("ngIf",e.image.data)}}function W3(n,o){if(1&n&&(t.TgZ(0,"div",12),t.YNc(1,K3,5,4,"div",13),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("ngForOf",e.sectionData)}}function X3(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-expansion-panel",3),t.NdJ("opened",function(){const c=t.CHM(e).index,l=t.oxw(2);return t.KtG(l.panelOpenState[c]=!0)})("closed",function(){const c=t.CHM(e).index,l=t.oxw(2);return t.KtG(l.panelOpenState[c]=!1)}),t.TgZ(1,"mat-expansion-panel-header",4)(2,"mat-panel-title"),t._uU(3),t.qZA(),t.TgZ(4,"mat-panel-description"),t.YNc(5,j3,1,0,"app-svg-icon",5),t.YNc(6,R3,1,0,"app-svg-icon",6),t.qZA()(),t.TgZ(7,"div",7)(8,"p",8)(9,"b"),t._uU(10),t.qZA()(),t.YNc(11,W3,2,1,"div",9),t.qZA()()}if(2&n){const e=o.$implicit,i=o.index,a=t.oxw(2);t.xp6(1),t.Q6J("id",e.id),t.xp6(2),t.hij(" ",e.sectionTitle||""," "),t.xp6(2),t.Q6J("ngIf",!a.panelOpenState[i]),t.xp6(1),t.Q6J("ngIf",a.panelOpenState[i]),t.xp6(4),t.Oqu(e.subtitle||""),t.xp6(1),t.Q6J("ngIf",e.sectionData)}}function t4(n,o){if(1&n&&(t.TgZ(0,"mat-accordion",1),t.YNc(1,X3,12,6,"mat-expansion-panel",2),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",e.data.collapsibleSectionList)}}let l1=(()=>{class n{constructor(){this.panelOpenState={}}ngOnInit(){}getImageUrl(e){return(0,u.KS)(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-accordion"]],inputs:{data:"data"},decls:1,vars:1,consts:[["class","agm-expansion",4,"ngIf"],[1,"agm-expansion"],["matExpansionToggleIcon","keyboard_arrow_down",3,"opened","closed",4,"ngFor","ngForOf"],["matExpansionToggleIcon","keyboard_arrow_down",3,"opened","closed"],[1,"d-flex","justify-content-between",3,"id"],["name","add",4,"ngIf"],["name","remove",4,"ngIf"],[1,"accordion-content-container"],[1,"inner-title"],["class","row",4,"ngIf"],["name","add"],["name","remove"],[1,"row"],["class","col-md-3 col-sm-12 content-container w-full sm:w-[28%]",4,"ngFor","ngForOf"],[1,"col-md-3","col-sm-12","content-container","w-full","sm:w-[28%]"],[1,"d-flex","justify-between","items-center","gap-x-2","px-2","py-4",3,"href","target"],[1,"subtitle"],["class","accordion-content-img",4,"ngIf"],[1,"accordion-content-img"],["loading","lazy",1,"img-fluid",3,"src","alt"]],template:function(e,i){1&e&&t.YNc(0,t4,2,1,"mat-accordion",0),2&e&&t.Q6J("ngIf",i.data.collapsibleSectionList)},dependencies:[s.sg,s.O5,x.pp,x.ib,x.yz,x.yK,x.u4,T1.b],styles:[".agm-expansion{margin-top:5rem}.agm-expansion .mat-expansion-indicator:after{display:none}.agm-expansion .mat-expansion-panel-header-description{flex-grow:0!important}.agm-expansion .mat-expansion-panel-header{padding:0;margin:1rem 0}.agm-expansion .mat-icon{color:#000;font-weight:700}.agm-expansion .mat-expansion-panel:not([class*=mat-elevation-z]){border-bottom:1px solid #ced4da;box-shadow:none}.agm-expansion .mat-accordion .mat-expansion-panel:last-of-type{border-radius:0}.agm-expansion .mat-expansion-panel-header:hover{background-color:#fff!important}.agm-expansion .mat-expansion-panel-header-title,.agm-expansion .mat-expansion-panel-header-description{margin-top:.5rem;font-size:1.2rem;font-weight:700}.agm-expansion .mat-expansion-panel-body{padding:0}.agm-expansion .accordion-content-container{cursor:pointer;padding:1rem 0}.agm-expansion .accordion-content-container .inner-title{font-family:var(--font-bold);font-size:16px}.agm-expansion .accordion-content-container .row{margin:1rem 0}.agm-expansion .accordion-content-container .row .content-container{margin:2rem 1rem;background:#fafcff 0% 0% no-repeat padding-box;box-shadow:0 4px 10px #a8a8a82b}.agm-expansion .accordion-content-container .row .content-container .accordion-content-img img{width:32px;height:32px}.agm-expansion .accordion-content-container .row .content-container .subtitle{align-self:center;display:flex;font-size:16px;font-weight:500;margin:0}.agm-expansion .accordion-content-container .row .content-container a{color:#000;text-decoration:none}.agm-expansion .accordion-content-container .row .content-container a:hover{text-decoration:underline}\n"],encapsulation:2}),n})();function e4(n,o){if(1&n&&(t.TgZ(0,"div",4)(1,"a",5)(2,"div",6),t._UZ(3,"img",7),t.qZA(),t.TgZ(4,"p",8),t._uU(5),t.qZA()()()),2&n){const e=o.$implicit,i=t.oxw(2);t.xp6(1),t.Q6J("href",e.url,t.LSH)("target",e.isNewTab?"_blank":""),t.xp6(2),t.Q6J("alt",(null==e||null==e.icon||null==e.icon.data||null==e.icon.data.attributes?null:e.icon.data.attributes.alternativeText)||"icon")("src",i.getImageUrl(e.icon.data.attributes.url||""),t.LSH),t.xp6(2),t.Oqu(e.title)}}function n4(n,o){if(1&n&&(t.TgZ(0,"div",2),t.YNc(1,e4,6,5,"div",3),t.qZA()),2&n){const e=t.oxw();t.Q6J("ngClass",e.data.simpleReportList.length>10?"row":""),t.xp6(1),t.Q6J("ngForOf",e.data.simpleReportList)}}let r1=(()=>{class n{getImageUrl(e){return(0,u.KS)(e)}constructor(){}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-list-item"]],inputs:{data:"data"},decls:2,vars:1,consts:[[1,"mt-5"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],["class","list-container custom-col",4,"ngFor","ngForOf"],[1,"list-container","custom-col"],[1,"d-flex",3,"href","target"],[1,"list-img-container"],["loading","lazy","alt","Pos List Item",1,"img-fluid",3,"alt","src"],[1,"content-title"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,n4,2,2,"div",1),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",i.data.simpleReportList))},dependencies:[s.mk,s.sg,s.O5],styles:[".list-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.list-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.list-container[_ngcontent-%COMP%] .list-img-container[_ngcontent-%COMP%]{padding:0 10px 10px 0;width:70px}.list-container[_ngcontent-%COMP%] .list-img-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:4rem}.list-container[_ngcontent-%COMP%] .content-title[_ngcontent-%COMP%]{align-self:center;display:flex;font-size:13px}.custom-col[_ngcontent-%COMP%]{width:50%;margin-top:2rem}@media only screen and (max-width: 767px){.custom-col[_ngcontent-%COMP%]{width:100%}}"]}),n})();function i4(n,o){if(1&n&&(t.TgZ(0,"div",3)(1,"div",4)(2,"div",5),t._UZ(3,"img",6),t.qZA()(),t.TgZ(4,"div",7)(5,"div",8),t._uU(6),t.qZA(),t.TgZ(7,"div",9)(8,"p"),t._uU(9),t.qZA()(),t.TgZ(10,"a",10),t._uU(11),t.qZA()()()),2&n){const e=o.$implicit,i=t.oxw(2);t.xp6(3),t.Q6J("src",i.getImageUrl(e.image.data.attributes.url||""),t.LSH)("alt",(null==e||null==e.image||null==e.image.data||null==e.image.data.attributes?null:e.image.data.attributes.alternativeText)||"Pos Report"),t.xp6(3),t.hij(" ",e.title||""," "),t.xp6(3),t.Oqu(e.subtitle||""),t.xp6(1),t.Q6J("href",e.url,t.LSH),t.xp6(1),t.Oqu(e.buttonText||"")}}function o4(n,o){if(1&n&&(t.TgZ(0,"div",1),t.YNc(1,i4,12,6,"div",2),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",null==e.data?null:e.data.reports)}}let s1=(()=>{class n{ngOnInit(){}getImageUrl(e){return(0,u.KS)(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-report"]],inputs:{data:"data"},decls:1,vars:1,consts:[["class","mt-4 flex gap-x-8 flex-wrap",4,"ngIf"],[1,"mt-4","flex","gap-x-8","flex-wrap"],["class","annual-container mt-12",4,"ngFor","ngForOf"],[1,"annual-container","mt-12"],[1,"annual-img-container"],[1,"annual-img"],["loading","lazy",1,"img-fluid",3,"src","alt"],[1,"annual-content","h-100"],[1,"report-title"],[1,"report-subtitle"],["target","_blank",3,"href"]],template:function(e,i){1&e&&t.YNc(0,o4,2,1,"div",0),2&e&&t.Q6J("ngIf",null==i.data?null:i.data.reports)},dependencies:[s.sg,s.O5],styles:[".annual-container[_ngcontent-%COMP%]{box-shadow:0 0 6px #00000029;border-radius:10px;width:100%;display:flex;flex-direction:column}.annual-container[_ngcontent-%COMP%] .annual-img-container[_ngcontent-%COMP%]{background-color:#e6e6e6;max-width:100%}.annual-container[_ngcontent-%COMP%] .annual-img-container[_ngcontent-%COMP%] .annual-img[_ngcontent-%COMP%]{padding:0;height:360px;width:100%}.annual-container[_ngcontent-%COMP%] .annual-img-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;width:100%;height:100%}.annual-container[_ngcontent-%COMP%] .annual-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:16px 12px 12px}.annual-container[_ngcontent-%COMP%] .annual-content[_ngcontent-%COMP%] .report-title[_ngcontent-%COMP%]{font-size:22px;font-weight:500;font-family:var(--font-medium);padding:0}.annual-container[_ngcontent-%COMP%] .annual-content[_ngcontent-%COMP%] .report-subtitle[_ngcontent-%COMP%]{font-weight:400;font-size:14px;color:#0e1111;padding:0;flex-grow:1}.annual-container[_ngcontent-%COMP%] .annual-content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer;font-weight:700;font-size:14px;color:#2b3990;text-decoration:none;display:flex;align-items:center}.annual-container[_ngcontent-%COMP%] .annual-content[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{content:url(https://d2iekmvcb0sk6v.cloudfront.net/download_2705346421.svg);margin-left:8px;display:block;padding-top:4px}@media only screen and (max-width: 540px){.col-sm-12[_ngcontent-%COMP%]{margin-bottom:2rem}}@media only screen and (max-width: 380px){.annual-content[_ngcontent-%COMP%]{height:10rem!important}}@media (min-width: 768px){.annual-container[_ngcontent-%COMP%]{flex:0 0 31%}}"]}),n})();var e1=_(834);function a4(n,o){if(1&n&&t._UZ(0,"app-inner-html",9),2&n){const e=t.oxw(2).$implicit;t.Q6J("data",null==e||null==e.attributes?null:e.attributes.description)}}const c4=function(n){return{"no-border-top":n}},l4=function(n){return[n]};function r4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",4)(1,"a",5)(2,"p",6),t._uU(3),t.qZA()(),t.TgZ(4,"a",7),t.NdJ("click",function(){t.CHM(e);const a=t.oxw().$implicit,c=t.oxw(2);return t.KtG(c.displayServiceUpdateDetails(null==a?null:a.attributes))}),t.TgZ(5,"h1"),t._uU(6),t.qZA()(),t.YNc(7,a4,1,1,"app-inner-html",8),t.TgZ(8,"p"),t._uU(9),t.ALo(10,"amDateFormat"),t.qZA()()}if(2&n){const e=t.oxw(),a=e.$implicit;t.Q6J("ngClass",t.VKq(9,c4,e.first)),t.xp6(1),t.Q6J("routerLink",t.VKq(11,l4,"/"+(null==a||null==a.attributes||null==a.attributes.category||null==a.attributes.category.data||null==a.attributes.category.data.attributes?null:a.attributes.category.data.attributes.slug))),t.xp6(2),t.Oqu(null==a||null==a.attributes||null==a.attributes.category||null==a.attributes.category.data||null==a.attributes.category.data.attributes?null:a.attributes.category.data.attributes.title),t.xp6(3),t.Oqu(null==a||null==a.attributes?null:a.attributes.title),t.xp6(1),t.Q6J("ngIf",null==a||null==a.attributes?null:a.attributes.description),t.xp6(2),t.Oqu(t.xi3(10,6,null==a||null==a.attributes?null:a.attributes.published_date,"DD MMM YYYY hh:mm a"))}}function s4(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,r4,11,13,"div",3),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf",e.attributes)}}function p4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.YNc(1,s4,2,1,"div",1),t.TgZ(2,"p",2),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.onFetchMore())}),t._uU(3,"Load More"),t.qZA()()}if(2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",e.postList)}}let m4=(()=>{class n{constructor(e){this.router=e,this.fetchMore=new t.vpe}onFetchMore(){this.fetchMore.emit()}displayServiceUpdateDetails(e){this.router.navigate(["post-list/detail"],{queryParams:{postDetailId:e.slug,sidemenuName:this.sidemenu_name}})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(g.F0))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-list-post"]],inputs:{postList:"postList",sidemenu_name:"sidemenu_name"},outputs:{fetchMore:"fetchMore"},decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"load-more",3,"click"],["class","service-update-container",3,"ngClass",4,"ngIf"],[1,"service-update-container",3,"ngClass"],[3,"routerLink"],[1,"tag"],[3,"click"],[3,"data",4,"ngIf"],[3,"data"]],template:function(e,i){1&e&&t.YNc(0,p4,4,1,"div",0),2&e&&t.Q6J("ngIf",i.postList.length)},dependencies:[s.mk,s.sg,s.O5,g.rH,Z.W,T.Ek],styles:[".service-update-container[_ngcontent-%COMP%]{padding:0rem 2rem 1rem 0;border-bottom:1px solid var(--dark-grey);margin-bottom:2rem}.service-update-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.service-update-container[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]{color:var(--progress);font-weight:700;margin-bottom:2rem;font-size:1.2rem}.service-update-container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#000;margin-bottom:2rem;font-weight:700;cursor:pointer}.service-update-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline;text-decoration-color:#000}.load-more[_ngcontent-%COMP%]{margin-top:5rem;text-align:center;cursor:pointer}.load-more[_ngcontent-%COMP%]:hover{text-decoration:underline}.no-border-top[_ngcontent-%COMP%]{border-top:none}"]}),n})(),_4=(()=>{class n extends V._{constructor(e){super(e),this.http=e,this.endPoint="/graphql",this.manualConstructor()}getPostTagging(e){const i=JSON.stringify({query:'\n query GetPostTaggings(\n $publicationState: PublicationState!\n ) {\n postTaggings(\n publicationState: $publicationState\n filters: { is_active: {eq: true}}\n sort:"updatedAt:desc"\n ) {\n data {\n id\n attributes {\n title\n }\n }\n }\n }\n ',variables:{publicationState:e?"PREVIEW":"LIVE"}});return this.http.post(this.fullPathEndPoint,i,{headers:{"content-type":"application/json"}})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Y.eN))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function d4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",11),t.NdJ("click",function(){t.CHM(e);const a=t.oxw().$implicit,c=t.oxw();return t.KtG(c.onTagClicked(a))}),t._uU(1),t.qZA()}if(2&n){const e=t.oxw().$implicit,i=t.oxw();t.Q6J("ngClass",i.getSelectedTag(e)?"pill-tag-selected":""),t.xp6(1),t.hij(" ",e.attributes.title," ")}}function f4(n,o){if(1&n&&(t.ynx(0),t.YNc(1,d4,2,2,"ng-template",10),t.BQk()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("width",e.width)}}function g4(n,o){if(1&n&&(t.TgZ(0,"div",22),t._UZ(1,"img",23),t.qZA()),2&n){const e=t.oxw(2).$implicit,i=t.oxw();t.xp6(1),t.Q6J("src",i.getImageUrl(null==e.attributes.tile_image.data?null:e.attributes.tile_image.data.attributes.url),t.LSH)("alt",(null==e||null==e.attributes||null==e.attributes.tile_image||null==e.attributes.tile_image.data||null==e.attributes.tile_image.data.attributes?null:e.attributes.tile_image.data.attributes.alternativeText)||"Pos Promotion")}}function u4(n,o){1&n&&(t.TgZ(0,"div",22,16),t._UZ(2,"img",24),t.qZA())}function v4(n,o){if(1&n&&(t.TgZ(0,"div",27),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.hij(" ",e.attributes.title," ")}}function h4(n,o){if(1&n&&(t.TgZ(0,"div",25),t.YNc(1,v4,2,1,"div",26),t.qZA()),2&n){const e=t.oxw(2).$implicit,i=t.oxw();t.xp6(1),t.Q6J("ngForOf",i.getFirstThreeTagging(e.attributes.post_taggings.data))}}function x4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",14),t.NdJ("click",function(){t.CHM(e);const a=t.oxw().$implicit,c=t.oxw();return t.KtG(c.displayServiceUpdateDetails(a.attributes))}),t.YNc(1,g4,2,2,"div",15),t.YNc(2,u4,3,0,"ng-template",null,16,t.W1O),t.YNc(4,h4,2,1,"div",17),t.TgZ(5,"div",18)(6,"p",19),t._uU(7),t.ALo(8,"amDateFormat"),t.qZA(),t.TgZ(9,"h2",20),t._uU(10),t.qZA(),t._UZ(11,"p",21),t.qZA()()}if(2&n){const e=t.MAs(3),i=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf",i.attributes.tile_image.data)("ngIfElse",e),t.xp6(3),t.Q6J("ngIf",i.attributes.post_taggings.data),t.xp6(3),t.Oqu(t.xi3(8,6,i.attributes.published_date,"DD MMM YYYY hh:mm a")),t.xp6(3),t.Oqu(i.attributes.title),t.xp6(1),t.Q6J("innerHTML",i.attributes.description,t.oJD)}}function b4(n,o){if(1&n&&(t.TgZ(0,"div",12),t.YNc(1,x4,12,9,"div",13),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf",e.attributes)}}function C4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",28)(1,"button",29),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.onFetchMore())}),t._UZ(2,"app-svg-icon",30),t.TgZ(3,"span"),t._uU(4,"MORE PROMOS"),t.qZA()()()}}let k4=(()=>{class n{constructor(e,i,a){this.location=e,this.router=i,this.postTaggingService=a,this.fetchMore=new t.vpe,this.onPostTagSelected=new t.vpe,this.postTaggings=[],this.selectedPostTags=[],this.isDragging=!1,this.categoryPillOptions={dots:!1,loop:!1,autoWidth:!0,autoHeight:!0}}ngOnInit(){this.postTaggingService.getPostTagging(!0).subscribe({next:e=>{if(e.data.postTaggings.data.length){let i=e.data.postTaggings.data;for(let a=0;a<i.length;a++){const c=i[a],l=(0,u.uY)(c.attributes.title,"14px GothamRegular")+48;i[a]=Object.assign(Object.assign({},c),{width:l})}this.postTaggings=i}},error:e=>{}})}getImageUrl(e){return(0,u.KS)(e)}onFetchMore(){this.fetchMore.emit(this.selectedPostTags)}displayServiceUpdateDetails(e){const i=e.post_button;null!=i?window.open(i.url,i.newTab?"_blank":"_self"):this.router.navigate(["post/detail"],{queryParams:{postDetailId:e.slug}})}getFirstThreeTagging(e){return e.length>3?e.slice(0,3):e}onTagClicked(e){if(!this.isDragging){const i=this.selectedPostTags.findIndex(a=>a.id===e.id);-1!==i?this.selectedPostTags.splice(i,1):this.selectedPostTags.push(e),this.onPostTagSelected.emit(this.selectedPostTags)}}getSelectedTag(e){return-1!==this.selectedPostTags.findIndex(i=>i.id===e.id)}on_carouselDrag(e){setTimeout(()=>{this.isDragging=e.dragging},10)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(s.Ye),t.Y36(g.F0),t.Y36(_4))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-tile-post"]],inputs:{postList:"postList",hasMorePage:"hasMorePage"},outputs:{fetchMore:"fetchMore",onPostTagSelected:"onPostTagSelected"},decls:11,vars:4,consts:[[1,"promotion-wrapper"],[1,"filter-container"],[1,"filter-title-container"],[1,"filter-title"],[1,"pill-tag-container"],[3,"options","dragging"],[4,"ngFor","ngForOf"],[1,"row"],["class","col-md-4 col-sm-12",4,"ngFor","ngForOf"],["class","d-flex justify-content-center",4,"ngIf"],["carouselSlide","",3,"width"],[1,"pill-tag",3,"ngClass","click"],[1,"col-md-4","col-sm-12"],["class","promotion-col",3,"click",4,"ngIf"],[1,"promotion-col",3,"click"],["class","img-container",4,"ngIf","ngIfElse"],["templateImage",""],["class","tagging-container",4,"ngIf"],[1,"desc-container"],[1,"date"],[1,"title"],[1,"desc",3,"innerHTML"],[1,"img-container"],["loading","lazy",3,"src","alt"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/default_placeholder.png","alt","Pos Default Placeholder",1,"img-fluid","w-100"],[1,"tagging-container"],["class","tagging-pill",4,"ngFor","ngForOf"],[1,"tagging-pill"],[1,"d-flex","justify-content-center"],[1,"btn","but-primary-red-outline","load-more","d-flex",3,"click"],["name","arrow_downward",1,"arrow-down-icon"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"span",3),t._uU(4,"Filter by Category"),t.qZA()(),t.TgZ(5,"div",4)(6,"owl-carousel-o",5),t.NdJ("dragging",function(c){return i.on_carouselDrag(c)}),t.YNc(7,f4,2,1,"ng-container",6),t.qZA()()(),t.TgZ(8,"div",7),t.YNc(9,b4,2,1,"div",8),t.qZA(),t.YNc(10,C4,5,0,"div",9),t.qZA()),2&e&&(t.xp6(6),t.Q6J("options",i.categoryPillOptions),t.xp6(1),t.Q6J("ngForOf",i.postTaggings),t.xp6(2),t.Q6J("ngForOf",i.postList),t.xp6(1),t.Q6J("ngIf",i.hasMorePage))},dependencies:[k.Fy,k.Mp,s.mk,s.sg,s.O5,T1.b,T.Ek],styles:[".promotion-wrapper{background:linear-gradient(93.43deg,#fff9eb 33.52%,#ffdee4 100.62%);padding:3rem 4rem;border-radius:1rem}.promotion-wrapper .row>[class*=col-]{display:flex;flex-direction:column}.promotion-wrapper .promotion-col:hover{box-shadow:#00000059 0 5px 15px}.promotion-wrapper .filter-container{display:flex;flex-direction:row;flex:1;justify-content:space-between;margin-left:.6rem;margin-right:.6rem;margin-bottom:2rem;align-items:center}.promotion-wrapper .filter-container .filter-title-container{flex:.2}.promotion-wrapper .filter-container .filter-title{font-size:16px;font-family:var(--font-regular);font-weight:500;color:#2e2e2e}.promotion-wrapper .filter-container .pill-tag-container{width:70%;flex:.8;flex-wrap:nowrap}.promotion-wrapper .filter-container .pill-tag{cursor:pointer;border:2px solid #ff3358;border-radius:1.5rem;color:#ff3358;font-size:14px;font-weight:700;text-align:center;margin-right:.5rem;align-self:center;padding:.5rem 0;white-space:nowrap}.promotion-wrapper .filter-container .pill-tag-selected{border-color:#ffd2d5;background:#ffd2d5}.promotion-wrapper .promotion-col{height:100%;background-color:#fff;border-radius:1rem;padding:.5rem;margin:0 .5rem 2rem;box-shadow:#959da533 0 8px 24px;
1cursor:pointer}.promotion-wrapper .promotion-col .img-container{width:100%}.promotion-wrapper .promotion-col img{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.promotion-wrapper .promotion-col .desc-container{margin:1rem}.promotion-wrapper .promotion-col .desc-container .date{font-weight:500;color:gray;font-size:14px}.promotion-wrapper .promotion-col .desc-container .title{font-weight:700;font-size:17.6px;font-family:var(--font-bold)}.promotion-wrapper .promotion-col .desc-container .desc{font-family:var(--font-regular)}.promotion-wrapper .promotion-col .tagging-container{flex-direction:row;display:inline-flex;margin-top:1rem;margin-right:.5rem;flex-wrap:wrap}.promotion-wrapper .promotion-col .tagging-container .tagging-pill{border-radius:2rem;background:#ffd2d5;color:#ff3358;font-size:14px;font-weight:700;text-align:center;padding:.5rem 1rem;margin-right:1rem;margin-bottom:.5rem}.load-more{border:2px solid #ff3358!important;color:#ff3358!important;font-weight:700!important;padding:.5rem 2rem;transition:transform .3s,box-shadow .3s}.load-more .arrow-down-icon{margin-right:1rem}.load-more span{font-size:14px;line-height:1.8;font-weight:700}.load-more:hover{transform:translateY(-3px);box-shadow:0 12px 16px #2c256124}.load-more:focus{background-color:transparent}.banner-wrapper img{border-radius:1rem}.owl-carousel.owl-drag .owl-item{height:100%}.date{color:#a9a9a9;font-weight:500;font-size:18px}h1{font-weight:700;margin-top:1rem}@media only screen and (max-width: 767px){.promotion-wrapper{padding:1rem .5rem;margin-bottom:4rem}.promotion-wrapper .filter-container{flex-direction:column;align-items:flex-start;margin:12px 12px 1rem}.promotion-wrapper .filter-container .filter-title-container{margin-bottom:8px}.promotion-wrapper .filter-container .filter-title{font-size:14px}.promotion-wrapper .filter-container .pill-tag-container{width:100%}.promotion-wrapper .filter-container .pill-tag{white-space:nowrap;margin-right:.5rem;padding:.5rem}}\n"],encapsulation:2}),n})();const M4=function(n){return{"no-border-top":n}},z4=function(n){return[n]};function w4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",8)(1,"a",9)(2,"h2",10),t._uU(3),t.qZA()(),t.TgZ(4,"a",11),t.NdJ("click",function(){t.CHM(e);const a=t.oxw().$implicit,c=t.oxw(2);return t.KtG(c.displayServiceUpdateDetails(null==a?null:a.attributes))}),t.TgZ(5,"h1",12),t._uU(6),t.qZA()(),t.TgZ(7,"p",13),t._uU(8),t.ALo(9,"amDateFormat"),t.qZA()()}if(2&n){const e=t.oxw(),a=e.$implicit;t.Q6J("ngClass",t.VKq(8,M4,e.first)),t.xp6(1),t.Q6J("routerLink",t.VKq(10,z4,"/"+(null==a||null==a.attributes||null==a.attributes.category||null==a.attributes.category.data||null==a.attributes.category.data.attributes?null:a.attributes.category.data.attributes.slug))),t.xp6(2),t.hij(" ",null==a||null==a.attributes||null==a.attributes.category||null==a.attributes.category.data||null==a.attributes.category.data.attributes?null:a.attributes.category.data.attributes.title," "),t.xp6(3),t.hij(" ",null==a||null==a.attributes?null:a.attributes.title," "),t.xp6(2),t.hij(" ",t.xi3(9,5,null==a||null==a.attributes?null:a.attributes.published_date,"DD MMM YYYY hh:mm a")," ")}}function y4(n,o){if(1&n&&(t.TgZ(0,"div",6),t.YNc(1,w4,10,12,"div",7),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf",e.attributes)}}function T4(n,o){if(1&n&&(t.TgZ(0,"div",4),t.YNc(1,y4,2,1,"div",5),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",e.postList)}}let P4=(()=>{class n{constructor(e){this.router=e,this.fetchMore=new t.vpe}onFetchMore(){this.fetchMore.emit()}displayServiceUpdateDetails(e){this.router.navigate(["post-list/detail"],{queryParams:{postDetailId:e.slug,sidemenuName:this.sidemenu_name}})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(g.F0))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-list-post-v2"]],inputs:{postList:"postList",sidemenu_name:"sidemenu_name"},outputs:{fetchMore:"fetchMore"},decls:7,vars:1,consts:[["class","grid grid-cols-1 md:grid-cols-3 gap-8",4,"ngIf"],[1,"w-full","flex","justify-center","mt-12"],[1,"flex","items-center","justify-center","gap-2","px-10","py-3","border-2","border-red-500","text-red-500","font-bold","rounded-lg","hover:bg-red-500","hover:text-white","transition","duration-300",3,"click"],[1,"text-sm"],[1,"grid","grid-cols-1","md:grid-cols-3","gap-8"],["class","flex",4,"ngFor","ngForOf"],[1,"flex"],["class","p-6 rounded-lg shadow-md flex-grow flex flex-col h-full",3,"ngClass",4,"ngIf"],[1,"p-6","rounded-lg","shadow-md","flex-grow","flex","flex-col","h-full",3,"ngClass"],[1,"no-underline",3,"routerLink"],[1,"text-[14px]","sm:text-[16px]","text-red-500","font-medium",2,"font-family","var(--font-regular)"],[1,"no-underline","cursor-pointer",3,"click"],[1,"text-[18px]","sm:text-[22px]","text-gray-800","font-medium","mb-4",2,"font-family","var(--font-regular)"],[1,"mt-auto","text-gray-400","text-[14px]"]],template:function(e,i){1&e&&(t.YNc(0,T4,2,1,"div",0),t.TgZ(1,"div",1)(2,"button",2),t.NdJ("click",function(){return i.onFetchMore()}),t.TgZ(3,"span",3),t._uU(4,"\u2193"),t.qZA(),t.TgZ(5,"span"),t._uU(6,"SEE MORE"),t.qZA()()()),2&e&&t.Q6J("ngIf",i.postList.length)},dependencies:[s.mk,s.sg,s.O5,g.rH,T.Ek],styles:[".service-update-container[_ngcontent-%COMP%]{padding:0rem 2rem 1rem 0;border-bottom:1px solid var(--dark-grey);margin-bottom:2rem}.service-update-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.service-update-container[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]{color:var(--progress);font-weight:700;margin-bottom:2rem;font-size:1.2rem}.service-update-container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#000;margin-bottom:2rem;font-weight:700;cursor:pointer}.service-update-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline;text-decoration-color:#000}.load-more[_ngcontent-%COMP%]{margin-top:5rem;text-align:center;cursor:pointer}.load-more[_ngcontent-%COMP%]:hover{text-decoration:underline}.no-border-top[_ngcontent-%COMP%]{border-top:none}"]}),n})();function Z4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"app-list-post",3),t.NdJ("fetchMore",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.fetchMore())}),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J("sidemenu_name",e.sidemenu_name)("postList",e.dataList)}}function S4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"app-tile-post",4),t.NdJ("fetchMore",function(a){t.CHM(e);const c=t.oxw(2);return t.KtG(c.fetchMore(a))})("onPostTagSelected",function(a){t.CHM(e);const c=t.oxw(2);return t.KtG(c.filterPostsByPostTag(a))}),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J("postList",e.dataList)("hasMorePage",e.hasMorePage)}}function N4(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,Z4,1,2,"app-list-post",1),t.YNc(2,S4,1,2,"app-tile-post",2),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",!e.sidemenuPosition||"Left"==e.sidemenuPosition),t.xp6(1),t.Q6J("ngIf","Top"==e.sidemenuPosition)}}function L4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div")(1,"app-list-post-v2",3),t.NdJ("fetchMore",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.fetchMore())}),t.qZA()()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("sidemenu_name",e.sidemenu_name)("postList",e.dataList)}}let Z1=(()=>{class n{constructor(e,i,a,c){this.postsService=e,this.router=i,this.popupService=a,this.platformService=c,this.design="v1",this.dataList=[],this.skip=0,this.limit=10,this.hasMorePage=!0}ngOnInit(){"/updates/promo"===this.router.url&&(this.limit=9),this.filterPostModel={type:null!=this.data.categories.data?this.data.categories.data.map(e=>e.attributes.title):[]},this.filterPosts()}fetchMore(e){this.skip+=this.limit,e&&this.constructPostTagModel(e),this.filterPosts()}constructPostTagModel(e){this.filterPostModel=Object.assign(Object.assign({},this.filterPostModel),{postTagging:e.map(i=>i.attributes.title)})}filterPostsByPostTag(e){this.constructPostTagModel(e),this.skip=0,this.limit=10,this.filterPosts()}set filterData(e){this.filterPostModel=e,this.skip=0,this.filterPosts()}filterPosts(){if(this.filterPostModel){const e=this.filterPostModel.type.length?this.filterPostModel.type:[this.filterPostModel.type],i=this.popupService.openLoading();this.postsService.getPosts(!1,e,this.skip,this.limit,this.filterPostModel.startDate,this.filterPostModel.endDate,this.filterPostModel.postTagging).subscribe({next:a=>{var c;if(a&&a.data&&null!==(c=a.data.posts)&&void 0!==c&&c.data){const l=a.data.posts.data;this.dataList=0!==this.skip?this.dataList.concat(...l):l,this.checkHasMorePage(l)}},error:a=>{}}).add(()=>{i.close()})}}callPostAPI(){var e,i;if(null!=this.data.categories.data){const a=null===(i=null===(e=this.data)||void 0===e?void 0:e.categories.data)||void 0===i?void 0:i.map(c=>c.attributes.title);this.postsService.getPosts(!1,a,this.skip,this.limit).subscribe({next:c=>{var l,r;const p=null!==(r=null===(l=c.data.posts)||void 0===l?void 0:l.data)&&void 0!==r?r:[];this.dataList=this.dataList.concat(...p),this.checkHasMorePage(p)},error:c=>{if(c){const l={error:{name:"Error",message:"No data found."}};this.platformService.isBrowserPlatform()&&this.popupService.openAlert(l)}}})}}checkHasMorePage(e){this.hasMorePage=e.length%this.limit==0}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(e1.P),t.Y36(g.F0),t.Y36(N.W),t.Y36(q.m))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-posts"]],inputs:{data:"data",sidemenuPosition:"sidemenuPosition",sidemenu_name:"sidemenu_name",design:"design",filterData:"filterData"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"sidemenu_name","postList","fetchMore",4,"ngIf"],[3,"postList","hasMorePage","fetchMore","onPostTagSelected",4,"ngIf"],[3,"sidemenu_name","postList","fetchMore"],[3,"postList","hasMorePage","fetchMore","onPostTagSelected"]],template:function(e,i){1&e&&(t.YNc(0,N4,3,2,"div",0),t.YNc(1,L4,2,2,"div",0)),2&e&&(t.Q6J("ngIf","v1"===i.design),t.xp6(1),t.Q6J("ngIf","v2"===i.design))},dependencies:[s.O5,m4,k4,P4],styles:[".service-update-container[_ngcontent-%COMP%]{padding:2rem 2rem 2rem 0;border-top:1px solid var(--dark-grey)}.service-update-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.service-update-container[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]{color:var(--progress);font-weight:700;margin-bottom:2rem;font-size:1.2rem}.service-update-container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#000;margin-bottom:2rem;font-weight:700;cursor:pointer}.service-update-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline;text-decoration-color:#000}.load-more[_ngcontent-%COMP%]{margin-top:5rem;text-align:center;cursor:pointer}.load-more[_ngcontent-%COMP%]:hover{text-decoration:underline}.no-border-top[_ngcontent-%COMP%]{border-top:none}.service-update-detail-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.service-update-detail-container[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]{color:var(--progress);font-weight:700;margin-bottom:2rem;font-size:1.2rem}.service-update-detail-container[_ngcontent-%COMP%] .content-title[_ngcontent-%COMP%]{font-family:GothamMedium;font-style:normal;font-weight:500;font-size:50px;color:#0e1111;line-height:62px!important}.service-update-detail-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline;text-decoration-color:#000}.service-update-detail-container[_ngcontent-%COMP%] .share-btn-container[_ngcontent-%COMP%]{display:flex;margin:2rem 0}.service-update-detail-container[_ngcontent-%COMP%] .share-btn-container[_ngcontent-%COMP%] .share-btn[_ngcontent-%COMP%]{color:var(--m
1id-grey);font-size:1.3rem;width:3rem}"]}),n})();var p1=_(3848);function O4(n,o){if(1&n&&t._uU(0),2&n){const e=t.oxw().$implicit;t.Oqu(e.title)}}function I4(n,o){if(1&n&&(t.TgZ(0,"div",16),t._UZ(1,"img",17),t.qZA()),2&n){const e=t.oxw().$implicit,i=t.oxw(2);t.xp6(1),t.Q6J("src",i.getImageUrl(e.image.data.attributes.url),t.LSH)("alt",(null==e||null==e.image||null==e.image.data||null==e.image.data.attributes?null:e.image.data.attributes.alternativeText)||"Pos Image")}}function H4(n,o){1&n&&(t.TgZ(0,"div",18,12),t._UZ(2,"img",19),t.qZA())}const J4=function(n){return[n]};function Q4(n,o){if(1&n&&(t.TgZ(0,"div",9)(1,"div",10),t.YNc(2,I4,2,2,"div",11),t.YNc(3,H4,3,0,"ng-template",null,12,t.W1O),t.TgZ(5,"div",13)(6,"p",14)(7,"strong"),t._uU(8),t.qZA()(),t.TgZ(9,"p",15),t._uU(10),t.qZA()()()()),2&n){const e=o.$implicit,i=t.MAs(4);t.xp6(1),t.Q6J("routerLink",t.VKq(5,J4,"/"+e.slug)),t.xp6(1),t.Q6J("ngIf",e.image.data)("ngIfElse",i),t.xp6(6),t.Oqu(e.title),t.xp6(2),t.Oqu(e.short_description)}}function A4(n,o){if(1&n&&(t.TgZ(0,"mat-tab"),t.YNc(1,O4,1,1,"ng-template",3),t.TgZ(2,"div",4),t._uU(3),t.qZA(),t.TgZ(4,"div",5),t.YNc(5,Q4,11,7,"div",6),t.qZA(),t._UZ(6,"div",7,8),t.qZA()),2&n){const e=o.$implicit,i=t.oxw();t.xp6(3),t.Oqu(e.description),t.xp6(2),t.Q6J("ngForOf",e.tabData),t.xp6(1),t.Q6J("innerHTML",i.getSanitizedHtml(e.content),t.oJD)}}let S1=(()=>{class n{constructor(e){this.sanitizer=e,this.data=void 0}getImageUrl(e){return(0,u.KS)(e)}getSanitizedHtml(e){return this.sanitizer.bypassSecurityTrustHtml(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(P.H7))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-nav-tab"]],inputs:{data:"data"},decls:4,vars:1,consts:[[1,"tab-content-wrapper"],[1,"tab-container"],[4,"ngFor","ngForOf"],["mat-tab-label",""],[1,"mb-5"],[1,"row"],["class","col-md-4 col-sm-12",4,"ngFor","ngForOf"],[3,"innerHTML"],["container",""],[1,"col-md-4","col-sm-12"],[1,"item-container",3,"routerLink"],["class","d-flex justify-content-center",4,"ngIf","ngIfElse"],["templateImage",""],[1,"item-content"],[1,"content-title","txtSendPara16","txtSendBold"],[1,"item-desc","txtSendPara16"],[1,"d-flex","justify-content-center"],["loading","lazy",1,"img-fluid","item-img",3,"src","alt"],[1,"img-container"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/default_image.jpg","alt","Pos Default Image",1,"w-100"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-tab-group"),t.YNc(3,A4,8,3,"mat-tab",2),t.qZA()()()),2&e&&(t.xp6(3),t.Q6J("ngForOf",i.data.Tab))},dependencies:[s.sg,s.O5,g.rH,p1.uD,p1.uX,p1.SP],styles:[".tab-content-wrapper{margin-top:5rem}.mdc-tab{padding-left:0!important;padding-right:0!important}.mdc-tab-indicator{width:0!important}.mat-mdc-tab:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline,.mat-mdc-tab-link:not(.mat-mdc-tab-disabled) .mdc-tab-indicator__content--underline{border-color:#000}.mat-mdc-tab-labels{width:35%}.mat-mdc-tab-labels .mat-mdc-tab{color:#000;font-weight:500;font-size:1.3rem}.mat-mdc-tab-body-content{padding:2rem}.mat-mdc-tab .mdc-tab__text-label{font-family:GothamRegular;font-style:normal;font-weight:400;font-size:24px;line-height:36px}.mdc-tab__ripple:before,.mat-mdc-tab .mat-ripple-element,.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-link .mat-ripple-element{background-color:#fff!important}.mat-mdc-tab:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label,.mat-mdc-tab-link:not(.mat-mdc-tab-disabled).mdc-tab--active .mdc-tab__text-label{color:#000;font-family:GothamMedium!important;font-weight:600!important;font-size:24px!important;line-height:36px;text-decoration:underline}.item-container{display:flex;flex-direction:column;justify-content:center;margin:0 30px;padding:10px;cursor:pointer;text-align:center}.item-container .item-img{width:20rem;height:25rem}.item-container .item-content{margin:1rem 0;min-height:10rem}.item-container .item-content .content-title{text-align:center;color:#0e1111}.item-container .item-content .item-title:hover,.item-container .item-content .item-desc:hover{text-decoration:underline}.txtSendBold{font-family:GothamMedium!important}.txtSendPara16{font-family:GothamRegular;font-style:normal;font-weight:400;font-size:16px;color:#0e1111;line-height:28px!important}@media only screen and (max-width: 767px){.mat-mdc-tab-labels{width:100%}}\n"],encapsulation:2}),n})();var L=_(2494);function B4(n,o){if(1&n&&(t.TgZ(0,"div",3)(1,"div",4)(2,"div",5),t._UZ(3,"img",6),t.qZA(),t.TgZ(4,"div",7)(5,"p",8),t._uU(6),t.qZA()()()()),2&n){const e=o.$implicit;t.xp6(6),t.Oqu(e.bullet_title)}}function D4(n,o){if(1&n&&(t.TgZ(0,"div",1),t.YNc(1,B4,7,1,"div",2),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",e.bulletPoints)}}let V4=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-bullet-point"]],inputs:{bulletPoints:"bulletPoints"},decls:1,vars:1,consts:[["class","row",4,"ngIf"],[1,"row"],["class","col-md-6 col-sm-12",4,"ngFor","ngForOf"],[1,"col-md-6","col-sm-12"],["index","bulletPoint.id",1,"bullet-section-container"],[1,"bullet-icon-container"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/bullet_point_icon.png","width","30","height","30","alt","Pos Bullet Point Icon"],[1,"bullet-title-container"],[1,"bullet-title"]],template:function(e,i){1&e&&t.YNc(0,D4,2,1,"div",0),2&e&&t.Q6J("ngIf",i.bulletPoints&&i.bulletPoints.length>0)},dependencies:[s.sg,s.O5],styles:[".bullet-icon-container[_ngcontent-%COMP%]{flex:.1;margin-top:2px}.bullet-section-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:1rem;flex:1}.bullet-title-container[_ngcontent-%COMP%]{flex:.9}.bullet-title[_ngcontent-%COMP%]{font-size:18px;font-weight:500;font-family:var(--font-regular);margin-left:10px;margin-bottom:.5rem}@media only screen and (max-width: 767px){.bullet-point-container[_ngcontent-%COMP%]{margin-top:1rem}.bullet-icon-container[_ngcontent-%COMP%]{margin-top:0}.bullet-section-container[_ngcontent-%COMP%]{margin-bottom:1.2rem}}"]}),n})();function Y4(n,o){if(1&n&&t._UZ(0,"div",9),2&n){const e=t.oxw(),i=e.index,a=e.$implicit,c=t.oxw(2);t.Akn(c.getExpansionImage(i,a))}}function q4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-expansion-panel",4),t.NdJ("opened",function(){const c=t.CHM(e).index,l=t.oxw(2);return t.KtG(l.setOpened(c))})("closed",function(){const c=t.CHM(e).index,l=t.oxw(2);return t.KtG(l.setClosed(c))}),t.TgZ(1,"mat-expansion-panel-header")(2,"mat-panel-title",5)(3,"h3"),t._uU(4),t.qZA()(),t.TgZ(5,"mat-panel-description"),t.YNc(6,Y4,1,2,"div",6),t.qZA()(),t._UZ(7,"img",7)(8,"div",8),t.qZA()}if(2&n){const e=o.$implicit,i=o.first,a=o.last,c=o.index,l=t.oxw(2);t.Q6J("ngClass",i?"first-item":a?"last-item":"item-between")("expanded",i),t.xp6(4),t.Oqu(e.content_list_title),t.xp6(2),t.Q6J("ngIf",l.currentlyOpenedItemIndex!=c),t.xp6(1),t.s9C("src",null==e||null==e.content_image||null==e.content_image.data?null:e.content_image.data.attributes.url,t.LSH),t.Q6J("alt",(null==e||null==e.content_image||null==e.content_image.data||null==e.content_image.data.attributes?null:e.content_image.data.attributes.alternativeText)||"Pos Content Image"),t.xp6(1),t.Q6J("innerHTML",l.getDescription(e.content_list_description),t.oJD)}}function F4(n,o){if(1&n&&(t.TgZ(0,"div",1)(1,"div")(2,"div",2)(3,"mat-accordion"),t.YNc(4,q4,9,7,"mat-expansion-panel",3),t.qZA()()()()),2&n){const e=t.oxw();
1t.xp6(4),t.Q6J("ngForOf",e.contentList)}}let U4=(()=>{class n{constructor(e,i){this.sanitizer=e,this.generalService=i,this.onImageChange=new t.vpe,this.currentlyOpenedItemIndex=0,this.defaultExpansionIcon="https://assets.pos.com.my/pos-corporate/images/accordian_icon.png"}getDescription(e){return this.sanitizer.bypassSecurityTrustHtml(e)}ngOnInit(){var e,i,a,c;this.contentList&&this.contentList.length>0&&(this.imageUrl=null===(c=null===(a=null===(i=null===(e=this.contentList[0])||void 0===e?void 0:e.content_image)||void 0===i?void 0:i.data)||void 0===a?void 0:a.attributes)||void 0===c?void 0:c.url),this.onImageChange&&this.onImageChange.emit(this.imageUrl)}setOpened(e){var i,a,c,l,r;this.imageUrl=null===(l=null===(c=null===(a=null===(i=this.contentList[e])||void 0===i?void 0:i.content_image)||void 0===a?void 0:a.data)||void 0===c?void 0:c.attributes)||void 0===l?void 0:l.url,this.onImageChange&&this.onImageChange.emit(this.imageUrl),this.currentlyOpenedItemIndex=e,null!==(r=this.contentList[e])&&void 0!==r&&r.tracking_data&&this.generalService.dataLayerPush(this.contentList[e].tracking_data)}setClosed(e){this.currentlyOpenedItemIndex===e&&(this.currentlyOpenedItemIndex=-1)}getExpansionImage(e,i){return i.expansion_icon.data?`background-image: url(${i.expansion_icon.data.attributes.url})`:`background-image: url(${this.defaultExpansionIcon})`}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(P.H7),t.Y36(J.m))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-collapsible-content-list"]],inputs:{contentList:"contentList"},outputs:{onImageChange:"onImageChange"},decls:1,vars:1,consts:[["class","content-list-outer-frame",4,"ngIf"],[1,"content-list-outer-frame"],[1,"accordian_group"],["matExpansionToggleIcon","keyboard_arrow_down",3,"ngClass","expanded","opened","closed",4,"ngFor","ngForOf"],["matExpansionToggleIcon","keyboard_arrow_down",3,"ngClass","expanded","opened","closed"],[1,"mat-panel-title-text"],["class","expansion-icon",3,"style",4,"ngIf"],["loading","lazy",1,"image",3,"src","alt"],[1,"accordion-content-container",3,"innerHTML"],[1,"expansion-icon"]],template:function(e,i){1&e&&t.YNc(0,F4,5,1,"div",0),2&e&&t.Q6J("ngIf",i.contentList)},dependencies:[s.mk,s.sg,s.O5,x.pp,x.ib,x.yz,x.yK,x.u4],styles:[".content-list-outer-frame{margin-top:1rem}.first-item{border-radius:.6rem .6rem 0rem 0rem!important}.item-between{border-radius:0rem!important}.last-item{border-radius:0rem 0rem .6rem .6rem!important}.mat-expansion-panel-body,.mat-expansion-panel-header,.mat-expansion-panel-header:hover{background-color:#fff}.mat-expansion-panel-header{border-bottom:2.664px solid #eeeeee}.mat-expansion-panel-header.mat-expanded{border-bottom:0px!important}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 4px 30px #a8a8a82b}.accordian_group .mat-expansion-panel-header.mat-expanded.mat-expansion-indicator:after{display:none!important}.accordian_group .mat-expansion-panel-header-title,.accordian_group .mat-expansion-panel-header-description{flex-basis:0}.accordian_group .mat-expansion-panel-header-description{justify-content:space-between;align-items:center;margin-right:0!important}.accordian_group .mat-expansion-indicator:after{display:none!important}.expansion-icon{height:28px;width:28px;background-size:cover;border:none;border-width:0!important}.accordian_group .mat-expansion-panel-header-description{flex-grow:0!important}.accordian_group .image{height:180px;width:100%;margin-bottom:16px;border-radius:14px;display:none}.mat-expansion-panel-header{height:auto;padding:10px 24px!important}.mat-panel-title-text{font-size:1.5222rem;font-family:var(--font-regular)}.accordion-content-container{font-size:1.14171rem;font-weight:400;font-family:var(--font-regular)}.mat-expansion-panel-spacing{margin:0rem!important}@media only screen and (max-width: 767px){.accordian_group .image{display:block}}\n"],encapsulation:2}),n})();function $4(n,o){if(1&n&&(t.TgZ(0,"div",11),t._UZ(1,"img",12),t.qZA()),2&n){const e=t.oxw();t.Q6J("ngClass","left"==e.imagePosition?"show":"hide"),t.xp6(1),t.s9C("src",e.imageUrl,t.LSH)}}function E4(n,o){if(1&n&&(t.TgZ(0,"div",13),t._uU(1),t._UZ(2,"div",14),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.hij(" ",e.sectionTitle," ")}}const j4=function(n,o){return[n,o]};function R4(n,o){if(1&n&&t._UZ(0,"div",15),2&n){const e=t.oxw();t.Q6J("ngClass",t.WLB(2,j4,e.isSmallTitle?"title-small":"",5==e.blockNumber?"title-block5":""))("innerHTML",e.getTitle(),t.oJD)}}function G4(n,o){if(1&n&&t._UZ(0,"div",16),2&n){const e=t.oxw();t.Q6J("innerHTML",e.description,t.oJD)}}function K4(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",17)(1,"app-collapsible-content-list",18),t.NdJ("onImageChange",function(a){t.CHM(e);const c=t.oxw();return t.KtG(c.onImageChange(a))}),t.qZA()()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("contentList",e.data.contentList)}}function W4(n,o){if(1&n&&(t.TgZ(0,"div",19),t._UZ(1,"app-bullet-point",20),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("bulletPoints",e.data.bullet_points)}}function X4(n,o){if(1&n&&(t.TgZ(0,"div",21),t._UZ(1,"img",22),t.qZA()),2&n){const e=t.oxw();t.Q6J("ngClass","right"==e.imagePosition?"show":"hide"),t.xp6(1),t.s9C("src",e.imageUrl,t.LSH)}}function tt(n,o){if(1&n&&(t.TgZ(0,"span"),t._UZ(1,"app-block-button",25),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("button",e)}}function et(n,o){if(1&n&&(t.TgZ(0,"div",23),t.YNc(1,tt,2,1,"span",24),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",e.data.buttons)}}function nt(n,o){if(1&n&&(t.TgZ(0,"div",11),t._UZ(1,"img",26),t.qZA()),2&n){const e=t.oxw();t.Q6J("ngClass","right"==e.imagePosition?"show":"hide"),t.xp6(1),t.s9C("src",e.imageUrl,t.LSH)}}let m1=(()=>{class n{constructor(e){this.sanitizer=e,this.transparentBackground=!1,this.isMobileView=!1,this.isSmallTitle=!1}ngOnInit(){this.initBlockNumber(),this.initSectionTitle(),this.initTitle(),this.initDescription(),this.initImageUrl(),this.initImagePosition(),this.checkScreenSize()}getTitle(){return this.sanitizer.bypassSecurityTrustHtml(this.title)}onResize(e){this.checkScreenSize()}checkScreenSize(){this.isMobileView=window.innerWidth<w.mD}initBlockNumber(){var e,i,a,c;!(null===(i=null===(e=this.data)||void 0===e?void 0:e.__typename)||void 0===i)&&i.includes("5")&&(this.blockNumber=5),null!==(c=null===(a=this.data)||void 0===a?void 0:a.__typename)&&void 0!==c&&c.includes("1")||(this.isSmallTitle=!0)}initSectionTitle(){this.sectionTitle=this.data.sectionTitle}initTitle(){this.title=this.data.mainTitle}initDescription(){var e,i;this.description=null!==(i=null!==(e=this.data.blok1Subtitle)&&void 0!==e?e:this.data.block2Subtitle)&&void 0!==i?i:null}initImageUrl(){var e,i,a,c;this.imageUrl=null===(c=null===(a=null===(i=null===(e=this.data)||void 0===e?void 0:e.image)||void 0===i?void 0:i.data)||void 0===a?void 0:a.attributes)||void 0===c?void 0:c.url}initImagePosition(){this.data.block_1_image_position?this.imagePosition=this.data.block_1_image_position:this.data.block_2_image_position?this.imagePosition=this.data.block_2_image_position:this.data.block_5_image_position&&(this.imagePosition=this.data.block_5_image_position),this.imagePosition||(this.imagePosition="left")}onImageChange(e){e&&(this.imageUrl=e)}getBlockStyle(e){return this.transparentBackground?"background: transparent":(0,u.Iq)(e.block_background_color_left,e.block_background_color_right)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(P.H7))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-one"]],hostBindings:function(e,i){1&e&&t.NdJ("resize",function(c){return i.onResize(c)},!1,t.Jf7)},inputs:{data:"data",transparentBackground:"transparentBackground"},decls:12,vars:11,consts:[[1,"block1-container"],[1,"d-md-flex","d-sm-block"],["class","d-flex col-md-6",3,"ngClass",4,"ngIf"],[1,"col-md-6","d-flex","flex-column","align-self-center","body-content"],["class","section-title",4,"ngIf"],["class","title",3,"ngClass","innerHTML",4,"ngIf"],["class","description",3,"innerHTML",4,"ngIf"],["class","collapsible-container",4,"ngIf"],["class","bullet-point-container",4,"ngIf"],["class","d-flex col-md-6 block1-mobile-image-container",3,"ngClass",4,"ngIf"],["class","button-container",4,"ngIf"],[1,"d-flex","col-md-6",3,"ngClass"],["loading","lazy","alt","Pos Block One Icon",1,"image",3,"src"],[1,"section-title"],[1,"line"],[1,"title",3,"ngClass","innerHTML"],[1,"description",3,"innerHTML"],[1,"collapsible-container"],[3,"contentList","onImageChange"],[1,"bullet-point-container"],[3,"bulletPoints"],[1,"d-flex","col-md-6","block1-mobile-image-container",3,"ngClass"],["loading","lazy","alt","Pos Block One Icon Mobile View",1,"image",3,"src"],[1,"button-container"],[4,"ngFor","ngForOf"],[3,"button"],["loading","lazy","alt","Pos Block One Icon",1,"image","ml-auto",3,"src"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,$4,2,2,"div",2),t.TgZ(3,"div",3),t.YNc(4,E4,3,1,"div",4),t.YNc(5,R4,1,5,"div",5),t.YNc(6,G4,1,1,"div",6),t.YNc(7,K4,2,1,"div",7),t.YNc(8,W4,2,1,"div",8),t.YNc(9,X4,2,2,"div",9),t.YNc(10,et,2,1,"div",10),t.qZA(),t.YNc(11,nt,2,2,"div",2),t.qZA()()),2&e&&(t.Akn(i.getBlockStyle(i.data)),t.xp6(2),t.Q6J("ngIf",!(5==i.blockNumber&&i.isMobileView)),t.xp6(2),t.Q6J("ngIf",i.sectionTitle),t.xp6(1),t.Q6J("ngIf",i.title),t.xp6(1),t.Q6J("ngIf",i.description),t.xp6(1),t.Q6J("ngIf",i.data.contentList&&i.data.contentList.length>0),t.xp6(1),t.Q6J("ngIf",i.data.bullet_points&&i.data.bullet_points.length>0),t.xp6(1),t.Q6J("ngIf",!(5==i.blockNumber&&i.isMobileView)&&i.isMobileView),t.xp6(1),t.Q6J("ngIf",i.data.buttons&&i.data.buttons.length>0),t.xp6(1),t.Q6J("ngIf",!(5==i.blockNumber&&i.isMobileView||i.isMobileView)))},dependencies:[s.mk,s.sg,s.O5,L.k,V4,U4],styles:[".block1-container[_ngcontent-%COMP%]{border-radius:1rem;padding:1.8rem;margin-bottom:3rem}.block1-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{border-radius:1rem;width:34.375rem;height:34.375rem;object-fit:cover;align-self:center}.block1-container[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{font-weight:400;font-size:1.3829rem}.block1-container[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{background-color:var(--primary);border-radius:1rem;height:.6125rem;width:6.3rem;margin-bottom:3rem;margin-top:1.5rem}.block1-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700;font-size:50px;font-family:var(--font-regular);line-height:4.6875rem}.block1-container[_ngcontent-%COMP%] .title-small[_ngcontent-%COMP%]{font-size:40px;line-height:52px}.block1-container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-top:12px;font-weight:400;font-size:18px}.block1-container[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{margin-top:5rem;display:flex;flex-direction:row;width:100%}.block1-container[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{margin-right:12px;margin-bottom:0}.block1-container[_ngcontent-%COMP%] .ml-auto[_ngcontent-%COMP%]{margin-left:auto}.collapsible-container[_ngcontent-%COMP%], .bullet-point-container[_ngcontent-%COMP%]{margin-top:2rem}.show[_ngcontent-%COMP%]{display:flex!important}.hide[_ngcontent-%COMP%]{display:none!important}@media only screen and (max-width: 767px){.block1-container[_ngcontent-%COMP%]{padding:1rem 1rem 2rem}.block1-container[_ngcontent-%COMP%] .body-content[_ngcontent-%COMP%]{padding-top:2.4rem}.block1-container[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{font-size:1.1rem!important;padding-left:.75rem!important}.block1-container[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{height:.5rem!important;width:6.4rem!important;margin-bottom:2.5rem;margin-top:1.5rem;margin-left:0rem!important}.block1-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:40px!important;display:block;line-height:48px!important;padding-top:0!important;padding-left:.75rem!important;padding-right:.75rem!important}.block1-container[_ngcontent-%COMP%] .title-small[_ngcontent-%COMP%]{font-size:28px}.block1-container[_ngcontent-%COMP%] .title-block5[_ngcontent-%COMP%]{text-align:start}.block1-container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:18px;font-weight:400;display:block;padding-bottom:2rem;padding-top:1rem;padding-left:.5rem!important;padding-right:.5rem!important}.block1-container[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{flex-direction:column!important;width:100%!important;margin:20px 3px 3px!important;padding-left:0!important;padding-right:0!important;padding-bottom:1rem!important}.block1-container[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{margin-right:0!important;margin-bottom:12px!important}.block1-container[_ngcontent-%COMP%] .block1-mobile-image-container[_ngcontent-%COMP%]{padding:0}.block1-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{width:100%!important;height:auto!important;flex-shrink:0;max-width:100%;align-self:center;aspect-ratio:1}.block1-container[_ngcontent-%COMP%] .right-image[_ngcontent-%COMP%]{margin-bottom:8px}.collapsible-container[_ngcontent-%COMP%]{margin-top:1rem}.bullet-point-container[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:1rem}}"],changeDetection:0}),n})();var N1=_(5846);const it=["tabContainer"];function ot(n,o){if(1&n&&(t.TgZ(0,"div",11),t._uU(1),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.hij(" ",e.data.main_block_title,"\n")}}function at(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",12),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.scrollToMostLeft())}),t._UZ(1,"img",13),t.qZA()}if(2&n){const e=t.oxw();t.Udp("opacity",e.isMostLeft?"0":"1")}}function ct(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"button",14),t.NdJ("click",function(){const c=t.CHM(e).$implicit,l=t.oxw();return t.KtG(l.onTabSelected(c))}),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw();t.Q6J("ngClass",e.id==i.tabSelectedId?"selected-tab":"unselected-tab")("innerHTML",e.tab_button_text,t.oJD)}}function lt(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",15),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.scrollToMostRight())}),t._UZ(1,"img",16),t.qZA()}if(2&n){const e=t.oxw();t.Udp("opacity",e.isMostRight?"0":"1")}}function rt(n,o){if(1&n&&t._UZ(0,"app-block-one",18),2&n){const e=t.oxw().$implicit;t.Q6J("data",e.block2)("transparentBackground",!0)}}function st(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,rt,1,2,"app-block-one",17),t.qZA()),2&n){const e=o.$implicit,i=t.oxw();t.xp6(1),t.Q6J("ngIf",e.id==i.tabSelectedId)}}let L1=(()=>{class n{constructor(e){this.generalService=e,this.isMobileView=!1,this.isMostRight=!1,this.isMostLeft=!1}ngOnInit(){var e,i;this.data&&this.data.body.length>0&&(this.tabSelectedId=this.tabSelectedId||this.data.body[0].id,this.tabSelectedContent=this.tabSelectedContent||(null===(i=null===(e=this.data)||void 0===e?void 0:e.body[0])||void 0===i?void 0:i.block2),this.blocks=this.data.body),this.checkScreenSize()}ngAfterViewInit(){this.onScroll()}onScroll(){const e=this.tabContainer.nativeElement,a=e.scrollLeft>0;e.scrollWidth>e.clientWidth&&(this.isMostRight=!1),a&&(this.isMostLeft=!1),0===e.scrollLeft&&(this.isMostLeft=!0),e.scrollLeft+e.clientWidth===e.scrollWidth&&(this.isMostRight=!0)}scrollToMostRight(){const e=this.tabContainer.nativeElement;(0,N1.N)(e,e.scrollWidth-e.clientWidth)}scrollToMostLeft(){(0,N1.N)(this.tabContainer.nativeElement,0)}onResize(e){this.checkScreenSize()}checkScreenSize(){this.isMobileView=window.innerWidth<w.mD}getBlockStyle(){var e,i;return(0,u.Iq)(null===(e=this.tabSelectedContent)||void 0===e?void 0:e.block_background_color_left,null===(i=this.tabSelectedContent)||void 0===i?void 0:i.block_background_color_right)}onTabSelected(e){this.tabSelectedId=e.id,this.tabSelectedContent=e.block2,e.tracking_data&&this.generalService.dataLayerPush(e.tracking_data)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(J.m))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-three"]],viewQuery:function(e,i){if(1&e&&t.Gf(it,5),2&e){let a;t.iGM(a=t.CRH())&&(i.tabContainer=a.first)}},hostBindings:function(e,i){1&e&&t.NdJ("resize",function(c){return i.onResize(c)},!1,t.Jf7)},inputs:{data:"data",blocks:"blocks"},decls:11,vars:7,consts:[["class","main-block-title",4,"ngIf"],[1,"block-three-container"],[1,"tab-outter-container"],["class","arrow-container","style","margin-left: 8px;",3,"opacity","click",4,"ngIf"],[1,"tab-container",3,"scroll"],["tabContainer",""],["class","tab",3,"ngClass","innerHTML","click",4,"ngFor","ngForOf"],["class","arrow-container","style","margin-right: 8px;",3,"opacity","click",4,"ngIf"],[1,"redline-container"],[1,"redline"],[4,"ngFor","ngForOf"],[1,"main-block-title"],[1,"arrow-container",2,"margin-left","8px",3,"click"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/icon_left_arrow.png"],[1,"tab",3,"ngClass","innerHTML","click"],[1,"arrow-container",2,"margin-right","8px",3,"click"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/icon_right_arrow.png"],[3,"data","transparentBackground",4,"ngIf"],[3,"data","transparentBackground"]],template:function(e,i){1&e&&(t.YNc(0,ot,2,1,"div",0),t.TgZ(1,"div",1)(2,"div",2),t.YNc(3,at,2,2,"div",3),t.TgZ(4,"div",4,5),t.NdJ("scroll",function(){return i.onScroll()}),t.YNc(6,ct,1,2,"button",6),t.qZA(),t.YNc(7,lt,2,2,"div",7),t.qZA(),t.TgZ(8,"div",8),t._UZ(9,"div",9),t.qZA(),t.YNc(10,st,2,1,"div",10),t.qZA()),2&e&&(t.Q6J("ngIf",i.data.main_block_title),t.xp6(1),t.Akn(i.getBlockStyle()),t.xp6(2),t.Q6J("ngIf",i.isMobileView),t.xp6(3),t.Q6J("ngForOf",i.data.body),t.xp6(1),t.Q6J("ngIf",i.isMobileView),t.xp6(3),t.Q6J("ngForOf",i.blocks))},dependencies:[s.mk,s.sg,s.O5,m1],styles:[".main-block-title[_ngcontent-%COMP%]{font-size:30px;font-family:var(--font-regular);font-weight:700;line-height:40px;text-align:center;margin-bottom:18px}.block-three-container[_ngcontent-%COMP%]{border-radius:20px;font-family:var(--font-regular)}.block-three-container[_ngcontent-%COMP%] .tab-outter-container[_ngcontent-%COMP%]{display:flex;flex-direction:row}.block-three-container[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%]{display:flex;flex:1;justify-content:center;overflow-x:scroll;white-space:nowrap;-ms-overflow-style:none;scrollbar-width:none;font-weight:700;padding:32px 3rem 12px;text-align:center}.block-three-container[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%]{font-size:16px;margin-right:2rem;border-width:0;border-radius:8px;padding:0 38px;min-height:48px;padding:.7rem}.block-three-container[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%]:last-child{margin-right:0}.block-three-container[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] .selected-tab[_ngcontent-%COMP%]{background-color:#ff3358;color:#fff}.block-three-container[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] .unselected-tab[_ngcontent-%COMP%]{background-color:#ff00}.block-three-container[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.arrow-container[_ngcontent-%COMP%]{display:flex;align-items:center;background-color:#00000008;margin:24px 4px 4px;padding:0 2px;border-radius:4px}.arrow-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:14px;
1height:14px}@media only screen and (max-width: 767px){.main-block-title[_ngcontent-%COMP%]{font-size:34px;line-height:32px;text-align:center;padding:0 20px}.block-three-container[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%]{justify-content:start;padding:24px 0 4px;margin:0;font-size:14px}.block-three-container[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%]{margin-right:1rem;padding:.9rem 1.5rem 0}.block-three-container[_ngcontent-%COMP%] .tab-container[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}}.redline-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center;margin:10px 0}.redline-container[_ngcontent-%COMP%] .redline[_ngcontent-%COMP%]{width:93%;height:2px;background-color:#ff3358}"]}),n})();var pt=_(4128);let $=(()=>{class n extends V._{constructor(e){super(e),this.http=e,this.endPoint="/api",this.manualConstructor()}getBlock8(e){return this.http.post(this.fullPathEndPoint+"/block8",e)}getBlock9(e){return this.http.post(this.fullPathEndPoint+"/block9",e)}uploadAttachments(e){const i=this.fullPathEndPoint+"/uploadFile",a=new FormData;for(let c=0;c<e.length;c++)a.append("files",e[c]);return this.http.post(i,a)}submitCustomForm(e){return this.http.post(this.fullPathEndPoint+"/submitForm",e)}submitForm(e,i){let a=[];i&&i.forEach(l=>{const r=this.uploadAttachments(l.fileList);a.push(r)});const c=this.submitCustomForm(e);return(0,pt.D)([...a,c])}getPostOfYears(e){return this.http.get(`${this.fullPathEndPoint}/getYearsOfPost?category=${e}`)}getPostOfYearsForBlock(e,i){return this.http.get(`${this.fullPathEndPoint}/getYearsOfBlockPostForBlock?block=${e}&blockId=${i}`)}getBlockPosts(e,i,a,c,l,r,p){const m=`${this.fullPathEndPoint}/getBlockPostByBlockId?skip=${i}&take=${a}`;let f={locale:e,idKey:l,slug:c,startDate:"",endDate:""};return r&&p&&(f=Object.assign(Object.assign({},f),{startDate:r,endDate:p})),this.http.post(m,f,{headers:{"content-type":"application/json"}})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Y.eN))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function mt(n,o){if(1&n&&(t.TgZ(0,"div",11),t._UZ(1,"div",12),t.qZA()),2&n){const e=t.oxw(2);t.Q6J("innerHTML",e.getSanitizeHtml(e.subBlock9Data.sectionTitle),t.oJD)}}function _t(n,o){if(1&n&&t._UZ(0,"div",13),2&n){const e=t.oxw(2);t.Q6J("innerHTML",e.getSanitizeHtml(e.subBlock9Data.title),t.oJD)}}function dt(n,o){if(1&n&&t._UZ(0,"div",14),2&n){const e=t.oxw(2);t.Q6J("innerHTML",e.getSanitizeHtml(e.subBlock9Data.subtitle),t.oJD)}}function ft(n,o){if(1&n&&(t.TgZ(0,"div",1)(1,"a",2),t._UZ(2,"div",3),t.TgZ(3,"div",4),t.YNc(4,mt,2,1,"div",5),t.YNc(5,_t,1,1,"div",6),t.YNc(6,dt,1,1,"div",7),t.TgZ(7,"div",8),t._UZ(8,"app-block-button",9),t.qZA(),t.TgZ(9,"div",10),t._UZ(10,"app-block-button",9),t.qZA()()()()),2&n){const e=t.oxw();t.Akn(e.getBlockStyle()),t.xp6(1),t.s9C("href",e.subBlock9Data.sub_block_9_button.url,t.LSH),t.xp6(1),t.Akn(e.getImageUrl()),t.xp6(2),t.Q6J("ngIf",e.subBlock9Data.sectionTitle),t.xp6(1),t.Q6J("ngIf",e.subBlock9Data.title),t.xp6(1),t.Q6J("ngIf",e.subBlock9Data.subtitle),t.xp6(2),t.Q6J("button",e.subBlock9Data.sub_block_9_button)("stopPropagation",!0),t.xp6(2),t.Q6J("button",e.subBlock9Data.sub_block_9_button)("stopPropagation",!0)}}let gt=(()=>{class n{constructor(e){this.sanitizer=e}getImageUrl(){var e,i;return null!==(e=this.subBlock9Data.image)&&void 0!==e&&e.url?`background-image: url(${null===(i=this.subBlock9Data.image)||void 0===i?void 0:i.url})`:"background-image: url('https://assets.pos.com.my/pos-corporate/images/default_placeholder.png')"}getSanitizeHtml(e){return this.sanitizer.bypassSecurityTrustHtml(e)}getBlockStyle(){return(0,u.Iq)(this.subBlock9Data.block_background_color_left,this.subBlock9Data.block_background_color_right)}getButtonStyle(){return`width: 100%; background-color: ${this.subBlock9Data.sub_block_9_button.button_background_color}; color:${this.subBlock9Data.sub_block_9_button.button_font_color}; border-color:${this.subBlock9Data.sub_block_9_button.button_border_color}`}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(P.H7))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-sub-block-nine"]],inputs:{subBlock9Data:"subBlock9Data"},decls:1,vars:1,consts:[["class","sub-block-nine-outer-container",3,"style",4,"ngIf"],[1,"sub-block-nine-outer-container"],["target","_blank",1,"sub-block-nine-content-panel",3,"href"],[1,"panel-img"],[1,"panel-content"],["class","section-title",3,"innerHTML",4,"ngIf"],["class","panel-title",3,"innerHTML",4,"ngIf"],["class","panel-desc",3,"innerHTML",4,"ngIf"],[1,"desktop-button-container"],[3,"button","stopPropagation"],[1,"mobile-button-container"],[1,"section-title",3,"innerHTML"],[1,"line"],[1,"panel-title",3,"innerHTML"],[1,"panel-desc",3,"innerHTML"]],template:function(e,i){1&e&&t.YNc(0,ft,11,12,"div",0),2&e&&t.Q6J("ngIf",i.subBlock9Data)},dependencies:[s.O5,L.k],styles:[".sub-block-nine-outer-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-grow:1;height:100%;border-radius:16px;margin-bottom:0}.sub-block-nine-content-panel[_ngcontent-%COMP%]{padding:50px 6%;margin-bottom:30px;border-radius:15px;color:#2e2e2e;display:flex;align-items:center;text-decoration:none;height:100%}.sub-block-nine-content-panel[_ngcontent-%COMP%]:last-child{margin-bottom:0}.sub-block-nine-content-panel[_ngcontent-%COMP%] .panel-img[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:contain;flex-shrink:0}.sub-block-nine-content-panel[_ngcontent-%COMP%] .panel-content[_ngcontent-%COMP%]{flex-grow:1}.sub-block-nine-content-panel[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-weight:700}.sub-block-nine-content-panel[_ngcontent-%COMP%]{padding:28px;margin-bottom:40px;border-radius:15px;flex-direction:column}.sub-block-nine-content-panel[_ngcontent-%COMP%] .panel-img[_ngcontent-%COMP%]{background-size:cover;width:100%;padding-top:65%;border-radius:16px;overflow:hidden}.sub-block-nine-content-panel[_ngcontent-%COMP%] .panel-content[_ngcontent-%COMP%]{width:100%;padding:40px 20px 20px}.sub-block-nine-content-panel[_ngcontent-%COMP%] .panel-content[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{font-size:18px;color:#3c4043}.sub-block-nine-content-panel[_ngcontent-%COMP%] .panel-content[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{background-color:var(--primary);border-radius:1rem;height:.6125rem;width:6.3rem;margin-bottom:1.5rem;margin-top:1.5rem}.sub-block-nine-content-panel[_ngcontent-%COMP%] .panel-content[_ngcontent-%COMP%] .panel-title[_ngcontent-%COMP%]{font-size:36px;font-weight:700;line-height:54px;font-family:var(--font-regular)}.sub-block-nine-content-panel[_ngcontent-%COMP%] .panel-content[_ngcontent-%COMP%] .panel-desc[_ngcontent-%COMP%]{margin-top:16px;font-size:20px;font-family:var(--font-regular);margin-bottom:80px}.desktop-button-container[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse}.mobile-button-container[_ngcontent-%COMP%]{display:none}@media only screen and (max-width: 767px){.sub-block-nine-outer-container[_ngcontent-%COMP%]{margin-bottom:24px}.sub-block-nine-content-panel[_ngcontent-%COMP%]{padding:25px 15px;border-radius:10px;height:100%}.sub-block-nine-content-panel[_ngcontent-%COMP%]:last-child{margin-bottom:0}.sub-block-nine-content-panel[_ngcontent-%COMP%]{width:100%;margin:0 auto 20px}.sub-block-nine-content-panel[_ngcontent-%COMP%] .panel-content[_ngcontent-%COMP%]{padding:32px 8px 14px}.sub-block-nine-content-panel[_ngcontent-%COMP%] .panel-content[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{font-size:14px;color:#3c4043}.sub-block-nine-content-panel[_ngcontent-%COMP%] .panel-content[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{height:.5rem;width:6.4rem}.sub-block-nine-content-panel[_ngcontent-%COMP%] .panel-content[_ngcontent-%COMP%] .panel-title[_ngcontent-%COMP%]{font-size:32px;line-height:40px}.desktop-button-container[_ngcontent-%COMP%]{display:none}.mobile-button-container[_ngcontent-%COMP%]{display:block}}"]}),n})();function ut(n,o){if(1&n&&t._UZ(0,"div",5),2&n){const e=t.oxw(2);t.Q6J("innerHTML",e.getSanitizeHtml(e.data.block_header_title),t.oJD)}}function vt(n,o){if(1&n&&(t.TgZ(0,"div",9),t._UZ(1,"app-sub-block-nine",10),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("subBlock9Data",e)}}function ht(n,o){if(1&n&&(t.TgZ(0,"div",6)(1,"div",7),t.YNc(2,vt,2,1,"div",8),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(2),t.Q6J("ngForOf",e.blockContentList)}}function xt(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",11)(1,"app-block-button",12),t.NdJ("onPress",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.onLoadMoreClick())}),t.qZA()()}if(2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("button",e.loadMoreButton)("stopPropagation",!0)}}function bt(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,ut,1,1,"div",1),t.TgZ(2,"div",2),t.YNc(3,ht,3,1,"div",3),t.YNc(4,xt,2,2,"div",4),t.qZA()()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",e.data.block_header_title),t.xp6(2),t.Q6J("ngIf",e.blockContentList),t.xp6(1),t.Q6J("ngIf",e.hasMorePage&&e.loadMoreButton)}}let O1=(()=>{class n{constructor(e,i){this.customBlockApiService=e,this.sanitizer=i,this.blockContentList=[],this.limit=w.BO,this.skip=0,this.hasMorePage=!1}getSanitizeHtml(e){return this.sanitizer.bypassSecurityTrustHtml(e)}ngOnInit(){var e;this.data.block9_block_contents.length>0&&this.getPostItems(),this.loadMoreButton={button_title:null!==(e=this.data.load_more_button_text)&&void 0!==e?e:"See More"}}getPostItems(){this.customBlockApiService.getBlock9({slug:this.path,skip:this.skip,take:this.limit,idKey:this.data.id}).subscribe({next:i=>{if(i){const c=i.pageContent.find(l=>"sections.block9"==l.__component);c&&(0===this.skip?this.blockContentList=c.block_contents:this.blockContentList.push(...c.block_contents),this.hasMorePage=this.blockContentList.length<i.pagination.totalCount)}},error:i=>{}})}onLoadMoreClick(){this.hasMorePage&&(this.skip+=this.limit,this.getPostItems())}}return n.\u0275fac=function(e){return new(e||n)(t.Y36($),t.Y36(P.H7))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-nine"]],inputs:{data:"data",path:"path"},decls:1,vars:1,consts:[[4,"ngIf"],["class","block-nine-sect-title text-center",3,"innerHTML",4,"ngIf"],[1,"page-top-container"],["class","block-content-holder",4,"ngIf"],["class","load_more_button_container",4,"ngIf"],[1,"block-nine-sect-title","text-center",3,"innerHTML"],[1,"block-content-holder"],[1,"grid-container"],["class","grid-item",4,"ngFor","ngForOf"],[1,"grid-item"],[3,"subBlock9Data"],[1,"load_more_button_container"],[3,"button","stopPropagation","onPress"]],template:function(e,i){1&e&&t.YNc(0,bt,5,3,"div",0),2&e&&t.Q6J("ngIf",i.data)},dependencies:[s.sg,s.O5,L.k,gt],styles:[".page-top-container[_ngcontent-%COMP%]{padding-top:1.8rem;padding-bottom:4rem}.row[_ngcontent-%COMP%] > [class*=col-][_ngcontent-%COMP%]{display:flex;flex-direction:column}.block-nine-sect-title[_ngcontent-%COMP%]{font-family:var(--font-regular);font-size:30px;font-weight:700;padding:0 20px}.block-content-holder[_ngcontent-%COMP%]{max-width:100%;margin:0 auto}.grid-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}.grid-item[_ngcontent-%COMP%]{max-width:100%}.block-content-holder[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.load_more_button_container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-top:28px}@media only screen and (max-width: 767px){.page-top-container[_ngcontent-%COMP%]{padding:1rem 0rem 2rem}.col-sm-12[_ngcontent-%COMP%]{padding:0}.block-nine-sect-title[_ngcontent-%COMP%]{font-size:30px;padding:0 28px}.grid-container[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:18px}.load_more_button_container[_ngcontent-%COMP%]{margin-top:16px}}"]}),n})();function Ct(n,o){if(1&n&&t._UZ(0,"div",6),2&n){const e=t.oxw(2);t.Q6J("innerHTML",e.getTitle(),t.oJD)}}function kt(n,o){if(1&n&&(t.TgZ(0,"div",7),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Oqu(e.data.block_subtitle)}}function Mt(n,o){if(1&n&&(t.TgZ(0,"div",13),t._UZ(1,"img",14)(2,"app-inner-html",15),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("src",e.icon.data.attributes.url,t.LSH)("alt",(null==e||null==e.icon||null==e.icon.data||null==e.icon.data.attributes?null:e.icon.data.attributes.alternativeText)||"Pos Block Eleven Icon"),t.xp6(1),t.Q6J("data",e.icon_html)}}function zt(n,o){if(1&n&&(t.TgZ(0,"a",16),t._UZ(1,"img",14)(2,"app-inner-html",15),t.qZA()),2&n){const e=t.oxw().$implicit;t.Q6J("href",e.cta_link,t.LSH)("target",e.is_new_tab?"_blank":"_self"),t.xp6(1),t.Q6J("src",e.icon.data.attributes.url,t.LSH)("alt",(null==e||null==e.icon||null==e.icon.data||null==e.icon.data.attributes?null:e.icon.data.attributes.alternativeText)||"Pos Block Eleven Icon"),t.xp6(1),t.Q6J("data",e.icon_html)}}function wt(n,o){if(1&n&&(t.TgZ(0,"div",10),t.YNc(1,Mt,3,3,"div",11),t.YNc(2,zt,3,5,"a",12),t.qZA()),2&n){const e=o.$implicit,i=t.oxw(3);t.Q6J("ngClass",11==i.blockNumber?"icon-only-holder":"d-none"),t.xp6(1),t.Q6J("ngIf",i.iconWithContainer&&!e.cta_link),t.xp6(1),t.Q6J("ngIf",i.iconWithContainer&&e.cta_link)}}function yt(n,o){if(1&n&&t._UZ(0,"img",18),2&n){const e=t.oxw().$implicit;t.Q6J("src",e.icon.data.attributes.url,t.LSH)("alt",(null==e||null==e.icon||null==e.icon.data||null==e.icon.data.attributes?null:e.icon.data.attributes.alternativeText)||"Pos Block Eleven Icon")}}
1function Tt(n,o){if(1&n&&(t.TgZ(0,"div",10),t.YNc(1,yt,1,2,"img",17),t.qZA()),2&n){const e=t.oxw(3);t.Q6J("ngClass",12==e.blockNumber?"icon-only-holder":"d-none"),t.xp6(1),t.Q6J("ngIf",!e.iconWithContainer)}}function Pt(n,o){if(1&n&&(t.TgZ(0,"div",8),t.YNc(1,wt,3,3,"div",9),t.YNc(2,Tt,2,2,"div",9),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.blockContents),t.xp6(1),t.Q6J("ngForOf",e.blockContents)}}function Zt(n,o){if(1&n&&(t.TgZ(0,"div",19),t._UZ(1,"app-block-button",20),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("button",e.data.cta_button)}}const St=function(n,o){return[n,o]};function Nt(n,o){if(1&n&&(t.TgZ(0,"div",1),t.YNc(1,Ct,1,1,"div",2),t.YNc(2,kt,2,1,"div",3),t.YNc(3,Pt,3,2,"div",4),t.YNc(4,Zt,2,1,"div",5),t.qZA()),2&n){const e=t.oxw();t.Akn(e.getBlockStyle()),t.Q6J("ngClass",t.WLB(7,St,12==e.blockNumber?"block-twelwe-outer-container":"",e.enabledBorder?"":"no-border")),t.xp6(1),t.Q6J("ngIf",e.data.block_header),t.xp6(1),t.Q6J("ngIf",e.data.block_subtitle),t.xp6(1),t.Q6J("ngIf",e.blockContents),t.xp6(1),t.Q6J("ngIf",e.data.cta_button)}}let I1=(()=>{class n{constructor(e){this.sanitizer=e,this.iconWithContainer=!0,this.blockContents=[],this.isSpaceEvenly=!1,this.isMobileView=!1}ngOnInit(){var e;this.blockNumber=this.data.__typename.includes("11")?11:12,this.enabledBorder=null===(e=this.data.enabled_border)||void 0===e||e,this.data&&(this.data.block11_block_contents?this.blockContents=this.data.block11_block_contents:this.data.block12_block_contents&&(this.blockContents=this.data.block12_block_contents)),this.isSpaceEvenly=!(this.blockContents&&this.blockContents.length>3),this.checkScreenSize()}getTitle(){return this.sanitizer.bypassSecurityTrustHtml(this.data.block_header)}onResize(e){this.checkScreenSize()}checkScreenSize(){this.isMobileView=window.innerWidth<w.mD}getBlockStyle(){return(0,u.Iq)(this.data.block_background_color_left,this.data.block_background_color_right)}directToCTALink(e){e.cta_link&&window.open(e.cta_link,e.is_new_tab?"_blank":"_self")}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(P.H7))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-eleven"]],hostBindings:function(e,i){1&e&&t.NdJ("resize",function(c){return i.onResize(c)},!1,t.Jf7)},inputs:{data:"data",iconWithContainer:"iconWithContainer"},decls:1,vars:1,consts:[["class","block-eleven-outer-container",3,"ngClass","style",4,"ngIf"],[1,"block-eleven-outer-container",3,"ngClass"],["class","block-title",3,"innerHTML",4,"ngIf"],["class","block-subtitle",4,"ngIf"],["class","icons-outer-frame",4,"ngIf"],["class","cta-button-container",4,"ngIf"],[1,"block-title",3,"innerHTML"],[1,"block-subtitle"],[1,"icons-outer-frame"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","icon-container",4,"ngIf"],["class","icon-container pointer-class",3,"href","target",4,"ngIf"],[1,"icon-container"],["loading","lazy",3,"src","alt"],[1,"icon-description",3,"data"],[1,"icon-container","pointer-class",3,"href","target"],["loading","lazy","class","block-twelve-icon",3,"src","alt",4,"ngIf"],["loading","lazy",1,"block-twelve-icon",3,"src","alt"],[1,"cta-button-container"],[3,"button"]],template:function(e,i){1&e&&t.YNc(0,Nt,5,10,"div",0),2&e&&t.Q6J("ngIf",i.data)},dependencies:[s.mk,s.sg,s.O5,Z.W,L.k],styles:[".block-eleven-outer-container[_ngcontent-%COMP%]{text-align:center;border:3px,3px,1px,3px;border-width:3px,3px,1px,3px;border-radius:1.26857rem;box-shadow:0 4px 10px #00000026;padding:44px 40px 40px;margin-bottom:3rem}.no-border[_ngcontent-%COMP%]{box-shadow:none;padding:0}.block-twelwe-outer-container[_ngcontent-%COMP%]{padding:24px 20px 20px}.block-title[_ngcontent-%COMP%]{font-size:30px;color:#2e2e2e;font-family:var(--font-regular);font-weight:600;margin-bottom:.8rem}.block-subtitle[_ngcontent-%COMP%]{font-size:18px;font-weight:400;color:#000;font-family:var(--font-regular);margin-bottom:1rem}.icons-outer-frame[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:row;justify-content:center;flex-wrap:wrap;overflow-x:auto;padding:4px}.icons-outer-frame[_ngcontent-%COMP%] .icon-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;height:100%;width:auto;min-width:240px;padding:24px;text-decoration:none}.icons-outer-frame[_ngcontent-%COMP%] .icon-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;width:100%;object-fit:contain;aspect-ratio:1}.icons-outer-frame[_ngcontent-%COMP%] .icon-only-holder[_ngcontent-%COMP%]{margin:14px;box-shadow:0 4px 10px #00000026;border-radius:20px}.icons-outer-frame[_ngcontent-%COMP%] .icon-only-holder[_ngcontent-%COMP%] .icon-description[_ngcontent-%COMP%]{font-size:18px;color:#2e2e2e;font-family:var(--font-regular);padding:32px 0 12px}.icons-outer-frame-space-between[_ngcontent-%COMP%]{justify-content:space-between}.icons-outer-frame-space-evenly[_ngcontent-%COMP%]{justify-content:space-evenly}.pointer-class[_ngcontent-%COMP%]{cursor:pointer}.icons-outer-frame[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.cta-button-container[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:2rem}.block-twelve-icon[_ngcontent-%COMP%]{height:56px!important}@media only screen and (max-width: 767px){.block-eleven-outer-container[_ngcontent-%COMP%]{padding:24px 0}.block-title[_ngcontent-%COMP%]{margin-top:20px;font-size:34px;line-height:40px}.block-subtitle[_ngcontent-%COMP%]{font-size:18px;padding:20px 20px 0}.icons-outer-frame[_ngcontent-%COMP%]{flex-direction:column;width:100%!important}.icons-outer-frame[_ngcontent-%COMP%] .icon-container[_ngcontent-%COMP%]{justify-content:center;margin-bottom:16px;width:100%!important;padding:12px!important}.icons-outer-frame[_ngcontent-%COMP%] .icon-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:64px!important;aspect-ratio:1;object-fit:contain}.icons-outer-frame[_ngcontent-%COMP%] .icon-only-holder[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:8px}.icons-outer-frame[_ngcontent-%COMP%] .icon-only-holder[_ngcontent-%COMP%] .icon-description[_ngcontent-%COMP%]{font-size:20px;color:#2e2e2e;font-family:var(--font-regular);padding:14px 0 0}.icon-only-holder[_ngcontent-%COMP%]:last-child{margin-bottom:0!important}.block-twelve-icon[_ngcontent-%COMP%]{width:60vw;
1height:60vw;object-fit:contain;margin-bottom:24px}@keyframes slide{0%{transform:translate(0)}to{transform:translate(-100%)}}.logos[_ngcontent-%COMP%]{overflow:hidden;padding:20px 0;white-space:nowrap}.logos[_ngcontent-%COMP%] .logos-slide[_ngcontent-%COMP%]{display:inline-block}.logos[_ngcontent-%COMP%] .logos-slide[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:50px;margin:0 40px}}"]}),n})(),Lt=(()=>{class n extends V._{constructor(e){super(e),this.http=e,this.endPoint="/graphql",this.manualConstructor()}getTestimonials(e,i,a,c){const l=JSON.stringify({query:"\n fragment FileParts on UploadFileEntityResponse {\n data {\n id\n attributes {\n alternativeText\n width\n height\n mime\n url\n formats\n }\n }\n }\n query GetTestimonials(\n $publicationState: PublicationState!\n $skip: Int!\n $limit: Int!\n $locale: I18NLocaleCode!\n ) {\n testimonials(\n publicationState: $publicationState\n pagination: { start: $skip, limit: $limit }\n locale: $locale\n ) {\n data {\n id\n attributes {\n customerName\n subtitle\n customerImage {\n ...FileParts\n }\n position\n block_background_color_left\n block_background_color_right\n image_right_position\n }\n }\n }\n }\n ",variables:{publicationState:i?"PREVIEW":"LIVE",skip:a,limit:c,locale:e}});return this.http.post(this.fullPathEndPoint,l,{headers:{"content-type":"application/json"}})}getTestimonialList(e,i,a,c){const l=JSON.stringify({query:"\n fragment FileParts on UploadFileEntityResponse {\n data {\n id\n attributes {\n alternativeText\n width\n height\n mime\n url\n formats\n }\n }\n }\n\n query GetLayouts(\n $slug: String!\n $publicationState: PublicationState!\n $locale: I18NLocaleCode!\n $skip: Int\n $take: Int\n ) {\n layouts(\n filters: { slug: { eqi: $slug } }\n publicationState: $publicationState\n locale: $locale\n ) {\n data {\n id\n attributes {\n createdAt\n locale\n localizations {\n data {\n id\n attributes {\n locale\n }\n }\n }\n pageContent {\n ... on ComponentSectionsBlock10{\n id\n block10_block_header: block_header\n testimonials(pagination: { start: $skip, limit: $take}) {\n data {\n id\n attributes {\n position\n customerName\n customerImage {\n ...FileParts\n }\n block_background_color_left\n block_background_color_right\n subtitle\n image_right_position\n }\n }\n }\n }\n }\n }\n\n }\n }\n }\n ",variables:{slug:e,publicationState:"LIVE",locale:i,skip:a,take:c}});return this.http.post(this.fullPathEndPoint,l,{headers:{"content-type":"application/json"}})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Y.eN))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Ot(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",14)(1,"a",15),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(3),c=t.MAs(3);return t.KtG(a.onPrevClicked(c))}),t._UZ(2,"img",16),t.qZA(),t.TgZ(3,"a",17),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(3),c=t.MAs(3);return t.KtG(a.onNextClicked(c))}),t._UZ(4,"img",18),t.qZA()()}if(2&n){const e=t.oxw(2).$implicit;t.Q6J("ngClass",1==e.attributes.image_right_position?"nav-buttons-left-position":"nav-buttons-right-position")}}function It(n,o){if(1&n&&(t.TgZ(0,"div",4)(1,"div",5),t._UZ(2,"img",6),t.qZA(),t.TgZ(3,"div",7)(4,"div",8),t._uU(5),t.qZA(),t.TgZ(6,"div",9),t._uU(7),t.qZA(),t.TgZ(8,"div",10),t._uU(9),t.qZA(),t.YNc(10,Ot,5,1,"div",11),t.qZA(),t.TgZ(11,"div",12),t._UZ(12,"img",13),t.qZA()()),2&n){const e=t.oxw().$implicit,i=t.oxw();t.Akn(i.getBlockStyle(e)),t.xp6(1),t.Q6J("ngClass",0==e.attributes.image_right_position?"show_image_container":"dismiss_image_container"),t.xp6(1),t.Q6J("src",null!=e&&null!=e.attributes.customerImage&&e.attributes.customerImage.data?null==e||null==e.attributes.customerImage?null:e.attributes.customerImage.data.attributes.url:"",t.LSH)("alt",null!=e&&null!=e.attributes&&null!=e.attributes.customerImage&&e.attributes.customerImage.data?null==e||null==e.attributes||null==e.attributes.customerImage||null==e.attributes.customerImage.data||null==e.attributes.customerImage.data.attributes?null:e.attributes.customerImage.data.attributes.alternativeText:"Pos Banner Image"),t.xp6(1),t.Q6J("ngClass",1==e.attributes.image_right_position?"margin-right-spacing":"margin-left-spacing"),t.xp6(2),t.hij(" ",e.attributes.customerName," "),t.xp6(2),t.hij(" ",e.attributes.position," "),t.xp6(2),t.hij(' "',e.attributes.subtitle,'" '),t.xp6(1),t.Q6J("ngIf",1==i.showButton),t.xp6(1),t.Q6J("ngClass",1==e.attributes.image_right_position?"show_image_container":"dismiss_image_container"),t.xp6(1),t.Q6J("src",null!=e&&null!=e.attributes.customerImage&&e.attributes.customerImage.data?null==e||null==e.attributes.customerImage?null:e.attributes.customerImage.data.attributes.url:"",t.LSH)("alt",null!=e&&null!=e.attributes&&null!=e.attributes.customerImage&&e.attributes.customerImage.data?null==e||null==e.attributes||null==e.attributes.customerImage||null==e.attributes.customerImage.data||null==e.attributes.customerImage.data.attributes?null:e.attributes.customerImage.data.attributes.alternativeText:"Pos Testimonial Customer Icon")}}function Ht(n,o){if(1&n&&(t.ynx(0),t.YNc(1,It,13,13,"ng-template",3),t.BQk()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("id",e.id.toString())}}let Jt=(()=>{class n{constructor(e){this.testimonialService=e,this.customOptions={loop:!1,mouseDrag:!1,touchDrag:!1,pullDrag:!1,autoplay:!1,navText:["",""],dots:!1,navSpeed:700,autoHeight:!0,responsive:{0:{items:1}}},this.totalTestimonialCount=0,this.showButton=!1,this.skip=0,this.take=1,this.testimonialList=[],this.hasMore=!0,this.currentIndex=0}ngOnInit(){this.showButton=this.testimonials.data.length>1,this.testimonials.data.length>0&&this.getTestimonials()}getTestimonials(e){this.testimonialService.getTestimonialList(this.path,"en",this.skip,this.take).subscribe(i=>{var a;if(null!==(a=i?.data)&&void 0!==a&&a.layouts){const c=i.data.layouts.data[0].attributes.pageContent.find(l=>l.testimonials);c&&(this.testimonialList.push(...c.testimonials.data),this.totalTestimonialCount+=c.testimonials.data.length,c.testimonials.data.length>0?e&&setTimeout(()=>{this.customOptions.startPosition=this.currentIndex+1,e.next(),this.currentIndex+=1},100):this.hasMore=!1)}})}getBlockStyle(e){var i,a;return(0,u.Iq)(null===(i=e.attributes)||void 0===i?void 0:i.block_background_color_left,null===(a=e.attributes)||void 0===a?void 0:a.block_background_color_right)}onNextClicked(e){this.hasMore&&(this.currentIndex==this.totalTestimonialCount-1||this.currentIndex>=this.totalTestimonialCount)?(this.skip+=1,this.getTestimonials(e)):(this.currentIndex+=1,e.next())}onPrevClicked(e){this.currentIndex>0&&(this.currentIndex-=1),e.prev()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Lt))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-testimonial"]],inputs:{testimonials:"testimonials",path:"path"},decls:5,vars:2,consts:[[1,"testimonialOwlCarousel",3,"options"],["owlBanner","","testimonialCarousel",""],[4,"ngFor","ngForOf"],["carouselSlide","",3,"id"],[1,"testimonial-outer-holder",2,"height","auto !important"],[1,"testimonial-image-left-content-holder",3,"ngClass"],["loading","lazy","alt","Pos Testimonial Image",1,"main-img",3,"src","alt"],[1,"testimonial-text-content-holder",3,"ngClass"],[1,"customer-name-text"],[1,"customer-position"],[1,"customer-feedback"],["class","nav-buttons-container",3,"ngClass",4,"ngIf"],[1,"testimonial-image-right-content-holder",3,"ngClass"],["loading","lazy",1,"main-img",3,"src","alt"],[1,"nav-buttons-container",3,"ngClass"],["
1id","left-button",1,"btn","btn-prev",3,"click"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/arrow-left.png","alt","Pos Testimonial Left Icon"],[1,"btn","btn-next",3,"click"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/arrow-right.png","alt","Pos Testimonial Right Icon"]],template:function(e,i){1&e&&(t.TgZ(0,"div")(1,"owl-carousel-o",0,1),t.YNc(4,Ht,2,1,"ng-container",2),t.qZA()()),2&e&&(t.xp6(1),t.Q6J("options",i.customOptions),t.xp6(3),t.Q6J("ngForOf",i.testimonialList))},dependencies:[k.Fy,k.Mp,s.mk,s.sg,s.O5],styles:[".testimonialOwlCarousel .owl-stage{display:flex;flex-wrap:wrap}.testimonialOwlCarousel .owl-item{display:flex;height:auto!important}.testimonial-content-holder{display:flex;flex-direction:row;flex:1;overflow-x:auto}.testimonial-outer-holder{border-radius:20px;box-shadow:0 4px 4px #00000026;padding:2rem;display:flex;flex:1;flex-direction:row}.main-img{border-radius:1rem;object-fit:cover;align-self:center;width:480px!important;height:320px!important}.nav-buttons-container{margin-top:3rem;display:flex;flex-direction:row}.nav-buttons-container img{width:24px;height:24px}.nav-buttons-left-position{justify-content:left}.nav-buttons-right-position{justify-content:right}.testimonial-text-content-holder{height:100%;padding:36px 26px 26px;flex:.6}.testimonial-text-content-holder .customer-name-text{font-size:25px;font-weight:700;font-family:var(--font-regular)}.testimonial-text-content-holder .customer-position{font-size:20px;font-weight:500;font-family:var(--font-regular);padding-top:.5rem}.testimonial-text-content-holder .customer-feedback{margin-top:12px;font-size:20px;font-weight:400;font-family:var(--font-regular)}.testimonial-image-left-content-holder,.testimonial-image-right-content-holder{flex:.4}.margin-right-spacing{margin-right:2.2rem}.margin-left-spacing{margin-left:2.2rem}.show_image_container{display:block!important}.dismiss_image_container{display:none!important}@media only screen and (max-width: 767px){.testimonial-outer-holder{padding:12px 12px 2rem;flex-direction:column}.main-img{width:100%;height:220px!important}.nav-buttons-container img{width:32px;height:32px}.testimonial-text-content-holder{padding:8px 10px 0}.testimonial-text-content-holder .customer-position{padding-top:.2rem}.testimonial-text-content-holder .customer-feedback{margin-top:14px}.testimonial-image-right-content-holder{display:none!important}.testimonial-image-left-content-holder{display:block!important;margin-bottom:1rem}.nav-buttons-left-position,.nav-buttons-right-position{justify-content:center!important}.margin-left-spacing{margin-left:0}.margin-right-spacing{margin-right:0}}\n"],encapsulation:2}),n})();function Qt(n,o){if(1&n&&(t.TgZ(0,"div",4),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.blockTenData.block10_block_header,"")}}function At(n,o){if(1&n&&(t.TgZ(0,"div",5),t._UZ(1,"app-block-testimonial",6),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("testimonials",e.blockTenData.testimonials)("path",e.path)}}function Bt(n,o){if(1&n&&(t.TgZ(0,"div",1),t.YNc(1,Qt,2,1,"div",2),t.YNc(2,At,2,2,"div",3),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",e.blockTenData.block10_block_header),t.xp6(1),t.Q6J("ngIf",e.blockTenData.testimonials.data)}}let H1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-ten"]],inputs:{blockTenData:"blockTenData",path:"path"},decls:1,vars:1,consts:[["class","page-top-container",4,"ngIf"],[1,"page-top-container"],["class","block-ten-block-title text-center",4,"ngIf"],["class","testimonial_section",4,"ngIf"],[1,"block-ten-block-title","text-center"],[1,"testimonial_section"],[3,"testimonials","path"]],template:function(e,i){1&e&&t.YNc(0,Bt,3,2,"div",0),2&e&&t.Q6J("ngIf",i.blockTenData)},dependencies:[s.O5,Jt],styles:[".page-top-container[_ngcontent-%COMP%]{margin-bottom:3rem;padding-top:1.8rem;padding-bottom:1.8rem}.block-ten-block-title[_ngcontent-%COMP%]{font-weight:700;font-size:30px;color:#2e2e2e;font-family:var(--font-regular);line-height:40px;margin-bottom:18px}@media only screen and (max-width: 767px){.page-top-container[_ngcontent-%COMP%]{padding:1rem}.block-ten-block-title[_ngcontent-%COMP%]{font-size:30px;padding:0 28px;text-align:center;line-height:32px}}"]}),n})();function Dt(n,o){if(1&n&&t._UZ(0,"div",6),2&n){const e=t.oxw(2);t.Q6J("innerHTML",e.getSanitizeHtml(e.title),t.oJD)}}function Vt(n,o){if(1&n&&t._UZ(0,"div",7),2&n){const e=t.oxw(2);t.Q6J("innerHTML",e.getSanitizeHtml(e.description),t.oJD)}}const Yt=function(n){return[n]};function qt(n,o){if(1&n&&(t.TgZ(0,"div",1),t.YNc(1,Dt,1,1,"div",2),t.YNc(2,Vt,1,1,"div",3),t.TgZ(3,"div",4),t._UZ(4,"app-block-button",5),t.qZA()()),2&n){const e=t.oxw();t.Akn(e.getBlockStyle()),t.Q6J("ngClass",t.VKq(6,Yt,e.enabledBorder?"":"no-border")),t.xp6(1),t.Q6J("ngIf",e.title),t.xp6(1),t.Q6J("ngIf",e.de
1scription),t.xp6(2),t.Q6J("button",e.data.button)}}let J1=(()=>{class n{constructor(e){this.sanitizer=e,this.enabledBorder=!0}ngOnInit(){this.title=this.data.block13_title,this.description=this.data.block13_description,this.enabledBorder=this.data.block13_border}getSanitizeHtml(e){return this.sanitizer.bypassSecurityTrustHtml(e)}getBlockStyle(){return(0,u.Iq)(this.data.block_background_color_left,this.data.block_background_color_right)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(P.H7))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-thirteen"]],inputs:{data:"data"},decls:1,vars:1,consts:[["class","container",3,"style","ngClass",4,"ngIf"],[1,"container",3,"ngClass"],["class","title",3,"innerHTML",4,"ngIf"],["class","description",3,"innerHTML",4,"ngIf"],[1,"button-container"],[3,"button"],[1,"title",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(e,i){1&e&&t.YNc(0,qt,5,8,"div",0),2&e&&t.Q6J("ngIf",i.data)},dependencies:[s.mk,s.O5,L.k],styles:[".container[_ngcontent-%COMP%]{border-radius:1.26857rem;box-shadow:0 4px 10px #00000026;padding:32px 64px;margin-bottom:3rem}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{text-align:center;font-size:32px;font-weight:700;color:#2e2e2e;font-family:var(--font-regular);line-height:38px}.container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{text-align:center;font-size:18px;font-weight:400;color:#2e2e2e;font-family:var(--font-regular);margin-top:4px}.container[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:40px}.no-border[_ngcontent-%COMP%]{box-shadow:none;padding:0}@media only screen and (max-width: 767px){.container[_ngcontent-%COMP%]{padding:48px 32px}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:40px;text-align:start;line-height:48px}.container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{text-align:start;font-size:18px}.container[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{display:block;width:100%;margin-top:32px}}"]}),n})();function Ft(n,o){if(1&n&&(t.TgZ(0,"div",6),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Oqu(e.title)}}function Ut(n,o){if(1&n&&(t.TgZ(0,"div",7),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Oqu(e.description)}}function $t(n,o){if(1&n&&(t.TgZ(0,"div",1)(1,"div",2),t.YNc(2,Ft,2,1,"div",3),t.YNc(3,Ut,2,1,"div",4),t.qZA(),t._UZ(4,"app-block-button",5),t.qZA()),2&n){const e=t.oxw();t.Akn(e.getBlockStyle()),t.xp6(2),t.Q6J("ngIf",e.title),t.xp6(1),t.Q6J("ngIf",e.de
1scription),t.xp6(1),t.Q6J("button",e.button)}}let Q1=(()=>{class n{ngOnInit(){this.title=this.data.block14_title,this.description=this.data.block14_description,this.button=this.data.block14_button}getBlockStyle(){return(0,u.Iq)(this.data.block_background_color_left,this.data.block_background_color_right)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-fourteen"]],inputs:{data:"data"},decls:1,vars:1,consts:[["class","container",3,"style",4,"ngIf"],[1,"container"],[1,"body"],["class","title",4,"ngIf"],["class","description",4,"ngIf"],[3,"button"],[1,"title"],[1,"description"]],template:function(e,i){1&e&&t.YNc(0,$t,5,5,"div",0),2&e&&t.Q6J("ngIf",i.data)},dependencies:[s.O5,L.k],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;border-radius:1.26857rem;box-shadow:0 4px 4px #00000026;padding:72px;margin-bottom:3rem}.container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{width:65%;margin-right:auto;padding-right:5%}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:56px;font-weight:500;color:#2e2e2e;font-family:var(--font-regular);line-height:64px}.container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:16px;font-weight:400;color:#2e2e2e;font-family:var(--font-regular);margin-top:14px}@media only screen and (max-width: 767px){.container[_ngcontent-%COMP%]{flex-direction:column;padding:48px 16px;text-align:center}.container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{width:100%;padding-right:0}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:28px;line-height:32px}.container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:14px;margin-bottom:32px}}"]}),n})();function Et(n,o){if(1&n&&(t.TgZ(0,"div",3),t._UZ(1,"div",4),t.TgZ(2,"div",5),t._uU(3),t.qZA()()),2&n){const e=o.$implicit,i=t.oxw(2);t.xp6(1),t.Akn(i.getLineColor()),t.xp6(2),t.Oqu(e.bullet_title)}}function jt(n,o){if(1&n&&(t.TgZ(0,"div",1),t.YNc(1,Et,4,3,"div",2),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",e.linePoints)}}let Rt=(()=>{class n{getLineColor(){var e;return`background-color: ${null!==(e=this.lineColor)&&void 0!==e?e:"#5698FC"};`}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-line-point"]],inputs:{linePoints:"linePoints",lineColor:"lineColor"},decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],["class","title-container",4,"ngFor","ngForOf"],[1,"title-container"],[1,"line"],[1,"title"]],template:function(e,i){1&e&&t.YNc(0,jt,2,1,"div",0),2&e&&t.Q6J("ngIf",i.linePoints)},dependencies:[s.sg,s.O5],styles:[".container[_ngcontent-%COMP%]{margin-top:3rem}.title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row}.title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;font-family:var(--font-regular);margin-left:24px;margin-bottom:28px;margin-top:-1px}.line[_ngcontent-%COMP%]{width:8px}.title-container[_ngcontent-%COMP%]:first-child .line[_ngcontent-%COMP%]{border-top-right-radius:20px;border-top-left-radius:20px}.title-container[_ngcontent-%COMP%]:last-child .line[_ngcontent-%COMP%]{margin-bottom:4px;border-bottom-left-radius:20px;border-bottom-right-radius:20px}@media only screen and (max-width: 767px){.title[_ngcontent-%COMP%]{font-size:14px;margin-left:18px;margin-bottom:20px}.line[_ngcontent-%COMP%]{width:5px}}"]}),n})();function Gt(n,o){if(1&n&&(t.TgZ(0,"div",10),t._UZ(1,"app-block-text-button",11),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("button",e.data.text_button)}}function Kt(n,o){if(1&n&&(t.TgZ(0,"div",10),t._UZ(1,"app-block-button",11),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("button",e.data.block6_button)}}let A1=(()=>{class n{constructor(e){this.sanitizer=e,this.selectedIndex=1}ngOnInit(){var e,i,a,c,l,r,p,m,f;this.imageUrl=null===(c=null===(a=null===(i=null===(e=this.data)||void 0===e?void 0:e.block6_image)||void 0===i?void 0:i.data)||void 0===a?void 0:a.attributes)||void 0===c?void 0:c.url,this.title=this.data.mainTitle,this.description=null!==(r=null!==(l=this.data.blok1Subtitle)&&void 0!==l?l:this.data.block2Subtitle)&&void 0!==r?r:null,!(null===(m=null===(p=this.data)||void 0===p?void 0:p.__typename)||void 0===m)&&m.includes("5")&&(this.blockNumber=5),null!==(f=this.data)&&void 0!==f&&f.bullet_points&&this.data.bullet_points.length>0&&(this.blockNumber=4)}getTrustedHTML(){var e;return this.sanitizer.bypassSecurityTrustHtml(null===(e=this.data)||void 0===e?void 0:e.title)}onImageChange(e){this.imageUrl=e}getBlockStyle(e){return(0,u.Iq)(e.block_background_color_left,e.block_background_color_right)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(P.H7))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-six"]],inputs:{data:"data"},decls:13,vars:12,consts:[[1,"page-top-container"],[1,"d-md-flex","d-sm-block"],[1,"d-flex","col-md-6","image-container",3,"ngClass"],["loading","lazy","alt","Pos Block Six Image",1,"main-img",3,"src"],[1,"col-md-6","d-flex","flex-column","align-self-center","page-content"],[1,"title",3,"innerHTML"],[1,"description"],[3,"linePoints","lineColor"],["class","block6-button-container",4,"ngIf"],["loading","lazy","alt","Pos Block Six Icon",1,"main-img",3,"src"],[1,"block6-button-container"],[3,"button"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._UZ(3,"img",3),t.qZA(),t.TgZ(4,"div",4),t._UZ(5,"div",5),t.TgZ(6,"div",6),t._uU(7),t.qZA(),t._UZ(8,"app-line-point",7),t.YNc(9,Gt,2,1,"div",8),t.YNc(10,Kt,2,1,"div",8),t.qZA(),t.TgZ(11,"div",2),t._UZ(12,"img",9),t.qZA()()()),2&e&&(t.Akn(i.getBlockStyle(i.data)),t.xp6(2),t.Q6J("ngClass","right"==i.data.image_position?"show_image_container":"dismiss_image_container"),t.xp6(1),t.s9C("src",i.imageUrl,t.LSH),t.xp6(2),t.Q6J("innerHTML",i.getTrustedHTML(),t.oJD),t.xp6(2),t.Oqu(i.data.description),t.xp6(1),t.Q6J("linePoints",i.data.line_points)("lineColor",i.data.line_color),t.xp6(1),t.Q6J("ngIf",i.data.text_button),t.xp6(1),t.Q6J("ngIf",i.data.block6_button),t.xp6(1),t.Q6J("ngClass","left"==i.data.image_position?"show_image_container":"dismiss_image_container"),t.xp6(1),t.s9C("src",i.imageUrl,t.LSH))},dependencies:[s.mk,s.O5,L.k,i1,Rt],styles:[".page-content[_ngcontent-%COMP%]{padding-left:28px}.page-top-container[_ngcontent-%COMP%]{border-radius:1rem;padding:1.8rem;margin-bottom:3rem}.page-top-container[_ngcontent-%COMP%] .main-img[_ngcontent-%COMP%]{border-radius:1rem;width:100%;height:34.375rem;flex-shrink:0;object-fit:cover;align-self:center;margin-right:10px}.page-top-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;height:100%}.page-top-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700;font-size:40px;font-family:var(--font-regular);line-height:40px}.page-top-container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-top:20px;font-size:18px}.page-top-container[_ngcontent-%COMP%] .block6-button-container[_ngcontent-%COMP%]{padding-top:2rem;margin-top:auto;display:flex;flex-direction:row;width:100%}.show_image_container[_ngcontent-%COMP%]{display:block!important}.dismiss_image_container[_ngcontent-%COMP%]{display:none!important}@media only screen and (max-width: 767px){.page-top-container[_ngcontent-%COMP%]{padding:1rem}.page-content[_ngcontent-%COMP%]{padding-left:0!important;padding-right:.6rem!important;padding-bottom:0;padding-top:2.4rem!important}.title[_ngcontent-%COMP%]{font-size:2.1875rem!important;display:block;text-align:center;line-height:2.46494rem!important;padding-top:0!important;padding-left:.75rem!important;padding-right:.75rem!important}.description[_ngcontent-%COMP%]{text-align:center;font-size:16px!important}.block6-button-container[_ngcontent-%COMP%]{flex-direction:column!important;width:100%!important;margin:3px!important;padding-left:0!important;padding-right:0!important;padding-bottom:1rem!important}.block6-button-container[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{width:100%!important;margin-block:.625rem;align-self:center!important;margin-right:0!important}.main-img[_ngcontent-%COMP%]{width:100%!important;height:12.8125rem!important;flex-shrink:0;max-width:100%;align-self:center}.image-container[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important;margin-right:0}}"],changeDetection:0}),n})();function Wt(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"img",8),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("src",null==e||null==e.icon||null==e.icon.data||null==e.icon.data.attributes?null:e.icon.data.attributes.url,t.LSH)("alt",(null==e||null==e.icon||null==e.icon.data||null==e.icon.data.attributes?null:e.icon.data.attributes.alternativeText)||"Pos Block Icon")}}function Xt(n,o){1&n&&t._UZ(0,"div",9)}function te(n,o){if(1&n&&(t.TgZ(0,"div",2)(1,"a",3)(2,"div",4)(3,"div",5),t._uU(4),t.qZA(),t.YNc(5,Wt,2,2,"div",6),t.YNc(6,Xt,1,0,"ng-template",null,7,t.W1O),t.qZA()()()),2&n){const e=o.$implicit,i=t.MAs(7);t.xp6(1),t.ekj("disable",!(null!=e&&null!=e.attachment&&null!=e.attachment.data&&null!=e.attachment.data.attributes&&e.attachment.data.attributes.url)),t.Q6J("href",null==e||null==e.attachment||null==e.attachment.data||null==e.attachment.data.attributes?null:e.attachment.data.attributes.url,t.LSH)("target",e.is_new_tab||null==(null==e?null:e.is_new_tab)?"_blank":"_self")("ngClass",null!=e&&null!=e.attachment&&null!=e.attachment.data&&null!=e.attachment.data.attributes&&e.attachment.data.attributes.url?"section-attachment":"section-attachment-none"),t.xp6(3),t.Oqu(e.title),t.xp6(1),t.Q6J("ngIf",null==e||null==e.icon||null==e.icon.data||null==e.icon.data.attributes?null:e.icon.data.attributes.url)("ngIfElse",i)}}let B1=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-eighteen-a"]],inputs:{data:"data"},decls:2,vars:1,consts:[[1,"block-container"],["class","sus-statement",4,"ngFor","ngForOf"],[1,"sus-statement"],[3,"href","target","ngClass"],[1,"sus-content-panel"],[1,"panel-content"],[4,"ngIf","ngIfElse"],["defaultIcon",""],["loading","lazy","width","32","height","32","loading","lazy",3,"src","alt"],[1,"panel-img"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,te,8,8,"div",1),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngForOf",i.data.block_list))},dependencies:[s.mk,s.sg,s.O5],styles:[".block-container[_ngcontent-%COMP%]{margin-bottom:3rem}.sus-statement[_ngcontent-%COMP%] .sus-content-panel[_ngcontent-%COMP%]{padding:30px 8%;text-decoration:none}.sus-statement[_ngcontent-%COMP%] .panel-img[_ngcontent-%COMP%]{background-image:url(https://assets.pos.com.my/pos-corporate/images/sus-icon-pdf.png);width:32px;height:32px}.sus-content-panel[_ngcontent-%COMP%]{background-color:#fff;padding:50px 6%;margin-bottom:30px;border-radius:15px;box-shadow:0 5px 15px 5px #4343431a;color:#2e2e2e;display:flex;align-items:center;text-decoration:none}.sus-content-panel[_ngcontent-%COMP%] .panel-img[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:contain;flex-shrink:0}.sus-content-panel[_ngcontent-%COMP%] .panel-content[_ngcontent-%COMP%]{line-height:1.67em;flex-grow:1;font-family:var(--font-regular);font-weight:700;font-size:18px}.sus-content-panel[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-weight:700}.sus-statement[_ngcontent-%COMP%] .panel-content[_ngcontent-%COMP%]{margin-right:10%;color:#2e2e2e;font-weight:700}.cursor[_ngcontent-%COMP%]{cursor:pointer;transition:transform .3s,box-shadow .3s}.cursor[_ngcontent-%COMP%]:hover{transform:translateY(-3px);box-shadow:0 12px 16px #2c256124}@media only screen and (max-width: 767px){.block-container[_ngcontent-%COMP%]{padding:1rem 0rem 2rem;margin-bottom:0rem}.sus-content-panel[_ngcontent-%COMP%]{padding:24px 15px!important;margin-bottom:15px;border-radius:10px}.sus-content-panel[_ngcontent-%COMP%] .panel-content[_ngcontent-%COMP%]{line-height:1.25em;font-size:16px}}.section-attachment[_ngcontent-%COMP%]{text-decoration:none;cursor:pointer}.section-attachment[_ngcontent-%COMP%]:hover{text-decoration:none}.section-attachment-none[_ngcontent-%COMP%]{text-decoration:none;cursor:default}.section-attachment-none[_ngcontent-%COMP%]:hover{text-decoration:none}"]}),n})();function ee(n,o){1&n&&t._UZ(0,"div",9)}function ne(n,o){1&n&&t._UZ(0,"div",10)}function ie(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"img",19),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("src",null==e||null==e.icon||null==e.icon.data||null==e.icon.data.attributes?null:e.icon.data.attributes.url,t.LSH)("alt",(null==e||null==e.icon||null==e.icon.data||null==e.icon.data.attributes?null:e.icon.data.attributes.alternativeText)||"Pos Section Icon")}}function oe(n,o){1&n&&t._UZ(0,"div",20)}function ae(n,o){if(1&n&&(t.TgZ(0,"div",13)(1,"a",14)(2,"div",15)(3,"div",16),t._uU(4),t.qZA(),t.YNc(5,ie,2,2,"div",17),t.YNc(6,oe,1,0,"ng-template",null,18,t.W1O),t.qZA()()()),2&n){const e=o.$implicit,i=t.MAs(7);t.xp6(1),t.Q6J("href",null==e||null==e.attachment||null==e.attachment.data||null==e.attachment.data.attributes?null:e.attachment.data.attributes.url,t.LSH)("target",e.is_new_tab||null==(null==e?null:e.is_new_tab)?"_blank":"_self")("ngClass",null!=e&&null!=e.attachment&&null!=e.attachment.data&&null!=e.attachment.data.attributes&&e.attachment.data.attributes.url?"section-attachment":"section-attachment-none"),t.xp6(3),t.Oqu(e.title),t.xp6(1),t.Q6J("ngIf",null==e||null==e.icon||null==e.icon.data||null==e.icon.data.attributes?null:e.icon.data.attributes.url)("ngIfElse",i)}}function ce(n,o){if(1&n&&(t.TgZ(0,"div",11),t.YNc(1,ae,8,6,"div",12),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("ngForOf",e.section_list)}}function le(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"mat-expansion-panel",3),t.NdJ("opened",function(){const c=t.CHM(e).index,l=t.oxw(2);return t.KtG(l.panelOpenState[c]=!0)})("closed",function(){const c=t.CHM(e).index,l=t.oxw(2);return t.KtG(l.panelOpenState[c]=!1)}),t.TgZ(1,"mat-expansion-panel-header",4)(2,"mat-panel-title"),t._uU(3),t.qZA(),t.TgZ(4,"mat-panel-description"),t.YNc(5,ee,1,0,"div",5),t.YNc(6,ne,1,0,"div",6),t.qZA()(),t.TgZ(7,"div",7),t.YNc(8,ce,2,1,"div",8),t.qZA()()}if(2&n){const e=o.$implicit,i=o.index,a=t.oxw(2);t.xp6(1),t.Q6J("id",e.id),t.xp6(2),t.hij(" ",e.section_title||""," "),t.xp6(2),t.Q6J("ngIf",!a.panelOpenState[i]),t.xp6(1),t.Q6J("ngIf",a.panelOpenState[i]),t.xp6(2),t.Q6J("ngIf",e.section_list)}}function re(n,o){if(1&n&&(t.TgZ(0,"mat-accordion",1),t.YNc(1,le,9,5,"mat-expansion-panel",2),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",e.data.block_list)}}let D1=(()=>{class n{constructor(){this.panelOpenState={}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-eighteen-b"]],inputs:{data:"data"},decls:1,vars:1,consts:[["class","agm-expansion",4,"ngIf"],[1,"agm-expansion"],["matExpansionToggleIcon","keyboard_arrow_down","class","mat-expansion-panel-container",3,"opened","closed",4,"ngFor","ngForOf"],["matExpansionToggleIcon","keyboard_arrow_down",1,"mat-expansion-panel-container",3,"opened","closed"],[1,"d-flex","justify-content-between",3,"id"],["class","expansion-icon arrow-down-icon",4,"ngIf"],["class","expansion-icon arrow-up-icon",4,"ngIf"],[1,"accordion-content-container"],["class","row",4,"ngIf"],[1,"expansion-icon","arrow-down-icon"],[1,"expansion-icon","arrow-up-icon"],[1,"row"],["class","col-md-4 col-sm-12 sus-statement",4,"ngFor","ngForOf"],[1,"col-md-4","col-sm-12","sus-statement"],[3,"href","target","ngClass"],[1,"sus-content-panel"],[1,"panel-content"],[4,"ngIf","ngIfElse"],["defaultIcon",""],["loading","lazy","width","32","height","32","loading","lazy",3,"src","alt"],[1,"panel-img"]],template:function(e,i){1&e&&t.YNc(0,re,2,1,"mat-accordion",0),2&e&&t.Q6J("ngIf",i.data.block_list)},dependencies:[s.mk,s.sg,s.O5,x.pp,x.ib,x.yz,x.yK,x.u4],styles:[".agm-expansion{margin-top:5rem;margin-bottom:2rem}.agm-expansion .mat-expansion-indicator:after{display:none}.agm-expansion .mat-expansion-panel-header-description{flex-grow:0!important}.agm-expansion .mat-expansion-panel-header{padding:0;border-radius:15px!important;height:90px!important}.agm-expansion .mat-icon{color:#000;font-weight:700}.agm-expansion .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 4px 20px #0000001a;border-bottom:none!important;margin-bottom:1rem!important;border-radius:15px!important}.agm-expansion .mat-expansion-panel-header{border-bottom:none!important}.agm-expansion .mat-expansion-panel-header:hover{background-color:#fff!important}.agm-expansion .mat-expansion-panel-header-title,.agm-expansion .mat-expansion-panel-header-description{margin:20px 72px;font-size:16px;font-weight:700}.agm-expansion .accordion-content-container{padding:1rem 0}.agm-expansion .accordion-content-container .inner-title{font-family:var(--font-bold);font-size:16px}.agm-expansion .accordion-content-container .row{margin:1rem 0}.agm-expansion .accordion-content-container .row .content-container{margin:2rem 0}.agm-expansion .accordion-content-container .row .content-container .accordion-content-img{margin:0 2em;width:4rem}.agm-expansion .accordion-content-container .row .content-container .accordion-content-img img{min-width:4rem}.agm-expansion .accordion-content-container .row .content-container .subtitle{align-self:center;display:flex;font-size:1.1rem;font-weight:700}.agm-expansion .accordion-content-container .row .content-container a{color:#000;text-decoration:none}.agm-expansion .accordion-content-container .row .content-container a:hover{text-decoration:underline}.agm-expansion .mat-expansion-panel-header.mat-expanded,.agm-expansion .mat-expansion-panel-header.mat-expanded:hover,.agm-expansion .mat-expansion-panel-header.mat-expanded:focus{background-color:#f7f7f7!important;border-bottom-left-radius:0rem!important;border-bottom-right-radius:0rem!important;padding-top:24px!important}.agm-expansion .mat-expansion-panel-body{background-color:#f7f7f7;padding:0 24px}.agm-expansion .mat-expansion-panel-container{box-shadow:0 5px 15px 5px #bdbdbd66;border-radius:15px}.expansion-icon{height:28px;width:28px;background-size:cover;border:none;border-width:0!important}.arrow-up-icon{background-image:url(https://assets.pos.com.my/pos-corporate/images/arrow-up.png);height:28px;width:28px;background-size:cover;border:none;border-width:0!important}.arrow-down-icon{background-image:url(https://assets.pos.com.my/pos-corporate/images/arrow-down.png);height:28px;width:28px;background-size:cover;border:none;border-width:0!important}.sus-statement .sus-content-panel{padding:15px;text-decoration:none}.sus-statement .panel-img{background-image:url(https://assets.pos.com.my/pos-corporate/images/sus-icon-pdf.png);width:32px;height:32px}.sus-content-panel{background-color:#fff;padding:50px 6%;margin-bottom:30px;border-radius:15px;box-shadow:0 5px 15px 5px #4343431a;color:#2e2e2e;display:flex;align-items:center;text-decoration:none}.sus-content-panel .panel-img{background-repeat:no-repeat;background-size:contain;flex-shrink:0}.sus-content-panel .panel-content{line-height:1.67em;flex-grow:1}.sus-content-panel a{font-weight:700}.sus-statement .panel-content{margin-right:10%;color:#2e2e2e;font-weight:700}.cursor{cursor:pointer;transition:transform .3s,box-shadow .3s}.cursor:hover{transform:translateY(-3px);box-shadow:0 12px 16px #2c256124}@media only screen and (max-width: 767px){.agm-expansion .mat-expansion-panel-header{padding:0!important;border-radius:10px!important;height:72px!important}.agm-expansion .mat-expansion-panel:not([class*=mat-elevation-z]){border-radius:10px!important}.agm-expansion .mat-expansion-panel-header-title,.agm-expansion .mat-expansion-panel-header-description{margin:24px 15px}.agm-expansion .mat-expansion-panel-header.mat-expanded,.agm-expansion .mat-expansion-panel-header.mat-expanded:hover,.agm-expansion .mat-expansion-panel-header.mat-expanded:focus{padding-top:24px!important}.agm-expansion .mat-expansion-panel-body{padding:0 24px}.agm-expansion .mat-expansion-panel-container{border-radius:10px}}.section-attachment{text-decoration:none;cursor:pointer}.section-attachment:hover{text-decoration:none}.section-attachment-none{text-decoration:none;cursor:default}.section-attachment-none:hover{text-decoration:none}\n"],encapsulation:2}),n})();function se(n,o){if(1&n&&(t.TgZ(0,"div",6),t._uU(1),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Oqu(e.data.section_title)}}function pe(n,o){if(1&n&&(t.TgZ(0,"div",7)(1,"a",8),t._UZ(2,"img",9),t.TgZ(3,"div",10)(4,"div",11),t._uU(5),t.qZA(),t.TgZ(6,"div",12),t._uU(7),t.qZA()()()()),2&n){const e=o.$implicit;t.Q6J("ngClass",e.url?"cursor":""),t.xp6(1),t.ekj("disable",!e.url),t.Q6J("href",e.url,t.LSH)("target",e.is_new_tab||null==(null==e?null:e.is_new_tab)?"_blank":"_self")("ngClass",null!=e&&e.url?"section-url":"section-url-none"),t.xp6(1),t.s9C("src",null==e.image||null==e.image.data||null==e.image.data.attributes?null:e.image.data.attributes.url,t.LSH),t.Q6J("alt",(null==e.image||null==e.image.data||null==e.image.data.attributes?null:e.image.data.attributes.alternativeText)||"Pos Block Image"),t.xp6(3),t.hij(" ",e.title," "),t.xp6(2),t.hij(" ",e.sub_title," ")}}function me(n,o){if(1&n&&(t.TgZ(0,"div",13),t._UZ(1,"app-block-button",14),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("button",e.data.cta_button)}}let V1=(()=>{class n{getBlockStyle(){return(0,u.Iq)(this.data.block_background_color_left,this.data.block_background_color_right)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-seven"]],inputs:{data:"data"},decls:6,vars:6,consts:[[3,"className"],["class","section-title",4,"ngIf"],[1,"block-list-container"],[1,"row","row-container"],["class","block-item",3,"ngClass",4,"ngFor","ngForOf"],["class","button-container",4,"ngIf"],[1,"section-title"],[1,"block-item",3,"ngClass"],[3,"href","target","ngClass"],["loading","lazy",1,"image",3,"src","alt"],[1,"block-body"],[1,"block-title"],[1,"block-sub-title"],[1,"button-container"],[3,"button"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,se,2,1,"div",1),t.TgZ(2,"div",2)(3,"div",3),t.YNc(4,pe,8,10,"div",4),t.qZA()(),t.YNc(5,me,2,1,"div",5),t.qZA()),2&e&&(t.Akn(i.getBlockStyle()),t.Q6J("className",i.data.section_title?"block-container":"block-container-no-top-bottom"),t.xp6(1),t.Q6J("ngIf",i.data.section_title),t.xp6(3),t.Q6J("ngForOf",i.data.block_list),t.xp6(1),t.Q6J("ngIf",i.data.cta_button))},dependencies:[s.mk,s.sg,s.O5,L.k],styles:[".block-container[_ngcontent-%COMP%]{border-radius:24px;padding:60px 6% 45px;margin-bottom:3rem}.block-container-no-top-bottom[_ngcontent-%COMP%]{border-radius:24px;padding:0 6%;margin-bottom:3rem}.section-title[_ngcontent-%COMP%]{color:#2e2e2e;font-weight:700;font-family:var(--font-regular);font-size:30px;text-align:center;margin-bottom:40px}.block-item[_ngcontent-%COMP%]{border-radius:12px;border-image-source:linear-gradient(180deg,#ffffff 0%,rgba(255,255,255,0) 68.72%);padding:6px;background:rgba(255,255,255,.4);box-shadow:0 5px 15px 5px #bdbdbd66;width:32%;margin-right:18px}.block-item[_ngcontent-%COMP%]:last-child{margin-right:0}.image[_ngcontent-%COMP%]{border-top-right-radius:8px;border-top-left-radius:8px;height:210px;object-fit:cover;align-self:center;width:100%}.block-body[_ngcontent-%COMP%]{padding:22px;min-height:210px}.block-title[_ngcontent-%COMP%]{font-size:18px;color:#002e41;font-family:var(--font-regular);font-weight:700;line-height:18px}.block-sub-title[_ngcontent-%COMP%]{font-size:14px;color:#002e41;font-family:var(--font-regular);font-weight:400;line-height:24px;margin-top:12px}.row-container[_ngcontent-%COMP%]{justify-content:center}.cursor[_ngcontent-%COMP%]{cursor:pointer;transition:transform .3s,box-shadow .3s}.cursor[_ngcontent-%COMP%]:hover{transform:translateY(-3px);box-shadow:0 12px 16px #2c256124}.button-container[_ngcontent-%COMP%]{margin-top:3.6rem;display:flex;justify-content:center}@media only screen and (max-width: 767px){.block-container[_ngcontent-%COMP%]{padding:40px 8px}.section-title[_ngcontent-%COMP%]{font-size:32px;margin-bottom:20px}.line[_ngcontent-%COMP%]{margin-top:20px;margin-left:16px}.image[_ngcontent-%COMP%]{width:100%!important;flex-shrink:0;max-width:100%;align-self:center}.block-list-container[_ngcontent-%COMP%]{margin-top:10px}.block-item[_ngcontent-%COMP%]{margin-bottom:1rem;width:100%;margin-right:0}.row-container[_ngcontent-%COMP%]{display:flex!important;flex-direction:column!important;padding:20px}.button-container[_ngcontent-%COMP%]{display:block;margin:32px 8px 0}}
1.block-item[_ngcontent-%COMP%] .section-url[_ngcontent-%COMP%]{text-decoration:none;cursor:pointer}.block-item[_ngcontent-%COMP%] .section-url[_ngcontent-%COMP%]:hover{text-decoration:none}.block-item[_ngcontent-%COMP%] .section-url-none[_ngcontent-%COMP%]{text-decoration:none;cursor:default}.block-item[_ngcontent-%COMP%] .section-url-none[_ngcontent-%COMP%]:hover{text-decoration:none}"]}),n})();var Y1=_(2323);function _e(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",9)(1,"div",10),t.NdJ("click",function(){const c=t.CHM(e).$implicit,l=t.oxw(2);return t.KtG(l.onHeaderTagClick(c))}),t._uU(2),t.qZA(),t._UZ(3,"div",11),t.qZA()}if(2&n){const e=o.$implicit,i=t.oxw(2);t.xp6(1),t.ekj("active",(null==i.selectedPostTag?null:i.selectedPostTag.id)===e.id),t.xp6(1),t.hij(" ",e.tag_title," "),t.xp6(1),t.ekj("active",(null==i.selectedPostTag?null:i.selectedPostTag.id)===e.id)}}function de(n,o){if(1&n&&(t.TgZ(0,"div",6)(1,"div",7),t.YNc(2,_e,4,5,"div",8),t.qZA()()),2&n){const e=t.oxw();t.xp6(2),t.Q6J("ngForOf",e.postTaggings)}}function fe(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",19),t.NdJ("click",function(){t.CHM(e);const a=t.oxw().$implicit,c=t.oxw(2);return t.KtG(c.onTagClicked(a))}),t._uU(1),t.qZA()}if(2&n){const e=t.oxw().$implicit,i=t.oxw(2);t.Q6J("ngClass",i.getSelectedTag(e)?"pill-tag-selected":""),t.xp6(1),t.hij(" ",e.tag_title," ")}}function ge(n,o){if(1&n&&(t.ynx(0),t.YNc(1,fe,2,2,"ng-template",18),t.BQk()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("width",e.width)}}function ue(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",12)(1,"div",13)(2,"span",14),t._uU(3,"Filter by Category"),t.qZA()(),t.TgZ(4,"div",15)(5,"owl-carousel-o",16),t.NdJ("dragging",function(a){t.CHM(e);const c=t.oxw();return t.KtG(c.on_carouselDrag(a))}),t.YNc(6,ge,2,1,"ng-container",17),t.qZA()()()}if(2&n){const e=t.oxw();
1t.xp6(5),t.Q6J("options",e.categoryPillOptions),t.xp6(1),t.Q6J("ngForOf",e.postTaggings)}}function ve(n,o){if(1&n&&(t.TgZ(0,"div",29),t._UZ(1,"img",30),t.qZA()),2&n){const e=t.oxw().$implicit,i=t.oxw();t.xp6(1),t.Q6J("src",i.getImageUrl(e.post_image.url),t.LSH)("alt",(null==e||null==e.post_image?null:e.post_image.alternativeText)||"Pos Post Image")}}function he(n,o){1&n&&(t.TgZ(0,"div",29,23),t._UZ(2,"img",31),t.qZA())}function xe(n,o){if(1&n&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.tag_title," ")}}function be(n,o){if(1&n&&(t.TgZ(0,"div",34),t.YNc(1,xe,2,1,"div",35),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf",null!=e.tag_title)}}function Ce(n,o){if(1&n&&(t.TgZ(0,"div",32),t.YNc(1,be,2,1,"div",33),t.qZA()),2&n){const e=t.oxw().$implicit,i=t.oxw();t.xp6(1),t.Q6J("ngForOf",i.getFirstThreeTagging(e.post_tagging_list))}}function ke(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",20)(1,"div",21),t.NdJ("click",function(){const c=t.CHM(e).$implicit,l=t.oxw();return t.KtG(l.onPostClicked(c))}),t.YNc(2,ve,2,2,"div",22),t.YNc(3,he,3,0,"ng-template",null,23,t.W1O),t.YNc(5,Ce,2,1,"div",24),t.TgZ(6,"div",25)(7,"div",26),t._uU(8),t.ALo(9,"amDateFormat"),t.qZA(),t.TgZ(10,"div",27),t._uU(11),t.qZA(),t._UZ(12,"div",28),t.qZA()()()}if(2&n){const e=o.$implicit,i=t.MAs(4),a=t.oxw();t.xp6(1),t.Akn(a.getPostItemStyle(e)),t.xp6(1),t.Q6J("ngIf",e.post_image.url)("ngIfElse",i),t.xp6(3),t.Q6J("ngIf",e.post_tagging_list&&e.post_tagging_list.length>0),t.xp6(3),t.Oqu(t.xi3(9,8,e.published_date,"DD MMM YYYY hh:mm a")),t.xp6(3),t.Oqu(e.title),t.xp6(1),t.Q6J("innerHTML",e.sub_title,t.oJD)}}function Me(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div")(1,"app-block-button",39),t.NdJ("onPress",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.onButtonClicked())}),t.qZA()()}if(2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("button",e.data.post_button)}}function ze(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"app-block-button",39),t.NdJ("onPress",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.onButtonClicked())}),t.qZA()}if(2&n){const e=t.oxw(2);t.Q6J("button",e.post_button)}}function we(n,o){if(1&n&&(t.TgZ(0,"div",36),t.YNc(1,Me,2,1,"div",37),t.YNc(2,ze,1,1,"ng-template",null,38,t.W1O),t.qZA()),2&n){const e=t.MAs(3),i=t.oxw();t.xp6(1),t.Q6J("ngIf",i.data.post_button)("ngIfElse",e)}}let q1=(()=>{class n{constructor(e,i,a){this.customBlockApiService=e,this.router=i,this.storageService=a,this.postTaggings=[],this.postListData=[],this.selectedPostTags=[],this.limit=w.XV,this.skip=0,this.hasMorePage=!1,this.categoryPillOptions={dots:!1,loop:!1,autoWidth:!0,autoHeight:!0},this.isDragging=!1,this.post_button={button_title:"More Posts",button_border_color:"#EB3C3C",button_background_color:"#EB3C3C",button_font_color:"#FFFFFF"},this.displayTextWidth=(c,l)=>{const p=document.createElement("canvas").getContext("2d");return p.font=l,p.measureText(c).width}}ngOnInit(){var e,i;this.data.post_items.length>0&&this.getPostItems(),(null===(i=null===(e=this.data)||void 0===e?void 0:e.tags)||void 0===i?void 0:i.length)>0&&this.initPosTagging()}initPosTagging(){var e;let i=null!==(e=this.data.tags)&&void 0!==e?e:[];if("Outside_border"===this.data.filter_position){const a={id:0,tag_title:"All"};i=[a].concat(i),this.selectedPostTag=a}for(let a=0;a<i.length;a++){const c=i[a],l=this.displayTextWidth(c.tag_title,"14px GothamRegular")+48;i[a]=Object.assign(Object.assign({},c),{width:l})}this.postTaggings=i}getBlockStyle(){return(0,u.Iq)(this.data.block_background_color_left,this.data.block_background_color_right)}getPostItemStyle(e){return(0,u.Iq)(e.block_background_color_left,e.block_background_color_right)}getImageUrl(e){return(0,u.KS)(e)}getFirstThreeTagging(e){return e.length>3?e.slice(0,3):e.filter(i=>i.tag_title)}getPostItems(){let e={slug:this.path,skip:this.skip,take:this.limit,filtersKey:[],idKey:this.data.id};if(this.selectedPostTags){const i=this.selectedPostTags.map(a=>a.tag_title);e=Object.assign(Object.assign({},e),{filtersKey:i})}this.customBlockApiService.getBlock8(e).subscribe({next:i=>{if(i){const c=i.pageContent.find(l=>"sections.block8"===l.__component);c&&(0===this.skip?this.postListData=c.post_items:this.postListData.push(...c.post_items),this.hasMorePage=this.postListData.length<i.pagination.totalCount)}},error:i=>{this.hasMorePage=!1}})}onButtonClicked(){this.hasMorePage&&(this.skip+=this.limit,this.getPostItems())}onHeaderTagClick(e){this.selectedPostTag=e,this.selectedPostTags=[],"All"===e.tag_title?(this.skip=0,this.getPostItems()):this.onTagClicked(e)}onTagClicked(e){if(!this.isDragging){const i=this.selectedPostTags.findIndex(a=>a.id===e.id);-1!==i?this.selectedPostTags.splice(i,1):this.selectedPostTags.push(e),this.skip=0,this.getPostItems()}}getSelectedTag(e){return-1!==this.selectedPostTags.findIndex(i=>i.id===e.id)}on_carouselDrag(e){setTimeout(()=>{this.isDragging=e.dragging},10)}onPostClicked(e){if(e.external_url_link)window.open(e.external_url_link,"_blank");else if(e.postContent){const i=Object.assign({post_tagging_list:e.post_tagging_list},e.postContent);this.storageService.blockPostDetail=i,this.router.navigate(["details"])}}}return n.\u0275fac=function(e){return new(e||n)(t.Y36($),t.Y36(g.F0),t.Y36(Y1.V))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-eight"]],inputs:{data:"data",path:"path"},decls:6,vars:6,consts:[["class","navbar-container",4,"ngIf"],[1,"block-container"],["class","filter-container",4,"ngIf"],[1,"row"],["class","col-md-4 col-sm-12",4,"ngFor","ngForOf"],["class","button-container",4,"ngIf"],[1,"navbar-container"],[1,"nav-options-container"],["class","nav-option",4,"ngFor","ngForOf"],[1,"nav-option"],[1,"nav-title",3,"click"],[1,"active_nav_border"],[1,"filter-container"],[1,"filter-title-container"],[1,"filter-title"],[1,"pill-tag-container"],[3,"options","dragging"],[4,"ngFor","ngForOf"],["carouselSlide","",3,"width"],[1,"pill-tag",3,"ngClass","click"],[1,"col-md-4","col-sm-12"],[1,"promotion-col",3,"click"],["class","img-container",4,"ngIf","ngIfElse"],["templateImage",""],["class","tagging-container",4,"ngIf"],[1,"desc-container"],[1,"date"],[1,"title"],[1,"desc",3,"innerHTML"],[1,"img-container"],["loading","lazy","loading","lazy",3,"src","alt"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/default_placeholder.png","alt","Pos Post Placeholder","loading","lazy",1,"img-fluid","w-100"],[1,"tagging-container"],["class","tagging-pill",4,"ngFor","ngForOf"],[1,"tagging-pill"],[4,"ngIf"],[1,"button-container"],[4,"ngIf","ngIfElse"],["noButton",""],[3,"button","onPress"]],template:function(e,i){1&e&&(t.YNc(0,de,3,1,"div",0),t.TgZ(1,"div",1),t.YNc(2,ue,7,2,"div",2),t.TgZ(3,"div",3),t.YNc(4,ke,13,11,"div",4),t.qZA(),t.YNc(5,we,4,2,"div",5),t.qZA()),2&e&&(t.Q6J("ngIf","Outside_border"===i.data.filter_position),t.xp6(1),t.Akn(i.getBlockStyle()),t.xp6(1),t.Q6J("ngIf","Inside_border"===i.data.filter_position),t.xp6(2),t.Q6J("ngForOf",i.postListData),t.xp6(1),t.Q6J("ngIf",i.hasMorePage))},dependencies:[k.Fy,k.Mp,s.mk,s.sg,s.O5,L.k,T.Ek],styles:[".navbar-container{flex:1;overflow-x:auto;display:flex}.navbar-container::-webkit-scrollbar{height:0rem}.nav-options-container{flex:1;display:flex;flex-direction:row;justify-content:center;border-radius:4px;border-bottom:2px solid #f2f2f2;margin:1rem 0 2rem;white-space:nowrap}
1.nav-options-container .nav-option{display:flex;flex-direction:column;align-items:center;margin-right:1rem;cursor:pointer}.nav-options-container .nav-option .nav-title{color:var(--mid-grey2);font-weight:700;font-size:16px;text-align:center;padding:16px 1rem}.nav-options-container .nav-option .active{color:var(--primary)}.nav-options-container .nav-option .active_nav_border{height:.3rem;width:93%;border-radius:2rem}.nav-options-container .nav-option .active_nav_border.active{background-color:var(--primary)}.block-container{border-radius:1rem;padding:3.6rem;margin-bottom:3rem}.filter-container{display:flex;flex-direction:row;flex:1;justify-content:space-between;margin-left:.6rem;margin-right:.6rem;margin-bottom:2rem;align-items:center}.filter-container .filter-title-container{flex:.2}.filter-container .filter-title{font-size:16px;font-family:var(--font-regular);font-weight:500;color:#2e2e2e}.filter-container .pill-tag-container{width:70%;flex:.8;flex-wrap:nowrap}.filter-container .pill-tag{cursor:pointer;border:2px solid #ff3358;border-radius:1.5rem;color:#ff3358;font-size:.888rem;text-align:center;margin-right:.5rem;align-self:center;padding:.5rem 1.5rem;white-space:nowrap}.filter-container .pill-tag-selected{border-color:#ffd2d5;background:#ffd2d5}.owl-carousel.owl-drag .owl-item{height:100%}.row>[class*=col-]{display:flex;flex-direction:column}.promotion-col:hover{box-shadow:#00000059 0 5px 15px}.promotion-col{height:100%;background-color:#fff;border-radius:1rem;padding:.5rem;margin:0 .5rem 2rem;box-shadow:#959da533 0 8px 24px;cursor:pointer}.promotion-col .img-container{width:100%}.promotion-col img{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.promotion-col .desc-container{margin:26px 20px 32px}.promotion-col .desc-container .date{font-weight:500;color:gray;font-size:14px;font-family:var(--font-regular)}.promotion-col .desc-container .title{font-weight:700;font-size:18px;font-family:var(--font-regular);margin-top:2px}.promotion-col .desc-container .desc{color:#10302a;font-size:14px;font-family:var(--font-regular);margin-top:10px}.promotion-col .tagging-container{flex-direction:row;display:inline-flex;margin-top:.5rem;margin-right:1rem;margin-left:1rem;flex-wrap:wrap}.promotion-col .tagging-container .tagging-pill{border-radius:2rem;background:#ffd2d5;color:#ff3358;font-size:14px;text-align:center;padding:.5rem 1rem;margin-right:1rem;margin-top:.5rem}.button-container{margin-top:3.6rem;display:flex;justify-content:center}@media only screen and (max-width: 767px){.block-container{padding:1rem}.image{width:100%!important;flex-shrink:0;max-width:100%;align-self:center}.filter-container{flex-direction:column;align-items:flex-start;margin:12px 12px 1rem}.filter-container .filter-title-container{margin-bottom:8px}.filter-container .filter-title{font-size:14px}.filter-container .pill-tag-container{width:100%}.filter-container .pill-tag{white-space:nowrap;margin-right:.5rem;padding:.5rem}.button-container{margin-top:14px;margin-bottom:24px}}\n"],encapsulation:2}),n})();function ye(n,o){if(1&n&&(t.TgZ(0,"div",13)(1,"div")(2,"a",14),t._UZ(3,"img",15),t.qZA()()()),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.xp6(2),t.Q6J("href",null==e?null:e.url,t.LSH),t.xp6(1),t.Q6J("src",i.getImageUrl(null==e.bannerImage||null==e.bannerImage.data||null==e.bannerImage.data.attributes?null:e.bannerImage.data.attributes.url),t.LSH)("alt",(null==e.bannerImage||null==e.bannerImage.data||null==e.bannerImage.data.attributes?null:e.bannerImage.data.attributes.alternativeText)||"Pos Banner Image")}}function Te(n,o){if(1&n&&(t.ynx(0),t.TgZ(1,"div"),t._uU(2),t.qZA(),t.YNc(3,ye,4,3,"ng-template",12),t.BQk()),2&n){const e=o.$implicit;t.xp6(2),t.Oqu(e.title),t.xp6(1),t.Q6J("id",e.id.toString())}}function Pe(n,o){if(1&n&&(t.TgZ(0,"div",9)(1,"owl-carousel-o",10),t.YNc(2,Te,4,2,"ng-container",11),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("options",e.customOptions),t.xp6(1),t.Q6J("ngForOf",e.topBanners)}}function Ze(n,o){if(1&n&&(t.TgZ(0,"div",18),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.hij(" ",e.tag_title,"")}}function Se(n,o){if(1&n&&(t.TgZ(0,"div",16),t.YNc(1,Ze,2,1,"div",17),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.getFirstThreeTagging(e.contentDetails.post_tagging_list))}}function Ne(n,o){if(1&n&&t._UZ(0,"app-carousel",19),2&n){const e=t.oxw(2);t.Q6J("data",e.carouselBannerObject)}}function Le(n,o){if(1&n&&t._UZ(0,"app-inner-html",19),2&n){const e=t.oxw(2);t.Q6J("data",e.contentDetails.content_section)}}function Oe(n,o){if(1&n&&t._UZ(0,"app-video",20),2&n){const e=t.oxw(2);t.Q6J("video",e.contentDetails.video_section)}}function Ie(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,Pe,3,2,"div",2),t.TgZ(2,"div",3)(3,"div",4),t._uU(4),t.ALo(5,"amDateFormat"),t.qZA(),t.TgZ(6,"h1",5),t._uU(7),t.qZA(),t.YNc(8,Se,2,1,"div",6),t.qZA(),t.YNc(9,Ne,1,1,"app-carousel",7),t.YNc(10,Le,1,1,"app-inner-html",7),t.YNc(11,Oe,1,1,"app-video",8),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",e.topBanners),t.xp6(3),t.Oqu(t.xi3(5,7,e.contentDetails.published_date,"DD MMM YYYY hh:mm a")),t.xp6(3),t.Oqu(e.contentDetails.title||e.contentDetails.header_title),t.xp6(1),t.Q6J("ngIf",e.contentDetails.post_tagging_list),t.xp6(1),t.Q6J("ngIf",e.contentDetails.banner_sections),t.xp6(1),t.Q6J("ngIf",e.contentDetails.content_section),t.xp6(1),t.Q6J("ngIf",e.contentDetails.video_section)}}let _1=(()=>{class n{constructor(){this.carouselBannerObject=null,this.topBanners=[],this.customOptions={loop:!0,mouseDrag:!0,touchDrag:!1,pullDrag:!1,autoplay:!0,dots:!0,navSpeed:700,responsive:{0:{items:1},400:{items:1},740:{items:1},940:{items:1}}}}ngOnInit(){if(this.contentDetails&&this.contentDetails.banner_sections){if(this.contentDetails.banner_sections){const e=this.contentDetails.banner_sections.map(i=>{var a,c,l,r,p;return Object.assign(Object.assign({},i),{title:null!==(a=i.banner_title)&&void 0!==a?a:i.title,bannerImage:{data:{attributes:null!==(l=null===(c=i.bannerImage)||void 0===c?void 0:c.data)&&void 0!==l&&l.attributes?Object.assign({},null===(p=null===(r=i.bannerImage)||void 0===r?void 0:r.data)||void 0===p?void 0:p.attributes):Object.assign({},i.bannerImage)}}})});this.carouselBannerObject={carouselBannerList:e}}this.contentDetails.top_banners&&(this.topBanners=this.contentDetails.top_banners.map(e=>{var i,a,c,l,r;return Object.assign(Object.assign({},e),{title:null!==(i=e.banner_title)&&void 0!==i?i:e.title,bannerImage:{data:{attributes:null!==(c=null===(a=e.bannerImage)||void 0===a?void 0:a.data)&&void 0!==c&&c.attributes?Object.assign({},null===(r=null===(l=e.bannerImage)||void 0===l?void 0:l.data)||void 0===r?void 0:r.attributes):Object.assign({},e.bannerImage)}}})}))}}getFirstThreeTagging(e){return e.length>3?e.slice(0,3):e.filter(i=>i.tag_title)}getImageUrl(e){return(0,u.KS)(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-sixteen"]],inputs:{contentDetails:"contentDetails"},decls:2,vars:1,consts:[[1,"block-sixteen-container"],[4,"ngIf"],["class","banner-wrapper",4,"ngIf"],[1,"text-center","my-5"],[1,"date"],[1,"title-text"],["class","tag-container",4,"ngIf"],[3,"data",4,"ngIf"],[3,"video",4,"ngIf"],[1,"banner-wrapper"],[1,"w-100",3,"options"],[4,"ngFor","ngForOf"],["carouselSlide","",3,"id"],[1,""],[3,"href"],["loading","lazy",1,"img-fluid",3,"src","alt"],[1,"tag-container"],["class","tagging-pill",4,"ngFor","ngForOf"],[1,"tagging-pill"],[3,"data"],[3,"video"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,Ie,12,10,"div",1),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",i.contentDetails))},dependencies:[k.Fy,k.Mp,s.sg,s.O5,F,Z.W,U,T.Ek],styles:[".block-sixteen-container{border-radius:1rem;padding:0;margin-bottom:3rem}.banner-wrapper img{border-radius:1rem}.owl-carousel.owl-drag .owl-item{height:100%}.date{color:#a9a9a9;font-weight:500;font-size:16px}h1{font-weight:700;margin-top:1rem;font-size:35.2px}.tag-container{flex-direction:row;display:inline-flex;margin-top:1rem;margin-right:.5rem;justify-content:center;flex-wrap:wrap}.tag-container .tagging-pill{border-radius:2rem;background:#ffd2d5;color:#ff3358;font-size:14px;text-align:center;padding:.5rem 1rem;margin-right:1rem;margin-bottom:.5rem;font-weight:500}.title-text{font-weight:700!important;font-family:GothamBold}@media only screen and (max-width: 767px){.block-sixteen-container{padding:0}}\n"],encapsulation:2}),n})();var F1=_(7582),U1=_(5349),G=_(9549),K=_(4385),W=_(3238);function He(n,o){if(1&n&&(t.TgZ(0,"div",11),t._uU(1),t.qZA()),2&n){const e=t.oxw(),a=e.$implicit;t.Udp("margin-top",0===e.index?0:48,"px"),t.xp6(1),t.hij(" ",a.section_divider_title," ")}}function Je(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",22),t._UZ(1,"img",23),t.TgZ(2,"div"),t._uU(3),t.qZA(),t.TgZ(4,"div"),t._uU(5),t.qZA(),t.TgZ(6,"img",24),t.NdJ("click",function(){const c=t.CHM(e).$implicit,l=t.oxw(2).$implicit,r=t.oxw(3);return t.KtG(r.onSelectedFileRemove(l.field_name,c))}),t.qZA()()}if(2&n){const e=o.$implicit,i=t.oxw(5);t.xp6(1),t.Q6J("src",i.displayImagePreview(e),t.LSH),t.xp6(2),t.Oqu(e.name),t.xp6(2),t.hij("(",i.getFileSize(e.size),")")}}function Qe(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.YNc(1,Je,7,3,"div",15),t.TgZ(2,"div",16)(3,"div",17),t._UZ(4,"img",18),t.TgZ(5,"div",19),t._uU(6," UPLOAD FILE "),t.qZA(),t.TgZ(7,"input",20),t.NdJ("change",function(a){t.CHM(e);const c=t.oxw().$implicit,l=t.oxw(3);return t.KtG(l.handleSingleImageFileChange(a.target.files,c.field_name))}),t.qZA()(),t.TgZ(8,"div",21),t._uU(9),t.qZA()()()}if(2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",i.getDisplayImagFileList(e.field_name)),t.xp6(6),t.s9C("formControlName",e.field_name),t.xp6(2),t.Oqu(i.getFileText(e.field_name))}}function Ae(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",22),t._UZ(1,"img",27),t.TgZ(2,"div"),t._uU(3),t.qZA(),t.TgZ(4,"div"),t._uU(5),t.qZA(),t.TgZ(6,"img",24),t.NdJ("click",function(){const c=t.CHM(e).$implicit,l=t.oxw(2).$implicit,r=t.oxw(3);return t.KtG(r.onSelectedFileRemove(l.field_name,c))}),t.qZA()()}if(2&n){const e=o.$implicit,i=t.oxw(5);t.xp6(1),t.Q6J("src",i.displayImagePreview(e),t.LSH),t.xp6(2),t.Oqu(e.name),t.xp6(2),t.hij("(",i.getFileSize(e.size),")")}}function Be(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div")(1,"div",25),t.YNc(2,Ae,7,3,"div",15),t.qZA(),t.TgZ(3,"div",16)(4,"div",17),t._UZ(5,"img",18),t.TgZ(6,"div",19),t._uU(7," UPLOAD FILES "),t.qZA(),t.TgZ(8,"input",26),t.NdJ("change",function(a){t.CHM(e);const c=t.oxw().$implicit,l=t.oxw(3);return t.KtG(l.handleMultiImageFileChange(a.target.files,c.field_name))}),t.qZA()(),t.TgZ(9,"div",21),t._uU(10),t.qZA()()()}if(2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.xp6(2),t.Q6J("ngForOf",i.getDisplayImagFileList(e.field_name)),t.xp6(6),t.s9C("formControlName",e.field_name),t.xp6(2),t.Oqu(i.getFileText(e.field_name))}}function De(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",22),t._UZ(1,"img",29),t.TgZ(2,"div"),t._uU(3),t.qZA(),t.TgZ(4,"div"),t._uU(5),t.qZA(),t.TgZ(6,"img",24),t.NdJ("click",function(){const c=t.CHM(e).$implicit,l=t.oxw(2).$implicit,r=t.oxw(3);return t.KtG(r.onSelectedFileRemove(l.field_name,c))}),t.qZA()()}if(2&n){const e=o.$implicit,i=t.oxw(5);t.xp6(1),t.Q6J("src",i.videoThumbnail,t.LSH),t.xp6(2),t.Oqu(e.name),t.xp6(2),t.hij("(",i.getFileSize(e.size),")")}}function Ve(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.YNc(1,De,7,3,"div",15),t.TgZ(2,"div",16)(3,"div",17),t._UZ(4,"img",18),t.TgZ(5,"div",19),t._uU(6," UPLOAD FILE "),t.qZA(),t.TgZ(7,"input",28),t.NdJ("change",function(a){t.CHM(e);const c=t.oxw().$implicit,l=t.oxw(3);return t.KtG(l.handleVideoFileChange(a.target.files,c.field_name))}),t.qZA()(),t.TgZ(8,"div",21),t._uU(9),t.qZA()()()}if(2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",i.getDisplayImagFileList(e.field_name)),t.xp6(6),t.s9C("formControlName",e.field_name),t.xp6(2),t.Oqu(i.getFileText(e.field_name))}}function Ye(n,o){if(1&n&&(t.TgZ(0,"mat-option",33),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.Q6J("value",e.dropdown_option_title),t.xp6(1),t.hij(" ",e.dropdown_option_title," ")}}function qe(n,o){if(1&n&&(t.TgZ(0,"div")(1,"mat-form-field",30)(2,"mat-select",31),t.YNc(3,Ye,2,2,"mat-option",32),t.qZA()()()),2&n){const e=t.oxw().$implicit;t.xp6(2),t.s9C("formControlName",e.field_name),t.Q6J("placeholder",e.placeholder),t.xp6(1),t.Q6J("ngForOf",e.dropdown_options)}}function Fe(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"input",34),t.TgZ(2,"div",35),t._uU(3),t.ALo(4,"lowercase"),t.qZA()()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.s9C("placeholder",e.placeholder),t.s9C("formControlName",e.field_name),t.xp6(2),t.hij("Invalid ",t.lcZ(4,3,e.field_name),".")}}function Ue(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"textarea",36),t.TgZ(2,"div",35),t._uU(3),t.ALo(4,"lowercase"),t.qZA()()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.s9C("placeholder",e.placeholder),t.s9C("formControlName",e.field_name),t.xp6(2),t.hij("Invalid ",t.lcZ(4,3,e.field_name),".")}}function $e(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"input",37),t.TgZ(2,"div",35),t._uU(3),t.ALo(4,"lowercase"),t.qZA()()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.s9C("placeholder",e.placeholder),t.s9C("formControlName",e.field_name),t.xp6(2),t.hij("Invalid ",t.lcZ(4,3,e.field_name),".")}}function Ee(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"input",38),t.TgZ(2,"div",35),t._uU(3),t.ALo(4,"lowercase"),t.qZA()()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.s9C("placeholder",e.placeholder),t.s9C("formControlName",e.field_name),t.xp6(2),t.hij("Invalid ",t.lcZ(4,3,e.field_name),".")}}function je(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"input",34),t.TgZ(2,"div",35),t._uU(3),t.ALo(4,"lowercase"),t.qZA()()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.s9C("placeholder",e.placeholder),t.s9C("formControlName",e.field_name),t.xp6(2),t.hij("Invalid ",t.lcZ(4,3,e.field_name),".")}}function Re(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"input",34),t.TgZ(2,"div",35),t._uU(3),t.ALo(4,"lowercase"),t.qZA()()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.s9C("placeholder",e.placeholder),t.s9C("formControlName",e.field_name),t.xp6(2),t.hij("Invalid ",t.lcZ(4,3,e.field_name),".")}}const Ge=function(n,o){return{"col-md-12":n,"col-md-6":o}};function Ke(n,o){if(1&n&&(t.TgZ(0,"div",12)(1,"div",13),t._uU(2),t.qZA(),t.YNc(3,Qe,10,3,"div",14),t.YNc(4,Be,11,3,"div",14),t.YNc(5,Ve,10,3,"div",14),t.YNc(6,qe,4,3,"div",14),t.YNc(7,Fe,5,5,"div",14),t.YNc(8,Ue,5,5,"div",14),t.YNc(9,$e,5,5,"div",14),t.YNc(10,Ee,5,5,"div",14),t.YNc(11,je,5,5,"div",14),t.YNc(12,Re,5,5,"div",14),t.qZA()),2&n){const e=o.$implicit;t.Q6J("ngClass",t.WLB(12,Ge,"Long_Text"===e.input_type,"Long_Text"!==e.input_type)),t.xp6(2),t.Oqu(e.field_name),t.xp6(1),t.Q6J("ngIf","Image"===e.input_type),t.xp6(1),t.Q6J("ngIf","Multi_Images"===e.input_type),t.xp6(1),t.Q6J("ngIf","Video"===e.input_type),t.xp6(1),t.Q6J("ngIf","Dropdown_list"===e.input_type&&e.dropdown_options),t.xp6(1),t.Q6J("ngIf","Text"===e.input_type),t.xp6(1),t.Q6J("ngIf","Long_Text"===e.input_type),t.xp6(1),t.Q6J("ngIf","Date"===e.input_type),t.xp6(1),t.Q6J("ngIf","Number"===e.input_type),t.xp6(1),t.Q6J("ngIf","Email"===e.input_type),t.xp6(1),t.Q6J("ngIf","Phone_Number"===e.input_type)}}function We(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,He,2,3,"div",8),t.TgZ(2,"div",9),t.YNc(3,Ke,13,15,"div",10),t.qZA()()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf",e.section_divider_title),t.xp6(2),t.Q6J("ngForOf",e.form_groups)}}function Xe(n,o){if(1&n&&(t.TgZ(0,"div",39),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.data.tnc," ")}}function t5(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",1)(1,"div",2),t.YNc(2,We,4,2,"div",3),t.qZA(),t.YNc(3,Xe,2,1,"div",4),t.TgZ(4,"button",5),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.onSubmit())}),t._UZ(5,"img",6),t.TgZ(6,"div",7),t._uU(7,"Submit"),t.qZA()()()}if(2&n){const e=t.oxw();
1t.xp6(1),t.ekj("form-error",e.isFormError),t.Q6J("formGroup",e.editForm),t.xp6(1),t.Q6J("ngForOf",e.data.form_input_fields),t.xp6(1),t.Q6J("ngIf",e.data.tnc)}}let $1=(()=>{class n{constructor(e,i,a,c){this.formBuild=e,this.apiService=i,this.popupService=a,this.fileService=c,this.settings={},this.singleImageModel=[],this.multiImageModel=[],this.videoModel=[],this.attachmentList=[],this.isFormError=!1,this.videoThumbnail="",this.settings={lazyLoading:!0,text:"Select Customer",selectAllText:"Select All",unSelectAllText:"Unselect All",searchPlaceholderText:"Search customer",primaryKey:"memberId",labelKey:"fullName",enableCheckAll:!0,badgeShowLimit:3,searchBy:["memberId","fullName"],enableSearchFilter:!0}}ngOnInit(){this.setupEditForm()}formatFileLink(e){const i=[];for(let a=0;a<e.length;a++)i.push(this.fileService.getFileLink(e[a].name));return i}setupEditForm(){let e={};this.data.form_input_fields.forEach(i=>{i.form_groups.forEach(a=>{let c=[];a.is_mandatory&&(c=[...c,d.kI.required]),"Email"===a.input_type&&(c=[...c,d.kI.email]),"Phone_Number"===a.input_type&&(c=[...c,d.kI.pattern("^(?:\\+?6?01)[0-46-9]-*[0-9]{7,8}$")]),e=Object.assign(Object.assign({},e),{[a.field_name]:["",c]})})}),this.editForm=this.formBuild.group(e)}onSubmit(){if(this.editForm.invalid)return void(this.isFormError=!0);this.isFormError=!1;const e=Object.assign(Object.assign({},this.editForm.value),{formName:this.data.form_name});this.attachmentList&&this.attachmentList.forEach(a=>{e[a.inputFieldName]=this.formatFileLink(a.fileList)}),e.formId=this.data.id;const i=this.popupService.openLoading();this.apiService.submitForm(e,this.attachmentList).subscribe({next:a=>{a&&this.popupService.openAlert({error:{name:this.data.success_popup_title,message:this.data.success_popup_description}}).afterClosed()&&this.onCloseClicked()},error:a=>{a&&this.popupService.openAlert(a)}}).add(()=>{i.close()})}onCloseClicked(){this.setupEditForm(),this.attachmentList=[]}handleVideoFileChange(e,i){return(0,F1.mG)(this,void 0,void 0,function*(){let a=[];for(let r=0;r<e.length;r++){const p=e[r];if(p.size/1e6>5)return void this.popupService.openAlert({error:{name:"Error",message:"File size should not exceed 5MB"}});a.push(p)}this.videoThumbnail=yield this.fileService.generateVideoThumbnail(e[0]);const c={inputFieldName:i,fileList:a},l=this.attachmentList.findIndex(r=>
1r.inputFieldName===i);-1===l?this.attachmentList.push(c):this.attachmentList=[...this.attachmentList.slice(0,l),c,...this.attachmentList.slice(l+1)]})}handleSingleImageFileChange(e,i){let a=[];for(let r=0;r<e.length;r++){const p=e[r];if(p.size/1e6>1)return void this.popupService.openAlert({error:{name:"Error",message:"File size cannot be more than 1MB"}});a.push(p)}const c={inputFieldName:i,fileList:a},l=this.attachmentList.findIndex(r=>r.inputFieldName===i);-1===l?this.attachmentList.push(c):this.attachmentList=[...this.attachmentList.slice(0,l),c,...this.attachmentList.slice(l+1)]}handleMultiImageFileChange(e,i){if(e.length>5)return void this.popupService.openAlert({error:{name:"Error",message:"Maximum 5 images"}});if(this.attachmentList){const r=this.attachmentList.find(p=>p.inputFieldName===i);if(r&&r.fileList.length+e.length>5)return void this.popupService.openAlert({error:{name:"Error",message:"Maximum 5 images"}})}let a=[];for(let r=0;r<e.length;r++){const p=e[r];if(p.size/1e6>1)return void this.popupService.openAlert({error:{name:"Error",message:"File size cannot be more than 1MB"}});a.push(p)}const c={inputFieldName:i,fileList:a},l=this.attachmentList.findIndex(r=>
1r.inputFieldName===i);if(-1===l)this.attachmentList.push(c);else{const r=this.attachmentList[l];this.attachmentList=[...this.attachmentList.slice(0,l),{inputFieldName:i,fileList:[...r.fileList,...c.fileList]},...this.attachmentList.slice(l+1)]}}displayImagePreview(e){return e?URL.createObjectURL(e):""}getDisplayImagFileList(e){return this.attachmentList.length&&this.attachmentList.find(i=>i.inputFieldName===e)?this.attachmentList.find(i=>i.inputFieldName===e).fileList:[]}onSelectedFileRemove(e,i){const a=this.attachmentList.findIndex(c=>c.inputFieldName===e);if(-1!==a){const c=this.attachmentList[a],r=c.fileList.findIndex(p=>p==i);c.fileList.splice(r,1),this.attachmentList=[...this.attachmentList.slice(0,a),{inputFieldName:e,fileList:c.fileList},...this.attachmentList.slice(a+1)]}}getFileText(e){if(this.attachmentList){const i=this.attachmentList.find(a=>a.inputFieldName===e);if(i&&i.fileList&&i.fileList.length>0)return`${i.fileList.length} file(s) uploaded`}return"No file(s) selected"}getFileSize(e){return this.fileService.formatFileSize(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(d.qu),t.Y36($),t.Y36(N.W),t.Y36(U1.I))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-nineteen"]],inputs:{data:"data"},decls:1,vars:1,consts:[["class","container",4,"ngIf"],[1,"container"],[3,"formGroup"],[4,"ngFor","ngForOf"],["class","declaration-text",4,"ngIf"],[1,"btn","but-primary-red","button",3,"click"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/form_submit_icon.png","alt","button Icon",1,"icon"],[1,"btn-title"],["class","title",3,"margin-top",4,"ngIf"],[1,"row"],["class","col-sm-12",3,"ngClass",4,"ngFor","ngForOf"],[1,"title"],[1,"col-sm-12",3,"ngClass"],[1,"form-label"],[4,"ngIf"],["class","upload-image-container",4,"ngFor","ngForOf"],[1,"upload-file-container"],[1,"upload-holder"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/icon_upload.png","alt","Pos Upload Icon"],[1,"upload-button-text"],["type","file","accept","image/png, image/jpeg",3,"formControlName","change"],[1,"selected-file-text"],[1,"upload-image-container"],["loading","lazy","alt","Pos Form Image Input","loading","lazy",3,"src"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/remove-img-grey.png","alt","Pos Remove Icon",1,"icon","remove-img-grey","positioning",3,"click"],[1,"multi-image-container","mt-2"],["type","file","accept","image/png, image/jpeg","multiple","",3,"formControlName","change"],["loading","lazy","alt","Pos Form Multi Image Input",3,"src"],["type","file","accept","video/mp4,video/x-m4v,video/*",3,"formControlName","change"],["loading","lazy","alt","Pos Video Thumbail",3,"src"],["appearance","outline",1,"form-control-material","w-100"],[3,"formControlName","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"form-control",3,"placeholder","formControlName"],[1,"error-message"],["cols","5","rows","3","maxlength","255",1,"form-control","text-area-container",3,"placeholder","formControlName"],["type","date",1,"form-control",3,"placeholder","formControlName"],["type","number",1,"form-control",3,"placeholder","formControlName"],[1,"declaration-text"]],template:function(e,i){1&e&&t.YNc(0,t5,8,5,"div",0),2&e&&t.Q6J("ngIf",i.data)},dependencies:[s.mk,s.sg,s.O5,d.Fj,d.wV,d.JJ,d.JL,d.nD,G.KE,K.gD,W.ey,d.sg,d.u,s.i8],styles:[".container[_ngcontent-%COMP%]{border-radius:24px;padding:48px 120px;margin-bottom:3rem;background:#ecf6ff;box-shadow:0 5px 15px 5px #bdbdbd66;font-family:var(--font-regular)}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#2e2e2e;font-size:18px;font-weight:700;margin-top:48px}.container[_ngcontent-%COMP%] .form-label[_ngcontent-%COMP%]{color:#1d1d1d;font-size:16px;font-weight:400;padding-top:24px}.container[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{margin-top:4px;width:100%;height:44px;font-size:16px;font-weight:400;color:#4e4e4e;padding:20px 14px;border:1px solid #9e9e9e;border-radius:4px}.container[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]::placeholder{color:#999}.container[_ngcontent-%COMP%] .error-message[_ngcontent-%COMP%]{font-size:16px}.container[_ngcontent-%COMP%] .text-area-container[_ngcontent-%COMP%]{height:120px}.container[_ngcontent-%COMP%] .declaration-text[_ngcontent-%COMP%]{margin-top:28px;font-weight:400;font-size:16px;color:#000;line-height:20px;margin-bottom:64px}.button[_ngcontent-%COMP%]{margin-top:1rem;margin-left:auto;margin-right:auto;display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:8px;border-width:2px;
1min-width:200px;padding:0 40px;height:48px;transition:transform .3s,box-shadow .3s}.button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:20px;height:20px;flex-shrink:0;margin-right:14px}.button[_ngcontent-%COMP%] .btn-title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;font-family:var(--font-regular)}.button[_ngcontent-%COMP%]:hover{transform:translateY(-3px);box-shadow:0 12px 16px #2c256124}.upload-image-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;width:100%;padding:10px;margin-bottom:8px;background-color:#fff;border:1px solid #9e9e9e;border-radius:4px}.upload-image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:nth-of-type(1){margin-top:auto;margin-bottom:auto;height:32px;width:48px;object-fit:contain;border:1px solid #dcdcdc}.upload-image-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-of-type(1){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1d1d1d;margin-left:8px}.upload-image-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-of-type(2){white-space:nowrap;color:#a0a0a0;margin-left:8px;margin-right:8px}.upload-image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:nth-of-type(2){margin-left:auto;height:26px;width:26px}.upload-image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:nth-of-type(3){margin-left:8px;height:26px;width:26px}.thumbnail-image[_ngcontent-%COMP%]{max-width:100%;max-height:100%;width:auto;height:auto;margin:auto;object-fit:contain}.remove-img-grey[_ngcontent-%COMP%]{height:2rem;z-index:99}.multi-image-container[_ngcontent-%COMP%]{width:100%;display:flex;flex:1;flex-direction:row;flex-wrap:wrap;overflow-x:auto}.multi-image-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{display:flex;width:15rem;height:10rem;background-color:#00000080;border-radius:.357rem;margin-top:12px;margin-right:12px}.multi-image-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .remove-img-icon-wrapper[_ngcontent-%COMP%]{margin:4px;position:absolute}.multi-image-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{cursor:pointer}.multi-image-container[_ngcontent-%COMP%] .icon.delete-red[_ngcontent-%COMP%]{opacity:1;pointer-events:all}input[type=file][_ngcontent-%COMP%]{width:100%;height:100%;opacity:0;position:absolute;top:0;left:0}.upload-file-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;text-align:center;margin-top:auto;margin-bottom:auto}.selected-file-text[_ngcontent-%COMP%]{color:#4e4e4e;margin-left:.5rem;margin-top:auto;margin-bottom:auto;width:50%;text-align:start!important}.upload-button-text[_ngcontent-%COMP%]{color:#fff;font-family:var(--font-regular);font-size:14px;margin-left:12px}.upload-holder[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;width:50%;height:44px;border:1px solid #9e9e9e;border-radius:8px;cursor:pointer;position:relative;background-color:#a0a0a0}.upload-holder[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:22px;width:22px} .mat-select-container{margin-top:2rem} .mat-mdc-text-field-wrapper{height:44px!important;background-color:#fff} .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:10px;padding-bottom:10px} .mat-mdc-select-arrow svg{display:none} .mat-mdc-select-arrow-wrapper{background-image:url(https://assets.pos.com.my/pos-corporate/images/arrow-down-dark.png);height:16px!important;width:16px!important;background-size:cover;background-position:center;background-repeat:no-repeat} .mat-mdc-select-placeholder{color:#949494;font-family:var(--font-regular)} .mat-mdc-form-field-subscript-wrapper{display:none} .mat-mdc-select-value{font-size:16px} .mat-mdc-form-field-infix{height:48px} .mdc-text-field{border-radius:0}@media only screen and (max-width: 767px){.container[_ngcontent-%COMP%]{padding:1rem 1rem 2rem}.button[_ngcontent-%COMP%]{margin-top:.5rem;height:44px;width:100%;padding:0 28px}.button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:14px;height:14px;margin-right:10px}.button[_ngcontent-%COMP%] .btn-title[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.image-container[_ngcontent-%COMP%]{width:100%;margin-bottom:1.5rem}.multi-image-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{width:100%}.delete-container[_ngcontent-%COMP%]{flex-direction:column}}"]}),n})();var O=_(5439),E1=_(7886);function e5(n,o){if(1&n&&t._UZ(0,"app-inner-html",7),2&n){const e=t.oxw(2);t.Q6J("data",null==e.post?null:e.post.description)}}function n5(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",1),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.directToPostDetail())}),t.TgZ(1,"div",2)(2,"div",3),t._uU(3),t.ALo(4,"amDateFormat"),t.qZA(),t.TgZ(5,"div",4)(6,"a",5),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.directToPostDetail())}),t._uU(7),t.qZA()(),t.YNc(8,e5,1,1,"app-inner-html",6),t.qZA()()}if(2&n){const e=t.oxw();
1t.xp6(3),t.Oqu(t.xi3(4,3,null==e.post?null:e.post.published_date,"DD MMM YYYY hh:mm a")),t.xp6(4),t.hij(" ",null==e.post?null:e.post.title," "),t.xp6(1),t.Q6J("ngIf",null==e.post?null:e.post.description)}}let i5=(()=>{class n{constructor(e){this.router=e}directToPostDetail(){this.router.navigate(["block-post/detail"],{queryParams:{postDetailId:this.post.title}})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(g.F0))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-post"]],inputs:{post:"post"},decls:1,vars:1,consts:[["class","service-update-container",3,"click",4,"ngIf"],[1,"service-update-container",3,"click"],[1,"service-update-body"],[1,"date-text"],[1,"title-container"],[3,"click"],[3,"data",4,"ngIf"],[3,"data"]],template:function(e,i){1&e&&t.YNc(0,n5,9,6,"div",0),2&e&&t.Q6J("ngIf",i.post)},dependencies:[s.O5,Z.W,T.Ek],styles:[".service-update-container[_ngcontent-%COMP%]{cursor:pointer}.service-update-container[_ngcontent-%COMP%] .service-update-body[_ngcontent-%COMP%]{padding:40px 52px 24px;margin-bottom:2rem;box-shadow:0 5px 15px 5px #4343431a;border-radius:15px}.service-update-container[_ngcontent-%COMP%] .service-update-body[_ngcontent-%COMP%] .date-text[_ngcontent-%COMP%]{font-family:var(--font-regular);font-weight:500;font-size:16px;color:#a9a9a9}.service-update-container[_ngcontent-%COMP%] .service-update-body[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%]{margin-top:8px;margin-bottom:16px}.service-update-container[_ngcontent-%COMP%] .service-update-body[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000;font-family:var(--font-regular);font-weight:700;font-weight:500!important;text-decoration:underline;font-size:24px}.service-update-container[_ngcontent-%COMP%] .service-update-body[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration-color:#000}"]}),n})();function o5(n,o){if(1&n&&(t.TgZ(0,"div",13),t._uU(1),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Oqu(e.data.block17_title)}}function a5(n,o){if(1&n&&(t.TgZ(0,"div",14),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Oqu(e.data.block17_description)}}function c5(n,o){if(1&n&&(t.TgZ(0,"mat-option",15),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.Q6J("value",e.value),t.xp6(1),t.hij(" ",e.title," ")}}function l5(n,o){if(1&n&&(t.TgZ(0,"mat-option",15),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.Q6J("value",e.value),t.xp6(1),t.hij(" ",e.title," ")}}function r5(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"app-block-post",18),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("post",e)}}function s5(n,o){if(1&n&&(t.TgZ(0,"div",16),t.YNc(1,r5,2,1,"div",17),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("ngForOf",e.postListData)}}function p5(n,o){1&n&&(t.TgZ(0,"div")(1,"div",19),t._uU(2,"No new post at the moment. Stay updated with the latest news from Pos Malaysia "),t.qZA()())}function m5(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",20)(1,"app-block-button",21),t.NdJ("onPress",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.onLoadMoreClicked())}),t.qZA()()}if(2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("button",e.loadMoreButton)}}let j1=(()=>{class n extends E1.W{constructor(e,i){super(e),this.formBuilder=e,this.customBlockApiService=i,this.skip=0,this.limit=3,this.hasMorePage=!1,this.postListData=null,this.MONTH_OPTIONS=[{title:"Month",value:"-1"},{title:"January",value:"01"},{title:"February",value:"02"},{title:"March",value:"03"},{title:"April",value:"04"},{title:"May",value:"05"},{title:"June",value:"06"},{title:"July",value:"07"},{title:"August",value:"08"},{title:"September",value:"09"},{title:"October",value:"10"},{title:"November",value:"11"},{title:"December",value:"12"}],this.YEARS_OPTIONS=[],this.loadMoreButton={button_title:"Load More",button_font_color:"#fff",button_background_color:"#fa3e46"}}setupEditForm(){this.editForm=this.formBuilder.group({month:[""],year:[O().year()]})}ngOnInit(){var e;this.getListOfYearOption(),this.setupEditForm(),null!==(e=this.data)&&void 0!==e&&e.block_posts&&this.getPostList()}getListOfYearOption(){const e=O().year();this.customBlockApiService.getPostOfYearsForBlock("block_17",this.data.id).subscribe({next:i=>{i&&i.forEach(a=>{this.YEARS_OPTIONS.push({title:a.year,value:a.year})})},error:i=>{for(let a=9;a>=0;a--)this.YEARS_OPTIONS.push({title:e-a,value:e-a})}})}getPostList(){const{year:e,month:i}=this.editForm.value;let a="",c="";if(e&&"-1"!==i){const l=O(`${e}-${i}-01`),r=O(`${e}-${i}-01`).endOf("month");a=l.toISOString(),c=r.toISOString()}else"-1"===i&&(a="",c="");this.customBlockApiService.getBlockPosts("en",this.skip,this.limit,this.path,this.data.id,a,c).subscribe({next:l=>{if(l&&l.result){const p=l.result.pageContent.find(m=>"sections.block17"===m.__component);p&&(this.postListData=0===this.skip?p?.block_posts:[...this.postListData,...p?.block_posts],this.hasMorePage=p?.block_posts.length>=this.limit)}},error:l=>{this.hasMorePage=!1}})}onLoadMoreClicked(){this.hasMorePage&&(this.skip+=this.limit,this.getPostList())}onMonthChange(e){this.skip=0,this.getPostList()}onYearChange(e){this.skip=0,this.getPostList()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(d.qu),t.Y36($))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-seventeen"]],inputs:{data:"data",path:"path"},features:[t.qOj],decls:16,vars:9,consts:[[1,"block-seventeen-container"],["class","block-seventeen-header",4,"ngIf"],["class","block-seventeen-description",4,"ngIf"],[3,"formGroup"],[1,"dropdown-container","mat-select-container"],[1,"dropdown-box"],["appearance","outline",1,"form-control-material"],["placeholder","Month","formControlName","month","disableOptionCentering","true",3,"placeholder","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["placeholder","Year","formControlName","year",3,"selectionChange"],["class","block-post-container",4,"ngIf"],[4,"ngIf"],["class","load-more-button-container",4,"ngIf"],[1,"block-seventeen-header"],[1,"block-seventeen-description"],[3,"value"],[1,"block-post-container"],[4,"ngFor","ngForOf"],[3,"post"],[1,"no-data-container"],[1,"load-more-button-container"],[3,"button","onPress"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,o5,2,1,"div",1),t.YNc(2,a5,2,1,"div",2),t.TgZ(3,"div",3)(4,"div",4)(5,"div",5)(6,"mat-form-field",6)(7,"mat-select",7),t.NdJ("selectionChange",function(c){return i.onMonthChange(c)}),t.YNc(8,c5,2,2,"mat-option",8),t.qZA()()(),t.TgZ(9,"div",5)(10,"mat-form-field",6)(11,"mat-select",9),t.NdJ("selectionChange",function(c){return i.onYearChange(c)}),t.YNc(12,l5,2,2,"mat-option",8),t.qZA()()()()(),t.YNc(13,s5,2,1,"div",10),t.YNc(14,p5,3,0,"div",11),t.YNc(15,m5,2,1,"div",12),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",i.data.block17_title),t.xp6(1),t.Q6J("ngIf",i.data.block17_description),t.xp6(1),t.Q6J("formGroup",i.editForm),t.xp6(4),t.Q6J("placeholder",i.MONTH_OPTIONS[0].title),t.xp6(1),t.Q6J("ngForOf",i.MONTH_OPTIONS),t.xp6(4),t.Q6J("ngForOf",i.YEARS_OPTIONS),t.xp6(1),t.Q6J("ngIf",i.postListData),t.xp6(1),t.Q6J("ngIf",i.postListData&&0===i.postListData.length),t.xp6(1),t.Q6J("ngIf",i.hasMorePage))},dependencies:[s.sg,s.O5,d.JJ,d.JL,G.KE,K.gD,W.ey,d.sg,d.u,L.k,i5],styles:[".block-seventeen-container[_ngcontent-%COMP%]{border-radius:1rem;padding:1.8rem;margin-bottom:3rem}.block-seventeen-header[_ngcontent-%COMP%]{font-family:var(--font-regular);font-weight:600;font-size:30px;color:#2e2e2e;text-align:center;margin-bottom:1rem}.block-seventeen-description[_ngcontent-%COMP%]{font-family:var(--font-regular);font-size:18px;text-align:center;color:#000;font-weight:400;line-height:40px;padding-bottom:18px}.dropdown-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex:1;justify-content:center}.dropdown-box[_ngcontent-%COMP%]{margin-right:.5rem}.mat-select-container[_ngcontent-%COMP%]{margin-top:2rem}.mat-mdc-text-field-wrapper[_ngcontent-%COMP%]{width:12rem!important} .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:12px;padding-bottom:12px} .mat-mdc-select-arrow svg{display:none} .mat-mdc-select-arrow-wrapper{background-image:url(https://assets.pos.com.my/pos-corporate/images/arrow-down-dark.png);height:14px!important;width:14px!important;background-size:cover;background-position:center;background-repeat:no-repeat} .mat-mdc-select-placeholder{color:#9e9e9e}.mat-mdc-form-field-subscript-wrapper[_ngcontent-%COMP%]{display:none}.mat-mdc-select-value[_ngcontent-%COMP%]{font-size:12px} .mat-mdc-form-field-infix{min-height:48px}.mdc-text-field[_ngcontent-%COMP%]{border-radius:0}.mat-mdc-select-placeholder[_ngcontent-%COMP%]{font-weight:200}.block-post-container[_ngcontent-%COMP%]{margin-top:2rem}.load-more-button-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center}.no-data-container[_ngcontent-%COMP%]{font-family:var(--font-regular);font-weight:400;font-size:16px;color:#a9a9a9;text-align:center;line-height:36px}@media only screen and (max-width: 767px){.block-seventeen-container[_ngcontent-%COMP%]{padding:1rem 1rem 2rem}.dropdown-container[_ngcontent-%COMP%]{flex-direction:column;align-items:center}}"]}),n})();const _5=["title_container"],d5=["desc_container"];function f5(n,o){if(1&n&&(t.TgZ(0,"div",3,4),t._uU(2),t.qZA()),2&n){const e=t.oxw();t.Q6J("innerHTML",e.titleData||"",t.oJD),t.xp6(2),t.hij(" ",e.data.block20_title,"")}}function g5(n,o){if(1&n&&t._UZ(0,"div",5,6),2&n){const e=t.oxw();t.Q6J("innerHTML",e.descData||"",t.oJD)}}let R1=(()=>{class n{constructor(e){this.sanitizer=e}ngOnInit(){var e;this.titleHTML=this.data.block20_title;const i=this.sanitizer.bypassSecurityTrustHtml(this.titleHTML);this.titleData=i,setTimeout(()=>{if(this.titleContainer){let c=this.titleContainer.nativeElement.getElementsByTagName("script");
1if(c&&c.length>0)for(let l of c)Function(l.text)()}}),this.descHTML=null===(e=this.data)||void 0===e?void 0:e.block20_description;const a=this.sanitizer.bypassSecurityTrustHtml(this.descHTML);this.descData=a,setTimeout(()=>{if(this.descContainer){let c=this.descContainer.nativeElement.getElementsByTagName("script");if(c&&c.length>0)for(let l of c)Function(l.text)()}})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(P.H7))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-twenty"]],viewQuery:function(e,i){if(1&e&&(t.Gf(_5,5),t.Gf(d5,5)),2&e){let a;t.iGM(a=t.CRH())&&(i.titleContainer=a.first),t.iGM(a=t.CRH())&&(i.descContainer=a.first)}},inputs:{data:"data",path:"path"},decls:3,vars:2,consts:[[1,"block-twenty-container"],["class","block-twenty-header",3,"innerHTML",4,"ngIf"],["class","block-twenty-description",3,"innerHTML",4,"ngIf"],[1,"block-twenty-header",3,"innerHTML"],["title_container",""],[1,"block-twenty-description",3,"innerHTML"],["description_container",""]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,f5,3,2,"div",1),t.YNc(2,g5,2,1,"div",2),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",i.data.block20_title),t.xp6(1),t.Q6J("ngIf",i.data.block20_description))},dependencies:[s.O5],styles:[".block-twenty-header[_ngcontent-%COMP%]{font-family:var(--font-regular);font-weight:700;font-size:30px;color:#2e2e2e;text-align:center}.block-twenty-description[_ngcontent-%COMP%]{font-family:var(--font-regular);font-size:18px;text-align:center;color:#000;font-weight:400;line-height:1.7}"]}),n})();function u5(n,o){if(1&n&&t._UZ(0,"img",12),2&n){const e=t.oxw(2).$implicit;t.Q6J("src",e.sub_block11a_icon.data.attributes.url,t.LSH)("alt",(null==e||null==e.sub_block11a_icon||null==e.sub_block11a_icon.data||null==e.sub_block11a_icon.data.attributes?null:e.sub_block11a_icon.data.attributes.alternativeText)||"Pos Icon")}}function v5(n,o){if(1&n&&(t.TgZ(0,"div",13),t._UZ(1,"app-block-text-button",14),t.qZA()),2&n){const e=t.oxw(2).$implicit;t.xp6(1),t.Q6J("button",e.sub_block11a_action_button)("hasMinWidth",!1)}}function h5(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",8),t.NdJ("click",function(){t.CHM(e);const a=t.oxw().$implicit,c=t.oxw(3);return t.KtG(c.directToCTALink(a))}),t.YNc(1,u5,1,2,"img",9),t._UZ(2,"div",10),t.YNc(3,v5,2,2,"div",11),t.qZA()}if(2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Akn(i.getBlockStyle(e)),t.Q6J("ngClass",e.cta_link?"pointer-class":""),t.xp6(1),t.Q6J("ngIf",e.hasTopIcon),t.xp6(1),t.Q6J("innerHTML",e.sub_block11a_icon_html,t.oJD),t.xp6(1),t.Q6J("ngIf",e.sub_block11a_action_button)}}function x5(n,o){if(1&n&&(t.TgZ(0,"div",6),t.YNc(1,h5,4,6,"div",7),t.qZA()),2&n){const e=t.oxw(3);t.Q6J("ngClass","icon-only-holder"),t.xp6(1),t.Q6J("ngIf",e.iconWithContainer)}}function b5(n,o){if(1&n&&t._UZ(0,"img",16),2&n){const e=t.oxw().$implicit;t.Q6J("src",e.sub_block11a_icon.data.attributes.url,t.LSH)("alt",(null==e||null==e.sub_block11a_icon||null==e.sub_block11a_icon.data||null==e.sub_block11a_icon.data.attributes?null:e.sub_block11a_icon.data.attributes.alternativeText)||"Pos Icon")}}function C5(n,o){if(1&n&&(t.TgZ(0,"div",6),t.YNc(1,b5,1,2,"img",15),t.qZA()),2&n){const e=t.oxw(4);t.Q6J("ngClass",e.isMobileView?"d-none":"icon-only-holder"),t.xp6(1),t.Q6J("ngIf",!e.iconWithContainer)}}function k5(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,C5,2,2,"div",4),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",e.blockContents)}}function M5(n,o){if(1&n&&(t.TgZ(0,"div",3),t.YNc(1,x5,2,2,"div",4),t.YNc(2,k5,2,1,"div",5),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.blockContents),t.xp6(1),t.Q6J("ngIf",e.isMobileView)}}function z5(n,o){if(1&n&&(t.TgZ(0,"div",1),t.YNc(1,M5,3,2,"div",2),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",e.blockContents)}}let G1=(()=>{class n{constructor(){this.iconWithContainer=!0,this.blockContents=[],this.isSpaceEvenly=!1,this.isMobileView=!1}ngOnInit(){this.data&&this.data.block11a_block_contents&&(this.blockContents=this.data.block11a_block_contents,this.blockContents=this.blockContents.map(e=>{var i,a,c;return Object.assign(Object.assign({},e),{hasTopIcon:null!==(c=null===(a=null===(i=e.sub_block11a_icon.data)||void 0===i?void 0:i.attributes)||void 0===a?void 0:a.url)&&void 0!==c&&c})})),this.isSpaceEvenly=!(this.blockContents&&this.blockContents.length>3),this.checkScreenSize()}onResize(e){this.checkScreenSize()}checkScreenSize(){this.isMobileView=window.innerWidth<w.mD}getBlockStyle(e){return(0,u.Iq)(e.block_background_color_left,e.block_background_color_right)}directToCTALink(e){e.cta_link&&window.open(e.cta_link,e.is_new_tab?"_blank":"_self")}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-eleven-a"]],hostBindings:function(e,i){1&e&&t.NdJ("resize",function(c){return i.onResize(c)},!1,t.Jf7)},inputs:{data:"data",iconWithContainer:"iconWithContainer"},decls:1,vars:1,consts:[["class","block-eleven-outer-container",4,"ngIf"],[1,"block-eleven-outer-container"],["class","icons-outer-frame",4,"ngIf"],[1,"icons-outer-frame"],[3,"ngClass",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngClass"],["class","icon-container",3,"ngClass","style","click",4,"ngIf"],[1,"icon-container",3,"ngClass","click"],["loading","lazy","width","30","height","30","loading","lazy",3,"src","alt",4,"ngIf"],[1,"icon-description",3,"innerHTML"],["class","block-11a-button-container",4,"ngIf"],["loading","lazy","width","30","height","30","loading","lazy",3,"src","alt"],[1,"block-11a-button-container"],[3,"button","hasMinWidth"],["loading","lazy","class","block-twelve-icon","loading","lazy",3,"src","alt",4,"ngIf"],["loading","lazy","loading","lazy",1,"block-twelve-icon",3,"src","alt"]],template:function(e,i){1&e&&t.YNc(0,z5,2,1,"div",0),2&e&&t.Q6J("ngIf",i.data)},dependencies:[s.mk,s.sg,s.O5,i1],styles:[".block-eleven-outer-container[_ngcontent-%COMP%]{text-align:center;border:3px,3px,1px,3px;border-width:3px,3px,1px,3px;border-radius:1.26857rem;margin-bottom:4rem}.block-twelwe-outer-container[_ngcontent-%COMP%]{padding:24px 20px 20px}.block-title[_ngcontent-%COMP%]{font-size:44px;font-weight:500;color:#2e2e2e;font-family:var(--font-regular)}.block-subtitle[_ngcontent-%COMP%]{font-size:16px;font-weight:400;color:#2e2e2e;font-family:var(--font-regular);margin-bottom:1rem}.icons-outer-frame[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:row;justify-content:center;flex-wrap:wrap;overflow-x:auto;padding:4px}.icons-outer-frame[_ngcontent-%COMP%] .icon-container[_ngcontent-%COMP%]{display:flex;height:100%;flex-direction:column;box-shadow:0 4px 4px #00000026;border-radius:20px;width:205px;padding:20px}.icons-outer-frame[_ngcontent-%COMP%] .icon-only-holder[_ngcontent-%COMP%]{margin:10px}.icons-outer-frame[_ngcontent-%COMP%] .icon-only-holder[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding-bottom:14px}.icons-outer-frame[_ngcontent-%COMP%] .icon-only-holder[_ngcontent-%COMP%] .icon-description[_ngcontent-%COMP%]{text-align:left;font-size:18px;font-family:var(--font-regular);flex:1}.icons-outer-frame-space-between[_ngcontent-%COMP%]{justify-content:space-between}.icons-outer-frame-space-evenly[_ngcontent-%COMP%]{justify-content:space-evenly}.pointer-class[_ngcontent-%COMP%]{cursor:pointer}.icons-outer-frame[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.block-11a-button-container[_ngcontent-%COMP%]{display:flex;justify-content:end}.block-twelve-icon[_ngcontent-%COMP%]{height:56px!important}@media only screen and (max-width: 767px){.block-title[_ngcontent-%COMP%]{margin-top:20px;font-size:20px;line-height:40px}.block-subtitle[_ngcontent-%COMP%]{font-size:14px;padding:20px 20px 0}.icons-outer-frame[_ngcontent-%COMP%]{flex-direction:column;padding:0;width:100%!important}.icon-container[_ngcontent-%COMP%]{margin-bottom:16px;min-width:none;width:100%!important;flex:1;padding:16px 16px 8px 24px!important}.icon-only-holder[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-left:0!important}.icon-only-holder[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding-bottom:12px}.icon-only-holder[_ngcontent-%COMP%] .icon-description[_ngcontent-%COMP%]{font-size:16px;color:#2e2e2e;font-family:var(--font-regular);flex:1}.icon-only-holder[_ngcontent-%COMP%]:last-child{margin-bottom:0!important}.block-twelve-icon[_ngcontent-%COMP%]{margin-bottom:24px}@keyframes slide{0%{transform:translate(0)}to{transform:translate(-100%)}}.logos[_ngcontent-%COMP%]{overflow:hidden;padding:20px 0;white-space:nowrap}.logos[_ngcontent-%COMP%] .logos-slide[_ngcontent-%COMP%]{display:inline-block}.logos[_ngcontent-%COMP%] .logos-slide[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:50px;margin:0 40px}}"]}),n})();function w5(n,o){if(1&n&&(t.TgZ(0,"div",9),t._uU(1),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.hij(" ",e.data.block21_title," ")}}function y5(n,o){if(1&n&&t._UZ(0,"div",10),2&n){const e=t.oxw();t.Q6J("innerHTML",e.data.block21_description,t.oJD)}}function T5(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"img",14),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.Q6J("src",e.bullet_icon.data.attributes.url,t.LSH)("alt",(null==e||null==e.bullet_icon||null==e.bullet_icon.data||null==e.bullet_icon.data.attributes?null:e.bullet_icon.data.attributes.alternativeText)||"Pos Icon")}}function P5(n,o){if(1&n&&(t.TgZ(0,"div",15),t._uU(1),t.qZA()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.bullet_title," ")}}function Z5(n,o){if(1&n&&(t.TgZ(0,"div")(1,"div",11),t.YNc(2,T5,2,2,"div",12),t.YNc(3,P5,2,1,"div",13),t.qZA()()),2&n){const e=o.$implicit;t.xp6(2),t.Q6J("ngIf",e.bullet_icon.data.attributes.url),t.xp6(1),t.Q6J("ngIf",e.bullet_title)}}function S5(n,o){if(1&n&&t._UZ(0,"img",18),2&n){const e=t.oxw().$implicit;t.Q6J("src",e.reward_icon.data.attributes.url,t.LSH)("alt",(null==e.reward_icon||null==e.reward_icon.data||null==e.reward_icon.data.attributes?null:e.reward_icon.data.attributes.alternativeText)||"Pos Icon")}}function N5(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,S5,1,2,"img",17),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf",e.reward_icon.data.attributes.url)}}function L5(n,o){if(1&n&&(t.TgZ(0,"div",16),t.YNc(1,N5,2,1,"div",4),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",e.data.block21_reward_icons)}}function O5(n,o){if(1&n&&t._UZ(0,"img",21),2&n){const e=t.oxw().$implicit;t.Q6J("src",e.merchant_icon.data.attributes.url,t.LSH)("alt",(null==e||null==e.merchant_icon.data||null==e.merchant_icon.data.attributes?null:e.merchant_icon.data.attributes.alternativeText)||"Pos Icon")}}function I5(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,O5,1,2,"img",20),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf",e.merchant_icon.data.attributes.url)}}function H5(n,o){if(1&n&&(t.TgZ(0,"div",19),t.YNc(1,I5,2,1,"div",4),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("ngForOf",e.data.block21_merchant_icons)}}function J5(n,o){if(1&n&&(t.TgZ(0,"div",9),t._uU(1),t.qZA()),2&n){const e=t.oxw(),a=e.$implicit;t.Udp("margin-top",0===e.index?0:48,"px"),t.xp6(1),t.hij(" ",a.section_divider_title," ")}}function Q5(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",40),t._UZ(1,"img",41),t.TgZ(2,"div"),t._uU(3),t.qZA(),t.TgZ(4,"div"),t._uU(5),t.qZA(),t.TgZ(6,"img",42),t.NdJ("click",function(){const c=t.CHM(e).$implicit,l=t.oxw(2).$implicit,r=t.oxw(3);return t.KtG(r.onSelectedFileRemove(l.field_name,c))}),t.qZA()()}if(2&n){const e=o.$implicit,i=t.oxw(5);t.xp6(1),t.Q6J("src",i.displayImagePreview(e),t.LSH),t.xp6(2),t.Oqu(e.name),t.xp6(2),t.hij("(",i.getFileSize(e.size),")")}}function A5(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.YNc(1,Q5,7,3,"div",33),t.TgZ(2,"div",34)(3,"div",35),t._UZ(4,"img",36),t.TgZ(5,"div",37),t._uU(6," UPLOAD FILE "),t.qZA(),t.TgZ(7,"input",38),t.NdJ("change",function(a){t.CHM(e);const c=t.oxw().$implicit,l=t.oxw(3);return t.KtG(l.handleSingleImageFileChange(a.target.files,c.field_name))}),t.qZA()(),t.TgZ(8,"div",39),t._uU(9),t.qZA()()()}if(2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",i.getDisplayImagFileList(e.field_name)),t.xp6(6),t.s9C("formControlName",e.field_name),t.xp6(2),t.Oqu(i.getFileText(e.field_name))}}function B5(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",40),t._UZ(1,"img",41),t.TgZ(2,"div"),t._uU(3),t.qZA(),t.TgZ(4,"div"),t._uU(5),t.qZA(),t.TgZ(6,"img",42),t.NdJ("click",function(){const c=t.CHM(e).$implicit,l=t.oxw(2).$implicit,r=t.oxw(3);return t.KtG(r.onSelectedFileRemove(l.field_name,c))}),t.qZA()()}if(2&n){const e=o.$implicit,i=t.oxw(5);t.xp6(1),t.Q6J("src",i.displayImagePreview(e),t.LSH),t.xp6(2),t.Oqu(e.name),t.xp6(2),t.hij("(",i.getFileSize(e.size),")")}}function D5(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div")(1,"div",43),t.YNc(2,B5,7,3,"div",33),t.qZA(),t.TgZ(3,"div",34)(4,"div",35),t._UZ(5,"img",36),t.TgZ(6,"div",37),t._uU(7," UPLOAD FILES "),t.qZA(),t.TgZ(8,"input",44),t.NdJ("change",function(a){t.CHM(e);const c=t.oxw().$implicit,l=t.oxw(3);return t.KtG(l.handleMultiImageFileChange(a.target.files,c.field_name))}),t.qZA()(),t.TgZ(9,"div",39),t._uU(10),t.qZA()()()}if(2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.xp6(2),t.Q6J("ngForOf",i.getDisplayImagFileList(e.field_name)),t.xp6(6),t.s9C("formControlName",e.field_name),t.xp6(2),t.Oqu(i.getFileText(e.field_name))}}function V5(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",40),t._UZ(1,"img",41),t.TgZ(2,"div"),t._uU(3),t.qZA(),t.TgZ(4,"div"),t._uU(5),t.qZA(),t.TgZ(6,"img",42),t.NdJ("click",function(){const c=t.CHM(e).$implicit,l=t.oxw(2).$implicit,r=t.oxw(3);return t.KtG(r.onSelectedFileRemove(l.field_name,c))}),t.qZA()()}if(2&n){const e=o.$implicit,i=t.oxw(5);t.xp6(1),t.Q6J("src",i.videoThumbnail,t.LSH),t.xp6(2),t.Oqu(e.name),t.xp6(2),t.hij("(",i.getFileSize(e.size),")")}}function Y5(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div"),t.YNc(1,V5,7,3,"div",33),t.TgZ(2,"div",34)(3,"div",35),t._UZ(4,"img",36),t.TgZ(5,"div",37),t._uU(6," UPLOAD FILE "),t.qZA(),t.TgZ(7,"input",45),t.NdJ("change",function(a){t.CHM(e);const c=t.oxw().$implicit,l=t.oxw(3);return t.KtG(l.handleVideoFileChange(a.target.files,c.field_name))}),t.qZA()(),t.TgZ(8,"div",39),t._uU(9),t.qZA()()()}if(2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",i.getDisplayImagFileList(e.field_name)),t.xp6(6),t.s9C("formControlName",e.field_name),t.xp6(2),t.Oqu(i.getFileText(e.field_name))}}function q5(n,o){if(1&n&&(t.TgZ(0,"mat-option",49),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.Q6J("value",e.dropdown_option_title),t.xp6(1),t.hij(" ",e.dropdown_option_title," ")}}function F5(n,o){if(1&n&&(t.TgZ(0,"div")(1,"mat-form-field",46)(2,"mat-select",47),t.YNc(3,q5,2,2,"mat-option",48),t.qZA()()()),2&n){const e=t.oxw().$implicit;t.xp6(2),t.s9C("formControlName",e.field_name),t.Q6J("placeholder",e.placeholder),t.xp6(1),t.Q6J("ngForOf",e.dropdown_options)}}function U5(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"input",50),t.TgZ(2,"div",51),t._uU(3),t.ALo(4,"lowercase"),t.qZA()()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.s9C("placeholder",e.placeholder),t.s9C("formControlName",e.field_name),t.xp6(2),t.hij("Invalid ",t.lcZ(4,3,e.field_name),".")}}function $5(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"textarea",52),t.TgZ(2,"div",51),t._uU(3),t.ALo(4,"lowercase"),t.qZA()()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.s9C("placeholder",e.placeholder),t.s9C("formControlName",e.field_name),t.xp6(2),t.hij("Invalid ",t.lcZ(4,3,e.field_name),".")}}function E5(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"input",53),t.TgZ(2,"div",51),t._uU(3),t.ALo(4,"lowercase"),t.qZA()()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.s9C("placeholder",e.placeholder),t.s9C("formControlName",e.field_name),t.xp6(2),t.hij("Invalid ",t.lcZ(4,3,e.field_name),".")}}function j5(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"input",54),t.TgZ(2,"div",51),t._uU(3),t.ALo(4,"lowercase"),t.qZA()()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.s9C("placeholder",e.placeholder),t.s9C("formControlName",e.field_name),t.xp6(2),t.hij("Invalid ",t.lcZ(4,3,e.field_name),".")}}function R5(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"input",50),t.TgZ(2,"div",51),t._uU(3),t.ALo(4,"lowercase"),t.qZA()()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.s9C("placeholder",e.placeholder),t.s9C("formControlName",e.field_name),t.xp6(2),t.hij("Invalid ",t.lcZ(4,3,e.field_name),".")}}function G5(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"input",50),t.TgZ(2,"div",51),t._uU(3),t.ALo(4,"lowercase"),t.qZA()()),2&n){const e=t.oxw().$implicit;t.xp6(1),t.s9C("placeholder",e.placeholder),t.s9C("formControlName",e.field_name),t.xp6(2),t.hij("Invalid ",t.lcZ(4,3,e.field_name),".")}}const K5=function(n,o){return{"col-md-12":n,"col-md-6":o}};function W5(n,o){if(1&n&&(t.TgZ(0,"div",31)(1,"div",32),t._uU(2),t.qZA(),t.YNc(3,A5,10,3,"div",12),t.YNc(4,D5,11,3,"div",12),t.YNc(5,Y5,10,3,"div",12),t.YNc(6,F5,4,3,"div",12),t.YNc(7,U5,5,5,"div",12),t.YNc(8,$5,5,5,"div",12),t.YNc(9,E5,5,5,"div",12),t.YNc(10,j5,5,5,"div",12),t.YNc(11,R5,5,5,"div",12),t.YNc(12,G5,5,5,"div",12),t.qZA()),2&n){const e=o.$implicit;t.Q6J("ngClass",t.WLB(12,K5,"Long_Text"===e.input_type,"Long_Text"!==e.input_type)),t.xp6(2),t.Oqu(e.field_name),t.xp6(1),t.Q6J("ngIf","Image"===e.input_type),t.xp6(1),t.Q6J("ngIf","Multi_Images"===e.input_type),t.xp6(1),t.Q6J("ngIf","Video"===e.input_type),t.xp6(1),t.Q6J("ngIf","Dropdown_list"===e.input_type&&e.dropdown_options),t.xp6(1),t.Q6J("ngIf","Text"===e.input_type),t.xp6(1),t.Q6J("ngIf","Long_Text"===e.input_type),t.xp6(1),t.Q6J("ngIf","Date"===e.input_type),t.xp6(1),t.Q6J("ngIf","Number"===e.input_type),t.xp6(1),t.Q6J("ngIf","Email"===e.input_type),t.xp6(1),t.Q6J("ngIf","Phone_Number"===e.input_type)}}function X5(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,J5,2,3,"div",28),t.TgZ(2,"div",29),t.YNc(3,W5,13,15,"div",30),t.qZA()()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf",e.section_divider_title),t.xp6(2),t.Q6J("ngForOf",e.form_groups)}}function t6(n,o){if(1&n&&(t.TgZ(0,"div",55),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.hij(" ",e.data.tnc," ")}}function e6(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",22)(1,"div",23),t.YNc(2,X5,4,2,"div",4),t.qZA(),t.YNc(3,t6,2,1,"div",24),t.TgZ(4,"button",25),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.onSubmit())}),t._UZ(5,"img",26),t.TgZ(6,"div",27),t._uU(7,"Submit"),t.qZA()()()}if(2&n){const e=t.oxw();
1t.xp6(1),t.ekj("form-error",e.isFormError),t.Q6J("formGroup",e.editForm),t.xp6(1),t.Q6J("ngForOf",e.data.block21_form.form_input_fields),t.xp6(1),t.Q6J("ngIf",e.data.tnc)}}let K1=(()=>{class n{constructor(e,i,a,c){this.formBuild=e,this.apiService=i,this.popupService=a,this.fileService=c,this.settings={},this.singleImageModel=[],this.multiImageModel=[],this.videoModel=[],this.attachmentList=[],this.isFormError=!1,this.videoThumbnail="",this.settings={lazyLoading:!0,text:"Select Customer",selectAllText:"Select All",unSelectAllText:"Unselect All",searchPlaceholderText:"Search customer",primaryKey:"memberId",labelKey:"fullName",enableCheckAll:!0,badgeShowLimit:3,searchBy:["memberId","fullName"],enableSearchFilter:!0}}ngOnInit(){this.setupEditForm()}formatFileLink(e){const i=[];for(let a=0;a<e.length;a++)i.push(this.fileService.getFileLink(e[a].name));return i}setupEditForm(){let e={};this.data.block21_form.form_input_fields.forEach(i=>{i.form_groups.forEach(a=>{let c=[];a.is_mandatory&&(c=[...c,d.kI.required]),"Email"===a.input_type&&(c=[...c,d.kI.email]),"Phone_Number"===a.input_type&&(c=[...c,d.kI.pattern("^(?:\\+?6?01)[0-46-9]-*[0-9]{7,8}$")]),e=Object.assign(Object.assign({},e),{[a.field_name]:["",c]})})}),this.editForm=this.formBuild.group(e)}onSubmit(){if(this.editForm.invalid)return void(this.isFormError=!0);this.isFormError=!1;const e=Object.assign(Object.assign({},this.editForm.value),{formName:this.data.form_name});this.attachmentList&&this.attachmentList.forEach(a=>{e[a.inputFieldName]=this.formatFileLink(a.fileList)}),e.formId=this.data.id;const i=this.popupService.openLoading();this.apiService.submitForm(e,this.attachmentList).subscribe({next:a=>{a&&this.popupService.openAlert({error:{name:this.data.success_popup_title,message:this.data.success_popup_description}}).afterClosed()&&this.onCloseClicked()},error:a=>{a&&this.popupService.openAlert(a)}}).add(()=>{i.close()})}onCloseClicked(){this.setupEditForm(),this.attachmentList=[]}handleVideoFileChange(e,i){return(0,F1.mG)(this,void 0,void 0,function*(){let a=[];for(let r=0;r<e.length;r++){const p=e[r];if(p.size/1e6>5)return void this.popupService.openAlert({error:{name:"Error",message:"File size should not exceed 5MB"}});a.push(p)}this.videoThumbnail=yield this.fileService.generateVideoThumbnail(e[0]);const c={inputFieldName:i,fileList:a},l=this.attachmentList.findIndex(r=>
1r.inputFieldName===i);-1===l?this.attachmentList.push(c):this.attachmentList=[...this.attachmentList.slice(0,l),c,...this.attachmentList.slice(l+1)]})}handleSingleImageFileChange(e,i){let a=[];for(let r=0;r<e.length;r++){const p=e[r];if(p.size/1e6>1)return void this.popupService.openAlert({error:{name:"Error",message:"File size cannot be more than 1MB"}});a.push(p)}const c={inputFieldName:i,fileList:a},l=this.attachmentList.findIndex(r=>r.inputFieldName===i);-1===l?this.attachmentList.push(c):this.attachmentList=[...this.attachmentList.slice(0,l),c,...this.attachmentList.slice(l+1)]}handleMultiImageFileChange(e,i){if(e.length>5)return void this.popupService.openAlert({error:{name:"Error",message:"Maximum 5 images"}});if(this.attachmentList){const r=this.attachmentList.find(p=>p.inputFieldName===i);if(r&&r.fileList.length+e.length>5)return void this.popupService.openAlert({error:{name:"Error",message:"Maximum 5 images"}})}let a=[];for(let r=0;r<e.length;r++){const p=e[r];if(p.size/1e6>1)return void this.popupService.openAlert({error:{name:"Error",message:"File size cannot be more than 1MB"}});a.push(p)}const c={inputFieldName:i,fileList:a},l=this.attachmentList.findIndex(r=>
1r.inputFieldName===i);if(-1===l)this.attachmentList.push(c);else{const r=this.attachmentList[l];this.attachmentList=[...this.attachmentList.slice(0,l),{inputFieldName:i,fileList:[...r.fileList,...c.fileList]},...this.attachmentList.slice(l+1)]}}displayImagePreview(e){return e?URL.createObjectURL(e):""}getDisplayImagFileList(e){return this.attachmentList.length&&this.attachmentList.find(i=>i.inputFieldName===e)?this.attachmentList.find(i=>i.inputFieldName===e).fileList:[]}onSelectedFileRemove(e,i){const a=this.attachmentList.findIndex(c=>c.inputFieldName===e);if(-1!==a){const c=this.attachmentList[a],r=c.fileList.findIndex(p=>p==i);c.fileList.splice(r,1),this.attachmentList=[...this.attachmentList.slice(0,a),{inputFieldName:e,fileList:c.fileList},...this.attachmentList.slice(a+1)]}}getFileText(e){if(this.attachmentList){const i=this.attachmentList.find(a=>a.inputFieldName===e);if(i&&i.fileList&&i.fileList.length>0)return`${i.fileList.length} file(s) uploaded`}return"No file(s) selected"}getFileSize(e){return this.fileService.formatFileSize(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(d.qu),t.Y36($),t.Y36(N.W),t.Y36(U1.I))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-twenty-one"]],inputs:{data:"data"},decls:9,vars:6,consts:[[1,"block-twenty-one-container"],[1,"left-container"],["class","title",4,"ngIf"],["class","description",3,"innerHTML",4,"ngIf"],[4,"ngFor","ngForOf"],["class","reward-container",4,"ngIf"],["class","merchant-container",4,"ngIf"],[1,"right-container"],["class","form-container",4,"ngIf"],[1,"title"],[1,"description",3,"innerHTML"],[1,"bullet-container"],[4,"ngIf"],["class","bullet-title",4,"ngIf"],["loading","lazy",1,"bullet-icon",3,"src","alt"],[1,"bullet-title"],[1,"reward-container"],["loading","lazy","class","reward-icon",3,"src","alt",4,"ngIf"],["loading","lazy",1,"reward-icon",3,"src","alt"],[1,"merchant-container"],["loading","lazy","class","merchant-icon",3,"src","alt",4,"ngIf"],["loading","lazy",1,"merchant-icon",3,"src","alt"],[1,"form-container"],[1,"form-content-container",3,"formGroup"],["class","declaration-text",4,"ngIf"],[1,"btn","but-primary-red","button",3,"click"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/form_submit_icon.png","alt","button Icon",1,"icon"],[1,"btn-title"],["class","title",3,"margin-top",4,"ngIf"],[1,"row"],["class","col-sm-12",3,"ngClass",4,"ngFor","ngForOf"],[1,"col-sm-12",3,"ngClass"],[1,"form-label"],["class","upload-image-container",4,"ngFor","ngForOf"],[1,"upload-file-container"],[1,"upload-holder"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/icon_upload.png"],[1,"upload-button-text"],["type","file","accept","image/png, image/jpeg",3,"formControlName","change"],[1,"selected-file-text"],[1,"upload-image-container"],["loading","lazy","alt","",3,"src"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/remove-img-grey.png",1,"icon","remove-img-grey","positioning",3,"click"],[1,"multi-image-container","mt-2"],["type","file","accept","image/png, image/jpeg","multiple","",3,"formControlName","change"],["type","file","accept","video/mp4,video/x-m4v,video/*",3,"formControlName","change"],["appearance","outline",1,"form-control-material","w-100"],[3,"formControlName","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"form-control",3,"placeholder","formControlName"],[1,"error-message"],["cols","5","rows","3","maxlength","255",1,"form-control","text-area-container",3,"placeholder","formControlName"],["type","date",1,"form-control",3,"placeholder","formControlName"],["type","number",1,"form-control",3,"placeholder","formControlName"],[1,"declaration-text"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,w5,2,1,"div",2),t.YNc(3,y5,1,1,"div",3),t.YNc(4,Z5,4,2,"div",4),t.YNc(5,L5,2,1,"div",5),t.YNc(6,H5,2,1,"div",6),t.qZA(),t.TgZ(7,"div",7),t.YNc(8,e6,8,5,"div",8),t.qZA()()),2&e&&(t.xp6(2),t.Q6J("ngIf",i.data.block21_title),t.xp6(1),t.Q6J("ngIf",i.data.block21_description),t.xp6(1),t.Q6J("ngForOf",i.data.block21_bullet_points),t.xp6(1),t.Q6J("ngIf",i.data.block21_reward_icons),t.xp6(1),t.Q6J("ngIf",i.data.block21_merchant_icons),t.xp6(2),t.Q6J("ngIf",i.data))},dependencies:[s.mk,s.sg,s.O5,d.Fj,d.wV,d.JJ,d.JL,d.nD,G.KE,K.gD,W.ey,d.sg,d.u,s.i8],styles:[".block-twenty-one-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:3rem}.left-container[_ngcontent-%COMP%]{flex:1;background:#f9ffec;padding:50px 0 50px 30px}.left-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700;font-size:34px}.left-container[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:24px;font-weight:700;margin-top:10px;margin-bottom:20px}.left-container[_ngcontent-%COMP%] .bullet-container[_ngcontent-%COMP%]{flex-direction:row;display:flex;align-items:center;margin-bottom:20px}.left-container[_ngcontent-%COMP%] .bullet-icon[_ngcontent-%COMP%]{height:24px!important}.left-container[_ngcontent-%COMP%] .bullet-title[_ngcontent-%COMP%]{margin-left:10px}.left-container[_ngcontent-%COMP%] .reward-container[_ngcontent-%COMP%]{flex-direction:row;display:flex;margin-top:20px;flex-wrap:wrap}.left-container[_ngcontent-%COMP%] .reward-container[_ngcontent-%COMP%] .reward-icon[_ngcontent-%COMP%]{height:100px!important;margin-right:20px;margin-top:20px}.left-container[_ngcontent-%COMP%] .merchant-container[_ngcontent-%COMP%]{flex-direction:row;display:flex;margin-top:20px;flex-wrap:wrap}.left-container[_ngcontent-%COMP%] .merchant-container[_ngcontent-%COMP%] .merchant-icon[_ngcontent-%COMP%]{height:100px!important;margin-right:20px;margin-top:20px}.right-container[_ngcontent-%COMP%]{flex:1;justify-content:center;align-items:center;display:flex;background:#ecf6ff}.form-container[_ngcontent-%COMP%]{padding:20px;width:90%;background:white;box-shadow:0 5px 15px 5px #bdbdbd66;font-family:var(--font-regular);min-height:80%;display:flex;flex-direction:column}.form-container[_ngcontent-%COMP%] .form-content-container[_ngcontent-%COMP%]{flex:1}.form-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#2e2e2e;font-size:18px;font-weight:700;margin-top:48px}.form-container[_ngcontent-%COMP%] .form-label[_ngcontent-%COMP%]{color:#1d1d1d;font-size:16px;font-weight:400;padding-top:24px}.form-container[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{margin-top:4px;width:100%;height:44px;font-size:16px;font-weight:400;color:#4e4e4e;padding:20px 14px;border:1px solid #9e9e9e;border-radius:4px}.form-container[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]::placeholder{color:#999}.form-container[_ngcontent-%COMP%] .error-message[_ngcontent-%COMP%]{font-size:16px}.form-container[_ngcontent-%COMP%] .text-area-container[_ngcontent-%COMP%]{height:120px}.form-container[_ngcontent-%COMP%] .declaration-text[_ngcontent-%COMP%]{margin-top:28px;font-weight:400;font-size:16px;color:#000;line-height:20px;margin-bottom:64px}.button[_ngcontent-%COMP%]{margin-top:1rem;margin-left:auto;margin-right:auto;display:flex;flex-direction:row;justify-content:center;align-items:center;border-radius:8px;border-width:2px;
1min-width:200px;padding:0 40px;height:48px;transition:transform .3s,box-shadow .3s}.button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:20px;height:20px;flex-shrink:0;margin-right:14px}.button[_ngcontent-%COMP%] .btn-title[_ngcontent-%COMP%]{font-size:16px;font-weight:500;font-family:var(--font-regular)}.button[_ngcontent-%COMP%]:hover{transform:translateY(-3px);box-shadow:0 12px 16px #2c256124}.upload-image-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;width:100%;padding:10px;margin-bottom:8px;background-color:#fff;border:1px solid #9e9e9e;border-radius:4px}.upload-image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:nth-of-type(1){margin-top:auto;margin-bottom:auto;height:32px;width:48px;object-fit:contain;border:1px solid #dcdcdc}.upload-image-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-of-type(1){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#1d1d1d;margin-left:8px}.upload-image-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-of-type(2){white-space:nowrap;color:#a0a0a0;margin-left:8px;margin-right:8px}.upload-image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:nth-of-type(2){margin-left:auto;height:26px;width:26px}.upload-image-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:nth-of-type(3){margin-left:8px;height:26px;width:26px}.thumbnail-image[_ngcontent-%COMP%]{max-width:100%;max-height:100%;width:auto;height:auto;margin:auto;object-fit:contain}.remove-img-grey[_ngcontent-%COMP%]{height:2rem;z-index:99}.multi-image-container[_ngcontent-%COMP%]{width:100%;display:flex;flex:1;flex-direction:row;flex-wrap:wrap;overflow-x:auto}.multi-image-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{display:flex;width:15rem;height:10rem;background-color:#00000080;border-radius:.357rem;margin-top:12px;margin-right:12px}.multi-image-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%] .remove-img-icon-wrapper[_ngcontent-%COMP%]{margin:4px;position:absolute}.multi-image-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{cursor:pointer}.multi-image-container[_ngcontent-%COMP%] .icon.delete-red[_ngcontent-%COMP%]{opacity:1;pointer-events:all}input[type=file][_ngcontent-%COMP%]{width:100%;height:100%;opacity:0;position:absolute;top:0;left:0}.upload-file-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;text-align:center;margin-top:auto;margin-bottom:auto}.selected-file-text[_ngcontent-%COMP%]{color:#4e4e4e;margin-left:.5rem;margin-top:auto;margin-bottom:auto;width:50%;text-align:start!important}.upload-button-text[_ngcontent-%COMP%]{color:#fff;font-family:var(--font-regular);font-size:14px;margin-left:12px}.upload-holder[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;width:50%;height:44px;border:1px solid #9e9e9e;border-radius:8px;cursor:pointer;position:relative;background-color:#a0a0a0}.upload-holder[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:22px;width:22px} .mat-select-container{margin-top:2rem} .mat-mdc-text-field-wrapper{height:44px!important;background-color:#fff} .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:10px;padding-bottom:10px} .mat-mdc-select-arrow svg{display:none} .mat-mdc-select-arrow-wrapper{background-image:url(https://assets.pos.com.my/pos-corporate/images/arrow-down-dark.png);height:16px!important;width:16px!important;background-size:cover;background-position:center;background-repeat:no-repeat} .mat-mdc-select-placeholder{color:#949494;font-family:var(--font-regular)} .mat-mdc-form-field-subscript-wrapper{display:none} .mat-mdc-select-value{font-size:16px} .mat-mdc-form-field-infix{height:48px} .mdc-text-field{border-radius:0}@media only screen and (max-width: 767px){.block-twenty-one-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:4rem}.block-twenty-one-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{flex:1;justify-content:center;align-items:center;display:flex;background:#ecf6ff;padding-top:50px;padding-bottom:50px}.container[_ngcontent-%COMP%]{padding:1rem 1rem 2rem}.button[_ngcontent-%COMP%]{margin-top:.5rem;height:44px;width:100%;padding:0 28px}.button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:14px;
1height:14px;margin-right:10px}.button[_ngcontent-%COMP%] .btn-title[_ngcontent-%COMP%]{font-size:14px;font-weight:400}.image-container[_ngcontent-%COMP%]{width:100%;margin-bottom:1.5rem}.multi-image-container[_ngcontent-%COMP%] .image-container[_ngcontent-%COMP%]{width:100%}.delete-container[_ngcontent-%COMP%]{flex-direction:column}}"]}),n})();const n6=function(n){return{height:n}};let W1=(()=>{class n{constructor(){this.isMobileView=!1}ngOnInit(){this.height=this.data.height}onResize(e){this.checkScreenSize()}checkScreenSize(){this.isMobileView=window.innerWidth<w.mD}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-block-space"]],hostBindings:function(e,i){1&e&&t.NdJ("resize",function(c){return i.onResize(c)},!1,t.Jf7)},inputs:{data:"data",path:"path"},decls:1,vars:3,consts:[[3,"ngStyle"]],template:function(e,i){1&e&&t._UZ(0,"div",0),2&e&&t.Q6J("ngStyle",t.VKq(1,n6,i.isMobileView?i.height/2:i.height+"px"))},dependencies:[s.PC]}),n})();var a2={prefix:"fab",iconName:"linkedin-in",icon:[448,512,[],"f0e1","M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"]},k2={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},z2={prefix:"fab",iconName:"facebook",icon:[512,512,[62e3],"f09a","M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"]},w2={prefix:"fab",iconName:"whatsapp",icon:[448,512,[],"f232","M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"]},N2={prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"]},J2=_(2216);function J9(n,o){if(1&n&&t._UZ(0,"div",11),2&n){const e=t.oxw();t.Q6J("innerHTML",e.getSanitizeHtml(e.data.title),t.oJD)}}function Q9(n,o){if(1&n&&(t.TgZ(0,"div",12),t._uU(1),t.ALo(2,"amDateFormat"),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.hij("",t.xi3(2,1,e.data.published_date,"DD MMM YYYY")," ")}}function A9(n,o){if(1&n&&(t.TgZ(0,"div",13),t._uU(1),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.hij("",e.data.min_read," min read")}}function B9(n,o){if(1&n&&t._UZ(0,"img",14),2&n){const e=t.oxw();t.Q6J("alt",(null==e.data||null==e.data.banner||null==e.data.banner.data||null==e.data.banner.data.attributes?null:e.data.banner.data.attributes.alternativeText)||"Pos Banner Image")("src",null==e.data.banner||null==e.data.banner.data||null==e.data.banner.data.attributes?null:e.data.banner.data.attributes.url,t.LSH)}}const E=function(n){return[n]},Q2=function(){return["fab","facebook"]},A2=function(){return["fab","twitter"]},B2=function(){return["fab","whatsapp"]},D2=function(){return["fab","linkedin"]};function D9(n,o){if(1&n&&(t.TgZ(0,"div",15)(1,"div",16)(2,"a",17),t._UZ(3,"fa-icon",18),t.qZA(),t.TgZ(4,"a",19),t._UZ(5,"fa-icon",18),t.qZA(),t.TgZ(6,"a",20),t._UZ(7,"fa-icon",18),t.qZA(),t.TgZ(8,"a",21),t._UZ(9,"fa-icon",18),t.qZA()()()),2&n){const e=t.oxw();
1t.xp6(2),t.Q6J("href",t.VKq(8,E,"https://www.facebook.com/sharer/sharer.php?u="+e.sharedLink),t.LSH),t.xp6(1),t.Q6J("icon",t.DdM(10,Q2)),t.xp6(1),t.Q6J("href",t.VKq(11,E,"https://twitter.com/share?url="+e.sharedLink),t.LSH),t.xp6(1),t.Q6J("icon",t.DdM(13,A2)),t.xp6(1),t.Q6J("href","https://wa.me/?text="+e.sharedLink,t.LSH),t.xp6(1),t.Q6J("icon",t.DdM(14,B2)),t.xp6(1),t.Q6J("href",t.VKq(15,E,"http://www.linkedin.com/shareArticle?url="+e.sharedLink),t.LSH),t.xp6(1),t.Q6J("icon",t.DdM(17,D2))}}function V9(n,o){if(1&n&&t._UZ(0,"div",22),2&n){const e=t.oxw();t.Q6J("innerHTML",e.getSanitizeHtml(e.data.body_content),t.oJD)}}function Y9(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",23)(1,"a",17),t._UZ(2,"fa-icon",18),t.qZA(),t.TgZ(3,"a",19),t._UZ(4,"fa-icon",18),t.qZA(),t.TgZ(5,"a",24),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.shareToWhatsapp())}),t._UZ(6,"fa-icon",18),t.qZA(),t.TgZ(7,"a",21),t._UZ(8,"fa-icon",18),t.qZA()()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("href",t.VKq(7,E,"https://www.facebook.com/sharer/sharer.php?u="+e.sharedLink),t.LSH),t.xp6(1),t.Q6J("icon",t.DdM(9,Q2)),t.xp6(1),t.Q6J("href",t.VKq(10,E,"https://twitter.com/share?url="+e.sharedLink+"&text="+e.title),t.LSH),t.xp6(1),t.Q6J("icon",t.DdM(12,A2)),t.xp6(2),t.Q6J("icon",t.DdM(13,B2)),t.xp6(1),t.Q6J("href",t.VKq(14,E,"http://www.linkedin.com/shareArticle?url="+e.sharedLink+"&title="+e.title),t.LSH),t.xp6(1),t.Q6J("icon",t.DdM(16,D2))}}let V2=(()=>{class n{constructor(e,i,a){this.router=e,this.library=i,this.sanitizer=a,this.sharedLink="",this.title="",this.isMobileView=!1,i.addIcons(N2,z2,k2,w2,a2)}ngOnInit(){this.title=this.data.title,this.sharedLink=`${H.N.webDomain}${this.router.url.slice(1)}`,this.checkScreenSize()}ngAfterViewInit(){this.setShareButtonsPosition()}getSanitizeHtml(e){return this.sanitizer.bypassSecurityTrustHtml(e)}setShareButtonsPosition(){const e=document.getElementById("knowledge-hub"),i=e.offsetHeight,c=e.getBoundingClientRect().left,l=document.getElementById("share-btn-container");l.style.left=c-32+"px",l.style.height=i+800+"px"}onResize(e){this.setShareButtonsPosition(),this.checkScreenSize()}checkScreenSize(){this.isMobileView=window.innerWidth<w.mD}shareToWhatsapp(){this.isMobileAgent?window.open(`whatsapp://send?text=${this.title}:${this.sharedLink}\u200b`,"_blank"):window.open(`https://web.whatsapp.com/send?text=${this.title}:${this.sharedLink}`,"_blank")}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(g.F0),t.Y36(J2.by),t.Y36(P.H7))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-knowledge-hub"]],hostBindings:function(e,i){1&e&&t.NdJ("resize",function(c){return i.onResize(c)},!1,t.Jf7)},inputs:{data:"data"},decls:11,vars:7,consts:[["id","knowledge-hub",1,"knowledge-hub-container"],["class","knowledge-hub-title",3,"innerHTML",4,"ngIf"],[1,"knowledge-hub-date-read-container"],["class","knowledge-hub-date",4,"ngIf"],[1,"knowledge-hub-min-read-container"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/icon_book.png"],["class","knowledge-hub-min-read",4,"ngIf"],["loading","lazy","class","knowledge-hub-banner",3,"alt","src",4,"ngIf"],["id","share-btn-container","class","blg-sticky-wrapper",4,"ngIf"],[3,"innerHTML",4,"ngIf"],["class","share-btn-container",4,"ngIf"],[1,"knowledge-hub-title",3,"innerHTML"],[1,"knowledge-hub-date"],[1,"knowledge-hub-min-read"],["loading","lazy",1,"knowledge-hub-banner",3,"alt","src"],["id","share-btn-container",1,"blg-sticky-wrapper"],[1,"blog-socialmedia"],["target","_blank","title","",1,"share-btn","facebook",3,"href"],[3,"icon"],["target","_blank","title","",1,"share-btn","twitter",3,"href"],["title","","target","_blank",1,"share-btn","whatsapp","button-share-whatsapp",3,"href"],["target","_blank","title","",1,"share-btn","linkedin",3,"href"],[3,"innerHTML"],[1,"share-btn-container"],["title","",1,"share-btn","whatsapp","button-share-whatsapp",3,"click"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,J9,1,1,"div",1),t.TgZ(2,"div",2),t.YNc(3,Q9,3,4,"div",3),t.TgZ(4,"div",4),t._UZ(5,"img",5),t.YNc(6,A9,2,1,"div",6),t.qZA()(),t.YNc(7,B9,1,2,"img",7),t.YNc(8,D9,10,18,"div",8),t.YNc(9,V9,1,1,"div",9),t.YNc(10,Y9,9,17,"div",10),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",i.data.title),t.xp6(2),t.Q6J("ngIf",i.data.published_date),t.xp6(3),t.Q6J("ngIf",i.data.min_read),t.xp6(1),t.Q6J("ngIf",null==i.data.banner||null==i.data.banner.data||null==i.data.banner.data.attributes?null:i.data.banner.data.attributes.url),t.xp6(1),t.Q6J("ngIf",!i.isMobileView),t.xp6(1),t.Q6J("ngIf",i.data.body_content),t.xp6(1),t.Q6J("ngIf",i.isMobileView))},dependencies:[s.O5,J2.BN,T.Ek],styles:[".blg-sticky-wrapper[_ngcontent-%COMP%]{height:100%;position:absolute;top:0%}.blg-sticky-wrapper[_ngcontent-%COMP%] .blog-socialmedia[_ngcontent-%COMP%]{flex-direction:column;justify-content:space-around;align-items:center;margin-top:120px;margin-bottom:50px;padding-top:0;padding-bottom:0;display:flex;position:sticky;inset:100px auto auto 0}.share-btn-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center}
1.share-btn[_ngcontent-%COMP%]{color:var(--mid-grey);font-size:1.3rem;width:40px;margin:.8rem 0}.knowledge-hub-container[_ngcontent-%COMP%]{font-family:var(--font-regular);margin:0 32px}.knowledge-hub-container[_ngcontent-%COMP%] .knowledge-hub-title[_ngcontent-%COMP%]{text-align:center!important;font-weight:700!important;font-size:40px!important}.knowledge-hub-container[_ngcontent-%COMP%] .knowledge-hub-date-read-container[_ngcontent-%COMP%]{display:flex;justify-content:center}.knowledge-hub-container[_ngcontent-%COMP%] .knowledge-hub-date[_ngcontent-%COMP%]{text-align:center;font-size:18px;margin:0 1rem}.knowledge-hub-container[_ngcontent-%COMP%] .knowledge-hub-min-read-container[_ngcontent-%COMP%]{display:flex;margin:0 1rem}.knowledge-hub-container[_ngcontent-%COMP%] .knowledge-hub-min-read-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-top:-2px;height:32px;width:32px}.knowledge-hub-container[_ngcontent-%COMP%] .knowledge-hub-min-read-container[_ngcontent-%COMP%] .knowledge-hub-min-read[_ngcontent-%COMP%]{text-align:center;font-size:18px;margin-left:8px}.knowledge-hub-container[_ngcontent-%COMP%] .knowledge-hub-banner[_ngcontent-%COMP%]{width:100%;height:auto;margin-top:20px;margin-bottom:32px}@media only screen and (max-width: 767px){.knowledge-hub-container[_ngcontent-%COMP%]{margin:0}.knowledge-hub-container[_ngcontent-%COMP%] .knowledge-hub-title[_ngcontent-%COMP%]{font-size:32px}.knowledge-hub-container[_ngcontent-%COMP%] .knowledge-hub-date[_ngcontent-%COMP%]{font-size:16px}.share-btn[_ngcontent-%COMP%]{margin:.8rem}}"]}),n})();const q9=["videoFrame"];function F9(n,o){if(1&n&&t._UZ(0,"div",11),2&n){const e=t.oxw(2).$implicit,i=t.oxw(2);t.Q6J("innerHTML",i.getSanitizeHtml(e.title),t.oJD)}}function U9(n,o){if(1&n&&t._UZ(0,"div",12),2&n){const e=t.oxw(2).$implicit,i=t.oxw(2);t.Q6J("innerHTML",i.getSanitizeHtml(e.description),t.oJD)}}function $9(n,o){if(1&n&&(t._UZ(0,"iframe",8),t.YNc(1,F9,1,1,"div",9),t.YNc(2,U9,1,1,"div",10)),2&n){const e=t.oxw().$implicit,i=t.oxw(2);t.Q6J("src",i.getSanitizRecordUrl(e.video_link),t.uOi),t.xp6(1),t.Q6J("ngIf",e.title),t.xp6(1),t.Q6J("ngIf",e.de
1scription)}}function E9(n,o){if(1&n&&(t.ynx(0),t.YNc(1,$9,3,3,"ng-template",7),t.BQk()),2&n){const e=o.$implicit,i=o.index;let a;t.xp6(1),t.Q6J("id",null!==(a=e.title)&&void 0!==a?a:"Video"+i.toString())}}function j9(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",1)(1,"img",2),t.NdJ("click",function(){t.CHM(e);const a=t.MAs(3),c=t.oxw();return t.KtG(c.onPrevClicked(a))}),t.qZA(),t.TgZ(2,"owl-carousel-o",3,4),t.NdJ("changed",function(a){t.CHM(e);const c=t.oxw();return t.KtG(c.onSlideChange(a))}),t.YNc(4,E9,2,1,"ng-container",5),t.qZA(),t.TgZ(5,"img",6),t.NdJ("click",function(){t.CHM(e);const a=t.MAs(3),c=t.oxw();return t.KtG(c.onNextClicked(a))}),t.qZA()()}if(2&n){const e=t.oxw();t.xp6(1),t.Udp("opacity",0===e.currentSlideIndex?.3:1),t.xp6(1),t.Q6J("options",e.customOptions),t.xp6(2),t.Q6J("ngForOf",e.videoList),t.xp6(1),t.Udp("opacity",e.currentSlideIndex===e.videoList.length-1?.3:1)}}function R9(n,o){if(1&n&&t._UZ(0,"div",11),2&n){const e=t.oxw(2).$implicit,i=t.oxw(2);t.Q6J("innerHTML",i.getSanitizeHtml(e.title),t.oJD)}}function G9(n,o){if(1&n&&t._UZ(0,"div",12),2&n){const e=t.oxw(2).$implicit,i=t.oxw(2);t.Q6J("innerHTML",i.getSanitizeHtml(e.description),t.oJD)}}function K9(n,o){if(1&n&&(t.TgZ(0,"div",13),t._UZ(1,"iframe",14),t.qZA(),t.YNc(2,R9,1,1,"div",9),t.YNc(3,G9,1,1,"div",10)),2&n){const e=t.oxw().$implicit,i=t.oxw(2);t.xp6(1),t.Q6J("src",i.getSanitizRecordUrl(e.video_link),t.uOi),t.xp6(1),t.Q6J("ngIf",e.title),t.xp6(1),t.Q6J("ngIf",e.de
1scription)}}function W9(n,o){if(1&n&&(t.ynx(0),t.YNc(1,K9,4,3,"ng-template",7),t.BQk()),2&n){const e=o.$implicit,i=o.index;let a;t.xp6(1),t.Q6J("id",null!==(a=e.title)&&void 0!==a?a:"Video"+i.toString())}}function X9(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",1)(1,"owl-carousel-o",3,4),t.NdJ("changed",function(a){t.CHM(e);const c=t.oxw();return t.KtG(c.onSlideChange(a))}),t.YNc(3,W9,2,1,"ng-container",5),t.qZA(),t.TgZ(4,"div")(5,"img",2),t.NdJ("click",function(){t.CHM(e);const a=t.MAs(2),c=t.oxw();return t.KtG(c.onPrevClicked(a))}),t.qZA(),t.TgZ(6,"img",6),t.NdJ("click",function(){t.CHM(e);const a=t.MAs(2),c=t.oxw();return t.KtG(c.onNextClicked(a))}),t.qZA()()()}if(2&n){const e=t.oxw();t.xp6(1),t.Q6J("options",e.customOptions),t.xp6(2),t.Q6J("ngForOf",e.videoList),t.xp6(2),t.Udp("opacity",0===e.currentSlideIndex?.3:1),t.xp6(1),t.Udp("opacity",e.currentSlideIndex===e.videoList.length-1?.3:1)}}let Y2=(()=>{class n{constructor(e){this.sanitizer=e,this.showShimmer=!1,this.videoList=[],this.customOptions={loop:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!1,autoplay:!1,dots:!1,navSpeed:700,navText:["",""],autoHeight:!0,responsive:{0:{items:1},400:{items:1},740:{items:1},940:{items:1}}},this.isMobileView=!1,this.currentSlideIndex=0}getSanitizeHtml(e){return this.sanitizer.bypassSecurityTrustHtml(e)}getSanitizRecordUrl(e){return this.sanitizer.bypassSecurityTrustResourceUrl(e)}ngOnInit(){var e;this.videoList=null!==(e=this.data.knowledge_hub_video_list)&&void 0!==e?e:[],this.videoPercentage=100/this.videoList.length,this.videoValue=this.videoPercentage,this.checkScreenSize(),this.adjustIframeSize()}onResize(e){this.checkScreenSize(),this.adjustIframeSize()}checkScreenSize(){this.isMobileView=window.innerWidth<w.mD}adjustIframeSize(){const e=this.videoFrame.nativeElement;e.onload=()=>{e.style.width=e.contentWindow.document.body.scrollHeight*(760/428)+"px"}}onSlideChange(e){this.currentSlideIndex=e.startPosition}onPrevClicked(e){this.videoValue-this.videoPercentage==0?this.videoValue=100:this.videoValue-=this.videoPercentage,e.prev()}onNextClicked(e){this.videoValue+this.videoPercentage>100?this.videoValue=this.videoPercentage:this.videoValue+=this.videoPercentage,e.next()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(P.H7))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-knowledge-hub-video"]],viewQuery:function(e,i){if(1&e&&t.Gf(q9,5),2&e){let a;t.iGM(a=t.CRH())&&(i.videoFrame=a.first)}},hostBindings:function(e,i){1&e&&t.NdJ("resize",function(c){return i.onResize(c)},!1,t.Jf7)},inputs:{data:"data"},decls:2,vars:2,consts:[["class","knowledge-hub-video-container",4,"ngIf"],[1,"knowledge-hub-video-container"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/arrow-left.png",3,"click"],[1,"knowledge-hub-body",3,"options","changed"],["owlVideo",""],[4,"ngFor","ngForOf"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/arrow-right.png",3,"click"],["carouselSlide","",3,"id"],["width","760","height","428","webkitallowfullscreen","","mozallowfullscreen","","allowfullscreen","",3,"src"],["class","knowledge-hub-title",3,"innerHTML",4,"ngIf"],["class","knowledge-hub-description",3,"innerHTML",4,"ngIf"],[1,"knowledge-hub-title",3,"innerHTML"],[1,"knowledge-hub-description",3,"innerHTML"],[1,"iframe-container"],["width","100%","height","100%","webkitallowfullscreen","","mozallowfullscreen","","allowfullscreen","",3,"src"]],template:function(e,i){1&e&&(t.YNc(0,j9,6,6,"div",0),t.YNc(1,X9,7,6,"div",0)),2&e&&(t.Q6J("ngIf",!i.isMobileView),t.xp6(1),t.Q6J("ngIf",i.isMobileView))},dependencies:[k.Fy,k.Mp,s.sg,s.O5],styles:[".knowledge-hub-video-container[_ngcontent-%COMP%]{font-family:var(--font-regular);display:flex;align-items:center;flex-direction:row}.knowledge-hub-video-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{background-color:#0003;border-radius:150px;padding:12px;width:64px;height:64px;margin:24px}.knowledge-hub-video-container[_ngcontent-%COMP%] .knowledge-hub-body[_ngcontent-%COMP%]{width:760px;margin-left:auto;margin-right:auto}.knowledge-hub-video-container[_ngcontent-%COMP%] .knowledge-hub-body[_ngcontent-%COMP%] .knowledge-hub-title[_ngcontent-%COMP%]{margin-top:12px;margin-left:12px;font-size:18px;font-weight:700}.knowledge-hub-video-container[_ngcontent-%COMP%] .knowledge-hub-body[_ngcontent-%COMP%] .knowledge-hub-description[_ngcontent-%COMP%]{font-size:18px;margin-left:12px}.knowledge-hub-video-container[_ngcontent-%COMP%] .knowledge-hub-video[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 767px){.knowledge-hub-video-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.knowledge-hub-video-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{background-color:#0003;border-radius:150px;padding:6px;width:32px;height:32px;margin:12px}.knowledge-hub-video-container[_ngcontent-%COMP%] .knowledge-hub-body[_ngcontent-%COMP%]{width:100%}.knowledge-hub-video-container[_ngcontent-%COMP%] .knowledge-hub-body[_ngcontent-%COMP%] .iframe-container[_ngcontent-%COMP%]{height:52vw;width:100%}.knowledge-hub-video-container[_ngcontent-%COMP%] .knowledge-hub-body[_ngcontent-%COMP%] .iframe-container[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{flex-grow:1;background-color:#000}.knowledge-hub-video-container[_ngcontent-%COMP%] .knowledge-hub-body[_ngcontent-%COMP%] .knowledge-hub-title[_ngcontent-%COMP%]{margin-top:12px;margin-left:12px;font-size:18px;font-weight:700}}"]}),n})();function tc(n,o){if(1&n&&(t.TgZ(0,"div",3),t._UZ(1,"app-breadcrumb",4),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("breadcrumbs",e.breadcrumbs)}}function ec(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"app-curved-image-banner",11),t.qZA()),2&n){const e=o.ngIf;t.xp6(1),t.Q6J("banner",e)}}function nc(n,o){if(1&n&&(t.TgZ(0,"div",12),t._UZ(1,"app-topbar",13),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("menus",e.menus)}}function ic(n,o){if(1&n&&(t.TgZ(0,"div",14),t._UZ(1,"app-sidebar-v2",13),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("menus",e.menus)}}function oc(n,o){if(1&n&&t._UZ(0,"app-inner-html",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ac(n,o){if(1&n&&t._UZ(0,"app-carousel",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function cc(n,o){if(1&n&&t._UZ(0,"app-report",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function lc(n,o){if(1&n&&t._UZ(0,"app-accordion",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function rc(n,o){if(1&n&&t._UZ(0,"app-list-item",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function sc(n,o){if(1&n&&t._UZ(0,"app-posts",25),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("sidemenu_name",i.sidemenu_name)("sidemenuPosition",i.sidemenuPosition)("data",e)("design",i.design)}}function pc(n,o){if(1&n&&t._UZ(0,"app-nav-tab",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function mc(n,o){if(1&n&&t._UZ(0,"app-video",26),2&n){const e=t.oxw().$implicit;t.Q6J("video",e)}}function _c(n,o){if(1&n&&t._UZ(0,"app-block-one",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function dc(n,o){if(1&n&&t._UZ(0,"app-block-one",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function fc(n,o){if(1&n&&t._UZ(0,"app-block-three",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function gc(n,o){if(1&n&&t._UZ(0,"app-block-one",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function uc(n,o){if(1&n&&t._UZ(0,"app-block-one",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function vc(n,o){if(1&n&&t._UZ(0,"app-block-six",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function hc(n,o){if(1&n&&t._UZ(0,"app-block-nine",27),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function xc(n,o){if(1&n&&t._UZ(0,"app-block-ten",28),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("blockTenData",e)("path",i.path)}}function bc(n,o){if(1&n&&t._UZ(0,"app-block-eleven",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Cc(n,o){if(1&n&&t._UZ(0,"app-block-eleven",29),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)("iconWithContainer",!1)}}function kc(n,o){if(1&n&&t._UZ(0,"app-block-thirteen",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Mc(n,o){if(1&n&&t._UZ(0,"app-block-fourteen",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function zc(n,o){if(1&n&&t._UZ(0,"app-block-eighteen-a",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function wc(n,o){if(1&n&&t._UZ(0,"app-block-eighteen-b",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function yc(n,o){if(1&n&&t._UZ(0,"app-block-seven",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Tc(n,o){if(1&n&&t._UZ(0,"app-block-eight",27),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function Pc(n,o){if(1&n&&t._UZ(0,"app-block-fifteen",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Zc(n,o){if(1&n&&t._UZ(0,"app-block-sixteen",30),2&n){const e=t.oxw().$implicit;t.Q6J("contentDetails",e)}}function Sc(n,o){if(1&n&&t._UZ(0,"app-block-nineteen",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Nc(n,o){if(1&n&&t._UZ(0,"app-block-seventeen",27),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function Lc(n,o){if(1&n&&t._UZ(0,"app-block-twenty",27),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function Oc(n,o){if(1&n&&t._UZ(0,"app-block-eleven-a",27),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function Ic(n,o){if(1&n&&t._UZ(0,"app-block-twenty-one",27),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function Hc(n,o){if(1&n&&t._UZ(0,"app-block-space",27),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}
1function Jc(n,o){if(1&n&&t._UZ(0,"app-knowledge-hub",27),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function Qc(n,o){if(1&n&&t._UZ(0,"app-knowledge-hub-video",27),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function Ac(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,oc,1,1,"app-inner-html",17),t.YNc(2,ac,1,1,"app-carousel",17),t.YNc(3,cc,1,1,"app-report",17),t.YNc(4,lc,1,1,"app-accordion",17),t.YNc(5,rc,1,1,"app-list-item",17),t.YNc(6,sc,1,4,"app-posts",18),t.YNc(7,pc,1,1,"app-nav-tab",17),t.YNc(8,mc,1,1,"app-video",19),t.YNc(9,_c,1,1,"app-block-one",17),t.YNc(10,dc,1,1,"app-block-one",17),t.YNc(11,fc,1,1,"app-block-three",17),t.YNc(12,gc,1,1,"app-block-one",17),t.YNc(13,uc,1,1,"app-block-one",17),t.YNc(14,vc,1,1,"app-block-six",17),t.YNc(15,hc,1,2,"app-block-nine",20),t.YNc(16,xc,1,2,"app-block-ten",21),t.YNc(17,bc,1,1,"app-block-eleven",17),t.YNc(18,Cc,1,2,"app-block-eleven",22),t.YNc(19,kc,1,1,"app-block-thirteen",17),t.YNc(20,Mc,1,1,"app-block-fourteen",17),t.YNc(21,zc,1,1,"app-block-eighteen-a",17),t.YNc(22,wc,1,1,"app-block-eighteen-b",17),t.YNc(23,yc,1,1,"app-block-seven",17),t.YNc(24,Tc,1,2,"app-block-eight",20),t.YNc(25,Pc,1,1,"app-block-fifteen",17),t.YNc(26,Zc,1,1,"app-block-sixteen",23),t.YNc(27,Sc,1,1,"app-block-nineteen",17),t.YNc(28,Nc,1,2,"app-block-seventeen",20),t.YNc(29,Lc,1,2,"app-block-twenty",20),t.YNc(30,Oc,1,2,"app-block-eleven-a",20),t.YNc(31,Ic,1,2,"app-block-twenty-one",20),t.YNc(32,Hc,1,2,"app-block-space",20),t.YNc(33,Jc,1,2,"app-knowledge-hub",20),t.YNc(34,Qc,1,2,"app-knowledge-hub-video",20),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf","ComponentSectionsRichTextEditor"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCarouselBannerSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsReportSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCollapsableSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsSimpleReportSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsPostList"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsTabsLayout"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsLargeVideo"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock1"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock2"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock3"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock4"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock5"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock6"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock9"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock10"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock11"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock12"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock13"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock14"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock18A"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock18B"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock7"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock8"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock15"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock16"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock19"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock17"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock20"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock11A"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock21"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsSpace"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsKnowledgeHub"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsKnowledgeHubVideoList"==e.__typename)}}function Bc(n,o){if(1&n&&(t.TgZ(0,"div",15),t.YNc(1,Ac,35,34,"div",16),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.pageContent)}}function Dc(n,o){if(1&n&&(t.TgZ(0,"div",5),t.YNc(1,ec,2,1,"div",6),t.YNc(2,nc,2,1,"div",7),t.TgZ(3,"div",8),t.YNc(4,ic,2,1,"div",9),t.YNc(5,Bc,2,1,"div",10),t.qZA()()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",e.getCurvedImageBannerData()),t.xp6(1),t.Q6J("ngIf",e.isTopMenu),t.xp6(2),t.Q6J("ngIf",!e.isTopMenu&&e.menus),t.xp6(1),t.Q6J("ngIf",e.pageContent)}}function Vc(n,o){1&n&&t._UZ(0,"app-page-not-found")}function Yc(n,o){if(1&n&&(t.TgZ(0,"div",42),t._UZ(1,"app-module-top-navbar",13),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("menus",e.menus)}}function qc(n,o){if(1&n&&(t.TgZ(0,"div",43),t._UZ(1,"app-sidebar",13),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("menus",e.menus)}}function Fc(n,o){if(1&n&&(t.TgZ(0,"p",44),t._uU(1),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Oqu(e.title)}}function Uc(n,o){if(1&n&&t._UZ(0,"app-inner-html",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function $c(n,o){if(1&n&&t._UZ(0,"app-carousel",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Ec(n,o){if(1&n&&t._UZ(0,"app-report",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function jc(n,o){if(1&n&&t._UZ(0,"app-accordion",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Rc(n,o){if(1&n&&t._UZ(0,"app-list-item",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Gc(n,o){if(1&n&&t._UZ(0,"app-posts",46),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("sidemenu_name",i.sidemenu_name)("sidemenuPosition",i.sidemenuPosition)("data",e)}}function Kc(n,o){if(1&n&&t._UZ(0,"app-nav-tab",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Wc(n,o){if(1&n&&t._UZ(0,"app-video",26),2&n){const e=t.oxw().$implicit;t.Q6J("video",e)}}function Xc(n,o){if(1&n&&t._UZ(0,"app-block-one",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function tl(n,o){if(1&n&&t._UZ(0,"app-block-one",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function el(n,o){if(1&n&&t._UZ(0,"app-block-three",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function nl(n,o){if(1&n&&t._UZ(0,"app-block-one",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function il(n,o){if(1&n&&t._UZ(0,"app-block-one",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ol(n,o){if(1&n&&t._UZ(0,"app-block-six",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function al(n,o){if(1&n&&t._UZ(0,"app-block-nine",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function cl(n,o){if(1&n&&t._UZ(0,"app-block-ten",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("blockTenData",e)("path",i.path)}}function ll(n,o){if(1&n&&t._UZ(0,"app-block-eleven",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function rl(n,o){if(1&n&&t._UZ(0,"app-block-eleven",29),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)("iconWithContainer",!1)}}function sl(n,o){if(1&n&&t._UZ(0,"app-block-thirteen",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function pl(n,o){if(1&n&&t._UZ(0,"app-block-fourteen",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ml(n,o){if(1&n&&t._UZ(0,"app-block-eighteen-a",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function _l(n,o){if(1&n&&t._UZ(0,"app-block-eighteen-b",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function dl(n,o){if(1&n&&t._UZ(0,"app-block-seven",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function fl(n,o){if(1&n&&t._UZ(0,"app-block-eight",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function gl(n,o){if(1&n&&t._UZ(0,"app-block-fifteen",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ul(n,o){if(1&n&&t._UZ(0,"app-block-sixteen",30),2&n){const e=t.oxw().$implicit;t.Q6J("contentDetails",e)}}function vl(n,o){if(1&n&&t._UZ(0,"app-block-nineteen",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function hl(n,o){if(1&n&&t._UZ(0,"app-block-seventeen",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function xl(n,o){if(1&n&&t._UZ(0,"app-block-twenty",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function bl(n,o){if(1&n&&t._UZ(0,"app-block-eleven-a",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function Cl(n,o){if(1&n&&t._UZ(0,"app-block-twenty-one",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function kl(n,o){if(1&n&&t._UZ(0,"app-block-space",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function Ml(n,o){if(1&n&&t._UZ(0,"app-knowledge-hub",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function zl(n,o){if(1&n&&t._UZ(0,"app-knowledge-hub-video",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function wl(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,Uc,1,1,"app-inner-html",17),t.YNc(2,$c,1,1,"app-carousel",17),t.YNc(3,Ec,1,1,"app-report",17),t.YNc(4,jc,1,1,"app-accordion",17),t.YNc(5,Rc,1,1,"app-list-item",17),t.YNc(6,Gc,1,3,"app-posts",45),t.YNc(7,Kc,1,1,"app-nav-tab",17),t.YNc(8,Wc,1,1,"app-video",19),t.YNc(9,Xc,1,1,"app-block-one",17),t.YNc(10,tl,1,1,"app-block-one",17),t.YNc(11,el,1,1,"app-block-three",17),t.YNc(12,nl,1,1,"app-block-one",17),t.YNc(13,il,1,1,"app-block-one",17),t.YNc(14,ol,1,1,"app-block-six",17),t.YNc(15,al,1,2,"app-block-nine",20),t.YNc(16,cl,1,2,"app-block-ten",21),t.YNc(17,ll,1,1,"app-block-eleven",17),t.YNc(18,rl,1,2,"app-block-eleven",22),t.YNc(19,sl,1,1,"app-block-thirteen",17),t.YNc(20,pl,1,1,"app-block-fourteen",17),t.YNc(21,ml,1,1,"app-block-eighteen-a",17),t.YNc(22,_l,1,1,"app-block-eighteen-b",17),t.YNc(23,dl,1,1,"app-block-seven",17),t.YNc(24,fl,1,2,"app-block-eight",20),t.YNc(25,gl,1,1,"app-block-fifteen",17),t.YNc(26,ul,1,1,"app-block-sixteen",23),t.YNc(27,vl,1,1,"app-block-nineteen",17),t.YNc(28,hl,1,2,"app-block-seventeen",20),t.YNc(29,xl,1,2,"app-block-twenty",20),t.YNc(30,bl,1,2,"app-block-eleven-a",20),t.YNc(31,Cl,1,2,"app-block-twenty-one",20),t.YNc(32,kl,1,2,"app-block-space",20),t.YNc(33,Ml,1,2,"app-knowledge-hub",20),t.YNc(34,zl,1,2,"app-knowledge-hub-video",20),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf","ComponentSectionsRichTextEditor"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCarouselBannerSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsReportSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCollapsableSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsSimpleReportSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsPostList"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsTabsLayout"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsLargeVideo"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock1"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock2"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock3"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock4"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock5"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock6"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock9"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock10"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock11"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock12"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock13"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock14"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock18A"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock18B"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock7"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock8"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock15"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock16"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock19"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock17"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock20"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock11A"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock21"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsSpace"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsKnowledgeHub"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsKnowledgeHubVideoList"==e.__typename)}}function yl(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,wl,35,34,"div",16),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",e.pageContent)}}function Tl(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"app-breadcrumb",4),t.YNc(2,Yc,2,1,"div",36),t.TgZ(3,"div",37),t.YNc(4,qc,2,1,"div",38),t.TgZ(5,"div",39)(6,"div",40),t.YNc(7,Fc,2,1,"p",41),t.YNc(8,yl,2,1,"div",6),t.qZA()()()()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("breadcrumbs",e.breadcrumbs),t.xp6(1),t.Q6J("ngIf",e.menus&&e.isMobile),t.xp6(2),t.Q6J("ngIf",e.menus&&!e.isMobile),t.xp6(3),t.Q6J("ngIf",e.title),t.xp6(1),t.Q6J("ngIf",e.pageContent&&e.pageContent.length>0)}}function Pl(n,o){if(1&n&&(t.TgZ(0,"div",42),t._UZ(1,"app-module-top-navbar",13),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("menus",e.menus)}}function Zl(n,o){if(1&n&&(t.TgZ(0,"p",48),t._uU(1),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Oqu(e.title)}}function Sl(n,o){if(1&n&&t._UZ(0,"app-inner-html",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Nl(n,o){if(1&n&&t._UZ(0,"app-carousel",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Ll(n,o){if(1&n&&t._UZ(0,"app-report",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Ol(n,o){if(1&n&&t._UZ(0,"app-accordion",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Il(n,o){if(1&n&&t._UZ(0,"app-list-item",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Hl(n,o){if(1&n&&t._UZ(0,"app-posts",46),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("sidemenu_name",i.sidemenu_name)("sidemenuPosition",i.sidemenuPosition)("data",e)}}function Jl(n,o){if(1&n&&t._UZ(0,"app-nav-tab",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Ql(n,o){if(1&n&&t._UZ(0,"app-video",26),2&n){const e=t.oxw().$implicit;t.Q6J("video",e)}}function Al(n,o){if(1&n&&t._UZ(0,"app-block-one",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Bl(n,o){if(1&n&&t._UZ(0,"app-block-one",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Dl(n,o){if(1&n&&t._UZ(0,"app-block-three",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Vl(n,o){if(1&n&&t._UZ(0,"app-block-one",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Yl(n,o){if(1&n&&t._UZ(0,"app-block-six",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ql(n,o){if(1&n&&t._UZ(0,"app-block-one",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Fl(n,o){if(1&n&&t._UZ(0,"app-block-nine",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function Ul(n,o){if(1&n&&t._UZ(0,"app-block-ten",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("blockTenData",e)("path",i.path)}}function $l(n,o){if(1&n&&t._UZ(0,"app-block-eleven",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function El(n,o){if(1&n&&t._UZ(0,"app-block-eleven",29),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)("iconWithContainer",!1)}}function jl(n,o){if(1&n&&t._UZ(0,"app-block-thirteen",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Rl(n,o){if(1&n&&t._UZ(0,"app-block-fourteen",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Gl(n,o){if(1&n&&t._UZ(0,"app-block-eighteen-a",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Kl(n,o){if(1&n&&t._UZ(0,"app-block-eighteen-b",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Wl(n,o){if(1&n&&t._UZ(0,"app-block-seven",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Xl(n,o){if(1&n&&t._UZ(0,"app-block-eight",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function tr(n,o){if(1&n&&t._UZ(0,"app-block-fifteen",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function er(n,o){if(1&n&&t._UZ(0,"app-block-sixteen",30),2&n){const e=t.oxw().$implicit;t.Q6J("contentDetails",e)}}function nr(n,o){if(1&n&&t._UZ(0,"app-block-nineteen",24),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ir(n,o){if(1&n&&t._UZ(0,"app-block-seventeen",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function or(n,o){if(1&n&&t._UZ(0,"app-block-twenty",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function ar(n,o){if(1&n&&t._UZ(0,"app-block-eleven-a",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function cr(n,o){if(1&n&&t._UZ(0,"app-block-twenty-one",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function lr(n,o){if(1&n&&t._UZ(0,"app-block-space",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function rr(n,o){if(1&n&&t._UZ(0,"app-knowledge-hub",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function sr(n,o){if(1&n&&t._UZ(0,"app-knowledge-hub-video",27),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function pr(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,Sl,1,1,"app-inner-html",17),t.YNc(2,Nl,1,1,"app-carousel",17),t.YNc(3,Ll,1,1,"app-report",17),t.YNc(4,Ol,1,1,"app-accordion",17),t.YNc(5,Il,1,1,"app-list-item",17),t.YNc(6,Hl,1,3,"app-posts",45),t.YNc(7,Jl,1,1,"app-nav-tab",17),t.YNc(8,Ql,1,1,"app-video",19),t.YNc(9,Al,1,1,"app-block-one",17),t.YNc(10,Bl,1,1,"app-block-one",17),t.YNc(11,Dl,1,1,"app-block-three",17),t.YNc(12,Vl,1,1,"app-block-one",17),t.YNc(13,Yl,1,1,"app-block-six",17),t.YNc(14,ql,1,1,"app-block-one",17),t.YNc(15,Fl,1,2,"app-block-nine",20),t.YNc(16,Ul,1,2,"app-block-ten",21),t.YNc(17,$l,1,1,"app-block-eleven",17),t.YNc(18,El,1,2,"app-block-eleven",22),t.YNc(19,jl,1,1,"app-block-thirteen",17),t.YNc(20,Rl,1,1,"app-block-fourteen",17),t.YNc(21,Gl,1,1,"app-block-eighteen-a",17),t.YNc(22,Kl,1,1,"app-block-eighteen-b",17),t.YNc(23,Wl,1,1,"app-block-seven",17),t.YNc(24,Xl,1,2,"app-block-eight",20),t.YNc(25,tr,1,1,"app-block-fifteen",17),t.YNc(26,er,1,1,"app-block-sixteen",23),t.YNc(27,nr,1,1,"app-block-nineteen",17),t.YNc(28,ir,1,2,"app-block-seventeen",20),t.YNc(29,or,1,2,"app-block-twenty",20),t.YNc(30,ar,1,2,"app-block-eleven-a",20),t.YNc(31,cr,1,2,"app-block-twenty-one",20),t.YNc(32,lr,1,2,"app-block-space",20),t.YNc(33,rr,1,2,"app-knowledge-hub",20),t.YNc(34,sr,1,2,"app-knowledge-hub-video",20),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf","ComponentSectionsRichTextEditor"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCarouselBannerSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsReportSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCollapsableSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsSimpleReportSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsPostList"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsTabsLayout"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsLargeVideo"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock1"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock2"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock3"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock4"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock6"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock5"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock9"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock10"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock11"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock12"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock13"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock14"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock18A"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock18B"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock7"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock8"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock15"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock16"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock19"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock17"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock20"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock11A"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock21"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsSpace"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsKnowledgeHub"
1==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsKnowledgeHubVideoList"==e.__typename)}}function mr(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,pr,35,34,"div",16),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",e.pageContent)}}function _r(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"app-breadcrumb",4),t.YNc(2,Pl,2,1,"div",36),t.TgZ(3,"div",40),t.YNc(4,Zl,2,1,"p",47),t.YNc(5,mr,2,1,"div",6),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("breadcrumbs",e.breadcrumbs),t.xp6(1),t.Q6J("ngIf",e.menus),t.xp6(2),t.Q6J("ngIf",e.title),t.xp6(1),t.Q6J("ngIf",e.pageContent)}}function dr(n,o){if(1&n&&(t.TgZ(0,"div",31)(1,"div",32)(2,"div",33),t.YNc(3,Vc,1,0,"app-page-not-found",6),t.YNc(4,Tl,9,5,"div",34),t.YNc(5,_r,6,4,"ng-template",null,35,t.W1O),t.qZA()()()),2&n){const e=t.MAs(6),i=t.oxw();t.xp6(3),t.Q6J("ngIf",i.showPageNotFound),t.xp6(1),t.Q6J("ngIf",(null==i.sidemenuPosition||"Left"==i.sidemenuPosition)&&i.menus)("ngIfElse",e)}}let n1=(()=>{class n{constructor(e,i,a,c,l,r,p,m){this.layoutService=e,this.router=i,this.popupService=a,this.generalService=c,this.breakpointObserver=l,this.metaService=r,this.renderer=p,this.schemaMarkupService=m,this.skip=0,this.showPageNotFound=!1,this.sidemenuPosition="",this.sidemenu_name="",this.isMobile=!1,this.isBusinessPage=!1,this.Block_Nine_Take_Limit=w.BO,this.design="v1",this.isTopMenu=!1}ngOnInit(){this.breakpointObserver.observe(["(max-width: 420px)"]).subscribe(e=>{this.isMobile=e.matches}),this.metaService.updateMeta("Pos Malaysia | Your trusted Malaysian courier & logistics provider | Pos Laju","Pos Malaysia | Your trusted Malaysian courier & logistics provider | Pos Laju"),this.metaService.updateCanonicalUrl(`${H.N.webDomain}${this.router.url.slice(1)}`),this.isBusinessPage=(0,u.xx)()}ngAfterViewInit(){this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.fetchData()}getCurvedImageBannerData(){var e;return(null===(e=this.pageContent)||void 0===e?void 0:e.find(i=>"ComponentSectionsCurvedImageBanner"===i.__typename))||null}fetchData(){const i=this.router.url.replace("/","");this.path=i;const a=this.popupService.openLoading();this.layoutService.getPageLayoutData("en",i,!1,this.skip,0,0,this.Block_Nine_Take_Limit).subscribe({next:c=>{var l,r,p,m,f,h,b,C,M,z,y,S,A,B,D;if(c.data.layouts.data.length>0){if(null!=(null===(l=c.data.layouts.data[0])||void 0===l?void 0:l.attributes.sidemenu.data)&&(this.menus=null===(r=c.data.layouts.data[0])||void 0===r?void 0:r.attributes.sidemenu.data.attributes.sideMenuList,this.sidemenu_name=null===(p=c.data.layouts.data[0])||void 0===p?void 0:p.attributes.sidemenu.data.attributes.sidemenu_name),null!==(m=c.data.layouts.data[0].attributes)&&void 0!==m&&m.metadata){const v=null===(f=c.data.layouts.data[0].attributes)||void 0===f?void 0:f.metadata;v?.metaTitle&&v?.metaDescription&&this.metaService.updateMeta(v?.metaTitle,v?.metaDescription);const X=this.metaService.getCanonicalUrl(v?.canonicalUrl,v?.canonicalURL,v?.canonical,this.router.url);this.metaService.updateCanonicalUrl(X)}!(null===(h=c.data.layouts.data[0].attributes)||void 0===h)&&h.schemaMarkup&&(this.schemaMarkup=c.data.layouts.data[0].attributes.schemaMarkup,this.schemaMarkupService.setJsonLd(this.renderer,JSON.parse(this.schemaMarkup))),this.menus=this.generalService.processMenus(this.menus),this.sidemenuPosition=null===(b=c.data.layouts.data[0])||void 0===b?void 0:b.attributes.sidemenu_position,this.design=(null===(M=null===(C=c.data.layouts.data[0])||void 0===C?void 0:C.attributes)||void 0===M?void 0:M.design)||"v1",this.isTopMenu=(null===(y=null===(z=c.data.layouts.data[0])||void 0===z?void 0:z.attributes)||void 0===y?void 0:y.isTopMenu)||!1,this.pageContent=null===(S=c.data.layouts.data[0])||void 0===S?void 0:S.attributes.pageContent,this.title=null===(B=null===(A=c.data.layouts.data[0])||void 0===A?void 0:A.attributes)||void 0===B?void 0:B.title,this.breadcrumbs=null===(D=c.data.layouts.data[0])||void 0===D?void 0:D.attributes.breadcrumbs}else this.showPageNotFound=!0},error:c=>{c&&this.popupService.openAlert({error:{name:"Error",message:"No data found."}})}}).add(()=>{a.close()})}directToDetailPage(e){this.router.navigate([e])}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t1),t.Y36(g.F0),t.Y36(N.W),t.Y36(J.m),t.Y36(C1.Yg),t.Y36(I.R),t.Y36(t.Qsj),t.Y36(o1.v))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-dynamic-detail"]],decls:3,vars:3,consts:[["class","max-w-[1200px] mx-auto
1sm:-mb-28 text-left custom-padding sm:mt-28",4,"ngIf"],["class","sm:mt-20",4,"ngIf"],["class","dynamic-detail-container",4,"ngIf"],[1,"max-w-[1200px]","mx-auto","sm:-mb-28","text-left","custom-padding","sm:mt-28"],[3,"breadcrumbs"],[1,"sm:mt-20"],[4,"ngIf"],["class","mt-12 mx-auto max-w-[1200px] w-full",4,"ngIf"],[1,"flex","flex-col","sm:flex-row","gap-8","mt-12","mx-auto","max-w-[1200px]","w-full"],["class","flex-shrink flex-col gap-2 max-sm:px-4",4,"ngIf"],["class","flex-grow w-full max-sm:px-4",4,"ngIf"],[3,"banner"],[1,"mt-12","mx-auto","max-w-[1200px]","w-full"],[3,"menus"],[1,"flex-shrink","flex-col","gap-2","max-sm:px-4"],[1,"flex-grow","w-full","max-sm:px-4"],[4,"ngFor","ngForOf"],[3,"data",4,"ngIf"],[3,"sidemenu_name","sidemenuPosition","data","design",4,"ngIf"],[3,"video",4,"ngIf"],[3,"data","path",4,"ngIf"],[3,"blockTenData","path",4,"ngIf"],[3,"data","iconWithContainer",4,"ngIf"],[3,"contentDetails",4,"ngIf"],[3,"data"],[3,"sidemenu_name","sidemenuPosition","data","design"],[3,"video"],[3,"data","path"],[3,"blockTenData","path"],[3,"data","iconWithContainer"],[3,"contentDetails"],[1,"dynamic-detail-container"],[1,"content-holder"],[1,"top-wrapper","business-top-wrapper"],[4,"ngIf","ngIfElse"],["templateWithoutMenu",""],["class","",4,"ngIf"],[1,"d-md-flex","d-sm-block"],["class","sidebar-container",4,"ngIf"],[1,"col-md-10","col-sm-12","right-content-container"],[1,"content-container"],["class","content-title",4,"ngIf"],[1,""],[1,"sidebar-container"],[1,"content-title"],[3,"sidemenu_name","sidemenuPosition","data",4,"ngIf"],[3,"sidemenu_name","sidemenuPosition","data"],["class","content-title text-center",4,"ngIf"],[1,"content-title","text-center"]],template:function(e,i){1&e&&(t.YNc(0,tc,2,1,"div",0),t.YNc(1,Dc,6,4,"div",1),t.YNc(2,dr,7,3,"div",2)),2&e&&(t.Q6J("ngIf","v2"===i.design&&i.breadcrumbs&&i.breadcrumbs.length>0),t.xp6(1),t.Q6J("ngIf","v2"===i.design),t.xp6(1),t.Q6J("ngIf","v1"===i.design))},dependencies:[s.sg,s.O5,R.L,k1,a1.r,c1,z1,w1.X,y1,l1,F,Z.W,r1,s1,Z1,S1,U,m1,L1,O1,I1,H1,J1,Q1,A1,B1,D1,V1,j,q1,_1,$1,j1,R1,G1,K1,W1,V2,Y2],styles:[".dynamic-detail-container[_ngcontent-%COMP%] .content-holder[_ngcontent-%COMP%]{background-color:#fff}.dynamic-detail-container[_ngcontent-%COMP%] .content-holder[_ngcontent-%COMP%] .top-wrapper[_ngcontent-%COMP%]{max-width:1200px;padding:6.5rem 1.4285rem 5.357rem;margin:0 auto}.dynamic-detail-container[_ngcontent-%COMP%] .content-holder[_ngcontent-%COMP%] .business-top-wrapper[_ngcontent-%COMP%]{padding:7rem 0 3rem}.dynamic-detail-container[_ngcontent-%COMP%] .content-holder[_ngcontent-%COMP%] .sidebar-container[_ngcontent-%COMP%]{max-width:16rem;min-width:15rem}.dynamic-detail-container[_ngcontent-%COMP%] .content-holder[_ngcontent-%COMP%] .content-title[_ngcontent-%COMP%]{font-family:GothamMedium;font-style:normal;font-weight:500;font-size:3.5714rem;text-align:center;color:#0e1111;line-height:62px!important;margin:3rem 0}.sidebar-container[_ngcontent-%COMP%]{max-width:16rem;min-width:15rem}.content-title[_ngcontent-%COMP%]{font-family:GothamMedium;font-style:normal;font-weight:500;font-size:3.5714rem;color:#0e1111;line-height:62px!important;margin:3rem 0}@media only screen and (max-width: 767px){.dynamic-detail-container[_ngcontent-%COMP%] .content-holder[_ngcontent-%COMP%] .business-top-wrapper[_ngcontent-%COMP%]{padding:1rem 1.4285rem 2.857rem}.sidebar-container[_ngcontent-%COMP%]{max-width:100%!important;position:relative;margin:1rem}.col-md-10[_ngcontent-%COMP%]{margin-left:0}.content-title[_ngcontent-%COMP%]{font-size:1.71428rem!important}}@media only screen and (min-width: 1300){.sidebar-container[_ngcontent-%COMP%]{max-width:22rem;position:fixed}.col-md-10[_ngcontent-%COMP%]{margin-left:22rem}}.right-content-container[_ngcontent-%COMP%]{flex:1}"]}),n})();function fr(n,o){if(1&n&&(t.TgZ(0,"div",3),t._UZ(1,"app-breadcrumb",4),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("breadcrumbs",e.breadcrumbs)}}function gr(n,o){if(1&n&&(t.TgZ(0,"div",12),t._UZ(1,"app-curved-image-banner",13),t.qZA()),2&n){const e=o.ngIf;t.xp6(1),t.Q6J("banner",e)}}function ur(n,o){if(1&n&&(t.TgZ(0,"div",14),t._UZ(1,"app-topbar",15),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("menus",e.menus)}}function vr(n,o){if(1&n&&(t.TgZ(0,"div",16),t._UZ(1,"app-sidebar-v2",15),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("menus",e.menus)}}function hr(n,o){if(1&n&&t._UZ(0,"app-inner-html",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function xr(n,o){if(1&n&&t._UZ(0,"app-carousel",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function br(n,o){if(1&n&&t._UZ(0,"app-report",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Cr(n,o){if(1&n&&t._UZ(0,"app-accordion",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function kr(n,o){if(1&n&&t._UZ(0,"app-list-item",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Mr(n,o){if(1&n&&t._UZ(0,"app-posts",26),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("sidemenu_name",i.sidemenu_name)("sidemenuPosition",i.sidemenuPosition)("data",e)("design",i.design)}}function zr(n,o){if(1&n&&t._UZ(0,"app-nav-tab",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function wr(n,o){if(1&n&&t._UZ(0,"app-video",27),2&n){const e=t.oxw().$implicit;t.Q6J("video",e)}}function yr(n,o){if(1&n&&t._UZ(0,"app-block-one",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Tr(n,o){if(1&n&&t._UZ(0,"app-block-one",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Pr(n,o){if(1&n&&t._UZ(0,"app-block-three",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Zr(n,o){if(1&n&&t._UZ(0,"app-block-one",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Sr(n,o){if(1&n&&t._UZ(0,"app-block-one",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Nr(n,o){if(1&n&&t._UZ(0,"app-block-six",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Lr(n,o){if(1&n&&t._UZ(0,"app-block-nine",28),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function Or(n,o){if(1&n&&t._UZ(0,"app-block-ten",29),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("blockTenData",e)("path",i.path)}}function Ir(n,o){if(1&n&&t._UZ(0,"app-block-eleven",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Hr(n,o){if(1&n&&t._UZ(0,"app-block-eleven",30),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)("iconWithContainer",!1)}}function Jr(n,o){if(1&n&&t._UZ(0,"app-block-thirteen",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Qr(n,o){if(1&n&&t._UZ(0,"app-block-fourteen",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Ar(n,o){if(1&n&&t._UZ(0,"app-block-eighteen-a",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Br(n,o){if(1&n&&t._UZ(0,"app-block-eighteen-b",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Dr(n,o){if(1&n&&t._UZ(0,"app-block-seven",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Vr(n,o){if(1&n&&t._UZ(0,"app-block-fifteen",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Yr(n,o){if(1&n&&t._UZ(0,"app-block-eight",28),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function qr(n,o){if(1&n&&t._UZ(0,"app-block-sixteen",31),2&n){const e=t.oxw().$implicit;t.Q6J("contentDetails",e)}}function Fr(n,o){if(1&n&&t._UZ(0,"app-block-nineteen",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Ur(n,o){if(1&n&&t._UZ(0,"app-block-seventeen",28),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function $r(n,o){if(1&n&&t._UZ(0,"app-block-twenty",28),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function Er(n,o){if(1&n&&t._UZ(0,"app-block-eleven-a",28),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function jr(n,o){if(1&n&&t._UZ(0,"app-block-twenty-one",28),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function Rr(n,o){if(1&n&&t._UZ(0,"app-block-space",28),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function Gr(n,o){if(1&n&&t._UZ(0,"app-knowledge-hub",28),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function Kr(n,o){if(1&n&&t._UZ(0,"app-knowledge-hub-video",28),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.Q6J("data",e)("path",i.path)}}function Wr(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,hr,1,1,"app-inner-html",18),t.YNc(2,xr,1,1,"app-carousel",18),t.YNc(3,br,1,1,"app-report",18),t.YNc(4,Cr,1,1,"app-accordion",18),t.YNc(5,kr,1,1,"app-list-item",18),t.YNc(6,Mr,1,4,"app-posts",19),t.YNc(7,zr,1,1,"app-nav-tab",18),t.YNc(8,wr,1,1,"app-video",20),t.YNc(9,yr,1,1,"app-block-one",18),t.YNc(10,Tr,1,1,"app-block-one",18),t.YNc(11,Pr,1,1,"app-block-three",18),t.YNc(12,Zr,1,1,"app-block-one",18),t.YNc(13,Sr,1,1,"app-block-one",18),t.YNc(14,Nr,1,1,"app-block-six",18),t.YNc(15,Lr,1,2,"app-block-nine",21),t.YNc(16,Or,1,2,"app-block-ten",22),t.YNc(17,Ir,1,1,"app-block-eleven",18),t.YNc(18,Hr,1,2,"app-block-eleven",23),t.YNc(19,Jr,1,1,"app-block-thirteen",18),t.YNc(20,Qr,1,1,"app-block-fourteen",18),t.YNc(21,Ar,1,1,"app-block-eighteen-a",18),t.YNc(22,Br,1,1,"app-block-eighteen-b",18),t.YNc(23,Dr,1,1,"app-block-seven",18),t.YNc(24,Vr,1,1,"app-block-fifteen",18),t.YNc(25,Yr,1,2,"app-block-eight",21),t.YNc(26,qr,1,1,"app-block-sixteen",24),t.YNc(27,Fr,1,1,"app-block-nineteen",18),t.YNc(28,Ur,1,2,"app-block-seventeen",21),t.YNc(29,$r,1,2,"app-block-twenty",21),t.YNc(30,Er,1,2,"app-block-eleven-a",21),t.YNc(31,jr,1,2,"app-block-twenty-one",21),t.YNc(32,Rr,1,2,"app-block-space",21),t.YNc(33,Gr,1,2,"app-knowledge-hub",21),t.YNc(34,Kr,1,2,"app-knowledge-hub-video",21),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf","ComponentSectionsRichTextEditor"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCarouselBannerSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsReportSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCollapsableSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsSimpleReportSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsPostList"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsTabsLayout"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsLargeVideo"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock1"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock2"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock3"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock4"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock5"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock6"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock9"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock10"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock11"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock12"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock13"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock14"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock18A"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock18B"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock7"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock15"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock8"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock16"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock19"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock17"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock20"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock11A"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock21"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsSpace"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsKnowledgeHub"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsKnowledgeHubVideoList"==e.__typename)}}function Xr(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,Wr,35,34,"div",17),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.pageContent)}}function ts(n,o){if(1&n&&(t.TgZ(0,"div",5),t.YNc(1,gr,2,1,"div",6),t.YNc(2,ur,2,1,"div",7),t.TgZ(3,"div",8),t.YNc(4,vr,2,1,"div",9),t.TgZ(5,"div",10),t.YNc(6,Xr,2,1,"div",11),t.qZA()()()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",e.getCurvedImageBannerData()),t.xp6(1),t.Q6J("ngIf",e.isTopMenu),t.xp6(2),t.Q6J("ngIf",!e.isTopMenu&&e.menus),t.xp6(2),t.Q6J("ngIf",e.pageContent)}}function es(n,o){1&n&&t._UZ(0,"app-page-not-found")}function ns(n,o){if(1&n&&(t.TgZ(0,"div",42),t._UZ(1,"app-module-top-navbar",15),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("menus",e.menus)}}function is(n,o){if(1&n&&(t.TgZ(0,"div",43),t._UZ(1,"app-sidebar",15),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("menus",e.menus)}}function os(n,o){if(1&n&&(t.TgZ(0,"p",44),t._uU(1),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Oqu(e.title)}}function as(n,o){if(1&n&&t._UZ(0,"app-inner-html",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function cs(n,o){if(1&n&&t._UZ(0,"app-carousel",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ls(n,o){if(1&n&&t._UZ(0,"app-report",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function rs(n,o){if(1&n&&t._UZ(0,"app-accordion",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ss(n,o){if(1&n&&t._UZ(0,"app-list-item",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ps(n,o){if(1&n&&t._UZ(0,"app-posts",48),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("sidemenu_name",i.sidemenu_name)("sidemenuPosition",i.sidemenuPosition)("data",e)}}function ms(n,o){if(1&n&&t._UZ(0,"app-nav-tab",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function _s(n,o){if(1&n&&t._UZ(0,"app-video",27),2&n){const e=t.oxw().$implicit;t.Q6J("video",e)}}function ds(n,o){if(1&n&&t._UZ(0,"app-block-one",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function fs(n,o){if(1&n&&t._UZ(0,"app-block-one",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function gs(n,o){if(1&n&&t._UZ(0,"app-block-three",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function us(n,o){if(1&n&&t._UZ(0,"app-block-one",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function vs(n,o){if(1&n&&t._UZ(0,"app-block-one",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function hs(n,o){if(1&n&&t._UZ(0,"app-block-six",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function xs(n,o){if(1&n&&t._UZ(0,"app-block-nine",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function bs(n,o){if(1&n&&t._UZ(0,"app-block-ten",29),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("blockTenData",e)("path",i.path)}}function Cs(n,o){if(1&n&&t._UZ(0,"app-block-eleven",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ks(n,o){if(1&n&&t._UZ(0,"app-block-eleven",30),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)("iconWithContainer",!1)}}function Ms(n,o){if(1&n&&t._UZ(0,"app-block-thirteen",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function zs(n,o){if(1&n&&t._UZ(0,"app-block-fourteen",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ws(n,o){if(1&n&&t._UZ(0,"app-block-eighteen-a",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ys(n,o){if(1&n&&t._UZ(0,"app-block-eighteen-b",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Ts(n,o){if(1&n&&t._UZ(0,"app-block-seven",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Ps(n,o){if(1&n&&t._UZ(0,"app-block-fifteen",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Zs(n,o){if(1&n&&t._UZ(0,"app-block-eight",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function Ss(n,o){if(1&n&&t._UZ(0,"app-block-sixteen",31),2&n){const e=t.oxw().$implicit;t.Q6J("contentDetails",e)}}function Ns(n,o){if(1&n&&t._UZ(0,"app-block-nineteen",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Ls(n,o){if(1&n&&t._UZ(0,"app-block-seventeen",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function Os(n,o){if(1&n&&t._UZ(0,"app-block-twenty",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function Is(n,o){if(1&n&&t._UZ(0,"app-block-eleven-a",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function Hs(n,o){if(1&n&&t._UZ(0,"app-block-twenty-one",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function Js(n,o){if(1&n&&t._UZ(0,"app-block-space",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function Qs(n,o){if(1&n&&t._UZ(0,"app-knowledge-hub",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function As(n,o){if(1&n&&t._UZ(0,"app-knowledge-hub-video",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function Bs(n,o){if(1&n&&(t.TgZ(0,"div",46),t.YNc(1,as,1,1,"app-inner-html",18),t.YNc(2,cs,1,1,"app-carousel",18),t.YNc(3,ls,1,1,"app-report",18),t.YNc(4,rs,1,1,"app-accordion",18),t.YNc(5,ss,1,1,"app-list-item",18),t.YNc(6,ps,1,3,"app-posts",47),t.YNc(7,ms,1,1,"app-nav-tab",18),t.YNc(8,_s,1,1,"app-video",20),t.YNc(9,ds,1,1,"app-block-one",18),t.YNc(10,fs,1,1,"app-block-one",18),t.YNc(11,gs,1,1,"app-block-three",18),t.YNc(12,us,1,1,"app-block-one",18),t.YNc(13,vs,1,1,"app-block-one",18),t.YNc(14,hs,1,1,"app-block-six",18),t.YNc(15,xs,1,2,"app-block-nine",21),t.YNc(16,bs,1,2,"app-block-ten",22),t.YNc(17,Cs,1,1,"app-block-eleven",18),t.YNc(18,ks,1,2,"app-block-eleven",23),t.YNc(19,Ms,1,1,"app-block-thirteen",18),t.YNc(20,zs,1,1,"app-block-fourteen",18),t.YNc(21,ws,1,1,"app-block-eighteen-a",18),t.YNc(22,ys,1,1,"app-block-eighteen-b",18),t.YNc(23,Ts,1,1,"app-block-seven",18),t.YNc(24,Ps,1,1,"app-block-fifteen",18),t.YNc(25,Zs,1,2,"app-block-eight",21),t.YNc(26,Ss,1,1,"app-block-sixteen",24),t.YNc(27,Ns,1,1,"app-block-nineteen",18),t.YNc(28,Ls,1,2,"app-block-seventeen",21),t.YNc(29,Os,1,2,"app-block-twenty",21),t.YNc(30,Is,1,2,"app-block-eleven-a",21),t.YNc(31,Hs,1,2,"app-block-twenty-one",21),t.YNc(32,Js,1,2,"app-block-space",21),t.YNc(33,Qs,1,2,"app-knowledge-hub",21),t.YNc(34,As,1,2,"app-knowledge-hub-video",21),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf","ComponentSectionsRichTextEditor"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCarouselBannerSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsReportSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCollapsableSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsSimpleReportSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsPostList"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsTabsLayout"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsLargeVideo"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock1"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock2"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock3"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock4"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock5"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock6"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock9"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock10"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock11"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock12"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock13"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock14"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock18A"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock18B"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock7"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock15"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock8"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock16"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock19"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock17"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock20"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock11A"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock21"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsSpace"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsKnowledgeHub"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsKnowledgeHubVideoList"==e.__typename)}}function Ds(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,Bs,35,34,"div",45),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",e.pageContent)}}function Vs(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"app-breadcrumb",4),t.YNc(2,ns,2,1,"div",37),t.TgZ(3,"div",38),t.YNc(4,is,2,1,"div",39),t.TgZ(5,"div",40),t.YNc(6,os,2,1,"p",41),t.YNc(7,Ds,2,1,"div",11),t.qZA()()()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("breadcrumbs",e.breadcrumbs),t.xp6(1),t.Q6J("ngIf",e.menus&&e.isMobile),t.xp6(2),t.Q6J("ngIf",e.menus&&!e.isMobile),t.xp6(2),t.Q6J("ngIf",e.title),t.xp6(1),t.Q6J("ngIf",e.pageContent)}}function Ys(n,o){if(1&n&&(t.TgZ(0,"div",42),t._UZ(1,"app-module-top-navbar",15),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("menus",e.menus)}}function qs(n,o){if(1&n&&(t.TgZ(0,"p",44),t._uU(1),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Oqu(e.title)}}function Fs(n,o){if(1&n&&t._UZ(0,"app-inner-html",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Us(n,o){if(1&n&&t._UZ(0,"app-carousel",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function $s(n,o){if(1&n&&t._UZ(0,"app-report",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Es(n,o){if(1&n&&t._UZ(0,"app-accordion",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function js(n,o){if(1&n&&t._UZ(0,"app-list-item",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Rs(n,o){if(1&n&&t._UZ(0,"app-posts",48),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("sidemenu_name",i.sidemenu_name)("sidemenuPosition",i.sidemenuPosition)("data",e)}}function Gs(n,o){if(1&n&&t._UZ(0,"app-nav-tab",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Ks(n,o){if(1&n&&t._UZ(0,"app-video",27),2&n){const e=t.oxw().$implicit;t.Q6J("video",e)}}function Ws(n,o){if(1&n&&t._UZ(0,"app-block-one",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Xs(n,o){if(1&n&&t._UZ(0,"app-block-one",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function tp(n,o){if(1&n&&t._UZ(0,"app-block-three",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ep(n,o){if(1&n&&t._UZ(0,"app-block-one",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function np(n,o){if(1&n&&t._UZ(0,"app-block-one",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ip(n,o){if(1&n&&t._UZ(0,"app-block-six",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function op(n,o){if(1&n&&t._UZ(0,"app-block-nine",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function ap(n,o){if(1&n&&t._UZ(0,"app-block-ten",29),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("blockTenData",e)("path",i.path)}}function cp(n,o){if(1&n&&t._UZ(0,"app-block-eleven",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function lp(n,o){if(1&n&&t._UZ(0,"app-block-eleven",30),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)("iconWithContainer",!1)}}function rp(n,o){if(1&n&&t._UZ(0,"app-block-thirteen",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function sp(n,o){if(1&n&&t._UZ(0,"app-block-fourteen",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function pp(n,o){if(1&n&&t._UZ(0,"app-block-eighteen-a",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function mp(n,o){if(1&n&&t._UZ(0,"app-block-eighteen-b",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function _p(n,o){if(1&n&&t._UZ(0,"app-block-seven",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function dp(n,o){if(1&n&&t._UZ(0,"app-block-fifteen",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function fp(n,o){if(1&n&&t._UZ(0,"app-block-eight",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function gp(n,o){if(1&n&&t._UZ(0,"app-block-sixteen",31),2&n){const e=t.oxw().$implicit;t.Q6J("contentDetails",e)}}function up(n,o){if(1&n&&t._UZ(0,"app-block-nineteen",25),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function vp(n,o){if(1&n&&t._UZ(0,"app-block-seventeen",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function hp(n,o){if(1&n&&t._UZ(0,"app-block-twenty",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function xp(n,o){if(1&n&&t._UZ(0,"app-block-eleven-a",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function bp(n,o){if(1&n&&t._UZ(0,"app-block-twenty-one",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function Cp(n,o){if(1&n&&t._UZ(0,"app-block-space",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function kp(n,o){if(1&n&&t._UZ(0,"app-knowledge-hub",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function Mp(n,o){if(1&n&&t._UZ(0,"app-knowledge-hub-video",28),2&n){const e=t.oxw().$implicit,i=t.oxw(4);t.Q6J("data",e)("path",i.path)}}function zp(n,o){if(1&n&&(t.TgZ(0,"div",46),t.YNc(1,Fs,1,1,"app-inner-html",18),t.YNc(2,Us,1,1,"app-carousel",18),t.YNc(3,$s,1,1,"app-report",18),t.YNc(4,Es,1,1,"app-accordion",18),t.YNc(5,js,1,1,"app-list-item",18),t.YNc(6,Rs,1,3,"app-posts",47),t.YNc(7,Gs,1,1,"app-nav-tab",18),t.YNc(8,Ks,1,1,"app-video",20),t.YNc(9,Ws,1,1,"app-block-one",18),t.YNc(10,Xs,1,1,"app-block-one",18),t.YNc(11,tp,1,1,"app-block-three",18),t.YNc(12,ep,1,1,"app-block-one",18),t.YNc(13,np,1,1,"app-block-one",18),t.YNc(14,ip,1,1,"app-block-six",18),t.YNc(15,op,1,2,"app-block-nine",21),t.YNc(16,ap,1,2,"app-block-ten",22),t.YNc(17,cp,1,1,"app-block-eleven",18),t.YNc(18,lp,1,2,"app-block-eleven",23),t.YNc(19,rp,1,1,"app-block-thirteen",18),t.YNc(20,sp,1,1,"app-block-fourteen",18),t.YNc(21,pp,1,1,"app-block-eighteen-a",18),t.YNc(22,mp,1,1,"app-block-eighteen-b",18),t.YNc(23,_p,1,1,"app-block-seven",18),t.YNc(24,dp,1,1,"app-block-fifteen",18),t.YNc(25,fp,1,2,"app-block-eight",21),t.YNc(26,gp,1,1,"app-block-sixteen",24),t.YNc(27,up,1,1,"app-block-nineteen",18),t.YNc(28,vp,1,2,"app-block-seventeen",21),t.YNc(29,hp,1,2,"app-block-twenty",21),t.YNc(30,xp,1,2,"app-block-eleven-a",21),t.YNc(31,bp,1,2,"app-block-twenty-one",21),t.YNc(32,Cp,1,2,"app-block-space",21),t.YNc(33,kp,1,2,"app-knowledge-hub",21),t.YNc(34,Mp,1,2,"app-knowledge-hub-video",21),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf","ComponentSectionsRichTextEditor"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCarouselBannerSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsReportSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCollapsableSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsSimpleReportSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsPostList"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsTabsLayout"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsLargeVideo"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock1"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock2"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock3"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock4"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock5"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock6"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock9"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock10"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock11"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock12"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock13"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock14"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock18A"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock18B"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock7"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock15"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock8"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock16"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock19"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock17"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock20"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock11A"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock21"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsSpace"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsKnowledgeHub"==e.__typename),t.xp6(1),t.Q6J(
1"ngIf","ComponentSectionsKnowledgeHubVideoList"==e.__typename)}}function wp(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,zp,35,34,"div",45),t.qZA()),2&n){const e=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",e.pageContent)}}function yp(n,o){if(1&n&&(t.TgZ(0,"div"),t._UZ(1,"app-breadcrumb",4),t.YNc(2,Ys,2,1,"div",37),t.YNc(3,qs,2,1,"p",41),t.YNc(4,wp,2,1,"div",11),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("breadcrumbs",e.breadcrumbs),t.xp6(1),t.Q6J("ngIf",e.menus),t.xp6(1),t.Q6J("ngIf",e.title),t.xp6(1),t.Q6J("ngIf",e.pageContent)}}function Tp(n,o){if(1&n&&(t.TgZ(0,"div",32)(1,"div",33)(2,"div",34),t.YNc(3,es,1,0,"app-page-not-found",11),t.YNc(4,Vs,8,5,"div",35),t.YNc(5,yp,5,4,"ng-template",null,36,t.W1O),t.qZA()()()),2&n){const e=t.MAs(6),i=t.oxw();t.xp6(3),t.Q6J("ngIf",i.showPageNotFound),t.xp6(1),t.Q6J("ngIf",(null==i.sidemenuPosition||"Left"==i.sidemenuPosition)&&i.menus)("ngIfElse",e)}}let Pp=(()=>{class n{constructor(e,i,a,c,l,r,p,m,f,h){this.activatedRoute=e,this.layoutService=i,this.router=a,this.popupService=c,this.generalService=l,this.breakpointObserver=r,this.metaService=p,this.platformService=m,this.renderer=f,this.schemaMarkupService=h,this.skip=0,this.showPageNotFound=!1,this.sidemenuPosition="",this.isTopMenu=!1,this.design="v1",this.sidemenu_name="",this.isMobile=!1,this.isBusinessPage=!1,this.Block_Nine_Take_Limit=w.BO,this.path=this.activatedRoute.snapshot.paramMap.get("id")}ngOnInit(){this.breakpointObserver.observe(["(max-width: 420px)"]).subscribe(e=>{this.isMobile=e.matches}),this.metaService.updateMeta("Pos Malaysia | Your trusted Malaysian courier & logistics provider | Pos Laju","Pos Malaysia | Your trusted Malaysian courier & logistics provider | Pos Laju"),this.metaService.updateCanonicalUrl(`${H.N.webDomain}${this.router.url.slice(1)}`),this.isBusinessPage=(0,u.xx)()}ngAfterViewInit(){const i=this.popupService.openLoading();this.layoutService.getPageLayoutData("en",this.path,!1,this.skip,0,0,this.Block_Nine_Take_Limit).subscribe({next:a=>{var c,l,r,p,m,f,h,b,C,M,z,y,S,A,B,D,v,X,f1,g1,u1,v1,h1,x1;a.data.layouts.data.length>0?(null!=(null===(c=a.data.layouts.data[0])||void 0===c?void 0:c.attributes.sidemenu.data)&&(this.menus=null===(p=null===(r=null===(l=a.data.layouts.data[0])||void 0===l?void 0:l.attributes)||void 0===r?void 0:r.sidemenu.data.attributes)||void 0===p?void 0:p.sideMenuList,this.sidemenu_name=null===(m=a.data.layouts.data[0])||void 0===m?void 0:m.attributes.sidemenu.data.attributes.sidemenu_name),!(null===(f=a.data.layouts.data[0].attributes)||void 0===f)&&f.metadata&&!(null===(b=null===(h=a.data.layouts.data[0].attributes)||void 0===h?void 0:h.metadata)||void 0===b)&&b.metaTitle&&!(null===(M=null===(C=a.data.layouts.data[0].attributes)||void 0===C?void 0:C.metadata)||void 0===M)&&M.metaDescription&&this.metaService.updateMeta(null===(y=null===(z=a.data.layouts.data[0].attributes)||void 0===z?void 0:z.metadata)||void 0===y?void 0:y.metaTitle,null===(A=null===(S=a.data.layouts.data[0].attributes)||void 0===S?void 0:S.metadata)||void 0===A?void 0:A.metaDescription),!(null===(B=a.data.layouts.data[0].attributes)||void 0===B)&&B.schemaMarkup&&(this.schemaMarkup=a.data.layouts.data[0].attributes.schemaMarkup,this.schemaMarkupService.setJsonLd(this.renderer,JSON.parse(this.schemaMarkup))),this.menus=this.generalService.processMenus(this.menus),this.sidemenuPosition=null===(D=a.data.layouts.data[0])||void 0===D?void 0:D.attributes.sidemenu_position,this.isTopMenu=(null===(X=null===(v=a.data.layouts.data[0])||void 0===v?void 0:v.attributes)||void 0===X?void 0:X.isTopMenu)||!1,this.design=(null===(g1=null===(f1=a.data.layouts.data[0])||void 0===f1?void 0:f1.attributes)||void 0===g1?void 0:g1.design)||"v1",this.pageContent=null===(u1=a.data.layouts.data[0])||void 0===u1?void 0:u1.attributes.pageContent,this.title=null===(h1=null===(v1=a.data.layouts.data[0])||void 0===v1?void 0:v1.attributes)||void 0===h1?void 0:h1.title,this.breadcrumbs=null===(x1=a.data.layouts.data[0])||void 0===x1?void 0:x1.attributes.breadcrumbs):this.showPageNotFound=!0},error:a=>{if(a){const c={error:{name:"Error",message:"No data found."}};this.platformService.isBrowserPlatform()&&this.popupService.openAlert(c)}}}).add(()=>{i.close()})}getCurvedImageBannerData(){var e;return(null===(e=this.pageContent)||void 0===e?void 0:e.find(i=>"ComponentSectionsCurvedImageBanner"===i.__typename))||null}directToDetailPage(e){this.router.navigate([e])}getPageContent(e){return JSON.stringify(e)}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(g.gz),t.Y36(t1),t.Y36(g.F0),t.Y36(N.W),t.Y36(J.m),t.Y36(C1.Yg),t.Y36(I.R),t.Y36(q.m),t.Y36(t.Qsj),t.Y36(o1.v))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-dynamic"]],decls:3,vars:3,consts:[["class","max-w-[1200px] mx-auto
1sm:-mb-28 text-left custom-padding sm:mt-28",4,"ngIf"],["class","sm:mt-20",4,"ngIf"],["class","dynamic-content-container",4,"ngIf"],[1,"max-w-[1200px]","mx-auto","sm:-mb-28","text-left","custom-padding","sm:mt-28"],[3,"breadcrumbs"],[1,"sm:mt-20"],["class","mt-16",4,"ngIf"],["class","mt-12 mx-auto max-w-[1200px] w-full",4,"ngIf"],[1,"flex","flex-col","sm:flex-row","gap-8","mt-12","mx-auto","max-w-[1200px]","w-full"],["class","flex-shrink flex-col gap-2 max-sm:px-4",4,"ngIf"],[1,"flex-grow","w-full","max-sm:px-4"],[4,"ngIf"],[1,"mt-16"],[3,"banner"],[1,"mt-12","mx-auto","max-w-[1200px]","w-full"],[3,"menus"],[1,"flex-shrink","flex-col","gap-2","max-sm:px-4"],[4,"ngFor","ngForOf"],[3,"data",4,"ngIf"],[3,"sidemenu_name","sidemenuPosition","data","design",4,"ngIf"],[3,"video",4,"ngIf"],[3,"data","path",4,"ngIf"],[3,"blockTenData","path",4,"ngIf"],[3,"data","iconWithContainer",4,"ngIf"],[3,"contentDetails",4,"ngIf"],[3,"data"],[3,"sidemenu_name","sidemenuPosition","data","design"],[3,"video"],[3,"data","path"],[3,"blockTenData","path"],[3,"data","iconWithContainer"],[3,"contentDetails"],[1,"dynamic-content-container"],[1,"content-holder"],[1,"top-wrapper","business-top-wrapper"],[4,"ngIf","ngIfElse"],["templateWithoutMenu",""],["class","",4,"ngIf"],[1,"d-md-flex","d-sm-block"],["class","sidebar-container",4,"ngIf"],[1,"col-md-10","col-sm-12","right-content-container"],["class","content-title",4,"ngIf"],[1,""],[1,"sidebar-container"],[1,"content-title"],["class","content-container",4,"ngFor","ngForOf"],[1,"content-container"],[3,"sidemenu_name","sidemenuPosition","data",4,"ngIf"],[3,"sidemenu_name","sidemenuPosition","data"]],template:function(e,i){1&e&&(t.YNc(0,fr,2,1,"div",0),t.YNc(1,ts,7,4,"div",1),t.YNc(2,Tp,7,3,"div",2)),2&e&&(t.Q6J("ngIf","v2"===i.design&&i.breadcrumbs&&i.breadcrumbs.length>0),t.xp6(1),t.Q6J("ngIf","v2"===i.design),t.xp6(1),t.Q6J("ngIf","v1"===i.design))},dependencies:[s.sg,s.O5,R.L,k1,a1.r,c1,z1,w1.X,y1,l1,F,Z.W,r1,s1,Z1,S1,U,m1,L1,O1,I1,H1,J1,Q1,A1,B1,D1,V1,j,q1,_1,$1,j1,R1,G1,K1,W1,V2,Y2],styles:[".dynamic-content-container[_ngcontent-%COMP%] .content-holder[_ngcontent-%COMP%]{background-color:#fff}.dynamic-content-container[_ngcontent-%COMP%] .content-holder[_ngcontent-%COMP%] .top-wrapper[_ngcontent-%COMP%]{max-width:1200px;padding:3rem 0;margin:0 auto}.dynamic-content-container[_ngcontent-%COMP%] .content-holder[_ngcontent-%COMP%] .business-top-wrapper[_ngcontent-%COMP%]{padding:7rem 0 3rem}.dynamic-main-container[_ngcontent-%COMP%]{padding:9.6rem 0 3.5rem;margin:0 auto 5rem}.sidebar-container[_ngcontent-%COMP%]{max-width:16rem;min-width:15rem}.content-title[_ngcontent-%COMP%]{font-family:GothamMedium;font-style:normal;font-weight:500;font-size:3.5714rem;text-align:center;color:#0e1111;line-height:62px!important;margin:3rem 0}@media only screen and (max-width: 767px){.dynamic-content-container[_ngcontent-%COMP%] .content-holder[_ngcontent-%COMP%] .top-wrapper[_ngcontent-%COMP%]{margin-bottom:1rem}.sidebar-container[_ngcontent-%COMP%]{max-width:100%!important;position:relative;margin:1rem}.col-md-10[_ngcontent-%COMP%]{margin-left:0}.content-title[_ngcontent-%COMP%]{font-size:1.71428rem!important}}@media only screen and (min-width: 1300){.sidebar-container[_ngcontent-%COMP%]{max-width:22rem;position:fixed}.col-md-10[_ngcontent-%COMP%]{margin-left:22rem}}@media only screen and (max-width: 870px){.dynamic-content-container[_ngcontent-%COMP%] .content-holder[_ngcontent-%COMP%] .top-wrapper[_ngcontent-%COMP%]{padding:7rem 1.4285rem 2.857rem}}@media only screen and (max-width: 768px){.dynamic-content-container[_ngcontent-%COMP%] .content-holder[_ngcontent-%COMP%] .business-top-wrapper[_ngcontent-%COMP%]{padding:1rem 1.4285rem 2.857rem}}.right-content-container[_ngcontent-%COMP%]{flex:1}"]}),n})();const Zp={"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://www.pos.com.my/investor-relations/bursa-announcements#webpage",url:"https://www.pos.com.my/investor-relations/bursa-announcements",name:"Bursa Announcements & Investor Relations | Pos Malaysia",description:"Access Pos Malaysia's latest Bursa Malaysia announcements, annual reports, AGM notices, stock information, and share price disclosures for informed investment decisions.",inLanguage:"en-MY",isPartOf:{"@id":"https://www.pos.com.my/#website"},breadcrumb:{"@id":"https://www.pos.com.my/investor-relations/bursa-announcements#breadcrumb"},about:{"@id":"https://www.pos.com.my/#organization"}},{"@type":"WebSite","@id":"https://www.pos.com.my/#website",url:"https://www.pos.com.my/",name:"Pos Malaysia",publisher:{"@id":"https://www.pos.com.my/#organization"}},{"@type":"Organization","@id":"https://www.pos.com.my/#organization",name:"Pos Malaysia Berhad",legalName:"Pos Malaysia Berhad",url:"https://www.pos.com.my/",logo:{"@type":"ImageObject",url:"https://www.pos.com.my/assets/images/pos-malaysia-logo.png"},sameAs:["https://www.facebook.com/posmalaysia","https://www.instagram.com/posmalaysia","https://twitter.com/posmalaysia","https://www.linkedin.com/company/pos-malaysia","https://www.wikidata.org/wiki/Q3371880"]},{"@type":"BreadcrumbList","@id":"https://www.pos.com.my/investor-relations/bursa-announcements#breadcrumb",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://www.pos.com.my/"},{"@type":"ListItem",position:2,name:"Investor Relations",item:"https://www.pos.com.my/investor-relations"},{"@type":"ListItem",position:3,name:"Bursa Announcements",item:"https://www.pos.com.my/investor-relations/bursa-announcements"}]},{"@type":"ItemList","@id":"https://www.pos.com.my/investor-relations/bursa-announcements#disclosurelist",name:"Pos Malaysia Bursa Malaysia Financial Disclosures",description:"Official Bursa Malaysia announcements, annual reports, AGM notices, stock information, and share price performance data for Pos Malaysia Berhad.",url:"https://www.pos.com.my/investor-relations/bursa-announcements",itemListElement:[{"@type":"ListItem",position:1,name:"Annual Reports",description:"Pos Malaysia Berhad annual reports providing audited financial statements and business performance summaries."},{"@type":"ListItem",position:2,name:"AGM Notices",description:"Annual General Meeting notices and resolutions for Pos Malaysia Berhad shareholders."},{"@type":"ListItem",position:3,name:"Stock Information & Share Price Performance",description:"Pos Malaysia Berhad (POSMALAYSIA) share price data, stock information, and historical performance on Bursa Malaysia."},{"@type":"ListItem",position:4,name:"Bursa Malaysia Announcements",description:"All official Pos Malaysia Berhad regulatory announcements submitted to Bursa Malaysia."}]},{"@type":"FAQPage","@id":"https://www.pos.com.my/investor-relations/bursa-announcements#faq",mainEntity:[{"@type":"Question",name:"Where can I find Pos Malaysia's Bursa Malaysia announcements?",acceptedA
1nswer:{"@type":"Answer",text:"Pos Malaysia's official Bursa Malaysia announcements are published on the Pos Malaysia Investor Relations page at pos.com.my/investor-relations/bursa-announcements. Announcements are also filed on the Bursa Malaysia official website."}},{"@type":"Question",name:"Where can I find Pos Malaysia's annual report?",acceptedAnswer:{"@type":"Answer",text:"Pos Malaysia's annual reports are available on the Investor Relations section of pos.com.my. Reports include audited financial statements, business performance data, and corporate governance disclosures for each financial year."}},{"@type":"Question",name:"What is Pos Malaysia's stock symbol on Bursa Malaysia?",acceptedAnswer:{"@type":"Answer",text:"Pos Malaysia Berhad is listed on the Main Market of Bursa Malaysia under the stock name POSMALAYSIA. Investors can access stock price information, AGM notices, and all corporate announcements through the Investor Relations section at pos.com.my."}}]}]};function Lp(n,o){1&n&&(t.TgZ(0,"div",14)(1,"div",15),t._UZ(2,"img",16),t.TgZ(3,"div",17)(4,"div",18)(5,"h1",19),t._uU(6," Pos Malaysia Bursa Announcements: Investor Relations & Financial Disclosures "),t.qZA(),t.TgZ(7,"p",20),t._uU(8," Make informed investment decisions through updates on Pos Malaysia's investor initiatives. "),t.qZA()()()()())}function Op(n,o){1&n&&(t.TgZ(0,"div",21)(1,"div",22),t._UZ(2,"img",23),t.TgZ(3,"div",17)(4,"div",24)(5,"h1",25),t._uU(6," Pos Malaysia Bursa Announcements: Investor Relations & Financial Disclosures "),t.qZA(),t.TgZ(7,"p",26),t._uU(8," Make informed investment decisions through updates on Pos Malaysia's investor initiatives. "),t.qZA()()()(),t._UZ(9,"img",27),t.qZA())}function Ip(n,o){if(1&n&&(t.TgZ(0,"mat-option",33),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.Q6J("value",e.slug),t.xp6(1),t.hij(" ",e.title," ")}}function Hp(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",28)(1,"div",29)(2,"mat-form-field",30)(3,"mat-select",31),t.NdJ("ngModelChange",function(a){t.CHM(e);const c=t.oxw();return t.KtG(c.selectedMenu=a)})("selectionChange",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.onMenuChange())}),t.YNc(4,Ip,2,2,"mat-option",32),t.qZA()()()()}if(2&n){const e=t.oxw();
1t.xp6(3),t.Q6J("ngModel",e.selectedMenu),t.xp6(1),t.Q6J("ngForOf",e.menus.slice(1))}}function Jp(n,o){if(1&n&&(t.TgZ(0,"div",34),t._UZ(1,"app-sidebar",35),t.qZA()),2&n){const e=t.oxw();t.xp6(1),t.Q6J("menus",e.menus)("showMainTitle",!1)}}function Qp(n,o){if(1&n&&t._UZ(0,"app-inner-html",37),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Ap(n,o){if(1&n&&t._UZ(0,"app-report",37),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Bp(n,o){if(1&n&&t._UZ(0,"app-accordion",37),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Dp(n,o){if(1&n&&t._UZ(0,"app-list-item",37),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Vp(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,Qp,1,1,"app-inner-html",36),t.YNc(2,Ap,1,1,"app-report",36),t.YNc(3,Bp,1,1,"app-accordion",36),t.YNc(4,Dp,1,1,"app-list-item",36),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf","ComponentSectionsRichTextEditor"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsReportSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCollapsableSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsSimpleReportSection"==e.__typename)}}let Yp=(()=>{class n{constructor(e,i,a,c,l,r,p){this.layoutService=e,this.router=i,this.popupService=a,this.generalService=c,this.metaService=l,this.renderer=r,this.schemaMarkupService=p,this.breadcrumbs=[{title:"Home",path:"/"},{title:"Investor Relations",path:"/bursa-announcements"}],this.isMobile=!1}ngOnInit(){this.checkScreenSize(),this.metaService.updateCanonicalUrl(`${H.N.webDomain}${this.router.url.slice(1)}`),this.metaService.updateMeta("Bursa Announcements & Investor Relations | Pos Malaysia","Access Pos Malaysia's latest Bursa Malaysia announcements, annual reports, AGM notices, stock information, and share price disclosures for informed investment decisions."),this.schemaMarkupService.setJsonLd(this.renderer,Zp),this.fetchData()}onResize(e){this.checkScreenSize()}checkScreenSize(){this.isMobile=window.innerWidth<w.mD}fetchData(){this.path=this.router.url.replace("/","");const i=this.popupService.openLoading();this.layoutService.getPageLayoutData("en",this.path,!1,0,0,0,w.BO).subscribe({next:a=>{var c,l,r,p,m,f,h,b,C;a.data.layouts.data.length>0?(null!=(null===(c=a.data.layouts.data[0])||void 0===c?void 0:c.attributes.sidemenu.data)&&(this.menus=null===(l=a.data.layouts.data[0])||void 0===l?void 0:l.attributes.sidemenu.data.attributes.sideMenuList,this.sidemenu_name=null===(r=a.data.layouts.data[0])||void 0===r?void 0:r.attributes.sidemenu.data.attributes.sidemenu_name),this.menus=this.generalService.processMenus(this.menus),this.sidemenuPosition=null===(p=a.data.layouts.data[0])||void 0===p?void 0:p.attributes.sidemenu_position,this.pageContent=null===(m=a.data.layouts.data[0])||void 0===m?void 0:m.attributes.pageContent,this.title=null===(h=null===(f=a.data.layouts.data[0])||void 0===f?void 0:f.attributes)||void 0===h?void 0:h.title,this.breadcrumbs=null===(b=a.data.layouts.data[0])||void 0===b?void 0:b.attributes.breadcrumbs,this.selectedMenu=null===(C=a.data.layouts.data[0])||void 0===C?void 0:C.attributes.slug):this.showPageNotFound=!0},error:a=>{a&&this.popupService.openAlert({error:{name:"Error",message:"No data found."}})}}).add(()=>{i.close()})}onMenuChange(){this.router.navigate([this.selectedMenu]).then(e=>{this.fetchData()})}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(t1),t.Y36(g.F0),t.Y36(N.W),t.Y36(J.m),t.Y36(I.R),t.Y36(t.Qsj),t.Y36(o1.v))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-investor-relations"]],hostBindings:function(e,i){1&e&&t.NdJ("resize",function(c){return i.onResize(c)},!1,t.Jf7)},decls:17,vars:6,consts:[[1,"pt-2","sm:mt-24","mx-auto"],[1,"max-w-[1200px]","mx-auto","sm:px-0","px-4"],[3,"breadcrumbs"],["class","mx-auto w-full px-6 lg:px-8",4,"ngIf"],["class","mx-auto w-full px-0 sm:px-6 lg:px-8",4,"ngIf"],[1,"w-full","pb-8","mt-12","px-8","sm:px-0"],[1,"max-w-[1200px]","mx-auto"],[1,"text-[20px]",2,"font-family","var(--font-regular)"],["class","w-full px-8 sm:px-0",4,"ngIf"],[1,"w-full","pb-8","mt-8","px-8","sm:px-0"],[1,"max-w-[1200px]","mx-auto","flex","gap-x-8"],["class","sidebar-container min-w-fit",4,"ngIf"],[1,"w-full","content-container"],[4,"ngFor","ngForOf"],[1,"mx-auto","w-full","px-6","lg:px-8"],[1,"relative","isolate","overflow-hidden","py-24","sm:py-32"],["loading","lazy","src","https://d38eiojdjahdit.cloudfront.net/investor_relation_kv_d_0a97781408.png","alt","Investor Relations banner",1,"absolute","
1inset-0","-z-10","h-full","w-full","object-cover"],[1,"mx-auto","max-w-[1200px]"],[1,"text-white","max-w-lg"],[1,"text-[34px]","sm:text-[40px]","font-extrabold","mb-4",2,"font-family","var(--font-regular)"],[1,"text-[16px]","sm:text-[20px]"],[1,"mx-auto","w-full","px-0","sm:px-6","lg:px-8"],[1,"relative","isolate","overflow-hidden","px-4","py-12"],["loading","lazy","src","https://d38eiojdjahdit.cloudfront.net/sendparcel_bg_m_red_2x_dffe8aa322.png","alt","Press room banner",1,"absolute","inset-0","-z-10","w-full","object-fill"],[1,"text-white","max-w-sm"],[1,"text-[34px]","font-extrabold","mb-4",2,"font-family","var(--font-regular)"],[1,"text-[16px]"],["loading","lazy","src","https://d38eiojdjahdit.cloudfront.net/investor_relation_kv_m_bb664a072d.png","alt","Investor Relations banner",1,"h-full","w-full","object-cover"],[1,"w-full","px-8","sm:px-0"],[1,"max-w-[1200px]","mx-auto","flex","gap-x-8","w-full","bg-white"],["appearance","outline",1,"w-full","form-control-material"],["placeholder","Menu",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"sidebar-container","min-w-fit"],[3,"menus","showMainTitle"],[3,"data",4,"ngIf"],[3,"data"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"app-breadcrumb",2),t.qZA(),t.YNc(3,Lp,9,0,"div",3),t.YNc(4,Op,10,0,"div",4),t.TgZ(5,"div",5)(6,"div",6)(7,"p",7),t._uU(8," Pos Malaysia places utmost importance on establishing and maintaining a strong and transparent relationship with our stakeholders and the broader investment community. "),t.qZA(),t.TgZ(9,"p",7),t._uU(10," Our Investor Relations programme ensures timely and transparent disclosure of relevant and material information on Pos Malaysia\u2019s developments to its investors, to enhance understanding of the company and facilitate informed investment decisions. "),t.qZA()()(),t.YNc(11,Hp,5,2,"div",8),t.TgZ(12,"div",9)(13,"div",10),t.YNc(14,Jp,2,2,"div",11),t.TgZ(15,"div",12),t.YNc(16,Vp,5,4,"div",13),t.qZA()()()()),2&e&&(t.xp6(2),t.Q6J("breadcrumbs",i.breadcrumbs),t.xp6(1),t.Q6J("ngIf",!i.isMobile),t.xp6(1),t.Q6J("ngIf",i.isMobile),t.xp6(7),t.Q6J("ngIf",i.menus&&i.isMobile),t.xp6(3),t.Q6J("ngIf",i.menus&&!i.isMobile),t.xp6(2),t.Q6J("ngForOf",i.pageContent))},dependencies:[s.sg,s.O5,R.L,c1,d.JJ,d.On,G.KE,K.gD,W.ey,l1,Z.W,r1,s1],styles:[".mat-mdc-text-field-wrapper{background:#ffffff 0% 0% no-repeat padding-box;box-shadow:0 0 10px #00000029;border-radius:5px}.mat-mdc-text-field-wrapper .mat-mdc-select-value{font-size:16px;font-family:var(--font-medium);color:#0e1111}\n"],encapsulation:2}),n})(),qp=(()=>{class n extends V._{constructor(e){super(e),this.http=e,this.endPoint="/graphql",this.manualConstructor()}getSidemenu(e,i){const a=JSON.stringify({query:"\n query GetSidemenus(\n $publicationState: PublicationState!\n $sidemenuName: String!\n ) {\n sidemenus (\n filters: { sidemenu_name: { eq: $sidemenuName } }\n publicationState: $publicationState\n ) {\n data {\n id\n attributes {\n sidemenu_name \n sideMenuList {\n id\n title\n slug\n parent_slug\n }\n }\n }\n }\n }\n ",variables:{publicationState:i?"PREVIEW":"LIVE",sidemenuName:e}});return this.http.post(this.fullPathEndPoint,a,{headers:{"content-type":"application/json"}})}}return n.\u0275fac=function(e){return new(e||n)(t.LFG(Y.eN))},n.\u0275prov=t.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Fp(n,o){1&n&&t._UZ(0,"app-page-not-found")}const Q=function(n){return[n]};function Up(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",7)(1,"div",8)(2,"div",9)(3,"div",10)(4,"h3",11),t._uU(5,"NEWS RELEASE"),t.qZA(),t.TgZ(6,"h1",12),t._uU(7),t.qZA(),t._UZ(8,"p",13),t.TgZ(9,"p",14),t._uU(10),t.ALo(11,"amDateFormat"),t.qZA(),t.TgZ(12,"div",15)(13,"div",16)(14,"a",17),t._UZ(15,"img",18),t.qZA(),t._UZ(16,"div",19),t.TgZ(17,"a",17),t._UZ(18,"img",20),t.qZA(),t._UZ(19,"div",19),t.TgZ(20,"a",21),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.shareToWhatsapp())}),t._UZ(21,"img",22),t.qZA(),t._UZ(22,"div",19),t.TgZ(23,"a",17),t._UZ(24,"img",23),t.qZA()()()()()()()}if(2&n){const e=t.oxw(2);t.xp6(7),t.Oqu(e.contentDetails.title),t.xp6(1),t.Q6J("innerHTML",e.contentDetails.description,t.oJD),t.xp6(2),t.hij(" ",t.xi3(11,6,null==e.contentDetails?null:e.contentDetails.published_date,"DD MMM YYYY hh:mm a")," "),t.xp6(4),t.Q6J("href",t.VKq(9,Q,"https://www.facebook.com/sharer/sharer.php?u="+e.sharedLink),t.LSH),t.xp6(3),t.Q6J("href",t.VKq(11,Q,"https://twitter.com/share?url="+e.sharedLink+"&text="+e.contentDetails.title),t.LSH),t.xp6(6),t.Q6J("href",t.VKq(13,Q,"http://www.linkedin.com/shareArticle?url="+e.sharedLink+"&title="+e.contentDetails.title),t.LSH)}}function $p(n,o){if(1&n&&t._UZ(0,"app-inner-html",27),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Ep(n,o){if(1&n&&t._UZ(0,"app-carousel",27),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function jp(n,o){if(1&n&&t._UZ(0,"app-video",28),2&n){const e=t.oxw().$implicit;t.Q6J("video",e)}}function Rp(n,o){if(1&n&&t._UZ(0,"app-block-fifteen",27),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Gp(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,$p,1,1,"app-inner-html",25),t.YNc(2,Ep,1,1,"app-carousel",25),t.YNc(3,jp,1,1,"app-video",26),t.YNc(4,Rp,1,1,"app-block-fifteen",25),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf","ComponentSectionsRichTextEditor"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCarouselBannerSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsLargeVideo"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock15"==e.__typename)}}function Kp(n,o){if(1&n&&(t.TgZ(0,"div",7)(1,"div",8),t.YNc(2,Gp,5,4,"div",24),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(2),t.Q6J("ngForOf",e.innerPageContent)}}function Wp(n,o){if(1&n&&(t.TgZ(0,"div",2)(1,"div",3),t._UZ(2,"app-breadcrumb",4),t.qZA(),t.YNc(3,Fp,1,0,"app-page-not-found",5),t.YNc(4,Up,25,15,"div",6),t.YNc(5,Kp,3,1,"div",6),t.qZA()),2&n){const e=t.oxw();
1t.xp6(2),t.Q6J("breadcrumbs",e.breadcrumbs),t.xp6(1),t.Q6J("ngIf",e.showPageNotFound),t.xp6(1),t.Q6J("ngIf",!e.showPageNotFound&&e.contentDetails),t.xp6(1),t.Q6J("ngIf",e.innerPageContent&&!e.showPageNotFound)}}function Xp(n,o){1&n&&t._UZ(0,"app-page-not-found")}function tm(n,o){if(1&n&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.hij("\xa0 | \xa0",null==e.contentDetails?null:e.contentDetails.readTime,"")}}function em(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",47)(1,"button",48),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.onLanguageSwitch("en"))}),t._uU(2," ENG "),t.qZA(),t.TgZ(3,"button",48),t.NdJ("click",function(){t.CHM(e);const a=t.oxw(2);return t.KtG(a.onLanguageSwitch("ms-MY"))}),t._uU(4," BM "),t.qZA()()}if(2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngClass","en"==e.language?"bg-[#ff474f] text-white":"bg-white text-[#ff474f]"),t.xp6(2),t.Q6J("ngClass","ms-MY"==e.language?"bg-[#ff474f] text-white":"bg-white text-[#ff474f]")}}function nm(n,o){if(1&n&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Oqu(e.shareText)}}function im(n,o){if(1&n&&t._UZ(0,"app-inner-html",27),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function om(n,o){if(1&n&&t._UZ(0,"app-carousel",27),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function am(n,o){if(1&n&&t._UZ(0,"app-video",28),2&n){const e=t.oxw().$implicit;t.Q6J("video",e)}}function cm(n,o){if(1&n&&t._UZ(0,"app-block-fifteen",27),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function lm(n,o){if(1&n&&(t.TgZ(0,"div",30),t.YNc(1,im,1,1,"app-inner-html",25),t.YNc(2,om,1,1,"app-carousel",25),t.YNc(3,am,1,1,"app-video",26),t.YNc(4,cm,1,1,"app-block-fifteen",25),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf","ComponentSectionsRichTextEditor"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCarouselBannerSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsLargeVideo"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock15"==e.__typename)}}function rm(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",29)(1,"div",30),t.YNc(2,Xp,1,0,"app-page-not-found",5),t.qZA(),t.TgZ(3,"div",31)(4,"div",32)(5,"a",33)(6,"p",34),t._uU(7),t.qZA()(),t.TgZ(8,"h1",35),t._uU(9),t.qZA(),t.TgZ(10,"p",36)(11,"span"),t._uU(12),t.ALo(13,"amDateFormat"),t.qZA(),t.YNc(14,tm,2,1,"span",5),t.qZA(),t.TgZ(15,"div",37),t.YNc(16,em,5,2,"div",38),t.TgZ(17,"div",39),t.YNc(18,nm,2,1,"span",5),t.TgZ(19,"div",40)(20,"a",17),t._UZ(21,"img",41),t.qZA(),t._UZ(22,"div",19),t.TgZ(23,"a",17),t._UZ(24,"img",42),t.qZA(),t._UZ(25,"div",19),t.TgZ(26,"a",21),t.NdJ("click",function(){t.CHM(e);const a=t.oxw();return t.KtG(a.shareToWhatsapp())}),t._UZ(27,"img",43),t.qZA(),t._UZ(28,"div",19),t.TgZ(29,"a",17),t._UZ(30,"img",44),t.qZA()()()()(),t._UZ(31,"hr",45),t.YNc(32,lm,5,4,"div",46),t.qZA()()}if(2&n){const e=t.oxw();
1t.xp6(2),t.Q6J("ngIf",e.showPageNotFound),t.xp6(3),t.Q6J("routerLink",t.VKq(15,Q,"/"+(null==e.contentDetails?null:e.contentDetails.category.data.attributes.slug))),t.xp6(2),t.hij(" ",null==e.contentDetails?null:e.contentDetails.category.data.attributes.title," "),t.xp6(2),t.hij(" ",null==e.contentDetails?null:e.contentDetails.title," "),t.xp6(3),t.Oqu(t.xi3(13,12,null==e.contentDetails?null:e.contentDetails.published_date,"DD MMM YYYY")),t.xp6(2),t.Q6J("ngIf",null==e.contentDetails?null:e.contentDetails.readTime),t.xp6(2),t.Q6J("ngIf",e.showToggle()),t.xp6(2),t.Q6J("ngIf",e.showToggle()),t.xp6(2),t.Q6J("href",t.VKq(17,Q,"https://www.facebook.com/sharer/sharer.php?u="+e.sharedLink),t.LSH),t.xp6(3),t.Q6J("href",t.VKq(19,Q,"https://twitter.com/share?url="+e.sharedLink+"&text="+(null==e.contentDetails?null:e.contentDetails.title)),t.LSH),t.xp6(6),t.Q6J("href",t.VKq(21,Q,"http://www.linkedin.com/shareArticle?url="+e.sharedLink+"&title="+(null==e.contentDetails?null:e.contentDetails.title)),t.LSH),t.xp6(3),t.Q6J("ngForOf",e.innerPageContent)}}let q2=(()=>{class n{constructor(e,i,a,c,l,r,p){this.route=e,this.popupService=i,this.router=a,this.postsService=c,this.sidemenuService=l,this.metaService=r,this.platformService=p,this.postDetailSlug="",this.language="en",this.slug="",this.showPageNotFound=!1,this.sharedLink="",this.design="",this.shareTextEn="Share this page via",this.shareTextBm="Kongsi laman ini melalui",this.shareText=this.shareTextEn,this.breadcrumbs=[{title:"Home",path:"/"},{title:"Press Room",path:"/pressroom"}],this.category=""}ngOnInit(){this.metaService.updateMeta("Pos Malaysia | Your trusted Malaysian courier & logistics provider | Pos Laju","Pos Malaysia | Your trusted Malaysian courier & logistics provider | Pos Laju"),this.sharedLink=`${H.N.webDomain}${this.router.url.slice(1)}`,this.route.queryParams.subscribe(e=>{this.slug=e.postDetailId}),this.route.queryParamMap.subscribe(e=>{this.language=e.get("lang")||"en",this.shareText="en"===this.language?this.shareTextEn:this.shareTextBm}),this.slug?(this.postDetailSlug=this.slug,this.fetchData(this.postDetailSlug,this.language)):this.router.navigate(["/"])}onLanguageSwitch(e="en"){this.router.navigate([],{queryParams:{lang:e},queryParamsHandling:"merge"}),this.language=e,this.fetchData(this.slug,this.language),this.shareText="en"===e?this.shareTextEn:this.shareTextBm}fetchData(e,i){const a=this.popupService.openLoading();this.postsService.getPostDetails(e,!1,i).subscribe({next:c=>{var l,r,p,m,f,h,b,C,M,z;if(c.data.posts.data){this.contentDetails=c.data.posts.data[0].attributes;const y=this.metaService.getCanonicalUrl(null===(l=this.contentDetails)||void 0===l?void 0:l.canonicalUrl,null===(r=this.contentDetails)||void 0===r?void 0:r.canonicalURL,null===(m=null===(p=this.contentDetails)||void 0===p?void 0:p.seo)||void 0===m?void 0:m.canonicalUrl,null===(h=null===(f=this.contentDetails)||void 0===f?void 0:f.seo)||void 0===h?void 0:h.canonicalURL,`${H.N.webDomain}${this.router.url}`);this.metaService.updateCanonicalUrl(y),this.design=c.data.posts.data[0].attributes.design||"v1",this.innerPageContent=c.data.posts.data[0].attributes.pageContent,this.category=null===(z=null===(M=null===(C=null===(b=this.contentDetails)||void 0===b?void 0:b.category)||void 0===C?void 0:C.data)||void 0===M?void 0:M.attributes)||void 0===z?void 0:z.title,this.breadcrumbs.push({title:this.contentDetails.title,path:""})}else this.showPageNotFound=!0},error:c=>{if(this.showPageNotFound=!0,c){const l={error:{name:"Error",message:"No data found."}};this.platformService.isBrowserPlatform()&&this.popupService.openAlert(l)}}}).add(()=>{a.close()})}shareToWhatsapp(){var e,i;this.isMobileAgent?window.open(`whatsapp://send?text=${null===(e=this.contentDetails)||void 0===e?void 0:e.title}:${this.sharedLink}\u200b`,"_blank"):window.open(`https://web.whatsapp.com/send?text=${null===(i=this.contentDetails)||void 0===i?void 0:i.title}:${this.sharedLink}`,"_blank")}showToggle(){var e;return new Date(null===(e=this.contentDetails)||void 0===e?void 0:e.published_date).getTime()>new Date("2025-07-28").getTime()||!1}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(g.gz),t.Y36(N.W),t.Y36(g.F0),t.Y36(e1.P),t.Y36(qp),t.Y36(I.R),t.Y36(q.m))}
1,n.\u0275cmp=t.Xpm({type:n,selectors:[["app-news-info-details"]],decls:3,vars:2,consts:[["class","pt-2 sm:mt-24 mx-auto news-info-detail-container",4,"ngIf","ngIfElse"],["designV2",""],[1,"pt-2","sm:mt-24","mx-auto","news-info-detail-container"],[1,"max-w-[1200px]","mx-auto","sm:px-0","px-4"],[3,"breadcrumbs"],[4,"ngIf"],["class","w-full mt-12 pb-8",4,"ngIf"],[1,"w-full","mt-12","pb-8"],[1,"max-w-[1200px]","mx-auto","px-4","sm:px-0"],[1,"flex","justify-between","flex-col","gap-x-20","md:flex-row"],[1,"flex","flex-col","w-full"],[1,"text-[20px]","font-bold","text-[#ED1C24]","tag"],[1,"content-title","mt-4"],[1,"grow",3,"innerHTML"],[1,"text-[#0E1111]","opacity-40"],[1,"kh-detail-share-container"],[1,"kh-detail-share-buttons-container"],["target","_blank",3,"href"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/icon-facebook.png","loading","lazy",1,"icon"],[1,"sm-divider"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/icon-x.png","loading","lazy",1,"icon"],["target","_blank",3,"click"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/icon-whatsapp.png","loading","lazy",1,"icon"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/icon-linkedin.png","loading","lazy",1,"icon"],[4,"ngFor","ngForOf"],[3,"data",4,"ngIf"],[3,"video",4,"ngIf"],[3,"data"],[3,"video"],[1,"mt-custom"],[1,"max-w-[1200px]","mx-auto","sm:px-0","px-4","overflow-auto"],[1,"flex-col"],[1,"max-w-[1200px]","mx-auto","sm:px-0","px-4","overflow-auto","space-y-4"],[1,"no-underline",3,"routerLink"],[1,"text-[16px]","sm:text-[18px]","text-red-500","uppercase","font-semibold",2,"font-family","var(--font-regular)"],[1,"text-[32px]","sm:text-[54px]","font-bold",2,"font-family","var(--font-regular)"],[1,"my-2","text-gray-400"],[1,"flex","flex-col","sm:flex-row","justify-between","items-start"],["class","flex flex-row gap-3 justify-between items-start mt-4 sm:mt-0",4,"ngIf"],[1,"flex","flex-col","sm:flex-row","gap-2","justify-center","items-start","sm:items-center","mt-4","sm:mt-0"],[1,"flex","flex-row","gap-2","justify-center","items-center","my-2"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/icon-facebook.png","loading","lazy",1,"icon","size-10"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/icon-x.png","loading","lazy",1,"icon","size-10"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/icon-whatsapp.png","loading","lazy",1,"icon","size-10"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/icon-linkedin.png","loading","lazy",1,"icon","size-10"],[1,"h-[0.5px]","text-gray-500","my-16","max-w-[1200px]","mx-auto","sm:px-0","px-4","overflow-auto"],["class","max-w-[1200px] mx-auto sm:px-0 px-4 overflow-auto",4,"ngFor","ngForOf"],[1,"flex","flex-row","gap-3","justify-between","items-start","mt-4","sm:mt-0"],[1,"border-[#ff474f]","flex","justify-center","items-center","border-1","h-[34px]","min-w-[88px]","font-medium","text-[16px]","hover:scale-105","hover:shadow-lg","transition-all","duration-200","ease-in-out","rounded-md",2,"font-family","var(--font-regular) !important",3,"ngClass","click"]],template:function(e,i){if(1&e&&(t.YNc(0,Wp,6,4,"div",0),t.YNc(1,rm,33,23,"ng-template",null,1,t.W1O)),2&e){const a=t.MAs(2);t.Q6J("ngIf","News Release"===i.category)("ngIfElse",a)}},dependencies:[s.mk,s.sg,s.O5,R.L,a1.r,g.rH,F,Z.W,U,j,T.Ek],styles:[".news-info-detail-container[_ngcontent-%COMP%] .content-title[_ngcontent-%COMP%]{font-family:var(--font-bold);font-weight:700;font-size:36px;line-height:44px;color:#0e1111}.news-info-detail-container[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]{font-family:var(--font-bold);font-weight:700}.news-info-detail-container[_ngcontent-%COMP%] .kh-detail-share-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.news-info-detail-container[_ngcontent-%COMP%] .kh-detail-share-container[_ngcontent-%COMP%] .kh-detail-button[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;min-width:88px;height:34px;font-weight:500;font-size:16px;transition:transform .3s,box-shadow .3s}.news-info-detail-container[_ngcontent-%COMP%] .kh-detail-share-container[_ngcontent-%COMP%] .kh-detail-button[_ngcontent-%COMP%]:hover{cursor:pointer;transform:translateY(-2px);box-shadow:0 10px 16px #2c25611a}.news-info-detail-container[_ngcontent-%COMP%] .kh-detail-share-container[_ngcontent-%COMP%] .kh-detail-button-selected[_ngcontent-%COMP%]{border:1px solid #ff474f;border-radius:5px;background-color:var(--primary);color:#fff}.news-info-detail-container[_ngcontent-%COMP%] .kh-detail-share-container[_ngcontent-%COMP%] .kh-detail-button-unselected[_ngcontent-%COMP%]{border:1px solid #ff474f;border-radius:5px;background-color:#fff;color:var(--primary)}.news-info-detail-container[_ngcontent-%COMP%] .kh-detail-share-container[_ngcontent-%COMP%] .kh-detail-share-buttons-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:8px}.news-info-detail-container[_ngcontent-%COMP%] .kh-detail-share-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:34px;height:34px;border-radius:24px;transition:transform .3s,box-shadow .3s}.news-info-detail-container[_ngcontent-%COMP%] .kh-detail-share-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]:hover{cursor:pointer;transform:translateY(-2px);box-shadow:0 10px 16px #2c25611a}.service-update-detail-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.service-update-detail-container[_ngcontent-%COMP%] .tag[_ngcontent-%COMP%]{color:var(--progress);font-weight:700;margin-bottom:2rem;font-size:1.2rem}.service-update-detail-container[_ngcontent-%COMP%] .content-title[_ngcontent-%COMP%]{font-family:GothamMedium;font-style:normal;font-weight:500;font-size:50px;color:#0e1111;line-height:62px!important}.service-update-detail-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline;text-decoration-color:#000}.service-update-detail-container[_ngcontent-%COMP%] .share-btn-container[_ngcontent-%COMP%]{display:flex;margin:2rem 0}.service-update-detail-container[_ngcontent-%COMP%] .share-btn-container[_ngcontent-%COMP%] .share-btn[_ngcontent-%COMP%]{color:var(--m
1id-grey);font-size:1.3rem;width:3rem}.button-share-whatsapp[_ngcontent-%COMP%]{cursor:pointer}.mt-custom[_ngcontent-%COMP%]{margin-top:1rem}@media (min-width: 640px){.mt-custom[_ngcontent-%COMP%]{margin-top:9rem}}"]}),n})();function sm(n,o){if(1&n&&t._UZ(0,"app-block-sixteen",2),2&n){const e=t.oxw();t.Q6J("contentDetails",e.blockPostDetail)}}let pm=(()=>{class n{constructor(e,i,a){this.storageService=e,this.location=i,this.metaService=a,this.blockPostDetail=null,this.metaService.updateMeta("Pos Malaysia | Your trusted Malaysian courier & logistics provider | Pos Laju","Pos Malaysia | Your trusted Malaysian courier & logistics provider | Pos Laju"),this.storageService.blockPostDetail?this.blockPostDetail=JSON.parse(this.storageService.blockPostDetail):this.location.back()}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(Y1.V),t.Y36(s.Ye),t.Y36(I.R))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-post-detail"]],decls:2,vars:1,consts:[[1,"main-container"],[3,"contentDetails",4,"ngIf"],[3,"contentDetails"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,sm,1,1,"app-block-sixteen",1),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",i.blockPostDetail))},dependencies:[s.O5,_1]}),n})();function mm(n,o){1&n&&(t.TgZ(0,"div",19)(1,"div",20),t._UZ(2,"img",21),t.TgZ(3,"div",22)(4,"div",23)(5,"h1",24),t._uU(6," Press Room "),t.qZA(),t.TgZ(7,"p",25),t._uU(8," Stay updated with the latest developments from Pos Malaysia through our Press Room. "),t.qZA()()()()())}function _m(n,o){1&n&&(t.TgZ(0,"div",26)(1,"div",27),t._UZ(2,"img",28),t.TgZ(3,"div",22)(4,"div",29)(5,"h1",30),t._uU(6,"Press Room"),t.qZA(),t.TgZ(7,"p",31),t._uU(8,"Stay updated with the latest developments from Pos Malaysia through our Press Room."),t.qZA()()()(),t._UZ(9,"img",32),t.qZA())}function dm(n,o){if(1&n&&(t.TgZ(0,"mat-option",33),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.Q6J("value",e.value),t.xp6(1),t.hij(" ",e.title," ")}}function fm(n,o){if(1&n&&(t.TgZ(0,"mat-option",33),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.Q6J("value",e.value),t.xp6(1),t.hij(" ",e.title," ")}}function gm(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",34),t.NdJ("click",function(){const c=t.CHM(e).$implicit,l=t.oxw();return t.KtG(l.displayServiceUpdateDetails(c.attributes))}),t.TgZ(1,"div",35),t._UZ(2,"img",36),t.qZA(),t.TgZ(3,"div",37)(4,"p",38),t._uU(5),t.qZA()(),t.TgZ(6,"p",39),t._uU(7),t.ALo(8,"amDateFormat"),t.qZA()()}if(2&n){const e=o.$implicit;t.xp6(2),t.Q6J("src",(null==e||null==e.attributes||null==e.attributes.tile_image||null==e.attributes.tile_image.data||null==e.attributes.tile_image.data.attributes?null:e.attributes.tile_image.data.attributes.url)||"https://d38eiojdjahdit.cloudfront.net/Pos_Logo_e1f552e9eb.png",t.LSH),t.xp6(3),t.Oqu(null==e.attributes?null:e.attributes.title),t.xp6(2),t.hij(" ",t.xi3(8,3,null==e.attributes?null:e.attributes.published_date,"DD MMM YYYY hh:mm a")," ")}}function um(n,o){if(1&n){const e=t.EpF();t.TgZ(0,"div",40)(1,"div",41),t.NdJ("click",function(a){t.CHM(e);const c=t.oxw();return t.KtG(c.fetchMore(a))}),t._UZ(2,"img",42),t.TgZ(3,"div",43),t._uU(4,"SEE MORE"),t.qZA()()()}}let F2=(()=>{class n extends E1.W{constructor(e,i,a,c,l,r,p,m){super(e),this.formBuilder=e,this.popupService=i,this.layoutService=a,this.router=c,this.customBlockApiService=l,this.metaService=r,this.platformService=p,this.postsService=m,this.sidemenuPosition="",this.title="",this.limit=9,this.skip=0,this.sidemenu_name="",this.showPageNotFound=!1,this.MONTH_OPTIONS=[{title:"Month",value:"-1"},{title:"January",value:"01"},{title:"February",value:"02"},{title:"March",value:"03"},{title:"April",value:"04"},{title:"May",value:"05"},{title:"June",value:"06"},{title:"July",value:"07"},{title:"August",value:"08"}
1,{title:"September",value:"09"},{title:"October",value:"10"},{title:"November",value:"11"},{title:"December",value:"12"}],this.YEARS_OPTIONS=[],this.isMobile=!1,this.breadcrumbs=[{title:"Home",path:"/"},{title:"Press Room",path:""}],this.hasMorePage=!0}ngOnInit(){super.ngOnInit(),this.metaService.updateMeta("Pos Malaysia | Your trusted Malaysian courier & logistics provider | Pos Laju","Pos Malaysia | Your trusted Malaysian courier & logistics provider | Pos Laju"),this.metaService.updateCanonicalUrl(`${H.N.webDomain}${this.router.url.slice(1)}`),this.getLayout(),this.getListOfYearOption(""),this.checkScreenSize()}fetchMore(e){this.skip+=this.limit,this.filterPosts()}getListOfYearOption(e){const i=this.popupService.openLoading(),a=O().year();this.YEARS_OPTIONS=[],this.customBlockApiService.getPostOfYears(e).subscribe({next:c=>{c&&c.forEach(l=>{this.YEARS_OPTIONS.push({title:l.year,value:l.year})})},error:c=>{for(let l=9;l>=0;l--)this.YEARS_OPTIONS.push({title:a-l,value:a-l})}}).add(()=>{i.close()})}getLayout(){const e=this.router.url.replace("/",""),a=this.popupService.openLoading();this.layoutService.getPageLayoutData("en",e,!1,this.skip,0).subscribe({next:c=>{var l,r,p,m,f,h,b,C,M,z,y,S;c.data.layouts.data.length>0?(null!=(null===(l=c.data.layouts.data[0])||void 0===l?void 0:l.attributes.sidemenu.data)&&(this.menus=null===(m=null===(p=null===(r=c.data.layouts.data[0])||void 0===r?void 0:r.attributes)||void 0===p?void 0:p.sidemenu.data.attributes)||void 0===m?void 0:m.sideMenuList,this.menus&&(this.patchForm(),this.getListOfYearOption("")),this.sidemenu_name=null===(f=c.data.layouts.data[0])||void 0===f?void 0:f.attributes.sidemenu.data.attributes.sidemenu_name),this.sidemenuPosition=null===(h=c.data.layouts.data[0])||void 0===h?void 0:h.attributes.sidemenu_position,this.pageContent=null===(b=c.data.layouts.data[0])||void 0===b?void 0:b.attributes.pageContent,this.title=null===(M=null===(C=c.data.layouts.data[0])||void 0===C?void 0:C.attributes)||void 0===M?void 0:M.title,this.filterModel={type:this.pageContent&&null!=(null===(z=this.pageContent[0].categories)||void 0===z?void 0:z.data)?[null===(S=null===(y=this.pageContent[0].categories)||void 0===y?void 0:y.data[0].attributes)||void 0===S?void 0:S.title]:[]},this.filterPosts()):this.showPageNotFound=!0},error:c=>{if(c){const l={error:{name:"Error",message:"No data found."}};this.platformService.isBrowserPlatform()&&this.popupService.openAlert(l)}}}).add(()=>{a.close()})}displayServiceUpdateDetails(e){this.router.navigate(["post-list/detail"],{queryParams:{postDetailId:e?.slug,sidemenuName:this.sidemenu_name}})}getPosts(){var e,i,a;this.skip=0;const{year:c,month:l}=this.editForm.value;if(c&&"-1"!==l){const p=O(`${c}-${l}-01`),m=O(`${c}-${l}-01`).endOf("month");this.filterModel=Object.assign(Object.assign({},this.editForm.value),{startDate:p.toISOString(),endDate:m.toISOString()})}else if(c&&"-1"===l){const p=O(`${c}-01-01`),m=O(`${c}-12-31`);this.filterModel=Object.assign(Object.assign({},this.editForm.value),{startDate:p.toISOString(),endDate:m.toISOString()})}else"-1"===l&&(this.filterModel=Object.assign(Object.assign({},this.editForm.value),{startDate:"",endDate:""}));this.filterModel=Object.assign(Object.assign({},this.filterModel),{type:this.pageContent&&null!=(null===(e=this.pageContent[0].categories)||void 0===e?void 0:e.data)?[null===(a=null===(i=this.pageContent[0].categories)||void 0===i?void 0:i.data[0].attributes)||void 0===a?void 0:a.title]:[]}),this.filterPosts()}filterPosts(){if(this.filterModel){const e=this.filterModel.type.length?this.filterModel.type:[this.filterModel.type],i=this.popupService.openLoading();this.postsService.getPosts(!1,e,this.skip,this.limit,this.filterModel.startDate,this.filterModel.endDate,this.filterModel.postTagging,"https://www-api.pos.com.my/graphql").subscribe({next:a=>{var c;if(a&&a.data&&null!==(c=a.data.posts)&&void 0!==c&&c.data){const l=a.data.posts.data;this.dataList=0!==this.skip?this.dataList.concat(...l):l,this.checkHasMorePage(l)}},error:a=>{}}).add(()=>{i.close()})}}checkHasMorePage(e){this.hasMorePage=e.length%this.limit==0}patchForm(){this.editForm.patchValue({type:this.menus[0].title})}setupEditForm(){this.editForm=this.formBuilder.group({type:[""],month:["-1"],year:[O().year
1()]})}onMonthChange(e){this.getPosts()}onYearChange(e){this.getPosts()}onResize(e){this.checkScreenSize()}checkScreenSize(){this.isMobile=window.innerWidth<w.mD}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(d.qu),t.Y36(N.W),t.Y36(t1),t.Y36(g.F0),t.Y36($),t.Y36(I.R),t.Y36(q.m),t.Y36(e1.P))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-pressroom"]],hostBindings:function(e,i){1&e&&t.NdJ("resize",function(c){return i.onResize(c)},!1,t.Jf7)},features:[t.qOj],decls:27,vars:10,consts:[[1,"pt-2","sm:mt-24","mx-auto"],[1,"max-w-[1200px]","mx-auto","sm:px-0","px-4"],[3,"breadcrumbs"],["class","mx-auto w-full px-6 lg:px-8",4,"ngIf"],["class","mx-auto w-full px-0 sm:px-6 lg:px-8",4,"ngIf"],[1,"w-full","bg-white","py-8","pressroom-content-container"],[1,"max-w-[1200px]","mx-auto","sm:px-0","px-4",3,"formGroup"],[1,"d-md-flex","d-sm-block","justify-content-between","items-center"],[1,"title"],[1,"flex","items-center","gap-x-4"],["appearance","outline",1,"form-control-material"],["placeholder","Month","formControlName","month",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],["placeholder","Year","formControlName","year",3,"selectionChange"],[1,"w-full","pb-8"],[1,"max-w-7xl","mx-auto","px-4","sm:px-0"],[1,"mt-10","grid","grid-cols-1","md:grid-cols-3","gap-4","items-stretch"],["class","flex flex-col p-4 cursor-pointer rounded-lg shadow-lg pressroom-card h-full",3,"click",4,"ngFor","ngForOf"],["class","w-full pb-8 kh-load-more-container",4,"ngIf"],[1,"mx-auto","w-full","px-6","lg:px-8"],[1,"relative","isolate","overflow-hidden","py-24","sm:py-32"],["loading","lazy","src","https://d38eiojdjahdit.cloudfront.net/press_room_kv_d_0f37e64a2b.png","alt","Press room",1,"absolute","inset-0","-z-10","h-full","w-full","object-cover"],[1,"mx-auto","max-w-[1200px]"],[1,"text-white","max-w-md"],[1,"text-[34px]","sm:text-[44px]","font-extrabold","mb-4",2,"font-family","var(--font-regular)"],[1,"text-[16px]","sm:text-[20px]"],[1,"mx-auto","w-full","px-0","sm:px-6","lg:px-8"],[1,"relative","isolate","overflow-hidden","px-4","py-12"],["loading","lazy","src","https://d38eiojdjahdit.cloudfront.net/sendparcel_bg_m_red_2x_dffe8aa322.png","alt","Press room banner",1,"absolute","inset-0","-z-10","w-full","object-fill"],[1,"text-white","max-w-xs"],[1,"text-[34px]","font-extrabold","mb-4",2,"font-family","var(--font-regular)"],[1,"text-[16px]"],["loading","lazy","src","https://d38eiojdjahdit.cloudfront.net/press_room_kv_m_b7b841b9bf.png","alt","Press room banner",1,"h-full","w-full","object-cover"],[3,"value"],[1,"flex","flex-col","p-4","cursor-pointer","rounded-lg","shadow-lg","pressroom-card","h-full",3,"click"],[1,"mb-4","relative","w-full","aspect-[4/3]","md:aspect-[3/2]","overflow-hidden","rounded-md"],["loading","lazy","alt","News card",1,"absolute","inset-0","w-full","h-full",3,"src"],[1,"flex-1"],[1,"text-[20px]","sm:text-[22px]","font-semibold","mb-2"],[1,"text-[#0E1111]","opacity-40","mt-auto"],[1,"w-full","pb-8","kh-load-more-container"],[1,"max-w-[1200px]","mx-auto","px-4","sm:px-0","cursor-pointer","kh-button","rounded","kh-load-more-button","flex","items-center",3,"click"],["loading","lazy","src","https://assets.pos.com.my/pos-corporate/images/lebih-lanjut-down-icon.png",1,"kh-load-more-icon"],[1,"kh-load-more-title"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"app-breadcrumb",2),t.qZA(),t.YNc(3,mm,9,0,"div",3),t.YNc(4,_m,10,0,"div",4),t.TgZ(5,"div",5)(6,"div",6)(7,"div",7)(8,"div")(9,"h1",8),t._uU(10,"News Release"),t.qZA()(),t.TgZ(11,"div",9)(12,"div"),t._uU(13,"Filter by:"),t.qZA(),t.TgZ(14,"div")(15,"mat-form-field",10)(16,"mat-select",11),t.NdJ("selectionChange",function(c){return i.onMonthChange(c)}),t.YNc(17,dm,2,2,"mat-option",12),t.qZA()()(),t.TgZ(18,"div")(19,"mat-form-field",10)(20,"mat-select",13),t.NdJ("selectionChange",function(c){return i.onYearChange(c)}),t.YNc(21,fm,2,2,"mat-option",12),t.qZA()()()()()()(),t.TgZ(22,"div",14)(23,"div",15)(24,"div",16),t.YNc(25,gm,9,6,"div",17),t.qZA()()(),t.YNc(26,um,5,0,"div",18),t.qZA()),2&e&&(t.xp6(2),t.Q6J("breadcrumbs",i.breadcrumbs),t.xp6(1),t.Q6J("ngIf",!i.isMobile),t.xp6(1),t.Q6J("ngIf",i.isMobile),t.xp6(2),t.ekj("form-error",i.isFormError),t.Q6J("formGroup",i.editForm),t.xp6(11),t.Q6J("ngForOf",i.MONTH_OPTIONS),t.xp6(4),t.Q6J("ngForOf",i.YEARS_OPTIONS),t.xp6(4),t.Q6J("ngForOf",i.dataList),t.xp6(1),t.Q6J("ngIf",(null==i.dataList?null:i.dataList.length)>0&&i.hasMorePage))},dependencies:[s.sg,s.O5,R.L,d.JJ,d.JL,G.KE,K.gD,W.ey,d.sg,d.u,T.Ek],styles:[".pressroom-content-container .title{font-family:var(--font-regular);font-weight:700;font-size:32px;line-height:44px;color:#0e1111}.pressroom-content-container .sub-header-text{margin-top:5rem;padding-bottom:2rem;font-size:1.14285rem}
1.pressroom-card .title-clamp{display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.2em}.kh-load-more-container{display:flex;justify-content:center;margin-top:54px}.kh-load-more-container .kh-button{border:1px solid #ff474f}.kh-load-more-container .kh-load-more-icon{width:14px;height:14px;margin-right:12px}.kh-load-more-container .kh-load-more-title{font-size:18px;color:#ff474f}.kh-load-more-container .kh-load-more-button{height:50px!important;padding:0 72px 0 60px}.mat-mdc-text-field-wrapper{width:12rem!important}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:.2rem;padding-bottom:.2rem}.mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-select-value{font-size:12px}.mat-mdc-form-field-infix{min-height:2.2rem}.mdc-text-field{border-radius:0}.mat-mdc-select-placeholder{font-weight:200}@media only screen and (max-width: 767px){.mat-mdc-text-field-wrapper{width:10rem!important}}\n"],encapsulation:2}),n})();function hm(n,o){if(1&n&&(t.TgZ(0,"div",11)(1,"div")(2,"a",12),t._UZ(3,"img",13),t.qZA()()()),2&n){const e=t.oxw().$implicit,i=t.oxw(3);t.xp6(2),t.Q6J("href",null==e?null:e.url,t.LSH),t.xp6(1),t.Q6J("src",i.getImageUrl(e.bannerImage.data.attributes.url),t.LSH)("alt",(null==e||null==e.bannerImage||null==e.bannerImage.data||null==e.bannerImage.data.attributes?null:e.bannerImage.data.attributes.alternativeText)||"Pos Banner")}}function xm(n,o){if(1&n&&(t.ynx(0),t.TgZ(1,"div"),t._uU(2),t.qZA(),t.YNc(3,hm,4,3,"ng-template",10),t.BQk()),2&n){const e=o.$implicit;t.xp6(2),t.Oqu(e.bannerImage.data.attributes.url),t.xp6(1),t.Q6J("id",e.id.toString())}}function bm(n,o){if(1&n&&(t.TgZ(0,"div",8)(1,"owl-carousel-o",9),t.YNc(2,xm,4,2,"ng-container",7),t.qZA()()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("options",e.customOptions),t.xp6(1),t.Q6J("ngForOf",null==e.contentDetails||null==e.contentDetails.banners[0]?null:e.contentDetails.banners[0].carouselBannerList)}}function Cm(n,o){if(1&n&&(t.TgZ(0,"div",14),t._uU(1),t.ALo(2,"amDateFormat"),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Oqu(t.xi3(2,1,e.contentDetails.published_date,"DD MMM YYYY hh:mm a"))}}function km(n,o){if(1&n&&(t.TgZ(0,"div",17),t._uU(1),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.hij(" ",e.attributes.title,"")}}function Mm(n,o){if(1&n&&(t.TgZ(0,"div",15),t.YNc(1,km,2,1,"div",16),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.getFirstThreeTagging(e.contentDetails.post_taggings.data))}}function zm(n,o){if(1&n&&t._UZ(0,"app-inner-html",20),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function wm(n,o){if(1&n&&t._UZ(0,"app-carousel",20),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function ym(n,o){if(1&n&&t._UZ(0,"app-video",21),2&n){const e=t.oxw().$implicit;t.Q6J("video",e)}}function Tm(n,o){if(1&n&&t._UZ(0,"app-block-fifteen",20),2&n){const e=t.oxw().$implicit;t.Q6J("data",e)}}function Pm(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,zm,1,1,"app-inner-html",18),t.YNc(2,wm,1,1,"app-carousel",18),t.YNc(3,ym,1,1,"app-video",19),t.YNc(4,Tm,1,1,"app-block-fifteen",18),t.qZA()),2&n){const e=o.$implicit;t.xp6(1),t.Q6J("ngIf","ComponentSectionsRichTextEditor"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsCarouselBannerSection"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsLargeVideo"==e.__typename),t.xp6(1),t.Q6J("ngIf","ComponentSectionsBlock15"==e.__typename)}}function Zm(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,bm,3,2,"div",2),t.TgZ(2,"div",3),t.YNc(3,Cm,3,4,"div",4),t.TgZ(4,"h1",5),t._uU(5),t.qZA(),t.YNc(6,Mm,2,1,"div",6),t.qZA(),t.YNc(7,Pm,5,4,"div",7),t.qZA()),2&n){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",null==e.contentDetails?null:e.contentDetails.banners),t.xp6(2),t.Q6J("ngIf",!e.hideDate),t.xp6(2),t.Oqu(e.contentDetails.title),t.xp6(1),t.Q6J("ngIf",e.contentDetails.post_taggings.data),t.xp6(1),t.Q6J("ngForOf",e.innerPageContent)}}const Sm=[{path:"pressroom",component:F2,data:{title:""}},{path:"investor-relations/:detail",component:Yp,data:{title:""}},{path:"details",component:pm,data:{title:"DynamicDetail"}},{path:"pressroom_category/:category",component:F2},{path:":id",component:Pp,data:{title:"Dynamic"}},{path:"post/detail",component:(()=>{class n{constructor(e,i,a,c,l,r,p){this.postsService=e,this.location=i,this.router=a,this.popupService=c,this.activatedRoute=l,this.metaService=r,this.platformService=p,this.customOptions={loop:!0,mouseDrag:!0,touchDrag:!1,pullDrag:!1,autoplay:!0,dots:!0,navSpeed:700,responsive:{0:{items:1},400:{items:1},740:{items:1},940:{items:1}}},this.hideDate=!1}ngOnInit(){this.metaService.updateMeta("Pos Malaysia | Your trusted Malaysian courier & logistics provider | Pos Laju","Pos Malaysia | Your trusted Malaysian courier & logistics provider | Pos Laju"),this.activatedRoute.queryParams.subscribe(e=>{this.postDetailSlug=e.postDetailId}),this.postDetailSlug?(this.hideDate="SendParcel_Pro_10_FOR_10_Promotion_bm"==this.postDetailSlug||"SendParcel_Pro_10_FOR_10_Promotion_en"==this.postDetailSlug,this.fetchData()):this.router.navigate(["/"])}getImageUrl(e){return(0,u.KS)(e)}fetchData(){const e=this.popupService.openLoading();this.postsService.getPostDetails(this.postDetailSlug,!1).subscribe({next:i=>{i.data.posts.data&&(this.contentDetails=i.data.posts.data[0].attributes,this.innerPageContent=i.data.posts.data[0].attributes.pageContent)},error:i=>{if(i){const a={error:{name:"Error",message:"No data found."}};this.platformService.isBrowserPlatform()&&this.popupService.openAlert(a)}}}).add(()=>{e.close()})}getFirstThreeTagging(e){return e.length>3?e.slice(0,3):e}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(e1.P),t.Y36(s.Ye),t.Y36(g.F0),t.Y36(N.W),t.Y36(g.gz),t.Y36(I.R),t.Y36(q.m))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-promotion-details"]],decls:2,vars:1,consts:[[1,"main-container"],[4,"ngIf"],["class","banner-wrapper",4,"ngIf"],[1,"text-center","my-5"],["class","date",4,"ngIf"],[1,"title-text"],["class","tag-container",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"banner-wrapper"],[1,"w-100",3,"options"],["carouselSlide","",3,"id"],[1,""],[3,"href"],["loading","lazy",1,"img-fluid",3,"src","alt"],[1,"date"],[1,"tag-container"],["class","tagging-pill",4,"ngFor","ngForOf"],[1,"tagging-pill"],[3,"data",4,"ngIf"],[3,"video",4,"ngIf"],[3,"data"],[3,"video"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0),t.YNc(1,Zm,8,5,"div",1),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",i.contentDetails))},dependencies:[k.Fy,k.Mp,s.sg,s.O5,F,Z.W,U,j,T.Ek],styles:[".banner-wrapper img{border-radius:1rem}.owl-carousel.owl-drag .owl-item{height:100%}.date{color:#a9a9a9;font-weight:500;font-size:16px}h1{font-weight:700;margin-top:1rem;font-size:35.2px}.tag-container{flex-direction:row;display:inline-flex;margin-top:1rem;margin-right:.5rem;justify-content:center;flex-wrap:wrap}.tag-container .tagging-pill{border-radius:2rem;background:#ffd2d5;color:#ff3358;font-size:14px;text-align:center;padding:.5rem 1rem;margin-right:1rem;margin-bottom:.5rem;font-weight:700}.title-text{font-weight:700!important;font-family:GothamBold}\n"],encapsulation:2}),n})(),data:{title:"DynamicDetail"}},{path:"pressroom/:detail",component:q2},{path:"post-list/detail",component:q2,data:{title:"DynamicDetail"}},{path:"block-post/detail",component:C3,data:{title:"DynamicDetail"}},{path:":id/:slug",component:n1,data:{title:"DynamicDetail"}},{path:":id/:slug/:service",component:n1,data:{title:"DynamicDetail"}},{path:":id/:slug/:service/:product",component:n1,data:{title:"DynamicDetail"}},{path:":id/:slug/:service/:product/:detail",component:n1,data:{title:"DynamicDetail"}}];let Nm=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[k.bB,s.ez,$2.K,E2.q,T._G,g.Bz.forChild(Sm),j2.m,U2.aw]}),n})()}}]);
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.