Files
2019-07-18 19:23:22 +08:00

2 lines
64 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
!function(){function a(a){var b=Object.create(null);return function(c){var d=e(c)?c:JSON.stringify(c),f=b[d];return f||(b[d]=a(c))}}function e(a){return"string"==typeof a||"number"==typeof a}function f(){}function g(a){return"function"==typeof a}function h(){var g,h,a=d({el:"#app",repo:"",maxLevel:6,subMaxLevel:0,loadSidebar:null,loadNavbar:null,homepage:"README.md",coverpage:"",basePath:"",auto2top:!1,name:"",themeColor:"",nameLink:window.location.pathname,autoHeader:!1,executeScript:null,noEmoji:!1,ga:"",ext:".md",mergeNavbar:!1,formatUpdated:"",externalLinkTarget:"_blank",routerMode:"hash",noCompileLinks:[],relativePath:!1},window.$docsify),f=document.currentScript||[].slice.call(document.getElementsByTagName("script")).filter(function(a){return/docsify\./.test(a.src)})[0];if(f){for(g in a)c.call(a,g)&&(h=f.getAttribute("data-"+b(g)),e(h)&&(a[g]=""===h?!0:h));a.loadSidebar===!0&&(a.loadSidebar="_sidebar"+a.ext),a.loadNavbar===!0&&(a.loadNavbar="_navbar"+a.ext),a.coverpage===!0&&(a.coverpage="_coverpage"+a.ext),a.repo===!0&&(a.repo=""),a.name===!0&&(a.name="")}return window.$docsify=a,a}function i(a){var b=["init","mounted","beforeEach","afterEach","doneEach","ready"];a._hooks={},a._lifecycle={},b.forEach(function(b){var c=a._hooks[b]=[];a._lifecycle[b]=function(a){return c.push(a)}})}function j(a,b,c,d){var e,g;void 0===d&&(d=f),e=a._hooks[b],g=function(a){var f,b=e[a];a>=e.length?d(c):"function"==typeof b?2===b.length?b(c,function(b){c=b,g(a+1)}):(f=b(c),c=void 0===f?c:f,g(a+1)):g(a+1)},g(0)}function o(a,b){if(void 0===b&&(b=!1),"string"==typeof a){if("undefined"!=typeof window.Vue)return s(a);a=b?s(a):n[a]||(n[a]=s(a))}return a}function s(a,b){return null!=a?b?a.querySelector(b):p.querySelector(a):void 0}function t(a,b){return[].slice.call(b?a.querySelectorAll(b):p.querySelectorAll(a))}function u(a,b){return a=p.createElement(a),b&&(a.innerHTML=b),a}function v(a,b){return a.appendChild(b)}function w(a,b){return null!=a?a.insertBefore(b,a.children[0]):void 0}function x(a,b,c){null!=a&&(g(b)?window.addEventListener(a,b):a.addEventListener(b,c))}function y(a,b,c){g(b)?window.removeEventListener(a,b):a.removeEventListener(b,c)}function z(a,b,c){a&&a.classList[c?b:"toggle"](c||b)}function A(a){v(r,u("style",a))}function C(a){return a?(/\/\//.test(a)||(a="https://github.com/"+a),a=a.replace(/^git\+/,""),'<a href="'+a+'" class="github-corner" aria-label="View source on Github">'+'<svg viewBox="0 0 250 250" aria-hidden="true">'+'<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>'+'<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>'+'<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path>'+"</svg>"+"</a>"):""}function D(a){return'<button class="sidebar-toggle"><div class="sidebar-toggle-button"><span></span><span></span><span></span></div></button><aside class="sidebar">'+(a.name?'<h1 class="app-name"><a class="app-name-link" data-nosearch>'+(a.logo?"<img alt="+a.name+" src="+a.logo+">":a.name)+"</a></h1>":"")+'<div class="sidebar-nav"><!--sidebar--></div>'+"</aside>",'<main><section class="content"><article class="markdown-section" id="main"><!--main--></article></section></main>'}function E(){var a=", 100%, 85%",b="linear-gradient(to left bottom, hsl("+(Math.floor(255*Math.random())+a)+") 0%,"+"hsl("+(Math.floor(255*Math.random())+a)+") 100%)";return'<section class="cover show" style="background: '+b+'">'+'<div class="cover-main"><!--cover--></div>'+'<div class="mask"></div>'+"</section>"}function F(a,b){if(void 0===b&&(b='<ul class="app-sub-sidebar">{inner}</ul>'),!a||!a.length)return"";var c="";return a.forEach(function(a){c+='<li><a class="section-link" href="'+a.slug+'">'+a.title+"</a></li>",a.children&&(c+=F(a.children,b))}),b.replace("{inner}",c)}function G(a,b){return'<p class="'+a+'">'+b.slice(5).trim()+"</p>"}function H(a){return"<style>:root{--theme-color: "+a+";}</style>"}function K(){var a=u("div");a.classList.add("progress"),v(q,a),I=a}function L(a){var e,b=a.loaded,c=a.total,d=a.step;!I&&K(),d?(e=parseInt(I.style.width||0,10)+d,e=e>80?80:e):e=Math.floor(100*(b/c)),I.style.opacity=1,I.style.width=e>=95?"100%":e+"%",e>=95&&(clearTimeout(J),J=setTimeout(function(){I.style.opacity=0,I.style.width="0%"},200))}function N(a,b,d){var e,g,h,i;if(void 0===b&&(b=!1),void 0===d&&(d={}),e=new XMLHttpRequest,g=function(){e.addEventListener.apply(e,arguments)},h=M[a])return{then:function(a){return a(h.content,h.opt)},abort:f};e.open("GET",a);for(i in d)c.call(d,i)&&e.setRequestHeader(i,d[i]);return e.send(),{then:function(c,d){if(void 0===d&&(d=f),b){var h=setInterval(function(){return L({step:Math.floor(5*Math.random()+1)})},500);g("progress",L),g("loadend",function(a){L(a),clearInterval(h)})}g("error",d),g("load",function(b){var g,f=b.target;f.status>=400?d(f):(g=M[a]={content:f.response,opt:{updatedAt:e.getResponseHeader("last-modified")}},c(g.content,g.opt))})},abort:function(){return 4!==e.readyState&&e.abort()}}}function O(a,b){a.innerHTML=a.innerHTML.replace(/var\(\s*--theme-color.*?\)/g,b)}function P(a){if(!(window.CSS&&window.CSS.supports&&window.CSS.supports("(--v:red)"))){var b=t("style:not(.inserted),link");[].forEach.call(b,function(b){if("STYLE"===b.nodeName)O(b,a);else if("LINK"===b.nodeName){var c=b.getAttribute("href");if(!/\.css$/.test(c))return;N(c).then(function(b){var c=u("style",b);r.appendChild(c),O(c,a)})}})}}function S(a){var b=[],c=0;return a.replace(Q,function(d,e,f){b.push(a.substring(c,f-1)),c=f+=d.length+1,b.push(function(a){return("00"+("string"==typeof R[d]?a[R[d]]():R[d](a))).slice(-d.length)})}),c!==a.length&&b.push(a.substring(c)),function(a){for(var c="",d=0,e=a||new Date;d<b.length;d++)c+="string"==typeof b[d]?b[d]:b[d](e);return c}}function U(a,b){return b={exports:{}},a(b,b.exports),b.exports}function X(a,b){var c=[],d={};return a.forEach(function(a){var e=a.level||1,f=e-1;e>b||(d[f]?d[f].children=(d[f].children||[]).concat(a):c.push(a),d[e]=a)}),c}function $(a){return a.toLowerCase()}function _(a){var b,d;return"string"!=typeof a?"":(b=a.trim().replace(/[A-Z]+/g,$).replace(/<[^>\d]+>/g,"").replace(Z,"").replace(/\s/g,"-").replace(/-+/g,"-").replace(/^(\d)/,"_$1"),d=Y[b],d=c.call(Y,b)?d+1:0,Y[b]=d,d&&(b=b+"-"+d),b)}function ab(a,b){return'<img class="emoji" src="https://github.githubassets.com/images/icons/emoji/'+b+'.png" alt="'+b+'" />'}function bb(a){return a.replace(/<(pre|template|code)[^>]*?>[\s\S]+?<\/(pre|template|code)>/g,function(a){return a.replace(/:/g,"__colon__")}).replace(/:(\w+?):/gi,k&&window.emojify||ab).replace(/__colon__/g,":")}function eb(a){var b={};return(a=a.trim().replace(/^(\?|#|&)/,""))?(a.split("&").forEach(function(a){var c=a.replace(/\+/g," ").split("=");b[c[0]]=c[1]&&cb(c[1])}),b):b}function fb(a,b){var c,d;void 0===b&&(b=[]),c=[];for(d in a)b.indexOf(d)>-1||c.push(a[d]?(db(d)+"="+db(a[d])).toLowerCase():db(d));return c.length?"?"+c.join("&"):""}function kb(){for(var a=[],b=arguments.length;b--;)a[b]=arguments[b];return ib(a.join("/"))}function nb(a){void 0===a&&(a="");var b={};return a&&(a=a.replace(/^'/,"").replace(/'$/,"").replace(/(?:^|\s):([\w-]+)=?([\w-]+)?/g,function(a,c,d){return b[c]=d&&d.replace(/&quot;/g,"")||!0,""}).trim()),{str:a,config:b}}function rb(a){var b=function(){return q.classList.toggle("close")};a=o(a),null!=a&&(x(a,"click",function(a){a.stopPropagation(),b()}),l&&x(q,"click",function(){return q.classList.contains("close")&&b()}))}function sb(a){a=o(a),null!=a&&x(a,"click",function(a){var b=a.target;"A"===b.nodeName&&b.nextSibling&&b.nextSibling.classList.contains("app-sub-sidebar")&&z(b.parentNode,"collapse")})}function tb(){var b,a=o("section.cover");a&&(b=a.getBoundingClientRect().height,window.pageYOffset>=b||a.classList.contains("hidden")?z(q,"add","sticky"):z(q,"remove","sticky"))}function ub(a,b,c,d){var e,f,g;return b=o(b),e=[],null!=b&&(e=t(b,"a")),f=decodeURI(a.toURL(a.getCurrentPath())),e.sort(function(a,b){return b.href.length-a.href.length}).forEach(function(a){var b=a.getAttribute("href"),d=c?a.parentNode:a;0!==f.indexOf(b)||g?z(d,"remove","active"):(g=a,z(d,"add","active"))}),d&&(p.title=g?g.title||g.innerText+" - "+qb:qb),g}function wb(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function Db(a){Ab&&Ab.stop(),Bb=!1,Ab=new xb({start:window.pageYOffset,end:a.getBoundingClientRect().top+window.pageYOffset,duration:500}).on("tick",function(a){return window.scrollTo(0,a)}).on("done",function(){Bb=!0,Ab=null}).begin()}function Eb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,p,r,u,v;if(Bb){for(b=o(".sidebar"),c=t(".anchor"),d=s(b,".sidebar-nav"),e=s(b,"li.active"),f=document.documentElement,g=(f&&f.scrollTop||document.body.scrollTop)-Cb,i=0,j=c.length;j>i;i+=1){if(k=c[i],k.offsetTop>g){h||(h=k);break}h=k}h&&(l=yb[Fb(decodeURIComponent(a),h.getAttribute("data-id"))],l&&l!==e&&(e&&e.classList.remove("active"),l.classList.add("active"),e=l,!zb&&q.classList.contains("sticky")&&(m=b.clientHeight,n=0,p=e.offsetTop+e.clientHeight+40,r=e.offsetTop>=d.scrollTop&&p<=d.scrollTop+m,u=m>p-n,v=r?d.scrollTop:u?n:p-m,b.scrollTop=v)))}}function Fb(a,b){return a+"?id="+b}function Gb(a){var c,d,e,f,g,h,i,j,k,m,n,b=s(".cover.show");for(Cb=b?b.offsetHeight:0,c=o(".sidebar"),d=[],null!=c&&(d=t(c,"li")),e=0,f=d.length;f>e;e+=1)g=d[e],h=g.querySelector("a"),h&&(i=h.getAttribute("href"),"/"!==i&&(j=a.parse(i),k=j.query.id,m=j.path,k&&(i=Fb(m,k))),i&&(yb[decodeURIComponent(i)]=g));l||(n=a.getCurrentPath(),y("scroll",function(){return Eb(n)}),x("scroll",function(){return Eb(n)}),x(c,"mouseover",function(){zb=!0}),x(c,"mouseleave",function(){zb=!1}))}function Hb(a,b){var c,d,e,f;b&&(c=s("#"+b),c&&Db(c),d=yb[Fb(a,b)],e=o(".sidebar"),f=s(e,"li.active"),f&&f.classList.remove("active"),d&&d.classList.add("active"))}function Jb(a){void 0===a&&(a=0),Ib.scrollTop=a===!0?0:Number(a)}function Lb(a,b){var f,g,h,i,c=a.embedTokens,d=a.compile;if(a.fetch,g=0,h=1,!c.length)return b({});for(;f=c[g++];)i=function(a){return function(c){var e,f,i;c&&("markdown"===a.embed.type?e=d.lexer(c):"code"===a.embed.type?(a.embed.fragment&&(f=a.embed.fragment,i=new RegExp("(?:###|\\/\\/\\/)\\s*\\["+f+"\\]([\\s\\S]*)(?:###|\\/\\/\\/)\\s*\\["+f+"\\]"),c=((c.match(i)||[])[1]||"").trim()),e=d.lexer("```"+a.embed.lang+"\n"+c.replace(/`/g,"@DOCSIFY_QM@")+"\n```\n")):"mermaid"===a.embed.type?(e=[{type:"html",text:'<div class="mermaid">\n'+c+"\n</div>"}],e.links={}):(e=[{type:"html",text:c}],e.links={})),b({token:a,embedToken:e}),++h>=g&&b({})}}(f),f.embed.url?N(f.embed.url).then(i):i(f.embed.html)}function Mb(a,b){var f,g,h,i,j,k,l,m,n,c=a.compiler,e=a.raw;return void 0===e&&(e=""),f=a.fetch,(g=Kb[e])?(h=g.slice(),h.links=g.links,b(h)):(i=c._marked,j=i.lexer(e),k=[],l=i.InlineLexer.rules.link,m=j.links,j.forEach(function(a,b){"paragraph"===a.type&&(a.text=a.text.replace(new RegExp(l.source,"g"),function(a,d,e,f){var g=c.compileEmbed(e,f);return g&&k.push({index:b,embed:g}),a}))}),n=0,Lb({compile:i,embedTokens:k,fetch:f},function(a){var g,c=a.embedToken,f=a.token;f?(g=f.index+n,d(m,c.links),j=j.slice(0,g).concat(c,j.slice(g+1)),n+=c.length-1):(Kb[e]=j.concat(),j.links=Kb[e].links=m,b(j))}),void 0)}function Nb(){var b,a=t(".markdown-section>script").filter(function(a){return!/template/.test(a.type)})[0];return a?(b=a.innerText.trim())?(setTimeout(function(){window.__EXECUTE_RESULT__=new Function(b)()},0),void 0):!1:!1}function Ob(a,b,c){return b="function"==typeof c?c(b):"string"==typeof c?S(c)(new Date(b)):b,a.replace(/{docsify-updated}/g,b)}function Pb(a){a||(a="<h1>404 - Not found</h1>"),this._renderTo(".markdown-section",a),!this.config.loadSidebar&&this._renderSidebar(),this.config.executeScript===!1||"undefined"==typeof window.Vue||Nb()?this.config.executeScript&&Nb():setTimeout(function(){var b=window.__EXECUTE_RESULT__;b&&b.$destroy&&b.$destroy(),window.__EXECUTE_RESULT__=(new window.Vue).$mount("#main")},0)}function Qb(a){var f,b=o(".app-name-link"),c=a.config.nameLink,d=a.route.path;b&&(e(a.config.nameLink)?b.setAttribute("href",c):"object"==typeof c&&(f=Object.keys(c).filter(function(a){return d.indexOf(a)>-1})[0],b.setAttribute("href",c[f])))}function Rb(a){a._renderTo=function(a,b,c){var d=o(a);d&&(d[c?"outerHTML":"innerHTML"]=b)},a._renderSidebar=function(a){var f,b=this.config,c=b.maxLevel,d=b.subMaxLevel,e=b.loadSidebar;this._renderTo(".sidebar-nav",this.compiler.sidebar(a,c)),f=ub(this.router,".sidebar-nav",!0,!0),e&&f?f.parentNode.innerHTML+=this.compiler.subSidebar(d)||"":this.compiler.subSidebar(),this._bindEventOnRendered(f)},a._bindEventOnRendered=function(a){var e,f,g,b=this.config,c=b.autoHeader,d=b.auto2top;Gb(this.router),c&&a&&(e=o("#main"),f=e.children[0],f&&"H1"!==f.tagName&&(g=u("h1"),g.innerText=a.innerText,w(e,g))),d&&Jb(d)},a._renderNav=function(a){a&&this._renderTo("nav",this.compiler.compile(a)),this.config.loadNavbar&&ub(this.router,"nav")},a._renderMain=function(a,b,c){var d=this;return void 0===b&&(b={}),a?(j(this,"beforeEach",a,function(e){var f,g=function(){b.updatedAt&&(f=Ob(f,b.updatedAt,d.config.formatUpdated)),j(d,"afterEach",f,function(a){return Pb.call(d,a)})};d.isHTML?(f=d.result=a,g(),c()):Mb({compiler:d.compiler,raw:e},function(a){f=d.compiler.compile(a),g(),c()})}),void 0):Pb.call(this,a)},a._renderCover=function(a,b){var d,e,f,c=o(".cover");return z(o("main"),b?"add":"remove","hidden"),a?(z(c,"add","show"),d=this.coverIsHTML?a:this.compiler.cover(a),e=d.trim().match('<p><img.*?data-origin="(.*?)"[^a]+alt="(.*?)">([^<]*?)</p>$'),e&&("color"===e[2]?c.style.background=e[1]+(e[3]||""):(f=e[1],z(c,"add","has-mask"),gb(e[1])||(f=kb(this.router.getBasePath(),e[1])),c.style.backgroundImage="url("+f+")",c.style.backgroundSize="cover",c.style.backgroundPosition="center center"),d=d.replace(e[0],"")),this._renderTo(".cover-main",d),tb(),void 0):(z(c,"remove","show"),void 0)},a._updateRender=function(){Qb(this)}}function Sb(a){var c,d,e,f,g,h,i,j,b=a.config;a.compiler=new pb(b,a.router),k&&(window.__current_docsify_compiler__=a.compiler),c=b.el||"#app",d=s("nav")||u("nav"),e=s(c),f="",g=q,e?(b.repo&&(f+=C(b.repo)),b.coverpage&&(f+=E()),b.logo&&(h=/^data:image/.test(b.logo),i=/(?:http[s]?:)?\/\//.test(b.logo),j=/^\./.test(b.logo),h||i||j||(b.logo=kb(a.router.getBasePath(),b.logo))),f+=D(b),a._renderTo(e,f,!0)):a.rendered=!0,b.mergeNavbar&&l?g=s(".sidebar"):(d.classList.add("app-nav"),b.repo||d.classList.add("no-badge")),b.loadNavbar&&w(g,d),b.themeColor&&(p.head.appendChild(u("div",H(b.themeColor)).firstElementChild),P(b.themeColor)),a._updateRender(),z(q,"ready")}function Ub(a,b,c){var d=Object.keys(b).filter(function(b){var d=Tb[b]||(Tb[b]=new RegExp("^"+b+"$"));return d.test(a)&&a!==c})[0];return d?Ub(a.replace(Tb[d],b[d]),b,a):a}function Vb(a,b){return new RegExp("\\.("+b.replace(/^\./,"")+"|html)$","g").test(a)?a:/\/$/g.test(a)?a+"README"+b:""+a+b}function Xb(a){var b=location.href.indexOf("#");location.replace(location.href.slice(0,b>=0?b:0)+"#"+a)}function $b(a){a.route={}}function ac(a){a.router.normalize(),a.route=a.router.parse(),q.setAttribute("data-page",a.route.file)}function bc(a){var d,b=a.config,c=b.routerMode||"hash";d="history"===c&&m?new Zb(b):new Yb(b),a.router=d,ac(a),_b=a.route,d.onchange(function(){return ac(a),a._updateRender(),_b.path===a.route.path?(a.$resetEvents(),void 0):(a.$fetch(),_b=a.route,void 0)})}function cc(a){a.$resetEvents=function(){Hb(this.route.path,this.route.query.id),this.config.loadNavbar&&ub(this.router,"nav")}}function dc(a){rb("button.sidebar-toggle",a.router),sb(".sidebar",a.router),a.config.coverpage?!l&&x("scroll",tb):q.classList.add("sticky")}function ec(a,b,c,d,e,f){a=f?a:a.replace(/\/$/,""),a=hb(a),a&&N(e.router.getFile(a+c)+b,!1,e.config.requestHeaders).then(d,function(){return ec(a,b,c,d,e)})}function fc(a){var b,c=function(){return b&&b.abort&&b.abort()},d=function(a,d,e){return c(),b=N(a,!0,e)},e=function(a,b){var f,g,c=b.notFoundPage,d=b.ext,e="_404"+(d||".md");switch(typeof c){case"boolean":g=e;break;case"string":g=c;break;case"object":f=Object.keys(c).sort(function(a,b){return b.length-a.length}).find(function(b){return a.match(new RegExp("^"+b))}),g=f&&c[f]||e}return g};a._loadSideAndNav=function(a,b,c,d){var e=this;return function(){if(!c)return d();var f=function(a){e._renderSidebar(a),d()};ec(a,b,c,f,e,!0)}},a._fetch=function(a){var c,e,g,h,i,j,k,l,m,n,b=this;void 0===a&&(a=f),c=this.route,e=c.path,g=c.query,h=fb(g,["id"]),i=this.config,j=i.loadNavbar,k=i.requestHeaders,l=i.loadSidebar,m=this.router.getFile(e),n=d(m+h,!0,k),this.isHTML=/\.html$/g.test(m),n.then(function(c,d){return b._renderMain(c,d,b._loadSideAndNav(e,h,l,a))},function(){b._fetchFallbackPage(m,h,a)||b._fetch404(m,h,a)}),j&&ec(e,h,j,function(a){return b._renderNav(a)},this,!0)},a._fetchCover=function(){var g,h,i,j,a=this,b=this.config,c=b.coverpage,d=b.requestHeaders,e=this.route.query,f=hb(this.route.path);return c?(g=null,h=this.route.path,"string"==typeof c?"/"===h&&(g=c):Array.isArray(c)?g=c.indexOf(h)>-1&&"_coverpage":(i=c[h],g=i===!0?"_coverpage":i),j=Boolean(g)&&this.config.onlyCover,g?(g=this.router.getFile(f+g),this.coverIsHTML=/\.html$/g.test(g),N(g+fb(e,["id"]),!1,d).then(function(b){return a._renderCover(b,j)})):this._renderCover(null,j),j):void 0},a.$fetch=function(a){var c,d,b=this;void 0===a&&(a=f),c=function(){j(b,"doneEach"),a()},d=this._fetchCover(),d?c():this._fetch(function(){b.$resetEvents(),c()})},a._fetchFallbackPage=function(a,b,c){var g,h,i,j,k,l,m,e=this;return void 0===c&&(c=f),g=this.config,h=g.requestHeaders,i=g.fallbackLanguages,j=g.loadSidebar,i?(k=a.split("/")[1],-1===i.indexOf(k)?!1:(l=a.replace(new RegExp("^/"+k),""),m=d(l+b,!0,h),m.then(function(d,f){return e._renderMain(d,f,e._loadSideAndNav(a,b,j,c))},function(){return e._fetch404(a,b,c)}),!0)):!1},a._fetch404=function(a,b,c){var h,i,j,k,l,m,g=this;return void 0===c&&(c=f),h=this.config,i=h.loadSidebar,j=h.requestHeaders,k=h.notFoundPage,l=this._loadSideAndNav(a,b,i,c),k?(m=e(a,this.config),d(this.router.getFile(m),!0,j).then(function(a,b){return g._renderMain(a,b,l)},function(){return g._renderMain(null,{},l)}),!0):(this._renderMain(null,{},l),!1)}}function gc(a){var d,b=a.config,c=b.loadSidebar;a.rendered?(d=ub(a.router,".sidebar-nav",!0,!0),c&&d&&(d.parentNode.innerHTML+=window.__SUB_SIDEBAR__),a._bindEventOnRendered(d),a.$resetEvents(),j(a,"doneEach"),j(a,"ready")):a.$fetch(function(){return j(a,"ready")})}function hc(a){a._init=function(){var a=this;a.config=h(),i(a),ic(a),j(a,"init"),bc(a),Sb(a),dc(a),gc(a),j(a,"mounted")}}function ic(a){[].concat(a.config.plugins).forEach(function(b){return g(b)&&b(a._lifecycle,a)})}function kc(){window.Docsify={util:jc,dom:B,get:N,slugify:_,version:"4.9.4"},window.DocsifyCompiler=pb,window.marked=V,window.Prism=W}function lc(a){var b=document.readyState;return"complete"===b||"interactive"===b?setTimeout(a,0):(document.addEventListener("DOMContentLoaded",a),void 0)}function mc(){this._init()}var I,J,cb,db,gb,hb,ib,jb,lb,mb,ob,pb,qb,vb,xb,yb,zb,Ab,Bb,Cb,Ib,Kb,Tb,Wb,Yb,Zb,_b,jc,nc,b=a(function(a){return a.replace(/([A-Z])/g,function(a){return"-"+a.toLowerCase()})}),c=Object.prototype.hasOwnProperty,d=Object.assign||function(a){var d,e,f,b=arguments;for(d=1;d<arguments.length;d++){e=Object(b[d]);for(f in e)c.call(e,f)&&(a[f]=e[f])}return a},k=!0,l=k&&document.body.clientWidth<=600,m=k&&function(){return window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/)}(),n={},p=k&&document,q=k&&p.body,r=k&&p.head,B=Object.freeze({getNode:o,$:p,body:q,head:r,find:s,findAll:t,create:u,appendTo:v,before:w,on:x,off:y,toggleClass:z,style:A}),M={},Q=/([^{]*?)\w(?=\})/g,R={YYYY:"getFullYear",YY:"getYear",MM:function(a){return a.getMonth()+1},DD:"getDate",HH:"getHours",mm:"getMinutes",ss:"getSeconds"},T="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},V=U(function(a){!function(){function d(a){this.tokens=[],this.tokens.links=Object.create(null),this.options=a||t.defaults,this.rules=c.normal,this.options.pedantic?this.rules=c.pedantic:this.options.gfm&&(this.rules=this.options.tables?c.tables:c.gfm)}function f(a,b){if(this.options=b||t.defaults,this.links=a,this.rules=e.normal,this.renderer=this.options.renderer||new g,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=e.pedantic:this.options.gfm&&(this.rules=this.options.breaks?e.breaks:e.gfm)}function g(a){this.options=a||t.defaults}function h(){}function i(a){this.tokens=[],this.token=null,this.options=a||t.defaults,this.options.renderer=this.options.renderer||new g,this.renderer=this.options.renderer,this.renderer.options=this.options}function j(a,b){if(b){if(j.escapeTest.test(a))return a.replace(j.escapeReplace,function(a){return j.replacements[a]})}else if(j.escapeTestNoEncode.test(a))return a.replace(j.escapeReplaceNoEncode,function(a){return j.replacements[a]});return a}function k(a){return a.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(a,b){return b=b.toLowerCase(),"colon"===b?":":"#"===b.charAt(0)?"x"===b.charAt(1)?String.fromCharCode(parseInt(b.substring(2),16)):String.fromCharCode(+b.substring(1)):""})}function l(a,b){return a=a.source||a,b=b||"",{replace:function(b,c){return c=c.source||c,c=c.replace(/(^|[^\[])\^/g,"$1"),a=a.replace(b,c),this},getRegex:function(){return new RegExp(a,b)}}}function m(a,b){return n[" "+a]||(n[" "+a]=/^[^:]+:\/*[^\/]*$/.test(a)?a+"/":s(a,"/",!0)),a=n[" "+a],"//"===b.slice(0,2)?a.replace(/:[\s\S]*/,":")+b:"/"===b.charAt(0)?a.replace(/(:\/*[^\/]*)[\s\S]*/,"$1")+b:a+b}function p(){}function q(a){for(var d,e,b=arguments,c=1;c<arguments.length;c++){d=b[c];for(e in d)Object.prototype.hasOwnProperty.call(d,e)&&(a[e]=d[e])}return a}function r(a,b){var c=a.replace(/\|/g,function(a,b,c){for(var d=!1,e=b;--e>=0&&"\\"===c[e];)d=!d;return d?"|":" |"}),d=c.split(/ \|/),e=0;if(d.length>b)d.splice(b);else for(;d.length<b;)d.push("");for(;e<d.length;e++)d[e]=d[e].trim().replace(/\\\|/g,"|");return d}function s(a,b,c){var d,e;if(0===a.length)return"";for(d=0;d<a.length;)if(e=a.charAt(a.length-d-1),e!==b||c){if(e===b||!c)break;d++}else d++;return a.substr(0,a.length-d)}function t(a,b,c){var f,g,e,h,l;if("undefined"==typeof a||null===a)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof a)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(a)+", string expected");if(c||"function"==typeof b){c||(c=b,b=null),b=q({},t.defaults,b||{}),e=b.highlight,h=0;try{f=d.lex(a,b)}catch(k){return c(k)}if(g=f.length,l=function(a){if(a)return b.highlight=e,c(a);var d;try{d=i.parse(f,b)}catch(g){a=g}return b.highlight=e,a?c(a):c(null,d)},!e||e.length<3)return l();if(delete b.highlight,!g)return l();for(;h<f.length;h++)!function(a){return"code"!==a.type?--g||l():e(a.text,a.lang,function(b,c){return b?l(b):null==c||c===a.text?--g||l():(a.text=c,a.escaped=!0,--g||l(),void 0)})}(f[h])}else try{return b&&(b=q({},t.defaults,b)),i.parse(d.lex(a,b),b)}catch(k){if(k.message+="\nPlease report this to https://github.com/markedjs/marked.",(b||t.defaults).silent)return"<p>An error occurred:</p><pre>"+j(k.message+"",!0)+"</pre>";throw k}}var e,n,o,c={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:p,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:p,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:p,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};c._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,c._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,c.def=l(c.def).replace("label",c._label).replace("title",c._title).getRegex(),c.bullet=/(?:[*+-]|\d+\.)/,c.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,c.item=l(c.item,"gm").replace(/bull/g,c.bullet).getRegex(),c.list=l(c.list).replace(/bull/g,c.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+c.def.source+")").getRegex(),c._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",c._comment=/<!--(?!-?>)[\s\S]*?-->/,c.html=l(c.html,"i").replace("comment",c._comment).replace("tag",c._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),c.paragraph=l(c.paragraph).replace("hr",c.hr).replace("heading",c.heading).replace("lheading",c.lheading).replace("tag",c._tag).getRegex(),c.blockquote=l(c.blockquote).replace("paragraph",c.paragraph).getRegex(),c.normal=q({},c),c.gfm=q({},c.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),c.gfm.paragraph=l(c.paragraph).replace("(?!","(?!"+c.gfm.fences.source.replace("\\1","\\2")+"|"+c.list.source.replace("\\1","\\3")+"|").getRegex(),c.tables=q({},c.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),c.pedantic=q({},c.normal,{html:l("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",c._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),d.rules=c,d.lex=function(a,b){var c=new d(b);return c.lex(a)},d.prototype.lex=function(a){return a=a.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(a,!0)},d.prototype.token=function(a,b){var e,f,g,h,i,j,k,l,m,n,o,p,q,t,u,v,d=this;for(a=a.replace(/^ +$/gm,"");a;)if((g=d.rules.newline.exec(a))&&(a=a.substring(g[0].length),g[0].length>1&&d.tokens.push({type:"space"})),g=d.rules.code.exec(a))a=a.substring(g[0].length),g=g[0].replace(/^ {4}/gm,""),d.tokens.push({type:"code",text:d.options.pedantic?g:s(g,"\n")});else if(g=d.rules.fences.exec(a))a=a.substring(g[0].length),d.tokens.push({type:"code",lang:g[2],text:g[3]||""});else if(g=d.rules.heading.exec(a))a=a.substring(g[0].length),d.tokens.push({type:"heading",depth:g[1].length,text:g[2]});else if(b&&(g=d.rules.nptable.exec(a))&&(j={type:"table",header:r(g[1].replace(/^ *| *\| *$/g,"")),align:g[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:g[3]?g[3].replace(/\n$/,"").split("\n"):[]},j.header.length===j.align.length)){for(a=a.substring(g[0].length),o=0;o<j.align.length;o++)j.align[o]=/^ *-+: *$/.test(j.align[o])?"right":/^ *:-+: *$/.test(j.align[o])?"center":/^ *:-+ *$/.test(j.align[o])?"left":null;for(o=0;o<j.cells.length;o++)j.cells[o]=r(j.cells[o],j.header.length);d.tokens.push(j)}else if(g=d.rules.hr.exec(a))a=a.substring(g[0].length),d.tokens.push({type:"hr"});else if(g=d.rules.blockquote.exec(a))a=a.substring(g[0].length),d.tokens.push({type:"blockquote_start"}),g=g[0].replace(/^ *> ?/gm,""),d.token(g,b),d.tokens.push({type:"blockquote_end"});else if(g=d.rules.list.exec(a)){for(a=a.substring(g[0].length),h=g[2],t=h.length>1,k={type:"list_start",ordered:t,start:t?+h:"",loose:!1},d.tokens.push(k),g=g[0].match(d.rules.item),l=[],e=!1,q=g.length,o=0;q>o;o++)j=g[o],n=j.length,j=j.replace(/^ *([*+-]|\d+\.) +/,""),~j.indexOf("\n ")&&(n-=j.length,j=d.options.pedantic?j.replace(/^ {1,4}/gm,""):j.replace(new RegExp("^ {1,"+n+"}","gm"),"")),d.options.smartLists&&o!==q-1&&(i=c.bullet.exec(g[o+1])[0],h===i||h.length>1&&i.length>1||(a=g.slice(o+1).join("\n")+a,o=q-1)),f=e||/\n\n(?!\s*$)/.test(j),o!==q-1&&(e="\n"===j.charAt(j.length-1),f||(f=e)),f&&(k.loose=!0),u=/^\[[ xX]\] /.test(j),v=void 0,u&&(v=" "!==j[1],j=j.replace(/^\[[ xX]\] +/,"")),m={type:"list_item_start",task:u,checked:v,loose:f},l.push(m),d.tokens.push(m),d.token(j,!1),d.tokens.push({type:"list_item_end"});if(k.loose)for(q=l.length,o=0;q>o;o++)l[o].loose=!0;d.tokens.push({type:"list_end"})}else if(g=d.rules.html.exec(a))a=a.substring(g[0].length),d.tokens.push({type:d.options.sanitize?"paragraph":"html",pre:!d.options.sanitizer&&("pre"===g[1]||"script"===g[1]||"style"===g[1]),text:g[0]});else if(b&&(g=d.rules.def.exec(a)))a=a.substring(g[0].length),g[3]&&(g[3]=g[3].substring(1,g[3].length-1)),p=g[1].toLowerCase().replace(/\s+/g," "),d.tokens.links[p]||(d.tokens.links[p]={href:g[2],title:g[3]});else if(b&&(g=d.rules.table.exec(a))&&(j={type:"table",header:r(g[1].replace(/^ *| *\| *$/g,"")),align:g[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:g[3]?g[3].replace(/(?: *\| *)?\n$/,"").split("\n"):[]},j.header.length===j.align.length)){for(a=a.substring(g[0].length),o=0;o<j.align.length;o++)j.align[o]=/^ *-+: *$/.test(j.align[o])?"right":/^ *:-+: *$/.test(j.align[o])?"center":/^ *:-+ *$/.test(j.align[o])?"left":null;for(o=0;o<j.cells.length;o++)j.cells[o]=r(j.cells[o].replace(/^ *\| *| *\| *$/g,""),j.header.length);d.tokens.push(j)}else if(g=d.rules.lheading.exec(a))a=a.substring(g[0].length),d.tokens.push({type:"heading",depth:"="===g[2]?1:2,text:g[1]});else if(b&&(g=d.rules.paragraph.exec(a)))a=a.substring(g[0].length),d.tokens.push({type:"paragraph",text:"\n"===g[1].charAt(g[1].length-1)?g[1].slice(0,-1):g[1]});else if(g=d.rules.text.exec(a))a=a.substring(g[0].length),d.tokens.push({type:"text",text:g[0]});else if(a)throw new Error("Infinite loop on byte: "+a.charCodeAt(0));return this.tokens},e={escape:/^\\([!"#$%&'()*+,\-.\/:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:p,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s])__(?!_)|^\*\*([^\s])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_)|^_([^\s_][\s\S]*?[^\s])_(?!_)|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:p,text:/^(`+|[^`])[\s\S]*?(?=[\\<!\[`*]|\b_| {2,}\n|$)/},e._escapes=/\\([!"#$%&'()*+,\-.\/:;<=>?@\[\]\\^_`{|}~])/g,e._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,e._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])?)+(?![-_])/,e.autolink=l(e.autolink).replace("scheme",e._scheme).replace("email",e._email).getRegex(),e._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,e.tag=l(e.tag).replace("comment",c._comment).replace("attribute",e._attribute).getRegex(),e._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|[^\[\]\\])*?/,e._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|(?:\\[()]?|\([^\s\x00-\x1f\\]*\)|[^\s\x00-\x1f()\\])*?)/,e._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,e.link=l(e.link).replace("label",e._label).replace("href",e._href).replace("title",e._title).getRegex(),e.reflink=l(e.reflink).replace("label",e._label).getRegex(),e.normal=q({},e),e.pedantic=q({},e.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:l(/^!?\[(label)\]\((.*?)\)/).replace("label",e._label).getRegex(),reflink:l(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",e._label).getRegex()}),e.gfm=q({},e.normal,{escape:l(e.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:l(e.text).replace("]|","~]|").replace("|$","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|$").getRegex()}),e.gfm.url=l(e.gfm.url).replace("email",e.gfm._extended_email).getRegex(),e.breaks=q({},e.gfm,{br:l(e.br).replace("{2,}","*").getRegex(),text:l(e.gfm.text).replace("{2,}","*").getRegex()}),f.rules=e,f.output=function(a,b,c){var d=new f(b,c);
return d.output(a)},f.prototype.output=function(a){for(var d,e,g,h,i,k,b=this,c="";a;)if(i=b.rules.escape.exec(a))a=a.substring(i[0].length),c+=i[1];else if(i=b.rules.autolink.exec(a))a=a.substring(i[0].length),"@"===i[2]?(e=j(b.mangle(i[1])),g="mailto:"+e):(e=j(i[1]),g=e),c+=b.renderer.link(g,null,e);else if(b.inLink||!(i=b.rules.url.exec(a))){if(i=b.rules.tag.exec(a))!b.inLink&&/^<a /i.test(i[0])?b.inLink=!0:b.inLink&&/^<\/a>/i.test(i[0])&&(b.inLink=!1),!b.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?b.inRawBlock=!0:b.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(b.inRawBlock=!1),a=a.substring(i[0].length),c+=b.options.sanitize?b.options.sanitizer?b.options.sanitizer(i[0]):j(i[0]):i[0];else if(i=b.rules.link.exec(a))a=a.substring(i[0].length),b.inLink=!0,g=i[2],b.options.pedantic?(d=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(g),d?(g=d[1],h=d[3]):h=""):h=i[3]?i[3].slice(1,-1):"",g=g.trim().replace(/^<([\s\S]*)>$/,"$1"),c+=b.outputLink(i,{href:f.escapes(g),title:f.escapes(h)}),b.inLink=!1;else if((i=b.rules.reflink.exec(a))||(i=b.rules.nolink.exec(a))){if(a=a.substring(i[0].length),d=(i[2]||i[1]).replace(/\s+/g," "),d=b.links[d.toLowerCase()],!d||!d.href){c+=i[0].charAt(0),a=i[0].substring(1)+a;continue}b.inLink=!0,c+=b.outputLink(i,d),b.inLink=!1}else if(i=b.rules.strong.exec(a))a=a.substring(i[0].length),c+=b.renderer.strong(b.output(i[4]||i[3]||i[2]||i[1]));else if(i=b.rules.em.exec(a))a=a.substring(i[0].length),c+=b.renderer.em(b.output(i[6]||i[5]||i[4]||i[3]||i[2]||i[1]));else if(i=b.rules.code.exec(a))a=a.substring(i[0].length),c+=b.renderer.codespan(j(i[2].trim(),!0));else if(i=b.rules.br.exec(a))a=a.substring(i[0].length),c+=b.renderer.br();else if(i=b.rules.del.exec(a))a=a.substring(i[0].length),c+=b.renderer.del(b.output(i[1]));else if(i=b.rules.text.exec(a))a=a.substring(i[0].length),c+=b.inRawBlock?b.renderer.text(i[0]):b.renderer.text(j(b.smartypants(i[0])));else if(a)throw new Error("Infinite loop on byte: "+a.charCodeAt(0))}else{if("@"===i[2])e=j(i[0]),g="mailto:"+e;else{do k=i[0],i[0]=b.rules._backpedal.exec(i[0])[0];while(k!==i[0]);e=j(i[0]),g="www."===i[1]?"http://"+e:e}a=a.substring(i[0].length),c+=b.renderer.link(g,null,e)}return c},f.escapes=function(a){return a?a.replace(f.rules._escapes,"$1"):a},f.prototype.outputLink=function(a,b){var c=b.href,d=b.title?j(b.title):null;return"!"!==a[0].charAt(0)?this.renderer.link(c,d,this.output(a[1])):this.renderer.image(c,d,j(a[1]))},f.prototype.smartypants=function(a){return this.options.smartypants?a.replace(/---/g,"—").replace(/--/g,"").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1").replace(/'/g,"").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):a},f.prototype.mangle=function(a){if(!this.options.mangle)return a;for(var e,b="",c=a.length,d=0;c>d;d++)e=a.charCodeAt(d),Math.random()>.5&&(e="x"+e.toString(16)),b+="&#"+e+";";return b},g.prototype.code=function(a,b,c){if(this.options.highlight){var d=this.options.highlight(a,b);null!=d&&d!==a&&(c=!0,a=d)}return b?'<pre><code class="'+this.options.langPrefix+j(b,!0)+'">'+(c?a:j(a,!0))+"</code></pre>\n":"<pre><code>"+(c?a:j(a,!0))+"</code></pre>"},g.prototype.blockquote=function(a){return"<blockquote>\n"+a+"</blockquote>\n"},g.prototype.html=function(a){return a},g.prototype.heading=function(a,b,c){return this.options.headerIds?"<h"+b+' id="'+this.options.headerPrefix+c.toLowerCase().replace(/[^\w]+/g,"-")+'">'+a+"</h"+b+">\n":"<h"+b+">"+a+"</h"+b+">\n"},g.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},g.prototype.list=function(a,b,c){var d=b?"ol":"ul",e=b&&1!==c?' start="'+c+'"':"";return"<"+d+e+">\n"+a+"</"+d+">\n"},g.prototype.listitem=function(a){return"<li>"+a+"</li>\n"},g.prototype.checkbox=function(a){return"<input "+(a?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},g.prototype.paragraph=function(a){return"<p>"+a+"</p>\n"},g.prototype.table=function(a,b){return b&&(b="<tbody>"+b+"</tbody>"),"<table>\n<thead>\n"+a+"</thead>\n"+b+"</table>\n"},g.prototype.tablerow=function(a){return"<tr>\n"+a+"</tr>\n"},g.prototype.tablecell=function(a,b){var c=b.header?"th":"td",d=b.align?"<"+c+' align="'+b.align+'">':"<"+c+">";return d+a+"</"+c+">\n"},g.prototype.strong=function(a){return"<strong>"+a+"</strong>"},g.prototype.em=function(a){return"<em>"+a+"</em>"},g.prototype.codespan=function(a){return"<code>"+a+"</code>"},g.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},g.prototype.del=function(a){return"<del>"+a+"</del>"},g.prototype.link=function(a,b,c){var d,f;if(this.options.sanitize){try{d=decodeURIComponent(k(a)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return c}if(0===d.indexOf("javascript:")||0===d.indexOf("vbscript:")||0===d.indexOf("data:"))return c}this.options.baseUrl&&!o.test(a)&&(a=m(this.options.baseUrl,a));try{a=encodeURI(a).replace(/%25/g,"%")}catch(e){return c}return f='<a href="'+j(a)+'"',b&&(f+=' title="'+b+'"'),f+=">"+c+"</a>"},g.prototype.image=function(a,b,c){this.options.baseUrl&&!o.test(a)&&(a=m(this.options.baseUrl,a));var d='<img src="'+a+'" alt="'+c+'"';return b&&(d+=' title="'+b+'"'),d+=this.options.xhtml?"/>":">"},g.prototype.text=function(a){return a},h.prototype.strong=h.prototype.em=h.prototype.codespan=h.prototype.del=h.prototype.text=function(a){return a},h.prototype.link=h.prototype.image=function(a,b,c){return""+c},h.prototype.br=function(){return""},i.parse=function(a,b){var c=new i(b);return c.parse(a)},i.prototype.parse=function(a){var c,b=this;for(this.inline=new f(a.links,this.options),this.inlineText=new f(a.links,q({},this.options,{renderer:new h})),this.tokens=a.reverse(),c="";this.next();)c+=b.tok();return c},i.prototype.next=function(){return this.token=this.tokens.pop()},i.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},i.prototype.parseText=function(){for(var a=this,b=this.token.text;"text"===this.peek().type;)b+="\n"+a.next().text;return this.inline.output(b)},i.prototype.tok=function(){var d,e,f,g,b,c,h,i,j,a=this;switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,k(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":for(b="",c="",f="",d=0;d<this.token.header.length;d++)f+=a.renderer.tablecell(a.inline.output(a.token.header[d]),{header:!0,align:a.token.align[d]});for(b+=this.renderer.tablerow(f),d=0;d<this.token.cells.length;d++){for(e=a.token.cells[d],f="",g=0;g<e.length;g++)f+=a.renderer.tablecell(a.inline.output(e[g]),{header:!1,align:a.token.align[g]});c+=a.renderer.tablerow(f)}return this.renderer.table(b,c);case"blockquote_start":for(c="";"blockquote_end"!==this.next().type;)c+=a.tok();return this.renderer.blockquote(c);case"list_start":for(c="",h=this.token.ordered,i=this.token.start;"list_end"!==this.next().type;)c+=a.tok();return this.renderer.list(c,h,i);case"list_item_start":for(c="",j=this.token.loose,this.token.task&&(c+=this.renderer.checkbox(this.token.checked));"list_item_end"!==this.next().type;)c+=j||"text"!==a.token.type?a.tok():a.parseText();return this.renderer.listitem(c);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}},j.escapeTest=/[&<>"']/,j.escapeReplace=/[&<>"']/g,j.replacements={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},j.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,j.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g,n={},o=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,p.exec=p,t.options=t.setOptions=function(a){return q(t.defaults,a),t},t.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new g,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},t.defaults=t.getDefaults(),t.Parser=i,t.parser=i.parse,t.Renderer=g,t.TextRenderer=h,t.Lexer=d,t.lexer=d.lex,t.InlineLexer=f,t.inlineLexer=f.output,t.parse=t,a.exports=t}(T||("undefined"!=typeof window?window:T))}),W=U(function(a){var b="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},c=function(){var f,a=/\blang(?:uage)?-([\w-]+)\b/i,c=0,d=b.Prism={manual:b.Prism&&b.Prism.manual,disableWorkerMessageHandler:b.Prism&&b.Prism.disableWorkerMessageHandler,util:{encode:function(a){return a instanceof e?new e(a.type,d.util.encode(a.content),a.alias):"Array"===d.util.type(a)?a.map(d.util.encode):a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(a){return Object.prototype.toString.call(a).match(/\[object (\w+)\]/)[1]},objId:function(a){return a["__id"]||Object.defineProperty(a,"__id",{value:++c}),a["__id"]},clone:function(a,b){var e,f,c=d.util.type(a);switch(b=b||{},c){case"Object":if(b[d.util.objId(a)])return b[d.util.objId(a)];e={},b[d.util.objId(a)]=e;for(f in a)a.hasOwnProperty(f)&&(e[f]=d.util.clone(a[f],b));return e;case"Array":return b[d.util.objId(a)]?b[d.util.objId(a)]:(e=[],b[d.util.objId(a)]=e,a.forEach(function(a,c){e[c]=d.util.clone(a,b)}),e)}return a}},languages:{extend:function(a,b){var e,c=d.util.clone(d.languages[a]);for(e in b)c[e]=b[e];return c},insertBefore:function(a,b,c,e){var f,g,h,i;if(e=e||d.languages,f=e[a],2==arguments.length){c=arguments[1];for(g in c)c.hasOwnProperty(g)&&(f[g]=c[g]);return f}h={};for(i in f)if(f.hasOwnProperty(i)){if(i==b)for(g in c)c.hasOwnProperty(g)&&(h[g]=c[g]);h[i]=f[i]}return d.languages.DFS(d.languages,function(b,c){c===e[a]&&b!=a&&(this[b]=h)}),e[a]=h},DFS:function(a,b,c,e){e=e||{};for(var f in a)a.hasOwnProperty(f)&&(b.call(a,f,a[f],c||f),"Object"!==d.util.type(a[f])||e[d.util.objId(a[f])]?"Array"!==d.util.type(a[f])||e[d.util.objId(a[f])]||(e[d.util.objId(a[f])]=!0,d.languages.DFS(a[f],b,f,e)):(e[d.util.objId(a[f])]=!0,d.languages.DFS(a[f],b,null,e)))}},plugins:{},highlightAll:function(a,b){d.highlightAllUnder(document,a,b)},highlightAllUnder:function(a,b,c){var f,h,g,e={callback:c,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};for(d.hooks.run("before-highlightall",e),f=e.elements||a.querySelectorAll(e.selector),g=0;h=f[g++];)d.highlightElement(h,b===!0,e.callback)},highlightElement:function(c,e,f){for(var g,h,j,k,l,i=c;i&&!a.test(i.className);)i=i.parentNode;return i&&(g=(i.className.match(a)||[,""])[1].toLowerCase(),h=d.languages[g]),c.className=c.className.replace(a,"").replace(/\s+/g," ")+" language-"+g,c.parentNode&&(i=c.parentNode,/pre/i.test(i.nodeName)&&(i.className=i.className.replace(a,"").replace(/\s+/g," ")+" language-"+g)),j=c.textContent,k={element:c,language:g,grammar:h,code:j},d.hooks.run("before-sanity-check",k),k.code&&k.grammar?(d.hooks.run("before-highlight",k),e&&b.Worker?(l=new Worker(d.filename),l.onmessage=function(a){k.highlightedCode=a.data,d.hooks.run("before-insert",k),k.element.innerHTML=k.highlightedCode,f&&f.call(k.element),d.hooks.run("after-highlight",k),d.hooks.run("complete",k)},l.postMessage(JSON.stringify({language:k.language,code:k.code,immediateClose:!0}))):(k.highlightedCode=d.highlight(k.code,k.grammar,k.language),d.hooks.run("before-insert",k),k.element.innerHTML=k.highlightedCode,f&&f.call(c),d.hooks.run("after-highlight",k),d.hooks.run("complete",k)),void 0):(k.code&&(d.hooks.run("before-highlight",k),k.element.textContent=k.code,d.hooks.run("after-highlight",k)),d.hooks.run("complete",k),void 0)},highlight:function(a,b,c){var f={code:a,grammar:b,language:c};return d.hooks.run("before-tokenize",f),f.tokens=d.tokenize(f.code,f.grammar),d.hooks.run("after-tokenize",f),e.stringify(d.util.encode(f.tokens),f.language)},matchGrammar:function(a,b,c,e,f,g,h){var j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,i=d.Token;for(j in c)if(c.hasOwnProperty(j)&&c[j]){if(j==h)return;for(k=c[j],k="Array"===d.util.type(k)?k:[k],l=0;l<k.length;++l)for(m=k[l],n=m.inside,o=!!m.lookbehind,p=!!m.greedy,q=0,r=m.alias,p&&!m.pattern.global&&(s=m.pattern.toString().match(/[imuy]*$/)[0],m.pattern=RegExp(m.pattern.source,s+"g")),m=m.pattern||m,t=e,u=f;t<b.length;u+=b[t].length,++t){if(v=b[t],b.length>a.length)return;if(!(v instanceof i)){if(p&&t!=b.length-1){if(m.lastIndex=u,w=m.exec(a),!w)break;for(x=w.index+(o?w[1].length:0),y=w.index+w[0].length,z=t,A=u,B=b.length;B>z&&(y>A||!b[z].type&&!b[z-1].greedy);++z)A+=b[z].length,x>=A&&(++t,u=A);if(b[t]instanceof i)continue;C=z-t,v=a.slice(u,A),w.index-=u}else m.lastIndex=0,w=m.exec(v),C=1;if(w){if(o&&(q=w[1]?w[1].length:0),x=w.index+q,w=w[0].slice(q),y=x+w.length,D=v.slice(0,x),E=v.slice(y),F=[t,C],D&&(++t,u+=D.length,F.push(D)),G=new i(j,n?d.tokenize(w,n):w,r,w,p),F.push(G),E&&F.push(E),Array.prototype.splice.apply(b,F),1!=C&&d.matchGrammar(a,b,c,t,u,!0,j),g)break}else if(g)break}}}},tokenize:function(a,b){var g,e=[a],f=b.rest;if(f){for(g in f)b[g]=f[g];delete b.rest}return d.matchGrammar(a,e,b,0,0,!1),e},hooks:{all:{},add:function(a,b){var c=d.hooks.all;c[a]=c[a]||[],c[a].push(b)},run:function(a,b){var f,e,c=d.hooks.all[a];if(c&&c.length)for(e=0;f=c[e++];)f(b)}}},e=d.Token=function(a,b,c,d,e){this.type=a,this.content=b,this.alias=c,this.length=0|(d||"").length,this.greedy=!!e};return e.stringify=function(a,b,c){var f,g,h;return"string"==typeof a?a:"Array"===d.util.type(a)?a.map(function(c){return e.stringify(c,b,a)}).join(""):(f={type:a.type,content:e.stringify(a.content,b,c),tag:"span",classes:["token",a.type],attributes:{},language:b,parent:c},a.alias&&(g="Array"===d.util.type(a.alias)?a.alias:[a.alias],Array.prototype.push.apply(f.classes,g)),d.hooks.run("wrap",f),h=Object.keys(f.attributes).map(function(a){return a+'="'+(f.attributes[a]||"").replace(/"/g,"&quot;")+'"'}).join(" "),"<"+f.tag+' class="'+f.classes.join(" ")+'"'+(h?" "+h:"")+">"+f.content+"</"+f.tag+">")},b.document?(f=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop(),f&&(d.filename=f.src,d.manual||f.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(d.highlightAll):window.setTimeout(d.highlightAll,16):document.addEventListener("DOMContentLoaded",d.highlightAll))),b.Prism):b.addEventListener?(d.disableWorkerMessageHandler||b.addEventListener("message",function(a){var c=JSON.parse(a.data),e=c.language,f=c.code,g=c.immediateClose;b.postMessage(d.highlight(f,d.languages[e],e)),g&&b.close()},!1),b.Prism):b.Prism}();a.exports&&(a.exports=c),"undefined"!=typeof T&&(T.Prism=c),c.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:/<!DOCTYPE[\s\S]+?>/i,cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},c.languages.markup["tag"].inside["attr-value"].inside["entity"]=c.languages.markup["entity"],c.hooks.add("wrap",function(a){"entity"===a.type&&(a.attributes["title"]=a.content.replace(/&amp;/,"&"))}),c.languages.xml=c.languages.markup,c.languages.html=c.languages.markup,c.languages.mathml=c.languages.markup,c.languages.svg=c.languages.markup,c.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^{}\s][^{};]*?(?=\s*\{)/,string:{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/\B!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},c.languages.css["atrule"].inside.rest=c.languages.css,c.languages.markup&&(c.languages.insertBefore("markup","tag",{style:{pattern:/(<style[\s\S]*?>)[\s\S]*?(?=<\/style>)/i,lookbehind:!0,inside:c.languages.css,alias:"language-css",greedy:!0}}),c.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:c.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:c.languages.css}},alias:"language-css"}},c.languages.markup.tag)),c.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,"boolean":/\b(?:true|false)\b/,"function":/[a-z0-9_]+(?=\()/i,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},c.languages.javascript=c.languages.extend("clike",{keyword:/\b(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b(?:0[xX][\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|NaN|Infinity)\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/,"function":/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*\()/i,operator:/-[-=]?|\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),c.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[[^\]\r\n]+]|\\.|[^\/\\\[\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=\s*(?:function\b|(?:\([^()]*\)|[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/i,alias:"function"},constant:/\b[A-Z][A-Z\d_]*\b/}),c.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${[^}]+}|[^\\`])*`/,greedy:!0,inside:{interpolation:{pattern:/\${[^}]+}/,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}}}),c.languages.javascript["template-string"].inside["interpolation"].inside.rest=c.languages.javascript,c.languages.markup&&c.languages.insertBefore("markup","tag",{script:{pattern:/(<script[\s\S]*?>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:c.languages.javascript,alias:"language-javascript",greedy:!0}}),c.languages.js=c.languages.javascript,function(){"undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(){var a={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.slice.call(document.querySelectorAll("pre[data-src]")).forEach(function(b){for(var e,h,i,j,d=b.getAttribute("data-src"),f=b,g=/\blang(?:uage)?-([\w-]+)\b/i;f&&!g.test(f.className);)f=f.parentNode;f&&(e=(b.className.match(g)||[,""])[1]),e||(h=(d.match(/\.(\w+)$/)||[,""])[1],e=a[h]||h),i=document.createElement("code"),i.className="language-"+e,b.textContent="",i.textContent="Loading…",b.appendChild(i),j=new XMLHttpRequest,j.open("GET",d,!0),j.onreadystatechange=function(){4==j.readyState&&(j.status<400&&j.responseText?(i.textContent=j.responseText,c.highlightElement(i)):i.textContent=j.status>=400?"✖ Error "+j.status+" while fetching file: "+j.statusText:"✖ Error: File does not exist or is empty")},j.send(null)}),c.plugins.toolbar&&c.plugins.toolbar.registerButton("download-file",function(a){var c,d,b=a.element.parentNode;if(b&&/pre/i.test(b.nodeName)&&b.hasAttribute("data-src")&&b.hasAttribute("data-download-link"))return c=b.getAttribute("data-src"),d=document.createElement("a"),d.textContent=b.getAttribute("data-download-link-label")||"Download",d.setAttribute("download",""),d.href=c,d})},document.addEventListener("DOMContentLoaded",self.Prism.fileHighlight))}()}),Y={},Z=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,.\/:;<=>?@[\]^`{|}~]/g;_.clear=function(){Y={}},cb=decodeURIComponent,db=encodeURIComponent,gb=a(function(a){return/(:|(\/{2}))/g.test(a)}),hb=a(function(a){return/\/$/g.test(a)?a:(a=a.match(/(\S*\/)[^\/]+$/))?a[1]:""}),ib=a(function(a){return a.replace(/^\/+/,"/").replace(/([^:])\/{2,}/g,"$1/")}),jb=a(function(a){var d,e,f,b=a.replace(/^\//,"").split("/"),c=[];for(d=0,e=b.length;e>d;d++)f=b[d],".."===f?c.pop():"."!==f&&c.push(f);return"/"+c.join("/")}),lb=a(function(a){return a.replace("#","?id=")}),Prism.languages["markup-templating"]={},Object.defineProperties(Prism.languages["markup-templating"],{buildPlaceholders:{value:function(a,b,c,d){a.language===b&&(a.tokenStack=[],a.code=a.code.replace(c,function(c){if("function"==typeof d&&!d(c))return c;for(var e=a.tokenStack.length;-1!==a.code.indexOf("___"+b.toUpperCase()+e+"___");)++e;return a.tokenStack[e]=c,"___"+b.toUpperCase()+e+"___"}),a.grammar=Prism.languages.markup)}},tokenizePlaceholders:{value:function(a,b){var c,d,e;a.language===b&&a.tokenStack&&(a.grammar=Prism.languages[b],c=0,d=Object.keys(a.tokenStack),e=function(f){var g,h,i,j,k,l,m,n,o,p;if(!(c>=d.length))for(g=0;g<f.length;g++)if(h=f[g],"string"==typeof h||h.content&&"string"==typeof h.content){if(i=d[c],j=a.tokenStack[i],k="string"==typeof h?h:h.content,l=k.indexOf("___"+b.toUpperCase()+i+"___"),l>-1&&(++c,m=k.substring(0,l),n=new Prism.Token(b,Prism.tokenize(j,a.grammar,b),"language-"+b,j),o=k.substring(l+("___"+b.toUpperCase()+i+"___").length),m||o?(p=[m,n,o].filter(function(a){return!!a}),e(p)):p=n,"string"==typeof h?Array.prototype.splice.apply(f,[g,1].concat(p)):h.content=p,c>=d.length))break}else h.content&&"string"!=typeof h.content&&e(h.content)},e(a.tokens))}}}),mb={},ob={markdown:function(a){return{url:a}},mermaid:function(a){return{url:a}},iframe:function(a,b){return{html:'<iframe src="'+a+'" '+(b||"width=100% height=400")+"></iframe>"}},video:function(a,b){return{html:'<video src="'+a+'" '+(b||"controls")+">Not Support</video>"}},audio:function(a,b){return{html:'<audio src="'+a+'" '+(b||"controls")+">Not Support</audio>"}},code:function(a,b){var c=a.match(/\.(\w+)$/);return c=b||c&&c[1],"md"===c&&(c="markdown"),{url:a,lang:c}}},pb=function(b,c){var h,i,j,f=this;this.config=b,this.router=c,this.cacheTree={},this.toc=[],this.cacheTOC={},this.linkTarget=b.externalLinkTarget||"_blank",this.contentBase=c.getBasePath(),h=this._initRenderer(),j=b.markdown||{},g(j)?i=j(V,h):(V.setOptions(d(j,{renderer:d(h,j.renderer)})),i=V),this._marked=i,this.compile=function(c){var d=!0,g=a(function(){d=!1;var f="";return c?(f=e(c)?i(c):i.parser(c),f=b.noEmoji?f:bb(f),_.clear(),f):c})(c),h=f.router.parse().file;return d?f.toc=f.cacheTOC[h]:f.cacheTOC[h]=[].concat(f.toc),g}},pb.prototype.compileEmbed=function(a,b){var f,g,h,c=nb(b),d=c.str,e=c.config;return b=d,e.include?(gb(a)||(a=kb(this.contentBase,hb(this.router.getCurrentPath()),a)),e.type&&(g=ob[e.type])?(f=g.call(this,a,b),f.type=e.type):(h="code",/\.(md|markdown)/.test(a)?h="markdown":/\.mmd/.test(a)?h="mermaid":/\.html?/.test(a)?h="iframe":/\.(mp4|ogg)/.test(a)?h="video":/\.mp3/.test(a)&&(h="audio"),f=ob[h].call(this,a,b),f.type=h),f.fragment=e.fragment,f):void 0},pb.prototype._matchNotCompileLink=function(a){var c,d,e,b=this.config.noCompileLinks||[];for(c=0;c<b.length;c++)if(d=b[c],e=mb[d]||(mb[d]=new RegExp("^"+d+"$")),e.test(a))return a},pb.prototype._initRenderer=function(){var a=new V.Renderer,b=this,c=b.linkTarget,d=b.router,e=b.contentBase,f=this,g={};return g.heading=a.heading=function(a,b){var i,j,c=nb(a),e=c.str,g=c.config,h={level:b,title:e};return/{docsify-ignore}/g.test(e)&&(e=e.replace("{docsify-ignore}",""),h.title=e,h.ignoreSubHeading=!0),/{docsify-ignore-all}/g.test(e)&&(e=e.replace("{docsify-ignore-all}",""),h.title=e,h.ignoreAllSubs=!0),i=_(g.id||e),j=d.toURL(d.getCurrentPath(),{id:i}),h.slug=j,f.toc.push(h),"<h"+b+' id="'+i+'"><a href="'+j+'" data-id="'+i+'" class="anchor"><span>'+e+"</span></a></h"+b+">"},g.code=a.code=function(a,b){void 0===b&&(b=""),a=a.replace(/@DOCSIFY_QM@/g,"`");var c=W.highlight(a,W.languages[b]||W.languages.markup);return'<pre v-pre data-lang="'+b+'"><code class="lang-'+b+'">'+c+"</code></pre>"},g.link=a.link=function(a,b,e){var g,h,i,j;return void 0===b&&(b=""),g="",h=nb(b),i=h.str,j=h.config,b=i,gb(a)||f._matchNotCompileLink(a)||j.ignore?g+=0===a.indexOf("mailto:")?"":' target="'+c+'"':(a===f.config.homepage&&(a="README"),a=d.toURL(a,null,d.getCurrentPath())),j.target&&(g+=" target="+j.target),j.disabled&&(g+=" disabled",a="javascript:void(0)"),b&&(g+=' title="'+b+'"'),'<a href="'+a+'"'+g+">"+e+"</a>"},g.paragraph=a.paragraph=function(a){var b;return b=/^!&gt;/.test(a)?G("tip",a):/^\?&gt;/.test(a)?G("warn",a):"<p>"+a+"</p>"},g.image=a.image=function(a,b,c){var k,l,f=a,g="",h=nb(b),i=h.str,j=h.config;return b=i,j["no-zoom"]&&(g+=" data-no-zoom"),b&&(g+=' title="'+b+'"'),k=j.size,k&&(l=k.split("x"),g+=l[1]?"width="+l[0]+" height="+l[1]:"width="+l[0]),gb(a)||(f=kb(e,hb(d.getCurrentPath()),a)),'<img src="'+f+'"data-origin="'+a+'" alt="'+c+'"'+g+">"},g.list=a.list=function(a,b,c){var d=/<li class="task-list-item">/.test(a.split('class="task-list"')[0]),e=c&&c>1,f=b?"ol":"ul",g=[d?'class="task-list"':"",e?'start="'+c+'"':""].join(" ").trim();return"<"+f+" "+g+">"+a+"</"+f+">"},g.listitem=a.listitem=function(a){var b=/^(<input.*type="checkbox"[^>]*>)/.test(a),c=b?'<li class="task-list-item"><label>'+a+"</label></li>":"<li>"+a+"</li>";return c},a.origin=g,a},pb.prototype.sidebar=function(a,b){var g,h,i,j,c=this,d=c.toc,e=this.router.getCurrentPath(),f="";if(a)f=this.compile(a);else{for(g=0;g<d.length;g++)if(d[g].ignoreSubHeading){for(h=d[g].level,d.splice(g,1),i=g;h<d[i].level&&i<d.length;i++)d.splice(i,1)&&i--&&g++;g--}j=this.cacheTree[e]||X(d,b),f=F(j,"<ul>{inner}</ul>"),this.cacheTree[e]=j}return""},pb.prototype.subSidebar=function(a){var b,c,d,e,f,g;if(!a)return this.toc=[],void 0;for(b=this.router.getCurrentPath(),c=this,d=c.cacheTree,e=c.toc,e[0]&&e[0].ignoreAllSubs&&e.splice(0),e[0]&&1===e[0].level&&e.shift(),f=0;f<e.length;f++)e[f].ignoreSubHeading&&e.splice(f,1)&&f--;return g=d[b]||X(e,a),d[b]=g,this.toc=[],F(g)},pb.prototype.article=function(a){return this.compile(a)},pb.prototype.cover=function(a){var b=this.toc.slice(),c=this.compile(a);return this.toc=b.slice(),c},qb=p.title,vb=function(){function a(a,b){var c,d;for(c=0;c<b.length;c++)d=b[c],d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),xb=function(){function a(){var b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};wb(this,a),this.duration=b.duration||1e3,this.ease=b.easing||this._defaultEase,this.start=b.start,this.end=b.end,this.frame=null,this.next=null,this.isRunning=!1,this.events={},this.direction=this.start<this.end?"up":"down"}return vb(a,[{key:"begin",value:function(){return this.isRunning||this.next===this.end||(this.frame=window.requestAnimationFrame(this._tick.bind(this))),this}},{key:"stop",value:function(){return window.cancelAnimationFrame(this.frame),this.isRunning=!1,this.frame=null,this.timeStart=null,this.next=null,this}},{key:"on",value:function(a,b){return this.events[a]=this.events[a]||[],this.events[a].push(b),this}},{key:"emit",value:function(a,b){var c=this,d=this.events[a];d&&d.forEach(function(a){return a.call(c,b)})}},{key:"_tick",value:function(a){this.isRunning=!0;var b=this.next||this.start;this.timeStart||(this.timeStart=a),this.timeElapsed=a-this.timeStart,this.next=Math.round(this.ease(this.timeElapsed,this.start,this.end-this.start,this.duration)),this._shouldTick(b)?(this.emit("tick",this.next),this.frame=window.requestAnimationFrame(this._tick.bind(this))):(this.emit("tick",this.end),this.emit("done",null))}},{key:"_shouldTick",value:function(a){return{up:this.next<this.end&&a<=this.next,down:this.next>this.end&&a>=this.next}[this.direction]}},{key:"_defaultEase",value:function(a,b,c,d){return(a/=d/2)<1?c/2*a*a+b:-c/2*(--a*(a-2)-1)+b}}]),a}(),yb={},zb=!1,Ab=null,Bb=!0,Cb=0,Ib=p.scrollingElement||p.documentElement,Kb={},Tb={},Wb=function(a){this.config=a},Wb.prototype.getBasePath=function(){return this.config.basePath},Wb.prototype.getFile=function(a,b){var c,d,e,f;return void 0===a&&(a=this.getCurrentPath()),c=this,d=c.config,e=this.getBasePath(),f="string"==typeof d.ext?d.ext:".md",a=d.alias?Ub(a,d.alias):a,a=Vb(a,f),a=a==="/README"+f?d.homepage||a:a,a=gb(a)?a:kb(e,a),b&&(a=a.replace(new RegExp("^"+e),"")),a},Wb.prototype.onchange=function(a){void 0===a&&(a=f),a()},Wb.prototype.getCurrentPath=function(){},Wb.prototype.normalize=function(){},Wb.prototype.parse=function(){},Wb.prototype.toURL=function(a,b,c){var g,h,e=c&&"#"===a[0],f=this.parse(lb(a));return f.query=d({},f.query,b),a=f.path+fb(f.query),a=a.replace(/\.md(\?)|\.md$/,"$1"),e&&(g=c.indexOf("?"),a=(g>0?c.substring(0,g):c)+a),this.config.relativePath&&0!==a.indexOf("/")?(h=c.substring(0,c.lastIndexOf("/")+1),ib(jb(h+a))):ib("/"+a)},Yb=function(a){function b(b){a.call(this,b),this.mode="hash"}return a&&(b.__proto__=a),b.prototype=Object.create(a&&a.prototype),b.prototype.constructor=b,b.prototype.getBasePath=function(){var a=window.location.pathname||"",b=this.config.basePath;return/^(\/|https?:)/g.test(b)?b:ib(a+"/"+b)},b.prototype.getCurrentPath=function(){var a=location.href,b=a.indexOf("#");return-1===b?"":a.slice(b+1)},b.prototype.onchange=function(a){void 0===a&&(a=f),x("hashchange",a)},b.prototype.normalize=function(){var a=this.getCurrentPath();return a=lb(a),"/"===a.charAt(0)?Xb(a):(Xb("/"+a),void 0)},b.prototype.parse=function(a){var b,c,d;return void 0===a&&(a=location.href),b="",c=a.indexOf("#"),c>=0&&(a=a.slice(c+1)),d=a.indexOf("?"),d>=0&&(b=a.slice(d+1),a=a.slice(0,d)),{path:a,file:this.getFile(a,!0),query:eb(b)}},b.prototype.toURL=function(b,c,d){return"#"+a.prototype.toURL.call(this,b,c,d)},b}(Wb),Zb=function(a){function b(b){a.call(this,b),this.mode="history"}return a&&(b.__proto__=a),b.prototype=Object.create(a&&a.prototype),b.prototype.constructor=b,b.prototype.getCurrentPath=function(){var a=this.getBasePath(),b=window.location.pathname;return a&&0===b.indexOf(a)&&(b=b.slice(a.length)),(b||"/")+window.location.search+window.location.hash},b.prototype.onchange=function(a){void 0===a&&(a=f),x("click",function(b){var d,c="A"===b.target.tagName?b.target:b.target.parentNode;"A"!==c.tagName||/_blank/.test(c.target)||(b.preventDefault(),d=c.href,window.history.pushState({key:d},"",d),a())}),x("popstate",a)},b.prototype.parse=function(a){var b,c,d,e;return void 0===a&&(a=location.href),b="",c=a.indexOf("?"),c>=0&&(b=a.slice(c+1),a=a.slice(0,c)),d=kb(location.origin),e=a.indexOf(d),e>-1&&(a=a.slice(e+d.length)),{path:a,file:this.getFile(a),query:eb(b)}},b}(Wb),_b={},jc=Object.freeze({cached:a,hyphenate:b,hasOwn:c,merge:d,isPrimitive:e,noop:f,isFn:g,inBrowser:k,isMobile:l,supportsPushState:m,parseQuery:eb,stringifyQuery:fb,isAbsolutePath:gb,getParentPath:hb,cleanPath:ib,resolvePath:jb,getPath:kb,replaceSlug:lb}),nc=mc.prototype,hc(nc),$b(nc),Rb(nc),fc(nc),cc(nc),kc(),lc(function(){return new mc})}();