import{Ab as E,Da as u,Db as r,Ec as A,Jb as m,Mc as O,Na as p,gb as a,hb as c,qb as l,rb as d}from"./chunk-DZBHF6HI.js";import{i as C}from"./chunk-IQVXR75E.js";function f(n,e){n&1&&(l(0,"span",4),r(1,0),d());}function g(n,e){n&1&&(l(0,"span",4),r(1,1),d());}function T(n,e){if(n&1&&(l(0,"span",5),r(1,2),d()),n&2){let o=m(2);E("title",o.getSubscriptionTitle(o.account().mutedByInstanceSubscription));}}function M(n,e){if(n&1&&(l(0,"span",5),r(1,3),d()),n&2){let o=m(2);E("title",o.getSubscriptionTitle(o.account().mutedServerByInstanceSubscription));}}function N(n,e){if(n&1&&(a(0,T,2,1,"span",5),a(1,M,2,1,"span",5)),n&2){let o=m();c(o.account().mutedByInstance?0:-1),u(),c(o.account().mutedServerByInstance?1:-1);}}var B=(()=>{let e=class e{account=A.required();platformOnly=A(!1,{transform:O});getSubscriptionTitle(i){if(i)return"Muted by subscription \""+i+"\"";}};C(e,"\u0275fac",function(_){return new(_||e)();}),C(e,"\u0275cmp",p({type:e,selectors:[["my-account-block-badges"]],inputs:{account:[1,"account"],platformOnly:[1,"platformOnly"]},decls:3,vars:3,consts:()=>{let i;i="Ztlumen\xE9";let _;_="Platform muted";let t;t="Muted by your platform";let S;return S="Platform muted by your platform",[i,_,t,S,[1,"pt-badge","badge-danger"],[1,"pt-badge","badge-danger",3,"title"]];},template:function(_,t){_&1&&(a(0,f,2,0,"span",4),a(1,g,2,0,"span",4),a(2,N,2,2)),_&2&&(c(t.account().mutedByUser||t.platformOnly()&&t.account().mutedByInstance?0:-1),u(),c(t.account().mutedServerByUser||t.platformOnly()&&t.account().mutedServerByInstance?1:-1),u(),c(t.platformOnly()?-1:2));},styles:[`.pt-badge[_ngcontent-%COMP%]{font-size:12px;margin-inline-end:.625rem}
/*# sourceMappingURL=account-block-badges.component-U44HK35W.css.map */`]}));let n=e;return n;})();export{B as a};/**i18n:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*///# sourceMappingURL=chunk-ZQWP2SWU.js.map