import{L as qp,R as tl,b as Pa,m as _2,A as w2,z as zB,ci as lb,y as yV,cj as db,o as bV,ck as W0}from'./main-BiUBeaMj.js';function p(n,d){n&1&&(lb(0,"span",4),yV(1,0),db());}function O(n,d){n&1&&(lb(0,"span",4),yV(1,1),db());}function g(n,d){if(n&1&&(lb(0,"span",5),yV(1,2),db()),n&2){let e=bV(2);W0("title",e.getSubscriptionTitle(e.account().mutedByInstanceSubscription));}}function f(n,d){if(n&1&&(lb(0,"span",5),yV(1,3),db()),n&2){let e=bV(2);W0("title",e.getSubscriptionTitle(e.account().mutedServerByInstanceSubscription));}}function T(n,d){if(n&1&&(_2(0,g,2,1,"span",5),_2(1,f,2,1,"span",5)),n&2){let e=bV();w2(e.account().mutedByInstance?0:-1),zB(),w2(e.account().mutedServerByInstance?1:-1);}}var D=(()=>{class n{account=qp.required();platformOnly=qp(false,{transform:tl});getSubscriptionTitle(e){if(e)return"Muted by subscription \""+e+"\"";}static ɵfac=function(o){return new(o||n)();};static ɵcmp=Pa({type:n,selectors:[["my-account-block-badges"]],inputs:{account:[1,"account"],platformOnly:[1,"platformOnly"]},decls:3,vars:3,consts:()=>{let e;e="T\u1EAFt ti\u1EBFng";let o;o="M\xE1y ch\u1EE7 \u0111\xE3 ph\u1EDBt l\u1EDD";let t;t="B\u1ECB m\xE1y ch\u1EE7 c\u1EE7a b\u1EA1n ph\u1EDBt l\u1EDD";let E;return E="Platform muted by your platform",[e,o,t,E,[1,"pt-badge","badge-danger"],[1,"pt-badge","badge-danger",3,"title"]];},template:function(o,t){o&1&&(_2(0,p,2,0,"span",4),_2(1,O,2,0,"span",4),_2(2,T,2,2)),o&2&&(w2(t.account().mutedByUser||t.platformOnly()&&t.account().mutedByInstance?0:-1),zB(),w2(t.account().mutedServerByUser||t.platformOnly()&&t.account().mutedServerByInstance?1:-1),zB(),w2(t.platformOnly()?-1:2));},styles:[".pt-badge[_ngcontent-%COMP%]{font-size:12px;margin-inline-end:.625rem}"],changeDetection:1});}return n;})();/**i18n:fad79908930cbb4c308e7550a5fe49bb3841dbb330066a6429aebaa006173605*/export{D};//# sourceMappingURL=chunk-BRBtyPtw.js.map