From 5040cea97cb478e1b594529b2d2860d24901086b Mon Sep 17 00:00:00 2001
From: Maxim Babichev "']/),vn=/[&<>"']/g,yn=/[<>"']|&(?!#?\w+;)/,wn=/[<>"']|&(?!#?\w+;)/g,kn={"&":"&","<":"<",">":">",'"':""","'":"'"},xn=function(e){return kn[e]},Sn=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function An(e){return e.replace(Sn,(function(e,n){return"colon"===(n=n.toLowerCase())?":":"#"===n.charAt(0)?"x"===n.charAt(1)?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""}))}var En=/(^|[^\[])\^/g,Tn=/[^\w:]/g,On=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,Rn={},zn=/^[^:]+:\/*[^/]*$/,jn=/^([^:]+:)[\s\S]*$/,Cn=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Ln(e,n,t){var r=e.length;if(0===r)return"";for(var i=0;i "+e+"
\n":"'+(t?e:at(e,!0))+"
\n"},e.prototype.blockquote=function(e){return""+(t?e:at(e,!0))+"\n"+e+"
\n"},e.prototype.html=function(e){return e},e.prototype.heading=function(e,n,t,r){return this.options.headerIds?"
\n":"
\n"},e.prototype.list=function(e,n,t){var r=n?"ol":"ul";return"<"+r+(n&&1!==t?' start="'+t+'"':"")+">\n"+e+""+r+">\n"},e.prototype.listitem=function(e){return"\n\n"+e+"\n"+n+"
\n"},e.prototype.tablerow=function(e){return"\n"+e+" \n"},e.prototype.tablecell=function(e,n){var t=n.header?"th":"td";return(n.align?"<"+t+' align="'+n.align+'">':"<"+t+">")+e+""+t+">\n"},e.prototype.strong=function(e){return""+e+""},e.prototype.em=function(e){return""+e+""},e.prototype.codespan=function(e){return""+e+""},e.prototype.br=function(){return this.options.xhtml?"
":"
"},e.prototype.del=function(e){return""+e+""},e.prototype.link=function(e,n,t){if(null===(e=ot(this.options.sanitize,this.options.baseUrl,e)))return t;var r='"+t+""},e.prototype.image=function(e,n,t){if(null===(e=ot(this.options.sanitize,this.options.baseUrl,e)))return t;var r='":">")},e.prototype.text=function(e){return e},e}(),ct=function(){function e(){}return e.prototype.strong=function(e){return e},e.prototype.em=function(e){return e},e.prototype.codespan=function(e){return e},e.prototype.del=function(e){return e},e.prototype.html=function(e){return e},e.prototype.text=function(e){return e},e.prototype.link=function(e,n,t){return""+t},e.prototype.image=function(e,n,t){return""+t},e.prototype.br=function(){return""},e}(),ft=function(){function e(){this.seen={}}return e.prototype.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},e.prototype.getNextSafeSlug=function(e,n){var t=e,r=0;if(this.seen.hasOwnProperty(t)){r=this.seen[e];do{t=e+"-"+ ++r}while(this.seen.hasOwnProperty(t))}return n||(this.seen[e]=r,this.seen[t]=0),t},e.prototype.slug=function(e,n){void 0===n&&(n={});var t=this.serialize(e);return this.getNextSafeSlug(t,n.dryrun)},e}(),st=_n.defaults,lt=$n,dt=function(){function e(e){this.options=e||st,this.options.renderer=this.options.renderer||new ut,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ct,this.slugger=new ft}return e.parse=function(n,t){return new e(t).parse(n)},e.parseInline=function(n,t){return new e(t).parseInline(n)},e.prototype.parse=function(e,n){void 0===n&&(n=!0);var t,r,i,o,a,u,c,f,s,l,d,p,h,g,m,_,b,v,y="",w=e.length;for(t=0;t
"+gt(e.message+"",!0)+"
";throw e}}vt.options=vt.setOptions=function(e){return pt(vt.defaults,e),_t(vt.defaults),vt},vt.getDefaults=mt,vt.defaults=bt,vt.use=function(e){var n=pt({},e);if(e.renderer){var t=vt.defaults.renderer||new ut,r=function(n){var r=t[n];t[n]=function(){for(var i=[],o=arguments.length;o--;)i[o]=arguments[o];var a=e.renderer[n].apply(t,i);return!1===a&&(a=r.apply(t,i)),a}};for(var i in e.renderer)r(i);n.renderer=t}if(e.tokenizer){var o=vt.defaults.tokenizer||new Hn,a=function(n){var t=o[u];o[u]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i=e.tokenizer[u].apply(o,n);return!1===i&&(i=t.apply(o,n)),i}};for(var u in e.tokenizer)a();n.tokenizer=o}if(e.walkTokens){var c=vt.defaults.walkTokens;n.walkTokens=function(n){e.walkTokens(n),c&&c(n)}}vt.setOptions(n)},vt.walkTokens=function(e,n){for(var t=0,r=e;t
"+gt(e.message+"",!0)+"";throw e}},vt.Parser=dt,vt.parser=dt.parse,vt.Renderer=ut,vt.TextRenderer=ct,vt.Lexer=rt,vt.lexer=rt.lex,vt.Tokenizer=Hn,vt.Slugger=ft,vt.parse=vt;var yt=vt;function wt(e,n){if(void 0===n&&(n=''),!e||!e.length)return"";var t="";return e.forEach((function(e){var r=e.title.replace(/(<([^>]+)>)/g,"");t+='
'+n.slice(5).trim()+"
"}function xt(e,n){var t=[],r={};return e.forEach((function(e){var i=e.level||1,o=i-1;i>n||(r[o]?r[o].children=(r[o].children||[]).concat(e):t.push(e),r[i]=e)})),t}var St={},At=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g;function Et(e){return e.toLowerCase()}function Tt(e){if("string"!=typeof e)return"";var n=e.trim().replace(/[A-Z]+/g,Et).replace(/<[^>]+>/g,"").replace(At,"").replace(/\s/g,"-").replace(/-+/g,"-").replace(/^(\d)/,"_$1"),t=St[n];return t=r.call(St,n)?t+1:0,St[n]=t,t&&(n=n+"-"+t),n}function Ot(e,n){return''+jt.highlight(e.replace(/@DOCSIFY_QM@/g,"`"),t,n)+""}}({renderer:e}),u.link=function(e){var n=e.router,t=e.linkTarget,r=e.linkRel,i=e.compilerClass;return e.renderer.link=function(e,o,a){void 0===o&&(o="");var u=[],c=Rt(o),f=c.str,s=c.config;return t=s.target||t,r="_blank"===t?i.config.externalLinkRel||"noopener":"",o=f,z(e)||i._matchNotCompileLink(e)||s.ignore?(z(e)||"./"!==e.slice(0,2)||(e=document.URL.replace(/\/(?!.*\/).*/,"/").replace("#/./","")+e),u.push(0===e.indexOf("mailto:")?"":'target="'+t+'"'),u.push(0===e.indexOf("mailto:")?"":""!==r?' rel="'+r+'"':"")):(e===i.config.homepage&&(e="README"),e=n.toURL(e,null,n.getCurrentPath())),s.crossorgin&&"_self"===t&&"history"===i.config.routerMode&&-1===i.config.crossOriginLinks.indexOf(e)&&i.config.crossOriginLinks.push(e),s.disabled&&(u.push("disabled"),e="javascript:void(0)"),s.class&&u.push('class="'+s.class+'"'),s.id&&u.push('id="'+s.id+'"'),o&&u.push('title="'+o+'"'),'"+a+""}}({renderer:e,router:i,linkTarget:t,linkRel:r,compilerClass:a}),u.paragraph=function(e){return e.renderer.paragraph=function(e){return/^!>/.test(e)?kt("tip",e):/^\?>/.test(e)?kt("warn",e):""+e+"
"}}({renderer:e}),u.image=function(e){var n=e.contentBase,t=e.router;return e.renderer.image=function(e,r,i){var o=e,a=[],u=Rt(r),c=u.str,f=u.config;if(r=c,f["no-zoom"]&&a.push("data-no-zoom"),r&&a.push('title="'+r+'"'),f.size){var s=f.size.split("x"),l=s[0],d=s[1];d?a.push('width="'+l+'" height="'+d+'"'):a.push('width="'+l+'"')}return f.class&&a.push('class="'+f.class+'"'),f.id&&a.push('id="'+f.id+'"'),z(e)||(o=I(n,C(t.getCurrentPath()),e)),a.length>0?'"+e.content+"
\n\n"})),i.classList.add("show"),o.classList.add("show"),i.innerHTML=d||''+f+"
",c.hideOtherSidebarContent&&(u&&u.classList.add("hide"),s&&s.classList.add("hide"))}function l(e){c=e}var d={placeholder:"Type to search",noData:"No Results!",paths:"auto",depth:2,maxAge:864e5,hideOtherSidebarContent:!1,namespace:void 0,pathNamespaces:void 0};$docsify.plugins=[].concat((function(e,n){var t=Docsify.util,r=n.config.search||d;Array.isArray(r)?d.paths=r:"object"==typeof r&&(d.paths=Array.isArray(r.paths)?r.paths:"auto",d.maxAge=t.isPrimitive(r.maxAge)?r.maxAge:d.maxAge,d.placeholder=r.placeholder||d.placeholder,d.noData=r.noData||d.noData,d.depth=r.depth||d.depth,d.hideOtherSidebarContent=r.hideOtherSidebarContent||d.hideOtherSidebarContent,d.namespace=r.namespace||d.namespace,d.pathNamespaces=r.pathNamespaces||d.pathNamespaces);var i="auto"===d.paths;e.mounted((function(e){(function(e,n){var t,r,i,o,a=n.router.parse().query.s;l(e),Docsify.dom.style("\n.sidebar {\n padding-top: 0;\n}\n\n.search {\n margin-bottom: 20px;\n padding: 6px;\n border-bottom: 1px solid #eee;\n}\n\n.search .input-wrap {\n display: flex;\n align-items: center;\n}\n\n.search .results-panel {\n display: none;\n}\n\n.search .results-panel.show {\n display: block;\n}\n\n.search input {\n outline: none;\n border: none;\n width: 100%;\n padding: 0 7px;\n line-height: 36px;\n font-size: 14px;\n border: 1px solid transparent;\n}\n\n.search input:focus {\n box-shadow: 0 0 5px var(--theme-color, #42b983);\n border: 1px solid var(--theme-color, #42b983);\n}\n\n.search input::-webkit-search-decoration,\n.search input::-webkit-search-cancel-button,\n.search input {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.search .clear-button {\n cursor: pointer;\n width: 36px;\n text-align: right;\n display: none;\n}\n\n.search .clear-button.show {\n display: block;\n}\n\n.search .clear-button svg {\n transform: scale(.5);\n}\n\n.search h2 {\n font-size: 17px;\n margin: 10px 0;\n}\n\n.search a {\n text-decoration: none;\n color: inherit;\n}\n\n.search .matching-post {\n border-bottom: 1px solid #eee;\n}\n\n.search .matching-post:last-child {\n border-bottom: 0;\n}\n\n.search p {\n font-size: 14px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n}\n\n.search p.empty {\n text-align: center;\n}\n\n.app-name.hide, .sidebar-nav.hide {\n display: none;\n}"),function(e){void 0===e&&(e="");var n='"']/),vn=/[&<>"']/g,yn=/[<>"']|&(?!#?\w+;)/,wn=/[<>"']|&(?!#?\w+;)/g,kn={"&":"&","<":"<",">":">",'"':""","'":"'"},xn=function(e){return kn[e]},Sn=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function An(e){return e.replace(Sn,(function(e,n){return"colon"===(n=n.toLowerCase())?":":"#"===n.charAt(0)?"x"===n.charAt(1)?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""}))}var En=/(^|[^\[])\^/g,Tn=/[^\w:]/g,On=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,Rn={},zn=/^[^:]+:\/*[^/]*$/,jn=/^([^:]+:)[\s\S]*$/,Cn=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Ln(e,n,t){var r=e.length;if(0===r)return"";for(var i=0;i "+e+"
\n":"'+(t?e:at(e,!0))+"
\n"},e.prototype.blockquote=function(e){return""+(t?e:at(e,!0))+"\n"+e+"
\n"},e.prototype.html=function(e){return e},e.prototype.heading=function(e,n,t,r){return this.options.headerIds?"
\n":"
\n"},e.prototype.list=function(e,n,t){var r=n?"ol":"ul";return"<"+r+(n&&1!==t?' start="'+t+'"':"")+">\n"+e+""+r+">\n"},e.prototype.listitem=function(e){return"\n\n"+e+"\n"+n+"
\n"},e.prototype.tablerow=function(e){return"\n"+e+" \n"},e.prototype.tablecell=function(e,n){var t=n.header?"th":"td";return(n.align?"<"+t+' align="'+n.align+'">':"<"+t+">")+e+""+t+">\n"},e.prototype.strong=function(e){return""+e+""},e.prototype.em=function(e){return""+e+""},e.prototype.codespan=function(e){return""+e+""},e.prototype.br=function(){return this.options.xhtml?"
":"
"},e.prototype.del=function(e){return""+e+""},e.prototype.link=function(e,n,t){if(null===(e=ot(this.options.sanitize,this.options.baseUrl,e)))return t;var r='"+t+""},e.prototype.image=function(e,n,t){if(null===(e=ot(this.options.sanitize,this.options.baseUrl,e)))return t;var r='":">")},e.prototype.text=function(e){return e},e}(),ct=function(){function e(){}return e.prototype.strong=function(e){return e},e.prototype.em=function(e){return e},e.prototype.codespan=function(e){return e},e.prototype.del=function(e){return e},e.prototype.html=function(e){return e},e.prototype.text=function(e){return e},e.prototype.link=function(e,n,t){return""+t},e.prototype.image=function(e,n,t){return""+t},e.prototype.br=function(){return""},e}(),ft=function(){function e(){this.seen={}}return e.prototype.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},e.prototype.getNextSafeSlug=function(e,n){var t=e,r=0;if(this.seen.hasOwnProperty(t)){r=this.seen[e];do{t=e+"-"+ ++r}while(this.seen.hasOwnProperty(t))}return n||(this.seen[e]=r,this.seen[t]=0),t},e.prototype.slug=function(e,n){void 0===n&&(n={});var t=this.serialize(e);return this.getNextSafeSlug(t,n.dryrun)},e}(),st=_n.defaults,lt=$n,dt=function(){function e(e){this.options=e||st,this.options.renderer=this.options.renderer||new ut,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ct,this.slugger=new ft}return e.parse=function(n,t){return new e(t).parse(n)},e.parseInline=function(n,t){return new e(t).parseInline(n)},e.prototype.parse=function(e,n){void 0===n&&(n=!0);var t,r,i,o,a,u,c,f,s,l,d,p,h,g,m,_,b,v,y="",w=e.length;for(t=0;t
"+gt(e.message+"",!0)+"";throw e}}vt.options=vt.setOptions=function(e){return pt(vt.defaults,e),_t(vt.defaults),vt},vt.getDefaults=mt,vt.defaults=bt,vt.use=function(e){var n=pt({},e);if(e.renderer){var t=vt.defaults.renderer||new ut,r=function(n){var r=t[n];t[n]=function(){for(var i=[],o=arguments.length;o--;)i[o]=arguments[o];var a=e.renderer[n].apply(t,i);return!1===a&&(a=r.apply(t,i)),a}};for(var i in e.renderer)r(i);n.renderer=t}if(e.tokenizer){var o=vt.defaults.tokenizer||new Hn,a=function(n){var t=o[u];o[u]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i=e.tokenizer[u].apply(o,n);return!1===i&&(i=t.apply(o,n)),i}};for(var u in e.tokenizer)a();n.tokenizer=o}if(e.walkTokens){var c=vt.defaults.walkTokens;n.walkTokens=function(n){e.walkTokens(n),c&&c(n)}}vt.setOptions(n)},vt.walkTokens=function(e,n){for(var t=0,r=e;t
"+gt(e.message+"",!0)+"";throw e}},vt.Parser=dt,vt.parser=dt.parse,vt.Renderer=ut,vt.TextRenderer=ct,vt.Lexer=rt,vt.lexer=rt.lex,vt.Tokenizer=Hn,vt.Slugger=ft,vt.parse=vt;var yt=vt;function wt(e,n){if(void 0===n&&(n=''),!e||!e.length)return"";var t="";return e.forEach((function(e){var r=e.title.replace(/(<([^>]+)>)/g,"");t+='
'+n.slice(5).trim()+"
"}function xt(e,n){var t=[],r={};return e.forEach((function(e){var i=e.level||1,o=i-1;i>n||(r[o]?r[o].children=(r[o].children||[]).concat(e):t.push(e),r[i]=e)})),t}var St={},At=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g;function Et(e){return e.toLowerCase()}function Tt(e){if("string"!=typeof e)return"";var n=e.trim().replace(/[A-Z]+/g,Et).replace(/<[^>]+>/g,"").replace(At,"").replace(/\s/g,"-").replace(/-+/g,"-").replace(/^(\d)/,"_$1"),t=St[n];return t=r.call(St,n)?t+1:0,St[n]=t,t&&(n=n+"-"+t),n}function Ot(e,n){return''+jt.highlight(e.replace(/@DOCSIFY_QM@/g,"`"),t,n)+""}}({renderer:e}),u.link=function(e){var n=e.router,t=e.linkTarget,r=e.linkRel,i=e.compilerClass;return e.renderer.link=function(e,o,a){void 0===o&&(o="");var u=[],c=Rt(o),f=c.str,s=c.config;return t=s.target||t,r="_blank"===t?i.config.externalLinkRel||"noopener":"",o=f,z(e)||i._matchNotCompileLink(e)||s.ignore?(z(e)||"./"!==e.slice(0,2)||(e=document.URL.replace(/\/(?!.*\/).*/,"/").replace("#/./","")+e),u.push(0===e.indexOf("mailto:")?"":'target="'+t+'"'),u.push(0===e.indexOf("mailto:")?"":""!==r?' rel="'+r+'"':"")):(e===i.config.homepage&&(e="README"),e=n.toURL(e,null,n.getCurrentPath())),s.crossorgin&&"_self"===t&&"history"===i.config.routerMode&&-1===i.config.crossOriginLinks.indexOf(e)&&i.config.crossOriginLinks.push(e),s.disabled&&(u.push("disabled"),e="javascript:void(0)"),s.class&&u.push('class="'+s.class+'"'),s.id&&u.push('id="'+s.id+'"'),o&&u.push('title="'+o+'"'),'"+a+""}}({renderer:e,router:i,linkTarget:t,linkRel:r,compilerClass:a}),u.paragraph=function(e){return e.renderer.paragraph=function(e){return/^!>/.test(e)?kt("tip",e):/^\?>/.test(e)?kt("warn",e):""+e+"
"}}({renderer:e}),u.image=function(e){var n=e.contentBase,t=e.router;return e.renderer.image=function(e,r,i){var o=e,a=[],u=Rt(r),c=u.str,f=u.config;if(r=c,f["no-zoom"]&&a.push("data-no-zoom"),r&&a.push('title="'+r+'"'),f.size){var s=f.size.split("x"),l=s[0],d=s[1];d?a.push('width="'+l+'" height="'+d+'"'):a.push('width="'+l+'"')}return f.class&&a.push('class="'+f.class+'"'),f.id&&a.push('id="'+f.id+'"'),z(e)||(o=I(n,C(t.getCurrentPath()),e)),a.length>0?'"+e.content+"
\n\n"})),i.classList.add("show"),o.classList.add("show"),i.innerHTML=d||''+f+"
",c.hideOtherSidebarContent&&(u&&u.classList.add("hide"),s&&s.classList.add("hide"))}function l(e){c=e}var d={placeholder:"Type to search",noData:"No Results!",paths:"auto",depth:2,maxAge:864e5,hideOtherSidebarContent:!1,namespace:void 0,pathNamespaces:void 0};$docsify.plugins=[].concat((function(e,n){var t=Docsify.util,r=n.config.search||d;Array.isArray(r)?d.paths=r:"object"==typeof r&&(d.paths=Array.isArray(r.paths)?r.paths:"auto",d.maxAge=t.isPrimitive(r.maxAge)?r.maxAge:d.maxAge,d.placeholder=r.placeholder||d.placeholder,d.noData=r.noData||d.noData,d.depth=r.depth||d.depth,d.hideOtherSidebarContent=r.hideOtherSidebarContent||d.hideOtherSidebarContent,d.namespace=r.namespace||d.namespace,d.pathNamespaces=r.pathNamespaces||d.pathNamespaces);var i="auto"===d.paths;e.mounted((function(e){(function(e,n){var t,r,i,o,a=n.router.parse().query.s;l(e),Docsify.dom.style("\n.sidebar {\n padding-top: 0;\n}\n\n.search {\n margin-bottom: 20px;\n padding: 6px;\n border-bottom: 1px solid #eee;\n}\n\n.search .input-wrap {\n display: flex;\n align-items: center;\n}\n\n.search .results-panel {\n display: none;\n}\n\n.search .results-panel.show {\n display: block;\n}\n\n.search input {\n outline: none;\n border: none;\n width: 100%;\n padding: 0 7px;\n line-height: 36px;\n font-size: 14px;\n border: 1px solid transparent;\n}\n\n.search input:focus {\n box-shadow: 0 0 5px var(--theme-color, #42b983);\n border: 1px solid var(--theme-color, #42b983);\n}\n\n.search input::-webkit-search-decoration,\n.search input::-webkit-search-cancel-button,\n.search input {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.search .clear-button {\n cursor: pointer;\n width: 36px;\n text-align: right;\n display: none;\n}\n\n.search .clear-button.show {\n display: block;\n}\n\n.search .clear-button svg {\n transform: scale(.5);\n}\n\n.search h2 {\n font-size: 17px;\n margin: 10px 0;\n}\n\n.search a {\n text-decoration: none;\n color: inherit;\n}\n\n.search .matching-post {\n border-bottom: 1px solid #eee;\n}\n\n.search .matching-post:last-child {\n border-bottom: 0;\n}\n\n.search p {\n font-size: 14px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n}\n\n.search p.empty {\n text-align: center;\n}\n\n.app-name.hide, .sidebar-nav.hide {\n display: none;\n}"),function(e){void 0===e&&(e="");var n='"']/),vn=/[&<>"']/g,yn=/[<>"']|&(?!#?\w+;)/,wn=/[<>"']|&(?!#?\w+;)/g,kn={"&":"&","<":"<",">":">",'"':""","'":"'"},xn=function(e){return kn[e]},Sn=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function An(e){return e.replace(Sn,(function(e,n){return"colon"===(n=n.toLowerCase())?":":"#"===n.charAt(0)?"x"===n.charAt(1)?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""}))}var En=/(^|[^\[])\^/g,Tn=/[^\w:]/g,On=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,Rn={},zn=/^[^:]+:\/*[^/]*$/,jn=/^([^:]+:)[\s\S]*$/,Cn=/^([^:]+:\/*[^/]*)[\s\S]*$/;function Ln(e,n,t){var r=e.length;if(0===r)return"";for(var i=0;i "+e+"
\n":"'+(t?e:at(e,!0))+"
\n"},e.prototype.blockquote=function(e){return""+(t?e:at(e,!0))+"\n"+e+"
\n"},e.prototype.html=function(e){return e},e.prototype.heading=function(e,n,t,r){return this.options.headerIds?"
\n":"
\n"},e.prototype.list=function(e,n,t){var r=n?"ol":"ul";return"<"+r+(n&&1!==t?' start="'+t+'"':"")+">\n"+e+""+r+">\n"},e.prototype.listitem=function(e){return"\n\n"+e+"\n"+n+"
\n"},e.prototype.tablerow=function(e){return"\n"+e+" \n"},e.prototype.tablecell=function(e,n){var t=n.header?"th":"td";return(n.align?"<"+t+' align="'+n.align+'">':"<"+t+">")+e+""+t+">\n"},e.prototype.strong=function(e){return""+e+""},e.prototype.em=function(e){return""+e+""},e.prototype.codespan=function(e){return""+e+""},e.prototype.br=function(){return this.options.xhtml?"
":"
"},e.prototype.del=function(e){return""+e+""},e.prototype.link=function(e,n,t){if(null===(e=ot(this.options.sanitize,this.options.baseUrl,e)))return t;var r='"+t+""},e.prototype.image=function(e,n,t){if(null===(e=ot(this.options.sanitize,this.options.baseUrl,e)))return t;var r='":">")},e.prototype.text=function(e){return e},e}(),ct=function(){function e(){}return e.prototype.strong=function(e){return e},e.prototype.em=function(e){return e},e.prototype.codespan=function(e){return e},e.prototype.del=function(e){return e},e.prototype.html=function(e){return e},e.prototype.text=function(e){return e},e.prototype.link=function(e,n,t){return""+t},e.prototype.image=function(e,n,t){return""+t},e.prototype.br=function(){return""},e}(),ft=function(){function e(){this.seen={}}return e.prototype.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},e.prototype.getNextSafeSlug=function(e,n){var t=e,r=0;if(this.seen.hasOwnProperty(t)){r=this.seen[e];do{t=e+"-"+ ++r}while(this.seen.hasOwnProperty(t))}return n||(this.seen[e]=r,this.seen[t]=0),t},e.prototype.slug=function(e,n){void 0===n&&(n={});var t=this.serialize(e);return this.getNextSafeSlug(t,n.dryrun)},e}(),st=_n.defaults,lt=$n,dt=function(){function e(e){this.options=e||st,this.options.renderer=this.options.renderer||new ut,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ct,this.slugger=new ft}return e.parse=function(n,t){return new e(t).parse(n)},e.parseInline=function(n,t){return new e(t).parseInline(n)},e.prototype.parse=function(e,n){void 0===n&&(n=!0);var t,r,i,o,a,u,c,f,s,l,d,p,h,g,m,_,b,v,y="",w=e.length;for(t=0;t
"+gt(e.message+"",!0)+"";throw e}}vt.options=vt.setOptions=function(e){return pt(vt.defaults,e),_t(vt.defaults),vt},vt.getDefaults=mt,vt.defaults=bt,vt.use=function(e){var n=pt({},e);if(e.renderer){var t=vt.defaults.renderer||new ut,r=function(n){var r=t[n];t[n]=function(){for(var i=[],o=arguments.length;o--;)i[o]=arguments[o];var a=e.renderer[n].apply(t,i);return!1===a&&(a=r.apply(t,i)),a}};for(var i in e.renderer)r(i);n.renderer=t}if(e.tokenizer){var o=vt.defaults.tokenizer||new Hn,a=function(n){var t=o[u];o[u]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i=e.tokenizer[u].apply(o,n);return!1===i&&(i=t.apply(o,n)),i}};for(var u in e.tokenizer)a();n.tokenizer=o}if(e.walkTokens){var c=vt.defaults.walkTokens;n.walkTokens=function(n){e.walkTokens(n),c&&c(n)}}vt.setOptions(n)},vt.walkTokens=function(e,n){for(var t=0,r=e;t
"+gt(e.message+"",!0)+"";throw e}},vt.Parser=dt,vt.parser=dt.parse,vt.Renderer=ut,vt.TextRenderer=ct,vt.Lexer=rt,vt.lexer=rt.lex,vt.Tokenizer=Hn,vt.Slugger=ft,vt.parse=vt;var yt=vt;function wt(e,n){if(void 0===n&&(n=''),!e||!e.length)return"";var t="";return e.forEach((function(e){var r=e.title.replace(/(<([^>]+)>)/g,"");t+='
'+n.slice(5).trim()+"
"}function xt(e,n){var t=[],r={};return e.forEach((function(e){var i=e.level||1,o=i-1;i>n||(r[o]?r[o].children=(r[o].children||[]).concat(e):t.push(e),r[i]=e)})),t}var St={},At=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g;function Et(e){return e.toLowerCase()}function Tt(e){if("string"!=typeof e)return"";var n=e.trim().replace(/[A-Z]+/g,Et).replace(/<[^>]+>/g,"").replace(At,"").replace(/\s/g,"-").replace(/-+/g,"-").replace(/^(\d)/,"_$1"),t=St[n];return t=r.call(St,n)?t+1:0,St[n]=t,t&&(n=n+"-"+t),n}function Ot(e,n){return''+jt.highlight(e.replace(/@DOCSIFY_QM@/g,"`"),t,n)+""}}({renderer:e}),u.link=function(e){var n=e.router,t=e.linkTarget,r=e.linkRel,i=e.compilerClass;return e.renderer.link=function(e,o,a){void 0===o&&(o="");var u=[],c=Rt(o),f=c.str,s=c.config;return t=s.target||t,r="_blank"===t?i.config.externalLinkRel||"noopener":"",o=f,z(e)||i._matchNotCompileLink(e)||s.ignore?(z(e)||"./"!==e.slice(0,2)||(e=document.URL.replace(/\/(?!.*\/).*/,"/").replace("#/./","")+e),u.push(0===e.indexOf("mailto:")?"":'target="'+t+'"'),u.push(0===e.indexOf("mailto:")?"":""!==r?' rel="'+r+'"':"")):(e===i.config.homepage&&(e="README"),e=n.toURL(e,null,n.getCurrentPath())),s.crossorgin&&"_self"===t&&"history"===i.config.routerMode&&-1===i.config.crossOriginLinks.indexOf(e)&&i.config.crossOriginLinks.push(e),s.disabled&&(u.push("disabled"),e="javascript:void(0)"),s.class&&u.push('class="'+s.class+'"'),s.id&&u.push('id="'+s.id+'"'),o&&u.push('title="'+o+'"'),'"+a+""}}({renderer:e,router:i,linkTarget:t,linkRel:r,compilerClass:a}),u.paragraph=function(e){return e.renderer.paragraph=function(e){return/^!>/.test(e)?kt("tip",e):/^\?>/.test(e)?kt("warn",e):""+e+"
"}}({renderer:e}),u.image=function(e){var n=e.contentBase,t=e.router;return e.renderer.image=function(e,r,i){var o=e,a=[],u=Rt(r),c=u.str,f=u.config;if(r=c,f["no-zoom"]&&a.push("data-no-zoom"),r&&a.push('title="'+r+'"'),f.size){var s=f.size.split("x"),l=s[0],d=s[1];d?a.push('width="'+l+'" height="'+d+'"'):a.push('width="'+l+'"')}return f.class&&a.push('class="'+f.class+'"'),f.id&&a.push('id="'+f.id+'"'),z(e)||(o=I(n,C(t.getCurrentPath()),e)),a.length>0?'"+e.content+"
\n\n"})),i.classList.add("show"),o.classList.add("show"),i.innerHTML=d||''+f+"
",c.hideOtherSidebarContent&&(u&&u.classList.add("hide"),s&&s.classList.add("hide"))}function l(e){c=e}var d={placeholder:"Type to search",noData:"No Results!",paths:"auto",depth:2,maxAge:864e5,hideOtherSidebarContent:!1,namespace:void 0,pathNamespaces:void 0};$docsify.plugins=[].concat((function(e,n){var t=Docsify.util,r=n.config.search||d;Array.isArray(r)?d.paths=r:"object"==typeof r&&(d.paths=Array.isArray(r.paths)?r.paths:"auto",d.maxAge=t.isPrimitive(r.maxAge)?r.maxAge:d.maxAge,d.placeholder=r.placeholder||d.placeholder,d.noData=r.noData||d.noData,d.depth=r.depth||d.depth,d.hideOtherSidebarContent=r.hideOtherSidebarContent||d.hideOtherSidebarContent,d.namespace=r.namespace||d.namespace,d.pathNamespaces=r.pathNamespaces||d.pathNamespaces);var i="auto"===d.paths;e.mounted((function(e){(function(e,n){var t,r,i,o,a=n.router.parse().query.s;l(e),Docsify.dom.style("\n.sidebar {\n padding-top: 0;\n}\n\n.search {\n margin-bottom: 20px;\n padding: 6px;\n border-bottom: 1px solid #eee;\n}\n\n.search .input-wrap {\n display: flex;\n align-items: center;\n}\n\n.search .results-panel {\n display: none;\n}\n\n.search .results-panel.show {\n display: block;\n}\n\n.search input {\n outline: none;\n border: none;\n width: 100%;\n padding: 0 7px;\n line-height: 36px;\n font-size: 14px;\n border: 1px solid transparent;\n}\n\n.search input:focus {\n box-shadow: 0 0 5px var(--theme-color, #42b983);\n border: 1px solid var(--theme-color, #42b983);\n}\n\n.search input::-webkit-search-decoration,\n.search input::-webkit-search-cancel-button,\n.search input {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.search .clear-button {\n cursor: pointer;\n width: 36px;\n text-align: right;\n display: none;\n}\n\n.search .clear-button.show {\n display: block;\n}\n\n.search .clear-button svg {\n transform: scale(.5);\n}\n\n.search h2 {\n font-size: 17px;\n margin: 10px 0;\n}\n\n.search a {\n text-decoration: none;\n color: inherit;\n}\n\n.search .matching-post {\n border-bottom: 1px solid #eee;\n}\n\n.search .matching-post:last-child {\n border-bottom: 0;\n}\n\n.search p {\n font-size: 14px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n}\n\n.search p.empty {\n text-align: center;\n}\n\n.app-name.hide, .sidebar-nav.hide {\n display: none;\n}"),function(e){void 0===e&&(e="");var n='"']/),vn=/[&<>"']/g,yn=/[<>"']|&(?!#?\w+;)/,wn=/[<>"']|&(?!#?\w+;)/g,kn={"&":"&","<":"<",">":">",'"':""","'":"'"},xn=function(e){return kn[e]},Sn=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function An(e){return e.replace(Sn,(function(e,n){return"colon"===(n=n.toLowerCase())?":":"#"===n.charAt(0)?"x"===n.charAt(1)?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""}))}var En=/(^|[^\[])\^/g,On=/[^\w:]/g,Tn=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,Rn={},zn=/^[^:]+:\/*[^/]*$/,Cn=/^([^:]+:)[\s\S]*$/,Ln=/^([^:]+:\/*[^/]*)[\s\S]*$/;function jn(e,n,t){var r=e.length;if(0===r)return"";for(var i=0;i "+e+"
\n":"'+(t?e:at(e,!0))+"
\n"},e.prototype.blockquote=function(e){return""+(t?e:at(e,!0))+"\n"+e+"
\n"},e.prototype.html=function(e){return e},e.prototype.heading=function(e,n,t,r){return this.options.headerIds?"
\n":"
\n"},e.prototype.list=function(e,n,t){var r=n?"ol":"ul";return"<"+r+(n&&1!==t?' start="'+t+'"':"")+">\n"+e+""+r+">\n"},e.prototype.listitem=function(e){return"\n\n"+e+"\n"+n+"
\n"},e.prototype.tablerow=function(e){return"\n"+e+" \n"},e.prototype.tablecell=function(e,n){var t=n.header?"th":"td";return(n.align?"<"+t+' align="'+n.align+'">':"<"+t+">")+e+""+t+">\n"},e.prototype.strong=function(e){return""+e+""},e.prototype.em=function(e){return""+e+""},e.prototype.codespan=function(e){return""+e+""},e.prototype.br=function(){return this.options.xhtml?"
":"
"},e.prototype.del=function(e){return""+e+""},e.prototype.link=function(e,n,t){if(null===(e=ot(this.options.sanitize,this.options.baseUrl,e)))return t;var r='"+t+""},e.prototype.image=function(e,n,t){if(null===(e=ot(this.options.sanitize,this.options.baseUrl,e)))return t;var r='":">")},e.prototype.text=function(e){return e},e}(),ct=function(){function e(){}return e.prototype.strong=function(e){return e},e.prototype.em=function(e){return e},e.prototype.codespan=function(e){return e},e.prototype.del=function(e){return e},e.prototype.html=function(e){return e},e.prototype.text=function(e){return e},e.prototype.link=function(e,n,t){return""+t},e.prototype.image=function(e,n,t){return""+t},e.prototype.br=function(){return""},e}(),ft=function(){function e(){this.seen={}}return e.prototype.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},e.prototype.getNextSafeSlug=function(e,n){var t=e,r=0;if(this.seen.hasOwnProperty(t)){r=this.seen[e];do{t=e+"-"+ ++r}while(this.seen.hasOwnProperty(t))}return n||(this.seen[e]=r,this.seen[t]=0),t},e.prototype.slug=function(e,n){void 0===n&&(n={});var t=this.serialize(e);return this.getNextSafeSlug(t,n.dryrun)},e}(),st=mn.defaults,lt=Dn,dt=function(){function e(e){this.options=e||st,this.options.renderer=this.options.renderer||new ut,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ct,this.slugger=new ft}return e.parse=function(n,t){return new e(t).parse(n)},e.parseInline=function(n,t){return new e(t).parseInline(n)},e.prototype.parse=function(e,n){void 0===n&&(n=!0);var t,r,i,o,a,u,c,f,s,l,d,p,h,g,_,m,b,v,y="",w=e.length;for(t=0;t
"+gt(e.message+"",!0)+"";throw e}}vt.options=vt.setOptions=function(e){return pt(vt.defaults,e),mt(vt.defaults),vt},vt.getDefaults=_t,vt.defaults=bt,vt.use=function(e){var n=pt({},e);if(e.renderer){var t=vt.defaults.renderer||new ut,r=function(n){var r=t[n];t[n]=function(){for(var i=[],o=arguments.length;o--;)i[o]=arguments[o];var a=e.renderer[n].apply(t,i);return!1===a&&(a=r.apply(t,i)),a}};for(var i in e.renderer)r(i);n.renderer=t}if(e.tokenizer){var o=vt.defaults.tokenizer||new Hn,a=function(n){var t=o[u];o[u]=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i=e.tokenizer[u].apply(o,n);return!1===i&&(i=t.apply(o,n)),i}};for(var u in e.tokenizer)a();n.tokenizer=o}if(e.walkTokens){var c=vt.defaults.walkTokens;n.walkTokens=function(n){e.walkTokens(n),c&&c(n)}}vt.setOptions(n)},vt.walkTokens=function(e,n){for(var t=0,r=e;t
"+gt(e.message+"",!0)+"";throw e}},vt.Parser=dt,vt.parser=dt.parse,vt.Renderer=ut,vt.TextRenderer=ct,vt.Lexer=rt,vt.lexer=rt.lex,vt.Tokenizer=Hn,vt.Slugger=ft,vt.parse=vt;var yt=vt;function wt(e,n){if(void 0===n&&(n=''),!e||!e.length)return"";var t="";return e.forEach((function(e){var r=e.title.replace(/(<([^>]+)>)/g,"");t+='
'+n.slice(5).trim()+"
"}function xt(e,n){var t=[],r={};return e.forEach((function(e){var i=e.level||1,o=i-1;i>n||(r[o]?r[o].children=(r[o].children||[]).concat(e):t.push(e),r[i]=e)})),t}var St={},At=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g;function Et(e){return e.toLowerCase()}function Ot(e){if("string"!=typeof e)return"";var n=e.trim().replace(/[A-Z]+/g,Et).replace(/<[^>]+>/g,"").replace(At,"").replace(/\s/g,"-").replace(/-+/g,"-").replace(/^(\d)/,"_$1"),t=St[n];return t=r.call(St,n)?t+1:0,St[n]=t,t&&(n=n+"-"+t),n}function Tt(e,n){return''+Ct.highlight(e.replace(/@DOCSIFY_QM@/g,"`"),t,n)+""}}({renderer:e}),u.link=function(e){var n=e.router,t=e.linkTarget,r=e.linkRel,i=e.compilerClass;return e.renderer.link=function(e,o,a){void 0===o&&(o="");var u=[],c=Rt(o),f=c.str,s=c.config;return t=s.target||t,r="_blank"===t?i.config.externalLinkRel||"noopener":"",o=f,z(e)||i._matchNotCompileLink(e)||s.ignore?(z(e)||"./"!==e.slice(0,2)||(e=document.URL.replace(/\/(?!.*\/).*/,"/").replace("#/./","")+e),u.push(0===e.indexOf("mailto:")?"":'target="'+t+'"'),u.push(0===e.indexOf("mailto:")?"":""!==r?' rel="'+r+'"':"")):(e===i.config.homepage&&(e="README"),e=n.toURL(e,null,n.getCurrentPath())),s.crossorgin&&"_self"===t&&"history"===i.config.routerMode&&-1===i.config.crossOriginLinks.indexOf(e)&&i.config.crossOriginLinks.push(e),s.disabled&&(u.push("disabled"),e="javascript:void(0)"),s.class&&u.push('class="'+s.class+'"'),s.id&&u.push('id="'+s.id+'"'),o&&u.push('title="'+o+'"'),'"+a+""}}({renderer:e,router:i,linkTarget:t,linkRel:r,compilerClass:a}),u.paragraph=function(e){return e.renderer.paragraph=function(e){return/^!>/.test(e)?kt("tip",e):/^\?>/.test(e)?kt("warn",e):""+e+"
"}}({renderer:e}),u.image=function(e){var n=e.contentBase,t=e.router;return e.renderer.image=function(e,r,i){var o=e,a=[],u=Rt(r),c=u.str,f=u.config;if(r=c,f["no-zoom"]&&a.push("data-no-zoom"),r&&a.push('title="'+r+'"'),f.size){var s=f.size.split("x"),l=s[0],d=s[1];d?a.push('width="'+l+'" height="'+d+'"'):a.push('width="'+l+'"')}return f.class&&a.push('class="'+f.class+'"'),f.id&&a.push('id="'+f.id+'"'),z(e)||(o=$(n,L(t.getCurrentPath()),e)),a.length>0?'"+e.content+"
\n\n"})),i.classList.add("show"),o.classList.add("show"),i.innerHTML=d||''+f+"
",c.hideOtherSidebarContent&&(u&&u.classList.add("hide"),s&&s.classList.add("hide"))}function l(e){c=e}var d={placeholder:"Type to search",noData:"No Results!",paths:"auto",depth:2,maxAge:864e5,hideOtherSidebarContent:!1,namespace:void 0,pathNamespaces:void 0};$docsify.plugins=[].concat((function(e,n){var t=Docsify.util,r=n.config.search||d;Array.isArray(r)?d.paths=r:"object"==typeof r&&(d.paths=Array.isArray(r.paths)?r.paths:"auto",d.maxAge=t.isPrimitive(r.maxAge)?r.maxAge:d.maxAge,d.placeholder=r.placeholder||d.placeholder,d.noData=r.noData||d.noData,d.depth=r.depth||d.depth,d.hideOtherSidebarContent=r.hideOtherSidebarContent||d.hideOtherSidebarContent,d.namespace=r.namespace||d.namespace,d.pathNamespaces=r.pathNamespaces||d.pathNamespaces);var i="auto"===d.paths;e.mounted((function(e){(function(e,n){var t,r,i,o,a=n.router.parse().query.s;l(e),Docsify.dom.style("\n.sidebar {\n padding-top: 0;\n}\n\n.search {\n margin-bottom: 20px;\n padding: 6px;\n border-bottom: 1px solid #eee;\n}\n\n.search .input-wrap {\n display: flex;\n align-items: center;\n}\n\n.search .results-panel {\n display: none;\n}\n\n.search .results-panel.show {\n display: block;\n}\n\n.search input {\n outline: none;\n border: none;\n width: 100%;\n padding: 0 7px;\n line-height: 36px;\n font-size: 14px;\n border: 1px solid transparent;\n}\n\n.search input:focus {\n box-shadow: 0 0 5px var(--theme-color, #42b983);\n border: 1px solid var(--theme-color, #42b983);\n}\n\n.search input::-webkit-search-decoration,\n.search input::-webkit-search-cancel-button,\n.search input {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.search .clear-button {\n cursor: pointer;\n width: 36px;\n text-align: right;\n display: none;\n}\n\n.search .clear-button.show {\n display: block;\n}\n\n.search .clear-button svg {\n transform: scale(.5);\n}\n\n.search h2 {\n font-size: 17px;\n margin: 10px 0;\n}\n\n.search a {\n text-decoration: none;\n color: inherit;\n}\n\n.search .matching-post {\n border-bottom: 1px solid #eee;\n}\n\n.search .matching-post:last-child {\n border-bottom: 0;\n}\n\n.search p {\n font-size: 14px;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n}\n\n.search p.empty {\n text-align: center;\n}\n\n.app-name.hide, .sidebar-nav.hide {\n display: none;\n}"),function(e){void 0===e&&(e="");var n='