documentation/assets/js/1.79a56ae5.js
2021-08-03 23:09:19 +00:00

1 line
13 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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.

(window.webpackJsonp=window.webpackJsonp||[]).push([[1,11,16,18,28],{312:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return a})),n.d(e,"j",(function(){return u})),n.d(e,"i",(function(){return o})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return c})),n.d(e,"h",(function(){return f})),n.d(e,"b",(function(){return h})),n.d(e,"e",(function(){return d})),n.d(e,"l",(function(){return p})),n.d(e,"m",(function(){return v})),n.d(e,"c",(function(){return g})),n.d(e,"k",(function(){return m}));n(26),n(51),n(180),n(73),n(107),n(49),n(104),n(50),n(313),n(70),n(316),n(52);var r=n(108),i=/#.*$/,s=/\.(md|html)$/,a=/\/$/,u=/^(https?:|mailto:|tel:)/;function o(t){return decodeURI(t).replace(i,"").replace(s,"")}function l(t){return u.test(t)}function c(t){return/^mailto:/.test(t)}function f(t){return/^tel:/.test(t)}function h(t){if(l(t))return t;var e=t.match(i),n=e?e[0]:"",r=o(t);return a.test(r)?t:r+".html"+n}function d(t,e){var n=t.hash,r=function(t){var e=t.match(i);if(e)return e[0]}(e);return(!r||n===r)&&o(t.path)===o(e)}function p(t,e,n){n&&(e=function(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var i=e.split("/");n&&i[i.length-1]||i.pop();for(var s=t.replace(/^\//,"").split("/"),a=0;a<s.length;a++){var u=s[a];".."===u?i.pop():"."!==u&&i.push(u)}""!==i[0]&&i.unshift("");return i.join("/")}(e,n));for(var r=o(e),i=0;i<t.length;i++)if(o(t[i].path)===r)return Object.assign({},t[i],{type:"page",path:h(e)});return console.error('[vuepress] No matching page found for sidebar item "'.concat(e,'"')),{}}function v(t,e,n,i){var s=n.pages,a=n.themeConfig,u=i&&a.locales&&a.locales[i]||a;if("auto"===(t.frontmatter.sidebar||u.sidebar||a.sidebar))return function(t){var e=g(t.headers||[]);return[{type:"group",collapsable:!1,title:t.title,children:e.map((function(e){return{type:"auto",title:e.title,basePath:t.path,path:t.path+"#"+e.slug,children:e.children||[]}}))}]}(t);var o=u.sidebar||a.sidebar;if(o){var l=function(t,e){if(Array.isArray(e))return{base:"/",config:e};for(var n in e)if(0===(r=t.path,/(\.html|\/)$/.test(r)?r:r+"/").indexOf(n))return{base:n,config:e[n]};var r;return{}}(e,o),c=l.base,f=l.config;return f?f.map((function(t){return function t(e,n,i,s){if("string"==typeof e)return p(n,e,i);if(Array.isArray(e))return Object.assign(p(n,e[0],i),{title:e[1]});s&&console.error("[vuepress] Nested sidebar groups are not supported. Consider using navbar + categories instead.");var a=e.children||[],u=e.versions||[];return Object(r.a)({type:"group"},e,{children:a.map((function(e){return t(e,n,i,!0)})),collapsable:!1!==e.collapsable,versions:u.map((function(s){return Object(r.a)({},s,{status:s.name===e.currentVersion?"current":s.status,children:s.children.map((function(r){return t(e.path+s.name+r,n,i,!0)}))})}))})}(t,s,c)})):[]}return[]}function g(t){var e;return(t=t.map((function(t){return Object.assign({},t)}))).forEach((function(t){2===t.level?e=t:e&&(e.children||(e.children=[])).push(t)})),t.filter((function(t){return 2===t.level}))}function m(t){return Object.assign(t,{type:t.items&&t.items.length?"links":"link"})}},313:function(t,e,n){"use strict";var r=n(176),i=n(7),s=n(10),a=n(25),u=n(177),o=n(178);r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=i(t),l=String(this);if(!a.global)return o(a,l);var c=a.unicode;a.lastIndex=0;for(var f,h=[],d=0;null!==(f=o(a,l));){var p=String(f[0]);h[d]=p,""===p&&(a.lastIndex=u(l,s(a.lastIndex),c)),d++}return 0===d?null:h}]}))},314:function(t,e,n){},316:function(t,e,n){"use strict";var r=n(176),i=n(106),s=n(7),a=n(25),u=n(105),o=n(177),l=n(10),c=n(178),f=n(72),h=n(2),d=[].push,p=Math.min,v=!h((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),s=void 0===n?4294967295:n>>>0;if(0===s)return[];if(void 0===t)return[r];if(!i(t))return e.call(r,t,s);for(var u,o,l,c=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,v=new RegExp(t.source,h+"g");(u=f.call(v,r))&&!((o=v.lastIndex)>p&&(c.push(r.slice(p,u.index)),u.length>1&&u.index<r.length&&d.apply(c,u.slice(1)),l=u[0].length,p=o,c.length>=s));)v.lastIndex===u.index&&v.lastIndex++;return p===r.length?!l&&v.test("")||c.push(""):c.push(r.slice(p)),c.length>s?c.slice(0,s):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var i=a(this),s=null==e?void 0:e[t];return void 0!==s?s.call(e,i,n):r.call(String(i),e,n)},function(t,i){var a=n(r,t,this,i,r!==e);if(a.done)return a.value;var f=s(t),h=String(this),d=u(f,RegExp),g=f.unicode,m=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),b=new d(v?f:"^(?:"+f.source+")",m),x=void 0===i?4294967295:i>>>0;if(0===x)return[];if(0===h.length)return null===c(b,h)?[h]:[];for(var S=0,y=0,_=[];y<h.length;){b.lastIndex=v?y:0;var I,N=c(b,v?h:h.slice(y));if(null===N||(I=p(l(b.lastIndex+(v?0:y)),h.length))===S)y=o(h,y,g);else{if(_.push(h.slice(S,y)),_.length===x)return _;for(var C=1;C<=N.length-1;C++)if(_.push(N[C]),_.length===x)return _;y=S=I}}return _.push(h.slice(S)),_}]}),!v)},320:function(t,e){t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},321:function(t,e,n){"use strict";n.r(e);var r={name:"DropdownTransition",methods:{setHeight:function(t){t.style.height=t.scrollHeight+"px"},unsetHeight:function(t){t.style.height=""}}},i=(n(322),n(48)),s=Object(i.a)(r,(function(){var t=this.$createElement;return(this._self._c||t)("transition",{attrs:{name:"dropdown"},on:{enter:this.setHeight,"after-enter":this.unsetHeight,"before-leave":this.setHeight}},[this._t("default")],2)}),[],!1,null,null,null);e.default=s.exports},322:function(t,e,n){"use strict";var r=n(314);n.n(r).a},323:function(t,e,n){var r=n(25),i="["+n(320)+"]",s=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),u=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(s,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:u(1),end:u(2),trim:u(3)}},329:function(t,e,n){"use strict";var r=n(0),i=n(33).find,s=n(75),a=n(19),u=!0,o=a("find");"find"in[]&&Array(1).find((function(){u=!1})),r({target:"Array",proto:!0,forced:u||!o},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),s("find")},332:function(t,e,n){"use strict";n.r(e);var r={name:"VersionSelectItem",props:{version:{type:Object,required:!0}},computed:{classes:function(){return{deprecated:["text-orange"],current:["text-green-dark"],stable:["text-green-dark"],beta:["text-blue"]}[this.version.status]||["text-grey"]}}},i=n(48),s=Object(i.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"inline-block"},[t._v("\n "+t._s(t.version.title||t.version.name)+"\n "),n("span",{staticClass:"rounded-full ml-2",class:t.classes},[t._v(t._s(t.version.status))])])}),[],!1,null,null,null);e.default=s.exports},334:function(t,e,n){"use strict";n.r(e);n(49),n(179);var r=n(312);function i(t,e,n,r){return t("router-link",{props:{to:e,activeClass:"",exactActiveClass:""},class:{active:r,"sidebar-link":!0}},n)}function s(t,e,n,a,u){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;return!e||o>u?null:t("ul",{class:"sidebar-sub-headers"},e.map((function(e){var l=Object(r.e)(a,n+"#"+e.slug);return t("li",{class:"sidebar-sub-header"},[i(t,n+"#"+e.slug,e.title,l),s(t,e.children,n,a,u,o+1)])})))}var a={functional:!0,props:["item"],render:function(t,e){var n=e.parent,a=n.$page,u=n.$site,o=n.$route,l=e.props.item,c=Object(r.e)(o,l.path),f="auto"===l.type?c||l.children.some((function(t){return Object(r.e)(o,l.basePath+"#"+t.slug)})):c,h=i(t,l.path,l.title||l.path,f),d=null!=a.frontmatter.sidebarDepth?a.frontmatter.sidebarDepth:u.themeConfig.sidebarDepth,p=null==d?1:d,v=!!u.themeConfig.displayAllHeaders;return"auto"===l.type?[h,s(t,l.children,l.basePath,o,p)]:(f||v)&&l.headers&&!r.d.test(l.path)?[h,s(t,Object(r.c)(l.headers),l.path,o,p)]:h}},u=n(48),o=Object(u.a)(a,void 0,void 0,!1,null,null,null);e.default=o.exports},336:function(t,e,n){"use strict";var r=n(5),i=n(4),s=n(76),a=n(11),u=n(9),o=n(18),l=n(182),c=n(53),f=n(2),h=n(32),d=n(54).f,p=n(21).f,v=n(8).f,g=n(323).trim,m=i.Number,b=m.prototype,x="Number"==o(h(b)),S=function(t){var e,n,r,i,s,a,u,o,l=c(t,!1);if("string"==typeof l&&l.length>2)if(43===(e=(l=g(l)).charCodeAt(0))||45===e){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(l.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+l}for(a=(s=l.slice(2)).length,u=0;u<a;u++)if((o=s.charCodeAt(u))<48||o>i)return NaN;return parseInt(s,r)}return+l};if(s("Number",!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var y,_=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof _&&(x?f((function(){b.valueOf.call(n)})):"Number"!=o(n))?l(new m(S(e)),n,_):S(e)},I=r?d(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),N=0;I.length>N;N++)u(m,y=I[N])&&!u(_,y)&&v(_,y,p(m,y));_.prototype=b,b.constructor=_,a(i,"Number",_)}},345:function(t,e,n){"use strict";n.r(e);n(329),n(180),n(49),n(104),n(50),n(348),n(316),n(110);var r=n(334),i=n(321),s=n(346),a={name:"SidebarGroup",props:["item","first","open","collapsable"],components:{SidebarLink:r.default,DropdownTransition:i.default,VersionSelect:s.default},data:function(){var t=this.item.versions.length>0,e="";if(t&&(e=this.item.currentVersion||this.item.versions[0].name,this.$router.currentRoute.path.startsWith(this.item.path))){var n=this.$router.currentRoute.path.split("/")[2];e=~this.item.versions.map((function(t){return t.name})).indexOf(n)?n:this.item.currentVersion}return{isVersioned:t,versionSelect:e}},watch:{versionSelect:function(t,e){if(e!==t&&this.$router.currentRoute.path.startsWith(this.item.path)&&this.selectedVersion.children.length>0){var n=this.$router.currentRoute.path;n=n.substr(n.indexOf(e)+e.length),this.$router.push(this.selectedVersion.children.find((function(t){return t.path.endsWith(n)}))||this.selectedVersion.children[0])}},$route:function(t,e){if(this.isVersioned&&t.path.startsWith(this.item.path)){var n=t.path.split("/")[2];~this.item.versions.map((function(t){return t.name})).indexOf(n)&&(this.versionSelect=n)}}},computed:{selectedVersion:function(){var t=this;return this.item.versions.find((function(e){return e.name===t.versionSelect}))},children:function(){return this.isVersioned?this.selectedVersion.children:this.item.children}}},u=n(48),o=Object(u.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-group",class:{first:t.first,collapsable:t.collapsable}},[n("p",{staticClass:"sidebar-heading",class:{open:t.open},on:{click:function(e){return t.$emit("toggle")}}},[n("span",[t._v(t._s(t.item.title))]),t._v(" "),t.collapsable?n("span",{staticClass:"arrow",class:t.open?"down":"right"}):t._e(),t._v(" "),t.isVersioned?n("VersionSelect",{staticClass:"float-right",attrs:{versions:t.item.versions},model:{value:t.versionSelect,callback:function(e){t.versionSelect=e},expression:"versionSelect"}}):t._e()],1),t._v(" "),n("DropdownTransition",[t.open||!t.collapsable?n("ul",{ref:"items",staticClass:"sidebar-group-items"},t._l(t.children,(function(t){return n("li",[n("SidebarLink",{attrs:{item:t}})],1)})),0):t._e()])],1)}),[],!1,null,null,null);e.default=o.exports},346:function(t,e,n){"use strict";n.r(e);n(329),n(104),n(336);var r={name:"VersionSelect",components:{VersionSelectItem:n(332).default},props:{versions:{type:Array,required:!0},tabindex:{type:Number,required:!1,default:0},value:{type:String,required:!1}},data:function(){var t=this;return{selected:this.versions.find((function(e){return e.name===t.value}))||(this.versions.length>0?this.versions[0]:null),open:!1}},watch:{value:function(t,e){var n=this;if(t!==e){var r=this.versions.find((function(t){return t.name===n.value}));r&&(this.selected=r)}}},mounted:function(){this.$emit("input",this.selected.name)}},i=n(48),s=Object(i.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"version-select custom-select",attrs:{tabindex:t.tabindex},on:{blur:function(e){t.open=!1}}},[n("div",{staticClass:"selected",class:{open:t.open},on:{click:function(e){t.open=!t.open}}},[n("VersionSelectItem",{attrs:{version:t.selected}}),t._v(" "),n("span",{staticClass:"arrow"})],1),t._v(" "),n("div",{staticClass:"items",class:{hidden:!t.open}},t._l(t.versions,(function(e){return n("div",{key:e.name,staticClass:"item",on:{click:function(n){t.selected=e,t.open=!1,t.$emit("input",e.name)}}},[n("VersionSelectItem",{attrs:{version:e}})],1)})),0)])}),[],!1,null,null,null);e.default=s.exports},348:function(t,e,n){"use strict";var r,i=n(0),s=n(21).f,a=n(10),u=n(111),o=n(25),l=n(112),c=n(22),f="".endsWith,h=Math.min,d=l("endsWith");i({target:"String",proto:!0,forced:!!(c||d||(r=s(String.prototype,"endsWith"),!r||r.writable))&&!d},{endsWith:function(t){var e=String(o(this));u(t);var n=arguments.length>1?arguments[1]:void 0,r=a(e.length),i=void 0===n?r:h(a(n),r),s=String(t);return f?f.call(e,s,i):e.slice(i-s.length,i)===s}})}}]);