1import{$a as R,Ba as p,Eb as j,Ed as Y,Fb as $,Ja as s,Jb as V,Ka as a,La as C,Md as Z,Pa as T,Qd as P,Ra as k,S as L,Sa as w,Wa as f,Wd as ee,Z as D,Za as z,_ as E,_a as A,a as N,ab as F,ac as K,ad as q,bb as g,cb as _,db as G,dd as H,g as i,ib as Q,j as I,kb as U,lb as B,le as x,mb as S,me as te,na as v,qb as y,sa as r,sb as b,ta as u,ub as W,xd as X,yd as J,za as d}from"./chunk-GLMOMHUQ.js";var O=class{constructor(){i(this,"Id","");i(this,"Page",1)}};var ne=()=>({name:"News",url:"/news"}),ie=e=>({name:e}),re=(e,o)=>[e,o],oe=(e,o)=>({Title:e,Content:o});function ae(e,o){if(e&1&&(s(0,"a",16),g(1),a()),e&2){let t=w().$implicit;f("routerLink","/news/",t.Name,""),r(),_(t.Title)}}function se(e,o){if(e&1&&(s(0,"a",17),g(1),a()),e&2){let t=w().$implicit;r(),_(t.Title)}}function ce(e,o){if(e&1&&(s(0,"li"),d(1,ae,2,3,"a",14)(2,se,2,1,"a",15),a()),e&2){let t=o.$implicit;r(),p("ngIf",t.Name!="Webinars"),r(),p("ngIf",t.Name=="Webinars")}}function le(e,o){if(e&1&&(s(0,"ul"),d(1,ce,3,2,"li",12),s(2,"li")(3,"a",13),g(4," Video"),a()()()),e&2){let t=w(2);r(),p("ngForOf",t.regularCategories)}}function pe(e,o){if(e&1&&(s(0,"a",16),g(1),a()),e&2){let t=w().$implicit;f("routerLink","/news/",t.Name,""),r(),_(t.Title)}}function ge(e,o){if(e&1&&(s(0,"li"),d(1,pe,2,3,"a",14),a()),e&2){let t=o.$implicit;r(),p("ngIf",t.Name!="Webinars")}}function me(e,o){if(e&1&&(s(0,"li")(1,"a",16),g(2),a()()),e&2){let t=w(3);r(),p("routerLink","/"+t.archivedCategory.RouteSegments),r(),G(" ",t.archivedCategory.Title," ")}}function de(e,o){if(e&1&&(s(0,"div",7)(1,"div",8),g(2,"Popular tags"),a(),s(3,"ul"),d(4,ge,2,1,"li",12)(5,me,3,2,"li",9),a()()),e&2){let t=w(2);r(4),p("ngForOf",t.newsCategories.tags),r(),p("ngIf",t.archivedCategory)}}function we(e,o){e&1&&(s(0,"div",26),g(1,"No Data Found "),a())}function _e(e,o){if(e&1&&(s(0,"div",39),C(1,"img",40),a()),e&2){let t=w().$implicit;r(),p("src",t.ImageURL,v)}}function he(e,o){if(e&1&&(s(0,"div",27)(1,"div",28)(2,"div",29),g(3),a(),s(4,"div",30),g(5),y(6,"date"),a(),d(7,_e,2,1,"div",31),s(8,"div",30),g(9),a()(),s(10,"div",32)(11,"a",33),g(12," Read more "),s(13,"mat-icon",34),g(14,"keyboard_arrow_right "),a()(),s(15,"div",35),C(16,"a",36)(17,"a",37)(18,"a",38),a()(),C(19,"hr"),a()),e&2){let t=o.$implicit;r(3),_(t.Title),r(2),_(b(6,12,t.ReleaseDate,"longDate")),r(2),p("ngIf",t.ImageURL!=null&&t.ImageURL!=""),r(2),_(t.Description),r(2),f("routerLink","/news/detail/",t.Name,""),r(5),f("href","http://www.facebook.com/share.php?u=http://www.futek.com/news/detail/",t.Name,"",v),r(),f("href","http://twitter.com/home?status=http://www.futek.com/news/detail/",t.Name,"",v),r(),f("href","http://www.linkedin.com/shareArticle?mini=true&url=http://www.futek.com/news/detail/",t.Name,"",v)}}function fe(e,o){if(e&1&&(s(0,"div",23),d(1,we,2,0,"div",24)(2,he,20,15,"div",25),a()),e&2){let t=o.ngIf;r(),p("ngIf",t.length==0),r(),p("ngForOf",t)}}function ue(e,o){if(e&1){let t=T();s(0,"div",18)(1,"h1",19),g(2),a(),d(3,fe,3,2,"div",20),y(4,"searchFilter"),s(5,"div",21)(6,"mat-paginator",22),k("page",function(l){D(t);let m=w(2);return E(m.pageEvent=m.FilterPageData(l))}),a()()()}if(e&2){let t=w(2);r(2),_(t.newsData.BreadCrumb.Title),r(),p("ngIf",b(4,4,t.filterNewsData,S(7,oe,t.searchText,t.searchText))),r(3),p("length",t.newsdataLenth)("pageSize",t.pageSize)}}function Ce(e,o){e&1&&(s(0,"div",18)(1,"p",26),g(2,"No data found"),a()())}function ve(e,o){if(e&1&&(s(0,"div",3),C(1,"app-breadcrumbs",4),s(2,"div",5)(3,"div",6)(4,"div",7)(5,"div",8),g(6,"Categories"),a(),d(7,le,5,1,"ul",9),a(),d(8,de,6,2,"div",10),a(),d(9,ue,7,10,"div",11)(10,Ce,3,0,"div",11),a()()),e&2){let t=w();r(),p("breadcrumbs",S(8,re,U(5,ne),B(6,ie,t.newsData.BreadCrumb.Title))),r(6),p("ngIf",t.newsCategories.categories),r(),p("ngIf",(t.tags==null?null:t.tags.length)>0),r(),p("ngIf",t.NewsList.length>0),r(),p("ngIf",t.newsdataLenth==0)}}function Pe(e,o){e&1&&(s(0,"div",41)(1,"div",42),C(2,"mat-progress-spinner",43),a()())}var Qe=(()=>{let o=class o{constructor(n,l,m,h,M){i(this,"_newsService");i(this,"_loaderService");i(this,"meta");i(this,"_seoClientService");i(this,"router");i(this,"pager",{});i(this,"slug");i(this,"sub");i(this,"c");i(this,"filter",new O);i(this,"filterNewsData");i(this,"pageSize",5);i(this,"NewsList",[]);i(this,"newsData");i(this,"Newsrooms");i(this,"newsCategories");i(this,"page",1);i(this,"paginator");i(this,"searchText","");i(this,"searchshowall",!1);i(this,"searchHide",!1);i(this,"mainsearchshowall",!1);i(this,"submainsearchshowall",!1);i(this,"newsdataLenth",0);i(this,"toggleSearch",!1);i(this,"ngUnsubscribe",new I);i(this,"SeoDetail");i(this,"webpagetitle","Events-Promo-Details");i(this,"selectedCategoryRouteSegment");i(this,"regularCategories",[]);i(this,"archivedCategory",null);i(this,"tags",null);this._newsService=n,this._loaderService=l,this.meta=m,this._seoClientService=h,this.router=M}ngOnInit(){this.sub=this.router.params.subscribe(n=>{let l=n.slug||"announcements";this.selectedCategoryRouteSegment=`news/${l}`,this.fetchNewsDataWithGraphQL()}),this._seoClientService.createLinkForCanonicalURL()}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this._loaderService.hide()}fetchNewsDataWithGraphQL(){this._newsService.GetNewsCategoriesAndTagsWithGraphql().subscribe({next:n=>{let l=n?.categories||[];this.newsCategories=N({}
1,n),this.SeoDetail=l,this.tags=n?.tags||[],this._newsService.GetArchivedNewsroomsCountWithGraphQL().subscribe({next:m=>{m>0&&this.newsCategories.categories.push({Name:"Archived",Title:"Archived",RouteSegments:"news/archived"}),![...l,...this.tags].find(c=>c.RouteSegments?.toLowerCase()===this.selectedCategoryRouteSegment?.toLowerCase())&&l.length>0&&(this.selectedCategoryRouteSegment=l[0].RouteSegments),this.regularCategories=n?.categories.filter(c=>c.Name!=="Archived"),this.archivedCategory=n?.categories.find(c=>c.Name==="Archived");let M=this.tags.some(c=>c.RouteSegments?.toLowerCase()===this.selectedCategoryRouteSegment?.toLowerCase());this.selectedCategoryRouteSegment==="news/archived"?this._newsService.GetArchivedNewsroomsWithGraphQL().subscribe({next:c=>{this.newsData=c,this.NewsList=c?.Newsrooms||[],this.newsdataLenth=this.NewsList.length,this.updateSEODetails(this.newsCategories.categories),this.filterNewsData=this.NewsList.slice(0,this.pageSize)},error:c=>{console.error("Error loading archived newsrooms",c)}}):M?this._newsService.GetNewsroomByTagWithGraphQL(this.selectedCategoryRouteSegment).subscribe({next:c=>{this.newsData=c,this.NewsList=c?.Newsrooms||[],this.newsdataLenth=this.NewsList.length,this.updateSEODetails(this.newsCategories.tags),this.filterNewsData=this.NewsList.slice(0,this.pageSize)},error:c=>{console.error("Error loading newsroom for category",c)}}):this._newsService.GetNewsroomByCategoryWithGraphQL(this.selectedCategoryRouteSegment).subscribe({next:c=>{this.newsData=c,this.NewsList=c?.Newsrooms||[],this.newsdataLenth=this.NewsList.length,this.updateSEODetails(this.newsCategories.categories),this.filterNewsData=this.NewsList.slice(0,this.pageSize)},error:c=>{console.error("Error loading newsroom for category",c)}})},error:m=>{console.error("Error checking archived count",m)}})},error:n=>{console.error("Failed to load news categories via GraphQL",n)}})}getAllNewsCategories(){this._newsService.NewsCategories().subscribe(n=>{this.newsCategories=n,this.SeoDetail=n})}getProductAnnouncement(){this.filter.Id=this.slug,(!this.slug||this.slug=="")&&(this.filter.Id="press-release"),this._newsService.productannouncement(this.filter).subscribe(n=>{this.newsData=n,this.NewsList=this.newsData.Newsrooms,this.newsdataLenth=this.NewsList.length,this.updateSEODetails(this.newsCategories),this.filterNewsData=this.NewsList.slice(0,this.pageSize),this.paginator&&(this.paginator.pageIndex=0)})}updateSEODetails(n){n&&n.Title&&n.Title!=""?this._seoClientService.updateTitle(n.Title):this._seoClientService.updateTitle(this.newsData.BreadCrumb.Title),n&&n.Description&&n.Description!=""?this._seoClientService.updateDescription(n.Description):this.meta.updateTag({name:"description",content:this.newsData.BreadCrumb.Title}),n&&n.MetaKeyword&&n.MetaKeyword!=""?this._seoClientService.updateKeywords(n.MetaKeyword):this.meta.updateTag({name:"keywords",content:this.newsData.BreadCrumb.Title})}FilterPageData(n){this.filterNewsData=[];let l=n.pageIndex*n.pageSize;this.filterNewsData=this.NewsList.slice(l,l+5),window.scrollTo(0,0)}Search(n){n!=""&&(this.searchText=n)}};i(o,"\u0275fac",function(l){return new(l||o)(u(P),u(Y),u(K),u(Z),u(q))}),i(o,"\u0275cmp",L({type:o,selectors:[["app-product-announcement"]],viewQuery:function(l,m){if(l&1&&z(x,5),l&2){let h;A(h=R())&&(m.paginator=h.first)}},features:[Q([P])],decls:4,vars:2,consts:[["loader",""],[1,"main-panel"],["class","panel-wrapper news-center text-color-primary",4,"ngIf","ngIfElse"],[1,"panel-wrapper","news-center","text-color-primary"],[3,"breadcrumbs"],[1,"news-wrapper"],[1,"left-section"],[1,"news-well"],[1,"text-m","semibold","news-categ"],[4,"ngIf"],["class","news-well",4,"ngIf"],["class","right-section",4,"ngIf"],[4,"ngFor","ngForOf"],["href","https://www.youtube.com/user/futekadvsensortech","target","_blank",1,"text-m"],["class","text-m",3,"routerLink",4,"ngIf"],["class","text-m","href","/webinars","target","_blank",4,"ngIf"],[1,"text-m",3,"routerLink"],["href","/webinars","target","_blank",1,"text-m"],[1,"right-section"],[1,"h6","title"],["class","",4,"ngIf"],[1,"pagination"],[3,"page","length","pageSize"],[1,""],["class","text-l no-data",4,"ngIf"],["class","news-item",4,"ngFor","ngForOf"],[1,"text-l","no-data"],[1,"news-item"],[1,"news-header"],[1,"text-xl","text-color-primary"],[1,"text-m","text-color-secondary","text-row"],["class","text-row",4,"ngIf"],[1,"news-footer"],[1,"text-color-link-default","read-more",3,"routerLink"],[1,"arrow-icon"],[1,"news-share","text-right"],["target","_blank",1,"fa","fa-facebook",3,"href"],["target","_blank",1,"fa","fa-twitter",3,"href"],["target","_blank",1,"fa","fa-linkedin",3,"href"],[1,"text-row"],[1,"news-img",3,"src"],[1,"loader-overlay-light"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"]],template:function(l,m){if(l&1&&(s(0,"div",1),d(1,ve,11,11,"div",2)(2,Pe,3,0,"ng-template",null,0,W),a()),l&2){let h=F(3);r(),p("ngIf",m.newsData)("ngIfElse",h)}},dependencies:[j,$,X,x,J,ee,H,V,te],styles:['.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%]{margin-top:2rem;display:flex;flex-wrap:wrap}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .left-section[_ngcontent-%COMP%]{max-width:16%;flex:0 0 16%;width:100%;
1border-right:1px solid var(--divider-default)}@media screen and (max-width: 768px){.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .left-section[_ngcontent-%COMP%]{max-width:100%;flex:auto}}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .left-section[_ngcontent-%COMP%] .news-well[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-left:1rem}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .left-section[_ngcontent-%COMP%] .news-well[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;padding:.75rem .5rem;list-style:none;text-align:left;cursor:pointer;border-bottom:1px solid var(--divider-default)}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .left-section[_ngcontent-%COMP%] .news-well[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:var(--text-link-default)}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .left-section[_ngcontent-%COMP%] .news-categ[_ngcontent-%COMP%]{margin:.5rem 0;color:var(--primary-color-500);text-transform:uppercase}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%]{display:flex;list-style:none;justify-content:flex-end}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .mat-mdc-paginator[_ngcontent-%COMP%]{--mat-paginator-container-text-font: "Nunito Sans", sans-serif !important;--mat-paginator-container-text-size: var(--text-m-font-size) !important}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%]{max-width:83%;flex:0 0 83%;width:100%;padding-left:1.25rem}@media screen and (max-width: 768px){.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%]{max-width:100%;flex:auto}}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:var(--heading-l-font-size);font-weight:var(--font-weight-bold);line-height:var(--heading-l-line-height);letter-spacing:var(--letter-spacing-none)}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%] .no-data[_ngcontent-%COMP%]{text-align:center}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%] .news-item[_ngcontent-%COMP%] .news-header[_ngcontent-%COMP%] .news-img[_ngcontent-%COMP%]{width:100%}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%] .news-item[_ngcontent-%COMP%] .news-header[_ngcontent-%COMP%] .text-row[_ngcontent-%COMP%]{margin-bottom:1rem}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%] .news-item[_ngcontent-%COMP%] .news-footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%] .news-item[_ngcontent-%COMP%] .news-footer[_ngcontent-%COMP%] .read-more[_ngcontent-%COMP%]{position:relative}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%] .news-item[_ngcontent-%COMP%] .news-footer[_ngcontent-%COMP%] .arrow-icon[_ngcontent-%COMP%]{position:absolute}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%] .news-item[_ngcontent-%COMP%] .news-footer[_ngcontent-%COMP%] .news-share[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%]{padding:4px;margin:4px;width:1.5rem;height:1.5rem;text-decoration:none;border-radius:60px;text-align:center;font-size:var(--text-xl-font-size);line-height:1.25rem}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%] .news-item[_ngcontent-%COMP%] .news-footer[_ngcontent-%COMP%] .news-share[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%]:before{position:relative;font-size:var(--text-m-font-size);line-height:var(--text-m-line-height);vertical-align:text-bottom;margin-bottom:1px}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%] .news-item[_ngcontent-%COMP%] .news-footer[_ngcontent-%COMP%] .news-share[_ngcontent-%COMP%] .fa[_ngcontent-%COMP%]:hover{opacity:.7}.panel-wrapper.news-center[_ngcontent-%COMP%] .news-wrapper[_ngcontent-%COMP%] .right-section[_ngcontent-%COMP%] .news-item[_ngcontent-%COMP%] .news-footer[_ngcontent-%COMP%] [_ngcontent-%COMP%]:is(.news-share .fa-facebook[_ngcontent-%COMP%], .news-share[_ngcontent-%COMP%] .fa-twitter[_ngcontent-%COMP%], .news-share[_ngcontent-%COMP%] .fa-linkedin)[_ngcontent-%COMP%]{background-color:var(--text-secondary);color:#fff}#newspanelk1[_ngcontent-%COMP%]{width:180px!important}.row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-right:0;margin-left:0}.row[_ngcontent-%COMP%]{width:100%}.titleprodctpl3[_ngcontent-%COMP%]{font-size:10pt;font-family:Nunito Sans,sans-serif;text-align:justify}.titleprodctpl2[_ngcontent-%COMP%]{margin-bottom:18px}.news-well[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000}.news-well[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;list-style:none;text-align:left;cursor:pointer;font-family:Nunito Sans,sans-serif;font-size:10pt;border-bottom:1px dotted #ccc;padding:7px 6px}.news-well[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#ca0000!important}input[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;font-family:inherit;font-size:100%}input[type=search][_ngcontent-%COMP%]{background:#ededed url(https://static.tumblr.com/ftv85bp/MIXmud4tx/search-icon.png) no-repeat 5px center;border:solid 1px #ccc;padding:5px 5px 7px 0;width:55px;font-size:9pt;-webkit-border-radius:10em;-moz-border-radius:10em;border-radius:10em;-webkit-transition:all .5s;-moz-transition:all .5s;transition:all .5s}input[_ngcontent-%COMP%]::-webkit-search-decoration, input[_ngcontent-%COMP%]::-webkit-search-cancel-button{display:none}input[_ngcontent-%COMP%]:-moz-placeholder{color:#999}input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#999}']}));let e=o;return e})();export{Qe as a};
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.