text: "use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_createClass=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();!function e(t,n,r){function s(a,l){if(!n[a]){if(!t[a]){var o="function"==typeof require&&require;if(!l&&o)return o(a,!0);if(i)return i(a,!0);throw new Error("Cannot find module '"+a+"'")}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return s(n?n:e)},u,u.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)s(r[a]);return s}({1:[function(e,t,n){var r=e("./Renderer.js"),s=e("./defaults.js"),i=s.defaults,a=e("./rules.js"),l=a.inline,o=e("./helpers.js"),u=o.findClosingBracket,c=o.escape;t.exports=function(){function e(t,n){if(_classCallCheck(this,e),this.options=n||i,this.links=t,this.rules=l.normal,this.options.renderer=this.options.renderer||new r,this.renderer=this.options.renderer,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=l.pedantic:this.options.gfm&&(this.options.breaks?this.rules=l.breaks:this.rules=l.gfm)}return _createClass(e,[{key:"output",value:function(t){for(var n="",r=void 0,s=void 0,i=void 0,a=void 0,l=void 0,o=void 0;t;)if(l=this.rules.escape.exec(t))t=t.substring(l[0].length),n+=c(l[1]);else if(l=this.rules.tag.exec(t))!this.inLink&&/^<a /i.test(l[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(l[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(l[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(l[0])&&(this.inRawBlock=!1),t=t.substring(l[0].length),n+=this.renderer.html(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(l[0]):c(l[0]):l[0]);else if(l=this.rules.link.exec(t)){var h=u(l[2],"()");if(h>-1){var p=0===l[0].indexOf("!")?5:4,g=p+l[1].length+h;l[2]=l[2].substring(0,h),l[0]=l[0].substring(0,g).trim(),l[3]=""}t=t.substring(l[0].length),this.inLink=!0,i=l[2],this.options.pedantic?(r=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i),r?(i=r[1],a=r[3]):a=""):a=l[3]?l[3].slice(1,-1):"",i=i.trim().replace(/^<([\s\S]*)>$/,"$1"),n+=this.outputLink(l,{href:e.escapes(i),title:e.escapes(a)}),this.inLink=!1}else if((l=this.rules.reflink.exec(t))||(l=this.rules.nolink.exec(t))){if(t=t.substring(l[0].length),r=(l[2]||l[1]).replace(/\s+/g," "),r=this.links[r.toLowerCase()],!r||!r.href){n+=l[0].charAt(0),t=l[0].substring(1)+t;continue}this.inLink=!0,n+=this.outputLink(l,r),this.inLink=!1}else if(l=this.rules.strong.exec(t))t=t.substring(l[0].length),n+=this.renderer.strong(this.output(l[4]||l[3]||l[2]||l[1]));else if(l=this.rules.em.exec(t))t=t.substring(l[0].length),n+=this.renderer.em(this.output(l[6]||l[5]||l[4]||l[3]||l[2]||l[1]));else if(l=this.rules.code.exec(t))t=t.substring(l[0].length),n+=this.renderer.codespan(c(l[2].trim(),!0));else if(l=this.rules.br.exec(t))t=t.substring(l[0].length),n+=this.renderer.br();else if(l=this.rules.del.exec(t))t=t.substring(l[0].length),n+=this.renderer.del(this.output(l[1]));else if(l=this.rules.autolink.exec(t))t=t.substring(l[0].length),"@"===l[2]?(s=c(this.mangle(l[1])),i="mailto:"+s):(s=c(l[1]),i=s),n+=this.renderer.link(i,null,s);else if(this.inLink||!(l=this.rules.url.exec(t))){if(l=this.rules.text.exec(t))t=t.substring(l[0].length),n+=this.inRawBlock?this.renderer.text(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(l[0]):c(l[0]):l[0]):this.renderer.text(c(this.smartypants(l[0])));else if(t)throw new Error("Infinite loop on byte: "+t.charCodeAt(0))}else{if("@"===l[2])s=c(l[0]),i="mailto:"+s;else{do o=l[0],l[0]=this.rules._backpedal.exec(l[0])[0];while(o!==l[0]);s=c(l[0]),i="www."===l[1]?"http://"+s:s}t=t.substring(l[0].length),n+=this.renderer.link(i,null,s)}return n}},{key:"outputLink",value:function(e,t){var n=t.href,r=t.title?c(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,c(e[1]))}},{key:"smartypants",value:function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e}},{key:"mangle",value:function(e){if(!this.options.mangle)return e;for(var t=e.length,n="",r=0,s=void 0;r<t;r++)s=e.charCodeAt(r),Math.random()>.5&&(s="x"+s.toString(16)),n+="&#"+s+";";return n}}],[{key:"output",value:function(t,n,r){var s=new e(n,r);return s.output(t)}},{key:"escapes",value:function(t){return t?t.replace(e.rules._escapes,"$1"):t}},{key:"rules",get:function(){return l}}]),e}()},{"./Renderer.js":4,"./defaults.js":7,"./helpers.js":8,"./rules.js":10}],2:[function(e,t,n){var r=e("./defaults.js"),s=r.defaults,i=e("./rules.js"),a=i.block,l=e("./helpers.js"),o=l.rtrim,u=l.splitCells,c=l.escape;t.exports=function(){function e(t){_classCallCheck(this,e),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||s,this.rules=a.normal,this.options.pedantic?this.rules=a.pedantic:this.options.gfm&&(this.rules=a.gfm)}return _createClass(e,[{key:"lex",value:function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g,"    "),this.token(e,!0)}},{key:"token",value:function(e,t){e=e.replace(/^ +$/gm,"");for(var n=void 0,r=void 0,s=void 0,i=void 0,l=void 0,h=void 0,p=void 0,g=void 0,f=void 0,d=void 0,m=void 0,k=void 0,b=void 0,v=void 0,x=void 0,y=void 0;e;)if((s=this.rules.newline.exec(e))&&(e=e.substring(s[0].length),s[0].length>1&&this.tokens.push({type:"space"})),s=this.rules.code.exec(e)){var _=this.tokens[this.tokens.length-1];e=e.substring(s[0].length),_&&"paragraph"===_.type?_.text+="\n"+s[0].trimRight():(s=s[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?s:o(s,"\n")}))}else if(s=this.rules.fences.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"code",lang:s[2]?s[2].trim():s[2],text:s[3]||""});else if(s=this.rules.heading.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"heading",depth:s[1].length,text:s[2]});else if((s=this.rules.nptable.exec(e))&&(h={type:"table",header:u(s[1].replace(/^ *| *\| *$/g,"")),align:s[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:s[3]?s[3].replace(/\n$/,"").split("\n"):[]},h.header.length===h.align.length)){for(e=e.substring(s[0].length),m=0;m<h.align.length;m++)/^ *-+: *$/.test(h.align[m])?h.align[m]="right":/^ *:-+: *$/.test(h.align[m])?h.align[m]="center":/^ *:-+ *$/.test(h.align[m])?h.align[m]="left":h.align[m]=null;for(m=0;m<h.cells.length;m++)h.cells[m]=u(h.cells[m],h.header.length);this.tokens.push(h)}else if(s=this.rules.hr.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"hr"});else if(s=this.rules.blockquote.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"blockquote_start"}),s=s[0].replace(/^ *> ?/gm,""),this.token(s,t),this.tokens.push({type:"blockquote_end"});else if(s=this.rules.list.exec(e)){for(e=e.substring(s[0].length),i=s[2],v=i.length>1,p={type:"list_start",ordered:v,start:v?+i:"",loose:!1},this.tokens.push(p),s=s[0].match(this.rules.item),g=[],n=!1,b=s.length,m=0;m<b;m++)h=s[m],d=h.length,h=h.replace(/^ *([*+-]|\d+\.) */,""),~h.indexOf("\n ")&&(d-=h.length,h=this.options.pedantic?h.replace(/^ {1,4}/gm,""):h.replace(new RegExp("^ {1,"+d+"}","gm"),"")),m!==b-1&&(l=a.bullet.exec(s[m+1])[0],(i.length>1?1===l.length:l.length>1||this.options.smartLists&&l!==i)&&(e=s.slice(m+1).join("\n")+e,m=b-1)),r=n||/\n\n(?!\s*$)/.test(h),m!==b-1&&(n="\n"===h.charAt(h.length-1),r||(r=n)),r&&(p.loose=!0),x=/^\[[ xX]\] /.test(h),y=void 0,x&&(y=" "!==h[1],h=h.replace(/^\[[ xX]\] +/,"")),f={type:"list_item_start",task:x,checked:y,loose:r},g.push(f),this.tokens.push(f),this.token(h,!1),this.tokens.push({type:"list_item_end"});if(p.loose)for(b=g.length,m=0;m<b;m++)g[m].loose=!0;this.tokens.push({type:"list_end"})}else if(s=this.rules.html.exec(e))e=e.substring(s[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===s[1]||"script"===s[1]||"style"===s[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(s[0]):c(s[0]):s[0]});else if(t&&(s=this.rules.def.exec(e)))e=e.substring(s[0].length),s[3]&&(s[3]=s[3].substring(1,s[3].length-1)),k=s[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[k]||(this.tokens.links[k]={href:s[2],title:s[3]});else if((s=this.rules.table.exec(e))&&(h={type:"table",header:u(s[1].replace(/^ *| *\| *$/g,"")),align:s[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:s[3]?s[3].replace(/\n$/,"").split("\n"):[]},h.header.length===h.align.length)){for(e=e.substring(s[0].length),m=0;m<h.align.length;m++)/^ *-+: *$/.test(h.align[m])?h.align[m]="right":/^ *:-+: *$/.test(h.align[m])?h.align[m]="center":/^ *:-+ *$/.test(h.align[m])?h.align[m]="left":h.align[m]=null;for(m=0;m<h.cells.length;m++)h.cells[m]=u(h.cells[m].replace(/^ *\| *| *\| *$/g,""),h.header.length);this.tokens.push(h)}else if(s=this.rules.lheading.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"heading",depth:"="===s[2].charAt(0)?1:2,text:s[1]});else if(t&&(s=this.rules.paragraph.exec(e)))e=e.substring(s[0].length),this.tokens.push({type:"paragraph",text:"\n"===s[1].charAt(s[1].length-1)?s[1].slice(0,-1):s[1]});else if(s=this.rules.text.exec(e))e=e.substring(s[0].length),this.tokens.push({type:"text",text:s[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens}}],[{key:"lex",value:function(t,n){var r=new e(n);return r.lex(t)}},{key:"rules",get:function(){return a}}]),e}()},{"./defaults.js":7,"./helpers.js":8,"./rules.js":10}],3:[function(e,t,n){var r=e("./Renderer.js"),s=e("./Slugger.js"),i=e("./InlineLexer.js"),a=e("./TextRenderer.js"),l=e("./defaults.js"),o=l.defaults,u=e("./helpers.js"),c=u.merge,h=u.unescape;t.exports=function(){function e(t){_classCallCheck(this,e),this.tokens=[],this.token=null,this.options=t||o,this.options.renderer=this.options.renderer||new r,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new s}return _createClass(e,[{key:"parse",value:function(e){this.inline=new i(e.links,this.options),this.inlineText=new i(e.links,c({},this.options,{renderer:new a})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t}},{key:"next",value:function(){return this.token=this.tokens.pop(),this.token}},{key:"peek",value:function(){return this.tokens[this.tokens.length-1]||0}},{key:"parseText",value:function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)}},{key:"tok",value:function(){var e="";switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,h(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var t="",n=void 0,r=void 0,s=void 0,i=void 0;for(s="",n=0;n<this.token.header.length;n++)s+=this.renderer.tablecell(this.inline.output(this.token.header[n]),{header:!0,align:this.token.align[n]});for(t+=this.renderer.tablerow(s),n=0;n<this.token.cells.length;n++){for(r=this.token.cells[n],s="",i=0;i<r.length;i++)s+=this.renderer.tablecell(this.inline.output(r[i]),{header:!1,align:this.token.align[i]});e+=this.renderer.tablerow(s)}return this.renderer.table(t,e);case"blockquote_start":for(e="";"blockquote_end"!==this.next().type;)e+=this.tok();return this.renderer.blockquote(e);case"list_start":e="";for(var a=this.token.ordered,l=this.token.start;"list_end"!==this.next().type;)e+=this.tok();return this.renderer.list(e,a,l);case"list_item_start":e="";var o=this.token.loose,u=this.token.checked,c=this.token.task;if(this.token.task)if(o)if("text"===this.peek().type){var p=this.peek();p.text=this.renderer.checkbox(u)+" "+p.text}else this.tokens.push({type:"text",text:this.renderer.checkbox(u)});else e+=this.renderer.checkbox(u);for(;"list_item_end"!==this.next().type;)e+=o||"text"!==this.token.type?this.tok():this.parseText();return this.renderer.listitem(e,c,u);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText());default:var g='Token with "'+this.token.type+'" type was not found.';if(!this.options.silent)throw new Error(g);console.log(g)}}}],[{key:"parse",value:function(t,n){var r=new e(n);return r.parse(t)}}]),e}()},{"./InlineLexer.js":1,"./Renderer.js":4,"./Slugger.js":5,"./TextRenderer.js":6,"./defaults.js":7,"./helpers.js":8}],4:[function(e,t,n){var r=e("./defaults.js"),s=r.defaults,i=e("./helpers.js"),a=i.cleanUrl,l=i.escape;t.exports=function(){function e(t){_classCallCheck(this,e),this.options=t||s}return _createClass(e,[{key:"code",value:function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var s=this.options.highlight(e,r);null!=s&&s!==e&&(n=!0,e=s)}return r?'<pre><code class="'+this.options.langPrefix+l(r,!0)+'">'+(n?e:l(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:l(e,!0))+"</code></pre>"}},{key:"blockquote",value:function(e){return"<blockquote>\n"+e+"</blockquote>\n"}},{key:"html",value:function(e){return e}},{key:"heading",value:function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}},{key:"hr",value:function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}},{key:"list",value:function(e,t,n){var r=t?"ol":"ul",s=t&&1!==n?' start="'+n+'"':"";return"<"+r+s+">\n"+e+"</"+r+">\n"}},{key:"listitem",value:function(e){return"<li>"+e+"</li>\n"}},{key:"checkbox",value:function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}},{key:"paragraph",value:function(e){return"<p>"+e+"</p>\n"}},{key:"table",value:function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}},{key:"tablerow",value:function(e){return"<tr>\n"+e+"</tr>\n"}},{key:"tablecell",value:function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' align="'+t.align+'">':"<"+n+">";return r+e+"</"+n+">\n"}},{key:"strong",value:function(e){return"<strong>"+e+"</strong>"}},{key:"em",value:function(e){return"<em>"+e+"</em>"}},{key:"codespan",value:function(e){return"<code>"+e+"</code>"}},{key:"br",value:function(){return this.options.xhtml?"<br/>":"<br>"}},{key:"del",value:function(e){return"<del>"+e+"</del>"}},{key:"link",value:function(e,t,n){if(e=a(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='<a href="'+l(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"}},{key:"image",value:function(e,t,n){if(e=a(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"}},{key:"text",value:function(e){return e}}]),e}()},{"./defaults.js":7,"./helpers.js":8}],5:[function(e,t,n){t.exports=function(){function e(){_classCallCheck(this,e),this.seen={}}return _createClass(e,[{key:"slug",value:function t(e){var t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,.\/:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do this.seen[n]++,t=n+"-"+this.seen[n];while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t}}]),e}()},{}],6:[function(e,t,n){t.exports=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"strong",value:function(e){return e}},{key:"em",value:function(e){return e}},{key:"codespan",value:function(e){return e}},{key:"del",value:function(e){return e}},{key:"html",value:function(e){return e}},{key:"text",value:function(e){return e}},{key:"link",value:function(e,t,n){return""+n}},{key:"image",value:function(e,t,n){return""+n}},{key:"br",value:function(){return""}}]),e}()},{}],7:[function(e,t,n){function r(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}}function s(e){t.exports.defaults=e}t.exports={defaults:r(),getDefaults:r,changeDefaults:s}},{}],8:[function(e,t,n){function r(e,t){if(t){if(g.test(e))return e.replace(f,b)}else if(d.test(e))return e.replace(m,b);return e}function s(e){return e.replace(v,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function i(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=r.source||r,r=r.replace(x,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n}function a(e,t,n){if(e){var r=void 0;try{r=decodeURIComponent(s(n)).replace(y,"").toLowerCase()}catch(i){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!_.test(n)&&(n=l(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n}function l(e,t){$[" "+e]||(w.test(e)?$[" "+e]=e+"/":$[" "+e]=c(e,"/",!0)),e=$[" "+e];var n=e.indexOf(":")===-1;return"//"===t.substring(0,2)?n?t:e.replace(S,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(j,"$1")+t:e+t}function o(e){for(var t=1,n=void 0,r=void 0;t<arguments.length;t++){n=arguments[t];for(r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}function u(e,t){var n=e.replace(/\|/g,function(e,t,n){for(var r=!1,s=t;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"}),r=n.split(/ \|/),s=0;if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;s<r.length;s++)r[s]=r[s].trim().replace(/\\\|/g,"|");return r}function c(e,t,n){var r=e.length;if(0===r)return"";for(var s=0;s<r;){var i=e.charAt(r-s-1);if(i!==t||n){if(i===t||!n)break;s++}else s++}return e.substr(0,r-s)}function h(e,t){if(e.indexOf(t[1])===-1)return-1;for(var n=e.length,r=0,s=0;s<n;s++)if("\\"===e[s])s++;else if(e[s]===t[0])r++;else if(e[s]===t[1]&&(r--,r<0))return s;return-1}function p(e){e&&e.sanitize&&!e.silent&&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")}var g=/[&<>"']/,f=/[&<>"']/g,d=/[<>"']|&(?!#?\w+;)/,m=/[<>"']|&(?!#?\w+;)/g,k={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},b=function(e){return k[e]},v=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,x=/(^|[^\[])\^/g,y=/[^\w:]/g,_=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,$={},w=/^[^:]+:\/*[^\/]*$/,S=/^([^:]+:)[\s\S]*$/,j=/^([^:]+:\/*[^\/]*)[\s\S]*$/,z={exec:function(){}};t.exports={escape:r,unescape:s,edit:i,cleanUrl:a,resolveUrl:l,noopTest:z,merge:o,splitCells:u,rtrim:c,findClosingBracket:h,checkSanitizeDeprecation:p}},{}],9:[function(e,t,n){function r(e,t,n){if("undefined"==typeof e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){var a=function(){n||(n=t,t=null),t=h({},r.defaults,t||{}),p(t);var a=t.highlight,l=void 0,o=void 0,u=0;try{l=s.lex(e,t)}catch(c){return{v:n(c)}}o=l.length;var g=function(e){if(e)return t.highlight=a,n(e);var r=void 0;try{r=i.parse(l,t)}catch(s){e=s}return t.highlight=a,e?n(e):n(null,r)};if(!a||a.length<3)return{v:g()};if(delete t.highlight,!o)return{v:g()};for(;u<l.length;u++)!function(e){return"code"!==e.type?--o||g():a(e.text,e.lang,function(t,n){return t?g(t):null==n||n===e.text?--o||g():(e.text=n,e.escaped=!0,void(--o||g()))})}(l[u]);return{v:void 0}}();if("object"===("undefined"==typeof a?"undefined":_typeof(a)))return a.v}try{return t=h({},r.defaults,t||{}),p(t),i.parse(s.lex(e,t),t)}catch(l){if(l.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||r.defaults).silent)return"<p>An error occurred:</p><pre>"+g(l.message+"",!0)+"</pre>";throw l}}var s=e("./Lexer.js"),i=e("./Parser.js"),a=e("./Renderer.js"),l=e("./TextRenderer.js"),o=e("./InlineLexer.js"),u=e("./Slugger.js"),c=e("./helpers.js"),h=c.merge,p=c.checkSanitizeDeprecation,g=c.escape,f=e("./defaults.js"),d=f.getDefaults,m=f.changeDefaults,k=f.defaults;r.options=r.setOptions=function(e){return h(r.defaults,e),m(r.defaults),r},r.getDefaults=d,r.defaults=k,r.Parser=i,r.parser=i.parse,r.Renderer=a,r.TextRenderer=l,r.Lexer=s,r.lexer=s.lex,r.InlineLexer=o,r.inlineLexer=o.output,r.Slugger=u,r.parse=r,t.exports=r},{"./InlineLexer.js":1,"./Lexer.js":2,"./Parser.js":3,"./Renderer.js":4,"./Slugger.js":5,"./TextRenderer.js":6,"./defaults.js":7,"./helpers.js":8}],10:[function(e,t,n){var r=e("./helpers.js"),s=r.noopTest,i=r.edit,a=r.merge,l={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:s,table:s,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};l._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,l._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,l.def=i(l.def).replace("label",l._label).replace("title",l._title).getRegex(),l.bullet=/(?:[*+-]|\d{1,9}\.)/,l.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,l.item=i(l.item,"gm").replace(/bull/g,l.bullet).getRegex(),l.list=i(l.list).replace(/bull/g,l.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+l.def.source+")").getRegex(),l._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",l._comment=/<!--(?!-?>)[\s\S]*?-->/,l.html=i(l.html,"i").replace("comment",l._comment).replace("tag",l._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),l.paragraph=i(l._paragraph).replace("hr",l.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",l._tag).getRegex(),l.blockquote=i(l.blockquote).replace("paragraph",l.paragraph).getRegex(),l.normal=a({},l),l.gfm=a({},l.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),l.gfm.nptable=i(l.gfm.nptable).replace("hr",l.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","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",l._tag).getRegex(),l.gfm.table=i(l.gfm.table).replace("hr",l.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","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",l._tag).getRegex(),l.pedantic=a({},l.normal,{html:i("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",l._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:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:s,paragraph:i(l.normal._paragraph).replace("hr",l.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",l.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var o={escape:/^\\([!"#$%&'()*+,\-.\/:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:s,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:s,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/};o._punctuation="!\"#$%&'()*+,\\-./:;<=>?@\\[^_{|}~",o.em=i(o.em).replace(/punctuation/g,o._punctuation).getRegex(),o._escapes=/\\([!"#$%&'()*+,\-.\/:;<=>?@\[\]\\^_`{|}~])/g,o._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,o._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])?)+(?![-_])/,o.autolink=i(o.autolink).replace("scheme",o._scheme).replace("email",o._email).getRegex(),o._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,o.tag=i(o.tag).replace("comment",l._comment).replace("attribute",o._attribute).getRegex(),o._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,o._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,o._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,o.link=i(o.link).replace("label",o._label).replace("href",o._href).replace("title",o._title).getRegex(),o.reflink=i(o.reflink).replace("label",o._label).getRegex(),o.normal=a({},o),o.pedantic=a({},o.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:i(/^!?\[(label)\]\((.*?)\)/).replace("label",o._label).getRegex(),reflink:i(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",o._label).getRegex()}),o.gfm=a({},o.normal,{escape:i(o.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)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),o.gfm.url=i(o.gfm.url,"i").replace("email",o.gfm._extended_email).getRegex(),o.breaks=a({},o.gfm,{br:i(o.br).replace("{2,}","*").getRegex(),text:i(o.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),t.exports={block:l,inline:o}},{"./helpers.js":8}],11:[function(e,t,n){!function(e,r){"function"==typeof define&&define.amd?define(r):"object"===("undefined"==typeof n?"undefined":_typeof(n))?t.exports=r():e.NProgress=r()}(this,function(){function e(e,t,n){return e<t?t:e>n?n:e}function t(e){return 100*(-1+e)}function n(e,n,r){var s;return s="translate3d"===u.positionUsing?{transform:"translate3d("+t(e)+"%,0,0)"}:"translate"===u.positionUsing?{transform:"translate("+t(e)+"%,0)"}:{"margin-left":t(e)+"%"},s.transition="all "+n+"ms "+r,s}function r(e,t){var n="string"==typeof e?e:a(e);return n.indexOf(" "+t+" ")>=0}function s(e,t){var n=a(e),s=n+t;r(n,t)||(e.className=s.substring(1))}function i(e,t){var n,s=a(e);r(e,t)&&(n=s.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function a(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function l(e){e&&e.parentNode&&e.parentNode.removeChild(e)}var o={};o.version="0.2.0";var u=o.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};o.configure=function(e){var t,n;for(t in e)n=e[t],void 0!==n&&e.hasOwnProperty(t)&&(u[t]=n);return this},o.status=null,o.set=function(t){var r=o.isStarted();t=e(t,u.minimum,1),o.status=1===t?null:t;var s=o.render(!r),i=s.querySelector(u.barSelector),a=u.speed,l=u.easing;return s.offsetWidth,c(function(e){""===u.positionUsing&&(u.positionUsing=o.getPositioningCSS()),h(i,n(t,a,l)),1===t?(h(s,{transition:"none",opacity:1}),s.offsetWidth,setTimeout(function(){h(s,{transition:"all "+a+"ms linear",opacity:0}),setTimeout(function(){o.remove(),e()},a)},a)):setTimeout(e,a)}),this},o.isStarted=function(){return"number"==typeof o.status},o.start=function(){o.status||o.set(0);var e=function t(){setTimeout(function(){o.status&&(o.trickle(),t())},u.trickleSpeed)};return u.trickle&&e(),this},o.done=function(e){return e||o.status?o.inc(.3+.5*Math.random()).set(1):this},o.inc=function(t){var n=o.status;return n?("number"!=typeof t&&(t=(1-n)*e(Math.random()*n,.1,.95)),n=e(n+t,0,.994),o.set(n)):o.start()},o.trickle=function(){return o.inc(Math.random()*u.trickleRate)},function(){var e=0,t=0;o.promise=function(n){return n&&"resolved"!==n.state()?(0===t&&o.start(),e++,t++,n.always(function(){t--,0===t?(e=0,o.done()):o.set((e-t)/e)}),this):this}}(),o.render=function(e){if(o.isRendered())return document.getElementById("nprogress");s(document.documentElement,"nprogress-busy");var n=document.createElement("div");n.id="nprogress",n.innerHTML=u.template;var r,i=n.querySelector(u.barSelector),a=e?"-100":t(o.status||0),c=document.querySelector(u.parent);return h(i,{transition:"all 0 linear",transform:"translate3d("+a+"%,0,0)"}),u.showSpinner||(r=n.querySelector(u.spinnerSelector),r&&l(r)),c!=document.body&&s(c,"nprogress-custom-parent"),c.appendChild(n),n},o.remove=function(){i(document.documentElement,"nprogress-busy"),i(document.querySelector(u.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&l(e)},o.isRendered=function(){return!!document.getElementById("nprogress")},o.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";
  return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var c=function(){function e(){var n=t.shift();n&&n(e)}var t=[];return function(n){t.push(n),1==t.length&&e()}}(),h=function(){function e(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})}function t(e){var t=document.body.style;if(e in t)return e;for(var n,r=s.length,i=e.charAt(0).toUpperCase()+e.slice(1);r--;)if(n=s[r]+i,n in t)return n;return e}function n(n){return n=e(n),i[n]||(i[n]=t(n))}function r(e,t,r){t=n(t),e.style[t]=r}var s=["Webkit","O","Moz","ms"],i={};return function(e,t){var n,s,i=arguments;if(2==i.length)for(n in t)s=t[n],void 0!==s&&t.hasOwnProperty(n)&&r(e,n,s);else r(e,i[1],i[2])}}();return o})},{}],12:[function(e,t,n){var r=e("marked"),s=e("nprogress");$(function(){function e(){return $("#tag-form").serialize()}function t(){$("#slug").val(Postleaf.Slug($("#slug").val()))}function n(){var e=$("#slug").val(),t=$.trim($("#name").val()),n=$(r($.trim($("#description").val()))).text(),s=$.trim($("#meta-title").val()),i=$.trim($("#meta-description").val());$(".search-engine-preview .slug").text(e),$(".search-engine-preview-title").text(s||t),$(".search-engine-preview-description").text(i||n)}var i=$("#tag-form").attr("data-changes-saved"),a=e(),l=$("#tag-form").attr("data-create-action"),o=$("#tag-form").attr("data-save-confirmation"),u=$("#tag-form").attr("data-tag-created"),c=$("#tag-form").attr("data-tag-id"),h=$("#tag-form").attr("data-update-action");$("#name").on("change paste",function(){$("#slug").val()||$("#slug").val(Postleaf.Slug(this.value))}),$("#slug").on("change paste",t),$(".image-control").imageControl().on("uploadProgress.imageControl",function(e,t){return s.set(.9*t)}).on("uploadComplete.imageControl",function(){return s.done(!1)}),$("#name, #description, #slug, #meta-title, #meta-description").on("change keyup paste",n),n(),$("#tag-form").ajaxSubmit({url:function(){return c?h.replace(":id",c):l},method:function(){return c?"PUT":"POST"},before:s.start,after:s.done,error:function(e){e.message&&$.announce.warning(e.message)},success:function(t){if(t.tag){var n=c?i:u.replace(":name",t.tag.name);$.announce.success(n),c=t.tag.id,a=e()}}}),$("[data-save]").on("click",function(){return $("#tag-form").submit()}),$("#sidebar").find('[data-toggle="tab"]').on("show.bs.tab",function(){var e=this.href;0===$(this).index()&&(e=e.split("#")[0]),window.history.replaceState({},"",e)}),location.hash&&$("#sidebar").find('[data-toggle="tab"][href="'+location.hash+'"]').each(function(){$(this).tab("show")}),window.onbeforeunload=function(){if(e()!==a)return o}})},{marked:9,nprogress:11}]},{},[12]);