import{Ar as Tu,Eo as kb,Ga as g$,Go as m5,Gr as Va,Ia as f$,Kn as Pw,L as D3,Ls as rx,Pa as eh,Q as EV,Qi as bV,Za as gx,_s as ph,ec as th,fc as vm,fo as ih,it as FB,pr as S3,ss as oh,vc as wp}from"./chunk-B_pj7Jpm.js";import{t as X1}from"./chunk-CgIzqGPc.js";var M=[`*`];function P(n,i){if(n&1&&th(0,`my-global-icon`,3),n&2)gx(`iconName`,f$(2).icon())}function T(n,i){if(n&1&&(EV(0,P,1,1,`my-global-icon`,3),ih(1)),n&2)bV(f$().icon()?0:-1)}function O(n,i){}function S(n,i){n&1&&rx(0,O,0,0,`ng-template`)}function I(n,i){if(n&1&&(wp(0,`a`,1),rx(1,S,1,0,null,4),kb()),n&2){let e=f$(),r=g$(1);gx(`href`,e.href(),Pw)(`target`,e.target())(`ariaLabel`,e.ariaLabel())(`tabindex`,e.tabindex())(`ngClass`,e.builtClasses),eh(`title`,e.title()),FB(),gx(`ngTemplateOutlet`,r)}}function E(n,i){}function G(n,i){n&1&&rx(0,E,0,0,`ng-template`)}function j(n,i){if(n&1&&(wp(0,`a`,2),rx(1,G,1,0,null,4),kb()),n&2){let e=f$(),r=g$(1);gx(`routerLink`,e.internalLink())(`ariaLabel`,e.ariaLabel())(`tabindex`,e.tabindex())(`ngClass`,e.builtClasses),eh(`title`,e.title()),FB(),gx(`ngTemplateOutlet`,r)}}var v=class n{internalLink=ph(void 0);href=ph(void 0);target=ph(`_self`);title=ph(void 0);className=ph(void 0);inheritParentStyle=ph(!1,{transform:Tu});inheritParentDimension=ph(!1,{transform:Tu});tabindex=ph(void 0);ariaLabel=ph(void 0);icon=ph(void 0);builtClasses;ngOnInit(){this.builtClasses=this.className()||``,this.inheritParentStyle()&&(this.builtClasses+=` inherit-parent-style`),this.inheritParentDimension()&&(this.builtClasses+=` inherit-parent-dimension`)}static ɵfac=function(e){return new(e||n)};static ɵcmp=Va({type:n,selectors:[[`my-link`]],inputs:{internalLink:[1,`internalLink`],href:[1,`href`],target:[1,`target`],title:[1,`title`],className:[1,`className`],inheritParentStyle:[1,`inheritParentStyle`],inheritParentDimension:[1,`inheritParentDimension`],tabindex:[1,`tabindex`],ariaLabel:[1,`ariaLabel`],icon:[1,`icon`]},ngContentSelectors:M,decls:4,vars:1,consts:[[`content`,``],[3,`href`,`target`,`ariaLabel`,`tabindex`,`ngClass`],[3,`routerLink`,`ariaLabel`,`tabindex`,`ngClass`],[3,`iconName`],[4,`ngTemplateOutlet`]],template:function(e,r){e&1&&(oh(),rx(0,T,2,1,`ng-template`,null,0,m5),EV(2,I,2,7,`a`,1)(3,j,2,6,`a`,2)),e&2&&(FB(2),bV(r.href()?2:3))},dependencies:[vm,S3,D3,X1],styles:[`.inherit-parent-style[_ngcontent-%COMP%]{color:inherit;opacity:inherit;text-decoration:inherit}.inherit-parent-dimension[_ngcontent-%COMP%]{position:inherit;width:inherit;height:inherit}`],changeDetection:1})};export{v as t};
//# debugId=85be4f1a-f8bd-55eb-a461-bfb4f7c2cfdd
//# sourceMappingURL=chunk-B35GeA_N.js.map