import{$ as f,aA as M,b as t,a9 as k,aB as _,M as v,d as b}from"./app-QjDgb7aF.js";import{b as B,a as d,w as g,j as V,p as x,k as r,i,J as s,D as n,u as l,q as c}from"./vue-Cm77DuTi.js";import"./charts-3gEHPHRq.js";import"./media-DuCIZ-3n.js";const h={class:"_formRoot"},I=B({__name:"instance-mute",setup(w){const a=d(f.mutedInstances.join(`
`)),o=d(!1);async function m(){let u=a.value.trim().split(`
`).map(e=>e.trim()).filter(e=>e);await b("i/update",{mutedInstances:u}),o.value=!1,a.value=u.join(`
`)}return g(a,()=>{o.value=!0}),M({title:t.ts.instanceMute,icon:"ph-speaker-none ph-bold ph-lg"}),(u,e)=>(V(),x("div",h,[r(k,null,{default:i(()=>[s(n(l(t).ts._instanceMute.title),1)]),_:1}),r(_,{modelValue:a.value,"onUpdate:modelValue":e[0]||(e[0]=p=>a.value=p),class:"_formBlock"},{label:i(()=>[s(n(l(t).ts._instanceMute.heading),1)]),caption:i(()=>[s(n(l(t).ts._instanceMute.instanceMuteDescription),1),e[2]||(e[2]=c("br",null,null,-1)),s(n(l(t).ts._instanceMute.instanceMuteDescription2),1)]),_:1},8,["modelValue"]),r(v,{primary:"",disabled:!o.value,class:"_formBlock",onClick:e[1]||(e[1]=p=>m())},{default:i(()=>[e[3]||(e[3]=c("i",{class:"ph-floppy-disk-back ph-bold ph-lg"},null,-1)),s(" "+n(l(t).ts.save),1)]),_:1},8,["disabled"])]))}});export{I as default};
//# sourceMappingURL=instance-mute-Bxbuj98g.js.map
