mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
57 lines
256 KiB
JavaScript
Vendored
57 lines
256 KiB
JavaScript
Vendored
import{c as xt,g as Ct,_ as qe,i as ut,r as Me,a as Fe}from"./@babel.f9bcab46.js";import{r as Zt}from"./vue.fd9b772e.js";import{c as ze}from"./copy-to-clipboard.a53c061d.js";var Xt={exports:{}};(function(F,R){(function(x,g){F.exports=g(Zt)})(typeof self!="undefined"?self:xt,function(x){return function(g){var a={};function e(t){if(a[t])return a[t].exports;var r=a[t]={i:t,l:!1,exports:{}};return g[t].call(r.exports,r,r.exports,e),r.l=!0,r.exports}return e.m=g,e.c=a,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r||4&r&&typeof t=="object"&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&typeof t!="string")for(var s in t)e.d(n,s,function(o){return t[o]}.bind(null,s));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=10)}([,function(g,a,e){e.d(a,"e",function(){return r}),e.d(a,"a",function(){return s}),e.d(a,"c",function(){return o}),e.d(a,"d",function(){return i}),e.d(a,"b",function(){return u});var t=Object.prototype.toString,r=function(l){return t.call(l)==="[object Object]"};function n(l,f){return Object.keys(f).forEach(function(c){l[c]=f[c]}),l}function s(l){for(var f={},c=0;c<l.length;c++)l[c]&&n(f,l[c]);return f}function o(l,f){f.keys().forEach(function(c){l[c]=f(c)})}function i(l){return/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(l)}function u(l){var f,c,p=l.selected,d=l.InsertGetter,h=l.selectedGetter,m=h===void 0?function(y){return y}:h,b=l.ignoreEmptyLine,A=b===void 0||b;return p?(c=m(p),f=d(p,1),p.indexOf(`
|
|
`)!==-1&&(c=f=p.split(`
|
|
`).map(function(y,w){return A&&!y?"":d(y,w+1).replace(m(null),"")}).join(`
|
|
`))):(f=d(null,1),c=m(p)),{insertContent:f,newSelected:c}}},function(g,a,e){function t(r,n,s,o,i,u,l,f){var c,p=typeof r=="function"?r.options:r;if(n&&(p.render=n,p.staticRenderFns=s,p._compiled=!0),o&&(p.functional=!0),u&&(p._scopeId="data-v-"+u),l?(c=function(m){(m=m||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||typeof __VUE_SSR_CONTEXT__=="undefined"||(m=__VUE_SSR_CONTEXT__),i&&i.call(this,m),m&&m._registeredComponents&&m._registeredComponents.add(l)},p._ssrRegister=c):i&&(c=f?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(p.functional){p._injectStyles=c;var d=p.render;p.render=function(m,b){return c.call(b),d(m,b)}}else{var h=p.beforeCreate;p.beforeCreate=h?[].concat(h,c):[c]}return{exports:r,options:p}}e.d(a,"a",function(){return t})},function(g,a,e){e.d(a,"c",function(){return t}),e.d(a,"b",function(){return r}),e.d(a,"a",function(){return n});var t="data-v-md-line",r="data-v-md-heading",n="data-v-md-anchor"},,function(g,a,e){function t(){return(t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var s=arguments[n];for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(r[o]=s[o])}return r}).apply(this,arguments)}e.d(a,"a",function(){return t})},function(g,a,e){function t(n){var s=0;return n===window?s=n.pageYOffset:n&&(s=n.scrollTop),s}function r(n,s){n===window?window.scrollTo(window.pageYOffset,s):n&&(n.scrollTop=s)}e.d(a,"a",function(){return t}),e.d(a,"b",function(){return r})},function(g,a,e){var t=e(5),r=e(12),n=e.n(r),s={svg:[],altGlyph:[],altGlyphDef:[],altGlyphItem:[],animate:[],animateColor:[],animateMotion:[],animateTransform:[],circle:[],clipPath:[],"color-profile":[],cursor:[],"definition-src":[],defs:[],desc:[],ellipse:[],feBlend:[],feColorMatrix:[],feComponentTransfer:[],feComposite:[],feConvolveMatrix:[],feDiffuseLighting:[],feDisplacementMap:[],feDistantLight:[],feFlood:[],feFuncA:[],feFuncB:[],feFuncG:[],feFuncR:[],feGaussianBlur:[],feImage:[],feMerge:[],feMergeNode:[],feMorphology:[],feOffset:[],fePointLight:[],feSpecularLighting:[],feSpotLight:[],feTile:[],feTurbulence:[],filter:[],font:[],foreignObject:[],g:[],glyph:[],glyphRef:[],hkern:[],image:[],line:[],linearGradient:[],marker:[],mask:[],metadata:[],"missing-glyph":[],mpath:[],path:[],pattern:[],polygon:[],polyline:[],radialGradient:[],rect:[],set:[],stop:[],style:[],switch:[],symbol:[],text:[],textPath:[],title:[],tref:[],tspan:[],use:[],view:[],vkern:[]},o={math:[],annotation:[],semantics:[],mtext:[],mn:[],mo:[],mi:[],mspace:[],mover:[],munder:[],munderover:[],msup:[],msub:[],msubsup:[],mfrac:[],mroot:[],msqrt:[],mtable:[],mtr:[],mtd:[],mlabeledtr:[],mrow:[],menclose:[],mstyle:[],mpadded:[],mphantom:[],mglyph:[]},i=["style","align","class","id"],u=["data-"],l=Object(t.a)({},{input:["type"],ol:["reversed","start","type"],button:["type"],summary:[]},o,s),f={whiteList:Object(t.a)({},n.a.getDefaultWhiteList(),l),onIgnoreTagAttr:function(p,d,h){if(s[p]||o[p]||i.find(function(m){return m===d})||u.find(function(m){return d.startsWith(m)}))return d+'="'+n.a.escapeAttrValue(h)+'"'}},c=new n.a.FilterXSS(f);c.extend=function(p){var d=c.options;Object.keys(p).forEach(function(h){if(h==="whiteList")Object.keys(p.whiteList).forEach(function(b){var A=p.whiteList[b],y=d.whiteList;y[b]?y[b]=[].concat(y[b],A):y[b]=A});else if(h==="onIgnoreTagAttr"){var m=d.onIgnoreTagAttr;d.onIgnoreTagAttr=function(){for(var b,A=arguments.length,y=new Array(A),w=0;w<A;w++)y[w]=arguments[w];var C=m.call.apply(m,[this].concat(y)),L=(b=p.onIgnoreTagAttr).call.apply(b,[this].concat(y));return C||L}}else d[h]=p[h]})},a.a=c},function(g,a,e){e.d(a,"b",function(){return r}),e.d(a,"a",function(){return n});var t=e(6);function r(s){var o=s.currentScrollTop,i=s.scrollToTop,u=s.scrollFn,l=s.percent,f=l===void 0?10:l,c=s.onScrollEnd,p=i>o?"down":"up",d=f/100*(i-o);window.requestAnimationFrame(function h(){o+=d,p==="down"&&o>=i||p==="up"&&o<=i?(u(i),window.cancelAnimationFrame(void 0),c&&window.requestAnimationFrame(c)):(u(o),window.requestAnimationFrame(h))})}function n(s){var o=s.scrollTarget,i=s.scrollToTop,u=s.percent,l=u===void 0?10:u,f=s.onScrollEnd;r({currentScrollTop:Object(t.a)(o),scrollToTop:i,scrollFn:function(c){return Object(t.b)(o,c)},percent:l,onScrollEnd:f})}},function(g,a,e){var t=e(11),r=e.n(t),n=e(1),s=Object.prototype.hasOwnProperty;function o(l,f){return Object.keys(f).forEach(function(c){(function(p,d,h){var m=d[h];m!=null&&(s.call(p,h)&&Object(n.e)(m)?p[h]=o(Object(p[h]),d[h]):p[h]=m)})(l,f,c)}),l}var i=r.a.prototype,u=r.a.util.defineReactive;u(i,"$vMdEditorLang","zh-CN"),u(i,"$vMdEditorLangConfig",{"zh-CN":{}}),a.a={use:function(l,f){var c;i.$vMdEditorLang=l,this.add(((c={})[l]=f,c))},add:function(l){l===void 0&&(l={}),o(i.$vMdEditorLangConfig,l)}}},function(g,a,e){e.r(a);var t=function(){var d=this.$createElement,h=this._self._c||d;return h("div",{staticClass:"v-md-editor-preview",style:{tabSize:this.tabSize,"-moz-tab-size":this.tabSize,"-o-tab-size":this.tabSize},on:{click:this.handlePreviewClick}},[h("div",{class:[this.themeConfig.previewClass],domProps:{innerHTML:this._s(this.html)}})])};t._withStripped=!0;var r=e(7),n=e(18),s=e(15),o=function(d){return d},i={name:"v-md-preview",mixins:[s.a,n.a],props:{text:{type:String,default:""},theme:Object},data:function(){return{html:""}},computed:{themeConfig:function(){return i.themeConfig||{}},markdownParser:function(){return this.themeConfig.markdownParser},markdownLoader:function(){var d;return((d=this.markdownParser)==null?void 0:d.render.bind(this.markdownParser))||o}},watch:{text:function(){this.handleTextChange()},langConfig:function(){this.handleTextChange()}},created:function(){var d=this;this.theme&&i.use(this.theme),typeof this.markdownLoader!="function"||this.markdownLoader===o?console.warn("Please configure your markdown parser"):i.markdownExtenders.forEach(function(h){h(d.markdownParser,function(){return d.langConfig})}),this.handleTextChange()},methods:{handleTextChange:function(){this.html=r.a.process(this.markdownLoader(this.text)),this.$emit("change",this.text,this.html)}},theme:function(d){i.themeConfig=d},markdownExtenders:[],extendMarkdown:function(d){i.markdownExtenders.push(d)}},u=i,l=e(2),f=Object(l.a)(u,t,[],!1,null,null,null);f.options.__file="src/preview.vue";var c=f.exports,p=e(9);e(19),c.version="1.7.12",c.install=function(d){d.component(c.name,c)},c.xss=r.a,c.lang=p.a,c.use=function(d,h){return typeof d=="function"?d(c,h):d.install(c,h),c},a.default=c},function(g,a){g.exports=x},function(g,a,e){var t=e(28),r=e(31),n=e(35);function s(i,u){return new n(u).process(i)}for(var o in(a=g.exports=s).filterXSS=s,a.FilterXSS=n,t)a[o]=t[o];for(var o in r)a[o]=r[o];typeof window!="undefined"&&(window.filterXSS=g.exports),typeof self!="undefined"&&typeof DedicatedWorkerGlobalScope!="undefined"&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=g.exports)},,,function(g,a,e){a.a={computed:{langConfig:function(){return this.$vMdEditorLangConfig[this.$vMdEditorLang]}}}},function(g,a,e){var t=e(29),r=e(33);for(var n in(a=g.exports=function(s,o){return new r(o).process(s)}).FilterCSS=r,t)a[n]=t[n];typeof window!="undefined"&&(window.filterCSS=g.exports)},function(g,a){g.exports={indexOf:function(e,t){var r,n;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var n,s;if(Array.prototype.forEach)return e.forEach(t,r);for(n=0,s=e.length;n<s;n++)t.call(r,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/.exec(e);return t?t.index:-1}}},function(g,a,e){var t=e(6),r=e(8),n=e(3);a.a={props:{scrollContainer:{type:Function,default:function(){return window}},top:{type:Number,default:0},tabSize:{type:Number,default:2}},methods:{handlePreviewClick:function(s){var o=s.target;if(o.tagName!=="IMG"){var i=o.getAttribute(n.a),u=this.$el.querySelector("["+n.b+'="'+i+'"]');u&&this.scrollToTarget({target:u})}else{if(!o.getAttribute("src"))return;var l=Array.from(this.$el.querySelectorAll("img")),f=l.map(function(p){return p.getAttribute("src")}).filter(function(p){return p}),c=l.indexOf(o);this.$emit("image-click",f,c)}},getOffsetTop:function(s,o){var i=s.getBoundingClientRect();return o===window||o===document.documentElement?i.top:i.top-o.getBoundingClientRect().top},scrollToTarget:function(s){var o=s.target,i=s.scrollContainer,u=i===void 0?this.scrollContainer():i,l=s.top,f=l===void 0?this.top:l,c=s.onScrollEnd,p=this.getOffsetTop(o,u),d=Object(t.a)(u)+p-f;Object(r.a)({scrollTarget:u,scrollToTop:d,onScrollEnd:c})},scrollToLine:function(s){var o=s.lineIndex,i=s.onScrollEnd;if(o){var u=this.$el.querySelector("["+n.c+'="'+o+'"]');u&&this.scrollToTarget({target:u,onScrollEnd:i})}}}}},function(g,a,e){},,,,,,,,,function(g,a,e){var t=e(16).FilterCSS,r=e(16).getDefaultWhiteList,n=e(17);function s(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var o=new t;function i(k){return k.replace(u,"<").replace(l,">")}var u=/</g,l=/>/g,f=/"/g,c=/"/g,p=/&#([a-zA-Z0-9]*);?/gim,d=/:?/gim,h=/&newline;?/gim,m=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi,b=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,A=/u\s*r\s*l\s*\(.*/gi;function y(k){return k.replace(f,""")}function w(k){return k.replace(c,'"')}function C(k){return k.replace(p,function(D,_){return _[0]==="x"||_[0]==="X"?String.fromCharCode(parseInt(_.substr(1),16)):String.fromCharCode(parseInt(_,10))})}function L(k){return k.replace(d,":").replace(h," ")}function j(k){for(var D="",_=0,S=k.length;_<S;_++)D+=k.charCodeAt(_)<32?" ":k.charAt(_);return n.trim(D)}function O(k){return k=j(k=L(k=C(k=w(k))))}function T(k){return k=i(k=y(k))}var E=/<!--[\s\S]*?-->/g;a.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},a.getDefaultWhiteList=s,a.onTag=function(k,D,_){},a.onIgnoreTag=function(k,D,_){},a.onTagAttr=function(k,D,_){},a.onIgnoreTagAttr=function(k,D,_){},a.safeAttrValue=function(k,D,_,S){if(_=O(_),D==="href"||D==="src"){if((_=n.trim(_))==="#")return"#";if(_.substr(0,7)!=="http://"&&_.substr(0,8)!=="https://"&&_.substr(0,7)!=="mailto:"&&_.substr(0,4)!=="tel:"&&_.substr(0,11)!=="data:image/"&&_.substr(0,6)!=="ftp://"&&_.substr(0,2)!=="./"&&_.substr(0,3)!=="../"&&_[0]!=="#"&&_[0]!=="/")return""}else if(D==="background"){if(m.lastIndex=0,m.test(_))return""}else if(D==="style"){if(b.lastIndex=0,b.test(_)||(A.lastIndex=0,A.test(_)&&(m.lastIndex=0,m.test(_))))return"";S!==!1&&(_=(S=S||o).process(_))}return _=T(_)},a.escapeHtml=i,a.escapeQuote=y,a.unescapeQuote=w,a.escapeHtmlEntities=C,a.escapeDangerHtml5Entities=L,a.clearNonPrintableCharacter=j,a.friendlyAttrValue=O,a.escapeAttrValue=T,a.onIgnoreTagStripAll=function(){return""},a.StripTagBody=function(k,D){typeof D!="function"&&(D=function(){});var _=!Array.isArray(k),S=[],$=!1;return{onIgnoreTag:function(P,M,B){if(function(W){return!!_||n.indexOf(k,W)!==-1}(P)){if(B.isClosing){var N="[/removed]",V=B.position+N.length;return S.push([$!==!1?$:B.position,V]),$=!1,N}return $||($=B.position),"[removed]"}return D(P,M,B)},remove:function(P){var M="",B=0;return n.forEach(S,function(N){M+=P.slice(B,N[0]),B=N[1]}),M+=P.slice(B)}}},a.stripCommentTag=function(k){return k.replace(E,"")},a.stripBlankChar=function(k){var D=k.split("");return(D=D.filter(function(_){var S=_.charCodeAt(0);return S!==127&&(!(S<=31)||S===10||S===13)})).join("")},a.cssFilter=o,a.getDefaultCSSWhiteList=r},function(g,a){function e(){var r={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1};return r}var t=/javascript\s*\:/gim;a.whiteList=e(),a.getDefaultWhiteList=e,a.onAttr=function(r,n,s){},a.onIgnoreAttr=function(r,n,s){},a.safeAttrValue=function(r,n){return t.test(n)?"":n}},function(g,a){g.exports={indexOf:function(e,t){var r,n;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var n,s;if(Array.prototype.forEach)return e.forEach(t,r);for(n=0,s=e.length;n<s;n++)t.call(r,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}}},function(g,a,e){var t=e(17);function r(l){var f=t.spaceIndex(l);if(f===-1)var c=l.slice(1,-1);else c=l.slice(1,f+1);return(c=t.trim(c).toLowerCase()).slice(0,1)==="/"&&(c=c.slice(1)),c.slice(-1)==="/"&&(c=c.slice(0,-1)),c}function n(l){return l.slice(0,2)==="</"}var s=/[^a-zA-Z0-9_:\.\-]/gim;function o(l,f){for(;f<l.length;f++){var c=l[f];if(c!==" ")return c==="="?f:-1}}function i(l,f){for(;f>0;f--){var c=l[f];if(c!==" ")return c==="="?f:-1}}function u(l){return function(f){return f[0]==='"'&&f[f.length-1]==='"'||f[0]==="'"&&f[f.length-1]==="'"}(l)?l.substr(1,l.length-2):l}a.parseTag=function(l,f,c){var p="",d=0,h=!1,m=!1,b=0,A=l.length,y="",w="";t:for(b=0;b<A;b++){var C=l.charAt(b);if(h===!1){if(C==="<"){h=b;continue}}else if(m===!1){if(C==="<"){p+=c(l.slice(d,b)),h=b,d=b;continue}if(C===">"){p+=c(l.slice(d,h)),y=r(w=l.slice(h,b+1)),p+=f(h,p.length,y,w,n(w)),d=b+1,h=!1;continue}if(C==='"'||C==="'")for(var L=1,j=l.charAt(b-L);j.trim()===""||j==="=";){if(j==="="){m=C;continue t}j=l.charAt(b-++L)}}else if(C===m){m=!1;continue}}return d<l.length&&(p+=c(l.substr(d))),p},a.parseAttr=function(l,f){var c=0,p=[],d=!1,h=l.length;function m(w,C){if(!((w=(w=t.trim(w)).replace(s,"").toLowerCase()).length<1)){var L=f(w,C||"");L&&p.push(L)}}for(var b=0;b<h;b++){var A,y=l.charAt(b);if(d!==!1||y!=="=")if(d===!1||b!==c||y!=='"'&&y!=="'"||l.charAt(b-1)!=="="){if(/\s|\n|\t/.test(y)){if(l=l.replace(/\s|\n|\t/g," "),d===!1){if((A=o(l,b))===-1){m(t.trim(l.slice(c,b))),d=!1,c=b+1;continue}b=A-1;continue}if((A=i(l,b-1))===-1){m(d,u(t.trim(l.slice(c,b)))),d=!1,c=b+1;continue}}}else{if((A=l.indexOf(y,b+1))===-1)break;m(d,t.trim(l.slice(c+1,A))),d=!1,c=(b=A)+1}else d=l.slice(c,b),c=b+1}return c<l.length&&(d===!1?m(l.slice(c)):m(d,u(t.trim(l.slice(c))))),t.trim(p.join(" "))}},,function(g,a,e){var t=e(29),r=e(34);e(30);function n(o){return o==null}function s(o){(o=function(i){var u={};for(var l in i)u[l]=i[l];return u}(o||{})).whiteList=o.whiteList||t.whiteList,o.onAttr=o.onAttr||t.onAttr,o.onIgnoreAttr=o.onIgnoreAttr||t.onIgnoreAttr,o.safeAttrValue=o.safeAttrValue||t.safeAttrValue,this.options=o}s.prototype.process=function(o){if(!(o=(o=o||"").toString()))return"";var i=this.options,u=i.whiteList,l=i.onAttr,f=i.onIgnoreAttr,c=i.safeAttrValue;return r(o,function(p,d,h,m,b){var A=u[h],y=!1;if(A===!0?y=A:typeof A=="function"?y=A(m):A instanceof RegExp&&(y=A.test(m)),y!==!0&&(y=!1),m=c(h,m)){var w,C={position:d,sourcePosition:p,source:b,isWhite:y};return y?n(w=l(h,m,C))?h+":"+m:w:n(w=f(h,m,C))?void 0:w}})},g.exports=s},function(g,a,e){var t=e(30);g.exports=function(r,n){(r=t.trimRight(r))[r.length-1]!==";"&&(r+=";");var s=r.length,o=!1,i=0,u=0,l="";function f(){if(!o){var d=t.trim(r.slice(i,u)),h=d.indexOf(":");if(h!==-1){var m=t.trim(d.slice(0,h)),b=t.trim(d.slice(h+1));if(m){var A=n(i,l.length,m,b,d);A&&(l+=A+"; ")}}}i=u+1}for(;u<s;u++){var c=r[u];if(c==="/"&&r[u+1]==="*"){var p=r.indexOf("*/",u+2);if(p===-1)break;i=(u=p+1)+1,o=!1}else c==="("?o=!0:c===")"?o=!1:c===";"?o||f():c===`
|
|
`&&f()}return t.trim(l)}},function(g,a,e){var t=e(16).FilterCSS,r=e(28),n=e(31),s=n.parseTag,o=n.parseAttr,i=e(17);function u(f){return f==null}function l(f){(f=function(c){var p={};for(var d in c)p[d]=c[d];return p}(f||{})).stripIgnoreTag&&(f.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),f.onIgnoreTag=r.onIgnoreTagStripAll),f.whiteList=f.whiteList||r.whiteList,f.onTag=f.onTag||r.onTag,f.onTagAttr=f.onTagAttr||r.onTagAttr,f.onIgnoreTag=f.onIgnoreTag||r.onIgnoreTag,f.onIgnoreTagAttr=f.onIgnoreTagAttr||r.onIgnoreTagAttr,f.safeAttrValue=f.safeAttrValue||r.safeAttrValue,f.escapeHtml=f.escapeHtml||r.escapeHtml,this.options=f,f.css===!1?this.cssFilter=!1:(f.css=f.css||{},this.cssFilter=new t(f.css))}l.prototype.process=function(f){if(!(f=(f=f||"").toString()))return"";var c=this.options,p=c.whiteList,d=c.onTag,h=c.onIgnoreTag,m=c.onTagAttr,b=c.onIgnoreTagAttr,A=c.safeAttrValue,y=c.escapeHtml,w=this.cssFilter;c.stripBlankChar&&(f=r.stripBlankChar(f)),c.allowCommentTag||(f=r.stripCommentTag(f));var C=!1;c.stripIgnoreTagBody&&(C=r.StripTagBody(c.stripIgnoreTagBody,h),h=C.onIgnoreTag);var L=s(f,function(j,O,T,E,k){var D,_={sourcePosition:j,position:O,isClosing:k,isWhite:p.hasOwnProperty(T)};if(!u(D=d(T,E,_)))return D;if(_.isWhite){if(_.isClosing)return"</"+T+">";var S=function(M){var B=i.spaceIndex(M);if(B===-1)return{html:"",closing:M[M.length-2]==="/"};var N=(M=i.trim(M.slice(B+1,-1)))[M.length-1]==="/";return N&&(M=i.trim(M.slice(0,-1))),{html:M,closing:N}}(E),$=p[T],P=o(S.html,function(M,B){var N,V=i.indexOf($,M)!==-1;return u(N=m(T,M,B,V))?V?(B=A(T,M,B,w))?M+'="'+B+'"':M:u(N=b(T,M,B,V))?void 0:N:N});return E="<"+T,P&&(E+=" "+P),S.closing&&(E+=" /"),E+=">"}return u(D=h(T,E,_))?y(E):D},y);return C&&(L=C.remove(L)),L},g.exports=l}]).default})})(Xt);var $r=Ct(Xt.exports);var Kt={exports:{}};(function(F,R){(function(x,g){F.exports=g()})(typeof self!="undefined"?self:xt,function(){return function(x){var g={};function a(e){if(g[e])return g[e].exports;var t=g[e]={i:e,l:!1,exports:{}};return x[e].call(t.exports,t,t.exports,a),t.l=!0,t.exports}return a.m=x,a.c=g,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t||4&t&&typeof e=="object"&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&typeof e!="string")for(var n in e)a.d(r,n,function(s){return e[s]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=84)}([function(x,g,a){var e=Object.prototype.hasOwnProperty;function t(m,b){return e.call(m,b)}function r(m){return!(m>=55296&&m<=57343)&&!(m>=64976&&m<=65007)&&(65535&m)!=65535&&(65535&m)!=65534&&!(m>=0&&m<=8)&&m!==11&&!(m>=14&&m<=31)&&!(m>=127&&m<=159)&&!(m>1114111)}function n(m){if(m>65535){var b=55296+((m-=65536)>>10),A=56320+(1023&m);return String.fromCharCode(b,A)}return String.fromCharCode(m)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,o=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),i=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=a(7),l=/[&<>"]/,f=/[&<>"]/g,c={"&":"&","<":"<",">":">",'"':"""};function p(m){return c[m]}var d=/[.?*+^$[\]\\(){}|-]/g,h=a(3);g.lib={},g.lib.mdurl=a(8),g.lib.ucmicro=a(27),g.assign=function(m){var b=Array.prototype.slice.call(arguments,1);return b.forEach(function(A){if(A){if(typeof A!="object")throw new TypeError(A+"must be object");Object.keys(A).forEach(function(y){m[y]=A[y]})}}),m},g.isString=function(m){return function(b){return Object.prototype.toString.call(b)}(m)==="[object String]"},g.has=t,g.unescapeMd=function(m){return m.indexOf("\\")<0?m:m.replace(s,"$1")},g.unescapeAll=function(m){return m.indexOf("\\")<0&&m.indexOf("&")<0?m:m.replace(o,function(b,A,y){return A||function(w,C){var L=0;return t(u,C)?u[C]:C.charCodeAt(0)===35&&i.test(C)&&r(L=C[1].toLowerCase()==="x"?parseInt(C.slice(2),16):parseInt(C.slice(1),10))?n(L):w}(b,y)})},g.isValidEntityCode=r,g.fromCodePoint=n,g.escapeHtml=function(m){return l.test(m)?m.replace(f,p):m},g.arrayReplaceAt=function(m,b,A){return[].concat(m.slice(0,b),A,m.slice(b+1))},g.isSpace=function(m){switch(m){case 9:case 32:return!0}return!1},g.isWhiteSpace=function(m){if(m>=8192&&m<=8202)return!0;switch(m){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},g.isMdAsciiPunct=function(m){switch(m){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},g.isPunctChar=function(m){return h.test(m)},g.escapeRE=function(m){return m.replace(d,"\\$&")},g.normalizeReference=function(m){return m=m.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(m=m.replace(/ẞ/g,"\xDF")),m.toLowerCase().toUpperCase()}},function(x,g,a){function e(){return(e=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t}).apply(this,arguments)}a.d(g,"a",function(){return e})},function(x,g,a){a.d(g,"a",function(){return n});var e=a(17),t=a.n(e),r=a(0);function n(s){var o=s.codeHighlightExtensionMap,i=o===void 0?{}:o,u=s.hasLang,l=u===void 0?function(){return!0}:u,f=s.highlight,c=f===void 0?function(d){return d}:f,p=s.codeBlockClass;return function(d,h){var m=Object(r.escapeHtml)(d);return(h=i[h]||h)&&l(h)&&(m=c(d,h)),'<pre class="'+function(b){return p?p(b):"language-"+b}(h)+'"><code>'+m+"</code></pre>"}}g.b=function(){var s=new t.a;return s.set({html:!0,breaks:!0,linkify:!1,typographer:!0}),s}},function(x,g){x.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\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\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-\u2E4E\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]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(x,g,a){function e(){this.__rules__=[],this.__cache__=null}e.prototype.__find__=function(t){for(var r=0;r<this.__rules__.length;r++)if(this.__rules__[r].name===t)return r;return-1},e.prototype.__compile__=function(){var t=this,r=[""];t.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(s){r.indexOf(s)<0&&r.push(s)})}),t.__cache__={},r.forEach(function(n){t.__cache__[n]=[],t.__rules__.forEach(function(s){s.enabled&&(n&&s.alt.indexOf(n)<0||t.__cache__[n].push(s.fn))})})},e.prototype.at=function(t,r,n){var s=this.__find__(t),o=n||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__[s].fn=r,this.__rules__[s].alt=o.alt||[],this.__cache__=null},e.prototype.before=function(t,r,n,s){var o=this.__find__(t),i=s||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o,0,{name:r,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},e.prototype.after=function(t,r,n,s){var o=this.__find__(t),i=s||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o+1,0,{name:r,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},e.prototype.push=function(t,r,n){var s=n||{};this.__rules__.push({name:t,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},e.prototype.enable=function(t,r){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(s){var o=this.__find__(s);if(o<0){if(r)return;throw new Error("Rules manager: invalid rule name "+s)}this.__rules__[o].enabled=!0,n.push(s)},this),this.__cache__=null,n},e.prototype.enableOnly=function(t,r){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(t,r)},e.prototype.disable=function(t,r){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(s){var o=this.__find__(s);if(o<0){if(r)return;throw new Error("Rules manager: invalid rule name "+s)}this.__rules__[o].enabled=!1,n.push(s)},this),this.__cache__=null,n},e.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]},x.exports=e},function(x,g,a){function e(t,r,n){this.type=t,this.tag=r,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}e.prototype.attrIndex=function(t){var r,n,s;if(!this.attrs)return-1;for(n=0,s=(r=this.attrs).length;n<s;n++)if(r[n][0]===t)return n;return-1},e.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},e.prototype.attrSet=function(t,r){var n=this.attrIndex(t),s=[t,r];n<0?this.attrPush(s):this.attrs[n]=s},e.prototype.attrGet=function(t){var r=this.attrIndex(t),n=null;return r>=0&&(n=this.attrs[r][1]),n},e.prototype.attrJoin=function(t,r){var n=this.attrIndex(t);n<0?this.attrPush([t,r]):this.attrs[n][1]=this.attrs[n][1]+" "+r},x.exports=e},function(x,g,a){const e=/[\u0000-\u001f]/g,t=/[\s~`!@#$%^&*()\-_+=[\]{}|\\;:"'“”‘’–—<>,.?/]+/g,r=/[\u0300-\u036F]/g;x.exports=function(n){return n.normalize("NFKD").replace(r,"").replace(e,"").replace(t,"-").replace(/\-{2,}/g,"-").replace(/^\-+|\-+$/g,"").replace(/^(\d)/,"_$1").toLowerCase()}},function(x,g,a){x.exports=a(22)},function(x,g,a){x.exports.encode=a(23),x.exports.decode=a(24),x.exports.format=a(25),x.exports.parse=a(26)},function(x,g){x.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(x,g){x.exports=/[\0-\x1F\x7F-\x9F]/},function(x,g){x.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(x,g,a){var e=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,t="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+e+"|"+t+"|<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),n=new RegExp("^(?:"+e+"|"+t+")");x.exports.HTML_TAG_RE=r,x.exports.HTML_OPEN_CLOSE_TAG_RE=n},function(x,g,a){function e(t,r){var n,s,o,i,u,l=[],f=r.length;for(n=0;n<f;n++)(o=r[n]).marker===126&&o.end!==-1&&(i=r[o.end],(u=t.tokens[o.token]).type="s_open",u.tag="s",u.nesting=1,u.markup="~~",u.content="",(u=t.tokens[i.token]).type="s_close",u.tag="s",u.nesting=-1,u.markup="~~",u.content="",t.tokens[i.token-1].type==="text"&&t.tokens[i.token-1].content==="~"&&l.push(i.token-1));for(;l.length;){for(s=(n=l.pop())+1;s<t.tokens.length&&t.tokens[s].type==="s_close";)s++;n!==--s&&(u=t.tokens[s],t.tokens[s]=t.tokens[n],t.tokens[n]=u)}}x.exports.tokenize=function(t,r){var n,s,o,i,u=t.pos,l=t.src.charCodeAt(u);if(r||l!==126||(o=(s=t.scanDelims(t.pos,!0)).length,i=String.fromCharCode(l),o<2))return!1;for(o%2&&(t.push("text","",0).content=i,o--),n=0;n<o;n+=2)t.push("text","",0).content=i+i,t.delimiters.push({marker:l,length:0,jump:n/2,token:t.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return t.pos+=s.length,!0},x.exports.postProcess=function(t){var r,n=t.tokens_meta,s=t.tokens_meta.length;for(e(t,t.delimiters),r=0;r<s;r++)n[r]&&n[r].delimiters&&e(t,n[r].delimiters)}},function(x,g,a){function e(t,r){var n,s,o,i,u,l;for(n=r.length-1;n>=0;n--)(s=r[n]).marker!==95&&s.marker!==42||s.end!==-1&&(o=r[s.end],l=n>0&&r[n-1].end===s.end+1&&r[n-1].token===s.token-1&&r[s.end+1].token===o.token+1&&r[n-1].marker===s.marker,u=String.fromCharCode(s.marker),(i=t.tokens[s.token]).type=l?"strong_open":"em_open",i.tag=l?"strong":"em",i.nesting=1,i.markup=l?u+u:u,i.content="",(i=t.tokens[o.token]).type=l?"strong_close":"em_close",i.tag=l?"strong":"em",i.nesting=-1,i.markup=l?u+u:u,i.content="",l&&(t.tokens[r[n-1].token].content="",t.tokens[r[s.end+1].token].content="",n--))}x.exports.tokenize=function(t,r){var n,s,o=t.pos,i=t.src.charCodeAt(o);if(r||i!==95&&i!==42)return!1;for(s=t.scanDelims(t.pos,i===42),n=0;n<s.length;n++)t.push("text","",0).content=String.fromCharCode(i),t.delimiters.push({marker:i,length:s.length,jump:n,token:t.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return t.pos+=s.length,!0},x.exports.postProcess=function(t){var r,n=t.tokens_meta,s=t.tokens_meta.length;for(e(t,t.delimiters),r=0;r<s;r++)n[r]&&n[r].delimiters&&e(t,n[r].delimiters)}},function(x,g,a){const e=a(19),t={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};function r(i,u,l){let f={match:!1,j:null},c=l.shift!==void 0?u+l.shift:l.position,p=(d=i,(h=c)>=0?d[h]:d[d.length+h]);var d,h;if(p===void 0)return f;for(let m in l)if(m!=="shift"&&m!=="position"){if(p[m]===void 0)return f;if(m==="children"&&n(l.children)){if(p.children.length===0)return f;let b,A=l.children,y=p.children;if(A.every(w=>w.position!==void 0)){if(b=A.every(w=>r(y,w.position,w).match),b){let w=o(A).position;f.j=w>=0?w:y.length+w}}else for(let w=0;w<y.length;w++)if(b=A.every(C=>r(y,w,C).match),b){f.j=w;break}if(b===!1)return f}else switch(typeof l[m]){case"boolean":case"number":case"string":if(p[m]!==l[m])return f;break;case"function":if(!l[m](p[m]))return f;break;case"object":if(s(l[m])){if(l[m].every(b=>b(p[m]))===!1)return f;break}default:throw new Error(`Unknown type of pattern test (key: ${m}). Test should be of type boolean, number, string, function or array of functions.`)}}return f.match=!0,f}function n(i){return Array.isArray(i)&&i.length&&i.every(u=>typeof u=="object")}function s(i){return Array.isArray(i)&&i.length&&i.every(u=>typeof u=="function")}function o(i){return i.slice(-1)[0]||{}}x.exports=function(i,u){let l=Object.assign({},t);l=Object.assign(l,u);const f=e(l);i.core.ruler.before("linkify","curly_attributes",function(c){let p=c.tokens;for(let d=0;d<p.length;d++)for(let h=0;h<f.length;h++){let m=f[h],b=null;m.tests.every(A=>{let y=r(p,d,A);return y.j!==null&&(b=y.j),y.match})&&(m.transform(p,d,b),m.name!=="inline attributes"&&m.name!=="inline nesting 0"||h--)}})}},function(x,g){x.exports=function(a,e){e===void 0&&(e={});var t=e.getWrapperClass,r=t===void 0?function(u){return"language-"+u}:t,n=function(u){return function(){for(var l=arguments.length,f=new Array(l),c=0;c<l;c++)f[c]=arguments[c];var p=f[0],d=f[1],h=p[d],m=u.apply(void 0,f);return'<!--beforebegin--><div class="'+r(h.info.trim())+' extra-class" extra-attr><!--afterbegin-->'+m+"<!--beforeend--></div><!--afterend-->"}},s=a.renderer.rules,o=s.fence,i=s.code_block;a.renderer.rules.fence=n(o),a.renderer.rules.code_block=n(i)}},function(x,g,a){x.exports=a(21)},function(x,g,a){a.r(g),a.d(g,"default",function(){return h});var e=a(1),t=a(15),r=a.n(t),n=function(m,b){var A=(b===void 0?{}:b).lineMarkup,y=A===void 0?"data-line":A,w=function(O,T,E,k,D){return D.renderToken(O,T,E)};function C(O){return function(T,E,k,D,_){var S=T[E];return S.attrPush([y,S.map[0]+1]),O(T,E,k,D,_)}}function L(O){return function(T,E,k,D,_){var S=O(T,E,k,D,_),$=T[E].map[0]+1;return"<div "+y+'="'+$+'">'+S+"</div>"}}var j={table_open:C,blockquote_open:C,bullet_list_open:C,ordered_list_open:C,reference_open:C,heading_open:C,lheading_open:C,paragraph_open:C,hr:C,html_block:L,code_block:L,fence:L};Object.keys(j).forEach(function(O){var T=m.renderer.rules[O]||w;m.renderer.rules[O]=j[O](T)})},s=function(m,b){b===void 0&&(b={});var A=b.getMarks;A&&m.core.ruler.push("anchor",function(y){var w={},C=y.tokens;C.filter(function(L){return L.type==="heading_open"}).forEach(function(L){var j=C[C.indexOf(L)+1].content,O=Number(L.tag.substr(1));w[j]=j in w?Number(w[j])+1:"";var T=A(j,O,w[j]);T&&T.forEach(function(E){var k=E.attr,D=E.value;L.attrPush([k,D])})})})},o={includeLevel:[2,3],containerClass:"table-of-contents",listClass:"table-of-content-list",listItemClass:"table-of-content-list-item",markerPattern:/^\[\[toc\]\]/im,listType:"ul",getAnchorAttrs:function(){return[]},format:void 0,forceFullToc:!1,containerHeaderHtml:void 0,containerFooterHtml:void 0,transformLink:void 0},i=function(m,b){var A,y=Object(e.a)({},o,b),w=y.markerPattern;function C(L,j,O){for(var T,E,k=[],D="",_=j.length,S=L;S<_;){var $=j[S],P=j[S-1],M=$.tag&&parseInt($.tag.substr(1,1));if($.type==="heading_close"&&y.includeLevel.indexOf(M)!=-1&&P.type==="inline"){if(T){if(M>T){D+=(E=C(S,j,O))[1],S=E[0];continue}if(M<T)return D+="</li>",k.push(D),[S,"<"+y.listType+' class="'+y.listClass+'">'+k.join("")+"</"+y.listType+">"];M==T&&(D+="</li>",k.push(D))}else T=M;var B=P.children.reduce(function(G,Z){return G+Z.content},""),N=P.content,V=O[N]=N in O?Number(O[N])+1:"",W=y.getAnchorAttrs(N,M,V);D='<li class="'+y.listItemClass+`">
|
|
<a `+W.map(function(G){return G.attr+'="'+G.value+'"'}).join(" ")+">",D+=B,D+="</a>",S++}else S++}return D+=D===""?"":"</li>",k.push(D),[S,"<"+y.listType+' class="'+y.listClass+'">'+k.join("")+"</"+y.listType+">"]}m.renderer.rules.toc_open=function(L,j){var O='<div class="'+y.containerClass+'">';return y.containerHeaderHtml&&(O+=y.containerHeaderHtml),O},m.renderer.rules.toc_close=function(L,j){var O="";return y.containerFooterHtml&&(O=y.containerFooterHtml),O+"</div>"},m.renderer.rules.toc_body=function(L,j){var O={};if(y.forceFullToc){for(var T="",E=0,k=A&&A.tokens&&A.tokens.length;E<k;){var D=C(E,A.tokens,O);E=D[0],T+=D[1]}return T}return C(0,A.tokens,O)[1]},m.core.ruler.push("grab_state",function(L){A=L}),m.inline.ruler.after("emphasis","toc",function(L,j){var O;if(L.src.charCodeAt(L.pos)!==91||j||(O=(O=w.exec(L.src.substr(L.pos)))?O.filter(function(E){return E}):[]).length<1)return!1;L.push("toc_open","toc",1).markup="[[toc]]",L.push("toc_body","",0),L.push("toc_close","toc",-1);var T=L.src.indexOf(`
|
|
`,L.pos);return L.pos=T!==-1?T:L.pos+L.posMax+1,!0})},u=a(16),l=a.n(u),f=function(m,b){var A=b.externalAttrs,y=b.openLinkIcon,w=b.openLinkIconClass,C=!1;m.renderer.rules.link_open=function(L,j,O,T,E){var k=L[j],D=k.attrIndex("href");if(D>=0){var _=k.attrs[D][1];/^https?:/.test(_)&&(Object.keys(A).forEach(function(S){k.attrSet(S,A[S])}),/_blank/i.test(A.target)&&(C=!0))}return E.renderToken(L,j,O)},m.renderer.rules.link_close=function(L,j,O,T,E){return C&&(C=!1,y)?w?'<i class="'+w+'"></i>'+E.renderToken(L,j,O):'<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="v-md-svg-outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg>'+E.renderToken(L,j,O):E.renderToken(L,j,O)}},c=a(6),p=a.n(c),d=a(2);function h(m){var b=m===void 0?{}:m,A=b.toc,y=b.link,w=b.attrs,C=Object(d.b)();return C.use(f,Object(e.a)({externalAttrs:{target:"_blank"}},y)).use(l.a,{getWrapperClass:function(L){return"v-md-pre-wrapper v-md-pre-wrapper-"+L}}).use(r.a,Object(e.a)({leftDelimiter:"{{{",rightDelimiter:"}}}"},w,{allowedAttributes:["width","height"].concat(w==null?void 0:w.allowedAttributes)})).use(s,{getMarks:function(L,j,O){return[{attr:"data-v-md-heading",value:p()(L)+(O?"-"+O:"")}]}}).use(i,Object(e.a)({listClass:"v-md-toc",listItemClass:"v-md-toc-item",getAnchorAttrs:function(L,j,O){return[{attr:"data-v-md-anchor",value:p()(L)+(O?"-"+O:"")}]}},A)).use(n,{lineMarkup:"data-v-md-line"}),{previewClass:"markdown-body",extend:function(L){L(C)},markdownParser:C}}},function(x,g,a){const e=a(20);function t(r){return r.slice(-1)[0]}x.exports=r=>{const n=new RegExp("^ {0,3}[-*_]{3,} ?"+e.escapeRegExp(r.leftDelimiter)+"[^"+e.escapeRegExp(r.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:e.hasDelimiters("end",r)}],transform:(s,o)=>{let i=s[o],u=i.info.lastIndexOf(r.leftDelimiter),l=e.getAttrs(i.info,u,r);e.addAttrs(l,i),i.info=e.removeDelimiter(i.info,r)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:s=>s==="image"||s==="code_inline"},{shift:0,type:"text",content:e.hasDelimiters("start",r)}]}],transform:(s,o,i)=>{let u=s[o].children[i],l=u.content.indexOf(r.rightDelimiter),f=s[o].children[i-1],c=e.getAttrs(u.content,0,r);e.addAttrs(c,f),u.content.length===l+r.rightDelimiter.length?s[o].children.splice(i,1):u.content=u.content.slice(l+r.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:e.hasDelimiters("only",r)}],transform:(s,o)=>{let i=s[o+2],u=e.getMatchingOpeningToken(s,o),l=e.getAttrs(i.content,0,r);e.addAttrs(l,u),s.splice(o+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:e.hasDelimiters("start",r)}]}],transform:(s,o,i)=>{let u=s[o].children[i],l=u.content,f=e.getAttrs(l,0,r),c=e.getMatchingOpeningToken(s[o].children,i-1);e.addAttrs(f,c),u.content=l.slice(l.indexOf(r.rightDelimiter)+r.rightDelimiter.length)}},{name:"list softbreak",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:e.hasDelimiters("only",r)}]}],transform:(s,o,i)=>{let u=s[o].children[i].content,l=e.getAttrs(u,0,r),f=o-2;for(;s[f-1]&&s[f-1].type!=="ordered_list_open"&&s[f-1].type!=="bullet_list_open";)f--;e.addAttrs(l,s[f-1]),s[o].children=s[o].children.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:s=>s==="bullet_list_close"||s==="ordered_list_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:e.hasDelimiters("only",r),children:s=>s.length===1},{shift:3,type:"paragraph_close"}],transform:(s,o)=>{let i=s[o+2].content,u=e.getAttrs(i,0,r),l=e.getMatchingOpeningToken(s,o);e.addAttrs(u,l),s.splice(o+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:e.hasDelimiters("end",r)}]}],transform:(s,o,i)=>{let u=s[o].children[i],l=u.content,f=e.getAttrs(l,l.lastIndexOf(r.leftDelimiter),r);e.addAttrs(f,s[o-2]);let c=l.slice(0,l.lastIndexOf(r.leftDelimiter));u.content=t(c)!==" "?c:c.slice(0,-1)}},{name:`
|
|
{.a} softbreak then curly in start`,tests:[{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:e.hasDelimiters("only",r)}]}],transform:(s,o,i)=>{let u=s[o].children[i],l=e.getAttrs(u.content,0,r),f=o+1;for(;s[f+1]&&s[f+1].nesting===-1;)f++;let c=e.getMatchingOpeningToken(s,f);e.addAttrs(l,c),s[o].children=s[o].children.slice(0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:s=>s.length===1,content:s=>s.match(n)!==null},{shift:2,type:"paragraph_close"}],transform:(s,o)=>{let i=s[o];i.type="hr",i.tag="hr",i.nesting=0;let u=s[o+1].content,l=u.lastIndexOf(r.leftDelimiter);i.attrs=e.getAttrs(u,l,r),i.markup=u,s.splice(o+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:e.hasDelimiters("end",r),type:s=>s!=="code_inline"}]}],transform:(s,o,i)=>{let u=s[o].children[i],l=u.content,f=e.getAttrs(l,l.lastIndexOf(r.leftDelimiter),r),c=o+1;for(;s[c+1]&&s[c+1].nesting===-1;)c++;let p=e.getMatchingOpeningToken(s,c);e.addAttrs(f,p);let d=l.slice(0,l.lastIndexOf(r.leftDelimiter));u.content=t(d)!==" "?d:d.slice(0,-1)}}]}},function(x,g,a){function e(o){return o.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}g.getAttrs=function(o,i,u){const l=/[^\t\n\f />"'=]/,f=[];let c="",p="",d=!0,h=!1;for(let m=i+u.leftDelimiter.length;m<o.length;m++){if(o.slice(m,m+u.rightDelimiter.length)===u.rightDelimiter){c!==""&&f.push([c,p]);break}let b=o.charAt(m);if(b==="="&&d)d=!1;else if(b!=="."||c!=="")if(b!=="#"||c!=="")if(b!=='"'||p!=="")if(b==='"'&&h)h=!1;else if(b!==" "||h)d&&b.search(l)===-1||(d?c+=b:p+=b);else{if(c==="")continue;f.push([c,p]),c="",p="",d=!0}else h=!0;else c="id",d=!1;else o.charAt(m+1)==="."?(c="css-module",m+=1):c="class",d=!1}if(u.allowedAttributes&&u.allowedAttributes.length){let m=u.allowedAttributes;return f.filter(function(b){let A=b[0];return m.some(function(y){return A===y||y instanceof RegExp&&y.test(A)})})}return f},g.addAttrs=function(o,i){for(let u=0,l=o.length;u<l;++u){let f=o[u][0];f==="class"?i.attrJoin("class",o[u][1]):f==="css-module"?i.attrJoin("css-module",o[u][1]):i.attrPush(o[u])}return i},g.hasDelimiters=function(o,i){if(!o)throw new Error('Parameter `where` not passed. Should be "start", "middle", "end" or "only".');return function(u){let l,f,c,p,d=i.leftDelimiter.length+1+i.rightDelimiter.length;if(!u||typeof u!="string"||u.length<d)return!1;let h=d-i.rightDelimiter.length;switch(o){case"start":c=u.slice(0,i.leftDelimiter.length),l=c===i.leftDelimiter?0:-1,f=l===-1?-1:u.indexOf(i.rightDelimiter,h),p=u.charAt(f+i.rightDelimiter.length),p&&i.rightDelimiter.indexOf(p)!==-1&&(f=-1);break;case"end":l=u.lastIndexOf(i.leftDelimiter),f=l===-1?-1:u.indexOf(i.rightDelimiter,l+h),f=f===u.length-i.rightDelimiter.length?f:-1;break;case"only":c=u.slice(0,i.leftDelimiter.length),l=c===i.leftDelimiter?0:-1,c=u.slice(u.length-i.rightDelimiter.length),f=c===i.rightDelimiter?u.length-i.rightDelimiter.length:-1}return l!==-1&&f!==-1&&function(m){let b=m.charAt(i.leftDelimiter.length)===".",A=m.charAt(i.leftDelimiter.length)==="#";return b||A?m.length>=d+1:m.length>=d}(u.substring(l,f+i.rightDelimiter.length))}},g.removeDelimiter=function(o,i){const u=e(i.leftDelimiter),l=e(i.rightDelimiter);let f=new RegExp("[ \\n]?"+u+"[^"+u+l+"]+"+l+"$"),c=o.search(f);return c!==-1?o.slice(0,c):o},g.escapeRegExp=e,g.getMatchingOpeningToken=function(o,i){if(o[i].type==="softbreak")return!1;if(o[i].nesting===0)return o[i];let u=o[i].level,l=o[i].type.replace("_close","_open");for(;i>=0;--i)if(o[i].type===l&&o[i].level===u)return o[i]};let t=/[&<>"]/,r=/[&<>"]/g,n={"&":"&","<":"<",">":">",'"':"""};function s(o){return n[o]}g.escapeHtml=function(o){return t.test(o)?o.replace(r,s):o}},function(x,g,a){var e=a(0),t=a(29),r=a(33),n=a(34),s=a(42),o=a(56),i=a(69),u=a(8),l=a(71),f={default:a(74),zero:a(75),commonmark:a(76)},c=/^(vbscript|javascript|file|data):/,p=/^data:image\/(gif|png|jpeg|webp);/;function d(y){var w=y.trim().toLowerCase();return!c.test(w)||!!p.test(w)}var h=["http:","https:","mailto:"];function m(y){var w=u.parse(y,!0);if(w.hostname&&(!w.protocol||h.indexOf(w.protocol)>=0))try{w.hostname=l.toASCII(w.hostname)}catch{}return u.encode(u.format(w))}function b(y){var w=u.parse(y,!0);if(w.hostname&&(!w.protocol||h.indexOf(w.protocol)>=0))try{w.hostname=l.toUnicode(w.hostname)}catch{}return u.decode(u.format(w),u.decode.defaultChars+"%")}function A(y,w){if(!(this instanceof A))return new A(y,w);w||e.isString(y)||(w=y||{},y="default"),this.inline=new o,this.block=new s,this.core=new n,this.renderer=new r,this.linkify=new i,this.validateLink=d,this.normalizeLink=m,this.normalizeLinkText=b,this.utils=e,this.helpers=e.assign({},t),this.options={},this.configure(y),w&&this.set(w)}A.prototype.set=function(y){return e.assign(this.options,y),this},A.prototype.configure=function(y){var w,C=this;if(e.isString(y)&&!(y=f[w=y]))throw new Error('Wrong `markdown-it` preset "'+w+'", check name');if(!y)throw new Error("Wrong `markdown-it` preset, can't be empty");return y.options&&C.set(y.options),y.components&&Object.keys(y.components).forEach(function(L){y.components[L].rules&&C[L].ruler.enableOnly(y.components[L].rules),y.components[L].rules2&&C[L].ruler2.enableOnly(y.components[L].rules2)}),this},A.prototype.enable=function(y,w){var C=[];Array.isArray(y)||(y=[y]),["core","block","inline"].forEach(function(j){C=C.concat(this[j].ruler.enable(y,!0))},this),C=C.concat(this.inline.ruler2.enable(y,!0));var L=y.filter(function(j){return C.indexOf(j)<0});if(L.length&&!w)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+L);return this},A.prototype.disable=function(y,w){var C=[];Array.isArray(y)||(y=[y]),["core","block","inline"].forEach(function(j){C=C.concat(this[j].ruler.disable(y,!0))},this),C=C.concat(this.inline.ruler2.disable(y,!0));var L=y.filter(function(j){return C.indexOf(j)<0});if(L.length&&!w)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+L);return this},A.prototype.use=function(y){var w=[this].concat(Array.prototype.slice.call(arguments,1));return y.apply(y,w),this},A.prototype.parse=function(y,w){if(typeof y!="string")throw new Error("Input data should be a String");var C=new this.core.State(y,this,w);return this.core.process(C),C.tokens},A.prototype.render=function(y,w){return w=w||{},this.renderer.render(this.parse(y,w),this.options,w)},A.prototype.parseInline=function(y,w){var C=new this.core.State(y,this,w);return C.inlineMode=!0,this.core.process(C),C.tokens},A.prototype.renderInline=function(y,w){return w=w||{},this.renderer.render(this.parseInline(y,w),this.options,w)},x.exports=A},function(x){x.exports=JSON.parse('{"Aacute":"\xC1","aacute":"\xE1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223E","acd":"\u223F","acE":"\u223E\u0333","Acirc":"\xC2","acirc":"\xE2","acute":"\xB4","Acy":"\u0410","acy":"\u0430","AElig":"\xC6","aelig":"\xE6","af":"\u2061","Afr":"\u{1D504}","afr":"\u{1D51E}","Agrave":"\xC0","agrave":"\xE0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03B1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2A3F","amp":"&","AMP":"&","andand":"\u2A55","And":"\u2A53","and":"\u2227","andd":"\u2A5C","andslope":"\u2A58","andv":"\u2A5A","ang":"\u2220","ange":"\u29A4","angle":"\u2220","angmsdaa":"\u29A8","angmsdab":"\u29A9","angmsdac":"\u29AA","angmsdad":"\u29AB","angmsdae":"\u29AC","angmsdaf":"\u29AD","angmsdag":"\u29AE","angmsdah":"\u29AF","angmsd":"\u2221","angrt":"\u221F","angrtvb":"\u22BE","angrtvbd":"\u299D","angsph":"\u2222","angst":"\xC5","angzarr":"\u237C","Aogon":"\u0104","aogon":"\u0105","Aopf":"\u{1D538}","aopf":"\u{1D552}","apacir":"\u2A6F","ap":"\u2248","apE":"\u2A70","ape":"\u224A","apid":"\u224B","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224A","Aring":"\xC5","aring":"\xE5","Ascr":"\u{1D49C}","ascr":"\u{1D4B6}","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224D","Atilde":"\xC3","atilde":"\xE3","Auml":"\xC4","auml":"\xE4","awconint":"\u2233","awint":"\u2A11","backcong":"\u224C","backepsilon":"\u03F6","backprime":"\u2035","backsim":"\u223D","backsimeq":"\u22CD","Backslash":"\u2216","Barv":"\u2AE7","barvee":"\u22BD","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23B5","bbrktbrk":"\u23B6","bcong":"\u224C","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201E","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29B0","bepsi":"\u03F6","bernou":"\u212C","Bernoullis":"\u212C","Beta":"\u0392","beta":"\u03B2","beth":"\u2136","between":"\u226C","Bfr":"\u{1D505}","bfr":"\u{1D51F}","bigcap":"\u22C2","bigcirc":"\u25EF","bigcup":"\u22C3","bigodot":"\u2A00","bigoplus":"\u2A01","bigotimes":"\u2A02","bigsqcup":"\u2A06","bigstar":"\u2605","bigtriangledown":"\u25BD","bigtriangleup":"\u25B3","biguplus":"\u2A04","bigvee":"\u22C1","bigwedge":"\u22C0","bkarow":"\u290D","blacklozenge":"\u29EB","blacksquare":"\u25AA","blacktriangle":"\u25B4","blacktriangledown":"\u25BE","blacktriangleleft":"\u25C2","blacktriangleright":"\u25B8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20E5","bnequiv":"\u2261\u20E5","bNot":"\u2AED","bnot":"\u2310","Bopf":"\u{1D539}","bopf":"\u{1D553}","bot":"\u22A5","bottom":"\u22A5","bowtie":"\u22C8","boxbox":"\u29C9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250C","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252C","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229F","boxplus":"\u229E","boxtimes":"\u22A0","boxul":"\u2518","boxuL":"\u255B","boxUl":"\u255C","boxUL":"\u255D","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255A","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253C","boxvH":"\u256A","boxVh":"\u256B","boxVH":"\u256C","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251C","boxvR":"\u255E","boxVr":"\u255F","boxVR":"\u2560","bprime":"\u2035","breve":"\u02D8","Breve":"\u02D8","brvbar":"\xA6","bscr":"\u{1D4B7}","Bscr":"\u212C","bsemi":"\u204F","bsim":"\u223D","bsime":"\u22CD","bsolb":"\u29C5","bsol":"\\\\","bsolhsub":"\u27C8","bull":"\u2022","bullet":"\u2022","bump":"\u224E","bumpE":"\u2AAE","bumpe":"\u224F","Bumpeq":"\u224E","bumpeq":"\u224F","Cacute":"\u0106","cacute":"\u0107","capand":"\u2A44","capbrcup":"\u2A49","capcap":"\u2A4B","cap":"\u2229","Cap":"\u22D2","capcup":"\u2A47","capdot":"\u2A40","CapitalDifferentialD":"\u2145","caps":"\u2229\uFE00","caret":"\u2041","caron":"\u02C7","Cayleys":"\u212D","ccaps":"\u2A4D","Ccaron":"\u010C","ccaron":"\u010D","Ccedil":"\xC7","ccedil":"\xE7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2A4C","ccupssm":"\u2A50","Cdot":"\u010A","cdot":"\u010B","cedil":"\xB8","Cedilla":"\xB8","cemptyv":"\u29B2","cent":"\xA2","centerdot":"\xB7","CenterDot":"\xB7","cfr":"\u{1D520}","Cfr":"\u212D","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03A7","chi":"\u03C7","circ":"\u02C6","circeq":"\u2257","circlearrowleft":"\u21BA","circlearrowright":"\u21BB","circledast":"\u229B","circledcirc":"\u229A","circleddash":"\u229D","CircleDot":"\u2299","circledR":"\xAE","circledS":"\u24C8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25CB","cirE":"\u29C3","cire":"\u2257","cirfnint":"\u2A10","cirmid":"\u2AEF","cirscir":"\u29C2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201D","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2A74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2A6D","Congruent":"\u2261","conint":"\u222E","Conint":"\u222F","ContourIntegral":"\u222E","copf":"\u{1D554}","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xA9","COPY":"\xA9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21B5","cross":"\u2717","Cross":"\u2A2F","Cscr":"\u{1D49E}","cscr":"\u{1D4B8}","csub":"\u2ACF","csube":"\u2AD1","csup":"\u2AD0","csupe":"\u2AD2","ctdot":"\u22EF","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22DE","cuesc":"\u22DF","cularr":"\u21B6","cularrp":"\u293D","cupbrcap":"\u2A48","cupcap":"\u2A46","CupCap":"\u224D","cup":"\u222A","Cup":"\u22D3","cupcup":"\u2A4A","cupdot":"\u228D","cupor":"\u2A45","cups":"\u222A\uFE00","curarr":"\u21B7","curarrm":"\u293C","curlyeqprec":"\u22DE","curlyeqsucc":"\u22DF","curlyvee":"\u22CE","curlywedge":"\u22CF","curren":"\xA4","curvearrowleft":"\u21B6","curvearrowright":"\u21B7","cuvee":"\u22CE","cuwed":"\u22CF","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232D","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21A1","dArr":"\u21D3","dash":"\u2010","Dashv":"\u2AE4","dashv":"\u22A3","dbkarow":"\u290F","dblac":"\u02DD","Dcaron":"\u010E","dcaron":"\u010F","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21CA","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2A77","deg":"\xB0","Del":"\u2207","Delta":"\u0394","delta":"\u03B4","demptyv":"\u29B1","dfisht":"\u297F","Dfr":"\u{1D507}","dfr":"\u{1D521}","dHar":"\u2965","dharl":"\u21C3","dharr":"\u21C2","DiacriticalAcute":"\xB4","DiacriticalDot":"\u02D9","DiacriticalDoubleAcute":"\u02DD","DiacriticalGrave":"`","DiacriticalTilde":"\u02DC","diam":"\u22C4","diamond":"\u22C4","Diamond":"\u22C4","diamondsuit":"\u2666","diams":"\u2666","die":"\xA8","DifferentialD":"\u2146","digamma":"\u03DD","disin":"\u22F2","div":"\xF7","divide":"\xF7","divideontimes":"\u22C7","divonx":"\u22C7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231E","dlcrop":"\u230D","dollar":"$","Dopf":"\u{1D53B}","dopf":"\u{1D555}","Dot":"\xA8","dot":"\u02D9","DotDot":"\u20DC","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22A1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222F","DoubleDot":"\xA8","DoubleDownArrow":"\u21D3","DoubleLeftArrow":"\u21D0","DoubleLeftRightArrow":"\u21D4","DoubleLeftTee":"\u2AE4","DoubleLongLeftArrow":"\u27F8","DoubleLongLeftRightArrow":"\u27FA","DoubleLongRightArrow":"\u27F9","DoubleRightArrow":"\u21D2","DoubleRightTee":"\u22A8","DoubleUpArrow":"\u21D1","DoubleUpDownArrow":"\u21D5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21D3","DownArrowUpArrow":"\u21F5","DownBreve":"\u0311","downdownarrows":"\u21CA","downharpoonleft":"\u21C3","downharpoonright":"\u21C2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295E","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21BD","DownRightTeeVector":"\u295F","DownRightVectorBar":"\u2957","DownRightVector":"\u21C1","DownTeeArrow":"\u21A7","DownTee":"\u22A4","drbkarow":"\u2910","drcorn":"\u231F","drcrop":"\u230C","Dscr":"\u{1D49F}","dscr":"\u{1D4B9}","DScy":"\u0405","dscy":"\u0455","dsol":"\u29F6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22F1","dtri":"\u25BF","dtrif":"\u25BE","duarr":"\u21F5","duhar":"\u296F","dwangle":"\u29A6","DZcy":"\u040F","dzcy":"\u045F","dzigrarr":"\u27FF","Eacute":"\xC9","eacute":"\xE9","easter":"\u2A6E","Ecaron":"\u011A","ecaron":"\u011B","Ecirc":"\xCA","ecirc":"\xEA","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042D","ecy":"\u044D","eDDot":"\u2A77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\u{1D508}","efr":"\u{1D522}","eg":"\u2A9A","Egrave":"\xC8","egrave":"\xE8","egs":"\u2A96","egsdot":"\u2A98","el":"\u2A99","Element":"\u2208","elinters":"\u23E7","ell":"\u2113","els":"\u2A95","elsdot":"\u2A97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25FB","emptyv":"\u2205","EmptyVerySmallSquare":"\u25AB","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014A","eng":"\u014B","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\u{1D53C}","eopf":"\u{1D556}","epar":"\u22D5","eparsl":"\u29E3","eplus":"\u2A71","epsi":"\u03B5","Epsilon":"\u0395","epsilon":"\u03B5","epsiv":"\u03F5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2A96","eqslantless":"\u2A95","Equal":"\u2A75","equals":"=","EqualTilde":"\u2242","equest":"\u225F","Equilibrium":"\u21CC","equiv":"\u2261","equivDD":"\u2A78","eqvparsl":"\u29E5","erarr":"\u2971","erDot":"\u2253","escr":"\u212F","Escr":"\u2130","esdot":"\u2250","Esim":"\u2A73","esim":"\u2242","Eta":"\u0397","eta":"\u03B7","ETH":"\xD0","eth":"\xF0","Euml":"\xCB","euml":"\xEB","euro":"\u20AC","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\uFB03","fflig":"\uFB00","ffllig":"\uFB04","Ffr":"\u{1D509}","ffr":"\u{1D523}","filig":"\uFB01","FilledSmallSquare":"\u25FC","FilledVerySmallSquare":"\u25AA","fjlig":"fj","flat":"\u266D","fllig":"\uFB02","fltns":"\u25B1","fnof":"\u0192","Fopf":"\u{1D53D}","fopf":"\u{1D557}","forall":"\u2200","ForAll":"\u2200","fork":"\u22D4","forkv":"\u2AD9","Fouriertrf":"\u2131","fpartint":"\u2A0D","frac12":"\xBD","frac13":"\u2153","frac14":"\xBC","frac15":"\u2155","frac16":"\u2159","frac18":"\u215B","frac23":"\u2154","frac25":"\u2156","frac34":"\xBE","frac35":"\u2157","frac38":"\u215C","frac45":"\u2158","frac56":"\u215A","frac58":"\u215D","frac78":"\u215E","frasl":"\u2044","frown":"\u2322","fscr":"\u{1D4BB}","Fscr":"\u2131","gacute":"\u01F5","Gamma":"\u0393","gamma":"\u03B3","Gammad":"\u03DC","gammad":"\u03DD","gap":"\u2A86","Gbreve":"\u011E","gbreve":"\u011F","Gcedil":"\u0122","Gcirc":"\u011C","gcirc":"\u011D","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2A8C","gel":"\u22DB","geq":"\u2265","geqq":"\u2267","geqslant":"\u2A7E","gescc":"\u2AA9","ges":"\u2A7E","gesdot":"\u2A80","gesdoto":"\u2A82","gesdotol":"\u2A84","gesl":"\u22DB\uFE00","gesles":"\u2A94","Gfr":"\u{1D50A}","gfr":"\u{1D524}","gg":"\u226B","Gg":"\u22D9","ggg":"\u22D9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2AA5","gl":"\u2277","glE":"\u2A92","glj":"\u2AA4","gnap":"\u2A8A","gnapprox":"\u2A8A","gne":"\u2A88","gnE":"\u2269","gneq":"\u2A88","gneqq":"\u2269","gnsim":"\u22E7","Gopf":"\u{1D53E}","gopf":"\u{1D558}","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22DB","GreaterFullEqual":"\u2267","GreaterGreater":"\u2AA2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2A7E","GreaterTilde":"\u2273","Gscr":"\u{1D4A2}","gscr":"\u210A","gsim":"\u2273","gsime":"\u2A8E","gsiml":"\u2A90","gtcc":"\u2AA7","gtcir":"\u2A7A","gt":">","GT":">","Gt":"\u226B","gtdot":"\u22D7","gtlPar":"\u2995","gtquest":"\u2A7C","gtrapprox":"\u2A86","gtrarr":"\u2978","gtrdot":"\u22D7","gtreqless":"\u22DB","gtreqqless":"\u2A8C","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\uFE00","gvnE":"\u2269\uFE00","Hacek":"\u02C7","hairsp":"\u200A","half":"\xBD","hamilt":"\u210B","HARDcy":"\u042A","hardcy":"\u044A","harrcir":"\u2948","harr":"\u2194","hArr":"\u21D4","harrw":"\u21AD","Hat":"^","hbar":"\u210F","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22B9","hfr":"\u{1D525}","Hfr":"\u210C","HilbertSpace":"\u210B","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21FF","homtht":"\u223B","hookleftarrow":"\u21A9","hookrightarrow":"\u21AA","hopf":"\u{1D559}","Hopf":"\u210D","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\u{1D4BD}","Hscr":"\u210B","hslash":"\u210F","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224E","HumpEqual":"\u224F","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xCD","iacute":"\xED","ic":"\u2063","Icirc":"\xCE","icirc":"\xEE","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xA1","iff":"\u21D4","ifr":"\u{1D526}","Ifr":"\u2111","Igrave":"\xCC","igrave":"\xEC","ii":"\u2148","iiiint":"\u2A0C","iiint":"\u222D","iinfin":"\u29DC","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012A","imacr":"\u012B","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22B7","imped":"\u01B5","Implies":"\u21D2","incare":"\u2105","in":"\u2208","infin":"\u221E","infintie":"\u29DD","inodot":"\u0131","intcal":"\u22BA","int":"\u222B","Int":"\u222C","integers":"\u2124","Integral":"\u222B","intercal":"\u22BA","Intersection":"\u22C2","intlarhk":"\u2A17","intprod":"\u2A3C","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012E","iogon":"\u012F","Iopf":"\u{1D540}","iopf":"\u{1D55A}","Iota":"\u0399","iota":"\u03B9","iprod":"\u2A3C","iquest":"\xBF","iscr":"\u{1D4BE}","Iscr":"\u2110","isin":"\u2208","isindot":"\u22F5","isinE":"\u22F9","isins":"\u22F4","isinsv":"\u22F3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xCF","iuml":"\xEF","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\u{1D50D}","jfr":"\u{1D527}","jmath":"\u0237","Jopf":"\u{1D541}","jopf":"\u{1D55B}","Jscr":"\u{1D4A5}","jscr":"\u{1D4BF}","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039A","kappa":"\u03BA","kappav":"\u03F0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041A","kcy":"\u043A","Kfr":"\u{1D50E}","kfr":"\u{1D528}","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040C","kjcy":"\u045C","Kopf":"\u{1D542}","kopf":"\u{1D55C}","Kscr":"\u{1D4A6}","kscr":"\u{1D4C0}","lAarr":"\u21DA","Lacute":"\u0139","lacute":"\u013A","laemptyv":"\u29B4","lagran":"\u2112","Lambda":"\u039B","lambda":"\u03BB","lang":"\u27E8","Lang":"\u27EA","langd":"\u2991","langle":"\u27E8","lap":"\u2A85","Laplacetrf":"\u2112","laquo":"\xAB","larrb":"\u21E4","larrbfs":"\u291F","larr":"\u2190","Larr":"\u219E","lArr":"\u21D0","larrfs":"\u291D","larrhk":"\u21A9","larrlp":"\u21AB","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21A2","latail":"\u2919","lAtail":"\u291B","lat":"\u2AAB","late":"\u2AAD","lates":"\u2AAD\uFE00","lbarr":"\u290C","lBarr":"\u290E","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298B","lbrksld":"\u298F","lbrkslu":"\u298D","Lcaron":"\u013D","lcaron":"\u013E","Lcedil":"\u013B","lcedil":"\u013C","lceil":"\u2308","lcub":"{","Lcy":"\u041B","lcy":"\u043B","ldca":"\u2936","ldquo":"\u201C","ldquor":"\u201E","ldrdhar":"\u2967","ldrushar":"\u294B","ldsh":"\u21B2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27E8","LeftArrowBar":"\u21E4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21D0","LeftArrowRightArrow":"\u21C6","leftarrowtail":"\u21A2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27E6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21C3","LeftFloor":"\u230A","leftharpoondown":"\u21BD","leftharpoonup":"\u21BC","leftleftarrows":"\u21C7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21D4","leftrightarrows":"\u21C6","leftrightharpoons":"\u21CB","leftrightsquigarrow":"\u21AD","LeftRightVector":"\u294E","LeftTeeArrow":"\u21A4","LeftTee":"\u22A3","LeftTeeVector":"\u295A","leftthreetimes":"\u22CB","LeftTriangleBar":"\u29CF","LeftTriangle":"\u22B2","LeftTriangleEqual":"\u22B4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21BF","LeftVectorBar":"\u2952","LeftVector":"\u21BC","lEg":"\u2A8B","leg":"\u22DA","leq":"\u2264","leqq":"\u2266","leqslant":"\u2A7D","lescc":"\u2AA8","les":"\u2A7D","lesdot":"\u2A7F","lesdoto":"\u2A81","lesdotor":"\u2A83","lesg":"\u22DA\uFE00","lesges":"\u2A93","lessapprox":"\u2A85","lessdot":"\u22D6","lesseqgtr":"\u22DA","lesseqqgtr":"\u2A8B","LessEqualGreater":"\u22DA","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2AA1","lesssim":"\u2272","LessSlantEqual":"\u2A7D","LessTilde":"\u2272","lfisht":"\u297C","lfloor":"\u230A","Lfr":"\u{1D50F}","lfr":"\u{1D529}","lg":"\u2276","lgE":"\u2A91","lHar":"\u2962","lhard":"\u21BD","lharu":"\u21BC","lharul":"\u296A","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21C7","ll":"\u226A","Ll":"\u22D8","llcorner":"\u231E","Lleftarrow":"\u21DA","llhard":"\u296B","lltri":"\u25FA","Lmidot":"\u013F","lmidot":"\u0140","lmoustache":"\u23B0","lmoust":"\u23B0","lnap":"\u2A89","lnapprox":"\u2A89","lne":"\u2A87","lnE":"\u2268","lneq":"\u2A87","lneqq":"\u2268","lnsim":"\u22E6","loang":"\u27EC","loarr":"\u21FD","lobrk":"\u27E6","longleftarrow":"\u27F5","LongLeftArrow":"\u27F5","Longleftarrow":"\u27F8","longleftrightarrow":"\u27F7","LongLeftRightArrow":"\u27F7","Longleftrightarrow":"\u27FA","longmapsto":"\u27FC","longrightarrow":"\u27F6","LongRightArrow":"\u27F6","Longrightarrow":"\u27F9","looparrowleft":"\u21AB","looparrowright":"\u21AC","lopar":"\u2985","Lopf":"\u{1D543}","lopf":"\u{1D55D}","loplus":"\u2A2D","lotimes":"\u2A34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25CA","lozenge":"\u25CA","lozf":"\u29EB","lpar":"(","lparlt":"\u2993","lrarr":"\u21C6","lrcorner":"\u231F","lrhar":"\u21CB","lrhard":"\u296D","lrm":"\u200E","lrtri":"\u22BF","lsaquo":"\u2039","lscr":"\u{1D4C1}","Lscr":"\u2112","lsh":"\u21B0","Lsh":"\u21B0","lsim":"\u2272","lsime":"\u2A8D","lsimg":"\u2A8F","lsqb":"[","lsquo":"\u2018","lsquor":"\u201A","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2AA6","ltcir":"\u2A79","lt":"<","LT":"<","Lt":"\u226A","ltdot":"\u22D6","lthree":"\u22CB","ltimes":"\u22C9","ltlarr":"\u2976","ltquest":"\u2A7B","ltri":"\u25C3","ltrie":"\u22B4","ltrif":"\u25C2","ltrPar":"\u2996","lurdshar":"\u294A","luruhar":"\u2966","lvertneqq":"\u2268\uFE00","lvnE":"\u2268\uFE00","macr":"\xAF","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21A6","mapsto":"\u21A6","mapstodown":"\u21A7","mapstoleft":"\u21A4","mapstoup":"\u21A5","marker":"\u25AE","mcomma":"\u2A29","Mcy":"\u041C","mcy":"\u043C","mdash":"\u2014","mDDot":"\u223A","measuredangle":"\u2221","MediumSpace":"\u205F","Mellintrf":"\u2133","Mfr":"\u{1D510}","mfr":"\u{1D52A}","mho":"\u2127","micro":"\xB5","midast":"*","midcir":"\u2AF0","mid":"\u2223","middot":"\xB7","minusb":"\u229F","minus":"\u2212","minusd":"\u2238","minusdu":"\u2A2A","MinusPlus":"\u2213","mlcp":"\u2ADB","mldr":"\u2026","mnplus":"\u2213","models":"\u22A7","Mopf":"\u{1D544}","mopf":"\u{1D55E}","mp":"\u2213","mscr":"\u{1D4C2}","Mscr":"\u2133","mstpos":"\u223E","Mu":"\u039C","mu":"\u03BC","multimap":"\u22B8","mumap":"\u22B8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20D2","nap":"\u2249","napE":"\u2A70\u0338","napid":"\u224B\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266E","naturals":"\u2115","natur":"\u266E","nbsp":"\xA0","nbump":"\u224E\u0338","nbumpe":"\u224F\u0338","ncap":"\u2A43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2A6D\u0338","ncup":"\u2A42","Ncy":"\u041D","ncy":"\u043D","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21D7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200B","NegativeThickSpace":"\u200B","NegativeThinSpace":"\u200B","NegativeVeryThinSpace":"\u200B","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226B","NestedLessLess":"\u226A","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\u{1D511}","nfr":"\u{1D52B}","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2A7E\u0338","nges":"\u2A7E\u0338","nGg":"\u22D9\u0338","ngsim":"\u2275","nGt":"\u226B\u20D2","ngt":"\u226F","ngtr":"\u226F","nGtv":"\u226B\u0338","nharr":"\u21AE","nhArr":"\u21CE","nhpar":"\u2AF2","ni":"\u220B","nis":"\u22FC","nisd":"\u22FA","niv":"\u220B","NJcy":"\u040A","njcy":"\u045A","nlarr":"\u219A","nlArr":"\u21CD","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219A","nLeftarrow":"\u21CD","nleftrightarrow":"\u21AE","nLeftrightarrow":"\u21CE","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2A7D\u0338","nles":"\u2A7D\u0338","nless":"\u226E","nLl":"\u22D8\u0338","nlsim":"\u2274","nLt":"\u226A\u20D2","nlt":"\u226E","nltri":"\u22EA","nltrie":"\u22EC","nLtv":"\u226A\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xA0","nopf":"\u{1D55F}","Nopf":"\u2115","Not":"\u2AEC","not":"\xAC","NotCongruent":"\u2262","NotCupCap":"\u226D","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226F","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226B\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2A7E\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224E\u0338","NotHumpEqual":"\u224F\u0338","notin":"\u2209","notindot":"\u22F5\u0338","notinE":"\u22F9\u0338","notinva":"\u2209","notinvb":"\u22F7","notinvc":"\u22F6","NotLeftTriangleBar":"\u29CF\u0338","NotLeftTriangle":"\u22EA","NotLeftTriangleEqual":"\u22EC","NotLess":"\u226E","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226A\u0338","NotLessSlantEqual":"\u2A7D\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2AA2\u0338","NotNestedLessLess":"\u2AA1\u0338","notni":"\u220C","notniva":"\u220C","notnivb":"\u22FE","notnivc":"\u22FD","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2AAF\u0338","NotPrecedesSlantEqual":"\u22E0","NotReverseElement":"\u220C","NotRightTriangleBar":"\u29D0\u0338","NotRightTriangle":"\u22EB","NotRightTriangleEqual":"\u22ED","NotSquareSubset":"\u228F\u0338","NotSquareSubsetEqual":"\u22E2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22E3","NotSubset":"\u2282\u20D2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2AB0\u0338","NotSucceedsSlantEqual":"\u22E1","NotSucceedsTilde":"\u227F\u0338","NotSuperset":"\u2283\u20D2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2AFD\u20E5","npart":"\u2202\u0338","npolint":"\u2A14","npr":"\u2280","nprcue":"\u22E0","nprec":"\u2280","npreceq":"\u2AAF\u0338","npre":"\u2AAF\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219B","nrArr":"\u21CF","nrarrw":"\u219D\u0338","nrightarrow":"\u219B","nRightarrow":"\u21CF","nrtri":"\u22EB","nrtrie":"\u22ED","nsc":"\u2281","nsccue":"\u22E1","nsce":"\u2AB0\u0338","Nscr":"\u{1D4A9}","nscr":"\u{1D4C3}","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22E2","nsqsupe":"\u22E3","nsub":"\u2284","nsubE":"\u2AC5\u0338","nsube":"\u2288","nsubset":"\u2282\u20D2","nsubseteq":"\u2288","nsubseteqq":"\u2AC5\u0338","nsucc":"\u2281","nsucceq":"\u2AB0\u0338","nsup":"\u2285","nsupE":"\u2AC6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20D2","nsupseteq":"\u2289","nsupseteqq":"\u2AC6\u0338","ntgl":"\u2279","Ntilde":"\xD1","ntilde":"\xF1","ntlg":"\u2278","ntriangleleft":"\u22EA","ntrianglelefteq":"\u22EC","ntriangleright":"\u22EB","ntrianglerighteq":"\u22ED","Nu":"\u039D","nu":"\u03BD","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224D\u20D2","nvdash":"\u22AC","nvDash":"\u22AD","nVdash":"\u22AE","nVDash":"\u22AF","nvge":"\u2265\u20D2","nvgt":">\u20D2","nvHarr":"\u2904","nvinfin":"\u29DE","nvlArr":"\u2902","nvle":"\u2264\u20D2","nvlt":"<\u20D2","nvltrie":"\u22B4\u20D2","nvrArr":"\u2903","nvrtrie":"\u22B5\u20D2","nvsim":"\u223C\u20D2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21D6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xD3","oacute":"\xF3","oast":"\u229B","Ocirc":"\xD4","ocirc":"\xF4","ocir":"\u229A","Ocy":"\u041E","ocy":"\u043E","odash":"\u229D","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2A38","odot":"\u2299","odsold":"\u29BC","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29BF","Ofr":"\u{1D512}","ofr":"\u{1D52C}","ogon":"\u02DB","Ograve":"\xD2","ograve":"\xF2","ogt":"\u29C1","ohbar":"\u29B5","ohm":"\u03A9","oint":"\u222E","olarr":"\u21BA","olcir":"\u29BE","olcross":"\u29BB","oline":"\u203E","olt":"\u29C0","Omacr":"\u014C","omacr":"\u014D","Omega":"\u03A9","omega":"\u03C9","Omicron":"\u039F","omicron":"\u03BF","omid":"\u29B6","ominus":"\u2296","Oopf":"\u{1D546}","oopf":"\u{1D560}","opar":"\u29B7","OpenCurlyDoubleQuote":"\u201C","OpenCurlyQuote":"\u2018","operp":"\u29B9","oplus":"\u2295","orarr":"\u21BB","Or":"\u2A54","or":"\u2228","ord":"\u2A5D","order":"\u2134","orderof":"\u2134","ordf":"\xAA","ordm":"\xBA","origof":"\u22B6","oror":"\u2A56","orslope":"\u2A57","orv":"\u2A5B","oS":"\u24C8","Oscr":"\u{1D4AA}","oscr":"\u2134","Oslash":"\xD8","oslash":"\xF8","osol":"\u2298","Otilde":"\xD5","otilde":"\xF5","otimesas":"\u2A36","Otimes":"\u2A37","otimes":"\u2297","Ouml":"\xD6","ouml":"\xF6","ovbar":"\u233D","OverBar":"\u203E","OverBrace":"\u23DE","OverBracket":"\u23B4","OverParenthesis":"\u23DC","para":"\xB6","parallel":"\u2225","par":"\u2225","parsim":"\u2AF3","parsl":"\u2AFD","part":"\u2202","PartialD":"\u2202","Pcy":"\u041F","pcy":"\u043F","percnt":"%","period":".","permil":"\u2030","perp":"\u22A5","pertenk":"\u2031","Pfr":"\u{1D513}","pfr":"\u{1D52D}","Phi":"\u03A6","phi":"\u03C6","phiv":"\u03D5","phmmat":"\u2133","phone":"\u260E","Pi":"\u03A0","pi":"\u03C0","pitchfork":"\u22D4","piv":"\u03D6","planck":"\u210F","planckh":"\u210E","plankv":"\u210F","plusacir":"\u2A23","plusb":"\u229E","pluscir":"\u2A22","plus":"+","plusdo":"\u2214","plusdu":"\u2A25","pluse":"\u2A72","PlusMinus":"\xB1","plusmn":"\xB1","plussim":"\u2A26","plustwo":"\u2A27","pm":"\xB1","Poincareplane":"\u210C","pointint":"\u2A15","popf":"\u{1D561}","Popf":"\u2119","pound":"\xA3","prap":"\u2AB7","Pr":"\u2ABB","pr":"\u227A","prcue":"\u227C","precapprox":"\u2AB7","prec":"\u227A","preccurlyeq":"\u227C","Precedes":"\u227A","PrecedesEqual":"\u2AAF","PrecedesSlantEqual":"\u227C","PrecedesTilde":"\u227E","preceq":"\u2AAF","precnapprox":"\u2AB9","precneqq":"\u2AB5","precnsim":"\u22E8","pre":"\u2AAF","prE":"\u2AB3","precsim":"\u227E","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2AB9","prnE":"\u2AB5","prnsim":"\u22E8","prod":"\u220F","Product":"\u220F","profalar":"\u232E","profline":"\u2312","profsurf":"\u2313","prop":"\u221D","Proportional":"\u221D","Proportion":"\u2237","propto":"\u221D","prsim":"\u227E","prurel":"\u22B0","Pscr":"\u{1D4AB}","pscr":"\u{1D4C5}","Psi":"\u03A8","psi":"\u03C8","puncsp":"\u2008","Qfr":"\u{1D514}","qfr":"\u{1D52E}","qint":"\u2A0C","qopf":"\u{1D562}","Qopf":"\u211A","qprime":"\u2057","Qscr":"\u{1D4AC}","qscr":"\u{1D4C6}","quaternions":"\u210D","quatint":"\u2A16","quest":"?","questeq":"\u225F","quot":"\\"","QUOT":"\\"","rAarr":"\u21DB","race":"\u223D\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221A","raemptyv":"\u29B3","rang":"\u27E9","Rang":"\u27EB","rangd":"\u2992","range":"\u29A5","rangle":"\u27E9","raquo":"\xBB","rarrap":"\u2975","rarrb":"\u21E5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21A0","rArr":"\u21D2","rarrfs":"\u291E","rarrhk":"\u21AA","rarrlp":"\u21AC","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21A3","rarrw":"\u219D","ratail":"\u291A","rAtail":"\u291C","ratio":"\u2236","rationals":"\u211A","rbarr":"\u290D","rBarr":"\u290F","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298C","rbrksld":"\u298E","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201D","rdquor":"\u201D","rdsh":"\u21B3","real":"\u211C","realine":"\u211B","realpart":"\u211C","reals":"\u211D","Re":"\u211C","rect":"\u25AD","reg":"\xAE","REG":"\xAE","ReverseElement":"\u220B","ReverseEquilibrium":"\u21CB","ReverseUpEquilibrium":"\u296F","rfisht":"\u297D","rfloor":"\u230B","rfr":"\u{1D52F}","Rfr":"\u211C","rHar":"\u2964","rhard":"\u21C1","rharu":"\u21C0","rharul":"\u296C","Rho":"\u03A1","rho":"\u03C1","rhov":"\u03F1","RightAngleBracket":"\u27E9","RightArrowBar":"\u21E5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21D2","RightArrowLeftArrow":"\u21C4","rightarrowtail":"\u21A3","RightCeiling":"\u2309","RightDoubleBracket":"\u27E7","RightDownTeeVector":"\u295D","RightDownVectorBar":"\u2955","RightDownVector":"\u21C2","RightFloor":"\u230B","rightharpoondown":"\u21C1","rightharpoonup":"\u21C0","rightleftarrows":"\u21C4","rightleftharpoons":"\u21CC","rightrightarrows":"\u21C9","rightsquigarrow":"\u219D","RightTeeArrow":"\u21A6","RightTee":"\u22A2","RightTeeVector":"\u295B","rightthreetimes":"\u22CC","RightTriangleBar":"\u29D0","RightTriangle":"\u22B3","RightTriangleEqual":"\u22B5","RightUpDownVector":"\u294F","RightUpTeeVector":"\u295C","RightUpVectorBar":"\u2954","RightUpVector":"\u21BE","RightVectorBar":"\u2953","RightVector":"\u21C0","ring":"\u02DA","risingdotseq":"\u2253","rlarr":"\u21C4","rlhar":"\u21CC","rlm":"\u200F","rmoustache":"\u23B1","rmoust":"\u23B1","rnmid":"\u2AEE","roang":"\u27ED","roarr":"\u21FE","robrk":"\u27E7","ropar":"\u2986","ropf":"\u{1D563}","Ropf":"\u211D","roplus":"\u2A2E","rotimes":"\u2A35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2A12","rrarr":"\u21C9","Rrightarrow":"\u21DB","rsaquo":"\u203A","rscr":"\u{1D4C7}","Rscr":"\u211B","rsh":"\u21B1","Rsh":"\u21B1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22CC","rtimes":"\u22CA","rtri":"\u25B9","rtrie":"\u22B5","rtrif":"\u25B8","rtriltri":"\u29CE","RuleDelayed":"\u29F4","ruluhar":"\u2968","rx":"\u211E","Sacute":"\u015A","sacute":"\u015B","sbquo":"\u201A","scap":"\u2AB8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2ABC","sc":"\u227B","sccue":"\u227D","sce":"\u2AB0","scE":"\u2AB4","Scedil":"\u015E","scedil":"\u015F","Scirc":"\u015C","scirc":"\u015D","scnap":"\u2ABA","scnE":"\u2AB6","scnsim":"\u22E9","scpolint":"\u2A13","scsim":"\u227F","Scy":"\u0421","scy":"\u0441","sdotb":"\u22A1","sdot":"\u22C5","sdote":"\u2A66","searhk":"\u2925","searr":"\u2198","seArr":"\u21D8","searrow":"\u2198","sect":"\xA7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\u{1D516}","sfr":"\u{1D530}","sfrown":"\u2322","sharp":"\u266F","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xAD","Sigma":"\u03A3","sigma":"\u03C3","sigmaf":"\u03C2","sigmav":"\u03C2","sim":"\u223C","simdot":"\u2A6A","sime":"\u2243","simeq":"\u2243","simg":"\u2A9E","simgE":"\u2AA0","siml":"\u2A9D","simlE":"\u2A9F","simne":"\u2246","simplus":"\u2A24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2A33","smeparsl":"\u29E4","smid":"\u2223","smile":"\u2323","smt":"\u2AAA","smte":"\u2AAC","smtes":"\u2AAC\uFE00","SOFTcy":"\u042C","softcy":"\u044C","solbar":"\u233F","solb":"\u29C4","sol":"/","Sopf":"\u{1D54A}","sopf":"\u{1D564}","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\uFE00","sqcup":"\u2294","sqcups":"\u2294\uFE00","Sqrt":"\u221A","sqsub":"\u228F","sqsube":"\u2291","sqsubset":"\u228F","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25A1","Square":"\u25A1","SquareIntersection":"\u2293","SquareSubset":"\u228F","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25AA","squ":"\u25A1","squf":"\u25AA","srarr":"\u2192","Sscr":"\u{1D4AE}","sscr":"\u{1D4C8}","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22C6","Star":"\u22C6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03F5","straightphi":"\u03D5","strns":"\xAF","sub":"\u2282","Sub":"\u22D0","subdot":"\u2ABD","subE":"\u2AC5","sube":"\u2286","subedot":"\u2AC3","submult":"\u2AC1","subnE":"\u2ACB","subne":"\u228A","subplus":"\u2ABF","subrarr":"\u2979","subset":"\u2282","Subset":"\u22D0","subseteq":"\u2286","subseteqq":"\u2AC5","SubsetEqual":"\u2286","subsetneq":"\u228A","subsetneqq":"\u2ACB","subsim":"\u2AC7","subsub":"\u2AD5","subsup":"\u2AD3","succapprox":"\u2AB8","succ":"\u227B","succcurlyeq":"\u227D","Succeeds":"\u227B","SucceedsEqual":"\u2AB0","SucceedsSlantEqual":"\u227D","SucceedsTilde":"\u227F","succeq":"\u2AB0","succnapprox":"\u2ABA","succneqq":"\u2AB6","succnsim":"\u22E9","succsim":"\u227F","SuchThat":"\u220B","sum":"\u2211","Sum":"\u2211","sung":"\u266A","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","sup":"\u2283","Sup":"\u22D1","supdot":"\u2ABE","supdsub":"\u2AD8","supE":"\u2AC6","supe":"\u2287","supedot":"\u2AC4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27C9","suphsub":"\u2AD7","suplarr":"\u297B","supmult":"\u2AC2","supnE":"\u2ACC","supne":"\u228B","supplus":"\u2AC0","supset":"\u2283","Supset":"\u22D1","supseteq":"\u2287","supseteqq":"\u2AC6","supsetneq":"\u228B","supsetneqq":"\u2ACC","supsim":"\u2AC8","supsub":"\u2AD4","supsup":"\u2AD6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21D9","swarrow":"\u2199","swnwar":"\u292A","szlig":"\xDF","Tab":"\\t","target":"\u2316","Tau":"\u03A4","tau":"\u03C4","tbrk":"\u23B4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20DB","telrec":"\u2315","Tfr":"\u{1D517}","tfr":"\u{1D531}","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03B8","thetasym":"\u03D1","thetav":"\u03D1","thickapprox":"\u2248","thicksim":"\u223C","ThickSpace":"\u205F\u200A","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223C","THORN":"\xDE","thorn":"\xFE","tilde":"\u02DC","Tilde":"\u223C","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2A31","timesb":"\u22A0","times":"\xD7","timesd":"\u2A30","tint":"\u222D","toea":"\u2928","topbot":"\u2336","topcir":"\u2AF1","top":"\u22A4","Topf":"\u{1D54B}","topf":"\u{1D565}","topfork":"\u2ADA","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25B5","triangledown":"\u25BF","triangleleft":"\u25C3","trianglelefteq":"\u22B4","triangleq":"\u225C","triangleright":"\u25B9","trianglerighteq":"\u22B5","tridot":"\u25EC","trie":"\u225C","triminus":"\u2A3A","TripleDot":"\u20DB","triplus":"\u2A39","trisb":"\u29CD","tritime":"\u2A3B","trpezium":"\u23E2","Tscr":"\u{1D4AF}","tscr":"\u{1D4C9}","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040B","tshcy":"\u045B","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226C","twoheadleftarrow":"\u219E","twoheadrightarrow":"\u21A0","Uacute":"\xDA","uacute":"\xFA","uarr":"\u2191","Uarr":"\u219F","uArr":"\u21D1","Uarrocir":"\u2949","Ubrcy":"\u040E","ubrcy":"\u045E","Ubreve":"\u016C","ubreve":"\u016D","Ucirc":"\xDB","ucirc":"\xFB","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21C5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296E","ufisht":"\u297E","Ufr":"\u{1D518}","ufr":"\u{1D532}","Ugrave":"\xD9","ugrave":"\xF9","uHar":"\u2963","uharl":"\u21BF","uharr":"\u21BE","uhblk":"\u2580","ulcorn":"\u231C","ulcorner":"\u231C","ulcrop":"\u230F","ultri":"\u25F8","Umacr":"\u016A","umacr":"\u016B","uml":"\xA8","UnderBar":"_","UnderBrace":"\u23DF","UnderBracket":"\u23B5","UnderParenthesis":"\u23DD","Union":"\u22C3","UnionPlus":"\u228E","Uogon":"\u0172","uogon":"\u0173","Uopf":"\u{1D54C}","uopf":"\u{1D566}","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21D1","UpArrowDownArrow":"\u21C5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21D5","UpEquilibrium":"\u296E","upharpoonleft":"\u21BF","upharpoonright":"\u21BE","uplus":"\u228E","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03C5","Upsi":"\u03D2","upsih":"\u03D2","Upsilon":"\u03A5","upsilon":"\u03C5","UpTeeArrow":"\u21A5","UpTee":"\u22A5","upuparrows":"\u21C8","urcorn":"\u231D","urcorner":"\u231D","urcrop":"\u230E","Uring":"\u016E","uring":"\u016F","urtri":"\u25F9","Uscr":"\u{1D4B0}","uscr":"\u{1D4CA}","utdot":"\u22F0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25B5","utrif":"\u25B4","uuarr":"\u21C8","Uuml":"\xDC","uuml":"\xFC","uwangle":"\u29A7","vangrt":"\u299C","varepsilon":"\u03F5","varkappa":"\u03F0","varnothing":"\u2205","varphi":"\u03D5","varpi":"\u03D6","varpropto":"\u221D","varr":"\u2195","vArr":"\u21D5","varrho":"\u03F1","varsigma":"\u03C2","varsubsetneq":"\u228A\uFE00","varsubsetneqq":"\u2ACB\uFE00","varsupsetneq":"\u228B\uFE00","varsupsetneqq":"\u2ACC\uFE00","vartheta":"\u03D1","vartriangleleft":"\u22B2","vartriangleright":"\u22B3","vBar":"\u2AE8","Vbar":"\u2AEB","vBarv":"\u2AE9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22A2","vDash":"\u22A8","Vdash":"\u22A9","VDash":"\u22AB","Vdashl":"\u2AE6","veebar":"\u22BB","vee":"\u2228","Vee":"\u22C1","veeeq":"\u225A","vellip":"\u22EE","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200A","Vfr":"\u{1D519}","vfr":"\u{1D533}","vltri":"\u22B2","vnsub":"\u2282\u20D2","vnsup":"\u2283\u20D2","Vopf":"\u{1D54D}","vopf":"\u{1D567}","vprop":"\u221D","vrtri":"\u22B3","Vscr":"\u{1D4B1}","vscr":"\u{1D4CB}","vsubnE":"\u2ACB\uFE00","vsubne":"\u228A\uFE00","vsupnE":"\u2ACC\uFE00","vsupne":"\u228B\uFE00","Vvdash":"\u22AA","vzigzag":"\u299A","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2A5F","wedge":"\u2227","Wedge":"\u22C0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\u{1D51A}","wfr":"\u{1D534}","Wopf":"\u{1D54E}","wopf":"\u{1D568}","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\u{1D4B2}","wscr":"\u{1D4CC}","xcap":"\u22C2","xcirc":"\u25EF","xcup":"\u22C3","xdtri":"\u25BD","Xfr":"\u{1D51B}","xfr":"\u{1D535}","xharr":"\u27F7","xhArr":"\u27FA","Xi":"\u039E","xi":"\u03BE","xlarr":"\u27F5","xlArr":"\u27F8","xmap":"\u27FC","xnis":"\u22FB","xodot":"\u2A00","Xopf":"\u{1D54F}","xopf":"\u{1D569}","xoplus":"\u2A01","xotime":"\u2A02","xrarr":"\u27F6","xrArr":"\u27F9","Xscr":"\u{1D4B3}","xscr":"\u{1D4CD}","xsqcup":"\u2A06","xuplus":"\u2A04","xutri":"\u25B3","xvee":"\u22C1","xwedge":"\u22C0","Yacute":"\xDD","yacute":"\xFD","YAcy":"\u042F","yacy":"\u044F","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042B","ycy":"\u044B","yen":"\xA5","Yfr":"\u{1D51C}","yfr":"\u{1D536}","YIcy":"\u0407","yicy":"\u0457","Yopf":"\u{1D550}","yopf":"\u{1D56A}","Yscr":"\u{1D4B4}","yscr":"\u{1D4CE}","YUcy":"\u042E","yucy":"\u044E","yuml":"\xFF","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017A","Zcaron":"\u017D","zcaron":"\u017E","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017B","zdot":"\u017C","zeetrf":"\u2128","ZeroWidthSpace":"\u200B","Zeta":"\u0396","zeta":"\u03B6","zfr":"\u{1D537}","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21DD","zopf":"\u{1D56B}","Zopf":"\u2124","Zscr":"\u{1D4B5}","zscr":"\u{1D4CF}","zwj":"\u200D","zwnj":"\u200C"}')},function(x,g,a){var e={};function t(r,n,s){var o,i,u,l,f,c="";for(typeof n!="string"&&(s=n,n=t.defaultChars),s===void 0&&(s=!0),f=function(p){var d,h,m=e[p];if(m)return m;for(m=e[p]=[],d=0;d<128;d++)h=String.fromCharCode(d),/^[0-9a-z]$/i.test(h)?m.push(h):m.push("%"+("0"+d.toString(16).toUpperCase()).slice(-2));for(d=0;d<p.length;d++)m[p.charCodeAt(d)]=p[d];return m}(n),o=0,i=r.length;o<i;o++)if(u=r.charCodeAt(o),s&&u===37&&o+2<i&&/^[0-9a-f]{2}$/i.test(r.slice(o+1,o+3)))c+=r.slice(o,o+3),o+=2;else if(u<128)c+=f[u];else if(u>=55296&&u<=57343){if(u>=55296&&u<=56319&&o+1<i&&(l=r.charCodeAt(o+1))>=56320&&l<=57343){c+=encodeURIComponent(r[o]+r[o+1]),o++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(r[o]);return c}t.defaultChars=";/?:@&=+$,-_.!~*'()#",t.componentChars="-_.!~*'()",x.exports=t},function(x,g,a){var e={};function t(r,n){var s;return typeof n!="string"&&(n=t.defaultChars),s=function(o){var i,u,l=e[o];if(l)return l;for(l=e[o]=[],i=0;i<128;i++)u=String.fromCharCode(i),l.push(u);for(i=0;i<o.length;i++)l[u=o.charCodeAt(i)]="%"+("0"+u.toString(16).toUpperCase()).slice(-2);return l}(n),r.replace(/(%[a-f0-9]{2})+/gi,function(o){var i,u,l,f,c,p,d,h="";for(i=0,u=o.length;i<u;i+=3)(l=parseInt(o.slice(i+1,i+3),16))<128?h+=s[l]:(224&l)==192&&i+3<u&&(192&(f=parseInt(o.slice(i+4,i+6),16)))==128?(h+=(d=l<<6&1984|63&f)<128?"\uFFFD\uFFFD":String.fromCharCode(d),i+=3):(240&l)==224&&i+6<u&&(f=parseInt(o.slice(i+4,i+6),16),c=parseInt(o.slice(i+7,i+9),16),(192&f)==128&&(192&c)==128)?(h+=(d=l<<12&61440|f<<6&4032|63&c)<2048||d>=55296&&d<=57343?"\uFFFD\uFFFD\uFFFD":String.fromCharCode(d),i+=6):(248&l)==240&&i+9<u&&(f=parseInt(o.slice(i+4,i+6),16),c=parseInt(o.slice(i+7,i+9),16),p=parseInt(o.slice(i+10,i+12),16),(192&f)==128&&(192&c)==128&&(192&p)==128)?((d=l<<18&1835008|f<<12&258048|c<<6&4032|63&p)<65536||d>1114111?h+="\uFFFD\uFFFD\uFFFD\uFFFD":(d-=65536,h+=String.fromCharCode(55296+(d>>10),56320+(1023&d))),i+=9):h+="\uFFFD";return h})}t.defaultChars=";/?:@&=+$,#",t.componentChars="",x.exports=t},function(x,g,a){x.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},function(x,g,a){function e(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var t=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,n=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
|
|
`," "]),o=["'"].concat(s),i=["%","/","?",";","#"].concat(o),u=["/","?","#"],l=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,c={javascript:!0,"javascript:":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};e.prototype.parse=function(d,h){var m,b,A,y,w,C=d;if(C=C.trim(),!h&&d.split("#").length===1){var L=n.exec(C);if(L)return this.pathname=L[1],L[2]&&(this.search=L[2]),this}var j=t.exec(C);if(j&&(A=(j=j[0]).toLowerCase(),this.protocol=j,C=C.substr(j.length)),(h||j||C.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(w=C.substr(0,2)==="//")||j&&c[j]||(C=C.substr(2),this.slashes=!0)),!c[j]&&(w||j&&!p[j])){var O,T,E=-1;for(m=0;m<u.length;m++)(y=C.indexOf(u[m]))!==-1&&(E===-1||y<E)&&(E=y);for((T=E===-1?C.lastIndexOf("@"):C.lastIndexOf("@",E))!==-1&&(O=C.slice(0,T),C=C.slice(T+1),this.auth=O),E=-1,m=0;m<i.length;m++)(y=C.indexOf(i[m]))!==-1&&(E===-1||y<E)&&(E=y);E===-1&&(E=C.length),C[E-1]===":"&&E--;var k=C.slice(0,E);C=C.slice(E),this.parseHost(k),this.hostname=this.hostname||"";var D=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!D){var _=this.hostname.split(/\./);for(m=0,b=_.length;m<b;m++){var S=_[m];if(S&&!S.match(l)){for(var $="",P=0,M=S.length;P<M;P++)S.charCodeAt(P)>127?$+="x":$+=S[P];if(!$.match(l)){var B=_.slice(0,m),N=_.slice(m+1),V=S.match(f);V&&(B.push(V[1]),N.unshift(V[2])),N.length&&(C=N.join(".")+C),this.hostname=B.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var W=C.indexOf("#");W!==-1&&(this.hash=C.substr(W),C=C.slice(0,W));var G=C.indexOf("?");return G!==-1&&(this.search=C.substr(G),C=C.slice(0,G)),C&&(this.pathname=C),p[A]&&this.hostname&&!this.pathname&&(this.pathname=""),this},e.prototype.parseHost=function(d){var h=r.exec(d);h&&((h=h[0])!==":"&&(this.port=h.substr(1)),d=d.substr(0,d.length-h.length)),d&&(this.hostname=d)},x.exports=function(d,h){if(d&&d instanceof e)return d;var m=new e;return m.parse(d,h),m}},function(x,g,a){g.Any=a(9),g.Cc=a(10),g.Cf=a(28),g.P=a(3),g.Z=a(11)},function(x,g){x.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(x,g,a){g.parseLinkLabel=a(30),g.parseLinkDestination=a(31),g.parseLinkTitle=a(32)},function(x,g,a){x.exports=function(e,t,r){var n,s,o,i,u=-1,l=e.posMax,f=e.pos;for(e.pos=t+1,n=1;e.pos<l;){if((o=e.src.charCodeAt(e.pos))===93&&--n===0){s=!0;break}if(i=e.pos,e.md.inline.skipToken(e),o===91){if(i===e.pos-1)n++;else if(r)return e.pos=f,-1}}return s&&(u=e.pos),e.pos=f,u}},function(x,g,a){var e=a(0).unescapeAll;x.exports=function(t,r,n){var s,o,i=r,u={ok:!1,pos:0,lines:0,str:""};if(t.charCodeAt(r)===60){for(r++;r<n;){if((s=t.charCodeAt(r))===10||s===60)return u;if(s===62)return u.pos=r+1,u.str=e(t.slice(i+1,r)),u.ok=!0,u;s===92&&r+1<n?r+=2:r++}return u}for(o=0;r<n&&(s=t.charCodeAt(r))!==32&&!(s<32||s===127);)if(s===92&&r+1<n){if(t.charCodeAt(r+1)===32)break;r+=2}else{if(s===40&&++o>32)return u;if(s===41){if(o===0)break;o--}r++}return i===r||o!==0||(u.str=e(t.slice(i,r)),u.lines=0,u.pos=r,u.ok=!0),u}},function(x,g,a){var e=a(0).unescapeAll;x.exports=function(t,r,n){var s,o,i=0,u=r,l={ok:!1,pos:0,lines:0,str:""};if(r>=n||(o=t.charCodeAt(r))!==34&&o!==39&&o!==40)return l;for(r++,o===40&&(o=41);r<n;){if((s=t.charCodeAt(r))===o)return l.pos=r+1,l.lines=i,l.str=e(t.slice(u+1,r)),l.ok=!0,l;if(s===40&&o===41)return l;s===10?i++:s===92&&r+1<n&&(r++,t.charCodeAt(r)===10&&i++),r++}return l}},function(x,g,a){var e=a(0).assign,t=a(0).unescapeAll,r=a(0).escapeHtml,n={};function s(){this.rules=e({},n)}n.code_inline=function(o,i,u,l,f){var c=o[i];return"<code"+f.renderAttrs(c)+">"+r(o[i].content)+"</code>"},n.code_block=function(o,i,u,l,f){var c=o[i];return"<pre"+f.renderAttrs(c)+"><code>"+r(o[i].content)+`</code></pre>
|
|
`},n.fence=function(o,i,u,l,f){var c,p,d,h,m,b=o[i],A=b.info?t(b.info).trim():"",y="",w="";return A&&(y=(d=A.split(/(\s+)/g))[0],w=d.slice(2).join("")),(c=u.highlight&&u.highlight(b.content,y,w)||r(b.content)).indexOf("<pre")===0?c+`
|
|
`:A?(p=b.attrIndex("class"),h=b.attrs?b.attrs.slice():[],p<0?h.push(["class",u.langPrefix+y]):(h[p]=h[p].slice(),h[p][1]+=" "+u.langPrefix+y),m={attrs:h},"<pre><code"+f.renderAttrs(m)+">"+c+`</code></pre>
|
|
`):"<pre><code"+f.renderAttrs(b)+">"+c+`</code></pre>
|
|
`},n.image=function(o,i,u,l,f){var c=o[i];return c.attrs[c.attrIndex("alt")][1]=f.renderInlineAsText(c.children,u,l),f.renderToken(o,i,u)},n.hardbreak=function(o,i,u){return u.xhtmlOut?`<br />
|
|
`:`<br>
|
|
`},n.softbreak=function(o,i,u){return u.breaks?u.xhtmlOut?`<br />
|
|
`:`<br>
|
|
`:`
|
|
`},n.text=function(o,i){return r(o[i].content)},n.html_block=function(o,i){return o[i].content},n.html_inline=function(o,i){return o[i].content},s.prototype.renderAttrs=function(o){var i,u,l;if(!o.attrs)return"";for(l="",i=0,u=o.attrs.length;i<u;i++)l+=" "+r(o.attrs[i][0])+'="'+r(o.attrs[i][1])+'"';return l},s.prototype.renderToken=function(o,i,u){var l,f="",c=!1,p=o[i];return p.hidden?"":(p.block&&p.nesting!==-1&&i&&o[i-1].hidden&&(f+=`
|
|
`),f+=(p.nesting===-1?"</":"<")+p.tag,f+=this.renderAttrs(p),p.nesting===0&&u.xhtmlOut&&(f+=" /"),p.block&&(c=!0,p.nesting===1&&i+1<o.length&&((l=o[i+1]).type==="inline"||l.hidden||l.nesting===-1&&l.tag===p.tag)&&(c=!1)),f+=c?`>
|
|
`:">")},s.prototype.renderInline=function(o,i,u){for(var l,f="",c=this.rules,p=0,d=o.length;p<d;p++)c[l=o[p].type]!==void 0?f+=c[l](o,p,i,u,this):f+=this.renderToken(o,p,i);return f},s.prototype.renderInlineAsText=function(o,i,u){for(var l="",f=0,c=o.length;f<c;f++)o[f].type==="text"?l+=o[f].content:o[f].type==="image"?l+=this.renderInlineAsText(o[f].children,i,u):o[f].type==="softbreak"&&(l+=`
|
|
`);return l},s.prototype.render=function(o,i,u){var l,f,c,p="",d=this.rules;for(l=0,f=o.length;l<f;l++)(c=o[l].type)==="inline"?p+=this.renderInline(o[l].children,i,u):d[c]!==void 0?p+=d[o[l].type](o,l,i,u,this):p+=this.renderToken(o,l,i,u);return p},x.exports=s},function(x,g,a){var e=a(4),t=[["normalize",a(35)],["block",a(36)],["inline",a(37)],["linkify",a(38)],["replacements",a(39)],["smartquotes",a(40)]];function r(){this.ruler=new e;for(var n=0;n<t.length;n++)this.ruler.push(t[n][0],t[n][1])}r.prototype.process=function(n){var s,o,i;for(s=0,o=(i=this.ruler.getRules("")).length;s<o;s++)i[s](n)},r.prototype.State=a(41),x.exports=r},function(x,g,a){var e=/\r\n?|\n/g,t=/\0/g;x.exports=function(r){var n;n=(n=r.src.replace(e,`
|
|
`)).replace(t,"\uFFFD"),r.src=n}},function(x,g,a){x.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},function(x,g,a){x.exports=function(e){var t,r,n,s=e.tokens;for(r=0,n=s.length;r<n;r++)(t=s[r]).type==="inline"&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},function(x,g,a){var e=a(0).arrayReplaceAt;function t(r){return/^<\/a\s*>/i.test(r)}x.exports=function(r){var n,s,o,i,u,l,f,c,p,d,h,m,b,A,y,w,C,L,j=r.tokens;if(r.md.options.linkify){for(s=0,o=j.length;s<o;s++)if(j[s].type==="inline"&&r.md.linkify.pretest(j[s].content))for(b=0,n=(i=j[s].children).length-1;n>=0;n--)if((l=i[n]).type!=="link_close"){if(l.type==="html_inline"&&(L=l.content,/^<a[>\s]/i.test(L)&&b>0&&b--,t(l.content)&&b++),!(b>0)&&l.type==="text"&&r.md.linkify.test(l.content)){for(p=l.content,C=r.md.linkify.match(p),f=[],m=l.level,h=0,c=0;c<C.length;c++)A=C[c].url,y=r.md.normalizeLink(A),r.md.validateLink(y)&&(w=C[c].text,w=C[c].schema?C[c].schema!=="mailto:"||/^mailto:/i.test(w)?r.md.normalizeLinkText(w):r.md.normalizeLinkText("mailto:"+w).replace(/^mailto:/,""):r.md.normalizeLinkText("http://"+w).replace(/^http:\/\//,""),(d=C[c].index)>h&&((u=new r.Token("text","",0)).content=p.slice(h,d),u.level=m,f.push(u)),(u=new r.Token("link_open","a",1)).attrs=[["href",y]],u.level=m++,u.markup="linkify",u.info="auto",f.push(u),(u=new r.Token("text","",0)).content=w,u.level=m,f.push(u),(u=new r.Token("link_close","a",-1)).level=--m,u.markup="linkify",u.info="auto",f.push(u),h=C[c].lastIndex);h<p.length&&((u=new r.Token("text","",0)).content=p.slice(h),u.level=m,f.push(u)),j[s].children=i=e(i,n,f)}}else for(n--;i[n].level!==l.level&&i[n].type!=="link_open";)n--}}},function(x,g,a){var e=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,t=/\((c|tm|r|p)\)/i,r=/\((c|tm|r|p)\)/gi,n={c:"\xA9",r:"\xAE",p:"\xA7",tm:"\u2122"};function s(u,l){return n[l.toLowerCase()]}function o(u){var l,f,c=0;for(l=u.length-1;l>=0;l--)(f=u[l]).type!=="text"||c||(f.content=f.content.replace(r,s)),f.type==="link_open"&&f.info==="auto"&&c--,f.type==="link_close"&&f.info==="auto"&&c++}function i(u){var l,f,c=0;for(l=u.length-1;l>=0;l--)(f=u[l]).type!=="text"||c||e.test(f.content)&&(f.content=f.content.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),f.type==="link_open"&&f.info==="auto"&&c--,f.type==="link_close"&&f.info==="auto"&&c++}x.exports=function(u){var l;if(u.md.options.typographer)for(l=u.tokens.length-1;l>=0;l--)u.tokens[l].type==="inline"&&(t.test(u.tokens[l].content)&&o(u.tokens[l].children),e.test(u.tokens[l].content)&&i(u.tokens[l].children))}},function(x,g,a){var e=a(0).isWhiteSpace,t=a(0).isPunctChar,r=a(0).isMdAsciiPunct,n=/['"]/,s=/['"]/g;function o(u,l,f){return u.substr(0,l)+f+u.substr(l+1)}function i(u,l){var f,c,p,d,h,m,b,A,y,w,C,L,j,O,T,E,k,D,_,S,$;for(_=[],f=0;f<u.length;f++){for(c=u[f],b=u[f].level,k=_.length-1;k>=0&&!(_[k].level<=b);k--);if(_.length=k+1,c.type==="text"){h=0,m=(p=c.content).length;t:for(;h<m&&(s.lastIndex=h,d=s.exec(p));){if(T=E=!0,h=d.index+1,D=d[0]==="'",y=32,d.index-1>=0)y=p.charCodeAt(d.index-1);else for(k=f-1;k>=0&&u[k].type!=="softbreak"&&u[k].type!=="hardbreak";k--)if(u[k].content){y=u[k].content.charCodeAt(u[k].content.length-1);break}if(w=32,h<m)w=p.charCodeAt(h);else for(k=f+1;k<u.length&&u[k].type!=="softbreak"&&u[k].type!=="hardbreak";k++)if(u[k].content){w=u[k].content.charCodeAt(0);break}if(C=r(y)||t(String.fromCharCode(y)),L=r(w)||t(String.fromCharCode(w)),j=e(y),(O=e(w))?T=!1:L&&(j||C||(T=!1)),j?E=!1:C&&(O||L||(E=!1)),w===34&&d[0]==='"'&&y>=48&&y<=57&&(E=T=!1),T&&E&&(T=C,E=L),T||E){if(E){for(k=_.length-1;k>=0&&(A=_[k],!(_[k].level<b));k--)if(A.single===D&&_[k].level===b){A=_[k],D?(S=l.md.options.quotes[2],$=l.md.options.quotes[3]):(S=l.md.options.quotes[0],$=l.md.options.quotes[1]),c.content=o(c.content,d.index,$),u[A.token].content=o(u[A.token].content,A.pos,S),h+=$.length-1,A.token===f&&(h+=S.length-1),m=(p=c.content).length,_.length=k;continue t}}T?_.push({token:f,pos:d.index,single:D,level:b}):E&&D&&(c.content=o(c.content,d.index,"\u2019"))}else D&&(c.content=o(c.content,d.index,"\u2019"))}}}}x.exports=function(u){var l;if(u.md.options.typographer)for(l=u.tokens.length-1;l>=0;l--)u.tokens[l].type==="inline"&&n.test(u.tokens[l].content)&&i(u.tokens[l].children,u)}},function(x,g,a){var e=a(5);function t(r,n,s){this.src=r,this.env=s,this.tokens=[],this.inlineMode=!1,this.md=n}t.prototype.Token=e,x.exports=t},function(x,g,a){var e=a(4),t=[["table",a(43),["paragraph","reference"]],["code",a(44)],["fence",a(45),["paragraph","reference","blockquote","list"]],["blockquote",a(46),["paragraph","reference","blockquote","list"]],["hr",a(47),["paragraph","reference","blockquote","list"]],["list",a(48),["paragraph","reference","blockquote"]],["reference",a(49)],["html_block",a(50),["paragraph","reference","blockquote"]],["heading",a(52),["paragraph","reference","blockquote"]],["lheading",a(53)],["paragraph",a(54)]];function r(){this.ruler=new e;for(var n=0;n<t.length;n++)this.ruler.push(t[n][0],t[n][1],{alt:(t[n][2]||[]).slice()})}r.prototype.tokenize=function(n,s,o){for(var i,u=this.ruler.getRules(""),l=u.length,f=s,c=!1,p=n.md.options.maxNesting;f<o&&(n.line=f=n.skipEmptyLines(f),!(f>=o))&&!(n.sCount[f]<n.blkIndent);){if(n.level>=p){n.line=o;break}for(i=0;i<l&&!u[i](n,f,o,!1);i++);n.tight=!c,n.isEmpty(n.line-1)&&(c=!0),(f=n.line)<o&&n.isEmpty(f)&&(c=!0,f++,n.line=f)}},r.prototype.parse=function(n,s,o,i){var u;n&&(u=new this.State(n,s,o,i),this.tokenize(u,u.line,u.lineMax))},r.prototype.State=a(55),x.exports=r},function(x,g,a){var e=a(0).isSpace;function t(n,s){var o=n.bMarks[s]+n.tShift[s],i=n.eMarks[s];return n.src.substr(o,i-o)}function r(n){var s,o=[],i=0,u=n.length,l=!1,f=0,c="";for(s=n.charCodeAt(i);i<u;)s===124&&(l?(c+=n.substring(f,i-1),f=i):(o.push(c+n.substring(f,i)),c="",f=i+1)),l=s===92,i++,s=n.charCodeAt(i);return o.push(c+n.substring(f)),o}x.exports=function(n,s,o,i){var u,l,f,c,p,d,h,m,b,A,y,w,C,L,j,O,T,E;if(s+2>o||(d=s+1,n.sCount[d]<n.blkIndent)||n.sCount[d]-n.blkIndent>=4||(f=n.bMarks[d]+n.tShift[d])>=n.eMarks[d]||(T=n.src.charCodeAt(f++))!==124&&T!==45&&T!==58||f>=n.eMarks[d]||(E=n.src.charCodeAt(f++))!==124&&E!==45&&E!==58&&!e(E)||T===45&&e(E))return!1;for(;f<n.eMarks[d];){if((u=n.src.charCodeAt(f))!==124&&u!==45&&u!==58&&!e(u))return!1;f++}for(h=(l=t(n,s+1)).split("|"),A=[],c=0;c<h.length;c++){if(!(y=h[c].trim())){if(c===0||c===h.length-1)continue;return!1}if(!/^:?-+:?$/.test(y))return!1;y.charCodeAt(y.length-1)===58?A.push(y.charCodeAt(0)===58?"center":"right"):y.charCodeAt(0)===58?A.push("left"):A.push("")}if((l=t(n,s).trim()).indexOf("|")===-1||n.sCount[s]-n.blkIndent>=4||((h=r(l)).length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),(m=h.length)===0||m!==A.length))return!1;if(i)return!0;for(L=n.parentType,n.parentType="table",O=n.md.block.ruler.getRules("blockquote"),(b=n.push("table_open","table",1)).map=w=[s,0],(b=n.push("thead_open","thead",1)).map=[s,s+1],(b=n.push("tr_open","tr",1)).map=[s,s+1],c=0;c<h.length;c++)b=n.push("th_open","th",1),A[c]&&(b.attrs=[["style","text-align:"+A[c]]]),(b=n.push("inline","",0)).content=h[c].trim(),b.children=[],b=n.push("th_close","th",-1);for(b=n.push("tr_close","tr",-1),b=n.push("thead_close","thead",-1),d=s+2;d<o&&!(n.sCount[d]<n.blkIndent);d++){for(j=!1,c=0,p=O.length;c<p;c++)if(O[c](n,d,o,!0)){j=!0;break}if(j||!(l=t(n,d).trim())||n.sCount[d]-n.blkIndent>=4)break;for((h=r(l)).length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),d===s+2&&((b=n.push("tbody_open","tbody",1)).map=C=[s+2,0]),(b=n.push("tr_open","tr",1)).map=[d,d+1],c=0;c<m;c++)b=n.push("td_open","td",1),A[c]&&(b.attrs=[["style","text-align:"+A[c]]]),(b=n.push("inline","",0)).content=h[c]?h[c].trim():"",b.children=[],b=n.push("td_close","td",-1);b=n.push("tr_close","tr",-1)}return C&&(b=n.push("tbody_close","tbody",-1),C[1]=d),b=n.push("table_close","table",-1),w[1]=d,n.parentType=L,n.line=d,!0}},function(x,g,a){x.exports=function(e,t,r){var n,s,o;if(e.sCount[t]-e.blkIndent<4)return!1;for(s=n=t+1;n<r;)if(e.isEmpty(n))n++;else{if(!(e.sCount[n]-e.blkIndent>=4))break;s=++n}return e.line=s,(o=e.push("code_block","code",0)).content=e.getLines(t,s,4+e.blkIndent,!0),o.map=[t,e.line],!0}},function(x,g,a){x.exports=function(e,t,r,n){var s,o,i,u,l,f,c,p=!1,d=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||d+3>h||(s=e.src.charCodeAt(d))!==126&&s!==96||(l=d,(o=(d=e.skipChars(d,s))-l)<3)||(c=e.src.slice(l,d),i=e.src.slice(d,h),s===96&&i.indexOf(String.fromCharCode(s))>=0))return!1;if(n)return!0;for(u=t;!(++u>=r)&&!((d=l=e.bMarks[u]+e.tShift[u])<(h=e.eMarks[u])&&e.sCount[u]<e.blkIndent);)if(e.src.charCodeAt(d)===s&&!(e.sCount[u]-e.blkIndent>=4||(d=e.skipChars(d,s))-l<o||(d=e.skipSpaces(d))<h)){p=!0;break}return o=e.sCount[t],e.line=u+(p?1:0),(f=e.push("fence","code",0)).info=i,f.content=e.getLines(t+1,u,o,!0),f.markup=c,f.map=[t,e.line],!0}},function(x,g,a){var e=a(0).isSpace;x.exports=function(t,r,n,s){var o,i,u,l,f,c,p,d,h,m,b,A,y,w,C,L,j,O,T,E,k=t.lineMax,D=t.bMarks[r]+t.tShift[r],_=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4||t.src.charCodeAt(D++)!==62)return!1;if(s)return!0;for(l=h=t.sCount[r]+1,t.src.charCodeAt(D)===32?(D++,l++,h++,o=!1,L=!0):t.src.charCodeAt(D)===9?(L=!0,(t.bsCount[r]+h)%4==3?(D++,l++,h++,o=!1):o=!0):L=!1,m=[t.bMarks[r]],t.bMarks[r]=D;D<_&&(i=t.src.charCodeAt(D),e(i));)i===9?h+=4-(h+t.bsCount[r]+(o?1:0))%4:h++,D++;for(b=[t.bsCount[r]],t.bsCount[r]=t.sCount[r]+1+(L?1:0),c=D>=_,w=[t.sCount[r]],t.sCount[r]=h-l,C=[t.tShift[r]],t.tShift[r]=D-t.bMarks[r],O=t.md.block.ruler.getRules("blockquote"),y=t.parentType,t.parentType="blockquote",d=r+1;d<n&&(E=t.sCount[d]<t.blkIndent,!((D=t.bMarks[d]+t.tShift[d])>=(_=t.eMarks[d])));d++)if(t.src.charCodeAt(D++)!==62||E){if(c)break;for(j=!1,u=0,f=O.length;u<f;u++)if(O[u](t,d,n,!0)){j=!0;break}if(j){t.lineMax=d,t.blkIndent!==0&&(m.push(t.bMarks[d]),b.push(t.bsCount[d]),C.push(t.tShift[d]),w.push(t.sCount[d]),t.sCount[d]-=t.blkIndent);break}m.push(t.bMarks[d]),b.push(t.bsCount[d]),C.push(t.tShift[d]),w.push(t.sCount[d]),t.sCount[d]=-1}else{for(l=h=t.sCount[d]+1,t.src.charCodeAt(D)===32?(D++,l++,h++,o=!1,L=!0):t.src.charCodeAt(D)===9?(L=!0,(t.bsCount[d]+h)%4==3?(D++,l++,h++,o=!1):o=!0):L=!1,m.push(t.bMarks[d]),t.bMarks[d]=D;D<_&&(i=t.src.charCodeAt(D),e(i));)i===9?h+=4-(h+t.bsCount[d]+(o?1:0))%4:h++,D++;c=D>=_,b.push(t.bsCount[d]),t.bsCount[d]=t.sCount[d]+1+(L?1:0),w.push(t.sCount[d]),t.sCount[d]=h-l,C.push(t.tShift[d]),t.tShift[d]=D-t.bMarks[d]}for(A=t.blkIndent,t.blkIndent=0,(T=t.push("blockquote_open","blockquote",1)).markup=">",T.map=p=[r,0],t.md.block.tokenize(t,r,d),(T=t.push("blockquote_close","blockquote",-1)).markup=">",t.lineMax=k,t.parentType=y,p[1]=t.line,u=0;u<C.length;u++)t.bMarks[u+r]=m[u],t.tShift[u+r]=C[u],t.sCount[u+r]=w[u],t.bsCount[u+r]=b[u];return t.blkIndent=A,!0}},function(x,g,a){var e=a(0).isSpace;x.exports=function(t,r,n,s){var o,i,u,l,f=t.bMarks[r]+t.tShift[r],c=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4||(o=t.src.charCodeAt(f++))!==42&&o!==45&&o!==95)return!1;for(i=1;f<c;){if((u=t.src.charCodeAt(f++))!==o&&!e(u))return!1;u===o&&i++}return!(i<3)&&(s||(t.line=r+1,(l=t.push("hr","hr",0)).map=[r,t.line],l.markup=Array(i+1).join(String.fromCharCode(o))),!0)}},function(x,g,a){var e=a(0).isSpace;function t(n,s){var o,i,u,l;return i=n.bMarks[s]+n.tShift[s],u=n.eMarks[s],(o=n.src.charCodeAt(i++))!==42&&o!==45&&o!==43||i<u&&(l=n.src.charCodeAt(i),!e(l))?-1:i}function r(n,s){var o,i=n.bMarks[s]+n.tShift[s],u=i,l=n.eMarks[s];if(u+1>=l||(o=n.src.charCodeAt(u++))<48||o>57)return-1;for(;;){if(u>=l)return-1;if(!((o=n.src.charCodeAt(u++))>=48&&o<=57)){if(o===41||o===46)break;return-1}if(u-i>=10)return-1}return u<l&&(o=n.src.charCodeAt(u),!e(o))?-1:u}x.exports=function(n,s,o,i){var u,l,f,c,p,d,h,m,b,A,y,w,C,L,j,O,T,E,k,D,_,S,$,P,M,B,N,V,W=!1,G=!0;if(n.sCount[s]-n.blkIndent>=4||n.listIndent>=0&&n.sCount[s]-n.listIndent>=4&&n.sCount[s]<n.blkIndent)return!1;if(i&&n.parentType==="paragraph"&&n.tShift[s]>=n.blkIndent&&(W=!0),($=r(n,s))>=0){if(h=!0,M=n.bMarks[s]+n.tShift[s],C=Number(n.src.substr(M,$-M-1)),W&&C!==1)return!1}else{if(!(($=t(n,s))>=0))return!1;h=!1}if(W&&n.skipSpaces($)>=n.eMarks[s])return!1;if(w=n.src.charCodeAt($-1),i)return!0;for(y=n.tokens.length,h?(V=n.push("ordered_list_open","ol",1),C!==1&&(V.attrs=[["start",C]])):V=n.push("bullet_list_open","ul",1),V.map=A=[s,0],V.markup=String.fromCharCode(w),j=s,P=!1,N=n.md.block.ruler.getRules("list"),E=n.parentType,n.parentType="list";j<o;){for(S=$,L=n.eMarks[j],d=O=n.sCount[j]+$-(n.bMarks[s]+n.tShift[s]);S<L;){if((u=n.src.charCodeAt(S))===9)O+=4-(O+n.bsCount[j])%4;else{if(u!==32)break;O++}S++}if((p=(l=S)>=L?1:O-d)>4&&(p=1),c=d+p,(V=n.push("list_item_open","li",1)).markup=String.fromCharCode(w),V.map=m=[s,0],_=n.tight,D=n.tShift[s],k=n.sCount[s],T=n.listIndent,n.listIndent=n.blkIndent,n.blkIndent=c,n.tight=!0,n.tShift[s]=l-n.bMarks[s],n.sCount[s]=O,l>=L&&n.isEmpty(s+1)?n.line=Math.min(n.line+2,o):n.md.block.tokenize(n,s,o,!0),n.tight&&!P||(G=!1),P=n.line-s>1&&n.isEmpty(n.line-1),n.blkIndent=n.listIndent,n.listIndent=T,n.tShift[s]=D,n.sCount[s]=k,n.tight=_,(V=n.push("list_item_close","li",-1)).markup=String.fromCharCode(w),j=s=n.line,m[1]=j,l=n.bMarks[s],j>=o||n.sCount[j]<n.blkIndent||n.sCount[s]-n.blkIndent>=4)break;for(B=!1,f=0,b=N.length;f<b;f++)if(N[f](n,j,o,!0)){B=!0;break}if(B)break;if(h){if(($=r(n,j))<0)break}else if(($=t(n,j))<0)break;if(w!==n.src.charCodeAt($-1))break}return(V=h?n.push("ordered_list_close","ol",-1):n.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(w),A[1]=j,n.line=j,n.parentType=E,G&&function(Z,X){var K,et,it=Z.level+2;for(K=X+2,et=Z.tokens.length-2;K<et;K++)Z.tokens[K].level===it&&Z.tokens[K].type==="paragraph_open"&&(Z.tokens[K+2].hidden=!0,Z.tokens[K].hidden=!0,K+=2)}(n,y),!0}},function(x,g,a){var e=a(0).normalizeReference,t=a(0).isSpace;x.exports=function(r,n,s,o){var i,u,l,f,c,p,d,h,m,b,A,y,w,C,L,j,O=0,T=r.bMarks[n]+r.tShift[n],E=r.eMarks[n],k=n+1;if(r.sCount[n]-r.blkIndent>=4||r.src.charCodeAt(T)!==91)return!1;for(;++T<E;)if(r.src.charCodeAt(T)===93&&r.src.charCodeAt(T-1)!==92){if(T+1===E||r.src.charCodeAt(T+1)!==58)return!1;break}for(f=r.lineMax,L=r.md.block.ruler.getRules("reference"),b=r.parentType,r.parentType="reference";k<f&&!r.isEmpty(k);k++)if(!(r.sCount[k]-r.blkIndent>3||r.sCount[k]<0)){for(C=!1,p=0,d=L.length;p<d;p++)if(L[p](r,k,f,!0)){C=!0;break}if(C)break}for(E=(w=r.getLines(n,k,r.blkIndent,!1).trim()).length,T=1;T<E;T++){if((i=w.charCodeAt(T))===91)return!1;if(i===93){m=T;break}(i===10||i===92&&++T<E&&w.charCodeAt(T)===10)&&O++}if(m<0||w.charCodeAt(m+1)!==58)return!1;for(T=m+2;T<E;T++)if((i=w.charCodeAt(T))===10)O++;else if(!t(i))break;if(!(A=r.md.helpers.parseLinkDestination(w,T,E)).ok||(c=r.md.normalizeLink(A.str),!r.md.validateLink(c)))return!1;for(u=T=A.pos,l=O+=A.lines,y=T;T<E;T++)if((i=w.charCodeAt(T))===10)O++;else if(!t(i))break;for(A=r.md.helpers.parseLinkTitle(w,T,E),T<E&&y!==T&&A.ok?(j=A.str,T=A.pos,O+=A.lines):(j="",T=u,O=l);T<E&&(i=w.charCodeAt(T),t(i));)T++;if(T<E&&w.charCodeAt(T)!==10&&j)for(j="",T=u,O=l;T<E&&(i=w.charCodeAt(T),t(i));)T++;return!(T<E&&w.charCodeAt(T)!==10)&&!!(h=e(w.slice(1,m)))&&(o||(r.env.references===void 0&&(r.env.references={}),r.env.references[h]===void 0&&(r.env.references[h]={title:j,href:c}),r.parentType=b,r.line=n+O+1),!0)}},function(x,g,a){var e=a(51),t=a(12).HTML_OPEN_CLOSE_TAG_RE,r=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+e.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(t.source+"\\s*$"),/^$/,!1]];x.exports=function(n,s,o,i){var u,l,f,c,p=n.bMarks[s]+n.tShift[s],d=n.eMarks[s];if(n.sCount[s]-n.blkIndent>=4||!n.md.options.html||n.src.charCodeAt(p)!==60)return!1;for(c=n.src.slice(p,d),u=0;u<r.length&&!r[u][0].test(c);u++);if(u===r.length)return!1;if(i)return r[u][2];if(l=s+1,!r[u][1].test(c)){for(;l<o&&!(n.sCount[l]<n.blkIndent);l++)if(p=n.bMarks[l]+n.tShift[l],d=n.eMarks[l],c=n.src.slice(p,d),r[u][1].test(c)){c.length!==0&&l++;break}}return n.line=l,(f=n.push("html_block","",0)).map=[s,l],f.content=n.getLines(s,l,n.blkIndent,!0),!0}},function(x,g,a){x.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"]},function(x,g,a){var e=a(0).isSpace;x.exports=function(t,r,n,s){var o,i,u,l,f=t.bMarks[r]+t.tShift[r],c=t.eMarks[r];if(t.sCount[r]-t.blkIndent>=4||(o=t.src.charCodeAt(f))!==35||f>=c)return!1;for(i=1,o=t.src.charCodeAt(++f);o===35&&f<c&&i<=6;)i++,o=t.src.charCodeAt(++f);return!(i>6||f<c&&!e(o))&&(s||(c=t.skipSpacesBack(c,f),(u=t.skipCharsBack(c,35,f))>f&&e(t.src.charCodeAt(u-1))&&(c=u),t.line=r+1,(l=t.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),l.map=[r,t.line],(l=t.push("inline","",0)).content=t.src.slice(f,c).trim(),l.map=[r,t.line],l.children=[],(l=t.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i)),!0)}},function(x,g,a){x.exports=function(e,t,r){var n,s,o,i,u,l,f,c,p,d,h=t+1,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";h<r&&!e.isEmpty(h);h++)if(!(e.sCount[h]-e.blkIndent>3)){if(e.sCount[h]>=e.blkIndent&&(l=e.bMarks[h]+e.tShift[h])<(f=e.eMarks[h])&&((p=e.src.charCodeAt(l))===45||p===61)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=f)){c=p===61?1:2;break}if(!(e.sCount[h]<0)){for(s=!1,o=0,i=m.length;o<i;o++)if(m[o](e,h,r,!0)){s=!0;break}if(s)break}}return!!c&&(n=e.getLines(t,h,e.blkIndent,!1).trim(),e.line=h+1,(u=e.push("heading_open","h"+String(c),1)).markup=String.fromCharCode(p),u.map=[t,e.line],(u=e.push("inline","",0)).content=n,u.map=[t,e.line-1],u.children=[],(u=e.push("heading_close","h"+String(c),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},function(x,g,a){x.exports=function(e,t){var r,n,s,o,i,u,l=t+1,f=e.md.block.ruler.getRules("paragraph"),c=e.lineMax;for(u=e.parentType,e.parentType="paragraph";l<c&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3||e.sCount[l]<0)){for(n=!1,s=0,o=f.length;s<o;s++)if(f[s](e,l,c,!0)){n=!0;break}if(n)break}return r=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(i=e.push("paragraph_open","p",1)).map=[t,e.line],(i=e.push("inline","",0)).content=r,i.map=[t,e.line],i.children=[],i=e.push("paragraph_close","p",-1),e.parentType=u,!0}},function(x,g,a){var e=a(5),t=a(0).isSpace;function r(n,s,o,i){var u,l,f,c,p,d,h,m;for(this.src=n,this.md=s,this.env=o,this.tokens=i,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",m=!1,f=c=d=h=0,p=(l=this.src).length;c<p;c++){if(u=l.charCodeAt(c),!m){if(t(u)){d++,u===9?h+=4-h%4:h++;continue}m=!0}u!==10&&c!==p-1||(u!==10&&c++,this.bMarks.push(f),this.eMarks.push(c),this.tShift.push(d),this.sCount.push(h),this.bsCount.push(0),m=!1,d=0,h=0,f=c+1)}this.bMarks.push(l.length),this.eMarks.push(l.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}r.prototype.push=function(n,s,o){var i=new e(n,s,o);return i.block=!0,o<0&&this.level--,i.level=this.level,o>0&&this.level++,this.tokens.push(i),i},r.prototype.isEmpty=function(n){return this.bMarks[n]+this.tShift[n]>=this.eMarks[n]},r.prototype.skipEmptyLines=function(n){for(var s=this.lineMax;n<s&&!(this.bMarks[n]+this.tShift[n]<this.eMarks[n]);n++);return n},r.prototype.skipSpaces=function(n){for(var s,o=this.src.length;n<o&&(s=this.src.charCodeAt(n),t(s));n++);return n},r.prototype.skipSpacesBack=function(n,s){if(n<=s)return n;for(;n>s;)if(!t(this.src.charCodeAt(--n)))return n+1;return n},r.prototype.skipChars=function(n,s){for(var o=this.src.length;n<o&&this.src.charCodeAt(n)===s;n++);return n},r.prototype.skipCharsBack=function(n,s,o){if(n<=o)return n;for(;n>o;)if(s!==this.src.charCodeAt(--n))return n+1;return n},r.prototype.getLines=function(n,s,o,i){var u,l,f,c,p,d,h,m=n;if(n>=s)return"";for(d=new Array(s-n),u=0;m<s;m++,u++){for(l=0,h=c=this.bMarks[m],p=m+1<s||i?this.eMarks[m]+1:this.eMarks[m];c<p&&l<o;){if(f=this.src.charCodeAt(c),t(f))f===9?l+=4-(l+this.bsCount[m])%4:l++;else{if(!(c-h<this.tShift[m]))break;l++}c++}d[u]=l>o?new Array(l-o+1).join(" ")+this.src.slice(c,p):this.src.slice(c,p)}return d.join("")},r.prototype.Token=e,x.exports=r},function(x,g,a){var e=a(4),t=[["text",a(57)],["newline",a(58)],["escape",a(59)],["backticks",a(60)],["strikethrough",a(13).tokenize],["emphasis",a(14).tokenize],["link",a(61)],["image",a(62)],["autolink",a(63)],["html_inline",a(64)],["entity",a(65)]],r=[["balance_pairs",a(66)],["strikethrough",a(13).postProcess],["emphasis",a(14).postProcess],["text_collapse",a(67)]];function n(){var s;for(this.ruler=new e,s=0;s<t.length;s++)this.ruler.push(t[s][0],t[s][1]);for(this.ruler2=new e,s=0;s<r.length;s++)this.ruler2.push(r[s][0],r[s][1])}n.prototype.skipToken=function(s){var o,i,u=s.pos,l=this.ruler.getRules(""),f=l.length,c=s.md.options.maxNesting,p=s.cache;if(p[u]===void 0){if(s.level<c)for(i=0;i<f&&(s.level++,o=l[i](s,!0),s.level--,!o);i++);else s.pos=s.posMax;o||s.pos++,p[u]=s.pos}else s.pos=p[u]},n.prototype.tokenize=function(s){for(var o,i,u=this.ruler.getRules(""),l=u.length,f=s.posMax,c=s.md.options.maxNesting;s.pos<f;){if(s.level<c)for(i=0;i<l&&!(o=u[i](s,!1));i++);if(o){if(s.pos>=f)break}else s.pending+=s.src[s.pos++]}s.pending&&s.pushPending()},n.prototype.parse=function(s,o,i,u){var l,f,c,p=new this.State(s,o,i,u);for(this.tokenize(p),c=(f=this.ruler2.getRules("")).length,l=0;l<c;l++)f[l](p)},n.prototype.State=a(68),x.exports=n},function(x,g,a){function e(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}x.exports=function(t,r){for(var n=t.pos;n<t.posMax&&!e(t.src.charCodeAt(n));)n++;return n!==t.pos&&(r||(t.pending+=t.src.slice(t.pos,n)),t.pos=n,!0)}},function(x,g,a){var e=a(0).isSpace;x.exports=function(t,r){var n,s,o=t.pos;if(t.src.charCodeAt(o)!==10)return!1;for(n=t.pending.length-1,s=t.posMax,r||(n>=0&&t.pending.charCodeAt(n)===32?n>=1&&t.pending.charCodeAt(n-1)===32?(t.pending=t.pending.replace(/ +$/,""),t.push("hardbreak","br",0)):(t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0)):t.push("softbreak","br",0)),o++;o<s&&e(t.src.charCodeAt(o));)o++;return t.pos=o,!0}},function(x,g,a){for(var e=a(0).isSpace,t=[],r=0;r<256;r++)t.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(n){t[n.charCodeAt(0)]=1}),x.exports=function(n,s){var o,i=n.pos,u=n.posMax;if(n.src.charCodeAt(i)!==92)return!1;if(++i<u){if((o=n.src.charCodeAt(i))<256&&t[o]!==0)return s||(n.pending+=n.src[i]),n.pos+=2,!0;if(o===10){for(s||n.push("hardbreak","br",0),i++;i<u&&(o=n.src.charCodeAt(i),e(o));)i++;return n.pos=i,!0}}return s||(n.pending+="\\"),n.pos++,!0}},function(x,g,a){x.exports=function(e,t){var r,n,s,o,i,u,l,f,c=e.pos;if(e.src.charCodeAt(c)!==96)return!1;for(r=c,c++,n=e.posMax;c<n&&e.src.charCodeAt(c)===96;)c++;if(l=(s=e.src.slice(r,c)).length,e.backticksScanned&&(e.backticks[l]||0)<=r)return t||(e.pending+=s),e.pos+=l,!0;for(i=u=c;(i=e.src.indexOf("`",u))!==-1;){for(u=i+1;u<n&&e.src.charCodeAt(u)===96;)u++;if((f=u-i)===l)return t||((o=e.push("code_inline","code",0)).markup=s,o.content=e.src.slice(c,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=u,!0;e.backticks[f]=i}return e.backticksScanned=!0,t||(e.pending+=s),e.pos+=l,!0}},function(x,g,a){var e=a(0).normalizeReference,t=a(0).isSpace;x.exports=function(r,n){var s,o,i,u,l,f,c,p,d="",h="",m=r.pos,b=r.posMax,A=r.pos,y=!0;if(r.src.charCodeAt(r.pos)!==91||(l=r.pos+1,(u=r.md.helpers.parseLinkLabel(r,r.pos,!0))<0))return!1;if((f=u+1)<b&&r.src.charCodeAt(f)===40){for(y=!1,f++;f<b&&(o=r.src.charCodeAt(f),t(o)||o===10);f++);if(f>=b)return!1;if(A=f,(c=r.md.helpers.parseLinkDestination(r.src,f,r.posMax)).ok){for(d=r.md.normalizeLink(c.str),r.md.validateLink(d)?f=c.pos:d="",A=f;f<b&&(o=r.src.charCodeAt(f),t(o)||o===10);f++);if(c=r.md.helpers.parseLinkTitle(r.src,f,r.posMax),f<b&&A!==f&&c.ok)for(h=c.str,f=c.pos;f<b&&(o=r.src.charCodeAt(f),t(o)||o===10);f++);}(f>=b||r.src.charCodeAt(f)!==41)&&(y=!0),f++}if(y){if(r.env.references===void 0)return!1;if(f<b&&r.src.charCodeAt(f)===91?(A=f+1,(f=r.md.helpers.parseLinkLabel(r,f))>=0?i=r.src.slice(A,f++):f=u+1):f=u+1,i||(i=r.src.slice(l,u)),!(p=r.env.references[e(i)]))return r.pos=m,!1;d=p.href,h=p.title}return n||(r.pos=l,r.posMax=u,r.push("link_open","a",1).attrs=s=[["href",d]],h&&s.push(["title",h]),r.md.inline.tokenize(r),r.push("link_close","a",-1)),r.pos=f,r.posMax=b,!0}},function(x,g,a){var e=a(0).normalizeReference,t=a(0).isSpace;x.exports=function(r,n){var s,o,i,u,l,f,c,p,d,h,m,b,A,y="",w=r.pos,C=r.posMax;if(r.src.charCodeAt(r.pos)!==33||r.src.charCodeAt(r.pos+1)!==91||(f=r.pos+2,(l=r.md.helpers.parseLinkLabel(r,r.pos+1,!1))<0))return!1;if((c=l+1)<C&&r.src.charCodeAt(c)===40){for(c++;c<C&&(o=r.src.charCodeAt(c),t(o)||o===10);c++);if(c>=C)return!1;for(A=c,(d=r.md.helpers.parseLinkDestination(r.src,c,r.posMax)).ok&&(y=r.md.normalizeLink(d.str),r.md.validateLink(y)?c=d.pos:y=""),A=c;c<C&&(o=r.src.charCodeAt(c),t(o)||o===10);c++);if(d=r.md.helpers.parseLinkTitle(r.src,c,r.posMax),c<C&&A!==c&&d.ok)for(h=d.str,c=d.pos;c<C&&(o=r.src.charCodeAt(c),t(o)||o===10);c++);else h="";if(c>=C||r.src.charCodeAt(c)!==41)return r.pos=w,!1;c++}else{if(r.env.references===void 0)return!1;if(c<C&&r.src.charCodeAt(c)===91?(A=c+1,(c=r.md.helpers.parseLinkLabel(r,c))>=0?u=r.src.slice(A,c++):c=l+1):c=l+1,u||(u=r.src.slice(f,l)),!(p=r.env.references[e(u)]))return r.pos=w,!1;y=p.href,h=p.title}return n||(i=r.src.slice(f,l),r.md.inline.parse(i,r.md,r.env,b=[]),(m=r.push("image","img",0)).attrs=s=[["src",y],["alt",""]],m.children=b,m.content=i,h&&s.push(["title",h])),r.pos=c,r.posMax=C,!0}},function(x,g,a){var e=/^([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])?)*)$/,t=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;x.exports=function(r,n){var s,o,i,u,l,f,c=r.pos;if(r.src.charCodeAt(c)!==60)return!1;for(l=r.pos,f=r.posMax;;){if(++c>=f||(u=r.src.charCodeAt(c))===60)return!1;if(u===62)break}return s=r.src.slice(l+1,c),t.test(s)?(o=r.md.normalizeLink(s),!!r.md.validateLink(o)&&(n||((i=r.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=r.push("text","",0)).content=r.md.normalizeLinkText(s),(i=r.push("link_close","a",-1)).markup="autolink",i.info="auto"),r.pos+=s.length+2,!0)):!!e.test(s)&&(o=r.md.normalizeLink("mailto:"+s),!!r.md.validateLink(o)&&(n||((i=r.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=r.push("text","",0)).content=r.md.normalizeLinkText(s),(i=r.push("link_close","a",-1)).markup="autolink",i.info="auto"),r.pos+=s.length+2,!0))}},function(x,g,a){var e=a(12).HTML_TAG_RE;x.exports=function(t,r){var n,s,o,i=t.pos;return!!t.md.options.html&&(o=t.posMax,!(t.src.charCodeAt(i)!==60||i+2>=o)&&!((n=t.src.charCodeAt(i+1))!==33&&n!==63&&n!==47&&!function(u){var l=32|u;return l>=97&&l<=122}(n))&&!!(s=t.src.slice(i).match(e))&&(r||(t.push("html_inline","",0).content=t.src.slice(i,i+s[0].length)),t.pos+=s[0].length,!0))}},function(x,g,a){var e=a(7),t=a(0).has,r=a(0).isValidEntityCode,n=a(0).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,o=/^&([a-z][a-z0-9]{1,31});/i;x.exports=function(i,u){var l,f,c=i.pos,p=i.posMax;if(i.src.charCodeAt(c)!==38)return!1;if(c+1<p){if(i.src.charCodeAt(c+1)===35){if(f=i.src.slice(c).match(s))return u||(l=f[1][0].toLowerCase()==="x"?parseInt(f[1].slice(1),16):parseInt(f[1],10),i.pending+=r(l)?n(l):n(65533)),i.pos+=f[0].length,!0}else if((f=i.src.slice(c).match(o))&&t(e,f[1]))return u||(i.pending+=e[f[1]]),i.pos+=f[0].length,!0}return u||(i.pending+="&"),i.pos++,!0}},function(x,g,a){function e(t,r){var n,s,o,i,u,l,f,c,p={},d=r.length;for(n=0;n<d;n++)if((o=r[n]).length=o.length||0,o.close){for(p.hasOwnProperty(o.marker)||(p[o.marker]=[-1,-1,-1]),u=p[o.marker][o.length%3],(s=n-o.jump-1)<-1&&(s=-1),l=s;s>u;s-=i.jump+1)if((i=r[s]).marker===o.marker&&i.open&&i.end<0&&(f=!1,(i.close||o.open)&&(i.length+o.length)%3==0&&(i.length%3==0&&o.length%3==0||(f=!0)),!f)){c=s>0&&!r[s-1].open?r[s-1].jump+1:0,o.jump=n-s+c,o.open=!1,i.end=n,i.jump=c,i.close=!1,l=-1;break}l!==-1&&(p[o.marker][(o.length||0)%3]=l)}}x.exports=function(t){var r,n=t.tokens_meta,s=t.tokens_meta.length;for(e(0,t.delimiters),r=0;r<s;r++)n[r]&&n[r].delimiters&&e(0,n[r].delimiters)}},function(x,g,a){x.exports=function(e){var t,r,n=0,s=e.tokens,o=e.tokens.length;for(t=r=0;t<o;t++)s[t].nesting<0&&n--,s[t].level=n,s[t].nesting>0&&n++,s[t].type==="text"&&t+1<o&&s[t+1].type==="text"?s[t+1].content=s[t].content+s[t+1].content:(t!==r&&(s[r]=s[t]),r++);t!==r&&(s.length=r)}},function(x,g,a){var e=a(5),t=a(0).isWhiteSpace,r=a(0).isPunctChar,n=a(0).isMdAsciiPunct;function s(o,i,u,l){this.src=o,this.env=u,this.md=i,this.tokens=l,this.tokens_meta=Array(l.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}s.prototype.pushPending=function(){var o=new e("text","",0);return o.content=this.pending,o.level=this.pendingLevel,this.tokens.push(o),this.pending="",o},s.prototype.push=function(o,i,u){this.pending&&this.pushPending();var l=new e(o,i,u),f=null;return u<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),l.level=this.level,u>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],f={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(l),this.tokens_meta.push(f),l},s.prototype.scanDelims=function(o,i){var u,l,f,c,p,d,h,m,b,A=o,y=!0,w=!0,C=this.posMax,L=this.src.charCodeAt(o);for(u=o>0?this.src.charCodeAt(o-1):32;A<C&&this.src.charCodeAt(A)===L;)A++;return f=A-o,l=A<C?this.src.charCodeAt(A):32,h=n(u)||r(String.fromCharCode(u)),b=n(l)||r(String.fromCharCode(l)),d=t(u),(m=t(l))?y=!1:b&&(d||h||(y=!1)),d?w=!1:h&&(m||b||(w=!1)),i?(c=y,p=w):(c=y&&(!w||h),p=w&&(!y||b)),{can_open:c,can_close:p,length:f}},s.prototype.Token=e,x.exports=s},function(x,g,a){function e(p){var d=Array.prototype.slice.call(arguments,1);return d.forEach(function(h){h&&Object.keys(h).forEach(function(m){p[m]=h[m]})}),p}function t(p){return Object.prototype.toString.call(p)}function r(p){return t(p)==="[object Function]"}function n(p){return p.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},o={"http:":{validate:function(p,d,h){var m=p.slice(d);return h.re.http||(h.re.http=new RegExp("^\\/\\/"+h.re.src_auth+h.re.src_host_port_strict+h.re.src_path,"i")),h.re.http.test(m)?m.match(h.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(p,d,h){var m=p.slice(d);return h.re.no_http||(h.re.no_http=new RegExp("^"+h.re.src_auth+"(?:localhost|(?:(?:"+h.re.src_domain+")\\.)+"+h.re.src_domain_root+")"+h.re.src_port+h.re.src_host_terminator+h.re.src_path,"i")),h.re.no_http.test(m)?d>=3&&p[d-3]===":"||d>=3&&p[d-3]==="/"?0:m.match(h.re.no_http)[0].length:0}},"mailto:":{validate:function(p,d,h){var m=p.slice(d);return h.re.mailto||(h.re.mailto=new RegExp("^"+h.re.src_email_name+"@"+h.re.src_host_strict,"i")),h.re.mailto.test(m)?m.match(h.re.mailto)[0].length:0}}},i="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function u(p){var d=p.re=a(70)(p.__opts__),h=p.__tlds__.slice();function m(w){return w.replace("%TLDS%",d.src_tlds)}p.onCompile(),p.__tlds_replaced__||h.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),h.push(d.src_xn),d.src_tlds=h.join("|"),d.email_fuzzy=RegExp(m(d.tpl_email_fuzzy),"i"),d.link_fuzzy=RegExp(m(d.tpl_link_fuzzy),"i"),d.link_no_ip_fuzzy=RegExp(m(d.tpl_link_no_ip_fuzzy),"i"),d.host_fuzzy_test=RegExp(m(d.tpl_host_fuzzy_test),"i");var b=[];function A(w,C){throw new Error('(LinkifyIt) Invalid schema "'+w+'": '+C)}p.__compiled__={},Object.keys(p.__schemas__).forEach(function(w){var C=p.__schemas__[w];if(C!==null){var L={validate:null,link:null};if(p.__compiled__[w]=L,t(C)==="[object Object]")return function(j){return t(j)==="[object RegExp]"}(C.validate)?L.validate=function(j){return function(O,T){var E=O.slice(T);return j.test(E)?E.match(j)[0].length:0}}(C.validate):r(C.validate)?L.validate=C.validate:A(w,C),void(r(C.normalize)?L.normalize=C.normalize:C.normalize?A(w,C):L.normalize=function(j,O){O.normalize(j)});(function(j){return t(j)==="[object String]"})(C)?b.push(w):A(w,C)}}),b.forEach(function(w){p.__compiled__[p.__schemas__[w]]&&(p.__compiled__[w].validate=p.__compiled__[p.__schemas__[w]].validate,p.__compiled__[w].normalize=p.__compiled__[p.__schemas__[w]].normalize)}),p.__compiled__[""]={validate:null,normalize:function(w,C){C.normalize(w)}};var y=Object.keys(p.__compiled__).filter(function(w){return w.length>0&&p.__compiled__[w]}).map(n).join("|");p.re.schema_test=RegExp("(^|(?!_)(?:[><\uFF5C]|"+d.src_ZPCc+"))("+y+")","i"),p.re.schema_search=RegExp("(^|(?!_)(?:[><\uFF5C]|"+d.src_ZPCc+"))("+y+")","ig"),p.re.pretest=RegExp("("+p.re.schema_test.source+")|("+p.re.host_fuzzy_test.source+")|@","i"),function(w){w.__index__=-1,w.__text_cache__=""}(p)}function l(p,d){var h=p.__index__,m=p.__last_index__,b=p.__text_cache__.slice(h,m);this.schema=p.__schema__.toLowerCase(),this.index=h+d,this.lastIndex=m+d,this.raw=b,this.text=b,this.url=b}function f(p,d){var h=new l(p,d);return p.__compiled__[h.schema].normalize(h,p),h}function c(p,d){if(!(this instanceof c))return new c(p,d);var h;d||(h=p,Object.keys(h||{}).reduce(function(m,b){return m||s.hasOwnProperty(b)},!1)&&(d=p,p={})),this.__opts__=e({},s,d),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=e({},o,p),this.__compiled__={},this.__tlds__=i,this.__tlds_replaced__=!1,this.re={},u(this)}c.prototype.add=function(p,d){return this.__schemas__[p]=d,u(this),this},c.prototype.set=function(p){return this.__opts__=e(this.__opts__,p),this},c.prototype.test=function(p){if(this.__text_cache__=p,this.__index__=-1,!p.length)return!1;var d,h,m,b,A,y,w,C;if(this.re.schema_test.test(p)){for((w=this.re.schema_search).lastIndex=0;(d=w.exec(p))!==null;)if(b=this.testSchemaAt(p,d[2],w.lastIndex)){this.__schema__=d[2],this.__index__=d.index+d[1].length,this.__last_index__=d.index+d[0].length+b;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(C=p.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||C<this.__index__)&&(h=p.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(A=h.index+h[1].length,(this.__index__<0||A<this.__index__)&&(this.__schema__="",this.__index__=A,this.__last_index__=h.index+h[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&p.indexOf("@")>=0&&(m=p.match(this.re.email_fuzzy))!==null&&(A=m.index+m[1].length,y=m.index+m[0].length,(this.__index__<0||A<this.__index__||A===this.__index__&&y>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=A,this.__last_index__=y)),this.__index__>=0},c.prototype.pretest=function(p){return this.re.pretest.test(p)},c.prototype.testSchemaAt=function(p,d,h){return this.__compiled__[d.toLowerCase()]?this.__compiled__[d.toLowerCase()].validate(p,h,this):0},c.prototype.match=function(p){var d=0,h=[];this.__index__>=0&&this.__text_cache__===p&&(h.push(f(this,d)),d=this.__last_index__);for(var m=d?p.slice(d):p;this.test(m);)h.push(f(this,d)),m=m.slice(this.__last_index__),d+=this.__last_index__;return h.length?h:null},c.prototype.tlds=function(p,d){return p=Array.isArray(p)?p:[p],d?(this.__tlds__=this.__tlds__.concat(p).sort().filter(function(h,m,b){return h!==b[m-1]}).reverse(),u(this),this):(this.__tlds__=p.slice(),this.__tlds_replaced__=!0,u(this),this)},c.prototype.normalize=function(p){p.schema||(p.url="http://"+p.url),p.schema!=="mailto:"||/^mailto:/i.test(p.url)||(p.url="mailto:"+p.url)},c.prototype.onCompile=function(){},x.exports=c},function(x,g,a){x.exports=function(e){var t={};return t.src_Any=a(9).source,t.src_Cc=a(10).source,t.src_Z=a(11).source,t.src_P=a(3).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><\uFF5C]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><\uFF5C]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+`|[><\uFF5C]|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\uFF5C]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+t.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+t.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},function(x,g,a){(function(e,t){var r;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(n){g&&g.nodeType,e&&e.nodeType;var s=typeof t=="object"&&t;s.global!==s&&s.window!==s&&s.self;var o,i=2147483647,u=/^xn--/,l=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,d=String.fromCharCode;function h(O){throw new RangeError(c[O])}function m(O,T){for(var E=O.length,k=[];E--;)k[E]=T(O[E]);return k}function b(O,T){var E=O.split("@"),k="";return E.length>1&&(k=E[0]+"@",O=E[1]),k+m((O=O.replace(f,".")).split("."),T).join(".")}function A(O){for(var T,E,k=[],D=0,_=O.length;D<_;)(T=O.charCodeAt(D++))>=55296&&T<=56319&&D<_?(64512&(E=O.charCodeAt(D++)))==56320?k.push(((1023&T)<<10)+(1023&E)+65536):(k.push(T),D--):k.push(T);return k}function y(O){return m(O,function(T){var E="";return T>65535&&(E+=d((T-=65536)>>>10&1023|55296),T=56320|1023&T),E+=d(T)}).join("")}function w(O,T){return O+22+75*(O<26)-((T!=0)<<5)}function C(O,T,E){var k=0;for(O=E?p(O/700):O>>1,O+=p(O/T);O>455;k+=36)O=p(O/35);return p(k+36*O/(O+38))}function L(O){var T,E,k,D,_,S,$,P,M,B,N,V=[],W=O.length,G=0,Z=128,X=72;for((E=O.lastIndexOf("-"))<0&&(E=0),k=0;k<E;++k)O.charCodeAt(k)>=128&&h("not-basic"),V.push(O.charCodeAt(k));for(D=E>0?E+1:0;D<W;){for(_=G,S=1,$=36;D>=W&&h("invalid-input"),((P=(N=O.charCodeAt(D++))-48<10?N-22:N-65<26?N-65:N-97<26?N-97:36)>=36||P>p((i-G)/S))&&h("overflow"),G+=P*S,!(P<(M=$<=X?1:$>=X+26?26:$-X));$+=36)S>p(i/(B=36-M))&&h("overflow"),S*=B;X=C(G-_,T=V.length+1,_==0),p(G/T)>i-Z&&h("overflow"),Z+=p(G/T),G%=T,V.splice(G++,0,Z)}return y(V)}function j(O){var T,E,k,D,_,S,$,P,M,B,N,V,W,G,Z,X=[];for(V=(O=A(O)).length,T=128,E=0,_=72,S=0;S<V;++S)(N=O[S])<128&&X.push(d(N));for(k=D=X.length,D&&X.push("-");k<V;){for($=i,S=0;S<V;++S)(N=O[S])>=T&&N<$&&($=N);for($-T>p((i-E)/(W=k+1))&&h("overflow"),E+=($-T)*W,T=$,S=0;S<V;++S)if((N=O[S])<T&&++E>i&&h("overflow"),N==T){for(P=E,M=36;!(P<(B=M<=_?1:M>=_+26?26:M-_));M+=36)Z=P-B,G=36-B,X.push(d(w(B+Z%G,0))),P=p(Z/G);X.push(d(w(P,0))),_=C(E,W,k==D),E=0,++k}++E,++T}return X.join("")}o={version:"1.4.1",ucs2:{decode:A,encode:y},decode:L,encode:j,toASCII:function(O){return b(O,function(T){return l.test(T)?"xn--"+j(T):T})},toUnicode:function(O){return b(O,function(T){return u.test(T)?L(T.slice(4).toLowerCase()):T})}},(r=function(){return o}.call(g,a,g,e))===void 0||(e.exports=r)})()}).call(this,a(72)(x),a(73))},function(x,g){x.exports=function(a){return a.webpackPolyfill||(a.deprecate=function(){},a.paths=[],a.children||(a.children=[]),Object.defineProperty(a,"loaded",{enumerable:!0,get:function(){return a.l}}),Object.defineProperty(a,"id",{enumerable:!0,get:function(){return a.i}}),a.webpackPolyfill=1),a}},function(x,g){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch{typeof window=="object"&&(a=window)}x.exports=a},function(x,g,a){x.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(x,g,a){x.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(x,g,a){x.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},,function(x,g,a){a.r(g),a.d(g,"default",function(){return r});var e=a(18),t=a(2);function r(n){var s=n===void 0?{}:n,o=s.Prism,i=s.baseConfig,u=s.codeBlockClass,l=s.codeHighlightExtensionMap,f=l===void 0?{}:l,c=Object(e.default)(i);return c.extend(function(p){p.set({highlight:Object(t.a)({codeHighlightExtensionMap:f,hasLang:function(d){return o.languages[d]},codeBlockClass:u,highlight:function(d,h){return o.highlight(d,o.languages[h],h)}})})}),{previewClass:"markdown-body",extend:function(p){c.extend(function(){for(var d=arguments.length,h=new Array(d),m=0;m<d;m++)h[m]=arguments[m];p.apply(void 0,h.concat([o]))})},markdownParser:c.markdownParser}}},function(x,g,a){},function(x,g,a){x.exports=function(e,t,r){var n=(r=r||{}).marker||":",s=n.charCodeAt(0),o=n.length,i=r.validate||function(l){return l.trim().split(" ",2)[0]===t},u=r.render||function(l,f,c,p,d){return l[f].nesting===1&&l[f].attrJoin("class",t),d.renderToken(l,f,c,p,d)};e.block.ruler.before("fence","container_"+t,function(l,f,c,p){var d,h,m,b,A,y,w,C,L=!1,j=l.bMarks[f]+l.tShift[f],O=l.eMarks[f];if(s!==l.src.charCodeAt(j))return!1;for(d=j+1;d<=O&&n[(d-j)%o]===l.src[d];d++);if((m=Math.floor((d-j)/o))<3||(d-=(d-j)%o,b=l.src.slice(j,d),A=l.src.slice(d,O),!i(A,b)))return!1;if(p)return!0;for(h=f;!(++h>=c)&&!((j=l.bMarks[h]+l.tShift[h])<(O=l.eMarks[h])&&l.sCount[h]<l.blkIndent);)if(s===l.src.charCodeAt(j)&&!(l.sCount[h]-l.blkIndent>=4)){for(d=j+1;d<=O&&n[(d-j)%o]===l.src[d];d++);if(!(Math.floor((d-j)/o)<m||(d-=(d-j)%o,(d=l.skipSpaces(d))<O))){L=!0;break}}return w=l.parentType,C=l.lineMax,l.parentType="container",l.lineMax=h,(y=l.push("container_"+t+"_open","div",1)).markup=b,y.block=!0,y.info=A,y.map=[f,h],l.md.block.tokenize(l,f+1,h),(y=l.push("container_"+t+"_close","div",-1)).markup=l.src.slice(j,d),y.block=!0,l.parentType=w,l.lineMax=C,l.line=h+(L?1:0),!0},{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules["container_"+t+"_open"]=u,e.renderer.rules["container_"+t+"_close"]=u}},,function(x,g,a){},function(x,g,a){},function(x,g,a){a.r(g);var e=a(1),t=a(78),r=a(80),n=a.n(r);function s(i){return typeof i=="string"?function(){return i}:i}var o=function(i,u){var l=u.validate,f=u.marker,c=u.render,p=u.type,d=u.before,h=u.after,m=u.defaultTitle,b=m===void 0?p.toUpperCase():m,A=u.blockClass,y=A===void 0?"custom-block":A;if(p){var w,C;c||(d!==void 0&&h!==void 0?(w=s(d),C=s(h)):(w=function(L){return'<div class="'+y+" "+p+'">'+(L?'<p class="'+y+'-title">'+L+"</p>":"")+`
|
|
`},C=function(){return`</div>
|
|
`}),c=function(L,j){var O=L[j],T=O.info.trim().slice(p.length).trim();return!T&&b&&(T=typeof b=="function"?b():b),O.nesting===1?w(T):C(T)}),i.use(n.a,p,{render:c,validate:l,marker:f})}};a(79),a(82),a(83),g.default={install:function(i,u){u===void 0&&(u={});var l,f,c,p,d,h,m,b,A,y=u,w=y.extend,C=y.config,L=y.codeHighlightExtensionMap,j=function(T){var E=Object(t.default)({Prism:T.Prism,codeHighlightExtensionMap:T.codeHighlightExtensionMap||{},codeBlockClass:T.codeBlockClass||function(k){return"v-md-prism-"+k},baseConfig:Object(e.a)({link:{openLinkIcon:!0}},T.baseConfig)});return{previewClass:"vuepress-markdown-body",extend:function(k){E.extend(k)},markdownParser:E.markdownParser}}({Prism:y.Prism,baseConfig:C,codeHighlightExtensionMap:L}),O=(f=(l={}).name,c=f===void 0?"tip":f,p=l.icon,d=p===void 0?"v-md-icon-tip":p,h=l.text,m=function(T,E){E===void 0&&(E="tip"),T.insert(function(k){var D=k||T.langConfig.tip[E].placeholder;return{text:"::: "+E+`
|
|
`+D+`
|
|
:::`,selected:D}})},b={title:function(T){return T.langConfig.tip.toolbar},icon:d,text:h,menus:[{name:"tip",text:function(T){return T.langConfig.tip.tip.toolbar},action:function(T){T.execCommand(c)}},{name:"warning",text:function(T){return T.langConfig.tip.warning.toolbar},action:function(T){T.execCommand(c,"warning")}},{name:"danger",text:function(T){return T.langConfig.tip.danger.toolbar},action:function(T){T.execCommand(c,"danger")}},{name:"details",text:function(T){return T.langConfig.tip.details.toolbar},action:function(T){T.execCommand(c,"details")}}]},A=function(T,E){T&&(o(T,{type:"tip",defaultTitle:function(){return E().tip.tip.defaultTitle},blockClass:"v-md-plugin-tip"}),o(T,{type:"warning",defaultTitle:function(){return E().tip.warning.defaultTitle},blockClass:"v-md-plugin-tip"}),o(T,{type:"danger",defaultTitle:function(){return E().tip.danger.defaultTitle},blockClass:"v-md-plugin-tip"}),o(T,{type:"details",defaultTitle:function(){return E().tip.details.defaultTitle},before:function(k){return'<details class="v-md-plugin-tip details">'+(k?"<summary>"+k+"</summary>":"")+`
|
|
`},after:function(){return`</details>
|
|
`}}))},{install:function(T){T.name==="v-md-editor"&&(T.command(c,m),T.toolbar(c,b)),T.lang.add({"zh-CN":{tip:{toolbar:"\u63D2\u5165\u63D0\u793A",tip:{toolbar:"\u63D0\u793A",defaultTitle:"\u63D0\u793A",placeholder:"\u5728\u6B64\u8F93\u5165\u5185\u5BB9"},warning:{toolbar:"\u6CE8\u610F",defaultTitle:"\u6CE8\u610F",placeholder:"\u5728\u6B64\u8F93\u5165\u5185\u5BB9"},danger:{toolbar:"\u8B66\u544A",defaultTitle:"\u8B66\u544A",placeholder:"\u5728\u6B64\u8F93\u5165\u5185\u5BB9"},details:{toolbar:"\u8BE6\u7EC6\u4FE1\u606F",defaultTitle:"\u8BE6\u7EC6\u4FE1\u606F",placeholder:"\u5185\u5BB9"}}},"en-US":{tip:{toolbar:"Insert tip",tip:{toolbar:"Tip",defaultTitle:"TIP",placeholder:"Insert content"},warning:{toolbar:"Warning",defaultTitle:"WARNING",placeholder:"Insert content"},danger:{toolbar:"Danger",defaultTitle:"DANGER",placeholder:"Insert content"},details:{toolbar:"Details",defaultTitle:"DETAILS",placeholder:"Content"}}}}),T.extendMarkdown(A)}});w&&j.extend(w),i.use(O),i.theme(j)}}}]).default})})(Kt);var Rr=Ct(Kt.exports);var $e=void 0,Re={undo:{toolbar:"\u64A4\u9500"},redo:{toolbar:"\u91CD\u505A"},clear:{toolbar:"\u6E05\u7A7A"},h:{toolbar:"\u6807\u9898"},h1:{toolbar:"\u4E00\u7EA7\u6807\u9898",placeholder:"\u4E00\u7EA7\u6807\u9898"},h2:{toolbar:"\u4E8C\u7EA7\u6807\u9898",placeholder:"\u4E8C\u7EA7\u6807\u9898"},h3:{toolbar:"\u4E09\u7EA7\u6807\u9898",placeholder:"\u4E09\u7EA7\u6807\u9898"},h4:{toolbar:"\u56DB\u7EA7\u6807\u9898",placeholder:"\u56DB\u7EA7\u6807\u9898"},h5:{toolbar:"\u4E94\u7EA7\u6807\u9898",placeholder:"\u4E94\u7EA7\u6807\u9898"},h6:{toolbar:"\u516D\u7EA7\u6807\u9898",placeholder:"\u516D\u7EA7\u6807\u9898"},bold:{toolbar:"\u7C97\u4F53",placeholder:"\u7C97\u4F53"},italic:{toolbar:"\u659C\u4F53",placeholder:"\u659C\u4F53"},strikethrough:{toolbar:"\u5220\u9664\u7EBF",placeholder:"\u5220\u9664\u7EBF"},quote:{toolbar:"\u63D2\u5165\u5F15\u7528",placeholder:"\u5F15\u7528"},ul:{toolbar:"\u65E0\u5E8F\u5217\u8868",placeholder:"\u65E0\u5E8F\u5217\u8868"},ol:{toolbar:"\u6709\u5E8F\u5217\u8868",placeholder:"\u6709\u5E8F\u5217\u8868"},table:{toolbar:"\u8868\u683C"},hr:{toolbar:"\u63D2\u5165\u5206\u5272\u7EBF"},link:{toolbar:"\u63D2\u5165\u94FE\u63A5",descPlaceholder:"\u94FE\u63A5"},image:{toolbar:"\u63D2\u5165\u56FE\u7247"},imageLink:{toolbar:"\u6DFB\u52A0\u56FE\u7247\u94FE\u63A5"},uploadImage:{toolbar:"\u4E0A\u4F20\u672C\u5730\u56FE\u7247"},code:{toolbar:"\u63D2\u5165\u4EE3\u7801\u5757"},save:{toolbar:"\u4FDD\u5B58"},preview:{enabled:"\u5F00\u542F\u9884\u89C8",disabled:"\u5173\u95ED\u9884\u89C8"},toc:{title:"\u76EE\u5F55\u5BFC\u822A",enabled:"\u5F00\u542F\u76EE\u5F55\u5BFC\u822A",disabled:"\u5173\u95ED\u76EE\u5F55\u5BFC\u822A"},syncScroll:{enabled:"\u5F00\u542F\u540C\u6B65\u6EDA\u52A8",disabled:"\u5173\u95ED\u540C\u6B65\u6EDA\u52A8"},fullscreen:{enabled:"\u5168\u5C4F\uFF08\u6309ESC\u8FD8\u539F\uFF09",disabled:"\u9000\u51FA\u5168\u5C4F"}};$e=Re;var Pe=void 0,Be={undo:{toolbar:"Undo"},redo:{toolbar:"Redo"},clear:{toolbar:"Clear"},h:{toolbar:"Headings"},h1:{toolbar:"Heading 1",placeholder:"Heading 1"},h2:{toolbar:"Heading 2",placeholder:"Heading 2"},h3:{toolbar:"Heading 3",placeholder:"Heading 3"},h4:{toolbar:"Heading 4",placeholder:"Heading 4"},h5:{toolbar:"Heading 5",placeholder:"Heading 5"},h6:{toolbar:"Heading 6",placeholder:"Heading 6"},bold:{toolbar:"Bold",placeholder:"Bold"},italic:{toolbar:"Italic",placeholder:"Italic"},strikethrough:{toolbar:"Strike",placeholder:"Strike"},quote:{toolbar:"Blockquote",placeholder:"Blockquote"},ul:{toolbar:"Unordered list",placeholder:"Unordered list"},ol:{toolbar:"Ordered list",placeholder:"Ordered list"},table:{toolbar:"Insert table"},hr:{toolbar:"Line"},link:{toolbar:"Insert link",descPlaceholder:"Link"},image:{toolbar:"Insert image"},imageLink:{toolbar:"Insert link"},uploadImage:{toolbar:"Upload Image"},code:{toolbar:"Insert Codeblock"},save:{toolbar:"Save"},preview:{enabled:"Enable preview",disabled:"Disable preview"},toc:{title:"Directory navigation",enabled:"Enable toc",disabled:"Disable toc"},syncScroll:{enabled:"Enable sync scroll ",disabled:"Disable sync scroll"},fullscreen:{enabled:"Full screen(Press ESC to exit)",disabled:"Exit Full Screen"}};Pe=Be;var At={};function Vt(F,R){var x,g,a=F.posMax,e=!0,t=!0;return x=R>0?F.src.charCodeAt(R-1):-1,g=R+1<=a?F.src.charCodeAt(R+1):-1,(x===32||x===9||g>=48&&g<=57)&&(t=!1),(g===32||g===9)&&(e=!1),{can_open:e,can_close:t}}function Ne(F,R){var x,g,a,e,t;if(F.src[F.pos]!=="$")return!1;if(e=Vt(F,F.pos),!e.can_open)return R||(F.pending+="$"),F.pos+=1,!0;for(x=F.pos+1,g=x;(g=F.src.indexOf("$",g))!==-1;){for(t=g-1;F.src[t]==="\\";)t-=1;if((g-t)%2==1)break;g+=1}return g===-1?(R||(F.pending+="$"),F.pos=x,!0):g-x===0?(R||(F.pending+="$$"),F.pos=x+1,!0):(e=Vt(F,g),e.can_close?(R||(a=F.push("math_inline","math",0),a.markup="$",a.content=F.src.slice(x,g)),F.pos=g+1,!0):(R||(F.pending+="$"),F.pos=x,!0))}function He(F,R,x,g){var a,e,t,r,n=!1,s,o=F.bMarks[R]+F.tShift[R],i=F.eMarks[R];if(o+2>i||F.src.slice(o,o+2)!=="$$")return!1;if(o+=2,a=F.src.slice(o,i),g)return!0;for(a.trim().slice(-2)==="$$"&&(a=a.trim().slice(0,-2),n=!0),t=R;!n&&(t++,!(t>=x||(o=F.bMarks[t]+F.tShift[t],i=F.eMarks[t],o<i&&F.tShift[t]<F.blkIndent)));)F.src.slice(o,i).trim().slice(-2)==="$$"&&(r=F.src.slice(0,i).lastIndexOf("$$"),e=F.src.slice(o,r),n=!0);return F.line=t+1,s=F.push("math_block","math",0),s.block=!0,s.content=(a&&a.trim()?a+`
|
|
`:"")+F.getLines(R+1,t,F.tShift[R],!0)+(e&&e.trim()?e:""),s.map=[R,F.line],s.markup="$$",!0}var Ge=function(R,x){x=x||{};var g=x,a=g.katex,e=function(o){x.displayMode=!1;try{return a.renderToString(o,x)}catch(i){return x.throwOnError&&console.log(i),o}},t=function(o,i){return e(o[i].content)},r=function(o){x.displayMode=!0;try{return"<p>"+a.renderToString(o,x)+"</p>"}catch(i){return x.throwOnError&&console.log(i),o}},n=function(o,i){return r(o[i].content)+`
|
|
`};R.inline.ruler.after("escape","math_inline",Ne),R.block.ruler.after("blockquote","math_block",He,{alt:["paragraph","reference","blockquote","list"]}),R.renderer.rules.math_inline=t,R.renderer.rules.math_block=n},Yt=ut.exports;At.__esModule=!0;At.default=We;var Ve=Yt(qe.exports),Ue=Yt(Ge);function We(F){return function(x){var g=function(e){e&&F&&e.use(Ue.default,(0,Ve.default)({},x,{katex:F}))};return{install:function(e){e.extendMarkdown(g)}}}}var Ze=ut.exports,Xe=void 0,Ke=Ze(At),Jt=typeof window=="undefined";!Jt&&!window.katex&&console.error("Please import resources katex from cdn");var Ye=(0,Ke.default)(!Jt&&window.katex);Xe=Ye;var Et={},Je=function(F,R){var x=R===void 0?{}:R,g=x.className,a=g===void 0?"v-md-mermaid":g,e=function(o){return function(){for(var i=arguments.length,u=new Array(i),l=0;l<i;l++)u[l]=arguments[l];var f=u[0],c=u[1],p=f[c],d=o.apply(void 0,u);return p.info==="mermaid"?'<pre class="'+a+'">'+p.content.replace(/</g,"<").replace(/>/g,">")+"</pre>":d}},t=F.renderer.rules,r=t.fence,n=t.code_block;F.renderer.rules.fence=e(r),F.renderer.rules.code_block=e(n)},St={},st={};st.__esModule=!0;st.arraytoObject=rr;st.generatorText=or;st.importAll=nr;st.isKorean=ir;st.isObject=void 0;var Qe=Object.prototype.toString,tr=function(R){return Qe.call(R)==="[object Object]"};st.isObject=tr;function er(F,R){return Object.keys(R).forEach(function(x){F[x]=R[x]}),F}function rr(F){for(var R={},x=0;x<F.length;x++)F[x]&&er(R,F[x]);return R}function nr(F,R){R.keys().forEach(function(x){F[x]=R(x)})}function ir(F){var R=/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi;return R.test(F)}function or(F){var R=F.selected,x=F.InsertGetter,g=F.selectedGetter,a=g===void 0?function(s){return s}:g,e=F.ignoreEmptyLine,t=e===void 0?!0:e,r,n;return R?(n=a(R),r=x(R,1),R.indexOf(`
|
|
`)!==-1&&(r=R.split(`
|
|
`).map(function(s,o){var i=!s;return t&&i?"":x(s,o+1).replace(a(null),"")}).join(`
|
|
`),n=r)):(r=x(null,1),n=a(R)),{insertContent:r,newSelected:n}}St.__esModule=!0;St.deepAssign=Qt;var ar=st,sr=Object.prototype.hasOwnProperty;function lr(F,R,x){var g=R[x];g!=null&&(!sr.call(F,x)||!(0,ar.isObject)(g)?F[x]=g:F[x]=Qt(Object(F[x]),R[x]))}function Qt(F,R){return Object.keys(R).forEach(function(x){lr(F,R,x)}),F}var Tt=ut.exports;Et.__esModule=!0;Et.default=pr;var Ut=Tt(Me),cr=Tt(Fe.exports),ur=Tt(Je),fr=St,dr=function(R){R&&R.use(ur.default)};function hr(F){var R="v-md-editor-preview";return F.classList.contains(R)?F:F.querySelector("."+R)}function pr(F){function R(){return x.apply(this,arguments)}function x(){return x=(0,cr.default)(Ut.default.mark(function g(){var a,e;return Ut.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(typeof window!="undefined"){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,this.$nextTick();case 4:if(a=hr(this.$el),e=a.querySelectorAll(".v-md-mermaid"),!(!e.length||this.isEditMode)){r.next=8;break}return r.abrupt("return");case 8:F.init(null,e);case 9:case"end":return r.stop()}},g,this)})),x.apply(this,arguments)}return function(a){var e=a===void 0?{}:a,t=e.mermaidInitializeOptions,r=t===void 0?{}:t,n={altFontFamily:"sans-serif",flowchart:{htmlLabels:!0,useMaxWidth:!0},fontFamily:"sans-serif",gantt:{leftPadding:75,rightPadding:20},securityLevel:"loose",sequence:{boxMargin:8,diagramMarginX:8,diagramMarginY:8,useMaxWidth:!0},startOnLoad:!1};return(0,fr.deepAssign)(n,r),{install:function(o){o.extendMarkdown(dr),o.mixins||(o.mixins=[]),o.mixins.push({created:function(){F.initialize(n)},watch:{value:{immediate:!0,handler:R},text:{immediate:!0,handler:R},currentMode:R}})}}}}var mr=ut.exports,gr=void 0,vr=mr(Et),te=typeof window=="undefined";!te&&!window.mermaid&&console.error("Please import resources mermaid from cdn");var br=(0,vr.default)(!te&&window.mermaid);gr=br;var Dt={};Dt.__esModule=!0;Dt.default=_r;function _r(F){var R=F.commandName,x=F.text,g=F.title,a=F.icon;return{title:g,icon:a,text:x,action:function(t){t.execCommand(R,{type:"todo"})}}}var Lt={};Lt.__esModule=!0;Lt.default=kr;var yr=st;function kr(F,R){var x=R===void 0?{}:R,g=x.type,a=g===void 0?"todo":g;F.insert(function(e){var t=F.langConfig.task.placeholder,r=a==="todo"?" ":"x",n=function(l){return l||t},s=(0,yr.generatorText)({selected:e,InsertGetter:function(l){return"- ["+r+"] "+n(l)},selectedGetter:n}),o=s.insertContent,i=s.newSelected;return{text:o,selected:i}})}var wr=function(F,R){R===void 0&&(R={});var x=R,g=x.listClass,a=g===void 0?"v-md-editor__todo-list":g,e=x.listItemClass,t=e===void 0?"v-md-editor__todo-list-item":e,r=x.renderCheckbox,n=r===void 0?function(h){return'<input class="v-md-editor__todo-list-checkbox" type="checkbox" '+(h==="todo"?"":"checked")+">"}:r;function s(h,m,b){var A=h.attrIndex(m),y=[m,b];A<0?h.attrPush(y):h.attrs[A]=y}function o(h,m){for(var b=h[m].level-1,A=m-1;A>=0;A--)if(h[A].level===b)return A;return-1}function i(h,m){return f(h[m])&&c(h[m-1])&&p(h[m-2])&&d(h[m])}function u(h,m){h.children.unshift(l(h,m)),h.children[1].content=h.children[1].content.slice(3),h.content=h.content.slice(3)}function l(h,m){var b=new m("html_inline","",0);return h.content.indexOf("[ ] ")===0?b.content=n("todo"):(h.content.indexOf("[x] ")===0||h.content.indexOf("[X] ")===0)&&(b.content=n("completed")),b}function f(h){return h.type==="inline"}function c(h){return h.type==="paragraph_open"}function p(h){return h.type==="list_item_open"}function d(h){return h.content.indexOf("[ ] ")===0||h.content.indexOf("[x] ")===0||h.content.indexOf("[X] ")===0}F.core.ruler.after("inline","v-md-task-lists",function(h){for(var m=h.tokens,b=2;b<m.length;b++)i(m,b)&&(u(m[b],h.Token),s(m[b-2],"class",t),s(m[o(m,b-2)],"class",a))})},It=ut.exports,Pr=Er,xr=It(Dt),Cr=It(Lt),Ar=It(wr);function Er(F){var R=F===void 0?{}:F,x=R.name,g=x===void 0?"todo-list":x,a=R.icon,e=a===void 0?"v-md-icon-checkbox":a,t=R.text,r=R.color,n=r===void 0?"#3eaf7c":r,s=(0,xr.default)({commandName:g,title:function(c){return c.langConfig.task.toolbar+"\uFF08Ctrl+Shift+U\uFF09"},text:t,icon:e}),o="#d9d9d9",i=function(c){return"border-color: "+(c==="todo"?o:n)},u="background-color: "+n,l=function(c){c&&c.use(Ar.default,{renderCheckbox:function(d){var h="v-md-editor__todo-list-checkbox",m=d==="todo"?""+i(d):i(d)+";"+u;return'<span class="'+h+(d==="todo"?"":" "+h+"--checked")+'" style="'+m+'"></span>'}})};return{install:function(c){c.name==="v-md-editor"&&(c.command(g,Cr.default),c.toolbar(g,s),c.hotkey({modifier:"ctrlShift",key:"u",action:function(d){d.execCommand(g)}}),c.lang.add({"zh-CN":{task:{toolbar:"\u4EFB\u52A1\u5217\u8868",placeholder:"\u4EFB\u52A1\u5217\u8868"}},"en-US":{task:{toolbar:"Task",placeholder:"Task"}}})),c.extendMarkdown(l)}}}var Sr=function(F){var R=F.renderer.rules.fence;F.renderer.rules.fence=function(){var x=R.apply(void 0,arguments),g=`
|
|
<button class="v-md-copy-code-btn" type="button">
|
|
<i>
|
|
<svg viewBox="64 64 896 896" focusable="false" data-icon="copy" width="1em" height="1em" fill="currentColor" aria-hidden="true">
|
|
<path d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"></path>
|
|
</svg>
|
|
</i>
|
|
</button>`,a=x.replace("<!--beforeend-->",g+"<!--beforeend-->").replace("v-md-pre-wrapper","v-md-pre-wrapper copy-code-mode");return a}},Ot={},Tr=ut.exports;Ot.__esModule=!0;Ot.default=Ir;var Dr=Tr(ze);function Lr(F){return F.classList.contains("v-md-copy-code-btn")}function ee(F){return F.classList.contains("v-md-pre-wrapper")?F:ee(F.parentNode)}function Wt(F){var R="v-md-editor-preview";return F.classList.contains(R)?F:F.querySelector("."+R)}function Ir(){return{install:function(R){R.mixins||(R.mixins=[]),R.mixins.push({mounted:function(){var g=this;this.$nextTick(function(){var a=Wt(g.$el);a.addEventListener("click",g.handleCopyCodeClick)})},beforeDestroy:function(){var g=Wt(this.$el);g.removeEventListener("click",this.handleCopyCodeClick)},methods:{handleCopyCodeClick:function(g){var a=g.target;if(Lr(a)){var e=ee(a.parentNode);if(e){var t=e.querySelector("code").innerText;(0,Dr.default)(t),this.$emit("copy-code-success",t)}}}}})}}}var re=ut.exports,Br=qr,Or=re(Sr),jr=re(Ot);function qr(){return{install:function(R){R.extendMarkdown(function(x){x.use(Or.default)}),R.use((0,jr.default)())}}}var ne={exports:{}};(function(F,R){(function(x,g){F.exports=g(Zt)})(typeof self!="undefined"?self:xt,function(x){return function(g){var a={};function e(t){if(a[t])return a[t].exports;var r=a[t]={i:t,l:!1,exports:{}};return g[t].call(r.exports,r,r.exports,e),r.l=!0,r.exports}return e.m=g,e.c=a,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r||4&r&&typeof t=="object"&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&typeof t!="string")for(var s in t)e.d(n,s,function(o){return t[o]}.bind(null,s));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=111)}([function(g,a,e){e.d(a,"a",function(){return t}),e.d(a,"b",function(){return r}),e.d(a,"c",function(){return n}),e.d(a,"d",function(){return s}),e.d(a,"e",function(){return o}),e.d(a,"f",function(){return i}),e.d(a,"g",function(){return u}),e.d(a,"h",function(){return l}),e.d(a,"i",function(){return f}),e.d(a,"j",function(){return c}),e.d(a,"k",function(){return p}),e.d(a,"l",function(){return d}),e.d(a,"m",function(){return h}),e.d(a,"n",function(){return m}),e.d(a,"o",function(){return b}),e.d(a,"p",function(){return A}),e.d(a,"q",function(){return y}),e.d(a,"r",function(){return w}),e.d(a,"s",function(){return C}),e.d(a,"t",function(){return L}),e.d(a,"u",function(){return j}),e.d(a,"v",function(){return O});var t="bold",r="clear",n="code",s="fullscreen",o="h1",i="h2",u="h3",l="h4",f="h5",c="h6",p="hr",d="image",h="italic",m="link",b="ol",A="quote",y="redo",w="strikethrough",C="sync-scroll",L="table",j="ul",O="undo"},function(g,a,e){e.d(a,"e",function(){return r}),e.d(a,"a",function(){return s}),e.d(a,"c",function(){return o}),e.d(a,"d",function(){return i}),e.d(a,"b",function(){return u});var t=Object.prototype.toString,r=function(l){return t.call(l)==="[object Object]"};function n(l,f){return Object.keys(f).forEach(function(c){l[c]=f[c]}),l}function s(l){for(var f={},c=0;c<l.length;c++)l[c]&&n(f,l[c]);return f}function o(l,f){f.keys().forEach(function(c){l[c]=f(c)})}function i(l){return/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(l)}function u(l){var f,c,p=l.selected,d=l.InsertGetter,h=l.selectedGetter,m=h===void 0?function(y){return y}:h,b=l.ignoreEmptyLine,A=b===void 0||b;return p?(c=m(p),f=d(p,1),p.indexOf(`
|
|
`)!==-1&&(c=f=p.split(`
|
|
`).map(function(y,w){return A&&!y?"":d(y,w+1).replace(m(null),"")}).join(`
|
|
`))):(f=d(null,1),c=m(p)),{insertContent:f,newSelected:c}}},function(g,a,e){function t(r,n,s,o,i,u,l,f){var c,p=typeof r=="function"?r.options:r;if(n&&(p.render=n,p.staticRenderFns=s,p._compiled=!0),o&&(p.functional=!0),u&&(p._scopeId="data-v-"+u),l?(c=function(m){(m=m||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||typeof __VUE_SSR_CONTEXT__=="undefined"||(m=__VUE_SSR_CONTEXT__),i&&i.call(this,m),m&&m._registeredComponents&&m._registeredComponents.add(l)},p._ssrRegister=c):i&&(c=f?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(p.functional){p._injectStyles=c;var d=p.render;p.render=function(m,b){return c.call(b),d(m,b)}}else{var h=p.beforeCreate;p.beforeCreate=h?[].concat(h,c):[c]}return{exports:r,options:p}}e.d(a,"a",function(){return t})},function(g,a,e){e.d(a,"c",function(){return t}),e.d(a,"b",function(){return r}),e.d(a,"a",function(){return n});var t="data-v-md-line",r="data-v-md-heading",n="data-v-md-anchor"},function(g,a,e){a.a={PREVIEW:"preview",EDITABLE:"editable",EDIT:"edit"}},function(g,a,e){function t(){return(t=Object.assign||function(r){for(var n=1;n<arguments.length;n++){var s=arguments[n];for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(r[o]=s[o])}return r}).apply(this,arguments)}e.d(a,"a",function(){return t})},function(g,a,e){function t(n){var s=0;return n===window?s=n.pageYOffset:n&&(s=n.scrollTop),s}function r(n,s){n===window?window.scrollTo(window.pageYOffset,s):n&&(n.scrollTop=s)}e.d(a,"a",function(){return t}),e.d(a,"b",function(){return r})},function(g,a,e){var t=e(5),r=e(12),n=e.n(r),s={svg:[],altGlyph:[],altGlyphDef:[],altGlyphItem:[],animate:[],animateColor:[],animateMotion:[],animateTransform:[],circle:[],clipPath:[],"color-profile":[],cursor:[],"definition-src":[],defs:[],desc:[],ellipse:[],feBlend:[],feColorMatrix:[],feComponentTransfer:[],feComposite:[],feConvolveMatrix:[],feDiffuseLighting:[],feDisplacementMap:[],feDistantLight:[],feFlood:[],feFuncA:[],feFuncB:[],feFuncG:[],feFuncR:[],feGaussianBlur:[],feImage:[],feMerge:[],feMergeNode:[],feMorphology:[],feOffset:[],fePointLight:[],feSpecularLighting:[],feSpotLight:[],feTile:[],feTurbulence:[],filter:[],font:[],foreignObject:[],g:[],glyph:[],glyphRef:[],hkern:[],image:[],line:[],linearGradient:[],marker:[],mask:[],metadata:[],"missing-glyph":[],mpath:[],path:[],pattern:[],polygon:[],polyline:[],radialGradient:[],rect:[],set:[],stop:[],style:[],switch:[],symbol:[],text:[],textPath:[],title:[],tref:[],tspan:[],use:[],view:[],vkern:[]},o={math:[],annotation:[],semantics:[],mtext:[],mn:[],mo:[],mi:[],mspace:[],mover:[],munder:[],munderover:[],msup:[],msub:[],msubsup:[],mfrac:[],mroot:[],msqrt:[],mtable:[],mtr:[],mtd:[],mlabeledtr:[],mrow:[],menclose:[],mstyle:[],mpadded:[],mphantom:[],mglyph:[]},i=["style","align","class","id"],u=["data-"],l=Object(t.a)({},{input:["type"],ol:["reversed","start","type"],button:["type"],summary:[]},o,s),f={whiteList:Object(t.a)({},n.a.getDefaultWhiteList(),l),onIgnoreTagAttr:function(p,d,h){if(s[p]||o[p]||i.find(function(m){return m===d})||u.find(function(m){return d.startsWith(m)}))return d+'="'+n.a.escapeAttrValue(h)+'"'}},c=new n.a.FilterXSS(f);c.extend=function(p){var d=c.options;Object.keys(p).forEach(function(h){if(h==="whiteList")Object.keys(p.whiteList).forEach(function(b){var A=p.whiteList[b],y=d.whiteList;y[b]?y[b]=[].concat(y[b],A):y[b]=A});else if(h==="onIgnoreTagAttr"){var m=d.onIgnoreTagAttr;d.onIgnoreTagAttr=function(){for(var b,A=arguments.length,y=new Array(A),w=0;w<A;w++)y[w]=arguments[w];var C=m.call.apply(m,[this].concat(y)),L=(b=p.onIgnoreTagAttr).call.apply(b,[this].concat(y));return C||L}}else d[h]=p[h]})},a.a=c},function(g,a,e){e.d(a,"b",function(){return r}),e.d(a,"a",function(){return n});var t=e(6);function r(s){var o=s.currentScrollTop,i=s.scrollToTop,u=s.scrollFn,l=s.percent,f=l===void 0?10:l,c=s.onScrollEnd,p=i>o?"down":"up",d=f/100*(i-o);window.requestAnimationFrame(function h(){o+=d,p==="down"&&o>=i||p==="up"&&o<=i?(u(i),window.cancelAnimationFrame(void 0),c&&window.requestAnimationFrame(c)):(u(o),window.requestAnimationFrame(h))})}function n(s){var o=s.scrollTarget,i=s.scrollToTop,u=s.percent,l=u===void 0?10:u,f=s.onScrollEnd;r({currentScrollTop:Object(t.a)(o),scrollToTop:i,scrollFn:function(c){return Object(t.b)(o,c)},percent:l,onScrollEnd:f})}},function(g,a,e){var t=e(11),r=e.n(t),n=e(1),s=Object.prototype.hasOwnProperty;function o(l,f){return Object.keys(f).forEach(function(c){(function(p,d,h){var m=d[h];m!=null&&(s.call(p,h)&&Object(n.e)(m)?p[h]=o(Object(p[h]),d[h]):p[h]=m)})(l,f,c)}),l}var i=r.a.prototype,u=r.a.util.defineReactive;u(i,"$vMdEditorLang","zh-CN"),u(i,"$vMdEditorLangConfig",{"zh-CN":{}}),a.a={use:function(l,f){var c;i.$vMdEditorLang=l,this.add(((c={})[l]=f,c))},add:function(l){l===void 0&&(l={}),o(i.$vMdEditorLangConfig,l)}}},function(g,a,e){e.r(a);var t=function(){var d=this.$createElement,h=this._self._c||d;return h("div",{staticClass:"v-md-editor-preview",style:{tabSize:this.tabSize,"-moz-tab-size":this.tabSize,"-o-tab-size":this.tabSize},on:{click:this.handlePreviewClick}},[h("div",{class:[this.themeConfig.previewClass],domProps:{innerHTML:this._s(this.html)}})])};t._withStripped=!0;var r=e(7),n=e(18),s=e(15),o=function(d){return d},i={name:"v-md-preview",mixins:[s.a,n.a],props:{text:{type:String,default:""},theme:Object},data:function(){return{html:""}},computed:{themeConfig:function(){return i.themeConfig||{}},markdownParser:function(){return this.themeConfig.markdownParser},markdownLoader:function(){var d;return((d=this.markdownParser)==null?void 0:d.render.bind(this.markdownParser))||o}},watch:{text:function(){this.handleTextChange()},langConfig:function(){this.handleTextChange()}},created:function(){var d=this;this.theme&&i.use(this.theme),typeof this.markdownLoader!="function"||this.markdownLoader===o?console.warn("Please configure your markdown parser"):i.markdownExtenders.forEach(function(h){h(d.markdownParser,function(){return d.langConfig})}),this.handleTextChange()},methods:{handleTextChange:function(){this.html=r.a.process(this.markdownLoader(this.text)),this.$emit("change",this.text,this.html)}},theme:function(d){i.themeConfig=d},markdownExtenders:[],extendMarkdown:function(d){i.markdownExtenders.push(d)}},u=i,l=e(2),f=Object(l.a)(u,t,[],!1,null,null,null);f.options.__file="src/preview.vue";var c=f.exports,p=e(9);e(19),c.version="1.7.12",c.install=function(d){d.component(c.name,c)},c.xss=r.a,c.lang=p.a,c.use=function(d,h){return typeof d=="function"?d(c,h):d.install(c,h),c},a.default=c},function(g,a){g.exports=x},function(g,a,e){var t=e(28),r=e(31),n=e(35);function s(i,u){return new n(u).process(i)}for(var o in(a=g.exports=s).filterXSS=s,a.FilterXSS=n,t)a[o]=t[o];for(var o in r)a[o]=r[o];typeof window!="undefined"&&(window.filterXSS=g.exports),typeof self!="undefined"&&typeof DedicatedWorkerGlobalScope!="undefined"&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=g.exports)},function(g,a,e){g.exports=e(71)},function(g,a,e){function t(n,s){var o=s.accept;return Object.keys(n).filter(function(i){var u=n[i],l=u.type,f=u.name,c=f.indexOf(".")>-1?"."+f.split(".").pop():"",p=l.replace(/\/.*$/,"");return o.split(",").map(function(d){return d.trim()}).filter(function(d){return d}).some(function(d){return/\..+$/.test(d)?c===d:/\/\*$/.test(d)?p===d.replace(/\/\*$/,""):!!/^[^\/]+\/[^\/]+$/.test(d)&&l===d})}).map(function(i){return n[i]})}function r(n){var s=[];return Object.keys(n.items).forEach(function(o){var i=n.items[o];if(i.kind==="file"){var u=i.getAsFile();u&&s.push(u)}}),s}e.d(a,"a",function(){return t}),e.d(a,"b",function(){return r})},function(g,a,e){a.a={computed:{langConfig:function(){return this.$vMdEditorLangConfig[this.$vMdEditorLang]}}}},function(g,a,e){var t=e(29),r=e(33);for(var n in(a=g.exports=function(s,o){return new r(o).process(s)}).FilterCSS=r,t)a[n]=t[n];typeof window!="undefined"&&(window.filterCSS=g.exports)},function(g,a){g.exports={indexOf:function(e,t){var r,n;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var n,s;if(Array.prototype.forEach)return e.forEach(t,r);for(n=0,s=e.length;n<s;n++)t.call(r,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/.exec(e);return t?t.index:-1}}},function(g,a,e){var t=e(6),r=e(8),n=e(3);a.a={props:{scrollContainer:{type:Function,default:function(){return window}},top:{type:Number,default:0},tabSize:{type:Number,default:2}},methods:{handlePreviewClick:function(s){var o=s.target;if(o.tagName!=="IMG"){var i=o.getAttribute(n.a),u=this.$el.querySelector("["+n.b+'="'+i+'"]');u&&this.scrollToTarget({target:u})}else{if(!o.getAttribute("src"))return;var l=Array.from(this.$el.querySelectorAll("img")),f=l.map(function(p){return p.getAttribute("src")}).filter(function(p){return p}),c=l.indexOf(o);this.$emit("image-click",f,c)}},getOffsetTop:function(s,o){var i=s.getBoundingClientRect();return o===window||o===document.documentElement?i.top:i.top-o.getBoundingClientRect().top},scrollToTarget:function(s){var o=s.target,i=s.scrollContainer,u=i===void 0?this.scrollContainer():i,l=s.top,f=l===void 0?this.top:l,c=s.onScrollEnd,p=this.getOffsetTop(o,u),d=Object(t.a)(u)+p-f;Object(r.a)({scrollTarget:u,scrollToTop:d,onScrollEnd:c})},scrollToLine:function(s){var o=s.lineIndex,i=s.onScrollEnd;if(o){var u=this.$el.querySelector("["+n.c+'="'+o+'"]');u&&this.scrollToTarget({target:u,onScrollEnd:i})}}}}},function(g,a,e){},function(g,a,e){},function(g,a,e){},function(g,a,e){},function(g,a,e){},function(g,a,e){},function(g,a,e){},function(g,a,e){},function(g,a,e){function t(n,s,o,i,u,l,f){try{var c=n[l](f),p=c.value}catch(d){return void o(d)}c.done?s(p):Promise.resolve(p).then(i,u)}function r(n){return function(){var s=this,o=arguments;return new Promise(function(i,u){var l=n.apply(s,o);function f(p){t(l,i,u,f,c,"next",p)}function c(p){t(l,i,u,f,c,"throw",p)}f(void 0)})}}e.d(a,"a",function(){return r})},function(g,a,e){var t=e(16).FilterCSS,r=e(16).getDefaultWhiteList,n=e(17);function s(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var o=new t;function i(k){return k.replace(u,"<").replace(l,">")}var u=/</g,l=/>/g,f=/"/g,c=/"/g,p=/&#([a-zA-Z0-9]*);?/gim,d=/:?/gim,h=/&newline;?/gim,m=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi,b=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,A=/u\s*r\s*l\s*\(.*/gi;function y(k){return k.replace(f,""")}function w(k){return k.replace(c,'"')}function C(k){return k.replace(p,function(D,_){return _[0]==="x"||_[0]==="X"?String.fromCharCode(parseInt(_.substr(1),16)):String.fromCharCode(parseInt(_,10))})}function L(k){return k.replace(d,":").replace(h," ")}function j(k){for(var D="",_=0,S=k.length;_<S;_++)D+=k.charCodeAt(_)<32?" ":k.charAt(_);return n.trim(D)}function O(k){return k=j(k=L(k=C(k=w(k))))}function T(k){return k=i(k=y(k))}var E=/<!--[\s\S]*?-->/g;a.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},a.getDefaultWhiteList=s,a.onTag=function(k,D,_){},a.onIgnoreTag=function(k,D,_){},a.onTagAttr=function(k,D,_){},a.onIgnoreTagAttr=function(k,D,_){},a.safeAttrValue=function(k,D,_,S){if(_=O(_),D==="href"||D==="src"){if((_=n.trim(_))==="#")return"#";if(_.substr(0,7)!=="http://"&&_.substr(0,8)!=="https://"&&_.substr(0,7)!=="mailto:"&&_.substr(0,4)!=="tel:"&&_.substr(0,11)!=="data:image/"&&_.substr(0,6)!=="ftp://"&&_.substr(0,2)!=="./"&&_.substr(0,3)!=="../"&&_[0]!=="#"&&_[0]!=="/")return""}else if(D==="background"){if(m.lastIndex=0,m.test(_))return""}else if(D==="style"){if(b.lastIndex=0,b.test(_)||(A.lastIndex=0,A.test(_)&&(m.lastIndex=0,m.test(_))))return"";S!==!1&&(_=(S=S||o).process(_))}return _=T(_)},a.escapeHtml=i,a.escapeQuote=y,a.unescapeQuote=w,a.escapeHtmlEntities=C,a.escapeDangerHtml5Entities=L,a.clearNonPrintableCharacter=j,a.friendlyAttrValue=O,a.escapeAttrValue=T,a.onIgnoreTagStripAll=function(){return""},a.StripTagBody=function(k,D){typeof D!="function"&&(D=function(){});var _=!Array.isArray(k),S=[],$=!1;return{onIgnoreTag:function(P,M,B){if(function(W){return!!_||n.indexOf(k,W)!==-1}(P)){if(B.isClosing){var N="[/removed]",V=B.position+N.length;return S.push([$!==!1?$:B.position,V]),$=!1,N}return $||($=B.position),"[removed]"}return D(P,M,B)},remove:function(P){var M="",B=0;return n.forEach(S,function(N){M+=P.slice(B,N[0]),B=N[1]}),M+=P.slice(B)}}},a.stripCommentTag=function(k){return k.replace(E,"")},a.stripBlankChar=function(k){var D=k.split("");return(D=D.filter(function(_){var S=_.charCodeAt(0);return S!==127&&(!(S<=31)||S===10||S===13)})).join("")},a.cssFilter=o,a.getDefaultCSSWhiteList=r},function(g,a){function e(){var r={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1};return r}var t=/javascript\s*\:/gim;a.whiteList=e(),a.getDefaultWhiteList=e,a.onAttr=function(r,n,s){},a.onIgnoreAttr=function(r,n,s){},a.safeAttrValue=function(r,n){return t.test(n)?"":n}},function(g,a){g.exports={indexOf:function(e,t){var r,n;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var n,s;if(Array.prototype.forEach)return e.forEach(t,r);for(n=0,s=e.length;n<s;n++)t.call(r,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}}},function(g,a,e){var t=e(17);function r(l){var f=t.spaceIndex(l);if(f===-1)var c=l.slice(1,-1);else c=l.slice(1,f+1);return(c=t.trim(c).toLowerCase()).slice(0,1)==="/"&&(c=c.slice(1)),c.slice(-1)==="/"&&(c=c.slice(0,-1)),c}function n(l){return l.slice(0,2)==="</"}var s=/[^a-zA-Z0-9_:\.\-]/gim;function o(l,f){for(;f<l.length;f++){var c=l[f];if(c!==" ")return c==="="?f:-1}}function i(l,f){for(;f>0;f--){var c=l[f];if(c!==" ")return c==="="?f:-1}}function u(l){return function(f){return f[0]==='"'&&f[f.length-1]==='"'||f[0]==="'"&&f[f.length-1]==="'"}(l)?l.substr(1,l.length-2):l}a.parseTag=function(l,f,c){var p="",d=0,h=!1,m=!1,b=0,A=l.length,y="",w="";t:for(b=0;b<A;b++){var C=l.charAt(b);if(h===!1){if(C==="<"){h=b;continue}}else if(m===!1){if(C==="<"){p+=c(l.slice(d,b)),h=b,d=b;continue}if(C===">"){p+=c(l.slice(d,h)),y=r(w=l.slice(h,b+1)),p+=f(h,p.length,y,w,n(w)),d=b+1,h=!1;continue}if(C==='"'||C==="'")for(var L=1,j=l.charAt(b-L);j.trim()===""||j==="=";){if(j==="="){m=C;continue t}j=l.charAt(b-++L)}}else if(C===m){m=!1;continue}}return d<l.length&&(p+=c(l.substr(d))),p},a.parseAttr=function(l,f){var c=0,p=[],d=!1,h=l.length;function m(w,C){if(!((w=(w=t.trim(w)).replace(s,"").toLowerCase()).length<1)){var L=f(w,C||"");L&&p.push(L)}}for(var b=0;b<h;b++){var A,y=l.charAt(b);if(d!==!1||y!=="=")if(d===!1||b!==c||y!=='"'&&y!=="'"||l.charAt(b-1)!=="="){if(/\s|\n|\t/.test(y)){if(l=l.replace(/\s|\n|\t/g," "),d===!1){if((A=o(l,b))===-1){m(t.trim(l.slice(c,b))),d=!1,c=b+1;continue}b=A-1;continue}if((A=i(l,b-1))===-1){m(d,u(t.trim(l.slice(c,b)))),d=!1,c=b+1;continue}}}else{if((A=l.indexOf(y,b+1))===-1)break;m(d,t.trim(l.slice(c+1,A))),d=!1,c=(b=A)+1}else d=l.slice(c,b),c=b+1}return c<l.length&&(d===!1?m(l.slice(c)):m(d,u(t.trim(l.slice(c))))),t.trim(p.join(" "))}},function(g,a,e){e.r(a);var t=e(13),r=e.n(t),n=e(27),s=e(0),o=e(14);a.default={name:s.l,icon:"v-md-icon-img",title:function(i){return i.langConfig.image.toolbar},menus:[{name:"image-link",text:function(i){return i.langConfig.imageLink.toolbar},action:function(i,u){u!=null&&u.insertWithSize?i.execCommand(s.l,{width:"auto",height:"auto"}):i.execCommand(s.l)}},{name:"upload-image",text:function(i){return i.langConfig.uploadImage.toolbar},action:function(i){i.uploadConfig=i.uploadImgConfig,i.$nextTick(Object(n.a)(r.a.mark(function u(){var l,f;return r.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,i.$refs.uploadFile.upload();case 2:l=c.sent,f=Object(o.a)(l.target.files,i.uploadImgConfig),i.emitUploadImage(l,f);case 5:case"end":return c.stop()}},u)})))}}]}},function(g,a,e){var t=e(29),r=e(34);e(30);function n(o){return o==null}function s(o){(o=function(i){var u={};for(var l in i)u[l]=i[l];return u}(o||{})).whiteList=o.whiteList||t.whiteList,o.onAttr=o.onAttr||t.onAttr,o.onIgnoreAttr=o.onIgnoreAttr||t.onIgnoreAttr,o.safeAttrValue=o.safeAttrValue||t.safeAttrValue,this.options=o}s.prototype.process=function(o){if(!(o=(o=o||"").toString()))return"";var i=this.options,u=i.whiteList,l=i.onAttr,f=i.onIgnoreAttr,c=i.safeAttrValue;return r(o,function(p,d,h,m,b){var A=u[h],y=!1;if(A===!0?y=A:typeof A=="function"?y=A(m):A instanceof RegExp&&(y=A.test(m)),y!==!0&&(y=!1),m=c(h,m)){var w,C={position:d,sourcePosition:p,source:b,isWhite:y};return y?n(w=l(h,m,C))?h+":"+m:w:n(w=f(h,m,C))?void 0:w}})},g.exports=s},function(g,a,e){var t=e(30);g.exports=function(r,n){(r=t.trimRight(r))[r.length-1]!==";"&&(r+=";");var s=r.length,o=!1,i=0,u=0,l="";function f(){if(!o){var d=t.trim(r.slice(i,u)),h=d.indexOf(":");if(h!==-1){var m=t.trim(d.slice(0,h)),b=t.trim(d.slice(h+1));if(m){var A=n(i,l.length,m,b,d);A&&(l+=A+"; ")}}}i=u+1}for(;u<s;u++){var c=r[u];if(c==="/"&&r[u+1]==="*"){var p=r.indexOf("*/",u+2);if(p===-1)break;i=(u=p+1)+1,o=!1}else c==="("?o=!0:c===")"?o=!1:c===";"?o||f():c===`
|
|
`&&f()}return t.trim(l)}},function(g,a,e){var t=e(16).FilterCSS,r=e(28),n=e(31),s=n.parseTag,o=n.parseAttr,i=e(17);function u(f){return f==null}function l(f){(f=function(c){var p={};for(var d in c)p[d]=c[d];return p}(f||{})).stripIgnoreTag&&(f.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),f.onIgnoreTag=r.onIgnoreTagStripAll),f.whiteList=f.whiteList||r.whiteList,f.onTag=f.onTag||r.onTag,f.onTagAttr=f.onTagAttr||r.onTagAttr,f.onIgnoreTag=f.onIgnoreTag||r.onIgnoreTag,f.onIgnoreTagAttr=f.onIgnoreTagAttr||r.onIgnoreTagAttr,f.safeAttrValue=f.safeAttrValue||r.safeAttrValue,f.escapeHtml=f.escapeHtml||r.escapeHtml,this.options=f,f.css===!1?this.cssFilter=!1:(f.css=f.css||{},this.cssFilter=new t(f.css))}l.prototype.process=function(f){if(!(f=(f=f||"").toString()))return"";var c=this.options,p=c.whiteList,d=c.onTag,h=c.onIgnoreTag,m=c.onTagAttr,b=c.onIgnoreTagAttr,A=c.safeAttrValue,y=c.escapeHtml,w=this.cssFilter;c.stripBlankChar&&(f=r.stripBlankChar(f)),c.allowCommentTag||(f=r.stripCommentTag(f));var C=!1;c.stripIgnoreTagBody&&(C=r.StripTagBody(c.stripIgnoreTagBody,h),h=C.onIgnoreTag);var L=s(f,function(j,O,T,E,k){var D,_={sourcePosition:j,position:O,isClosing:k,isWhite:p.hasOwnProperty(T)};if(!u(D=d(T,E,_)))return D;if(_.isWhite){if(_.isClosing)return"</"+T+">";var S=function(M){var B=i.spaceIndex(M);if(B===-1)return{html:"",closing:M[M.length-2]==="/"};var N=(M=i.trim(M.slice(B+1,-1)))[M.length-1]==="/";return N&&(M=i.trim(M.slice(0,-1))),{html:M,closing:N}}(E),$=p[T],P=o(S.html,function(M,B){var N,V=i.indexOf($,M)!==-1;return u(N=m(T,M,B,V))?V?(B=A(T,M,B,w))?M+'="'+B+'"':M:u(N=b(T,M,B,V))?void 0:N:N});return E="<"+T,P&&(E+=" "+P),S.closing&&(E+=" /"),E+=">"}return u(D=h(T,E,_))?y(E):D},y);return C&&(L=C.remove(L)),L},g.exports=l},function(g,a,e){(function(t){var r=function(){if(typeof Map!="undefined")return Map;function E(k,D){var _=-1;return k.some(function(S,$){return S[0]===D&&(_=$,!0)}),_}return function(){function k(){this.__entries__=[]}return Object.defineProperty(k.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),k.prototype.get=function(D){var _=E(this.__entries__,D),S=this.__entries__[_];return S&&S[1]},k.prototype.set=function(D,_){var S=E(this.__entries__,D);~S?this.__entries__[S][1]=_:this.__entries__.push([D,_])},k.prototype.delete=function(D){var _=this.__entries__,S=E(_,D);~S&&_.splice(S,1)},k.prototype.has=function(D){return!!~E(this.__entries__,D)},k.prototype.clear=function(){this.__entries__.splice(0)},k.prototype.forEach=function(D,_){_===void 0&&(_=null);for(var S=0,$=this.__entries__;S<$.length;S++){var P=$[S];D.call(_,P[1],P[0])}},k}()}(),n=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,s=t!==void 0&&t.Math===Math?t:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")(),o=typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(s):function(E){return setTimeout(function(){return E(Date.now())},1e3/60)},i=["top","right","bottom","left","width","height","size","weight"],u=typeof MutationObserver!="undefined",l=function(){function E(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(k,D){var _=!1,S=!1,$=0;function P(){_&&(_=!1,k()),S&&B()}function M(){o(P)}function B(){var N=Date.now();if(_){if(N-$<2)return;S=!0}else _=!0,S=!1,setTimeout(M,D);$=N}return B}(this.refresh.bind(this),20)}return E.prototype.addObserver=function(k){~this.observers_.indexOf(k)||this.observers_.push(k),this.connected_||this.connect_()},E.prototype.removeObserver=function(k){var D=this.observers_,_=D.indexOf(k);~_&&D.splice(_,1),!D.length&&this.connected_&&this.disconnect_()},E.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},E.prototype.updateObservers_=function(){var k=this.observers_.filter(function(D){return D.gatherActive(),D.hasActive()});return k.forEach(function(D){return D.broadcastActive()}),k.length>0},E.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},E.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},E.prototype.onTransitionEnd_=function(k){var D=k.propertyName,_=D===void 0?"":D;i.some(function(S){return!!~_.indexOf(S)})&&this.refresh()},E.getInstance=function(){return this.instance_||(this.instance_=new E),this.instance_},E.instance_=null,E}(),f=function(E,k){for(var D=0,_=Object.keys(k);D<_.length;D++){var S=_[D];Object.defineProperty(E,S,{value:k[S],enumerable:!1,writable:!1,configurable:!0})}return E},c=function(E){return E&&E.ownerDocument&&E.ownerDocument.defaultView||s},p=y(0,0,0,0);function d(E){return parseFloat(E)||0}function h(E){for(var k=[],D=1;D<arguments.length;D++)k[D-1]=arguments[D];return k.reduce(function(_,S){return _+d(E["border-"+S+"-width"])},0)}function m(E){var k=E.clientWidth,D=E.clientHeight;if(!k&&!D)return p;var _=c(E).getComputedStyle(E),S=function(W){for(var G={},Z=0,X=["top","right","bottom","left"];Z<X.length;Z++){var K=X[Z],et=W["padding-"+K];G[K]=d(et)}return G}(_),$=S.left+S.right,P=S.top+S.bottom,M=d(_.width),B=d(_.height);if(_.boxSizing==="border-box"&&(Math.round(M+$)!==k&&(M-=h(_,"left","right")+$),Math.round(B+P)!==D&&(B-=h(_,"top","bottom")+P)),!function(W){return W===c(W).document.documentElement}(E)){var N=Math.round(M+$)-k,V=Math.round(B+P)-D;Math.abs(N)!==1&&(M-=N),Math.abs(V)!==1&&(B-=V)}return y(S.left,S.top,M,B)}var b=typeof SVGGraphicsElement!="undefined"?function(E){return E instanceof c(E).SVGGraphicsElement}:function(E){return E instanceof c(E).SVGElement&&typeof E.getBBox=="function"};function A(E){return n?b(E)?function(k){var D=k.getBBox();return y(0,0,D.width,D.height)}(E):m(E):p}function y(E,k,D,_){return{x:E,y:k,width:D,height:_}}var w=function(){function E(k){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=k}return E.prototype.isActive=function(){var k=A(this.target);return this.contentRect_=k,k.width!==this.broadcastWidth||k.height!==this.broadcastHeight},E.prototype.broadcastRect=function(){var k=this.contentRect_;return this.broadcastWidth=k.width,this.broadcastHeight=k.height,k},E}(),C=function(E,k){var D,_,S,$,P,M,B,N=(_=(D=k).x,S=D.y,$=D.width,P=D.height,M=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,B=Object.create(M.prototype),f(B,{x:_,y:S,width:$,height:P,top:S,right:_+$,bottom:P+S,left:_}),B);f(this,{target:E,contentRect:N})},L=function(){function E(k,D,_){if(this.activeObservations_=[],this.observations_=new r,typeof k!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=k,this.controller_=D,this.callbackCtx_=_}return E.prototype.observe=function(k){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element!="undefined"&&Element instanceof Object){if(!(k instanceof c(k).Element))throw new TypeError('parameter 1 is not of type "Element".');var D=this.observations_;D.has(k)||(D.set(k,new w(k)),this.controller_.addObserver(this),this.controller_.refresh())}},E.prototype.unobserve=function(k){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element!="undefined"&&Element instanceof Object){if(!(k instanceof c(k).Element))throw new TypeError('parameter 1 is not of type "Element".');var D=this.observations_;D.has(k)&&(D.delete(k),D.size||this.controller_.removeObserver(this))}},E.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},E.prototype.gatherActive=function(){var k=this;this.clearActive(),this.observations_.forEach(function(D){D.isActive()&&k.activeObservations_.push(D)})},E.prototype.broadcastActive=function(){if(this.hasActive()){var k=this.callbackCtx_,D=this.activeObservations_.map(function(_){return new C(_.target,_.broadcastRect())});this.callback_.call(k,D,k),this.clearActive()}},E.prototype.clearActive=function(){this.activeObservations_.splice(0)},E.prototype.hasActive=function(){return this.activeObservations_.length>0},E}(),j=typeof WeakMap!="undefined"?new WeakMap:new r,O=function E(k){if(!(this instanceof E))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var D=l.getInstance(),_=new L(k,D,this);j.set(this,_)};["observe","unobserve","disconnect"].forEach(function(E){O.prototype[E]=function(){var k;return(k=j.get(this))[E].apply(k,arguments)}});var T=s.ResizeObserver!==void 0?s.ResizeObserver:O;a.a=T}).call(this,e(90))},function(g,a,e){e.d(a,"a",function(){return Oe});var t=e(9),r=e(1),n={};function s(v,q,I){q?typeof I=="function"?v[q]=I:console.error("The command must be registered as a function: "+q):console.error("Command name is required")}Object(r.c)(n,e(41));var o=e(5),i={};function u(v,q,I){q?v[q]=Object(o.a)({},I):console.error("Toolbar name is required")}Object(r.c)(i,e(64)),e(85);var l=e(10),f=function(){var v=this,q=v.$createElement,I=v._self._c||q;return I("div",{staticClass:"v-md-editor",class:["v-md-editor--"+v.mode,{"v-md-editor--fullscreen":v.fullscreen,"v-md-editor--left-area-reverse":v.leftAreaReverse}],style:{height:v.heightGetter}},[I("div",{directives:[{name:"show",rawName:"v-show",value:!v.isPreviewMode,expression:"!isPreviewMode"}],staticClass:"v-md-editor__left-area",style:{width:v.leftAreaVisible?v.leftAreaWidth:0,borderWidth:v.leftAreaVisible?"1px":0}},[I("div",{staticClass:"v-md-editor__left-area-title",style:{height:v.toolbarHeight+"px",lineHeight:v.toolbarHeight+"px"}},[v._v(`
|
|
`+v._s(v.leftAreaTitle)+`
|
|
`)]),I("div",{staticClass:"v-md-editor__left-area-body"},[v._t("left-area")],2)]),I("div",{staticClass:"v-md-editor__right-area"},[I("div",{directives:[{name:"show",rawName:"v-show",value:!v.isPreviewMode,expression:"!isPreviewMode"}],ref:"toolbarWrapper",staticClass:"v-md-editor__toolbar"},[I("editor-toolbar",{staticClass:"v-md-editor__toolbar-left",attrs:{groups:v.leftToolbarGroup,toolbars:v.toolbars,"disabled-menus":v.disabledMenus},on:{"item-click":v.handleToolbarItemClick,"toolbar-menu-click":v.handleToolbarMenuClick}}),I("editor-toolbar",{staticClass:"v-md-editor__toolbar-right",attrs:{groups:v.rightToolbarGroup,toolbars:v.toolbars,"disabled-mens":v.disabledMenus},on:{"item-click":v.handleToolbarItemClick,"toolbar-menu-click":v.handleToolbarMenuClick}})],1),I("div",{staticClass:"v-md-editor__main"},[I("div",{directives:[{name:"show",rawName:"v-show",value:!v.isPreviewMode,expression:"!isPreviewMode"}],ref:"editorWrapper",staticClass:"v-md-editor__editor-wrapper",on:{click:v.handleEditorWrapperClick}},[v._t("editor")],2),I("div",{directives:[{name:"show",rawName:"v-show",value:!v.isEditMode,expression:"!isEditMode"}],ref:"previewWrapper",staticClass:"v-md-editor__preview-wrapper"},[v._t("preview")],2),v._t("default")],2)])])};f._withStripped=!0;var c=function(){var v=this,q=v.$createElement,I=v._self._c||q;return v.groups.length?I("ul",[v._l(v.groups,function(z,H){return[v._l(z,function(U){return I("toolbar-item",{key:U,attrs:{name:U,title:v.getConfig(U,"title"),icon:v.getConfig(U,"icon"),text:v.getConfig(U,"text"),active:v.getConfig(U,"active"),menus:v.getConfig(U,"menus"),"disabled-menus":v.disabledMenus},on:{click:function(Y){return v.$emit("item-click",v.toolbars[U])},"menu-click":function(Y){return v.$emit("toolbar-menu-click",arguments[0])}}})}),H!==v.groups.length-1?I("li",{staticClass:"v-md-editor__toolbar-divider"}):v._e()]})],2):v._e()};c._withStripped=!0;var p=function(){var v=this,q=v.$createElement,I=v._self._c||q;return I("li",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:v.hideMenu,expression:"hideMenu"}],staticClass:"v-md-editor__toolbar-item",class:[v.icon,"v-md-editor__toolbar-item-"+v.name,{"v-md-editor__toolbar-item--active":v.active||v.menuActive},{"v-md-editor__toolbar-item--menu":v.hasMenu}],on:{mousedown:function(z){z.preventDefault()},mouseleave:v.handleHideTooltip,mousemove:v.showTooltip,click:function(z){return z.stopPropagation(),v.handleClick(z)}}},[v._v(`
|
|
`+v._s(v.text)+`
|
|
`),I("v-md-tooltip",{ref:"tooltip",attrs:{text:v.title}}),v.hasMenu?I("v-md-menu",{ref:"menu",attrs:{mode:v.menuMode,menus:v.menuItems,"item-width":v.menus.itemWidth,"row-num":v.menus.rowNum,visible:v.menuActive},on:{"update:visible":function(z){v.menuActive=z},"item-click":function(z){return v.$emit("menu-click",arguments[0])}}}):v._e(),v.hasMenu?I("i",{ref:"menuCtrl",staticClass:"v-md-icon-arrow-down v-md-editor__menu-ctrl"}):v._e()],1)};p._withStripped=!0;var d=function(){var v=this.$createElement,q=this._self._c||v;return q("transition",{attrs:{name:"v-md-fade-in"}},[q("div",{directives:[{name:"show",rawName:"v-show",value:this.visible,expression:"visible"}],staticClass:"v-md-editor__tooltip",style:{left:this.position.x+"px",top:this.position.y+"px"}},[this._v(`
|
|
`+this._s(this.text)+`
|
|
`)])])};d._withStripped=!0;var h={name:"v-md-tooltip",props:{text:String},data:function(){return{position:{x:0,y:0},visible:!1}},methods:{show:function(v){this.position={x:v.x,y:v.y},this.visible=!0,this.$nextTick(this.calculateLayout)},hide:function(){this.visible=!1},calculateLayout:function(){var v=this.$el.getBoundingClientRect().right,q=document.documentElement.clientWidth;q-v<0&&(this.position.x-=v-q)}}},m=(e(86),e(2)),b=Object(m.a)(h,d,[],!1,null,null,null);b.options.__file="src/components/toolbar-item/tooltip.vue";var A=b.exports,y=function(){var v=this,q=v.$createElement,I=v._self._c||q;return I("transition",{attrs:{name:"v-md-zoom-in-top"}},[I("ul",{directives:[{name:"show",rawName:"v-show",value:v.visible,expression:"visible"}],staticClass:"v-md-editor__menu",class:["v-md-editor__menu--"+v.mode],style:v.style,on:{mousemove:function(z){z.stopPropagation()},click:function(z){z.stopPropagation()}}},[v.isListMode?v._l(v.menus,function(z){return I("li",{key:z.name,staticClass:"v-md-editor__menu-item",class:["v-md-editor__menu-item-"+z.name,z.class],on:{click:function(H){return H.stopPropagation(),v.handleClick(z)}}},[z.render?I("v-md-render",{attrs:{render:z.render,editor:v.$self}}):[v._v(v._s(v.getText(z.text)))]],2)}):[I("li",v._l(v.rowCount,function(z){return I("div",{staticClass:"v-md-editor__menu-row"},v._l(v.getRowMenus(z),function(H){return I("span",{key:H.name,staticClass:"v-md-editor__menu-item",class:["v-md-editor__menu-item-"+H.name,H.class],style:{width:v.itemWidth},on:{click:function(U){return U.stopPropagation(),v.handleClick(H)}}},[v._v(v._s(H.text))])}),0)}),0)]],2)])};y._withStripped=!0;var w,C={name:"v-md-render",functional:!0,props:{render:Function},render:function(v,q){var I=q.data,z=q.props;return z.render.apply(z,[v].concat(I.$attrs))}},L="list",j="panel",O={name:"v-md-menu",components:(w={},w[C.name]=C,w),inject:["markdownEditor"],props:{mode:{type:String,default:j},menus:Array,itemWidth:{type:String,default:"30px"},rowNum:{type:Number,default:10},visible:Boolean},data:function(){return{style:{left:0}}},computed:{rowCount:function(){return Math.ceil(this.menus.length/this.rowNum)},isListMode:function(){return this.mode===L}},watch:{visible:function(){this.visible&&this.$nextTick(this.calculateLayout)}},methods:{calculateLayout:function(){var v=this.$el.getBoundingClientRect().right;document.documentElement.clientWidth-v<0&&(this.style={right:0})},getRowMenus:function(v){var q=v*this.rowNum,I=q-this.rowNum;return this.menus.slice(I,q)},getText:function(v){return typeof v=="function"?v(this.markdownEditor):v},hide:function(){this.$emit("update:visible",!1)},handleClick:function(v){this.$emit("item-click",v),this.hide()}}},T=(e(87),Object(m.a)(O,y,[],!1,null,null,null));T.options.__file="src/components/toolbar-item/menu.vue";var E,k=T.exports,D=[],_="@@clickoutsideContext",S=typeof window=="undefined",$=0;function P(v,q,I){return function(z,H){z===void 0&&(z={}),H===void 0&&(H={}),I&&I.context&&z.target&&H.target&&!v.contains(z.target)&&!v.contains(H.target)&&v!==z.target&&(q.expression&&v[_].methodName&&I.context[v[_].methodName]?I.context[v[_].methodName]():v[_].bindingFn&&v[_].bindingFn())}}S||(document.addEventListener("mousedown",function(v){E=v}),document.addEventListener("mouseup",function(v){D.forEach(function(q){return q[_].documentHandler(v,E)})}));var M,B={name:"toolbar-item",directives:{Clickoutside:{bind:function(v,q,I){D.push(v);var z=$++;v[_]={id:z,documentHandler:P(v,q,I),methodName:q.expression,bindingFn:q.value}},update:function(v,q,I){v[_].documentHandler=P(v,q,I),v[_].methodName=q.expression,v[_].bindingFn=q.value},unbind:function(v){for(var q=D.length,I=0;I<q;I++)if(D[I][_].id===v[_].id){D.splice(I,1);break}delete v[_]}}},components:(M={},M[A.name]=A,M[k.name]=k,M),props:{name:String,title:String,active:Boolean,text:String,icon:String,menus:[Array,Object],disabledMenus:Array},data:function(){return{menuActive:!1}},computed:{hasMenu:function(){var v;return(v=this.menuItems)==null?void 0:v.length},menuItems:function(){var v=this,q=Object(r.e)(this.menus)?this.menus.items:this.menus;return q==null?void 0:q.filter(function(I){var z,H=I.name;return!((z=v.disabledMenus)!=null&&z.includes(v.name+"/"+H))})},menuMode:function(){return Object(r.e)(this.menus)?this.menus.mode:L}},methods:{hideMenu:function(){this.hasMenu&&(this.menuActive=!1)},showMenu:function(){this.hasMenu&&(this.menuActive=!0)},handleClick:function(v){this.$emit("click"),this.menuActive?this.hideMenu():this.showMenu(),this.hasMenu?this.handleHideTooltip():this.showTooltip(v)},showTooltip:function(v){var q=this,I=this.$el,z=v.target,H=this.$refs.menuCtrl;if(z!==I&&z!==H||this.menuActive)this.handleHideTooltip();else{this.timmer&&clearTimeout(this.timmer);var U=I.getBoundingClientRect(),Y=v.clientX-U.left,J=v.clientY-U.top;this.timmer=setTimeout(function(){var nt;(nt=q.$refs.tooltip)==null||nt.show({x:Y-2,y:J+20})},100)}},handleHideTooltip:function(){this.timmer&&clearTimeout(this.timmer),this.$refs.tooltip.hide()}}},N=(e(88),Object(m.a)(B,p,[],!1,null,null,null));N.options.__file="src/components/toolbar-item/index.vue";var V,W=N.exports,G={name:"editor-toolbar",inject:["markdownEditor"],components:(V={},V[W.name]=W,V),props:{groups:Array,toolbars:Object,disabledMenus:Array},methods:{getConfig:function(v,q){var I=this.toolbars[v][q];return typeof I=="function"?I(this.markdownEditor):I}}},Z=(e(89),Object(m.a)(G,c,[],!1,null,null,null));Z.options.__file="src/components/toolbar.vue";var X,K=Z.exports,et=e(36),it=typeof window=="undefined",rt=function(v){v.forEach(function(q){var I=q.target.__resizeListeners__||[];I.length&&I.forEach(function(z){z()})})},ot=function(v,q){it||(v.__resizeListeners__||(v.__resizeListeners__=[],v.__ro__=new et.a(rt),v.__ro__.observe(v)),v.__resizeListeners__.push(q))},vt=function(v,q){v&&v.__resizeListeners__&&(v.__resizeListeners__.splice(v.__resizeListeners__.indexOf(q),1),v.__resizeListeners__.length||v.__ro__.disconnect())},lt=e(4),ie={name:"v-md-container",components:(X={},X[K.name]=K,X),props:{leftToolbar:String,rightToolbar:String,toolbars:Object,fullscreen:Boolean,height:String,noresize:Boolean,disabledMenus:Array,leftAreaVisible:Boolean,leftAreaTitle:String,leftAreaWidth:{type:String,default:"200px"},leftAreaReverse:Boolean,mode:{type:String,default:lt.a.EDITABLE}},data:function(){return{toolbarHeight:41}},computed:{heightGetter:function(){return this.fullscreen?"auto":this.height},leftToolbarGroup:function(){return this.getToolbarConfig(this.leftToolbar)},rightToolbarGroup:function(){return this.getToolbarConfig(this.rightToolbar)},isPreviewMode:function(){return this.mode===lt.a.PREVIEW},isEditMode:function(){return this.mode===lt.a.EDIT}},mounted:function(){this.noresize||(ot(this.$refs.editorWrapper,this.handleResize),ot(this.$refs.toolbarWrapper,this.handleToolbarWrapperResize))},beforeDestroy:function(){this.noresize||(vt(this.$refs.editorWrapper,this.handleResize),vt(this.$refs.toolbarWrapper,this.handleToolbarWrapperResize))},methods:{handleResize:function(){this.$emit("resize")},handleToolbarWrapperResize:function(){var v=this.$refs.toolbarWrapper;v&&(this.toolbarHeight=v.offsetHeight)},getToolbarConfig:function(v){var q=this;return v.split("|").map(function(I){return I.split(" ").filter(function(z){return z&&q.toolbars[z]})})},handleEditorWrapperClick:function(v){this.$emit("editor-wrapper-click",v)},handleToolbarItemClick:function(v){this.$emit("toolbar-item-click",v)},handleToolbarMenuClick:function(v){this.$emit("toolbar-menu-click",v)}}},jt=(e(91),Object(m.a)(ie,f,[],!1,null,null,null));jt.options.__file="src/components/container.vue";var bt,qt=jt.exports,oe=typeof window=="undefined",ae={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function se(v){var q=v.move,I=v.size,z=v.bar,H={},U="translate"+z.axis+"("+q+"%)";return H[z.size]=I,H.transform=U,H.msTransform=U,H.webkitTransform=U,H}var _t={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return ae[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(){var v=arguments[0],q=this.size,I=this.move,z=this.bar;return v("div",{class:["scrollbar__bar","is-"+z.key],on:{mousedown:this.clickTrackHandler,click:function(H){return H.stopPropagation()}}},[v("div",{ref:"thumb",class:"scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:se({size:q,move:I,bar:z})})])},methods:{clickThumbHandler:function(v){v.ctrlKey||v.button===2||(this.startDrag(v),this[this.bar.axis]=v.currentTarget[this.bar.offset]-(v[this.bar.client]-v.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(v){var q=100*(Math.abs(v.target.getBoundingClientRect()[this.bar.direction]-v[this.bar.client])-this.$refs.thumb[this.bar.offset]/2)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=q*this.wrap[this.bar.scrollSize]/100},startDrag:function(v){v.stopImmediatePropagation(),this.cursorDown=!0,document.addEventListener("mousemove",this.mouseMoveDocumentHandler,!1),document.addEventListener("mouseup",this.mouseUpDocumentHandler,!1),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(v){if(this.cursorDown!==!1){var q=this[this.bar.axis];if(q){var I=100*(-1*(this.$el.getBoundingClientRect()[this.bar.direction]-v[this.bar.client])-(this.$refs.thumb[this.bar.offset]-q))/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=I*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(){this.cursorDown=!1,this[this.bar.axis]=0,document.removeEventListener("mousemove",this.mouseMoveDocumentHandler,!1),document.onselectstart=null}},destroyed:function(){document.removeEventListener("mouseup",this.mouseUpDocumentHandler,!1)}},le=e(8),ce={name:"scrollbar",components:{Bar:_t},props:{native:Boolean,disabled:Boolean,wrapStyle:null,wrapClass:null,viewClass:null,viewStyle:null,noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},mounted:function(){this.native||this.disabled||(this.$nextTick(this.update),!this.noresize&&ot(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||this.disabled||!this.noresize&&vt(this.$refs.resize,this.update)},methods:{getScrollInfo:function(){var v=this.wrap;return{left:v.scrollLeft,top:v.scrollTop,width:v.scrollWidth,height:v.scrollHeight,clientWidth:v.clientWidth,clientHeight:v.clientHeight}},scrollTo:function(v){Object(le.a)({scrollTarget:this.wrap,scrollToTop:v})},handleScroll:function(){var v=this.wrap;this.moveY=100*v.scrollTop/v.clientHeight,this.moveX=100*v.scrollLeft/v.clientWidth,this.$emit("scroll")},update:function(){var v=this.wrap;if(v){var q=100*v.clientHeight/v.scrollHeight,I=100*v.clientWidth/v.scrollWidth;this.sizeHeight=q<100?q+"%":"",this.sizeWidth=I<100?I+"%":""}}},render:function(v){if(this.disabled)return this.$slots.default;var q=function(){if(oe)return 0;if(bt!==void 0)return bt;var Q=document.createElement("div");Q.className="scrollbar__wrap",Q.style.visibility="hidden",Q.style.width="100px",Q.style.position="absolute",Q.style.top="-9999px",document.body.appendChild(Q);var gt=Q.offsetWidth;Q.style.overflow="scroll";var dt=document.createElement("div");dt.style.width="100%",Q.appendChild(dt);var mt=dt.offsetWidth;return Q.parentNode.removeChild(Q),bt=gt-mt}(),I=this.wrapStyle;if(q){var z=this.$refs.resize,H=this.$refs.wrap,U=z==null?void 0:z.scrollHeight,Y=z==null?void 0:z.scrollWidth,J=H==null?void 0:H.clientHeight,nt="-"+q+"px",ct="margin-bottom: "+(Y>(H==null?void 0:H.clientWidth)?nt:0)+"; margin-right: "+(U>J?nt:0)+";";Array.isArray(this.wrapStyle)?((I=Object(r.a)(this.wrapStyle)).marginRight=nt,I.marginBottom=nt):typeof this.wrapStyle=="string"?I+=ct:I=ct}var tt,at=v(this.tag,{class:["scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),pt=v("div",{ref:"wrap",style:I,on:{scroll:this.handleScroll},class:[this.wrapClass,"scrollbar__wrap",q?"":"scrollbar__wrap--hidden-default"]},[[at]]);return tt=this.native?[v("div",{ref:"wrap",class:[this.wrapClass,"scrollbar__wrap"],style:I},[[at]])]:[pt,v(_t,{attrs:{move:this.moveX,size:this.sizeWidth}}),v(_t,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],v("div",{class:"scrollbar"},tt)}},Mt=(e(92),Object(m.a)(ce,void 0,void 0,!1,null,null,null));Mt.options.__file="src/components/scrollbar/index.vue";var Ft=Mt.exports,zt=function(){var v=this,q=v.$createElement,I=v._self._c||q;return I("ul",{staticClass:"v-md-editor__toc-nav"},v._l(v.titles,function(z){return I("li",{staticClass:"v-md-editor__toc-nav-item",style:{paddingLeft:v.indent*z.indent+"px"},on:{click:function(H){return v.$emit("nav-click",z)}}},[I("span",{staticClass:"v-md-editor__toc-nav-title"},[v._v(v._s(z.title))])])}),0)};zt._withStripped=!0;var ue={name:"toc-nav",props:{titles:Array,indent:{type:Number,default:16}}},$t=(e(93),Object(m.a)(ue,zt,[],!1,null,null,null));$t.options.__file="src/components/toc-nav.vue";var ft,Rt=$t.exports,fe={inheritAttrs:!1,components:(ft={},ft[l.default.name]=l.default,ft[qt.name]=qt,ft[Ft.name]=Ft,ft[Rt.name]=Rt,ft),provide:function(){return{markdownEditor:this}},props:{height:String,theme:Object,themeConfig:Object,mode:{type:String,default:lt.a.EDITABLE},autofocus:Boolean,placeholder:String,tabSize:{type:Number,default:2},tocNavPositionRight:Boolean},data:function(){return{currentMode:this.mode,uploadConfig:{}}},watch:{mode:function(){this.currentMode=this.mode},currentMode:function(){this.currentMode===lt.a.EDITABLE&&this.enableSyncScroll&&this.$nextTick(this.previewSyncScroll)}},created:function(){this.theme&&this.$options.use(this.theme,this.themeConfig)},computed:{isPreviewMode:function(){return this.currentMode===lt.a.PREVIEW},isEditMode:function(){return this.currentMode===lt.a.EDIT}},mounted:function(){this.autofocus&&this.$nextTick(this.setFocusEnd)},methods:{setFocusEnd:function(){this.editorFocusEnd(),this.editorScrollToTop(9999),this.previewScrollTo(9999)},handleChange:function(v,q){this.$emit("change",v,q)},handlePreviewImageClick:function(v,q){this.$emit("image-click",v,q)},save:function(){this.$emit("save",this.text,this.$refs.preview.html)},insert:function(v){var q=this;this.focus();var I=v(this.getCurrentSelectedStr()),z=I.selected,H=I.text;this.replaceSelectionText(H),this.$nextTick(function(){q.changeSelctionTo(H,z)})}}},de={props:{value:{type:String,default:""}},data:function(){return{text:this.value}},methods:{handleInput:function(v){this.text=v,this.$emit("input",v)}}},he={props:{defaultFullscreen:Boolean},data:function(){return{fullscreen:!1}},watch:{fullscreen:function(){this.$emit("fullscreen-change",this.fullscreen)}},mounted:function(){window.addEventListener("keyup",this.handleWindowKeyup,!1),this.defaultFullscreen&&this.toggleFullScreen()},beforeDestroy:function(){window.removeEventListener("keyup",this.handleWindowKeyup,!1)},methods:{handleWindowKeyup:function(v){v.keyCode===27&&this.fullscreen&&this.toggleFullScreen(!1)},toggleFullScreen:function(v){v===void 0&&(v=!this.fullscreen),this.fullscreen=v;var q=document.querySelectorAll("html, body"),I=q[0],z=q[1],H=this.fullscreen?"hidden":null;z.style.overflow=H,I.style.overflow=H}}},Pt=function(){var v=this.$createElement;return(this._self._c||v)("input",{key:this.key,ref:"fileInput",staticStyle:{display:"none"},attrs:{type:"file",accept:this.uploadConfig.accept,multiple:this.uploadConfig.multiple},on:{input:this.handleUpload}})};Pt._withStripped=!0;var pe=e(13),Bt=e.n(pe),me=e(27),ge={name:"v-md-upload-file",props:{uploadConfig:Object},data:function(){return{handleUpload:function(){},key:0}},methods:{upload:function(){var v=this;return Object(me.a)(Bt.a.mark(function q(){var I;return Bt.a.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return z.next=2,v.chooseFile();case 2:return I=z.sent,z.abrupt("return",I);case 4:case"end":return z.stop()}},q)}))()},chooseFile:function(){var v=this;return new Promise(function(q){v.handleUpload=function(I){q(I),v.key++},v.$refs.fileInput.click()})}}},Nt=Object(m.a)(ge,Pt,[],!1,null,null,null);Nt.options.__file="src/components/upload-file.vue";var yt,Ht=Nt.exports,ve=e(32),kt=e(14),be=e(0),_e={accept:"image/*",multiple:!1},ye={components:(yt={},yt[Ht.name]=Ht,yt),props:{uploadImageConfig:Object},computed:{uploadImgConfig:function(){return Object(o.a)({},_e,this.uploadImageConfig)},hasUploadImage:function(){return!this.disabledMenus.includes(ve.default.name+"/upload-image")}},methods:{handleDrop:function(v){var q=Object(kt.a)(v.dataTransfer.files,this.uploadImgConfig);this.emitUploadImage(v,q)},handlePaste:function(v){var q=v.clipboardData;if(q){var I=Object(kt.a)(Object(kt.b)(q),this.uploadImgConfig);this.emitUploadImage(v,I)}},emitUploadImage:function(v,q){var I=this;this.hasUploadImage&&q.length&&(v.preventDefault(),this.$emit("upload-image",v,function(z){I.execCommand(be.l,z)},q))}}},ht=e(3),ke={data:function(){return{enableSyncScroll:!0}},methods:{toggleSyncScroll:function(v){v===void 0&&(v=!this.enableSyncScroll),this.enableSyncScroll=v,v&&this.previewSyncScroll()},previewSyncScroll:function(){if(!this.isEditMode){var v=this.$refs.preview.$el,q=this.$refs.previewScroller.$el,I=v.querySelectorAll("["+ht.c+"]"),z=this.getScrollInfo(),H=z.clientHeight,U=z.top,Y=z.height,J=q.querySelector(".scrollbar__wrap");if(H+U===Y){var nt=J.clientHeight,ct=J.scrollHeight;this.previewScrollTo(ct-nt)}else{for(var tt,at,pt=0;pt<I.length;pt++){var Q=I[pt].getAttribute(ht.c);if(!(this.heightAtLine(Q-1,"local")<U)){at=Q;break}tt=Q}var gt=0;if(tt&&at&&tt!==at){var dt=this.heightAtLine(tt-1,"local");gt=(U-dt)/(this.heightAtLine(at-1,"local")-dt)}var mt=0,Gt=J.scrollHeight-J.clientHeight;tt&&(mt=v.querySelector("["+ht.c+'="'+tt+'"]').offsetTop),at&&(Gt=v.querySelector("["+ht.c+'="'+at+'"]').offsetTop);var je=mt+(Gt-mt)*gt;this.previewScrollTo(je)}}},handleEditorScroll:function(){this.enableSyncScroll&&!this.ignoreSyncScroll&&(clearTimeout(this.scrollTimmer),this.scrollTimmer=setTimeout(this.previewSyncScroll,60))}}},we=function(v){return{created:function(){var q=this,I=v.commands;this.commands={},Object.keys(I).forEach(function(z){q.registerCommand(z,I[z])})},methods:{registerCommand:function(q,I){s(this.commands,q,I)},execCommand:function(q){var I=this.commands[q];if(I){for(var z=arguments.length,H=new Array(z>1?z-1:0),U=1;U<z;U++)H[U-1]=arguments[U];I.apply(void 0,[this].concat(H))}else console.error("Command not found: "+q)}}}},xe={data:function(){return{tocVisible:!1,titles:[]}},props:{includeLevel:{type:Array,default:function(){return[2,3]}}},watch:{text:{immediate:!0,handler:function(v,q){q!==void 0?(this.updateTocNavTimmer&&clearTimeout(this.updateTocNavTimmer),this.updateTocNavTimmer=setTimeout(this.updateTocNav,800)):this.$nextTick(this.updateTocNav)}}},computed:{anchorsSelector:function(){return this.includeLevel.map(function(v){return"h"+v}).join(",")}},methods:{toggleToc:function(v){v===void 0&&(v=!this.tocVisible),this.tocVisible=v},updateTocNav:function(){var v,q=(v=this.$refs.preview)==null?void 0:v.$el;if(q){var I=q.querySelectorAll(this.anchorsSelector),z=Array.from(I).filter(function(U){return!!U.innerText.trim()});if(z.length){var H=Array.from(new Set(z.map(function(U){return U.tagName}))).sort();this.titles=z.map(function(U){return{title:U.innerText,lineIndex:U.getAttribute(ht.c),indent:H.indexOf(U.tagName)}})}else this.titles=[]}},handleNavClick:function(v){var q=v.lineIndex;this.scrollToLine(q)}}},Ce={props:{previewScrollContainer:Function},computed:{getPreviewScrollContainer:function(){var v=this;return function(){var q=v.$refs.previewScroller.$el.querySelector(".scrollbar__wrap"),I=v.isPreviewMode?window:q;return v.previewScrollContainer?v.previewScrollContainer():I}}},methods:{previewScrollTo:function(v){this.$refs.previewScroller.scrollTo(v)},scrollToLine:function(v){var q=this;this.isPreviewMode||this.editorScrollToLine(v),this.isEditMode||(this.ignoreSyncScroll=!0,this.previewScrollToLine({lineIndex:v,onScrollEnd:function(){q.ignoreSyncScroll=!1}}))},editorScrollToLine:function(v){var q=this.heightAtLine(v-1,"local");this.editorScrollToTop(q)},previewScrollToTarget:function(){var v;(v=this.$refs.preview).scrollToTarget.apply(v,arguments)},previewScrollToLine:function(v){var q=v.lineIndex,I=v.onScrollEnd;this.$refs.preview.scrollToLine({lineIndex:q,onScrollEnd:I})}}},wt={};Object(r.c)(wt,e(94));var Ae=function(v){return{mounted:function(){var q=this;if(!this.isPreviewMode){var I=v.hotkeys;Object.keys(wt).forEach(function(z){q.registerHotkeys(wt[z].default)}),I.forEach(function(z){q.registerHotkeys(z)})}},methods:{registerHotkeys:function(q){var I=this,z=q.modifier,H=q.key,U=q.action,Y=q.preventDefault,J=Y===void 0||Y;this.editorRegisterHotkeys({modifier:z,key:H,preventDefault:J,action:function(){for(var nt=arguments.length,ct=new Array(nt),tt=0;tt<nt;tt++)ct[tt]=arguments[tt];return U.apply(void 0,[I].concat(ct))}})}}}},Ee=/^\s*([\d]+\.)( \[[ xX]])? /,Se=/^\s*([-*])( \[[ xX]])? /,Te=/([*-] |[\d]+\. )/,De=/([\d])+\.( \[[ xX]])? /,Le={mounted:function(){var v=this;this.isPreviewMode||this.registerHotkeys({key:"enter",preventDefault:!1,action:function(q,I){if(!I.isComposing){var z,H,U=v.getCursorLineLeftText();if(Ee.test(U))z="x. ",H=De,I.preventDefault();else{if(!Se.test(U))return;z="- ",H=Te,I.preventDefault()}var Y=U.search(H)+z.length,J=U.slice(0,Y);U.slice(Y,U.length)?(z==="x. "&&(J=J.replace(/(\d+)/,window.parseInt(J)+1)),v.replaceSelectionText(`
|
|
`+J,"end")):(v.delLineLeft(),v.replaceSelectionText(`
|
|
`,"end"))}}})}},Ie=e(15);function Oe(v){var q;(function(I){I.commands={},I.command=function(z,H){s(I.commands,z,H)},Object.keys(n).forEach(function(z){var H=n[z],U=H.name,Y=H.default;I.command(U,Y)})})(v),function(I){I.toolbars={},I.toolbar=function(z,H){u(I.toolbars,z,H)},Object.keys(i).forEach(function(z){var H=i[z].default;I.toolbar(H.name,H)})}(v),v.name="v-md-editor",v.theme=function(I){v.themeConfig=I,l.default.theme(I)},v.extendMarkdown=l.default.extendMarkdown,v.hotkeys=[],v.hotkey=function(I){v.hotkeys.push(I)},v.mixins=[fe,de,(q=v,{props:{leftToolbar:{type:String,default:"undo redo clear | h bold italic strikethrough quote | ul ol table hr | link image code | save"},rightToolbar:{type:String,default:"preview toc sync-scroll fullscreen"},toolbar:{type:Object,default:function(){return{}}},disabledMenus:{type:Array,default:function(){return["image/upload-image"]}},toolbarConfig:{type:Object,default:function(){return{}}}},created:function(){var I=this,z=q.toolbars;this.toolbars={},Object.keys(z).forEach(function(H){I.registerToolbar(H,z[H])}),Object.keys(this.toolbar).forEach(function(H){I.registerToolbar(H,I.toolbar[H])})},methods:{registerToolbar:function(I,z){u(this.toolbars,I,z)},handleToolbarItemClick:function(I){var z;!I.action||(z=I.menus)!=null&&z.length||typeof I.action!="function"||I.action.call(I,this,this.toolbarConfig[I.name])},handleToolbarMenuClick:function(I){I.action&&typeof I.action=="function"&&I.action.call(I,this,this.toolbarConfig[I.name])}}}),we(v),Ae(v),he,ye,ke,xe,Ce,Le,Ie.a]}t.a.add({"zh-CN":{undo:{toolbar:"\u64A4\u9500"},redo:{toolbar:"\u91CD\u505A"},clear:{toolbar:"\u6E05\u7A7A"},h:{toolbar:"\u6807\u9898"},h1:{toolbar:"\u4E00\u7EA7\u6807\u9898",placeholder:"\u4E00\u7EA7\u6807\u9898"},h2:{toolbar:"\u4E8C\u7EA7\u6807\u9898",placeholder:"\u4E8C\u7EA7\u6807\u9898"},h3:{toolbar:"\u4E09\u7EA7\u6807\u9898",placeholder:"\u4E09\u7EA7\u6807\u9898"},h4:{toolbar:"\u56DB\u7EA7\u6807\u9898",placeholder:"\u56DB\u7EA7\u6807\u9898"},h5:{toolbar:"\u4E94\u7EA7\u6807\u9898",placeholder:"\u4E94\u7EA7\u6807\u9898"},h6:{toolbar:"\u516D\u7EA7\u6807\u9898",placeholder:"\u516D\u7EA7\u6807\u9898"},bold:{toolbar:"\u7C97\u4F53",placeholder:"\u7C97\u4F53"},italic:{toolbar:"\u659C\u4F53",placeholder:"\u659C\u4F53"},strikethrough:{toolbar:"\u5220\u9664\u7EBF",placeholder:"\u5220\u9664\u7EBF"},quote:{toolbar:"\u63D2\u5165\u5F15\u7528",placeholder:"\u5F15\u7528"},ul:{toolbar:"\u65E0\u5E8F\u5217\u8868",placeholder:"\u65E0\u5E8F\u5217\u8868"},ol:{toolbar:"\u6709\u5E8F\u5217\u8868",placeholder:"\u6709\u5E8F\u5217\u8868"},table:{toolbar:"\u8868\u683C"},hr:{toolbar:"\u63D2\u5165\u5206\u5272\u7EBF"},link:{toolbar:"\u63D2\u5165\u94FE\u63A5",descPlaceholder:"\u94FE\u63A5"},image:{toolbar:"\u63D2\u5165\u56FE\u7247"},imageLink:{toolbar:"\u6DFB\u52A0\u56FE\u7247\u94FE\u63A5"},uploadImage:{toolbar:"\u4E0A\u4F20\u672C\u5730\u56FE\u7247"},code:{toolbar:"\u63D2\u5165\u4EE3\u7801\u5757"},save:{toolbar:"\u4FDD\u5B58"},preview:{enabled:"\u5F00\u542F\u9884\u89C8",disabled:"\u5173\u95ED\u9884\u89C8"},toc:{title:"\u76EE\u5F55\u5BFC\u822A",enabled:"\u5F00\u542F\u76EE\u5F55\u5BFC\u822A",disabled:"\u5173\u95ED\u76EE\u5F55\u5BFC\u822A"},syncScroll:{enabled:"\u5F00\u542F\u540C\u6B65\u6EDA\u52A8",disabled:"\u5173\u95ED\u540C\u6B65\u6EDA\u52A8"},fullscreen:{enabled:"\u5168\u5C4F\uFF08\u6309ESC\u8FD8\u539F\uFF09",disabled:"\u9000\u51FA\u5168\u5C4F"}}})},function(g,a,e){var t={48:0,49:1,50:2,51:3,52:4,53:5,54:6,55:7,56:8,57:9,65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12"},r={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},n=function(){function s(){this.hotkeys={ctrl:{},shift:{},ctrlAlt:{},ctrlShift:{},keys:{}}}var o=s.prototype;return o.dispatch=function(i){var u,l=this.getKeyName(i).toLowerCase();if(l&&(this.isKeyEnterExact(i)?u=this.hotkeys.keys[l]:this.isCtrlEnterExact(i)?u=this.hotkeys.ctrl[l]:this.isShiftEnterExact(i)?u=this.hotkeys.shift[l]:this.isCtrlAltEnterExact(i)?u=this.hotkeys.ctrlAlt[l]:this.isCtrlShiftEnterExact(i)&&(u=this.hotkeys.ctrlShift[l]),u)){var f=u,c=f.action;f.preventDefault&&i.preventDefault(),c(i)}},o.isKeyEnterExact=function(i){return!this.isCtrlEnter(i)&&!this.isShiftEnter(i)&&!this.isAltEnter(i)},o.isCtrlShiftEnterExact=function(i){return this.isCtrlEnter(i)&&this.isShiftEnter(i)&&!this.isAltEnter(i)},o.isCtrlAltEnterExact=function(i){return this.isCtrlEnter(i)&&this.isAltEnter(i)&&!this.isShiftEnter(i)},o.isCtrlEnterExact=function(i){return this.isCtrlEnter(i)&&!this.isShiftEnter(i)&&!this.isAltEnter(i)},o.isShiftEnterExact=function(i){return this.isShiftEnter(i)&&!this.isCtrlEnter(i)&&!this.isAltEnter(i)},o.isCtrlEnter=function(i){return i.ctrlKey||i.metaKey},o.isShiftEnter=function(i){return i.shiftKey},o.isAltEnter=function(i){return i.altKey},o.registerHotkeys=function(i){var u=i.modifier,l=i.key,f=i.preventDefault,c=f===void 0||f,p=i.action;u?this.hotkeys[u][l]={preventDefault:c,action:p}:this.hotkeys.keys[l]={preventDefault:c,action:p}},o.getKeyName=function(i){var u=i.key,l=i.keyCode;return u!==void 0?Object.keys(r).find(function(f){var c=r[f];return typeof c=="string"?c===u:c.indexOf(u)!==-1})||u:t[l]},s}();a.a=n},,function(g,a,e){},function(g,a,e){var t={"./bold.js":42,"./clear.js":43,"./code.js":44,"./fullscreen.js":45,"./h1.js":46,"./h2.js":47,"./h3.js":48,"./h4.js":49,"./h5.js":50,"./h6.js":51,"./hr.js":52,"./image.js":53,"./italic.js":54,"./link.js":55,"./ol.js":56,"./quote.js":57,"./redo.js":58,"./strikethrough.js":59,"./sync-scroll.js":60,"./table.js":61,"./ul.js":62,"./undo.js":63};function r(s){var o=n(s);return e(o)}function n(s){if(!e.o(t,s)){var o=new Error("Cannot find module '"+s+"'");throw o.code="MODULE_NOT_FOUND",o}return t[s]}r.keys=function(){return Object.keys(t)},r.resolve=n,g.exports=r,r.id=41},function(g,a,e){e.r(a);var t=e(1),r=e(0);e.d(a,"name",function(){return r.a}),a.default=function(n){n.insert(function(s){var o=n.langConfig.bold.placeholder,i=function(l){return l||o},u=Object(t.b)({selected:s,InsertGetter:function(l){return"**"+i(l)+"**"},selectedGetter:i});return{text:u.insertContent,selected:u.newSelected}})}},function(g,a,e){e.r(a);var t=e(0);e.d(a,"name",function(){return t.b}),a.default=function(r){r.clear()}},function(g,a,e){e.r(a);var t=e(0);e.d(a,"name",function(){return t.c}),a.default=function(r){r.insert(function(n){var s="``` language\n```";return n&&(s="``` language\n "+n+"\n```"),{text:s,selected:"language"}})}},function(g,a,e){e.r(a);var t=e(0);e.d(a,"name",function(){return t.d}),a.default=function(r,n){r.toggleFullScreen(n)}},function(g,a,e){e.r(a);var t=e(1),r=e(0);e.d(a,"name",function(){return r.e}),a.default=function(n){n.insert(function(s){var o=n.langConfig.h1.placeholder,i=function(l){return l||o},u=Object(t.b)({selected:s,InsertGetter:function(l){return"# "+i(l)},selectedGetter:i});return{text:u.insertContent,selected:u.newSelected}})}},function(g,a,e){e.r(a);var t=e(1),r=e(0);e.d(a,"name",function(){return r.f}),a.default=function(n){n.insert(function(s){var o=n.langConfig.h2.placeholder,i=function(l){return l||o},u=Object(t.b)({selected:s,InsertGetter:function(l){return"## "+i(l)},selectedGetter:i});return{text:u.insertContent,selected:u.newSelected}})}},function(g,a,e){e.r(a);var t=e(1),r=e(0);e.d(a,"name",function(){return r.g}),a.default=function(n){n.insert(function(s){var o=n.langConfig.h3.placeholder,i=function(l){return l||o},u=Object(t.b)({selected:s,InsertGetter:function(l){return"### "+i(l)},selectedGetter:i});return{text:u.insertContent,selected:u.newSelected}})}},function(g,a,e){e.r(a);var t=e(1),r=e(0);e.d(a,"name",function(){return r.h}),a.default=function(n){n.insert(function(s){var o=n.langConfig.h4.placeholder,i=function(l){return l||o},u=Object(t.b)({selected:s,InsertGetter:function(l){return"#### "+i(l)},selectedGetter:i});return{text:u.insertContent,selected:u.newSelected}})}},function(g,a,e){e.r(a);var t=e(1),r=e(0);e.d(a,"name",function(){return r.i}),a.default=function(n){n.insert(function(s){var o=n.langConfig.h5.placeholder,i=function(l){return l||o},u=Object(t.b)({selected:s,InsertGetter:function(l){return"##### "+i(l)},selectedGetter:i});return{text:u.insertContent,selected:u.newSelected}})}},function(g,a,e){e.r(a);var t=e(1),r=e(0);e.d(a,"name",function(){return r.j}),a.default=function(n){n.insert(function(s){var o=n.langConfig.h6.placeholder,i=function(l){return l||o},u=Object(t.b)({selected:s,InsertGetter:function(l){return"###### "+i(l)},selectedGetter:i});return{text:u.insertContent,selected:u.newSelected}})}},function(g,a,e){e.r(a);var t=e(0);e.d(a,"name",function(){return t.k}),a.default=function(r){r.insert(function(){return{text:"------------------------------------"}})}},function(g,a,e){e.r(a);var t=e(0);e.d(a,"name",function(){return t.l}),a.default=function(r,n){var s=n===void 0?{}:n,o=s.url,i=s.desc,u=s.width,l=s.height;r.insert(function(){var f="http://",c="+")",p=[];return u&&p.push('width="'+u+'"'),l&&p.push('height="'+l+'"'),p.length&&(c+="{{{"+p.join(" ")+"}}}"),o&&i?f=null:o?f="Description":i&&(f="http://"),{text:c,selected:f}})}},function(g,a,e){e.r(a);var t=e(1),r=e(0);e.d(a,"name",function(){return r.m}),a.default=function(n){n.insert(function(s){var o=n.langConfig.italic.placeholder,i=function(l){return l||o},u=Object(t.b)({selected:s,InsertGetter:function(l){return"*"+i(l)+"*"},selectedGetter:i});return{text:u.insertContent,selected:u.newSelected}})}},function(g,a,e){e.r(a);var t=e(1),r=e(0);e.d(a,"name",function(){return r.n}),a.default=function(n){n.insert(function(s){var o=n.langConfig.link.descPlaceholder,i=Object(t.b)({selected:s,InsertGetter:function(u){return"["+(u||o)+"](http://)"},selectedGetter:function(u){return u?"http://":o}});return{text:i.insertContent,selected:i.newSelected}})}},function(g,a,e){e.r(a);var t=e(1),r=e(0);e.d(a,"name",function(){return r.o}),a.default=function(n){n.insert(function(s){var o=n.langConfig.ol.placeholder,i=function(l){return l||o},u=Object(t.b)({selected:s,InsertGetter:function(l,f){return f+". "+i(l)},selectedGetter:i,ignoreEmptyLine:!1});return{text:u.insertContent,selected:u.newSelected}})}},function(g,a,e){e.r(a);var t=e(0);e.d(a,"name",function(){return t.p}),a.default=function(r){r.insert(function(n){var s=n||r.langConfig.quote.placeholder;return{text:"> "+s,selected:s}})}},function(g,a,e){e.r(a);var t=e(0);e.d(a,"name",function(){return t.q}),a.default=function(r){r.redo()}},function(g,a,e){e.r(a);var t=e(1),r=e(0);e.d(a,"name",function(){return r.r}),a.default=function(n){n.insert(function(s){var o=n.langConfig.strikethrough.placeholder,i=function(l){return l||o},u=Object(t.b)({selected:s,InsertGetter:function(l){return"~~"+i(l)+"~~"},selectedGetter:i});return{text:u.insertContent,selected:u.newSelected}})}},function(g,a,e){e.r(a);var t=e(0);e.d(a,"name",function(){return t.s}),a.default=function(r,n){r.toggleSyncScroll(n)}},function(g,a,e){e.r(a);var t=e(0);e.d(a,"name",function(){return t.t}),a.default=function(r){r.insert(function(){return{text:`|column1|column2|column3|
|
|
|-|-|-|
|
|
|content1|content2|content3|`,selected:"column1"}})}},function(g,a,e){e.r(a);var t=e(1),r=e(0);e.d(a,"name",function(){return r.u}),a.default=function(n){n.insert(function(s){var o=n.langConfig.ul.placeholder,i=function(l){return l||o},u=Object(t.b)({selected:s,InsertGetter:function(l){return"- "+i(l)},selectedGetter:i,ignoreEmptyLine:!1});return{text:u.insertContent,selected:u.newSelected}})}},function(g,a,e){e.r(a);var t=e(0);e.d(a,"name",function(){return t.v}),a.default=function(r){r.undo()}},function(g,a,e){var t={"./bold.js":65,"./clear.js":66,"./code.js":67,"./fullscreen.js":68,"./h.js":69,"./hr.js":70,"./image.js":32,"./italic.js":72,"./link.js":73,"./ol.js":74,"./preview.js":75,"./quote.js":76,"./redo.js":77,"./save.js":78,"./strikethrough.js":79,"./sync-scroll.js":80,"./table.js":81,"./toc.js":82,"./ul.js":83,"./undo.js":84};function r(s){var o=n(s);return e(o)}function n(s){if(!e.o(t,s)){var o=new Error("Cannot find module '"+s+"'");throw o.code="MODULE_NOT_FOUND",o}return t[s]}r.keys=function(){return Object.keys(t)},r.resolve=n,g.exports=r,r.id=64},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.a,icon:"v-md-icon-bold",title:function(r){return r.langConfig.bold.toolbar+"\uFF08Ctrl+B\uFF09"},action:function(r){r.execCommand(t.a)}}},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.b,icon:"v-md-icon-clear",title:function(r){return r.langConfig.clear.toolbar},action:function(r){r.execCommand(t.b)}}},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.c,icon:"v-md-icon-code",title:function(r){return r.langConfig.code.toolbar},action:function(r){r.execCommand(t.c)}}},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.d,icon:"v-md-icon-fullscreen",title:function(r){var n=r.langConfig.fullscreen;return r.fullscreen?n.disabled:n.enabled},active:function(r){return r.fullscreen},action:function(r){r.execCommand(t.d,!r.fullscreen)}}},function(g,a,e){e.r(a);var t=e(0);a.default={name:"h",text:"H",title:function(r){return r.langConfig.h.toolbar+"\uFF08Ctrl+1~6\uFF09"},menus:[{name:t.e,text:function(r){return r.langConfig.h1.toolbar},action:function(r){r.execCommand(t.e)}},{name:t.f,text:function(r){return r.langConfig.h2.toolbar},action:function(r){r.execCommand(t.f)}},{name:t.g,text:function(r){return r.langConfig.h3.toolbar},action:function(r){r.execCommand(t.g)}},{name:t.h,text:function(r){return r.langConfig.h4.toolbar},action:function(r){r.execCommand(t.h)}},{name:t.i,text:function(r){return r.langConfig.h5.toolbar},action:function(r){r.execCommand(t.i)}},{name:t.j,text:function(r){return r.langConfig.h6.toolbar},action:function(r){r.execCommand(t.j)}}]}},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.k,icon:"v-md-icon-horizontal",title:function(r){return r.langConfig.hr.toolbar},action:function(r){r.execCommand(t.k)}}},function(g,a,e){var t=function(r){var n=Object.prototype,s=n.hasOwnProperty,o=typeof Symbol=="function"?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function f(_,S,$,P){var M=S&&S.prototype instanceof d?S:d,B=Object.create(M.prototype),N=new E(P||[]);return B._invoke=function(V,W,G){var Z="suspendedStart";return function(X,K){if(Z==="executing")throw new Error("Generator is already running");if(Z==="completed"){if(X==="throw")throw K;return D()}for(G.method=X,G.arg=K;;){var et=G.delegate;if(et){var it=j(et,G);if(it){if(it===p)continue;return it}}if(G.method==="next")G.sent=G._sent=G.arg;else if(G.method==="throw"){if(Z==="suspendedStart")throw Z="completed",G.arg;G.dispatchException(G.arg)}else G.method==="return"&&G.abrupt("return",G.arg);Z="executing";var rt=c(V,W,G);if(rt.type==="normal"){if(Z=G.done?"completed":"suspendedYield",rt.arg===p)continue;return{value:rt.arg,done:G.done}}rt.type==="throw"&&(Z="completed",G.method="throw",G.arg=rt.arg)}}}(_,$,N),B}function c(_,S,$){try{return{type:"normal",arg:_.call(S,$)}}catch(P){return{type:"throw",arg:P}}}r.wrap=f;var p={};function d(){}function h(){}function m(){}var b={};b[i]=function(){return this};var A=Object.getPrototypeOf,y=A&&A(A(k([])));y&&y!==n&&s.call(y,i)&&(b=y);var w=m.prototype=d.prototype=Object.create(b);function C(_){["next","throw","return"].forEach(function(S){_[S]=function($){return this._invoke(S,$)}})}function L(_,S){var $;this._invoke=function(P,M){function B(){return new S(function(N,V){(function W(G,Z,X,K){var et=c(_[G],_,Z);if(et.type!=="throw"){var it=et.arg,rt=it.value;return rt&&typeof rt=="object"&&s.call(rt,"__await")?S.resolve(rt.__await).then(function(ot){W("next",ot,X,K)},function(ot){W("throw",ot,X,K)}):S.resolve(rt).then(function(ot){it.value=ot,X(it)},function(ot){return W("throw",ot,X,K)})}K(et.arg)})(P,M,N,V)})}return $=$?$.then(B,B):B()}}function j(_,S){var $=_.iterator[S.method];if($===void 0){if(S.delegate=null,S.method==="throw"){if(_.iterator.return&&(S.method="return",S.arg=void 0,j(_,S),S.method==="throw"))return p;S.method="throw",S.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var P=c($,_.iterator,S.arg);if(P.type==="throw")return S.method="throw",S.arg=P.arg,S.delegate=null,p;var M=P.arg;return M?M.done?(S[_.resultName]=M.value,S.next=_.nextLoc,S.method!=="return"&&(S.method="next",S.arg=void 0),S.delegate=null,p):M:(S.method="throw",S.arg=new TypeError("iterator result is not an object"),S.delegate=null,p)}function O(_){var S={tryLoc:_[0]};1 in _&&(S.catchLoc=_[1]),2 in _&&(S.finallyLoc=_[2],S.afterLoc=_[3]),this.tryEntries.push(S)}function T(_){var S=_.completion||{};S.type="normal",delete S.arg,_.completion=S}function E(_){this.tryEntries=[{tryLoc:"root"}],_.forEach(O,this),this.reset(!0)}function k(_){if(_){var S=_[i];if(S)return S.call(_);if(typeof _.next=="function")return _;if(!isNaN(_.length)){var $=-1,P=function M(){for(;++$<_.length;)if(s.call(_,$))return M.value=_[$],M.done=!1,M;return M.value=void 0,M.done=!0,M};return P.next=P}}return{next:D}}function D(){return{value:void 0,done:!0}}return h.prototype=w.constructor=m,m.constructor=h,m[l]=h.displayName="GeneratorFunction",r.isGeneratorFunction=function(_){var S=typeof _=="function"&&_.constructor;return!!S&&(S===h||(S.displayName||S.name)==="GeneratorFunction")},r.mark=function(_){return Object.setPrototypeOf?Object.setPrototypeOf(_,m):(_.__proto__=m,l in _||(_[l]="GeneratorFunction")),_.prototype=Object.create(w),_},r.awrap=function(_){return{__await:_}},C(L.prototype),L.prototype[u]=function(){return this},r.AsyncIterator=L,r.async=function(_,S,$,P,M){M===void 0&&(M=Promise);var B=new L(f(_,S,$,P),M);return r.isGeneratorFunction(S)?B:B.next().then(function(N){return N.done?N.value:B.next()})},C(w),w[l]="Generator",w[i]=function(){return this},w.toString=function(){return"[object Generator]"},r.keys=function(_){var S=[];for(var $ in _)S.push($);return S.reverse(),function P(){for(;S.length;){var M=S.pop();if(M in _)return P.value=M,P.done=!1,P}return P.done=!0,P}},r.values=k,E.prototype={constructor:E,reset:function(_){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!_)for(var S in this)S.charAt(0)==="t"&&s.call(this,S)&&!isNaN(+S.slice(1))&&(this[S]=void 0)},stop:function(){this.done=!0;var _=this.tryEntries[0].completion;if(_.type==="throw")throw _.arg;return this.rval},dispatchException:function(_){if(this.done)throw _;var S=this;function $(W,G){return B.type="throw",B.arg=_,S.next=W,G&&(S.method="next",S.arg=void 0),!!G}for(var P=this.tryEntries.length-1;P>=0;--P){var M=this.tryEntries[P],B=M.completion;if(M.tryLoc==="root")return $("end");if(M.tryLoc<=this.prev){var N=s.call(M,"catchLoc"),V=s.call(M,"finallyLoc");if(N&&V){if(this.prev<M.catchLoc)return $(M.catchLoc,!0);if(this.prev<M.finallyLoc)return $(M.finallyLoc)}else if(N){if(this.prev<M.catchLoc)return $(M.catchLoc,!0)}else{if(!V)throw new Error("try statement without catch or finally");if(this.prev<M.finallyLoc)return $(M.finallyLoc)}}}},abrupt:function(_,S){for(var $=this.tryEntries.length-1;$>=0;--$){var P=this.tryEntries[$];if(P.tryLoc<=this.prev&&s.call(P,"finallyLoc")&&this.prev<P.finallyLoc){var M=P;break}}M&&(_==="break"||_==="continue")&&M.tryLoc<=S&&S<=M.finallyLoc&&(M=null);var B=M?M.completion:{};return B.type=_,B.arg=S,M?(this.method="next",this.next=M.finallyLoc,p):this.complete(B)},complete:function(_,S){if(_.type==="throw")throw _.arg;return _.type==="break"||_.type==="continue"?this.next=_.arg:_.type==="return"?(this.rval=this.arg=_.arg,this.method="return",this.next="end"):_.type==="normal"&&S&&(this.next=S),p},finish:function(_){for(var S=this.tryEntries.length-1;S>=0;--S){var $=this.tryEntries[S];if($.finallyLoc===_)return this.complete($.completion,$.afterLoc),T($),p}},catch:function(_){for(var S=this.tryEntries.length-1;S>=0;--S){var $=this.tryEntries[S];if($.tryLoc===_){var P=$.completion;if(P.type==="throw"){var M=P.arg;T($)}return M}}throw new Error("illegal catch attempt")},delegateYield:function(_,S,$){return this.delegate={iterator:k(_),resultName:S,nextLoc:$},this.method==="next"&&(this.arg=void 0),p}},r}(g.exports);try{regeneratorRuntime=t}catch{Function("r","regeneratorRuntime = r")(t)}},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.m,icon:"v-md-icon-italic",title:function(r){return r.langConfig.italic.toolbar+"\uFF08Ctrl+I\uFF09"},action:function(r){r.execCommand(t.m)}}},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.n,icon:"v-md-icon-link",title:function(r){return r.langConfig.link.toolbar+"\uFF08Ctrl+L\uFF09"},action:function(r){r.execCommand(t.n)}}},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.o,icon:"v-md-icon-ol",title:function(r){return r.langConfig.ol.toolbar+"\uFF08Ctrl+O\uFF09"},action:function(r){r.execCommand(t.o)}}},function(g,a,e){e.r(a);var t=e(4);a.default={name:"preview",icon:"v-md-icon-preview",title:function(r){var n=r.langConfig.preview;return r.currentMode===t.a.EDITABLE?n.disabled:n.enabled},active:function(r){return r.currentMode===t.a.EDITABLE},action:function(r){r.currentMode=r.currentMode===t.a.EDITABLE?t.a.EDIT:t.a.EDITABLE}}},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.p,icon:"v-md-icon-quote",title:function(r){return r.langConfig.quote.toolbar+"\uFF08Ctrl+Q\uFF09"},action:function(r){r.execCommand(t.p)}}},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.q,icon:"v-md-icon-redo",title:function(r){return r.langConfig.redo.toolbar+"\uFF08Ctrl+Y\uFF09"},action:function(r){r.execCommand(t.q)}}},function(g,a,e){e.r(a),a.default={name:"save",icon:"v-md-icon-save",title:function(t){return t.langConfig.save.toolbar+"\uFF08Ctrl+S\uFF09"},action:function(t){t.save()}}},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.r,icon:"v-md-icon-strikethrough",title:function(r){return r.langConfig.strikethrough.toolbar},action:function(r){r.execCommand(t.r)}}},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.s,icon:"v-md-icon-sync",title:function(r){var n=r.langConfig.syncScroll;return r.enableSyncScroll?n.disabled:n.enabled},active:function(r){return r.enableSyncScroll},action:function(r){r.execCommand(t.s,!r.enableSyncScroll)}}},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.t,icon:"v-md-icon-table",title:function(r){return r.langConfig.table.toolbar},action:function(r){r.execCommand(t.t)}}},function(g,a,e){e.r(a),a.default={name:"toc",icon:"v-md-icon-toc",title:function(t){var r=t.langConfig.toc;return t.tocVisible?r.disabled:r.enabled},active:function(t){return t.tocVisible},action:function(t){t.toggleToc()}}},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.u,icon:"v-md-icon-ul",title:function(r){return r.langConfig.ul.toolbar+"\uFF08Ctrl+U\uFF09"},action:function(r){r.execCommand(t.u)}}},function(g,a,e){e.r(a);var t=e(0);a.default={name:t.v,icon:"v-md-icon-undo",title:function(r){return r.langConfig.undo.toolbar+"\uFF08Ctrl+Z\uFF09"},action:function(r){r.execCommand(t.v)}}},function(g,a,e){},function(g,a,e){var t=e(20);e.n(t).a},function(g,a,e){var t=e(21);e.n(t).a},function(g,a,e){var t=e(22);e.n(t).a},function(g,a,e){var t=e(23);e.n(t).a},function(g,a){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch{typeof window=="object"&&(e=window)}g.exports=e},function(g,a,e){var t=e(24);e.n(t).a},function(g,a,e){var t=e(25);e.n(t).a},function(g,a,e){var t=e(26);e.n(t).a},function(g,a,e){var t={"./bold.js":95,"./h1.js":96,"./h2.js":97,"./h3.js":98,"./h4.js":99,"./h5.js":100,"./h6.js":101,"./italic.js":102,"./link.js":103,"./ol.js":104,"./quote.js":105,"./save.js":106,"./ul.js":107};function r(s){var o=n(s);return e(o)}function n(s){if(!e.o(t,s)){var o=new Error("Cannot find module '"+s+"'");throw o.code="MODULE_NOT_FOUND",o}return t[s]}r.keys=function(){return Object.keys(t)},r.resolve=n,g.exports=r,r.id=94},function(g,a,e){e.r(a);var t=e(0);a.default={modifier:"ctrl",key:"b",action:function(r){r.execCommand(t.a)}}},function(g,a,e){e.r(a);var t=e(0);a.default={modifier:"ctrl",key:"1",action:function(r){r.execCommand(t.e)}}},function(g,a,e){e.r(a);var t=e(0);a.default={modifier:"ctrl",key:"2",action:function(r){r.execCommand(t.f)}}},function(g,a,e){e.r(a);var t=e(0);a.default={modifier:"ctrl",key:"3",action:function(r){r.execCommand(t.g)}}},function(g,a,e){e.r(a);var t=e(0);a.default={modifier:"ctrl",key:"4",action:function(r){r.execCommand(t.h)}}},function(g,a,e){e.r(a);var t=e(0);a.default={modifier:"ctrl",key:"5",action:function(r){r.execCommand(t.i)}}},function(g,a,e){e.r(a);var t=e(0);a.default={modifier:"ctrl",key:"6",action:function(r){r.execCommand(t.j)}}},function(g,a,e){e.r(a);var t=e(0);a.default={modifier:"ctrl",key:"i",action:function(r){r.execCommand(t.m)}}},function(g,a,e){e.r(a);var t=e(0);a.default={modifier:"ctrl",key:"l",action:function(r){r.execCommand(t.n)}}},function(g,a,e){e.r(a);var t=e(0);a.default={modifier:"ctrl",key:"o",action:function(r){r.execCommand(t.o)}}},function(g,a,e){e.r(a);var t=e(0);a.default={modifier:"ctrl",key:"q",action:function(r){r.execCommand(t.p)}}},function(g,a,e){e.r(a),a.default={modifier:"ctrl",key:"s",action:function(t){t.save()}}},function(g,a,e){e.r(a);var t=e(0);a.default={modifier:"ctrl",key:"u",action:function(r){r.execCommand(t.u)}}},,function(g,a,e){var t=e(40);e.n(t).a},,function(g,a,e){e.r(a);var t=function(){var h=this,m=h.$createElement,b=h._self._c||m;return b("v-md-container",{ref:"contaner",attrs:{"left-toolbar":h.leftToolbar,"right-toolbar":h.rightToolbar,toolbars:h.toolbars,"disabled-menus":h.disabledMenus,height:h.height,fullscreen:h.fullscreen,"left-area-visible":h.tocVisible,"left-area-title":h.langConfig.toc.title,"left-area-reverse":h.tocNavPositionRight,mode:h.currentMode},on:{"toolbar-item-click":h.handleToolbarItemClick,"toolbar-menu-click":h.handleToolbarMenuClick,resize:h.handleContainerResize}},[b("scrollbar",{attrs:{slot:"left-area"},slot:"left-area"},[b("toc-nav",{attrs:{titles:h.titles},on:{"nav-click":h.handleNavClick}})],1),b("div",{ref:"codemirrorEditor",staticClass:"codemirror-wrapper",class:{"codemirror-reset":h.codemirrorStyleReset},attrs:{slot:"editor"},slot:"editor"}),b("scrollbar",{ref:"previewScroller",attrs:{slot:"preview"},slot:"preview"},[b("v-md-preview",{ref:"preview",attrs:{text:h.text,"tab-size":h.tabSize,"scroll-container":h.getPreviewScrollContainer},on:{change:h.handleChange,"image-click":h.handlePreviewImageClick}})],1),h.hasUploadImage?b("v-md-upload-file",{ref:"uploadFile",attrs:{"upload-config":h.uploadConfig}}):h._e()],1)};t._withStripped=!0;var r=e(5),n=e(37),s=e(8),o=e(38),i={props:{codemirrorConfig:Object,codemirrorStyleReset:{type:Boolean,default:!0}},watch:{value:function(){this.value!==this.text&&(this.text=this.value,this.codemirrorInstance.setValue(this.text))}},created:function(){this.hotkeysManager=new o.a},computed:{Codemirror:function(){return this.$options.Codemirror}},mounted:function(){var h=this;if(!this.Codemirror)return console.error("1.5.0\u4E0E2.1.0\u7248\u672C\u4E4B\u540ECodemirror\u5C06\u7531\u7528\u6237\u81EA\u5DF1\u914D\u7F6E\uFF0C\u8BF7\u914D\u7F6ECodemirror\uFF0C\u5982\u4F55\u914D\u7F6E\u8BF7\u53C2\u8003\u76F8\u5173\u6587\u6863");this.codemirrorInstance=new this.Codemirror(this.$refs.codemirrorEditor,Object(r.a)({lineNumbers:!0,styleActiveLine:!0,autoCloseTags:!0,matchBrackets:!0,indentWithTabs:!0,autoCloseBrackets:!0,tabSize:this.tabSize,indentUnit:this.tabSize,value:this.text,placeholder:this.placeholder,mode:"markdown",lineWrapping:!0,scrollbarStyle:"overlay"},this.codemirrorConfig)),this.codemirrorInstance.on("change",function(){var m=h.getValue();h.handleInput(m)}),this.codemirrorInstance.on("scroll",function(){h.handleEditorScroll()}),this.codemirrorInstance.on("keydown",function(m,b){h.hotkeysManager.dispatch(b)}),this.codemirrorInstance.on("drop",function(m,b){h.handleDrop(b)}),this.codemirrorInstance.on("paste",function(m,b){h.handlePaste(b)})},beforeDestory:function(){var h=this.codemirrorInstance.doc.cm.getWrapperElement();h==null||h.remove==null||h.remove()},methods:{handleContainerResize:function(){this.Codemirror&&this.codemirrorInstance.refresh()},getValue:function(){return this.codemirrorInstance.getValue()},getIndexInInterval:function(h,m,b){if(m<=h&&h<=b)return h-m},delLineLeft:function(){this.codemirrorInstance.execCommand("delLineLeft")},getCursorLineLeftText:function(){var h=this.codemirrorInstance,m=h.getCursor("from"),b=m.line,A=m.ch,y=h.getCursor("to"),w=y.line,C=y.ch;if(b===w&&A===C)return h.getLine(b).slice(0,A)},editorRegisterHotkeys:function(){var h;(h=this.hotkeysManager).registerHotkeys.apply(h,arguments)},editorScrollToTop:function(h){var m=this,b=this.getScrollInfo().top;Object(s.b)({currentScrollTop:b,scrollToTop:h,scrollFn:function(A){return m.codemirrorInstance.scrollTo(0,A)}})},getScrollInfo:function(){return this.codemirrorInstance.getScrollInfo()},heightAtLine:function(){var h;return(h=this.codemirrorInstance).heightAtLine.apply(h,arguments)},focus:function(){this.codemirrorInstance.focus()},undo:function(){this.codemirrorInstance.undo()},redo:function(){this.codemirrorInstance.redo()},clear:function(){this.codemirrorInstance.setValue("")},editorFocusEnd:function(){this.focus();var h=this.codemirrorInstance.lastLine(),m=this.codemirrorInstance.getLine(h);this.codemirrorInstance.setCursor({line:h,ch:m.length})},replaceSelectionText:function(h,m){m===void 0&&(m="around"),this.codemirrorInstance.replaceSelection(h,m)},changeSelctionTo:function(h,m){var b=this,A=this.codemirrorInstance.getCursor("from"),y=this.codemirrorInstance.getCursor("to");if(m){var w=this.text.split(`
|
|
`).slice(A.line,y.line+1),C=w.join(`
|
|
`).indexOf(m,A.ch),L=C+m.length,j={line:0,ch:null,indexOfSelected:C},O={line:0,ch:null,indexOfSelected:L},T=0;w.find(function(E,k){var D=E.length;return[j,O].forEach(function(_){var S=b.getIndexInInterval(_.indexOfSelected,T,T+D);S!==void 0&&(_.ch=S,_.line=A.line+k)}),T+=D+1,j.ch!==null&&O.ch!==null}),this.codemirrorInstance.setSelection(O,j)}else this.codemirrorInstance.setSelection(y)},getCurrentSelectedStr:function(){return this.codemirrorInstance.getSelection()}}};Object(n.a)(i);var u=i,l=(e(109),e(2)),f=Object(l.a)(u,t,[],!1,null,null,null);f.options.__file="src/codemirror-editor.vue";var c=f.exports,p=e(7),d=e(9);e(19),c.version="1.7.12",c.install=function(h){h.component(c.name,c)},c.xss=p.a,c.lang=d.a,c.use=function(h,m){return typeof h=="function"?h(c,m):h.install(c,m),c},a.default=c}]).default})})(ne);var Nr=Ct(ne.exports);export{$r as V,Pr as _,Pe as a,Xe as b,gr as c,$e as d,Br as e,Nr as f,Rr as v};
|