"use strict";(self.webpackChunktoor=self.webpackChunktoor||[]).push([[998],{8998:(B,s,i)=>{i.r(s),i.d(s,{BlogGridModule:()=>q});var g=i(8583),p=i(811),a=i(2533),l=i(4832),t=i(5e3),c=i(3465),d=i(6975),u=i(4465);function m(o,e){if(1&o&&(t.TgZ(0,"div",26),t.TgZ(1,"cite",27),t._uU(2,"Post By "),t.TgZ(3,"a",11),t._uU(4),t.qZA(),t.qZA(),t.qZA()),2&o){const n=e.$implicit;t.xp6(3),t.MGl("routerLink","/blog/author/",n.id,""),t.xp6(1),t.Oqu(n.name)}}function Z(o,e){if(1&o&&(t.TgZ(0,"article",8),t.TgZ(1,"div",9),t.TgZ(2,"div",10),t.TgZ(3,"a",11),t._UZ(4,"img",12),t.qZA(),t._UZ(5,"div",13),t.qZA(),t.TgZ(6,"div",14),t.TgZ(7,"div",15),t.TgZ(8,"a",16),t.TgZ(9,"span",17),t._UZ(10,"i",18),t.qZA(),t._uU(11),t.qZA(),t.TgZ(12,"a",16),t.TgZ(13,"span",17),t._UZ(14,"i",19),t.qZA(),t._uU(15),t.qZA(),t.qZA(),t.TgZ(16,"div",20),t.TgZ(17,"h2"),t.TgZ(18,"a",21),t._uU(19),t.qZA(),t.qZA(),t.TgZ(20,"p",22),t._uU(21),t.qZA(),t.qZA(),t.qZA(),t.TgZ(22,"div",23),t.YNc(23,m,5,2,"div",24),t.TgZ(24,"a",25),t._uU(25,"Read More"),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&o){const n=e.$implicit,r=t.oxw();t.xp6(3),t.MGl("routerLink","/blog-details/",n.id,""),t.xp6(1),t.Q6J("src",n.image[0],t.LSH)("alt",n.title),t.xp6(1),t.Q6J("innerHtml",r.getDateInitials(n.postdate),t.oJD),t.xp6(3),t.MGl("routerLink","/blog-details/",n.id,""),t.xp6(3),t.hij(" ",n.reviews.length," Comments "),t.xp6(1),t.MGl("routerLink","/blog-details/",n.id,""),t.xp6(3),t.hij(" ",n.likes," Likes "),t.xp6(3),t.MGl("routerLink","/blog-details/",n.id,""),t.xp6(1),t.Oqu(n.title),t.xp6(2),t.hij("",n.shorttext,"..."),t.xp6(2),t.Q6J("ngForOf",r.getAuthor(n.author)),t.xp6(1),t.MGl("routerLink","/blog-details/",n.id,"")}}const f=function(o){return{itemsPerPage:6,currentPage:o}};let h=(()=>{class o extends u.d{}return o.\u0275fac=function(){let e;return function(r){return(e||(e=t.n5z(o)))(r||o)}}(),o.\u0275cmp=t.Xpm({type:o,selectors:[["app-content"]],features:[t.qOj],decls:10,vars:6,consts:[[1,"section-padding","bg-light-white","our_articles"],[1,"container"],[1,"row"],["class","col-lg-4 col-md-6 post mb-xl-30",4,"ngFor","ngForOf"],[1,"col-12"],[1,"pagination_layout","section-padding-top"],[1,"pagination","justify-content-center"],[3,"pageChange"],[1,"col-lg-4","col-md-6","post","mb-xl-30"],[1,"post-wrapper","bx-wrapper"],[1,"post-img","animate-img"],[3,"routerLink"],[1,"full-width",3,"src","alt"],[1,"post-date",3,"innerHtml"],[1,"blog-meta","padding-20","bg-custom-white","p-relative"],[1,"post-meta","mb-xl-20"],[1,"text-light-dark","mr-1",3,"routerLink"],[1,"text-custom-blue"],[1,"fas","fa-comment"],[1,"fas","fa-thumbs-up"],[1,"post-heading"],[1,"text-custom-black","fw-600","fs-20",3,"routerLink"],[1,"text-light-dark","no-margin"],[1,"post-footer"],["class","post-author",4,"ngFor","ngForOf"],[1,"text-custom-blue","fs-14","fs-600",3,"routerLink"],[1,"post-author"],[1,"text-custom-black"]],template:function(n,r){1&n&&(t.TgZ(0,"section",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.YNc(3,Z,26,13,"article",3),t.ALo(4,"paginate"),t.qZA(),t.TgZ(5,"div",2),t.TgZ(6,"div",4),t.TgZ(7,"nav",5),t.TgZ(8,"ul",6),t.TgZ(9,"pagination-controls",7),t.NdJ("pageChange",function(G){return r.page=G}),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&n&&(t.xp6(3),t.Q6J("ngForOf",t.xi3(4,1,r.blogblock,t.VKq(4,f,r.page))))},directives:[g.sg,a.LS,l.yS],pipes:[a._s],styles:[""]}),o})();var v=i(9652),T=i(5140);const A=[{path:"",component:(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(n){return new(n||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-blog-grid"]],decls:5,vars:0,template:function(n,r){1&n&&(t._UZ(0,"app-header"),t._UZ(1,"app-breadcrumbs"),t._UZ(2,"app-content"),t._UZ(3,"app-partners"),t._UZ(4,"app-footer"))},directives:[c.G,d.n,h,v.h,T.c],styles:[""]}),o})()}];let x=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[l.Bz.forChild(A)],l.Bz]}),o})();var C=i(4065);let q=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[g.ez,x,C.m,p.IJ,a.JX]]}),o})()}}]);