mkdocs-material/material/assets/javascripts/bundle.acd913ae.min.js

2 lines
43 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){function e(e){for(var r,o,i=e[0],u=e[1],b=e[2],s=0,O=[];s<i.length;s++)o=i[s],Object.prototype.hasOwnProperty.call(c,o)&&c[o]&&O.push(c[o][0]),c[o]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(t[r]=u[r]);for(f&&f(e);O.length;)O.shift()();return a.push.apply(a,b||[]),n()}function n(){for(var t,e=0;e<a.length;e++){for(var n=a[e],r=!0,i=1;i<n.length;i++){var u=n[i];0!==c[u]&&(r=!1)}r&&(a.splice(e--,1),t=o(o.s=n[0]))}return t}var r={},c={0:0},a=[];function o(e){if(r[e])return r[e].exports;var n=r[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=t,o.c=r,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="";var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=e,i=i.slice();for(var b=0;b<i.length;b++)e(i[b]);var f=u;return a.push([81,1]),n()}([,function(t,e,n){"use strict";n.d(e,"q",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"d",(function(){return u})),n.d(e,"b",(function(){return b})),n.d(e,"e",(function(){return f})),n.d(e,"a",(function(){return s})),n.d(e,"j",(function(){return O})),n.d(e,"k",(function(){return h})),n.d(e,"r",(function(){return v})),n.d(e,"s",(function(){return y})),n.d(e,"l",(function(){return g})),n.d(e,"t",(function(){return k})),n.d(e,"i",(function(){return C})),n.d(e,"u",(function(){return A})),n.d(e,"m",(function(){return E})),n.d(e,"h",(function(){return L})),n.d(e,"g",(function(){return M})),n.d(e,"v",(function(){return H})),n.d(e,"w",(function(){return P})),n.d(e,"n",(function(){return U})),n.d(e,"x",(function(){return N})),n.d(e,"y",(function(){return I})),n.d(e,"f",(function(){return V})),n.d(e,"o",(function(){return B})),n.d(e,"z",(function(){return D})),n.d(e,"A",(function(){return W})),n.d(e,"B",(function(){return X})),n.d(e,"p",(function(){return F})),n.d(e,"C",(function(){return nt}));var r=n(75),c=n(88),a=n(89);function o(){var t=new r.a;return Object(c.a)(document,"DOMContentLoaded").pipe(Object(a.a)(document)).subscribe(t),t}function i(t,e){return void 0===e&&(e=document),e.querySelector(t)||void 0}function u(t,e){void 0===e&&(e=document);var n=i(t,e);if(void 0===n)throw new ReferenceError('Missing element: expected "'+t+'" to be present');return n}function b(){return document.activeElement instanceof HTMLElement?document.activeElement:void 0}function f(t,e){return void 0===e&&(e=document),Array.from(e.querySelectorAll(t))}function s(t){return document.createElement(t)}function O(t,e){t.replaceWith(e)}var d=n(90),l=n(9),j=n(86),p=n(82);function h(t,e){void 0===e&&(e=!0),e?t.focus():t.blur()}function v(t){return Object(d.a)(Object(c.a)(t,"focus"),Object(c.a)(t,"blur")).pipe(Object(l.a)((function(t){return"focus"===t.type})),Object(j.a)(t===b()),Object(p.a)(1))}function m(t){return{x:t.scrollLeft,y:t.scrollTop}}function y(t){return Object(d.a)(Object(c.a)(t,"scroll"),Object(c.a)(window,"resize")).pipe(Object(l.a)((function(){return m(t)})),Object(j.a)(m(t)),Object(p.a)(1))}function g(t){if(!(t instanceof HTMLInputElement))throw new Error("Not implemented");t.select()}var w=n(0),$=n(72),x=n(91);function k(t){return Object(x.a)((function(e){new $.a((function(t){var n=Object(w.c)(t,1)[0].contentRect;return e({width:Math.round(n.width),height:Math.round(n.height)})})).observe(t)})).pipe(Object(j.a)(function(t){return{width:t.offsetWidth,height:t.offsetHeight}}(t)),Object(p.a)(1))}var S=n(92),T=n(104);function C(t){switch(t.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return t.isContentEditable}}function A(){return Object(c.a)(window,"keydown").pipe(Object(S.a)((function(t){return!(t.metaKey||t.ctrlKey)})),Object(l.a)((function(t){return{type:t.key,claim:function(){t.preventDefault(),t.stopPropagation()}}})),Object(T.a)())}var _=n(93);function E(t){location.href=t.href}function L(t,e){return void 0===e&&(e=location),t.host===e.host&&/^(?:\/[\w-]+)*(?:\/?|\.html)$/i.test(t.pathname)}function M(t,e){return void 0===e&&(e=location),t.pathname===e.pathname&&t.hash.length>0}function H(){return new _.a(new URL(location.href))}var R=n(105);function P(t,e){return e.location$.pipe(Object(R.a)(1),Object(l.a)((function(e){var n=e.href;return new URL(t,n).toString().replace(/\/$/,"")})),Object(p.a)(1))}function q(){return location.hash.substring(1)}function U(t){var e=s("a");e.href=t,e.addEventListener("click",(function(t){return t.stopPropagation()})),e.click()}function N(){return Object(c.a)(window,"hashchange").pipe(Object(l.a)(q),Object(j.a)(q()),Object(S.a)((function(t){return t.length>0})),Object(T.a)())}function I(t){var e=matchMedia(t);return Object(x.a)((function(t){return e.addListener((function(){return t(e.matches)}))})).pipe(Object(j.a)(e.matches),Object(p.a)(1))}var z={drawer:u("[data-md-toggle=drawer]"),search:u("[data-md-toggle=search]")};function V(t){return z[t].checked}function B(t,e){z[t].checked!==e&&z[t].click()}function D(t){var e=z[t];return Object(c.a)(e,"change").pipe(Object(l.a)((function(){return e.checked})),Object(j.a)(e.checked))}var J=n(57),K=n(83);function Y(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function F(t){var e=t.x,n=t.y;window.scrollTo(e||0,n||0)}function Q(){return{width:innerWidth,height:innerHeight}}function W(){return Object(J.a)([Object(d.a)(Object(c.a)(window,"scroll",{passive:!0}),Object(c.a)(window,"resize",{passive:!0})).pipe(Object(l.a)(Y),Object(j.a)(Y())),Object(c.a)(window,"resize",{passive:!0}).pipe(Object(l.a)(Q),Object(j.a)(Q()))]).pipe(Object(l.a)((function(t){var e=Object(w.c)(t,2);return{offset:e[0],size:e[1]}})),Object(p.a)(1))}function X(t,e){var n=e.header$,r=e.viewport$,c=r.pipe(Object(K.a)("size")),a=Object(J.a)([c,n]).pipe(Object(l.a)((function(){return{x:t.offsetLeft,y:t.offsetTop}})));return Object(J.a)([n,r,a]).pipe(Object(l.a)((function(t){var e=Object(w.c)(t,3),n=e[0].height,r=e[1],c=r.offset,a=r.size,o=e[2],i=o.x,u=o.y;return{offset:{x:c.x-i,y:c.y-u+n},size:a}})),Object(p.a)(1))}var Z=n(94),G=n(95),tt=n(77),et=n(96);function nt(t,e){var n=e.tx$,r=Object(x.a)((function(e){return t.addEventListener("message",e)})).pipe(Object(Z.a)("data"));return n.pipe(Object(G.a)((function(){return r}),{leading:!0,trailing:!0}),Object(tt.a)((function(e){return t.postMessage(e)})),Object(et.a)(r),Object(T.a)())}},,,function(t,e,n){"use strict";function r(t){return"object"==typeof t&&"string"==typeof t.base&&"object"==typeof t.features&&"object"==typeof t.search}n.d(e,"d",(function(){return r})),n.d(e,"b",(function(){return b})),n.d(e,"a",(function(){return O})),n.d(e,"f",(function(){return j})),n.d(e,"g",(function(){return p})),n.d(e,"e",(function(){return h})),n.d(e,"c",(function(){return v}));var c=n(0),a=n(76);function o(t){switch(t){case"svg":case"path":return document.createElementNS("http://www.w3.org/2000/svg",t);default:return document.createElement(t)}}function i(t,e,n){switch(e){case"xmlns":break;case"viewBox":case"d":"boolean"!=typeof n?t.setAttributeNS(null,e,n):n&&t.setAttributeNS(null,e,"");break;default:"boolean"!=typeof n?t.setAttribute(e,n):n&&t.setAttribute(e,"")}}function u(t,e){var n,r;if("string"==typeof e||"number"==typeof e)t.innerHTML+=e.toString();else if(e instanceof Node)t.appendChild(e);else if(Array.isArray(e))try{for(var a=Object(c.f)(e),o=a.next();!o.done;o=a.next()){u(t,o.value)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}function b(t,e){for(var n,r,b,f,s=[],O=2;O<arguments.length;O++)s[O-2]=arguments[O];var d=o(t);if(e)try{for(var l=Object(c.f)(Object(a.a)(e)),j=l.next();!j.done;j=l.next()){var p=j.value;i(d,p,e[p])}}catch(t){n={error:t}}finally{try{j&&!j.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}try{for(var h=Object(c.f)(s),v=h.next();!v.done;v=h.next()){var m=v.value;u(d,m)}}catch(t){b={error:t}}finally{try{v&&!v.done&&(f=h.return)&&f.call(h)}finally{if(b)throw b.error}}return d}var f=n(73),s=n(40);function O(t,e){return Object(f.a)((function(){var n=sessionStorage.getItem(t);if(n)return Object(s.a)(JSON.parse(n));var r=e();return r.subscribe((function(e){try{sessionStorage.setItem(t,JSON.stringify(e))}catch(t){}})),r}))}var d,l=n(1);function j(t,e){if(void 0===d){var n=Object(l.d)("#__lang");d=JSON.parse(n.textContent)}if(void 0===d[t])throw new ReferenceError("Invalid translation: "+t);return void 0!==e?d[t].replace("#",e):d[t]}function p(t,e){var n=e;if(t.length>n){for(;" "!==t[n]&&--n>0;);return t.substring(0,n)+"..."}return t}function h(t){return t>999?((t+1)/1e3).toFixed(+((t-950)%1e3>99))+"k":t.toString()}function v(t){for(var e=0,n=0,r=t.length;n<r;n++)e=(e<<5)-e+t.charCodeAt(n),e|=0;return e}},,,function(t,e,n){"use strict";var r=n(21);n.d(e,"setupComponents",(function(){return r.a})),n.d(e,"useComponent",(function(){return r.b}));var c=n(67);n.d(e,"mountHeader",(function(){return c.a}));var a=n(68);n.d(e,"mountHero",(function(){return a.a}));var o=n(69);n.d(e,"mountMain",(function(){return o.a}));var i=n(71);n.d(e,"mountNavigation",(function(){return i.a}));var u=n(66);n.d(e,"mountSearch",(function(){return u.a})),n.d(e,"mountSearchQuery",(function(){return u.b})),n.d(e,"mountSearchReset",(function(){return u.c})),n.d(e,"mountSearchResult",(function(){return u.d}));var b=n(30);n.o(b,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return b.mountTableOfContents})),n.o(b,"mountTabs")&&n.d(e,"mountTabs",(function(){return b.mountTabs}));var f=n(70);n.d(e,"mountTabs",(function(){return f.a}));var s=n(62);n.o(s,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return s.mountTableOfContents}))},,,,,,,,function(t,e,n){"use strict";n.d(e,"d",(function(){return O})),n.d(e,"e",(function(){return y})),n.d(e,"f",(function(){return R})),n.d(e,"g",(function(){return q})),n.d(e,"b",(function(){return N})),n.d(e,"h",(function(){return K})),n.d(e,"a",(function(){return I})),n.d(e,"c",(function(){return D}));var r=n(56),c=n(97),a=n(91),o=n(104),i=n(77),u=n(89),b=n(1),f=n(31),s=n(4);function O(t){var e=t.document$,n=t.dialog$;if(!r.isSupported())return c.a;e.subscribe((function(){Object(b.e)("pre > code").forEach((function(t,e){var n=t.parentElement;n.id="__code_"+e,n.insertBefore(Object(f.a)(n.id),t)}))}));var O=Object(a.a)((function(t){new r(".md-clipboard").on("success",t)})).pipe(Object(o.a)());return O.pipe(Object(i.a)((function(t){return t.clearSelection()})),Object(u.a)(Object(s.f)("clipboard.copied"))).subscribe(n),O}var d=n(27),l=n(40),j=n(80),p=n(34),h=n(9),v=n(54),m=n(106);function y(t){var e=(void 0===t?{}:t).duration,n=new d.a,r=Object(b.a)("div");return r.classList.add("md-dialog","md-typeset"),n.pipe(Object(p.a)((function(t){return Object(l.a)(document.body).pipe(Object(h.a)((function(t){return t.appendChild(r)})),Object(v.b)(j.a),Object(m.a)(1),Object(i.a)((function(e){e.innerHTML=t,e.setAttribute("data-md-state","open")})),Object(m.a)(e||2e3),Object(i.a)((function(t){return t.removeAttribute("data-md-state")})),Object(m.a)(400),Object(i.a)((function(t){t.innerHTML="",t.remove()})))}))).subscribe(),n}var g=n(0),w=n(88),$=n(90),x=n(107),k=n(92),S=n(45),T=n(94),C=n(83),A=n(98),_=n(99),E=n(100),L=n(84),M=n(101),H=n(85);function R(t){var e=t.document$,n=t.viewport$,r=t.location$;"scrollRestoration"in history&&(history.scrollRestoration="manual"),Object(w.a)(window,"beforeunload").subscribe((function(){history.scrollRestoration="auto"}));var a=Object(b.c)('link[rel="shortcut icon"]');void 0!==a&&(a.href=a.href);var i=Object(w.a)(document.body,"click").pipe(Object(k.a)((function(t){return!(t.metaKey||t.ctrlKey)})),Object(p.a)((function(t){if(t.target instanceof HTMLElement){var e=t.target.closest("a");if(e&&Object(b.h)(e))return Object(b.g)(e)||t.preventDefault(),Object(l.a)(e)}return c.a})),Object(h.a)((function(t){return{url:new URL(t.href)}})),Object(o.a)());i.subscribe((function(){Object(b.o)("search",!1)}));var u=i.pipe(Object(k.a)((function(t){var e=t.url;return!Object(b.g)(e)})),Object(o.a)()),f=Object(w.a)(window,"popstate").pipe(Object(k.a)((function(t){return null!==t.state})),Object(h.a)((function(t){return{url:new URL(location.href),offset:t.state}})),Object(o.a)());Object($.a)(u,f).pipe(Object(S.a)((function(t,e){return t.url.href===e.url.href})),Object(T.a)("url")).subscribe(r);var s=r.pipe(Object(C.a)("pathname"),Object(A.a)(1),Object(p.a)((function(t){return Object(x.a)({url:t.href,responseType:"text",withCredentials:!0}).pipe(Object(_.a)((function(){return Object(b.m)(t),c.a})))})));u.pipe(Object(E.a)(s)).subscribe((function(t){var e=t.url;history.pushState({},"",e.toString())}));var O=new DOMParser;s.pipe(Object(h.a)((function(t){var e=t.response;return O.parseFromString(e,"text/html")}))).subscribe(e);var d=Object($.a)(u,f).pipe(Object(E.a)(e));d.subscribe((function(t){var e=t.url,n=t.offset;e.hash&&!n?Object(b.n)(e.hash):Object(b.p)(n||{y:0})})),d.pipe(Object(L.a)(e)).subscribe((function(t){var e,n,r=Object(g.c)(t,2)[1],c=r.title,a=r.head;document.dispatchEvent(new CustomEvent("DOMContentSwitch")),document.title=c;try{for(var o=Object(g.f)(['link[rel="canonical"]','meta[name="author"]','meta[name="description"]']),i=o.next();!i.done;i=o.next()){var u=i.value,f=Object(b.c)(u,a),s=Object(b.c)(u,document.head);void 0!==f&&void 0!==s&&Object(b.j)(s,f)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}})),n.pipe(Object(M.a)(250),Object(C.a)("offset")).subscribe((function(t){var e=t.offset;history.replaceState(e,"")})),Object($.a)(i,f).pipe(Object(H.a)(2,1),Object(k.a)((function(t){var e=Object(g.c)(t,2),n=e[0],r=e[1];return n.url.pathname===r.url.pathname&&!Object(b.g)(r.url)})),Object(h.a)((function(t){return Object(g.c)(t,2)[1]}))).subscribe((function(t){var e=t.offset;Object(b.p)(e||{y:0})}))}var P=n(7);function q(){var t=Object(b.u)().pipe(Object(h.a)((function(t){return Object(g.a)({mode:Object(b.f)("search")?"search":"global"},t)})),Object(k.a)((function(t){if("global"===t.mode){var e=Object(b.b)();if(void 0!==e)return!Object(b.i)(e)}return!0})),Object(o.a)());return t.pipe(Object(k.a)((function(t){return"search"===t.mode})),Object(L.a)(Object(P.useComponent)("search-query"),Object(P.useComponent)("search-result"))).subscribe((function(t){var e=Object(g.c)(t,3),n=e[0],r=e[1],c=e[2],a=Object(b.b)();switch(n.type){case"Enter":a===r&&n.claim();break;case"Escape":case"Tab":Object(b.o)("search",!1),Object(b.k)(r,!1);break;case"ArrowUp":case"ArrowDown":if(void 0===a)Object(b.k)(r);else{var o=Object(g.d)([r],Object(b.e)("[href]",c)),i=Math.max(0,(Math.max(0,o.indexOf(a))+o.length+("ArrowUp"===n.type?-1:1))%o.length);Object(b.k)(o[i])}n.claim();break;default:r!==Object(b.b)()&&Object(b.k)(r)}})),t.pipe(Object(k.a)((function(t){return"global"===t.mode})),Object(L.a)(Object(P.useComponent)("search-query"))).subscribe((function(t){var e=Object(g.c)(t,2),n=e[0],r=e[1];switch(n.type){case"f":case"s":case"/":Object(b.k)(r),Object(b.l)(r),n.claim();break;case"p":case",":var c=Object(b.c)("[href][rel=prev]");void 0!==c&&c.click();break;case"n":case".":var a=Object(b.c)("[href][rel=next]");void 0!==a&&a.click()}})),t}var U=n(74);!function(){function t(t){var e=t.config,n=t.docs,r=t.pipeline,c=t.index;this.documents=function(t){var e,n,r=new Map;try{for(var c=Object(g.f)(t),a=c.next();!a.done;a=c.next()){var o=a.value,i=Object(g.c)(o.location.split("#"),2),u=i[0],b=i[1],f=o.location,s=o.title,O=U(o.text).replace(/\s+(?=[,.:;!?])/g,"").replace(/\s+/g," ");if(b){var d=r.get(u);d.linked?r.set(f,{location:f,title:s,text:O,parent:d}):(d.title=o.title,d.text=O,d.linked=!0)}else r.set(f,{location:f,title:s,text:O,linked:!1})}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}return r}(n),this.highlight=function(t){var e=new RegExp(t.separator,"img"),n=function(t,e,n){return e+"<em>"+n+"</em>"};return function(r){r=r.replace(/[\s*+-:~^]+/g," ").trim();var c=new RegExp("(^|"+t.separator+")("+r.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(e,"|")+")","img");return function(t){return Object(g.a)(Object(g.a)({},t),{title:t.title.replace(c,n),text:t.text.replace(c,n)})}}}(e),this.index=void 0===c?lunr((function(){var t,c,a,o,i;r=r||["trimmer","stopWordFilter"],this.pipeline.reset();try{for(var u=Object(g.f)(r),b=u.next();!b.done;b=u.next()){var f=b.value;this.pipeline.add(lunr[f])}}catch(e){t={error:e}}finally{try{b&&!b.done&&(c=u.return)&&c.call(u)}finally{if(t)throw t.error}}1===e.lang.length&&"en"!==e.lang[0]?this.use(lunr[e.lang[0]]):e.lang.length>1&&this.use((a=lunr).multiLanguage.apply(a,Object(g.d)(e.lang))),this.field("title",{boost:1e3}),this.field("text"),this.ref("location");try{for(var s=Object(g.f)(n),O=s.next();!O.done;O=s.next()){var d=O.value;this.add(d)}}catch(t){o={error:t}}finally{try{O&&!O.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}})):lunr.Index.load("string"==typeof c?JSON.parse(c):c)}t.prototype.query=function(t){var e=this;if(t)try{var n=this.index.search(t).reduce((function(t,n){var r=e.documents.get(n.ref);if(void 0!==r)if("parent"in r){var c=r.parent.location;t.set(c,Object(g.d)(t.get(c)||[],[n]))}else{c=r.location;t.set(c,t.get(c)||[])}return t}),new Map),r=this.highlight(t);return Object(g.d)(n).map((function(t){var n=Object(g.c)(t,2),c=n[0],a=n[1];return{article:r(e.documents.get(c)),sections:a.map((function(t){return r(e.documents.get(t.ref))}))}}))}catch(e){console.warn("Invalid query: "+t+" see https://bit.ly/2s3ChXG")}return[]}}();function N(t){return t.replace(/(?:^|\s+)[*+-:^~]+(?=\s+|$)/g,"").trim().replace(/\s+|\b$/g,"* ")}var I,z=n(108),V=n(51),B=n(82);function D(t){return t.type===I.RESULT}function J(t){var e=t.config,n=t.docs,r=t.index;return 1===e.lang.length&&"en"===e.lang[0]&&(e.lang=[Object(s.f)("search.config.lang")]),"[s-]+"===e.separator&&(e.separator=Object(s.f)("search.config.separator")),{config:e,docs:n,index:r,pipeline:Object(s.f)("search.config.pipeline").split(/\s*,\s*/).filter(z.a)}}function K(t,e){var n=e.index$,r=e.base$,c=new Worker(t),a=new d.a,o=Object(b.C)(c,{tx$:a}).pipe(Object(L.a)(r),Object(h.a)((function(t){var e,n,r,c,a=Object(g.c)(t,2),o=a[0],i=a[1];if(D(o))try{for(var u=Object(g.f)(o.data),b=u.next();!b.done;b=u.next()){var f=b.value,s=f.article,O=f.sections;s.location=i+"/"+s.location;try{for(var d=(r=void 0,Object(g.f)(O)),l=d.next();!l.done;l=d.next()){var j=l.value;j.location=i+"/"+j.location}}catch(t){r={error:t}}finally{try{l&&!l.done&&(c=d.return)&&c.call(d)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{b&&!b.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}return o})),Object(B.a)(1));return n.pipe(Object(h.a)((function(t){return{type:I.SETUP,data:J(t)}})),Object(v.b)(V.a)).subscribe(a.next.bind(a)),{tx$:a,rx$:o}}!function(t){t[t.SETUP=0]="SETUP",t[t.READY=1]="READY",t[t.QUERY=2]="QUERY",t[t.RESULT=3]="RESULT"}(I||(I={}))},,,,,function(t,e,n){"use strict";function r(t,e){t.style.top=e+"px"}function c(t){t.style.top=""}function a(t,e){t.style.height=e+"px"}function o(t){t.style.height=""}function i(t,e){t.setAttribute("data-md-state",e?"lock":"")}function u(t){t.removeAttribute("data-md-state")}n.d(e,"f",(function(){return r})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return a})),n.d(e,"a",(function(){return o})),n.d(e,"e",(function(){return i})),n.d(e,"b",(function(){return u}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return l}));var r,c=n(0),a=n(40),o=n(18),i=n(9),u=n(78),b=n(82),f=n(34),s=n(45),O=n(1);function d(t,e){var n=e.document$;r=n.pipe(Object(i.a)((function(e){return t.reduce((function(t,n){var r,a=Object(O.c)("[data-md-component="+n+"]",e);return Object(c.a)(Object(c.a)({},t),void 0!==a?((r={})[n]=a,r):{})}),{})})),Object(u.a)((function(e,n){var r,a;try{for(var o=Object(c.f)(t),i=o.next();!i.done;i=o.next()){var u=i.value;switch(u){case"announce":case"header-title":case"container":case"skip":u in e&&void 0!==e[u]&&(Object(O.j)(e[u],n[u]),e[u]=n[u]);break;default:void 0!==n[u]?e[u]=Object(O.c)("[data-md-component="+u+"]"):delete e[u]}}}catch(t){r={error:t}}finally{try{i&&!i.done&&(a=o.return)&&a.call(o)}finally{if(r)throw r.error}}return e})),Object(b.a)(1))}function l(t){return r.pipe(Object(f.a)((function(e){return void 0!==e[t]?Object(a.a)(e[t]):o.a})),Object(s.a)())}},,,function(t,e,n){"use strict";function r(t,e){t.setAttribute("data-md-state",e?"blur":"")}function c(t){t.removeAttribute("data-md-state")}function a(t,e){t.classList.toggle("md-nav__link--active",e)}function o(t){t.classList.remove("md-nav__link--active")}n.d(e,"d",(function(){return r})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}))},,,,,,function(t,e,n){"use strict";var r=n(59);n.o(r,"applySidebar")&&n.d(e,"applySidebar",(function(){return r.applySidebar})),n.o(r,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return r.mountTableOfContents})),n.o(r,"mountTabs")&&n.d(e,"mountTabs",(function(){return r.mountTabs})),n.o(r,"watchSidebar")&&n.d(e,"watchSidebar",(function(){return r.watchSidebar}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return m}));var r=n(4),c="md-clipboard md-icon";function a(t){return Object(r.b)("button",{class:c,title:Object(r.f)("clipboard.copy"),"data-clipboard-target":"#"+t+" > code"},Object(r.b)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.b)("path",{d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})))}var o=n(0),i="md-search-result__item",u="md-search-result__link",b="md-search-result__article md-search-result__article--document",f="md-search-result__article",s="md-search-result__title",O="md-search-result__teaser";function d(t){var e=t.article,n=t.sections,c=Object(r.b)("div",{class:"md-search-result__icon md-icon"},Object(r.b)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.b)("path",{d:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H13C12.59,21.75 12.2,21.44 11.86,21.1C11.53,20.77 11.25,20.4 11,20H6V4H13V9H18V10.18C18.71,10.34 19.39,10.61 20,11V8L14,2M20.31,18.9C21.64,16.79 21,14 18.91,12.68C16.8,11.35 14,12 12.69,14.08C11.35,16.19 12,18.97 14.09,20.3C15.55,21.23 17.41,21.23 18.88,20.32L22,23.39L23.39,22L20.31,18.9M16.5,19A2.5,2.5 0 0,1 14,16.5A2.5,2.5 0 0,1 16.5,14A2.5,2.5 0 0,1 19,16.5A2.5,2.5 0 0,1 16.5,19Z"}))),a=Object(o.d)([e],n).map((function(t){var e=t.location,n=t.title,a=t.text;return Object(r.b)("a",{href:e,class:u,tabIndex:-1},Object(r.b)("article",{class:"parent"in t?f:b},!("parent"in t)&&c,Object(r.b)("h1",{class:s},n),a.length>0&&Object(r.b)("p",{class:O},Object(r.g)(a,320))))}));return Object(r.b)("li",{class:i},a)}var l="md-source__facts",j="md-source__fact";function p(t){var e=t.map((function(t){return Object(r.b)("li",{class:j},t)}));return Object(r.b)("ul",{class:l},e)}var h="md-typeset__scrollwrap",v="md-typeset__table";function m(t){return Object(r.b)("div",{class:h},Object(r.b)("div",{class:v},t))}},,,,,,,,,,,,function(t,e,n){"use strict";var r=n(64);n.o(r,"applyAnchorList")&&n.d(e,"applyAnchorList",(function(){return r.applyAnchorList})),n.o(r,"watchAnchorList")&&n.d(e,"watchAnchorList",(function(){return r.watchAnchorList}));var c=n(65);n.d(e,"applyAnchorList",(function(){return c.a})),n.d(e,"watchAnchorList",(function(){return c.b}));n(24)},,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(60);n.o(r,"applySidebar")&&n.d(e,"applySidebar",(function(){return r.applySidebar})),n.o(r,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return r.mountTableOfContents})),n.o(r,"mountTabs")&&n.d(e,"mountTabs",(function(){return r.mountTabs})),n.o(r,"watchSidebar")&&n.d(e,"watchSidebar",(function(){return r.watchSidebar}));var c=n(61);n.d(e,"applySidebar",(function(){return c.a})),n.d(e,"watchSidebar",(function(){return c.b}));n(20)},function(t,e){},function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return j}));var r=n(0),c=n(57),a=n(44),o=n(80),i=n(9),u=n(45),b=n(54),f=n(84),s=n(77),O=n(79),d=n(20);function l(t,e){var n=e.main$,a=e.viewport$,o=t.parentElement.offsetTop-t.parentElement.parentElement.offsetTop;return Object(c.a)([n,a]).pipe(Object(i.a)((function(t){var e=Object(r.c)(t,2),n=e[0],c=n.offset,a=n.height,i=e[1].offset.y;return{height:a=a+Math.min(o,Math.max(0,i-c))-o,lock:i>=c+o}})),Object(u.a)((function(t,e){return t.height===e.height&&t.lock===e.lock})))}function j(t,e){var n=e.header$;return Object(a.a)(Object(b.b)(o.a),Object(f.a)(n),Object(s.a)((function(e){var n=Object(r.c)(e,2),c=n[0],a=c.height,o=c.lock,i=n[1].height;Object(d.d)(t,a),Object(d.e)(t,o),o?Object(d.f)(t,i):Object(d.c)(t)})),Object(i.a)((function(t){return Object(r.c)(t,1)[0]})),Object(O.a)((function(){Object(d.c)(t),Object(d.a)(t),Object(d.b)(t)})))}},function(t,e,n){"use strict";var r=n(63);n.d(e,"mountTableOfContents",(function(){return r.a}));n(43)},function(t,e,n){"use strict";n.d(e,"a",(function(){return O}));var r=n(0),c=n(44),a=n(57),o=n(40),i=n(34),u=n(9),b=n(1),f=n(30),s=n(43);function O(t){var e=t.header$,n=t.main$,O=t.viewport$,d=t.tablet$;return Object(c.a)(Object(i.a)((function(t){return d.pipe(Object(i.a)((function(c){if(c){var i=Object(b.e)(".md-nav__link",t),d=Object(f.watchSidebar)(t,{main$:n,viewport$:O}).pipe(Object(f.applySidebar)(t,{header$:e})),l=Object(s.watchAnchorList)(i,{header$:e,viewport$:O}).pipe(Object(s.applyAnchorList)(i));return Object(a.a)([d,l]).pipe(Object(u.a)((function(t){var e=Object(r.c)(t,2);return{sidebar:e[0],anchors:e[1]}})))}return Object(o.a)({})})))})))}},function(t,e){},function(t,e,n){"use strict";n.d(e,"b",(function(){return y})),n.d(e,"a",(function(){return g}));var r=n(0),c=n(87),a=n(57),o=n(44),i=n(80),u=n(9),b=n(83),f=n(34),s=n(78),O=n(45),d=n(86),l=n(85),j=n(54),p=n(77),h=n(79),v=n(1),m=n(24);function y(t,e){var n,o,i=e.header$,j=e.viewport$,p=new Map;try{for(var h=Object(r.f)(t),m=h.next();!m.done;m=h.next()){var y=m.value,g=decodeURIComponent(y.hash.substring(1)),w=Object(v.c)('[id="'+g+'"]');void 0!==w&&p.set(y,w)}}catch(t){n={error:t}}finally{try{m&&!m.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}var $=i.pipe(Object(u.a)((function(t){return 18+t.height})));return Object(v.t)(document.body).pipe(Object(b.a)("height"),Object(u.a)((function(){var t=[];return Object(r.d)(p).reduce((function(e,n){for(var a=Object(r.c)(n,2),o=a[0],i=a[1];t.length;){if(!(p.get(t[t.length-1]).tagName>=i.tagName))break;t.pop()}for(var u=i.offsetTop;!u&&i.parentElement;)u=(i=i.parentElement).offsetTop;return e.set(Object(c.a)(t=Object(r.d)(t,[o])),u)}),new Map)})),Object(f.a)((function(t){return Object(a.a)([$,j]).pipe(Object(s.a)((function(t,e){for(var n=Object(r.c)(t,2),c=n[0],a=n[1],o=Object(r.c)(e,2),i=o[0],u=o[1].offset.y;a.length;){if(!(Object(r.c)(a[0],2)[1]-i<u))break;c=Object(r.d)(c,[a.shift()])}for(;c.length;){if(!(Object(r.c)(c[c.length-1],2)[1]-i>=u))break;a=Object(r.d)([c.pop()],a)}return[c,a]}),[[],Object(r.d)(t)]),Object(O.a)((function(t,e){return t[0]===e[0]&&t[1]===e[1]})))}))).pipe(Object(u.a)((function(t){var e=Object(r.c)(t,2),n=e[0],c=e[1];return{prev:n.map((function(t){return Object(r.c)(t,1)[0]})),next:c.map((function(t){return Object(r.c)(t,1)[0]}))}})),Object(d.a)({prev:[],next:[]}),Object(l.a)(2,1),Object(u.a)((function(t){var e=Object(r.c)(t,2),n=e[0],c=e[1];return n.prev.length<c.prev.length?{prev:c.prev.slice(Math.max(0,n.prev.length-1),c.prev.length),next:[]}:{prev:c.prev.slice(-1),next:c.next.slice(0,c.next.length-n.next.length)}})))}function g(t){return Object(o.a)(Object(j.b)(i.a),Object(p.a)((function(t){var e,n,c=t.prev,a=t.next;try{for(var o=Object(r.f)(a),i=o.next();!i.done;i=o.next()){var u=Object(r.c)(i.value,1)[0];Object(m.a)(u),Object(m.b)(u)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}c.forEach((function(t,e){var n=Object(r.c)(t,1)[0];Object(m.c)(n,e===c.length-1),Object(m.d)(n,!0)}))})),Object(h.a)((function(){var e,n;try{for(var c=Object(r.f)(t),a=c.next();!a.done;a=c.next()){var o=a.value;Object(m.a)(o),Object(m.b)(o)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return w})),n.d(e,"d",(function(){return R}));var r=n(0),c=n(44),a=n(57),o=n(34),i=n(9);function u(t){var e=t.query$,n=t.reset$,u=t.result$;return Object(c.a)(Object(o.a)((function(){return Object(a.a)([e,u,n]).pipe(Object(i.a)((function(t){var e=Object(r.c)(t,2);return{query:e[0],result:e[1]}})))})))}var b=n(83),f=n(1),s=n(15),O=n(90),d=n(88),l=n(106),j=n(86),p=n(45);function h(t,e){var n=t.tx$;return void 0===e&&(e={}),Object(c.a)(Object(o.a)((function(t){var c=function(t,e){var n=(void 0===e?{}:e).transform||s.b,c=Object(O.a)(Object(d.a)(t,"keyup"),Object(d.a)(t,"focus").pipe(Object(l.a)(1))).pipe(Object(i.a)((function(){return n(t.value)})),Object(j.a)(n(t.value)),Object(p.a)()),o=Object(f.r)(t);return Object(a.a)([c,o]).pipe(Object(i.a)((function(t){var e=Object(r.c)(t,2);return{value:e[0],focus:e[1]}})))}(t,e);return c.pipe(Object(b.a)("value"),Object(i.a)((function(t){var e=t.value;return{type:s.a.QUERY,data:e}}))).subscribe(n.next.bind(n)),c.pipe(Object(b.a)("focus")).subscribe((function(t){var e=t.focus;e&&Object(f.o)("search",e)})),c})))}var v=n(96),m=n(77),y=n(89),g=n(21);function w(){return Object(c.a)(Object(o.a)((function(t){return function(t){return Object(d.a)(t,"click").pipe(Object(y.a)(void 0))}(t).pipe(Object(v.a)(Object(g.b)("search-query")),Object(m.a)(f.k),Object(y.a)(void 0))})),Object(j.a)(void 0))}var $=n(108),x=n(92),k=n(94),S=n(80),T=n(84),C=n(54),A=n(78),_=n(79),E=n(31),L=n(4);function M(t,e){t.appendChild(e)}function H(t,e){var n=e.query$,a=e.fetch$,u=Object(f.d)(".md-search-result__list",t),b=Object(f.d)(".md-search-result__meta",t);return Object(c.a)(Object(T.a)(n),Object(i.a)((function(t){var e=Object(r.c)(t,2),n=e[0];return e[1].value?function(t,e){switch(e){case 0:t.textContent=Object(L.f)("search.result.none");break;case 1:t.textContent=Object(L.f)("search.result.one");break;default:t.textContent=Object(L.f)("search.result.other",e.toString())}}(b,n.length):function(t){t.textContent=Object(L.f)("search.result.placeholder")}(b),n})),Object(o.a)((function(e){return a.pipe(Object(C.b)(S.a),Object(A.a)((function(n){for(var r=t.parentElement;n<e.length&&(M(u,Object(E.b)(e[n++])),!(r.scrollHeight-r.offsetHeight>16)););return n}),0),Object(y.a)(e),Object(_.a)((function(){!function(t){t.innerHTML=""}(u)})))})))}function R(t,e){var n=t.rx$,r=e.query$;return Object(c.a)(Object(o.a)((function(t){var e=t.parentElement,c=Object(f.s)(e).pipe(Object(i.a)((function(t){return t.y>=e.scrollHeight-e.offsetHeight-16})),Object(p.a)(),Object(x.a)($.a));return n.pipe(Object(x.a)(s.c),Object(k.a)("data"),H(t,{query$:r,fetch$:c}))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(0),c=n(44),a=n(57),o=n(34),i=n(9),u=n(92),b=n(84),f=n(45),s=n(86),O=n(82),d=n(1),l=n(21),j=n(40),p=n(80),h=n(54),v=n(77),m=n(79);function y(t){var e=t.document$,n=t.viewport$;return Object(c.a)(Object(o.a)((function(t){var y=function(t,e){return e.document$.pipe(Object(i.a)((function(){var e=getComputedStyle(t);return["sticky","-webkit-sticky"].includes(e.position)})),Object(f.a)(),Object(o.a)((function(e){return e?Object(d.t)(t).pipe(Object(i.a)((function(t){return{sticky:!0,height:t.height}}))):Object(j.a)({sticky:!1,height:0})})),Object(O.a)(1))}(t,{document$:e}),g=Object(l.b)("main").pipe(Object(i.a)((function(t){return Object(d.c)("h1, h2, h3, h4, h5, h6",t)})),Object(u.a)((function(t){return void 0!==t})),Object(b.a)(Object(l.b)("header-title")),Object(o.a)((function(t){var e=Object(r.c)(t,2),a=e[0],o=e[1];return Object(d.B)(a,{header$:y,viewport$:n}).pipe(Object(i.a)((function(t){return t.offset.y>=a.offsetHeight?"page":"site"})),Object(f.a)(),function(t){return Object(c.a)(Object(h.b)(p.a),Object(v.a)((function(e){!function(t,e){t.setAttribute("data-md-state",e?"active":"")}(t,"page"===e)})),Object(m.a)((function(){!function(t){t.removeAttribute("data-md-state")}(t)})))}(o))})),Object(s.a)("site"));return Object(a.a)([y,g]).pipe(Object(i.a)((function(t){var e=Object(r.c)(t,2),n=e[0],c=e[1];return Object(r.a)({type:c},n)})),Object(O.a)(1))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return O}));var r=n(44),c=n(34),a=n(9),o=n(83),i=n(1),u=n(80),b=n(54),f=n(77),s=n(79);function O(t){var e=t.header$,n=t.viewport$;return Object(r.a)(Object(c.a)((function(t){return Object(i.B)(t,{header$:e,viewport$:n}).pipe(Object(a.a)((function(t){return{hidden:t.offset.y>=20}})),Object(o.a)("hidden"),function(t){return Object(r.a)(Object(b.b)(u.a),Object(f.a)((function(e){var n=e.hidden;!function(t,e){t.setAttribute("data-md-state",e?"hidden":"")}(t,n)})),Object(s.a)((function(){!function(t){t.removeAttribute("data-md-state")}(t)})))}(t))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r=n(27),c=n(44),a=n(34),o=n(83),i=n(77),u=n(21),b=n(0),f=n(57),s=n(80),O=n(94),d=n(45),l=n(82),j=n(9),p=n(54),h=n(79),v=n(1);function m(t){var e=t.header$,n=t.viewport$,m=new r.a;return Object(u.b)("header").pipe(Object(a.a)((function(t){return m.pipe(Object(o.a)("active"),(e=t,Object(c.a)(Object(p.b)(s.a),Object(i.a)((function(t){var n=t.active;!function(t,e){t.setAttribute("data-md-state",e?"shadow":"")}(e,n)})),Object(h.a)((function(){!function(t){t.removeAttribute("data-md-state")}(e)})))));var e}))).subscribe(),Object(c.a)(Object(a.a)((function(t){return function(t,e){var n=e.header$,r=e.viewport$,c=n.pipe(Object(O.a)("height"),Object(d.a)(),Object(l.a)(1)),i=c.pipe(Object(a.a)((function(){return Object(v.t)(t).pipe(Object(j.a)((function(e){var n=e.height;return{top:t.offsetTop,bottom:t.offsetTop+n}})))})),Object(o.a)("bottom"),Object(l.a)(1));return Object(f.a)([c,i,r]).pipe(Object(j.a)((function(t){var e=Object(b.c)(t,3),n=e[0],r=e[1],c=r.top,a=r.bottom,o=e[2],i=o.offset.y,u=o.size.height;return{offset:c-n,height:u=Math.max(0,u-Math.max(0,c-i,n)-Math.max(0,u+i-a)),active:c-n<=i}})),Object(d.a)((function(t,e){return t.offset===e.offset&&t.height===e.height&&t.active===e.active})))}(t,{header$:e,viewport$:n})})),Object(i.a)((function(t){return m.next(t)})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(44),c=n(40),a=n(34),o=n(9),i=n(83),u=n(1),b=n(80),f=n(54),s=n(77),O=n(79);function d(t){var e=t.header$,n=t.viewport$,d=t.screen$;return Object(r.a)(Object(a.a)((function(t){return d.pipe(Object(a.a)((function(a){return a?Object(u.B)(t,{header$:e,viewport$:n}).pipe(Object(o.a)((function(t){return{hidden:t.offset.y>=10}})),Object(i.a)("hidden"),function(t){return Object(r.a)(Object(f.b)(b.a),Object(s.a)((function(e){var n=e.hidden;!function(t,e){t.setAttribute("data-md-state",e?"hidden":"")}(t,n)})),Object(O.a)((function(){!function(t){t.removeAttribute("data-md-state")}(t)})))}(t)):Object(c.a)({hidden:!0})})))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(44),c=n(40),a=n(34),o=n(9),i=n(30);function u(t){var e=t.header$,n=t.main$,u=t.viewport$,b=t.screen$;return Object(r.a)(Object(a.a)((function(t){return b.pipe(Object(a.a)((function(r){return r?Object(i.watchSidebar)(t,{main$:n,viewport$:u}).pipe(Object(i.applySidebar)(t,{header$:e}),Object(o.a)((function(t){return{sidebar:t}}))):Object(c.a)({})})))})))}},,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"setScrollLock",(function(){return P})),n.d(e,"resetScrollLock",(function(){return q})),n.d(e,"initialize",(function(){return U}));var r=n(0),c=n(103),a=n(37),o=n(57),i=n(80),u=n(88),b=n(90),f=n(107),s=n(82),O=n(34),d=n(94),l=n(77),j=n(106),p=n(84),h=n(54),v=n(92),m=n(105),y=n(1),g=n(7),w=n(15),$=n(108),x=n(9),k=n(96);var S=n(98);var T=n(102),C=n(97),A=n(89);function _(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}var E=n(99),L=n(31),M=n(4),H=n(40);function R(t){switch(Object(r.c)(t.match(/(git(?:hub|lab))/i)||[],1)[0].toLowerCase()){case"github":var e=Object(r.c)(t.match(/^.+github\.com\/([^\/]+)\/?([^\/]+)/i),3);return function(t,e){return Object(f.a)({url:void 0!==e?"https://api.github.com/repos/"+t+"/"+e:"https://api.github.com/users/"+t,responseType:"json"}).pipe(Object(v.a)((function(t){return 200===t.status})),Object(d.a)("response"),Object(O.a)((function(t){if(void 0!==e){var n=t.stargazers_count,r=t.forks_count;return Object(H.a)([Object(M.e)(n||0)+" Stars",Object(M.e)(r||0)+" Forks"])}var c=t.public_repos;return Object(H.a)([Object(M.e)(c||0)+" Repositories"])})))}(e[1],e[2]);case"gitlab":var n=Object(r.c)(t.match(/^.+?([^\/]*gitlab[^\/]+)\/(.+)/i),3);return function(t,e){return Object(f.a)({url:"https://"+t+"/api/v4/projects/"+encodeURIComponent(e),responseType:"json"}).pipe(Object(v.a)((function(t){return 200===t.status})),Object(d.a)("response"),Object(x.a)((function(t){var e=t.star_count,n=t.forks_count;return[Object(M.e)(e)+" Stars",Object(M.e)(n)+" Forks"]})))}(n[1],n[2]);default:return C.a}}function P(t,e){t.setAttribute("data-md-state","lock"),t.style.top="-"+e+"px"}function q(t){var e=-1*parseInt(t.style.top,10);t.removeAttribute("data-md-state"),t.style.top="",e&&window.scrollTo(0,e)}function U(t){if(!Object(M.d)(t))throw new SyntaxError("Invalid configuration: "+JSON.stringify(t));var e=Object(y.q)(),n=Object(y.v)(),H=Object(y.w)(t.base,{location$:n}),U=Object(y.x)(),N=Object(y.A)(),I=Object(y.y)("(min-width: 960px)"),z=Object(y.y)("(min-width: 1220px)");Object(g.setupComponents)(["announce","container","header","header-title","hero","main","navigation","search","search-query","search-reset","search-result","skip","tabs","toc"],{document$:e});var V=Object(w.g)();!function(t){var e=t.document$,n=t.hash$,c=e.pipe(Object(x.a)((function(){return Object(y.e)("details")})));Object(b.a)(Object(y.y)("print").pipe(Object(v.a)($.a)),Object(u.a)(window,"beforeprint")).pipe(Object(k.a)(c)).subscribe((function(t){var e,n;try{for(var c=Object(r.f)(t),a=c.next();!a.done;a=c.next()){a.value.setAttribute("open","")}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}})),n.pipe(Object(x.a)((function(t){return Object(y.c)('[id="'+t+'"]')})),Object(v.a)((function(t){return void 0!==t})),Object(l.a)((function(t){var e=t.closest("details");e&&!e.open&&e.setAttribute("open","")}))).subscribe((function(t){return t.scrollIntoView()}))}({document$:e,hash$:U}),{document$:e}.document$.pipe(Object(S.a)(1),Object(p.a)(Object(g.useComponent)("container")),Object(x.a)((function(t){var e=Object(r.c)(t,2)[1];return Object(y.e)("script",e)}))).subscribe((function(t){var e,n;try{for(var c=Object(r.f)(t),a=c.next();!a.done;a=c.next()){var o=a.value;if(o.src||/(^|\/javascript)$/i.test(o.type)){var i=Object(y.a)("script"),u=o.src?"src":"textContent";i[u]=o[u],Object(y.j)(o,i)}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}})),function(t){t.document$.pipe(Object(x.a)((function(){return Object(y.d)(".md-source[href]")})),Object(O.a)((function(t){var e=t.href;return Object(M.a)(""+Object(M.c)(e),(function(){return R(e)}))})),Object(E.a)((function(){return C.a}))).subscribe((function(t){var e,n;try{for(var c=Object(r.f)(Object(y.e)(".md-source__repository")),a=c.next();!a.done;a=c.next()){var o=a.value;o.hasAttribute("data-md-state")||(o.setAttribute("data-md-state","done"),o.appendChild(Object(L.c)(t)))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}}))}({document$:e}),function(t){var e=t.document$,n=Object(y.a)("table");e.pipe(Object(x.a)((function(){return Object(y.e)("table:not([class])")}))).subscribe((function(t){var e,c;try{for(var a=Object(r.f)(t),o=a.next();!o.done;o=a.next()){var i=o.value;Object(y.j)(i,n),Object(y.j)(n,Object(L.d)(i))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(c=a.return)&&c.call(a)}finally{if(e)throw e.error}}}))}({document$:e}),function(t){var e=t.document$.pipe(Object(x.a)((function(){return Object(y.e)("[data-md-scrollfix]")})),Object(s.a)(1));e.subscribe((function(t){var e,n;try{for(var c=Object(r.f)(t),a=c.next();!a.done;a=c.next()){a.value.removeAttribute("data-md-scrollfix")}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}})),Object(T.a)(_,e,C.a).pipe(Object(O.a)((function(t){return b.a.apply(void 0,Object(r.d)(t.map((function(t){return Object(u.a)(t,"touchstart",{passive:!0}).pipe(Object(A.a)(t))}))))}))).subscribe((function(t){var e=t.scrollTop;0===e?t.scrollTop=1:e+t.offsetHeight===t.scrollHeight&&(t.scrollTop=e-1)}))}({document$:e});var B=Object(w.e)(),D=Object(w.d)({document$:e,dialog$:B}),J=Object(g.useComponent)("header").pipe(Object(g.mountHeader)({document$:e,viewport$:N}),Object(s.a)(1)),K=Object(g.useComponent)("main").pipe(Object(g.mountMain)({header$:J,viewport$:N}),Object(s.a)(1)),Y=Object(g.useComponent)("navigation").pipe(Object(g.mountNavigation)({header$:J,main$:K,viewport$:N,screen$:z}),Object(s.a)(1)),F=Object(g.useComponent)("toc").pipe(Object(g.mountTableOfContents)({header$:J,main$:K,viewport$:N,tablet$:I}),Object(s.a)(1)),Q=Object(g.useComponent)("tabs").pipe(Object(g.mountTabs)({header$:J,viewport$:N,screen$:z}),Object(s.a)(1)),W=Object(g.useComponent)("hero").pipe(Object(g.mountHero)({header$:J,viewport$:N}),Object(s.a)(1)),X=t.search&&t.search.index?t.search.index:void 0,Z=void 0!==X?Object(a.a)(X):H.pipe(Object(O.a)((function(t){return Object(f.a)({url:t+"/search/search_index.json",responseType:"json",withCredentials:!0}).pipe(Object(d.a)("response"))}))),G=Object(w.h)(t.search.worker,{base$:H,index$:Z}),tt=Object(g.useComponent)("search-query").pipe(Object(g.mountSearchQuery)(G,{transform:t.search.transform}),Object(s.a)(1)),et=Object(g.useComponent)("search-reset").pipe(Object(g.mountSearchReset)(),Object(s.a)(1)),nt=Object(g.useComponent)("search-result").pipe(Object(g.mountSearchResult)(G,{query$:tt}),Object(s.a)(1)),rt=Object(g.useComponent)("search").pipe(Object(g.mountSearch)({query$:tt,reset$:et,result$:nt}),Object(s.a)(1));U.pipe(Object(l.a)((function(){return Object(y.o)("search",!1)})),Object(j.a)(125)).subscribe((function(t){return Object(y.n)("#"+t)})),Object(o.a)([Object(y.z)("search"),I]).pipe(Object(p.a)(N),Object(O.a)((function(t){var n=Object(r.c)(t,2),c=Object(r.c)(n[0],2),a=c[0],o=c[1],u=n[1].offset.y,b=a&&!o;return e.pipe(Object(j.a)(b?400:100),Object(h.b)(i.a),Object(l.a)((function(t){var e=t.body;return b?P(e,u):q(e)})))}))).subscribe(),Object(u.a)(document.body,"click").pipe(Object(v.a)((function(t){return!(t.metaKey||t.ctrlKey)})),Object(v.a)((function(t){if(t.target instanceof HTMLElement){var e=t.target.closest("a");if(e&&Object(y.h)(e))return!0}return!1}))).subscribe((function(){Object(y.o)("drawer",!1)})),t.features.includes("instant")&&"file:"!==location.protocol&&Object(w.f)({document$:e,location$:n,viewport$:N}),V.pipe(Object(v.a)((function(t){return"global"===t.mode&&"Tab"===t.type})),Object(m.a)(1)).subscribe((function(){var t,e;try{for(var n=Object(r.f)(Object(y.e)(".headerlink")),c=n.next();!c.done;c=n.next()){c.value.style.visibility="visible"}}catch(e){t={error:e}}finally{try{c&&!c.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}));var ct={document$:e,location$:n,viewport$:N,header$:J,hero$:W,main$:K,navigation$:Y,search$:rt,tabs$:Q,toc$:F,clipboard$:D,keyboard$:V,dialog$:B};return b.a.apply(void 0,Object(r.d)(Object(c.a)(ct))).subscribe(),ct}document.documentElement.classList.remove("no-js"),document.documentElement.classList.add("js"),navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&document.documentElement.classList.add("ios")}]));
//# sourceMappingURL=bundle.acd913ae.min.js.map