mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
2 lines
48 KiB
JavaScript
2 lines
48 KiB
JavaScript
!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){function e(e){for(var r,i,o=e[0],u=e[1],b=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(f&&f(e);l.length;)l.shift()();return a.push.apply(a,b||[]),n()}function n(){for(var t,e=0;e<a.length;e++){for(var n=a[e],r=!0,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 b=0;b<o.length;b++)e(o[b]);var f=u;return a.push([82,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 b})),n.d(e,"e",(function(){return f})),n.d(e,"a",(function(){return s})),n.d(e,"j",(function(){return l})),n.d(e,"k",(function(){return 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 H})),n.d(e,"u",(function(){return P})),n.d(e,"m",(function(){return I})),n.d(e,"h",(function(){return q})),n.d(e,"g",(function(){return N})),n.d(e,"v",(function(){return D})),n.d(e,"w",(function(){return F})),n.d(e,"n",(function(){return Y})),n.d(e,"x",(function(){return B})),n.d(e,"y",(function(){return K})),n.d(e,"f",(function(){return X})),n.d(e,"o",(function(){return G})),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(67),c=n(89),a=n(90);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 b(){return document.activeElement instanceof HTMLElement?document.activeElement:void 0}function f(t,e){return void 0===e&&(e=document),Array.from(e.querySelectorAll(t))}function s(t){return document.createElement(t)}function l(t,e){t.replaceWith(e)}var O=n(110),j=n(11),d=n(88);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===b()))}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(68),x=n(38),$=n(69),S=n(53),C=n(91),k=n(24),T=n(72),A=n(83),_=n(73),E=n(92),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(k.a)((function(t){return Object(O.a)(Object(S.a)(t),C.a).pipe(Object(T.a)((function(){return t.disconnect()})))})),Object(A.a)({bufferSize:1,refCount:!0}));function R(t){return M.pipe(Object(_.a)((function(e){return e.observe(t)})),Object(k.a)((function(e){return L.pipe(Object(E.a)((function(e){return e.target===t})),Object(T.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(108);function H(t){switch(t.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return t.isContentEditable}}function P(){return Object(c.a)(window,"keydown").pipe(Object(E.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 U=n(93);function I(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 N(t,e){return void 0===e&&(e=location),t.pathname===e.pathname&&t.hash.length>0}function D(){return new U.a(new URL(location.href))}var Q=n(94);function F(t,e){return e.location$.pipe(Object(Q.a)(1),Object(j.a)((function(e){var n=e.href;return new URL(t,n).toString().replace(/\/$/,"")})),Object(A.a)({bufferSize:1,refCount:!0}))}function W(){return location.hash.substring(1)}function Y(t){var e=s("a");e.href=t,e.addEventListener("click",(function(t){return t.stopPropagation()})),e.click()}function B(){return Object(c.a)(window,"hashchange").pipe(Object(j.a)(W),Object(d.a)(W()),Object(E.a)((function(t){return t.length>0})),Object(z.a)())}var J=n(95);function K(t){var e=matchMedia(t);return Object(J.a)((function(t){return e.addListener((function(){return t(e.matches)}))})).pipe(Object(d.a)(e.matches),Object(A.a)({bufferSize:1,refCount:!0}))}var V={drawer:u("[data-md-toggle=drawer]"),search:u("[data-md-toggle=search]")};function X(t){return V[t].checked}function G(t,e){V[t].checked!==e&&V[t].click()}function Z(t){var e=V[t];return Object(c.a)(e,"change").pipe(Object(j.a)((function(){return e.checked})),Object(d.a)(e.checked))}var tt=n(54),et=n(84);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(A.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(96),ut=n(97),bt=n(98);function ft(t,e){var n=e.tx$,r=Object(J.a)((function(e){return t.addEventListener("message",e)})).pipe(Object(ot.a)("data"));return n.pipe(Object(ut.a)((function(){return r}),{leading:!0,trailing:!0}),Object(_.a)((function(e){return t.postMessage(e)})),Object(bt.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 b})),n.d(e,"a",(function(){return l})),n.d(e,"f",(function(){return d})),n.d(e,"g",(function(){return p})),n.d(e,"e",(function(){return h})),n.d(e,"c",(function(){return v}));var c=n(0),a=n(71);function i(t){switch(t){case"svg":case"path":return document.createElementNS("http://www.w3.org/2000/svg",t);default:return document.createElement(t)}}function o(t,e,n){switch(e){case"xmlns":break;case"viewBox":case"d":"boolean"!=typeof n?t.setAttributeNS(null,e,n):n&&t.setAttributeNS(null,e,"");break;default:"boolean"!=typeof n?t.setAttribute(e,n):n&&t.setAttribute(e,"")}}function u(t,e){var n,r;if("string"==typeof e||"number"==typeof e)t.innerHTML+=e.toString();else if(e instanceof Node)t.appendChild(e);else if(Array.isArray(e))try{for(var a=Object(c.i)(e),i=a.next();!i.done;i=a.next()){u(t,i.value)}}catch(t){n={error:t}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}function b(t,e){for(var n,r,b,f,s=[],l=2;l<arguments.length;l++)s[l-2]=arguments[l];var O=i(t);if(e)try{for(var j=Object(c.i)(Object(a.a)(e)),d=j.next();!d.done;d=j.next()){var p=d.value;o(O,p,e[p])}}catch(t){n={error:t}}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(t){b={error:t}}finally{try{v&&!v.done&&(f=h.return)&&f.call(h)}finally{if(b)throw b.error}}return O}var f=n(69),s=n(53);function l(t,e){return Object(f.a)((function(){var n=sessionStorage.getItem(t);if(n)return Object(s.a)(JSON.parse(n));var r=e();return r.subscribe((function(e){try{sessionStorage.setItem(t,JSON.stringify(e))}catch(t){}})),r}))}var O,j=n(1);function d(t,e){if(void 0===O){var n=Object(j.d)("#__lang");O=JSON.parse(n.textContent)}if(void 0===O[t])throw new ReferenceError("Invalid translation: "+t);return void 0!==e?O[t].replace("#",e.toString()):O[t]}function p(t,e){var n=e;if(t.length>n){for(;" "!==t[n]&&--n>0;);return t.substring(0,n)+"..."}return t}function h(t){return t>999?((t+1e-6)/1e3).toFixed(+((t-950)%1e3>99))+"k":t.toString()}function v(t){for(var e=0,n=0,r=t.length;n<r;n++)e=(e<<5)-e+t.charCodeAt(n),e|=0;return e}},,,,,,function(t,e,n){"use strict";var r=n(19);n.d(e,"setupComponents",(function(){return r.a})),n.d(e,"useComponent",(function(){return r.b}));var c=n(64);n.d(e,"mountHeader",(function(){return c.a}));var a=n(65);n.d(e,"mountMain",(function(){return a.a}));var i=n(55);n.d(e,"mountNavigation",(function(){return i.a}));var o=n(63);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(26);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 b=n(66);n.d(e,"mountTabs",(function(){return b.a}));var f=n(59);n.o(f,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return f.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 H})),n.d(e,"h",(function(){return U})),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(52),c=n(91),a=n(95),i=n(108),o=n(73),u=n(90),b=n(1),f=n(27),s=n(2);function l(t){var e=t.document$,n=t.dialog$;if(!r.isSupported())return c.a;e.subscribe((function(){Object(b.e)("pre > code").forEach((function(t,e){var n=t.parentElement;n.id="__code_"+e,n.insertBefore(Object(f.a)(n.id),t)}))}));var l=Object(a.a)((function(t){new r(".md-clipboard").on("success",t)})).pipe(Object(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(38),j=n(53),d=n(76),p=n(22),h=n(24),v=n(11),m=n(75),y=n(111);function g(t){var e=(void 0===t?{}:t).duration,n=new O.a,r=Object(b.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(89),$=n(110),S=n(109),C=n(92),k=n(42),T=n(96),A=n(84),_=n(100),E=n(101),L=n(99),M=n(85),R=n(102),z=n(86);function H(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(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(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(b.h)(n)&&t.includes(n.href))return Object(b.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(b.o)("search",!1)}));var f=u.pipe(Object(C.a)((function(t){var e=t.url;return!Object(b.g)(e)})),Object(i.a)()),s=Object(x.a)(window,"popstate").pipe(Object(C.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)(f,s).pipe(Object(k.a)((function(t,e){return t.url.href===e.url.href})),Object(T.a)("url")).subscribe(a);var l=a.pipe(Object(A.a)("pathname"),Object(_.a)(1),Object(h.a)((function(t){return Object(S.a)({url:t.href,responseType:"text",withCredentials:!0}).pipe(Object(E.a)((function(){return Object(b.m)(t),c.a})))})),Object(i.a)());f.pipe(Object(L.a)(l)).subscribe((function(t){var e=t.url;history.pushState({},"",e.toString())}));var O=new DOMParser;l.pipe(Object(v.a)((function(t){var e=t.response;return O.parseFromString(e,"text/html")}))).subscribe(n);var d=Object($.a)(f,s).pipe(Object(L.a)(n));d.subscribe((function(t){var e=t.url,n=t.offset;e.hash&&!n?Object(b.n)(e.hash):Object(b.p)(n||{y:0})})),d.pipe(Object(M.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,f=Object(b.c)(u,a),s=Object(b.c)(u,document.head);void 0!==f&&void 0!==s&&Object(b.j)(s,f)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}document.dispatchEvent(new CustomEvent("DOMContentSwitch"))})),r.pipe(Object(R.a)(250),Object(A.a)("offset")).subscribe((function(t){var e=t.offset;history.replaceState(e,"")})),Object($.a)(u,s).pipe(Object(z.a)(2,1),Object(C.a)((function(t){var e=Object(w.f)(t,2),n=e[0],r=e[1];return n.url.pathname===r.url.pathname&&!Object(b.g)(r.url)})),Object(v.a)((function(t){return Object(w.f)(t,2)[1]}))).subscribe((function(t){var e=t.offset;Object(b.p)(e||{y:0})}))}var P=n(8);function U(){var t=Object(b.u)().pipe(Object(v.a)((function(t){return Object(w.a)({mode:Object(b.f)("search")?"search":"global"},t)})),Object(C.a)((function(t){if("global"===t.mode){var e=Object(b.b)();if(void 0!==e)return!Object(b.i)(e)}return!0})),Object(i.a)());return t.pipe(Object(C.a)((function(t){return"search"===t.mode})),Object(M.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(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)}})),t.pipe(Object(C.a)((function(t){return"global"===t.mode})),Object(M.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(b.k)(r),Object(b.l)(r),n.claim();break;case"p":case",":var c=Object(b.c)("[href][rel=prev]");void 0!==c&&c.click();break;case"n":case".":var a=Object(b.c)("[href][rel=next]");void 0!==a&&a.click()}})),t}var I=n(41)},,,,,,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(53),i=n(29),o=n(11),u=n(74),b=n(83),f=n(24),s=n(42),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(b.a)({bufferSize:1,refCount:!0}))}function j(t){return r.pipe(Object(f.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(56);n.o(r,"applySidebar")&&n.d(e,"applySidebar",(function(){return r.applySidebar})),n.o(r,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return r.mountTableOfContents})),n.o(r,"mountTabs")&&n.d(e,"mountTabs",(function(){return r.mountTabs})),n.o(r,"watchSidebar")&&n.d(e,"watchSidebar",(function(){return r.watchSidebar}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return y})),n.d(e,"d",(function(){return x}));var r=n(2),c="md-clipboard md-icon";function a(t){return Object(r.b)("button",{class:c,title:Object(r.f)("clipboard.copy"),"data-clipboard-target":"#"+t+" > code"})}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(t,e){var n=t.location,c=t.title,a=t.text,o=t.terms,b=t.score,s=Object.keys(o).reduce((function(t,e){return Object(i.g)(t,o[e]?[]:[Object(r.b)("del",null,e)," "])}),[]);return Object(r.b)("a",{href:n.toString().replace(/%20/g,"+"),class:u,tabIndex:-1},Object(r.b)("article",{class:f,"data-md-score":b.toFixed(2)},Object(r.b)("div",{class:"md-search-result__icon md-icon"},Object(r.b)("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},c),e&&a.length>0&&Object(r.b)("p",{class:O},Object(r.g)(a,320)),e&&s.length>0&&Object(r.b)("p",{class:j},Object(r.f)("search.result.term.missing"),": ",s.slice(0,-1))))}function p(t){var e=t.location,n=t.title,c=t.text,a=t.terms,o=t.score,b=Object.keys(a).reduce((function(t,e){return Object(i.g)(t,a[e]?[]:[Object(r.b)("del",null,e)," "])}),[]);return Object(r.b)("a",{href:e.toString().replace(/%20/g,"+"),class:u,tabIndex:-1},Object(r.b)("article",{class:s,"data-md-score":o.toFixed(2)},Object(r.b)("h1",{class:l},n),c.length>0&&Object(r.b)("p",{class:O},Object(r.g)(c,320)),b.length>0&&Object(r.b)("p",{class:j},Object(r.f)("search.result.term.missing"),": ",b.slice(0,-1))))}function h(t,e){void 0===e&&(e=1/0);var n=Object(i.g)(t),c=n.findIndex((function(t){return!t.location.includes("#")})),a=Object(i.f)(n.splice(c,1),1)[0],u=n.findIndex((function(t){return t.score<e}));-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(t){var e=t.map((function(t){return Object(r.b)("li",{class:m},t)}));return Object(r.b)("ul",{class:v},e)}var g="md-typeset__scrollwrap",w="md-typeset__table";function x(t){return Object(r.b)("div",{class:g},Object(r.b)("div",{class:w},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(61);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(62);n.d(e,"applyAnchorList",(function(){return c.a})),n.d(e,"watchAnchorList",(function(){return c.b}));n(23)},function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"f",(function(){return h})),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(70);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 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(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,b,f;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){b={error:t}}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)}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,b=e.documents.get(i);if(void 0!==b){var f=b.location,s=b.title,l=b.text,O=b.parent,j=function(t,e){for(var n,c,a,i,o=new Set(t),u={},b=0;b<e.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;e[b].startsWith(l.term)&&(u[l.term]=!0,o.delete(l))}}catch(t){n={error:t}}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(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:f,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(38),u=n(47),b=n(85),f=n(11),s=n(108),l=n(75),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 h(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(b.a)(c),Object(f.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 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(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{f&&!f.done&&(n=b.return)&&n.call(b)}finally{if(e)throw e.error}}return o})),Object(s.a)());return n.pipe(Object(f.a)((function(t){return{type:i.SETUP,data:t}})),Object(l.a)(u.a)).subscribe(j.next.bind(j)),{tx$:j,rx$:d}}!function(t){t[t.SETUP=0]="SETUP",t[t.READY=1]="READY",t[t.QUERY=2]="QUERY",t[t.RESULT=3]="RESULT"}(i||(i={}))},,,,,,,,,,,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(39),c=n(53),a=n(24),i=n(11),o=n(26);function u(t){var e=t.header$,n=t.main$,u=t.viewport$,b=t.screen$;return Object(r.a)(Object(a.a)((function(t){return b.pipe(Object(a.a)((function(r){return r?Object(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(57);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(58);n.d(e,"applySidebar",(function(){return c.a})),n.d(e,"watchSidebar",(function(){return c.b}));n(30)},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(54),a=n(39),i=n(76),o=n(11),u=n(42),b=n(75),f=n(85),s=n(73),l=n(72),O=n(30);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(b.a)(i.a),Object(f.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(60);n.d(e,"mountTableOfContents",(function(){return r.a}));n(40)},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(0),c=n(39),a=n(54),i=n(53),o=n(24),u=n(11),b=n(1),f=n(26),s=n(40);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(b.e)(".md-nav__link",t),O=Object(f.watchSidebar)(t,{main$:n,viewport$:l}).pipe(Object(f.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 y})),n.d(e,"a",(function(){return g}));var r=n(0),c=n(87),a=n(54),i=n(39),o=n(76),u=n(11),b=n(84),f=n(24),s=n(74),l=n(42),O=n(88),j=n(86),d=n(75),p=n(73),h=n(72),v=n(1),m=n(23);function y(t,e){var n,i,o=e.header$,d=e.viewport$,p=new Map;try{for(var h=Object(r.i)(t),m=h.next();!m.done;m=h.next()){var y=m.value,g=decodeURIComponent(y.hash.substring(1)),w=Object(v.c)('[id="'+g+'"]');void 0!==w&&p.set(y,w)}}catch(t){n={error:t}}finally{try{m&&!m.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}var x=o.pipe(Object(u.a)((function(t){return 18+t.height})));return Object(v.t)(document.body).pipe(Object(b.a)("height"),Object(u.a)((function(){var t=[];return Object(r.g)(p).reduce((function(e,n){for(var a=Object(r.f)(n,2),i=a[0],o=a[1];t.length;){if(!(p.get(t[t.length-1]).tagName>=o.tagName))break;t.pop()}for(var u=o.offsetTop;!u&&o.parentElement;)u=(o=o.parentElement).offsetTop;return e.set(Object(c.a)(t=Object(r.g)(t,[i])),u)}),new Map)})),Object(f.a)((function(t){return Object(a.a)([x,d]).pipe(Object(s.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(l.a)((function(t,e){return t[0]===e[0]&&t[1]===e[1]})))}))).pipe(Object(u.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(O.a)({prev:[],next:[]}),Object(j.a)(2,1),Object(u.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 g(t){return Object(i.a)(Object(d.a)(o.a),Object(p.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(m.a)(u),Object(m.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(m.c)(n,e===c.length-1),Object(m.d)(n,!0)}))})),Object(h.a)((function(){var e,n;try{for(var c=Object(r.i)(t),a=c.next();!a.done;a=c.next()){var i=a.value;Object(m.a)(i),Object(m.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 C})),n.d(e,"d",(function(){return U}));var r=n(0),c=n(39),a=n(54),i=n(24),o=n(92),u=n(90),b=n(88),f=n(99),s=n(94),l=n(11),O=n(41);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(b.a)("waiting"));return j.pipe(Object(o.a)(O.c),Object(f.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(84),p=n(1),h=n(13),v=n(110),m=n(89),y=n(111),g=n(42);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(b.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(98),$=n(73),S=n(19);function C(){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(b.a)(void 0))}var k=n(112),T=n(96),A=n(76),_=n(85),E=n(75),L=n(74),M=n(72),R=n(27),z=n(2);function H(t,e){t.appendChild(e)}function P(t,e){var n=e.query$,a=e.ready$,o=e.fetch$,b=Object(p.d)(".md-search-result__list",t),f=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(z.f)("search.result.none");break;case 1:t.textContent=Object(z.f)("search.result.one");break;default:t.textContent=Object(z.f)("search.result.other",e)}}(f,n.length):function(t){t.textContent=Object(z.f)("search.result.placeholder")}(f),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(E.a)(A.a),Object(L.a)((function(r){for(var c=t.parentElement;r<e.length&&(H(b,Object(R.b)(e[r++],n[r])),!(c.scrollHeight-c.offsetHeight>16)););return r}),0),Object(u.a)(e),Object(M.a)((function(){!function(t){t.innerHTML=""}(b)})))})))}function U(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)(k.a));return n.pipe(Object(o.a)(h.d),Object(T.a)("data"),P(t,{query$:r,ready$:c,fetch$:a}),Object(b.a)([]))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(0),c=n(39),a=n(54),i=n(24),o=n(11),u=n(92),b=n(85),f=n(42),s=n(88),l=n(1),O=n(19),j=n(53),d=n(76),p=n(83),h=n(75),v=n(73),m=n(72);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(f.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(b.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(f.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 m}));var r=n(38),c=n(22),a=n(39),i=n(24),o=n(84),u=n(73),b=n(72),f=n(19),s=n(0),l=n(54),O=n(76),j=n(96),d=n(42),p=n(11),h=n(75),v=n(1);function m(t){var e=t.header$,n=t.viewport$,m=new r.a;return Object(f.b)("header").pipe(Object(i.a)((function(t){return m.pipe(Object(o.a)("active"),(e=t,Object(a.a)(Object(h.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(b.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)("height"),Object(d.a)()),a=c.pipe(Object(i.a)((function(){return Object(v.t)(t).pipe(Object(p.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(p.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 m.next(t)})),Object(b.a)((function(){return m.complete()})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return O}));var r=n(39),c=n(53),a=n(24),i=n(11),o=n(84),u=n(1),b=n(76),f=n(75),s=n(73),l=n(72);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(f.a)(b.a),Object(s.a)((function(e){var n=e.hidden;!function(t,e){t.setAttribute("data-md-state",e?"hidden":"")}(t,n)})),Object(l.a)((function(){!function(t){t.removeAttribute("data-md-state")}(t)})))}(t)):Object(c.a)({hidden:!0})})))})))}},,,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"setScrollLock",(function(){return F})),n.d(e,"resetScrollLock",(function(){return W})),n.d(e,"initialize",(function(){return B}));var r=n(0),c=(n(77),n(112)),a=n(105),i=n(107),o=n(106),u=n(69),b=n(10),f=n(53),s=n(91),l=n(54),O=n(76),j=n(89),d=n(110),p=n(109),h=n(83),v=n(24),m=n(96),y=n(11),g=n(101),w=n(73),x=n(111),$=n(85),S=n(75),C=n(92),k=n(94),T=n(1),A=n(8),_=n(13),E=n(84);var L=n(98);var M=n(7),R=n(29),z=n(22),H=n(100),P=n(103);var U=n(104),I=n(90);function q(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}var N=n(27),D=n(2);function Q(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){return Object(p.a)({url:void 0!==e?"https://api.github.com/repos/"+t+"/"+e:"https://api.github.com/users/"+t,responseType:"json"}).pipe(Object(C.a)((function(t){return 200===t.status})),Object(m.a)("response"),Object(y.a)((function(t){if(void 0!==e){var n=t.stargazers_count,r=t.forks_count;return[Object(D.e)(n||0)+" Stars",Object(D.e)(r||0)+" Forks"]}var c=t.public_repos;return[Object(D.e)(c||0)+" Repositories"]})))}(e[1],e[2]);case"gitlab":var n=Object(r.f)(t.match(/^.+?([^\/]*gitlab[^\/]+)\/(.+?)\/?$/i),3);return function(t,e){return Object(p.a)({url:"https://"+t+"/api/v4/projects/"+encodeURIComponent(e),responseType:"json"}).pipe(Object(C.a)((function(t){return 200===t.status})),Object(m.a)("response"),Object(y.a)((function(t){var e=t.star_count,n=t.forks_count;return[Object(D.e)(e)+" Stars",Object(D.e)(n)+" Forks"]})))}(n[1],n[2]);default:return s.a}}function F(t,e){t.setAttribute("data-md-state","lock"),t.style.top="-"+e+"px"}function W(t){var e=-1*parseInt(t.style.top,10);t.removeAttribute("data-md-state"),t.style.top="",e&&window.scrollTo(0,e)}function Y(t){var e=t.config,n=t.docs,r=t.index;return 1===e.lang.length&&"en"===e.lang[0]&&(e.lang=[Object(D.f)("search.config.lang")]),"[\\s\\-]+"===e.separator&&(e.separator=Object(D.f)("search.config.separator")),{config:e,docs:n,index:r,pipeline:Object(D.f)("search.config.pipeline").split(/\s*,\s*/).filter(c.a)}}function B(t){if(!Object(D.d)(t))throw new SyntaxError("Invalid configuration: "+JSON.stringify(t));var e=Object(T.q)(),n=Object(T.v)(),B=Object(T.w)(t.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","main","navigation","search","search-query","search-reset","search-result","skip","tabs","toc"],{document$:e});var G=Object(_.h)();matchMedia("(hover)").matches&&function(t){var e=t.document$,n=t.viewport$,c=e.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(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$:K}),function(t){var e=t.document$,n=t.hash$,a=e.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(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(T.c)('[id="'+t+'"]')})),Object(C.a)((function(t){return void 0!==t})),Object(w.a)((function(t){var e=t.closest("details");e&&!e.open&&e.setAttribute("open","")}))).subscribe((function(t){return t.scrollIntoView()}))}({document$:e,hash$:J}),{document$:e}.document$.pipe(Object(H.a)(1),Object($.a)(Object(A.useComponent)("container")),Object(y.a)((function(t){var e=Object(r.f)(t,2)[1];return Object(T.e)("script",e)}))).pipe(Object(v.a)((function(t){return f.a.apply(void 0,Object(r.g)(t))})),Object(P.a)((function(t){var e=Object(T.a)("script");return t.src?(e.src=t.src,Object(T.j)(t,e),new M.a((function(t){e.onload=function(){return t.complete()}}))):(e.textContent=t.textContent,Object(T.j)(t,e),R.a)}))).subscribe(z.a),function(t){t.document$.pipe(Object(y.a)((function(){return Object(T.d)(".md-source[href]")})),Object(v.a)((function(t){var e=t.href;return Object(D.a)(""+Object(D.c)(e),(function(){return Q(e)}))})),Object(g.a)((function(){return s.a}))).subscribe((function(t){var e,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)(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(T.a)("table");e.pipe(Object(y.a)((function(){return Object(T.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(T.j)(o,n),Object(T.j)(n,Object(N.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(T.e)("[data-md-scrollfix]")})),Object(h.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(U.a)(q,e,s.a).pipe(Object(v.a)((function(t){return d.a.apply(void 0,Object(r.g)(t.map((function(t){return Object(j.a)(t,"touchstart",{passive:!0}).pipe(Object(I.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 Z=Object(_.f)(),tt=Object(_.e)({document$:e,dialog$:Z}),et=Object(A.useComponent)("header").pipe(Object(A.mountHeader)({document$:e,viewport$:K}),Object(h.a)({bufferSize:1,refCount:!0})),nt=Object(A.useComponent)("main").pipe(Object(A.mountMain)({header$:et,viewport$:K}),Object(h.a)({bufferSize:1,refCount:!0})),rt=Object(A.useComponent)("navigation").pipe(Object(A.mountNavigation)({header$:et,main$:nt,viewport$:K,screen$:X}),Object(h.a)({bufferSize:1,refCount:!0})),ct=Object(A.useComponent)("toc").pipe(Object(A.mountTableOfContents)({header$:et,main$:nt,viewport$:K,tablet$:V}),Object(h.a)({bufferSize:1,refCount:!0})),at=Object(A.useComponent)("tabs").pipe(Object(A.mountTabs)({header$:et,viewport$:K,screen$:X}),Object(h.a)({bufferSize:1,refCount:!0})),it=Object(A.useComponent)("search").pipe(Object(v.a)((function(){return Object(u.a)((function(){var e=t.search&&t.search.index?t.search.index:void 0,n=(void 0!==e?Object(b.a)(e):B.pipe(Object(v.a)((function(t){return Object(p.a)({url:t+"/search/search_index.json",responseType:"json",withCredentials:!0}).pipe(Object(m.a)("response"))})))).pipe(Object(y.a)(Y),Object(h.a)(1));return Object(f.a)(Object(_.i)(t.search.worker,{base$:B,index$:n}))}))}))).pipe(Object(v.a)((function(e){var n=Object(A.useComponent)("search-query").pipe(Object(A.mountSearchQuery)(e,{transform:t.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)(e,{query$:n}),Object(h.a)({bufferSize:1,refCount:!0}));return Object(A.useComponent)("search").pipe(Object(A.mountSearch)(e,{query$:n,reset$:r,result$:c}))})),Object(g.a)((function(){return Object(A.useComponent)("search").subscribe((function(t){return t.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(t){return Object(T.n)("#"+t)})),Object(l.a)([Object(T.z)("search"),V]).pipe(Object($.a)(K),Object(v.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(x.a)(u?400:100),Object(S.a)(O.a),Object(w.a)((function(t){var e=t.body;return u?F(e,o):W(e)})))}))).subscribe(),Object(j.a)(document.body,"click").pipe(Object(C.a)((function(t){return!(t.metaKey||t.ctrlKey)})),Object(C.a)((function(t){if(t.target instanceof HTMLElement){var e=t.target.closest("a");if(e&&Object(T.h)(e))return!0}return!1}))).subscribe((function(){Object(T.o)("drawer",!1)})),t.features.includes("navigation.instant")&&"file:"!==location.protocol&&B.pipe(Object(v.a)((function(t){return Object(p.a)({url:t+"/sitemap.xml",responseType:"document",withCredentials:!0}).pipe(Object(m.a)("response"))})),Object($.a)(B),Object(y.a)((function(t){var e=Object(r.f)(t,2),n=e[0],c=e[1],o=Object(T.e)("loc",n).map((function(t){return t.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(t){Object(_.g)(t,{document$:e,location$:n,viewport$:K})})),G.pipe(Object(C.a)((function(t){return"global"===t.mode&&"Tab"===t.type})),Object(k.a)(1)).subscribe((function(){var t,e;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(e){t={error:e}}finally{try{c&&!c.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}));var ot={document$:e,location$:n,viewport$:K,header$:et,main$:nt,navigation$:rt,search$:it,tabs$:at,toc$:ct,clipboard$:tt,keyboard$:G,dialog$:Z};return d.a.apply(void 0,Object(r.g)(Object(o.a)(ot))).subscribe(),ot}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.a80af9f7.min.js.map
|