From b369db2f3f4de6dcdd707adb271a4da44fff3d9e Mon Sep 17 00:00:00 2001
From: Dorian Zedler "+e+"
\n":"'+(n?e:$(e,!0))+"
"},x.prototype.blockquote=function(e){return""+(n?e:$(e,!0))+"
\n"+e+"
\n"},x.prototype.html=function(e){return e},x.prototype.heading=function(e,t,n){return this.options.headerIds?"
\n":"
\n"},x.prototype.list=function(e,t,n,r){var i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+(r?' class="contains-task-list"':"")+">\n"+e+""+i+">\n"},x.prototype.listitem=function(e,t){return"\n\n"+e+"\n"+t+"
\n"},x.prototype.tablerow=function(e){return"\n"+e+" \n"},x.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+""+n+">\n"},x.prototype.strong=function(e){return""+e+""},x.prototype.em=function(e){return""+e+""},x.prototype.codespan=function(e){return""+e+"
"},x.prototype.br=function(){return this.options.xhtml?"
":"
"},x.prototype.del=function(e){return""+e+""},x.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(S(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(c){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!L.test(e)&&(e=E(this.options.baseUrl,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch(c){return n}var i=/^https?:\/\//.test(e),o=/^mailto:/.test(e),a=i||o?"a":"router-link",s="<"+a+" "+("a"===a?"href":"to")+'="'+$(i?e:function(e){var t=e.split("#"),n=t[0],r=t[1];return y.test(n)&&(n=n.replace(y,"")),n+(r?"#"+r:"")}(S(e)))+'"';return t&&(s+=' title="'+t+'"'),i&&(s+=' target="_blank" rel="noopener noreferrer"',n+="\n
"+$(c.message+"",!0)+"";throw c}}j.exec=j,R.options=R.setOptions=function(e){return I(R.defaults,e),R},R.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new x,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},R.defaults=R.getDefaults(),R.Parser=A,R.parser=A.parse,R.Renderer=x,R.TextRenderer=C,R.Lexer=_,R.lexer=_.lex,R.InlineLexer=w,R.inlineLexer=w.output,R.parse=R,R.escape=$,R.unescape=S;var P=R,N=n(27),z=n.n(N);function D(e,t){if(!t)return e;var n=t&&z.a.languages[t];return n||(t="markup",n=z.a.languages.markup),z.a.highlight(e,n,t)}var H=function(e){return/^https?:\/\//.test(e)},B=function(e,t){return((e=(e=e||".").replace(/\/$/,""))+t).replace(/^\.\//,"")},G=function(e){return e=e.replace(/^\/?/,"/"),/\.md$/.test(e)||(e=/\/$/.test(e)?e+"README.md":e+".md"),e},U="undefined"!==typeof window,Z=function(e){var t=new P.Renderer,n=[];t.heading=function(e,t,r){var i=this.options.env,o=r.trim().replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-").toLowerCase();n.push(o);var a=n.filter((function(e){return e===o})).length;if(a>1&&(o+="-"+a),1===t)return i.title=e,"";2===t&&i.headings.push({level:t,raw:r,text:r.replace(/<.*>\s*$/g,""),slug:o});var s="h"+t;return"<"+s+' class="markdown-header" id="'+o+'">\n
"+e+"
"};var r=t.code;return t.code=function(e,t,n,i){i=i||{};var o=this.options.env;if(i.mixin)return o.mixins.push(e),"";var a=r.call(this,e,t,n);if(i.interpolate||(a=a.replace(/^/,"")),i.highlight){var s=e.split("\n").map((function(e,t){t+=1;var n=i.highlight.some((function(e){if("number"===typeof e)return e===t;if("string"===typeof e){var n=e.split("-").map(Number),r=n[0],i=n[1];return t>=r&&(!i||t<=i)}return!1})),r=e?P.escape(e):"";return n?''+r+"":''+r+""})).join("");a+="'+s+""}return''+a+""},e.process("extendMarkedRenderer",t)},q=n(29),V=n.n(q),K=n(28),J={accentColor:"#009688",pageBackground:"#fff",headerBackground:"#fff",headerTextColor:"var(--text-color)",textColor:"#000",linkColor:"var(--accent-color)",sidebarWidth:"280px",sidebarBackground:"var(--page-background)",sidebarLinkColor:"#444",sidebarLinkActiveColor:"#000",sidebarLinkArrowColor:"#999",mainBackground:"var(--page-background)",borderColor:"#eaeaea",headerHeight:"55px",codeFont:"SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace",tipColor:"rgb(6, 125, 247)",successColor:"#42b983",warningColor:"#ff9800",dangerColor:"rgb(255, 0, 31)",navLinkColor:"#2c3e50",navLinkBorderColor:"var(--accent-color)",codeBlockBackground:"#011627",codeBlockTextColor:"white",codeBlockShadowColor:"#333",codeBlockShadowWidth:"0px",highlightedLineBackground:"#022a4b",highlightedLineBorderColor:"#ffa7c4",inlineCodeColor:"rgb(116, 66, 16)",inlineCodeBackground:"rgb(254, 252, 191)",loaderPrimaryColor:"#f3f3f3",loaderSecondaryColor:"#ecebeb",tableHeaderBackground:"#fafafa",tableHeaderColor:"#666",docuteSelectHeight:"38px",searchIconColor:"#999",searchFocusBorderColor:"#ccc",searchFocusIconColor:"#333",searchResultHoverBackground:"#f9f9f9"},W=Object.assign({},J,{headerBackground:"var(--page-background)",sidebarLinkColor:"var(--text-color)",sidebarLinkActiveColor:"var(--text-color)",textColor:"hsla(0,0%,100%,0.88)",pageBackground:"#2f3136",navLinkColor:"var(--text-color)",borderColor:"#3e4147",highlightedLineBackground:"#022a4b",highlightedLineBorderColor:"#ffa7c4",inlineCodeColor:"#e6e6e6",inlineCodeBackground:"#373c49",loaderPrimaryColor:"hsla(0, 0%, 100%, 0.08)",loaderSecondaryColor:"hsla(0, 0%, 100%, 0.18)",contentLinkBorder:"2px solid hsla(0, 0%, 100%, 0.28)",contentLinkHoverBorderColor:"currentColor",tableHeaderBackground:"var(--border-color)",tableHeaderColor:"#868686",searchIconColor:"#999",searchFocusBorderColor:"#999",searchFocusIconColor:"#ccc",searchResultBackground:"#27292f",searchResultHoverBackground:"#1e2025"});function Y(e,t,n){return n?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}r.a.use(m.a);var X=U&&window.__DOCUTE_INITIAL_STATE__,Q=new m.a.Store({state:Object.assign({originalConfig:{},page:{title:null,headings:null,html:""},env:{},showSidebar:!1,fetchingFile:!0},X),mutations:{SET_CONFIG:function(e,t){void 0===t&&(t={}),t.layout=t.layout||"narrow",t.centerContent&&(t.layout="narrow"),t.theme=function(e,t){var n=t.theme,r=t.detectSystemDarkTheme;if(!U||!r)return n||"default";var i=window.matchMedia("(prefers-color-scheme: dark)");return i.addListener((function(){e.commit("SET_THEME",i.matches?"dark":"default")})),n||(i.matches?"dark":"default")}(Q,t),e.originalConfig=t},SET_PAGE:function(e,t){e.page=t},TOGGLE_SIDEBAR:function(e,t){e.showSidebar="boolean"===typeof t?t:!e.showSidebar},SET_FETCHING:function(e,t){e.fetchingFile=t},SET_ENV:function(e,t){e.env=t},SET_THEME:function(e,t){e.originalConfig.theme=t}},actions:{fetchFile:function(e,t){var n=e.commit,r=e.getters,i=e.dispatch;try{n("TOGGLE_SIDEBAR",!1),n("SET_FETCHING",!0);var o=Object.assign({markdown:!0},r.config.routes&&r.config.routes[t]);if(!o.content&&!o.file){var a=G(t);o.file=B(r.config.sourcePath,a),o.editLink=r.config.editLinkBase&&B(r.config.editLinkBase,a)}return Y(Promise.all([!o.content&&fetch(o.file,r.config.fetchOptions).then((function(e){return e.text()})).then((function(e){o.content=e})),i("fetchPrismLanguages")]),(function(){return Y(f.processPromise("processMarkdown",o.content),(function(e){return o.content=e,Y(f.processPromise("processPage",o),(function(e){o=e;var t={headings:[],mixins:[],config:r.config};return o.markdown&&(o.content=P(o.content,{renderer:Z(f),highlight:D,env:t})),Y(f.processPromise("processHTML",o.content),(function(e){o.content=e,o.headings=t.headings,o.title||(o.title=t.title),n("SET_PAGE",o),n("SET_ENV",t),n("SET_FETCHING",!1)}))}))}))}))}catch(s){return Promise.reject(s)}},fetchPrismLanguages:function(e){var t,n,r=e.getters.config.highlight;return r&&0!==r.length?(t=r.reduce((function(e,t){return K[t]&&(e=e.concat(K[t])),e.push(t),e}),[]).filter((function(e,t,n){return n.indexOf(e)===t&&-1===K.builtin.indexOf(e)})).map((function(e){return"https://unpkg.com/prismjs@1.17.1/components/prism-"+e+".js"})),n="prism-languages",new Promise((function(e){if(V.a.isDefined(n))return e();V()(t,n,{success:e,error:function(t){console.error("Deps not found:",t),e()}})}))):Promise.resolve()}},getters:{target:function(e){var t=e.originalConfig.target;return t?"#"===t[0]?t.slice(1):t:"docute"},languageOverrides:function(e){var t=e.originalConfig,n=t.overrides||t.locales;return n&&Object.keys(n).reduce((function(e,t){return n[t].language&&(e[t]=n[t]),e}),{})},currentLocalePath:function(e,t){var n=e.route,r=t.languageOverrides;if(r)for(var i=0,o=Object.keys(r);i-1}function ne(e,t){return t instanceof e||t&&(t.name===e.name||t._name===e._name)}function re(e,t){for(var n in t)e[n]=t[n];return e}var ie={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,r=t.children,i=t.parent,o=t.data;o.routerView=!0;for(var a=i.$createElement,s=n.name,c=i.$route,u=i._routerViewCache||(i._routerViewCache={}),l=0,f=!1;i&&i._routerRoot!==i;){var p=i.$vnode&&i.$vnode.data;p&&(p.routerView&&l++,p.keepAlive&&i._inactive&&(f=!0)),i=i.$parent}if(o.routerViewDepth=l,f)return a(u[s],o,r);var d=c.matched[l];if(!d)return u[s]=null,a();var h=u[s]=d.components[s];o.registerRouteInstance=function(e,t){var n=d.instances[s];(t&&n!==e||!t&&n===e)&&(d.instances[s]=t)},(o.hook||(o.hook={})).prepatch=function(e,t){d.instances[s]=t.componentInstance},o.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==d.instances[s]&&(d.instances[s]=e.componentInstance)};var v=o.props=function(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}(c,d.props&&d.props[s]);if(v){v=o.props=re({},v);var m=o.attrs=o.attrs||{};for(var g in v)h.props&&g in h.props||(m[g]=v[g],delete v[g])}return a(h,o,r)}};var oe=/[!'()*]/g,ae=function(e){return"%"+e.charCodeAt(0).toString(16)},se=/%2C/g,ce=function(e){return encodeURIComponent(e).replace(oe,ae).replace(se,",")},ue=decodeURIComponent;function le(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),r=ue(n.shift()),i=n.length>0?ue(n.join("=")):null;void 0===t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]})),t):t}function fe(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return ce(t);if(Array.isArray(n)){var r=[];return n.forEach((function(e){void 0!==e&&(null===e?r.push(ce(t)):r.push(ce(t)+"="+ce(e)))})),r.join("&")}return ce(t)+"="+ce(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var pe=/\/?$/;function de(e,t,n,r){var i=r&&r.options.stringifyQuery,o=t.query||{};try{o=he(o)}catch(s){}var a={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:o,params:t.params||{},fullPath:ge(t,i),matched:e?me(e):[]};return n&&(a.redirectedFrom=ge(n,i)),Object.freeze(a)}function he(e){if(Array.isArray(e))return e.map(he);if(e&&"object"===typeof e){var t={};for(var n in e)t[n]=he(e[n]);return t}return e}var ve=de(null,{path:"/"});function me(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function ge(e,t){var n=e.path,r=e.query;void 0===r&&(r={});var i=e.hash;return void 0===i&&(i=""),(n||"/")+(t||fe)(r)+i}function ye(e,t){return t===ve?e===t:!!t&&(e.path&&t.path?e.path.replace(pe,"")===t.path.replace(pe,"")&&e.hash===t.hash&&be(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&be(e.query,t.query)&&be(e.params,t.params)))}function be(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((function(n){var r=e[n],i=t[n];return"object"===typeof r&&"object"===typeof i?be(r,i):String(r)===String(i)}))}function _e(e,t,n){var r=e.charAt(0);if("/"===r)return e;if("?"===r||"#"===r)return t+e;var i=t.split("/");n&&i[i.length-1]||i.pop();for(var o=e.replace(/^\//,"").split("/"),a=0;a =0&&(t=e.slice(r),e=e.slice(0,r));var i=e.indexOf("?");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{path:e,query:n,hash:t}}(i.path||""),c=t&&t.path||"/",u=s.path?_e(s.path,c,n||i.append):c,l=function(e,t,n){void 0===t&&(t={});var r,i=n||le;try{r=i(e||"")}catch(a){r={}}for(var o in t)r[o]=t[o];return r}(s.query,i.query,r&&r.options.parseQuery),f=i.hash||s.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:u,query:l,hash:f}}var He,Be=[String,Object],Ge=[String,Array],Ue=function(){},Ze={name:"RouterLink",props:{to:{type:Be,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:Ge,default:"click"}},render:function(e){var t=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),o=i.location,a=i.route,s=i.href,c={},u=n.options.linkActiveClass,l=n.options.linkExactActiveClass,f=null==u?"router-link-active":u,p=null==l?"router-link-exact-active":l,d=null==this.activeClass?f:this.activeClass,h=null==this.exactActiveClass?p:this.exactActiveClass,v=a.redirectedFrom?de(null,De(a.redirectedFrom),null,n):a;c[h]=ye(r,v),c[d]=this.exact?c[h]:function(e,t){return 0===e.path.replace(pe,"/").indexOf(t.path.replace(pe,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(r,v);var m=function(e){qe(e)&&(t.replace?n.replace(o,Ue):n.push(o,Ue))},g={click:qe};Array.isArray(this.event)?this.event.forEach((function(e){g[e]=m})):g[this.event]=m;var y={class:c},b=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:s,route:a,navigate:m,isActive:c[d],isExactActive:c[h]});if(b){if(1===b.length)return b[0];if(b.length>1||!b.length)return 0===b.length?e():e("span",{},b)}if("a"===this.tag)y.on=g,y.attrs={href:s};else{var _=function e(t){if(t)for(var n,r=0;r -1&&(s.params[p]=n.params[p]);return s.path=ze(l.path,s.params),c(l,s,a)}if(s.path){s.params={};for(var d=0;d =e.length?n():e[i]?t(e[i],(function(){r(i+1)})):r(i+1)};r(0)}function mt(e){return function(t,n,r){var i=!1,o=0,a=null;gt(e,(function(e,t,n,s){if("function"===typeof e&&void 0===e.cid){i=!0,o++;var c,u=_t((function(t){var i;((i=t).__esModule||bt&&"Module"===i[Symbol.toStringTag])&&(t=t.default),e.resolved="function"===typeof t?t:He.extend(t),n.components[s]=t,--o<=0&&r()})),l=_t((function(e){var t="Failed to resolve async component "+s+": "+e;a||(a=te(e)?e:new Error(t),r(a))}));try{c=e(u,l)}catch(p){l(p)}if(c)if("function"===typeof c.then)c.then(u,l);else{var f=c.component;f&&"function"===typeof f.then&&f.then(u,l)}}})),i||r()}}function gt(e,t){return yt(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function yt(e){return Array.prototype.concat.apply([],e)}var bt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function _t(e){var t=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!t)return t=!0,e.apply(this,n)}}var kt=function(e){function t(t){e.call(this),this.name=this._name="NavigationDuplicated",this.message='Navigating to current location ("'+t.fullPath+'") is not allowed',Object.defineProperty(this,"stack",{value:(new e).stack,writable:!0,configurable:!0})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(Error);kt._name="NavigationDuplicated";var wt=function(e,t){this.router=e,this.base=function(e){if(!e)if(Ve){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=ve,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function xt(e,t,n,r){var i=gt(e,(function(e,r,i,o){var a=function(e,t){"function"!==typeof e&&(e=He.extend(e));return e.options[t]}(e,t);if(a)return Array.isArray(a)?a.map((function(e){return n(e,r,i,o)})):n(a,r,i,o)}));return yt(r?i.reverse():i)}function Ct(e,t){if(t)return function(){return e.apply(t,arguments)}}wt.prototype.listen=function(e){this.cb=e},wt.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},wt.prototype.onError=function(e){this.errorCbs.push(e)},wt.prototype.transitionTo=function(e,t,n){var r=this,i=this.router.match(e,this.current);this.confirmTransition(i,(function(){r.updateRoute(i),t&&t(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach((function(e){e(i)})))}),(function(e){n&&n(e),e&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach((function(t){t(e)})))}))},wt.prototype.confirmTransition=function(e,t,n){var r=this,i=this.current,o=function(e){!ne(kt,e)&&te(e)&&(r.errorCbs.length?r.errorCbs.forEach((function(t){t(e)})):console.error(e)),n&&n(e)};if(ye(e,i)&&e.matched.length===i.matched.length)return this.ensureURL(),o(new kt(e));var a=function(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n -1?decodeURI(e.slice(0,r))+e.slice(r):decodeURI(e)}else n>-1&&(e=decodeURI(e.slice(0,n))+e.slice(n));return e}function Tt(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function Lt(e){pt?dt(Tt(e)):window.location.hash=e}function jt(e){pt?ht(Tt(e)):window.location.replace(Tt(e))}var It=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index+1).concat(e),r.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){t.index=n,t.updateRoute(r)}),(function(e){ne(kt,e)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(wt),Ft=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=We(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!pt&&!1!==e.fallback,this.fallback&&(t="hash"),Ve||(t="abstract"),this.mode=t,t){case"history":this.history=new At(this,e.base);break;case"hash":this.history=new St(this,e.base,this.fallback);break;case"abstract":this.history=new It(this,e.base);break;default:0}},Mt={currentRoute:{configurable:!0}};function Rt(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}Ft.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},Mt.currentRoute.get=function(){return this.history&&this.history.current},Ft.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null)})),!this.app){this.app=e;var n=this.history;if(n instanceof At)n.transitionTo(n.getCurrentLocation());else if(n instanceof St){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},Ft.prototype.beforeEach=function(e){return Rt(this.beforeHooks,e)},Ft.prototype.beforeResolve=function(e){return Rt(this.resolveHooks,e)},Ft.prototype.afterEach=function(e){return Rt(this.afterHooks,e)},Ft.prototype.onReady=function(e,t){this.history.onReady(e,t)},Ft.prototype.onError=function(e){this.history.onError(e)},Ft.prototype.push=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!==typeof Promise)return new Promise((function(t,n){r.history.push(e,t,n)}));this.history.push(e,t,n)},Ft.prototype.replace=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!==typeof Promise)return new Promise((function(t,n){r.history.replace(e,t,n)}));this.history.replace(e,t,n)},Ft.prototype.go=function(e){this.history.go(e)},Ft.prototype.back=function(){this.go(-1)},Ft.prototype.forward=function(){this.go(1)},Ft.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},Ft.prototype.resolve=function(e,t,n){var r=De(e,t=t||this.history.current,n,this),i=this.match(r,t),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(e,t,n){var r="hash"===n?"#"+t:t;return e?ke(e+"/"+r):r}(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},Ft.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==ve&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ft.prototype,Mt),Ft.install=function e(t){if(!e.installed||He!==t){e.installed=!0,He=t;var n=function(e){return void 0!==e},r=function(e,t){var r=e.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(e,t)};t.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",ie),t.component("RouterLink",Ze);var i=t.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},Ft.version="3.1.3",Ve&&window.Vue&&window.Vue.use(Ft);var Pt=Ft,Nt="undefined"!==typeof window,zt=Nt&&navigator.connection,Dt=Nt&&(!zt||-1===(zt.effectiveType||"").indexOf("2g")&&!zt.saveData),Ht=Nt&&window.IntersectionObserver,Bt={};function Gt(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,r.withCredentials=!0),r.addEventListener("load",(function(){200===r.status?t():n()})),r.send()}))}function Ut(e){return self.fetch?fetch(e,{credentials:"include"}):Gt(e)}var Zt=function(e){if(Nt){var t=document.createElement("link");return t.relList&&t.relList.supports&&t.relList.supports(e)}}("prefetch")?function(e){return new Promise((function(t,n){var r=document.createElement("link");r.rel="prefetch",r.href=e,r.addEventListener("load",t),r.addEventListener("error",n),document.head.appendChild(r)}))}:Gt;function qt(e,t){if(Dt&&!Bt[e])return(t?Ut:Zt)(e).then((function(){Bt[e]=!0}))}var Vt=function(e,t){void 0===t&&(t={});var n=t.componentName;void 0===n&&(n="RouterLink");var r=t.prefetch;void 0===r&&(r=!0);var i=Ht&&new window.IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&e.target._linkPrefetch()}))})),o=Nt&&window.requestIdleCallback||function(e){var t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},a={name:n,extends:e.component("RouterLink")||e.component("router-link"),props:{prefetch:{type:Boolean,default:r},prefetchFiles:{type:Array},timeout:{type:Number,default:2e3}},mounted:function(){this.prefetch&&i&&Dt&&o(this.observe,{timeout:this.timeout})},beforeDestory:function(){this.unobserve()},methods:{observe:function(){i.observe(this.$el),this.$el._linkPrefetch=this.linkPrefetch,this._linkObserved=!0},unobserve:function(){this._linkObserved&&i.unobserve(this.$el)},getComponents:function(){return this.$router.getMatchedComponents(this.to).filter((function(e){return void 0===e.cid&&"function"===typeof e}))},linkPrefetch:function(){var e=this.$router.resolve(this.to).route;if(!e.meta.__prefetched){if(e.meta.__prefetched=!0,!1!==e.meta.prefetch)for(var t=0,n=this.getComponents();t 0)for(var o=0,a=i;o 1&&void 0!==arguments[1]?arguments[1]:{};switch(s=u.duration||1e3,r=u.offset||0,f=u.callback,i=u.easing||Kt,o=u.a11y||!1,t=window.scrollY||window.pageYOffset,"undefined"===typeof c?"undefined":Jt(c)){case"number":e=void 0,o=!1,n=t+c;break;case"object":n=p(e=c);break;case"string":e=document.querySelector(c),n=p(e)}switch(a=n-t+r,Jt(u.duration)){case"number":s=u.duration;break;case"function":s=u.duration(a)}window.requestAnimationFrame(d)}}(),Yt=n(30),Xt=n.n(Yt),Qt=function(){return Math.random().toString(36).substring(2)},en={name:"ContentLoader",functional:!0,props:{width:{type:Number,default:400},height:{type:Number,default:130},speed:{type:Number,default:2},preserveAspectRatio:{type:String,default:"xMidYMid meet"},baseUrl:{type:String,default:""},primaryColor:{type:String,default:"#f9f9f9"},secondaryColor:{type:String,default:"#ecebeb"},primaryOpacity:{type:Number,default:1},secondaryOpacity:{type:Number,default:1},uniqueKey:{type:String},animate:{type:Boolean,default:!0}},render:function(e,t){var n=t.props,r=t.data,i=t.children,o=n.uniqueKey?n.uniqueKey+"-idClip":Qt(),a=n.uniqueKey?n.uniqueKey+"-idGradient":Qt();return e("svg",Xt()([r,{attrs:{viewBox:"0 0 "+n.width+" "+n.height,version:"1.1",preserveAspectRatio:n.preserveAspectRatio}}]),[e("rect",{style:{fill:"url("+n.baseUrl+"#"+a+")"},attrs:{"clip-path":"url("+n.baseUrl+"#"+o+")",x:"0",y:"0",width:n.width,height:n.height}}),e("defs",[e("clipPath",{attrs:{id:o}},[i||e("rect",{attrs:{x:"0",y:"0",rx:"5",ry:"5",width:n.width,height:n.height}})]),e("linearGradient",{attrs:{id:a}},[e("stop",{attrs:{offset:"0%","stop-color":n.primaryColor,"stop-opacity":n.primaryOpacity}},[n.animate?e("animate",{attrs:{attributeName:"offset",values:"-2; 1",dur:n.speed+"s",repeatCount:"indefinite"}}):null]),e("stop",{attrs:{offset:"50%","stop-color":n.secondaryColor,"stop-opacity":n.secondaryOpacity}},[n.animate?e("animate",{attrs:{attributeName:"offset",values:"-1.5; 1.5",dur:n.speed+"s",repeatCount:"indefinite"}}):null]),e("stop",{attrs:{offset:"100%","stop-color":n.primaryColor,"stop-opacity":n.primaryOpacity}},[n.animate?e("animate",{attrs:{attributeName:"offset",values:"-1; 2",dur:n.speed+"s",repeatCount:"indefinite"}}):null])])])])}},tn={functional:!0,props:["openInNewTab","externalLinkIcon"],render:function(e,t){var n=t.data,r=t.children,i=t.props,o=i.openInNewTab,a=i.externalLinkIcon,s=Object.assign({},n.attrs),c=s.to;return H(c)?(delete s.to,delete s.prefetchFiles,e("a",Object.assign({},n,{class:[n.class,"is-external-link"],attrs:Object.assign({},s,{href:c,target:!1===o?"_self":"_blank"})}),[].concat(r,[!1===o||!1===a?null:e("external-link-icon",{class:"external-link-icon"})]))):e("router-link",n,r)}},nn=(n(37),h(tn,void 0,void 0,!1,null,null,null).exports),rn={components:{UniLink:nn},props:{nav:{type:Array,required:!0}},methods:{isExternalLink:H}},on=(n(38),h(rn,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"header-nav"},e._l(e.nav,(function(t,r){return n("div",{key:r,staticClass:"header-nav-item"},[t.children?n("div",{staticClass:"dropdown-wrapper"},[n("span",{staticClass:"dropdown-trigger"},[e._v("\n "+e._s(t.title)+"\n "),n("span",{staticClass:"arrow"})]),e._v(" "),t.children?n("ul",{staticClass:"dropdown-list"},e._l(t.children,(function(t,r){return n("li",{key:r,staticClass:"dropdown-item"},[n("uni-link",{attrs:{to:t.link,openInNewTab:t.openInNewTab,externalLinkIcon:!1}},[e._v(e._s(t.title))])],1)})),0):e._e()]):e._e(),e._v(" "),t.children?e._e():n("uni-link",{attrs:{to:t.link,openInNewTab:t.openInNewTab,externalLinkIcon:!1}},[e._v(e._s(t.title))])],1)})),0)}),[],!1,null,"93d08526",null).exports),an={props:{link:{type:Object,required:!0}}},sn=(n(39),{components:{UniLink:nn,PageToc:h(an,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return!e.$store.state.fetchingFile&&!1!==e.link.toc&&e.link.link===e.$route.path&&e.$store.state.page.headings&&e.$store.state.page.headings.length>0?n("div",{staticClass:"PageToc"},e._l(e.$store.state.page.headings,(function(t){return n("router-link",{key:t.slug,staticClass:"PageTocHeading",attrs:{to:{hash:t.slug},"data-level":t.level},domProps:{innerHTML:e._s(t.text)}})})),1):e._e()}),[],!1,null,"b4f38364",null).exports},props:{item:{type:Object,required:!0,default:function(){return{}}},open:{type:Boolean,required:!1,default:function(){return!0}}},computed:{children:function(){return this.item.children||this.item.links}},methods:{isExternalLink:H,getPrefetchFiles:function(e){var t=this.$store.getters.config,n=t.sourcePath,r=t.routes;if(r&&r[e]){var i=r[e].file;return i?[i]:[]}var o=G(e),a=B(n,o);return a?[a]:[]},getLinkTarget:function(e){return H(e)&&!1!==e.openInNewTab?"_blank":"_self"}}}),cn=(n(40),{components:{HeaderNav:on,SidebarItem:h(sn,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["SidebarItem",e.item.title&&"hasTitle"]},[e.item.title&&e.children?n("div",{staticClass:"ItemTitle",class:{collapsable:!1!==e.item.collapsable},on:{click:function(t){return e.$emit("toggle")}}},[!1!==e.item.collapsable?n("span",{staticClass:"arrow",class:{open:e.open}},[n("svg",{attrs:{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M1.4 8.56L4.67 5M1.4 1.23L4.66 4.7",stroke:"currentColor","stroke-linecap":"square"}})])]):e._e(),e._v(" "),n("span",[e._v(e._s(e.item.title))])]):e._e(),e._v(" "),e.item.title&&e.item.link?n("uni-link",{staticClass:"ItemLink",class:{active:e.$route.path===e.item.link},attrs:{to:e.item.link}},[e._v(e._s(e.item.title))]):e._e(),e._v(" "),e.item.title&&e.item.link?n("div",{staticClass:"ItemLinkToc"},[n("PageToc",{attrs:{link:e.item}})],1):e._e(),e._v(" "),e.children&&(e.open||!1===e.item.collapsable)?n("div",{staticClass:"ItemChildren"},e._l(e.children,(function(t,r){return n("div",{key:r,staticClass:"ItemChild"},[n("uni-link",{staticClass:"ItemChildLink",class:{active:e.$route.path===t.link},attrs:{to:t.link,openInNewTab:t.openInNewTab,prefetchFiles:e.getPrefetchFiles(t.link)}},[e._v(e._s(t.title))]),e._v(" "),n("PageToc",{attrs:{link:t}})],1)})),0):e._e()],1)}),[],!1,null,"794d5154",null).exports},data:function(){return{closedItems:[]}},watch:{"$route.path":{handler:function(){var e=this.getCurrentIndex(this.$route.path,this.$store.getters.sidebar);this.openItem(e)},immediate:!0}},methods:{openItem:function(e){this.closedItems.indexOf(e)>-1&&(this.closedItems=this.closedItems.filter((function(t){return t!==e})))},toggleItem:function(e){-1===this.closedItems.indexOf(e)?this.closedItems.push(e):this.closedItems=this.closedItems.filter((function(t){return t!==e}))},getCurrentIndex:function(e,t){for(var n=0;n "+this.pageTitle+""}},PageContent:function(){var e=this.$store.state.env,t=this.$store.getters.config.componentMixins,n={mixins:[].concat(void 0===t?[]:t,e.mixins.map((function(e){return new Function("Vue","return "+e.trim())(r.a)}))),name:"PageContent",template:' '+this.$store.state.page.content+""};return f.process("extendMarkdownComponent",n),n}},methods:{fetchFile:function(e){try{var t=this;return yn(t.$store.dispatch("fetchFile",e),(function(){return f.invoke("onContentWillUpdate",t),yn(t.$nextTick(),(function(){f.invoke("onContentUpdated",t),t.jumpToHash()}))}))}catch(n){return Promise.reject(n)}},jumpToHash:function(){var e=decodeURI(this.$route.hash);if(e){var t=document.querySelector(e);if(t){var n=document.querySelector(".Header");Wt(t,{a11y:!0,duration:0,offset:-(n.clientHeight+30)})}}},setInitialState:function(){if(/(Prerender|jsdom|PhantomJS)/i.test(navigator.userAgent)){var e=document.createElement("script");e.textContent="window.__DOCUTE_INITIAL_STATE__ = "+JSON.stringify({page:this.$store.state.page,env:this.$store.state.env,fetchingFile:!1}),document.head.appendChild(e)}},setTitle:function(){var e=this.$route.path,t=this.$store.getters,n=t.config,r=t.homePaths.indexOf(e)>-1?n.title:this.pageTitle+" - "+n.title;r=r.replace(/<(?:.|\n)*?>/gm,""),this.$ssrContext?this.$ssrContext.title=r:document.title=r}}},_n=(n(47),n(48),n(49),h(bn,(function(){var e,t=this,n=t.$createElement,r=t._self._c||n;return r("div",{staticClass:"Page",class:(e={},e["layout-"+t.$store.getters.config.layout]=!0,e)},[r("SiteHeader"),t._v(" "),r("div",{staticClass:"Wrap"},[r("Sidebar"),t._v(" "),r("SidebarMask"),t._v(" "),r("div",{staticClass:"Main"},[t.$store.state.fetchingFile?r("div",{staticClass:"Content"},[r("content-loader",{attrs:{height:160,width:400,speed:2,primaryColor:t.$store.getters.cssVariables.loaderPrimaryColor,secondaryColor:t.$store.getters.cssVariables.loaderSecondaryColor}},[r("rect",{attrs:{x:"0",y:"5",rx:"4",ry:"4",width:"117",height:"6.4"}}),t._v(" "),r("rect",{attrs:{x:"0",y:"25",rx:"3",ry:"3",width:"85",height:"6.4"}}),t._v(" "),r("rect",{attrs:{x:"0",y:"60",rx:"3",ry:"3",width:"350",height:"6.4"}}),t._v(" "),r("rect",{attrs:{x:"0",y:"80",rx:"3",ry:"3",width:"380",height:"6.4"}}),t._v(" "),r("rect",{attrs:{x:"0",y:"100",rx:"3",ry:"3",width:"201",height:"6.4"}})])],1):r("div",{staticClass:"Content"},[r("InjectedComponents",{attrs:{position:"content:start"}}),t._v(" "),t.pageTitle?r(t.MarkdownTitle,{tag:"component",staticClass:"page-title"}):t._e(),t._v(" "),r(t.PageContent,{tag:"component",class:{"has-page-title":t.pageTitle}}),t._v(" "),r("EditLink"),t._v(" "),r("PrevNextLinks"),t._v(" "),r("InjectedComponents",{attrs:{position:"content:end"}})],1)])],1)],1)}),[],!1,null,"2f23fdf8",null).exports);r.a.use(Pt),r.a.use(Vt);var kn=function(e){return new Pt(Object.assign({scrollBehavior:function(e,t,n){return n||{x:0,y:0}}},e,{routes:[{path:"*",component:_n}]}))},wn=function(e){return{functional:!0,render:function(t,n){return t(e,n.data,n.children)}}},xn={name:"ImageZoom",props:{url:{type:String},src:{type:String},alt:{type:String},border:{type:Boolean,default:!0},width:{type:[String,Number]},title:{type:String}},computed:{imageURL:function(){return this.src||this.url}},mounted:function(){(0,n(50).default)(this.$refs.img,{})}},Cn=(n(51),h(xn,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"ImageZoom",class:{"with-border":this.border}},[t("img",{ref:"img",attrs:{src:this.imageURL,alt:this.alt,width:this.width,title:this.title}})])}),[],!1,null,"f17c6258",null).exports),An={name:"Badge",props:{type:{type:String},color:{type:String}}},$n=(n(52),h(An,(function(e,t){return(0,t._c)("span",{class:["badge","is-"+t.props.type],style:{backgroundColor:t.props.color}},[t._t("default")],2)}),[],!0,null,null,null).exports),Sn={name:"DocuteSelect",model:{event:"change"},props:["value"],methods:{handleChange:function(e){this.$emit("change",e.target.value)}}},On=(n(53),h(Sn,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"DocuteSelect"},[t("select",{staticClass:"select",domProps:{value:this.value},on:{change:this.handleChange}},[this._t("default",null,null,{value:this.value})],2),this._v(" "),t("div",{staticClass:"arrow"},[t("svg",{attrs:{width:"13",height:"6",xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"#979797","fill-rule":"evenodd","stroke-linecap":"square"}},[t("path",{attrs:{d:"M1.367.375l5.185 5.303M11.685.375L6.5 5.678"}})])])])}),[],!1,null,"091fbc3d",null).exports),En={name:"Note",props:{type:{type:String,default:"note"},label:{type:[String,Boolean],default:!0}}},Tn=(n(54),h(En,(function(e,t){var n=t._c;return n("div",{class:["note","is-"+t.props.type]},[t.props.label?n("span",{staticClass:"note-label"},[t._v(t._s(!0===t.props.label?t.props.type:t.props.label)+":")]):t._e(),t._v(" "),t._t("default")],2)}),[],!0,null,null,null).exports),Ln={name:"Gist",props:{id:{type:String,required:!0}},data:function(){return{html:""}},mounted:function(){var e=this;window["gist_callback_"+this.id]=function(t){var n=document.createElement("link");n.href=t.stylesheet,n.rel="stylesheet",document.head.appendChild(n),e.html=t.div};var t=document.createElement("script");t.src="https://gist.github.com/egoist/"+this.id+".json?callback=gist_callback_"+this.id,document.head.appendChild(t)}},jn=(n(55),h(Ln,(function(){var e=this.$createElement,t=this._self._c||e;return this.html?t("div",{domProps:{innerHTML:this._s(this.html)}}):t("Loading")}),[],!1,null,null,null).exports),In={name:"Loading"},Fn=(n(56),h(In,(function(e,t){t._c;return t._m(0)}),[function(e,t){var n=t._c;return n("div",{staticClass:"loading"},[n("div",{staticClass:"dots"},[n("span"),t._v(" "),n("span"),t._v(" "),n("span")]),t._v(" "),n("span",{staticClass:"loading-text"},[t._v("Loading Gist")])])}],!0,null,"4f620c69",null).exports),Mn=h({name:"ExternalLinkIcon"},(function(e,t){var n=t._c;return n("svg",t._g(t._b({class:[t.data.staticClass,t.data.class],attrs:{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 100 100",width:"15",height:"15"}},"svg",t.data.attrs,!1),t.data.on),[n("path",{attrs:{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}}),t._v(" "),n("polygon",{attrs:{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"}})])}),[],!0,null,null,null).exports,Rn={computed:{languages:function(){var e=this.$store.getters.languageOverrides;return Object.keys(e).map((function(t){return{path:t,language:e[t].language}}))}},methods:{handleChange:function(e){var t=this.$route.path.replace(new RegExp("^"+this.$store.getters.currentLocalePath),e);this.$router.push(t)}}},Pn=(n(57),h(Rn,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"LanguageSelector"},[n("DocuteSelect",{attrs:{value:e.$store.getters.currentLocalePath},on:{change:e.handleChange},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.value;return[n("option",{attrs:{disabled:""}},[e._v("Choose Language")]),e._v(" "),e._l(e.languages,(function(t){return n("option",{key:t.path,domProps:{value:t.path,selected:r===t.path}},[e._v(e._s(t.language))])}))]}}])})],1)}),[],!1,null,"d5ba05fe",null).exports),Nn={name:"i18n",extend:function(e){e.store.getters.languageOverrides&&e.registerComponent("sidebar:start",Pn)}},zn={name:"hoistTags",extend:function(e){e.extendMarkedRenderer((function(e){var t=/^<(script|style)(?=(\s|>|$))/i;e.html=function(e){return e=e.trim(),t.test(e)?e.replace(/^<(script|style)/,"$/," "):e}}))}},Dn={methods:{handleChange:function(e){H(e)?location.href=e:this.$router.push(e)}},computed:{currentVersionLink:function(){for(var e=this.$store.getters.config.versions,t=0,n=Object.keys(e);t'+e+""}:e},Un={name:"banner-footer",extend:function(e){var t=e.store.getters.config,n=t.banner,r=t.footer;n&&e.registerComponent("content:start",Gn(n,"docute-banner")),r&&e.registerComponent("content:end",Gn(r,"docute-footer"))}},Zn={data:function(){var e=localStorage.getItem("docute:theme");return{dark:"dark"in this.$route.query||("dark"===e||"default"!==e&&"dark"===this.$store.getters.config.theme)}},created:function(){this.$store.commit("SET_THEME",this.dark?"dark":"default")},methods:{handleChange:function(){var e=this.$store.getters.config.theme;this.dark=!this.dark,this.$store.commit("SET_THEME",this.dark?"dark":"dark"===e?"default":e),localStorage.setItem("docute:theme",this.dark?"dark":"default")}}},qn=(n(59),h(Zn,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"dark-theme-toggler"},[t("div",{staticClass:"toggle",class:{checked:this.dark},on:{click:this.handleChange}},[this._m(0),this._v(" "),t("div",{staticClass:"toggle-thumb"})]),this._v(" "),t("input",{staticClass:"toggler-screen-reader-only",attrs:{type:"checkbox","aria-label":"Switch between Dark and Default theme"},domProps:{checked:this.dark}})])}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"toggle-track"},[t("div",{staticClass:"toggle-track-check"},[t("img",{staticStyle:{"pointer-events":"none"},attrs:{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KTMInWQAABlJJREFUWAm1V3tsFEUcntnXvXu0tBWo1ZZHihBjCEWqkHiNaMLDRKOtQSKaiCFKQtS/SbxiFCHGCIkmkBSMwZhQNTFoQZD0DFiwtCDFAkdDqBBBKFj63rvdnfH7zfVo5aFBj0l2Z/dm5vd98/0es8dYjlpr62azufnDQNZcU1PciMfjWvb9rvZSMk4Ayfb36pLH13189GC8LAtIRLLPt+pzwrCuLq4ISEv/gHmitrAwfPbEkXc/ad4dL6iujrvyX0jcitgd/yZlZqftP6995Mr5TVLa22Tn8XVX2g/XLSRjUu7Q79jonS7I7hS7/0oOb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gyYRQ49ljTyWHhr2DwpNHHFf+5gnWZ3Bharo+0TD5dNMw5vv9RlVpSRDHK4TlnoukhtYApuOHejSZQuo5g/A9BysdKRCyLl6062fN37OXMDlvUJtUrtmxo0avrW3wTrYs3jJ9RvRVChrmSmanPMpX2OXMsmDGh6AiEIwBAlvkOqIdBy+8JyAz8pz7QxiDth4KDy5uAlwzrWTnwC8Vc4KVAMZ3YUZ+IqoIjP3h5KFFX1ZMy3uW+7RhEDHgTi0zC9rS7uhPCDiNrGFyqBeERtKN/B0YlyFCkw0NJ5C0Ojv7zvT1a1WV1TuvZDdL4NTgB7CASYpsen6gqvG5jmTf5qHedADgkBl3D0nkSgNhZACDyi0FUKZRr3IdRjgN4WPPoFMIIegIK3mqd38fS80mcJKelM4szNyzZtQbkchGePuBRS8Eg9pHU8ojRQpSqs+ajAIwTjjUMQ/nvTNM0kicwYxZIYMh/891DYi+fvedB+c1xsm4lDU6ya+Axtz+RiAzEVYbajQOpq17F0R9QevNcEhfcU+xvyQQUalGJBSesqOkgPQ4YNyUZL9fSvUPDjoNAwN8/dwFjaczNkc3ptaMud1EIDtGcmXTcefO2cGSvKIFfp/2JIJxlq7xEl3nVPM4fDeIbPkD16/ptNc0bDu7qxbsu0R2JGywWMIjF2ft3tjfloAyQAGXiOn8hrqwbVvMXzaO+QeHXP6nF0wvX74Hf4NGG5GPjSlYoyM3P/0FbCT6zvM/yYoAAAAASUVORK5CYII=",width:"16",height:"16",role:"presentation"}})]),this._v(" "),t("div",{staticClass:"toggle-track-x"},[t("img",{staticStyle:{"pointer-events":"none"},attrs:{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4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vyQHQIbM5t4+YNxLj/OxhVOOE4585qGpjnq+wSx6Q9CtNxTjd5klB+g6Mv36r0+b9cZFi44WYkHdG2ZWb3TtOUOXyVAlKlpGvJIAJ3eBMyfYS5C0qRZGtC85j+4sOasDe9xznPYezhhO/2Q6eP2fSOvYHOjtuQ1a9Q1VKynVDaMc8E0tptdxUsTFpFIYjcZKcbnoaQTNdiqCwNlL4G7oziSqGnT1ALf34vhk4R5zU3qYV9ONp9K88RtouShE68JwaU8dFw5W617shWa9ykeaBIn2hcsvPgL00k45QdTCZuSVcTRNs+8fnyLvooQfR5iujAnR9bxfY2xOVOxFS8SK3Le0l48VyYu1M8HRe5JD8wKPTjYnifaK3Wfn/GChYQ8ZAi6WRzWgqLV5YrsVLnZaVSoXU1g9gOIDwFySiGi+Zdrnzr7J3r+SMuszlcQCRn8lNGcTuSy2jOI7o9mxjZo+vR3ej3tN+ifRSOyUTS0+VMOid93cCubeiy/6TImS0QxRSCq2vxKr45zV+FQnjWH6D2xg+E9EatLcLAdHTgtGGD80D6jM0+aOl4wJgO/f96R2aJKCQ3yvgftRhdFMOpd6oAAAAASUVORK5CYII=",width:"16",height:"16",role:"presentation"}})])])}],!1,null,"d69f2884",null).exports),Vn={name:"dark-theme-toggler",extend:function(e){var t=e.store.getters.config.darkThemeToggler;!0===t?e.registerComponent("sidebar:post-end",qn):"sidebar"===t&&(e.registerComponent("header-right:start",qn),e.registerComponent("mobile-sidebar:start",qn))}};function Kn(e,t,n,r){var i,o=!1,a=0;function s(){i&&clearTimeout(i)}function c(){var c=this,u=Date.now()-a,l=arguments;function f(){a=Date.now(),n.apply(c,l)}o||(r&&!i&&f(),s(),void 0===r&&u>e?f():!0!==t&&(i=setTimeout(r?function(){i=void 0}:f,void 0===r?e-u:e)))}return"boolean"!==typeof t&&(r=n,n=t,t=void 0),c.cancel=function(){s(),o=!0},c}var Jn,Wn,Yn,Xn,Qn={data:function(){return{result:[],focused:!1}},watch:{"$route.fullPath":function(){this.focused=!1}},mounted:function(){document.addEventListener("click",this.handleClick)},beforeDestroy:function(){document.removeEventListener("click",this.handleClick)},computed:{enabled:function(){return this.$pluginApi.search.enabled}},methods:{handleClick:function(e){this.$el.contains(e.target)&&!this.$refs.result.contains(e.target)||(this.focused=!1)},handleSearch:(Jn=300,Xn=function(e){var t,n,r,i=this,o=i.$pluginApi.search.handler;return t=o(e.target.value),n=function(e){i.result=e},r?n?n(t):t:(t&&t.then||(t=Promise.resolve(t)),n?t.then(n):t)},Wn=function(){for(var e=[],t=0;t 0,expression:"result.length > 0"}],ref:"result",staticClass:"search-result"},e._l(e.result,(function(t,r){return n("router-link",{key:r,staticClass:"search-result-item",attrs:{to:t.link}},[n("div",{staticClass:"item-header"},[n("div",{staticClass:"item-title",domProps:{innerHTML:e._s(t.title)}}),e._v(" "),t.label?n("span",{staticClass:"item-label"},[e._v(e._s(t.label))]):e._e()]),e._v(" "),n("div",{staticClass:"item-desc",domProps:{innerHTML:e._s(t.description)}})])})),1)])]):e._e()}),[],!1,null,"026453b4",null).exports),tr={name:"search",extend:function(e){e.registerComponent("header-right:start",er)}};r.a.component(Cn.name,Cn),r.a.component($n.name,$n),r.a.component(On.name,On),r.a.component(Tn.name,Tn),r.a.component(Mn.name,Mn),r.a.component(jn.name,jn),r.a.component(Fn.name,Fn),r.a.use((function(e){e.component("v-style",wn("style")),e.component("v-script",wn("script"))})),r.a.mixin({created:function(){var e=this.$options.pluginApi||this.$root.$pluginApi;e&&(this.$pluginApi=e)}});var nr=function(){function e(e){void 0===e&&(e={});var t=kn(e.router);Object(i.sync)(ee,t),this.router=t,this.store=ee,ee.commit("SET_CONFIG",Object.assign({title:U&&document.title},e));var n=[Nn,zn,Bn,Un,Vn,tr].concat(ee.state.originalConfig.plugins||[]);this.pluginApi=new p({plugins:n,store:ee,router:t}),this.applyPlugins(),this.app=new r.a({router:t,store:ee,pluginApi:this.pluginApi,render:function(e){return e(v)}}),!1!==e.mount&&this.mount()}var t=e.prototype;return t.mount=function(){var e=ee.getters.target;return window.__DOCUTE_INITIAL_STATE__?this.app.$mount("#"+e,!0):this.app.$mount("#"+e),this},t.applyPlugins=function(){var e=this.pluginApi.plugins,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}r.extend(this.pluginApi)}},e}();nr.version="4.23.3";t.default=nr;"undefined"!==typeof window&&(window.Vue=r.a,window.__DOCUTE_VERSION__="4.23.3")}]).default})); \ No newline at end of file diff --git a/index.html b/index.html index 963e193..3aa450c 100644 --- a/index.html +++ b/index.html @@ -6,11 +6,11 @@ name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> - + - +