@curatedotfun/telegram
Version:
Telegram plugin for curatedotfun
1 lines • 143 kB
JavaScript
exports.ids=["221"],exports.modules={7683:function(e){"use strict";e.exports=function(e){if(e)throw e}},8102:function(e){"use strict";e.exports=e=>{if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},9385:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},u=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,s,l,f=arguments[0],p=1,h=arguments.length,d=!1;for("boolean"==typeof f&&(d=f,f=arguments[1]||{},p=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});p<h;++p)if(t=arguments[p],null!=t)for(n in t)r=c(f,n),f!==(i=c(t,n))&&(d&&i&&(u(i)||(s=o(i)))?(s?(s=!1,l=r&&o(r)?r:[]):l=r&&u(r)?r:{},a(f,{name:n,newValue:e(d,l,i)})):void 0!==i&&a(f,{name:n,newValue:i}));return f}},8623:function(e){"use strict";e.exports=/<!--([\s\S]*?)-->/g},3335:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},1856:function(e){"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},6316:function(e){"use strict";e.exports=function(e,t){var n,r,i=0,o=0;if("string"!=typeof t||1!==t.length)throw Error("Expected character");for(n=r=(e=String(e)).indexOf(t);-1!==r;)i++,r===n?i>o&&(o=i):i=1,n=r+1,r=e.indexOf(t,n);return o}},7591:function(e,t,n){"use strict";var r=n(4076);e.exports=function(e,t){for(var n,a,c,s,l,f,p,h,d,g,m,x,v=t||{},k=!1!==v.padding,b=!1!==v.delimiterStart,y=!1!==v.delimiterEnd,w=(v.align||[]).concat(),E=!1!==v.alignDelimiters,S=[],q=v.stringLength||o,C=-1,A=e.length,F=[],D=[],T=[],L=[],I=[],z=0;++C<A;){for(a=e[C],c=-1,s=a.length,T=[],L=[],s>z&&(z=s);++c<s;){p=null==(n=a[c])?"":String(n),!0===E&&(f=q(p),L[c]=f,(void 0===(l=I[c])||f>l)&&(I[c]=f)),T.push(p)}F[C]=T,D[C]=L}if(c=-1,s=z,"object"==typeof w&&"length"in w)for(;++c<s;)S[c]=u(w[c]);else for(x=u(w);++c<s;)S[c]=x;for(c=-1,s=z,T=[],L=[];++c<s;)x=S[c],g="",m="",108===x?g=":":114===x?m=":":99===x&&(g=":",m=":"),f=E?Math.max(1,I[c]-g.length-m.length):1,p=g+r("-",f)+m,!0===E&&((f=g.length+f+m.length)>I[c]&&(I[c]=f),L[c]=f),T[c]=p;for(F.splice(1,0,T),D.splice(1,0,L),C=-1,A=F.length,h=[];++C<A;){for(T=F[C],L=D[C],c=-1,s=z,d=[];++c<s;)p=T[c]||"",g="",m="",!0===E&&(f=I[c]-(L[c]||0),114===(x=S[c])?g=r(" ",f):99===x?f%2==0?m=g=r(" ",f/2):(g=r(" ",f/2+.5),m=r(" ",f/2-.5)):m=r(" ",f)),!0===b&&0===c&&d.push("|"),!0===k&&(!1!==E||""!==p)&&(!0===b||0!==c)&&d.push(" "),!0===E&&d.push(g),d.push(p),!0===E&&d.push(m),!0===k&&d.push(" "),(!0===y||c!==s-1)&&d.push("|");d=d.join(""),!1===y&&(d=d.replace(i,"")),h.push(d)}return h.join("\n")};var i=/ +$/;function o(e){return e.length}function u(e){var t="string"==typeof e?e.charCodeAt(0):0;return 76===t||108===t?108:82===t||114===t?114:99*(67===t||99===t)}},7650:function(e,t,n){"use strict";e.exports=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),(function(e){var t=function(e,t){for(var n=-1;++n<t.length;)!function(e,t){var n,r;for(n in t)r=o.call(e,n)?e[n]:e[n]={},"canContainEols"===n||"transforms"===n?e[n]=[].concat(r,t[n]):Object.assign(r,t[n])}(e,t[n]);return e}({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:h(A),autolinkProtocol:k,autolinkEmail:k,atxHeading:h(S),blockQuote:h(function(){return{type:"blockquote",children:[]}}),characterEscape:k,characterReference:k,codeFenced:h(E),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:h(E,d),codeText:h(function(){return{type:"inlineCode",value:""}},d),codeTextData:k,data:k,codeFlowValue:k,definition:h(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:h(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:h(q),hardBreakTrailing:h(q),htmlFlow:h(C,d),htmlFlowData:k,htmlText:h(C,d),htmlTextData:k,image:h(function(){return{type:"image",title:null,url:"",alt:null}}),label:d,link:h(A),listItem:h(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){n.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=parseInt(this.sliceSerialize(e),10),n.expectingFirstListItemValue=void 0)},listOrdered:h(F,function(){n.expectingFirstListItemValue=!0}),listUnordered:h(F),paragraph:h(function(){return{type:"paragraph",children:[]}}),reference:function(){n.referenceType="collapsed"},referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:h(S),strong:h(function(){return{type:"strong",children:[]}}),thematicBreak:h(function(){return{type:"thematicBreak"}})},exit:{atxHeading:m(),atxHeadingSequence:function(e){this.stack[this.stack.length-1].depth||(this.stack[this.stack.length-1].depth=this.sliceSerialize(e).length)},autolink:m(),autolinkEmail:function(e){b.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){b.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:m(),characterEscapeValue:b,characterReferenceMarkerHexadecimal:w,characterReferenceMarkerNumeric:w,characterReferenceValue:function(e){var t,r,i=this.sliceSerialize(e),o=n.characterReferenceType;o?(t=a(i,"characterReferenceMarkerNumeric"===o?10:16),n.characterReferenceType=void 0):t=f(i),r=this.stack.pop(),r.value+=t,r.position.end=l(e.end)},codeFenced:m(function(){var e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n.flowCodeInside=void 0}),codeFencedFence:function(){!n.flowCodeInside&&(this.buffer(),n.flowCodeInside=!0)},codeFencedFenceInfo:function(){var e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){var e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:b,codeIndented:m(function(){var e=this.resume();this.stack[this.stack.length-1].value=e}),codeText:m(function(){var e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:b,data:b,definition:m(),definitionDestinationString:function(){var e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=u(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){var e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:m(),hardBreakEscape:m(y),hardBreakTrailing:m(y),htmlFlow:m(function(){var e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:b,htmlText:m(function(){var e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:b,image:m(function(){var e=this.stack[this.stack.length-1];n.inReference?(e.type+="Reference",e.referenceType=n.referenceType||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),n.referenceType=void 0}),label:function(){var e=this.stack[this.stack.length-1],t=this.resume();this.stack[this.stack.length-1].label=t,n.inReference=!0,"link"===this.stack[this.stack.length-1].type?this.stack[this.stack.length-1].children=e.children:this.stack[this.stack.length-1].alt=t},labelText:function(e){this.stack[this.stack.length-2].identifier=u(this.sliceSerialize(e)).toLowerCase()},lineEnding:function(e){var r=this.stack[this.stack.length-1];if(n.atHardBreak){r.children[r.children.length-1].position.end=l(e.end),n.atHardBreak=void 0;return}!n.setextHeadingSlurpLineEnding&&t.canContainEols.indexOf(r.type)>-1&&(k.call(this,e),b.call(this,e))},link:m(function(){var e=this.stack[this.stack.length-1];n.inReference?(e.type+="Reference",e.referenceType=n.referenceType||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),n.referenceType=void 0}),listItem:m(),listOrdered:m(),listUnordered:m(),paragraph:m(),referenceString:function(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=u(this.sliceSerialize(e)).toLowerCase(),n.referenceType="full"},resourceDestinationString:function(){var e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){var e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){n.inReference=void 0},setextHeading:m(function(){n.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){n.setextHeadingSlurpLineEnding=!0},strong:m(),thematicBreak:m()}},(e||{}).mdastExtensions||[]),n={};return function(e){for(var n,r,u={type:"root",children:[]},a=[],f=[],h=-1,m={stack:[u],tokenStack:a,config:t,enter:g,exit:x,buffer:d,resume:v,setData:c,getData:s};++h<e.length;)("listOrdered"===e[h][1].type||"listUnordered"===e[h][1].type)&&("enter"===e[h][0]?f.push(h):h=function(e,t,n){for(var r,i,o,u,a,c,s,f=t-1,p=-1,h=!1;++f<=n;)if("listUnordered"===(a=e[f])[1].type||"listOrdered"===a[1].type||"blockQuote"===a[1].type?("enter"===a[0]?p++:p--,s=void 0):"lineEndingBlank"===a[1].type?"enter"===a[0]&&(!r||s||p||c||(c=f),s=void 0):"linePrefix"===a[1].type||"listItemValue"===a[1].type||"listItemMarker"===a[1].type||"listItemPrefix"===a[1].type||"listItemPrefixWhitespace"===a[1].type||(s=void 0),!p&&"enter"===a[0]&&"listItemPrefix"===a[1].type||-1===p&&"exit"===a[0]&&("listUnordered"===a[1].type||"listOrdered"===a[1].type)){if(r){for(i=f,o=void 0;i--;)if("lineEnding"===(u=e[i])[1].type||"lineEndingBlank"===u[1].type){if("exit"===u[0])continue;o&&(e[o][1].type="lineEndingBlank",h=!0),u[1].type="lineEnding",o=i}else if("linePrefix"===u[1].type||"blockQuotePrefix"===u[1].type||"blockQuotePrefixWhitespace"===u[1].type||"blockQuoteMarker"===u[1].type||"listItemIndent"===u[1].type);else break;c&&(!o||c<o)&&(r._spread=!0),r.end=l(o?e[o][1].start:a[1].end),e.splice(o||f,0,["exit",r,a[2]]),f++,n++}"listItemPrefix"===a[1].type&&(r={type:"listItem",_spread:!1,start:l(a[1].start)},e.splice(f,0,["enter",r,a[2]]),f++,n++,c=void 0,s=!0)}return e[t][1]._spread=h,n}(e,r=f.pop(h),h));for(h=-1;++h<e.length;)n=t[e[h][0]],o.call(n,e[h][1].type)&&n[e[h][1].type].call(i({sliceSerialize:e[h][2].sliceSerialize},m),e[h][1]);if(a.length)throw Error("Cannot close document, a token (`"+a[a.length-1].type+"`, "+p({start:a[a.length-1].start,end:a[a.length-1].end})+") is still open");for(u.position={start:l(e.length?e[0][1].start:{line:1,column:1,offset:0}),end:l(e.length?e[e.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h<t.transforms.length;)u=t.transforms[h](u)||u;return u};function c(e,t){n[e]=t}function s(e){return n[e]}function l(e){return{line:e.line,column:e.column,offset:e.offset}}function h(e,t){return function(n){g.call(this,e(n),n),t&&t.call(this,n)}}function d(){this.stack.push({type:"fragment",children:[]})}function g(e,t){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push(t),e.position={start:l(t.start)},e}function m(e){return function(t){e&&e.call(this,t),x.call(this,t)}}function x(e){var t=this.stack.pop(),n=this.tokenStack.pop();if(n){if(n.type!==e.type)throw Error("Cannot close `"+e.type+"` ("+p({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+p({start:n.start,end:n.end})+") is open")}else throw Error("Cannot close `"+e.type+"` ("+p({start:e.start,end:e.end})+"): it’s not open");return t.position.end=l(e.end),t}function v(){return r(this.stack.pop())}function k(e){var t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:l(e.start)},this.stack[this.stack.length-1].children.push(n)),this.stack.push(n)}function b(e){var t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=l(e.end)}function y(){n.atHardBreak=!0}function w(e){n.characterReferenceType=e.type}function E(){return{type:"code",lang:null,meta:null,value:""}}function S(){return{type:"heading",depth:void 0,children:[]}}function q(){return{type:"break"}}function C(){return{type:"html",value:""}}function A(){return{type:"link",title:null,url:"",children:[]}}function F(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(l(c(n).document().write(s()(e,t,!0))))};var r=n(1979),i=n(8492),o=n(2686),u=n(3797),a=n(4810),c=n(7572),s=n(3294),l=n(7708),f=n(7689),p=n(1442)},2792:function(e,t,n){"use strict";e.exports=n(7650)},1979:function(e){"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&n(e.children)||"length"in e&&n(e))||""}function n(e){for(var n=[],r=-1;++r<e.length;)n[r]=t(e[r]);return n.join("")}e.exports=t},1442:function(e){"use strict";var t={}.hasOwnProperty;function n(e){return e&&"object"==typeof e||(e={}),i(e.line)+":"+i(e.column)}function r(e){return e&&"object"==typeof e||(e={}),n(e.start)+"-"+n(e.end)}function i(e){return e&&"number"==typeof e?e:1}e.exports=function(e){return e&&"object"==typeof e?t.call(e,"position")||t.call(e,"type")?r(e.position):t.call(e,"start")||t.call(e,"end")?r(e):t.call(e,"line")||t.call(e,"column")?n(e):"":""}},1017:function(e,t,n){var r=n(4504),i=n(4620),o=n(7079),u=n(3081);function a(e){this.config.enter.autolinkProtocol.call(this,e)}function c(e,t,n,i,o){var u,a,c,s="";return!!l(o)&&(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!((u=n.split(".")).length<2||u[u.length-1]&&(/_/.test(u[u.length-1])||!/[a-zA-Z\d]/.test(u[u.length-1]))||u[u.length-2]&&(/_/.test(u[u.length-2])||!/[a-zA-Z\d]/.test(u[u.length-2])))&&!!(a=function(e){var t,n,i,o=/[!"&'),.:;<>?\]}]+$/.exec(e);if(o)for(e=e.slice(0,o.index),t=(o=o[0]).indexOf(")"),n=r(e,"("),i=r(e,")");-1!==t&&n>i;)e+=o.slice(0,t+1),t=(o=o.slice(t+1)).indexOf(")"),i++;return[e,o]}(n+i))[0]&&(c={type:"link",title:null,url:s+t+a[0],children:[{type:"text",value:t+a[0]}]},a[1]&&(c=[c,{type:"text",value:a[1]}]),c))}function s(e,t,n,r){return!(!l(r,!0)||/[_-]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function l(e,t){var n=e.input.charCodeAt(e.index-1);return(n!=n||u(n)||o(n))&&(!t||47!==n)}t.transforms=[function(e){i(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/i,c],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/,s]],{ignore:["link","linkReference"]})}],t.enter={literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:a,literalAutolinkHttp:a,literalAutolinkWww:a},t.exit={literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},4504:function(e){"use strict";e.exports=function(e,t){var n,r=String(e),i=0;if("string"!=typeof t)throw Error("Expected character");for(n=r.indexOf(t);-1!==n;)i++,n=r.indexOf(t,n+t.length);return i}},4620:function(e,t,n){"use strict";e.exports=function(e,t,n,r){var i,o;return"string"==typeof t||t&&"function"==typeof t.exec?o=[[t,n]]:(o=t,r=n),a(e,i=r||{},function e(t){var n=t[0];return function(r,o){var c,s,l,f,p=n[0],h=n[1],d=[],g=0,m=o.children.indexOf(r);for(p.lastIndex=0,s=p.exec(r.value);s&&(c=s.index,!1!==(f=h.apply(null,[].concat(s,{index:s.index,input:s.input})))&&(g!==c&&d.push({type:"text",value:r.value.slice(g,c)}),"string"==typeof f&&f.length>0&&(f={type:"text",value:f}),f&&(d=[].concat(d,f)),g=c+s[0].length),p.global);)s=p.exec(r.value);if(void 0===c?(d=[r],m--):(g<r.value.length&&d.push({type:"text",value:r.value.slice(g)}),d.unshift(m,1),u.apply(o.children,d)),t.length>1)for(l=e(t.slice(1)),c=-1;++c<d.length;)"text"===(r=d[c]).type?l(r,o):a(r,i,l);return m+d.length+1}}(function(e){var t,n,r=[];if("object"!=typeof e)throw Error("Expected array or object as schema");if("length"in e)for(n=-1;++n<e.length;)r.push([c(e[n][0]),s(e[n][1])]);else for(t in e)r.push([c(t),s(e[t])]);return r}(o))),e};var r=n(6578),i=n(2547),o=n(8102),u=[].splice;function a(e,t,n){var o=i(t.ignore||[]);return r(e,"text",function(e,t){for(var r,i,u=-1;++u<t.length;){if(o(r=t[u],i?i.children.indexOf(r):void 0,i))return;i=r}return n(e,i)}),[]}function c(e){return"string"==typeof e?RegExp(o(e),"g"):e}function s(e){return"function"==typeof e?e:function(){return e}}},7813:function(e,t){var n="phrasing",r=["autolink","link","image","label"];t.unsafe=[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:n,notInConstruct:r},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:n,notInConstruct:r},{character:":",before:"[ps]",after:"\\/",inConstruct:n,notInConstruct:r}]},8327:function(e,t){t.canContainEols=["delete"],t.enter={strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},t.exit={strikethrough:function(e){this.exit(e)}}},6764:function(e,t,n){var r=n(8615);function i(e,t,n){var i=n.enter("emphasis"),o=r(e,n,{before:"~",after:"~"});return i(),"~~"+o+"~~"}t.unsafe=[{character:"~",inConstruct:"phrasing"}],t.handlers={delete:i},i.peek=function(){return"~"}},8413:function(e,t){function n(e){this.exit(e)}function r(e){this.enter({type:"tableCell",children:[]},e)}function i(e,t){return"|"===t?t:e}t.enter={table:function(e){this.enter({type:"table",align:e._align,children:[]},e),this.setData("inTable",!0)},tableData:r,tableHeader:r,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},t.exit={codeText:function(e){var t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,i)),this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:n,tableHeader:n,tableRow:n}},7913:function(e,t,n){t.fromMarkdown=n(8413),t.toMarkdown=n(8144)},8144:function(e,t,n){var r=n(8615),i=n(7370),o=n(7591);e.exports=function(e){var t=e||{},n=t.tableCellPadding,u=t.tablePipeAlign,a=t.stringLength,c=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n){return l(function(e,t){for(var n=e.children,r=-1,i=n.length,o=[],u=t.enter("table");++r<i;)o[r]=f(n[r],t);return u(),o}(e,n),e.align)},tableRow:function(e,t,n){var r=l([f(e,n)]);return r.slice(0,r.indexOf("\n"))},tableCell:s,inlineCode:function(e,t,n){var r=i(e,t,n);return -1!==n.stack.indexOf("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r}}};function s(e,t,n){var i=n.enter("tableCell"),o=r(e,n,{before:c,after:c});return i(),o}function l(e,t){return o(e,{align:t,alignDelimiters:u,padding:n,stringLength:a})}function f(e,t){for(var n=e.children,r=-1,i=n.length,o=[],u=t.enter("tableRow");++r<i;)o[r]=s(n[r],e,t);return u(),o}}},2723:function(e,t){function n(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}t.exit={taskListCheckValueChecked:n,taskListCheckValueUnchecked:n,paragraph:function(e){var t,n=this.stack[this.stack.length-2],r=this.stack[this.stack.length-1],i=n.children,o=r.children[0],u=-1;if(n&&"listItem"===n.type&&"boolean"==typeof n.checked&&o&&"text"===o.type){for(;++u<i.length;)if("paragraph"===i[u].type){t=i[u];break}t===r&&(o.value=o.value.slice(1),0===o.value.length?r.children.shift():(o.position.start.column++,o.position.start.offset++,r.position.start=Object.assign({},o.position.start)))}this.exit(e)}}},7329:function(e,t,n){var r=n(8295);t.unsafe=[{atBreak:!0,character:"-",after:"[:|-]"}],t.handlers={listItem:function(e,t,n){var i=r(e,t,n),o=e.children[0];return"boolean"==typeof e.checked&&o&&"paragraph"===o.type&&(i=i.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(t){return t+"["+(e.checked?"x":" ")+"] "})),i}}},9242:function(e,t,n){var r=n(1017),i=n(8327),o=n(8413),u=n(2723),a={}.hasOwnProperty;e.exports=function(e){for(var t={transforms:[],canContainEols:[]},n=e.length,r=-1;++r<n;)!function(e,t){var n,r,i;for(n in t)r=a.call(e,n)?e[n]:e[n]={},i=t[n],"canContainEols"===n||"transforms"===n?e[n]=[].concat(r,i):Object.assign(r,i)}(t,e[r]);return t}([r,i,o,u])},3965:function(e,t,n){var r=n(7813),i=n(6764),o=n(8144),u=n(7329),a=n(3296);e.exports=function(e){var t=a({handlers:{},join:[],unsafe:[],options:{}},{extensions:[r,i,o(e),u]});return Object.assign(t.options,{handlers:t.handlers,join:t.join,unsafe:t.unsafe})}},594:function(e,t,n){e.exports=n(914)},3296:function(e){e.exports=function e(t,n){var r,i=-1;if(n.extensions)for(;++i<n.extensions.length;)e(t,n.extensions[i]);for(r in n)"extensions"===r||("unsafe"===r||"join"===r?t[r]=t[r].concat(n[r]||[]):"handlers"===r?t[r]=Object.assign(t[r],n[r]||{}):t.options[r]=n[r]);return t}},1015:function(e,t,n){e.exports=function(e,t,n){var u=n.enter("blockquote"),a=i(r(e,n),o);return u(),a};var r=n(9438),i=n(2117);function o(e,t,n){return">"+(n?"":" ")+e}},7193:function(e,t,n){e.exports=function(e,t,n,i){for(var o=-1;++o<n.unsafe.length;)if("\n"===n.unsafe[o].character&&r(n.stack,n.unsafe[o]))return/[ \t]/.test(i.before)?"":" ";return"\\\n"};var r=n(3270)},9353:function(e,t,n){e.exports=function(e,t,n){var l,f,p,h,d=u(n),g=e.value||"",m="`"===d?"GraveAccent":"Tilde";return o(e,n)?(p=n.enter("codeIndented"),l=a(g,s)):(f=r(d,Math.max(i(g,d)+1,3)),p=n.enter("codeFenced"),l=f,e.lang&&(h=n.enter("codeFencedLang"+m),l+=c(n,e.lang,{before:"`",after:" ",encode:["`"]}),h()),e.lang&&e.meta&&(h=n.enter("codeFencedMeta"+m),l+=" "+c(n,e.meta,{before:" ",after:"\n",encode:["`"]}),h()),l+="\n",g&&(l+=g+"\n"),l+=f),p(),l};var r=n(4076),i=n(6316),o=n(7159),u=n(9813),a=n(2117),c=n(6289);function s(e,t,n){return(n?"":" ")+e}},4456:function(e,t,n){e.exports=function(e,t,n){var u=i(n),a='"'===u?"Quote":"Apostrophe",c=n.enter("definition"),s=n.enter("label"),l="["+o(n,r(e),{before:"[",after:"]"})+"]: ";return s(),!e.url||/[ \t\r\n]/.test(e.url)?(s=n.enter("destinationLiteral"),l+="<"+o(n,e.url,{before:"<",after:">"})+">"):(s=n.enter("destinationRaw"),l+=o(n,e.url,{before:" ",after:" "})),s(),e.title&&(s=n.enter("title"+a),l+=" "+u+o(n,e.title,{before:u,after:u})+u,s()),c(),l};var r=n(7609),i=n(9587),o=n(6289)},5107:function(e,t,n){e.exports=o,o.peek=function(e,t,n){return n.options.emphasis||"*"};var r=n(822),i=n(8615);function o(e,t,n){var o=r(n),u=n.enter("emphasis"),a=i(e,n,{before:o,after:o});return u(),o+a+o}},5326:function(e,t,n){e.exports=function(e,t,n){var u,a,c,s,l=Math.max(Math.min(6,e.depth||1),1);return i(e,n)?(u=n.enter("headingSetext"),a=n.enter("phrasing"),c=o(e,n,{before:"\n",after:"\n"}),a(),u(),c+"\n"+r(1===l?"=":"-",c.length-(Math.max(c.lastIndexOf("\r"),c.lastIndexOf("\n"))+1))):(s=r("#",l),u=n.enter("headingAtx"),a=n.enter("phrasing"),c=(c=o(e,n,{before:"# ",after:"\n"}))?s+" "+c:s,n.options.closeAtx&&(c+=" "+s),a(),u(),c)};var r=n(4076),i=n(3091),o=n(8615)},5345:function(e){function t(e){return e.value||""}e.exports=t,t.peek=function(){return"<"}},8246:function(e,t,n){e.exports=o,o.peek=function(){return"!"};var r=n(7609),i=n(6289);function o(e,t,n){var o,u,a=e.referenceType,c=n.enter("imageReference"),s=n.enter("label"),l=i(n,e.alt,{before:"[",after:"]"}),f="!["+l+"]";return s(),u=n.stack,n.stack=[],s=n.enter("reference"),o=i(n,r(e),{before:"[",after:"]"}),s(),n.stack=u,c(),"full"!==a&&l&&l===o?"shortcut"!==a&&(f+="[]"):f+="["+o+"]",f}},9617:function(e,t,n){e.exports=o,o.peek=function(){return"!"};var r=n(9587),i=n(6289);function o(e,t,n){var o=r(n),u='"'===o?"Quote":"Apostrophe",a=n.enter("image"),c=n.enter("label"),s="!["+i(n,e.alt,{before:"[",after:"]"})+"](";return c(),!e.url&&e.title||/[ \t\r\n]/.test(e.url)?(c=n.enter("destinationLiteral"),s+="<"+i(n,e.url,{before:"<",after:">"})+">"):(c=n.enter("destinationRaw"),s+=i(n,e.url,{before:"(",after:e.title?" ":")"})),c(),e.title&&(c=n.enter("title"+u),s+=" "+o+i(n,e.title,{before:o,after:o})+o,c()),s+=")",a(),s}},7261:function(e,t,n){t.blockquote=n(1015),t.break=n(7193),t.code=n(9353),t.definition=n(4456),t.emphasis=n(5107),t.hardBreak=n(7193),t.heading=n(5326),t.html=n(5345),t.image=n(9617),t.imageReference=n(8246),t.inlineCode=n(7370),t.link=n(703),t.linkReference=n(2414),t.list=n(7928),t.listItem=n(8295),t.paragraph=n(145),t.root=n(3540),t.strong=n(4903),t.text=n(4726),t.thematicBreak=n(4265)},7370:function(e,t,n){e.exports=i,i.peek=function(){return"`"};var r=n(5505);function i(e,t,n){for(var i,o,u,a,c=e.value||"",s="`",l=-1;RegExp("(^|[^`])"+s+"([^`]|$)").test(c);)s+="`";for(/[^ \r\n]/.test(c)&&(/[ \r\n`]/.test(c.charAt(0))||/[ \r\n`]/.test(c.charAt(c.length-1)))&&(c=" "+c+" ");++l<n.unsafe.length;)if((i=n.unsafe[l]).atBreak)for(o=r(i);u=o.exec(c);)a=u.index,10===c.charCodeAt(a)&&13===c.charCodeAt(a-1)&&a--,c=c.slice(0,a)+" "+c.slice(u.index+1);return s+c+s}},2414:function(e,t,n){e.exports=u,u.peek=function(){return"["};var r=n(7609),i=n(8615),o=n(6289);function u(e,t,n){var u,a,c=e.referenceType,s=n.enter("linkReference"),l=n.enter("label"),f=i(e,n,{before:"[",after:"]"}),p="["+f+"]";return l(),a=n.stack,n.stack=[],l=n.enter("reference"),u=o(n,r(e),{before:"[",after:"]"}),l(),n.stack=a,s(),"full"!==c&&f&&f===u?"shortcut"!==c&&(p+="[]"):p+="["+u+"]",p}},703:function(e,t,n){e.exports=a,a.peek=function(e,t,n){return i(e,n)?"<":"["};var r=n(9587),i=n(8193),o=n(8615),u=n(6289);function a(e,t,n){var a,c,s,l,f=r(n),p='"'===f?"Quote":"Apostrophe";return i(e,n)?(l=n.stack,n.stack=[],a=n.enter("autolink"),s="<"+o(e,n,{before:"<",after:">"})+">",a(),n.stack=l):(a=n.enter("link"),c=n.enter("label"),s="["+o(e,n,{before:"[",after:"]"})+"](",c(),!e.url&&e.title||/[ \t\r\n]/.test(e.url)?(c=n.enter("destinationLiteral"),s+="<"+u(n,e.url,{before:"<",after:">"})+">"):(c=n.enter("destinationRaw"),s+=u(n,e.url,{before:"(",after:e.title?" ":")"})),c(),e.title&&(c=n.enter("title"+p),s+=" "+f+u(n,e.title,{before:f,after:f})+f,c()),s+=")",a()),s}},8295:function(e,t,n){e.exports=function(e,t,n){var c,s,l,f=i(n),p=o(n);return t&&t.ordered&&(f=(t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+"."),c=f.length+1,("tab"===p||"mixed"===p&&(t&&t.spread||e.spread))&&(c=4*Math.ceil(c/4)),l=n.enter("listItem"),s=a(u(e,n),function(e,t,n){return t?(n?"":r(" ",c))+e:(n?f:f+r(" ",c-f.length))+e}),l(),s};var r=n(4076),i=n(6008),o=n(1370),u=n(9438),a=n(2117)},7928:function(e,t,n){e.exports=function(e,t,n){var i=n.enter("list"),o=r(e,n);return i(),o};var r=n(9438)},145:function(e,t,n){e.exports=function(e,t,n){var i=n.enter("paragraph"),o=n.enter("phrasing"),u=r(e,n,{before:"\n",after:"\n"});return o(),i(),u};var r=n(8615)},3540:function(e,t,n){e.exports=function(e,t,n){return r(e,n)};var r=n(9438)},4903:function(e,t,n){e.exports=o,o.peek=function(e,t,n){return n.options.strong||"*"};var r=n(9965),i=n(8615);function o(e,t,n){var o=r(n),u=n.enter("strong"),a=i(e,n,{before:o,after:o});return u(),o+o+a+o+o}},4726:function(e,t,n){e.exports=function(e,t,n,i){return r(n,e.value,i)};var r=n(6289)},4265:function(e,t,n){e.exports=function(e,t,n){var u=r(o(n)+(n.options.ruleSpaces?" ":""),i(n));return n.options.ruleSpaces?u.slice(0,-1):u};var r=n(4076),i=n(8014),o=n(1836)},914:function(e,t,n){e.exports=function(e,t){var n,f={enter:function(e){return f.stack.push(e),function(){f.stack.pop()}},stack:[],unsafe:[],join:[],handlers:{},options:{}};return i(f,{unsafe:a,join:u,handlers:o}),i(f,t||{}),f.options.tightDefinitions&&(f.join=[l].concat(f.join)),f.handle=r("type",{invalid:c,unknown:s,handlers:f.handlers}),(n=f.handle(e,null,f,{before:"\n",after:"\n"}))&&10!==n.charCodeAt(n.length-1)&&13!==n.charCodeAt(n.length-1)&&(n+="\n"),n};var r=n(1972),i=n(3296),o=n(7261),u=n(4028),a=n(5112);function c(e){throw Error("Cannot handle value `"+e+"`, expected node")}function s(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function l(e,t){if("definition"===e.type&&e.type===t.type)return 0}},4028:function(e,t,n){e.exports=[function(e,t,n,o){if("list"===t.type&&t.type===e.type&&!!e.ordered==!!t.ordered||"code"===t.type&&r(t,o)&&("list"===e.type||e.type===t.type&&r(e,o)))return!1;if("boolean"==typeof n.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&i(t,o)))return;return+!!n.spread}}];var r=n(7159),i=n(3091)},5112:function(e){e.exports=[{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing"},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing"},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*"},{character:"*",inConstruct:"phrasing"},{atBreak:!0,character:"+"},{atBreak:!0,character:"-"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing"},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:["phrasing","label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{before:"[^A-Za-z]",character:"_",inConstruct:"phrasing"},{character:"_",after:"[^A-Za-z]",inConstruct:"phrasing"},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent","phrasing"]},{atBreak:!0,character:"~"}]},7609:function(e,t,n){e.exports=function(e){return e.label||!e.identifier?e.label||"":e.identifier.replace(i,"$1").replace(o,u)};var r=n(7689),i=/\\([!-/:-@[-`{-~])/g,o=/&(#(\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function u(e,t){return r(t)||e}},6008:function(e){e.exports=function(e){var t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}},822:function(e){e.exports=function(e){var t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}},9813:function(e){e.exports=function(e){var t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}},1370:function(e){e.exports=function(e){var t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}},9587:function(e){e.exports=function(e){var t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}},8014:function(e){e.exports=function(e){var t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}},1836:function(e){e.exports=function(e){var t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}},9965:function(e){e.exports=function(e){var t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}},9438:function(e,t,n){e.exports=function(e,t){for(var n,i=e.children||[],o=[],u=-1;++u<i.length;)n=i[u],o.push(t.handle(n,e,t,{before:"\n",after:"\n"})),u+1<i.length&&o.push(function(n,i){for(var o,u=-1;++u<t.join.length&&!0!==(o=t.join[u](n,i,e,t))&&1!==o;){if("number"==typeof o)return r("\n",1+Number(o));if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}(n,i[u+1]));return o.join("")};var r=n(4076)},8615:function(e){e.exports=function(e,t,n){for(var r,i,o,u=e.children||[],a=[],c=-1,s=n.before;++c<u.length;)o=u[c],c+1<u.length?((i=t.handle.handlers[u[c+1].type])&&i.peek&&(i=i.peek),r=i?i(u[c+1],e,t,{before:"",after:""}).charAt(0):""):r=n.after,a.length>0&&("\r"===s||"\n"===s)&&"html"===o.type&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),s=" "),a.push(t.handle(o,e,t,{before:s,after:r})),s=a[a.length-1].slice(-1);return a.join("")}},7159:function(e){e.exports=function(e,t){return!t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)}},3091:function(e,t,n){e.exports=function(e,t){return t.options.setext&&(!e.depth||e.depth<3)&&r(e)};var r=n(6766)},8193:function(e,t,n){e.exports=function(e,t){var n=r(e);return!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url)};var r=n(6766)},2117:function(e){e.exports=function(e,n){for(var r,i=[],o=0,u=0;r=t.exec(e);)a(e.slice(o,r.index)),i.push(r[0]),o=r.index+r[0].length,u++;return a(e.slice(o)),i.join("");function a(e){i.push(n(e,u,!e))}};var t=/\r?\n|\r/g},5505:function(e){e.exports=function(e){var t,n;return e._compiled||(t=e.before?"(?:"+e.before+")":"",n=e.after?"(?:"+e.after+")":"",e.atBreak&&(t="[\\r\\n][\\t ]*"+t),e._compiled=RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(n||""),"g")),e._compiled}},3270:function(e){e.exports=function(e,n){return t(e,n.inConstruct,!0)&&!t(e,n.notInConstruct)};function t(e,t,n){var r;if(!t)return n;for("string"==typeof t&&(t=[t]),r=-1;++r<t.length;)if(-1!==e.indexOf(t[r]))return!0;return!1}},6289:function(e,t,n){e.exports=function(e,t,n){for(var a,c,s,l,f,p,h,d,g=(n.before||"")+(t||"")+(n.after||""),m=[],x=[],v={},k=-1;++k<e.unsafe.length;)if(l=e.unsafe[k],i(e.stack,l))for(f=r(l);p=f.exec(g);)a="before"in l||l.atBreak,c="after"in l,s=p.index+(a?p[1].length:0),-1===m.indexOf(s)?(m.push(s),v[s]={before:a,after:c}):(v[s].before&&!a&&(v[s].before=!1),v[s].after&&!c&&(v[s].after=!1));for(m.sort(o),h=n.before?n.before.length:0,d=g.length-(n.after?n.after.length:0),k=-1;++k<m.length;)!((s=m[k])<h)&&!(s>=d)&&(!(s+1<d)||m[k+1]!==s+1||!v[s].after||v[s+1].before||v[s+1].after)&&(h!==s&&x.push(u(g.slice(h,s),"\\")),h=s,/[!-/:-@[-`{-~]/.test(g.charAt(s))&&(!n.encode||-1===n.encode.indexOf(g.charAt(s)))?x.push("\\"):(x.push("&#x"+g.charCodeAt(s).toString(16).toUpperCase()+";"),h++));return x.push(u(g.slice(h,d),n.after)),x.join("")};var r=n(5505),i=n(3270);function o(e,t){return e-t}function u(e,t){for(var n,r=/\\(?=[!-/:-@[-`{-~])/g,i=[],o=[],u=-1,a=0,c=e+t;n=r.exec(c);)i.push(n.index);for(;++u<i.length;)a!==i[u]&&o.push(e.slice(a,i[u])),o.push("\\"),a=i[u];return o.push(e.slice(a)),o.join("")}},6766:function(e){"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&n(e.children)||"length"in e&&n(e))||""}function n(e){for(var n=[],r=-1;++r<e.length;)n[r]=t(e[r]);return n.join("")}e.exports=t},3603:function(e,t,n){e.exports=n(4485)},4485:function(e,t,n){var r=n(5845),i=n(4355),o=n(883),u=n(2658),a=n(7079),c=n(3081),s={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(t){return 87===t||t-32==87?(e.consume(t),i):n(t)}function i(t){return 87===t||t-32==87?(e.consume(t),o):n(t)}function o(t){return 46===t?(e.consume(t),a):n(t)}function a(e){return null===e||u(e)?n(e):t(e)}},partial:!0},l={tokenize:function(e,t,n){var r,i;return u;function u(t){return 38===t?e.check(h,l,s)(t):46===t||95===t?e.check(p,l,s)(t):o(t)||c(t)||45!==t&&a(t)?l(t):(e.consume(t),u)}function s(t){return 46===t?(i=r,r=void 0):95===t&&(r=!0),e.consume(t),u}function l(e){return i||r?n(e):t(e)}},partial:!0},f={tokenize:function(e,t){var n=0;return r;function r(u){return 38===u?e.check(h,t,i)(u):(40===u&&n++,41===u)?e.check(p,o,i)(u):b(u)?t(u):k(u)?e.check(p,t,i)(u):(e.consume(u),r)}function i(t){return e.consume(t),r}function o(e){return--n<0?t(e):i(e)}},partial:!0},p={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(i){return k(i)?(e.consume(i),r):b(i)?t(i):n(i)}},partial:!0},h={tokenize:function(e,t,n){return function(t){return e.consume(t),i};function i(t){return r(t)?(e.consume(t),i):59===t?(e.consume(t),o):n(t)}function o(e){return b(e)?t(e):n(e)}},partial:!0},d={tokenize:function(e,t,n){var r=this;return function(t){return 87!==t&&t-32!=87||!w(r.previous)||q(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(s,e.attempt(l,e.attempt(f,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:w},g={tokenize:function(e,t,n){var r=this;return function(t){return 72!==t&&t-32!=72||!E(r.previous)||q(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),i)};function i(t){return 84===t||t-32==84?(e.consume(t),u):n(t)}function u(t){return 84===t||t-32==84?(e.consume(t),s):n(t)}function s(t){return 80===t||t-32==80?(e.consume(t),p):n(t)}function p(t){return 83===t||t-32==83?(e.consume(t),h):h(t)}function h(t){return 58===t?(e.consume(t),d):n(t)}function d(t){return 47===t?(e.consume(t),g):n(t)}function g(t){return 47===t?(e.consume(t),m):n(t)}function m(t){return o(t)||c(t)||a(t)?n(t):e.attempt(l,e.attempt(f,x),n)(t)}function x(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:E},m={tokenize:function(e,t,n){var r,o=this;return function(t){return!y(t)||!S(o.previous)||q(o.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return y(r)?(e.consume(r),t):64===r?(e.consume(r),u):n(r)}(t))};function u(t){return 46===t?e.check(p,l,a)(t):45===t||95===t?e.check(p,n,c)(t):i(t)?(e.consume(t),u):l(t)}function a(t){return e.consume(t),r=!0,u}function c(t){return e.consume(t),s}function s(t){return 46===t?e.check(p,n,a)(t):u(t)}function l(i){return r?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(i)):n(i)}},previous:S},x={};t.text=x;for(var v=48;v<123;)x[v]=m,58==++v?v=65:91===v&&(v=97);function k(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function b(e){return null===e||e<0||32===e||60===e}function y(e){return 43===e||45===e||46===e||95===e||i(e)}function w(e){return null===e||e<0||32===e||40===e||42===e||95===e||126===e}function E(e){return null===e||!r(e)}function S(e){return 47!==e&&E(e)}function q(e){for(var t=e.length;t--;)if(("labelLink"===e[t][1].type||"labelImage"===e[t][1].type)&&!e[t][1]._balanced)return!0}x[43]=m,x[45]=m,x[46]=m,x[95]=m,x[72]=[m,g],x[104]=[m,g],x[87]=[m,d],x[119]=[m,d]},2922:function(e,t,n){e.exports=function(e){var t=(e||{}).singleTilde,n={tokenize:function(e,n,i){var o=this.previous,u=this.events,a=0;return function(c){return 126!==c||126===o&&"characterEscape"!==u[u.length-1][1].type?i(c):(e.enter("strikethroughSequenceTemporary"),function u(c){var s,l,f=r(o);return 126===c?a>1?i(c):(e.consume(c),a++,u):a<2&&!t?i(c):((s=e.exit("strikethroughSequenceTemporary"))._open=!(l=r(c))||2===l&&f,s._close=!f||2===f&&l,n(c))}(c))}},resolveAll:function(e,t){for(var n,r,a,c,s=-1;++s<e.length;)if("enter"===e[s][0]&&"strikethroughSequenceTemporary"===e[s][1].type&&e[s][1]._close){for(a=s;a--;)if("exit"===e[a][0]&&"strikethroughSequenceTemporary"===e[a][1].type&&e[a][1]._open&&e[s][1].end.offset-e[s][1].start.offset==e[a][1].end.offset-e[a][1].start.offset){e[s][1].type="strikethroughSequence",e[a][1].type="strikethroughSequence",n={type:"strikethrough",start:u(e[a][1].start),end:u(e[s][1].end)},r={type:"strikethroughText",start:u(e[a][1].end),end:u(e[s][1].start)},i(c=[["enter",n,t],["enter",e[a][1],t],["exit",e[a][1],t],["enter",r,t]],c.length,0,o(t.parser.constructs.insideSpan.null,e.slice(a+1,s),t)),i(c,c.length,0,[["exit",r,t],["enter",e[s][1],t],["exit",e[s][1],t],["exit",n,t]]),i(e,a-1,s-a+3,c),s=a+c.length-2;break}}for(var l=e,f=-1,p=l.length;++f<p;)"strikethroughSequenceTemporary"===l[f][1].type&&(l[f][1].type="data");return l}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:n}}};var r=n(3585),i=n(3416),o=n(2869),u=n(9085)},3858:function(e,t,n){e.exports=n(7520)},7520:function(e,t,n){t.flow={null:{tokenize:function(e,t,n){var u,a,c=[],s=0;return function(t){return null===t||-5===t||-4===t||-3===t?n(t):(e.enter("table")._align=c,e.enter("tableHead"),e.enter("tableRow"),124===t)?l(t):(s++,e.enter("temporaryTableCellContent"),h(t))};function l(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),u=!0,f}function f(t){var o;return null===t||-5===t||-4===t||-3===t?null===(o=t)?n(o):(e.exit("tableRow"),e.exit("tableHead"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.check(i,n,r(e,g,"linePrefix",4))):-2===t||-1===t||32===t?(e.enter("whitespace"),e.consume(t),p):(u&&(u=void 0,s++),124===t)?l(t):(e.enter("temporaryTableCellContent"),h(t))}function p(t){return -2===t||-1===t||32===t?(e.consume(t),p):(e.exit("whitespace"),f(t))}function h(t){return null===t||t<0||32===t||124===t?(e.exit("temporaryTableCellContent"),f(t)):(e.consume(t),92===t?d:h)}function d(t){return 92===t||124===t?(e.consume(t),h):h(t)}function g(t){return null===t||t<0||32===t?n(t):(e.enter("tableDelimiterRow"),m(t))}function m(t){return null===t||-5===t||-4===t||-3===t?y(t):-2===t||-1===t||32===t?(e.enter("whitespace"),e.consume(t),x):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),a=!0,c.push(null),v):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),c.push("left"),k):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),m):n(t)}function x(t){return -2===t||-1===t||32===t?(e.consume(t),x):(e.exit("whitespace"),m(t))}function v(t){return 45===t?(e.consume(t),v):(e.exit("tableDelimiterFiller"),58===t)?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),c[c.length-1]="left"===c[c.length-1]?"center":"right",b):m(t)}function k(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),a=!0,v):n(t)}function b(t){return null===t||-5===t||-4===t||-3===t?y(t):-2===t||-1===t||32===t?(e.enter("whitespace"),e.consume(t),x):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),m):n(t)}function y(t){return(e.exit("tableDelimiterRow"),a&&s===c.length)?null===t?w(t):e.check(o,w,E)(t):n(t)}function w(n){return e.exit("table"),t(n)}function E(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r(e,S,"linePrefix",4)}function S(t){return e.enter("tableBody"),q(t)}function q(t){return(e.enter("tableRow"),124===t)?C(t):(e.enter("temporaryTableCellContent"),D(t))}function C(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),A}function A(t){var n;return null===t||-5===t||-4===t||-3===t?(n=t,(e.exit("tableRow"),null===n)?L(n):e.check(o,L,I)(n)):-2===t||-1===t||32===t?(e.enter("whitespace"),e.consume(t),F):124===t?C(t):(e.enter("temporaryTableCellContent"),D(t))}function F(t){return -2===t||-1===t||32===t?(e.consume(t),F):(e.exit("whitespace"),A(t))}function D(t){return null===t||t<0||32===t||124===t?(e.exit("temporaryTableCellContent"),A(t)):(e.consume(t),92===t?T:D)}function T(t){return 92===t||124===t?(e.consume(t),D):D(t)}function L(t){return e.exit("tableBody"),w(t)}function I(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),r(e,q,"linePrefix",4)}},resolve:function(e,t){for(var n,r,i,o,u,a,c,s,l,f,p=e.length,h=-1;++h<p;)n=e[h][1],o&&("temporaryTableCellContent"===n.type&&(s=s||h,l=h),("tableCellDivider"===n.type||"tableRow"===n.type)&&l&&(c={type:"chunkText",start:(a={type:"tableContent",start:e[s][1].start,end:e[l][1].end}).start,end:a.end,contentType:"text"},e.splice(s,l-s+1,["enter",a,t],["enter",c,t],["exit",c,t],["exit",a,t]),h-=l-s-3,p=e.length,s=void 0,l=void 0)),"exit"===e[h][0]&&f&&f+1<h&&("tableCellDivider"===n.type||"tableRow"===n.type&&(f+3<h||"whitespace"!==e[f][1].type))&&(u={type:i?"tableDelimiter":r?"tableHeader":"tableData",start:e[f][1].start,end:e[h][1].end},e.splice(h+ +("tableCellDivider"===n.type),0,["exit",u,t]),e.splice(f,0,["enter",u,t]),h+=2,p=e.length,f=h+1),"tableRow"===n.type&&(o="enter"===e[h][0])&&(f=h+1),"tableDelimiterRow"===n.type&&(i="enter"===e[h][0])&&(f=h+1),"tableHead"===n.type&&(r="enter"===e[h][0]);return e},interruptible:!0}};var r=n(2397),i={tokenize:function(e,t,n){return function(r){return 45!==r?n(r):(e.enter("setextUnderline"),function r(i){return 45===i?(e.consume(i),r):function r(i){return -2===i||-1===i||32===i?(e.consume(i),r):null===i||-5===i||-4===i||-3===i?t(i):n(i)}(i)}(r))}},partial:!0},o={tokenize:function(e,t,n){var r=0;return function(t){return e.enter("check"),e.consume(t),i};function i(o){return -1===o||32===o?(e.consume(o),4==++r?t:i):null===o||o<0?t(o):n(o)}},partial:!0}},502:function(e,t,n){e.exports=n(8750)},8750:function(e,t,n){var r=n(1551),i=n(2397),o=n(4722);function u(e,t,n){var u=this;return i(e,function(e){return o(u.events,"whitespace")&&null!==e&&!r(e)?t(e):n(e)},"whitespace")}t.text={91:{tokenize:function(e,t,n){var r=this;return function(t){return 91===t&&null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return -2===t||32===t?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(r){return 93===r?(e.enter("taskListCheckMarker"),e.consume(r),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:u},t,n)):n(r)}}}}},3977:function(e,t,n){e.exports=n(5884)},5884:function(e,t,n){var r=n(4e3),i=n(3603),o=n(2922),u=n(3858),a=n(502);e.exports=function(e){return r([i,o(e),u,a])}},5845:function(e,t,n){"use strict";e.exports=n(3744)(/[A-Za-z]/)},4355:function(e,t,n){"use strict";e.exports=n(3744)(/[\dA-Za-z]/)},1465:function(e,t,n){"use strict";e.exports=n(3744)(/[#-'*+\--9=?A-Z^-~]/)},883:function(e){"use strict";e.exports=function(e){return e<32||127===e}},1687:function(e,t,n){"use strict";e.exports=n(3744)(/\d/)},7855:function(e,t,n){"use strict";e.exports=n(3744)(/[\dA-Fa-f]/)},858:function(e,t,n){"use strict";e.exports=n(3744)(/[!-/:-@[-`{-~]/)},1551:function(e){"use strict";e.exports=function(e){return e<0||32===e}},2658:function(e){"use strict";e.exports=function(e){return e<-2}},1727:function(e){"use strict";e.exports=function(e){return -2===e||-1===e||32===e}},7079:function(e,t,n){"use strict";var r=n(1837);e.exports=n(3744)(r)},3081:function(e,t,n){"use strict";e.exports=n(3744)(/\s/)},8492:function(e){"use strict";e.exports=Object.assign},2756:function(e){"use strict";e.exports=String.fromCharCode},2686:function(e){"use strict";e.exports=({}).hasOwnProperty},7899:function(e){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},3206:function(e){"use strict";e.exports=["pre","script","style","textarea"]},6139:function(e){"use strict";e.exports=[].splice},1837:function(e){"use strict";e.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},8731:function(e,t,n){"use strict";Object.definePrope