/*! * @license Copyright (c) 2003-2022, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md. */ (function(t){const e=t["zh-cn"]=t["zh-cn"]||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"第 %0 步,共 %1 步",Aquamarine:"海蓝色",Big:"大",Black:"黑色","Block quote":"块引用",Blue:"蓝色","Blue marker":"蓝色标记",Bold:"加粗","Break text":"","Bulleted List":"项目符号列表","Bulleted list styles toolbar":"项目符号列表样式工具条",Cancel:"取消","Cannot upload file:":"无法上传的文件:","Centered image":"图片居中","Change image text alternative":"更改图片替换文本","Characters: %0":"字符数:%0","Choose heading":"标题类型",Circle:"空心圆点",Code:"代码",Column:"列","Could not insert image at the current position.":"无法在当前位置插入图片","Could not obtain resized image URL.":"无法获取重设大小的图片URL",Decimal:"阿拉伯数字","Decimal with leading zero":"前导零阿拉伯数字","Decrease indent":"减少缩进",Default:"默认","Delete column":"删除本列","Delete row":"删除本行","Dim grey":"暗灰色",Disc:"实心圆点","Document colors":"文档中的颜色",Downloadable:"可下载","Dropdown toolbar":"下拉工具栏","Edit block":"编辑框","Edit link":"修改链接","Edit source":"编辑源代码","Editor toolbar":"编辑器工具栏","Empty snippet content":"空片段内容","Enter image caption":"输入图片标题",Find:"查找","Find and replace":"查找和替换","Find in text…":"查找的文本","Font Background Color":"字体背景色","Font Color":"字体颜色","Font Family":"字体","Font Size":"字体大小","Full size image":"图片通栏显示",Green:"绿色","Green marker":"绿色标记","Green pen":"绿色笔",Grey:"灰色","Header column":"标题列","Header row":"标题行",Heading:"标题","Heading 1":"标题 1","Heading 2":"标题 2","Heading 3":"标题 3","Heading 4":"标题 4","Heading 5":"标题 5","Heading 6":"标题 6",Highlight:"高亮","Horizontal line":"水平线","HTML snippet":"HTML 代码片段",Huge:"极大","Image toolbar":"图片工具栏","image widget":"图像小部件","In line":"","Increase indent":"增加缩进","Insert code block":"插入代码块","Insert column left":"左侧插入列","Insert column right":"右侧插入列","Insert HTML":"插入 HTML","Insert image":"插入图像","Insert image or file":"插入图片或文件","Insert media":"插入媒体","Insert paragraph after block":"在后面插入段落","Insert paragraph before block":"在前面插入段落","Insert row above":"在上面插入一行","Insert row below":"在下面插入一行","Insert table":"插入表格","Inserting image failed":"插入图片失败",Italic:"倾斜","Left aligned image":"图片左侧对齐","Light blue":"浅蓝色","Light green":"浅绿色","Light grey":"浅灰色",Link:"超链接","Link image":"链接图片","Link URL":"链接网址","Lower-latin":"小写拉丁字母","Lower–roman":"小写罗马数字","Match case":"区分大小写","Media URL":"媒体URL","media widget":"媒体小部件","Merge cell down":"向下合并单元格","Merge cell left":"向左合并单元格","Merge cell right":"向右合并单元格","Merge cell up":"向上合并单元格","Merge cells":"合并单元格",Next:"下一步","Next result":"下一个匹配项","No preview available":"预览不可用","Numbered List":"项目编号列表","Numbered list styles toolbar":"项目编号列表样式工具条","Open in a new tab":"在新标签页中打开","Open link in new tab":"在新标签页中打开链接",Orange:"橙色",Paragraph:"段落","Paste raw HTML here...":"在这里粘贴 HTML 源代码","Paste the media URL in the input.":"在输入中粘贴媒体URL","Pink marker":"粉色标记","Plain text":"纯文本",Previous:"上一步","Previous result":"上一个匹配项",Purple:"紫色",Red:"红色","Red pen":"红色笔",Redo:"重做","Remove color":"移除颜色","Remove highlight":"清除高亮",Replace:"替换","Replace all":"全部替换","Replace with…":"替换的文本","Rich Text Editor":"富文本编辑器","Rich Text Editor, %0":"富文本编辑器, %0","Right aligned image":"图片右侧对齐",Row:"行",Save:"保存","Save changes":"保存更改","Select all":"全选","Select column":"选择列","Select row":"选择行","Selecting resized image failed":"选择重设大小的图片失败","Show more items":"显示更多","Show options":"显示配置","Side image":"图片侧边显示",Small:"小",Source:"源代码","Split cell horizontally":"横向拆分单元格","Split cell vertically":"纵向拆分单元格",Square:"实心方块","Table toolbar":"表格工具栏","Text alternative":"替换文本","Text highlight toolbar":"文本高亮工具栏","Text to find must not be empty.":"查找的文本不可为空","The URL must not be empty.":"URL不可以为空。","This link has no URL":"此链接没有设置网址","This media URL is not supported.":"不支持此媒体URL。",Tiny:"极小","Tip: Find some text first in order to replace it.":"提示:先查找文本再替换","Tip: Paste the URL into the content to embed faster.":"提示:将URL粘贴到内容中可更快地嵌入","To-do List":"待办列表","Toggle caption off":"","Toggle caption on":"","Toggle the circle list style":"切换空心原点列表样式","Toggle the decimal list style":"切换阿拉伯数字列表样式","Toggle the decimal with leading zero list style":"切换前导零阿拉伯数字列表样式","Toggle the disc list style":"切换实心原点列表样式","Toggle the lower–latin list style":"切换小写拉丁字母列表样式","Toggle the lower–roman list style":"切换小写罗马数字列表样式","Toggle the square list style":"切换实心方块列表样式","Toggle the upper–latin list style":"切换大写拉丁字母列表样式","Toggle the upper–roman list style":"切换大写罗马数字列表样式",Turquoise:"青色","Type or paste your content here.":"在这里输入或粘贴内容","Type your title":"输入标题",Underline:"下划线",Undo:"撤销",Unlink:"取消超链接","Upload failed":"上传失败","Upload in progress":"正在上传","Upper-latin":"大写拉丁字母","Upper-roman":"大写罗马数字",White:"白色","Whole words only":"单词","Widget toolbar":"小部件工具栏","Words: %0":"单词数:%0","Wrap text":"",Yellow:"黄色","Yellow marker":"黄色标记"});e.getPluralForm=function(t){return 0}})(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));(function t(e,n){if(typeof exports==="object"&&typeof module==="object")module.exports=n();else if(typeof define==="function"&&define.amd)define([],n);else if(typeof exports==="object")exports["ClassicEditor"]=n();else e["ClassicEditor"]=n()})(window,(function(){return function(t){var e={};function n(i){if(e[i]){return e[i].exports}var o=e[i]={i:i,l:false,exports:{}};t[i].call(o.exports,o,o.exports,n);o.l=true;return o.exports}n.m=t;n.c=e;n.d=function(t,e,i){if(!n.o(t,e)){Object.defineProperty(t,e,{enumerable:true,get:i})}};n.r=function(t){if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(t,"__esModule",{value:true})};n.t=function(t,e){if(e&1)t=n(t);if(e&8)return t;if(e&4&&typeof t==="object"&&t&&t.__esModule)return t;var i=Object.create(null);n.r(i);Object.defineProperty(i,"default",{enumerable:true,value:t});if(e&2&&typeof t!="string")for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i};n.n=function(t){var e=t&&t.__esModule?function e(){return t["default"]}:function e(){return t};n.d(e,"a",e);return e};n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};n.p="";return n(n.s=78)}([function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));n.d(e,"b",(function(){return r}));const i="https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html";class o extends Error{constructor(t,e,n){super(c(t,n));this.name="CKEditorError";this.context=e;this.data=n}is(t){return t==="CKEditorError"}static rethrowUnexpectedError(t,e){if(t.is&&t.is("CKEditorError")){throw t}const n=new o(t.message,e);n.stack=t.stack;throw n}}function r(t,e){console.warn(...l(t,e))}function s(t,e){console.error(...l(t,e))}function a(t){return`\nRead more: ${i}#error-${t}`}function c(t,e){const n=new WeakSet;const i=(t,e)=>{if(typeof e==="object"&&e!==null){if(n.has(e)){return`[object ${e.constructor.name}]`}n.add(e)}return e};const o=e?` ${JSON.stringify(e,i)}`:"";const r=a(t);return t+o+r}function l(t,e){const n=a(t);return e?[t,e,n]:[t,n]}},function(t,e,n){"use strict";var i=function t(){var e;return function t(){if(typeof e==="undefined"){e=Boolean(window&&document&&document.all&&!window.atob)}return e}}();var o=function t(){var e={};return function t(n){if(typeof e[n]==="undefined"){var i=document.querySelector(n);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement){try{i=i.contentDocument.head}catch(t){i=null}}e[n]=i}return e[n]}}();var r=[];function s(t){var e=-1;for(var n=0;nt.length)e=t.length;for(var n=0,i=new Array(e);nt.length)e=t.length;for(var n=0,i=new Array(e);n=t.length)return{done:true};return{done:false,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}i=t[Symbol.iterator]();return i.next.bind(i)}function r(t,e){return e={exports:{}},t(e,e.exports),e.exports}var s=r((function(t){function e(){return{baseUrl:null,breaks:false,gfm:true,headerIds:true,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:true,pedantic:false,renderer:null,sanitize:false,sanitizer:null,silent:false,smartLists:false,smartypants:false,tokenizer:null,walkTokens:null,xhtml:false}}function n(e){t.exports.defaults=e}t.exports={defaults:e(),getDefaults:e,changeDefaults:n}}));var a=s.defaults;var c=s.getDefaults;var l=s.changeDefaults;var d=/[&<>"']/;var u=/[&<>"']/g;var h=/[<>"']|&(?!#?\w+;)/;var f=/[<>"']|&(?!#?\w+;)/g;var g={"&":"&","<":"<",">":">",'"':""","'":"'"};var m=function t(e){return g[e]};function p(t,e){if(e){if(d.test(t)){return t.replace(u,m)}}else{if(h.test(t)){return t.replace(f,m)}}return t}var k=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function b(t){return t.replace(k,(function(t,e){e=e.toLowerCase();if(e==="colon")return":";if(e.charAt(0)==="#"){return e.charAt(1)==="x"?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1))}return""}))}var w=/(^|[^\[])\^/g;function A(t,e){t=t.source||t;e=e||"";var n={replace:function e(i,o){o=o.source||o;o=o.replace(w,"$1");t=t.replace(i,o);return n},getRegex:function n(){return new RegExp(t,e)}};return n}var C=/[^\w:]/g;var v=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function _(t,e,n){if(t){var i;try{i=decodeURIComponent(b(n)).replace(C,"").toLowerCase()}catch(t){return null}if(i.indexOf("javascript:")===0||i.indexOf("vbscript:")===0||i.indexOf("data:")===0){return null}}if(e&&!v.test(n)){n=S(e,n)}try{n=encodeURI(n).replace(/%25/g,"%")}catch(t){return null}return n}var y={};var x=/^[^:]+:\/*[^/]*$/;var E=/^([^:]+:)[\s\S]*$/;var D=/^([^:]+:\/*[^/]*)[\s\S]*$/;function S(t,e){if(!y[" "+t]){if(x.test(t)){y[" "+t]=t+"/"}else{y[" "+t]=B(t,"/",true)}}t=y[" "+t];var n=t.indexOf(":")===-1;if(e.substring(0,2)==="//"){if(n){return e}return t.replace(E,"$1")+e}else if(e.charAt(0)==="/"){if(n){return e}return t.replace(D,"$1")+e}else{return t+e}}var T={exec:function t(){}};function I(t){var e=1,n,i;for(;e=0&&n[o]==="\\"){i=!i}if(i){return"|"}else{return" |"}})),i=n.split(/ \|/);var o=0;if(i.length>e){i.splice(e)}else{while(i.length=i.length){return t.slice(i.length)}return t})).join("\n")}var H=function(){function t(t){this.options=t||L}var e=t.prototype;e.space=function t(e){var n=this.rules.block.newline.exec(e);if(n){if(n[0].length>1){return{type:"space",raw:n[0]}}return{raw:"\n"}}};e.code=function t(e,n){var i=this.rules.block.code.exec(e);if(i){var o=n[n.length-1];if(o&&o.type==="paragraph"){return{raw:i[0],text:i[0].trimRight()}}var r=i[0].replace(/^ {4}/gm,"");return{type:"code",raw:i[0],codeBlockStyle:"indented",text:!this.options.pedantic?R(r,"\n"):r}}};e.fences=function t(e){var n=this.rules.block.fences.exec(e);if(n){var i=n[0];var o=U(i,n[3]||"");return{type:"code",raw:i,lang:n[2]?n[2].trim():n[2],text:o}}};e.heading=function t(e){var n=this.rules.block.heading.exec(e);if(n){return{type:"heading",raw:n[0],depth:n[1].length,text:n[2]}}};e.nptable=function t(e){var n=this.rules.block.nptable.exec(e);if(n){var i={type:"table",header:O(n[1].replace(/^ *| *\| *$/g,"")),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:n[3]?n[3].replace(/\n$/,"").split("\n"):[],raw:n[0]};if(i.header.length===i.align.length){var o=i.align.length;var r;for(r=0;r ?/gm,"");return{type:"blockquote",raw:n[0],text:i}}};e.list=function t(e){var n=this.rules.block.list.exec(e);if(n){var i=n[0];var o=n[2];var r=o.length>1;var s=o[o.length-1]===")";var t={type:"list",raw:i,ordered:r,start:r?+o.slice(0,-1):"",loose:false,items:[]};var a=n[0].match(this.rules.block.item);var c=false,l,d,u,h,f,g,m;var p=a.length;for(var k=0;k1||this.options.smartLists&&u!==o){h=a.slice(k+1).join("\n");t.raw=t.raw.substring(0,t.raw.length-h.length);k=p-1}}f=c||/\n\n(?!\s*$)/.test(l);if(k!==p-1){c=l.charAt(l.length-1)==="\n";if(!f)f=c}if(f){t.loose=true}g=/^\[[ xX]\] /.test(l);m=undefined;if(g){m=l[1]!==" ";l=l.replace(/^\[[ xX]\] +/,"")}t.items.push({type:"list_item",raw:i,task:g,checked:m,loose:f,text:l})}return t}};e.html=function t(e){var n=this.rules.block.html.exec(e);if(n){return{type:this.options.sanitize?"paragraph":"html",raw:n[0],pre:!this.options.sanitizer&&(n[1]==="pre"||n[1]==="script"||n[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):j(n[0]):n[0]}}};e.def=function t(e){var n=this.rules.block.def.exec(e);if(n){if(n[3])n[3]=n[3].substring(1,n[3].length-1);var i=n[1].toLowerCase().replace(/\s+/g," ");return{tag:i,raw:n[0],href:n[2],title:n[3]}}};e.table=function t(e){var n=this.rules.block.table.exec(e);if(n){var i={type:"table",header:O(n[1].replace(/^ *| *\| *$/g,"")),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:n[3]?n[3].replace(/\n$/,"").split("\n"):[]};if(i.header.length===i.align.length){i.raw=n[0];var o=i.align.length;var r;for(r=0;r/i.test(o[0])){n=false}if(!i&&/^<(pre|code|kbd|script)(\s|>)/i.test(o[0])){i=true}else if(i&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(o[0])){i=false}return{type:this.options.sanitize?"text":"html",raw:o[0],inLink:n,inRawBlock:i,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):j(o[0]):o[0]}}};e.link=function t(e){var n=this.rules.inline.link.exec(e);if(n){var i=F(n[2],"()");if(i>-1){var o=n[0].indexOf("!")===0?5:4;var r=o+n[1].length+i;n[2]=n[2].substring(0,i);n[0]=n[0].substring(0,r).trim();n[3]=""}var s=n[2];var a="";if(this.options.pedantic){var t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);if(t){s=t[1];a=t[3]}else{a=""}}else{a=n[3]?n[3].slice(1,-1):""}s=s.trim().replace(/^<([\s\S]*)>$/,"$1");var c=V(n,{href:s?s.replace(this.rules.inline._escapes,"$1"):s,title:a?a.replace(this.rules.inline._escapes,"$1"):a},n[0]);return c}};e.reflink=function t(e,n){var i;if((i=this.rules.inline.reflink.exec(e))||(i=this.rules.inline.nolink.exec(e))){var o=(i[2]||i[1]).replace(/\s+/g," ");o=n[o.toLowerCase()];if(!o||!o.href){var r=i[0].charAt(0);return{type:"text",raw:r,text:r}}var s=V(i,o,i[0]);return s}};e.strong=function t(e,n,i){if(i===void 0){i=""}var o=this.rules.inline.strong.start.exec(e);if(o&&(!o[1]||o[1]&&(i===""||this.rules.inline.punctuation.exec(i)))){n=n.slice(-1*e.length);var r=o[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;r.lastIndex=0;var s;while((o=r.exec(n))!=null){s=this.rules.inline.strong.middle.exec(n.slice(0,o.index+3));if(s){return{type:"strong",raw:e.slice(0,s[0].length),text:e.slice(2,s[0].length-2)}}}}};e.em=function t(e,n,i){if(i===void 0){i=""}var o=this.rules.inline.em.start.exec(e);if(o&&(!o[1]||o[1]&&(i===""||this.rules.inline.punctuation.exec(i)))){n=n.slice(-1*e.length);var r=o[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;r.lastIndex=0;var s;while((o=r.exec(n))!=null){s=this.rules.inline.em.middle.exec(n.slice(0,o.index+2));if(s){return{type:"em",raw:e.slice(0,s[0].length),text:e.slice(1,s[0].length-1)}}}}};e.codespan=function t(e){var n=this.rules.inline.code.exec(e);if(n){var i=n[2].replace(/\n/g," ");var o=/[^ ]/.test(i);var r=i.startsWith(" ")&&i.endsWith(" ");if(o&&r){i=i.substring(1,i.length-1)}i=j(i,true);return{type:"codespan",raw:n[0],text:i}}};e.br=function t(e){var n=this.rules.inline.br.exec(e);if(n){return{type:"br",raw:n[0]}}};e.del=function t(e){var n=this.rules.inline.del.exec(e);if(n){return{type:"del",raw:n[0],text:n[1]}}};e.autolink=function t(e,n){var i=this.rules.inline.autolink.exec(e);if(i){var o,r;if(i[2]==="@"){o=j(this.options.mangle?n(i[1]):i[1]);r="mailto:"+o}else{o=j(i[1]);r=o}return{type:"link",raw:i[0],text:o,href:r,tokens:[{type:"text",raw:o,text:o}]}}};e.url=function t(e,n){var i;if(i=this.rules.inline.url.exec(e)){var o,r;if(i[2]==="@"){o=j(this.options.mangle?n(i[0]):i[0]);r="mailto:"+o}else{var s;do{s=i[0];i[0]=this.rules.inline._backpedal.exec(i[0])[0]}while(s!==i[0]);o=j(i[0]);if(i[1]==="www."){r="http://"+o}else{r=o}}return{type:"link",raw:i[0],text:o,href:r,tokens:[{type:"text",raw:o,text:o}]}}};e.inlineText=function t(e,n,i){var o=this.rules.inline.text.exec(e);if(o){var r;if(n){r=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):j(o[0]):o[0]}else{r=j(this.options.smartypants?i(o[0]):o[0])}return{type:"text",raw:o[0],text:r}}};return t}();var q=P.noopTest,W=P.edit,G=P.merge;var K={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:"+"<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)"+"|comment[^\\n]*(\\n+|$)"+"|<\\?[\\s\\S]*?\\?>\\n*"+"|\\n*"+"|\\n*"+"|)[\\s\\S]*?(?:\\n{2,}|$)"+"|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)"+"|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)"+")",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:q,table:q,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};K._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/;K._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;K.def=W(K.def).replace("label",K._label).replace("title",K._title).getRegex();K.bullet=/(?:[*+-]|\d{1,9}[.)])/;K.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/;K.item=W(K.item,"gm").replace(/bull/g,K.bullet).getRegex();K.list=W(K.list).replace(/bull/g,K.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+K.def.source+")").getRegex();K._tag="address|article|aside|base|basefont|blockquote|body|caption"+"|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption"+"|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe"+"|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option"+"|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr"+"|track|ul";K._comment=//;K.html=W(K.html,"i").replace("comment",K._comment).replace("tag",K._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();K.paragraph=W(K._paragraph).replace("hr",K.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",K._tag).getRegex();K.blockquote=W(K.blockquote).replace("paragraph",K.paragraph).getRegex();K.normal=G({},K);K.gfm=G({},K.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n"+" *([-:]+ *\\|[-| :]*)"+"(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n"+" *\\|?( *[-:]+[-| :]*)"+"(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"});K.gfm.nptable=W(K.gfm.nptable).replace("hr",K.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",K._tag).getRegex();K.gfm.table=W(K.gfm.table).replace("hr",K.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",K._tag).getRegex();K.pedantic=G({},K.normal,{html:W("^ *(?:comment *(?:\\n|\\s*$)"+"|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)"+"|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",K._comment).replace(/tag/g,"(?!(?:"+"a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub"+"|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)"+"\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:q,paragraph:W(K.normal._paragraph).replace("hr",K.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",K.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var $={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:q,tag:"^comment"+"|^"+"|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>"+"|^<\\?[\\s\\S]*?\\?>"+"|^"+"|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:q,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~";$.punctuation=W($.punctuation).replace(/punctuation/g,$._punctuation).getRegex();$._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>";$._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*";$.em.start=W($.em.start).replace(/punctuation/g,$._punctuation).getRegex();$.em.middle=W($.em.middle).replace(/punctuation/g,$._punctuation).replace(/overlapSkip/g,$._overlapSkip).getRegex();$.em.endAst=W($.em.endAst,"g").replace(/punctuation/g,$._punctuation).getRegex();$.em.endUnd=W($.em.endUnd,"g").replace(/punctuation/g,$._punctuation).getRegex();$.strong.start=W($.strong.start).replace(/punctuation/g,$._punctuation).getRegex();$.strong.middle=W($.strong.middle).replace(/punctuation/g,$._punctuation).replace(/blockSkip/g,$._blockSkip).getRegex();$.strong.endAst=W($.strong.endAst,"g").replace(/punctuation/g,$._punctuation).getRegex();$.strong.endUnd=W($.strong.endUnd,"g").replace(/punctuation/g,$._punctuation).getRegex();$.blockSkip=W($._blockSkip,"g").getRegex();$.overlapSkip=W($._overlapSkip,"g").getRegex();$._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;$._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;$._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;$.autolink=W($.autolink).replace("scheme",$._scheme).replace("email",$._email).getRegex();$._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;$.tag=W($.tag).replace("comment",K._comment).replace("attribute",$._attribute).getRegex();$._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;$._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/;$._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;$.link=W($.link).replace("label",$._label).replace("href",$._href).replace("title",$._title).getRegex();$.reflink=W($.reflink).replace("label",$._label).getRegex();$.reflinkSearch=W($.reflinkSearch,"g").replace("reflink",$.reflink).replace("nolink",$.nolink).getRegex();$.normal=G({},$);$.pedantic=G({},$.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:W(/^!?\[(label)\]\((.*?)\)/).replace("label",$._label).getRegex(),reflink:W(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",$._label).getRegex()});$.gfm=G({},$.normal,{escape:W($.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\.5){i="x"+i.toString(16)}e+="&#"+i+";"}return e}var et=function(){function t(t){this.tokens=[];this.tokens.links=Object.create(null);this.options=t||Q;this.options.tokenizer=this.options.tokenizer||new H;this.tokenizer=this.options.tokenizer;this.tokenizer.options=this.options;var e={block:Z.normal,inline:J.normal};if(this.options.pedantic){e.block=Z.pedantic;e.inline=J.pedantic}else if(this.options.gfm){e.block=Z.gfm;if(this.options.breaks){e.inline=J.breaks}else{e.inline=J.gfm}}this.tokenizer.rules=e}t.lex=function e(n,i){var o=new t(i);return o.lex(n)};var n=t.prototype;n.lex=function t(e){e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ");this.blockTokens(e,this.tokens,true);this.inline(this.tokens);return this.tokens};n.blockTokens=function t(e,n,i){if(n===void 0){n=[]}if(i===void 0){i=true}e=e.replace(/^ +$/gm,"");var o,r,s,a;while(e){if(o=this.tokenizer.space(e)){e=e.substring(o.raw.length);if(o.type){n.push(o)}continue}if(o=this.tokenizer.code(e,n)){e=e.substring(o.raw.length);if(o.type){n.push(o)}else{a=n[n.length-1];a.raw+="\n"+o.raw;a.text+="\n"+o.text}continue}if(o=this.tokenizer.fences(e)){e=e.substring(o.raw.length);n.push(o);continue}if(o=this.tokenizer.heading(e)){e=e.substring(o.raw.length);n.push(o);continue}if(o=this.tokenizer.nptable(e)){e=e.substring(o.raw.length);n.push(o);continue}if(o=this.tokenizer.hr(e)){e=e.substring(o.raw.length);n.push(o);continue}if(o=this.tokenizer.blockquote(e)){e=e.substring(o.raw.length);o.tokens=this.blockTokens(o.text,[],i);n.push(o);continue}if(o=this.tokenizer.list(e)){e=e.substring(o.raw.length);s=o.items.length;for(r=0;r0){while((c=this.tokenizer.rules.inline.reflinkSearch.exec(a))!=null){if(l.includes(c[0].slice(c[0].lastIndexOf("[")+1,-1))){a=a.slice(0,c.index)+"["+"a".repeat(c[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex)}}}}while((c=this.tokenizer.rules.inline.blockSkip.exec(a))!=null){a=a.slice(0,c.index)+"["+"a".repeat(c[0].length-2)+"]"+a.slice(this.tokenizer.rules.inline.blockSkip.lastIndex)}while(e){if(s=this.tokenizer.escape(e)){e=e.substring(s.raw.length);n.push(s);continue}if(s=this.tokenizer.tag(e,i,o)){e=e.substring(s.raw.length);i=s.inLink;o=s.inRawBlock;n.push(s);continue}if(s=this.tokenizer.link(e)){e=e.substring(s.raw.length);if(s.type==="link"){s.tokens=this.inlineTokens(s.text,[],true,o)}n.push(s);continue}if(s=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(s.raw.length);if(s.type==="link"){s.tokens=this.inlineTokens(s.text,[],true,o)}n.push(s);continue}if(s=this.tokenizer.strong(e,a,r)){e=e.substring(s.raw.length);s.tokens=this.inlineTokens(s.text,[],i,o);n.push(s);continue}if(s=this.tokenizer.em(e,a,r)){e=e.substring(s.raw.length);s.tokens=this.inlineTokens(s.text,[],i,o);n.push(s);continue}if(s=this.tokenizer.codespan(e)){e=e.substring(s.raw.length);n.push(s);continue}if(s=this.tokenizer.br(e)){e=e.substring(s.raw.length);n.push(s);continue}if(s=this.tokenizer.del(e)){e=e.substring(s.raw.length);s.tokens=this.inlineTokens(s.text,[],i,o);n.push(s);continue}if(s=this.tokenizer.autolink(e,tt)){e=e.substring(s.raw.length);n.push(s);continue}if(!i&&(s=this.tokenizer.url(e,tt))){e=e.substring(s.raw.length);n.push(s);continue}if(s=this.tokenizer.inlineText(e,o,X)){e=e.substring(s.raw.length);r=s.raw.slice(-1);n.push(s);continue}if(e){var d="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(d);break}else{throw new Error(d)}}}return n};e(t,null,[{key:"rules",get:function t(){return{block:Z,inline:J}}}]);return t}();var nt=s.defaults;var it=P.cleanUrl,ot=P.escape;var rt=function(){function t(t){this.options=t||nt}var e=t.prototype;e.code=function t(e,n,i){var o=(n||"").match(/\S*/)[0];if(this.options.highlight){var r=this.options.highlight(e,o);if(r!=null&&r!==e){i=true;e=r}}if(!o){return"
"+(i?e:ot(e,true))+"
\n"}return'
'+(i?e:ot(e,true))+"
\n"};e.blockquote=function t(e){return"
\n"+e+"
\n"};e.html=function t(e){return e};e.heading=function t(e,n,i,o){if(this.options.headerIds){return"'+e+"\n"}return""+e+"\n"};e.hr=function t(){return this.options.xhtml?"
\n":"
\n"};e.list=function t(e,n,i){var o=n?"ol":"ul",r=n&&i!==1?' start="'+i+'"':"";return"<"+o+r+">\n"+e+"\n"};e.listitem=function t(e){return"
  • "+e+"
  • \n"};e.checkbox=function t(e){return" "};e.paragraph=function t(e){return"

    "+e+"

    \n"};e.table=function t(e,n){if(n)n=""+n+"";return"\n"+"\n"+e+"\n"+n+"
    \n"};e.tablerow=function t(e){return"\n"+e+"\n"};e.tablecell=function t(e,n){var i=n.header?"th":"td";var o=n.align?"<"+i+' align="'+n.align+'">':"<"+i+">";return o+e+"\n"};e.strong=function t(e){return""+e+""};e.em=function t(e){return""+e+""};e.codespan=function t(e){return""+e+""};e.br=function t(){return this.options.xhtml?"
    ":"
    "};e.del=function t(e){return""+e+""};e.link=function t(e,n,i){e=it(this.options.sanitize,this.options.baseUrl,e);if(e===null){return i}var o='";return o};e.image=function t(e,n,i){e=it(this.options.sanitize,this.options.baseUrl,e);if(e===null){return i}var o=''+i+'":">";return o};e.text=function t(e){return e};return t}();var st=function(){function t(){}var e=t.prototype;e.strong=function t(e){return e};e.em=function t(e){return e};e.codespan=function t(e){return e};e.del=function t(e){return e};e.html=function t(e){return e};e.text=function t(e){return e};e.link=function t(e,n,i){return""+i};e.image=function t(e,n,i){return""+i};e.br=function t(){return""};return t}();var at=function(){function t(){this.seen={}}var e=t.prototype;e.slug=function t(e){var t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++;t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}this.seen[t]=0;return t};return t}();var ct=s.defaults;var lt=P.unescape;var dt=function(){function t(t){this.options=t||ct;this.options.renderer=this.options.renderer||new rt;this.renderer=this.options.renderer;this.renderer.options=this.options;this.textRenderer=new st;this.slugger=new at}t.parse=function e(n,i){var o=new t(i);return o.parse(n)};var e=t.prototype;e.parse=function t(e,n){if(n===void 0){n=true}var i="",o,r,s,a,c,l,d,u,h,f,g,m,p,k,b,w,A,C;var v=e.length;for(o=0;o0&&b.tokens[0].type==="text"){b.tokens[0].text=C+" "+b.tokens[0].text;if(b.tokens[0].tokens&&b.tokens[0].tokens.length>0&&b.tokens[0].tokens[0].type==="text"){b.tokens[0].tokens[0].text=C+" "+b.tokens[0].tokens[0].text}}else{b.tokens.unshift({type:"text",text:C})}}else{k+=C}}k+=this.parse(b.tokens,p);h+=this.renderer.listitem(k,A,w)}i+=this.renderer.list(h,g,m);continue}case"html":{i+=this.renderer.html(f.text);continue}case"paragraph":{i+=this.renderer.paragraph(this.parseInline(f.tokens));continue}case"text":{h=f.tokens?this.parseInline(f.tokens):f.text;while(o+1An error occurred:

    "+ft(t.message+"",true)+"
    "}throw t}}kt.options=kt.setOptions=function(t){ut(kt.defaults,t);mt(kt.defaults);return kt};kt.getDefaults=gt;kt.defaults=pt;kt.use=function(t){var e=ut({},t);if(t.renderer){(function(){var n=kt.defaults.renderer||new rt;var i=function e(i){var o=n[i];n[i]=function(){for(var e=arguments.length,r=new Array(e),s=0;s