import{C as P}from"./chunk-YLQIMX27.js";import{a as O}from"./chunk-NIY7P74G.js";import{$a as i,Ca as f,Db as y,Eb as b,Fa as u,Fb as C,Gb as v,Hb as x,Ib as I,La as g,Sa as p,bc as h,ib as c,jb as s,kb as _,uc as w,vc as F,xb as m}from"./chunk-4JM6MIZ5.js";import{i as a}from"./chunk-QJQRWPYR.js";var k=["popover"];function M(e,t){if(e&1&&(c(0,"a",6),x(1),s()),e&2){let o=t.$implicit;i("href",o.url,f),u(),I(o.label);}}function T(e,t){if(e&1&&p(0,M,2,2,"a",5),e&2){let o=m(2);i("ngForOf",o.syndicationItems);}}function N(e,t){if(e&1&&(c(0,"button",3,0),_(2,"my-global-icon",4),p(3,T,1,1,"ng-template",null,1,h),s()),e&2){let o=v(4),r=m();i("ngbPopover",o)("autoClose",!0)("title",r.getTitle());}}var R=(()=>{let t=class t{popover;syndicationItems;getTitle(){return this.popover?.isOpen()?"Close syndication dropdown":"Ireki sindikatzearen goitibeherako menua";}};a(t,"\u0275fac",function(n){return new(n||t)();}),a(t,"\u0275cmp",g({type:t,selectors:[["my-feed"]],viewQuery:function(n,l){if(n&1&&y(k,5),n&2){let d;b(d=C())&&(l.popover=d.first);}},inputs:{syndicationItems:"syndicationItems"},decls:1,vars:1,consts:[["popover","ngbPopover"],["feedsList",""],["placement","bottom left auto","class","feed border-0 p-0",3,"ngbPopover","autoClose","title",4,"ngIf"],["placement","bottom left auto",1,"feed","border-0","p-0",3,"ngbPopover","autoClose","title"],["iconName","syndication"],["class","feed-link","target","_blank","rel","noopener noreferrer",3,"href",4,"ngFor","ngForOf"],["target","_blank","rel","noopener noreferrer",1,"feed-link",3,"href"]],template:function(n,l){n&1&&p(0,N,5,3,"button",2),n&2&&i("ngIf",l.syndicationItems&&l.syndicationItems.length!==0);},dependencies:[F,P,O,w],styles:[`.feed[_ngcontent-%COMP%]{width:100%;color:inherit}.feed-link[_ngcontent-%COMP%]{color:var(--fg);display:block;min-width:100px}.feed-link[_ngcontent-%COMP%]:hover{text-decoration:underline}my-global-icon[_ngcontent-%COMP%]{width:100%}
/*# sourceMappingURL=feed.component-CCIQNA7E.css.map */`]}));let e=t;return e;})();export{R as a};/**i18n:68865f44f2a527c44cf5136a17c76a0ff8308c2bae5c7c8d50070a5fb9847c44*///# sourceMappingURL=chunk-3KZEUZHH.js.map