var n=Object.defineProperty;var o=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;var r=(t,e,a)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,d=(t,e)=>{for(var a in e||(e={}))p.call(e,a)&&r(t,a,e[a]);if(o)for(var a of o(e))c.call(e,a)&&r(t,a,e[a]);return t};import{c as m,_ as h}from"./main-343.js";const C=(t,e,a,f)=>{const i=d({},t),l={bot_api_key:i.bot_api_key};a(!0),m(l,"bitforms_refresh_get_updates").then(s=>{s&&s.success?(i.default||(i.default={}),s.data.telegramChatLists&&(i.default.telegramChatLists=s.data.telegramChatLists),f({show:!0,msg:h("Chat list refreshed")}),e(d({},i))):s&&s.data&&s.data.data||!s.success&&typeof s.data=="string"?f({show:!0,msg:`${h("Chat list refresh failed Cause:")}${s.data.data||s.data}. ${h("please try again")}`}):f({show:!0,msg:h("Chat list refresh failed. please try again")}),a(!1)}).catch(()=>a(!1))},u=(t,e,a)=>{const f=d({},e);f.name=t.target.value,a(d({},f))},w=["file-up","advanced-file-up","signature"];export{w as a,u as h,C as r};
