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