mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
2 lines
47 KiB
JavaScript
2 lines
47 KiB
JavaScript
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var r,i,o=t[0],u=t[1],b=t[2],s=0,l=[];s<o.length;s++)i=o[s],Object.prototype.hasOwnProperty.call(c,i)&&c[i]&&l.push(c[i][0]),c[i]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(e[r]=u[r]);for(f&&f(t);l.length;)l.shift()();return a.push.apply(a,b||[]),n()}function n(){for(var e,t=0;t<a.length;t++){for(var n=a[t],r=!0,o=1;o<n.length;o++){var u=n[o];0!==c[u]&&(r=!1)}r&&(a.splice(t--,1),e=i(i.s=n[0]))}return e}var r={},c={0:0},a=[];function i(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=e,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="";var o=window.webpackJsonp=window.webpackJsonp||[],u=o.push.bind(o);o.push=t,o=o.slice();for(var b=0;b<o.length;b++)t(o[b]);var f=u;return a.push([76,1]),n()}([,function(e,t,n){"use strict";n.d(t,"q",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return b})),n.d(t,"e",(function(){return f})),n.d(t,"a",(function(){return s})),n.d(t,"j",(function(){return l})),n.d(t,"k",(function(){return p})),n.d(t,"r",(function(){return h})),n.d(t,"s",(function(){return m})),n.d(t,"l",(function(){return y})),n.d(t,"t",(function(){return R})),n.d(t,"i",(function(){return P})),n.d(t,"u",(function(){return H})),n.d(t,"m",(function(){return U})),n.d(t,"h",(function(){return q})),n.d(t,"g",(function(){return N})),n.d(t,"v",(function(){return D})),n.d(t,"w",(function(){return Q})),n.d(t,"n",(function(){return W})),n.d(t,"x",(function(){return Y})),n.d(t,"y",(function(){return K})),n.d(t,"f",(function(){return G})),n.d(t,"o",(function(){return V})),n.d(t,"z",(function(){return Z})),n.d(t,"A",(function(){return ae})),n.d(t,"B",(function(){return ie})),n.d(t,"p",(function(){return re})),n.d(t,"C",(function(){return fe}));var r=n(62),c=n(82),a=n(83);function i(){var e=new r.a;return Object(c.a)(document,"DOMContentLoaded").pipe(Object(a.a)(document)).subscribe(e),e}function o(e,t){return void 0===t&&(t=document),t.querySelector(e)||void 0}function u(e,t){void 0===t&&(t=document);var n=o(e,t);if(void 0===n)throw new ReferenceError('Missing element: expected "'+e+'" to be present');return n}function b(){return document.activeElement instanceof HTMLElement?document.activeElement:void 0}function f(e,t){return void 0===t&&(t=document),Array.from(t.querySelectorAll(e))}function s(e){return document.createElement(e)}function l(e,t){e.replaceWith(t)}var O=n(99),j=n(11),d=n(81);function p(e,t){void 0===t&&(t=!0),t?e.focus():e.blur()}function h(e){return Object(O.a)(Object(c.a)(e,"focus"),Object(c.a)(e,"blur")).pipe(Object(j.a)((function(e){return"focus"===e.type})),Object(d.a)(e===b()))}function v(e){return{x:e.scrollLeft,y:e.scrollTop}}function m(e){return Object(O.a)(Object(c.a)(e,"scroll"),Object(c.a)(window,"resize")).pipe(Object(j.a)((function(){return v(e)})),Object(d.a)(v(e)))}function y(e){if(!(e instanceof HTMLInputElement))throw new Error("Not implemented");e.select()}var g=n(0),w=n(63),x=n(34),$=n(64),S=n(48),C=n(84),k=n(21),T=n(66),_=n(77),E=n(67),A=n(85),L=new x.a,M=Object($.a)((function(){return Object(S.a)(new w.a((function(e){var t,n;try{for(var r=Object(g.i)(e),c=r.next();!c.done;c=r.next()){var a=c.value;L.next(a)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}})))})).pipe(Object(k.a)((function(e){return Object(O.a)(Object(S.a)(e),C.a).pipe(Object(T.a)((function(){return e.disconnect()})))})),Object(_.a)({bufferSize:1,refCount:!0}));function R(e){return M.pipe(Object(E.a)((function(t){return t.observe(e)})),Object(k.a)((function(t){return L.pipe(Object(A.a)((function(t){return t.target===e})),Object(T.a)((function(){return t.unobserve(e)})),Object(j.a)((function(e){var t=e.contentRect;return{width:t.width,height:t.height}})))})),Object(d.a)(function(e){return{width:e.offsetWidth,height:e.offsetHeight}}(e)))}var z=n(97);function P(e){switch(e.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return e.isContentEditable}}function H(){return Object(c.a)(window,"keydown").pipe(Object(A.a)((function(e){return!(e.metaKey||e.ctrlKey)})),Object(j.a)((function(e){return{type:e.key,claim:function(){e.preventDefault(),e.stopPropagation()}}})),Object(z.a)())}var I=n(86);function U(e){location.href=e.href}function q(e,t){return void 0===t&&(t=location),e.host===t.host&&/^(?:\/[\w-]+)*(?:\/?|\.html)$/i.test(e.pathname)}function N(e,t){return void 0===t&&(t=location),e.pathname===t.pathname&&e.hash.length>0}function D(){return new I.a(new URL(location.href))}var B=n(87);function Q(e,t){return t.location$.pipe(Object(B.a)(1),Object(j.a)((function(t){var n=t.href;return new URL(e,n).toString().replace(/\/$/,"")})),Object(_.a)({bufferSize:1,refCount:!0}))}function F(){return location.hash.substring(1)}function W(e){var t=s("a");t.href=e,t.addEventListener("click",(function(e){return e.stopPropagation()})),t.click()}function Y(){return Object(c.a)(window,"hashchange").pipe(Object(j.a)(F),Object(d.a)(F()),Object(A.a)((function(e){return e.length>0})),Object(z.a)())}var J=n(7);function K(e){var t=matchMedia(e);return new J.a((function(e){t.addListener((function(t){return e.next(t.matches)}))})).pipe(Object(d.a)(t.matches),Object(_.a)({bufferSize:1,refCount:!0}))}var X={drawer:u("[data-md-toggle=drawer]"),search:u("[data-md-toggle=search]")};function G(e){return X[e].checked}function V(e,t){X[e].checked!==t&&X[e].click()}function Z(e){var t=X[e];return Object(c.a)(t,"change").pipe(Object(j.a)((function(){return t.checked})),Object(d.a)(t.checked))}var ee=n(49),te=n(78);function ne(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function re(e){var t=e.x,n=e.y;window.scrollTo(t||0,n||0)}function ce(){return{width:innerWidth,height:innerHeight}}function ae(){return Object(ee.a)([Object(O.a)(Object(c.a)(window,"scroll",{passive:!0}),Object(c.a)(window,"resize",{passive:!0})).pipe(Object(j.a)(ne),Object(d.a)(ne())),Object(c.a)(window,"resize",{passive:!0}).pipe(Object(j.a)(ce),Object(d.a)(ce()))]).pipe(Object(j.a)((function(e){var t=Object(g.f)(e,2);return{offset:t[0],size:t[1]}})),Object(_.a)({bufferSize:1,refCount:!0}))}function ie(e,t){var n=t.header$,r=t.viewport$,c=r.pipe(Object(te.a)("size")),a=Object(ee.a)([c,n]).pipe(Object(j.a)((function(){return{x:e.offsetLeft,y:e.offsetTop}})));return Object(ee.a)([n,r,a]).pipe(Object(j.a)((function(e){var t=Object(g.f)(e,3),n=t[0].height,r=t[1],c=r.offset,a=r.size,i=t[2],o=i.x,u=i.y;return{offset:{x:c.x-o,y:c.y-u+n},size:a}})))}var oe=n(88),ue=n(89),be=n(90);function fe(e,t){var n=t.tx$,r=Object(c.a)(e,"message").pipe(Object(oe.a)("data"));return n.pipe(Object(ue.a)((function(){return r}),{leading:!0,trailing:!0}),Object(E.a)((function(t){return e.postMessage(t)})),Object(be.a)(r),Object(z.a)())}},function(e,t,n){"use strict";function r(e){return"object"==typeof e&&"string"==typeof e.base&&"object"==typeof e.features&&"object"==typeof e.search}n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return s})),n.d(t,"f",(function(){return j})),n.d(t,"g",(function(){return d})),n.d(t,"e",(function(){return p})),n.d(t,"c",(function(){return h}));var c=n(0);function a(e){switch(e){case"svg":case"path":return document.createElementNS("http://www.w3.org/2000/svg",e);default:return document.createElement(e)}}function i(e,t,n){switch(t){case"xmlns":break;case"viewBox":case"d":"boolean"!=typeof n?e.setAttributeNS(null,t,n):n&&e.setAttributeNS(null,t,"");break;default:"boolean"!=typeof n?e.setAttribute(t,n):n&&e.setAttribute(t,"")}}function o(e,t){var n,r;if("string"==typeof t||"number"==typeof t)e.innerHTML+=t.toString();else if(t instanceof Node)e.appendChild(t);else if(Array.isArray(t))try{for(var a=Object(c.i)(t),i=a.next();!i.done;i=a.next()){o(e,i.value)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}function u(e,t){for(var n,r,u,b,f=[],s=2;s<arguments.length;s++)f[s-2]=arguments[s];var l=a(e);if(t)try{for(var O=Object(c.i)(Object.keys(t)),j=O.next();!j.done;j=O.next()){var d=j.value;i(l,d,t[d])}}catch(e){n={error:e}}finally{try{j&&!j.done&&(r=O.return)&&r.call(O)}finally{if(n)throw n.error}}try{for(var p=Object(c.i)(f),h=p.next();!h.done;h=p.next()){var v=h.value;o(l,v)}}catch(e){u={error:e}}finally{try{h&&!h.done&&(b=p.return)&&b.call(p)}finally{if(u)throw u.error}}return l}var b=n(64),f=n(48);function s(e,t){return Object(b.a)((function(){var n=sessionStorage.getItem(e);if(n)return Object(f.a)(JSON.parse(n));var r=t();return r.subscribe((function(t){try{sessionStorage.setItem(e,JSON.stringify(t))}catch(e){}})),r}))}var l,O=n(1);function j(e,t){if(void 0===l){var n=Object(O.d)("#__lang");l=JSON.parse(n.textContent)}if(void 0===l[e])throw new ReferenceError("Invalid translation: "+e);return void 0!==t?l[e].replace("#",t.toString()):l[e]}function d(e,t){var n=t;if(e.length>n){for(;" "!==e[n]&&--n>0;);return e.substring(0,n)+"..."}return e}function p(e){return e>999?((e+1e-6)/1e3).toFixed(+((e-950)%1e3>99))+"k":e.toString()}function h(e){for(var t=0,n=0,r=e.length;n<r;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return t}},,,,,,,function(e,t,n){"use strict";var r=n(16);n.d(t,"setupComponents",(function(){return r.a})),n.d(t,"useComponent",(function(){return r.b}));var c=n(59);n.d(t,"mountHeader",(function(){return c.a}));var a=n(60);n.d(t,"mountMain",(function(){return a.a}));var i=n(50);n.d(t,"mountNavigation",(function(){return i.a}));var o=n(58);n.d(t,"mountSearch",(function(){return o.a})),n.d(t,"mountSearchQuery",(function(){return o.b})),n.d(t,"mountSearchReset",(function(){return o.c})),n.d(t,"mountSearchResult",(function(){return o.d}));var u=n(24);n.o(u,"mountTableOfContents")&&n.d(t,"mountTableOfContents",(function(){return u.mountTableOfContents})),n.o(u,"mountTabs")&&n.d(t,"mountTabs",(function(){return u.mountTabs}));var b=n(61);n.d(t,"mountTabs",(function(){return b.a}));var f=n(54);n.o(f,"mountTableOfContents")&&n.d(t,"mountTableOfContents",(function(){return f.mountTableOfContents}))},,,function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return P})),n.d(t,"h",(function(){return I})),n.d(t,"b",(function(){return U.b})),n.d(t,"i",(function(){return U.f})),n.d(t,"a",(function(){return U.a})),n.d(t,"c",(function(){return U.d})),n.d(t,"d",(function(){return U.e}));var r=n(47),c=n(84),a=n(7),i=n(97),o=n(67),u=n(83),b=n(1),f=n(25),s=n(2);function l(e){var t=e.document$,n=e.dialog$;if(!r.isSupported())return c.a;t.subscribe((function(){Object(b.e)("pre > code").forEach((function(e,t){var n=e.parentElement;n.id="__code_"+t,n.insertBefore(Object(f.a)(n.id),e)}))}));var l=new a.a((function(e){new r(".md-clipboard").on("success",(function(t){return e.next(t)}))})).pipe(Object(i.a)());return l.pipe(Object(o.a)((function(e){return e.clearSelection()})),Object(u.a)(Object(s.f)("clipboard.copied"))).subscribe(n),l}var O=n(34),j=n(48),d=n(70),p=n(19),h=n(21),v=n(11),m=n(69),y=n(101);function g(e){var t=(void 0===e?{}:e).duration,n=new O.a,r=Object(b.a)("div");return r.classList.add("md-dialog","md-typeset"),n.pipe(Object(h.a)((function(e){return Object(j.a)(document.body).pipe(Object(v.a)((function(e){return e.appendChild(r)})),Object(m.a)(d.a),Object(y.a)(1),Object(o.a)((function(t){t.innerHTML=e,t.setAttribute("data-md-state","open")})),Object(y.a)(t||2e3),Object(o.a)((function(e){return e.removeAttribute("data-md-state")})),Object(y.a)(400),Object(o.a)((function(e){e.innerHTML="",e.remove()})))}))).subscribe(p.a),n}var w=n(0),x=n(82),$=n(99),S=n(98),C=n(85),k=n(38),T=n(88),_=n(78),E=n(92),A=n(93),L=n(91),M=n(79),R=n(94),z=n(80);function P(e,t){var n=t.document$,r=t.viewport$,a=t.location$;"scrollRestoration"in history&&(history.scrollRestoration="manual"),Object(x.a)(window,"beforeunload").subscribe((function(){history.scrollRestoration="auto"}));var o=Object(b.c)('link[rel="shortcut icon"]');void 0!==o&&(o.href=o.href);var u=Object(x.a)(document.body,"click").pipe(Object(C.a)((function(e){return!(e.metaKey||e.ctrlKey)})),Object(h.a)((function(t){if(t.target instanceof HTMLElement){var n=t.target.closest("a");if(n&&!n.target&&Object(b.h)(n)&&e.includes(n.href))return Object(b.g)(n)||t.preventDefault(),Object(j.a)(n)}return c.a})),Object(v.a)((function(e){return{url:new URL(e.href)}})),Object(i.a)());u.subscribe((function(){Object(b.o)("search",!1)}));var f=u.pipe(Object(C.a)((function(e){var t=e.url;return!Object(b.g)(t)})),Object(i.a)()),s=Object(x.a)(window,"popstate").pipe(Object(C.a)((function(e){return null!==e.state})),Object(v.a)((function(e){return{url:new URL(location.href),offset:e.state}})),Object(i.a)());Object($.a)(f,s).pipe(Object(k.a)((function(e,t){return e.url.href===t.url.href})),Object(T.a)("url")).subscribe(a);var l=a.pipe(Object(_.a)("pathname"),Object(E.a)(1),Object(h.a)((function(e){return Object(S.a)({url:e.href,responseType:"text",withCredentials:!0}).pipe(Object(A.a)((function(){return Object(b.m)(e),c.a})))})),Object(i.a)());f.pipe(Object(L.a)(l)).subscribe((function(e){var t=e.url;history.pushState({},"",t.toString())}));var O=new DOMParser;l.pipe(Object(v.a)((function(e){var t=e.response;return O.parseFromString(t,"text/html")}))).subscribe(n);var d=Object($.a)(f,s).pipe(Object(L.a)(n));d.subscribe((function(e){var t=e.url,n=e.offset;t.hash&&!n?Object(b.n)(t.hash):Object(b.p)(n||{y:0})})),d.pipe(Object(M.a)(n)).subscribe((function(e){var t,n,r=Object(w.f)(e,2)[1],c=r.title,a=r.head;document.title=c;try{for(var i=Object(w.i)(['link[rel="canonical"]','meta[name="author"]','meta[name="description"]']),o=i.next();!o.done;o=i.next()){var u=o.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(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}document.dispatchEvent(new CustomEvent("DOMContentSwitch"))})),r.pipe(Object(R.a)(250),Object(_.a)("offset")).subscribe((function(e){var t=e.offset;history.replaceState(t,"")})),Object($.a)(u,s).pipe(Object(z.a)(2,1),Object(C.a)((function(e){var t=Object(w.f)(e,2),n=t[0],r=t[1];return n.url.pathname===r.url.pathname&&!Object(b.g)(r.url)})),Object(v.a)((function(e){return Object(w.f)(e,2)[1]}))).subscribe((function(e){var t=e.offset;Object(b.p)(t||{y:0})}))}var H=n(9);function I(){var e=Object(b.u)().pipe(Object(v.a)((function(e){return Object(w.a)({mode:Object(b.f)("search")?"search":"global"},e)})),Object(C.a)((function(e){if("global"===e.mode){var t=Object(b.b)();if(void 0!==t)return!Object(b.i)(t)}return!0})),Object(i.a)());return e.pipe(Object(C.a)((function(e){return"search"===e.mode})),Object(M.a)(Object(H.useComponent)("search-query"),Object(H.useComponent)("search-result"))).subscribe((function(e){var t=Object(w.f)(e,3),n=t[0],r=t[1],c=t[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 i=Object(w.g)([r],Object(b.e)(":not(details) > [href], summary, details[open] [href]",c)),o=Math.max(0,(Math.max(0,i.indexOf(a))+i.length+("ArrowUp"===n.type?-1:1))%i.length);Object(b.k)(i[o])}n.claim();break;default:r!==Object(b.b)()&&Object(b.k)(r)}})),e.pipe(Object(C.a)((function(e){return"global"===e.mode})),Object(M.a)(Object(H.useComponent)("search-query"))).subscribe((function(e){var t=Object(w.f)(e,2),n=t[0],r=t[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()}})),e}var U=n(37)},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return j}));var r,c=n(0),a=n(48),i=n(27),o=n(11),u=n(68),b=n(77),f=n(21),s=n(38),l=n(1);function O(e,t){var n=t.document$;r=n.pipe(Object(o.a)((function(t){return e.reduce((function(e,n){var r,a=Object(l.c)("[data-md-component="+n+"]",t);return Object(c.a)(Object(c.a)({},e),void 0!==a?((r={})[n]=a,r):{})}),{})})),Object(u.a)((function(t,n){var r,a;try{for(var i=Object(c.i)(e),o=i.next();!o.done;o=i.next()){var u=o.value;switch(u){case"announce":case"header-title":case"container":case"skip":u in t&&void 0!==t[u]&&(Object(l.j)(t[u],n[u]),t[u]=n[u]);break;default:void 0!==n[u]?t[u]=Object(l.c)("[data-md-component="+u+"]"):delete t[u]}}}catch(e){r={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(r)throw r.error}}return t})),Object(b.a)({bufferSize:1,refCount:!0}))}function j(e){return r.pipe(Object(f.a)((function(t){return void 0!==t[e]?Object(a.a)(t[e]):i.a})),Object(s.a)())}},,,,function(e,t,n){"use strict";function r(e,t){e.setAttribute("data-md-state",t?"blur":"")}function c(e){e.removeAttribute("data-md-state")}function a(e,t){e.classList.toggle("md-nav__link--active",t)}function i(e){e.classList.remove("md-nav__link--active")}n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}))},,,,function(e,t,n){"use strict";var r=n(51);n.o(r,"applySidebar")&&n.d(t,"applySidebar",(function(){return r.applySidebar})),n.o(r,"mountTableOfContents")&&n.d(t,"mountTableOfContents",(function(){return r.mountTableOfContents})),n.o(r,"mountTabs")&&n.d(t,"mountTabs",(function(){return r.mountTabs})),n.o(r,"watchSidebar")&&n.d(t,"watchSidebar",(function(){return r.watchSidebar}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return x}));var r=n(2),c="md-clipboard md-icon";function a(e){return Object(r.b)("button",{class:c,title:Object(r.f)("clipboard.copy"),"data-clipboard-target":"#"+e+" > code"})}var i=n(0),o="md-search-result__item",u="md-search-result__link",b="md-search-result__more",f="md-search-result__article md-search-result__article--document",s="md-search-result__article",l="md-search-result__title",O="md-search-result__teaser",j="md-search-result__terms";function d(e,t){var n=e.location,c=e.title,a=e.text,o=e.terms,b=e.score,s=Object.keys(o).reduce((function(e,t){return Object(i.g)(e,o[t]?[]:[Object(r.b)("del",null,t)," "])}),[]);return Object(r.b)("a",{href:n.toString().replace(/%20/g,"+"),class:u,tabIndex:-1},Object(r.b)("article",{class:f,"data-md-score":b.toFixed(2)},Object(r.b)("div",{class:"md-search-result__icon md-icon"}),Object(r.b)("h1",{class:l},c),t&&a.length>0&&Object(r.b)("p",{class:O},Object(r.g)(a,320)),t&&s.length>0&&Object(r.b)("p",{class:j},Object(r.f)("search.result.term.missing"),": ",s.slice(0,-1))))}function p(e){var t=e.location,n=e.title,c=e.text,a=e.terms,o=e.score,b=Object.keys(a).reduce((function(e,t){return Object(i.g)(e,a[t]?[]:[Object(r.b)("del",null,t)," "])}),[]);return Object(r.b)("a",{href:t.toString().replace(/%20/g,"+"),class:u,tabIndex:-1},Object(r.b)("article",{class:s,"data-md-score":o.toFixed(2)},Object(r.b)("h1",{class:l},n),c.length>0&&Object(r.b)("p",{class:O},Object(r.g)(c,320)),b.length>0&&Object(r.b)("p",{class:j},Object(r.f)("search.result.term.missing"),": ",b.slice(0,-1))))}function h(e,t){void 0===t&&(t=1/0);var n=Object(i.g)(e),c=n.findIndex((function(e){return!e.location.includes("#")})),a=Object(i.f)(n.splice(c,1),1)[0],u=n.findIndex((function(e){return e.score<t}));-1===u&&(u=n.length);var f=n.slice(0,u),s=n.slice(u),l=Object(i.g)([d(a,!c&&0===u)],f.map(p),s.length?[Object(r.b)("details",{class:b},Object(r.b)("summary",{tabIndex:-1},s.length>0&&1===s.length?Object(r.f)("search.result.more.one"):Object(r.f)("search.result.more.other",s.length)),s.map(p))]:[]);return Object(r.b)("li",{class:o},l)}var v="md-source__facts",m="md-source__fact";function y(e){var t=e.map((function(e){return Object(r.b)("li",{class:m},e)}));return Object(r.b)("ul",{class:v},t)}var g="md-typeset__scrollwrap",w="md-typeset__table";function x(e){return Object(r.b)("div",{class:g},Object(r.b)("div",{class:w},e))}},,,function(e,t,n){"use strict";function r(e,t){e.style.top=t+"px"}function c(e){e.style.top=""}function a(e,t){e.style.height=t+"px"}function i(e){e.style.height=""}n.d(t,"d",(function(){return r})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}))},,,,,,,,function(e,t,n){"use strict";var r=n(56);n.o(r,"applyAnchorList")&&n.d(t,"applyAnchorList",(function(){return r.applyAnchorList})),n.o(r,"watchAnchorList")&&n.d(t,"watchAnchorList",(function(){return r.watchAnchorList}));var c=n(57);n.d(t,"applyAnchorList",(function(){return c.a})),n.d(t,"watchAnchorList",(function(){return c.b}));n(20)},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"f",(function(){return h})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return j})),n.d(t,"c",(function(){return d})),n.d(t,"e",(function(){return p}));var r=n(0),c=n(65);function a(e){return e.split(/"([^"]+)"/g).map((function(e,t){return 1&t?e.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):e})).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}!function(){function e(e){var t=e.config,n=e.docs,a=e.pipeline,i=e.index;this.documents=function(e){var t,n,a=new Map,i=new Set;try{for(var o=Object(r.i)(e),u=o.next();!u.done;u=o.next()){var b=u.value,f=Object(r.f)(b.location.split("#"),2),s=f[0],l=f[1],O=b.location,j=b.title,d=c(b.text).replace(/\s+(?=[,.:;!?])/g,"").replace(/\s+/g," ");if(l){var p=a.get(s);i.has(p)?a.set(O,{location:O,title:j,text:d,parent:p}):(p.title=b.title,p.text=d,i.add(p))}else a.set(O,{location:O,title:j,text:d})}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return a}(n),this.highlight=function(e){var t=new RegExp(e.separator,"img"),n=function(e,t,n){return t+"<mark data-md-highlight>"+n+"</mark>"};return function(r){r=r.replace(/[\s*+\-:~^]+/g," ").trim();var c=new RegExp("(^|"+e.separator+")("+r.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(t,"|")+")","img");return function(e){return e.replace(c,n).replace(/<\/mark>(\s+)<mark[^>]*>/gim,"$1")}}}(t),lunr.tokenizer.separator=new RegExp(t.separator),this.index=void 0===i?lunr((function(){var e,c,i,o,u,b,f;1===t.lang.length&&"en"!==t.lang[0]?this.use(lunr[t.lang[0]]):t.lang.length>1&&this.use((e=lunr).multiLanguage.apply(e,Object(r.g)(t.lang)));var s=function(e,t){var n=Object(r.f)([new Set(e),new Set(t)],2),c=n[0],a=n[1];return Object(r.g)(new Set(Object(r.g)(c).filter((function(e){return!a.has(e)}))))}(["trimmer","stopWordFilter","stemmer"],a);try{for(var l=Object(r.i)(t.lang.map((function(e){return"en"===e?lunr:lunr[e]}))),O=l.next();!O.done;O=l.next()){var j=O.value;try{for(var d=(o=void 0,Object(r.i)(s)),p=d.next();!p.done;p=d.next()){var h=p.value;this.pipeline.remove(j[h]),this.searchPipeline.remove(j[h])}}catch(e){o={error:e}}finally{try{p&&!p.done&&(u=d.return)&&u.call(d)}finally{if(o)throw o.error}}}}catch(e){c={error:e}}finally{try{O&&!O.done&&(i=l.return)&&i.call(l)}finally{if(c)throw c.error}}this.field("title",{boost:1e3}),this.field("text"),this.ref("location");try{for(var v=Object(r.i)(n),m=v.next();!m.done;m=v.next()){var y=m.value;this.add(y)}}catch(e){b={error:e}}finally{try{m&&!m.done&&(f=v.return)&&f.call(v)}finally{if(b)throw b.error}}})):lunr.Index.load("string"==typeof i?JSON.parse(i):i)}e.prototype.search=function(e){var t=this;if(e)try{var n=this.highlight(e),c=function(e){var t=new lunr.Query(["title","text"]);return new lunr.QueryParser(e,t).parse(),t.clauses}(e).filter((function(e){return e.presence!==lunr.Query.presence.PROHIBITED})),a=this.index.search(e+"*").reduce((function(e,a){var i=a.ref,o=a.score,u=a.matchData,b=t.documents.get(i);if(void 0!==b){var f=b.location,s=b.title,l=b.text,O=b.parent,j=function(e,t){for(var n,c,a,i,o=new Set(e),u={},b=0;b<t.length;b++)try{for(var f=(n=void 0,Object(r.i)(o)),s=f.next();!s.done;s=f.next()){var l=s.value;t[b].startsWith(l.term)&&(u[l.term]=!0,o.delete(l))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(c=f.return)&&c.call(f)}finally{if(n)throw n.error}}try{for(var O=Object(r.i)(o),j=O.next();!j.done;j=O.next()){u[(l=j.value).term]=!1}}catch(e){a={error:e}}finally{try{j&&!j.done&&(i=O.return)&&i.call(O)}finally{if(a)throw a.error}}return u}(c,Object.keys(u.metadata)),d=+!O+ +Object.values(j).every((function(e){return e}));e.push({location:f,title:n(s),text:n(l),score:o*(1+d),terms:j})}return e}),[]).sort((function(e,t){return t.score-e.score})).reduce((function(e,n){var c=t.documents.get(n.location);if(void 0!==c){var a="parent"in c?c.parent.location:c.location;e.set(a,Object(r.g)(e.get(a)||[],[n]))}return e}),new Map);return Object(r.g)(a.values())}catch(t){console.warn("Invalid query: "+e+" – see https://bit.ly/2s3ChXG")}return[]}}();var i,o=n(34),u=n(43),b=n(79),f=n(11),s=n(97),l=n(69),O=n(1);function j(e){return e.type===i.READY}function d(e){return e.type===i.QUERY}function p(e){return e.type===i.RESULT}function h(e,t){var n=t.index$,c=t.base$,a=new Worker(e),j=new o.a,d=Object(O.C)(a,{tx$:j}).pipe(Object(b.a)(c),Object(f.a)((function(e){var t,n,c,a,i=Object(r.f)(e,2),o=i[0],u=i[1];if(p(o))try{for(var b=Object(r.i)(o.data),f=b.next();!f.done;f=b.next()){var s=f.value;try{for(var l=(c=void 0,Object(r.i)(s)),O=l.next();!O.done;O=l.next()){var j=O.value;j.location=u+"/"+j.location}}catch(e){c={error:e}}finally{try{O&&!O.done&&(a=l.return)&&a.call(l)}finally{if(c)throw c.error}}}}catch(e){t={error:e}}finally{try{f&&!f.done&&(n=b.return)&&n.call(b)}finally{if(t)throw t.error}}return o})),Object(s.a)());return n.pipe(Object(f.a)((function(e){return{type:i.SETUP,data:e}})),Object(l.a)(u.a)).subscribe(j.next.bind(j)),{tx$:j,rx$:d}}!function(e){e[e.SETUP=0]="SETUP",e[e.READY=1]="READY",e[e.QUERY=2]="QUERY",e[e.RESULT=3]="RESULT"}(i||(i={}))},,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(35),c=n(48),a=n(21),i=n(11),o=n(24);function u(e){var t=e.header$,n=e.main$,u=e.viewport$,b=e.screen$;return Object(r.a)(Object(a.a)((function(e){return b.pipe(Object(a.a)((function(r){return r?Object(o.watchSidebar)(e,{main$:n,viewport$:u}).pipe(Object(o.applySidebar)(e,{header$:t}),Object(i.a)((function(e){return{sidebar:e}}))):Object(c.a)({})})))})))}},function(e,t,n){"use strict";var r=n(52);n.o(r,"applySidebar")&&n.d(t,"applySidebar",(function(){return r.applySidebar})),n.o(r,"mountTableOfContents")&&n.d(t,"mountTableOfContents",(function(){return r.mountTableOfContents})),n.o(r,"mountTabs")&&n.d(t,"mountTabs",(function(){return r.mountTabs})),n.o(r,"watchSidebar")&&n.d(t,"watchSidebar",(function(){return r.watchSidebar}));var c=n(53);n.d(t,"applySidebar",(function(){return c.a})),n.d(t,"watchSidebar",(function(){return c.b}));n(28)},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return d}));var r=n(0),c=n(49),a=n(35),i=n(70),o=n(11),u=n(38),b=n(69),f=n(79),s=n(67),l=n(66),O=n(28);function j(e,t){var n=t.main$,a=t.viewport$,i=e.parentElement.offsetTop-e.parentElement.parentElement.offsetTop;return Object(c.a)([n,a]).pipe(Object(o.a)((function(e){var t=Object(r.f)(e,2),n=t[0],c=n.offset,a=n.height,o=t[1].offset.y;return{height:a=a+Math.min(i,Math.max(0,o-c))-i,lock:o>=c+i}})),Object(u.a)((function(e,t){return e.height===t.height&&e.lock===t.lock})))}function d(e,t){var n=t.header$;return Object(a.a)(Object(b.a)(i.a),Object(f.a)(n),Object(s.a)((function(t){var n=Object(r.f)(t,2),c=n[0],a=c.height,i=c.lock,o=n[1].height;Object(O.c)(e,a),i?Object(O.d)(e,o):Object(O.b)(e)})),Object(o.a)((function(e){return Object(r.f)(e,1)[0]})),Object(l.a)((function(){Object(O.b)(e),Object(O.a)(e)})))}},function(e,t,n){"use strict";var r=n(55);n.d(t,"mountTableOfContents",(function(){return r.a}));n(36)},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),c=n(35),a=n(49),i=n(48),o=n(21),u=n(11),b=n(1),f=n(24),s=n(36);function l(e){var t=e.header$,n=e.main$,l=e.viewport$,O=e.tablet$;return Object(c.a)(Object(o.a)((function(e){return O.pipe(Object(o.a)((function(c){if(c){var o=Object(b.e)(".md-nav__link",e),O=Object(f.watchSidebar)(e,{main$:n,viewport$:l}).pipe(Object(f.applySidebar)(e,{header$:t})),j=Object(s.watchAnchorList)(o,{header$:t,viewport$:l}).pipe(Object(s.applyAnchorList)(o));return Object(a.a)([O,j]).pipe(Object(u.a)((function(e){var t=Object(r.f)(e,2);return{sidebar:t[0],anchors:t[1]}})))}return Object(i.a)({})})))})))}},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return y}));var r=n(0),c=n(49),a=n(35),i=n(70),o=n(11),u=n(78),b=n(21),f=n(68),s=n(38),l=n(81),O=n(80),j=n(69),d=n(67),p=n(66),h=n(1),v=n(20);function m(e,t){var n,a,i=t.header$,j=t.viewport$,d=new Map;try{for(var p=Object(r.i)(e),v=p.next();!v.done;v=p.next()){var m=v.value,y=decodeURIComponent(m.hash.substring(1)),g=Object(h.c)('[id="'+y+'"]');void 0!==g&&d.set(m,g)}}catch(e){n={error:e}}finally{try{v&&!v.done&&(a=p.return)&&a.call(p)}finally{if(n)throw n.error}}var w=i.pipe(Object(o.a)((function(e){return 18+e.height})));return Object(h.t)(document.body).pipe(Object(u.a)("height"),Object(o.a)((function(){var e=[];return Object(r.g)(d).reduce((function(t,n){for(var c=Object(r.f)(n,2),a=c[0],i=c[1];e.length;){if(!(d.get(e[e.length-1]).tagName>=i.tagName))break;e.pop()}for(var o=i.offsetTop;!o&&i.parentElement;)o=(i=i.parentElement).offsetTop;return t.set(Object(r.g)(e=Object(r.g)(e,[a])).reverse(),o)}),new Map)})),Object(b.a)((function(e){return Object(c.a)([w,j]).pipe(Object(f.a)((function(e,t){for(var n=Object(r.f)(e,2),c=n[0],a=n[1],i=Object(r.f)(t,2),o=i[0],u=i[1].offset.y;a.length;){if(!(Object(r.f)(a[0],2)[1]-o<u))break;c=Object(r.g)(c,[a.shift()])}for(;c.length;){if(!(Object(r.f)(c[c.length-1],2)[1]-o>=u))break;a=Object(r.g)([c.pop()],a)}return[c,a]}),[[],Object(r.g)(e)]),Object(s.a)((function(e,t){return e[0]===t[0]&&e[1]===t[1]})))}))).pipe(Object(o.a)((function(e){var t=Object(r.f)(e,2),n=t[0],c=t[1];return{prev:n.map((function(e){return Object(r.f)(e,1)[0]})),next:c.map((function(e){return Object(r.f)(e,1)[0]}))}})),Object(l.a)({prev:[],next:[]}),Object(O.a)(2,1),Object(o.a)((function(e){var t=Object(r.f)(e,2),n=t[0],c=t[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 y(e){return Object(a.a)(Object(j.a)(i.a),Object(d.a)((function(e){var t,n,c=e.prev,a=e.next;try{for(var i=Object(r.i)(a),o=i.next();!o.done;o=i.next()){var u=Object(r.f)(o.value,1)[0];Object(v.a)(u),Object(v.b)(u)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}c.forEach((function(e,t){var n=Object(r.f)(e,1)[0];Object(v.c)(n,t===c.length-1),Object(v.d)(n,!0)}))})),Object(p.a)((function(){var t,n;try{for(var c=Object(r.i)(e),a=c.next();!a.done;a=c.next()){var i=a.value;Object(v.a)(i),Object(v.b)(i)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return C})),n.d(t,"d",(function(){return H}));var r=n(0),c=n(35),a=n(49),i=n(21),o=n(85),u=n(83),b=n(81),f=n(91),s=n(87),l=n(11),O=n(37);function j(e,t){var n=e.rx$,j=e.tx$,d=t.query$,p=t.reset$,h=t.result$;return Object(c.a)(Object(i.a)((function(){var e=n.pipe(Object(o.a)(O.d),Object(u.a)("ready"),Object(b.a)("waiting"));return j.pipe(Object(o.a)(O.c),Object(f.a)(e),Object(s.a)(1)).subscribe(j.next.bind(j)),Object(a.a)([e,d,h,p]).pipe(Object(l.a)((function(e){var t=Object(r.f)(e,3);return{status:t[0],query:t[1],result:t[2]}})))})))}var d=n(78),p=n(1),h=n(12),v=n(99),m=n(82),y=n(101),g=n(38);function w(e,t){var n=e.tx$;return void 0===t&&(t={}),Object(c.a)(Object(i.a)((function(e){var c=function(e,t){var n=(void 0===t?{}:t).transform||h.b,c=Object(v.a)(Object(m.a)(e,"keyup"),Object(m.a)(e,"focus").pipe(Object(y.a)(1))).pipe(Object(l.a)((function(){return n(e.value)})),Object(b.a)(n(e.value)),Object(g.a)()),i=Object(p.r)(e);return Object(a.a)([c,i]).pipe(Object(l.a)((function(e){var t=Object(r.f)(e,2);return{value:t[0],focus:t[1]}})))}(e,t);return c.pipe(Object(d.a)("value"),Object(l.a)((function(e){var t=e.value;return{type:h.a.QUERY,data:t}}))).subscribe(n.next.bind(n)),c.pipe(Object(d.a)("focus")).subscribe((function(e){var t=e.focus;t&&Object(p.o)("search",t)})),c})))}var x=n(90),$=n(67),S=n(16);function C(){return Object(c.a)(Object(i.a)((function(e){return function(e){return Object(m.a)(e,"click").pipe(Object(u.a)(void 0))}(e).pipe(Object(x.a)(Object(S.b)("search-query")),Object($.a)(p.k),Object(u.a)(void 0))})),Object(b.a)(void 0))}var k=n(88),T=n(70),_=n(79),E=n(69),A=n(68),L=n(66),M=n(25),R=n(2);function z(e,t){e.appendChild(t)}function P(e,t){var n=t.query$,a=t.ready$,o=t.fetch$,b=Object(p.d)(".md-search-result__list",e),f=Object(p.d)(".md-search-result__meta",e);return Object(c.a)(Object(_.a)(n,a),Object(l.a)((function(e){var t=Object(r.f)(e,2),n=t[0];return t[1].value?function(e,t){switch(t){case 0:e.textContent=Object(R.f)("search.result.none");break;case 1:e.textContent=Object(R.f)("search.result.one");break;default:e.textContent=Object(R.f)("search.result.other",t)}}(f,n.length):function(e){e.textContent=Object(R.f)("search.result.placeholder")}(f),n})),Object(i.a)((function(t){var n=Object(r.g)(t.map((function(e){return Object(r.f)(e,1)[0].score})),[0]);return o.pipe(Object(E.a)(T.a),Object(A.a)((function(r){for(var c=e.parentElement;r<t.length&&(z(b,Object(M.b)(t[r++],n[r])),!(c.scrollHeight-c.offsetHeight>16)););return r}),0),Object(u.a)(t),Object(L.a)((function(){!function(e){e.innerHTML=""}(b)})))})))}function H(e,t){var n=e.rx$,r=t.query$;return Object(c.a)(Object(i.a)((function(e){var t=e.parentElement,c=n.pipe(Object(o.a)(h.c),Object(u.a)(!0)),a=Object(p.s)(t).pipe(Object(l.a)((function(e){return e.y>=t.scrollHeight-t.offsetHeight-16})),Object(g.a)(),Object(o.a)(Boolean));return n.pipe(Object(o.a)(h.d),Object(k.a)("data"),P(e,{query$:r,ready$:c,fetch$:a}),Object(b.a)([]))})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var r=n(0),c=n(35),a=n(49),i=n(21),o=n(11),u=n(85),b=n(100),f=n(38),s=n(81),l=n(1),O=n(16),j=n(48),d=n(70),p=n(77),h=n(69),v=n(67),m=n(66);function y(e){var t=e.document$,n=e.viewport$;return Object(c.a)(Object(i.a)((function(e){var y=function(e,t){return t.document$.pipe(Object(o.a)((function(){var t=getComputedStyle(e);return["sticky","-webkit-sticky"].includes(t.position)})),Object(f.a)(),Object(i.a)((function(t){return t?Object(l.t)(e).pipe(Object(o.a)((function(e){return{sticky:!0,height:e.height}}))):Object(j.a)({sticky:!1,height:0})})),Object(p.a)({bufferSize:1,refCount:!0}))}(e,{document$:t}),g=Object(O.b)("main").pipe(Object(o.a)((function(e){return Object(l.c)("h1, h2, h3, h4, h5, h6",e)})),Object(u.a)((function(e){return void 0!==e})),Object(b.a)(Object(O.b)("header-title")),Object(i.a)((function(e){var t=Object(r.f)(e,2),a=t[0],i=t[1];return Object(l.B)(a,{header$:y,viewport$:n}).pipe(Object(o.a)((function(e){return e.offset.y>=a.offsetHeight?"page":"site"})),Object(f.a)(),function(e){return Object(c.a)(Object(h.a)(d.a),Object(v.a)((function(t){!function(e,t){e.setAttribute("data-md-state",t?"active":"")}(e,"page"===t)})),Object(m.a)((function(){!function(e){e.removeAttribute("data-md-state")}(e)})))}(i))})),Object(s.a)("site"));return Object(a.a)([y,g]).pipe(Object(o.a)((function(e){var t=Object(r.f)(e,2),n=t[0],c=t[1];return Object(r.a)({type:c},n)})))})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(34),c=n(19),a=n(35),i=n(21),o=n(78),u=n(67),b=n(66),f=n(16),s=n(0),l=n(49),O=n(70),j=n(88),d=n(38),p=n(11),h=n(69),v=n(1);function m(e){var t=e.header$,n=e.viewport$,m=new r.a;return Object(f.b)("header").pipe(Object(i.a)((function(e){return m.pipe(Object(o.a)("active"),(t=e,Object(a.a)(Object(h.a)(O.a),Object(u.a)((function(e){var n=e.active;!function(e,t){e.setAttribute("data-md-state",t?"shadow":"")}(t,n)})),Object(b.a)((function(){!function(e){e.removeAttribute("data-md-state")}(t)})))));var t}))).subscribe(c.a),Object(a.a)(Object(i.a)((function(e){return function(e,t){var n=t.header$,r=t.viewport$,c=n.pipe(Object(j.a)("height"),Object(d.a)()),a=c.pipe(Object(i.a)((function(){return Object(v.t)(e).pipe(Object(p.a)((function(t){var n=t.height;return{top:e.offsetTop,bottom:e.offsetTop+n}})),Object(o.a)("bottom"))})));return Object(l.a)([c,a,r]).pipe(Object(p.a)((function(e){var t=Object(s.f)(e,3),n=t[0],r=t[1],c=r.top,a=r.bottom,i=t[2],o=i.offset.y,u=i.size.height;return{offset:c-n,height:u=Math.max(0,u-Math.max(0,c-o,n)-Math.max(0,u+o-a)),active:c-n<=o}})),Object(d.a)((function(e,t){return e.offset===t.offset&&e.height===t.height&&e.active===t.active})))}(e,{header$:t,viewport$:n})})),Object(u.a)((function(e){return m.next(e)})),Object(b.a)((function(){return m.complete()})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n(35),c=n(48),a=n(21),i=n(11),o=n(78),u=n(1),b=n(70),f=n(69),s=n(67),l=n(66);function O(e){var t=e.header$,n=e.viewport$,O=e.screen$;return Object(r.a)(Object(a.a)((function(e){return O.pipe(Object(a.a)((function(a){return a?Object(u.B)(e,{header$:t,viewport$:n}).pipe(Object(i.a)((function(e){return{hidden:e.offset.y>=10}})),Object(o.a)("hidden"),function(e){return Object(r.a)(Object(f.a)(b.a),Object(s.a)((function(t){var n=t.hidden;!function(e,t){e.setAttribute("data-md-state",t?"hidden":"")}(e,n)})),Object(l.a)((function(){!function(e){e.removeAttribute("data-md-state")}(e)})))}(e)):Object(c.a)({hidden:!0})})))})))}},,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"setScrollLock",(function(){return q})),n.d(t,"resetScrollLock",(function(){return N})),n.d(t,"initialize",(function(){return B}));var r=n(0),c=(n(71),n(64)),a=n(10),i=n(48),o=n(84),u=n(49),b=n(70),f=n(82),s=n(99),l=n(98),O=n(77),j=n(21),d=n(88),p=n(11),h=n(93),v=n(67),m=n(101),y=n(79),g=n(69),w=n(85),x=n(87),$=n(1),S=n(9),C=n(12),k=n(78);var T=n(90);var _=n(7),E=n(27),A=n(19),L=n(92),M=n(95);var R=n(96),z=n(83);function P(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}var H=n(25),I=n(2);function U(e){switch(Object(r.f)(e.match(/(git(?:hub|lab))/i)||[],1)[0].toLowerCase()){case"github":var t=Object(r.f)(e.match(/^.+github\.com\/([^\/]+)\/?([^\/]+)?/i),3);return function(e,t){return Object(l.a)({url:void 0!==t?"https://api.github.com/repos/"+e+"/"+t:"https://api.github.com/users/"+e,responseType:"json"}).pipe(Object(w.a)((function(e){return 200===e.status})),Object(d.a)("response"),Object(p.a)((function(e){if(void 0!==t){var n=e.stargazers_count,r=e.forks_count;return[Object(I.e)(n||0)+" Stars",Object(I.e)(r||0)+" Forks"]}var c=e.public_repos;return[Object(I.e)(c||0)+" Repositories"]})))}(t[1],t[2]);case"gitlab":var n=Object(r.f)(e.match(/^.+?([^\/]*gitlab[^\/]+)\/(.+?)\/?$/i),3);return function(e,t){return Object(l.a)({url:"https://"+e+"/api/v4/projects/"+encodeURIComponent(t),responseType:"json"}).pipe(Object(w.a)((function(e){return 200===e.status})),Object(d.a)("response"),Object(p.a)((function(e){var t=e.star_count,n=e.forks_count;return[Object(I.e)(t)+" Stars",Object(I.e)(n)+" Forks"]})))}(n[1],n[2]);default:return o.a}}function q(e,t){e.setAttribute("data-md-state","lock"),e.style.top="-"+t+"px"}function N(e){var t=-1*parseInt(e.style.top,10);e.removeAttribute("data-md-state"),e.style.top="",t&&window.scrollTo(0,t)}function D(e){var t=e.config,n=e.docs,r=e.index;return 1===t.lang.length&&"en"===t.lang[0]&&(t.lang=[Object(I.f)("search.config.lang")]),"[\\s\\-]+"===t.separator&&(t.separator=Object(I.f)("search.config.separator")),{config:t,docs:n,index:r,pipeline:Object(I.f)("search.config.pipeline").split(/\s*,\s*/).filter(Boolean)}}function B(e){if(!Object(I.d)(e))throw new SyntaxError("Invalid configuration: "+JSON.stringify(e));var t=Object($.q)(),n=Object($.v)(),B=Object($.w)(e.base,{location$:n}),Q=Object($.x)(),F=Object($.A)(),W=Object($.y)("(min-width: 960px)"),Y=Object($.y)("(min-width: 1220px)");Object(S.setupComponents)(["announce","container","header","header-title","main","navigation","search","search-query","search-reset","search-result","skip","tabs","toc"],{document$:t});var J=Object(C.h)();matchMedia("(hover)").matches&&function(e){var t=e.document$,n=e.viewport$,c=t.pipe(Object(p.a)((function(){return Object($.e)("pre > code")}))),a=n.pipe(Object(k.a)("size"));Object(u.a)([c,a]).subscribe((function(e){var t,n,c=Object(r.f)(e,1)[0];try{for(var a=Object(r.i)(c),i=a.next();!i.done;i=a.next()){var o=i.value;o.scrollWidth>o.clientWidth?o.setAttribute("tabindex","0"):o.removeAttribute("tabindex")}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}}))}({document$:t,viewport$:F}),function(e){var t=e.document$,n=e.hash$,c=t.pipe(Object(p.a)((function(){return Object($.e)("details")})));Object(s.a)(Object($.y)("print").pipe(Object(w.a)(Boolean)),Object(f.a)(window,"beforeprint")).pipe(Object(T.a)(c)).subscribe((function(e){var t,n;try{for(var c=Object(r.i)(e),a=c.next();!a.done;a=c.next()){a.value.setAttribute("open","")}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}})),n.pipe(Object(p.a)((function(e){return Object($.c)('[id="'+e+'"]')})),Object(w.a)((function(e){return void 0!==e})),Object(v.a)((function(e){var t=e.closest("details");t&&!t.open&&t.setAttribute("open","")}))).subscribe((function(e){return e.scrollIntoView()}))}({document$:t,hash$:Q}),{document$:t}.document$.pipe(Object(L.a)(1),Object(y.a)(Object(S.useComponent)("container")),Object(p.a)((function(e){var t=Object(r.f)(e,2)[1];return Object($.e)("script",t)}))).pipe(Object(j.a)((function(e){return i.a.apply(void 0,Object(r.g)(e))})),Object(M.a)((function(e){var t=Object($.a)("script");return e.src?(t.src=e.src,Object($.j)(e,t),new _.a((function(e){t.onload=function(){return e.complete()}}))):(t.textContent=e.textContent,Object($.j)(e,t),E.a)}))).subscribe(A.a),function(e){e.document$.pipe(Object(p.a)((function(){return Object($.d)(".md-source[href]")})),Object(j.a)((function(e){var t=e.href;return Object(I.a)(""+Object(I.c)(t),(function(){return U(t)}))})),Object(h.a)((function(){return o.a}))).subscribe((function(e){var t,n;try{for(var c=Object(r.i)(Object($.e)(".md-source__repository")),a=c.next();!a.done;a=c.next()){var i=a.value;i.hasAttribute("data-md-state")||(i.setAttribute("data-md-state","done"),i.appendChild(Object(H.c)(e)))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}}))}({document$:t}),function(e){var t=e.document$,n=Object($.a)("table");t.pipe(Object(p.a)((function(){return Object($.e)("table:not([class])")}))).subscribe((function(e){var t,c;try{for(var a=Object(r.i)(e),i=a.next();!i.done;i=a.next()){var o=i.value;Object($.j)(o,n),Object($.j)(n,Object(H.d)(o))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(c=a.return)&&c.call(a)}finally{if(t)throw t.error}}}))}({document$:t}),function(e){var t=e.document$.pipe(Object(p.a)((function(){return Object($.e)("[data-md-scrollfix]")})),Object(O.a)({bufferSize:1,refCount:!0}));t.subscribe((function(e){var t,n;try{for(var c=Object(r.i)(e),a=c.next();!a.done;a=c.next()){a.value.removeAttribute("data-md-scrollfix")}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}})),Object(R.a)(P,t,o.a).pipe(Object(j.a)((function(e){return s.a.apply(void 0,Object(r.g)(e.map((function(e){return Object(f.a)(e,"touchstart").pipe(Object(z.a)(e))}))))}))).subscribe((function(e){var t=e.scrollTop;0===t?e.scrollTop=1:t+e.offsetHeight===e.scrollHeight&&(e.scrollTop=t-1)}))}({document$:t});var K=Object(C.f)(),X=Object(C.e)({document$:t,dialog$:K}),G=Object(S.useComponent)("header").pipe(Object(S.mountHeader)({document$:t,viewport$:F}),Object(O.a)({bufferSize:1,refCount:!0})),V=Object(S.useComponent)("main").pipe(Object(S.mountMain)({header$:G,viewport$:F}),Object(O.a)({bufferSize:1,refCount:!0})),Z=Object(S.useComponent)("navigation").pipe(Object(S.mountNavigation)({header$:G,main$:V,viewport$:F,screen$:Y}),Object(O.a)({bufferSize:1,refCount:!0})),ee=Object(S.useComponent)("toc").pipe(Object(S.mountTableOfContents)({header$:G,main$:V,viewport$:F,tablet$:W}),Object(O.a)({bufferSize:1,refCount:!0})),te=Object(S.useComponent)("tabs").pipe(Object(S.mountTabs)({header$:G,viewport$:F,screen$:Y}),Object(O.a)({bufferSize:1,refCount:!0})),ne=Object(S.useComponent)("search").pipe(Object(j.a)((function(){return Object(c.a)((function(){var t=e.search&&e.search.index?e.search.index:void 0,n=(void 0!==t?Object(a.a)(t):B.pipe(Object(j.a)((function(e){return Object(l.a)({url:e+"/search/search_index.json",responseType:"json",withCredentials:!0}).pipe(Object(d.a)("response"))})))).pipe(Object(p.a)(D),Object(O.a)(1));return Object(i.a)(Object(C.i)(e.search.worker,{base$:B,index$:n}))}))}))).pipe(Object(j.a)((function(t){var n=Object(S.useComponent)("search-query").pipe(Object(S.mountSearchQuery)(t,{transform:e.search.transform}),Object(O.a)({bufferSize:1,refCount:!0})),r=Object(S.useComponent)("search-reset").pipe(Object(S.mountSearchReset)(),Object(O.a)({bufferSize:1,refCount:!0})),c=Object(S.useComponent)("search-result").pipe(Object(S.mountSearchResult)(t,{query$:n}),Object(O.a)({bufferSize:1,refCount:!0}));return Object(S.useComponent)("search").pipe(Object(S.mountSearch)(t,{query$:n,reset$:r,result$:c}))})),Object(h.a)((function(){return Object(S.useComponent)("search").subscribe((function(e){return e.hidden=!0})),o.a})),Object(O.a)({bufferSize:1,refCount:!0}));Q.pipe(Object(v.a)((function(){return Object($.o)("search",!1)})),Object(m.a)(125)).subscribe((function(e){return Object($.n)("#"+e)})),Object(u.a)([Object($.z)("search"),W]).pipe(Object(y.a)(F),Object(j.a)((function(e){var n=Object(r.f)(e,2),c=Object(r.f)(n[0],2),a=c[0],i=c[1],o=n[1].offset.y,u=a&&!i;return t.pipe(Object(m.a)(u?400:100),Object(g.a)(b.a),Object(v.a)((function(e){var t=e.body;return u?q(t,o):N(t)})))}))).subscribe(),Object(f.a)(document.body,"click").pipe(Object(w.a)((function(e){return!(e.metaKey||e.ctrlKey)})),Object(w.a)((function(e){if(e.target instanceof HTMLElement){var t=e.target.closest("a");if(t&&Object($.h)(t))return!0}return!1}))).subscribe((function(){Object($.o)("drawer",!1)})),e.features.includes("navigation.instant")&&"file:"!==location.protocol&&B.pipe(Object(j.a)((function(e){return Object(l.a)({url:e+"/sitemap.xml",responseType:"document",withCredentials:!0}).pipe(Object(d.a)("response"))})),Object(y.a)(B),Object(p.a)((function(e){var t=Object(r.f)(e,2),n=t[0],c=t[1],a=Object($.e)("loc",n).map((function(e){return e.textContent}));if(a.length>1){var i=Object(r.f)(a.sort((function(e,t){return e.length-t.length})),2),o=i[0],u=i[1],b=0;if(o===u)b=o.length;else for(;o.charAt(b)===u.charAt(b);)b++;for(var f=0;f<a.length;f++)a[f]=a[f].replace(o.slice(0,b),c+"/")}return a}))).subscribe((function(e){Object(C.g)(e,{document$:t,location$:n,viewport$:F})})),J.pipe(Object(w.a)((function(e){return"global"===e.mode&&"Tab"===e.type})),Object(x.a)(1)).subscribe((function(){var e,t;try{for(var n=Object(r.i)(Object($.e)(".headerlink")),c=n.next();!c.done;c=n.next()){c.value.style.visibility="visible"}}catch(t){e={error:t}}finally{try{c&&!c.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}}));var re={document$:t,location$:n,viewport$:F,header$:G,main$:V,navigation$:Z,search$:ne,tabs$:te,toc$:ee,clipboard$:X,keyboard$:J,dialog$:K};return s.a.apply(void 0,Object(r.g)(Object.values(re))).subscribe(),re}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.a50b2d70.min.js.map
|