"use strict";exports.id=7002,exports.ids=[7002],exports.modules={57002:(a,b,c)=>{c.d(b,{exportAsDocx:()=>d});async function d(a){let[{unified:b},{default:d},{default:e},{default:f},{default:g},{buildMetadataMarkdown:h},{imagePlugin:i},{shikiPlugin:j}]=await Promise.all([Promise.all([c.e(5541),c.e(6767)]).then(c.bind(c,14638)),Promise.all([c.e(1059),c.e(9615),c.e(7943)]).then(c.bind(c,17943)),Promise.all([c.e(4343),c.e(1059),c.e(3555),c.e(2764)]).then(c.bind(c,22764)),Promise.all([c.e(4343),c.e(4969),c.e(4240)]).then(c.bind(c,44240)),Promise.all([c.e(4343),c.e(9015)]).then(c.bind(c,9015)),c.e(1997).then(c.bind(c,31997)),Promise.all([c.e(4343),c.e(4963),c.e(8097)]).then(c.bind(c,58097)),Promise.all([c.e(4343),c.e(4969),c.e(4998)]).then(c.bind(c,44998))]),k=h(a)+"\n\n"+(a.content??""),l=b().use(d).use(e).use(g).use(f,{title:a.title,creator:a.createdByName??"",thematicBreak:"line",styles:{default:{heading1:{paragraph:{spacing:{before:360,after:120}}},heading2:{paragraph:{spacing:{before:300,after:100}}},heading3:{paragraph:{spacing:{before:240,after:80}}},document:{paragraph:{spacing:{after:120}}}}},plugins:[i(),j({theme:"github-light"})]}),m=await l.process(k);return new Blob([await m.result],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"})}}};