import{$a as a,Bb as c,Fc as p,Ka as d,Rc as u,_a as s,eb as l,hb as m,yc as r}from"./chunk-O5L4E6JZ.js";import{i as o}from"./chunk-ISBQGYOJ.js";function y(t,e){if(t&1&&m(0,"div",0),t&2){let f=c();l("ngStyle",f.getStyle())}}var x=(()=>{let e=class e{loading=r(void 0,{transform:p});size=r(void 0);sizes={sm:{width:"1rem",height:"1rem","border-width":"0.15rem"},xl:{width:"3rem",height:"3rem"}};getStyle(){let i=this.size();if(i)return this.sizes[i]}};o(e,"\u0275fac",function(n){return new(n||e)}),o(e,"\u0275cmp",d({type:e,selectors:[["my-loader"]],inputs:{loading:[1,"loading"],size:[1,"size"]},decls:1,vars:1,consts:[["role","status",1,"spinner-border",3,"ngStyle"]],template:function(n,g){n&1&&s(0,y,1,1,"div",0),n&2&&a(g.loading()?0:-1)},dependencies:[u],encapsulation:2}));let t=e;return t})();export{x as a};
/**i18n:4d96fbbe8a02868f1b15225bb74dfc1273beaf38b7ce36e9c53048b85eee2d05*/
//# sourceMappingURL=chunk-WVXLVXI4.js.map
