import{Db as p,Ic as f,Jc as c,Sa as d,Ya as l,eb as s,qb as a,ta as r,tc as m}from"./chunk-GKQGDBUU.js";import{i as o}from"./chunk-QVFSZZWQ.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:42345378061bf3c93df67acfa161b751a7b03cc91f3ede7c1f1cdf2bba62fe26*/
//# sourceMappingURL=chunk-VPWIEXHH.js.map
