(window.webpackJsonpVditor=window.webpackJsonpVditor||[]).push([[1],{25:function(e,n){},26:function(e,n,t){"use strict";functionr(e,n){returnArray(n+1).join(e)}t.r(n);vari=["address","article","aside","audio","blockquote","body","canvas","center","dd","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frameset","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","isindex","li","main","menu","nav","noframes","noscript","ol","output","p","pre","section","table","tbody","td","tfoot","th","thead","tr","ul"];functiono(e){return-1!==i.indexOf(e.nodeName.toLowerCase())}vara=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];functionl(e){return-1!==a.indexOf(e.nodeName.toLowerCase())}varu=a.join();varc={};functions(e){for(varninthis.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[],e.rules)this.array.push(e.rules[n])}functionf(e,n,t){for(varr=0;r<e.length;r++){vari=e[r];if(d(i,n,t))returni}}functiond(e,n,t){varr=e.filter;if("string"==typeofr){if(r===n.nodeName.toLowerCase())return!0}elseif(Array.isArray(r)){if(r.indexOf(n.nodeName.toLowerCase())>-1)return!0}else{if("function"!=typeofr)thrownewTypeError("`filter` needs to be a string, array, or function");if(r.call(e,n,t))return!0}}functionp(e){varn=e.nextSibling||e.parentNode;returne.parentNode.removeChild(e),n}functionh(e,n,t){returne&&e.parentNode===n||t(n)?n.nextSibling||n.parentNode:n.firstChild||n.nextSibling||n.parentNode}c.paragraph={filter:"p",replacement:function(e){return"\n\n"+e+"\n\n"}},c.lineBreak={filter:"br",replacement:function(e,n,t){returnt.br+"\n"}},c.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(e,n,t){vari=Number(n.nodeName.charAt(1));return"setext"===t.headingStyle&&i<3?"\n\n"+e+"\n"+r(1===i?"=":"-",e.length)+"\n\n":"\n\n"+r("#",i)+""+e+"\n\n"}},c.blockquote={filter:"blockquote",replacement:function(e){return"\n\n"+(e=(e=e.replace(/^\n+|\n+$/g,"")).replace(/^/gm,"> "))+"\n\n"}},c.list={filter:["ul","ol"],replacement:function(e,n){vart=n.parentNode;return"LI"===t.nodeName&&t.lastElementChild===n?"\n"+e:"\n\n"+e+"\n\n"}},c.listItem={filter:"li",replacement:function(e,n,t){e=e.replace(/^\n+/,"").replace(/\n+$/,"\n").replace(/\n/gm,"\n");varr=t.bulletListMarker+"",i=n.parentNode;if("OL"===i.nodeName){varo=i.getAttribute("start"),a=Array.prototype.indexOf.call(i.children,n);r=(o?Number(o)+a:a+1)+". "}returnr+e+(n.nextSibling&&!/\n$/.test(e)?"\n":"")}},c.indentedCodeBlock={filter:function(e,n){return"indented"===n.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,n,t){return"\n\n"+n.firstChild.textContent.replace(/\n/g,"\n")+"\n\n"}},c.fencedCodeBlock={filter:function(e,n){return"fenced"===n.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,n,t){varr=((n.firstChild.className||"").match(/language-(\S+)/)||[null,""])[1];return"\n\n"+t.fence+r+"\n"+n.firstChild.textContent+"\n"+t.fence+"\n\n"}},c.horizontalRule={filter:"hr",replacement:function(e,n,t){return"\n\n"+t.hr+"\n\n"}},c.inlineLink={filter:function(e,n){return"inlined"===n.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,n){return"["+e+"]("+n.getAttribute("href")+(n.title?' "'+n.title+'"':"")+")"}},c.referenceLink={filter:function(e,n){return"referenced"===n.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,n,t){varr,i,o=n.getAttribute("href"),a=n.title?' "'+n.title+'"':"";switch(t.linkReferenceStyle){case"collapsed":r="["+e+"][]",i="["+e+"]: "+o+a;break;case"shortcut":r="["+e+"]",i="["+e+"]: "+o+a;break;default:varl=this.references.length+1;r="["+e+"]["+l+"]",i="["+l+"]: "+o+a}returnthis.references.push(i),r},references:[],append:function(e){varn="";returnthis.references.length&&(n="\n\n"+this.references.join("\n")+"\n\n",this.references=[]),n}},c.emphasis={filter:["em","i"],replacement:function(e,n,t){returne.trim()?t.emDelimiter+e+t.emDelimiter:""}},c.strong={filter:["strong","b"],replacement:function(e,n,t){returne.trim()?t.strongDelimiter+e+t.strongDelimiter:""}},c.code={filter:function(e){varn=e.previousSibling||e.nextSibling,t="PRE"===e.parentNode.nodeName&&!n;return"CODE"===e.nodeName&&!t},replacement:function(e){if(!e.trim())return"";varn="`",t="",r="",i=e.match(/`+/gm);if(i)for(/^`/.test(e)&&(t=""),/`$/.test(e)&&(r="");-1!==i.indexOf(n);)n+="`";returnn+t+e+r+n}},c.image={filter:"img",replacement:function(e,n){vart=n.alt||"",r=n.getAttribute("src")||"",i=n.title||"";returnr?"+")":""}},s.prototype={add:function(e,n){this.array.unshift(n)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return""}})},forNode:function(e){returne.isBlank?this.blankRule:(n=f(this.array,e,this.options))?n:(n=f(this._keep,e,this.options))?n:(n=f(this._remove,e,this.options))?n:this.defaultRule;varn},forEach:function(e){for(varn=0;n<this.array.length;n++)e(this.array[n],n)}};varm="undefined"!=typeofwindow?window:{};varg,y,v,k=function(){vare=m.DOMParser,n=!1;try{(newe).parseFromString("","text/html")&&(n=!0)}catch(e){}returnn}()?m.DOMParser:(g=function(){},y=t(25).JSDOM,g.prototype.parseFromString=function(e){returnnewy(e).window.document},g);functionb(e){varn;"string"==typeofe?n=(v=v||newk).parseFromString('<x-turndown id="turndown-root">'+e+"</x-turndown>","text/html").getElementById("turndown-root"):n=e.cloneNode(!0);returnfunction(e){varn=e.element,t=e.isBlock,r=e.isVoid,i=e.isPre||function(e){return"PRE"===e.nodeName};if(n.firstChild&&!i(n)){for(varo=null,a=!1,l=null,u=h(l,n,i);u!==n;){if(3===u.nodeType||4===u.nodeType){varc=u.data.replace(/[\r\n\t]+/g,"");if(o&&!/ $/.test(o.data)||a||""!==c[0]||(c=c.substr(1)),!c){u=p(u);continue}u.data=c,o=u}else{if(1!==u.nodeType){u=p(u);continue}t(u)||"BR"===u.nodeName?(o&&(o.data=o.data.replace(/ $/,"")),o=null,a=!1):r(u)&&(o=null,a=!0)}vars=h(l,u,i);l=u,u=s}o&&(o.data=o.data.replace(/ $/,""),o.data||p(o))}}({element:n,isBlock:o,isVoid:l}),n}functionw(e){returne.isBlock=o(e),e.isCode="code"===e.nodeName.toLowerCase()||e.parentNode.isCode,e.isBlank=function(e){return-1===["A","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"].indexOf(e.nodeName)&&/^\s*$/i.test(e.textContent)&&!l(e)&&!function(e){returne.querySelector&&e.querySelector(u)}(e)}(e),e.flankingWhitespace=function(e){varn="",t="";if(!e.isBlock){varr=/^[\r\n\t]/.test(e.textContent),i=/[\r\n\t]$/.test(e.textContent);r&&!N("left",e)&&(n=""),i&&!N("right",e)&&(t="")}return{leading:n,trailing:t}}(e),e}functionN(e,n){vart,r,i;return"left"===e?(t=n.previousSibling,r=/ $/):(t=n.nextSibling,r=/^ /),t&&(3===t.nodeType?i=r.test(t.nodeValue):1!==t.nodeType||o(t)||(i=r.test(t.textContent))),i}varC=Array.prototype.reduce,S=/^\n*/,x=/\n*$/,R=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];functionA(e){if(!(thisinstanceofA))returnnewA(e);varn={rules:c,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:"",blankReplacement:function(e,n){returnn.isBlock?"\n\n":""},keepReplacement:function(e,n){returnn.isBlock?"\n\n"+n.outerHTML+"\n\n":n.outerHTML},defaultReplacement:function(e,n){returnn.isBlock?"\n\n"+e+"\n\n":e}};this.options=function(e){for(varn=1;n<arguments.length;n++){vart=arguments[n];for(varrint)t.hasOwnProperty(r)&&(e[r]=t[r])}returne}({},n,e),this.rules=news(this.options)}functionT(e){varn=this;returnC.call(e.childNodes,function(e,t){varr="";return3===(t=neww(t)).nodeType?r=t.isCode?t.nodeValue:n.escape(t.nodeValue):1===t.nodeType&&(r=function(e){varn=this.rules.forNode(e),t=T.call(this,e),r=e.flankingWhitespace;(r.leading||r.trailing)&&(t=t.trim());returnr.leading+n.replacement(t,e,this.options)+r.trailing}.call(n,t)),B(e,r)},"")}functionB(e,n){vart,r,i,o=(t=n,r=[e.match(x)[0],t.match(S)[0]].sort(),(i=r[r.length-1]).length<2?i:"\n\n");return(e=e.replace(x,""))+o+(n=n.replace(S,""))}A.prototype={turndown:function(e){if(!function(e){returnnull!=e&&("string"==typeofe||e.nodeType&&(1===e.nodeType||9===e.nodeType||11===e.nodeType))}(e))thrownewTypeError(e+" is not a string, or an element/document/fragment node.");if(""===e)return"";varn=T.call(this,newb(e));returnfunction(e){varn=this;returnthis.rules.forEach(function(t){"function"==typeoft.append&&(e=B(e,t.append(n.options)))}),e.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}.call(this,n)},use:function(e){if(Array.isArray(e))for(varn=0;n<e.length;n++)this.use(e[n]);else{if("function"!=typeofe)thrownewTypeError("plugin must be a Function or an Array of Functions");e(this)}returnthis},addRule:function(e,n){returnthis.rules.add(e,n),this},keep:function(e){returnthis.rules.keep(e),this},remove:function(e){returnthis.rules.remove(e),this},escape:function(e){returnR.reduce(function(e,n){returne.replace(n[0],n[1])},e)}},n.default=A}}]);