Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

markdown-to-jsx

Package Overview
Dependencies
Maintainers
2
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-to-jsx - npm Package Compare versions

Comparing version 7.1.5 to 7.1.6

2

dist/index.js

@@ -1,2 +0,2 @@

function n(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var t=n(require("react"));function r(){return(r=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e])}return n}).apply(this,arguments)}var e=/[\'\"]/,o=["children","options"],a={accesskey:"accessKey",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",autocomplete:"autoComplete",autofocus:"autoFocus",autoplay:"autoPlay",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classId",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",crossorigin:"crossOrigin",enctype:"encType",for:"htmlFor",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",inputmode:"inputMode",keyparams:"keyParams",keytype:"keyType",marginheight:"marginHeight",marginwidth:"marginWidth",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",novalidate:"noValidate",radiogroup:"radioGroup",readonly:"readOnly",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",usemap:"useMap"},c={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},u=["style","script"],i=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,f=/mailto:/i,l=/\n{2,}$/,s=/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-{2,}|^>\s)/,H=/\t/g,U=/^ *\| */,V=/(^ *\||\| *$)/g,W=/ *$/,K=/^ *:-+: *$/,Q=/^ *:-+ *$/,X=/^ *-+: *$/,J=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,Y=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,nn=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,tn=/^\\([^0-9A-Za-z\s])/,rn=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,en=/(^\n+|\n+$|\s+$)/g,on=/^([ \t]*)/,an=/\\([^0-9A-Z\s])/gi,cn=new RegExp("^( *)((?:[*+-]|\\d+\\.)) +"),un=new RegExp("( *)((?:[*+-]|\\d+\\.)) +[^\\n]*(?:\\n(?!\\1(?:[*+-]|\\d+\\.) )[^\\n]*)*(\\n|$)","gm"),fn=new RegExp("^( *)((?:[*+-]|\\d+\\.)) [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1(?:[*+-]|\\d+\\.) (?!(?:[*+-]|\\d+\\.) ))\\n*|\\s*\\n*$)"),ln="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",sn=new RegExp("^\\[("+ln+")\\]\\(\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),_n=new RegExp("^!\\[("+ln+")\\]\\(\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),dn=[s,g,m,$,w,z,A,R,un,fn,D,N];function pn(n){return n.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function mn(n){return X.test(n)?"right":K.test(n)?"center":Q.test(n)?"left":null}function gn(n,t,r){var e=r.t;r.t=!0;var o=t(n.trim(),r);r.t=e;var a=[[]];return o.forEach(function(n,t){"tableSeparator"===n.type?0!==t&&t!==o.length-1&&a.push([]):("text"!==n.type||null!=o[t+1]&&"tableSeparator"!==o[t+1].type||(n.content=n.content.replace(W,"")),a[a.length-1].push(n))}),a}function yn(n,t,r){r.o=!0;var e=gn(n[1],t,r),o=n[2].replace(V,"").split("|").map(mn),a=function(n,t,r){return n.trim().split("\n").map(function(n){return gn(n,t,r)})}(n[3],t,r);return r.o=!1,{align:o,cells:a,header:e,type:"table"}}function hn(n,t){return null==n.align[t]?{}:{textAlign:n.align[t]}}function vn(n){return function(t,r){return r.o?n.exec(t):null}}function kn(n){return function(t,r){return r.o||r.u?n.exec(t):null}}function bn(n){return function(t,r){return r.o||r.u?null:n.exec(t)}}function xn(n){return function(t){return n.exec(t)}}function Sn(n){try{if(decodeURIComponent(n).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data):/i))return null}catch(n){return null}return n}function $n(n){return n.replace(an,"$1")}function wn(n,t,r){var e=r.o||!1,o=r.u||!1;r.o=!0,r.u=!0;var a=n(t,r);return r.o=e,r.u=o,a}function zn(n,t,r){var e=r.o||!1,o=r.u||!1;r.o=!1,r.u=!0;var a=n(t,r);return r.o=e,r.u=o,a}function En(n,t,r){return r.o=!1,n(t+"\n\n",r)}var An,On=function(n,t,r){return{content:wn(t,n[1],r)}};function Rn(){return{}}function jn(){return null}function In(){return[].slice.call(arguments).filter(Boolean).join(" ")}function Mn(n,t,r){for(var e=n,o=t.split(".");o.length&&void 0!==(e=e[o[0]]);)o.shift();return e||r}function Bn(n,t){var r=Mn(t,n);return r?"function"==typeof r||"object"==typeof r&&"render"in r?r:Mn(t,n+".component",n):n}function Ln(n,o){void 0===o&&(o={}),o.overrides=o.overrides||{},o.slugify=o.slugify||pn,o.namedCodesToUnicode=o.namedCodesToUnicode?r({},c,o.namedCodesToUnicode):c;var V=o.createElement||t.default.createElement;function W(n,t){var e=Mn(o.overrides,n+".props",{});return V.apply(void 0,[Bn(n,o.overrides),r({},t,e,{className:In(null==t?void 0:t.className,e.className)||void 0})].concat([].slice.call(arguments,2)))}function K(n){var r=!1;o.forceInline?r=!0:o.forceBlock||(r=!1===G.test(n));var e=Ln(gn(r?n:n.replace(en,"")+"\n\n",{o:r}));if(null===o.wrapper)return e;var a,c=o.wrapper||(r?"span":"div");if(e.length>1||o.forceWrapper)a=e;else{if(1===e.length)return"string"==typeof(a=e[0])?W("span",{key:"outer"},a):a;a=null}return t.default.createElement(c,{key:"outer"},a)}function Q(n){var r=n.match(i);return r?r.reduce(function(n,r,o){var c=r.indexOf("=");if(-1!==c){var u=function(n){return-1!==n.indexOf("-")&&null===n.match(O)&&(n=n.replace(C,function(n,t){return t.toUpperCase()})),n}(r.slice(0,c)).trim(),i=function(n){return n?(e.test(n.charAt(0))&&(n=n.substr(1)),e.test(n.charAt(n.length-1))&&(n=n.substr(0,n.length-1)),n):""}(r.slice(c+1).trim()),f=a[u]||u,l=n[f]=function(n,t){return"style"===n?t.split(/;\s?/).reduce(function(n,t){var r=t.slice(0,t.indexOf(":"));return n[r.replace(/(-[a-z])/g,function(n){return n[1].toUpperCase()})]=t.slice(r.length+1).trim(),n},{}):"href"===n?Sn(t):(t.match(j)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}(u,i);"string"==typeof l&&(z.test(l)||R.test(l))&&(n[f]=t.default.cloneElement(K(l.trim()),{key:o}))}else"style"!==r&&(n[a[r]||r]=!0);return n},{}):void 0}var X=[],an={},ln={blockQuote:{i:bn(s),l:An.HIGH,_:function(n,t,r){return{content:t(n[0].replace(_,""),r)}},p:function(n,t,r){return W("blockquote",{key:r.m},t(n.content,r))}},breakLine:{i:xn(d),l:An.HIGH,_:Rn,p:function(n,t,r){return W("br",{key:r.m})}},breakThematic:{i:bn(p),l:An.HIGH,_:Rn,p:function(n,t,r){return W("hr",{key:r.m})}},codeBlock:{i:bn(g),l:An.MAX,_:function(n){return{content:n[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},p:function(n,t,r){return W("pre",{key:r.m},W("code",{className:n.lang?"lang-"+n.lang:""},n.content))}},codeFenced:{i:bn(m),l:An.MAX,_:function(n){return{content:n[3],lang:n[2]||void 0,type:"codeBlock"}}},codeInline:{i:kn(y),l:An.LOW,_:function(n){return{content:n[2]}},p:function(n,t,r){return W("code",{key:r.m},n.content)}},footnote:{i:bn(k),l:An.MAX,_:function(n){return X.push({footnote:n[2],identifier:n[1]}),{}},p:jn},footnoteReference:{i:vn(b),l:An.HIGH,_:function(n){return{content:n[1],target:"#"+o.slugify(n[1])}},p:function(n,t,r){return W("a",{key:r.m,href:Sn(n.target)},W("sup",{key:r.m},n.content))}},gfmTask:{i:vn(S),l:An.HIGH,_:function(n){return{completed:"x"===n[1].toLowerCase()}},p:function(n,t,r){return W("input",{checked:n.completed,key:r.m,readOnly:!0,type:"checkbox"})}},heading:{i:bn($),l:An.HIGH,_:function(n,t,r){return{content:wn(t,n[2],r),id:o.slugify(n[2]),level:n[1].length}},p:function(n,t,r){return n.tag="h"+n.level,W(n.tag,{id:n.id,key:r.m},t(n.content,r))}},headingSetext:{i:bn(w),l:An.MAX,_:function(n,t,r){return{content:wn(t,n[1],r),level:"="===n[2]?1:2,type:"heading"}}},htmlComment:{i:xn(A),l:An.HIGH,_:function(){return{}},p:jn},image:{i:kn(_n),l:An.HIGH,_:function(n){return{alt:n[1],target:$n(n[2]),title:n[3]}},p:function(n,t,r){return W("img",{key:r.m,alt:n.alt||void 0,title:n.title||void 0,src:Sn(n.target)})}},link:{i:vn(sn),l:An.LOW,_:function(n,t,r){return{content:zn(t,n[1],r),target:$n(n[2]),title:n[3]}},p:function(n,t,r){return W("a",{key:r.m,href:Sn(n.target),title:n.title},t(n.content,r))}},linkAngleBraceStyleDetector:{i:vn(B),l:An.MAX,_:function(n){return{content:[{content:n[1],type:"text"}],target:n[1],type:"link"}}},linkBareUrlDetector:{i:function(n,t){return t.g?null:vn(I)(n,t)},l:An.MAX,_:function(n){return{content:[{content:n[1],type:"text"}],target:n[1],title:void 0,type:"link"}}},linkMailtoDetector:{i:vn(M),l:An.MAX,_:function(n){var t=n[1],r=n[1];return f.test(r)||(r="mailto:"+r),{content:[{content:t.replace("mailto:",""),type:"text"}],target:r,type:"link"}}},list:{i:function(n,t,r){var e=T.exec(r);return!e||!t.h&&t.o?null:fn.exec(n=e[1]+n)},l:An.HIGH,_:function(n,t,r){var e=n[2],o=e.length>1,a=o?+e:void 0,c=n[0].replace(l,"\n").match(un),u=!1;return{items:c.map(function(n,e){var o=cn.exec(n)[0].length,a=new RegExp("^ {1,"+o+"}","gm"),i=n.replace(a,"").replace(cn,""),f=e===c.length-1,l=-1!==i.indexOf("\n\n")||f&&u;u=l;var s,_=r.o,d=r.h;r.h=!0,l?(r.o=!1,s=i.replace(L,"\n\n")):(r.o=!0,s=i.replace(L,""));var p=t(s,r);return r.o=_,r.h=d,p}),ordered:o,start:a}},p:function(n,t,r){return W(n.ordered?"ol":"ul",{key:r.m,start:n.start},n.items.map(function(n,e){return W("li",{key:e},t(n,r))}))}},newlineCoalescer:{i:bn(h),l:An.LOW,_:Rn,p:function(){return"\n"}},paragraph:{i:bn(N),l:An.LOW,_:On,p:function(n,t,r){return W("p",{key:r.m},t(n.content,r))}},ref:{i:vn(Z),l:An.MAX,_:function(n){return an[n[1]]={target:n[2],title:n[4]},{}},p:jn},refImage:{i:kn(F),l:An.MAX,_:function(n){return{alt:n[1]||void 0,ref:n[2]}},p:function(n,t,r){return W("img",{key:r.m,alt:n.alt,src:Sn(an[n.ref].target),title:an[n.ref].title})}},refLink:{i:vn(P),l:An.MAX,_:function(n,t,r){return{content:t(n[1],r),fallbackContent:t(n[0].replace(q,"\\$1"),r),ref:n[2]}},p:function(n,t,r){return an[n.ref]?W("a",{key:r.m,href:Sn(an[n.ref].target),title:an[n.ref].title},t(n.content,r)):W("span",{key:r.m},t(n.fallbackContent,r))}},table:{i:bn(D),l:An.HIGH,_:yn,p:function(n,t,r){return W("table",{key:r.m},W("thead",null,W("tr",null,n.header.map(function(e,o){return W("th",{key:o,style:hn(n,o)},t(e,r))}))),W("tbody",null,n.cells.map(function(e,o){return W("tr",{key:o},e.map(function(e,o){return W("td",{key:o,style:hn(n,o)},t(e,r))}))})))}},tableSeparator:{i:function(n,t){return t.t?U.exec(n):null},l:An.HIGH,_:function(){return{type:"tableSeparator"}},p:function(){return" | "}},text:{i:xn(rn),l:An.MIN,_:function(n){return{content:n[0].replace(E,function(n,t){return o.namedCodesToUnicode[t]?o.namedCodesToUnicode[t]:n})}},p:function(n){return n.content}},textBolded:{i:kn(J),l:An.MED,_:function(n,t,r){return{content:t(n[2],r)}},p:function(n,t,r){return W("strong",{key:r.m},t(n.content,r))}},textEmphasized:{i:kn(Y),l:An.LOW,_:function(n,t,r){return{content:t(n[2],r)}},p:function(n,t,r){return W("em",{key:r.m},t(n.content,r))}},textEscaped:{i:kn(tn),l:An.HIGH,_:function(n){return{content:n[1],type:"text"}}},textStrikethroughed:{i:kn(nn),l:An.LOW,_:On,p:function(n,t,r){return W("del",{key:r.m},t(n.content,r))}}};!0!==o.disableParsingRawHTML&&(ln.htmlBlock={i:xn(z),l:An.HIGH,_:function(n,t,r){var e,o=n[3].match(on),a=new RegExp("^"+o[1],"gm"),c=n[3].replace(a,""),i=(e=c,dn.some(function(n){return n.test(e)})?En:wn),f=n[1].toLowerCase(),l=-1!==u.indexOf(f);r.g=r.g||"a"===f;var s=l?n[3]:i(t,c,r);return r.g=!1,{attrs:Q(n[2]),content:s,noInnerParse:l,tag:l?f:n[1]}},p:function(n,t,e){return W(n.tag,r({key:e.m},n.attrs),n.noInnerParse?n.content:t(n.content,e))}},ln.htmlSelfClosing={i:xn(R),l:An.HIGH,_:function(n){return{attrs:Q(n[2]||""),tag:n[1]}},p:function(n,t,e){return W(n.tag,r({},n.attrs,{key:e.m}))}});var mn,gn=function(n){var t=Object.keys(n);function r(e,o){for(var a=[],c="";e;)for(var u=0;u<t.length;){var i=t[u],f=n[i],l=f.i(e,o,c);if(l){var s=l[0];e=e.substring(s.length);var _=f._(l,r,o);null==_.type&&(_.type=i),a.push(_),c=s;break}u++}return a}return t.sort(function(t,r){var e=n[t].l,o=n[r].l;return e!==o?e-o:t<r?-1:1}),function(n,t){return r(function(n){return n.replace(v,"\n").replace(x,"").replace(H," ")}(n),t)}}(ln),Ln=(mn=function(n){return function(t,r,e){return n[t.type].p(t,r,e)}}(ln),function n(t,r){if(void 0===r&&(r={}),Array.isArray(t)){for(var e=r.m,o=[],a=!1,c=0;c<t.length;c++){r.m=c;var u=n(t[c],r),i="string"==typeof u;i&&a?o[o.length-1]+=u:o.push(u),a=i}return r.m=e,o}return mn(t,n,r)}),Tn=K(n);return X.length&&Tn.props.children.push(W("footer",{key:"footer"},X.map(function(n){return W("div",{id:o.slugify(n.identifier),key:n.identifier},n.identifier,Ln(gn(n.footnote,{o:!0})))}))),Tn}!function(n){n[n.MAX=0]="MAX",n[n.HIGH=1]="HIGH",n[n.MED=2]="MED",n[n.LOW=3]="LOW",n[n.MIN=4]="MIN"}(An||(An={}));var Tn=function(n){var r=n.children,e=n.options,a=function(n,t){if(null==n)return{};var r,e,o={},a=Object.keys(n);for(e=0;e<a.length;e++)t.indexOf(r=a[e])>=0||(o[r]=n[r]);return o}(n,o);return t.default.cloneElement(Ln(r,e),a)};Object.assign(Tn,{compiler:Ln}),module.exports=Tn;
function n(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var t=n(require("react"));function r(){return(r=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e])}return n}).apply(this,arguments)}var e=/[\'\"]/,o=["children","options"],u=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce(function(n,t){return n[t.toLowerCase()]=t,n},{for:"htmlFor"}),a={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},c=["style","script"],i=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,f=/mailto:/i,l=/\n{2,}$/,s=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,_=/^ *> ?/gm,d=/^ {2,}\n/,p=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,g=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n?/,m=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,v=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,y=/^(?:\n *)*\n/,h=/\r\n?/g,k=/^\[\^([^\]]+)](:.*)\n/,b=/^\[\^([^\]]+)]/,x=/\f/g,S=/^\s*?\[(x|\s)\]/,$=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,w=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,z=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?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*)((?:[*+-]|\\d+\\.)) +[^\\n]*(?:\\n(?!\\1(?:[*+-]|\\d+\\.) )[^\\n]*)*(\\n|$)","gm"),cn=new RegExp("^( *)((?:[*+-]|\\d+\\.)) [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1(?:[*+-]|\\d+\\.) (?!(?:[*+-]|\\d+\\.) ))\\n*|\\s*\\n*$)"),fn="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",ln=new RegExp("^\\[("+fn+")\\]\\(\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),sn=new RegExp("^!\\[("+fn+")\\]\\(\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),_n=[s,m,g,$,w,A,an,cn,D],dn=[].concat(_n,[/^[^\n]+(?: \n|\n{2,})/,z,R]);function pn(n){return n.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function gn(n){return X.test(n)?"right":W.test(n)?"center":Q.test(n)?"left":null}function mn(n,t,r){var e=r.t;r.t=!0;var o=t(n.trim(),r);r.t=e;var u=[[]];return o.forEach(function(n,t){"tableSeparator"===n.type?0!==t&&t!==o.length-1&&u.push([]):("text"!==n.type||null!=o[t+1]&&"tableSeparator"!==o[t+1].type||(n.content=n.content.replace(V,"")),u[u.length-1].push(n))}),u}function vn(n,t,r){r.o=!0;var e=mn(n[1],t,r),o=n[2].replace(U,"").split("|").map(gn),u=function(n,t,r){return n.trim().split("\n").map(function(n){return mn(n,t,r)})}(n[3],t,r);return r.o=!1,{align:o,cells:u,header:e,type:"table"}}function yn(n,t){return null==n.align[t]?{}:{textAlign:n.align[t]}}function hn(n){return function(t,r){return r.o?n.exec(t):null}}function kn(n){return function(t,r){return r.o||r.u?n.exec(t):null}}function bn(n){return function(t,r){return r.o||r.u?null:n.exec(t)}}function xn(n){return function(t){return n.exec(t)}}function Sn(n,t,r){if(t.o||t.u)return null;if(r&&!r.endsWith("\n"))return null;var e="";n.split("\n").every(function(n){return!_n.some(function(t){return t.test(n)})&&(e+=n+"\n",n.trim())});var o=e.trimEnd();return""==o?null:[e,o]}function $n(n){try{if(decodeURIComponent(n).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data):/i))return null}catch(n){return null}return n}function wn(n){return n.replace(on,"$1")}function zn(n,t,r){var e=r.o||!1,o=r.u||!1;r.o=!0,r.u=!0;var u=n(t,r);return r.o=e,r.u=o,u}function En(n,t,r){var e=r.o||!1,o=r.u||!1;r.o=!1,r.u=!0;var u=n(t,r);return r.o=e,r.u=o,u}function An(n,t,r){return r.o=!1,n(t+"\n\n",r)}var On,Rn=function(n,t,r){return{content:zn(t,n[1],r)}};function jn(){return{}}function In(){return null}function Mn(){return[].slice.call(arguments).filter(Boolean).join(" ")}function Bn(n,t,r){for(var e=n,o=t.split(".");o.length&&void 0!==(e=e[o[0]]);)o.shift();return e||r}function Ln(n,t){var r=Bn(t,n);return r?"function"==typeof r||"object"==typeof r&&"render"in r?r:Bn(t,n+".component",n):n}function Tn(n,o){void 0===o&&(o={}),o.overrides=o.overrides||{},o.slugify=o.slugify||pn,o.namedCodesToUnicode=o.namedCodesToUnicode?r({},a,o.namedCodesToUnicode):a;var U=o.createElement||t.default.createElement;function V(n,t){var e=Bn(o.overrides,n+".props",{});return U.apply(void 0,[Ln(n,o.overrides),r({},t,e,{className:Mn(null==t?void 0:t.className,e.className)||void 0})].concat([].slice.call(arguments,2)))}function W(n){var r=!1;o.forceInline?r=!0:o.forceBlock||(r=!1===q.test(n));for(var e=mn(gn(r?n:n.trimEnd().replace(rn,"")+"\n\n",{o:r}));"string"==typeof e[e.length-1]&&!e[e.length-1].trim();)e.pop();if(null===o.wrapper)return e;var u,a=o.wrapper||(r?"span":"div");if(e.length>1||o.forceWrapper)u=e;else{if(1===e.length)return"string"==typeof(u=e[0])?V("span",{key:"outer"},u):u;u=null}return t.default.createElement(a,{key:"outer"},u)}function Q(n){var r=n.match(i);return r?r.reduce(function(n,r,o){var a=r.indexOf("=");if(-1!==a){var c=function(n){return-1!==n.indexOf("-")&&null===n.match(O)&&(n=n.replace(C,function(n,t){return t.toUpperCase()})),n}(r.slice(0,a)).trim(),i=function(n){return n?(e.test(n.charAt(0))&&(n=n.substr(1)),e.test(n.charAt(n.length-1))&&(n=n.substr(0,n.length-1)),n):""}(r.slice(a+1).trim()),f=u[c]||c,l=n[f]=function(n,t){return"style"===n?t.split(/;\s?/).reduce(function(n,t){var r=t.slice(0,t.indexOf(":"));return n[r.replace(/(-[a-z])/g,function(n){return n[1].toUpperCase()})]=t.slice(r.length+1).trim(),n},{}):"href"===n?$n(t):(t.match(j)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}(c,i);"string"==typeof l&&(z.test(l)||R.test(l))&&(n[f]=t.default.cloneElement(W(l.trim()),{key:o}))}else"style"!==r&&(n[u[r]||r]=!0);return n},{}):void 0}var X=[],on={},fn={blockQuote:{i:bn(s),l:On.HIGH,_:function(n,t,r){return{content:t(n[0].replace(_,""),r)}},p:function(n,t,r){return V("blockquote",{key:r.g},t(n.content,r))}},breakLine:{i:xn(d),l:On.HIGH,_:jn,p:function(n,t,r){return V("br",{key:r.g})}},breakThematic:{i:bn(p),l:On.HIGH,_:jn,p:function(n,t,r){return V("hr",{key:r.g})}},codeBlock:{i:bn(m),l:On.MAX,_:function(n){return{content:n[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},p:function(n,t,r){return V("pre",{key:r.g},V("code",{className:n.lang?"lang-"+n.lang:""},n.content))}},codeFenced:{i:bn(g),l:On.MAX,_:function(n){return{content:n[3],lang:n[2]||void 0,type:"codeBlock"}}},codeInline:{i:kn(v),l:On.LOW,_:function(n){return{content:n[2]}},p:function(n,t,r){return V("code",{key:r.g},n.content)}},footnote:{i:bn(k),l:On.MAX,_:function(n){return X.push({footnote:n[2],identifier:n[1]}),{}},p:In},footnoteReference:{i:hn(b),l:On.HIGH,_:function(n){return{content:n[1],target:"#"+o.slugify(n[1])}},p:function(n,t,r){return V("a",{key:r.g,href:$n(n.target)},V("sup",{key:r.g},n.content))}},gfmTask:{i:hn(S),l:On.HIGH,_:function(n){return{completed:"x"===n[1].toLowerCase()}},p:function(n,t,r){return V("input",{checked:n.completed,key:r.g,readOnly:!0,type:"checkbox"})}},heading:{i:bn($),l:On.HIGH,_:function(n,t,r){return{content:zn(t,n[2],r),id:o.slugify(n[2]),level:n[1].length}},p:function(n,t,r){return n.tag="h"+n.level,V(n.tag,{id:n.id,key:r.g},t(n.content,r))}},headingSetext:{i:bn(w),l:On.MAX,_:function(n,t,r){return{content:zn(t,n[1],r),level:"="===n[2]?1:2,type:"heading"}}},htmlComment:{i:xn(A),l:On.HIGH,_:function(){return{}},p:In},image:{i:kn(sn),l:On.HIGH,_:function(n){return{alt:n[1],target:wn(n[2]),title:n[3]}},p:function(n,t,r){return V("img",{key:r.g,alt:n.alt||void 0,title:n.title||void 0,src:$n(n.target)})}},link:{i:hn(ln),l:On.LOW,_:function(n,t,r){return{content:En(t,n[1],r),target:wn(n[2]),title:n[3]}},p:function(n,t,r){return V("a",{key:r.g,href:$n(n.target),title:n.title},t(n.content,r))}},linkAngleBraceStyleDetector:{i:hn(B),l:On.MAX,_:function(n){return{content:[{content:n[1],type:"text"}],target:n[1],type:"link"}}},linkBareUrlDetector:{i:function(n,t){return t.m?null:hn(I)(n,t)},l:On.MAX,_:function(n){return{content:[{content:n[1],type:"text"}],target:n[1],title:void 0,type:"link"}}},linkMailtoDetector:{i:hn(M),l:On.MAX,_:function(n){var t=n[1],r=n[1];return f.test(r)||(r="mailto:"+r),{content:[{content:t.replace("mailto:",""),type:"text"}],target:r,type:"link"}}},list:{i:function(n,t,r){var e=T.exec(r);return!e||!t.v&&t.o?null:cn.exec(n=e[1]+n)},l:On.HIGH,_:function(n,t,r){var e=n[2],o=e.length>1,u=o?+e:void 0,a=n[0].replace(l,"\n").match(an),c=!1;return{items:a.map(function(n,e){var o=un.exec(n)[0].length,u=new RegExp("^ {1,"+o+"}","gm"),i=n.replace(u,"").replace(un,""),f=e===a.length-1,l=-1!==i.indexOf("\n\n")||f&&c;c=l;var s,_=r.o,d=r.v;r.v=!0,l?(r.o=!1,s=i.replace(L,"\n\n")):(r.o=!0,s=i.replace(L,""));var p=t(s,r);return r.o=_,r.v=d,p}),ordered:o,start:u}},p:function(n,t,r){return V(n.ordered?"ol":"ul",{key:r.g,start:n.start},n.items.map(function(n,e){return V("li",{key:e},t(n,r))}))}},newlineCoalescer:{i:bn(y),l:On.LOW,_:jn,p:function(){return"\n"}},paragraph:{i:Sn,l:On.LOW,_:Rn,p:function(n,t,r){return V("p",{key:r.g},t(n.content,r))}},ref:{i:hn(N),l:On.MAX,_:function(n){return on[n[1]]={target:n[2],title:n[4]},{}},p:In},refImage:{i:kn(Z),l:On.MAX,_:function(n){return{alt:n[1]||void 0,ref:n[2]}},p:function(n,t,r){return V("img",{key:r.g,alt:n.alt,src:$n(on[n.ref].target),title:on[n.ref].title})}},refLink:{i:hn(F),l:On.MAX,_:function(n,t,r){return{content:t(n[1],r),fallbackContent:t(n[0].replace(P,"\\$1"),r),ref:n[2]}},p:function(n,t,r){return on[n.ref]?V("a",{key:r.g,href:$n(on[n.ref].target),title:on[n.ref].title},t(n.content,r)):V("span",{key:r.g},t(n.fallbackContent,r))}},table:{i:bn(D),l:On.HIGH,_:vn,p:function(n,t,r){return V("table",{key:r.g},V("thead",null,V("tr",null,n.header.map(function(e,o){return V("th",{key:o,style:yn(n,o)},t(e,r))}))),V("tbody",null,n.cells.map(function(e,o){return V("tr",{key:o},e.map(function(e,o){return V("td",{key:o,style:yn(n,o)},t(e,r))}))})))}},tableSeparator:{i:function(n,t){return t.t?H.exec(n):null},l:On.HIGH,_:function(){return{type:"tableSeparator"}},p:function(){return" | "}},text:{i:xn(tn),l:On.MIN,_:function(n){return{content:n[0].replace(E,function(n,t){return o.namedCodesToUnicode[t]?o.namedCodesToUnicode[t]:n})}},p:function(n){return n.content}},textBolded:{i:kn(J),l:On.MED,_:function(n,t,r){return{content:t(n[2],r)}},p:function(n,t,r){return V("strong",{key:r.g},t(n.content,r))}},textEmphasized:{i:kn(K),l:On.LOW,_:function(n,t,r){return{content:t(n[2],r)}},p:function(n,t,r){return V("em",{key:r.g},t(n.content,r))}},textEscaped:{i:kn(nn),l:On.HIGH,_:function(n){return{content:n[1],type:"text"}}},textStrikethroughed:{i:kn(Y),l:On.LOW,_:Rn,p:function(n,t,r){return V("del",{key:r.g},t(n.content,r))}}};!0!==o.disableParsingRawHTML&&(fn.htmlBlock={i:xn(z),l:On.HIGH,_:function(n,t,r){var e,o=n[3].match(en),u=new RegExp("^"+o[1],"gm"),a=n[3].replace(u,""),i=(e=a,dn.some(function(n){return n.test(e)})?An:zn),f=n[1].toLowerCase(),l=-1!==c.indexOf(f);r.m=r.m||"a"===f;var s=l?n[3]:i(t,a,r);return r.m=!1,{attrs:Q(n[2]),content:s,noInnerParse:l,tag:l?f:n[1]}},p:function(n,t,e){return V(n.tag,r({key:e.g},n.attrs),n.noInnerParse?n.content:t(n.content,e))}},fn.htmlSelfClosing={i:xn(R),l:On.HIGH,_:function(n){return{attrs:Q(n[2]||""),tag:n[1]}},p:function(n,t,e){return V(n.tag,r({},n.attrs,{key:e.g}))}});var _n,gn=function(n){var t=Object.keys(n);function r(e,o){for(var u=[],a="";e;)for(var c=0;c<t.length;){var i=t[c],f=n[i],l=f.i(e,o,a);if(l){var s=l[0];e=e.substring(s.length);var _=f._(l,r,o);null==_.type&&(_.type=i),u.push(_),a=s;break}c++}return u}return t.sort(function(t,r){var e=n[t].l,o=n[r].l;return e!==o?e-o:t<r?-1:1}),function(n,t){return r(function(n){return n.replace(h,"\n").replace(x,"").replace(G," ")}(n),t)}}(fn),mn=(_n=function(n){return function(t,r,e){return n[t.type].p(t,r,e)}}(fn),function n(t,r){if(void 0===r&&(r={}),Array.isArray(t)){for(var e=r.g,o=[],u=!1,a=0;a<t.length;a++){r.g=a;var c=n(t[a],r),i="string"==typeof c;i&&u?o[o.length-1]+=c:null!==c&&o.push(c),u=i}return r.g=e,o}return _n(t,n,r)}),Tn=W(n);return X.length?V("div",null,Tn,V("footer",{key:"footer"},X.map(function(n){return V("div",{id:o.slugify(n.identifier),key:n.identifier},n.identifier,mn(gn(n.footnote,{o:!0})))}))):Tn}!function(n){n[n.MAX=0]="MAX",n[n.HIGH=1]="HIGH",n[n.MED=2]="MED",n[n.LOW=3]="LOW",n[n.MIN=4]="MIN"}(On||(On={}));var Cn=function(n){var r=n.children,e=n.options,u=function(n,t){if(null==n)return{};var r,e,o={},u=Object.keys(n);for(e=0;e<u.length;e++)t.indexOf(r=u[e])>=0||(o[r]=n[r]);return o}(n,o);return t.default.cloneElement(Tn(r,e),u)};Object.assign(Cn,{compiler:Tn}),module.exports=Cn;
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

import t from"react";function e(){return(e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var n=/[\'\"]/;const r=["children","options"],o={accesskey:"accessKey",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",autocomplete:"autoComplete",autofocus:"autoFocus",autoplay:"autoPlay",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classId",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",crossorigin:"crossOrigin",enctype:"encType",for:"htmlFor",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",inputmode:"inputMode",keyparams:"keyParams",keytype:"keyType",marginheight:"marginHeight",marginwidth:"marginWidth",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",novalidate:"noValidate",radiogroup:"radioGroup",readonly:"readOnly",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",usemap:"useMap"},a={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},c=["style","script"],s=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,i=/mailto:/i,l=/\n{2,}$/,u=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,_=/^ *> ?/gm,f=/^ {2,}\n/,d=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,p=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n?/,m=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,g=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,y=/^(?:\n *)*\n/,h=/\r\n?/g,k=/^\[\^([^\]]+)](:.*)\n/,x=/^\[\^([^\]]+)]/,b=/\f/g,v=/^\s*?\[(x|\s)\]/,$=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,S=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,w=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,z=/&([a-z]+);/g,E=/^<!--[\s\S]*?(?:-->)/,A=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\\d+\\.) )[^\\n]*)*(\\n|$)","gm"),st=new RegExp("^( *)((?:[*+-]|\\d+\\.)) [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1(?:[*+-]|\\d+\\.) (?!(?:[*+-]|\\d+\\.) ))\\n*|\\s*\\n*$)"),it="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",lt=new RegExp("^\\[("+it+")\\]\\(\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),ut=new RegExp("^!\\[("+it+")\\]\\(\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),_t=[u,m,p,$,S,w,E,R,ct,st,C,D];function ft(t){return t.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function dt(t){return Q.test(t)?"right":W.test(t)?"center":K.test(t)?"left":null}function pt(t,e,n){const r=n.t;n.t=!0;const o=e(t.trim(),n);n.t=r;let a=[[]];return o.forEach(function(t,e){"tableSeparator"===t.type?0!==e&&e!==o.length-1&&a.push([]):("text"!==t.type||null!=o[e+1]&&"tableSeparator"!==o[e+1].type||(t.content=t.content.replace(V,"")),a[a.length-1].push(t))}),a}function mt(t,e,n){n.o=!0;const r=pt(t[1],e,n),o=t[2].replace(U,"").split("|").map(dt),a=function(t,e,n){return t.trim().split("\n").map(function(t){return pt(t,e,n)})}(t[3],e,n);return n.o=!1,{align:o,cells:a,header:r,type:"table"}}function gt(t,e){return null==t.align[e]?{}:{textAlign:t.align[e]}}function yt(t){return function(e,n){return n.o?t.exec(e):null}}function ht(t){return function(e,n){return n.o||n.i?t.exec(e):null}}function kt(t){return function(e,n){return n.o||n.i?null:t.exec(e)}}function xt(t){return function(e){return t.exec(e)}}function bt(t){try{if(decodeURIComponent(t).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data):/i))return null}catch(t){return null}return t}function vt(t){return t.replace(ot,"$1")}function $t(t,e,n){const r=n.o||!1,o=n.i||!1;n.o=!0,n.i=!0;const a=t(e,n);return n.o=r,n.i=o,a}function St(t,e,n){const r=n.o||!1,o=n.i||!1;n.o=!1,n.i=!0;const a=t(e,n);return n.o=r,n.i=o,a}function wt(t,e,n){return n.o=!1,t(e+"\n\n",n)}const zt=(t,e,n)=>({content:$t(e,t[1],n)});function Et(){return{}}function At(){return null}function Rt(...t){return t.filter(Boolean).join(" ")}function It(t,e,n){let r=t;const o=e.split(".");for(;o.length&&(r=r[o[0]],void 0!==r);)o.shift();return r||n}var Mt;function Ot(r,U={}){U.overrides=U.overrides||{},U.slugify=U.slugify||ft,U.namedCodesToUnicode=U.namedCodesToUnicode?e({},a,U.namedCodesToUnicode):a;const V=U.createElement||t.createElement;function W(t,n,...r){const o=It(U.overrides,`${t}.props`,{});return V(function(t,e){const n=It(e,t);return n?"function"==typeof n||"object"==typeof n&&"render"in n?n:It(e,`${t}.component`,t):t}(t,U.overrides),e({},n,o,{className:Rt(null==n?void 0:n.className,o.className)||void 0}),...r)}function K(e){let n=!1;U.forceInline?n=!0:U.forceBlock||(n=!1===G.test(e));const r=Ot(pt(n?e:`${e.replace(nt,"")}\n\n`,{o:n}));if(null===U.wrapper)return r;const o=U.wrapper||(n?"span":"div");let a;if(r.length>1||U.forceWrapper)a=r;else{if(1===r.length)return a=r[0],"string"==typeof a?W("span",{key:"outer"},a):a;a=null}return t.createElement(o,{key:"outer"},a)}function Q(e){const r=e.match(s);return r?r.reduce(function(e,r,a){const c=r.indexOf("=");if(-1!==c){const s=function(t){return-1!==t.indexOf("-")&&null===t.match(A)&&(t=t.replace(j,function(t,e){return e.toUpperCase()})),t}(r.slice(0,c)).trim(),i=function(t){return t?(n.test(t.charAt(0))&&(t=t.substr(1)),n.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}(r.slice(c+1).trim()),l=o[s]||s,u=e[l]=function(t,e){return"style"===t?e.split(/;\s?/).reduce(function(t,e){const n=e.slice(0,e.indexOf(":"));return t[n.replace(/(-[a-z])/g,t=>t[1].toUpperCase())]=e.slice(n.length+1).trim(),t},{}):"href"===t?bt(e):(e.match(I)&&(e=e.slice(1,e.length-1)),"true"===e||"false"!==e&&e)}(s,i);"string"==typeof u&&(w.test(u)||R.test(u))&&(e[l]=t.cloneElement(K(u.trim()),{key:a}))}else"style"!==r&&(e[o[r]||r]=!0);return e},{}):void 0}const ot=[],it={},dt={blockQuote:{l:kt(u),u:Mt.HIGH,_:(t,e,n)=>({content:e(t[0].replace(_,""),n)}),p:(t,e,n)=>W("blockquote",{key:n.m},e(t.content,n))},breakLine:{l:xt(f),u:Mt.HIGH,_:Et,p:(t,e,n)=>W("br",{key:n.m})},breakThematic:{l:kt(d),u:Mt.HIGH,_:Et,p:(t,e,n)=>W("hr",{key:n.m})},codeBlock:{l:kt(m),u:Mt.MAX,_:t=>({content:t[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}),p:(t,e,n)=>W("pre",{key:n.m},W("code",{className:t.lang?`lang-${t.lang}`:""},t.content))},codeFenced:{l:kt(p),u:Mt.MAX,_:t=>({content:t[3],lang:t[2]||void 0,type:"codeBlock"})},codeInline:{l:ht(g),u:Mt.LOW,_:t=>({content:t[2]}),p:(t,e,n)=>W("code",{key:n.m},t.content)},footnote:{l:kt(k),u:Mt.MAX,_:t=>(ot.push({footnote:t[2],identifier:t[1]}),{}),p:At},footnoteReference:{l:yt(x),u:Mt.HIGH,_:t=>({content:t[1],target:`#${U.slugify(t[1])}`}),p:(t,e,n)=>W("a",{key:n.m,href:bt(t.target)},W("sup",{key:n.m},t.content))},gfmTask:{l:yt(v),u:Mt.HIGH,_:t=>({completed:"x"===t[1].toLowerCase()}),p:(t,e,n)=>W("input",{checked:t.completed,key:n.m,readOnly:!0,type:"checkbox"})},heading:{l:kt($),u:Mt.HIGH,_:(t,e,n)=>({content:$t(e,t[2],n),id:U.slugify(t[2]),level:t[1].length}),p:(t,e,n)=>(t.tag=`h${t.level}`,W(t.tag,{id:t.id,key:n.m},e(t.content,n)))},headingSetext:{l:kt(S),u:Mt.MAX,_:(t,e,n)=>({content:$t(e,t[1],n),level:"="===t[2]?1:2,type:"heading"})},htmlComment:{l:xt(E),u:Mt.HIGH,_:()=>({}),p:At},image:{l:ht(ut),u:Mt.HIGH,_:t=>({alt:t[1],target:vt(t[2]),title:t[3]}),p:(t,e,n)=>W("img",{key:n.m,alt:t.alt||void 0,title:t.title||void 0,src:bt(t.target)})},link:{l:yt(lt),u:Mt.LOW,_:(t,e,n)=>({content:St(e,t[1],n),target:vt(t[2]),title:t[3]}),p:(t,e,n)=>W("a",{key:n.m,href:bt(t.target),title:t.title},e(t.content,n))},linkAngleBraceStyleDetector:{l:yt(B),u:Mt.MAX,_:t=>({content:[{content:t[1],type:"text"}],target:t[1],type:"link"})},linkBareUrlDetector:{l:(t,e)=>e.g?null:yt(M)(t,e),u:Mt.MAX,_:t=>({content:[{content:t[1],type:"text"}],target:t[1],title:void 0,type:"link"})},linkMailtoDetector:{l:yt(O),u:Mt.MAX,_(t){let e=t[1],n=t[1];return i.test(n)||(n="mailto:"+n),{content:[{content:e.replace("mailto:",""),type:"text"}],target:n,type:"link"}}},list:{l(t,e,n){const r=T.exec(n);return!r||!e.h&&e.o?null:st.exec(t=r[1]+t)},u:Mt.HIGH,_(t,e,n){const r=t[2],o=r.length>1,a=o?+r:void 0,c=t[0].replace(l,"\n").match(ct);let s=!1;return{items:c.map(function(t,r){const o=at.exec(t)[0].length,a=new RegExp("^ {1,"+o+"}","gm"),i=t.replace(a,"").replace(at,""),l=r===c.length-1,u=-1!==i.indexOf("\n\n")||l&&s;s=u;const _=n.o,f=n.h;let d;n.h=!0,u?(n.o=!1,d=i.replace(L,"\n\n")):(n.o=!0,d=i.replace(L,""));const p=e(d,n);return n.o=_,n.h=f,p}),ordered:o,start:a}},p:(t,e,n)=>W(t.ordered?"ol":"ul",{key:n.m,start:t.start},t.items.map(function(t,r){return W("li",{key:r},e(t,n))}))},newlineCoalescer:{l:kt(y),u:Mt.LOW,_:Et,p:()=>"\n"},paragraph:{l:kt(D),u:Mt.LOW,_:zt,p:(t,e,n)=>W("p",{key:n.m},e(t.content,n))},ref:{l:yt(N),u:Mt.MAX,_:t=>(it[t[1]]={target:t[2],title:t[4]},{}),p:At},refImage:{l:ht(Z),u:Mt.MAX,_:t=>({alt:t[1]||void 0,ref:t[2]}),p:(t,e,n)=>W("img",{key:n.m,alt:t.alt,src:bt(it[t.ref].target),title:it[t.ref].title})},refLink:{l:yt(F),u:Mt.MAX,_:(t,e,n)=>({content:e(t[1],n),fallbackContent:e(t[0].replace(P,"\\$1"),n),ref:t[2]}),p:(t,e,n)=>it[t.ref]?W("a",{key:n.m,href:bt(it[t.ref].target),title:it[t.ref].title},e(t.content,n)):W("span",{key:n.m},e(t.fallbackContent,n))},table:{l:kt(C),u:Mt.HIGH,_:mt,p:(t,e,n)=>W("table",{key:n.m},W("thead",null,W("tr",null,t.header.map(function(r,o){return W("th",{key:o,style:gt(t,o)},e(r,n))}))),W("tbody",null,t.cells.map(function(r,o){return W("tr",{key:o},r.map(function(r,o){return W("td",{key:o,style:gt(t,o)},e(r,n))}))})))},tableSeparator:{l:function(t,e){return e.t?q.exec(t):null},u:Mt.HIGH,_:function(){return{type:"tableSeparator"}},p:()=>" | "},text:{l:xt(et),u:Mt.MIN,_:t=>({content:t[0].replace(z,(t,e)=>U.namedCodesToUnicode[e]?U.namedCodesToUnicode[e]:t)}),p:t=>t.content},textBolded:{l:ht(X),u:Mt.MED,_:(t,e,n)=>({content:e(t[2],n)}),p:(t,e,n)=>W("strong",{key:n.m},e(t.content,n))},textEmphasized:{l:ht(J),u:Mt.LOW,_:(t,e,n)=>({content:e(t[2],n)}),p:(t,e,n)=>W("em",{key:n.m},e(t.content,n))},textEscaped:{l:ht(tt),u:Mt.HIGH,_:t=>({content:t[1],type:"text"})},textStrikethroughed:{l:ht(Y),u:Mt.LOW,_:zt,p:(t,e,n)=>W("del",{key:n.m},e(t.content,n))}};!0!==U.disableParsingRawHTML&&(dt.htmlBlock={l:xt(w),u:Mt.HIGH,_(t,e,n){const[,r]=t[3].match(rt),o=new RegExp(`^${r}`,"gm"),a=t[3].replace(o,""),s=(i=a,_t.some(t=>t.test(i))?wt:$t);var i;const l=t[1].toLowerCase(),u=-1!==c.indexOf(l);n.g=n.g||"a"===l;const _=u?t[3]:s(e,a,n);return n.g=!1,{attrs:Q(t[2]),content:_,noInnerParse:u,tag:u?l:t[1]}},p:(t,n,r)=>W(t.tag,e({key:r.m},t.attrs),t.noInnerParse?t.content:n(t.content,r))},dt.htmlSelfClosing={l:xt(R),u:Mt.HIGH,_:t=>({attrs:Q(t[2]||""),tag:t[1]}),p:(t,n,r)=>W(t.tag,e({},t.attrs,{key:r.m}))});const pt=function(t){let e=Object.keys(t);function n(r,o){let a=[],c="";for(;r;){let s=0;for(;s<e.length;){const i=e[s],l=t[i],u=l.l(r,o,c);if(u){const t=u[0];r=r.substring(t.length);const e=l._(u,n,o);null==e.type&&(e.type=i),a.push(e),c=t;break}s++}}return a}return e.sort(function(e,n){let r=t[e].u,o=t[n].u;return r!==o?r-o:e<n?-1:1}),function(t,e){return n(function(t){return t.replace(h,"\n").replace(b,"").replace(H," ")}(t),e)}}(dt),Ot=(Bt=function(t){return function(e,n,r){return t[e.type].p(e,n,r)}}(dt),function t(e,n={}){if(Array.isArray(e)){const r=n.m,o=[];let a=!1;for(let r=0;r<e.length;r++){n.m=r;const c=t(e[r],n),s="string"==typeof c;s&&a?o[o.length-1]+=c:o.push(c),a=s}return n.m=r,o}return Bt(e,t,n)});var Bt;const Lt=K(r);return ot.length&&Lt.props.children.push(W("footer",{key:"footer"},ot.map(function(t){return W("div",{id:U.slugify(t.identifier),key:t.identifier},t.identifier,Ot(pt(t.footnote,{o:!0})))}))),Lt}!function(t){t[t.MAX=0]="MAX",t[t.HIGH=1]="HIGH",t[t.MED=2]="MED",t[t.LOW=3]="LOW",t[t.MIN=4]="MIN"}(Mt||(Mt={}));export default e=>{let{children:n,options:o}=e,a=function(t,e){if(null==t)return{};var n,r,o={},a=Object.keys(t);for(r=0;r<a.length;r++)e.indexOf(n=a[r])>=0||(o[n]=t[n]);return o}(e,r);return t.cloneElement(Ot(n,o),a)};export{Ot as compiler};
import t from"react";function e(){return(e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var n=/[\'\"]/;const r=["children","options"],o=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((t,e)=>(t[e.toLowerCase()]=e,t),{for:"htmlFor"}),c={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},a=["style","script"],u=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,i=/mailto:/i,l=/\n{2,}$/,s=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,_=/^ *> ?/gm,f=/^ {2,}\n/,d=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,p=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*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,J=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,K=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,Y=/^\\([^0-9A-Za-z\s])/,tt=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,et=/^\n+/,nt=/^([ \t]*)/,rt=/\\([^0-9A-Z\s])/gi,ot=new RegExp("^( *)((?:[*+-]|\\d+\\.)) +"),ct=new RegExp("^( *)((?:[*+-]|\\d+\\.)) +[^\\n]*(?:\\n(?!\\1(?:[*+-]|\\d+\\.) )[^\\n]*)*(\\n|$)","gm"),at=new RegExp("^( *)((?:[*+-]|\\d+\\.)) [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1(?:[*+-]|\\d+\\.) (?!(?:[*+-]|\\d+\\.) ))\\n*|\\s*\\n*$)"),ut="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",it=new RegExp("^\\[("+ut+")\\]\\(\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),lt=new RegExp("^!\\[("+ut+")\\]\\(\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),st=[s,g,p,S,$,E,ct,at,C],_t=[...st,/^[^\n]+(?: \n|\n{2,})/,w,R];function ft(t){return t.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function dt(t){return Q.test(t)?"right":V.test(t)?"center":W.test(t)?"left":null}function pt(t,e,n){const r=n.t;n.t=!0;const o=e(t.trim(),n);n.t=r;let c=[[]];return o.forEach(function(t,e){"tableSeparator"===t.type?0!==e&&e!==o.length-1&&c.push([]):("text"!==t.type||null!=o[e+1]&&"tableSeparator"!==o[e+1].type||(t.content=t.content.replace(U,"")),c[c.length-1].push(t))}),c}function gt(t,e,n){n.o=!0;const r=pt(t[1],e,n),o=t[2].replace(q,"").split("|").map(dt),c=function(t,e,n){return t.trim().split("\n").map(function(t){return pt(t,e,n)})}(t[3],e,n);return n.o=!1,{align:o,cells:c,header:r,type:"table"}}function mt(t,e){return null==t.align[e]?{}:{textAlign:t.align[e]}}function yt(t){return function(e,n){return n.o?t.exec(e):null}}function ht(t){return function(e,n){return n.o||n.u?t.exec(e):null}}function kt(t){return function(e,n){return n.o||n.u?null:t.exec(e)}}function xt(t){return function(e){return t.exec(e)}}function vt(t,e,n){if(e.o||e.u)return null;if(n&&!n.endsWith("\n"))return null;let r="";t.split("\n").every(t=>!st.some(e=>e.test(t))&&(r+=t+"\n",t.trim()));const o=r.trimEnd();return""==o?null:[r,o]}function bt(t){try{if(decodeURIComponent(t).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data):/i))return null}catch(t){return null}return t}function St(t){return t.replace(rt,"$1")}function $t(t,e,n){const r=n.o||!1,o=n.u||!1;n.o=!0,n.u=!0;const c=t(e,n);return n.o=r,n.u=o,c}function wt(t,e,n){const r=n.o||!1,o=n.u||!1;n.o=!1,n.u=!0;const c=t(e,n);return n.o=r,n.u=o,c}function zt(t,e,n){return n.o=!1,t(e+"\n\n",n)}const Et=(t,e,n)=>({content:$t(e,t[1],n)});function At(){return{}}function Rt(){return null}function It(...t){return t.filter(Boolean).join(" ")}function Mt(t,e,n){let r=t;const o=e.split(".");for(;o.length&&(r=r[o[0]],void 0!==r);)o.shift();return r||n}var Ot;function Bt(r,q={}){q.overrides=q.overrides||{},q.slugify=q.slugify||ft,q.namedCodesToUnicode=q.namedCodesToUnicode?e({},c,q.namedCodesToUnicode):c;const U=q.createElement||t.createElement;function V(t,n,...r){const o=Mt(q.overrides,`${t}.props`,{});return U(function(t,e){const n=Mt(e,t);return n?"function"==typeof n||"object"==typeof n&&"render"in n?n:Mt(e,`${t}.component`,t):t}(t,q.overrides),e({},n,o,{className:It(null==n?void 0:n.className,o.className)||void 0}),...r)}function W(e){let n=!1;q.forceInline?n=!0:q.forceBlock||(n=!1===P.test(e));const r=pt(dt(n?e:`${e.trimEnd().replace(et,"")}\n\n`,{o:n}));for(;"string"==typeof r[r.length-1]&&!r[r.length-1].trim();)r.pop();if(null===q.wrapper)return r;const o=q.wrapper||(n?"span":"div");let c;if(r.length>1||q.forceWrapper)c=r;else{if(1===r.length)return c=r[0],"string"==typeof c?V("span",{key:"outer"},c):c;c=null}return t.createElement(o,{key:"outer"},c)}function Q(e){const r=e.match(u);return r?r.reduce(function(e,r,c){const a=r.indexOf("=");if(-1!==a){const u=function(t){return-1!==t.indexOf("-")&&null===t.match(A)&&(t=t.replace(j,function(t,e){return e.toUpperCase()})),t}(r.slice(0,a)).trim(),i=function(t){return t?(n.test(t.charAt(0))&&(t=t.substr(1)),n.test(t.charAt(t.length-1))&&(t=t.substr(0,t.length-1)),t):""}(r.slice(a+1).trim()),l=o[u]||u,s=e[l]=function(t,e){return"style"===t?e.split(/;\s?/).reduce(function(t,e){const n=e.slice(0,e.indexOf(":"));return t[n.replace(/(-[a-z])/g,t=>t[1].toUpperCase())]=e.slice(n.length+1).trim(),t},{}):"href"===t?bt(e):(e.match(I)&&(e=e.slice(1,e.length-1)),"true"===e||"false"!==e&&e)}(u,i);"string"==typeof s&&(w.test(s)||R.test(s))&&(e[l]=t.cloneElement(W(s.trim()),{key:c}))}else"style"!==r&&(e[o[r]||r]=!0);return e},{}):void 0}const rt=[],ut={},st={blockQuote:{i:kt(s),l:Ot.HIGH,_:(t,e,n)=>({content:e(t[0].replace(_,""),n)}),p:(t,e,n)=>V("blockquote",{key:n.g},e(t.content,n))},breakLine:{i:xt(f),l:Ot.HIGH,_:At,p:(t,e,n)=>V("br",{key:n.g})},breakThematic:{i:kt(d),l:Ot.HIGH,_:At,p:(t,e,n)=>V("hr",{key:n.g})},codeBlock:{i:kt(g),l:Ot.MAX,_:t=>({content:t[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}),p:(t,e,n)=>V("pre",{key:n.g},V("code",{className:t.lang?`lang-${t.lang}`:""},t.content))},codeFenced:{i:kt(p),l:Ot.MAX,_:t=>({content:t[3],lang:t[2]||void 0,type:"codeBlock"})},codeInline:{i:ht(m),l:Ot.LOW,_:t=>({content:t[2]}),p:(t,e,n)=>V("code",{key:n.g},t.content)},footnote:{i:kt(k),l:Ot.MAX,_:t=>(rt.push({footnote:t[2],identifier:t[1]}),{}),p:Rt},footnoteReference:{i:yt(x),l:Ot.HIGH,_:t=>({content:t[1],target:`#${q.slugify(t[1])}`}),p:(t,e,n)=>V("a",{key:n.g,href:bt(t.target)},V("sup",{key:n.g},t.content))},gfmTask:{i:yt(b),l:Ot.HIGH,_:t=>({completed:"x"===t[1].toLowerCase()}),p:(t,e,n)=>V("input",{checked:t.completed,key:n.g,readOnly:!0,type:"checkbox"})},heading:{i:kt(S),l:Ot.HIGH,_:(t,e,n)=>({content:$t(e,t[2],n),id:q.slugify(t[2]),level:t[1].length}),p:(t,e,n)=>(t.tag=`h${t.level}`,V(t.tag,{id:t.id,key:n.g},e(t.content,n)))},headingSetext:{i:kt($),l:Ot.MAX,_:(t,e,n)=>({content:$t(e,t[1],n),level:"="===t[2]?1:2,type:"heading"})},htmlComment:{i:xt(E),l:Ot.HIGH,_:()=>({}),p:Rt},image:{i:ht(lt),l:Ot.HIGH,_:t=>({alt:t[1],target:St(t[2]),title:t[3]}),p:(t,e,n)=>V("img",{key:n.g,alt:t.alt||void 0,title:t.title||void 0,src:bt(t.target)})},link:{i:yt(it),l:Ot.LOW,_:(t,e,n)=>({content:wt(e,t[1],n),target:St(t[2]),title:t[3]}),p:(t,e,n)=>V("a",{key:n.g,href:bt(t.target),title:t.title},e(t.content,n))},linkAngleBraceStyleDetector:{i:yt(B),l:Ot.MAX,_:t=>({content:[{content:t[1],type:"text"}],target:t[1],type:"link"})},linkBareUrlDetector:{i:(t,e)=>e.m?null:yt(M)(t,e),l:Ot.MAX,_:t=>({content:[{content:t[1],type:"text"}],target:t[1],title:void 0,type:"link"})},linkMailtoDetector:{i:yt(O),l:Ot.MAX,_(t){let e=t[1],n=t[1];return i.test(n)||(n="mailto:"+n),{content:[{content:e.replace("mailto:",""),type:"text"}],target:n,type:"link"}}},list:{i(t,e,n){const r=T.exec(n);return!r||!e.h&&e.o?null:at.exec(t=r[1]+t)},l:Ot.HIGH,_(t,e,n){const r=t[2],o=r.length>1,c=o?+r:void 0,a=t[0].replace(l,"\n").match(ct);let u=!1;return{items:a.map(function(t,r){const o=ot.exec(t)[0].length,c=new RegExp("^ {1,"+o+"}","gm"),i=t.replace(c,"").replace(ot,""),l=r===a.length-1,s=-1!==i.indexOf("\n\n")||l&&u;u=s;const _=n.o,f=n.h;let d;n.h=!0,s?(n.o=!1,d=i.replace(L,"\n\n")):(n.o=!0,d=i.replace(L,""));const p=e(d,n);return n.o=_,n.h=f,p}),ordered:o,start:c}},p:(t,e,n)=>V(t.ordered?"ol":"ul",{key:n.g,start:t.start},t.items.map(function(t,r){return V("li",{key:r},e(t,n))}))},newlineCoalescer:{i:kt(y),l:Ot.LOW,_:At,p:()=>"\n"},paragraph:{i:vt,l:Ot.LOW,_:Et,p:(t,e,n)=>V("p",{key:n.g},e(t.content,n))},ref:{i:yt(D),l:Ot.MAX,_:t=>(ut[t[1]]={target:t[2],title:t[4]},{}),p:Rt},refImage:{i:ht(N),l:Ot.MAX,_:t=>({alt:t[1]||void 0,ref:t[2]}),p:(t,e,n)=>V("img",{key:n.g,alt:t.alt,src:bt(ut[t.ref].target),title:ut[t.ref].title})},refLink:{i:yt(Z),l:Ot.MAX,_:(t,e,n)=>({content:e(t[1],n),fallbackContent:e(t[0].replace(F,"\\$1"),n),ref:t[2]}),p:(t,e,n)=>ut[t.ref]?V("a",{key:n.g,href:bt(ut[t.ref].target),title:ut[t.ref].title},e(t.content,n)):V("span",{key:n.g},e(t.fallbackContent,n))},table:{i:kt(C),l:Ot.HIGH,_:gt,p:(t,e,n)=>V("table",{key:n.g},V("thead",null,V("tr",null,t.header.map(function(r,o){return V("th",{key:o,style:mt(t,o)},e(r,n))}))),V("tbody",null,t.cells.map(function(r,o){return V("tr",{key:o},r.map(function(r,o){return V("td",{key:o,style:mt(t,o)},e(r,n))}))})))},tableSeparator:{i:function(t,e){return e.t?H.exec(t):null},l:Ot.HIGH,_:function(){return{type:"tableSeparator"}},p:()=>" | "},text:{i:xt(tt),l:Ot.MIN,_:t=>({content:t[0].replace(z,(t,e)=>q.namedCodesToUnicode[e]?q.namedCodesToUnicode[e]:t)}),p:t=>t.content},textBolded:{i:ht(X),l:Ot.MED,_:(t,e,n)=>({content:e(t[2],n)}),p:(t,e,n)=>V("strong",{key:n.g},e(t.content,n))},textEmphasized:{i:ht(J),l:Ot.LOW,_:(t,e,n)=>({content:e(t[2],n)}),p:(t,e,n)=>V("em",{key:n.g},e(t.content,n))},textEscaped:{i:ht(Y),l:Ot.HIGH,_:t=>({content:t[1],type:"text"})},textStrikethroughed:{i:ht(K),l:Ot.LOW,_:Et,p:(t,e,n)=>V("del",{key:n.g},e(t.content,n))}};!0!==q.disableParsingRawHTML&&(st.htmlBlock={i:xt(w),l:Ot.HIGH,_(t,e,n){const[,r]=t[3].match(nt),o=new RegExp(`^${r}`,"gm"),c=t[3].replace(o,""),u=(i=c,_t.some(t=>t.test(i))?zt:$t);var i;const l=t[1].toLowerCase(),s=-1!==a.indexOf(l);n.m=n.m||"a"===l;const _=s?t[3]:u(e,c,n);return n.m=!1,{attrs:Q(t[2]),content:_,noInnerParse:s,tag:s?l:t[1]}},p:(t,n,r)=>V(t.tag,e({key:r.g},t.attrs),t.noInnerParse?t.content:n(t.content,r))},st.htmlSelfClosing={i:xt(R),l:Ot.HIGH,_:t=>({attrs:Q(t[2]||""),tag:t[1]}),p:(t,n,r)=>V(t.tag,e({},t.attrs,{key:r.g}))});const dt=function(t){let e=Object.keys(t);function n(r,o){let c=[],a="";for(;r;){let u=0;for(;u<e.length;){const i=e[u],l=t[i],s=l.i(r,o,a);if(s){const t=s[0];r=r.substring(t.length);const e=l._(s,n,o);null==e.type&&(e.type=i),c.push(e),a=t;break}u++}}return c}return e.sort(function(e,n){let r=t[e].l,o=t[n].l;return r!==o?r-o:e<n?-1:1}),function(t,e){return n(function(t){return t.replace(h,"\n").replace(v,"").replace(G," ")}(t),e)}}(st),pt=(Bt=function(t){return function(e,n,r){return t[e.type].p(e,n,r)}}(st),function t(e,n={}){if(Array.isArray(e)){const r=n.g,o=[];let c=!1;for(let r=0;r<e.length;r++){n.g=r;const a=t(e[r],n),u="string"==typeof a;u&&c?o[o.length-1]+=a:null!==a&&o.push(a),c=u}return n.g=r,o}return Bt(e,t,n)});var Bt;const Lt=W(r);return rt.length?V("div",null,Lt,V("footer",{key:"footer"},rt.map(function(t){return V("div",{id:q.slugify(t.identifier),key:t.identifier},t.identifier,pt(dt(t.footnote,{o:!0})))}))):Lt}!function(t){t[t.MAX=0]="MAX",t[t.HIGH=1]="HIGH",t[t.MED=2]="MED",t[t.LOW=3]="LOW",t[t.MIN=4]="MIN"}(Ot||(Ot={}));export default e=>{let{children:n,options:o}=e,c=function(t,e){if(null==t)return{};var n,r,o={},c=Object.keys(t);for(r=0;r<c.length;r++)e.indexOf(n=c[r])>=0||(o[n]=t[n]);return o}(e,r);return t.cloneElement(Bt(n,o),c)};export{Bt as compiler};
//# sourceMappingURL=index.modern.js.map

@@ -1,2 +0,2 @@

import n from"react";function t(){return(t=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e])}return n}).apply(this,arguments)}var r=/[\'\"]/,e=["children","options"],o={accesskey:"accessKey",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",autocomplete:"autoComplete",autofocus:"autoFocus",autoplay:"autoPlay",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classId",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",crossorigin:"crossOrigin",enctype:"encType",for:"htmlFor",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",inputmode:"inputMode",keyparams:"keyParams",keytype:"keyType",marginheight:"marginHeight",marginwidth:"marginWidth",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",novalidate:"noValidate",radiogroup:"radioGroup",readonly:"readOnly",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",usemap:"useMap"},a={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},c=["style","script"],u=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,i=/mailto:/i,f=/\n{2,}$/,l=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,s=/^ *> ?/gm,_=/^ {2,}\n/,d=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,p=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n?/,m=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,g=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,y=/^(?:\n *)*\n/,h=/\r\n?/g,v=/^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|\w)/,Y=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,nn=/^\\([^0-9A-Za-z\s])/,tn=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,rn=/(^\n+|\n+$|\s+$)/g,en=/^([ \t]*)/,on=/\\([^0-9A-Z\s])/gi,an=new RegExp("^( *)((?:[*+-]|\\d+\\.)) +"),cn=new RegExp("( *)((?:[*+-]|\\d+\\.)) +[^\\n]*(?:\\n(?!\\1(?:[*+-]|\\d+\\.) )[^\\n]*)*(\\n|$)","gm"),un=new RegExp("^( *)((?:[*+-]|\\d+\\.)) [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1(?:[*+-]|\\d+\\.) (?!(?:[*+-]|\\d+\\.) ))\\n*|\\s*\\n*$)"),fn="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",ln=new RegExp("^\\[("+fn+")\\]\\(\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),sn=new RegExp("^!\\[("+fn+")\\]\\(\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),_n=[l,m,p,S,$,w,E,R,cn,un,C,D];function dn(n){return n.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function pn(n){return Q.test(n)?"right":W.test(n)?"center":K.test(n)?"left":null}function mn(n,t,r){var e=r.t;r.t=!0;var o=t(n.trim(),r);r.t=e;var a=[[]];return o.forEach(function(n,t){"tableSeparator"===n.type?0!==t&&t!==o.length-1&&a.push([]):("text"!==n.type||null!=o[t+1]&&"tableSeparator"!==o[t+1].type||(n.content=n.content.replace(V,"")),a[a.length-1].push(n))}),a}function gn(n,t,r){r.o=!0;var e=mn(n[1],t,r),o=n[2].replace(U,"").split("|").map(pn),a=function(n,t,r){return n.trim().split("\n").map(function(n){return mn(n,t,r)})}(n[3],t,r);return r.o=!1,{align:o,cells:a,header:e,type:"table"}}function yn(n,t){return null==n.align[t]?{}:{textAlign:n.align[t]}}function hn(n){return function(t,r){return r.o?n.exec(t):null}}function vn(n){return function(t,r){return r.o||r.u?n.exec(t):null}}function kn(n){return function(t,r){return r.o||r.u?null:n.exec(t)}}function xn(n){return function(t){return n.exec(t)}}function bn(n){try{if(decodeURIComponent(n).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data):/i))return null}catch(n){return null}return n}function Sn(n){return n.replace(on,"$1")}function $n(n,t,r){var e=r.o||!1,o=r.u||!1;r.o=!0,r.u=!0;var a=n(t,r);return r.o=e,r.u=o,a}function wn(n,t,r){var e=r.o||!1,o=r.u||!1;r.o=!1,r.u=!0;var a=n(t,r);return r.o=e,r.u=o,a}function zn(n,t,r){return r.o=!1,n(t+"\n\n",r)}var En,An=function(n,t,r){return{content:$n(t,n[1],r)}};function Rn(){return{}}function In(){return null}function Mn(){return[].slice.call(arguments).filter(Boolean).join(" ")}function On(n,t,r){for(var e=n,o=t.split(".");o.length&&void 0!==(e=e[o[0]]);)o.shift();return e||r}function Bn(n,t){var r=On(t,n);return r?"function"==typeof r||"object"==typeof r&&"render"in r?r:On(t,n+".component",n):n}function Ln(e,U){void 0===U&&(U={}),U.overrides=U.overrides||{},U.slugify=U.slugify||dn,U.namedCodesToUnicode=U.namedCodesToUnicode?t({},a,U.namedCodesToUnicode):a;var V=U.createElement||n.createElement;function W(n,r){var e=On(U.overrides,n+".props",{});return V.apply(void 0,[Bn(n,U.overrides),t({},r,e,{className:Mn(null==r?void 0:r.className,e.className)||void 0})].concat([].slice.call(arguments,2)))}function K(t){var r=!1;U.forceInline?r=!0:U.forceBlock||(r=!1===G.test(t));var e=Tn(Ln(r?t:t.replace(rn,"")+"\n\n",{o:r}));if(null===U.wrapper)return e;var o,a=U.wrapper||(r?"span":"div");if(e.length>1||U.forceWrapper)o=e;else{if(1===e.length)return"string"==typeof(o=e[0])?W("span",{key:"outer"},o):o;o=null}return n.createElement(a,{key:"outer"},o)}function Q(t){var e=t.match(u);return e?e.reduce(function(t,e,a){var c=e.indexOf("=");if(-1!==c){var u=function(n){return-1!==n.indexOf("-")&&null===n.match(A)&&(n=n.replace(j,function(n,t){return t.toUpperCase()})),n}(e.slice(0,c)).trim(),i=function(n){return n?(r.test(n.charAt(0))&&(n=n.substr(1)),r.test(n.charAt(n.length-1))&&(n=n.substr(0,n.length-1)),n):""}(e.slice(c+1).trim()),f=o[u]||u,l=t[f]=function(n,t){return"style"===n?t.split(/;\s?/).reduce(function(n,t){var r=t.slice(0,t.indexOf(":"));return n[r.replace(/(-[a-z])/g,function(n){return n[1].toUpperCase()})]=t.slice(r.length+1).trim(),n},{}):"href"===n?bn(t):(t.match(I)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}(u,i);"string"==typeof l&&(w.test(l)||R.test(l))&&(t[f]=n.cloneElement(K(l.trim()),{key:a}))}else"style"!==e&&(t[o[e]||e]=!0);return t},{}):void 0}var on=[],fn={},pn={blockQuote:{i:kn(l),l:En.HIGH,_:function(n,t,r){return{content:t(n[0].replace(s,""),r)}},p:function(n,t,r){return W("blockquote",{key:r.m},t(n.content,r))}},breakLine:{i:xn(_),l:En.HIGH,_:Rn,p:function(n,t,r){return W("br",{key:r.m})}},breakThematic:{i:kn(d),l:En.HIGH,_:Rn,p:function(n,t,r){return W("hr",{key:r.m})}},codeBlock:{i:kn(m),l:En.MAX,_:function(n){return{content:n[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},p:function(n,t,r){return W("pre",{key:r.m},W("code",{className:n.lang?"lang-"+n.lang:""},n.content))}},codeFenced:{i:kn(p),l:En.MAX,_:function(n){return{content:n[3],lang:n[2]||void 0,type:"codeBlock"}}},codeInline:{i:vn(g),l:En.LOW,_:function(n){return{content:n[2]}},p:function(n,t,r){return W("code",{key:r.m},n.content)}},footnote:{i:kn(v),l:En.MAX,_:function(n){return on.push({footnote:n[2],identifier:n[1]}),{}},p:In},footnoteReference:{i:hn(k),l:En.HIGH,_:function(n){return{content:n[1],target:"#"+U.slugify(n[1])}},p:function(n,t,r){return W("a",{key:r.m,href:bn(n.target)},W("sup",{key:r.m},n.content))}},gfmTask:{i:hn(b),l:En.HIGH,_:function(n){return{completed:"x"===n[1].toLowerCase()}},p:function(n,t,r){return W("input",{checked:n.completed,key:r.m,readOnly:!0,type:"checkbox"})}},heading:{i:kn(S),l:En.HIGH,_:function(n,t,r){return{content:$n(t,n[2],r),id:U.slugify(n[2]),level:n[1].length}},p:function(n,t,r){return n.tag="h"+n.level,W(n.tag,{id:n.id,key:r.m},t(n.content,r))}},headingSetext:{i:kn($),l:En.MAX,_:function(n,t,r){return{content:$n(t,n[1],r),level:"="===n[2]?1:2,type:"heading"}}},htmlComment:{i:xn(E),l:En.HIGH,_:function(){return{}},p:In},image:{i:vn(sn),l:En.HIGH,_:function(n){return{alt:n[1],target:Sn(n[2]),title:n[3]}},p:function(n,t,r){return W("img",{key:r.m,alt:n.alt||void 0,title:n.title||void 0,src:bn(n.target)})}},link:{i:hn(ln),l:En.LOW,_:function(n,t,r){return{content:wn(t,n[1],r),target:Sn(n[2]),title:n[3]}},p:function(n,t,r){return W("a",{key:r.m,href:bn(n.target),title:n.title},t(n.content,r))}},linkAngleBraceStyleDetector:{i:hn(B),l:En.MAX,_:function(n){return{content:[{content:n[1],type:"text"}],target:n[1],type:"link"}}},linkBareUrlDetector:{i:function(n,t){return t.g?null:hn(M)(n,t)},l:En.MAX,_:function(n){return{content:[{content:n[1],type:"text"}],target:n[1],title:void 0,type:"link"}}},linkMailtoDetector:{i:hn(O),l:En.MAX,_:function(n){var t=n[1],r=n[1];return i.test(r)||(r="mailto:"+r),{content:[{content:t.replace("mailto:",""),type:"text"}],target:r,type:"link"}}},list:{i:function(n,t,r){var e=T.exec(r);return!e||!t.h&&t.o?null:un.exec(n=e[1]+n)},l:En.HIGH,_:function(n,t,r){var e=n[2],o=e.length>1,a=o?+e:void 0,c=n[0].replace(f,"\n").match(cn),u=!1;return{items:c.map(function(n,e){var o=an.exec(n)[0].length,a=new RegExp("^ {1,"+o+"}","gm"),i=n.replace(a,"").replace(an,""),f=e===c.length-1,l=-1!==i.indexOf("\n\n")||f&&u;u=l;var s,_=r.o,d=r.h;r.h=!0,l?(r.o=!1,s=i.replace(L,"\n\n")):(r.o=!0,s=i.replace(L,""));var p=t(s,r);return r.o=_,r.h=d,p}),ordered:o,start:a}},p:function(n,t,r){return W(n.ordered?"ol":"ul",{key:r.m,start:n.start},n.items.map(function(n,e){return W("li",{key:e},t(n,r))}))}},newlineCoalescer:{i:kn(y),l:En.LOW,_:Rn,p:function(){return"\n"}},paragraph:{i:kn(D),l:En.LOW,_:An,p:function(n,t,r){return W("p",{key:r.m},t(n.content,r))}},ref:{i:hn(N),l:En.MAX,_:function(n){return fn[n[1]]={target:n[2],title:n[4]},{}},p:In},refImage:{i:vn(Z),l:En.MAX,_:function(n){return{alt:n[1]||void 0,ref:n[2]}},p:function(n,t,r){return W("img",{key:r.m,alt:n.alt,src:bn(fn[n.ref].target),title:fn[n.ref].title})}},refLink:{i:hn(F),l:En.MAX,_:function(n,t,r){return{content:t(n[1],r),fallbackContent:t(n[0].replace(P,"\\$1"),r),ref:n[2]}},p:function(n,t,r){return fn[n.ref]?W("a",{key:r.m,href:bn(fn[n.ref].target),title:fn[n.ref].title},t(n.content,r)):W("span",{key:r.m},t(n.fallbackContent,r))}},table:{i:kn(C),l:En.HIGH,_:gn,p:function(n,t,r){return W("table",{key:r.m},W("thead",null,W("tr",null,n.header.map(function(e,o){return W("th",{key:o,style:yn(n,o)},t(e,r))}))),W("tbody",null,n.cells.map(function(e,o){return W("tr",{key:o},e.map(function(e,o){return W("td",{key:o,style:yn(n,o)},t(e,r))}))})))}},tableSeparator:{i:function(n,t){return t.t?q.exec(n):null},l:En.HIGH,_:function(){return{type:"tableSeparator"}},p:function(){return" | "}},text:{i:xn(tn),l:En.MIN,_:function(n){return{content:n[0].replace(z,function(n,t){return U.namedCodesToUnicode[t]?U.namedCodesToUnicode[t]:n})}},p:function(n){return n.content}},textBolded:{i:vn(X),l:En.MED,_:function(n,t,r){return{content:t(n[2],r)}},p:function(n,t,r){return W("strong",{key:r.m},t(n.content,r))}},textEmphasized:{i:vn(J),l:En.LOW,_:function(n,t,r){return{content:t(n[2],r)}},p:function(n,t,r){return W("em",{key:r.m},t(n.content,r))}},textEscaped:{i:vn(nn),l:En.HIGH,_:function(n){return{content:n[1],type:"text"}}},textStrikethroughed:{i:vn(Y),l:En.LOW,_:An,p:function(n,t,r){return W("del",{key:r.m},t(n.content,r))}}};!0!==U.disableParsingRawHTML&&(pn.htmlBlock={i:xn(w),l:En.HIGH,_:function(n,t,r){var e,o=n[3].match(en),a=new RegExp("^"+o[1],"gm"),u=n[3].replace(a,""),i=(e=u,_n.some(function(n){return n.test(e)})?zn:$n),f=n[1].toLowerCase(),l=-1!==c.indexOf(f);r.g=r.g||"a"===f;var s=l?n[3]:i(t,u,r);return r.g=!1,{attrs:Q(n[2]),content:s,noInnerParse:l,tag:l?f:n[1]}},p:function(n,r,e){return W(n.tag,t({key:e.m},n.attrs),n.noInnerParse?n.content:r(n.content,e))}},pn.htmlSelfClosing={i:xn(R),l:En.HIGH,_:function(n){return{attrs:Q(n[2]||""),tag:n[1]}},p:function(n,r,e){return W(n.tag,t({},n.attrs,{key:e.m}))}});var mn,Ln=function(n){var t=Object.keys(n);function r(e,o){for(var a=[],c="";e;)for(var u=0;u<t.length;){var i=t[u],f=n[i],l=f.i(e,o,c);if(l){var s=l[0];e=e.substring(s.length);var _=f._(l,r,o);null==_.type&&(_.type=i),a.push(_),c=s;break}u++}return a}return t.sort(function(t,r){var e=n[t].l,o=n[r].l;return e!==o?e-o:t<r?-1:1}),function(n,t){return r(function(n){return n.replace(h,"\n").replace(x,"").replace(H," ")}(n),t)}}(pn),Tn=(mn=function(n){return function(t,r,e){return n[t.type].p(t,r,e)}}(pn),function n(t,r){if(void 0===r&&(r={}),Array.isArray(t)){for(var e=r.m,o=[],a=!1,c=0;c<t.length;c++){r.m=c;var u=n(t[c],r),i="string"==typeof u;i&&a?o[o.length-1]+=u:o.push(u),a=i}return r.m=e,o}return mn(t,n,r)}),jn=K(e);return on.length&&jn.props.children.push(W("footer",{key:"footer"},on.map(function(n){return W("div",{id:U.slugify(n.identifier),key:n.identifier},n.identifier,Tn(Ln(n.footnote,{o:!0})))}))),jn}!function(n){n[n.MAX=0]="MAX",n[n.HIGH=1]="HIGH",n[n.MED=2]="MED",n[n.LOW=3]="LOW",n[n.MIN=4]="MIN"}(En||(En={}));export default function(t){var r=t.children,o=t.options,a=function(n,t){if(null==n)return{};var r,e,o={},a=Object.keys(n);for(e=0;e<a.length;e++)t.indexOf(r=a[e])>=0||(o[r]=n[r]);return o}(t,e);return n.cloneElement(Ln(r,o),a)}export{Ln as compiler};
import n from"react";function t(){return(t=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e])}return n}).apply(this,arguments)}var r=/[\'\"]/,e=["children","options"],o=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce(function(n,t){return n[t.toLowerCase()]=t,n},{for:"htmlFor"}),u={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},a=["style","script"],c=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,i=/mailto:/i,f=/\n{2,}$/,l=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,s=/^ *> ?/gm,_=/^ {2,}\n/,d=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,p=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n?/,g=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,m=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,v=/^(?:\n *)*\n/,y=/\r\n?/g,h=/^\[\^([^\]]+)](:.*)\n/,k=/^\[\^([^\]]+)]/,x=/\f/g,b=/^\s*?\[(x|\s)\]/,S=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,$=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,w=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,z=/&([a-z]+);/g,E=/^<!--[\s\S]*?(?:-->)/,A=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,R=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,I=/^\{.*\}$/,M=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,O=/^<([^ >]+@[^ >]+)>/,B=/^<([^ >]+:\/[^ >]+)>/,L=/ *\n+$/,T=/(?:^|\n)( *)$/,j=/-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])?\\s*\\)"),ln=new RegExp("^!\\[("+cn+")\\]\\(\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)"),sn=[l,g,p,S,$,E,un,an,C],_n=[].concat(sn,[/^[^\n]+(?: \n|\n{2,})/,w,R]);function dn(n){return n.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function pn(n){return Q.test(n)?"right":V.test(n)?"center":W.test(n)?"left":null}function gn(n,t,r){var e=r.t;r.t=!0;var o=t(n.trim(),r);r.t=e;var u=[[]];return o.forEach(function(n,t){"tableSeparator"===n.type?0!==t&&t!==o.length-1&&u.push([]):("text"!==n.type||null!=o[t+1]&&"tableSeparator"!==o[t+1].type||(n.content=n.content.replace(U,"")),u[u.length-1].push(n))}),u}function mn(n,t,r){r.o=!0;var e=gn(n[1],t,r),o=n[2].replace(q,"").split("|").map(pn),u=function(n,t,r){return n.trim().split("\n").map(function(n){return gn(n,t,r)})}(n[3],t,r);return r.o=!1,{align:o,cells:u,header:e,type:"table"}}function vn(n,t){return null==n.align[t]?{}:{textAlign:n.align[t]}}function yn(n){return function(t,r){return r.o?n.exec(t):null}}function hn(n){return function(t,r){return r.o||r.u?n.exec(t):null}}function kn(n){return function(t,r){return r.o||r.u?null:n.exec(t)}}function xn(n){return function(t){return n.exec(t)}}function bn(n,t,r){if(t.o||t.u)return null;if(r&&!r.endsWith("\n"))return null;var e="";n.split("\n").every(function(n){return!sn.some(function(t){return t.test(n)})&&(e+=n+"\n",n.trim())});var o=e.trimEnd();return""==o?null:[e,o]}function Sn(n){try{if(decodeURIComponent(n).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data):/i))return null}catch(n){return null}return n}function $n(n){return n.replace(en,"$1")}function wn(n,t,r){var e=r.o||!1,o=r.u||!1;r.o=!0,r.u=!0;var u=n(t,r);return r.o=e,r.u=o,u}function zn(n,t,r){var e=r.o||!1,o=r.u||!1;r.o=!1,r.u=!0;var u=n(t,r);return r.o=e,r.u=o,u}function En(n,t,r){return r.o=!1,n(t+"\n\n",r)}var An,Rn=function(n,t,r){return{content:wn(t,n[1],r)}};function In(){return{}}function Mn(){return null}function On(){return[].slice.call(arguments).filter(Boolean).join(" ")}function Bn(n,t,r){for(var e=n,o=t.split(".");o.length&&void 0!==(e=e[o[0]]);)o.shift();return e||r}function Ln(n,t){var r=Bn(t,n);return r?"function"==typeof r||"object"==typeof r&&"render"in r?r:Bn(t,n+".component",n):n}function Tn(e,q){void 0===q&&(q={}),q.overrides=q.overrides||{},q.slugify=q.slugify||dn,q.namedCodesToUnicode=q.namedCodesToUnicode?t({},u,q.namedCodesToUnicode):u;var U=q.createElement||n.createElement;function V(n,r){var e=Bn(q.overrides,n+".props",{});return U.apply(void 0,[Ln(n,q.overrides),t({},r,e,{className:On(null==r?void 0:r.className,e.className)||void 0})].concat([].slice.call(arguments,2)))}function W(t){var r=!1;q.forceInline?r=!0:q.forceBlock||(r=!1===P.test(t));for(var e=Tn(gn(r?t:t.trimEnd().replace(tn,"")+"\n\n",{o:r}));"string"==typeof e[e.length-1]&&!e[e.length-1].trim();)e.pop();if(null===q.wrapper)return e;var o,u=q.wrapper||(r?"span":"div");if(e.length>1||q.forceWrapper)o=e;else{if(1===e.length)return"string"==typeof(o=e[0])?V("span",{key:"outer"},o):o;o=null}return n.createElement(u,{key:"outer"},o)}function Q(t){var e=t.match(c);return e?e.reduce(function(t,e,u){var a=e.indexOf("=");if(-1!==a){var c=function(n){return-1!==n.indexOf("-")&&null===n.match(A)&&(n=n.replace(j,function(n,t){return t.toUpperCase()})),n}(e.slice(0,a)).trim(),i=function(n){return n?(r.test(n.charAt(0))&&(n=n.substr(1)),r.test(n.charAt(n.length-1))&&(n=n.substr(0,n.length-1)),n):""}(e.slice(a+1).trim()),f=o[c]||c,l=t[f]=function(n,t){return"style"===n?t.split(/;\s?/).reduce(function(n,t){var r=t.slice(0,t.indexOf(":"));return n[r.replace(/(-[a-z])/g,function(n){return n[1].toUpperCase()})]=t.slice(r.length+1).trim(),n},{}):"href"===n?Sn(t):(t.match(I)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}(c,i);"string"==typeof l&&(w.test(l)||R.test(l))&&(t[f]=n.cloneElement(W(l.trim()),{key:u}))}else"style"!==e&&(t[o[e]||e]=!0);return t},{}):void 0}var en=[],cn={},sn={blockQuote:{i:kn(l),l:An.HIGH,_:function(n,t,r){return{content:t(n[0].replace(s,""),r)}},p:function(n,t,r){return V("blockquote",{key:r.g},t(n.content,r))}},breakLine:{i:xn(_),l:An.HIGH,_:In,p:function(n,t,r){return V("br",{key:r.g})}},breakThematic:{i:kn(d),l:An.HIGH,_:In,p:function(n,t,r){return V("hr",{key:r.g})}},codeBlock:{i:kn(g),l:An.MAX,_:function(n){return{content:n[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},p:function(n,t,r){return V("pre",{key:r.g},V("code",{className:n.lang?"lang-"+n.lang:""},n.content))}},codeFenced:{i:kn(p),l:An.MAX,_:function(n){return{content:n[3],lang:n[2]||void 0,type:"codeBlock"}}},codeInline:{i:hn(m),l:An.LOW,_:function(n){return{content:n[2]}},p:function(n,t,r){return V("code",{key:r.g},n.content)}},footnote:{i:kn(h),l:An.MAX,_:function(n){return en.push({footnote:n[2],identifier:n[1]}),{}},p:Mn},footnoteReference:{i:yn(k),l:An.HIGH,_:function(n){return{content:n[1],target:"#"+q.slugify(n[1])}},p:function(n,t,r){return V("a",{key:r.g,href:Sn(n.target)},V("sup",{key:r.g},n.content))}},gfmTask:{i:yn(b),l:An.HIGH,_:function(n){return{completed:"x"===n[1].toLowerCase()}},p:function(n,t,r){return V("input",{checked:n.completed,key:r.g,readOnly:!0,type:"checkbox"})}},heading:{i:kn(S),l:An.HIGH,_:function(n,t,r){return{content:wn(t,n[2],r),id:q.slugify(n[2]),level:n[1].length}},p:function(n,t,r){return n.tag="h"+n.level,V(n.tag,{id:n.id,key:r.g},t(n.content,r))}},headingSetext:{i:kn($),l:An.MAX,_:function(n,t,r){return{content:wn(t,n[1],r),level:"="===n[2]?1:2,type:"heading"}}},htmlComment:{i:xn(E),l:An.HIGH,_:function(){return{}},p:Mn},image:{i:hn(ln),l:An.HIGH,_:function(n){return{alt:n[1],target:$n(n[2]),title:n[3]}},p:function(n,t,r){return V("img",{key:r.g,alt:n.alt||void 0,title:n.title||void 0,src:Sn(n.target)})}},link:{i:yn(fn),l:An.LOW,_:function(n,t,r){return{content:zn(t,n[1],r),target:$n(n[2]),title:n[3]}},p:function(n,t,r){return V("a",{key:r.g,href:Sn(n.target),title:n.title},t(n.content,r))}},linkAngleBraceStyleDetector:{i:yn(B),l:An.MAX,_:function(n){return{content:[{content:n[1],type:"text"}],target:n[1],type:"link"}}},linkBareUrlDetector:{i:function(n,t){return t.m?null:yn(M)(n,t)},l:An.MAX,_:function(n){return{content:[{content:n[1],type:"text"}],target:n[1],title:void 0,type:"link"}}},linkMailtoDetector:{i:yn(O),l:An.MAX,_:function(n){var t=n[1],r=n[1];return i.test(r)||(r="mailto:"+r),{content:[{content:t.replace("mailto:",""),type:"text"}],target:r,type:"link"}}},list:{i:function(n,t,r){var e=T.exec(r);return!e||!t.v&&t.o?null:an.exec(n=e[1]+n)},l:An.HIGH,_:function(n,t,r){var e=n[2],o=e.length>1,u=o?+e:void 0,a=n[0].replace(f,"\n").match(un),c=!1;return{items:a.map(function(n,e){var o=on.exec(n)[0].length,u=new RegExp("^ {1,"+o+"}","gm"),i=n.replace(u,"").replace(on,""),f=e===a.length-1,l=-1!==i.indexOf("\n\n")||f&&c;c=l;var s,_=r.o,d=r.v;r.v=!0,l?(r.o=!1,s=i.replace(L,"\n\n")):(r.o=!0,s=i.replace(L,""));var p=t(s,r);return r.o=_,r.v=d,p}),ordered:o,start:u}},p:function(n,t,r){return V(n.ordered?"ol":"ul",{key:r.g,start:n.start},n.items.map(function(n,e){return V("li",{key:e},t(n,r))}))}},newlineCoalescer:{i:kn(v),l:An.LOW,_:In,p:function(){return"\n"}},paragraph:{i:bn,l:An.LOW,_:Rn,p:function(n,t,r){return V("p",{key:r.g},t(n.content,r))}},ref:{i:yn(D),l:An.MAX,_:function(n){return cn[n[1]]={target:n[2],title:n[4]},{}},p:Mn},refImage:{i:hn(N),l:An.MAX,_:function(n){return{alt:n[1]||void 0,ref:n[2]}},p:function(n,t,r){return V("img",{key:r.g,alt:n.alt,src:Sn(cn[n.ref].target),title:cn[n.ref].title})}},refLink:{i:yn(Z),l:An.MAX,_:function(n,t,r){return{content:t(n[1],r),fallbackContent:t(n[0].replace(F,"\\$1"),r),ref:n[2]}},p:function(n,t,r){return cn[n.ref]?V("a",{key:r.g,href:Sn(cn[n.ref].target),title:cn[n.ref].title},t(n.content,r)):V("span",{key:r.g},t(n.fallbackContent,r))}},table:{i:kn(C),l:An.HIGH,_:mn,p:function(n,t,r){return V("table",{key:r.g},V("thead",null,V("tr",null,n.header.map(function(e,o){return V("th",{key:o,style:vn(n,o)},t(e,r))}))),V("tbody",null,n.cells.map(function(e,o){return V("tr",{key:o},e.map(function(e,o){return V("td",{key:o,style:vn(n,o)},t(e,r))}))})))}},tableSeparator:{i:function(n,t){return t.t?H.exec(n):null},l:An.HIGH,_:function(){return{type:"tableSeparator"}},p:function(){return" | "}},text:{i:xn(nn),l:An.MIN,_:function(n){return{content:n[0].replace(z,function(n,t){return q.namedCodesToUnicode[t]?q.namedCodesToUnicode[t]:n})}},p:function(n){return n.content}},textBolded:{i:hn(X),l:An.MED,_:function(n,t,r){return{content:t(n[2],r)}},p:function(n,t,r){return V("strong",{key:r.g},t(n.content,r))}},textEmphasized:{i:hn(J),l:An.LOW,_:function(n,t,r){return{content:t(n[2],r)}},p:function(n,t,r){return V("em",{key:r.g},t(n.content,r))}},textEscaped:{i:hn(Y),l:An.HIGH,_:function(n){return{content:n[1],type:"text"}}},textStrikethroughed:{i:hn(K),l:An.LOW,_:Rn,p:function(n,t,r){return V("del",{key:r.g},t(n.content,r))}}};!0!==q.disableParsingRawHTML&&(sn.htmlBlock={i:xn(w),l:An.HIGH,_:function(n,t,r){var e,o=n[3].match(rn),u=new RegExp("^"+o[1],"gm"),c=n[3].replace(u,""),i=(e=c,_n.some(function(n){return n.test(e)})?En:wn),f=n[1].toLowerCase(),l=-1!==a.indexOf(f);r.m=r.m||"a"===f;var s=l?n[3]:i(t,c,r);return r.m=!1,{attrs:Q(n[2]),content:s,noInnerParse:l,tag:l?f:n[1]}},p:function(n,r,e){return V(n.tag,t({key:e.g},n.attrs),n.noInnerParse?n.content:r(n.content,e))}},sn.htmlSelfClosing={i:xn(R),l:An.HIGH,_:function(n){return{attrs:Q(n[2]||""),tag:n[1]}},p:function(n,r,e){return V(n.tag,t({},n.attrs,{key:e.g}))}});var pn,gn=function(n){var t=Object.keys(n);function r(e,o){for(var u=[],a="";e;)for(var c=0;c<t.length;){var i=t[c],f=n[i],l=f.i(e,o,a);if(l){var s=l[0];e=e.substring(s.length);var _=f._(l,r,o);null==_.type&&(_.type=i),u.push(_),a=s;break}c++}return u}return t.sort(function(t,r){var e=n[t].l,o=n[r].l;return e!==o?e-o:t<r?-1:1}),function(n,t){return r(function(n){return n.replace(y,"\n").replace(x,"").replace(G," ")}(n),t)}}(sn),Tn=(pn=function(n){return function(t,r,e){return n[t.type].p(t,r,e)}}(sn),function n(t,r){if(void 0===r&&(r={}),Array.isArray(t)){for(var e=r.g,o=[],u=!1,a=0;a<t.length;a++){r.g=a;var c=n(t[a],r),i="string"==typeof c;i&&u?o[o.length-1]+=c:null!==c&&o.push(c),u=i}return r.g=e,o}return pn(t,n,r)}),jn=W(e);return en.length?V("div",null,jn,V("footer",{key:"footer"},en.map(function(n){return V("div",{id:q.slugify(n.identifier),key:n.identifier},n.identifier,Tn(gn(n.footnote,{o:!0})))}))):jn}!function(n){n[n.MAX=0]="MAX",n[n.HIGH=1]="HIGH",n[n.MED=2]="MED",n[n.LOW=3]="LOW",n[n.MIN=4]="MIN"}(An||(An={}));export default function(t){var r=t.children,o=t.options,u=function(n,t){if(null==n)return{};var r,e,o={},u=Object.keys(n);for(e=0;e<u.length;e++)t.indexOf(r=u[e])>=0||(o[r]=n[r]);return o}(t,e);return n.cloneElement(Tn(r,o),u)}export{Tn as compiler};
//# sourceMappingURL=index.module.js.map

@@ -1,2 +0,2 @@

!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):(n||self).MarkdownToJSX=t(n.React)}(this,function(n){function t(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var e=t(n);function r(){return(r=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n}).apply(this,arguments)}var o=/[\'\"]/,a=["children","options"],c={accesskey:"accessKey",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",autocomplete:"autoComplete",autofocus:"autoFocus",autoplay:"autoPlay",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classId",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",crossorigin:"crossOrigin",enctype:"encType",for:"htmlFor",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",inputmode:"inputMode",keyparams:"keyParams",keytype:"keyType",marginheight:"marginHeight",marginwidth:"marginWidth",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",novalidate:"noValidate",radiogroup:"radioGroup",readonly:"readOnly",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",usemap:"useMap"},u={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},i=["style","script"],f=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,l=/mailto:/i,s=/\n{2,}$/,d=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,_=/^ *> ?/gm,p=/^ {2,}\n/,m=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,g=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n?/,y=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,h=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,v=/^(?:\n *)*\n/,k=/\r\n?/g,b=/^\[\^([^\]]+)](:.*)\n/,x=/^\[\^([^\]]+)]/,S=/\f/g,$=/^\s*?\[(x|\s)\]/,w=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,z=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,E=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,A=/&([a-z]+);/g,j=/^<!--[\s\S]*?(?:-->)/,O=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,R=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,T=/^\{.*\}$/,I=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,M=/^<([^ >]+@[^ >]+)>/,B=/^<([^ >]+:\/[^ >]+)>/,L=/ *\n+$/,C=/(?:^|\n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>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*",pn=new RegExp("^\\[("+dn+")\\]\\("+_n+"\\)"),mn=new RegExp("^!\\[("+dn+")\\]\\("+_n+"\\)"),gn=[d,y,g,w,z,E,j,R,ln,sn,N,Z];function yn(n){return n.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function hn(n){return J.test(n)?"right":Q.test(n)?"center":X.test(n)?"left":null}function vn(n,t,e){var r=e.t;e.t=!0;var o=t(n.trim(),e);e.t=r;var a=[[]];return o.forEach(function(n,t){"tableSeparator"===n.type?0!==t&&t!==o.length-1&&a.push([]):("text"!==n.type||null!=o[t+1]&&"tableSeparator"!==o[t+1].type||(n.content=n.content.replace(K,"")),a[a.length-1].push(n))}),a}function kn(n,t,e){e.o=!0;var r=vn(n[1],t,e),o=n[2].replace(W,"").split("|").map(hn),a=function(n,t,e){return n.trim().split("\n").map(function(n){return vn(n,t,e)})}(n[3],t,e);return e.o=!1,{align:o,cells:a,header:r,type:"table"}}function bn(n,t){return null==n.align[t]?{}:{textAlign:n.align[t]}}function xn(n){return function(t,e){return e.o?n.exec(t):null}}function Sn(n){return function(t,e){return e.o||e.u?n.exec(t):null}}function $n(n){return function(t,e){return e.o||e.u?null:n.exec(t)}}function wn(n){return function(t){return n.exec(t)}}function zn(n){try{if(decodeURIComponent(n).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data):/i))return null}catch(n){return null}return n}function En(n){return n.replace(cn,"$1")}function An(n,t,e){var r=e.o||!1,o=e.u||!1;e.o=!0,e.u=!0;var a=n(t,e);return e.o=r,e.u=o,a}function jn(n,t,e){var r=e.o||!1,o=e.u||!1;e.o=!1,e.u=!0;var a=n(t,e);return e.o=r,e.u=o,a}function On(n,t,e){return e.o=!1,n(t+"\n\n",e)}var Rn,Tn=function(n,t,e){return{content:An(t,n[1],e)}};function In(){return{}}function Mn(){return null}function Bn(){return[].slice.call(arguments).filter(Boolean).join(" ")}function Ln(n,t,e){for(var r=n,o=t.split(".");o.length&&void 0!==(r=r[o[0]]);)o.shift();return r||e}function Cn(n,t){var e=Ln(t,n);return e?"function"==typeof e||"object"==typeof e&&"render"in e?e:Ln(t,n+".component",n):n}function Dn(n,t){void 0===t&&(t={}),t.overrides=t.overrides||{},t.slugify=t.slugify||yn,t.namedCodesToUnicode=t.namedCodesToUnicode?r({},u,t.namedCodesToUnicode):u;var a=t.createElement||e.default.createElement;function W(n,e){var o=Ln(t.overrides,n+".props",{});return a.apply(void 0,[Cn(n,t.overrides),r({},e,o,{className:Bn(null==e?void 0:e.className,o.className)||void 0})].concat([].slice.call(arguments,2)))}function K(n){var r=!1;t.forceInline?r=!0:t.forceBlock||(r=!1===H.test(n));var o=_n(dn(r?n:n.replace(on,"")+"\n\n",{o:r}));if(null===t.wrapper)return o;var a,c=t.wrapper||(r?"span":"div");if(o.length>1||t.forceWrapper)a=o;else{if(1===o.length)return"string"==typeof(a=o[0])?W("span",{key:"outer"},a):a;a=null}return e.default.createElement(c,{key:"outer"},a)}function Q(n){var t=n.match(f);return t?t.reduce(function(n,t,r){var a=t.indexOf("=");if(-1!==a){var u=function(n){return-1!==n.indexOf("-")&&null===n.match(O)&&(n=n.replace(D,function(n,t){return t.toUpperCase()})),n}(t.slice(0,a)).trim(),i=function(n){return n?(o.test(n.charAt(0))&&(n=n.substr(1)),o.test(n.charAt(n.length-1))&&(n=n.substr(0,n.length-1)),n):""}(t.slice(a+1).trim()),f=c[u]||u,l=n[f]=function(n,t){return"style"===n?t.split(/;\s?/).reduce(function(n,t){var e=t.slice(0,t.indexOf(":"));return n[e.replace(/(-[a-z])/g,function(n){return n[1].toUpperCase()})]=t.slice(e.length+1).trim(),n},{}):"href"===n?zn(t):(t.match(T)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}(u,i);"string"==typeof l&&(E.test(l)||R.test(l))&&(n[f]=e.default.cloneElement(K(l.trim()),{key:r}))}else"style"!==t&&(n[c[t]||t]=!0);return n},{}):void 0}var X=[],J={},cn={blockQuote:{i:$n(d),l:Rn.HIGH,_:function(n,t,e){return{content:t(n[0].replace(_,""),e)}},p:function(n,t,e){return W("blockquote",{key:e.m},t(n.content,e))}},breakLine:{i:wn(p),l:Rn.HIGH,_:In,p:function(n,t,e){return W("br",{key:e.m})}},breakThematic:{i:$n(m),l:Rn.HIGH,_:In,p:function(n,t,e){return W("hr",{key:e.m})}},codeBlock:{i:$n(y),l:Rn.MAX,_:function(n){return{content:n[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},p:function(n,t,e){return W("pre",{key:e.m},W("code",{className:n.lang?"lang-"+n.lang:""},n.content))}},codeFenced:{i:$n(g),l:Rn.MAX,_:function(n){return{content:n[3],lang:n[2]||void 0,type:"codeBlock"}}},codeInline:{i:Sn(h),l:Rn.LOW,_:function(n){return{content:n[2]}},p:function(n,t,e){return W("code",{key:e.m},n.content)}},footnote:{i:$n(b),l:Rn.MAX,_:function(n){return X.push({footnote:n[2],identifier:n[1]}),{}},p:Mn},footnoteReference:{i:xn(x),l:Rn.HIGH,_:function(n){return{content:n[1],target:"#"+t.slugify(n[1])}},p:function(n,t,e){return W("a",{key:e.m,href:zn(n.target)},W("sup",{key:e.m},n.content))}},gfmTask:{i:xn($),l:Rn.HIGH,_:function(n){return{completed:"x"===n[1].toLowerCase()}},p:function(n,t,e){return W("input",{checked:n.completed,key:e.m,readOnly:!0,type:"checkbox"})}},heading:{i:$n(w),l:Rn.HIGH,_:function(n,e,r){return{content:An(e,n[2],r),id:t.slugify(n[2]),level:n[1].length}},p:function(n,t,e){return n.tag="h"+n.level,W(n.tag,{id:n.id,key:e.m},t(n.content,e))}},headingSetext:{i:$n(z),l:Rn.MAX,_:function(n,t,e){return{content:An(t,n[1],e),level:"="===n[2]?1:2,type:"heading"}}},htmlComment:{i:wn(j),l:Rn.HIGH,_:function(){return{}},p:Mn},image:{i:Sn(mn),l:Rn.HIGH,_:function(n){return{alt:n[1],target:En(n[2]),title:n[3]}},p:function(n,t,e){return W("img",{key:e.m,alt:n.alt||void 0,title:n.title||void 0,src:zn(n.target)})}},link:{i:xn(pn),l:Rn.LOW,_:function(n,t,e){return{content:jn(t,n[1],e),target:En(n[2]),title:n[3]}},p:function(n,t,e){return W("a",{key:e.m,href:zn(n.target),title:n.title},t(n.content,e))}},linkAngleBraceStyleDetector:{i:xn(B),l:Rn.MAX,_:function(n){return{content:[{content:n[1],type:"text"}],target:n[1],type:"link"}}},linkBareUrlDetector:{i:function(n,t){return t.g?null:xn(I)(n,t)},l:Rn.MAX,_:function(n){return{content:[{content:n[1],type:"text"}],target:n[1],title:void 0,type:"link"}}},linkMailtoDetector:{i:xn(M),l:Rn.MAX,_:function(n){var t=n[1],e=n[1];return l.test(e)||(e="mailto:"+e),{content:[{content:t.replace("mailto:",""),type:"text"}],target:e,type:"link"}}},list:{i:function(n,t,e){var r=C.exec(e);return!r||!t.h&&t.o?null:sn.exec(n=r[1]+n)},l:Rn.HIGH,_:function(n,t,e){var r=n[2],o=r.length>1,a=o?+r:void 0,c=n[0].replace(s,"\n").match(ln),u=!1;return{items:c.map(function(n,r){var o=fn.exec(n)[0].length,a=new RegExp("^ {1,"+o+"}","gm"),i=n.replace(a,"").replace(fn,""),f=r===c.length-1,l=-1!==i.indexOf("\n\n")||f&&u;u=l;var s,d=e.o,_=e.h;e.h=!0,l?(e.o=!1,s=i.replace(L,"\n\n")):(e.o=!0,s=i.replace(L,""));var p=t(s,e);return e.o=d,e.h=_,p}),ordered:o,start:a}},p:function(n,t,e){return W(n.ordered?"ol":"ul",{key:e.m,start:n.start},n.items.map(function(n,r){return W("li",{key:r},t(n,e))}))}},newlineCoalescer:{i:$n(v),l:Rn.LOW,_:In,p:function(){return"\n"}},paragraph:{i:$n(Z),l:Rn.LOW,_:Tn,p:function(n,t,e){return W("p",{key:e.m},t(n.content,e))}},ref:{i:xn(F),l:Rn.MAX,_:function(n){return J[n[1]]={target:n[2],title:n[4]},{}},p:Mn},refImage:{i:Sn(P),l:Rn.MAX,_:function(n){return{alt:n[1]||void 0,ref:n[2]}},p:function(n,t,e){return W("img",{key:e.m,alt:n.alt,src:zn(J[n.ref].target),title:J[n.ref].title})}},refLink:{i:xn(q),l:Rn.MAX,_:function(n,t,e){return{content:t(n[1],e),fallbackContent:t(n[0].replace(G,"\\$1"),e),ref:n[2]}},p:function(n,t,e){return J[n.ref]?W("a",{key:e.m,href:zn(J[n.ref].target),title:J[n.ref].title},t(n.content,e)):W("span",{key:e.m},t(n.fallbackContent,e))}},table:{i:$n(N),l:Rn.HIGH,_:kn,p:function(n,t,e){return W("table",{key:e.m},W("thead",null,W("tr",null,n.header.map(function(r,o){return W("th",{key:o,style:bn(n,o)},t(r,e))}))),W("tbody",null,n.cells.map(function(r,o){return W("tr",{key:o},r.map(function(r,o){return W("td",{key:o,style:bn(n,o)},t(r,e))}))})))}},tableSeparator:{i:function(n,t){return t.t?V.exec(n):null},l:Rn.HIGH,_:function(){return{type:"tableSeparator"}},p:function(){return" | "}},text:{i:wn(rn),l:Rn.MIN,_:function(n){return{content:n[0].replace(A,function(n,e){return t.namedCodesToUnicode[e]?t.namedCodesToUnicode[e]:n})}},p:function(n){return n.content}},textBolded:{i:Sn(Y),l:Rn.MED,_:function(n,t,e){return{content:t(n[2],e)}},p:function(n,t,e){return W("strong",{key:e.m},t(n.content,e))}},textEmphasized:{i:Sn(nn),l:Rn.LOW,_:function(n,t,e){return{content:t(n[2],e)}},p:function(n,t,e){return W("em",{key:e.m},t(n.content,e))}},textEscaped:{i:Sn(en),l:Rn.HIGH,_:function(n){return{content:n[1],type:"text"}}},textStrikethroughed:{i:Sn(tn),l:Rn.LOW,_:Tn,p:function(n,t,e){return W("del",{key:e.m},t(n.content,e))}}};!0!==t.disableParsingRawHTML&&(cn.htmlBlock={i:wn(E),l:Rn.HIGH,_:function(n,t,e){var r,o=n[3].match(an),a=new RegExp("^"+o[1],"gm"),c=n[3].replace(a,""),u=(r=c,gn.some(function(n){return n.test(r)})?On:An),f=n[1].toLowerCase(),l=-1!==i.indexOf(f);e.g=e.g||"a"===f;var s=l?n[3]:u(t,c,e);return e.g=!1,{attrs:Q(n[2]),content:s,noInnerParse:l,tag:l?f:n[1]}},p:function(n,t,e){return W(n.tag,r({key:e.m},n.attrs),n.noInnerParse?n.content:t(n.content,e))}},cn.htmlSelfClosing={i:wn(R),l:Rn.HIGH,_:function(n){return{attrs:Q(n[2]||""),tag:n[1]}},p:function(n,t,e){return W(n.tag,r({},n.attrs,{key:e.m}))}});var un,dn=function(n){var t=Object.keys(n);function e(r,o){for(var a=[],c="";r;)for(var u=0;u<t.length;){var i=t[u],f=n[i],l=f.i(r,o,c);if(l){var s=l[0];r=r.substring(s.length);var d=f._(l,e,o);null==d.type&&(d.type=i),a.push(d),c=s;break}u++}return a}return t.sort(function(t,e){var r=n[t].l,o=n[e].l;return r!==o?r-o:t<e?-1:1}),function(n,t){return e(function(n){return n.replace(k,"\n").replace(S,"").replace(U," ")}(n),t)}}(cn),_n=(un=function(n){return function(t,e,r){return n[t.type].p(t,e,r)}}(cn),function n(t,e){if(void 0===e&&(e={}),Array.isArray(t)){for(var r=e.m,o=[],a=!1,c=0;c<t.length;c++){e.m=c;var u=n(t[c],e),i="string"==typeof u;i&&a?o[o.length-1]+=u:o.push(u),a=i}return e.m=r,o}return un(t,n,e)}),hn=K(n);return X.length&&hn.props.children.push(W("footer",{key:"footer"},X.map(function(n){return W("div",{id:t.slugify(n.identifier),key:n.identifier},n.identifier,_n(dn(n.footnote,{o:!0})))}))),hn}!function(n){n[n.MAX=0]="MAX",n[n.HIGH=1]="HIGH",n[n.MED=2]="MED",n[n.LOW=3]="LOW",n[n.MIN=4]="MIN"}(Rn||(Rn={}));var Nn=function(n){var t=n.children,r=n.options,o=function(n,t){if(null==n)return{};var e,r,o={},a=Object.keys(n);for(r=0;r<a.length;r++)t.indexOf(e=a[r])>=0||(o[e]=n[e]);return o}(n,a);return e.default.cloneElement(Dn(t,r),o)};return Object.assign(Nn,{compiler:Dn}),Nn});
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):(n||self).MarkdownToJSX=t(n.React)}(this,function(n){function t(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r=t(n);function e(){return(e=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e])}return n}).apply(this,arguments)}var o=/[\'\"]/,u=["children","options"],a=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","className","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce(function(n,t){return n[t.toLowerCase()]=t,n},{for:"htmlFor"}),c={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},i=["style","script"],f=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,l=/mailto:/i,s=/\n{2,}$/,_=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,d=/^ *> ?/gm,p=/^ {2,}\n/,g=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,m=/^\s*(`{3,}|~{3,}) *(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?`|~+.*?~+|.)*?)\1\1(?!\1)/,Y=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,nn=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,tn=/^\\([^0-9A-Za-z\s])/,rn=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,en=/^\n+/,on=/^([ \t]*)/,un=/\\([^0-9A-Z\s])/gi,an="( *)((?:[*+-]|\\d+\\.)) +",cn=new RegExp("^"+an),fn=new RegExp("^"+an+"[^\\n]*(?:\\n(?!\\1(?:[*+-]|\\d+\\.) )[^\\n]*)*(\\n|$)","gm"),ln=new RegExp("^( *)((?:[*+-]|\\d+\\.)) [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1(?:[*+-]|\\d+\\.) (?!(?:[*+-]|\\d+\\.) ))\\n*|\\s*\\n*$)"),sn="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",_n="\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*",dn=new RegExp("^\\[("+sn+")\\]\\("+_n+"\\)"),pn=new RegExp("^!\\[("+sn+")\\]\\("+_n+"\\)"),gn=[_,y,m,w,z,j,fn,ln,N],mn=[].concat(gn,[/^[^\n]+(?: \n|\n{2,})/,E,R]);function yn(n){return n.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function vn(n){return J.test(n)?"right":Q.test(n)?"center":X.test(n)?"left":null}function hn(n,t,r){var e=r.t;r.t=!0;var o=t(n.trim(),r);r.t=e;var u=[[]];return o.forEach(function(n,t){"tableSeparator"===n.type?0!==t&&t!==o.length-1&&u.push([]):("text"!==n.type||null!=o[t+1]&&"tableSeparator"!==o[t+1].type||(n.content=n.content.replace(W,"")),u[u.length-1].push(n))}),u}function kn(n,t,r){r.o=!0;var e=hn(n[1],t,r),o=n[2].replace(V,"").split("|").map(vn),u=function(n,t,r){return n.trim().split("\n").map(function(n){return hn(n,t,r)})}(n[3],t,r);return r.o=!1,{align:o,cells:u,header:e,type:"table"}}function bn(n,t){return null==n.align[t]?{}:{textAlign:n.align[t]}}function xn(n){return function(t,r){return r.o?n.exec(t):null}}function Sn(n){return function(t,r){return r.o||r.u?n.exec(t):null}}function $n(n){return function(t,r){return r.o||r.u?null:n.exec(t)}}function wn(n){return function(t){return n.exec(t)}}function zn(n,t,r){if(t.o||t.u)return null;if(r&&!r.endsWith("\n"))return null;var e="";n.split("\n").every(function(n){return!gn.some(function(t){return t.test(n)})&&(e+=n+"\n",n.trim())});var o=e.trimEnd();return""==o?null:[e,o]}function En(n){try{if(decodeURIComponent(n).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data):/i))return null}catch(n){return null}return n}function An(n){return n.replace(un,"$1")}function jn(n,t,r){var e=r.o||!1,o=r.u||!1;r.o=!0,r.u=!0;var u=n(t,r);return r.o=e,r.u=o,u}function On(n,t,r){var e=r.o||!1,o=r.u||!1;r.o=!1,r.u=!0;var u=n(t,r);return r.o=e,r.u=o,u}function Rn(n,t,r){return r.o=!1,n(t+"\n\n",r)}var Tn,In=function(n,t,r){return{content:jn(t,n[1],r)}};function Mn(){return{}}function Bn(){return null}function Ln(){return[].slice.call(arguments).filter(Boolean).join(" ")}function Cn(n,t,r){for(var e=n,o=t.split(".");o.length&&void 0!==(e=e[o[0]]);)o.shift();return e||r}function Dn(n,t){var r=Cn(t,n);return r?"function"==typeof r||"object"==typeof r&&"render"in r?r:Cn(t,n+".component",n):n}function Nn(n,t){void 0===t&&(t={}),t.overrides=t.overrides||{},t.slugify=t.slugify||yn,t.namedCodesToUnicode=t.namedCodesToUnicode?e({},c,t.namedCodesToUnicode):c;var u=t.createElement||r.default.createElement;function V(n,r){var o=Cn(t.overrides,n+".props",{});return u.apply(void 0,[Dn(n,t.overrides),e({},r,o,{className:Ln(null==r?void 0:r.className,o.className)||void 0})].concat([].slice.call(arguments,2)))}function W(n){var e=!1;t.forceInline?e=!0:t.forceBlock||(e=!1===G.test(n));for(var o=_n(sn(e?n:n.trimEnd().replace(en,"")+"\n\n",{o:e}));"string"==typeof o[o.length-1]&&!o[o.length-1].trim();)o.pop();if(null===t.wrapper)return o;var u,a=t.wrapper||(e?"span":"div");if(o.length>1||t.forceWrapper)u=o;else{if(1===o.length)return"string"==typeof(u=o[0])?V("span",{key:"outer"},u):u;u=null}return r.default.createElement(a,{key:"outer"},u)}function Q(n){var t=n.match(f);return t?t.reduce(function(n,t,e){var u=t.indexOf("=");if(-1!==u){var c=function(n){return-1!==n.indexOf("-")&&null===n.match(O)&&(n=n.replace(D,function(n,t){return t.toUpperCase()})),n}(t.slice(0,u)).trim(),i=function(n){return n?(o.test(n.charAt(0))&&(n=n.substr(1)),o.test(n.charAt(n.length-1))&&(n=n.substr(0,n.length-1)),n):""}(t.slice(u+1).trim()),f=a[c]||c,l=n[f]=function(n,t){return"style"===n?t.split(/;\s?/).reduce(function(n,t){var r=t.slice(0,t.indexOf(":"));return n[r.replace(/(-[a-z])/g,function(n){return n[1].toUpperCase()})]=t.slice(r.length+1).trim(),n},{}):"href"===n?En(t):(t.match(T)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}(c,i);"string"==typeof l&&(E.test(l)||R.test(l))&&(n[f]=r.default.cloneElement(W(l.trim()),{key:e}))}else"style"!==t&&(n[a[t]||t]=!0);return n},{}):void 0}var X=[],J={},un={blockQuote:{i:$n(_),l:Tn.HIGH,_:function(n,t,r){return{content:t(n[0].replace(d,""),r)}},p:function(n,t,r){return V("blockquote",{key:r.g},t(n.content,r))}},breakLine:{i:wn(p),l:Tn.HIGH,_:Mn,p:function(n,t,r){return V("br",{key:r.g})}},breakThematic:{i:$n(g),l:Tn.HIGH,_:Mn,p:function(n,t,r){return V("hr",{key:r.g})}},codeBlock:{i:$n(y),l:Tn.MAX,_:function(n){return{content:n[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},p:function(n,t,r){return V("pre",{key:r.g},V("code",{className:n.lang?"lang-"+n.lang:""},n.content))}},codeFenced:{i:$n(m),l:Tn.MAX,_:function(n){return{content:n[3],lang:n[2]||void 0,type:"codeBlock"}}},codeInline:{i:Sn(v),l:Tn.LOW,_:function(n){return{content:n[2]}},p:function(n,t,r){return V("code",{key:r.g},n.content)}},footnote:{i:$n(b),l:Tn.MAX,_:function(n){return X.push({footnote:n[2],identifier:n[1]}),{}},p:Bn},footnoteReference:{i:xn(x),l:Tn.HIGH,_:function(n){return{content:n[1],target:"#"+t.slugify(n[1])}},p:function(n,t,r){return V("a",{key:r.g,href:En(n.target)},V("sup",{key:r.g},n.content))}},gfmTask:{i:xn($),l:Tn.HIGH,_:function(n){return{completed:"x"===n[1].toLowerCase()}},p:function(n,t,r){return V("input",{checked:n.completed,key:r.g,readOnly:!0,type:"checkbox"})}},heading:{i:$n(w),l:Tn.HIGH,_:function(n,r,e){return{content:jn(r,n[2],e),id:t.slugify(n[2]),level:n[1].length}},p:function(n,t,r){return n.tag="h"+n.level,V(n.tag,{id:n.id,key:r.g},t(n.content,r))}},headingSetext:{i:$n(z),l:Tn.MAX,_:function(n,t,r){return{content:jn(t,n[1],r),level:"="===n[2]?1:2,type:"heading"}}},htmlComment:{i:wn(j),l:Tn.HIGH,_:function(){return{}},p:Bn},image:{i:Sn(pn),l:Tn.HIGH,_:function(n){return{alt:n[1],target:An(n[2]),title:n[3]}},p:function(n,t,r){return V("img",{key:r.g,alt:n.alt||void 0,title:n.title||void 0,src:En(n.target)})}},link:{i:xn(dn),l:Tn.LOW,_:function(n,t,r){return{content:On(t,n[1],r),target:An(n[2]),title:n[3]}},p:function(n,t,r){return V("a",{key:r.g,href:En(n.target),title:n.title},t(n.content,r))}},linkAngleBraceStyleDetector:{i:xn(B),l:Tn.MAX,_:function(n){return{content:[{content:n[1],type:"text"}],target:n[1],type:"link"}}},linkBareUrlDetector:{i:function(n,t){return t.m?null:xn(I)(n,t)},l:Tn.MAX,_:function(n){return{content:[{content:n[1],type:"text"}],target:n[1],title:void 0,type:"link"}}},linkMailtoDetector:{i:xn(M),l:Tn.MAX,_:function(n){var t=n[1],r=n[1];return l.test(r)||(r="mailto:"+r),{content:[{content:t.replace("mailto:",""),type:"text"}],target:r,type:"link"}}},list:{i:function(n,t,r){var e=C.exec(r);return!e||!t.v&&t.o?null:ln.exec(n=e[1]+n)},l:Tn.HIGH,_:function(n,t,r){var e=n[2],o=e.length>1,u=o?+e:void 0,a=n[0].replace(s,"\n").match(fn),c=!1;return{items:a.map(function(n,e){var o=cn.exec(n)[0].length,u=new RegExp("^ {1,"+o+"}","gm"),i=n.replace(u,"").replace(cn,""),f=e===a.length-1,l=-1!==i.indexOf("\n\n")||f&&c;c=l;var s,_=r.o,d=r.v;r.v=!0,l?(r.o=!1,s=i.replace(L,"\n\n")):(r.o=!0,s=i.replace(L,""));var p=t(s,r);return r.o=_,r.v=d,p}),ordered:o,start:u}},p:function(n,t,r){return V(n.ordered?"ol":"ul",{key:r.g,start:n.start},n.items.map(function(n,e){return V("li",{key:e},t(n,r))}))}},newlineCoalescer:{i:$n(h),l:Tn.LOW,_:Mn,p:function(){return"\n"}},paragraph:{i:zn,l:Tn.LOW,_:In,p:function(n,t,r){return V("p",{key:r.g},t(n.content,r))}},ref:{i:xn(Z),l:Tn.MAX,_:function(n){return J[n[1]]={target:n[2],title:n[4]},{}},p:Bn},refImage:{i:Sn(F),l:Tn.MAX,_:function(n){return{alt:n[1]||void 0,ref:n[2]}},p:function(n,t,r){return V("img",{key:r.g,alt:n.alt,src:En(J[n.ref].target),title:J[n.ref].title})}},refLink:{i:xn(P),l:Tn.MAX,_:function(n,t,r){return{content:t(n[1],r),fallbackContent:t(n[0].replace(q,"\\$1"),r),ref:n[2]}},p:function(n,t,r){return J[n.ref]?V("a",{key:r.g,href:En(J[n.ref].target),title:J[n.ref].title},t(n.content,r)):V("span",{key:r.g},t(n.fallbackContent,r))}},table:{i:$n(N),l:Tn.HIGH,_:kn,p:function(n,t,r){return V("table",{key:r.g},V("thead",null,V("tr",null,n.header.map(function(e,o){return V("th",{key:o,style:bn(n,o)},t(e,r))}))),V("tbody",null,n.cells.map(function(e,o){return V("tr",{key:o},e.map(function(e,o){return V("td",{key:o,style:bn(n,o)},t(e,r))}))})))}},tableSeparator:{i:function(n,t){return t.t?U.exec(n):null},l:Tn.HIGH,_:function(){return{type:"tableSeparator"}},p:function(){return" | "}},text:{i:wn(rn),l:Tn.MIN,_:function(n){return{content:n[0].replace(A,function(n,r){return t.namedCodesToUnicode[r]?t.namedCodesToUnicode[r]:n})}},p:function(n){return n.content}},textBolded:{i:Sn(K),l:Tn.MED,_:function(n,t,r){return{content:t(n[2],r)}},p:function(n,t,r){return V("strong",{key:r.g},t(n.content,r))}},textEmphasized:{i:Sn(Y),l:Tn.LOW,_:function(n,t,r){return{content:t(n[2],r)}},p:function(n,t,r){return V("em",{key:r.g},t(n.content,r))}},textEscaped:{i:Sn(tn),l:Tn.HIGH,_:function(n){return{content:n[1],type:"text"}}},textStrikethroughed:{i:Sn(nn),l:Tn.LOW,_:In,p:function(n,t,r){return V("del",{key:r.g},t(n.content,r))}}};!0!==t.disableParsingRawHTML&&(un.htmlBlock={i:wn(E),l:Tn.HIGH,_:function(n,t,r){var e,o=n[3].match(on),u=new RegExp("^"+o[1],"gm"),a=n[3].replace(u,""),c=(e=a,mn.some(function(n){return n.test(e)})?Rn:jn),f=n[1].toLowerCase(),l=-1!==i.indexOf(f);r.m=r.m||"a"===f;var s=l?n[3]:c(t,a,r);return r.m=!1,{attrs:Q(n[2]),content:s,noInnerParse:l,tag:l?f:n[1]}},p:function(n,t,r){return V(n.tag,e({key:r.g},n.attrs),n.noInnerParse?n.content:t(n.content,r))}},un.htmlSelfClosing={i:wn(R),l:Tn.HIGH,_:function(n){return{attrs:Q(n[2]||""),tag:n[1]}},p:function(n,t,r){return V(n.tag,e({},n.attrs,{key:r.g}))}});var an,sn=function(n){var t=Object.keys(n);function r(e,o){for(var u=[],a="";e;)for(var c=0;c<t.length;){var i=t[c],f=n[i],l=f.i(e,o,a);if(l){var s=l[0];e=e.substring(s.length);var _=f._(l,r,o);null==_.type&&(_.type=i),u.push(_),a=s;break}c++}return u}return t.sort(function(t,r){var e=n[t].l,o=n[r].l;return e!==o?e-o:t<r?-1:1}),function(n,t){return r(function(n){return n.replace(k,"\n").replace(S,"").replace(H," ")}(n),t)}}(un),_n=(an=function(n){return function(t,r,e){return n[t.type].p(t,r,e)}}(un),function n(t,r){if(void 0===r&&(r={}),Array.isArray(t)){for(var e=r.g,o=[],u=!1,a=0;a<t.length;a++){r.g=a;var c=n(t[a],r),i="string"==typeof c;i&&u?o[o.length-1]+=c:null!==c&&o.push(c),u=i}return r.g=e,o}return an(t,n,r)}),gn=W(n);return X.length?V("div",null,gn,V("footer",{key:"footer"},X.map(function(n){return V("div",{id:t.slugify(n.identifier),key:n.identifier},n.identifier,_n(sn(n.footnote,{o:!0})))}))):gn}!function(n){n[n.MAX=0]="MAX",n[n.HIGH=1]="HIGH",n[n.MED=2]="MED",n[n.LOW=3]="LOW",n[n.MIN=4]="MIN"}(Tn||(Tn={}));var Zn=function(n){var t=n.children,e=n.options,o=function(n,t){if(null==n)return{};var r,e,o={},u=Object.keys(n);for(e=0;e<u.length;e++)t.indexOf(r=u[e])>=0||(o[r]=n[r]);return o}(n,u);return r.default.cloneElement(Nn(t,e),o)};return Object.assign(Zn,{compiler:Nn}),Zn});
//# sourceMappingURL=index.umd.js.map

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "7.1.5",
"version": "7.1.6",
"engines": {

@@ -9,0 +9,0 @@ "node": ">= 10"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc