import{Co as jb,Fn as MV,Gn as NV,Kr as Tu,Nr as S$,X as D$,_s as ph,bc as wx,n as $B,s as $a,ti as Vb}from"./chunk-b0nJCs5_.js";function S(e,t){e&1&&(jb(0,`span`,4),S$(1,0),Vb())}function g(e,t){e&1&&(jb(0,`span`,4),S$(1,1),Vb())}function O(e,t){if(e&1&&(jb(0,`span`,5),S$(1,2),Vb()),e&2){let n=D$(2);wx(`title`,n.getSubscriptionTitle(n.account().mutedByInstanceSubscription))}}function f(e,t){if(e&1&&(jb(0,`span`,5),S$(1,3),Vb()),e&2){let n=D$(2);wx(`title`,n.getSubscriptionTitle(n.account().mutedServerByInstanceSubscription))}}function y(e,t){if(e&1&&(NV(0,O,2,1,`span`,5),NV(1,f,2,1,`span`,5)),e&2){let n=D$();MV(n.account().mutedByInstance?0:-1),$B(),MV(n.account().mutedServerByInstance?1:-1)}}var E=class e{account=ph.required();platformOnly=ph(!1,{transform:Tu});getSubscriptionTitle(t){if(t)return `Muted by subscription "${t}"`}static ɵfac=function(n){return new(n||e)};static ɵcmp=$a({type:e,selectors:[[`my-account-block-badges`]],inputs:{account:[1,`account`],platformOnly:[1,`platformOnly`]},decls:3,vars:3,consts:()=>{let t;t="Dempet";let n;n="Platform muted";let o;o="Muted by your platform";let C;return C="Platform muted by your platform",[t,n,o,C,[1,`pt-badge`,`badge-danger`],[1,`pt-badge`,`badge-danger`,3,`title`]]},template:function(n,o){n&1&&(NV(0,S,2,0,`span`,4),NV(1,g,2,0,`span`,4),NV(2,y,2,2)),n&2&&(MV(o.account().mutedByUser||o.platformOnly()&&o.account().mutedByInstance?0:-1),$B(),MV(o.account().mutedServerByUser||o.platformOnly()&&o.account().mutedServerByInstance?1:-1),$B(),MV(o.platformOnly()?-1:2))},styles:[`.pt-badge[_ngcontent-%COMP%]{font-size:12px;margin-inline-end:.625rem}`],changeDetection:1})};export{E as t};
//# debugId=f7d47092-cff8-533e-ae69-26a91c8da687
//# sourceMappingURL=chunk-DPoVWrj9.js.map