import{a as D}from"./chunk-NIY7P74G.js";import{$a as a,Ac as P,Ca as g,Fa as s,Gb as _,La as h,Ra as C,Sa as i,_a as m,bc as y,eb as d,fc as u,fd as N,ib as p,jb as f,kb as b,tc as k,vc as T,xb as l,yb as x,zb as L}from"./chunk-4JM6MIZ5.js";import{i as c}from"./chunk-QJQRWPYR.js";var v=["*"];function I(t,n){if(t&1&&b(0,"my-global-icon",4),t&2){let e=l(2);a("iconName",e.icon)}}function O(t,n){if(t&1&&(i(0,I,1,1,"my-global-icon",3),L(1)),t&2){let e=l();a("ngIf",e.icon)}}function M(t,n){}function E(t,n){t&1&&i(0,M,0,0,"ng-template")}function R(t,n){if(t&1&&(p(0,"a",1),i(1,E,1,0,null,5),f()),t&2){let e=l(),o=_(1);a("href",e.href,g)("target",e.target)("ariaLabel",e.ariaLabel)("tabindex",e.tabindex)("ngClass",e.builtClasses),m("title",e.title),s(),a("ngTemplateOutlet",o)}}function j(t,n){}function w(t,n){t&1&&i(0,j,0,0,"ng-template")}function F(t,n){if(t&1&&(p(0,"a",2),i(1,w,1,0,null,5),f()),t&2){let e=l(),o=_(1);a("routerLink",e.internalLink)("ariaLabel",e.ariaLabel)("tabindex",e.tabindex)("ngClass",e.builtClasses),m("title",e.title),s(),a("ngTemplateOutlet",o)}}var B=(()=>{let n=class n{internalLink;href;target="_self";title;className;inheritParentStyle=!1;inheritParentDimension=!1;tabindex;ariaLabel;icon;builtClasses;ngOnInit(){this.builtClasses=this.className||"",this.inheritParentStyle&&(this.builtClasses+=" inherit-parent-style"),this.inheritParentDimension&&(this.builtClasses+=" inherit-parent-dimension")}};c(n,"\u0275fac",function(r){return new(r||n)}),c(n,"\u0275cmp",h({type:n,selectors:[["my-link"]],inputs:{internalLink:"internalLink",href:"href",target:"target",title:"title",className:"className",inheritParentStyle:[2,"inheritParentStyle","inheritParentStyle",u],inheritParentDimension:[2,"inheritParentDimension","inheritParentDimension",u],tabindex:"tabindex",ariaLabel:"ariaLabel",icon:"icon"},features:[C],ngContentSelectors:v,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(r,S){r&1&&(x(),i(0,O,2,1,"ng-template",null,0,y)(2,R,2,7,"a",1)(3,F,2,6,"a",2)),r&2&&(s(2),d(S.href?2:3))},dependencies:[T,N,k,P,D],styles:[`.inherit-parent-style[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}.inherit-parent-dimension[_ngcontent-%COMP%]{position:inherit;width:inherit;height:inherit}
/*# sourceMappingURL=link.component-PWJNE5RW.css.map */`]}));let t=n;return t})();export{B as a};
/**i18n:68865f44f2a527c44cf5136a17c76a0ff8308c2bae5c7c8d50070a5fb9847c44*/
//# sourceMappingURL=chunk-WLA3SNC6.js.map
