-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path607.61b511efb1b01010.js
1 lines (1 loc) · 5.31 KB
/
607.61b511efb1b01010.js
1
"use strict";(self.webpackChunkprofile=self.webpackChunkprofile||[]).push([[607],{5607:(d,c,e)=>{e.r(c),e.d(c,{PageTagComponent:()=>C});var n=e(7705),i=e(177),a=e(5447),l=e(345),_=e(8141),P=e(175),M=e(1612);function O(g,s){if(1&g&&(n.j41(0,"div",4)(1,"div",5)(2,"a",6),n.nrm(3,"img",7),n.k0s()(),n.j41(4,"div",8)(5,"a",9),n.EFF(6),n.k0s(),n.j41(7,"ul",10)(8,"li",11),n.EFF(9),n.nI1(10,"date"),n.k0s(),n.j41(11,"li")(12,"a",12),n.EFF(13),n.k0s()()()(),n.j41(14,"p"),n.EFF(15),n.k0s(),n.j41(16,"div",13)(17,"a",14),n.EFF(18," En savoir plus "),n.k0s()()()),2&g){const t=s.$implicit;n.R7$(2),n.Y8G("routerLink",t.path),n.R7$(1),n.Y8G("src",t.image,n.B4B)("alt",t.title),n.R7$(2),n.Y8G("routerLink",t.path),n.R7$(1),n.JRh(t.title),n.R7$(3),n.SpI(" ",n.i5U(10,10,t.cdate,"dd MMM yyyy")," "),n.R7$(3),n.Y8G("routerLink",t.categoryPath),n.R7$(1),n.JRh(t.categoryName),n.R7$(2),n.JRh(t.descrp),n.R7$(2),n.Y8G("routerLink",t.path)}}let C=(()=>{class g{constructor(){this.blogService=(0,n.WQX)(M.c),this.route=(0,n.WQX)(a.nX),this.router=(0,n.WQX)(a.Ix),this.title=(0,n.WQX)(l.hE),this._name=(0,n.vPA)(""),this._items=(0,n.vPA)([])}get name(){return this._name.asReadonly()}get items(){return this._items.asReadonly()}ngOnInit(){this.route.params.pipe((0,_.M)(t=>{this._fetchTag(t.path)})).subscribe()}_fetchTag(t){const o=this.blogService.getBlogTag(t);o?(this._name.set(o.name),this._items.set(this.blogService.getBlogsTag(o.id)),this.title.setTitle(`${o.name} - Reda Bensaad`)):this.router.navigateByUrl("/404")}static#n=this.\u0275fac=function(o){return new(o||g)};static#t=this.\u0275cmp=n.VBU({type:g,selectors:[["app-page-tag"]],standalone:!0,features:[n.aNF],decls:6,vars:2,consts:[[1,"page-blog"],[1,"t-header"],[1,"divider2","my-20"],["class","widget-blog",4,"ngFor","ngForOf"],[1,"widget-blog"],[1,"thumbnail"],[1,"t-block","t-text2",3,"routerLink"],[1,"img-fluid",3,"src","alt"],[1,"header"],[1,"link-black",3,"routerLink"],[1,"f-12","t-upper","l-none"],[1,"t-gray1"],[3,"routerLink"],[1,"caption"],[1,"lien-btn","lien-red","t-upper",3,"routerLink"]],template:function(o,r){1&o&&(n.j41(0,"div",0)(1,"h1",1),n.EFF(2),n.k0s(),n.nrm(3,"div",2),n.DNE(4,O,19,13,"div",3),n.k0s(),n.nrm(5,"app-footer")),2&o&&(n.R7$(2),n.SpI("\xc9tiquette : ",r.name(),""),n.R7$(2),n.Y8G("ngForOf",r.items()))},dependencies:[i.MD,i.Sq,i.vh,a.iI,a.Wk,P.n],styles:['.widget-blog[_ngcontent-%COMP%] > .thumbnail[_ngcontent-%COMP%]{min-height:100px;border:1px solid var(--bs-border3)}.widget-blog[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%]{padding-top:22px;padding-bottom:12px;border-bottom:1px solid var(--bs-border3)}.widget-blog[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%]{margin-top:12px}.widget-blog[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:inline-block}.widget-blog[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]:before{display:inline-block;content:"";width:5px;height:5px;margin:0 15px;border-radius:50%;transform:translateY(-2px);background:var(--bs-red1)}.widget-blog[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{font-weight:500}.widget-blog[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin-top:17px;line-height:24px}.page-blog[_ngcontent-%COMP%] > .widget-blog[_ngcontent-%COMP%]{margin-bottom:50px}.page-blog[_ngcontent-%COMP%] > .widget-blog[_ngcontent-%COMP%] > .thumbnail[_ngcontent-%COMP%]{overflow:hidden}.page-blog[_ngcontent-%COMP%] > .widget-blog[_ngcontent-%COMP%] > .thumbnail[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{margin:-20px 0}.page-blog[_ngcontent-%COMP%] > .widget-blog[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .page-article[_ngcontent-%COMP%] > .widget-blog[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{font-weight:700;line-height:normal}.page-blog[_ngcontent-%COMP%] > .widget-blog[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{font-size:28px}.page-blog[_ngcontent-%COMP%] > .widget-blog[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:var(--bs-red1)}.page-blog[_ngcontent-%COMP%] > .widget-blog[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{color:var(--bs-red2);text-decoration:underline}.page-blog[_ngcontent-%COMP%] > .widget-blog[_ngcontent-%COMP%] > .caption[_ngcontent-%COMP%]{margin-top:25px}.page-blog[_ngcontent-%COMP%] > .widget-blog[_ngcontent-%COMP%] > .caption[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:12px 26px 11px}.page-article[_ngcontent-%COMP%] > .widget-blog[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] > h2[_ngcontent-%COMP%]{font-size:34px}.page-article[_ngcontent-%COMP%] > .widget-blog[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:var(--bs-gray1)}.page-article[_ngcontent-%COMP%] > .widget-blog[_ngcontent-%COMP%] > .header[_ngcontent-%COMP%] > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{color:var(--bs-red1)}.page-article[_ngcontent-%COMP%] > .widget-blog[_ngcontent-%COMP%] > .ul-tags[_ngcontent-%COMP%]{margin-top:30px;margin-bottom:40px}'],changeDetection:0})}return g})()}}]);