import{a as N}from"./chunk-ZJ7WKAH3.js";import{$a as g,Aa as u,Bb as f,Da as s,Lb as h,Oa as a,Va as p,Wa as o,Zb as L,ba as C,db as m,eb as _,ed as S,fb as d,sb as r,sc as k,tb as x,ub as b,uc as y,zc as T}from"./chunk-QXV2GR6R.js";import{i}from"./chunk-JJ4RDTEF.js";var I=["*"];function O(t,n){if(t&1&&d(0,"my-global-icon",4),t&2){let e=r(2);o("iconName",e.icon)}}function P(t,n){if(t&1&&(a(0,O,1,1,"my-global-icon",3),b(1)),t&2){let e=r();o("ngIf",e.icon)}}function D(t,n){}function M(t,n){t&1&&a(0,D,0,0,"ng-template")}function R(t,n){if(t&1&&(m(0,"a",1),a(1,M,1,0,null,5),_()),t&2){let e=r(),l=f(1);o("href",e.href,u)("target",e.target)("ariaLabel",e.ariaLabel)("tabindex",e.tabindex)("ngClass",e.builtClasses),p("title",e.title),s(),o("ngTemplateOutlet",l)}}function E(t,n){}function F(t,n){t&1&&a(0,E,0,0,"ng-template")}function j(t,n){if(t&1&&(m(0,"a",2),a(1,F,1,0,null,5),_()),t&2){let e=r(),l=f(1);o("routerLink",e.internalLink)("ariaLabel",e.ariaLabel)("tabindex",e.tabindex)("ngClass",e.builtClasses),p("title",e.title),s(),o("ngTemplateOutlet",l)}}var W=(()=>{let n=class n{constructor(){i(this,"internalLink");i(this,"href");i(this,"target","_self");i(this,"title");i(this,"className");i(this,"inheritParentCSS",!1);i(this,"tabindex");i(this,"ariaLabel");i(this,"icon");i(this,"builtClasses")}ngOnInit(){this.builtClasses=this.className||"",(!this.builtClasses||this.inheritParentCSS)&&(this.builtClasses+=" inherit-parent")}};i(n,"\u0275fac",function(c){return new(c||n)}),i(n,"\u0275cmp",C({type:n,selectors:[["my-link"]],inputs:{internalLink:"internalLink",href:"href",target:"target",title:"title",className:"className",inheritParentCSS:"inheritParentCSS",tabindex:"tabindex",ariaLabel:"ariaLabel",icon:"icon"},standalone:!0,features:[h],ngContentSelectors:I,decls:4,vars:1,consts:[["content",""],[3,"href","target","ariaLabel","tabindex","ngClass"],[3,"routerLink","ariaLabel","tabindex","ngClass"],[3,"iconName",4,"ngIf"],[3,"iconName"],[4,"ngTemplateOutlet"]],template:function(c,v){c&1&&(x(),a(0,P,2,1,"ng-template",null,0,L)(2,R,2,7,"a",1)(3,j,2,6,"a",2)),c&2&&(s(2),g(v.href?2:3))},dependencies:[y,S,k,T,N],styles:[`.inherit-parent[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit;position:inherit;width:inherit;height:inherit}
/*# sourceMappingURL=link.component-D3FWZ4R5.css.map */`]}));let t=n;return t})();export{W as a};
/**i18n:224bcada6943fe8b17ea60808c2d370cec9507c3bd670ebe71692d099a3befa1*/
//# sourceMappingURL=chunk-KMAYBES5.js.map
