티스토리 수익 글 보기

티스토리 수익 글 보기

performance.mark(“js-parse-end:48860-0cec4441d4e04630.js”); “use strict”;(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([[“48860″],{60023(e,t,n){function s(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!1,headerPrefix:””,highlight:null,hooks:null,langPrefix:”language-“,mangle:!1,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}n.d(t,{Dz:()=>O,xI:()=>B});let r=s(),i=/[&<>“‘]/,l=RegExp(i.source,”g”),a=/[<>“‘]|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,o=RegExp(a.source,”g”),h={“&”:”&”,”<":"<",">“:”>”,'”‘:”"”,”‘”:”'”},c=e=>h[e];function p(e,t){if(t){if(i.test(e))return e.replace(l,c)}else if(a.test(e))return e.replace(o,c);return e}let u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function g(e){return e.replace(u,(e,t)=>”colon”===(t=t.toLowerCase())?”:”:”#”===t.charAt(0)?”x”===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):””)}let d=/(^|[^\[])\^/g;function k(e,t){e=”string”==typeof e?e:e.source,t=t||””;let n={replace:(t,s)=>(s=(s=”object”==typeof s&&”source”in s?s.source:s).replace(d,”$1″),e=e.replace(t,s),n),getRegex:()=>new RegExp(e,t)};return n}let f=/[^\w:]/g,m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function x(e,t,n){var s,r;let i;if(e){let e;try{e=decodeURIComponent(g(n)).replace(f,””).toLowerCase()}catch(e){return null}if(0===e.indexOf(“javascript:”)||0===e.indexOf(“vbscript:”)||0===e.indexOf(“data:”))return null}t&&!m.test(n)&&(s=t,r=n,b[” “+s]||(w.test(s)?b[” “+s]=s+”/”:b[” “+s]=S(s,”/”,!0)),i=-1===(s=b[” “+s]).indexOf(“:”),n=”//”===r.substring(0,2)?i?r:s.replace(_,”$1″)+r:”/”!==r.charAt(0)?s+r:i?r:s.replace(y,”$1″)+r);try{n=encodeURI(n).replace(/%25/g,”%”)}catch(e){return null}return n}let b={},w=/^[^:]+:\/*[^/]*$/,_=/^([^:]+:)[\s\S]*$/,y=/^([^:]+:\/*[^/]*)[\s\S]*$/,$={exec:()=>null};function z(e,t){let n=e.replace(/\|/g,(e,t,n)=>{let s=!1,r=t;for(;–r>=0&&”\\”===n[r];)s=!s;return s?”|”:” |”}).split(/ \|/),s=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>t)n.splice(t);else for(;n.length0)return{type:”space”,raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(/^ {1,4}/gm,””);return{type:”code”,raw:t[0],codeBlockStyle:”indented”,text:this.options.pedantic?e:S(e,”\n”)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=function(e,t){let n=e.match(/^(\s+)(?:“`)/);if(null===n)return t;let s=n[1];return t.split(“\n”).map(e=>{let t=e.match(/^\s+/);if(null===t)return e;let[n]=t;return n.length>=s.length?e.slice(s.length):e}).join(“\n”)}(e,t[3]||””);return{type:”code”,raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,”$1″):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){let t=S(e,”#”);this.options.pedantic?e=t.trim():(!t||/ $/.test(t))&&(e=t.trim())}return{type:”heading”,raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:”hr”,raw:t[0]}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=t[0].replace(/^ *>[ \t]?/gm,””),n=this.lexer.state.top;this.lexer.state.top=!0;let s=this.lexer.blockTokens(e);return this.lexer.state.top=n,{type:”blockquote”,raw:t[0],tokens:s,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,s,r,i,l,a,o,h,c,p,u,g,d=t[1].trim(),k=d.length>1,f={type:”list”,raw:””,ordered:k,start:k?+d.slice(0,-1):””,loose:!1,items:[]};d=k?`\\d{1,9}\\${d.slice(-1)}`:`\\${d}`,this.options.pedantic&&(d=k?d:”[*+-]”);let m=RegExp(`^( {0,3}${d})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;e&&(g=!1,!(!(t=m.exec(e))||this.rules.block.hr.test(e)));){if(n=t[0],e=e.substring(n.length),h=t[2].split(“\n”,1)[0].replace(/^\t+/,e=>” “.repeat(3*e.length)),c=e.split(“\n”,1)[0],this.options.pedantic?(i=2,u=h.trimLeft()):(i=(i=t[2].search(/[^ ]/))>4?1:i,u=h.slice(i),i+=t[1].length),a=!1,!h&&/^ *$/.test(c)&&(n+=c+”\n”,e=e.substring(c.length+1),g=!0),!g){let t=RegExp(`^ {0,${Math.min(3,i-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),s=RegExp(`^ {0,${Math.min(3,i-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),r=RegExp(`^ {0,${Math.min(3,i-1)}}(?:\`\`\`|~~~)`),l=RegExp(`^ {0,${Math.min(3,i-1)}}#`);for(;e&&(c=p=e.split(“\n”,1)[0],this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g,” “)),!(r.test(c)||l.test(c)||t.test(c)||s.test(e)));){if(c.search(/[^ ]/)>=i||!c.trim())u+=”\n”+c.slice(i);else{if(a||h.search(/[^ ]/)>=4||r.test(h)||l.test(h)||s.test(h))break;u+=”\n”+c}a||c.trim()||(a=!0),n+=p+”\n”,e=e.substring(p.length+1),h=c.slice(i)}}!f.loose&&(o?f.loose=!0:/\n *\n *$/.test(n)&&(o=!0)),this.options.gfm&&(s=/^\[[ xX]\] /.exec(u))&&(r=”[ ] “!==s[0],u=u.replace(/^\[[ xX]\] +/,””)),f.items.push({type:”list_item”,raw:n,task:!!s,checked:r,loose:!1,text:u}),f.raw+=n}f.items[f.items.length-1].raw=n.trimRight(),f.items[f.items.length-1].text=u.trimRight(),f.raw=f.raw.trimRight();let x=f.items.length;for(l=0;l“space”===e.type);f.loose=e.length>0&&e.some(e=>/\n.*\n/.test(e.raw))}if(f.loose)for(l=0;l$/,”$1″).replace(this.rules.inline._escapes,”$1″):””,s=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,”$1″):t[3];return{type:”def”,tag:e,raw:t[0],href:n,title:s}}}table(e){let t=this.rules.block.table.exec(e);if(t){let e={type:”table”,header:z(t[1]).map(e=>({text:e})),align:t[2].replace(/^ *|\| *$/g,””).split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,””).split(“\n”):[]};if(e.header.length===e.align.length){let n,s,r,i;e.raw=t[0];let l=e.align.length;for(n=0;n({text:e}));for(s=0,l=e.header.length;s/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?”text”:”html”,raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):p(t[0]):t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&/^$/.test(e))return;let t=S(e.slice(0,-1),”\\”);if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(“)”))return -1;let n=e.length,s=0,r=0;for(;r-1){let n=(0===t[0].indexOf(“!”)?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=””}}let n=t[2],s=””;if(this.options.pedantic){let e=/^([^'”]*[^\s])\s+([‘”])(.*)\2/.exec(n);e&&(n=e[1],s=e[3])}else s=t[3]?t[3].slice(1,-1):””;return n=n.trim(),/^$/.test(e)?n.slice(1):n.slice(1,-1)),R(t,{href:n?n.replace(this.rules.inline._escapes,”$1″):n,title:s?s.replace(this.rules.inline._escapes,”$1″):s},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g,” “);if(!(e=t[e.toLowerCase()])){let e=n[0].charAt(0);return{type:”text”,raw:e,text:e}}return R(n,e,n[0],this.lexer)}}emStrong(e,t,n=””){let s=this.rules.inline.emStrong.lDelim.exec(e);if(!(!s||s[3]&&n.match(/[\p{L}\p{N}]/u))&&(!(s[1]||s[2])||!n||this.rules.inline.punctuation.exec(n))){let n=s[0].length-1,r,i,l=n,a=0,o=”*”===s[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(o.lastIndex=0,t=t.slice(-1*e.length+n);null!=(s=o.exec(t));){if(!(r=s[1]||s[2]||s[3]||s[4]||s[5]||s[6]))continue;if(i=r.length,s[3]||s[4]){l+=i;continue}if((s[5]||s[6])&&n%3&&!((n+i)%3)){a+=i;continue}if((l-=i)>0)continue;i=Math.min(i,i+l+a);let t=e.slice(0,n+s.index+i+1);if(Math.min(n,i)%2){let e=t.slice(1,-1);return{type:”em”,raw:t,text:e,tokens:this.lexer.inlineTokens(e)}}let o=t.slice(2,-2);return{type:”strong”,raw:t,text:o,tokens:this.lexer.inlineTokens(o)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g,” “),n=/[^ ]/.test(e),s=/^ /.test(e)&&/ $/.test(e);return n&&s&&(e=e.substring(1,e.length-1)),e=p(e,!0),{type:”codespan”,raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:”br”,raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:”del”,raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){let n=this.rules.inline.autolink.exec(e);if(n){let e,s;return s=”@”===n[2]?”mailto:”+(e=p(this.options.mangle?t(n[1]):n[1])):e=p(n[1]),{type:”link”,raw:n[0],text:e,href:s,tokens:[{type:”text”,raw:e,text:e}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let e,s;if(“@”===n[2])s=”mailto:”+(e=p(this.options.mangle?t(n[0]):n[0]));else{let t;do t=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(t!==n[0]);e=p(n[0]),s=”www.”===n[1]?”http://”+n[0]:n[0]}return{type:”link”,raw:n[0],text:e,href:s,tokens:[{type:”text”,raw:e,text:e}]}}}inlineText(e,t){let n=this.rules.inline.text.exec(e);if(n){let e;return e=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):p(n[0]):n[0]:p(this.options.smartypants?t(n[0]):n[0]),{type:”text”,raw:n[0],text:e}}}}let A={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:”^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))”,def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:$,lheading:/^((?:(?!^bull ).|\n(?!\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};A._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,A._title=/(?:”(?:\\”?|[^”\\])*”|'[^’\n]*(?:\n[^’\n]+)*\n?’|\([^()]*\))/,A.def=k(A.def).replace(“label”,A._label).replace(“title”,A._title).getRegex(),A.bullet=/(?:[*+-]|\d{1,9}[.)])/,A.listItemStart=k(/^( *)(bull) */).replace(“bull”,A.bullet).getRegex(),A.list=k(A.list).replace(/bull/g,A.bullet).replace(“hr”,”\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))”).replace(“def”,”\\n+(?=”+A.def.source+”)”).getRegex(),A._tag=”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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul”,A._comment=/|$)/,A.html=k(A.html,”i”).replace(“comment”,A._comment).replace(“tag”,A._tag).replace(“attribute”,/ +[a-zA-Z:_][\w.:-]*(?: *= *”[^”\n]*”| *= *'[^’\n]*’| *= *[^\s”‘=<>`]+)?/).getRegex(),A.lheading=k(A.lheading).replace(/bull/g,A.bullet).getRegex(),A.paragraph=k(A._paragraph).replace(“hr”,A.hr).replace(“heading”,” {0,3}#{1,6} “).replace(“|lheading”,””).replace(“|table”,””).replace(“blockquote”,” {0,3}>”).replace(“fences”,” {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n”).replace(“list”,” {0,3}(?:[*+-]|1[.)]) “).replace(“html”,”)|<(?:script|pre|style|textarea|!--)").replace("tag",A._tag).getRegex(),A.blockquote=k(A.blockquote).replace("paragraph",A.paragraph).getRegex(),A.normal={...A},A.gfm={...A.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},A.gfm.table=k(A.gfm.table).replace("hr",A.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>“).replace(“code”,” {4}[^\\n]”).replace(“fences”,” {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n”).replace(“list”,” {0,3}(?:[*+-]|1[.)]) “).replace(“html”,”)|<(?:script|pre|style|textarea|!--)").replace("tag",A._tag).getRegex(),A.gfm.paragraph=k(A._paragraph).replace("hr",A.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",A.gfm.table).replace("blockquote"," {0,3}>“).replace(“fences”,” {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n”).replace(“list”,” {0,3}(?:[*+-]|1[.)]) “).replace(“html”,”)|<(?:script|pre|style|textarea|!--)").replace("tag",A._tag).getRegex(),A.pedantic={...A.normal,html:k("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))”).replace(“comment”,A._comment).replace(/tag/g,”(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b”).getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +([“(][^\n]+[“)]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:$,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:k(A.normal._paragraph).replace(“hr”,A.hr).replace(“heading”,” *#{1,6} *[^\n]”).replace(“lheading”,A.lheading).replace(“blockquote”,” {0,3}>”).replace(“|fences”,””).replace(“|list”,””).replace(“|html”,””).getRegex()};let I={escape:/^\\([!”#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:$,tag:”^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^“,link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:”reflink|nolink(?!\\()”,emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:$,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(s=”x”+s.toString(16)),t+=”&#”+s+”;”;return t}I._punctuation=”\\p{P}$+<=>`^|~”,I.punctuation=k(I.punctuation,”u”).replace(/punctuation/g,I._punctuation).getRegex(),I.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,I.anyPunctuation=/\\[punct]/g,I._escapes=/\\([punct])/g,I._comment=k(A._comment).replace(“(?:–\x3e|$)”,”–\x3e”).getRegex(),I.emStrong.lDelim=k(I.emStrong.lDelim,”u”).replace(/punct/g,I._punctuation).getRegex(),I.emStrong.rDelimAst=k(I.emStrong.rDelimAst,”gu”).replace(/punct/g,I._punctuation).getRegex(),I.emStrong.rDelimUnd=k(I.emStrong.rDelimUnd,”gu”).replace(/punct/g,I._punctuation).getRegex(),I.anyPunctuation=k(I.anyPunctuation,”gu”).replace(/punct/g,I._punctuation).getRegex(),I._escapes=k(I._escapes,”gu”).replace(/punct/g,I._punctuation).getRegex(),I._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,I._email=/[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,I.autolink=k(I.autolink).replace(“scheme”,I._scheme).replace(“email”,I._email).getRegex(),I._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*”[^”]*”|\s*=\s*'[^’]*’|\s*=\s*[^\s”‘=<>`]+)?/,I.tag=k(I.tag).replace(“comment”,I._comment).replace(“attribute”,I._attribute).getRegex(),I._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,I._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,I._title=/”(?:\\”?|[^”\\])*”|'(?:\\’?|[^’\\])*’|\((?:\\\)?|[^)\\])*\)/,I.link=k(I.link).replace(“label”,I._label).replace(“href”,I._href).replace(“title”,I._title).getRegex(),I.reflink=k(I.reflink).replace(“label”,I._label).replace(“ref”,A._label).getRegex(),I.nolink=k(I.nolink).replace(“ref”,A._label).getRegex(),I.reflinkSearch=k(I.reflinkSearch,”g”).replace(“reflink”,I.reflink).replace(“nolink”,I.nolink).getRegex(),I.normal={…I},I.pedantic={…I.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:k(/^!?\[(label)\]\((.*?)\)/).replace(“label”,I._label).getRegex(),reflink:k(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(“label”,I._label).getRegex()},I.gfm={…I.normal,escape:k(I.escape).replace(“])”,”~|])”).getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\t+” “.repeat(n.length));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(s=>!!(n=s.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))){if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+=”\n”:t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length),(s=t[t.length-1])&&(“paragraph”===s.type||”text”===s.type)?(s.raw+=”\n”+n.raw,s.text+=”\n”+n.text,this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(n);continue}if((n=this.tokenizer.fences(e))||(n=this.tokenizer.heading(e))||(n=this.tokenizer.hr(e))||(n=this.tokenizer.blockquote(e))||(n=this.tokenizer.list(e))||(n=this.tokenizer.html(e))){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length),(s=t[t.length-1])&&(“paragraph”===s.type||”text”===s.type)?(s.raw+=”\n”+n.raw,s.text+=”\n”+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=s.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if((n=this.tokenizer.table(e))||(n=this.tokenizer.lheading(e))){e=e.substring(n.raw.length),t.push(n);continue}if(r=e,this.options.extensions&&this.options.extensions.startBlock){let t,n=1/0,s=e.slice(1);this.options.extensions.startBlock.forEach(e=>{“number”==typeof(t=e.call({lexer:this},s))&&t>=0&&(n=Math.min(n,t))}),n<1/0&&n>=0&&(r=e.substring(0,n+1))}if(this.state.top&&(n=this.tokenizer.paragraph(r))){s=t[t.length-1],i&&”paragraph”===s.type?(s.raw+=”\n”+n.raw,s.text+=”\n”+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(n),i=r.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length),(s=t[t.length-1])&&”text”===s.type?(s.raw+=”\n”+n.raw,s.text+=”\n”+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):t.push(n);continue}if(e){let t=”Infinite loop on byte: “+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,s,r,i,l,a,o=e;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(o));)e.includes(i[0].slice(i[0].lastIndexOf(“[“)+1,-1))&&(o=o.slice(0,i.index)+”[“+”a”.repeat(i[0].length-2)+”]”+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(o));)o=o.slice(0,i.index)+”[“+”a”.repeat(i[0].length-2)+”]”+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.anyPunctuation.exec(o));)o=o.slice(0,i.index)+”++”+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(l||(a=””),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(s=>!!(n=s.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),(s=t[t.length-1])&&”text”===n.type&&”text”===s.type?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),(s=t[t.length-1])&&”text”===n.type&&”text”===s.type?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if((n=this.tokenizer.emStrong(e,o,a))||(n=this.tokenizer.codespan(e))||(n=this.tokenizer.br(e))||(n=this.tokenizer.del(e))||(n=this.tokenizer.autolink(e,E))||!this.state.inLink&&(n=this.tokenizer.url(e,E))){e=e.substring(n.raw.length),t.push(n);continue}if(r=e,this.options.extensions&&this.options.extensions.startInline){let t,n=1/0,s=e.slice(1);this.options.extensions.startInline.forEach(e=>{“number”==typeof(t=e.call({lexer:this},s))&&t>=0&&(n=Math.min(n,t))}),n<1/0&&n>=0&&(r=e.substring(0,n+1))}if(n=this.tokenizer.inlineText(r,v)){e=e.substring(n.raw.length),”_”!==n.raw.slice(-1)&&(a=n.raw.slice(-1)),l=!0,(s=t[t.length-1])&&”text”===s.type?(s.raw+=n.raw,s.text+=n.text):t.push(n);continue}if(e){let t=”Infinite loop on byte: “+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}}class Z{options;constructor(e){this.options=e||r}code(e,t,n){let s=(t||””).match(/\S*/)[0];if(this.options.highlight){let t=this.options.highlight(e,s);null!=t&&t!==e&&(n=!0,e=t)}return(e=e.replace(/\n$/,””)+”\n”,s)?’
'+(n?e:p(e,!0))+"
\n”:”
"+(n?e:p(e,!0))+"
\n”}blockquote(e){return`
${e}
`}html(e,t){return e}heading(e,t,n,s){if(this.options.headerIds){let r=this.options.headerPrefix+s.slug(n);return`${e} `}return`${e} `}hr(){return this.options.xhtml?”
\n”:”
\n”}list(e,t,n){let s=t?”ol”:”ul”;return”<"+s+(t&&1!==n?' start="'+n+'"':"")+">\n”+e+”\n”}listitem(e,t,n){return`
  • ${e}
  • `}checkbox(e){return” “}paragraph(e){return`

    ${e}

    `}table(e,t){return t&&(t=`${t}`),”\n\n”+e+”\n”+t+”
    \n”}tablerow(e){return` ${e} `}tablecell(e,t){let n=t.header?”th”:”td”;return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+` `}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return this.options.xhtml?”
    “:”
    “}del(e){return`${e}`}link(e,t,n){if(null===(e=x(this.options.sanitize,this.options.baseUrl,e)))return n;let s=’“:”>”}text(e){return e}}class q{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return””+n}image(e,t,n){return””+n}br(){return””}}class L{seen;constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,””).replace(/[\u2000-\u206F\u2E00-\u2E7F\\’!”#$%&()*+,./:;<=>?@[\]^`{|}~]/g,””).replace(/\s/g,”-“)}getNextSafeSlug(e,t){let n=e,s=0;if(this.seen.hasOwnProperty(n)){s=this.seen[e];do n=e+”-“+ ++s;while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=s,this.seen[n]=0),n}slug(e,t={}){let n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}class C{options;renderer;textRenderer;slugger;constructor(e){this.options=e||r,this.options.renderer=this.options.renderer||new Z,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new q,this.slugger=new L}static parse(e,t){return new C(t).parse(e)}static parseInline(e,t){return new C(t).parseInline(e)}parse(e,t=!0){let n=””,s,r,i,l,a,o,h,c,p,u,d,k,f,m,x,b,w,_,y,$=e.length;for(s=0;s<$;s++){if(u=e[s],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[u.type]&&(!1!==(y=this.options.extensions.renderers[u.type].call({parser:this},u))||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(u.type))){n+=y||"";continue}switch(u.type){case"space":continue;case"hr":n+=this.renderer.hr();continue;case"heading":n+=this.renderer.heading(this.parseInline(u.tokens),u.depth,g(this.parseInline(u.tokens,this.textRenderer)),this.slugger);continue;case"code":n+=this.renderer.code(u.text,u.lang,!!u.escaped);continue;case"table":for(r=0,c="",h="",l=u.header.length;r0&&”paragraph”===x.tokens[0].type?(x.tokens[0].text=_+” “+x.tokens[0].text,x.tokens[0].tokens&&x.tokens[0].tokens.length>0&&”text”===x.tokens[0].tokens[0].type&&(x.tokens[0].tokens[0].text=_+” “+x.tokens[0].tokens[0].text)):x.tokens.unshift({type:”text”,text:_}):m+=_),m+=this.parse(x.tokens,f),p+=this.renderer.listitem(m,w,!!b);n+=this.renderer.list(p,d,k);continue;case”html”:n+=this.renderer.html(u.text,u.block);continue;case”paragraph”:n+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case”text”:for(p=u.tokens?this.parseInline(u.tokens):u.text;s+1<$&&"text"===e[s+1].type;)p+="\n"+((u=e[++s]).tokens?this.parseInline(u.tokens):u.text);n+=t?this.renderer.paragraph(p):p;continue;default:{let e='Token with "'+u.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return n}parseInline(e,t){t=t||this.renderer;let n="",s,r,i,l=e.length;for(s=0;s{n=n.concat(this.walkTokens(s[e],t))}):s.tokens&&(n=n.concat(this.walkTokens(s.tokens,t)))}return n}use(…e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={…e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error(“extension name required”);if(“renderer”in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(…t){let s=e.renderer.apply(this,t);return!1===s&&(s=n.apply(this,t)),s}:t.renderers[e.name]=e.renderer}if(“tokenizer”in e){if(!e.level||”block”!==e.level&&”inline”!==e.level)throw Error(“extension level must be ‘block’ or ‘inline'”);t[e.level]?t[e.level].unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&(“block”===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:”inline”===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}”childTokens”in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new Z(this.defaults);for(let n in e.renderer){let s=t[n];t[n]=(…r)=>{let i=e.renderer[n].apply(t,r);return!1===i&&(i=s.apply(t,r)),i}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new T(this.defaults);for(let n in e.tokenizer){let s=t[n];t[n]=(…r)=>{let i=e.tokenizer[n].apply(t,r);return!1===i&&(i=s.apply(t,r)),i}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new D;for(let n in e.hooks){let s=t[n];D.passThroughHooks.has(n)?t[n]=r=>{if(this.defaults.async)return Promise.resolve(e.hooks[n].call(t,r)).then(e=>s.call(t,e));let i=e.hooks[n].call(t,r);return s.call(t,i)}:t[n]=(…r)=>{let i=e.hooks[n].apply(t,r);return!1===i&&(i=s.apply(t,r)),i}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens;n.walkTokens=function(n){let s=[];return s.push(e.walkTokens.call(this,n)),t&&(s=s.concat(t.call(this,n))),s}}this.defaults={…this.defaults,…n}}),this}setOptions(e){return this.defaults={…this.defaults,…e},this}#e(e,t){return(n,s,r)=>{var i;”function”==typeof s&&(r=s,s=null);let l={…s},a={…this.defaults,…l},o=this.#t(!!a.silent,!!a.async,r);if(null==n)return o(Error(“marked(): input parameter is undefined or null”));if(“string”!=typeof n)return o(Error(“marked(): input parameter is of type “+Object.prototype.toString.call(n)+”, string expected”));if(i=r,a&&!a.silent&&(i&&console.warn(“marked(): callback is deprecated since version 5.0.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/using_pro#async”),(a.sanitize||a.sanitizer)&&console.warn(“marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options”),(a.highlight||”language-“!==a.langPrefix)&&console.warn(“marked(): highlight and langPrefix parameters are deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-highlight.”),a.mangle&&console.warn(“marked(): mangle parameter is enabled by default, but is deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-mangle, or disable by setting `{mangle: false}`.”),a.baseUrl&&console.warn(“marked(): baseUrl parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-base-url.”),a.smartypants&&console.warn(“marked(): smartypants parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-smartypants.”),a.xhtml&&console.warn(“marked(): xhtml parameter is deprecated since version 5.0.0, should not be used and will be removed in the future. Instead use https://www.npmjs.com/package/marked-xhtml.”),(a.headerIds||a.headerPrefix)&&console.warn(“marked(): headerIds and headerPrefix parameters enabled by default, but are deprecated since version 5.0.0, and will be removed in the future. To clear this warning, install https://www.npmjs.com/package/marked-gfm-heading-id, or disable by setting `{headerIds: false}`.”)),a.hooks&&(a.hooks.options=a),r){let s,i=a.highlight;try{a.hooks&&(n=a.hooks.preprocess(n)),s=e(n,a)}catch(e){return o(e)}let l=e=>{let n;if(!e)try{a.walkTokens&&this.walkTokens(s,a.walkTokens),n=t(s,a),a.hooks&&(n=a.hooks.postprocess(n))}catch(t){e=t}return a.highlight=i,e?o(e):r(null,n)};if(!i||i.length<3||(delete a.highlight,!s.length))return l();let h=0;return this.walkTokens(s,e=>{“code”===e.type&&(h++,setTimeout(()=>{i(e.text,e.lang,(t,n)=>{if(t)return l(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0==–h&&l()})},0))}),void(0===h&&l())}if(a.async)return Promise.resolve(a.hooks?a.hooks.preprocess(n):n).then(t=>e(t,a)).then(e=>a.walkTokens?Promise.all(this.walkTokens(e,a.walkTokens)).then(()=>e):e).then(e=>t(e,a)).then(e=>a.hooks?a.hooks.postprocess(e):e).catch(o);try{a.hooks&&(n=a.hooks.preprocess(n));let s=e(n,a);a.walkTokens&&this.walkTokens(s,a.walkTokens);let r=t(s,a);return a.hooks&&(r=a.hooks.postprocess(r)),r}catch(e){return o(e)}}}#t(e,t,n){return s=>{if(s.message+=”\nPlease report this to https://github.com/markedjs/marked.”,e){let e=”

    An error occurred:

    "+p(s.message+"",!0)+"
    “;return t?Promise.resolve(e):n?void n(null,e):e}if(t)return Promise.reject(s);if(n)return void n(s);throw s}}}let j=new O;function B(e,t,n){return j.parse(e,t,n)}B.options=B.setOptions=function(e){return j.setOptions(e),B.defaults=j.defaults,r=B.defaults,B},B.getDefaults=s,B.defaults=r,B.use=function(…e){return j.use(…e),B.defaults=j.defaults,r=B.defaults,B},B.walkTokens=function(e,t){return j.walkTokens(e,t)},B.parseInline=j.parseInline,B.Parser=C,B.parser=C.parse,B.Renderer=Z,B.TextRenderer=q,B.Lexer=P,B.lexer=P.lex,B.Tokenizer=T,B.Slugger=L,B.Hooks=D,B.parse=B,B.options,B.setOptions,B.use,B.walkTokens,B.parseInline,C.parse,P.lex}}]); //# sourceMappingURL=48860-0cec4441d4e04630-fa86169a0f10db42.js.map