1"use strict";(self.webpackChunkalison=self.webpackChunkalison||[]).push([[3664],{1283(C,d,t){t.d(d,{ArticlesComponent:()=>v});var n=t(3664),m=t(8173),x=t(2754),s=t(177),l=t(2200),_=t(4296),g=t(2796),h=t(2993),f=t(6837),c=t(2615);const u=(o,p,e)=>({id:"articles-pagination",itemsPerPage:o,currentPage:p,totalItems:e});function b(o,p){if(1&o&&(n.qex(0),n.nrm(1,"app-card",9),n.nI1(2,"cdn"),n.bVm()),2&o){const e=p.$implicit;n.R7$(),n.Y8G("url",e.url)("title",e.title)("src",n.bMT(2,4,e.src))("date",e.date)}}function P(o,p){if(1&o){const e=n.RV6();n.j41(0,"div",10)(1,"pagination-controls",11),n.bIt("pageChange",function(i){c.eBV(e);const a=n.XpG();return c.Njj(a.onPageChange(i))}),n.k0s()()}if(2&o){const e=n.XpG();n.R7$(),n.Y8G("maxSize",e.paginationMaxSize)}}let v=(()=>{var o;class p{constructor(r){this._platformId=r,this.articles=x.OZ,this.currentPage=1,this.isMobile=!1}ngOnInit(){(0,s.UE)(this._platformId)&&(this.isMobile=window.innerWidth<=1023)}onResize(){(0,s.UE)(this._platformId)&&(this.isMobile=window.innerWidth<=1023)}get totalItems(){return this.articles.length}onPageChange(r){this.currentPage=r,window.scrollTo({top:0,behavior:"smooth"})}getPageSize(){return this.isMobile?6:15}get totalPages(){return Math.ceil(this.totalItems/this.getPageSize())}get paginationMaxSize(){return this.isMobile?7:12}static#n=o=()=>(this.\u0275fac=function(i){return new(i||p)(n.rXU(n.Agw))},this.\u0275cmp=n.VBU({type:p,selectors:[["app-articles"]],hostBindings:function(i,a){1&i&&n.bIt("resize",function(){return a.onResize()},n.tSv)},decls:13,vars:10,consts:()=>{let r,i;return r="Previous",i="Next",[[1,""],[1,"mike-articles-banner"],[3,"hideHome"],[1,"mike-articles-body","py-7","lg:py-15"],[1,"mb-4","lg:mb-10"],[1,"cards-list"],[4,"ngFor","ngForOf"],["class","gallery-pagination mt-6 lg:mt-15",4,"ngIf"],[1,"mt-5","lg:hidden"],["cardType","article",3,"url","title","src","date"],[1,"gallery-pagination","mt-6","lg:mt-15"],["id","articles-pagination","previousLabel",r,"nextLabel",i,3,"pageChange","maxSize"]]},template:function(i,a){1&i&&(n.j41(0,"div",0)(1,"div",1),n.nrm(2,"app-breadcrumb",2),n.k0s(),n.j41(3,"div",3)(4,"h2",4),n.EFF(5,"Articles"),n.k0s(),n.j41(6,"div")(7,"div",5),n.DNE(8,b,3,6,"ng-container",6),n.nI1(9,"paginate"),n.k0s(),n.DNE(10,P,2,1,"div",7),n.j41(11,"div",8),n.nrm(12,"app-scroll-to-top"),n.k0s()()()()),2&i&&(n.R7$(2),n.Y8G("hideHome",!0),n.R7$(6),n.Y8G("ngForOf",n.i5U(9,3,a.articles,n.sMw(6,u,a.getPageSize(),a.currentPage,a.totalItems))),n.R7$(2),n.Y8G("ngIf",a.totalPages>1))},dependencies:[m.D,l.Sq,l.bT,_.i,g.ed,g.ej,f.X,g.kf,h.w],styles:[".mike-articles-banner[_ngcontent-%COMP%]{background:var(--Alison-Blue-50, #e0f4f9);padding-top:14px;padding-bottom:14px;padding-left:calc(6.5% - 12px);height:fit-content}@media (min-width: 1024px){.mike-articles-banner[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:24px;padding-left:calc(12% - 12px);padding-right:12%}}.mike-articles-body[_ngcontent-%COMP%]{width:87%;margin-left:auto;margin-right:auto}@media (min-width: 1024px){.mike-articles-body[_ngcontent-%COMP%]{width:76%}}.mike-articles-body[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:var(--Alison-Grey-800, #343c41);font-family:Roboto;font-size:24px;font-style:normal;font-weight:900;line-height:150%}@media (min-width: 1024px){.mike-articles-body[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:28px}}.cards-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:25px;width:fit-content;margin-left:auto;margin-right:auto}@media (min-width: 768px){.cards-list[_ngcontent-%COMP%]{width:100%;grid-template-columns:repeat(2,1fr);justify-content:space-between}}@media (min-width: 1024px){.cards-list[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr);justify-content:space-between}}[_nghost-%COMP%] app-breadcrumb .breadcrumb-link{color:var(--Alison-Grey-700, #465159);font-family:Roboto!important;font-style:normal!important;font-size:14px!important;font-weight:600!important;line-height:150%!important;text-decoration:none!important}@media (min-width: 1024px){[_nghost-%COMP%] app-breadcrumb .breadcrumb-link{font-size:16px!important}}[_nghost-%COMP%] app-breadcrumb .breadcrumb{flex-wrap:nowrap!important;overflow-x:auto;white-space:nowrap}[_nghost-%COMP%] app-breadcrumb .breadcrumb-item{flex-shrink:0}[_nghost-%COMP%] app-breadcrumb .breadcrumb-icon{width:16px!important;height:16px!important;color:#465159!important;font-size:16px!important;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] app-breadcrumb .breadcrumb-last{color:var(--Alison-Blue-700, #0070a3);font-family:Roboto!important;font-style:normal!important;font-weight:600!important;line-height:150%!important;text-decoration:none!important;font-size:14px!important}@media (min-width: 1024px){[_nghost-%COMP%] app-breadcrumb .breadcrumb-last{font-size:16px!important}}.gallery-pagination[_ngcontent-%COMP%]{min-height:36px;margin-left:0!important;margin-right:0!important}@media (max-width: 768px){.gallery-pagination[_ngcontent-%COMP%]{margin-left:auto!important;margin-right:auto!important}} #articles-pagination{position:relative}
1 #articles-pagination .ngx-pagination{display:flex;justify-content:center;height:110px;position:relative} #articles-pagination .ngx-pagination li.ellipsis{margin:0 8px;padding:0 4px} #articles-pagination .ngx-pagination .pagination-previous a:before, #articles-pagination .ngx-pagination .pagination-previous.disabled:before, #articles-pagination .ngx-pagination .pagination-next a:after, #articles-pagination .ngx-pagination .pagination-next.disabled:after{display:none} #articles-pagination .ngx-pagination .pagination-previous.disabled, #articles-pagination .ngx-pagination .pagination-next.disabled{cursor:not-allowed;opacity:.5;pointer-events:none} #articles-pagination .ngx-pagination .pagination-previous, #articles-pagination .ngx-pagination .pagination-previous.disabled, #articles-pagination .ngx-pagination .pagination-next, #articles-pagination .ngx-pagination .pagination-next.disabled{border:1px solid #d6d6d6;border-radius:8px;width:calc(50% - 8px)!important;height:42px;color:#465159;display:inline-flex;justify-content:center;align-items:center;font-family:Roboto;font-size:16px;font-weight:400;line-height:18.75px;text-align:left} #articles-pagination .ngx-pagination .pagination-previous:not(.disabled):hover, #articles-pagination .ngx-pagination .pagination-next:not(.disabled):hover{border:1px solid #008445;background:#008445} #articles-pagination .ngx-pagination .pagination-previous:not(.disabled):hover a, #articles-pagination .ngx-pagination .pagination-next:not(.disabled):hover a{color:#fff!important;display:inline-flex;justify-content:center;align-items:center;width:100%;height:100%;border-radius:4px} #articles-pagination .ngx-pagination .pagination-previous{margin-right:20px;position:absolute;top:60px;left:0} #articles-pagination .ngx-pagination .pagination-next{margin-left:20px;position:absolute;top:60px;right:0} #articles-pagination .ngx-pagination li:not(.small-screen):not(.pagination-previous):not(.pagination-next):not(.current){min-width:36px;width:auto;height:36px;font-family:Roboto;font-size:16px;font-weight:500;line-height:18.75px;text-align:left;border-radius:4px;display:inline-flex;justify-content:center;align-items:center;gap:4px;margin:0 4px} #articles-pagination .ngx-pagination li:not(.small-screen):not(.pagination-previous):not(.pagination-next):not(.current):hover{min-width:36px;width:auto;height:36px;font-family:Roboto;font-size:16px;font-weight:500;line-height:18.75px;text-align:left;color:#fff!important;background:#008445;border-radius:4px} #articles-pagination .ngx-pagination li:not(.small-screen):not(.pagination-previous):not(.pagination-next):not(.current):hover span{color:#fff} #articles-pagination .ngx-pagination li:not(.small-screen):not(.pagination-previous):not(.pagination-next):not(.current) a, #articles-pagination .ngx-pagination li:not(.small-screen):not(.pagination-previous):not(.pagination-next):not(.current) a span{color:#008445} #articles-pagination .ngx-pagination li.current{min-width:36px;width:auto;height:36px;font-family:Roboto;font-size:16px;font-weight:700;line-height:18.75px;text-align:left;color:var(--Alison-Grey-800, #343c41);border-radius:6px;background:var(--Alison-Grey-50, #d7dcdf);display:inline-flex;justify-content:center;align-items:center;margin:0 4px} #articles-pagination .ngx-pagination a:hover, #articles-pagination .ngx-pagination button:hover{background:transparent}@media all and (min-width: 768px){.pagination-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:30px}.pagination-wrapper[_ngcontent-%COMP%] .gallery-pagination[_ngcontent-%COMP%]{display:block;width:80%} #articles-pagination{position:static} #articles-pagination .ngx-pagination{display:flex;justify-content:center;height:unset} #articles-pagination .ngx-pagination .pagination-previous, #articles-pagination .ngx-pagination .pagination-previous.disabled, #articles-pagination .ngx-pagination .pagination-next, #articles-pagination .ngx-pagination .pagination-next.disabled{border:1px solid #d6d6d6;border-radius:8px;width:148px!important;height:36px} #articles-pagination .ngx-pagination .pagination-previous{margin-right:20px;position:static} #articles-pagination .ngx-pagination .pagination-next{margin-left:20px;position:static} #articles-pagination .ngx-pagination li:not(.small-screen):not(.pagination-previous):not(.pagination-next):not(.current){min-width:36px;width:auto;height:36px;font-family:Roboto;font-size:16px;font-weight:600;line-height:18.75px;text-align:left;border-radius:4px;display:inline-flex;justify-content:center;align-items:center;gap:4px;margin:0 4px} #articles-pagination .ngx-pagination li:not(.small-screen):not(.pagination-previous):not(.pagination-next):not(.current):hover{min-width:36px;width:auto;height:36px;font-family:Roboto;font-size:16px;font-weight:500;line-height:18.75px;text-align:left;color:#fff!important;background:#008445;border-radius:4px} #articles-pagination .ngx-pagination li:not(.small-screen):not(.pagination-previous):not(.pagination-next):not(.current):hover span{color:#fff} #articles-pagination .ngx-pagination li:not(.small-screen):not(.pagination-previous):not(.pagination-next):not(.current) a, #articles-pagination .ngx-pagination li:not(.small-screen):not(.pagination-previous):not(.pagination-next):not(.current) a span{color:#008445} #articles-pagination .ngx-pagination li.current{min-width:36px;width:auto;height:36px;font-family:Roboto;font-size:16px;font-weight:500;line-height:18.75px;text-align:left;color:#fff;background:var(--Alison-Grey-50, #d7dcdf);border-radius:6px;display:inline-flex;justify-content:center;align-items:center;margin:0 4px} #articles-pagination .ngx-pagination a:hover, #articles-pagination .ngx-pagination button:hover{background:transparent}}"]}))}return o(),p})()}}]);
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.