import{cb as v}from"./chunk-JIDGXFMJ.js";import{j as D}from"./chunk-YJYOGSOO.js";import{ga as z}from"./chunk-KVTHJWZA.js";import{Ab as c,Bc as d,Fc as _,Hb as r,Ic as T,Jc as y,Lb as u,Ob as p,Sb as C,Tb as x,Ub as a,hb as f,jc as l,kc as g,lc as h,qa as s}from"./chunk-FWZCAEAJ.js";var A=(t,e,o)=>({width:t,height:e,backgroundColor:o,borderRadius:"50px"}),I=(()=>{let e=class e{constructor(){this.size=20}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=s({type:e,selectors:[["app-color-indicator"]],inputs:{color:"color",size:"size"},standalone:!0,features:[d],decls:2,vars:8,consts:[[3,"ngStyle","ngbTooltip"]],template:function(i,n){i&1&&(a(0,"div",0),T(1,"tr")),i&2&&r("ngStyle",_(4,A,n.size+"px",n.size+"px",n.color))("ngbTooltip",y(1,2,"COLOR_INDICATOR"))},dependencies:[D,v,z],encapsulation:2,changeDetection:0});let t=e;return t})();function b(t,e){if(t&1&&a(0,"app-color-indicator",1),t&2){let o=l(2);r("color",o.color)("size",o.size)}}function F(t,e){if(t&1&&c(0,b,1,2,"app-color-indicator",1),t&2){let o=l();p(0,o.color?0:-1)}}function M(t,e){if(t&1&&a(0,"app-color-indicator",1),t&2){let o=l(2);r("color",o.color)("size",o.size)}}function w(t,e){if(t&1&&c(0,M,1,2,"app-color-indicator",1),t&2){let o=l();p(0,o.color?0:-1)}}var W=["*"],B=(()=>{let e=class e{constructor(){this.placement="left",this.size=20}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=s({type:e,selectors:[["app-text-with-color-indicator"]],inputs:{color:"color",placement:"placement",size:"size"},standalone:!0,features:[d],ngContentSelectors:W,decls:4,vars:4,consts:[[1,"d-flex","align-items-center"],[3,"color","size"]],template:function(i,n){i&1&&(g(),C(0,"div",0),c(1,F,1,1),h(2),c(3,w,1,1),x()),i&2&&(u(n.color?"gap-3":""),f(),p(1,n.placement==="left"?1:-1),f(2),p(3,n.placement==="right"?3:-1))},dependencies:[I],encapsulation:2,changeDetection:0});let t=e;return t})();export{B as a};
