mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
2 lines
49 KiB
JavaScript
2 lines
49 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([89,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 H})),n.d(t,"u",(function(){return P})),n.d(t,"m",(function(){return I})),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 B})),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 X})),n.d(t,"o",(function(){return G})),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(74),c=n(96),a=n(97);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(98),j=n(11),d=n(95);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(75),x=n(33),$=n(76),S=n(32),C=n(99),k=n(22),T=n(79),A=n(90),_=n(80),E=n(100),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.a)({bufferSize:1,refCount:!0}));function R(e){return M.pipe(Object(_.a)((function(t){return t.observe(e)})),Object(k.a)((function(t){return L.pipe(Object(E.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(115);function H(e){switch(e.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return e.isContentEditable}}function P(){return Object(c.a)(window,"keydown").pipe(Object(E.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 U=n(101);function I(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 U.a(new URL(location.href))}var Q=n(117);function B(e,t){return t.location$.pipe(Object(Q.a)(1),Object(j.a)((function(t){var n=t.href;return new URL(e,n).toString().replace(/\/$/,"")})),Object(A.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(E.a)((function(e){return e.length>0})),Object(z.a)())}var J=n(102);function K(e){var t=matchMedia(e);return Object(J.a)((function(e){return t.addListener((function(){return e(t.matches)}))})).pipe(Object(d.a)(t.matches),Object(A.a)({bufferSize:1,refCount:!0}))}var V={drawer:u("[data-md-toggle=drawer]"),search:u("[data-md-toggle=search]")};function X(e){return V[e].checked}function G(e,t){V[e].checked!==t&&V[e].click()}function Z(e){var t=V[e];return Object(c.a)(t,"change").pipe(Object(j.a)((function(){return t.checked})),Object(d.a)(t.checked))}var ee=n(60),te=n(91);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.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(103),ue=n(104),be=n(105);function fe(e,t){var n=t.tx$,r=Object(J.a)((function(t){return e.addEventListener("message",t)})).pipe(Object(oe.a)("data"));return n.pipe(Object(ue.a)((function(){return r}),{leading:!0,trailing:!0}),Object(_.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 b})),n.d(t,"a",(function(){return l})),n.d(t,"f",(function(){return d})),n.d(t,"g",(function(){return p})),n.d(t,"e",(function(){return h})),n.d(t,"c",(function(){return v}));var c=n(0),a=n(78);function i(e){switch(e){case"svg":case"path":return document.createElementNS("http://www.w3.org/2000/svg",e);default:return document.createElement(e)}}function o(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 u(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()){u(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 b(e,t){for(var n,r,b,f,s=[],l=2;l<arguments.length;l++)s[l-2]=arguments[l];var O=i(e);if(t)try{for(var j=Object(c.i)(Object(a.a)(t)),d=j.next();!d.done;d=j.next()){var p=d.value;o(O,p,t[p])}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=j.return)&&r.call(j)}finally{if(n)throw n.error}}try{for(var h=Object(c.i)(s),v=h.next();!v.done;v=h.next()){var m=v.value;u(O,m)}}catch(e){b={error:e}}finally{try{v&&!v.done&&(f=h.return)&&f.call(h)}finally{if(b)throw b.error}}return O}var f=n(76),s=n(32);function l(e,t){return Object(f.a)((function(){var n=sessionStorage.getItem(e);if(n)return Object(s.a)(JSON.parse(n));var r=t();return r.subscribe((function(t){try{sessionStorage.setItem(e,JSON.stringify(t))}catch(e){}})),r}))}var O,j=n(1);function d(e,t){if(void 0===O){var n=Object(j.d)("#__lang");O=JSON.parse(n.textContent)}if(void 0===O[e])throw new ReferenceError("Invalid translation: "+e);return void 0!==t?O[e].replace("#",t.toString()):O[e]}function p(e,t){var n=t;if(e.length>n){for(;" "!==e[n]&&--n>0;);return e.substring(0,n)+"..."}return e}function h(e){return e>999?((e+1e-6)/1e3).toFixed(+((e-950)%1e3>99))+"k":e.toString()}function v(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(20);n.d(t,"setupComponents",(function(){return r.a})),n.d(t,"useComponent",(function(){return r.b}));var c=n(70);n.d(t,"mountHeader",(function(){return c.a}));var a=n(71);n.d(t,"mountHero",(function(){return a.a}));var i=n(72);n.d(t,"mountMain",(function(){return i.a}));var o=n(61);n.d(t,"mountNavigation",(function(){return o.a}));var u=n(69);n.d(t,"mountSearch",(function(){return u.a})),n.d(t,"mountSearchQuery",(function(){return u.b})),n.d(t,"mountSearchReset",(function(){return u.c})),n.d(t,"mountSearchResult",(function(){return u.d}));var b=n(26);n.o(b,"mountTableOfContents")&&n.d(t,"mountTableOfContents",(function(){return b.mountTableOfContents})),n.o(b,"mountTabs")&&n.d(t,"mountTabs",(function(){return b.mountTabs}));var f=n(73);n.d(t,"mountTabs",(function(){return f.a}));var s=n(65);n.o(s,"mountTableOfContents")&&n.d(t,"mountTableOfContents",(function(){return s.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 H})),n.d(t,"h",(function(){return U})),n.d(t,"b",(function(){return I.b})),n.d(t,"i",(function(){return I.f})),n.d(t,"a",(function(){return I.a})),n.d(t,"c",(function(){return I.d})),n.d(t,"d",(function(){return I.e}));var r=n(59),c=n(99),a=n(102),i=n(115),o=n(80),u=n(97),b=n(1),f=n(28),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=Object(a.a)((function(e){new r(".md-clipboard").on("success",e)})).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(33),j=n(32),d=n(82),p=n(14),h=n(22),v=n(11),m=n(83),y=n(118);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(96),$=n(98),S=n(116),C=n(100),k=n(44),T=n(103),A=n(91),_=n(107),E=n(108),L=n(106),M=n(92),R=n(109),z=n(93);function H(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.a)("pathname"),Object(_.a)(1),Object(h.a)((function(e){return Object(S.a)({url:e.href,responseType:"text",withCredentials:!0}).pipe(Object(E.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.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 P=n(9);function U(){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(P.useComponent)("search-query"),Object(P.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(P.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 I=n(41)},,,,,,,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(32),i=n(29),o=n(11),u=n(81),b=n(90),f=n(22),s=n(44),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(62);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,c,a=e.location,o=e.title,b=e.text,s=e.terms,d=e.score,p=[];try{for(var h=Object(i.i)(Object.entries(s)),v=h.next();!v.done;v=h.next()){var m=Object(i.f)(v.value,2),y=m[0];m[1]&&p.push(y)}}catch(e){n={error:e}}finally{try{v&&!v.done&&(c=h.return)&&c.call(h)}finally{if(n)throw n.error}}var g=new URL(a);g.searchParams.append("h",p.join(" "));var w=Object.keys(s).reduce((function(e,t){return Object(i.g)(e,s[t]?[]:[Object(r.b)("del",null,t)," "])}),[]);return Object(r.b)("a",{href:g.toString().replace(/%20/g,"+"),class:u,tabIndex:-1},Object(r.b)("article",{class:f,"data-md-score":d.toFixed(2)},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"}))),Object(r.b)("h1",{class:l},o),t&&b.length>0&&Object(r.b)("p",{class:O},Object(r.g)(b,320)),t&&w.length>0&&Object(r.b)("p",{class:j},Object(r.f)("search.result.term.missing"),": ",w.slice(0,-1))))}function p(e){var t,n,c=e.location,a=e.title,o=e.text,b=e.terms,f=e.score,d=[];try{for(var p=Object(i.i)(Object.entries(b)),h=p.next();!h.done;h=p.next()){var v=Object(i.f)(h.value,2),m=v[0];v[1]&&d.push(m)}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}var y=new URL(c);y.searchParams.append("h",d.join(" "));var g=Object.keys(b).reduce((function(e,t){return Object(i.g)(e,b[t]?[]:[Object(r.b)("del",null,t)," "])}),[]);return Object(r.b)("a",{href:y.toString().replace(/%20/g,"+"),class:u,tabIndex:-1},Object(r.b)("article",{class:s,"data-md-score":f.toFixed(2)},Object(r.b)("h1",{class:l},a),o.length>0&&Object(r.b)("p",{class:O},Object(r.g)(o,320)),g.length>0&&Object(r.b)("p",{class:j},Object(r.f)("search.result.term.missing"),": ",g.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",null,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(67);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(68);n.d(t,"applyAnchorList",(function(){return c.a})),n.d(t,"watchAnchorList",(function(){return c.b}));n(21)},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(77);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(33),u=n(53),b=n(92),f=n(11),s=n(115),l=n(83),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.b)).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(39),c=n(32),a=n(22),i=n(11),o=n(26);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(63);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(64);n.d(t,"applySidebar",(function(){return c.a})),n.d(t,"watchSidebar",(function(){return c.b}));n(30)},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(60),a=n(39),i=n(82),o=n(11),u=n(44),b=n(83),f=n(92),s=n(80),l=n(79),O=n(30);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(66);n.d(t,"mountTableOfContents",(function(){return r.a}));n(40)},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(0),c=n(39),a=n(60),i=n(32),o=n(22),u=n(11),b=n(1),f=n(26),s=n(40);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 y})),n.d(t,"a",(function(){return g}));var r=n(0),c=n(94),a=n(60),i=n(39),o=n(82),u=n(11),b=n(91),f=n(22),s=n(81),l=n(44),O=n(95),j=n(93),d=n(83),p=n(80),h=n(79),v=n(1),m=n(21);function y(e,t){var n,i,o=t.header$,d=t.viewport$,p=new Map;try{for(var h=Object(r.i)(e),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(e){n={error:e}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}var x=o.pipe(Object(u.a)((function(e){return 18+e.height})));return Object(v.t)(document.body).pipe(Object(b.a)("height"),Object(u.a)((function(){var e=[];return Object(r.g)(p).reduce((function(t,n){for(var a=Object(r.f)(n,2),i=a[0],o=a[1];e.length;){if(!(p.get(e[e.length-1]).tagName>=o.tagName))break;e.pop()}for(var u=o.offsetTop;!u&&o.parentElement;)u=(o=o.parentElement).offsetTop;return t.set(Object(c.a)(e=Object(r.g)(e,[i])),u)}),new Map)})),Object(f.a)((function(e){return Object(a.a)([x,d]).pipe(Object(s.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(l.a)((function(e,t){return e[0]===t[0]&&e[1]===t[1]})))}))).pipe(Object(u.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(O.a)({prev:[],next:[]}),Object(j.a)(2,1),Object(u.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 g(e){return Object(i.a)(Object(d.a)(o.a),Object(p.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(m.a)(u),Object(m.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(m.c)(n,t===c.length-1),Object(m.d)(n,!0)}))})),Object(h.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(m.a)(i),Object(m.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 U}));var r=n(0),c=n(39),a=n(60),i=n(22),o=n(100),u=n(97),b=n(95),f=n(106),s=n(117),l=n(11),O=n(41);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(91),p=n(1),h=n(13),v=n(98),m=n(96),y=n(118),g=n(44);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(105),$=n(80),S=n(20);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(119),T=n(103),A=n(82),_=n(92),E=n(83),L=n(81),M=n(79),R=n(28),z=n(2);function H(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(z.f)("search.result.none");break;case 1:e.textContent=Object(z.f)("search.result.one");break;default:e.textContent=Object(z.f)("search.result.other",t)}}(f,n.length):function(e){e.textContent=Object(z.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)(A.a),Object(L.a)((function(r){for(var c=e.parentElement;r<t.length&&(H(b,Object(R.b)(t[r++],n[r])),!(c.scrollHeight-c.offsetHeight>16)););return r}),0),Object(u.a)(t),Object(M.a)((function(){!function(e){e.innerHTML=""}(b)})))})))}function U(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)(k.a));return n.pipe(Object(o.a)(h.d),Object(T.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(39),a=n(60),i=n(22),o=n(11),u=n(100),b=n(92),f=n(44),s=n(95),l=n(1),O=n(20),j=n(32),d=n(82),p=n(90),h=n(83),v=n(80),m=n(79);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 l}));var r=n(39),c=n(22),a=n(11),i=n(91),o=n(1),u=n(82),b=n(83),f=n(80),s=n(79);function l(e){var t=e.header$,n=e.viewport$;return Object(r.a)(Object(c.a)((function(e){return Object(o.B)(e,{header$:t,viewport$:n}).pipe(Object(a.a)((function(e){return{hidden:e.offset.y>=20}})),Object(i.a)("hidden"),function(e){return Object(r.a)(Object(b.a)(u.a),Object(f.a)((function(t){var n=t.hidden;!function(e,t){e.setAttribute("data-md-state",t?"hidden":"")}(e,n)})),Object(s.a)((function(){!function(e){e.removeAttribute("data-md-state")}(e)})))}(e))})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(33),c=n(14),a=n(39),i=n(22),o=n(91),u=n(80),b=n(79),f=n(20),s=n(0),l=n(60),O=n(82),j=n(103),d=n(44),p=n(11),h=n(83),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(39),c=n(32),a=n(22),i=n(11),o=n(91),u=n(1),b=n(82),f=n(83),s=n(80),l=n(79);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 B})),n.d(t,"resetScrollLock",(function(){return F})),n.d(t,"initialize",(function(){return Y}));var r=n(0),c=(n(84),n(119)),a=n(112),i=n(114),o=n(113),u=n(76),b=n(27),f=n(32),s=n(99),l=n(60),O=n(82),j=n(96),d=n(98),p=n(116),h=n(90),v=n(22),m=n(103),y=n(11),g=n(108),w=n(80),x=n(118),$=n(92),S=n(83),C=n(100),k=n(117),T=n(1),A=n(9),_=n(13),E=n(91);var L=n(105);var M=n(7),R=n(29),z=n(14),H=n(107),P=n(110);var U=n(111),I=n(97);function q(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}var N=n(28),D=n(2);function Q(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(p.a)({url:void 0!==t?"https://api.github.com/repos/"+e+"/"+t:"https://api.github.com/users/"+e,responseType:"json"}).pipe(Object(C.a)((function(e){return 200===e.status})),Object(m.a)("response"),Object(y.a)((function(e){if(void 0!==t){var n=e.stargazers_count,r=e.forks_count;return[Object(D.e)(n||0)+" Stars",Object(D.e)(r||0)+" Forks"]}var c=e.public_repos;return[Object(D.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(p.a)({url:"https://"+e+"/api/v4/projects/"+encodeURIComponent(t),responseType:"json"}).pipe(Object(C.a)((function(e){return 200===e.status})),Object(m.a)("response"),Object(y.a)((function(e){var t=e.star_count,n=e.forks_count;return[Object(D.e)(t)+" Stars",Object(D.e)(n)+" Forks"]})))}(n[1],n[2]);default:return s.a}}function B(e,t){e.setAttribute("data-md-state","lock"),e.style.top="-"+t+"px"}function F(e){var t=-1*parseInt(e.style.top,10);e.removeAttribute("data-md-state"),e.style.top="",t&&window.scrollTo(0,t)}function W(e){var t=e.config,n=e.docs,r=e.index;return 1===t.lang.length&&"en"===t.lang[0]&&(t.lang=[Object(D.f)("search.config.lang")]),"[\\s\\-]+"===t.separator&&(t.separator=Object(D.f)("search.config.separator")),{config:t,docs:n,index:r,pipeline:Object(D.f)("search.config.pipeline").split(/\s*,\s*/).filter(c.a)}}function Y(e){if(!Object(D.d)(e))throw new SyntaxError("Invalid configuration: "+JSON.stringify(e));var t=Object(T.q)(),n=Object(T.v)(),Y=Object(T.w)(e.base,{location$:n}),J=Object(T.x)(),K=Object(T.A)(),V=Object(T.y)("(min-width: 960px)"),X=Object(T.y)("(min-width: 1220px)");Object(A.setupComponents)(["announce","container","header","header-title","hero","main","navigation","search","search-query","search-reset","search-result","skip","tabs","toc"],{document$:t});var G=Object(_.h)();matchMedia("(hover)").matches&&function(e){var t=e.document$,n=e.viewport$,c=t.pipe(Object(y.a)((function(){return Object(T.e)("pre > code")}))),a=n.pipe(Object(E.a)("size"));Object(l.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$:K}),function(e){var t=e.document$,n=e.hash$,a=t.pipe(Object(y.a)((function(){return Object(T.e)("details")})));Object(d.a)(Object(T.y)("print").pipe(Object(C.a)(c.a)),Object(j.a)(window,"beforeprint")).pipe(Object(L.a)(a)).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(y.a)((function(e){return Object(T.c)('[id="'+e+'"]')})),Object(C.a)((function(e){return void 0!==e})),Object(w.a)((function(e){var t=e.closest("details");t&&!t.open&&t.setAttribute("open","")}))).subscribe((function(e){return e.scrollIntoView()}))}({document$:t,hash$:J}),{document$:t}.document$.pipe(Object(H.a)(1),Object($.a)(Object(A.useComponent)("container")),Object(y.a)((function(e){var t=Object(r.f)(e,2)[1];return Object(T.e)("script",t)}))).pipe(Object(v.a)((function(e){return f.a.apply(void 0,Object(r.g)(e))})),Object(P.a)((function(e){var t=Object(T.a)("script");return e.src?(t.src=e.src,Object(T.j)(e,t),new M.a((function(e){t.onload=function(){return e.complete()}}))):(t.textContent=e.textContent,Object(T.j)(e,t),R.a)}))).subscribe(z.a),function(e){e.document$.pipe(Object(y.a)((function(){return Object(T.d)(".md-source[href]")})),Object(v.a)((function(e){var t=e.href;return Object(D.a)(""+Object(D.c)(t),(function(){return Q(t)}))})),Object(g.a)((function(){return s.a}))).subscribe((function(e){var t,n;try{for(var c=Object(r.i)(Object(T.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(N.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(T.a)("table");t.pipe(Object(y.a)((function(){return Object(T.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(T.j)(o,n),Object(T.j)(n,Object(N.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(y.a)((function(){return Object(T.e)("[data-md-scrollfix]")})),Object(h.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(U.a)(q,t,s.a).pipe(Object(v.a)((function(e){return d.a.apply(void 0,Object(r.g)(e.map((function(e){return Object(j.a)(e,"touchstart",{passive:!0}).pipe(Object(I.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 Z=Object(_.f)(),ee=Object(_.e)({document$:t,dialog$:Z}),te=Object(A.useComponent)("header").pipe(Object(A.mountHeader)({document$:t,viewport$:K}),Object(h.a)({bufferSize:1,refCount:!0})),ne=Object(A.useComponent)("main").pipe(Object(A.mountMain)({header$:te,viewport$:K}),Object(h.a)({bufferSize:1,refCount:!0})),re=Object(A.useComponent)("navigation").pipe(Object(A.mountNavigation)({header$:te,main$:ne,viewport$:K,screen$:X}),Object(h.a)({bufferSize:1,refCount:!0})),ce=Object(A.useComponent)("toc").pipe(Object(A.mountTableOfContents)({header$:te,main$:ne,viewport$:K,tablet$:V}),Object(h.a)({bufferSize:1,refCount:!0})),ae=Object(A.useComponent)("tabs").pipe(Object(A.mountTabs)({header$:te,viewport$:K,screen$:X}),Object(h.a)({bufferSize:1,refCount:!0})),ie=Object(A.useComponent)("hero").pipe(Object(A.mountHero)({header$:te,viewport$:K}),Object(h.a)({bufferSize:1,refCount:!0})),oe=Object(A.useComponent)("search").pipe(Object(v.a)((function(){return Object(u.a)((function(){var t=e.search&&e.search.index?e.search.index:void 0,n=(void 0!==t?Object(b.a)(t):Y.pipe(Object(v.a)((function(e){return Object(p.a)({url:e+"/search/search_index.json",responseType:"json",withCredentials:!0}).pipe(Object(m.a)("response"))})))).pipe(Object(y.a)(W),Object(h.a)(1));return Object(f.a)(Object(_.i)(e.search.worker,{base$:Y,index$:n}))}))}))).pipe(Object(v.a)((function(t){var n=Object(A.useComponent)("search-query").pipe(Object(A.mountSearchQuery)(t,{transform:e.search.transform}),Object(h.a)({bufferSize:1,refCount:!0})),r=Object(A.useComponent)("search-reset").pipe(Object(A.mountSearchReset)(),Object(h.a)({bufferSize:1,refCount:!0})),c=Object(A.useComponent)("search-result").pipe(Object(A.mountSearchResult)(t,{query$:n}),Object(h.a)({bufferSize:1,refCount:!0}));return Object(A.useComponent)("search").pipe(Object(A.mountSearch)(t,{query$:n,reset$:r,result$:c}))})),Object(g.a)((function(){return Object(A.useComponent)("search").subscribe((function(e){return e.hidden=!0})),s.a})),Object(h.a)({bufferSize:1,refCount:!0}));J.pipe(Object(w.a)((function(){return Object(T.o)("search",!1)})),Object(x.a)(125)).subscribe((function(e){return Object(T.n)("#"+e)})),Object(l.a)([Object(T.z)("search"),V]).pipe(Object($.a)(K),Object(v.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(x.a)(u?400:100),Object(S.a)(O.a),Object(w.a)((function(e){var t=e.body;return u?B(t,o):F(t)})))}))).subscribe(),Object(j.a)(document.body,"click").pipe(Object(C.a)((function(e){return!(e.metaKey||e.ctrlKey)})),Object(C.a)((function(e){if(e.target instanceof HTMLElement){var t=e.target.closest("a");if(t&&Object(T.h)(t))return!0}return!1}))).subscribe((function(){Object(T.o)("drawer",!1)})),e.features.includes("instant")&&"file:"!==location.protocol&&Y.pipe(Object(v.a)((function(e){return Object(p.a)({url:e+"/sitemap.xml",responseType:"document",withCredentials:!0}).pipe(Object(m.a)("response"))})),Object($.a)(Y),Object(y.a)((function(e){var t=Object(r.f)(e,2),n=t[0],c=t[1],o=Object(T.e)("loc",n).map((function(e){return e.textContent}));if(o.length>1){var u=Object(r.f)(Object(a.a)(Object(i.a)("length"),o),2),b=u[0],f=u[1],s=0;if(b===f)s=b.length;else for(;b.charAt(s)===f.charAt(s);)s++;for(var l=0;l<o.length;l++)o[l]=o[l].replace(b.slice(0,s),c+"/")}return o}))).subscribe((function(e){Object(_.g)(e,{document$:t,location$:n,viewport$:K})})),G.pipe(Object(C.a)((function(e){return"global"===e.mode&&"Tab"===e.type})),Object(k.a)(1)).subscribe((function(){var e,t;try{for(var n=Object(r.i)(Object(T.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 ue={document$:t,location$:n,viewport$:K,header$:te,hero$:ie,main$:ne,navigation$:re,search$:oe,tabs$:ae,toc$:ce,clipboard$:ee,keyboard$:G,dialog$:Z};return d.a.apply(void 0,Object(r.g)(Object(o.a)(ue))).subscribe(),ue}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.10eaee41.min.js.map
|