(function(n){function e(){var i=n();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.markdown=e()}})(function(){"use strict";var yl=Object.create;var kr=Object.defineProperty;var wl=Object.getOwnPropertyDescriptor;var xl=Object.getOwnPropertyNames;var kl=Object.getPrototypeOf,Bl=Object.prototype.hasOwnProperty;var Gn=e=>{throw TypeError(e)};var C=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Yn=(e,r)=>{for(var t in r)kr(e,t,{get:r[t],enumerable:!0})},$n=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of xl(r))!Bl.call(e,a)&&a!==t&&kr(e,a,{get:()=>r[a],enumerable:!(n=wl(r,a))||n.enumerable});return e};var Me=(e,r,t)=>(t=e!=null?yl(kl(e)):{},$n(r||!e||!e.__esModule?kr(t,"default",{value:e,enumerable:!0}):t,e)),Tl=e=>$n(kr({},"__esModule",{value:!0}),e);var Vn=(e,r,t)=>r.has(e)||Gn("Cannot "+t);var ce=(e,r,t)=>(Vn(e,r,"read from private field"),t?t.call(e):r.get(e)),jn=(e,r,t)=>r.has(e)?Gn("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,t),Wn=(e,r,t,n)=>(Vn(e,r,"write to private field"),n?n.call(e,t):r.set(e,t),t);var Br=C((cF,Hn)=>{"use strict";Hn.exports=Sl;function Sl(e){return String(e).replace(/\s+/g," ")}});var iu=C((cv,nu)=>{"use strict";nu.exports=Vf;var Dr=9,Gr=10,je=32,zf=33,Gf=58,We=91,Yf=92,Pt=93,pr=94,Yr=96,$r=4,$f=1024;function Vf(e){var r=this.Parser,t=this.Compiler;jf(r)&&Hf(r,e),Wf(t)&&Kf(t)}function jf(e){return!!(e&&e.prototype&&e.prototype.blockTokenizers)}function Wf(e){return!!(e&&e.prototype&&e.prototype.visitors)}function Hf(e,r){for(var t=r||{},n=e.prototype,a=n.blockTokenizers,i=n.inlineTokenizers,u=n.blockMethods,o=n.inlineMethods,s=a.definition,l=i.reference,c=[],f=-1,p=u.length,d;++f
$r&&(Z=void 0,Ee=T);else{if(Z<$r&&U&&(U.contentStart===U.contentEnd||Xf(E,a,w,[b,g.slice(T,$f),!0])))break;Z=void 0,Ee=T}T++}for(T=-1,k=ve.length;k>0&&(U=ve[k-1],U.contentStart===U.contentEnd);)k--;for(Be=b(g.slice(0,U.contentEnd));++T 65535&&(w-=65536,T+=Ke(w>>>10|55296),w=56320|w&1023),w=T+Ke(w))):S!==Xe&&x(Ju,W)),w?(Ee(),O=ee(),d=I-1,h+=I-P+1,A.push(w),Be=ee(),Be.offset++,i&&i.call(s,w,{start:O,end:Be},e.slice(P-1,I)),O=Be):(g=e.slice(P-1,I),F+=g,h+=g.length,d=I-1)}else y===10&&(m++,D++,h=0),y===y?(F+=Ke(y),h++):Ee();return A.join("");function ee(){return{line:m,column:h,offset:d+(c.offset||0)}}function Z(ve,U){var ht=ee();ht.column+=U,ht.offset+=U,u.call(l,we[ve],ht,ve)}function Ee(){F&&(A.push(F),a&&a.call(o,F,{start:O,end:ee()}),F="")}}function KD(e){return e>=55296&&e<=57343||e>1114111}function XD(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}});var na=C((Tv,ta)=>{"use strict";var JD=Ie(),ra=dr();ta.exports=QD;function QD(e){return t.raw=n,t;function r(i){for(var u=e.offset,o=i.line,s=[];++o&&o in u;)s.push((u[o]||0)+1);return{start:i,indent:s}}function t(i,u,o){ra(i,{position:r(u),warning:a,text:o,reference:o,textContext:e,referenceContext:e})}function n(i,u,o){return ra(i,JD(o,{position:r(u),warning:a}))}function a(i,u,o){o!==3&&e.file.message(i,u)}}});var aa=C((qv,ua)=>{"use strict";ua.exports=ZD;function ZD(e){return r;function r(t,n){var a=this,i=a.offset,u=[],o=a[e+"Methods"],s=a[e+"Tokenizers"],l=n.line,c=n.column,f,p,d,D,h,m;if(!t)return u;for(w.now=v,w.file=a.file,F("");t;){for(f=-1,p=o.length,h=!1;++f {"use strict";sa.exports=Wr;var $t=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],Vt=$t.concat(["~","|"]),oa=Vt.concat([`
`,'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);Wr.default=$t;Wr.gfm=Vt;Wr.commonmark=oa;function Wr(e){var r=e||{};return r.commonmark?oa:r.gfm?Vt:$t}});var fa=C((Sv,la)=>{"use strict";la.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]});var jt=C((Pv,Da)=>{"use strict";Da.exports={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:fa()}});var ha=C((Ov,pa)=>{"use strict";var tp=Ie(),np=ca(),ip=jt();pa.exports=up;function up(e){var r=this,t=r.options,n,a;if(e==null)e={};else if(typeof e=="object")e=tp(e);else throw new Error("Invalid value `"+e+"` for setting `options`");for(n in ip){if(a=e[n],a==null&&(a=t[n]),n!=="blocks"&&typeof a!="boolean"||n==="blocks"&&typeof a!="object")throw new Error("Invalid value `"+a+"` for setting `options."+n+"`");e[n]=a}return r.options=e,r.escape=np(e),r}});var Fa=C((Lv,ma)=>{"use strict";ma.exports=da;function da(e){if(e==null)return cp;if(typeof e=="string")return sp(e);if(typeof e=="object")return"length"in e?op(e):ap(e);if(typeof e=="function")return e;throw new Error("Expected function, string, or object as test")}function ap(e){return r;function r(t){var n;for(n in e)if(t[n]!==e[n])return!1;return!0}}function op(e){for(var r=[],t=-1;++t {"use strict";var rr={}.hasOwnProperty;Rc.exports=Dm;function Dm(e){return!e||typeof e!="object"?"":rr.call(e,"position")||rr.call(e,"type")?Lc(e.position):rr.call(e,"start")||rr.call(e,"end")?Lc(e):rr.call(e,"line")||rr.call(e,"column")?Sn(e):""}function Sn(e){return(!e||typeof e!="object")&&(e={}),Ic(e.line)+":"+Ic(e.column)}function Lc(e){return(!e||typeof e!="object")&&(e={}),Sn(e.start)+"-"+Sn(e.end)}function Ic(e){return e&&typeof e=="number"?e:1}});var zc=C((zC,Uc)=>{"use strict";var pm=Nc();Uc.exports=Pn;function Mc(){}Mc.prototype=Error.prototype;Pn.prototype=new Mc;var ke=Pn.prototype;ke.file="";ke.name="";ke.reason="";ke.message="";ke.stack="";ke.fatal=null;ke.column=null;ke.line=null;function Pn(e,r,t){var n,a,i;typeof r=="string"&&(t=r,r=null),n=hm(t),a=pm(r)||"1:1",i={start:{line:null,column:null},end:{line:null,column:null}},r&&r.position&&(r=r.position),r&&(r.start?(i=r,r=r.start):i.start=r),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=a,this.reason=e,this.line=r?r.line:null,this.column=r?r.column:null,this.location=i,this.source=n[0],this.ruleId=n[1]}function hm(e){var r=[null,null],t;return typeof e=="string"&&(t=e.indexOf(":"),t===-1?r[1]=e:(r[0]=e.slice(0,t),r[1]=e.slice(t+1))),r}});var Gc=C(tr=>{"use strict";tr.basename=dm;tr.dirname=mm;tr.extname=Fm;tr.join=gm;tr.sep="/";function dm(e,r){var t=0,n=-1,a,i,u,o;if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');if(wr(e),a=e.length,r===void 0||!r.length||r.length>e.length){for(;a--;)if(e.charCodeAt(a)===47){if(u){t=a+1;break}}else n<0&&(u=!0,n=a+1);return n<0?"":e.slice(t,n)}if(r===e)return"";for(i=-1,o=r.length-1;a--;)if(e.charCodeAt(a)===47){if(u){t=a+1;break}}else i<0&&(u=!0,i=a+1),o>-1&&(e.charCodeAt(a)===r.charCodeAt(o--)?o<0&&(n=a):(o=-1,n=i));return t===n?n=i:n<0&&(n=e.length),e.slice(t,n)}function mm(e){var r,t,n;if(wr(e),!e.length)return".";for(r=-1,n=e.length;--n;)if(e.charCodeAt(n)===47){if(t){r=n;break}}else t||(t=!0);return r<0?e.charCodeAt(0)===47?"/":".":r===1&&e.charCodeAt(0)===47?"//":e.slice(0,r)}function Fm(e){var r=-1,t=0,n=-1,a=0,i,u,o;for(wr(e),o=e.length;o--;){if(u=e.charCodeAt(o),u===47){if(i){t=o+1;break}continue}n<0&&(i=!0,n=o+1),u===46?r<0?r=o:a!==1&&(a=1):r>-1&&(a=-1)}return r<0||n<0||a===0||a===1&&r===n-1&&r===t+1?"":e.slice(r,n)}function gm(){for(var e=-1,r;++e