import{Cb as p,Hc as f,Lc as c,Sa as d,Ya as l,eb as s,pb as a,sc as m,ta as r}from"./chunk-747XQIKV.js";import{i as o}from"./chunk-D3F7ONO7.js";function y(t,e){if(t&1&&a(0,"div",1),t&2){let g=p();s("ngStyle",g.getStyle())}}var S=(()=>{let e=class e{loading=r(void 0,{transform:m});size=r(void 0);sizes={sm:{width:"1rem",height:"1rem","border-width":"0.15rem"},xl:{width:"3rem",height:"3rem"}};getStyle(){let n=this.size();if(n)return this.sizes[n]}};o(e,"\u0275fac",function(i){return new(i||e)}),o(e,"\u0275cmp",d({type:e,selectors:[["my-loader"]],inputs:{loading:[1,"loading"],size:[1,"size"]},decls:1,vars:1,consts:[["class","spinner-border","role","status",3,"ngStyle",4,"ngIf"],["role","status",1,"spinner-border",3,"ngStyle"]],template:function(i,u){i&1&&l(0,y,1,1,"div",0),i&2&&s("ngIf",u.loading())},dependencies:[f,c],encapsulation:2}));let t=e;return t})();export{S as a};
/**i18n:6f27118bd781e1b187bee9d5d6ca55c8b3017949bcb9fb3e18a73e038f249d42*/
//# sourceMappingURL=chunk-BM3RFPVL.js.map
