mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-12-15 09:01:17 +01:00
2 lines
48 KiB
JavaScript
2 lines
48 KiB
JavaScript
!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,l=[];s<i.length;s++)o=i[s],Object.prototype.hasOwnProperty.call(c,o)&&c[o]&&l.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);l.length;)l.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([87,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 l})),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 S})),n.d(e,"i",(function(){return C})),n.d(e,"u",(function(){return A})),n.d(e,"m",(function(){return L})),n.d(e,"h",(function(){return E})),n.d(e,"g",(function(){return N})),n.d(e,"v",(function(){return R})),n.d(e,"w",(function(){return H})),n.d(e,"n",(function(){return q})),n.d(e,"x",(function(){return U})),n.d(e,"y",(function(){return Q})),n.d(e,"f",(function(){return z})),n.d(e,"o",(function(){return V})),n.d(e,"z",(function(){return B})),n.d(e,"A",(function(){return W})),n.d(e,"B",(function(){return X})),n.d(e,"p",(function(){return K})),n.d(e,"C",(function(){return nt}));var r=n(85),c=n(88),a=n(98);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 l(t,e){t.replaceWith(e)}var d=n(89),O=n(9),j=n(95),p=n(90);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(O.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(O.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),x=n(82),$=n(99);function S(t){return Object($.a)((function(e){new x.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 T=n(100),k=n(112);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(T.a)((function(t){return!(t.metaKey||t.ctrlKey)})),Object(O.a)((function(t){return{type:t.key,claim:function(){t.preventDefault(),t.stopPropagation()}}})),Object(k.a)())}var _=n(101);function L(t){location.href=t.href}function E(t,e){return void 0===e&&(e=location),t.host===e.host&&/^(?:\/[\w-]+)*(?:\/?|\.html)$/i.test(t.pathname)}function N(t,e){return void 0===e&&(e=location),t.pathname===e.pathname&&t.hash.length>0}function R(){return new _.a(new URL(location.href))}var M=n(113);function H(t,e){return e.location$.pipe(Object(M.a)(1),Object(O.a)((function(e){var n=e.href;return new URL(t,n).toString().replace(/\/$/,"")})),Object(p.a)(1))}function P(){return location.hash.substring(1)}function q(t){var e=s("a");e.href=t,e.addEventListener("click",(function(t){return t.stopPropagation()})),e.click()}function U(){return Object(c.a)(window,"hashchange").pipe(Object(O.a)(P),Object(j.a)(P()),Object(T.a)((function(t){return t.length>0})),Object(k.a)())}function Q(t){var e=matchMedia(t);return Object($.a)((function(t){return e.addListener((function(){return t(e.matches)}))})).pipe(Object(j.a)(e.matches),Object(p.a)(1))}var I={drawer:u("[data-md-toggle=drawer]"),search:u("[data-md-toggle=search]")};function z(t){return I[t].checked}function V(t,e){I[t].checked!==e&&I[t].click()}function B(t){var e=I[t];return Object(c.a)(e,"change").pipe(Object(O.a)((function(){return e.checked})),Object(j.a)(e.checked))}var D=n(62),J=n(91);function F(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function K(t){var e=t.x,n=t.y;window.scrollTo(e||0,n||0)}function Y(){return{width:innerWidth,height:innerHeight}}function W(){return Object(D.a)([Object(d.a)(Object(c.a)(window,"scroll",{passive:!0}),Object(c.a)(window,"resize",{passive:!0})).pipe(Object(O.a)(F),Object(j.a)(F())),Object(c.a)(window,"resize",{passive:!0}).pipe(Object(O.a)(Y),Object(j.a)(Y()))]).pipe(Object(O.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(J.a)("size")),a=Object(D.a)([c,n]).pipe(Object(O.a)((function(){return{x:t.offsetLeft,y:t.offsetTop}})));return Object(D.a)([n,r,a]).pipe(Object(O.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(102),G=n(103),tt=n(58),et=n(104);function nt(t,e){var n=e.tx$,r=Object($.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(k.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 l})),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(86);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=[],l=2;l<arguments.length;l++)s[l-2]=arguments[l];var d=o(t);if(e)try{for(var O=Object(c.f)(Object(a.a)(e)),j=O.next();!j.done;j=O.next()){var p=j.value;i(d,p,e[p])}}catch(t){n={error:t}}finally{try{j&&!j.done&&(r=O.return)&&r.call(O)}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(83),s=n(44);function l(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,O=n(1);function j(t,e){if(void 0===d){var n=Object(O.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(22);n.d(e,"setupComponents",(function(){return r.a})),n.d(e,"useComponent",(function(){return r.b}));var c=n(78);n.d(e,"mountHeader",(function(){return c.a}));var a=n(79);n.d(e,"mountHero",(function(){return a.a}));var o=n(80);n.d(e,"mountMain",(function(){return o.a}));var i=n(66);n.o(i,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return i.mountNavigation})),n.o(i,"mountSearch")&&n.d(e,"mountSearch",(function(){return i.mountSearch})),n.o(i,"mountSearchQuery")&&n.d(e,"mountSearchQuery",(function(){return i.mountSearchQuery})),n.o(i,"mountSearchReset")&&n.d(e,"mountSearchReset",(function(){return i.mountSearchReset})),n.o(i,"mountSearchResult")&&n.d(e,"mountSearchResult",(function(){return i.mountSearchResult})),n.o(i,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return i.mountTableOfContents})),n.o(i,"mountTabs")&&n.d(e,"mountTabs",(function(){return i.mountTabs}));var u=n(77);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(31);n.o(b,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return b.mountNavigation})),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(81);n.d(e,"mountTabs",(function(){return f.a}));var s=n(73);n.o(s,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return s.mountNavigation})),n.o(s,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return s.mountTableOfContents}))},,,,,,,,,function(t,e,n){"use strict";n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return y})),n.d(e,"f",(function(){return M})),n.d(e,"g",(function(){return P})),n.d(e,"b",(function(){return U})),n.d(e,"h",(function(){return J})),n.d(e,"a",(function(){return Q})),n.d(e,"c",(function(){return B}));var r=n(61),c=n(105),a=n(99),o=n(112),i=n(58),u=n(98),b=n(1),f=n(32),s=n(4);function l(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 l=Object(a.a)((function(t){new r(".md-clipboard").on("success",t)})).pipe(Object(o.a)());return l.pipe(Object(i.a)((function(t){return t.clearSelection()})),Object(u.a)(Object(s.f)("clipboard.copied"))).subscribe(n),l}var d=n(28),O=n(44),j=n(59),p=n(25),h=n(9),v=n(46),m=n(96);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(O.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),x=n(89),$=n(114),S=n(100),T=n(49),k=n(102),C=n(91),A=n(106),_=n(107),L=n(108),E=n(92),N=n(109),R=n(93);function M(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(S.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(O.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(T.a)((function(t,e){return t.url.href===e.url.href})),Object(S.a)((function(t){var e=t.url;return!Object(b.g)(e)})),Object(o.a)()),f=Object(w.a)(window,"popstate").pipe(Object(S.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(x.a)(u,f).pipe(Object(k.a)("url")).subscribe(r);var s=r.pipe(Object(C.a)("pathname"),Object(A.a)(1),Object(p.a)((function(t){return Object($.a)({url:t.href,responseType:"text",withCredentials:!0}).pipe(Object(_.a)((function(){return Object(b.m)(t),c.a})))})));u.pipe(Object(L.a)(s)).subscribe((function(t){var e=t.url;history.pushState({},"",e.toString())}));var l=new DOMParser;s.pipe(Object(h.a)((function(t){var e=t.response;return l.parseFromString(e,"text/html")}))).subscribe(e);var d=Object(x.a)(u,f).pipe(Object(L.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(E.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(N.a)(250),Object(C.a)("offset")).subscribe((function(t){var e=t.offset;history.replaceState(e,"")})),Object(x.a)(i,f).pipe(Object(R.a)(2,1),Object(S.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 H=n(7);function P(){var t=Object(b.u)().pipe(Object(h.a)((function(t){return Object(g.a)({mode:Object(b.f)("search")?"search":"global"},t)})),Object(S.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(S.a)((function(t){return"search"===t.mode})),Object(E.a)(Object(H.useComponent)("search-query"),Object(H.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(S.a)((function(t){return"global"===t.mode})),Object(E.a)(Object(H.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 q=n(84);!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,l=q(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:l,parent:d}):(d.title=o.title,d.text=l,d.linked=!0)}else r.set(f,{location:f,title:s,text:l,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),l=s.next();!l.done;l=s.next()){var d=l.value;this.add(d)}}catch(t){o={error:t}}finally{try{l&&!l.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 U(t){return t.replace(/(?:^|\s+)[*+-:^~]+(?=\s+|$)/g,"").trim().replace(/\s+|\b$/g,"* ")}var Q,I=n(115),z=n(55),V=n(90);function B(t){return t.type===Q.RESULT}function D(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(I.a)}}function J(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(E.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(B(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,l=f.sections;s.location=i+"/"+s.location;try{for(var d=(r=void 0,Object(g.f)(l)),O=d.next();!O.done;O=d.next()){var j=O.value;j.location=i+"/"+j.location}}catch(t){r={error:t}}finally{try{O&&!O.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(V.a)(1));return n.pipe(Object(h.a)((function(t){return{type:Q.SETUP,data:D(t)}})),Object(v.b)(z.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"}(Q||(Q={}))},,,,,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 O}));var r,c=n(0),a=n(44),o=n(19),i=n(9),u=n(63),b=n(90),f=n(25),s=n(49),l=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(l.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(l.j)(e[u],n[u]),e[u]=n[u]);break;default:void 0!==n[u]?e[u]=Object(l.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 O(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(68);n.o(r,"applySidebar")&&n.d(e,"applySidebar",(function(){return r.applySidebar})),n.o(r,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return r.mountNavigation})),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",l="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:l},Object(r.g)(a,320))))}));return Object(r.b)("li",{class:i},a)}var O="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:O},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";function r(t){t.style.webkitOverflowScrolling="touch"}function c(t){t.style.webkitOverflowScrolling=""}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return c}))},,,,,,,function(t,e,n){"use strict";var r=n(71);n.o(r,"applyNavigationLayer")&&n.d(e,"applyNavigationLayer",(function(){return r.applyNavigationLayer})),n.o(r,"mountSearch")&&n.d(e,"mountSearch",(function(){return r.mountSearch})),n.o(r,"mountSearchQuery")&&n.d(e,"mountSearchQuery",(function(){return r.mountSearchQuery})),n.o(r,"mountSearchReset")&&n.d(e,"mountSearchReset",(function(){return r.mountSearchReset})),n.o(r,"mountSearchResult")&&n.d(e,"mountSearchResult",(function(){return r.mountSearchResult})),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,"watchNavigationLayer")&&n.d(e,"watchNavigationLayer",(function(){return r.watchNavigationLayer}));var c=n(72);n.d(e,"applyNavigationLayer",(function(){return c.a})),n.d(e,"watchNavigationLayer",(function(){return c.b}));n(40)},function(t,e,n){"use strict";var r=n(75);n.o(r,"applyAnchorList")&&n.d(e,"applyAnchorList",(function(){return r.applyAnchorList})),n.o(r,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return r.mountNavigation})),n.o(r,"watchAnchorList")&&n.d(e,"watchAnchorList",(function(){return r.watchAnchorList}));var c=n(76);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(67);n.d(e,"mountNavigation",(function(){return r.a}));var c=n(47);n.o(c,"mountSearch")&&n.d(e,"mountSearch",(function(){return c.mountSearch})),n.o(c,"mountSearchQuery")&&n.d(e,"mountSearchQuery",(function(){return c.mountSearchQuery})),n.o(c,"mountSearchReset")&&n.d(e,"mountSearchReset",(function(){return c.mountSearchReset})),n.o(c,"mountSearchResult")&&n.d(e,"mountSearchResult",(function(){return c.mountSearchResult})),n.o(c,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return c.mountTableOfContents})),n.o(c,"mountTabs")&&n.d(e,"mountTabs",(function(){return c.mountTabs}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var r=n(36),c=n(25),a=n(9),o=n(1),i=n(31),u=n(47);function b(t){var e=t.header$,n=t.main$,b=t.viewport$,f=t.screen$;return Object(r.a)(Object(c.a)((function(t){return f.pipe(Object(c.a)((function(r){if(r)return Object(i.watchSidebar)(t,{main$:n,viewport$:b}).pipe(Object(i.applySidebar)(t,{header$:e}),Object(a.a)((function(t){return{sidebar:t}})));var c=Object(o.e)("nav",t);return Object(u.watchNavigationLayer)(c).pipe(Object(u.applyNavigationLayer)(c),Object(a.a)((function(t){return{layer:t}})))})))})))}},function(t,e,n){"use strict";var r=n(69);n.o(r,"applySidebar")&&n.d(e,"applySidebar",(function(){return r.applySidebar})),n.o(r,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return r.mountNavigation})),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(70);n.d(e,"applySidebar",(function(){return c.a})),n.d(e,"watchSidebar",(function(){return c.b}));n(21)},function(t,e){},function(t,e,n){"use strict";n.d(e,"b",(function(){return O})),n.d(e,"a",(function(){return j}));var r=n(0),c=n(62),a=n(36),o=n(59),i=n(9),u=n(49),b=n(46),f=n(92),s=n(58),l=n(64),d=n(21);function O(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(l.a)((function(){Object(d.c)(t),Object(d.a)(t),Object(d.b)(t)})))}},function(t,e){},function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return v}));var r=n(0),c=n(94),a=n(89),o=n(88),i=n(36),u=n(59),b=n(9),f=n(63),s=n(46),l=n(58),d=n(96),O=n(64),j=n(1),p=n(40);function h(t){var e,n,i=new Map;try{for(var u=Object(r.f)(t),s=u.next();!s.done;s=u.next()){var l=s.value,d=Object(j.c)("label",l);if(void 0!==d){var O=Object(j.d)("#"+d.htmlFor);i.set(O,l)}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}return a.a.apply(void 0,Object(r.d)(Object(r.d)(i.keys()).map((function(t){return Object(o.a)(t,"change")})))).pipe(Object(b.a)((function(){return Object(j.d)(".md-nav__list",i.get(Object(c.a)((function(t){return t.checked}),Object(r.d)(i.keys()))))}))).pipe(Object(b.a)((function(t){return{next:t}})),Object(f.a)((function(t,e){return{prev:t.next,next:e.next}})))}function v(t){return Object(i.a)(Object(s.b)(u.a),Object(l.a)((function(t){var e=t.prev;e&&Object(p.a)(e)})),Object(d.a)(250),Object(s.b)(u.a),Object(l.a)((function(t){var e=t.next;Object(p.b)(e)})),Object(O.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(p.a)(Object(j.d)(".md-nav__list",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";var r=n(74);n.d(e,"mountTableOfContents",(function(){return r.a}));var c=n(48);n.o(c,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return c.mountNavigation}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(0),c=n(36),a=n(62),o=n(44),i=n(25),u=n(9),b=n(1),f=n(31),s=n(48);function l(t){var e=t.header$,n=t.main$,l=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$:l}).pipe(Object(f.applySidebar)(t,{header$:e})),O=Object(s.watchAnchorList)(i,{header$:e,viewport$:l}).pipe(Object(s.applyAnchorList)(i));return Object(a.a)([d,O]).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(97),a=n(62),o=n(36),i=n(59),u=n(9),b=n(91),f=n(25),s=n(63),l=n(49),d=n(95),O=n(93),j=n(46),p=n(58),h=n(64),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 x=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)([x,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(l.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(O.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 M}));var r=n(0),c=n(36),a=n(62),o=n(25),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(91),f=n(1),s=n(16),l=n(89),d=n(88),O=n(96),j=n(95),p=n(49);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(l.a)(Object(d.a)(t,"keyup"),Object(d.a)(t,"focus").pipe(Object(O.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(104),m=n(58),y=n(98),g=n(22);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 x=n(115),$=n(100),S=n(102),T=n(59),k=n(92),C=n(46),A=n(63),_=n(64),L=n(32),E=n(4);function N(t,e){t.appendChild(e)}function R(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(k.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(E.f)("search.result.none");break;case 1:t.textContent=Object(E.f)("search.result.one");break;default:t.textContent=Object(E.f)("search.result.other",e.toString())}}(b,n.length):function(t){t.textContent=Object(E.f)("search.result.placeholder")}(b),n})),Object(o.a)((function(e){return a.pipe(Object(C.b)(T.a),Object(A.a)((function(n){for(var r=t.parentElement;n<e.length&&(N(u,Object(L.b)(e[n++])),!(r.scrollHeight-r.offsetHeight>16)););return n}),0),Object(y.a)(e),Object(_.a)((function(){!function(t){t.innerHTML=""}(u)})))})))}function M(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($.a)(x.a));return n.pipe(Object($.a)(s.c),Object(S.a)("data"),R(t,{query$:r,fetch$:c}))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(0),c=n(36),a=n(62),o=n(25),i=n(9),u=n(100),b=n(92),f=n(49),s=n(95),l=n(90),d=n(1),O=n(22),j=n(44),p=n(59),h=n(46),v=n(58),m=n(64);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(l.a)(1))}(t,{document$:e}),g=Object(O.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(O.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(l.a)(1))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(36),c=n(25),a=n(9),o=n(91),i=n(1),u=n(59),b=n(46),f=n(58),s=n(64);function l(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(28),c=n(36),a=n(25),o=n(91),i=n(58),u=n(22),b=n(0),f=n(62),s=n(59),l=n(102),d=n(49),O=n(90),j=n(9),p=n(46),h=n(64),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(l.a)("height"),Object(d.a)(),Object(O.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(O.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(36),c=n(44),a=n(25),o=n(9),i=n(91),u=n(1),b=n(59),f=n(46),s=n(58),l=n(64);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(l.a)((function(){!function(t){t.removeAttribute("data-md-state")}(t)})))}(t)):Object(c.a)({hidden:!0})})))})))}},,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"setScrollLock",(function(){return H})),n.d(e,"resetScrollLock",(function(){return P})),n.d(e,"initialize",(function(){return q}));var r=n(0),c=n(111),a=n(41),o=n(62),i=n(59),u=n(88),b=n(89),f=n(114),s=n(90),l=n(25),d=n(102),O=n(58),j=n(96),p=n(92),h=n(46),v=n(100),m=n(113),y=n(1),g=n(7),w=n(16),x=n(115),$=n(9),S=n(104);var T=n(106);var k=n(110),C=n(105),A=n(98);function _(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}var L=n(107),E=n(32),N=n(4),R=n(44);function M(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(l.a)((function(t){if(void 0!==e){var n=t.stargazers_count,r=t.forks_count;return Object(R.a)([Object(N.e)(n||0)+" Stars",Object(N.e)(r||0)+" Forks"])}var c=t.public_repos;return Object(R.a)([Object(N.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($.a)((function(t){var e=t.star_count,n=t.forks_count;return[Object(N.e)(e)+" Stars",Object(N.e)(n)+" Forks"]})))}(n[1],n[2]);default:return C.a}}function H(t,e){t.setAttribute("data-md-state","lock"),t.style.top="-"+e+"px"}function P(t){var e=-1*parseInt(t.style.top,10);t.removeAttribute("data-md-state"),t.style.top="",e&&window.scrollTo(0,e)}function q(t){if(!Object(N.d)(t))throw new SyntaxError("Invalid configuration: "+JSON.stringify(t));var e=Object(y.q)(),n=Object(y.v)(),R=Object(y.w)(t.base,{location$:n}),q=Object(y.x)(),U=Object(y.A)(),Q=Object(y.y)("(min-width: 960px)"),I=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 z=Object(w.g)();!function(t){var e=t.document$,n=t.hash$,c=e.pipe(Object($.a)((function(){return Object(y.e)("details")})));Object(b.a)(Object(y.y)("print").pipe(Object(v.a)(x.a)),Object(u.a)(window,"beforeprint")).pipe(Object(S.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($.a)((function(t){return Object(y.c)('[id="'+t+'"]')})),Object(v.a)((function(t){return void 0!==t})),Object(O.a)((function(t){var e=t.closest("details");e&&!e.open&&e.setAttribute("open","")}))).subscribe((function(t){return t.scrollIntoView()}))}({document$:e,hash$:q}),{document$:e}.document$.pipe(Object(T.a)(1),Object(p.a)(Object(g.useComponent)("container")),Object($.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($.a)((function(){return Object(y.d)(".md-source[href]")})),Object(l.a)((function(t){var e=t.href;return Object(N.a)(""+Object(N.c)(e),(function(){return M(e)}))})),Object(L.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(E.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($.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(E.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($.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(k.a)(_,e,C.a).pipe(Object(l.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 V=Object(w.e)(),B=Object(w.d)({document$:e,dialog$:V}),D=Object(g.useComponent)("header").pipe(Object(g.mountHeader)({document$:e,viewport$:U}),Object(s.a)(1)),J=Object(g.useComponent)("main").pipe(Object(g.mountMain)({header$:D,viewport$:U}),Object(s.a)(1)),F=Object(g.useComponent)("navigation").pipe(Object(g.mountNavigation)({header$:D,main$:J,viewport$:U,screen$:I}),Object(s.a)(1)),K=Object(g.useComponent)("toc").pipe(Object(g.mountTableOfContents)({header$:D,main$:J,viewport$:U,tablet$:Q}),Object(s.a)(1)),Y=Object(g.useComponent)("tabs").pipe(Object(g.mountTabs)({header$:D,viewport$:U,screen$:I}),Object(s.a)(1)),W=Object(g.useComponent)("hero").pipe(Object(g.mountHero)({header$:D,viewport$:U}),Object(s.a)(1)),X=t.search&&t.search.index?t.search.index:void 0,Z=void 0!==X?Object(a.a)(X):R.pipe(Object(l.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$:R,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));q.pipe(Object(O.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"),Q]).pipe(Object(p.a)(U),Object(l.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(O.a)((function(t){var e=t.body;return b?H(e,u):P(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$:U}),z.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$:U,header$:D,hero$:W,main$:J,navigation$:F,search$:rt,tabs$:Y,toc$:K,clipboard$:B,keyboard$:z,dialog$:V};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.8d539fc7.min.js.map
|