"use strict";exports.id=1638,exports.ids=[1638],exports.modules={71638:(a,b,c)=>{c.d(b,{notify:()=>e});var d=c(36017);async function e(a){let b=[],e={};if(!a.body?.trim())return{delivered:b,errors:{_:"empty body"}};let f=await (0,d.loadSettings)(),g=f.notify?.telegram;if(g?.enabled&&g.botToken&&g.chatId)try{let{sendTelegram:d}=await c.e(8511).then(c.bind(c,8511));await d(g,a),b.push("telegram")}catch(a){e.telegram=a instanceof Error?a.message:String(a)}return{delivered:b,errors:e}}}};