"use strict";exports.id=6044,exports.ids=[6044],exports.modules={46044:(a,b,c)=>{c.d(b,{exportAsPdf:()=>f});let d=null;async function e(){if(d)return d;let[a,b]=await Promise.all([fetch("/fonts/NotoSansSC-Regular.ttf").then(a=>a.arrayBuffer()),fetch("/fonts/NotoSansSC-Bold.ttf").then(a=>a.arrayBuffer())]);return d={normal:a,bold:b}}async function f(a){let[{unified:b},{default:d},{default:f},{default:g},{default:h},{buildMetadataMarkdown:i},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(4963),c.e(2570)]).then(c.bind(c,62570)),Promise.all([c.e(4343),c.e(9015)]).then(c.bind(c,9015)),c.e(1997).then(c.bind(c,31997)),e()]),k=i(a)+"\n\n"+(a.content??""),l=b().use(d).use(f).use(h).use(g,{fonts:[{name:"NotoSansSC",normal:j.normal,bold:j.bold},"Courier"],size:"A4",margin:{top:60,bottom:60,left:65,right:65},spacing:6,styles:{default:{fontSize:10.5,color:"#24292f"},head1:{fontSize:24,bold:!0,color:"#1f2328"},head2:{fontSize:18,bold:!0,color:"#1f2328"},head3:{fontSize:15,bold:!0,color:"#1f2328"},head4:{fontSize:12.5,bold:!0,color:"#1f2328"},head5:{fontSize:11,bold:!0,color:"#1f2328"},head6:{fontSize:10.5,bold:!0,italic:!0,color:"#656d76"},link:{color:"#0969da",underline:!0},inlineCode:{color:"#c7254e",fontSize:9.5,bold:!0},code:{font:"Courier",fontSize:9,color:"#1f2328"},blockquote:{color:"#656d76",italic:!0}}}),m=await l.process(k);return new Blob([await m.result],{type:"application/pdf"})}}};