(window.webpackJsonp=window.webpackJsonp||[]).push([[4,24,31],{244:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return s})),n.d(t,"i",(function(){return a})),n.d(t,"f",(function(){return l})),n.d(t,"g",(function(){return u})),n.d(t,"h",(function(){return p})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return h})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return f})),n.d(t,"c",(function(){return g})),n.d(t,"j",(function(){return m}));n(46);const r=/#.*$/,i=/\.(md|html)$/,s=/\/$/,a=/^[a-z]+:/i;function o(e){return decodeURI(e).replace(r,"").replace(i,"")}function l(e){return a.test(e)}function u(e){return/^mailto:/.test(e)}function p(e){return/^tel:/.test(e)}function c(e){if(l(e))return e;const t=e.match(r),n=t?t[0]:"",i=o(e);return s.test(i)?e:i+".html"+n}function h(e,t){const n=decodeURIComponent(e.hash),i=function(e){const t=e.match(r);if(t)return t[0]}(t);if(i&&n!==i)return!1;return o(e.path)===o(t)}function d(e,t,n){if(l(t))return{type:"external",path:t};n&&(t=function(e,t,n){const r=e.charAt(0);if("/"===r)return e;if("?"===r||"#"===r)return t+e;const i=t.split("/");n&&i[i.length-1]||i.pop();const s=e.replace(/^\//,"").split("/");for(let e=0;efunction e(t,n,r,i=1){if("string"==typeof t){return d(n,t,r)}if(Array.isArray(t))return Object.assign(d(n,t[0],r),{title:t[1]});{const s=t.children||[];return 0===s.length&&t.path?Object.assign(d(n,t.path,r),{title:t.title}):{type:"group",path:t.path,title:t.title,sidebarDepth:t.sidebarDepth,initialOpenGroupIndex:t.initialOpenGroupIndex,children:s.map(t=>e(t,n,r,i+1)),collapsable:!1!==t.collapsable}}}(e,i,n)):[]}return[]}function b(e){const t=g(e.headers||[]);return[{type:"group",collapsable:!1,title:e.title,path:null,children:t.map(t=>({type:"auto",title:t.title,basePath:e.path,path:e.path+"#"+t.slug,children:t.children||[]}))}]}function g(e){let t;return(e=e.map(e=>Object.assign({},e))).forEach(e=>{2===e.level?t=e:t&&(t.children||(t.children=[])).push(e)}),e.filter(e=>2===e.level)}function m(e){return Object.assign(e,{type:e.items&&e.items.length?"links":"link"})}},246:function(e,t,n){},247:function(e,t,n){"use strict";n(246)},251:function(e,t,n){"use strict";n.r(t);var r={name:"DropdownTransition",methods:{setHeight(e){e.style.height=e.scrollHeight+"px"},unsetHeight(e){e.style.height=""}}},i=(n(247),n(10)),s=Object(i.a)(r,(function(){return(0,this._self._c)("transition",{attrs:{name:"dropdown"},on:{enter:this.setHeight,"after-enter":this.unsetHeight,"before-leave":this.setHeight}},[this._t("default")],2)}),[],!1,null,null,null);t.default=s.exports},259:function(e,t,n){},277:function(e,t,n){},278:function(e,t,n){"use strict";n(259)},284:function(e,t,n){"use strict";n.r(t);var r=n(293),i=n(286),s=n(244);function a(e,t){if("group"===t.type){const n=t.path&&Object(s.e)(e,t.path),r=t.children.some(t=>"group"===t.type?a(e,t):"page"===t.type&&Object(s.e)(e,t.path));return n||r}return!1}var o={name:"SidebarLinks",components:{SidebarGroup:r.default,SidebarLink:i.default},props:["items","depth","sidebarDepth","initialOpenGroupIndex"],data(){return{openGroupIndex:this.initialOpenGroupIndex||0}},watch:{$route(){this.refreshIndex()}},created(){this.refreshIndex()},methods:{refreshIndex(){const e=function(e,t){for(let n=0;n-1&&(this.openGroupIndex=e)},toggleGroup(e){this.openGroupIndex=e===this.openGroupIndex?-1:e},isActive(e){return Object(s.e)(this.$route,e.regularPath)}}},l=n(10),u=Object(l.a)(o,(function(){var e=this,t=e._self._c;return e.items.length?t("ul",{staticClass:"sidebar-links"},e._l(e.items,(function(n,r){return t("li",{key:r},["group"===n.type?t("SidebarGroup",{attrs:{item:n,open:r===e.openGroupIndex,collapsable:n.collapsable||n.collapsible,depth:e.depth},on:{toggle:function(t){return e.toggleGroup(r)}}}):t("SidebarLink",{attrs:{"sidebar-depth":e.sidebarDepth,item:n}})],1)})),0):e._e()}),[],!1,null,null,null);t.default=u.exports},286:function(e,t,n){"use strict";n.r(t);var r=n(244);function i(e,t,n,r,i,s){const a={props:{to:t,activeClass:"",exactActiveClass:""},class:{active:r,"sidebar-link":!0}};return i>2&&(a.style={"padding-left":i+"rem"}),s&&s.headers&&s.headers.length>0?e("RouterLink",a,[e("span",n)]):e("RouterLink",a,n)}function s(e,t,n,a,o,l=1,u=!1){return!t||l>o?null:e("ul",{class:"sidebar-sub-headers",style:u?"display: none":""},t.map(t=>{const u=Object(r.e)(a,n+"#"+t.slug);return e("li",{class:"sidebar-sub-header"},[i(e,n+"#"+t.slug,t.title,u,t.level-1,t),s(e,t.children,n,a,o,l+1)])}))}var a={functional:!0,props:["item","sidebarDepth"],render(e,{parent:{$page:t,$site:n,$route:a,$themeConfig:o,$themeLocaleConfig:l},props:{item:u,sidebarDepth:p}}){const c=Object(r.e)(a,u.path),h="auto"===u.type?c||u.children.some(e=>Object(r.e)(a,u.basePath+"#"+e.slug)):c,d="external"===u.type?function(e,t,n){return e("a",{attrs:{href:t,target:"_blank",rel:"noopener noreferrer"},class:{"sidebar-link":!0}},[n,e("OutboundLink")])}(e,u.path,u.title||u.path):i(e,u.path,u.title||u.path,h,void 0,u),f=[t.frontmatter.sidebarDepth,p,l.sidebarDepth,o.sidebarDepth,1].find(e=>void 0!==e),b=l.displayAllHeaders||o.displayAllHeaders;if("auto"===u.type)return[d,s(e,u.children,u.basePath,a,f)];if((h||b)&&u.headers&&!r.d.test(u.path)){return[d,s(e,Object(r.c)(u.headers),u.path,a,f,1,!0)]}return d}},o=(n(278),n(10)),l=Object(o.a)(a,void 0,void 0,!1,null,null,null);t.default=l.exports},292:function(e,t,n){"use strict";n(277)},293:function(e,t,n){"use strict";n.r(t);var r=n(244),i={name:"SidebarGroup",components:{DropdownTransition:n(251).default},props:["item","open","collapsable","depth"],beforeCreate(){this.$options.components.SidebarLinks=n(284).default},watch:{open(){this.refreshOpen()}},created(){this.refreshOpen()},computed:{finalOpen(){return this.toggled?this.selfOpen:this.open}},data:()=>({toggled:!1,selfOpen:!1}),methods:{isActive:r.e,refreshOpen(){this.toggled||this.open&&(this.selfOpen=this.open,this.toggled=!0)},toggleGroup(){this.toggled=!0,this.selfOpen=!this.selfOpen,this.$emit("toggle")}}},s=(n(292),n(10)),a=Object(s.a)(i,(function(){var e=this,t=e._self._c;return t("section",{staticClass:"sidebar-group",class:[{collapsable:e.collapsable,"is-sub-group":0!==e.depth},"depth-"+e.depth]},[e.item.path?t("RouterLink",{staticClass:"sidebar-heading clickable",class:{open:e.finalOpen,active:e.isActive(e.$route,e.item.path)},attrs:{to:e.item.path},nativeOn:{click:function(t){return e.toggleGroup.apply(null,arguments)}}},[t("span",[e._v(e._s(e.item.title))]),e._v(" "),e.collapsable?t("span",{staticClass:"arrow",class:e.finalOpen?"down":"right"}):e._e()]):t("p",{staticClass:"sidebar-heading",class:{open:e.finalOpen},on:{click:e.toggleGroup}},[t("span",[e._v(e._s(e.item.title))])]),e._v(" "),t("DropdownTransition",[e.finalOpen||!e.collapsable?t("SidebarLinks",{staticClass:"sidebar-group-items",attrs:{items:e.item.children,"sidebar-depth":e.item.sidebarDepth,"initial-open-group-index":e.item.initialOpenGroupIndex,depth:e.depth+1}}):e._e()],1)],1)}),[],!1,null,null,null);t.default=a.exports}}]);